:root { color-scheme: light; --paper: #f6f3eb; --ink: #203d33; --muted: #62685f; --line: #d8d9cb; --accent: #b5482c; font-family: "Trebuchet MS", Verdana, sans-serif; color: var(--ink); background: var(--paper); }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; }
button, input, a { font: inherit; }
a { color: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .55; cursor: wait; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 20; padding: 16px; background: white; }
.skip-link:focus { top: 8px; }
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 100px; padding: 18px clamp(24px, 5vw, 80px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; flex-shrink: 0; }
.brand-mark { display: grid; place-items: center; width: 48px; height: 48px; background: var(--ink); color: var(--paper); border-radius: 50%; font: italic 32px Georgia, "Times New Roman", serif; }
#brand-title { font: 25px Georgia, "Times New Roman", serif; }
.brand small { display: block; margin-top: 5px; font-size: 9px; letter-spacing: .18em; }
.session-tools { display: flex; gap: 20px; align-items: center; }
.account-name { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: var(--muted); }
.wallet { display: grid; grid-template-columns: auto auto; align-items: baseline; gap: 2px 7px; padding-left: 20px; border-left: 1px solid var(--line); }
.wallet-label { grid-column: 1 / -1; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.wallet strong { font-size: 20px; font-variant-numeric: tabular-nums; }
#currency { font-size: 10px; }
.text-button { padding: 12px 0; border: 0; border-bottom: 1px solid var(--ink); background: none; color: var(--ink); font-size: 12px; }
.eyebrow { margin: 0 0 20px; font-size: 10px; font-weight: bold; letter-spacing: .18em; line-height: 1.6; }
h1, h2, h3, .footer-brand { font-family: Georgia, "Times New Roman", serif; font-weight: normal; }
h1 { margin: 0; font-size: clamp(44px, 5.5vw, 84px); line-height: 1.03; letter-spacing: -.045em; }
h1 em { font-weight: normal; color: var(--accent); }
.auth-shell { display: grid; grid-template-columns: 1.15fr 1fr; max-width: 1440px; margin: 0 auto; min-height: calc(100vh - 220px); }
.welcome { position: relative; overflow: hidden; padding: clamp(36px, 5vw, 76px); background: #e9eddf; border-right: 1px solid var(--line); }
.welcome-copy, .auth-copy, .lede { font-size: 15px; line-height: 1.8; color: var(--muted); }
.welcome-copy { margin-top: 24px; }
.edition { display: block; margin-top: 34px; font-size: 9px; letter-spacing: .16em; }
.playing-cards { display: flex; justify-content: center; margin: 42px 0 30px; padding: 0 20px; }
.playing-card { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 122px; height: 153px; border: 1px solid var(--ink); border-radius: 62px 62px 4px 4px; background: var(--paper); font: 60px Georgia, serif; transform: rotate(-14deg); box-shadow: 5px 8px 0 #203d330d; }
.playing-card small { margin-top: 12px; font: 8px "Trebuchet MS", Verdana, sans-serif; letter-spacing: .18em; }
.playing-card:nth-child(2) { z-index: 1; margin: -16px -14px 0; transform: rotate(0); color: var(--accent); }
.playing-card:nth-child(3) { transform: rotate(14deg); }
.auth-card { align-self: center; padding: 48px clamp(24px, 5vw, 76px); }
.auth-card h2 { margin: 0; font-size: clamp(38px, 4vw, 56px); letter-spacing: -.04em; }
.auth-copy { margin: 20px 0 30px; max-width: 360px; }
.auth-form { display: grid; gap: 10px; }
.auth-form label { margin-top: 8px; font-size: 12px; }
.auth-form input { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #a9b2a5; border-radius: 0; background: #fffdf8; color: var(--ink); font-size: 14px; }
.auth-form input::placeholder { color: #767b70; }
.play-button { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 12px 16px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); font-size: 12px; transition: background 160ms ease; }
.play-button:hover { background: #345b49; }
.auth-submit { margin-top: 16px; min-height: 52px; font-size: 14px; }
.auth-note { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; line-height: 1.7; }
.shell { width: min(1400px, calc(100% - 96px)); margin: 0 auto; }
.intro { display: grid; grid-template-columns: 1.5fr 1fr; align-items: center; gap: 64px; padding: 64px 0 72px; }
.lede { margin: 24px 0; }
.collection-link { display: inline-flex; gap: 40px; padding: 10px 0; border-bottom: 1px solid var(--ink); text-decoration: none; font-size: 13px; }
.collection-note { padding: 32px; background: #e9eddf; border: 1px solid #d6ddcb; }
.note-symbol { float: right; font: 62px Georgia, serif; line-height: .8; color: var(--accent); }
.collection-note .eyebrow { margin-top: 28px; font-size: 9px; }
.collection-note h2 { margin: 24px 0 18px; font-size: 38px; line-height: 1.1; letter-spacing: -.035em; }
.collection-note p:not(.eyebrow) { max-width: 285px; font-size: 13px; line-height: 1.8; color: var(--muted); }
.note-bottom { display: block; padding-top: 20px; margin-top: 28px; border-top: 1px solid #bdc8b6; font-size: 8px; letter-spacing: .13em; }
.games-section { padding: 32px 0 72px; border-top: 1px solid var(--ink); }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.section-heading .eyebrow { margin-bottom: 8px; color: var(--muted); }
.section-heading h2 { font-size: 42px; margin: 0; letter-spacing: -.035em; }
.heading-dot { color: var(--accent); }
.secondary-button { min-height: 44px; padding: 12px 18px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font-size: 12px; }
.secondary-button:hover { background: #e9eddf; }
.games { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px 24px; }
.game-card { min-width: 0; border-bottom: 1px solid #b8c1b1; padding-bottom: 18px; }
.game-visual { position: relative; aspect-ratio: 220 / 311; overflow: hidden; background: #e9eddf; }
.game-visual img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform 180ms ease; }
.game-card:hover img { transform: scale(1.025); }
.demo-chip { position: absolute; top: 10px; left: 10px; padding: 5px 8px; color: var(--ink); background: var(--paper); font-size: 8px; letter-spacing: .12em; }
.game-content { padding-top: 16px; }
.game-id { margin: 0 0 6px; font-size: 9px; color: var(--muted); letter-spacing: .09em; }
.game-name { min-height: 2.5em; margin: 0 0 16px; font-size: 21px; line-height: 1.25; overflow-wrap: anywhere; }
.game-content .play-button { background: transparent; color: var(--ink); }
.game-content .play-button:hover { background: var(--ink); color: var(--paper); }
.status { padding: 24px 0; color: var(--muted); line-height: 1.7; font-size: 14px; }
.status.error { color: #9d2d20; }
footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 30px clamp(24px, 5vw, 80px); border-top: 1px solid var(--line); }
.footer-brand { font-style: italic; font-size: 25px; }
footer > span:nth-child(2) { font-size: 9px; color: var(--muted); line-height: 1.9; letter-spacing: .08em; }
footer a { font-size: 11px; text-decoration: none; }
@media (min-width: 1600px) { .auth-shell { margin-top: 40px; margin-bottom: 40px; border: 1px solid var(--line); min-height: 680px; } }
@media (max-width: 1100px) { .games { grid-template-columns: repeat(4, minmax(0, 1fr)); } .intro { gap: 32px; } .account-name { display: none; } }
@media (max-width: 800px) { .auth-shell { grid-template-columns: 1fr 1fr; } .welcome { padding: 36px 24px; } .playing-card { width: 80px; height: 118px; font-size: 42px; } .auth-card { padding: 36px 24px; } .games { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 16px; } .shell { width: calc(100% - 48px); } .collection-note { padding: 24px; } .collection-note h2 { font-size: 30px; } .session-tools { gap: 12px; } }
@media (max-width: 600px) { .topbar { align-items: flex-start; padding: 18px 20px; gap: 12px; } .brand-mark { width: 36px; height: 36px; font-size: 26px; } .brand { gap: 9px; } #brand-title { font-size: 21px; } .brand small { font-size: 7px; letter-spacing: .1em; } .session-tools { flex-direction: column; align-items: flex-end; gap: 4px; } .wallet { padding-left: 0; border: 0; } .wallet strong { font-size: 16px; } .wallet-label { font-size: 8px; } .text-button { padding: 7px 0; font-size: 11px; } .auth-shell { grid-template-columns: 1fr; } .welcome { padding: 34px 24px; border-right: 0; border-bottom: 1px solid var(--line); } .welcome h1 { font-size: 48px; } .welcome-copy { font-size: 13px; } .playing-cards, .edition { display: none; } .auth-card { padding: 36px 24px; } .auth-card h2 { font-size: 42px; } .intro { grid-template-columns: 1fr; padding: 40px 0; } .intro h1 { font-size: clamp(43px, 9vw, 56px); } .collection-note { padding: 24px; } .collection-note .eyebrow { margin-top: 0; } .collection-note h2 { font-size: 30px; margin: 18px 0 10px; } .collection-note h2 br { display: none; } .note-bottom { margin-top: 18px; padding-top: 16px; } .section-heading { align-items: flex-start; flex-direction: column; gap: 16px; } .section-heading h2 { font-size: 36px; } .games { grid-template-columns: repeat(2, minmax(0, 1fr)); } .game-name { font-size: 18px; min-height: 3.75em; } .game-content .play-button { padding: 10px; } footer { flex-wrap: wrap; padding: 24px; } .footer-brand { width: 100%; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
