.theme-schools .accent-games { --page-accent: var(--ybag-gold); --page-accent-soft: color-mix(in srgb, var(--ybag-gold) 14%, var(--panel)); }
.games-page { --games-gold:#ffad00; --games-blue:#1268c4; --games-red:#d92046; --games-green:#62a916; --games-purple:#8246b4; --games-ink:#10245c; --games-muted:#586680; color:var(--games-ink); background:#fff; }
.games-frame { width:min(calc(100% - 48px),1320px); margin:0 auto; }
.games-hero { position:relative; isolation:isolate; overflow:hidden; background:radial-gradient(circle at 88% 18%,rgba(255,173,0,.19),transparent 27%),radial-gradient(circle at 97% 86%,rgba(98,169,22,.12),transparent 31%),linear-gradient(135deg,#fff 0 56%,#fff8e9 100%); }
.games-hero::before { position:absolute; z-index:-1; right:-220px; bottom:-310px; width:650px; height:650px; border:58px solid rgba(18,104,196,.05); border-radius:50%; content:''; }
.games-hero-grid { display:grid; min-height:560px; grid-template-columns:minmax(0,1.1fr) minmax(380px,.7fr); align-items:center; gap:clamp(55px,8vw,120px); padding:clamp(76px,9vw,126px) 0; }
.games-hero-copy h1 { max-width:840px; margin:19px 0 23px; color:var(--games-ink); font:900 clamp(48px,6vw,86px)/.96 'Changa',Arial,sans-serif; letter-spacing:-.045em; }.games-hero-copy h1 em { color:var(--games-gold); font-style:normal; }
.games-hero-copy>p:last-of-type { max-width:780px; margin:0; color:var(--games-muted); font-size:clamp(18px,1.45vw,22px); line-height:1.7; }
.games-hero-actions { display:flex; flex-wrap:wrap; align-items:center; gap:17px 25px; margin-top:33px; }.games-primary-button { color:#fff; background:var(--games-gold); box-shadow:0 13px 30px rgba(255,173,0,.25); }.games-primary-button:hover { color:#fff; background:#e49800; }.games-stage-link { color:var(--games-ink); font-weight:900; text-decoration:none; }.games-stage-link:hover { color:var(--games-green); }
.games-hero-board { position:relative; display:grid; width:min(430px,100%); justify-self:center; overflow:hidden; border:1px solid rgba(16,36,92,.13); border-radius:34px; padding:27px; background:#fff; box-shadow:0 28px 75px rgba(16,36,92,.15); transform:rotate(1deg); }
.games-hero-board.has-image { padding:17px; }
.games-hero-image { display:block; width:100%; aspect-ratio:1; border-radius:23px; object-fit:cover; }
.games-board-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:11px; padding:5px; }.games-board-grid i { display:grid; aspect-ratio:1; place-items:center; border-radius:19px; color:#fff; background:var(--games-blue); box-shadow:inset 0 1px rgba(255,255,255,.3); font:900 clamp(25px,3vw,42px)/1 'Changa',Arial,sans-serif; font-style:normal; }.games-board-grid i:nth-child(2),.games-board-grid i:nth-child(6){background:var(--games-red)}.games-board-grid i:nth-child(3),.games-board-grid i:nth-child(8){background:var(--games-gold)}.games-board-grid i:nth-child(4),.games-board-grid i:nth-child(9){background:var(--games-green)}.games-board-grid i:nth-child(5),.games-board-grid i:nth-child(7){background:var(--games-purple)}
.games-board-message { display:grid; gap:3px; margin-top:18px; border-radius:20px; padding:19px 21px; color:#fff; background:var(--games-ink); }.games-board-message span { color:#ffd778; font-size:10px; font-weight:900; letter-spacing:.13em; text-transform:uppercase; }.games-board-message strong { font:800 22px/1.2 'Changa',Arial,sans-serif; }.games-board-message small { color:rgba(255,255,255,.72); }
.games-library { padding:clamp(72px,8vw,112px) 0; background:#f6f8fd; }.games-library.is-locked { position:relative; min-height:790px; }
.games-access-gate { position:relative; z-index:5; display:grid; max-width:680px; justify-items:center; margin:0 auto 28px; border:1px solid rgba(255,173,0,.35); border-radius:25px; padding:28px 32px 30px; color:var(--games-ink); background:rgba(255,255,255,.95); box-shadow:0 22px 70px rgba(16,36,92,.18); text-align:center; backdrop-filter:blur(16px); }.games-access-gate>p { margin:0 0 5px; color:#b67700; font-size:11px; font-weight:900; letter-spacing:.14em; text-transform:uppercase; }.games-access-gate h2 { margin:0; color:var(--games-ink); font:900 clamp(27px,3vw,39px)/1.13 'Changa',Arial,sans-serif; }.games-access-gate>div { display:flex; flex-wrap:wrap; justify-content:center; gap:12px; margin-top:21px; }
.games-register-button { color:#fff; background:var(--games-red); box-shadow:0 12px 28px rgba(217,32,70,.22); }.games-register-button:hover { color:#fff; background:#b91737; }.games-login-button { color:#fff; background:var(--games-purple); box-shadow:0 12px 28px rgba(130,70,180,.2); }.games-login-button:hover { color:#fff; background:#663491; }
.games-library.is-locked .games-locked-content { filter:blur(9px); opacity:.52; pointer-events:none; user-select:none; }
.games-access-link { color:var(--games-purple);font-weight:900;text-decoration:none; }.games-access-link:hover { color:var(--games-red); }
.games-section-heading { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(300px,.65fr); align-items:end; gap:50px; margin-bottom:36px; }.games-section-heading h2 { max-width:760px; margin:0; color:var(--games-ink); font:900 clamp(35px,4vw,56px)/1.05 'Changa',Arial,sans-serif; letter-spacing:-.03em; }.games-section-heading>p { margin:0 0 6px; color:var(--games-muted); font-size:16px; line-height:1.7; }
.games-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.games-card { display:flex; min-width:0; overflow:hidden; flex-direction:column; border:1px solid #dce4f2; border-radius:27px; background:#fff; box-shadow:0 18px 54px rgba(16,36,92,.09); }.games-card-art { position:relative; display:grid; min-height:245px; place-items:center; overflow:hidden; background:linear-gradient(145deg,#eaf3ff,#fff); }.games-card-2 .games-card-art { background:linear-gradient(145deg,#fff0f6,#fff); }.games-card-3 .games-card-art { background:linear-gradient(145deg,#fff5d9,#fff); }.games-card-art>span { position:absolute; top:18px; left:20px; color:rgba(16,36,92,.38); font-size:12px; font-weight:900; }.games-card-art>strong { z-index:2; display:grid; width:92px; height:92px; place-items:center; border-radius:29px; color:#fff; background:var(--games-blue); box-shadow:0 18px 38px rgba(18,104,196,.25); font:900 42px/1 'Changa',Arial,sans-serif; }.games-card-2 .games-card-art>strong { background:var(--games-red); }.games-card-3 .games-card-art>strong { background:var(--games-gold); }.games-card-art>i { position:absolute; width:48px; height:48px; border:8px solid rgba(18,104,196,.18); border-radius:17px; transform:rotate(20deg); }.games-card-art>i:nth-of-type(1){top:25%;left:20%}.games-card-art>i:nth-of-type(2){right:18%;bottom:22%;border-radius:50%;border-color:rgba(98,169,22,.24)}.games-card-art>i:nth-of-type(3){right:25%;top:17%;width:26px;height:26px;border-color:rgba(217,32,70,.2)}
.games-card-copy { display:flex; flex:1; flex-direction:column; padding:25px; }.games-card-meta { display:flex; justify-content:space-between; gap:15px; color:var(--games-muted); font-size:10px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }.games-card-meta>span { color:var(--games-blue); }.games-card h3 { margin:15px 0 7px; color:var(--games-ink); font:900 30px/1.08 'Changa',Arial,sans-serif; }.games-card-copy>p { margin:0; color:var(--games-muted); line-height:1.6; }.games-card ul { display:grid; gap:7px; margin:20px 0 24px; padding:0; color:var(--games-ink); list-style:none; font-size:13px; font-weight:750; }.games-card li::before { margin-right:8px; color:var(--games-green); content:'✓'; font-weight:900; }
.games-card-footer { display:flex; min-height:42px; align-items:center; justify-content:space-between; gap:12px; margin-top:auto; border-top:1px solid #e8edf5; padding-top:18px; }.games-status { border-radius:999px; padding:7px 10px; color:#775a03; background:#fff2c4; font-size:10px; font-weight:900; letter-spacing:.05em; text-transform:uppercase; }.games-status.is-active { color:#376612; background:#e9f6dd; }.games-preparing { color:var(--games-muted); font-size:12px; font-weight:800; }.games-play-button { color:#fff; background:var(--games-green); }
.games-empty { grid-column:1/-1; border:2px dashed #d9dfec; border-radius:25px; padding:45px; background:#fff; }.games-empty strong { font:800 25px/1.2 'Changa',Arial,sans-serif; }.games-empty p { color:var(--games-muted); }
.games-principles { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; overflow:hidden; margin-top:28px; border:1px solid #dce4f2; border-radius:22px; background:#dce4f2; }.games-principles>div { display:grid; gap:5px; padding:23px; background:#fff; }.games-principles strong { color:var(--games-ink); font:800 18px/1.2 'Changa',Arial,sans-serif; }.games-principles span { color:var(--games-muted); font-size:13px; line-height:1.55; }
@media(max-width:1080px){.games-hero-grid{grid-template-columns:minmax(0,1fr) 340px}.games-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.games-card:last-child{grid-column:1/-1}}
@media(max-width:780px){.games-frame{width:min(calc(100% - 32px),1320px)}.games-hero-grid,.games-section-heading{grid-template-columns:1fr}.games-hero-grid{min-height:0;gap:55px;padding:70px 0}.games-hero-board{width:min(400px,100%)}.games-section-heading{gap:18px}.games-grid,.games-principles{grid-template-columns:1fr}.games-card:last-child{grid-column:auto}}
@media(max-width:500px){.games-hero-copy h1{font-size:47px}.games-hero-board{padding:18px;border-radius:24px}.games-board-grid{gap:7px}.games-board-grid i{border-radius:13px}.games-access-gate{padding:24px 20px}.games-card{border-radius:21px}.games-card-art{min-height:210px}}
@media(prefers-reduced-motion:reduce){.games-page *{scroll-behavior:auto!important}}
.games-card-art.has-image { aspect-ratio:1.35; min-height:0; }
.games-card-art>img { display:block; width:100%; height:100%; object-fit:cover; }
.games-card-art-fallback { position:absolute; inset:0; display:grid; place-items:center; }
.games-card-art-fallback>span { position:absolute; top:18px; left:20px; color:rgba(16,36,92,.38); font-size:12px; font-weight:900; }
.games-card-art-fallback>strong { z-index:2; display:grid; width:92px; height:92px; place-items:center; border-radius:29px; color:#fff; background:var(--games-blue); box-shadow:0 18px 38px rgba(18,104,196,.25); font:900 42px/1 'Changa',Arial,sans-serif; }
.games-card-2 .games-card-art-fallback>strong { background:var(--games-red); }
.games-card-3 .games-card-art-fallback>strong { background:var(--games-gold); }
.games-card-art-fallback>i { position:absolute; width:48px; height:48px; border:8px solid rgba(18,104,196,.18); border-radius:17px; transform:rotate(20deg); }
.games-card-art-fallback>i:nth-of-type(1){top:25%;left:20%}.games-card-art-fallback>i:nth-of-type(2){right:18%;bottom:22%;border-radius:50%;border-color:rgba(98,169,22,.24)}.games-card-art-fallback>i:nth-of-type(3){right:25%;top:17%;width:26px;height:26px;border-color:rgba(217,32,70,.2)}
.games-card li::before { content:'\2713'; }
.games-catalog-filters { display:grid; gap:14px; margin:0 0 28px; border:1px solid #dce4f2; border-radius:24px; padding:18px 20px; background:rgba(255,255,255,.92); box-shadow:0 15px 42px rgba(16,36,92,.06); }
.games-filter-group { display:grid; grid-template-columns:90px minmax(0,1fr); align-items:center; gap:13px; }
.games-filter-group>strong { color:var(--games-ink); font-size:11px; font-weight:900; letter-spacing:.09em; text-transform:uppercase; }
.games-filter-tabs { display:flex; min-width:0; flex-wrap:wrap; gap:8px; }
.games-filter-tab,
.games-filter-tabs a,
.games-filter-tabs button { position:relative; display:inline-flex; min-height:44px; align-items:center; overflow:hidden; border:1px solid #d6dfed; border-radius:999px; padding:9px 14px; color:var(--games-muted); background:#fff; cursor:pointer; font-size:12px; font-weight:900; transition:border-color .18s ease,color .18s ease,background .18s ease,box-shadow .18s ease,transform .18s ease; text-decoration:none; touch-action:manipulation; }
.games-filter-tab::before,
.games-filter-tabs a::before,
.games-filter-tabs button::before { display:inline-block; width:7px; height:7px; margin-right:7px; border-radius:50%; background:var(--games-blue); box-shadow:0 0 0 3px rgba(18,104,196,.1); content:''; }
.games-filter-tab[data-filter-value="membership"]::before,
.games-filter-tabs a[data-filter-value="membership"]::before,
.games-filter-tabs button[data-filter-value="membership"]::before { background:var(--games-purple); box-shadow:0 0 0 3px rgba(130,70,180,.1); }
.games-filter-tab[data-filter-value="free"]::before,
.games-filter-tabs a[data-filter-value="free"]::before,
.games-filter-tabs button[data-filter-value="free"]::before { background:var(--games-green); box-shadow:0 0 0 3px rgba(98,169,22,.1); }
.games-filter-tab[data-filter-value="paid"]::before,
.games-filter-tabs a[data-filter-value="paid"]::before,
.games-filter-tabs button[data-filter-value="paid"]::before { background:var(--games-red); box-shadow:0 0 0 3px rgba(217,32,70,.1); }
.games-filter-tab[data-filter-value="partner"]::before,
.games-filter-tabs a[data-filter-value="partner"]::before,
.games-filter-tabs button[data-filter-value="partner"]::before { background:var(--games-gold); box-shadow:0 0 0 3px rgba(255,173,0,.12); }
.games-filter-tab[data-game-filter="age"]::before,
.games-filter-tabs a[data-game-filter="age"]::before,
.games-filter-tabs button[data-game-filter="age"]::before { background:var(--games-purple); box-shadow:0 0 0 3px rgba(130,70,180,.1); }
.games-filter-tab:hover,
.games-filter-tabs a:hover,
.games-filter-tabs button:hover,
.games-filter-tab.is-active,
.games-filter-tabs a.is-active,
.games-filter-tabs button.is-active { border-color:var(--games-blue); color:#fff; background:var(--games-ink); box-shadow:0 8px 22px rgba(16,36,92,.16); transform:translateY(-1px); }
.games-filter-tab:focus-visible,
.games-filter-tabs a:focus-visible,
.games-filter-tabs button:focus-visible { outline:3px solid var(--games-gold); outline-offset:3px; }
.games-filter-tab[hidden],
.games-filter-tabs a[hidden],
.games-filter-tabs button[hidden] { display:none; }
.games-filter-status { margin:0; color:var(--games-muted); font-size:12px; font-weight:800; text-align:right; }
.games-filter-empty { margin:0 0 25px; border:2px dashed #d8dfec; border-radius:22px; padding:30px; color:var(--games-ink); background:#fff; text-align:center; }
.games-filter-empty[hidden],.games-card[hidden] { display:none; }
.games-filter-empty strong { font:800 22px/1.2 'Changa',Arial,sans-serif; }
.games-filter-empty p { margin:6px 0 0; color:var(--games-muted); }
.games-vote-panel { display:flex; gap:10px; align-items:center; margin-top:20px; flex-wrap:wrap; border-top:1px dashed #deebff; padding-top:14px; }
.games-vote-form { display:inline-block; margin:0; }
.games-vote-button { min-width:60px; min-height:44px; border:1px solid #d9e2f1; border-radius:999px; padding:8px 13px; color:var(--games-muted); background:#fff; font-size:13px; font-weight:900; cursor:pointer; transition:transform .18s ease,background .18s ease,border-color .18s ease,color .18s ease; touch-action:manipulation; }
.games-vote-button:hover { border-color:var(--games-ink); background:#f7faff; transform:translateY(-1px); }
.games-vote-button:focus-visible { outline:3px solid var(--games-gold); outline-offset:2px; }
.games-vote-button.is-selected { border-color:var(--games-ink); color:#fff; background:var(--games-ink); }
.games-vote-button.games-vote-down.is-selected { border-color:var(--games-red); background:var(--games-red); }
.games-vote-gate { color:var(--games-muted); font-size:12px; font-weight:800; }
.games-net-score { margin-left:auto; font:900 12px/1 'Changa',Arial,sans-serif; color:var(--games-muted); }
.games-net-score.is-positive { color:#2a7a16; }
.games-net-score.is-negative { color:var(--games-red); }
.games-pagination { display:flex; align-items:center; justify-content:center; gap:12px; margin-top:22px; }
.games-pagination-link { display:inline-flex; min-width:92px; min-height:44px; align-items:center; justify-content:center; padding:9px 14px; border:1px solid #d6dfed; border-radius:999px; color:var(--games-ink); text-decoration:none; font-size:12px; font-weight:900; text-align:center; touch-action:manipulation; }
.games-pagination-link:hover { background:var(--games-ink); color:#fff; border-color:var(--games-ink); }
.games-pagination-link.is-disabled { border-style:dashed; color:#95a4bd; pointer-events:none; }
.games-pagination-status { font-size:13px; font-weight:900; color:var(--games-ink); }
.games-pagination-pages { display:flex; align-items:center; justify-content:center; gap:6px; }
.games-pagination-number { display:grid; width:44px; height:44px; place-items:center; border:1px solid #d6dfed; border-radius:50%; color:var(--games-ink); background:#fff; text-decoration:none; font-size:12px; font-weight:900; touch-action:manipulation; }
.games-pagination-number:hover,.games-pagination-number.is-active { border-color:var(--games-ink); color:#fff; background:var(--games-ink); }
.games-pagination-number:focus-visible,.games-pagination-link:focus-visible { outline:3px solid var(--games-gold); outline-offset:2px; }
.games-pagination-ellipsis { color:var(--games-muted); font-weight:900; }
.games-pagination-range { margin:12px 0 0; color:var(--games-muted); text-align:center; font-size:12px; }
@media(max-width:620px){.games-filter-group{grid-template-columns:1fr}.games-filter-tabs{overflow-x:auto;flex-wrap:nowrap;padding:2px 2px 8px;scrollbar-width:thin}.games-filter-tabs a,.games-filter-tabs button,.games-filter-tab{flex:0 0 auto}.games-filter-status{text-align:left}.games-pagination{flex-wrap:wrap}.games-pagination-pages{order:-1;width:100%}}
.games-partner-page { min-height:70vh; padding:clamp(64px,8vw,112px) 24px; color:var(--games-ink,#10245c); background:radial-gradient(circle at 85% 10%,rgba(255,173,0,.15),transparent 30%),#f6f8fd; }
.games-partner-shell { width:min(1120px,100%); margin:auto; }
.games-partner-heading { max-width:760px; margin-bottom:30px; }.games-partner-heading h1 { margin:15px 0 10px; font:900 clamp(40px,6vw,72px)/1 'Changa',Arial,sans-serif; }.games-partner-heading>p:last-child { color:#586680; font-size:17px; line-height:1.65; }
.games-partner-frame { overflow:hidden; border:1px solid #dce4f2; border-radius:28px; background:#fff; box-shadow:0 25px 70px rgba(16,36,92,.14); }.games-partner-frame iframe { display:block; width:100%; min-height:min(72vh,760px); border:0; }
.games-partner-unavailable { max-width:760px; margin-bottom:24px; border:1px solid rgba(255,173,0,.38); border-radius:25px; padding:30px; background:#fff; box-shadow:0 20px 55px rgba(16,36,92,.1); }.games-partner-unavailable strong { font:800 24px/1.25 'Changa',Arial,sans-serif; }.games-partner-unavailable p,.games-partner-note { color:#586680; line-height:1.6; }
.games-launch-overview { padding:clamp(38px,5vw,68px) 0; background:linear-gradient(180deg,#fff 0,#f6f8fd 100%); }
.games-launch-panel { display:grid; grid-template-columns:minmax(0,1fr) minmax(330px,.72fr); align-items:center; gap:28px; border:1px solid #dce4f2; border-radius:30px; padding:clamp(24px,4vw,42px); background:#fff; box-shadow:0 20px 60px rgba(16,36,92,.08); }
.games-launch-copy h2 { max-width:720px; margin:6px 0 10px; color:var(--games-ink); font:900 clamp(31px,3.8vw,52px)/1.04 'Changa',Arial,sans-serif; letter-spacing:-.03em; }
.games-launch-copy p:last-child { max-width:820px; margin:0; color:var(--games-muted); font-size:16px; line-height:1.65; }
.games-launch-stats { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.games-launch-stats>div { display:grid; gap:2px; min-height:104px; align-content:center; border:1px solid #e5ebf5; border-radius:22px; padding:18px; background:linear-gradient(145deg,#f9fbff,#fff); }
.games-launch-stats strong { color:var(--games-blue); font:900 34px/1 'Changa',Arial,sans-serif; }
.games-launch-stats span { color:var(--games-muted); font-size:11px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.games-play-paths { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-top:16px; }
.games-play-path { position:relative; display:grid; gap:6px; min-height:154px; overflow:hidden; border:1px solid #dce4f2; border-radius:22px; padding:18px; color:var(--games-ink); background:#fff; box-shadow:0 13px 34px rgba(16,36,92,.055); text-decoration:none; transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease; }
.games-play-path::after { position:absolute; right:-22px; bottom:-30px; width:92px; height:92px; border-radius:50%; background:rgba(18,104,196,.08); content:''; }
.games-play-path:hover { border-color:var(--games-blue); box-shadow:0 18px 46px rgba(16,36,92,.12); transform:translateY(-2px); }
.games-play-path.is-active { border-color:var(--games-blue); box-shadow:0 18px 48px rgba(18,104,196,.16); }
.games-play-path.is-active::before { position:absolute; top:14px; right:14px; z-index:2; display:grid; width:28px; height:28px; place-items:center; border-radius:50%; color:#fff; background:var(--games-blue); box-shadow:0 8px 18px rgba(18,104,196,.22); content:'\2713'; font-size:13px; font-weight:900; }
.games-play-path.is-membership.is-active { border-color:rgba(130,70,180,.55); box-shadow:0 18px 48px rgba(130,70,180,.14); }
.games-play-path.is-membership.is-active::before { background:var(--games-purple); }
.games-play-path.is-paid.is-active { border-color:rgba(217,32,70,.48); box-shadow:0 18px 48px rgba(217,32,70,.12); }
.games-play-path.is-paid.is-active::before { background:var(--games-red); }
.games-play-path span { width:max-content; border-radius:999px; padding:5px 9px; color:#fff; background:var(--games-blue); font-size:10px; font-weight:900; letter-spacing:.09em; text-transform:uppercase; }
.games-play-path.is-membership span { background:var(--games-purple); }
.games-play-path.is-paid span { background:var(--games-red); }
.games-play-path strong { font:900 23px/1.05 'Changa',Arial,sans-serif; }
.games-play-path p { margin:0; color:var(--games-muted); font-size:13px; line-height:1.45; }
.games-play-path small { margin-top:auto; color:var(--games-blue); font-size:11px; font-weight:900; letter-spacing:.04em; text-transform:uppercase; }
.games-start-here { display:grid; grid-template-columns:110px minmax(0,1fr); align-items:start; gap:15px; margin-top:18px; }
.games-start-here>strong { padding-top:13px; color:var(--games-ink); font-size:11px; font-weight:900; letter-spacing:.12em; text-transform:uppercase; }
.games-featured-grid { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:10px; }
.games-featured-link { display:grid; min-height:118px; gap:5px; align-content:start; border:1px solid #dce4f2; border-radius:20px; padding:15px; color:var(--games-ink); background:#fff; text-decoration:none; box-shadow:0 12px 30px rgba(16,36,92,.05); transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease; }
.games-featured-link:hover { border-color:var(--games-blue); box-shadow:0 16px 40px rgba(16,36,92,.11); transform:translateY(-2px); }
.games-featured-link span { color:var(--games-blue); font-size:10px; font-weight:900; letter-spacing:.09em; text-transform:uppercase; }
.games-featured-link b { font:900 18px/1.08 'Changa',Arial,sans-serif; }
.games-featured-link small { margin-top:auto; color:var(--games-muted); font-size:11px; font-weight:800; line-height:1.35; }
.games-featured-link em { display:inline-flex; width:max-content; margin-top:3px; border-radius:999px; padding:5px 9px; color:var(--games-purple); background:#f4eafa; font-size:10px; font-style:normal; font-weight:900; letter-spacing:.07em; text-transform:uppercase; }
.games-featured-link.is-playable em { color:#376612; background:#e9f6dd; }
.games-level-strip { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin:-6px 0 18px; border:1px dashed #dce7f8; border-radius:18px; padding:12px; background:#fbfdff; }
.games-level-pill { display:inline-flex; min-height:30px; align-items:center; border-radius:999px; padding:6px 10px; color:var(--games-muted); background:#fff; font-size:10px; font-weight:900; letter-spacing:.06em; text-transform:uppercase; }
.games-level-pill.is-starter { color:#376612; background:#e9f6dd; }
.games-level-pill.is-advanced { color:#6e3a98; background:#f2e7fb; }
.games-level-note { flex-basis:100%; color:var(--games-muted); font-size:11px; font-weight:750; line-height:1.35; }
@media(max-width:1080px){.games-featured-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:780px){.games-launch-panel,.games-start-here{grid-template-columns:1fr}.games-featured-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.games-start-here>strong{padding-top:0}}
@media(max-width:500px){.games-launch-stats,.games-featured-grid{grid-template-columns:1fr}}
.games-hero { background:radial-gradient(circle at 82% 8%,rgba(255,173,0,.2),transparent 24%),radial-gradient(circle at 6% 90%,rgba(18,104,196,.1),transparent 27%),linear-gradient(135deg,#fff 0 50%,#fff6df 100%); }
.games-hero::before { right:-170px; bottom:-260px; width:520px; height:520px; border-width:46px; }
.games-hero-grid { min-height:clamp(360px,42vw,455px); grid-template-columns:minmax(0,1.08fr) minmax(285px,.5fr); gap:clamp(28px,5vw,70px); padding:clamp(38px,5.6vw,72px) 0; }
.games-hero-copy h1 { max-width:700px; margin:12px 0 14px; font-size:clamp(42px,5vw,66px); letter-spacing:-.04em; }
.games-hero-copy>p:last-of-type { max-width:720px; font-size:clamp(16px,1.2vw,19px); line-height:1.55; }
.games-hero-actions { margin-top:22px; }
.games-hero-board { width:min(340px,100%); border-radius:28px; padding:18px; box-shadow:0 22px 55px rgba(16,36,92,.13); }
.games-hero-board.has-image { padding:12px; }
.games-hero-image { border-radius:20px; }
.games-board-message { margin-top:12px; border-radius:17px; padding:14px 16px; }
.games-board-message strong { font-size:19px; }
.games-hero-highlights { display:flex; flex-wrap:wrap; gap:8px; margin-top:18px; }
.games-hero-highlights span { display:inline-flex; min-height:38px; align-items:center; gap:5px; border:1px solid rgba(16,36,92,.09); border-radius:999px; padding:7px 12px; color:var(--games-muted); background:rgba(255,255,255,.78); box-shadow:0 8px 20px rgba(16,36,92,.06); font-size:12px; font-weight:900; }
.games-hero-highlights strong { color:var(--games-blue); font:900 18px/1 'Changa',Arial,sans-serif; }
.games-launch-overview { padding:clamp(28px,4vw,48px) 0; }
.games-launch-panel { grid-template-columns:minmax(0,1fr) minmax(300px,.62fr); border-radius:26px; padding:clamp(22px,3.3vw,34px); }
.games-launch-copy h2 { font-size:clamp(28px,3.1vw,42px); }
.games-launch-stats>div { min-height:86px; padding:14px; }
.games-launch-stats strong { font-size:29px; }
.games-featured-link { min-height:98px; border-radius:18px; padding:13px; }
.games-library { padding:clamp(48px,6vw,82px) 0; }
.games-section-heading { align-items:center; margin-bottom:24px; }
.games-section-heading h2 { font-size:clamp(31px,3.5vw,48px); }
.games-browse-summary { display:grid; grid-template-columns:1.25fr .7fr .6fr 1fr; gap:1px; overflow:hidden; margin:0 0 16px; border:1px solid #dce4f2; border-radius:20px; background:#dce4f2; box-shadow:0 12px 32px rgba(16,36,92,.05); }
.games-browse-summary>div { display:grid; gap:3px; padding:15px 17px; background:#fff; }
.games-browse-summary span { color:var(--games-muted); font-size:10px; font-weight:900; letter-spacing:.1em; text-transform:uppercase; }
.games-browse-summary strong { color:var(--games-ink); font:900 17px/1.15 'Changa',Arial,sans-serif; }
.games-browse-actions { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px; margin:-4px 0 16px; color:var(--games-muted); font-size:12px; font-weight:850; }
.games-browse-actions a { display:inline-flex; min-height:38px; align-items:center; border:1px solid #d8e2f1; border-radius:999px; padding:8px 12px; color:var(--games-blue); background:#fff; text-decoration:none; font-size:11px; font-weight:900; letter-spacing:.06em; text-transform:uppercase; }
.games-browse-actions a:hover { border-color:var(--games-blue); color:#fff; background:var(--games-blue); }
.games-catalog-filters { margin-bottom:22px; border-radius:22px; }
.games-catalog-filters.is-loading { opacity:.72; pointer-events:none; }
.games-catalog-filters.is-loading::after { display:block; color:var(--games-muted); font-size:11px; font-weight:900; letter-spacing:.08em; text-align:right; text-transform:uppercase; content:'Updating games...'; }
.games-grid { grid-template-columns:repeat(auto-fit,minmax(285px,1fr)); gap:18px; }
.games-grid:focus { outline:3px solid rgba(255,173,0,.72); outline-offset:6px; }
.games-card { border-radius:23px; box-shadow:0 14px 38px rgba(16,36,92,.075); transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease; }
.games-card:hover { border-color:#c9d8ec; box-shadow:0 20px 52px rgba(16,36,92,.12); transform:translateY(-2px); }
.games-card[data-access-model="paid"] { border-color:#efd7df; }
.games-card[data-access-model="paid"] .games-card-art { background:linear-gradient(145deg,#fff1f5,#fff); }
.games-card[data-access-state="purchase_required"] .games-card-copy { background:linear-gradient(180deg,#fff 0,#fff8fb 100%); }
.games-card[data-game-card][data-source-type="partner"] { border-style:dashed; }
.games-card-art { min-height:190px; }
.games-card-art.has-image { aspect-ratio:1.48; }
.games-card-ribbon { position:absolute; z-index:3; top:12px; left:12px; right:12px; display:flex; justify-content:space-between; gap:8px; pointer-events:none; }
.games-card-ribbon span { display:inline-flex; min-height:30px; align-items:center; border-radius:999px; padding:6px 10px; color:#fff; background:rgba(16,36,92,.9); box-shadow:0 8px 18px rgba(16,36,92,.14); font-size:10px; font-weight:900; letter-spacing:.07em; text-transform:uppercase; backdrop-filter:blur(10px); }
.games-card-ribbon .is-status-coming_soon { color:#775a03; background:rgba(255,242,196,.92); }
.games-card-ribbon .is-status-active { background:rgba(55,102,18,.92); }
.games-card-ribbon .is-access-free { background:rgba(98,169,22,.92); }
.games-card-ribbon .is-access-membership { background:rgba(130,70,180,.92); }
.games-card-ribbon .is-access-paid { background:rgba(217,32,70,.92); }
.games-card-copy { padding:20px; }
.games-card h3 { margin:11px 0 6px; font-size:26px; }
.games-card-copy>p { font-size:14px; line-height:1.55; }
.games-skill-tags { display:flex; flex-wrap:wrap; gap:7px; margin:13px 0 0; }
.games-skill-tags span { display:inline-flex; min-height:28px; align-items:center; border:1px solid #dce7f5; border-radius:999px; padding:5px 9px; color:var(--games-muted); background:#fff; font-size:10px; font-weight:900; letter-spacing:.055em; text-transform:uppercase; }
.games-skill-tags .games-domain-tag { border-color:rgba(18,104,196,.18); color:var(--games-blue); background:#eef6ff; }
.games-card-facts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1px; overflow:hidden; margin:13px 0 0; border:1px solid #e1e9f5; border-radius:16px; background:#e1e9f5; }
.games-card-facts span { display:grid; gap:2px; min-width:0; padding:10px; color:var(--games-ink); background:#fff; font-size:12px; font-weight:850; line-height:1.15; }
.games-card-facts b { color:var(--games-muted); font-size:9px; font-weight:900; letter-spacing:.09em; text-transform:uppercase; }
.games-card ul { margin:15px 0 18px; }
.games-level-strip { margin:-4px 0 15px; padding:10px; }
.games-vote-panel { margin-top:16px; }
@media(max-width:1080px){.games-hero-grid{grid-template-columns:minmax(0,1fr) 300px}.games-featured-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.games-play-paths{grid-template-columns:1fr}}
@media(max-width:780px){.games-hero-grid{grid-template-columns:1fr;min-height:0;padding:44px 0 52px}.games-hero-board{display:none}.games-hero-highlights{margin-top:16px}.games-launch-panel{grid-template-columns:1fr}.games-launch-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.games-grid{grid-template-columns:1fr}.games-play-path{min-height:0}}
@media(max-width:700px){.games-browse-summary{grid-template-columns:1fr}}
@media(max-width:500px){.games-hero-copy h1{font-size:42px}.games-hero-actions{gap:12px}.games-hero-highlights span{width:100%;justify-content:space-between}.games-launch-stats{grid-template-columns:1fr}.games-card-art{min-height:170px}.games-card-facts{grid-template-columns:1fr}}
.games-page .games-hero-highlights { display:flex; flex-wrap:wrap; gap:10px; margin-top:20px; padding:0; list-style:none; }
.games-page .games-hero-highlights span { display:inline-flex; min-height:42px; align-items:center; gap:7px; border:1px solid rgba(16,36,92,.1); border-radius:999px; padding:8px 14px; color:var(--games-muted); background:rgba(255,255,255,.86); box-shadow:0 10px 24px rgba(16,36,92,.075); font-size:12px; font-weight:900; line-height:1; backdrop-filter:blur(10px); }
.games-page .games-hero-highlights strong { color:var(--games-blue); font:900 20px/1 'Changa',Arial,sans-serif; letter-spacing:-.02em; }
.games-page .games-launch-overview { position:relative; isolation:isolate; margin:0; padding:clamp(30px,4.5vw,56px) 0; background:linear-gradient(180deg,#fff 0,#f7f9fe 100%); }
.games-page .games-launch-overview::before { position:absolute; z-index:-1; inset:0 0 auto; height:58%; background:radial-gradient(circle at 12% 12%,rgba(255,173,0,.11),transparent 28%),radial-gradient(circle at 92% 18%,rgba(18,104,196,.09),transparent 26%); content:''; }
.games-page .games-launch-panel { display:grid; grid-template-columns:minmax(0,1fr) minmax(280px,.58fr); align-items:center; gap:clamp(18px,3vw,36px); overflow:hidden; border:1px solid #dce4f2; border-radius:28px; padding:clamp(22px,3.4vw,38px); background:rgba(255,255,255,.96); box-shadow:0 22px 64px rgba(16,36,92,.095); }
.games-page .games-launch-copy .ybag-kicker { display:inline-flex; width:max-content; max-width:100%; min-height:32px; align-items:center; margin:0 0 8px; border-radius:999px; padding:7px 11px; color:#9a6400; background:#fff4d4; font-size:10px; font-weight:900; letter-spacing:.12em; text-transform:uppercase; }
.games-page .games-launch-copy h2 { max-width:740px; margin:0 0 10px; color:var(--games-ink); font:900 clamp(29px,3.25vw,44px)/1.04 'Changa',Arial,sans-serif; letter-spacing:-.03em; }
.games-page .games-launch-copy p:last-child { max-width:820px; margin:0; color:var(--games-muted); font-size:15px; line-height:1.65; }
.games-page .games-launch-stats { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.games-page .games-launch-stats>div { display:grid; min-height:96px; align-content:center; gap:3px; border:1px solid #e3eaf5; border-radius:22px; padding:16px; background:linear-gradient(145deg,#fbfdff,#fff); box-shadow:inset 0 1px rgba(255,255,255,.7),0 10px 24px rgba(16,36,92,.045); }
.games-page .games-launch-stats strong { color:var(--games-blue); font:900 32px/1 'Changa',Arial,sans-serif; letter-spacing:-.025em; }
.games-page .games-launch-stats span { color:var(--games-muted); font-size:10px; font-weight:900; letter-spacing:.08em; line-height:1.25; text-transform:uppercase; }
.games-page .games-play-paths { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin-top:16px; }
.games-page .games-start-here { display:grid; grid-template-columns:110px minmax(0,1fr); align-items:start; gap:15px; margin-top:18px; }
@media(max-width:1080px){.games-page .games-play-paths{grid-template-columns:1fr}.games-page .games-launch-panel{grid-template-columns:1fr}.games-page .games-featured-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:780px){.games-page .games-hero-highlights span{flex:1 1 190px}.games-page .games-launch-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.games-page .games-start-here{grid-template-columns:1fr}.games-page .games-start-here>strong{padding-top:0}.games-page .games-featured-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:500px){.games-page .games-hero-highlights span{width:100%;justify-content:space-between}.games-page .games-launch-stats,.games-page .games-featured-grid{grid-template-columns:1fr}}
.games-page .games-library { position:relative; isolation:isolate; background:radial-gradient(circle at 4% 10%,rgba(255,173,0,.1),transparent 28%),radial-gradient(circle at 96% 4%,rgba(18,104,196,.1),transparent 30%),linear-gradient(180deg,#f8faff 0,#f4f7fc 100%); }
.games-page .games-section-heading { align-items:end; gap:clamp(20px,4vw,54px); margin-bottom:22px; border:1px solid rgba(220,228,242,.9); border-radius:28px; padding:clamp(22px,3vw,34px); background:rgba(255,255,255,.86); box-shadow:0 18px 52px rgba(16,36,92,.07); backdrop-filter:blur(14px); }
.games-page .games-section-heading h2 { max-width:760px; font-size:clamp(30px,3.35vw,48px); }
.games-page .games-section-heading>p { max-width:520px; font-size:15px; line-height:1.65; }
.games-page .games-browse-summary { border-radius:24px; box-shadow:0 16px 40px rgba(16,36,92,.07); }
.games-page .games-catalog-filters { position:relative; border-radius:26px; padding:20px; background:rgba(255,255,255,.94); box-shadow:0 18px 50px rgba(16,36,92,.08); }
.games-page .games-catalog-filters::before { position:absolute; inset:0 auto 0 0; width:6px; border-radius:26px 0 0 26px; background:linear-gradient(180deg,var(--games-gold),var(--games-blue)); content:''; }
.games-page.is-catalog-enhanced .games-catalog-filters { transition:opacity .18s ease,transform .18s ease; }
.games-page .games-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; align-items:stretch; }
.games-page .games-card { min-width:0; border-radius:26px; box-shadow:0 16px 44px rgba(16,36,92,.09); }
.games-page .games-card-art { min-height:205px; }
.games-page .games-card-copy { padding:22px; }
.games-page .games-card h3 { font-size:clamp(24px,2.35vw,31px); }
.games-page .games-card-footer { gap:14px; }
@media(max-width:1180px){.games-page .games-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.games-page .games-section-heading{grid-template-columns:1fr}.games-page .games-grid{grid-template-columns:1fr}.games-page .games-catalog-filters{padding:18px}.games-page .games-card-art{min-height:180px}}

/* Production catalog polish: keep these scoped overrides last. */
.games-page .games-hero { border-bottom:1px solid rgba(220,228,242,.8); }
.games-page .games-hero-grid { min-height:clamp(330px,38vw,430px); }
.games-page .games-hero-copy { position:relative; z-index:2; }
.games-page .games-primary-button { min-height:48px; padding-inline:22px; border-radius:999px; }
.games-page .games-stage-link { display:inline-flex; min-height:44px; align-items:center; border-radius:999px; padding:8px 2px; }
.games-page .games-library .games-frame { position:relative; }
.games-page .games-section-heading { position:relative; overflow:hidden; }
.games-page .games-section-heading::after { position:absolute; right:-54px; bottom:-78px; width:180px; height:180px; border-radius:50%; background:rgba(255,173,0,.11); content:''; }
.games-page .games-section-heading>* { position:relative; z-index:1; }
.games-page .games-browse-summary>div { min-height:78px; align-content:center; }
.games-page .games-browse-actions { margin:0 0 18px; border:1px solid rgba(220,228,242,.95); border-radius:20px; padding:12px 14px; background:rgba(255,255,255,.82); box-shadow:0 12px 30px rgba(16,36,92,.055); }
.games-page .games-catalog-mode { display:inline-flex; min-height:32px; align-items:center; gap:8px; border:1px solid rgba(18,104,196,.14); border-radius:999px; padding:7px 11px; color:var(--games-blue); background:#eef6ff; font-size:11px; font-weight:900; letter-spacing:.04em; }
.games-page .games-catalog-mode::before { width:8px; height:8px; border-radius:50%; background:var(--games-green); box-shadow:0 0 0 4px rgba(98,169,22,.12); content:''; }
.games-page.is-catalog-loading .games-catalog-mode { color:#775a03; background:#fff4d4; border-color:rgba(255,173,0,.28); }
.games-page.is-catalog-loading .games-catalog-mode::before { background:var(--games-gold); box-shadow:0 0 0 4px rgba(255,173,0,.16); }
.games-page .games-catalog-filters { display:grid; gap:12px; border-color:rgba(201,216,236,.95); }
.games-page .games-filter-group { grid-template-columns:118px minmax(0,1fr); border-radius:18px; padding:11px 12px; background:linear-gradient(90deg,rgba(248,251,255,.96),rgba(255,255,255,.76)); }
.games-page .games-filter-group>strong { align-self:start; padding-top:14px; }
.games-page .games-filter-tabs { gap:9px; }
.games-page .games-filter-tab,
.games-page .games-filter-tabs a,
.games-page .games-filter-tabs button { min-height:42px; box-shadow:0 6px 16px rgba(16,36,92,.045); }
.games-page .games-filter-tab.is-active,
.games-page .games-filter-tabs a.is-active,
.games-page .games-filter-tabs button.is-active { background:linear-gradient(135deg,var(--games-ink),#173579); }
.games-page .games-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(18px,2vw,28px); align-items:stretch; transition:opacity .18s ease,transform .18s ease; }
.games-page .games-grid.is-loading { pointer-events:none; }
.games-page.is-catalog-loading .games-grid { opacity:.52; transform:translateY(4px); }
.games-page .games-card,
.games-page .games-card:last-child { grid-column:auto; }
.games-page .games-card { position:relative; height:100%; border-color:rgba(212,224,241,.96); background:linear-gradient(180deg,#fff 0,#fbfdff 100%); }
.games-page .games-card::before { position:absolute; z-index:2; inset:0 0 auto; height:5px; background:linear-gradient(90deg,var(--games-blue),var(--games-gold)); content:''; }
.games-page .games-card[data-access-model="membership"]::before { background:linear-gradient(90deg,var(--games-purple),var(--games-blue)); }
.games-page .games-card[data-access-model="paid"]::before { background:linear-gradient(90deg,var(--games-red),var(--games-gold)); }
.games-page .games-card-meta { align-items:flex-start; }
.games-page .games-card-meta small { text-align:right; line-height:1.35; }
.games-page .games-card-ribbon span { max-width:48%; justify-content:center; text-align:center; line-height:1.15; }
.games-page .games-card-footer { flex-wrap:wrap; }
.games-page .games-play-button,
.games-page .games-access-link { margin-left:auto; }
.games-page .games-vote-panel { min-height:50px; }
@media(max-width:1180px){.games-page .games-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.games-page .games-featured-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.games-page .games-hero-grid{min-height:0}.games-page .games-browse-actions{align-items:flex-start}.games-page .games-catalog-mode{width:100%;justify-content:center}.games-page .games-filter-group{grid-template-columns:1fr}.games-page .games-filter-group>strong{padding-top:0}.games-page .games-grid{grid-template-columns:1fr}.games-page .games-card-meta small{text-align:left}}
.games-page .games-library .games-play-paths { margin:0 0 18px; }
.games-page .games-library .games-play-path { min-height:142px; }
.games-page .games-library .games-start-here { margin:0 0 18px; }
