/* Palette and type from Design/HANDOFF.md: warm paper, forest green, system font,
   tabular numbers everywhere, card radius 20. Dark is its own set, not a tint. */
:root {
  --paper: #F5F2EA; --card: #FFFFFF; --text: #1A1A17; --text2: #57574F; --text3: #4E4E46;
  --sep: rgba(40,40,35,.11); --action: #2F5D3F; --action-pressed: #22452F; --action-surface: rgba(47,93,63,.12);
  --under: #2F5D3F; --over: #9C3B2E; --ocher: #7A5605; --brick: #A8481F;
  --shadow: 0 1px 3px rgba(0,0,0,.06);
  --under-surface: rgba(47,93,63,.16); --over-surface: rgba(156,59,46,.16); --fill: rgba(118,118,128,.12);
  --bogey: #C08A18; --sand: #E8DFC8; --ocher-fill: #C08A18;
  /* Rounded figures for the numbers read at a glance (design check
     2026-11-18): Safari on the iPhone and the Mac have them as ui-rounded;
     Chrome and Android fall back to the system font. */
  --round: ui-rounded, "SF Pro Rounded", -apple-system, system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #14130F; --card: #22211B; --text: #F3F1E9; --text2: #B3AFA2; --text3: #96928A;
    --sep: rgba(232,228,216,.11); --action: #63A97C; --action-pressed: #4E8A63; --action-surface: rgba(99,169,124,.16);
    --under: #63A97C; --over: #D97B67; --ocher: #E0B255; --brick: #D97448; --shadow: none;
    --under-surface: rgba(99,169,124,.16); --over-surface: rgba(217,123,103,.16); --fill: rgba(118,118,128,.24);
    --bogey: #D9A63A; --sand: #3A3627; --ocher-fill: #D9A63A;
  }
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--paper); color: var(--text); }
body {
  font: 600 17px/1.3 -apple-system, system-ui, "Segoe UI", Roboto, sans-serif;
  font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased;
  padding: env(safe-area-inset-top) 0 calc(env(safe-area-inset-bottom) + 84px);
  overscroll-behavior-y: contain;
}
main { max-width: 520px; margin: 0 auto; padding: 0 18px; }
h1 { font-size: 26px; font-weight: 800; letter-spacing: -.6px; margin: 18px 0 2px; }
h2 { font-size: 19px; font-weight: 800; margin: 0; }
.sub { font-size: 13.5px; font-weight: 500; color: var(--text2); }
.meta { font-size: 12.5px; font-weight: 600; color: var(--text3); }
.caps { font-size: 13px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--text3); }
.card { background: var(--card); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.section { margin-top: 22px; }
.section > .meta { display: block; margin: 0 4px 8px; }
.row { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 16px; }
.row + .row { border-top: 1px solid var(--sep); }
.row .name { font-size: 17.5px; font-weight: 700; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .name small { display: block; font-size: 12.5px; font-weight: 600; color: var(--text3); white-space: normal; }
/* The scorecard row: the name gives way before its chip does, and the line
   under it never wraps — a row that grows a second line stands taller than
   the rest, and "ich" cut down to "…" says nothing (2026-09-22, the same
   thing Laura's iPhone showed). */
.row.score .who { display: flex; align-items: center; gap: 6px; min-width: 0; }
.row.score .who .nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row.score .who .chip { flex: none; }
.row.score .name small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12px; }
/* Ten pixels short of "noch nichts gespielt" on a 375-point phone with the
   steppers showing; the gaps give them back. */
.row.score { gap: 10px; }
.mark { width: 26px; height: 26px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 15px; line-height: 1; background: var(--text3); }
.chip { font-size: 10px; font-weight: 800; padding: 2px 6px; border-radius: 100px; border: 1px solid var(--sep); color: var(--text3); }
.chip.me { background: var(--action); color: #fff; border-color: transparent; }
.chip.self { color: var(--action); border-color: var(--action); }
.rel { font-size: 11px; font-weight: 700; min-width: 34px; text-align: right; }
.rel.under { color: var(--under); } .rel.over { color: var(--over); } .rel.par { color: var(--text2); }
.num { font-size: 22px; font-weight: 800; min-width: 28px; text-align: center; }
.num.empty { color: var(--text3); font-weight: 600; }
.num.sofar { color: var(--text2); }
.num.under { color: var(--under); } .num.over { color: var(--over); }
button { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; touch-action: manipulation; }
.btn { display: block; width: 100%; height: 54px; border-radius: 100px; background: var(--action); color: #fff; font-size: 16.5px; font-weight: 700; }
.btn:active { background: var(--action-pressed); transform: scale(.98); }
.btn[disabled] { opacity: .35; }
/* The throw button waiting for a fix looks like waiting, as on the iPhone —
   not like a button that died. */
#throwbtn[disabled] { opacity: 1; background: var(--sep); color: var(--text2); }
#throwbtn[disabled]::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 8px;
  border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; vertical-align: -1px;
  animation: kj-spin .8s linear infinite; }
@keyframes kj-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { #throwbtn[disabled]::before { animation: none; } }
.btn.quiet { background: none; color: var(--text2); height: 44px; }

/* The two sign-in buttons, to Google's and Apple's own specifications: their
   wording, their mark, their colours, 44 px high and full width like every
   other control here. Neither is restyled to match the app — that is the one
   thing both sets of rules forbid. */
.sso { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; height: 48px; border-radius: 100px; font-size: 16px; font-weight: 600; font-family: inherit; letter-spacing: .1px; }
.sso .mark { width: 19px; height: 19px; flex: 0 0 auto; }
.sso:active { transform: scale(.98); }
.sso .mark + span { white-space: nowrap; }
/* Light page: Google's light button, Apple's black one. */
.sso.google { background: #FFFFFF; color: #1F1F1F; border: 1px solid #747775; }
.sso.apple { background: #000000; color: #FFFFFF; border: 1px solid #000000; }
.sso.apple .mark { width: 17px; height: 17px; margin-top: -2px; }
/* Dark page: the other way round, again as both specify. */
@media (prefers-color-scheme: dark) {
  .sso.google { background: #131314; color: #E3E3E3; border: 1px solid #8E918F; }
  .sso.apple { background: #FFFFFF; color: #000000; border: 1px solid #FFFFFF; }
}
.step { width: 46px; height: 46px; border-radius: 50%; background: var(--action-surface); color: var(--action); font-size: 26px; font-weight: 700; line-height: 1; flex: none; }
.step:active { background: var(--action); color: #fff; }
/* A minus with nothing to take away, as the iPhone's: the glyph faded, the
   circle kept. */
.step[disabled] { color: color-mix(in srgb, var(--text3) 40%, transparent); cursor: default; }
.step[disabled]:active { background: var(--action-surface); color: color-mix(in srgb, var(--text3) 40%, transparent); }
/* Counting somebody else's throws: the iPhone's ochre stepper. */
.step.count { background: color-mix(in srgb, var(--ocher) 14%, transparent); color: var(--ocher); }
.step.count:active { background: var(--ocher); color: #fff; }
.num.count { color: var(--ocher); }
/* The iPhone's row accents: a bar down the left edge and the faintest wash —
   green for my own row, ochre for a row I count. */
.row.score.mine { box-shadow: inset 3px 0 0 var(--action); background: color-mix(in srgb, var(--action) 10%, transparent); }
.row.score.counting, .row.score.counted { box-shadow: inset 3px 0 0 var(--ocher); background: color-mix(in srgb, var(--ocher) 10%, transparent); }
.step.count[disabled], .step.count[disabled]:active { background: color-mix(in srgb, var(--ocher) 14%, transparent); color: color-mix(in srgb, var(--text3) 40%, transparent); }
.hole { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.hole .title { flex: 1; display: flex; align-items: baseline; gap: 10px; }
.hole .nav { width: 48px; height: 48px; border-radius: 50%; font-size: 22px; color: var(--text2); }
.hole .nav:active { background: var(--action-surface); }
.line { display: flex; align-items: center; gap: 8px; padding: 10px 4px 0; font-size: 12.5px; font-weight: 600; color: var(--text2); }
.line.brick { color: var(--brick); }
.tabs { position: fixed; left: 0; right: 0; bottom: 0; padding: 8px 18px calc(env(safe-area-inset-bottom) + 10px); background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--sep); }
.tabs .inner { max-width: 520px; margin: 0 auto; display: flex; gap: 2px; background: var(--card); border-radius: 100px; padding: 4px; box-shadow: var(--shadow); }
.tabs button { flex: 1 1 auto; min-width: 0; padding: 0 8px; height: 50px; border-radius: 100px; font-size: 11px; font-weight: 700; color: var(--text2);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.tabs button span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.tabs .ico { width: 20px; height: 20px; }
.tabs button.on { background: var(--action-surface); color: var(--action); }
/* "Runde starten" pinned above the tab bar (2026-11-15, as on the iPhone). The
   tab bar is 76 px plus the safe area; the pad keeps the list's end clear of it. */
.startbar { position: fixed; left: 0; right: 0; bottom: calc(env(safe-area-inset-bottom) + 76px); padding: 10px 18px 8px;
  background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.startbar .btn { max-width: 520px; margin: 0 auto; }
.startbar .btn.quiet { height: 54px; background: var(--action-surface); color: var(--action); }
/* The list ends clear of the bar. The page's legal line does not sit between
   the list and the button (Martin, 2026-11-15): on this one screen it gives
   way, and "Ich" carries "Deine Daten" and "Impressum", one tap away. */
body:has(.startbar) { padding-bottom: calc(env(safe-area-inset-bottom) + 84px + 72px); }
body:has(.startbar) footer.foot { display: none; }
/* The hole switch under the thumb, where the tab bar sits on the home pages
   (UX pass 2026-11-15; the iPhone's chevrons are in its bottom panel too). */
.holebar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 4; padding: 8px 18px calc(env(safe-area-inset-bottom) + 10px);
  background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--sep); }
.holebar .inner { max-width: 520px; margin: 0 auto; display: flex; align-items: center; gap: 8px; background: var(--card); border-radius: 100px; padding: 4px; box-shadow: var(--shadow); }
.holebar button { flex: 1 1 0; min-width: 0; height: 50px; border-radius: 100px; font-size: 15px; font-weight: 700; color: var(--action); white-space: nowrap; }
.holebar button:active { background: var(--action-surface); }
.holebar b { flex: none; font-size: 13px; font-weight: 700; color: var(--text2); }
/* As on "Runden": no legal line between the page and the bar. The way home
   (‹ top left) leads to "Ich", which carries both. */
body:has(.holebar) footer.foot { display: none; }
/* "… · Rückgängig" (UX pass 2026-11-15, Gmail's undo bar) — drawn as the
   iPhone's `UndoBanner`: a frosted capsule, the text, the action in green. */
.undobar { position: fixed; left: 18px; right: 18px; bottom: calc(env(safe-area-inset-bottom) + 84px); z-index: 30; max-width: 484px; margin: 0 auto;
  display: flex; align-items: center; gap: 8px; padding: 0 4px 0 16px; min-height: 48px; border-radius: 100px;
  background: color-mix(in srgb, var(--card) 86%, transparent); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  color: var(--text); font-size: 13.5px; font-weight: 600; box-shadow: 0 3px 16px rgba(0,0,0,.18); animation: undoin .2s ease-out; }
.undobar span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.undobar button { flex: none; height: 44px; min-width: 44px; padding: 0 12px; border-radius: 100px; font-size: 13.5px; font-weight: 800; color: var(--action); }
@keyframes undoin { from { opacity: 0; transform: translateY(8px); } }
/* The pull-to-refresh ring over "Runden", as iOS draws its own. */
.ptr { position: fixed; top: calc(env(safe-area-inset-top) + 8px); left: 50%; z-index: 20; width: 26px; height: 26px; margin-left: -13px;
  border-radius: 50%; border: 2.5px solid var(--sep); border-top-color: var(--action); opacity: 0; transform: translateY(-40px); pointer-events: none; }
.ptr.on { opacity: 1; transform: translateY(12px); animation: ptrspin .8s linear infinite; }
@keyframes ptrspin { from { transform: translateY(12px) rotate(0); } to { transform: translateY(12px) rotate(360deg); } }
/* **44 px to the finger** (UX pass 2026-11-15; Apple asks 44 pt, Material
   48 dp): the small controls keep their look and answer to a larger area
   around them, as `kjHitArea` does on the iPhone. */
.chip.ob, .pill, .chips button, .nexttee, .who button, .seg button, .years .yearhead, .sketch .btn, .mkcallout .btn,
.back, .linkbtn, .disc, .banner button, label.check, footer.foot a { position: relative; }
.chip.ob::after, .pill::after, .chips button::after, .nexttee::after, .who button::after, .seg button::after, .years .yearhead::after,
.sketch .btn::after, .mkcallout .btn::after, .back::after, .linkbtn::after, .disc::after, .banner button::after,
label.check::after, footer.foot a::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: max(100%, 44px); height: max(100%, 44px); transform: translate(-50%, -50%); }
details.privacy summary { padding: 12px 0; }
button.line { min-height: 44px; padding-top: 0; width: 100%; }
/* The iPhone's quiet green action lines under the card. */
.btn[hidden] { display: none; }
button.line.center { display: flex; justify-content: center; color: var(--action); font-size: 14px; }
input[type=text], input[type=search] { width: 100%; -webkit-appearance: none; appearance: none; height: 58px; border: 0; border-radius: 20px; padding: 0 16px; font: inherit; color: var(--text); background: var(--card); box-shadow: var(--shadow); outline: none; }
input[type=text]:focus, input[type=search]:focus { box-shadow: 0 0 0 2px var(--action); }
.grid { display: grid; gap: 10px; }
.grid.colors { grid-template-columns: repeat(4, 1fr); }
.grid.emoji { grid-template-columns: repeat(5, 1fr); gap: 8px; }
.swatch { height: 46px; display: grid; place-items: center; }
.swatch i { width: 34px; height: 34px; border-radius: 50%; display: block; outline: 0 solid var(--text); outline-offset: 3px; }
.swatch.on i { outline-width: 2.5px; }
.swatch[disabled], .tile[disabled] { opacity: .22; }
.tile { height: 46px; border-radius: 10px; background: var(--card); font-size: 24px; display: grid; place-items: center; outline: 0 solid var(--text); }
.tile.on { outline-width: 2px; }
.scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; font-weight: 600; }
th, td { padding: 9px 7px; text-align: center; min-width: 30px; border-bottom: 1px solid var(--sep); white-space: nowrap; }
th { font-size: 11px; font-weight: 700; color: var(--text3); }
td.who, th.who { position: sticky; left: 0; background: var(--card); text-align: left; padding-left: 14px; max-width: 120px; overflow: hidden; text-overflow: ellipsis; z-index: 1; }
td.sum, th.sum { position: sticky; right: 0; background: var(--card); z-index: 1; box-shadow: -1px 0 0 var(--sep); }
td.sum { font-weight: 800; }
/* The colour before a name on the scorecard, as on the iPhone (2026-11-18). */
/* A table cell, not the wrapping flex row .who is elsewhere: the dot sat over the name. */
td.who { display: table-cell; margin-top: 0; }
td.who .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 7px; vertical-align: 1px; }
td.under { color: var(--under); } td.over { color: var(--over); }
td.open { color: var(--text3); font-weight: 500; }
td.sum.par { color: var(--text2); }
th.now { color: var(--action); }
.banner { margin-top: 14px; padding: 12px 16px; border-radius: 16px; background: var(--action-surface); color: var(--action); font-size: 13.5px; font-weight: 600; display: flex; gap: 10px; align-items: center; }
.banner.warn { background: rgba(192,138,24,.14); color: var(--ocher); }
.banner button, .banner .app { margin-left: auto; font-weight: 800; }
.banner .app { color: inherit; text-decoration: none; white-space: nowrap; }
.center { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.foot { margin: 28px 4px 0; font-size: 11.5px; font-weight: 500; color: var(--text3); line-height: 1.45; }
.foot a { color: var(--text2); }
body > footer.foot { max-width: 520px; margin: 28px auto 0; padding: 0 18px; }
.card .sub a { color: var(--action); font-weight: 600; }
.stack > * + * { margin-top: 10px; }

/* Map, history, back link (2026-09-19) */
.back { display: inline-block; margin-top: 14px; font-size: 13.5px; font-weight: 600; color: var(--action, #2F5D3F); text-decoration: none; }
.mapslot { margin-top: 10px; border-radius: 18px; overflow: hidden; background: #d9d4c7; }
.map { height: 52vh; min-height: 300px; width: 100%; }
.leaflet-container { font: inherit; background: #d9d4c7; }
a.row.link { text-decoration: none; color: inherit; }
a.row.link:active { background: rgba(0,0,0,0.04); }
.stack > .btn + .btn { margin-top: 6px; }

/* Courses and starting a round in the browser (2026-09-20) */
select { width: 100%; height: 58px; border: 0; border-radius: 20px; padding: 0 16px; font: inherit; color: var(--text); background: var(--card); box-shadow: var(--shadow); outline: none; margin-top: 8px; -webkit-appearance: none; appearance: none; }
.meta.under { color: var(--under); } .meta.ocher { color: var(--ocher); }
button.back { cursor: pointer; font: inherit; }

/* live view for whoever is not playing */
.live-hero { padding: 16px; }
.herotop { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.heronum { font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -1px; }
.heronum span { font-size: 22px; font-weight: 700; color: var(--text3); }
.bar { margin-top: 14px; height: 8px; border-radius: 100px; background: var(--action-surface); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 100px; background: var(--action); transition: width .6s ease; }
.row.live { min-height: 62px; }
.row.live.lead { background: var(--action-surface); }
.rel.big { font-size: 19px; font-weight: 800; min-width: 52px; }
.row.tick { min-height: 50px; }
.row.tick .name { white-space: normal; }
.tickicon { font-size: 20px; width: 26px; text-align: center; flex: none; }

/* The round as a picture: the preview at the card's own proportions, and the
   two rows of choices the iPhone offers as segmented controls. */
.sharepic { margin: 10px auto 14px; border-radius: 18px; overflow: hidden; box-shadow: 0 4px 18px rgba(0,0,0,.14); background: #4A5B4C; }
.sharepic.story { width: min(72vw, 270px); aspect-ratio: 9 / 16; }
.sharepic.square { width: min(84vw, 320px); aspect-ratio: 1; }
/* As tall as its players need: the picture sets the height. */
.sharepic.long { width: min(84vw, 320px); }
.sharepic.long img { height: auto; }
.sharepic img { display: block; width: 100%; height: 100%; }
.seg { display: flex; gap: 4px; background: var(--card); border-radius: 100px; padding: 4px; box-shadow: var(--shadow); margin-top: 8px; }
.seg button { flex: 1; height: 38px; border-radius: 100px; font-size: 14px; font-weight: 700; color: var(--text2); }
.seg button.on { background: var(--action-surface); color: var(--action); }

/* OB beside the stepper: outlined while there is none, filled with the count
   once there is — the iPhone's chip. */
.chip.ob { flex: none; font-size: 11px; padding: 4px 8px; min-height: 26px; }
.chip.ob.on { background: rgba(156,59,46,.12); color: var(--over); border-color: transparent; }

/* **"ich", "dabei", "Gast" always under the name**, as on the iPhone. The
   chip moved there only where a row ran short, so the same card had it
   beside the name on one row and under it on the next (Martin,
   2026-09-25). */
.row.score .sub .chip { margin-right: 6px; font-size: 9.5px; padding: 1px 5px; }

/* The other holes on the map: small, quiet, and a finger's width to hit. */
.sketchpt { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: none; border: 0; }
/* One number in a circle, "2 · 11" in a capsule where holes share a point
   (the iPhone's `MapBadges`, width set inline from the same formula). */
.sketchpt .tee { display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 16px; height: 16px; border-radius: 8px; white-space: nowrap; font: 800 9px/1 -apple-system, system-ui, Roboto, sans-serif; font-variant-numeric: tabular-nums; color: #fff; background: rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.55); }
.sketchpt .basket { width: 9px; height: 9px; border-radius: 50%; background: rgba(0,0,0,.3); border: 1.5px solid rgba(255,255,255,.55); }
.sketchpt .next { border-color: rgba(255,255,255,.85); background: rgba(0,0,0,.55); }
/* A badge under one of the floating buttons: gone, and not tappable, until
   the map moves it out again (M2). On the marker the library holds. */
.lfpt.under, .under > .mkbox { opacity: 0 !important; }
.lfpt.under, .under, .under > .mkbox { pointer-events: none !important; }
.lfpt, .mkbox { transition: opacity .15s ease-out; }
.sketch { min-width: 180px; font-size: 14px; }
.sketch .meta { margin: 2px 0 4px; }
.sketch .btn { margin-top: 8px; height: 36px; font-size: 14px; }
/* Leaflet draws every popup white whatever the page is; in dark mode the app's
   light text then stood on white and the button all but vanished
   (2026-09-23). The bubble takes the app's own card colours instead. */
.leaflet-popup-content-wrapper, .leaflet-popup-tip { background: var(--card); color: var(--text); box-shadow: 0 4px 18px rgba(0,0,0,.25); }
.leaflet-container a.leaflet-popup-close-button { color: var(--text2); }
.sketch b { color: var(--text); }
.sketch .meta { color: var(--text2); }
.sketch .btn.quiet { background: var(--action-surface); color: var(--action); width: 100%; border-radius: 100px; }

/* ---------- 2026-09-25: the iPhone's latest, in the browser ---------- */
/* One header on the three home pages, the "+" on the title's line. */
.tabtitle { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.roundbtn { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--sep); background: var(--card);
  color: var(--action); font-size: 24px; font-weight: 700; line-height: 1; display: grid; place-items: center; padding: 0; }
/* A course row: the course is one button, the star another. */
.row.course { padding: 0; gap: 0; }
.row.course .open { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 0 4px 0 16px; min-height: 56px;
  background: none; border: 0; text-align: left; color: inherit; font: inherit; }
.row.course .name small { white-space: normal; }
.row.course .open { padding-top: 8px; padding-bottom: 8px; }
.star { flex: none; width: 48px; min-height: 56px; background: none; border: 0; font-size: 18px; color: var(--text3); }
.star.on { color: var(--ocher); }
/* A differing count: two words on the row, the sentence in a bubble. */
.row .name small.ocher { color: var(--ocher); }
/* The running total in the iPhone's colours: over par red, under par green. */
.row.score .name small.over { color: var(--over); } .row.score .name small.under { color: var(--under); }
.disc { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline dotted; text-underline-offset: 2px; }
/* **Ochre, a dot** (design check 2026-11-18): ochre is "not yet confirmed",
   never a warning (HANDOFF §2); the "!" in a box read as one. */
.disc::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%;
  background: var(--ocher-fill); vertical-align: 1px; }
.bubble { display: block; width: 100%; margin-top: 8px; padding: 12px 14px; border: 0; border-radius: 14px; text-align: left;
  background: var(--card); box-shadow: var(--shadow); color: var(--text); font-family: inherit; font-size: 14px; font-weight: 500; line-height: 1.45; }
/* The walk-through: a sheet over the page, one picture and a few lines. */
.tutorial { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.35); display: flex; align-items: flex-end; justify-content: center; }
.tsheet { width: 100%; max-width: 520px; max-height: 100dvh; overflow-y: auto; background: var(--paper); border-radius: 22px 22px 0 0;
  padding: 14px 20px calc(env(safe-area-inset-bottom) + 18px); text-align: center; }
/* Three columns, so "Überspringen" and the title never touch on a 360 px phone
   (they did with the button laid over the centred title, 2026-11-15). */
.thead { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; text-align: center; font-size: 14px; padding: 6px 0; margin-bottom: 12px; }
.thead .link { justify-self: start; background: none; border: 0; color: var(--text2); font: inherit; padding: 6px 0; min-height: 44px; }
.tpic { width: 100%; max-height: 42vh; object-fit: contain; border-radius: 14px; border: 1px solid var(--sep); box-shadow: var(--shadow); }
.tsheet h2 { font-size: 20px; font-weight: 800; margin: 16px 0 6px; }
.tsheet p { font-size: 16px; line-height: 1.45; color: var(--text2); margin: 0 0 14px; }
/* Dots drawn 8 px, each in a 36 × 44 tap area (UX pass 2026-11-15). */
.tdots { display: flex; justify-content: center; gap: 0; margin: -6px 0 4px; }
.tdots button { width: 36px; height: 44px; border: 0; padding: 0; background: none; }
.tdots button::before { content: ""; display: block; width: 8px; height: 8px; margin: auto; border-radius: 50%; background: var(--sep); }
.tdots button.on::before { background: var(--action); }
/* The iPhone's order: the throw and "Im Korb" side by side, the tee above in
   the colour of "set, not yet confirmed". */
.throwrow { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.throwrow .holed { width: 118px; border: 1.5px solid color-mix(in srgb, var(--action) 40%, transparent); background: var(--action-surface); color: var(--action); }
.btn.tee:not([disabled]) { background: color-mix(in srgb, var(--ocher) 14%, transparent); color: var(--ocher); border: 1.5px solid color-mix(in srgb, var(--ocher) 45%, transparent); }
.throwrow > .btn { height: 54px; }
/* A course's name wraps rather than ending in "…" (Martin: nothing cut). */
.row.course .name { white-space: normal; }
/* A guest named on the join screen: the name, and the way to take it back. */
.guestline { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.guestline input { flex: 1; }
.sortseg { margin: 12px 0 0; }

/* ---------- 2026-10-17: as finished as the iPhone ---------- */
/* Line icons, drawn in the text colour of wherever they sit. */
.ico { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* A secondary action is a card row: symbol, title, one line, chevron. */
.action { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 60px; padding: 12px 16px; text-align: left;
  background: var(--card); border-radius: 20px; box-shadow: var(--shadow); color: var(--text); }
.action .ico { color: var(--action); }
.action .txt { flex: 1; min-width: 0; }
.action b { display: block; font-size: 16.5px; font-weight: 700; }
.action small { display: block; margin-top: 2px; font-size: 13px; font-weight: 500; line-height: 1.35; color: var(--text2); }
.action .chev { flex: none; font-size: 22px; font-weight: 500; color: var(--text3); }
.action:active { background: var(--action-surface); }
/* The data notice on the join screen: there in full, one tap away. */
details.privacy summary { cursor: pointer; color: var(--text2); font-weight: 600; list-style: none; }
details.privacy summary::-webkit-details-marker { display: none; }
details.privacy summary::after { content: " ›"; }
details.privacy[open] summary { margin-bottom: 6px; }
details.privacy[open] summary::after { content: ""; }
/* The map's credit: small and quiet in a corner, not a band across the map. */
.leaflet-container .leaflet-control-attribution { font-size: 10px; font-weight: 500; line-height: 1.4; padding: 1px 7px;
  background: rgba(255,255,255,.72); color: #333; border-radius: 8px 0 0 0; }
/* A quiet note in a list, not a headline. */
.row.tick .name.sub { font-size: 14px; font-weight: 500; line-height: 1.4; padding: 12px 0; }
/* Joining: who you are, as the others will see you — the browser's version
   of setting yourself up on the iPhone (Martin, 2026-10-17). */
.me-card { display: flex; align-items: center; gap: 14px; padding: 14px 16px; }
.me-card .txt { flex: 1; min-width: 0; }
.me-card b { display: block; font-size: 20px; font-weight: 800; overflow-wrap: anywhere; }
.me-card small { display: block; margin-top: 2px; font-size: 13px; font-weight: 500; color: var(--text2); }
.mark.big { width: 52px; height: 52px; font-size: 28px; }
/* The total sits apart from the last hole. */
td.sum, th.sum { padding-left: 12px; }
/* "Meine Runden" opens with you: the mark, the name, then the account. */
.row.me-row { min-height: 72px; }
.row.me-row .mark { width: 44px; height: 44px; font-size: 24px; }
.row.me-row .name { font-size: 19px; font-weight: 800; white-space: normal; }
.row .name small { white-space: normal; }
.row.disclose { width: 100%; text-align: left; }
.row.disclose .chev, .row .chev { flex: none; font-size: 20px; color: var(--text3); }
.row.signin { padding-top: 4px; padding-bottom: 14px; }
.pill { flex: none; height: 34px; padding: 0 14px; border-radius: 100px; background: var(--action-surface); color: var(--action); font-size: 14px; font-weight: 700; }
/* The "you" card aligns every row on the avatar's column, and its lines
   start after it, as on the iPhone's Ich tab. */
.row .slot { flex: none; width: 44px; display: grid; place-items: center; color: var(--action); }
.row .slot .ico { width: 24px; height: 24px; }
.row.acct { position: relative; border-top: 0; }
.row.acct::before { content: ""; position: absolute; left: 72px; right: 0; top: 0; border-top: 1px solid var(--sep); }
a.action { text-decoration: none; }
.row.signin { border-top: 0; }
.row.acct { padding-top: 12px; padding-bottom: 12px; }
/* Editing yourself, inside the card. */
button.row.me-row { width: 100%; text-align: left; }
.row.me-edit { display: block; padding: 4px 16px 16px; border-top: 0; }
.row.me-edit > .meta { display: block; margin: 14px 4px 8px; }
.row.me-edit input[type=text] { box-shadow: 0 0 0 1px var(--sep); }
.row.me-edit .stack { margin-top: 16px; }
.row.me-edit .tile { background: var(--paper); }
/* The account inside your profile (2026-11-01): which door, what hangs on
   it, the address — the iPhone's `AccountDetails`. */
.row.me-edit .acctbox { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; background: var(--paper); }
.row.me-edit .acctbox b { font-size: 16px; color: var(--text); }
.row.me-edit .acctbox small { font-size: 14px; color: var(--text2); overflow-wrap: anywhere; }
.row.me-edit .acctbox small.addr { font-size: 12.5px; color: var(--text3); }
.row.me-edit .acctnote { margin: 0 4px 12px; font-size: 14px; line-height: 1.4; color: var(--text2); }
.row.me-edit input[type=text] { background: var(--paper); box-shadow: none; }
/* Whose picture, on a spectator's share screen: "Alle" or one player. */
.who { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.who button { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 100px;
  background: var(--card); box-shadow: var(--shadow); font-size: 14px; font-weight: 700; color: var(--text2); max-width: 100%; }
.who button span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who button .mark { width: 20px; height: 20px; font-size: 12px; flex: none; }
.who button.on { background: var(--action-surface); color: var(--action); }

/* Next tee, as on the iPhone: one quiet capsule under the hole title. */
.nexttee { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 6px auto 0; max-width: 100%; height: 34px; padding: 0 14px;
  border: 0; border-radius: 100px; background: var(--action-surface); color: var(--action); font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.nexttee .txt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nexttee .arrow { display: inline-flex; opacity: 0; width: 0; transition: transform .2s ease-out; }
.nexttee .arrow.on { opacity: 1; width: 14px; }
/* The way the phone points, around the own dot. */
.beamicon { background: none; border: 0; pointer-events: none; }
.beam { width: 64px; height: 64px; border-radius: 50%; transition: transform .2s ease-out, opacity .2s;
  background: conic-gradient(from -28deg, rgba(10,132,255,.5) 0 56deg, transparent 56deg 360deg);
  -webkit-mask: radial-gradient(circle, transparent 0 8px, #000 9px, rgba(0,0,0,.15) 32px);
  mask: radial-gradient(circle, transparent 0 8px, #000 9px, rgba(0,0,0,.15) 32px); }

/* Throws on the map: numbered landings, distances, and who threw how far. */
.tmark { background: none; border: 0; }
.tnum { display: flex; align-items: center; justify-content: center; width: 18px; height: 18px; box-sizing: border-box; border-radius: 50%;
  border: 1.5px solid #fff; color: #fff; font-size: 10px; font-weight: 800; font-variant-numeric: tabular-nums; }
.tdist { display: inline-block; padding: 0 6px; height: 18px; line-height: 18px; border-radius: 9px;
  background: rgba(0,0,0,.55); color: #fff; font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.throwlegend { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 8px 4px 0; }
.throwlegend:empty { display: none; }
.tleg { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; color: var(--text2); }
.tleg i { width: 9px; height: 9px; border-radius: 50%; flex: none; }

/* "Meine Runden" by year: a quiet header per year, the card under it. */
.years .yearhead { display: flex; align-items: center; width: 100%; gap: 4px; margin: 14px 0 8px; padding: 4px 4px; min-height: 32px; border: 0; background: none;
  color: var(--text3); font-size: 12.5px; font-weight: 600; text-align: left; }
.years .yearhead:first-child { margin-top: 0; }
.years .yearhead b { color: var(--text2); font-weight: 700; }
.years .yearhead .chev { margin-left: auto; font-size: 16px; transition: transform .2s; }
.years .yearhead.open .chev { transform: rotate(90deg); }

/* Side-game rules with their made-up card, as in the iPhone's gallery. */
.gamebody { padding-top: 4px; }
.gxrules { margin: 8px 0 0; padding-left: 20px; font-size: 14px; line-height: 1.45; color: var(--text); }
.gxrules li { margin-bottom: 6px; }
.gx { margin-top: 10px; }
.gxhole { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: var(--paper); }
.gxlabel { font-size: 12.5px; font-weight: 700; color: var(--text2); }
.gxgrid { display: grid; gap: 6px; margin-top: 6px; }
.gxcell { display: flex; flex-direction: column; align-items: center; padding: 4px 2px; border-radius: 8px; min-width: 0; }
.gxcell small { font-size: 11px; color: var(--text3); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gxcell b { font-size: 17px; font-variant-numeric: tabular-nums; color: var(--text2); font-weight: 600; }
.gxcell.hi { background: var(--action-surface); }
.gxcell.hi b { color: var(--action); font-weight: 800; }
.gxcell.t1 small { color: var(--brick); }
.gxverdict { margin-top: 6px; font-size: 13px; line-height: 1.4; color: var(--text); }

/* Map markers, the same on both libraries (map.js): Leaflet's box, or a
   point of no size on Apple's map with its content centred on it. */
.lfpt { background: none; border: 0; }
.lfc { position: absolute; transform: translate(-50%, -50%); }
.mkpt { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); }
.mkbox { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.mkdot { display: block; box-sizing: border-box; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 1px 2px rgba(0,0,0,.3); }
.mkcallout { min-width: 190px; max-width: 240px; padding: 12px 14px; border-radius: 14px; background: var(--card); color: var(--text); box-shadow: 0 4px 16px rgba(0,0,0,.25); font-size: 13px; }
.mkcallout .btn { margin-top: 8px; height: 40px; font-size: 14px; }

.gxorigin { margin: 4px 0 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--brick) 45%, transparent); font-size: 13.5px; line-height: 1.4; color: var(--text); }
.gxorigin b { display: block; color: var(--brick); font-size: 12.5px; margin-bottom: 2px; }

/* The round has started: one clear, friendly line in the action colour. */
.banner.go { background: var(--action); color: #fff; }
.banner.go b { display: block; font-size: 16px; margin-bottom: 2px; }

/* The iPhone's round bar: the way back on the left, the round's other screens
   as round buttons on the right (2026-10-18). */
.roundbar { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.roundbar .sp { flex: 1; }
.roundbtn { width: 44px; height: 44px; border-radius: 50%; border: 0; display: inline-flex; align-items: center; justify-content: center;
  background: var(--card); color: var(--text); box-shadow: var(--shadow); cursor: pointer; flex: 0 0 auto; }
.roundbtn .ico { width: 19px; height: 19px; }
.roundbtn:active { transform: scale(.94); }
/* A screen opened over the round, closed with "Fertig" — the iPhone's sheet. */
.sheethead { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 0 -18px; padding: 14px 18px 10px; background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.sheethead h1 { margin: 0; font-size: 22px; }
/* The number on the hole is a count, in the text colour, as on the iPhone;
   how it compares to par is the small line under the name (2026-10-18). */
.row.score .num.under, .row.score .num.over { color: var(--text); }

/* The result card of a finished round, as on the iPhone (2026-10-18). */
.card.hero { padding: 16px; display: grid; gap: 10px; background: linear-gradient(to bottom left, color-mix(in srgb, var(--action) 13%, transparent), transparent 70%), var(--card); }
.card.hero .caps { margin: 0; }
.heroname { display: flex; align-items: center; gap: 10px; min-width: 0; }
.heroname b { font-size: 28px; font-weight: 800; letter-spacing: -0.8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.heroname .mark { width: 34px; height: 34px; font-size: 22px; }
.herorow { display: flex; align-items: center; gap: 14px; }
.herorow b { display: block; font-size: 17px; }
.herorow small { display: block; font-size: 13px; color: var(--text2); margin-top: 2px; }
.herorel { font-size: 40px; font-weight: 800; letter-spacing: -1.5px; padding: 4px 16px; border-radius: 18px; line-height: 1.1; }
.herorel.u { color: var(--under); background: color-mix(in srgb, var(--under) 14%, transparent); }
.herorel.o { color: var(--over); background: color-mix(in srgb, var(--over) 12%, transparent); }
.herorel.p { color: var(--text2); background: color-mix(in srgb, var(--text3) 18%, transparent); }
.strip { display: flex; gap: 3px; height: 26px; }
.strip i { flex: 1 1 0; min-width: 0; border-radius: 4px; background: color-mix(in srgb, var(--text3) 22%, transparent); }
.strip i.u, .legend i.u { background: var(--under); }
.strip i.p, .legend i.p { background: color-mix(in srgb, var(--text3) 70%, transparent); }
.strip i.b, .legend i.b { background: color-mix(in srgb, var(--over) 55%, transparent); }
.strip i.d, .legend i.d { background: var(--over); }
.legend { display: flex; flex-wrap: wrap; gap: 4px 9px; font-size: 11px; color: var(--text2); }
.legend span { display: inline-flex; align-items: center; gap: 5px; }
.legend i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }

/* A finished round opened again: the iPhone's `RoundDetailView` (Parity 3, 2026-11-18). */
.rdhead { display: grid; gap: 6px; padding-top: 8px; }
.rdhead .caps { margin: 0; }
.rdhead .rdtitle { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -.6px; line-height: 1.15; overflow-wrap: anywhere; }
button.row.final.rd { display: block; }
.row.final.rd .rdmain { display: flex; align-items: center; gap: 12px; min-height: 36px; }
.row.final.rd.striped { padding-top: 10px; padding-bottom: 10px; }
.row.final .name small .vs { font-weight: 600; color: var(--text2); white-space: nowrap; margin-left: 4px; font-variant-numeric: tabular-nums; }
.row.final .name small .vs.under { color: var(--under); } .row.final .name small .vs.over { color: var(--over); }
.strip.thin { height: 6px; margin: 8px 20px 0 28px; }
.strip.thin.dense { gap: 2px; }
.strip.thin i { border-radius: 2px; }
.rdfoot { padding: 10px 4px 0; color: var(--text3); }
.acttiles.three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.acttiles.three button { gap: 8px; align-content: start; padding: 14px; min-height: 88px; font-size: 13.5px; line-height: 1.25; overflow-wrap: anywhere; }
.acttiles.three .ico { width: 24px; height: 24px; }
.row.drinkhead { min-height: 58px; }
.row.drinkhead .stepper { margin-left: auto; }
.infotitle { display: inline-flex; align-items: center; gap: 2px; padding: 6px 4px; border: 0; background: none; font: inherit; font-size: 12.5px; font-weight: 600; color: var(--text3); }
.throwsnav { margin-top: 8px; }
.throwsnav .title h2 { text-align: center; }
.throwsnone { text-align: center; color: var(--text3); }
/* The share sheet's pickers (Bild, Format, Hintergrund) are the iPhone's
   segmented controls, one row each — the place card's two-column `.seg`
   further down wrapped "Lang" onto a second line. */
.sharepic ~ .seg { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: minmax(0, 1fr); gap: 2px; padding: 2px; border-radius: 9px; background: var(--fill); box-shadow: none; margin-top: 10px; }
.sharepic ~ .seg button { height: 32px; border-radius: 7px; font-size: 14px; font-weight: 600; color: var(--text); background: none; }
.sharepic ~ .seg button.on { background: var(--card); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
/* "Meine Runden": who played under each row, and the iPhone's swipe to delete. */
.row .name .pline { display: block; margin-top: 3px; font-size: 12.5px; font-weight: 600; color: var(--text3); white-space: normal; }
.row .name .pline i { font-style: normal; font-size: 8px; opacity: .75; vertical-align: 1px; }
.rel.nores { font-size: 15px; font-weight: 800; color: var(--text3); min-width: 0; width: 46px; }
.swipe { position: relative; overflow: hidden; isolation: isolate; }
.swipe > .row { position: relative; z-index: 1; background: var(--card); transition: transform .22s ease; touch-action: pan-y; }
.swipeact { position: absolute; top: 0; right: 0; bottom: 0; padding: 0 20px; border: 0; background: #E5484D; color: #fff; font: inherit; font-size: 15px; font-weight: 600; }
body.home .card > .swipe > a.row { min-height: 64px; padding: 8px 18px; }
body.home .card > .swipe + .swipe > .row::before { content: ''; position: absolute; top: 0; left: 18px; right: 0; height: 1px; background: var(--sep); }
.card > .swipe + .dayhead::before { content: ''; position: absolute; top: 0; left: 18px; right: 0; height: 1px; background: var(--sep); }
.card.removed { display: grid; gap: 8px; justify-items: start; padding: 16px; }
.card.removed b { display: inline-flex; align-items: center; gap: 8px; font-size: 16.5px; }
.card.removed .ico { width: 18px; height: 18px; color: var(--text2); }
.card.removed .sub { margin: 0; }
.card.removed .linkish { padding: 4px 0; border: 0; background: none; font: inherit; font-size: 16px; font-weight: 600; color: var(--action); }
/* The two questions: the iPhone's alert, and its action sheet. */
.askscrim { position: fixed; inset: 0; z-index: 1000; border: 0; background: rgba(0,0,0,.32); }
.alert { position: fixed; z-index: 1001; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(290px, calc(100vw - 48px)); border-radius: 16px; overflow: hidden;
  background: color-mix(in srgb, var(--card) 94%, transparent); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 10px 40px rgba(0,0,0,.25); text-align: center; }
.alertbody { padding: 18px 16px 16px; display: grid; gap: 4px; }
.alertbody b { font-size: 17px; }
.alertbody p { margin: 0; font-size: 13.5px; line-height: 1.35; color: var(--text); }
.alertbtns { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--sep); }
.alertbtns button { height: 46px; border: 0; background: none; font: inherit; font-size: 17px; color: var(--action); }
.alertbtns button + button { border-left: 1px solid var(--sep); }
.alertbtns .danger, .actionsheet .danger { color: #E5484D; font-weight: 600; }
.actionsheet { position: fixed; z-index: 1001; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); max-width: 520px; margin: 0 auto; display: grid; gap: 8px; }
.actionsheet .asgroup, .actionsheet .ascancel { border-radius: 14px; overflow: hidden; background: color-mix(in srgb, var(--card) 96%, transparent); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.actionsheet .ashead { display: grid; gap: 4px; padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--sep); }
.actionsheet .ashead b { font-size: 13.5px; color: var(--text2); }
.actionsheet .ashead span { font-size: 13px; color: var(--text3); line-height: 1.35; }
.actionsheet button { width: 100%; height: 56px; border: 0; background: none; font: inherit; font-size: 19px; }
.actionsheet .ascancel { font-weight: 600; color: var(--action); }

/* "Melden" on an own layout (033): a quiet link, then a small form. */
.linkbtn { color: var(--text2); font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; padding: 6px 0; }
.card.report { margin-top: 8px; }
.card.report select { box-shadow: none; background: var(--paper); height: 48px; border-radius: 14px; }
.card.report textarea, .card.report input[type=email] { width: 100%; box-sizing: border-box; border: 0; border-radius: 14px; padding: 12px 14px; font: inherit; font-size: 15px; color: var(--text); background: var(--paper); outline: none; resize: vertical; }
label.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text2); line-height: 1.35; }
label.check input { margin-top: 2px; width: 18px; height: 18px; flex: none; accent-color: var(--action); }
/* Every day under its own line (2026-10-31), as on the iPhone. */
.dayhead { padding: 14px 16px 4px; font-size: 13px; color: var(--text2); }
.dayhead b { color: var(--text); font-weight: 650; }
.card > .dayhead { position: relative; }
.card > .row + .dayhead::before { content: ''; position: absolute; top: 0; left: 18px; right: 0; height: 1px; background: var(--sep); }

/* "Was ist neu" — the iPhone's WhatsNewSheet: version and day above a card
   of points, the running version marked. And the footer of "Ich". */
.newslead { font-size: 17px; font-weight: 600; margin: 18px 0 0; }
.release .relhead { display: flex; align-items: baseline; gap: 8px; margin: 0 0 10px; }
.release .relhead .meta { margin-left: auto; white-space: nowrap; }
.tag { font-size: 11px; font-weight: 700; color: var(--action); background: var(--action-surface); padding: 3px 7px; border-radius: 100px; white-space: nowrap; }
.notes { margin: 0; padding: 18px 18px 18px 33px; display: grid; gap: 8px; font-size: 13.5px; font-weight: 500; color: var(--text); }
.notes li::marker { color: var(--text3); }
.notes code { font-size: 12.5px; }
.appfoot { margin: 28px 0 8px; text-align: center; font-size: 12.5px; font-weight: 600; color: var(--text3); display: grid; gap: 6px; }
.appfoot .links { display: flex; justify-content: center; gap: 18px; margin-bottom: 4px; }
.appfoot .links button, .appfoot .links a { background: none; border: 0; padding: 0; font: inherit; color: var(--action); text-decoration: none; }
.appfoot .thanks { padding: 0 24px; }

/* The lists outside a round, measured against the iPhone (2026-10-31): rows
   of 64 points with 18 points of padding, separators that start where the
   text starts, the chevron the size of SF's, the result as a tinted chip.
   Only on the home screens — the round screen has its own measured rows. */
body.home .card > .row, body.home .card > a.row, body.home .card > button.row { min-height: 64px; padding: 8px 18px; position: relative; }
body.home .card > .row + .row { border-top: 0; }
body.home .card > .row + .row::before { content: ''; position: absolute; top: 0; left: 18px; right: 0; height: 1px; background: var(--sep); }
body.home .card > .row:has(.slot) + .row:has(.slot)::before { left: 74px; }
body.home .row .chev { font-size: 24px; font-weight: 400; line-height: 1; color: var(--text3); }
body.home .row.course .open .chev { margin-left: auto; padding-left: 8px; }
.rel.pill { display: inline-flex; align-items: center; justify-content: center; height: 24px; font-size: 15px; font-weight: 800; line-height: 1; min-width: 0; padding: 0 9px; border-radius: 100px; background: var(--fill); }
.rel.pill.under { background: var(--under-surface); } .rel.pill.over { background: var(--over-surface); }
.btn .plus { font-size: 26px; font-weight: 500; line-height: 0; margin-right: 6px; vertical-align: -2px; }
/* The search field as iOS draws it: a filled capsule with the glass. */
body.home input[type=search] { height: 44px; border-radius: 100px; background: var(--fill) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2378786f' stroke-width='2.6' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 21 21'/%3E%3C/svg%3E") no-repeat 14px center; padding-left: 44px; box-shadow: none; font-size: 17px; }
/* Sorting as chips, the chosen one tinted — the iPhone's row above the list. */
.chips { display: flex; justify-content: flex-end; gap: 4px; }
.chips button { height: 34px; padding: 0 14px; border: 0; border-radius: 100px; background: none; font: inherit; font-size: 15px; font-weight: 600; color: var(--text2); }
.chips button.on { background: var(--action-surface); color: var(--action); }
/* Statistik's two numbers side by side, as on the iPhone. */
.tiles { display: grid; grid-template-columns: 1fr 1fr; padding: 18px; }
.tiles b { display: block; font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; }
.tiles span { font-size: 13.5px; font-weight: 600; color: var(--text2); }
.statv { font-size: 19px; font-weight: 800; font-variant-numeric: tabular-nums; }
/* "Ich" carries Impressum and Datenschutz in its own footer. */
body[data-page="me"] > footer.foot { display: none; }
body.home .card > .row.course { padding: 0; }
body.home .row.course .open { padding-left: 18px; min-height: 64px; }
body.home .star { min-height: 64px; font-size: 22px; }
body.home .row .name small { font-size: 13.5px; font-weight: 500; color: var(--text2); margin-top: 1px; }
body.home .card > .row.acct::before { border-top: 0; left: 74px; }
body.home .card > .row.me-row { min-height: 80px; }

/* The face in a scoring row: emoji or a 10-point colour dot in a 22-point
   slot, as on the iPhone. */
.row.score .face { flex: none; width: 22px; display: grid; place-items: center; font-size: 16px; line-height: 1; }
.row.score .face i { width: 10px; height: 10px; border-radius: 50%; background: var(--text3); }
.row.score .name.faced small { padding-left: 28px; }

/* The result, as the iPhone draws it (2026-10-31): numbers in the strip and
   the holes under it, a dot beside the name, the table with the strokes large
   and the score as a chip, and the two actions as tiles. */
.strip.numbered { height: 30px; }
.strip i { display: grid; place-items: center; font-style: normal; font-size: 13px; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }
.strip i.u, .strip i.d { color: #fff; }
.stripnums { display: flex; gap: 3px; margin-top: -6px; }
.stripnums span { flex: 1 1 0; min-width: 0; text-align: center; font-size: 11px; font-weight: 600; color: var(--text3); font-variant-numeric: tabular-nums; }
.heroname .dot { flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--text3); }
.heroname .face { flex: none; font-size: 24px; line-height: 1; }
.row.final { min-height: 64px; padding: 8px 18px; gap: 12px; }
.row.final.mine { background: var(--action-surface); }
.row.final .place { width: 14px; font-size: 15px; }
.row.final .dot { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--text3); }
.row.final .name small { margin-top: 3px; }
.row.final .strokes { font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; min-width: 34px; text-align: right; }
.acttiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.acttiles button { display: grid; gap: 14px; justify-items: start; padding: 18px; min-height: 96px; border: 0; border-radius: 20px; background: var(--card); box-shadow: var(--shadow); font: inherit; font-size: 16.5px; font-weight: 600; color: var(--text); text-align: left; }
.acttiles .ico { width: 28px; height: 28px; color: var(--action); }

/* Statistik drawn, as on the iPhone (2026-10-31): the line of your cards,
   the month as tiles, the holes as one bar in shares. */
.metarow { display: flex; justify-content: space-between; gap: 12px; margin: 0 4px 8px; }
.card.trend { padding: 18px; display: grid; gap: 12px; }
.card.trend svg { width: 100%; height: auto; display: block; overflow: visible; }
.tchange { font-size: 17px; font-weight: 600; }
.tchange.under { color: var(--under); } .tchange.over { color: var(--over); }
.tline { fill: none; stroke: var(--action); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.tdot { fill: var(--card); stroke: var(--action); stroke-width: 1.5; }
.tdot.last { fill: var(--action); }
.tgrid { stroke: var(--sep); stroke-width: 1; }
.taxis { font-size: 10.5px; font-weight: 600; fill: var(--text3); text-anchor: end; font-variant-numeric: tabular-nums; }
.mtiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mtile { background: var(--card); border-radius: 20px; box-shadow: var(--shadow); padding: 18px; display: grid; align-content: start; gap: 2px; min-width: 0; }
.mtile b { font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; }
.mtile span { font-size: 12.5px; font-weight: 600; color: var(--text3); }
.mtile small { font-size: 12.5px; font-weight: 600; color: var(--text2); min-height: 1.2em; }
.mtile small.under, .mtile .arrow.under { color: var(--under); } .mtile small.over, .mtile .arrow.over { color: var(--over); }
.mtile .arrow { font-style: normal; font-size: 18px; margin-left: 6px; }
.distcard { padding: 18px; display: grid; gap: 10px; }
.distbar { display: flex; gap: 2px; height: 10px; }
.distbar i { border-radius: 100px; min-width: 4px; }
.distlegend { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12.5px; font-weight: 600; color: var(--text2); font-variant-numeric: tabular-nums; }
.distlegend span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.distlegend i { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.distbar i.u2, .distlegend i.u2 { background: var(--under); }
.distbar i.u, .distlegend i.u { background: var(--under); }
.distbar i.p, .distlegend i.p { background: color-mix(in srgb, var(--text3) 45%, transparent); }
.distbar i.b, .distlegend i.b { background: color-mix(in srgb, var(--over) 60%, transparent); }
.distbar i.d, .distlegend i.d { background: var(--over); }
/* "Dein Verlauf": the layout as a choice, in the meta line's place — the
   iPhone's menu (2026-11-01). */
.metarow .tpickwrap { position: relative; display: inline-flex; align-items: center; gap: 5px; min-width: 0; color: var(--action); font-size: 12.5px; font-weight: 600; text-align: right; }
.metarow .tlabel { min-width: 0; }
.metarow .tchev { flex: none; width: 9px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.metarow .tpick { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; appearance: none; -webkit-appearance: none; border: 0; font-size: 16px; cursor: pointer; }
/* The Statistik tab drawn (2026-11-01), as on the iPhone (StatisticsCharts):
   four tiles, the ring of results, rounds per month, courses as bars. */
.tiles4 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 12px; padding: 18px; }
.tiles4 > div { display: grid; align-content: start; gap: 2px; min-width: 0; }
.tiles4 b { font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; }
.tiles4 span { font-size: 12.5px; font-weight: 600; color: var(--text3); }
.tiles4 small { font-size: 12.5px; font-weight: 600; color: var(--text3); overflow-wrap: anywhere; }
.tiles4 small.under { color: var(--under); } .tiles4 small.over { color: var(--over); }
.ringcard { padding: 18px; display: grid; gap: 16px; }
.ringwrap { position: relative; width: 128px; height: 128px; margin: 0 auto; }
.ringwrap svg { width: 128px; height: 128px; display: block; transform: rotate(-90deg); }
.ringmid { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ringmid b { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.1; }
.ringmid span { font-size: 10.5px; font-weight: 600; color: var(--text3); line-height: 1.25; }
.ringlegend { display: grid; gap: 9px; }
.ringlegend div { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; color: var(--text2); }
.ringlegend i { width: 10px; height: 10px; border-radius: 2.5px; flex: none; }
.ringlegend b { margin-left: auto; color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; }
.sw-under { background: var(--under); } .sw-par { background: var(--sand); } .sw-bogey { background: var(--bogey); } .sw-double { background: var(--over); }
.card.monthly { padding: 18px; }
.card.monthly svg { width: 100%; height: auto; display: block; overflow: visible; }
.monthly .mbar { fill: color-mix(in srgb, var(--action) 32%, transparent); } .monthly .mbar.now { fill: var(--action); }
.monthly .mlab { font-size: 10px; font-weight: 700; fill: var(--text3); text-anchor: middle; } .monthly .mlab.now { fill: var(--action); }
.coursecards { display: grid; gap: 10px; }
.coursecard { padding: 14px 16px; }
.coursecard .cchead { display: flex; align-items: baseline; gap: 12px; }
.coursecard .cchead b { min-width: 0; overflow-wrap: anywhere; font-size: 15px; font-weight: 700; }
.coursecard .cchead small { margin-left: auto; flex: none; font-size: 12.5px; font-weight: 600; color: var(--text3); font-variant-numeric: tabular-nums; }
.cctable { width: 100%; margin-top: 10px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.cctable th { font-size: 12px; font-weight: 600; color: var(--text3); text-align: right; padding: 0 0 6px 12px; min-width: 0; border-bottom: 0; white-space: nowrap; }
.cctable td { font-size: 14px; font-weight: 500; text-align: right; padding: 8px 0 8px 12px; min-width: 0; border-bottom: 0; border-top: 1px solid var(--sep); white-space: nowrap; }
.cctable tr:last-child td { padding-bottom: 0; }
.cctable th:first-child, .cctable td:first-child { text-align: left; padding-left: 0; width: 100%; white-space: normal; overflow-wrap: anywhere; }
/* Only best and average go quieter; the name keeps one colour (2026-11-18). */
.cctable tr.thin td.q { color: var(--text2); }
.coursecard .ccnone { margin-top: 6px; font-size: 12.5px; font-weight: 600; color: var(--text3); }
.ringwrap .arc-under { stroke: var(--under); } .ringwrap .arc-par { stroke: var(--sand); } .ringwrap .arc-bogey { stroke: var(--bogey); } .ringwrap .arc-double { stroke: var(--over); }
/* "Konto löschen": a quiet button, in the colour of things that cannot be undone. */
.btn.quiet.danger { color: var(--over); }

/* **The round screen as the iPhone's** (2026-11-18): the hole's map fills the
   top edge to edge, the round buttons float over it, and the panel slides up
   over the map's lower edge with rounded corners and a grab line. */
/* The map lies behind the whole screen, as on the iPhone: fixed, edge to
   edge, and the panel is glass over its lower part (parity pass 2026-11-18,
   second round: the browser's panel was an opaque page below a map strip). */
.playtop { position: fixed; inset: 0; margin: 0; }
.mapslot.play { margin-top: 0; border-radius: 0; height: 100%; }
.mapslot.play .map { height: 100%; min-height: 0; }
main:has(> .playtop) { display: flex; flex-direction: column; min-height: 100dvh; }
body:has(.playtop) { padding-top: 0; padding-bottom: 0; }
/* At least this much map above the panel; a longer panel scrolls over it. */
.playspace { flex: 1 0 42dvh; pointer-events: none; }
.playtop .roundbar { position: absolute; top: calc(env(safe-area-inset-top) + 10px); left: 14px; right: 14px; margin: 0; z-index: 1001; pointer-events: none; }
.playtop .roundbar .roundbtn { pointer-events: auto; background: color-mix(in srgb, var(--card) 82%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 6px rgba(0,0,0,.18); }
.panel { position: relative; z-index: 2; margin: 0 -18px; padding: 6px 20px calc(env(safe-area-inset-bottom) + 20px);
  background: color-mix(in srgb, var(--paper) 74%, transparent); backdrop-filter: blur(30px) saturate(1.6); -webkit-backdrop-filter: blur(30px) saturate(1.6);
  border-radius: 28px 28px 0 0; box-shadow: 0 -1px 0 rgba(255,255,255,.35) inset, 0 -4px 20px rgba(0,0,0,.12); }
.panel .grab { width: 36px; height: 5px; border-radius: 3px; background: color-mix(in srgb, var(--text3) 35%, transparent); margin: 0 auto 8px; }
/* **The hole header, as the iPhone's** (design check 2026-11-18): "Bahn 10"
   with "Par 3 · 86 m" under it on the left, the distance large and rounded
   on the right with what it measures to under it. One line each, never
   wrapped (it wrapped to "Bahn / 10" walking to a tee at 360 px). */
.holenav { display: flex; align-items: center; gap: 6px; padding: 4px 0; }
.holenav > button { flex: none; width: 34px; height: 44px; font-size: 26px; font-weight: 600; color: var(--action); }
.holenav .holehead { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; overflow: hidden; }
.holenav .title { flex: 1 1 auto; min-width: 0; }
.holenav .title h2 { font-size: 22px; font-weight: 800; letter-spacing: -.4px; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.holenav .title .sub { display: block; font-size: 13.5px; font-weight: 600; color: var(--text2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.holenav .dist { flex: none; display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.holenav .dist b { display: inline-flex; align-items: baseline; font-family: var(--round); font-size: 28px; font-weight: 700; letter-spacing: -.5px; line-height: 1; color: var(--text); white-space: nowrap; }
.holenav .dist b small { font-size: 16px; font-weight: 700; letter-spacing: 0; margin-left: 2px; }
.holenav .dist b small.ca { margin: 0 3px 0 0; color: var(--text2); }
.holenav .dist .cap { font-size: 12.5px; font-weight: 600; color: var(--text2); margin-top: 2px; white-space: nowrap; }
.holenav .dist .here { width: 8px; height: 8px; border-radius: 50%; background: #0A84FF; display: inline-block; align-self: center; margin-right: 6px; }
.holenav .dist .walk { display: inline-flex; align-self: center; margin-right: 4px; }
.holenav .dist .walk .ico { width: 16px; height: 16px; color: #0A84FF; }
.holenav .dist .unsurveyed { font-size: 12.5px; font-weight: 600; color: var(--ocher); white-space: nowrap; }
/* A new hole slides in from the side it lies on; Reduce Motion: a fade. */
@keyframes kj-in-next { from { transform: translateX(40%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes kj-in-prev { from { transform: translateX(-40%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes kj-fade { from { opacity: 0; } to { opacity: 1; } }
.holehead.in-next > * { animation: kj-in-next .28s cubic-bezier(.2,.8,.2,1); }
.holehead.in-prev > * { animation: kj-in-prev .28s cubic-bezier(.2,.8,.2,1); }
/* A stacking context of its own, so the map's panes stay under the panel. */
.playtop { z-index: 0; isolation: isolate; }
/* The iPhone's course markers over the satellite picture. */
.cmark { position: relative; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(0,0,0,.55); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.9), 0 1px 3px rgba(0,0,0,.35); }
.cmark svg { width: 21px; height: 21px; }
.cmark b { position: absolute; left: 41px; top: 50%; transform: translateY(-50%); white-space: nowrap; color: #fff; font-size: 14px; font-weight: 700; text-shadow: 0 1px 2px rgba(0,0,0,.6); }
/* The iPhone's map buttons on the right: to me, the whole hole. */
.playtop .mapbtns { position: absolute; right: 14px; top: calc(env(safe-area-inset-top) + 66px); z-index: 1001; display: flex; flex-direction: column; gap: 10px; }
.playtop .mapbtns .roundbtn { background: color-mix(in srgb, var(--card) 82%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 6px rgba(0,0,0,.18); }
/* The imagery's credit stays above the panel's edge (licence). */
.mapslot.play .leaflet-bottom { bottom: 28px; }
.mapslot.play .mk-legal-controls, .mapslot.play .mk-logo-control { margin-bottom: 28px !important; }
.nexttee .walkfig { display: inline-flex; } .nexttee .walkfig[hidden] { display: none; }
.nexttee .walkfig .ico { width: 16px; height: 16px; }
.nexttee .arrow:not(.on) { display: none; }
/* The iPhone's rows run edge to edge in the panel. */
/* The iPhone's rows: no fill of their own on the glass, edge to edge, its
   type and stepper sizes (`ScoringRow`: 62 points, 48 from five players;
   name 15.5 semibold, number 24 bold, stepper 42). */
.panel > .card { margin: 8px -20px 0; border-radius: 0; box-shadow: none; background: transparent; }
.panel .row.score { min-height: 62px; padding: 0 20px; gap: 10px; }
.panel .card.compact .row.score { min-height: 48px; }
.panel .row.score .name .nm { font-size: 15.5px; font-weight: 600; }
.panel .row.score .name small { font-size: 12.5px; font-weight: 600; }
.panel .row.score + .row.score { border-top: .5px solid var(--sep); }
.panel .step { width: 42px; height: 42px; font-size: 22px; }
/* The number between − and +: rounded, 28, and it rolls to a new value
   (design check 2026-11-18). Empty, a short light dash (HANDOFF 5.3). */
.panel .num { font-family: var(--round); font-size: 28px; font-weight: 700; letter-spacing: -.5px; min-width: 34px; }
@keyframes kj-roll-up { from { transform: translateY(45%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes kj-roll-down { from { transform: translateY(-45%); opacity: 0; } to { transform: none; opacity: 1; } }
.panel .num.roll-up { animation: kj-roll-up .22s cubic-bezier(.2,.8,.2,1); }
.panel .num.roll-down { animation: kj-roll-down .22s cubic-bezier(.2,.8,.2,1); }
@media (prefers-reduced-motion: reduce) {
  .panel .num.roll-up, .panel .num.roll-down { animation: none; }
  .holehead.in-next > *, .holehead.in-prev > * { animation: kj-fade .15s ease-in-out; }
}
/* The room of − and + on a row this page only reads: the number stays in
   the stepper's column, as on the iPhone. */
.panel .stepgap { flex: none; width: 42px; height: 1px; }
/* ---------- parity 2: the live round (2026-11-18) ---------- */
/* The iPhone's eye beside the round buttons: only while somebody watches. */
.roundbtn.watchchip { width: auto; padding: 0 11px; gap: 5px; display: inline-flex; align-items: center; border-radius: 100px; color: var(--text); }
.roundbtn.watchchip .ico { width: 15px; height: 15px; }
.roundbtn.watchchip b { font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; }
.watchers .watchhead { display: flex; align-items: baseline; gap: 8px; }
.watchers .watchhead b { font-size: 44px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.watchers .watchhead span { font-size: 17px; font-weight: 700; color: var(--text2); }
.watchers .row { height: auto; min-height: 52px; padding-top: 10px; padding-bottom: 10px; }
.watchers .row .name small { white-space: normal; line-height: 1.3; margin-top: 2px; }
.watchers .row + .row { border-top: .5px solid var(--sep); }
.watchers .btn .ico { width: 18px; height: 18px; margin-right: 8px; vertical-align: -3px; }
/* The panel's header is a drag surface; the list caps at 4 rows (8 compact)
   and scrolls inside; collapsed, one row with page dots (`ScoringPanel`). */
.panel .panelhead { touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab; }
.panel { transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.panel > .card.rows { max-height: calc(var(--rows, 4) * 62px); overflow-y: auto; overscroll-behavior: contain; }
.panel > .card.rows.compact { max-height: calc(var(--rows, 8) * 48px); }
.panel > .card.rows.paged { max-height: none; overflow: visible; touch-action: pan-y; }
.pagedots { display: flex; justify-content: center; gap: 6px; padding: 6px 0 2px; }
.pagedots i { width: 5px; height: 5px; border-radius: 50%; background: color-mix(in srgb, var(--text3) 35%, transparent); }
.pagedots i.on { background: var(--action); }
.panel .row.score .initial { flex: none; width: 20px; margin-right: -4px; font-size: 14px; font-weight: 800; text-align: center; }
.teambadge { flex: none; font-size: 10px; font-weight: 800; padding: 1px 5px; border-radius: 100px; border: 1px solid var(--brick); color: var(--brick); }
/* "Runde beenden" over the map, above the panel; the ochre pointer to
   skipped holes in the same slot (`FinishBar`, `SkippedHolesHint`). */
.playtop .mapbtns .roundbtn[disabled], .playtop .mapbtns .roundbtn.off { opacity: .4; }
.overmap { height: 0; position: relative; z-index: 3; }
.overmap .inner { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; flex-direction: column; align-items: center; gap: 10px; pointer-events: none; }
.overmap .inner > * { pointer-events: auto; }
.mapnote { padding: 10px 12px; border-radius: 100px; font-size: 13px; font-weight: 600; color: var(--ocher);
  background: color-mix(in srgb, var(--card) 70%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.holenav .dist .teearrow { display: none; align-self: center; margin-right: 4px; color: #0A84FF; transition: transform .2s ease-out; }
.holenav .dist .teearrow.on { display: inline-flex; }
.holenav .dist .walk[hidden] { display: none; }
.finishbar { width: 100%; height: 54px; border-radius: 100px; background: var(--action); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(0,0,0,.25); }
.finishbar b { font-size: 17px; font-weight: 700; } .finishbar small { font-size: 12.5px; opacity: .85; }
.skipped { height: 44px; padding: 0 14px; border-radius: 100px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ocher);
  background: color-mix(in srgb, var(--card) 82%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 3px 8px rgba(0,0,0,.18); max-width: 100%; }
.skipped span { font-weight: 800; }
/* "Ich stehe am Abwurf" over the throw buttons, the noticed landing in the
   throw button's place, its ring on the map. */
.throws .btn.tee { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 10px; }
.throws .btn.tee .ico { width: 18px; height: 18px; }
.btn.landing { background: var(--action); color: #fff; }
.btn.landing .lbl { display: flex; flex-direction: column; align-items: center; line-height: 1.15; }
.btn.landing .lbl small { font-size: 12px; font-weight: 600; opacity: .85; }
.landring { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 2.5px dashed #0A84FF;
  font-size: 13px; font-weight: 800; color: #1c1c1e; box-sizing: border-box; }
/* The row's context menu, floating under the lifted row (`contextMenu`). */
.sheetscrim.clear { background: rgba(0,0,0,.18); }
.ctxmenu { position: fixed; left: 50%; transform: translateX(-50%); width: min(280px, calc(100vw - 32px)); z-index: 1300;
  background: color-mix(in srgb, var(--card) 92%, transparent); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-radius: 14px; box-shadow: 0 10px 40px rgba(0,0,0,.25); overflow: hidden; }
.ctxmenu button { display: block; width: 100%; text-align: left; min-height: 44px; padding: 11px 16px; font-size: 16px; color: var(--text); }
.ctxmenu button + button { border-top: .5px solid var(--sep); }
.panel .row.score.lifted { position: relative; z-index: 1250; background: var(--card); border-radius: 12px; }
/* The iPhone's alert: centred, title and one sentence, buttons side by side. */
.alertscrim { position: fixed; inset: 0; z-index: 1400; background: rgba(0,0,0,.32); }
.kjalert { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1401; width: min(290px, calc(100vw - 48px));
  background: color-mix(in srgb, var(--card) 94%, transparent); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-radius: 16px; overflow: hidden; text-align: center; }
.kjalert .atext { padding: 18px 16px 16px; }
.kjalert .atext b { display: block; font-size: 17px; font-weight: 700; }
.kjalert .atext p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.35; color: var(--text); }
.kjalert .abtns { display: flex; border-top: .5px solid var(--sep); }
.kjalert .abtns button { flex: 1; min-height: 44px; font-size: 17px; color: var(--action); }
.kjalert .abtns button + button { border-left: .5px solid var(--sep); }
.kjalert .abtns button.bold { font-weight: 700; }
.kjalert .abtns.stacked { flex-direction: column; }
.kjalert .abtns.stacked button + button { border-left: 0; border-top: .5px solid var(--sep); }
.panel .num.empty { font-family: inherit; font-size: 20px; font-weight: 500; color: color-mix(in srgb, var(--text3) 55%, transparent); }
.panel .chip.ob { font-size: 11px; }
/* The iPhone's throw controls: two-line waiting label, a status line with
   the one way out on its right, and the finished hole as a statement. */
#throwbtn .lbl { display: inline-flex; flex-direction: column; align-items: center; line-height: 1.15; }
#throwbtn .lbl small { font-size: 11px; font-weight: 700; opacity: .85; }
.section.throws { margin-top: 12px; }
.throwstatus { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 36px; padding: 6px 4px 0; }
.throwstatus .meta { color: var(--text3); }
.throwstatus .meta.first { color: var(--text2); }
.throwstatus .act { flex: none; font-size: 12.5px; font-weight: 700; color: var(--action); min-height: 36px; }
.throwstatus .act.quiet { color: var(--text2); }
.throwstatus .act[hidden] { display: none; }
.holedbar { height: 54px; border-radius: 100px; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; color: var(--action);
  background: var(--action-surface); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--action) 35%, transparent); }
button.line.center.quietline { color: var(--text2); }
.panel .section + .section { margin-top: 0; }
/* The iPhone's round menu: rows with an icon in green, and a real switch. */
.card.menu { padding: 0; }
.menurow { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 52px; padding: 0 16px; font-size: 16px; font-weight: 700; color: var(--action); text-align: left; }
.menurow + .menurow { border-top: 1px solid var(--sep); }
.menurow .ico { width: 20px; height: 20px; }
.switchrow { width: 100%; text-align: left; display: flex; align-items: center; gap: 12px; }
.switch { flex: none; width: 51px; height: 31px; border-radius: 16px; background: var(--sep); position: relative; transition: background .2s; }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: left .2s; }
.switch.on { background: var(--action); } .switch.on::after { left: 22px; }
/* The iPhone's sheet header: small title in the middle, "Fertig" right. */
.sheethead { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.sheethead h1 { font-size: 17px; font-weight: 700; text-align: center; }
.sheethead .pill { justify-self: end; }
/* "Diese Bahn aufzeichnen" with the iPhone's scope glyph. */
button.line.center .ico { width: 16px; height: 16px; }
/* Leaflet's tiles meet without a hairline between them (the white seams of
   2026-11-18, under scaled screens). */
.leaflet-tile-container img.leaflet-tile { width: 256.6px !important; height: 256.6px !important; }
/* **The iPhone's sheets over the round** (parity pass 2026-11-18): the hole
   and its map stay underneath, dimmed a little; the sheet rises from the
   bottom with rounded corners and a grab line, half high for "Stand" and the
   round menu (`.medium`), nearly full for the scorecard. Its own content
   scrolls; a tap above it closes it, as a swipe down does on the iPhone. */
.sheetscrim { position: fixed; inset: 0; z-index: 20; background: rgba(0,0,0,.18); }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 21; max-width: 520px; margin: 0 auto;
  display: flex; flex-direction: column; background: var(--paper); border-radius: 28px 28px 0 0;
  box-shadow: 0 -4px 24px rgba(0,0,0,.18); padding-bottom: env(safe-area-inset-bottom); }
.sheet.medium { height: 52dvh; }
.sheet.large { height: calc(100dvh - 54px); }
.sheet > .grab { flex: none; width: 36px; height: 5px; border-radius: 3px; background: color-mix(in srgb, var(--text3) 35%, transparent); margin: 6px auto 0; }
.sheet .sheethead { position: static; margin: 0; padding: 6px 16px 8px; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.sheet .sheetbody { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 20px 24px; }
.sheet .sheetbody > .section:first-child { margin-top: 6px; }
/* The iPhone's "Fertig": a glass capsule, the word in the action colour. */
.sheethead .pill { background: color-mix(in srgb, var(--card) 80%, transparent); color: var(--action); border: .5px solid var(--sep);
  box-shadow: 0 1px 4px rgba(0,0,0,.08); font-size: 17px; font-weight: 600; height: 44px; padding: 0 16px; border-radius: 100px; }
/* No footer over the round: the legal pages are in the round menu. */
body:has(.playtop) footer.foot { display: none; }
/* The iPhone's scorecard (`ScorecardSheet`): names 80 wide, holes 42, "Ges"
   44, a 28 head and a 22 par row over rows of 52, each block with its own
   separators. Golf notation in the cells (design check 2026-11-18). */
.scard { display: flex; margin: 4px -20px 0; font-variant-numeric: tabular-nums; }
/* On a finished round's page the card sits in `main`, whose padding is 18px:
   -20px there scrolled the page sideways by 2px at 360px. */
main > .scard { margin-left: -18px; margin-right: -18px; }
.scard .sc-h { height: 28px; display: flex; align-items: center; font-size: 12.5px; font-weight: 600; color: var(--text3); }
.scard .sc-p { height: 22px; display: flex; align-items: center; font-size: 12.5px; font-weight: 600; color: var(--text3); }
.scard .sc-r { height: 52px; display: flex; align-items: center; border-top: .5px solid var(--sep); }
.sc-names { flex: none; width: 100px; padding-left: 20px; background: var(--paper); }
.sc-names .sc-r { gap: 8px; min-width: 0; }
.sc-names i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.sc-names span { font-size: 15.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-holes { flex: 1; min-width: 42px; overflow-x: auto; scrollbar-width: none; }
.sc-holes::-webkit-scrollbar { display: none; }
/* A short card fills the row, so the lines run through to "Ges"; a long one
   keeps 42 px a column and scrolls (2026-11-18, a four-hole card). */
.sc-grid { width: max-content; min-width: 100%; }
.sc-holes .sc-h span, .sc-holes .sc-p span, .sc-holes .sc-r button { flex: 1 0 42px; width: 42px; text-align: center; }
.sc-holes .sc-h span { height: 28px; line-height: 28px; }
.sc-holes .sc-p span { height: 22px; line-height: 22px; }
/* The hole being played: one tinted column, head to foot. */
.sc-holes .now { background: var(--action-surface); }
.sc-holes .sc-h span.now { color: var(--action); font-weight: 800; border-radius: 10px 10px 0 0; }
.sc-holes .sc-r button { height: 52px; display: grid; place-items: center; padding: 0; color: var(--text); }
.sc-holes .sc-r button.open { font-size: 18px; font-weight: 500; color: color-mix(in srgb, var(--text3) 55%, transparent); }
.sc-holes .sc-r button.open.so { color: var(--text3); }
.sm { width: 30px; height: 30px; display: grid; place-items: center; font-family: var(--round); font-size: 19px; font-weight: 700; line-height: 1; border-radius: 6px; }
.sm.b { border: 1.5px solid var(--under); border-radius: 50%; color: var(--under); }
.sm.bo { border: 1.5px solid var(--over); color: var(--over); }
.sm.db { border: 1.5px solid var(--over); color: var(--over); box-shadow: 0 0 0 2.5px var(--paper), 0 0 0 4px var(--over); }
.sc-holes .now .sm.db { box-shadow: 0 0 0 2.5px color-mix(in srgb, var(--action) 12%, var(--paper)), 0 0 0 4px var(--over); }
.sc-tot { flex: none; width: 64px; padding-right: 20px; background: var(--paper); }
.sc-tot .sc-h, .sc-tot .sc-p, .sc-tot .sc-r { justify-content: flex-end; }
.sc-tot .sc-r { flex-direction: column; align-items: flex-end; justify-content: center; }
.sc-tot .sc-r b { font-family: var(--round); font-size: 22px; font-weight: 700; line-height: 1.05; }
.sc-tot .sc-r b.none { font-family: inherit; font-size: 18px; font-weight: 500; color: color-mix(in srgb, var(--text3) 55%, transparent); }
.sc-tot .sc-r small { font-size: 11px; font-weight: 700; }
.sc-tot .sc-r small.under { color: var(--under); } .sc-tot .sc-r small.over { color: var(--over); } .sc-tot .sc-r small.par { color: var(--text2); }
.sc-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 12px 0 0; font-size: 12.5px; font-weight: 600; color: var(--text3); }
.sc-legend span { display: inline-flex; align-items: center; gap: 5px; }
.sc-legend .sm { width: 12px; height: 12px; border-radius: 3px; }
.sc-legend .sm.b { border-radius: 50%; }
.sc-legend .sm.db { box-shadow: 0 0 0 1.5px var(--paper), 0 0 0 3px var(--over); }
/* The iPhone's round menu (`RoundMenuSheet`): grouped cards, rows of 50,
   green actions with their glyph, choices with a check, quiet notes. */
.menunote { padding: 4px 4px 0; }
.card.menu .menurow { min-height: 50px; font-size: 16.5px; font-weight: 600; }
.card.choices .choicerow, .card .linkrow { width: 100%; text-align: left; min-height: 56px; padding: 8px 16px; }
.choicerow .name, .linkrow .name { font-size: 15.5px; font-weight: 600; white-space: normal; }
.choicerow .name small { font-weight: 500; color: var(--text2); }
.choicerow .check { color: var(--action); font-size: 17px; font-weight: 700; }
.linkrow .ico { width: 21px; height: 21px; color: var(--action); flex: none; }
.linkrow .chev { color: var(--text3); font-size: 22px; }
.backline { font-size: 16px; font-weight: 600; }
.line.legal { justify-content: center; margin-top: 18px; font-size: 11.5px; font-weight: 500; }
.line.legal a { color: var(--text2); }
/* Throws on the round map, as the iPhone's `HoleMapView`: mine 10 px with a
   2 px white ring, a mate's 7 px with 1.5. */
.tpt { display: block; width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 0 2px #fff; }
.tpt.mate { width: 7px; height: 7px; box-shadow: 0 0 0 1.5px #fff; }
/* Mates (`MateMarker`): a 28 px circle in their colour with a white ring —
   emoji or letters — a pill for the name, a small dot for "Punkt". */
.matewrap { position: relative; display: block; }
.mate { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.9), 0 1px 3px rgba(0,0,0,.35); color: #fff; }
.mate i { font-style: normal; font-size: 17px; line-height: 1; }
.mate b { font-size: 13px; font-weight: 900; line-height: 1; }
.mate.pill { width: auto; height: 24px; padding: 0 9px; border-radius: 100px; font-size: 13px; font-weight: 900; white-space: nowrap; }
.mate.dot { width: 15px; height: 15px; box-shadow: inset 0 0 0 2px rgba(255,255,255,.9), 0 1px 3px rgba(0,0,0,.35); }
.mateage { position: absolute; left: calc(100% + 5px); top: 50%; transform: translateY(-50%); white-space: nowrap; font-style: normal; font-size: 11px; font-weight: 600; color: rgba(255,255,255,.85); text-shadow: 0 1px 2px rgba(0,0,0,.7); }
/* A sheet as tall as its content (the iPhone's OB sheet). */
.sheet.fit { height: auto; max-height: calc(100dvh - 54px); }
.sheet .sheethead .pill:first-child { justify-self: start; color: var(--text); }
.obsheet { display: grid; gap: 18px; padding-top: 8px; }
.obcard { padding: 16px; display: grid; gap: 8px; }
.obcard b { font-size: 19px; font-weight: 800; }
.obcard p { margin: 0; font-size: 17px; font-weight: 600; color: var(--text2); }
.obnote { font-size: 13.5px; font-weight: 500; color: var(--over); padding: 0 4px; }
.btn.soft { background: var(--action-surface); color: var(--action); }
.btn.soft.danger { background: var(--over-surface); color: var(--over); }
/* iOS 26's sheets at a partial height float: a gap on three sides and the
   corners rounded all round; the full-height one meets the edges. */
.sheet.medium, .sheet.fit { left: 8px; right: 8px; bottom: 8px; border-radius: 36px; padding-bottom: 0; }
.sheet.medium { height: calc(52dvh - 8px); }
.card .switchrow .name { font-size: 15.5px; font-weight: 600; white-space: normal; }
.card .switchrow .name small { font-weight: 500; color: var(--text2); }
/* The iPhone's popover for a differing count: glass, rounded, a tail down
   to the words that were tapped; plain words on the row, no underline. */
.row.score .disc { text-decoration: none; }
.bubble.pop { position: absolute; left: 12px; width: min(330px, calc(100% - 64px)); margin: 0; z-index: 6; padding: 14px 20px; border-radius: 26px;
  background: color-mix(in srgb, var(--card) 88%, transparent); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 0 0 .5px var(--sep), 0 8px 28px rgba(0,0,0,.18); font-size: 17px; font-weight: 500; line-height: 1.3; color: var(--text); }
.bubble.pop .tail { position: absolute; bottom: -8px; width: 18px; height: 18px; transform: rotate(45deg); border-radius: 0 0 4px 0;
  background: inherit; box-shadow: .5px .5px 0 var(--sep); backdrop-filter: none; }
.section > .line.meta.centered, .section > .line.legal { text-align: center; }
/* The iPhone's invitation sheet (`JoinSheet`). */
.navtitle { position: sticky; top: 0; z-index: 5; margin: 0 -18px; padding: calc(env(safe-area-inset-top) + 14px) 18px 12px; text-align: center;
  font-size: 17px; font-weight: 600; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.joinhead { margin-top: 12px; display: grid; gap: 4px; }
.joinhead h2 { font-size: 19px; font-weight: 800; }
.card.joinlist .row { min-height: 48px; gap: 12px; }
.card.joinlist .row .name { flex: 0 1 auto; font-size: 17.5px; font-weight: 700; }
.card.joinlist .mark { width: 24px; height: 24px; font-size: 14px; }
.card.joinlist .row + .row { border-top: 0; box-shadow: inset 16px .5px 0 var(--card), inset 0 .5px 0 var(--sep); }
.card.joinlist .chip { flex: none; }
/* "Wer bist du?" (2026-11-20): a row to choose is a button, its line under
   the name, its chip at the far end — the iPhone's `JoinSheet.card`. */
.card.joinlist button.row { min-height: 56px; }
.card.joinlist button.row .name { flex: 1 1 auto; }
.card.joinlist .row .name small { display: block; margin-top: 1px; font-size: 13px; font-weight: 500; color: var(--text2); }
.joinplus { flex: none; width: 24px; text-align: center; font-size: 22px; font-weight: 600; line-height: 1; color: var(--action); }
.joininviter { margin: 0; }
.joinnote { display: block; font-size: 13.5px; font-weight: 500; color: var(--text2); }
.section > .joinnote { margin: 10px 4px 0; }
.section > .meta.joinnote { margin: 0 4px 12px; }
/* Colours taken by somebody else: pale, a small dot under them (iPhone). */
.swatch.taken[disabled] { opacity: 1; position: relative; }
.swatch.taken i { opacity: .25; }
.swatch.taken::after { content: ""; position: absolute; bottom: -2px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--text3); }
.grid.emoji { grid-template-columns: repeat(6, 1fr); }
.joinguest { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 16.5px; font-weight: 700; color: var(--action); }
.joinguest .ico { width: 20px; height: 20px; }
/* "Mitspielen" and "Nur zuschauen" stay at the bottom, over a frosted strip. */
.doors { position: sticky; bottom: 0; z-index: 5; margin: 22px -18px 0; padding: 10px 18px calc(env(safe-area-inset-bottom) + 6px); display: grid; gap: 6px;
  background: color-mix(in srgb, var(--paper) 82%, transparent); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.doors .btn.quiet { height: 44px; font-size: 16.5px; }
body:has(.doors) { padding-bottom: 0; }
body:has(.doors) footer.foot { display: none; }
.resulthead .pill { display: inline-flex; align-items: center; text-decoration: none; }
.row.final .mark { width: 28px; height: 28px; font-size: 16px; }
/* The hole menu (`HoleMenuSheet`). */
.holemenu .section:first-child { margin-top: 4px; }
.holemenu .row .name { font-size: 17px; font-weight: 600; }
.holemenu .parval { font-size: 17px; font-weight: 700; }
.holemenu .card.hint { margin-top: 10px; padding: 14px 16px; font-size: 17px; font-weight: 500; }
.holemenu .card.stand { padding: 16px; display: grid; gap: 12px; }
.holemenu .standtop b { font-size: 17px; font-weight: 600; }
.holemenu .standbtns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.holemenu .standbtns .btn { height: 44px; font-size: 14px; padding: 0 8px; }
.holemenu .meta.said { color: var(--action); }
#holetitle { cursor: default; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; touch-action: manipulation; }
/* Second review round (2026-11-18). */
.momentline { width: 100%; text-align: left; min-height: 36px; padding-top: 6px; }
.momentline .chev { margin-left: auto; color: var(--text3); font-size: 18px; }
/* The iPhone's primary buttons are 48 points (`primaryHitTarget`). */
.btn { height: 48px; }
/* A full-height sheet covers the round buttons, as on the iPhone. */
.sheet.large { height: calc(100dvh - 10px - env(safe-area-inset-top)); }
/* Standings: separators start after the avatar, as in an inset list. */
.sheet .card .row + .row { border-top: 0; box-shadow: inset 0 .5px 0 var(--sep); }
.sheet .sheetbody .card:not(.choices):not(.menu) .row + .row { box-shadow: inset 70px .5px 0 var(--card), inset 0 .5px 0 var(--sep); }
/* The hole menu's two buttons each on one line. */
.holemenu .standbtns .btn { font-size: 14px; font-weight: 600; padding: 0 4px; white-space: nowrap; }
/* Result rows as on the iPhone: 56 high, the strokes 24. */
.row.final { min-height: 56px; }
.row.final .strokes { font-size: 24px; }
.row.final .rel.pill { height: 22px; font-size: 13px; padding: 0 8px; }
/* The panel's glass is the iPhone's neutral one: a little more opaque, no
   tint of the paper colour in dark. */
.panel { background: color-mix(in srgb, var(--paper) 84%, transparent); }
@media (prefers-color-scheme: dark) { .panel { background: rgba(28,28,30,.86); } }
/* **Behind the result** (parity 2026-11-18): each player's round and "Alle
   Zahlen", pushed inside the result as the iPhone's NavigationLinks are. */
button.row.final { width: 100%; text-align: left; border: 0; background: transparent; font: inherit; color: inherit; border-top: 1px solid var(--sep); }
button.row.final:first-child { border-top: 0; }
button.row.final.mine { background: var(--action-surface); }
.row.final .chev { margin-left: -4px; font-size: 20px; }
/* **Stand while the round runs** (design check 2026-11-18): the score to par
   large, rounded and coloured on the right, the strokes small under it; the
   line under the name one line, cut rather than wrapped. */
.standcap { display: block; margin: 0 4px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row.standrow { min-height: 62px; gap: 10px; padding-top: 6px; padding-bottom: 6px; }
.row.standrow .place { width: 16px; flex: none; }
.row.standrow .mark { width: 26px; height: 26px; }
.row.standrow .name { min-width: 0; flex: 1; font-size: 17.5px; font-weight: 700; }
.row.standrow .name small { font-size: 12.5px; font-weight: 600; color: var(--text2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.standtot { flex: none; display: flex; flex-direction: column; align-items: flex-end; }
.standtot b { font-family: var(--round); font-size: 24px; font-weight: 700; line-height: 1.05; color: var(--text2); }
.standtot b.under { color: var(--under); } .standtot b.over { color: var(--over); }
.standtot b.none { font-weight: 500; color: color-mix(in srgb, var(--text3) 55%, transparent); }
.standtot small { font-size: 12.5px; font-weight: 600; color: var(--text3); white-space: nowrap; }
/* The chip in a slot of its own width, right-aligned — the iPhone's
   `.frame(width: 46, alignment: .trailing)`. Without it "Par", "+4" and
   "+16" each pushed the strokes to another place (right edges 253–262 px). */
.row.final .pillslot { flex: none; width: 46px; display: flex; justify-content: flex-end; }
.allnumbers .name { flex: 0 0 auto; color: var(--action); font-size: 17px; font-weight: 700; }
.allnumbers .ico { width: 22px; height: 22px; }
.allnumbers .sp, .hline .sp, .fline .sp { flex: 1; }
.infohint { display: inline-flex; color: var(--action); vertical-align: -3px; margin-left: 6px; }
.infohint .ico { width: 17px !important; height: 17px !important; }
.sheethead.pushed .back { justify-self: start; width: 44px; height: 44px; padding: 0; display: grid; place-items: center; }
.sheethead.pushed .back .ico { width: 20px; height: 20px; }
.card.pad { padding: 16px; }
.metrics { display: flex; }
.metrics > div { flex: 1 1 0; min-width: 0; display: grid; gap: 1px; align-content: start; }
.metrics b { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--text); white-space: nowrap; }
.metrics b.under { color: var(--under); } .metrics b.over { color: var(--over); }
.metrics span { font-size: 13px; color: var(--text3); }
.distcard { display: grid; gap: 8px; }
.distcard .bar { display: flex; gap: 2px; height: 10px; }
.distcard .bar i { border-radius: 5px; min-width: 4px; }
.distcard .keys { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 13px; color: var(--text2); font-variant-numeric: tabular-nums; }
.distcard .keys span { display: inline-flex; align-items: center; gap: 4px; }
.distcard .keys i { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.distcard i.e { background: color-mix(in srgb, var(--under) 70%, #000); } .distcard i.u { background: var(--under); }
.distcard i.p { background: color-mix(in srgb, var(--text3) 70%, transparent); }
.distcard i.b { background: color-mix(in srgb, var(--over) 55%, transparent); } .distcard i.d { background: var(--over); }
.resultpage .section + .section { margin-top: 22px; }
.resultpage .card + .card { margin-top: 12px; }
.rule { height: 1px; background: var(--sep); }
.fline { display: flex; align-items: center; gap: 6px; min-height: 44px; font-size: 16px; }
.fline > b { margin-left: auto; font-size: 13.5px; font-weight: 500; color: var(--text2); text-align: right; font-variant-numeric: tabular-nums; }
.fline small { font-size: 13px; color: var(--text3); margin-left: 6px; }
.fline em { font-style: normal; font-size: 13.5px; color: var(--text2); font-variant-numeric: tabular-nums; margin-right: 8px; }
.hline { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 16px; }
.card.pad .hline { padding: 0; min-height: 50px; }
.hline .t { width: 76px; flex: none; font-size: 13px; color: var(--text3); }
.hline.wide .t { width: 120px; }
.hline b { font-size: 16px; font-weight: 600; }
.hline .n { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.hline .r { width: 40px; text-align: right; font-size: 13px; font-weight: 700; }
.hline .a { font-size: 13.5px; font-variant-numeric: tabular-nums; }
.hline .under, .htable .under { color: var(--under); } .hline .over, .htable .over { color: var(--over); }
.card .hline + .hline { border-top: 1px solid var(--sep); }
.putt { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text2); padding: 4px 0; }
.putt b { margin-left: auto; font-weight: 500; color: var(--text); font-variant-numeric: tabular-nums; }
.putt em { width: 46px; text-align: right; font-style: normal; color: var(--text3); font-variant-numeric: tabular-nums; }
.htable { padding: 0 16px; }
.htable .hr { display: grid; grid-template-columns: 46px 42px 54px 48px 48px; align-items: center; height: 38px; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; border-top: 1px solid var(--sep); }
.htable .hr > *:not(:first-child) { text-align: right; }
.htable .hr b { font-weight: 800; }
.htable .hr.head { height: 30px; font-size: 11px; color: var(--text3); border-top: 0; }
.htable .q { color: var(--text3); }
.section.pchips { display: flex; gap: 8px; overflow-x: auto; padding: 2px; scrollbar-width: none; }
.pchip { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border-radius: 17px; border: 1px solid var(--sep); background: var(--card); font: inherit; font-size: 13px; color: var(--text2); }
.pchip.on { background: var(--action-surface); border-color: color-mix(in srgb, var(--action) 50%, transparent); color: var(--action); }
.pchip .mark { width: 20px; height: 20px; font-size: 13px; }
/* **The keeper's round settings** (parity 2026-11-18): switches, the tee
   order, the side game and who counts whom, as in the iPhone's round menu. */
.card .switchrow, .card .choicerow { border: 0; background: none; font: inherit; color: inherit; }
.switchrow .name small { font-weight: 500; color: var(--text2); }
.card > .rule:first-child { display: block; }
.linkrow .name.actname { color: var(--action); }
.stepper { display: inline-flex; align-items: center; height: 32px; border-radius: 9px; background: var(--fill); }
.stepper button { width: 46px; height: 32px; border: 0; background: none; font: inherit; font-size: 20px; color: var(--text); }
.stepper button + button { box-shadow: inset .5px 0 0 color-mix(in srgb, var(--text3) 45%, transparent); }
.stepper button[disabled] { color: var(--text3); }
.teamedit { padding: 12px 16px; }
.teamedit .row { padding: 0; min-height: 48px; }
.teamedit select, .ring select { font: inherit; }
.sheet select { border: 0; background: none; color: var(--action); font: inherit; font-size: 16px; text-align: right; }
.linkish { border: 0; background: none; font: inherit; font-size: 13.5px; color: var(--action); padding: 10px 4px; }
/* `SideGameGallery`: a page per game, swiped sideways, the choice below. */
.sheet.games { display: flex; flex-direction: column; }
.gpages { flex: 1; min-height: 0; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior: contain; }
.gpages::-webkit-scrollbar { display: none; }
.gpage { flex: 0 0 100%; scroll-snap-align: start; overflow-y: auto; padding: 16px 20px 24px; }
.gpage h2 { margin: 10px 0 2px; font-size: 26px; font-weight: 800; letter-spacing: -.5px; }
.ghead { display: flex; align-items: center; gap: 12px; }
.gsym { width: 48px; height: 48px; border-radius: 50%; background: var(--brick); color: #fff; display: grid; place-items: center; }
.gsym .ico { width: 22px; height: 22px; }
.gactions { flex: none; display: grid; gap: 4px; padding: 10px 20px 14px; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.gdots { display: flex; justify-content: center; gap: 7px; padding-bottom: 8px; }
.gdots i { width: 7px; height: 7px; border-radius: 50%; background: var(--sep); }
.gdots i.on { background: var(--brick); }
/* The iPhone's ToggleRow and ChoiceRow: body title, subline under it. */
.sheet .switchrow .name, .sheet .choicerow .name, .sheet .linkrow .name { font-size: 17px; font-weight: 500; }
.sheet .switchrow .name small, .sheet .choicerow .name small, .sheet .linkrow .name small { font-size: 15px; font-weight: 400; color: var(--text2); margin-top: 2px; }
.metrics b.par { color: var(--text2); }
.htable .hr { border-top-color: var(--sep); }
/* **The first start** (2026-11-18): account first, the iPhone's
   `FirstLaunchView` in the browser. */
.firststart { display: grid; gap: 16px; padding: 40px 0 28px; }
.firststart h1.big { margin: 0; font-size: 34px; font-weight: 800; letter-spacing: -.8px; }
.firststart .caps { margin: 0 0 -8px; }
.firststart .sub { margin: 0; }
.firststart .section { margin: 0; }
.firststart input#name { height: 60px; font-size: 17px; }
.ssostack { display: grid; gap: 12px; }
.ssostack .sso { width: 100%; }
.firststart .linkish, .accountfirst .linkish { justify-self: start; padding: 6px 2px; font-size: 15px; font-weight: 600; }
.accountfirst { display: grid; gap: 10px; }
.accountfirst .name { font-size: 17px; font-weight: 700; }
.accountfirst .sub, .accountfirst .meta { margin: 0; }
.meta.centered, .legal.centered { text-align: center; justify-content: center; }
/* The iPhone's `ColorChoiceRow`: four round swatches a row, the chosen one ringed. */
.firststart .grid.colors { grid-template-columns: repeat(4, 1fr); justify-items: center; gap: 10px; }
.firststart .grid.colors .swatch { width: 34px; height: 34px; border-radius: 50%; outline: 0 solid var(--text); outline-offset: 4px; }
.firststart .grid.colors .swatch.on { outline-width: 2.5px; }
/* **The hole menu, editable** (2026-11-18): par stepper, the hint, the
   survey state — the iPhone's `HoleMenuSheet`. */
.holemenu .row .stepper { margin-left: auto; margin-right: 10px; }
.holemenu .parval { min-width: 22px; text-align: right; }
.hintfield { padding: 0; }
.hintfield textarea { display: block; width: 100%; min-height: 54px; border: 0; background: none; resize: none; padding: 16px; font: inherit; font-size: 15px; color: var(--text); field-sizing: content; }
.standtop { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.survey { font-size: 15px; } .survey.open { color: var(--text3); } .survey.rough { color: var(--ocher); } .survey.done { color: var(--action); }
.placeline { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; padding: 12px 4px; }
/* "Auf der Karte setzen": the map with a cross in the middle of what is
   free above the card, the card below. */
.playtop.placing { position: fixed; inset: 0; }
.crosshair { position: fixed; left: 50%; top: calc((100dvh - 250px) / 2); width: 44px; height: 44px; margin: -22px 0 0 -22px; pointer-events: none; z-index: 900;
  background: linear-gradient(#fff, #fff) center / 2px 100% no-repeat, linear-gradient(#fff, #fff) center / 100% 2px no-repeat; filter: drop-shadow(0 0 1.5px rgba(0,0,0,.8)); }
.placecard { position: fixed; left: 8px; right: 8px; bottom: 8px; z-index: 901; max-width: 520px; margin: 0 auto; display: grid; gap: 12px; padding: 14px 18px 18px; border-radius: 30px;
  background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 6px 24px rgba(0,0,0,.18); }
.placehead { display: flex; align-items: center; justify-content: space-between; }
.placehead b { font-size: 17px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; padding: 2px; border-radius: 9px; background: var(--fill); }
.seg button { height: 32px; border: 0; border-radius: 7px; background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--text); }
.seg button[aria-pressed="true"] { background: var(--card); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.placedpin { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; background: var(--ocher); color: #fff; font-size: 12px; font-weight: 800; box-shadow: 0 1px 4px rgba(0,0,0,.4); }
/* `CountingRingEditor`: the name left, the counter as a menu on the right. */
.ringrow { min-height: 58px; gap: 12px; }
.ringrow .name { flex: 1 1 auto; min-width: 0; font-size: 16.5px; font-weight: 600; }
.ringrow .name small { font-size: 13px; font-weight: 500; color: var(--text3); }
.sheet .ringrow select { flex: none; width: auto; min-width: 0; height: auto; padding: 0; margin: 0; border: 0; border-radius: 0; background: none; box-shadow: none; appearance: none; -webkit-appearance: none; color: var(--action); font-size: 17px; text-align: right; }
.ringrow .updown { flex: none; margin-left: -6px; font-size: 9px; line-height: 7px; color: var(--action); font-weight: 700; }
/* Review 2026-11-18: the gallery's "So geht's" card and "Beispiel", the
   grey "Par", the lighter Par segment, the larger escape link. */
.gpage { display: grid; gap: 12px; align-content: start; }
.gpage h2 { margin: 4px 0 0; }
.gplayers { font-size: 13px; font-weight: 600; color: var(--text2); padding: 4px 10px; border-radius: 12px; background: var(--fill); }
.gtag { margin: -6px 0 0; font-size: 17px; color: var(--text2); }
.gpage .meta { margin: 6px 0 -4px; }
.grules { display: grid; gap: 12px; }
.grule { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 15px; line-height: 1.35; }
.grule i { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--brick); color: var(--brick); font-style: normal; font-size: 11.5px; font-weight: 700; display: grid; place-items: center; margin-top: 1px; }
.htable .par { color: var(--text2); }
.distcard i.p { background: color-mix(in srgb, var(--text3) 45%, transparent); }
.firststart .linkish.big { font-size: 17px; }
.gpage { grid-auto-rows: max-content; }

/* ---------- Parity 1 (2026-11-18): the Runden tab, starting and joining ----------
   The iPhone's RoundsTabView, RoundSetupFlow, RoundInviteSheet, InviteCard,
   InvitationScanner, WaitingRoomView and GuestManagerSheet. New classes only:
   `st-`, `scan`, `qr`, `cm`. */
.st-scanbtn .ico { width: 21px; height: 21px; }
/* RunningRoundCard */
.st-run { padding: 16px; display: grid; gap: 14px; }
.st-runtop { display: flex; align-items: center; gap: 8px; }
.st-live { height: 22px; padding: 0 9px; border-radius: 100px; background: var(--action); color: #fff; font-size: 12.5px; font-weight: 700; display: inline-flex; align-items: center; }
.st-live.waiting { background: var(--text2); }
.st-runhead { display: grid; gap: 3px; }
.st-runhead b { font-size: 20px; font-weight: 800; letter-spacing: -.3px; }
.st-runhead small { font-size: 13.5px; font-weight: 500; color: var(--text2); }
.st-runtable { padding: 2px 12px; border-radius: 12px; background: var(--paper); }
.st-runrow { display: flex; align-items: center; gap: 10px; min-height: 34px; }
.st-runrow + .st-runrow { border-top: .5px solid var(--sep); }
.st-runrow .pl { width: 16px; flex: none; font-size: 12.5px; font-weight: 600; color: var(--text3); }
.st-runrow .mark { width: 20px; height: 20px; font-size: 12px; }
.st-runrow .nm { flex: 1; min-width: 0; font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-runrow b { font-size: 16px; font-weight: 600; }
.st-runrow b.under { color: var(--under); } .st-runrow b.over { color: var(--over); } .st-runrow b.par, .st-runrow b.none { color: var(--text3); }
.st-run .btn { display: flex; align-items: center; justify-content: center; text-decoration: none; }
.st-runleave { justify-self: center; min-height: 32px; font-size: 12.5px; font-weight: 600; color: var(--text2); }
/* RepeatRoundCard */
.st-repeat { width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px 16px; text-align: left; }
.st-repeat .txt { flex: 1; min-width: 0; display: grid; gap: 3px; }
.st-repeat b { font-size: 17px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-repeat small { font-size: 13.5px; font-weight: 500; color: var(--text2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-repeat .ico { color: var(--action); width: 19px; height: 19px; stroke-width: 2.2; }
/* The setup's own bar and step header (`StepHeader`). */
.st-nav { position: sticky; top: 0; z-index: 6; display: flex; align-items: center; min-height: 52px; margin: 0 -18px; padding: calc(env(safe-area-inset-top) + 6px) 12px 4px;
  background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.st-navbtn { height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 100px; color: var(--action); }
.st-navbtn.text { padding: 0 8px; font-size: 17px; font-weight: 500; color: var(--text2); }
.st-navbtn .ico { width: 24px; height: 24px; stroke-width: 2.2; }
.st-head { padding-top: 12px; display: grid; gap: 6px; }
.st-head h1 { margin: 0; font-size: 30px; letter-spacing: -.6px; }
.st-search { margin-top: 4px; }
.st-search input { height: 44px; border-radius: 12px; background: var(--fill); box-shadow: none; font-size: 17px; font-weight: 500; }
.st-segs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.st-segs .seg, .st-invite .seg, .st-cardbody .seg { display: flex; flex: 1 1 auto; margin: 0; padding: 2px; gap: 2px; border-radius: 9px; background: var(--fill); box-shadow: none; }
.st-segs .seg { flex: 0 1 auto; }
.st-segs .seg button, .st-invite .seg button, .st-cardbody .seg button { flex: 1 1 auto; height: 32px; padding: 0 12px; border-radius: 7px; font-size: 13.5px; font-weight: 600; color: var(--text); white-space: nowrap; }
.st-segs .seg button.on, .st-invite .seg button.on, .st-cardbody .seg button.on { background: var(--card); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.st-recent { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; margin-left: 6px; border-radius: 100px; background: var(--action-surface); color: var(--action); font-size: 12px; font-weight: 700; vertical-align: 2px; }
.st-wrap { white-space: normal !important; font-size: 13.5px !important; font-weight: 500 !important; padding: 12px 0; }
.btn.quiet.st-far { color: var(--action); }
.st-mapslot { height: 460px; border-radius: 18px; overflow: hidden; background: var(--fill); }
.st-coursemap { width: 100%; height: 100%; }
.cmpin { display: grid; justify-items: center; gap: 2px; }
.cmpin i { width: 16px; height: 16px; border-radius: 50%; background: var(--action); border: 2.5px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.4); }
.cmpin b { font-size: 11px; font-weight: 700; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.8); white-space: nowrap; }
.cmcall { display: grid; gap: 2px; text-align: left; padding: 2px 4px; color: #1A1A17; }
.cmcall b { font-size: 15px; } .cmcall small { font-size: 12.5px; color: #57574F; }
.st-prevtitle { margin: 4px 0 2px; font-size: 26px; }
.st-figures { display: flex; gap: 0; padding: 14px 16px; margin-top: 16px; }
.st-figures div { flex: 1; display: grid; gap: 1px; }
.st-figures b, .st-metrics b { font-size: 22px; font-weight: 700; }
.st-figures span, .st-metrics small { font-size: 12.5px; font-weight: 600; color: var(--text3); }
/* SetupLayoutCard */
.st-layouts { display: grid; gap: 12px; }
.st-layout { width: 100%; text-align: left; display: grid; gap: 14px; padding: 16px; }
.st-layouthead { display: flex; align-items: center; gap: 8px; }
.st-layouthead b { flex: 1; min-width: 0; font-size: 20px; font-weight: 800; }
.st-choose { color: var(--action); font-size: 12.5px; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.st-choose span { font-size: 18px; }
.st-metrics { display: flex; } .st-metrics > span { flex: 1; display: grid; gap: 1px; }
.st-survey { font-size: 12.5px; font-weight: 600; color: var(--text3); }
.st-survey.ocher { color: var(--ocher); }
/* "Wer spielt mit?" */
.st-metarow { display: flex; align-items: center; gap: 8px; margin: 0 4px 10px; }
.st-metarow .meta:first-child { flex: 1; }
.st-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 14px; font-weight: 600; color: var(--action); }
.st-link.small { min-height: 32px; font-size: 12.5px; }
.st-link.quiet { color: var(--text2); }
.st-link .ico { width: 18px; height: 18px; }
.st-link[disabled] { opacity: .4; }
.st-lineup { position: relative; }
.st-swipe { position: relative; overflow: hidden; background: #D2402F; }
.st-swipe + .st-swipe { box-shadow: inset 0 .5px 0 var(--sep); }
.st-swipe-act { position: absolute; top: 0; right: 0; bottom: 0; width: 96px; color: #fff; font-size: 15px; font-weight: 600; }
.st-swipe-front { position: relative; background: var(--card); transition: transform .2s ease; touch-action: pan-y; width: 100%; }
.st-swipe + .st-swipe .st-swipe-front { border-top: .5px solid var(--sep); }
.st-swipe.dragging { z-index: 3; box-shadow: 0 6px 20px rgba(0,0,0,.18); transition: none; }
.st-swipe.dragging .st-swipe-front { background: var(--card); }
.st-lineup .st-swipe:not(.dragging) { transition: transform .18s ease; }
.st-player { gap: 12px; min-height: 56px; }
.st-player .st-idx { width: 16px; flex: none; font-size: 12.5px; font-weight: 600; color: var(--text3); }
.st-player .mark { width: 24px; height: 24px; font-size: 14px; }
.st-player .nm { min-width: 0; font-size: 17px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-player .sp { flex: 1; }
.st-grip { flex: none; width: 36px; height: 44px; margin-right: -8px; display: grid; place-items: center; color: var(--text3); touch-action: none; cursor: grab; }
.st-grip .ico { width: 18px; height: 18px; }
.st-role { flex: none; height: 18px; padding: 0 6px; border-radius: 100px; font-size: 10px; font-weight: 800; display: inline-flex; align-items: center; }
.st-role.host { color: var(--text2); background: color-mix(in srgb, var(--text3) 14%, transparent); }
.st-role.joined { color: var(--action); background: var(--action-surface); }
.st-role.guest { color: var(--text3); border: 1px solid color-mix(in srgb, var(--text3) 40%, transparent); }
.st-add > .meta { display: block; margin: 0 4px 10px; }
.st-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.st-addchip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 100px; background: var(--action-surface); color: var(--action); font-size: 12.5px; font-weight: 600; }
.st-addchip .ico { width: 13px; height: 13px; stroke-width: 2.6; }
.st-addchip small { font-size: 10px; font-weight: 800; color: var(--text3); }
.st-links { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.st-guestfield { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.st-guestfield input { flex: 1; min-width: 0; height: 54px; border-radius: 14px; }
.st-colors { margin-top: 12px; }
.st-invitebtn { width: 100%; height: 54px; border-radius: 20px; background: var(--action-surface); color: var(--action); font-size: 16.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 8px; }
.st-invitebtn .ico { width: 20px; height: 20px; }
.st-note { margin: 10px 4px 0; font-size: 12.5px; font-weight: 600; line-height: 1.35; color: var(--text3); }
.st-door { padding: 14px 16px; display: grid; gap: 8px; }
.st-door p { margin: 0; font-size: 13.5px; font-weight: 500; color: var(--text2); }
.st-doorhead { display: flex; align-items: center; gap: 8px; }
.st-doorhead b { flex: 1; min-width: 0; font-size: 16.5px; }
.st-doorhead .ico { color: var(--action); width: 20px; height: 20px; }
.st-doorhead .w1 { animation: st-wave 1.6s ease-in-out infinite; }
.st-doorhead .w2 { animation: st-wave 1.6s ease-in-out .4s infinite; }
@keyframes st-wave { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
/* "Wie spielt ihr?" */
.st-option { min-height: 58px; padding-top: 9px; padding-bottom: 9px; }
.st-option .name { white-space: normal; font-size: 17px; font-weight: 500; }
.st-option .name small { font-size: 13.5px; font-weight: 500; color: var(--text2); margin-top: 2px; }
.st-otitle { display: inline-flex; align-items: center; gap: 2px; }
.st-toggle { flex: none; display: inline-flex; padding: 6px 0; }
.st-toggle[disabled] { opacity: .45; }
.switchrow[disabled] .switch { opacity: .45; }
.switchrow[disabled] { cursor: default; }
.st-info { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin: -6px 0; color: var(--action); }
.st-info .ico { width: 17px; height: 17px; }
.st-infotitle { display: flex; align-items: center; gap: 0; margin: 8px 4px 0; font-size: 12.5px; font-weight: 600; color: var(--text3); }
.st-teams { border-top: .5px solid var(--sep); }
.st-teams select, .card .ringrow select { flex: none; width: auto; height: 36px; margin: 0; padding: 0 10px; border-radius: 9px; background: var(--fill); box-shadow: none; font-size: 15px; color: var(--action); }
.st-help .ico { color: var(--action); }
/* Dialogs: the iPhone's alert and confirmation dialog. */
.st-scrim { position: fixed; inset: 0; z-index: 70; background: rgba(0,0,0,.3); border: 0; width: 100%; }
.st-alert { position: fixed; z-index: 71; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(300px, calc(100% - 48px)); border-radius: 26px; overflow: hidden;
  background: color-mix(in srgb, var(--card) 94%, transparent); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); box-shadow: 0 10px 40px rgba(0,0,0,.25); text-align: center; }
.st-alert-text { padding: 20px 18px 16px; display: grid; gap: 6px; }
.st-alert-text b { font-size: 17px; font-weight: 700; }
.st-alert-text p { margin: 0; font-size: 13.5px; font-weight: 500; line-height: 1.35; color: var(--text); }
.st-alert.info { text-align: left; } .st-alert.info .st-alert-text { padding: 18px 20px; }
.st-alert-btns { display: flex; gap: 8px; padding: 0 14px 14px; }
.st-alert-btns.stack { flex-direction: column; }
.st-alert-btns > * { flex: 1; height: 44px; border-radius: 100px; background: var(--fill); font-size: 16px; font-weight: 600; color: var(--action); display: flex; align-items: center; justify-content: center; text-decoration: none; }
.st-alert-btns .destructive { color: #D2402F; }
.st-action { position: fixed; z-index: 71; left: 8px; right: 8px; bottom: calc(env(safe-area-inset-bottom) + 8px); max-width: 504px; margin: 0 auto; display: grid; gap: 8px; }
.st-action-group { border-radius: 22px; overflow: hidden; background: color-mix(in srgb, var(--card) 94%, transparent); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); box-shadow: 0 8px 30px rgba(0,0,0,.2); }
.st-action-head { padding: 14px 18px 12px; text-align: center; display: grid; gap: 4px; }
.st-action-head b { font-size: 13.5px; font-weight: 600; color: var(--text2); }
.st-action-head p { margin: 0; font-size: 13px; font-weight: 500; color: var(--text2); line-height: 1.35; }
.st-action-group button { display: block; width: 100%; min-height: 56px; padding: 0 16px; border-top: .5px solid var(--sep); font-size: 18px; font-weight: 500; color: var(--action); }
.st-action-group button:first-child { border-top: 0; }
.st-action-group button.cancel { font-weight: 700; }
.st-action-group button.destructive { color: #D2402F; }
/* RoundInviteSheet */
.st-invite .st-doors { flex: none; margin: 10px 20px 0; }
.st-invitebody { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding-top: 18px; }
/* Nothing in the column gives way: the sheet scrolls instead. With the
   "Schon dabei" list (2026-11-20) the button and the list were squeezed. */
.st-invitebody > * { flex: none; }
/* Large enough for arm's length (2026-11-20): the iPhone's 216 pt code. */
.st-qr { width: 236px; height: 236px; padding: 10px; border-radius: 14px; background: #fff; display: grid; place-items: center; flex: none; }
.st-qr .qr { width: 216px; height: 216px; display: block; }
/* "Schon dabei" under the code (`RoundInviteSheet.joinedList`). */
.st-joined { width: 100%; text-align: left; margin: 2px 0 4px; }
.st-joined .head { padding: 10px 16px 4px; font-size: 13px; color: var(--text3); }
.st-joined .row { min-height: 44px; gap: 12px; }
.st-joined .row .name { flex: 1 1 auto; font-size: 16.5px; font-weight: 700; }
.st-joined .mark { width: 22px; height: 22px; font-size: 13px; }
.chip.arrived { background: var(--action); color: #fff; border-color: transparent; }
.st-qrph { color: var(--action); } .st-qrph .ico { width: 44px; height: 44px; }
.st-invitebody h2 { font-size: 20px; }
.st-invitetext { margin: -6px 0 0; font-size: 16px; font-weight: 500; line-height: 1.35; color: var(--text2); }
.st-send { display: flex; align-items: center; justify-content: center; gap: 8px; }
.st-send .ico { width: 19px; height: 19px; }
.st-copy { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 50px; font-size: 16.5px; font-weight: 700; color: var(--action); }
.st-copy .ico { width: 19px; height: 19px; }
.st-preparing { display: flex; align-items: center; gap: 8px; min-height: 54px; font-size: 12.5px; color: var(--text2); }
.st-spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--sep); border-top-color: var(--text2); animation: ptrspin .8s linear infinite; }
.st-error { margin: 0; font-size: 12.5px; font-weight: 600; color: var(--over); }
.st-outcome { margin: 0; font-size: 12.5px; font-weight: 600; color: var(--text3); }
.st-outcome.out { color: var(--action); }
.st-rule { width: 100%; height: .5px; background: var(--sep); flex: none; }
.st-cardrow { width: 100%; display: flex; align-items: center; gap: 10px; text-align: left; color: var(--action); min-height: 52px; }
.st-cardrow .txt { flex: 1; min-width: 0; display: grid; gap: 1px; }
.st-cardrow b { font-size: 16.5px; font-weight: 700; } .st-cardrow small { font-size: 12.5px; font-weight: 600; color: var(--text3); }
.st-cardrow .chev { color: var(--text3); font-size: 20px; }
.st-done { flex: none; min-height: 50px; margin: 0 20px 6px; font-size: 16.5px; font-weight: 700; color: var(--text2); }
.st-done.out { color: var(--action); }
.sheetscrim.top { z-index: 30; } .sheet.top { z-index: 31; }
.sheethead .pill[disabled] { opacity: .4; }
.sheethead .pill.strong { font-weight: 700; }
/* InviteCardSheet */
.st-cardbody { display: grid; gap: 14px; padding-top: 6px; }
.st-cardpic { justify-self: center; border-radius: 18px; overflow: hidden; box-shadow: 0 6px 20px rgba(0,0,0,.12); background: var(--fill); }
.st-cardpic.story { width: 259px; height: 461px; } .st-cardpic.square { width: 324px; height: 324px; }
.st-cardpic.clear { background: #4A5B4C; }
.st-cardpic img { display: block; width: 100%; height: 100%; }
/* Guests */
.st-guestlist .st-guestrow { width: 100%; text-align: left; gap: 12px; min-height: 56px; }
.st-guestrow .mark { width: 22px; height: 22px; font-size: 13px; }
.st-empty { display: grid; gap: 8px; place-items: center; text-align: center; padding: 60px 12px; }
.st-empty b { font-size: 20px; } .st-empty p { margin: 0; font-size: 13.5px; font-weight: 500; color: var(--text2); }
.st-gedit { display: grid; gap: 14px; align-content: start; }
.st-gedit .meta { margin: 4px 4px -6px; }
.st-colorask { display: grid; gap: 14px; padding-top: 4px; }
.st-colorask .sub { margin: 0; }
/* WaitingRoomView */
.st-wait { padding-top: calc(env(safe-area-inset-top) + 8px); }
.st-pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--action); animation: st-wave 2.2s ease-in-out infinite; }
.st-waitrow { min-height: 54px; gap: 10px; }
.st-wemoji { width: 26px; text-align: center; font-size: 17px; }
.st-wdot { width: 26px; display: grid; place-items: center; } .st-wdot i { width: 12px; height: 12px; border-radius: 50%; background: var(--text3); }
.st-du { font-size: 12.5px; font-weight: 600; color: var(--action); }
.st-later { display: flex; align-items: center; justify-content: center; height: 54px; margin-top: 18px; font-size: 16.5px; font-weight: 700; color: var(--text2); text-decoration: none; }
/* InvitationScanner: black, the camera image, the line at the bottom. */
.scan { position: fixed; inset: 0; z-index: 60; background: #000; color: #fff; display: flex; flex-direction: column; }
.scanbar { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: calc(env(safe-area-inset-top) + 8px) 12px 8px; }
.scanbar button { justify-self: start; height: 44px; padding: 0 8px; font-size: 17px; color: #fff; }
.scanbar b { font-size: 17px; font-weight: 600; }
.scan video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scanframe { position: absolute; left: 50%; top: 45%; width: 240px; height: 240px; transform: translate(-50%, -50%); border-radius: 28px; box-shadow: 0 0 0 2px rgba(255,255,255,.85), 0 0 0 100vmax rgba(0,0,0,.25); }
.scan.blocked video, .scan.blocked .scanframe { display: none; }
.scanmsg { position: relative; z-index: 2; margin: auto 0; padding: 18px; text-align: center; font-size: 17px; font-weight: 500; line-height: 1.4; }
.scanmsg:empty { display: none; }
.scanhint { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: calc(env(safe-area-inset-bottom) + 40px); max-width: 480px; margin: 0 auto; padding: 12px 18px; border-radius: 16px;
  background: rgba(60,60,60,.55); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); text-align: center; font-size: 17px; font-weight: 500; }
.scanhint:empty { display: none; }
/* The setup is a sheet on the iPhone: no footer under it. */
body:has(.st-nav) footer.foot, body:has(.st-wait) footer.foot { display: none; }
body:has(.st-nav) { padding-bottom: calc(env(safe-area-inset-bottom) + 24px); }
.st-swipe-front, .st-grip { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.st-qr { margin-top: 4px; }
/* "Später wiederkommen" stays at the bottom, as on the iPhone. */
.st-later { position: fixed; left: 18px; right: 18px; bottom: calc(env(safe-area-inset-bottom) + 8px); max-width: 484px; margin: 0 auto; }
.st-wait { padding-bottom: 80px; }
.scanbar { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
.scanbar button { white-space: nowrap; }
.cmpin i { background: #2F5D3F !important; }
.st-mapslot { position: relative; z-index: 0; isolation: isolate; }
/* "Zurück zur Karte": the iPhone's quiet toolbar word, on one line. */
.sheethead .pill.st-quiet { white-space: nowrap; font-size: 14px; font-weight: 600; color: var(--text2); justify-self: start; }
.cmpin i { width: 18px; height: 18px; border-width: 3px; }
/* The red sits on the button behind the row only, or it shows at the card's corners. */
.st-swipe { background: transparent; }
.st-swipe-act { background: #D2402F; }
.sheet .st-invitebody { padding-top: 22px; }
/* ---------- Parity 5: statistics, Ich, first start (2026-11-18) ---------- */
.linkrow .ico { color: var(--action); }
.linkrow[disabled] { opacity: .55; }
button.metarow.linkhead { width: calc(100% - 8px); align-items: baseline; text-align: left; }
.linkhead .more { font-size: 12.5px; font-weight: 600; color: var(--action); white-space: nowrap; }
.tgroup { stroke: var(--text3); stroke-width: 1.5; stroke-dasharray: 4 4; }
.tpar { stroke: color-mix(in srgb, var(--text3) 50%, transparent); stroke-width: 1; }
.tlegend { display: flex; gap: 16px; font-size: 12.5px; font-weight: 600; color: var(--text2); }
.tlegend span { display: inline-flex; align-items: center; gap: 6px; }
.tlegend i { display: inline-block; width: 18px; height: 0; border-top: 2.5px solid var(--action); }
.tlegend i.dashed { border-top: 1.5px dashed var(--text3); }
.hbar.under { fill: var(--under); } .hbar.sand { fill: var(--sand); } .hbar.ocher { fill: var(--ocher-fill); } .hbar.over { fill: var(--over); }
.card.trend .mlab { font-size: 10px; font-weight: 700; fill: var(--text3); text-anchor: middle; }
.blockhead { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; row-gap: 2px; margin: 0 4px 10px; }
.blockhead h3 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.3px; }
.infotitle { margin: 12px 4px 0; }
.infotitle summary { display: inline-flex; align-items: center; gap: 6px; list-style: none; cursor: pointer; min-height: 44px; font-size: 13.5px; font-weight: 700; color: var(--text2); }
.infotitle summary::-webkit-details-marker { display: none; }
.infotitle summary .ico { width: 17px; height: 17px; color: var(--action); }
.infotitle p { margin: 0 0 4px; font-size: 13.5px; line-height: 1.45; color: var(--text2); }
.stack5 { display: grid; gap: 12px; }
.cdot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--text3); display: inline-block; }
.row.grouprow, .row.seasonrow { min-height: 60px; gap: 10px; padding-top: 8px; padding-bottom: 8px; }
.row.grouprow .name, .row.seasonrow .name { font-size: 16.5px; white-space: normal; }
.row.grouprow b { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.row.grouprow b.under { color: var(--under); } .row.grouprow b.over { color: var(--over); }
.row.seasonrow .place { flex: none; width: 18px; font-size: 13px; font-weight: 800; color: var(--text3); font-variant-numeric: tabular-nums; }
.row.seasonrow .place.first { color: var(--action); }
.row.seasonrow b { flex: none; min-width: 46px; text-align: right; font-size: 15px; font-variant-numeric: tabular-nums; }
.row.seasonrow b.q { color: var(--text3); }
.marks { display: inline-flex; }
.marks .mark { width: 24px; height: 24px; font-size: 13px; box-shadow: 0 0 0 2px var(--card); }
.marks .mark + .mark { margin-left: -8px; }
.profilesheet { padding-bottom: 28px; }
.profilesheet > input { margin-top: 18px; }
.profilesheet .acctbox { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; background: var(--card); margin-bottom: 12px; }
.profilesheet .acctbox b { font-size: 16px; }
.profilesheet .acctbox small { font-size: 14px; color: var(--text2); overflow-wrap: anywhere; }
.profilesheet .acctbox small.addr { font-size: 12.5px; color: var(--text3); }
.profilesheet .acctnote { margin: 0 4px 12px; font-size: 14px; line-height: 1.4; color: var(--text2); }
.swatch { position: relative; }
.swatch.taken::after { content: ""; position: absolute; left: 50%; bottom: -3px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--text3); }
.takenlegend { display: flex; align-items: center; gap: 6px; margin: 10px 4px 0; font-size: 12.5px; font-weight: 600; color: var(--text3); }
.takenlegend i { width: 6px; height: 6px; border-radius: 50%; background: var(--text3); flex: none; }
.tile.plus { position: relative; overflow: hidden; color: var(--action); outline: 1.5px dashed color-mix(in srgb, var(--action) 60%, transparent); outline-offset: -1.5px; cursor: pointer; }
.tile.plus.on { outline: 2px solid var(--text); color: inherit; }
.tile.plus input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .01; font-size: 16px; border: 0; padding: 0; background: none; box-shadow: none; caret-color: transparent; }
.grid.emoji + .meta { display: block; margin: 10px 4px 0; }
.meta.warn { color: var(--over); }
.meta.warn:empty { display: none; }
.busyline { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--sep); border-top-color: var(--action); animation: kjspin .8s linear infinite; flex: none; }
@keyframes kjspin { to { transform: rotate(360deg); } }
.row.guestrow { padding-right: 8px; }
.row.guestrow .gopen { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; min-height: 56px; text-align: left; }
.row.guestrow .link { color: var(--over); font-size: 14px; font-weight: 700; min-height: 44px; padding: 0 8px; }
.section.empty { text-align: center; padding: 24px 0 6px; font-size: 17px; }
.sheethead .link { justify-self: start; font-size: 15px; font-weight: 600; color: var(--action); min-height: 44px; }
.sheethead .pill[disabled] { opacity: .4; }
.pluslink[aria-expanded="true"] .chev { transform: rotate(90deg); }
.plusexplain { min-height: 0; padding-top: 0; padding-bottom: 14px; }
.plusexplain .name { white-space: normal; font-size: 14px; font-weight: 500; line-height: 1.4; color: var(--text2); }
.plushead { display: grid; justify-items: center; gap: 8px; text-align: center; margin-top: 12px; }
.plushead h1 { margin: 4px 0 0; }
.plusmark { width: 56px; height: 56px; border-radius: 16px; background: var(--action); color: #fff; display: grid; place-items: center; }
.plusmark .ico { width: 30px; height: 30px; }
.freelist { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font-size: 14.5px; font-weight: 600; }
.freelist li::before { content: "✓"; color: var(--action); margin-right: 6px; font-weight: 800; }
.plinks { display: flex; gap: 14px; } .plinks a { color: var(--action); }
.row.erase { width: 100%; text-align: left; min-height: 56px; }
.row.erase .name { color: var(--over); font-size: 16.5px; }
.filebtn { position: relative; display: grid; place-items: center; margin-top: 12px; background: var(--action-surface); color: var(--action); border-radius: 100px; font-weight: 700; cursor: pointer; }
.filebtn input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
#bugnote { width: 100%; margin-top: 12px; border: 0; border-radius: 16px; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--text); background: var(--card); box-shadow: var(--shadow); resize: vertical; }
#bugnote:focus { outline: 2px solid var(--action); }
.btn .ico { width: 19px; height: 19px; vertical-align: -3px; margin-right: 4px; }
.firststart .centered .back { display: inline-block; }
/* The round still going, above the tab bar (`LiveRoundStrip`). */
/* Made to be seen (2026-11-20, after Apple Music's mini player and Google
   Maps' resume bar): a solid bar with a green edge, the card's green as a
   pulsing disc, and a filled "Weiterspielen". */
.livestrip { position: fixed; z-index: 21; left: 50%; transform: translateX(-50%); width: min(calc(100% - 32px), 488px);
  bottom: calc(env(safe-area-inset-bottom) + 84px); display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 8px 0 12px;
  border-radius: 100px; text-decoration: none; color: var(--text); border: 1.5px solid color-mix(in srgb, var(--action) 55%, transparent);
  background: var(--card); box-shadow: 0 5px 14px rgba(0,0,0,.22); }
.livestrip .pulse { width: 30px; height: 30px; border-radius: 50%; background: var(--action); flex: none; display: grid; place-items: center; }
.livestrip .pulse::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: kjpulse 1.1s ease-in-out infinite alternate; }
@keyframes kjpulse { to { opacity: .35; } }
.livestrip .lt { flex: 1; min-width: 0; display: grid; }
.livestrip .lt b { font-size: 15px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.livestrip .lt small { font-size: 12.5px; font-weight: 600; color: var(--text2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.livestrip .go { flex: none; font-size: 14px; font-weight: 800; color: #fff; background: var(--action); border-radius: 100px; height: 38px; padding: 0 14px; display: grid; place-items: center; white-space: nowrap; }
/* On "Runden" only once the running card is out of view, in the start bar's place. */
.livestrip.onrounds { display: none; }
body.runcard-off .livestrip.onrounds { display: flex; }
body.runcard-off:has(.livestrip.onrounds) .startbar { display: none; }
.st-runfinish { text-decoration: none; display: grid; place-items: center; min-height: 44px; }
body.home:has(.livestrip) footer.foot { padding-bottom: 66px; }
/* The splash (`SplashView`): the disc flies in and drops into the basket. */
.splash { position: fixed; inset: 0; z-index: 100; background: var(--paper); display: grid; place-items: center; cursor: pointer; transition: opacity .25s; }
.splash.out { opacity: 0; pointer-events: none; }
.splash .sfig { display: grid; justify-items: center; gap: 6px; animation: kjsplashexit .3s ease-in 1.85s forwards; }
.splash svg { width: 120px; height: 140px; overflow: visible; }
.splash .sband { fill: none; stroke: var(--text); stroke-width: 5; }
.splash .sband.front { stroke-dasharray: 0 107 107 0; }
.splash .spole, .splash .sbasket { fill: none; stroke: var(--text); stroke-width: 5; stroke-linecap: round; }
.splash .sdisc ellipse { fill: var(--action); }
.splash .sdisc { transform: translate(60px, 44px); animation: kjdisc .95s cubic-bezier(.3,.1,.4,1) both; }
.splash .sword { font-size: 30px; font-weight: 800; letter-spacing: -.6px; opacity: 0; animation: kjfade .35s ease-out 1s forwards; }
.splash .sline { font-size: 15px; font-weight: 600; color: var(--text2); opacity: 0; animation: kjfade .35s ease-out 1.25s forwards; }
.splash.still .sdisc, .splash.still .sword, .splash.still .sline, .splash.still .sfig { animation: none; opacity: 1; }
@keyframes kjdisc { 0% { transform: translate(-170px, -60px) rotate(-25deg); } 70% { transform: translate(40px, 20px) rotate(-8deg); } 100% { transform: translate(60px, 44px) rotate(0); } }
@keyframes kjfade { to { opacity: 1; } }
@keyframes kjsplashexit { to { opacity: 0; transform: translateY(-8px); } }
body.home[data-page="me"]:has(.livestrip) #app { padding-bottom: 66px; }
.profilesheet .stack + .meta, .profilesheet .busyline + .meta { margin-top: 10px; }
/* ---------- Parity 4: the course page as on the iPhone (CourseDetailView) ---------- */
.kchead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.kchead .back { margin-top: 0; background: none; border: 0; padding: 0; }
.kseg { justify-content: flex-start; flex-wrap: wrap; }
.kfold { margin-top: 10px; }
.kfold .row { width: 100%; text-align: left; background: none; border: 0; font: inherit; color: inherit; }
.kcheck { flex: none; width: 20px; color: var(--action); font-weight: 700; text-align: center; }
.kover { padding: 0; }
.kminiwrap { position: relative; height: 170px; }
.kmini { height: 170px; pointer-events: none; background: color-mix(in srgb, var(--text3) 12%, transparent); }
.kmini.empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 0 24px; text-align: center; color: var(--text2); font-size: 13.5px; }
.kmini.empty p { margin: 0; }
.kbadge { position: absolute; top: 10px; left: 10px; z-index: 500; padding: 4px 10px; border-radius: 100px; font-size: 12.5px; font-weight: 600;
  background: color-mix(in srgb, var(--card) 82%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--text); }
.kfig { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 8px; padding: 14px 16px; }
.kfig b { display: block; font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kfig span { display: block; font-size: 12px; font-weight: 500; color: var(--text2); }
.kcap { padding: 0 16px 12px; font-size: 12px; color: var(--text3); }
.card > button.row { width: 100%; text-align: left; background: none; border: 0; font: inherit; color: inherit; }
.row.action .name { color: var(--action); }
.row.action.danger .name { color: var(--over); }
.row.action.quiet .name { color: var(--text2); }
.kinfo { padding: 3px 0; font-size: 15px; }
.kconfirm { margin: 6px 0 4px; height: 40px; }
.khole .meta { white-space: nowrap; }
.khole .name { min-width: 0; }
.ksurvey { min-width: 78px; text-align: right; }
.row.retired .name, .khole.retired .meta { color: var(--text3); }
.kstart { position: sticky; bottom: calc(env(safe-area-inset-bottom) + 86px); z-index: 4; margin: 18px -4px 0; padding: 10px 4px 8px;
  background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.btn.danger { background: var(--over); }
.ksheet.fit { max-height: calc(100dvh - 54px); }
.ksheet .sheetbody { padding-top: 4px; }
.ksheet .sheetbody > .meta { display: block; margin: 18px 4px 6px; }
.ksheet .sheetbody .card + .meta { margin-top: 18px; }
.ksheet .row input[type=text], .ksheet .row textarea { width: 100%; margin: 6px 0; }
.ksheet .row textarea { min-height: 40px; resize: vertical; font: inherit; }
.ksheet .num { margin-left: auto; font-variant-numeric: tabular-nums; }
.ksheet .kanswer { flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
.ksheet .kanswer .chips { margin-left: auto; }
.ksheet .kplayed { justify-content: space-between; }
.kdialog { padding: 18px 20px 20px !important; }
.kdialog h2 { margin: 6px 0 8px; font-size: 18px; text-align: center; }
.kdialog p { margin: 0 0 16px; color: var(--text2); font-size: 14.5px; line-height: 1.45; text-align: center; }
.kdialog .stack { display: grid; gap: 8px; }
.pill.strong[disabled] { opacity: .45; }
.ksheet .sheethead { grid-template-columns: auto minmax(0, 1fr) auto; }
.ksheet .sheethead h1 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ksheet .sheethead .pill { padding: 0 12px; font-size: 16px; }
/* The surveying editor (CourseEditorView): map full screen, header on top,
   panel at the bottom, the crosshair in the band between them. */
.ked { position: fixed; inset: 0; z-index: 30; background: #1b1d1a; }
.kedmap { position: absolute; inset: 0; }
.kedcross { position: absolute; left: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; z-index: 600; pointer-events: none; }
.kedcross::before, .kedcross::after { content: ''; position: absolute; background: #fff; box-shadow: 0 0 2px rgba(0,0,0,.7); }
.kedcross::before { left: 14px; top: 0; width: 2px; height: 30px; }
.kedcross::after { top: 14px; left: 0; height: 2px; width: 30px; }
.kspot .kedcross.small { top: 50%; }
.kedhead { position: absolute; top: calc(env(safe-area-inset-top) + 8px); left: 10px; right: 10px; z-index: 700; padding: 10px 12px 10px 14px; border-radius: 20px;
  background: color-mix(in srgb, var(--card) 90%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--shadow); }
.kedtitle { display: flex; align-items: center; gap: 8px; }
.kedtitle .name { flex: 1; min-width: 0; font-weight: 700; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kedtitle .name small { display: block; font-weight: 500; font-size: 12.5px; color: var(--text2); white-space: normal; }
.kround { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--action-surface); color: var(--action); font-weight: 800; }
.kedstrip { display: flex; gap: 2px; margin-top: 8px; }
.kedstrip i { flex: 1; height: 5px; border-radius: 3px; background: color-mix(in srgb, var(--text3) 35%, transparent); }
.kedstrip i.ocher { background: var(--ocher); } .kedstrip i.under { background: var(--under); }
.kedbtns { position: absolute; right: 12px; top: calc(env(safe-area-inset-top) + 112px); z-index: 700; display: grid; gap: 8px; }
.kedbtns button { width: 44px; height: 44px; border-radius: 50%; background: color-mix(in srgb, var(--card) 90%, transparent); color: var(--action); font-size: 20px; box-shadow: var(--shadow); }
.kedbtns button[disabled] { opacity: .4; }
.kedpanel { position: absolute; left: 0; right: 0; bottom: 0; z-index: 700; max-height: 62dvh; overflow-y: auto; padding: 10px 12px calc(env(safe-area-inset-bottom) + 12px);
  background: var(--paper); border-radius: 24px 24px 0 0; box-shadow: 0 -4px 24px rgba(0,0,0,.18); }
.kedchips { display: flex; gap: 6px; overflow-x: auto; padding: 4px 2px 6px; scrollbar-width: none; }
.kedchips button { position: relative; flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--card); font-weight: 600; font-variant-numeric: tabular-nums; }
.kedchips button.on { font-weight: 800; box-shadow: inset 0 0 0 2px var(--text); }
.kedchips i { position: absolute; top: 2px; right: 4px; font-style: normal; font-size: 10px; color: var(--text3); }
.kedchips i.ocher { color: var(--ocher); } .kedchips i.under { color: var(--under); }
.kednext { display: block; margin: 0 2px 8px auto; font-size: 13.5px; font-weight: 600; color: var(--action); }
.kedcard { border: 0; margin: 0; padding: 0; min-width: 0; background: var(--card); border-radius: 18px; overflow: hidden; }
.kedcard[disabled] { opacity: .5; }
.kedrow { display: flex; align-items: center; gap: 8px; padding: 8px 12px; }
.kedrow + .kedrow, .kedacts + .kedrow, .kedreuse + .kedrow { border-top: 1px solid var(--sep); }
.kedrow.on { box-shadow: inset 3px 0 0 var(--action); background: color-mix(in srgb, var(--action) 10%, transparent); }
.kedrow.on .kedsel .name { color: var(--action); }
.kedsel { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; text-align: left; }
.kedsel .name { flex: 1; min-width: 0; font-weight: 700; }
.kedsel .name small { display: block; font-weight: 500; font-size: 12.5px; color: var(--text3); }
.kedsel .name small.ocher { color: var(--ocher); } .kedsel .name small.under { color: var(--under); }
.kedico { flex: none; width: 22px; height: 22px; border-radius: 6px; background: var(--action); opacity: .45; }
.kedico.basket { border-radius: 50%; }
.kedrow.on .kedico { opacity: 1; }
.kedok { flex: none; height: 34px; padding: 0 12px; border-radius: 100px; background: var(--action-surface); color: var(--action); font-weight: 700; font-size: 13.5px; white-space: nowrap; }
.kedok.on { background: var(--action); color: #fff; }
.kedacts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 4px 12px 10px; }
.kedacts .btn { height: auto; min-height: 54px; padding: 6px 8px; border-radius: 16px; background: var(--action-surface); color: var(--action); font-size: 15px; line-height: 1.2; }
.kedacts .btn small { display: block; font-size: 11.5px; font-weight: 500; color: var(--text2); }
.kedacts .btn[disabled] { opacity: .4; }
.kedreuse { display: block; width: 100%; padding: 0 12px 10px; text-align: left; font-size: 13.5px; font-weight: 600; color: var(--action); }
.kednum { display: grid; place-items: center; width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 50%; background: rgba(0,0,0,.45); color: #fff; font-size: 11px; font-weight: 700; opacity: .5; }
.kedq { display: grid; place-items: center; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: rgba(0,0,0,.5); color: #fff; font-weight: 800; border: 2px solid var(--ocher); }
.kedq.under { border-color: var(--under); }
.kedmk { display: inline-block; transform: translate(-50%, -50%); padding: 3px 8px; border-radius: 100px; background: #fff; color: #1b1d1a; font-size: 12px; font-weight: 800; white-space: nowrap; }
.kedmk.basket { background: var(--action); color: #fff; }
.ktut { text-align: center; padding-top: 30px !important; }
.ktut h2 { font-size: 20px; margin: 0 0 10px; }
.ktut p { color: var(--text2); line-height: 1.5; margin: 0 0 20px; }
.ktut .tdots { display: flex; justify-content: center; gap: 8px; margin-bottom: 18px; }
.ktut .tdots button { width: 8px; height: 8px; border-radius: 50%; background: color-mix(in srgb, var(--text3) 40%, transparent); }
.ktut .tdots button.on { background: var(--action); }
.kinfotitle { margin: 6px 4px 14px; }
.kinfotitle p { margin: 4px 0 0; font-size: 13.5px; color: var(--text2); line-height: 1.45; }
.kpickhead { display: flex; justify-content: space-between; align-items: center; margin: 16px 4px 6px; }
.kbadgeno { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--sep); font-weight: 700; font-size: 13px; }
.kbadgeno.on { background: var(--action); color: #fff; border-color: transparent; }
.krev .num { margin-left: auto; }
.kmore { flex: none; width: 34px; height: 34px; border-radius: 50%; color: var(--action); font-weight: 800; }
.kactions { flex-wrap: wrap; gap: 6px; padding-top: 6px; padding-bottom: 10px; }
.kactions button { height: 34px; padding: 0 12px; border-radius: 100px; background: var(--action-surface); color: var(--action); font-weight: 600; font-size: 13.5px; }
.kactions button.danger { color: var(--over); }
.kactions button[disabled] { opacity: .4; }
.kspot { position: relative; height: 260px; margin: 8px 0; border-radius: 18px; overflow: hidden; }
.kspotmap { position: absolute; inset: 0; }
.kring { display: block; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; border: 2px solid #fff; }
.ksheet .undobar { position: sticky; bottom: 8px; }
/* The map's own layers stay inside it, under every sheet. */
.kminiwrap, .kspot { isolation: isolate; z-index: 0; }
/* Sheets over the editor rise above it. */
.ked ~ .sheetscrim { z-index: 40; }
.ked ~ .sheet { z-index: 41; }
.ksheet .row input[type=text], .ksheet .row textarea { background: none; box-shadow: none; padding-left: 0; padding-right: 0; }
.ksheet .row .num { font-size: 15px; font-weight: 600; }
/* The Kurse tab (CourseListView, CourseMap): "Liste / Karte", the map with
   its pins and bubbles, the busy line, the empty state. */
.kccontrols { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; }
.kccontrols .sortseg { margin: 0; flex-wrap: nowrap; }
.kccontrols .chips button { padding: 0 11px; }
.kccontrols .meta.ocher { color: var(--ocher); font-size: 13px; font-weight: 600; }
.kcbusy { display: inline-flex; align-items: center; gap: 5px; margin-left: 8px; color: var(--text3); }
.kcbusy i { width: 10px; height: 10px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: kcspin .8s linear infinite; }
@keyframes kcspin { to { transform: rotate(360deg); } }
.kcempty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 60px 20px; color: var(--text2); text-align: center; }
.kcempty span { font-size: 34px; }
.kcempty b { font-size: 20px; color: var(--text); }
.kcmapwrap { position: relative; isolation: isolate; z-index: 0; margin: 12px -16px 0; height: calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 330px); min-height: 300px; }
.kcmap { position: absolute; inset: 0; background: color-mix(in srgb, var(--text3) 12%, transparent); }
.kcmapwrap .kcempty { position: absolute; inset: 0; justify-content: center; pointer-events: none; z-index: 800; }
.kcloc { position: absolute; top: 10px; right: 10px; z-index: 800; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--card) 92%, transparent); color: var(--action); box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.kcloc .ico { width: 20px; height: 20px; }
.kccorner { position: absolute; left: 8px; bottom: 8px; z-index: 800; padding: 3px 7px; border-radius: 100px; font-size: 10px; font-weight: 500; color: var(--text2);
  background: color-mix(in srgb, var(--card) 80%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); pointer-events: none; }
.kcpin { position: relative; display: block; width: 34px; height: 34px; }
.kcpin i { position: absolute; inset: 2px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--action); box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.kcpin.on i { background: var(--action); color: #fff; }
.kcpin svg { width: 22px; height: 22px; fill: currentColor; }
.kclabel { position: absolute; left: 50%; top: 36px; transform: translateX(-50%); max-width: 150px; padding: 2px 6px; border-radius: 6px; text-align: center; white-space: nowrap;
  background: color-mix(in srgb, var(--card) 88%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.kclabel b, .kclabel small { display: block; overflow: hidden; text-overflow: ellipsis; }
.kclabel b { font-size: 11.5px; font-weight: 600; color: var(--text); }
.kclabel small { font-size: 10px; font-weight: 500; color: var(--text2); font-variant-numeric: tabular-nums; }
.kcbubble { display: grid; place-items: center; min-width: 34px; height: 34px; padding: 0 6px; border-radius: 100px; background: var(--action); color: #fff; font-size: 15px; font-weight: 700;
  font-variant-numeric: tabular-nums; border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.kcbubble.wide { padding: 0 10px; }
.kcme { display: block; width: 22px; height: 22px; border-radius: 50%; background: #0a84ff; border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.3); }
/* The tour (CourseTourView): the map on top, the panel under it. */
.ktourwrap { position: relative; isolation: isolate; z-index: 0; margin: 12px -16px 0; height: 46dvh; min-height: 260px; }
.ktour { position: absolute; inset: 0; background: color-mix(in srgb, var(--text3) 12%, transparent); }
.ktempty { padding: 28px 20px; }
.ktempty p { margin: 0; font-size: 14px; line-height: 1.45; }
.ktinfo { margin: 0 16px; padding: 10px 0 4px; border-top: 1px solid var(--sep); }
.ktpanel .kcap { padding-top: 4px; }
.ktdrive { display: flex; align-items: center; justify-content: center; margin-top: 8px; text-decoration: none; color: var(--action); }
.ktnav { display: flex; align-items: center; gap: 12px; }
.ktt { flex: 1; min-width: 0; text-align: center; }
.ktt b { display: block; font-size: 22px; font-weight: 700; }
.ktt small { display: block; font-size: 14px; font-weight: 500; color: var(--text2); }
.ktstep { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--action-surface); color: var(--action); font-size: 24px; font-weight: 700; line-height: 1; }
.kthint { margin-top: 12px; font-size: 15px; font-weight: 500; }
.kthint.ocher { color: var(--ocher); }
.kthint.meta { color: var(--text2); }
.ktwhole { display: block; text-decoration: none; margin: 16px auto 0; font-size: 16px; font-weight: 600; color: var(--action); }
.ktbadge { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3);
  background: color-mix(in srgb, #1A1A17 65%, transparent); color: #fff; font-size: 11px; font-weight: 800; font-variant-numeric: tabular-nums; }
.ktbadge.on { width: 28px; height: 28px; background: var(--action); font-size: 13px; }
.ktbasket { display: block; width: 16px; height: 16px; border-radius: 50%; background: var(--ocher-fill); border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.ktpanel .kfig b { font-size: 18px; }
/* The Bestenliste (HoleLeaderboardView). */
.kbseg { margin-top: 10px; }
.kbrow .kbplace { flex: none; width: 18px; text-align: right; color: var(--text3); font-size: 14px; font-variant-numeric: tabular-nums; }
.kbdot { flex: none; width: 10px; height: 10px; border-radius: 50%; }
.kbrow .name, .kbh2h .name { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.kbrec .rel.big { min-width: 44px; font-size: 24px; font-weight: 700; }
.kbstep .rel { min-width: 36px; text-align: right; }
.kbh2h { display: block !important; }
.kbh2htop { display: flex; align-items: center; gap: 10px; }
.kbh2htop .name { flex: 1; white-space: nowrap; }
.kbh2htop b { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.kbbar { display: flex; gap: 2px; height: 8px; margin: 8px 0 0 20px; }
.kbbar i { display: block; height: 8px; border-radius: 100px; }
.kbbar .w { background: var(--under); } .kbbar .d { background: color-mix(in srgb, var(--text3) 40%, transparent); } .kbbar .l { background: var(--over); }
.kbcap { margin: 4px 0 0 20px; font-size: 12.5px; font-weight: 500; color: var(--text3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kbfact small, .kblead small { white-space: normal; }
.kblead { align-items: flex-start; }
.kbno { flex: none; min-width: 28px; text-align: right; font-size: 24px; font-weight: 700; color: var(--text2); font-variant-numeric: tabular-nums; }
.kblead small.kbtert { color: var(--text3); font-size: 12.5px; }
.kbstar { color: var(--ocher-fill); margin-right: 4px; }
.kbrow .rel, .kbstep .rel { font-size: 17px; }
.kbrow.mine { background: var(--action-surface); }
.wpnick { display: block !important; padding: 10px 16px 14px; }
.wpnick > .meta { display: block; margin: 0 0 6px; }
.wpnick input[type=text] { height: 48px; background: var(--paper); box-shadow: none; }
.btn.wpsave { margin-top: 12px; }
/* "Wo die Würfe landen" (LandingMapView). */
.klandmap { position: relative; isolation: isolate; z-index: 0; height: 46dvh; min-height: 240px; margin: 0 -16px; }
.kland { position: absolute; inset: 0; background: color-mix(in srgb, var(--text3) 12%, transparent); }
.klcap { white-space: normal; font-size: 12.5px !important; color: var(--text3) !important; }
.klseg { justify-content: center; margin-top: 12px; }
.kldot { display: block; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid #fff; opacity: .9; box-sizing: content-box; }
.kltee { display: block; width: 14px; height: 14px; border-radius: 4px; background: #fff; border: 2px solid var(--action); box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.row.action .ico { width: 20px; height: 20px; color: var(--action); flex: none; }
/* "Kurs anlegen" in three steps (CourseCreationSheet). */
.kmkhead .pill { font-size: 15px; }
.kmkcancel { color: var(--text2) !important; }
.kmkstep { margin-top: 10px; }
.kmkstep h1 { margin: 4px 0 2px; }
.kmkcount b { margin-left: auto; font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; min-width: 34px; text-align: right; }
.kmklater { display: block; margin: 14px auto 0; font-size: 16px; font-weight: 600; color: var(--action); }
.kmklater.off, .kmklater[disabled] { color: var(--text3); }
.kmkchips { display: flex; gap: 8px; margin-top: 4px; }
.kmkchips button { flex: 1; height: 36px; border-radius: 12px; background: var(--card); color: var(--action); font-size: 14px; font-weight: 600; box-shadow: var(--shadow); }
.kmkhole { gap: 6px; padding-bottom: 2px; }
.kmkhole .kmkno { flex: none; width: 26px; color: var(--text2); font-weight: 700; font-variant-numeric: tabular-nums; }
.kmkhole .num { width: 58px; text-align: center; font-size: 15px; font-variant-numeric: tabular-nums; }
.kmkhole .step { width: 30px; height: 30px; }
.kmklen { margin-left: auto; display: flex; align-items: baseline; gap: 4px; }
.kmklen input { width: 54px; text-align: right; padding: 6px 8px; font-variant-numeric: tabular-nums; }
.row.kmksurvey { gap: 8px; min-height: 30px; padding-top: 4px; padding-bottom: 10px; font-size: 14px; }
.row.kmksurvey .name { font-size: 14px; font-weight: 600; }
.kmksurvey.under, .kmksurvey.under .name { color: var(--action); }
.kmksurvey.ocher, .kmksurvey.ocher .name { color: var(--ocher); }
.kmksurvey.tert, .kmksurvey.tert .name { color: var(--text3); }
.kmkfield { display: flex; flex-direction: column; align-items: stretch !important; gap: 2px; }
.kmkfield input { width: 100%; background: none; box-shadow: none; padding: 4px 0; }
.ksheetlike .kanswer { flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
.ksheetlike .kanswer .chips { margin-left: auto; }
.row input[data-knin] { width: 100%; background: none; box-shadow: none; padding: 6px 0; margin: 0; }
.kmkhole + .kmksurvey { border-top: 0; }
.ksheetlike .kanswer .name { flex: 1 0 100%; overflow: visible; }
.ksheetlike .kanswer .chips { margin: 6px 0 0; width: 100%; justify-content: stretch; }
.ksheetlike .kanswer .chips button { flex: 1; }
.kinfo { display: flex; align-items: flex-start; gap: 8px; }
.kinfo .ico { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--text2); }
.kgrip { flex: none; width: 30px; height: 34px; display: grid; place-items: center; color: var(--text3); font-size: 20px; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
.krev.dragging { position: relative; z-index: 5; background: var(--card); box-shadow: 0 4px 16px rgba(0,0,0,.18); }

/* Round photos (2026-11-19): a strip of thumbnails and the big picture. Read only. */
.photostrip { display: flex; gap: 10px; overflow-x: auto; padding: 2px 0 8px; -webkit-overflow-scrolling: touch; }
.photo { flex: 0 0 auto; width: 104px; border: 0; background: none; padding: 0; text-align: left; color: inherit; font: inherit; }
.photo img, .photo .ph { display: block; width: 104px; height: 104px; object-fit: cover; border-radius: 14px; background: var(--fill); }
.photo small { display: block; margin-top: 4px; width: 104px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11.5px; color: var(--text2); }
.photobig { display: block; width: 100%; max-height: 62vh; object-fit: contain; border-radius: 14px; background: var(--fill); }

/* "Dirk ist dabei" (2026-11-20): a few seconds at the top of the round, over
   whatever is there — the iPhone's `ArrivalBanner`. */
.arrival { position: fixed; top: calc(env(safe-area-inset-top, 0px) + 64px); left: 50%; transform: translateX(-50%); z-index: 60;
  display: inline-flex; align-items: center; gap: 8px; max-width: calc(100vw - 32px); padding: 9px 16px; border-radius: 999px;
  background: var(--action); color: #fff; font-size: 15px; font-weight: 700; box-shadow: 0 6px 20px rgba(0,0,0,.18);
  animation: arrival-in .25s ease-out; pointer-events: none; }
.arrival .ico { width: 18px; height: 18px; flex: none; }
.arrival span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@keyframes arrival-in { from { opacity: 0; transform: translate(-50%, -8px); } to { opacity: 1; transform: translate(-50%, 0); } }
@media (prefers-reduced-motion: reduce) { .arrival { animation: none; } }
/* "Steht doppelt auf der Karte" under a name (`DeviceRowsSection`). */
.row .name small.warnline { color: var(--over); }
.line.meta.warn { color: var(--over); }
