:root {
  color-scheme: light;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  color: #173c34;
  background: #f6f5ee;
  font-synthesis: none;
  --ink: #173c34;
  --muted: #64736a;
  --line: #dce0d4;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible { outline: 3px solid #bd4d21; outline-offset: 6px; }
.page { max-width: 1240px; padding: 0 48px; margin: auto; }
.skip-link { position: absolute; top: -80px; left: 20px; z-index: 20; padding: 12px; background: white; }
.skip-link:focus { top: 10px; }
.site-header { min-height: 100px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); gap: 20px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 850; letter-spacing: -.5px; text-decoration: none; }
.wordmark-dot { color: #b64c29; margin-left: -9px; }
.header-note { color: #50665a; font-size: 12px; display: flex; align-items: center; gap: 9px; }
.online-dot { display: inline-block; width: 7px; height: 7px; background: #528965; border-radius: 50%; flex-shrink: 0; }
.hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; padding: 74px 0 68px; }
.eyebrow { font-size: 10px; letter-spacing: 1.8px; line-height: 1.6; font-weight: 800; text-transform: uppercase; margin: 0 0 15px; }
.hero h1 { font-size: clamp(42px, 5.3vw, 66px); font-weight: 800; letter-spacing: -3.2px; line-height: 1.08; margin: 0 0 23px; }
.hero h1 span { color: #bc512c; position: relative; }
.hero h1 span::after { content: ""; height: 4px; background: #eab649; position: absolute; bottom: -6px; left: 0; right: 3px; border-radius: 50%; transform: rotate(-3deg); }
.intro { font-size: 15px; line-height: 1.8; max-width: 420px; color: var(--muted); margin: 0 0 27px; }
.primary-link { display: inline-flex; align-items: center; gap: 24px; text-decoration: none; background: var(--ink); color: #fffcef; border-radius: 7px; padding: 16px 21px; font-size: 13px; font-weight: 650; }
.primary-link:hover { background: #28614e; }
.hero-note { color: var(--muted); font-size: 11px; margin: 14px 0 0; }
.hero-art { min-height: 355px; background: #e8eddf; position: relative; border-radius: 45% 45% 20px 20px; display: grid; place-items: center; overflow: hidden; }
.controller { position: relative; width: 85%; z-index: 1; transform: rotate(-10deg); margin-top: 20px; }
.orbit { position: absolute; border: 1px solid #d3ddc8; border-radius: 50%; width: 340px; height: 340px; }
.orbit-two { width: 440px; height: 440px; }
.art-label { position: absolute; top: 28px; font-size: 9px; letter-spacing: 2px; font-weight: 750; }
.art-caption { position: absolute; bottom: 20px; display: flex; align-items: center; gap: 8px; font-size: 8px; letter-spacing: 1.8px; }
.art-sticker { position: absolute; right: 17px; bottom: 47px; z-index: 2; background: #fbf6df; padding: 16px 12px; border: 1px solid #ccd3b8; border-radius: 50%; transform: rotate(12deg); text-align: center; font-size: 11px; font-weight: 800; line-height: 1.2; }
.spark { position: absolute; font-size: 40px; font-weight: 300; }
.spark-one { top: 65px; left: 34px; transform: rotate(20deg); }
.spark-two { bottom: 58px; left: 45px; font-size: 24px; }
.collection { scroll-margin-top: 24px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 18px; padding: 27px 0; border-top: 1px solid var(--line); }
.section-heading .eyebrow { margin-bottom: 7px; color: var(--muted); }
h2 { font-size: 29px; letter-spacing: -1px; line-height: 1.2; margin: 0; }
.count-label { color: var(--muted); font-size: 9px; letter-spacing: 1.2px; padding-bottom: 4px; }
.game-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.game-card { border: 1px solid #d8ddcf; border-radius: 13px; overflow: hidden; text-decoration: none; background: #fffef9; transition: transform .18s, box-shadow .18s; }
.game-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px #173c3410; }
.card-art { position: relative; overflow: hidden; }
.card-art img { display: block; width: 100%; height: auto; aspect-ratio: 7 / 4; object-fit: cover; }
.game-number { position: absolute; left: 19px; top: 15px; font-size: 10px; font-weight: 700; opacity: .7; }
.player-badge { position: absolute; right: 16px; top: 14px; background: #fffdf2e8; border: 1px solid #173c3420; padding: 5px 10px; border-radius: 20px; font-size: 10px; font-weight: 650; }
.card-body { padding: 25px 26px 0; }
.card-body .eyebrow { font-size: 9px; letter-spacing: 1.5px; color: #687365; margin-bottom: 7px; }
.card-body h3 { font-size: 24px; letter-spacing: -.9px; margin: 0 0 11px; }
.card-description { color: #687365; font-size: 13px; line-height: 1.8; margin: 0 0 24px; max-width: 380px; }
.card-footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid #e8e9df; padding: 17px 0; font-size: 10px; color: #687365; }
.play-label { color: var(--ink); font-size: 12px; font-weight: 750; }
.friend-note { display: flex; align-items: center; gap: 22px; background: #eceee3; border: 1px solid #dce1d2; border-radius: 10px; margin: 45px 0; padding: 26px 30px; }
.note-icon { width: 52px; height: 52px; flex-shrink: 0; display: grid; place-items: center; font-size: 14px; font-weight: 850; background: #f1c766; border: 1px solid #173c3433; border-radius: 14px; transform: rotate(-7deg); }
.friend-note h2 { font-size: 16px; letter-spacing: -.3px; }
.friend-note p { font-size: 12px; color: var(--muted); margin: 8px 0 0; line-height: 1.6; }
.note-star { font-size: 47px; margin-left: auto; color: #69846a; }
.site-footer { display: flex; justify-content: space-between; gap: 15px; font-size: 9px; letter-spacing: 1px; color: var(--muted); padding: 0 0 30px; }
.site-footer span:last-child { letter-spacing: 0; font-size: 11px; }
.player-page { background: #f6f5ee; }
.player-shell { max-width: 1440px; margin: auto; padding: 0 24px; }
.player-header { display: flex; align-items: center; gap: 22px; min-height: 84px; }
.player-header h1 { font-size: 19px; letter-spacing: -.5px; flex: 1; margin: 0; }
.back-link { text-decoration: none; font-size: 13px; font-weight: 650; display: flex; gap: 8px; align-items: center; }
.secondary-button { background: transparent; border: 1px solid #aebdae; color: var(--ink); padding: 10px 15px; border-radius: 6px; font-weight: 650; font-size: 12px; }
.secondary-button:hover { background: #e8eddf; }
.player-stage { background: #10191b; border: 1px solid #b8c2b1; border-radius: 10px; overflow: hidden; height: min(800px, 78vh); min-height: 500px; }
.player-stage iframe { display: block; width: 100%; height: 100%; border: 0; background: #10191b; }
.player-stage:fullscreen { border: 0; border-radius: 0; height: 100%; min-height: 0; padding: 0; }
.player-info { display: grid; grid-template-columns: 1.5fr 1fr; gap: 70px; padding: 32px 10px; }
.player-info .eyebrow { color: var(--muted); margin-bottom: 6px; }
.player-info h2 { font-size: 24px; }
.player-info p { font-size: 13px; line-height: 1.8; color: #53665b; margin: 12px 0 0; }
.play-tip { border-left: 1px solid var(--line); padding-left: 25px; font-size: 13px; }
.play-tip a { display: inline-block; margin-top: 12px; }
.player-message { padding: 24px; border: 1px solid #b9c9ad; border-radius: 8px; background: #fffbed; }
.player-footer { border-top: 1px solid var(--line); padding: 22px 10px; color: var(--muted); font-size: 9px; letter-spacing: 1.8px; }
@media (min-width: 1500px) { .page { max-width: 1320px; } }
@media (max-width: 850px) {
  .page { padding: 0 26px; }
  .hero { gap: 28px; padding: 52px 0; }
  .hero h1 { font-size: 45px; letter-spacing: -2px; }
  .hero-art { min-height: 300px; }
  .art-sticker { right: 8px; bottom: 45px; }
  .card-body { padding: 20px 20px 0; }
  .card-body h3 { font-size: 21px; }
  .player-info { gap: 30px; }
}
@media (max-width: 600px) {
  .page { padding: 0 20px; }
  .site-header { min-height: 78px; }
  .header-note { display: none; }
  .hero { grid-template-columns: 1fr; padding: 40px 0; gap: 34px; }
  .hero h1 { font-size: 49px; }
  .hero-art { min-height: 270px; max-width: 390px; width: 100%; justify-self: center; }
  .controller { max-height: 255px; }
  .art-label { top: 22px; }
  .intro { font-size: 14px; }
  .section-heading { align-items: start; flex-direction: column; padding: 25px 0; gap: 12px; }
  h2 { font-size: 26px; }
  .game-grid { grid-template-columns: 1fr; gap: 22px; }
  .card-description { margin-bottom: 20px; }
  .friend-note { padding: 22px 18px; gap: 16px; margin: 30px 0; align-items: start; }
  .note-star { display: none; }
  .site-footer { flex-direction: column; gap: 8px; }
  .player-shell { padding: 0 10px; }
  .player-header { gap: 12px; min-height: 78px; flex-wrap: wrap; padding: 12px 0; }
  .player-header h1 { font-size: 15px; flex-basis: calc(100% - 120px); }
  .back-link { font-size: 12px; }
  .secondary-button { padding: 8px 11px; }
  .player-stage { height: 75vh; min-height: 480px; border-radius: 7px; }
  .player-info { grid-template-columns: 1fr; gap: 22px; padding: 25px 8px; }
  .play-tip { padding-left: 0; padding-top: 20px; border-left: 0; border-top: 1px solid var(--line); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
