:root {
  color-scheme: dark;
  --ink: #0d0f0c;
  --surface: #131611;
  --surface-2: #191d17;
  --paper: #f4f2e9;
  --muted: #a6aa9f;
  --line: rgba(244, 242, 233, .13);
  --line-strong: rgba(244, 242, 233, .25);
  --signal: #d7ff3f;
  --signal-dark: #0d0f0c;
  --shell: 1240px;
  --radius: 14px;
  --shadow: 0 28px 80px rgba(0, 0, 0, .28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
    var(--ink);
  background-size: 72px 72px;
  color: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
a, button { touch-action: manipulation; }
::selection { background: var(--signal); color: var(--ink); }
.shell { width: min(var(--shell), calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: 12px; z-index: 100; transform: translateY(-160%); padding: 10px 14px; background: var(--signal); color: var(--ink); font-weight: 800; border-radius: 6px; }
.skip-link:focus { transform: none; }

:focus-visible { outline: 3px solid var(--signal); outline-offset: 4px; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: rgba(13,15,12,.9); backdrop-filter: blur(18px); }
.header-inner { height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; }
.brand { width: max-content; min-width: 0; display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { width: 44px; height: 44px; flex: 0 0 auto; }
.brand-word { color: var(--paper); font-size: 1.38rem; font-weight: 900; line-height: 1; letter-spacing: -.055em; white-space: nowrap; }
.brand-word > span { color: var(--signal); }
.desktop-nav { display: flex; align-items: center; gap: 6px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.025); }
.desktop-nav a { padding: 8px 15px; color: var(--muted); font-size: .9rem; font-weight: 680; border-radius: 999px; }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--paper); background: var(--surface-2); }
.header-actions { display: flex; justify-content: flex-end; align-items: center; }
.search-trigger { min-height: 42px; display: flex; align-items: center; gap: 9px; padding: 0 10px 0 13px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); cursor: pointer; }
.search-trigger:hover { border-color: var(--line-strong); }
.search-trigger svg, .search-top svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.search-trigger span { font-size: .9rem; color: var(--muted); }
kbd { min-width: 24px; padding: 2px 6px; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); font: 700 .75rem/1.4 ui-monospace, monospace; }
.menu-button { display: none; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); background: var(--surface); border-radius: 9px; cursor: pointer; }
.menu-button svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.mobile-menu { padding: 12px 20px 20px; border-top: 1px solid var(--line); background: var(--ink); }
.mobile-menu a { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); font-weight: 700; }
.mobile-menu a.active { color: var(--signal); }

.intro { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: end; padding-block: 64px 32px; }
.eyebrow, .kicker { margin: 0 0 10px; color: var(--muted); font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 9px; }
.eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 5px rgba(215,255,63,.1); }
.intro h1 { max-width: 740px; margin: 0; font-size: clamp(3.3rem, 7vw, 7rem); line-height: .88; letter-spacing: -.07em; font-weight: 850; }
.intro-copy { max-width: 410px; justify-self: end; margin: 0 0 8px; color: var(--muted); font-size: 1.06rem; line-height: 1.65; }

.feature-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, .75fr); gap: 18px; }
.feature-card { position: relative; min-height: 490px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.feature-art { position: absolute; inset: 0 0 0 auto; width: 68%; height: 100%; object-fit: cover; image-rendering: auto; transform: scale(1.01); }
.feature-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,9,8,.97) 0%, rgba(8,9,8,.76) 36%, rgba(8,9,8,.14) 76%), linear-gradient(0deg, rgba(8,9,8,.82), transparent 45%); }
.feature-content { position: absolute; inset: auto auto 0 0; width: min(540px, 72%); padding: 42px; }
.feature-meta { display: flex; gap: 8px; margin-bottom: 18px; }
.feature-meta span { padding: 6px 9px; border: 1px solid rgba(255,255,255,.22); border-radius: 5px; background: rgba(0,0,0,.32); color: #deddd7; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(8px); }
.feature-content h2 { margin: 0; font-size: clamp(2.6rem, 5vw, 5rem); line-height: .94; letter-spacing: -.055em; }
.feature-content p { max-width: 430px; margin: 17px 0 25px; color: #d0d1ca; font-size: 1rem; }
.primary-button { display: inline-flex; min-height: 48px; align-items: center; gap: 34px; padding: 0 17px 0 20px; border-radius: 7px; background: var(--signal); color: var(--signal-dark); font-weight: 850; }
.primary-button:hover { background: #e1ff6f; transform: translateY(-1px); }

.quick-picks { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.section-heading.compact { margin-bottom: 17px; }
.section-heading h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.65rem); line-height: 1; letter-spacing: -.045em; }
.section-heading.compact h2 { font-size: 1.45rem; }
.section-heading > a { padding-bottom: 4px; color: var(--muted); font-size: .9rem; font-weight: 800; }
.section-heading > a:hover { color: var(--paper); }
.quick-card { display: grid; grid-template-columns: 78px 1fr auto; align-items: center; gap: 14px; min-height: 108px; padding: 14px 4px; border-top: 1px solid var(--line); }
.quick-card img { width: 78px; height: 78px; object-fit: cover; border-radius: 12px; }
.quick-card span { display: grid; gap: 3px; }
.quick-card strong { font-size: 1rem; }
.quick-card small { color: var(--muted); font-size: .8rem; }
.quick-card b { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: .9rem; transition: .2s ease; }
.quick-card:hover b { border-color: var(--signal); background: var(--signal); color: var(--ink); }

.ad-wrap { padding-block: 28px; }
.ad-slot { display: grid; place-items: center; border: 1px dashed rgba(244,242,233,.16); border-radius: 8px; background: linear-gradient(135deg, rgba(255,255,255,.018), rgba(255,255,255,.008)); color: #74786f; }
.ad-slot span { font-size: .65rem; letter-spacing: .13em; text-transform: uppercase; }
.ad-slot--leaderboard { width: min(970px, 100%); min-height: 104px; margin-inline: auto; }

.library { padding-block: 26px 88px; }
.filter-row { display: flex; gap: 8px; overflow-x: auto; padding: 0 0 20px; scrollbar-width: none; }
.filter-row::-webkit-scrollbar { display: none; }
.filter-chip { flex: 0 0 auto; min-height: 39px; padding: 0 15px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; font-size: .87rem; font-weight: 750; }
.filter-chip:hover { color: var(--paper); border-color: var(--line-strong); }
.filter-chip.active { border-color: var(--signal); background: var(--signal); color: var(--ink); }
.game-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 26px 15px; }
.game-card[hidden] { display: none; }
.game-art { position: relative; aspect-ratio: 1; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.game-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s cubic-bezier(.2,.8,.2,1), filter .35s ease; }
.play-badge { position: absolute; right: 10px; bottom: 10px; transform: translateY(8px); opacity: 0; padding: 7px 10px; border-radius: 6px; background: var(--signal); color: var(--ink); font-size: .75rem; font-weight: 850; transition: .25s ease; }
.game-card:hover .game-art img { transform: scale(1.045); filter: brightness(.76); }
.game-card:hover .play-badge, .game-card a:focus-visible .play-badge { transform: none; opacity: 1; }
.game-card h3 { margin: 11px 0 2px; overflow: hidden; color: var(--paper); font-size: .96rem; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.game-card p { margin: 0; color: var(--muted); font-size: .8rem; }

.site-footer { border-top: 1px solid var(--line); background: #0a0c09; }
.search-dialog { width: min(680px, calc(100% - 30px)); max-height: min(720px, calc(100dvh - 30px)); padding: 0; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--surface); color: var(--paper); box-shadow: 0 30px 100px rgba(0,0,0,.7); }
.search-dialog::backdrop { background: rgba(5,6,5,.75); backdrop-filter: blur(7px); }
.search-panel { padding: 14px; }
.search-top { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; padding: 9px 10px 9px 14px; border: 1px solid var(--line); border-radius: 9px; background: var(--ink); }
.search-top input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--paper); font-size: 1rem; }
.search-top input::placeholder { color: #777b72; }
.search-top button { padding: 5px 8px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface-2); color: var(--muted); font-size: .73rem; }
.search-results { min-height: 160px; max-height: min(520px, 65dvh); overflow-y: auto; padding: 12px 2px 2px; overscroll-behavior: contain; }
.search-results > p { padding: 30px 16px; color: var(--muted); text-align: center; }
.search-results a { display: flex; justify-content: space-between; padding: 13px 14px; border-radius: 8px; }
.search-results a:hover { background: var(--surface-2); }
.search-results span { color: var(--muted); font-size: .82rem; }

@media (max-width: 1000px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .desktop-nav { display: none; }
  .menu-button { display: grid; margin-left: 8px; }
  .feature-layout { grid-template-columns: 1fr; }
  .quick-picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .quick-picks .section-heading { grid-column: 1 / -1; }
  .quick-card { grid-template-columns: 58px 1fr; min-height: 84px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; }
  .quick-card img { width: 58px; height: 58px; }
  .quick-card b { display: none; }
  .game-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 28px, var(--shell)); }
  .header-inner { height: 66px; gap: 12px; }
  .brand { gap: 9px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-word { font-size: 1.18rem; }
  .search-trigger { width: 44px; padding: 0; justify-content: center; }
  .search-trigger span, .search-trigger kbd { display: none; }
  .intro { grid-template-columns: 1fr; gap: 16px; padding-block: 36px 22px; }
  .intro h1 { max-width: 500px; font-size: clamp(3.1rem, 16vw, 4.8rem); }
  .intro-copy { justify-self: start; max-width: 520px; }
  .feature-card { min-height: 490px; }
  .feature-shade { background: linear-gradient(0deg, rgba(8,9,8,.98) 0%, rgba(8,9,8,.91) 43%, rgba(8,9,8,.05) 76%); }
  .feature-content { width: 100%; padding: 24px; }
  .feature-content h2 { font-size: 3.1rem; }
  .feature-content p { margin-block: 13px 20px; }
  .quick-picks { grid-template-columns: 1fr; padding: 18px; }
  .quick-picks .section-heading { grid-column: auto; }
  .quick-card { grid-template-columns: 62px 1fr auto; }
  .quick-card img { width: 62px; height: 62px; }
  .quick-card b { display: grid; }
  .ad-wrap { padding-block: 20px; }
  .ad-slot--leaderboard { min-height: 90px; }
  .library { padding-bottom: 60px; }
  .section-heading { align-items: end; }
  .section-heading h2 { font-size: 2rem; }
  .section-heading > a { font-size: .8rem; white-space: nowrap; }
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .play-badge { display: none; }
  .game-card h3 { font-size: .9rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Extended catalog, detail and player surfaces */
.category-strip { padding-block: 34px 64px; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.category-grid a { position: relative; min-height: 190px; padding: 25px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(19,22,17,.72); }
.category-grid a:hover { background: var(--surface-2); }
.category-grid span { color: var(--signal); font: 800 .72rem/1 ui-monospace, monospace; }
.category-grid strong { display: block; margin-top: 29px; font-size: 1.35rem; letter-spacing: -.025em; }
.category-grid p { max-width: 250px; margin: 8px 0 0; color: var(--muted); font-size: .86rem; }
.category-grid b { position: absolute; top: 22px; right: 22px; width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: .8rem; }
.category-grid a:hover b { border-color: var(--signal); background: var(--signal); color: var(--ink); }

.personal-section { padding-bottom: 72px; }
.personal-grid { grid-template-columns: repeat(6, 1fr); }
.bottom-ad { padding-bottom: 68px; }

.footer-main { min-height: 210px; display: grid; grid-template-columns: 1.7fr repeat(3, .7fr); gap: 40px; align-items: start; padding-block: 46px 38px; }
.footer-brand p { max-width: 280px; margin: 16px 0 0; color: var(--muted); }
.brand--footer { gap: 9px; }
.brand--footer .brand-mark { width: 38px; height: 38px; }
.brand--footer .brand-word { font-size: 1.12rem; }
.footer-main nav { display: grid; gap: 10px; }
.footer-main nav strong { margin-bottom: 3px; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-main nav a { color: var(--muted); font-size: .88rem; }
.footer-main nav a:hover { color: var(--paper); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 18px 24px; border-top: 1px solid var(--line); color: #777b72; font-size: .75rem; }

.page-head { padding-block: 74px 42px; }
.page-head h1 { max-width: 900px; margin: 0; font-size: clamp(3.7rem, 8vw, 7.6rem); line-height: .88; letter-spacing: -.07em; }
.page-head > p:last-child { max-width: 680px; margin: 25px 0 0; color: var(--muted); font-size: 1.08rem; line-height: 1.7; }
.page-head--narrow { max-width: 880px; margin-inline: auto; }
.page-head--narrow h1 { font-size: clamp(3.3rem, 7vw, 6.3rem); }

.category-directory { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding-block: 28px 78px; }
.category-directory-card { position: relative; min-height: 300px; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr; gap: 28px; overflow: hidden; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(19,22,17,.82); transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.category-directory-card:hover { border-color: var(--line-strong); background: var(--surface-2); transform: translateY(-2px); }
.category-label { color: var(--signal); font-size: .75rem; font-weight: 800; letter-spacing: .1em; line-height: 1; text-transform: uppercase; }
.category-preview { display: flex; justify-content: flex-end; padding-right: 42px; }
.category-preview img { width: 86px; height: 86px; object-fit: cover; border: 3px solid var(--surface); border-radius: 17px; box-shadow: 0 12px 34px rgba(0,0,0,.28); }
.category-preview img + img { margin-left: -24px; }
.category-directory-copy { align-self: end; }
.category-directory-copy h2 { margin: 0; font-size: clamp(2.3rem, 4vw, 4rem); line-height: .92; letter-spacing: -.055em; }
.category-directory-copy > span { display: block; max-width: 440px; margin-top: 13px; color: var(--muted); line-height: 1.65; }
.category-directory-card > b { position: absolute; right: 24px; bottom: 24px; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; transition: .2s ease; }
.category-directory-card:hover > b { border-color: var(--signal); background: var(--signal); color: var(--ink); }

.catalog { padding-block: 28px 78px; }
.catalog-tools { display: flex; justify-content: space-between; align-items: center; gap: 22px; margin-bottom: 25px; }
.catalog-search { width: min(340px, 100%); min-height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.catalog-search svg { width: 18px; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; }
.catalog-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--paper); }
.catalog-tools .filter-row { padding: 0; }
.game-grid--catalog { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 31px 18px; }
.empty-state { padding: 80px 20px; border: 1px solid var(--line); border-radius: var(--radius); text-align: center; }
.empty-state strong { font-size: 1.4rem; }
.empty-state p { color: var(--muted); }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; padding-block: 29px 18px; color: var(--muted); font-size: .78rem; }
.breadcrumb a:hover { color: var(--paper); }
.breadcrumb strong { color: var(--paper); }
.game-hero { display: grid; grid-template-columns: minmax(300px, .78fr) minmax(0, 1.22fr); gap: clamp(36px, 7vw, 90px); align-items: center; padding-block: 24px 42px; }
.game-cover { position: relative; max-width: 480px; aspect-ratio: 1; padding: 9%; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); }
.game-cover::before { content: ""; position: absolute; inset: 8%; border: 1px solid var(--line); border-radius: 16px; transform: translate(14px, 14px); }
.game-cover img { position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: 17px; }
.game-intro h1 { margin: 0; font-size: clamp(4rem, 8vw, 7.8rem); line-height: .84; letter-spacing: -.075em; }
.game-deck { max-width: 620px; margin: 25px 0 22px; color: #c9cbc4; font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.6; }
.game-facts { display: flex; flex-wrap: wrap; gap: 8px; }
.game-facts span { padding: 7px 10px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); font-size: .76rem; font-weight: 700; }
.game-actions { display: flex; align-items: center; gap: 10px; margin-top: 30px; }
.primary-button--large { min-height: 56px; padding-inline: 24px 19px; font-size: 1.02rem; }
.icon-button { min-height: 56px; display: inline-flex; align-items: center; gap: 9px; padding: 0 17px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); cursor: pointer; font-weight: 750; }
.icon-button svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.icon-button:hover { border-color: var(--line-strong); }
.favorite-button.is-saved { border-color: var(--signal); color: var(--signal); }
.favorite-button.is-saved svg { fill: var(--signal); }

.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(45px, 8vw, 110px); align-items: start; padding-block: 45px 75px; }
.game-guide { max-width: 760px; }
.game-guide section { padding: 12px 0 54px; border-bottom: 1px solid var(--line); }
.game-guide section + section { padding-top: 50px; }
.game-guide h2 { margin: 0 0 19px; font-size: clamp(2rem, 4vw, 3.15rem); line-height: 1; letter-spacing: -.05em; }
.game-guide > section > p:last-child { color: #c3c6be; font-size: 1.05rem; line-height: 1.85; }
.instruction-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.instruction-list li { display: grid; grid-template-columns: 54px 1fr; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.instruction-list span { color: var(--signal); font: 800 .75rem/1.8 ui-monospace, monospace; }
.instruction-list p { margin: 0; color: #c3c6be; }
.tip-list { margin: 0; padding: 0; list-style: none; counter-reset: tips; }
.tip-list li { counter-increment: tips; position: relative; margin-bottom: 11px; padding: 16px 18px 16px 54px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: #c3c6be; }
.tip-list li::before { content: counter(tips); position: absolute; left: 17px; top: 15px; color: var(--signal); font: 800 .78rem/1.6 ui-monospace, monospace; }
.detail-rail { position: sticky; top: 100px; }
.ad-wrap--rectangle { padding: 0 0 20px; }
.ad-slot--rectangle { min-height: 280px; }
.play-note { padding: 23px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.play-note > span { color: var(--signal); font-size: .72rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.play-note strong { display: block; margin-top: 11px; font-size: 1.3rem; }
.play-note p { color: var(--muted); font-size: .87rem; }
.play-note a { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; padding-top: 15px; border-top: 1px solid var(--line); font-weight: 800; }
.play-note a:hover { color: var(--signal); }
.related { padding-block: 28px 76px; }
.related .game-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.prose { max-width: 880px; margin-inline: auto; padding-bottom: 100px; }
.prose p, .prose li { color: #c3c6be; font-size: 1.04rem; line-height: 1.85; }
.prose p { margin: 0 0 24px; }
.prose h2 { margin: 54px 0 17px; font-size: 2rem; letter-spacing: -.04em; }
.prose a { color: var(--signal); text-decoration: underline; text-underline-offset: 4px; }
.not-found { min-height: 70vh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.not-found h1 { max-width: 800px; margin: 0; font-size: clamp(3rem, 8vw, 7rem); line-height: .9; letter-spacing: -.07em; }
.not-found > p:not(.eyebrow) { margin: 24px 0; color: var(--muted); }

.search-results a { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px; }
.search-results a img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; }
.search-results a > span { display: grid; gap: 2px; color: var(--paper); }
.search-results a small { color: var(--muted); font-size: .76rem; }
.search-results a b { color: var(--muted); font-size: .85rem; }

.play-page { background: #080a08; }
.play-page .site-header, .play-page .site-footer { display: none; }
.player-main { min-height: 100vh; padding-block: 18px 36px; }
.player-topbar { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.player-back { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .86rem; font-weight: 750; }
.player-back:hover { color: var(--paper); }
.player-back > span:first-child { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--paper); }
.player-tools { display: flex; gap: 7px; }
.player-tools button, .player-after button { min-height: 38px; display: inline-flex; align-items: center; gap: 7px; padding: 0 12px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--muted); cursor: pointer; font-size: .78rem; font-weight: 750; }
.player-tools button:hover, .player-after button:hover { color: var(--paper); border-color: var(--line-strong); }
.player-tools svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.player-wrap { display: grid; place-items: center; padding-block: 14px; }
.player-stage { position: relative; width: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #000; box-shadow: 0 35px 120px rgba(0,0,0,.65); }
.player-stage.is-landscape { aspect-ratio: 16 / 9; max-height: calc(100vh - 150px); }
.player-stage.is-portrait { width: min(520px, 100%); aspect-ratio: 9 / 16; max-height: calc(100vh - 150px); }
.player-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.player-loading { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #0b0d0a; transition: opacity .24s ease, visibility .24s ease; }
.player-loading::after { content: ""; width: 140px; height: 2px; margin-top: 23px; background: linear-gradient(90deg, var(--signal) 0 45%, rgba(255,255,255,.08) 45%); animation: loadline 1.2s ease-in-out infinite alternate; transform-origin: left; }
.player-loading img { width: 88px; height: 88px; margin-bottom: 15px; border-radius: 18px; }
.player-loading strong { font-size: 1.05rem; }
.player-loading span { margin-top: 4px; color: var(--muted); font-size: .78rem; }
.player-loading.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.orientation-note { margin: 13px 0 0; color: #777b72; font-size: .76rem; text-align: center; }
.player-after { display: flex; justify-content: center; align-items: center; gap: 13px; padding-top: 4px; color: var(--muted); font-size: .8rem; }
.player-after p { margin: 0; }
.player-after a { text-decoration: underline; text-underline-offset: 3px; }
@keyframes loadline { from { transform: scaleX(.25); } to { transform: scaleX(1); } }

@media (max-width: 1000px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .personal-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .game-grid--catalog { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .content-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 45px; }
  .footer-main { grid-template-columns: 1.4fr repeat(3, .7fr); gap: 25px; }
}

@media (max-width: 720px) {
  .feature-art { inset: 0; width: 100%; height: 57%; object-position: center; }
  .category-strip { padding-block: 20px 48px; }
  .category-grid { grid-template-columns: 1fr 1fr; }
  .category-grid a { min-height: 170px; padding: 20px; }
  .category-grid strong { margin-top: 26px; font-size: 1.12rem; }
  .category-grid p { font-size: .78rem; }
  .category-directory { grid-template-columns: 1fr; gap: 12px; padding-block: 18px 58px; }
  .category-directory-card { min-height: 260px; display: flex; flex-direction: column; padding: 21px; }
  .category-preview { position: absolute; top: 21px; right: 21px; padding: 0; }
  .category-preview img { width: 70px; height: 70px; border-radius: 14px; }
  .category-directory-copy { width: 100%; margin-top: auto; padding-right: 38px; }
  .category-directory-copy > span { max-width: calc(100% - 28px); font-size: .9rem; }
  .category-directory-card > b { right: 19px; bottom: 19px; }
  .personal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px 22px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 5px; }
  .page-head { padding-block: 52px 28px; }
  .page-head h1 { font-size: clamp(3.5rem, 17vw, 5.3rem); }
  .page-head > p:last-child { margin-top: 18px; font-size: .98rem; }
  .catalog { padding-top: 17px; }
  .catalog-tools { display: grid; }
  .catalog-search { width: 100%; }
  .catalog-tools .filter-row { width: calc(100vw - 28px); }
  .game-grid--catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px 12px; }
  .breadcrumb { padding-top: 20px; }
  .game-hero { grid-template-columns: 1fr; gap: 28px; padding-top: 10px; }
  .game-cover { width: min(80vw, 360px); justify-self: center; }
  .game-intro h1 { font-size: clamp(3.7rem, 17vw, 5.8rem); }
  .game-deck { margin-block: 18px; font-size: 1rem; }
  .game-actions { align-items: stretch; }
  .game-actions .primary-button { flex: 1; justify-content: space-between; }
  .icon-button { width: 58px; justify-content: center; padding: 0; }
  .icon-button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .content-layout { grid-template-columns: 1fr; padding-block: 24px 55px; }
  .detail-rail { position: static; }
  .ad-slot--rectangle { min-height: 250px; }
  .related .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prose { padding-bottom: 70px; }
  .player-main { padding-top: 8px; }
  .player-topbar { min-height: 48px; }
  .player-back > span:last-child { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .player-tools button { width: 40px; justify-content: center; padding: 0; }
  .player-tools button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .player-stage.is-landscape { width: calc(100% + 28px); border-right: 0; border-left: 0; border-radius: 0; }
  .player-stage.is-portrait { max-height: calc(100vh - 116px); }
  .orientation-note { font-size: .72rem; }
  .player-after { flex-wrap: wrap; }
}
