:root{--score-neutral:#f1f5f8;--score-leading:#b8ff28;--score-trailing:#ff7f78}
.score-controls .cancel-button{margin-left:auto;border-color:rgba(255,127,120,.45);color:#ff9b95}
.score-controls .finish-button{margin-left:0}
@media(max-width:820px){body.is-playing .score-controls{grid-template-columns:repeat(2,minmax(0,1fr))}body.is-playing .score-controls .cancel-button{margin:0}}
.score-side .points{color:var(--score-neutral);transition:color .22s ease,text-shadow .22s ease,transform .22s ease}
.score-side .points.is-leading{color:var(--score-leading);text-shadow:0 0 38px rgba(184,255,40,.12);transform:scale(1.025)}
.score-side .points.is-trailing{color:var(--score-trailing);text-shadow:0 0 34px rgba(255,127,120,.09)}
.result-scoreline b{display:flex;align-items:center;gap:.2em}
.result-scoreline b span{color:var(--score-neutral);font:inherit;letter-spacing:inherit;overflow:visible;transition:color .22s ease}
.result-scoreline b span.is-leading{color:var(--score-leading)}
.result-scoreline b span.is-trailing{color:var(--score-trailing)}
.result-scoreline b i{color:#587086;font-size:.72em;font-style:normal}
.ticket-competitor b{color:var(--score-neutral);transition:color .22s ease}
.ticket-competitor b.is-leading{color:var(--score-leading)}
.ticket-competitor b.is-trailing{color:var(--score-trailing)}
.image-dialog{width:min(920px,calc(100% - 28px));max-height:calc(100vh - 28px);padding:0;border:1px solid #34536d;border-radius:18px;background:#081725;color:#f6f8fb;box-shadow:0 30px 100px rgba(0,0,0,.65)}
.image-dialog::backdrop{background:rgba(2,8,15,.82);backdrop-filter:blur(6px)}
.image-dialog-card{padding:22px}
.image-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding-bottom:17px;border-bottom:1px solid rgba(255,255,255,.1)}
.image-dialog-head small{color:var(--lime);font-size:.65rem;font-weight:900;letter-spacing:.12em}
.image-dialog-head h2{margin:5px 0 0;font-size:1.3rem}
.image-dialog-head button{width:38px;height:38px;display:grid;place-items:center;border:1px solid #34516a;border-radius:8px;background:#10263d;color:#fff;font-size:1.5rem;line-height:1}
.generated-preview{position:relative;height:min(58vh,650px);margin:18px 0;overflow:hidden;border:1px solid #29465e;border-radius:12px;background:#04101b}
.generated-preview img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain}
.image-dialog-note{margin:0 0 14px;color:#8ba0b3;font-size:.8rem;line-height:1.5}
.image-dialog-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}
.image-dialog-actions a,.image-dialog-actions button{min-height:46px;display:flex;align-items:center;justify-content:center;border:1px solid #35516a;border-radius:8px;background:#10263d;color:#fff;padding:0 14px;text-align:center;font-size:.78rem;font-weight:900}
.share-actions #retry-registration{flex-basis:100%;border-color:#5d4930;color:#ffd17c}
.image-dialog-actions .save-ticket{border-color:var(--lime);background:var(--lime);color:#06111f}
.image-dialog-actions #whatsapp-share{border-color:#2fc86f;color:#7ff0aa}
@media(max-width:650px){.image-dialog{max-height:calc(100vh - 16px)}.image-dialog-card{padding:16px}.generated-preview{height:51vh}.image-dialog-actions{grid-template-columns:1fr 1fr}.image-dialog-actions .save-ticket{grid-column:1/-1}}
.match-nav{display:flex;align-items:center;gap:24px}.match-nav>a{color:#a9b8c6;font-size:.9rem;font-weight:700}.match-nav>a:hover,.match-nav>a:focus-visible{color:var(--lime)}
.sport-select-wrap{position:relative}.sport-select-wrap>i{position:absolute;left:8px;top:50%;z-index:1;width:38px;height:38px;display:grid;place-items:center;transform:translateY(-50%);border:1px solid #294761;border-radius:7px;background:#10263d;font-size:1.25rem;font-style:normal;pointer-events:none}.sport-select-wrap select{padding-left:56px;transition:border-color .2s,box-shadow .2s}.sport-select-wrap:focus-within>i{border-color:var(--lime);box-shadow:0 0 0 3px rgba(184,255,40,.08)}
@media(max-width:560px){.match-nav{gap:14px}.match-nav>a{font-size:.78rem}.match-nav .back-home{font-size:0}}
.score-divider span{line-height:1}
@media(max-width:820px){.score-divider{position:relative;width:100%;height:64px;margin:0;justify-self:stretch;font-size:1.6rem}.score-divider:before{content:"";position:absolute;left:7%;right:7%;height:1px;background:#29445f}.score-divider span{position:relative;z-index:1;width:46px;height:46px;display:grid;place-items:center;border:1px solid #36516b;border-radius:50%;background:#091a2a;color:#71899d}}
.result-actions button:disabled{opacity:.55;cursor:wait}
body.is-playing{overflow:hidden}
body.is-playing .match-page{height:100vh;height:100svh;min-height:0;overflow:hidden}
body.is-playing .match-topbar,body.is-playing .progress{display:none}
body.is-playing .score-view{height:100vh;height:100svh;padding:clamp(8px,1.5vh,18px) 0 max(8px,env(safe-area-inset-bottom));display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:clamp(6px,1vh,12px)}
body.is-playing .score-toolbar{margin:0;padding:0 8px}
body.is-playing .score-arena{height:100%;min-height:0}
body.is-playing .score-side{min-height:0;padding-block:clamp(12px,3vh,32px)}
body.is-playing .score-side h2{margin:clamp(5px,1.2vh,12px) 0 clamp(8px,2vh,20px)}
body.is-playing .points{font-size:clamp(5rem,18vh,12rem)}
body.is-playing .point-actions{margin-top:clamp(12px,3vh,32px)}
body.is-playing .score-controls{margin-top:0}
body.is-focus-mode .score-toolbar{display:none}
body.is-focus-mode .score-view{grid-template-rows:minmax(0,1fr) auto}
@media(max-width:820px){body.is-playing .score-arena{grid-template-rows:minmax(0,1fr) 42px minmax(0,1fr)}body.is-playing .score-side{padding:clamp(7px,1.4vh,14px) 12px}body.is-playing .score-side h2{margin:4px 0 7px;font-size:clamp(1rem,5vw,1.45rem)}body.is-playing .points{font-size:clamp(4rem,14vh,7rem)}body.is-playing .point-actions{margin-top:clamp(7px,1.4vh,12px)}body.is-playing .point-actions button{height:clamp(40px,6vh,48px)}body.is-playing .score-divider{height:42px}body.is-playing .score-divider span{width:36px;height:36px}body.is-playing .score-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}body.is-playing .score-controls button,body.is-playing .score-controls .finish-button{width:100%;height:44px;margin:0;padding:0 5px;white-space:nowrap;font-size:clamp(.64rem,3vw,.78rem)}}
@media(max-height:620px){body.is-playing .score-toolbar{font-size:.85rem}body.is-playing .score-side .side-label{font-size:.6rem}body.is-playing .points{font-size:clamp(3.6rem,13vh,6rem)}body.is-playing .point-actions button{height:38px}body.is-playing .score-controls button,body.is-playing .score-controls .finish-button{height:40px}}
.tournament-fields{margin-bottom:17px;padding:16px;border:1px solid #294761;border-radius:10px;background:rgba(7,21,34,.72)}.tournament-fields-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}.tournament-fields-head>div{display:flex;flex-direction:column;gap:3px}.tournament-fields-head strong{font-size:.72rem;letter-spacing:.09em}.tournament-fields-head small,.tournament-fields>p{color:#7890a5;font-size:.72rem}.tournament-fields-head button{height:36px;border:1px solid #41617d;border-radius:7px;background:#10263d;color:var(--lime);padding:0 12px;font-size:.72rem;font-weight:900}.participant-list{display:grid;grid-template-columns:1fr 1fr;gap:9px}.participant-list label{display:flex;align-items:center;border:1px solid #294761;border-radius:8px;background:#071522}.participant-list label>span{width:38px;text-align:center;color:var(--lime);font-size:.72rem;font-weight:900}.participant-list input{width:calc(100% - 38px);height:44px;border:0;background:transparent;color:#fff;padding:0 10px;outline:0}.tournament-fields>p{margin:11px 0 0;line-height:1.4}@media(max-width:560px){.participant-list{grid-template-columns:1fr}}
