@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/f1.woff2) format('truetype');
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/f2.woff2) format('truetype');
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/f3.woff2) format('truetype');
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/f4.woff2) format('truetype');
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/f5.woff2) format('truetype');
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/f6.woff2) format('truetype');
}








/* Layout: en rejse i fem stationer. Faste bjælke med fremdrift, hero med logo og fem coins, to borde hvor coins kan løftes, kastes og lægges på et medlemskort eller en hjemmeside, og til sidst butikken. */
:root {
  --ink: #0b1118;
  --ink-2: #111b26;
  --ink-3: #182434;
  --line: #243448;
  --text: #eaeef3;
  --mute: #9eacbc;
  --gold: #e2b96a;
  --gold-deep: #b88a2e;
  --bar: rgba(11,17,24,.86);
  --display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: 0;
  overflow-x: hidden;
  overflow-x: clip;
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1120px; margin: 0 auto; min-width: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.05; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(34px, 5vw, 56px); }
p { margin: 0; }
.eyebrow { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.eyebrow span { color: var(--mute); margin-right: 10px; }
.lede { color: var(--mute); max-width: 60ch; font-size: 18px; }

/* Bjælke */
.bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: calc(env(safe-area-inset-top, 0px) + 12px) max(16px, env(safe-area-inset-right, 0px)) 12px max(16px, env(safe-area-inset-left, 0px));
  background: var(--bar); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.bar img { height: 20px; width: auto; display: block; }
.bar nav { display: flex; align-items: center; gap: 4px; }
.bar nav a { font-size: 13px; color: var(--mute); text-decoration: none; padding: 6px 12px; border-radius: 999px; transition: color .2s, background .2s; }
.bar nav a:hover { color: var(--text); }
.bar nav a[aria-current="true"] { color: var(--text); background: var(--ink-3); }
.bar .prog { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }

/* Stationer */
.station { padding-block: 96px 0; scroll-margin-top: 40px; }
.sec-head { display: grid; gap: 14px; margin-bottom: 36px; }

/* Forside */
.hero { position: relative; isolation: isolate; overflow-x: clip; padding-top: calc(env(safe-area-inset-top, 0px) + 92px); }
.hero::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 40%;
  width: 190vmax; height: 190vmax; translate: -50% -50%;
  background: conic-gradient(from 0deg, transparent 0 86%, rgba(226,185,106,.10) 92%, rgba(226,185,106,.20) 95%, transparent 96% 100%);
  animation: sweep 26s linear infinite;
}
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(60% 50% at 50% 30%, rgba(40,72,110,.32), transparent 70%); }
.hero-top { display: grid; gap: 22px; justify-items: center; text-align: center; }
.hero-logo { width: min(520px, 78%); height: auto; display: block; }
.hero h1 { font-size: clamp(28px, 4.4vw, 52px); max-width: 20ch; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero .lede { max-width: 52ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none;
  background: var(--gold); color: #1a1306; border: 1px solid var(--gold);
  transition: transform .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); background: #ecc87f; }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn.ghost:hover { background: var(--ink-2); }
.btn.small { padding: 10px 18px; font-size: 15px; }

/* Bord og coins */
.table {
  position: relative; overflow: hidden; perspective: 900px; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  border: 1px solid var(--line); border-radius: 24px;
  background: radial-gradient(90% 80% at 40% 40%, #162231 0%, #0e1721 70%, #0b1118 100%);
  min-height: 640px;
}
.table.free { min-height: 360px; margin-top: 44px; background: transparent; border-color: transparent; overflow: visible; }
.pc {
  position: absolute; left: 0; top: 0; width: var(--d, 120px); height: var(--d, 120px);
  padding: 0; border: 0; background: none; border-radius: 50%; cursor: grab; touch-action: none; will-change: transform;
  filter: drop-shadow(0 10px 14px rgba(0,0,0,.55)); transition: filter .25s ease;
}
.pc img { width: 100%; height: 100%; display: block; object-fit: contain; border-radius: 50%; pointer-events: none; -webkit-user-drag: none; }
.pc::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.38) 50%, transparent 62%);
  background-size: 260% 100%; background-position: 150% 0; mix-blend-mode: overlay; animation: shine 7s ease-in-out infinite;
}
.pc.lifted { cursor: grabbing; filter: drop-shadow(0 30px 28px rgba(0,0,0,.6)); }
.pc.docked { filter: drop-shadow(0 4px 6px rgba(0,0,0,.5)); }
.pc.sel { filter: drop-shadow(0 0 16px rgba(226,185,106,.6)) drop-shadow(0 10px 14px rgba(0,0,0,.5)); }
.hint {
  position: absolute; left: 50%; bottom: 8px; translate: -50% 0; padding: 8px 16px; border-radius: 999px;
  background: var(--ink-2); border: 1px solid var(--line); color: var(--mute); font-size: 14px; pointer-events: none; transition: opacity .5s ease; white-space: nowrap;
}
.hint.gone { opacity: 0; }

/* Zoner */
.zone { position: absolute; z-index: 1; top: 16px; right: 16px; width: 340px; padding: 18px; border-radius: 18px; background: var(--ink-2); border: 1px dashed #36506b; transition: border-color .2s, box-shadow .2s, background .2s; }
.zone.hot { border-color: var(--gold); border-style: solid; box-shadow: 0 0 0 4px rgba(226,185,106,.14); background: #15202d; }
.z-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.z-head img { height: 14px; width: auto; display: block; }
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.slot { display: block; aspect-ratio: 1; border-radius: 50%; border: 1px dashed #36506b; background: rgba(255,255,255,.02); }
.z-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 16px; }
.z-foot small { display: block; color: var(--mute); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.z-foot b { font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1; font-variant-numeric: tabular-nums; }
.z-foot span { color: var(--mute); font-size: 14px; }
.site .bar-m { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.site .bar-m i { width: 8px; height: 8px; border-radius: 50%; background: #36506b; }
.site .bar-m span { margin-left: 8px; flex: 1; padding: 3px 10px; border-radius: 999px; background: var(--ink-3); color: var(--mute); font-size: 12px; }
.site .body { display: grid; gap: 8px; margin-bottom: 16px; }
.site .sk { height: 8px; border-radius: 4px; background: var(--ink-3); }
.site .sk:nth-child(1) { width: 62%; height: 12px; } .site .sk:nth-child(2) { width: 92%; } .site .sk:nth-child(3) { width: 48%; }
.site small.cap { display: block; margin-bottom: 8px; color: var(--mute); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }

.detail { margin-top: 20px; padding: 22px 24px; background: var(--ink-2); border: 1px solid var(--line); border-radius: 18px; min-height: 168px; display: grid; gap: 10px; align-content: start; }
.detail .d-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.detail h3 { font-size: 38px; }
.detail .d-meta { display: flex; gap: 12px; align-items: baseline; font-variant-numeric: tabular-nums; }
.detail .d-meta b { font-size: 20px; }
.detail .d-meta i { font-style: normal; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.detail p { color: var(--mute); max-width: 62ch; }
.detail .btn { justify-self: start; margin-top: 4px; }

/* Premium */
.toggle { display: inline-flex; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--ink-2); margin-top: 8px; justify-self: start; }
.toggle button { font: inherit; font-weight: 600; font-size: 15px; color: var(--mute); background: transparent; border: 0; padding: 10px 20px; border-radius: 999px; cursor: pointer; }
.toggle button[aria-pressed="true"] { background: var(--gold); color: #1a1306; }
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.plan { display: flex; flex-direction: column; gap: 18px; padding: 32px; background: var(--ink-2); border: 1px solid var(--line); border-radius: 20px; min-width: 0; }
.plan.plus { border-color: var(--gold-deep); background: linear-gradient(180deg, #17202c, var(--ink-2)); }
.plan h3 { font-size: 38px; }
.tag { font-size: 13px; color: var(--gold); letter-spacing: .12em; text-transform: uppercase; font-weight: 600; min-height: 20px; }
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.price strong { font-family: var(--display); font-weight: 400; font-size: 72px; line-height: 1; }
.price span { color: var(--mute); }
.save { color: var(--gold); font-weight: 600; min-height: 26px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; align-items: start; }
.plan li::before { content: ""; width: 8px; height: 8px; margin-top: 10px; border-radius: 50%; background: var(--gold); justify-self: center; }
.plan .btn { margin-top: auto; }

/* Fakta og varer */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; margin-top: 40px; }
.fact { padding-block: 22px; border-top: 1px solid var(--line); display: grid; gap: 6px; min-width: 0; }
.fact h3 { font-size: 28px; }
.fact p { color: var(--mute); }
.goods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.good { padding: 28px; background: var(--ink-2); border-radius: 20px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.good h3 { font-size: 32px; }
.good .p { font-weight: 700; font-variant-numeric: tabular-nums; }
.good p { color: var(--mute); }
.close { text-align: center; padding-block: 110px 90px; display: grid; gap: 22px; justify-items: center; }
.close h2 { font-size: clamp(40px, 7vw, 76px); max-width: 16ch; }
footer { border-top: 1px solid var(--line); padding-block: 26px 40px; color: var(--mute); font-size: 14px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
footer img { height: 16px; width: auto; display: block; }

.z-foot span:last-child { white-space: nowrap; }
/* Slogan */
.maker { display: grid; grid-template-columns: 1fr 420px; gap: 48px; align-items: center; }
.m-form { display: grid; gap: 20px; min-width: 0; }
.m-form label, .m-form legend { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); font-weight: 600; padding: 0; }
.m-form input { font: inherit; font-size: 20px; color: var(--text); background: var(--ink-2); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; width: 100%; }
.m-form input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.field { display: grid; gap: 8px; }
.cnt { font-size: 13px; color: var(--mute); font-variant-numeric: tabular-nums; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { font: inherit; font-size: 14px; color: var(--text); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.chips button:hover { background: var(--ink-2); }
fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; min-width: 0; }
.icons { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.icons button { aspect-ratio: 1; border-radius: 14px; border: 1px solid var(--line); background: var(--ink-2); cursor: pointer; padding: 10px; display: grid; place-items: center; }
.icons button[aria-pressed="true"] { border-color: var(--gold); background: var(--ink-3); }
.icons svg { width: 100%; height: 100%; display: block; }
.note { color: var(--mute); font-size: 15px; }
.cta-row.left { justify-content: flex-start; }
button.btn { font-family: inherit; cursor: pointer; }
.m-view { perspective: 900px; min-width: 0; }
.m-coin { width: min(100%, 420px); margin: 0 auto; aspect-ratio: 1; filter: drop-shadow(0 24px 30px rgba(0,0,0,.55)); transition: transform .15s ease-out; will-change: transform; }
.m-coin svg { width: 100%; height: 100%; display: block; }

/* Spil */
.game { display: grid; gap: 18px; justify-items: center; }
.g-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; width: min(100%, 520px); }
.g-stats div { background: var(--ink-2); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; }
.g-stats small { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.g-stats b { font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.board-wrap { position: relative; width: min(100%, 640px); }
.board { position: relative; width: 100%; aspect-ratio: 1; border-radius: 20px; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; background: radial-gradient(90% 80% at 40% 40%, #162231 0%, #0e1721 70%, #0b1118 100%); border: 1px solid var(--line); }
.tile { position: absolute; left: 0; top: 0; cursor: pointer; transition: transform .24s ease, opacity .25s ease, scale .25s ease; will-change: transform; }
.tile img { position: absolute; inset: 3%; width: 94%; height: 94%; display: block; border-radius: 50%; pointer-events: none; -webkit-user-drag: none; filter: drop-shadow(0 4px 5px rgba(0,0,0,.5)); }
.tile.pop { opacity: 0; scale: .2; }
.tile.sel img { filter: drop-shadow(0 0 10px rgba(226,185,106,.9)); scale: 1.1; }
.board.noanim .tile { transition: none; }
.over { position: absolute; inset: 0; border-radius: 20px; display: grid; gap: 14px; align-content: center; justify-items: center; text-align: center; padding: 24px; background: rgba(11,17,24,.9); }
.over[hidden] { display: none; }
.over h3 { font-size: 46px; }
.over p { color: var(--mute); }
.g-foot { display: flex; align-items: center; gap: 16px; width: min(100%, 520px); min-height: 44px; }
#gMsg { color: var(--gold); font-weight: 600; }

@media (max-width: 900px) {
  .maker { grid-template-columns: 1fr; gap: 28px; }
  .m-view { order: -1; }
}

.row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.row .chips { flex: 1; min-width: 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.two .field { min-width: 0; }
.m-form label b { color: var(--gold); margin-left: 6px; }
.m-form input[type="range"] { padding: 0; height: 28px; border: 0; background: transparent; accent-color: #e2b96a; }
.check { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text); cursor: pointer; text-transform: none; letter-spacing: 0; }
.m-form .check { font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--text); font-weight: 500; }
.m-form .check input { width: 20px; height: 20px; padding: 0; accent-color: #e2b96a; }
.icons { grid-template-columns: repeat(6, 1fr); }
.metals { display: flex; flex-wrap: wrap; gap: 12px; }
.metals button { display: grid; gap: 6px; justify-items: center; background: none; border: 0; padding: 0; cursor: pointer; color: var(--mute); font: inherit; font-size: 13px; }
.metals i { display: block; width: 44px; height: 44px; border-radius: 50%; border: 2px solid transparent; box-shadow: 0 0 0 2px var(--ink), 0 4px 10px rgba(0,0,0,.45); }
.metals button[aria-pressed="true"] { color: var(--text); }
.metals button[aria-pressed="true"] i { border-color: #fff; }
.m-coin { position: relative; }
.m-coin::after { content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none; background: radial-gradient(circle at var(--gx, 30%) var(--gy, 20%), rgba(255,255,255,.5), transparent 55%); mix-blend-mode: overlay; opacity: var(--go, 0); transition: opacity .25s; }
.m-view { position: relative; display: grid; gap: 12px; justify-items: center; }
.m-hint { font-size: 13px; color: var(--mute); }
.fx { position: absolute; inset: -30px; pointer-events: none; width: calc(100% + 60px); height: calc(100% + 60px); }
.out { margin-top: 44px; padding: 28px; background: var(--ink-2); border: 1px solid var(--line); border-radius: 20px; display: grid; gap: 14px; }
.out[hidden] { display: none; }
.out h3 { font-size: 40px; }
.out-grid { display: grid; grid-template-columns: 1fr 1.9fr; gap: 20px; align-items: start; }
.out figure { margin: 0; display: grid; gap: 8px; min-width: 0; }
.out img { width: 100%; height: auto; display: block; border-radius: 14px; background: #0b1118; }
.out figcaption { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.good .btn { margin-top: 14px; width: fit-content; }
.rank { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; width: min(100%, 520px); background: var(--ink-2); border: 1px solid var(--line); border-radius: 16px; padding: 12px 18px; }
.rank img { width: 64px; height: 64px; display: block; border-radius: 50%; filter: drop-shadow(0 4px 8px rgba(0,0,0,.5)); }
.rank small { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.rank b { font-family: var(--display); font-weight: 400; font-size: 32px; line-height: 1.1; }
.rank .rbar { height: 6px; border-radius: 3px; background: var(--ink-3); overflow: hidden; margin-top: 6px; }
.rank .rbar i { display: block; height: 100%; width: 0; background: var(--gold); transition: width .4s ease; }
.rank span { display: block; font-size: 13px; color: var(--mute); margin-top: 4px; }
@media (max-width: 640px) { .two { grid-template-columns: 1fr; } .out-grid { grid-template-columns: 1fr; } .out { padding: 20px; } .icons { grid-template-columns: repeat(6, 1fr); gap: 6px; } .icons button { padding: 7px; border-radius: 10px; } }

.bb-panel { background: #f4ead6; color: #2a2a2a; border-radius: 28px; padding: clamp(20px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(24px, 4vw, 56px); align-items: center; background-image: radial-gradient(circle at 12% 8%, rgba(255,255,255,.7), transparent 45%), radial-gradient(circle at 90% 95%, rgba(169,134,32,.14), transparent 50%); }
.bb-side { display: grid; gap: 22px; min-width: 0; }
.bb-top { display: flex; align-items: flex-start; gap: 16px; justify-content: space-between; flex-wrap: wrap; }
.bb-logo { width: min(100%, 300px); height: auto; display: block; }
.bb-tag { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; border: 1px solid #a98620; color: #6f550d; border-radius: 999px; padding: 4px 11px; font-weight: 600; }
.bb-f { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 10px; }
.bb-f legend { padding: 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #6b5a3a; font-weight: 600; margin-bottom: 10px; }
.bb-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 320px; }
.bb-pick button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 8px; font: inherit; font-weight: 600; font-size: 15px; color: #4a3a1c; border-radius: 16px; border: 2px solid transparent; background: #ead9b8; cursor: pointer; }
.bb-pick button[aria-pressed="true"] { background: #fff; border-color: #a98620; box-shadow: 0 6px 16px rgba(120,84,10,.25); }
.bb-pick svg { width: 64px; height: 64px; display: block; }
.bb-lvl { display: inline-flex; padding: 4px; background: #ead9b8; border-radius: 999px; width: fit-content; }
.bb-lvl button { border: 0; background: transparent; font: inherit; font-weight: 600; font-size: 15px; color: #4a3a1c; padding: 9px 18px; border-radius: 999px; cursor: pointer; min-height: 40px; }
.bb-lvl button[aria-pressed="true"] { background: #2a2a2a; color: #f4ead6; }
.bb-score { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 360px; }
.bb-score div { background: #fbf5e6; border-radius: 14px; padding: 12px 8px; text-align: center; border: 1px solid #e3d2ab; }
.bb-score b { display: block; font-family: var(--display); font-weight: 400; font-size: 38px; line-height: 1; color: #2a2a2a; }
.bb-score span { display: block; margin-top: 4px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #6b5a3a; }
.bb-play { display: grid; gap: 14px; min-width: 0; }
.bb-status { font-family: var(--display); font-size: 30px; line-height: 1.1; color: #2a2a2a; min-height: 1.1em; }
.bb-board { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 8px; background: #a98620; padding: 8px; border-radius: 22px; aspect-ratio: 1; box-shadow: 0 18px 40px rgba(80,56,8,.28); }
.bb-cell { position: relative; background: #fbf5e6; border: 0; border-radius: 14px; cursor: pointer; display: grid; place-items: center; padding: 11%; min-width: 0; min-height: 0; transition: background .15s; }
.bb-cell svg { width: 100%; height: 100%; display: block; grid-area: 1 / 1; }
.bb-cell .gh { opacity: 0; transition: opacity .15s; }
.bb-cell:not(.on):not(:disabled):hover { background: #fff; }
.bb-cell:not(.on):not(:disabled):hover .gh { opacity: .3; }
.bb-cell.on { cursor: default; }
.bb-cell.on svg.pc { animation: bbPop .38s cubic-bezier(.3, 1.6, .5, 1); }
.bb-cell.win { background: #fff3c4; animation: bbPulse .7s ease 2; }
.bb-cell:focus-visible { outline: 3px solid #2a2a2a; outline-offset: 2px; }
.bb-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.bb-panel .btn.ghost { color: #2a2a2a; border-color: #b49a5a; background: transparent; }
.crumb { position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-radius: 2px; pointer-events: none; z-index: 3; }
@keyframes bbPop { from { transform: scale(0) rotate(-30deg); } to { transform: none; } }
@keyframes bbPulse { 50% { transform: scale(1.05); } }
@media (max-width: 780px) { .bb-panel { grid-template-columns: minmax(0, 1fr); border-radius: 22px; } .bb-panel { gap: 22px; } .bb-side { display: contents; } .bb-top { order: 1; flex-wrap: nowrap; } .bb-play { order: 2; } .bb-side > fieldset:nth-of-type(1) { order: 3; } .bb-side > fieldset:nth-of-type(2) { order: 4; } .bb-score { order: 5; width: 100%; max-width: none; } .bb-pick { max-width: none; } .bb-logo { width: min(70%, 240px); } }
@media (prefers-reduced-motion: reduce) { .bb-cell.on svg.pc, .bb-cell.win { animation: none; } }

.bar { padding-bottom: 22px; }
.station { scroll-margin-top: 68px; }
.bar .prog { display: none; }
.rail { position: absolute; left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); bottom: 3px; height: 14px; pointer-events: none; }
.rail::before { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 2px; background: #3b5068; }
.rail::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: repeating-linear-gradient(90deg, #2c3d52 0 2px, transparent 2px 7px); }
.rail i { position: absolute; bottom: -1px; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: var(--ink-2); border: 2px solid #3b5068; transition: background .3s, border-color .3s; }
.rail i.on { background: var(--gold); border-color: var(--gold); }
.rail .tr { position: absolute; bottom: 4px; width: 38px; height: 13px; will-change: left; }
.rail .tr svg { width: 100%; height: 100%; display: block; overflow: visible; }
.depart { display: inline-flex; align-items: baseline; gap: 10px; margin-top: 6px; padding: 8px 14px; border-radius: 8px; background: #f2ecdc; color: #1a2430; border: 2px solid #1a2430; font-size: 15px; }
.depart b { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #6b5a3a; font-weight: 700; }
.trackband { position: relative; isolation: isolate; height: 170px; margin-top: 88px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #0e151d; }
.trackband::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url(img/hero-bg.webp) center / cover; filter: brightness(.55) saturate(.75); }
.trackband::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,17,24,.85) 0%, rgba(11,17,24,.25) 40%, rgba(11,17,24,.1) 75%, rgba(11,17,24,.7) 100%); }
.tb-sign { position: absolute; left: 18px; top: 14px; display: grid; gap: 1px; padding: 8px 14px 9px; border-radius: 8px; background: #f2ecdc; color: #1a2430; border: 2px solid #1a2430; box-shadow: 0 0 0 2px #f2ecdc, 0 8px 18px rgba(0,0,0,.4); }
.tb-sign small { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #6b5a3a; font-weight: 700; }
.tb-sign b { font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1.05; }
.tb-slp { position: absolute; left: 0; right: 0; bottom: 8px; height: 16px; background: repeating-linear-gradient(90deg, transparent 0 5px, #4a3321 5px 21px, transparent 21px 28px); }
.tb-rail { position: absolute; left: 0; right: 0; bottom: 20px; height: 6px; background: linear-gradient(#e3e8ee, #8d96a0 45%, #565f69); box-shadow: 0 3px 4px rgba(0,0,0,.45); }
.tb-wrap { position: absolute; bottom: 26px; left: 0; width: 240px; will-change: transform; }
.tb-train { width: 100%; height: auto; display: block; overflow: visible; filter: drop-shadow(0 6px 6px rgba(0,0,0,.45)); }
.wh { transform: rotate(var(--rot, 0deg)); }
.sm { fill: #d5dce4; opacity: 0; animation: puff 2.6s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes puff { 0% { opacity: 0; transform: translate(0, 0) scale(.6); } 15% { opacity: .5; } 100% { opacity: 0; transform: translate(-44px, -34px) scale(2.3); } }
@media (max-width: 640px) { .trackband { height: 150px; margin-top: 64px; } .tb-wrap { width: 190px; } .tb-sign { left: 12px; top: 12px; padding: 6px 11px 7px; } .tb-sign b { font-size: 22px; } }

.hero-house { position: absolute; z-index: -2; left: 50%; bottom: 0; width: min(720px, 100%); height: auto; transform: translateX(-50%); opacity: .92; -webkit-mask-image: linear-gradient(0deg, #000 58%, transparent 100%); mask-image: linear-gradient(0deg, #000 58%, transparent 100%); pointer-events: none; }
.bh-end { width: min(560px, 92%); height: auto; display: block; margin-bottom: -10px; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
.pourbox { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 28px; align-items: center; background: var(--ink-2); border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 3vw, 36px); }
.pb-text { display: grid; gap: 14px; justify-items: start; min-width: 0; }
.pb-text h3 { font-size: clamp(30px, 4vw, 44px); }
.pb-text p { color: var(--mute); }
.pb-text .pb-status { font-family: var(--display); font-size: 28px; line-height: 1.1; color: var(--text); min-height: 1.1em; }
.btn.pour { user-select: none; -webkit-user-select: none; touch-action: manipulation; }
.btn.pour.on { background: #c47a22; }
.pb-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--mute); }
.pb-row b { color: var(--gold); font-weight: 700; margin-left: 4px; }
.pb-stage { width: 100%; user-select: none; -webkit-user-select: none; touch-action: manipulation; cursor: pointer; }
.pb-stage svg { width: 100%; height: auto; display: block; overflow: visible; }
.flow { stroke-dasharray: 9 6; animation: flow .45s linear infinite; }
.pb-wave { animation: wave 1.8s linear infinite; }
.stm { animation: rise 3s ease-in-out infinite; opacity: 0; }
@keyframes flow { to { stroke-dashoffset: -15; } }
@keyframes wave { from { transform: translateX(-60px); } to { transform: translateX(0); } }
@keyframes rise { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(-16px); opacity: 0; } }
@media (max-width: 780px) { .pourbox { grid-template-columns: minmax(0, 1fr); } .pb-stage { order: -1; max-width: 380px; margin: 0 auto; } .hero-house { width: 130%; } }

@keyframes sweep { to { rotate: 360deg; } }
@keyframes shine { 0%, 55% { background-position: 150% 0; } 85%, 100% { background-position: -50% 0; } }

@media (max-width: 900px) { .goods { grid-template-columns: 1fr; } }
@media (max-width: 820px) {
  .zone { left: 12px; right: 12px; top: 12px; width: auto; }
  .table { min-height: 840px; }
  .table.free { min-height: 400px; }
}
@media (max-width: 760px) {
  .bar nav { gap: 10px; }
  .bar nav a { font-size: 0; padding: 0; width: 10px; height: 10px; background: var(--line); border-radius: 50%; }
  .bar nav a[aria-current="true"] { background: var(--gold); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .plans, .facts { grid-template-columns: 1fr; }
  .plan { padding: 24px; }
  .price strong { font-size: 60px; }
  .station { padding-block: 72px 0; }
  .detail h3 { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* FHK straffekast */
.fk { display: grid; gap: 14px; }
.fk-top { display: flex; align-items: center; gap: 16px; }
.fk-top img { width: 64px; height: 64px; flex: none; }
.fk-top p { margin: 0; color: var(--mute); font-size: 15px; max-width: 52ch; }
.fk-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fk-who { display: flex; align-items: center; gap: 14px; text-align: left; padding: 12px 16px; border-radius: 16px; background: var(--ink-2); border: 1px solid var(--line); color: var(--text); cursor: pointer; font: inherit; transition: border-color .2s, background .2s; }
.fk-who[aria-pressed="true"] { border-color: var(--gold); background: var(--ink-3); }
.fk-who b { display: block; font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1.1; }
.fk-who small { color: var(--mute); font-size: 13px; }
.fk-face { width: 64px; height: 64px; flex: none; border-radius: 50%; overflow: hidden; background: #0b1118; border: 2px solid var(--line); }
.fk-face svg { width: 100%; height: 100%; display: block; }
.fk-stage { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); touch-action: none; cursor: crosshair; background: #0b1118; user-select: none; -webkit-user-select: none; }
.fk-stage svg { display: block; width: 100%; height: auto; outline: none; }
.fk-stage svg:focus-visible { box-shadow: inset 0 0 0 3px var(--gold); }
.fk-msg { position: absolute; left: 0; right: 0; top: 38%; text-align: center; font-family: var(--display); font-size: clamp(40px, 9vw, 84px); color: #fff; text-shadow: 0 4px 18px rgba(0,0,0,.7); pointer-events: none; opacity: 0; transform: scale(.7); }
.fk-msg.show { animation: fkPop 1s ease-out both; }
.fk-msg.goal { color: var(--gold); }
@keyframes fkPop { 0% { opacity: 0; transform: scale(.6); } 18% { opacity: 1; transform: scale(1.08); } 70% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
#fkKeeper { transition: transform .34s cubic-bezier(.2,.8,.3,1); }
.fk-shake { animation: fkShake .35s; }
@keyframes fkShake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.fk-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.fk-stats div { padding: 12px 16px; border-radius: 14px; background: var(--ink-2); border: 1px solid var(--line); }
.fk-stats small { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.fk-stats b { font-family: var(--display); font-weight: 400; font-size: 36px; line-height: 1.1; }
.fk-res { margin: 0; color: var(--text); font-size: 16px; min-height: 1.5em; }
.fk-again { justify-self: start; }
@media (max-width: 640px) { .fk-pick { grid-template-columns: 1fr; } .fk-top img { width: 48px; height: 48px; } }

.wl { display: grid; grid-template-columns: minmax(0, 300px) 1fr; align-items: center; gap: 22px; margin-bottom: 36px; padding: 18px 22px 8px; border-radius: 20px; background: linear-gradient(180deg, #1c150c, #12100c); border: 1px solid #4a3716; }
.wl svg { width: 100%; height: auto; display: block; }
.wl-bubble { position: relative; padding: 18px 22px; border-radius: 18px; background: #f6efdd; color: #2a2013; }
.wl-bubble::before { content: ""; position: absolute; left: -12px; top: 42%; border: 12px solid transparent; border-left: 0; border-right-color: #f6efdd; }
.wl-bubble p { margin: 0 0 6px; font-family: var(--display); font-size: clamp(26px, 4vw, 38px); line-height: 1.05; }
.wl-bubble span { font-size: 15px; line-height: 1.45; }
@media (max-width: 640px) { .wl { grid-template-columns: 1fr; padding: 16px 16px 6px; } .wl svg { max-width: 280px; margin: 0 auto; } .wl-bubble::before { left: 50%; top: -12px; margin-left: -12px; border: 12px solid transparent; border-top: 0; border-bottom-color: #f6efdd; } }

/* Chefens Deadline */
.jg { display: grid; gap: 14px; }
.jg-hud { grid-template-columns: repeat(4, 1fr); }
.jg-stage { position: relative; width: 100%; max-width: 560px; margin: 0 auto; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #0b1118; touch-action: none; user-select: none; -webkit-user-select: none; }
.jg-stage canvas { display: block; width: 100%; height: auto; }
.jg-over { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(7,11,16,.78); text-align: center; padding: 20px; }
.jg-over[hidden], .jg-over.off { display: none; }
.jg-over > div { display: grid; gap: 10px; justify-items: center; }
.jg-over b { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 7vw, 46px); line-height: 1.05; }
.jg-over span { color: var(--mute); max-width: 32ch; font-size: 15px; }
.jg-pad { display: none; grid-template-columns: repeat(3, 1fr); grid-template-areas: ". up ." "left down right"; gap: 8px; max-width: 320px; margin: 0 auto; width: 100%; }
.jg-pad button { padding: 14px 0; border-radius: 14px; border: 1px solid var(--line); background: var(--ink-3); color: var(--text); font: inherit; font-size: 15px; touch-action: manipulation; }
.jg-pad [data-d="up"] { grid-area: up; } .jg-pad [data-d="left"] { grid-area: left; } .jg-pad [data-d="down"] { grid-area: down; } .jg-pad [data-d="right"] { grid-area: right; }
@media (hover: none), (max-width: 700px) { .jg-pad { display: grid; } }
.jg-wl svg { max-width: 260px; justify-self: center; }
@media (max-width: 640px) { .jg-hud { grid-template-columns: repeat(2, 1fr); } }

/* Tennis */
.tn { display: grid; gap: 14px; }
.tn-hud { grid-template-columns: repeat(4, 1fr); }
.tn-stage { position: relative; width: 100%; max-width: 560px; margin: 0 auto; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #0b1118; touch-action: none; user-select: none; -webkit-user-select: none; cursor: none; }
.tn-stage canvas { display: block; width: 100%; height: auto; }
.tn-msg { position: absolute; left: 0; right: 0; top: 42%; text-align: center; font-family: var(--display); font-size: clamp(26px, 6.5vw, 42px); line-height: 1.1; white-space: pre-line; color: #fff; text-shadow: 0 3px 14px rgba(0,0,0,.8); pointer-events: none; opacity: 0; }
.tn-msg.show { animation: fkPop 1.2s ease-out both; }
.tn-wl svg { max-width: 260px; justify-self: center; }
@media (max-width: 640px) { .tn-hud { grid-template-columns: repeat(2, 1fr); } }

/* Magtspillet og Over Bæltet */
.gm-stage { position: relative; width: 100%; max-width: 640px; margin: 0 auto; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #0b1118; touch-action: none; user-select: none; -webkit-user-select: none; }
.gm-stage canvas { display: block; width: 100%; height: auto; }
.rh, .ro { display: grid; gap: 14px; }
.rh-hud, .ro-hud { grid-template-columns: repeat(4, 1fr); }
.rh-wl svg { max-width: 260px; justify-self: center; }
.rh-blocs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; max-width: 640px; margin: 0 auto; width: 100%; }
.rh-b { padding: 10px 12px; border-radius: 12px; background: var(--ink-2); border: 1px solid var(--line); display: grid; gap: 6px; }
.rh-b b { font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 7px; }
.rh-b b i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.rh-b small { color: var(--mute); font-size: 12px; }
.rh-b .mt { display: flex; gap: 3px; }
.rh-b .mt s { flex: 1; height: 6px; border-radius: 3px; background: #26323f; text-decoration: none; }
.rh-b .mt s.on { background: var(--gold); }
.rh-b.yes { border-color: #3c8a5a; }
.rh-b.yes .mt s.on { background: #58c08a; }
.rh-b.no .mt s.on { background: #d96a6a; }
.rh-card { max-width: 640px; margin: 0 auto; width: 100%; padding: 18px; border-radius: 18px; background: linear-gradient(180deg, var(--ink-2), #0e1620); border: 1px solid var(--line); display: grid; gap: 12px; }
.rh-card h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(24px, 4vw, 32px); }
.rh-card p { margin: 0; color: var(--mute); font-size: 15px; }
.rh-ch { display: grid; gap: 8px; }
.rh-ch button { text-align: left; font: inherit; font-size: 16px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--ink-3); color: var(--text); cursor: pointer; transition: border-color .15s, transform .15s; }
.rh-ch button:hover, .rh-ch button:focus-visible { border-color: var(--gold-deep); transform: translateY(-1px); outline: none; }
.rh-ch button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.rh-ev { padding: 12px 14px; border-radius: 12px; background: #f6efdd; color: #2a2013; font-size: 15px; }
.rh-ev b { font-family: var(--display); font-weight: 400; font-size: 20px; display: block; }
.ro-pad { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 640px; margin: 0 auto; width: 100%; }
.ro-pad button { font: inherit; font-size: 17px; padding: 22px 10px; border-radius: 16px; border: 1px solid var(--line); background: var(--ink-2); color: var(--text); cursor: pointer; touch-action: manipulation; }
.ro-lane button { padding: 12px 10px; font-size: 15px; color: var(--mute); }
.ro-pad button:active { background: var(--ink-3); border-color: var(--gold-deep); }
@media (max-width: 640px) { .rh-hud, .ro-hud { grid-template-columns: repeat(2, 1fr); } .rh-blocs { grid-template-columns: repeat(2, 1fr); } }


.bn { position: relative; max-width: 860px; margin: 0 auto; width: 100%; border-radius: 22px; overflow: hidden; border: 1px solid #5b3a8c; padding: 14px; display: grid; gap: 12px; color: #fff; min-height: 560px; background: #2b1760; }
.bn-bgsvg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.bn > *:not(.bn-bgsvg) { position: relative; z-index: 1; }
.bn-coin { display: inline-block; width: 20px; height: 20px; vertical-align: -4px; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2040%2040%22%3E%3Cdefs%3E%3CradialGradient%20id%3D%22g%22%20cx%3D%22.35%22%20cy%3D%22.3%22%20r%3D%22.8%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23fff2b8%22/%3E%3Cstop%20offset%3D%22.6%22%20stop-color%3D%22%23e2b13c%22/%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23a36f12%22/%3E%3C/radialGradient%3E%3C/defs%3E%3Ccircle%20cx%3D%2220%22%20cy%3D%2220%22%20r%3D%2218%22%20fill%3D%22url%28%23g%29%22%20stroke%3D%22%237a4f0c%22%20stroke-width%3D%222%22/%3E%3Ccircle%20cx%3D%2220%22%20cy%3D%2220%22%20r%3D%2213%22%20fill%3D%22none%22%20stroke%3D%22%23fff2b8%22%20stroke-width%3D%221.2%22%20opacity%3D%22.8%22/%3E%3Cpath%20d%3D%22M20%2028%20C9%2020%2011%2011%2017%2011%20C19%2011%2020%2013%2020%2014%20C20%2013%2021%2011%2023%2011%20C29%2011%2031%2020%2020%2028Z%22%20fill%3D%22%23c8232c%22%20stroke%3D%22%237d1118%22%20stroke-width%3D%221.2%22/%3E%3C/svg%3E") center/contain no-repeat; flex: none; }
.bn-coin.big { width: 38px; height: 38px; }
.bn-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.bn-ttl { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-family: Georgia, serif; font-weight: 700; text-shadow: 0 2px 0 #1a0b3a, 0 0 18px rgba(255,200,90,.5); }
.bn-ttl b { font-size: clamp(26px, 5vw, 38px); letter-spacing: .12em; color: #fff1c9; }
.bn-ttl span { font-size: clamp(26px, 5vw, 38px); letter-spacing: .14em; color: #f2c14e; }
.bn-ttl small { font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: #ffd9a6; font-family: var(--body); font-weight: 600; }
.bn-bank { display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 8px; border-radius: 999px; background: rgba(30, 10, 70, .75); border: 2px solid #f2c14e; box-shadow: 0 4px 14px rgba(0,0,0,.4); flex-wrap: wrap; }
.bn-bank small { display: block; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: #ffd9a6; }
.bn-bank b { font-size: 22px; font-family: var(--display); line-height: 1; }
.bn-free { font: inherit; font-size: 13px; padding: 8px 12px; border-radius: 999px; border: 0; background: linear-gradient(#7be66a, #28a334); color: #fff; font-weight: 700; cursor: pointer; }
.bn-setup { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.bn-col { display: grid; gap: 12px; }
.bn-panel { background: linear-gradient(180deg, #8a35cc, #53209a); border: 2px solid #f2c14e; border-radius: 18px; padding: 12px 14px; box-shadow: 0 8px 20px rgba(20,5,50,.45), inset 0 2px 0 rgba(255,255,255,.25); display: grid; gap: 10px; }
.bn-panel h3, .bn-panel h4 { margin: 0; text-align: center; font-size: 20px; font-weight: 700; font-family: var(--body); text-shadow: 0 2px 0 rgba(30,5,70,.6); }
.bn-h3b { margin-top: 6px !important; }
.bn-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 8px; border-radius: 12px; background: rgba(20,10,60,.35); }
.bn-tile { font: inherit; position: relative; aspect-ratio: 1 / 1.1; border: 2px solid #7fb9f2; border-radius: 10px; background: linear-gradient(180deg, #4aa0e8, #2a6fc0); cursor: pointer; display: grid; place-items: center; touch-action: manipulation; }
.bn-tile::before { content: ""; position: absolute; width: 56%; height: 62%; background: #fff; border-radius: 4px; box-shadow: 4px 3px 0 #dfe8f5, -3px -2px 0 #fff, 8px 6px 0 #c9d6ea; transform: rotate(-6deg); }
.bn-tile[data-n="1"]::before { box-shadow: none; transform: none; }
.bn-tile b { position: relative; width: 32px; height: 32px; border-radius: 50%; background: #d6262f; color: #fff; display: grid; place-items: center; font-size: 18px; border: 2px solid #fff; box-shadow: 0 2px 4px rgba(0,0,0,.35); }
.bn-tile.on { border-color: #ffe27a; background: linear-gradient(180deg, #ffe27a, #e6a82a); box-shadow: 0 0 0 3px rgba(255,226,122,.5); }
.bn-auto { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 700; letter-spacing: .06em; padding: 6px 4px 0; cursor: pointer; }
.bn-auto input { position: absolute; opacity: 0; pointer-events: none; }
.bn-auto i { width: 54px; height: 28px; border-radius: 999px; background: #54326f; border: 2px solid #f2c14e; position: relative; transition: background .2s; flex: none; }
.bn-auto i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; }
.bn-auto input:checked + i { background: #2fcf5a; }
.bn-auto input:checked + i::after { transform: translateX(26px); }
.bn-auto input:focus-visible + i { outline: 3px solid #fff; }
.bn-tot { margin: 0; text-align: center; font-weight: 700; }
.bn-step { display: grid; grid-template-columns: 52px 1fr 52px; gap: 10px; align-items: center; }
.bn-step button { font: inherit; font-size: 28px; line-height: 1; height: 46px; border-radius: 50%; border: 2px solid #8cc5ff; background: linear-gradient(#58b2ff, #1f78d6); color: #fff; font-weight: 700; cursor: pointer; touch-action: manipulation; }
.bn-step output { text-align: center; font-size: 26px; font-weight: 700; padding: 6px; border-radius: 10px; background: #2f1260; border: 2px solid #4b2a85; }
.bn-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.bn-seg button { font: inherit; font-size: 15px; padding: 10px 4px; border-radius: 10px; border: 2px solid #6a3fa8; background: #3b1a73; color: #fff; cursor: pointer; font-weight: 600; }
.bn-seg button.on { background: #f2c14e; color: #2b1760; border-color: #fff1c9; }
.bn-jack { text-align: center; border-color: #ffd34d; }
.bn-jack h4 { color: #ffd34d; font-size: 22px; letter-spacing: .06em; }
.bn-pill { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #2a0f58; border: 2px solid #ffd34d; font-size: 24px; font-weight: 700; }
.bn-pr { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.bn-pr > span { font-weight: 700; font-size: 17px; display: grid; line-height: 1.1; }
.bn-pr small { font-weight: 500; font-size: 12px; color: #e9d6ff; }
.bn-pr b { display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px; min-width: 52%; padding: 5px 12px; border-radius: 999px; background: #2a0f58; border: 2px solid #f2c14e; font-size: 17px; }
.bn-note { margin: 0; font-size: 12.5px; color: #eadcff; text-align: center; }
.bn-msg { margin: 0; text-align: center; font-weight: 600; color: #ffe27a; min-height: 0; text-shadow: 0 1px 2px #000; }
.bn-play { font: inherit; font-weight: 800; font-size: clamp(24px, 4vw, 32px); letter-spacing: .06em; color: #fff; padding: 14px 18px; border-radius: 999px; border: 3px solid #b8f5a0; background: linear-gradient(#69e857, #1f9a2a 70%, #167a21); text-shadow: 0 3px 0 #0e5a17, 0 0 10px rgba(0,0,0,.3); cursor: pointer; box-shadow: 0 6px 0 #0e5a17, 0 12px 22px rgba(0,0,0,.4); touch-action: manipulation; width: 100%; }
.bn-play:active { transform: translateY(3px); box-shadow: 0 3px 0 #0e5a17; }
.bn-play.small { font-size: 20px; padding: 10px 16px; width: auto; }
.bn-ghost { font: inherit; font-size: 16px; padding: 12px 18px; border-radius: 999px; border: 2px solid #f2c14e; background: transparent; color: #fff1c9; cursor: pointer; }
.bn-bar { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; background: linear-gradient(180deg, #8a35cc, #53209a); border: 2px solid #f2c14e; border-radius: 18px; padding: 10px 12px; }
.bn-ball { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; align-content: center; background: radial-gradient(circle at 35% 30%, #fff, #e8e2f4 70%); border: 4px solid #f2c14e; color: #1b1a17; font-family: var(--display); font-size: 40px; line-height: 1; box-shadow: 0 6px 14px rgba(0,0,0,.4); }
.bn-ball small { font-size: 22px; font-weight: 800; font-family: var(--body); line-height: 1; }
.bn-info { display: grid; gap: 6px; min-width: 0; }
.bn-news { font-family: var(--display); font-size: 24px; line-height: 1.1; min-height: 28px; }
.bn-news.hit { animation: bnHit .9s ease; color: #ffe27a; }
@keyframes bnHit { 0% { transform: scale(1.1); } 100% { transform: scale(1); } }
.bn-last { display: flex; gap: 5px; flex-wrap: wrap; min-height: 26px; }
.bn-last i { font-style: normal; font-size: 13px; padding: 1px 8px 1px 1px; border: 2px solid; border-radius: 999px; background: rgba(255,255,255,.92); color: #1b1a17; display: inline-flex; align-items: center; gap: 4px; font-weight: 700; }
.bn-last u { text-decoration: none; color: #fff; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; }
.bn-stats { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: #e9d6ff; }
.bn-stats b { color: #fff; font-size: 15px; margin-left: 4px; }
.bn-cards { display: grid; gap: 10px; max-width: 600px; width: 100%; margin: 0 auto; }
.bn-row { display: grid; grid-template-columns: 1fr 100px; gap: 10px; align-items: stretch; }
.bn-art { border-radius: 12px; overflow: hidden; border: 2px solid #b48be6; box-shadow: 0 6px 14px rgba(0,0,0,.35); }
.bn-art svg { display: block; width: 100%; height: 100%; }
.bn-plate { background: #fff; border-radius: 12px; padding: 7px; color: #1b1a17; border: 3px solid #b48be6; box-shadow: 0 6px 14px rgba(0,0,0,.35); }
.bn-ph { display: flex; justify-content: space-between; font-size: 12.5px; padding: 0 2px 4px; color: #4b2a85; }
.bn-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; }
.bn-h { font-style: normal; text-align: center; font-weight: 800; font-size: 20px; color: #fff; border-radius: 5px; padding: 1px 0; font-family: var(--body); }
.bn-c { position: relative; aspect-ratio: 1 / 0.8; border-radius: 5px; border: 1px solid #d4cde4; background: #fbf9ff; color: #1b1a17; font: inherit; font-weight: 700; font-size: clamp(17px, 4.4vw, 24px); padding: 0; cursor: pointer; display: grid; place-items: center; touch-action: manipulation; }
.bn-c > span { position: relative; z-index: 1; }
.bn-c.on::before { content: ""; position: absolute; top: 50%; left: 50%; height: 84%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff7d7d, #d01f2c 70%); border: 2px solid #8c1720; opacity: .88; }
.bn-c.on > span { color: #fff; }
.bn-c.free.on::before { background: radial-gradient(circle at 35% 30%, #ffc2e0, #f06fb0 70%); border-color: #b03a82; opacity: 1; }
.bn-c.near { animation: bnNear 1s ease-in-out infinite; border-color: #f2a81c; }
@keyframes bnNear { 50% { box-shadow: 0 0 0 3px #ffd34d, 0 0 14px 2px #ffd34d; } }
.bn-c.shake { animation: bnSh .35s; }
@keyframes bnSh { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.bn-ctl { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; background: linear-gradient(180deg, #8a35cc, #53209a); border: 2px solid #f2c14e; border-radius: 18px; padding: 8px 10px; }
.bn-sp { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.bn-sp button { font: inherit; font-size: 15px; font-weight: 700; padding: 10px 14px; border-radius: 12px; border: 2px solid #8cc5ff; background: linear-gradient(#58b2ff, #1f78d6); color: #fff; cursor: pointer; touch-action: manipulation; }
.bn-sp span { font-size: 13px; color: #e9d6ff; min-width: 100px; }
.bn-over { position: fixed; inset: 0; z-index: 130; background: rgba(15, 5, 40, .8); display: grid; place-items: center; padding: 16px; overflow: auto; }
.bn-over[hidden] { display: none; }
.bn-res { width: min(440px, 100%); background: linear-gradient(180deg, #8a35cc, #53209a); border: 3px solid #f2c14e; border-radius: 20px; padding: 18px; display: grid; gap: 8px; text-align: center; }
.bn-res h4 { margin: 0 0 4px; font-size: 26px; font-family: var(--display); font-weight: 400; }
.bn-sum { margin: 6px 0 0; font-size: 20px; } .bn-sum b { color: #ffd34d; font-size: 26px; }
.bn-bal { margin: 0; color: #e9d6ff; }
.bn-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 6px; }
.bn-foot { text-align: center; font-size: 12.5px; color: #ffe9c9; text-shadow: 0 1px 2px rgba(0,0,0,.8); }
.bn-foot #bgBonusTag { display: inline-block; background: #f2c14e; color: #2b1760; font-weight: 800; padding: 2px 10px; border-radius: 999px; margin-right: 8px; }
.bn-foot #bgBonusTag[hidden] { display: none; }
.bn-lnk { font: inherit; font-size: 12.5px; background: none; border: 0; color: #ffd34d; text-decoration: underline; cursor: pointer; margin-left: 8px; }
[hidden] { display: none !important; }
@media (max-width: 720px) {
  .bn { padding: 10px; }
  .bn-setup { grid-template-columns: 1fr; }
  .bn-row { grid-template-columns: 1fr; }
  .bn-art { display: none; }
  .bn-ball { width: 78px; height: 78px; font-size: 34px; }
  .bn-news { font-size: 21px; }
  .bn-ctl { position: sticky; bottom: 8px; z-index: 5; }
  .bn-c { aspect-ratio: 1 / 0.9; }
}
/* Fodboldspillet og AVISEN Bingo */
.station h2:focus, .station h1:focus { outline: none; }
.fb, .bg { display: grid; gap: 14px; }
.fb-hud { grid-template-columns: repeat(4, 1fr); }
.fb-pad { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 640px; margin: 0 auto; width: 100%; }
.fb-pad button { font: inherit; font-size: 17px; padding: 22px 10px; border-radius: 16px; border: 1px solid var(--line); background: var(--ink-2); color: var(--text); cursor: pointer; touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.fb-pad button:active { background: var(--ink-3); border-color: var(--gold-deep); }
.fb-help { text-align: center; margin: 0; }
.fb-swaprow { text-align: center; }
.fb-stage .jg-over { overflow: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 520px) { .fb-clubs { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 6px !important; } .fb-club { padding: 8px 2px !important; } .fb-club i { width: 42px !important; height: 42px !important; } .fb-club b { font-size: 10.5px !important; line-height: 1.15; } .fb-stage .jg-over b { font-size: 26px; } .fb-stage .jg-over span { font-size: 13px; } .fb-stage .jg-over > div { padding: 10px; gap: 6px; } }
.fb-clubs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; max-width: 420px; margin-top: 6px; }
.fb-club { font: inherit; display: grid; gap: 6px; justify-items: center; padding: 10px 6px; border-radius: 14px; border: 1px solid var(--line); background: var(--ink-2); color: var(--text); cursor: pointer; }
.fb-club:hover, .fb-club:focus-visible { border-color: var(--gold-deep); }
.fb-club i { width: 56px; height: 56px; display: grid; place-items: center; }
.fb-club img { max-width: 100%; max-height: 100%; }
.fb-club b { font-size: 13px; font-weight: 600; }
.fb-br { max-width: 640px; margin: 0 auto; width: 100%; display: grid; gap: 6px; }
.fb-br h3 { margin: 0; font-size: 18px; }
.fb-m { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--ink-2); border: 1px solid var(--line); font-size: 14px; }
.fb-m span:last-child { text-align: right; }
.fb-m.on { border-color: var(--gold-deep); }
.fb-m b { color: var(--gold); }
@media (max-width: 520px) { .fb-hud b, .rh-hud b, .ro-hud b { font-size: 20px !important; white-space: nowrap; } .fb-hud > div { padding-left: 10px; padding-right: 8px; min-width: 0; } .bg-top { grid-template-columns: 1fr; } .bg-news { font-size: 20px; min-height: 48px; } .bg-grid { gap: 2px; } }

/* Madsby Legepark */
.md { display: grid; gap: 16px; max-width: 760px; margin: 0 auto; width: 100%; }
.md-scene { width: 100%; height: auto; display: block; border-radius: 20px; border: 1px solid var(--line); }
.md-scene .gt { cursor: pointer; outline: none; }
.md-scene .gtb { animation: gtBob 3.2s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 100%; }
.md-scene .gth { animation: gtNod 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: 0% 100%; }
.md-scene .bl { opacity: 0; transition: opacity .2s; pointer-events: none; }
.md-scene .gt.say .bl { opacity: 1; }
.md-scene .swg { animation: swg 2.4s ease-in-out infinite; transform-origin: 40px 2px; }
@keyframes gtBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
@keyframes gtNod { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(7deg); } }
@keyframes swg { 0%, 100% { transform: rotate(-14deg); } 50% { transform: rotate(14deg); } }
.md-ppl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.md-ppl div { padding: 12px 16px; border-radius: 14px; background: var(--ink-2); border: 1px solid var(--line); display: grid; gap: 2px; }
.md-ppl b { font-family: var(--display); font-weight: 400; font-size: 20px; }
.md-ppl span { font-size: 13px; color: var(--mute); }
.md-cs { padding: 22px 24px; border-radius: 18px; background: linear-gradient(135deg, #1d2b1e, #15201a); border: 1px solid #36563a; display: grid; gap: 8px; }
.md-tag { justify-self: start; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #0f1a10; background: #9fd88a; padding: 5px 12px; border-radius: 999px; font-weight: 700; }
.md-cs h3 { font-size: 28px; }
.md-cs p { margin: 0; color: var(--mute); font-size: 16px; }
@media (prefers-reduced-motion: reduce) { .md-scene .gtb, .md-scene .gth, .md-scene .swg { animation: none; } }

.bb { display: grid; gap: 10px; max-width: 900px; margin: 0 auto; width: 100%; }
.bb-hud { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.bb-pts { font-family: var(--display); font-size: 24px; color: var(--gold); }
.bb-mis { font-size: 15px; color: var(--mute); }
.bb-hb { display: flex; gap: 6px; flex-wrap: wrap; }
.bb button, .bb-ov button { font: inherit; }
.bb-hb button, .bb-acts button, .bb-rst { font-size: 14px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--ink-2); color: var(--text); cursor: pointer; touch-action: manipulation; }
.bb-stage { position: relative; width: 100%; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #1d2a1d; touch-action: none; user-select: none; -webkit-user-select: none; display: flex; justify-content: center; }
.bb-stage canvas { display: block; max-width: 100%; }
.bb-alarm { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); background: #c8202a; color: #fff; font-weight: 800; padding: 10px 18px; border-radius: 12px; border: 2px solid #fff; box-shadow: 0 6px 18px rgba(0,0,0,.5); text-align: center; max-width: 90%; z-index: 3; animation: bbAl 1s ease-in-out infinite; }
@keyframes bbAl { 50% { transform: translateX(-50%) scale(1.04); } }
.bb-hint { position: absolute; top: 10px; left: 10px; background: rgba(12, 18, 28, .85); color: #fff; padding: 8px 14px; border-radius: 14px; border: 1px solid var(--gold-deep); font-size: 14px; text-align: left; max-width: 58%; pointer-events: none; z-index: 2; }
.bb-prog { position: absolute; top: 10px; right: 10px; left: auto; background: rgba(12, 18, 28, .82); border-radius: 12px; padding: 6px 10px; font-size: 13px; min-width: 150px; z-index: 2; pointer-events: none; }
.bb-prog i { display: block; height: 7px; border-radius: 4px; background: rgba(255,255,255,.2); margin-bottom: 4px; position: relative; overflow: hidden; }
.bb-prog i::after { content: ""; position: absolute; inset: 0; width: var(--p, 0%); background: linear-gradient(90deg, #4ade80, #22c55e); transition: width .3s; }
.bb-ov { position: absolute; inset: 0; background: rgba(8, 12, 20, .55); display: grid; place-items: center; padding: 12px; overflow: auto; z-index: 4; }
.bb-card { background: linear-gradient(180deg, #1e2735, #121821); border: 1px solid var(--gold-deep); border-radius: 18px; padding: 18px; width: min(460px, 100%); display: grid; gap: 10px; text-align: center; box-shadow: 0 20px 50px rgba(0,0,0,.6); }
.bb-card h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 32px; }
.bb-card p { margin: 0; color: var(--mute); font-size: 15px; }
.bb-title small { letter-spacing: .24em; text-transform: uppercase; font-size: 11px; color: var(--gold); }
.bb-stars { font-size: 38px; color: #ffd34d; letter-spacing: 6px; }
.bb-gift { color: var(--text) !important; }
.bb-btns { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.bb-btns.col { flex-direction: column; }
.bb-btns.grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.bb-b { font-size: 17px; padding: 13px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--ink-3, #1c2430); color: var(--text); cursor: pointer; touch-action: manipulation; }
.bb-b.green { background: linear-gradient(#6ee26a, #2a9d34); color: #fff; border-color: #a9f5a0; font-weight: 800; text-shadow: 0 1px 0 rgba(0,0,0,.3); }
.bb-b.ghost { background: transparent; }
.bb-b.small { font-size: 14px; padding: 10px 12px; }
.bb-b[disabled] { opacity: .4; cursor: default; }
.bb-opt { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.bb-seg { font-size: 14px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; }
.bb-seg.on { background: var(--gold); color: #17140c; border-color: var(--gold); font-weight: 700; }
.bb-items { display: grid; gap: 8px; text-align: left; }
.bb-it { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.bb-it span { display: block; font-size: 13px; color: var(--mute); }
.bb-bal { font-size: 18px !important; color: var(--text) !important; }
.bb-selp { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 10px 12px; border-radius: 14px; background: var(--ink-2); border: 1px solid var(--line); }
.bb-sinfo { display: grid; gap: 4px; }
.bb-water { height: 12px; border-radius: 6px; background: rgba(255,255,255,.12); overflow: hidden; position: relative; }
.bb-water i { position: absolute; inset: 0; width: var(--w, 100%); background: linear-gradient(90deg, #4aa8ff, #7bd0ff); transition: width .2s; }
.bb-sinfo small { color: var(--mute); font-size: 13px; }
.bb-acts { display: flex; gap: 6px; flex-wrap: wrap; }
.bb-siren { background: linear-gradient(#ff5a5a, #c8202a) !important; color: #fff !important; font-weight: 800; letter-spacing: .12em; border-color: #ffb0b0 !important; font-size: 18px !important; padding: 12px 22px !important; }
.bb-fleet { display: flex; gap: 8px; flex-wrap: wrap; }
.bb-ch { position: relative; overflow: hidden; display: grid; gap: 2px; text-align: left; padding: 8px 12px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--ink-2); color: var(--text); cursor: pointer; min-width: 120px; flex: 1; touch-action: manipulation; }
.bb-ch.sel { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(226,185,106,.35); }
.bb-ch b { font-size: 15px; } .bb-ch span { font-size: 13px; color: var(--mute); }
.bb-ch i { position: absolute; left: 0; bottom: 0; height: 4px; width: var(--w, 100%); background: #5ab4ff; }
.bb-send { padding: 10px 12px; border-radius: 14px; background: var(--ink-2); border: 1px solid var(--gold-deep); display: grid; gap: 8px; }
.bb-send > div { display: flex; gap: 6px; flex-wrap: wrap; }
.bb-x { justify-self: start; background: transparent; border: 0; color: var(--mute); text-decoration: underline; cursor: pointer; }
.bb-help { text-align: center; }
.bb-logo { width: 74px; height: 74px; margin: 0 auto 4px; display: block; }
.bb-b.orange { background: linear-gradient(#ffb347, #e0701a); color: #fff; border-color: #ffd9a0; font-weight: 800; text-shadow: 0 1px 0 rgba(0,0,0,.3); }
.bb-b.big { font-size: 19px; padding: 17px 18px; }
.bb-ch.all { background: linear-gradient(#6ee26a, #2a9d34); color: #fff; border-color: #a9f5a0; }
.bb-ch.all span { color: #eaffea; }
.bb-ch.chief { border-color: #ffd34d; }
.bb-call { background: linear-gradient(#ffd34d, #e0a010) !important; color: #2a1a00 !important; font-weight: 800; border-color: #fff0b0 !important; }
.bb-sirbig { position: absolute; right: 14px; bottom: 14px; width: 92px; height: 92px; border-radius: 50%; z-index: 5; border: 4px solid #ffd0d0; background: radial-gradient(circle at 35% 30%, #ff7a7a, #c8202a 70%); color: #fff; font-weight: 900; font-size: 20px; letter-spacing: .08em; box-shadow: 0 8px 22px rgba(0,0,0,.5), inset 0 -6px 12px rgba(0,0,0,.25); cursor: pointer; touch-action: manipulation; }
.bb-sirbig:active { transform: scale(.94); }
.bb-chal { position: absolute; left: 12px; bottom: 14px; z-index: 5; font-size: 15px; font-weight: 700; padding: 12px 16px; border-radius: 999px; border: 2px solid #fff3c4; background: linear-gradient(#ffb347, #e0701a); color: #fff; box-shadow: 0 6px 16px rgba(0,0,0,.4); cursor: pointer; touch-action: manipulation; }
.bb.full { position: fixed; inset: 0; z-index: 140; background: #070b10; padding: 0; display: block; overflow: hidden; max-width: none; border-radius: 0; }
.bb.full .bb-help { display: none; }
.bb.full .bb-stage { position: absolute; inset: 0; width: auto; border: 0; border-radius: 0; align-items: center; justify-content: center; }
.bb.full .bb-stage canvas { max-width: none; }
.bb.full .bb-hud { position: absolute; z-index: 7; top: calc(6px + env(safe-area-inset-top)); left: calc(8px + env(safe-area-inset-left)); right: calc(8px + env(safe-area-inset-right)); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; pointer-events: none; }
.bb.full .bb-hud > * { pointer-events: auto; }
.bb.full .bb-pts { font-size: 18px; text-shadow: 0 1px 3px rgba(0,0,0,.7); background: rgba(12,18,28,.7); padding: 4px 10px; border-radius: 12px; }
.bb.full .bb-mis { display: none; }
.bb.full .bb-hb { gap: 5px; margin-left: auto; }
.bb.full .bb-hb button { font-size: 12.5px; padding: 7px 10px; min-height: 36px; border-radius: 10px; background: rgba(12,18,28,.78); backdrop-filter: blur(3px); }
.bb.full .bb-hint { top: calc(54px + env(safe-area-inset-top)); max-width: min(72%, 420px); font-size: 13px; padding: 6px 12px; }
.bb.full .bb-prog { top: calc(54px + env(safe-area-inset-top)); min-width: 120px; font-size: 12px; padding: 5px 9px; }
.bb.full .bb-alarm { bottom: auto; top: 38%; }
.bb.full .bb-side { position: absolute; z-index: 7; left: calc(8px + env(safe-area-inset-left)); right: calc(8px + env(safe-area-inset-right)); bottom: calc(8px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 6px; pointer-events: none; }
.bb.full .bb-side > * { pointer-events: auto; }
.bb.full .bb-selp { grid-template-columns: 1fr auto; align-items: center; gap: 6px 10px; padding: 7px 10px; background: rgba(12,18,28,.84); backdrop-filter: blur(4px); }
.bb.full .bb-acts { justify-content: flex-end; }
.bb.full .bb-acts button { padding: 8px 11px; font-size: 13px; min-height: 40px; }
.bb.full .bb-siren { font-size: 16px !important; padding: 9px 16px !important; }
.bb.full .bb-sinfo small { font-size: 11.5px; }
.bb.full .bb-fleet { flex-wrap: nowrap; overflow-x: auto; gap: 6px; }
.bb.full .bb-ch { min-width: 0; flex: 1 1 0; padding: 6px 8px 9px; background: rgba(12,18,28,.84); }
.bb.full .bb-ch b { font-size: 13px; } .bb.full .bb-ch span { font-size: 11px; }
.bb.full .bb-send { background: rgba(12,18,28,.9); }
.bb.full .bb-rst { display: none; }
.bb.full .bb-sirbig { bottom: calc(14px + env(safe-area-inset-bottom)); right: calc(14px + env(safe-area-inset-right)); }
.bb.full .bb-chal { bottom: calc(14px + env(safe-area-inset-bottom)); left: calc(12px + env(safe-area-inset-left)); }
.bb-side { display: grid; gap: 10px; }
@media (max-width: 560px) { .bb.full .bb-hint, .bb.full .bb-prog { top: calc(92px + env(safe-area-inset-top)); } .bb.full .bb-hint { max-width: 62%; } }
@media (orientation: landscape) and (max-height: 600px) {
  .bb.full .bb-side { left: auto; width: 200px; top: calc(50px + env(safe-area-inset-top)); justify-content: flex-end; }
  .bb.full .bb-fleet { flex-direction: column; overflow: visible; }
  .bb.full .bb-ch { flex: none; }
  .bb.full .bb-acts button { flex: 1 1 45%; padding: 7px 6px; font-size: 12px; min-height: 36px; }
  .bb.full .bb-siren { flex: 1 1 100% !important; }
  .bb.full .bb-hint { max-width: 46%; }
  .bb.full .bb-sirbig { width: 80px; height: 80px; font-size: 17px; }
}
@media (max-width: 640px) { .bb-hb button { padding: 8px 10px; font-size: 13px; } .bb-card h3 { font-size: 26px; } .bb-acts button { flex: 1 1 auto; } }

/* Banegård og perroner */
.hero .hero-house { position: relative; left: auto; bottom: auto; transform: none; display: block; margin: 36px auto 0; width: min(760px, 100%); height: auto; z-index: 1; }
.wrap { position: relative; }
.station.away { visibility: hidden; position: absolute; left: 0; right: 0; top: 0; height: 0; overflow: hidden; pointer-events: none; padding: 0; }
.afgb { position: relative; z-index: 2; margin-top: 56px; padding: 28px 0 8px; scroll-margin-top: 70px; }
.bd-head h2 { font-size: clamp(30px, 4.6vw, 52px); }
.deps { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 12px; margin-top: 26px; }
.dep { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "n t" "n s"; gap: 4px 16px; align-items: center; padding: 16px 18px; border-radius: 16px; background: linear-gradient(180deg, var(--ink-2), #0e1620); border: 1px solid var(--line); color: var(--text); text-decoration: none; transition: transform .2s, border-color .2s, box-shadow .2s; }
.dep:hover, .dep:focus-visible { transform: translateY(-3px); border-color: var(--gold-deep); box-shadow: 0 14px 30px rgba(0,0,0,.4); outline: none; }
.dep:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.dp-n { grid-area: n; display: grid; place-items: center; width: 62px; height: 72px; border-radius: 10px; background: #f2ecdc; color: #1a2430; border: 3px solid #1a2430; box-shadow: inset 0 0 0 2px #f2ecdc, inset 0 0 0 3px #b9ad8f; }
.dp-n small { font-size: 9px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: #6b5a3a; margin-bottom: -6px; }
.dp-n b { font-family: var(--display); font-size: 44px; line-height: 1; font-weight: 400; }
.dp-t { grid-area: t; display: grid; gap: 3px; }
.dp-t strong { font-family: var(--display); font-weight: 400; font-size: 27px; line-height: 1.05; }
.dp-t span { font-size: 14px; color: var(--mute); line-height: 1.4; }
.dp-s { grid-area: s; display: inline-flex; align-items: center; gap: 7px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.dp-s i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: blink 1.6s ease-in-out infinite; }
.dp-s.ad { color: #e9ae5d; }
@keyframes blink { 50% { opacity: .25; } }
.perron { position: relative; display: flex; align-items: center; gap: 18px; margin-bottom: 38px; padding: 16px 20px 22px; border-radius: 16px 16px 0 0; background: linear-gradient(180deg, #16222f, #101a25); border: 1px solid var(--line); border-bottom: 0; }
.perron::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background: repeating-linear-gradient(135deg, #e2b96a 0 14px, #1a2430 14px 28px); border-radius: 0; opacity: .9; }
.pl-sign { display: grid; place-items: center; width: 56px; height: 66px; flex: none; border-radius: 9px; background: #f2ecdc; color: #1a2430; border: 3px solid #1a2430; box-shadow: inset 0 0 0 2px #f2ecdc, inset 0 0 0 3px #b9ad8f; }
.pl-sign small { font-size: 9px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: #6b5a3a; margin-bottom: -5px; }
.pl-sign b { font-family: var(--display); font-size: 40px; line-height: 1; font-weight: 400; }
.pl-txt { display: grid; gap: 2px; min-width: 0; flex: 1; }
.pl-txt small { font-size: 12px; color: var(--mute); letter-spacing: .06em; }
.pl-txt strong { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 4vw, 38px); line-height: 1.05; }
.pl-back { flex: none; font-size: 13px; color: var(--text); text-decoration: none; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--ink-3); }
.pl-back:hover { border-color: var(--gold-deep); }
.avgang { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 56px; }
.av { display: grid; gap: 2px; padding: 18px 22px; border-radius: 16px; background: var(--ink-2); border: 1px solid var(--line); text-decoration: none; color: var(--text); transition: border-color .2s, transform .2s; }
.av:hover, .av:focus-visible { border-color: var(--gold-deep); transform: translateY(-2px); }
.av small { font-size: 12px; color: var(--mute); letter-spacing: .06em; }
.av b { font-family: var(--display); font-weight: 400; font-size: 28px; }
.av.next { text-align: right; background: linear-gradient(135deg, #1d2a1c00, #2a2110); border-color: var(--gold-deep); }
.av.next b { color: var(--gold); }
.ride { position: fixed; inset: 0; z-index: 200; background: radial-gradient(ellipse at 50% 60%, #14202d, #070b10); opacity: 0; pointer-events: none; transition: opacity .28s; display: grid; place-items: center; overflow: hidden; }
.ride.on { opacity: 1; pointer-events: auto; }
.ride-sign { position: relative; z-index: 2; text-align: center; margin-top: -18vh; padding: 0 20px; }
.ride-sign small { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.ride-sign b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(44px, 9vw, 96px); line-height: 1.02; }
.ride-line { position: absolute; left: 0; right: 0; top: 66%; height: 6px; background: linear-gradient(#e3e8ee, #8d96a0 45%, #565f69); box-shadow: 0 3px 4px rgba(0,0,0,.45); }
.ride-line::after { content: ""; position: absolute; left: 0; right: 0; top: 14px; height: 14px; background: repeating-linear-gradient(90deg, transparent 0 5px, #4a3321 5px 21px, transparent 21px 28px); }
.ride-train { position: absolute; top: calc(66% - 74px); left: 0; width: min(430px, 72vw); transform: translateX(-110%); }
.ride.on .ride-train { animation: rideGo 1.15s cubic-bezier(.45,.05,.55,.95) both; }
.ride .tb-train { width: 100%; height: auto; display: block; }
.ride .wh { animation: rspin .45s linear infinite; }
@keyframes rspin { to { transform: rotate(360deg); } }
@keyframes rideGo { from { transform: translateX(-110%); } to { transform: translateX(calc(100vw + 10%)); } }
.rail .tr { transition: left .9s cubic-bezier(.4,.1,.2,1), transform .9s cubic-bezier(.4,.1,.2,1); }
@media (max-width: 640px) {
  .perron { gap: 12px; padding: 14px 14px 20px; flex-wrap: wrap; }
  .pl-back { order: 3; margin-left: auto; }
  .avgang { grid-template-columns: 1fr; }
  .av.next { text-align: left; }
  .dp-t strong { font-size: 24px; }
}
/* Grandiose perroner */
.perron { display: block; padding: 0; min-height: 250px; overflow: hidden; margin-bottom: 38px; border-radius: 18px 18px 0 0; background: linear-gradient(180deg, hsl(var(--h) 38% 11%) 0%, hsl(var(--h) 46% 20%) 62%, hsl(var(--h) 55% 30%) 100%); }
.perron::after { z-index: 6; height: 14px; }
.pn-sky { position: absolute; inset: 0 0 60px 0; background: radial-gradient(1.4px 1.4px at 12% 22%, #fff9 50%, transparent), radial-gradient(1.2px 1.2px at 27% 40%, #fff8 50%, transparent), radial-gradient(1.6px 1.6px at 41% 15%, #fffb 50%, transparent), radial-gradient(1.2px 1.2px at 58% 34%, #fff7 50%, transparent), radial-gradient(1.5px 1.5px at 73% 18%, #fff9 50%, transparent), radial-gradient(1.2px 1.2px at 88% 38%, #fff8 50%, transparent), radial-gradient(1.2px 1.2px at 6% 48%, #fff6 50%, transparent), radial-gradient(1.3px 1.3px at 93% 12%, #fff9 50%, transparent); }
.pn-moon { position: absolute; right: 9%; top: 18px; width: 38px; height: 38px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fffdf0, #f1e2ae 70%); box-shadow: 0 0 40px 10px hsl(var(--h) 80% 70% / .28); opacity: .9; }
.pn-city { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 58px; opacity: .95; }
.pn-roof { position: absolute; left: 0; right: 0; top: 0; height: 15px; background: linear-gradient(#060a10, #121b26); border-bottom: 2px solid #2a3a4c; z-index: 4; display: flex; justify-content: space-around; }
.pn-roof b { position: relative; width: 0; height: 0; }
.pn-roof b::before { content: ""; position: absolute; left: -9px; top: 13px; width: 18px; height: 8px; border-radius: 0 0 9px 9px; background: #ffe9a8; box-shadow: 0 0 14px 6px #ffd98a88; }
.pn-roof b::after { content: ""; position: absolute; left: -46px; top: 18px; width: 92px; height: 120px; background: linear-gradient(#ffe9a844, transparent); clip-path: polygon(40% 0, 60% 0, 100% 100%, 0 100%); opacity: .55; }
.pn-in { position: relative; z-index: 5; display: flex; align-items: center; gap: 18px; padding: 44px 22px 0; }
.pl-sign { transform-origin: 50% -26px; box-shadow: 0 10px 24px #0008, inset 0 0 0 2px #f2ecdc, inset 0 0 0 3px #b9ad8f; position: relative; }
.pl-sign::before { content: ""; position: absolute; left: 50%; top: -30px; width: 2px; height: 26px; background: #6c7886; }
.pl-txt strong { text-shadow: 0 2px 14px #0008; font-size: clamp(30px, 5vw, 50px); }
.pl-txt small { color: #e2c98f; }
.pn-track { position: absolute; left: 0; right: 0; bottom: 14px; height: 96px; z-index: 3; overflow: hidden; }
.pn-track::before { content: ""; position: absolute; left: 0; right: 0; bottom: 14px; height: 5px; background: linear-gradient(#dfe5ec, #7c8691 50%, #4b5460); box-shadow: 0 2px 3px #0008; }
.pn-track::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background: repeating-linear-gradient(90deg, transparent 0 8px, #3a2a1c 8px 20px); opacity: .85; }
.pn-train { position: absolute; right: 26px; bottom: 14px; width: min(330px, 56%); transform: translateX(-130vw); }
.pn-train .tb-train { width: 100%; height: auto; display: block; filter: drop-shadow(0 6px 8px #0008); }
.pn-steam { position: absolute; right: calc(26px + min(330px, 56%) * .82); bottom: 78px; width: 1px; height: 1px; }
.pn-steam i { position: absolute; width: 18px; height: 18px; border-radius: 50%; background: #e9eef3; opacity: 0; filter: blur(3px); }
.perron.arr .pn-train { animation: pnIn 2.3s cubic-bezier(.12,.7,.2,1) both; }
.perron.arr .pn-train .wh { animation: rspin .45s linear 4 both; }
.perron.arr .pl-sign { animation: pnSwing 1.6s ease-out .5s both; }
.perron.arr .pl-txt { animation: pnFade .9s ease-out .6s both; }
.perron.arr .pn-roof b::before { animation: pnLamp .9s steps(1) both; }
.perron.arr .pn-roof b:nth-child(2n)::before { animation-delay: .15s; }
.perron.arr .pn-roof b:nth-child(3n)::before { animation-delay: .3s; }
.perron.arr .pn-steam i { animation: pnPuff 2.6s ease-out 1.6s infinite; }
.perron.arr .pn-steam i:nth-child(2) { animation-delay: 2.2s; } .perron.arr .pn-steam i:nth-child(3) { animation-delay: 2.8s; }
@keyframes pnIn { 0% { transform: translateX(-130vw); } 100% { transform: translateX(0); } }
@keyframes pnSwing { 0% { transform: translateY(-80px) rotate(-8deg); } 55% { transform: translateY(4px) rotate(5deg); } 78% { transform: rotate(-2deg); } 100% { transform: none; } }
@keyframes pnFade { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
@keyframes pnLamp { 0% { opacity: .1; } 40% { opacity: 1; } 55% { opacity: .3; } 100% { opacity: 1; } }
@keyframes pnPuff { 0% { opacity: 0; transform: translate(0, 0) scale(.5); } 15% { opacity: .55; } 100% { opacity: 0; transform: translate(-40px, -70px) scale(2.4); } }
@media (max-width: 640px) {
  .perron { min-height: 235px; }
  .pn-in { flex-wrap: wrap; gap: 12px; padding: 40px 14px 0; }
  .pn-track { height: 84px; }
  .pn-train { width: min(250px, 66%); right: 12px; }
  .pn-steam { right: calc(12px + min(250px, 66%) * .82); bottom: 66px; }
  .pn-sky { bottom: 50px; }
  .pn-city { height: 44px; }
  .pl-back { order: 3; margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) { .perron .pn-train, .perron .pl-sign, .perron .pl-txt, .perron .pn-roof b::before, .perron .pn-steam i, .perron .pn-train .wh { animation: none !important; } .perron .pn-train { transform: none; } }
@media (prefers-reduced-motion: reduce) { .ride.on .ride-train { animation: none; transform: translateX(30vw); } .ride .wh, .dp-s i { animation: none; } .rail .tr { transition: none; } }

/* afgangsskilt */
.depart { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; margin-top: 10px; padding: 12px 30px 14px; border-radius: 6px; background: linear-gradient(180deg, #34231f, #231713); border: 2px solid #6b4a3a; box-shadow: 0 0 0 4px #14100e, 0 10px 26px rgba(0,0,0,.45), 0 0 40px rgba(255,207,107,.12); }
.depart small { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: #c9b995; font-weight: 600; }
.dsign { font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: clamp(26px, 5vw, 40px); letter-spacing: .2em; padding-left: .2em; color: #fff1c9; text-shadow: 0 0 6px rgba(255,207,107,.8), 0 0 22px rgba(255,190,80,.55), 1px 2px 0 #2a0f0a; }
@media (min-width: 1381px) { .bar nav { gap: 2px; } .bar nav a { padding: 6px 9px; font-size: 12.5px; white-space: nowrap; } }
@media (max-width: 1380px) { .bar nav { gap: 10px; } .bar nav a { font-size: 0; padding: 0; width: 10px; height: 10px; background: var(--line); border-radius: 50%; } .bar nav a[aria-current="true"] { background: var(--gold); } }
.lb { margin-top: 44px; padding: 22px; border-radius: 20px; background: linear-gradient(180deg, var(--ink-2), #0e1620); border: 1px solid var(--line); display: grid; gap: 14px; }
.lb h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(26px, 4vw, 36px); }
.lb-sub { margin: 0; color: var(--mute); font-size: 14px; }
.lb-tabs { display: flex; gap: 8px; }
.lb-tabs button { font: inherit; font-size: 13px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--ink-3); color: var(--mute); cursor: pointer; }
.lb-tabs button[aria-pressed="true"] { color: var(--text); border-color: var(--gold-deep); }
.lb-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.lb-list li { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 12px; background: var(--ink-3); border: 1px solid transparent; }
.lb-list li.me { border-color: var(--gold); background: #2a2415; }
.lb-list .n { font-family: var(--display); font-size: 22px; color: var(--gold); }
.lb-list .p { font-family: var(--display); font-size: 24px; }
.lb-list .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-empty { color: var(--mute); font-size: 14px; margin: 0; }
.lb-name { display: flex; gap: 8px; flex-wrap: wrap; }
.lb-name input { flex: 1 1 160px; min-width: 0; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--ink); color: var(--text); font: inherit; }
.lb-duel { margin: 0; padding: 10px 14px; border-radius: 12px; background: #1b2a1c; color: #cfe9cf; font-size: 14px; }
.lb-note { margin: 0; color: var(--mute); font-size: 13px; }

.biz-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 18px; max-width: 760px; }
.biz-form label { display: grid; gap: 6px; font-size: 13px; color: var(--mute); }
.biz-form input { padding: 12px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--ink-2); color: var(--text); font: inherit; font-size: 16px; min-width: 0; }
.biz-form input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.sk-name { font-family: var(--display); font-size: clamp(22px, 3.4vw, 30px); line-height: 1.1; color: var(--text); margin-bottom: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 640px) { .biz-form { grid-template-columns: 1fr; } }
.bz-cta { margin-top: 22px; }
.sh-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 300; padding: 12px 20px; border-radius: 999px; background: #f6efdd; color: #2a2013; font-size: 15px; box-shadow: 0 10px 30px rgba(0,0,0,.5); }

/* Byens Brød med flere kager og rejsekort */
.bb-pick { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 380px; }
.bb-pick svg { width: 46px; height: 46px; }
.bb-pick button { padding: 8px 4px; font-size: 13px; }
@media (max-width: 780px) { .bb-side > fieldset:nth-of-type(1) { order: 3; } .bb-side > fieldset:nth-of-type(2) { order: 4; } .bb-side > fieldset:nth-of-type(3) { order: 5; } .bb-score { order: 6; } }
.hero-top { gap: 16px; }
.rk { max-width: 760px; margin: 0 auto 26px; padding: 16px 18px; border-radius: 18px; background: linear-gradient(135deg, #1b2431, #141c27); border: 1px solid var(--line); display: grid; gap: 10px; }
.rk-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.rk-h b { font-family: var(--display); font-weight: 400; font-size: 24px; }
.rk-h span { font-size: 13px; color: var(--mute); }
.rk-s { display: flex; flex-wrap: wrap; gap: 8px; }
.rk-s i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 13px; font-weight: 700; border: 2px dashed #3a4656; color: #5b6878; }
.rk-s i.on { border: 2px solid #b3202a; color: #b3202a; background: #f2ecdc; transform: rotate(-8deg); }
@media (max-width: 640px) { .pn-in { display: block; position: relative; min-height: 78px; } .pn-in .pl-sign { position: absolute; left: 14px; top: 40px; } .pn-in .pl-txt { margin-left: 74px; padding-right: 108px; min-height: 78px; align-content: center; } .pn-in .pl-back { position: absolute; right: 12px; top: 50px; padding: 7px 12px; font-size: 12px; } .pl-txt strong { font-size: 28px; } }
.rk p { margin: 0; font-size: 14px; color: var(--mute); }

/* Banen i ring */
.bar nav, .rail { display: none !important; }
.bar { padding-bottom: 12px !important; }
.bar-ring { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: 14px; color: var(--text); background: var(--ink-3); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 10px; cursor: pointer; }
.bar-ring svg { width: 34px; height: 22px; }
.bar-ring:hover, .bar-ring:focus-visible { border-color: var(--gold-deep); }
.rm { max-width: 1100px; margin: 48px auto 30px; display: grid; gap: 12px; }
.rm-h { text-align: center; display: grid; gap: 6px; }
.rm-h h2 { font-size: clamp(26px, 4vw, 40px); }
.rm-h p { margin: 0; color: var(--mute); }
.rm-box { border-radius: 22px; overflow: hidden; border: 1px solid #2c4a35; background: #1b4a2c; box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.rm-svg { display: block; width: 100%; height: auto; touch-action: manipulation; }
.rm-stop { cursor: pointer; outline: none; }
.rm-stop .hit { fill: transparent; }
.rm-stop .disc { fill: #f2ecdc; stroke: #1a2430; stroke-width: 3.5; transition: fill .2s, stroke .2s; }
.rm-stop text.num { font-family: Georgia, serif; font-weight: 700; fill: #1a2430; text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.rm-stop.vis .disc { stroke: #b3202a; }
.rm-stop.cur .disc { fill: #e2b96a; stroke: #7a2a10; }
.rm-stop:hover .disc, .rm-stop:focus-visible .disc, .rm-stop.sel .disc { fill: #fff6d6; stroke: #b3202a; }
.rm-stop.sel .ring, .rm-stop:focus-visible .ring { opacity: 1; }
.rm-stop .ring { fill: none; stroke: #ffe9a8; stroke-width: 3; opacity: 0; }
.rm-lab { pointer-events: none; display: none; }
.rm-svg.lab .rm-lab { display: block; }
.rm-lab rect { fill: rgba(9, 15, 22, .78); }
.rm-lab text { font-family: "Hanken Grotesk", system-ui, sans-serif; font-size: 15.5px; font-weight: 600; fill: #f4efe2; }
.rm-cap { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; min-height: 48px; }
.rm-cap span { font-size: 16px; }
.rm-cap .btn { padding: 10px 20px; }
.rm-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rm-list[hidden] { display: none; }
.rm-list button { font: inherit; display: flex; align-items: center; gap: 10px; text-align: left; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--ink-2); color: var(--text); cursor: pointer; font-size: 15px; line-height: 1.2; }
.rm-list i { font-style: normal; font-family: Georgia, serif; font-weight: 700; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #f2ecdc; color: #1a2430; font-size: 14px; }
.rm-list button.cur { border-color: var(--gold-deep); }
@media (max-width: 380px) { .rm-list { grid-template-columns: 1fr; } }
.rm-ov { position: fixed; inset: 0; z-index: 120; background: #05090e; display: none; overflow: auto; padding: 70px 14px 30px; }
.rm-ov.on { display: block; }
.rm-ov .rm { margin: 0 auto; }
.rm-x { position: fixed; top: 14px; right: 14px; z-index: 121; font: inherit; font-size: 15px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--ink-2); color: var(--text); cursor: pointer; display: none; }
.rm-ov.on ~ .rm-x { display: block; }


.fb-fullbtn { display: none; }
@media (pointer: coarse) { .fb-fullbtn { display: inline-flex; } }
.fb-close, .fb-rot { display: none; }
.fb.full { position: fixed; inset: 0; z-index: 140; background: #070b10; padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 6px; overflow: hidden; }
.fb.full .fb-br, .fb.full .fb-help, .fb.full .fb-swaprow { display: none; }
.fb.full .fb-hud { gap: 6px; padding-right: 74px; }
.fb.full .fb-hud > div { padding: 4px 8px; }
.fb.full .fb-hud small { font-size: 10px; }
.fb.full .fb-hud b { font-size: 18px !important; }
.fb.full .fb-close { display: block; position: absolute; top: 8px; right: 8px; z-index: 3; font: inherit; font-size: 14px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--ink-2); color: var(--text); }
.fb.full .fb-stage { flex: 1; min-height: 0; max-width: none; border: 0; border-radius: 12px; background: transparent; display: flex; align-items: center; justify-content: center; }
.fb.full .fb-stage canvas { width: auto; height: auto; max-width: 100%; max-height: 100%; aspect-ratio: 640 / 440; border-radius: 12px; }
.fb.full .fb-pad { max-width: none; grid-template-columns: 1fr 1fr; }
.fb.full .fb-pad button { padding: 18px 8px; font-size: 18px; }
@media (orientation: landscape) and (max-height: 620px) {
  .fb.full .fb-pad { position: absolute; right: calc(12px + env(safe-area-inset-right)); bottom: calc(12px + env(safe-area-inset-bottom)); width: auto; display: flex; flex-direction: column; gap: 10px; z-index: 2; }
  .fb.full .fb-pad button { width: 92px; height: 92px; border-radius: 50%; padding: 0; background: rgba(20, 28, 40, .72); border: 2px solid rgba(255,255,255,.35); font-size: 15px; }
  .fb.full .fb-pad button:first-child { width: 78px; height: 78px; align-self: flex-end; }
}
@media (orientation: portrait) { .fb.full .fb-rot { display: block; text-align: center; font-size: 13px; color: var(--mute); } }
.tz { position: relative; margin: 0 0 20px; border-radius: 20px; overflow: hidden; border: 1px solid var(--gold-deep); box-shadow: 0 18px 50px -20px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.03); background: #05070c; }
.tz-svg { display: block; width: 100%; height: auto; aspect-ratio: 1000 / 660; }
.tz-cta { position: static; width: auto; padding: 14px 16px 16px; background: linear-gradient(180deg, #0b0e15, #05070c); display: grid; gap: 8px; justify-items: center; }
.tz-btn { max-width: 380px; }
.tz-tip { margin: 0; font-size: 12.5px; color: var(--mute); text-align: center; }
.tz-star { animation: tzTw 3s ease-in-out infinite; } @keyframes tzTw { 0%,100% { opacity: .9 } 50% { opacity: .25 } }
.tz-cl { animation: tzCl linear infinite alternate; } @keyframes tzCl { from { transform: translateX(-40px) } to { transform: translateX(60px) } }
.tz-sh { animation: tzTw 2.4s ease-in-out infinite; }
.tz-go { animation: tzTw 1.6s ease-in-out infinite; }
.tz-flag { animation: tzFl 1.4s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: left center; } @keyframes tzFl { from { transform: skewY(-6deg) } to { transform: skewY(6deg) } }
.tz-mk { cursor: pointer; outline: none; } .tz-mk:hover circle:nth-child(3), .tz-mk:focus circle:nth-child(3) { stroke: #fff; }
.tz-btn-old { font: inherit; width: 100%; cursor: pointer; border: 1px solid rgba(255,255,255,.35); border-radius: 16px; padding: 12px 16px 13px; background: linear-gradient(180deg, #f0cf82, #d9ab4a); color: #17140c; display: grid; gap: 1px; text-align: center; box-shadow: 0 10px 30px -8px rgba(0,0,0,.7); animation: tzPulse 2.6s ease-in-out infinite; transition: transform .2s; }
.tz-btn:hover { transform: translateY(-2px); }
.tz-btn small { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; opacity: .7; }
.tz-btn b { font-family: var(--display); font-weight: 400; font-size: clamp(24px, 3.4vw, 34px); line-height: 1.1; }
.tz-btn span { font-size: 14px; }
@keyframes tzPulse { 0%,100% { box-shadow: 0 10px 30px -8px rgba(0,0,0,.7), 0 0 0 0 rgba(240,207,130,.5); } 50% { box-shadow: 0 10px 30px -8px rgba(0,0,0,.7), 0 0 0 12px rgba(240,207,130,0); } }
@media (max-width: 700px) {
  .tz-svg { aspect-ratio: 1000 / 900; }

  .tz-btn b { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) { .tz-btn { animation: none; } }
.tz-btn { font: inherit; width: 100%; cursor: pointer; position: relative; border: 1px solid #6b5326; border-radius: 6px; padding: 12px 18px 13px; background: linear-gradient(180deg, #2b201a, #16100c); color: #f3ead2; display: grid; gap: 2px; text-align: center; box-shadow: 0 12px 30px -10px rgba(0,0,0,.85), 0 0 0 3px #0c0907, 0 0 0 4px #4a3a1d; animation: tzGlow 3.4s ease-in-out infinite; transition: transform .2s, border-color .2s; }
.tz-btn::before { content: ""; position: absolute; inset: 4px; border: 1px solid rgba(226, 185, 106, .45); border-radius: 3px; pointer-events: none; }
.tz-btn:hover, .tz-btn:focus-visible { transform: translateY(-2px); border-color: #e2b96a; }
.tz-btn small { font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: #e2b96a; opacity: 1; }
.tz-btn b { font-family: Georgia, "Times New Roman", serif; font-weight: 700; letter-spacing: .08em; font-size: clamp(20px, 2.6vw, 28px); line-height: 1.15; color: #fff1c9; text-shadow: 0 0 10px rgba(255, 207, 107, .45), 1px 2px 0 #1b0b07; }
.tz-btn span { font-size: 13.5px; color: #cfc4a8; }
.tz-btn span::after { content: "  \2192"; color: #e2b96a; }
@keyframes tzGlow { 0%,100% { box-shadow: 0 12px 30px -10px rgba(0,0,0,.85), 0 0 0 3px #0c0907, 0 0 0 4px #4a3a1d, 0 0 0 0 rgba(226,185,106,.0); } 50% { box-shadow: 0 12px 30px -10px rgba(0,0,0,.85), 0 0 0 3px #0c0907, 0 0 0 4px #4a3a1d, 0 0 26px 2px rgba(226,185,106,.28); } }

@media (max-width: 700px) {
  .bb:not(.full) .bb-stage { min-height: 480px; align-items: center; }
  .bb:not(.full) .bb-ov { place-items: start center; padding: 10px; }
}
@media (pointer: coarse) {
  .pl-back, .bb-hb button, .bb button, .fb button, .bn button { min-height: 44px; }
  .pl-back { padding-top: 10px; padding-bottom: 10px; }
}
@media (max-width: 700px) { .tz-btn b { font-size: 22px; } }


#r3{position:fixed;inset:0;z-index:99990;background:#6fa8d8;touch-action:none;-webkit-user-select:none;user-select:none;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:#fff;overflow:hidden}
#r3[hidden]{display:none}
#r3 canvas#r3cv{position:absolute;inset:0;width:100%;height:100%;display:block}
#r3 .r3-hud{position:absolute;inset:0;pointer-events:none}
#r3 .r3-hud button{pointer-events:auto;font-family:inherit;color:#fff;-webkit-tap-highlight-color:transparent;touch-action:none}
#r3 .r3-tl{position:absolute;left:max(10px,env(safe-area-inset-left));top:max(10px,env(safe-area-inset-top));display:flex;gap:8px}
#r3 .r3-rb{width:46px;height:46px;border-radius:50%;border:3px solid rgba(255,255,255,.85);background:rgba(20,24,34,.55);font-size:22px;line-height:1;display:grid;place-items:center;padding:0;cursor:pointer;backdrop-filter:blur(3px)}
#r3 .r3-rb small{display:block;font-size:9px;font-weight:700;margin-top:-2px;letter-spacing:.2px}
#r3 .r3-rb.dn,#r3 .r3-ped.dn,#r3 .r3-ar.dn{background:rgba(255,255,255,.55);transform:scale(.94)}
#r3 .r3-inc{position:absolute;left:max(10px,env(safe-area-inset-left));top:max(64px,calc(env(safe-area-inset-top) + 58px));display:flex;flex-direction:column;gap:6px;width:min(250px,44vw)}
#r3 .r3-it{display:flex;gap:8px;align-items:center;background:rgba(20,24,34,.62);border-left:5px solid #ff4a2a;border-radius:10px;padding:6px 9px;font-size:12px;line-height:1.25}
#r3 .r3-it.pol{border-left-color:#4a8cff}#r3 .r3-it.done{border-left-color:#3fcf6b;opacity:.85}#r3 .r3-it.none{border-left-color:#8a93a6}
#r3 .r3-it i{font-style:normal;font-size:18px}#r3 .r3-it b{display:block;font-size:13px}#r3 .r3-it span{opacity:.8;font-size:11px}
#r3 .r3-tr{position:absolute;right:max(10px,env(safe-area-inset-right));top:max(10px,env(safe-area-inset-top));display:flex;gap:8px}
#r3 .r3-tr b{background:rgba(20,24,34,.65);border:2px solid rgba(255,255,255,.7);border-radius:999px;padding:6px 13px;font-size:15px;font-weight:800;color:#ffe27a}
#r3 .r3-tr b+b{color:#9fe3ff}
#r3 .r3-mm{position:absolute;right:max(10px,env(safe-area-inset-right));top:max(56px,calc(env(safe-area-inset-top) + 50px));width:118px;height:118px;border-radius:50%;overflow:hidden;border:3px solid #fff;background:#4f7a4c;box-shadow:0 2px 10px rgba(0,0,0,.4)}
#r3 .r3-mm canvas{width:100%;height:100%;display:block}
#r3 .r3-lim{position:absolute;right:4px;bottom:4px;width:28px;height:28px;border-radius:50%;background:#fff;border:3px solid #d62323;color:#111;font-weight:900;font-size:12px;display:grid;place-items:center}
#r3 .r3-banner{position:absolute;left:50%;top:max(12px,env(safe-area-inset-top));transform:translateX(-50%);background:rgba(190,30,20,.92);border:2px solid #fff;border-radius:12px;padding:9px 16px;font-weight:800;font-size:16px;white-space:nowrap;max-width:92vw;overflow:hidden;text-overflow:ellipsis}
#r3 .r3-banner[hidden],#r3 .r3-arrow[hidden],#r3 .r3-hint[hidden],#r3 .r3-spd[hidden],#r3 .r3-call[hidden],#r3 .r3-ov[hidden]{display:none}
#r3 .r3-arrow{position:absolute;left:50%;top:max(60px,calc(env(safe-area-inset-top) + 54px));transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:0;font-weight:800;font-size:13px;text-shadow:0 1px 3px #000}
#r3 .r3-arrow i{font-style:normal;font-size:30px;color:#ffd24a;text-shadow:0 2px 4px #000;transition:transform .08s}
#r3 .r3-hint{position:absolute;left:50%;bottom:max(14px,env(safe-area-inset-bottom));transform:translateX(-50%);background:rgba(20,24,34,.65);border-radius:999px;padding:7px 15px;font-size:13px;font-weight:600;white-space:nowrap;max-width:60vw;overflow:hidden;text-overflow:ellipsis}
#r3 .r3-spd{position:absolute;right:max(10px,env(safe-area-inset-right));top:max(180px,calc(env(safe-area-inset-top) + 174px));background:rgba(20,24,34,.7);border:2px solid #fff;border-radius:12px;padding:5px 11px;font-size:13px}
#r3 .r3-spd b{font-size:22px}#r3 .r3-spd em{font-style:normal;background:#ffd24a;color:#111;border-radius:6px;padding:1px 6px;margin-left:6px;font-weight:800}
#r3 .r3-zone{position:absolute;left:0;bottom:0;width:46%;height:62%;pointer-events:auto;touch-action:none}
#r3.r3-drv .r3-zone{pointer-events:none}
#r3 .r3-base{position:absolute;width:110px;height:110px;margin:-55px 0 0 -55px;border-radius:50%;border:3px solid rgba(255,255,255,.55);background:rgba(255,255,255,.12);display:none;left:90px;top:80%}
#r3 .r3-base.on{display:block}
#r3 .r3-base i{position:absolute;left:50%;top:50%;width:48px;height:48px;margin:-24px 0 0 -24px;border-radius:50%;background:rgba(255,255,255,.7)}
#r3 .r3-L{position:absolute;left:max(14px,env(safe-area-inset-left));bottom:max(18px,env(safe-area-inset-bottom));display:none;gap:14px}
#r3.r3-drv .r3-L{display:flex}
#r3 .r3-ar{width:78px;height:78px;border-radius:50%;border:3px solid #fff;background:rgba(20,24,34,.5);font-size:34px;display:grid;place-items:center;padding:0}
#r3 .r3-R{position:absolute;right:max(12px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));width:300px;height:250px;pointer-events:none}
#r3 .r3-R>*{position:absolute;pointer-events:auto}
#r3 .r3-R .big{width:62px;height:62px;font-size:28px}
#r3 .foot{display:grid}#r3.r3-drv .foot{display:none}
#r3 .veh{display:none}#r3.r3-drv .veh{display:grid}
#r3 .spr{display:none}#r3.r3-drv.r3-fv .spr{display:grid}
#r3 .r3-R [data-t="jump"]{right:6px;bottom:96px}#r3 .r3-R #r3Run{right:84px;bottom:12px}
#r3 .r3-R #r3Act{right:6px;bottom:12px;width:72px;height:72px;font-size:32px}
#r3 .r3-R #r3Act.glow{border-color:#ffd24a;box-shadow:0 0 14px 3px rgba(255,210,74,.8)}
#r3 .r3-R #r3Act::after{content:attr(data-t);position:absolute;bottom:100%;left:50%;transform:translateX(-50%);white-space:nowrap;font-size:11px;font-weight:800;background:rgba(20,24,34,.75);border-radius:8px;padding:2px 7px;margin-bottom:4px}
#r3 .r3-R #r3Act[data-t=""]::after{display:none}
#r3 #r3Run.on{background:rgba(255,210,74,.7);color:#111}
#r3.r3-drv .r3-R #r3Act{right:154px;bottom:12px;width:56px;height:56px;font-size:24px}
#r3 .r3-ped{border-radius:18px;border:3px solid #fff;background:rgba(20,24,34,.5);font-size:11px;font-weight:800;padding:0;align-items:end;justify-items:center}
#r3 .r3-ped span{padding-bottom:8px;opacity:.85}
#r3 .r3-ped.tall{right:6px;bottom:12px;width:68px;height:140px}#r3 .r3-ped:not(.tall){right:82px;bottom:12px;width:62px;height:84px}
#r3 .r3-R #r3Sir{right:6px;bottom:164px}#r3 .r3-R [data-h="horn"]{right:62px;bottom:164px}#r3 .r3-R [data-t="lights"]{right:118px;bottom:164px}#r3 .r3-R [data-h="hb"]{right:174px;bottom:164px;font-weight:900;font-size:20px}
#r3 .r3-rb.on{background:rgba(214,35,35,.85)}
#r3 .r3-R #r3Spr{right:154px;bottom:76px;width:70px;height:70px}#r3 #r3Spr.on{background:rgba(60,150,255,.85)}
#r3 .r3-tl .r3-call{position:static;height:46px}
#r3 .r3-call{width:auto;border-radius:12px;border:2px solid #fff;background:rgba(190,30,20,.9);font-weight:800;font-size:12px;padding:8px 12px}
#r3 .r3-ov{position:absolute;inset:0;background:rgba(10,14,24,.55);display:grid;place-items:center;padding:12px;overflow:auto;pointer-events:auto}
#r3 .r3-card{background:rgba(18,22,34,.92);border:2px solid rgba(255,255,255,.35);border-radius:20px;padding:16px 20px;max-width:520px;width:100%;text-align:center}
#r3 .r3-card img{height:44px;margin-bottom:2px}#r3 .r3-card small{display:block;opacity:.75;font-size:12px}
#r3 .r3-card h2{margin:2px 0 6px;font-size:28px;letter-spacing:.5px}#r3 .r3-card p{margin:4px 0 10px;font-size:14px;opacity:.9}
#r3 .r3-pick{display:flex;gap:12px}#r3 .r3-pick button{flex:1;border-radius:16px;border:3px solid #fff;color:#fff;padding:12px 8px;font-size:15px;cursor:pointer;display:flex;flex-direction:column;gap:4px;font-family:inherit}
#r3 .r3-pick button b{font-size:19px}#r3 .r3-pick button span{font-size:12px;opacity:.9}
#r3 .r3-pick button[data-role=fire]{background:#c8242b}#r3 .r3-pick button[data-role=pol]{background:#2a58c8}
#r3 .r3-how{font-size:12px!important;opacity:.7!important;margin-top:12px!important}
#r3 .r3-back{background:none;border:0;color:#9fc4ff;font-size:14px;text-decoration:underline;cursor:pointer;margin-top:4px;font-family:inherit}
@media (max-height:480px){#r3 .r3-mm{width:84px;height:84px}#r3 .r3-spd{top:150px}#r3 .r3-card{padding:10px 16px}#r3 .r3-card h2{font-size:22px;margin:0}#r3 .r3-card p{margin:2px 0 6px;font-size:12px}#r3 .r3-inc{width:200px}#r3 .r3-ar{width:66px;height:66px}#r3 .r3-R{transform:scale(.88);transform-origin:right bottom}#r3 .r3-card img{height:30px}}
@media (max-width:600px) and (orientation:portrait){#r3 .r3-R{transform:scale(.9);transform-origin:right bottom}#r3 .r3-inc{width:46vw}#r3 .r3-hint{max-width:90vw;bottom:270px}#r3 .r3-pick{flex-direction:column}}
