/* Taktikheft – Web-Version. Handy zuerst, Königsblau und Rasen. */
:root {
    --brand: #0A3FB5;        /* Königsblau; jeder kann seine Farbe wählen (js/theme.js), alles Weitere leitet sich davon ab */
    --goalie: #E8940A;
    --brand-bright: color-mix(in srgb, var(--brand) 88%, white);
    --brand-dark: color-mix(in srgb, var(--brand) 68%, black);
    --brand-night: color-mix(in srgb, var(--brand) 40%, #02050C);
    --brand-soft: color-mix(in srgb, var(--brand) 12%, white);
    --brand-pale: color-mix(in srgb, var(--brand) 25%, white);   /* Nebentext auf dunklem Grund */
    --surface: color-mix(in srgb, var(--brand) 6%, white);
    --line: color-mix(in srgb, var(--brand) 16%, white);
    --text: color-mix(in srgb, var(--brand) 18%, #0A0E18);
    --muted: color-mix(in srgb, var(--brand) 14%, #5E6575);
    --pitch: #2F6B2A;
    --primary: var(--brand);
    --danger: #DC2626;
    --accent: #F59E0B;
    --card: #FFFFFF;
    --grass: url("../img/rasen.jpg"); /* nahtlos kachelbar; --pitch ist die Farbe, bis das Bild da ist */
    --radius: 20px;
    /* Tiefe: Schatten in der eigenen Farbe, oben eine helle Kante (Licht von oben) */
    --shade: color-mix(in srgb, var(--brand-night) 34%, transparent);
    --shade-soft: color-mix(in srgb, var(--brand-night) 12%, transparent);
    --lift-1: 0 1px 2px var(--shade-soft), 0 3px 8px -3px var(--shade-soft);
    --lift-2: 0 1px 2px var(--shade-soft), 0 10px 26px -12px var(--shade), inset 0 1px 0 #fff;
    --lift-3: 0 2px 4px var(--shade-soft), 0 22px 44px -16px var(--shade), inset 0 1px 0 #fff;
    --hairline: 1px solid color-mix(in srgb, var(--brand) 11%, white);
    --bar: calc(58px + env(safe-area-inset-top));
    --chalk: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 100' preserveAspectRatio='none' fill='none' stroke='%23fff' stroke-width='1'%3E%3Cpath d='M4 4h152v92H4zM80 4v92M4 24h20v52H4M156 24h-20v52h20M4 38h8v24H4M156 38h-8v24h8'/%3E%3Cellipse cx='80' cy='50' rx='15' ry='15'/%3E%3C/svg%3E");
    color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--surface); }
body {
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    -webkit-tap-highlight-color: transparent;
}
/* Ruhiger Verlauf hinter allem; steht beim Scrollen still */
body::before {
    content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(130% 60% at 100% 110%, color-mix(in srgb, var(--pitch) 15%, transparent), transparent),
        radial-gradient(130% 70% at 0% 20%, color-mix(in srgb, var(--brand) 15%, transparent), transparent),
        var(--surface);
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0 0 8px; line-height: 1.2; letter-spacing: -.015em; }
h2 { font-size: 22px; }
h3 { font-size: 18px; }
p { margin: 6px 0; }
.icon { flex: none; }

/* ---------- Gerüst ---------- */
.topbar {
    position: sticky; top: 0; z-index: 20; height: var(--bar);
    display: flex; align-items: center; gap: 10px;
    padding: env(safe-area-inset-top) 14px 0 16px;
    background: linear-gradient(color-mix(in srgb, var(--brand-night) 94%, transparent), color-mix(in srgb, var(--brand-night) 84%, transparent));
    -webkit-backdrop-filter: blur(14px) saturate(1.5); backdrop-filter: blur(14px) saturate(1.5);
    border-bottom: 1px solid rgba(255,255,255,.14);
    color: #fff; box-shadow: 0 8px 24px -10px rgba(0,0,0,.5);
}
.topbar .brand { font-weight: 800; font-size: 18px; letter-spacing: -.02em; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar .brand img { vertical-align: -8px; border-radius: 9px; margin-right: 6px; box-shadow: 0 2px 8px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.25); }
.topbar .round {
    position: relative; flex: none; width: 40px; height: 40px; padding: 0; border: 1px solid rgba(255,255,255,.18); border-radius: 50%;
    background: rgba(255,255,255,.12); color: #fff; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; display: grid; place-items: center;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.22);
}
.topbar .round[aria-expanded=true] { background: rgba(255,255,255,.3); }
.topbar .account { background: linear-gradient(160deg, var(--brand-bright), var(--brand-dark)); border-color: rgba(255,255,255,.55); }
.page { max-width: 720px; margin: 0 auto; padding: 0 16px calc(32px + env(safe-area-inset-bottom)); }

/* Kopf: Flutlicht über einem Spielfeld, das nach hinten wegläuft. Liegt unter der Kopfleiste. */
.hero {
    position: relative; overflow: hidden; isolation: isolate;
    margin: calc(-1 * var(--bar)) -16px 0; padding: calc(var(--bar) + 26px) 20px 66px;
    background: linear-gradient(165deg, var(--brand-night) 5%, var(--brand-dark) 55%, var(--brand));
    color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.55);
    border-radius: 0 0 30px 30px;
    box-shadow: 0 16px 34px -18px var(--shade), inset 0 -1px 0 rgba(255,255,255,.2);
}
.hero::before {
    content: ""; position: absolute; z-index: -2; left: -34%; right: -34%; bottom: -34px; height: 430px;
    transform: perspective(700px) rotateX(60deg); transform-origin: 50% 100%;
    background:
        var(--chalk) center / 100% 100% no-repeat,
        repeating-linear-gradient(90deg, rgba(0,20,4,.3) 0 6.25%, rgba(200,255,170,.1) 6.25% 12.5%),
        var(--grass) 0 0 / 190px, var(--pitch);
    -webkit-mask: linear-gradient(transparent 4%, #000 70%); mask: linear-gradient(transparent 4%, #000 70%);
}
.hero::after {
    content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
    background:
        radial-gradient(38% 80% at 92% -6%, rgba(255,255,255,.5), transparent 72%),
        radial-gradient(26% 62% at 4% -8%, rgba(255,255,255,.22), transparent 72%),
        linear-gradient(96deg, color-mix(in srgb, var(--brand-night) 88%, transparent) 8%, color-mix(in srgb, var(--brand-dark) 55%, transparent) 48%, transparent 92%);
}
.hero > * { position: relative; z-index: 1; }
.hero h1 { font-size: 29px; font-weight: 800; letter-spacing: -.025em; margin: 0; }
.hero p { color: color-mix(in srgb, var(--brand-pale) 55%, white); font-size: 14px; }
.hero.home p { font-size: 15px; margin: 0 0 2px; }
.hero:not(.slim) + :is(.card, .team-card, .group-bar) { margin-top: -30px; }
.hero:not(.slim) + .tabs + :is(.card, .team-card, .group-bar) { margin-top: -30px; }
.hero ~ p.muted.center { margin-top: 24px; }
.hero.slim { padding: calc(var(--bar) + 9px) 92px 10px 16px; margin-bottom: 14px; border-radius: 0 0 22px 22px; }
.hero.slim h1 { font-size: 20px; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero.slim h1 a { font-size: 28px; line-height: 1; vertical-align: -2px; padding: 2px 14px 2px 2px; }
.hero.slim p { margin: 0 0 0 26px; }
.hero.slim:has(+ .board) { margin-bottom: 0; border-radius: 0; }
.hero .sub { display: flex; align-items: center; gap: 16px; }
.hero-btn { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(6,20,60,.45); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.25); }
.hero-btn:active { background: rgba(6,20,60,.75); }

.card {
    position: relative; background: linear-gradient(#fff, color-mix(in srgb, var(--brand) 1.5%, white));
    border-radius: var(--radius); border: var(--hairline);
    padding: 18px; margin: 0 0 14px; box-shadow: var(--lift-2);
}
.card.raised { box-shadow: var(--lift-3); }
form.card > label:first-child { margin-top: 0; }
.card.danger-zone { border-color: color-mix(in srgb, var(--danger) 35%, white); }
.card.danger-zone h3 { color: var(--danger); }
@media (prefers-reduced-motion: no-preference) {
    .page > :is(.card, .team-card) { animation: rise .32s cubic-bezier(.2,.8,.3,1) backwards; }
    .page > :is(.card, .team-card):nth-of-type(n+3) { animation-delay: .05s; }
    .page > :is(.card, .team-card):nth-of-type(n+4) { animation-delay: .1s; }
    @keyframes rise { from { opacity: 0; transform: translateY(14px); } }
}

/* Wappen und Trikots: Form steckt in ::before, damit der Schatten ihr folgt */
.crest, .avatar.shirt { position: relative; flex: none; display: grid; place-items: center; color: #fff; font-weight: 800; background: none; border-radius: 0; text-shadow: 0 1px 2px rgba(0,0,0,.45); }
.crest { width: 60px; height: 68px; font-size: 19px; letter-spacing: -.02em; padding-bottom: 4px; filter: drop-shadow(0 1px 1px rgba(0,0,0,.3)) drop-shadow(0 8px 10px var(--shade)); }
.crest::before, .crest::after { content: ""; position: absolute; inset: 0; z-index: -1; clip-path: path("M30 0C38 5 48 7 58 7C60 34 56 56 30 68C4 56 0 34 2 7C12 7 22 5 30 0Z"); }
.crest::before { background: linear-gradient(160deg, #fff, color-mix(in srgb, var(--brand) 35%, white)); }
.crest::after { transform: scale(.88); background: linear-gradient(118deg, rgba(255,255,255,.34) 0 49%, transparent 50%), linear-gradient(160deg, var(--brand-bright), var(--brand-night)); }
.avatar.shirt { box-shadow: none; width: 44px; height: 42px; font-size: 15px; padding-top: 5px; filter: drop-shadow(0 1px 1px rgba(0,0,0,.28)) drop-shadow(0 4px 5px var(--shade)); }
.avatar.shirt::before { content: ""; position: absolute; inset: 0; z-index: -1; clip-path: path("M14 1L2 8L6 19L11 17V41H33V17L38 19L42 8L30 1C28 6 16 6 14 1Z"); background: linear-gradient(90deg, rgba(0,0,0,.22), transparent 26% 74%, rgba(0,0,0,.22)), linear-gradient(var(--brand-bright), var(--brand-dark)); }

.team-card {
    position: relative; overflow: hidden; display: flex; align-items: center; gap: 16px; min-height: 108px;
    padding: 18px 14px 18px 18px; margin: 0 0 14px; border-radius: 24px; border: var(--hairline);
    background: linear-gradient(100deg, #fff 40%, color-mix(in srgb, var(--brand) 7%, white)); box-shadow: var(--lift-3);
    transition: transform .15s, box-shadow .15s;
}
.team-card::before { content: ""; position: absolute; right: -70px; top: 50%; width: 190px; height: 128px; margin-top: -64px; background: var(--brand); opacity: .11; -webkit-mask: var(--chalk) center / 100% 100% no-repeat; mask: var(--chalk) center / 100% 100% no-repeat; }
.team-card > * { position: relative; }
.team-card strong { display: block; font-size: 19px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; overflow-wrap: anywhere; }
.team-card small { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
/* Die ganze Karte öffnet die Mannschaft, die drei Punkte öffnen „Verwalten“ */
.team-card > .cover { position: static; }
.team-card > .cover::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.team-card > .more { z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; margin: -6px -6px -6px -8px; border-radius: 50%; color: var(--brand); }
.team-card > .more:hover, .team-card > .more:active { background: var(--brand-soft); }
.team-card:active { transform: scale(.985); box-shadow: var(--lift-1); }
@media (hover: hover) { .team-card:hover { transform: translateY(-2px); } }
.team-card.skeleton { background: linear-gradient(100deg, #fff 30%, var(--line) 50%, #fff 70%) 0 0 / 300% 100%; animation: shimmer 1.4s linear infinite; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 700; background: var(--brand); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.25); }
.pill.soft { background: var(--brand-soft); color: var(--brand-dark); font-weight: 600; box-shadow: none; }
.empty { text-align: center; }
.empty .crest, .invite .crest { margin: 6px auto 12px; }
.invite { text-align: center; }
.code-input { text-align: center; font-size: 22px !important; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.code-input::placeholder { font-weight: 400; opacity: .35; }

/* Konto-Menü */
.menu-back { position: fixed; inset: 0; z-index: 18; }
.menu {
    position: fixed; z-index: 19; top: calc(var(--bar) + 8px); right: max(10px, calc(50vw - 350px)); width: min(310px, calc(100vw - 20px));
    padding: 8px; border-radius: 22px; background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    border: var(--hairline); box-shadow: 0 2px 6px var(--shade-soft), 0 30px 60px -14px rgba(0,0,0,.5); transform-origin: 100% 0; animation: menu-in .16s ease-out;
}
@keyframes menu-in { from { opacity: 0; transform: scale(.94) translateY(-6px); } }
.menu-head { display: flex; align-items: center; gap: 12px; padding: 10px 10px 12px; }
.menu-head strong, .menu-head small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu-head small { color: var(--muted); font-size: 13px; }
.menu > a, .menu > button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 8px 12px; border: 0; border-radius: 14px; background: none; font: inherit; font-weight: 600; color: var(--text); text-align: left; cursor: pointer; }
.menu > a .icon, .menu > button .icon { color: var(--brand); }
.menu > a:hover, .menu > button:hover, .menu > a:active, .menu > button:active { background: var(--brand-soft); }
.menu hr { border: 0; border-top: 1px solid var(--line); margin: 6px 10px; }
.color-dot { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(145deg, var(--brand-bright), var(--brand-dark)); box-shadow: 0 2px 5px var(--shade), inset 0 1px 0 rgba(255,255,255,.4); }

.boot { display: flex; flex-direction: column; align-items: center; gap: 12px; min-height: 100vh; padding-top: 30vh; color: #fff; background: linear-gradient(100deg, var(--brand) 0%, color-mix(in srgb, var(--brand) 90%, transparent) 52%, transparent 96%), repeating-linear-gradient(100deg, rgba(0,0,0,.16) 0 56px, rgba(255,255,255,.05) 56px 112px), var(--grass) 0 0 / 240px, var(--pitch); }
.boot-ball { font-size: 48px; animation: spin 1.2s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Formulare ---------- */
label { display: block; font-size: 13px; color: var(--muted); margin: 12px 0 4px; }
label.check { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
input, select, textarea {
    width: 100%; font: inherit; font-size: 16px; /* 16px: iPhone zoomt sonst beim Antippen */
    padding: 11px 13px; border: 1px solid var(--line); border-radius: 13px; background: color-mix(in srgb, var(--brand) 2%, white); color: var(--text);
    box-shadow: inset 0 2px 4px color-mix(in srgb, var(--brand-night) 7%, transparent);
}
input[type=checkbox] { width: auto; accent-color: var(--brand); }
textarea { min-height: 90px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--primary); outline-offset: -1px; background: #fff; box-shadow: 0 0 0 5px color-mix(in srgb, var(--brand) 14%, transparent); }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    font: inherit; font-size: 15px; font-weight: 600;
    padding: 10px 16px; min-height: 46px; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--brand) 14%, white); cursor: pointer;
    background: linear-gradient(#fff, var(--brand-soft)); color: var(--brand-dark); box-shadow: var(--lift-1), inset 0 1px 0 #fff;
    transition: transform .1s, box-shadow .1s;
}
.btn:not(:disabled):active { transform: translateY(1px) scale(.985); box-shadow: none; }
.btn.primary, .btn.blue { background: linear-gradient(var(--brand-bright), var(--brand) 55%, color-mix(in srgb, var(--brand) 86%, black)); border-color: var(--brand-dark); color: #fff; box-shadow: 0 1px 2px var(--shade-soft), 0 8px 18px -6px color-mix(in srgb, var(--brand) 60%, transparent), inset 0 1px 0 rgba(255,255,255,.35); }
.btn.danger { background: #fff; color: var(--danger); border: 1px solid color-mix(in srgb, var(--danger) 45%, white); }
.btn.ghost { background: transparent; border-color: transparent; box-shadow: none; color: var(--brand); }
.btn.small { min-height: 38px; padding: 7px 12px; font-size: 14px; border-radius: 12px; }
.btn.wide { width: 100%; margin-top: 16px; }
.btn:disabled { opacity: .5; cursor: default; box-shadow: none; }
.link-btn { display: block; width: 100%; background: none; border: 0; font: inherit; color: var(--primary); padding: 12px; cursor: pointer; }
.link-btn.muted { color: var(--muted); font-size: 14px; }
.link-btn.light { display: inline; width: auto; color: #fff; padding: 4px 0 4px 8px; font-size: 14px; }

.row { display: flex; gap: 8px; align-items: center; }
.row.wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.row.wrap .grow { min-width: 180px; }
.row select { width: auto; }

.error { color: var(--danger); white-space: pre-line; font-size: 14px; }
.card.error { border-left: 4px solid var(--danger); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.hint { font-size: 12px; color: var(--muted); }
.center { text-align: center; }

/* ---------- Listen ---------- */
.list-row { display: flex; align-items: center; gap: 14px; }
.list-row strong { display: block; font-size: 17px; }
.list-row small { display: block; overflow-wrap: anywhere; color: var(--muted); font-size: 13px; margin-top: 2px; }
.avatar {
    flex: none; width: 48px; height: 48px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(145deg, var(--brand-bright), var(--brand-dark)); color: #fff; font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,.4); box-shadow: 0 4px 10px -3px var(--shade), inset 0 1px 0 rgba(255,255,255,.35);
}

.avatar.small { width: 40px; height: 40px; font-size: 15px; }
.avatar.field { border-radius: 10px; width: 38px; height: 50px; border: 2px solid #fff; background: var(--chalk) center / 150% 100% no-repeat, repeating-linear-gradient(0deg, rgba(0,20,4,.2) 0 6px, transparent 6px 12px), var(--pitch); }
.list-row.lineup { gap: 4px; }
.list-row.lineup > .grow { padding-left: 10px; }
.list-row .pills { margin-top: 6px; }
.cal { flex: none; width: 52px; border-radius: 14px; overflow: hidden; text-align: center; font-size: 22px; font-weight: 800; line-height: 1; padding-bottom: 8px; background: linear-gradient(#fff, var(--surface)); border: var(--hairline); box-shadow: 0 1px 2px var(--shade-soft), 0 8px 14px -6px var(--shade); }
.list-row .cal small { color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .06em; line-height: 1; margin: 0 0 7px; padding: 5px 0; background: linear-gradient(var(--brand-bright), var(--brand-dark)); }
.cal.past { color: var(--muted); box-shadow: var(--lift-1); }
.list-row .cal.past small { background: #8A93A6; }
.with-icon { white-space: nowrap; }
.with-icon .icon { vertical-align: -3px; }
.chev { color: var(--brand-bright); font-size: 26px; }
.badge { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 20px; background: var(--brand-soft); color: var(--brand-dark); white-space: nowrap; }
.badge.green { background: linear-gradient(var(--brand-bright), var(--brand)); color: #fff; box-shadow: 0 2px 5px -1px var(--shade), inset 0 1px 0 rgba(255,255,255,.3); }
.list-row + .list-row { border-top: 1px solid var(--line); }
.list-row { padding: 10px 0; }
.section-title { font-size: 12px; font-weight: 800; color: var(--brand); letter-spacing: .08em; margin: 20px 6px 8px; }

/* ---------- Reiter ---------- */
/* Am Handy als schwebende Leiste unten, auf breiten Bildschirmen unter dem Kopf */
.tabs {
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 14;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; padding: 6px; max-width: 460px; margin: 0 auto;
    border-radius: 26px; background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
    border: 1px solid rgba(255,255,255,.9); box-shadow: 0 2px 6px var(--shade-soft), 0 18px 40px -10px rgba(0,0,0,.45);
}
.tabs a { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; padding: 7px 2px 6px; border-radius: 20px; font-size: 11px; font-weight: 600; letter-spacing: -.02em; color: var(--muted); transition: background .15s, color .15s; }
.tabs a.active { color: #fff; background: linear-gradient(var(--brand-bright), var(--brand)); box-shadow: 0 6px 14px -5px color-mix(in srgb, var(--brand) 75%, transparent), inset 0 1px 0 rgba(255,255,255,.35); }
.page:has(> .tabs) { padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
@media (min-width: 760px) {
    .tabs { position: relative; inset: auto; max-width: none; margin: -28px 0 16px; padding: 5px; border-radius: 22px; }
    .tabs a { flex-direction: row; justify-content: center; gap: 8px; padding: 11px 8px; font-size: 14px; border-radius: 17px; }
    .hero:not(.slim) + .tabs + :is(.card, .team-card, .group-bar) { margin-top: 0; }
    .page:has(> .tabs) { padding-bottom: 32px; }
}

/* ---------- Spielfeld ---------- */
.board { background: radial-gradient(90% 40% at 50% 0, var(--brand-bright), transparent 75%), linear-gradient(var(--brand), var(--brand-night)); margin: 0 -16px; padding: 8px 16px 0; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.board .controls { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.board .controls select { flex: 1; min-width: 104px; background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.3); }
.board .controls select option { color: var(--text); background: #fff; }
.board .controls .btn.small { padding: 6px 8px; }
.board .controls .star.on, .row .star.on { color: #B45309; }
.board .controls .star.on { color: #FCD34D; }
.star { font-size: 18px !important; min-width: 36px; }
.row .btn.star { min-height: 44px; min-width: 44px; }
.board .controls .btn { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.2); box-shadow: inset 0 1px 0 rgba(255,255,255,.22); color: #fff; }
.board .hint { color: #FCD34D; }
.pitch {
    position: relative;
    /* möglichst so groß, dass Feld und Bank zusammen auf den Bildschirm passen */
    width: 100%; max-width: clamp(300px, calc((100svh - 312px) * 68 / 105), 460px); margin: 0 auto;
    aspect-ratio: 68 / 105; border-radius: 14px; overflow: hidden;
    /* von oben nach unten: Licht in der Mitte, Mähstreifen, Rasen */
    background:
        radial-gradient(60% 34% at 12% -4%, rgba(255,255,255,.3), transparent 70%), radial-gradient(60% 34% at 88% -4%, rgba(255,255,255,.3), transparent 70%),
        radial-gradient(ellipse at 50% 45%, rgba(255,255,255,.07) 0%, rgba(0,0,0,0) 45%, rgba(0,20,5,.38) 100%),
        repeating-linear-gradient(0deg, rgba(0,24,6,.27) 0 8.333%, rgba(190,255,150,.05) 8.333% 16.667%),
        linear-gradient(rgba(8,40,14,.12), rgba(8,40,14,.12)),
        var(--grass) 0 0 / 230px, var(--pitch);
    box-shadow: 0 0 0 1px rgba(255,255,255,.2), 0 0 0 5px rgba(0,0,0,.18), 0 24px 46px -12px rgba(0,0,0,.75), inset 0 0 40px rgba(0,20,5,.35);
}
.pitch svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.slot {
    position: absolute; transform: translate(-50%, -30%);
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    background: none; border: 0; padding: 0; cursor: pointer; width: 70px;
}
.slot .dot, .drag-ghost .dot { --dot: color-mix(in srgb, var(--brand) 92%, white); }
.slot .dot {
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; color: #fff; font-size: 15px;
    background: radial-gradient(circle at 35% 28%, color-mix(in srgb, var(--dot) 68%, white), var(--dot) 48%, color-mix(in srgb, var(--dot) 62%, black)); border: 2px solid #fff;
    box-shadow: 0 1px 1px rgba(0,0,0,.4), 0 8px 9px -2px rgba(0,0,0,.6), inset 0 -4px 6px rgba(0,0,0,.25); text-shadow: 0 1px 2px rgba(0,0,0,.45);
}
.slot.goalie .dot { --dot: var(--goalie); }
.slot.empty .dot { background: color-mix(in srgb, var(--brand-dark) 55%, transparent); border-style: dashed; font-size: 11px; box-shadow: none; }
.slot.goalie.empty .dot { border-color: var(--goalie); }
.slot.selected .dot { border: 3px solid #FCD34D; box-shadow: 0 0 0 3px rgba(252,211,77,.45), 0 3px 6px rgba(0,0,0,.5); }
.slot .name {
    font-size: 11px; color: #fff; background: color-mix(in srgb, var(--brand-night) 84%, transparent); border-radius: 6px; padding: 1px 6px;
    max-width: 70px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
/* Auswählen und Ziehen */
[data-player] { -webkit-touch-callout: none; }
.slot[data-player] { touch-action: none; }            /* vom Feld in jede Richtung ziehen */
.bench button { touch-action: pan-x; }                /* Bank: seitlich blättern, nach oben ziehen */
.pitch.choosing .slot .dot { outline: 2px dashed rgba(255,255,255,.55); outline-offset: 3px; }
.pitch.choosing .slot.fits .dot { outline: 3px solid #FCD34D; }
.pitch.choosing .slot.selected .dot { outline: 0; }
.slot.drop-target { z-index: 2; }
.slot.drop-target .dot { outline: 4px solid #FCD34D !important; outline-offset: 3px; transform: scale(1.18); }
.drag-source { opacity: .35; }
.board.dragging, .board.dragging * { cursor: grabbing; }
.drag-ghost {
    position: fixed; z-index: 100; pointer-events: none; width: 80px; margin: -25px 0 0 -40px;
    display: flex; flex-direction: column; align-items: center; gap: 3px;
}
.drag-ghost .dot {
    width: 50px; height: 50px; border-radius: 50%; border: 3px solid #FCD34D; color: #fff; font-weight: 700; font-size: 18px;
    display: flex; align-items: center; justify-content: center; flex: none;
    background: radial-gradient(circle at 35% 28%, color-mix(in srgb, var(--dot) 68%, white), var(--dot) 48%, color-mix(in srgb, var(--dot) 62%, black)); box-shadow: 0 10px 18px rgba(0,0,0,.5);
}
.drag-ghost.goalie .dot { --dot: var(--goalie); }
.drag-ghost .name {
    font-size: 12px; color: #fff; background: color-mix(in srgb, var(--brand-night) 92%, transparent); border-radius: 6px; padding: 1px 8px;
    max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* Bank bleibt beim Scrollen unten stehen */
.bench-area {
    position: sticky; bottom: 0; z-index: 15; background: linear-gradient(color-mix(in srgb, var(--brand-night) 88%, var(--brand)), var(--brand-night)); margin: 10px -16px 0;
    padding: 8px 16px calc(6px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255,255,255,.22); border-radius: 22px 22px 0 0; box-shadow: 0 -14px 30px -10px rgba(0,0,0,.6);
}
.bench-area.drop-target { background: var(--brand-dark); box-shadow: inset 0 0 0 2px #FCD34D; }
.bench .none { color: var(--brand-pale); font-size: 13px; padding: 14px 0; }
.bench button.selected { box-shadow: inset 0 0 0 2px #FCD34D; background: var(--brand-bright); }
.bench { scrollbar-width: none; display: flex; gap: 8px; overflow-x: auto; padding: 6px 0 2px; min-height: 80px; }
.bench button {
    flex: none; width: 76px; background: linear-gradient(var(--brand-bright), var(--brand-dark)); border: 1px solid rgba(255,255,255,.16); border-radius: 15px; box-shadow: 0 6px 10px -4px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.28); padding: 5px 4px; color: #fff; cursor: pointer;
    display: flex; flex-direction: column; align-items: center; gap: 3px; font: inherit;
}
.bench .no { width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--brand-dark); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.bench .ln { font-size: 12px; font-weight: 600; max-width: 70px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bench .pos { font-size: 10px; color: var(--brand-pale); }
.bench-title { color: #fff; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 34px; }
.bench-title .btn { background: linear-gradient(#FDE28A, #FBC02D); border-color: transparent; color: #111827; white-space: nowrap; flex: none; }
.bench-title .btn.squad { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.2); box-shadow: inset 0 1px 0 rgba(255,255,255,.22); color: #fff; }
.bench-title .hint { font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Anwesenheit ---------- */
.att { display: flex; gap: 4px; }
.att button { min-width: 40px; min-height: 38px; border-radius: 12px; border: var(--hairline); background: linear-gradient(#fff, var(--brand-soft)); color: var(--brand-dark); font: inherit; font-size: 14px; cursor: pointer; }
.att button.on { color: #fff; font-weight: 800; border-color: transparent; box-shadow: 0 4px 8px -3px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.35); }
.att button.on.present { background: linear-gradient(#22B85A, #15803D); }
.att button.on.excused { background: linear-gradient(#FBB73C, #D98706); }
.att button.on.absent { background: linear-gradient(#EF4444, #C81E1E); }
.code-box { font-size: 26px; font-weight: 700; letter-spacing: 3px; color: var(--brand-dark); background: var(--brand-soft); border-radius: 10px; padding: 12px 16px; text-align: center; margin: 8px 0; user-select: all; }

#blazor-error-ui {
    display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
    background: #FEF3C7; padding: 12px 16px; box-shadow: 0 -2px 8px rgba(0,0,0,.15);
}
#blazor-error-ui .dismiss { float: right; cursor: pointer; }

/* ---------- Eigene Farbe ---------- */

.colors { position: sticky; top: var(--bar); z-index: 19; background: rgba(255,255,255,.96); padding: 16px 16px 14px; border-radius: 0 0 26px 26px; box-shadow: 0 26px 50px -14px rgba(0,0,0,.45); max-height: calc(100dvh - var(--bar)); overflow-y: auto; }
.colors > * { max-width: 688px; margin-left: auto; margin-right: auto; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 10px 6px; margin-top: 10px; }
.swatch { display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 0; padding: 4px 0; border: 0; border-radius: 10px; background: none; font: inherit; font-size: 12px; color: var(--text); cursor: pointer; }
.swatch > span { position: relative; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; box-shadow: inset 0 0 0 2px rgba(255,255,255,.35), 0 1px 4px rgba(0,0,0,.3); }
.swatch.on { background: var(--brand-soft); font-weight: 700; }
.swatch .own { background: conic-gradient(#E11D48, #F59E0B, #22C55E, #06B6D4, #3B82F6, #A855F7, #E11D48); }
.swatch input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; padding: 0; cursor: pointer; }

/* ---------- Kaderauswahl, Favoriten ---------- */
.sheet { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; background: var(--surface); padding-top: env(safe-area-inset-top); }
.sheet > .hero { margin: 0; flex: none; padding-top: 10px; }
.sheet .back { background: none; border: 0; color: #fff; font: inherit; font-size: 28px; line-height: 1; vertical-align: -2px; padding: 2px 14px 2px 2px; cursor: pointer; }
.sheet-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 12px 16px 16px; }
.sheet-body > *, .sheet-foot > * { max-width: 688px; margin-left: auto; margin-right: auto; }
.sheet-foot { flex: none; padding: 10px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -4px 14px rgba(0,0,0,.12); display: flex; }
.sheet-foot .btn { margin-top: 0; }
.picks { padding: 4px 14px; }
label.pick { display: flex; align-items: center; gap: 12px; margin: 0; padding: 8px 0; font-size: 16px; color: var(--text); cursor: pointer; }
label.pick + label.pick { border-top: 1px solid var(--line); }
label.pick input { width: 24px; height: 24px; flex: none; margin: 0; }
label.pick.out .avatar { filter: grayscale(1); opacity: .5; }
label.pick.out strong { color: var(--muted); font-weight: 500; }
label.pick .leaves { display: block; font-size: 12px; color: var(--danger); }
.btn.icon { padding: 6px 8px; min-width: 40px; }
.formations { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
.formations summary { color: var(--primary); font-weight: 600; font-size: 14px; cursor: pointer; padding: 4px 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: linear-gradient(#fff, var(--surface)); box-shadow: var(--lift-1), inset 0 1px 0 #fff; color: var(--text); border-radius: 18px; font: inherit; font-size: 14px; padding: 7px 12px; min-height: 36px; cursor: pointer; }
.chip.on { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-dark); font-weight: 700; }

/* Hinweise & Benachrichtigungen */
.toasts { position: fixed; left: 0; right: 0; top: calc(var(--bar) + 8px); z-index: 70; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0 12px; pointer-events: none; }
.toast { pointer-events: auto; width: 100%; max-width: 440px; display: flex; align-items: center; gap: 8px; background: #fff; color: var(--text); border-left: 5px solid var(--brand); border-radius: 18px; box-shadow: 0 2px 6px var(--shade-soft), 0 22px 44px -12px rgba(0,0,0,.5); padding: 4px 6px 4px 4px; animation: toast-in .25s ease-out; }
.toast-main { flex: 1; min-width: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; padding: 8px 10px; cursor: pointer; }
.toast-main strong { display: block; font-size: 13px; color: var(--brand); }
.toast-main span { font-size: 15px; overflow-wrap: anywhere; }
.toast-x { flex: none; width: 40px; height: 40px; border: 0; background: none; color: var(--muted); font-size: 16px; cursor: pointer; }
.toast.update { background: var(--brand); color: #fff; border-left-color: #fff; }
.toast.update strong { color: #fff; font-size: 15px; }
.toast.update span { font-size: 13px; opacity: .9; }
.toast.update .toast-x { color: #fff; }
.toast .btn { margin: 0; flex: none; }
@keyframes toast-in { from { transform: translateY(-20px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .toast { animation: none; } }
.switch { display: flex; align-items: center; gap: 12px; margin: 12px auto 0; color: var(--text); cursor: pointer; }
.switch strong { display: block; font-size: 15px; }
.switch small { display: block; font-size: 13px; color: var(--muted); font-weight: 400; }
.switch input { appearance: none; flex: none; width: 48px; height: 28px; padding: 0; margin: 0; border: 0; border-radius: 14px; background: #B9C0CE; position: relative; cursor: pointer; transition: background .15s; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .15s; }
.switch input:checked { background: var(--brand); }
.switch input:checked::after { transform: translateX(20px); }
.switch input:disabled { opacity: .45; cursor: default; }
.kinds { border-left: 3px solid var(--brand-soft); padding-left: 12px; margin-top: 4px; margin-bottom: 12px; }

/* Mannschaften (C1/C2) */
.group-bar { position: relative; margin: 0 0 14px; }
.page > .card .chips.groups { box-shadow: inset 0 2px 4px var(--shade-soft); background: var(--surface); }
.chips.groups { flex-wrap: nowrap; gap: 0; padding: 4px; background: #fff; border: var(--hairline); border-radius: 18px; overflow-x: auto; box-shadow: var(--lift-2); }
.chips.groups .chip { flex: 1; min-height: 42px; padding: 6px 12px; border: 0; border-radius: 14px; background: none; box-shadow: none; font-weight: 600; white-space: nowrap; }
.chips.groups .chip.on { background: linear-gradient(var(--brand-bright), var(--brand)); color: #fff; box-shadow: 0 5px 12px -4px color-mix(in srgb, var(--brand) 70%, transparent), inset 0 1px 0 rgba(255,255,255,.35); }
.sheet-body > .chips.groups, .card > .chips.groups { margin-bottom: 12px; }
.assign { display: flex; align-items: center; gap: 8px; padding: 8px 0; }
.assign + .assign { border-top: 1px solid var(--line); }
.assign strong { min-width: 0; overflow-wrap: anywhere; font-size: 15px; }
.assign .chip.on { background: var(--brand); border-color: var(--brand); color: #fff; }

/* Trainingsfotos */
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin: 10px 0 12px; }
.photo { position: relative; aspect-ratio: 1; padding: 0; border: 2px solid #fff; border-radius: 16px; overflow: hidden; background: var(--surface); box-shadow: 0 1px 2px var(--shade-soft), 0 8px 16px -6px var(--shade); cursor: pointer; }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo .remove { position: absolute; top: 4px; right: 4px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(0,0,0,.65); color: #fff; font-size: 14px; cursor: pointer; }
.photo { -webkit-touch-callout: none; user-select: none; -webkit-user-select: none; touch-action: manipulation; transition: transform .12s; }
.photo img { pointer-events: none; }
.photo.loading { background: linear-gradient(100deg, var(--line) 30%, var(--surface) 50%, var(--line) 70%) 0 0 / 300% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -50% 0; } }
.photo-state { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(6,12,30,.38); color: #fff; font-size: 12px; font-weight: 700; text-align: center; padding: 4px; }
.photo-state.failed { background: rgba(160,16,16,.72); }
.photo-mark { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; background: rgba(6,12,30,.35); color: #fff; font-size: 15px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 1px 4px rgba(0,0,0,.4); }
.photo.marked { transform: scale(.92); outline: 3px solid var(--brand); outline-offset: 2px; }
.photo.marked .photo-mark { background: var(--brand); }
.spin { width: 26px; height: 26px; border-radius: 50%; border: 3px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .9s linear infinite; }
.spin.big { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; }
.viewer-body { position: relative; }
.viewer-body img.preview { width: 100%; height: 100%; filter: blur(6px); }
.select-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: var(--brand-night); color: #fff; box-shadow: 0 -8px 24px rgba(0,0,0,.35); }
.select-bar .btn { margin: 0; }
.icon-btn { flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: inherit; font: inherit; cursor: pointer; }
.btn.danger.solid { background: linear-gradient(#EF4444, var(--danger)); color: #fff; border-color: transparent; box-shadow: inset 0 1px 0 rgba(255,255,255,.3); }
progress { display: block; width: 100%; height: 6px; margin: 6px 0 2px; border: 0; border-radius: 3px; overflow: hidden; background: var(--brand-soft); accent-color: var(--brand); appearance: none; -webkit-appearance: none; }
progress::-webkit-progress-bar { background: var(--brand-soft); }
progress::-webkit-progress-value { background: var(--brand); transition: width .3s; }
progress::-moz-progress-bar { background: var(--brand); }
/* Speichern bleibt beim Scrollen unten stehen */
.save-bar { position: sticky; bottom: 0; z-index: 15; margin: 18px -16px calc(-32px - env(safe-area-inset-bottom)); padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-radius: 26px 26px 0 0; background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-top: 1px solid #fff; box-shadow: 0 -18px 40px -14px var(--shade); }
.save-bar .btn { margin: 0; }
.save-bar .error.card { margin: 0 0 8px; padding: 8px 12px; box-shadow: none; }
.save-status { margin: 0 0 8px; font-size: 14px; font-weight: 600; text-align: center; color: var(--muted); }
.save-status.good { color: #15803D; }
.save-status.warn { color: #B45309; }
.save-status.bad { color: var(--danger); }
.save-bar progress { margin: 0 0 10px; }
.btn.blue.done { background: linear-gradient(#1B9A4B, #15803D); border-color: #126b33; box-shadow: none; }
.btn.file { position: relative; display: flex; align-items: center; justify-content: center; margin: 0; overflow: hidden; }
.btn.file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; padding: 0; }
.ext { display: block; padding: 8px 0; color: var(--brand); overflow-wrap: anywhere; }
.viewer { background: #0B0E14; }
.viewer .btn { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.2); box-shadow: none; color: #fff; }
.viewer-bar { display: flex; align-items: center; gap: 10px; padding: 8px 12px; color: #fff; }
.viewer-bar small { display: block; font-size: 12px; opacity: .75; }
.viewer-bar .btn, .viewer-foot .btn { margin: 0; }
.viewer-body { flex: 1; min-height: 0; overflow: auto; display: flex; cursor: zoom-in; overscroll-behavior: contain; }
.viewer-body img { margin: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.viewer-body.zoom { cursor: zoom-out; }
.viewer-body.zoom img { max-width: none; max-height: none; width: 220%; }
.viewer-foot { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px calc(12px + env(safe-area-inset-bottom)); }

.camera { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #000; color: #fff; overflow: hidden; }
.camera[open] { display: flex; flex-direction: column; }
.camera video { flex: 1; min-height: 0; width: 100%; object-fit: contain; }
.camera-note { position: absolute; left: 24px; right: 24px; top: 35%; text-align: center; font-size: 16px; line-height: 1.45; }
.camera-note[hidden] { display: none; }
.camera-note .btn { display: block; margin: 18px auto 0; }
.camera-foot { flex: none; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 14px 16px calc(18px + env(safe-area-inset-bottom)); }
.camera .btn { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.2); box-shadow: none; color: #fff; }
.camera-foot .btn { margin: 0; justify-self: start; }
.camera-count { justify-self: end; font-weight: 600; }
.shutter { width: 72px; height: 72px; padding: 0; border-radius: 50%; border: 5px solid #fff; background: #fff; background-clip: content-box; box-shadow: inset 0 0 0 4px #000; cursor: pointer; }
.shutter:active { background: #bbb; }
.shutter:disabled { opacity: .35; }

/* Ergebnis */
.badge.lost { background: #FDE8E8; color: #9B1C1C; }
.hero.slim.has-result { padding-right: 122px; }
.hero.slim .result-btn { position: absolute; right: 14px; bottom: 8px; z-index: 1; border: 1px solid rgba(255,255,255,.55); background: rgba(6,20,60,.55); color: #fff; font: inherit; font-size: 13px; font-weight: 600; border-radius: 10px; padding: 4px 12px; min-height: 34px; }
.hero.slim button.result-btn { cursor: pointer; }
.hero.slim .result-btn.set { font-size: 18px; font-weight: 800; }
.result-btn::before { content: ""; position: absolute; inset: -6px; } /* größere Tippfläche */
.score { display: flex; align-items: stretch; justify-content: center; gap: 12px; margin-top: 8px; }
.score > div { flex: 1; max-width: 220px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.score .team { font-weight: 700; overflow-wrap: anywhere; min-height: 2.6em; display: flex; align-items: flex-end; }
.score .num { font-size: 64px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.score .colon { flex: none; align-self: center; font-size: 48px; font-weight: 800; }
.score .btn { width: 100%; max-width: 130px; min-height: 56px; font-size: 26px; margin: 0; }
