:root { color-scheme: light; --gold: #ca9b52; --ink: #191919; --paper: #faf8f4; --muted: #66625c; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: #333; font-family: Georgia, 'Times New Roman', serif; }
button, input { font: inherit; } button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; } button:disabled { cursor: default; opacity: .45; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #9a681d; outline-offset: 5px; }
.wrap { max-width: 1160px; margin: auto; padding: 0 32px; }
.masthead { display: flex; align-items: center; justify-content: space-between; padding-top: 28px; padding-bottom: 25px; border-bottom: 1px solid #e3dfd7; }
.masthead a { color: var(--ink); text-decoration: none; font-size: 23px; font-weight: bold; } .dot { color: var(--gold); }
.edition, .eyebrow, .stats span, .terminal, .commit, .keyboard, .note code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.edition { font-size: 10px; letter-spacing: 1.5px; color: var(--muted); }
.intro { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 44px 0 34px; }
.eyebrow { font-size: 10px; letter-spacing: 1.8px; line-height: 1.7; color: #805c25; font-weight: bold; }
h1 { font-size: clamp(48px, 7vw, 78px); line-height: 1; letter-spacing: -3px; color: var(--ink); margin: 10px 0 14px; }
.tagline { font-size: 22px; color: var(--ink); margin: 0 0 12px; } .description { font-size: 15px; line-height: 1.6; max-width: 530px; margin: 0; }
.commit { border: 1px solid #dfd8cb; padding: 20px 25px; background: #fffdf9; transform: rotate(3deg); flex-shrink: 0; box-shadow: 5px 5px 0 #eee8dd; }
.commit span, .commit small { display: block; font-size: 10px; color: var(--muted); } .commit code { display: block; font-size: 14px; margin: 14px 0; } .commit b { color: #805c25; }
.arcade { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 45px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); padding: 16px 0 23px; gap: 12px; }
.stats span { display: block; font-size: 9px; letter-spacing: 1.3px; margin-bottom: 8px; color: var(--muted); } .stats strong { font-family: ui-monospace, monospace; font-size: 26px; font-weight: 500; color: var(--ink); } #health { font-size: 19px; color: #92672c; letter-spacing: 2px; }
.terminal { background: #202622; color: #eeeade; border-radius: 12px; overflow: hidden; box-shadow: 0 12px 32px #19191914; }
.terminal-bar { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 10px; padding: 14px 17px; border-bottom: 1px solid #ffffff15; color: #b5beb6; } .lights { color: var(--gold); letter-spacing: 3px; } #mode-label { color: #dbc18f; font-size: 9px; }
.board-shell { position: relative; padding: 22px; }
.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cell { position: relative; display: flex; align-items: center; justify-content: center; height: 94px; border: 1px solid #ffffff14; border-radius: 7px; background: #2b322c; color: white; padding: 0; transition: background .12s; }
.cell:hover { background: #353f36; } .cell:focus-visible { outline-color: #e3bd7d; outline-offset: -4px; }
.cell .key { position: absolute; bottom: 8px; left: 10px; font-size: 10px; color: #b4bdb4; } .cell .sprite { font-size: 40px; line-height: 1; } .cell[data-kind="bug"] { background: #3a4935; border-color: #8ea572; } .cell[data-kind="coffee"] { background: #4a3e2b; border-color: #b28b50; } .cell[data-kind="duck"] { background: #3d3b29; border-color: #a99b63; }
.overlay { position: absolute; inset: 0; margin: 12px; border-radius: 7px; background: #202622f5; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; }
[hidden] { display: none !important; } .overlay .eyebrow { color: #d8b575; margin: 0 0 10px; } .overlay h2 { color: #f8f4eb; font-family: Georgia, serif; font-weight: normal; font-size: 35px; margin: 0; letter-spacing: -1px; } .overlay p:not(.eyebrow) { font-size: 12px; line-height: 1.8; color: #c7cec5; margin: 13px 0 20px; max-width: 340px; }
.primary { background: var(--gold); border: 0; border-radius: 4px; color: #211b12; font-family: ui-monospace, monospace; font-weight: bold; font-size: 12px; padding: 14px 24px; } .primary:hover { background: #dbb36f; }
.terminal-bottom { min-height: 48px; padding: 12px 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid #ffffff15; font-size: 10px; line-height: 1.5; } #combo { color: #ddba7b; flex-shrink: 0; } #status { text-align: right; color: #c3cdc2; }
.controls { display: flex; align-items: center; gap: 10px; margin-top: 18px; font: 12px ui-monospace, monospace; } .controls button { border: 1px solid #d4cdbf; background: transparent; border-radius: 4px; color: #333; padding: 9px 14px; } .practice { margin-left: auto; display: flex; align-items: center; gap: 7px; cursor: pointer; } input { accent-color: #92672c; width: 16px; height: 16px; }
.keyboard { font-size: 10px; line-height: 1.9; color: var(--muted); margin-top: 16px; } kbd { display: inline-block; font-size: 10px; border: 1px solid #d9d3c8; padding: 0 4px; border-radius: 3px; background: #fff; }
.field-guide { padding-top: 12px; } .field-guide h2 { color: var(--ink); font-size: 28px; line-height: 1.2; font-weight: normal; margin: 10px 0 25px; } .rule { display: flex; gap: 14px; margin: 0 0 22px; } .rule-icon { font-size: 26px; flex: 0 0 32px; } .rule h3 { color: var(--ink); font-size: 16px; margin: 0 0 6px; } .rule p, .note p { font-size: 13px; line-height: 1.65; margin: 0; } .note { border-top: 1px solid #dfd8cb; padding-top: 19px; } .note code { font-size: 11px; color: #805c25; display: block; margin-bottom: 8px; }
footer { display: flex; justify-content: space-between; gap: 20px; font-size: 11px; color: var(--muted); margin-top: 32px !important; padding-top: 22px !important; padding-bottom: 24px !important; border-top: 1px solid #e3dfd7; }
@media(max-width: 850px) { .commit { display: none; } .arcade { gap: 25px; grid-template-columns: minmax(0,1fr) 230px; } .wrap { padding-left: 22px; padding-right: 22px; } }
@media(max-width: 650px) { .arcade { grid-template-columns: 1fr; gap: 20px; } .edition { display: none; } .intro { padding: 30px 0 22px; } .tagline { font-size: 19px; } .board-shell { padding: 14px; } .cell { height: 90px; } .stats strong { font-size: 22px; } #health { font-size: 15px; } .stats span { font-size: 8px; letter-spacing: .7px; } .terminal-bar { font-size: 9px; } .field-guide h2 br { display: none; } .field-guide h2 { font-size: 26px; } .controls { font-size: 11px; } .controls button { padding: 9px; } footer { flex-direction: column; gap: 8px; } }
@media(prefers-reduced-motion: reduce) { * { transition: none !important; } }
