:root {
  --white: #ffffff;
  --paper: #f4f7f8;
  --ink: #102a43;
  --muted: #60758a;
  --line: #c9d5df;
  --blue: #0b6cff;
  --blue-dark: #084bb8;
  --cyan: #19c6c2;
  --yellow: #ffd84d;
  --lime: #b9e769;
  --navy: #081f33;
  --shell: min(1240px, calc(100% - 48px));
  --sans: Inter, Aptos, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; color: var(--ink); background: var(--white); font: 16px/1.55 var(--sans); text-rendering: optimizeLegibility; }
body.menu-open { overflow: hidden; }
button, input { color: inherit; font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 10px 15px; color: #fff; background: var(--blue); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.service-strip { color: #cddae5; background: var(--navy); font-size: .75rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.service-strip > div { min-height: 30px; display: flex; align-items: center; justify-content: space-between; }
.site-header { position: relative; z-index: 20; background: var(--white); border-bottom: 1px solid var(--line); }
.header-row { min-height: 76px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 38px; }
.brand { width: max-content; display: inline-flex; align-items: center; gap: 11px; color: var(--navy); line-height: 1; }
.brand img { width: 40px; height: 40px; }
.brand span { display: flex; align-items: baseline; gap: 5px; white-space: nowrap; }
.brand b { font-size: 1.16rem; font-weight: 900; letter-spacing: -.055em; }
.brand small { position: relative; color: var(--blue); font-size: 1.16rem; font-weight: 850; letter-spacing: -.055em; }
.brand-light { color: #fff; }
.brand-light small { color: #6fddda; }
.desktop-nav { display: flex; align-self: stretch; align-items: stretch; }
.desktop-nav a { min-width: 104px; display: grid; place-items: center; padding: 0 18px; color: #445e73; border-inline-start: 1px solid var(--line); font-size: .875rem; font-weight: 800; }
.desktop-nav a:last-child { border-inline-end: 1px solid var(--line); }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: var(--blue); background: #eef5ff; }
.desktop-nav a[aria-current="page"] { box-shadow: inset 0 -4px 0 var(--blue); }
.header-tools { display: flex; gap: 8px; }
.search-button { min-height: 42px; display: inline-flex; align-items: center; gap: 11px; padding: 0 15px; color: var(--ink); background: transparent; border: 1px solid var(--ink); font-size: .875rem; font-weight: 850; }
.search-button span { font-size: 1.35rem; line-height: 1; }
.search-button:hover { color: #fff; background: var(--blue); border-color: var(--blue); }
.menu-button { min-height: 42px; display: none; align-items: center; gap: 10px; padding: 0 13px; color: #fff; background: var(--navy); border: 1px solid var(--navy); font-size: .875rem; font-weight: 850; }
.menu-button i, .menu-button i::after { width: 16px; height: 2px; display: block; background: currentColor; content: ""; }
.menu-button i::after { transform: translateY(5px); }
.menu-button[aria-expanded="true"] i { transform: rotate(45deg); }
.menu-button[aria-expanded="true"] i::after { transform: rotate(90deg); }
.route-bar { min-height: 42px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.route-bar a { display: flex; align-items: center; gap: 10px; padding: 0 18px; color: #536d80; border-inline-end: 1px solid var(--line); font-size: .875rem; font-weight: 800; }
.route-bar a:first-child { border-inline-start: 1px solid var(--line); }
.route-bar span { color: var(--blue); font-size: .68rem; letter-spacing: .08em; }
.route-bar a:hover { color: var(--ink); background: var(--yellow); }
.mobile-menu { position: absolute; inset: 100% 0 auto; min-height: calc(100vh - 68px); padding: 18px 24px; color: #fff; background: var(--navy); }
.mobile-menu a, .mobile-menu button { width: 100%; display: block; padding: 17px 0; color: #fff; background: none; border: 0; border-bottom: 1px solid #365065; text-align: left; font-size: 1.25rem; font-weight: 850; }

.label { margin: 0 0 13px; color: var(--blue); font-size: .75rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.launch-board { min-height: 550px; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(400px, .96fr); align-items: stretch; border-inline: 1px solid var(--line); }
.launch-intro { display: flex; flex-direction: column; justify-content: center; padding: 64px clamp(34px, 4vw, 56px); background: var(--paper); }
.launch-intro h1 { margin: 0; color: var(--navy); font-size: clamp(3.75rem, 5.8vw, 5.35rem); line-height: .91; letter-spacing: -.065em; }
.launch-intro h1 strong { color: var(--blue); font-weight: 850; }
.launch-intro > p:not(.label) { max-width: 590px; margin: 26px 0 0; color: var(--muted); font-size: 1.12rem; }
.launch-actions, .detail-actions, .not-found > div { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 30px; }
.primary-button { min-height: 50px; display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; padding: 0 18px; color: #fff; background: var(--blue); border: 1px solid var(--blue); font-size: .875rem; font-weight: 900; }
.primary-button:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.text-button, .text-link { padding: 7px 0; color: var(--ink); background: transparent; border: 0; border-bottom: 2px solid currentColor; font-size: .875rem; font-weight: 900; }
.text-button:hover, .text-link:hover { color: var(--blue); }
.quick-launch { display: flex; flex-direction: column; color: #fff; background: var(--navy); }
.panel-head { min-height: 95px; display: flex; align-items: center; justify-content: space-between; padding: 22px 27px; border-bottom: 1px solid #365065; }
.panel-head span, .panel-head strong { display: block; }
.panel-head span { color: #70dcd8; font-size: .7rem; font-weight: 900; letter-spacing: .14em; }
.panel-head strong { margin-top: 4px; font-size: 1.1rem; }
.panel-head button { min-width: 40px; height: 40px; padding: 0 11px; color: #fff; background: transparent; border: 1px solid #5a7284; font-size: .75rem; font-weight: 850; }
.panel-head button:hover { color: var(--navy); background: var(--yellow); border-color: var(--yellow); }
.quick-game { min-height: 112px; display: grid; grid-template-columns: 28px 72px minmax(0,1fr) auto; align-items: center; gap: 15px; padding: 12px 27px; border-bottom: 1px solid #365065; }
.quick-game:last-child { border-bottom: 0; }
.quick-game:hover { color: var(--navy); background: var(--yellow); }
.quick-index { color: #7f97a7; font-size: .7rem; font-weight: 900; letter-spacing: .08em; }
.quick-game:hover .quick-index { color: var(--navy); }
.quick-game img { width: 72px; height: 72px; object-fit: cover; }
.quick-game > span:nth-of-type(2) { min-width: 0; }
.quick-game strong, .quick-game small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.quick-game strong { font-size: .95rem; }
.quick-game small { margin-top: 5px; color: #9eb3c1; font-size: .72rem; }
.quick-game:hover small { color: #405365; }

.collection-band { background: var(--blue); }
.collection-band-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.route-card { min-height: 142px; display: grid; grid-template-columns: 1fr auto; align-content: center; gap: 2px 16px; padding: 25px 24px; color: #fff; border-inline-end: 1px solid rgba(255,255,255,.28); }
.route-card:first-child { border-inline-start: 1px solid rgba(255,255,255,.28); }
.route-card > span { grid-column: 1 / -1; color: #a9caff; font-size: .68rem; font-weight: 900; letter-spacing: .1em; }
.route-card strong { font-size: 1rem; }
.route-card small { grid-column: 1; color: #cfe0ff; font-size: .78rem; }
.route-card b { grid-column: 2; grid-row: 2 / span 2; align-self: center; font-size: 1.2rem; }
.route-card:hover { color: var(--navy); background: var(--yellow); }
.route-card:hover > span, .route-card:hover small { color: #405365; }

.game-shelf, .saved { padding-block: 88px 100px; }
.section-title { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 31px; padding-bottom: 20px; border-bottom: 1px solid var(--ink); }
.section-title h2, .split-heading h2, .game-guide h2, .footer-top h2 { margin: 0; color: var(--navy); font-size: clamp(2.2rem, 4vw, 3.8rem); line-height: .98; letter-spacing: -.05em; }
.section-title > a { flex: 0 0 auto; padding-bottom: 4px; color: var(--blue); border-bottom: 1px solid currentColor; font-size: .82rem; font-weight: 900; }
.section-title > a span { margin-left: 12px; }
.game-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 36px 18px; }
.game-card { min-width: 0; }
.game-cover { position: relative; display: block; overflow: hidden; background: #dce5eb; }
.game-cover::after { position: absolute; inset: 0; border: 0 solid var(--blue); content: ""; transition: border-width .15s; }
.game-cover img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .25s ease; }
.game-cover:hover::after { border-width: 5px; }
.game-cover:hover img { transform: scale(1.035); }
.play-chip { position: absolute; z-index: 2; right: 0; bottom: 0; display: flex; align-items: center; gap: 13px; padding: 9px 11px; color: var(--navy); background: var(--yellow); font-size: .69rem; font-weight: 950; transform: translateY(100%); transition: transform .18s; }
.game-cover:hover .play-chip { transform: none; }
.card-copy { padding-top: 13px; }
.card-copy > span { color: var(--blue); font-size: .68rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.card-copy h3 { margin: 4px 0 0; font-size: 1rem; line-height: 1.2; letter-spacing: -.015em; }
.card-copy h3 a:hover { color: var(--blue); }
.card-copy p { margin: 7px 0 0; color: var(--muted); font-size: .8rem; line-height: 1.45; }
.ad-slot { min-height: 118px; display: grid; place-items: center; color: #7f8f9c; background: var(--paper); border-block: 1px solid var(--line); font-size: .68rem; font-weight: 850; letter-spacing: .12em; }

.split-feature { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; padding-block: 95px; }
.split-heading { align-self: start; position: sticky; top: 24px; }
.split-heading > p:not(.label) { max-width: 440px; color: var(--muted); }
.split-heading .text-link { display: inline-block; margin-top: 17px; }
.collection-list { border-top: 1px solid var(--ink); }
.collection-list > a { min-height: 112px; display: grid; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; gap: 18px; padding: 18px 12px; border-bottom: 1px solid var(--ink); }
.collection-list > a:hover { padding-inline: 22px 2px; background: #edf4ff; }
.collection-list > a > span { color: var(--blue); font-size: .7rem; font-weight: 900; letter-spacing: .1em; }
.collection-list strong, .collection-list small { display: block; }
.collection-list strong { font-size: 1.25rem; }
.collection-list small { margin-top: 4px; color: var(--muted); font-size: .82rem; }
.seasonal-block { padding-block: 80px; color: #fff; background: var(--navy); }
.section-title.inverse { border-color: #698092; }
.section-title.inverse h2 { color: #fff; }
.section-title.inverse .label { color: #70dcd8; }
.section-title.inverse > a { color: var(--yellow); }
.seasonal-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #536c7e; border-left: 1px solid #536c7e; }
.seasonal-grid .quick-game { min-height: 100px; grid-template-columns: 24px 58px minmax(0,1fr) auto; padding: 12px 15px; border-right: 1px solid #536c7e; border-bottom: 1px solid #536c7e; }
.seasonal-grid .quick-game img { width: 58px; height: 58px; }

.page-head { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(300px,.75fr); align-items: end; gap: 60px; padding-block: 80px 56px; border-bottom: 1px solid var(--ink); }
.page-head h1, .collection-hero h1, .not-found h1 { margin: 0; color: var(--navy); font-size: clamp(3.4rem, 7vw, 6.7rem); line-height: .88; letter-spacing: -.067em; }
.page-head > p { max-width: 540px; margin: 0; color: var(--muted); font-size: 1.08rem; }
.catalog { padding-block: 30px 110px; }
.catalog-bar { display: grid; grid-template-columns: minmax(250px,.62fr) minmax(0,1.38fr); align-items: end; gap: 25px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.catalog-bar label span { display: block; margin-bottom: 8px; color: var(--muted); font-size: .7rem; font-weight: 900; letter-spacing: .12em; }
.catalog-bar input { width: 100%; min-height: 46px; padding: 0 13px; color: var(--ink); background: var(--white); border: 1px solid var(--ink); border-radius: 0; }
.filters { display: flex; flex-wrap: wrap; justify-content: end; gap: 7px; }
.filters button { min-height: 42px; padding: 0 12px; color: #52697a; background: var(--white); border: 1px solid var(--line); font-size: .875rem; font-weight: 800; }
.filters button:hover, .filters button.is-active { color: #fff; background: var(--blue); border-color: var(--blue); }
.result-note { min-height: 24px; margin: 18px 0; color: var(--muted); font-size: .8rem; }
.catalog-grid { min-height: 350px; }

.collection-directory { display: grid; grid-template-columns: 1fr 1fr; padding-block: 42px 110px; }
.directory-row { min-height: 335px; display: grid; grid-template-columns: 38px minmax(0,1fr) auto; grid-template-rows: 1fr auto; gap: 20px; padding: 30px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.directory-row:nth-child(-n+2) { border-top: 1px solid var(--ink); }
.directory-row:nth-child(odd) { border-left: 1px solid var(--ink); }
.directory-row > span { color: var(--blue); font-size: .72rem; font-weight: 900; letter-spacing: .1em; }
.directory-copy p { margin: 0 0 8px; color: var(--blue); font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.directory-copy h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.5rem); line-height: .95; letter-spacing: -.05em; }
.directory-copy small { display: block; max-width: 390px; margin-top: 13px; color: var(--muted); font-size: .88rem; }
.cover-stack { grid-column: 1 / span 2; display: grid; grid-template-columns: repeat(3, 72px); gap: 7px; }
.cover-stack img { width: 72px; height: 72px; object-fit: cover; }
.directory-row > b { grid-column: 3; grid-row: 1 / span 2; align-self: center; font-size: 1.4rem; }
.directory-row:hover { color: var(--navy); background: var(--yellow); }
.directory-row:hover .directory-copy p, .directory-row:hover > span, .directory-row:hover .directory-copy small { color: #405365; }

.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; padding-top: 25px; color: var(--muted); font-size: .76rem; }
.breadcrumbs a:hover { color: var(--blue); }
.collection-hero { margin-top: 20px; background: var(--paper); border-block: 1px solid var(--ink); }
.collection-hero > .shell { min-height: 380px; display: grid; grid-template-columns: 120px minmax(0,1fr) auto; align-items: center; gap: 40px; }
.collection-number { color: var(--blue); font-size: clamp(3rem, 6vw, 6rem); font-weight: 900; letter-spacing: -.08em; }
.collection-hero h1 { font-size: clamp(3.7rem, 7vw, 6.8rem); }
.collection-hero .shell > div > p:not(.label) { max-width: 560px; color: var(--muted); }
.collection-hero.route-0 { box-shadow: inset 12px 0 0 var(--yellow); }
.collection-hero.route-1 { box-shadow: inset 12px 0 0 var(--cyan); }
.collection-hero.route-2 { box-shadow: inset 12px 0 0 var(--lime); }
.collection-hero.route-3 { box-shadow: inset 12px 0 0 var(--blue); }

.game-detail { display: grid; grid-template-columns: minmax(300px,440px) minmax(0,1fr); align-items: center; gap: clamp(45px, 8vw, 110px); padding-block: 50px 76px; }
.detail-cover { padding: 16px; background: var(--paper); border: 1px solid var(--ink); box-shadow: 12px 12px 0 var(--yellow); }
.detail-cover img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.detail-main h1 { margin: 0; color: var(--navy); font-size: clamp(3.5rem, 7vw, 6.7rem); line-height: .88; letter-spacing: -.067em; }
.detail-lede { max-width: 650px; margin: 23px 0 0; color: var(--muted); font-size: 1.12rem; }
.save-button { min-height: 50px; padding: 0 17px; color: var(--ink); background: #fff; border: 1px solid var(--ink); font-size: .875rem; font-weight: 900; }
.save-button[aria-pressed="true"] { background: var(--yellow); }
.detail-main > small { display: block; margin-top: 16px; color: var(--muted); font-size: .75rem; }
.game-guide { display: grid; grid-template-columns: 1.2fr .9fr .9fr; border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.game-guide > div { min-height: 320px; padding: 32px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.guide-summary { background: var(--navy); color: #fff; }
.guide-summary .label { color: #70dcd8; }
.guide-summary h2 { color: #fff; font-size: 2.5rem; }
.guide-summary > p:last-child { color: #c1d1dc; }
.guide-column > span { color: var(--blue); font-size: .72rem; font-weight: 900; letter-spacing: .1em; }
.guide-column h3 { margin: 65px 0 15px; font-size: 1.45rem; }
.guide-column ol, .guide-column ul { margin: 0; padding-left: 20px; color: var(--muted); }
.guide-column li + li { margin-top: 10px; }

.legal-head { padding-bottom: 42px; }
.prose { max-width: 790px; padding-block: 54px 110px; }
.prose h2 { margin: 47px 0 10px; color: var(--navy); font-size: 1.8rem; line-height: 1.12; letter-spacing: -.03em; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: #475f73; font-size: 1.03rem; }
.prose a { color: var(--blue-dark); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.not-found { min-height: 65vh; display: flex; flex-direction: column; justify-content: center; padding-block: 80px; }
.not-found h1 { max-width: 900px; }
.not-found > p:not(.label) { max-width: 570px; color: var(--muted); font-size: 1.1rem; }

.search-dialog { width: min(780px, calc(100% - 28px)); max-height: min(780px, calc(100vh - 28px)); padding: 0; color: var(--ink); background: #fff; border: 1px solid var(--ink); box-shadow: 14px 14px 0 var(--yellow); }
.search-dialog::backdrop { background: rgba(5,24,40,.76); }
.search-dialog > header { min-height: 51px; display: flex; align-items: center; justify-content: space-between; padding-left: 20px; color: #fff; background: var(--navy); font-size: .72rem; font-weight: 900; letter-spacing: .12em; }
.search-dialog > header button { min-height: 51px; padding: 0 18px; color: #fff; background: transparent; border: 0; border-left: 1px solid #516779; font-size: .75rem; font-weight: 800; }
.search-inner { padding: 36px; }
.search-inner label { display: block; font-size: clamp(2.25rem, 5vw, 4.1rem); font-weight: 850; line-height: .95; letter-spacing: -.055em; }
.search-inner > input { width: 100%; min-height: 56px; margin: 25px 0; padding: 0 14px; border: 1px solid var(--ink); border-radius: 0; }
.search-results { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.search-results a { min-width: 0; display: grid; grid-template-columns: 52px minmax(0,1fr) auto; align-items: center; gap: 11px; padding: 9px; background: #fff; }
.search-results a:last-child:nth-child(odd) { grid-column: 1 / -1; }
.search-results a:hover { background: #edf4ff; }
.search-results img { width: 52px; height: 52px; object-fit: cover; }
.search-results span { min-width: 0; }
.search-results strong, .search-results small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-results strong { font-size: .82rem; }
.search-results small { color: var(--muted); font-size: .7rem; }
.empty-result { grid-column: 1 / -1; margin: 0; padding: 22px; background: #fff; color: var(--muted); }

.site-footer { color: #c6d5df; background: var(--navy); }
.footer-top { min-height: 260px; display: flex; align-items: center; justify-content: space-between; gap: 40px; border-bottom: 1px solid #40576a; }
.footer-top .label { color: #70dcd8; }
.footer-top h2 { color: #fff; font-size: clamp(2.4rem, 5vw, 4.6rem); }
.footer-random { min-height: 58px; display: inline-flex; align-items: center; gap: 40px; padding: 0 20px; color: var(--navy); background: var(--yellow); border: 0; font-size: .875rem; font-weight: 900; }
.footer-random:hover { background: #fff; }
.footer-links { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 45px; padding-block: 60px; }
.footer-links > div { display: flex; flex-direction: column; gap: 9px; }
.footer-links strong { margin-bottom: 8px; color: #fff; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-links a:not(.brand) { color: #a9bdca; font-size: .875rem; }
.footer-links a:hover { color: #fff; }
.footer-base { min-height: 58px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #40576a; color: #7892a4; font-size: .72rem; }

.player-page { min-height: 100vh; overflow: hidden; color: #fff; background: #051725; }
.player-shell { width: min(1500px,100%); min-height: 100vh; display: flex; flex-direction: column; margin: auto; padding: 12px; }
.player-header { min-height: 58px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.player-header > a { font-size: .78rem; font-weight: 800; }
.player-header .brand { font-size: .9rem; }
.player-header .brand img { width: 34px; height: 34px; }
.player-header > div { display: flex; justify-content: end; gap: 7px; }
.player-header button { min-height: 38px; padding: 0 12px; color: #fff; background: transparent; border: 1px solid #526878; font-size: .75rem; }
.player-stage { position: relative; flex: 1; min-height: 0; overflow: hidden; background: #000; border: 1px solid #405565; }
.player-stage iframe { width: 100%; height: 100%; min-height: calc(100vh - 86px); display: block; border: 0; background: #000; }
.player-loading { position: absolute; z-index: 2; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 15px; color: #fff; background: #051725; transition: opacity .25s; }
.player-loading.is-hidden { pointer-events: none; opacity: 0; }
.player-loading img { width: 92px; height: 92px; object-fit: cover; border: 4px solid var(--yellow); }
.player-loading strong { font-size: .9rem; }
.player-loading span { width: 115px; height: 3px; overflow: hidden; background: #3e5362; }
.player-loading span::after { width: 48%; height: 100%; display: block; background: var(--cyan); content: ""; animation: loading 1s ease-in-out infinite alternate; }
.rotate-note { display: none; margin: 7px 0 0; color: #849aa9; text-align: center; font-size: .7rem; }
@keyframes loading { to { transform: translateX(110%); } }

@media (max-width: 1080px) {
  .header-row { gap: 25px; }
  .desktop-nav a { min-width: auto; padding-inline: 13px; }
  .game-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .launch-board { grid-template-columns: minmax(0,1fr) minmax(370px,.85fr); }
  .collection-hero > .shell { grid-template-columns: 85px minmax(0,1fr); }
  .collection-hero .primary-button { grid-column: 2; justify-self: start; margin-bottom: 35px; }
  .game-guide { grid-template-columns: 1fr 1fr; }
  .guide-summary { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  :root { --shell: min(100% - 30px, 720px); }
  .service-strip span:last-child { display: none; }
  .header-row { min-height: 68px; grid-template-columns: 1fr auto; }
  .desktop-nav, .route-bar, .search-button { display: none; }
  .menu-button { display: inline-flex; }
  .launch-board { width: 100%; grid-template-columns: 1fr; border: 0; }
  .launch-intro { min-height: 490px; padding: 60px 24px; }
  .launch-intro h1 { font-size: clamp(3.4rem, 13vw, 5.4rem); }
  .quick-launch { width: var(--shell); margin: 0 auto 38px; }
  .collection-band-grid { grid-template-columns: 1fr 1fr; }
  .route-card:nth-child(2) { border-right: 0; }
  .route-card:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.28); }
  .game-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .split-feature { grid-template-columns: 1fr; gap: 45px; }
  .split-heading { position: static; }
  .seasonal-grid { grid-template-columns: 1fr 1fr; }
  .page-head { grid-template-columns: 1fr; gap: 25px; }
  .catalog-bar { grid-template-columns: 1fr; }
  .filters { justify-content: start; }
  .collection-directory { grid-template-columns: 1fr; }
  .directory-row:nth-child(2) { border-top: 0; }
  .directory-row:nth-child(even) { border-left: 1px solid var(--ink); }
  .collection-hero > .shell { min-height: 0; grid-template-columns: 68px 1fr; padding-block: 55px; }
  .collection-hero .primary-button { margin-bottom: 0; }
  .game-detail { grid-template-columns: 1fr; gap: 45px; }
  .detail-cover { width: min(430px, calc(100% - 15px)); }
  .footer-top { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 55px; }
}

@media (max-width: 580px) {
  :root { --shell: calc(100% - 24px); }
  .brand b, .brand small { font-size: 1rem; }
  .launch-intro { min-height: auto; padding: 44px 20px 48px; }
  .launch-intro h1 { font-size: clamp(3rem, 13vw, 3.25rem); line-height: .94; }
  .launch-intro > p:not(.label) { margin-top: 20px; font-size: 1rem; }
  .launch-actions { margin-top: 24px; }
  .launch-actions, .detail-actions { align-items: stretch; flex-direction: column; }
  .launch-actions > *, .detail-actions > * { width: 100%; }
  .launch-actions .text-button { width: max-content; align-self: flex-start; }
  .quick-game { min-height: 96px; grid-template-columns: 22px 58px minmax(0,1fr) auto; padding-inline: 15px; }
  .quick-game img { width: 58px; height: 58px; }
  .collection-band-grid { width: 100%; grid-template-columns: 1fr; }
  .route-card { min-height: 108px; border: 0; border-bottom: 1px solid rgba(255,255,255,.28); }
  .route-card:first-child { border-left: 0; }
  .route-card:nth-child(2) { border-right: 0; }
  .game-shelf, .saved { padding-block: 66px 76px; }
  .section-title { align-items: flex-start; flex-direction: column; }
  .section-title h2 { font-size: 2.4rem; }
  .game-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px 10px; }
  .card-copy p { display: none; }
  .seasonal-grid { grid-template-columns: 1fr; }
  .page-head { padding-block: 60px 38px; }
  .page-head h1 { font-size: clamp(3.25rem, 16vw, 4.8rem); }
  .directory-row { min-height: 300px; grid-template-columns: 28px 1fr 20px; padding: 23px 17px; }
  .cover-stack { grid-template-columns: repeat(3, 58px); }
  .cover-stack img { width: 58px; height: 58px; }
  .collection-hero > .shell { grid-template-columns: 1fr; gap: 20px; }
  .collection-number { font-size: 2rem; }
  .collection-hero .primary-button { grid-column: 1; }
  .collection-hero h1 { font-size: 3.5rem; }
  .detail-main h1 { font-size: 3.7rem; }
  .game-guide { grid-template-columns: 1fr; border-left: 1px solid var(--ink); }
  .guide-summary { grid-column: auto; }
  .game-guide > div { min-height: 0; padding: 26px; }
  .guide-column h3 { margin-top: 35px; }
  .search-inner { padding: 25px 18px; }
  .search-results { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 35px 22px; }
  .footer-links .brand { grid-column: 1 / -1; }
  .footer-base { align-items: flex-start; flex-direction: column; justify-content: center; gap: 3px; }
  .player-shell { padding: 7px; }
  .player-header { grid-template-columns: 1fr auto; }
  .player-header .brand { display: none; }
  .player-header > a span { display: none; }
  .player-stage iframe { min-height: calc(100vh - 76px); }
  .rotate-note { display: block; }
}

@media (max-width: 340px) {
  .header-row { gap: 10px; }
  .brand { gap: 7px; }
  .brand img { width: 36px; height: 36px; }
  .brand b, .brand small { font-size: .85rem; }
  .menu-button { min-height: 40px; gap: 7px; padding-inline: 10px; font-size: .8125rem; }
}

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

@media (hover: none) {
  .play-chip { transform: none; }
}
