@font-face{font-family:'Yekan Bakh Fa';font-style:normal;font-weight:400;font-display:swap;src:url('/wp-content/uploads/2026/05/YekanBakhFaNum-Regular.woff2') format('woff2')}
@font-face{font-family:'Yekan Bakh Fa';font-style:normal;font-weight:300;font-display:swap;src:url('/wp-content/uploads/2026/05/YekanBakhFaNum-Light.woff2') format('woff2')}
@font-face{font-family:'Yekan Bakh Fa';font-style:normal;font-weight:700;font-display:swap;src:url('/wp-content/uploads/2026/05/YekanBakhFaNum-Bold.woff2') format('woff2')}

:root{
  --gfs-purple:#2a0066;
  --gfs-purple-deep:#18003d;
  --gfs-purple-dark:#12002f;
  --gfs-header:#20004c;
  --gfs-yellow:#ffc312;
  --gfs-blue:#31a5ff;
  --gfs-cyan:#00b9ff;
  --gfs-text:#fff;
  --gfs-muted:rgba(255,255,255,.72);
  --gfs-shell:1130px;
  --gfs-header-h:62px;
  --gfs-radius:18px;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--gfs-purple)}
body.gfs-theme{margin:0;background:var(--gfs-purple);color:var(--gfs-text);font-family:'Yekan Bakh Fa',Tahoma,Arial,sans-serif;font-size:16px;line-height:1.7;overflow-x:hidden}
body.gfs-theme img{max-width:100%;height:auto}
body.gfs-theme a{color:inherit;text-decoration:none}
body.gfs-theme button,body.gfs-theme input,body.gfs-theme textarea,body.gfs-theme select{font:inherit}
body.gfs-theme button{border:0}
body.gfs-theme .gfs-main{min-height:50vh;background:var(--gfs-purple)}
.gfs-shell{width:min(var(--gfs-shell),calc(100% - 48px));margin-inline:auto}
.gfs-skip-link{position:fixed;right:16px;top:-80px;z-index:100000;background:#fff;color:#111!important;padding:8px 14px;border-radius:8px}
.gfs-skip-link:focus{top:12px}
.gfs-section-title{margin:0 0 26px;color:#fff;text-align:center;font-size:clamp(26px,2.25vw,34px);font-weight:500;letter-spacing:-.02em}
.gfs-empty-card{width:100%;padding:28px;border:1px solid rgba(255,255,255,.12);border-radius:16px;background:rgba(255,255,255,.06);color:rgba(255,255,255,.75);text-align:center}

/* ---------------- Header ---------------- */
.gfs-site-header{position:fixed;inset:0 0 auto;z-index:9000;height:var(--gfs-header-h);background:rgba(28,0,70,.98);box-shadow:0 2px 20px rgba(0,0,0,.12);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
.admin-bar .gfs-site-header{top:32px}
.gfs-header-inner{    height: 100%;
    width: min(100%, 1760px);
    margin: auto;
    padding: 0 22px;
    display: grid;
    /* grid-template-columns: 120px minmax(220px, 280px) 250px 1fr; */
    align-items: center;
    gap: 18px;
    direction: rtl;
    justify-content: stretch;
    justify-items: center;
    align-content: space-evenly;
    grid-auto-flow: column;}
.gfs-header-actions{display:flex;align-items:center;justify-content:flex-start;gap:16px}
.gfs-header-icon-button{appearance:none;width:48px;height:42px;border-radius:10px;background:rgba(255,255,255,.08);display:grid;place-items:center;cursor:pointer;transition:.2s ease}
.gfs-header-icon-button:hover,.gfs-header-icon-button:focus-visible{background:rgba(255,255,255,.14);transform:translateY(-1px)}
.gfs-header-logo{display:flex;align-items:center;justify-content:center;min-width:0}
.gfs-header-logo img{display:block;width:min(240px,100%);max-height:56px;object-fit:contain}
.gfs-header-stats{display:flex;align-items:center;justify-content:center;gap:18px;direction:rtl}
.gfs-stat-chip{position:relative;height:42px;min-width:112px;padding:0 15px;border-radius:10px;background:rgba(255,255,255,.08);color:#fff;display:flex;align-items:center;justify-content:center;gap:13px;cursor:default}
button.gfs-stat-chip{cursor:pointer}
.gfs-stat-chip img{width:27px;max-height:30px;object-fit:contain}
.gfs-stat-chip span{font-size:14px;font-weight:700;min-width:20px;text-align:center}
.gfs-header-user{height:100%;display:flex;align-items:center;justify-content:flex-start;gap:26px;min-width:0;direction:rtl}
.gfs-user-name{display:flex;align-items:center;gap:8px;white-space:nowrap;color:#fff;font-size:14px;min-width:140px}
.gfs-user-name span{color:#ffe328;font-size:17px}
.gfs-user-progress-group{width:180px;display:grid;gap:5px;direction:ltr}
.gfs-user-numbers{display:flex;flex-direction:column;line-height:1.35;color:#fff;font-size:13px}
.gfs-user-numbers span:first-child{color:#fff}
.gfs-user-numbers span::first-letter{color:#ffd700}
.gfs-level-progress{display:block;width:100%;height:3px;border-radius:99px;background:rgba(255,255,255,.18);overflow:hidden}
.gfs-level-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#00b7ff 0%,#bd21d9 51%,#eddd53 100%);transition:width .35s ease}
.gfs-header-badge{width:72px;height:64px;display:grid;place-items:center;overflow:visible;flex:0 0 auto}
.gfs-header-badge .gigen-user-badge,.gfs-header-badge .gigen-header-video-badge{max-width:72px!important;max-height:72px!important}
.gfs-header-badge img{max-width:72px;max-height:92px;object-fit:contain;filter:drop-shadow(0 5px 8px rgba(0,0,0,.25))}
.gfs-header-badge__fallback{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#7b28e7,#00bdff);color:#ffd834}
.gfs-login-link{display:inline-flex;padding:8px 20px;border-radius:12px;background:rgba(255,255,255,.1);font-weight:700}
.gfs-mobile-stats-button{display:none}
.gfs-streak-popover {
    position: relative;
    top: -30px;
    left: 30%;
    width: 0;
    height: 0;
    z-index: 10;
}
.gfs-streak-popover .gigen-streak-box{top:74px!important;right:auto!important;left:50%!important;transform:translateX(-50%) translateY(12px) scale(.98)!important}
.gfs-streak-popover .gigen-streak-box.is-open{transform:translateX(-50%) translateY(0) scale(1)!important}

/* Full-screen menu */
body.gfs-menu-open{overflow:hidden!important}
.gfs-menu-overlay{position:fixed;inset:0;width:100vw;min-height:100vh;min-height:100dvh;z-index:99990;opacity:0;pointer-events:none;background:rgba(11,2,27,.34);backdrop-filter:blur(42px) saturate(120%);-webkit-backdrop-filter:blur(42px) saturate(120%);transition:opacity .28s ease}
.gfs-menu-overlay:not([hidden]){display:block}
.gfs-menu-overlay.is-open{opacity:1;pointer-events:auto}
.gfs-menu-close{position:absolute;right:clamp(22px,4vw,58px);top:clamp(22px,4vw,54px);width:52px;height:52px;border-radius:14px;background:rgba(255,255,255,.1);color:#fff;cursor:pointer;display:grid;place-items:center;transition:.22s ease}
.gfs-menu-close:hover{transform:rotate(90deg);background:rgba(255,255,255,.17)}
.gfs-menu-close span{position:absolute;width:24px;height:2px;border-radius:10px;background:#fff}
.gfs-menu-close span:first-child{transform:rotate(45deg)}
.gfs-menu-close span:last-child{transform:rotate(-45deg)}
.gfs-menu-nav{position:absolute;top:50%;right:clamp(32px,8vw,132px);transform:translateY(-50%) translateX(22px);opacity:0;transition:transform .34s cubic-bezier(.18,.8,.26,1),opacity .26s ease;width:min(430px,calc(100vw - 64px));max-height:calc(100dvh - 140px);overflow:hidden;overscroll-behavior:contain}
.gfs-menu-overlay.is-open .gfs-menu-nav{opacity:1;transform:translateY(-50%) translateX(0)}
.gfs-overlay-menu,.gfs-fallback-menu{list-style:none;margin:0;padding:0}
.gfs-overlay-menu li,.gfs-fallback-menu li{margin:0;padding:0}
.gfs-overlay-menu a,.gfs-fallback-menu a{display:block;padding:7px 0;color:#fff!important;font-size:clamp(23px,2.2vw,32px);font-weight:300;line-height:1.55;text-shadow:0 8px 28px rgba(0,0,0,.32);transition:transform .2s ease}
.gfs-overlay-menu a:hover,.gfs-fallback-menu a:hover{transform:translateX(-10px)}
.gfs-overlay-menu .sub-menu{list-style:none;margin:0 18px 0 0;padding:0;opacity:.8}
.gfs-overlay-menu .sub-menu a{font-size:.8em}
.gfs-menu-logout{display:inline-flex;margin-top:22px;padding:10px 22px;border:1px solid rgba(255,255,255,.38);border-radius:999px;color:#fff!important;font-size:17px;font-weight:700;background:rgba(255,255,255,.08);transition:background .2s ease,transform .2s ease}
.gfs-menu-logout:hover{background:rgba(255,255,255,.16);transform:translateY(-1px)}

/* Mobile user panel */
.gfs-mobile-user-panel{display:none;position:fixed;z-index:99940;left:-460px;top:var(--gfs-header-h);width:min(430px,94vw);max-height:calc(100svh - var(--gfs-header-h));min-height:250px;padding:24px 18px 28px;background:rgba(30,0,75,.985);box-shadow:-20px 30px 60px rgba(0,0,0,.35);border-radius:0 0 0 24px;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;transition:left .4s cubic-bezier(.22,1,.36,1);}
.gfs-mobile-user-panel.is-open{left:0;}
.gfs-mobile-panel-close{position:absolute;left:12px;top:10px;width:34px;height:34px;border-radius:9px;background:rgba(255,255,255,.1);color:#fff;font-size:25px}
.gfs-mobile-user-panel__top{display:flex;align-items:center;gap:14px;margin-bottom:20px}
.gfs-mobile-badge{width:68px;height:68px;display:grid;place-items:center}
.gfs-mobile-badge img{max-width:64px;max-height:92px}
.gfs-mobile-stats-list{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px;font-size:13px}
.gfs-mobile-stats-list span{background:rgba(255,255,255,.08);padding:8px 10px;border-radius:9px}
.gfs-level-progress.is-mobile{margin-top:18px;height:5px}
.gfs-mobile-streak-slot{width:100%;margin-top:18px}
.gfs-streak-home-anchor{display:none!important}
.gfs-streak-loading,.gfs-streak-error{display:none;width:390px;max-width:min(390px,calc(100vw - 28px));padding:18px;border-radius:18px;background:#3d1971;color:#fff;text-align:center;font-size:13px;font-weight:700;box-shadow:0 18px 48px rgba(0,0,0,.26)}
.gfs-streak-popover.is-loading .gfs-streak-loading{display:block;position:absolute;top:74px;left:50%;transform:translateX(-50%)}
.gfs-streak-popover .gfs-streak-error{display:block;position:absolute;top:74px;left:50%;transform:translateX(-50%)}
.gfs-mobile-streak-slot .gfs-streak-popover{position:static!important;top:auto!important;left:auto!important;width:100%!important;height:auto!important;z-index:auto!important}
.gfs-mobile-streak-slot .gfs-streak-popover.is-loading .gfs-streak-loading,
.gfs-mobile-streak-slot .gfs-streak-popover .gfs-streak-error{position:static;display:block;width:100%;max-width:none;transform:none;box-shadow:none}
.gfs-mobile-streak-slot .gfs-streak-popover .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-mobile-streak-slot .gigen-streak-box__top-notch{display:none}
.gfs-mobile-streak-slot .gigen-streak-box__header{gap:12px;justify-content:flex-start}
.gfs-mobile-streak-slot .gigen-streak-box__fire{font-size:46px}
.gfs-mobile-streak-slot .gigen-streak-box__title{font-size:20px;margin-bottom:4px}
.gfs-mobile-streak-slot .gigen-streak-box__subtitle{font-size:12px;line-height:1.7}
.gfs-mobile-streak-slot .gigen-streak-box__days{width:100%;gap:4px;margin:22px 0 20px}
.gfs-mobile-streak-slot .gigen-streak-box__day{flex:1 1 0;min-width:0;gap:8px}
.gfs-mobile-streak-slot .gigen-streak-box__circle{width:30px;height:30px}
.gfs-mobile-streak-slot .gigen-streak-box__day.is-frozen .gigen-streak-box__circle{width:34px}
.gfs-mobile-streak-slot .gigen-streak-box__label{font-size:13px}
.gfs-mobile-streak-slot .gigen-streak-box__freeze-btn{padding:13px 10px;font-size:14px;border-radius:12px}
.gfs-mobile-streak-slot .gigen-streak-box__message{font-size:12px}

/* ---------------- Hero ---------------- */
.gfs-hero{position:relative;isolation:isolate;min-height:calc(100vh - var(--gfs-header-h));display:grid;place-items:center;overflow:hidden;background:#160036}
.gfs-hero-video{position:absolute;inset:0;z-index:-3;width:100%;height:100%;object-fit:cover;object-position:center}
.gfs-hero-overlay{position:absolute;inset:0;z-index:-2;background:radial-gradient(circle at 52% 43%, rgb(76 0 183 / 0%), rgba(31, 0, 84, .22) 50%, rgb(17 0 52 / 0%) 100%), linear-gradient(180deg, rgba(21, 0, 61, .04), rgb(50 0 111 / 0%))}
.gfs-hero-content{width:min(920px,calc(100% - 40px));margin:auto;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:70px 0 72px;transform:translateY(8px)}
.gfs-hero-logo{width:clamp(240px,50vw,370px);height:auto;max-height:220px;object-fit:contain;margin-bottom:22px;filter:drop-shadow(0 12px 18px rgba(15,0,50,.38))}
.gfs-hero h1{margin:0;color:#fff;font-size:clamp(32px,3.1vw,45px);font-weight:800;line-height:1.45;letter-spacing:-.03em;text-shadow:0 3px 20px rgba(0,0,0,.22)}
.gfs-hero p{margin:28px 0 30px;color:rgba(255,255,255,.88);font-size:clamp(14px,1.15vw,18px);font-weight:400;line-height:1.9}
.gfs-primary-cta,.gfs-secondary-cta{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:8px 22px;border-radius:999px;font-weight:800;font-size:14px;transition:.2s ease}
.gfs-primary-cta{background:var(--gfs-yellow);color:#2b1546!important;box-shadow:0 9px 25px rgba(255,195,18,.16)}
.gfs-primary-cta:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(255,195,18,.24)}

/* ---------------- Games ---------------- */
.gfs-games-section{background:#2a0066;padding:126px 0 88px;min-height:650px}
.gfs-games-section.is-page{padding-top:150px;min-height:calc(100vh - var(--gfs-header-h))}
.gfs-games-shell{max-width:1040px}
.gfs-domain-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:24px;direction:rtl;align-items:stretch}
.gfs-domain-tab{position:relative;appearance:none;min-height:154px;padding:18px 10px 16px;border:1px solid #1ba7ed;background:linear-gradient(180deg,rgba(73,0,164,.44),rgba(33,0,85,.48));color:#fff;border-radius:25px;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;transition:transform .22s ease,background .22s ease,box-shadow .22s ease,border-color .22s ease;overflow:hidden}
.gfs-domain-tab:hover{transform:translateY(-3px)}
.gfs-domain-tab.is-active{background:linear-gradient(180deg,rgba(0,167,220,.58),rgba(26,7,87,.88));border-color:#11b8f4;box-shadow:0 -20px 58px rgba(0,192,255,.36),inset 0 1px 0 rgba(255,255,255,.1)}
.gfs-domain-tab__icon{height:61px;display:grid;place-items:center;margin-bottom:7px}
.gfs-domain-tab__icon svg{width:62px;height:62px;fill:none;stroke:#fff;stroke-width:1.5}
.gfs-domain-tab__icon svg .accent{stroke:#ffd833}
.gfs-domain-tab__fa{font-size:14px;font-weight:800;line-height:1.4}
.gfs-domain-tab__en{font-size:12px;font-family:Arial,sans-serif;font-weight:600;line-height:1.35}
.gfs-game-panels{min-height:148px;padding-top:17px}
.gfs-game-panel{display:none}
.gfs-game-panel.is-active{display:block;animation:gfsFadeIn .22s ease}
.gfs-game-cards{display:flex;flex-wrap:wrap;gap:18px;justify-content:flex-start;direction:rtl}
.gfs-game-card{width:330px;max-width:100%;margin:0}
.gfs-game-card__link{position:relative;display:grid;grid-template-columns:1fr 116px;min-height:112px;border-radius:12px;background:linear-gradient(100deg,#5d16c4,#4f147f);box-shadow:inset 9px 0 0 #7c25eb;color:#fff!important;overflow:hidden}
.gfs-game-card__more{position:absolute;left:5px;top:50%;transform:translateY(-50%);writing-mode:vertical-rl;font-size:20px;opacity:.9}
.gfs-game-card__content{padding:14px 10px 12px 22px;display:grid;align-content:center;gap:5px;text-align:right;min-width:0}
.gfs-game-card__content strong{font-size:16px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gfs-game-card__stars{font-family:Arial,sans-serif;letter-spacing:1px;font-size:16px;color:#eceafa;line-height:1}
.gfs-game-card__content small{font-size:11px;color:#ffcc19;font-weight:700}
.gfs-game-card__media{padding:8px 8px 8px 0;display:block;height:112px}
.gfs-game-card__media img{width:100%;height:100%;display:block;object-fit:cover;border-radius:12px}
@keyframes gfsFadeIn{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}

/* ---------------- Academy ---------------- */
.gfs-academy-section{background:#2a0066;padding:72px 0 48px}
.gfs-academy-section.is-page{padding-top:150px;min-height:calc(100vh - var(--gfs-header-h))}
.gfs-academy-shell{max-width:980px}
.gfs-academy-content{display:flex;justify-content:center}
.gfs-academy-content .gmb-course-grid{width:auto!important;max-width:100%!important;display:grid!important;grid-template-columns:repeat(2,232px)!important;gap:22px!important;justify-content:center!important;--gmb-columns:2!important}
.gfs-academy-content .gmb-course-card{width:232px!important;min-width:0!important;min-height:290px;border-radius:18px!important;overflow:hidden!important;background:#fff!important;color:#151515!important;box-shadow:none!important}
.gfs-academy-content .gmb-course-card__media{display:flex!important;height:130px!important;background:#ffeca3!important;overflow:hidden!important;align-items:center;justify-content:center}
.gfs-academy-content .gmb-course-card__image{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}
.gfs-academy-content .gmb-course-card__placeholder{width:100%!important;height:100%!important;display:grid!important;place-items:center!important;background:#ffe99b!important;color:#222!important;font-weight:700}
.gfs-academy-content .gmb-course-card__body{padding:15px 16px 18px!important;display:flex!important;flex-direction:column!important;min-height:150px!important}
.gfs-academy-content .gmb-course-card h3{margin:0 0 12px!important;font-size:15px!important;line-height:1.6!important;font-weight:800!important;color:#171717!important;text-align:right!important}
.gfs-academy-content .gmb-course-card h3 a{color:#171717!important}
.gfs-academy-content .gmb-course-card__bottom{margin-top:auto!important}
.gfs-academy-content .gmb-progress-head{display:flex!important;justify-content:space-between!important;font-size:10px!important;margin-bottom:6px!important}
.gfs-academy-content .gmb-progress{height:8px!important;border-radius:99px!important;background:#d9efe1!important;overflow:hidden!important}
.gfs-academy-content .gmb-progress span{display:block!important;height:100%!important;background:#47b867!important;border-radius:inherit!important}
.gfs-academy-content .gmb-progress-disabled{font-size:10px!important;color:#999!important;line-height:1.55!important;margin-bottom:13px!important}
.gfs-academy-content .gmb-button{display:flex!important;align-items:center!important;justify-content:center!important;min-height:38px!important;margin-top:14px!important;border-radius:8px!important;background:#242424!important;color:#fff!important;font-size:13px!important;font-weight:800!important}

/* ---------------- Leaderboard ---------------- */
.gfs-leaderboard-section{background:#2a0066;padding:8px 0 80px}
.gfs-leaderboard-card{border:2px solid rgba(187,148,255,.42);border-radius:19px;background:linear-gradient(135deg,rgba(98,57,149,.78),rgba(61,26,116,.72));padding:14px 10px 18px;overflow:hidden}
.gfs-leaderboard-card .gigen-leaderboard-wrap{width:100%;overflow-x:auto}
.gfs-leaderboard-card .gigen-leaderboard-meta{display:flex!important;justify-content:flex-start!important;align-items:center!important;margin:0 0 6px!important;padding:0 16px;color:#fff!important}
.gfs-leaderboard-card .gigen-leaderboard-meta small{opacity:.7!important;font-size:11px!important}
.gfs-leaderboard-card .gigen-lb-tabs{display:flex!important;gap:8px!important;justify-content:flex-start!important;flex-wrap:wrap!important;margin:9px 0 12px!important;padding:0 0 0 0!important;direction:rtl!important}
.gfs-leaderboard-card .gigen-lb-tab{appearance:none;border:0!important;background:#290e4e!important;color:#fff!important;border-radius:8px!important;padding:8px 20px!important;cursor:pointer!important;font:700 12px 'Yekan Bakh Fa',sans-serif!important}
.gfs-leaderboard-card .gigen-lb-tab.is-active{background:#ffc107!important;color:#2a0b4d!important}
.gfs-leaderboard-card .gigen-lb-panel-shell{display:none}
.gfs-leaderboard-card .gigen-lb-panel-shell.is-active{display:block}
.gfs-leaderboard-card .gigen-lb-period-note{display:none!important}
.gfs-leaderboard-card .gigen-lb-table-scroll{overflow-x:auto}
.gfs-leaderboard-card table.gigen-leaderboard{width:100%!important;border-collapse:collapse!important;color:#fff!important;font-family:'Yekan Bakh Fa',sans-serif!important;background:transparent!important}
.gfs-leaderboard-card .gigen-leaderboard th{padding:11px 9px!important;text-align:center!important;font-size:12px!important;font-weight:700!important;border:1px solid rgba(255,255,255,.12)!important;background:rgba(60,18,115,.23)!important;white-space:nowrap}
.gfs-leaderboard-card .gigen-leaderboard td{padding:9px!important;text-align:center!important;font-size:12px!important;border:1px solid rgba(255,255,255,.12)!important;white-space:nowrap;color:#fff!important}
.gfs-leaderboard-card .gigen-leaderboard tbody tr:nth-child(odd){background:rgba(255,255,255,.018)}
.gfs-leaderboard-card .gigen-leaderboard tbody tr.is-prize-rank td{background:linear-gradient(90deg,rgba(64,189,181,.23),rgba(105,91,218,.19))!important}
.gfs-leaderboard-card .gigen-leaderboard tbody tr.gigen-lb-prize-rank-1 td{background:linear-gradient(90deg,rgba(255,197,54,.37),rgba(229,159,27,.19))!important}
.gfs-leaderboard-card .gigen-leaderboard tbody tr.gigen-lb-prize-rank-2 td{background:linear-gradient(90deg,rgba(207,224,255,.31),rgba(144,169,222,.18))!important}
.gfs-leaderboard-card .gigen-leaderboard tbody tr.gigen-lb-prize-rank-3 td{background:linear-gradient(90deg,rgba(238,169,119,.33),rgba(182,104,75,.19))!important}
.gfs-leaderboard-card .gigen-lb-rank span{display:inline-grid!important;place-items:center!important;min-width:28px!important;height:28px!important;border-radius:50%!important;border:2px solid currentColor!important;font-weight:900!important}

/* ---------------- About ---------------- */
.gfs-about-home { background-image: url(/wp-content/uploads/2026/06/about_back-scaled.jpg); background-size: cover; height: 500px; display: flex; align-items: center;}
.gfs-about-home__glow{position:absolute;z-index:-2;right:-10%;bottom:-26%;width:54%;height:70%;background:radial-gradient(ellipse,rgba(183,44,255,.34),transparent 68%);transform:rotate(15deg)}
.gfs-about-home__content{text-align:center;max-width:1020px;padding:70px 0}
.gfs-about-home h2{margin:0 0 14px;font-size:31px;font-weight:500}
.gfs-about-home p{max-width:940px;margin:0 auto 20px;color:#fff;font-size:14px;line-height:2.1;font-weight:400}
.gfs-secondary-cta{background:#416dff;color:#fff!important;padding-inline:24px;box-shadow:0 10px 25px rgba(38,89,255,.2)}
.gfs-secondary-cta:hover{transform:translateY(-2px);background:#5380ff}

/* ---------------- Homepage welcome posts modal ---------------- */
body.gfs-welcome-modal-open{overflow:hidden!important}
.gfs-welcome-modal{position:fixed;inset:0;z-index:100700;display:grid;place-items:center;padding:32px;direction:rtl}
.gfs-welcome-modal[hidden]{display:none!important}
.gfs-welcome-modal__backdrop{position:absolute;inset:0;background:rgba(5,0,18,.58);backdrop-filter:blur(18px) brightness(.66);-webkit-backdrop-filter:blur(18px) brightness(.66)}
.gfs-welcome-modal__dialog{position:relative;width:min(760px,calc(100vw - 40px));padding:74px 62px 58px;border:1px solid rgba(255,255,255,.12);border-radius:24px;background:linear-gradient(135deg,rgba(36,34,70,.96),rgba(84,59,61,.9));box-shadow:0 32px 110px rgba(0,0,0,.54);outline:0;overflow:hidden}
.gfs-welcome-modal__dialog::before{content:"";position:absolute;inset:auto 8% 0;height:42%;background:radial-gradient(circle at 50% 100%,rgba(255,255,255,.16),transparent 68%);pointer-events:none}
.gfs-welcome-modal__sr{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.gfs-welcome-modal__close{position:absolute;top:18px;right:18px;z-index:2;width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:rgba(255,255,255,.12);color:#fff;cursor:pointer;transition:background .2s ease,transform .2s ease}
.gfs-welcome-modal__close:hover,.gfs-welcome-modal__close:focus-visible{background:rgba(255,255,255,.2);transform:rotate(90deg)}
.gfs-welcome-modal__close svg{width:22px;height:22px}
.gfs-welcome-modal__cards{position:relative;z-index:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:44px}
.gfs-welcome-card{min-width:0}
.gfs-welcome-card__link{display:flex;height:100%;flex-direction:column;color:#fff!important;outline:0}
.gfs-welcome-card__media{display:block;width:100%;aspect-ratio:1.56/1;border-radius:16px;background-position:center;background-size:cover;background-repeat:no-repeat;box-shadow:0 16px 35px rgba(0,0,0,.25);overflow:hidden;transition:transform .24s ease,box-shadow .24s ease}
.gfs-welcome-card__media.is-placeholder{background:radial-gradient(circle at 25% 20%,#0064ff,transparent 34%),radial-gradient(circle at 75% 70%,#d12161,transparent 35%),#0d0533}
.gfs-welcome-card__link:hover .gfs-welcome-card__media,.gfs-welcome-card__link:focus-visible .gfs-welcome-card__media{transform:translateY(-3px) scale(1.01);box-shadow:0 20px 42px rgba(0,0,0,.32)}
.gfs-welcome-card__content{display:flex;flex:1;flex-direction:column;padding-top:15px;text-align:center}
.gfs-welcome-card__title{display:block;font-size:16px;line-height:1.85;font-weight:700}
.gfs-welcome-card__excerpt{display:-webkit-box;margin-top:2px;min-height:42px;color:rgba(255,255,255,.7);font-size:12px;line-height:1.75;font-weight:400;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.gfs-welcome-card__footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;padding-top:11px;border-top:1px solid rgba(255,255,255,.2);color:rgba(255,255,255,.72);font-size:11px;text-align:right}
.gfs-welcome-card__more{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:rgba(255,255,255,.18);color:#fff;font-size:12px;letter-spacing:1px;line-height:1}
@media (max-width:680px){
  .gfs-welcome-modal{padding:16px;align-items:center}
  .gfs-welcome-modal__dialog{width:min(500px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:66px 20px 24px;border-radius:20px;overflow-y:auto}
  .gfs-welcome-modal__cards{grid-template-columns:1fr;gap:24px}
  .gfs-welcome-card__link{display:grid;grid-template-columns:132px minmax(0,1fr);gap:14px;align-items:center}
  .gfs-welcome-card__media{aspect-ratio:1.25/1}
  .gfs-welcome-card__content{padding-top:0;text-align:right}
  .gfs-welcome-card__title{font-size:14px}
  .gfs-welcome-card__excerpt{min-height:0;font-size:11px;-webkit-line-clamp:2}
  .gfs-welcome-card__footer{margin-top:9px;padding-top:8px}
}
@media (max-width:420px){
  .gfs-welcome-card__link{grid-template-columns:112px minmax(0,1fr);gap:12px}
  .gfs-welcome-modal__close{top:14px;right:14px;width:38px;height:38px}
}

/* ---------------- News ---------------- */
.gfs-news-section{background:#2a0066;padding:112px 0 110px}
.gfs-news-section .gfs-shell{max-width:1050px}
.gfs-news-section .gfs-section-title{margin-bottom:34px}
.gfs-news-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:38px}
.gfs-news-card{min-width:0;color:#fff}
.gfs-news-card__image{display:block;width:100%;aspect-ratio:1.28/1;border-radius:15px;overflow:hidden;background:rgba(255,255,255,.07)}
.gfs-news-card__image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s ease}
.gfs-news-card:hover .gfs-news-card__image img{transform:scale(1.025)}
.gfs-news-card h3,.gfs-news-card h2{margin:14px 0 12px;font-size:14px;line-height:1.75;font-weight:800;min-height:49px}
.gfs-news-card h3 a,.gfs-news-card h2 a{color:#fff!important}
.gfs-news-card__meta{padding-top:9px;border-top:1px solid rgba(255,255,255,.16);display:flex;align-items:center;justify-content:space-between;color:rgba(255,255,255,.66);font-size:11px;direction:ltr}
.gfs-news-card__more{width:25px;height:25px;border-radius:7px;background:rgba(255,255,255,.14);display:grid;place-items:center}
.gfs-news-card__more img{width:4px;height:17px;object-fit:contain}

/* ---------------- Footer ---------------- */
.gfs-site-footer{background:#1b014a;color:#fff}
.gfs-footer-main{padding:18px 0;background:#210052}
.gfs-footer-grid{min-height:74px;display:grid;grid-template-columns:150px 1fr 210px;align-items:center;gap:28px;direction:rtl}
.gfs-footer-gfs-logo{display:flex;justify-content:flex-start;align-items:center}
.gfs-footer-gfs-logo img{width:100px;max-height:60px;object-fit:contain}
.gfs-footer-nav{min-width:0}
.gfs-footer-menu,.gfs-footer-nav .gfs-fallback-menu{display:flex!important;flex-wrap:wrap;justify-content:center;gap:6px 20px;list-style:none;padding:0;margin:0}
.gfs-footer-menu li,.gfs-footer-nav .gfs-fallback-menu li{margin:0;padding:0}
.gfs-footer-menu a,.gfs-footer-nav .gfs-fallback-menu a{font-size:12px!important;line-height:1.4!important;font-weight:700!important;padding:3px 0!important;text-shadow:none!important;white-space:nowrap;color:#fff!important;transform:none!important}
.gfs-footer-golrang{display:flex;align-items:center;justify-content:flex-end}
.gfs-footer-golrang img{width:190px;max-height:50px;object-fit:contain}
.gfs-footer-bottom{min-height:34px;background:#15003b;display:flex;align-items:center;text-align:center;font-size:10px;color:rgba(255,255,255,.88);padding:8px 0}
.gfs-footer-bottom a{text-decoration:underline!important}

/* ---------------- Generic/plugin pages ---------------- */
.gfs-page-main,.gfs-single-main,.gfs-archive-main,.gfs-generic-main{padding-top:calc(var(--gfs-header-h) + 0px);padding-bottom:90px;min-height:100vh;background:linear-gradient(180deg,#2a0066,#230054)}
.gfs-plugin-page{padding:20px 0 70px}
.gfs-profile-page{padding:0}
.gfs-content-shell{max-width:1100px}
.gfs-entry{color:#fff}
.gfs-page-title{margin:40px 0 0;color:#fff;font-size:clamp(30px,4vw,48px);line-height:1.35;font-weight:700}
.gfs-entry-content{color:rgba(255,255,255,.92);line-height:2}
.gfs-entry-content a{text-decoration:underline;text-underline-offset:3px}
.gfs-entry-content img{border-radius:14px}
.gfs-entry-content input:not([type="checkbox"]):not([type="radio"]),.gfs-entry-content textarea,.gfs-entry-content select{max-width:100%;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.08);color:#fff;border-radius:10px;padding:10px 12px}
.gfs-entry-content button,.gfs-entry-content input[type="submit"]{background:#ffc107;color:#2b1249;border-radius:10px;padding:10px 20px;cursor:pointer;font-weight:800}
.gfs-single-header{margin-bottom:25px}
.gfs-single-header time{opacity:.65;font-size:13px}
.gfs-single-cover{margin:0 0 30px;border-radius:22px;overflow:hidden;max-height:540px}
.gfs-single-cover img{width:100%;height:100%;object-fit:cover;display:block}
.gfs-archive-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}
.gfs-error-page{padding-top:calc(var(--gfs-header-h) + 130px);min-height:75vh;text-align:center}
.gfs-error-card{display:grid;justify-items:center;gap:10px}
.gfs-error-card>span{font:900 clamp(90px,15vw,190px)/1 Arial,sans-serif;opacity:.22}
.gfs-error-card h1{margin:0;font-size:36px}
.gfs-error-card p{opacity:.75;margin:0 0 18px}

/* Game launchers should not inherit article widths. */
.gfs-entry-content .gigen-game-launcher{width:100%;height:100vh!important;display:flex;justify-content:center;background:#080014}
.gfs-entry-content .gigen-game-launcher iframe{display:block;width:100%!important;max-width:430px!important;height:100vh!important;border:0;margin:0 auto}

@media (max-width:1200px){
  :root{--gfs-shell:1020px}
  .gfs-header-inner{grid-template-columns:104px 220px 220px 1fr;gap:12px;padding-inline:14px}
  .gfs-header-user{gap:16px}
  .gfs-user-progress-group{width:150px}
  .gfs-user-name{min-width:100px;font-size:13px}
  .gfs-domain-tabs{gap:15px}
}

@media (max-width:1024px){
  .gfs-header-inner{grid-template-columns:112px 1fr 112px;gap:12px}
  .gfs-header-actions{grid-column:1;grid-row:1}
  .gfs-header-logo{grid-column:2;grid-row:1}
  .gfs-header-stats,.gfs-header-user{display:none}
  .gfs-mobile-stats-button{grid-column:3;grid-row:1;display:grid;place-items:center;justify-self:end;width:48px;height:42px;border-radius:10px;background:rgba(255,255,255,.08);color:#fff;letter-spacing:2px;cursor:pointer}
  .gfs-mobile-user-panel{display:block}
  .gfs-header-logo img{width:220px}
  .gfs-domain-tabs{grid-template-columns:repeat(5,minmax(145px,1fr));overflow-x:auto;padding:22px 4px 20px;margin-top:-22px;scroll-snap-type:x proximity;scrollbar-width:none}
  .gfs-domain-tabs::-webkit-scrollbar{display:none}
  .gfs-domain-tab{scroll-snap-align:start}
  .gfs-news-grid{grid-template-columns:repeat(2,1fr);gap:34px}
  .gfs-footer-grid{grid-template-columns:120px 1fr 170px}
  .gfs-archive-grid{grid-template-columns:repeat(2,1fr)}
}

@media (max-width:782px){
  .admin-bar .gfs-site-header{top:46px}
}

@media (max-width:767px){
  :root{--gfs-header-h:62px}
  .gfs-shell{width:min(100% - 28px,var(--gfs-shell))}
  .gfs-header-inner{grid-template-columns:86px 1fr 54px;padding-inline:10px}
  .gfs-header-actions{gap:6px}
  .gfs-header-icon-button{width:39px;height:38px}
  .gfs-header-logo img{width:min(190px,52vw);max-height:48px}
  .gfs-mobile-stats-button{width:40px;height:38px;font-size:12px}
  .gfs-mobile-user-panel{top:var(--gfs-header-h);width:min(430px,96vw);padding:20px 12px 24px}
  .admin-bar .gfs-mobile-user-panel{top:calc(var(--gfs-header-h) + 0)}
  .gfs-hero{min-height:calc(100svh - var(--gfs-header-h))}
  .gfs-hero-content{padding:48px 0 54px;transform:none}
  .gfs-hero-logo{width:330px;margin-bottom:18px}
  .gfs-hero h1{font-size:29px;max-width:340px}
  .gfs-hero p{font-size:13px;margin:20px 0 24px;max-width:340px}
  .gfs-games-section{padding:84px 0 60px;min-height:auto}
  .gfs-games-section.is-page{padding-top:98px}
  .gfs-section-title{font-size:27px;margin-bottom:22px}
  .gfs-domain-tabs{grid-template-columns:repeat(5,142px);gap:12px;margin-inline:-14px;padding-inline:14px}
  .gfs-domain-tab{min-height:138px;border-radius:20px;padding:12px 8px}
  .gfs-domain-tab__icon svg{width:54px;height:54px}
  .gfs-domain-tab__fa{font-size:13px}
  .gfs-domain-tab__en{font-size:10px}
  .gfs-game-cards{justify-content:center}
  .gfs-game-card{width:min(100%,350px)}
  .gfs-academy-section{padding:62px 0 36px}
  .gfs-academy-section.is-page{padding-top:98px}
  .gfs-academy-content .gmb-course-grid{grid-template-columns:minmax(0,310px)!important;width:100%!important}
  .gfs-academy-content .gmb-course-card{width:100%!important}
  .gfs-leaderboard-section{padding:8px 0 60px}
  .gfs-leaderboard-card{padding:12px 8px 15px;border-radius:15px}
  .gfs-leaderboard-card .gigen-leaderboard-meta{padding-inline:8px!important}
  .gfs-leaderboard-card .gigen-lb-tabs{justify-content:center!important}
  .gfs-leaderboard-card .gigen-leaderboard th,.gfs-leaderboard-card .gigen-leaderboard td{font-size:11px!important;padding:8px!important}
  .gfs-about-home{min-height:520px}
  .gfs-about-home__content{padding:60px 0}
  .gfs-about-home h2{font-size:28px}
  .gfs-about-home p{font-size:13px;line-height:2}
  .gfs-news-section{padding:72px 0 72px}
  .gfs-news-grid{grid-template-columns:1fr;gap:34px}
  .gfs-news-card{width:min(100%,390px);margin:auto}
  .gfs-news-card h3{min-height:0}
  .gfs-footer-main{padding:24px 0}
  .gfs-footer-grid{grid-template-columns:1fr;gap:18px;text-align:center}
  .gfs-footer-gfs-logo,.gfs-footer-golrang{justify-content:center}
  .gfs-footer-gfs-logo img{width:90px}
  .gfs-footer-golrang img{width:165px}
  .gfs-footer-menu,.gfs-footer-nav .gfs-fallback-menu{gap:8px 14px!important}
  .gfs-footer-bottom{font-size:9px}
  .gfs-menu-nav{right:28px;width:calc(100vw - 56px)}
  .gfs-overlay-menu a,.gfs-fallback-menu a{font-size:24px;line-height:1.6}
  .gfs-page-main,.gfs-single-main,.gfs-archive-main,.gfs-generic-main{/* padding-top:calc(var(--gfs-header-h) + 55px);*/padding-bottom:60px}
  .gfs-page-title{font-size:32px;margin-bottom:22px}
  .gfs-archive-grid{grid-template-columns:1fr}
  .gfs-entry-content .gigen-game-launcher iframe{max-width:100%!important;height:88svh!important}
  .gfs-entry-content .gigen-game-launcher{height:88svh!important}
  .gigen-wrap , .gigen-dashboard-box{padding: 5px;}
  .gfs-theme .gigen-dashboard-box.gigen-edit-profile-box{margin: 0;}
}

/* One-time user guide */
.gfs-tour{position:fixed;inset:0;z-index:100500;direction:rtl}
.gfs-tour__veil{position:absolute;inset:0;background:rgba(5,0,18,.68);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
.gfs-tour__card{position:fixed;z-index:2;width:min(390px,calc(100vw - 28px));padding:22px;border:1px solid rgba(255,255,255,.24);border-radius:20px;background:#351069;color:#fff;box-shadow:0 24px 80px rgba(0,0,0,.48);outline:0;transition:top .2s ease,left .2s ease}
.gfs-tour__card h2{margin:6px 0 8px;font-size:22px;color:#fff}
.gfs-tour__card p{margin:0;color:#e7dcff;line-height:1.9;font-size:14px}
.gfs-tour__counter{color:#65dfff;font-size:12px;font-weight:800}
.gfs-tour__actions{display:flex;align-items:center;gap:8px;margin-top:18px}
.gfs-tour__actions button{border:1px solid rgba(255,255,255,.22);border-radius:10px;background:rgba(255,255,255,.1);color:#fff;padding:9px 14px;font:inherit;cursor:pointer}
.gfs-tour__actions .gfs-tour__stop{margin-left:auto;color:#ffd3d3}
.gfs-tour__actions .gfs-tour__next{background:#ffcf38;color:#2b0a51;border-color:#ffcf38;font-weight:900}
.gfs-tour-focus{position:relative!important;z-index:100501!important;outline:4px solid #ffcf38!important;outline-offset:6px!important;border-radius:12px!important}
body.gfs-tour-open{overflow:hidden!important}

@media (max-width:480px){
  .gfs-header-inner{grid-template-columns:82px 1fr 44px;gap:6px;padding-inline:8px}
  .gfs-header-logo img{width:160px}
  .gfs-hero h1{font-size:26px}
  .gfs-hero-logo{width:195px}
  .gfs-about-home{min-height:560px}
  .gfs-news-card__image{aspect-ratio:1.45/1}
  .gfs-mobile-streak-slot .gigen-streak-box{padding-inline:8px!important}
  .gfs-mobile-streak-slot .gigen-streak-box__days{gap:2px}
  .gfs-mobile-streak-slot .gigen-streak-box__circle{width:28px;height:28px}
  .gfs-mobile-streak-slot .gigen-streak-box__day.is-frozen .gigen-streak-box__circle{width:31px}
  .gfs-mobile-streak-slot .gigen-streak-box__label{font-size:12px}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
}

/* Full-page components already own their top spacing; avoid double header gaps. */
.gfs-page-main.gfs-page-kind-games,
.gfs-page-main.gfs-page-kind-academy,
.gfs-page-main.gfs-page-kind-profile{padding-top:0;padding-bottom:0}


/* ---------------- 2026-08-17 requested visual polish ---------------- */
.gfs-site-header{
  background:rgba(24,0,62,.68);
  border-bottom:1px solid rgba(255,255,255,.09);
  box-shadow:0 10px 36px rgba(12,0,35,.22);
  backdrop-filter:blur(28px) saturate(155%);
  -webkit-backdrop-filter:blur(28px) saturate(155%);
}
.gfs-section{scroll-margin-top:var(--gfs-header-h)}

/* Hero video fade and animated CTA */
.gfs-hero-content{position:relative;z-index:2}
.gfs-hero::after{
  content:"";
  position:absolute;
  z-index:1;
  right:0;
  bottom:0;
  left:0;
  height:34%;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(42,0,102,0) 0%,rgba(42,0,102,.34) 42%,#2a0066 100%);
}
.gfs-hero-scroll-cue{
  position:absolute;
  z-index:3;
  bottom:18px;
  left:50%;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:2px;
  color:rgba(255,255,255,.9)!important;
  font-size:11px;
  font-weight:700;
  letter-spacing:-.01em;
  text-decoration:none!important;
  text-shadow:0 3px 14px rgba(13,0,38,.7);
  transform:translateX(-50%);
}
.gfs-hero-scroll-cue svg{
  width:29px;
  height:29px;
  color:#ffe45a;
  filter:drop-shadow(0 5px 10px rgba(18,0,52,.6));
  animation:gfsScrollCue 1.65s ease-in-out infinite;
}
.gfs-hero-scroll-cue:hover,.gfs-hero-scroll-cue:focus-visible{color:#fff!important;outline:none}
.gfs-hero-scroll-cue:focus-visible{filter:drop-shadow(0 0 8px rgba(255,228,90,.9))}
@keyframes gfsScrollCue{0%,100%{transform:translateY(0);opacity:.72}50%{transform:translateY(7px);opacity:1}}
.gfs-primary-cta{position:relative;isolation:isolate;overflow:hidden}
.gfs-primary-cta::after{
  content:"";
  position:absolute;
  z-index:-1;
  width:12px;
  height:12px;
  border-radius:50%;
  background:rgba(255,255,255,.9);
  opacity:0;
  transform:scale(0);
}
.gfs-primary-cta.is-activating{animation:gfsCtaPress .72s cubic-bezier(.2,.8,.25,1)}
.gfs-primary-cta.is-activating::after{animation:gfsCtaRipple .72s ease-out}
@keyframes gfsCtaPress{0%,100%{transform:none}38%{transform:translateY(2px) scale(.94)}70%{transform:translateY(-3px) scale(1.04)}}
@keyframes gfsCtaRipple{0%{opacity:.8;transform:scale(0)}100%{opacity:0;transform:scale(18)}}

/* Modern game cards shared by homepage and games page */
.gfs-games-section{position:relative}
.gfs-games-shell{max-width:var(--gfs-shell)}
.gfs-game-panels--all{padding-top:8px}
.gfs-game-cards{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
  align-items:stretch;
  direction:rtl;
}
.gfs-game-card{width:auto;max-width:none;min-width:0;margin:0}
.gfs-game-card__link{
  position:relative;
  display:flex;
  flex-direction:column;
  min-height:318px;
  height:100%;
  overflow:hidden;
  border:1px solid transparent;
  border-radius:22px;
  background:
    linear-gradient(150deg,rgba(72,16,134,.97),rgba(28,3,75,.98)) padding-box,
    linear-gradient(125deg,#ff45d7 0%,#8a5cff 28%,#30d6ff 62%,#ffe45b 100%) border-box;
  box-shadow:0 22px 55px rgba(10,0,36,.42),0 0 32px rgba(85,55,255,.16);
  color:#fff!important;
  transform:translateZ(0);
  transition:transform .32s cubic-bezier(.2,.8,.2,1),box-shadow .32s ease,filter .32s ease;
}
.gfs-game-card__link::after{
  content:"";
  position:absolute;
  z-index:0;
  width:170px;
  height:170px;
  left:-72px;
  bottom:-92px;
  border-radius:50%;
  background:rgba(32,216,255,.24);
  filter:blur(34px);
  pointer-events:none;
}
.gfs-game-card__link:hover,.gfs-game-card__link:focus-visible{
  transform:translateY(-8px);
  box-shadow:0 30px 70px rgba(10,0,36,.55),0 0 42px rgba(63,205,255,.24);
  outline:none;
}
.gfs-game-card__media{
  position:relative;
  z-index:1;
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:16/9;
  padding:0;
  overflow:hidden;
  background:linear-gradient(135deg,#32116f,#0d8cc4);
}
.gfs-game-card__media::after{
  content:"";
  position:absolute;
  inset:auto 0 0;
  height:48%;
  background:linear-gradient(180deg,transparent,rgba(28,3,75,.88));
  pointer-events:none;
}
.gfs-game-card__media img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  border-radius:0;
  transition:transform .5s cubic-bezier(.2,.8,.2,1),filter .4s ease;
}
.gfs-game-card__link:hover .gfs-game-card__media img{transform:scale(1.065);filter:saturate(1.12)}
.gfs-game-card__placeholder{
  width:100%;
  height:100%;
  display:grid;
  place-items:center;
  color:rgba(255,255,255,.7);
  font:900 34px Arial,sans-serif;
  letter-spacing:.12em;
}
.gfs-game-card__content{
  position:relative;
  z-index:1;
  flex:1;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:12px;
  min-width:0;
  padding:18px 19px 19px;
  text-align:right;
}
.gfs-game-card__eyebrow{display:flex;align-items:center;justify-content:space-between;gap:10px}
.gfs-game-card__domain{
  display:inline-flex;
  align-items:center;
  width:max-content;
  min-height:26px;
  padding:4px 10px;
  border:1px solid rgba(80,221,255,.42);
  border-radius:999px;
  background:rgba(17,188,235,.13);
  color:#aeefff;
  font-size:11px;
  font-weight:800;
}
.gfs-game-card__age{color:rgba(255,255,255,.62);font-size:10px;font-weight:600}
.gfs-game-card__content strong{
  display:block;
  overflow:hidden;
  color:#fff;
  font-size:18px;
  font-weight:900;
  line-height:1.55;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.gfs-game-card__action{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:auto;
  color:#ffe45a;
  font-size:12px;
  font-weight:800;
}
.gfs-game-card__action i{
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:rgba(255,255,255,.1);
  color:#fff;
  font-style:normal;
  transition:transform .25s ease,background .25s ease;
}
.gfs-game-card__link:hover .gfs-game-card__action i{transform:translateX(-4px);background:rgba(48,214,255,.22)}
.gfs-game-card__stars,.gfs-game-card__more{display:none!important}

/* Games that are portrait-only remain usable when a phone is rotated. */
.gigen-game-orientation-notice{
  position:absolute;
  z-index:60;
  inset:0;
  box-sizing:border-box;
  display:grid;
  place-items:center;
  padding:max(24px,env(safe-area-inset-top)) max(24px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left));
  background:radial-gradient(circle at 50% 20%,rgba(112,55,210,.5),transparent 42%),rgba(13,2,34,.96);
  color:#fff;
  font-family:Tahoma,Arial,sans-serif;
  text-align:center;
}
.gigen-game-orientation-notice[hidden]{display:none!important}
.gigen-game-orientation-notice__card{width:min(430px,100%);margin:auto}
.gigen-game-orientation-notice__icon{
  width:62px;
  height:62px;
  display:grid;
  place-items:center;
  margin:0 auto 13px;
  border:1px solid rgba(255,228,90,.45);
  border-radius:20px;
  background:rgba(255,228,90,.12);
  color:#ffe45a;
  line-height:1;
  animation:gfsPortraitHint 1.8s ease-in-out infinite;
}
.gigen-game-orientation-notice__icon svg{width:35px;height:35px}
.gigen-game-orientation-notice strong{display:block;font-size:clamp(18px,3.2vw,24px);line-height:1.7}
.gigen-game-orientation-notice p{max-width:390px;margin:7px auto 0;color:rgba(255,255,255,.78);font-size:13px;line-height:1.9}
.gigen-game-launcher.is-orientation-blocked iframe{pointer-events:none;opacity:.2;filter:blur(7px)}
@keyframes gfsPortraitHint{0%,100%{transform:rotate(0)}50%{transform:rotate(-90deg)}}

/* Academy cards begin at the right edge when there are only a few. */
.gfs-academy-shell{max-width:var(--gfs-shell)}
.gfs-academy-content{display:block;direction:rtl}
.gfs-academy-content .gmb-course-grid{
  width:100%!important;
  grid-template-columns:repeat(auto-fit,232px)!important;
  justify-content:start!important;
  direction:rtl!important;
}

/* Blend the user's About background image into the page color. */
.gfs-about-home{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background-position:center;
  background-repeat:no-repeat;
}
.gfs-about-home::before{
  content:"";
  position:absolute;
  z-index:0;
  inset:-1px;
  pointer-events:none;
  background:
    linear-gradient(180deg,#2a0066 0%,rgba(42,0,102,.78) 9%,rgba(42,0,102,0) 29%,rgba(42,0,102,0) 70%,rgba(42,0,102,.8) 91%,#2a0066 100%),
    linear-gradient(90deg,rgba(42,0,102,.36),rgba(42,0,102,.04) 50%,rgba(42,0,102,.36));
}
.gfs-about-home__glow{z-index:1}
.gfs-about-home__content{position:relative;z-index:2}

/* News images are true cover backgrounds. */
.gfs-news-card__image{
  position:relative;
  isolation:isolate;
  background-color:rgba(255,255,255,.07);
  background-position:center;
  background-repeat:no-repeat;
  background-size:cover;
  box-shadow:0 15px 36px rgba(14,0,45,.22);
  transition:transform .32s ease,box-shadow .32s ease,filter .32s ease;
}
.gfs-news-card__image-shade{
  position:absolute;
  z-index:1;
  inset:0;
  background:linear-gradient(180deg,transparent 45%,rgba(25,0,66,.58));
  opacity:.8;
  transition:opacity .3s ease;
}
.gfs-news-card:hover .gfs-news-card__image{
  transform:translateY(-5px);
  filter:saturate(1.1);
  box-shadow:0 22px 48px rgba(14,0,45,.36);
}
.gfs-news-card:hover .gfs-news-card__image-shade{opacity:.48}

/* Rich single article/game presentation. */
.gfs-single-main{padding-top:calc(var(--gfs-header-h) + 46px)}
.gfs-single-main .gfs-content-shell{max-width:1180px}
.gfs-single-entry{position:relative}
.gfs-single-hero{
  position:relative;
  isolation:isolate;
  min-height:clamp(350px,48vw,650px);
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.13);
  border-radius:28px;
  background:radial-gradient(circle at 50% 20%,#6330ad,#230056 68%);
  background-position:center;
  background-repeat:no-repeat;
  background-size:cover;
  box-shadow:0 34px 90px rgba(8,0,30,.5);
}
.gfs-single-hero__shade{
  position:absolute;
  z-index:-1;
  inset:0;
  background:
    linear-gradient(180deg,rgba(15,0,42,.08) 0%,rgba(25,0,65,.28) 44%,rgba(26,0,66,.96) 100%),
    linear-gradient(90deg,rgba(17,0,52,.5),transparent 58%);
}
.gfs-single-hero__content{width:min(900px,100%);padding:clamp(30px,5vw,62px);text-align:right}
.gfs-single-kicker{
  display:inline-flex;
  min-height:28px;
  align-items:center;
  margin-bottom:14px;
  padding:4px 13px;
  border:1px solid rgba(83,222,255,.46);
  border-radius:999px;
  background:rgba(14,175,224,.16);
  color:#baf3ff;
  font-size:12px;
  font-weight:800;
}
.gfs-single-hero .gfs-page-title{
  max-width:900px;
  margin:0 0 12px;
  color:#fff;
  font-size:clamp(32px,4.6vw,40px);
  text-shadow:0 8px 34px rgba(0,0,0,.48);
}
.gfs-single-hero time{color:rgba(255,255,255,.72);font-size:13px}
.gfs-single-cover{display:none!important}
.gfs-single-body{
  position:relative;
  z-index:3;
  width:min(930px,calc(100% - 48px));
  margin:-58px auto 0;
  padding:clamp(26px,4vw,46px);
  border:1px solid rgba(255,255,255,.17);
  border-radius:24px;
  background:linear-gradient(145deg,rgba(102,57,157,.88),rgba(57,24,109,.9));
  box-shadow:0 30px 80px rgba(8,0,30,.42),inset 0 1px 0 rgba(255,255,255,.1);
  backdrop-filter:blur(22px);
  -webkit-backdrop-filter:blur(22px);
}
.gfs-single-body .gfs-entry-content{font-size:15px;line-height:2.15}
.gfs-game-launch-button{
  position:relative;
  isolation:isolate;
  width:max-content;
  min-width:210px;
  min-height:54px;
  margin:34px auto 0;
  padding:10px 16px 10px 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  overflow:hidden;
  border:1px solid rgba(255,234,76,.7);
  border-radius:16px;
  background:linear-gradient(115deg,#ffe01f,#ffb300 58%,#ff7a00);
  box-shadow:0 14px 38px rgba(255,174,0,.26),0 0 28px rgba(255,225,34,.13);
  color:#2b1249!important;
  font-size:16px;
  font-weight:900;
  text-decoration:none!important;
  transition:transform .28s cubic-bezier(.2,.8,.2,1),box-shadow .28s ease;
}
.gfs-game-launch-button::before{
  content:"";
  position:absolute;
  z-index:-1;
  top:-50%;
  bottom:-50%;
  left:-45%;
  width:30%;
  background:rgba(255,255,255,.72);
  filter:blur(8px);
  transform:skewX(-22deg);
  animation:gfsLaunchSheen 2.8s ease-in-out infinite;
}
.gfs-game-launch-button__glow{
  position:absolute;
  z-index:-2;
  inset:12px;
  border-radius:inherit;
  background:#ffe925;
  filter:blur(24px);
  opacity:.45;
  animation:gfsLaunchGlow 1.7s ease-in-out infinite alternate;
}
.gfs-game-launch-button i{
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  border-radius:10px;
  background:rgba(43,18,73,.12);
  font-style:normal;
  transition:transform .25s ease;
}
.gfs-game-launch-button:hover,.gfs-game-launch-button:focus-visible{
  transform:translateY(-5px) scale(1.025);
  box-shadow:0 22px 48px rgba(255,174,0,.36),0 0 38px rgba(255,225,34,.2);
  outline:2px solid rgba(255,255,255,.72);
  outline-offset:3px;
}
.gfs-game-launch-button:hover i{transform:translateX(-5px)}
@keyframes gfsLaunchSheen{0%,45%{left:-45%;opacity:0}58%{opacity:.85}78%,100%{left:120%;opacity:0}}
@keyframes gfsLaunchGlow{from{opacity:.28;transform:scale(.92)}to{opacity:.58;transform:scale(1.08)}}

.gfs-game-carousel-controls{display:none}

@media (max-width:1024px){
  .gfs-game-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:767px){
  .gfs-hero-scroll-cue{bottom:12px;font-size:10px}
  .gfs-hero-scroll-cue svg{width:25px;height:25px}
  .gfs-game-cards{
    display:flex;
    grid-template-columns:none;
    gap:12px;
    overflow-x:auto;
    overflow-y:hidden;
    scroll-snap-type:x mandatory;
    scroll-behavior:smooth;
    overscroll-behavior-inline:contain;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    touch-action:pan-x pan-y;
  }
  .gfs-game-cards::-webkit-scrollbar{display:none}
  .gfs-game-card{flex:0 0 100%;width:100%;max-width:100%;margin:0;scroll-snap-align:center;scroll-snap-stop:always}
  .gfs-game-carousel-controls{display:flex;align-items:center;justify-content:center;gap:12px;margin:14px 0 2px;direction:rtl}
  .gfs-game-carousel-arrow{width:34px;height:34px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.22);border-radius:50%;background:rgba(255,255,255,.08);color:#fff;font:800 16px/1 Arial,sans-serif;cursor:pointer}
  .gfs-game-carousel-arrow:disabled{opacity:.32;cursor:default}
  .gfs-game-carousel-dots{display:flex;align-items:center;justify-content:center;gap:7px;min-width:70px}
  .gfs-game-carousel-dot{width:7px;height:7px;padding:0;border:0;border-radius:999px;background:rgba(255,255,255,.34);cursor:pointer;transition:width .2s ease,background .2s ease}
  .gfs-game-carousel-dot.is-active{width:22px;background:#ffc107}
  .gfs-game-card__link{min-height:226px;border-radius:15px}
  .gfs-game-card__content{gap:8px;padding:11px 10px 12px}
  .gfs-game-card__eyebrow{gap:5px}
  .gfs-game-card__domain{min-height:22px;padding:3px 7px;font-size:9px}
  .gfs-game-card__age{display:none}
  .gfs-game-card__content strong{display:-webkit-box;font-size:13px;line-height:1.55;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}
  .gfs-game-card__action{gap:6px;font-size:10px}
  .gfs-game-card__action i{width:24px;height:24px}
  .gfs-academy-content .gmb-course-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
    justify-content:stretch!important;
  }
  .gfs-academy-content .gmb-course-card{width:100%!important;min-height:240px!important;border-radius:14px!important}
  .gfs-academy-content .gmb-course-card__media{height:92px!important}
  .gfs-academy-content .gmb-course-card__badges{top:6px;right:6px;left:6px;gap:4px}
  .gfs-academy-content .gmb-course-card__age,.gfs-academy-content .gmb-course-card__topic{min-height:22px;padding:3px 7px;font-size:9px}
  .gfs-academy-content .gmb-course-card__body{min-height:138px!important;padding:10px!important}
  .gfs-academy-content .gmb-course-card h3{margin-bottom:8px!important;font-size:12px!important;line-height:1.55!important}
  .gfs-academy-content .gmb-course-card__summary{display:none}
  .gfs-academy-content .gmb-activity-count{margin-top:6px;font-size:10px}
  .gfs-academy-content .gmb-course-card__button{min-height:34px;margin-top:9px;padding:7px 8px;font-size:10px}
  .gfs-single-main{padding-top:calc(var(--gfs-header-h) + 22px)}
  .gfs-single-hero{min-height:410px;border-radius:20px}
  .gfs-single-hero__content{padding:28px 22px 72px}
  .gfs-single-hero .gfs-page-title{font-size:34px}
  .gfs-single-body{width:calc(100% - 24px);margin-top:-52px;padding:25px 20px;border-radius:20px}
  .gfs-game-launch-button{width:100%;min-width:0}
}

/* Parent accounts use a report-only header: menu, centered logo, no game stats. */
body.gfs-parent-account .gfs-header-inner{
  grid-template-columns:1fr auto 1fr;
  grid-auto-flow:row;
}
body.gfs-parent-account .gfs-header-actions{grid-column:1;grid-row:1;justify-self:start}
body.gfs-parent-account .gfs-header-logo{grid-column:2;grid-row:1}
.gfs-header-parent-spacer{grid-column:3;grid-row:1;display:block;width:48px;height:1px;justify-self:end}
@media (max-width:767px){
  .gfs-header-parent-spacer{width:39px}
}

@media (prefers-reduced-motion:reduce){
  .gfs-hero-scroll-cue svg,.gigen-game-orientation-notice__icon{animation:none}
}

/* ---------------- Academy filters ---------------- */
.gfs-academy-filters{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:center;gap:12px;margin:0 auto 26px;direction:rtl}
.gfs-academy-filters[hidden]{display:none!important}
.gfs-academy-filter{display:grid;gap:7px;min-width:210px;color:#fff;font-size:12px;font-weight:800;text-align:right}
.gfs-academy-filter select{width:100%;min-height:44px;padding:0 14px;border:1px solid rgba(255,255,255,.24);border-radius:12px;background:#42107f;color:#fff;font:700 13px 'Yekan Bakh Fa',sans-serif;outline:none;cursor:pointer}
.gfs-academy-filter select:focus{border-color:#28c7ff;box-shadow:0 0 0 3px rgba(40,199,255,.16)}
.gfs-academy-filter option{background:#fff;color:#242424}
.gfs-academy-filter-reset{min-height:44px;padding:0 18px;border:1px solid rgba(255,255,255,.22);border-radius:12px;background:rgba(255,255,255,.08);color:#fff;font:800 12px 'Yekan Bakh Fa',sans-serif;cursor:pointer}
.gfs-academy-filter-reset:hover{background:rgba(255,255,255,.14)}
.gfs-academy-filter-reset[hidden]{display:none!important}
.gfs-academy-filter-count{min-height:44px;display:flex;align-items:center;color:#d9c9f7;font-size:11px;font-weight:700}
.gfs-academy-no-results{width:100%;max-width:520px;margin:8px auto 0;padding:18px 20px;border:1px dashed rgba(255,255,255,.24);border-radius:16px;color:#fff;text-align:center;background:rgba(255,255,255,.05)}
.gfs-academy-content [hidden]{display:none!important}
.gfs-academy-content .gfsa-course-list{transition:opacity .18s ease}
.gfs-academy-content .gfsa-course-list.is-loading{opacity:.48;pointer-events:none}
.gfs-academy-content .gfsa-catalog-empty{grid-column:1/-1;width:100%;max-width:520px;margin:8px auto}
@media (max-width:680px){
  .gfs-academy-filters{align-items:stretch;justify-content:stretch}
  .gfs-academy-filter{min-width:0;flex:1 1 100%}
  .gfs-academy-filter-reset{flex:1 1 auto}
  .gfs-academy-filter-count{min-height:auto;flex:1 1 100%;justify-content:center}
}



.contact-page {display: flex; justify-content: space-between;}
.contact-page-cform { width: 70%;}

@media (max-width: 980px) {
.contact-page {display: flex; justify-content: space-between; flex-direction: column;}
.contact-page-cform { width: 100%;}
}

/* ==========================================================================
   2026-09-22 Academy layout hardening / compact course UI
   ========================================================================== */

/* Homepage/catalog: remove the large decorative box around the academy carousel. */
.gfs-academy-content .gfsa-course-list{
  width:100%;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

/* Cross-browser guard: never let Splide inherit a pathological 1000px/2000px height. */
.gfs-academy-content .gfsa-splide,
.gfs-academy-content .gfsa-splide .splide__track,
.gfs-academy-content .gfsa-splide .splide__list,
.gfs-academy-content .gfsa-splide .gfsa-carousel-track{
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
}
.gfs-academy-content .gfsa-splide .splide__list,
.gfs-academy-content .gfsa-splide .gfsa-carousel-track{
  align-items:flex-start!important;
}
.gfs-academy-content .gfsa-splide .gfsa-course-card{
  height:auto!important;
  min-height: 500px !important;
  align-self:flex-start!important;
  padding:15px!important;
}
.gfs-academy-content .gfsa-splide .gfsa-card-image,
.gfs-academy-content .gfsa-splide .gfsa-card-placeholder{
  margin-bottom:11px!important;
}
.gfs-academy-content .gfsa-carousel-actions{
  margin-top:12px!important;
}
.gfs-academy-section{
  padding-top:54px;
  padding-bottom:34px;
}
.gfs-academy-filters{
  margin-bottom:18px;
}

/* Internal course: keep the course shell clear of the fixed site header. */
body.single-gfsa_course .gfsa{
  margin-top:100px!important;
  padding:20px!important;
}
body.single-gfsa_course .gfsa-header{
  padding:4px 2px 16px!important;
}
body.single-gfsa_course .gfsa-layout{
  gap:14px!important;
}

/* The selected main wrapper was only visual chrome; content itself stays intact. */
body.single-gfsa_course .gfsa-main{
  min-width:0;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.single-gfsa_course .gfsa-sidebar{
  padding:14px!important;
}
body.single-gfsa_course .gfsa-outline{
  margin:14px 0!important;
}
body.single-gfsa_course .gfsa-outline-title{
  padding:13px 14px!important;
}
body.single-gfsa_course .gfsa-outline-chapter{
  padding:12px 14px!important;
}
body.single-gfsa_course .gfsa-outline-chapter ul{
  gap:6px!important;
}
body.single-gfsa_course .gfsa-outline-item a{
  padding:8px 10px!important;
}

@media (max-width:800px){
  .gfs-academy-section{
    padding-top:38px;
    padding-bottom:26px;
  }
  .gfs-academy-shell{
    padding-left:12px!important;
    padding-right:12px!important;
  }
  .gfs-academy-content .gfsa-splide .gfsa-course-card{
    padding:11px!important;
  }
  .gfs-academy-content .gfsa-splide .gfsa-card-image,
  .gfs-academy-content .gfsa-splide .gfsa-card-placeholder{
    margin-bottom:8px!important;
  }
  .gfs-academy-content .gfsa-carousel-actions{
    margin-top:8px!important;
  }

  /* Mobile course UX: main lesson/content first, learning path after it. */
  body.single-gfsa_course .gfsa{
    margin-top:100px!important;
    padding:10px!important;
  }
  body.single-gfsa_course .gfsa-header{
    padding:0 2px 10px!important;
  }
  body.single-gfsa_course .gfsa-layout{
    display:flex!important;
    flex-direction:column!important;
    gap:10px!important;
  }
  body.single-gfsa_course .gfsa-main{
    order:1;
  }
  body.single-gfsa_course .gfsa-sidebar{
    order:2;
    position:static!important;
    max-height:220px!important;
    margin-top:4px;
    padding:10px!important;
  }
  body.single-gfsa_course .gfsa-outline{
    margin:8px 0!important;
    border-radius:12px!important;
  }
  body.single-gfsa_course .gfsa-outline-title{
    padding:9px 10px!important;
    gap:6px!important;
  }
  body.single-gfsa_course .gfsa-outline-title h3{
    font-size:.98rem!important;
  }
  body.single-gfsa_course .gfsa-outline-chapter{
    padding:9px 10px!important;
  }
  body.single-gfsa_course .gfsa-outline-chapter h4{
    margin-bottom:7px!important;
    font-size:.9rem!important;
  }
  body.single-gfsa_course .gfsa-outline-item a{
    display:block!important;
    padding:7px 8px!important;
  }
  body.single-gfsa_course .gfsa-outline-main{
    display:flex!important;
    align-items:center!important;
    gap:6px!important;
    min-width:0;
  }
  body.single-gfsa_course .gfsa-outline-main > span:last-child{
    min-width:0;
    flex:1;
  }
  body.single-gfsa_course .gfsa-type-icon{
    width:22px!important;
    height:22px!important;
    min-width:22px!important;
    border-radius:6px!important;
    font-size:10px!important;
  }
  body.single-gfsa_course .gfsa-outline-main strong{
    display:block!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    font-size:.82rem!important;
    line-height:1.55!important;
  }
  body.single-gfsa_course .gfsa-outline-main small{
    margin-top:0!important;
    font-size:.66rem!important;
    line-height:1.4!important;
  }
  body.single-gfsa_course .gfsa-outline-meta{
    display:flex!important;
    justify-content:flex-start!important;
    gap:5px!important;
    margin-top:2px!important;
    margin-right:28px!important;
    font-size:.68rem!important;
    line-height:1.2!important;
  }
  body.single-gfsa_course .gfsa-done-mark{
    width:18px!important;
    height:18px!important;
  }
}


/* 2026-09-22: the rotate-phone gate is mobile/touch UX only.
   A laptop with a narrow browser window must never be blocked. */
@media (any-hover:hover) and (any-pointer:fine){
  .gigen-game-orientation-notice{
    display:none!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }
  .gigen-game-launcher.is-orientation-blocked iframe{
    display:block!important;
    visibility:visible!important;
    pointer-events:auto!important;
    opacity:1!important;
    filter:none!important;
  }
}

@media (max-width:767px){
  /* Homepage Academy: two full cards and a small peek of the next one. */
  body.gfs-home .gfs-academy-content .gfsa-splide .gfsa-course-card.splide__slide,
  body.home .gfs-academy-content .gfsa-splide .gfsa-course-card.splide__slide{
    width:44%!important;
    max-width:44%!important;
    flex:0 0 44%!important;
    min-width:0!important;
  }
}

/* 2026-09-22: homepage Academy mobile cards only.
   Deliberately scoped away from the internal Academy catalog/single course UI. */
@media (max-width:767px){
  body.home #academy.gfs-academy-section:not(.is-page) .gfsa-splide .gfsa-course-card.splide__slide,
  body.gfs-home #academy.gfs-academy-section:not(.is-page) .gfsa-splide .gfsa-course-card.splide__slide{
    height:300px!important;
    min-height:300px!important;
    max-height:300px!important;
    padding:9px!important;
    overflow:hidden!important;
  }

  /* Mobile homepage does not need the course excerpt. */
  body.home #academy.gfs-academy-section:not(.is-page) .gfsa-course-card > p,
  body.gfs-home #academy.gfs-academy-section:not(.is-page) .gfsa-course-card > p{
    display:none!important;
  }

  body.home #academy.gfs-academy-section:not(.is-page) .gfsa-course-card h3,
  body.home #academy.gfs-academy-section:not(.is-page) .gfsa-course-card h3 a,
  body.gfs-home #academy.gfs-academy-section:not(.is-page) .gfsa-course-card h3,
  body.gfs-home #academy.gfs-academy-section:not(.is-page) .gfsa-course-card h3 a{
    font-size:11px!important;
    line-height:1.55!important;
  }

  body.home #academy.gfs-academy-section:not(.is-page) .gfsa-course-card .gfsa-card-difficulty,
  body.gfs-home #academy.gfs-academy-section:not(.is-page) .gfsa-course-card .gfsa-card-difficulty{
    font-size:8px!important;
    line-height:1.45!important;
  }

  body.home #academy.gfs-academy-section:not(.is-page) .gfsa-card-image,
  body.home #academy.gfs-academy-section:not(.is-page) .gfsa-card-placeholder,
  body.gfs-home #academy.gfs-academy-section:not(.is-page) .gfsa-card-image,
  body.gfs-home #academy.gfs-academy-section:not(.is-page) .gfsa-card-placeholder{
    margin-bottom:6px!important;
    border-radius:9px!important;
  }

  body.home #academy.gfs-academy-section:not(.is-page) .gfsa-course-card .gfsa-button,
  body.gfs-home #academy.gfs-academy-section:not(.is-page) .gfsa-course-card .gfsa-button{
    min-height:30px!important;
    margin-top:auto!important;
    padding:6px 8px!important;
    font-size:9px!important;
  }
}

/* ==========================================================================
   2026-09-22 Homepage Academy mobile card correction
   Scoped ONLY to homepage academy carousel. Internal academy is untouched.
   ========================================================================== */
@media (max-width:767px){
  body.home #academy.gfs-academy-section:not(.is-page) .gfsa-splide .gfsa-course-card.splide__slide,
  body.gfs-home #academy.gfs-academy-section:not(.is-page) .gfsa-splide .gfsa-course-card.splide__slide{
    height:210px!important;
    min-height:210px!important;
    max-height:210px!important;
    padding:8px!important;
    overflow:hidden!important;
  }

  body.home #academy.gfs-academy-section:not(.is-page) .gfsa-course-card .gfsa-card-link,
  body.gfs-home #academy.gfs-academy-section:not(.is-page) .gfsa-course-card .gfsa-card-link{
    display:flex!important;
    flex-direction:column!important;
    height:100%!important;
    min-height:0!important;
    overflow:hidden!important;
  }

  /* The description is nested inside .gfsa-card-link, not directly under the card. */
  body.home #academy.gfs-academy-section:not(.is-page) .gfsa-course-card .gfsa-card-link > p,
  body.home #academy.gfs-academy-section:not(.is-page) .gfsa-course-card .gfsa-card-link p,
  body.gfs-home #academy.gfs-academy-section:not(.is-page) .gfsa-course-card .gfsa-card-link > p,
  body.gfs-home #academy.gfs-academy-section:not(.is-page) .gfsa-course-card .gfsa-card-link p{
    display:none!important;
    margin:0!important;
    padding:0!important;
  }

  body.home #academy.gfs-academy-section:not(.is-page) .gfsa-card-image,
  body.home #academy.gfs-academy-section:not(.is-page) .gfsa-card-placeholder,
  body.gfs-home #academy.gfs-academy-section:not(.is-page) .gfsa-card-image,
  body.gfs-home #academy.gfs-academy-section:not(.is-page) .gfsa-card-placeholder{
    height:68px!important;
    min-height:68px!important;
    max-height:68px!important;
    aspect-ratio:auto!important;
    object-fit:cover!important;
    margin-bottom:5px!important;
  }

  body.home #academy.gfs-academy-section:not(.is-page) .gfsa-course-card h3,
  body.gfs-home #academy.gfs-academy-section:not(.is-page) .gfsa-course-card h3{
    margin:5px 0 3px!important;
    font-size:11px!important;
    line-height:1.45!important;
    display:-webkit-box!important;
    -webkit-line-clamp:2!important;
    -webkit-box-orient:vertical!important;
    overflow:hidden!important;
  }

  body.home #academy.gfs-academy-section:not(.is-page) .gfsa-course-card .gfsa-card-difficulty,
  body.gfs-home #academy.gfs-academy-section:not(.is-page) .gfsa-course-card .gfsa-card-difficulty{
    font-size:8px!important;
    line-height:1.35!important;
    margin:0 0 2px!important;
  }

  body.home #academy.gfs-academy-section:not(.is-page) .gfsa-course-card .gfsa-button,
  body.gfs-home #academy.gfs-academy-section:not(.is-page) .gfsa-course-card .gfsa-button{
    margin-top:auto!important;
    min-height:27px!important;
    padding:5px 7px!important;
    font-size:8px!important;
    line-height:1.2!important;
  }
}

/* Guest login is always directly accessible from the site header. */
.gfs-header-login-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:68px;
  height:40px;
  padding:0 16px;
  border:1px solid rgba(255,227,40,.48);
  border-radius:11px;
  background:linear-gradient(135deg,rgba(255,195,18,.18),rgba(255,195,18,.08));
  color:#ffe45a!important;
  font-size:13px;
  font-weight:900;
  white-space:nowrap;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
  transition:transform .18s ease,background .18s ease,border-color .18s ease;
}
.gfs-header-login-cta:hover,.gfs-header-login-cta:focus-visible{
  transform:translateY(-1px);
  background:rgba(255,195,18,.22);
  border-color:rgba(255,228,90,.82);
  outline:none;
}
.gfs-menu-login{display:inline-flex!important;align-items:center;justify-content:center;margin-top:18px;padding:11px 24px;border:1px solid rgba(255,228,90,.55);border-radius:12px;color:#ffe45a!important;font-weight:900}
@media (max-width:1024px){
  .gfs-header-login-cta{min-width:58px;height:38px;padding:0 12px;font-size:12px}
}
@media (max-width:767px){
  .gfs-header-inner{grid-template-columns:94px 1fr 40px}
  .gfs-header-login-cta{min-width:46px;height:36px;padding:0 8px;border-radius:9px;font-size:11px}
}

/* Compact main navigation: keep items together and allow small screens to scroll. */
.gfs-menu-nav{max-height:calc(100dvh - 90px);overflow-y:auto;overflow-x:hidden}
.gfs-menu-nav .gfs-overlay-menu,.gfs-menu-nav .gfs-fallback-menu{display:block;gap:0}
.gfs-menu-nav li{margin:0!important;padding:0!important}
.gfs-menu-nav .gfs-overlay-menu a,.gfs-menu-nav .gfs-fallback-menu a{padding:0;font-size:26px;font-weight:500;line-height:1.6;min-height:42px;display:flex;align-items:center}
.gfs-menu-nav .gfs-menu-logout,.gfs-menu-nav .gfs-menu-login{margin-top:8px;font-size:15px;padding:6px 16px;min-height:36px}
.gfs-menu-nav .sub-menu{margin-top:0;margin-bottom:0}

/* News archive cards; homepage news and other archives keep their own layout. */
.gfs-game-description{margin-bottom:18px}
.gfs-game-description summary{list-style:none;cursor:pointer}
.gfs-game-description summary::-webkit-details-marker{display:none}
.gfs-game-description summary:focus-visible{outline:2px solid #ffe45a;outline-offset:5px;border-radius:8px}
.gfs-game-description__preview{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.9}
.gfs-game-description__more,.gfs-game-description__less{display:inline-block;color:#ffe45a;font-size:13px;font-weight:700;margin-top:8px}
.gfs-game-description__less,.gfs-game-description[open] .gfs-game-description__preview,.gfs-game-description[open] .gfs-game-description__more{display:none}
.gfs-game-description[open] .gfs-game-description__less{display:inline-block}
.gfs-news-archive .gfs-page-title{font-size:36px;margin-bottom:28px}
.gfs-news-archive .gfs-archive-grid{gap:24px;align-items:stretch}
.gfs-news-archive .gfs-news-card{display:flex;flex-direction:column;width:100%;margin:0;border:1px solid rgba(255,255,255,.09);border-radius:22px;overflow:hidden;background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.025));box-shadow:0 6px 18px rgba(8,0,28,.07);transition:transform .2s ease,border-color .2s ease}
.gfs-news-archive .gfs-news-card:hover{transform:translateY(-3px);border-color:rgba(255,228,90,.24)}
.gfs-news-archive .gfs-news-card__image{aspect-ratio:16/10;border-radius:0;flex-shrink:0;display:grid;place-items:center;background:linear-gradient(135deg,#422077,#23104e)}
.gfs-news-archive .gfs-news-card__image img{width:100%;height:100%;object-fit:cover}
.gfs-news-placeholder{font-size:56px;color:rgba(255,228,90,.6)}
.gfs-news-card__body{padding:20px;display:flex;flex-direction:column;flex:1;gap:12px}
.gfs-news-archive .gfs-news-card h2{font-size:17px;line-height:1.9;margin:0;min-height:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.gfs-news-archive .gfs-news-card p{font-size:13px;line-height:1.95;color:rgba(255,255,255,.7);margin:0 0 8px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.gfs-news-card__footer{margin-top:auto;padding-top:16px;border-top:1px solid rgba(255,255,255,.08);display:flex;align-items:center;justify-content:space-between;gap:10px}
.gfs-news-card__footer time{font-size:11px;color:rgba(255,255,255,.72);display:flex;flex-direction:column;gap:3px}
.gfs-news-card__footer time span{font-size:10px;color:rgba(255,255,255,.45)}
.gfs-news-read{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:9px 12px;border-radius:11px;background:rgba(255,228,90,.1);border:1px solid rgba(255,228,90,.15);color:#ffe45a!important;font-size:12px;font-weight:700}
.gfs-news-read:hover{background:rgba(255,228,90,.18)}
.gfs-news-archive .pagination{margin-top:32px;text-align:center}
.gfs-news-archive .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:38px;min-height:38px;padding:4px 10px;margin:3px;border-radius:10px;background:rgba(255,255,255,.06)}
.gfs-news-archive .page-numbers.current{background:#ffe45a;color:#23104e}
@media(max-width:767px){
 .gfs-menu-nav .gfs-overlay-menu a,.gfs-menu-nav .gfs-fallback-menu a{font-size:21px;line-height:1.65;min-height:36px}
 .gfs-news-archive .gfs-page-title{font-size:28px}
 .gfs-news-archive .gfs-archive-grid{gap:20px}
 .gfs-news-card__body{padding:18px}
}
