.championship-page { background:#214d92; color:#fff; font-family:Nunito,sans-serif; }
.championship-topbar { display:flex; justify-content:space-between; align-items:center; padding:15px max(24px,calc((100vw - 1150px)/2)); background:#03112f; gap:20px; }
.championship-topbar img { width:150px; max-height:55px; object-fit:contain; }
.championship-topbar a { color:#fff; font-weight:900; text-decoration:none; }
.tournament-container { max-width:1100px; margin:auto; width:calc(100% - 48px); }
.tournament-band { position:relative; padding:74px 0 84px; margin-bottom:45px; isolation:isolate; }
.tournament-band:after { content:""; position:absolute; bottom:-14px; left:0; right:0; height:30px; background:inherit; clip-path:polygon(0 0,55% 0,53% 100%,0 100%); z-index:-1; }
.tournament-orange { background:#ff9d25; background-image:var(--tournament-pattern,url('img/skull-pattern.png')),linear-gradient(110deg,#ef7a1c,#ffcc3d,#ef7a1c); background-size:230px auto,cover; }
.tournament-blue { background:repeating-conic-gradient(from 15deg at 45% 50%,#ffffff05 0deg 25deg,transparent 25deg 50deg),radial-gradient(at 50% 45%,#199bec,#0754d5); }
.tournament-red { background:radial-gradient(at 55% 45%,#ef5131,#630816); }
.tournament-purple { background:repeating-conic-gradient(from 10deg at 55% 55%,#ffffff05 0deg 30deg,transparent 30deg 60deg),radial-gradient(at 50% 45%,#b735f4,#6011e6); }
.tournament-band h1,.tournament-band h2,.tournament-prize-total { font-family:Nunito,sans-serif; font-weight:900; text-transform:uppercase; line-height:1.12; color:white; -webkit-text-stroke:3px #071124; paint-order:stroke fill; text-shadow:3px 4px #071124; letter-spacing:-1px; }
.tournament-band h2 { font-size:clamp(30px,4.2vw,50px); margin:0 0 40px; text-align:center; }
.tournament-hero { display:grid; grid-template-columns:220px 1fr 220px; gap:22px; position:relative; border:3px solid #111; border-radius:14px; background:linear-gradient(#ffc43c,#f27c22); box-shadow:0 5px 0 #0003; padding:28px; align-items:center; text-align:center; }
.tournament-hero h1 { font-size:clamp(27px,3.6vw,43px); margin:8px 0 15px; }
.tournament-logo { width:100%; max-height:220px; object-fit:contain; }
.tournament-character { width:100%; height:300px; object-fit:contain; transform:scale(1.16); transform-origin:bottom; }
.tournament-hero-copy>p { color:#111; font-size:14px; font-weight:900; line-height:1.45; }
.tournament-eyebrow { font-size:11px!important; letter-spacing:1px; }
.tournament-cta { display:inline-flex; justify-content:center; align-items:center; gap:8px; min-height:42px; padding:10px 23px; border:2px solid #111; border-radius:7px; background:#fff; color:#111; font:900 13px Nunito,sans-serif; text-decoration:none; cursor:pointer; }
.tournament-hero .tournament-cta { border:0; border-radius:30px; margin-top:12px; }
.tournament-cta:disabled { opacity:.65; cursor:default; }
.tournament-cta:hover:not(:disabled) { background:#ffd128; }
.tournament-calendar-layout { display:grid; grid-template-columns:320px 1fr; gap:52px; align-items:center; }
.tournament-calendar { background:#efefef; color:#171717; border:3px solid #101010; border-radius:12px; padding:20px 14px 14px; box-shadow:0 -12px 0 #292733; }
.calendar-bar { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:18px; }
.calendar-bar h3 { font-size:20px; text-transform:capitalize; margin:0; }
.calendar-bar button { width:30px; height:30px; padding:0; border:2px solid #333; border-radius:50%; background:white; font-size:26px; cursor:pointer; line-height:1; }
.calendar-weekdays,.calendar-days { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:4px; }
.calendar-weekdays { margin-bottom:10px; font-size:11px; text-align:center; }
.calendar-days button,.calendar-days>span { border:0; border-radius:4px; min-height:32px; background:#fff; color:#222; font-weight:900; display:grid; place-items:center; }
.calendar-days button { cursor:pointer; outline-offset:2px; }
.calendar-days button:disabled { cursor:default; }
.calendar-days>span { background:transparent; }
.calendar-days .event-day { background:var(--event-color,#fa2b61); border:2px solid #111; box-shadow:2px 2px #111; }
.calendar-days .today { outline:2px solid #1757db; }
.tournament-calendar>p { font-size:10px; text-align:center; color:#555; margin:14px 0 0; }
.tournament-phases { display:grid; gap:14px; }
.tournament-phase { display:block; padding:13px 16px; background:var(--phase-color,#ffb737); color:white; border:3px solid #111; box-shadow:5px 5px #111; font-family:Nunito,sans-serif; font-weight:900; font-size:clamp(17px,2.3vw,27px); text-transform:uppercase; -webkit-text-stroke:2px #111; paint-order:stroke fill; text-shadow:2px 2px #111; }
.tournament-phase small { display:block; font-family:Nunito,sans-serif; font-size:12px; -webkit-text-stroke:0; text-shadow:none; color:#111; font-weight:900; margin-top:5px; }
.tournament-prize-layout { display:grid; grid-template-columns:1fr 1fr; gap:70px; align-items:center; text-align:center; }
.tournament-prize-layout h2 { color:#ffb737; margin-bottom:22px; }
.tournament-prize-total { font-size:clamp(34px,4vw,50px); margin:0 0 20px; }
.tournament-prize-layout>img { width:100%; max-height:330px; object-fit:contain; }
.tournament-prize-layout p { color:#ffde38; font-weight:900; }
.tournament-prize-line { font-family:Anton,sans-serif; font-size:28px; margin:12px 0; text-shadow:2px 2px #000; }
.tournament-prize-line small { display:block; font:800 13px Nunito,sans-serif; color:#ffd128; }
.tournament-live-layout { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:50px; }
.tournament-live-layout h2 { text-align:left; font-size:clamp(40px,5vw,65px); margin-bottom:15px; }
.tournament-live-layout p { color:#ffd128; font-size:20px; font-weight:900; text-shadow:2px 2px #000; }
.tournament-streams { display:flex; gap:20px; flex-wrap:wrap; justify-content:center; }
.tournament-stream { width:190px; overflow:hidden; border:3px solid #ffca37; outline:3px solid #111; border-radius:25px; background:#071124; padding:12px; text-align:center; }
.tournament-stream img { width:100%; height:170px; object-fit:cover; border-radius:12px; }
.tournament-stream h3 { font-size:22px; margin:10px 0; }
.tournament-stream .tournament-cta { min-height:28px; padding:5px 15px; background:#ffb737; border:0; border-radius:20px; }
.tournament-support { display:grid; grid-template-columns:1fr 230px; max-width:780px; padding:30px; background:linear-gradient(#46505f,#252e3d); border:3px solid #111; border-radius:12px; text-align:center; gap:20px; }
.tournament-support h2 { font-size:clamp(26px,3vw,38px); margin:14px 0; }
.tournament-support p { font-size:13px; }
.tournament-support>img { height:260px; width:100%; object-fit:contain; transform:scale(1.17); }
.support-chat { border-radius:16px; padding:8px 12px; background:white; border:3px solid #111; color:#111; letter-spacing:3px; }
.tournament-support-links { display:flex; justify-content:center; gap:10px; flex-wrap:wrap; }
.tournament-schedule { margin-top:60px; }
.tournament-table-wrap { overflow:auto; }
.tournament-schedule table { width:100%; border-collapse:collapse; background:#f2f0eb; color:#111; border:3px solid #111; }
.tournament-schedule caption { padding:12px; color:#fff; }
.tournament-schedule th { background:#161e31; color:white; }
.tournament-schedule th,.tournament-schedule td { padding:14px; text-align:left; border-bottom:1px solid #999; }
.tournament-date { background:#ffd128; color:#111; border:2px solid #111; padding:6px 10px; cursor:pointer; font-weight:900; }
.tournament-modal { width:min(1400px,96vw); max-width:96vw; max-height:94dvh; background:#e8e7e3; background-image:var(--tournament-modal-image,none),radial-gradient(#00000010 1px,transparent 1px); background-size:cover,5px 5px; color:#111; border:0; border-top:12px solid #03112f; padding:35px; font-family:monospace; }
.tournament-modal::backdrop,.tournament-login::backdrop { background:#000c; }
.tournament-modal-inner { max-width:1500px; margin:auto; text-align:center; }
.tournament-modal h2,.tournament-modal h3 { text-transform:uppercase; font-family:monospace; font-weight:900; }
.tournament-modal h2 { font-size:clamp(22px,3vw,35px); margin:25px 0; }
.tournament-modal-logo { width:150px; height:90px; object-fit:contain; }
.tournament-close { position:sticky; top:0; float:right; display:grid; place-items:center; margin:-24px -18px 0 14px; padding:0; width:54px; height:54px; background:#fa2b61; border:2px solid #111; border-radius:0; box-shadow:inset 0 2px 0 #ffffff55,2px 2px 0 #111; cursor:pointer; z-index:10; }
.tournament-close img { display:block; width:24px; height:24px; pointer-events:none; }
.tournament-close:hover { background:#ff4776; }
.tournament-close:focus-visible { outline:3px solid #ffd128; outline-offset:3px; }
.match-heading { margin:30px 0 12px; font-size:16px; }
.match-row { width:100%; border:2px solid #111; border-left-width:8px; border-right-width:8px; padding:12px 15px; display:grid; grid-template-columns:1fr auto 1fr; gap:12px; align-items:center; text-align:left; background:#ffffff40; font:900 15px monospace; color:#111; }
button.match-row { cursor:pointer; }
.match-row:hover { background:#fff9; }
.match-row .match-team:last-child { justify-content:flex-end; text-align:right; }
.match-team { display:flex; align-items:center; gap:10px; }
.match-team img { width:28px; height:28px; object-fit:contain; }
.match-score { font-size:23px; white-space:nowrap; background:#fff8; padding:2px 10px; }
.player-team-heading { margin:34px 0 18px; padding-bottom:12px; border-bottom:2px solid #1113; font-size:20px; }
.tournament-players { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-items:start; gap:16px; margin:0 0 44px; text-align:left; }
.tournament-player { min-width:0; color:#111; }
.player-photo { position:relative; padding:12px 12px 0; background:#ffffff65; border:9px solid #ffffffa6; box-shadow:0 4px 12px #0003; }
.player-photo h3 { display:flex; align-items:center; min-height:42px; font-size:clamp(17px,1.7vw,27px); line-height:1.15; margin:0 0 10px; overflow-wrap:anywhere; }
.player-photo>img { display:block; width:100%; height:clamp(260px,26vw,380px); object-fit:cover; object-position:center top; }
.player-photo .player-handle { position:absolute; bottom:-20px; left:50%; transform:translateX(-50%) rotate(-3deg); max-width:calc(100% - 16px); margin:0; padding:5px 12px; background:#f6f5f1; box-shadow:0 2px 4px #0002; color:#111; font:900 15px/1.3 monospace; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.player-stats { border:2px solid #111; margin-top:24px; background:#ffffff18; font-family:monospace; }
.player-stat-group+ .player-stat-group { border-top:2px solid #111; }
.player-stats h4,.player-stats summary { display:flex; align-items:center; justify-content:center; gap:10px; min-height:46px; margin:0; padding:10px 12px; border-bottom:2px solid #111; background:#313131 url('img/championship-dark-paper.svg') center/cover; color:#fff; font:400 18px/1.2 Anton,sans-serif; text-transform:uppercase; letter-spacing:.5px; }
.player-stats summary { cursor:pointer; list-style:none; }
.player-stats summary::-webkit-details-marker { display:none; }
.player-stats summary::after { content:""; width:0; height:0; border-left:6px solid transparent; border-right:6px solid transparent; border-top:7px solid #fff; filter:drop-shadow(0 1px 1px #000); }
.player-stats details[open]>summary::after { border-top:0; border-bottom:7px solid #fff; }
.player-stats details:not([open])>summary { border-bottom:0; }
.player-stat { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,40%); align-items:center; gap:12px; min-height:48px; padding:10px 14px; border-bottom:2px solid #111; font:400 clamp(14px,1.1vw,18px)/1.25 Anton,sans-serif; letter-spacing:.3px; }
.player-stat:last-child { border-bottom:0; }
.player-stat-label { text-transform:uppercase; overflow-wrap:anywhere; }
.player-stat-value { display:flex; align-items:center; justify-content:flex-end; gap:8px; min-width:0; text-align:right; font-variant-numeric:tabular-nums; }
.player-stat-value>span { overflow-wrap:anywhere; }
.player-stat-value img { flex:0 0 auto; width:26px; height:26px; object-fit:contain; }
.player-stat-artwork { min-height:80px; }
.player-stat-artwork .player-stat-value img { width:46px; height:46px; }
.history-entry { margin:12px 0; }
.history-entry>p { color:#555; font-size:12px; margin:5px 0; }
.tournament-modal-note { font-size:12px; margin-top:30px; }
@media(min-width:601px) and (max-width:900px) { .tournament-players { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) { .player-photo>img { height:340px; } .player-stat { font-size:16px; } .player-photo h3 { font-size:23px; } }
.tournament-login { width:min(430px,92vw); background:#fff4ce; color:#111; border:3px solid #111; border-radius:14px; padding:30px; }
.tournament-login h2 { font-family:Anton,sans-serif; font-size:32px; }
.tournament-login label { display:grid; gap:6px; margin:15px 0; font-weight:900; }
.tournament-login input { min-width:0; width:100%; padding:10px; border:2px solid #111; border-radius:6px; font:inherit; }
.championship-page [hidden] { display:none!important; }
@media(max-width:850px) { .tournament-hero { grid-template-columns:150px 1fr; } .tournament-character { display:none; } .tournament-calendar-layout { gap:25px; grid-template-columns:280px 1fr; } .tournament-prize-layout,.tournament-live-layout { gap:28px; } }
@media(max-width:600px) { .tournament-container { width:calc(100% - 32px); } .tournament-band { padding:45px 0 55px; margin-bottom:30px; } .tournament-hero { grid-template-columns:1fr; padding:25px 20px; } .tournament-logo { max-height:135px; } .tournament-calendar-layout,.tournament-prize-layout,.tournament-live-layout,.tournament-support { grid-template-columns:1fr; } .tournament-calendar { width:min(320px,100%); margin:0 auto 20px; } .tournament-live-layout h2 { text-align:center; } .tournament-live-layout>div:last-child { text-align:center; } .tournament-support>img { display:none; } .tournament-modal { padding:25px 15px; } .match-row { font-size:12px; padding:10px 7px; gap:5px; } .match-score { font-size:17px; } .tournament-players { grid-template-columns:1fr; } .tournament-close { margin:-15px 0 0 10px; } .tournament-stream { width:165px; } }
