@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
    color-scheme: dark;
    --bg: #07101c;
    --panel: #0d1928;
    --panel-2: #111f31;
    --line: rgba(255, 255, 255, .09);
    --text: #f7f9fc;
    --muted: #8d9bad;
    --lime: #c9ff2f;
    --blue: #4f8cff;
    --red: #ff5d6c;
    --radius: 22px;
    font-family: Inter, system-ui, sans-serif;
}

/* Public round choices and immutable transparency history */
.public-choices-page { display: grid; gap: 16px; padding-bottom: 105px; }
.public-choices-hero { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; align-items: center; gap: 18px; overflow: hidden; border: 1px solid rgba(79,140,255,.28); border-radius: 25px; background: linear-gradient(125deg, rgba(18,37,60,.96), rgba(7,17,29,.98)); padding: 22px; }
.public-choices-round { width: 84px; height: 84px; display: grid; place-content: center; border: 1px solid rgba(201,255,47,.28); border-radius: 21px; background: rgba(201,255,47,.055); text-align: center; }
.public-choices-round span { color: var(--muted); font: 700 10px/1 'Barlow Condensed'; letter-spacing: .12em; }
.public-choices-round strong { color: var(--lime); font: 800 39px/.9 'Barlow Condensed'; }
.public-choices-hero h1 { font: 800 clamp(36px, 5vw, 56px)/.94 'Barlow Condensed'; text-transform: uppercase; }
.public-choices-hero p:last-child { margin: 7px 0 0; color: #bdc7d4; font-size: 12px; }
.public-choices-status { justify-self: end; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: rgba(255,255,255,.04); color: #bdc7d4; padding: 9px 12px; font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.public-choices-status.is-open { border-color: rgba(201,255,47,.3); background: rgba(201,255,47,.08); color: var(--lime); }
.public-choices-status.is-pending { border-color: rgba(255,200,87,.34); background: rgba(255,200,87,.07); color: #ffd77f; }
.public-choices-status.is-early { border-color: rgba(79,140,255,.38); background: rgba(79,140,255,.1); color: #b9d0ff; }
.early-choices-notice { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 13px; border: 1px solid rgba(79,140,255,.28); border-radius: 18px; background: rgba(79,140,255,.055); padding: 14px 16px; }
.early-choices-notice > span { width: 48px; height: 48px; display: grid; place-content: center; border-radius: 14px; background: rgba(79,140,255,.12); color: #b9d0ff; font-size: 21px; }
.early-choices-notice strong { display: block; font-size: 13px; }
.early-choices-notice p { margin: 4px 0 0; color: #bdc7d4; font-size: 11px; line-height: 1.5; }

.sealed-choices-panel { min-height: 280px; display: grid; grid-template-columns: 68px minmax(0, 650px); place-content: center; align-items: center; gap: 22px; border: 1px dashed rgba(79,140,255,.42); border-radius: 24px; background: rgba(79,140,255,.045); padding: 35px; }
.sealed-choices-icon { width: 68px; height: 68px; display: grid; place-content: center; border: 1px solid rgba(79,140,255,.3); border-radius: 20px; background: rgba(79,140,255,.1); color: #a8c5ff; font-size: 22px; }
.sealed-choices-panel h2 { font: 800 clamp(29px, 4vw, 42px)/1 'Barlow Condensed'; text-transform: uppercase; }
.sealed-choices-panel p:last-child { margin: 9px 0 0; color: #bdc7d4; font-size: 13px; line-height: 1.6; }

.public-choices-summary { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.public-choices-summary article { min-width: 0; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); padding: 14px; }
.public-choices-summary span, .public-choices-summary strong, .public-choices-summary small { display: block; }
.public-choices-summary span { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.public-choices-summary strong { margin: 6px 0 4px; font: 800 30px/1 'Barlow Condensed'; }
.public-choices-summary small { color: var(--muted); font-size: 10px; line-height: 1.35; }
.public-choices-summary .is-automatic { border-color: rgba(79,140,255,.28); }
.public-choices-summary .is-automatic strong { color: #a8c5ff; }
.public-choices-summary .has-attention { border-color: rgba(255,200,87,.32); }
.public-choices-summary .has-attention strong { color: #ffd77f; }
.public-choices-summary .has-review { border-color: rgba(185,140,255,.34); }
.public-choices-summary .has-review strong { color: #d8b8ff; }
.public-choices-summary .has-alert { border-color: rgba(255,93,108,.36); }
.public-choices-summary .has-alert strong { color: #ff9ca5; }
.public-choices-summary.is-before-lock { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.public-choices-summary .is-early-public { border-color: rgba(201,255,47,.28); }
.public-choices-summary .is-early-public strong { color: var(--lime); }

.public-choices-tools { display: grid; grid-template-columns: minmax(220px, 1fr) auto; align-items: end; gap: 12px; border: 1px solid var(--line); border-radius: 17px; background: rgba(13,25,40,.78); padding: 13px; }
.public-choices-tools label { display: grid; gap: 6px; }
.public-choices-tools label > span { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.public-choices-tools input { width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 12px; outline: none; background: #081321; color: var(--text); padding: 11px 13px; font-size: 14px; }
.public-choices-tools input:focus { border-color: rgba(201,255,47,.65); box-shadow: 0 0 0 3px rgba(201,255,47,.07); }
.public-choice-filters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.public-choice-filters button { min-height: 44px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.025); color: #bdc7d4; padding: 8px 12px; font-size: 11px; font-weight: 800; cursor: pointer; }
.public-choice-filters button.is-active { border-color: rgba(201,255,47,.42); background: rgba(201,255,47,.1); color: var(--lime); }

.public-choice-list { display: grid; gap: 10px; }
.public-choice-card { overflow: hidden; border: 1px solid var(--line); border-radius: 19px; background: linear-gradient(120deg, rgba(13,25,40,.96), rgba(8,18,30,.98)); }
.public-choice-card.is-automatic { border-color: rgba(79,140,255,.26); box-shadow: inset 3px 0 #4f8cff; }
.public-choice-card.is-corrected { border-color: rgba(255,200,87,.34); box-shadow: inset 3px 0 #ffc857; }
.public-choice-card.is-review, .public-choice-card.is-invalidated { border-color: rgba(185,140,255,.34); box-shadow: inset 3px 0 #b98cff; }
.public-choice-card.is-exception { border-color: rgba(255,93,108,.4); box-shadow: inset 3px 0 var(--red); }
.public-choice-card.is-early-public { border-color: rgba(201,255,47,.28); box-shadow: inset 3px 0 var(--lime); }
.public-choice-card.is-released { border-color: rgba(255,200,87,.34); box-shadow: inset 3px 0 #ffc857; }
.public-choice-card.is-unpublished { border-color: rgba(255,255,255,.08); background: rgba(9,19,32,.76); }
.public-choice-card.is-mine { outline: 1px solid rgba(201,255,47,.32); outline-offset: -4px; }
.public-choice-card-main { display: flex; align-items: center; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--line); padding: 12px 15px; }
.public-choice-identity { min-width: 0; display: flex; align-items: center; gap: 11px; }
.public-choice-position { flex: 0 0 auto; width: 37px; height: 37px; display: grid; place-content: center; border-radius: 11px; background: rgba(255,255,255,.055); color: #bdc7d4; font: 800 15px/1 'Barlow Condensed'; }
.public-choice-identity div, .public-choice-identity small, .public-choice-identity strong { min-width: 0; display: block; }
.public-choice-identity small { color: var(--muted); font-size: 10px; letter-spacing: .08em; }
.public-choice-identity small em { margin-left: 6px; border-radius: 999px; background: rgba(201,255,47,.1); color: var(--lime); padding: 3px 6px; font-size: 10px; font-style: normal; letter-spacing: .04em; }
.public-choice-identity strong { overflow: hidden; margin-top: 3px; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.public-choice-badge { flex: 0 0 auto; max-width: 47%; border-radius: 999px; background: rgba(201,255,47,.08); color: var(--lime); padding: 7px 9px; font-size: 10px; font-weight: 800; text-align: center; }
.is-automatic .public-choice-badge { background: rgba(79,140,255,.11); color: #b9d0ff; }
.is-corrected .public-choice-badge { background: rgba(255,200,87,.11); color: #ffd77f; }
.is-review .public-choice-badge, .is-invalidated .public-choice-badge { background: rgba(185,140,255,.12); color: #d8b8ff; }
.is-exception .public-choice-badge { background: rgba(255,93,108,.11); color: #ff9ca5; }
.is-released .public-choice-badge { background: rgba(255,200,87,.11); color: #ffd77f; }
.is-withdrawn .public-choice-badge { background: rgba(255,200,87,.11); color: #ffd77f; }
.is-unpublished .public-choice-badge { background: rgba(255,255,255,.055); color: #a6b1bf; }

.public-choice-team { display: grid; grid-template-columns: 58px minmax(0, 1fr); align-items: center; gap: 13px; padding: 16px; }
.public-choice-logo { width: 58px; height: 58px; display: grid; place-content: center; overflow: hidden; border: 1px solid rgba(255,255,255,.09); border-radius: 16px; background: #fff; color: #102034; font: 800 17px/1 'Barlow Condensed'; }
.public-choice-logo img { width: 100%; height: 100%; object-fit: contain; padding: 7px; }
.public-choice-team small, .public-choice-team strong { display: block; }
.public-choice-team small { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.public-choice-team strong { margin-top: 5px; font: 800 29px/1 'Barlow Condensed'; text-transform: uppercase; }
.public-choice-team p { margin: 6px 0 0; color: #bdc7d4; font-size: 11px; line-height: 1.45; }
.public-choice-finalization { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; border-top: 1px solid var(--line); background: var(--line); }
.public-choice-finalization > div { display: grid; grid-template-columns: 105px minmax(145px, auto) minmax(0, 1fr); align-items: center; gap: 11px; background: rgba(8,17,31,.98); padding: 11px 15px; }
.public-choice-finalization span { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.public-choice-finalization strong { font-size: 11px; }
.public-choice-finalization small { color: var(--muted); font-size: 10px; text-align: right; }
.public-choice-reason { border-top: 1px solid rgba(255,200,87,.18); background: rgba(255,200,87,.045); padding: 12px 15px; }
.public-choice-reason span { color: #ffd77f; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.public-choice-reason p { margin: 5px 0 0; color: #f1e1bb; font-size: 12px; line-height: 1.5; }
.public-choice-exception { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 12px; padding: 16px; }
.public-choice-exception > span { width: 48px; height: 48px; display: grid; place-content: center; border-radius: 14px; background: rgba(255,93,108,.1); color: #ff9ca5; font: 800 20px/1 'Barlow Condensed'; }
.public-choice-exception strong { font-size: 14px; }
.public-choice-exception p { margin: 5px 0 0; color: #bdc7d4; font-size: 11px; line-height: 1.5; }
.public-choice-unpublished, .public-choice-released { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 12px; padding: 16px; }
.public-choice-unpublished > span, .public-choice-released > span { width: 48px; height: 48px; display: grid; place-content: center; border-radius: 14px; background: rgba(255,255,255,.055); color: #a6b1bf; font: 800 18px/1 'Barlow Condensed'; }
.public-choice-released > span { background: rgba(255,200,87,.1); color: #ffd77f; }
.public-choice-unpublished strong, .public-choice-released strong { font-size: 14px; }
.public-choice-unpublished p, .public-choice-released p { margin: 5px 0 0; color: #bdc7d4; font-size: 11px; line-height: 1.5; }
.public-choice-withdrawn, .public-choice-validity { margin: 0 15px 12px; border: 1px solid rgba(255,200,87,.28); border-radius: 12px; background: rgba(255,200,87,.06); padding: 10px 12px; }
.public-choice-withdrawn strong, .public-choice-validity strong { color: #ffd77f; font-size: 12px; }
.public-choice-withdrawn p, .public-choice-validity p { margin: 4px 0 0; color: #c8d1dd; font-size: 11px; line-height: 1.45; }
.public-choice-validity.is-review, .public-choice-validity.is-invalid { border-color: rgba(255,93,108,.32); background: rgba(255,93,108,.07); }
.public-choice-validity.is-review strong, .public-choice-validity.is-invalid strong { color: #ffadb5; }
.public-choice-card.is-withdrawn .public-choice-badge { background: rgba(255,200,87,.11); color: #ffd77f; }

.public-choice-history { border-top: 1px solid var(--line); }
.public-choice-history summary { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 15px; color: #9fc0ff; font-size: 11px; font-weight: 800; cursor: pointer; list-style: none; }
.public-choice-history summary::-webkit-details-marker { display: none; }
.public-choice-history summary b { border-radius: 999px; background: rgba(79,140,255,.09); padding: 5px 8px; color: #b9d0ff; font-size: 10px; }
.public-choice-history ol { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--line); background: rgba(3,10,18,.28); padding: 5px 15px 13px 39px; list-style: none; }
.public-choice-history li { position: relative; display: grid; gap: 3px; border-left: 1px solid rgba(79,140,255,.25); padding: 12px 0 4px 20px; }
.public-choice-history li::before { content: ''; position: absolute; width: 9px; height: 9px; left: -5px; top: 16px; border: 2px solid #0b1726; border-radius: 50%; background: #4f8cff; }
.public-choice-history li.is-automatic::before { background: #a8c5ff; }
.public-choice-history li.is-corrected::before { background: #ffc857; }
.public-choice-history li.is-review::before, .public-choice-history li.is-invalidated::before { background: #b98cff; }
.public-choice-history li.is-replacement::before { background: #b98cff; }
.public-choice-history li.is-exception::before { background: #ff5d6c; }
.public-choice-history li.is-visibility::before { background: var(--lime); }
.public-choice-history li.is-released::before { background: #ffc857; }
.public-choice-history time { color: var(--muted); font-size: 10px; }
.public-choice-history strong { font-size: 12px; }
.public-choice-history p { margin: 1px 0 0; color: #bdc7d4; font-size: 11px; line-height: 1.45; }
.public-choice-history li > small { color: #ffd77f; font-size: 10px; line-height: 1.45; }
.empty-public-choice-search { min-height: 150px; display: grid; place-content: center; gap: 6px; border: 1px dashed var(--line); border-radius: 18px; text-align: center; }
.empty-public-choice-search strong { font: 800 25px/1 'Barlow Condensed'; text-transform: uppercase; }
.empty-public-choice-search p { margin: 0; color: var(--muted); font-size: 12px; }

.round-public-choices-cta { min-height: 68px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; border: 1px solid rgba(79,140,255,.32); border-radius: 17px; background: rgba(79,140,255,.055); padding: 13px 16px; }
.round-public-choices-cta span { border-radius: 999px; background: rgba(79,140,255,.12); color: #b9d0ff; padding: 6px 8px; font-size: 10px; font-weight: 800; letter-spacing: .06em; }
.round-public-choices-cta strong { color: #d9e5f8; font-size: 12px; }
.round-public-choices-cta b { color: #9fc0ff; font-size: 18px; }
.round-public-choices-link { display: inline-block; margin: 7px 0 0 12px; color: var(--lime); font-size: 10px; font-weight: 800; }
.player-state-alert.is-released, .inline-choice-alert.is-released, .round-state-banner.is-released { border-color: rgba(79,140,255,.38); background: rgba(79,140,255,.065); }
.player-state-alert.is-released a { display: inline-block; margin-top: 7px; color: #9fc0ff; font-size: 10px; font-weight: 800; }
.calendar-release-note { z-index: 2; grid-column: 2 / 4; margin: -8px 16px 10px; border-radius: 9px; background: rgba(79,140,255,.09); color: #b9d0ff; padding: 6px 8px; font-size: 10px; font-weight: 800; pointer-events: none; }

@media (max-width: 760px) {
    .public-choices-hero { grid-template-columns: 66px minmax(0, 1fr); gap: 13px; padding: 17px; }
    .public-choices-round { width: 66px; height: 66px; border-radius: 17px; }
    .public-choices-round strong { font-size: 32px; }
    .public-choices-hero h1 { font-size: 35px; }
    .public-choices-status { grid-column: 1 / -1; justify-self: stretch; text-align: center; }
    .public-choices-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .public-choices-summary.is-before-lock { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .public-choices-tools { grid-template-columns: 1fr; }
    .public-choice-filters { justify-content: flex-start; }
    .public-choice-finalization { grid-template-columns: 1fr; }
    .public-choice-finalization > div { grid-template-columns: 1fr; gap: 4px; }
    .public-choice-finalization small { text-align: left; }
}

@media (max-width: 520px) {
    .public-choices-page { width: min(100% - 20px, 1180px); gap: 11px; }
    .sealed-choices-panel { min-height: 330px; grid-template-columns: 1fr; place-content: center; justify-items: center; gap: 15px; padding: 24px 18px; text-align: center; }
    .sealed-choices-panel p:last-child { font-size: 13px; }
    .early-choices-notice { grid-template-columns: 40px minmax(0, 1fr); padding: 12px; }
    .early-choices-notice > span { width: 40px; height: 40px; border-radius: 12px; }
    .public-choices-summary article { padding: 12px; }
    .public-choices-summary strong { font-size: 27px; }
    .public-choices-summary small { font-size: 10px; }
    .public-choice-filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 3px; scrollbar-width: none; }
    .public-choice-filters::-webkit-scrollbar { display: none; }
    .public-choice-filters button { flex: 0 0 auto; }
    .public-choice-card-main { align-items: flex-start; padding: 11px 12px; }
    .public-choice-badge { max-width: 49%; font-size: 10px; }
    .public-choice-team { grid-template-columns: 50px minmax(0, 1fr); gap: 11px; padding: 14px 12px; }
    .public-choice-logo { width: 50px; height: 50px; border-radius: 14px; }
    .public-choice-team strong { font-size: 25px; }
    .public-choice-team p, .public-choice-exception p, .public-choice-unpublished p, .public-choice-released p, .public-choice-history p { font-size: 12px; }
    .public-choice-finalization > div, .public-choice-reason, .public-choice-history summary { padding-inline: 12px; }
    .public-choice-history ol { padding-left: 29px; padding-right: 12px; }
    .round-public-choices-cta { grid-template-columns: 1fr auto; }
    .round-public-choices-cta span { width: fit-content; }
    .round-public-choices-cta strong { grid-column: 1; font-size: 12px; }
    .round-public-choices-cta b { grid-column: 2; grid-row: 1 / 3; }
    .round-public-choices-link { display: block; margin-left: 0; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: radial-gradient(circle at 80% 0%, #14253d 0, var(--bg) 34rem); color: var(--text); }
button, input, select { font: inherit; }
a { color: inherit; text-decoration: none; }
.app-shell { min-height: 100vh; padding-bottom: 92px; }
.topbar { height: 76px; display: flex; align-items: center; justify-content: space-between; max-width: 1180px; margin: auto; padding: 0 22px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark { width: 44px; height: 44px; flex: 0 0 44px; display: block; }
.brand-mark img { width: 100%; height: 100%; display: block; object-fit: contain; }
.brand strong { display: block; letter-spacing: .08em; font: 800 19px/1 'Barlow Condensed'; }
.brand small { display: block; color: var(--muted); font-size: 10px; margin-top: 4px; }
.profile-chip { border: 1px solid var(--line); background: var(--panel-2); color: var(--text); border-radius: 50%; width: 40px; height: 40px; font-weight: 700; }
.player-top-actions { display: flex; align-items: center; gap: 9px; }
.entry-switcher, .single-entry-chip { border: 1px solid var(--line); border-radius: 11px; background: var(--panel-2); padding: 6px 10px; }
.entry-switcher { display: grid; grid-template-columns: auto auto; align-items: center; gap: 7px; }
.entry-switcher label, .single-entry-chip span { color: var(--muted); font-size: 7px; text-transform: uppercase; letter-spacing: .07em; }
.entry-switcher select { max-width: 180px; border: 0; outline: none; background: transparent; color: var(--lime); font-size: 10px; font-weight: 700; }
.entry-switcher option { color: var(--text); background: var(--panel); }
.single-entry-chip span, .single-entry-chip strong { display: block; }
.single-entry-chip strong { color: var(--lime); font-size: 9px; margin-top: 2px; }
main { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.hero { min-height: 238px; border: 1px solid var(--line); border-radius: 30px; padding: 32px; display: grid; grid-template-columns: 1.3fr .7fr; gap: 24px; align-items: end; overflow: hidden; position: relative; background: linear-gradient(120deg, rgba(22,39,63,.96), rgba(10,21,35,.96)); }
.hero > * { min-width: 0; }
.hero::after { content: ''; position: absolute; width: 430px; height: 430px; right: -100px; top: -230px; border: 72px solid rgba(201,255,47,.09); border-radius: 50%; }
.hero-copy { position: relative; z-index: 1; max-width: 670px; }
.eyebrow { margin: 0 0 9px; color: var(--lime); letter-spacing: .14em; font-size: 11px; font-weight: 800; }
h1, h2 { margin: 0; font-family: 'Barlow Condensed', sans-serif; text-transform: uppercase; }
h1 { font-size: clamp(42px, 7vw, 72px); line-height: .9; }
h2 { font-size: 36px; }
.hero-copy > p:last-child { color: #bdc7d4; max-width: 610px; line-height: 1.6; font-size: 14px; }
.deadline-card { position: relative; z-index: 1; border: 1px solid rgba(201,255,47,.25); background: rgba(5,14,24,.7); padding: 20px; border-radius: 20px; backdrop-filter: blur(12px); }
.deadline-card > div { color: var(--lime); font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.live-dot { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 14px var(--lime); }
.deadline-card strong { display: block; margin: 8px 0; font: 700 35px/1 'Barlow Condensed'; }
.deadline-card small { display: block; color: var(--muted); overflow-wrap: anywhere; }
.flash-success, .flash-error { margin-top: 16px; padding: 13px 16px; border-radius: 13px; font-size: 13px; }
.flash-success { background: rgba(201,255,47,.12); border: 1px solid rgba(201,255,47,.28); color: #dcff79; }
.flash-error { background: rgba(255,93,108,.12); border: 1px solid rgba(255,93,108,.28); color: #ff9ca5; }
.shared-staff-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 16px; border: 1px solid rgba(79,140,255,.25); border-radius: 18px; background: rgba(79,140,255,.055); padding: 16px 18px; }
.shared-staff-card h2 { font-size: 25px; }
.staff-people { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.staff-people span { display: flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.025); color: #c7d1dc; padding: 5px 9px 5px 5px; font-size: 9px; }
.staff-people b { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; background: #294361; color: #e5edf5; font: 800 8px/1 'Barlow Condensed'; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 18px 0 44px; }
.stats-grid article { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
.stats-grid span, .stats-grid small { display: block; color: var(--muted); font-size: 11px; }
.stats-grid strong { display: block; font: 800 38px/1 'Barlow Condensed'; margin: 7px 0 5px; }
.stats-grid .warning { border-color: rgba(255,93,108,.35); }
.stats-grid .warning strong { color: var(--red); }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 16px; }
.legend { color: var(--muted); font-size: 11px; }
.legend-used { display: inline-block; width: 8px; height: 8px; background: #415066; border-radius: 2px; margin-right: 5px; }
.round-list { display: grid; gap: 12px; }
.round-card { display: grid; grid-template-columns: 80px 1fr; border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius); overflow: hidden; transition: border-color .2s, transform .2s; }
.round-card:hover { border-color: rgba(255,255,255,.18); transform: translateY(-1px); }
.round-card.is-missing { border-color: rgba(255,93,108,.45); }
.round-index { display: grid; place-content: center; text-align: center; background: rgba(255,255,255,.025); border-right: 1px solid var(--line); }
.round-index span { color: var(--muted); font: 700 14px/1 'Barlow Condensed'; }
.round-index strong { font: 800 32px/1 'Barlow Condensed'; margin-top: 2px; }
.round-main { padding: 19px 22px; }
.round-meta { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.status-pill { padding: 5px 9px; border-radius: 999px; font-size: 9px; font-weight: 800; letter-spacing: .07em; }
.status-open, .result-3 { color: var(--lime); background: rgba(201,255,47,.1); }
.status-locked { color: #aab4c1; background: rgba(255,255,255,.06); }
.result-1 { color: #ffc857; background: rgba(255,200,87,.1); }
.result-0 { color: var(--red); background: rgba(255,93,108,.1); }
.selection-row { display: flex; align-items: center; gap: 13px; margin: 16px 0 11px; }
.team-crest, .option-crest { flex: 0 0 auto; display: grid; place-items: center; background: linear-gradient(145deg, #243a58, #111d2d); border: 1px solid rgba(255,255,255,.11); font: 800 18px/1 'Barlow Condensed'; }
.team-crest { width: 45px; height: 45px; border-radius: 14px; }
.team-logo { position: relative; overflow: hidden; }
.team-logo > span { color: #dce5f0; }
.team-logo img { position: absolute; inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); object-fit: contain; }
.selection-row strong { display: block; font-size: 16px; }
.selection-row small { display: block; color: var(--muted); margin-top: 5px; font-size: 11px; }
.selection-row small b { color: var(--text); margin: 0 4px; }
.missing-copy .team-crest { color: var(--red); border-color: rgba(255,93,108,.35); background: rgba(255,93,108,.08); }
.missing-copy strong { color: #ff8792; }
.round-deadline { color: var(--muted); font-size: 10px; }
.choice-author { display: block; color: #8fa8c5; font-size: 9px; margin-top: -2px; }
.choice-editor { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 14px; }
.choice-editor summary { cursor: pointer; width: fit-content; list-style: none; color: var(--lime); font-size: 12px; font-weight: 700; }
.choice-editor summary::-webkit-details-marker { display: none; }
.choice-editor summary::after { content: '  ↓'; }
.choice-editor[open] summary::after { content: '  ↑'; }
.option-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 14px 0; }
.team-option { position: relative; display: flex; align-items: center; gap: 10px; padding: 11px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; background: rgba(255,255,255,.02); }
.team-option:has(input:checked) { border-color: var(--lime); background: rgba(201,255,47,.06); }
.team-option.is-used { opacity: .37; cursor: not-allowed; }
.team-option input { position: absolute; opacity: 0; pointer-events: none; }
.option-crest { width: 34px; height: 34px; border-radius: 10px; font-size: 14px; }
.team-option strong { display: block; font-size: 12px; }
.team-option small { display: block; color: var(--muted); font-size: 9px; margin-top: 3px; }
.primary-button { border: 0; border-radius: 12px; padding: 11px 17px; background: var(--lime); color: #08111f; font-size: 11px; font-weight: 800; cursor: pointer; }
.primary-button:disabled { opacity: .35; cursor: not-allowed; }
.secondary-button { border: 1px solid rgba(79,140,255,.38); border-radius: 11px; padding: 10px 13px; background: rgba(79,140,255,.08); color: #9fc0ff; font-size: 10px; font-weight: 800; cursor: pointer; }
.bottom-nav { position: fixed; z-index: 10; left: 50%; bottom: 15px; transform: translateX(-50%); width: min(440px, calc(100% - 24px)); height: 64px; display: grid; grid-template-columns: repeat(4, 1fr); padding: 7px; border: 1px solid rgba(255,255,255,.1); background: rgba(10,20,33,.92); backdrop-filter: blur(16px); border-radius: 20px; box-shadow: 0 18px 50px rgba(0,0,0,.4); }
.bottom-nav a { display: grid; place-content: center; text-align: center; color: var(--muted); border-radius: 14px; }
.bottom-nav a.active { color: var(--lime); background: rgba(201,255,47,.08); }
.bottom-nav span { font-size: 17px; line-height: 1; }
.bottom-nav small { font-size: 9px; margin-top: 5px; }

@media (max-width: 720px) {
    main { width: min(100% - 22px, 560px); }
    .topbar { height: 66px; padding: 0 14px; }
    .entry-switcher { grid-template-columns: 1fr; gap: 1px; }
    .entry-switcher select { max-width: 125px; }
    .hero { min-height: 0; grid-template-columns: 1fr; padding: 25px 20px; border-radius: 23px; }
    h1 { font-size: 49px; }
    .hero-copy > p:last-child { font-size: 12px; }
    .shared-staff-card { align-items: flex-start; flex-direction: column; }
    .staff-people { justify-content: flex-start; }
    .deadline-card strong { font-size: 31px; }
    .stats-grid { gap: 8px; margin-bottom: 36px; }
    .stats-grid article { padding: 14px 12px; }
    .stats-grid strong { font-size: 31px; }
    .stats-grid small { font-size: 9px; line-height: 1.3; }
    .section-heading { align-items: start; }
    .legend { max-width: 130px; text-align: right; line-height: 1.4; }
    .round-card { grid-template-columns: 56px 1fr; }
    .round-main { padding: 16px 14px; }
    .round-index strong { font-size: 26px; }
    .option-grid { grid-template-columns: 1fr; }
}

@media (min-width: 900px) {
    .round-list { grid-template-columns: repeat(2, 1fr); }
    .round-card.is-missing { grid-column: 1 / -1; }
    .round-card.is-missing .option-grid { grid-template-columns: repeat(4, 1fr); }
}

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

/* Email login */
.auth-page { min-height: 100vh; background: radial-gradient(circle at 18% 15%, #1a3150 0, #07101c 35rem); }
.auth-shell { width: min(1120px, calc(100% - 32px)); min-height: 100vh; margin: auto; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 70px; padding: 50px 0; }
.auth-intro { display: grid; gap: 22px; }
.auth-intro h1 { max-width: 720px; font-size: clamp(54px, 7vw, 86px); }
.auth-intro > div > p:last-child { max-width: 650px; color: #bdc7d4; line-height: 1.7; }
.auth-rule { display: flex; align-items: center; gap: 13px; padding-top: 10px; border-top: 1px solid var(--line); }
.auth-rule span { color: var(--lime); font: 800 18px/1 'Barlow Condensed'; }
.auth-rule p { margin: 0; color: #c9d1dc; font-size: 12px; }
.login-panel { border: 1px solid var(--line); border-radius: 28px; background: rgba(13, 25, 40, .92); padding: 34px; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.login-heading h2 { font-size: 50px; }
.login-heading > p:last-child { color: var(--muted); font-size: 12px; }
.login-form { display: grid; gap: 16px; margin-top: 27px; }
.login-form label:not(.remember-row), .settings-form label, .add-popover label, .edit-details label { display: grid; gap: 7px; }
.login-form label > span, .settings-form label > span, .add-popover label > span, .edit-details label > span { color: #aeb9c7; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.login-form input, .settings-form input, .settings-form select, .add-popover input, .edit-details input { width: 100%; border: 1px solid var(--line); border-radius: 12px; outline: none; background: #081321; color: var(--text); padding: 13px 14px; }
.login-form input:focus, .settings-form input:focus, .settings-form select:focus, .add-popover input:focus, .edit-details input:focus { border-color: rgba(201,255,47,.7); box-shadow: 0 0 0 3px rgba(201,255,47,.07); }
.remember-row { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 10px; }
.remember-row input { accent-color: var(--lime); }
.auth-submit { width: 100%; padding: 14px; margin-top: 3px; }
.demo-access { display: grid; gap: 7px; margin-top: 25px; padding-top: 20px; border-top: 1px solid var(--line); }
.demo-access > p { margin: 0 0 3px; color: var(--muted); font-size: 9px; letter-spacing: .09em; font-weight: 800; }
.demo-access button { display: flex; justify-content: space-between; gap: 12px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.025); color: var(--text); padding: 10px 12px; cursor: pointer; }
.demo-access button:hover { border-color: rgba(201,255,47,.45); }
.demo-access button span, .demo-access small { color: var(--muted); font-size: 9px; }
.demo-access button strong { font-size: 10px; }
.demo-access small { margin-top: 3px; }
.demo-access small b { color: var(--text); }

/* Mandatory password change */
.password-change-shell { grid-template-columns: 1.08fr .92fr; }
.password-change-intro > div > p:last-child { max-width: 610px; }
.password-change-panel { position: relative; overflow: hidden; }
.password-change-panel::before { content: ''; position: absolute; width: 180px; height: 180px; right: -98px; top: -104px; border: 30px solid rgba(201,255,47,.07); border-radius: 50%; pointer-events: none; }
.password-change-panel > * { position: relative; z-index: 1; }
.mandatory-step-badge { width: fit-content; display: flex; align-items: center; gap: 8px; margin-bottom: 25px; border: 1px solid rgba(201,255,47,.25); border-radius: 999px; background: rgba(201,255,47,.07); color: #dcff79; padding: 5px 10px 5px 5px; font-size: 9px; text-transform: uppercase; letter-spacing: .06em; }
.mandatory-step-badge span { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: #07101c; font: 800 12px/1 'Barlow Condensed'; }
.signed-in-account { display: grid; gap: 4px; margin-top: 19px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.025); padding: 12px 14px; overflow-wrap: anywhere; }
.signed-in-account span { color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: .07em; }
.signed-in-account strong { color: #dbe4ee; font-size: 11px; }
.password-requirements { display: grid; gap: 5px; border-left: 3px solid var(--blue); border-radius: 0 11px 11px 0; background: rgba(79,140,255,.07); padding: 11px 12px; }
.password-requirements strong { color: #a8c5ff; font-size: 10px; }
.password-requirements span { color: var(--muted); font-size: 9px; line-height: 1.5; }
.access-lock-note { margin: 18px 0 0; color: var(--muted); text-align: center; font-size: 8px; line-height: 1.5; }
.access-lock-note span { color: var(--lime); margin-right: 4px; }
.password-change-logout { display: flex; justify-content: center; margin-top: 10px; }
.password-change-logout button { border: 0; background: transparent; color: #aeb9c7; padding: 6px 9px; font-size: 9px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.password-change-logout button:hover { color: var(--text); }

/* Branded forbidden page */
.forbidden-page { display: grid; place-items: center; padding: 24px; }
.forbidden-shell { width: min(100%, 720px); }
.forbidden-panel { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 30px; background: linear-gradient(145deg, rgba(16,32,52,.97), rgba(7,16,28,.99)); padding: clamp(24px, 6vw, 52px); box-shadow: 0 30px 90px rgba(0,0,0,.38); }
.forbidden-panel::after { content: ''; position: absolute; width: 320px; height: 320px; right: -190px; top: -185px; border: 48px solid rgba(255,81,87,.08); border-radius: 50%; pointer-events: none; }
.forbidden-panel > * { position: relative; z-index: 1; }
.forbidden-brand { width: fit-content; margin-bottom: clamp(44px, 9vw, 72px); }
.forbidden-code { width: fit-content; margin-bottom: 14px; border: 1px solid rgba(255,81,87,.3); border-radius: 999px; background: rgba(255,81,87,.08); color: #ff9296; padding: 7px 11px; font: 800 12px/1 'Barlow Condensed'; letter-spacing: .12em; }
.forbidden-panel h1 { max-width: 600px; margin: 8px 0 0; font-size: clamp(42px, 8vw, 66px); line-height: .96; }
.forbidden-copy { max-width: 570px; margin: 19px 0 0; color: #bdc7d4; font-size: 13px; line-height: 1.65; }
.forbidden-actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: 9px; margin-top: 28px; }
.forbidden-actions form { display: flex; margin: 0; }
.forbidden-actions .primary-button, .forbidden-actions .ghost-button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 17px; font-size: 11px; font-weight: 800; }

@media (max-width: 520px) {
    .forbidden-page { padding: 10px; }
    .forbidden-panel { border-radius: 23px; padding: 22px 18px 20px; }
    .forbidden-brand { margin-bottom: 48px; }
    .forbidden-panel h1 { font-size: 42px; }
    .forbidden-copy { font-size: 12px; }
    .forbidden-actions, .forbidden-actions form, .forbidden-actions .primary-button, .forbidden-actions .ghost-button { width: 100%; }
}

/* Season setup */
.admin-shell { padding-bottom: 70px; }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.admin-badge { border: 1px solid rgba(201,255,47,.3); color: var(--lime); border-radius: 999px; padding: 6px 9px; font-size: 8px; font-weight: 800; letter-spacing: .09em; }
.ghost-button { border: 1px solid var(--line); border-radius: 10px; color: #bbc5d1; background: transparent; padding: 8px 11px; font-size: 9px; cursor: pointer; }
.admin-hero { min-height: 250px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 30px; overflow: hidden; position: relative; border: 1px solid var(--line); border-radius: 30px; padding: 34px; background: linear-gradient(115deg, #152a45, #0a1523); }
.admin-hero::after { content: ''; position: absolute; width: 470px; height: 470px; right: -200px; top: -290px; border: 76px solid rgba(201,255,47,.08); border-radius: 50%; }
.admin-hero > * { position: relative; z-index: 1; }
.admin-hero h1 { max-width: 760px; font-size: clamp(48px, 7vw, 76px); }
.admin-hero p:last-child { max-width: 700px; color: #bdc7d4; line-height: 1.6; font-size: 13px; }
.readiness-ring { width: 140px; height: 140px; display: grid; place-content: center; text-align: center; border: 12px solid rgba(201,255,47,.16); border-top-color: var(--lime); border-radius: 50%; background: rgba(7,16,28,.45); }
.readiness-ring strong { font: 800 38px/1 'Barlow Condensed'; }
.readiness-ring span { color: var(--muted); font-size: 8px; margin-top: 5px; text-transform: uppercase; }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 16px 0; }
.admin-stats article { border: 1px solid var(--line); border-radius: 17px; background: var(--panel); padding: 17px 19px; }
.admin-stats span, .admin-stats small { display: block; color: var(--muted); font-size: 9px; }
.admin-stats strong { display: block; margin: 6px 0 3px; font: 800 34px/1 'Barlow Condensed'; }
.setup-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 34px 0; }
.setup-steps article { display: flex; align-items: center; gap: 10px; border-bottom: 2px solid #233247; padding: 11px 4px; }
.setup-steps article > span { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: #18273a; color: var(--muted); font: 800 12px/1 'Barlow Condensed'; }
.setup-steps strong, .setup-steps small { display: block; }
.setup-steps strong { font-size: 10px; }
.setup-steps small { color: var(--muted); font-size: 8px; margin-top: 3px; }
.setup-steps article.is-ready { border-color: var(--lime); }
.setup-steps article.is-ready > span { background: var(--lime); color: #07101c; }
.admin-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 14px; }
.admin-panel { border: 1px solid var(--line); border-radius: 22px; background: var(--panel); padding: 24px; }
.panel-heading { display: flex; justify-content: space-between; gap: 16px; align-items: start; }
.panel-heading h2, .readiness-panel h2 { font-size: 31px; }
.settings-form { display: grid; gap: 14px; margin-top: 24px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.readiness-panel { display: flex; flex-direction: column; }
.check-list { display: grid; gap: 9px; list-style: none; padding: 0; margin: 22px 0; }
.check-list li { display: flex; align-items: center; gap: 9px; color: #a8b3c1; font-size: 10px; }
.check-list li > span { width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; color: var(--red); background: rgba(255,93,108,.09); font-size: 10px; font-weight: 800; }
.check-list li.ok { color: var(--text); }
.check-list li.ok > span { color: #07101c; background: var(--lime); }
.panel-warning { color: #ff9ca5; font-size: 10px; line-height: 1.5; }
.full-button { width: 100%; margin-top: auto; }
.safe-note { display: block; color: var(--muted); text-align: center; font-size: 8px; margin-top: 9px; }
.management-section { margin-top: 52px; }
.management-section .section-heading > div > p:last-child { margin: 5px 0 0; color: var(--muted); font-size: 10px; }
.section-heading-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.provider-status { border: 1px solid rgba(255,200,87,.28); border-radius: 11px; background: rgba(255,200,87,.07); color: #ffd77f; padding: 10px 12px; font-size: 9px; font-weight: 700; }
.logo-sync-banner { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 15px 0 12px; border: 1px solid rgba(79,140,255,.25); border-radius: 14px; background: rgba(79,140,255,.055); padding: 13px 15px; }
.logo-sync-banner strong, .logo-sync-banner span { display: block; }
.logo-sync-banner strong { color: #a8c5ff; font-size: 10px; }
.logo-sync-banner span, .logo-sync-banner small { color: var(--muted); font-size: 8px; margin-top: 3px; }
.no-mail-banner { display: flex; align-items: center; gap: 10px; margin: 15px 0 10px; border: 1px solid rgba(79,140,255,.28); border-radius: 13px; background: rgba(79,140,255,.07); padding: 12px 14px; }
.no-mail-banner strong { color: #8db4ff; font-size: 10px; }
.no-mail-banner span { color: var(--muted); font-size: 9px; }
.access-setup-panel { display: grid; grid-template-columns: 1fr 1.05fr; gap: 18px; margin: 10px 0 16px; border: 1px solid rgba(201,255,47,.2); border-radius: 20px; background: linear-gradient(125deg, rgba(201,255,47,.055), rgba(13,25,40,.9) 48%); padding: 20px; }
.access-setup-copy h3 { margin: 0; font: 800 26px/1 'Barlow Condensed'; text-transform: uppercase; }
.access-setup-copy > p:last-of-type { max-width: 540px; margin: 8px 0 0; color: var(--muted); font-size: 9px; line-height: 1.6; }
.access-safety-list { display: grid; gap: 7px; margin: 16px 0 0; padding: 0; list-style: none; color: #c8d2dd; font-size: 8px; }
.access-safety-list li { display: flex; align-items: center; gap: 7px; }
.access-safety-list span { width: 18px; height: 18px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: rgba(201,255,47,.09); color: var(--lime); font-size: 9px; }
.access-setup-control { display: grid; align-content: start; gap: 10px; }
.access-setup-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.access-setup-stats span { min-width: 0; border: 1px solid var(--line); border-radius: 12px; background: rgba(7,16,28,.52); color: var(--muted); padding: 10px; font-size: 7px; line-height: 1.35; }
.access-setup-stats strong { display: block; margin-bottom: 4px; color: var(--text); font: 800 24px/1 'Barlow Condensed'; }
.access-initialize-details { border: 1px solid var(--line); border-radius: 14px; background: rgba(7,16,28,.44); overflow: hidden; }
.access-initialize-details > summary { position: relative; list-style: none; cursor: pointer; color: var(--lime); padding: 13px 38px 13px 14px; font-size: 9px; font-weight: 800; }
.access-initialize-details > summary::-webkit-details-marker { display: none; }
.access-initialize-details > summary::after { content: '+'; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font: 800 18px/1 'Barlow Condensed'; }
.access-initialize-details[open] > summary::after { content: '−'; }
.access-initialize-details > form { display: grid; gap: 11px; border-top: 1px solid var(--line); padding: 14px; }
.access-initialize-details label:not(.access-confirm-row) { display: grid; gap: 6px; }
.access-initialize-details label:not(.access-confirm-row) > span, .access-form-heading > span { color: var(--muted); font-size: 8px; line-height: 1.5; }
.access-initialize-details input[type='password'] { width: 100%; border: 1px solid var(--line); border-radius: 11px; outline: none; background: #081321; color: var(--text); padding: 12px 13px; }
.access-initialize-details input[type='password']:focus { border-color: rgba(201,255,47,.7); box-shadow: 0 0 0 3px rgba(201,255,47,.07); }
.access-form-heading { display: grid; gap: 4px; }
.access-form-heading strong { color: #dce5ee; font-size: 10px; }
.access-confirm-row { display: flex !important; align-items: flex-start; gap: 8px !important; color: var(--muted); font-size: 8px; line-height: 1.45; text-transform: none; letter-spacing: 0; }
.access-confirm-row input { width: auto !important; margin: 1px 0 0; padding: 0 !important; flex: 0 0 auto; accent-color: var(--lime); }
.access-confirm-row > span { color: var(--muted) !important; font-size: 8px !important; font-weight: 500 !important; text-transform: none !important; letter-spacing: 0 !important; }
.access-initialize-details .primary-button { width: 100%; }
.import-report { display: flex; align-items: center; gap: 10px; margin: 10px 0; border: 1px solid rgba(201,255,47,.28); border-radius: 13px; background: rgba(201,255,47,.07); padding: 12px 14px; }
.import-report strong { color: var(--lime); font-size: 10px; }
.import-report span { color: #c2ccd8; font-size: 9px; }
.bulk-import-panel { scroll-margin-top: 14px; margin: 10px 0; border: 1px solid var(--line); border-radius: 17px; background: rgba(13,25,40,.72); overflow: hidden; }
.bulk-import-panel > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 17px; cursor: pointer; }
.bulk-import-panel > summary::-webkit-details-marker { display: none; }
.bulk-import-panel > summary span, .bulk-import-panel > summary strong, .bulk-import-panel > summary small { display: block; }
.bulk-import-panel > summary strong { font-size: 11px; }
.bulk-import-panel > summary small { color: var(--muted); font-size: 8px; margin-top: 4px; }
.bulk-import-panel > summary b { border-radius: 999px; background: rgba(79,140,255,.1); color: #9fc0ff; padding: 7px 10px; font-size: 8px; }
.bulk-import-panel[open] > summary { border-bottom: 1px solid var(--line); }
.bulk-import-panel[open] > summary b { color: var(--muted); font-size: 0; }
.bulk-import-panel[open] > summary b::after { content: 'Chiudi'; font-size: 8px; }
.bulk-import-body { display: grid; gap: 15px; padding: 16px; }
.bulk-import-guide { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.bulk-import-guide > div { border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.02); padding: 12px; }
.bulk-import-guide strong, .bulk-import-guide span { display: block; }
.bulk-import-guide strong { color: #dce5ee; font-size: 9px; }
.bulk-import-guide span { color: var(--muted); font-size: 8px; line-height: 1.55; margin-top: 4px; }
.bulk-downloads { display: flex; flex-wrap: wrap; gap: 8px; }
.bulk-downloads a { border: 1px solid rgba(79,140,255,.28); border-radius: 10px; color: #a8c5ff; padding: 9px 11px; font-size: 9px; font-weight: 700; }
.bulk-import-body form { display: grid; gap: 11px; }
.file-drop, .paste-list { display: grid; gap: 7px; }
.file-drop > span, .paste-list > span { color: #aeb9c7; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.file-drop { border: 1px dashed rgba(201,255,47,.28); border-radius: 13px; background: rgba(201,255,47,.025); padding: 13px; }
.file-drop input { width: 100%; color: #c7d1dc; font-size: 9px; }
.file-drop input::file-selector-button { border: 0; border-radius: 8px; background: rgba(201,255,47,.14); color: var(--lime); padding: 8px 10px; margin-right: 9px; font-weight: 800; }
.file-drop small { color: var(--muted); font-size: 8px; }
.paste-list textarea { width: 100%; resize: vertical; border: 1px solid var(--line); border-radius: 12px; outline: none; background: #081321; color: var(--text); padding: 12px 13px; font: 10px/1.6 ui-monospace, SFMono-Regular, Consolas, monospace; }
.paste-list textarea:focus { border-color: rgba(201,255,47,.7); box-shadow: 0 0 0 3px rgba(201,255,47,.07); }
.import-divider { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 8px; text-transform: uppercase; }
.import-divider::before, .import-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.bulk-import-body .safe-note { margin: 0; text-align: left; line-height: 1.5; }
.bulk-import-body .primary-button { justify-self: start; }
.candidate-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 10px 0; }
.candidate-stats article { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); padding: 13px; }
.candidate-stats strong, .candidate-stats span { display: block; }
.candidate-stats strong { font: 800 27px/1 'Barlow Condensed'; }
.candidate-stats span { color: var(--muted); font-size: 8px; margin-top: 5px; }
.candidate-stats article.has-warning { border-color: rgba(255,93,108,.3); }
.candidate-stats article.has-warning strong { color: var(--red); }
.candidate-filters { display: grid; grid-template-columns: 1.5fr .8fr .8fr auto auto; align-items: end; gap: 8px; margin: 10px 0 14px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.02); padding: 12px; }
.candidate-filters label { display: grid; gap: 6px; }
.candidate-filters label > span { color: var(--muted); font-size: 8px; font-weight: 700; text-transform: uppercase; }
.candidate-filters input, .candidate-filters select { width: 100%; min-height: 36px; border: 1px solid var(--line); border-radius: 9px; outline: none; background: #081321; color: var(--text); padding: 8px 10px; font-size: 9px; }
.candidate-filters .primary-button { min-height: 36px; }
.reset-filter { min-height: 36px; display: grid; place-items: center; color: var(--muted); font-size: 8px; padding: 0 7px; }
.add-popover { position: relative; }
.add-popover > summary { list-style: none; border: 1px solid rgba(201,255,47,.35); border-radius: 11px; color: var(--lime); padding: 10px 13px; font-size: 10px; font-weight: 800; cursor: pointer; }
.add-popover > summary::-webkit-details-marker { display: none; }
.add-popover > form { position: absolute; z-index: 5; right: 0; top: 45px; width: 310px; display: grid; gap: 11px; border: 1px solid var(--line); border-radius: 17px; background: #101d2d; padding: 17px; box-shadow: 0 25px 60px rgba(0,0,0,.5); }
.management-list { display: grid; gap: 8px; }
.management-card { display: grid; grid-template-columns: auto 1.1fr .7fr auto; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 17px; background: rgba(13,25,40,.8); padding: 13px; }
.management-card.is-selected { border-color: rgba(201,255,47,.24); }
.identity-mark { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: #dbe4ee; background: linear-gradient(145deg, #294361, #152337); font: 800 14px/1 'Barlow Condensed'; }
.management-copy strong, .management-copy span, .management-copy small { display: block; }
.management-copy strong { font-size: 11px; }
.management-copy span, .management-copy small { color: var(--muted); font-size: 8px; margin-top: 3px; }
.management-copy .missing-value { color: var(--red); }
.account-state { display: flex; flex-wrap: wrap; gap: 5px; }
.account-state span { display: inline-block; border-radius: 999px; background: rgba(255,255,255,.05); color: #a9b4c1; padding: 6px 9px; font-size: 8px; }
.account-state .state-ready { color: var(--lime); background: rgba(201,255,47,.08); }
.account-state .state-warning { color: #ff9ca5; background: rgba(255,93,108,.09); }
.account-state .state-access-warning { color: #ffd77f; background: rgba(255,200,87,.09); }
.account-state .state-access-ready { color: #9fc0ff; background: rgba(79,140,255,.09); }
.account-state .state-access-muted { color: #7d8a9a; background: rgba(255,255,255,.035); }
.management-actions { display: flex; align-items: center; gap: 6px; }
.management-actions button, .edit-details > summary { border: 1px solid var(--line); border-radius: 9px; background: transparent; color: #bbc5d1; padding: 8px 10px; font-size: 8px; cursor: pointer; }
.management-actions .select-button { border-color: rgba(201,255,47,.28); color: var(--lime); }
.management-actions .remove-button { color: #ff9ca5; }
.management-actions button:disabled { opacity: .3; cursor: not-allowed; }
.edit-details { position: relative; }
.edit-details > summary { list-style: none; }
.edit-details > summary::-webkit-details-marker { display: none; }
.edit-details > form { position: absolute; z-index: 6; right: 0; top: 39px; width: 300px; display: grid; gap: 10px; border: 1px solid var(--line); border-radius: 16px; background: #101d2d; padding: 16px; box-shadow: 0 25px 60px rgba(0,0,0,.5); }
.account-access-details > summary { border-color: rgba(255,200,87,.26); color: #ffd77f; }
.account-access-details .safe-note { margin: 0; line-height: 1.45; }
.account-card { grid-template-columns: auto 1.1fr .7fr auto; }
.entry-list { grid-column: 1 / -1; display: grid; gap: 6px; padding-top: 11px; border-top: 1px solid var(--line); }
.entry-row { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.018); padding: 9px; }
.entry-row.is-confirmed { border-color: rgba(201,255,47,.22); background: rgba(201,255,47,.025); }
.entry-number { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; color: var(--lime); background: rgba(201,255,47,.08); font: 800 11px/1 'Barlow Condensed'; }
.entry-copy strong, .entry-copy small { display: block; }
.entry-copy strong { font-size: 10px; }
.entry-copy small { color: var(--muted); font-size: 8px; margin-top: 3px; }
.entry-row button, .entry-edit > summary { border: 1px solid var(--line); border-radius: 8px; background: transparent; color: #bbc5d1; padding: 7px 9px; font-size: 8px; cursor: pointer; }
.entry-row .select-button { border-color: rgba(201,255,47,.28); color: var(--lime); }
.entry-row .remove-button { color: #ff9ca5; }
.entry-row button:disabled { opacity: .3; cursor: not-allowed; }
.entry-edit { position: relative; }
.entry-edit > summary { list-style: none; }
.entry-edit > summary::-webkit-details-marker { display: none; }
.entry-edit > form { top: 36px; }
.staff-membership { border: 1px solid rgba(79,140,255,.25); border-radius: 999px; color: #9fc0ff; padding: 6px 9px; font-size: 8px; }
.entry-staff { grid-column: 1 / -1; display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 9px; }
.entry-staff-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.entry-staff-heading strong, .entry-staff-heading small { display: block; }
.entry-staff-heading strong { color: #dbe4ee; font-size: 9px; }
.entry-staff-heading small { color: var(--muted); font-size: 8px; margin-top: 3px; }
.staff-admin-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.staff-admin-list > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.018); padding: 7px; }
.staff-admin-list > div > span { min-width: 0; display: flex; align-items: center; gap: 7px; }
.staff-admin-list > div > span > b { flex: 0 0 auto; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; color: #e2eaf2; background: #294361; font: 800 8px/1 'Barlow Condensed'; }
.staff-admin-list strong, .staff-admin-list small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.staff-admin-list strong { font-size: 8px; }
.staff-admin-list small { max-width: 180px; color: var(--muted); font-size: 7px; margin-top: 2px; }
.staff-admin-list em { color: #8fa8c5; font-size: 7px; font-style: normal; text-align: right; }
.staff-admin-actions { display: flex; align-items: center; gap: 4px; }
.staff-admin-actions button { padding: 5px 7px; font-size: 7px; }
.staff-admin-list .remove-staff { border-color: rgba(255,93,108,.2); color: #ff9ca5; padding: 5px 7px; font-size: 7px; }
.staff-add > summary { border-color: rgba(79,140,255,.28); color: #9fc0ff; }
.team-management-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.team-management-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); padding: 12px; opacity: .55; }
.team-management-card.is-selected { opacity: 1; border-color: rgba(201,255,47,.25); }
.team-management-card strong, .team-management-card small { display: block; }
.team-management-card strong { font-size: 10px; }
.team-management-card small { color: var(--muted); font-size: 8px; margin-top: 4px; }
.team-management-card button { border: 0; border-radius: 8px; background: rgba(255,255,255,.06); color: #9daabc; padding: 7px 8px; font-size: 8px; cursor: pointer; }
.team-management-card.is-selected button { color: var(--lime); background: rgba(201,255,47,.08); }
.simple-pagination { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin-top: 13px; color: var(--muted); font-size: 9px; }
.simple-pagination a:last-child, .simple-pagination span:last-child { text-align: right; }
.simple-pagination a { color: var(--lime); }
.simple-pagination strong { color: #c4ceda; font-size: 8px; }
.calendar-management { scroll-margin-top: 14px; margin: 18px 0 34px; border: 1px solid var(--line); border-radius: 22px; background: rgba(13,25,40,.72); padding: 22px; }
.calendar-management .section-heading { align-items: center; }
.calendar-management .section-heading p:last-child { color: var(--muted); font-size: 10px; }
.calendar-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 15px 0; }
.calendar-summary article { border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.02); padding: 13px; }
.calendar-summary strong, .calendar-summary span { display: block; }
.calendar-summary strong { color: var(--lime); font: 800 24px/1 'Barlow Condensed'; }
.calendar-summary span { color: var(--muted); font-size: 8px; margin-top: 5px; }
.schedule-status-banner { display: grid; gap: 4px; border: 1px solid rgba(255,200,87,.28); border-radius: 14px; background: rgba(255,200,87,.055); padding: 13px 15px; }
.schedule-status-banner strong { color: #ffd77f; font-size: 10px; }
.schedule-status-banner span { color: #b9c4d1; font-size: 9px; line-height: 1.5; }
.schedule-status-banner.is-ready { border-color: rgba(201,255,47,.25); background: rgba(201,255,47,.055); }
.schedule-status-banner.is-ready strong { color: var(--lime); }
.uefa-import-panel { display: grid; gap: 11px; margin-top: 9px; border: 1px solid rgba(79,140,255,.3); border-radius: 14px; background: rgba(79,140,255,.055); padding: 14px 15px; }
.uefa-import-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.uefa-import-heading strong, .uefa-import-heading span { display: block; }
.uefa-import-heading strong { color: #a8c5ff; font-size: 10px; }
.uefa-import-heading span { color: var(--muted); font-size: 8px; line-height: 1.5; margin-top: 4px; }
.uefa-import-heading > b { flex: 0 0 auto; color: #a8c5ff; font: 800 25px/1 'Barlow Condensed'; }
.uefa-import-copy { margin: 0; color: #b9c4d1; font-size: 9px; line-height: 1.55; }
.uefa-import-copy.is-ready { color: var(--lime); }
.uefa-official-sources { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 12px; }
.uefa-official-sources span, .uefa-official-sources a { font-size: 9px; line-height: 1.45; }
.uefa-official-sources span { color: var(--muted); }
.uefa-official-sources a { color: #a8c5ff; font-weight: 800; }
.uefa-import-unavailable { margin: 0; border-radius: 10px; background: rgba(255,200,87,.09); color: #ffd77f; padding: 9px 10px; font-size: 9px; line-height: 1.5; }
.uefa-import-preview { display: grid; gap: 10px; border: 1px solid rgba(201,255,47,.24); border-radius: 12px; background: rgba(201,255,47,.055); padding: 11px 12px; }
.uefa-import-preview strong, .uefa-import-preview span { display: block; }
.uefa-import-preview strong { color: var(--lime); font-size: 10px; }
.uefa-import-preview > div span { color: #b9c4d1; font-size: 9px; line-height: 1.5; margin-top: 3px; }
.uefa-import-preview-note { margin: 0; color: #aeb9c7; font-size: 9px; line-height: 1.5; }
.uefa-round-previews { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.uefa-round-preview { border: 1px solid rgba(255,255,255,.08); border-radius: 9px; background: rgba(255,255,255,.035); overflow: hidden; }
.uefa-round-preview summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 8px 10px; cursor: pointer; touch-action: manipulation; }
.uefa-round-preview summary::marker { color: #a8c5ff; }
.uefa-round-preview summary span, .uefa-round-preview summary strong, .uefa-round-preview summary small { display: block; }
.uefa-round-preview summary strong { color: #fff; font-size: 10px; }
.uefa-round-preview summary small { color: var(--muted); font-size: 8px; line-height: 1.4; margin-top: 2px; }
.uefa-round-preview summary > b { color: #a8c5ff; font-size: 8px; text-align: right; }
.uefa-matchup-list { display: grid; border-top: 1px solid rgba(255,255,255,.07); }
.uefa-matchup-row { display: grid; grid-template-columns: 98px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 8px 10px; }
.uefa-matchup-row + .uefa-matchup-row { border-top: 1px solid rgba(255,255,255,.055); }
.uefa-matchup-row span, .uefa-matchup-row time { color: var(--muted); font-size: 8px; line-height: 1.4; }
.uefa-matchup-row strong { color: #edf2f7; font-size: 9px; line-height: 1.4; }
.uefa-matchup-row strong i { color: #6f7b89; font-style: normal; }
.uefa-matchup-row strong em { color: var(--lime); font-style: normal; }
.uefa-matchup-row time { text-align: right; }
.uefa-import-actions { display: flex; align-items: end; justify-content: flex-end; gap: 8px; border-top: 1px solid rgba(79,140,255,.18); padding-top: 11px; }
.uefa-import-apply { display: flex; align-items: end; gap: 8px; }
.uefa-import-apply label { display: flex; align-items: flex-start; gap: 7px; max-width: 340px; color: #aeb9c7; font-size: 8px; line-height: 1.4; }
.uefa-import-apply input { flex: 0 0 auto; margin-top: 1px; accent-color: var(--lime); }
.uefa-import-next-step { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.5; }
.fixture-sync-panel { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 9px; border: 1px solid rgba(79,140,255,.28); border-radius: 14px; background: rgba(79,140,255,.055); padding: 14px 15px; }
.fixture-sync-panel > div:first-child strong, .fixture-sync-panel > div:first-child span { display: block; }
.fixture-sync-panel > div:first-child strong { color: #a8c5ff; font-size: 10px; }
.fixture-sync-panel > div:first-child span { color: var(--muted); font-size: 8px; line-height: 1.5; margin-top: 4px; }
.fixture-sync-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 7px; }
.calendar-ready-banner { display: grid; gap: 4px; border: 1px solid rgba(201,255,47,.25); border-radius: 14px; background: rgba(201,255,47,.055); padding: 14px; }
.calendar-ready-banner strong { color: var(--lime); font-size: 10px; }
.calendar-ready-banner span { color: #b9c4d1; font-size: 9px; line-height: 1.5; }
.calendar-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; margin-top: 14px; }
.calendar-round { display: grid; grid-template-columns: 50px 1fr; min-width: 0; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.018); overflow: hidden; }
.calendar-round.is-uefa { border-color: rgba(79,140,255,.3); background: rgba(79,140,255,.045); }
.calendar-round.has-overlap { box-shadow: inset 3px 0 #ffc857; }
.calendar-round.has-alert { border-color: rgba(255,93,108,.45); }
.calendar-round-number { display: grid; place-content: center; text-align: center; border-right: 1px solid var(--line); background: rgba(255,255,255,.02); }
.calendar-round-number span { color: var(--muted); font: 700 9px/1 'Barlow Condensed'; }
.calendar-round-number strong { font: 800 23px/1 'Barlow Condensed'; }
.calendar-round-copy { min-width: 0; padding: 11px; }
.calendar-round-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.calendar-round-heading strong { font-size: 9px; }
.calendar-round-heading span { border-radius: 999px; background: rgba(255,200,87,.1); color: #ffd77f; padding: 4px 6px; font-size: 6px; font-weight: 800; text-transform: uppercase; }
.calendar-round-copy > b { display: block; color: #dbe4ee; font: 700 15px/1.1 'Barlow Condensed'; margin-top: 5px; text-transform: uppercase; }
.calendar-source-rounds { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.calendar-source-rounds span { border: 1px solid var(--line); border-radius: 6px; color: #9eabb9; padding: 3px 5px; font-size: 7px; }
.calendar-coverage { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; border-top: 1px solid var(--line); padding-top: 7px; }
.calendar-coverage span, .calendar-coverage strong { color: var(--muted); font-size: 7px; }
.calendar-coverage.is-complete strong { color: var(--lime); }
.calendar-control-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.calendar-control-row span { color: #8290a1; font-size: 7px; }
.calendar-control-row a { flex: 0 0 auto; color: #a8c5ff; font-size: 7px; font-weight: 800; }

.round-control-shell main { display: grid; gap: 15px; }
.round-control-hero { display: grid; grid-template-columns: 105px 1fr; align-items: center; gap: 25px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(135deg, rgba(79,140,255,.12), rgba(201,255,47,.035)); padding: 24px; }
.round-control-number { display: grid; place-content: center; width: 105px; height: 105px; border: 1px solid rgba(201,255,47,.28); border-radius: 24px; background: rgba(201,255,47,.055); text-align: center; }
.round-control-number span { color: var(--muted); font: 700 9px/1 'Barlow Condensed'; letter-spacing: .12em; }
.round-control-number strong { color: var(--lime); font: 800 48px/.9 'Barlow Condensed'; }
.round-control-hero h1 { font: 800 42px/1 'Barlow Condensed'; text-transform: uppercase; }
.round-control-hero p:last-child { max-width: 700px; color: var(--muted); font-size: 10px; line-height: 1.55; margin-top: 8px; }
.round-control-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.round-control-stats article { display: grid; gap: 4px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); padding: 14px; }
.round-control-stats strong { font: 800 25px/1 'Barlow Condensed'; }
.round-control-stats span { color: var(--muted); font-size: 8px; }
.round-control-stats article.is-ok strong { color: var(--lime); }
.round-control-stats article.is-manual strong { color: #ffd77f; }
.round-alert-banner { display: grid; gap: 4px; border: 1px solid rgba(255,93,108,.32); border-radius: 14px; background: rgba(255,93,108,.055); padding: 13px 15px; }
.round-alert-banner strong { color: #ff9ca5; font-size: 10px; }
.round-alert-banner span { color: #c2cbd5; font-size: 9px; }
.round-lock-panel { scroll-margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 22px; border: 1px solid rgba(79,140,255,.3); border-radius: 18px; background: rgba(79,140,255,.055); padding: 17px; }
.round-lock-panel > div:first-child strong, .round-lock-panel > div:first-child span, .round-lock-panel > div:first-child small { display: block; }
.round-lock-panel > div:first-child strong { color: #c8d9ff; font: 800 21px/1.15 'Barlow Condensed'; text-transform: uppercase; }
.round-lock-panel > div:first-child span { color: var(--muted); font-size: 8px; margin-top: 5px; }
.round-lock-panel > div:first-child small { color: #ffd77f; font-size: 7px; margin-top: 7px; }
.round-lock-actions { display: flex; align-items: center; gap: 7px; }
.inline-control-details { position: relative; }
.inline-control-details > summary { list-style: none; border: 1px solid rgba(79,140,255,.38); border-radius: 11px; background: rgba(79,140,255,.08); color: #9fc0ff; padding: 10px 13px; font-size: 10px; font-weight: 800; cursor: pointer; }
.inline-control-details > summary::-webkit-details-marker { display: none; }
.inline-control-details > form { position: absolute; z-index: 8; top: 43px; right: 0; width: 330px; display: grid; gap: 11px; border: 1px solid var(--line); border-radius: 16px; background: #101d2d; padding: 16px; box-shadow: 0 25px 60px rgba(0,0,0,.5); }
.inline-control-details label, .fixture-editor label { display: grid; gap: 7px; }
.inline-control-details label > span, .fixture-editor label > span { color: #aeb9c7; font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.inline-control-details input, .inline-control-details textarea, .fixture-editor input, .fixture-editor select, .fixture-editor textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; outline: none; background: #081321; color: var(--text); padding: 11px 12px; }
.inline-control-details textarea, .fixture-editor textarea { resize: vertical; }
.inline-control-details input:focus, .inline-control-details textarea:focus, .fixture-editor input:focus, .fixture-editor select:focus, .fixture-editor textarea:focus { border-color: rgba(201,255,47,.7); box-shadow: 0 0 0 3px rgba(201,255,47,.07); }
.competition-fixtures { border: 1px solid var(--line); border-radius: 20px; background: rgba(13,25,40,.7); padding: 18px; }
.competition-fixtures-heading { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-bottom: 10px; }
.competition-fixtures-heading h2, .round-audit-panel h2 { font: 800 26px/1 'Barlow Condensed'; text-transform: uppercase; }
.competition-fixtures-heading > span { color: var(--muted); font-size: 8px; }
.fixture-control-list { display: grid; gap: 7px; }
.fixture-control-card { border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.018); overflow: hidden; scroll-margin-top: 12px; }
.fixture-control-card.is-manual { border-color: rgba(255,200,87,.38); box-shadow: inset 3px 0 #ffc857; }
.fixture-control-card.has-alert { border-color: rgba(255,93,108,.42); }
.fixture-control-main { display: grid; grid-template-columns: 82px minmax(0, 1fr) 130px; align-items: center; min-height: 76px; }
.fixture-control-time { display: grid; place-content: center; align-self: stretch; border-right: 1px solid var(--line); text-align: center; padding: 8px; }
.fixture-control-time strong { font: 800 21px/1 'Barlow Condensed'; }
.fixture-control-time span { color: var(--muted); font-size: 7px; margin-top: 4px; }
.fixture-control-teams { display: grid; gap: 7px; padding: 10px 14px; }
.fixture-control-teams > div { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 8px; min-width: 0; }
.fixture-control-teams .team-logo { width: 22px; height: 22px; }
.fixture-control-teams strong { min-width: 0; font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fixture-control-teams b { font: 800 17px/1 'Barlow Condensed'; }
.fixture-control-state { display: grid; justify-items: end; gap: 5px; padding: 10px 13px; }
.fixture-control-state small { color: var(--muted); font-size: 7px; }
.fixture-control-state em { color: #ffd77f; font-size: 7px; font-style: normal; font-weight: 800; }
.fixture-status { border-radius: 999px; background: rgba(255,255,255,.06); color: #b9c4d1; padding: 5px 7px; font-size: 7px; font-weight: 800; text-transform: uppercase; }
.fixture-status.status-finished, .fixture-status.status-awarded { background: rgba(201,255,47,.08); color: var(--lime); }
.fixture-status.status-live { background: rgba(255,93,108,.1); color: #ff9ca5; }
.fixture-status.status-postponed, .fixture-status.status-suspended, .fixture-status.status-cancelled { background: rgba(255,200,87,.1); color: #ffd77f; }
.fixture-editor { border-top: 1px solid var(--line); }
.fixture-editor > summary { list-style: none; color: #9fc0ff; padding: 9px 13px; font-size: 8px; font-weight: 800; text-align: right; cursor: pointer; }
.fixture-editor > summary::-webkit-details-marker { display: none; }
.fixture-editor[open] > summary { background: rgba(79,140,255,.04); }
.fixture-editor-body { display: grid; gap: 12px; border-top: 1px solid var(--line); background: rgba(4,12,22,.38); padding: 14px; }
.fixture-editor-body > form { display: grid; gap: 11px; }
.fixture-provider-data { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 7px; }
.fixture-form-grid, .fixture-score-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.fixture-editor .confirm-time-row { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 9px; border: 1px solid rgba(201,255,47,.16); border-radius: 10px; background: rgba(201,255,47,.035); padding: 10px; }
.fixture-editor .confirm-time-row input { width: 16px; height: 16px; padding: 0; accent-color: var(--lime); }
.fixture-editor .confirm-time-row span { color: #c8d3df; font-size: 8px; text-transform: none; letter-spacing: 0; }
.manual-override-note { display: grid; gap: 3px; border-left: 2px solid #ffc857; padding-left: 10px; }
.manual-override-note strong { color: #ffd77f; font-size: 8px; }
.manual-override-note span { color: #bfc8d3; font-size: 8px; }
.danger-button { justify-self: start; border: 1px solid rgba(255,93,108,.28); border-radius: 10px; background: rgba(255,93,108,.055); color: #ff9ca5; padding: 9px 11px; font-size: 8px; font-weight: 800; cursor: pointer; }
.empty-round-state { display: grid; gap: 7px; place-items: center; border: 1px dashed rgba(79,140,255,.35); border-radius: 20px; background: rgba(79,140,255,.035); padding: 55px 20px; text-align: center; }
.empty-round-state strong { color: #a8c5ff; font: 800 27px/1 'Barlow Condensed'; text-transform: uppercase; }
.empty-round-state p { max-width: 540px; color: var(--muted); font-size: 9px; line-height: 1.55; }
.round-audit-panel { display: grid; gap: 12px; border: 1px solid var(--line); border-radius: 18px; background: rgba(13,25,40,.7); padding: 17px; }
.round-audit-list { display: grid; gap: 6px; }
.round-audit-list article { display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 7px; }
.round-audit-list span, .round-audit-list small { color: var(--muted); font-size: 7px; }
.round-audit-list strong { font-size: 8px; }

/* Standings */
.standings-shell main { display: grid; gap: 16px; }
.standings-hero { min-height: 220px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 28px; overflow: hidden; position: relative; border: 1px solid var(--line); border-radius: 30px; background: linear-gradient(120deg, rgba(22,39,63,.97), rgba(10,21,35,.97)); padding: 32px; }
.standings-hero::after { content: ''; position: absolute; width: 390px; height: 390px; right: -120px; top: -245px; border: 68px solid rgba(201,255,47,.085); border-radius: 50%; }
.standings-hero > * { position: relative; z-index: 1; }
.standings-hero h1 { max-width: 760px; }
.standings-hero p:last-child { max-width: 680px; color: #bdc7d4; font-size: 13px; line-height: 1.6; }
.standings-update { min-width: 220px; border: 1px solid rgba(201,255,47,.24); border-radius: 18px; background: rgba(5,14,24,.68); padding: 17px; }
.standings-update span, .standings-update strong, .standings-update small { display: block; }
.standings-update span { color: var(--lime); font-size: 8px; font-weight: 800; letter-spacing: .1em; }
.standings-update strong { font: 800 23px/1 'Barlow Condensed'; margin: 8px 0 5px; text-transform: uppercase; }
.standings-update small { color: var(--muted); font-size: 9px; }
.standings-table { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: rgba(13,25,40,.8); }
.standings-head, .standing-row { display: grid; grid-template-columns: 58px minmax(180px, 1fr) repeat(7, 48px) 64px; align-items: center; }
.standings-head { min-height: 42px; color: var(--muted); background: rgba(255,255,255,.025); font-size: 8px; font-weight: 800; text-align: center; letter-spacing: .06em; }
.standings-head span:nth-child(2) { text-align: left; }
.standing-row { min-height: 62px; border-top: 1px solid var(--line); text-align: center; }
.standing-row.is-mine { background: linear-gradient(90deg, rgba(201,255,47,.085), rgba(201,255,47,.018)); box-shadow: inset 3px 0 var(--lime); }
.standing-position { display: grid; place-items: center; }
.standing-position span { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 10px; background: rgba(255,255,255,.055); font: 800 17px/1 'Barlow Condensed'; }
.standing-row.is-mine .standing-position span { color: #08111f; background: var(--lime); }
.standing-name { min-width: 0; text-align: left; }
.standing-name strong, .standing-name small { display: block; }
.standing-name strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.standing-name small { color: var(--lime); font-size: 7px; margin-top: 3px; text-transform: uppercase; letter-spacing: .08em; }
.standing-row > span { color: #aeb9c6; font-size: 10px; }
.standing-points { color: var(--lime); font: 800 23px/1 'Barlow Condensed'; }
.standings-rules, .empty-standings { display: grid; gap: 5px; border: 1px solid rgba(79,140,255,.25); border-radius: 16px; background: rgba(79,140,255,.045); padding: 15px 17px; }
.standings-rules strong, .empty-standings strong { color: #a8c5ff; font-size: 10px; }
.standings-rules span, .empty-standings p { color: var(--muted); font-size: 9px; line-height: 1.5; margin: 0; }
.empty-standings { place-items: center; min-height: 180px; text-align: center; }
.standings-control-panel { scroll-margin-top: 14px; margin-bottom: 34px; }
.standings-control-panel .section-heading p:last-child { color: var(--muted); font-size: 10px; }
.standings-admin-summary article:nth-child(3) strong, .standings-admin-summary article:nth-child(4) strong { font-size: 18px; }

@media (max-width: 820px) {
    .auth-shell { grid-template-columns: 1fr; gap: 35px; padding: 28px 0; }
    .auth-intro .auth-rule { display: none; }
    .auth-intro h1 { font-size: 52px; }
    .login-panel { padding: 25px 20px; }
    .password-change-shell { gap: 24px; }
    .access-setup-panel { grid-template-columns: 1fr; }
    .admin-hero { grid-template-columns: 1fr; min-height: 0; padding: 25px 20px; }
    .admin-hero h1 { font-size: 48px; }
    .readiness-ring { width: 102px; height: 102px; border-width: 9px; }
    .admin-stats { grid-template-columns: repeat(2, 1fr); }
    .setup-steps { grid-template-columns: repeat(2, 1fr); }
    .admin-grid { grid-template-columns: 1fr; }
    .management-card { grid-template-columns: auto 1fr auto; }
    .account-state { grid-column: 2; }
    .management-actions { grid-column: 3; grid-row: 1 / span 2; }
    .account-actions { grid-column: 3; grid-row: 1 / span 2; }
    .team-management-grid { grid-template-columns: repeat(2, 1fr); }
    .candidate-filters { grid-template-columns: 1fr 1fr; }
    .candidate-filters label:first-child { grid-column: 1 / -1; }
    .calendar-grid { grid-template-columns: 1fr; }
    .round-control-hero { grid-template-columns: 85px 1fr; }
    .round-control-number { width: 85px; height: 85px; }
    .round-control-number strong { font-size: 39px; }
    .round-control-stats { grid-template-columns: repeat(2, 1fr); }
    .standings-hero { grid-template-columns: 1fr; min-height: 0; padding: 25px 20px; }
    .standings-update { min-width: 0; }
    .standings-head, .standing-row { grid-template-columns: 52px minmax(145px, 1fr) repeat(3, 46px) 58px; }
    .standings-head span:nth-child(n+6):nth-child(-n+9), .standing-row > span:nth-of-type(n+4) { display: none; }
}

@media (max-width: 520px) {
    .auth-intro h1 { font-size: 45px; }
    .password-change-shell { width: min(100% - 22px, 560px); padding-top: 18px; }
    .password-change-intro { gap: 15px; }
    .password-change-intro > div > p:last-child { font-size: 11px; line-height: 1.55; }
    .password-change-panel { border-radius: 22px; padding: 22px 17px; }
    .mandatory-step-badge { margin-bottom: 20px; font-size: 10px; }
    .signed-in-account span { font-size: 10px; }
    .signed-in-account strong { font-size: 12px; }
    .password-requirements strong { font-size: 11px; }
    .password-requirements span, .access-lock-note { font-size: 10px; }
    .access-setup-panel { gap: 16px; border-radius: 17px; padding: 15px 13px; }
    .access-setup-copy h3 { font-size: 24px; }
    .access-safety-list { font-size: 10px; }
    .access-setup-stats { gap: 5px; }
    .access-setup-stats span { padding: 9px 7px; font-size: 10px; }
    .access-setup-stats strong { font-size: 22px; }
    .access-initialize-details > summary,
    .access-initialize-details label:not(.access-confirm-row) > span,
    .access-form-heading > span,
    .access-confirm-row,
    .access-confirm-row > span { font-size: 10px !important; }
    .access-form-heading strong { font-size: 11px; }
    .account-state span { font-size: 10px; }
    .admin-hero { align-items: start; }
    .admin-stats article { padding: 14px 12px; }
    .management-section .section-heading { align-items: end; }
    .management-section .section-heading > div { max-width: 68%; }
    .section-heading-actions { flex-direction: column; align-items: flex-end; }
    .logo-sync-banner { align-items: flex-start; flex-direction: column; gap: 5px; }
    .management-card { grid-template-columns: auto 1fr; }
    .account-state { grid-column: 2; }
    .management-actions { grid-column: 1 / -1; grid-row: auto; justify-content: flex-end; border-top: 1px solid var(--line); padding-top: 9px; }
    .account-card { grid-template-columns: auto 1fr; }
    .account-state { grid-column: 2; }
    .account-actions { grid-column: 1 / -1; grid-row: auto; }
    .entry-row { grid-template-columns: auto 1fr auto; }
    .entry-row .entry-edit { grid-column: 2 / -1; justify-self: end; }
    .entry-staff-heading { align-items: flex-start; flex-direction: column; }
    .staff-admin-list { grid-template-columns: 1fr; }
    .staff-add { width: 100%; }
    .staff-add > summary { text-align: center; }
    .edit-details > form, .add-popover > form { position: fixed; inset: auto 12px 85px 12px; width: auto; }
    .team-management-grid { grid-template-columns: 1fr; }
    .field-row { grid-template-columns: 1fr; }
    .candidate-stats { grid-template-columns: repeat(2, 1fr); }
    .candidate-filters { grid-template-columns: 1fr; }
    .candidate-filters label:first-child { grid-column: auto; }
    .no-mail-banner { align-items: flex-start; flex-direction: column; gap: 4px; }
    .import-report { align-items: flex-start; flex-direction: column; gap: 4px; }
    .bulk-import-guide { grid-template-columns: 1fr; }
    .bulk-downloads { display: grid; grid-template-columns: 1fr; }
    .bulk-downloads a { text-align: center; }
    .bulk-import-body .primary-button { width: 100%; justify-self: stretch; }
    .calendar-management { padding: 16px 12px; }
    .calendar-management .section-heading { align-items: flex-start; flex-direction: column; }
    .calendar-management .section-heading form, .calendar-management .section-heading button, .calendar-actions { width: 100%; }
    .calendar-actions { display: grid; grid-template-columns: 1fr; }
    .fixture-sync-panel { align-items: stretch; flex-direction: column; }
    .fixture-sync-actions { display: grid; grid-template-columns: 1fr; }
    .fixture-sync-actions form, .fixture-sync-actions button { width: 100%; }
    .uefa-import-heading { align-items: flex-start; }
    .uefa-import-actions, .uefa-import-apply { display: grid; grid-template-columns: 1fr; align-items: stretch; }
    .uefa-import-actions form, .uefa-import-actions button { width: 100%; }
    .uefa-import-apply label { max-width: none; }
    .uefa-import-heading strong { font-size: 12px; }
    .uefa-import-heading .eyebrow { font-size: 10px; }
    .uefa-import-heading span, .uefa-import-copy, .uefa-official-sources span, .uefa-official-sources a,
    .uefa-import-unavailable, .uefa-import-apply label, .uefa-import-next-step,
    .uefa-import-preview > div span, .uefa-import-preview-note, .uefa-round-preview summary strong, .uefa-round-preview summary small,
    .uefa-round-preview summary > b, .uefa-matchup-row span, .uefa-matchup-row strong, .uefa-matchup-row time { font-size: 10px; }
    .uefa-import-preview strong { font-size: 12px; }
    .uefa-round-previews { grid-template-columns: 1fr; }
    .uefa-round-preview summary { min-height: 48px; }
    .uefa-matchup-row { grid-template-columns: 1fr auto; gap: 3px 8px; padding: 10px; }
    .uefa-matchup-competition { grid-column: 1 / -1; }
    .uefa-official-sources { align-items: flex-start; flex-direction: column; }
    .calendar-summary { grid-template-columns: repeat(2, 1fr); }
    .calendar-round { grid-template-columns: 43px 1fr; }
    .calendar-round-heading { align-items: flex-start; flex-direction: column; }
    .calendar-control-row { align-items: flex-start; flex-direction: column; }
    .round-control-hero { grid-template-columns: 1fr; padding: 18px; }
    .round-control-number { width: 72px; height: 72px; border-radius: 18px; }
    .round-control-number strong { font-size: 34px; }
    .round-control-hero h1 { font-size: 34px; }
    .round-lock-panel { align-items: stretch; flex-direction: column; }
    .round-lock-actions { display: grid; grid-template-columns: 1fr; }
    .round-lock-actions form, .round-lock-actions button, .inline-control-details, .inline-control-details > summary { width: 100%; }
    .inline-control-details > summary { text-align: center; }
    .inline-control-details > form { position: fixed; inset: auto 12px 70px 12px; width: auto; }
    .competition-fixtures { padding: 13px 9px; }
    .fixture-control-main { grid-template-columns: 66px 1fr; }
    .fixture-control-state { grid-column: 1 / -1; display: flex; align-items: center; justify-content: flex-end; border-top: 1px solid var(--line); padding: 7px 10px; }
    .fixture-control-teams { padding: 9px 10px; }
    .fixture-form-grid, .fixture-score-fields { grid-template-columns: 1fr; }
    .fixture-provider-data { align-items: flex-start; flex-direction: column; }
    .fixture-editor .primary-button, .fixture-editor .danger-button { width: 100%; }
    .round-audit-list article { grid-template-columns: 1fr auto; }
    .round-audit-list span { grid-column: 1 / -1; }
    .standings-shell .topbar-actions .admin-badge { display: none; }
    .standings-shell .topbar-actions { gap: 5px; }
    .standings-shell .ghost-button { padding: 7px 8px; font-size: 8px; }
    .standings-hero { border-radius: 23px; padding: 23px 18px; }
    .standings-hero h1 { font-size: 46px; }
    .standings-hero p:last-child { font-size: 11px; }
    .standings-head { display: none; }
    .standings-table { display: grid; gap: 7px; overflow: visible; border: 0; border-radius: 0; background: transparent; }
    .standing-row { grid-template-columns: 48px minmax(0, 1fr) repeat(3, 35px) 48px; min-height: 67px; border: 1px solid var(--line); border-radius: 15px; background: var(--panel); overflow: hidden; }
    .standing-row > span { display: grid; align-content: center; align-self: stretch; position: relative; padding-top: 11px; font-size: 9px; }
    .standing-row > span::before { content: attr(data-label); position: absolute; top: 11px; left: 0; right: 0; color: #647387; font-size: 6px; }
    .standing-row > span:nth-of-type(n+4) { display: none; }
    .standing-position span { width: 29px; height: 29px; }
    .standing-name { padding-right: 5px; }
    .standing-name strong { font-size: 10px; }
    .standing-points { font-size: 21px; }
    .standings-control-panel .section-heading { max-width: none; }
    .standings-control-panel .section-heading > div { max-width: none; }
    .standings-control-panel .section-heading-actions, .standings-control-panel .section-heading-actions a, .standings-control-panel .section-heading-actions form, .standings-control-panel .section-heading-actions button { width: 100%; }
}

/* Complete player game */
.player-home { display: grid; gap: 18px; }
.home-scoreboard, .page-intro { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 30px; background: linear-gradient(118deg, #172b46, #0a1523 72%); padding: 32px; }
.home-scoreboard { min-height: 270px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 30px; }
.home-scoreboard::after, .page-intro::after { content: ''; position: absolute; width: 420px; height: 420px; top: -270px; right: -120px; border: 70px solid rgba(201,255,47,.075); border-radius: 50%; pointer-events: none; }
.home-welcome, .score-orbit, .page-intro > * { position: relative; z-index: 1; }
.home-welcome h1 { max-width: 760px; }
.home-welcome > p:last-child, .page-intro > div > p:last-child { max-width: 640px; color: #bdc7d4; font-size: 13px; line-height: 1.65; }
.score-orbit { display: flex; align-items: center; gap: 18px; min-width: 240px; }
.score-orbit > div { width: 116px; height: 116px; display: grid; place-content: center; text-align: center; border: 10px solid rgba(201,255,47,.17); border-top-color: var(--lime); border-radius: 50%; background: rgba(5,14,24,.5); }
.score-orbit > div span { color: var(--muted); font: 700 9px/1 'Barlow Condensed'; }
.score-orbit > div strong { color: var(--lime); font: 800 42px/.9 'Barlow Condensed'; }
.score-orbit p { margin: 0; }
.score-orbit p b, .score-orbit p span { display: block; }
.score-orbit p b { font: 800 31px/1 'Barlow Condensed'; }
.score-orbit p span { color: var(--muted); font-size: 9px; margin-top: 4px; text-transform: uppercase; }
.home-action-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 14px; }
.next-choice-card { min-height: 320px; display: flex; flex-direction: column; border: 1px solid rgba(201,255,47,.22); border-radius: 24px; background: linear-gradient(150deg, rgba(201,255,47,.08), var(--panel) 50%); padding: 24px; }
.next-choice-card.needs-action { border-color: rgba(255,93,108,.35); background: linear-gradient(150deg, rgba(255,93,108,.075), var(--panel) 50%); }
.card-kicker { color: var(--lime); font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.needs-action .card-kicker { color: #ff9ca5; }
.needs-action .live-dot { background: var(--red); box-shadow: 0 0 14px var(--red); }
.next-choice-heading { display: flex; align-items: center; gap: 18px; margin: 22px 0 14px; }
.next-choice-heading > div { min-width: 74px; padding-right: 18px; border-right: 1px solid var(--line); }
.next-choice-heading > div span, .next-choice-heading > div strong, .next-choice-heading p small { display: block; }
.next-choice-heading > div span { color: var(--muted); font-size: 9px; text-transform: uppercase; }
.next-choice-heading > div strong { font: 800 48px/.9 'Barlow Condensed'; }
.next-choice-heading p { margin: 0; font: 800 20px/1.1 'Barlow Condensed'; text-transform: uppercase; }
.next-choice-heading p small { color: var(--muted); margin-top: 6px; font: 500 9px/1.3 Inter; text-transform: none; }
.home-missing-message { display: grid; gap: 5px; padding: 13px 0; }
.home-missing-message strong { color: #ff9ca5; font-size: 13px; }
.home-missing-message span { color: var(--muted); font-size: 10px; }
.home-selected-team { display: flex; align-items: center; gap: 11px; padding: 12px 0; }
.home-selected-team .team-logo { width: 43px; height: 43px; border-radius: 13px; }
.home-selected-team small, .home-selected-team strong { display: block; }
.home-selected-team small { color: var(--muted); font-size: 8px; text-transform: uppercase; }
.home-selected-team strong { margin-top: 4px; font-size: 15px; }
.action-link { align-self: flex-start; margin-top: auto; }
.home-deadline { color: var(--muted); font-size: 8px; margin-top: 9px; }
.home-mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.home-mini-card { display: flex; flex-direction: column; min-height: 155px; border: 1px solid var(--line); border-radius: 19px; background: var(--panel); padding: 17px; transition: border-color .2s, transform .2s; }
.home-mini-card:hover { transform: translateY(-1px); border-color: rgba(201,255,47,.3); }
.home-mini-card.warning { border-color: rgba(255,93,108,.34); }
.home-mini-card.attention { border-color: rgba(79,140,255,.38); }
.home-mini-card.attention strong { color: #9fc0ff; }
.home-mini-card span, .home-mini-card small { color: var(--muted); font-size: 8px; }
.home-mini-card strong { margin: auto 0 5px; font: 800 36px/1 'Barlow Condensed'; }
.home-mini-card.warning strong { color: var(--red); }
.home-staff { margin-top: 0; }
.home-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-top: 24px; }
.home-section-heading a { color: var(--lime); font-size: 10px; font-weight: 700; }
.upcoming-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.upcoming-card { display: grid; grid-template-columns: 43px 1fr auto; align-items: center; gap: 11px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); padding: 13px; }
.upcoming-card > span { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.05); font: 800 16px/1 'Barlow Condensed'; }
.upcoming-card strong, .upcoming-card small { display: block; }
.upcoming-card strong { font-size: 10px; }
.upcoming-card small { color: var(--muted); font-size: 8px; margin-top: 4px; }
.upcoming-card b { border-radius: 999px; padding: 5px 7px; font-size: 7px; font-style: normal; }
.state-ok { color: var(--lime); background: rgba(201,255,47,.09); }
.state-wait { color: #9fc0ff; background: rgba(79,140,255,.09); }
.state-missing { color: #ff9ca5; background: rgba(255,93,108,.09); }
.result-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.result-strip article { display: grid; grid-template-columns: auto 36px 1fr auto; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); padding: 12px; }
.result-strip article > span { color: var(--muted); font: 800 11px/1 'Barlow Condensed'; }
.result-strip .team-logo { width: 36px; height: 36px; border-radius: 10px; }
.result-strip article > strong { font-size: 9px; }
.result-strip article > b { font-size: 8px; border-radius: 999px; padding: 5px 7px; }

.page-intro { min-height: 220px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; margin-bottom: 16px; }
.page-intro h1 { max-width: 760px; }
.compact-intro { min-height: 200px; }
.teams-counter, .team-availability, .calendar-total { min-width: 130px; border: 1px solid rgba(201,255,47,.24); border-radius: 20px; background: rgba(5,14,24,.62); padding: 18px; text-align: center; }
.teams-counter span, .teams-counter strong, .teams-counter small, .team-availability span, .team-availability strong, .team-availability small, .calendar-total strong, .calendar-total span { display: block; }
.teams-counter span, .team-availability span, .calendar-total span { color: var(--muted); font-size: 8px; letter-spacing: .1em; }
.teams-counter strong, .team-availability strong, .calendar-total strong { color: var(--lime); font: 800 46px/.9 'Barlow Condensed'; margin: 7px 0; }
.teams-counter small, .team-availability small { color: var(--muted); font-size: 8px; }
.choice-summary-bar { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: var(--panel); }
.choice-summary-bar span { padding: 13px; border-left: 1px solid var(--line); color: var(--muted); font-size: 9px; text-align: center; }
.choice-summary-bar span:first-child { border-left: 0; }
.choice-summary-bar b { color: var(--text); margin-right: 3px; }
.choice-summary-bar .has-alert b { color: var(--red); }
.filter-tabs { display: flex; gap: 6px; margin: 14px 0; overflow-x: auto; scrollbar-width: none; }
.filter-tabs::-webkit-scrollbar { display: none; }
.filter-tabs a { flex: 0 0 auto; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); padding: 8px 13px; font-size: 9px; font-weight: 700; }
.filter-tabs a.active { border-color: rgba(201,255,47,.35); background: rgba(201,255,47,.08); color: var(--lime); }
.player-choice-list { grid-template-columns: 1fr !important; }
.round-card.is-waiting { border-color: rgba(79,140,255,.28); }
.status-waiting { color: #9fc0ff; background: rgba(79,140,255,.09); }
.waiting-copy .team-crest { color: #9fc0ff; border-color: rgba(79,140,255,.35); background: rgba(79,140,255,.08); font-size: 11px; }
.waiting-copy strong { color: #a8c5ff; }
.empty-player-state { display: grid; place-items: center; gap: 8px; min-height: 240px; border: 1px dashed var(--line); border-radius: 22px; text-align: center; }
.empty-player-state strong { font: 800 26px/1 'Barlow Condensed'; text-transform: uppercase; }
.empty-player-state p { color: var(--muted); font-size: 10px; }
.empty-player-state a { color: var(--lime); font-size: 10px; }

.calendar-key { display: flex; flex-wrap: wrap; gap: 16px; border: 1px solid var(--line); border-radius: 15px; background: var(--panel); padding: 13px 16px; }
.calendar-key span { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 8px; }
.calendar-key b { width: 9px; height: 9px; border-radius: 3px; }
.key-domestic { background: var(--lime); }
.key-uefa { background: var(--blue); }
.key-overlap { border: 1px dashed #ffc857; }
.calendar-timeline { display: grid; gap: 8px; margin-top: 28px; }
.timeline-month { position: sticky; z-index: 2; top: 0; padding: 15px 0 6px; background: linear-gradient(var(--bg) 75%, transparent); }
.timeline-month span { color: var(--muted); font: 800 16px/1 'Barlow Condensed'; text-transform: uppercase; }
.calendar-turn { display: grid; grid-template-columns: 66px minmax(0, 1fr) minmax(140px, auto); min-height: 86px; align-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: var(--panel); }
.calendar-turn.is-uefa { box-shadow: inset 3px 0 var(--blue); }
.calendar-turn.is-domestic { box-shadow: inset 3px 0 var(--lime); }
.calendar-turn.has-overlap { border-style: dashed; border-color: rgba(255,200,87,.36); }
.calendar-turn-number { display: grid; place-content: center; align-self: stretch; border-right: 1px solid var(--line); text-align: center; }
.calendar-turn-number span { color: var(--muted); font: 700 9px/1 'Barlow Condensed'; }
.calendar-turn-number strong { font: 800 27px/1 'Barlow Condensed'; }
.calendar-turn-main { min-width: 0; padding: 13px 16px; }
.calendar-turn-main > span, .calendar-turn-main > strong, .calendar-turn-main > small { display: block; }
.calendar-turn-main > span { color: var(--muted); font-size: 7px; font-weight: 800; letter-spacing: .08em; }
.calendar-turn-main > strong { margin: 6px 0 5px; font: 800 17px/1 'Barlow Condensed'; text-transform: uppercase; }
.calendar-turn-main > small { color: var(--muted); font-size: 8px; }
.calendar-choice-state { display: flex; align-items: center; justify-content: flex-end; gap: 9px; padding: 12px 15px; text-align: right; }
.calendar-choice-state .team-logo { width: 36px; height: 36px; border-radius: 10px; }
.calendar-choice-state b, .calendar-choice-state small { display: block; }
.calendar-choice-state b { max-width: 135px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 9px; }
.calendar-choice-state small { color: var(--muted); font-size: 7px; margin-top: 3px; }
.calendar-choice-state a { color: var(--lime); font-size: 9px; font-weight: 800; }

.team-progress { position: relative; height: 35px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.team-progress > span { position: absolute; inset: 0 auto 0 0; width: var(--progress); background: linear-gradient(90deg, rgba(79,140,255,.18), rgba(201,255,47,.18)); }
.team-progress small { position: relative; z-index: 1; display: grid; place-content: center; height: 100%; color: #c4ceda; font-size: 8px; }
.teams-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.team-library-card { min-width: 0; display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 10px; border: 1px solid rgba(201,255,47,.18); border-radius: 16px; background: var(--panel); padding: 12px; }
.team-library-card.is-used { border-color: var(--line); opacity: .62; }
.team-library-card .team-logo { width: 42px; height: 42px; border-radius: 12px; }
.team-library-card > div { min-width: 0; }
.team-library-card > div strong, .team-library-card > div small { display: block; }
.team-library-card > div strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.team-library-card > div small { color: var(--muted); font-size: 7px; margin-top: 4px; }
.available-team-state { color: var(--lime); font-size: 7px; font-weight: 800; }
.used-team-state { text-align: right; }
.used-team-state b, .used-team-state small { display: block; }
.used-team-state b { font: 800 16px/1 'Barlow Condensed'; }
.used-team-state small { color: var(--muted); font-size: 7px; margin-top: 3px; }

@media (max-width: 820px) {
    .home-scoreboard, .page-intro { min-height: 0; grid-template-columns: 1fr; padding: 25px 20px; }
    .score-orbit { min-width: 0; }
    .score-orbit > div { width: 92px; height: 92px; border-width: 8px; }
    .score-orbit > div strong { font-size: 34px; }
    .home-action-grid { grid-template-columns: 1fr; }
    .result-strip { grid-template-columns: 1fr; }
    .teams-counter, .team-availability, .calendar-total { justify-self: start; min-width: 105px; padding: 13px; }
    .teams-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
    .home-scoreboard, .page-intro { border-radius: 23px; padding: 23px 18px; }
    .home-welcome h1, .page-intro h1 { font-size: 46px; }
    .home-welcome > p:last-child, .page-intro > div > p:last-child { font-size: 11px; }
    .home-mini-grid { gap: 7px; }
    .home-mini-card { min-height: 132px; padding: 14px 12px; }
    .home-mini-card strong { font-size: 31px; }
    .next-choice-card { min-height: 300px; padding: 19px 17px; }
    .next-choice-heading { gap: 12px; }
    .next-choice-heading > div { min-width: 60px; padding-right: 12px; }
    .next-choice-heading > div strong { font-size: 41px; }
    .upcoming-strip { grid-template-columns: 1fr; }
    .home-section-heading h2 { font-size: 29px; }
    .home-section-heading a { font-size: 8px; }
    .choice-summary-bar span { padding: 11px 5px; font-size: 7px; }
    .calendar-turn { grid-template-columns: 53px minmax(0, 1fr); }
    .calendar-turn-main { padding: 12px 11px; }
    .calendar-turn-main > strong { font-size: 15px; }
    .calendar-choice-state { grid-column: 1 / -1; min-height: 42px; border-top: 1px solid var(--line); padding: 7px 11px; }
    .calendar-choice-state .team-logo { width: 29px; height: 29px; }
    .teams-grid { grid-template-columns: 1fr; }
    .team-library-card { min-height: 68px; }
}

/* Player round detail */
.round-detail-page { display: grid; gap: 16px; }
.back-link { width: fit-content; color: var(--muted); font-size: 9px; font-weight: 700; }
.back-link:hover { color: var(--lime); }
.round-detail-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: 130px minmax(0, 1fr) auto; align-items: end; gap: 24px; min-height: 245px; border: 1px solid rgba(201,255,47,.22); border-radius: 30px; background: linear-gradient(120deg, rgba(30,53,70,.98), rgba(9,20,33,.98)); padding: 32px; }
.round-detail-hero.is-uefa { border-color: rgba(79,140,255,.32); background: linear-gradient(120deg, rgba(30,45,78,.98), rgba(9,20,33,.98)); }
.round-detail-hero::after { content: ''; position: absolute; width: 450px; height: 450px; right: -120px; top: -300px; border: 72px solid rgba(201,255,47,.075); border-radius: 50%; }
.round-detail-hero.is-uefa::after { border-color: rgba(79,140,255,.09); }
.round-detail-hero > * { position: relative; z-index: 1; }
.round-detail-number { display: grid; place-content: center; width: 130px; height: 130px; border: 1px solid rgba(201,255,47,.3); border-radius: 25px; background: rgba(201,255,47,.055); text-align: center; }
.is-uefa .round-detail-number { border-color: rgba(79,140,255,.38); background: rgba(79,140,255,.07); }
.round-detail-number span { color: var(--muted); font: 700 9px/1 'Barlow Condensed'; letter-spacing: .13em; }
.round-detail-number strong { color: var(--lime); font: 800 58px/.86 'Barlow Condensed'; }
.is-uefa .round-detail-number strong { color: #9fc0ff; }
.round-detail-heading h1 { font-size: clamp(40px, 5vw, 62px); }
.round-detail-heading > p:last-child { max-width: 650px; color: #bdc7d4; font-size: 11px; line-height: 1.55; }
.round-detail-status { align-self: start; }
.round-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.round-facts article { min-width: 0; border: 1px solid var(--line); border-radius: 17px; background: var(--panel); padding: 16px 18px; }
.round-facts span, .round-facts small { display: block; color: var(--muted); font-size: 8px; }
.round-facts strong { display: block; overflow: hidden; margin: 7px 0 5px; font: 800 31px/1 'Barlow Condensed'; text-overflow: ellipsis; white-space: nowrap; }
.round-facts .fact-choice { color: var(--lime); font-size: 23px; }
.round-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-top: 32px; }
.round-section-heading h2 { font-size: 38px; }
.round-section-heading p:last-child { max-width: 650px; color: var(--muted); font-size: 9px; line-height: 1.5; }
.round-section-heading > a { color: var(--lime); font-size: 9px; font-weight: 800; }
.round-choice-form { display: grid; gap: 14px; }
.choice-visibility-control { display: grid; gap: 9px; border: 1px solid rgba(79,140,255,.32); border-radius: 18px; background: linear-gradient(120deg, rgba(79,140,255,.09), rgba(13,25,40,.92)); padding: 15px 16px; }
.choice-visibility-control > label { display: grid; grid-template-columns: 24px minmax(0, 1fr); align-items: start; gap: 11px; cursor: pointer; }
.choice-visibility-control input[type='checkbox'] { width: 21px; height: 21px; margin: 1px 0 0; accent-color: var(--lime); }
.choice-visibility-control label span, .choice-visibility-control label strong, .choice-visibility-control label small { min-width: 0; display: block; }
.choice-visibility-control label strong { color: #e8eef8; font-size: 13px; line-height: 1.3; }
.choice-visibility-control label small { margin-top: 5px; color: #b9c6d7; font-size: 11px; line-height: 1.5; }
.choice-visibility-control > p { margin: 0 0 0 35px; color: #8fa3ba; font-size: 10px; line-height: 1.45; }
.choice-visibility-control.is-public { grid-template-columns: 40px minmax(0, 1fr); align-items: center; border-color: rgba(201,255,47,.28); background: rgba(201,255,47,.055); }
.choice-visibility-control.is-public > span { width: 40px; height: 40px; display: grid; place-content: center; border-radius: 12px; background: rgba(201,255,47,.12); color: var(--lime); font-weight: 900; }
.choice-visibility-control.is-public strong, .choice-visibility-control.is-public small { display: block; }
.choice-visibility-control.is-public strong { font-size: 13px; }
.choice-visibility-control.is-public small { margin-top: 4px; color: #b9c6d7; font-size: 11px; line-height: 1.45; }
.round-choice-tools { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); padding: 13px; }
.round-choice-tools > label:first-child { display: grid; gap: 6px; }
.round-choice-tools label > span { color: var(--muted); font-size: 8px; font-weight: 700; text-transform: uppercase; }
.round-choice-tools input[type='search'] { width: 100%; border: 1px solid var(--line); border-radius: 11px; outline: 0; background: #081321; color: var(--text); padding: 11px 12px; }
.round-choice-tools input[type='search']:focus { border-color: rgba(201,255,47,.65); box-shadow: 0 0 0 3px rgba(201,255,47,.06); }
.available-only { display: flex; align-items: center; gap: 7px; min-height: 39px; border: 1px solid var(--line); border-radius: 11px; padding: 0 11px; cursor: pointer; }
.available-only input { accent-color: var(--lime); }
.round-team-groups { display: grid; gap: 11px; }
.round-team-group { border: 1px solid var(--line); border-radius: 20px; background: rgba(13,25,40,.8); padding: 15px; }
.round-team-group-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.round-team-group-heading strong { font: 800 18px/1 'Barlow Condensed'; text-transform: uppercase; }
.round-team-group-heading span { color: var(--muted); font-size: 10px; }
.round-team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; }
.round-team-option { position: relative; display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 65px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.02); padding: 10px; cursor: pointer; }
.round-team-option:hover { border-color: rgba(255,255,255,.19); }
.round-team-option:has(input:checked) { border-color: var(--lime); background: rgba(201,255,47,.065); box-shadow: inset 3px 0 var(--lime); }
.round-team-option.is-used { opacity: .42; cursor: not-allowed; }
.round-team-option.is-future-reservation { border-color: rgba(79,140,255,.48); background: rgba(79,140,255,.075); box-shadow: inset 3px 0 #4f8cff; cursor: pointer; }
.round-team-option.is-future-reservation:hover { border-color: rgba(126,171,255,.82); background: rgba(79,140,255,.12); }
.round-team-option[hidden], .round-team-group[hidden] { display: none; }
.round-team-option > input { position: absolute; opacity: 0; pointer-events: none; }
.round-team-option .team-logo { width: 38px; height: 38px; border-radius: 11px; }
.round-option-team { min-width: 0; }
.round-option-team strong, .round-option-team small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.round-option-team strong { font-size: 12px; }
.round-option-team small { color: var(--muted); font-size: 10px; margin-top: 4px; }
.round-team-option > b { color: var(--lime); font-size: 10px; font-weight: 800; }
.round-team-option.is-used > b { color: var(--muted); }
.round-team-option.is-future-reservation > b { color: #9fc0ff; line-height: 1.35; overflow-wrap: anywhere; }
.round-team-option > b.is-current { color: var(--lime); }
.round-save-bar { position: sticky; z-index: 8; bottom: 88px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border: 1px solid rgba(201,255,47,.3); border-radius: 17px; background: rgba(9,20,33,.95); box-shadow: 0 18px 50px rgba(0,0,0,.38); backdrop-filter: blur(16px); padding: 12px 14px; }
.round-save-bar span { color: #c7d2df; font-size: 11px; }
.round-save-bar .primary-button { flex: 0 0 auto; }
.fixtures-heading { margin-top: 44px; }
.player-fixture-groups { display: grid; gap: 8px; }
.player-fixture-group { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.player-fixture-group > summary { display: flex; align-items: center; justify-content: space-between; list-style: none; padding: 15px 17px; cursor: pointer; }
.player-fixture-group > summary::-webkit-details-marker { display: none; }
.player-fixture-group > summary strong { font: 800 17px/1 'Barlow Condensed'; text-transform: uppercase; }
.player-fixture-group > summary span { color: var(--muted); font-size: 8px; }
.player-fixture-group[open] > summary { border-bottom: 1px solid var(--line); }
.player-fixture-list { display: grid; grid-template-columns: repeat(2, 1fr); }
.player-fixture-list article { display: grid; grid-template-columns: 76px minmax(0, 1fr); align-items: center; min-height: 72px; border-bottom: 1px solid var(--line); }
.player-fixture-list article:nth-child(odd) { border-right: 1px solid var(--line); }
.player-fixture-time { display: grid; place-content: center; align-self: stretch; border-right: 1px solid var(--line); padding: 8px; text-align: center; }
.player-fixture-time strong { font: 800 18px/1 'Barlow Condensed'; }
.player-fixture-time span { color: var(--muted); font-size: 6px; margin-top: 4px; }
.player-fixture-teams { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 7px; padding: 9px 11px; }
.player-fixture-teams > span { min-width: 0; display: flex; align-items: center; gap: 7px; }
.player-fixture-teams > span:last-child { justify-content: flex-end; text-align: right; }
.player-fixture-teams .team-logo { width: 28px; height: 28px; border-radius: 8px; }
.player-fixture-teams strong { min-width: 0; overflow: hidden; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.player-fixture-teams > b { color: var(--muted); font: 800 13px/1 'Barlow Condensed'; }
.round-awaiting-card, .locked-choice-card { display: flex; align-items: center; gap: 18px; min-height: 150px; border: 1px solid rgba(79,140,255,.3); border-radius: 22px; background: rgba(79,140,255,.055); padding: 24px; }
.round-awaiting-card > span { flex: 0 0 auto; width: 78px; height: 78px; display: grid; place-content: center; border-radius: 22px; background: rgba(79,140,255,.13); color: #a8c5ff; font: 800 18px/1 'Barlow Condensed'; }
.round-awaiting-card h2 { font-size: 29px; }
.round-awaiting-card p { max-width: 760px; color: var(--muted); font-size: 9px; line-height: 1.55; }
.locked-choice-card { border-color: var(--line); background: var(--panel); }
.locked-choice-card .team-logo { width: 55px; height: 55px; border-radius: 16px; }
.locked-choice-card span, .locked-choice-card strong, .locked-choice-card small { display: block; }
.locked-choice-card span { color: var(--muted); font-size: 7px; letter-spacing: .08em; }
.locked-choice-card strong { margin: 5px 0; font-size: 17px; }
.locked-choice-card small { color: var(--muted); font-size: 8px; }
.round-pagination { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 24px 0; }
.round-pagination a { display: flex; align-items: center; justify-content: space-between; min-height: 62px; border: 1px solid var(--line); border-radius: 15px; background: var(--panel); padding: 12px 14px; }
.round-pagination a:last-child { flex-direction: row-reverse; text-align: right; }
.round-pagination a span { color: var(--muted); font-size: 8px; }
.round-pagination a strong { font: 800 21px/1 'Barlow Condensed'; }
.round-detail-link { display: inline-block; color: #9fc0ff; font-size: 8px; font-weight: 700; margin-top: 7px; }
.round-choice-button { display: inline-block; width: fit-content; margin-top: 11px; border-radius: 10px; background: var(--lime); color: #08111f; padding: 8px 11px; font-size: 8px; font-weight: 800; }
.calendar-turn { position: relative; }
.calendar-turn-link { position: absolute; z-index: 1; inset: 0; }
.calendar-choice-state { position: relative; z-index: 2; pointer-events: none; }
.calendar-choice-state a { pointer-events: auto; }

@media (max-width: 820px) {
    .round-detail-hero { grid-template-columns: 95px 1fr; min-height: 0; padding: 23px 20px; }
    .round-detail-number { width: 95px; height: 95px; border-radius: 21px; }
    .round-detail-number strong { font-size: 45px; }
    .round-detail-status { grid-column: 1 / -1; }
    .round-team-grid { grid-template-columns: 1fr; }
    .player-fixture-list { grid-template-columns: 1fr; }
    .player-fixture-list article:nth-child(odd) { border-right: 0; }
}

@media (max-width: 560px) {
    .round-detail-hero { grid-template-columns: 72px 1fr; gap: 13px; border-radius: 23px; padding: 19px 16px; }
    .round-detail-number { width: 72px; height: 72px; border-radius: 17px; }
    .round-detail-number strong { font-size: 34px; }
    .round-detail-heading h1 { font-size: 34px; }
    .round-detail-heading > p:last-child { font-size: 9px; }
    .round-facts { grid-template-columns: 1fr 1fr; }
    .round-facts article:last-child { grid-column: 1 / -1; }
    .round-facts article { padding: 13px; }
    .round-facts strong { font-size: 27px; }
    .round-section-heading { align-items: flex-start; flex-direction: column; gap: 6px; }
    .round-section-heading h2 { font-size: 31px; }
    .round-choice-tools { grid-template-columns: 1fr; }
    .choice-visibility-control { padding: 14px 12px; }
    .choice-visibility-control > p { margin-left: 0; }
    .choice-visibility-control label strong, .choice-visibility-control.is-public strong { font-size: 14px; }
    .choice-visibility-control label small, .choice-visibility-control.is-public small { font-size: 12px; }
    .round-team-group { padding: 12px 9px; }
    .round-team-option { grid-template-columns: 36px minmax(0, 1fr); min-height: 65px; }
    .round-team-option > b { grid-column: 2; width: 100%; text-align: left; white-space: normal; overflow-wrap: anywhere; }
    .round-save-bar { align-items: stretch; flex-direction: column; bottom: 82px; }
    .round-save-bar .primary-button { width: 100%; }
    .player-fixture-list article { grid-template-columns: 65px minmax(0, 1fr); }
    .player-fixture-teams { padding: 8px; }
    .player-fixture-teams .team-logo { width: 24px; height: 24px; }
    .player-fixture-teams strong { font-size: 7px; }
    .round-awaiting-card { align-items: flex-start; flex-direction: column; padding: 19px; }
    .round-pagination a span { display: none; }
}

/* Player-facing results, exceptions and definitive states */
.status-pill { font-size: 10px; line-height: 1.2; }
.player-state-success, .player-state-positive, .player-state-open { color: var(--lime); background: rgba(201,255,47,.1); }
.player-state-warning, .player-state-attention { color: #ffd77f; background: rgba(255,200,87,.11); }
.player-state-danger, .player-state-negative, .player-state-error { color: #ff9ca5; background: rgba(255,93,108,.11); }
.player-state-info, .player-state-live { color: #a8c5ff; background: rgba(79,140,255,.11); }
.player-state-neutral, .player-state-muted { color: #c0cad5; background: rgba(255,255,255,.065); }

.player-alert-stack { display: grid; gap: 8px; }
.player-state-alert { min-width: 0; display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 16px; padding: 13px 15px; }
.player-state-alert.is-missed { border-color: rgba(255,93,108,.4); background: rgba(255,93,108,.07); }
.player-state-alert.is-disrupted { border-color: rgba(255,200,87,.38); background: rgba(255,200,87,.065); }
.player-state-alert.is-review { border-color: rgba(79,140,255,.38); background: rgba(79,140,255,.065); }
.player-state-alert-icon { width: 40px; height: 40px; display: grid; place-content: center; border-radius: 12px; background: rgba(255,255,255,.07); color: #fff; font: 800 18px/1 'Barlow Condensed'; }
.player-state-alert strong { display: block; color: #fff; font-size: 12px; line-height: 1.35; }
.player-state-alert p { margin: 4px 0 0; color: #bdc7d4; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.player-state-alert p b { color: #fff; }

.latest-result-card { min-width: 0; display: grid; grid-template-columns: minmax(210px, 1.5fr) minmax(100px, auto) minmax(105px, auto) minmax(120px, auto); align-items: stretch; overflow: hidden; border: 1px solid rgba(201,255,47,.26); border-radius: 20px; background: linear-gradient(115deg, rgba(201,255,47,.075), var(--panel) 56%); }
.latest-result-card > div { min-width: 0; display: grid; align-content: center; border-left: 1px solid var(--line); padding: 15px 17px; }
.latest-result-card > div:first-child { border-left: 0; }
.latest-result-heading { grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 4px 11px; }
.latest-result-heading > span { grid-column: 1 / -1; color: var(--lime); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.latest-result-heading .team-logo { grid-row: 2; width: 44px; height: 44px; border-radius: 12px; }
.latest-result-heading > strong { grid-column: 2; min-width: 0; overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.latest-result-score span, .latest-result-points span, .latest-result-standing span, .latest-result-standing small { display: block; color: var(--muted); font-size: 10px; }
.latest-result-score strong, .latest-result-points strong, .latest-result-standing strong { display: block; font: 800 31px/.95 'Barlow Condensed'; }
.latest-result-score span, .latest-result-points span { margin-top: 4px; }
.latest-result-points.result-3 strong { color: var(--lime); }
.latest-result-points.result-1 strong { color: #ffc857; }
.latest-result-points.result-0 strong { color: var(--red); }
.latest-result-standing strong { margin: 5px 0 3px; }

.next-choice-card.is-missed { border-color: rgba(255,93,108,.36); background: linear-gradient(150deg, rgba(255,93,108,.07), var(--panel) 52%); }
.home-missing-message.is-closed span { color: #d0a8ad; }
.secondary-detail-link { width: fit-content; margin-top: auto; color: #a8c5ff; font-size: 11px; font-weight: 800; }
.home-state-detail { color: #b6c1ce; font-size: 10px; line-height: 1.45; margin-top: 9px; }
.card-kicker, .next-choice-heading > div span, .next-choice-heading p small, .home-selected-team small, .home-deadline, .home-mini-card span, .home-mini-card small, .upcoming-card small, .upcoming-card b { font-size: 10px; }
.home-section-heading a, .teams-counter span, .teams-counter small, .team-availability span, .team-availability small, .calendar-total span, .team-progress small, .choice-author { font-size: 10px; }
.team-progress { min-height: 40px; height: auto; }
.team-progress small { min-height: 38px; padding: 5px 9px; line-height: 1.3; text-align: center; }
.upcoming-card b { max-width: 120px; line-height: 1.25; text-align: center; white-space: normal; }
.score-orbit > div span, .score-orbit p span { font-size: 10px; }
.result-strip article > strong { font-size: 11px; }
.result-strip article > b { font-size: 10px; }

.choice-summary-bar { grid-template-columns: repeat(6, 1fr); }
.choice-summary-bar span { min-width: 0; font-size: 10px; line-height: 1.3; }
.choice-summary-bar .has-warning b { color: #ffc857; }
.filter-tabs a { font-size: 10px; }
.round-card.is-missed-after-lock { border-color: rgba(255,93,108,.48); box-shadow: inset 3px 0 rgba(255,93,108,.8); }
.round-card.has-disruption { border-color: rgba(255,200,87,.42); box-shadow: inset 3px 0 rgba(255,200,87,.75); }
.round-card.has-attention { border-color: rgba(79,140,255,.42); box-shadow: inset 3px 0 rgba(79,140,255,.78); }
.choice-result-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: hidden; margin: 2px 0 12px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.025); }
.choice-result-summary > div { min-width: 0; border-left: 1px solid var(--line); padding: 10px 11px; }
.choice-result-summary > div:first-child { border-left: 0; }
.choice-result-summary span { display: block; color: var(--muted); font-size: 10px; letter-spacing: .05em; }
.choice-result-summary strong { display: block; overflow: hidden; margin-top: 5px; font: 800 21px/1 'Barlow Condensed'; text-overflow: ellipsis; white-space: nowrap; }
.choice-result-summary .result-3 strong { color: var(--lime); }
.choice-result-summary .result-1 strong { color: #ffc857; }
.choice-result-summary .result-0 strong { color: var(--red); }
.inline-choice-alert { margin: 0 0 12px; border: 1px solid var(--line); border-radius: 13px; padding: 11px 12px; }
.inline-choice-alert.is-disrupted { border-color: rgba(255,200,87,.35); background: rgba(255,200,87,.06); }
.inline-choice-alert.is-pending { border-color: rgba(79,140,255,.32); background: rgba(79,140,255,.055); }
.inline-choice-alert.is-review { border-color: rgba(79,140,255,.36); background: rgba(79,140,255,.06); }
.inline-choice-alert strong { display: block; color: #fff; font-size: 11px; }
.inline-choice-alert p { margin: 4px 0 0; color: #bdc7d4; font-size: 10px; line-height: 1.45; }
.missing-copy.is-locked small { color: #d5afb3; line-height: 1.45; }
.choice-state-detail { display: block; margin-top: 7px; color: #b6c1ce; font-size: 10px; line-height: 1.4; }
.round-detail-link, .round-choice-button { font-size: 10px; }

.round-facts span, .round-facts small { font-size: 10px; line-height: 1.35; }
.back-link, .round-detail-number span, .round-pagination a span { font-size: 10px; }
.round-detail-heading > p:last-child, .round-awaiting-card p { font-size: 11px; }
.round-facts article.is-missed { border-color: rgba(255,93,108,.38); background: rgba(255,93,108,.055); }
.round-facts article.is-missed .fact-choice { color: #ff9ca5; }
.round-result-panel { min-width: 0; display: grid; grid-template-columns: minmax(190px, 1.5fr) repeat(4, minmax(92px, auto)); overflow: hidden; border: 1px solid rgba(201,255,47,.28); border-radius: 19px; background: linear-gradient(115deg, rgba(201,255,47,.065), var(--panel) 52%); }
.round-result-panel > div { min-width: 0; display: grid; align-content: center; border-left: 1px solid var(--line); padding: 15px 16px; }
.round-result-panel > div:first-child { border-left: 0; }
.round-result-team { grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 11px; }
.round-result-team .team-logo { width: 48px; height: 48px; border-radius: 13px; }
.round-result-team span { min-width: 0; }
.round-result-team small, .round-result-team strong { display: block; }
.round-result-team small, .round-result-panel > div > span, .round-result-standing small { color: var(--muted); font-size: 10px; }
.round-result-team strong { overflow: hidden; margin-top: 5px; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.round-result-score strong, .round-result-outcome strong, .round-result-points strong, .round-result-standing strong { display: block; margin-top: 5px; font: 800 28px/.95 'Barlow Condensed'; white-space: nowrap; }
.round-result-points.result-3 strong { color: var(--lime); }
.round-result-points.result-1 strong { color: #ffc857; }
.round-result-points.result-0 strong { color: var(--red); }
.round-result-standing small { margin-top: 4px; }
.round-state-banner { min-width: 0; display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: center; gap: 13px; border: 1px solid var(--line); border-radius: 17px; padding: 14px 16px; }
.round-state-banner.is-disrupted { border-color: rgba(255,200,87,.38); background: rgba(255,200,87,.06); }
.round-state-banner.is-pending { border-color: rgba(79,140,255,.34); background: rgba(79,140,255,.055); }
.round-state-banner.is-review { border-color: rgba(79,140,255,.38); background: rgba(79,140,255,.06); }
.round-state-banner > span { width: 42px; height: 42px; display: grid; place-content: center; border-radius: 12px; background: rgba(255,255,255,.07); font: 800 18px/1 'Barlow Condensed'; }
.round-state-banner strong { display: block; font-size: 12px; }
.round-state-banner p { margin: 4px 0 0; color: #bdc7d4; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.round-section-heading p:last-child, .round-section-heading > a, .round-choice-tools label > span, .round-team-group-heading span, .round-option-team small, .round-team-option > b, .player-fixture-group > summary span { font-size: 10px; }
.round-save-bar span { font-size: 11px; }
.locked-choice-card span { font-size: 10px; }
.locked-choice-card small { font-size: 11px; line-height: 1.45; }
.locked-choice-card.is-missed { border-color: rgba(255,93,108,.42); background: rgba(255,93,108,.06); }
.locked-choice-card.is-missed span, .locked-choice-card.is-missed strong { color: #ff9ca5; }
.player-fixture-list article.is-selected { background: rgba(201,255,47,.045); box-shadow: inset 3px 0 var(--lime); }
.player-fixture-list article.has-disruption { background: rgba(255,200,87,.045); box-shadow: inset 3px 0 #ffc857; }
.player-fixture-time span { font-size: 10px; line-height: 1.25; }
.player-fixture-teams strong { font-size: 10px; }
.fixture-status-inline { display: block; width: fit-content; max-width: 100%; margin: 5px auto 0; border-radius: 999px; padding: 3px 6px; color: #c2ccd7; background: rgba(255,255,255,.065); font-size: 10px; font-style: normal; font-weight: 800; line-height: 1.15; }
.fixture-status-inline.status-live { color: #ff9ca5; background: rgba(255,93,108,.11); }
.fixture-status-inline.status-finished, .fixture-status-inline.status-awarded { color: var(--lime); background: rgba(201,255,47,.1); }
.fixture-status-inline.status-postponed, .fixture-status-inline.status-suspended, .fixture-status-inline.status-cancelled { color: #ffd77f; background: rgba(255,200,87,.11); }

.team-library-card.is-used { opacity: 1; }
.team-library-card.has-result { border-color: rgba(201,255,47,.27); background: rgba(201,255,47,.035); }
.team-library-card.has-disruption { border-color: rgba(255,200,87,.36); background: rgba(255,200,87,.045); }
.team-library-card.has-attention { border-color: rgba(79,140,255,.38); background: rgba(79,140,255,.045); }
.team-library-card > div small, .available-team-state, .used-team-state small { font-size: 10px; line-height: 1.3; }
.team-library-card > div em { display: block; margin-top: 5px; color: #ffd77f; font-size: 10px; font-style: normal; line-height: 1.3; }
.used-team-state { max-width: 150px; }
.used-team-state small { overflow-wrap: anywhere; }
.used-team-state small > strong { display: block; margin-bottom: 3px; color: #e9eef4; font: 800 12px/1.2 Inter; }
.used-team-state small.result-3 { color: var(--lime); }
.used-team-state small.result-1, .team-state-warning { color: #ffc857; }
.used-team-state small.result-0 { color: #ff9ca5; }
.team-state-live { color: #a8c5ff; }

.calendar-key span, .calendar-turn-number span, .calendar-turn-main > span, .calendar-turn-main > small, .calendar-choice-state b, .calendar-choice-state small, .calendar-choice-state a { font-size: 10px; line-height: 1.35; }
.calendar-turn.is-missed-after-lock { border-color: rgba(255,93,108,.46); box-shadow: inset 3px 0 var(--red); }
.calendar-turn.has-disruption { border-color: rgba(255,200,87,.42); box-shadow: inset 3px 0 #ffc857; }
.calendar-choice-state { min-width: 0; }
.calendar-choice-state > span { min-width: 0; }
.calendar-choice-state small { max-width: 180px; overflow-wrap: anywhere; }
.calendar-missed-state b, .calendar-missed-state small { color: #ff9ca5; }

@media (max-width: 820px) {
    .latest-result-card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .latest-result-heading, .latest-result-standing { grid-column: 1 / -1; }
    .latest-result-card > div { border-top: 1px solid var(--line); }
    .latest-result-heading { border-top: 0 !important; }
    .latest-result-card > div:nth-child(2), .latest-result-standing { border-left: 0; }
    .round-result-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .round-result-team, .round-result-standing { grid-column: 1 / -1; }
    .round-result-panel > div:nth-child(2), .round-result-panel > div:nth-child(4) { border-left: 0; }
    .round-result-panel > div { border-top: 1px solid var(--line); }
    .round-result-team { border-top: 0 !important; }
    .round-result-standing { border-left: 0 !important; }
}

@media (max-width: 560px) {
    .player-state-alert { grid-template-columns: 36px minmax(0, 1fr); padding: 12px; }
    .player-state-alert-icon { width: 36px; height: 36px; }
    .latest-result-card > div { padding: 13px; }
    .latest-result-heading { grid-template-columns: 40px minmax(0, 1fr); }
    .latest-result-heading .team-logo { width: 40px; height: 40px; }
    .latest-result-score strong, .latest-result-points strong, .latest-result-standing strong { font-size: 28px; }
    .choice-summary-bar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .choice-summary-bar span { min-height: 48px; display: grid; place-content: center; padding: 9px 5px; font-size: 10px; }
    .choice-summary-bar span:nth-child(4) { border-left: 0; border-top: 1px solid var(--line); }
    .choice-summary-bar span:nth-child(5), .choice-summary-bar span:nth-child(6) { border-top: 1px solid var(--line); }
    .choice-result-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .choice-result-summary > div:nth-child(3) { border-left: 0; }
    .choice-result-summary > div:nth-child(n+3) { border-top: 1px solid var(--line); }
    .round-result-panel > div { padding: 12px; }
    .round-result-score strong, .round-result-outcome strong, .round-result-points strong, .round-result-standing strong { font-size: 25px; }
    .round-state-banner { grid-template-columns: 36px minmax(0, 1fr); padding: 12px; }
    .round-state-banner > span { width: 36px; height: 36px; }
    .player-fixture-list article { grid-template-columns: 72px minmax(0, 1fr); }
    .player-fixture-teams { padding: 8px; }
    .player-fixture-teams strong { font-size: 10px; }
    .fixture-status-inline { padding: 3px 4px; font-size: 10px; }
    .team-library-card { grid-template-columns: 42px minmax(0, 1fr) minmax(78px, auto); }
    .used-team-state { max-width: 112px; }
    .calendar-choice-state { justify-content: flex-start; text-align: left; }
    .calendar-choice-state small { max-width: none; }
}

@media (max-width: 360px) {
    .topbar { padding-inline: 8px; gap: 6px; }
    .brand { min-width: 0; gap: 6px; }
    .brand-mark { width: 38px; height: 38px; flex-basis: 38px; }
    .brand strong { font-size: 16px; }
    .brand small { display: none; }
    .player-top-actions { min-width: 0; gap: 5px; }
    .entry-switcher { min-width: 0; padding: 5px 6px; }
    .entry-switcher select { width: 105px; max-width: 105px; }
    .profile-chip { width: 36px; height: 36px; padding: 0; }
    .latest-result-card > div { padding: 11px 10px; }
    .latest-result-heading > strong { font-size: 12px; }
    .player-state-alert p, .round-state-banner p { font-size: 10px; }
    .choice-summary-bar span { padding-inline: 3px; }
    .team-library-card { grid-template-columns: 38px minmax(0, 1fr) minmax(72px, auto); gap: 8px; padding: 10px; }
    .team-library-card .team-logo { width: 38px; height: 38px; }
    .used-team-state { max-width: 98px; }
    .player-fixture-list article { grid-template-columns: 66px minmax(0, 1fr); }
    .player-fixture-teams .team-logo { width: 22px; height: 22px; }
}

/* Admin operations centre */
.operations-shell main { display: grid; gap: 16px; }
.operations-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: 118px minmax(0, 1fr) 118px; align-items: end; gap: 26px; min-height: 248px; border: 1px solid rgba(201,255,47,.2); border-radius: 30px; background: linear-gradient(118deg, rgba(25,48,73,.98), rgba(8,19,32,.98)); padding: 32px; }
.operations-hero::after { content: ''; position: absolute; width: 460px; height: 460px; right: -150px; top: -305px; border: 74px solid rgba(201,255,47,.075); border-radius: 50%; pointer-events: none; }
.operations-hero > * { position: relative; z-index: 1; min-width: 0; }
.operations-round-number { width: 118px; height: 118px; display: grid; place-content: center; border: 1px solid rgba(201,255,47,.3); border-radius: 25px; background: rgba(201,255,47,.055); text-align: center; }
.operations-round-number span { color: var(--muted); font: 700 9px/1 'Barlow Condensed'; letter-spacing: .14em; }
.operations-round-number strong { color: var(--lime); font: 800 54px/.88 'Barlow Condensed'; }
.operations-hero-copy h1 { font-size: clamp(45px, 5.5vw, 66px); }
.operations-hero-copy > p:last-child { max-width: 670px; margin-bottom: 0; color: #bdc7d4; font-size: 11px; line-height: 1.6; }
.operations-progress { --ring-track: rgba(255,255,255,.09); position: relative; isolation: isolate; width: 118px; height: 118px; display: grid; place-content: center; align-self: center; border-radius: 50%; background: conic-gradient(var(--lime) var(--completion-angle), var(--ring-track) 0); text-align: center; }
.operations-progress::before { content: ''; position: absolute; z-index: -1; inset: 10px; border-radius: 50%; background: #0b1726; }
.operations-progress strong, .operations-progress span { display: block; }
.operations-progress strong { color: var(--lime); font: 800 32px/1 'Barlow Condensed'; }
.operations-progress span { max-width: 66px; margin-top: 4px; color: var(--muted); font-size: 7px; line-height: 1.25; text-transform: uppercase; }

.operations-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 12px; border: 1px solid var(--line); border-radius: 16px; background: rgba(13,25,40,.78); padding: 13px; }
.operations-toolbar form { flex: 1; }
.operations-toolbar label, .operations-filters label, .admin-choice-panel label { display: grid; gap: 6px; }
.operations-toolbar label > span, .operations-filters label > span, .admin-choice-panel label > span { color: #aeb9c7; font-size: 8px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.operations-toolbar select, .operations-filters input, .operations-filters select, .admin-choice-panel select, .admin-choice-panel textarea { width: 100%; border: 1px solid var(--line); border-radius: 11px; outline: none; background: #081321; color: var(--text); padding: 11px 12px; }
.operations-toolbar select:focus, .operations-filters input:focus, .operations-filters select:focus, .admin-choice-panel select:focus, .admin-choice-panel textarea:focus { border-color: rgba(201,255,47,.7); box-shadow: 0 0 0 3px rgba(201,255,47,.07); }
.admin-choice-panel textarea { resize: vertical; line-height: 1.45; }

.operations-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.operations-stats article { min-width: 0; border: 1px solid var(--line); border-radius: 17px; background: var(--panel); padding: 16px 18px; }
.operations-stats span, .operations-stats small, .operations-stats strong { display: block; }
.operations-stats span, .operations-stats small { color: var(--muted); font-size: 8px; }
.operations-stats strong { margin: 7px 0 4px; font: 800 34px/1 'Barlow Condensed'; }
.operations-stats article.is-ready { border-color: rgba(201,255,47,.21); }
.operations-stats article.is-ready strong { color: var(--lime); }
.operations-stats article.has-alert { border-color: rgba(255,93,108,.38); background: rgba(255,93,108,.035); }
.operations-stats article.has-alert strong { color: #ff8792; }

.round-lifecycle-panel { display: grid; gap: 14px; border: 1px solid rgba(79,140,255,.24); border-radius: 21px; background: linear-gradient(130deg, rgba(14,29,47,.95), rgba(8,18,30,.96)); padding: 19px; }
.round-lifecycle-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.round-lifecycle-heading h2 { font: 800 36px/1 'Barlow Condensed'; text-transform: uppercase; }
.round-lifecycle-heading p:last-child { margin: 5px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.round-lifecycle-status { flex: 0 0 auto; border: 1px solid rgba(79,140,255,.32); border-radius: 999px; background: rgba(79,140,255,.08); color: #b9d0ff; padding: 8px 11px; font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.round-lifecycle-status.status-open, .round-lifecycle-status.status-published { border-color: rgba(201,255,47,.3); background: rgba(201,255,47,.07); color: var(--lime); }
.round-lifecycle-status.status-scoring { border-color: rgba(255,200,87,.32); background: rgba(255,200,87,.07); color: #ffd77f; }
.round-lifecycle-status.status-settled { border-color: rgba(201,255,47,.3); background: rgba(201,255,47,.11); color: var(--lime); }

.round-lifecycle-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.lifecycle-stage { min-width: 0; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 9px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.018); padding: 12px 10px; }
.lifecycle-stage-number { width: 28px; height: 28px; display: grid; place-content: center; border-radius: 9px; background: rgba(255,255,255,.055); color: var(--muted); font: 800 13px/1 'Barlow Condensed'; }
.lifecycle-stage div, .lifecycle-stage small, .lifecycle-stage strong, .lifecycle-stage div > span { min-width: 0; display: block; }
.lifecycle-stage small { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.lifecycle-stage strong { overflow: hidden; margin: 4px 0 3px; font: 800 24px/1 'Barlow Condensed'; text-overflow: ellipsis; white-space: nowrap; }
.lifecycle-stage div > span { color: var(--muted); font-size: 9px; line-height: 1.35; }
.lifecycle-stage.is-current { border-color: rgba(79,140,255,.46); background: rgba(79,140,255,.065); box-shadow: inset 0 -2px rgba(79,140,255,.55); }
.lifecycle-stage.is-current .lifecycle-stage-number { background: #4f8cff; color: #fff; }
.lifecycle-stage.is-current strong { color: #b9d0ff; }
.lifecycle-stage.is-complete { border-color: rgba(201,255,47,.22); background: rgba(201,255,47,.035); }
.lifecycle-stage.is-complete .lifecycle-stage-number { background: var(--lime); color: #08111f; }
.lifecycle-stage.is-complete strong { color: var(--lime); }

.round-automation-observation { display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--line); padding-top: 12px; }
.automation-indicator { flex: 0 0 auto; width: 10px; height: 10px; border-radius: 50%; }
.automation-indicator.is-missing { background: #ff8792; box-shadow: 0 0 0 4px rgba(255,93,108,.08); }
.automation-indicator.is-warning { background: #ffc857; box-shadow: 0 0 0 4px rgba(255,200,87,.09); }
.automation-indicator.is-healthy { background: var(--lime); box-shadow: 0 0 0 4px rgba(201,255,47,.08); }
.round-automation-observation strong, .round-automation-observation small { display: block; }
.round-automation-observation strong { font-size: 11px; }
.round-automation-observation small { margin-top: 3px; color: var(--muted); font-size: 10px; line-height: 1.45; }

.missing-lock-warning { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 13px; border: 1px solid rgba(255,200,87,.34); border-radius: 15px; background: rgba(255,200,87,.055); padding: 13px; }
.missing-lock-warning > span { width: fit-content; border-radius: 999px; background: rgba(255,200,87,.13); color: #ffd77f; padding: 7px 9px; font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.missing-lock-warning strong, .missing-lock-warning p { display: block; }
.missing-lock-warning strong { color: #ffe3a5; font-size: 11px; }
.missing-lock-warning p { margin: 4px 0 0; color: var(--muted); font-size: 10px; line-height: 1.45; }
.missing-lock-warning .secondary-button { white-space: nowrap; }

.isolated-flow-simulation { scroll-margin-top: 14px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; border: 1px solid rgba(201,255,47,.27); border-radius: 16px; background: rgba(201,255,47,.045); padding: 15px; }
.isolated-flow-copy > span { color: var(--lime); font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.isolated-flow-copy h3 { margin-top: 4px; font: 800 25px/1 'Barlow Condensed'; text-transform: uppercase; }
.isolated-flow-copy p { max-width: 720px; margin: 5px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.isolated-flow-simulation form { display: grid; gap: 5px; justify-items: end; }
.isolated-flow-simulation form small { max-width: 210px; color: var(--muted); font-size: 9px; text-align: right; }
.isolated-flow-report { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(105px, 1fr)); gap: 6px; border-top: 1px solid rgba(201,255,47,.16); padding-top: 12px; }
.isolated-flow-report article { min-width: 0; border: 1px solid rgba(201,255,47,.15); border-radius: 11px; background: rgba(4,12,22,.35); padding: 10px; }
.isolated-flow-report span, .isolated-flow-report strong { display: block; }
.isolated-flow-report span { color: var(--muted); font-size: 9px; }
.isolated-flow-report strong { overflow: hidden; margin-top: 4px; color: var(--lime); font: 800 17px/1 'Barlow Condensed'; text-overflow: ellipsis; white-space: nowrap; }
.isolated-flow-path { grid-column: 1 / -1; margin: 3px 0 0; color: #b8c5d4; font-size: 10px; line-height: 1.45; }

.admin-privacy-note { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: center; gap: 17px; border: 1px solid rgba(79,140,255,.3); border-radius: 16px; background: rgba(79,140,255,.06); padding: 15px 17px; }
.admin-privacy-note > span { width: fit-content; border-radius: 999px; background: rgba(79,140,255,.12); color: #a8c5ff; padding: 7px 10px; font-size: 7px; font-weight: 800; letter-spacing: .08em; }
.admin-privacy-note strong { color: #d7e3f7; font-size: 10px; }
.admin-privacy-note p { margin: 4px 0 0; color: var(--muted); font-size: 8px; line-height: 1.5; }

.operations-section { scroll-margin-top: 14px; margin-top: 22px; }
.operations-section .section-heading > div > p:last-child { max-width: 760px; margin: 5px 0 0; color: var(--muted); font-size: 9px; line-height: 1.5; }
.operations-filters { display: grid; grid-template-columns: minmax(220px, 1fr) 190px auto; align-items: end; gap: 8px; margin: 12px 0; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.02); padding: 12px; }
.operations-filters input, .operations-filters select { min-height: 38px; font-size: 9px; }
.operations-filters .secondary-button { min-height: 38px; }

.operations-entry-list { display: grid; gap: 8px; }
.operations-entry-card { overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: rgba(13,25,40,.82); }
.operations-entry-card.is-missing { border-color: rgba(255,93,108,.42); box-shadow: inset 3px 0 rgba(255,93,108,.8); }
.operations-entry-card.has-choice { border-color: rgba(201,255,47,.17); }
.operations-entry-card.has-choice.is-review { border-color: rgba(255,200,87,.4); box-shadow: inset 3px 0 rgba(255,200,87,.75); }
.operations-entry-card.has-choice.is-invalid { border-color: rgba(255,93,108,.42); box-shadow: inset 3px 0 rgba(255,93,108,.8); }
.operations-entry-main { display: grid; grid-template-columns: 48px minmax(160px, .82fr) minmax(250px, 1.18fr) auto; align-items: center; gap: 13px; min-height: 78px; padding: 12px 15px; }
.operations-entry-position { display: grid; place-content: center; width: 38px; height: 38px; border-radius: 12px; background: rgba(255,255,255,.045); color: #dbe4ee; font: 800 16px/1 'Barlow Condensed'; text-align: center; }
.is-missing .operations-entry-position { background: rgba(255,93,108,.09); color: #ff9ca5; }
.operations-entry-name, .operations-entry-name strong, .operations-entry-name small, .operations-entry-choice span, .operations-entry-choice strong, .operations-entry-choice small { min-width: 0; display: block; }
.operations-entry-name strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.operations-entry-name small, .operations-entry-choice small { overflow: hidden; margin-top: 4px; color: var(--muted); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.operations-entry-choice { min-width: 0; display: flex; align-items: center; gap: 10px; }
.operations-entry-choice .team-logo { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 11px; }
.operations-entry-choice strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.missing-choice-icon { flex: 0 0 auto; width: 34px; height: 34px; display: grid !important; place-content: center; border: 1px solid rgba(255,93,108,.3); border-radius: 11px; background: rgba(255,93,108,.08); color: #ff8792; font: 800 16px/1 'Barlow Condensed'; }
.operations-choice-state { justify-self: end; border-radius: 999px; background: rgba(201,255,47,.08); color: var(--lime); padding: 6px 8px; font-size: 7px; font-weight: 800; letter-spacing: .06em; }
.is-missing .operations-choice-state { background: rgba(255,93,108,.09); color: #ff9ca5; }
.operations-choice-state.is-review { background: rgba(255,200,87,.1); color: #ffd77f; }
.operations-choice-state.is-invalid { background: rgba(255,93,108,.11); color: #ff9ca5; }

.choice-editor-link { display: block; border-top: 1px solid var(--line); padding: 10px 15px; color: #9fc0ff; font-size: 8px; font-weight: 800; text-align: right; }
.choice-editor-link:hover { background: rgba(79,140,255,.04); color: #bfd4ff; }
.admin-choice-panel { scroll-margin-top: 12px; overflow: hidden; margin: 12px 0; border: 1px solid rgba(79,140,255,.38); border-radius: 18px; background: linear-gradient(120deg, rgba(18,35,57,.98), rgba(8,19,32,.98)); box-shadow: 0 18px 55px rgba(0,0,0,.24); }
.admin-choice-panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 17px 18px; }
.admin-choice-panel-heading h3 { font: 800 31px/1 'Barlow Condensed'; text-transform: uppercase; }
.admin-choice-panel-heading p:last-child { margin: 5px 0 0; color: var(--muted); font-size: 8px; }
.admin-choice-panel-heading > a { flex: 0 0 auto; color: #9fc0ff; font-size: 8px; font-weight: 800; }
.admin-choice-panel > form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 12px; border-top: 1px solid var(--line); background: rgba(4,12,22,.38); padding: 15px 18px 18px; }
.admin-choice-panel .force-choice-row { grid-column: 1 / -1; display: flex; align-items: center; gap: 9px; border: 1px solid rgba(255,200,87,.24); border-radius: 11px; background: rgba(255,200,87,.045); padding: 10px; }
.admin-choice-panel .force-choice-row input { flex: 0 0 auto; width: 16px; height: 16px; margin: 0; accent-color: #ffc857; }
.admin-choice-panel .force-choice-row span { color: #ffd77f; font-size: 8px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.admin-choice-panel .primary-button { grid-column: 1 / -1; justify-self: end; }

.operations-health-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.operations-health-grid article { min-width: 0; display: grid; gap: 4px; border: 1px solid var(--line); border-radius: 15px; background: var(--panel); padding: 14px; }
.operations-health-grid strong { overflow: hidden; font: 800 26px/1 'Barlow Condensed'; text-overflow: ellipsis; white-space: nowrap; }
.operations-health-grid span, .operations-health-grid small { color: var(--muted); font-size: 8px; }
.operations-health-grid article.is-ready { border-color: rgba(201,255,47,.2); }
.operations-health-grid article.is-ready strong { color: var(--lime); }
.operations-health-grid article.has-alert { border-color: rgba(255,93,108,.35); }
.operations-health-grid article.has-alert strong { color: #ff8792; }
.operations-health-grid article.is-manual { border-color: rgba(255,200,87,.3); }
.operations-health-grid article.is-manual strong { color: #ffd77f; }

.operations-alert-list, .operations-audit-list { display: grid; gap: 6px; margin-top: 9px; }
.operations-alert-list article, .operations-audit-list article { display: grid; align-items: center; gap: 11px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.018); padding: 10px 12px; }
.operations-alert-list article { grid-template-columns: minmax(110px, .45fr) minmax(180px, 1fr) auto; }
.operations-audit-list article { grid-template-columns: 110px 150px minmax(0, 1fr); }
.operations-alert-list span, .operations-alert-list small, .operations-audit-list span, .operations-audit-list small { color: var(--muted); font-size: 8px; }
.operations-alert-list strong, .operations-audit-list strong { min-width: 0; overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.operations-alert-list small { color: #ff9ca5; text-align: right; }
.empty-operations { display: grid; min-height: 170px; place-content: center; gap: 6px; border: 1px dashed rgba(79,140,255,.32); border-radius: 18px; background: rgba(79,140,255,.035); padding: 25px; text-align: center; }
.empty-operations.compact { min-height: 105px; }
.empty-operations strong { color: #a8c5ff; font: 800 23px/1 'Barlow Condensed'; text-transform: uppercase; }
.empty-operations p { max-width: 520px; margin: 0; color: var(--muted); font-size: 9px; line-height: 1.5; }

@media (max-width: 820px) {
    .operations-hero { grid-template-columns: 92px minmax(0, 1fr) 96px; gap: 18px; min-height: 0; padding: 24px 21px; }
    .operations-round-number { width: 92px; height: 92px; border-radius: 21px; }
    .operations-round-number strong { font-size: 43px; }
    .operations-progress { width: 96px; height: 96px; }
    .operations-progress::before { inset: 8px; }
    .operations-progress strong { font-size: 27px; }
    .operations-stats, .operations-health-grid { grid-template-columns: repeat(2, 1fr); }
    .round-lifecycle-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .isolated-flow-report { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .operations-entry-main { grid-template-columns: 42px minmax(0, 1fr) auto; gap: 10px; }
    .operations-entry-position { grid-row: 1 / span 2; }
    .operations-entry-choice { grid-column: 2 / 4; }
    .operations-choice-state { grid-column: 3; grid-row: 1; }
}

@media (max-width: 560px) {
    .operations-shell .topbar-actions { gap: 5px; }
    .operations-shell .topbar-actions .admin-badge { display: none; }
    .operations-shell .ghost-button { padding: 7px 8px; font-size: 8px; }
    .operations-shell main { gap: 11px; }
    .operations-hero { grid-template-columns: 70px minmax(0, 1fr); gap: 13px; border-radius: 23px; padding: 18px 15px; }
    .operations-round-number { width: 70px; height: 70px; border-radius: 17px; }
    .operations-round-number strong { font-size: 33px; }
    .operations-hero-copy .eyebrow { font-size: 8px; }
    .operations-hero-copy h1 { font-size: 35px; }
    .operations-hero-copy > p:last-child { font-size: 8px; line-height: 1.45; }
    .operations-progress { grid-column: 1 / -1; width: 100%; height: 50px; display: flex; align-items: center; justify-content: space-between; border: 1px solid rgba(201,255,47,.2); border-radius: 12px; background: linear-gradient(90deg, rgba(201,255,47,.18) var(--completion-width), rgba(255,255,255,.025) 0); padding: 0 13px; text-align: left; }
    .operations-progress::before { display: none; }
    .operations-progress strong { font-size: 24px; }
    .operations-progress span { max-width: none; margin: 0; font-size: 7px; }
    .operations-toolbar { align-items: stretch; flex-direction: column; }
    .operations-toolbar .secondary-button { width: 100%; text-align: center; }
    .operations-stats { gap: 7px; }
    .operations-stats article { padding: 13px 11px; }
    .operations-stats strong { font-size: 29px; }
    .operations-stats span, .operations-stats small { font-size: 7px; }
    .round-lifecycle-panel { gap: 12px; border-radius: 17px; padding: 13px; }
    .round-lifecycle-heading { align-items: flex-start; flex-direction: column; gap: 9px; }
    .round-lifecycle-heading h2 { font-size: 31px; }
    .round-lifecycle-heading p:last-child { font-size: 11px; }
    .round-lifecycle-status { width: 100%; text-align: center; }
    .round-lifecycle-steps { grid-template-columns: 1fr; gap: 6px; }
    .lifecycle-stage { grid-template-columns: 30px minmax(0, 1fr); align-items: center; padding: 10px; }
    .lifecycle-stage div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 10px; }
    .lifecycle-stage small, .lifecycle-stage div > span { grid-column: 1; }
    .lifecycle-stage small, .lifecycle-stage div > span { font-size: 10px; }
    .lifecycle-stage strong { grid-column: 2; grid-row: 1 / span 2; margin: 0; font-size: 22px; text-align: right; }
    .round-automation-observation { align-items: flex-start; }
    .round-automation-observation strong { font-size: 12px; }
    .round-automation-observation small { font-size: 11px; }
    .missing-lock-warning { grid-template-columns: 1fr; align-items: start; }
    .missing-lock-warning > span { font-size: 10px; }
    .missing-lock-warning strong { font-size: 12px; line-height: 1.35; }
    .missing-lock-warning p { font-size: 11px; }
    .missing-lock-warning .secondary-button { width: 100%; text-align: center; white-space: normal; }
    .isolated-flow-simulation { grid-template-columns: 1fr; gap: 12px; }
    .isolated-flow-simulation form { justify-items: stretch; }
    .isolated-flow-simulation form small { max-width: none; text-align: left; }
    .isolated-flow-copy > span, .isolated-flow-simulation form small, .isolated-flow-report span { font-size: 10px; }
    .isolated-flow-copy p, .isolated-flow-path { font-size: 11px; }
    .isolated-flow-simulation .primary-button { width: 100%; }
    .isolated-flow-report { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-privacy-note { grid-template-columns: 1fr; gap: 8px; padding: 13px; }
    .operations-section { margin-top: 19px; }
    .operations-section .section-heading h2 { font-size: 30px; }
    .operations-section .section-heading > div > p:last-child { font-size: 8px; }
    .operations-filters { grid-template-columns: 1fr; }
    .operations-filters .secondary-button { width: 100%; }
    .operations-entry-main { grid-template-columns: 36px minmax(0, 1fr) auto; gap: 8px; padding: 11px 10px; }
    .operations-entry-position { grid-row: 1; width: 34px; height: 34px; border-radius: 10px; }
    .operations-entry-choice { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 9px; }
    .operations-entry-choice .team-logo { width: 34px; height: 34px; }
    .operations-entry-name strong { font-size: 10px; }
    .operations-entry-name small, .operations-entry-choice small { font-size: 7px; }
    .operations-choice-state { padding: 5px 6px; font-size: 6px; }
    .choice-editor-link { padding: 10px; text-align: center; }
    .admin-choice-panel-heading { padding: 15px 12px; }
    .admin-choice-panel-heading h3 { font-size: 27px; }
    .admin-choice-panel > form { grid-template-columns: 1fr; padding: 12px 10px; }
    .admin-choice-panel .force-choice-row, .admin-choice-panel .primary-button { grid-column: 1; }
    .admin-choice-panel .primary-button { width: 100%; justify-self: stretch; }
    .operations-health-grid { gap: 7px; }
    .operations-health-grid article { padding: 12px 10px; }
    .operations-health-grid strong { font-size: 23px; }
    .operations-health-grid span, .operations-health-grid small { font-size: 7px; }
    .operations-alert-list article, .operations-audit-list article { grid-template-columns: 1fr; gap: 4px; }
    .operations-alert-list small { text-align: left; }
    .empty-operations { min-height: 145px; padding: 20px 14px; }
}

@media (max-width: 360px) {
    .operations-shell .brand { gap: 7px; }
    .operations-shell .brand-mark { width: 34px; height: 34px; flex-basis: 34px; }
    .operations-shell .brand strong { font-size: 16px; }
    .operations-shell .brand small { display: none; }
    .operations-shell .topbar-actions { gap: 3px; }
    .operations-shell .ghost-button { padding-inline: 6px; font-size: 7px; }
    .operations-entry-main { grid-template-columns: 34px minmax(0, 1fr) auto; }
}

/* === HOME PRIORITY EXPERIENCE: start === */
.now-priority-card {
    display: grid;
    gap: 12px;
    overflow: hidden;
    border: 1px solid rgba(201,255,47,.34);
    border-radius: 24px;
    background: linear-gradient(125deg, rgba(21,39,61,.98), rgba(7,17,29,.99));
    padding: 18px;
    box-shadow: 0 18px 48px rgba(0,0,0,.18);
}
.now-priority-card.is-critical { border-color: rgba(255,93,108,.62); box-shadow: inset 4px 0 #ff5d6c, 0 18px 48px rgba(0,0,0,.2); }
.now-priority-card.is-soon { border-color: rgba(255,200,87,.5); box-shadow: inset 4px 0 #ffc857, 0 18px 48px rgba(0,0,0,.2); }
.now-priority-card.is-clear { border-color: rgba(79,140,255,.28); }
.now-priority-header { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.now-priority-label { flex: 0 0 auto; border-radius: 999px; background: rgba(201,255,47,.12); color: var(--lime); padding: 7px 10px; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.now-priority-card.is-critical .now-priority-label { background: rgba(255,93,108,.13); color: #ffadb5; }
.now-priority-card.is-soon .now-priority-label { background: rgba(255,200,87,.12); color: #ffd77f; }
.now-priority-card.is-clear .now-priority-label { background: rgba(79,140,255,.11); color: #b9d0ff; }
.now-priority-quota { min-width: 0; display: flex; align-items: baseline; justify-content: flex-end; gap: 7px; text-align: right; }
.now-priority-quota small, .now-priority-quota em { color: var(--muted); font-size: 10px; font-style: normal; }
.now-priority-quota strong { overflow: hidden; color: #fff; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.now-priority-main { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; align-items: center; gap: 16px; }
.now-priority-round { width: 72px; height: 72px; display: grid; place-content: center; border: 1px solid rgba(201,255,47,.28); border-radius: 19px; background: rgba(201,255,47,.055); text-align: center; }
.now-priority-round span { color: var(--muted); font-size: 10px; font-weight: 800; }
.now-priority-round strong { color: var(--lime); font: 800 34px/.9 'Barlow Condensed'; }
.now-priority-copy { min-width: 0; }
.now-priority-copy p { margin: 0 0 5px; color: #9fc0ff; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.now-priority-copy h2 { margin: 0; font: 800 clamp(27px, 4vw, 39px)/.96 'Barlow Condensed'; text-transform: uppercase; }
.now-priority-copy > span { display: block; margin-top: 7px; color: #bdc7d4; font-size: 12px; line-height: 1.45; }
.now-priority-action { min-width: 148px; min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 13px; border-radius: 14px; background: var(--lime); color: #07101c; padding: 12px 15px; font-size: 13px; font-weight: 900; }
.now-priority-action b { font-size: 18px; }
.now-priority-deadline { min-height: 53px; display: grid; grid-template-columns: auto minmax(180px, 1fr) auto; align-items: center; gap: 12px; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; background: rgba(4,12,21,.42); padding: 10px 12px; }
.now-priority-deadline span { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.now-priority-deadline time { font-size: 12px; font-weight: 750; }
.now-priority-deadline strong { justify-self: end; border-radius: 999px; background: rgba(201,255,47,.1); color: var(--lime); padding: 7px 10px; font-size: 11px; }
.now-priority-card.is-critical .now-priority-deadline strong { background: rgba(255,93,108,.12); color: #ffadb5; }
.now-priority-card.is-soon .now-priority-deadline strong { background: rgba(255,200,87,.12); color: #ffd77f; }
.now-priority-planning { display: flex; align-items: center; gap: 10px; margin: 0; color: #bdc7d4; font-size: 11px; line-height: 1.45; }
.now-priority-planning strong { flex: 0 0 auto; color: #fff; font-size: 11px; }
.now-priority-planning span { min-width: 0; }
.now-priority-clear { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; align-items: center; gap: 14px; }
.now-priority-clear > span { width: 54px; height: 54px; display: grid; place-content: center; border-radius: 16px; background: rgba(79,140,255,.12); color: #b9d0ff; font-size: 22px; }
.now-priority-clear h2 { margin: 0; font: 800 30px/1 'Barlow Condensed'; text-transform: uppercase; }
.now-priority-clear p { margin: 5px 0 0; color: #bdc7d4; font-size: 12px; line-height: 1.45; }
.now-priority-clear a { min-height: 44px; display: flex; align-items: center; border: 1px solid rgba(79,140,255,.34); border-radius: 13px; color: #b9d0ff; padding: 10px 13px; font-size: 12px; font-weight: 800; }
.now-choice-receipt { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 12px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 12px; }
.now-choice-receipt .team-logo { width: 48px; height: 48px; border-radius: 14px; background: #fff; }
.now-choice-receipt > div { min-width: 0; }
.now-choice-receipt span, .now-choice-receipt strong { display: block; }
.now-choice-receipt span { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .07em; }
.now-choice-receipt strong { margin-top: 3px; font: 800 24px/1 'Barlow Condensed'; text-transform: uppercase; }
.now-choice-receipt p { margin: 5px 0 0; color: #bdc7d4; font-size: 11px; line-height: 1.5; }
.now-choice-receipt p b { color: #fff; }
.now-uefa-pending { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px; border: 1px solid rgba(79,140,255,.18); border-radius: 13px; background: rgba(79,140,255,.045); padding: 9px 11px; }
.now-uefa-pending > span { border-radius: 999px; background: rgba(79,140,255,.12); color: #b9d0ff; padding: 6px 8px; font-size: 10px; font-weight: 900; }
.now-uefa-pending p { margin: 0; color: #b8c5d5; font-size: 11px; line-height: 1.45; }
.now-uefa-pending strong { color: #d9e5f8; }
.home-priority-hero { min-height: 178px; align-items: center; padding-block: 24px; }
.home-priority-hero .home-welcome h1 { font-size: clamp(39px, 6vw, 58px); }
.home-priority-hero .home-welcome > p:last-child { max-width: 540px; font-size: 12px; line-height: 1.5; }
.home-priority-overview { grid-template-columns: 1fr; }
.home-priority-overview .home-mini-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.home-priority-overview .home-mini-card { min-height: 126px; padding: 15px; }
.home-priority-overview .home-mini-card span, .home-priority-overview .home-mini-card small { font-size: 10px; line-height: 1.4; }
.home-priority-overview .home-mini-card strong { font-size: 32px; }

@media (max-width: 760px) {
    .now-priority-main { grid-template-columns: 62px minmax(0, 1fr); gap: 12px; }
    .now-priority-round { width: 62px; height: 62px; border-radius: 17px; }
    .now-priority-round strong { font-size: 30px; }
    .now-priority-action { grid-column: 1 / -1; width: 100%; min-width: 0; }
    .now-priority-deadline { grid-template-columns: 1fr auto; }
    .now-priority-deadline span { grid-column: 1 / -1; }
    .now-priority-overview .home-mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
    .now-priority-card { gap: 11px; border-radius: 20px; padding: 14px; }
    .now-priority-header { align-items: flex-start; }
    .now-priority-quota { align-items: flex-end; flex-direction: column; gap: 2px; }
    .now-priority-quota small { display: none; }
    .now-priority-quota strong { max-width: 160px; font-size: 12px; }
    .now-priority-quota em { font-size: 10px; }
    .now-priority-copy h2 { font-size: 29px; }
    .now-priority-copy > span { font-size: 11px; }
    .now-priority-deadline { grid-template-columns: 1fr; gap: 5px; }
    .now-priority-deadline span { grid-column: auto; }
    .now-priority-deadline strong { justify-self: start; }
    .now-priority-planning { align-items: flex-start; flex-direction: column; gap: 3px; border-top: 1px solid rgba(255,255,255,.07); padding-top: 10px; }
    .now-priority-clear { grid-template-columns: 46px minmax(0, 1fr); gap: 10px; }
    .now-priority-clear > span { width: 46px; height: 46px; border-radius: 14px; }
    .now-priority-clear h2 { font-size: 27px; }
    .now-priority-clear a { grid-column: 1 / -1; justify-content: center; }
    .now-choice-receipt { grid-template-columns: 44px minmax(0, 1fr); }
    .now-choice-receipt .team-logo { width: 44px; height: 44px; }
    .now-choice-receipt strong { font-size: 22px; }
    .now-uefa-pending { align-items: start; }
    .home-priority-hero { min-height: 142px; padding: 19px; }
    .home-priority-hero .score-orbit { gap: 10px; }
    .home-priority-hero .score-orbit > div { width: 76px; height: 76px; border-width: 7px; }
    .home-priority-hero .score-orbit > div strong { font-size: 29px; }
    .home-priority-overview .home-mini-card { min-height: 120px; padding: 13px; }
    .home-priority-overview .home-mini-card span, .home-priority-overview .home-mini-card small { font-size: 10px; }
}

@media (max-width: 350px) {
    .now-priority-label { padding-inline: 8px; font-size: 10px; }
    .now-priority-quota strong { max-width: 125px; }
    .now-priority-main { grid-template-columns: 54px minmax(0, 1fr); gap: 9px; }
    .now-priority-round { width: 54px; height: 54px; }
    .now-priority-copy h2 { font-size: 26px; }
    .home-priority-hero { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
    .home-priority-hero .home-welcome h1 { font-size: 35px; }
}
/* === HOME PRIORITY EXPERIENCE: end === */

/* === MOBILE CHOICE CENTER: start === */
.choice-filter-toolbar {
    order: -2;
    grid-template-columns: minmax(240px, 1fr) minmax(210px, .7fr) auto;
    align-items: end;
}
.choice-filter-search { min-width: 0; }
.choice-filter-row { display: grid; grid-template-columns: auto minmax(150px, 1fr); align-items: end; gap: 12px; }
.choice-filter-select { min-width: 0; display: grid; gap: 6px; }
.choice-filter-select select {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 11px;
    outline: 0;
    background: #081321;
    color: var(--text);
    padding: 10px 34px 10px 11px;
    font-size: 12px;
}
.choice-filter-search input { font-size: 14px; }
.choice-filter-group { min-width: 0; margin: 0; border: 0; padding: 0; }
.choice-filter-group legend { margin-bottom: 6px; color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.choice-filter-venue .public-choice-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.choice-filter-venue .public-choice-filters button { min-width: 58px; min-height: 44px; }
.choice-filter-result { grid-column: 1 / -1; margin: 0; color: #aeb9c7; font-size: 11px; font-weight: 750; }
.choice-filter-search input:focus-visible,
.choice-filter-select select:focus-visible,
.choice-filter-venue button:focus-visible,
.choice-impact-confirmation:has(input:focus-visible),
.round-team-option:has(input:focus-visible) {
    outline: 3px solid rgba(201,255,47,.7);
    outline-offset: 3px;
}
.round-team-option {
    grid-template-columns: 42px minmax(0, 1fr) minmax(155px, .72fr);
    align-items: center;
    min-height: 92px;
    padding: 12px;
}
.round-team-option .team-logo { width: 42px; height: 42px; }
.round-option-team strong { font-size: 14px; }
.round-option-team small { margin-top: 5px; font-size: 11px; line-height: 1.4; white-space: normal; }
.round-option-venue { display: inline-flex; align-items: center; border-radius: 999px; background: rgba(79,140,255,.11); color: #b9d0ff; padding: 3px 6px; font-size: 10px; font-weight: 850; }
.round-option-meta { min-width: 0; display: flex; align-items: flex-end; flex-direction: column; gap: 4px; text-align: right; }
.round-option-meta small { color: #aeb9c7; font-size: 10px; line-height: 1.3; }
.round-option-status { display: inline-flex; width: fit-content; border-radius: 999px; background: rgba(255,255,255,.055); color: #cbd5e1 !important; padding: 4px 7px; font-size: 10px !important; font-weight: 800; }
.round-option-status.status-live { background: rgba(255,93,108,.13); color: #ffadb5 !important; }
.round-option-status.status-postponed,
.round-option-status.status-suspended,
.round-option-status.status-cancelled { background: rgba(255,200,87,.12); color: #ffd77f !important; }
.round-option-availability { grid-column: 2 / -1; justify-self: start; width: fit-content; margin-top: -2px; border-radius: 999px; background: rgba(201,255,47,.08); padding: 4px 7px; font-size: 10px !important; line-height: 1.35; }
.round-team-option.is-future-reservation .round-option-availability { background: rgba(79,140,255,.12); }
.round-team-option.is-used .round-option-availability { background: rgba(255,255,255,.04); }
.choice-empty-state { margin: 0; border: 1px dashed rgba(255,255,255,.16); border-radius: 15px; color: #bdc7d4; padding: 22px; font-size: 12px; text-align: center; }
.choice-selection-summary { display: grid; gap: 12px; border: 1px solid rgba(79,140,255,.24); border-radius: 18px; background: linear-gradient(135deg, rgba(79,140,255,.07), rgba(9,20,33,.95)); padding: 16px; scroll-margin-top: 18px; }
.choice-selection-summary h3 { margin: 0; font: 800 28px/1 'Barlow Condensed'; text-transform: uppercase; }
.choice-selection-summary .eyebrow { margin-bottom: 5px; color: #9fc0ff; font-size: 10px; }
.choice-summary-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0; }
.choice-summary-item { min-width: 0; border: 1px solid rgba(255,255,255,.07); border-radius: 12px; background: rgba(4,12,21,.42); padding: 10px; }
.choice-summary-item dt { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.choice-summary-item dd { overflow-wrap: anywhere; margin: 5px 0 0; color: #f4f7fb; font-size: 12px; font-weight: 800; line-height: 1.35; }
.choice-impact-confirmations { display: grid; gap: 8px; border: 1px solid rgba(255,255,255,.09); border-radius: 18px; background: var(--panel); padding: 14px; scroll-margin: 120px 0 150px; }
.choice-impact-confirmations h3 { margin: 0 0 2px; font-size: 13px; }
.choice-impact-confirmation { min-height: 52px; display: flex; align-items: flex-start; gap: 11px; border: 1px solid rgba(255,255,255,.09); border-radius: 13px; background: rgba(255,255,255,.025); padding: 11px; cursor: pointer; }
.choice-impact-confirmation.is-warning { border-color: rgba(255,200,87,.3); background: rgba(255,200,87,.06); }
.choice-impact-confirmation.is-public { border-color: rgba(79,140,255,.3); background: rgba(79,140,255,.06); }
.choice-impact-confirmation input { width: 21px; height: 21px; flex: 0 0 auto; margin: 1px 0 0; accent-color: var(--lime); }
.choice-impact-confirmation span { min-width: 0; }
.choice-impact-confirmation strong,
.choice-impact-confirmation small { display: block; }
.choice-impact-confirmation strong { color: #f1f5f9; font-size: 12px; }
.choice-impact-confirmation small { margin-top: 4px; color: #bdc7d4; font-size: 11px; line-height: 1.45; }
.choice-confirmation-jump { color: #ffd77f; font-size: 11px; font-weight: 850; text-align: center; text-decoration: underline; text-underline-offset: 3px; }
.app-shell { padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
.bottom-nav { bottom: calc(15px + env(safe-area-inset-bottom, 0px)); }
.round-save-bar { order: -1; }
.round-save-bar .primary-button { min-height: 48px; }
.round-save-bar .primary-button:disabled { opacity: .48; cursor: not-allowed; }

@media (max-width: 900px) {
    .choice-filter-toolbar { grid-template-columns: 1fr 1fr; }
    .choice-filter-search { grid-column: 1 / -1; }
    .choice-filter-result { grid-column: 1 / -1; }
    .choice-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
    .choice-filter-toolbar { grid-template-columns: 1fr; gap: 11px; }
    .choice-filter-search,
    .choice-filter-result { grid-column: auto; }
    .choice-filter-row { grid-template-columns: 1fr; gap: 9px; }
    .choice-filter-row .available-only { min-height: 44px; width: fit-content; }
    .choice-filter-search input,
    .choice-filter-select select { font-size: 16px; }
    .round-team-option { grid-template-columns: 40px minmax(0, 1fr); min-height: 116px; padding: 11px; }
    .round-team-option .team-logo { width: 40px; height: 40px; }
    .round-option-meta { grid-column: 2; align-items: center; flex-direction: row; flex-wrap: wrap; gap: 5px 8px; text-align: left; }
    .round-option-availability { grid-column: 2; margin-top: 0; white-space: normal; }
    .choice-selection-summary { padding: 13px; }
    .choice-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .choice-impact-confirmations { padding: 11px; }
    .round-choice-form { padding-bottom: calc(260px + env(safe-area-inset-bottom, 0px)); }
    .round-save-bar {
        position: fixed;
        z-index: 9;
        left: 50%;
        bottom: calc(89px + env(safe-area-inset-bottom, 0px));
        width: min(calc(100vw - 32px), 440px);
        transform: translateX(-50%);
    }
    .round-save-bar span { font-size: 12px; font-weight: 750; }
    .choice-confirmation-jump { min-height: 32px; display: flex; align-items: center; justify-content: center; }
}

@media (max-width: 380px) {
    .choice-filter-venue .public-choice-filters button { flex: 1 1 30%; min-width: 0; padding-inline: 7px; }
    .choice-summary-grid { grid-template-columns: 1fr; }
    .round-option-team strong { font-size: 13px; }
    .round-option-meta small,
    .round-option-availability { font-size: 10px !important; }
}
/* === MOBILE CHOICE CENTER: end === */

/* === SEASON PLAN: start === */
.season-plan-page { width: min(100%, 1180px); margin: 0 auto; padding: 18px 14px calc(118px + env(safe-area-inset-bottom, 0px)); }
.season-plan-hero { display: grid; gap: 18px; overflow: hidden; border: 1px solid rgba(201,255,47,.2); border-radius: 24px; background: radial-gradient(circle at 100% 0, rgba(201,255,47,.09), transparent 38%), linear-gradient(145deg, #0b1827, #07111d); padding: 22px 18px; }
.season-plan-hero h1 { margin: 5px 0 10px; font: 800 clamp(38px, 12vw, 62px)/.88 'Barlow Condensed'; letter-spacing: -.03em; text-transform: uppercase; }
.season-plan-hero > div > p:last-child { max-width: 700px; margin: 0; color: #bdc7d4; font-size: 12px; line-height: 1.55; }
.season-plan-active-entry { min-width: 0; border: 1px solid rgba(79,140,255,.3); border-radius: 17px; background: rgba(79,140,255,.08); padding: 14px; }
.season-plan-active-entry span, .season-plan-active-entry strong, .season-plan-active-entry small { display: block; }
.season-plan-active-entry span { color: #9fc0ff; font-size: 10px; font-weight: 850; letter-spacing: .08em; }
.season-plan-active-entry strong { overflow-wrap: anywhere; margin: 5px 0; font: 800 25px/1 'Barlow Condensed'; text-transform: uppercase; }
.season-plan-active-entry small { color: #c0cad6; font-size: 11px; line-height: 1.4; }
.season-plan-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.season-plan-summary article { min-width: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); padding: 12px; }
.season-plan-summary article.has-attention { border-color: rgba(255,200,87,.36); background: rgba(255,200,87,.055); }
.season-plan-summary article.has-conflict { border-color: rgba(255,93,108,.38); background: rgba(255,93,108,.055); }
.season-plan-summary span, .season-plan-summary strong, .season-plan-summary small { display: block; }
.season-plan-summary span { color: #aeb8c5; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.season-plan-summary strong { margin: 5px 0 3px; color: #f7fafc; font: 800 28px/1 'Barlow Condensed'; }
.season-plan-summary small { color: var(--muted); font-size: 10px; line-height: 1.3; }
.season-plan-roster { margin-top: 12px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.season-plan-roster > summary { min-height: 72px; display: grid; gap: 10px; list-style: none; padding: 14px; cursor: pointer; }
.season-plan-roster > summary::-webkit-details-marker { display: none; }
.season-plan-roster > summary:focus-visible { outline: 3px solid rgba(201,255,47,.7); outline-offset: -3px; }
.season-plan-roster > summary span:first-child small, .season-plan-roster > summary span:first-child strong { display: block; }
.season-plan-roster > summary span:first-child small { color: var(--lime); font-size: 10px; font-weight: 850; letter-spacing: .08em; }
.season-plan-roster > summary span:first-child strong { margin-top: 4px; font-size: 14px; }
.season-plan-roster-counts { display: flex; flex-wrap: wrap; gap: 5px; }
.season-plan-roster-counts b { border-radius: 999px; background: rgba(255,255,255,.055); color: #c8d1dc; padding: 5px 7px; font-size: 10px; }
.season-plan-roster-counts b.has-conflict { color: #ffadb5; background: rgba(255,93,108,.11); }
.season-plan-roster-note { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(79,140,255,.045); padding: 12px 14px; }
.season-plan-roster-note strong { display: block; color: #b9d0ff; font-size: 11px; }
.season-plan-roster-note p { margin: 4px 0 0; color: #b9c3cf; font-size: 10px; line-height: 1.5; }
.season-plan-team-grid { display: grid; gap: 7px; padding: 10px; }
.season-plan-team { min-width: 0; display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 9px; border: 1px solid rgba(255,255,255,.065); border-radius: 12px; background: rgba(255,255,255,.018); padding: 9px; }
.season-plan-team .team-logo { width: 36px; height: 36px; border-radius: 10px; }
.season-plan-team span { min-width: 0; }
.season-plan-team strong, .season-plan-team small { display: block; }
.season-plan-team strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.season-plan-team small { margin-top: 3px; color: var(--muted); font-size: 10px; line-height: 1.35; overflow-wrap: anywhere; }
.season-plan-team > b { border-radius: 999px; padding: 5px 7px; color: #c9d2dd; background: rgba(255,255,255,.06); font-size: 10px; white-space: nowrap; }
.season-plan-team.is-free > b { color: var(--lime); background: rgba(201,255,47,.09); }
.season-plan-team.is-reserved > b { color: #b9d0ff; background: rgba(79,140,255,.12); }
.season-plan-team.is-used { opacity: .72; }
.season-plan-team.is-conflict { border-color: rgba(255,93,108,.33); }
.season-plan-team.is-conflict > b { color: #ffadb5; background: rgba(255,93,108,.11); }
.season-plan-heading { display: grid; gap: 14px; margin: 32px 0 14px; }
.season-plan-heading h2 { margin: 3px 0 6px; font: 800 34px/1 'Barlow Condensed'; text-transform: uppercase; }
.season-plan-heading p:last-child { max-width: 680px; margin: 0; color: #b8c2cf; font-size: 11px; line-height: 1.5; }
.season-plan-competition-key { display: flex; flex-wrap: wrap; gap: 7px; }
.season-plan-competition-key span { display: flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: #bdc7d3; padding: 7px 9px; font-size: 10px; }
.season-plan-competition-key i { width: 8px; height: 8px; border-radius: 3px; background: var(--lime); }
.season-plan-competition-key i.is-uefa { background: var(--blue); }
.season-plan-competition-key i.has-overlap { border: 1px dashed #ffc857; background: transparent; }
.season-plan-timeline { display: grid; gap: 22px; }
.season-plan-month { min-width: 0; }
.season-plan-month > h3 { position: sticky; z-index: 3; top: 0; margin: 0; background: linear-gradient(var(--bg) 72%, transparent); color: #9da9b7; padding: 13px 2px 8px; font: 800 16px/1 'Barlow Condensed'; text-transform: uppercase; }
.season-plan-round-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.season-plan-turn { min-width: 0; display: grid; grid-template-columns: 55px minmax(0, 1fr) 22px; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: var(--panel); color: inherit; text-decoration: none; }
.season-plan-turn.is-domestic { box-shadow: inset 3px 0 var(--lime); }
.season-plan-turn.is-uefa { box-shadow: inset 3px 0 var(--blue); }
.season-plan-turn.has-overlap { border-style: dashed; border-color: rgba(255,200,87,.38); }
.season-plan-turn.has-conflict { border-color: rgba(255,93,108,.46); box-shadow: inset 3px 0 var(--red); }
.season-plan-turn.has-attention:not(.has-conflict) { border-color: rgba(255,200,87,.35); }
.season-plan-turn:focus-visible { outline: 3px solid rgba(201,255,47,.76); outline-offset: 3px; }
.season-plan-turn-number { display: grid; align-content: start; justify-items: center; border-right: 1px solid var(--line); padding: 14px 5px; }
.season-plan-turn-number small { color: #8f9aa8; font-size: 10px; font-weight: 800; }
.season-plan-turn-number strong { margin-top: 4px; font: 800 26px/1 'Barlow Condensed'; }
.season-plan-turn-main { min-width: 0; padding: 13px 11px 10px; }
.season-plan-turn-main > small, .season-plan-turn-main > strong, .season-plan-turn-main > span { display: block; }
.season-plan-turn-main > small { color: #9ca8b6; font-size: 10px; font-weight: 850; letter-spacing: .05em; }
.season-plan-turn-main > strong { margin: 5px 0; font: 800 15px/1.15 'Barlow Condensed'; text-transform: uppercase; }
.season-plan-turn-main > span { color: #adb8c5; font-size: 11px; line-height: 1.4; }
.season-plan-turn-main > em { display: inline-flex; margin-top: 7px; border-radius: 999px; background: rgba(255,200,87,.1); color: #ffd77f; padding: 4px 6px; font-size: 10px; font-style: normal; font-weight: 800; }
.season-plan-choice { min-width: 0; grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 9px; border-top: 1px solid var(--line); padding: 10px 11px; }
.season-plan-choice > .team-logo { width: 34px; height: 34px; border-radius: 10px; }
.season-plan-choice > span { min-width: 0; }
.season-plan-choice strong, .season-plan-choice > span > span { display: block; }
.season-plan-choice strong { margin: 4px 0 2px; font-size: 12px; }
.season-plan-choice > span > span { color: #b4beca; font-size: 10px; line-height: 1.4; overflow-wrap: anywhere; }
.season-plan-state { display: inline-flex; width: fit-content; border-radius: 999px; background: rgba(255,255,255,.06); color: #cbd4df; padding: 4px 7px; font-size: 10px; font-weight: 850; }
.season-plan-state.state-definitive { color: var(--lime); background: rgba(201,255,47,.09); }
.season-plan-state.state-future { color: #b9d0ff; background: rgba(79,140,255,.12); }
.season-plan-state.state-planning { color: #cbd4df; background: rgba(255,255,255,.06); }
.season-plan-state.state-replan { color: #ffd77f; background: rgba(255,200,87,.12); }
.season-plan-state.state-automatic { color: #d6c6ff; background: rgba(147,109,255,.12); }
.season-plan-state.state-missing, .season-plan-state.state-conflict { color: #ffadb5; background: rgba(255,93,108,.12); }
.season-plan-state.state-schedule_incomplete { color: #ffd77f; background: rgba(255,200,87,.12); }
.season-plan-state.state-uefa_pending, .season-plan-state.state-schedule_pending, .season-plan-state.state-unavailable { color: #b8c2ce; background: rgba(255,255,255,.055); }
.season-plan-turn-arrow { grid-column: 3; grid-row: 1; align-self: center; color: var(--lime); font-size: 18px; }

@media (min-width: 700px) {
    .season-plan-page { padding-inline: 22px; }
    .season-plan-hero { grid-template-columns: minmax(0, 1fr) minmax(220px, 300px); align-items: end; padding: 30px; }
    .season-plan-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .season-plan-roster > summary { grid-template-columns: minmax(180px, 1fr) auto; align-items: center; padding: 16px 18px; }
    .season-plan-roster-counts { justify-content: flex-end; }
    .season-plan-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 12px; }
    .season-plan-heading { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
    .season-plan-competition-key { justify-content: flex-end; }
    .season-plan-turn { grid-template-columns: 66px minmax(260px, .9fr) minmax(280px, 1fr) 28px; align-items: stretch; }
    .season-plan-turn-number { align-content: center; padding: 12px 6px; }
    .season-plan-turn-main { align-self: center; padding: 14px 16px; }
    .season-plan-choice { grid-column: 3; grid-row: 1; border-top: 0; border-left: 1px solid var(--line); padding: 12px 15px; }
    .season-plan-turn-arrow { grid-column: 4; }
}

@media (min-width: 1000px) {
    .season-plan-summary { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .season-plan-team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 350px) {
    .season-plan-page { padding-inline: 10px; }
    .season-plan-summary { grid-template-columns: 1fr 1fr; }
    .season-plan-summary article { padding: 10px; }
    .season-plan-team { grid-template-columns: 32px minmax(0, 1fr); }
    .season-plan-team .team-logo { width: 32px; height: 32px; }
    .season-plan-team > b { grid-column: 2; justify-self: start; }
    .season-plan-turn { grid-template-columns: 50px minmax(0, 1fr) 19px; }
}
/* === SEASON PLAN: end === */

/* === HOW TO PLAY GUIDE: start === */
.guide-nav { width: min(520px, calc(100% - 24px)); grid-template-columns: repeat(5, minmax(0, 1fr)); }
.guide-nav a { min-width: 0; min-height: 50px; }
.guide-nav a:focus-visible { outline: 3px solid rgba(201,255,47,.7); outline-offset: 2px; }
.guide-nav a:last-child span { width: 19px; height: 19px; display: grid; place-content: center; justify-self: center; border: 1px solid currentColor; border-radius: 50%; font-size: 12px; font-weight: 900; }
.howto-main { display: grid; gap: 14px; padding-bottom: 28px; }
.howto-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr; gap: 18px; border: 1px solid rgba(201,255,47,.25); border-radius: 24px; background: linear-gradient(132deg, rgba(24,47,72,.98), rgba(7,17,29,.99)); padding: 20px; box-shadow: 0 18px 48px rgba(0,0,0,.18); }
.howto-hero::after { content: ''; position: absolute; width: 260px; height: 260px; right: -135px; top: -170px; border: 44px solid rgba(201,255,47,.07); border-radius: 50%; pointer-events: none; }
.howto-hero-copy { position: relative; z-index: 1; min-width: 0; }
.howto-kicker { margin: 0 0 8px; color: var(--lime); font-size: 10px; font-weight: 850; letter-spacing: .13em; }
.howto-hero h1 { font-size: clamp(48px, 17vw, 66px); line-height: .88; }
.howto-hero-copy > p:last-child { max-width: 650px; margin: 13px 0 0; color: #c3ccd7; font-size: 12px; line-height: 1.55; }
.howto-hero-rule { position: relative; z-index: 1; min-height: 92px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 12px; border: 1px solid rgba(201,255,47,.25); border-radius: 18px; background: rgba(4,12,21,.5); padding: 15px; }
.howto-hero-rule span { grid-column: 1 / -1; color: #9baabd; font-size: 10px; font-weight: 850; letter-spacing: .1em; }
.howto-hero-rule strong { color: var(--lime); font: 800 30px/1 'Barlow Condensed'; text-transform: uppercase; }
.howto-hero-rule small { color: #d4dbe4; font-size: 11px; line-height: 1.35; }
.guide-index { display: flex; gap: 8px; overflow-x: auto; margin: 0; padding: 2px 1px 5px; scrollbar-width: thin; }
.guide-index a { min-width: 112px; min-height: 46px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.025); color: #c4ceda; padding: 9px 11px; font-size: 11px; font-weight: 800; }
.guide-index a:hover { border-color: rgba(201,255,47,.28); color: var(--lime); }
.guide-index a:focus-visible { outline: 3px solid rgba(201,255,47,.7); outline-offset: 2px; }
.guide-index span { color: var(--lime); font: 800 14px/1 'Barlow Condensed'; }
.guide-section { display: grid; gap: 14px; scroll-margin-top: 14px; border: 1px solid var(--line); border-radius: 22px; background: rgba(12,25,41,.86); padding: 17px; }
.guide-section-heading { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 11px; }
.guide-section-heading > span { width: 44px; height: 44px; display: grid; place-content: center; border: 1px solid rgba(201,255,47,.25); border-radius: 13px; background: rgba(201,255,47,.06); color: var(--lime); font: 800 20px/1 'Barlow Condensed'; }
.guide-section-heading p { margin: 0 0 3px; color: #9baabd; font-size: 10px; font-weight: 850; letter-spacing: .1em; }
.guide-section-heading h2 { font-size: clamp(27px, 9vw, 36px); line-height: .94; }
.guide-score-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: rgba(4,12,21,.35); }
.guide-score-grid article { min-width: 0; display: grid; place-content: center; min-height: 105px; border-left: 1px solid var(--line); padding: 10px 6px; text-align: center; }
.guide-score-grid article:first-child { border-left: 0; }
.guide-score-grid span, .guide-score-grid small { color: #9baabd; font-size: 10px; font-weight: 750; }
.guide-score-grid strong { margin: 4px 0 1px; font: 800 38px/1 'Barlow Condensed'; }
.guide-score-win strong { color: var(--lime); }
.guide-score-draw strong { color: #ffc857; }
.guide-score-loss strong { color: #ff8792; }
.guide-rule-list { display: grid; gap: 9px; }
.guide-rule-card { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 11px; border: 1px solid rgba(255,255,255,.08); border-radius: 15px; background: rgba(255,255,255,.025); padding: 13px; }
.guide-rule-card h3 { margin: 0; color: #f3f6fa; font-size: 13px; line-height: 1.3; }
.guide-rule-card p { margin: 5px 0 0; color: #b9c4d0; font-size: 11px; line-height: 1.55; }
.guide-rule-card p b { color: #f3f6fa; }
.guide-rule-number { width: 38px; height: 38px; display: grid; place-content: center; border-radius: 12px; background: rgba(79,140,255,.11); color: #b9d0ff; font: 800 17px/1 'Barlow Condensed'; }
.guide-rule-emphasis { border-color: rgba(201,255,47,.24); background: rgba(201,255,47,.045); }
.guide-rule-emphasis .guide-rule-number { background: rgba(201,255,47,.1); color: var(--lime); }
.guide-example { display: grid; gap: 10px; border: 1px solid rgba(79,140,255,.27); border-radius: 17px; background: linear-gradient(135deg, rgba(79,140,255,.08), rgba(5,14,24,.58)); padding: 15px; }
.guide-example-label { color: #9fc0ff; font-size: 10px; font-weight: 850; letter-spacing: .09em; }
.guide-example h3 { margin: 0; font: 800 26px/1 'Barlow Condensed'; text-transform: uppercase; }
.guide-example ol { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.guide-example li { display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: center; gap: 9px; }
.guide-example li > span { width: 30px; height: 30px; display: grid; place-content: center; border-radius: 9px; background: rgba(79,140,255,.13); color: #b9d0ff; font-size: 11px; font-weight: 900; }
.guide-example li p { margin: 0; color: #c5d0dc; font-size: 11px; line-height: 1.45; }
.guide-example li b { color: #fff; }
.guide-example-note { margin: 0; border-top: 1px solid rgba(255,255,255,.08); color: #9baabd; padding-top: 10px; font-size: 10px; line-height: 1.5; }
.guide-visibility-grid { display: grid; grid-template-columns: 1fr; gap: 9px; }
.guide-visibility-grid article { min-height: 168px; border: 1px solid var(--line); border-radius: 17px; background: rgba(255,255,255,.025); padding: 15px; }
.guide-visibility-grid span, .guide-account-grid span, .guide-current-context span { font-size: 10px; font-weight: 850; letter-spacing: .09em; }
.guide-visibility-grid h3, .guide-account-grid h3 { margin: 9px 0 0; color: #f4f7fb; font: 800 25px/1 'Barlow Condensed'; text-transform: uppercase; }
.guide-visibility-grid p, .guide-account-grid p { margin: 9px 0 0; color: #b9c4d0; font-size: 11px; line-height: 1.55; }
.guide-visibility-grid p b { color: #fff; }
.guide-visibility-public { border-color: rgba(201,255,47,.24) !important; }
.guide-visibility-public > span { color: var(--lime); }
.guide-visibility-hidden { border-color: rgba(79,140,255,.27) !important; }
.guide-visibility-hidden > span { color: #9fc0ff; }
.guide-transparency-note { margin: 0; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; background: rgba(4,12,21,.35); color: #b9c4d0; padding: 12px; font-size: 11px; line-height: 1.55; }
.guide-transparency-note b { color: #fff; }
.guide-publication-legend { display: grid; grid-template-columns: 1fr; gap: 7px; }
.guide-publication-legend article { border-left: 3px solid rgba(79,140,255,.5); border-radius: 0 11px 11px 0; background: rgba(79,140,255,.055); padding: 10px 11px; }
.guide-publication-legend span { color: #b9d0ff; font-size: 10px; font-weight: 850; letter-spacing: .06em; }
.guide-publication-legend p { margin: 4px 0 0; color: #b9c4d0; font-size: 10px; line-height: 1.45; }
.guide-account-grid { display: grid; grid-template-columns: 1fr; gap: 9px; }
.guide-account-grid article { border: 1px solid var(--line); border-radius: 17px; background: rgba(255,255,255,.025); padding: 15px; }
.guide-account-grid span { color: #9fc0ff; }
.guide-current-context { display: grid; gap: 4px; border: 1px solid rgba(201,255,47,.22); border-radius: 14px; background: rgba(201,255,47,.045); padding: 12px; }
.guide-current-context span { color: var(--lime); }
.guide-current-context strong { font-size: 13px; }
.guide-current-context small { color: #b9c4d0; font-size: 10px; line-height: 1.45; }
.guide-replacement-card { display: grid; grid-template-columns: 1fr; gap: 15px; border: 1px solid rgba(255,200,87,.25); border-radius: 18px; background: rgba(255,200,87,.045); padding: 15px; }
.guide-replacement-flow { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 7px; }
.guide-replacement-flow span { min-height: 54px; display: grid; place-content: center; border: 1px solid rgba(255,200,87,.22); border-radius: 12px; background: rgba(5,14,24,.42); color: #ffd77f; padding: 8px; font-size: 10px; font-weight: 850; text-align: center; }
.guide-replacement-flow b { color: #ffd77f; font-size: 20px; }
.guide-replacement-card h3 { margin: 0; font-size: 14px; }
.guide-replacement-card p { margin: 7px 0 0; color: #c3ccd7; font-size: 11px; line-height: 1.55; }
.guide-replacement-card > div:last-child > strong { display: block; margin-top: 10px; color: #ffd77f; font-size: 12px; }
.guide-ready-card { display: grid; gap: 14px; border: 1px solid rgba(201,255,47,.3); border-radius: 21px; background: linear-gradient(125deg, rgba(24,47,72,.98), rgba(7,17,29,.99)); padding: 18px; }
.guide-ready-card span { color: var(--lime); font-size: 10px; font-weight: 850; letter-spacing: .1em; }
.guide-ready-card h2 { margin-top: 4px; font-size: 30px; }
.guide-ready-card p { margin: 7px 0 0; color: #b9c4d0; font-size: 11px; line-height: 1.5; }
.guide-ready-card a { min-height: 48px; display: flex; align-items: center; justify-content: space-between; border-radius: 13px; background: var(--lime); color: #07101c; padding: 12px 14px; font-size: 12px; font-weight: 900; }
.guide-ready-card a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.guide-ready-card a b { font-size: 18px; }

@media (min-width: 700px) {
    .howto-main { gap: 17px; }
    .howto-hero { grid-template-columns: minmax(0, 1fr) 220px; align-items: end; padding: 28px; }
    .howto-hero-rule { min-height: 122px; display: block; }
    .howto-hero-rule strong, .howto-hero-rule small { display: block; }
    .howto-hero-rule strong { margin: 13px 0 5px; font-size: 39px; }
    .guide-index { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: visible; }
    .guide-index a { min-width: 0; }
    .guide-section { gap: 17px; padding: 23px; }
    .guide-visibility-grid, .guide-account-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .guide-publication-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .guide-replacement-card { grid-template-columns: minmax(230px, .75fr) minmax(0, 1.25fr); align-items: center; }
    .guide-ready-card { grid-template-columns: minmax(0, 1fr) 220px; align-items: center; padding: 23px; }
}

@media (min-width: 1000px) {
    .guide-rule-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .guide-rule-list .guide-rule-card { grid-template-columns: 1fr; }
    .guide-publication-legend { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 360px) {
    .guide-nav { width: calc(100% - 16px); }
    .howto-hero { padding: 17px; }
    .howto-hero h1 { font-size: 46px; }
    .guide-section { padding: 14px; }
    .guide-score-grid strong { font-size: 34px; }
    .guide-score-grid span, .guide-score-grid small { font-size: 9px; }
    .guide-rule-card { grid-template-columns: 34px minmax(0, 1fr); padding: 11px; }
    .guide-rule-number { width: 34px; height: 34px; }
    .guide-replacement-flow { gap: 4px; }
    .guide-replacement-flow span { padding-inline: 4px; font-size: 9px; }
}
/* === HOW TO PLAY GUIDE: end === */

/* === ROUND LIVE CENTER: start === */
.round-live-center { display: grid; gap: 15px; overflow: hidden; border: 1px solid rgba(255,93,108,.3); border-radius: 22px; background: radial-gradient(circle at 90% 0, rgba(255,93,108,.11), transparent 30%), linear-gradient(145deg, rgba(20,39,59,.98), rgba(7,17,29,.99)); padding: 20px; box-shadow: 0 18px 48px rgba(0,0,0,.18); }
.round-live-center[hidden] { display: none; }
.round-live-heading { min-width: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.round-live-heading > div:first-child { min-width: 0; }
.round-live-heading .eyebrow { display: flex; align-items: center; gap: 7px; color: #ffadb5; }
.round-live-heading h2 { margin: 5px 0 0; font-size: clamp(25px, 4vw, 38px); }
.round-live-heading > div:first-child > p:last-child { max-width: 680px; margin: 7px 0 0; color: #bec8d4; font-size: 11px; line-height: 1.55; }
.round-live-dot { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(255,93,108,.1), 0 0 17px rgba(255,93,108,.8); animation: round-live-pulse 1.8s ease-in-out infinite; }
.round-live-meta { flex: 0 0 auto; display: grid; justify-items: end; gap: 7px; text-align: right; }
.round-live-meta strong { border: 1px solid rgba(255,93,108,.3); border-radius: 999px; background: rgba(255,93,108,.1); color: #ffadb5; padding: 6px 9px; font-size: 9px; font-weight: 900; letter-spacing: .08em; }
.round-live-meta strong.is-final { border-color: rgba(201,255,47,.28); background: rgba(201,255,47,.09); color: var(--lime); }
.round-live-meta span { color: #9aa8b8; font-size: 10px; }
.round-live-warning { min-width: 0; display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 10px; border: 1px solid rgba(255,200,87,.28); border-radius: 13px; background: rgba(255,200,87,.06); padding: 10px 12px; }
.round-live-warning[hidden] { display: none; }
.round-live-warning > span { width: 34px; height: 34px; display: grid; place-content: center; border-radius: 10px; background: rgba(255,200,87,.12); color: #ffd77f; font-weight: 900; }
.round-live-warning p { margin: 0; color: #e2ca98; font-size: 10px; line-height: 1.45; }
.round-live-announcement { width: 1px; height: 1px; position: absolute; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.round-live-grid { min-width: 0; display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(210px, .75fr); gap: 12px; }
.round-live-own, .round-live-progress { min-width: 0; border: 1px solid var(--line); border-radius: 17px; background: rgba(4,13,23,.48); }
.round-live-own { display: grid; grid-template-columns: minmax(160px, .8fr) minmax(0, 1.2fr); }
.round-live-own-team { min-width: 0; display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 10px; padding: 14px; }
.round-live-own-team img { width: 48px; height: 48px; object-fit: contain; border-radius: 12px; background: rgba(255,255,255,.94); padding: 5px; }
.round-live-own-team img[hidden] { display: none; }
.round-live-own-team span { min-width: 0; }
.round-live-own-team small, .round-live-own-team strong { display: block; }
.round-live-own-team small, .round-live-own-stats dt, .round-live-progress > span { color: #96a5b6; font-size: 9px; font-weight: 800; letter-spacing: .05em; }
.round-live-own-team strong { overflow: hidden; margin-top: 4px; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.round-live-own-stats { min-width: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.round-live-own-stats > div { min-width: 0; display: grid; align-content: center; border-left: 1px solid var(--line); padding: 12px 10px; }
.round-live-own-stats dt, .round-live-own-stats dd { margin: 0; }
.round-live-own-stats dd { overflow: hidden; margin-top: 5px; font: 800 24px/.95 'Barlow Condensed'; text-overflow: ellipsis; white-space: nowrap; }
.round-live-own-stats dd.is-win { color: var(--lime); }
.round-live-own-stats dd.is-draw { color: #ffd77f; }
.round-live-own-stats dd.is-loss { color: #ff9ca5; }
.round-live-own-detail { grid-column: 1 / -1; margin: 0; border-top: 1px solid var(--line); color: #e4c985; background: rgba(255,200,87,.045); padding: 9px 12px; font-size: 10px; line-height: 1.45; }
.round-live-own-detail[hidden] { display: none; }
.round-live-progress { display: grid; align-content: center; gap: 7px; padding: 14px; }
.round-live-progress > strong { font: 800 22px/1 'Barlow Condensed'; }
.round-live-progress > small { color: #aeb9c6; font-size: 10px; line-height: 1.4; }
.round-live-progress-bar { width: 100%; height: 7px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.08); }
.round-live-progress-bar i { width: 0; height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, #ff5d6c, #ffc857, var(--lime)); transition: width .35s ease; }
.round-live-details { min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.round-live-details details { min-width: 0; border: 1px solid var(--line); border-radius: 16px; background: rgba(4,13,23,.4); }
.round-live-details summary { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; list-style: none; padding: 13px 14px; }
.round-live-details summary::-webkit-details-marker { display: none; }
.round-live-details summary span, .round-live-details summary small, .round-live-details summary strong { min-width: 0; display: block; }
.round-live-details summary small { color: #96a5b6; font-size: 9px; letter-spacing: .06em; }
.round-live-details summary strong { overflow: hidden; margin-top: 4px; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.round-live-details summary b { flex: 0 0 auto; color: #a8c5ff; font-size: 10px; }
.round-live-details details[open] summary { border-bottom: 1px solid var(--line); }
.round-live-details details[open] summary b { font-size: 0; }
.round-live-details details[open] summary b::after { content: 'Chiudi'; font-size: 10px; }
.round-live-empty { margin: 0; color: #9daab9; padding: 13px 14px; font-size: 10px; line-height: 1.45; }
.round-live-empty[hidden] { display: none; }
.round-live-bars, .round-live-standing-list { max-height: 330px; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.round-live-bar { min-width: 0; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 9px; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,.055); padding: 9px 12px; }
.round-live-bar:last-child { border-bottom: 0; }
.round-live-bar > span { min-width: 0; display: flex; align-items: center; gap: 8px; position: relative; z-index: 1; }
.round-live-bar img { width: 28px; height: 28px; flex: 0 0 auto; object-fit: contain; border-radius: 8px; background: rgba(255,255,255,.94); padding: 3px; }
.round-live-bar strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.round-live-bar > b { position: relative; z-index: 1; color: #d8e1eb; font-size: 10px; }
.round-live-bar > i { height: 100%; position: absolute; inset: 0 auto 0 0; background: rgba(79,140,255,.08); pointer-events: none; }
.round-live-standing-row { min-width: 0; display: grid; grid-template-columns: 32px minmax(0, 1fr) minmax(70px, auto) 48px; align-items: center; gap: 8px; border-bottom: 1px solid rgba(255,255,255,.055); padding: 10px 12px; }
.round-live-standing-row:last-child { border-bottom: 0; }
.round-live-standing-row.is-mine { background: rgba(201,255,47,.065); box-shadow: inset 3px 0 var(--lime); }
.round-live-standing-position { color: #9fb1c4; font: 800 18px/1 'Barlow Condensed'; }
.round-live-standing-name { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.round-live-standing-detail { color: #9eacbb; font-size: 9px; text-align: right; }
.round-live-standing-points { color: var(--lime); font-size: 11px; text-align: right; }
.player-fixture-list article.is-live { background: rgba(255,93,108,.045); box-shadow: inset 3px 0 var(--red); }

@keyframes round-live-pulse { 0%, 100% { opacity: .58; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.08); } }

@media (max-width: 820px) {
    .round-live-grid { grid-template-columns: 1fr; }
    .round-live-details { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .round-live-center { gap: 12px; border-radius: 18px; padding: 14px; }
    .round-live-heading { display: grid; gap: 10px; }
    .round-live-meta { display: flex; align-items: center; justify-content: space-between; text-align: left; }
    .round-live-own { grid-template-columns: 1fr; }
    .round-live-own-team { padding: 12px; }
    .round-live-own-stats { border-top: 1px solid var(--line); }
    .round-live-own-stats > div:first-child { border-left: 0; }
    .round-live-own-stats dd { font-size: 21px; }
    .round-live-progress { padding: 12px; }
    .round-live-details summary { min-height: 50px; padding: 11px 12px; }
    .round-live-standing-row { grid-template-columns: 28px minmax(0, 1fr) 42px; }
    .round-live-standing-detail { grid-column: 2; grid-row: 2; text-align: left; }
    .round-live-standing-points { grid-column: 3; grid-row: 1 / span 2; }
}

@media (max-width: 360px) {
    .round-live-center { padding: 12px; }
    .round-live-heading h2 { font-size: 25px; }
    .round-live-own-team { grid-template-columns: 42px minmax(0, 1fr); }
    .round-live-own-team img { width: 42px; height: 42px; }
    .round-live-own-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .round-live-own-stats > div:nth-child(3) { border-left: 0; }
    .round-live-own-stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
    .round-live-own-stats dd { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .round-live-dot { animation: none; }
    .round-live-progress-bar i { transition: none; }
}
/* === ROUND LIVE CENTER: end === */
