@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Barlow+Condensed:wght@600;700;800&display=swap');
:root{font-family:'DM Sans',Arial,sans-serif;color:#152840;background:#f4f7fa;font-size:15px}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,select{cursor:pointer}.top{height:88px;background:#fff;border-bottom:1px solid #e4ebf1;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(18px,3vw,56px)}.brand{display:flex;align-items:center;gap:14px}.brandmark{width:49px;height:49px;border-radius:14px;background:#0d3d65;color:#fff;display:grid;place-items:center;font-family:'Barlow Condensed',sans-serif;font-size:25px;font-weight:800}.eyebrow,.label{font-size:11px;letter-spacing:.13em;font-weight:800;color:#34718d}.brand h1{font-size:23px;letter-spacing:-.03em;margin:2px 0}.topright{display:flex;align-items:center;gap:18px;color:#667b8a;font-size:12px;font-weight:700}.signal{background:#eaf7f2;color:#197b5a;padding:8px 11px;border-radius:20px}.signal i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#22b17d;margin-right:4px}.nav{background:#fff;padding:0 clamp(18px,3vw,56px);display:flex;gap:28px;overflow:auto;border-bottom:1px solid #e4ebf1}.nav a{text-decoration:none;white-space:nowrap;padding:15px 2px;color:#728396;font-weight:700;border-bottom:3px solid transparent;font-size:13px}.nav a.active{color:#14557b;border-color:#148db7}main{max-width:1780px;margin:auto;padding:25px clamp(18px,3vw,56px) 70px}.head{display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:22px}.head h2{font:800 38px/1 'Barlow Condensed',sans-serif;margin:4px 0 0;letter-spacing:.005em}.head p{margin:7px 0 0;color:#738599}.controls{display:flex;gap:9px;align-items:center;flex-wrap:wrap}button,select{border:1px solid #d7e1e8;color:#21465e;background:#fff;border-radius:9px;padding:10px 13px;font-weight:700}button:hover,select:hover{border-color:#158fb5}.primary{background:#0b4a73;color:#fff;border-color:#0b4a73}.primary:hover{background:#11618d}.surface{background:#fff;border:1px solid #e2eaf0;box-shadow:0 6px 24px #12344c09;border-radius:16px;overflow:hidden}.section{padding:20px 24px;border-bottom:1px solid #e8eef3;display:flex;justify-content:space-between;align-items:center}.section h3{font-size:17px;margin:0}.section small,.subtle{color:#75899a}.two{display:grid;grid-template-columns:minmax(400px,1.12fr) minmax(440px,1fr);gap:20px}.stack{display:grid;gap:20px}.fixture{display:grid;grid-template-columns:100px minmax(200px,1fr) 140px minmax(200px,1fr) 120px;align-items:center;gap:12px;padding:13px 22px;border-bottom:1px solid #edf1f4}.fixture:last-child{border:0}.date{color:#60778a;font-size:12px;font-weight:700}.club{display:flex;align-items:center;gap:10px;font-weight:800;min-width:0}.club span{overflow:hidden;text-overflow:ellipsis}.club.right{justify-content:end;text-align:right}.crest{height:39px;width:39px;object-fit:contain;flex:none}.crest.small{width:27px;height:27px}.crest.large{width:56px;height:56px}.score{font:800 30px 'Barlow Condensed',sans-serif;text-align:center;color:#0b395a;white-space:nowrap}.score em{font-style:normal;color:#90a4b2;font-size:19px;padding:0 7px}.status{justify-self:end;background:#e7f6ef;color:#16825e;font-size:11px;font-weight:800;padding:7px 9px;border-radius:20px;text-transform:uppercase}.status.scheduled{background:#eef3f6;color:#7b8d9c}.status.final{background:#edf2fa;color:#4c6c91}.padded{padding:22px}.matchEdit{display:grid;grid-template-columns:minmax(230px,1fr) 180px 126px;gap:10px;align-items:center;border-bottom:1px solid #ecf1f4;padding:12px 0}.matchEdit:last-child{border:0}.matchEdit strong{display:block;font-size:14px}.matchEdit small{color:#8192a1}.goals{display:flex;align-items:center;gap:6px}.goals input{width:60px;padding:9px 5px;border:1px solid #d8e1e8;border-radius:8px;text-align:center;background:#fff}.goals input:disabled{background:#f3f5f6;color:#9ba9b3}.matchEdit select{font-size:11px;padding:8px 5px;max-width:126px}.scroll{overflow:auto}table{border-collapse:collapse;width:100%;white-space:nowrap}th{background:#f5f8fa;text-align:right;color:#80919f;font-size:11px;letter-spacing:.07em;text-transform:uppercase}td,th{padding:10px 13px;border-bottom:1px solid #edf1f4;text-align:right}tr:last-child td{border:0}td:first-child,th:first-child{text-align:center}td:nth-child(2),th:nth-child(2){text-align:left}.teamcell{display:flex;align-items:center;gap:9px;font-weight:700}.pts{font-weight:800;color:#0c4d77}.pos{font-weight:800;color:#145a80}.pending{background:#fff8e9}.chip{background:#e3f4fa;color:#137795;border-radius:6px;padding:4px 7px;font-size:11px;font-weight:800}.note{background:#fff8e9;border:1px solid #f4e8cd;padding:14px 17px;border-radius:10px;color:#735a28;font-size:13px;line-height:1.55;margin:15px 0}.mutednote{color:#738695;line-height:1.55;font-size:13px}.pairs{display:grid;grid-template-columns:repeat(4,minmax(190px,1fr));gap:12px;padding:20px}.pair{border:1px solid #e0eaf0;border-radius:12px;padding:15px;background:#fbfdfe}.pair .club{font-size:13px;margin:9px 0}.pair .label{display:block;margin-bottom:6px}.pair .vs{margin-left:38px;color:#a1afba;font-size:11px;font-weight:800}.compact td,.compact th{padding:8px 13px}.summary{display:grid;grid-template-columns:1fr 1fr;gap:20px}.summary .fixture{grid-template-columns:70px minmax(150px,1fr) 90px minmax(150px,1fr);padding:10px 16px}.summary .status{display:none}.summary .score{font-size:24px}.summary .crest{width:30px;height:30px}.field{display:flex;flex-direction:column;gap:4px;margin:10px 0}.field label{font-size:12px;font-weight:700}.field input{padding:9px;border:1px solid #d8e1e8;border-radius:8px;width:100px}.discipline{display:grid;grid-template-columns:repeat(2,1fr);gap:4px 20px}.discipline .field{display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #edf1f4;padding:5px 0}.discipline .field input{width:86px}.assignment{display:grid;grid-template-columns:repeat(2,minmax(250px,1fr));gap:8px;padding:20px}.assign{display:flex;align-items:center;gap:8px;padding:8px;border:1px solid #e5edf2;border-radius:8px}.assign select{flex:1;min-width:0;font-size:12px}.lottery{display:flex;gap:6px;flex-wrap:wrap;align-items:center;margin-top:9px}.lottery button{font-size:11px;padding:5px 9px}.live .top{height:72px}.live .nav,.live .controls,.live .controlonly,.live .note{display:none}.live main{padding-top:28px}.live .head h2{font-size:46px}.live .fixture{padding:19px 25px}.live .score{font-size:38px}.live table{font-size:18px}.live .crest.small{height:33px;width:33px}.live .compact td,.live .compact th{padding:10px}.live .pair{min-height:145px}@media(max-width:1100px){.two,.summary{grid-template-columns:1fr}.pairs{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){.topright,.eyebrow{display:none}.fixture{grid-template-columns:48px 1fr 78px 1fr;gap:5px;padding:10px}.fixture .club{font-size:11px;gap:4px}.fixture .crest{height:26px;width:26px}.fixture .status{display:none}.score{font-size:23px}.matchEdit{grid-template-columns:1fr 100px}.matchEdit select{grid-column:1/-1}.goals input{width:44px}.pairs,.assignment,.discipline{grid-template-columns:1fr}.head{display:block}.controls{margin-top:15px}.section{padding:14px}.brand h1{font-size:19px}}
/* Identidade visual e controles da transmissão */
body::before{content:"";position:fixed;inset:12% 8%;background:url('marcas/grupo-popular.png') center / min(55vw,620px) auto no-repeat;filter:invert(1);opacity:.035;mix-blend-mode:multiply;pointer-events:none;z-index:0}header,nav,main{position:relative;z-index:1}.competition-logo{width:60px;height:60px;object-fit:contain}.popular-logo{width:116px;height:62px;object-fit:contain;background:#050505;border-radius:5px}.live .nav{display:flex}.live .controls{display:flex}.embed .nav,.embed .controls{display:none}.embed .topright #modeTag{display:none}.brand h1{font-size:22px}.matchEdit .matchname{display:flex;align-items:center;gap:6px}.matchEdit .crest{width:25px;height:25px}.matchEdit-wrap{border-bottom:1px solid #ecf1f4}.matchEdit-wrap .matchEdit{border:0}.eventtools{padding:0 0 15px 25px;display:grid;gap:9px}.eventform{display:flex;gap:7px;flex-wrap:wrap;align-items:center}.eventform input[type=text]{min-width:110px;max-width:170px}.eventform input[type=number]{width:82px}.eventform input,.eventform select{padding:7px 8px;border:1px solid #d8e1e8;border-radius:7px;background:#fff}.eventform button{padding:7px 9px}.eventlist{display:flex;gap:6px;flex-wrap:wrap}.eventchip{display:inline-flex;gap:7px;align-items:center;padding:5px 8px;border-radius:7px;background:#edf4f7;font-size:12px}.eventchip button{padding:0 4px;border:0;background:transparent;color:#a32d2d}.scorers{grid-column:2/5;color:#566f80;font-size:12px;display:flex;gap:10px;flex-wrap:wrap}.fixture:has(.scorers){row-gap:4px}.controlnav{margin:0 0 14px}.controlnav button{background:#e6f2f7}.card-quick{display:flex;gap:8px;flex-wrap:wrap}.card-quick button{font-size:12px;padding:7px 9px}.brandmark{display:none}@media(max-width:700px){.competition-logo{width:45px;height:45px}.popular-logo{width:70px;height:45px}.brand h1{font-size:15px}.eventtools{padding-left:0}.scorers{grid-column:1/-1}.fixture:has(.scorers){grid-template-columns:48px 1fr 78px 1fr}}
.pairs{grid-template-columns:repeat(2,minmax(340px,1fr))}.pair-line{display:grid;grid-template-columns:minmax(0,1fr) 22px minmax(0,1fr);align-items:center;gap:9px}.pair-line .club{min-width:0;margin:6px 0}.pair-line .club span{white-space:normal}.pair-line .vs{margin:0;text-align:center;color:#668096;font-size:16px}.bulk{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.editdate{display:flex;gap:7px;align-items:center;margin-top:5px;color:#718391;font-size:12px}.editdate input{padding:5px 7px;border:1px solid #d8e1e8;border-radius:7px;color:#21465e;background:#fff}@media(max-width:800px){.pairs{grid-template-columns:1fr}}@media(max-width:700px){.pair-line .club{font-size:12px}.bulk select{max-width:130px}}
/* Leitura em transmissão e administração */
.fixture .club{font-size:18px}.fixture-team{min-width:0}.fixture-team .club{font-size:18px}.scorer-inline{font-size:13px;color:#385e76;margin:4px 0 0 49px;font-weight:700;line-height:1.3}.fixture-team:has(.right) .scorer-inline{text-align:right;margin:4px 49px 0 0}.matchEdit .matchname{font-size:16px}.teamcell{font-size:15px}.pairs{max-width:1040px;margin:auto}.pair-line .club{font-size:17px}.pair-line .crest{width:45px;height:45px}.inline-discipline{width:72px;border:1px solid #b9d2df;border-radius:7px;padding:6px;text-align:right;font-weight:700;color:#0b4a73;background:#fff}.user-form{display:flex;gap:14px;align-items:end;flex-wrap:wrap}.user-form label{display:grid;gap:6px;font-weight:700;font-size:13px}.user-form input,.user-form select,.user-row input,.user-row select{padding:10px;border:1px solid #d7e1e8;border-radius:8px;background:#fff;color:#21465e}.user-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap;border-bottom:1px solid #e5edf1;padding:12px 0}.user-row strong{min-width:130px}.user-row span{min-width:100px}.user-row input{max-width:180px}.embed #logout{display:none}.live .topright{display:flex}.live .pair-line .club{font-size:20px}@media(max-width:700px){.fixture-team .club{font-size:13px}.scorer-inline{margin-left:0;font-size:11px}.fixture-team:has(.right) .scorer-inline{margin-right:0}.matchEdit .matchname{font-size:14px}.pair-line .club{font-size:14px}.user-form{display:grid}}

/* Apresentação local: quadros proporcionais e identificação permanente. */
body::before{opacity:.075;background-size:min(55vw,650px) auto}
body::after{content:"GRUPO POPULAR · REGIONAL CERTEL SICREDI 2026";position:fixed;right:18px;bottom:9px;z-index:5;pointer-events:none;color:#205740;opacity:.5;font-size:10px;font-weight:900;letter-spacing:.09em}
.crest,.crest.small,.crest.large{object-fit:contain;object-position:center}
.results-layout{max-width:1100px;margin-inline:auto}
.results-layout .fixture{grid-template-columns:106px minmax(0,1fr) 96px minmax(0,1fr) 72px;gap:8px;padding:13px 15px}
.results-layout .fixture-team .club{font-size:18px;gap:7px}
.results-layout .scorer-inline{margin-left:45px;font-size:13px;line-height:1.4;white-space:normal}
.results-layout .fixture-team:has(.right) .scorer-inline{margin-left:0;margin-right:45px}
.card-strip{display:flex;gap:3px;align-items:center;min-height:18px;margin:5px 0 0 46px;flex-wrap:wrap}
.fixture-team:has(.right) .card-strip{justify-content:flex-end;margin-left:0;margin-right:46px}
.card{display:inline-flex;align-items:center;justify-content:center;flex:none;width:10px;height:17px;border-radius:2px;border:1px solid #a67812;box-shadow:0 1px 2px #0002}
.card.yellow{background:#f7c735}.card.red{background:#d73c39;border-color:#a4201c}.card.staff{width:15px;color:white;font-size:10px;font-style:normal;font-weight:900}
.card-editor{margin:0 0 12px;padding:11px 15px;background:#f7faf8;border:1px solid #e0eae4;border-radius:10px}
.card-editor>strong,.card-editor>small{display:block}.card-editor>small{color:#617466;margin:3px 0 10px}
.card-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.card-team{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px}.card-team b{display:flex;align-items:center;gap:6px;width:100%}
.card-team label{font-size:12px;font-weight:700;color:#3d5b4b;display:flex;align-items:center;gap:5px}
.card-team input{width:54px;padding:5px;border:1px solid #aebeb5;border-radius:6px;text-align:center}
.standings-board{max-width:1160px;margin-inline:auto}
.standings-board .section{padding:9px 18px}.standings-board th,.standings-board td{padding:5px 8px}
.standings-board th{font-size:10px}.standings-board table{font-size:15px}
.standings-board .teamcell{font-size:15px;gap:7px}.standings-board .crest.small{width:26px;height:26px}
.standings-board tbody tr:nth-child(4n+1){background:#f8faf9}
.standings-board .inline-discipline{width:62px;padding:3px}
.live .standings-board th,.live .standings-board td{padding:5px 8px}.live .standings-board table{font-size:15px}.live .standings-board .crest.small{width:26px;height:26px}
.pair-line .vs,.live .pair-line .vs{font-size:26px;font-weight:900;color:#126e59}
.summary{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(0,1fr) minmax(0,.96fr);gap:12px;align-items:start}
.summary .surface{min-width:0}.summary .section{padding:9px 12px}.summary .section h3{font-size:17px}
.summary .fixture{grid-template-columns:58px minmax(0,1fr) 42px minmax(0,1fr);gap:3px;padding:7px 7px}
.summary .fixture .club{font-size:12px;gap:3px}.summary .fixture .crest{width:23px;height:23px}
.summary .fixture .date{font-size:10px}.summary .fixture .score{font-size:19px}.summary .fixture .score em{padding:0 2px;font-size:14px}
.summary .scorer-inline,.summary .card-strip{display:none}
.summary-table td,.summary-table th,.live .summary-table td,.live .summary-table th{padding:5px 4px;font-size:12px}
.summary-table .teamcell{font-size:12px;gap:4px}.summary-table .crest.small,.live .summary-table .crest.small{width:21px;height:21px}
.summary-table .inline-discipline{width:47px}.summary-table tbody tr:nth-child(4n+1){background:#f8faf9}
.summary-next .pairs{grid-template-columns:1fr;gap:5px;padding:7px}.summary-next .pair{padding:5px 8px;min-height:0}
.live .summary-next .pair{min-height:0}.summary-next .pair .label{font-size:9px;margin:0}
.summary-next .pair-line{grid-template-columns:minmax(0,1fr) 16px minmax(0,1fr);gap:2px}
.summary-next .pair-line .club,.live .summary-next .pair-line .club{font-size:12px;gap:3px;margin:2px 0}
.summary-next .pair-line .crest,.live .summary-next .pair-line .crest{width:23px;height:23px}
.summary-next .pair-line .vs,.live .summary-next .pair-line .vs{font-size:17px}
.summary-next .padded{font-size:10px;padding:6px 9px}
.live:has(.summary) main{max-width:1800px;padding:12px 18px 28px}
.live:has(.summary) .head{margin-bottom:9px}.live:has(.summary) .head h2{font-size:30px}
@media(max-height:850px){.live .standings-board th,.live .standings-board td{padding:3px 7px}.live .standings-board .crest.small{width:23px;height:23px}.live .standings-board table{font-size:14px}.live:has(.standings-board) main{padding-top:13px}}
@media(max-width:1200px){.summary{grid-template-columns:1fr 1fr}.summary-next{grid-column:1/-1}.summary-next .pairs{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.summary{grid-template-columns:1fr}.summary-next{grid-column:auto}.summary-next .pairs{grid-template-columns:1fr}.results-layout .fixture{grid-template-columns:56px minmax(0,1fr) 58px minmax(0,1fr);gap:4px}.results-layout .fixture .status{display:none}.results-layout .fixture-team .club{font-size:13px}.card-editor-grid{grid-template-columns:1fr}.results-layout .scorer-inline,.results-layout .fixture-team:has(.right) .scorer-inline,.card-strip,.fixture-team:has(.right) .card-strip{margin-left:0;margin-right:0}}

@media(max-height:850px){.live:has(.standings-board) .top{height:61px}.live:has(.standings-board) .nav a{padding-block:9px}.live:has(.standings-board) .head{margin-bottom:8px}.live:has(.standings-board) .head h2{font-size:31px}.live:has(.standings-board) .head p{margin-top:2px}.live:has(.standings-board) .standings-board th,.live:has(.standings-board) .standings-board td{padding:2px 7px}.live:has(.standings-board) .standings-board .crest.small{width:21px;height:21px}.live:has(.standings-board) .standings-board .padded{padding:7px 14px;font-size:11px}}

/* Ajuste fino dos quadros e da tela conjunta. */
.two .stack:nth-child(2)>.surface:first-child table{font-size:12px}
.two .stack:nth-child(2)>.surface:first-child td,.two .stack:nth-child(2)>.surface:first-child th{padding:7px 4px}
.two .stack:nth-child(2)>.surface:first-child .teamcell{font-size:13px;gap:5px}
.two .stack:nth-child(2)>.surface:first-child .crest.small{width:23px;height:23px}
.results-layout{max-width:890px}
.results-layout .fixture{grid-template-columns:90px minmax(0,1fr) 72px minmax(0,1fr) 70px;gap:5px;padding:12px 11px}
.results-layout .fixture-team:nth-child(2) .club{justify-content:flex-end}
.results-layout .fixture-team:nth-child(4) .club{justify-content:flex-start}
.results-layout .fixture-team .club{font-size:18px}
.results-layout .fixture-team:nth-child(2) .scorer-inline,.results-layout .fixture-team:nth-child(2) .card-strip{text-align:right;justify-content:flex-end;margin-left:0;margin-right:0}
.results-layout .fixture-team:nth-child(4) .scorer-inline,.results-layout .fixture-team:nth-child(4) .card-strip{text-align:left;justify-content:flex-start;margin-left:0;margin-right:0}
.standings-board{max-width:940px}
.standings-board th,.standings-board td,.live .standings-board th,.live .standings-board td{padding-inline:6px}
.standings-board .teamcell{min-width:0}
body:not(:has(.summary)) .pair-line .club{font-size:22px;gap:9px}
body:not(:has(.summary)) .pair-line .crest{width:56px;height:56px}
body:not(:has(.summary)) .pair-line .vs{font-size:35px}
body:not(:has(.summary)) .pair-line{grid-template-columns:minmax(0,1fr) 39px minmax(0,1fr);gap:8px}
body:not(:has(.summary)) .pairs{max-width:1040px}
.summary{grid-template-columns:minmax(0,.9fr) minmax(0,1.4fr);align-items:stretch;gap:14px}
.summary-left{display:flex;flex-direction:column;gap:12px;min-width:0}
.summary-left .surface{width:100%}
.summary-table .scroll{overflow-x:auto}
.summary-table table{table-layout:auto;width:100%}
.summary-table td,.summary-table th,.live .summary-table td,.live .summary-table th{font-size:13px;padding:6px 4px}
.summary-table .teamcell{font-size:13px;gap:5px;white-space:nowrap}
.summary-table .crest.small,.live .summary-table .crest.small{width:24px;height:24px}
.summary-table th:first-child,.summary-table td:first-child{padding-left:8px}
.summary-table th:last-child,.summary-table td:last-child{padding-right:8px}
.summary .fixture{grid-template-columns:63px minmax(0,1fr) 50px minmax(0,1fr);padding:7px 9px}
.summary .fixture .club{font-size:14px;gap:4px}.summary .fixture .crest{width:25px;height:25px}
.summary .fixture .score{font-size:22px}
.summary .fixture-team:nth-child(2) .club{justify-content:flex-end}
.summary .fixture-team:nth-child(4) .club{justify-content:flex-start}
.summary-next .pairs{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:7px}
.summary-next .pair{padding:6px 8px}
.summary-next .pair-line .club,.live .summary-next .pair-line .club{font-size:13px}
.summary-next .pair-line .crest,.live .summary-next .pair-line .crest{width:25px;height:25px}
.summary-next .padded{font-size:10px;line-height:1.25}
@media(max-height:850px){.summary-table td,.summary-table th,.live .summary-table td,.live .summary-table th{padding-block:4px}.summary-table .crest.small,.live .summary-table .crest.small{width:22px;height:22px}.summary .fixture{padding-block:5px}.summary-next .pair{padding-block:4px}}
@media(max-width:1150px){.summary{grid-template-columns:1fr}.summary-left{display:grid;grid-template-columns:1fr 1fr;align-items:start}.summary-next .pairs{grid-template-columns:1fr}}
@media(max-width:700px){.summary-left{display:block}.results-layout .fixture{grid-template-columns:53px minmax(0,1fr) 47px minmax(0,1fr)}.results-layout .fixture-team .club{font-size:13px}body:not(:has(.summary)) .pair-line .club{font-size:16px}body:not(:has(.summary)) .pair-line .crest{width:38px;height:38px}}

/* Mata-mata, nomes completos e classificação por fase. */
body[data-phase]:not([data-phase="group"]) #roundGlobal{display:none}
.summary{grid-template-columns:minmax(0,1.05fr) minmax(0,1.4fr)}
.summary-table td,.summary-table th,.live .summary-table td,.live .summary-table th{font-size:14px;padding:6px 5px}
.summary-table .teamcell{font-size:14px}.summary-table .crest.small,.live .summary-table .crest.small{width:25px;height:25px}
.summary .fixture .club{font-size:14px}
.summary .fixture .club span,.summary-next .club span,.knockout-preview .club span,.ko-games .club span{white-space:nowrap;overflow:visible;text-overflow:clip}
.summary .fixture-team:nth-child(2) .club{justify-content:flex-end}
.summary .fixture-team:nth-child(4) .club{justify-content:flex-start}
.summary .fixture{grid-template-columns:64px minmax(0,1fr) 46px minmax(0,1fr);gap:5px}
.summary-next .pair-line .club{font-size:14px}
.ko-pairs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;padding:16px;max-width:1120px;margin:auto}
.ko-pair{border:1px solid #dce9e4;border-radius:12px;background:#fbfdfc;padding:12px;min-width:0}
.ko-pair-caption{font-size:11px;font-weight:900;color:#29654f;letter-spacing:.06em;margin-bottom:8px}
.ko-leg{border-top:1px solid #e4ebe7;padding:9px 0}.ko-leg:first-of-type{border-top:0}
.ko-leg-title{font-size:10px;text-transform:uppercase;letter-spacing:.07em;color:#577566;font-weight:800;margin-bottom:5px}
.ko-line{display:grid;grid-template-columns:minmax(0,1fr) 30px minmax(0,1fr);align-items:center;gap:6px}
.ko-line .club{font-size:19px;gap:7px}.ko-line .club:first-child{justify-content:flex-end}.ko-line .club:last-child{justify-content:flex-start}
.ko-line .crest{width:43px;height:43px}.ko-x{text-align:center;font-size:29px;color:#176847}
.ko-meta{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 14px;font-size:12px;color:#546a5e;margin-top:5px}
.ko-meta label{display:flex;align-items:center;gap:5px;font-size:11px;font-weight:800}.ko-meta input{max-width:160px;padding:4px 6px;border:1px solid #b7ccc2;border-radius:6px}
.ko-leg.pending{color:#7b8e83;font-weight:700}
.ko-games{max-width:980px;margin:auto}.ko-game-pair{padding:12px 14px;border-top:1px solid #e4ebe7}
.ko-game-pair .fixture{grid-template-columns:90px minmax(0,1fr) 70px minmax(0,1fr) 70px;padding:8px 4px;gap:6px}
.ko-game-pair .fixture-team:nth-child(2) .club{justify-content:flex-end}.ko-game-pair .fixture-team:nth-child(4) .club{justify-content:flex-start}
.ko-game-pair .fixture .club{font-size:17px}.ko-game-pair .fixture .club span{white-space:nowrap;overflow:visible}
.ko-game-pair .scorer-inline{font-size:12px}.ko-winner{text-align:right;font-size:12px;font-weight:800;color:#226750;padding-top:6px}
.ko-edit{background:#f7faf9;border-radius:9px;padding:10px;margin:6px 0 14px}.ko-edit-label{display:block;color:#526f60;font-size:12px;font-weight:800;margin-bottom:7px}
.ko-score-row{display:grid;grid-template-columns:minmax(0,1fr) 52px 15px 52px minmax(0,1fr) 110px;align-items:center;gap:8px}
.ko-score-row .club{font-size:16px}.ko-score-row>input,.ko-penalties input{width:52px;text-align:center;padding:6px;border:1px solid #abc5b8;border-radius:7px}
.ko-score-row select{width:110px;padding:6px;border:1px solid #abc5b8;border-radius:7px}
.ko-penalties{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:10px 0 2px;font-size:12px;font-weight:700}.ko-penalties label{display:flex;align-items:center;gap:5px}
.ko-edit .card-editor{margin:10px 0}.ko-edit .eventtools{padding:8px 0}
.summary-next .ko-pairs{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:7px}
.summary-next .ko-pair{padding:5px 7px}.summary-next .ko-pair-caption{font-size:9px;margin-bottom:2px}
.summary-next .ko-leg{padding:3px 0}.summary-next .ko-leg-title{font-size:9px;margin-bottom:2px}
.summary-next .ko-line{grid-template-columns:minmax(0,1fr) 15px minmax(0,1fr);gap:2px}
.summary-next .ko-line .club{font-size:12px;gap:3px}.summary-next .ko-line .crest{width:22px;height:22px}.summary-next .ko-x{font-size:17px}
.summary-next .ko-meta{font-size:10px;margin-top:2px;gap:2px 6px}.summary-next .padded{padding:5px 9px}
.summary .ko-game-pair{padding:4px 7px}.summary .ko-game-pair .fixture{grid-template-columns:52px minmax(0,1fr) 42px minmax(0,1fr);padding:4px 0}
.summary .ko-game-pair .fixture .club{font-size:13px}.summary .ko-winner{font-size:10px}
@media(max-width:1550px){.summary-next .ko-pairs{grid-template-columns:1fr}.summary-next .ko-line .club{font-size:14px}.summary-next .ko-line .crest{width:25px;height:25px}}
@media(max-width:1050px){.ko-pairs{grid-template-columns:1fr}.ko-line .club{font-size:17px}.summary{grid-template-columns:1fr}.summary-left{display:block}.summary-next .ko-pairs{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.ko-line .club{font-size:13px}.ko-line .crest{width:31px;height:31px}.ko-score-row{grid-template-columns:1fr 48px 10px 48px 1fr;gap:3px}.ko-score-row select{grid-column:1/-1;width:100%}.ko-game-pair .fixture{grid-template-columns:45px minmax(0,1fr) 50px minmax(0,1fr)}.summary-next .ko-pairs{grid-template-columns:1fr}}
.summary-next{display:flex;flex:1}.summary-next>.surface{width:100%}
.compact-pairs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:10px}
.compact-pair{border:1px solid #e1ece6;background:#fbfdfc;border-radius:8px;padding:7px 8px;min-width:0}
.compact-pair small{font-size:10px;font-weight:800;color:#537665}
.compact-line{display:grid;grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr);gap:3px;align-items:center}
.compact-line .club{font-size:13px;gap:3px}.compact-line .crest{width:24px;height:24px}.compact-line strong{text-align:center;color:#116a49;font-size:17px}
.compact-line .club:first-child{justify-content:flex-end}.compact-line .club:last-child{justify-content:flex-start}
.compact-line .club span{white-space:nowrap;overflow:visible;text-overflow:clip}
@media(max-width:1550px){.compact-pairs{grid-template-columns:1fr}.compact-line .club{font-size:14px}}
@media(max-width:1050px){.compact-pairs{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.compact-pairs{grid-template-columns:1fr}}

/* Rodada atual e apenas ida das oitavas na tela de transmissão. */
.phase-tabs{display:flex;justify-content:center;flex-wrap:wrap;gap:7px;margin:0 auto 14px;max-width:890px}
.phase-tabs button{background:#fff;border:1px solid #b8cfc1;border-radius:8px;padding:8px 15px;color:#285c43;font-weight:800}
.phase-tabs button.selected{background:#0f6846;color:#fff;border-color:#0f6846}
.projected-phase .empty-club{min-height:27px;border-bottom:1px dashed #b6c8bc;margin:0 8px}
.live:has(.summary) main{max-width:1800px;padding:10px 18px 10px}
.live:has(.summary) .head{margin-bottom:8px}
.live:has(.summary) .head h2{font-size:27px}
.live:has(.summary) .head p{font-size:13px;margin-top:2px}
.summary{height:calc(100vh - 215px);min-height:0;align-items:stretch;overflow:hidden}
.summary-left{height:100%;min-height:0;display:flex;flex-direction:column;gap:10px}
.summary-left .summary-results{flex:none}
.summary-left .summary-next{flex:1;min-height:0;display:flex}
.summary-next>.surface{height:100%;display:flex;flex-direction:column}
.summary-table{height:100%;min-height:0}
.summary-table .scroll{overflow:hidden}
.summary-table td,.summary-table th,.live .summary-table td,.live .summary-table th{padding:4px 5px;font-size:13px}
.summary-table .crest.small,.live .summary-table .crest.small{height:22px;width:22px}
.summary-table .teamcell{font-size:13px}
.summary .fixture{padding:5px 8px;gap:5px}
.summary .fixture .crest{width:22px;height:22px}
.summary .fixture .club{font-size:13px}
.first-leg-summary .section{flex:none}
.first-leg-list{flex:1;min-height:0;display:grid;grid-template-rows:repeat(8,minmax(0,1fr))}
.first-leg-row{min-height:0;padding:3px 10px;border-bottom:1px solid #eef1ef;display:flex;flex-direction:column;justify-content:center}
.first-leg-row:last-child{border-bottom:0}
.first-leg-teams{display:grid;grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr);gap:4px;align-items:center}
.first-leg-teams .club{font-size:14px;gap:4px}
.first-leg-teams .club:first-child{justify-content:flex-end}
.first-leg-teams .club:last-child{justify-content:flex-start}
.first-leg-teams .crest{width:24px;height:24px}
.first-leg-teams .club span{white-space:nowrap;overflow:visible;text-overflow:clip}
.first-leg-teams b{font-size:17px;text-align:center;color:#126b48}
.first-leg-meta{display:flex;justify-content:center;gap:10px;font-size:10px;color:#557366;line-height:1.1;white-space:nowrap}
@media(max-height:850px){.summary{height:calc(100vh - 190px)}.live:has(.summary) .top{height:60px}.live:has(.summary) .nav a{padding-block:9px}.summary-table td,.summary-table th,.live .summary-table td,.live .summary-table th{padding:2px 4px;font-size:12px}.summary-table .crest.small,.live .summary-table .crest.small{height:20px;width:20px}.summary-table .teamcell{font-size:12px}.summary .fixture{padding:3px 7px}.summary .fixture .crest{width:20px;height:20px}.first-leg-row{padding:2px 9px}.first-leg-teams .crest{width:20px;height:20px}.first-leg-teams .club{font-size:12px}.first-leg-meta{font-size:9px}}
@media(max-width:1050px){.summary{height:auto;overflow:visible}.summary-left{height:auto}.first-leg-list{grid-template-rows:none}.first-leg-row{min-height:42px}.summary-table{height:auto}.summary-table .scroll{overflow-x:auto}}

/* Seletor permanente, rolagem interna e ida/volta em colunas paralelas. */
.round-toolbar{max-width:890px;margin:0 auto 15px;display:flex;align-items:center;gap:9px;background:#fff;border:1px solid #dce8e0;border-radius:10px;padding:9px 12px}
.round-toolbar label{font-weight:900;color:#245c43;white-space:nowrap}
.round-toolbar select{min-width:260px;max-width:100%;font-weight:700;padding:7px 10px}
.round-toolbar span{font-size:12px;color:#698173}
.summary-table{display:flex;flex-direction:column;min-height:0}
.summary-table>.section{flex:none}
.summary-table .scroll{flex:1;min-height:0;overflow-y:auto;overflow-x:auto;scrollbar-color:#92baa2 #f1f6f2}
.summary-table thead th{position:sticky;top:0;z-index:1}
.first-leg-row{display:grid;grid-template-columns:110px minmax(0,1fr);align-items:center;gap:5px}
.first-leg-meta{display:flex;flex-direction:column;align-items:flex-start;gap:2px;font-size:10px;white-space:normal;line-height:1.15}
.first-leg-teams{min-width:0}
.results-layout:has(.ko-games){max-width:1350px}
.control-ko{max-width:1350px;margin:auto}
.ko-stage-head{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:10px 14px;background:#f2f8f4;border-bottom:1px solid #dce9e2;color:#246549}
.ko-stage-list{display:grid;gap:0}
.ko-stage-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start;padding:8px 12px;border-bottom:1px solid #e4ece7}
.ko-stage-row:last-child{border-bottom:0}
.ko-leg-panel{min-width:0;border:1px solid #dfeae3;border-radius:9px;background:#fff;overflow:hidden}
.ko-stage-row .fixture{display:grid;grid-template-columns:92px minmax(0,1fr) 52px minmax(0,1fr);gap:4px;padding:7px 8px;border:0;min-height:52px}
.ko-stage-row .fixture .date{font-size:10px;line-height:1.3}
.ko-stage-row .fixture .score{font-size:22px}
.ko-stage-row .fixture .club{font-size:14px;gap:4px}
.ko-stage-row .fixture .crest{width:25px;height:25px}
.ko-stage-row .fixture .status{display:none}
.ko-stage-row .fixture-team:nth-child(2) .club{justify-content:flex-end}
.ko-stage-row .fixture-team:nth-child(4) .club{justify-content:flex-start}
.ko-stage-row .fixture .club span{white-space:nowrap;overflow:visible;text-overflow:clip}
.ko-edit-fold{border-top:1px solid #dfeae3}
.ko-edit-fold>summary{padding:6px 10px;cursor:pointer;color:#246549;font-size:12px;font-weight:800;background:#f7faf8}
.ko-edit-fold .ko-edit{margin:0;border-radius:0}
.ko-schedule{display:flex;flex-wrap:wrap;gap:9px;margin:8px 0 12px}
.ko-schedule label{display:flex;align-items:center;gap:4px;font-size:12px;font-weight:800}
.ko-schedule input{max-width:180px;padding:5px;border:1px solid #adc7b8;border-radius:6px}
.ko-empty{height:52px;display:grid;grid-template-columns:minmax(0,1fr) 25px minmax(0,1fr);align-items:center;gap:7px;padding:8px}
.ko-empty .empty-club{height:22px;border-bottom:1px dashed #aebfb4}
.ko-empty b{text-align:center;font-size:20px;color:#809989}
.ko-leg-panel.vacant small{display:block;text-align:center;padding:3px;color:#84968b}
@media(max-width:850px){.ko-stage-row{grid-template-columns:1fr;gap:5px}.ko-stage-head{display:none}.round-toolbar{flex-wrap:wrap}.round-toolbar span{width:100%}.ko-stage-row .fixture .club{font-size:13px}}
.ko-games{max-width:1350px}

/* Mostra as 19 equipes; rolagem fica disponível dentro da tabela se necessário. */
.summary-table .scroll{overflow-y:auto;overscroll-behavior:contain}
.summary-table tbody tr{height:clamp(21px,2.55vh,27px)}
.summary-table td,.summary-table th,.live .summary-table td,.live .summary-table th{padding-top:1px;padding-bottom:1px;line-height:1.15}
.summary-table .crest.small,.live .summary-table .crest.small{width:19px;height:19px}
.summary-table .teamcell{font-size:12px;line-height:1.1}
.summary-table .section{padding-top:7px;padding-bottom:7px}
@media(max-height:820px){.summary-table tbody tr{height:22px}.summary-table td,.summary-table th,.live .summary-table td,.live .summary-table th{font-size:11.5px;padding-top:0;padding-bottom:0}.summary-table .crest.small,.live .summary-table .crest.small{width:17px;height:17px}.summary-table .teamcell{font-size:11.5px}}
@media(max-height:820px){.summary-table td,.summary-table th,.live .summary-table td,.live .summary-table th{font-size:12.5px}.summary-table .teamcell{font-size:12.5px}}

/* Telas de transmissão: informações essenciais em tamanho legível. */
.discipline-editor{display:inline-flex;align-items:center;justify-content:flex-end;gap:3px;white-space:nowrap}
.discipline-editor button{width:25px;height:26px;padding:0;border:1px solid #b4cdbd;border-radius:5px;background:#ecf6ef;color:#145f3d;font-size:18px;font-weight:900;line-height:1}
.discipline-editor .inline-discipline{width:52px;text-align:center;padding:3px}
.summary-choice{display:flex;align-items:center;justify-content:center;gap:9px;margin:-5px 0 8px;font-size:13px;font-weight:800;color:#245d42}
.summary-choice select{padding:5px 9px}
.embed .summary-choice{display:none}
.summary .summary-table{max-width:none}
.summary .summary-table .compact{width:100%}
.summary .summary-table .compact td,.summary .summary-table .compact th,.live .summary .summary-table .compact td,.live .summary .summary-table .compact th{font-size:16px;padding:5px 9px;line-height:1.2}
.summary .summary-table .compact .teamcell{font-size:16px;gap:7px}
.summary .summary-table .compact .crest.small,.live .summary .summary-table .compact .crest.small{width:24px;height:24px}
.summary .summary-table .compact tbody tr{height:32px}
.summary .fixture .club{font-size:17px;gap:5px}
.summary .fixture .crest{width:27px;height:27px}
.summary .fixture .score{font-size:27px}
.summary .fixture .date{font-size:12px}
.summary .fixture{grid-template-columns:72px minmax(0,1fr) 58px minmax(0,1fr);padding:7px 9px}
.summary .first-leg-row{grid-template-columns:95px minmax(0,1fr)}
.summary .first-leg-teams .club{font-size:15px;gap:5px}
.summary .first-leg-teams .crest{width:25px;height:25px}
.summary .first-leg-meta{font-size:12px}
.summary.no-next{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr)}
.summary.no-next .summary-left{justify-content:center}
.summary.no-next .summary .fixture,.summary.no-next .fixture{padding:12px 14px}
.summary.no-next .fixture .club{font-size:21px}
.summary.no-next .fixture .crest{width:34px;height:34px}
.summary.no-next .fixture .score{font-size:31px}
.live:has(.summary-choice) .summary{height:calc(100vh - 250px)}
.game-detail-control{max-width:890px;margin:0 auto 7px;text-align:right}
.game-detail-control button{padding:5px 9px;font-size:12px;font-weight:800;background:#f5faf7;color:#245d42;border-color:#b7d2c0}
.live[data-view="placares"] main{height:calc(100vh - 114px);min-height:0;display:flex;flex-direction:column;overflow:hidden;padding-top:12px;padding-bottom:8px}
.live[data-view="placares"] .head{flex:none;margin-bottom:10px}
.live[data-view="placares"] .head h2{font-size:34px}
.live[data-view="placares"] .head p{font-size:13px}
.live[data-view="placares"] .phase-tabs{flex:none;margin-bottom:8px}
.live[data-view="placares"] .phase-tabs button{padding:6px 11px}
.live[data-view="placares"] .round-toolbar{flex:none;margin-bottom:7px;padding:5px 9px}
.live[data-view="placares"] .results-layout{width:100%;flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain}
.live[data-view="placares"] .results-layout .fixture{padding-top:5px;padding-bottom:5px;min-height:45px}
.live[data-view="placares"] .results-layout .fixture .crest{width:27px;height:27px}
.live[data-view="placares"] .results-layout .fixture .club{font-size:17px}
.live[data-view="placares"] .results-layout .score{font-size:27px}
.live[data-view="placares"] .ko-stage-row{padding-top:4px;padding-bottom:4px}
.live[data-view="placares"] .ko-stage-row .fixture{min-height:42px}
.live[data-view="classificacao"] main{height:calc(100vh - 114px);min-height:0;display:flex;flex-direction:column;overflow:hidden;padding-top:12px;padding-bottom:8px}
.live[data-view="classificacao"] .head{flex:none;margin-bottom:9px}
.live[data-view="classificacao"] .head h2{font-size:34px}
.live[data-view="classificacao"] .standings-board{flex:1;min-height:0;display:flex;flex-direction:column}
.live[data-view="classificacao"] .standings-board .scroll{flex:1;min-height:0;overflow-y:auto}
.live[data-view="classificacao"] .standings-board .padded{display:none}
.live[data-view="classificacao"] .standings-board td,.live[data-view="classificacao"] .standings-board th{padding:3px 7px;font-size:14px;line-height:1.15}
.live[data-view="classificacao"] .standings-board .teamcell{font-size:15px}
.live[data-view="classificacao"] .standings-board .crest.small{height:22px;width:22px}
@media(max-height:850px){.summary .summary-table .compact td,.summary .summary-table .compact th,.live .summary .summary-table .compact td,.live .summary .summary-table .compact th{font-size:14px;padding:2px 6px}.summary .summary-table .compact .teamcell{font-size:14px}.summary .summary-table .compact .crest.small,.live .summary .summary-table .compact .crest.small{width:20px;height:20px}.summary .summary-table .compact tbody tr{height:25px}.summary .fixture .club{font-size:15px}.summary .fixture .crest{width:23px;height:23px}.summary .fixture{padding:4px 7px}.summary .first-leg-teams .club{font-size:13px}.summary .first-leg-teams .crest{width:21px;height:21px}.summary .first-leg-meta{font-size:10px}.live[data-view="placares"] .results-layout .fixture{min-height:38px;padding-top:3px;padding-bottom:3px}.live[data-view="placares"] .results-layout .fixture .club{font-size:15px}.live[data-view="placares"] .results-layout .fixture .crest{width:23px;height:23px}.live[data-view="placares"] .ko-stage-row .fixture{min-height:37px}.live[data-view="classificacao"] .standings-board td,.live[data-view="classificacao"] .standings-board th{padding:2px 6px}.live[data-view="classificacao"] .standings-board .crest.small{height:20px;width:20px}}
