/* Shared game surfaces and controls. Boards supply their own layout. */
:root {
    color-scheme: dark;
    --ground: #121514;
    --surface: #1b1f1d;
    --line: #353934;
    --ivory: #eeeae1;
    --muted: #a6aaa2;
    --gold: #dab777;
    --gold-line: #6e6046;
    --display: 'Baskervville', Georgia, 'Times New Roman', serif;
    --ui: 'DM Sans', system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--ground); color: var(--ivory); font: 15px/1.55 var(--ui); }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 3px solid #f7cd84; outline-offset: 3px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font: 500 clamp(36px,5vw,52px)/1.13 var(--display); letter-spacing: -.035em; }
h2 { font-size: 30px; }
svg { width: 19px; height: 19px; flex: none; vertical-align: middle; }
.primary, .secondary {
    display: inline-flex; align-items: center; justify-content: center; gap: 11px;
    padding: 12px 20px; border-radius: 5px; min-height: 45px; font-weight: 650;
}
.primary { background: #e7c78b; color: #241e13; border: 1px solid #f2d69e;
    box-shadow: inset 0 1px 0 #fff4d790, 0 3px 10px #0003;
    &:hover { background: #f2d69e; }
}
.secondary { background: var(--surface); border: 1px solid var(--line); }
.eyebrow { display:block; color: var(--gold); font: 650 10px/1.5 var(--ui); letter-spacing: .17em; }
dialog { background: #222622; color: var(--ivory); padding: 0; max-height: 92dvh; border: 1px solid var(--gold-line); border-radius: 9px;
    &::backdrop { background: #060a09cc; backdrop-filter: blur(4px); }
}
