/*
 * GFS compatibility layer
 * Styles plugin output that historically lived in Elementor Custom CSS.
 * Legacy gigen-* class names remain only because the installed plugins expose them.
 */

.direction-ltr{direction:ltr}

/* ---------------- Edit profile / auth plugin ---------------- */
.gfs-theme .gigen-dashboard-box.gigen-edit-profile-box{
  width:min(980px,calc(100% - 28px));margin:40px auto 0;text-align:center;
  font-family:'Yekan Bakh Fa',Tahoma,Arial,sans-serif;color:#fff;
}
.gfs-theme .gigen-dashboard-box.gigen-edit-profile-box .gigen-avatar{margin:0 auto}
.gfs-theme .gigen-edit-profile-box .gigen-field-s2{width:calc(50% - 26px)!important;float:right;margin:13px}
.gfs-theme .gigen-edit-profile-box input:not([type=checkbox]):not([type=radio]),
.gfs-theme .gigen-edit-profile-box select,
.gfs-theme .gigen-edit-profile-box textarea{
  width:100%;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);color:#fff;
  border-radius:12px;padding:12px 14px;outline:none;transition:border-color .2s ease,background .2s ease;
}
.gfs-theme .gigen-edit-profile-box input:focus,
.gfs-theme .gigen-edit-profile-box select:focus,
.gfs-theme .gigen-edit-profile-box textarea:focus{border-color:#4fc8f4;background:rgba(255,255,255,.11)}
.gfs-theme .gigen-edit-profile-box button,
.gfs-theme .gigen-edit-profile-box input[type=submit]{border:0;border-radius:12px;background:#ffc107;color:#2b1249;padding:11px 24px;font-weight:900;cursor:pointer}

/* ---------------- Leaderboard plugin ---------------- */
.gfs-theme .gigen-leaderboard-wrap{width:100%;overflow-x:auto}
.gfs-theme .gigen-leaderboard-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#fff;font-family:'Yekan Bakh Fa';margin-bottom:10px}
.gfs-theme .gigen-leaderboard-meta span{font-weight:700}
.gfs-theme .gigen-leaderboard-meta small{opacity:.72}
.gfs-theme .gigen-lb-period-note{display:none!important}
.gfs-theme .gigen-lb-tabs{display:flex!important;gap:8px!important;flex-wrap:wrap!important;margin:12px 0!important}
.gfs-theme .gigen-lb-tabs button.gigen-lb-tab{
  appearance:none;border:0!important;border-radius:9px!important;padding:8px 17px!important;
  background:#290e4e!important;color:#fff!important;font-family:'Yekan Bakh Fa'!important;font-size:12px!important;
  cursor:pointer;box-shadow:none!important
}
.gfs-theme .gigen-lb-tabs button.gigen-lb-tab.is-active{color:#290e4e!important;background:#ffc107!important;font-weight:800!important}
.gfs-theme .gigen-leaderboard{width:100%;border-collapse:collapse;border-radius:16px;overflow:hidden;color:#fff;font-family:'Yekan Bakh Fa'}
.gfs-theme .gigen-leaderboard th{padding:13px 10px;text-align:center;font-weight:700;border:1px solid rgba(255,255,255,.15)}
.gfs-theme .gigen-leaderboard td{padding:7px 10px;text-align:center;border:1px solid rgba(255,255,255,.13);white-space:nowrap}
.gfs-theme .gigen-leaderboard-badge{display:inline-flex;align-items:center;justify-content:center;gap:8px;direction:ltr}
.gfs-theme .gigen-leaderboard-badge img{width:34px;height:34px;border-radius:50%;display:block}
.gfs-theme .gigen-leaderboard-badge small{opacity:.75;font-size:11px}

/* ---------------- Header achievement badge ---------------- */
.gfs-theme .gigen-user-badge{display:inline-flex;align-items:center;gap:8px;vertical-align:middle}
.gfs-theme .gigen-user-badge-img{display:inline-block;border-radius:50%;max-width:100%;height:auto;object-fit:contain}
.gfs-theme .gigen-user-badge-title{font-weight:700;line-height:1}
.gfs-theme .gigen-header-video-badge{
  --gigen-badge-size:72px;--gigen-video-inset:18%;position:relative;display:inline-grid;place-items:center;
  width:var(--gigen-badge-size);height:var(--gigen-badge-size);flex:0 0 var(--gigen-badge-size);vertical-align:middle;isolation:isolate
}
.gfs-theme .gigen-header-video-badge__video-wrap{position:absolute;inset:var(--gigen-video-inset);z-index:1;overflow:hidden;border-radius:50%;background:#16052a;box-shadow:0 0 0 2px rgba(255,255,255,.12),0 6px 18px rgba(0,0,0,.32);transform:translateZ(0)}
.gfs-theme .gigen-header-video-badge__video{display:block;width:100%;height:100%;object-fit:cover;object-position:center;pointer-events:none}
.gfs-theme .gigen-header-video-badge__frame{position:absolute;inset:0;z-index:2;display:block;object-fit:contain;object-position:center;filter:drop-shadow(0 4px 8px rgba(0,0,0,.3)) drop-shadow(0 0 8px rgba(136,84,255,.18));pointer-events:none;user-select:none;margin-top:-12px;transform:scale(1.1)}

/* ---------------- Profile dashboard plugin ---------------- */
.gfs-theme .gup-dashboard{
  --gup-bg:#26005d;--gup-bg2:#310071;--gup-card:#5a3390;--gup-card2:#3a1477;--gup-soft:#ffffff18;
  --gup-border:#ffffff24;--gup-text:#fff;--gup-muted:#d9cef0;--gup-cyan:#16c8ff;--gup-green:#39df70;
  --gup-yellow:#ffe818;--gup-pink:#f000a5;box-sizing:border-box;width:100%;min-height:100vh;
  background:linear-gradient(180deg,#2f006d 0%,#26005d 38%,#30006c 100%);color:var(--gup-text);
  font-family:'Yekan Bakh Fa',Tahoma,sans-serif;padding:80px 0 80px;overflow:hidden
}
.gfs-theme .gup-dashboard *{box-sizing:border-box}
.gfs-theme .gup-section{width:min(1320px,calc(100% - 56px));margin:0 auto}
.gfs-theme .gup-hero-section{padding-top:10px}
.gfs-theme .gup-hero-top{min-height:350px;position:relative;display:flex;align-items:flex-start;justify-content:space-between}
.gfs-theme .gup-user-chip{display:flex;align-items:center;gap:16px;background:#ffffff14;border-radius:18px;padding:10px 18px;border:1px solid #ffffff10;box-shadow:0 18px 60px #00000029;z-index:9}
.gfs-theme .gup-avatar-wrap{width:92px;height:92px;position:relative;display:grid;place-items:center;flex:0 0 auto}
.gfs-theme .gup-avatar-badge-frame{position:absolute;inset:7px;border-radius:50%;background:conic-gradient(from 0deg,#ffe818,#22d7ff,#39df70,#f643ff,#ffe818);box-shadow:0 0 30px #25d8ff4f;z-index:0}
.gfs-theme .gup-avatar-wrap.has-badge-image .gup-avatar-badge-frame{inset:-18px;background:transparent;box-shadow:none}
.gfs-theme .gup-avatar-badge-frame img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 8px 16px #0007)}
.gfs-theme .gup-avatar{position:relative;z-index:1;border-radius:50%;background:#2d006a;padding:4px}
.gfs-theme .gup-avatar,.gfs-theme .gup-avatar img{width:72px;height:72px;border-radius:50%;display:block}
.gfs-theme .gup-user-meta{display:grid;gap:6px}
.gfs-theme .gup-user-meta strong{font-size:18px}
.gfs-theme .gup-user-meta small{color:#fff;font-weight:800}
.gfs-theme .gup-edit-profile-link{display:inline-flex;align-items:center;justify-content:center;width:max-content;margin-top:2px;padding:5px 12px;border-radius:999px;background:#ffffff18;border:1px solid #ffffff22;color:#fff;text-decoration:none;font-size:13px;font-weight:700}
.gfs-theme .gup-edit-profile-link:hover{background:#ffffff28;color:#fff}
.gfs-theme .gup-mascot{position:absolute;left:50%;top:-2px;transform:translateX(-50%);width:530px;height:300px;display:flex;border-radius:0!important}
.gfs-theme .gup-mascot img{display:block;width:100%;height:100%;object-fit:contain}
.gfs-theme .gup-mascot::before,.gfs-theme .gup-mascot::after,.gfs-theme .gup-mascot span::before,.gfs-theme .gup-mascot span::after{display:none!important;content:none!important}
.gfs-theme .gup-summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;margin-top:-30px}
.gfs-theme .gup-summary-card{min-height:132px;display:grid;place-items:center;align-content:center;gap:3px;border-radius:22px;background:linear-gradient(105deg,#4600a9 0%,#6b44a2 100%);box-shadow:0 28px 70px #00000030}
.gfs-theme .gup-card-label{font-size:20px;color:#f0e9ff;font-weight:700}
.gfs-theme .gup-summary-card strong{font-size:36px;line-height:1.4;font-weight:950;text-shadow:0 3px 0 #ffffff10}
.gfs-theme .gup-badges-section{margin-top:72px;background:#21004f;padding:70px 0 86px;width:100%;max-width:none}
.gfs-theme .gup-badges-section>h2,.gfs-theme .gup-path-section>h2,.gfs-theme .gup-history-section>h2{font-size:42px;font-weight:400;text-align:center;margin:0 0 54px;color:#fff}
.gfs-theme .gup-badge-grid{width:min(1100px,calc(100% - 56px));margin:0 auto;display:grid;grid-template-columns:repeat(5,1fr);gap:26px}
.gfs-theme .gup-badge-card{min-height:315px;border-radius:22px;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;padding:22px;background:linear-gradient(180deg,#470060,#270042);border:2px solid #ff0078;box-shadow:0 24px 70px #0004;overflow:hidden;transition:.25s ease}
.gfs-theme .gup-badge-theme-2{background:linear-gradient(180deg,#4a344b,#321c47);border-color:#fbf000}
.gfs-theme .gup-badge-theme-3{background:linear-gradient(180deg,#173079,#171452);border-color:#00cfff}
.gfs-theme .gup-badge-theme-4{background:linear-gradient(180deg,#6a1c85,#3e146a);border-color:#f012e9}
.gfs-theme .gup-badge-theme-5{background:linear-gradient(180deg,#1f5b61,#1f3151);border-color:#1be77b}
.gfs-theme .gup-badge-card.is-locked{filter:saturate(.15);opacity:.42;border-color:#ffffff30;box-shadow:none}
.gfs-theme .gup-badge-card.is-locked .gup-badge-image-wrap{filter:grayscale(1) brightness(.75)}
.gfs-theme .gup-lock-badge{position:absolute;top:14px;left:14px;border-radius:999px;background:#00000078;color:#fff;padding:4px 10px;font-size:12px;z-index:5}
.gfs-theme .gup-badge-image-wrap{display:grid;place-items:center}
.gfs-theme .gup-badge-image-wrap img{max-width:100%;max-height:100%;object-fit:contain;filter:drop-shadow(0 22px 26px #0006)}
.gfs-theme .gup-badge-placeholder{width:150px;height:150px;border-radius:45px;background:linear-gradient(145deg,#9ef231,#47b719);display:grid;place-items:center;font-size:72px;box-shadow:0 20px 55px #55ef334d}
.gfs-theme .gup-badge-card strong{font-size:18px;font-weight:600;text-align:center}
.gfs-theme .gup-badge-card small{font-size:13px;color:#eee;margin-top:8px}
.gfs-theme .gup-empty-state{width:min(1100px,calc(100% - 56px));margin:0 auto;text-align:center;color:#e8ddff;background:#ffffff10;border:1px solid #ffffff18;border-radius:22px;padding:34px}
.gfs-theme .gup-stats-section{display:grid;grid-template-columns:repeat(3,1fr);gap:34px;margin-top:78px}
.gfs-theme .gup-stat-card {
    border-radius: 20px;
    border: 1px solid #7a5aa3;
    background: linear-gradient(59deg, #2f0070, #432070);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    box-shadow: 0 32px 80px #0004;
    padding: 10px;
}
.gfs-theme .gup-stat-card strong{font-size:22px;text-align:center}
.gfs-theme .gup-stat-card p{margin:0;color:#f0e9ff;font-size:16px;text-align:center;line-height:1.8}
.gfs-theme .gup-bars{height:150px;display:flex;align-items:flex-end;gap:22px}
.gfs-theme .gup-bar-item{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:8px;color:#fff}
.gfs-theme .gup-bar-value{font-size:15px}
.gfs-theme .gup-bar-track{height:60px;width:5px;border-radius:99px;background:#ffffff29;display:flex;align-items:flex-end;overflow:hidden}
.gfs-theme .gup-bar-track span{width:100%;border-radius:99px;background:linear-gradient(180deg,var(--gup-green),var(--gup-yellow));box-shadow:0 0 22px #ecff36aa}
.gfs-theme .gup-bar-item small{color:#dfd2fa}
.gfs-theme .gup-donut{--p:0;width:130px;height:130px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(from -90deg,var(--gup-yellow) 0deg,#baff43 calc(var(--p)*1.8deg),var(--gup-green) calc(var(--p)*3.6deg),#ffffff24 0deg);position:relative}
.gfs-theme .gup-donut:after{content:'';position:absolute;inset:3px;border-radius:50%;background:linear-gradient(145deg,#56318d,#3b176d)}
.gfs-theme .gup-donut span{position:relative;z-index:1;font-size:36px;font-weight:400}
.gfs-theme .gup-leaderboard-section{margin-top:76px}
.gfs-theme .gup-table-card{background:linear-gradient(135deg,#58318b,#3d176b);border:2px solid #775a99;border-radius:24px;padding:34px 42px;box-shadow:0 30px 80px #0004;overflow:auto}
.gfs-theme .gup-activity-table{width:100%;border-collapse:collapse;text-align:right}
.gfs-theme .gup-activity-table th{font-size:18px;padding:14px 10px 18px;color:#fff;border-bottom:1px solid #ffffff40;white-space:nowrap}
.gfs-theme .gup-activity-table td{font-size:18px;padding:17px 10px;border-bottom:1px solid #ffffff2c;white-space:nowrap}
.gfs-theme .gup-activity-table tbody tr:last-child td{border-bottom:0}
.gfs-theme .gup-purple-number{color:#f643ff;font-weight:900}
.gfs-theme .gup-progress-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;min-width:320px}
.gfs-theme .gup-progress-line span{font-size:15px;font-weight:900}
.gfs-theme .gup-progress-min{color:#ffbd08}.gfs-theme .gup-progress-max{color:#22d7ff}
.gfs-theme .gup-progress-line b{height:7px;border-radius:999px;background:#ffffff2a;position:relative;overflow:hidden}
.gfs-theme .gup-progress-line i{display:block;width:calc(var(--p)*1%);height:100%;border-radius:999px;background:linear-gradient(90deg,#1ecbff,#49e66e,#ffe214)}
.gfs-theme .gup-progress-help{display:block;margin-top:6px;color:#e8dfff;font-size:12px}
.gfs-theme .gup-path-section,.gfs-theme .gup-history-section{margin-top:72px}
.gfs-theme .gup-line-card{position:relative;border-radius:24px;border:2px solid #7c5ca3;background:linear-gradient(140deg,#5a3390,#3b176e);min-height:560px;padding:42px 42px 46px;box-shadow:0 36px 90px #0004}
.gfs-theme .gup-chart-filters{display:flex;gap:26px;justify-content:flex-start;flex-direction:row-reverse;margin-bottom:26px}
.gfs-theme .gup-chart-filters label{display:grid;gap:8px;min-width:285px;color:#fff;font-size:18px}
.gfs-theme .gup-chart-filters select{appearance:none;background:#ffffff10;color:#fff;border:2px solid #ffffff60;border-radius:8px;padding:12px 42px 12px 16px;font:inherit;outline:none}
.gfs-theme .gup-chart-filters option{color:#222}
.gfs-theme .gup-line-wrap{position:relative;display:grid;grid-template-columns:1fr 54px;gap:16px;min-height:390px}
.gfs-theme .gup-chart-svg{width:100%;height:335px;display:block;overflow:visible}
.gfs-theme .gup-chart-grid-line{stroke:#ffffff24;stroke-width:1}
.gfs-theme .gup-chart-fill{fill:url(#gupLineGradient);opacity:.78}
.gfs-theme .gup-chart-stroke{fill:none;stroke:#10caff;stroke-width:3;filter:drop-shadow(0 0 9px #10caff66)}
.gfs-theme .gup-svg-holder{position:relative;min-width:0;padding-bottom:48px}
.gfs-theme .gup-svg-holder .gup-x-axis-hands{display:block;direction:ltr;top:355px;bottom:auto;height:24px;transform:none}
.gfs-theme .gup-x-axis-hands span{position:absolute;transform:translateX(-50%);white-space:nowrap}
.gfs-theme .gup-x-axis-hands span.is-first{transform:none}
.gfs-theme .gup-x-axis-hands span.is-last{transform:translateX(-100%)}
.gfs-theme .gup-chart-markers{position:absolute;inset:0 0 auto;height:335px;pointer-events:none}
.gfs-theme .gup-chart-point{position:absolute;transform:translate(-50%,-50%);width:24px;height:24px;padding:0;border:0;background:transparent;cursor:pointer;pointer-events:auto;border-radius:50%;touch-action:manipulation}
.gfs-theme .gup-chart-point::after{content:'';position:absolute;inset:8px;border-radius:50%;background:#10caff;border:1px solid #d0f7ff;box-shadow:0 0 5px #10caff44}
.gfs-theme .gup-chart-point:hover::after,.gfs-theme .gup-chart-point.is-active::after{inset:6px;background:#fff}
.gfs-theme .gup-chart-point:focus-visible{outline:2px solid #fff;outline-offset:1px}
.gfs-theme .gup-chart-tooltip{position:absolute;z-index:3;transform:translateX(-50%);padding:8px 12px;background:#1e0b40;border:1px solid #ffffff24;border-radius:10px;box-shadow:0 4px 14px #00000015;color:#fff;font-size:13px;line-height:1.6;white-space:nowrap;pointer-events:none;direction:rtl}
.gfs-theme .gup-chart-tooltip[hidden]{display:none}
.gfs-theme .gup-y-axis{display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;height:335px;color:#fff;font-size:16px;padding-top:4px}
.gfs-theme .gup-x-axis{position:absolute;left:0;right:0;bottom:0;transform:translateY(26px);display:flex;flex-direction:row;justify-content:space-between;color:#fff;font-size:15px}
.gfs-theme .gup-chart-note{margin:28px 0 0;color:#e9defd;font-size:15px;text-align:center;line-height:1.8}
.gfs-theme .gup-login-required {
    padding: 24px;
    border-radius: 16px;
    background: #fff3cd;
    color: #5f4700;
    text-align: center;
    margin: 0 auto;
    width: max-content;
    margin-top: 130px;
}

/* Newer profile-card markup from the plugin. */
.gfs-theme .gup-badge-card-body{width:100%;height:100%;display:flex;flex-direction:column}
.gfs-theme .gup-badge-media{position:relative;flex:1;display:grid;place-items:center;min-height:190px}
.gfs-theme .gup-badge-media-glow{position:absolute;inset:18%;border-radius:50%;background:radial-gradient(circle,rgba(81,222,255,.25),transparent 68%);filter:blur(14px)}
.gfs-theme .gup-badge-card-info{padding-top:12px;display:grid;place-items:center}

/* ---------------- Missions plugin ---------------- */
.gfs-theme .gigen-missions-page,.gfs-theme .gigen-missions-drawer,.gfs-theme .gigen-mission-floating-btn{
  --gm-bg:#2b0068;--gm-dark:#10001e;--gm-row:rgba(18,5,37,.88);--gm-row-soft:rgba(255,255,255,.11);
  --gm-card:rgba(7,0,17,.66);--gm-text:#fff;--gm-muted:rgba(255,255,255,.72);--gm-yellow:#f5e915;
  --gm-blue:#00d7ff;--gm-green:#26df80;--gm-purple:#5b1fa3;font-family:'Yekan Bakh Fa',Tahoma,Arial,sans-serif;box-sizing:border-box
}
.gfs-theme .gigen-missions-page *,.gfs-theme .gigen-missions-drawer *{box-sizing:border-box}
.gfs-theme .gigen-missions-page{width:min(100%,1120px);margin:0 auto;color:var(--gm-text)}
.gfs-theme .gigen-missions-title,.gfs-theme .gigen-drawer-title{margin:0 0 30px;text-align:center;color:#fff;font-weight:500;font-size:clamp(28px,4vw,42px);letter-spacing:-.03em}
.gfs-theme .gigen-missions-lines{display:grid;gap:16px;margin-inline:auto;max-width:960px}
.gfs-theme .gigen-mission-line{min-height:42px;border-radius:10px;padding:7px 12px;background:var(--gm-row);display:grid;grid-template-columns:1fr auto auto;gap:14px;align-items:center;box-shadow:inset 0 0 0 1px rgba(255,255,255,.04)}
.gfs-theme .gigen-mission-line:nth-child(even){background:rgba(255,255,255,.12)}
.gfs-theme .gigen-mission-line__text{color:#fff;font-size:13px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:right}
.gfs-theme .gigen-mission-line__reward{color:#ffe36e;font-size:16px;font-weight:900;white-space:nowrap;text-shadow:0 0 12px rgba(255,227,110,.35)}
.gfs-theme .gigen-mission-line__status{color:#8edbff;font-size:13px;font-weight:900;white-space:nowrap;padding:4px 9px;border-radius:999px;background:rgba(0,180,255,.14)}
.gfs-theme .gigen-mission-line.is-claimable .gigen-mission-line__status{color:#72ffb5;background:rgba(38,223,128,.16)}
.gfs-theme .gigen-mission-line.is-claimed .gigen-mission-line__status{color:#d4c7e8;background:rgba(255,255,255,.10)}
.gfs-theme .gigen-mission-claim{border:1px solid rgba(43,255,153,.72);background:rgba(38,223,128,.34);color:#fff;border-radius:8px;padding:7px 22px;cursor:pointer;font-size:13px;font-weight:800;min-width:108px;transition:.18s ease}
.gfs-theme .gigen-mission-claim:hover{transform:translateY(-1px);background:rgba(38,223,128,.48)}
.gfs-theme .gigen-mission-claim:disabled{opacity:.55;cursor:default;transform:none}
.gfs-theme .gigen-mission-claim.is-claimed{background:rgba(255,255,255,.10);border-color:rgba(255,255,255,.15)}
.gfs-theme .gigen-missions-cards{display:grid;gap:18px;margin:38px auto 0;max-width:980px}
.gfs-theme .gigen-mission-card{position:relative;display:grid;grid-template-columns:104px 1fr;gap:24px;align-items:center;min-height:108px;border-radius:20px;color:#fff}
.gfs-theme .gigen-mission-card__icon-wrap{width:104px;height:104px;border-radius:18px;overflow:hidden;display:grid;place-items:center;background:linear-gradient(145deg,rgba(0,214,255,.22),rgba(138,35,255,.32));border:1px solid rgba(0,214,255,.8);box-shadow:inset 0 0 28px rgba(255,255,255,.08)}
.gfs-theme .gigen-mission-card.is-claimable .gigen-mission-card__icon-wrap{border-color:rgba(38,223,128,.92);background:linear-gradient(145deg,rgba(38,223,128,.28),rgba(0,214,255,.18))}
.gfs-theme .gigen-mission-card__icon{max-width:94%;max-height:94%;object-fit:contain;display:block}
.gfs-theme .gigen-mission-card__fallback{width:68px;height:68px;border-radius:50%;background:rgba(255,255,255,.12);display:grid;place-items:center;font-size:32px}
.gfs-theme .gigen-mission-card__body{min-width:0;background:transparent}
.gfs-theme .gigen-mission-card__top{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:8px}
.gfs-theme .gigen-mission-card__title{margin:0;font-size:23px;font-weight:900;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gfs-theme .gigen-mission-card__desc{margin:7px 0 0;color:#fff;font-size:14px;font-weight:700}
.gfs-theme .gigen-mission-card__meta{display:flex;align-items:center;gap:12px;margin-top:8px;color:var(--gm-blue);font-weight:900}
.gfs-theme .gigen-mission-card__percent{color:var(--gm-blue);font-size:13px;font-weight:900;min-width:42px}
.gfs-theme .gigen-mission-progress{width:100%;height:5px;border-radius:999px;background:rgba(255,255,255,.26);overflow:hidden;position:relative}
.gfs-theme .gigen-mission-progress__bar{height:100%;width:var(--progress,0%);border-radius:inherit;background:linear-gradient(90deg,var(--gm-blue),#33e37d 68%,var(--gm-yellow));transition:width .35s ease}
.gfs-theme .gigen-mission-card.is-claimable{padding:10px 14px;background:linear-gradient(90deg,rgba(38,223,128,.44),rgba(15,111,72,.72))}
.gfs-theme .gigen-mission-card.is-claimable .gigen-mission-card__desc{color:#23f49a}
.gfs-theme .gigen-mission-card__breakdown{display:flex;flex-wrap:wrap;gap:6px 10px;margin-top:8px;color:rgba(255,255,255,.72);font-size:12px;font-weight:700}
.gfs-theme .gigen-mission-card__breakdown span{padding:4px 8px;border-radius:999px;background:rgba(255,255,255,.07)}
.gfs-theme .gigen-mission-card__details{margin-top:6px;font-size:12px;color:#fff}
.gfs-theme .gigen-mission-card__details>summary{display:inline-flex;cursor:pointer;list-style:none;width:max-content;padding:3px 9px;border:1px solid rgba(255,255,255,.25);border-radius:8px}
.gfs-theme .gigen-mission-card__details>summary::-webkit-details-marker{display:none}
.gfs-theme .gigen-mission-card__details[open]>summary::after{content:' ✕'}
.gfs-theme .gigen-mission-empty{color:#fff;background:rgba(0,0,0,.24);padding:16px;border-radius:12px;text-align:center}
.gfs-theme .gigen-missions-overlay{position:fixed;inset:0;z-index:99994;opacity:0;pointer-events:none;background:rgba(0,0,0,.24);backdrop-filter:blur(14px);transition:opacity .24s ease}
.gfs-theme .gigen-missions-drawer{position:fixed;inset:0 auto 0 0;z-index:99995;width:min(460px,calc(100vw - 20px));padding:34px 26px 48px;overflow:auto;color:#fff;background:rgba(0,0,0,.42);box-shadow:24px 0 70px rgba(0,0,0,.17);backdrop-filter:blur(22px);opacity:.4;transition:transform .28s ease,opacity .28s ease; right: -480px;}
.gfs-theme.gigen-missions-open .gigen-missions-overlay,.gfs-theme.gfs-missions-open .gigen-missions-overlay,body.gigen-missions-open .gigen-missions-overlay{opacity:1;pointer-events:auto}
body.gigen-missions-open .gigen-missions-drawer{opacity:1; right: 0;}
@media (min-width:901px){
  .gfs-theme .gigen-missions-drawer{width:min(50vw,960px);right:-960px;padding-inline:34px}
  body.gigen-missions-open .gigen-missions-drawer{right:0}
}
.gfs-theme .gigen-missions-close{position:absolute;left:16px;top:14px;width:34px;height:34px;border-radius:10px;border:0;background:rgba(255,255,255,.09);color:#fff;font-size:24px;line-height:1;cursor:pointer}
.gfs-theme .gigen-drawer-title{font-size:34px;margin-top:16px;margin-bottom:28px}
.gfs-theme .gigen-drawer-lines{display:grid;gap:12px}
.gfs-theme .gigen-drawer-lines .gigen-mission-line{grid-template-columns:1fr auto;min-height:42px}
.gfs-theme .gigen-drawer-lines .gigen-mission-line__reward{font-size:12px}
.gfs-theme .gigen-drawer-lines .gigen-mission-line__status{display:block;grid-column:1/-1;padding-top:3px;border-top:1px solid rgba(255,255,255,.12)}
.gfs-theme .gigen-drawer-cards{display:grid;gap:14px;margin-top:20px}
.gfs-theme .gigen-drawer-cards .gigen-mission-card{grid-template-columns:86px 1fr;gap:14px;min-height:86px;background:rgba(0,0,0,.22);border-radius:18px;padding:0}
.gfs-theme .gigen-drawer-cards .gigen-mission-card.is-claimable{padding:10px;background:linear-gradient(90deg,rgba(38,223,128,.44),rgba(15,111,72,.72))}
.gfs-theme .gigen-drawer-cards .gigen-mission-card__icon-wrap{width:86px;height:86px}
.gfs-theme .gigen-drawer-cards .gigen-mission-card__title{font-size:19px}
.gfs-theme .gigen-drawer-cards .gigen-mission-card__desc{font-size:12px}

/* ---------------- Streak box ---------------- */
.gfs-theme .gigen-streak-box{
  --gigen-streak-yellow:#f3c308;--gigen-streak-blue:#4fc8f4;--gigen-streak-text:#fff;position:absolute;box-sizing:border-box;
  width:420px;max-width:min(420px,calc(100vw - 28px));margin:0 auto;padding:20px;border-radius:28px;background:#3d1971;
  color:var(--gigen-streak-text);font-family:'Yekan Bakh Fa';box-shadow:0 24px 60px rgba(0,0,0,.24);overflow:visible;
  opacity:0;visibility:hidden;pointer-events:none;transition:opacity .25s ease,transform .25s ease,visibility .25s ease
}
.gfs-theme .gigen-streak-box *{box-sizing:border-box}
.gfs-theme .gigen-streak-box__top-notch{position:absolute;top:-26px;left:50%;width:81px;height:26px;transform:translateX(-50%);background:url('/wp-content/uploads/2026/06/top_s_box.svg') center/contain no-repeat}
.gfs-theme .gigen-streak-box__header{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:22px;text-align:center}
.gfs-theme .gigen-streak-box__title{font-size:30px;font-weight:900;line-height:1.35;margin-bottom:8px;text-align:right}
.gfs-theme .gigen-streak-box__subtitle{font-size:18px;font-weight:700;line-height:1.7;opacity:.98;text-align:right}
.gfs-theme .gigen-streak-box__fire{font-size:72px;line-height:1;filter:drop-shadow(0 12px 16px rgba(0,0,0,.18))}
.gfs-theme .gigen-streak-box__days{display:flex;align-items:flex-start;justify-content:space-between;gap:9px;margin:30px 0 26px;direction:rtl}
.gfs-theme .gigen-streak-box__day{appearance:none;border:0;background:transparent;color:#fff;display:flex;flex-direction:column;align-items:center;gap:11px;padding:0;min-width:40px;cursor:default;font:inherit}
.gfs-theme .gigen-streak-box__day.is-selectable{cursor:pointer}
.gfs-theme .gigen-streak-box__circle{position:relative;width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;line-height:0;transition:transform .18s ease,box-shadow .18s ease,background .18s ease}
.gfs-theme .gigen-streak-box__circle img{width:100%;height:100%;object-fit:contain}
.gfs-theme .gigen-streak-box__label{font-size:17px;font-weight:900;line-height:1}
.gfs-theme .gigen-streak-box__day.is-done .gigen-streak-box__circle{background:var(--gigen-streak-yellow)}
.gfs-theme .gigen-streak-box__day.is-today .gigen-streak-box__circle{background:transparent}
.gfs-theme .gigen-streak-box__day.is-frozen .gigen-streak-box__circle{ width: 40px; margin-top: 2px;}
.gfs-theme .gigen-streak-box__day.is-missed .gigen-streak-box__circle{outline:2px dashed rgba(255,255,255,.42);outline-offset:3px}
.gfs-theme .gigen-streak-box__day.is-future{opacity:.45}
.gfs-theme .gigen-streak-box__day.is-selectable:hover .gigen-streak-box__circle,.gfs-theme .gigen-streak-box__day.is-selected .gigen-streak-box__circle{transform:translateY(-3px) scale(1.04);box-shadow:0 12px 22px rgba(0,0,0,.2)}
.gfs-theme .gigen-streak-box__freeze-btn{width:100%;border:0;border-radius:14px;background:#62c8f1;color:#071827;padding:16px 18px;font-size:18px;font-weight:900;line-height:1.35;cursor:pointer;box-shadow:inset 0 -4px 0 rgba(0,0,0,.12);transition:transform .18s ease,opacity .18s ease}
.gfs-theme .gigen-streak-box__freeze-btn:disabled{opacity:.55;cursor:not-allowed}
.gfs-theme .gigen-streak-box__freeze-btn:not(:disabled):hover{transform:translateY(-2px)}
.gfs-theme .gigen-streak-box__message{min-height:22px;margin-top:10px;text-align:center;font-size:13px;font-weight:700}
.gfs-theme .gigen-streak-box__message.is-error{color:#ffd1d1}.gfs-theme .gigen-streak-box__message.is-ok{color:#dbffd9}
.gfs-theme .gigen-streak-box.is-loading{pointer-events:none}
.gfs-theme .gigen-streak-box.is-open{opacity:1;visibility:visible;pointer-events:auto}

/* ---------------- Notifications ---------------- */
.gfs-theme .gigen-core-toast-stack{position:fixed;z-index:999999;top:22px;left:22px;display:flex;flex-direction:column;gap:10px;max-width:min(360px,calc(100vw - 32px));pointer-events:none}
.gfs-theme .gigen-core-toast{direction:rtl;background:#15171c;color:#fff;border:1px solid rgba(255,255,255,.12);box-shadow:0 16px 45px rgba(0,0,0,.24);border-radius:16px;padding:13px 15px;display:flex;gap:12px;align-items:center;opacity:0;transform:translateY(-10px) scale(.98);transition:opacity .22s ease,transform .22s ease}
.gfs-theme .gigen-core-toast.is-visible{opacity:1;transform:translateY(0) scale(1)}
.gfs-theme .gigen-core-toast__icon{font-size:22px;line-height:1}
.gfs-theme .gigen-core-toast__title{font-weight:800;font-size:14px}
.gfs-theme .gigen-core-toast__message{font-size:12px;opacity:.78;margin-top:3px;line-height:1.6}
.gfs-theme .gigen-core-toast[data-type=xp] .gigen-core-toast__icon:before{content:'⭐'}
.gfs-theme .gigen-core-toast[data-type=coin] .gigen-core-toast__icon:before{content:'🪙'}
.gfs-theme .gigen-core-toast[data-type=achievement] .gigen-core-toast__icon:before{content:'🏆'}

/* ---------------- Games / launcher legacy ---------------- */
.gfs-theme .gigen-game-launcher{width:100%;height:100vh!important;display:flex;justify-content:center;align-items:stretch;background:#080014}
.gfs-theme .gigen-game-launcher iframe{display:block;width:100%!important;max-width:430px!important;height:100vh!important;margin:0 auto;border:0}

/* ---------------- Rewards / miscellaneous plugin shells ---------------- */
.gfs-theme .gigen-rc{font-family:'Yekan Bakh Fa',Tahoma,sans-serif;color:#fff}
.gfs-theme .gigen-rc a{color:inherit}
.gfs-theme .gigen-rc button{font-family:inherit}

@media (max-width:1100px){
  .gfs-theme .gup-summary-grid,.gfs-theme .gup-stats-section{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
  .gfs-theme .gup-badge-grid{grid-template-columns:repeat(2,1fr)}
  .gfs-theme .gup-hero-top{min-height:500px;margin-top:20px}
  .gfs-theme .gup-mascot{top:140px}
  .gfs-theme .gup-chart-filters{flex-direction:column}
}
@media (max-width:800px){
  .gfs-theme .gigen-edit-profile-box .gigen-field-s2{width:100%!important;float:none;margin:20px 0}
  .gfs-theme .gup-summary-grid,.gfs-theme .gup-stats-section{grid-template-columns:1fr}
}
@media (max-width:640px){
  .gfs-theme .gup-section{width:calc(100% - 28px)}
  .gfs-theme .gup-dashboard{padding-top:20px}
  .gfs-theme .gup-badge-grid{width:calc(100% - 28px);grid-template-columns:1fr}
  .gfs-theme .gup-badges-section>h2,.gfs-theme .gup-path-section>h2,.gfs-theme .gup-history-section>h2{font-size:32px}
  .gfs-theme .gup-summary-card strong{font-size:28px}
  .gfs-theme .gup-line-card{padding:24px 16px}
  .gfs-theme .gup-line-wrap{grid-template-columns:1fr 42px}
  .gfs-theme .gup-chart-filters label{min-width:0}
  .gfs-theme .gigen-mission-line{grid-template-columns:1fr auto}
  .gfs-theme .gigen-mission-line__status{grid-column:1/-1}
  .gfs-theme .gigen-mission-card{grid-template-columns:76px 1fr;gap:12px}
  .gfs-theme .gigen-mission-card__icon-wrap{width:76px;height:76px}
  .gfs-theme .gigen-mission-card__title{font-size:18px}
  .gfs-theme .gigen-mission-card__desc{font-size:12px}
}
@media (max-width:520px){
  .gfs-theme .gup-user-chip{margin-top:150px}
  .gfs-theme .gigen-rc{padding:0}
  .gfs-theme .gigen-game-launcher iframe{max-width:100%!important;height:88svh!important}
  .gfs-theme .gigen-game-launcher{height:88svh!important}
  .gfs-theme .gigen-streak-box{padding:32px 16px 18px;border-radius:22px}
  .gfs-theme .gigen-streak-box__title{font-size:22px}
  .gfs-theme .gigen-streak-box__subtitle{font-size:14px}
  .gfs-theme .gigen-streak-box__fire{font-size:56px}
  .gfs-theme .gigen-streak-box__days{gap:5px}
  .gfs-theme .gigen-streak-box__circle{width:36px;height:36px}
  .gfs-theme .gigen-streak-box__label{font-size:15px}
  .gfs-theme .gigen-streak-box__freeze-btn{font-size:15px;padding:14px 10px}
  .gfs-theme .gigen-core-toast-stack{left:16px;right:16px;top:16px;max-width:none}
  .gfs-theme .gup-mascot{top:0}
  .gfs-theme .gup-hero-top{ min-height: 370px;}
}

@media (prefers-reduced-motion:reduce){
  .gfs-theme .gup-badge-card,.gfs-theme .gigen-mission-progress__bar,.gfs-theme .gigen-missions-drawer,
  .gfs-theme .gigen-streak-box,.gfs-theme .gigen-core-toast{transition:none!important}
}


/* ---------------- Animated earned badges ---------------- */
@property --gfs-badge-angle{
  syntax:"<angle>";
  inherits:false;
  initial-value:0deg;
}
.gfs-theme .gup-badge-card{
  isolation:isolate;
  border-color:transparent!important;
}
.gfs-theme .gup-badge-card::before{
  content:"";
  position:absolute;
  z-index:6;
  inset:-2px;
  padding:2px;
  border-radius:inherit;
  pointer-events:none;
  background:conic-gradient(from var(--gfs-badge-angle),#ffeb32,#32dcff,#9a63ff,#ff3ab7,#ffeb32);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  mask-composite:exclude;
  filter:drop-shadow(0 0 8px rgba(70,215,255,.42));
  animation:gfsBadgeBorderSpin 3.6s linear infinite;
}
.gfs-theme .gup-badge-card-body,.gfs-theme .gup-badge-card>strong,.gfs-theme .gup-badge-card>small{
  position:relative;
  z-index:2;
}
.gfs-theme .gup-badge-card:not(.is-locked) .gup-badge-image-wrap img,
.gfs-theme .gup-badge-card:not(.is-locked) .gup-badge-placeholder{
  animation:gfsBadgeFloat 2.8s ease-in-out infinite;
  transform-origin:50% 70%;
}
.gfs-theme .gup-badge-card:nth-child(2n) .gup-badge-image-wrap img,
.gfs-theme .gup-badge-card:nth-child(2n) .gup-badge-placeholder{animation-delay:-.9s}
.gfs-theme .gup-badge-card:nth-child(3n) .gup-badge-image-wrap img,
.gfs-theme .gup-badge-card:nth-child(3n) .gup-badge-placeholder{animation-delay:-1.7s}
.gfs-theme .gup-badge-card.is-locked::before{animation:none;opacity:.18;filter:none}
@keyframes gfsBadgeBorderSpin{to{--gfs-badge-angle:360deg}}
@keyframes gfsBadgeFloat{
  0%,100%{transform:translateY(0) rotate(-1deg)}
  50%{transform:translateY(-10px) rotate(2deg)}
}
/* ---------------- 2026-08-17 interaction and visual refinements ---------------- */
@property --gfs-border-angle{syntax:"<angle>";inherits:false;initial-value:0deg}
.gfs-theme .gfs-game-card__link{--gfs-card-border:#ff45d7,#8a5cff,#30d6ff,#ffe45b,#ff45d7;isolation:isolate;border-color:transparent!important}
.gfs-theme .gfs-game-card:nth-child(2n) .gfs-game-card__link{--gfs-card-border:#31e8a2,#31c5ff,#7868ff,#f84ccf,#31e8a2}
.gfs-theme .gfs-game-card:nth-child(3n) .gfs-game-card__link{--gfs-card-border:#ffb82e,#ff5f7e,#be5cff,#4bceff,#ffb82e}
.gfs-theme .gfs-game-card:nth-child(4n) .gfs-game-card__link{--gfs-card-border:#a8ff58,#28dfb5,#40a8ff,#ba65ff,#a8ff58}
.gfs-theme .gfs-game-card__link::before{content:"";position:absolute;z-index:5;inset:1;padding:1px;border-radius:inherit;pointer-events:none; mask-composite:exclude;filter:drop-shadow(0 0 6px rgba(61,210,255,.28));animation:gfsCardBorderSpin 18s linear infinite}
@keyframes gfsCardBorderSpin{to{--gfs-border-angle:360deg}}
.gfs-theme .gup-badge-card::before{inset:0!important;padding:1px!important;animation-duration:20s!important;filter:drop-shadow(0 0 6px rgba(70,215,255,.28))!important}
.gfs-theme .gup-badge-card:nth-child(2n)::before{background:conic-gradient(from var(--gfs-badge-angle),#42f5b6,#45c8ff,#8365ff,#ff5ac8,#42f5b6)}
.gfs-theme .gup-badge-card:nth-child(3n)::before{background:conic-gradient(from var(--gfs-badge-angle),#ffcf3b,#ff6a6a,#cf5dff,#38d5ff,#ffcf3b)}
.gfs-theme .gup-badge-card:nth-child(4n)::before{background:conic-gradient(from var(--gfs-badge-angle),#afff54,#30deb4,#3ea8ff,#c36aff,#afff54)}
.gfs-theme .gup-badge-card:not(.is-locked) .gup-badge-image-wrap img,.gfs-theme .gup-badge-card:not(.is-locked) .gup-badge-placeholder{animation-duration:10.5s!important;animation-timing-function:ease-in-out!important;filter:drop-shadow(0 20px 28px rgba(0,0,0,.34)) drop-shadow(0 0 22px rgba(144,76,255,.24))}
.gfs-theme .gup-badge-card:nth-child(2n) .gup-badge-image-wrap img,.gfs-theme .gup-badge-card:nth-child(2n) .gup-badge-placeholder{animation-duration:12.8s!important;animation-delay:-4.3s!important}
.gfs-theme .gup-badge-card:nth-child(3n) .gup-badge-image-wrap img,.gfs-theme .gup-badge-card:nth-child(3n) .gup-badge-placeholder{animation-duration:9.2s!important;animation-delay:-6.7s!important}
.gfs-theme .gup-badge-card:nth-child(4n) .gup-badge-image-wrap img,.gfs-theme .gup-badge-card:nth-child(4n) .gup-badge-placeholder{animation-duration:14s!important;animation-delay:-2.1s!important}
@keyframes gfsBadgeFloat{0%,100%{transform:translate3d(0,0,0) rotate(-.7deg)}36%{transform:translate3d(2px,-8px,0) rotate(.8deg)}72%{transform:translate3d(-2px,-3px,0) rotate(-.2deg)}}
.gfs-theme .gfs-academy-content .gmb-course-grid{grid-template-columns:repeat(auto-fit,minmax(250px,270px))!important;gap:15px !important}
.gfs-theme .gfs-academy-content .gmb-course-card{width:100%!important;min-height:360px!important;border:1px solid rgba(176,83,255,.75)!important;border-radius:28px!important;background:linear-gradient(155deg,#57308a,#3f176f)!important;color:#fff!important;box-shadow:0 24px 64px rgba(13,0,44,.38),inset 0 1px 0 rgba(255,255,255,.09)!important;transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s ease!important}
.gfs-theme .gfs-academy-content .gmb-course-card:hover{transform:translateY(-7px);box-shadow:0 34px 80px rgba(13,0,44,.52),0 0 32px rgba(126,58,255,.2)!important}
.gfs-theme .gfs-academy-content .gmb-course-card__media{height:180px!important;margin:14px 14px 0;border-radius:20px!important;background:#32136a!important}
.gfs-theme .gfs-academy-content .gmb-course-card__body{padding:18px 20px 21px!important;min-height:166px!important}
.gfs-theme .gfs-academy-content .gmb-course-card h3,.gfs-theme .gfs-academy-content .gmb-course-card h3 a{color:#fff!important;font-size:17px!important}
.gfs-theme .gfs-academy-content .gmb-progress-head{color:#ede4ff!important;font-size:11px!important}
.gfs-theme .gfs-academy-content .gmb-progress{height:4px!important;background:rgba(255,255,255,.16)!important}
.gfs-theme .gfs-academy-content .gmb-progress span{background:linear-gradient(90deg,#29d9ff,#3fe798,#ffe246)!important}
.gfs-theme .gfs-academy-content .gmb-progress-disabled{color:#d8c9ee!important}
.gfs-theme .gfs-academy-content .gmb-button{min-height:40px!important;border:1px solid rgba(80,221,255,.5)!important;border-radius:12px!important;background:linear-gradient(115deg,#06bfe8,#6846e8)!important;color:#fff!important;box-shadow:0 10px 28px rgba(22,182,255,.18);transition:transform .25s ease,filter .25s ease,box-shadow .25s ease!important}
.gfs-theme .gfs-academy-content .gmb-button:hover{transform:translateY(-2px);filter:brightness(1.08);box-shadow:0 15px 34px rgba(22,182,255,.28)}
.gfs-theme.gfs-auth-page .gfs-page-main{padding-top:0!important;padding-bottom:0!important}
.gfs-theme.gfs-auth-page .gigen-wrap{padding-top:24px!important;padding-bottom:24px!important;align-items:center}
.gfs-theme .gigen-edit-profile-box .gigen-btn-white{color:#271046!important}
.gfs-theme .gfs-footer-menu-toggle{display:none}
@media(max-width:767px){.gfs-theme .gfs-footer-nav{width:100%}.gfs-theme .gfs-footer-menu-toggle{display:flex;width:100%;align-items:center;justify-content:space-between;padding:12px 16px;border:1px solid rgba(255,255,255,.2);border-radius:12px;background:rgba(255,255,255,.08);color:#fff;font:800 14px inherit;cursor:pointer;transition:background .25s ease,border-color .25s ease}.gfs-theme .gfs-footer-menu-toggle i{width:10px;height:10px;border-inline-end:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .28s ease}.gfs-theme .gfs-footer-menu-toggle[aria-expanded="true"] i{transform:rotate(225deg)}.gfs-theme .gfs-footer-links{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows .32s ease,opacity .32s ease}.gfs-theme .gfs-footer-links>*{min-height:0;overflow:hidden}.gfs-theme .gfs-footer-links.is-open{grid-template-rows:1fr;opacity:1}.gfs-theme .gfs-footer-menu{padding-top:12px!important}}
@media(min-width:901px){.gfs-theme::before,.gfs-theme::after{content:"";position:fixed;z-index:0;width:12px;height:32vh;min-height:210px;border-radius:50%;pointer-events:none;opacity:.24;filter:blur(13px);animation:gfsSideGlow 19s ease-in-out infinite alternate}.gfs-theme::before{right:-7px;top:16vh;background:#24d9ff;box-shadow:0 0 42px 18px rgba(36,217,255,.36)}.gfs-theme::after{left:-8px;top:57vh;background:#a952ff;box-shadow:0 0 46px 20px rgba(169,82,255,.34);animation-duration:27s;animation-delay:-11s}.gfs-theme .gfs-main,.gfs-theme .gfs-site-footer{position:relative;z-index:1}}
@keyframes gfsSideGlow{0%{transform:translate3d(0,-5vh,0) scale(.84);opacity:.13}43%{transform:translate3d(0,9vh,0) scale(1.08);opacity:.28}100%{transform:translate3d(0,22vh,0) scale(.9);opacity:.16}}
.gfs-theme a,.gfs-theme button,.gfs-theme input,.gfs-theme select,.gfs-theme textarea,.gfs-theme .gfs-menu-overlay,.gfs-theme .gfs-mobile-user-panel,.gfs-theme .gigen-missions-drawer{transition-property:color,background-color,border-color,box-shadow,transform,opacity,filter;transition-duration:.25s;transition-timing-function:ease}
.gfs-theme .gfs-menu-overlay{transition-duration:.38s}

/* Theme-owned mobile three-dot panel: show the complete lazy streak week box. */
.gfs-theme .gfs-mobile-streak-slot .gigen-streak-box{position:relative!important;top:auto!important;right:auto!important;left:auto!important;width:100%!important;max-width:none!important;margin:0!important;padding:22px 12px 16px!important;transform:none!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;border-radius:20px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 14px 34px rgba(0,0,0,.2)!important}
.gfs-theme .gfs-mobile-streak-slot .gigen-streak-box__top-notch{display:none!important}
.gfs-theme .gfs-mobile-streak-slot .gigen-streak-box__header{gap:12px;justify-content:flex-start}
.gfs-theme .gfs-mobile-streak-slot .gigen-streak-box__fire{font-size:46px}
.gfs-theme .gfs-mobile-streak-slot .gigen-streak-box__title{font-size:20px;margin-bottom:4px}
.gfs-theme .gfs-mobile-streak-slot .gigen-streak-box__subtitle{font-size:12px;line-height:1.7}
.gfs-theme .gfs-mobile-streak-slot .gigen-streak-box__days{width:100%;gap:4px;margin:22px 0 20px}
.gfs-theme .gfs-mobile-streak-slot .gigen-streak-box__day{flex:1 1 0;min-width:0;gap:8px}
.gfs-theme .gfs-mobile-streak-slot .gigen-streak-box__circle{width:30px;height:30px}
.gfs-theme .gfs-mobile-streak-slot .gigen-streak-box__day.is-frozen .gigen-streak-box__circle{width:34px;margin-top:2px}
.gfs-theme .gfs-mobile-streak-slot .gigen-streak-box__label{font-size:13px}
.gfs-theme .gfs-mobile-streak-slot .gigen-streak-box__freeze-btn{padding:13px 10px;font-size:14px;border-radius:12px}
.gfs-theme .gfs-mobile-streak-slot .gigen-streak-box__message{font-size:12px}
@media (max-width:480px){

  .gfs-theme .gigen-mission-card__icon-wrap{display: none;}
  .gfs-theme .gfs-mobile-streak-slot .gigen-streak-box{padding-inline:8px!important}
  .gfs-theme .gfs-mobile-streak-slot .gigen-streak-box__days{gap:2px}
  .gfs-theme .gfs-mobile-streak-slot .gigen-streak-box__circle{width:28px;height:28px}
  .gfs-theme .gfs-mobile-streak-slot .gigen-streak-box__day.is-frozen .gigen-streak-box__circle{width:31px}
  .gfs-theme .gfs-mobile-streak-slot .gigen-streak-box__label{font-size:12px}
  .gfs-theme .gfs-academy-content .gmb-course-grid{ grid-template-columns: repeat(auto-fit, minmax(270px, 100%)) !important;}
.gfs-theme .gigen-drawer-cards .gigen-mission-card,  .gfs-theme .gigen-mission-card {grid-template-columns: 100% 1fr;}
}


/* Missions unified-card layout: condition, reward, status, progress and breakdown stay together. */
.gfs-theme .gigen-missions-title,.gfs-theme .gigen-drawer-title{margin-bottom:16px}
.gfs-theme .gigen-missions-cards{display:grid;gap:12px;margin:16px auto 0;max-width:980px}
.gfs-theme .gigen-mission-card{
  grid-template-columns:82px minmax(0,1fr);gap:14px;align-items:start;min-height:0;
  padding:14px 16px;border:1px solid rgba(255,255,255,.09);border-radius:18px;
  background:linear-gradient(145deg,rgba(24,7,52,.94),rgba(12,3,30,.9));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035)
}
.gfs-theme .gigen-mission-card__icon-wrap{width:82px;height:82px;border-radius:16px}
.gfs-theme .gigen-mission-card__top{align-items:flex-start;margin-bottom:8px}
.gfs-theme .gigen-mission-card__title{font-size:18px;white-space:normal;line-height:1.55}
.gfs-theme .gigen-mission-card__summary{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-top:2px}
.gfs-theme .gigen-mission-card__condition{color:rgba(255,255,255,.9);font-size:13px;font-weight:700;line-height:1.7}
.gfs-theme .gigen-mission-card__reward{flex:0 0 auto;color:#ffe36e;font-size:17px;font-weight:900;white-space:nowrap;text-shadow:0 0 14px rgba(255,227,110,.36)}
.gfs-theme .gigen-mission-card__meta{margin-top:10px}
.gfs-theme .gigen-mission-card__desc{margin-top:8px;color:rgba(255,255,255,.76);font-size:12px;line-height:1.75}
.gfs-theme .gigen-mission-card__breakdown{margin-top:9px;gap:6px}
.gfs-theme .gigen-drawer-cards{gap:10px;margin-top:12px}
.gfs-theme .gigen-drawer-cards .gigen-mission-card{grid-template-columns:64px minmax(0,1fr);gap:10px;padding:11px 12px;background:rgba(11,2,28,.7)}
.gfs-theme .gigen-drawer-cards .gigen-mission-card__icon-wrap{width:64px;height:64px}
.gfs-theme .gigen-drawer-cards .gigen-mission-card__title{font-size:15px}
.gfs-theme .gigen-drawer-cards .gigen-mission-card__condition,.gfs-theme .gigen-drawer-cards .gigen-mission-card__desc{font-size:11px}
.gfs-theme .gigen-daily-bundle-claim{margin:12px auto 14px;max-width:980px}
@media (max-width:767px){
  .gfs-theme .gigen-mission-card,.gfs-theme .gigen-drawer-cards .gigen-mission-card{grid-template-columns:1fr;padding:12px;gap:8px}
  .gfs-theme .gigen-mission-card__icon-wrap{display:none}
  .gfs-theme .gigen-mission-card__top{gap:8px}
  .gfs-theme .gigen-mission-card__title{font-size:15px}
  .gfs-theme .gigen-mission-card__summary{display:grid;gap:4px}
  .gfs-theme .gigen-mission-card__reward{white-space:normal}
  .gfs-theme .gigen-mission-card__breakdown span{font-size:10px;padding:3px 6px}
  .gfs-theme .gigen-missions-cards,.gfs-theme .gigen-drawer-cards{gap:8px;margin-top:10px}
  .gfs-theme .gigen-mission-card,.gfs-theme .gigen-drawer-cards .gigen-mission-card{min-height:0;padding:9px 11px;gap:4px;border-radius:12px}
  .gfs-theme .gigen-mission-card__top{margin-bottom:3px}
  .gfs-theme .gigen-mission-card__summary{margin-top:0}
  .gfs-theme .gigen-mission-card__meta{margin-top:4px}
  .gfs-theme .gigen-mission-card__desc{margin-top:4px}
  .gfs-theme .gigen-mission-card__details{margin-top:3px}
}
