:root {
  --paper: #fffaf0;
  --paper-2: #f6efdf;
  --ink: #17233a;
  --muted: #657083;
  --orange: #ff6238;
  --blue: #4667f2;
  --yellow: #ffd45c;
  --mint: #56cfa7;
  --line: #17233a;
  --shell: min(1180px, calc(100% - 40px));
  --sans: "Aptos", "Segoe UI", Arial, sans-serif;
  --serif: Iowan Old Style, Baskerville, Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { color: inherit; font: inherit; }
button { cursor: pointer; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; left: 12px; top: 12px; padding: 10px 14px; background: var(--ink); color: white; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.site-header { position: relative; z-index: 20; border-bottom: 1.5px solid rgba(23,35,58,.18); background: rgba(255,250,240,.94); }
.header-inner { min-height: 82px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 9px; width: max-content; font-size: 29px; font-weight: 850; letter-spacing: -.07em; line-height: 1; }
.brand img { width: 46px; height: 46px; }
.brand-dot { color: var(--orange); }
.desktop-nav { display: flex; align-items: center; gap: 10px; }
.desktop-nav a { position: relative; padding: 9px 14px; font-size: 14px; font-weight: 750; }
.desktop-nav a::after { content: ""; position: absolute; height: 4px; left: 14px; right: 14px; bottom: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.desktop-nav a:hover::after, .desktop-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { justify-self: end; display: flex; gap: 9px; align-items: center; }
.round-button { width: 43px; height: 43px; padding: 0; border: 1.5px solid var(--ink); border-radius: 50%; background: transparent; font-size: 25px; line-height: 1; }
.round-button:hover { background: var(--yellow); }
.menu-button { display: none; align-items: center; gap: 12px; padding: 10px 14px; border: 1.5px solid var(--ink); background: transparent; font-weight: 750; }
.menu-button i, .menu-button i::after { display: block; width: 18px; height: 2px; background: var(--ink); content: ""; }
.menu-button i::after { transform: translateY(5px); }
.mobile-menu { position: absolute; left: 0; right: 0; top: 100%; min-height: calc(100vh - 82px); padding: 24px 20px; background: var(--paper); border-top: 1.5px solid var(--ink); }
.mobile-menu a, .mobile-menu button { display: block; width: 100%; padding: 17px 0; border: 0; border-bottom: 1px solid rgba(23,35,58,.2); background: transparent; text-align: left; font: 700 28px/1.2 var(--serif); }
.eyebrow, .kicker { margin: 0 0 16px; text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 850; }
.eyebrow span { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: var(--orange); }
.home-hero { min-height: 660px; padding: 88px 0 76px; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 70px; }
.hero-copy h1, .page-intro h1, .mood-hero h1 { margin: 0; font: 800 clamp(60px, 7vw, 104px)/.87 var(--serif); letter-spacing: -.065em; }
.hero-copy h1 em, .page-intro h1 em { color: var(--orange); font-weight: 400; }
.hero-deck { max-width: 560px; margin: 28px 0 32px; font-size: clamp(18px, 2vw, 23px); line-height: 1.5; }
.hero-actions, .detail-actions, .not-found > div { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 52px; padding: 13px 20px; border: 1.5px solid var(--ink); background: var(--orange); box-shadow: 4px 4px 0 var(--ink); font-weight: 800; transition: transform .15s, box-shadow .15s; }
.primary-button:hover { transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--ink); }
.primary-button.dark { background: var(--ink); color: white; box-shadow: 4px 4px 0 var(--yellow); }
.text-button { display: inline-flex; gap: 18px; align-items: center; padding: 8px 0; border: 0; border-bottom: 2px solid currentColor; background: none; font-weight: 800; }
.hero-collage { position: relative; min-height: 500px; }
.collage-card { position: absolute; display: block; width: 245px; padding: 13px 13px 14px; border: 2px solid var(--ink); background: white; box-shadow: 8px 8px 0 var(--ink); transition: transform .2s ease; }
.collage-card:hover { z-index: 5; transform: rotate(0) translateY(-5px); }
.collage-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.collage-card strong { display: block; padding: 12px 3px 0; line-height: 1.2; }
.card-a { right: 33px; top: 0; transform: rotate(6deg); background: var(--yellow); }
.card-b { left: 6px; top: 105px; transform: rotate(-8deg); background: #dff5eb; }
.card-c { right: 54px; bottom: 2px; transform: rotate(3deg); background: #dfe6ff; }
.scribble { position: absolute; left: 39%; top: 28px; color: var(--orange); font: italic 700 28px var(--serif); transform: rotate(-10deg); }
.ad-slot { min-height: 110px; margin-block: 12px 72px; border-block: 1px solid rgba(23,35,58,.18); display: flex; flex-direction: column; align-items: center; justify-content: center; color: #8a8f97; font-size: 11px; letter-spacing: .12em; text-align: center; text-transform: uppercase; }
.ad-slot div { margin-top: 7px; font-size: 10px; opacity: .7; }
.section-heading { margin-bottom: 30px; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.section-heading h2, .spotlight h2, .game-notes h2, .footer-lead h2 { max-width: 720px; margin: 0; font: 700 clamp(39px, 5vw, 64px)/.98 var(--serif); letter-spacing: -.045em; }
.mood-strip { padding-bottom: 100px; }
.mood-links { border-top: 1.5px solid var(--ink); }
.mood-link { display: grid; grid-template-columns: 75px 1fr auto; gap: 22px; align-items: center; min-height: 112px; padding: 19px 22px; border-bottom: 1.5px solid var(--ink); transition: padding .2s; }
.mood-link:hover { padding-inline: 31px 13px; }
.mood-link > span { font: italic 28px var(--serif); }
.mood-link strong { display: block; font: 700 29px var(--serif); }
.mood-link small { color: rgba(23,35,58,.78); }
.mood-link b { font-size: 27px; }
.mood-0 { background: #ffe3d8; } .mood-1 { background: #fff0b2; } .mood-2 { background: #dff5eb; } .mood-3 { background: #dfe6ff; }
.spotlight { padding: 95px 0; background: var(--blue); color: white; }
.spotlight-grid { display: grid; grid-template-columns: .9fr .75fr 1fr; gap: 50px; align-items: center; }
.spotlight-copy > p:not(.eyebrow) { max-width: 440px; margin: 24px 0 30px; font-size: 18px; }
.spotlight-art { position: relative; padding: 18px; border: 2px solid white; background: var(--yellow); box-shadow: 8px 8px 0 var(--ink); transform: rotate(-3deg); }
.spotlight-art img { width: 100%; }
.spotlight-art > span { position: absolute; right: -25px; top: -20px; padding: 9px 13px; background: var(--orange); border: 1.5px solid var(--ink); color: var(--ink); font-weight: 800; transform: rotate(7deg); }
.quick-list > .eyebrow { border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 12px; }
.mini-game { display: grid; grid-template-columns: 28px 54px 1fr auto; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.35); }
.mini-game:hover { color: var(--yellow); }
.mini-game img { width: 54px; height: 54px; border-radius: 12px; }
.mini-game strong, .mini-game small { display: block; line-height: 1.2; }
.mini-game small { margin-top: 4px; opacity: .72; }
.mini-index { font: italic 15px var(--serif); opacity: .65; }
.game-section, .saved-section { padding-block: 100px; }
.game-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 50px 24px; }
.game-card[hidden] { display: none; }
.game-art { position: relative; display: block; padding: 18px; border: 1.5px solid var(--ink); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.tone-0 .game-art { background: #ffe3d8; } .tone-1 .game-art { background: #fff0b2; } .tone-2 .game-art { background: #dff5eb; } .tone-3 .game-art { background: #dfe6ff; }
.game-art:hover { transform: translate(-3px,-3px); box-shadow: 7px 7px 0 var(--ink); }
.game-art img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 19%; }
.card-arrow { position: absolute; right: 10px; top: 10px; display: grid; place-items: center; width: 38px; height: 38px; border: 1.5px solid var(--ink); border-radius: 50%; background: var(--paper); font-weight: 900; }
.game-card-copy { padding-top: 15px; }
.game-card-copy > span { color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.game-card h3 { margin: 5px 0 7px; font: 700 23px/1.1 var(--serif); }
.game-card h3 a:hover { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 4px; }
.game-card p { margin: 0; color: var(--muted); font-size: 14px; }
.site-footer { padding-top: 88px; background: var(--ink); color: white; }
.footer-lead { padding-bottom: 70px; display: flex; align-items: flex-end; justify-content: space-between; gap: 45px; }
.footer-lead h2 { max-width: 760px; }
.text-button.light { color: var(--yellow); }
.footer-grid { padding-block: 44px; border-block: 1px solid rgba(255,255,255,.25); display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 50px; }
.brand-light .brand-dot { color: var(--yellow); }
.footer-grid div strong, .footer-grid div a { display: block; }
.footer-grid div strong { margin-bottom: 12px; color: var(--yellow); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.footer-grid div a { padding: 4px 0; color: rgba(255,255,255,.75); }
.footer-grid div a:hover { color: white; }
.footer-bottom { padding-block: 22px; display: flex; justify-content: space-between; color: rgba(255,255,255,.57); font-size: 12px; }
.search-dialog { width: min(760px, calc(100% - 30px)); max-height: min(760px, calc(100vh - 30px)); padding: 0; border: 2px solid var(--ink); background: var(--paper); box-shadow: 10px 10px 0 var(--ink); }
.search-dialog::backdrop { background: rgba(23,35,58,.68); }
.search-dialog > form { position: absolute; right: 18px; top: 18px; }
.search-panel { padding: 65px clamp(22px, 7vw, 70px) 55px; }
.search-panel label { display: block; max-width: 570px; font: 700 clamp(32px, 6vw, 54px)/1 var(--serif); }
.search-panel input { width: 100%; margin: 27px 0 18px; padding: 15px 0; border: 0; border-bottom: 2px solid var(--ink); outline: 0; background: transparent; font-size: 20px; }
.search-results a { display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: 15px; padding: 10px 0; border-bottom: 1px solid rgba(23,35,58,.2); }
.search-results img { border-radius: 13px; }
.search-results small, .search-results strong { display: block; }
.search-results small { color: var(--muted); }
.page-intro { padding-block: 92px 75px; }
.page-intro h1 { max-width: 930px; }
.page-intro > p:last-child { max-width: 670px; margin: 27px 0 0 auto; font-size: 21px; }
.catalog { padding-bottom: 110px; }
.catalog-tools { margin-bottom: 28px; padding: 24px 0; border-block: 1.5px solid var(--ink); display: flex; justify-content: space-between; gap: 35px; align-items: center; }
.catalog-search { flex: 1; display: flex; align-items: center; gap: 15px; }
.catalog-search span { font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }
.catalog-search input { width: min(360px, 100%); padding: 10px 3px; border: 0; border-bottom: 1.5px solid var(--ink); background: transparent; outline: 0; }
.filter-row { display: flex; gap: 7px; flex-wrap: wrap; }
.filter-row button { padding: 8px 12px; border: 1.5px solid var(--ink); background: transparent; font-size: 13px; font-weight: 750; }
.filter-row button.is-active, .filter-row button:hover { background: var(--ink); color: white; }
.result-note { min-height: 24px; color: var(--muted); font-size: 13px; }
.mood-directory { padding-bottom: 110px; }
.mood-panel { position: relative; min-height: 245px; padding: 34px 42px; border: 1.5px solid var(--ink); border-bottom: 0; display: grid; grid-template-columns: 80px 1fr 300px auto; gap: 25px; align-items: center; overflow: hidden; }
.mood-panel:last-child { border-bottom: 1.5px solid var(--ink); }
.mood-panel:hover .mood-stack img { transform: rotate(0) translateY(-5px); }
.mood-number { align-self: start; font: italic 25px var(--serif); }
.mood-panel p { margin: 0 0 3px; font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }
.mood-panel h2 { margin: 0; font: 700 clamp(38px,5vw,62px)/1 var(--serif); }
.mood-panel small { display: block; max-width: 480px; margin-top: 12px; }
.mood-panel > b { font-size: 30px; }
.mood-stack { position: relative; height: 150px; }
.mood-stack img { position: absolute; width: 145px; height: 145px; border: 2px solid var(--ink); border-radius: 20%; transition: transform .2s; }
.mood-stack img:nth-child(1) { left: 0; transform: rotate(-7deg); }
.mood-stack img:nth-child(2) { left: 80px; transform: rotate(5deg); }
.mood-stack img:nth-child(3) { left: 155px; transform: rotate(-2deg); }
.breadcrumbs { padding-top: 24px; display: flex; gap: 9px; align-items: center; color: var(--muted); font-size: 12px; }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; }
.mood-hero { margin-top: 22px; padding-block: 76px 86px; border-block: 1.5px solid var(--ink); }
.mood-hero h1 { max-width: 950px; }
.mood-hero p:last-child { max-width: 610px; margin: 25px 0 0; font-size: 20px; }
.game-detail { padding-block: 65px 80px; display: grid; grid-template-columns: minmax(300px, 470px) 1fr; gap: clamp(50px, 8vw, 110px); align-items: center; }
.detail-art { position: relative; padding: clamp(25px,5vw,60px); border: 1.5px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); }
.detail-art.tone-0 { background: #ffe3d8; } .detail-art.tone-1 { background: #fff0b2; } .detail-art.tone-2 { background: #dff5eb; } .detail-art.tone-3 { background: #dfe6ff; }
.detail-art img { width: 100%; border-radius: 20%; }
.detail-art > span { position: absolute; bottom: 15px; right: -25px; padding: 7px 13px; border: 1.5px solid var(--ink); background: var(--yellow); font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; transform: rotate(-5deg); }
.detail-copy h1 { margin: 0; font: 700 clamp(55px,7vw,94px)/.9 var(--serif); letter-spacing: -.055em; }
.detail-lede { max-width: 620px; margin: 26px 0 30px; font-size: 21px; }
.save-button { min-height: 52px; padding: 12px 16px; border: 1.5px solid var(--ink); background: transparent; font-weight: 800; }
.save-button[aria-pressed="true"] { background: var(--yellow); }
.save-button span { font-size: 20px; }
.play-note { color: var(--muted); font-size: 12px; }
.game-notes { padding-block: 60px 100px; display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 28px; align-items: start; }
.game-notes > div:first-child { padding-right: 30px; }
.game-notes > div:first-child > p:last-child { font-size: 18px; }
.note-card { padding: 26px; border: 1.5px solid var(--ink); background: #dfe6ff; box-shadow: 5px 5px 0 var(--ink); }
.note-card.butter { background: #fff0b2; }
.note-card h3 { margin: 0 0 14px; font: 700 27px var(--serif); }
.note-card ol, .note-card ul { margin: 0; padding-left: 20px; }
.note-card li + li { margin-top: 9px; }
.legal-intro { border-bottom: 1.5px solid var(--ink); }
.prose { max-width: 780px; padding-block: 70px 110px; }
.prose h2 { margin: 48px 0 12px; font: 700 34px/1.1 var(--serif); }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 18px; }
.prose a { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; }
.not-found { min-height: 650px; padding-block: 110px; }
.not-found h1 { max-width: 850px; margin: 0; font: 700 clamp(62px,9vw,120px)/.88 var(--serif); letter-spacing: -.06em; }
.not-found > p:not(.eyebrow) { max-width: 560px; margin: 30px 0; font-size: 20px; }
.player-page { min-height: 100vh; background: #10182a; color: white; overflow: hidden; }
.player-shell { min-height: 100vh; display: flex; flex-direction: column; padding: 12px; }
.player-header { min-height: 58px; padding: 0 8px 10px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.player-back { justify-self: start; color: rgba(255,255,255,.8); }
.player-tools { justify-self: end; display: flex; gap: 7px; }
.player-tools button { padding: 8px 11px; border: 1px solid rgba(255,255,255,.4); background: transparent; color: white; }
.player-tools button:hover { border-color: var(--yellow); color: var(--yellow); }
.player-stage { position: relative; flex: 1; min-height: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.3); background: black; }
.player-stage iframe { width: 100%; height: 100%; min-height: calc(100vh - 92px); border: 0; background: #000; }
.player-loading { position: absolute; z-index: 2; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px; background: #10182a; transition: opacity .25s, visibility .25s; }
.player-loading.is-ready { opacity: 0; visibility: hidden; }
.player-loading img { width: 112px; border-radius: 22px; }
.player-loading span { width: 150px; height: 3px; overflow: hidden; background: rgba(255,255,255,.2); }
.player-loading span::after { content: ""; display: block; width: 55%; height: 100%; background: var(--orange); animation: load 1s infinite alternate ease-in-out; }
.rotate-note { display: none; margin: 8px 0 0; color: rgba(255,255,255,.6); text-align: center; font-size: 11px; }
@keyframes load { to { transform: translateX(82%); } }

@media (max-width: 980px) {
  .home-hero { grid-template-columns: 1fr; padding-top: 65px; }
  .hero-copy { max-width: 730px; }
  .hero-collage { width: min(620px, 100%); margin-inline: auto; }
  .game-grid { grid-template-columns: repeat(3, 1fr); }
  .spotlight-grid { grid-template-columns: 1fr 1fr; }
  .quick-list { grid-column: 1 / -1; }
  .mood-panel { grid-template-columns: 50px 1fr 220px auto; padding-inline: 24px; }
  .mood-stack img { width: 115px; height: 115px; }
  .mood-stack img:nth-child(2) { left: 60px; }.mood-stack img:nth-child(3) { left: 115px; }
  .game-notes { grid-template-columns: 1fr 1fr; }
  .game-notes > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  :root { --shell: min(100% - 28px, 620px); }
  .header-inner { min-height: 70px; grid-template-columns: 1fr auto; }
  .brand { font-size: 26px; }.brand img { width: 42px; height: 42px; }
  .desktop-nav, .header-actions .round-button { display: none; }
  .menu-button { display: flex; }
  .home-hero { min-height: 0; padding: 52px 0 65px; gap: 52px; }
  .hero-copy h1, .page-intro h1, .mood-hero h1 { font-size: clamp(46px, 12vw, 64px); }
  .hero-deck { margin-block: 22px 25px; font-size: 18px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 15px; }
  .hero-collage { min-height: 385px; }
  .collage-card { width: min(195px, 52vw); padding: 9px; box-shadow: 6px 6px 0 var(--ink); }
  .collage-card strong { font-size: 13px; }.card-a { right: 8px; }.card-b { left: 2px; top: 92px; }.card-c { right: 22px; }
  .scribble { left: 42%; font-size: 21px; }
  .ad-slot { min-height: 90px; margin-bottom: 60px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 15px; }
  .section-heading h2, .spotlight h2, .game-notes h2, .footer-lead h2 { font-size: 40px; }
  .mood-link { grid-template-columns: 44px 1fr auto; min-height: 105px; padding-inline: 10px; gap: 10px; }
  .mood-link strong { font-size: 23px; }.mood-link small { display: none; }
  .spotlight { padding-block: 70px; }.spotlight-grid { grid-template-columns: 1fr; gap: 40px; }.quick-list { grid-column: auto; }
  .spotlight-art { width: min(360px, calc(100% - 15px)); margin-inline: auto; }
  .game-section, .saved-section { padding-block: 72px; }
  .game-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 38px 14px; }
  .game-art { padding: 10px; }.game-card h3 { font-size: 19px; }.game-card p { display: none; }
  .footer-lead { align-items: flex-start; flex-direction: column; }.footer-grid { grid-template-columns: 1fr 1fr; gap: 35px; }.footer-grid > .brand { grid-column: 1 / -1; }
  .footer-bottom { gap: 8px; flex-direction: column; }
  .page-intro { padding-block: 65px 55px; }.page-intro > p:last-child { margin-left: 0; font-size: 18px; }
  .catalog-tools { align-items: stretch; flex-direction: column; }.catalog-search { width: 100%; }.catalog-search input { flex: 1; }.filter-row { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 5px; }.filter-row button { white-space: nowrap; }
  .mood-panel { min-height: 250px; grid-template-columns: 38px 1fr auto; padding: 25px 15px; }.mood-panel h2 { font-size: 38px; }.mood-panel small { font-size: 13px; }.mood-stack { display: none; }
  .game-detail { grid-template-columns: 1fr; padding-top: 42px; gap: 50px; }.detail-art { width: min(430px, calc(100% - 10px)); }.detail-copy h1 { font-size: 58px; }.detail-lede { font-size: 18px; }
  .game-notes { grid-template-columns: 1fr; padding-top: 30px; }.game-notes > div:first-child { grid-column: auto; padding-right: 0; }
  .player-shell { padding: 7px; }.player-header { grid-template-columns: 1fr auto; }.player-header .brand { display: none; }.player-back span { display: none; }.player-tools button { font-size: 12px; }.player-stage iframe { min-height: calc(100vh - 78px); }.rotate-note { display: block; }
}
@media (max-width: 390px) {
  .game-grid { grid-template-columns: 1fr; }.game-art { padding: 18px; }.game-card p { display: block; }
  .hero-copy h1, .page-intro h1, .mood-hero h1 { font-size: 45px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
