:root{--red:#d6b65b;--deep:#a98a35;--ink:#f4f0e5;--muted:#b2ada2;--paper:#0d0e0f;--line:#33312b;--green:#7cc59a;--white:#fff;--radius:18px}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,Arial,Helvetica,sans-serif;font-size:15px;line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #d48932;outline-offset:3px}h1,h2,h3,p{margin-top:0}h2{font-size:25px;line-height:1.2;letter-spacing:-.6px}h3{font-size:17px;margin-bottom:8px}.container{width:min(1200px,calc(100% - 64px));margin:auto}.topbar{background:#191a1b;border-bottom:1px solid var(--line)}.topinner{height:90px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:12px}.brand img{width:45px;height:45px}.brand strong{font-size:15px;letter-spacing:-.3px;display:block}.brand small{font-size:10px;color:var(--muted);letter-spacing:1.3px;text-transform:uppercase}.nav{display:flex;align-items:center;gap:26px;height:100%;font-size:13px;font-weight:700}.nav a{height:100%;display:flex;align-items:center;border-bottom:3px solid transparent;padding-top:3px;color:#b6af9c}.nav a.active{color:var(--red);border-color:var(--red)}.account{border:1px solid var(--line);background:#191a1b;padding:9px 13px;border-radius:9px;font-size:12px;font-weight:700;white-space:nowrap}.account .dot{margin-right:5px}.demo-strip{background:#242116;color:#dcc578;font-size:11px;text-align:center;padding:6px 15px;letter-spacing:.2px}.demo-strip a{text-decoration:underline;margin-left:12px;font-weight:700}.hero{background:var(--red);color:white;overflow:hidden;position:relative}.hero:after{content:'';position:absolute;right:-100px;top:-100px;width:540px;height:620px;background:#645121;transform:rotate(27deg);opacity:.35;pointer-events:none}.hero-inner{min-height:288px;display:flex;align-items:center;justify-content:space-between;position:relative;z-index:1;padding-top:34px;padding-bottom:35px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:2px;text-transform:uppercase;margin-bottom:15px}.eyebrow:before{content:'';display:inline-block;width:23px;height:2px;background:currentColor;vertical-align:middle;margin-right:10px}.hero h1{font-family:Impact,'Arial Narrow',Arial,sans-serif;font-size:clamp(44px,5.2vw,69px);font-weight:900;line-height:1.01;letter-spacing:-1px;margin-bottom:17px;max-width:680px}.hero h1 span{color:#f2d77e}.hero p{font-size:13px;color:#d7d0bc;margin:0;max-width:480px}.hero-meta{display:flex;gap:22px;margin-top:23px;color:#d7d0bc;font-size:11px}.hero-meta span{display:flex;gap:7px;align-items:center}.hero-graphic{position:relative;width:235px;height:208px;flex:none;margin-left:30px}.hero-graphic svg{width:100%;height:100%;opacity:.55}.edition-stamp{position:absolute;right:18px;top:50px;background:#20201d;color:var(--red);width:116px;height:116px;border-radius:50%;display:flex;flex-direction:column;justify-content:center;align-items:center;box-shadow:0 0 0 10px #ffffff18;transform:rotate(-10deg)}.edition-stamp b{font-size:43px;font-family:Impact,Arial;line-height:1}.edition-stamp small{font-size:9px;letter-spacing:1px;font-weight:800;margin-top:6px}.section{padding-top:36px;padding-bottom:45px}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:22px}.section-heading h2{margin-bottom:6px}.subtext{font-size:12px;color:var(--muted);margin:0}.rounds{display:flex;gap:9px;overflow-x:auto;padding:2px 2px 16px;margin-bottom:7px}.round-chip{background:#191a1b;border:1px solid var(--line);border-radius:11px;padding:12px 17px;min-width:145px;text-align:left;flex:1;white-space:nowrap;color:#b6af9c}.round-chip strong{display:block;font-size:12px;color:var(--ink);margin-bottom:3px}.round-chip small{font-size:10px}.round-chip.active{border-color:var(--red);background:#302a1a;box-shadow:0 0 0 1px var(--red)}.round-chip.active strong{color:var(--red)}.tag{display:inline-flex;align-items:center;gap:6px;border-radius:6px;padding:5px 9px;font-size:10px;font-weight:800;letter-spacing:.3px;background:#2c2b26;color:#c9c1ae}.tag.green{background:#162d24;color:#9ed2b0}.tag.red{background:#352d1a;color:var(--red)}.tag.gold{background:#352d1a;color:#ecd28a}.dot{width:6px;height:6px;display:inline-block;border-radius:50%;background:currentColor}.panel{background:#191a1b;border:1px solid var(--line);border-radius:var(--radius);padding:25px}.ballot-head{display:flex;justify-content:space-between;align-items:center;gap:15px;border-bottom:1px solid var(--line);padding-bottom:18px;margin-bottom:20px}.ballot-head h3{margin:0}.ballot-head small{font-size:11px;color:var(--muted)}.ballot-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:23px}.ballot-main{min-width:0}.instruction{display:flex;gap:12px;color:var(--muted);font-size:12px;align-items:flex-start;margin-bottom:20px}.instruction svg{color:var(--red);flex:none}.slots{display:grid;grid-template-columns:repeat(3,1fr);gap:11px;margin-bottom:24px}.slot{border:1px dashed #605843;border-radius:12px;min-height:92px;padding:12px;position:relative;background:#141516}.slot label{display:block;font-size:9px;letter-spacing:.7px;text-transform:uppercase;color:var(--muted);margin-bottom:8px}.slot strong{font-size:12px;display:block}.slot small{font-size:10px;color:var(--muted)}.slot.filled{border:1px solid #a98a35;background:#2a261c}.slot .remove{position:absolute;right:6px;top:5px;background:none;border:0;font-size:17px;color:var(--red);padding:0 5px}.slot-points{font-size:20px;font-weight:800;color:var(--red);margin-right:4px}.candidate-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:15px}.candidate-top h3{font-size:13px;margin:0}.search{padding:9px 12px;border:1px solid var(--line);background:#191a1b;border-radius:9px;width:220px;font-size:12px;max-width:100%}.candidates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.candidate{display:flex;align-items:center;gap:11px;background:#191a1b;border:1px solid var(--line);border-radius:11px;text-align:left;padding:13px;width:100%;color:var(--ink);min-height:78px;transition:border-color .15s,transform .15s}.candidate:hover{border-color:#a98a35;transform:translateY(-1px)}.candidate.selected{background:#302a1a;border-color:var(--red)}.badge{display:inline-flex;align-items:center;justify-content:center;width:38px;height:42px;border-radius:10px 10px 15px 15px;font-size:10px;font-weight:900;color:white;flex:none;background:var(--team,#d6b65b);border:2px solid #ffffff60}.candidate strong{font-size:12px;display:block}.candidate small{font-size:10px;color:var(--muted);display:block;margin-top:2px}.candidate .pick{margin-left:auto;width:24px;height:24px;flex:none;border:1px solid var(--line);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:14px;color:var(--muted)}.candidate.selected .pick{background:var(--red);border-color:var(--red);color:white;font-size:10px;font-weight:800}.own{font-size:8px!important;color:var(--red)!important;font-weight:700;letter-spacing:.3px}.side-stack{display:flex;flex-direction:column;gap:17px}.rules-card{background:#1d1d1b;border:1px solid #3d382c;border-radius:var(--radius);padding:24px}.rules-card h3{font-size:15px;margin-bottom:17px}.rule-row{display:flex;gap:12px;padding:11px 0;border-top:1px solid #3d382c;font-size:11px;color:#b2ada2}.rule-num{font-size:19px;line-height:1.2;color:var(--red);font-weight:800;width:24px;flex:none}.rule-row strong{display:block;color:var(--ink);font-size:11px;margin-bottom:2px}.btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;border:0;background:var(--red);color:white;padding:11px 17px;border-radius:9px;font-size:12px;font-weight:750;min-height:42px}.btn:hover{background:#e5c96e}.btn.secondary{background:#191a1b;border:1px solid var(--line);color:var(--ink)}.btn.secondary:hover{background:#2b2923}.btn.danger{background:#35241f;color:var(--red)}.btn.full{width:100%}.btn.small{min-height:34px;padding:7px 11px;font-size:11px}.submit-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:22px;border-top:1px solid var(--line);padding-top:20px}.submit-row small{font-size:10px;color:var(--muted)}.mini-banner{background:#181816;color:white;border:0;padding:22px}.mini-banner p{font-size:11px;color:#c7c0b3}.mini-banner h3{font-size:17px}.mini-banner .eyebrow{color:#d6b65b;font-size:9px}.mini-banner a{font-size:11px;font-weight:700;color:#e7cc7d}.fixture-list{display:flex;flex-direction:column;gap:10px}.match{border:1px solid var(--line);border-radius:12px;padding:15px 18px;background:#191a1b}.match-meta{display:flex;justify-content:space-between;font-size:9px;text-transform:uppercase;letter-spacing:.5px;color:var(--muted);margin-bottom:11px}.match-teams{display:grid;grid-template-columns:1fr 64px 1fr;align-items:center;gap:12px;font-size:12px;font-weight:700}.match-team{display:flex;gap:10px;align-items:center}.match-team.away{justify-content:flex-end;text-align:right}.score{text-align:center;font-size:19px;font-weight:800;white-space:nowrap}.score small{font-size:9px;display:block;color:var(--muted)}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:22px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px;white-space:nowrap}th{text-align:left;font-size:9px;text-transform:uppercase;letter-spacing:.6px;color:var(--muted);padding:12px 10px;border-bottom:1px solid var(--line)}td{padding:12px 10px;border-bottom:1px solid #f0ece9}tr:last-child td{border-bottom:0}.standings td:first-child{width:30px;color:var(--muted)}.standings .team-cell{display:flex;align-items:center;gap:9px}.standings .badge{width:27px;height:29px;font-size:7px;border-radius:6px 6px 10px 10px}.qualified td:first-child{color:var(--red);font-weight:800;border-left:2px solid var(--red)}.points{font-weight:850;color:var(--red)}.tab-row{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:20px}.pill{border:1px solid var(--line);border-radius:8px;padding:8px 13px;background:#191a1b;color:var(--muted);font-size:11px;font-weight:700}.pill.active{background:var(--ink);border-color:var(--ink);color:white}.empty{padding:42px 20px;text-align:center;color:var(--muted);font-size:13px}.empty svg{margin-bottom:13px;color:var(--red)}.empty strong{display:block;color:var(--ink);font-size:18px;margin-bottom:8px}.notice{padding:12px 15px;border-radius:10px;background:#f8eedb;color:#83602c;font-size:12px;margin-bottom:18px}.notice.success{background:#eaf4ed;color:#256744}.notice.error{background:#fbe9ed;color:var(--red)}.success-state{padding:35px 15px;text-align:center}.success-state .check{display:flex;margin:0 auto 17px;align-items:center;justify-content:center;width:62px;height:62px;border-radius:50%;background:#e6f4eb;color:var(--green);font-size:28px}.success-state h2{font-size:25px}.success-state p{font-size:12px;color:var(--muted)}.team-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:17px}.team-card{padding:25px;background:#191a1b;border:1px solid var(--line);border-radius:var(--radius)}.team-card .badge{width:51px;height:57px;font-size:12px;margin-bottom:18px}.team-card h3{font-size:15px;min-height:42px}.team-card p{font-size:11px;color:var(--muted)}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:25px}.stat{background:#191a1b;border:1px solid var(--line);border-radius:13px;padding:20px}.stat span{display:block;color:var(--muted);font-size:10px;margin-bottom:8px}.stat strong{font-size:31px;line-height:1}.stat small{display:block;font-size:10px;margin-top:8px;color:var(--muted)}.pitch{background:#151713;border-radius:15px;position:relative;padding:30px 20px;color:white;overflow:hidden;min-height:460px;border:10px solid #514528}.pitch:before{content:'';position:absolute;inset:20px;border:1px solid #ffffff50;pointer-events:none}.pitch:after{content:'';position:absolute;top:50%;left:20px;right:20px;border-top:1px solid #ffffff50;pointer-events:none}.pitch-line{position:relative;z-index:1;display:flex;justify-content:space-around;gap:8px;margin:21px 0}.pitch-player{text-align:center;width:115px;font-size:10px}.pitch-player .shirt{display:block;background:#191a1b;color:var(--red);width:34px;margin:0 auto 7px;border-radius:7px;padding:7px 0;font-size:11px;font-weight:800}.pitch-player small{display:block;font-size:8px;opacity:.7}.footer{border-top:1px solid var(--line);padding:23px 0;color:var(--muted);font-size:10px}.footer-inner{display:flex;justify-content:space-between;gap:20px}.footer b{color:var(--red)}.modal-backdrop{position:fixed;inset:0;background:#19121bc9;backdrop-filter:blur(4px);z-index:20;display:flex;align-items:center;justify-content:center;padding:20px}.modal{background:#191a1b;border-radius:20px;padding:31px;max-width:450px;width:100%;position:relative;max-height:90vh;overflow:auto}.modal .close{position:absolute;right:16px;top:11px;border:0;background:none;font-size:26px;color:var(--muted)}.modal h2{font-size:27px;margin-top:18px}.field{margin-bottom:16px}.field label{display:block;font-size:11px;font-weight:700;margin-bottom:7px}.field input,.field select,.field textarea{width:100%;border:1px solid #dcd5d7;border-radius:8px;background:#191a1b;padding:11px 12px;color:var(--ink);min-width:0}.field textarea{min-height:130px;resize:vertical;font-family:monospace;font-size:12px}.field small{font-size:10px;color:var(--muted);display:block;margin-top:5px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 15px}.field.wide{grid-column:1/-1}.error-text{color:var(--red);font-size:12px;margin-top:12px}.loading{padding:80px;text-align:center;color:var(--muted)}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:30;background:#262027;color:white;padding:12px 20px;border-radius:10px;font-size:12px;box-shadow:0 8px 40px #0003;display:none;max-width:min(520px,90vw)}#toast.show{display:block}.admin-shell{display:grid;grid-template-columns:235px minmax(0,1fr);min-height:100vh}.admin-sidebar{background:#111213;color:white;padding:30px 19px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column}.admin-sidebar .brand{margin-bottom:45px}.admin-sidebar .brand strong{font-size:13px}.admin-sidebar .brand small{font-size:8px;color:#b2ada2}.admin-nav{display:flex;flex-direction:column;gap:7px}.admin-nav a{font-size:12px;color:#b2ada2;padding:12px 15px;border-radius:9px;display:flex;align-items:center;gap:10px}.admin-nav a.active{background:var(--red);color:white}.admin-sidebar .bottom{margin-top:auto;display:flex;flex-direction:column;gap:13px;font-size:11px;color:#b2ada2;padding:20px 15px 0}.admin-main{min-width:0}.admin-top{display:flex;justify-content:space-between;align-items:center;padding:23px 35px;background:#191a1b;border-bottom:1px solid var(--line);font-size:12px}.admin-top strong{font-size:13px}.admin-content{padding:30px 35px;max-width:1350px;margin:auto}.admin-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:25px}.admin-title h1{font-size:28px;letter-spacing:-.7px;margin-bottom:4px}.actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.roster-table input,.roster-table select,.compact-input{border:1px solid var(--line);border-radius:6px;padding:7px;max-width:100%;width:100%;min-width:55px;font-size:11px;background:#191a1b}.roster-table .name-input{min-width:140px}.nom-team{margin-top:23px;border-top:1px solid var(--line);padding-top:17px}.nom-team h3{display:flex;align-items:center;gap:9px;font-size:13px;margin-bottom:14px}.nom-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.nom-option{border:1px solid var(--line);border-radius:8px;padding:10px;font-size:11px;display:flex;align-items:center;gap:8px;cursor:pointer}.nom-option:has(input:checked){background:#fff0f3;border-color:var(--red)}.nom-option small{font-size:9px;color:var(--muted);display:block}.nom-option input{accent-color:var(--red)}.tie-input{width:40px;margin-left:auto;padding:3px;font-size:10px;border:1px solid var(--line);border-radius:4px}.admin-match{margin-bottom:15px}.match-edit{display:grid;grid-template-columns:1fr 65px 24px 65px 1fr;gap:10px;align-items:center;margin:15px 0;font-size:12px}.match-edit input{text-align:center;width:100%;padding:8px;border:1px solid var(--line);border-radius:7px}.admin-login{max-width:460px;margin:65px auto}.admin-login .panel{padding:35px}.admin-login h1{font-size:28px}.admin-login p{color:var(--muted);font-size:12px}.result-card{display:flex;align-items:center;gap:20px;background:linear-gradient(120deg,#d6b65b,#66132b);color:white;padding:28px;border-radius:15px;margin-bottom:20px}.result-card .badge{width:65px;height:72px;font-size:15px}.result-card h2{margin-bottom:6px}.result-card p{font-size:12px;margin:0;color:#f2c8d1}.result-card .eyebrow{font-size:9px;margin-bottom:10px}.wide-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:22px}.fine{font-size:10px;color:var(--muted)}.mt{margin-top:22px}.mb{margin-bottom:22px}.hidden{display:none!important}.progress{height:5px;background:#eee6e9;border-radius:4px;overflow:hidden;margin-top:7px}.progress div{height:100%;background:var(--red)}.rules-list{padding-left:18px;color:#645d64;font-size:13px}.rules-list li{margin-bottom:12px}.category-title{font-size:12px;font-weight:800;color:var(--red);letter-spacing:.5px;margin:24px 0 12px}.readonly-note{font-size:10px;color:var(--muted);padding:5px 0}.confirm-list{font-size:12px;margin-bottom:20px}.confirm-list div{padding:9px 0;border-bottom:1px solid var(--line)}
@media(min-width:1600px){.container{width:1280px}.hero-inner{min-height:320px}}
@media(max-width:1050px){.nav{gap:15px;font-size:11px}.ballot-layout{grid-template-columns:minmax(0,1fr) 250px}.panel{padding:20px}.nom-options{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-shell{grid-template-columns:195px minmax(0,1fr)}.admin-content{padding:25px}.team-grid{grid-template-columns:repeat(2,1fr)}.wide-grid{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:780px){.container{width:calc(100% - 32px)}.topinner{height:auto;min-height:76px;flex-wrap:wrap;gap:0;padding-top:15px}.brand strong{font-size:13px}.brand small{font-size:8px}.brand img{width:37px;height:37px}.account{font-size:10px;padding:8px 10px}.nav{order:3;width:100%;height:45px;justify-content:space-between;gap:8px;overflow:auto;margin-top:10px;white-space:nowrap}.hero-inner{min-height:260px}.hero h1{font-size:48px}.hero-graphic{width:130px;height:150px;margin-left:8px}.edition-stamp{width:80px;height:80px;top:35px;right:10px}.edition-stamp b{font-size:31px}.edition-stamp small{font-size:6px}.hero-meta{gap:13px;font-size:9px}.hero p{font-size:11px}.hero .eyebrow{font-size:8px}.ballot-layout{grid-template-columns:1fr}.side-stack{display:grid;grid-template-columns:1fr 1fr;align-items:start}.section{padding-top:25px}.section-heading h2{font-size:22px}.two-col{grid-template-columns:1fr}.round-chip{min-width:130px}.admin-shell{display:block}.admin-sidebar{position:relative;height:auto;padding:15px 20px}.admin-sidebar .brand{margin-bottom:15px}.admin-nav{flex-direction:row;overflow:auto;gap:5px}.admin-nav a{white-space:nowrap;padding:9px 11px;font-size:11px}.admin-nav a svg{display:none}.admin-sidebar .bottom{position:absolute;right:20px;top:20px;margin:0;padding:0;display:block}.admin-sidebar .bottom a{font-size:10px}.admin-sidebar .bottom button{display:none}.admin-top{padding:15px 20px}.admin-content{padding:23px 16px}.admin-title{align-items:flex-start}.admin-title h1{font-size:23px}.stats{gap:10px}.stat{padding:16px}.stat strong{font-size:27px}.nom-options{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-login{margin:25px 16px}.form-grid{grid-template-columns:1fr}.footer-inner{flex-direction:column;gap:7px}.modal{padding:26px}.demo-strip{font-size:9px}.demo-strip a{margin-left:5px}}
@media(max-width:480px){.hero-graphic{display:none}.hero-inner{min-height:250px}.hero h1{font-size:48px}.hero p{max-width:310px}.slots{gap:6px}.slot{padding:10px 8px;min-height:100px}.slot label{font-size:8px}.slot strong{font-size:10px}.slot small{font-size:9px}.candidate{padding:10px;gap:7px;min-height:80px}.candidate .badge{width:30px;height:35px;font-size:8px}.candidate strong{font-size:11px}.candidate small{font-size:9px}.candidate .pick{width:20px;height:20px}.candidates{gap:7px}.panel{padding:16px}.candidate-top{align-items:flex-start;flex-direction:column}.search{width:100%}.side-stack{grid-template-columns:1fr}.rules-card{padding:20px}.submit-row{align-items:stretch;flex-direction:column}.submit-row .btn{width:100%}.ballot-head{align-items:flex-start}.ballot-head h3{font-size:15px}.section-heading{align-items:flex-start}.section-heading .tag{font-size:8px}.team-grid{gap:10px}.team-card{padding:18px}.team-card h3{font-size:13px}.nom-options{grid-template-columns:1fr}.match-teams{font-size:10px;grid-template-columns:1fr 48px 1fr;gap:6px}.match-team{gap:6px}.match-team .badge{width:25px;height:30px;font-size:7px}.match{padding:12px}.score{font-size:17px}.pitch-player{font-size:8px}.pitch-player .shirt{width:28px}.match-edit{grid-template-columns:1fr 43px 12px 43px 1fr;gap:4px;font-size:10px}.match-edit input{padding:8px 2px}.admin-title .actions{max-width:140px}.admin-top{font-size:10px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
/* Las tablas se desplazan dentro de su panel, sin ensanchar la página móvil. */
.panel,.stat,.wide-grid>*,.two-col>*,.ballot-layout>*{min-width:0}.table-wrap{max-width:100%}.admin-nav::-webkit-scrollbar,.rounds::-webkit-scrollbar{height:3px}.admin-nav::-webkit-scrollbar-thumb,.rounds::-webkit-scrollbar-thumb{background:#a98a35;border-radius:3px}.admin-nav::-webkit-scrollbar-track,.rounds::-webkit-scrollbar-track{background:transparent}
/* Edición interactiva: portada, partidos e historial con anuncios administrables. */
.hero-home-actions{display:flex;align-items:center;gap:24px;margin-top:23px}.btn.hero-white{background:#191a1b;color:var(--red)}.hero-link{font-size:11px;font-weight:700;color:#e7d499}.sponsors{padding-top:23px;padding-bottom:0}.sponsor-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px;font-size:8px;letter-spacing:1.5px;color:var(--muted);font-weight:800}.ad-controls{display:flex;gap:9px;align-items:center;letter-spacing:0;font-size:9px}.ad-controls button{border:1px solid var(--line);background:#191a1b;color:var(--ink);width:25px;height:24px;border-radius:6px;font-size:12px}.sponsor-slot{overflow:hidden;border-radius:12px;background:#191917;position:relative;aspect-ratio:1600/360}.sponsor-slot>a,.sponsor-slot>div{display:block;width:100%;height:100%;position:relative}.sponsor-image{width:100%;height:100%;object-fit:cover;display:block}.ad-caption{position:absolute;bottom:0;left:0;right:0;padding:9px 16px;color:white;background:linear-gradient(transparent,#0009);font-size:10px;display:flex;align-items:center;justify-content:space-between;gap:10px}.ad-caption small{font-size:9px;color:#fff9}.ad-dots{display:flex;justify-content:center;gap:7px;margin-top:9px;height:8px}.ad-dot{width:6px;height:6px;padding:0;border:0;border-radius:5px;background:#5b5544}.ad-dot.active{background:var(--red);width:20px}.home-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.interactive-card{display:block;position:relative;min-height:215px;transition:transform .15s,border-color .15s}.interactive-card:hover{transform:translateY(-3px);border-color:#a98a35}.interactive-card .eyebrow{font-size:8px;display:block;margin:18px 0 11px;color:var(--muted)}.interactive-card h3{font-size:20px;letter-spacing:-.3px}.interactive-card p{font-size:11px;color:var(--muted);min-height:36px}.interactive-card>b{font-size:11px;color:var(--red)}.feature-icon{color:var(--red)}.dark-feature{background:#1d1b15;color:white;border-color:#1d1b15}.dark-feature p,.dark-feature .eyebrow{color:#c7c0b3}.dark-feature .feature-icon,.dark-feature>b{color:#e7cc7d}.team-mini-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.team-mini{display:flex;align-items:center;gap:10px;background:#191a1b;border:1px solid var(--line);padding:13px;border-radius:11px;font-size:11px}.team-mini b{font-weight:700}.sports-filters{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:16px}.sports-filters .tab-row{margin-bottom:0}.match-footer{display:flex;justify-content:space-between;gap:12px;font-size:9px;color:var(--muted);border-top:1px solid var(--line);padding-top:10px;margin-top:13px}.match-footer a{color:var(--red);font-weight:700}.match-live{border-color:var(--red);box-shadow:0 0 0 1px #d6b65b20}.match-meta .tag{font-size:8px;padding:3px 7px}.ad-admin-list{display:flex;flex-direction:column;gap:16px}.ad-admin-card{display:grid;grid-template-columns:180px minmax(0,1fr) auto;align-items:center;gap:22px}.ad-admin-card>img{width:100%;height:85px;object-fit:cover;border-radius:8px}.ad-admin-card h3{margin-top:10px!important;margin-bottom:5px}#ad-preview img{width:100%;max-height:120px;object-fit:contain;border-radius:8px;background:#242422}.nav{gap:19px;font-size:12px}
@media(max-width:1050px){.nav{gap:12px;font-size:10px}.brand strong{font-size:13px}.home-cards{gap:12px}.ad-admin-card{grid-template-columns:130px minmax(0,1fr)}.ad-admin-card .actions{grid-column:1/-1}}
@media(max-width:780px){.home-cards{grid-template-columns:1fr}.team-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-home-actions{gap:15px;flex-wrap:wrap}.interactive-card{min-height:0}.interactive-card .eyebrow{margin-top:8px}.interactive-card p{min-height:0}.feature-icon{float:right}.sports-filters{flex-direction:column}.sponsors{padding-top:17px}.ad-caption{padding:6px 10px}.ad-caption b{font-size:8px}.ad-caption small{display:none}.sponsor-top{font-size:6px;letter-spacing:1px}.nav{height:45px;font-size:10px;gap:15px;justify-content:space-between}.ad-admin-card{grid-template-columns:100px minmax(0,1fr);gap:14px}.ad-admin-card img{height:65px}}
@media(max-width:480px){.hero-home-actions .btn{font-size:11px;padding:10px 13px}.hero-link{font-size:10px}.team-mini{padding:10px;font-size:10px}.team-mini .badge{width:29px;height:33px;font-size:8px}.home-cards{gap:12px}.ad-admin-card{grid-template-columns:1fr}.ad-admin-card>img{height:100px}.sponsor-top{letter-spacing:.5px}.ad-controls{gap:5px}.ad-controls button{width:22px}}
/* Administración V4: escudos, trofeo y fichas históricas. */
.badge-image{background:transparent!important;border:0!important;border-radius:0!important;padding:1px;position:relative}.badge-image img{display:block;width:100%;height:100%;object-fit:contain}.crest-fallback{display:none}.badge-image.crest-error{background:var(--team)!important;border-radius:8px!important}.badge-image.crest-error img{display:none}.badge-image.crest-error .crest-fallback{display:inline;color:white}.team-cell{display:flex;align-items:center;gap:10px}.team-cell>.badge{width:28px;height:31px;font-size:8px}.admin-welcome{display:flex;align-items:center;justify-content:space-between;gap:25px;background:linear-gradient(110deg,#211c1a,#171716);border:1px solid #635033;color:#fff;border-radius:18px;padding:25px 33px;margin-bottom:25px;overflow:hidden}.admin-welcome .eyebrow{color:#d4b979;font-size:8px}.admin-welcome h2{font-size:31px;letter-spacing:-.7px;line-height:1.1;margin-bottom:12px}.admin-welcome p{font-size:11px;color:#c7c0b3;max-width:470px;margin-bottom:19px}.admin-welcome>img{width:180px;height:220px;object-fit:contain;flex:none;border-radius:12px}.welcome-link{background:transparent!important;color:#e6d2aa!important;border:1px solid #5c503c!important}.admin-team-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.admin-team-card{text-align:center;padding:19px;display:flex;flex-direction:column;align-items:center}.admin-team-card h3{font-size:14px;min-height:43px;margin:14px 0 6px;display:flex;align-items:center;justify-content:center}.admin-team-card .tag{font-size:8px}.admin-team-card p{margin-bottom:15px}.admin-team-card button{margin-top:auto;min-height:39px;font-size:10px}.team-crest-stage{display:flex;justify-content:center;align-items:center;width:100%;height:112px;margin-bottom:14px;background:linear-gradient(145deg,#faf8f5,#f1ede8);border-radius:12px}.team-crest-stage>.badge{width:73px;height:82px;font-size:19px}.team-crest-stage>.badge-image{width:90px;height:95px}.crest-edit-head{display:flex;align-items:center;gap:20px;margin-bottom:25px}.crest-editor-preview{display:flex;align-items:center;justify-content:center;flex:none;width:110px;height:110px;background-color:#f8f6f2;background-image:linear-gradient(45deg,#e9e5df 25%,transparent 25%),linear-gradient(-45deg,#e9e5df 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e9e5df 75%),linear-gradient(-45deg,transparent 75%,#e9e5df 75%);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0;border:1px solid var(--line);border-radius:12px}.crest-editor-preview>.badge{width:75px;height:85px;font-size:20px}.crest-editor-preview>.badge-image{width:95px;height:95px}.crest-edit-head strong{font-size:15px}.season-champion{display:flex;align-items:center;justify-content:space-between;gap:25px;background:#191a17;color:white;border:1px solid #a58342;border-radius:16px;padding:29px 33px;margin-bottom:23px}.season-champion>.eyebrow,.season-champion .eyebrow{color:#d8bb76;font-size:9px}.season-champion-name{display:flex;align-items:center;gap:15px}.season-champion-name .badge{width:50px;height:58px;font-size:12px}.season-champion-name h2{font-size:30px;margin:0}.season-champion p{font-size:12px;color:#e3d6bc;margin:14px 0 8px}.season-champion small{font-size:10px;color:#b2a68e}.season-champion>img{width:145px;height:185px;object-fit:contain;flex:none}.season-champion .hero-white{color:#422c14}.admin-sidebar .brand img{object-fit:contain;border-radius:6px}
@media(max-width:1200px){.admin-team-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-welcome h2{font-size:27px}.admin-welcome{padding:23px}.admin-welcome>img{width:150px;height:190px}}
@media(max-width:780px){.admin-team-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.admin-team-card{padding:14px}.admin-team-card h3{font-size:12px}.admin-welcome{padding:20px;gap:14px}.admin-welcome>img{width:95px;height:155px}.admin-welcome h2{font-size:23px}.admin-welcome p{font-size:10px}.admin-welcome .actions{gap:8px}.admin-welcome .btn{font-size:10px;padding:8px 10px}.season-champion{padding:22px;gap:12px}.season-champion>img{width:100px;height:150px}.season-champion-name{gap:8px}.season-champion-name h2{font-size:23px}.season-champion p{font-size:10px}.season-champion .actions{gap:8px}.season-champion .btn{font-size:10px}.team-crest-stage{height:100px}.team-crest-stage>.badge-image{width:80px;height:85px}}
@media(max-width:480px){.admin-welcome{position:relative;padding:20px}.admin-welcome>div{position:relative;z-index:1}.admin-welcome>img{width:100px;height:165px;margin-right:-8px}.admin-welcome p{max-width:190px}.admin-welcome .eyebrow{font-size:7px}.admin-welcome h2{font-size:22px}.admin-welcome .actions{flex-direction:column;align-items:flex-start}.season-champion>img{width:72px;height:140px}.season-champion{padding:18px}.season-champion-name h2{font-size:20px}.season-champion-name .badge{width:35px;height:43px;font-size:10px}.season-champion .actions{flex-direction:column;align-items:flex-start}.crest-edit-head{gap:13px}.crest-editor-preview{width:95px;height:95px}.crest-editor-preview>.badge-image{width:82px;height:82px}.admin-team-card button{font-size:9px;padding:8px;white-space:normal}}

/* Identidad oficial: carbón, oro y blanco. */
.btn{color:#17160f}.btn:hover{color:#17160f}.btn.secondary{color:var(--ink);background:#1a1b1c}.btn.secondary:hover{background:#2a2923;color:var(--ink)}.btn.danger{color:#f0ad90}.btn.hero-white{background:#e6c96c;color:#17160f}.btn.hero-white:hover{background:#f5dc8b}.account,.round-chip,.candidate,.search,.pill,.ad-controls button{background:#191a1b;color:var(--ink)}.hero{background:radial-gradient(ellipse at 78% 40%,#504323 0%,#1a1b19 40%,#101112 80%);border-bottom:1px solid #514528}.hero:after{display:none}.hero .eyebrow{color:#e5c96e}.hero h1{letter-spacing:-1.6px}.hero h1 span{color:#e9ca72}.hero p{color:#cfc9b9}.hero-graphic.trophy-hero{height:260px;width:275px}.trophy-hero img{width:100%;height:100%;object-fit:contain;border-radius:50%}.hero-meta{color:#cfc9b9}.brand img{width:48px;height:56px;object-fit:contain;border-radius:7px}.brand strong{color:#f3df9b;font-size:12px;letter-spacing:.25px}.brand small{color:#b2ada2}.topbar,.admin-top{background:#111213}.admin-sidebar{background:#111213;border-right:1px solid #33312b}.admin-sidebar .brand{margin-bottom:28px}.admin-nav a{color:#bab5a7}.admin-nav a.active{background:#322b19;color:#edd38b}.admin-nav a:hover{background:#26251f;color:#fff}.admin-top strong{color:#ede7d5}.admin-welcome{background:radial-gradient(ellipse at 85% 45%,#463c24,#151615 65%)}.admin-welcome h2{color:#f7f0dc}.admin-welcome>img,.season-champion>img{border-radius:9px}.admin-welcome>img{width:200px;height:225px}.admin-content{max-width:1600px}.team-crest-stage{background:radial-gradient(ellipse,#343329,#1b1c1c)}.season-champion{background:radial-gradient(ellipse at 90% 40%,#3b3322,#171816 70%)}.notice{background:#282418;border-color:#574a2c;color:#e9d6a1}.notice.success{background:#1a2e23;border-color:#385e45;color:#badbc4}.error-text{color:#ffb0a5}.field input,.field select,.field textarea,input,select,textarea{background:#121314;color:#f5f1e6;border-color:#454238}input::placeholder,textarea::placeholder{color:#858177}input[type=checkbox]{accent-color:#d6b65b}.modal{background:#1a1b1c;border:1px solid #514934}.modal-backdrop{background:#050606ce}.wide-modal{max-width:1020px}.sheet-table{min-width:830px}.sheet-table input[type=number]{width:65px;padding:8px;border:1px solid #4c4638;border-radius:5px}.sheet-table input[type=checkbox]{width:19px;height:19px}.sheet-table th{white-space:normal}.sheet-table td:first-child{min-width:160px}.sheet-table tr:has(th[colspan]){background:#29261d}.pitch{border-color:#55482b;background:linear-gradient(90deg,#141611,#1f2119,#141611)}.pitch:before,.pitch:after{border-color:#a28b4b80}.pitch-player .shirt{background:#e4c768;color:#181911}.pitch-player strong{color:#f1d78a}.pitch-player small{color:#c8c2af;opacity:1}.historical-pitch{max-width:850px;margin:auto}.historical-pitch .pitch-line{margin:38px 0}.historical-pitch .pitch-player{width:23%;font-size:12px}.historical-pitch .pitch-player small{font-size:9px}.phase-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:22px}.phase-controls>span{color:var(--muted);font-size:11px;margin-right:8px}.text-button{background:none;border:0;color:inherit;font:inherit;padding:0;text-align:left;cursor:pointer}.text-button:hover{color:#f0d383;text-decoration:underline}.profile-roster{display:flex;flex-wrap:wrap;gap:8px}.season-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.season-small-stats .stat strong{font-size:22px}.season-small-stats{margin-top:22px}.standings tr.relegation{background:#402b20}.standings tr.relegation td:first-child{color:#efaa82}.standings tr.qualified{background:#252a20}.standings tr.qualified td:first-child{color:#bdd3a0}.tag.red{background:#352d1a;color:#edd38b}.team-card{background:#191a1b}.team-card .btn{display:flex}.slot.filled,.candidate.selected,.round-chip.active{background:#2b271b}.candidate.selected .pick{color:#16150f}.pill.active{background:#d6b65b;color:#17160f;border-color:#d6b65b}.fine{color:#b2ada2}.rule-row{color:#b2ada2}table th{color:#b6af9c}table tbody tr:hover{background:#ffffff04}.team-mini{background:#191a1b}.footer{background:#111213;border-color:#33312b;color:#b6af9c}.footer a{color:#e5ca7b}.team-crest-stage .badge-image img{filter:drop-shadow(0 3px 4px #0007)}.admin-shell{grid-template-columns:238px minmax(0,1fr)}.admin-top .actions{flex-wrap:wrap}.sponsor-slot{border:1px solid #4c4126}.topinner .brand{min-width:200px}.nav{gap:16px}.account{color:#eed58b}.field small{color:#b2ada2}
@media(max-width:1100px){.admin-shell{grid-template-columns:220px minmax(0,1fr)}.admin-sidebar{padding-left:14px;padding-right:14px}.nav{gap:10px}.brand strong{font-size:11px}.season-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:780px){.admin-shell{display:block}.admin-sidebar{height:auto;padding:15px 20px}.admin-sidebar .brand{margin-bottom:12px}.admin-welcome>img{width:110px;height:170px}.brand img{width:40px;height:45px}.hero-graphic.trophy-hero{width:165px;height:205px}.hero-inner{gap:10px}.admin-top{gap:10px;flex-wrap:wrap}.season-small-stats .stat strong{font-size:19px}.historical-pitch .pitch-player{font-size:10px}.historical-pitch .pitch-player small{font-size:8px}.wide-modal{padding:20px}.season-grid{gap:10px}.season-champion>img{width:100px;height:145px}.nav{gap:14px}.admin-title .actions{max-width:none}.admin-title{flex-wrap:wrap}.phase-controls>span{width:100%}.topinner .brand{min-width:0}}
@media(max-width:480px){.hero-graphic.trophy-hero{display:block;width:105px;height:165px;position:absolute;right:-10px;top:22px;opacity:.7}.hero-inner>div:first-child{position:relative;z-index:1}.hero h1{font-size:44px}.hero .eyebrow{font-size:8px}.hero p{font-size:11px;max-width:260px}.hero-meta{gap:12px;flex-wrap:wrap;font-size:10px}.hero-inner{min-height:285px}.admin-welcome>img{width:90px;height:145px}.historical-pitch{padding:16px 5px;border-width:5px;min-height:390px}.historical-pitch .pitch-player{font-size:9px}.historical-pitch .pitch-player small{font-size:7px}.historical-pitch .pitch-line{margin:27px 0}.season-grid{grid-template-columns:1fr}.phase-controls{gap:5px}.phase-controls .pill{font-size:10px}.season-champion>img{width:70px;height:130px}.admin-top .actions{gap:6px}.admin-top .tag{font-size:8px}.admin-top strong{font-size:11px}}

.rules-list{color:#bab5a7}.nom-option:has(input:checked){background:#322b19}.candidate.disabled{background:#171817;color:#9d998e}.phase-controls .pill{min-height:34px}

.panel.empty h3{font-size:21px;color:#e3c66d;margin-bottom:9px}.panel.empty p{line-height:1.7}.panel.empty{padding:35px 24px}.empty:has(h3){text-align:left}.admin-login .notice p{margin-top:12px;font-size:12px}

.two-col>.panel.empty:only-child{grid-column:1/-1}
/* Torneo de pádel */
.padel-match{display:grid;grid-template-columns:112px 1fr auto;gap:14px;align-items:center;padding:12px 0;border-top:1px solid var(--line)}
.panel>.padel-match:first-of-type,.padel-date+.padel-match,.ballot-head+.padel-match{border-top:0}
.padel-when b{display:block;font-size:17px;color:var(--ink)}.padel-when small{display:block;color:var(--muted);font-size:11px;margin:2px 0 4px}
.padel-cat-tag{color:var(--red);font-weight:800}
.padel-sides div{padding:3px 0;color:#cfc9bb;font-size:14px}.padel-sides div.win{color:var(--ink);font-weight:800}.padel-sides div.win:after{content:' ✓';color:var(--red)}
.padel-score{font-weight:800;color:var(--red);font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}
.padel-actions{grid-column:1/-1;display:flex;gap:8px;justify-content:flex-end}
.padel-day{margin-top:14px}.padel-date{margin:0}
.padel-champ img{width:64px;height:64px;border-radius:12px;object-fit:cover}
.padel-score-table{width:100%;table-layout:fixed}.padel-score-table input{width:100%;max-width:90px;text-align:center}.padel-score-table th{font-size:11px;color:var(--muted);text-align:left;white-space:normal;text-transform:none;letter-spacing:0;line-height:1.3}.padel-score-table td{padding:6px 4px}
@media(max-width:620px){.padel-table th,.padel-table td{padding:9px 5px;font-size:12px}.padel-table td:nth-child(2){white-space:normal;min-width:110px}.padel-table strong{font-size:12px}.padel-match{grid-template-columns:1fr auto}.padel-when{grid-column:1/-1;display:flex;gap:10px;align-items:baseline;flex-wrap:wrap}.padel-when b{display:inline;font-size:15px}.padel-when small{display:inline;margin:0}.padel-sides div{font-size:13px}}
/* Portada: los dos torneos */
.home-hub .container{position:relative;z-index:1;padding-top:44px;padding-bottom:44px}
.hub-intro{max-width:760px}.hub-intro p{font-size:14px;line-height:1.65;max-width:620px}
.hub-cards{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:30px}
.hub-card{display:flex;align-items:center;gap:22px;background:#111213;border:1px solid #4d4126;border-radius:18px;padding:16px 22px 16px 16px;color:var(--ink);text-decoration:none;transition:border-color .2s,transform .2s}
.hub-card:hover,.hub-card:focus-visible{border-color:var(--red);transform:translateY(-2px)}
.hub-card img{width:132px;height:132px;border-radius:14px;object-fit:cover;flex:none}
.hub-card h2{font-family:Impact,'Arial Narrow',Arial,sans-serif;font-size:40px;letter-spacing:.5px;margin:4px 0 6px;color:#fff}
.hub-card .eyebrow{font-size:8px;color:#f2d77e}.hub-card p{font-size:12px;color:#d7d0bc;margin:0 0 12px}.hub-card b{display:inline-flex;align-items:center;gap:6px;color:var(--red);font-size:13px}
.story{margin-bottom:10px}
.story-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.story-step{background:#191a1b;border:1px solid var(--line);border-radius:var(--radius);padding:22px}
.story-step.current{border-color:#6e5a2a;background:linear-gradient(160deg,#2a2414,#191a1b 70%)}
.story-year{font-family:Impact,'Arial Narrow',Arial,sans-serif;font-size:34px;color:var(--red)}
.story-step h3{margin:4px 0 6px;font-size:15px}.story-step p{margin:0;color:var(--muted);font-size:13px;line-height:1.55}
.story-strip{display:flex;justify-content:center;gap:34px;flex-wrap:wrap;margin:0 0 6px;padding:16px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);color:var(--muted);font-size:13px;text-transform:uppercase;letter-spacing:1.5px}
.story-strip b{color:var(--red);font-size:20px;margin-right:4px}
.story-foot{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-top:14px}.story-foot p{margin:0;color:var(--muted);font-size:13px}
.story-sign{margin:12px 0 34px}
@media(max-width:780px){.hub-cards,.story-steps{grid-template-columns:1fr}.hub-card img{width:96px;height:96px}.hub-card h2{font-size:32px}.home-hub .container{padding-top:30px;padding-bottom:30px}.story-strip{gap:16px;font-size:11px}}
/* Selector Fútbol | Pádel */
.sport-switch{display:inline-flex;background:#111213;border:1px solid #4d4126;border-radius:999px;padding:4px;gap:2px;flex:none}
.sport-switch a{padding:8px 16px;border-radius:999px;font-size:12px;font-weight:800;color:#d7d0bc;text-decoration:none}
.sport-switch a.active{background:var(--red);color:#111}
.hub-top{justify-content:center}
@media(max-width:780px){.sport-switch a{padding:7px 12px;font-size:11px}.hub-top{min-height:70px}}
