/* OanserHub — Verwaltung
   Believes: this is the club's record, and it has to be right.
   Dense tables at every width, by default. Brand colour only for status
   and identity, never decoration. Left rail on desktop. */

*,*::before,*::after{box-sizing:border-box}

:root{
  --bg:#FFFFFF;
  --sunk:#F6F7F8;
  --sunk-2:#EDEFF1;
  --line:#E1E4E7;
  --line-2:#CBD0D5;

  --ink:#15181C;
  --ink-2:#4E555D;
  --ink-3:#7C858E;

  --on-ink:#FFFFFF;       /* text on an ink-filled surface */

  --id:#B8940A;           /* club yellow, darkened to carry text on white */
  --own:#4E555D;          /* what the app's admin alone manages (Administration): a grey line, as --ink-2 */
  --unconf:#B8940A;       /* club yellow, as --id: an unconfirmed free name */
  --id-bg:#FDF6D8;
  --id-bg-2:#FAF0C8;
  --ok:#256B1B;           /* club green, darkened for AA */
  --ok-line:#BBD8B5;
  --bad:#A8231E;          /* club red, darkened for AA */
  --bad-line:#E7BEBC;
  --wait:#A83A0C;         /* club orange, darkened for AA */
  --wait-line:#E8C7B4;
  --wait-bg:#FDF1EA;
  --on-wait:#FFFFFF;
  --shadow:rgba(0,0,0,.14);

  /* Trainingsbeteiligung: one grey ramp, more = darker; validated as an ordinal ramp
     against --bg (dataviz validate_palette.js --ordinal): lightest step 2.17:1 */
  --cal-1:#A9B1B9;
  --cal-2:#7C858E;
  --cal-3:#4E555D;
  --cal-4:#15181C;

  /* Kalender: an event other than training or game — petrol, away from the club's gold and from
     the status colours; as text 5.4:1 on --bg */
  --k-event:#0E7490;
  --kx-event:#0E7490;

  --rail:236px;
  --pad:16px;
  color-scheme:light;
}

/* The same record after hours: neutral greys, no tint. Status colours
   lighten instead of darken so they still reach AA on the dark ground. */
:root[data-theme="dark"]{
  --k-event:#3FB3CC;
  --kx-event:#3FB3CC;
  --bg:#131518;
  --sunk:#1B1E22;
  --sunk-2:#252930;
  --line:#2C3138;
  --line-2:#3D444D;

  --ink:#E7EAED;
  --ink-2:#AEB5BD;
  --ink-3:#8A939C;
  --on-ink:#131518;

  --id:#E0BA22;
  --own:#AEB5BD;
  --unconf:#E0BA22;
  --id-bg:#2A2410;
  --id-bg-2:#342D13;
  --ok:#6BBF5C;
  --ok-line:#2F5A28;
  --bad:#EF7A74;
  --bad-line:#6B2B28;
  --wait:#F08A55;
  --wait-line:#6B3A22;
  --wait-bg:#2B1A11;
  --on-wait:#131518;
  --shadow:rgba(0,0,0,.55);
  /* on the dark ground more = brighter; its own steps, validated against #131518: 2.31:1 */
  --cal-1:#4A525C;
  --cal-2:#7C858E;
  --cal-3:#AEB5BD;
  --cal-4:#E7EAED;
  color-scheme:dark;
}

html{-webkit-text-size-adjust:100%}
body{
  margin:0;background:var(--bg);color:var(--ink);
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  font-size:13.5px;line-height:1.45;-webkit-font-smoothing:antialiased;
  font-variant-numeric:tabular-nums;
}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer;font-variant-numeric:tabular-nums}
a{color:var(--ink)}
[hidden]{display:none!important}
:focus-visible{outline:2px solid var(--ink);outline-offset:2px}

.skip{position:absolute;left:-9999px;top:0;background:var(--ink);color:var(--on-ink);padding:10px 14px;z-index:99}
.skip:focus{left:0}

.shell{display:flex;min-height:100vh}

/* ---------- left rail (desktop) ---------- */
.rail{
  width:var(--rail);flex:none;border-right:1px solid var(--line);background:var(--sunk);
  padding:16px 0;position:sticky;top:0;height:100vh;overflow:auto;display:none;flex-direction:column;
}
@media (min-width:920px){.rail{display:flex}}
.rail .wm{display:block;padding:2px 18px 16px;color:inherit;text-decoration:none}   /* the logo is the way home */
/* the logo: wordmark with the strap under it, the player beside both; one variant per theme */
.brand{display:flex;align-items:stretch;gap:10px}
.brand .bw{display:flex;flex-direction:column;justify-content:center;min-width:0}
.brand .word{display:block;width:100%;max-width:150px;height:auto}
.brand small{display:block;font-size:9px;letter-spacing:.14em;color:var(--ink-3);font-weight:500;margin-top:6px;white-space:nowrap}
.brand .pl{display:block;height:48px;width:auto;flex:none}
/* the phone's bar: the wordmark instead of the page title (the page's own heading says where you are) */
.mark{display:flex;align-items:center;flex:none;margin-right:auto}
.mark .wmk{height:24px;width:auto;display:block}
/* Wappen: the club's crest (a JPG on white, from handball.net) as a round white plate beside a team where one picks
   it — on the dark ground too */
.crest{display:block;flex:none;width:26px;height:26px;border-radius:50%;background:#FFFFFF;object-fit:contain;padding:1px;border:1px solid var(--line)}
.menu button .crest{display:inline-block;vertical-align:middle;margin:-4px 10px -2px 0}
.ob.tm .obh .crest{width:34px;height:34px;align-self:flex-start;margin-top:2px}
.ob.tm .obh .tmn{flex:1;min-width:0}
.ob.tm .tmn .tlg{font-size:12px;color:var(--ink-3)}      /* the league beside the name, only for two of one club */
@media (max-width:919px){.bar .where{display:none}}
@media (min-width:920px){.mark{display:none}}
:root[data-theme="dark"] .brand .light,:root[data-theme="dark"] .mark .light,
:root:not([data-theme="dark"]) .brand .dark,:root:not([data-theme="dark"]) .mark .dark{display:none}
.rail nav{display:flex;flex-direction:column}
.rail nav button{
  display:flex;align-items:center;gap:10px;text-align:left;padding:9px 18px;min-height:38px;
  font-size:13.5px;color:var(--ink-2);border-left:2px solid transparent;
}
.rail nav button[aria-current="true"]{background:var(--bg);color:var(--ink);font-weight:600;border-left-color:var(--id)}
.rail nav button .n{margin-left:auto;font-size:11px;background:var(--sunk-2);padding:1px 6px;color:var(--ink-2)}
.rail nav button .n.hot{background:var(--wait);color:var(--on-wait)}
/* the same counter in the "Mehr" menu and on a tab button */
.menu button .n,.b .n{font-size:11px;font-weight:700;padding:1px 6px;background:var(--sunk-2);color:var(--ink-2)}
.menu button .n{float:right}
.menu button .n.hot,.b .n.hot{background:var(--wait);color:var(--on-wait)}

/* ---------- the bar at the bottom (phone) ----------
   The most used areas one tap away, the rest under "Mehr". The current one as in the rail: ink and
   the club's stripe. It steps aside only for the keyboard (body.typing), an open picker keeps it. */
.tabbar{position:fixed;left:0;right:0;bottom:0;z-index:30;display:flex;background:var(--bg);
  border-top:1px solid var(--line);padding-bottom:env(safe-area-inset-bottom,0px)}
.tabbar button{flex:1;min-width:0;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:2px;min-height:54px;padding:6px 2px 4px;font-size:11px;color:var(--ink-3);border-top:2px solid transparent;margin-top:-1px}
.tabbar svg{width:22px;height:22px;display:block}
.tabbar button[aria-current="true"]{color:var(--ink);font-weight:600;border-top-color:var(--id)}
.tabbar .n{position:absolute;top:3px;left:calc(50% + 7px);font-size:10px;font-weight:700;line-height:1.3;padding:0 4px;
  background:var(--wait);color:var(--on-wait)}
@media (min-width:920px){.tabbar{display:none}}
@media (max-width:919px){main{padding-bottom:calc(84px + env(safe-area-inset-bottom,0px))}}
.lp .tabbar,body.typing .tabbar{display:none}
.railfoot{margin-top:auto;padding:16px 18px 4px;font-size:11px;color:var(--ink-3);border-top:1px solid var(--line)}

.col{flex:1;min-width:0;display:flex;flex-direction:column}

/* ---------- bar ---------- */
.offbar{padding:8px var(--pad);font-size:13px;color:var(--ink);background:var(--wait-bg);border-bottom:1px solid var(--wait)}   /* ohne Netz (app.js: netBar) */
.offbar[hidden]{display:none}
.visitbar{padding:8px var(--pad);font-size:13px;color:var(--ink);background:var(--wait-bg);border-bottom:1px solid var(--wait)}   /* der App-Admin in einer fremden Mannschaft (app.js: visitBar) */
.visitbar[hidden]{display:none}
.bar{
  position:sticky;top:0;z-index:20;background:var(--bg);border-bottom:1px solid var(--line);
  padding:calc(env(safe-area-inset-top,0px) + 9px) var(--pad) 9px;
  display:flex;align-items:center;gap:12px;min-height:52px;
}
.where{flex:1;min-width:0;font-size:13.5px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.where small{color:var(--ink-3);font-weight:400}
/* the role switch is prominent — this design assumes you hold an Amt */
.as{
  display:flex;align-items:center;gap:8px;min-height:36px;padding:0 12px;flex:0 1 auto;min-width:0;
  border:1px solid var(--line-2);font-size:12.5px;white-space:nowrap;background:var(--bg);
}
.as b{font-weight:700;min-width:0;overflow:hidden;text-overflow:ellipsis}   /* a long name shortened, never wider than the phone */
.asn{display:flex;align-items:baseline;gap:4px;min-width:0}
.asn b{flex:none}                                 /* the role stays whole, the team gives way */
.asn small{color:var(--ink-3);font-size:12.5px;max-width:140px;min-width:0;overflow:hidden;text-overflow:ellipsis}
.asn small::before{content:"· "}
.as::after{content:"▾";color:var(--ink-3);font-size:10px}

main{flex:1;padding:0 var(--pad) 70px;max-width:1160px;width:100%}
@media (min-width:920px){main{padding:0 26px 70px}}

/* ---------- headings ---------- */
.vh{padding:22px 0 0}
.vh h1{margin:0;font-size:22px;font-weight:700;letter-spacing:-.015em}
.vh h1 .st{vertical-align:middle;position:relative;top:-3px;margin-left:6px;font-size:10.5px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}   /* Vorschau, Experimentell: beside the title, centred on it */
.vh p{margin:4px 0 0;color:var(--ink-3);font-size:12.5px}

.sec{display:flex;align-items:center;gap:10px;margin:26px 0 0;padding-bottom:7px;border-bottom:1px solid var(--line-2)}
.sec h2{margin:0;font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-2);font-weight:700}
.sec .r{margin-left:auto;font-size:12px;color:var(--ink-3)}
.sec button.t,.gap.one button.t{font-size:11.5px;color:var(--ink-2);border:1px solid var(--line-2);padding:4px 9px;min-height:28px}
.sec button.t[aria-pressed="true"]{background:var(--ink);color:var(--on-ink);border-color:var(--ink)}
.sec .r .fwall{font-size:12px;color:var(--ink-2);background:none;border:0;padding:6px 0;margin-right:10px;cursor:pointer}   /* Andere Mannschaften: all boxes at once — text, not a second button */
.sec .r .fwall{display:inline-flex;align-items:center;white-space:nowrap}
.sec .r:has(.fwall){display:flex;align-items:center;flex-shrink:0}     /* switch and Bearbeiten stay side by side; the title gives way */
.sec .r .fwall .ar{font-size:15px;margin-right:4px;vertical-align:-2px}
.sec .r .fwall .lbs{display:inline-grid;text-align:right}
.sec .r .fwall .lbs>span{grid-area:1/1}
.sec .r .fwall .lbs>.off{visibility:hidden}

.note{font-size:12.5px;color:var(--ink-3);margin:10px 0 0;max-width:46rem}
/* a note that not all data is there (yet): orange like everything waiting, with its icon (never colour alone) */
.note.info{color:var(--ink);padding:8px 11px;border-left:3px solid var(--wait);background:var(--wait-bg)}
.note.info::before{content:"ℹ";color:var(--wait);font-weight:700;margin-right:7px}

/* ---------- tables: the whole design ---------- */
table.t{width:100%;border-collapse:collapse;margin-top:2px}
table.t caption{text-align:left;font-size:12px;color:var(--ink-3);padding:8px 0}
table.t th{
  text-align:left;font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-3);
  font-weight:600;padding:8px 10px;border-bottom:1px solid var(--line-2);white-space:nowrap;
  background:var(--bg);
}
table.t th.w{white-space:normal}   /* a head that may wrap: stacked roles (salesCols) */
table.t td{padding:8px 10px;border-bottom:1px solid var(--line);vertical-align:top}
table.t th.n,table.t td.n{text-align:right}
table.t th.mid{text-align:center}
table.t th:first-child,table.t td:first-child{padding-left:0}
table.t th:last-child,table.t td:last-child{padding-right:0}
table.t tbody tr:hover td{background:var(--sunk)}
table.t tr.me td{background:var(--id-bg)}
table.t tr.sum td{font-weight:600;background:var(--sunk)}   /* a total under the rows (gsTeamRows) */
table.t tr.sum.s1 td{border-top:2px solid var(--line)}
table.t tr.me:hover td{background:var(--id-bg-2)}
/* the league table: six columns on the phone without scrolling sideways — narrower gaps */
.lt table.t th,.lt table.t td{padding-left:4px;padding-right:4px}
.lt table.t th:first-child,.lt table.t td:first-child{padding-left:0}
.lt table.t th:last-child,.lt table.t td:last-child{padding-right:0}
table.t td .s{display:block;color:var(--ink-3);font-size:11.5px;margin-top:2px}
.uopen .ar{margin-right:5px}
.obt{margin:14px 0;border-bottom:1px solid var(--line);padding-bottom:10px}   /* Wer ist dabei: one team, folded when complete */
.obt summary{cursor:pointer;padding:6px 0}
.obc{display:flex;flex-wrap:wrap;gap:5px;margin:6px 0 0 18px}   /* the count per state, under the team's name */
.obt button.t{font-size:11.5px;color:var(--ink-2);border:1px solid var(--line-2);padding:4px 9px;min-height:28px;white-space:nowrap;background:none}
.obr{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;padding:9px 0;border-top:1px solid var(--line)}   /* a player: wraps, never scrolls */
.obn{flex:1 1 7em;min-width:0;font-weight:500}
.obs{display:flex;flex-direction:column;align-items:flex-start;gap:3px}
.obs .s{font-size:11.5px;color:var(--ink-3)}
.obr button.t{margin-left:auto}
.obn{display:flex;flex-direction:column;align-items:flex-start;gap:2px}
.obn .nmfold{padding:0}
.obn .s,.obu{font-size:11.5px;color:var(--ink-3)}
.obu{margin-left:auto;text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}   /* Nutzer: how often, how many pages */                    /* wrapped onto its own line: still at the right */
/* Nutzer: a person opened under their row — three boxes, each its count big in the head */
.uteams{display:grid;gap:8px;padding:2px 0 12px 18px}
.ubox{border:1px solid var(--line);background:var(--sunk);padding:8px 12px 10px}
.ubox h4{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:0 0 6px;font-size:11px;font-weight:600;
  letter-spacing:.08em;text-transform:uppercase;color:var(--ink-3)}
.ubox h4 b{font-size:20px;font-weight:600;letter-spacing:0;color:var(--ink);font-variant-numeric:tabular-nums}
.ubox ul{list-style:none;margin:0;padding:0}
.ubox li{padding:3px 0;font-size:13.5px;line-height:1.35}
.ubox .s{color:var(--ink-3);font-size:12px;margin:0}
table.t td .s.urgent{color:var(--wait);font-weight:600}   /* a date with gaps inside the gap notice's window */
table.t td b{font-weight:600}
table.t tr.sub td{background:var(--sunk);font-size:12.5px}
table.t tr.sub td .k{color:var(--ink-3)}
table.t tr.sub td > *{max-width:calc(100vw - 2 * var(--pad))}  /* a slot's detail stays on screen in a wide table */

/* DdW: one name per line; a free name from the old list carries the unconfirmed colour on its state word */
.dn{display:block;white-space:nowrap}
.dn .unc{color:var(--unconf);font-weight:600}
table.t td .dn.k,table.t td .k{color:var(--ink-3)}
table.t td .st{margin-top:4px}
.in.wide{flex:1;min-width:220px}
.inl{display:inline-flex;align-items:center;gap:6px;color:var(--ink-2)}
.wrapx{overflow-x:auto;-webkit-overflow-scrolling:touch}

/* a length bar inside a cell — one hue, never categorical */
.q{display:block;height:4px;background:var(--sunk-2);margin-top:5px}
.q{display:flex}
.q i{display:block;height:100%;background:var(--line-2)}
.q i.dk{background:var(--ink)}       /* Dienste: schon geleistet, vor dem eingeteilten Rest */
table.t td.qc{width:100%}               /* the bar's column takes what the number leaves: its bar reaches across */
table.t td.qc + td.n{white-space:nowrap}

/* gap notice: free sales slots soon. Orange edge + tint, text carries it. */
.gap{margin-top:16px;padding:11px 13px;border:1px solid var(--wait-line);border-left:4px solid var(--wait);
  background:var(--wait-bg)}
.gap b{display:block;color:var(--wait);font-size:13.5px}
.gap .s{display:block;margin-top:4px;font-size:12.5px;color:var(--ink)}
.gap .bs{margin-top:10px}
/* on Home only one line, its button the way to Verkauf (as a Home section's): no tint, a thin edge */
.gap.one{display:flex;align-items:center;gap:12px;background:none;border-left-width:3px;padding:8px 12px}
.gap.one b{font-weight:600;font-size:13px}
.gap.one .go{margin-left:auto;flex:none;white-space:nowrap}
.gap.one.bad{border-color:var(--bad-line);border-left-color:var(--bad)}.gap.one.bad b{color:var(--bad)}   /* Home: Abrechnung past its deadline */
/* two buttons: text takes the row, the buttons drop below it on the phone instead of squeezing it */
.gap.one.wrap{flex-wrap:wrap;row-gap:8px}.gap.one.wrap .gt{flex:1 1 15em}
.gap.one .acts{display:flex;gap:8px;margin-left:auto;flex:none}.gap.one .acts button{white-space:nowrap}
.gap.one .gt{min-width:0}                        /* how many on top, when below — two lines on purpose */
.gap.one .gt .s{display:block;font-size:12px;color:var(--ink-2);margin-top:2px}

/* a slot inside a table cell: the name, or "frei". One per line. */
.rl{display:block;font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-3);margin-top:4px}
.rl ~ .rl{margin-top:8px}   /* stacked roles in one cell (salesCols): each under its name */
/* the Verkaufsplan on the phone: its three columns just fit — less air between them */
@media (max-width:640px){.stk table.t td{padding-left:4px;padding-right:4px}.stk table.t td:first-child{padding-left:0}.stk table.t td:last-child{padding-right:0}}
.sl{display:block;width:100%;text-align:left;margin-top:3px;padding:4px 7px;min-height:30px;
  border:1px solid var(--line);font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
td>.sl:first-child{margin-top:0}
button.sl:hover{border-color:var(--line-2)}
.sl.free{color:var(--ink-2);border-style:dashed;border-color:var(--ink-3)}   /* free: as readable as a name, the dashed edge says so */
.sl.free.urgent{color:var(--wait);border-color:var(--wait)}  /* the gap notice's slots */
.sl.pend{color:var(--ink);border-color:var(--wait-line);border-left:3px solid var(--wait);
  background:repeating-linear-gradient(135deg,var(--wait-bg) 0 5px,var(--bg) 5px 10px)}   /* asked, not yet confirmed: hatched, an orange edge */
.sl.pend .stw,.sl.pend:not(.unconf){font-weight:400}
.sl.pend{white-space:normal}   /* a name with its state (an X abgeben) breaks onto a second line rather than widening the plan past the phone */
.sl.pend:not(.unconf) .stw{color:var(--wait);font-weight:600}
/* free name, nobody from the squad yet: grey name, yellow dashed border and state word */
.sl.pend.unconf{color:var(--ink-2);border:1px dashed var(--unconf);background:none}
.sl.pend.unconf .stw{color:var(--unconf);font-weight:600}
.sl.mine{background:var(--id-bg);border-color:var(--id);font-weight:600}
.sl[aria-expanded="true"]{outline:2px solid var(--ink);outline-offset:-1px}
.in{border:1px solid var(--line-2);padding:6px 9px;font:inherit;min-height:36px;background:var(--bg);
  color:var(--ink);border-radius:0;min-width:0;max-width:100%}
@media (max-width:919px){.in{min-height:44px}}
table.t td .in{width:100%;min-width:92px}

/* Verkauf: the link for the WhatsApp group — the address and the message as it will arrive */
.share{margin-top:12px;padding:12px 13px;border:1px solid var(--line-2);background:var(--sunk);max-width:46rem}
.share .note:first-child{margin-top:0}
.share .k{margin-top:12px;font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-2);font-weight:700}
.share .url{display:block;width:100%;margin-top:5px}
.share .msg{margin-top:5px;padding:9px 11px;background:var(--bg);border:1px solid var(--line);
  white-space:pre-wrap;overflow-wrap:anywhere}

/* The page behind the link: the record without the office around it */
.lp .rail,.lp .bar{display:none}
.lp main{margin:0 auto;max-width:760px}
.lhead{padding:22px 0 4px;border-bottom:1px solid var(--line)}
.lhead .wm .word{max-width:170px}
.lhead h1{margin:18px 0 4px;font-size:20px;letter-spacing:-.01em}
.lhead p{margin:0 0 14px;color:var(--ink-2);max-width:40rem}
table.t td .in[type="date"]{min-width:140px}

/* ---------- status ---------- */
.st{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:600;
  border:1px solid var(--line-2);padding:1px 6px;color:var(--ink-2);white-space:nowrap}
/* a fine's amount and its state (Kasse): right, in one line where it fits — the amount outermost, the state
   wraps under it on a narrow screen */
.etag{display:flex;flex-direction:row-reverse;flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:4px 8px}
.etag>span:first-child{min-width:3.6em;text-align:right;font-variant-numeric:tabular-nums}   /* every amount as wide: the states line up */
/* on the phone the state goes under the amount: a narrow column, the text keeps the width */
@media (max-width:600px){.etag{flex-direction:column;align-items:flex-end;flex-wrap:nowrap}.etag .st{white-space:normal;text-align:right;max-width:7.5em}}
.st.ok{color:var(--ok);border-color:var(--ok-line)}
.st.bad{color:var(--bad);border-color:var(--bad-line)}
.prgone{color:var(--bad)}                                    /* Personen: over a month not here */
.st.wait{color:var(--wait);border-color:var(--wait-line)}
.st.src{border-style:dashed;color:var(--ink-3);font-weight:500}

/* ---------- figures row ---------- */
/* the Strafenkasse above the figures: the total big, a bar paid · open, the split under it */
.till{border:1px solid var(--line);border-bottom:0;margin-top:14px;padding:13px 13px 12px}
.till+.figs{margin-top:0;grid-template-columns:repeat(2,1fr)}   /* two figures under it, at every width */
.till+.figs .f:last-child{border-right:0}
.till .l{font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-3);font-weight:600}
.till .v{font-size:30px;font-weight:700;letter-spacing:-.02em;margin-top:3px;line-height:1.1;font-variant-numeric:tabular-nums}
.till .v small{font-size:13px;color:var(--ink-3);font-weight:400;letter-spacing:0}
.tbar{display:flex;gap:2px;height:10px;margin-top:10px}
.tbar i{display:block;height:100%}
.tsplit{display:flex;flex-wrap:wrap;gap:4px 16px;margin-top:8px;font-size:12.5px;color:var(--ink-2)}
.tsplit>span{display:inline-flex;align-items:center;gap:6px}
.tsplit b{color:var(--ink);font-variant-numeric:tabular-nums}
.tsplit>span:last-child{flex-basis:100%;color:var(--ink-3);font-size:11.5px}
.till .tsub{margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}   /* the Bierkasse under the Strafenkasse */
.till .tsub .v{font-size:22px}
.till .tsub .tsplit>span:last-child{flex-basis:auto;color:var(--ink-2);font-size:12.5px}
.till.lone{border-bottom:1px solid var(--line)}                         /* the Bierkasse's: no figures under it */
.till.lone+.till.lone{margin-top:10px}
.buynote{flex:1;min-width:140px}
.buyf{display:grid;gap:8px;margin:4px 0 6px}
.buyf .eact .push{margin-left:auto}
.buyf .in{min-height:30px;padding:0 8px}
/* a running Abrechnung (Kasse): its line highlighted, orange — red once the deadline is past */
p.due{padding:8px 11px;border-left:3px solid var(--wait);background:var(--wait-bg)}
p.due.bad{border-left-color:var(--bad)}
p.due .st{border:0;padding:0;font-size:inherit}
p.due .dueln{display:block;font-size:13px;margin-top:3px}   /* the second line: days left and the Abrechnung's date */   /* the days left as words in the line, not a box in the box */
.figs{display:grid;grid-template-columns:repeat(2,1fr);border:1px solid var(--line);margin-top:14px}
@media (min-width:700px){.figs{grid-template-columns:repeat(4,1fr)}}
.figs .f{padding:11px 13px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}
button.f{background:none;border-top:0;border-left:0;font:inherit;color:inherit;text-align:left;cursor:pointer;width:100%;display:flex;flex-direction:column;justify-content:flex-start}   /* Home: a figure that opens its page */
.figs.mine .f{display:grid;grid-row:span 3;grid-template-rows:subgrid;row-gap:0;align-content:start}   /* label, number, note: each on one line across the row, however long the label */
.figs .f:nth-child(2n){border-right:0}
@media (min-width:700px){.figs .f{border-right:1px solid var(--line);border-bottom:0}
  .figs .f:last-child{border-right:0}.figs .f:nth-child(2n){border-right:1px solid var(--line)}}
.figs .l{font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-3);font-weight:600}
.figs .v{font-size:22px;font-weight:700;letter-spacing:-.02em;margin-top:3px;line-height:1.1}
.figs .v small{font-size:12.5px;color:var(--ink-3);font-weight:400}
.figs .n{font-size:11.5px;color:var(--ink-3);margin-top:2px}

/* ---------- buttons ---------- */
.b{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:0 13px;
  border:1px solid var(--line-2);font-size:12.5px;font-weight:600;background:var(--bg)}
.b.p{background:var(--ink);color:var(--on-ink);border-color:var(--ink)}
a.b{text-decoration:none}
.b[disabled]{opacity:.42;cursor:default}
.bs{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
@media (max-width:919px){.b{min-height:44px}}

.field{display:block;margin-top:11px;max-width:26rem}
.field span{display:block;font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;
  color:var(--ink-3);font-weight:600;margin-bottom:4px}
.field span em{font-style:normal;text-transform:none;letter-spacing:0}   /* a hint in the label, in normal case */
.field select,.field input{width:100%;border:1px solid var(--line-2);padding:8px 10px;font:inherit;
  min-height:40px;background:var(--bg);color:var(--ink);border-radius:0}
@media (max-width:919px){.field select,.field input{min-height:46px}}

/* ---------- menu, flash ---------- */
.menu{position:fixed;z-index:40;background:var(--bg);border:1px solid var(--line-2);min-width:210px;
  box-shadow:0 10px 32px var(--shadow);max-height:78vh;overflow:auto}
.menu button{display:block;width:100%;text-align:left;padding:10px 14px;font-size:13.5px;min-height:42px}
.menu button[aria-selected="true"]{background:var(--id-bg);font-weight:600}
.menu button:hover{background:var(--sunk)}
.menu .lbl{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-3);
  padding:10px 14px 3px;font-weight:700}
.menu .sep{height:1px;background:var(--line);margin:5px 0}

.flash{position:fixed;left:50%;bottom:26px;transform:translateX(-50%);background:var(--ink);color:var(--on-ink);
  padding:10px 16px;font-size:12.5px;opacity:0;pointer-events:none;transition:opacity .16s;z-index:50;
  max-width:calc(100vw - 32px)}
.flash.on{opacity:1}
@media (max-width:919px){.flash{bottom:calc(70px + env(safe-area-inset-bottom,0px))}}   /* above the bar at the bottom */

@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}

/* labels on a player: SpielerPlus plain, OanserHub's own marked with the club colour */
.chips{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}
.st.own{border-color:var(--id);color:var(--ink)}
.st .x{border:0;background:none;color:var(--ink-3);font:inherit;padding:0 0 0 6px;margin:0;cursor:pointer;line-height:1}
.st .x:hover{color:var(--ink)}
.chips:has(> .pp.sm){align-items:center}
.chips:has(> .pp.sm) > .st{box-sizing:border-box;height:30px;min-height:0;margin:0;font-size:12px}      /* beside its "+ …" choice: chips as tall as it, the × a better target */
button.st.sug{border-style:dashed;border-color:var(--id);background:none;font-family:inherit;cursor:pointer;color:var(--ink-2)}
button.st.sug:hover{color:var(--ink)}
td input.in.sub{display:block;margin-top:6px;font-size:13px;color:var(--ink-2)}
.chips .b.tog{min-width:0;padding:4px 8px;font-size:12px}
.ob{padding:14px 0 16px;border-bottom:1px solid var(--line)}
.ob.prop{padding:0 0 4px;border-bottom:0}            /* a proposal: its row, and opened its diff under it */
.ob.prop > .mrow .b{flex:none}
.fbtext{white-space:pre-line;margin:6px 0}
.fbimg{display:block;max-width:min(100%,320px);height:auto;border:1px solid var(--line)}
.ob .k{display:block;margin-top:10px;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-3)}
.ob .bs{align-items:flex-end}
.ob .oh{flex:1;min-width:140px;font-size:13.5px}
.ob .oh .k{margin:0 0 6px}
/* Ämter, admin: the Amt's name opens its editor under the row */
.oedf{display:block;width:100%;margin:0;padding:0}
.oedf .ar{color:var(--ink-3);font-size:11px}
.oedf .s{display:block;font-size:12px;color:var(--ink-3)}
tr.oedr>td{padding-top:0}
.oed{padding:4px 0 10px}
.oed .k{display:block;margin:12px 0 6px;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-3)}
.oed .field{display:block;margin:0}
.oed .bs{align-items:flex-end;margin-top:12px}
.moving{margin-top:12px;padding:10px 13px;border:1px solid var(--line-2);border-left:4px solid var(--ink);background:var(--sunk)}
.moving b{display:block;margin-bottom:2px}

/* Trainingsbeteiligung: the commit grid. A column per week, Monday on top;
   13px squares with a 3px gap, the whole thing scrolls sideways on its own. */
.calw{overflow-x:auto;margin-top:12px;padding-bottom:4px}
.cal{display:grid;grid-template-columns:22px auto;grid-template-rows:14px auto;column-gap:4px;width:max-content}
.cal .wd{grid-row:2;display:grid;grid-template-rows:repeat(7,13px);row-gap:3px;font-size:10px;color:var(--ink-3);line-height:13px}
.cal .ms{grid-column:2;display:grid;grid-template-columns:repeat(var(--weeks),13px);column-gap:3px;font-size:10px;color:var(--ink-3);white-space:nowrap}
.cal .grid{grid-column:2;display:grid;grid-template-rows:repeat(7,13px);grid-auto-flow:column;grid-auto-columns:13px;gap:3px}
.c{display:inline-block;width:13px;height:13px;border-radius:3px;background:var(--sunk-2)}
.c.l0{background:var(--sunk)}
.c.l1{background:var(--cal-1)}
.c.l2{background:var(--cal-2)}
.c.l3{background:var(--cal-3)}
.c.l4{background:var(--cal-4)}
.c.lx{background:none;box-shadow:inset 0 0 0 1px var(--line)}   /* App-Verwaltung → Personen: not counted yet — nothing, not 0 */
.c.ln{background:var(--bg);box-shadow:inset 0 0 0 1.5px var(--cal-2)}   /* a training without an answer */
.c.lm{background:repeating-linear-gradient(135deg,var(--cal-4) 0 2px,var(--cal-1) 2px 4.5px)}   /* unsicher: hatched, between yes and no */
.c.out{background:none}
.cal .c[data-cal]{cursor:pointer}
.cal .c.on{outline:2px solid var(--ink);outline-offset:1px}
.calwho{align-items:flex-start}                       /* the Kalender's head: whom to show, and table or grid beside it */
.calwho .field{flex:1 1 12rem;margin-top:0}
.calwho > .b{margin-top:21px;min-height:46px}
.calkey{display:flex;flex-wrap:wrap;align-items:center;gap:5px 6px;margin-top:10px;font-size:11.5px;color:var(--ink-3)}
.calkey span:not(.c){margin-right:6px}
.calkey .kp{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.calkey .kp span{margin-right:0}

/* All players × trainings: names pinned on the left while the trainings scroll */
.mx{display:grid;grid-template-columns:118px repeat(var(--days),13px) 44px;gap:3px;width:max-content;align-items:center}
.mx .nm{position:sticky;left:0;z-index:1;background:var(--bg);align-self:stretch;min-height:13px;font-size:11.5px;white-space:nowrap;overflow:hidden;
  text-overflow:ellipsis;padding-right:6px;line-height:13px}
.mx .nm.me{font-weight:700}
.mx .m,.mx .d{font-size:9.5px;color:var(--ink-3);text-align:center;white-space:nowrap;line-height:12px}
.mx .m{text-align:left;overflow:visible}
.mx .qt{font-size:11px;color:var(--ink-2);text-align:right;font-variant-numeric:tabular-nums}
.mx .c[data-cal]{cursor:pointer}
.mx .c.on{outline:2px solid var(--ink);outline-offset:1px}

/* A section without data yet: a visible, labelled placeholder (docs/02-brand.md) */
.soon{margin-top:18px;padding:22px 16px;border:1.5px dashed var(--line-2);background:var(--sunk);max-width:46rem}
.soon b{display:block;font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-2)}
.soon span{display:block;margin-top:6px;color:var(--ink-2)}

/* A number that unfolds its entries: looks like the number, underlined to show it opens */
.lnk{font:inherit;font-weight:600;color:var(--ink);text-decoration:underline;text-underline-offset:3px;
  text-decoration-color:var(--line-2);padding:6px 4px;margin:-6px 0;min-width:32px}   /* big to tap, level with its row */
.lnk[aria-expanded="true"]{text-decoration-color:var(--ink)}
/* App-Verwaltung → Funktionen, Teams and Personen: the name left, and on the phone the flags under it, not beside */
.fstk .lnk{text-align:left;padding-left:0}
@media (max-width:640px){.fstk table.t thead{display:none}.fstk table.t tr,.fstk table.t td{display:block}
  .fstk table.t td{padding-left:0;padding-right:0}.fstk table.t td + td{padding-top:0}
  .fstk table.t td:not(:last-child){border-bottom:0}.fstk table.t td:empty{display:none}}
/* The days behind a DdW Teilnahmen count */
.days{list-style:none;margin:6px 0 0;padding:0}
.days li{padding:3px 0;border-top:1px solid var(--line)}
.days li > span:first-child{display:inline-block;min-width:74px;color:var(--ink-2);font-variant-numeric:tabular-nums}
.days li.add{background:var(--sunk);box-shadow:inset 3px 0 0 var(--wait);padding-left:8px}   /* Depp without a Zusage: counted, marked */
.days li.add .k{display:block;font-size:11.5px;color:var(--ink-3)}
/* Stufen: one line per player — name, then the step and its date as plain text in fixed,
   right-aligned columns, so they line up from line to line and Amt to Amt */
.hls{display:block}
.hl{display:flex;align-items:baseline;gap:8px;padding:1px 0}
.hl .hnm{flex:1;white-space:nowrap}   /* never broken inside a name — and so the table gives the column its width */
.hl .hs{width:2ch;text-align:right;font-weight:600;font-variant-numeric:tabular-nums}
.hl .hd{width:6.5ch;text-align:right;color:var(--ink-3);font-variant-numeric:tabular-nums;white-space:nowrap}
.hl .hx{width:16px;text-align:center}
.hl .x{border:0;background:none;color:var(--ink-3);font:inherit;padding:0;cursor:pointer;line-height:1}
.chips + .hls{margin-top:6px}
.steplog{display:block;margin-top:6px}
.steplog span{display:block;color:var(--ink-3);font-size:11.5px;white-space:normal}
.ug .c[data-utip]{cursor:pointer}                    /* App-Verwaltung → Nutzer: who was there when */
#usersTip:empty{display:none}                         /* the tapped day, once there is one */
/* App-Verwaltung → Nutzer: the opens summed up, the names at their line's end, room on the right for them */
.srun.urun{margin-top:28px}                           /* right under the Raster, without a heading of its own */
.srun.urun .plot{margin-right:104px}
.urun .unm{position:absolute;left:100%;margin-left:6px;transform:translateY(-50%);display:flex;gap:3px;max-width:98px;padding:0 2px;border:0;
  background:none;font:inherit;font-size:11px;line-height:1.2;color:var(--ink-3);white-space:nowrap;cursor:pointer}
.urun .unm span{overflow:hidden;text-overflow:ellipsis}
.urun .unm b{font-weight:600;font-variant-numeric:tabular-nums}
.urun .unm.top{color:var(--ink-2)}
.urun .unm.on{color:var(--ink);font-weight:600}
.mx .tot{border-top:1px solid var(--line-2);padding-top:4px;font-weight:600;color:var(--ink);align-self:stretch}
.mx .d.tot{font-size:10px;text-align:center}

/* Strafenkatalog: one heading per section of the team's catalogue */
h3.cat{margin:20px 0 0;font-size:13.5px;font-weight:700;color:var(--ink)}
h3.cat + .note{margin-top:4px}
/* DdW Rangliste: below the line, those not yet qualified for the year-end list */
table.t tr.cut td{padding-top:14px;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-3);border-top:2px solid var(--line-2)}
table.t tr.unq td{color:var(--ink-2)}
table.t tr.extra td,table.t tr.extra .lnk{color:var(--ink-3)}   /* DdW: not in the Stammkader — light, as a past Verkaufsschicht */

/* Strafe melden: a long catalogue in a narrow field — smaller type, the full choice spelled out below */
.rules{margin-top:10px;max-width:26rem;font-size:12px;color:var(--ink-3)}
.rules summary{cursor:pointer;color:var(--ink-2);padding:7px 0}   /* keeps the native ▸ that says it opens */
.rules p{margin:4px 0 0}
/* Strafe melden: the optional fields, each folded on its own under the must-fields — the fold names it, so the field's
   own label only where it says more (a Verhandlung's amount) */
.opt{border-bottom:1px solid var(--line)}
#fDateF + .opt,#fDateF + .opt[hidden] + .opt{border-top:1px solid var(--line);margin-top:6px}
.opt summary{cursor:pointer;color:var(--ink-2);font-size:13.5px;padding:11px 0}
.opt > .field{margin-top:0;padding-bottom:12px}
#fWitD .field > span,#fComD .field > span{display:none}
/* Mit Worten melden (dictBox): the text as wide as the form, its proposals as cards above the form */
/* Strafe melden: Formular | Spracheingabe — and the Spracheingabe's list, one row per proposal, opened to change it */
.pentabs{display:flex;align-items:center;gap:10px;margin:12px 0 10px}
.pentabs .seg .b.tog{flex:none;padding:0 16px;font-size:13.5px}
.dic{padding-bottom:4px}
.dic textarea.in{width:100%;resize:vertical;line-height:1.4}
.dicin{display:flex;align-items:center;gap:10px}
.dicin > .field{flex:1;min-width:0}
.dic .mic{flex:none;width:48px;height:48px;border-radius:50%;border:1px solid var(--line);background:var(--bg);color:var(--ink);
  display:inline-flex;align-items:center;justify-content:center;cursor:pointer;
  -webkit-touch-callout:none;-webkit-user-select:none;user-select:none;touch-action:none}
.dic .mic svg{width:22px;height:22px}
.dic .mic:disabled{opacity:.4;cursor:default}
.dic .mic.rec{background:var(--ink);border-color:var(--ink);color:var(--bg);animation:recpulse 1.2s ease-in-out infinite}
@keyframes recpulse{50%{box-shadow:0 0 0 7px color-mix(in srgb,var(--ink) 15%,transparent)}}
@media (prefers-reduced-motion:reduce){.dic .mic.rec{animation:none}}
.dicrec{margin:6px 0 0}
.dic > .bs{margin-bottom:12px}
.dicn{margin:18px 0 6px;font-size:11.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-3)}
.dicl{border:1px solid var(--line)}
.dr{padding:10px 8px 10px 12px;border-top:1px solid var(--line)}
.dr:first-child{border-top:0}
.dr.on{background:var(--sunk)}
.drh{display:flex;align-items:flex-start;gap:4px}
.drt{flex:1;min-width:0;text-align:left;background:none;border:0;padding:0;font:inherit;color:var(--ink);cursor:pointer}
.drt b{display:block;font-size:15px}
.dr .s{display:block;color:var(--ink-3);font-size:13px;margin-top:2px}
.drt .s:nth-child(2){color:var(--ink-2)}
.dr .s.twin{color:var(--wait);font-weight:600}
.dicalt{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:6px}   /* similar Strafen the model offered: a tap takes one */
.dicalt .s{margin:0}
.dicalt .st{white-space:normal;border:1px solid var(--line);background:var(--bg);color:var(--ink);font-size:12.5px;padding:5px 9px;cursor:pointer;text-align:left}
.drh .x{flex:none;width:36px;height:36px;margin:-6px 0;border:0;background:none;font:inherit;font-size:20px;line-height:1;color:var(--ink-3);cursor:pointer}
.drh .x:hover{color:var(--ink)}
.dre{margin-top:8px}
.dre .dicg{margin:8px 0 0}
.dicln{display:flex;align-items:center;gap:8px;margin-top:6px}
.dicln .pp.sm{flex:1;min-width:0}
.dicln input.in.sm{min-height:32px;padding:2px 6px;font-size:13px;width:120px}
.dicln .dicx{margin-left:auto;min-height:32px;padding:0 10px;font-size:12.5px}
.dre input.dicc{display:block;width:100%;box-sizing:border-box;margin-top:6px;min-height:30px;padding:2px 8px;font-size:13px}
.dre .bs{margin-top:10px}
/* the Strafe picker: a button that reads like the field, a searchable list under it */
/* Melden, several at once: each Grund a row under the picker, with − n + and × */
.fxl{margin:10px 0 14px;border-top:1px solid var(--line)}   /* the Gründe: a list of their own under the picker, not glued to it */
.fxr{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid var(--line)}
.fxr > span:first-child,.fxr > .fxn{flex:1;min-width:0}
.fxn{font:inherit;color:inherit;text-align:left;background:none;border:0;padding:0;cursor:pointer}
.fxn::after{content:" ▸";color:var(--ink-3);font-size:11px}
.fxn[aria-expanded="true"]::after{content:" ▾"}
.fxr.op{border-bottom:0}
.fxi{font-size:12.5px;color:var(--ink-2);padding:0 0 10px;border-bottom:1px solid var(--line);white-space:pre-line}
.fxi b{display:block;font-weight:600;margin-bottom:2px}
.fxr > b{white-space:nowrap;font-variant-numeric:tabular-nums;color:var(--ink-2);font-weight:600}
.stp{display:inline-flex;align-items:center;gap:6px;flex:none}
.stp .b{min-height:32px;min-width:32px;padding:0}
.stp b{min-width:1.4em;text-align:center;font-variant-numeric:tabular-nums}
.fxr .x{flex:none;font-size:18px;color:var(--ink-3);padding:4px 6px}
.fxsum{margin-top:6px}
.pickbtn{display:flex;align-items:center;gap:10px;width:100%;text-align:left;border:1px solid var(--line-2);
  padding:9px 10px;min-height:46px;background:var(--bg);font-size:13px}
.pickbtn span{flex:1}
.pickbtn .ph{color:var(--ink-3)}
.pickbtn b{white-space:nowrap;font-variant-numeric:tabular-nums}
.pickbtn::after{content:"▾";color:var(--ink-3);font-size:11px}
.pickbtn[aria-expanded="true"]{border-color:var(--ink)}
/* a plain list looking like the pickers next to it (Strafe melden: Zeuge) — grey until something is picked */
.pksel{position:relative}
.pksel select{appearance:none;-webkit-appearance:none;width:100%;min-height:46px;padding:9px 28px 9px 10px;border:1px solid var(--line-2);
  border-radius:0;background:var(--bg);color:var(--ink);font:inherit;font-size:13px;font-weight:700}
.pksel select:invalid{color:var(--ink-3)}
.pksel option{color:var(--ink);font-weight:400}
.pksel::after{content:"▾";position:absolute;right:10px;top:50%;transform:translateY(-50%);color:var(--ink-3);font-size:11px;pointer-events:none}
.picker{border:1px solid var(--ink);border-top:0;background:var(--bg);padding:8px}
.picker .in{width:100%}
/* the catalogue's own search, the same field as in the picker */
#catQ{width:100%;margin:2px 0 4px}
#fCatList{max-height:55vh;overflow-y:auto;margin-top:6px}
.pkh{position:sticky;top:0;background:var(--sunk);padding:5px 8px;font-size:10.5px;letter-spacing:.1em;
  text-transform:uppercase;color:var(--ink-2);font-weight:700}
.pk{display:flex;align-items:baseline;gap:12px;width:100%;text-align:left;padding:8px;min-height:40px;
  border-bottom:1px solid var(--line);font-size:12.5px;line-height:1.35}
.pk span{flex:1;color:var(--ink)}
.pk b{white-space:nowrap;font-variant-numeric:tabular-nums;color:var(--ink-2);font-weight:600}
.pk:hover,.pk[aria-selected="true"]{background:var(--id-bg)}
/* the field's label style (small caps) must not reach the texts inside the picker */
.field .pickbtn span,.field .pk span{display:block;font-size:inherit;letter-spacing:normal;text-transform:none;color:var(--ink);margin:0}
.field .pickbtn .ph{color:var(--ink-3)}
/* Wer: ticks for one, some or all */
.wlist{max-height:50vh;overflow-y:auto;margin-top:8px}
.bdp{display:grid;grid-template-columns:4.6em minmax(0,1.5fr) minmax(0,1fr);gap:8px;align-items:start}   /* Tag · Monat · Jahr */
.bdp .wlist{max-height:40vh;margin-top:4px}
.bdp.tm{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}   /* Stunde · Minute */
.dtf{display:grid;gap:8px;min-width:12em}   /* dateField: the date, the time under it */
td.bbe .bs{margin:8px 0 0;flex-wrap:wrap;align-items:center}   /* B&B-Wart: title, Runde and buttons under the day */
td.bbe .bs input.in{flex:1 1 9em;min-width:0}
.bs.tms{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:start}   /* Beginn | Ende side by side */
.wk{display:flex;align-items:center;gap:10px;padding:8px 6px;min-height:40px;border-bottom:1px solid var(--line);font-size:13px;cursor:pointer}
.field .wk span{display:inline;font-size:inherit;letter-spacing:normal;text-transform:none;color:var(--ink);margin:0}
.field .wk input{width:18px;height:18px;min-height:0;margin:0;padding:0;flex:none;accent-color:var(--ink)}
table.t tr.tot td{border-top:2px solid var(--line-2);font-weight:600}
.nmfold{font:inherit;text-align:left;padding:6px 0;margin:-6px 0;color:var(--ink)}   /* the name opens its entries */
.nmfold span{color:var(--ink-3);font-size:11px}

/* Summe je Spieler: horizontal bars from one baseline — one grey, the own bar in the identity colour */
.bars{margin-top:10px}
.barrow{display:grid;grid-template-columns:minmax(0,104px) 1fr 52px;align-items:center;gap:8px;width:100%;
  padding:3px 0;min-height:26px;text-align:left;font-size:12px}
.barrow .bn{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ink-2)}
.barrow .bn{display:flex;align-items:center;gap:4px}
.barrow .bn .bnm{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}   /* the step box at the column's end: aligned */
/* a Stufe beside the name: a small outlined box — not money, a warning of what the next one costs */
.stb{flex:none;font-size:12px;font-weight:700;line-height:1;color:var(--ink-2);white-space:nowrap;font-variant-numeric:tabular-nums}
.calkey .stb{margin-right:0}
.stepl{margin:6px 0 8px;font-size:12.5px}
.stepl table.t td small{display:block;color:var(--ink-3);font-size:11.5px}
.stepl table.t td:last-child{width:1%}
.stepl .b{min-height:30px;font-size:12px;padding:0 10px}
.stepl table.t th,.stepl table.t td{padding-left:6px;padding-right:6px}   /* five columns on a narrow phone: the −1 stays on screen */
.stepl table.t th:first-child,.stepl table.t td:first-child{padding-left:0}
.stepl table.t th:last-child,.stepl table.t td:last-child{padding-right:0}
.stepl table.t th{letter-spacing:.04em}
.barrow .bn .ar{color:var(--ink-3);font-size:10px}                 /* Strafen: the row opens its entries */
/* a player's Strafen opened under his bar */
.pfold{margin:2px 0 14px;padding:8px 0 0 12px;border-left:2px solid var(--line-2)}
.barrow.me{background:var(--id-bg)}      /* one's own row yellow as everywhere; what it unfolds only by its yellow line */
.barrow.me{padding-left:6px;padding-right:6px;margin:0 -6px;width:calc(100% + 12px)}   /* the band wider, the columns where the others have them */
.pfold.me{border-left-color:var(--id)}
.pfold>.s{margin:0;font-size:12px;color:var(--ink-2)}
.pfold .bs{margin-top:8px}
.pfold table.t{margin-top:6px;font-size:12.5px}
.barrow .bt{height:22px;display:flex;align-items:center;border-left:1px solid var(--line-2)}   /* the baseline */
.barrow .bt i{display:block;height:14px;background:var(--cal-3);border-radius:0 4px 4px 0}
.barrow.me .bt i{background:var(--id)}
.barrow .bv{font-variant-numeric:tabular-nums;color:var(--ink);font-weight:600;white-space:nowrap;text-align:right}   /* the numbers line up on the right */
.barrow:hover .bt i,.barrow.on .bt i{background:var(--ink)}
.barrow.on .bn{color:var(--ink);font-weight:600}

/* Strafenkatalog: a deactivated Strafe stays listed, greyed — the rule stands, the Kasse is not involved */
table.t tr.off td{color:var(--ink-3)}
/* a past date (Verkauf, B&B): faded, names and slots too — the next one is the first row in full ink */
table.t tr.past td,table.t tr.past .s{color:var(--ink-3)}
table.t tr.past .sl{color:var(--ink-3);background:none;border-color:var(--line);font-weight:400}
/* today's line between past and coming dates (nowRow): only a dark rule */
table.t tr.now td,table.t tbody tr.now:hover td{padding:0;border-top:2px solid var(--ink);border-bottom:0;background:none}
.b.tog{min-width:96px;font-weight:500}
.b.tog[aria-pressed="false"]{border-style:dashed;color:var(--ink-3)}   /* the exception is the one that should catch the eye */

/* Katalog: many small tables, one per section — the same fixed columns
   for all of them, so the prices sit in one line from top to bottom */
.al table.t{table-layout:fixed;width:100%}
.al.al2 table.t th:nth-child(2){width:130px}
@media (max-width:600px){.al.al2 table.t th:nth-child(2){width:96px}}

/* Verwalten: the catalogue as a section per fold — a row per Strafe: its name (tapped: the editor under it),
   its price, its switch; then the rules of the Kasse as rows, and the folds for the help and the import */
#cmQ{width:100%;margin:12px 0 4px}
.cs{border-bottom:1px solid var(--line)}
.cs > summary{display:flex;align-items:baseline;gap:10px;padding:13px 0;cursor:pointer;list-style:none;font-size:14px;font-weight:700;color:var(--ink)}
.cs > summary::-webkit-details-marker{display:none}
.cs > summary::before{content:"▸";color:var(--ink-3);font-size:11px;transition:transform .15s}
.cs[open] > summary::before{transform:rotate(90deg)}
.cs > summary .r{margin-left:auto;font-size:12px;font-weight:400;color:var(--ink-3);white-space:nowrap}
.crow{display:flex;align-items:center;gap:10px;padding:4px 0 4px 18px;border-top:1px solid var(--line)}
.crow .cl{flex:1;min-width:0;text-align:left;background:none;border:0;padding:8px 0;font:inherit;font-size:13.5px;color:var(--ink);cursor:pointer}
.crow .cl:hover{text-decoration:underline;text-underline-offset:3px}
.crow .cl .ed{color:var(--ink-3);font-size:12px}
.cs > summary .cset{align-self:center;background:none;border:0;margin:-6px -6px -6px 0;min-width:36px;min-height:36px;font-size:15px;color:var(--ink-3);cursor:pointer}
.cs > summary .cset:hover{color:var(--ink)}
.crow .cl small{display:block;font-size:11.5px;color:var(--ink-3);margin-top:2px}
.crow .cp{white-space:nowrap;font-variant-numeric:tabular-nums;font-size:13px;font-weight:600;color:var(--ink-2)}
.crow .b.tog{min-width:68px;min-height:32px;padding:0 8px;font-size:12px}
.crow.off .cl,.crow.off .cp{color:var(--ink-3)}
.cedit{padding-left:18px}
.cs > .cform{margin-left:18px}
/* the editor of a Strafe (and of a section): no grey slab — a dark line on the left ties it to its row */
.cs .cform{background:none;border-left:2px solid var(--ink);padding:2px 0 6px 14px;margin:4px 0 14px}
.cs .cform .field{margin:0 0 12px;max-width:none}
.cs .cform textarea.in{resize:vertical;min-height:0;line-height:1.4}
.ci2{display:flex;gap:10px}
.ci2 .field{flex:1;min-width:0}
.ci .chk{margin:2px 0 14px}
.cibs{display:flex;align-items:center;gap:8px}
.cibs .rm{margin-left:auto;background:none;border:0;padding:8px 0;color:var(--bad);font-weight:500;cursor:pointer}
.cfoot{display:flex;gap:8px;padding:6px 0 14px 18px}
.mfold{border-bottom:1px solid var(--line)}
.mfold > summary{cursor:pointer;color:var(--ink-2);font-size:13.5px;padding:12px 0}
.mfold[open]{padding-bottom:12px}
/* Strafen-Import: eine Karte je Zeile des Vorschlags; fehlt noch etwas, steht es rot darunter */
.blrow{margin-top:12px;padding:12px;border:1px solid var(--line);border-radius:10px}
.blrow.bad{border-color:var(--bad-line);border-left:4px solid var(--bad)}
.blrow .blhead{display:flex;align-items:center;justify-content:space-between;gap:8px}
.blrow .field{display:block;margin-top:8px}.blrow .field .in{width:100%}
/* Statistik vom Foto: der Knopf im Spiel nur mit der Kamera, quadratisch; gedrückt, solange sie offen ist */
.gsview > .bs{gap:6px}.gsview > .bs .b{padding-left:10px;padding-right:10px}     /* die Knöpfe eines Spiels: alle in einer Reihe am Telefon */
.b.gscam{display:inline-flex;align-items:center;justify-content:center;padding-left:0;padding-right:0;aspect-ratio:1;min-width:0}
.b.gscam svg{width:22px;height:22px}
.b.gscam[aria-pressed="true"]{background:var(--ink);color:var(--on-ink);border-color:var(--ink)}
.gscamf{display:flex;align-items:center;justify-content:center;gap:8px}.gscamf svg{width:20px;height:20px;flex:none}
.gsphimg{display:block;max-width:100%;max-height:320px;margin:8px 0;border:1px solid var(--line);border-radius:8px;object-fit:contain}
.gsph{margin:16px 0 4px}
/* der Entwurf als Tabelle der Statistik: die Zahlen als Felder in der Form der Zähler (.gsc) */
.gspi{min-height:42px;padding:0;text-align:center;font-size:17px;font-weight:600;font-variant-numeric:tabular-nums;cursor:text;user-select:text;-webkit-user-select:text}
.gst td.unsure .gspi{border-color:var(--unconf);box-shadow:inset 0 0 0 2px var(--unconf)}
/* wer es ist: der Name selbst zum Antippen, wie in der Statistik (gsWho) — kein Kasten, bündig mit der Zeile darunter */
.gspd .gst tbody th{padding:4px 6px 4px 0}
.gspd .gst tbody th .pp.sm{display:block;width:100%;margin:0;padding:0}
.gspd .gst tbody th .pp.ch.sm .pickbtn{display:flex;gap:4px;width:100%;min-height:0;padding:0;border:0;background:none;font-size:13px;font-weight:600;color:var(--ink)}
.gspd .gst tbody th .pickbtn span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gspd .gst tbody th .gssub{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gspd tr.gspopen th .pickbtn,.gspd tr.gspopen th .pickbtn span{color:var(--bad)}
/* its list: the table scrolls sideways and cuts what sticks out — so a sheet from the bottom of the screen instead */
.gspd .gst tbody th:has(.picker:not([hidden])){z-index:60}      /* the name cell is sticky with its own layer: lifted with its sheet, over the tab bar */
.gspd .picker:not([hidden]){position:fixed;left:8px;right:8px;bottom:calc(env(safe-area-inset-bottom,0px) + 8px);z-index:60;
  max-height:65vh;overflow:auto;border:1px solid var(--ink);box-shadow:var(--shadow);font-weight:400;white-space:normal;text-align:left}
/* Dienste-Import: je Person Aufgabe · wer · ×, je Aufgabe Name · Plätze · behalten/× — offen nimmt die Auswahl die ganze Zeile */
.dirs{margin-top:10px}
/* a date there is against the plan (diDiff): + comes, − goes, → other role; the sign carries it, the colour only helps */
.didiff{margin:6px 0 8px}
.didiff ul{list-style:none;margin:4px 0 0;padding:0;font-size:13.5px}
.didiff li{padding:2px 0}
.didiff li b{display:inline-block;width:1.1em;text-align:center}
.didiff .add b{color:var(--ok)}
.didiff .out{color:var(--bad)}
.didiff .mv b{color:var(--wait)}
.didiff .keep .s{color:var(--ink-2)}
.dimode{margin:8px 0 10px}
.digone .chk{margin-top:6px}
.difree{margin-top:10px}   /* the places the plan leaves empty: orange, as a gap of the coming weekend */
.difr{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:6px}
.difr .s{flex:0 0 100%;font-size:12.5px;color:var(--ink-3)}
.difr .sl{flex:1 1 40%;min-width:0}
.difr .pp.ch.sm{flex:0 0 auto}
.dioff{margin-top:8px}
.dioff > summary{font-size:12.5px;color:var(--ink-3);cursor:pointer}
.diper,.dirole{display:grid;gap:6px;align-items:center;margin-top:6px}
.diper{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr) auto}
.dirole{grid-template-columns:minmax(0,1fr) 4.5rem auto}
.diper .pp.ch.sm,.dirole .pp.ch.sm{min-width:0;width:100%}
.diper .pickbtn,.dirole .pickbtn{width:100%;min-height:40px}
.diper:has(> .pp > .picker:not([hidden])),.dirole:has(> .pp > .picker:not([hidden])){display:block}
.dirole.off .in{opacity:.5}
/* a name not decided yet (no player, not left free on purpose): the warning colour, as an unconfirmed name in the plan */
.diper.open > .pp:nth-of-type(2) .pickbtn{border-color:var(--unconf);background:color-mix(in srgb,var(--unconf) 10%,transparent);color:var(--unconf);font-weight:600}
.diopen{margin:2px 0 6px;font-size:12.5px;color:var(--unconf);font-weight:600}
.gap .diopen{display:block;margin:4px 0 0}
/* Zuordnungen: every name of the plan once — the name with its number of dates, beside it who it is */
.dimap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:8px;align-items:center;padding:6px 0;border-bottom:1px solid var(--line)}
.dimap .dimn{font-weight:600;overflow-wrap:anywhere}.dimap .dimn .s{display:block;font-weight:400}
.dimap .pp.ch.sm{min-width:0;width:100%}.dimap .pickbtn{width:100%;min-height:40px}
.dimap:has(> .pp > .picker:not([hidden])){display:block}
.dimap.open .pickbtn{border-color:var(--unconf);background:color-mix(in srgb,var(--unconf) 10%,transparent);color:var(--unconf);font-weight:600}
.blprob{margin:8px 0 0;font-size:13px;color:var(--bad);font-weight:600}
/* Einstellungen → Zugänge (accRow): the service left, its state right — a filled dot, a ring or a mark, and its word */
.acc{border-bottom:1px solid var(--line)}
.acc > summary{display:flex;align-items:center;gap:10px;cursor:pointer;padding:13px 0;list-style:none}
.acc > summary::-webkit-details-marker{display:none}
.acc > summary::after{content:"›";color:var(--ink-3);font-size:18px;line-height:1;transition:transform .15s}
.acc[open] > summary::after{transform:rotate(90deg)}
.acc .an{flex:1;font-weight:600}
.acc .ast{font-size:13px;white-space:nowrap}
.acc .ast::before{display:inline-block;width:1.2em;font-weight:700}
.acc .ast.on{color:var(--ok)}
.acc .ast.on::before{content:"●"}
.acc .ast.off{color:var(--ink-3)}
.acc .ast.off::before{content:"○"}
.acc .ast.bad{color:var(--bad);font-weight:600}
.acc .ast.bad::before{content:"!"}
.acc[open]{padding-bottom:14px}
.mset{border-top:0}
.mrow{display:flex;align-items:center;gap:14px;padding:12px 0;border-bottom:1px solid var(--line)}
.mrow .l{flex:1;min-width:0}
.mrow .l b{display:block;font-size:14px;font-weight:600;color:var(--ink)}
.mrow .l small{display:block;font-size:12px;line-height:1.45;color:var(--ink-3);margin-top:3px;max-width:34rem}
.mrow > .pp.ch{flex:none;width:auto;min-width:7rem}
.mrow.sub{padding:6px 0 6px 18px;font-size:13.5px}

/* Kisten je Spieler: a stacked bar — open dark (still to bring), brought light; a 2px gap between the parts */
.barrow .bt.stack{gap:2px}
.barrow .bt.stack i{border-radius:0}
.barrow .bt.stack i:last-child{border-radius:0 4px 4px 0}
.barrow .bt.stack i.d,.barrow .bt.stack i.n,.barrow .bt.stack i.v{min-width:7px;flex-shrink:0}   /* a few € open still show next to 200 paid */
.barrow .bt i.o,.c.bo,.tbar i.o{background:var(--cal-4)}
.barrow .bt i.d,.c.bd,.tbar i.d{background:var(--cal-1)}
.barrow.on .bt i.o{background:var(--ink)}
.barrow.on .bt i.d{background:var(--cal-2)}
.barrow:hover .bt.stack i.o{background:var(--cal-4)}
.barrow:hover .bt.stack i.d{background:var(--cal-2)}

/* Wer, one player (the normal case): a plain list — tap and done; ticks, Keinen and Fertig only after "Alle" */
.picker.single .wk input,.picker.single [data-wnone],.picker.single [data-wdone]{display:none}
.picker:not(.single) [data-wmulti]{display:none}   /* already ticking */
.picker.single .wk:has(input:checked){background:var(--id-bg);font-weight:600}
.ppo{display:block;width:100%;text-align:left;font:inherit;font-size:13px;color:var(--ink);background:none;border:0;border-bottom:1px solid var(--line);
  padding:8px 6px;min-height:40px;cursor:pointer}            /* the player picker: one tap picks */
/* choice() (app.js): any other choice in the same picker — in a row of buttons it takes the room left; small (sm) it sits
   inline beside chips, and opened takes a line of its own */
.bs > .pp.ch{flex:1 1 11rem;min-width:0}
.pp.ch.sm{display:inline-block;vertical-align:middle;min-width:9rem;max-width:100%}
.pp.ch.sm .pickbtn{min-height:30px;padding:2px 8px;font-size:12px;gap:6px}
.pp.ch.sm:has(> .picker:not([hidden])){display:block;flex-basis:100%;width:100%}
.pp.ch .pickbtn[disabled]{opacity:.42;cursor:default}
.ppo[disabled]{color:var(--ink-3);cursor:default}
.ppo.on{background:var(--id-bg);font-weight:600}
.ppf{display:block;width:100%;text-align:left;font:inherit;font-size:13px;color:var(--ink);background:none;border:1px dashed var(--line-2);
  padding:8px 6px;min-height:40px;margin-top:6px;cursor:pointer}   /* a name of its own, not from the squad */
.pp{flex:1;min-width:0}
.b.danger{background:var(--bad);border-color:var(--bad);color:var(--on-wait)}   /* the one button that destroys */

/* a Verhandlung not yet held: counted at the minimum, marked until its amount is set */
.st.hear{color:var(--ink-2);border-style:dashed;border-color:var(--ink-3)}
.in.amt{width:90px;min-width:0}
.mrow .in.amt{width:64px;min-height:30px;padding:0 8px;font-size:13px}     /* in a row of Regeln der Kasse: as tall as the small choice beside it */

/* the provisional part of a bar (a Verhandlung not yet held): the open tone, hatched — readable without colour */
.barrow .bt i.n,.c.bnx{background:var(--bg);box-shadow:inset 0 0 0 1.5px var(--cal-1)}
.barrow.on .bt i.n,.barrow:hover .bt.stack i.n{background:var(--bg);box-shadow:inset 0 0 0 1.5px var(--cal-2)}
/* a Kasse heading: one Abrechnung from the next — a grey band, with air above it */
table.t tbody tr.eh td{font-size:12px;font-weight:700;color:var(--ink);background:linear-gradient(transparent 16px,var(--sunk-2) 16px);padding:23px 8px 7px;border-bottom:0}
table.t tbody tr.eh:first-child td{background:var(--sunk-2);padding-top:7px}
.t tr.eh td.n{white-space:nowrap;color:var(--ink)}     /* a Kasse heading's sum (the Abrechnung's, the next one's) */
.barrow .bt i.v,.c.bv{background:repeating-linear-gradient(135deg,var(--cal-3) 0 3px,var(--bg) 3px 6px);box-shadow:inset 0 0 0 1px var(--cal-3)}
.barrow.on .bt i.v,.barrow:hover .bt.stack i.v{background:repeating-linear-gradient(135deg,var(--ink) 0 3px,var(--bg) 3px 6px)}
.in.miss{border-color:var(--wait);border-style:dashed}   /* a birthday still missing */
.dtb.miss b{color:var(--wait);text-decoration-color:var(--wait)}   /* Kader: a birthday still missing, as a link */

/* doubled (not paid by the deadline): marked firmly on the entry */
.raised{margin-top:2px;font-size:13px;color:var(--ink-2)}
.raised .lnk{font:inherit;color:var(--ink);text-decoration:underline;background:none;border:0;padding:0;cursor:pointer}
.al.albnb table.t th:nth-child(1){width:44%}   /* B&B: Hin- and Rückrunde, the same date column */
@media (min-width:700px){.al.albnb table.t th:nth-child(1){width:220px}}
table.t td .st.tagline{display:table;margin-top:8px;padding:2px 8px}   /* a state under the date, on its own line — not glued to it */
/* nuLiga: the season's address is long; a name waiting for its player */
.field.wide{max-width:46rem}
.nlname{align-self:center;min-width:160px;font-size:13.5px}
.nlign{font-weight:400;color:var(--ink-3)}   /* Zuordnung zu nuLiga: „Kein Todo“, quiet under what ties the name */
/* Spielbetrieb: scorers and Zeitstrafen side by side where there is room */
.nlcharts{display:grid;grid-template-columns:1fr;gap:0 32px}
@media (min-width:920px){.nlcharts{grid-template-columns:1fr 1fr}}
/* the total, then the average per game in its own column — both line up down the chart */
.barrow.wide{grid-template-columns:minmax(0,120px) 1fr 24px 48px}
.barrow.wide .bv{text-align:right}
.barrow .ba{font-variant-numeric:tabular-nums;color:var(--ink-3);white-space:nowrap;text-align:right}
.barrow.head{min-height:0;padding:0 0 2px;cursor:default}
.barrow.head .ba{font-size:11px}
.ob .obh{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.ob .obh b{overflow-wrap:anywhere}
.ob.mine{background:var(--id-bg);padding-left:10px;padding-right:10px}
/* Zugänge: closed, a short line — the address and its roles */
.ob.acc{padding:11px 0 12px}
.ob.acc .obh{justify-content:flex-start}
.ob.pc .s{display:block;color:var(--ink-3);font-size:12.5px;margin-top:3px}
.ob.pc .obh{flex-wrap:nowrap}
.ob.tm{padding:14px 10px 14px}                                    /* Meine Teams: all rows inset alike, the shown one tinted */
.ob.tm .obh{flex-wrap:nowrap;align-items:flex-start}   /* the name left, Anzeigen right beside name and league — always beside it */
.ob.tm .obh > .b,.ob.tm .obh > .tmon,.ob.tm .obh > .st,.ob.tm .obh > .drag{margin-top:-2px}
.ob.tm .obh .s{display:block}
.ob.tm .obh .s{color:var(--ink-2);font-size:13.5px;margin-top:1px}
.ob.tm .tma{display:flex;flex-wrap:wrap;align-items:center;gap:4px 14px;margin-top:7px;font-size:12.5px}   /* einrichten · abgeben, small, one line */
.ob.tm .tma .tl{margin:0;padding:3px 0;color:var(--ink-3)}
.ob.tm .tma .tl:hover{color:var(--ink)}
.ob.tm .tma .st{margin-left:-8px}
.ob.tm .tmon{font-size:12px;color:var(--ink-3);white-space:nowrap}   /* the team shown: a word, not a button */
.ob.tm.mine .obh .crest{border-color:var(--id)}
.tmnote{font-size:12.5px;margin-top:10px}
.ob.tm .drag{padding:8px 0 8px 6px;margin-bottom:-8px;color:var(--ink-3);font-size:22px;line-height:1;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none}
.ob.tm.dragging{background:var(--sunk)}                                    /* ≡: one's order of one's teams, dragged */
.ob.pc .bs{margin-top:10px}
.ob.acc > .s{display:block;margin:2px 0 0 1.3em;color:var(--ink-3);font-size:12px}
.ob.acc > .chips{display:flex;flex-wrap:wrap;gap:5px;margin:6px 0 0 1.3em}
/* an open picker lifts its search field to the top — the page needs room below for that */
body.picking main{padding-bottom:70vh}
/* the star behind a name: not in the Stammkader */
.xm{color:var(--ink-3);font-weight:600}
/* Liga: one small chart per team, two to a row on the phone. Goals solid, conceded dashed (so the
   pair never rests on colour alone), the gap a faint wash of ink; ours framed in the club colour. */
/* the goals over the season (seasonRun): one chart, a faint line per player, the one picked in full ink; the names inside,
   each on its line where it is freest (seasonPlace, unseen until placed). The lines stretch, the text keeps its size. */
.srun{margin:6px 0 4px}
.srun .plot{position:relative;height:170px;margin:8px 4px 22px 22px}
.srun svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.srun .lns{position:absolute;inset:0}
.srun .gr{stroke:var(--line);stroke-width:1;vector-effect:non-scaling-stroke}
.srun .pl{fill:none;stroke:var(--ink-3);stroke-opacity:.45;stroke-width:1.2;stroke-linejoin:round;vector-effect:non-scaling-stroke;pointer-events:none}
.srun .pl.top{stroke:var(--ink);stroke-opacity:.7}
.srun .pl.on{stroke:var(--ink);stroke-opacity:1;stroke-width:2.4}
.srun .hit{fill:none;stroke:transparent;stroke-width:12;vector-effect:non-scaling-stroke;pointer-events:stroke;cursor:pointer}
.srun .ay,.srun .ax,.srun .dot{position:absolute;font-size:10.5px;line-height:1;color:var(--ink-3);font-variant-numeric:tabular-nums;white-space:nowrap;pointer-events:none}
.srun .ay{right:100%;margin-right:5px;transform:translateY(-50%)}
.srun .ax{top:100%;margin-top:6px;transform:translateX(-50%)}
.srun .dot{width:6px;height:6px;margin:-3px 0 0 -3px;border-radius:50%;background:var(--ink)}
.srun .nm{position:absolute;left:0;top:0;visibility:hidden;padding:0 3px;border:0;background:color-mix(in srgb,var(--bg) 80%,transparent);
  font:inherit;font-size:11px;line-height:1.2;color:var(--ink-2);white-space:nowrap;cursor:pointer;font-variant-numeric:tabular-nums}
.srun .nm b{font-weight:600}
.srun .nm.me{text-decoration:underline;text-decoration-color:var(--id);text-underline-offset:2px}
.srun .nm.on{color:var(--ink);font-weight:600}
/* the Strafenkasse over time (penaltyRun): paid and open as the bar's colours, the booked total as the line on top */
.prun .plot{margin-left:44px;touch-action:pan-y;cursor:crosshair}
.prun .ao{fill:var(--cal-1);stroke:none}
.prun .ap{fill:var(--cal-4);stroke:none}
.gsovs{display:grid;margin-top:12px;border-top:1px solid var(--line)}
.gsov{display:grid;grid-template-columns:7.5em 1fr 3.6em 5.4em;gap:10px;align-items:center;min-height:0;height:auto;padding:6px 4px;border:0;border-radius:0;
  border-bottom:1px solid var(--line);background:none;color:var(--ink);font:inherit;font-size:14px;text-align:left;cursor:pointer}
.gsov[aria-pressed="true"]{background:var(--sunk);font-weight:600}
.gsov .nm{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gsov .sp{position:relative;height:26px}
.gsov svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.gsov svg line{stroke:var(--line);stroke-width:1;vector-effect:non-scaling-stroke}
.gsov svg polyline{fill:none;stroke:var(--ink);stroke-width:1.5;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.gsov .dot{position:absolute;width:6px;height:6px;margin:-3px 0 0 -3px;border-radius:50%;background:var(--ink)}
.gsov .v{font-size:12px;color:var(--ink-3);font-variant-numeric:tabular-nums;white-space:nowrap;text-align:right;font-weight:400}
.gstrend{margin-top:18px}
.gstrend .gstt{margin:0 0 10px;font-size:14px;font-weight:600}
.gstrend .plot{height:130px;margin:8px 44px 26px 26px}      /* right: room for the Ø beside the dashed line */
.gstrend .lt{fill:none;stroke:var(--ink);stroke-width:2;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.gstrend .mn{stroke:var(--ink-3);stroke-width:1;stroke-dasharray:4 3;vector-effect:non-scaling-stroke}
.gstrend .plot{touch-action:pan-y;cursor:crosshair}
.gstrend .dot{width:8px;height:8px;margin:-4px 0 0 -4px}
.gstrend .dot.on{width:12px;height:12px;margin:-6px 0 0 -6px;box-shadow:0 0 0 2px var(--bg)}
.gstrend .cx{position:absolute;top:0;bottom:0;width:0;border-left:1px solid var(--ink-3);pointer-events:none}
.gstrend .avg{position:absolute;left:100%;margin-left:6px;transform:translateY(-50%);font-size:10.5px;line-height:1;color:var(--ink-3);
  font-variant-numeric:tabular-nums;white-space:nowrap}
.prun .lt{fill:none;stroke:var(--ink);stroke-width:2;stroke-linejoin:round;vector-effect:non-scaling-stroke}
@media (max-width:919px){.bs.tms.wod{grid-template-columns:minmax(0,1fr)}}   /* Los Wochos: Von and Bis one under the other — side by side their day, month, year do not fit */
.t tr.pfoc td{background:var(--sunk)}                     /* a Strafe its Mitteilung was about (#strafen/kasse/<ids>) */
.t tr.pfoc td:first-child{box-shadow:inset 3px 0 0 var(--ink)}
.prun .wo{fill:var(--wait);opacity:.16}                 /* Los Wochos: their days, tinting the money */
.prun .woe{stroke:var(--wait);stroke-width:1.5;stroke-dasharray:3 3;vector-effect:non-scaling-stroke}
.calkey .c.wo{background:color-mix(in srgb,var(--wait) 22%,transparent);box-shadow:inset 0 0 0 1px var(--wait)}
.prun .cx{position:absolute;top:0;bottom:0;width:0;border-left:1px solid var(--ink);pointer-events:none}
@media (min-width:920px){
  .srun .plot{height:220px}
}
/* Umfragen: per answer its label and count, a thin bar below (one hue, from the left), the names
   under it where they are shown; after the end the leading answer in bold — never colour alone. */
.poll .pr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 12px;margin:10px 0 6px}
/* the Zusagen over time (attCurve): the season chart's frame, one line, a dot only on the training picked */
.attc .plot{cursor:crosshair;touch-action:pan-y}
.attc .pl.on{stroke-width:1.6}
.attc .pt{position:absolute;width:9px;height:9px;border-radius:50%;background:var(--ink);box-shadow:0 0 0 2px var(--bg),0 0 0 3.5px var(--ink);transform:translate(-50%,-50%);pointer-events:none}
/* the Zusagen per training weekday (attWeekdays): min to max as a bar, the average a stroke across it */
.wdr{margin:10px 0 4px}
.wr{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:50px}
.wr .wn{font-size:13px;font-weight:600}
.wr .wt{position:relative;height:14px;background:linear-gradient(var(--line),var(--line)) 0 50%/100% 1px no-repeat}
.wr .wt i{position:absolute;top:0;bottom:0;min-width:2px;background:var(--cal-1)}
.wr .wt b{position:absolute;top:-4px;bottom:-4px;width:3px;margin-left:-1.5px;background:var(--ink);box-shadow:0 0 0 1.5px var(--bg)}
.wr .wt b.core{width:5px;margin-left:-2.5px;background:var(--bg);box-shadow:inset 0 0 0 1.5px var(--ink)}   /* the Stammkader: hollow */
.wkey .wm{display:inline-block;width:3px;height:14px;background:var(--ink)}
.wkey .wm.core{width:5px;background:var(--bg);box-shadow:inset 0 0 0 1.5px var(--ink)}
.wkey .wm.rng{width:14px;height:10px;background:var(--cal-1)}
.wkey span:not(.wm){margin-right:6px}
.wr .wv{font-size:13px;font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}
.wr .wv small{display:block;font-size:11px;color:var(--ink-3)}
.wr.wx{min-height:0}
.wr.wx .wt{height:14px;background:none}
.wr.wx .wt span{position:absolute;top:0;transform:translateX(-50%);font-size:10.5px;color:var(--ink-3);font-variant-numeric:tabular-nums}
.pr .pl{overflow-wrap:anywhere}
.pr .pl.won{font-weight:700}
.pr .pc{font-variant-numeric:tabular-nums;text-align:right}
.pr .pb{grid-column:1/-1;height:6px;background:var(--line);margin-bottom:4px}
.pr .pb i{display:block;height:100%;background:var(--ink)}
.pr .pn{grid-column:1/-1;font-size:12px;color:var(--ink-3);margin:-2px 0 6px}
.lp .pr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 12px;margin:14px 0 8px}
.b.sm{min-height:0;padding:2px 9px;font-size:12px}
/* names that voted over a poll's link: one slim line each, chips and a small list as on Ämter */
.lv{margin:10px 0 2px}
.lv .k{display:block;margin-bottom:4px}
.lvr{display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding:3px 0}
.lvr .pp.sm{max-width:60%}
.lvr button.st{cursor:pointer;font:inherit;font-size:11px;font-weight:600;background:none}
.lvr .st.sug{border-style:dashed;border-color:var(--id);color:var(--ink-2)}   /* still open, like a suggestion on Mannschaft */
/* the app's own question box (ask in app.js) instead of the browser's: same type, colours, buttons */
/* Neu in OanserHub: a news item as a card (page Neu) or in the popup — the screenshot on top, framed */
.nw{margin:18px 0;padding-bottom:18px;border-bottom:1px solid var(--line)}
.nw.nwf{background:var(--sunk);margin-left:calc(-1 * var(--pad));margin-right:calc(-1 * var(--pad));padding:14px var(--pad) 18px}   /* the one its Mitteilung was about (#neu/<id>) */
.nwi{margin:0 0 10px;border:1px solid var(--line-2);border-radius:6px;overflow:hidden;background:var(--sunk)}
.nwi img{display:block;width:100%;height:auto}
.nwd{margin:0;font-size:12px;color:var(--ink-3)}
.nwt{margin:2px 0 6px;font-size:17px}
.nwb{margin:0;font-size:14px;line-height:1.45;color:var(--ink-2)}
.nwa{margin-top:12px}
.nwx{margin-top:6px;font-size:13px;color:var(--ink-3)}
.nwh{margin:0 0 10px;font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-3)}
.nwpop{max-width:420px;max-height:calc(100vh - 2 * var(--pad));overflow:auto}
.dlgb.nwpop .nwa{justify-content:flex-start;align-items:center;margin-top:14px}   /* in the popup: one row as in the other dialogs, the Mitteilung left, OK right */
.dlgb.nwpop .nwa [data-newsok]{margin-left:auto;min-width:72px}
/* the Spielvideo over the page: dark around it, the video as wide as the screen allows, its own height kept */
.vpl{position:fixed;inset:0;z-index:60;background:#000;display:flex;padding:var(--pad)}
/* margin:auto, not align-items:center: taller than the screen (the scenes under the video), it starts at the top and scrolls — centred it would stick out above, out of reach */
.vplb{width:100%;max-width:1100px;color:#fff;margin:auto}
.vplh{display:flex;align-items:center;gap:12px;margin-bottom:8px;font-size:14px}
.vplh b{flex:1;font-weight:600;min-width:0}
.vpld{color:#fff;font-size:13px;font-weight:600;text-decoration:underline;text-underline-offset:3px;white-space:nowrap;padding:10px 0}
.vplx{background:none;border:1px solid rgba(255,255,255,.5);color:#fff;min-width:40px;min-height:40px;font-size:16px;cursor:pointer}
.vplv{position:relative;background:#000;overflow:hidden}
.vplv video{display:block;width:100%;max-height:calc(100vh - 80px);background:#000;transform-origin:0 0}
/* the bar over the video's foot: the place with the times, then −30 −10 −3 ⏮ ▶ ⏭ +3 +10 +30 and Vollbild; gone while playing untouched */
.vplc{position:absolute;left:0;right:0;bottom:0;padding:18px 6px 2px;background:linear-gradient(transparent,rgba(0,0,0,.8) 45%);transition:opacity .2s}
.vplv.hid .vplc{opacity:0;pointer-events:none}
.vplv.hid{cursor:none}
.vplt{display:flex;align-items:center;gap:8px;padding:0 6px;font-size:11px;font-variant-numeric:tabular-nums}
.vplr{flex:1;min-width:0;margin:0;height:20px;accent-color:#fff;cursor:pointer}
.vplk{display:flex;align-items:center}
/* the game's scenes under the video: a short list to tap, the filters beside its title — scrolls on its own, the video stays */
.vpl{overflow-y:auto}
.vpls{margin-top:10px;font-size:13px}
.vpls .note{color:rgba(255,255,255,.7);margin:6px 0}
.vplsh{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;margin-bottom:6px}
.vplsh span{color:rgba(255,255,255,.6);font-size:12px}
.vplsf{display:flex;gap:4px;margin-left:auto}
.vplsf button{background:none;border:1px solid rgba(255,255,255,.35);color:#fff;font:inherit;font-size:12px;padding:4px 10px;min-height:32px;cursor:pointer}
.vplsf button[aria-pressed="true"]{background:#fff;color:#000;border-color:#fff}
.vplsl{list-style:none;margin:0;padding:0;max-height:32vh;overflow-y:auto;border-top:1px solid rgba(255,255,255,.15)}
.vplsl button{display:flex;align-items:baseline;gap:10px;width:100%;background:none;border:0;border-bottom:1px solid rgba(255,255,255,.12);color:#fff;font:inherit;text-align:left;padding:9px 4px;min-height:40px;cursor:pointer}
.vplsl button:hover{background:rgba(255,255,255,.08)}
.vplsl .vt{font-variant-numeric:tabular-nums;color:rgba(255,255,255,.65);min-width:38px}
.vplsl b{font-weight:600}
.vplsl .sc{margin-left:auto;font-variant-numeric:tabular-nums;color:rgba(255,255,255,.65)}
.vplsl li.opp button{color:rgba(255,255,255,.6)}
.vplk button{flex:1;min-width:0;min-height:34px;background:none;border:0;color:#fff;font:inherit;font-size:12px;font-weight:600;
  font-variant-numeric:tabular-nums;cursor:pointer;padding:0;display:flex;align-items:center;justify-content:center}
.vplk button:active{background:rgba(255,255,255,.15)}
.vplk .vpli svg{width:18px;height:18px}
/* Vollbild: the browser's, or (iPhone) the box over the whole screen */
.vplv.fs{display:flex;align-items:center;justify-content:center}
.vplv.fs video{width:100%;height:100%;max-height:none;object-fit:contain;touch-action:none}   /* pinch and push are the player's (Zoom im Vollbild) */
.vplk button[hidden]{display:none}
.vplv.fake{position:fixed;inset:0;z-index:61;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}
.dlg{position:fixed;inset:0;z-index:50;background:rgba(0,0,0,.45);display:flex;align-items:center;justify-content:center;padding:var(--pad)}
.dlgb{background:var(--bg);color:var(--ink);border:1px solid var(--line-2);box-shadow:0 10px 30px var(--shadow);
  width:100%;max-width:420px;padding:18px 18px 14px}
.dlgb p{margin:0 0 12px;font-size:14.5px;line-height:1.45}
.dlgb .in{width:100%;margin-bottom:4px}
.dlgb textarea.in{min-height:110px;resize:vertical;font:inherit;padding:8px 10px}   /* Feedback */
.dlgb .field{margin-top:8px}
.dlgb .bs{justify-content:flex-end;margin-top:10px}
/* the action sheet (sheet()): one action per line; on the phone it comes from the bottom, as wide as the screen */
.shl{display:flex;flex-direction:column;border-top:1px solid var(--line);margin:0 0 4px}
.shi{background:none;border:0;border-bottom:1px solid var(--line);color:var(--ink);font:inherit;font-size:15px;text-align:left;
  padding:0 2px;min-height:48px;cursor:pointer}
.shi:hover,.shi:focus-visible{background:var(--sunk)}
@media (max-width:919px){.dlg.sht{align-items:flex-end;padding:0}
  .dlg.sht .dlgb{max-width:none;border-width:1px 0 0;padding-bottom:calc(14px + env(safe-area-inset-bottom,0px))}}
.dlgc{display:flex;flex-direction:column;gap:8px;margin-bottom:4px}
.dlgc label{display:flex;gap:8px;align-items:center;font-size:14.5px}
.dlgc label input{width:18px;height:18px;margin:0;flex:none;accent-color:var(--ink)}
.dlgc .in[hidden]{display:none}
/* the login page (login/): one narrow column, the logo on top, on the plain page ground */
.login{display:flex;justify-content:center;padding:0 var(--pad)}
.lgn{width:100%;max-width:380px;margin:10vh 0 40px}
.lgn .brand{margin-bottom:26px}
.lgn h1{font-size:26px;margin:0 0 6px}
.lgn p{margin:0 0 14px;color:var(--ink-2)}
.lgn .field{display:block;margin-bottom:12px}
.lgn .in{width:100%;font-size:16px}       /* 16px: iOS does not zoom into the field */
.lgn .b.p{width:100%;justify-content:center;min-height:44px}
.lgn #lerr,.lgn #jerr{color:var(--bad);min-height:1.4em}
.lgn .pwn{display:block;margin-top:5px;font-size:13px;color:var(--ink-3)}    /* the password's minimum, counted while typing (join.js) */
.lgn .pwn.ok{color:var(--ok)}
.lgn .jin{background:var(--wait-bg);border:1px solid var(--wait-line);border-radius:8px;padding:12px 14px;margin:0 0 18px}   /* the join page in WhatsApp's browser: out first (join.js) */
.lgn .jin p{margin:0 0 10px;color:var(--ink)}
.lgn .pwn.bad{color:var(--bad);font-weight:600}
.lgn .in.bad{border-color:var(--bad)}
.lgn.privacy{max-width:560px;margin-top:6vh}     /* the privacy notice: longer text than the login, still one column */
.lp main>.lgn{margin-left:auto;margin-right:auto}  /* notice and waiting page: centred in the app's column */
.lgn.privacy .bs{flex-direction:column;gap:8px;margin-top:22px}
.lgn.privacy .b{width:100%;justify-content:center;min-height:44px}
div.privacy h3{margin:6px 0 4px}                 /* the same text under Einstellungen */
div.privacy p{margin:0 0 8px;color:var(--ink-2)}
/* head to head: the goal difference per game, oldest left — above the line won, below lost (the
   direction tells it, not the colour); a draw a short tick on the line */
.h2c{margin:6px 0 4px;overflow-x:auto}
.h2c svg{display:block;height:72px;width:100%;min-width:min(100%,420px)}
.h2c line{stroke:var(--line-2);stroke-width:1}
.h2c rect.win{fill:var(--ink)}
.h2c rect.loss{fill:var(--ink-3)}
.h2c circle.draw{fill:var(--bg);stroke:var(--ink-2);stroke-width:1.5}
.h2c figcaption{font-size:11.5px;color:var(--ink-3)}
/* head to head on the phone: the arrow beside the name, the record never broken */
/* a team's games: the grey block starts at the team column, the place column stays clear */
.lt table.t tr.sub td.ltgap,.lt table.t tbody tr.sub:hover td.ltgap{background:transparent;border-bottom-color:transparent}
.lt table.t tr.sub td.ltgap + td{padding-left:8px}
.lt table.t tr.sub td:last-child{padding-right:8px}
.lt .nmfold{display:inline-flex;align-items:baseline;gap:5px}
.lt .nmfold .ar{flex:none;width:.8em;color:var(--ink-3)}
/* Spieler on Home: full names, longer than Spielbetrieb's — a little less air between the columns and the name
   hyphenated where the phone can, so the table never scrolls sideways on a phone of 375 px, hyphenation or not */
.sct table.t th,.sct table.t td{padding-left:3px;padding-right:3px}
.sct table.t td:first-child{hyphens:auto;-webkit-hyphens:auto}
.sct table.t th{letter-spacing:.04em}      /* the heads, one line each, a little closer: they make the number columns wide */
.h2h td.rec{white-space:nowrap;font-variant-numeric:tabular-nums}
.h2h .recb{font:inherit;color:inherit;text-align:right;padding:0}
.h2h .recb .tl{display:block;margin:4px 0 0;font-size:12.5px}   /* "▾ Bilanz" under the bars it opens */
.tn{font:inherit;color:var(--ink);text-align:left;padding:0;text-decoration:underline;text-decoration-color:var(--line-2);
  text-decoration-thickness:1px;text-underline-offset:3px}      /* a team's name: into its row of the table */
.tn:hover{text-decoration-color:var(--ink-3)}
/* S-U-N as three tiny columns (won dark, draw a hollow outline, lost grey — the order and the count
   below carry it too), goals for and against as two thin bars with their numbers */
.sun{display:inline-flex;align-items:flex-end;gap:3px;height:34px}
.sun .sc{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;width:13px;height:100%}
.sun i{display:block;width:8px;box-sizing:border-box}   /* height in px from app.js: 22px is the most games of any opponent */
.sun i.w{background:var(--ink)}
.sun i.d{border:1.5px solid var(--ink-2);background:none}
.sun i.l{background:var(--ink-3)}
.sun small{font-size:10.5px;line-height:1.2;color:var(--ink-2);margin-top:2px}
.gb{display:grid;grid-template-columns:minmax(0,1fr) 3.2em;gap:3px 8px;align-items:center}
.gb .gt{display:block;height:4px}
.gb i{display:block;height:4px;min-width:1px}
.gb i.f{background:var(--ink)}
.gb i.a{background:var(--ink-3)}
.gb small{font-size:10.5px;line-height:1;color:var(--ink-3);font-variant-numeric:tabular-nums;text-align:right}
.h2s{display:flex;align-items:flex-end;gap:14px;margin:2px 0 6px}   /* a played game's Bilanz: S-U-N, beside it the goals */
.h2s .gb{flex:1;min-width:0}
/* the goal bars' own row: one block with the row above — no line between them */
.h2h tr:has(+ tr.gbr) td{border-bottom:0;padding-bottom:2px}
.h2h tr.gbr td{padding-top:0}
/* an away hall's address in the game's "where" line (.s), and right behind the town two quiet text links: copy, Google Maps */
.tl{font-size:inherit;color:var(--ink-2);text-decoration:underline;text-underline-offset:2px;margin-left:8px;padding:2px 0;white-space:nowrap}
.tl:hover{color:var(--ink)}
.lks{white-space:nowrap}   /* a game's links on one line of their own, the first one at the start */
.lks .tl{margin-left:7px}
.lks .tl:first-child{margin-left:0}
.vday{display:inline-flex;flex-direction:column;align-items:center}   /* the date with the Video box centred under it */
.vbtn{display:flex;align-items:center;justify-content:center;margin-top:6px;width:36px;height:22px;padding:0;border:0;border-radius:4px;
  background:var(--ink);color:var(--bg);font-size:10px;line-height:1;cursor:pointer}   /* the Video: a dark box with ▶ under the game's date */
.vbtn:hover{opacity:.85}
.ha{display:inline-block;min-width:4.4em}
.hs{display:inline-block;width:1.4em}   /* H / A before the opponent, one width: the names line up */   /* Heim / Auswärts, one width: the Bogen link after it lines up */
span.tl{text-decoration:none}                    /* the source without an address: no link to show */
.adr .tls{display:block;white-space:nowrap}      /* copy and Maps always on their own line under the address — */
.adr .tls .tl:first-child{margin-left:0}         /* the same on Home and on the Spielplan, whatever the width */
.sec .r .tl{margin-left:14px;padding:6px 0}      /* a nuLiga section's header: nuLiga ↗ — taller to tap */
.ans{margin:8px 0 0;font-size:13.5px;line-height:1.45;color:var(--ink-2)}   /* Home: who said yes or no to the next training */
.ans b{color:var(--ink);font-weight:600;margin-right:8px}
/* Positionen: the half court, goal on top (app.js posCourt) — each position's place here, x and y of its viewBox 200×200;
   the names small and without a frame, on the court's own ground so its lines do not cross them. The back row hangs from
   its top, so a long list grows into the free space below */
.court{position:relative;max-width:420px;margin:12px auto 6px;aspect-ratio:1;background:var(--sunk);border-radius:6px;overflow:hidden}
.court svg{position:absolute;inset:0;width:100%;height:100%}
.court .cl{fill:none;stroke:var(--line-2);stroke-width:1.2}
.court .cl.dash{stroke-dasharray:4 3}
.court .cg{stroke:var(--ink);stroke-width:4}
.court .pc{position:absolute;transform:translate(-50%,-50%);max-width:34%;display:flex;flex-direction:column;align-items:center;gap:1px;
  padding:3px 5px;background:var(--sunk);font-size:11.5px;line-height:1.2;color:var(--ink);text-align:center}
.court .pc span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.court .pc .also{color:var(--ink-3)}
.court .pc-TW{left:50%;top:9%}
.court .pc-LA{left:2%;top:19%;transform:translateY(-50%);align-items:flex-start;text-align:left}
.court .pc-RA{left:auto;right:2%;top:19%;transform:translateY(-50%);align-items:flex-end;text-align:right}
.court .pc-KM{left:50%;top:37%}
.court .pc-RL{left:21%;top:52%;transform:translateX(-50%)}
.court .pc-RM{left:50%;top:62%;transform:translateX(-50%)}
.court .pc-RR{left:79%;top:52%;transform:translateX(-50%)}
.kdpos{display:block;margin-top:2px;font-size:12px;font-weight:600;color:var(--ink-2);letter-spacing:.03em}   /* Kader: the Coach's line under the name */
.kdpos .also{font-weight:500;color:var(--ink-3)}
.posk{margin:4px 0 16px}
.qd summary{cursor:pointer}                     /* Dienste je Spieler: a row folded open to its shifts (app.js seriesFold) */
.qd summary .q{margin-left:1.1em}
.qd .ans{margin-top:10px}
.qdl{margin:4px 0 2px;padding-left:1.1em;font-size:13.5px;line-height:1.5;color:var(--ink-2)}
.qdl b{color:var(--ink);font-weight:600}
.qdl span{white-space:nowrap}                    /* the time breaks as a whole, never at its dash */
.posd summary{cursor:pointer}   /* Home: Zugesagt, folded open to the court */
.posalsos{display:flex;flex-wrap:wrap;gap:0 18px;margin-top:-4px}
.posalsos .chk{margin:4px 0}
.sec .r .go{margin-left:12px}                    /* a Home section's button to its full page (goBtn) */
/* a small table of label and value, without a header (Einstellungen → Zugang) */
.kv thead{display:none}
.kv td:first-child{white-space:nowrap;color:var(--ink-3);width:1%}
/* a switch as a tick with its label (Administration: nuLiga automatisch) */
.chk{display:flex;align-items:center;gap:9px;margin-top:14px;font-size:13.5px;cursor:pointer}
.chk input{width:18px;height:18px;margin:0;flex:none;accent-color:var(--ink)}
.chkset{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px 14px;margin:10px 0 0 27px;padding:12px;background:var(--sunk)}   /* a switch's own settings under it, level with its text (DdW reminder: day and time) */
.chkset .cl{font-size:12px;color:var(--ink-3)}
.seg{display:flex;min-width:0}                                                      /* a choice of two as one joined control */
.seg .b.tog{flex:1;min-width:0;min-height:36px;padding:0 8px;font-size:12.5px;background:var(--bg)}
.seg .b.tog+.b.tog{margin-left:-1px}
.seg .b.tog[aria-pressed="false"]{border-style:solid;color:var(--ink-2)}            /* a choice of two, not an exception */
.seg .b.tog[aria-pressed="true"]{background:var(--ink);border-color:var(--ink);color:var(--on-ink);position:relative}
.tstp{gap:0;margin-left:6px}
.chkset .tstp{margin:0;justify-self:start}
.tstp b{min-width:4em;min-height:36px;display:inline-flex;align-items:center;justify-content:center;font-size:15px;background:var(--bg);border-top:1px solid var(--line-2);border-bottom:1px solid var(--line-2)}
.tstp .b{min-height:36px;min-width:40px;background:var(--bg)}

.num{display:flex;align-items:center;gap:9px;margin-top:14px;font-size:13.5px}
.num input{width:4.5em;flex:none;text-align:right}
.adrwarn{display:block;margin-top:5px;font-size:12px;font-weight:600;color:var(--wait)}   /* SpielerPlus names another place */
/* the Spielplan's divider between Hin- and Rückrunde: a heading inside the table, like .sec, the count at the right */
table.t tr.rd td{padding:22px 0 7px;border-bottom:1px solid var(--line-2);background:none}
table.t tr.rd td span{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-2);font-weight:700}
table.t tr.rd td span + span{float:right;letter-spacing:0;font-weight:400;font-size:12px;color:var(--ink-3)}
table.t tbody tr.rd:hover td{background:none}
/* the games against one opponent: one line each, in columns that never wrap */
.h2l{list-style:none;margin:6px 0 0;padding:0}
.h2l li{display:grid;grid-template-columns:5.6em minmax(0,1fr) 1.6em 3.6em 1.4em;gap:8px;align-items:baseline;
  padding:4px 0;border-top:1px solid var(--line);white-space:nowrap;font-variant-numeric:tabular-nums}
.h2l li > span:nth-child(2){overflow:hidden;text-overflow:ellipsis;color:var(--ink-2)}
.h2l li > span:first-child{color:var(--ink-2)}
.h2l b{text-align:right}
.h2l .o{text-align:center;font-weight:600}
/* a result: the score (and its S/U/N) in the club's green or red, a draw as it is — only results, the bars stay grey — the letter or word beside it
   says it, the colour only on top: green and red alone are one colour for the colour-blind (docs/02-brand.md) */
.res.win,.gbox .sc.res.win{color:var(--ok)}
.res.loss,.gbox .sc.res.loss{color:var(--bad)}
.gbox .sc .oc{margin-left:5px;font-size:.85em;font-weight:600}
/* Dokumente: the list, and a PDF page by page — each page a canvas the column's width; until drawn a
   placeholder of the page's proportions, so the page does not jump while scrolling */
.doclist{list-style:none;margin:0;padding:0}
.doclist li{padding:10px 0;border-bottom:1px solid var(--line)}
.doclist .s{display:block;color:var(--ink-3);font-size:12px;margin:2px 0 6px}
.doclist .lnk{font:inherit;color:inherit;background:none;border:0;padding:0;text-align:left;cursor:pointer}
/* Dokumente → PDF hochladen: one tappable box in place of the browser's file field, the title, the button */
.docup{max-width:26rem}
.fdrop{position:relative;display:flex;align-items:center;gap:12px;margin-top:11px;padding:12px;min-height:64px;
  border:1px dashed var(--line-2);background:var(--bg);cursor:pointer}
.fdrop:hover{border-color:var(--ink-3)}
.fdrop:focus-within{outline:2px solid var(--ink);outline-offset:2px}
.fdrop.on{border-style:solid;border-color:var(--ink)}
.fdrop.sm{min-height:0;padding:10px 12px}   /* one line, no icon: an extra way in, below the main ones */
.fdrop input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}   /* still the real field: tap and keyboard */
.fdrop .ic{flex:none;display:grid;place-items:center;width:38px;height:46px;border:1px solid var(--line-2);
  font-size:10px;font-weight:700;letter-spacing:.08em;color:var(--ink-3)}
.fdrop.on .ic{background:var(--ink);color:var(--on-ink);border-color:var(--ink)}
.fdrop .tx{min-width:0}
.fdrop b{display:block;font-size:13.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fdrop .s{display:block;font-size:12px;color:var(--ink-3);margin-top:2px}
.docup .field{max-width:none}
.pdfv{margin-top:8px}
/* the search over an open PDF: under the bar, stays in view while jumping from hit to hit */
.docfind{position:sticky;top:calc(env(safe-area-inset-top,0px) + 52px);z-index:5;display:flex;align-items:center;gap:6px;
  padding:8px 0;background:var(--bg);border-bottom:1px solid var(--line)}
.docfind .in{flex:1;min-width:0}
.docfind .s{color:var(--ink-3);font-size:12px;white-space:nowrap}
.pdfp{position:relative}
.pdfhit{position:absolute;background:rgba(255,200,0,.45);outline:2px solid rgba(230,150,0,.9);border-radius:2px;pointer-events:none}
.pdfp{margin:0 0 12px;width:100%;background:#fff;box-shadow:0 1px 4px var(--shadow);border:1px solid var(--line)}
.pdfp canvas{display:block;width:100%;height:auto}   /* its own proportions: never stretched */
.pdfp:not(.drawn) canvas{height:100%}
/* on Home, right under the next game: no header row of its own — it belongs to the line above */
.phys li{display:flex;align-items:flex-start;gap:8px;padding:6px 0}   /* the day on the left, its times below each other beside it */
.phys li > span:first-child{min-width:74px;padding-top:2px}
.phys .chips{margin-top:0;flex-direction:column;align-items:flex-start;gap:3px}   /* a day's slots one below the other */
/* catalogue editor: a form under the row it edits; a proposal's changes, one line each */
.cform{background:var(--sunk);padding:10px 12px;margin:6px 0 10px}
.cform .field{display:block;margin-bottom:8px}
.cform .in{width:100%}
.cform .bs .field{flex:1;min-width:120px}
.chg{list-style:none;margin:8px 0;padding:0}
.chg li{display:grid;grid-template-columns:5.5em minmax(0,1fr);gap:2px 10px;padding:7px 0;border-top:1px solid var(--line)}
.chg .ty{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-3);padding-top:2px}
.chg .wh .s{display:block;color:var(--ink-3);font-size:12px}
.chg .bs{grid-column:2;margin:4px 0 0}
.chg li.reject .wh{text-decoration:line-through;color:var(--ink-3)}

/* ---------- Kalender ----------
   A month: the week number, then seven days; each week a grid of its own whose first row is the
   day number and the rest lanes for the bars. The day buttons span the whole week row; the bars
   lie on top of them. */
/* training and game: the club's gold as a stripe, the kind is the label (a game in bold, away with a
   dashed stripe); the chosen player's answer sets how strong it reads */
.k-training,.k-game{--kc:var(--id);--kx:var(--ink)}
.k-event{--kc:var(--k-event);--kx:var(--kx-event)}       /* anything else: petrol */
.calbar{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:14px}
.calbar .calm{font-size:17px;min-width:9.5em;text-align:center;letter-spacing:-.01em}
.calbar .b{min-width:40px}
.calspan{display:none;gap:4px;margin-left:auto}
@media (min-width:920px){.calspan{display:inline-flex}}


.cals{display:grid;gap:22px;margin-top:12px}
.cals.n3,.cals.n6{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 16px}
.calg{--dh:20px;--bh:17px;border-top:1px solid var(--line-2)}
.calg.sm{--dh:17px;--bh:13px}
.calt{font-weight:700;font-size:13.5px;padding:6px 0 4px}
.calw{display:grid;grid-template-columns:22px repeat(7,minmax(0,1fr));column-gap:1px;border-bottom:1px solid var(--line);min-height:44px}
.calg.sm .calw{grid-template-columns:18px repeat(7,minmax(0,1fr));min-height:30px}
.calw.calh{min-height:0;border-bottom:1px solid var(--line-2);font-size:10.5px;font-weight:700;color:var(--ink-3);
  letter-spacing:.06em;text-transform:uppercase}
.calw.calh span{padding:5px 0 4px;text-align:center}
.calw .kw{grid-row:1 / -1;grid-column:1;font-size:9.5px;color:var(--ink-3);padding-top:4px;text-align:center;
  border-right:1px solid var(--line)}
.calw.calh .kw{padding:5px 0 4px;letter-spacing:0}
.cd{grid-row:1 / -1;display:flex;align-items:flex-start;justify-content:space-between;gap:2px;padding:2px 3px 0;
  background:none;border:0;font:inherit;color:var(--ink);text-align:left;cursor:pointer;min-width:0;border-radius:0}
.cd b{font-size:12px;font-weight:600;line-height:16px;min-width:18px;height:18px;text-align:center;border-radius:9px}
.calg.sm .cd b{font-size:10.5px;line-height:15px;height:15px;min-width:15px}
.cd small{font-size:9.5px;color:var(--ink-3);line-height:16px}
.cd.out{background:var(--sunk)}
.cd.out b{color:var(--ink-3);font-weight:400}
.cd.now b{background:var(--ink);color:var(--on-ink)}
.cd.sel{box-shadow:inset 0 0 0 2px var(--ink)}
.cd.abs{background-image:repeating-linear-gradient(135deg,transparent 0 5px,var(--line-2) 5px 6px)}
.cd:hover{background-color:var(--sunk-2)}
/* a bar is its text, in its kind's colour, with a thin stripe in front — an event over several days
   also underlined across them. On the phone it wraps (up to three lines, hyphenated) instead of
   being cut with "…", as phone calendars do */
.cb{position:relative;z-index:1;margin:0 0 1px;padding:0 1px 0 3px;overflow:hidden;min-width:0;cursor:pointer;
  font-family:"Roboto Condensed",sans-serif-condensed,"Avenir Next Condensed","Arial Narrow",system-ui,sans-serif;font-stretch:condensed;
  font-size:11px;line-height:12px;font-weight:600;letter-spacing:-.01em;color:var(--kx);border-left:2px solid var(--kc);
  white-space:normal;overflow-wrap:normal;hyphens:auto;-webkit-hyphens:auto}
.cb .ct{display:block;max-height:calc(3 * 12px);overflow:hidden}
.cb .cn{display:flex;gap:3px;font-size:9.5px;line-height:11px;font-weight:700;font-variant-numeric:tabular-nums;
  letter-spacing:0;margin-top:1px}
.cb.a-no .cn{opacity:.7}
.cb.span{border-bottom:2px solid var(--kc)}
.cb.k-game{font-weight:700}
.cb.k-training{font-weight:500}
.cb.a-maybe{color:var(--ink-2)}
.cb.k-event.a-maybe{color:var(--kx);opacity:.75}
.cb.a-no{color:var(--ink-3);border-left-color:var(--line-2);font-weight:400}
.cb.a-no.span{border-bottom-color:var(--line-2)}
.calg.sm .cb{font-size:9.5px;line-height:12px;white-space:nowrap}
.calg.sm .cb .ct{max-height:12px}
.cb.k-away{border-left-style:dashed}      /* an away game: its stripe dashed */
.cb.cont{border-left-style:dotted}
.cb.more{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 6px),transparent)}
.cb.x{text-decoration:line-through;color:var(--ink-3);border-color:var(--line-2)}
.cb i{font-style:normal;font-weight:800;font-size:10px;margin-right:1px}
.cb i.soft{opacity:.7}
.st-yes{color:var(--ok)}
.st-maybe{color:var(--wait)}
.st-no{color:var(--bad)}
.st-none{color:var(--ink-3)}
td.mine{text-align:center;white-space:nowrap}
td.mine b{display:block;font-size:22px;line-height:1.1;font-weight:800}
@media (max-width:919px){
  .calpage .vh{padding-top:12px}
  .calpage .vh p{display:none}
  .calbar{margin-top:8px;gap:4px;flex-wrap:nowrap}
  .calbar .b{min-height:38px;min-width:38px;padding:0 10px}
  .calbar .calm{font-size:16px;flex:1;min-width:0}
  .calw{grid-template-columns:15px repeat(7,minmax(0,1fr));min-height:58px}
  .calw .kw{font-size:8.5px;padding-top:5px}
  .cd{padding:2px 1px 0}
}

/* the day under the calendar: its events as cards, each with who comes */
.ce{border:1px solid var(--line);border-left:4px solid var(--kc);padding:10px 12px;margin-top:8px}
.ce.k-away{border-left-style:dashed}
.ce.x .ceh b{text-decoration:line-through;color:var(--ink-3)}
table.t tr.x td b{text-decoration:line-through;color:var(--ink-3)}   /* a training called off (Home) */
.ceh{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.ceh .cet{font-variant-numeric:tabular-nums;font-weight:600;color:var(--ink-2);font-size:13px}
.ceh b{font-size:15px}
.ceh .src{margin-left:auto;font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-3);font-weight:600}
.cem{font-size:12.5px;color:var(--ink-2);margin-top:3px}
.cen{font-size:12.5px;color:var(--ink-2);margin-top:6px;white-space:pre-line;border-left:2px solid var(--line-2);padding-left:8px}
.cer{display:flex;align-items:center;gap:10px;margin-top:9px}
.cer .rb{display:flex;gap:2px;flex:1;height:8px;min-width:80px}
.cer .rb i{display:block;border-radius:2px}
.cer .rb .yes{background:var(--ok)}
.cer .rb .maybe{background:var(--wait)}
.cer .rb .no{background:var(--bad)}
.cer .rb .none{background:var(--line-2)}
.cer .rn{display:flex;gap:9px;font-size:12.5px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
.cer .rn span:last-child{color:var(--ink-3)}
.cew{font-size:12.5px;margin-top:6px}
.cew small{color:var(--ink-3)}
.ce .bs{margin-top:8px}
.ce .bs .b{min-height:34px}
@media (max-width:919px){.ce .bs .b{min-height:40px}}
.cnl{font-size:12.5px;margin:8px 0 0;padding:6px 8px;background:var(--wait-bg);border-left:3px solid var(--wait)}
.cnl .b{margin-left:6px;min-height:30px}
.crl{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:4px 16px;margin-top:10px}
.crl h4{margin:6px 0 2px;font-size:11px;letter-spacing:.06em;text-transform:uppercase}
.crl ul{list-style:none;margin:0;padding:0;font-size:13px}
.crl li{padding:2px 0}
.crl li small{color:var(--ink-3);font-size:11px}
.crl li .s{display:block;color:var(--ink-3);font-size:11.5px}
.ce + .note,.crl + .note{margin-top:6px}
/* Zu- und Absagen in OanserHub (mode app): three buttons as one control, a thumb's height; the chosen one filled in
   its answer's colour, the others plain. The Coach's ✓ ? ✗ beside each name in „Wer kommt?“ are the same, small. */
.ansctl{margin-top:10px}
.ansctl .b.tog{min-height:44px;font-size:13.5px}
.ansctl .b.tog b{margin-right:4px}
.ansctl .b.tog:disabled{opacity:.5;cursor:default}
.ansn{margin-top:4px}
.ansctl .b.tog.ab-yes[aria-pressed="true"],.rset .b.tog.ab-yes[aria-pressed="true"]{background:var(--ok);border-color:var(--ok);color:var(--on-ink)}
.ansctl .b.tog.ab-maybe[aria-pressed="true"],.rset .b.tog.ab-maybe[aria-pressed="true"]{background:var(--wait);border-color:var(--wait);color:var(--on-ink)}
.ansctl .b.tog.ab-no[aria-pressed="true"],.rset .b.tog.ab-no[aria-pressed="true"]{background:var(--bad);border-color:var(--bad);color:var(--on-ink)}
.crl.set{grid-template-columns:1fr}
.crl.set li{display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid var(--line);padding:4px 0}
.rset{display:flex;flex:none}
.rset .b.tog{min-width:36px;min-height:34px;padding:0;font-size:13px}
.rset .b.tog+.b.tog{margin-left:-1px}
.rset .b.tog[aria-pressed="false"]{border-style:solid;color:var(--ink-3)}
/* Abwesenheiten: the form on a sunk ground, the kinds as chips, the weekdays as one row */
#calabs h4{margin:12px 0 4px;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-2)}
.absf{margin-top:8px;padding:12px;background:var(--sunk);border:1px solid var(--line)}
.absf .field{margin-bottom:10px}
.absk .b.tog{min-height:36px;padding:0 12px;font-size:13px}
.absd .b.tog,.modeseg .b.tog{min-height:40px}
.absf .seg + .dtf{margin-top:6px}
/* the Coach's rules per kind: a row of buttons each, saved on the tap */
.rulek{margin:12px 0 4px;padding-bottom:8px;border-bottom:1px solid var(--line)}
.rrow{margin-top:6px}
.rrow > .s{display:block;font-size:12px;color:var(--ink-3);margin-bottom:3px}
.cabs{font-size:12.5px;margin:10px 0 0;padding:8px 10px;background-image:repeating-linear-gradient(135deg,transparent 0 5px,var(--line) 5px 6px)}
.cabs .s{color:var(--ink-3)}
.cup{list-style:none;margin:6px 0 0;padding:0}
.cup button{display:flex;align-items:center;gap:10px;width:100%;padding:9px 2px;border:0;border-bottom:1px solid var(--line);
  background:none;font:inherit;color:var(--ink);text-align:left;cursor:pointer;min-height:44px}
.cup button b{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cup button span:nth-child(2){font-variant-numeric:tabular-nums;color:var(--ink-2);min-width:5.5em;font-size:13px}
.cup .s{color:var(--ink-3);font-size:12px}
.cdot{width:10px;height:10px;background:var(--kc);flex:none}
.calform .field{max-width:none}
.calform .bs .field{min-width:110px}
.calform .chips .wk{display:inline-flex;align-items:center;gap:5px;padding:6px 8px;border:1px solid var(--line-2);background:var(--bg)}
.calform .field.wk{display:flex;align-items:center;gap:8px}
.calform .field.wk span{display:inline;margin:0;font-size:13px;letter-spacing:0;text-transform:none;color:var(--ink)}
.mrow.calstd{gap:8px;flex-wrap:wrap}                      /* Treffpunkt und Vorbelegung: the kind, then its two choices */
.mrow.calstd .l{min-width:5rem}
.mrow.calstd > .pp.ch{min-width:0;width:auto}
/* a tick inside a catalogue form (Kommentar Pflicht) */
.cform .field.wk{display:flex;align-items:center;gap:8px}
.cform .field.wk input{width:18px;height:18px;min-height:0;margin:0;flex:none;accent-color:var(--ink)}
.cform .field.wk span{display:inline;margin:0;font-size:13px;letter-spacing:0;text-transform:none;color:var(--ink)}
/* the poll a link led to */
.ob.poll.focus{box-shadow:inset 4px 0 0 var(--id);padding-left:12px;background:var(--id-bg)}

/* a catalogue proposal as a diff (diffView): + new, − gone, a change as old line over new line */
.dsum{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:10px 0 4px;font-size:13px;font-weight:600}
.dmode{display:inline-flex;gap:4px;margin-left:auto}
.dmode .b.tog{min-width:0;min-height:32px;padding:0 10px;font-size:12px}
.dsec{margin-top:12px;border:1px solid var(--line)}
.dhead{padding:6px 10px;background:var(--sunk);font-weight:700;font-size:13px;border-bottom:1px solid var(--line)}
.dhead.add{background:color-mix(in srgb,var(--ok) 12%,var(--bg))}
ul.diff{list-style:none;margin:0;padding:0;font-size:13px}
.dl{display:flex;align-items:flex-start;gap:8px;padding:5px 8px 5px 0;border-top:1px solid var(--line)}
.dl:first-child{border-top:0}
.dg{width:22px;flex:none;text-align:center;font-weight:800;font-family:ui-monospace,Menlo,Consolas,monospace}
.dt{flex:1;min-width:0}
.dt .s{display:block;color:var(--ink-3);font-size:11.5px}
.dl.same{color:var(--ink-3)}
.dl.add,.dl.new{background:color-mix(in srgb,var(--ok) 10%,var(--bg))}
.dl.add .dg,.dl.new .dg{color:var(--ok)}
.dl.del,.dl.old{background:color-mix(in srgb,var(--bad) 9%,var(--bg))}
.dl.del .dg,.dl.old .dg{color:var(--bad)}
.dl.del .dx,.dl.old .dx{text-decoration:line-through;text-decoration-color:color-mix(in srgb,var(--bad) 60%,transparent)}
.dl.old{border-top:1px solid var(--line)}
.dl.old + .dl.new{border-top:0}
.dl.reject{opacity:.45}
.dk{display:inline-flex;gap:4px;flex:none}
.dt .dh{display:block;color:var(--ink-3);font-size:11.5px;margin-top:1px}            /* a Strafe's Hinweis, under its name */
.dl.del .dh,.dl.old .dh{text-decoration:line-through}
/* + between the lines of a proposal: put a Strafe in right there — quiet until touched */
.dl.dins{padding:0;border-top:0;height:0;position:relative;z-index:1;overflow:visible}
.dplus{position:absolute;left:-13px;top:-13px;width:26px;height:26px;padding:0;border:1px solid var(--line);border-radius:50%;
  background:var(--bg);color:var(--ink-2);font:inherit;font-size:14px;line-height:1;cursor:pointer}
.dplus:hover,.dplus:focus-visible{border-color:var(--ink);color:var(--ink)}
.dl.dform{display:block;padding:8px 10px;background:var(--sunk)}
.dl.oiadd{display:block;padding:6px 8px 6px 30px}               /* Ämter-Vorschlag: + Person, under the lines of its Amt */
.dl.oiadd .pp.ch{width:auto;max-width:16rem}
.dl.oinew{box-shadow:inset 3px 0 0 var(--wait)}                         /* Ämter-Vorschlag: comes new into the Kader */
.dl.oinew .dh{color:var(--wait)}
.dl.oiadd.oidup{margin:4px 0;background:var(--wait-bg);border:1px solid var(--wait-line);border-left:4px solid var(--wait)}   /* a new name that may be one of the Kader */
.dl.oiadd b{display:block;font-size:12.5px;font-weight:500;color:var(--ink-2);margin-bottom:2px}    /* automatisch erkannt: said, quietly */
.dl.oiadd.oidup b{display:block;color:var(--wait);font-size:13.5px;margin-bottom:2px}
.dhead .oied{margin-left:4px;font-weight:400}
.dhead .oiren{margin:0;align-items:center}
.dhead .oiren .in{flex:1;min-width:0}
.dl.dform .cform{margin:0;padding:0;background:none;border:0}
.dk .b{min-width:34px;min-height:30px;padding:0 8px;font-size:13px}
.dk .b[aria-pressed="true"]{background:var(--ink);color:var(--on-ink);border-color:var(--ink)}
.dfold{border:0;background:none;color:var(--ink-3);font:inherit;font-size:12px;padding:2px 0 2px 30px;cursor:pointer;text-decoration:underline}
@media (max-width:919px){.dk .b{min-height:38px}}
.dl mark{color:inherit;padding:0 2px;border-radius:2px}
.dl.old mark{background:color-mix(in srgb,var(--bad) 28%,var(--bg))}
.dl.new mark{background:color-mix(in srgb,var(--ok) 30%,var(--bg))}
.dhead .s{font-weight:400;color:var(--ink-3)}

/* Stufen im Verlauf (amtTimeline): per Amt a band over the time, darker the higher the step — the grey ramp
   of the Trainingsbeteiligung (--cal-*), the step also written in it; ticks for each Verstoß */
.tlc{margin-top:10px}
.tlax{position:relative;height:18px;margin-left:0;border-bottom:1px solid var(--line-2);font-size:10.5px;color:var(--ink-3)}
.tlax span{position:absolute;top:0;transform:translateX(-50%);white-space:nowrap}
.tlax .tlnow{color:var(--ink);font-weight:700;top:-1px}
.tlr{padding:8px 0 6px;border-bottom:1px solid var(--line)}
.tlr.me{background:var(--id-bg);margin:0 -6px;padding-left:6px;padding-right:6px}      /* one's own Amt, yellow as everywhere */
.tlr.more{border-bottom:0;padding-bottom:2px}      /* one Amt, several histories: one block */
.tlr.cont{padding-top:2px}
.tln{font-size:13px;margin-bottom:5px}
.tln .s{color:var(--ink-3)}
.tln .tla{display:block;margin-bottom:1px}      /* the Amt over its holders, the same in every row group */
.tlb{position:relative;height:20px;background:var(--sunk)}
.tlb .seg{position:absolute;top:2px;bottom:2px;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;
  color:var(--ink);overflow:hidden}
.tlb .seg.s1{background:var(--cal-1)}
.tlb .seg.s2{background:var(--cal-2);color:var(--bg)}
.tlb .seg.s3,.tlb .seg.s4{background:var(--cal-3);color:var(--bg)}
.tlb .seg.fut{opacity:.45;outline:1px dashed var(--ink-2);outline-offset:-1px;color:var(--ink)}   /* the outlook: paler, dashed edge, number still legible */
.tlb .seg.fut.s2,.tlb .seg.fut.s3,.tlb .seg.fut.s4{color:var(--bg)}
.tlb .tick{position:absolute;top:-3px;bottom:-3px;width:2px;margin-left:-1px;background:var(--ink);z-index:1;border:0;padding:0;min-height:0;cursor:pointer}
.tlb .tick::before{content:"";position:absolute;inset:-6px -9px}     /* a finger is wider than the stroke */
.tlpop{position:absolute;bottom:calc(100% + 5px);transform:translateX(-50%);z-index:3;white-space:nowrap;font-size:11.5px;font-weight:600;
  background:var(--ink);color:var(--bg);padding:2px 6px;pointer-events:none}
.tlpop.l{transform:translateX(-6px)}
.tlpop.r{transform:translateX(calc(-100% + 6px))}
/* Protokoll: how much the app is used — a bar a day, one hue, the scale's top number at the left */
.ub{position:relative;display:flex;align-items:flex-end;gap:2px;height:96px;margin-top:10px;padding-left:22px;border-bottom:1px solid var(--line-2)}
.ub .ubmax{position:absolute;left:0;top:-2px;font-size:10.5px;color:var(--ink-3);border-top:1px solid var(--line);width:100%;padding-top:1px}
.ubc{flex:1;height:100%;display:flex;align-items:flex-end;padding:0;min-width:0;z-index:1}
.ubc i{display:block;width:100%;background:var(--ink-2);border-radius:2px 2px 0 0;min-height:0}
.ubc:hover i,.ubc.on i{background:var(--ink)}
.ubax{display:flex;gap:2px;padding-left:22px;font-size:10px;color:var(--ink-3);height:16px}
.ubax span{flex:1;min-width:0;white-space:nowrap;overflow:visible}
.ubtip{min-height:1.4em;margin-top:2px}
/* Protokoll: when who was there — a tick a login, a dot an hour in the app, a faint line each Monday */
.ju .tlb{height:16px}
.ju .tlb .jwk{position:absolute;top:0;bottom:0;border-left:1px solid var(--line)}
.ju .tlb .lg{position:absolute;top:-3px;bottom:-3px;width:2px;margin-left:-1px;background:var(--ink);border-radius:1px}
.ju .tlb .ac{position:absolute;top:50%;width:6px;height:6px;margin:-3px 0 0 -3px;border-radius:50%;background:var(--ink-2)}
tr.bad td b{color:var(--bad)}
td.nw{white-space:nowrap}
.tlb .tlline{position:absolute;top:-6px;bottom:-6px;width:0;border-left:2px dashed var(--id);z-index:2}
.num.pl>span:first-child{flex:0 0 9.5em}   /* Verkauf: the places steppers in one column */
.dtb{background:none;border:0;padding:0;font:inherit;color:inherit;cursor:pointer;text-align:left}   /* Verkauf: the date opens its form */
.dtb b{text-decoration:underline;text-decoration-color:var(--line-2);text-underline-offset:3px}   /* tappable without a pen */
.dtb[aria-expanded="true"] b,.dtb:hover b{text-decoration-color:currentColor}
.dayh{display:block;margin:14px 0 4px;font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-3);font-weight:600}
.s.cell{color:var(--ink-2);margin-top:3px}   /* Verkauf: an extra column of a date — its name as a label, then the text */
.s.cell i{font-style:normal;text-decoration:underline;text-decoration-color:var(--ink-3);text-underline-offset:3px;margin-right:4px}
table.t td .dn{display:block;margin-top:2px;font-size:13px;font-weight:600;color:var(--ink);hyphens:auto;-webkit-hyphens:auto}   /* Sonstige Dienste: the name of a Dienst under its date */
.cols{margin-top:14px}
.cols>.k{display:block;font-size:13.5px;color:var(--ink);margin-bottom:2px}
/* Verkauf: the tiny timeline of a date (shiftLine) — our game hatched above, the shift dark below */
.stl{display:block;position:relative;margin:6px 0 2px;max-width:150px}
.stl .ln{display:block;position:relative;height:7px;margin-bottom:2px;background:var(--sunk)}
.stl .ln i{position:absolute;top:0;bottom:0}
.stl .sh,.tlk.sh{background:var(--ink)}
.stl .sh.open{background:linear-gradient(90deg,var(--ink) 60%,transparent)}
.stl .gm,.tlk.gm{background:repeating-linear-gradient(135deg,var(--ink-3) 0 2px,transparent 2px 4px);box-shadow:inset 0 0 0 1px var(--ink-3)}
.stl .ax{display:block;position:relative;height:11px;font-size:9px;color:var(--ink-3);font-variant-numeric:tabular-nums}
.stl .ax span{position:absolute;transform:translateX(-50%)}
.stl .ax span:first-child{transform:none}
.tlk{display:inline-block;width:18px;height:7px}
/* the Anderen Mannschaften on one axis (fwTimeline): per day its date, then a line per game — name and time, then the bar */
.stl.fwtl{max-width:none;margin:12px 0 0;padding-right:8px}      /* room for the last hour, centred on the end */
.fwtl .fwtr{display:grid;grid-template-columns:minmax(0,1fr) 34%;align-items:center;column-gap:6px;line-height:1.35}
.fwtl .fwtd{font-size:12px;font-weight:600;margin-bottom:1px}
.fwtl .fwtd:not(:first-child){margin-top:5px;padding-top:5px;border-top:1px solid var(--line)}
.fwtl .fwtr .ln{margin:0}
.fwtl .fwtr .ax{margin-top:3px}
.fwtl .fwtn{display:flex;gap:6px;min-width:0;font-size:12px;color:var(--ink-2)}
.fwtl .fwtn .nm{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fwtl .fwtn .tlg{color:var(--ink-3)}
.fwtl .fwtn .tm{flex:none;color:var(--ink-3);font-variant-numeric:tabular-nums}
.stl .sh.live{background:var(--id)}                               /* live by the live data: gold, as the live box */
.stl .gm.live{background:repeating-linear-gradient(135deg,var(--id) 0 2px,transparent 2px 4px);box-shadow:inset 0 0 0 1px var(--id)}
.fwtl .fwtg{position:relative}
.fwtl .fwnow{position:absolute;inset:0;display:grid;grid-template-columns:minmax(0,1fr) 34%;column-gap:6px;pointer-events:none}
.fwtl .fwnow>span{position:relative}
.fwtl .fwnow i{position:absolute;top:-2px;bottom:-2px;width:2px;margin-left:-1px;background:var(--ink);box-shadow:0 0 0 1px var(--bg)}   /* the bars are ink too: a rim of the ground */
.kdr .chips .st{font-size:11.5px;padding:1px 6px}   /* Kader: the Ämter, small, beside each other */
/* SpielerPlus: the attendance as one block — the day it starts, what was read */
.attl{margin:14px 0 4px;padding:10px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.attl .inl{font-size:13px;color:var(--ink-2)}
.attl input.in.sm{min-height:30px;padding:2px 6px;font-size:13px;width:auto}
.attl .s.bad{color:var(--bad)}
.pc .s.twin{color:var(--wait);font-weight:600}   /* the same Strafe that day already (twinLine) — a hint, orange as a warning */
table.t td.today,table.t td.today .s{font-weight:700;color:var(--ink)}   /* Strafen → Protokoll: today's or booked today, the day in bold */
/* a new player: what to take him in as, and OK */
.pnd{margin-top:6px}
.pnd .pp.sm{flex:1;min-width:0}
.pnd .b{min-height:34px}
.attl .s{display:block;font-size:12.5px;line-height:1.45;color:var(--ink-3);margin-top:5px}
.bs.clr{display:flex;flex-wrap:nowrap;margin:0}
.bs.clr .in{flex:1;min-width:0}
/* Andere Mannschaften: the league's table opened under a followed team */
.fw tr.fwx > td{padding:0 0 10px;background:none}
.fw table.t tbody tr.fwx:hover td{background:none}       /* the opened row's hover must not grey the table inside */
.fw table.t tbody tr.fwx table.t tbody tr:hover td{background:var(--sunk)}
.fw table.t tbody tr.fwx table.t tbody tr.me td{background:var(--id-bg)}
.fw .nmfold{display:inline-flex;align-items:baseline;gap:5px}
.fwtlf{display:inline-flex;align-items:baseline;gap:5px;margin:12px 0 2px;padding:6px 0;font-size:13px;color:var(--ink-2)}   /* Home: Wann wer spielt, folded or not (fwTlShut) */
.fwtlf .ar{width:.8em;color:var(--ink-3)}
.fw .nmfold .ar{flex:none;width:.8em;color:var(--ink-3)}
.fw tr.fwx .wrapx{margin:0}
.fw tr.fwx .note{margin:6px 0 0}
/* Live: our game's line under Nächstes Spiel, its ticker below on tap */
.livebox{margin:10px 0 0}
.livebox .nmfold{padding:6px 0}
/* Administration → Experimente: the logins of a feature for some */
.lbl.featwho{margin-top:14px}
.chk .s{display:block}
.chk.sub{margin-left:27px}                 /* a part under its Bereich (Administration → Bereiche) */
.chk:has(.s){align-items:flex-start}             /* with a sentence under it: the box level with the name, not in the middle */
.chk:has(.s) > input{margin-top:2px}
.chk .s + a.hbmore{margin-left:0}            /* „Mehr dazu“ starts its own line, flush with the text */
.chk.off{opacity:.45;cursor:default}         /* its Bereich is off */
.sublbl{margin-top:22px;font-size:10.5px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-2)}   /* a small heading inside a section: a group in Bereiche, Andere Mannschaften under Mitteilungen */
/* App-Verwaltung: the list of its pages (vwList) — a row each, the name over what is there, › at the end; on a page the
   way back (vwCrumb) */
.vwl{display:flex;flex-direction:column;margin-bottom:6px}
.vwi{display:grid;grid-template-columns:1fr auto;align-items:center;column-gap:12px;min-height:58px;padding:10px 2px;text-align:left;
  background:none;border:0;border-bottom:1px solid var(--line);font:inherit;color:var(--ink);cursor:pointer}
.vwi b{grid-column:1;font-weight:600;font-size:15px}
.vwi span{grid-column:1;font-size:13px;line-height:1.35;color:var(--ink-3);margin-top:2px}
.vwi::after{content:"›";grid-column:2;grid-row:1 / span 2;font-size:22px;color:var(--ink-3)}
.vwi:hover,.vwi:focus-visible{background:var(--sunk)}
.crumb{display:flex;gap:8px;align-items:center;font-size:14px;color:var(--ink-3);margin:6px 0 4px}
.crumb b{color:var(--ink);font-weight:600}
.own{border-left:3px solid var(--own);padding-left:13px;margin-top:14px}   /* the app's admin alone (vAdmin) */
.ownn{color:var(--own)}
/* App installieren, unten in Mehr und im Tipp: das Symbol der Leiste vor dem Text; am iPhone die Schritte mit dem Teilen-Symbol */
.menu .insm svg{width:18px;height:18px;vertical-align:-4px;margin-right:8px}
.tipc .b[data-install] svg{width:16px;height:16px;vertical-align:-3px;margin-right:6px}
.insst{margin:0 0 12px;padding-left:20px;font-size:14px;line-height:1.5}
.insst li{margin-bottom:6px}
.insi svg{width:17px;height:17px;vertical-align:-3px;margin:0 2px}
#menu .ownm{border-left:3px solid var(--own)}             /* App-Verwaltung in the menu top right */
.fsub{padding-left:14px !important}                                         /* Funktionen: a part, under its Funktion */
.ftest > td{padding-top:0 !important}                                     /* Funktionen: who tests an experimental one */
.ftest .chips{margin:0 6px}
.st.fl{cursor:pointer;font:inherit;font-size:11px;font-weight:600;background:none}  /* tapped: a flag on or off */
.fst .pickbtn{font-weight:600;font-size:12.5px;min-height:32px;padding:2px 8px}          /* a Funktion's status, coloured by it */
.fst .ppo{font-size:12.5px}
.fst.active .pickbtn{color:var(--ok)}
.fst.experimental .pickbtn{color:var(--wait)}
.fst.inactive .pickbtn{color:var(--ink-3)}
.st.fl{color:var(--ink-3);border-style:dashed}
.st.fl.on{color:var(--ink);border-style:solid;border-color:var(--own)}
.st.fl.via{cursor:default;white-space:normal;text-align:left;height:auto;font-weight:500;color:var(--ink-3);border-style:solid;background:var(--line)}   /* has it from elsewhere (areas.via): not to tap */
/* Seiten (pagesBlock): name, bar, number — a grid, so the bars start at one line */
.jv{display:grid;grid-template-columns:minmax(0,10em) 1fr auto;gap:8px 10px;align-items:center;margin:10px 0 6px;font-size:13.5px}
.jvn{min-width:0}
.jvn .s{display:block;color:var(--ink-3);font-size:12px}
.jvn .lnk{padding-left:0;text-align:left}                                            /* Top Nutzer: the name, opening the person */
.jvb{height:8px;background:var(--line);border-radius:2px;overflow:hidden}
.jvb i{display:block;height:100%;background:var(--ink-2)}
.jvc{font-variant-numeric:tabular-nums;text-align:right}
/* spreadBlock: a followed team or player opens who follows it, under its line across the grid */
.jvt{cursor:pointer}
.jva::before{content:"▸";display:inline-block;width:1em;color:var(--ink-3)}
.jvt[aria-expanded="true"] .jva::before{content:"▾"}
.jvt .s{padding-left:1em}
.jvw{grid-column:1/-1;margin:-4px 0 4px;padding-left:10px;border-left:2px solid var(--line);color:var(--ink-2);font-size:12.5px}
.jvp{border-bottom:1px solid var(--line)}
.jvp summary{cursor:pointer;padding:10px 0;display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 10px;font-size:14px}
.jvp summary .jvc{margin-left:auto}
.jvp summary .s{flex-basis:100%;color:var(--ink-3);font-size:12px}
.jvp .jv{margin:0 0 12px 14px}
/* the tabs of a page (tabBar): one line of words, the one shown underlined in ink — wider than the screen, the line
   scrolls sideways instead of wrapping into a second row of buttons */
.tabrow{position:relative;display:flex;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;border-bottom:1px solid var(--line);margin:14px 0 16px}
.tabrow::-webkit-scrollbar{display:none}
/* overflow-y hidden on purpose: overflow-x alone makes the row a vertical scroller too, and the underline's 1px over its
   edge was enough to catch a swipe down that starts on the tabs — the page did not move */
.tabrow.mr{-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 36px),transparent);mask-image:linear-gradient(to right,#000 calc(100% - 36px),transparent)}
.tabrow.ml{-webkit-mask-image:linear-gradient(to left,#000 calc(100% - 36px),transparent);mask-image:linear-gradient(to left,#000 calc(100% - 36px),transparent)}
.tabrow.ml.mr{-webkit-mask-image:linear-gradient(to right,transparent,#000 36px,#000 calc(100% - 36px),transparent);
  mask-image:linear-gradient(to right,transparent,#000 36px,#000 calc(100% - 36px),transparent)}
.tab{flex:1 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:44px;padding:0 6px;margin-bottom:-1px;background:none;
  border:0;border-bottom:2px solid transparent;font:inherit;font-size:14px;color:var(--ink-2);white-space:nowrap;cursor:pointer}
.tab:hover{color:var(--ink)}
.tab[aria-pressed="true"]{color:var(--ink);font-weight:600;border-bottom-color:var(--ink)}
.tab .n{font-size:11px;font-weight:700;padding:1px 6px;background:var(--sunk-2);color:var(--ink-2)}
.tab .n.hot{background:var(--wait);color:var(--on-wait)}
.tab .tx{margin-left:0;font-size:9.5px}
.tx{font-size:10.5px;margin-left:6px;color:var(--wait);letter-spacing:.02em}   /* experimental, on a tab */
.tx.pvx,.st.pvw{color:var(--ink-3)}                                             /* a preview */
.st.pvw{border-style:dotted}
.fst.preview .pickbtn{color:var(--ink-2)}
.pvn{border-left:3px dotted var(--line-2);padding-left:10px}
main.pv > :not(.vh):not(.tabrow):not(.pvn){opacity:.45}                              /* a preview: greyed out, read only */
main.pv input,main.pv select,main.pv textarea,main.pv button:not([data-sub]):not([data-go]):not(.lnk):not(.tl){pointer-events:none}   /* reading toggles stay */
.sus{border-top:1px solid var(--line);padding:12px 0 4px}          /* a step of Einrichten (Home, a new Mannschaft) */
.sus .sut{display:flex;align-items:center;gap:10px;width:100%;min-height:40px;padding:0;border:0;background:none;font:inherit;color:inherit;text-align:left;cursor:pointer}
.sus .sut small{margin-left:auto;font-size:12px;color:var(--ink-3)}
.sus .sub{padding:4px 0 10px}                                           /* Einrichten: the open step */
.sus .sunav{margin-top:14px}
.suback{margin:12px 0 0}
.chk.rtm{margin:2px 0 8px;font-size:13px}                              /* Dienste: a role with or without a time of day */                                                /* the way back to Einrichten, over a step's own page */
.sus .sun{display:inline-grid;place-items:center;width:24px;height:24px;border:1px solid var(--ink);font-size:12.5px;flex:none}
.sus.done .sun{background:var(--ink);color:var(--bg)}
.sus textarea,.sus #suName{width:100%}
.suo{margin-top:4px}                                                    /* Einrichten: the ways to a Kader, .mrow each */
.suo .mrow:last-child{border-bottom:0}
.dup .mrow{width:100%}                                                  /* Vielleicht doppelt: a pair each, over the Kader */
.dup .mrow:last-child{border-bottom:0}
.dup .mrow .bs{flex:none}
.suo .mrow .b{flex:none;min-width:92px}
.suls{list-style:none;margin:6px 0 8px;padding:0}                       /* Einrichten: the names typed so far */
.suls .b{border:0;background:none;color:var(--ink-3);font-size:15px;min-height:36px;padding:0 6px}
.suls .suyou{margin-left:6px;font-size:11.5px;color:var(--ink-3);border:1px solid var(--line-2);padding:1px 6px}
.suls li{display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid var(--line);padding:4px 0}
/* Andere Mannschaften: the search's hits, one per line, tapped to follow */
.fwres{margin:-4px 0 14px}
.fwhit{display:block;width:100%;text-align:left;font:inherit;color:var(--ink);background:none;border:0;border-bottom:1px solid var(--line);padding:9px 0;cursor:pointer}
.fwhit .s{display:block;color:var(--ink-3);font-size:12.5px}
.fwhit.off{color:var(--ink-3);cursor:default}
/* Videothek: a game a row — both teams with their logos, then kickoff, result, league; ours marked like one's own */
.vlg{display:block;width:100%;text-align:left;font:inherit;color:var(--ink);background:none;border:0;border-bottom:1px solid var(--line);padding:9px 0;cursor:pointer}
.vlg.ours{background:var(--id-bg);box-shadow:inset 3px 0 0 var(--id);padding-left:10px;padding-right:10px}
.vlg:disabled{opacity:.6}
.vlt{display:flex;align-items:center;gap:8px;line-height:1.5}
.vll{width:20px;height:20px;object-fit:contain;flex:none}
.vlt b{flex:1;min-width:0}
.vls{flex:none;min-width:2ch;text-align:right;font-variant-numeric:tabular-nums;color:var(--ink-3);font-weight:600}   /* the goals, end of the line */
.vls.win{color:var(--ink)}
.vlg .s{display:block;color:var(--ink-3);font-size:12.5px;margin-top:2px}
.vlgw{position:relative}                                                           /* a game and its Ausschnitt */
.vlcut{position:absolute;right:0;top:auto;bottom:8px;font:inherit;font-size:12.5px;color:var(--ink-2);background:none;border:0;padding:2px 0 2px 8px;cursor:pointer}
.vlgw.ours>.vlacts{right:10px}
.vlacts{position:absolute;right:0;bottom:8px;display:flex;gap:14px}
.vlacts .vlcut{position:static}
@media (max-width:560px){.vlacts,.vlgw.ours>.vlacts{position:static;justify-content:flex-end;padding:0 10px 4px}.vlacts .vlcut{min-height:40px;padding:2px 0 2px 8px}}   /* a phone's date line has no room for the buttons: they get their own line */
.vlclip{padding:10px 0 12px;border-bottom:1px solid var(--line)}
.vlcf{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.vlteam{display:flex;align-items:center;gap:8px;width:100%;margin:0;padding:10px 0;border-bottom:1px solid var(--line)}   /* a team: crest, name, its videos */
.vlteam b{flex:1}
.vlteam span.s{font-size:12px;flex:none}
.vlin{padding-left:14px}
.vlgrp>summary,.vhgame>summary{cursor:pointer;list-style:none}                     /* a league folds: its heading the handle — so does a game under Geteilt */
.vlgrp>summary::-webkit-details-marker,.vhgame>summary::-webkit-details-marker{display:none}
.vlgrp>summary .r::after,.vhgame>summary .r::after{content:" ▸";color:var(--ink-3)}
.vlgrp[open]>summary .r::after,.vhgame[open]>summary .r::after{content:" ▾"}
.vhgame .sublbl{margin-top:14px}
.vhgame .vhmine{margin-top:6px}
.fw .of{color:var(--ink-3);font-size:12.5px;margin-left:1px}
/* Andere Mannschaften, Bearbeiten: the handle a row is dragged by — no scrolling while on it */
.fw .drag{display:inline-block;padding:6px 12px 6px 0;margin:-6px 0;color:var(--ink-3);font-size:20px;line-height:1;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none}
.fw tr.dragging td{background:var(--sunk)}
.fw .fwsrc{margin:6px 0 4px}
.fw .fwerr p{margin:0 0 6px;font-size:12px;color:var(--bad)}
.fw .fwnote p{color:var(--wait)}                                                     /* handball.net: ohne Live-Stand — the info colour, as .note.info */
.fw .fwnote p::before{content:"ℹ";font-weight:700;margin-right:5px}
.fwrefused{color:var(--bad)}
.fw .fwsrc .tl{margin-left:0}
/* A game on a card: one box, one line — grey before and after, the club colour while it runs */
.gbox{display:flex;align-items:baseline;gap:8px;margin:5px 0 1px;padding:3px 8px;background:var(--sunk);font-size:12.5px;color:var(--ink-2);line-height:1.4}
.gbox .gt{flex:1;min-width:0}
.gbox .sc{font-size:14px;color:var(--ink);font-variant-numeric:tabular-nums;white-space:nowrap}
.gbox.live{background:var(--id-bg);box-shadow:inset 3px 0 0 var(--id);color:var(--ink)}
.livebox,.fw tr[data-fwrow],#amttl{scroll-margin-top:72px}       /* from a Mitteilung: below the sticky top bar */
.kring{display:inline-block;width:7px;height:7px;border-radius:50%;box-shadow:inset 0 0 0 1.5px var(--id);margin-right:5px;vertical-align:0}
.gbox .dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--id);margin-right:5px;vertical-align:1px}
.livebox .nmfold{display:flex;align-items:flex-start;gap:6px;width:100%}
.livebox .nmfold .gbox{flex:1;margin-top:0}
/* inside our game's fold button: not the fold's small grey spans */
.livebox .nmfold .gbox,.livebox .nmfold .gbox .gt{font-size:12.5px;color:inherit}
.livebox .nmfold .gbox{color:var(--ink-2)}
.livebox .nmfold .gbox.live{color:var(--ink)}
.livebox .nmfold .gbox .sc{font-size:14px;color:var(--ink)}
/* a card with its game box: one block — no line between the team and its box */
.fw table.t tr.hasbox td{border-bottom:0;padding-bottom:2px}
.fw table.t tr.fwbox td{padding-top:0}
.fw table.t tr.fwbox .gbox{margin-top:0}
.fw table.t tbody tr.fwbox:hover td{background:none}
.fw table.t tr.fwbox:has(+ tr.fwerr) td{border-bottom:0;padding-bottom:2px}
.fw table.t tr.fwerr td{padding-top:0}
.fw table.t tbody tr.fwerr:hover td{background:none}
/* a team card's game box: its own slim line across the card — width 0 so it never widens the table, its text cut with … */
.fw .fwln{width:0;min-width:100%;display:flex;align-items:center;gap:4px}   /* the line: the box (a tap switches it) and the ↗ to its game */
.fw .fwl{flex:1;min-width:0;display:flex;align-items:center;gap:10px}
.fw .fwgo{flex:none;width:28px;min-height:28px;display:flex;align-items:center;justify-content:center;font-size:14px;color:var(--ink-2);text-decoration:none}
.fw a.fwgo:hover{color:var(--ink)}
.fw .fwl .gbox{flex:1;min-width:0}
.fw .fwl .gsp{flex:1}
.fw .fwl .fwpt{flex:none;min-width:58px;text-align:right;white-space:nowrap;font-size:12.5px;color:var(--ink-3)}
.fw .nmfold .fwlg{font-size:12px;color:var(--ink-3);white-space:nowrap;display:inline-block;max-width:11em;overflow:hidden;
  text-overflow:ellipsis;vertical-align:bottom}     /* a league's name never widens the table past the phone */
.fw .fwl .gbox{margin:0;padding:2px 8px;font-size:12px}
.fw .fwl .gbox .gt{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fw .fwl .gbox .sc{font-size:13px}
.fw .fwl .gbox .dot{width:5px;height:5px;margin-right:4px}
.fw .fwl .gbox.live{box-shadow:inset 2px 0 0 var(--id)}
/* a word only screen readers say (the gold live box: "LIVE") */
.gbox .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
/* the box line is a button when there is something to switch to: no button look */
.fw button.fwl{font:inherit;color:inherit;background:none;border:0;padding:0;text-align:left;cursor:pointer}

/* Kasse → Strafen nach Art: who got it, how often — a Stufe's or a Sonderfall's entries under the name */
.kindw{list-style:none;margin:2px 0 8px;padding:0 0 0 12px;border-left:2px solid var(--line-2);font-size:12.5px}
.kindw li{display:grid;grid-template-columns:1fr auto;gap:2px 10px;padding:4px 0;border-bottom:1px solid var(--line)}
.kindw li:last-child{border-bottom:0}
.kindw .kc{color:var(--ink-2);text-align:right;white-space:nowrap}
.kindw .s{grid-column:1/-1;color:var(--ink-3);font-size:12px}
.nmfold.kfold{display:flex;align-items:baseline;gap:5px}
.nmfold.kfold .kt{color:var(--ink);font-size:inherit}

/* Kasse, a player's Strafe: the Kassenwart's actions in a row of their own under it, small — paid, the changes, Löschen apart */
table.t tr.hasact td{border-bottom:0;padding-bottom:2px}
table.t tr.eactr td{padding-top:2px;contain:inline-size}   /* the buttons spanning both columns must not widen the amount column */
.eact{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.eact .b.sm{min-height:30px;padding:0 8px}
.setbar{align-items:center}
.setbar .more{min-width:44px;padding:0 10px;font-size:18px;line-height:1}
.bs .push{margin-left:auto;padding:8px 2px}    /* a text link at the right end of a row of buttons (Teilen) */
.eact .more{margin-left:auto;min-width:36px;font-size:16px;line-height:1;color:var(--ink-2)}   /* ⋯: raising, in the sheet */
.eact .del{margin-left:auto;padding:0 2px;color:var(--ink-3);border-color:transparent}
.eact .more + .del{margin-left:0}
.logdel{display:block;margin:4px 0 0 auto;color:var(--ink-3)}   /* Melden → Protokoll: Löschen unter dem Stand */
/* Los Wochos: the sombrero at an entry, in the text's size */
.woi{display:inline-block;width:1.15em;height:1.15em;vertical-align:-.22em;margin-right:4px;color:var(--wait)}
.woi svg{width:100%;height:100%}
.eact .in.amt{width:84px;min-height:30px;padding:0 8px}
/* App-Verwaltung → Spracheingabe: each "Erkennen", its rows as proposed and what became of them */
.dlogs{margin:10px 0 4px}
.dlogs .s{display:block;color:var(--ink-3);font-size:13px;margin-top:3px}
.ob.dlog p{margin:0 0 4px}
.ob.dlog .s{color:var(--ink-3);font-size:12.5px}
.dlogt{font-size:13.5px}
.dlogt .k{display:inline-block;min-width:4.5em;color:var(--ink-3);font-size:11.5px;letter-spacing:.06em;text-transform:uppercase}
.dlogr{margin-top:8px;padding-left:10px;border-left:3px solid var(--line);font-size:13.5px}
.dlogr .s{display:block;margin-top:2px}
.dlogr.kept{border-left-color:var(--ok)}
.dlogr.changed{border-left-color:var(--wait)}
.dlogr.dropped{border-left-color:var(--ink-3)}
.dlogr .s.twin{color:var(--wait)}
/* App-Verwaltung → Aktivität (activityBlock): a page opened lighter than a change */
tr.act td.when{white-space:nowrap;font-variant-numeric:tabular-nums}
tr.act td:not(.when){overflow-wrap:anywhere}   /* a long address or page name breaks, the table stays as wide as the screen */
tr.act.page td{color:var(--ink-2)}
tr.act.action td{color:var(--ink)}
/* Wusstest du schon (tipCard): one tip on top of Home, set off by the club colour at its edge */
.tipc{margin:14px 0 6px;padding:12px 14px 14px;border:1px solid var(--line-2);border-left:3px solid var(--id);background:var(--bg)}
.tipc .tipk{margin:0;font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-3);font-weight:600}
.tipc h3{margin:4px 0 4px;font-size:16px}
.tipc p{margin:0 0 6px}
.tipi{margin:6px 0 8px;width:fit-content;max-width:100%}   /* a tip's screenshot: on Home and in App-Verwaltung → Wusstest du schon */
.tipi img{display:block;max-width:100%;max-height:420px;object-fit:contain;object-position:left top}
/* its overview (tipsBlock): the Ämter's band (.tlb), a box per tip; na empty, the legend's marks the same boxes */
.tipo .tlb .seg.na,.tipm.na{background:transparent;color:var(--ink-3);font-weight:400}
.tipm{display:inline-flex;align-items:center;justify-content:center;width:18px;height:14px;font-size:10px;font-weight:700;color:var(--ink)}
.tipm.s1{background:var(--cal-1)}
.tipm.s2{background:var(--cal-2);color:var(--bg)}
.tipm.s3{background:var(--cal-3);color:var(--bg)}
.tipm.fut{opacity:.45;outline:1px dashed var(--ink-2);outline-offset:-1px}
.vbtn.vin{cursor:default}   /* in a tip's text: as in the Spielplan, on a line of its own below it */
.tipx{padding:0 0 14px 21px;font-size:13.5px;color:var(--ink-2)}
.tipx p{margin:0 0 6px}

/* Home: Ganzer Spielplan under Wer spielt wann (fwPlanBlock) — the months to jump to, each month a fold, each weekend a heading */
.fwpj{display:flex;flex-wrap:wrap;gap:5px;margin:8px 0 4px}
.fwpj .b.tog{min-width:0;min-height:30px;padding:0 7px;font-size:12.5px}
.fwpj .b.tog[aria-pressed="false"]{border-style:solid;color:var(--ink-2)}   /* a jump, not an exception: closed months plain */
.fwpj .b.tog[aria-pressed="true"]{border-color:var(--ink)}
.fwpm{display:flex;align-items:baseline;gap:6px;margin-top:12px;font-size:14px}
.fwpm .s{margin-left:auto;font-size:12px;color:var(--ink-3)}
.fwpw{margin:14px 0 0;padding-top:8px;border-top:1.5px solid var(--ink-2);font-size:11.5px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-2)}   /* the weekend sets the blocks apart … */
.fwplan .stl.fwtl{margin-top:4px}
.fwplan .fwtl .fwtd:not(:first-child){border-top:0;padding-top:0;margin-top:8px}   /* … Samstag and Sonntag inside it only by a gap */
.fwpj .b.tog.pst[aria-pressed="false"]{color:var(--ink-3);border-color:var(--line);background:var(--sunk)}   /* a month over: greyed, still there to pick */
.fwpe{display:inline-flex;align-items:baseline;gap:5px;margin:10px 0 0;padding:4px 0;font-size:13px;color:var(--ink-2)}
.fwpe .ar{width:.8em;color:var(--ink-3)}
.fwpw.pst{color:var(--ink-3);border-top-color:var(--ink-3)}
.fwtl .fwtr.pst .fwtn,.fwtl .fwtr.pst .fwtn .tm{color:var(--ink-3)}
.fwtl .fwtr.pst .ln{opacity:.35}
/* nuLiga's own table (withOfficial): a deduction beside the points, a team withdrawn greyed */
.lt .ded{display:block;color:var(--wait);font-size:11px}
.lt .prov{display:block;color:var(--wait);font-size:11px}     /* a live final score nuLiga's table does not count yet (data.js: withOfficial) */
.lt tr.ltw td{color:var(--ink-3)}
/* Abrechnung teilen: the picture first, as large as the dialog lets it, scrolled when long */
.ksh .kshp{max-height:62vh;overflow:auto;border:1px solid var(--line);margin:8px 0 12px;background:#fff}
.ksh .kshp img{display:block;width:100%;height:auto}
/* App-Verwaltung's Übersicht (overviewBlock): six figures, the people per day as bars with their 7-day mean as the
   line, the hours of the week as the Kalender's fields, what happened last as a list */
.figs.ovf .f[data-sub]{cursor:pointer}
.figs.ovf .f:nth-child(n+5){border-bottom:0}
@media (min-width:700px){.figs.ovf{grid-template-columns:repeat(3,1fr)}
  .figs.ovf .f{border-bottom:1px solid var(--line)}.figs.ovf .f:nth-child(2n){border-right:1px solid var(--line)}
  .figs.ovf .f:nth-child(3n){border-right:0}.figs.ovf .f:nth-child(n+4){border-bottom:0}}
@media (min-width:1100px){.figs.ovf{grid-template-columns:repeat(6,1fr)}
  .figs.ovf .f,.figs.ovf .f:nth-child(3n){border-bottom:0;border-right:1px solid var(--line)}.figs.ovf .f:last-child{border-right:0}}
.orun .plot{touch-action:pan-y;cursor:crosshair}
.orun .dbar{fill:var(--cal-1)}
.orun .lt{fill:none;stroke:var(--ink);stroke-width:2;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.orun .cx{position:absolute;top:0;bottom:0;width:0;border-left:1px solid var(--ink);pointer-events:none}
.c.ovl{height:2px;border-radius:0;background:var(--ink)}
.orun .la{fill:none;stroke:var(--k-event);stroke-width:2;stroke-linejoin:round;vector-effect:non-scaling-stroke}   /* Zugänge insgesamt */
.c.ova{height:2px;border-radius:0;background:var(--k-event)}
.ovw{display:grid;grid-template-columns:auto repeat(24,minmax(0,1fr));gap:2px;margin-top:12px;align-items:center;max-width:46rem}
.ovw .c{display:block;width:auto;height:auto;aspect-ratio:1;border-radius:2px;cursor:pointer}
.ovw .c.on{outline:2px solid var(--ink);outline-offset:1px}
.ovw .hh,.ovw .wd{font-size:10.5px;line-height:1;color:var(--ink-3);font-variant-numeric:tabular-nums}
.ovw .wd{padding-right:6px}
.ovl{list-style:none;margin:10px 0 0;padding:0;max-width:46rem}
.ovl li{display:grid;grid-template-columns:7.2em minmax(0,1fr);gap:10px;padding:8px 0;border-bottom:1px solid var(--line);font-size:13.5px;line-height:1.35}
.ovl .when{color:var(--ink-3);font-size:12px;font-variant-numeric:tabular-nums;padding-top:1px}
.ovl .s{display:block;color:var(--ink-3);font-size:12px;overflow-wrap:anywhere}
.ovl li.bad{box-shadow:inset 3px 0 0 var(--bad);padding-left:8px}
/* App-Verwaltung → Personen (personsBlock): a row a person — name and when last there, the last 30 days as fields,
   the tips as marks, the count; tapped, everything about them below it */
.prl{margin-top:10px;border-top:1px solid var(--line)}
.prs{border-bottom:1px solid var(--line)}
.prh{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"n v" "k t";gap:6px 12px;width:100%;padding:10px 0;
  background:none;border:0;text-align:left;font:inherit;color:inherit;cursor:pointer;align-items:center}
.prh:hover{background:var(--sunk)}
.prn{grid-area:n;min-width:0;font-size:14px}
.prn .s{display:block;color:var(--ink-3);font-size:12px;margin-top:2px}
.prn .ar{color:var(--ink-3)}
.prk{grid-area:k;display:grid;grid-template-columns:repeat(30,minmax(0,1fr));gap:2px;max-width:330px;margin-left:16px}
.prk .c{display:block;width:auto;height:10px;border-radius:2px}
.prt{grid-area:t;display:flex;gap:2px}
.prt .tipm{width:14px;height:12px;font-size:9px}
.prv{grid-area:v;font-size:12px;color:var(--ink-3);font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}
@media (min-width:920px){
  .prh{grid-template-columns:minmax(0,15em) minmax(0,1fr) auto 9em;grid-template-areas:"n k t v"}
  .prk{margin-left:0}
}
.pdet{padding:0 0 14px 16px}
.pdet .figs{margin-top:4px}
.pcal{display:grid;grid-auto-flow:column;grid-template-rows:repeat(7,10px);grid-auto-columns:10px;gap:2px;margin-top:10px;overflow-x:auto}
.pcal .c{width:10px;height:10px;border-radius:2px}
.ptips{display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:10px;font-size:12.5px;color:var(--ink-2)}
.ptips .kp{display:inline-flex;align-items:center;gap:6px}
/* Was genutzt wird (usesBlock): per Bereich name, a bar of its total, every day as a small chart, the count */
.usv{border-bottom:1px solid var(--line)}
.usv summary{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"n c" "b b" "p p";gap:4px 10px;padding:10px 0;cursor:pointer;list-style:none}
.usv summary::-webkit-details-marker{display:none}
.usv .un{grid-area:n;min-width:0;font-size:13.5px}
.usv .un .s{display:block;color:var(--ink-3);font-size:12px}
.usv .jvc{grid-area:c}
.ub2{grid-area:b;height:6px;background:var(--line);border-radius:2px;overflow:hidden}
.ub2 i{display:block;height:100%;background:var(--ink-2)}
.usp{grid-area:p;width:100%;height:26px;display:block}
.usp rect{fill:var(--cal-1)}
@media (min-width:920px){
  .usv summary{grid-template-columns:minmax(0,13em) minmax(0,1fr) minmax(0,1.4fr) 4em;grid-template-areas:"n b p c";align-items:center}
}
.usv .jv{margin:0 0 12px 14px}
.tpb{display:flex;gap:2px;height:16px}
.tpb .tipm{height:16px;width:auto;flex:none}
/* Protokoll (protocolBlock): a heading a day, a line an entry, a visit folded */
.ovd{margin:18px 0 0;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-2);font-weight:700;padding-bottom:6px;border-bottom:1px solid var(--line)}
.pre{display:grid;grid-template-columns:3.4em minmax(0,1fr);gap:10px;padding:8px 0;border-bottom:1px solid var(--line);font-size:13.5px;line-height:1.35}
.pre .when,.stv li .when{color:var(--ink-3);font-size:12px;font-variant-numeric:tabular-nums;padding-top:1px}
.pre .s{display:block;color:var(--ink-3);font-size:12px;overflow-wrap:anywhere}
.pre.bad{box-shadow:inset 3px 0 0 var(--bad);padding-left:8px}
details.stv{display:block}
.stv summary{display:grid;grid-template-columns:3.4em minmax(0,1fr);gap:10px;cursor:pointer;list-style:none}
.stv summary::-webkit-details-marker{display:none}
.stv summary b::before{content:"▸ ";color:var(--ink-3);font-weight:400}
.stv[open] summary b::before{content:"▾ "}
.stv ul{list-style:none;margin:6px 0 2px;padding:0 0 0 calc(3.4em + 10px)}
.stv li{display:grid;grid-template-columns:3.4em minmax(0,1fr);gap:8px;padding:2px 0;font-size:12.5px;color:var(--ink-2)}
.stv li .s{display:inline;font-size:11.5px}
.stv li.ch{color:var(--ink);font-weight:600}
.s.cell.empty{display:block;background:none;border:0;padding:0;margin-top:3px;font:inherit;font-size:11.5px;color:var(--ink-3);cursor:pointer;text-align:left}   /* Verkauf/Sonstige: a column still empty — to the manager only */
/* Dienste → Verwalten: a section each, under its heading; removing the kind apart at the end */
.mgs{margin-top:16px;padding-top:12px;border-top:1px solid var(--line)}
.mgs>h3{margin:0 0 8px;font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-2);font-weight:700}
.mgp{margin-bottom:18px}
.stw{margin-top:11px;max-width:26rem}
.stwl{display:block;font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-3);font-weight:600;margin-bottom:4px}
.stc .ck{display:flex;gap:10px;align-items:flex-start;padding:6px 0;cursor:pointer}
.stc .ck input{width:18px;height:18px;margin:1px 0 0;flex:none;accent-color:var(--ink)}
.stc .ck .s{display:block;color:var(--ink-3);font-size:12.5px;margin-top:2px}
.stc .ck.later{opacity:.55;cursor:default}
.stex{margin:0 0 6px 28px}                                    /* Termine hängen an: the example under each choice */
.stex > summary{font-size:12.5px;color:var(--ink-2);cursor:pointer}
.stexb{margin-top:6px;padding:4px 10px;background:var(--sunk);border:1px solid var(--line);pointer-events:none}
.stexb table.t{margin:0}
.stexb table.t td{border:0;background:none}
.num.pl input.in{flex:1 1 auto;width:auto;min-width:0;text-align:left}   /* Dienste → Verwalten: a role's name before its steppers */
.tab.add{min-width:44px;font-size:20px}
.stl .og,.tlk.og{background:var(--ink-3)}                        /* style halle: a game in the hall not ours */
table.t tr.hr td{border-bottom:0;padding-bottom:0}                  /* style halle: the day in the hall, its places in the row below (hp) */
table.t tr.hp td{padding-top:4px}
.stl.fwtl.hday{margin:6px 0 0}
.fwtl .fwtn .cnt.urgent{color:var(--wait);font-weight:600}   /* style halle: the count in the Schicht line, as td .s.urgent */
table.t td.slc{width:56%}
.slg{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:8px;row-gap:6px}   /* the places of a date: two to a line (salesCells) */
.slg .sgm{grid-column:1/-1}
.slg.w,.slg.w .sgp{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}   /* the full width (halle, many places): as many to a line as fit */
table.t tr.wi td{border-bottom:0;padding-bottom:2px}                    /* many places: the date across, its places below (D.dutyWide) */
.slg.w{margin-top:8px}
table.t tr.hp td > .s{display:inline-block;margin-right:12px}       /* style halle: Schicht and places on one line above them */
.slg .sgp{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:4px 8px}
.slg .rl{margin:0 0 3px}
.slg .sc{min-width:0}
.slg .sc .sl{margin-top:0}
.hds .b{padding:6px 10px;min-height:0}
/* Terminfindung (content/termine.js): the free days, a list (whole weekends or single days); the grid a row a team, a column a weekend — the names
   stay at the left while it scrolls sideways */
.tfmode{max-width:340px;margin:4px 0 6px}
.tffree{list-style:none;margin:2px 0 12px;padding:0;font-size:14px;font-variant-numeric:tabular-nums}
.tffree li{padding:5px 0;border-bottom:1px solid var(--line)}
.tfwrap{overflow-x:auto;margin:6px 0 4px;-webkit-overflow-scrolling:touch}
/* no spacing between the cells (it would let the scrolled ones show beside the names): each cell's gap is its own
   transparent border */
.tfgrid{border-collapse:separate;border-spacing:0;font-size:11px}
.tfgrid th{border:0;font-weight:400;color:var(--ink-3);text-align:center;white-space:nowrap}
.tfgrid th.mo{text-align:left;color:var(--ink-2);font-size:10px;letter-spacing:.06em;text-transform:uppercase}
.tfgrid th.tfn{position:sticky;left:0;z-index:1;background:var(--bg);text-align:left;color:var(--ink);font-size:12px;max-width:8.5em;overflow:hidden;text-overflow:ellipsis;padding-right:8px}
.tfgrid td{width:14px;min-width:14px;height:14px;padding:0;border:1px solid transparent;background-clip:padding-box;border-radius:4px;text-align:center;line-height:14px;font-size:9px;cursor:default}
.tfgrid td.f{background-color:var(--line)}
.tfgrid td.g{background-color:var(--ink-2);cursor:pointer}
.tfgrid td.o{background:repeating-linear-gradient(45deg,var(--line),var(--line) 3px,transparent 3px,transparent 6px) padding-box;color:var(--ink-3);cursor:pointer}
.tfgrid tr.all td{background:none}
.tfgrid tr.all td.y{background-color:var(--ok);color:#fff;cursor:pointer}
.tfgrid tr.all td.y.h{opacity:.6;font-size:8px;letter-spacing:-.03em}                                                 /* only one of its days */
.tfgrid td.on{outline:2px solid var(--ink);outline-offset:-1px}
.tfinfo{min-height:1.4em}
.tfpage{max-width:760px;margin:0 auto;padding:18px var(--pad) 40px}
.tfpage .lgn{margin-bottom:14px}

/* ---------- Spielstatistik (app.js: gamestats) ----------
   Zähler zum Tippen, groß genug für den Daumen unter Stress. Am Telefon ein Teil auf einmal und die Spieler-Spalten in zwei
   Gruppen; ist der Platz da (Tablet quer, Laptop), alles zugleich — gemessen am Inhalt, nicht am Bildschirm. Getönt: was
   auch im Spielbericht steht (nuLiga), die kleine Zahl dort ist dessen, rot, wo sie abweicht. */
.gssync{font-size:12.5px;margin:6px 0 0;padding:6px 10px;border-left:3px solid var(--bad);background:var(--sunk);color:var(--bad)}
.gsgone{margin:8px 0;padding:8px 10px;border-left:3px solid var(--bad);background:var(--sunk);font-size:13.5px}
.gsgone p{margin:0 0 6px}
.gslist{display:flex;flex-direction:column;margin-top:10px;border-top:1px solid var(--line)}
.gsrow{display:grid;grid-template-columns:1fr auto;gap:2px 12px;text-align:left;padding:10px 2px;background:none;border:0;
  border-bottom:1px solid var(--line);font:inherit;color:inherit;cursor:pointer}
.gsrow .gsw{grid-column:1;font-size:11.5px;color:var(--ink-3)}
.gsrow b{grid-column:1;font-weight:600}
.gsrow .gsr{grid-column:2;grid-row:1 / span 2;align-self:center;font-variant-numeric:tabular-nums;font-weight:600}
.gsadd{margin-top:12px;padding:12px;border:1px solid var(--line);background:var(--sunk)}
.gsadd h3{margin:0;font-size:14px}
.gsadd .cl{margin:14px 0 0;font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-3)}
.gsadd .gsown{display:block;margin-top:14px}                             /* Eigenes Spiel: aufklappbar, wie Frühere und Spätere Spiele */
.gsadd .gsrow{background:var(--bg);padding-left:8px;padding-right:8px}
.gshead{display:grid;grid-template-columns:1fr auto;gap:4px 12px;align-items:end;margin-top:10px}
.gshead .t{grid-column:1;grid-row:1;justify-self:start}
.gshead .gszoom{grid-column:2;grid-row:1;margin:0}
.gshead .gstitle{grid-column:1;grid-row:2}
.gshead .gsscore{grid-column:2;grid-row:2}
.gstitle{display:flex;flex-direction:column;min-width:0}
.gstitle .gsw{font-size:12px;color:var(--ink-3)}
.gstitle b{font-size:17px}
.gsscore{display:flex;flex-direction:column;align-items:flex-end}
.gsscore b{font-size:30px;line-height:1;font-variant-numeric:tabular-nums;letter-spacing:-.02em}
.gsscore small{font-size:11.5px;color:var(--ink-3)}
.gsnl{margin-top:10px}
.gslive{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--bad);margin-right:4px;vertical-align:middle;animation:gsblink 1.6s infinite}
@keyframes gsblink{50%{opacity:.25}}
@media (prefers-reduced-motion:reduce){.gslive{animation:none}}
.gsh{font-size:13px;margin:16px 0 6px}
.gsdim{color:var(--ink-3);font-weight:400}
.gs{container-type:inline-size;margin-top:12px}
/* jeder Zähler gleich breit, in jedem Teil: am Telefon so, dass sechs neben den Namen passen (--gsbtn) */
.gst{--gsname:9.5rem;--gsbtn:64px}
.gsparts,.gsgrps{margin:4px 0 8px}
.gsparts .b.tog,.gsgrps .b.tog{min-height:38px}
.gsparts .b.tog{flex:1 1 auto;padding:0 4px;white-space:nowrap}       /* nach Länge des Namens, auch mit großer Schrift */
.gscalm{margin:10px 0 4px;font-size:12px;color:var(--ink-2)}
.gsview{container-type:inline-size}
.gszoom{display:none;align-items:center;justify-content:flex-end;gap:6px;font-size:12.5px;color:var(--ink-2);font-variant-numeric:tabular-nums}
.gszoom .b{min-width:36px;min-height:32px;padding:0;font-size:17px}
.gszoom span{min-width:3.2em;text-align:center}
.gsacts{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}
.gsacts .b.tog{min-width:0;min-height:40px;padding:0 4px;font-size:12.5px}
.gsacts .b.tog[aria-pressed="false"]{border-style:solid;color:var(--ink-2)}
.gsacts .b.tog[aria-pressed="true"]{background:var(--ink);border-color:var(--ink);color:var(--on-ink)}
/* Spielstatistik → Auswertung (app.js: gsEvalGame, gsEvalSeason) */
.gstabs{display:flex;margin:4px 0 6px}
.gsfigs{grid-template-columns:repeat(2,1fr)}
@media (min-width:720px){.gsfigs{grid-template-columns:repeat(4,1fr)}.gsfigs .f:nth-child(2n){border-right:1px solid var(--line)}.gsfigs .f:nth-child(4n){border-right:0}}
.gsrun .plot,.gsprof .plot{height:150px}
.gsprof .plot{margin-top:26px}                                             /* room for the values over the highest bar */
.gsheatt table.t{table-layout:fixed;width:100%}                            /* Je 10 Minuten: die sechs Spalten gleich breit, ohne Scrollen, die Zahlen mittig */
.gsheatt th:first-child{width:7.5rem}
.gsheatt table.t th.n,.gsheatt table.t td.gsheat{text-align:center;padding-left:2px;padding-right:2px}
.gsheatt td:first-child{overflow:hidden;text-overflow:ellipsis}
.gsheatt table.t .hb{border-left:4px solid var(--bg)}                         /* zwischen den Halbzeiten eine Lücke, wie im Diagramm */
.gsheatt.sm{margin:4px 4px 0 0}                                              /* unter dem Spielverlauf im Spielbetrieb: die Spalten genau unter seinen Minuten */
.gsheatt.sm table.t tbody th{width:22px;padding:0;text-align:right;font-size:12px;color:var(--ink-3);border-bottom:0}
.gsheatt.sm table.t td,.gsheatt.sm table.t th{padding-top:3px;padding-bottom:3px;font-size:12px;line-height:1.3}
.gsheatt.sm table.t td{background:none}
@media (max-width:600px){.gsheatt th:first-child{width:5.6rem}.gsheatt th.n{font-size:10.5px}.gsheatt td:first-child{font-size:13px}}
@media (max-width:370px){.gsheatt th:first-child{width:5rem}.gsheatt th.n{letter-spacing:0}}
.gsrun .lt,.gsdiff .lt{fill:none;stroke:var(--ink);stroke-width:2;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.gsrun .hz,.gsprof .hz{stroke:var(--line-2);stroke-width:1;stroke-dasharray:3 3;vector-effect:non-scaling-stroke}
.gsrun .runf{stroke:none}                                                 /* ein Lauf: die Fläche, die seine Tore dazugeben */
.gsrun .runf.us{fill:var(--ok-line)}
.gsrun .runf.them{fill:var(--bad-line)}
.gsrun .ax.hf,.gslane.gsax .ax.hf{font-weight:700;color:var(--ink-2)}
.gsrun .half{stroke:var(--bg);stroke-width:5;vector-effect:non-scaling-stroke}    /* die Halbzeit: eine Lücke durch alles — nicht wie eine Auszeit */
.gsrun .plot{margin-top:24px}                                                /* room over the curve for the Läufe's numbers */
table.t tr.sub.nlflow td{background:var(--bg);padding:4px 4px 10px}              /* Spielbetrieb: der Spielverlauf eines Spiels unter seiner Zeile */
table.t tr.sub.nlflow td > *{max-width:none}
.nlfw{width:0;min-width:100%}                                                 /* the chart takes the row's width, never widens a column: nothing above moves */                                                /* room over the curve for the Läufe's numbers */
.gsrun .gsrl{position:absolute;bottom:100%;margin-bottom:8px;transform:translateX(-50%);font-size:10.5px;font-weight:700;line-height:1;color:var(--ok);pointer-events:none;font-variant-numeric:tabular-nums}
.gsrun .gsrl.them{color:var(--bad)}                                          /* die Tore der Läufe: in einer Reihe über dem Diagramm, nie auf der Kurve */
.gsrun .gsrl{font-size:12px}
/* Wann die Tore fallen (app.js: gsSpreadView): je 5 Minuten ein Balken wenigste–meiste, ein Strich am Schnitt */
.gsspread .plot{height:120px}
.gssl{margin:12px 0 0;font-size:12.5px;font-weight:600}
.gsspread{margin-top:12px}
.gsspread+.gsspread{margin-top:32px}                                        /* Tore over Gegentore: their colour tells them apart, no label — room under the minutes */
.gsspread .hz{stroke:var(--line-2);stroke-width:1;stroke-dasharray:3 3;vector-effect:non-scaling-stroke}
.gsspread stop.us{stop-color:var(--ok)}
.gsspread stop.them{stop-color:var(--bad)}
.gsspread .mn{stroke-width:2.5px;vector-effect:non-scaling-stroke}
.gsspread .mn.us{stroke:var(--ok)}
.gsspread .mn.them{stroke:var(--bad)}
.gsdiff rect.us{fill:var(--ok-line)}
.gsdiff rect.them{fill:var(--bad-line)}
.gsspread .tap{fill:transparent;cursor:pointer}                               /* a column to tap: the games in those minutes under the charts */
.gsspread .sel{fill:var(--sunk)}
.gsspread.pick .rg:not(.on),.gsspread.pick .mn:not(.on){opacity:.35}
.gsfold{display:block;margin:14px 0 2px}
.gsrun .pen.us,.c.gspu{fill:var(--line);background:var(--line)}            /* 2 min, grau hinterlegt: gegen uns oben, gegen den Gegner unten */
.gsrun .pen.them,.c.gspt{fill:var(--sunk-2);background:var(--sunk-2)}
.gsto{display:inline-block;width:0;height:12px;border-left:1px solid var(--ink-3)}       /* eine Auszeit in der Legende: ein Strich wie im Diagramm */
.gsrun .tol{stroke:var(--ink-3);stroke-width:1;vector-effect:non-scaling-stroke}       /* eine Auszeit: unsere durchgezogen, die des Gegners gestrichelt */
.gsrun .tol.them{stroke-dasharray:3 3}
.gslanes{margin:2px 4px 18px 22px}
.gslane{margin-top:8px}
.gsll{display:block;font-size:11.5px;color:var(--ink-3)}
.gslt{position:relative;height:12px;background:var(--sunk);border-radius:2px}
.gslt i{position:absolute;top:0;bottom:0;width:2px;margin-left:-1px;background:var(--ink-2)}
.gslt i.hz{left:50%;width:0;border-left:1px dashed var(--line-2);background:none}
.gslane.gsax{position:relative;height:14px;margin-top:0}
.gslane.gsax .ax{position:absolute;top:2px;transform:translateX(-50%);font-size:10.5px;color:var(--ink-3)}
.gseval table.t tbody tr:hover td{background:none}                        /* a heatmap: no row hover over its colours */
.gsheatt table.t td.gsheat.l1{background:var(--cal-1)}
.gsheatt table.t td.gsheat.l2{background:var(--cal-2);color:var(--bg)}
.gsheatt table.t td.gsheat.l3{background:var(--cal-3);color:var(--bg)}
.gsheatt table.t td.gsheat.l4{background:var(--cal-4);color:var(--bg)}
.gsprof .gb{fill:var(--cal-1)}
.gsprof .gb.on{fill:var(--ink-2)}
.gsprof .mean{stroke:var(--ink);stroke-width:1;stroke-dasharray:4 3;vector-effect:non-scaling-stroke}
.gsprof .bv{position:absolute;transform:translate(-50%,-100%);margin-top:-2px;font-size:10px;color:var(--ink-2);font-variant-numeric:tabular-nums;white-space:nowrap;pointer-events:none}
.gsprof .bv[data-neg]{transform:translate(-50%,0);margin-top:2px}
.gsmet{grid-template-columns:repeat(4,1fr);margin-top:10px}
.gssay{margin:6px 0 0;font-size:13.5px;font-weight:600}
.gsb{display:flex}                                                           /* je Spieler: ein Balken in Teilen */
.gsb i.p0,.c.gsb0{background:var(--ink-2)}
.gsb i.p1,.c.gsb1{background:var(--cal-1)}
.gsbars{grid-template-columns:minmax(0,9em) 1fr auto}
table.gst{border-collapse:collapse;font-variant-numeric:tabular-nums}
.gst{table-layout:fixed;width:calc(var(--gsname) + var(--n) * var(--gsbtn))}
.gst th,.gst td{box-sizing:border-box}
.gst tbody th,.gst thead th:first-child{width:var(--gsname)}
.gst td,.gst thead th:not(:first-child){width:var(--gsbtn)}
.gst thead th[colspan]{width:auto}
.gst th{font-size:10.5px;font-weight:600;color:var(--ink-3);text-align:center;padding:4px 2px;line-height:1.15;hyphens:manual}
.gst thead th:first-child{text-align:left}
.gshd{position:sticky;top:calc(env(safe-area-inset-top,0px) + 52px);z-index:4;background:var(--bg);overflow:hidden;
  border-bottom:1px solid var(--line-2)}        /* die Kopfzeile bleibt unter der Leiste stehen (app.js: gsTable) */
.gshd .gst thead th:first-child{position:sticky;left:0;background:var(--bg);z-index:1}
.gst tbody th{text-align:left;font-size:13px;font-weight:500;color:var(--ink);padding:0 6px 0 0;white-space:nowrap;max-width:9.5rem;
  overflow:hidden;text-overflow:ellipsis;position:sticky;left:0;background:var(--bg);z-index:1}
.gst tbody tr{border-top:1px solid var(--line)}
.gsnr{display:inline-block;min-width:1.7em;color:var(--ink-3);font-size:12px}
.gsn{overflow:hidden;text-overflow:ellipsis}
.gst td{padding:3px 2px;text-align:center}
.gst th.nlc,.gst td.gsx:has(small){background:var(--id-bg)}
.gsq{font-size:13px;color:var(--ink-2);min-width:2.6em}
.gst .gsn{display:block;overflow:hidden;text-overflow:ellipsis}
.gssub{display:block;font-size:11px;font-weight:400;color:var(--ink-3);font-variant-numeric:tabular-nums}   /* Nummer · Quote unter dem Namen */
.gsc{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;min-width:44px;min-height:46px;padding:2px;
  border:1px solid var(--line-2);background:var(--bg);color:var(--ink);font:inherit;cursor:pointer;touch-action:manipulation;
  user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}
.gsc:active{background:var(--sunk-2)}
.gsc b{font-size:17px;font-weight:600;line-height:1}
.gsc{position:relative}
.gsc .gsnlv{position:absolute;right:3px;bottom:1px;font-size:10.5px;font-weight:700;color:var(--id);font-variant-numeric:tabular-nums}   /* der Wert aus dem Spielbericht */
.gstempo tbody th{position:static}
/* Abwehr: das halbe Feld mit den Feldern der Verteidiger und der Lücken (app.js: gsBreachCourt) */
.gsbr{width:24rem;max-width:100%}
.gsbr svg{display:block;width:100%;height:auto;background:var(--sunk);border-radius:6px}
.gsbr p{margin:4px 0 0;font-size:12px;color:var(--ink-2);text-align:center}
.gsbr .tr{fill:none;stroke:var(--ink);stroke-width:1.2;pointer-events:none}          /* der Torraum selbst ist das Feld Kreisanspiel */
.gsbr .cl{fill:none;stroke:var(--line-2);stroke-width:1.2;pointer-events:none}
.gsbr .cl.dash{stroke-dasharray:4 3}
.gsbr .cg{stroke:var(--ink);stroke-width:4}
.gsbz,.gsbzr{touch-action:manipulation;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}
.gsbz{cursor:pointer}
/* abgeschlossen (app.js: gsLocked): die Zähler sichtbar, aber still — ein Tipp sagt nur, dass es gesperrt ist */
.gslocked .gsc{background:var(--sunk);border-style:dashed;cursor:default}
.gslocked .gsc:active{background:var(--sunk)}
.gslocked .gsbz{cursor:default}
.gslocked .gsbz:active path{fill:color-mix(in srgb,var(--ink) calc(var(--f) * 55%),var(--bg))}
/* abgeschlossen — Spielstatistik und Videohub gleich (.vhw-lockbar): leicht grün, das ✓ und „abgeschlossen“ in der Liste in Vereinsgrün (.okmark) */
.gsdone{padding:8px 10px;border:1px solid color-mix(in srgb,var(--ok) 45%,var(--line-2));border-radius:6px;background:color-mix(in srgb,var(--ok) 12%,var(--sunk));color:var(--ink)}
.gsdone.open{border:1px dashed var(--line-2);background:none}
.okmark{color:var(--ok);font-weight:600;font-style:normal}
.gsbz path,.gsbzr path{fill:color-mix(in srgb,var(--ink) calc(var(--f) * 55%),var(--bg));stroke:var(--line-2);stroke-width:.8}
.gsbz:active path{fill:var(--sunk-2)}
.gsbr text{text-anchor:middle;dominant-baseline:central;pointer-events:none;fill:var(--ink)}
.gsbr text.n{font-size:13px;font-weight:600}
.gsbr .mk{fill:var(--bg);stroke:var(--ink);stroke-width:1;pointer-events:none}
.gsbr text.l{font-size:6px;fill:var(--ink);font-weight:700}
.gsbr text.pv{font-size:5.5px;font-weight:600;fill:var(--ink-3)}
.gsbr text.n{paint-order:stroke;stroke:color-mix(in srgb,var(--ink) calc(var(--f) * 55%),var(--bg));stroke-width:3px}   /* frei von Linien */
.gsbr .dk text{fill:var(--bg)}
.gsundo{position:sticky;bottom:calc(76px + env(safe-area-inset-bottom,0px));z-index:5;display:flex;align-items:center;gap:10px;
  margin-top:14px;padding:8px 10px;background:var(--ink);color:var(--on-ink);font-size:13px;box-shadow:0 2px 10px var(--shadow)}
.gsundo span{flex:1;min-width:0}
.gslog{border-top:1px solid var(--line)}
.gslogl{display:flex;gap:10px;width:100%;padding:7px 2px;border:0;border-bottom:1px solid var(--line);background:none;color:var(--ink);
  font:inherit;font-size:13px;text-align:left;cursor:pointer}
.gslogl:active{background:var(--sunk)}
.gslogl.minus{color:var(--ink-2)}
.gslogt{color:var(--ink-3);font-variant-numeric:tabular-nums}
.gsundo .b{background:var(--bg);color:var(--ink);border-color:var(--bg)}
@media (min-width:920px){.gsundo{bottom:12px}}
.gssq{display:flex;align-items:center;gap:8px;padding:5px 0;border-bottom:1px solid var(--line);flex-wrap:wrap}
.gssq .gsn{flex:1;min-width:8rem}
.gsin{width:36px;height:36px;border:1px solid var(--line-2);background:var(--bg);font:inherit;font-size:16px;cursor:pointer;color:var(--ink)}
.gsin.on{background:var(--ink);color:var(--on-ink);border-color:var(--ink)}
.gsnum{width:3.6em;text-align:center}
.gslink{max-width:14rem}
.gsnew input#gsAddName{flex:1;min-width:8rem}
/* narrow: one part at a time, the player columns in two groups */
@container (max-width:699px){
  .gsp:not(.on){display:none}
  .gst[data-grp="shoot"] .c-more,.gst[data-grp="more"] .c-shoot{display:none}
  /* am Telefon sechs Zähler in einer Zeile: der Name schmal (abgeschnitten), der Rest geteilt durch sechs */
  .gst{--gsname:6.5rem;--gsbtn:calc((100cqw - var(--gsname)) / 6)}
  .gst tbody th{padding-right:4px}
  .gst td,.gst thead th{padding-left:1px;padding-right:1px}
  .gst .gsc{min-width:0}
}
@container (max-width:370px){
  .gst{--gsname:5rem}
}
/* Tablet und Laptop: alles auf einen Blick — links die Spieler, rechts Torhüter, Tempospiel und Abwehr untereinander;
   die Zähler so breit, dass beide Spalten nebeneinander passen (--nf Feldspieler + --nk Torhüter, app.js: gsGameBody) */
@container (min-width:700px){
  .gs .gsparts,.gsgrps{display:none}
  .gsbody{display:grid;grid-template-columns:auto minmax(0,auto);gap:0 24px;align-items:start;justify-content:start}
  .gsbody > .gsp:first-child{grid-row:1 / span 3}
  .gsbody > .gsp:nth-child(2) > .gsh:first-child{margin-top:0}
  .gst{--gsname:7.5rem;--gsbtn:calc((100cqw - 2 * var(--gsname) - 24px) / (var(--nf, 6) + var(--nk, 6)))}
  /* die Höhe nach --gsy (gszoom): Zähler, Abstände und das Tor — die Breite bleibt, wie sie passt */
  .gsbody .gst td{padding-top:calc(3px * var(--gsy));padding-bottom:calc(3px * var(--gsy))}
  .gsbody .gsc{min-height:calc(46px * var(--gsy));min-width:0}      /* nie breiter als die Spalte: sonst scrollt der Torhüter */
  .gsbody .gsc b{font-size:calc(11px + 6px * min(1, var(--gsy)))}
  .gsbody .gsh{margin-top:calc(16px * var(--gsy))}
  .gsbody .gsbr{width:100%}                  /* die Abwehr so breit wie die Spalte */
}
@container (min-width:700px){
  .gszoom{display:flex}
}

/* ---------- Videohub ---------- */
/* Videoanalyse (public/videohub/, Plan docs/07-videohub.md). Die Seiten (Projekte, Taglisten, Deine Szenen) stehen im
   normalen Rahmen und folgen Hell/Dunkel; die Arbeitsfläche (.vhw) ist ein eigener dunkler Analyse-Raum mit denselben
   Tokens, hier dunkel gesetzt, und liegt über der ganzen Seite. */

/* --- Symbolknöpfe, Umschalter, Tasten --- */
.vhic{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:32px;height:32px;padding:0 6px;color:var(--ink-2);font-size:15px;font-weight:600;flex:none}
.vhic svg{width:18px;height:18px;flex:none}
.vhic:hover:not([disabled]){background:var(--sunk-2);color:var(--ink)}
.vhic[disabled]{opacity:.32;cursor:default}
.vhic.txt{font-size:11.5px;letter-spacing:.02em;padding:0 8px}
.vhic[aria-pressed="true"]{color:var(--ink);background:var(--sunk-2)}
.vhseg{display:inline-flex;border:1px solid var(--line-2);flex:none}
.vhseg button{min-height:28px;padding:0 10px;font-size:11.5px;font-weight:600;color:var(--ink-2);white-space:nowrap}
.vhseg button+button{border-left:1px solid var(--line-2)}
.vhseg button[aria-pressed="true"]{background:var(--ink);color:var(--on-ink)}
.vhseg.wide{display:flex;margin-bottom:12px}.vhseg.wide button{flex:1;min-height:36px;font-size:12.5px}
.vhseg.sm button{min-height:26px;padding:0 8px}
kbd{font:600 10px/1 ui-monospace,SFMono-Regular,Menlo,monospace;display:inline-block;min-width:17px;padding:3px 4px;text-align:center;border:1px solid var(--line-2);border-bottom-width:2px;color:var(--ink-2);background:var(--sunk);letter-spacing:.02em}
.vhempty{padding:22px 14px;text-align:center;color:var(--ink-3)}
.vhempty b{display:block;color:var(--ink);font-size:14px;margin-bottom:4px}
.vhempty p{margin:0 auto;max-width:30rem;font-size:12.5px;line-height:1.5}
.vhempty.big{padding:46px 14px;border:1px dashed var(--line-2);margin-top:14px}
.vhhint{font-size:11.5px;color:var(--ink-3);margin:8px 0 0}
.vhhint.warn{color:var(--wait)}

/* --- Seiten im Rahmen: Projekte, Taglisten --- */
.vhm{min-height:50vh}
.vhm-top{display:flex;align-items:flex-end;justify-content:space-between;gap:12px 20px;flex-wrap:wrap;margin:6px 0 4px}
.vhm-top .note{margin:0;flex:1 1 20rem}
.vhm-top .bs{margin:0}
.vhpj{list-style:none;margin:12px 0 0;padding:0;border-top:1px solid var(--line)}
.vhpj li{display:flex;align-items:center;border-bottom:1px solid var(--line)}
.vhpj-a{flex:1;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 2px;min-height:58px;text-decoration:none;color:var(--ink);text-align:left}
.vhpj-a:hover{background:var(--sunk)}
.vhpj-t{min-width:0}
.vhpj-t b{display:block;font-size:14.5px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.vhpj-t i{display:block;font-style:normal;font-size:12.5px;color:var(--ink-3);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:1px}
.vhpj-m{flex:none;display:flex;flex-direction:column;align-items:flex-end;font-size:12px;color:var(--ink-3)}
.vhpj li .vhic{margin-left:4px;height:44px;min-width:40px}
/* die Projekte als Karten (pc): oben Titel und Videos (daneben die leichte Version), unten links die Punkte, rechts Szenen
   und wann; das Menü oben rechts in der Ecke, auf Höhe des Titels — die Taglisten bleiben Zeilen */
.vhpj.pc li{display:block;position:relative}
.vhpj.pc .vhpj-a{flex-direction:column;align-items:stretch;justify-content:flex-start;gap:8px;padding:12px 4px;min-height:0}
.vhpj.pc li.m .vhpj-a{padding-right:44px}
.vhpj.pc .vhpj-t{display:flex;flex-direction:column;align-items:flex-start}
.vhpj.pc .vhpj-t b{max-width:100%}
.vhpj-s{display:flex;align-items:center;flex-wrap:wrap;gap:4px 10px;max-width:100%;margin-top:2px}
.vhpj-s i{display:block;min-width:0;max-width:100%;font-style:normal;font-size:12.5px;color:var(--ink-3);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.vhpj-lt{font-weight:500;color:var(--ink-2)}
.vhpj-f{display:flex;align-items:center;justify-content:space-between;gap:4px 16px;flex-wrap:wrap}
.vhpj.pc .vhpj-m{display:block;white-space:nowrap;margin-left:auto}
.vhpj.pc li .vhic{position:absolute;top:4px;right:0;margin:0;height:40px;min-width:40px}
.vhpj-st{display:flex;gap:10px 14px;flex-wrap:wrap}
.vhst{display:inline-flex;align-items:center;gap:4px;font-size:11.5px;color:var(--ink-3)}
.vhst i{width:9px;height:9px;border-radius:50%;box-sizing:border-box;border:1.5px solid var(--ink-3)}   /* none: leerer Ring */
.vhst.wip i{border-color:var(--wait);background:linear-gradient(90deg,var(--wait) 50%,transparent 50%)}   /* halb voll */
.vhst.src i{border-color:var(--wait);background:conic-gradient(var(--wait) 0 25%,transparent 0)}   /* ein Viertel: Szenen von der Quelle */
.vhst.done i{border-color:var(--ok);background:var(--ok)}
.vhst .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.vhsrc{max-height:min(320px,42vh);overflow:auto;margin:8px 0 4px;border:1px solid var(--line)}
.vhsrc-r{display:flex;gap:11px;align-items:center;padding:9px 12px;border-bottom:1px solid var(--line);cursor:pointer;min-height:48px}
.vhsrc-r:last-child{border-bottom:0}
.vhsrc-r:hover{background:var(--sunk)}
.vhsrc-r input{width:18px;height:18px;margin:0;accent-color:var(--ink);flex:none}
.vhsrc-r b{display:block;font-size:13.5px;font-weight:600}
.vhsrc-r i{display:block;font-style:normal;font-size:12px;color:var(--ink-3)}
.vhsrc-r.ours b{color:var(--ink)}
.vhsrc-r.ours{background:linear-gradient(to right,var(--id) 0 3px,transparent 3px)}
/* Szenen senden (share.js: sendDialog): je Spieler eine Zeile, Zurückholen rechts; geändert seit dem letzten Senden: die Leiste links */
.vhsend{max-height:min(380px,48vh)}
.vhsend-r{display:flex;align-items:center;gap:8px;border-bottom:1px solid var(--line);padding-right:12px}
.vhsend-r:last-child{border-bottom:0}
.vhsend-r .vhsrc-r{flex:1;border-bottom:0;min-width:0}
.vhsend-r.diff{background:linear-gradient(to right,var(--wait) 0 3px,transparent 3px)}
.vhsend-r .lnk{flex:none;font-size:12.5px}
.vhsend-q{font-size:13px;margin:6px 0 0}
.vhd .dlgb.wide{max-width:640px}
/* höher als der Schirm (Projekt-Einstellungen am Handy): der Inhalt scrollt, Titel und Knöpfe bleiben stehen */
.vhd .dlgb{max-width:520px;width:100%;max-height:calc(100vh - 2*var(--pad));max-height:calc(100dvh - 2*var(--pad));display:flex;flex-direction:column}
.vhd .vhdb{overflow:auto;min-height:0;flex:1 1 auto;overscroll-behavior:contain}
.vhd .dlgb>.bs{flex:none}
.vhdt{margin:0 0 12px;font-size:16px;font-weight:700}
.vhdb .field{max-width:none}
.vhdb .pp.ch{width:100%}

/* --- Tagliste bearbeiten --- */
.vhed .sec{margin-top:22px}
.vhed-t{width:100%;border-collapse:collapse;margin-top:6px}
.vhed-t th{font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-3);text-align:left;padding:6px 4px;font-weight:600}
.vhed-t td{padding:4px;vertical-align:middle;border-top:1px solid var(--line)}
.vhed-t .in{min-height:34px;width:100%}
.vhed-t .vhx{white-space:nowrap;text-align:right}
.vhk{width:38px!important;text-align:center;text-transform:uppercase;padding:0!important;font-weight:700}
.vhk.dup{border-color:var(--bad);background:var(--wait-bg)}
.vhsw{width:26px;height:26px;background:var(--c);border:2px solid var(--bg);outline:1px solid var(--line-2)}
.vhmenu button.sw{display:flex;align-items:center;gap:10px}
.vhmenu button.sw::before{content:"";width:16px;height:16px;background:var(--c);flex:none}
.vhgcard{border:1px solid var(--line);padding:12px;margin-top:10px}
.vhgrow{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.vhgrow>.in:first-child{flex:1 1 180px;min-width:0}
.vhgrow > .pp.ch{flex:none;width:auto;min-width:8rem}
.vhgrow > .pp.ch .pickbtn{min-height:36px}
.vhit{display:flex;gap:6px;align-items:center;margin-top:6px}
.vhit .in{flex:1;min-width:0;min-height:34px}
.vhit-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(168px,1fr));gap:4px 14px;margin-top:6px}
.vhit-grid .vhit{justify-content:space-between;font-size:12.5px;color:var(--ink-2)}
.vhgcard .bs{margin-top:8px}
.vhlen{display:flex;align-items:center;gap:8px;margin-top:6px;font-size:12.5px}
.vhlen span{min-width:3.4em;color:var(--ink-2)}
.vhlen .in{width:74px;min-height:34px}
.vhlen i,.vhlen em{font-style:normal;color:var(--ink-3)}

/* --- die Arbeitsfläche: dunkel, über allem --- */
body.vh-open{overflow:hidden}
body.vh-open .tabbar,body.vh-open .bar{visibility:hidden}
.vhw{
  --bg:#0E1013;--sunk:#15181C;--sunk-2:#20242A;--line:#272C33;--line-2:#3A414A;
  --ink:#E7EAED;--ink-2:#AEB5BD;--ink-3:#8A939C;--on-ink:#0E1013;
  --id:#E0BA22;--ok:#6BBF5C;--bad:#EF7A74;--wait:#F08A55;--wait-bg:#2B1A11;--on-wait:#0E1013;--shadow:rgba(0,0,0,.6);
  --sel:#E0BA22;--on-sel:#15181C;
  color-scheme:dark;background:var(--bg);color:var(--ink);
  position:fixed;inset:0;z-index:45;display:flex;flex-direction:column;overflow:hidden;font-size:13px;overscroll-behavior:contain;
}
.vhw :focus-visible{outline-color:var(--sel)}
.vhw .in{background:var(--sunk);color:var(--ink);border-color:var(--line-2)}
.vhw .b{background:var(--sunk);border-color:var(--line-2);color:var(--ink)}
.vhw .b:hover:not([disabled]){background:var(--sunk-2)}
.vhw .b.p{background:var(--ink);color:var(--on-ink);border-color:var(--ink)}
.vhw .b.danger{background:var(--bad);border-color:var(--bad);color:var(--on-wait)}
.vhw .dlgb{background:var(--sunk)}
.vhw .menu{background:var(--sunk);z-index:60}
.vhw .menu button:hover{background:var(--sunk-2)}
.vhw kbd{background:var(--bg)}
.vhw-load{margin:auto;text-align:center;color:var(--ink-3);display:flex;flex-direction:column;gap:14px;align-items:center;padding:20px}
.vhw.loading{align-items:center;justify-content:center}
.vhtoast{position:absolute;left:50%;bottom:22px;transform:translate(-50%,8px);background:var(--ink);color:var(--on-ink);padding:9px 16px;font-size:13px;font-weight:600;opacity:0;pointer-events:none;transition:opacity .16s,transform .16s;z-index:80;max-width:calc(100% - 32px);text-align:center}
.vhtoast.on{opacity:1;transform:translate(-50%,0)}

.vhw-bar{display:flex;align-items:center;gap:10px;min-height:46px;padding:0 8px;border-bottom:1px solid var(--line);flex:none;background:var(--sunk)}
.vhw-back{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:34px;height:34px;padding-right:4px;color:var(--ink-2);flex:none}
.vhw-logo{display:inline-flex;align-items:center;gap:6px}
.vhw-logo img{display:block;height:22px;width:auto}
.vhw.phone .vhw-logo .word{display:none}
/* phone: the arrow has ~7px empty room on its right inside its box, so no gap there — and as much after the logo */
.vhw.phone .vhw-back{gap:0;padding-right:6px}
.vhw.phone .vhw-logo img{height:18px}
.vhw-back svg{width:20px;height:20px}
.vhw-back:hover{color:var(--ink);background:var(--sunk-2)}
.vhw-title{display:flex;align-items:center;gap:10px;min-width:0;flex:1 1 auto}
.vhw-title b{font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.vhw-vid{display:inline-flex;align-items:center;gap:4px;font-size:12px;color:var(--ink-2);border:1px solid var(--line-2);padding:4px 8px;max-width:240px;overflow:hidden;white-space:nowrap}
.vhw-vid svg{width:14px;height:14px}
.vhw-views{display:flex;align-self:stretch;flex:none}
.vhw-views button{padding:0 16px;font-size:12.5px;font-weight:600;color:var(--ink-3);border-bottom:2px solid transparent;margin-bottom:-1px;min-height:46px}
.vhw-views button:hover{color:var(--ink)}
.vhw-views button[aria-selected="true"]{color:var(--ink);border-bottom-color:var(--sel)}
.vhw-tools{display:flex;align-items:center;gap:2px;flex:none}
.vhw-sync{display:inline-flex;align-items:center;gap:6px;font-size:11.5px;color:var(--ink-3);margin-right:8px;white-space:nowrap}
.vhw-sync svg{width:16px;height:16px}
.vhw-sync.wait{color:var(--wait)}.vhw-sync.bad{color:var(--bad)}

.vhw-body{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 392px;grid-template-rows:minmax(0,1fr) auto;grid-template-areas:"main side" "bottom side"}
.vhw-main{grid-area:main;display:flex;flex-direction:column;min-height:0;min-width:0}
.vhw-side{grid-area:side;border-left:1px solid var(--line);display:flex;flex-direction:column;min-height:0;min-width:0;background:var(--sunk)}
.vhw-bottom{grid-area:bottom;height:278px;border-top:1px solid var(--line);display:flex;flex-direction:column;min-width:0;min-height:0;background:var(--sunk)}
.vhw[data-vw="eval"] .vhw-bottom{height:max(300px,42vh)}
.vhw.nobottom .vhw-bottom{display:none}
.vhw-bottom[hidden]{display:none}
.vhw-tabbed{flex:1;min-height:0;display:flex;flex-direction:column}
.vhw-tabs{display:flex;border-bottom:1px solid var(--line);flex:none;overflow-x:auto;scrollbar-width:none}
.vhw-tabs button,.vhw-ptabs button{flex:1 0 auto;min-height:36px;padding:0 14px;font-size:12px;font-weight:600;color:var(--ink-3);border-bottom:2px solid transparent;margin-bottom:-1px;white-space:nowrap}
.vhw-tabs button:hover,.vhw-ptabs button:hover{color:var(--ink)}
.vhw-tabs button[aria-selected="true"],.vhw-ptabs button[aria-selected="true"]{color:var(--ink);border-bottom-color:var(--sel)}
.vhw-ptabs,.vhw-pbody{display:none}

/* Panels */
.vhp{display:flex;flex-direction:column;min-height:0;flex:1;min-width:0}
.vhw-side>.vhp{flex:none;max-height:46%;border-bottom:1px solid var(--line)}
.vhp[hidden]{display:none}
.vhp-h{display:flex;align-items:center;gap:4px;min-height:34px;padding:0 4px 0 12px;border-bottom:1px solid var(--line);flex:none}
.vhp-h h2{margin:0;font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-2);font-weight:700;flex:1;white-space:nowrap}
.vhp-r{display:flex;align-items:center;gap:2px}
.vhw-tabbed>.vhp>.vhp-h{display:none}
.vhw-tabbed>.vhp>.vhp-h:has(.vhp-r:not(:empty)){display:flex;border-bottom:0;min-height:30px}
.vhw-tabbed>.vhp>.vhp-h:has(.vhp-r:not(:empty)) h2{display:none}
.vhw-tabbed>.vhp>.vhp-h:has(.vhp-r:not(:empty)) .vhp-r{flex:1;justify-content:flex-end}
.vhw-bottom>.vhp>.vhp-h{display:none}
.vhw-bottom>.vhp>.vhp-h:has(.vhp-r:not(:empty)){display:flex}
.vhp-pop{opacity:.0}
.vhp:hover .vhp-pop,.vhp-pop:focus-visible{opacity:1}
.vhp-b{flex:1;min-height:0;overflow:auto;padding:10px 12px;overscroll-behavior:contain}
.vhp[data-p="zeitleiste"] .vhp-b{padding:0;overflow-y:auto;overflow-x:hidden}
.vhp-gone{flex:none;padding:10px 12px;font-size:12.5px;color:var(--ink-3);border-bottom:1px solid var(--line)}
.vhp-gone p{margin:0}
.vhp.win{height:100vh}
.vhw.win .vhp-h{min-height:40px}
.vhw.win .vhp-pop{display:none}
.vhw.video-out .vhs{display:none}

/* Video */
.vhs{flex:1;min-height:0;position:relative;background:#000;overflow:hidden}
.vhs-wrap{position:absolute;inset:0}
.vhs-wrap video{width:100%;height:100%;object-fit:contain;display:block;background:#000}
.vhs-wrap.wait::after{content:"";position:absolute;left:50%;top:50%;width:34px;height:34px;margin:-17px;border:3px solid rgba(255,255,255,.25);border-top-color:#fff;border-radius:50%;animation:vhspin .8s linear infinite;pointer-events:none}
@keyframes vhspin{to{transform:rotate(360deg)}}
.vhs-ov{position:absolute;pointer-events:none;left:0;top:0;width:0;height:0}
.vhs-draw{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
body.vh-draw-on .vhs-draw{pointer-events:auto}
.vhs-msg{position:absolute;inset:0;display:grid;place-items:center;text-align:center;padding:24px;color:#fff;background:rgba(0,0,0,.7);font-size:14px}
.vhs-hint{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) scale(.96);background:rgba(0,0,0,.62);color:#fff;font-size:22px;font-weight:700;padding:8px 18px;opacity:0;transition:opacity .15s,transform .15s;pointer-events:none;font-variant-numeric:tabular-nums}
.vhs-hint.on{opacity:1;transform:translate(-50%,-50%) scale(1)}
.vhs-light{position:absolute;left:8px;top:8px;background:rgba(0,0,0,.62);color:#fff;font-size:12px;padding:3px 8px;pointer-events:auto;max-width:calc(100% - 16px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vhs-info{position:absolute;left:12px;bottom:12px;right:12px;pointer-events:none}
.vhs-score{position:absolute;left:8px;top:8px;background:rgba(0,0,0,.55);color:#fff;font-size:13px;font-weight:700;line-height:1;padding:4px 7px;border-radius:3px;font-variant-numeric:tabular-nums;pointer-events:auto;border:1px solid transparent}
.vhs-score.unsure{background:rgba(120,90,0,.6);border:1px dashed rgba(255,200,60,.85)}
.vhs-wrap:has(.vhs-light:not([hidden])) .vhs-score{top:34px}
.vhi{display:inline-flex;flex-direction:column;gap:2px;background:rgba(14,16,19,.82);border-left:4px solid var(--c);padding:8px 14px;color:#fff;max-width:100%}
.vhi b{font-size:16px}.vhi span{font-size:13px;color:#d6dbe0}.vhi em{font-size:12.5px;font-style:normal;color:#aeb5bd}
.vhs-title{position:absolute;inset:0;background:#0E1013;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;padding:24px;z-index:3}
.vhs-title b{font-size:clamp(22px,4vw,44px);font-weight:700;letter-spacing:-.015em}
.vhs-title span{font-size:clamp(14px,2vw,22px);color:#aeb5bd}

/* Leiste unter dem Video */
.vht{flex:none;background:var(--sunk);border-top:1px solid var(--line);padding:0 10px 6px}
.vht-seek{position:relative;height:20px;display:flex;align-items:center}
.vht-range{-webkit-appearance:none;appearance:none;width:100%;height:20px;margin:0;background:transparent;position:relative;z-index:2;cursor:pointer}
.vht-range::-webkit-slider-runnable-track{height:4px;background:var(--line-2)}
.vht-range::-moz-range-track{height:4px;background:var(--line-2)}
.vht-range::-webkit-slider-thumb{-webkit-appearance:none;width:12px;height:16px;margin-top:-6px;background:var(--sel);border:0;border-radius:0}
.vht-range::-moz-range-thumb{width:12px;height:16px;background:var(--sel);border:0;border-radius:0}
.vht-fill{position:absolute;left:0;top:8px;height:4px;background:var(--ink-3);pointer-events:none;z-index:1}
/* Zeit links, Sprünge mittig, Optionen rechts; keine Spalte wird schmaler als ihr Inhalt (nichts überlappt) */
.vht-row{display:grid;grid-template-columns:minmax(max-content,1fr) auto minmax(max-content,1fr);align-items:center;column-gap:8px;min-height:40px}
.vht-time{font-size:12.5px;color:var(--ink-3);white-space:nowrap;font-variant-numeric:tabular-nums}
.vht-time b{color:var(--ink);font-weight:600}.vht-time i{font-style:normal;margin:0 4px}
.vht-btns{display:flex;align-items:center;gap:2px}
.vht-btns button{position:relative;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;color:var(--ink-2)}
.vht-btns button:hover{color:var(--ink);background:var(--sunk-2)}
.vht-btns button svg{width:20px;height:20px}
.vht-btns button span{position:absolute;font-size:8.5px;font-weight:700;top:50%;left:50%;transform:translate(-50%,-38%);pointer-events:none;letter-spacing:-.02em}
.vht-btns .vht-play{width:46px;background:var(--ink);color:var(--on-ink);margin:0 6px}
.vht-btns .vht-play:hover{background:var(--ink);color:var(--on-ink);filter:brightness(1.1)}
.vht-btns .vht-play svg{width:22px;height:22px}
.vht-opt{display:flex;align-items:center;gap:2px;justify-content:flex-end}
.vht-opt button{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:34px;color:var(--ink-3)}
.vht-opt button svg{width:18px;height:18px}
.vht-opt button:hover{color:var(--ink);background:var(--sunk-2)}
.vht-opt button[aria-pressed="true"]{color:var(--sel)}
.vht-opt .vht-rate{font-size:12.5px;font-weight:700;color:var(--ink);padding:0 8px;min-width:48px;border:1px solid var(--line-2)}
.vhw-drawbar{flex:none;position:relative;background:var(--sunk);border-top:1px solid var(--line);padding:4px 10px 6px}
.vhw-drawbar[hidden]{display:none}

/* Zeichnen (videohub/draw*.js) */
.vhdr-row{display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px;min-height:36px}
.vhdr-row+.vhdr-row{border-top:1px solid var(--line);padding-top:3px;margin-top:3px}
.vhdr-g{display:flex;align-items:center;gap:2px;min-width:0}
.vhdr-g+.vhdr-g{padding-left:12px;border-left:1px solid var(--line)}
.vhdr-sp{flex:1}
.vhdr-hint,.vhdr-note{font-size:12.5px;color:var(--ink-3);line-height:1.4}
.vhdr-step{font-size:13px;color:var(--ink);font-weight:600;min-width:0}
.vhw-drawbar .vhic svg{width:20px;height:20px}
.vhw-drawbar .vhic.txt{font-size:12px}
.vhw-drawbar .vhic[aria-pressed="true"]{background:var(--sunk-2);color:var(--ink);box-shadow:inset 0 -2px 0 var(--sel)}
.vhdr-fl .vhic svg{width:18px;height:18px}
.vhdr-col{gap:3px}
.vhdr-sw{width:24px;height:24px;background:var(--c);border:1px solid var(--line-2);flex:none;position:relative}
.vhdr-sw[aria-checked="true"]{outline:2px solid var(--sel);outline-offset:2px}
.vhdr-wd button,.vhdr-z button{min-width:30px;height:30px;padding:0 6px;display:inline-grid;place-items:center;color:var(--ink-2);font-size:12px;font-weight:700}
.vhdr-wd button i{display:block;width:16px;background:currentColor}
.vhdr-wd button:hover,.vhdr-z button:hover{background:var(--sunk-2);color:var(--ink)}
.vhdr-wd button[aria-checked="true"],.vhdr-z button[aria-checked="true"]{background:var(--sunk-2);color:var(--ink);box-shadow:inset 0 -2px 0 var(--sel)}
.vhdr-num{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--ink-3)}
.vhdr-num .in{width:62px;height:30px;padding:0 6px;text-align:right}
.vhdr-num em{font-style:normal}
.vhdr-end{margin-left:auto}
.vhdr-ref{display:inline-flex;align-items:center;gap:8px;font-size:12px;color:var(--ink-3)}
.vhdr-ref .in{height:32px;padding:0 8px}
.vhdr-ok{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 14px}
.vhdr-ok svg{width:16px;height:16px}
.vhdr-ok[disabled]{opacity:.4}
.vhdr-cal .vhic[disabled]{opacity:.32}
.vhdr-pop{position:absolute;right:10px;bottom:100%;margin-bottom:6px;width:min(340px,calc(100% - 20px));background:var(--sunk);border:1px solid var(--line-2);box-shadow:0 10px 28px var(--shadow);padding:10px 12px 12px;z-index:6}
.vhdr-pop-h{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px}
.vhdr-pop .note{margin:2px 0 8px;font-size:12px;color:var(--ink-3);line-height:1.45}
.vhdr-samples{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:6px}
.vhdr-sample{position:relative;width:38px;height:30px;background:var(--c);border:1px solid var(--line-2)}
.vhdr-sample i{position:absolute;inset:0;display:none;place-items:center;background:rgba(0,0,0,.5);color:#fff}
.vhdr-sample:hover i{display:grid}.vhdr-sample svg{width:14px;height:14px}
.vhdr-tol{display:grid;grid-template-columns:auto 1fr 28px;align-items:center;gap:10px;margin:8px 0 6px;font-size:12px;color:var(--ink-3)}
.vhdr-tol input{width:100%;accent-color:var(--sel)}.vhdr-tol em{font-style:normal;color:var(--ink);text-align:right}
.vhdr-perf{margin:6px 0 0!important;min-height:16px}
.vhdr-txt{position:absolute;z-index:4;pointer-events:auto;resize:none;overflow:hidden;border:0;outline:2px solid var(--sel);font-family:inherit;font-weight:700;line-height:1.18;min-width:3em;white-space:pre;margin:0;box-sizing:content-box;border-radius:0}
.vhdr-txt::placeholder{color:inherit;opacity:.5}
.vhdr-guide{position:absolute;left:10px;top:10px;max-width:min(440px,calc(100% - 20px));background:rgba(14,16,19,.88);color:#fff;padding:6px 10px;font-size:12px;line-height:1.4;border-left:3px solid var(--sel);pointer-events:none;z-index:3}
body.vh-draw-on .vhs-draw{touch-action:none;-webkit-user-select:none;user-select:none}
.vht-dr[aria-pressed="true"]{color:var(--sel)}
.vhtl-dm{position:absolute;top:50%;width:9px;height:9px;margin:-5px 0 0 -5px;background:#fff;border:1px solid rgba(8,10,12,.7);transform:rotate(45deg);z-index:1;cursor:pointer}
.vhtl-dm:hover{background:var(--sel)}
.vhkeys-h th{text-align:left;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-3);padding:16px 0 4px;border-bottom:1px solid var(--line-2)}
.vhkeys-n td{font-size:12px;color:var(--ink-3);border-bottom:0;padding-top:8px;white-space:normal;width:auto}
@media (pointer:coarse){.vhw-drawbar .vhic{min-width:44px;height:44px}.vhdr-sw{width:32px;height:32px}.vhdr-wd button,.vhdr-z button{min-width:44px;height:44px}}
.vhw.phone .vhw-drawbar [data-adv]{display:none!important}
.vhw.phone .vhw-drawbar .vhdr-row:first-child{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
.vhw.phone .vhw-drawbar .vhdr-ctx{gap:6px 10px;padding:3px 0}
.vhw.phone .vhw-drawbar .vhdr-end{margin-left:auto}
.vhw.phone .vhw-drawbar .vhdr-row:first-child::-webkit-scrollbar{display:none}
.vhw.phone .vhw-drawbar .vhdr-row .vhic.txt{white-space:nowrap}
.vhw.phone .vhdr-g+.vhdr-g{padding-left:8px}
.vhw.phone .vhw-drawbar .vhdr-g{flex:none}
.vhw.phone .vhdr-hint{white-space:normal;min-width:220px}
.vhw.phone .vhdr-tip{display:none}
.vhw.phone .vhdr-pop{right:0;left:0;width:auto;margin-left:10px;margin-right:10px}

/* Tagliste */
.vhcats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.vhcat{position:relative;display:flex;align-items:center;min-height:44px;padding:6px 10px;background:var(--c);color:var(--on);text-align:left;font-weight:600;font-size:13px;touch-action:manipulation;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;overflow:hidden}
.vhcat:hover{filter:brightness(1.1)}
.vhcat.down{filter:brightness(1.25);transform:translateY(1px)}
.vhcat .vhcn{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:22px}
.vhcat kbd{position:absolute;right:5px;top:5px;background:rgba(0,0,0,.28);color:inherit;border-color:rgba(255,255,255,.25);min-width:16px}
.vhcat .vhcnt{position:absolute;right:7px;bottom:3px;font-size:10.5px;opacity:.78;font-weight:700}
.vhcat.rec{box-shadow:inset 0 0 0 3px var(--sel)}
.vhcat.on{box-shadow:inset 0 0 0 3px var(--on)}
.vhcat.on .vhcn::before{content:"\2713\00a0";font-weight:800}
.vhcat.lk{box-shadow:inset 0 0 0 2px var(--wait)}
.vhcat.on.lk{box-shadow:inset 0 0 0 3px var(--on),inset 0 0 0 5px var(--wait)}
.vhcat .vhlk{position:absolute;left:6px;bottom:4px;width:12px;height:12px;opacity:.9}
.vhtarget{margin:6px 0 0;color:var(--ink-2)}
.vhchips button[data-scat][aria-pressed="true"]:before{content:"\2713";font-weight:800}
.vhchips button[data-scat] .sq{width:10px;height:10px;flex:none;display:inline-block}
.vhchips button[data-scat] small{font-size:9.5px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;opacity:.8}
.vhscats .vhchips,.scats .vhchips{gap:5px}
.vhrec{position:absolute;right:6px;bottom:3px;font-size:10.5px;font-weight:700;color:inherit;animation:vhpulse 1s infinite}
@keyframes vhpulse{50%{opacity:.45}}
.vhhint .tl{margin-left:6px}

/* Merkmale */
.vhsel{display:flex;gap:10px;align-items:stretch;flex-wrap:wrap;margin-bottom:12px}
.vhcatsel{display:inline-flex;align-items:center;gap:6px;background:var(--c);color:var(--on);padding:0 10px 0 12px;min-height:40px;font-size:13.5px}
.vhcatsel svg{width:16px;height:16px}
.vhrange{display:flex;flex-direction:column;gap:2px;flex:1;min-width:190px}
.vhr1{display:flex;align-items:center;gap:4px;font-size:12.5px}
.vhr1 .l{width:2.2em;color:var(--ink-3);font-size:10.5px;text-transform:uppercase;letter-spacing:.08em}
.vhr1 b{min-width:5.6em;text-align:center;font-weight:600}
.vhr1 button{min-width:26px;height:22px;border:1px solid var(--line-2);color:var(--ink-2);font-weight:700;line-height:1}
.vhr1 button:hover{background:var(--sunk-2);color:var(--ink)}
.vhr1 .now{padding:0 8px;font-size:11px;margin-left:4px}
.vhgrp{display:block;margin-top:14px}
.vhgh{display:flex;gap:8px;align-items:baseline;font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-3);font-weight:700;margin-bottom:6px}
.vhgh i{font-style:normal;text-transform:none;letter-spacing:0;font-weight:500}
.vhchips{display:flex;flex-wrap:wrap;gap:6px}
.vhchips button{display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:0 11px;border:1px solid var(--line-2);background:var(--bg);color:var(--ink);font-size:12.5px;font-weight:600}
.vhchips button:hover{background:var(--sunk-2)}
.vhchips button[aria-pressed="true"]{background:var(--sel);color:var(--on-sel);border-color:var(--sel)}
.vhchips button[aria-pressed="true"] kbd{background:rgba(0,0,0,.18);color:var(--on-sel);border-color:rgba(0,0,0,.25)}
.vhchips button kbd{margin-left:2px;padding:2px 3px;min-width:14px}
/* Angriff / Überzahl (Schalter eigene | Gegner), Schlösser */
.vhph{display:flex;align-items:center;gap:8px;margin-bottom:6px}
.vhph>span{font-size:12.5px;font-weight:600;color:var(--ink-2);min-width:4.8em}
.vhph button{position:relative;display:inline-flex;align-items:center;gap:5px;min-height:34px;padding:0 12px;border:1px solid var(--line-2);background:var(--bg);color:var(--ink);font-size:12.5px;font-weight:600}
.vhph button+button{margin-left:-1px}
.vhph button[aria-pressed="true"]{background:var(--sel);color:var(--on-sel);border-color:var(--sel);z-index:1}
.vhphs{margin-top:12px;padding-top:10px;border-top:1px solid var(--line-2)}
.vhlk{display:inline-flex;width:12px;height:12px;flex:none}.vhlk svg{width:12px;height:12px}
.vhchips button.lk,.vhgoal button.lk,.vhph button.lk{box-shadow:inset 0 0 0 2px var(--wait)}
.vhcourt .z.lk path,.vhcourt .z.lk circle{stroke:var(--wait);stroke-width:2.2}
.vhchips button.opp{border-style:dashed}
.vhlocked{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.vhlocked svg{width:14px;height:14px;flex:none;color:var(--wait)}
.vhteam{margin-bottom:8px}
.vhchips.pl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.vhchips.pl button{display:grid;grid-template-columns:auto 1fr auto;gap:6px;padding:0 8px;min-height:38px;text-align:left}
.vhchips.pl b{font-size:14px;min-width:1.3em;text-align:right}
.vhchips.pl span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500;font-size:12px}
.vhcourt{display:block;width:100%;height:auto;aspect-ratio:208/142;max-width:340px;margin:0 auto;background:var(--bg);border:1px solid var(--line)}
.vhcourt .z path,.vhcourt .z circle{fill:var(--sunk-2);stroke:var(--bg);stroke-width:1.4;cursor:pointer}
.vhcourt .z:hover path,.vhcourt .z:hover circle{fill:#2d333b}
.vhcourt .z.on path,.vhcourt .z.on circle{fill:var(--sel)}
.vhcourt .z text{font-size:9px;font-weight:700;fill:var(--ink-2);text-anchor:middle;dominant-baseline:central;pointer-events:none}
.vhcourt .z.on text{fill:var(--on-sel)}
.vhcourt .z:focus-visible{outline:none}.vhcourt .z:focus-visible path,.vhcourt .z:focus-visible circle{stroke:var(--ink);stroke-width:2}
.vhcourt .cl{fill:none;stroke:var(--ink-3);stroke-width:1.2;pointer-events:none}
.vhcourt .cl.dash{stroke-dasharray:4 3}
.vhcourt .cg{stroke:var(--ink);stroke-width:3;pointer-events:none}
.vhgoal{display:grid;grid-template-columns:repeat(3,1fr);gap:3px;width:min(220px,100%);aspect-ratio:3/2;border:3px solid var(--ink-2);border-bottom:0;padding:3px;margin:0 auto;background:var(--bg)}
.vhgoal button{position:relative;background:var(--sunk-2);display:flex;align-items:flex-start;justify-content:flex-end;padding:2px}
.vhgoal button:hover{background:#2d333b}
.vhgoal button[aria-pressed="true"]{background:var(--sel)}
.vhgoal kbd{background:transparent;border:0;color:var(--ink-3);font-size:9.5px}
.vhgoal button[aria-pressed="true"] kbd{color:var(--on-sel)}
.vhgrp.note textarea{width:100%;min-height:60px;resize:vertical;padding:8px 10px;font:inherit}
.vhacts{display:flex;gap:6px;flex-wrap:wrap;margin:16px 0 4px}
.vhacts .b{min-height:34px;padding:0 11px;font-size:12px}
.vhacts .b svg{width:15px;height:15px}

/* Board (Codefenster): alle Kategorien und Merkmalgruppen auf einer Fläche, in der breiten Seite (ab 1024 px) oder im eigenen Fenster */
.vhw-board{display:none}
@media (min-width:1024px){.vhw-board:not([hidden]){display:inline-flex}}
.vhw-board[aria-pressed="true"]{color:var(--sel);background:var(--sunk-2)}
.vhw.boardmode .vhw-body{grid-template-columns:minmax(0,1fr) clamp(540px,46vw,1000px)}
.vhw.boardmode .vhw-bottom{height:max(150px,26vh)}
.vhbd{display:flex;flex-direction:column;gap:12px}
.vhbd-cats .vhcats{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:6px}
.vhbd .vhcat{min-height:58px;font-size:15px;padding:8px 12px}
.vhbd .vhcat .vhcn{white-space:normal;line-height:1.15;padding-right:26px}
.vhbd-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));grid-auto-flow:row dense;gap:10px;align-items:start}
.vhbd-grid>.vhgrp{margin:0;padding:10px;background:var(--sunk-2);border:1px solid var(--line)}
.vhbd-grid>.vhgrp.g-players{grid-column:1/-1}
.vhbd-grid>.vhgrp.g-court .vhcourt{max-width:300px}
.vhbd-grid>.vhgrp.note,.vhbd-grid>.vhgrp.ph{align-self:stretch}
.vhbd-grid .vhsel{margin:0}
.vhbd-grid .vhchips button,.vhbd-grid .vhph button{min-height:38px}
.vhbd-grid .vhchips.pl{grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:4px}
.vhbd-grid .vhchips.pl button{min-height:32px;padding:0 6px}
.vhbd .vhhint{margin:0}
.vhw.win .vhbd-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}

/* Vollbild-Board: im eigenen Fenster (.vhw.win) und als „Nur Board“ (.vhw.boardonly) füllt es den ganzen Schirm. Alles in em, die Größe
   --u setzt tagging.js (boardPanel, fit) so, dass die Fläche gerade noch ohne Rollen passt: wenige Knöpfe groß, viele klein. */
.vhw.boardonly .vhw-main,.vhw.boardonly .vhw-bottom{display:none}
.vhw.boardonly .vhw-body{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);grid-template-areas:"side"}
.vhw.boardonly .vhw-side{border-left:0}
/* Trenner zwischen Video und Seite (workspace.js, splitSync): ab 1024 px, die gezogene Breite als --vhside, gehalten zwischen 320 px und 75 % */
.vhw-split{display:none}
@media (min-width:1024px){
  .vhw:not(.phone):not(.boardonly):not(.presenting) .vhw-split:not([hidden]){display:block;grid-area:side;justify-self:start;position:relative;z-index:3;width:10px;margin-left:-5px;cursor:col-resize;touch-action:none}
  .vhw-split::after{content:"";position:absolute;top:0;bottom:0;left:4px;width:2px;background:transparent;transition:background .12s}
  .vhw-split:hover::after,.vhw-split:focus-visible::after,.vhw.splitting .vhw-split::after{background:var(--sel)}
  .vhw-split:focus-visible{outline:0}
  .vhw.sized:not(.boardonly) .vhw-body{grid-template-columns:minmax(0,1fr) clamp(320px,var(--vhside),75%)}
  .vhw.splitting{cursor:col-resize;user-select:none;-webkit-user-select:none}
  .vhw.splitting iframe,.vhw.splitting video{pointer-events:none}
}
.vhw-boardonly{display:none}
@media (min-width:1024px){.vhw-boardonly:not([hidden]){display:inline-flex}}
.vhw-boardonly[aria-pressed="true"]{color:var(--sel);background:var(--sunk-2)}
.vhp-wfull{margin-left:6px}
.vhp-b:has(>.vhbd.fit){padding:.7vmin 1vmin}
.vhbd.fit{font-size:var(--u,16px);gap:.5em}
.vhbd.fit .vhbd-cats .vhcats{grid-template-columns:repeat(auto-fill,minmax(9em,1fr));gap:.35em}
.vhbd.fit .vhcat{min-height:2.9em;font-size:.86em;padding:.3em .55em}
.vhbd.fit .vhcat .vhcn{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal;line-height:1.1;padding-right:1.7em;overflow:hidden;overflow-wrap:break-word;hyphens:auto}
.vhbd.fit .vhcat kbd{font-size:.62em;right:.4em;top:.4em;padding:.1em .3em;min-width:1.4em;text-align:center}
.vhbd.fit .vhcat .vhcnt,.vhbd.fit .vhcat .vhrec{font-size:.68em;right:.5em;bottom:.25em}
.vhbd.fit .vhcat .vhlk{width:.85em;height:.85em;left:.4em;bottom:.3em}
.vhbd.fit .vhcat .vhlk svg{width:100%;height:100%}
.vhbd.fit .vhbd-grid{display:block;column-width:17em;column-gap:.6em}
.vhbd.fit .vhbd-grid>.vhgrp{break-inside:avoid;margin:0 0 .6em;padding:.5em .6em;display:block}
.vhbd.fit .vhbd-grid>.vhgrp.g-players{column-span:all}
.vhbd.fit .vhgh{font-size:.62em;margin-bottom:.5em;gap:.6em}
.vhbd.fit .vhchips{gap:.3em}
.vhbd.fit .vhchips button,.vhbd.fit .vhph button{min-height:2.1em;height:auto;font-size:.82em;padding:.2em .6em;gap:.4em;white-space:normal;text-align:left;line-height:1.1;overflow-wrap:anywhere;min-width:0;max-width:100%}
.vhbd.fit .vhchips button kbd,.vhbd.fit .vhph button kbd{font-size:.7em;padding:.1em .3em;min-width:1.3em;margin-left:.2em;flex:none}
.vhbd.fit .vhph{gap:.5em;margin-bottom:.3em}
.vhbd.fit .vhph>span{font-size:.82em;min-width:4.4em}
.vhbd.fit .vhchips.pl{grid-template-columns:repeat(auto-fill,minmax(8em,1fr));gap:.3em}
.vhbd.fit .vhchips.pl button{min-height:2em;padding:0 .5em;gap:.4em}
.vhbd.fit .vhchips.pl b{font-size:1em}
.vhbd.fit .vhchips.pl span{font-size:.9em}
.vhbd.fit .vhcourt{max-width:15em}
.vhbd.fit .vhgoal{width:min(11em,100%)}
.vhbd.fit .vhsel{gap:.5em;margin:0 0 .4em}
.vhbd.fit .vhcatsel{min-height:2.2em;font-size:.85em;padding:0 .6em}
.vhbd.fit .vhcatsel svg{width:1em;height:1em}
.vhbd.fit .vhrange{min-width:9em;gap:.15em}
.vhbd.fit .vhr1{font-size:.8em;gap:.3em}
.vhbd.fit .vhr1 button{min-width:1.8em;height:1.6em}
.vhbd.fit .vhgrp.note textarea{font-size:.8em;min-height:2.6em;resize:none;padding:.3em .5em}
.vhbd.fit .vhhint{font-size:.7em}
.vhbd.fit .note{font-size:.75em}
.vhbd.fit .vhgh kbd{font-size:1em}

/* Board „Kompakt“ (tagging.js: compactHtml, nur zusammen mit .fit): Spalten über die ganze Höhe, Knöpfe wachsen in ihre Fläche.
   Die Grid-Zeilen sind 1fr (nicht minmax(0,…)): wird es zu eng, läuft eine Gruppe über (verdeckt, overflow:hidden) und fit() nimmt die Schrift zurück. */
.vhkp-seg{margin-left:6px}.vhkp-seg[hidden]{display:none}
.vhp-b:has(>.vhkp.fit){display:flex;flex-direction:column}
.vhbd.vhkp.fit{flex:1 1 auto;min-height:0;gap:.4em}
.vhkp-cols{flex:1 1 auto;min-height:0;display:flex;gap:.4em}
.vhkp-field{flex:none;width:min(24%,calc(var(--kh,600px)*.58));display:flex;flex-direction:column;gap:.4em}
.vhkp-pl{flex:1.1 1 0;min-width:0;display:flex}
.vhkp-rest{flex:1 1 0;min-width:0;display:grid;grid-template-rows:repeat(var(--rows,1),1fr);grid-auto-flow:column dense;grid-auto-columns:minmax(0,1fr);gap:.4em}
.vhkp-cell{min-width:0;min-height:0;display:flex}
.vhkp-cell.span{grid-row:span 2}
.vhbd.vhkp.fit .vhgrp{flex:1 1 0;min-width:0;min-height:0;margin:0;padding:.35em .4em;background:var(--sunk-2);border:1px solid var(--line);display:flex;flex-direction:column;overflow:hidden}
.vhbd.vhkp.fit .vhgh{flex:none;margin-bottom:.35em;font-size:max(.6em,9px);white-space:nowrap;overflow:hidden}
.vhbd.vhkp.fit .vhgh i{overflow:hidden;text-overflow:ellipsis}
.vhbd.vhkp.fit .vhgrp>.vhchips,.vhbd.vhkp.fit .vhgrp>.vhcats{flex:1 1 auto;min-height:0;display:grid;grid-template-columns:minmax(0,1fr);grid-auto-rows:1fr;gap:.25em}
.vhbd.vhkp.fit .vhkp-cell.c2 .vhgrp>.vhchips,.vhbd.vhkp.fit .vhkp-cell.c2 .vhgrp>.vhcats{grid-template-columns:repeat(2,minmax(0,1fr))}
/* Kacheln: Name in der Mitte, Taste oben rechts, Schloss unten links */
.vhbd.vhkp.fit .vhchips button{position:relative;justify-content:center;text-align:center;min-height:1.9em;height:auto;padding:.9em .25em .2em;font-size:.8em;max-width:none;overflow-wrap:break-word;hyphens:auto;-webkit-hyphens:auto}
.vhbd.vhkp.fit .vhchips button span{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;max-width:100%}
.vhbd.vhkp.fit .vhchips button kbd{position:absolute;top:.2em;right:.2em;margin:0;font-size:max(.62em,8px)}
.vhbd.vhkp.fit .vhchips button .vhlk{position:absolute;left:.25em;bottom:.25em;width:.8em;height:.8em}
.vhbd.vhkp.fit .vhchips button .vhlk svg{width:100%;height:100%}
.vhbd.vhkp.fit .vhcat{min-height:1.9em;font-size:.88em;padding:.8em .4em .25em;align-items:center;justify-content:center;text-align:center}
.vhbd.vhkp.fit .vhcat .vhcn{flex:0 1 auto;padding:0;-webkit-line-clamp:3;overflow-wrap:break-word}
.vhbd.vhkp.fit .vhph button{overflow-wrap:break-word;hyphens:auto;-webkit-hyphens:auto;text-align:center}
/* beim Messen (fit) brechen Wörter nicht: so merkt fit(), wenn ein Name nicht mehr in seine Kachel passt */
.vhbd.vhkp.fit.meas .vhchips button,.vhbd.vhkp.fit.meas .vhcat .vhcn,.vhbd.vhkp.fit.meas .vhph button{overflow-wrap:normal}
.vhkp .vhtarget,.vhkp-bar .vhhint:not(.vhlocked){display:none}
/* viele Merkmale (KP_LIST): eine dichte Liste, eine Zeile je Merkmal, die Taste rechts */
.vhbd.vhkp.fit .vhkp-cell.list .vhchips{gap:0}
.vhbd.vhkp.fit .vhkp-cell.list .vhchips button{justify-content:flex-start;text-align:left;min-height:1.25em;padding:0 .2em 0 1em;font-size:.72em;font-weight:500;border-width:0 0 1px}
.vhbd.vhkp.fit .vhkp-cell.list .vhchips button span{-webkit-line-clamp:1;flex:1;min-width:0}
.vhbd.vhkp.fit .vhkp-cell.list .vhchips button kbd{position:static;flex:none;margin-left:.3em}
.vhbd.vhkp.fit .vhkp-cell.list .vhchips button .vhlk{left:.2em;top:50%;bottom:auto;transform:translateY(-50%)}
/* Spieler: zwei je Zeile, die Nummer groß, der Name klein darunter; alle Spielerspalten gleich hohe Kacheln (--pr Zeilen) */
.vhbd.vhkp.fit .vhchips.pl{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(var(--pr),1fr);grid-auto-rows:1fr;gap:.25em}
.vhbd.vhkp.fit .vhchips.pl button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;min-height:2.3em;padding:0 .3em;line-height:1}
.vhbd.vhkp.fit .vhchips.pl b{font-size:1.2em;min-width:0;text-align:center}
.vhbd.vhkp.fit .vhchips.pl span{font-size:.68em;line-height:1.15;max-width:100%;display:block;white-space:nowrap;text-overflow:ellipsis;color:var(--ink-2)}
.vhbd.vhkp.fit .vhchips.pl button[aria-pressed="true"] span{color:inherit}
.vhbd.vhkp.fit .vhchips.pl button.nn b{display:none}
.vhbd.vhkp.fit .vhchips.pl button.nn span{font-size:.9em;color:var(--ink)}
.vhbd.vhkp.fit .vhchips.pl .note{grid-column:1/-1}
/* Torecke und Wurfposition füllen die linke Spalte */
.vhbd.vhkp.fit .vhkp-field .g-court{flex:none}
.vhbd.vhkp.fit .vhgoal{flex:1 1 auto;min-height:0;width:100%;aspect-ratio:auto;grid-template-rows:repeat(3,1fr)}
.vhbd.vhkp.fit .vhcourt{width:100%;max-width:none;background:none;border:0}
/* Angriff / Überzahl: je Schalter zwei große Flächen */
.vhbd.vhkp.fit .vhph{flex:1 1 0;min-height:0;display:grid;align-items:stretch;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto 1fr;gap:.25em;margin:0 0 .3em}
.vhbd.vhkp.fit .vhph>span{grid-column:1/-1;min-width:0;font-size:.72em}
.vhbd.vhkp.fit .vhph button{justify-content:center;min-height:1.9em;margin:0;font-size:.8em;padding:0 .3em}
.vhbd.vhkp.fit .vhph button .vhlk{position:absolute;left:.25em;bottom:.25em;width:.8em;height:.8em}
/* die Leiste unten: markierte Szene (Kategorie, Haken, Start/Ende), Notiz, Schlösser */
.vhkp-bar{flex:none;display:flex;align-items:center;gap:.8em;border-top:1px solid var(--line);padding-top:.35em;min-width:0}
.vhkp-scene{flex:1 1 auto;min-width:0;display:flex;align-items:center;gap:.6em}
.vhkp-scene .vhsel{margin:0;flex:none;flex-wrap:nowrap}
.vhkp-scene .vhrange{min-width:0;flex:none}
.vhbd.vhkp.fit .vhkp-scene .scats{flex:1 1 auto;background:none;border:0;padding:0}
.vhkp-scene .scats .vhgh{display:none}
.vhbd.vhkp.fit .vhkp-scene .scats .vhchips{display:flex;flex-wrap:wrap;gap:.25em}
.vhbd.vhkp.fit .vhkp-scene .scats .vhchips button{min-height:1.8em;padding:0 .5em;font-size:.72em;gap:.3em}
.vhbd.vhkp.fit .vhkp-scene .scats .vhchips button .vhlk{position:static}
.vhkp-none{flex:1 1 auto;margin:0;font-size:.75em;color:var(--ink-3);text-transform:uppercase;letter-spacing:.08em}
.vhbd.vhkp.fit .vhkp-bar .vhgrp.note{flex:0 1 24em;flex-direction:row;align-items:center;gap:.5em;background:none;border:0;padding:0}
.vhbd.vhkp.fit .vhkp-bar .vhgrp.note .vhgh{margin:0}
.vhbd.vhkp.fit .vhkp-bar .vhgrp.note textarea{flex:1;min-height:0;height:2.3em;min-width:6em}
.vhkp-bar .vhlocked{flex:0 1 auto;margin:0;max-width:30%;font-size:.65em}

/* Szenen */
.vhcount{font-size:11.5px;color:var(--ink-3);margin-right:4px}
.vhfilt{font-size:12px;color:var(--ink-2);background:var(--id-bg,#2A2410);border-left:3px solid var(--sel);padding:6px 10px;margin:0 0 8px}
.vhsc{list-style:none;margin:-10px -12px;padding:0}
.vhs-row{display:grid;grid-template-columns:50px 1fr auto 34px;align-items:center;gap:8px;padding:7px 4px 7px 12px;border-bottom:1px solid var(--line);box-shadow:inset 3px 0 0 var(--c);cursor:pointer;min-height:46px}
.vhs-row:hover{background:var(--sunk-2)}
.vhs-row.sel{background:var(--sunk-2);box-shadow:inset 3px 0 0 var(--c),inset 0 0 0 1px var(--sel)}
.vhsc-t{font-size:12px;color:var(--ink-3)}
.vhsc-m{min-width:0;display:flex;flex-direction:column}
.vhsc-m b{font-size:13px;font-weight:600}
.vhsc-m i,.vhsc-m em{font-style:normal;font-size:11.5px;color:var(--ink-3);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.vhsc-m em{color:var(--ink-2)}
.vhsc-d{font-size:11.5px;color:var(--ink-3)}
.vhs-row.del{grid-template-columns:50px 1fr auto 34px 34px}   /* mit Löschen */
.vhs-row [data-delsc]{color:var(--ink-3)}
.vhs-row [data-delsc]:hover{color:var(--bad)}
.vhs-row .vhic{opacity:.0}
.vhs-row:hover .vhic,.vhs-row.sel .vhic{opacity:1}

/* Zeitleiste */
.vhtl{display:flex;min-width:0;position:relative}
.vhtl-labels{width:108px;flex:none;border-right:1px solid var(--line);background:var(--sunk);position:relative;z-index:3}
.vhtl-lb{height:22px;display:flex;align-items:center;gap:7px;padding:0 8px;font-size:11.5px;color:var(--ink-2);border-bottom:1px solid var(--line)}
.vhtl-lb i{width:9px;height:9px;background:var(--c);flex:none}
.vhtl-lb span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.vhtl-scroll{flex:1;min-width:0;overflow-x:auto;overflow-y:hidden;touch-action:pan-x pan-y;scrollbar-width:thin;scrollbar-color:var(--line-2) transparent}
.vhtl-inner{position:relative}
.vhtl-ruler{height:24px;position:relative;border-bottom:1px solid var(--line);cursor:pointer;background:repeating-linear-gradient(to right,var(--line-2) 0 1px,transparent 1px var(--tick,100px)) bottom/100% 6px no-repeat}
.vhtl-ruler span{position:absolute;top:3px;padding-left:4px;font-size:10px;color:var(--ink-3);white-space:nowrap}
.vhtl-rows{position:relative;cursor:crosshair}
.vhtl-row{position:absolute;left:0;right:0;height:22px;border-bottom:1px solid var(--line)}
.vhtl-row:nth-child(odd){background:rgba(255,255,255,.015)}
.vhtl-sc{position:absolute;height:16px;background:var(--c);color:var(--on,#fff);cursor:grab;min-width:4px;touch-action:none}
.vhtl-sc:hover{filter:brightness(1.15)}
.vhtl-sc.v2{opacity:.55}
.vhtl-sc.v2.sel,.vhtl-sc.v2:hover{opacity:.9}
.vhtl-sc.sel{outline:2px solid var(--sel);outline-offset:1px;z-index:2}
.vhtl-sc.now{box-shadow:0 0 0 2px #fff}
.vhtl-sc.open{background:repeating-linear-gradient(135deg,var(--c) 0 6px,transparent 6px 10px);outline:1px solid var(--c);pointer-events:none}
.vhtl-sc .h{position:absolute;top:0;bottom:0;width:7px;cursor:ew-resize}
.vhtl-sc .h.l{left:0}.vhtl-sc .h.r{right:0}
.vhtl-sc.sel .h{background:rgba(255,255,255,.35)}
.vhtl-ph{position:absolute;top:0;bottom:0;left:0;width:0;pointer-events:none;z-index:6}
.vhtl-ph i{position:absolute;left:-1px;top:0;bottom:0;width:2px;background:var(--sel)}
.vhtl-ph i::before{content:"";position:absolute;left:-5px;top:0;border:6px solid transparent;border-top-color:var(--sel);border-bottom:0}

/* Tastenübersicht */
.vhkeys{width:100%;border-collapse:collapse;font-size:13px}
.vhkeys td{padding:6px 0;border-bottom:1px solid var(--line);vertical-align:top}
.vhkeys td:first-child{white-space:nowrap;padding-right:18px;width:1%}
.vhkeys kbd{margin-right:3px}
.vhhelp h4{margin:18px 0 8px;font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-3)}
.vhkeys-own{display:flex;flex-wrap:wrap;gap:6px 14px}
.vhkeys-own span{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;border-left:3px solid var(--c);padding-left:6px}
.vhkeys-own span.it{border-left-color:var(--line-2)}
.vhhelp .dlgb{max-height:calc(100vh - 32px);overflow:auto}
@media (max-width:600px){.vhkeys,.vhkeys tbody,.vhkeys tr,.vhkeys td,.vhkeys th{display:block;width:auto}.vhkeys td:first-child{white-space:normal;padding:8px 0 0;border-bottom:0;width:auto}.vhkeys td:last-child:not(:first-child){padding:2px 0 8px}.vhkeys-h th{display:block}}

/* Handy: das Video oben, darunter die Tasten, die Szenen in einer Schublade */
.vhw.phone .vhw-bar{flex-wrap:wrap;padding:0 4px;gap:0}
.vhw.phone .vhw-title{order:1;flex:1}
.vhw.phone .vhw-tools{order:2}
.vhw.phone .vhw-views{order:3;width:100%;border-top:1px solid var(--line)}
.vhw.phone .vhw-views button{flex:1;padding:0;min-height:38px}
.vhw.phone .vhw-sync{font-size:0;gap:0;margin-right:4px}
.vhw.phone .vhw-sync svg{width:18px;height:18px}
.vhw.phone [data-help],.vhw.phone [data-full]{display:none}
.vhw.phone .vhw-body{display:flex;flex-direction:column}
.vhw.phone .vhw-main{flex:1;min-height:0}
.vhw.phone .vhw-side,.vhw.phone .vhw-bottom{display:none}
.vhw.phone .vhs{flex:none;aspect-ratio:var(--vhar,16/9);max-height:36vh;width:100%}   /* --vhar: das echte Seitenverhältnis (workspace.js: fitSide) */
.vhw.phone .vht{padding:0 6px 2px}
.vhw.phone .vht-time{min-width:0;font-size:11.5px;flex:none;align-self:stretch;display:flex;align-items:center;padding-right:8px;border-top:1px solid var(--line);padding-top:2px}
.vhw.phone .vht-time i,.vhw.phone .vht-time span{display:none}
.vhw.phone .vht-opt{order:3;min-width:0;flex:1;justify-content:space-between;border-top:1px solid var(--line);padding-top:2px}
.vhw.phone .vht-opt button{height:40px;min-width:44px}
.vhw.phone .vhw-ptabs{display:flex;flex:none;overflow-x:auto;scrollbar-width:none;border-bottom:1px solid var(--line);background:var(--sunk)}
.vhw.phone .vhw-ptabs button{min-height:42px}
.vhw.phone .vhw-pbody{display:flex;flex:1;min-height:0;flex-direction:column;background:var(--sunk)}
.vhw.phone .vhw-pbody>.vhp{flex:1}
.vhw.phone .vhp-h{display:none}
.vhw.phone .vhp:has(.vhp-r:not(:empty))>.vhp-h{display:flex;border-bottom:0}
.vhw.phone .vhp:has(.vhp-r:not(:empty))>.vhp-h h2{display:none}
.vhw.phone .vhp:has(.vhp-r:not(:empty))>.vhp-h .vhp-r{flex:1;justify-content:flex-end}
.vhw.phone .vhp-pop{display:none}
.vhw.phone .vhp-b{padding:10px}
.vhw.phone .vhcats{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.vhw.phone .vhcat{min-height:56px}
.vhw.phone .vhcat .vhcn{white-space:normal;line-height:1.15;font-size:12.5px;padding-right:0}
.vhw.phone .vhcat kbd{display:none}
.vhw.phone .vhchips button{min-height:40px}
.vhw.phone .vhchips.pl{grid-template-columns:repeat(3,minmax(0,1fr))}
.vhw.phone .vhtl-labels{width:84px}
.vhw-drawerbtn{display:none}
.vhw.phone .vhw-drawerbtn{display:flex;position:fixed;right:10px;bottom:10px;z-index:4;align-items:center;gap:8px;height:46px;padding:0 16px;background:var(--ink);color:var(--on-ink);font-weight:700;font-size:13px;box-shadow:0 4px 14px var(--shadow)}
.vhw.phone .vhw-drawerbtn[hidden]{display:none}
.vhw.phone .vhw-drawerbtn svg{width:18px;height:18px}
.vhw-drawer{display:none}
.vhw.phone .vhw-drawer{display:flex;position:fixed;left:0;right:0;bottom:0;height:64vh;z-index:5;flex-direction:column;background:var(--sunk);border-top:1px solid var(--line-2);box-shadow:0 -10px 30px var(--shadow);transform:translateY(0)}
.vhw.phone .vhw-drawer[hidden]{display:none}
.vhw.phone .vhw-drawer .vhp-h{display:flex}
.vhw.phone .vhw-drawer .vhp{flex:1}
.vhw.phone .vhs-row{min-height:52px}
.vhw.phone .vhs-row .vhic{opacity:1}
@media (min-width:761px) and (max-width:1100px){
  .vhw-body{grid-template-columns:minmax(0,1fr) 320px}
  .vhw-views button{padding:0 11px}
  .vhw-sync{display:none}
}
@media (max-height:620px) and (min-width:761px){
  .vhw-bottom{height:150px}
  .vht-row{min-height:34px}
}
@media (prefers-reduced-motion:reduce){.vhrec,.vhs-wrap.wait::after{animation:none}}

/* Druck: nur die Auswertung (analysis.js legt .vhprint an) */
.vhprint{display:none}
@media print{
  body.vh-printing>*:not(.vhprint){display:none!important}
  body.vh-printing .vhprint{display:block;color:#000;background:#fff;font-size:11pt;padding:0}
  body.vh-printing{background:#fff;overflow:visible}
}
.vhm .b svg,.vhw .b svg,.vhd .b svg{width:16px;height:16px;flex:none}
.vhit .vhk{flex:none}
.vht{container-type:inline-size}
/* eine Zeile (Zeit, alle Sprünge, Optionen): Rückwärts und Schleife haben dort keinen Platz (Umschalt+J bleibt) */
.vht-opt [data-t="rev"],.vht-opt [data-t="loop"]{display:none}
/* knapper: weiter eine Zeile, mit schmaleren Knöpfen und nur der aktuellen Stelle */
@container (max-width:730px){
  .vht-time i,.vht-time span{display:none}
  .vht-opt button{min-width:30px}
  .vht-btns button{width:34px}.vht-btns .vht-play{width:42px;margin:0 3px}
}
/* erst zu schmal auch dafür (Handy): die Sprünge bekommen eine eigene Zeile, alle, mittig; die Zeile darunter hat Platz für Rückwärts und Schleife */
@container (max-width:650px){
  .vht-opt [data-t="rev"],.vht-opt [data-t="loop"]{display:inline-flex}
  .vht-row{display:flex;flex-wrap:wrap;min-height:0;column-gap:0}
  .vht-btns{order:1;flex:1 1 100%;min-width:0;margin:0;gap:0;justify-content:center}
  .vht-btns button{width:auto;flex:1 1 0;min-width:0;max-width:46px;height:46px}
  .vht-btns .vht-play{width:auto;flex:1.3 1 0;max-width:56px;margin:0 3px}
  .vht-time{order:2}.vht-opt{order:3;flex:1;min-width:0;justify-content:flex-end}
}

/* Videohub: Teilen */
.vhprog{height:6px;background:var(--sunk-2);margin:6px 0 10px;overflow:hidden}
.vhprog i{display:block;height:100%;background:var(--id);transition:width .4s}
.vhprog.bad i{background:var(--bad)}
.vhd [data-st]{font-size:13.5px;color:var(--ink);margin:0 0 4px}
.vhd .field em{font-style:normal;float:right;text-transform:none;letter-spacing:0;color:var(--ink-3)}
.vhd textarea.in{min-height:72px}
.vhmine{list-style:none;margin:12px 0 0;padding:0;border-top:1px solid var(--line)}
.vhmine li{border-bottom:1px solid var(--line)}
/* the card: the picture beside the title; who, when and the note below over the whole width */
.vhmc{display:grid;grid-template-columns:96px minmax(0,1fr);column-gap:14px;row-gap:3px;align-items:center;width:100%;padding:12px 2px;text-align:left}
.vhmc:hover{background:var(--sunk)}
.vhmc.new{box-shadow:inset 3px 0 0 var(--id);padding-left:12px}
.vhmc-p{width:96px;aspect-ratio:16/9;background:var(--sunk-2);display:grid;place-items:center;color:var(--ink-3);overflow:hidden}
.vhmc-p img{width:100%;height:100%;object-fit:cover;display:block}
.vhmc-p svg{width:26px;height:26px}
.vhmc-t{display:contents}
.vhmc-t b{font-size:14.5px;font-weight:600;grid-column:2;grid-row:1}
.vhmc-t i,.vhmc-n,.vhmc-e{grid-column:1/-1}
.vhmc-t i{margin-top:5px}
/* Zurückziehen: small, at the end of the card's last line — that line leaves it room */
.vhmine li.out{position:relative}
.vhmc-w{position:absolute;right:2px;bottom:18px;line-height:1.3;padding:0;font-size:12.5px;font-weight:500;color:var(--ink-3)}
.vhmine li.out .vhmc-t>:last-child{padding-right:104px}
.vhnew{font-style:normal;font-size:10px;letter-spacing:.08em;text-transform:uppercase;margin-left:8px;padding:1px 6px;background:var(--id-bg-2);color:var(--id);vertical-align:2px}
.vhmc-t i{font-style:normal;font-size:12.5px;color:var(--ink-3)}
.vhmc-n{font-size:13px;color:var(--ink-2);margin-top:3px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.vhmc-e{font-size:12px;color:var(--bad)}
.vhw.viewer{z-index:55}
.vhw.viewer .vhw-title{flex:1}
.vhv-body{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 340px}
.vhv-main{display:flex;flex-direction:column;min-height:0;min-width:0}
.vhv-list{list-style:none;margin:0;padding:0;overflow:auto;border-left:1px solid var(--line);background:var(--sunk)}
.vhv-list li{display:flex;gap:10px;align-items:center;padding:10px 12px;border-bottom:1px solid var(--line);cursor:pointer;min-height:52px}
.vhv-list li:hover{background:var(--sunk-2)}
.vhv-list li.on{background:var(--sunk-2);box-shadow:inset 3px 0 0 var(--sel)}
.vhv-list .vhv-note{cursor:default;font-size:13.5px;line-height:1.45;color:var(--ink-2);border-left:3px solid var(--line-2);background:transparent}
.vhv-list .vhv-note:hover{background:transparent}
.vhv-list .vhv-t{flex-direction:column;align-items:flex-start;gap:0;color:var(--ink-2)}
.vhv-list .vhv-t i{font-style:normal;font-size:12px;color:var(--ink-3)}
.vhv-tm{font-size:12px;color:var(--ink-3);min-width:3em}
.vhv-m{flex:1;min-width:0;display:flex;flex-direction:column}
.vhv-m b{font-size:13.5px}.vhv-m i{font-style:normal;font-size:12px;color:var(--ink-3)}
.vhv-sl{font-size:11px;color:var(--ink-3);border:1px solid var(--line-2);padding:1px 5px}
@media (max-width:760px){
  .vhv-body{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}
  .vhv-list{border-left:0;border-top:1px solid var(--line)}
  .vhw.viewer .vhs{flex:none;aspect-ratio:var(--vhar,16/9);max-height:36vh;width:100%}
  .vhw.viewer .vht-opt{order:2;width:100%;min-width:0;justify-content:space-between}.vhw.viewer .vht-time{order:0;min-width:0}
  .vhw.viewer .vhw-tools .b{min-height:40px}
  .vhmc-p{width:80px}
  .vhmc{grid-template-columns:80px minmax(0,1fr)}
  .vhv-list li{min-height:56px}
}

/* Videohub: Auswerten */
.sq{display:inline-block;width:9px;height:9px;flex:none;margin-right:7px;vertical-align:baseline}
.anf-top{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:10px}
.anf-saved{display:flex;align-items:center;gap:2px;flex:1;min-width:190px}
.anf-saved > .pp.ch{flex:1;min-width:0}
.anf-saved > .pp.ch .pickbtn{min-height:32px;padding:3px 8px}
.anf-text{margin:0 0 4px;padding:7px 10px;background:var(--sunk-2);border-left:3px solid var(--sel);font-size:12px;color:var(--ink-2);line-height:1.45}
.anf-text b{color:var(--ink)}
.anfc button{padding:0 10px}
.anfc button .sq{margin-right:0}
.anfc button .anfn{font-style:normal;font-size:11px;font-variant-numeric:tabular-nums;color:var(--ink-3);margin-left:6px}
.anfc button.zero{color:var(--ink-3);border-style:dashed;background:repeating-linear-gradient(135deg,var(--sunk) 0 4px,transparent 4px 8px)}
.anfc button.anf-more{border-style:dashed;color:var(--ink-2);background:transparent}
.anfc button.not{background:transparent;border-color:var(--bad);color:var(--bad);text-decoration:line-through;text-decoration-thickness:1px}
.ans-tot{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border:1px solid var(--line)}
.ans-tot div{background:var(--bg);padding:10px 12px}
.ans-tot b{display:block;font-size:20px;font-weight:700;letter-spacing:-.01em}
.ans-tot span{font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-3)}
.ans{width:100%;border-collapse:collapse;font-size:12.5px}
.ans td{padding:5px 4px;border-bottom:1px solid var(--line);vertical-align:middle}
.ans td.l{white-space:nowrap;max-width:9em;overflow:hidden;text-overflow:ellipsis}
.ans td.n{text-align:right;width:1%;white-space:nowrap}
.ans td.d{color:var(--ink-3)}
.anb{display:block;height:8px;background:var(--sunk-2);min-width:50px}
.anb i{display:block;height:100%;background:var(--ink-3)}
.anm-l{display:inline-flex;align-items:center;gap:6px;font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-3)}
.anm-l .pp.ch{min-width:0;max-width:9.5em;text-transform:none;letter-spacing:0}
.anm-l .pp.ch .pickbtn{min-height:28px;padding:2px 6px}
.anm-l .pp.ch:has(> .picker:not([hidden])){max-width:none;min-width:12rem}
.anm-wrap{overflow:auto;max-width:100%}
.anm{border-collapse:separate;border-spacing:2px;font-size:12px}
.anm th{font-weight:600;color:var(--ink-2);text-align:left;white-space:nowrap;padding:3px 6px}
.anm thead th{vertical-align:bottom;text-align:center;padding:2px 0}
.anm thead th span{display:block;writing-mode:vertical-rl;transform:rotate(180deg);max-height:9em;overflow:hidden;text-overflow:ellipsis;margin:0 auto}
.anm td{padding:0;text-align:center;min-width:34px;height:28px}
.anm td.z{color:var(--line-2)}
.anm td.tot,.anm th.tot{color:var(--ink-3);font-weight:600;padding:0 6px}
.anm td button{display:block;width:100%;height:100%;min-height:28px;background:rgba(224,186,34,calc(.12 + var(--h)*.78));color:var(--ink);font-weight:700;font-size:12px}
.anm td button:hover{outline:2px solid var(--ink)}
.anm tr.tot td,.anm tr.tot th{border-top:1px solid var(--line)}
.anr-wrap{overflow:auto;max-width:100%;margin:-10px -12px;max-height:calc(100% + 20px)}
.anr{width:100%;border-collapse:collapse;font-size:12.5px}
.anr th{position:sticky;top:0;background:var(--sunk);z-index:1;text-align:left;font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-3);padding:7px 8px;white-space:nowrap;border-bottom:1px solid var(--line-2);cursor:pointer;user-select:none}
.anr th:hover{color:var(--ink)}
.anr th[aria-sort]{color:var(--ink)}
.anr th[aria-sort="ascending"]::after{content:" ↑"}.anr th[aria-sort="descending"]::after{content:" ↓"}
.anr th.a,.anr th.h{cursor:default}
.anr td{padding:5px 8px;border-bottom:1px solid var(--line);white-space:nowrap}
.anr td.n{color:var(--ink-2);text-align:right}
.anr td.cat{font-weight:600;box-shadow:inset 3px 0 0 var(--c)}
.anr td.nt{white-space:normal;min-width:10em;max-width:22em;color:var(--ink-2)}
.anr td.a,.anr td.h{width:1%;padding:0 2px}
.anr tbody tr{cursor:pointer}
.anr tbody tr:hover{background:var(--sunk-2)}
.anr tbody tr.sel{background:var(--sunk-2);box-shadow:inset 0 0 0 1px var(--sel)}
.anr tr.drag{opacity:.4}
.anr tr.over td{border-top:2px solid var(--sel)}
.anr td.h{white-space:nowrap;cursor:grab}
.anr td.h .vhic{min-width:24px;height:24px;display:inline-flex;vertical-align:middle}
.anr td.h .vhic svg{width:14px;height:14px}
.anh{color:var(--ink-3);letter-spacing:-2px;padding:0 4px}
.vhw.phone .anr td.h .anh{display:none}
.vhw.phone .anr-wrap{margin:-10px}

.vhprint .sq{width:10px;height:10px;margin-right:6px;print-color-adjust:exact;-webkit-print-color-adjust:exact}
.vhprint h1{font-size:20pt;margin:0 0 4pt}
.vhprint h2{font-size:12pt;margin:16pt 0 6pt;text-transform:uppercase;letter-spacing:.08em}
.vhprint .pm{margin:0;color:#444;font-size:10pt}
.vhprint .pt{width:100%;border-collapse:collapse;font-size:9.5pt}
.vhprint .pt th{text-align:left;border-bottom:1.5pt solid #000;padding:3pt 5pt}
.vhprint .pt td{border-bottom:.5pt solid #bbb;padding:3pt 5pt;vertical-align:top}
.vhprint tr{break-inside:avoid}
.vhprint thead{display:table-header-group}
@media print{@page{margin:14mm}}

/* Videohub: Präsentieren */
.vhpl-bar{display:flex;gap:6px;flex-wrap:wrap}
.vhpl-bar .b{min-height:36px;padding:0 11px;font-size:12px;flex:1 1 auto}
.vhpl-sum{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:12px 0 6px;font-size:11.5px;color:var(--ink-3)}
.vhpl-sum .b{min-height:30px;padding:0 10px;font-size:11.5px}
.vhpl{list-style:none;margin:0 -12px;padding:0;counter-reset:pl}
.vhpl-i{position:relative;display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:0 4px;padding:6px 4px 6px 0;border-bottom:1px solid var(--line);box-shadow:inset 3px 0 0 var(--c,var(--line-2));background:var(--bg)}
.vhpl-i.now{background:var(--sunk-2);box-shadow:inset 3px 0 0 var(--c,var(--sel)),inset 0 0 0 1px var(--sel)}
.vhpl-i.drag{background:var(--sunk-2);box-shadow:0 6px 18px var(--shadow);z-index:2}
.vhpl-i.title{--c:var(--ink-3);background:var(--sunk)}
.vhpl-i.gone{opacity:.6}
.vhpl-h{display:flex;align-items:center;justify-content:center;width:30px;height:100%;min-height:44px;color:var(--ink-3);cursor:grab;touch-action:none}
.vhpl-h svg{width:18px;height:18px}
.vhpl-h:hover{color:var(--ink)}
.vhpl-m{min-width:0;text-align:left;display:flex;flex-direction:column;gap:2px;padding:2px 0}
.vhpl-m b{font-size:13px;font-weight:600}
.vhpl-m i{font-style:normal;font-size:11.5px;color:var(--ink-3);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.vhpl-m.go:hover b{text-decoration:underline}
.vhpl-k{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-3);font-weight:700}
.vhpl-m .in{min-height:34px;width:100%}
.vhpl-x{display:flex}
.vhpl-x .vhic{min-width:28px;height:30px}
.vhpl-o{grid-column:2 / 4;display:flex;align-items:center;gap:8px;margin-top:2px;padding:0 6px 2px 0}
.vhpl-i.title .vhpl-o{grid-column:auto;margin-top:4px;padding:0}
.vhpl-o label{display:inline-flex;align-items:center;gap:5px;font-size:11.5px;color:var(--ink-3)}
.vhpl-o label svg{width:14px;height:14px}
.vhpl-o .pp.ch{min-width:0}
.vhpl-o .pp.ch .pickbtn{min-height:28px;height:28px;padding:0 6px}
.vhpl-d input{min-height:28px;height:28px;padding:0 6px;font-size:12px;background:var(--bg);color:var(--ink);border:1px solid var(--line-2)}
.vhpl-d{margin-left:auto}.vhpl-d input{width:58px}.vhpl-d em{font-style:normal;color:var(--ink-3)}
.vhpl-i.title .vhpl-o .in:first-child{flex:1;min-width:0}
.vhw.presenting .vhw-bar,.vhw.presenting .vhw-side,.vhw.presenting .vhw-bottom,.vhw.presenting .vht,.vhw.presenting .vhw-ptabs,.vhw.presenting .vhw-pbody,.vhw.presenting .vhw-drawerbtn,.vhw.presenting .vhw-drawer,.vhw.presenting .vhw-drawbar{display:none!important}
.vhw.presenting .vhw-body{display:block}
.vhw.presenting .vhw-main,.vhw.presenting .vhs{position:absolute;inset:0;max-height:none;aspect-ratio:auto;height:100%}
.vhpr{position:absolute;inset:0;z-index:20;pointer-events:none;opacity:0;transition:opacity .2s}
.vhpr.show{opacity:1}
.vhpr>*{pointer-events:auto}
.vhpr-top{position:absolute;left:0;right:0;top:0;display:flex;align-items:center;gap:8px;padding:10px 12px;background:linear-gradient(rgba(0,0,0,.7),transparent)}
.vhpr-t{flex:1;font-size:13px;font-weight:600;color:#fff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.vhpr .vhic{color:#fff;min-width:44px;height:44px}
.vhpr .vhic svg{width:22px;height:22px}
.vhpr-bar{position:absolute;left:0;right:0;bottom:0;display:flex;align-items:center;gap:6px;padding:18px 12px 14px;background:linear-gradient(transparent,rgba(0,0,0,.78))}
.vhpr-bar .play{background:#fff;color:#0E1013;min-width:56px;height:48px}
.vhpr-gap{flex:1}
.vhpr-bar .txt{font-size:12.5px;gap:7px;padding:0 12px}
.vhpr-bar .txt svg{width:18px;height:18px}
.vhpr .vhic[aria-pressed="true"]{color:var(--sel);background:rgba(255,255,255,.1)}
.vhpr-chap{position:absolute;left:12px;top:58px;bottom:84px;width:min(340px,calc(100% - 24px));overflow:auto;background:rgba(14,16,19,.94);border:1px solid var(--line-2)}
.vhpr-chap button{display:block;width:100%;text-align:left;padding:10px 14px;font-size:13px;color:var(--ink-2);border-bottom:1px solid var(--line)}
.vhpr-chap button.ch{font-weight:700;color:var(--ink);background:var(--sunk)}
.vhpr-chap button.now{color:var(--on-sel);background:var(--sel)}
.vhpr-end{position:absolute;inset:0;background:rgba(14,16,19,.88);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#fff;font-size:22px}
.vhpr-end[hidden],.vhpr-chap[hidden]{display:none}
.vhrc{display:flex;gap:18px;align-items:flex-start;flex-wrap:wrap}
.vhqr{width:184px;height:184px;flex:none;border:1px solid var(--line-2)}
.vhrc-r{flex:1 1 200px;min-width:0}
.vhrc-s{font-size:12.5px;color:var(--ink-3);margin:12px 0 0}.vhrc-s.ok{color:var(--ok)}.vhrc-s.bad{color:var(--bad)}
.vhw.remote{align-items:stretch}
.vhrp{flex:1;min-height:0;display:flex;flex-direction:column;padding:12px;gap:12px;overflow:hidden}
.vhrp-now{display:flex;flex-direction:column;gap:4px;padding:12px;background:var(--sunk);border:1px solid var(--line)}
.vhrp-now b{font-size:17px;line-height:1.25}
.vhrp-i{font-size:11px;letter-spacing:.1em;color:var(--ink-3);min-height:1em}
.vhrp-bar{height:4px;background:var(--line-2);margin-top:6px}.vhrp-bar i{display:block;height:100%;width:0;background:var(--sel)}
.vhrp-t{font-size:11.5px;color:var(--ink-3)}
.vhrp-pad{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.vhrp-b{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:74px;background:var(--sunk);border:1px solid var(--line-2);font-size:12px;font-weight:600;color:var(--ink-2)}
.vhrp-b svg{width:26px;height:26px}
.vhrp-b:active{background:var(--sunk-2)}
.vhrp-b.big{background:var(--ink);color:var(--on-ink);border-color:var(--ink);min-height:92px;order:0}
.vhrp-b.big svg{width:38px;height:38px}
.vhrp-b[aria-pressed="true"]{color:var(--on-sel);background:var(--sel);border-color:var(--sel)}
.vhrp-row{display:flex;align-items:center;gap:8px}
.vhrp-row b{min-width:3em;text-align:center}
.vhrp-s{flex:1;min-height:44px;border:1px solid var(--line-2);font-size:12.5px;font-weight:600;color:var(--ink-2);padding:0 8px}
.vhrp-list{flex:1;min-height:0;overflow:auto;border:1px solid var(--line);background:var(--sunk)}
.vhrp-list button{display:flex;gap:10px;align-items:center;width:100%;text-align:left;padding:0 12px;min-height:46px;border-bottom:1px solid var(--line);font-size:13.5px}
.vhrp-list button span{color:var(--ink-3);min-width:1.6em;font-size:12px}
.vhrp-list button.now{background:var(--sel);color:var(--on-sel);font-weight:700}
.vhrp-list button.now span{color:inherit}
.ans{table-layout:fixed}
.ans td.l{width:42%}
.ans td.n{width:3.4em}
.ans td.d{width:3.8em}
.vhp[data-p="ergebnisse"] .vhp-r,.vhp[data-p="matrix"] .vhp-r,.vhp[data-p="filter"] .vhp-r{flex-wrap:wrap;justify-content:flex-end}
.vhw.phone .vhp[data-p="ergebnisse"]>.vhp-h .vhp-r,.vhw.phone .vhp[data-p="matrix"]>.vhp-h .vhp-r{justify-content:flex-start;padding:2px 6px}
.vhw.phone .vhp[data-p="ergebnisse"] .vhp-h{padding-left:4px}
.vhmc{padding-left:12px}
.vhw.presenting .vhs-info{bottom:92px}
@media (max-width:560px){.vhpr-bar .txt{font-size:0;gap:0;padding:0}.vhpr-bar{gap:2px}}

/* --- Videohub: die Hilfeseite (help.js) --- */
.vhhelp-pg{max-width:46rem}
.vhhelp-intro{margin:10px 0 0;font-size:15px;line-height:1.55}
.vhhelp-pg .sec,.vhwk{scroll-margin-top:72px}
.vhpaths{display:grid;gap:10px;margin-top:10px}
.vhpath{border:1px solid var(--line-2);padding:11px 12px}.vhpath b{font-size:14.5px}
.vhpath p{margin:4px 0 0;font-size:13.5px;line-height:1.5;color:var(--ink-2)}
.vhjumps{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.vhjump{font:inherit;font-size:12.5px;color:var(--ink);background:var(--sunk);border:1px solid var(--line-2);padding:5px 9px;min-height:32px;cursor:pointer}
.vhjump:hover{border-color:var(--ink-3)}
.vhtoc{margin-top:16px}.vhtoc h4,.vhwk-p h4{margin:0;font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-3)}
.vhwk{border-bottom:1px solid var(--line)}
.vhwk summary{display:grid;grid-template-columns:30px 1fr auto;align-items:center;gap:10px;padding:12px 0;cursor:pointer;list-style:none}
.vhwk summary::-webkit-details-marker{display:none}
.vhwk summary b{font-size:14.5px}
.vhwk summary::after{content:"+";color:var(--ink-3);font-size:18px;line-height:1}.vhwk[open] summary::after{content:"−"}
.vhwk-n{width:24px;height:24px;display:grid;place-items:center;background:var(--ink);color:var(--on-ink);font-size:12px;font-weight:700}
.vhwk-b{padding:0 0 14px 40px}
.vhwk-p+.vhwk-p{margin-top:10px}
.vhwk-p p,.vhwk-l{margin:4px 0 0;font-size:13.5px;line-height:1.55;color:var(--ink-2)}
.vhwk-l{padding-left:18px}.vhwk-l li{padding:2px 0}
.vhwk-p.tip{border-left:3px solid var(--line-2);padding-left:10px}
.vhareas dt .vhjump{min-height:26px;padding:2px 7px;margin-left:6px;font-size:11.5px;font-weight:400;vertical-align:1px}
@media (max-width:600px){.vhwk-b{padding-left:0}}
/* Frag die Hilfe (help.js: askBox) — auf der Hilfeseite oben, im ?-Fenster über den Tasten */
.vhask{border:1px solid var(--line-2);background:var(--sunk);padding:12px 14px;margin:14px 0 4px}
.vhhelp .vhask{margin:0 0 6px}
.vhask-t{margin:0;font-size:15px}
.vhask-intro{margin:4px 0 0;font-size:13.5px;line-height:1.5;color:var(--ink-2)}
.vhask-log{margin-top:10px;display:grid;gap:8px}
.vhask-q{scroll-margin-top:76px;justify-self:end;max-width:85%;background:var(--ink);color:var(--on-ink);padding:7px 10px;font-size:13.5px;line-height:1.45;white-space:pre-wrap}
.vhask-a{background:var(--bg);border:1px solid var(--line);padding:9px 11px;font-size:13.5px;line-height:1.55}
.vhask-a p{margin:0}.vhask-a p+p,.vhask-a p+ol,.vhask-a p+ul,.vhask-a ol+p,.vhask-a ul+p{margin-top:8px}
.vhask-a ol,.vhask-a ul{margin:4px 0 0;padding-left:20px}.vhask-a li{padding:1px 0}
.vhask-a.busy{color:var(--ink-3);font-style:italic}
.vhask-a.err{border-color:var(--bad);color:var(--bad)}
.vhask-a.unk{border-left:3px solid var(--line-2)}
.vhask-unk{font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-3);margin-bottom:4px}
.vhask-refs{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:10px}.vhask-refs>span{font-size:12px;color:var(--ink-3)}
.vhask-refs .vhjump{text-align:left}
.vhask-refs .vhjump[aria-expanded="true"]{border-color:var(--ink);background:var(--bg)}
.vhask-sec{margin-top:8px;border-top:1px solid var(--line);padding-top:8px}
.vhask-sec h4{margin:0 0 4px;font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-3)}
.vhask-rate{display:flex;gap:14px;margin-top:8px;font-size:12.5px}
.vhask-f{display:flex;gap:8px;margin-top:10px}.vhask-f input{flex:1;min-width:0;font:inherit;font-size:15px;padding:8px 10px;border:1px solid var(--line-2);background:var(--bg);color:var(--ink)}
.vhask-n{margin:8px 0 0;font-size:11.5px;line-height:1.45;color:var(--ink-3)}
/* das Handbuch (help.js: bookPart) */
.vhb .sec{scroll-margin-top:72px}
.dlogt.hlans{white-space:pre-wrap}
.vhb-search{width:100%;font:inherit;font-size:15px;padding:9px 10px;border:1px solid var(--line-2);background:var(--bg);color:var(--ink);margin-top:10px}
.vhb-hits{min-height:1em;margin:6px 0 0}
.vhb-ch h3{margin:22px 0 2px;font-size:16px}
.vhb-intro{margin:0 0 6px;font-size:13.5px;line-height:1.5;color:var(--ink-2)}
.vhb-s{border-bottom:1px solid var(--line);scroll-margin-top:72px}
.vhb-s summary{padding:10px 0;cursor:pointer;font-size:14.5px;font-weight:600;list-style:none;display:flex;justify-content:space-between;gap:10px}
.vhb-s summary::-webkit-details-marker{display:none}
.vhb-s summary::after{content:"+";color:var(--ink-3);font-weight:400}.vhb-s[open] summary::after{content:"−"}
.vhb-b{padding:0 0 12px;font-size:13.5px;line-height:1.55;color:var(--ink-2)}
.vhb-b p{margin:6px 0 0}.vhb-b ol,.vhb-b ul{margin:6px 0 0;padding-left:20px}.vhb-b li{padding:2px 0}
.vhb-tip,.vhb-pr{border-left:3px solid var(--line-2);padding-left:10px}
.vhb-tip b,.vhb-pr b{color:var(--ink)}
.vhareas{margin:0}.vhareas>div{padding:11px 0;border-bottom:1px solid var(--line)}
.vhareas dt{font-weight:700;font-size:14px}.vhareas dd{margin:3px 0 0;font-size:13.5px;line-height:1.5;color:var(--ink-2)}
.vhhelp-pg .vhkeys{margin-top:6px}
.vhtips{margin:8px 0 0;padding-left:18px;font-size:13.5px;line-height:1.55;color:var(--ink-2)}.vhtips li{padding:2px 0}
.vhhelp-more{margin:16px 0 0;font-size:13px}.vhhelp-more a{text-decoration:underline}

/* Videohub auf mehreren Geräten (videohub/devices.js): der Knopf „Geräte“ oben, die Zeile eines Geräts ohne Video, die Karte an der
   Stelle des Videos, das Fenster „Auf anderem Gerät …“ und das ≈ an geschätzten Zeiten */
.vhw-dev{display:inline-flex;align-items:center;gap:5px;height:30px;padding:0 9px;margin-right:4px;border:1px solid var(--line-2);color:var(--ink-2);font-size:12px;font-weight:600;white-space:nowrap}
.vhw-dev svg{width:16px;height:16px}
.vhw-dev.on{color:var(--sel);border-color:var(--sel)}
.vhw-dev.bad{color:var(--wait);border-color:var(--wait)}
.vhw-devbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-height:40px;padding:5px 10px;border-bottom:1px solid var(--line);background:var(--sunk-2);flex:none;font-size:13px}
.vhw-devbar[hidden]{display:none}
/* abgeschlossen (workspace.js: paintLock) — wie der Kasten der Spielstatistik (.gsdone) */
.vhw-lockbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-height:40px;margin:6px 10px;padding:6px 10px;border:1px solid color-mix(in srgb,var(--ok) 45%,var(--line-2));border-radius:6px;background:color-mix(in srgb,var(--ok) 14%,var(--sunk));color:var(--ink);flex:none;font-size:13px}
.vhw-lockbar[hidden]{display:none}
.vhw-lockbar .bs{display:flex;gap:6px;margin:0 0 0 auto;padding:0;border:0}
.vhw-lockbar .b{min-height:32px}
.vhw-devbar.bad{background:var(--wait-bg);color:var(--wait)}
.vhw-devbar b{font-weight:700}
.vhw-devbar p,.vhw-devbar .vhs-cardi{display:none}
.vhw-devbar .bs{display:flex;gap:6px;margin:0 0 0 auto;padding:0;border:0}
.vhw-devbar .b{min-height:32px}
.vhdb-pl{display:none;align-items:center;gap:6px}
.vhw.boardonly .vhdb-pl{display:inline-flex}
.vhdb-t{font-variant-numeric:tabular-nums;color:var(--ink)}
/* breit und mit Video-Fläche sagt es die Karte dort; am Handy und bei „Nur Board“ die Zeile */
.vhw.vidaway:not(.phone):not(.boardonly) .vhw-devbar{display:none}
.vhw.phone.vidaway .vhs{display:none}
.vhs-away{background:#0E1013}
.vhs-card{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:20px;text-align:center;color:#E7EAED;font-size:14px}
.vhs-card b{font-size:16px}
.vhs-card p{margin:0;max-width:44ch;color:#AEB5BD;font-size:13px;line-height:1.45}
.vhs-card .warn{color:var(--wait)}
.vhs-card .bs{display:flex;gap:8px;margin-top:6px;padding:0;border:0;justify-content:center}
.vhs-cardi svg{width:40px;height:40px;opacity:.55}
.vhdev h4.vhdev-h{margin:16px 0 6px;font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:var(--ink-3)}
.vhdev-me{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:10px 0;border-bottom:1px solid var(--line)}
.vhdev-me>div{display:flex;align-items:baseline;gap:8px;flex:1;min-width:0}
.vhdev-me .lbl{font-size:12px;color:var(--ink-3)}
.vhdev-st{font-size:12px;font-weight:600}.vhdev-st.ok{color:var(--ok)}.vhdev-st.warn{color:var(--wait)}
.vhdev-l{list-style:none;margin:0;padding:0}
.vhdev-l li{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px 0;border-bottom:1px solid var(--line)}
.vhdev-n{flex:1;min-width:160px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.vhdev-n i{font-style:normal;font-size:12px;color:var(--ink-3)}.vhdev-n i.warn{color:var(--wait)}
.vhdev-tag{display:inline-flex;align-items:center;gap:4px;font-size:11.5px;font-weight:700;color:var(--sel)}.vhdev-tag svg{width:14px;height:14px}
.vhdev-gb{margin-top:10px}
.vhdev-ask,.vhdev-warn{margin:6px 0;padding:8px 10px;background:var(--wait-bg);color:var(--wait);font-size:13px}
.vhsc-est{font-style:normal;font-weight:700;color:var(--wait);cursor:help}.vhsc-est.ap{color:var(--bad)}

/* Videohub — Panel Spielbericht (videohub/report.js) */
.nl{padding:10px 12px;display:flex;flex-direction:column;gap:8px}
.nl h4{margin:8px 0 0;font-size:13px;text-transform:uppercase;letter-spacing:.04em;color:var(--ink-2)}
.nl-h{margin:0;font-weight:600}
.nl-sel{display:flex;gap:8px;align-items:center;justify-content:space-between;padding:8px 10px;border:1px solid var(--line);background:var(--sunk)}
.nl-ms,.nl-gaps{list-style:none;margin:0;padding:0}
.nl-m{display:flex;flex-wrap:wrap;gap:4px 8px;align-items:center;padding:6px 6px 6px 10px;border-bottom:1px solid var(--line)}
.nl-m.off b{color:var(--ink-2);font-weight:500}
.nl-g{font-variant-numeric:tabular-nums;color:var(--ink-2);min-width:42px}
.nl-r{margin-left:auto;display:flex;flex-wrap:wrap;gap:4px 6px;align-items:center}
.nl-l{font-size:12px;color:var(--ink-2)}
.nl-un{font-size:12px;color:var(--ink-2)}
.nl-gs{color:var(--wait)}
.nl-gaps li{padding:6px 10px;border-left:3px solid var(--wait);background:var(--sunk);margin-bottom:4px}
.nl-gaps li.over{border-left-color:var(--bad)}
.nl-gaps .tl{text-align:left;white-space:normal;overflow-wrap:anywhere;margin-left:0;display:block}
.nl-gaps li.pair .tl{display:inline-block;margin:4px 6px 0 0}
.nl-cand .tl{white-space:normal;overflow-wrap:anywhere;margin-left:0;text-align:left;min-width:0}
.nl-cand li > *{min-width:0}
.nl,.nl-gaps li{min-width:0;max-width:100%;box-sizing:border-box}
.nl-imp{display:flex;flex-direction:column;gap:6px}
.nl-k{display:flex;gap:8px;align-items:center;justify-content:space-between}
.nl-k span i{font-style:normal;color:var(--ink-2)}
.nl-k .pp.ch{max-width:55%;min-width:0}
.vhtl-ruler .vhtl-wh{position:absolute;bottom:0;width:1px;height:8px;background:var(--wait);opacity:.7;pointer-events:none}
.vhtl-ruler .vhtl-wh.l{width:2px;height:14px;opacity:1}
/* lange Stille ohne Schiri-Pfiff (data.js: vhQuiet): ein Band unten im Lineal, da sucht man Auszeiten */
.vhtl-ruler .vhtl-qt{position:absolute;bottom:0;height:7px;background:color-mix(in srgb,var(--wait) 35%,transparent);border-top:2px solid var(--wait);border-radius:2px 2px 0 0}
.vhtl-ruler .vhtl-hn{position:absolute;bottom:0;height:10px;background:var(--bad);opacity:.85;border-radius:2px 2px 0 0}
/* der Abgleich Quelle ↔ Sync (report.js: cmpHtml) */
.nl-cmp svg{display:block;width:100%;height:auto;margin:4px 0}
.nl-cmp line{stroke:var(--line);stroke-width:1}
.nl-cmp line.z{stroke:var(--ink-3)}
.nl-cmp line.t{stroke-dasharray:3 3}
.nl-cmp line.h{stroke:var(--line-2);stroke-dasharray:2 4}
.nl-cmp text{fill:var(--ink-3);font-size:10px}
.nl-cmp circle{fill:var(--ok);cursor:pointer}
.nl-cmp circle.far{fill:var(--wait)}
.nl-cand{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-direction:column;gap:2px}
.nl-cand li{display:flex;gap:6px;align-items:center;justify-content:space-between;font-size:13px;color:var(--ink-2)}
.nl-cand li.multi{color:var(--ink);font-weight:600}
.nl-dur{font-style:normal;font-size:12px;font-weight:600;font-variant-numeric:tabular-nums;color:var(--ink);padding:1px 6px;border:1px solid var(--line);border-radius:10px}
.nl-open{font-style:normal;font-size:12px;font-weight:600;color:var(--wait);padding:1px 6px;border:1px solid var(--wait);border-radius:10px}
.nl-gaps li.sel{background:var(--sunk-2);box-shadow:inset 0 0 0 1px var(--wait)}
.nl-m.hl{background:var(--sunk);box-shadow:inset 3px 0 0 var(--wait)}
.vhtl-sy{position:absolute;top:0;bottom:0;pointer-events:none;background:repeating-linear-gradient(135deg,color-mix(in srgb,var(--ink-3) 16%,transparent) 0 4px,transparent 4px 8px)}
.vhtl-sy.pt{width:0!important;background:none;border-left:2px solid var(--ok)}
.vhtl-sy.pt.open{border-left:2px dashed var(--wait)}
.vhtl-ruler .vhtl-sym{position:absolute;top:0;height:4px;background:var(--ink-3);opacity:.7}
.vhtl-ruler .vhtl-sym.pt{width:2px!important;height:24px;background:var(--ok);opacity:1;margin-left:-1px}
.vhtl-ruler .vhtl-sym.pt.open{background:var(--wait)}
.vhtl-ruler .vhtl-sym em{position:absolute;top:2px;left:4px;font:600 10px/1 inherit;font-style:normal;color:var(--ok);background:var(--bg);padding:1px 2px;white-space:nowrap}
.vhtl-gap{position:absolute;top:0;bottom:0;background:color-mix(in srgb,var(--wait) 14%,transparent);border-left:1px dashed var(--wait);border-right:1px dashed var(--wait);pointer-events:none}
/* DdW in Los Wochos: the sombrero at the date and at a Depp that counts double (over the games: woLine, as on the Kasse) */
.wot{display:block;color:var(--wait)}
/* Kader → a player: what each status and tick does (ui.sp.statusHelp) */
.sthelp{margin:6px 0 10px;font-size:13px}
.sthelp summary{cursor:pointer;color:var(--ink-2)}
.sthelp dl{margin:6px 0 0}
.sthelp dt{font-weight:600;margin-top:6px}
.sthelp dd{margin:2px 0 0;color:var(--ink-2)}

/* Handbuch: Was OanserHub kann — Kapitel zum Aufklappen, darin die Abschnitte; ausgeschaltete mit gestricheltem Rand */
.hbseg{margin:10px 0 6px;max-width:34rem}
.hbtour{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin:10px 0 14px;max-width:34rem}
.hbtour .note{flex:1 1 16rem;margin:0}
.hbc > summary{font-weight:600;color:var(--ink)}
.hbc > summary .tx{font-weight:400;margin-left:6px;color:var(--ink-3);font-size:11.5px}
.hbi{margin:0 0 6px}
.hbs{padding:10px 0 10px 11px;border-left:3px solid var(--line-2);margin:8px 0;max-width:46rem}
.hbs.off{border-left-style:dashed;color:var(--ink-2)}
.hbs.hbf{border-left-color:var(--wait);background:var(--wait-bg)}
.hbs h3{font-size:14px;font-weight:600;margin:0 0 4px}
.hbs p{margin:4px 0}
.hbs .hbw{font-size:12px;color:var(--ink-3)}
.hbs .hbk{font-size:12px;font-weight:600;margin-top:8px}
.hbs ol{margin:2px 0 0;padding-left:20px}
.hbs .note.info{margin-top:8px}
.hbs .hbshot{margin:10px 0 6px;max-width:340px}
.hbs .hbshot img{display:block;width:100%;height:auto;border:1px solid var(--line-2);border-radius:10px;box-shadow:0 1px 4px rgba(0,0,0,.08)}
.hbs .hbshot figcaption{font-size:12px;color:var(--ink-3);margin-top:4px}
.hbs.off .hbshot img{opacity:.85}
a.hbmore{font-size:12px;margin-left:8px;color:var(--ink-2);text-decoration:underline}
/* Regeln der Kasse: its control at the height of the name, not centred on the text; Mehr dazu on its own line */
.mrow.kr{align-items:flex-start}
.mrow.kr .l b .st{margin-left:6px;font-weight:600}
.mrow.kr .l a.hbmore{display:inline-block;margin:6px 0 0}
.mrow.kr .krj{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.mrow.kr > .pp.ch, .mset .mrow.sub > .pp.ch{width:8rem;min-width:0}       /* a factor: as wide as its choices, not half the row */
.mrow.kr > .pp.ch:has(#ofAmt){width:auto}
/* an open choice in a row goes onto its own line under what is beside it, full width — beside it, it crushed the text
   to a word per line. Any row: where its parent is no flexbox this changes nothing */
:has(> .pp.ch > .picker:not([hidden])){flex-wrap:wrap}
:is(*, .mrow.kr) > .pp.ch:has(> .picker:not([hidden])){flex:1 1 100%;width:100%;max-width:none}
/* KI-Spielbericht (app.js: vBericht): the draft as it reads, paragraphs kept */
.sbd{margin:8px 0}
.sbtext{font-size:14px;line-height:1.5}
.sbtext p{margin:0 0 .65em}
.sbh{font-size:13px;margin:14px 0 6px}
/* Zeitungsberichte (app.js: vZeitung) */
.ztr{margin:8px 0;padding:10px 12px}
.ztl{display:block;color:inherit;text-decoration:none}
.ztl.wi{display:flex;gap:10px;align-items:flex-start}
.zti{flex:none;width:96px;height:64px;object-fit:cover;border-radius:4px;background:var(--sunk)}
.ztl b{display:block;line-height:1.35}
.ztl .s{display:block;margin-top:3px;color:var(--ink-3);font-size:12px}
.zts{display:block;margin-top:6px;font-size:13px;line-height:1.45;color:var(--ink-2)}
.ztr .bs{margin-top:8px}
.ztcs{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0 8px}
.ztc{display:inline-flex;align-items:center;gap:4px;padding:3px 4px 3px 10px;border:1px solid var(--line);border-radius:999px;font-size:13px}
.ztc i{font-style:normal;opacity:.65;font-size:12px}
.ztx{border:0;background:none;color:inherit;font-size:16px;line-height:1;padding:2px 6px;cursor:pointer;min-width:28px;min-height:28px}
.ztadd{display:flex;gap:6px;align-items:center;margin-bottom:6px}
.ztadd .in{flex:1;min-width:0}
.field.sbfull{max-width:none}
.field.sbfull textarea.in{width:100%;resize:vertical;line-height:1.45}
.sbrules{margin-top:8px;padding:10px 12px;border:1px solid var(--line);background:var(--sunk);color:var(--ink-2);font-size:14px;line-height:1.5}
.sbrules p{margin:0 0 .5em}.sbrules p:last-child{margin:0}
.sbd.fin{border-color:var(--ok, #256B1B)}
.sbg{margin:8px 0}
.sbz{margin:6px 0;padding-left:18px;font-size:13.5px}.sbz li{margin:3px 0}
.sbgr{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:11px 2px;border:0;border-bottom:1px solid var(--line);background:none;font:inherit;color:inherit;text-align:left;cursor:pointer}
.sbgr.off{cursor:default;opacity:.65}
.sbgl{display:flex;flex-direction:column;gap:2px;min-width:0}
.sbset{margin-top:18px}
.ztim{display:flex;gap:14px;margin-top:6px;font-size:13px}
.ztim label{cursor:pointer}
.sbtips{margin:6px 0 12px}
.sbtips summary{cursor:pointer}
.sbtips p{margin:8px 0;font-size:13.5px;color:var(--ink-2)}
.sbtl{list-style:none;margin:6px 0;padding:0;font-size:13.5px;line-height:1.45}
.sbtl li{display:flex;gap:8px;margin:6px 0}
.sbtl li.ok{color:var(--ink-2)}
.sbtl li.ok span{color:var(--ok, #256B1B)}
