.tournament-page{--tournament-red:#ff5757;--tournament-green:#53d98d;--tournament-blue:#63a8ff}.tournament-hero{position:relative;overflow:hidden}.tournament-hero::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 50% 25%,rgba(242,194,58,.13),transparent 42%);pointer-events:none}.tournament-claim{font-size:clamp(1.15rem,2vw,1.45rem)!important;font-weight:800;color:var(--gold)!important;letter-spacing:.02em}.tournament-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}.tournament-summary-card{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:13px;align-items:center;padding:18px}.tournament-summary-card>span{grid-row:1/3;display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:rgba(242,194,58,.1);font-size:21px}.tournament-summary-card strong{font-size:1.7rem;line-height:1;color:#fff}.tournament-summary-card small{color:var(--muted);margin-top:5px}.tournament-summary-card.is-loading span,.tournament-summary-card.is-loading strong{color:transparent;background:linear-gradient(90deg,rgba(255,255,255,.04),rgba(255,255,255,.1),rgba(255,255,255,.04));background-size:200% 100%;animation:dhv-shimmer 1.4s infinite}.tournament-explorer{padding:22px}.tournament-explorer-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-end;padding-bottom:18px;border-bottom:1px solid rgba(255,255,255,.07)}.tournament-explorer-head h2{margin:8px 0 5px}.tournament-updated{font-size:.8rem;color:var(--muted);white-space:nowrap}.tournament-tabs{display:flex;gap:8px;overflow-x:auto;padding:18px 0 8px;scrollbar-width:none}.tournament-tabs::-webkit-scrollbar{display:none}.tournament-tabs button{display:inline-flex;align-items:center;gap:8px;flex:0 0 auto;padding:10px 14px;border:1px solid rgba(255,255,255,.08);border-radius:999px;background:rgba(255,255,255,.025);color:var(--muted);font:inherit;font-size:.82rem;font-weight:800;cursor:pointer;transition:.22s ease}.tournament-tabs button span{display:grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:rgba(255,255,255,.06);font-size:.72rem}.tournament-tabs button:hover,.tournament-tabs button.is-active{color:#111;background:var(--gold);border-color:var(--gold);transform:translateY(-1px)}.tournament-tabs button.is-active span{background:rgba(0,0,0,.14)}.tournament-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding-top:14px}.tournament-card{position:relative;overflow:hidden;padding:0;transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease}.tournament-card::before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:var(--gold)}.tournament-card.tournament-status-active::before{background:var(--tournament-red)}.tournament-card.tournament-status-signup::before{background:var(--tournament-green)}.tournament-card.tournament-status-finished::before{background:var(--gold)}.tournament-card:hover,.tournament-card.is-highlighted{transform:translateY(-4px);border-color:rgba(242,194,58,.35);box-shadow:0 20px 55px rgba(0,0,0,.34)}.tournament-card.is-highlighted{animation:tournament-highlight 1.5s ease 2}.tournament-card-head{display:flex;justify-content:space-between;gap:15px;padding:20px 20px 15px}.tournament-card-head h3{margin:7px 0 0;font-size:1.05rem}.tournament-mode{display:inline-flex;padding:5px 8px;border-radius:7px;background:rgba(242,194,58,.09);color:var(--gold);font-size:.72rem;font-weight:900;letter-spacing:.08em}.tournament-status{display:inline-flex;align-items:center;gap:6px;align-self:flex-start;padding:7px 9px;border-radius:999px;background:rgba(255,255,255,.045);color:var(--muted);font-size:.72rem;font-weight:800;white-space:nowrap}.tournament-status i{width:7px;height:7px;border-radius:50%;background:var(--muted)}.tournament-status-active .tournament-status i{background:var(--tournament-red);box-shadow:0 0 0 5px rgba(255,87,87,.1);animation:tournament-pulse 1.8s infinite}.tournament-status-signup .tournament-status i{background:var(--tournament-green)}.tournament-status-finished .tournament-status i{background:var(--gold)}.tournament-card-body{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:rgba(255,255,255,.055);border-top:1px solid rgba(255,255,255,.055);border-bottom:1px solid rgba(255,255,255,.055)}.tournament-card-stat{padding:14px 16px;background:#15151b}.tournament-card-stat span,.tournament-card-stat strong{display:block}.tournament-card-stat span{color:var(--muted);font-size:.7rem}.tournament-card-stat strong{margin-top:5px;font-size:.88rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tournament-capacity{height:4px;background:rgba(255,255,255,.05)}.tournament-capacity span{display:block;width:var(--value);height:100%;background:linear-gradient(90deg,var(--gold),#ffe27b);transition:width .5s ease}.tournament-card-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:15px 18px}.tournament-card-foot small{color:var(--muted);font-size:.68rem}.tournament-card-foot .btn{padding:9px 12px}.tournament-loading{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding-top:14px}.tournament-skeleton{min-height:295px;border-radius:18px;border:1px solid rgba(255,255,255,.06);background:linear-gradient(90deg,rgba(255,255,255,.025),rgba(255,255,255,.075),rgba(255,255,255,.025));background-size:200% 100%;animation:dhv-shimmer 1.4s infinite}.tournament-empty{margin-top:14px;padding:55px 20px}.tournament-empty>span{display:block;font-size:2.4rem;margin-bottom:12px}@keyframes tournament-pulse{50%{box-shadow:0 0 0 9px rgba(255,87,87,0)}}@keyframes tournament-highlight{50%{box-shadow:0 0 0 4px rgba(242,194,58,.14),0 20px 55px rgba(0,0,0,.4)}}@keyframes dhv-shimmer{to{background-position:-200% 0}}@media(max-width:1050px){.tournament-grid,.tournament-loading{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.tournament-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.tournament-explorer{padding:16px}.tournament-explorer-head{align-items:flex-start;flex-direction:column}.tournament-grid,.tournament-loading{grid-template-columns:1fr}.tournament-card-head{padding:18px 16px 14px}.tournament-card-foot{padding:14px 16px}.tournament-card-body{grid-template-columns:1fr 1fr}}@media(max-width:420px){.tournament-summary{grid-template-columns:1fr 1fr;gap:10px}.tournament-summary-card{padding:14px;column-gap:10px}.tournament-summary-card>span{width:38px;height:38px}.tournament-summary-card strong{font-size:1.35rem}.tournament-card-body{grid-template-columns:1fr}.tournament-tabs{margin-right:-16px;padding-right:16px}}

/* v2.3.1 – Tournament detail & platform cleanup */
.tournament-detail[hidden]{display:none!important}.tournament-back{appearance:none;border:0;background:transparent;color:var(--gold);font:inherit;font-weight:800;cursor:pointer;margin:0 0 16px;padding:0}.tournament-back:hover{color:#fff}.tournament-detail-loading{display:grid;gap:14px}.tournament-detail-skeleton{height:250px;border-radius:22px;background:linear-gradient(90deg,rgba(255,255,255,.035),rgba(255,255,255,.095),rgba(255,255,255,.035));background-size:200% 100%;animation:dhv-shimmer 1.4s infinite}.tournament-detail-skeleton.short{height:120px}.tournament-detail-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,320px);gap:22px;padding:30px;position:relative;overflow:hidden}.tournament-detail-hero::after{content:"";position:absolute;inset:auto -8% -55% 38%;height:280px;background:radial-gradient(circle,rgba(242,194,58,.16),transparent 68%);pointer-events:none}.tournament-detail-hero-main{position:relative;z-index:1}.tournament-detail-hero h1{margin:14px 0 8px;font-size:clamp(2rem,4vw,3.5rem);line-height:1.05}.tournament-detail-hero p{max-width:760px;color:var(--muted);font-size:1rem}.tournament-detail-meta{display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:18px;color:var(--muted);font-size:.9rem}.tournament-champion{position:relative;z-index:1;align-self:stretch;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:210px;padding:22px;border-radius:20px;border:1px solid rgba(242,194,58,.22);background:linear-gradient(180deg,rgba(242,194,58,.12),rgba(255,255,255,.025))}.tournament-champion>span{font-size:42px}.tournament-champion small{margin-top:8px;color:var(--muted);text-transform:uppercase;letter-spacing:.12em}.tournament-champion strong{margin-top:7px;color:#fff;font-size:1.35rem}.tournament-champion a{color:inherit}.tournament-detail-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:16px 0}.tournament-detail-stat{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:12px;align-items:center;padding:18px}.tournament-detail-stat>span{grid-row:1/3;display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:rgba(242,194,58,.1)}.tournament-detail-stat small{color:var(--muted)}.tournament-detail-stat strong{color:#fff;margin-top:3px}.tournament-detail-grid{display:grid;gap:16px}.tournament-detail-panel{padding:24px}.tournament-detail-panel .section-heading{margin-bottom:18px}.tournament-detail-panel .section-heading h2{margin:7px 0 0}.tournament-participants{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.tournament-participant{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:14px;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.06)}.tournament-participant>span{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:rgba(242,194,58,.11);color:var(--gold);font-size:.75rem;font-weight:900}.tournament-participant a{color:#fff}.tournament-match-list{display:grid;gap:10px}.tournament-match{padding:14px 16px;border-radius:16px;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.06)}.tournament-match-meta{display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:.76rem;margin-bottom:10px}.tournament-match-row{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:14px;align-items:center;text-align:center}.tournament-match-row strong:first-child{text-align:right}.tournament-match-row strong:last-child{text-align:left}.tournament-match-row b{color:var(--gold);font-size:1.05rem}.tournament-match-row .is-winner{color:#fff;text-shadow:0 0 18px rgba(242,194,58,.28)}.tournament-match-row a{color:inherit}.tournament-rounds{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.tournament-round{padding:16px;border-radius:16px;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.06)}.tournament-round h3{margin:0 0 7px;font-size:1rem}.tournament-round strong{color:var(--muted);font-size:.8rem}.tournament-card-foot{justify-content:flex-end}.tournament-card-foot small{display:none}.tournament-card-foot .btn{border:0;cursor:pointer}
@media(max-width:900px){.tournament-detail-hero{grid-template-columns:1fr}.tournament-champion{min-height:160px}.tournament-detail-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.tournament-participants{grid-template-columns:repeat(2,minmax(0,1fr))}.tournament-rounds{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.tournament-detail-hero{padding:20px}.tournament-detail-stats{grid-template-columns:1fr 1fr}.tournament-participants{grid-template-columns:1fr}.tournament-match-row{grid-template-columns:1fr;gap:6px}.tournament-match-row strong:first-child,.tournament-match-row strong:last-child{text-align:center}.tournament-match-meta{align-items:flex-start;flex-direction:column}.tournament-rounds{grid-template-columns:1fr}.tournament-detail-panel{padding:18px}}

/* v2.3.2 – Tournament Center Build 3 */
.tournament-countdown{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 20px 16px;padding:11px 13px;border:1px solid rgba(83,217,141,.18);border-radius:13px;background:rgba(83,217,141,.07)}
.tournament-countdown span{color:var(--muted);font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.tournament-countdown strong{color:#fff}.tournament-countdown.is-compact{margin-top:-2px}
.tournament-detail-hero .tournament-countdown{max-width:340px;margin:20px 0 0}
.tournament-champions{margin-top:20px}.tournament-champions[hidden]{display:none!important}.tournament-champions-head{margin-bottom:14px}.tournament-champions-head h2{margin:7px 0 0}.tournament-champions-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.champion-card{display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:14px;padding:18px;position:relative;overflow:hidden}.champion-card::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:rgba(242,194,58,.45)}.champion-card.is-leading{grid-column:span 2;border-color:rgba(242,194,58,.32);background:linear-gradient(135deg,rgba(242,194,58,.11),rgba(255,255,255,.025))}.champion-card.is-leading::before{width:4px;background:var(--gold)}.champion-rank{display:grid;place-items:center;min-width:34px;height:34px;border-radius:11px;background:rgba(242,194,58,.1);color:var(--gold);font-size:.76rem;font-weight:900}.champion-avatar{width:54px;height:54px;border-radius:17px;overflow:hidden;background:rgba(255,255,255,.05);display:grid;place-items:center;font-weight:900}.champion-avatar img{width:100%;height:100%;object-fit:cover}.champion-copy{min-width:0}.champion-copy small,.champion-copy span{display:block;color:var(--muted)}.champion-copy small{text-transform:uppercase;letter-spacing:.09em;font-size:.68rem;font-weight:900}.champion-copy h3{margin:4px 0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.champion-copy h3 a{color:#fff}.champion-copy strong{color:var(--gold)}.champion-copy span{font-size:.72rem;margin-top:3px}
.tournament-detail-stats{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}
@media(max-width:900px){.tournament-champions-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.champion-card.is-leading{grid-column:span 2}}
@media(max-width:620px){.tournament-champions-grid{grid-template-columns:1fr}.champion-card.is-leading{grid-column:auto}.champion-card{grid-template-columns:auto auto minmax(0,1fr)}.tournament-countdown{margin-left:16px;margin-right:16px}}

.tournament-page :where(.card,.tournament-summary-card,.tournament-explorer,.tournament-tabs button,.tournament-tabs button span,.tournament-card,.tournament-mode,.tournament-status,.tournament-loading,.tournament-skeleton,.tournament-empty,.tournament-detail-skeleton,.tournament-detail-hero,.tournament-champion,.tournament-detail-stat,.tournament-detail-stat>span,.tournament-detail-panel,.tournament-participant,.tournament-participant>span,.tournament-match,.tournament-round,.tournament-countdown,.champion-card,.champion-rank,.champion-avatar){border-radius:var(--dhv-radius,var(--radius,16px))}

/* 4.1.5 - Tournament Bracket Recovery */
.tournament-bracket-panel{overflow:hidden;padding-right:0}.tournament-bracket-panel>.section-heading{padding-right:24px}.tournament-bracket-scroll{overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-color:rgba(242,194,58,.5) rgba(255,255,255,.04);scrollbar-width:thin;-webkit-overflow-scrolling:touch;padding:2px 24px 16px 0}.tournament-bracket-scroll:focus-visible{outline:2px solid var(--gold);outline-offset:-2px}.tournament-rounds{display:flex;align-items:stretch;gap:18px;width:max-content;min-width:100%}.tournament-round{display:flex;flex:0 0 264px;flex-direction:column;padding:0;border:0;background:transparent}.tournament-round>header{min-height:58px;padding:0 2px 12px;border-bottom:1px solid rgba(255,255,255,.08)}.tournament-round>header h3{margin:0 0 5px;font-size:1rem}.tournament-round>header span{color:var(--muted);font-size:.76rem;font-weight:800}.tournament-round-matches{display:flex;flex:1;flex-direction:column;justify-content:space-around;gap:16px;min-height:calc(var(--bracket-match-count,1) * 116px);padding-top:14px}.tournament-bracket-match{overflow:hidden;min-height:96px;border:1px solid rgba(255,255,255,.08);border-radius:var(--dhv-radius,var(--radius,16px));background:rgba(255,255,255,.025)}.tournament-bracket-match>header{padding:7px 10px;border-bottom:1px solid rgba(255,255,255,.06);color:var(--muted);font-size:.68rem;font-weight:900;text-transform:uppercase}.tournament-bracket-players{display:grid}.tournament-bracket-player{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:9px;min-height:43px;padding:7px 10px;color:#fff;border-left:3px solid transparent}.tournament-bracket-player+.tournament-bracket-player{border-top:1px solid rgba(255,255,255,.05)}.tournament-bracket-player:hover{background:rgba(255,255,255,.035)}.tournament-bracket-player.is-winner{border-left-color:var(--gold);background:rgba(242,194,58,.08)}.tournament-bracket-player.is-bye{grid-template-columns:minmax(0,1fr);color:var(--muted);font-style:italic}.tournament-bracket-avatar{display:grid;place-items:center;width:30px;height:30px;overflow:hidden;border-radius:50%;background:rgba(255,255,255,.05);font-size:.68rem;font-weight:900}.tournament-bracket-avatar img{display:block;width:100%;height:100%;object-fit:cover}.tournament-bracket-player-copy{min-width:0}.tournament-bracket-player-copy strong,.tournament-bracket-player-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tournament-bracket-player-copy strong{font-size:.8rem}.tournament-bracket-player-copy small{margin-top:1px;color:var(--muted);font-size:.62rem}.tournament-bracket-player b{min-width:20px;color:var(--gold);font-size:.9rem;text-align:right}.tournament-bye{color:var(--muted);font-style:italic}.tournament-page :where(.tournament-bracket-match,.tournament-bracket-avatar){border-radius:var(--dhv-radius,var(--radius,16px))}
@media(max-width:620px){.tournament-bracket-panel{padding-right:0}.tournament-bracket-panel>.section-heading{padding-right:18px}.tournament-bracket-scroll{padding-right:18px}.tournament-rounds{display:flex}.tournament-round{flex-basis:248px}}

/* 4.3.1 - Loader visibility recovery */
.tournament-loading[hidden],.tournament-detail-loading[hidden]{display:none!important}
