.tc{--tc-ink:#183e47;--tc-gold:#f4ca69;--tc-green:#28675e;--tc-mist:#eaf2ea;color:var(--tc-ink);max-width:1600px;margin:auto;padding:4px;container-type:inline-size}.tc *{box-sizing:border-box}.tc button,.tc a{touch-action:manipulation}.tc button:disabled{opacity:.45}.tc input[type=checkbox]{accent-color:#23716a;flex-shrink:0;width:20px;height:20px}.tc button:focus-visible{outline-offset:3px;outline:3px solid #b17b18}.tc a:focus-visible{outline-offset:3px;outline:3px solid #b17b18}.tc input:focus-visible{outline-offset:3px;outline:3px solid #b17b18}.tc-bracket-scroll:focus-visible{outline-offset:3px;outline:3px solid #b17b18}.tc-header{color:#fff8e1;background:radial-gradient(at 90% 0,#53734a 0,#0000 50%),linear-gradient(125deg,#123943,#244f49);border:2px solid #557972;border-radius:24px;align-items:center;gap:23px;padding:32px;display:flex;position:relative;overflow:hidden;box-shadow:0 7px #183e4715}.tc-header h1{overflow-wrap:anywhere;margin:7px 0 10px;font-size:clamp(26px,4vw,44px);line-height:1.1}.tc-header p{color:#d6e4d7;margin:0}.tc .tc-eyebrow{letter-spacing:2px;color:#9c721e;font-size:11px;font-weight:850}.tc-header .tc-eyebrow{color:#f5d27e}.tc-header>button{background:#ffffff1c;flex-shrink:0;margin-left:auto}.tc-crest{clip-path:polygon(0 0,100% 0,100% 73%,50% 100%,0 73%);color:#534119;background:linear-gradient(145deg,#ffe8a9,#d6a53e);flex-shrink:0;place-items:center;width:78px;height:86px;display:grid}.tc-crest svg{width:40px;height:40px}.tc-rules{flex-wrap:wrap;justify-content:center;gap:12px 24px;padding:19px 10px;font-size:12px;font-weight:750;display:flex}.tc-rules span{align-items:center;gap:7px;display:flex}.tc-error{background:#fff0e5;border:1px solid #c77941;border-radius:12px;justify-content:space-between;align-items:center;gap:15px;margin:12px 0;padding:14px;display:flex}.tc-setup{background:#fffdf5;border:1px solid #dbddc9;border-radius:22px;grid-template-columns:minmax(220px,.8fr) minmax(300px,1.2fr);gap:30px;padding:30px;display:grid}.tc h2{margin:6px 0 12px;font-size:24px}.tc-setup p,.tc-lane>p,.tc-launch p{color:#5b706d;font-size:13px;line-height:1.7}.tc-setup>div>label{gap:8px;margin:24px 0;font-weight:750;display:grid}.tc-setup input:not([type=checkbox]){background:#fff;border:1px solid #b8c9bf;border-radius:10px;width:100%;padding:12px}.tc-selection-top{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:12px;display:flex}.tc-selection-top button{color:var(--tc-ink);background:#e7eee4;padding:8px 12px;font-size:11px}.tc-roster{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px;max-height:420px;margin-bottom:20px;display:grid;overflow:auto}.tc-roster label{cursor:pointer;background:#fff;border:1px solid #cddccd;border-radius:12px;align-items:center;gap:12px;padding:12px;display:flex}.tc-roster label:has(:checked){background:#e7f3e5;border-color:#438077}.tc-roster label.unavailable{color:#758078;cursor:default;background:#f2f1ec}.tc-roster small{margin-top:4px;font-size:10px;line-height:1.5;display:block}.tc .tc-gold{color:#423511;background:linear-gradient(#f9d881,#ebbc51);border:1px solid #dbb650;box-shadow:0 3px #b48a33}.tc-empty{text-align:center;background:#f3f4e9;border-radius:20px;padding:75px 15px}.tc-empty svg{color:#ad852d;margin:auto}.tc-toolbar{flex-wrap:wrap;align-items:center;gap:16px;margin:16px 0;display:flex}.tc-toolbar>a{color:#28675e;align-items:center;gap:7px;font-size:13px;font-weight:750;text-decoration:none;display:flex}.tc-toolbar>span{margin-left:auto;font-size:12px}.tc-tabs{background:#dde7de;border-radius:14px;gap:4px;padding:5px;display:flex}.tc-tabs button{color:#47645d;background:0 0;padding:10px 15px;font-size:13px}.tc-tabs button[aria-pressed=true]{color:#193e42;background:#fffdf6;box-shadow:0 2px 5px #213b4d17}.tc-launch{background:#fff8db;border:1px solid #e4cb79;border-radius:16px;align-items:center;gap:14px;margin:20px 0;padding:17px 22px;display:flex}.tc-launch>div{flex:1}.tc-launch p{margin:4px 0 0}.tc-launch button{font-size:12px}.tc-lane{background:linear-gradient(140deg,#eef3e9,#fbfaf1);border:1px solid #c9d8c8;border-radius:22px;margin:18px 0;padding:23px 24px 12px;overflow:hidden}.tc-lane>h2{align-items:center;gap:9px;display:flex}.tc-lane>h2:before{content:"";background:#3e846c;border:2px solid #9bc5ac;width:11px;height:11px;transform:rotate(45deg)}.tc-lane>p{margin-top:0}.tc-lane.lane-comeback{background:linear-gradient(135deg,#f0ebfa,#faf8fb);border-color:#d7cce6}.lane-comeback>h2:before{background:#7f659f;border-color:#bba8cf}.tc-lane.lane-final{background:linear-gradient(130deg,#f7edcc,#fffdf4);border-color:#e7d495}.lane-final>h2:before{background:#c09638;border-color:#e9cd8a}.tc-bracket-scroll{padding-bottom:15px;overflow:auto}.tc-bracket-inner{align-items:stretch;gap:50px;width:max-content;min-width:100%;padding:2px;display:flex;position:relative}.tc-round{z-index:1;flex-direction:column;flex-shrink:0;width:230px;display:flex}.tc-round h3{text-align:center;letter-spacing:1.5px;text-transform:uppercase;margin:5px 0 15px;font-size:11px}.tc-round-matches{flex-direction:column;flex:1;justify-content:space-around;gap:17px;display:flex}.tc-match{background:#fffefa;border:1px solid #bdcfc0;border-radius:13px;font-size:13px;position:relative;overflow:hidden;box-shadow:0 3px #244b4410}.tc-match.ready{border:2px solid #d2ac52}.tc-match.live{border:2px solid #368f93;box-shadow:0 0 12px #57b9bd33}.tc-match.complete{border-color:#94b99d}.tc-match.bye{opacity:.7}.tc-match-top{letter-spacing:.3px;background:#eef1e8;justify-content:space-between;gap:8px;padding:9px 12px;font-size:9px;font-weight:750;display:flex}.tc-contender{justify-content:space-between;align-items:center;gap:8px;min-height:38px;padding:10px 12px;display:flex}.tc-contender+.tc-contender{border-top:1px solid #e4eadc}.tc-contender span{overflow-wrap:anywhere}.tc-contender.winner{background:#e1f1dc;font-weight:850;animation:.7s ease-out tc-advance}.tc-contender.winner svg{color:#927020;flex-shrink:0}.tc-match-note{color:#65786e;padding:7px 12px;font-size:10px;line-height:1.5;display:block}.tc-match-actions{border-top:1px dashed #d8e2d5;flex-wrap:wrap;align-items:center;gap:8px;padding:9px;display:flex}.tc-match-actions label{align-items:center;gap:6px;font-size:11px;font-weight:750;display:flex}.tc-match-actions button{color:#486356;background:#edf1e7;border:1px solid #d0daca;padding:6px 8px;font-size:10px}.tc-match-actions input[type=checkbox]{width:16px;height:16px}.tc-connectors{pointer-events:none;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.tc-connectors path{fill:none;stroke:#7b9e88;stroke-width:2px;opacity:.7}.lane-comeback .tc-connectors path{stroke:#ae94c2}.tc-footer{justify-content:space-between;align-items:center;gap:20px;margin:22px 0 12px;display:flex}.tc-footer>button{color:#5f7467;background:#e9ece5;font-size:12px}.tc-footer small{color:#6d7d72;font-size:11px}.tc-team-pick{background:#fff9e7;border:2px solid #dab656;border-radius:22px;margin:12px 0;padding:25px}.tc-team-pick p{font-size:13px;line-height:1.6}.tc-team-options{grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:10px;margin:20px 0;display:grid}.tc-team-options button{color:#274d4d;background:#fff;border:2px solid #d9e0cf;flex-direction:column;gap:5px;min-width:0;padding:10px;display:flex}.tc-team-options button[aria-pressed=true]{opacity:1;background:#fcf0c9;border-color:#bd9837}.tc-team-options img{object-fit:contain;width:100%;height:95px;image-rendering:pixelated}.tc-team-options strong{font-size:13px}.tc-team-options small{font-size:10px}.tc-team-options span{background:#eff2e8;border-radius:20px;padding:4px 10px;font-size:11px}.tc-screens{grid-template-columns:repeat(auto-fit,minmax(min(100%,430px),1fr));gap:18px;display:grid}.tc-screen{background:#fcfbf0;border:2px solid #406c69;border-radius:18px;min-width:0;overflow:hidden;box-shadow:0 5px #214d4916}.tc-screen>header{color:#fffbe8;background:#224f51;flex-wrap:wrap;align-items:center;gap:12px;padding:13px 16px;display:flex}.tc-screen>header>span{background:#497472;border-radius:6px;padding:4px 8px;font-size:10px}.tc-screen>header>strong{flex:1;font-size:14px}.tc-screen>header>small{font-size:10px}.tc .tc-mini{max-width:none;margin:0;padding:0}.tc-mini .bl-arena{aspect-ratio:16/10;border:0;border-radius:0;height:auto;min-height:0;max-height:none;margin:0;container-type:inline-size}.tc-mini-hp{z-index:5;pointer-events:none;justify-content:space-between;gap:18px;display:flex;position:absolute;inset:10px 10px auto}.tc-mini-hp>div{background:#fffff0e8;border:1px solid #74938a;border-radius:9px;gap:3px;width:43%;padding:8px;display:grid}.tc-mini-hp span{font-size:clamp(9px,2.4cqw,14px);font-weight:800}.tc-mini-hp small{font-size:9px}.tc-mini-hp progress{accent-color:#49a55c;width:100%;height:8px}.tc-mini-caption{color:#fff;z-index:5;background:#173e43ec;min-height:40px;margin:0;padding:10px 12px;font-size:clamp(10px,2.8cqw,14px);position:absolute;bottom:0;left:0;right:0}.tc .tc-watch{color:#294d48;background:#e3ece0;border-radius:0;width:100%;padding:9px;font-size:12px}.tc-ready-screen{background:radial-gradient(#faf6dc,#dfeddf);flex-direction:column;justify-content:center;align-items:center;gap:14px;min-height:290px;padding:25px;display:flex}.tc-ready-screen p{margin:0;font-weight:750}.tc-ready-screen>span{justify-content:space-between;gap:20px;width:100%;max-width:300px;font-size:13px;display:flex}.tc-ready-screen b{color:#33786a;font-size:12px}.tc-tile-winner{text-align:center;background:radial-gradient(at top,#fff0bd,#e8efdb);flex-direction:column;align-items:center;min-height:315px;padding:18px;display:flex}.tc-tile-winner>span{color:#896d20;letter-spacing:1px;text-transform:uppercase;align-items:center;gap:6px;font-size:12px;font-weight:850;display:flex}.tc-trainer{text-align:center;width:100%;max-width:270px;margin:auto}.tc-portrait{justify-content:center;align-items:flex-end;height:200px;margin:0 auto 8px;display:flex;position:relative}.tc-avatar{z-index:2;width:52%;height:95%;position:absolute;bottom:0;left:9%}.tc-avatar .avatar-sprite{width:100%;height:100%}.tc-portrait>img{object-fit:contain;max-width:70%;max-height:84%;image-rendering:pixelated;position:absolute;bottom:1%;right:2%}.tc-trainer strong{overflow-wrap:anywhere;font-size:19px;display:block}.tc-trainer small{color:#6a775d;margin:5px 0;font-size:11px;display:block}.tc-wave-finished{text-align:center;background:#e2efdc;border-radius:12px;padding:16px;font-weight:750}.tc-podium{text-align:center;background:radial-gradient(at 50% 10%,#fff5ce,#f2edd7 60%,#ddebd9);border:2px solid #dbbd68;border-radius:24px;margin-bottom:25px;padding:28px;position:relative;overflow:hidden}.tc-podium>svg{color:#bb922e;margin:0 auto 10px}.tc-podium>h2{font-size:clamp(25px,4vw,40px)}.tc-podium>p:not(.tc-eyebrow){color:#647154;font-size:13px}.tc-podium-steps{justify-content:center;align-items:flex-end;gap:12px;max-width:850px;margin:10px auto 24px;display:flex}.tc-place{width:31%}.tc-plinth{color:#705218;background:linear-gradient(#f8d987,#e0b34b);border:2px solid #d8be71;border-radius:14px 14px 3px 3px;flex-direction:column;justify-content:center;align-items:center;gap:10px;height:120px;display:flex;box-shadow:0 5px #8163241a}.tc-plinth span{font-size:36px;font-weight:900}.place-2 .tc-plinth{color:#4a5f5c;background:linear-gradient(#e5efed,#adbbb9);border-color:#a4b3b0;height:86px}.place-3 .tc-plinth{color:#765331;background:linear-gradient(#eed1ae,#c5905e);border-color:#bb8d62;height:62px}.place-1 .tc-portrait{height:235px}.tc-confetti{pointer-events:none;position:absolute;inset:0;overflow:hidden}.tc-confetti i{opacity:0;width:8px;height:13px;animation:3s ease-in forwards tc-fall;position:absolute;top:-20px}.tc-recovery{gap:10px;display:grid}.tc-recovery button{cursor:pointer;background:#e9eee2;border:1px solid #b5c7b9;border-radius:9px;padding:12px}.tc-projector{padding:20px}.tc-projector-shell{background:#e6ece0;min-height:100vh;padding:20px}.tc-projector-shell>nav{justify-content:space-between;gap:15px;max-width:1600px;margin:auto;font-size:13px;display:flex}.tc-projector-shell>nav button{background:#fcf9e9;border:1px solid #a5b7a4;border-radius:10px;padding:8px 12px}.tc-notice{background:#fbebbb;border:1px solid #dbb95b}.tc .vs-match{padding:0}.tc .vs-match button{font-size:13px}@keyframes tc-advance{0%{background:#ffe189;transform:translate(-7px)}to{transform:translate(0)}}@keyframes tc-fall{0%{opacity:0;transform:translateY(-15px)rotate(0)}10%{opacity:1}80%{opacity:1}to{opacity:0;transform:translateY(650px)rotate(700deg)}}@media (max-width:760px){.tc-header{flex-wrap:wrap;gap:14px;padding:22px 17px}.tc-crest{width:55px;height:65px}.tc-header>div:nth-child(2){flex:1}.tc-header>button{padding:8px 13px;font-size:11px}.tc-setup{grid-template-columns:1fr;gap:12px;padding:20px}.tc-launch{flex-wrap:wrap;padding:15px}.tc-launch>div{flex-basis:100%}.tc-toolbar>span{flex-basis:100%;margin-left:0}.tc-lane{padding:17px 12px 5px}.tc-round{width:210px}.tc-header h1{font-size:26px}.tc-footer{flex-direction:column;align-items:flex-start}.tc-team-pick{padding:16px}.tc-podium{padding:20px 10px}.tc-podium-steps{gap:6px}.tc-portrait{height:145px}.place-1 .tc-portrait{height:175px}.tc-trainer strong{font-size:14px}.tc-trainer small{font-size:9px}.tc-projector-shell,.tc-projector{padding:8px}.tc-team-options{grid-template-columns:repeat(3,minmax(0,1fr))}.tc-team-options img{height:75px}.tc-team-options strong{font-size:11px}.tc-rules{gap:8px 14px;font-size:10px}}@media (prefers-reduced-motion:reduce){.tc *,.tc :before,.tc :after{transition:none!important;animation:none!important}.tc-confetti{display:none}}:where(html[data-motion=reduced]) .tc *,:where(html[data-motion=reduced]) .tc :before,:where(html[data-motion=reduced]) .tc :after{transition:none!important;animation:none!important}:where(html[data-motion=reduced]) .tc-confetti{display:none}.tc .tc-mini{min-height:0}.tc-avatar{width:85%;left:-12%}.tc-avatar .modular-avatar{width:100%;height:100%;margin:0;position:absolute;inset:0;transform:none}.tc-avatar canvas{object-fit:contain;width:100%;height:100%}.student-shell .tc-team-options button{color:#274d4d;background:#fffdf5}.student-shell .tc-team-options button[aria-pressed=true]{color:#274d4d;background:#fcf0c9;border-color:#bd9837}.tc-team-options span{color:#294d48}.tc-mini .tc-mini-hp{color:#173f43}.tc-mini .tc-mini-hp small{font-size:10px}.tc-mini .tc-mini-hp span{color:#173f43}.tc-projector.tc-screen-mode .tc-header{border-radius:16px;gap:15px;padding:12px 20px}.tc-projector.tc-screen-mode .tc-header h1{margin:4px 0;font-size:24px}.tc-projector.tc-screen-mode .tc-header>div>p:last-child,.tc-projector.tc-screen-mode .tc-rules{display:none}.tc-projector.tc-screen-mode .tc-crest{width:42px;height:46px}.tc-projector.tc-screen-mode .tc-crest svg{width:24px;height:24px}.tc-projector.tc-screen-mode .tc-toolbar{margin:12px 0}.tc-projector .tc-screens{grid-template-columns:repeat(var(--tc-cols),minmax(0,1fr));gap:12px}.tc-projector .tc-screen{height:max(175px,calc((100dvh - 250px) / var(--tc-rows)));flex-direction:column;min-height:0;display:flex}.tc-projector .tc-screen>header{flex-shrink:0;gap:6px;padding:8px 10px}.tc-projector .tc-screen>header>strong{font-size:12px}.tc-projector .tc-screen .tc-mini{flex:1;min-height:0}.tc-projector .tc-mini .bl-arena{aspect-ratio:auto;height:100%}.tc-projector .tc-mini-caption{min-height:26px;padding:5px 8px;font-size:11px}.tc-projector .tc-screen .tc-ready-screen,.tc-projector .tc-screen .tc-tile-winner{flex:1;gap:7px;min-height:0;padding:10px;overflow:hidden}.tc-projector .tc-tile-winner .tc-trainer{flex-direction:column;flex:1;min-height:0;display:flex}.tc-projector .tc-tile-winner .tc-portrait{flex:1;width:100%;max-width:270px;height:auto;min-height:65px}.tc-projector .tc-tile-winner .tc-trainer strong{font-size:14px}.tc-projector .tc-watch{flex-shrink:0;padding:5px;font-size:10px}.tc-projector .tc-ready-screen>span{font-size:11px}.tc-projector .tc-mini-hp{gap:6px;inset:6px 6px auto}.tc-projector .tc-mini-hp>div{gap:1px;width:47%;padding:5px}.tc-projector .tc-mini-hp small{font-size:8px}.tc-projector .tc-mini-hp span{font-size:clamp(8px,2.5cqw,12px)}@media (max-width:650px){.tc-projector .tc-screens{grid-template-columns:1fr}.tc-projector .tc-screen{height:340px}.tc-projector.tc-screen-mode .tc-header h1{font-size:20px}}.tc .tc-screen .tc-mini.battle-lab .bl-arena{aspect-ratio:16/10;background-size:100% 100%;border-radius:0;width:100%;height:auto;min-height:0;max-height:none}.tc.tc-projector .tc-screen .tc-mini.battle-lab .bl-arena{aspect-ratio:auto;height:100%}.tc .tc-screen .tc-mini.battle-lab .bl-arena.bl-framed-arena{grid-template-rows:auto minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.tc .tc-mini .bl-arena.bl-framed-arena>.bl-stage-viewport{aspect-ratio:auto;grid-column:1/-1;container-type:size}.tc .tc-mini .bl-arena.bl-framed-arena .bl-stage-canvas{width:min(100cqw, calc(100cqh * var(--scene-ratio)))}.tc-mini .bl-framed-arena>.tc-mini-hp{grid-area:1/1/auto/-1;margin:6px;position:relative;inset:auto}.tc-mini .bl-framed-arena>.tc-mini-caption{grid-area:3/1/auto/-1;position:relative;inset:auto}
