:root{--blue:#143dd9;--deep:#0e1d42;--paper:#f5f5f1;--muted:#737a89;--line:#e1e4eb;--gold:#e4bd68;--white:#fff;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--deep);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}a{color:inherit}button{border:0}button:focus-visible,a:focus-visible{outline:3px solid var(--gold);outline-offset:4px}input:focus,select:focus,textarea:focus{outline:2px solid var(--blue);outline-offset:2px}[hidden]{display:none!important}.skip{position:absolute;top:-80px;left:20px;background:#fff;padding:12px;z-index:20}.skip:focus{top:10px}.topbar{background:#fff;border-bottom:1px solid var(--line)}.top-inner{max-width:1240px;margin:auto;padding:21px 36px;display:flex;align-items:center;gap:48px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-size:15px;font-weight:850;letter-spacing:.7px;line-height:1.5}.brand small{display:block;font-size:10px;font-weight:600;letter-spacing:3.8px;color:var(--muted)}.brand-mark{background:var(--blue);color:#fff;position:relative;width:43px;height:49px;display:grid;place-items:center;font-size:36px;line-height:1;border-radius:3px 3px 18px 18px;font-family:Georgia,serif}.brand-mark span{font-size:8px;position:absolute;top:22px;letter-spacing:0;font-family:Arial;background:var(--blue);padding:1px}.top-inner nav{display:flex;gap:26px;margin-left:auto}.nav-link{background:none;color:var(--muted);font-size:13px;font-weight:650;padding:8px 0}.nav-link.active{color:var(--blue)}.account{display:flex;gap:17px;background:#f0f3fc;padding:12px 17px;border-radius:5px;font-size:12px;font-weight:750;color:var(--blue)}.container{max-width:1240px;margin:auto;padding:0 36px}.hero{display:flex;justify-content:space-between;align-items:center;padding:49px 0 36px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:2.2px;display:flex;align-items:center;gap:8px;margin:0 0 16px}.blue-dot{height:6px;width:6px;background:var(--blue);border-radius:50%}h1{font-size:clamp(34px,4vw,53px);font-weight:850;line-height:1.12;letter-spacing:-2.2px;margin:0 0 16px}h1 span{color:var(--blue)}.hero-copy{font-size:13px;color:var(--muted);line-height:1.8;margin:0}.hero-stamp{width:128px;height:128px;border:1px solid #cbd0dc;border-radius:50%;display:flex;flex-direction:column;justify-content:center;align-items:center;transform:rotate(-13deg);color:#929aab;margin-right:23px;outline:1px solid #cbd0dc;outline-offset:-8px}.hero-stamp b{font-family:Georgia,serif;font-size:43px;font-weight:400;line-height:1.3}.hero-stamp span{font-size:8px;letter-spacing:1.5px}.page-tabs{display:flex;gap:32px;border-bottom:1px solid var(--line);margin-bottom:25px}.page-tabs button{background:none;padding:0 0 16px;color:var(--muted);font-size:13px;font-weight:650;position:relative}.page-tabs button.active{color:var(--blue)}.page-tabs button.active:after{content:"";height:3px;background:var(--blue);position:absolute;bottom:-1px;left:0;right:0}.tiny-tag{font-size:7px;letter-spacing:.6px;color:#6b7484;background:#e8eaf0;padding:4px 6px;border-radius:3px;margin-left:5px}.page-tabs .rules-link{margin-left:auto;font-weight:500;font-size:11px}.matchbar{background:#fff;border:1px solid var(--line);border-radius:9px;padding:21px 25px;display:flex;justify-content:space-between;gap:22px;align-items:center;margin-bottom:22px}.match-info{display:flex;align-items:center;gap:16px}.mini-shield{width:39px;height:46px;display:grid;place-items:center;color:var(--blue);font-family:Georgia,serif;font-size:30px;background:#eef2fe;border-radius:4px 4px 15px 15px;border:1px solid #dde4fc}.match-meta{display:flex;gap:9px;align-items:center;font-size:9px;font-weight:700;color:var(--muted);letter-spacing:.7px;margin-bottom:6px}.demo-tag{color:#936112;background:#fff4d7;padding:3px 5px;border-radius:3px}.match-info h2{font-size:19px;letter-spacing:-.5px;margin:0 0 7px}.match-info p{font-size:11px;margin:0;color:var(--muted)}.deadline{text-align:right}.deadline-label{font-size:9px;color:var(--muted);margin-bottom:6px}.countdown{display:flex;gap:7px;align-items:center;justify-content:flex-end;color:var(--blue);font-size:14px;font-weight:750;font-variant-numeric:tabular-nums}.status-dot{height:6px;width:6px;border-radius:50%;background:#2c9975}.deadline small{display:block;font-size:9px;margin-top:5px;color:var(--muted)}.match-selector{display:flex;justify-content:flex-end;margin-bottom:12px;font-size:11px;gap:8px;align-items:center}.match-selector select{padding:7px 10px;max-width:290px}.game-grid{display:grid;grid-template-columns:minmax(0,1.22fr) minmax(0,1fr);gap:24px;align-items:start}.panel{border:1px solid var(--line);background:#fff;border-radius:9px;overflow:hidden}.panel-top{display:flex;align-items:center;justify-content:space-between;padding:21px 24px;gap:14px}.section-title{display:flex;gap:11px;align-items:center}.step{font-size:10px;display:grid;place-items:center;width:26px;height:26px;border:1px solid #dee4f6;border-radius:50%;color:var(--blue);font-weight:750}.section-title h3{margin:0;font-size:15px;font-weight:750}.section-title p{font-size:10px;color:var(--muted);margin:5px 0 0}.formation{border:1px solid var(--line);background:#fff;padding:8px 10px;border-radius:5px;font-size:11px;color:var(--deep)}.pitch-wrap{padding:0 17px 17px}.pitch{position:relative;min-height:466px;background:repeating-linear-gradient(to bottom,#153bbb 0,#153bbb 12.5%,#1235aa 12.5%,#1235aa 25%);border-radius:6px;display:flex;flex-direction:column;justify-content:space-around;padding:18px 15px;overflow:hidden}.pitch-lines{position:absolute;inset:15px;width:calc(100% - 30px);height:calc(100% - 30px);opacity:.25;pointer-events:none}.pitch-row{display:flex;justify-content:space-around;gap:4px;position:relative;z-index:1}.player-slot{background:transparent;color:white;display:flex;flex-direction:column;align-items:center;width:23%;padding:4px 1px;gap:5px;min-height:76px;opacity:1!important}.shirt{position:relative;display:block;width:43px;height:45px;transition:transform .16s}.player-slot:hover .shirt{transform:translateY(-3px)}.shirt svg{width:100%;height:100%;fill:#f5f7ff;stroke:#d1d8f2;stroke-width:1}.shirt b{position:absolute;inset:0;display:grid;place-items:center;padding-top:3px;font-size:14px;color:var(--blue)}.player-slot.empty .shirt svg{fill:#244bc3;stroke:#7190e1;stroke-dasharray:3 2}.player-slot.empty .shirt b{color:#b9caf3;font-size:24px;font-weight:300}.player-slot span:last-child{font-size:9px;font-weight:600;text-align:center;text-shadow:0 1px 3px #092673;max-width:100%;line-height:1.4;overflow-wrap:anywhere}.pitch-note{position:absolute;bottom:4px;left:0;right:0;text-align:center;font-size:7px;letter-spacing:2px;color:#a4b6ea;opacity:.65}.pitch-footer{display:flex;justify-content:space-between;align-items:center;padding:0 23px 19px;font-size:10px;color:var(--muted)}.pitch-footer strong{color:var(--blue)}.text-button{background:none;padding:4px 0;color:var(--blue);font-size:11px;font-weight:650}.right-stack{display:grid;gap:18px}.score-panel .panel-top{padding-bottom:15px}.scoreboard{display:flex;align-items:center;justify-content:center;gap:26px;padding:10px 23px 22px}.score-team{display:grid;justify-items:center;gap:11px;flex:1}.score-team>span{font-size:10px;font-weight:750;letter-spacing:.5px;max-width:160px;text-align:center}.score-separator{font-size:25px;color:#bbc1d0;align-self:center}.score-controls{display:flex;align-items:center;gap:15px}.score-controls button{background:#f1f3f8;border:1px solid #e7eaf0;border-radius:50%;width:28px;height:28px;font-size:18px;color:#6b7792}.score-value{font-size:53px;font-weight:800;line-height:1;letter-spacing:-2px;font-variant-numeric:tabular-nums;min-width:37px;text-align:center}.score-hint{background:#f8f9fd;border-top:1px solid #edf0f7;padding:11px 23px;display:flex;justify-content:space-between;font-size:9px;color:var(--muted)}.score-hint b{color:var(--blue);font-weight:650}.scorer-panel .panel-top{padding-bottom:17px}.scorers{padding:0 23px 20px;display:grid;gap:11px}.scorer-item{display:flex;gap:12px;align-items:center}.goal-index{background:#f0f3fd;border-radius:5px;min-width:33px;height:33px;display:grid;place-items:center;color:var(--blue);font-size:11px;font-weight:700}.scorer-item select{width:100%;min-width:0;border:1px solid var(--line);background:#fff;padding:11px;border-radius:5px;color:var(--deep);font-size:11px}.scorer-empty{font-size:12px;color:var(--muted);line-height:1.7;margin:0}.submit-area{display:grid;gap:9px}.button{padding:14px 18px;border-radius:5px;font-weight:750;font-size:12px;display:inline-flex;gap:12px;justify-content:center;align-items:center;text-decoration:none}.primary{background:var(--blue);color:#fff}.primary:hover{background:#1031b5}.secondary{color:var(--deep);border:1px solid var(--line);background:#fff}.full{width:100%}.submit-area .primary{display:flex;justify-content:space-between;padding:17px 20px}.submit-area .secondary{padding:12px}.save-info{font-size:10px;color:var(--muted);text-align:center;line-height:1.7;margin:3px 0}.form-error{font-size:12px;color:#a23339;line-height:1.6;min-height:0}.form-error:empty{display:none}.saved-pill{color:#197559;background:#eaf7ee;font-size:9px;font-weight:650;border-radius:4px;padding:5px 7px}.results-card{padding:18px 22px;background:#eef3ff;border:1px solid #d2defe;margin-bottom:20px;border-radius:8px;font-size:13px}.results-card h3{margin:0 0 8px}.results-card p{line-height:1.7;margin:0;font-size:12px}.points-strip{border-top:1px solid var(--line);margin-top:34px;padding:25px 0 28px;display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.points-strip>div{display:flex;gap:14px;align-items:center}.points-strip b{font-size:23px;font-weight:350;color:#a5aec3}.points-strip span{font-size:10px;color:var(--muted);line-height:1.7}.points-strip strong{display:block;font-size:11px;color:var(--deep);font-weight:650}.footer{max-width:1240px;margin:auto;padding:22px 36px 27px;border-top:1px solid var(--line);display:flex;align-items:center;gap:22px;color:var(--muted);font-size:9px}.footer-love{font-size:11px;font-weight:650;color:var(--deep);margin-right:auto}.footer button{background:none;color:var(--muted);font-size:9px;padding:0}.offline{padding:12px;text-align:center;background:#fff0d1;font-size:12px;color:#795916}.section-head{margin:32px 0 24px}.section-head h2{font-size:30px;letter-spacing:-1px;margin:0}.section-head p:not(.eyebrow){font-size:13px;color:var(--muted)}.filter-row{display:flex;gap:18px;margin:0 0 20px}.filter-row label{min-width:200px}.filter-row select{background:white}.table-wrap{border:1px solid var(--line);border-radius:9px;background:#fff;overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px;white-space:nowrap}th{font-size:9px;color:var(--muted);letter-spacing:1px;background:#fafbfe;text-align:left;font-weight:700}th,td{padding:18px;border-bottom:1px solid var(--line)}tr:last-child td{border-bottom:0}.own-row td{background:#f0f4ff;color:var(--blue)}td strong{font-size:16px}.avatar{width:28px;height:28px;background:#eaf0ff;color:var(--blue);border-radius:50%;display:inline-grid;place-items:center;margin-right:10px;font-size:10px;font-weight:750}.empty-state{background:#fff;border:1px dashed #cdd4e2;border-radius:9px;padding:43px 25px;text-align:center;font-size:13px;color:var(--muted);line-height:1.7}.empty-state h3{color:var(--deep);margin:0 0 8px;font-size:19px}.league-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:24px}.league-form{padding:25px}.league-form h3{margin:0 0 12px;font-size:17px}.league-form p{font-size:12px;color:var(--muted);line-height:1.7}.league-list{display:grid;gap:12px}.league-card{background:#fff;border:1px solid var(--line);border-radius:8px;padding:23px;display:flex;justify-content:space-between;gap:14px;align-items:center}.league-card h3{margin:0 0 7px;font-size:16px}.league-card p{margin:0;color:var(--muted);font-size:11px}.league-actions{display:flex;gap:10px}.modal{border:0;border-radius:12px;padding:28px;width:calc(100% - 32px);max-width:470px;max-height:88vh;overflow:auto;color:var(--deep);box-shadow:0 20px 80px #06163840}.modal::backdrop{background:#0816367d;backdrop-filter:blur(3px)}.modal-top{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px}.modal-top h2{font-size:25px;letter-spacing:-.8px;margin:0}.modal-top .eyebrow{margin-bottom:8px}.close{width:29px;height:29px;flex:none;background:#f0f2f7;color:#7b8498;border-radius:50%;font-size:22px;line-height:1}.modal p{font-size:13px;line-height:1.7}.muted{color:var(--muted)}.small{font-size:10px!important}label{display:grid;gap:8px;font-size:11px;font-weight:650;margin-bottom:17px}input,select,textarea{border:1px solid var(--line);border-radius:5px;padding:12px;background:#fbfcfe;color:var(--deep);width:100%;min-width:0}textarea{resize:vertical;font-family:ui-monospace,monospace;font-size:11px;line-height:1.7}.auth-tabs{display:flex;background:#f0f3f9;padding:4px;border-radius:6px;margin:22px 0}.auth-tabs button{flex:1;background:none;padding:11px;font-size:12px;font-weight:650;border-radius:4px;color:var(--muted)}.auth-tabs button.active{background:#fff;color:var(--blue);box-shadow:0 1px 4px #142c5310}.player-modal{max-width:520px}.position-filters{display:flex;gap:7px;margin-bottom:15px;flex-wrap:wrap}.position-filters button{background:#f0f2f7;color:var(--muted);border-radius:4px;padding:8px 11px;font-size:10px}.position-filters button.active{background:var(--blue);color:white}.player-list{max-height:330px;overflow:auto;display:grid;gap:6px;margin-bottom:14px}.player-option{display:flex;align-items:center;gap:12px;border:1px solid #eef0f5;border-radius:5px;background:white;text-align:left;padding:12px;font-size:12px}.player-option:hover{border-color:#aebdeb;background:#f8faff}.player-option .player-number{width:27px;color:var(--blue);font-weight:750}.player-option small{margin-left:auto;font-size:9px;color:var(--muted)}.player-option.selected{background:#edf3ff}.player-option:disabled{opacity:.55}.rules-list{padding-left:20px;display:grid;gap:18px;font-size:13px;line-height:1.8;color:var(--muted)}.rules-list strong{display:block;color:var(--deep)}.toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);padding:14px 23px;color:white;background:var(--deep);border-radius:7px;box-shadow:0 5px 20px #091a3b30;z-index:100;font-size:12px;max-width:90vw;text-align:center}.admin-modal{max-width:700px}.admin-section{border-top:1px solid var(--line);padding-top:20px;margin-top:24px}.admin-section h3{font-size:16px;margin:0 0 15px}.admin-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.admin-player-checks{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0 20px;max-height:240px;overflow:auto}.admin-player-checks label{display:flex;align-items:center;gap:7px;font-size:10px;margin:0;font-weight:500}.admin-player-checks input{width:auto}.loading{padding:70px;text-align:center;font-size:13px;color:var(--muted)}
@media(min-width:1400px){.pitch{min-height:495px}.hero{padding-top:58px}}
@media(max-width:900px){.top-inner{gap:20px;padding:18px 24px}.top-inner nav{gap:16px}.container{padding:0 24px}.hero-stamp{width:108px;height:108px;margin-right:0}.hero-stamp b{font-size:35px}.game-grid{gap:16px;grid-template-columns:1.1fr 1fr}.panel-top{padding:18px}.scoreboard{gap:12px;padding:10px 15px 20px}.score-controls{gap:10px}.score-value{font-size:46px}.pitch{min-height:439px;padding:15px 6px}.player-slot span:last-child{font-size:8px}.footer{padding:20px 24px;flex-wrap:wrap}.footer-love{width:100%}.tiny-tag{display:none}}
@media(max-width:650px){.top-inner{padding:15px 18px;gap:12px}.brand{font-size:12px;gap:8px}.brand small{font-size:8px;letter-spacing:2.7px}.brand-mark{width:34px;height:41px;font-size:30px}.brand-mark span{top:18px;font-size:7px}.top-inner nav{display:none}.account{margin-left:auto;padding:10px 12px;font-size:11px}.container{padding:0 18px}.hero{padding:31px 0 26px}.hero-stamp{display:none}h1{font-size:37px;letter-spacing:-1.7px}.hero-copy{font-size:12px}.eyebrow{font-size:9px;letter-spacing:1.8px}.page-tabs{gap:22px;margin-bottom:18px;overflow-x:auto;white-space:nowrap}.page-tabs button{font-size:11px;padding-bottom:14px}.page-tabs .rules-link{font-size:0;min-width:19px}.rules-link span{font-size:15px}.matchbar{padding:17px 15px;gap:12px;align-items:flex-start}.match-info{gap:10px}.mini-shield{display:none}.match-info h2{font-size:16px}.match-info p{font-size:10px;line-height:1.6}.match-meta{font-size:7px;gap:5px}.deadline-label{font-size:8px}.countdown{font-size:11px;gap:5px}.deadline small{font-size:8px}.game-grid{grid-template-columns:1fr;gap:17px}.pitch{min-height:443px;padding:12px 8px}.player-slot span:last-child{font-size:9px}.pitch-wrap{padding:0 12px 14px}.panel-top{padding:19px 18px}.scoreboard{padding:10px 22px 25px;gap:26px}.score-value{font-size:54px}.score-controls{gap:17px}.points-strip{gap:17px;grid-template-columns:1fr;margin-top:28px;padding:22px 0}.points-strip>div{gap:17px}.points-strip b{font-size:20px}.points-strip strong{font-size:12px}.points-strip span{font-size:10px}.footer{gap:15px;padding:19px 18px;font-size:8px}.footer-love{font-size:10px}.section-head h2{font-size:27px}.filter-row{gap:12px}.filter-row label{min-width:0;flex:1}.filter-row select{font-size:11px}.league-grid{grid-template-columns:1fr}.league-card{align-items:flex-start;flex-direction:column}.league-actions{width:100%}.league-actions button{flex:1}th,td{padding:14px 12px}.modal{padding:23px}.admin-player-checks{grid-template-columns:1fr 1fr}.admin-row{grid-template-columns:1fr;gap:0}.section-title h3{font-size:14px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.formation{width:auto;min-width:85px;flex:none}
.check-choice{display:flex!important;flex-direction:row!important;align-items:flex-start;gap:10px;line-height:1.6}.check-choice input{width:auto!important;margin-top:4px;flex:0 0 auto}.account-actions{display:grid;gap:12px;margin:24px 0}.delete-section{margin:24px 0;padding:18px;border:1px solid var(--line);border-radius:6px}.delete-section summary{cursor:pointer;font-weight:700}.danger{background:#ad2238;color:white}.legal-page{max-width:900px;padding-top:36px;padding-bottom:60px}.legal-page h1{font-size:40px}.legal-page h2{font-size:22px;margin-top:30px}.legal-page p{line-height:1.8;overflow-wrap:anywhere}.legal-nav{display:flex;flex-wrap:wrap;gap:18px;padding:20px 0;border-bottom:1px solid var(--line)}.legal-table{overflow-x:auto}.legal-table table{min-width:580px}.legal-table td{white-space:normal;vertical-align:top;line-height:1.7;font-size:13px}.legal-page section{scroll-margin-top:20px}
/* Portada pública y lectura más cómoda. */
.guest-label{display:none}.guest .guest-label{display:inline}.guest .member-label{display:none}
.hero-copy,.hero-stamp,.hero .eyebrow{display:none}.hero{padding:32px 0 24px}.hero h1{font-size:clamp(32px,4vw,46px);margin:0}
.nav-link,.account,.page-tabs button{font-size:16px}.page-tabs .rules-link{font-size:14px}.section-title h3{font-size:19px}.section-title p,.match-info p,.save-info{font-size:14px}.match-info h2{font-size:24px}.button{font-size:16px}.player-slot span:last-child{font-size:11px}
.guest .hero,.guest .points-strip,.guest [data-view="leagues"],.guest #rules-open,.guest .footer-love,.guest #ranking-view .filter-row{display:none}
.guest .page-tabs{margin-top:32px}.guest .top-inner nav{display:none}.guest .account{margin-left:auto;padding:14px 22px}
.public-match{min-height:52vh;background:#fff;border:1px solid var(--line);border-radius:16px;padding:clamp(28px,6vw,72px) 24px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;margin:32px 0 48px}
.public-label{font-size:22px;font-weight:750;color:var(--blue);margin:0 0 22px}.public-match h1{font-size:clamp(30px,4.5vw,56px);line-height:1.2;letter-spacing:-1px;overflow-wrap:anywhere;margin:0;max-width:100%}.public-date{font-size:18px;color:var(--muted);margin:18px 0 32px}
.public-countdown{display:flex;gap:clamp(8px,2vw,24px);width:100%;max-width:540px}.public-countdown>div{flex:1;min-width:0;background:#eef2fe;border-radius:12px;padding:20px 6px;color:var(--blue)}.public-countdown strong{display:block;font-size:clamp(30px,5vw,54px);font-variant-numeric:tabular-nums;line-height:1.1}.public-countdown span{display:block;font-size:16px;margin-top:9px;color:var(--muted)}
.guest #ranking-view{padding-bottom:48px}.guest th,.guest td{font-size:16px}
@media(max-width:650px){.page-tabs{gap:18px}.page-tabs button{font-size:15px}.page-tabs .rules-link{font-size:12px}.public-match{padding:36px 16px;margin:24px 0;min-height:52vh}.public-label{font-size:20px}.public-countdown>div{padding:18px 4px}.public-countdown span{font-size:13px}.hero h1{font-size:32px}.section-title h3{font-size:17px}}
.guest .page-tabs{overflow-y:hidden}
/* Estilo común: tarjetas amplias, controles cómodos y menos ruido visual. */
:root{--muted:#626d80;--line:#e0e6ef}
body{font-size:16px;line-height:1.5}
.hero,.points-strip,.footer-love,.top-inner nav,.tiny-tag,.pitch-note{display:none}
.top-inner{gap:24px;padding-top:22px;padding-bottom:22px}.account{margin-left:auto;border-radius:12px;min-height:48px;max-width:60%;overflow-wrap:anywhere;align-items:center;padding:14px 22px;font-size:16px}
.container{padding-bottom:40px}.page-tabs{margin:32px 0;gap:12px;flex-wrap:wrap;border:0;overflow:visible;white-space:normal}
.page-tabs button,.page-tabs .rules-link{font-size:16px;min-height:48px;padding:12px 18px;border-radius:12px;background:#fff;border:1px solid var(--line);margin:0}
.page-tabs button.active{background:var(--blue);border-color:var(--blue);color:#fff}.page-tabs button.active:after{display:none}.page-tabs .rules-link{margin-left:auto}.rules-link span{font-size:16px}
.match-selector{justify-content:flex-start;font-size:15px;margin:0 0 20px;gap:14px}.match-selector select{max-width:100%;width:auto;font-size:16px;padding:12px 16px}
.matchbar,.panel,.league-card,.table-wrap,.empty-state,.results-card{border-radius:18px;box-shadow:0 4px 20px #0e1d4205}
.matchbar{padding:32px;gap:32px;margin-bottom:28px;flex-wrap:wrap}.match-info{min-width:0;flex:1;gap:18px}.mini-shield{width:52px;height:60px;font-size:40px;flex:none}.match-meta{font-size:12px;letter-spacing:.3px;flex-wrap:wrap}.demo-tag{font-size:11px}.match-info h2{font-size:clamp(26px,3vw,36px);line-height:1.2;letter-spacing:-.8px;overflow-wrap:anywhere;margin:10px 0}.match-info p{font-size:16px;line-height:1.7}
.deadline{min-width:280px}.deadline-label{font-size:13px;font-weight:700;margin-bottom:12px}.deadline small{font-size:13px;margin-top:12px}
.countdown{font-size:26px;gap:8px;justify-content:flex-end}.countdown>div{flex:1;min-width:56px;padding:12px 8px;background:#eef2fe;border-radius:12px;text-align:center;max-width:88px}.countdown strong{display:block;font-size:32px;line-height:1.1;font-variant-numeric:tabular-nums}.countdown span{display:block;font-size:13px;font-weight:500;color:var(--muted);margin-top:6px}
.game-grid{gap:28px;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}.right-stack{gap:24px}.panel-top{padding:26px;gap:12px;align-items:flex-start}.section-title{gap:12px;min-width:0;align-items:flex-start}.step{width:34px;height:34px;font-size:13px;flex:none;background:#eef2fe;border:0}.section-title h3{font-size:24px;line-height:1.25}.section-title p{font-size:15px;line-height:1.5;margin-top:8px}.formation{font-size:15px;min-height:44px;border-radius:10px;padding:10px;min-width:90px}
.pitch-wrap{padding:0 20px 20px}.pitch{min-height:570px;border-radius:14px;padding:24px 10px;background:repeating-linear-gradient(to bottom,#1744c6 0,#1744c6 12.5%,#133cb7 12.5%,#133cb7 25%)}.pitch-row{gap:6px}.player-slot{min-height:92px;gap:9px}.shirt{width:54px;height:56px}.shirt b{font-size:18px}.player-slot.empty .shirt b{font-size:30px}.player-slot span:last-child{font-size:13px;line-height:1.35}.pitch-footer{padding:0 24px 24px;font-size:15px;gap:12px;flex-wrap:wrap}.text-button{font-size:15px;min-height:44px;padding:10px 0}
.score-panel .panel-top,.scorer-panel .panel-top{padding-bottom:22px}.scoreboard{padding:12px 24px 28px;gap:16px}.score-team{min-width:0;gap:18px}.score-team>span{font-size:14px;max-width:100%;overflow-wrap:anywhere}.score-controls{gap:12px}.score-controls button{width:44px;height:44px;font-size:26px;border-radius:12px;flex:none;background:#eef2fe;color:var(--blue);border:0}.score-value{font-size:64px;min-width:42px}.score-separator{font-size:32px}.score-hint{font-size:13px;gap:12px;flex-wrap:wrap;padding:16px 24px;line-height:1.6}.score-hint b{white-space:nowrap}
.scorers{padding:0 24px 26px;gap:16px}.scorer-item{gap:12px}.goal-index{min-width:44px;height:48px;font-size:16px;border-radius:10px}.scorer-item select{padding:14px;font-size:16px;border-radius:10px;min-height:48px}.scorer-empty{font-size:16px}.submit-area{gap:12px}.button,.submit-area .primary,.submit-area .secondary{font-size:17px;border-radius:12px;padding:16px 22px;min-height:52px;line-height:1.45}.save-info{font-size:14px;margin:6px 0;line-height:1.7}.saved-pill{font-size:12px;padding:7px 10px;border-radius:8px}.form-error{font-size:15px}
.section-head{margin:32px 0 28px}.section-head h2{font-size:clamp(30px,4vw,42px);line-height:1.2}.section-head p:not(.eyebrow){font-size:17px}.section-head .eyebrow{display:none}.filter-row{gap:20px;flex-wrap:wrap;margin-bottom:26px}.filter-row label{flex:1;min-width:180px}.filter-row select{font-size:16px}
table{font-size:16px}th{font-size:12px;letter-spacing:.5px}th,td{padding:22px 18px}td strong{font-size:22px}.avatar{width:40px;height:40px;font-size:14px;margin-right:12px}.own-row td{background:#eef2fe}.table-wrap{margin-bottom:20px}
.empty-state{padding:48px 28px;font-size:17px;border-style:solid}.empty-state h3{font-size:26px;line-height:1.3}.results-card{padding:26px;font-size:18px}.results-card h3{font-size:24px}.results-card p{font-size:16px}
.league-grid{gap:24px;margin-bottom:28px}.league-form{padding:30px}.league-form h3,.league-card h3{font-size:25px;line-height:1.3}.league-form p,.league-card p{font-size:16px;line-height:1.7}.league-list{gap:20px}.league-card{padding:28px;flex-wrap:wrap}.league-actions{gap:12px;flex-wrap:wrap}
label{font-size:15px;gap:10px;margin-bottom:22px}input,select,textarea{font-size:16px;padding:14px 16px;border-radius:10px;min-height:48px;background:#fbfcfe}textarea{font-size:14px;line-height:1.7}
.modal{max-width:560px;padding:32px;border-radius:20px;max-height:90vh}.modal-top{gap:16px;margin-bottom:24px}.modal-top h2{font-size:32px;line-height:1.2;letter-spacing:-.7px}.modal-top .eyebrow{display:none}.close{width:44px;height:44px;font-size:28px;background:#eef2fe;color:var(--blue);border-radius:12px}.modal p{font-size:16px;line-height:1.7}.small{font-size:14px!important}.auth-tabs{border-radius:12px;padding:6px;gap:6px}.auth-tabs button{font-size:16px;min-height:48px;padding:12px;border-radius:9px}.check-choice{font-size:14px}.check-choice input,.admin-player-checks input{min-height:20px;width:20px!important;height:20px}.modal .button.full+.button.full{margin-top:12px}
.player-modal{max-width:620px}.player-list{max-height:45vh;gap:10px}.position-filters{gap:8px;margin-bottom:20px}.position-filters button{font-size:15px;min-height:44px;padding:10px 14px;border-radius:10px}.player-option{font-size:17px;min-height:60px;padding:16px;border-radius:12px;gap:14px}.player-option .player-number{width:38px;font-size:20px}.player-option small{font-size:13px}.rules-list{font-size:16px;gap:24px;line-height:1.8}.rules-list strong{font-size:19px}.toast{font-size:16px;padding:16px 24px;border-radius:12px}.offline,.loading{font-size:16px}
.admin-modal{max-width:800px}.admin-section{margin-top:28px;padding-top:28px}.admin-section h3{font-size:24px}.admin-player-checks{gap:12px;max-height:320px}.admin-player-checks label{font-size:14px}.delete-section{border-radius:12px;padding:22px}.account-actions a{font-size:16px}
.footer{gap:18px;flex-wrap:wrap;font-size:12px;padding-top:24px;padding-bottom:28px}.footer button{font-size:12px;min-height:44px}.footer a{padding:10px 0}.legal-page{padding-top:40px}.legal-page h2{font-size:28px}.legal-table td{font-size:16px}
@media(max-width:1000px){.game-grid{grid-template-columns:1fr;max-width:720px;margin:auto}.matchbar{padding:26px}.deadline{text-align:left}.countdown{justify-content:flex-start}.league-grid{grid-template-columns:1fr}.score-controls{gap:20px}.pitch{min-height:620px}.player-slot span:last-child{font-size:14px}}
@media(max-width:650px){.top-inner{padding:16px 18px;gap:14px}.brand{font-size:14px}.brand small{font-size:9px}.account{padding:12px 16px;font-size:15px}.container{padding:0 16px 28px}.page-tabs{margin:24px 0;gap:8px}.page-tabs button,.page-tabs .rules-link{font-size:15px;padding:10px 13px;min-height:44px}.page-tabs .rules-link{margin-left:0}.match-selector{display:grid;gap:8px}.match-selector select{width:100%}.matchbar{padding:22px;gap:24px}.match-info h2{font-size:28px}.match-info p{font-size:15px}.deadline{min-width:0;width:100%}.deadline-label{font-size:12px}.countdown{gap:8px}.countdown>div{min-width:0;max-width:none;padding:14px 6px}.countdown strong{font-size:30px}.countdown span{font-size:13px}.game-grid{gap:20px}.panel-top{padding:22px 18px;gap:8px}.section-title{gap:10px}.section-title h3{font-size:21px}.section-title p{font-size:14px}.step{width:30px;height:30px;font-size:12px}.formation{min-width:82px;font-size:14px}.pitch-wrap{padding:0 12px 16px}.pitch{min-height:520px;padding:20px 6px}.pitch-lines{inset:12px;width:calc(100% - 24px);height:calc(100% - 24px)}.shirt{width:46px;height:49px}.player-slot{min-height:82px}.player-slot span:last-child{font-size:12px}.pitch-footer{padding:0 18px 18px;font-size:14px}.text-button{font-size:14px}.scoreboard{padding:8px 16px 26px;gap:8px}.score-controls{gap:8px}.score-controls button{width:42px;height:44px;font-size:24px}.score-value{font-size:54px;min-width:35px}.score-team>span{font-size:13px}.score-separator{font-size:26px}.score-hint{padding:14px 18px;font-size:13px}.scorers{padding:0 18px 22px}.section-head h2{font-size:32px}.filter-row{gap:12px}.filter-row label{min-width:140px}.league-form,.league-card{padding:24px}.league-card h3,.league-form h3{font-size:23px}.league-actions{width:100%}.league-actions button{flex:1}.modal{padding:24px 20px;max-height:90vh}.modal-top h2{font-size:28px}.modal-top{gap:12px}.player-option{font-size:16px;padding:14px 12px;gap:10px}.player-option small{font-size:12px}.admin-player-checks{grid-template-columns:1fr 1fr}.admin-player-checks label{font-size:13px}.footer{padding:20px 18px;font-size:12px;gap:12px}.footer button{font-size:12px}th,td{padding:18px 14px}.public-match{margin-top:24px}.legal-page h1{font-size:34px}}
.auth-details{margin:4px 0 22px;padding:14px 16px;background:#f4f6fb;border-radius:12px;font-size:14px}.auth-details summary{cursor:pointer;font-weight:650}.auth-details p:last-child{margin-bottom:0}
#recovery-notice{color:#137333;background:#eaf6ed;padding:12px 14px;border-radius:8px;font-weight:650}#recovery-notice:empty{display:none}#recovery-request-form input:disabled{opacity:.65;cursor:not-allowed}
@media(max-width:650px){.filter-row{flex-direction:column}.filter-row label{width:100%;min-width:0}.table-wrap table{white-space:normal;table-layout:fixed}.table-wrap th:nth-child(n+3):nth-child(-n+6),.table-wrap td:nth-child(n+3):nth-child(-n+6){display:none}.table-wrap th:first-child{width:16%;font-size:11px}.table-wrap th:nth-child(2){width:57%}.table-wrap th:last-child{width:27%}.table-wrap th,.table-wrap td{padding:18px 10px}.table-wrap td:nth-child(2){overflow-wrap:anywhere}.table-wrap .avatar{display:none}}
.auth-switch{border-top:1px solid var(--line);margin-top:14px;padding-top:14px;text-align:center}.auth-switch button,#recover-account{font-size:15px;line-height:1.5}#auth-dialog .auth-details{margin-bottom:18px}#auth-dialog .check-choice{font-size:15px;font-weight:500}#auth-dialog label{margin-bottom:18px}

#auth-dialog{width:calc(100% - 32px);max-width:600px;padding:36px}#auth-dialog .modal-top .eyebrow{display:block;font-size:16px;letter-spacing:1px;margin:0 0 12px}#auth-dialog .modal-top h2{font-size:36px}#auth-dialog label{font-size:18px;gap:12px;margin-bottom:24px}#auth-dialog input{font-size:20px;min-height:60px;padding:16px 18px}#auth-dialog .button{font-size:20px;min-height:60px}#auth-dialog .auth-switch button,#auth-dialog #recover-account{font-size:17px;min-height:48px}#auth-dialog .auth-switch{margin-top:12px;padding-top:12px}#auth-dialog .check-choice{font-size:16px}#auth-dialog .check-choice input{min-height:20px}@media(max-width:650px){#auth-dialog{padding:28px 22px}#auth-dialog .modal-top h2{font-size:32px}}
