@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');
:root{--green:#204d3c;--ink:#203b30;--muted:#7b847d;--line:#e4e8df;--paper:#f7f8f2;--lime:#d9ef80}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px 'DM Sans',sans-serif}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}header{height:100px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:25px;padding:0 6%}.brand{color:var(--green);font:700 23px 'Space Grotesk',sans-serif;text-decoration:none;letter-spacing:-1px;position:relative}.brand>span:not(.brand-icon){font-weight:400}.brand-icon{font-size:32px;margin-right:8px}.brand small{display:block;font:9px 'DM Sans',sans-serif;letter-spacing:1.9px;padding-left:44px;margin-top:3px}.local{margin-left:auto;font-size:13px;color:#66756a;display:flex;align-items:center;gap:8px}.local i{width:7px;height:7px;background:#759365;border-radius:50%}.icon-button{width:30px;height:30px;border:1px solid #cbd2c8;border-radius:50%;background:none;color:var(--green)}main{max-width:1240px;margin:auto;padding:51px 40px 0}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:700;color:#7a886d}.intro{display:flex;align-items:center;justify-content:space-between;margin:16px 0 42px}h1{font:600 clamp(42px,5vw,68px)/1.05 'Space Grotesk',sans-serif;letter-spacing:-3px;margin:0 0 20px}h1 em{font-style:normal;color:#6c8652}p{line-height:1.6}.intro p{font-size:15px;color:#7b837a;margin:0}.hero-art{position:relative;width:400px;height:225px;margin-right:30px}.trophy{position:absolute;left:140px;top:15px;font-size:125px;transform:rotate(-12deg);filter:drop-shadow(8px 14px 0 #dde4cb)}.orbit{position:absolute;border:1px solid #d5ddc8;width:320px;height:150px;left:30px;top:38px;border-radius:50%;transform:rotate(-18deg)}.spark{position:absolute;color:#799452;font-size:35px}.s1{left:60px;top:20px}.s2{right:25px;bottom:40px}.ticket{position:absolute;bottom:0;left:92px;background:var(--lime);padding:11px 20px;font-size:10px;font-weight:700;letter-spacing:1.5px;transform:rotate(-6deg);z-index:2}.checks{position:absolute;right:35px;top:15px;width:62px;height:50px;transform:rotate(15deg);background:repeating-conic-gradient(#234e3b 0% 25%,transparent 0% 50%) 0/20px 20px;opacity:.18}.dashboard{display:grid;grid-template-columns:minmax(0,1fr) 302px;gap:24px;align-items:start}.workspace{background:white;border:1px solid var(--line);border-radius:16px;min-height:510px;overflow:hidden}.workspace-top{display:flex;justify-content:space-between;align-items:center;padding:27px 28px 25px;gap:12px}.workspace-top .eyebrow{font-size:9px;margin-bottom:8px}#tournament-name{font:600 24px 'Space Grotesk';color:var(--ink);border:0;background:none;width:100%;padding:0;outline-color:#a7c477}.badge{background:#edf3df;color:#6a7f44;font-size:10px;font-weight:600;white-space:nowrap;padding:8px 10px;border-radius:5px}nav{display:flex;padding:0 28px;gap:26px;border-bottom:1px solid var(--line)}nav button{background:none;border:0;padding:16px 0;font-size:13px;color:#92988e;border-bottom:2px solid transparent}nav button.active{border-color:var(--green);color:var(--green);font-weight:700}nav button span{font-size:10px;margin-right:7px;opacity:.6}nav b{margin-left:7px;padding:2px 6px;background:#eef0e9;border-radius:4px;font-size:10px}#content{padding:25px 28px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:10px}h2{font:600 17px 'Space Grotesk';margin:0}.subtext{font-size:12px;color:#8b9187;margin:8px 0 22px}.text-button{background:none;border:0;color:#7b876d;font-size:12px;padding:0;text-decoration:underline;text-underline-offset:3px}.add-form{display:grid;grid-template-columns:1fr 155px 43px;gap:8px;margin-bottom:25px}input,select{min-width:0;border:1px solid #dde2d6;background:#fafbf7;border-radius:7px;padding:11px 12px;color:var(--ink);font-size:13px}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' stroke='%2376806d' fill='none'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;padding-right:25px}.add-button{background:var(--green);color:white;border:0;border-radius:7px;font-size:23px}.list-head{display:flex;justify-content:space-between;font-size:9px;letter-spacing:1.5px;color:#969d90;margin-bottom:8px;padding:0 10px}.player{display:flex;align-items:center;gap:12px;padding:11px 8px;border-top:1px solid #f0f1ec}.avatar{display:grid;place-items:center;flex-shrink:0;width:36px;height:36px;border-radius:50%;background:var(--avatar-bg,#f0e9d8);font-size:21px}.player strong{font-size:13px;font-weight:600}.player small{display:block;color:#9b9e93;font-size:11px;margin-top:3px}.player .number{font-size:10px;color:#b1b5a9;margin-left:auto}.remove{border:0;background:none;font-size:18px;color:#a6ac9c;padding:8px}.empty{text-align:center;padding:26px 8px;color:#8a9582;font-size:14px}.empty .empty-icon{font-size:36px;margin-bottom:10px}.empty p{font-size:12px}aside{background:#edf0e4;border:1px solid #e0e5d6;border-radius:16px;padding:25px}.aside-title{display:flex;align-items:center;gap:9px;margin-bottom:27px}.aside-title>span{font-size:22px}.field-label{font-size:12px;font-weight:600}.segmented{display:flex;background:#e2e7d8;border-radius:8px;padding:4px;margin:12px 0}.segmented button{flex:1;background:none;border:0;border-radius:5px;padding:8px;color:#7d8773;font-size:13px}.segmented .selected{background:white;color:var(--green);box-shadow:0 1px 5px #24432e10;font-weight:700}.hint{font-size:11px;color:#8a937d;line-height:1.6;margin:0 0 24px}.rule{display:flex;gap:12px;margin:19px 0}.rule>span{color:#7b8d64;font-size:22px;width:24px;flex-shrink:0}.rule strong{font-size:12px}.rule p{font-size:11px;color:#8a937d;line-height:1.6;margin:5px 0}.start-area{border-top:1px solid #dbe1cf;margin-top:24px;padding-top:20px}.summary{display:flex;justify-content:space-between;font-size:10px;margin-bottom:15px}.summary span{color:#8a937d}.primary{border:0;border-radius:7px;padding:14px 16px;color:#fff;background:var(--green);font-size:13px;font-weight:600;width:100%}.start-area>p{text-align:center;font-size:9px;color:#8a937d;margin-bottom:0}.bottom-note{display:flex;justify-content:space-between;padding:25px 0 45px;color:#9aa28e;font-size:10px}.bottom-note>span:last-child{font-size:8px;letter-spacing:1.5px}footer{border-top:1px solid var(--line);margin:0 6%;padding:25px 0;display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#a1a794}footer .brand{font-size:15px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--green);color:white;border-radius:9px;padding:14px 22px;font-size:14px;display:none;z-index:20;max-width:90%}dialog{border:1px solid var(--line);border-radius:16px;max-width:470px;padding:30px;color:var(--ink)}dialog::backdrop{background:#17372b66}dialog p{font-size:14px}.bracket{display:flex;gap:30px;overflow:auto;padding:5px 0 20px}.round{min-width:235px;display:flex;flex-direction:column;justify-content:space-around;gap:20px}.round-title{font-size:10px;letter-spacing:1.5px;color:#82916d;margin-bottom:0}.match{position:relative;border:1px solid #dfe5d6;border-radius:9px;padding:12px;background:#fcfdf9}.match:after{content:'';position:absolute;right:-31px;top:50%;width:30px;height:1px;background:#c6d3b7}.round:last-child .match:after{display:none}.match-title{display:flex;justify-content:space-between;font-size:10px;color:#849272;margin-bottom:12px}.match-player{display:flex;align-items:center;gap:7px;font-size:12px;margin:8px 0}.match-player .avatar{width:25px;height:25px;font-size:15px}.match-player input{width:52px;padding:6px;margin-left:auto}.match-player.winner{font-weight:700;color:#52752b}.match .primary{padding:9px;font-size:11px;margin-top:8px}.match .waiting{font-size:11px;color:#a1aa94}.champion{background:#edf4d8;border:1px solid #d0e0a9;border-radius:10px;padding:22px;text-align:center;margin-bottom:20px}.champion span{font-size:35px}.champion h2{margin:8px}.champion p{font-size:12px;margin-bottom:0}.tournament-hint{background:#f2f5e9;padding:12px;border-radius:7px;font-size:12px;line-height:1.6;color:#78836a;margin-bottom:20px}:focus-visible{outline:2px solid #8faa55;outline-offset:3px}@media(min-width:1450px){main{padding-top:65px}.intro{margin-bottom:55px}}@media(max-width:900px){main{padding:35px 24px 0}.dashboard{grid-template-columns:minmax(0,1fr) 265px;gap:16px}aside{padding:20px}.workspace-top{align-items:flex-start;flex-direction:column}.hero-art{width:300px;margin-right:0}.trophy{left:95px}.orbit{width:250px;left:10px}.ticket{left:40px}.add-form{grid-template-columns:1fr 120px 40px}#content{padding:22px}.bottom-note>span:last-child{display:none}}@media(max-width:650px){header{height:80px;padding:0 20px}.brand{font-size:20px}.brand small{font-size:7px;letter-spacing:1px}.local{display:none}.icon-button{margin-left:auto}main{padding:30px 16px 0}h1{font-size:49px}.intro{margin-bottom:30px}.intro p{font-size:13px}.hero-art{width:125px;height:190px;overflow:hidden;flex-shrink:0}.trophy{font-size:85px;left:15px;top:35px}.orbit{width:150px;height:100px;left:-10px;top:40px}.ticket,.checks,.s2{display:none}.s1{left:8px;top:5px;font-size:22px}.dashboard{display:flex;flex-direction:column}.workspace,aside{width:100%}.workspace-top{padding:22px;gap:14px}.workspace-top .badge{font-size:10px}#tournament-name{font-size:22px}nav{padding:0 22px}aside{padding:24px}.rule{margin:16px 0}.hint,.rule p{font-size:12px}.field-label,.rule strong{font-size:13px}.aside-title{margin-bottom:20px}.summary{font-size:12px}.start-area>p{font-size:11px}.bottom-note{padding:25px 3px;font-size:10px}footer{margin:0 20px;gap:20px;flex-wrap:wrap;font-size:9px}footer>span:last-child{width:100%}.add-form{grid-template-columns:1fr 120px 40px;gap:5px}.add-form input,.add-form select{font-size:12px;padding-left:8px}.subtext{font-size:11px}.section-title h2{font-size:16px}.section-title .text-button{font-size:11px}.workspace{min-height:440px}}
/* World racing theme */
:root{--green:#0664c8;--ink:#123b69;--muted:#607e9c;--line:#d5e4f0;--paper:#edf7fe;--lime:#ffe24a}body{background:radial-gradient(ellipse at 85% 4%,#fff 0,transparent 35%),linear-gradient(180deg,#c7eafb 0,#eaf7ff 430px,#f2f8fd 1100px);background-attachment:fixed}header{background:#ffffffd9;border-bottom:3px solid white;box-shadow:0 3px 20px #2672ad0b}.brand{font-style:italic;letter-spacing:-1.2px;font-weight:700;color:#073d79}.brand-icon{color:#ef3e39}.local{color:#50799c}.local i{background:#10a870}.eyebrow{color:#2778b7}.intro{position:relative}h1{font-weight:700;font-style:italic;letter-spacing:-3px;color:#0b4b8d;text-shadow:2px 3px 0 white}h1 em{color:#ec3739;text-shadow:2px 3px 0 white}.intro p{color:#547897}.hero-art{background:radial-gradient(ellipse,#fff9 0,transparent 65%)}.trophy{filter:drop-shadow(5px 10px 0 #2088cf20)}.orbit{border:3px dashed #7eb3dc;transform:rotate(-18deg)}.spark{color:#ffa400}.ticket{background:#ffe241;color:#174b82;font-style:italic;box-shadow:3px 4px 0 #fff}.checks{background:repeating-conic-gradient(#154c85 0% 25%,white 0% 50%) 0/20px 20px;opacity:.5}.workspace{border:2px solid white;box-shadow:0 9px 30px #1c6a9c10}.workspace-top{background:linear-gradient(110deg,#fff,#edf8ff)}.workspace-top .eyebrow{color:#3b92ca}.badge{background:#ffe547;color:#594b06;transform:skew(-5deg);border-radius:3px}.workspace-top:before{display:none}nav{background:#f7fbff;border-bottom-color:#dbe9f5}nav button.active{border-bottom:3px solid #ec3e41}.text-button{color:#2378b9}.subtext{color:#68859e}.add-form input,.add-form select{background:#f7fbff;border-color:#cddfeb}.add-button{background:#ef4042;box-shadow:0 3px 0 #b8282a}.player{border-top-color:#eaf1f8}.player small{color:#7890a5}.player .number{font-family:'Space Grotesk';font-style:italic;font-weight:bold;color:#8da9bf}.list-head{color:#7795ad}.avatar{border:2px solid white;box-shadow:0 2px 4px #0f508522;background-color:#dcf0ff;overflow:hidden}.portrait{display:block;width:100%;height:100%;background-image:url('assets/characters.webp');background-repeat:no-repeat;background-size:400% 400%}.hero-portrait{position:absolute;width:155px;height:155px;border:6px solid white;border-radius:50%;box-shadow:0 10px 25px #0f50852b;transform:rotate(-12deg);left:100px;top:15px}.hero-portrait.second{width:100px;height:100px;left:245px;top:95px;transform:rotate(12deg)}aside{background:linear-gradient(150deg,#0879d7,#0555af);border:2px solid white;color:white;box-shadow:0 8px 26px #1060a620}.aside-title>span,.rule>span{color:#ffe34c}.segmented{background:#004b9b66}.segmented button{color:#d4eaff}.segmented .selected{background:#ffe447;color:#174777;box-shadow:0 3px 0 #002d6544}.hint,.rule p,.summary span,.start-area>p{color:#c1def9}.start-area{border-color:#ffffff30}.primary{background:#f13f43;box-shadow:0 4px 0 #bc2229;transition:transform .15s,filter .15s}.primary:hover:not(:disabled),.add-button:hover{filter:brightness(1.07);transform:translateY(-1px)}.primary:active{transform:translateY(2px);box-shadow:0 2px 0 #bc2229}.primary:disabled{background:#a2c6e7;box-shadow:none;color:#436b92;opacity:1}.bottom-note{color:#658bad}footer{border-top-color:#cadfeb;color:#7694ad}#toast{background:#064d96}.tournament-hint{background:#e8f4ff;color:#3e719c;border-left:3px solid #ffe040}.match{background:#f7fbff;border:1px solid #cbdfef;box-shadow:0 3px 0 #dceaf5}.match:after{background:#82b5df;height:2px}.match-title,.round-title{color:#2673b2}.match-player.winner{color:#087a55}.match-player input{background:white;border-color:#bfd9eb}.champion{background:linear-gradient(130deg,#fff7bd,#ffec72);border:2px solid #ffd83a;color:#694900}.match .waiting{color:#7291ab}.empty{color:#5c82a3}:focus-visible{outline-color:#f7bb19}.character-picker{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;margin:-10px 0 24px}.character-choice{border:2px solid transparent;border-radius:10px;padding:4px;background:#edf5fc;min-width:0;color:#446a89;display:flex;flex-direction:column;align-items:center;gap:5px}.character-choice:hover{background:#dcecff}.character-choice.selected{border-color:#f23d43;background:#fff2cf;box-shadow:0 2px 0 #ebc44b}.character-choice .avatar{width:39px;height:39px}.character-choice small{font-size:9px;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}.character-choice:first-child .avatar{background:#dbeafa}.picker-label{font-size:10px;letter-spacing:1px;color:#7795ad;margin:-10px 0 16px}.section-title h2{color:#174c7f}@media(max-width:650px){.hero-portrait{width:95px;height:95px;left:15px;top:35px;border-width:4px}.hero-portrait.second{display:none}.character-picker{gap:5px}.character-choice{padding:4px 1px}.character-choice .avatar{width:31px;height:31px}.character-choice small{font-size:8px}.hero-art{overflow:visible}.summary span,.hint,.rule p,.start-area>p{color:#dbedff}}
@media(max-width:420px){.hero-art{display:none}.intro{min-height:210px}.intro h1{font-size:52px}.intro p{font-size:14px}.workspace-top{padding:20px}#content{padding:20px}.character-picker{grid-template-columns:repeat(7,minmax(0,1fr))}}
@media(min-width:651px) and (max-width:900px){.hero-art{flex-shrink:0;width:280px}.hero-portrait{left:40px}.hero-portrait.second{left:auto;right:0;width:90px;height:90px}.orbit{width:250px;left:0}.ticket{left:25px}}
/* Readability for phone operation and room projection */
body{font-size:18px}.brand small{font-size:12px;letter-spacing:1px}.local{font-size:14px}.icon-button{width:44px;height:44px;font-size:20px;flex-shrink:0}.screen-button,.secondary{min-height:44px;padding:10px 16px;border:1px solid #b2cfe7;background:white;color:#0b538f;border-radius:8px;font-size:16px;font-weight:600}.screen-button{white-space:nowrap}h2{font-size:24px}.eyebrow,.workspace-top .eyebrow{font-size:14px}.intro p{font-size:18px}.badge{font-size:14px;padding:10px 12px}nav button{font-size:18px;min-height:56px}nav button span,nav b{font-size:14px}.subtext{font-size:16px;line-height:1.55}.text-button{font-size:16px;min-height:44px}.add-form input,.add-form select,input,select{font-size:16px;min-height:48px}.add-form{grid-template-columns:1fr 170px 48px}.add-button{min-height:48px}.list-head,.picker-label{font-size:14px;letter-spacing:.5px}.list-head{gap:12px;line-height:1.5}.player strong{font-size:20px;overflow-wrap:anywhere}.player small{font-size:15px}.player .number{font-size:16px}.player .avatar{width:48px;height:48px}.player{padding:14px 4px;min-width:0}.player>div{min-width:0}.remove{min-width:44px;min-height:44px;font-size:26px}.character-picker{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.character-choice{padding:9px 4px}.character-choice .avatar{width:50px;height:50px}.character-choice small{font-size:14px;white-space:normal;line-height:1.3}.empty{font-size:20px}.empty p{font-size:16px}.field-label,.rule strong{font-size:17px}.hint,.rule p{font-size:15px}.segmented button{font-size:20px;min-height:46px}.summary{font-size:15px;flex-wrap:wrap;gap:8px}.primary{font-size:18px;min-height:48px}.start-area>p{font-size:14px}.bottom-note{font-size:14px}.bottom-note>span:last-child{font-size:12px}footer{font-size:14px}.round{min-width:310px;gap:24px}.round-title{font-size:18px;letter-spacing:.5px}.match{padding:16px}.match-title{font-size:15px;gap:12px;line-height:1.5}.match-player{font-size:19px;min-height:52px;gap:10px}.match-player>span:not(.avatar){overflow-wrap:anywhere;min-width:0}.match-player .avatar{width:38px;height:38px}.match-player input{width:68px;min-width:68px;min-height:48px;font-size:20px;padding:8px;text-align:center}.match .primary{font-size:17px;min-height:48px}.match .waiting{font-size:16px}.champion h2{font-size:30px}.champion p,.tournament-hint{font-size:17px}.dialog-actions{display:flex;gap:12px}.dialog-actions .primary{width:auto;flex:1}dialog{width:calc(100% - 32px);max-width:540px}dialog p{font-size:18px}#toast{font-size:17px}#tournament-name{font-size:28px}.workspace-top>div{min-width:0}.section-title{flex-wrap:wrap}#presentation[hidden]{display:none}.presenting>header,.presenting>main,.presenting>footer{display:none}.presenting{background:#e8f4ff}.display-top{display:flex;align-items:center;justify-content:space-between;gap:24px}.display-top h1{font-size:clamp(30px,3vw,60px);letter-spacing:-1px;margin:12px 0 0;overflow-wrap:anywhere}.display-kicker{font-size:16px;letter-spacing:2px;color:#3672a3;font-weight:700}.display-controls{display:flex;gap:10px;flex-shrink:0}.display-controls .secondary{font-size:16px}#presentation{padding:32px 3vw;min-height:100dvh}.display-navigation{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:28px 0}.round-tabs{display:flex;gap:12px;flex-wrap:wrap}.round-tabs button{font-size:22px;font-weight:700;padding:14px 22px;min-height:52px;background:white;color:#175793;border:2px solid #c5dced;border-radius:9px}.round-tabs button.selected{background:#0861b8;color:white;border-color:#0861b8}.round-tabs span{font-size:16px;margin-left:12px;opacity:.8}.display-total{font-size:18px;white-space:nowrap}.display-round-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px}.display-round-heading h2{font-size:30px}.display-round-heading h2 span{font-size:20px;font-weight:400;margin-left:20px;color:#3e6e98}.display-pagination{display:flex;align-items:center;gap:18px}.display-pagination strong{font-size:20px}.display-pools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.display-pools.single{max-width:1100px;margin:auto;grid-template-columns:1fr}.display-pool{background:white;border:2px solid #b7d5ec;border-radius:16px;overflow:hidden;box-shadow:0 6px 0 #c6def1}.display-pool-title{background:#095bb2;color:white;padding:14px 24px;display:flex;align-items:center;justify-content:space-between;gap:12px}.display-pool-title h3{margin:0;font-size:26px}.display-pool-title>span{font-size:20px}.display-pilot{display:flex;align-items:center;gap:18px;padding:10px 24px;min-height:82px;border-bottom:1px solid #dfeaf2}.display-pilot:last-child{border:0}.display-pilot .avatar{width:60px;height:60px}.display-pilot-name{min-width:0;flex:1}.display-pilot-name strong{font:700 clamp(26px,2.4vw,46px) 'Space Grotesk';overflow-wrap:anywhere;line-height:1.15}.display-pilot-name small{display:block;font-size:18px;font-weight:700;margin-top:3px}.display-pilot.qualified{background:#e6f5bf;color:#265308}.display-position{font:700 40px 'Space Grotesk';white-space:nowrap;margin-left:auto}.display-position small{font-size:20px}.display-pilot.pending{font-size:24px;color:#5a7c99}.display-champion{display:flex;gap:24px;align-items:center;justify-content:center;padding:24px;background:#ffe45a;border:3px solid #e8ba16;border-radius:14px;margin-bottom:24px;color:#573b00}.display-champion .avatar{width:100px;height:100px}.display-champion h2{font:700 clamp(38px,5vw,80px) 'Space Grotesk';margin:5px 0 0;overflow-wrap:anywhere}.display-champion>div{min-width:0}.display-champion span:not(.avatar){font-size:22px;font-weight:700}.display-footer{display:flex;justify-content:space-between;gap:20px;font-size:16px;color:#426e93;margin-top:28px}.display-waiting{text-align:center;padding:40px 0}.display-waiting h2{font-size:44px}.display-waiting p{font-size:24px}.display-roster{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:40px 0}.display-roster>div{display:flex;align-items:center;gap:16px;padding:20px;background:white;border-radius:12px;font-size:28px;overflow-wrap:anywhere;min-width:0}.display-roster .avatar{width:64px;height:64px}.display-roster strong{min-width:0}@media(min-width:1000px){main{max-width:1480px}.dashboard{grid-template-columns:minmax(0,1fr) 350px}}
@media(max-width:1000px){.dashboard{grid-template-columns:minmax(0,1fr) 300px}.local{display:none}.display-top{align-items:flex-start;flex-direction:column}.display-navigation{align-items:flex-start;flex-direction:column}.display-pilot{padding:10px 16px}.display-pilot-name strong{font-size:28px}.display-roster{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:750px){.dashboard{display:flex;flex-direction:column}.workspace,aside{width:100%}.workspace-top{flex-direction:column;align-items:flex-start}.intro{margin-bottom:26px}.intro h1{font-size:48px}.intro p{font-size:17px}.hero-art{display:none}.workspace-top .badge{font-size:14px}.summary{font-size:16px}.hint,.rule p{font-size:16px}.field-label,.rule strong{font-size:18px}.start-area>p{font-size:14px}.aside-title{margin-bottom:20px}.brand small{font-size:10px}.character-choice small{font-size:14px}.character-choice .avatar{width:48px;height:48px}.add-form{grid-template-columns:1fr 48px}.add-form #character{grid-row:2;grid-column:1 / -1}.add-form .add-button{grid-row:1;grid-column:2}.add-form input,.add-form select{font-size:16px;padding:12px}.character-picker{grid-template-columns:repeat(4,minmax(0,1fr))}.picker-label{font-size:14px;margin-top:0}.section-title .text-button{font-size:16px}.section-title h2{font-size:24px}.subtext{font-size:16px}.list-head{font-size:13px}.bottom-note{font-size:14px}.bracket{display:flex;flex-direction:column;overflow:visible}.round{min-width:0;gap:18px}.match:after{display:none}.round-title{position:sticky;top:0;background:#e8f4ff;padding:12px;z-index:2;border-radius:8px}.match-player{font-size:20px}.match-player input{font-size:22px}.match-title{font-size:16px}.champion h2{font-size:28px}.champion p{font-size:17px}footer{font-size:13px}header{padding:12px 16px;height:auto;gap:12px;flex-wrap:wrap}.brand{font-size:20px;margin-right:auto}.brand small{padding-left:0}.screen-button{font-size:15px;padding:9px 12px}.icon-button{margin-left:0;width:44px;height:44px}.display-pools{grid-template-columns:1fr}.display-controls{flex-wrap:wrap}.display-round-heading{flex-wrap:wrap}.display-round-heading h2{font-size:28px}.display-round-heading h2 span{display:block;margin:8px 0}.display-footer{flex-direction:column}.display-roster{grid-template-columns:1fr}.display-champion{padding:16px;gap:15px}.display-champion .avatar{width:70px;height:70px}.display-champion span:not(.avatar){font-size:16px}.display-champion h2{font-size:36px}.display-top h1{font-size:32px}.display-pilot .avatar{width:50px;height:50px}.display-pilot-name strong{font-size:26px}.display-navigation{margin:20px 0}.round-tabs button{font-size:18px;padding:10px 14px}.display-waiting h2{font-size:34px}.display-waiting p{font-size:20px}}
.segmented button{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:10px 4px;position:relative}.segmented button small{font-size:12px;line-height:1.2;font-weight:700}.segmented button.recommended:not(.selected){box-shadow:inset 0 0 0 2px #ffe447;color:white}#pool-advice{border:1px solid #ffffff45;border-radius:10px;background:#00478f66;padding:16px;margin:16px 0 20px}.advice-heading{font-size:16px;font-weight:700;color:#ffe66a}.advice-copy{font-size:16px;line-height:1.55;color:#f0f7ff;margin:10px 0}.format-estimate{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 14px;padding:12px 0;border-top:1px solid #ffffff30;border-bottom:1px solid #ffffff30}.format-estimate strong{font:700 28px 'Space Grotesk';color:white}.format-estimate span{font-size:16px;color:#d9ecff}.advice-footnote{font-size:14px;line-height:1.5;color:#d9ecff;margin-bottom:0}.advice-auto{min-height:44px;background:#ffe447;border:0;border-radius:7px;color:#164477;font-size:16px;font-weight:700;padding:10px 14px;width:100%;margin-top:5px}
.dashboard.tournament-view{grid-template-columns:minmax(0,1fr)}.dashboard>aside[hidden]{display:none}
.tournament-overview{background:#edf6ff;border:1px solid #c9dfef;border-radius:12px;padding:22px;margin-bottom:28px}.tournament-overview p{font-size:17px;color:#426e92;margin:12px 0 20px}.roster-total{font-size:16px;color:#487698}.journey{display:flex;gap:22px;align-items:stretch}.journey-stage{flex:1;min-width:0;background:white;border:2px solid #c1d9ed;border-radius:10px;padding:16px;text-align:left;color:#174e7f;position:relative;display:flex;flex-direction:column;gap:9px}.journey-stage:not(:last-child):after{content:'';position:absolute;right:-24px;top:50%;width:22px;height:3px;background:#72a6d0}.journey-stage.selected{border-color:#0965bf;box-shadow:0 3px 0 #0965bf}.journey-title{font:700 22px 'Space Grotesk'}.journey-stage strong{font-size:17px}.journey-stage small{font-size:15px;color:#587b97}.journey-outcome{font-size:15px;font-weight:700;color:#2f650c;background:#e8f4cd;border-radius:5px;padding:7px 10px;margin-top:auto}.bracket-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}.bracket-toolbar p{font-size:16px;color:#547a99;margin:8px 0 0}.bracket-view-buttons{display:flex;gap:8px;flex-shrink:0}.bracket-view-buttons .selected{background:#0861b8;border-color:#0861b8;color:white}.round-pools{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:22px;align-items:start}.match:after{display:none}.qualification-note{font-size:15px;line-height:1.55;border-top:1px solid #cddfed;margin-top:16px;padding-top:12px;color:#416d90}.qualification-note strong{color:#1e5c95}.position-caption{font-size:14px;color:#64839b;margin:0 0 10px}.match-title{font-size:18px}.match-player>span small{display:block;font-size:13px;font-weight:400;color:#65839b;margin-top:5px;line-height:1.4}.round-bottom-nav{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:12px;margin-top:24px}.complete-tree{position:relative;display:flex;flex-direction:row;gap:50px;overflow:auto;align-items:stretch;padding-bottom:24px}.complete-tree .round{flex:0 0 340px;min-width:340px;display:flex;flex-direction:column;justify-content:flex-start;gap:20px}.complete-tree .round-title{position:static;background:#e8f4ff;padding:14px;border-radius:8px;margin:0;font-size:22px}.round-matches{display:flex;flex:1;flex-direction:column;justify-content:space-around;gap:24px}.complete-tree .match{z-index:1}.bracket-lines{position:absolute;top:0;left:0;pointer-events:none;overflow:visible}.bracket-lines path{fill:none;stroke:#77a9d2;stroke-width:2}.match-player.waiting{align-items:flex-start;line-height:1.5}.match-player.waiting>span:first-child{flex-shrink:0}.match-player.waiting>span:last-child{flex:1}.match-player .avatar{flex-shrink:0}@media(max-width:750px){.tournament-overview{padding:16px}.journey{flex-direction:column;gap:14px}.journey-stage{display:grid;grid-template-columns:1fr auto;gap:8px 12px;padding:14px}.journey-stage small{grid-column:1}.journey-outcome{grid-column:2;grid-row:1 / 4;align-self:center}.journey-title{font-size:21px}.journey-stage strong{font-size:16px}.journey-stage:not(:last-child):after{top:auto;bottom:-16px;left:24px;right:auto;width:3px;height:14px}.bracket-toolbar{align-items:stretch;flex-direction:column}.bracket-view-buttons .secondary{flex:1}.round-pools{grid-template-columns:1fr}.complete-tree{flex-direction:row;overflow:auto}.complete-tree .round{flex-basis:300px;min-width:300px}.complete-tree .match-player{font-size:18px}.complete-tree .match-player input{width:60px;min-width:60px}.round-bottom-nav .secondary{flex:1}.tournament-overview p{font-size:16px}.roster-total{font-size:16px}}
.consolation-option{display:flex;align-items:flex-start;gap:12px;padding:18px 0;border-top:1px solid #ffffff40;cursor:pointer}.consolation-option input{width:24px;height:24px;min-height:24px;flex-shrink:0;accent-color:#ffe447;margin:2px 0}.consolation-option strong{display:block;font-size:18px}.consolation-option small{display:block;font-size:15px;line-height:1.55;color:#d9ecff;margin-top:8px}.consolation-section{margin-top:30px;padding:24px;border:2px solid #dfb14a;border-radius:12px;background:#fffae8}.consolation-section h2{color:#785114}.consolation-description{font-size:17px;color:#785b26}.consolation-round h3{font-size:20px;color:#785b26}.consolation-section .match{background:white}@media(max-width:650px){.consolation-section{padding:16px}}
.consolation-jump{margin:0 0 22px}
