.tournament-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:end}.tournament-operation .panel{margin:20px 0;padding:24px}.tournament-operation form{display:flex;flex-wrap:wrap;gap:16px;margin:18px 0}.tournament-operation .field{flex:1;min-width:180px}.tournament-roster{max-height:420px;overflow:auto}.tournament-roster article{display:flex;align-items:center;gap:8px;padding:10px;border-bottom:1px solid #ccd9d9}.tournament-roster strong{flex:1;overflow-wrap:anywhere}.tournament-preview{margin-top:24px;padding:22px;border-radius:20px;background:#07191f;color:#fff}.tournament-result-list,.tournament-matches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.tournament-match{padding:14px;border:1px solid #8ba9a955;border-radius:16px;background:#ffffff08;break-inside:avoid;min-width:0}.tournament-match>small{opacity:.65}.tournament-team{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:10px 8px;border-radius:8px;min-width:0}.tournament-team span{overflow-wrap:anywhere}.tournament-team.is-winner{background:#bff251;color:#07191f;font-weight:800}.tournament-team .btn{flex-shrink:0}.tournament-groups{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.tournament-group{border:1px solid #ffffff30;border-radius:18px;padding:18px;background:#ffffff08}.tournament-group h2{border-bottom:2px solid #bff251;padding-bottom:12px}.tournament-arena{max-width:1100px;margin:auto;text-align:center;padding:30px}.tournament-arena .tournament-team{font-size:clamp(20px,3.5vw,64px);padding:24px}.tournament-champion{padding:20px;text-align:center;font-size:clamp(22px,3vw,48px);color:#bff251}.tournament-waiting{text-align:center;padding:24px}.tournament-emblem{display:block;font-size:70px;color:#bff251}.tournament-live{height:100dvh;overflow:hidden;background:#07191f;color:white;display:flex;flex-direction:column}.tournament-stage{position:relative;z-index:1;flex:1;min-height:0;padding:1vh 3vw 3vh;overflow:auto}.tournament-stage>h1{font-size:clamp(24px,3vw,48px);margin:0 0 16px}.tournament-live .tournament-match{font-size:clamp(15px,1.65vw,29px);padding:1vh 1vw}.tournament-live .tournament-matches{gap:1.4vh}.tournament-live .tournament-team{padding:.7vh .6vw}.tournament-live .tournament-group{font-size:clamp(14px,1.65vw,27px)}.tournament-qr{display:flex;justify-content:center;align-items:center;gap:28px}.tournament-qr svg,.tournament-qr img{width:min(25vh,230px);height:auto;background:white;padding:8px;border-radius:12px}.tournament-reveal{display:flex;gap:20px;align-items:center;background:#bff251;color:#07191f;padding:14px 24px;border-radius:16px;margin-bottom:20px}.tournament-reveal strong{font-size:clamp(20px,2.4vw,40px)}.tournament-enter-slide{animation:tournament-slide .65s ease both}.tournament-enter-focus{animation:tournament-focus .8s ease both}.tournament-enter-curtain{animation:tournament-curtain .8s ease both}@keyframes tournament-slide{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:translateY(0)}}@keyframes tournament-focus{from{opacity:0;filter:blur(10px);transform:scale(.96)}to{opacity:1;filter:blur(0);transform:scale(1)}}@keyframes tournament-curtain{from{clip-path:inset(0 50%)}to{clip-path:inset(0 0)}}@media(max-width:760px){.tournament-result-list,.tournament-matches,.tournament-groups{grid-template-columns:1fr}.tournament-team{flex-wrap:wrap}.tournament-live .tournament-groups{grid-template-columns:repeat(2,minmax(0,1fr))}.tournament-live .tournament-matches{grid-template-columns:repeat(2,minmax(0,1fr))}.tournament-operation .panel{padding:16px}.tournament-reveal{flex-direction:column;gap:4px}}@media(prefers-reduced-motion:reduce){.tournament-stage{animation:none!important}}

.tournament-live{font-family:Manrope,Arial,sans-serif}.tournament-columns{display:grid;grid-template-columns:repeat(var(--rounds,3),minmax(0,1fr));gap:28px}.tournament-round{display:flex;flex-direction:column;min-width:0}.tournament-round-list{flex:1;display:flex;flex-direction:column;justify-content:space-around;gap:12px}.tournament-round:not(:last-child) .tournament-match{position:relative}.tournament-round:not(:last-child) .tournament-match:after{content:"";position:absolute;top:50%;right:-29px;width:28px;border-top:2px solid #bff25180}.tournament-columns h3{font-size:20px}.tournament-columns .tournament-team{font-size:clamp(14px,1.25vw,24px)}

.tournament-live .live-head{flex:0 0 auto;min-height:65px;max-height:100px;position:relative;z-index:2}.tournament-live .live-head img{width:220px;max-height:65px;object-fit:contain}.tournament-live .tournament-columns .tournament-match{padding:8px 12px}.tournament-live .tournament-columns .tournament-match>small{font-size:15px}.tournament-live .tournament-columns .tournament-team{padding:6px 8px}.tournament-stage h1,.tournament-stage h2,.tournament-stage h3{font-family:Manrope,Arial,sans-serif}

.tournament-live .tournament-team>span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.2}.tournament-live .tournament-reveal strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:75vw}@media(max-height:800px){.tournament-live .live-head{min-height:40px;max-height:55px}.tournament-live .live-head img{max-height:40px;width:170px}.tournament-stage>h1{font-size:26px;margin-bottom:10px}.tournament-live .tournament-columns .tournament-team{font-size:15px;padding:3px}.tournament-live .tournament-columns .tournament-match{padding:5px 8px}.tournament-live .tournament-columns .tournament-match>small{font-size:11px}.tournament-columns h3{font-size:16px;margin:8px 0}.tournament-champion{font-size:24px;padding:10px}.tournament-reveal{margin-bottom:8px;padding:8px}}

#tournamentFormat fieldset{display:flex;flex-wrap:wrap;gap:16px;border:0;padding:0;width:100%;min-width:0}.tournament-third-option input{width:auto}.tournament-bronze{max-width:420px;margin:14px auto}.tournament-bronze h3{font-size:16px}.tournament-bronze strong{display:block;text-align:center;padding:8px}.tournament-mirror-scroll{max-height:68vh;overflow:auto;overscroll-behavior:contain;padding:6px}.tournament-mirrored{display:grid;grid-template-columns:repeat(var(--mirror-columns),minmax(145px,1fr));gap:18px;min-height:var(--mirror-height);min-width:calc(var(--mirror-columns)*163px - 18px)}.tournament-mirror-round{display:flex;flex-direction:column;min-width:0}.tournament-mirror-round>div{display:flex;flex:1;flex-direction:column;justify-content:space-around;gap:12px}.tournament-mirror-round h3,.tournament-mirror-final>h3{text-align:center;font-size:16px}.tournament-mirror-final{display:flex;flex-direction:column;justify-content:center;min-width:0}.tournament-mirrored .tournament-match{position:relative;padding:8px}.tournament-mirrored .tournament-team{padding:5px;gap:5px;font-size:clamp(13px,1vw,19px)}.tournament-mirrored .tournament-match>small{font-size:11px}.tournament-mirror-round .tournament-match:after{content:'';position:absolute;top:50%;width:18px;border-top:2px solid #bff25180}.tournament-mirror-round.is-left .tournament-match:after{right:-19px}.tournament-mirror-round.is-right .tournament-match:after{left:-19px}.tournament-mirrored .tournament-champion{font-size:20px;padding:10px}.tournament-mirrored .tournament-bronze{width:100%}.tournament-live .tournament-mirrored .tournament-match{padding:6px}.tournament-live .tournament-mirrored .tournament-team{font-size:clamp(13px,1vw,19px);padding:5px}.tournament-live .tournament-mirrored .tournament-match>small{font-size:11px}

.tournament-columns .tournament-bronze{width:100%;max-width:none;margin:0}.tournament-columns .tournament-bronze .tournament-match:after{display:none}.tournament-live .tournament-columns .tournament-bronze .tournament-team{font-size:clamp(14px,1.25vw,24px)}

.tournament-mirror-final{justify-content:flex-start}.tournament-final-path{flex:1;position:relative;display:flex;align-items:center;min-height:0}.tournament-final-path>.tournament-match{width:100%}.tournament-final-path>.tournament-champion{position:absolute;top:calc(50% + 48px);width:100%;padding:6px;font-size:16px}.tournament-final-path>.tournament-bronze{position:absolute;top:calc(50% + 82px);margin:0}.tournament-final-path>.tournament-bronze h3{margin:0 0 8px}.tournament-final-path>.tournament-bronze strong{padding:4px;font-size:13px}

.tournament-mirrored{position:relative}.tournament-connectors{position:absolute;inset:0;pointer-events:none;overflow:visible}.tournament-connectors path{fill:none;stroke:#bff25180;stroke-width:2}.tournament-mirror-round .tournament-match:after{display:none}.tournament-mirrored .tournament-match{background:#0d2026;z-index:1}

.tournament-mirrored.has-bronze{min-height:max(var(--mirror-height),540px)}@media(max-height:800px){.tournament-mirrored.has-bronze{min-height:max(var(--mirror-height),460px)}}
