/* KickOff app-skal: hvordan siden ser ud, når den er installeret som app (html.is-app + .ap-shell, sat af appmode.js og app-shell.js).
   Hjemmesiden i en browser bruger intet herfra (alt er scopet). Farver kommer fra temaet (--bg, --pink = primær, --purple = sekundær, --card-solid …),
   så appen skifter farver automatisk med temaet. */
html.is-app {
  --ap-bar: 52px; --ap-bar-h: calc(var(--safe-top) + var(--ap-bar)); --ap-tab: 64px; --ap-tab-gap: max(10px, calc(var(--safe-bottom) - 8px));
  --ap-tab-h: calc(var(--ap-tab) + var(--ap-tab-gap) + 14px); --ap-r: 20px; --ap-r-s: 14px; --ap-pad: max(16px, var(--safe-left));
  --ap-acc: linear-gradient(135deg, var(--pink), var(--purple)); --ap-on-acc: #fff; --ap-surface: var(--card-solid);
  --ap-surface-2: color-mix(in srgb, var(--card-solid) 86%, #fff); --ap-sep: color-mix(in srgb, var(--ink) 9%, transparent);
  --ap-ease: cubic-bezier(.2, .8, .3, 1);
}
html.is-app[data-brand="kickoff"] { --ap-acc: linear-gradient(135deg, #D4FF55, #A5E81E 45%, #14D98C); --ap-on-acc: #06140A; }
.apbar, .atab, .ap-large, .ap-ptr, .ap-net, .ap-onb { display: none; }

/* ===== Grundlag: ingen gummibånd, ingen web-header/footer/bundmenu ===== */
html.is-app.ap-shell { overscroll-behavior-y: none; -webkit-text-size-adjust: 100%; }
html.is-app.ap-shell body { background: var(--bg); touch-action: manipulation; }
html.is-app.ap-shell :is(header.nav, .bnav, .footer, .cookie, .crumbs, .game-page > .back, .app-party, #loader) { display: none !important; }
html.is-app.ap-shell #main { padding-top: var(--ap-bar-h); min-height: 100dvh; box-sizing: border-box; }
html.is-app.ap-shell body.has-bnav { padding-bottom: var(--ap-tab-h); }
html.is-app.ap-shell .wrap { padding-left: var(--ap-pad); padding-right: max(16px, var(--safe-right)); }
html.is-app.ap-shell :is(.site-alert, .xp-event-bar, .maint-warn, .admin-warn, .brand-preview) { margin-top: var(--ap-bar-h); }
html.is-app.ap-shell :is(.site-alert, .xp-event-bar, .maint-warn, .admin-warn, .brand-preview) ~ #main { padding-top: 0; }
html.is-app.ap-shell .bg { opacity: .55; }
@media (min-width: 760px) { html.is-app.ap-shell #main > .wrap, html.is-app.ap-shell .app-home { max-width: 720px; margin-left: auto; margin-right: auto; } }

/* ===== 1. Topbjælke ===== */
html.is-app.ap-shell .apbar { display: block; position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-header, 60); height: var(--ap-bar-h); padding-top: var(--safe-top); box-sizing: border-box; background: transparent; transition: background .2s, box-shadow .2s; }
html.is-app.ap-shell .apbar.lifted, html.is-app.ap-shell .apbar:not(.is-root) { background: color-mix(in srgb, var(--bg) 96%, transparent); box-shadow: 0 1px 0 var(--ap-sep); }
html.is-app.ap-shell .apbar.is-root:not(.lifted) { box-shadow: none; }
.ap-row { position: relative; display: flex; align-items: center; gap: 6px; height: var(--ap-bar); padding: 0 max(10px, var(--safe-right)) 0 max(6px, var(--safe-left)); }
.ap-t { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -40%); max-width: 52%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 800; font-size: 17px; color: var(--ink); opacity: 0; transition: opacity .18s, transform .22s var(--ap-ease); pointer-events: none; }
.apbar.scrolled .ap-t, .apbar.no-h1:not(.is-root) .ap-t { opacity: 1; transform: translate(-50%, -50%); }
.ap-back { display: inline-flex; align-items: center; gap: 0; min-height: 44px; padding: 0 10px 0 4px; color: var(--pink); font-weight: 700; font-size: 17px; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.ap-back .ap-ic { width: 26px; height: 26px; stroke-width: 2.4; }
.ap-back:active { opacity: .5; }
.ap-act { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.ap-btn { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--ink); text-decoration: none; -webkit-tap-highlight-color: transparent; }
.ap-btn .ap-ic { width: 21px; height: 21px; }
.ap-btn:active { transform: scale(.9); }
.ap-badge { position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; padding: 0 5px; box-sizing: border-box; border-radius: 9px; background: #FF3B5C; color: #fff; font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; box-shadow: 0 0 0 2px var(--bg); }
.ap-pill { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 99px; background: var(--ap-acc); color: var(--ap-on-acc); font-weight: 800; font-size: 14px; text-decoration: none; }
.ap-ic { display: block; flex: none; }

/* ===== 2. Store titler (iOS-stil) ===== */
html.is-app.ap-shell .ap-large { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 10px max(20px, var(--safe-right)) 6px max(20px, var(--safe-left)); }
.ap-large .ap-k { margin: 0; color: var(--muted); font-weight: 700; font-size: 16px; }
.ap-large h1 { margin: 0; font-family: var(--f-hero, inherit); font-size: clamp(30px, 9vw, 40px); line-height: 1.05; letter-spacing: -.01em; overflow-wrap: anywhere; }
.ap-av { flex: none; width: 48px; height: 48px; border-radius: 50%; padding: 2.5px; background: var(--ap-acc); text-decoration: none; }
.ap-av > * { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: var(--card-solid); color: var(--ink); font-weight: 900; font-size: 19px; box-shadow: 0 0 0 2px var(--bg); }
html.is-app.ap-shell .pagehead { padding: 10px 4px 6px; }
html.is-app.ap-shell .pagehead .page-title { font-family: var(--f-hero, inherit); font-size: clamp(28px, 8.4vw, 38px); line-height: 1.06; letter-spacing: -.01em; text-align: left; }
html.is-app.ap-shell .lead2 { font-size: 16px; color: var(--muted); margin: 0 4px 16px; }

/* ===== 3. Fanebjælke ===== */
html.is-app.ap-shell .atab { display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; position: fixed; z-index: var(--z-bnav, 90); left: max(12px, var(--safe-left)); right: max(12px, var(--safe-right)); bottom: var(--ap-tab-gap); height: var(--ap-tab); padding: 0 4px; border-radius: 26px; background: color-mix(in srgb, var(--card-solid) 94%, #000); border: 1px solid color-mix(in srgb, var(--ink) 10%, transparent); box-shadow: 0 18px 40px -12px rgba(0,0,0,.85), 0 2px 0 rgba(255,255,255,.04) inset; }
@media (min-width: 600px) { html.is-app.ap-shell .atab { left: 50%; right: auto; width: 520px; transform: translateX(-50%); } }
.at-i { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: var(--ap-tab); color: var(--muted); text-decoration: none; -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; user-select: none; }
.at-i .ap-ic { width: 25px; height: 25px; transition: transform .2s var(--ap-ease); }
.at-i b { font-size: 10.5px; font-weight: 800; letter-spacing: .02em; }
.at-i.on { color: var(--pink); }
.at-i.on .ap-ic { stroke-width: 2.4; }
.at-i.on::before { content: ""; position: absolute; top: 5px; width: 18px; height: 3px; border-radius: 3px; background: var(--pink); box-shadow: 0 0 10px var(--pink); }
.at-i:active .ap-ic, .at-i.tapped .ap-ic { transform: scale(.86); }
.at-mid { justify-content: flex-end; padding-bottom: 7px; }
.at-mid::before { display: none; }
.at-fab { position: absolute; top: -22px; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--ap-acc); color: var(--ap-on-acc); box-shadow: 0 0 0 5px var(--bg), 0 10px 26px -6px color-mix(in srgb, var(--pink) 70%, transparent); transition: transform .2s var(--ap-ease); }
.at-fab .ap-ic { width: 27px; height: 27px; stroke-width: 2.3; }
.at-mid.on b { color: var(--pink); }
.at-mid:active .at-fab, .at-mid.tapped .at-fab { transform: scale(.9) rotate(-8deg); }
.at-badge { position: absolute; top: 8px; left: calc(50% + 6px); min-width: 16px; height: 16px; padding: 0 4px; box-sizing: border-box; border-radius: 8px; background: #FF3B5C; color: #fff; font-size: 10px; font-weight: 800; font-style: normal; line-height: 16px; text-align: center; box-shadow: 0 0 0 2px var(--card-solid); }
.at-badge[hidden] { display: none; }
.atab .bn-dot { top: 9px; left: calc(50% + 7px); box-shadow: 0 0 0 2px var(--card-solid); }
html.is-app.ap-shell.kb-open .atab, html.is-app.game-mode .atab, html.is-app.game-mode .apbar { display: none; }
html.is-app.ap-shell.kb-open body.has-bnav { padding-bottom: 16px; }
html.is-app.ap-shell .toasts { top: calc(var(--ap-bar-h) + 6px); }

/* ===== 4. Sideskift: frem fra højre, tilbage fra venstre, faner toner ===== */
html.is-app.ap-shell.leaving::after, html.is-app.ap-shell.veil-in::after { animation: none; opacity: 0; }
html.is-app.ap-shell.leaving #main { opacity: .35; transition: opacity .15s ease-in; }
html.ap-in-fwd #main { animation: apFwd .34s var(--ap-ease) backwards; }
html.ap-in-back #main { animation: apBack .34s var(--ap-ease) backwards; }
html.ap-in-tab #main { animation: apTab .26s ease-out backwards; }
@keyframes apFwd { from { opacity: 0; transform: translateX(34px); } }
@keyframes apBack { from { opacity: 0; transform: translateX(-34px); } }
@keyframes apTab { from { opacity: 0; transform: translateY(8px); } }

/* ===== 5. Træk for at opdatere ===== */
html.is-app.ap-shell .ap-ptr { display: grid; place-items: center; position: fixed; z-index: calc(var(--z-header, 60) - 1); left: 50%; top: calc(var(--ap-bar-h) - 34px); width: 38px; height: 38px; border-radius: 50%; background: var(--ap-surface-2); color: var(--muted); box-shadow: 0 6px 18px -6px #000; transform: translate(-50%, 0); opacity: 0; pointer-events: none; }
.ap-ptr .ap-ic { width: 20px; height: 20px; }
.ap-ptr.ready { color: var(--pink); }
.ap-ptr.spin .ap-ic { animation: apSpin .7s linear infinite; }
@keyframes apSpin { to { transform: rotate(360deg); } }

/* ===== 6. Vinduer som ark nedefra ===== */
html.is-app .modal-bg:not([hidden]) { display: flex; align-items: flex-end; justify-content: center; padding: 0; background: rgba(2, 4, 3, .62); animation: apFade .2s ease-out; }
html.is-app .modal-bg > .modal { width: 100%; max-width: 560px; box-sizing: border-box; margin: 0; max-height: 92dvh; overflow-y: auto; overscroll-behavior: contain; border-radius: 28px 28px 0 0; border-bottom: 0; background: var(--card-solid); box-shadow: 0 -20px 60px -20px rgba(0,0,0,.9); padding: 30px max(22px, var(--safe-right)) calc(22px + var(--safe-bottom)) max(22px, var(--safe-left)); animation: apSheet .34s var(--ap-ease); transition: transform .25s var(--ap-ease); }
html.is-app .modal-bg > .modal::before { content: ""; position: absolute; top: 9px; left: 50%; width: 38px; height: 5px; margin-left: -19px; border-radius: 3px; background: color-mix(in srgb, var(--ink) 25%, transparent); }
html.is-app .modal-bg > .modal > .x { top: 12px; right: 12px; }
html.is-app .modal .btn-row { flex-direction: column; } html.is-app .modal .btn-row .btn { width: 100%; justify-content: center; min-height: 52px; }
html.is-app .search-gate:not([hidden]) > .search-modal { height: calc(100dvh - var(--safe-top) - 10px); max-height: none; }
@keyframes apSheet { from { transform: translateY(100%); } }
@keyframes apFade { from { opacity: 0; } }
html.is-app .app-sheet { background: var(--card-solid); }
html.is-app .app-sheet::before { content: ""; justify-self: center; width: 38px; height: 5px; margin: -8px 0 4px; border-radius: 3px; background: color-mix(in srgb, var(--ink) 25%, transparent); }

/* Bekræftelser og lister i ark */
.ap-list { display: grid; border-radius: var(--ap-r-s); overflow: hidden; background: var(--ap-surface-2); }
.ap-li { display: flex; align-items: center; gap: 14px; min-height: 54px; padding: 0 16px; border: 0; border-bottom: 1px solid var(--ap-sep); background: none; color: var(--ink); font: inherit; font-weight: 700; font-size: 16px; text-align: left; text-decoration: none; }
.ap-li:last-child { border-bottom: 0; } .ap-li .ap-ic { width: 22px; height: 22px; color: var(--pink); } .ap-li:active { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.ap-ctx p { margin: 2px 0 4px; }
.ap-ctx-art { border-radius: var(--ap-r-s); overflow: hidden; max-height: 180px; }
html.is-app .card { transition: transform .2s var(--ap-ease); } html.is-app .card a { -webkit-touch-callout: none; } html.is-app .card.ap-pressed { transform: scale(.95); }

/* ===== Toasts som piller øverst ===== */
html.is-app .toasts { width: auto; max-width: min(92vw, 420px); justify-items: center; }
html.is-app .toast { border-radius: 99px; padding: 11px 18px; background: color-mix(in srgb, var(--card-solid) 92%, #fff); border: 1px solid var(--ap-sep); box-shadow: 0 12px 30px -10px rgba(0,0,0,.85); font-size: 15px; text-align: center; }
html.is-app .toast.ok { border-color: color-mix(in srgb, var(--purple) 60%, transparent); } html.is-app .toast.err { border-color: color-mix(in srgb, #FF5C5C 70%, transparent); }

/* ===== 8. Forbindelse ===== */
html.is-app .ap-net { display: flex; align-items: center; gap: 8px; position: fixed; z-index: var(--z-toast, 400); left: 50%; top: calc(var(--ap-bar-h) + 8px); transform: translate(-50%, -160%); padding: 9px 16px; border-radius: 99px; background: #133A24; color: #CFFFE0; font-weight: 800; font-size: 14px; box-shadow: 0 10px 28px -8px #000; transition: transform .3s var(--ap-ease); }
html.is-app .ap-net.off { background: #4A1620; color: #FFD5DC; } html.is-app .ap-net.on { transform: translate(-50%, 0); }
.ap-net .ap-ic { width: 18px; height: 18px; }

/* ===== 7. Velkomst ved første opstart ===== */
html.is-app .ap-onb { display: grid; grid-template-rows: 1fr auto auto; position: fixed; inset: 0; z-index: 9990; background: radial-gradient(120% 70% at 50% 0%, color-mix(in srgb, var(--pink) 22%, var(--bg)), var(--bg) 62%); padding: var(--safe-top) 0 calc(18px + var(--safe-bottom)); animation: apFade .35s ease-out; transition: opacity .35s, transform .35s var(--ap-ease); }
html.is-app .ap-onb.out { opacity: 0; transform: scale(1.04); pointer-events: none; }
html.ap-onb-open body { overflow: hidden; }
.ap-onb-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.ap-onb-track::-webkit-scrollbar { display: none; }
.ap-onb-s { flex: 0 0 100%; scroll-snap-align: center; display: grid; align-content: center; justify-items: center; gap: 14px; padding: 24px 32px; box-sizing: border-box; text-align: center; }
.ap-onb-s h2 { margin: 18px 0 0; font-family: var(--f-hero, inherit); font-size: clamp(28px, 8.5vw, 40px); line-height: 1.08; text-wrap: balance; }
.ap-onb-s p { margin: 0; max-width: 340px; color: var(--muted); font-size: 17px; line-height: 1.5; }
.ap-onb-logo { width: 132px; height: 132px; border-radius: 34px; display: grid; place-items: center; background: var(--card-solid); box-shadow: 0 0 0 1px var(--ap-sep), 0 24px 70px -18px color-mix(in srgb, var(--pink) 75%, transparent); font-size: 60px; animation: apPop .7s var(--ap-ease) both; }
.ap-onb-logo img { width: 92px; height: 92px; }
.ap-onb-emo { display: flex; gap: 6px; font-size: 54px; } .ap-onb-emo span:nth-child(2) { transform: translateY(-16px) scale(1.15); } .ap-onb-emo span { animation: apPop .6s var(--ap-ease) both; } .ap-onb-emo span:nth-child(2) { animation-delay: .08s; } .ap-onb-emo span:nth-child(3) { animation-delay: .16s; }
.ap-onb-emo.big { display: grid; place-items: center; width: 132px; height: 132px; border-radius: 50%; border: 3px solid var(--pink); color: var(--pink); font-family: var(--f-hero, inherit); font-weight: 900; font-size: 46px; box-shadow: 0 0 40px -6px var(--pink), inset 0 0 26px -10px var(--pink); }
@keyframes apPop { from { opacity: 0; transform: scale(.6); } }
.ap-onb-dots { display: flex; justify-content: center; gap: 8px; padding: 12px 0 18px; }
.ap-onb-dots i { width: 8px; height: 8px; border-radius: 4px; background: color-mix(in srgb, var(--ink) 25%, transparent); transition: width .25s var(--ap-ease), background .25s; }
.ap-onb-dots i.on { width: 26px; background: var(--pink); }
.ap-onb-foot { display: grid; gap: 6px; padding: 0 max(24px, var(--safe-right)) 0 max(24px, var(--safe-left)); }
.ap-onb-foot .btn { width: 100%; min-height: 56px; justify-content: center; font-size: 18px; }
.ap-onb-skip { min-height: 46px; border: 0; background: none; color: var(--muted); font: inherit; font-weight: 700; }
.ap-onb-skip[hidden] { visibility: hidden; display: block; }

/* ===== Velkomstskærm ved koldstart (følger temaet) ===== */
.ksplash { display: none; }
html.launching .ksplash { display: grid; place-items: center; position: fixed; inset: 0; z-index: 10000; background: var(--bg, #050A07); overflow: hidden; transition: opacity .35s ease; }
html.launching .ksplash.out { opacity: 0; pointer-events: none; }
.ksplash::before { content: ""; position: absolute; width: 140vmax; height: 140vmax; left: 50%; top: 50%; margin: -70vmax 0 0 -70vmax; background: conic-gradient(from 0deg, transparent, color-mix(in srgb, var(--pink) 38%, transparent), transparent 30%, color-mix(in srgb, var(--purple) 30%, transparent), transparent 60%); animation: ksSpin 6s linear infinite; opacity: .55; }
.ksplash::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 46%, transparent 0, var(--bg, #050A07) 62%); }
.ks-core { position: relative; z-index: 1; display: grid; justify-items: center; gap: 16px; }
.ks-mark { width: 112px; height: 112px; border-radius: 30px; display: grid; place-items: center; background: var(--card-solid, #0E1712); box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 20px 70px -16px var(--pink); animation: ksIn .7s cubic-bezier(.2,1.3,.4,1) both; }
.ks-mark img { width: 80px; height: 80px; }
.ks-word { font-family: var(--f-hero, inherit); font-weight: 900; font-size: clamp(30px, 10vw, 46px); letter-spacing: .02em; color: var(--ink, #fff); animation: ksUp .6s .18s cubic-bezier(.2,.8,.3,1) both; }
.ks-tag { margin: -6px 0 0; color: var(--muted, #9AB); font-weight: 700; letter-spacing: .06em; animation: ksUp .6s .3s cubic-bezier(.2,.8,.3,1) both; }
.ks-bar { position: absolute; z-index: 1; left: 50%; bottom: calc(40px + var(--safe-bottom, 0px)); width: 120px; height: 4px; margin-left: -60px; border-radius: 4px; background: rgba(255,255,255,.1); overflow: hidden; }
.ks-bar i { display: block; height: 100%; width: 40%; border-radius: 4px; background: var(--ap-acc, var(--pink)); animation: ksLoad 1s ease-in-out infinite; }
@keyframes ksSpin { to { transform: rotate(360deg); } } @keyframes ksIn { from { opacity: 0; transform: scale(.5) rotate(-12deg); } } @keyframes ksUp { from { opacity: 0; transform: translateY(12px); } }
@keyframes ksLoad { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
@media (prefers-reduced-motion: reduce) { .ksplash::before, .ks-bar i { animation: none; } }

/* ===== Skærme ===== */
/* Hjem: ingen web-forside (hero, "om siden", skaber, top 3), i stedet app-kort */
html.is-app.ap-shell body.page-home :is(.hero, .sec-about, .maker, .sec-champs) { display: none !important; }
html.is-app.ap-shell body.page-home .section:has(> .weekly) { display: none; }   /* ugens spil står allerede som Dagens spil i app-kortene */
html.is-app.ap-shell body.page-home .app-home { padding-top: 6px; }
html.is-app.ap-shell .newsbar { background: none; border: 0; padding: 0; }
html.is-app.ap-shell .newsbar-in { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px var(--ap-pad) 10px; }
html.is-app.ap-shell .newsbar-in::-webkit-scrollbar { display: none; }
html.is-app.ap-shell .newsbar .nb { flex: 0 0 84%; scroll-snap-align: start; border-radius: var(--ap-r); }
html.is-app.ap-shell .sec-head h2, html.is-app.ap-shell .sec-h { font-size: 22px; text-align: left; }
html.is-app.ap-shell .section { padding-top: 22px; padding-bottom: 6px; }
html.is-app.ap-shell .cta-box { border-radius: var(--ap-r); }

.ah-start { position: relative; overflow: hidden; display: grid; gap: 12px; padding: 20px; border-radius: 24px; background: var(--ap-acc); color: var(--ap-on-acc); }
.ah-start::after { content: ""; position: absolute; right: -40px; top: -40px; width: 170px; height: 170px; border-radius: 50%; background: rgba(255,255,255,.18); }
.ah-start h2 { position: relative; z-index: 1; margin: 0; font-family: var(--f-hero, inherit); font-size: 26px; line-height: 1.05; }
.ah-start p { position: relative; z-index: 1; margin: 0; font-weight: 600; opacity: .82; }
.ah-start form { position: relative; z-index: 1; display: flex; gap: 8px; }
.ah-start input { flex: 1 1 0; width: 0; min-width: 0; height: 52px; box-sizing: border-box; padding: 0 14px; border-radius: 16px; border: 0; background: rgba(0,0,0,.22); color: inherit; font: inherit; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-weight: 800; font-size: 22px; letter-spacing: .3em; text-transform: uppercase; }
.ah-start input::placeholder { color: inherit; opacity: .5; letter-spacing: .12em; font-size: 16px; font-family: inherit; }
.ah-start button { flex: none; height: 52px; padding: 0 20px; border: 0; border-radius: 16px; background: #0B0F0C; color: #fff; font: inherit; font-weight: 900; }
.ah-start .ah-host { position: relative; z-index: 1; color: inherit; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.ah-level { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--ap-r); background: var(--card-solid); border: 1px solid var(--ap-sep); color: var(--ink); text-decoration: none; }
.ah-ring { flex: none; position: relative; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--pink) calc(var(--p, 0) * 1%), color-mix(in srgb, var(--ink) 10%, transparent) 0); }
.ah-ring::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--card-solid); }
.ah-ring span { position: relative; font-size: 24px; }
.ah-lv { flex: 1; min-width: 0; display: grid; gap: 2px; } .ah-lv small { color: var(--muted); font-weight: 800; font-size: 11px; letter-spacing: .1em; } .ah-lv b { font-size: 17px; } .ah-lv i { font-style: normal; color: var(--muted); font-size: 13px; }
.ah-go { color: var(--muted); font-size: 22px; }
.ah-h { margin: 10px 2px 0; font-size: 20px; }
.ap-cats { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--ap-pad, 16px)); padding: 2px var(--ap-pad, 16px) 6px; scroll-snap-type: x proximity; }
.ap-cats::-webkit-scrollbar { display: none; }
.ap-cat { flex: none; scroll-snap-align: start; display: grid; align-content: space-between; width: 116px; height: 96px; box-sizing: border-box; padding: 12px; border-radius: 18px; background: var(--card-solid); border: 1px solid var(--ap-sep); color: var(--ink); text-decoration: none; }
.ap-cat span { font-size: 30px; line-height: 1; } .ap-cat b { font-size: 14px; }
.ap-cat:nth-child(3n+1) { background: linear-gradient(150deg, color-mix(in srgb, var(--pink) 22%, var(--card-solid)), var(--card-solid)); }
.ap-cat:nth-child(3n+2) { background: linear-gradient(150deg, color-mix(in srgb, var(--purple) 24%, var(--card-solid)), var(--card-solid)); }
.ap-cat:nth-child(3n) { background: linear-gradient(150deg, color-mix(in srgb, var(--orange, #FFC21A) 22%, var(--card-solid)), var(--card-solid)); }
.ah-guest { display: grid; gap: 10px; padding: 18px; border-radius: var(--ap-r); background: var(--card-solid); border: 1px solid var(--ap-sep); }
.ah-guest b { font-size: 18px; } .ah-guest p { margin: 0; color: var(--muted); } .ah-guest .btn { justify-content: center; }
html.is-app.ap-shell .ah-card, html.is-app.ap-shell .ah-btn { border-radius: var(--ap-r); }

/* Spil: to kolonner med covers, ingen lange tekster */
html.is-app.ap-shell body.page-games .pagehead { padding-bottom: 0; }
html.is-app.ap-shell #filters > .search { top: var(--ap-bar-h); }
html.is-app.ap-shell #filters > #catChips { top: calc(var(--ap-bar-h) + var(--app-search-h, 56px)); }
html.is-app.ap-shell #filters > .search input { height: 46px; border-radius: 14px; background: var(--ap-surface-2); border: 0; font-size: 16px; }
html.is-app.ap-shell #filters .chip { border-radius: 99px; min-height: 38px; }
html.is-app.ap-shell #filters .chip.on { background: var(--ap-acc); color: var(--ap-on-acc); border-color: transparent; }
html.is-app.ap-shell :is(#gameGrid, #soonGrid, .page-home .grid) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { html.is-app.ap-shell :is(#gameGrid, #soonGrid) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
html.is-app.ap-shell .grid .card { border-radius: 18px; overflow: hidden; }
html.is-app.ap-shell .grid .card :is(.meta, .facts, .gtags, .plays) { display: none; }
html.is-app.ap-shell .grid .card .card-body { padding: 9px 11px 11px; }
html.is-app.ap-shell .grid .card h3 { margin: 0; font-family: inherit; font-size: 14.5px; font-weight: 800; line-height: 1.25; letter-spacing: 0; text-transform: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
html.is-app.ap-shell #filters > .row-filters { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
html.is-app.ap-shell #filters > .row-filters label { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; gap: 4px; }
html.is-app.ap-shell #filters > .row-filters select { min-height: 44px; padding: 8px 12px; border-radius: 12px; font-size: 15px; }
html.is-app.ap-shell .grid .card .badges { transform: scale(.85); transform-origin: top left; }
html.is-app.ap-shell .grid .card .heart { width: 34px; height: 34px; font-size: 16px; }
html.is-app.ap-shell .again-l { display: flex; overflow-x: auto; scrollbar-width: none; gap: 10px; }
html.is-app.ap-shell .again-l::-webkit-scrollbar { display: none; }
html.is-app.ap-shell .again-c { flex: 0 0 auto; border-radius: 16px; }

/* Spilside: cover i fuld bredde og en fast START-knap over fanebjælken */
html.is-app.ap-shell .game-page { padding-top: 0; }
html.is-app.ap-shell .game-hero { display: block; }
html.is-app.ap-shell .game-hero .art.big { margin: 0 calc(-1 * var(--ap-pad)) 0; border-radius: 0 0 28px 28px; overflow: hidden; box-shadow: 0 24px 50px -30px #000; }
html.is-app.ap-shell .game-info { padding-top: 16px; }
html.is-app.ap-shell .game-info h1 { font-family: var(--f-hero, inherit); font-size: clamp(28px, 8.6vw, 40px); line-height: 1.05; margin: 6px 0 10px; }
html.is-app.ap-shell .game-info .pills { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 8px; margin: 0 calc(-1 * var(--ap-pad)); padding: 0 var(--ap-pad); }
html.is-app.ap-shell .game-info .pills::-webkit-scrollbar { display: none; }
html.is-app.ap-shell .game-info .pill { flex: none; }
html.is-app.ap-shell .game-info > .btn-row { position: sticky; z-index: 20; bottom: calc(var(--ap-tab-h) - 4px); display: flex; flex-direction: column; gap: 8px; margin: 18px 0; padding: 10px; border-radius: 22px; background: color-mix(in srgb, var(--bg) 92%, transparent); box-shadow: 0 -10px 30px -16px #000; }
html.is-app.ap-shell .game-info > .btn-row .btn { width: 100%; justify-content: center; min-height: 54px; }

/* Fest: festkoden som det store felt */
html.is-app.ap-shell body.page-lobby .lobby-cards { display: grid; gap: 14px; }
html.is-app.ap-shell .lobby-cards .form.box, html.is-app.ap-shell .host-hint { border-radius: 24px; padding: 20px; }
html.is-app.ap-shell .code-input { height: 66px; text-align: center; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 32px; font-weight: 900; letter-spacing: .45em; text-indent: .45em; text-transform: uppercase; border-radius: 18px; }

/* Indstillinger og lange formular-sider: grupperede lister i iOS-stil */
html.is-app.ap-shell .app-set .section { padding: 6px 0; }
html.is-app.ap-shell .app-set .form.box { border-radius: var(--ap-r); padding: 4px 16px; background: var(--card-solid); box-shadow: none; }
html.is-app.ap-shell .app-set .form.box h3 { margin: 14px 0 2px; font-family: inherit; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
html.is-app.ap-shell .app-set .section { background: none; }
html.is-app.ap-shell .app-set .tg-btn, html.is-app.ap-shell .app-set [data-app-reduce] { min-height: 38px; padding: 6px 14px; border-radius: 99px; font-size: 14px; flex: none; max-width: 52%; }
html.is-app.ap-shell .app-set .set-row { min-height: 52px; border-bottom: 1px solid var(--ap-sep); }
html.is-app.ap-shell .app-set .set-row:last-child { border-bottom: 0; }
html.is-app.ap-shell .app-set .form.box > p { margin: 12px 0; }
html.is-app.ap-shell .app-set .btn-row { margin: 10px 0 14px; }
.set-links { display: grid; margin: 0 -16px; }
.set-link { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 16px; border-bottom: 1px solid var(--ap-sep, rgba(255,255,255,.08)); color: var(--ink); text-decoration: none; font-weight: 700; }
.set-link:last-child { border-bottom: 0; }
.set-link > span:first-child { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 9px; background: color-mix(in srgb, var(--pink) 18%, transparent); font-size: 16px; }
.set-link > b { flex: 1; font-weight: 700; } .set-link > i { font-style: normal; color: var(--muted); font-size: 20px; }
.set-link:active { background: color-mix(in srgb, var(--ink) 5%, transparent); }

/* Log ind: fuld skærm med logo, ingen web-ramme */
html.is-app.ap-shell body.page-auth .auth { min-height: calc(100dvh - var(--ap-bar-h) - var(--ap-tab-h)); display: grid; align-content: center; }
html.is-app.ap-shell body.page-auth .auth-box { border: 0; background: none; box-shadow: none; padding: 0; }
html.is-app.ap-shell .auth-tabs { border-radius: 14px; padding: 4px; background: var(--ap-surface-2); }
html.is-app.ap-shell .auth-tabs { display: grid; grid-template-columns: 1fr 1fr; }
html.is-app.ap-shell .auth-tabs .tab { border: 0; background: none; color: var(--muted); border-radius: 11px; box-shadow: none; }
html.is-app.ap-shell .auth-tabs .tab.on { background: var(--card-solid); color: var(--ink); }

/* Felter og knapper føles som app-kontroller */
html.is-app.ap-shell :is(input[type=text], input[type=email], input[type=password], input[type=search], textarea, select) { font-size: 16px; }
html.is-app.ap-shell .btn.big { min-height: 54px; border-radius: 16px; }
html.is-app.ap-shell .box, html.is-app.ap-shell .form.box { border-radius: var(--ap-r); }
html.is-app.ap-shell :is(p, li, h1, h2, h3) { -webkit-user-select: text; user-select: text; }
html.is-app.ap-shell img { -webkit-user-drag: none; -webkit-touch-callout: none; }

/* Notifikationer, nyheder og venner: lister med skillestreger */
html.is-app.ap-shell .nt-list { display: grid; gap: 0; border-radius: var(--ap-r); overflow: hidden; background: var(--card-solid); }
html.is-app.ap-shell .nt-item { border-radius: 0; border: 0; border-bottom: 1px solid var(--ap-sep); margin: 0; }
html.is-app.ap-shell .nt-item:last-child { border-bottom: 0; }

/* Rolig app: mindre bevægelse, når brugeren beder om det */
@media (prefers-reduced-motion: reduce) { html.ap-in-fwd #main, html.ap-in-back #main, html.ap-in-tab #main, .ap-onb-logo, .ap-onb-emo span { animation: none; } }
html.app-reduce.ap-in-fwd #main, html.app-reduce.ap-in-back #main, html.app-reduce.ap-in-tab #main { animation: none; }

/* ===== Hjemmesiden (ikke app): banner, der tilbyder appen på mobilen ===== */
.web-appbar { position: relative; z-index: 70; display: flex; align-items: center; gap: 12px; padding: 10px max(14px, var(--safe-right)) 10px max(14px, var(--safe-left)); background: var(--card-solid); border-bottom: 1px solid var(--line); }
.web-appbar[hidden] { display: none; }
.web-appbar img { width: 42px; height: 42px; border-radius: 11px; flex: none; }
.web-appbar span { flex: 1; min-width: 0; display: grid; line-height: 1.25; } .web-appbar b { font-size: 15px; } .web-appbar small { color: var(--muted); font-size: 12.5px; }
.web-appbar a { flex: none; min-height: 36px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 99px; background: linear-gradient(135deg, var(--pink), var(--purple)); color: #fff; font-weight: 800; font-size: 14px; text-decoration: none; }
html[data-brand="kickoff"] .web-appbar a { color: #06140A; }
.web-appbar button { flex: none; width: 34px; height: 34px; border: 0; border-radius: 50%; background: none; color: var(--muted); font-size: 18px; }
html.is-app .web-appbar { display: none !important; }

/* Småting fra skærmbilledtesten */
html.is-app .search-modal .search-in { display: block; margin-right: 48px; }
html.is-app.ap-shell .grid .card .badges .badge:nth-child(n+2) { display: none; }   /* højst ét mærke på de små kort, så titlen på coveret kan læses */

/* ===== Runde 2 ===== */
/* Indlæsningsbjælke øverst */
html.is-app .ap-load { position: fixed; z-index: calc(var(--z-header, 60) + 2); top: var(--safe-top); left: 0; height: 3px; width: 0; background: var(--ap-acc); box-shadow: 0 0 10px var(--pink); border-radius: 0 3px 3px 0; opacity: 0; pointer-events: none; }
html.is-app .ap-load.on { opacity: 1; animation: apLoad 6s cubic-bezier(.1, .7, .2, 1) forwards; }
@keyframes apLoad { 0% { width: 0; } 15% { width: 45%; } 100% { width: 92%; } }
/* Mange knapper i bjælken: titlen står til venstre i stedet for i midten, så den ikke dækker knapperne */
.apbar.many .ap-t { left: max(16px, var(--safe-left)); max-width: calc(100% - 190px); transform: translate(0, -40%); }
.apbar.many.scrolled .ap-t { transform: translate(0, -50%); }
/* Tilbage-knappen med sidenavn */
.ap-back span { max-width: 38vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Bund-tone bag fanebjælken, så tekst ikke støder ind i den */
.ap-fade { display: none; }
html.is-app.ap-shell .ap-fade { display: block; position: fixed; z-index: calc(var(--z-bnav, 90) - 1); left: 0; right: 0; bottom: 0; height: calc(var(--ap-tab-h) + 10px); background: linear-gradient(to top, var(--bg) 35%, color-mix(in srgb, var(--bg) 0%, transparent)); pointer-events: none; }
html.is-app.ap-shell.kb-open .ap-fade, html.is-app.game-mode .ap-fade { display: none; }
/* Terningen og det valgte kort */
.ap-btn.roll .ap-ic { animation: apRoll .6s var(--ap-ease); }
@keyframes apRoll { 50% { transform: rotate(200deg) scale(1.2); } to { transform: rotate(360deg); } }
html.is-app .card.ap-picked { animation: apPick 1s ease-out; }
@keyframes apPick { 0%, 100% { transform: none; } 30% { transform: scale(1.06); box-shadow: 0 0 0 3px var(--pink), 0 0 30px var(--pink); } 70% { transform: scale(1.03); box-shadow: 0 0 0 3px var(--pink), 0 0 20px var(--pink); } }
/* Ark: titel, Fest-arket og "Nyt i appen" */
.ap-sh-t { display: flex; align-items: center; gap: 10px; margin: 0 2px 6px; font-family: var(--f-hero, inherit); font-size: 24px; }
.ap-sh-t .ap-ic { width: 26px; height: 26px; color: var(--pink); }
.ap-code { display: grid; gap: 8px; padding: 14px; border-radius: var(--ap-r-s); background: var(--ap-surface-2); }
.ap-code label { font-weight: 800; font-size: 14px; color: var(--muted); }
.ap-code > div { display: flex; gap: 8px; }
.ap-code input { flex: 1 1 0; width: 0; min-height: 54px; padding: 0 14px; border-radius: 14px; border: 1.5px solid var(--ap-sep); background: var(--bg); color: var(--ink); font: 800 26px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .32em; text-transform: uppercase; text-align: center; }
.ap-code input:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pink) 25%, transparent); }
.ap-code input::placeholder { color: color-mix(in srgb, var(--muted) 45%, transparent); }
.ap-code button { flex: none; min-height: 54px; padding: 0 18px; border: 0; border-radius: 14px; background: var(--ap-acc); color: var(--ap-on-acc); font: inherit; font-weight: 900; font-size: 16px; }
.ap-code button:active { transform: scale(.96); }
.ap-li > span { display: grid; gap: 1px; } .ap-li small { font-weight: 600; font-size: 13px; color: var(--muted); }
.ap-fest .ap-li { min-height: 62px; }
.ap-newl { display: grid; gap: 14px; margin: 4px 2px 10px; text-align: left; }
.ap-sheet .ap-sh-t { justify-content: flex-start; text-align: left; }
.ap-newl > div { display: flex; gap: 14px; align-items: flex-start; }
.ap-newl .ap-ic { width: 40px; height: 40px; padding: 9px; box-sizing: border-box; border-radius: 12px; background: color-mix(in srgb, var(--pink) 16%, transparent); color: var(--pink); }
.ap-newl p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.4; } .ap-newl b { display: block; color: var(--ink); font-size: 16px; }
.ap-new .btn { width: 100%; justify-content: center; }
/* "Spil igen" på Hjem */
.ah-recent { display: grid; gap: 8px; min-width: 0; }
.ah-rh { display: flex; align-items: center; justify-content: space-between; }
.ah-rh .ah-h { display: flex; align-items: center; gap: 8px; } .ah-rh .ah-h .ap-ic { width: 20px; height: 20px; color: var(--pink); }
.ah-clear { border: 0; background: none; color: var(--muted); font: inherit; font-weight: 700; font-size: 14px; padding: 8px 4px; margin-top: 10px; }
.ah-rl { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; margin: 0 -16px; padding: 2px 16px 6px; scrollbar-width: none; }
.ah-rl::-webkit-scrollbar { display: none; }
.ah-rc { flex: none; width: 128px; scroll-snap-align: start; display: grid; gap: 6px; color: var(--ink); text-decoration: none; }
.ah-ri { display: block; aspect-ratio: 4 / 5; border-radius: 16px; background: var(--ap-acc) center / cover no-repeat; box-shadow: 0 0 0 1px var(--ap-sep) inset, 0 10px 22px -12px #000; }
.ah-ri.no-i { display: grid; place-items: center; padding: 10px; box-sizing: border-box; color: var(--ap-on-acc); font-weight: 900; font-size: 16px; line-height: 1.12; text-transform: uppercase; letter-spacing: .01em; text-align: center; overflow: hidden; overflow-wrap: normal; word-break: normal; -webkit-hyphens: auto; hyphens: auto; }
.ah-rc b { font-size: 13.5px; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ah-rc:active .ah-ri { transform: scale(.96); }
/* Tekstsider og nyheder som læsevisning: ingen boks, fuld bredde */
html.is-app.ap-shell :is(body.page-text, body.page-news) #main .box { background: none; border: 0; box-shadow: none; padding-left: 4px; padding-right: 4px; }
html.is-app.ap-shell body.page-text #main :is(p, li) { font-size: 16.5px; line-height: 1.6; }
/* "Anbefal til en ven" i Indstillinger er en knap: samme udseende som linkene, kun i appen */
button.set-link { width: 100%; border: 0; border-bottom: 0; background: none; font: inherit; text-align: left; cursor: pointer; }
html:not(.is-app) [data-ap-shareapp] { display: none; }

/* ===== Runde 3 ===== */
/* Topbjælke som matteret glas: indhold under den bliver sløret i stedet for at skinne igennem */
html.is-app.ap-shell .apbar.lifted, html.is-app.ap-shell .apbar:not(.is-root) { background: color-mix(in srgb, var(--bg) 78%, transparent); -webkit-backdrop-filter: blur(20px) saturate(1.5); backdrop-filter: blur(20px) saturate(1.5); }
/* Fanebjælken får samme glas */
html.is-app.ap-shell .atab { background: color-mix(in srgb, var(--card-solid) 80%, transparent); -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6); }
/* Kun i appen */
html:not(.is-app) .ap-only { display: none !important; }
/* Rund tilbage-knap på fuldskærmssider uden egen */
.ap-fback { display: none; }
html.is-app .ap-fback { display: grid; place-items: center; position: fixed; z-index: 95; top: calc(var(--safe-top) + 8px); left: max(10px, var(--safe-left)); width: 42px; height: 42px; border-radius: 50%; color: var(--ink); background: color-mix(in srgb, var(--card-solid) 70%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid var(--ap-sep, rgba(255,255,255,.1)); box-shadow: 0 8px 20px -8px #000; text-decoration: none; }
html.is-app .ap-fback .ap-ic { width: 24px; height: 24px; stroke-width: 2.4; } html.is-app .ap-fback:active { transform: scale(.9); }
/* Spillenes egen "← spil"-tekst bliver til en pille i appen */
html.is-app.ap-noshell #main a.back { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; margin-top: calc(var(--safe-top) + 4px); padding: 0 14px 0 10px; border-radius: 99px; background: color-mix(in srgb, var(--card-solid) 75%, transparent); border: 1px solid var(--ap-sep, rgba(255,255,255,.1)); color: var(--ink); font-weight: 800; font-size: 15px; text-decoration: none; }
/* Svævende Start-knap på spilsider */
.ap-fstart { display: none; }
html.is-app.ap-shell .ap-fstart { display: flex; align-items: center; justify-content: center; gap: 8px; position: fixed; z-index: var(--z-bnav, 90); left: 50%; bottom: calc(var(--ap-tab-gap) + var(--ap-tab) + 12px); min-height: 52px; padding: 0 26px 0 20px; border-radius: 99px; background: var(--ap-acc); color: var(--ap-on-acc); font-weight: 900; font-size: 17px; text-decoration: none; box-shadow: 0 14px 30px -10px color-mix(in srgb, var(--pink) 70%, #000), 0 0 0 4px color-mix(in srgb, var(--bg) 60%, transparent); transform: translate(-50%, 140%) scale(.9); opacity: 0; pointer-events: none; transition: transform .32s var(--ap-ease), opacity .2s; }
html.is-app.ap-shell .ap-fstart.on { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
html.is-app.ap-shell .ap-fstart .ap-ic { width: 20px; height: 20px; fill: currentColor; }
html.is-app.ap-shell .ap-fstart:active { transform: translate(-50%, 0) scale(.95); }
html.is-app.ap-shell.kb-open .ap-fstart { display: none; }
html.is-app.ap-shell .game-page .art.big { will-change: transform, opacity; transform-origin: 50% 0; }
/* Filtre-ark på Spil */
html.is-app.ap-shell.ap-filt #filters > #tagChips, html.is-app.ap-shell.ap-filt #filters > .row-filters { display: none; }
.ap-fchip { display: inline-flex; align-items: center; gap: 6px; }
.ap-fchip .ap-ic { width: 17px; height: 17px; }
.ap-fchip b { min-width: 20px; height: 20px; padding: 0 6px; box-sizing: border-box; border-radius: 10px; background: var(--ap-on-acc, #000); color: var(--pink); font-size: 12px; line-height: 20px; text-align: center; }
.ap-fchip:not(.on) b { background: var(--pink); color: var(--ap-on-acc); }
.ap-fsheet { text-align: left; }
.ap-fsheet #tagChips { display: flex; flex-wrap: wrap; gap: 8px; overflow: visible; margin: 0; padding: 0; }
.ap-fsheet #tagChips .chips-l, .ap-fsheet .row-filters label { display: block; width: 100%; margin: 6px 2px 2px; color: var(--muted); font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.ap-fsheet .row-filters { display: grid; gap: 10px; margin: 6px 0 0; }
.ap-fsheet .row-filters select { display: block; width: 100%; margin-top: 6px; min-height: 50px; font-size: 16px; text-transform: none; letter-spacing: 0; }
.ap-ffoot { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; margin-top: 8px; }
.ap-ffoot .btn { justify-content: center; min-height: 52px; }
/* "Spil igen": fjernet kort glider væk */
.ah-rc { transition: transform .25s var(--ap-ease), opacity .25s; } .ah-rc.ap-gone { transform: scale(.7); opacity: 0; }
.ah-rc { -webkit-touch-callout: none; user-select: none; }
.ap-fchip::before, .ap-fchip::after { display: none !important; content: none !important; }
