:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,sans-serif;color:#283321;background:#faf7ef;font-synthesis:none}*{box-sizing:border-box}body{margin:0}.skip-link{position:fixed;left:12px;top:8px;z-index:20;transform:translateY(-150%);padding:10px 14px;border-radius:8px;background:#fff;color:#24391b;font-weight:700}.skip-link:focus{transform:translateY(0)}header{background:#24391b;color:white;padding:24px max(20px,calc((100% - 880px)/2));display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;gap:12px;align-items:center}.brand strong{font-size:25px;letter-spacing:-1px}.brand span:not(.crest){display:block;font-size:10px;letter-spacing:2px;margin-top:4px;color:#f4d5a1}.crest{display:block;width:52px;height:83px;object-fit:contain;flex-shrink:0;border-radius:5px;background:#fff}.season{font-size:12px;color:#f4d5a1}main{max-width:920px;margin:auto;padding:24px 20px 110px}h1{font-size:29px;letter-spacing:-1px;margin:5px 0 8px}h2{font-size:18px;margin:0 0 14px}p{line-height:1.5}.muted,small{color:#687052}.eyebrow{font-size:11px;letter-spacing:1.8px;text-transform:uppercase;color:#687052;font-weight:700}.heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:20px}.heading p{margin:0}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:22px 0}.metric{border:1px solid #e5e2cc;background:#fff;border-radius:14px;padding:16px}.metric strong{display:block;font-size:25px;margin-bottom:4px}.metric span{font-size:12px;color:#687052}.match{display:flex;align-items:center;gap:14px;width:100%;text-align:left;background:white;border:1px solid #e5e2cc;margin:9px 0;padding:17px;border-radius:14px;color:inherit}.match:hover{border-color:#687052}.round{background:#f9e7cd;color:#687052;padding:12px;border-radius:11px;min-width:49px;text-align:center;font-weight:700;font-size:13px}.match-body{flex:1}.match strong{display:block;font-size:16px;margin:3px 0 5px}.match small{font-size:12px}.badge{font-size:11px;border-radius:20px;padding:6px 9px;background:#f7f5ec;color:#687052;white-space:nowrap}.badge.played{background:#e4f1cc;color:#2c4820}.card{background:#fff;border:1px solid #e5e2cc;border-radius:16px;padding:20px;margin:14px 0}.grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}label{display:block;font-size:12px;font-weight:600;color:#687052}input,select,textarea{display:block;margin-top:6px;width:100%;font:inherit;font-size:16px;color:#283321;padding:12px;border:1px solid #e5e2cc;background:#fff;border-radius:9px;min-height:46px}input:focus,select:focus,textarea:focus{outline:2px solid #a31522;outline-offset:2px}input:disabled{background:#f7f5ec;color:#687052}.full{grid-column:1/-1}button,.link-button{font:inherit;cursor:pointer;min-height:44px;touch-action:manipulation}button:disabled{opacity:.6;cursor:wait}button[aria-busy="true"]:after{content:"";display:inline-block;width:12px;height:12px;margin-left:8px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:busy-spin .7s linear infinite}@keyframes busy-spin{to{transform:rotate(360deg)}}.primary{border:0;background:#36551f;color:white;border-radius:10px;padding:13px 22px;font-weight:650}.secondary,.back{border:1px solid #b7da7b;background:white;color:#2c4820;border-radius:10px;padding:10px 14px}.back{font-size:13px}.player-entry{padding:17px 0;border-top:1px solid #e5e2cc}.player-entry:first-child{border-top:0}.player-entry strong{display:block;margin-bottom:12px;font-size:14px}.entry-fields{display:grid;grid-template-columns:100px 1fr;gap:12px}.savebar{position:sticky;bottom:79px;background:#faf7efed;padding:12px 0;display:flex;align-items:center;justify-content:space-between;gap:12px;backdrop-filter:blur(12px)}.savebar small{font-size:12px}nav{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:center;gap:5px;background:#fff;border-top:1px solid #e5e2cc;padding:10px 14px max(10px,env(safe-area-inset-bottom));z-index:5}nav button{border:0;background:transparent;color:#687052;padding:12px 16px;border-radius:10px;font-size:13px;font-weight:650;flex:1;max-width:220px}nav button.selected{color:#2c4820;background:#e4f1cc}#notice:not(:empty){padding:14px 16px;border:1px solid #e5e2cc;border-radius:10px;background:#e5e2cc;margin-bottom:18px;font-size:14px}#notice.error{background:#fff0ee;border-color:#e7b3af;color:#a31522}#notice[role="alert"]{font-weight:650}.tools{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:18px 0}.tools a{color:#2c4820;font-size:13px}.rank{display:grid;grid-template-columns:1fr auto;gap:12px;padding:17px 0;border-bottom:1px solid #e5e2cc}.rank:last-child{border-bottom:0}.rank strong{font-size:14px}.rank .total{text-align:right;font-size:20px;font-weight:750}.rank small{display:block;margin-top:5px;font-size:12px}.bar{height:4px;margin-top:12px;background:#e5e2cc;border-radius:4px;overflow:hidden}.bar span{display:block;height:100%;background:#83a936}.roster-row{display:grid;grid-template-columns:1fr auto;align-items:center;gap:12px;border-top:1px solid #e5e2cc;padding:14px 0}.roster-row label{display:flex;align-items:center;gap:6px}.roster-row input[type=checkbox]{width:20px;min-height:20px;margin:0}.empty{padding:16px;background:#f7f5ec;border-radius:12px;font-size:14px;color:#687052}details summary{cursor:pointer;line-height:1.6;font-size:13px;color:#687052}details p{font-size:12px}.statusline{min-height:20px}a{color:#2c4820}@media(max-width:520px){header{padding:20px}.season{display:none}main{padding:22px 16px 105px}.card{padding:16px}.metric{padding:14px 10px}.metric span{font-size:11px}.match{padding:14px 12px;gap:10px}.badge{font-size:10px;padding:5px 7px}.heading h1{font-size:26px}.grid{gap:12px}.entry-fields{grid-template-columns:90px 1fr}.roster-row{gap:9px}}
.match-tabs{display:flex;gap:6px;margin:20px 0}.match-tabs button{flex:1;border:1px solid #e5e2cc;background:#fff;color:#2c4820;border-radius:10px;padding:10px;font-size:14px}.match-tabs button.selected{background:#36551f;color:#fff;border-color:#36551f}.callup-player{padding:18px 0;border-bottom:1px solid #e5e2cc}.callup-player:last-child{border:0}.callup-player.chosen>strong{color:#2c4820}.player-summary{display:flex;flex-wrap:wrap;gap:6px 15px;margin:10px 0;font-size:12px;color:#687052}.player-summary b{color:#2c4820;font-size:16px}.checks{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.checks label,.checkline{display:flex;align-items:center;gap:8px;min-height:44px}.checks label{border:1px solid #e5e2cc;border-radius:8px;padding:7px 10px}.checks input,.checkline input{width:20px;height:20px;min-height:20px;margin:0;accent-color:#2c4820}.checkline{margin:12px 0}.scoreboard{text-align:center}.score{font-size:54px;font-weight:800;letter-spacing:3px;margin:12px 0}.score span{color:#687052}.scoreboard p{margin:4px 0 12px}.spaced{margin-top:18px}.event-row{display:grid;grid-template-columns:34px 1fr;gap:10px;padding:16px 0;border-bottom:1px solid #e5e2cc;font-size:14px}.event-row small{display:block;margin-top:6px}.event-row button{font-size:12px;grid-row:auto}.event-row button:first-of-type{grid-column:2;width:max-content}.event-row button:last-of-type{grid-column:2;width:max-content}.minutes-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:13px 0;border-top:1px solid #e5e2cc;font-size:14px}.minutes-row small{display:block;margin-top:5px}.roster-row{grid-template-columns:minmax(0,1fr) 65px auto}.heading>div{min-width:0}.heading h1{overflow-wrap:anywhere;font-size:25px}.heading .back{flex-shrink:0}.match-body{min-width:0}.match-body small{display:block;line-height:1.6}.scoreboard .eyebrow{line-height:1.6}@media(max-width:400px){.checks{gap:5px}.checks label{font-size:11px;padding:6px}.roster-row{grid-template-columns:minmax(0,1fr) 57px}.roster-row>label:last-child{grid-column:1/-1}.heading h1{font-size:22px}.grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}

.clock{font-size:64px;line-height:1.15;font-variant-numeric:tabular-nums;letter-spacing:-2px;font-weight:800;margin:18px 0;color:#2c4820}.clock-adjustable{cursor:pointer;border-radius:12px}.clock-adjustable:focus-visible{outline:3px solid var(--brand-accent);outline-offset:4px}.live-board .score{font-size:38px;margin:5px 0 14px}.clock-controls{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin:20px 0 16px}.clock-controls button{font-size:13px}.quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.quick-actions button{padding:15px 10px;min-height:55px;font-size:14px}.quick-panel{margin-top:20px;padding-top:20px;border-top:1px solid #e5e2cc}.lineup{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.lineup span{padding:9px 12px;border-radius:8px;background:#e5e2cc;font-size:13px}.lineup.bench span{background:#f7f5ec}.live-save-note{color:#687052;font-size:12px;text-align:center;padding:12px}.text-button{display:block;margin:8px auto 0;border:0;background:none;color:#2c4820;font-size:12px;text-decoration:underline}.small{font-size:12px}.event-row{grid-template-columns:52px 1fr}.minutes-row b{font-variant-numeric:tabular-nums}.live-board #connection-state{display:block;line-height:1.5}
.sub-batch{border-top:1px solid #e5e2cc}.sub-batch-row{display:grid;grid-template-columns:78px minmax(0,1fr) minmax(0,1fr);gap:10px;align-items:end;padding:12px 0;border-bottom:1px solid #e5e2cc}.sub-batch-row>strong{align-self:center;color:#2c4820}.sub-batch-row.registered{grid-template-columns:78px 1fr;align-items:center;color:#687052}.sub-batch-row.registered span{font-size:13px}@media(max-width:520px){.sub-batch-row{grid-template-columns:62px minmax(0,1fr) minmax(0,1fr);gap:7px}.sub-batch-row label{font-size:11px}.sub-batch-row select{padding:10px 7px;font-size:14px}.sub-batch-row>strong{font-size:12px}}

.tactic-head{display:flex;align-items:end;justify-content:space-between;gap:14px;margin-bottom:16px}.tactic-head h2{margin:4px 0 0}.tactic-head label{width:120px}.formation-badge{padding:8px 12px;border-radius:20px;background:#e4f1cc;color:#2c4820;font-weight:750}.football-pitch{position:relative;display:grid;grid-template-rows:repeat(4,minmax(95px,1fr));gap:4px;min-height:500px;padding:20px 10px;border:4px solid #f1f0dc;border-radius:12px;background:linear-gradient(90deg,rgba(255,255,255,.035) 50%,transparent 50%),#418e45;background-size:25% 100%;overflow:hidden}.football-pitch:before{content:"";position:absolute;left:4%;right:4%;top:50%;border-top:2px solid #b9dfa9}.football-pitch:after{content:"";position:absolute;width:92px;height:92px;left:50%;top:50%;transform:translate(-50%,-50%);border:2px solid #b9dfa9;border-radius:50%}.formation-line{position:relative;z-index:1;display:grid;grid-template-columns:repeat(var(--players),minmax(0,1fr));align-items:center;gap:6px}.formation-line.keeper{grid-template-columns:minmax(0,1fr);justify-items:center}.field-player{min-width:0;text-align:center;color:white}.field-player select{margin:5px auto 0;min-height:34px;padding:6px 5px;max-width:135px;border-color:#d9e8c8;font-size:11px;color:#24391b}.player-marker{display:grid;place-items:center;width:38px;height:42px;margin:auto;border-radius:9px 9px 14px 14px;background:#bc1926;border:2px solid #f4d5a1;box-shadow:0 3px 7px #17391780;color:white;font-size:13px;font-weight:800}.formation-line.keeper .player-marker{background:#24391b}.field-name{display:block;margin-top:5px;color:white;font-size:11px;font-weight:750;text-shadow:0 1px 3px #173917;overflow-wrap:anywhere}.tactic-card>.muted:last-child{margin-bottom:0}.field-player .live-lineup-select{border:2px solid #e6bd7e;background:#fffaf2;font-weight:700}
@media(max-width:520px){.tactic-card{padding:12px}.tactic-head{align-items:center}.football-pitch{min-height:460px;padding:14px 5px;grid-template-rows:repeat(4,minmax(86px,1fr));gap:2px}.formation-line{gap:3px}.field-player select{font-size:10px;padding:5px 2px;min-height:32px}.player-marker{width:32px;height:36px;font-size:11px}.field-name{font-size:9px}.football-pitch:after{width:72px;height:72px}}

/* Colores del escudo: verde, crema, dorado y rojo. */
.formation-line.players-1{grid-template-columns:minmax(0,1fr)}.formation-line.players-2{grid-template-columns:repeat(2,minmax(0,1fr))}.formation-line.players-3{grid-template-columns:repeat(3,minmax(0,1fr))}.formation-line.players-4{grid-template-columns:repeat(4,minmax(0,1fr))}.formation-line.players-5{grid-template-columns:repeat(5,minmax(0,1fr))}
header{border-bottom:4px solid #e6bd7e;box-shadow:0 3px 0 #bc1926}.brand strong{color:#fff}.brand span:not(.crest){color:#f4d5a1}nav button.selected{box-shadow:inset 0 -3px #bc1926}.metric{border-top:3px solid #b3db73}.round{border:1px solid #e6bd7e}.primary:hover{background:#294317}.match-tabs button.selected{border-bottom:3px solid #b3db73}.badge.played{background:#e4f1cc}.checks input,.checkline input,.roster-row input[type=checkbox]{accent-color:#4f7028}button:focus-visible,a:focus-visible{outline:2px solid #a31522;outline-offset:3px}#notice.error{background:#fff0ee;border-color:#e7b3af;color:#a31522}#notice[role="alert"]{font-weight:650}@media(max-width:520px){header{padding:14px 20px}.brand{gap:14px}.brand strong{font-size:25px}}

.history-card{padding:0;overflow:hidden}.history-table{width:100%;border-collapse:collapse;font-size:13px;table-layout:fixed}.history-table th,.history-table td{text-align:left;padding:12px 9px;border-bottom:1px solid #e5e2cc;overflow-wrap:anywhere}.history-table thead{background:#24391b;color:white}.history-table th:first-child{width:37%}.history-table th:last-child,.history-table td:last-child{width:17%;text-align:right;font-variant-numeric:tabular-nums}.history-present{background:#e4f1cc;color:#2c4820}.history-absent{background:#fff0ee;color:#a31522}.history-warning{background:#fff0ce;color:#725013}.history-neutral{background:#f3f2ed;color:#51564c}

.quick-actions{gap:14px 12px}.quick-actions button{min-height:64px}.undo-card{display:flex;align-items:center;justify-content:space-between;gap:20px;border:2px solid #e6bd7e;background:#fffaf2}.undo-card strong,.undo-card small{display:block}.undo-card strong{margin:7px 0;font-size:14px}.undo-card button{flex:0 0 auto;min-height:52px;padding:12px 18px;border:1px solid #e7b3af;border-radius:10px;background:#fff;color:#a31522;font-weight:700}@media(max-width:520px){.undo-card{display:block}.undo-card button{width:100%;margin-top:16px}}

#session-area{display:flex;align-items:center;gap:12px;text-align:right}#session-area span{font-size:13px;font-weight:700}#session-area small{display:block;color:#f4d5a1;font-size:10px;margin-top:3px}#session-area button{min-height:36px;padding:7px 11px;border:1px solid #b7da7b;border-radius:8px;background:transparent;color:#fff}.login-card{max-width:430px;margin:48px auto}.login-card form{display:grid;gap:16px}.login-card button{margin-top:4px}.logged-out main{max-width:520px}.logged-out nav{display:none}.viewer .savebar,.viewer #match-form>details:last-child,.viewer #roster-form>details:last-child{display:none}.viewer #match-form input:disabled,.viewer #match-form select:disabled,.viewer #match-form textarea:disabled,.viewer #roster-form input:disabled{opacity:1;color:#283321}.account-form{display:grid;gap:16px;margin-top:18px}.account-form .checkline{margin:0}.account-card>summary{display:flex;align-items:center;justify-content:space-between;gap:12px}.account-card>summary strong,.account-card>summary small{display:block}.account-card>summary small{margin-top:5px}.account-card>summary .badge{flex-shrink:0}@media(max-width:520px){#session-area{gap:7px}#session-area span{max-width:100px;font-size:11px}#session-area button{font-size:12px;padding:6px 8px}.login-card{margin:20px auto}.account-form .grid{grid-template-columns:1fr}}
#session-area{display:flex;align-items:center;gap:12px;text-align:right}#session-area span{font-size:13px;font-weight:700}#session-area small{display:block;color:#f4d5a1;font-size:10px;margin-top:3px}#session-area button{min-height:36px;padding:7px 11px;border:1px solid #b7da7b;border-radius:8px;background:transparent;color:#fff}.login-card{max-width:430px;margin:48px auto}.login-card form{display:grid;gap:16px}.login-card button{margin-top:4px}.logged-out main{max-width:520px}.logged-out nav{display:none}.viewer .savebar,.viewer #match-form>details:last-child,.viewer #roster-form>details:last-child{display:none}.viewer #match-form input:disabled,.viewer #match-form select:disabled,.viewer #match-form textarea:disabled,.viewer #roster-form input:disabled{opacity:1;color:#283321}.account-form{display:grid;gap:16px;margin-top:18px}.account-form .checkline{margin:0}.account-functions{display:flex;flex-wrap:wrap;gap:8px 20px;border:1px solid #e5e2cc;border-radius:9px;padding:10px 14px 12px}.account-functions legend{padding:0 5px;font-size:12px;font-weight:600;color:#687052}.account-card>summary{display:flex;align-items:center;justify-content:space-between;gap:12px}.account-card>summary strong,.account-card>summary small{display:block}.account-card>summary small{margin-top:5px}.account-card>summary .badge{flex-shrink:0}@media(max-width:520px){#session-area{gap:7px}#session-area span{max-width:100px;font-size:11px}#session-area button{font-size:12px;padding:6px 8px}.login-card{margin:20px auto}.account-form .grid{grid-template-columns:1fr}}
.reset-test-card{border-color:#e7b3af;background:#fffaf8}.reset-test-card button{width:100%;min-height:52px;border:1px solid #a31522;border-radius:10px;background:#fff;color:#a31522;font-weight:700}

nav[hidden]{display:none}

.profile-photo{display:block;width:120px;height:150px;object-fit:cover;border-radius:12px;margin-top:12px}.profile-photo[hidden]{display:none}.profile-photo-actions{display:flex;flex-wrap:wrap;gap:16px;margin:20px 0}.profile-photo-actions button{min-height:48px;padding:12px 16px;border:1px solid #b9c9a9;border-radius:10px;background:#fff;color:#24391b}#profile-form{display:grid;gap:16px;margin-top:20px}
.user-form{display:grid;gap:16px;margin-top:18px}.user-section{border-top:1px solid #e5e2cc;padding-top:12px}.user-section h3{margin:0 0 12px}.user-photo-fields{min-width:0}

.password-field{display:flex;gap:8px;align-items:stretch;min-width:0}
.password-field input{flex:1;min-width:0;width:0}
.password-eye{flex:0 0 48px;min-height:48px;padding:10px;display:flex;align-items:center;justify-content:center}
.password-eye svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2}
.password-eye .eye-slash{display:none}
.password-eye[aria-pressed="true"] .eye-slash{display:block}

.match-age-card .metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.match-age-card .metric{min-width:0;display:flex;flex-direction:column;align-items:center;text-align:center}.match-age-card .age-label{width:100%;font-size:11px;font-weight:700;color:#687052;margin-bottom:9px;text-align:center}.match-age-card .age-player-number{display:block;font-size:18px;line-height:1.1}.match-age-card .age-player-name{display:block;font-size:clamp(16px,3vw,22px);line-height:1.2;overflow-wrap:anywhere}.match-age-card .age-name-long{font-size:14px}.match-age-card .age-name-very-long{font-size:12px;letter-spacing:-.2px}.match-age-card .age-value{display:block;width:100%;margin-top:auto;padding-top:10px;text-align:center}.match-age-card .age-value-number{display:block;font-size:28px;line-height:1;font-variant-numeric:tabular-nums}.match-age-card .age-value small{display:block;margin-top:4px;font-size:11px}.match-age-card .age-average{margin:auto 0}@media(max-width:520px){.match-age-card{padding:14px}.match-age-card h2{font-size:17px}.match-age-card .metrics{gap:6px;margin:16px 0}.match-age-card .metric{padding:11px 7px}.match-age-card .age-label{font-size:10px;line-height:1.25}.match-age-card .age-player-number{font-size:17px}.match-age-card .age-player-name{font-size:clamp(15px,4.4vw,18px)}.match-age-card .age-name-long{font-size:13px}.match-age-card .age-name-very-long{font-size:11px}.match-age-card .age-value-number{font-size:27px}.match-age-card .age-value small{font-size:10px}}
.competition-card>summary{display:flex;align-items:center;justify-content:space-between;gap:12px}.competition-card>summary strong,.competition-card>summary small{display:block}.competition-card>summary small{margin-top:5px}.competition-card .competition-form{padding:16px 0;border-top:1px solid #e5e2cc}.competition-card .user-section{margin-top:18px}.competition-card .checkline{margin:4px 0}@media(max-width:700px){.competition-card{padding:14px}.competition-card .grid{grid-template-columns:1fr}}
.federation-league>summary span,.federation-team>summary span,.federation-player>summary span,.competition-round>summary span,.fixture-tree>summary span{min-width:0}.federation-league>summary strong,.federation-league>summary small,.federation-team>summary strong,.federation-team>summary small,.federation-player>summary strong,.federation-player>summary small,.competition-round>summary strong,.competition-round>summary small,.fixture-tree>summary strong,.fixture-tree>summary small{display:block}.federation-league>summary small,.federation-team>summary small,.federation-player>summary small,.competition-round>summary small,.fixture-tree>summary small{margin-top:4px}.federation-team,.competition-round{margin:14px 0 0;padding:14px;border:1px solid #e5e2cc;border-radius:12px;background:#fafaf6}.federation-player,.fixture-tree{margin:10px 0;padding:12px;border-left:3px solid #b7da7b;background:#fff}.federation-player>summary{display:flex;align-items:center;justify-content:space-between;gap:10px}.federation-form,.fixture-tree .fixture-form{padding-top:14px}.competition-round>summary{font-size:15px;color:#2c4820}.fixture-tree>summary strong{overflow-wrap:anywhere}.add-fixture{margin-top:16px}@media(max-width:520px){.federation-team,.competition-round{padding:10px}.federation-player,.fixture-tree{padding:10px 8px}.federation-form .grid,.fixture-tree .grid{grid-template-columns:1fr}}

.management-menu{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.management-menu button{min-width:0;padding:16px 8px}.fixture-slot:empty{display:none}@media(max-width:420px){.management-menu{grid-template-columns:1fr}.management-menu button{text-align:left}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}

.management-menu strong,
.management-menu small {
  display: block;
}

.management-menu small {
  margin-top: 6px;
}

.header-tools{display:flex;align-items:center;justify-content:flex-end;gap:14px}.language-picker{display:grid;gap:3px;color:#f4d5a1;font-size:10px;font-weight:700;text-align:left}.language-picker select{min-height:36px;width:auto;padding:6px 30px 6px 9px;border:1px solid #b7da7b;border-radius:8px;background:#24391b;color:#fff;font:inherit;font-size:12px}.language-picker select:focus-visible{outline:3px solid #fff;outline-offset:2px}@media(max-width:520px){.header-tools{gap:7px}.language-picker span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.language-picker select{max-width:92px;padding-left:7px}}

/* ScoreOneSport 0.78.3: símbolo transparente y azul del logotipo. */
:root{--brand-ink:#202124;--brand-primary:#0d4fca;--brand-primary-dark:#093b99;--brand-accent:#176bff;--brand-canvas:#f5f1e8;--brand-surface:#fffdf9;--brand-border:#ddd5c8;--brand-muted:#6d675f;color:var(--brand-ink);background:var(--brand-canvas)}
body{background:radial-gradient(circle at 50% -180px,#ede4d7 0,transparent 430px),var(--brand-canvas);color:var(--brand-ink)}
header{background:var(--brand-surface);color:var(--brand-ink);border-bottom:4px solid var(--brand-accent);box-shadow:0 4px 16px #2021241a;padding-top:15px;padding-bottom:15px}
.brand{min-width:0;gap:11px}.brand>div{min-width:0}.app-logo{display:block;width:58px;height:58px;object-fit:contain;flex:0 0 auto}.brand strong{color:var(--brand-ink);font-size:24px;letter-spacing:-.7px;line-height:1}.brand .team-label{display:flex;align-items:center;gap:6px;margin-top:7px;color:var(--brand-muted);font-size:9px;line-height:1.2;letter-spacing:1.1px;text-transform:none;white-space:nowrap}.team-crest{display:block;width:18px;height:28px;object-fit:contain;border-radius:3px;background:#fff}.header-tools{color:var(--brand-ink)}.language-picker{color:var(--brand-muted)}.language-picker select{border-color:#cfc6b9;background:#fff;color:var(--brand-ink)}#session-area small{color:var(--brand-muted)}#session-area button{border-color:#cfc6b9;color:var(--brand-ink)}#session-area button:hover{background:#f0e9de}
main{color:var(--brand-ink)}.card,.match,details.card{border-color:var(--brand-border);box-shadow:0 8px 24px #2021240a}.login-card{border-top:4px solid var(--brand-accent);box-shadow:0 18px 50px #20212418}.eyebrow{color:var(--brand-primary);letter-spacing:1.5px}.muted,small{color:var(--brand-muted)}
input,select,textarea{border-color:#cfc6b9;color:var(--brand-ink);background:#fff}input:focus,select:focus,textarea:focus{border-color:var(--brand-primary);box-shadow:0 0 0 3px #176bff1f;outline:0}input:disabled,select:disabled,textarea:disabled{color:var(--brand-muted);background:#f2eee7}
.primary{background:var(--brand-primary);color:#fff}.primary:hover{background:var(--brand-primary-dark)}.secondary,.back{border-color:#cfc6b9;color:#123d82;background:#fff}.secondary:hover,.back:hover{border-color:var(--brand-primary);background:#e8f0ff}.text-button{color:#0b3f9f}a{color:#0b3f9f}
nav{background:var(--brand-surface);border-color:var(--brand-border);box-shadow:0 -5px 18px #2021240d}nav button{color:var(--brand-muted)}nav button.selected{color:var(--brand-ink);background:#e8f0ff;box-shadow:inset 0 -4px var(--brand-primary)}
.metric{border-top-color:var(--brand-accent);background:var(--brand-surface)}.round{border-color:#bcb2a4;background:var(--brand-ink);color:#fff}.badge.played,.formation-badge{background:#f2e4cf;color:#6d431f}.match-tabs button{background:#fff;color:var(--brand-ink)}.match-tabs button.selected{background:var(--brand-primary);border-color:var(--brand-primary);border-bottom-color:var(--brand-primary-dark);color:#fff}
.history-table thead{background:var(--brand-ink)}.football-pitch{border-color:#dce6f7;box-shadow:inset 0 0 0 1px #2021241a}.player-marker{background:var(--brand-primary);border-color:#d9e7ff;box-shadow:0 4px 9px #2021244d}.formation-line.keeper .player-marker{background:var(--brand-ink)}.field-player .live-lineup-select{border-color:#b7c9e8;background:#f8fbff}.federation-player,.fixture-tree{border-left-color:var(--brand-primary)}.competition-round>summary{color:#123d82}
.savebar{border-color:#d8d0c5;background:#fbf8f2}.undo-card{border-color:#e6b45b;background:#fffdf5}.quick-panel{border-top-color:var(--brand-border)}button:focus-visible,a:focus-visible{outline:3px solid var(--brand-primary);outline-offset:3px}.checks input,.checkline input,.roster-row input[type=checkbox]{accent-color:var(--brand-primary)}
@media(max-width:520px){header{padding:11px 14px}.brand{gap:8px}.app-logo{width:45px;height:45px}.brand strong{font-size:20px}.brand .team-label{gap:4px;margin-top:5px;max-width:165px;font-size:7.5px;letter-spacing:.45px;white-space:normal}.team-crest{width:14px;height:22px}.header-tools{gap:5px}.language-picker select{max-width:82px}.login-card{margin-top:24px}}

.brand>.team-crest{width:44px;height:58px;border-radius:6px;background:#fff}.team-crest[hidden],.team-label[hidden]{display:none}.team-crest-fields{display:grid;grid-template-columns:120px 1fr;gap:0 18px;align-items:center}.team-crest-preview{display:block;width:100px;height:120px;margin-top:8px;object-fit:contain;border:1px solid #d8e1f2;border-radius:12px;background:#fff}.team-crest-preview[hidden]{display:none}.team-crest-fields .profile-photo-actions{margin:0}.team-crest-state{grid-column:1/-1;margin:8px 0 0}@media(max-width:520px){.brand>.team-crest{width:34px;height:45px}.team-crest-fields{grid-template-columns:90px 1fr}.team-crest-preview{width:78px;height:94px}}

@media(max-width:520px){.language-picker select{width:110px;max-width:none}}@media(max-width:350px){header{padding-left:10px;padding-right:10px}.app-logo{width:40px;height:40px}.brand strong{font-size:18px}.language-picker select{width:104px}}

/* ScoreOneSport 0.78.7: cabecera compacta tras iniciar sesión. */
header{position:relative;z-index:10;min-height:76px;padding-top:9px;padding-bottom:9px}.brand{gap:8px;min-width:0}.app-logo{width:46px;height:46px}.brand>.team-crest{width:32px;height:44px;flex:0 0 auto}.brand>div{min-width:0}.brand strong{display:block;font-size:22px;white-space:nowrap}.brand .team-label{display:block;max-width:230px;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px;line-height:1.2;letter-spacing:.7px}.account-menu{position:relative}.account-menu>summary{display:flex;align-items:center;gap:8px;min-height:44px;padding:2px;list-style:none;cursor:pointer}.account-menu>summary::-webkit-details-marker{display:none}.account-avatar{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--brand-primary);color:#fff;font-size:15px;font-weight:800}.account-name{max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:750}.account-panel{position:absolute;z-index:15;right:0;top:calc(100% + 8px);width:220px;padding:14px;border:1px solid var(--brand-border);border-radius:12px;background:var(--brand-surface);box-shadow:0 14px 35px #2021242e}.account-panel strong,.account-panel small{display:block;overflow-wrap:anywhere}.account-panel small{margin:4px 0 14px}.account-panel label{margin-top:12px}.account-panel select{margin-top:5px}.account-panel button{width:100%;margin-top:12px;border:1px solid #cfc6b9;border-radius:9px;background:#fff;color:var(--brand-ink)}.connection-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:920px;margin:10px auto 0;padding:10px 14px;border:1px solid #d8d0c5;border-radius:10px;background:#fffdf9;color:var(--brand-muted);font-size:13px}.connection-banner[hidden]{display:none}.connection-banner.connection-error{border-color:#e7b3af;background:#fff0ee;color:#a31522}.connection-banner button{min-height:38px;padding:7px 12px;border:1px solid currentColor;border-radius:8px;background:#fff;color:inherit}
@media(max-width:520px){header{min-height:64px;padding:8px 12px;gap:8px}.brand{gap:6px}.app-logo{width:40px;height:40px}.brand>.team-crest{width:28px;height:38px}.brand strong{font-size:18px}.brand .team-label{max-width:145px;margin-top:3px;font-size:8px;letter-spacing:.2px}.account-name{display:none}.account-panel{position:fixed;top:68px;right:12px;left:12px;width:auto}.connection-banner{margin:8px 12px 0}}
.competition-name{margin:0 0 4px;color:var(--brand-muted);font-size:13px;font-weight:700;line-height:1.3}
.table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}.standings{width:100%;border-collapse:collapse;min-width:620px}.standings th,.standings td{padding:9px 8px;border-bottom:1px solid var(--line);text-align:center;white-space:nowrap}.standings th:nth-child(2),.standings td:nth-child(2){text-align:left}.result-round+.result-round{margin-top:18px;padding-top:16px;border-top:2px solid var(--brand-border)}.result-round h4{margin:0 0 4px;color:var(--brand-primary)}.result-row{display:grid;grid-template-columns:1fr auto 1fr;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line)}.result-row strong{font-size:1.2rem}.result-row span:last-child{text-align:right}.report-form{margin-top:12px}@media(max-width:560px){.result-row{grid-template-columns:1fr auto}.result-row span:last-child{grid-column:1/-1;text-align:left}.standings th,.standings td{padding:8px 6px}}
.result-review{border-top:4px solid var(--brand-accent)}.result-review-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.result-review-head h3{margin:4px 0 14px}.result-sources{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.result-sources>div{display:flex;flex-direction:column;gap:4px;padding:12px;border:1px solid var(--line);border-radius:12px;text-align:center;background:#fff}.result-sources strong{font-size:1.45rem;color:var(--brand-primary)}.result-sources small{overflow-wrap:anywhere}.review-notice{padding:12px;border-left:4px solid #d89000;background:#fff5d8;border-radius:8px}.result-claim-form,.claim-resolution-form{margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}.claim-history{margin-top:10px}@media(max-width:560px){.result-sources{grid-template-columns:1fr}.result-review-head{align-items:center}}
