*{box-sizing:border-box}body{margin:0;background:#090d14;color:#f1f5f9;font:15px system-ui,sans-serif}aside{position:fixed;width:235px;inset:0 auto 0 0;background:#0d1320;border-right:1px solid #223047;padding:24px 16px}h2{margin:0 0 36px}nav{padding:14px;color:#94a3b8}nav.active{background:#10302e;color:#34d399;border:1px solid #176451;border-left:4px solid #10b981;border-radius:10px}main{margin-left:235px}header{padding:22px 30px;border-bottom:1px solid #223047;background:#0d1320;color:#94a3b8}article{padding:28px;max-width:1500px;margin:auto}h1{font-size:38px;margin:5px 0}p,small{color:#94a3b8}.eyebrow{font-size:12px;letter-spacing:2px;color:#94a3b8;font-weight:800}.stats,.teams{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:14px;margin:24px 0}.panel,.stat,.team{background:#111827;border:1px solid #26354b;border-radius:15px;padding:20px}.stat strong{display:block;font-size:30px;color:#10b981;margin-top:10px}.layout{display:grid;grid-template-columns:minmax(230px,1fr) minmax(300px,2fr);gap:16px}textarea,input,select{background:#090f1b;color:#e2e8f0;border:1px solid #344258;border-radius:8px;padding:10px;font:inherit;width:100%}textarea{height:150px;resize:vertical}label{display:block;color:#a5b4c8;margin:12px 0 6px}button{cursor:pointer;border:1px solid #344258;background:#172338;color:#e2e8f0;padding:11px 15px;border-radius:9px;font-weight:700}button.primary{background:#079e72;border-color:#10b981;color:#fff;box-shadow:0 4px 20px #10b98122}button:disabled{opacity:.45;cursor:not-allowed}.buttons{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.stage{height:240px;position:relative;display:grid;place-items:center;background:radial-gradient(ellipse,#12332e55,transparent 70%);border:1px dashed #31435a;border-radius:12px;margin:15px 0}.tile{width:58px;height:58px;display:grid;place-items:center;border:1px solid #34d399;border-radius:8px;background:#122b29;color:#6ee7b7;font-size:19px;font-weight:800;box-shadow:none}.deck{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:76px;height:76px}.deck .tile{position:absolute;width:76px;height:76px}.team h3{margin:0;color:#e2e8f0}.team small{display:block;margin:6px 0 14px}.members{display:flex;gap:8px;flex-wrap:wrap;min-height:66px}.members .tile{width:44px;height:44px;font-size:15px}.flying{position:fixed;z-index:99;pointer-events:none;transition:transform .48s cubic-bezier(.2,.75,.2,1),opacity .48s}.list{max-height:160px;overflow:auto;margin-top:12px;color:#94a3b8;font-size:13px}.list div{padding:6px;border-bottom:1px solid #233044}.progress{height:5px;background:#26354b;border-radius:8px;overflow:hidden}.progress i{display:block;height:100%;background:#10b981;transition:width .2s}.muted{color:#94a3b8}@media(max-width:800px){aside{display:none}main{margin:0}article{padding:15px}.layout{grid-template-columns:1fr}h1{font-size:30px}}.teams{grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr))}.tile,.deck .tile,.members .tile{width:230px;min-height:58px;height:58px;padding:8px 12px;font-size:14px;text-align:center;overflow-wrap:anywhere;line-height:1.2;box-shadow:none}.deck{width:230px;height:58px}.members{display:grid;grid-template-columns:1fr}.members .tile{width:100%;height:auto;min-height:58px}.flying{margin:0}.deck .start-cover{cursor:pointer;background:#123b32;color:#6ee7b7;font-size:18px;font-weight:800;letter-spacing:1px}nav{cursor:pointer;margin-bottom:6px}[hidden]{display:none!important}@media(max-width:800px){aside{display:block;position:fixed;width:145px;padding:15px 8px}aside h2{font-size:16px}main{margin-left:145px}.layout{grid-template-columns:1fr}article{padding:10px}.deck{max-width:90%}}#splitPage .stats{max-height:240px;overflow:hidden;transition:max-height .48s ease,opacity .35s ease,transform .45s ease,margin .48s ease;transform-origin:top center}#splitPage .layout{grid-template-columns:minmax(0,1fr) minmax(0,2fr);transition:grid-template-columns .5s cubic-bezier(.22,.8,.25,1),gap .5s ease}#splitPage .layout>section:first-child{min-width:0;overflow:hidden;max-height:600px;transition:opacity .3s ease,transform .45s ease,max-height .5s ease,padding .5s ease,border-width .5s ease;transform-origin:left center}#splitPage .stage{transition:height .5s ease}#splitPage.focus .stats{max-height:0;opacity:0;transform:scale(.88);margin:0;pointer-events:none}#splitPage.focus .layout{grid-template-columns:minmax(0,0fr) minmax(0,1fr);gap:0}#splitPage.focus .layout>section:first-child{opacity:0;transform:scale(.8);max-height:0;padding:0;border-width:0;pointer-events:none}#splitPage.focus .stage{height:180px}#splitPage.focus #start{display:none}@media(max-width:800px){#splitPage .layout,#splitPage.focus .layout{grid-template-columns:minmax(0,1fr)}#splitPage .stats{max-height:700px}#splitPage.focus .stats{max-height:0}}@media(prefers-reduced-motion:reduce){#splitPage .stats,#splitPage .layout,#splitPage .layout>section:first-child,#splitPage .stage{transition:none}}#splitPage .layout{max-height:900px;opacity:1;transform-origin:top center;transition:grid-template-columns .5s ease,gap .5s ease,max-height .6s cubic-bezier(.22,.8,.25,1),opacity .4s ease,transform .5s ease;overflow:hidden}#splitPage.results .layout{max-height:0;opacity:0;transform:scale(.92);pointer-events:none}#resultActions{display:none;align-items:center;gap:8px;flex-wrap:wrap;margin:16px 0}#splitPage.results #resultActions{display:flex;animation:resultIn .5s ease both}@keyframes resultIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){#splitPage .layout{transition:none}#splitPage.results #resultActions{animation:none}}.ui-icon{width:1.15em;height:1.15em;vertical-align:-.22em;flex-shrink:0;display:inline-block;margin-right:.3em}aside h2 .ui-icon{color:#34d399}nav .ui-icon{width:18px;height:18px}.nav-button{display:block;width:100%;text-align:left;background:transparent;border:1px solid transparent;color:#94a3b8;margin-bottom:6px;padding:14px}.nav-button.active{background:#10302e;color:#34d399;border-color:#176451;border-left:4px solid #10b981}.layout{align-items:start}.setup{align-self:start}.deck .start-cover{top:0;right:0;bottom:0;left:0}.flying{transition:none;z-index:999}.members .tile{box-shadow:none}#splitPage .layout>section:first-child{max-height:600px}.list{max-height:160px;overflow:auto}.members{gap:5px;min-height:32px;align-content:start}.members .tile{min-height:30px;height:auto;padding:5px 8px;font-size:13px;font-weight:600;line-height:18px;border-radius:5px;box-shadow:none}.teams{align-items:start}.team{padding:14px}.team small{margin:4px 0 10px}.deck{width:230px;height:30px}.deck .tile,.tile.flying{height:30px;min-height:30px;padding:5px 8px;font-size:13px;font-weight:600;line-height:18px;border-radius:5px}.deck .tile{width:100%;height:auto;min-height:30px}.deck .start-cover{height:30px;min-height:30px;font-size:13px;padding:5px 8px;line-height:18px}.tile.flying{overflow-wrap:anywhere}:root{--card-width:230px;--card-height:30px}.deck{width:var(--card-width);height:var(--card-height);max-width:none}.deck .tile,.members .tile,.tile.flying,.deck .start-cover{box-sizing:border-box;width:var(--card-width);height:var(--card-height);min-height:var(--card-height);max-height:var(--card-height);padding:5px 8px;font-family:inherit;font-size:13px;font-weight:600;line-height:18px;letter-spacing:normal;border-radius:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;text-align:center}.members{grid-template-columns:var(--card-width);justify-content:center}.team{min-width:0;overflow-x:auto}#splitPage.results .layout{transform:none}.teams{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))}.team{overflow-x:visible;min-width:0}.members{grid-template-columns:minmax(0,1fr);justify-content:stretch;width:100%}.members .tile{width:100%;min-width:0}.deck{width:var(--card-width);max-width:none}.deck .tile,.deck .start-cover{width:100%}
