/* Hammerhelt (spil): kun tilføjelser oven på style.css + fagside.css. Rød #c8102e, sort #111. Ingen eksterne filer. */
.hh-side { max-width: 44rem; }
.hh-wrap { margin: 0 auto 1.5rem; max-width: 30rem; }
.hh-stage { position: relative; width: 100%; aspect-ratio: 3 / 4; background: #111; border-radius: 6px; overflow: hidden; box-shadow: 0 0 0 1px #c8c8c8; contain: layout paint; touch-action: manipulation; }
.hh-stage:focus { outline: none; }
.hh-stage:focus-visible { outline: 3px solid #c8102e; outline-offset: 3px; }
.hh-stage:fullscreen { max-width: none; aspect-ratio: auto; display: flex; align-items: center; justify-content: center; border-radius: 0; }
.hh-stage:fullscreen canvas { width: min(100vw, 75vh); height: auto; aspect-ratio: 3 / 4; }
.hh-stage canvas { display: block; width: 100%; height: 100%; touch-action: none; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.hh-ov { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; justify-content: safe center; gap: 0.55rem; padding: 1rem; text-align: center; color: #fff; background: rgba(17, 17, 17, 0.9); overflow-y: auto; }
.hh-ov[hidden] { display: none; }
.hh-ov h2 { margin: 0; font-size: clamp(1.6rem, 7vw, 2.2rem); line-height: 1.05; letter-spacing: -0.02em; color: #fff; }
.hh-ov p { margin: 0; line-height: 1.35; max-width: 22rem; }
.hh-kicker { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #ffd24a; }
.hh-lead { font-size: 0.98rem; color: #e2e2e2; }
.hh-challenge { padding: 0.35rem 0.7rem; border-radius: 4px; background: #c8102e; font-weight: 700; font-size: 0.95rem; }
.hh-challenge[hidden] { display: none; }
.hh-pick { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; }
.hh-pick-l { font-size: 0.8rem; font-weight: 600; color: #c8c8c8; }
.hh-sws { display: flex; gap: 0.4rem; min-height: 34px; }
.hh-sw { width: 34px; height: 34px; min-width: 34px; padding: 0; border-radius: 50%; border: 2px solid #555; cursor: pointer; }
.hh-sw[aria-pressed="true"] { border-color: #fff; box-shadow: 0 0 0 3px #c8102e; }
.hh-sw:focus-visible { outline: 3px solid #ffd24a; outline-offset: 2px; }
.hh-ov .btn { min-width: 12rem; }
.hh-ov .btn-primary:focus-visible, .hh-ov .btn:focus-visible { outline: 3px solid #ffd24a; outline-offset: 3px; box-shadow: none; }
.hh-ov .btn-ghost { color: #fff; border-color: #888; }
.hh-ov .btn-ghost:hover { background: #2b2b2b; }
.hh-big { font-size: clamp(2.6rem, 13vw, 3.6rem); font-weight: 900; line-height: 1; letter-spacing: -0.03em; }
.hh-rank { font-size: 1.15rem; font-weight: 800; color: #ffd24a; }
.hh-rec { font-weight: 800; color: #fff; background: #c8102e; padding: 0.15rem 0.55rem; border-radius: 4px; font-size: 0.85rem; }
.hh-rec[hidden], .hh-vs[hidden] { display: none; }
.hh-stats { display: flex; gap: 0.9rem; justify-content: center; margin: 0; padding: 0; list-style: none; font-size: 0.85rem; color: #c8c8c8; }
.hh-stats li { margin: 0; line-height: 1.2; white-space: nowrap; }
.hh-stats strong { display: block; font-size: 1.05rem; color: #fff; }
.hh-row { display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: center; }
#hh-end .hh-row { flex-wrap: nowrap; }
.hh-row .btn { min-width: 0; min-height: 44px; padding: 0.5rem 0.75rem; font-size: 0.92rem; }
.hh-status { min-height: 1.3em; font-size: 0.85rem; color: #e2e2e2; }
.hh-help { text-align: left; font-size: 0.88rem; color: #e2e2e2; margin: 0; padding-left: 1.1rem; max-width: 22rem; }
.hh-help li { margin: 0 0 0.2rem; }
.hh-best { font-size: 0.85rem; color: #c8c8c8; min-height: 1.35em; }
.hh-bar { display: flex; gap: 0.5rem; justify-content: center; flex-wrap: nowrap; margin: 0.6rem 0 0; min-height: 48px; }
.hh-bar .btn { flex: 0 1 9rem; min-width: 0; padding-left: 0.5rem; padding-right: 0.5rem; white-space: nowrap; }
.hh-bar .btn[hidden] { display: none; }
.hh-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hh-legend { display: grid; grid-template-columns: 1fr; gap: 0.3rem 1rem; padding: 0; list-style: none; }
@media (min-width: 560px) { .hh-legend { grid-template-columns: 1fr 1fr; } }
.hh-legend li { margin: 0; }
#hh-end { gap: 0.4rem; }
#hh-end h2 { font-size: clamp(1.4rem, 6vw, 2.2rem); }
.hh-vs { font-size: 0.92rem; }
#hh-end .hh-big { font-size: clamp(2.4rem, 12vw, 3.4rem); }
@media (max-width: 380px) {
  .hh-ov { gap: 0.4rem; padding: 0.7rem; }
  #hh-end { gap: 0.3rem; }
  .hh-stats { gap: 0.6rem; font-size: 0.78rem; }
  .hh-row .btn { padding: 0.45rem 0.6rem; font-size: 0.88rem; }
  .hh-lead { font-size: 0.9rem; }
  .hh-sw { width: 32px; height: 32px; min-width: 32px; }
  .hh-sws { min-height: 32px; }
  .hh-ov .btn { min-height: 44px; padding: 0.55rem 0.9rem; }
}
@media (prefers-reduced-motion: reduce) { .hh-stage * { transition: none !important; animation: none !important; } }
/* Scoreboard */
#hh-board { justify-content: flex-start; gap: 0.4rem; padding-top: 0.8rem; }
#hh-board h2 { font-size: clamp(1.3rem, 6vw, 1.8rem); }
.hh-b-form { display: flex; flex-direction: column; align-items: stretch; gap: 0.25rem; width: 100%; max-width: 20rem; text-align: left; }
.hh-b-form[hidden], .hh-b-off[hidden] { display: none; }
.hh-b-form label { font-size: 0.85rem; font-weight: 700; color: #fff; }
.hh-b-row { display: flex; gap: 0.35rem; }
.hh-b-row input { flex: 1 1 auto; min-width: 0; min-height: 44px; padding: 0.4rem 0.6rem; font: inherit; font-size: 1rem; color: #111; background: #fff; border: 2px solid #888; border-radius: 4px; }
.hh-b-row input:focus-visible { outline: 3px solid #ffd24a; outline-offset: 2px; }
.hh-b-row input[aria-invalid="true"] { border-color: #ff6b6b; }
.hh-ov .hh-b-row .btn { min-width: 0; min-height: 44px; padding: 0.4rem 0.8rem; }
.hh-b-hint { font-size: 0.78rem; color: #c8c8c8; }
.hh-b-off { font-size: 0.8rem; color: #ffd24a; }
#hh-b-msg { max-width: 20rem; font-weight: 600; color: #ffd24a; }
.hh-sb-tabs { display: flex; gap: 0.3rem; justify-content: center; flex-wrap: nowrap; }
.hh-sb-tab { min-height: 40px; padding: 0.3rem 0.75rem; font: inherit; font-size: 0.88rem; font-weight: 700; border-radius: 999px; border: 2px solid #888; background: transparent; color: inherit; cursor: pointer; white-space: nowrap; }
.hh-sb-tab[aria-pressed="true"] { background: #c8102e; border-color: #c8102e; color: #fff; }
.hh-sb-tab:focus-visible { outline: 3px solid #ffd24a; outline-offset: 2px; }
.hh-sb-list { counter-reset: sb; margin: 0; padding: 0; list-style: none; width: 100%; max-width: 20rem; }
.hh-sb-list li { counter-increment: sb; display: flex; align-items: center; gap: 0.5rem; margin: 0; padding: 0 0.5rem; height: 2.25rem; border-bottom: 1px solid #ddd; font-variant-numeric: tabular-nums; }
.hh-sb-list li::before { content: counter(sb) "."; flex: 0 0 1.8rem; font-weight: 800; color: #c8102e; }
.hh-sb-list li.hh-sb-empty::before { content: none; }
.hh-sb-n { flex: 1 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; }
.hh-sb-s { font-weight: 800; }
.hh-sb-list li.hh-sb-me { background: #fff3c4; }
.hh-sb-list-ov li { height: 1.6rem; font-size: 0.88rem; border-bottom-color: #333; }
.hh-sb-list-ov li::before { color: #ffd24a; }
.hh-sb-list-ov li.hh-sb-me { background: #c8102e; color: #fff; }
.hh-sb-list-ov li.hh-sb-me::before { color: #fff; }
.hh-sb { margin: 0 0 2rem; }
.hh-sb .hh-sb-tabs { justify-content: flex-start; margin: 0.6rem 0; }
.hh-sb .hh-sb-tab { border-color: #767676; color: #111; }
.hh-sb .hh-sb-tab[aria-pressed="true"] { color: #fff; }
.hh-sb .hh-sb-tab:focus-visible { outline-color: #c8102e; }
.hh-sb .hh-sb-list { max-width: 26rem; min-height: 22.5rem; }
.hh-sb-msg { min-height: 1.5em; font-size: 0.9rem; color: #444; }
.hh-sb-off .hh-sb-tabs, .hh-sb-off .hh-sb-list { display: none; }
#hh-board > * { flex-shrink: 0; }
#hh-board { gap: 0.35rem; padding-bottom: 0.7rem; }
#hh-board .hh-sb-tab { min-height: 36px; padding: 0.2rem 0.7rem; }
.hh-sb-list-ov li { height: 1.42rem; font-size: 0.85rem; }
#hh-b-back { min-height: 40px; padding: 0.35rem 1rem; min-width: 9rem; }
.hh-b-hint a { color: #ffd24a; }
