/* ordpa5bogstaver.com — design tokens, layout and components. No inline styles anywhere. */
:root {
  --paper: #f7f5ef;
  --surface: #ffffff;
  --ink: #16213e;
  --ink-2: #3d4663;
  --muted: #5d6478;
  --line: #dcd8cc;
  --accent: #c8102e;
  --accent-ink: #a00d25;
  --green: #2f7d4a;
  --green-soft: #e3f1e7;
  --yellow: #e2b53b;
  --yellow-soft: #fbf1d3;
  --grey: #6b7280;
  --grey-soft: #eceef1;
  --focus: #1d4ed8;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(22, 33, 62, .06), 0 6px 20px rgba(22, 33, 62, .06);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 1rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--font); overflow-wrap: break-word; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--accent-ink); text-underline-offset: .18em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.015em; color: var(--ink); }
h1 { font-size: clamp(2rem, 5.5vw, 3.1rem); margin: 0 0 .5rem; letter-spacing: -.03em; }
h2 { font-size: clamp(1.35rem, 3vw, 1.7rem); margin: 2rem 0 .75rem; }
h3 { font-size: 1.15rem; margin: 1.5rem 0 .5rem; }
p, ul, ol { margin: 0 0 1rem; }
code, kbd { font-family: var(--mono); font-size: .9em; background: var(--grey-soft); padding: .08em .35em; border-radius: 5px; }
kbd { border: 1px solid var(--line); border-bottom-width: 2px; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 24px; } }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.md { display: none; }
.muted { color: var(--muted); }

.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }

/* Header */
.site-header { background: var(--ink); color: #fff; }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; padding-top: .8rem; padding-bottom: .8rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: inherit; text-decoration: none; }
.brand:hover { color: inherit; }
.brand-mark { flex: none; }
.brand-text { display: flex; flex-direction: column; font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; line-height: 1.15; }
.brand-tag { font-weight: 500; font-size: .8rem; opacity: .8; letter-spacing: 0; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.site-nav a { display: block; padding: .5rem .75rem; border-radius: 8px; color: #fff; text-decoration: none; font-weight: 600; font-size: .98rem; }
.site-nav a:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.site-nav a[aria-current="page"] { background: #fff; color: var(--ink); }
.site-header :focus-visible { outline-color: #fff; }
/* Mobile menu: a "Menu" button opens the navigation as a dropdown panel. Without JavaScript the
   button is a link to #hovedmenu and :target opens the panel, so the menu always works. */
.nav-toggle { display: none; }
@media (max-width: 900px) {
  .site-header { position: relative; }
  .header-inner { flex-wrap: nowrap; }
  .nav-toggle { display: inline-flex; align-items: center; gap: .55rem; flex: none; min-height: 44px; padding: .5rem .9rem; border: 2px solid rgba(255, 255, 255, .7); border-radius: 10px; color: #fff; font-weight: 700; text-decoration: none; cursor: pointer; }
  .nav-toggle:hover, .nav-toggle[aria-expanded="true"] { background: #fff; color: var(--ink); }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
  .nav-toggle-bars { position: relative; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 60; padding: .5rem 16px 1rem; background: var(--ink); border-top: 1px solid rgba(255, 255, 255, .15); box-shadow: 0 12px 30px rgba(22, 33, 62, .35); }
  .site-nav.is-open, .site-nav:target { display: block; }
  .site-nav ul { display: grid; grid-template-columns: 1fr; gap: .25rem; max-width: 1120px; margin: 0 auto; }
  .site-nav a { padding: .8rem .9rem; font-size: 1.05rem; background: rgba(255, 255, 255, .06); }
  .brand-tag { display: none; }
}
@media (min-width: 480px) and (max-width: 900px) { .site-nav ul { grid-template-columns: 1fr 1fr; } }

main { display: block; padding-bottom: 3rem; }
main:focus { outline: none; }

/* Breadcrumbs */
.breadcrumbs { margin-top: 1rem; font-size: .92rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .25rem; margin: 0; padding: 0; list-style: none; color: var(--muted); }
.breadcrumbs li + li::before { content: "›"; margin: 0 .4rem 0 .15rem; color: var(--muted); }
.breadcrumbs a { color: var(--ink-2); }

/* Hero */
.page-hero { padding: 1.75rem 0 .75rem; max-width: 820px; }
.eyebrow { margin: 0 0 .5rem; font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.hero-accent { color: var(--accent); }
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 70ch; }
.updated { font-size: .92rem; color: var(--muted); }

/* Sections */
.section { margin: 2.25rem 0; }
.section > h2:first-child { margin-top: 0; }
.notice { padding: 1rem 1.25rem; background: var(--yellow-soft); border-left: 4px solid var(--yellow); border-radius: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 44px; padding: .6rem 1.2rem; border: 2px solid transparent; border-radius: 10px; font: 700 1rem/1.2 var(--font); cursor: pointer; text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); color: #fff; }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--grey-soft); color: var(--ink); }
.btn:disabled { opacity: .6; cursor: progress; }
.link-button { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }

/* Letter tiles */
.tiles { display: inline-flex; gap: 4px; vertical-align: middle; }
.tile { display: inline-grid; place-items: center; width: 2em; height: 2em; border: 2px solid var(--line); border-radius: 6px; background: var(--surface); font-weight: 800; font-size: .95rem; line-height: 1; color: var(--ink); }
.tile-green { background: var(--green); border-color: var(--green); color: #fff; }
.tile-yellow { background: var(--yellow); border-color: var(--yellow); color: #1f1a05; }
.tile-grey { background: var(--grey); border-color: var(--grey); color: #fff; }
.steps li, .legend li { margin-bottom: .75rem; }
.steps .tiles, .legend .tiles { margin: 0 .2rem; }
.legend { list-style: none; padding: 0; }

/* Finder */
.finder { margin: 1.25rem 0 2rem; padding: 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
@media (min-width: 720px) { .finder { padding: 1.75rem 2rem; } }
.finder > h2 { margin-top: 0; }
.finder-intro { color: var(--ink-2); }
.finder-row { margin: 0 0 1.25rem; padding: 0; border: 0; min-width: 0; }
.finder-row legend, .finder-grey label { display: flex; align-items: center; gap: .5rem; padding: 0; margin-bottom: .5rem; font-weight: 700; }
.swatch { display: inline-block; flex: none; width: 1rem; height: 1rem; border-radius: 4px; }
.swatch-green { background: var(--green); }
.swatch-yellow { background: var(--yellow); }
.swatch-grey { background: var(--grey); }
.cells { display: grid; grid-template-columns: repeat(5, minmax(0, 4rem)); gap: .5rem; }
.cell { width: 100%; min-width: 0; height: 3.4rem; padding: 0 .25rem; border: 2px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); font: 800 1.5rem/1 var(--font); text-align: center; text-transform: uppercase; }
.cell-yellow { font-size: 1.05rem; letter-spacing: .02em; }
.cell:focus { outline: 3px solid var(--focus); outline-offset: 1px; }
.cell-green:not(:placeholder-shown) { background: var(--green); border-color: var(--green); color: #fff; }
.cell-yellow:not(:placeholder-shown) { background: var(--yellow); border-color: var(--yellow); color: #1f1a05; }
.finder-grey input { width: 100%; max-width: 21.5rem; height: 3rem; padding: 0 .75rem; border: 2px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); font: 700 1.2rem/1 var(--font); letter-spacing: .12em; text-transform: uppercase; }
.finder-grey input:not(:placeholder-shown) { background: var(--grey-soft); border-color: var(--grey); }
.field-hint { margin: .4rem 0 0; font-size: .9rem; color: var(--muted); max-width: 60ch; }
.finder-actions { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .75rem; }
.finder-sort { display: flex; flex-direction: column; gap: .25rem; margin-right: auto; font-weight: 700; font-size: .95rem; }
.finder-sort select, .form-field select { min-height: 44px; padding: .4rem 2rem .4rem .75rem; border: 2px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); font: 500 1rem var(--font); }
.finder-results { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.result-count { font-weight: 700; }
.result-count:focus { outline: none; }
#result-more { margin-top: 1rem; }

/* Word grids */
.word-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(6.2rem, 1fr)); gap: .4rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.word-grid li { padding: .45rem .5rem; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; font-weight: 700; letter-spacing: .08em; text-align: center; text-transform: uppercase; }
.word-grid-results li { background: var(--paper); }
.word-grid li:focus { outline: 3px solid var(--focus); }

.opener-list { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; padding: 0; list-style: none; }
.opener-list li { display: flex; flex-direction: column; gap: .3rem; }
.opener-list .tile { font-size: 1.1rem; }
.opener-meta { font-size: .88rem; color: var(--muted); }

/* Alphabet strip */
.alphabet { display: grid; grid-template-columns: repeat(auto-fill, minmax(3.3rem, 1fr)); gap: .4rem; margin: 1rem 0 1.25rem; padding: 0; list-style: none; }
.alpha-link { display: flex; flex-direction: column; align-items: center; padding: .45rem .2rem; border: 2px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); font-weight: 800; font-size: 1.15rem; line-height: 1.1; text-decoration: none; }
a.alpha-link:hover { border-color: var(--green); background: var(--green-soft); color: var(--ink); }
.alpha-link.is-current { background: var(--green); border-color: var(--green); color: #fff; }
.alpha-link.is-current .alpha-count { color: #fff; }
.alpha-link.is-empty { color: var(--muted); background: transparent; border-style: dashed; }
.alpha-count { font-size: .72rem; font-weight: 600; color: var(--muted); }

.group-nav ul { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.group-nav a { display: inline-block; padding: .3rem .6rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font-weight: 700; font-size: .92rem; text-decoration: none; }
.group-nav a:hover { border-color: var(--ink); }
.word-group h3 { scroll-margin-top: 1rem; }
.group-count { font-weight: 500; color: var(--muted); font-size: .95rem; }

/* Tables */
.table-wrap { max-width: 100%; overflow-x: auto; margin: 0 0 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .98rem; }
caption { padding: .75rem 1rem; text-align: left; font-weight: 700; color: var(--ink-2); caption-side: top; }
th, td { padding: .6rem 1rem; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
thead th { background: var(--grey-soft); font-size: .9rem; }
tbody th { font-weight: 700; }

/* FAQ */
.faq { margin: 2.5rem 0; max-width: 820px; }
.faq details { margin-bottom: .6rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.faq summary { padding: .9rem 1.1rem; font-weight: 700; cursor: pointer; }
.faq summary:hover { color: var(--accent-ink); }
.faq-answer { padding: 0 1.1rem .5rem; }

/* Documents */
.doc-layout { display: grid; gap: 2rem; }
@media (min-width: 900px) { .doc-layout { grid-template-columns: minmax(0, 1fr) 280px; align-items: start; } }
.prose { max-width: 75ch; min-width: 0; }
.prose > h2:first-child { margin-top: .5rem; }
.side-card { padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
@media (min-width: 900px) { .side-card { position: sticky; top: 1rem; } }
.side-title { margin: 0 0 .5rem; font-size: 1rem; }
.side-card ul { margin: 0; padding-left: 1.1rem; }
.side-card li { margin: .35rem 0; }
.link-list li { margin: .4rem 0; }
.not-found { margin: 1.5rem 0; }
.not-found .tile { font-size: 1.6rem; }

/* Contact form */
.contact-form { max-width: 620px; }
.form-note { color: var(--muted); font-size: .92rem; }
.form-field { margin-bottom: 1.25rem; }
.form-field label { display: block; font-weight: 700; margin-bottom: .3rem; }
.form-field input[type="text"], .form-field input[type="email"], .form-field textarea { width: 100%; padding: .65rem .8rem; border: 2px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); font: 1rem/1.5 var(--font); }
.form-field select { width: 100%; }
.form-field [aria-invalid="true"] { border-color: var(--accent); }
.form-field .field-hint { margin: 0 0 .4rem; }
.form-check { display: grid; grid-template-columns: auto 1fr; gap: .2rem .7rem; align-items: start; }
.form-check input { width: 1.3rem; height: 1.3rem; margin: .2rem 0 0; accent-color: var(--green); }
.form-check label { font-weight: 400; margin: 0; }
.form-check .field-error { grid-column: 2; }
.field-error, .tool-error { margin: .3rem 0 0; color: var(--accent-ink); font-weight: 700; font-size: .95rem; }
.field-error:empty, .tool-error:empty { display: none; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.error-summary { max-width: 620px; margin-bottom: 1.5rem; padding: 1rem 1.25rem; border: 3px solid var(--accent); border-radius: var(--radius); background: #fff5f6; }
.error-summary:focus { outline: 3px solid var(--focus); }
.error-summary-title { font-weight: 800; margin-bottom: .5rem; }
.error-summary ul { margin: 0; }
.summary-link { padding: 0; border: 0; background: none; color: var(--accent-ink); font: inherit; text-align: left; text-decoration: underline; cursor: pointer; }
.form-success { max-width: 620px; padding: 1.25rem 1.5rem; border: 2px solid var(--green); border-radius: var(--radius); background: var(--green-soft); }
.form-success h2 { margin-top: 0; }
.form-success h2:focus { outline: none; }
.form-ref { font-family: var(--mono); font-size: .95rem; }

/* Footer */
.site-footer { background: var(--ink); color: #e7e9f2; padding: 2.5rem 0 1rem; }
.site-footer a, .site-footer .link-button { color: #fff; }
.site-footer a:hover, .site-footer .link-button:hover { color: var(--yellow); }
.site-footer :focus-visible { outline-color: #fff; }
.footer-inner { display: grid; gap: 1.75rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .footer-inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-about p { margin-top: .75rem; font-size: .95rem; max-width: 36ch; }
.footer-title { margin: 0 0 .6rem; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.footer-group ul { margin: 0; padding: 0; list-style: none; }
.footer-group li { margin: .4rem 0; font-size: .95rem; }
.footer-bottom { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .18); font-size: .88rem; }

/* Back to top */
.back-to-top { position: fixed; right: 16px; bottom: 16px; z-index: 40; min-height: 44px; padding: .5rem 1rem; border: 2px solid #fff; border-radius: 999px; background: var(--ink); color: #fff; font: 700 .95rem var(--font); box-shadow: var(--shadow); cursor: pointer; }
.back-to-top:hover { background: var(--accent); }
.has-cookie-banner .back-to-top { display: none; }

/* Cookie consent */
.cookie-banner { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; max-width: 720px; margin: 0 auto; padding: 1.1rem 1.25rem; border: 2px solid var(--ink); border-radius: 16px; background: var(--surface); box-shadow: 0 10px 40px rgba(22, 33, 62, .25); }
.cookie-banner p { font-size: .95rem; }
.cookie-title { margin: 0 0 .5rem; font-size: 1.15rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; }
@media (max-width: 480px) { .cookie-actions .btn { flex: 1 1 100%; } }
.cookie-dialog { width: min(640px, calc(100% - 24px)); max-height: calc(100% - 24px); padding: 1.25rem; border: 2px solid var(--ink); border-radius: 16px; background: var(--surface); color: var(--ink); }
.cookie-dialog::backdrop { background: rgba(22, 33, 62, .55); }
.cookie-dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.dialog-close { min-height: 40px; padding: .3rem .8rem; border: 2px solid var(--ink); border-radius: 8px; background: var(--surface); color: var(--ink); font: 700 .95rem var(--font); cursor: pointer; }
.consent-options { margin: 0 0 1rem; padding: 0; border: 0; }
.consent-option { display: grid; grid-template-columns: auto 1fr; gap: .7rem; padding: .8rem 0; border-top: 1px solid var(--line); }
.consent-option input { width: 1.3rem; height: 1.3rem; margin-top: .15rem; accent-color: var(--green); }
.consent-name { display: block; font-weight: 700; }
.consent-desc { display: block; font-size: .92rem; color: var(--muted); }
.consent-always { margin-left: .4rem; padding: .05rem .45rem; border-radius: 999px; background: var(--green-soft); color: var(--green); font-size: .78rem; }

@media print {
  .site-header, .site-footer, .finder, .cookie-banner, .cookie-dialog, .back-to-top, .alphabet, .group-nav, .skip-link { display: none !important; }
  body { background: #fff; }
  .word-grid li { border: 0; padding: 0; }
}

/* Chips, hubs, topic pages */
.chip-list { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0 0 1.25rem; padding: 0; list-style: none; }
.chip-list a { display: inline-flex; align-items: center; gap: .35rem; min-height: 40px; padding: .35rem .8rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font-weight: 700; font-size: .95rem; text-decoration: none; }
.chip-list a:hover { border-color: var(--green); background: var(--green-soft); }
.hub-list, .theme-index { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: .75rem; margin: 0 0 1.25rem; padding: 0; list-style: none; }
.hub-list a, .theme-index a { display: flex; flex-direction: column; gap: .25rem; height: 100%; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); text-decoration: none; }
.hub-list a:hover, .theme-index a:hover { border-color: var(--green); box-shadow: var(--shadow); }
.hub-list span, .theme-examples { color: var(--muted); font-size: .92rem; }
.theme-name { font-weight: 800; font-size: 1.05rem; }
.theme-words { display: flex; flex-wrap: wrap; gap: .6rem 1rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }

/* Guessing game */
.game { max-width: 520px; margin: 1rem auto 2rem; padding: 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.game-board { display: grid; gap: 6px; max-width: 330px; margin: 0 auto 1rem; }
.game-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.game-cell { display: grid; place-items: center; aspect-ratio: 1; border: 2px solid var(--line); border-radius: 8px; background: var(--paper); font-weight: 800; font-size: clamp(1.4rem, 7vw, 2rem); text-transform: uppercase; }
.game-cell.is-filled { border-color: var(--ink-2); }
.game-cell.is-g { background: var(--green); border-color: var(--green); color: #fff; }
.game-cell.is-y { background: var(--yellow); border-color: var(--yellow); color: #1f1a05; }
.game-cell.is-x { background: var(--grey); border-color: var(--grey); color: #fff; }
@media (prefers-reduced-motion: no-preference) { .game-row.is-shake { animation: shake .3s; } }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.game-status { min-height: 3em; text-align: center; font-weight: 700; }
.game-keys { display: grid; gap: 6px; margin-bottom: 1rem; }
.key-row { display: flex; justify-content: center; gap: 4px; }
.key { flex: 1 1 0; min-width: 0; max-width: 2.6rem; min-height: 48px; padding: 0; border: 0; border-radius: 6px; background: var(--grey-soft); color: var(--ink); font: 800 1rem var(--font); cursor: pointer; }
.key-wide { flex: 1.6 1 0; max-width: 4.2rem; font-size: .85rem; }
.key:hover { background: #dfe2e7; }
.key.key-g { background: var(--green); color: #fff; }
.key.key-y { background: var(--yellow); color: #1f1a05; }
.key.key-x { background: var(--grey); color: #fff; }
.game-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
