@font-face{font-family:system-local;src:local("Inter"),local("Segoe UI")}*{box-sizing:border-box}:root{font-family:system-local,Noto Sans JP,Yu Gothic UI,sans-serif;color:#e7ece7;background:#101715;font-synthesis:none;--bg:#101715;--panel:#171f1b;--line:#2c3730;--muted:#93a398;--accent:#ceef71;--ink:#152015}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{border:1px solid var(--line);background:#202b24;color:#e0e9df;min-height:40px;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:8px 12px;font-size:14px;cursor:pointer;transition:background .15s,border-color .15s}button:disabled{opacity:.32;cursor:default}@media(hover:hover){button:hover{background:#2d3a2e;border-color:#63765d}}input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:3px}button:focus-visible,a:focus-visible{outline:none}:root.kbd button:focus-visible,:root.kbd a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}button svg{width:18px;height:18px;flex-shrink:0}button.primary{background:var(--accent);border-color:var(--accent);color:var(--ink);font-weight:650}button.primary:hover{background:#def59e}input,select,textarea{background:#101813;color:#e5eae3;border:1px solid #364236;border-radius:6px;padding:10px 11px;width:100%;min-width:0;font-size:14px}select{cursor:pointer}textarea{resize:vertical;line-height:1.65}input[type=color]{padding:4px;min-height:41px;cursor:pointer}input[type=range]{padding:8px 0;accent-color:var(--accent);background:transparent;border:0}input[type=checkbox],input[type=radio]{width:17px;height:17px;flex:0 0 17px;accent-color:var(--accent)}.topbar{height:80px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:36px;padding:12px 26px;padding-top:max(12px,var(--safe-top));background:#131b17}.brand{display:flex;gap:10px;align-items:center;color:inherit;text-decoration:none;flex-shrink:0}.brand img{width:38px;height:44px}.brand>div{font-size:19px;line-height:1.05;letter-spacing:1.8px;font-weight:800}.brand>div span{display:block;font-size:13px;letter-spacing:4.1px;margin-top:4px;color:#c5d0be}.brand small{border-left:1px solid #394535;padding-left:18px;margin-left:8px;color:#82917d;font-size:10px;letter-spacing:2px;width:95px;line-height:1.8}.document-title{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}.document-title input{background:none;border:none;font-size:16px;font-weight:650;padding:0;border-radius:0;width:min(100%,360px)}#save-status{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:5px}#save-status:before{content:"";width:5px;height:5px;border-radius:50%;background:#a4c783}#save-status.bad{color:#ffb8a7}#save-status.bad:before{background:#ffb8a7}.header-actions{display:flex;gap:8px}.header-actions #save{border:none;background:transparent}.workspace{display:grid;grid-template-columns:76px minmax(0,1fr) 290px;min-height:calc(100dvh - 80px)}.tools{border-right:1px solid var(--line);background:#141c17;display:flex;flex-direction:column;align-items:center;padding:15px 8px;gap:5px}.tools button{width:56px;min-height:47px;padding:7px 0;border-color:transparent;background:transparent;flex-direction:column;gap:3px;border-radius:8px}.tools button span{font-size:10px;white-space:nowrap;color:#97a68f}.tools button svg{width:20px;height:20px}.tools button:hover{background:#25301f}.tools button.active{color:var(--accent);background:#2d3a21;border-color:#485a31}.tools button.active span{color:var(--accent)}.tool-separator{width:29px;height:1px;background:var(--line);margin:7px 0}.board-workspace{padding:23px 30px 20px;min-width:0;background:radial-gradient(ellipse at center,#1b2820,#101715 75%)}.board-top{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:13px}.eyebrow{display:block;font-size:10px;color:#8c9d83;letter-spacing:2.3px;font-weight:600}h1{font-size:21px;font-weight:600;margin:5px 0 0;letter-spacing:.03em}.board-actions{display:flex;align-items:center;gap:10px}#mode-badge{font-size:12px;border:1px solid #3c4936;border-radius:4px;padding:5px 8px;color:#acb8a6}#toggle-panel{display:none}.stage{height:clamp(440px,calc(100dvh - 350px),820px);min-height:0;position:relative;display:flex;align-items:center;justify-content:center;border:1px solid #29382a;border-radius:10px;background:radial-gradient(#253329 1px,transparent 1px);background-size:14px 14px;padding:16px 25px 30px;overflow:hidden}.pitch-shell{height:100%;max-width:100%;aspect-ratio:680 / 1050;box-shadow:0 10px 40px #0004;border-radius:3px;overflow:hidden;border:1px solid #607756}#pitch{display:block;width:100%;height:100%;touch-action:none;user-select:none;-webkit-user-select:none}#pitch [data-id]:focus-visible{outline:none;filter:drop-shadow(0 0 5px white)}.stage-controls{position:absolute;right:12px;bottom:12px;display:flex;align-items:center;border:1px solid #394a36;border-radius:7px;background:#141f18dd;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);overflow:hidden}.stage-controls button{border:none;background:none;border-radius:0;min-width:34px;min-height:32px;padding:5px;font-size:11px}.stage-controls button span{display:none}.stage-controls button svg{width:14px;height:14px}.stage-controls button:hover{background:#34432b}.pitch-legend{position:absolute;left:14px;bottom:16px;display:flex;align-items:center;gap:7px;font-size:10px;letter-spacing:.8px;color:#b4c3a8}.team-dot{height:7px;width:7px;border-radius:50%}.away-dot{margin-left:7px}.board-bottom{display:flex;justify-content:space-between;gap:10px;margin:10px 0 19px;font-size:11px;color:#84967e}.timeline{border-top:1px solid var(--line);padding-top:15px}.timeline-header{display:flex;align-items:center;gap:16px;margin-bottom:12px}.timeline-label{font-size:13px;font-weight:600;margin-right:auto}.timeline-label span{background:#26331f;color:#c8d4b8;border-radius:4px;padding:2px 6px;margin-left:6px;font-size:10px}.playback{display:flex;gap:5px}.playback button{padding:5px 9px;min-height:32px;font-size:12px}.playback select{width:65px;padding:5px 4px;font-size:12px}.playback button svg{width:14px;height:14px}#add-scene{min-height:32px;padding:5px 9px;font-size:12px;background:transparent}.scene-list{display:flex;gap:10px;overflow-x:auto;padding:2px 2px 8px;scrollbar-width:thin;scrollbar-color:#4c603d transparent}.scene-card{display:block;text-align:left;padding:6px;width:130px;min-width:130px;background:#182019;border:1px solid #303c2d;border-radius:7px}.scene-card.active{border-color:var(--accent);background:#27321f}.scene-thumb{height:73px;overflow:hidden;background:#213b2d;display:flex;align-items:center;justify-content:center;border-radius:3px;position:relative}.scene-thumb svg{height:100%;width:auto;transform:rotate(90deg) scale(1.5)}.scene-thumb>span{position:absolute;top:4px;left:4px;border:1px solid #ffffff30;border-radius:3px;background:#152316e0;padding:2px 5px;font-size:10px;color:#dde9d0}.scene-card-name{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:7px 1px 2px}.scene-card small{font-size:10px;color:#96a489;margin-left:1px}.inspector{scroll-padding-top:calc(var(--head-h,56px) + 12px);scroll-padding-bottom:64px;border-left:1px solid var(--line);background:#171f1a;overflow-y:auto;max-height:calc(100dvh - 80px);position:sticky;top:0;scrollbar-width:thin;scrollbar-color:#4c603d transparent}.inspector-heading{padding:22px 20px 15px;display:flex;align-items:center;justify-content:space-between}.inspector-heading h2{font-size:14px;margin:0;font-weight:600}.inspector-heading button{display:none}.inspector-section{padding:17px 20px;border-top:1px solid var(--line)}.section-title{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:600;color:#cbd5c3;margin-bottom:13px}.segmented{display:flex;padding:3px;background:#0e1711;border:1px solid #2e3c2a;border-radius:7px;margin-bottom:13px}.segmented button{flex:1;border:none;background:transparent;min-height:33px;font-size:12px;padding:4px;color:#9bab91}.segmented button.active{background:#303e25;color:#d7e6c6}.segmented i{width:7px;height:7px;border-radius:50%}.field{display:flex;flex-direction:column;gap:6px;margin-bottom:11px;font-size:12px;color:#a7b49c}.team-settings{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.formation-row{display:flex;gap:7px}.formation-row select{font-size:15px;letter-spacing:2px}.formation-row button{font-size:12px;white-space:nowrap}.micro{font-size:11px;color:#9ba994;line-height:1.65;margin:8px 0 0}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:8px}.two-col .field select{padding:9px 4px;font-size:12px}.wide{width:100%;font-size:12px;min-height:34px}.swatches{display:flex;gap:8px}.swatches button{min-width:25px;min-height:25px;width:25px;height:25px;border-radius:50%;padding:0;background:var(--swatch);border:3px solid #171f1a;outline:1px solid transparent}.swatches button.active{outline-color:#ecf5e2}.check-row{display:flex;align-items:center;gap:8px;font-size:12px;margin-top:13px;color:#bac6ae}.count-badge{font-size:10px;background:#38452d;padding:2px 6px;border-radius:4px;color:var(--accent)}.empty-selection{display:flex;align-items:center;gap:10px;color:#7d8e74;font-size:12px}.empty-selection svg{width:22px;height:22px}.empty-selection p{line-height:1.7;margin:5px 0}.player-fields{display:grid;grid-template-columns:60px 1fr;gap:8px}.danger{color:#f1a89c}.danger:hover{background:#462c27;border-color:#755043}.subtle{background:none;border:none;margin-top:8px}.scene-order{display:flex;gap:8px}.scene-order button{flex:1;font-size:12px;min-height:32px}.inspector-footer{font-size:10px;letter-spacing:1px;color:#8a9c7d;padding:20px;display:flex;flex-direction:column;gap:6px}.inspector-footer span{font-size:9px;color:#617357}.playing .tools,.playing .inspector,.playing #add-scene{pointer-events:none;opacity:.55}dialog{--pad:26px;scroll-padding-top:calc(var(--head-h,64px) + 14px);scroll-padding-bottom:88px;background:#18211a;border:1px solid #4e6042;border-radius:15px;color:#e1ead9;width:min(690px,calc(100vw - 28px));max-height:min(85dvh,calc(100dvh - var(--safe-top,0px) - var(--safe-bottom,0px) - 20px));padding:var(--pad);box-shadow:0 30px 150px #0008}dialog::backdrop{background:#050c09bc;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.modal-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.modal-heading h2{font-size:22px;margin:5px 0}.modal-heading button{padding:7px;min-width:36px;border:none;background:transparent}.modal-heading button span{display:none}.modal-note{font-size:14px;line-height:1.8;color:#aebda3;margin-bottom:22px}.new-project-form{display:grid;grid-template-columns:1fr 110px 110px;gap:8px;margin-bottom:20px}.project-library{display:grid;grid-template-columns:1fr 1fr;gap:12px}.project-card{border:1px solid #394832;position:relative;border-radius:8px;overflow:hidden;background:#202d21}.project-card>button:first-child{width:100%;padding:12px;background:none;border:none;justify-content:flex-start;gap:14px;text-align:left}.project-card svg{width:62px;height:92px;flex-shrink:0}.project-card>button>div{display:flex;flex-direction:column;gap:7px;min-width:0;padding-right:15px}.project-card strong{font-size:13px;overflow-wrap:anywhere}.project-card small{font-size:11px;color:#a1b295}.project-card>button:last-child{position:absolute;right:3px;bottom:5px;padding:6px;min-height:28px;background:transparent;border:none;color:#a2af98}.project-card>button:last-child svg{width:15px;height:15px}.import-button{display:flex;gap:8px;align-items:center;justify-content:center;border:1px dashed #506144;padding:14px;margin-top:20px;border-radius:7px;font-size:14px;cursor:pointer}.import-button svg{width:18px;height:18px}.export-options{display:flex;flex-direction:column;gap:10px}.export-option{justify-content:flex-start;padding:17px;font-size:15px}.modal-buttons{display:flex;gap:10px;justify-content:flex-end;margin-top:25px}.help-content{font-size:14px;line-height:1.8;color:#b9c8ad}.help-content h3{font-size:16px;color:#d2e4bf;margin-bottom:5px}.help-content p{margin-top:0}#toast{position:fixed;left:50%;bottom:max(24px,var(--safe-bottom));transform:translate(-50%,20px);max-width:calc(100vw - 36px);padding:13px 20px;background:#d5eea1;color:#1c2c14;box-shadow:0 5px 30px #0005;border-radius:9px;font-size:14px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;z-index:10}#toast.visible{opacity:1;transform:translate(-50%)}@media(min-width:1600px){.workspace{grid-template-columns:82px minmax(0,1fr) 330px}.board-workspace{padding-inline:55px}.stage{max-height:950px}.inspector-section{padding-inline:24px}}@media(max-width:1150px){.topbar{gap:22px;padding-inline:18px}.brand small{display:none}.workspace{grid-template-columns:68px minmax(0,1fr) 255px}.board-workspace{padding:20px 18px}.inspector-section{padding:15px}.tools{padding-inline:5px}.two-col{gap:6px}}@media(max-width:900px){.workspace{grid-template-columns:66px minmax(0,1fr)}.inspector{display:none}.inspector.open{display:block;position:fixed;right:0;top:80px;bottom:0;width:300px;max-height:calc(100dvh - 80px);z-index:5;box-shadow:-20px 0 60px #0007}.inspector-heading button{display:flex;min-height:30px;padding:3px;border:none}.inspector-heading button span{display:none}#toggle-panel{display:flex;min-height:32px;padding:5px 10px;font-size:12px}.stage{height:clamp(420px,calc(100dvh - 330px),900px)}.topbar{gap:20px}.header-actions #save{display:none}}@media(max-width:600px){.topbar{height:108px;padding:12px 14px 9px;display:grid;grid-template-columns:1fr auto;gap:8px 12px}.brand{gap:7px}.brand img{width:27px;height:31px}.brand>div{font-size:14px;letter-spacing:1.8px}.brand>div span{font-size:9px;letter-spacing:3.7px;margin-top:3px}.header-actions{grid-column:2;grid-row:1;gap:6px}.header-actions button{padding:8px;min-height:36px}.header-actions button span{display:none}.header-actions #export{padding-inline:10px}.document-title{grid-column:1 / -1;grid-row:2;flex-direction:row;align-items:center;justify-content:space-between;gap:10px}.document-title input{font-size:14px;max-width:64%}#save-status{font-size:10px;white-space:nowrap}.workspace{display:flex;flex-direction:column;min-height:calc(100dvh - 108px)}.tools{order:2;position:sticky;bottom:0;flex-direction:row;flex-wrap:nowrap;overflow-x:auto;align-items:center;justify-content:flex-start;padding:6px 8px max(6px,var(--safe-bottom));border-right:0;border-top:1px solid #3c4c32;gap:3px;z-index:4;scrollbar-width:none;background:#172019f5;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.tools button{flex:0 0 46px;width:46px;min-height:48px}.tools button span{font-size:9px}.tools button svg{width:19px;height:19px}.tool-separator{min-width:1px;width:1px;height:29px;margin:0 5px}.board-workspace{padding:13px 10px 8px;flex:1}.board-top{margin:0 3px 10px}.eyebrow{font-size:8px;letter-spacing:1.8px}h1{font-size:17px;margin-top:4px}.board-actions{gap:6px}#mode-badge{font-size:10px;padding:4px 6px}#toggle-panel{min-height:34px;padding:6px 8px}#toggle-panel span{font-size:11px}.stage{height:clamp(390px,calc(100dvh - 370px),690px);padding:10px 12px 27px;border-radius:7px}.pitch-shell{border:none}.pitch-legend{font-size:9px;left:10px;bottom:10px;gap:5px}.stage-controls{bottom:6px;right:7px}.stage-controls button{min-height:29px;min-width:29px}.board-bottom{font-size:10px;margin:8px 1px 12px}.board-bottom #object-count{display:none}.timeline{padding-top:10px}.timeline-header{gap:8px;margin-bottom:calc(8px + max(var(--banner-space,0px),var(--safe-bottom)))}.timeline-label{font-size:12px}.timeline-label span{font-size:9px}.playback button{min-height:34px}.playback button span{display:none}.playback select{width:51px;font-size:11px}#add-scene{font-size:10px;min-height:34px;padding-inline:7px}#add-scene svg{width:13px;height:13px}.scene-list{gap:7px;padding-bottom:4px}.scene-card{width:106px;min-width:106px;padding:5px}.scene-thumb{height:54px}.scene-card-name{font-size:10px;margin-top:5px}.scene-card small{font-size:9px}.inspector.open{top:108px;max-height:calc(100dvh - 108px);width:min(330px,100vw)}.inspector-heading{position:sticky;top:0;background:#171f1a;z-index:1}.inspector input,.inspector textarea,.inspector select{font-size:16px}.inspector .two-col select{font-size:13px}dialog{--pad:18px;padding:var(--pad);max-height:min(90dvh,calc(100dvh - var(--safe-top,0px) - var(--safe-bottom,0px) - 16px))}.modal-heading h2{font-size:20px}.new-project-form{grid-template-columns:1fr 110px}.new-project-form input{grid-column:1 / -1}.project-library{grid-template-columns:1fr}.modal-note{font-size:13px}.modal-buttons{flex-wrap:wrap}#toast{font-size:13px;bottom:85px;width:max-content}.board-workspace input{font-size:16px}}@media(max-height:600px)and (min-width:601px){.topbar{height:62px}.workspace{min-height:calc(100dvh - 62px)}.stage{height:360px}.inspector{max-height:calc(100dvh - 62px)}.tools{gap:1px}.tools button{min-height:34px}.tools button span{display:none}.board-workspace{padding-top:12px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}@media(max-width:600px){.topbar{height:calc(108px + var(--safe-top));padding-top:calc(12px + var(--safe-top));padding-left:max(14px,env(safe-area-inset-left));padding-right:max(14px,env(safe-area-inset-right))}.workspace{min-height:calc(100dvh - 108px - var(--safe-top))}.inspector.open{top:calc(108px + var(--safe-top));max-height:calc(100dvh - 108px - var(--safe-top))}}.reserve-list{display:grid;gap:5px;margin-top:9px}.reserve-list button{justify-content:flex-start;text-align:left;font-size:13px}.reserve-list strong{color:var(--accent);min-width:25px}.reserve-list span{overflow-wrap:anywhere}#toggle-bench{min-height:32px;padding:5px 8px;font-size:12px}@media(max-width:600px){#toggle-bench span{display:none}#toggle-bench{min-height:34px}}html{height:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%}body{position:fixed;inset:0;height:100%;overflow:hidden}#app{height:100%;overflow:hidden}#app{display:flex;flex-direction:column;height:100%}.topbar{height:56px;min-height:56px;padding:8px 16px;gap:22px}.brand img{width:28px;height:34px}.brand>div{font-size:15px}.brand>div span{font-size:10px}.brand small{display:none}.workspace{grid-template-columns:64px minmax(0,1fr);min-height:0;flex:1;overflow:hidden}.board-workspace{padding:0;display:flex;flex-direction:column;min-height:0;overflow:hidden}.board-top{margin:0;padding:5px 12px;min-height:38px}.scene-heading .eyebrow{display:none}h1{font-size:15px;margin:0}.inspector{display:none}.inspector.open{display:block;position:fixed;right:0;top:56px;bottom:0;width:300px;max-height:calc(100dvh - 56px);z-index:5;box-shadow:-15px 0 50px #0008}.inspector-heading button{display:flex}.inspector-heading button span{display:none}#toggle-panel{display:flex;padding:4px 8px;min-height:30px;font-size:12px}.stage{height:auto;min-height:0;max-height:none;flex:1;padding:0;border:0;border-radius:0;background:#244d3d}.pitch-shell{width:100%;height:100%;max-width:none;box-shadow:none;border:0;border-radius:0}.board-bottom{display:none}.tools{overflow-y:auto;min-height:0;padding:5px 4px;gap:2px}.tools button{min-height:40px;width:52px}.tools button span{font-size:9px}.timeline{flex-shrink:0;padding:6px 10px 3px;background:#151f18}.timeline-header{margin:0;gap:8px;min-height:36px}.timeline.collapsed .scene-list{display:none}.scene-list{padding-top:8px;max-height:125px}#toggle-scenes{font-size:12px;min-height:32px;padding:4px 8px}.pitch-legend{bottom:9px;left:12px}.stage-controls{bottom:6px;right:8px}#formation-phases,.stage-controls,.tactic-pill-wrap,.tactic-pill-wrap button{touch-action:none}#formation-phases.moved,.stage-controls.moved{overflow:visible}#formation-phases.dragging,.stage-controls.dragging,.tactic-pill-wrap.dragging{opacity:.9;cursor:grabbing}.overlay-reset{position:absolute;top:-9px;right:-9px;z-index:1;display:grid;place-items:center;width:20px;min-width:20px;height:20px;min-height:20px;padding:0;border-radius:999px;border:1px solid #718e53aa;background:#15251e;color:#becdb4;box-shadow:0 2px 6px #0006}.overlay-reset svg{width:12px;height:12px}.overlay-reset:hover{background:#24331d;color:#eaf5df}@media(max-width:600px){.topbar{height:calc(50px + var(--safe-top));min-height:calc(50px + var(--safe-top));display:flex;gap:8px;padding:calc(6px + var(--safe-top)) 9px 6px}.brand{display:none}.document-title{flex:1;display:flex;flex-direction:column;align-items:flex-start;gap:2px}.document-title input{max-width:100%;font-size:14px}.header-actions{display:flex}.header-actions button{min-height:34px}.workspace{display:flex;min-height:0}.board-workspace{padding:0}.board-top{min-height:35px;padding:3px 8px}.scene-heading h1{font-size:13px}.stage{height:auto;min-height:0;max-height:none;padding:0}.tools{flex-shrink:0;position:static;overflow-x:auto;overflow-y:hidden;padding:3px 6px max(3px,var(--safe-bottom))}.tools button{min-height:44px;width:44px;flex-basis:44px}.timeline{padding:3px 6px}.timeline-header{gap:5px;min-height:35px}.timeline-label{display:none}#toggle-scenes{font-size:10px;min-height:32px}#toggle-scenes svg{display:none}.playback{margin-right:auto}.scene-list{max-height:105px}.scene-thumb{height:45px}.inspector.open{top:calc(50px + var(--safe-top));max-height:calc(100dvh - 50px - var(--safe-top))}}.tools{user-select:none;-webkit-user-select:none;scrollbar-width:thin;scrollbar-color:#8fba62 #172019;overscroll-behavior:contain}.tools{--rail-bg:#141c17}#app.compact .tools{--rail-bg:#17211b}.tools .rail-pinned{position:sticky;z-index:3;flex:0 0 auto;background:var(--rail-bg)}.tools .rail-pinned[aria-pressed=true]{border-color:var(--accent);color:var(--accent);background:#2d3a21;font-weight:650}.tools .rail-pinned:disabled{opacity:1;cursor:default}.tools .rail-pinned:after{content:"";position:absolute;background:#3f5139}.tools .rail-pinned{top:0;left:0;margin-bottom:8px;box-shadow:0 -15px 0 var(--rail-bg)}.tools .rail-pinned:after{left:5px;right:5px;bottom:-5px;height:1px}@media(max-width:600px){.tools .rail-pinned{margin-bottom:0;margin-right:9px;box-shadow:-15px 0 0 var(--rail-bg)}.tools .rail-pinned:after{inset:5px -5px 5px auto;width:1px;height:auto}}#app.compact .rail-pin .rail-pinned{margin:0;width:32px;min-width:32px;flex:0 0 32px;min-height:32px;padding:0;border-radius:999px;background:transparent;border-color:transparent}#app.compact .rail-pin .rail-pinned svg{width:17px;height:17px}#app.compact .rail-pin .rail-pinned span{display:none}#app.compact .rail-pin .rail-pinned[aria-pressed=true]{background:#2d3a21;border-color:var(--accent)}#app.compact .rail-pin .rail-pinned:after{content:none}.tools::-webkit-scrollbar{height:7px;width:7px}.tools::-webkit-scrollbar-thumb{background:#8fba62;border-radius:6px}@media(max-width:600px){.tools{touch-action:pan-x;cursor:grab;min-height:61px}.tools button{flex-shrink:0}.tools{-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 24px),transparent);mask-image:linear-gradient(to right,#000 calc(100% - 24px),transparent)}#app.compact .tools{-webkit-mask-image:none;mask-image:none}}.account-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.account-actions a{color:#ceef71;font-size:13px}.plan-option{margin:8px 8px 8px 0}.plan-status{color:#ceef71;font-weight:700}#account-body form{margin:16px 0}#account-body hr{border:0;border-top:1px solid #3c4936;margin:20px 0}#grant-list{font-size:12px;overflow-wrap:anywhere}@media(max-width:600px){#account-button{padding:5px;font-size:11px}#account-button span{display:inline}}.tools,.tools button{cursor:grab}.tools.scroll-dragging,.tools.scroll-dragging button{cursor:grabbing}.account-feedback{padding:12px;border:1px solid #719a48;border-radius:8px;background:#23351c;color:#e6f7d5;line-height:1.7;overflow-wrap:anywhere}.account-feedback.error{background:#40251f;border-color:#b46d5c;color:#ffe1d8}:root{--banner-space:0px}#app{height:calc(100% - var(--banner-space))}:root.touring.tour-foot #app{height:calc(100% - var(--tour-dock))}:root.touring.tour-side #app{width:calc(100% - var(--tour-dock))}:root.touring.tour-side .topbar{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}:root.touring.tour-side .topbar::-webkit-scrollbar{display:none}:root.touring.tour-side .header-actions{flex-wrap:nowrap;align-items:center}:root.touring.tour-side .header-actions button{flex:0 0 auto}:root.touring.tour-side .header-actions button span{white-space:nowrap}:root.touring.tour-side .inspector.open{right:var(--tour-dock)}:root.touring.tour-side #inspector.open.object-panel{right:calc(var(--tour-dock) + 8px)}:root.touring.tour-side #toast{right:calc(var(--tour-dock) + 12px)}:root.touring.tour-side dialog[open]{margin-right:calc(var(--tour-dock) + 8px);max-width:calc(100vw - var(--tour-dock) - 24px)}#banner-area{position:fixed;bottom:0;left:0;right:0;height:var(--banner-space);background:#101715;z-index:6;padding:1px 8px}.banner-slot{display:flex;align-items:flex-start;justify-content:center;overflow:hidden}#banner-area[hidden]{display:none}.banner-controls{display:flex;align-items:center;justify-content:flex-end;gap:8px;height:20px;font-size:10px}.banner-controls button{font-size:10.5px;min-height:20px;padding:1px 7px}.banner-controls span{margin-right:auto;font-size:10px;letter-spacing:.04em;color:#8a9c7d}#banner-close{width:20px;min-width:20px;height:20px;min-height:20px;padding:0;display:grid;place-items:center;border:0;background:none;color:#8a9c7d;font-size:17px;line-height:1}#banner-close:hover,#banner-close:focus-visible{background:#ffffff14;color:#cfdcc3}body:has(#banner-area:not([hidden])) .inspector.open:not(.object-panel){bottom:var(--banner-space);max-height:calc(100dvh - 60px - var(--banner-space))}body:has(#banner-area:not([hidden])) #toast{bottom:calc(var(--banner-space) + 70px)}#banner-privacy[hidden]{display:none}#language-settings{min-width:36px;min-height:36px;padding:7px;flex-shrink:0}#language-settings span{display:none}#language-settings svg{width:19px;height:19px}.board-actions{flex-shrink:0}#mode-badge{white-space:nowrap}.scene-heading{min-width:0}.scene-heading h1{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.help-guide details{border-top:1px solid var(--line);padding:12px 0}.help-guide summary{cursor:pointer;font-size:15px;font-weight:600;line-height:1.6;padding:5px 0;overflow-wrap:anywhere}.help-guide summary:focus-visible{outline:none}:root.kbd .help-guide summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.help-guide p{overflow-wrap:break-word;line-break:strict}.help-guide summary{display:flex;align-items:center;gap:10px;list-style:none}.help-guide summary::-webkit-details-marker{display:none}.help-no{flex:0 0 auto;display:grid;place-items:center;width:24px;height:24px;border-radius:8px;background:#32482f;color:#dcefc2;font-size:11px;font-weight:700}.help-guide details[open] .help-no{background:var(--accent);color:#1b2a17}.help-summary-title{min-width:0}.help-body{padding:4px 0 2px 34px;max-width:36em;font-size:13px;line-height:1.9;color:#bdcfae}.help-body p.help-lead{margin:2px 0 16px;font-size:14px;line-height:1.9;color:#e8f2dd}.help-body p{margin:0 0 20px}.help-body>:last-child{margin-bottom:0}.help-s{display:block}.help-s+.help-s{margin-top:7px}.help-steps{margin:0 0 20px;padding:0;list-style:none;display:grid;gap:7px}.help-steps li{display:flex;align-items:flex-start;gap:10px;padding:9px 12px 9px 13px;border-left:2px solid #5d7d4e;border-radius:0 8px 8px 0;background:#1b271c;line-height:1.85;color:#cfdec2;overflow-wrap:break-word}.help-step-no{flex:0 0 auto;margin-top:2px;display:grid;place-items:center;width:20px;height:20px;border-radius:6px;background:#32482f;color:#dcefc2;font-size:11px;font-weight:700}.help-step-body{flex:1 1 auto;min-width:0}.help-keys li{display:flex;flex-wrap:wrap;gap:3px 10px;align-items:baseline}.help-key{flex:0 1 auto;min-width:0;padding:1px 7px;border-radius:6px;background:#2b3d27;color:#dcefc2;font-size:12px;font-weight:700;overflow-wrap:break-word}.help-key-do{flex:1 1 11em;min-width:0}.help-note{margin:-12px 0 20px;font-size:12px;color:#a8bd98}.help-figure{margin:2px 0 20px;padding:10px;border:1px solid var(--line);border-radius:12px;background:#16211a}.help-figure svg{display:block;width:100%;height:auto}.help-figure figcaption{margin-top:8px;font-size:11px;line-height:1.8;color:#a3b894}.fig-pitch rect{fill:#22402f;stroke:#6f8f64;stroke-width:1.2}.fig-pitch path,.fig-pitch circle{fill:none;stroke:#6f8f64;stroke-width:1.2}.fig-chip circle{fill:var(--accent);stroke:#1b2a17;stroke-width:1.5}.fig-chip.away circle{fill:#f18fa1}.fig-chip text{font-size:11px;font-weight:700;fill:#1b2a17;text-anchor:middle}.fig-arrow{fill:none;stroke:var(--accent);stroke-width:1.8}.fig-arrow.dashed{stroke:#9fb98c;stroke-dasharray:4 3}.fig-tip{fill:var(--accent)}.fig-box{fill:#1b281e;stroke:#4d6549;stroke-width:1.1}.fig-tag{font-size:10px;font-weight:700;fill:#9fb98c;text-anchor:middle}.fig-glyph{color:var(--accent)}.fig-marquee{fill:#ceef711f;stroke:var(--accent);stroke-width:1.3;stroke-dasharray:5 4}.fig-ball{fill:#fff;stroke:#1b2a17;stroke-width:1.2}.fig-gaze{fill:var(--accent)}.fig-bench{fill:#1b281e;stroke:#6f8f64;stroke-width:1.2;stroke-dasharray:5 4}@media(max-width:600px){.help-body{padding-left:0}}.help-restart{margin-bottom:12px}.help-tour{margin:0 0 16px;padding:14px;border:1px solid #9bb46566;border-radius:16px;background:linear-gradient(140deg,#2d3f27,#18291f)}.help-tour[hidden],#tutorial-tour[hidden]{display:none}.help-tour h3{margin:0 0 6px;font-size:15px;color:#e6f2d5}.help-tour-note{margin:0 0 12px;font-size:11px;line-height:1.75;color:#b5c8a6}.help-tour-list{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:6px;counter-reset:none}.help-tour-list button{width:100%;justify-content:flex-start;text-align:left;gap:10px;min-height:42px;padding:7px 11px;background:#1d2d22;border-color:#4d6549;font-size:13px}.help-tour-list button:hover,.help-tour-list button:focus-visible{background:#26392b;border-color:var(--accent)}.help-tour-no{flex:0 0 auto;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#37503a;color:#dcefc2;font-size:11px;font-weight:700}.help-tour-title{min-width:0;overflow-wrap:anywhere}.help-tour-flag{margin-left:auto;flex:0 0 auto;font-size:10px;letter-spacing:.04em;color:#9fb98c}.tutorial-lead{font-size:14px;line-height:1.7;margin:0 0 16px}.tutorial-steps{list-style:none;counter-reset:tutorial-step;margin:0;padding:0;display:grid;gap:10px}.tutorial-steps li{counter-increment:tutorial-step;position:relative;padding:12px 14px 12px 48px;border:1px solid var(--line);border-radius:10px;background:#1c2719}.tutorial-steps li:before{content:counter(tutorial-step);position:absolute;left:14px;top:12px;width:24px;height:24px;border-radius:50%;background:var(--accent);color:#16200f;font-weight:700;font-size:13px;display:grid;place-items:center}.tutorial-steps h3{margin:0 0 4px;font-size:15px}.tutorial-steps p{margin:0;font-size:13px;line-height:1.7;overflow-wrap:anywhere}.tutorial-more{margin:12px 0 0;padding:12px 14px;border:1px solid #8fb45f66;border-radius:10px;background:linear-gradient(140deg,#2b3d24,#18261d);font-size:13px;line-height:1.7;overflow-wrap:anywhere}.tutorial-more strong{display:block;margin-bottom:3px;font-size:13px;color:var(--accent)}.tutorial-actions{display:grid;gap:8px;margin:18px 0 10px}.timeline-header{flex-wrap:wrap}.ball-follow-switch{display:inline-flex;align-items:center;gap:5px;position:relative;cursor:pointer;font-size:11px;white-space:nowrap;min-height:36px}.ball-follow-switch input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}.switch-track{width:34px;height:20px;border-radius:12px;background:#65706a;pointer-events:none;transition:background .15s;flex-shrink:0}.switch-track:after{content:"";display:block;width:16px;height:16px;border-radius:50%;background:#fff;margin:2px;transition:transform .15s}.ball-follow-switch input:checked+.switch-track{background:#83ac39}.ball-follow-switch input:checked+.switch-track:after{transform:translate(14px)}.ball-follow-switch input:focus-visible+.switch-track{outline:none}:root.kbd .ball-follow-switch input:focus-visible+.switch-track{outline:2px solid #ceef71;outline-offset:3px}.ball-follow-switch:has(input:disabled){opacity:.5}.player-fields{grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);align-items:stretch;margin-bottom:12px}.player-fields .field{min-width:0;margin:0;display:flex;flex-direction:column;gap:6px}.player-fields .field>span{flex:1;display:flex;align-items:flex-end;min-height:2.6em;line-height:1.3;overflow-wrap:anywhere}.player-fields input{width:100%;min-width:0;height:42px;box-sizing:border-box}.roster-list{display:grid;gap:8px;margin-top:16px}.roster-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:6px;align-items:center}.roster-row>span,.roster-row>button:first-child{overflow-wrap:anywhere;text-align:left;min-width:0}.roster-row button{font-size:12px;padding:8px}.roster-list:empty{display:none}.roster-list .roster-row[hidden],.group-transfer .group-player[hidden]{display:none}.timeline-switches{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.scene-buttons{display:flex;gap:5px;align-items:center;margin-left:auto;flex-shrink:0}@media(max-width:600px){.timeline-switches{gap:8px;order:2;width:100%}.scene-buttons{order:1}}#reset-facing{width:auto;min-width:0;min-height:28px;padding:4px;gap:2px;font-size:10px;white-space:nowrap;flex-shrink:0}#reset-facing span{display:inline}#reset-facing svg{width:12px;height:12px}.timeline-switches{gap:6px;flex-wrap:nowrap;max-width:100%;overflow-x:auto}.timeline-switches .ball-follow-switch{flex-shrink:0}@media(max-width:600px){.timeline-switches{gap:6px}.timeline-switches .ball-follow-switch{font-size:10px;gap:4px}}#role-suggest{position:fixed;inset:auto;margin:0;padding:3px;max-height:172px;overflow:auto;overscroll-behavior:contain;background:#1b2a20;border:1px solid #55684c;border-radius:9px;box-shadow:0 12px 30px #0009}#role-suggest.more-below{box-shadow:0 12px 30px #0009,inset 0 -16px 13px -13px #000d}#role-suggest.more-above{box-shadow:0 12px 30px #0009,inset 0 16px 13px -13px #000d}#role-suggest.more-above.more-below{box-shadow:0 12px 30px #0009,inset 0 16px 13px -13px #000d,inset 0 -16px 13px -13px #000d}#role-suggest::backdrop{background:transparent}#role-suggest button{display:flex;align-items:center;justify-content:flex-start;width:100%;min-height:27px;height:27px;padding:2px 7px;border:0;border-radius:6px;background:transparent;color:#dcead0;font-size:12px;font-weight:600;text-align:start;line-height:1}#role-suggest button+button{margin-top:1px}#role-suggest .role-word-short{flex:0 0 3.4em;text-align:start}#role-suggest .role-word-name{color:#9bb08f;font-weight:500;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#role-suggest [data-defaults] button{gap:8px}#role-suggest .role-pane{overflow:hidden;max-height:640px;opacity:1;transition:max-height .24s ease,opacity .18s ease}#role-suggest .role-pane.shut{max-height:0;opacity:0}#role-suggest .role-more{color:#a9c28f;font-size:11px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border-top:1px solid #3c4c36;border-radius:0;margin-top:2px;padding-top:4px;min-height:24px;height:auto}#role-suggest[data-mode=always] .role-pane[data-defaults]{border-top:1px solid #3c4c36;margin-top:3px;padding-top:3px}@media(prefers-reduced-motion:reduce){#role-suggest .role-pane{transition:none}}.role-unsaved{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 12px;padding:8px 10px;border:1px solid #8c6a6a;border-radius:9px;background:#2a1a1a;color:#f3ddd6}.role-unsaved button{min-height:30px;padding:4px 10px;font-size:12px}.role-unsaved[hidden]{display:none}.setup-saved{display:flex;align-items:center;gap:8px;margin:0 0 12px;padding:8px 10px;border:1px solid #8ca65c66;border-radius:9px;background:#ceef7114;color:#d8f39b;font-weight:600}.setup-saved[hidden]{display:none}.team-library-dialog [data-save].said{background:#e7f8b4;color:#1b2b17}.role-editor>.micro{margin:0 0 10px;line-height:1.75}.role-editor .role-mode{border:1px solid var(--line);border-radius:10px;padding:8px 12px 12px;margin:20px 0 0}.role-editor .role-mode+.role-mode{margin-top:14px}.role-editor .role-words{margin-top:20px}.role-editor .role-mode legend{padding:0 6px;font-size:12px;color:var(--muted)}.role-editor .role-mode .check-row{margin:6px 0;align-items:flex-start;line-height:1.5}.count-note{display:flex;gap:9px;align-items:flex-start;margin:0 0 14px!important;padding:10px 12px;border:1px solid #c08a4e;border-radius:10px;background:#3a2a1680;color:#ffdcae!important;font-size:13px!important;font-weight:600;line-height:1.65!important}.count-note:before{content:"!";display:grid;place-items:center;flex:0 0 19px;height:19px;border-radius:50%;background:#e2a85c;color:#2a1c08;font-size:12px;font-weight:800;margin-top:1px}.role-words{display:grid;gap:6px;padding:2px}.role-word{display:grid;grid-template-columns:4.5em minmax(0,1fr) auto auto auto;gap:6px;align-items:center}.role-word input{text-align:center;font-weight:700;letter-spacing:.5px}.role-word input[data-name]{text-align:left;font-weight:500;letter-spacing:0}@media(max-width:560px){.role-word{grid-template-columns:3.2em minmax(0,1fr) auto auto auto;gap:4px}}.role-word button{min-height:36px;min-width:36px;padding:0;font-size:15px}.role-word button.danger{color:#f0b9b9}@media(max-width:560px){.role-word button{min-width:30px;width:30px;min-height:34px;font-size:14px}.role-word input[data-word]{padding-inline:4px}}.role-empty{margin:6px 2px}.role-word-add{display:flex;gap:8px;margin-top:12px}.role-word-add button{flex:1}@media(hover:hover){#role-suggest button:hover{background:#2f4030}}#role-suggest button:active{background:#374b36}.timeline-switches #ball-follow-label{font-size:9px}.project-card>button>div{padding-right:38px}.project-card [data-copy-project],.project-card [data-delete-project]{position:absolute;right:8px;bottom:auto;width:32px;height:32px;min-height:32px;padding:7px;border:1px solid transparent;border-radius:8px;background:transparent;color:#a1b295;display:flex;align-items:center;justify-content:center;transition:background .15s,color .15s}.project-card [data-copy-project]{top:calc(50% - 35px)}.project-card [data-delete-project]{top:calc(50% + 3px)}.project-card [data-copy-project] svg,.project-card [data-delete-project] svg{width:16px;height:16px}.project-card [data-copy-project]:hover,.project-card [data-copy-project]:focus-visible{background:#ceef711a;color:#ceef71}.project-card [data-delete-project]:hover{background:#ff81911a;color:#ff8191}#inspector .inspector-section[hidden],#inspector #manage-roster[hidden]{display:none}#toggle-scenes.active{background:#ceef71;color:#17220e;border-color:#ceef71}#inspector.open.object-panel{bottom:auto;right:8px;width:min(300px,calc(100vw - 16px));height:auto;max-height:calc(100dvh - 120px - var(--banner-space,0px));border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 32px #0006}#inspector.object-panel .inspector-footer{display:none}#inspector.open.object-panel{top:var(--object-panel-top);max-height:var(--object-panel-height)}#inspector.open.object-panel.folded{max-height:none;height:auto;overflow:visible;left:var(--object-panel-left);right:auto;width:min(272px,calc(100vw - 16px))}#inspector.object-panel.folded>.inspector-section{display:none!important}#inspector.object-panel.folded>.selection-section{display:flex!important;padding:0 9px 8px;gap:5px}#inspector.object-panel.folded>.selection-section>*{display:none!important}#inspector.object-panel.folded>.selection-section>.player-fields{display:grid!important;gap:5px}#inspector.object-panel.folded>.selection-section>#pick-roster,#inspector.object-panel.folded>.selection-section>#register-player{display:flex!important;margin:0}#inspector.object-panel.folded .inspector-heading{position:static;padding:5px 8px 3px;cursor:grab;touch-action:none}#inspector.object-panel.folded .inspector-heading button{touch-action:manipulation}#inspector.object-panel.folded .inspector-heading:active{cursor:grabbing}#inspector.object-panel.folded .inspector-heading h2{font-size:12px}#inspector.object-panel.folded .inspector-heading button{min-height:26px;height:26px;width:26px;min-width:26px;padding:0}#inspector.object-panel.folded .panel-fold{width:20px!important;min-width:20px!important;height:22px!important;min-height:22px!important;margin-right:3px}#inspector.object-panel.folded .field{gap:1px}#inspector.object-panel.folded .field>span{font-size:9px;letter-spacing:0}#inspector.object-panel.folded input{min-height:28px;height:28px;padding-block:2px;font-size:13px}#inspector.object-panel.folded>.selection-section>button{min-height:27px;height:27px;padding:0 8px;font-size:11px;gap:5px;justify-content:flex-start}#inspector.object-panel.folded>.selection-section>button svg{width:14px;height:14px}#inspector.object-panel.folded>.selection-section>button span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.inspector-heading .panel-fold{display:grid;place-items:center;width:24px;height:24px;min-height:24px;padding:0;margin-right:6px;border:0;background:none;color:var(--dim);cursor:pointer}.inspector-heading .panel-fold:hover{background:none;color:#e9f2e6}.inspector-heading h2{margin-right:auto}.inspector-heading .player-step{display:flex;gap:2px;margin-right:4px}.inspector-heading .player-step button.step{width:30px;min-width:30px;height:30px;min-height:30px;padding:0;place-items:center}.inspector-heading .player-step button.back svg{transform:scaleX(-1)}.scene-buttons button#delete-selected{width:30px;min-width:30px;flex:0 0 30px;padding:0;place-items:center;color:#e0a9a9;margin-right:6px}.scene-buttons #delete-selected span{display:none}.scene-buttons #delete-selected svg{display:block;width:16px;height:16px}@media(hover:hover){.scene-buttons #delete-selected:hover:not(:disabled){background:#ffffff0f;border-color:#8c6a6a;color:#f0b9b9}}.scene-buttons #delete-selected.active,.scene-buttons #delete-selected.active:hover{background:#ff8191;border-color:#ff8191;color:#2a1418}.tools button{padding-inline:3px;height:auto}.tools button span{max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.2;text-align:center}.timeline-switches{min-width:0;flex-shrink:1;padding-block:2px}.timeline-switches .switch-track{flex-shrink:0}.scene-buttons{min-width:0;max-width:100%}.scene-buttons button{min-width:0;font-size:11px;padding-inline:6px}.scene-buttons button span{white-space:normal;overflow-wrap:anywhere;line-height:1.25;min-width:0}#inspector .field{min-width:0}#inspector .field>span,#inspector .section-title,#inspector button span{overflow-wrap:anywhere;white-space:normal}#inspector .two-col{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}#inspector .two-col button{min-width:0;padding-inline:6px;font-size:12px}#inspector button svg{flex-shrink:0}@media(max-width:900px){.tools button{width:auto;min-width:46px;max-width:94px;flex:0 0 auto}.tools button span,.timeline-switches .ball-follow-switch,#reset-facing{font-size:9px}}#dialog.roster-picker{width:min(320px,calc(100vw - 24px));--pad:14px;padding:var(--pad);max-height:70dvh}#dialog.roster-picker .modal-heading{margin-bottom:calc(8px + max(var(--banner-space,0px),var(--safe-bottom)))}#dialog.roster-picker h2{font-size:16px}.roster-picker-list{display:grid;gap:4px}.roster-picker-list button{width:100%;justify-content:flex-start;text-align:left;min-height:34px;padding:5px 10px;gap:10px}.roster-picker-number{min-width:3ch;color:var(--accent)}.roster-picker-list button span{overflow-wrap:anywhere;min-width:0}#dialog.roster-picker::backdrop{background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}#dialog.roster-picker{position:fixed;inset:auto;margin:0;left:var(--picker-left);top:var(--picker-top);width:min(288px,calc(100vw - 24px));max-height:var(--picker-max-height);background:#2b4034;border:1px solid #789579;border-radius:12px;box-shadow:0 8px 24px #07110b66;color:#f1f6ed}#dialog.roster-picker .roster-picker-group{margin:0 0 8px;font-size:11px;line-height:1.6;color:#9fb98c;overflow-wrap:anywhere}#dialog.roster-picker .roster-picker-list button{background:#354e3e;border:1px solid #526e56;color:#f1f6ed;border-radius:8px}#dialog.roster-picker .roster-picker-list button:hover,#dialog.roster-picker .roster-picker-list button:focus-visible{background:#466348;border-color:#ceef71}.scene-buttons :is(#scene-undo,#scene-redo,#delete-selected){width:36px;min-width:36px;min-height:36px;padding:7px;flex:0 0 36px}.scene-buttons :is(#scene-undo,#scene-redo) span{display:none}.scene-buttons :is(#scene-undo,#scene-redo) svg{display:block;width:20px;height:20px}.board-actions{min-width:0;gap:4px}.board-actions #toggle-panel,.board-actions #pitch-settings{font-size:10px;padding:5px 6px;min-width:0;max-width:150px;line-height:1.2}.board-actions #toggle-panel span,.board-actions #pitch-settings span{white-space:normal;overflow-wrap:anywhere}.board-actions #toggle-panel svg,.board-actions #pitch-settings svg{display:none}.board-actions #drawing-settings{width:34px;min-width:34px;padding:6px}.board-actions #drawing-settings span{display:none}.board-actions #drawing-settings svg{width:20px;height:20px}.board-actions #toggle-panel,.board-actions #pitch-settings{width:60px;max-width:60px;min-width:60px;height:46px;min-height:46px;padding:2px;flex:0 0 60px;border-radius:6px;font-size:7px;line-height:1.25}.board-actions #toggle-panel span,.board-actions #pitch-settings span{white-space:pre-line;overflow-wrap:normal}.board-actions #pitch-settings{font-size:9px}.scene-heading{min-width:0;flex:1}#scene-heading{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.header-actions #language-settings{width:32px;min-width:32px;min-height:34px;padding:6px}.formation-label{display:block;font-size:12px;color:var(--muted);margin:12px 0 6px}.field-label{display:block;font-size:12px;color:var(--muted);margin:2px 0 6px}.segmented.shirt-shows{margin-bottom:6px}.segmented.shirt-shows+.micro{margin-top:0}.player-fields.three{grid-template-columns:minmax(0,.5fr) minmax(0,.6fr) minmax(0,1.5fr)}#inspector.object-panel.folded>.selection-section>.player-fields.three{grid-template-columns:44px 52px minmax(0,1fr);gap:4px}#inspector.object-panel.folded>.selection-section>.player-fields.three input{padding-inline:5px;text-align:center}#inspector.object-panel.folded>.selection-section>.player-fields.three .field:last-child input{text-align:start}.roster-editor-card .player-fields.three{grid-template-columns:minmax(0,.55fr) minmax(0,.7fr) minmax(0,1.6fr);gap:10px}#dialog.roster-picker .roster-picker-list .roster-role-tag,.roster-pick-option .roster-role-tag{margin-left:auto}.roster-twins{flex-shrink:0;min-height:0;padding:1px 7px;border-radius:999px;font-size:10px;background:#d8a05a1f;border:1px solid #d8a05a55;color:#e3b887}.roster-preview-keep{display:flex;align-items:center;gap:6px;font-size:11px;color:#cfe0bf;flex-shrink:0}.roster-preview-keep input{flex:0 0 auto}.same-names{display:grid;gap:6px;margin:12px 0 4px;max-height:40dvh;overflow:auto}.same-name{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:10px;background:#ffffff06;border:1px solid #ffffff12}.same-name input{flex:0 0 auto}.same-name-who{display:flex;flex-direction:column;gap:2px;min-width:0}.same-name-who strong{font-size:14px;overflow-wrap:anywhere}.same-name-who small{font-size:11px;color:var(--muted)}.roster-role-tag{flex-shrink:0;font-size:10px;font-weight:700;letter-spacing:.04em;padding:2px 6px;border-radius:5px;background:#9cb7681f;border:1px solid #9cb76840;color:#c4d9a6}.segmented.line-styles,.segmented.line-widths,.segmented.line-ends{gap:3px}.segmented.line-styles button,.segmented.line-widths button,.segmented.line-ends button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:44px;padding:5px 2px}.line-preview{width:100%;max-width:46px;height:11px;color:currentColor}.segmented.line-styles button span,.segmented.line-widths button span,.segmented.line-ends button span{font-size:10px;line-height:1;white-space:nowrap}.segmented.line-ends button{padding-inline:0}.segmented.line-ends button span{font-size:9px;letter-spacing:-.02em}.segmented.line-ends .line-preview{max-width:40px}.line-width-fine{padding:2px 2px 8px}.line-width-fine input[type=range]{width:100%;margin:0}#flip-players+#manage-roster{margin-top:8px}#inspector #flip-players[hidden]{display:none}.board-actions #toggle-panel,.board-actions #pitch-settings{width:36px;min-width:36px;max-width:36px;height:36px;min-height:36px;flex:0 0 36px;padding:6px}.board-actions #toggle-panel span,.board-actions #pitch-settings span{display:none}.board-actions #toggle-panel svg,.board-actions #pitch-settings svg{display:block;width:22px;height:22px}.scene-buttons{align-items:stretch}.scene-buttons :is(#scene-undo,#scene-redo,#delete-selected){min-height:0;height:auto;align-self:stretch}.board-actions :is(#toggle-panel,#pitch-settings,#drawing-settings){width:40px;min-width:40px;max-width:40px;height:42px;min-height:42px;flex:0 0 40px;flex-direction:column;gap:2px;padding:3px 1px}.board-actions :is(#toggle-panel,#pitch-settings,#drawing-settings) span{display:block;white-space:nowrap;font-size:7px;line-height:1.1;letter-spacing:-.2px}.board-actions :is(#toggle-panel,#pitch-settings,#drawing-settings) svg{display:block;width:20px;height:20px}#account-body.upgrade-only>:not(.upgrade-content):not(#account-feedback){display:none}.upgrade-notice{padding:14px;border:1px solid #6f8544;border-radius:10px;background:#24321e;margin-bottom:14px}.upgrade-notice h3{margin:0 0 8px;color:#ceef71}.upgrade-notice p{font-size:13px;line-height:1.6}.upgrade-notice .upgrade-howto{margin-top:8px;padding:10px 12px;border-radius:8px;background:#1a2617;border:1px solid #4d6330}.upgrade-content #plans{display:grid;gap:10px;margin:16px 0}.upgrade-content .plan-option{width:100%;white-space:normal}.upgrade-notice .upgrade-reset{margin-top:12px;padding:12px;border-radius:8px;background:#2a1d1d;border:1px solid #7a4a44}.upgrade-notice .upgrade-reset>p{margin:0 0 10px;color:#f0cfc9}.upgrade-notice .upgrade-reset-confirm{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.upgrade-notice .upgrade-reset-confirm p{flex:1 1 100%;margin:0 0 4px;color:#f6b8ae}.upgrade-notice .upgrade-reset-confirm button{flex:1 1 120px;min-height:44px}.compact-picker{min-width:0;width:100%}.compact-picker>[hidden]{display:none!important}.picker-trigger{width:100%;justify-content:flex-start;min-height:44px;background:#111c17;border-color:#3b4d3e;font-variant-numeric:tabular-nums}.picker-trigger>svg{width:22px;height:28px}.picker-trigger>span:not(.picker-chevron){font-size:13px;font-weight:650;letter-spacing:.5px}.picker-chevron{margin-left:auto;color:var(--muted)}.picker-trigger>i{width:22px;height:22px;border-radius:50%;box-shadow:inset 0 0 0 1px #ffffff30;flex-shrink:0}.picker-popup{position:fixed;inset:auto;margin:0;padding:14px;background:#19271f;color:#e7ece7;border:1px solid #506348;border-radius:15px;box-shadow:0 14px 45px #0008;overflow:auto}.picker-popup::backdrop{background:transparent}.picker-title{font-size:12px;color:#b7c5b4;font-weight:650;margin-bottom:12px}.formation-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.formation-option{flex-direction:column;gap:5px;padding:9px 3px;font-size:12px;background:#111c17;border-radius:9px}.formation-option svg{width:32px;height:40px}.compact-picker svg rect,.compact-picker svg path{fill:none;stroke:currentColor;stroke-width:1;opacity:.3}.compact-picker svg circle{fill:currentColor;stroke:none}.formation-option[aria-pressed=true]{background:#ceef7119;border-color:var(--accent);color:var(--accent)}.team-color-options{display:grid;grid-template-columns:repeat(6,1fr);gap:7px}.team-color-options button{padding:0;min-height:32px;width:32px;height:32px;border-radius:50%;background:var(--color);border:3px solid #19271f;box-shadow:0 0 0 1px #ffffff20}.team-color-options button[aria-pressed=true]{box-shadow:0 0 0 2px var(--accent)}.custom-team-color{margin-top:14px;border-radius:8px;width:100%;height:34px}.team-settings .compact-picker .picker-trigger{padding:8px;justify-content:center;height:41px;min-height:41px}.team-settings .compact-picker .picker-trigger>span{display:none}.formation-row>.compact-picker{min-width:0}.formation-row>.compact-picker .picker-trigger{white-space:nowrap}.formation-row>#apply-formation{white-space:nowrap;flex-shrink:0}.picker-popup .custom-team-color{font-size:14px;min-height:34px}.custom-color-toggle{width:100%;margin-top:14px;gap:9px;font-size:12px}.custom-color-toggle i{width:20px;height:20px;border-radius:6px;border:1px solid #ffffff40}.custom-color-editor{margin-top:12px;padding:12px;background:#101c15;border:1px solid #415344;border-radius:10px}.custom-color-editor[hidden]{display:none!important}.custom-color-editor label{display:flex;align-items:center;gap:10px;font-size:11px;margin:7px 0}.custom-color-editor input[type=range]{min-width:0;width:100%;accent-color:var(--accent)}.custom-color-editor input[type=text]{width:100%;font-family:monospace;font-size:13px;letter-spacing:1px}.picker-title:has(.color-picker-close){display:flex;align-items:center;justify-content:space-between;gap:12px}.color-picker-close{width:32px;height:32px;min-height:32px;padding:0;border-radius:50%;font-size:23px;line-height:1;background:#ffffff0a;color:#e7ece7}.size-slider{display:block;position:relative;z-index:0;min-width:0;padding-bottom:0}.size-slider input{display:block;width:100%;height:28px;margin:0;padding:0;appearance:none;background:transparent}.size-slider input::-webkit-slider-runnable-track{height:4px;border-radius:2px;background:#849675}.size-slider input::-webkit-slider-thumb{appearance:none;width:16px;height:16px;margin-top:-6px;border-radius:50%;background:#d0ef75;position:relative;z-index:2}.size-slider input::-moz-range-track{height:4px;border-radius:2px;background:#849675}.size-slider input::-moz-range-thumb{width:16px;height:16px;border:0;border-radius:50%;background:#d0ef75}.size-stops{position:absolute;top:14px;left:8px;right:8px;height:0;pointer-events:none}.size-stops>span{position:absolute;width:10px;height:10px;border-radius:50%;background:#c9ed70;transform:translate(-50%,-50%)}.size-stops small{position:absolute;top:15px;left:50%;transform:translate(-50%);color:#c9ed70;font-size:9px;line-height:12px;white-space:nowrap}.layout-save-control{position:absolute;top:8px;right:8px;z-index:3}.layout-save-control button{font-size:10px;min-height:28px;padding:4px 7px;background:#15281ee6;gap:4px}.layout-save-control svg{width:14px;height:14px}#restore-layout{margin-top:12px}.board-workspace{position:relative}.access-lock{display:none}.access-locked .access-lock{display:flex;position:absolute;inset:0;z-index:30;background:#142019;align-items:center;justify-content:center;flex-direction:column;gap:16px}.access-lock-note{margin:-4px 0 0;max-width:min(420px,calc(100vw - 48px));text-align:center;line-height:1.7;color:#b3c3a6}.free-project-choice{grid-column:1/-1;display:flex;align-items:center;gap:8px;padding:8px;font-size:12px}.selection-section .field:has(.size-slider){margin-top:18px;gap:10px;font-size:12px;font-weight:600;color:#cbd5c3}.team-library-dialog{width:min(880px,calc(100vw - 24px))}.group-transfer{display:grid;grid-template-columns:minmax(0,1fr) 44px minmax(0,1fr);gap:10px;margin-top:16px}.group-transfer section{min-width:0;border:1px solid var(--line);border-radius:8px;padding:10px}.group-transfer h3{font-size:13px;margin:0 0 10px}.group-transfer section>div{max-height:45dvh;overflow:auto}.group-player{display:flex;gap:8px;align-items:center;padding:10px 4px;overflow-wrap:anywhere;font-size:13px}.group-player input{flex-shrink:0}.group-arrows{display:flex;flex-direction:column;justify-content:center;gap:10px}.formation-slot-list{display:grid;gap:12px;max-height:58dvh;overflow:auto}.formation-slot{display:grid;grid-template-columns:1fr 2fr 1fr 2fr;gap:10px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:8px}.formation-slot .field{margin:0}.formation-slot strong{font-size:12px}#formation-setup,#save-custom-formation,#delete-custom-formation,#manage-groups{margin-top:12px}#roster-group{margin-top:4px}@media(max-width:600px){.formation-slot{grid-template-columns:1fr 1fr}.formation-slot strong{grid-column:1/-1}.formation-slot .field:last-child{grid-column:1/-1}.group-transfer{gap:5px;grid-template-columns:minmax(0,1fr) 36px minmax(0,1fr)}.group-arrows button{padding:4px}.group-transfer section{padding:6px}}#delete-custom-formation[hidden],#rename-custom-formation[hidden],#update-custom-formation[hidden],#update-custom-formation-note[hidden]{display:none}.formation-editor{display:grid;grid-template-columns:minmax(220px,1fr) minmax(180px,.8fr);gap:24px;align-items:center}.formation-pitch{display:flex;align-items:flex-start;gap:8px;min-width:0}.formation-pitch>.formation-preview{flex:1 1 auto;min-width:0;transition:flex-basis .22s ease}.formation-pitch.bench-wide>.formation-benchlane{flex-basis:190px}@media(prefers-reduced-motion:reduce){.formation-pitch>.formation-preview,.formation-benchlane{transition:none}}.formation-benchlane{flex:0 0 110px;transition:flex-basis .22s ease;align-self:stretch;display:flex;flex-direction:column;align-items:center;gap:7px;padding:7px 5px;border:1px solid #73925d66;border-radius:16px;background:linear-gradient(180deg,#1d3627,#14261c);box-shadow:inset 0 0 22px #0a170f66}.formation-benchlane .bench-seats{display:grid;grid-template-columns:minmax(0,1fr);gap:7px 4px;width:100%}.formation-benchlane.two .bench-seats{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 4px}.formation-benchlane.small .bench-seats{gap:5px 3px}.formation-benchlane.small .bench-seat{gap:2px;padding:1px 0}.formation-benchlane.small .bench-chip{width:22px;height:22px;border-width:1.5px;box-shadow:0 2px 5px #07140b66}.formation-benchlane.small .bench-seat small{font-size:9px;line-height:1.25}.formation-benchlane.row .bench-seats{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 3px}.formation-benchlane.row .bench-seat{flex-direction:row;align-items:center;gap:4px;padding:0}.formation-benchlane.row .bench-chip{width:18px;height:18px;border-width:1.5px;box-shadow:none}.formation-benchlane.row .bench-seat small{flex:1;min-width:0;text-align:left;-webkit-line-clamp:2;font-size:7px;line-height:1.15;max-height:18px;letter-spacing:-.2px}.formation-benchlane.row .bench-seat small.long{font-size:6px;line-height:1.25;letter-spacing:-.3px}.formation-benchlane .bench-top{display:flex;align-items:center;justify-content:space-between;gap:6px;width:100%;flex:0 0 auto}.formation-benchlane .bench-head{font-size:10px;letter-spacing:.08em;color:#a8bd97;flex:0 0 auto}.formation-benchlane .bench-tools{display:flex;gap:5px;flex:0 0 auto}.team-library-dialog .formation-benchlane .bench-tools button{width:30px;height:30px;min-height:30px;min-width:30px;padding:0;border-radius:50%;font-size:17px;line-height:1;flex:0 0 auto}.team-library-dialog .formation-benchlane .bench-drop{color:#ffd3c9;border-color:#9c615366;background:#3b241f}.team-library-dialog .formation-benchlane .bench-drop:disabled{opacity:.3}.team-library-dialog .formation-benchlane .bench-drop.active{background:#b5452f;border-color:#e08a74;color:#fff;box-shadow:0 0 0 3px #e08a7433}.formation-benchlane .bench-head.dropping{color:#f0a492;font-weight:700}.formation-benchlane:has(.bench-drop.active) .bench-chip{border-color:#e08a7488}.team-library-dialog .bench-seat{display:flex;flex-direction:column;align-items:center;gap:3px;width:100%;min-height:0;padding:3px 0;background:transparent;border:0;flex:0 0 auto}.bench-seat .bench-chip{display:grid;place-items:center;width:var(--chip,30px);height:var(--chip,30px);flex:0 0 auto;border-radius:50%;background:var(--team-color,var(--accent));color:#142019;border:2px solid #172a1e;font-size:var(--chip-font,9px);font-weight:700;box-shadow:0 3px 7px #07140b66}.bench-chip>i{font-style:normal;display:block;line-height:1;transform:scale(var(--chip-ink,1));transform-origin:center}.bench-seat small{max-width:100%;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere;white-space:normal;text-align:center;font-size:var(--chip-name,10px);line-height:1.25;color:#d7e4cc}.bench-seat small.long{font-size:calc(var(--chip-name,10px) - 1px);letter-spacing:-.2px}.bench-seat[aria-pressed=true] .bench-chip{outline:2px solid #edfbcf;outline-offset:3px}.bench-seat[aria-pressed=true] small{color:#eaf6cf}.formation-preview{position:relative;width:100%;aspect-ratio:1/1.25;max-height:58dvh;border-radius:16px;background:repeating-linear-gradient(0deg,#244c3b 0% 10%,#295340 10% 20%);overflow:hidden;border:1px solid #6c9078}.mini-field-lines{position:absolute;inset:5%;border:1px solid #b3cbbb88}.mini-field-lines:before{content:"";position:absolute;top:50%;left:0;width:100%;border-top:1px solid #b3cbbb88}.mini-field-lines:after{content:"";position:absolute;width:28%;aspect-ratio:1;top:50%;left:50%;border:1px solid #b3cbbb88;border-radius:50%;transform:translate(-50%,-50%)}.formation-dot{position:absolute;transform:translate(-50%,-50%);width:34px;height:34px;min-height:34px;padding:0;border-radius:50%;background:var(--team-color);color:#142019;border:2px solid #10271c;display:grid;place-items:center;font-size:11px;font-weight:800;overflow:visible}.formation-dot[aria-pressed=true]{outline:3px solid white;outline-offset:3px}.formation-names{position:absolute;inset:0;z-index:0;pointer-events:none}.formation-name{position:absolute;transform:translate(-50%,16px);max-width:76px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#fff;font-size:10px;text-shadow:0 1px 2px #000;background:#10271cbb;border-radius:3px;padding:0 3px}.formation-preview .formation-dot{z-index:1}.formation-dot small{pointer-events:none;position:absolute;top:36px;left:50%;transform:translate(-50%);max-width:80px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#fff;font-size:10px;text-shadow:0 1px 2px #000;background:#10271cbb;border-radius:3px;padding:0 3px}.formation-detail{display:grid;gap:12px}.formation-detail h3{margin:0;color:#ceef71}.formation-detail .field{margin:0}@media(max-width:600px){.formation-editor{grid-template-columns:1fr;gap:12px}.formation-pitch{max-width:340px;justify-self:center;width:100%;margin-inline:auto}.formation-preview{max-height:40dvh}.formation-detail{grid-template-columns:minmax(0,1fr) 58px 66px}.formation-detail h3,.formation-detail .field:last-child{grid-column:1/-1}.formation-dot{width:28px;height:28px;min-height:28px;font-size:10px}.formation-dot small{top:29px;max-width:66px}.formation-name{transform:translate(-50%,13px);max-width:62px;font-size:9px}}.mini-field-lines i{position:absolute;left:27%;width:46%;height:15%;border:1px solid #b3cbbb88}.mini-field-lines i:first-child{top:0;border-top:0}.mini-field-lines i:last-child{bottom:0;border-bottom:0}#inspector .inspector-section:has(#formation){display:flex;flex-direction:column;gap:10px}#inspector .inspector-section:has(#formation)>button.wide{margin:0;width:100%}#inspector .inspector-section:has(#formation)>.micro{margin:0 0 6px;line-height:1.7}#inspector .inspector-section:has(#formation)>.segmented{margin-bottom:0}#inspector .inspector-section:has(#formation)>.field-label,#inspector .inspector-section:has(#formation)>.formation-label{margin:0 0 -7px}#inspector .inspector-section:has(#formation)>.team-settings .field{margin-bottom:0}#inspector .inspector-section:has(#formation)>.field{margin:0}.formation-preview{background:#244c3b}.panel-parts{display:flex;flex-direction:column;gap:2px;margin:10px 0 14px}.panel-parts .check-row{display:flex;align-items:center;gap:10px;padding:7px 2px;line-height:1.5}#inspector #drawing-hold{display:flex;flex-direction:column;gap:10px}#inspector #drawing-hold>button.wide{margin:0;width:100%}#inspector #drawing-hold>.micro{margin:0;line-height:1.7}.roster-pick-trigger{width:100%;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;border-radius:12px;background:#24382b;border:1px solid #71884b;color:#e3edce;text-align:left}.roster-pick-popup{position:fixed;z-index:60;margin:0;padding:16px;max-height:min(420px,70dvh);overflow:auto;background:#192c22;color:#e4eddb;border:1px solid #71884b;border-radius:18px;box-shadow:0 18px 60px #0008}.roster-pick-popup[hidden]{display:none}.roster-pick-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.roster-pick-heading button{border:0;background:transparent;font-size:22px;padding:4px 10px}.roster-pick-popup input{width:100%;margin-bottom:12px;border-radius:10px}.narrow-pick{margin:0 0 10px}.narrow-pick[hidden]{display:none}.narrow-trigger{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;min-height:38px;border-radius:11px;background:#24382b;border:1px solid #71884b;color:#e3edce;font-size:12.5px;text-align:left}.narrow-trigger>span:first-child{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.narrow-trigger .picker-chevron{flex:0 0 auto;color:var(--muted);transition:transform .15s}.narrow-trigger[aria-expanded=true] .picker-chevron{transform:rotate(180deg)}.narrow-list{display:grid;gap:4px;margin-top:6px;max-height:min(230px,36dvh);overflow:auto;padding:6px;border-radius:12px;background:#ffffff06;border:1px solid #ffffff14}.narrow-list[hidden]{display:none}.narrow-option{width:100%;justify-content:flex-start;text-align:left;padding:8px 11px;min-height:36px;border-radius:9px;font-size:12.5px;background:#ffffff05;border:1px solid transparent;color:#dbe7cf}.narrow-option[aria-pressed=true]{background:#ceef7115;border-color:#8ca65c;color:#d8f39b;font-weight:650}.roster-pick-popup{display:flex;flex-direction:column;overflow:hidden}.roster-pick-popup.rise{transform-origin:bottom center;animation:pick-rise .2s ease-out}.roster-pick-popup.fall{transform-origin:top center;animation:pick-rise .2s ease-out}@keyframes pick-rise{0%{transform:scaleY(.82);opacity:0}to{transform:none;opacity:1}}@media(prefers-reduced-motion:reduce){.roster-pick-popup.rise,.roster-pick-popup.fall{animation:none}}.roster-pick-from{margin:0 0 8px;color:#a9bb9c}.roster-pick-from[hidden],.roster-pick-popup[hidden]{display:none}.roster-pick-popup>[data-pick-list]{flex:0 1 auto;min-height:0;overflow:auto}.roster-pick-head{flex:0 0 auto}.roster-pick-head .roster-pick-heading,.roster-pick-head input[type=search]{margin-bottom:10px}#dialog.roster-picker[open]{display:flex;flex-direction:column;overflow:hidden}#dialog.roster-picker #dialog-content{display:flex;flex-direction:column;flex:0 1 auto;min-height:0}#dialog.roster-picker .roster-picker-head{flex:0 0 auto}#dialog.roster-picker .roster-picker-list{flex:0 1 auto;min-height:0;overflow:auto}.roster-pick-option{width:100%;display:flex;align-items:center;gap:12px;text-align:left;padding:10px;border-radius:12px;margin-top:6px;background:#25382c;border:1px solid transparent}.roster-pick-option[aria-pressed=true]{border-color:#ceef71;background:#33472c}.roster-role{display:grid;place-items:center;min-width:36px;height:36px;border-radius:50%;background:#ceef71;color:#19251b;font-size:12px;font-weight:700}.roster-tick{margin-left:auto;color:#ceef71}.formation-roster-field{grid-column:1/-1}.team-library-dialog{--pad:24px;border:1px solid #536644;border-radius:22px;padding:var(--pad);background:linear-gradient(145deg,#203126,#14221a);box-shadow:0 24px 80px #0008}.team-library-dialog .modal-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;gap:16px}.team-library-dialog .modal-heading h2{font-size:20px;letter-spacing:.025em;margin:0}.team-library-dialog .modal-heading button{border-radius:50%;width:36px;height:36px;padding:0;font-size:22px;background:#ffffff08}.team-library-dialog .modal-buttons{display:flex;justify-content:flex-end;gap:12px;margin-top:22px;padding-top:18px;border-top:1px solid #ffffff12}.team-library-dialog .modal-buttons button{border-radius:12px;padding:11px 18px}.team-library-dialog .modal-buttons [data-clear]{color:#ffdcd3;border-color:#9c6153;background:#57332b}.team-library-dialog .modal-buttons [data-clear]:hover{background:#6b3e33;border-color:#c08674}.team-library-dialog .group-transfer section{background:#10211988;border:1px solid #65805055;border-radius:16px;padding:14px}.team-library-dialog .group-transfer h3{color:#d2e7b1;font-size:13px;padding-bottom:12px;border-bottom:1px solid #ffffff10}.team-library-dialog .group-player{background:#ffffff05;border:1px solid transparent;border-radius:10px;margin:6px 0;padding:12px 8px;cursor:pointer}.team-library-dialog .group-player:has(input:checked){background:#ceef7115;border-color:#a0bc66}.team-library-dialog input[type=checkbox]{accent-color:#ceef71;width:18px;height:18px}.team-library-dialog .group-arrows button{border-radius:12px;color:#ceef71}.team-library-dialog .roster-row{background:#ffffff06;border-radius:12px;padding:12px;margin-top:8px}.team-library-dialog .formation-detail{border:1px solid #ffffff10;background:#ffffff04;padding:18px;border-radius:16px}@media(max-width:600px){.team-library-dialog{--pad:16px}.team-library-dialog .group-transfer section{padding:8px}.team-library-dialog .formation-detail{padding:14px}.team-library-dialog .modal-heading,#dialog:not(.tour-open) .modal-heading{margin-bottom:12px}.team-library-dialog .modal-heading h2,#dialog:not(.tour-open) .modal-heading h2{font-size:17px;margin:0}.team-library-dialog .modal-heading button,#dialog:not(.tour-open) .modal-heading button{width:32px;height:32px;min-height:32px;font-size:19px}.team-library-dialog .field,#dialog:not(.tour-open) .field{font-size:12px;gap:4px}.team-library-dialog .field input,.team-library-dialog .field select,.team-library-dialog input[type=text],.team-library-dialog input[type=search],#dialog:not(.tour-open) .field input,#dialog:not(.tour-open) .field select,#dialog:not(.tour-open) input[type=text],#dialog:not(.tour-open) input[type=search]{min-height:36px;font-size:14px;padding:6px 10px}.team-library-dialog button,#dialog:has(#roster-save) button,#dialog:not(.tour-open) .modal-buttons button{min-height:36px;font-size:13px}.team-library-dialog .micro,#dialog:not(.tour-open) .micro{font-size:11.5px;line-height:1.65}.team-library-dialog h3,#dialog:not(.tour-open) h3{font-size:13px}.team-library-dialog .formation-editor{gap:12px}.team-library-dialog .formation-detail{padding:10px;gap:7px}.team-library-dialog .formation-detail-head{margin-bottom:0}.team-library-dialog .formation-roster-field{gap:6px}.team-library-dialog .formation-roster-field>span{margin:0}#dialog:has(#roster-save) .roster-editor-card{padding:8px;margin:8px 0 12px;border-radius:12px}#dialog:has(#roster-save) .roster-editor-card .player-fields{gap:6px;margin-bottom:8px}#dialog:has(#roster-save) .roster-editor-card .field{margin:0;gap:2px;font-size:11px}#dialog:has(#roster-save) .roster-editor-card .field>span{min-height:0;line-height:1.3}#dialog:has(#roster-save) .roster-editor-card input{min-height:32px;height:32px;line-height:1.2;padding:3px 9px;border-radius:9px}#dialog:has(#roster-save) #roster-save{min-height:34px}#dialog:has(#roster-save) .modal-note{margin-bottom:12px}}.team-library-dialog .modal-heading,#dialog:not(.tour-open):not(.roster-picker) .modal-heading{position:sticky;top:0;z-index:4;background:#203126;box-shadow:0 -28px #203126,0 8px 12px -8px #0005}.team-library-dialog .modal-heading,#dialog:not(.tour-open):not(.roster-picker) .modal-heading,.group-picker-popup .picker-title{margin-inline:calc(-1 * var(--pad,0px));padding-inline:var(--pad,0px)}#roster-group[hidden]{display:none}.group-picker-trigger{width:100%;border-radius:12px;padding:12px;gap:10px}.group-picker-trigger>span:not(.picker-chevron){flex:1;min-width:0;overflow-wrap:anywhere;text-align:left}.group-picker-trigger svg,.group-picker-option svg{width:24px;height:24px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7}.group-picker-popup{border-radius:16px;--pad:12px;padding:var(--pad)}.group-picker-popup .picker-title{display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:2;margin:0 0 10px;padding:2px 0 8px;background:#19271f;box-shadow:0 -12px #19271f,0 8px 10px -8px #000a}.group-picker-close{border:0;background:transparent;padding:2px 8px;font-size:22px}.group-picker-option{display:flex;align-items:center;width:100%;gap:10px;padding:12px;margin-top:6px;border-radius:10px;text-align:left;background:#ffffff05;border:1px solid transparent}.group-picker-option>span:not(.group-picker-check){flex:1;overflow-wrap:anywhere}.group-picker-option[aria-pressed=true]{background:#ceef7115;border-color:#8ca65c;color:#d8f39b}.group-picker-check{width:16px}#dialog:has(#roster-save){width:min(660px,calc(100vw - 24px));border:1px solid #536644;border-radius:22px;padding:24px;background:linear-gradient(145deg,#203126,#14221a);box-shadow:0 24px 80px #0008}#dialog:has(#roster-save) .modal-heading{margin-bottom:18px}#dialog:has(#roster-save) h2{font-size:22px;letter-spacing:.025em}#dialog:has(#roster-save) .modal-note{font-size:12px;line-height:1.8;color:#b5c4af;margin:0 0 18px}#dialog:has(#roster-save) #roster-status{font-size:12px;color:#cde99b;margin:12px 0}#dialog:has(#roster-save) #roster-sync,#dialog:has(#roster-save) #roster-import{font-size:12px;border-radius:10px;margin:0 6px 10px 0;padding:9px 12px}.roster-editor-card{background:#ffffff05;border:1px solid #ffffff12;border-radius:16px;padding:18px;margin:16px 0 22px}.roster-editor-card .player-fields{display:grid;grid-template-columns:minmax(90px,.6fr) minmax(0,1.4fr);gap:14px}.roster-editor-card .field{margin:0 0 14px;font-size:12px;color:#c5d2b8}.roster-editor-card input{border-radius:10px;min-height:44px;background:#102018}.roster-editor-card #roster-save{width:100%;border-radius:11px;min-height:42px}#dialog:has(#roster-save) .roster-list{gap:10px}#dialog:has(#roster-save) .roster-row{background:#ffffff04;border:1px solid #ffffff0c;border-radius:14px;padding:12px;gap:8px}#dialog:has(#roster-save) .roster-row.is-editing{border-color:#a6c66c;background:#ceef710b}.roster-identity{display:flex;gap:12px;align-items:center;min-width:0}.roster-avatar{display:grid;place-items:center;width:40px;height:40px;flex-shrink:0;border-radius:50%;background:#ceef711c;border:1px solid #9cb76866;color:#d8f296;font-size:12px;font-weight:800}.roster-identity strong{font-size:14px;font-weight:600;overflow-wrap:anywhere}#dialog:has(#roster-save) .roster-row button{border-radius:9px;min-height:36px;padding:7px 10px}#dialog:has(#roster-save) [data-roster-delete]{background:transparent;color:#dea69f;border-color:#b16b6033}#dialog:has(#roster-save) .roster-edit-card{grid-column:1/-1;margin:7px 0 1px;animation:roster-grow .18s ease}.roster-edit-actions{display:flex;gap:8px}#dialog:has(#roster-save) .roster-edit-actions button{flex:1;min-width:0;width:auto}@keyframes roster-grow{0%{opacity:0;transform:translateY(-7px)}to{opacity:1;transform:none}}@keyframes roster-flash{0%,to{background:#ffffff04;border-color:#ffffff0c}40%{background:#ceef7124;border-color:#b7d87a}}#dialog:has(#roster-save) .roster-row.just-saved{animation:roster-flash .85s ease-in-out 2}@media(prefers-reduced-motion:reduce){#dialog:has(#roster-save) .roster-row.just-saved{animation:none;background:#ceef7118;border-color:#9cb768}}@media(prefers-reduced-motion:reduce){#dialog:has(#roster-save) .roster-edit-card{animation:none}}@media(max-width:480px){#dialog:has(#roster-save){--pad:18px;padding:var(--pad)}.roster-editor-card{padding:14px}.roster-identity{gap:8px}.roster-avatar{width:32px;height:32px}.roster-identity strong{font-size:13px}#dialog:has(#roster-save) .roster-row{padding:10px;gap:5px}#dialog:has(#roster-save) .roster-row button{padding:7px 8px}}.team-library-dialog:has(.formation-editor){width:min(940px,calc(100vw - 24px));background:linear-gradient(135deg,#213529,#111f18 65%);border-color:#607851}.team-library-dialog:has(.formation-editor) .modal-heading{padding-bottom:16px;border-bottom:1px solid #c8e69b18}.team-library-dialog:has(.formation-editor) .modal-heading h2{font-size:21px;font-weight:700;letter-spacing:.04em}.team-library-dialog:has(.formation-editor)>.micro{margin:0 0 18px;color:#b4c4aa;line-height:1.7}.formation-editor{gap:22px;align-items:stretch}.formation-preview{background:radial-gradient(ellipse at 50% 35%,#355b43,#244832 60%,#1c3829);border:1px solid #73925d66;border-radius:20px;box-shadow:inset 0 0 45px #071a1433,0 10px 24px #08130c33}.formation-dot{width:36px;height:36px;min-height:36px;font-size:9px;border-color:#172a1e;box-shadow:0 3px 7px #07140b66;transition:box-shadow .15s,outline-color .15s}.formation-dot[aria-pressed=true]{outline:2px solid #edfbcf;outline-offset:5px;box-shadow:0 0 0 9px #d7f49712,0 4px 12px #06110980}.formation-dot small{top:42px;font-size:10px;font-weight:600;line-height:1.5;background:#11291de6;border:1px solid #a2c17c33;padding:2px 7px;border-radius:6px;max-width:108px}.team-library-dialog .formation-detail{align-self:center;gap:18px;padding:22px;background:linear-gradient(150deg,#ffffff07,#ffffff02);border:1px solid #b4d18f22;border-radius:18px}.formation-detail h3{font-size:15px;letter-spacing:.035em;border-bottom:1px solid #b4d18f22;padding-bottom:14px}.formation-detail .field{gap:8px;font-size:12px;color:#b5c7a9}.formation-detail input{min-height:46px;background:#0f2018;border:1px solid #80966a44;border-radius:11px;padding:11px 13px;font-size:15px;color:#edf3e6}.formation-detail input:focus{outline:2px solid #c4e97877;outline-offset:1px;border-color:#b2d577}.formation-detail .roster-pick-trigger{min-height:46px;background:#31442b;border-color:#8ca96566;font-size:13px}.team-library-dialog:has(.formation-editor) [data-save]{min-width:116px;background:#ceef71;color:#17241a;font-weight:700;box-shadow:0 4px 16px #c3e76b14}.team-library-dialog:has(.formation-editor) [data-clear]{color:#c0cdb6;background:transparent;border-color:#a1b58b33}@media(max-width:600px){.team-library-dialog:has(.formation-editor){padding:16px}.team-library-dialog:has(.formation-editor) .modal-heading h2{font-size:18px}.formation-editor{gap:16px}.team-library-dialog .formation-detail{padding:10px;gap:8px;width:100%;box-sizing:border-box}.team-library-dialog .formation-detail h3{font-size:13px;padding-bottom:8px}.team-library-dialog .formation-detail .field{gap:3px}.team-library-dialog .formation-detail .roster-pick-trigger{min-height:38px}.formation-dot{width:29px;height:29px;min-height:29px;font-size:8px}.formation-dot small{top:33px;font-size:9px;padding:1px 4px;max-width:85px}.formation-dot[aria-pressed=true]{outline-offset:3px;box-shadow:0 0 0 6px #d7f49712,0 3px 8px #06110980}}.team-library-dialog .formation-dot{min-height:36px;font-size:9px;font-weight:700}@media(max-width:600px){.team-library-dialog .formation-dot{min-height:29px;font-size:8px}}.team-library-dialog .formation-preview .formation-dot{width:var(--dot,36px);height:var(--dot,36px);min-height:var(--dot,36px);font-size:var(--dot-font,9px)}.team-library-dialog .formation-preview .formation-dot>span{display:block;transform:scale(var(--dot-ink,1));transform-origin:center}.team-library-dialog .formation-names .formation-name{transform:translate(-50%,var(--dot-gap,16px));max-width:var(--dot-name-max,76px);font-size:var(--dot-name,10px)}@media(max-width:600px){.team-library-dialog .formation-preview .formation-dot{width:var(--dot,29px);height:var(--dot,29px);min-height:var(--dot,29px);font-size:var(--dot-font,8px)}.team-library-dialog .formation-names .formation-name{transform:translate(-50%,var(--dot-gap,13px));max-width:var(--dot-name-max,62px);font-size:var(--dot-name,9px)}}.formation-dot small:empty,.bench-seat small:empty{display:none}#inspector .inspector-section[hidden]{display:none!important}#pitch-view[hidden],#pitch-theme[hidden]{display:none}.pitch-theme-chip{width:26px;height:26px;border-radius:8px;border:1px solid #b9c9ab66;flex-shrink:0}.pitch-view-chip{width:23px;height:30px;border:1.5px solid #b9d297;border-radius:3px;position:relative;flex-shrink:0}.pitch-view-chip:after{content:"";position:absolute;top:50%;left:0;right:0;border-top:1px solid #b9d297}.pitch-view-chip.half{height:18px}.pitch-view-chip.half:after{display:none}#language-choice[hidden]{display:none}#dialog:has(#language-choice){border-radius:20px;border-color:#536644;background:linear-gradient(145deg,#203126,#14221a)}#dialog:has(#language-list){width:min(380px,calc(100vw - 24px));border-radius:20px;border-color:#536644;background:linear-gradient(145deg,#203126,#14221a)}.language-direct-list{display:grid;gap:8px}.language-direct-list button{display:flex;align-items:center;justify-content:space-between;gap:14px;text-align:left;padding:13px 15px;border-radius:12px;background:#ffffff05;border:1px solid transparent;min-height:46px}.language-direct-list button[aria-pressed=true]{background:#ceef7115;border-color:#8ca65c;color:#d8f39b}.group-picker-option svg.pitch-field-icon{width:34px;height:46px;stroke:#c9dfb5;stroke-width:1.2;fill:none;stroke-linejoin:round;stroke-linecap:round;flex-shrink:0}.new-project-form select[hidden]{display:none}.new-project-form .compact-picker{min-width:0}.new-project-form .group-picker-trigger{height:100%;min-height:44px;white-space:nowrap}.group-picker-option svg.pitch-field-half{width:34px;height:26px}.formation-options{gap:9px}.formation-option{border:1px solid #58704b44;border-radius:12px;background:linear-gradient(155deg,#263c2d,#17271e);padding:12px 5px;gap:8px;color:#d5e4c7;transition:background .15s,border-color .15s}.formation-option svg.formation-miniature{width:38px;height:52px;overflow:visible}.picker-trigger svg.formation-miniature{width:27px;height:36px;flex-shrink:0}.compact-picker svg.formation-miniature rect{fill:#0d1c1444;stroke:#9ab88b;stroke-width:15;opacity:.65;rx:22}.compact-picker svg.formation-miniature path,.compact-picker svg.formation-miniature .formation-center-line{fill:none;stroke:#9ab88b;stroke-width:12;opacity:.5}.compact-picker svg.formation-miniature circle:not(.formation-center-line){fill:#d6e7b9;stroke:#183022;stroke-width:8;opacity:1}.formation-option[aria-pressed=true]{background:linear-gradient(155deg,#405432,#263b24);border-color:#ceef71;color:#e3f7b4;box-shadow:inset 0 0 0 1px #ceef7120}.formation-option[aria-pressed=true] svg.formation-miniature circle:not(.formation-center-line){fill:#d9f58b}.formation-option:hover{border-color:#a9c787}.formation-option>span{line-height:1.35;overflow-wrap:anywhere;font-weight:650}.group-picker-option:disabled{opacity:.7;cursor:not-allowed}.group-pro-badge{flex-shrink:0;font-size:10px;padding:3px 6px;border-radius:5px;background:#ceef7117;color:#d4e9a8;border:1px solid #a2bc6444}#dialog:has(#account-body){width:min(620px,calc(100vw - 24px))}#account-body:not(.upgrade-only){display:flex;flex-direction:column;gap:18px;padding-top:10px}#account-body .account-card{padding:20px;border:1px solid #465848;border-radius:18px;background:linear-gradient(145deg,#223329,#17241d);box-shadow:0 8px 24px #00000016}#account-body .account-profile{border-color:#708d45;background:linear-gradient(130deg,#2c4026,#1b2c22)}#account-body .account-email{margin:0 0 10px;font-size:15px;overflow-wrap:anywhere;color:#e4ebdf}#account-body .plan-status{display:inline-flex;align-items:center;gap:8px;margin:0;font-size:21px;letter-spacing:.02em}#account-body .plan-status:before{content:"";width:8px;height:8px;border-radius:50%;background:#cdef77;box-shadow:0 0 12px #cdef7733}#account-body h3{margin:0 0 12px;font-size:16px;line-height:1.5}#account-body p{line-height:1.75}#account-body .micro,#account-body .modal-note{font-size:13px;color:#aebda9}#account-body .account-actions{gap:10px;margin:16px 0 0}#account-body button{min-height:44px;border-radius:12px;white-space:normal;line-height:1.5}#account-body .account-actions button{flex:1 1 145px}#account-body .upgrade-notice{margin:18px 0 0;padding:18px;border-radius:14px;background:#21311e;border-color:#5d7738;box-shadow:none}#account-body .upgrade-notice h3{color:#ddf49e}#account-body .plan-option{margin:0;min-height:52px;font-size:16px}#account-body #cloud-sync-state{display:inline-block;margin:4px 0;padding:5px 12px;background:#afcf7720;border:1px solid #afcf7735;border-radius:30px;font-size:12px;color:#d7ebbe}#account-body .account-details{border:1px solid #3c4c3e;border-radius:14px;padding:0 16px;color:#b9c8b3}#account-body .account-details summary{cursor:pointer;padding:16px 0;font-size:13px;font-weight:600}#account-body .account-details button{width:100%;margin:4px 0 10px;font-size:13px}#account-body .account-management{display:flex;flex-wrap:wrap;gap:12px;padding-top:6px;border-top:1px solid #3c4c3e}#account-body .account-management button{flex:1;font-size:13px;margin-top:10px}#account-body .account-login #login-google{background:#d1ed88;color:#192416;font-weight:700}#account-body.account-login form{margin:0;padding:18px;border:1px solid #40533f;border-radius:14px}#account-body.account-login form[hidden]{display:none}#account-body.account-login input{margin-top:8px}#account-body.account-login form button{width:100%;margin-top:12px}@media(max-width:480px){#account-body .account-card{padding:16px}#account-body:not(.upgrade-only){gap:14px}#account-body .account-email{font-size:14px}}#language-popover{box-sizing:border-box;background:linear-gradient(145deg,#203126,#14221a)}#language-popover::backdrop{background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}.language-popover-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;font-size:13px;color:#c5d3bd}.language-popover-heading button{min-width:36px;min-height:36px;padding:4px;font-size:22px;background:transparent;border:0}#account-body .account-import{margin-top:18px;padding-top:18px;border-top:1px solid #40513f}#account-body .account-import>button{width:100%}#account-body .account-import>p{margin:10px 0 0}.modal-heading-actions{display:flex;align-items:center;gap:6px;flex:0 0 auto;flex-wrap:wrap;justify-content:flex-end}.library-maker{display:grid;grid-template-rows:0fr;opacity:0;visibility:hidden;transition:grid-template-rows .24s cubic-bezier(.2,.7,.3,1),opacity .16s ease,visibility 0s linear .24s}.library-maker.is-open{grid-template-rows:1fr;opacity:1;visibility:visible;transition:grid-template-rows .24s cubic-bezier(.2,.7,.3,1),opacity .16s ease .04s,visibility 0s}.library-maker{overflow:hidden}.library-maker>div{overflow:hidden;min-height:0}#dialog .library-maker .new-project-form,#dialog .library-maker .library-add-folder{margin:0}.library-maker.is-open{margin:0 0 12px}@media(prefers-reduced-motion:reduce){.library-maker{transition:opacity .01s,visibility 0s linear .01s}}.modal-heading button.library-new{min-width:0;padding:7px 11px;border:1px solid #6f8f5a;border-radius:999px;background:#24381f;color:#dcefc2;font-size:12px;gap:5px}.modal-heading button.library-new span{display:inline}#dialog:has(.project-library){width:min(760px,calc(100vw - 24px));background:linear-gradient(145deg,#203126,#13221a);border:1px solid #526549;border-radius:22px}#dialog:has(.project-library) .modal-heading{margin-bottom:16px}#dialog:has(.project-library) .modal-note{font-size:12px;line-height:1.8;color:#aebda6;margin:0 0 20px}.guest-risk{margin:0 0 18px;padding:14px 16px;border:1px solid #e0b96955;border-radius:14px;background:#2a1d1066}.guest-risk p{margin:0;font-size:13px;line-height:1.75;color:#f0e0c2}.guest-risk strong{color:#ffe2a6}.guest-risk ul{margin:10px 0;padding-left:20px;font-size:12px;line-height:1.8;color:#e4d6ba}.guest-risk li{margin:0 0 4px}.guest-risk button{margin-top:12px}.guest-risk details>summary{cursor:pointer;margin:0;font-size:13px;line-height:1.75;color:#f0e0c2}.guest-risk details>summary::marker{color:#e0b969}.guest-risk details>summary:hover strong,.guest-risk details>summary:focus-visible strong{color:#fff3d8}.guest-risk details>ul{margin-top:10px}.guest-risk.compact details>summary{font-size:12px;line-height:1.7}.guest-risk.compact{margin:0 0 14px;padding:10px 13px}.guest-risk.compact p{font-size:12px;line-height:1.7}.guest-risk.compact button{margin-top:8px;min-height:36px;font-size:12px}#dialog .new-project-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px;padding:16px;background:#ffffff05;border:1px solid #61784a55;border-radius:16px;margin-bottom:22px}#dialog .new-project-form>input{grid-column:1/-1;min-width:0;width:100%;box-sizing:border-box;border-radius:10px;min-height:44px}#dialog .new-project-form>.compact-picker{min-width:0}#dialog .new-project-form>.compact-picker .group-picker-trigger{width:100%;border-radius:10px}#dialog .new-project-form>button{grid-column:1/-1;min-height:44px;border-radius:11px}#dialog .new-project-form:has(>.compact-picker:only-of-type){grid-template-columns:minmax(0,1fr) 140px}#dialog .new-project-form:has(>.compact-picker:only-of-type)>input{grid-column:1}#dialog .project-library{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 24px}#dialog .project-card{display:flex;flex-direction:column;gap:10px;padding:12px;border:1px solid #56674866;border-radius:16px;background:#112319;min-width:0;overflow:hidden}#dialog .project-card.is-current{border-color:#bddb73;background:#25391f}.library-notes{margin:12px 0 2px;display:flex}.library-notes button{width:100%;min-height:24px;padding:2px 10px;font-size:11px;color:#a8bd98}#dialog.notes-hidden .library-note,#dialog.notes-hidden .library-import p.micro{display:none}.library-folds{margin:14px 0 8px}.library-fold-all{min-height:30px;padding:4px 11px;border:1px solid #3d4f38;border-radius:999px;background:#ffffff05;color:#a8bd98;font-size:11px;white-space:nowrap}.library-fold-all:hover,.library-fold-all:focus-visible{border-color:#9bb465;color:#e6f3d2}.library-shelves{display:flex;align-items:center;gap:6px;margin:0 0 10px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}.library-shelves::-webkit-scrollbar{display:none}.library-shelf-status{flex:1 1 100%;margin:4px 0 0;color:#a9bba2}.library-shelf-status:empty{display:none}.library-shelf{flex:1 0 auto;display:flex;align-items:center;justify-content:center;gap:5px;padding:5px 10px;min-height:32px;border:1px solid #3d4f38;border-radius:999px;background:#ffffff05;color:#a8bd98;font-size:11px;line-height:1.2;white-space:nowrap}.library-shelf svg{width:14px;height:14px;flex:0 0 auto}.library-shelf[aria-pressed=true]{border-color:#9bb465;background:#24381f;color:#e6f3d2;font-weight:650}.project-star{position:static;width:auto;height:auto;min-height:0;padding:4px;border:0;background:transparent;color:#8d9d84;align-self:flex-start}#dialog .project-card{position:relative}#dialog .project-star{position:absolute;top:8px;right:8px;z-index:1;border-radius:8px}.project-star svg{width:18px;height:18px;fill:none}.project-star[aria-pressed=true]{color:#ceef71}.project-star[aria-pressed=true] svg{fill:currentColor}.project-star:hover,.project-star:focus-visible{color:#ceef71;background:#ceef711a}#dialog .library-ghost{pointer-events:none;z-index:9;display:flex;flex-direction:column;gap:10px;padding:12px;border:1px solid #ceef71;border-radius:16px;background:#112319;min-width:0;overflow:hidden;box-shadow:0 18px 44px #000b}#dialog .library-ghost [data-open-project],#dialog .library-ghost>button:first-child{display:flex;align-items:center;gap:14px;flex:1;width:100%;padding:0;background:transparent;border:0;text-align:left;min-width:0}@keyframes library-arrive{0%{transform:scale(.94);opacity:0}60%{transform:scale(1.015);opacity:1}to{transform:none;opacity:1}}@keyframes library-landed{0%,55%{box-shadow:0 0 0 2px #ceef71cc}to{box-shadow:0 0 0 2px #ceef7100}}#dialog .project-card.just-copied{animation:library-arrive .42s cubic-bezier(.2,.8,.3,1),library-landed 1.5s ease-out}@media(prefers-reduced-motion:reduce){#dialog .project-card.just-copied{animation:library-landed 1.5s ease-out}}#dialog .project-card.is-locked{background:#1c2520}#dialog .project-card [data-open-project]{display:flex;align-items:center;gap:14px;flex:1;width:100%;padding:0;background:transparent;border:0;text-align:left;min-width:0}#dialog .project-card [data-open-project]>svg{width:68px;height:96px;flex:0 0 68px;border-radius:8px;background:#284f35}#dialog .project-card [data-open-project]>div{min-width:0;display:grid;gap:7px}#dialog .project-card strong{font-size:15px;line-height:1.5;overflow-wrap:anywhere}#dialog .project-card small{display:block;font-size:11px;color:#b1c1aa;line-height:1.5}#dialog .library-search{position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 14px}#dialog .library-search input{flex:1 1 170px;min-height:44px;padding-right:42px}#dialog .library-search input::-webkit-search-cancel-button{display:none}#dialog #confirm-free-projects+.library-search{margin-top:14px}#dialog #library-search-clear{position:absolute;top:0;right:0;width:40px;height:44px;min-height:0;padding:0;border:0;background:transparent;color:var(--muted);font-size:19px;line-height:1;display:grid;place-items:center}#dialog #library-search-clear:hover{color:#e7eede}#dialog #library-search-clear[hidden]{display:none}#dialog #library-search-status{flex:1 1 100%;margin:0}#dialog .library-search-hit{display:block;font-size:11px;line-height:1.6;color:#a9bba2;overflow-wrap:anywhere;border-top:1px solid #ffffff0d;padding-top:7px}#dialog .library-search-hit mark{background:#44591f;color:#eaf7c9;border-radius:3px;padding:0 2px}#dialog .project-card[hidden]{display:none}#dialog .library-card-actions{display:flex;justify-content:flex-end;gap:8px;border-top:1px solid #ffffff0d;padding-top:8px}#dialog .library-card-actions button{position:static;top:auto;right:auto;width:auto;height:auto;flex:1 1 0;min-width:0;min-height:46px;border-radius:9px;background:#ffffff05;flex-direction:column;gap:3px;padding:5px 4px;font-size:9px;line-height:1.2}#dialog .library-card-actions button span{display:block;overflow-wrap:anywhere}#dialog .library-card-actions button svg{width:16px;height:16px}#dialog .free-project-choice{font-size:11px;color:#d5ebac;line-height:1.5;margin:0}#dialog .library-import{display:grid;gap:10px;padding:18px;border:1px solid #51644366;border-radius:16px;background:#ffffff03}#dialog .library-import .import-button{display:flex;justify-content:center;align-items:center;gap:8px;margin:0 0 4px;padding:13px;border:1px solid #819a5a88;border-radius:11px;color:#deedc6;cursor:pointer}#dialog .library-import>label.micro{display:flex;align-items:center;gap:8px;font-size:13px}#dialog .library-import p{margin:0;font-size:12px;line-height:1.7;color:#afc0a5}#dialog .library-import input[type=checkbox]{accent-color:#ceef71;width:17px;height:17px}@media(max-width:520px){#dialog .project-library{grid-template-columns:1fr}#dialog .new-project-form{padding:12px}#dialog .project-card [data-open-project]>svg{width:58px;height:82px;flex-basis:58px}}#formation-phases{position:absolute;top:12px;left:12px;z-index:4;display:flex;gap:6px;align-items:center;padding:6px;border:1px solid #718e5366;border-radius:13px;background:#15251eeb;box-shadow:0 5px 18px #0003}#formation-phases[hidden]{display:none!important}#formation-phases>span{max-width:70px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;color:#becdb4;padding:0 3px}#formation-phases button{display:flex;gap:4px;align-items:center;min-height:38px;padding:7px;border-radius:9px;font-size:11px;background:transparent;border:1px solid transparent}#formation-phases button[aria-pressed=true]{color:#d4f18c;background:#cbea7520;border-color:#cbea7580}#formation-phases svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.phase-enable{display:flex;align-items:center;gap:9px;font-size:13px}.phase-enable input{accent-color:#ceef71;width:18px;height:18px}#formation-phases{top:8px;left:8px;gap:3px;padding:4px;border-radius:10px}#formation-phases>span{max-width:52px;font-size:9px;padding:0 2px}#formation-phases button{min-height:30px;padding:4px 6px;gap:3px;border-radius:7px;font-size:10px}#formation-phases svg{width:16px;height:16px}.roster-pick-popup{padding:12px}.roster-pick-popup .roster-pick-option{min-height:34px;padding:3px 8px;gap:8px;margin-top:3px;border-radius:9px;font-size:13px;line-height:1.35}.roster-pick-popup .roster-role{min-width:28px;width:28px;height:28px;font-size:11px;flex-shrink:0}.roster-pick-popup .roster-pick-option>span:nth-child(2){min-width:0;overflow-wrap:anywhere}#dialog.roster-picker .roster-picker-list{gap:3px}#dialog.roster-picker .roster-picker-list button{min-height:30px;padding:2px 8px;gap:8px;font-size:13px;line-height:1.3}#inspector .team-pro-features{margin-top:16px;padding:16px;border:1px solid #9bb46566;border-radius:16px;background:linear-gradient(140deg,#30412a,#192b21);display:grid;gap:16px}.team-pro-heading{display:flex;align-items:center;gap:9px;color:#e0efc5;font-size:13px}.team-pro-badge{font-size:10px;letter-spacing:.12em;font-weight:800;padding:4px 7px;border-radius:6px;background:#ceef71;color:#20301c}#inspector .team-scope{margin:10px 0 2px;padding:11px;border:1px solid #6f8f5a4d;border-radius:14px;background:linear-gradient(150deg,#22321f,#17241d);display:grid;gap:9px;min-width:0}#inspector .team-scope-head{display:flex;align-items:center;gap:7px;margin:0;font-size:10px;font-weight:700;letter-spacing:.1em;color:#9fb98c}#inspector .team-scope-head i{width:9px;height:9px;border-radius:50%;background:var(--team);box-shadow:0 0 0 2px #0f170d66}#inspector .team-scope-head span{margin-left:auto;letter-spacing:0;font-size:11px;font-weight:700;color:#dcebcd;min-width:0;overflow-wrap:anywhere;text-align:right}#inspector .team-scope .field{margin:0}#inspector .disclosure{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;margin:16px 0 0;padding:10px 13px;min-height:42px;border:1px solid var(--line);border-radius:11px;background:#ffffff05;color:#cbd5c3;font-size:12px;font-weight:600;text-align:start;transition:background .18s linear,border-radius .18s linear,color .18s linear}#inspector .disclosure:hover{background:#ffffff0d}#inspector .disclosure svg{width:13px;height:13px;flex-shrink:0;opacity:.75;transform:rotate(90deg);transition:transform .22s cubic-bezier(.33,1,.68,1)}#inspector .disclosure.open svg{transform:rotate(-90deg);opacity:1}#inspector .disclosure.open{margin-bottom:-10px;border-radius:11px 11px 0 0;border-bottom:0;background:linear-gradient(180deg,#ffffff12,#ffffff07);color:#e2ecd8}#inspector .disclosure.open:hover{background:linear-gradient(180deg,#ffffff1a,#ffffff0b)}#inspector .disclosure-body{position:relative;margin:0 0 4px;padding:13px;border:1px solid var(--line);border-top:0;border-radius:0 0 11px 11px;background:#ffffff05}#inspector .disclosure-body:before{content:"";position:absolute;left:12px;right:12px;top:0;height:1px;background:linear-gradient(90deg,#fff0,#ffffff1f 22% 78%,#fff0)}#inspector .disclosure-body>:first-child{margin-top:0}#inspector .disclosure-body[hidden]{display:none}#inspector .scope-row{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 14px;align-items:end}#inspector .scope-col{display:grid;gap:6px;min-width:0}#inspector .scope-label{font-size:10px;font-weight:700;letter-spacing:.06em;color:#9fb98c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#inspector .scope-undo{display:grid;grid-template-columns:1fr 1fr;gap:6px;min-width:0}#inspector .scope-undo button{width:100%;min-width:0;margin:0;min-height:40px;padding:4px 7px;font-size:11px;gap:4px;justify-content:center}#inspector .scope-undo button svg{width:13px;height:13px;flex-shrink:0;opacity:.8}#inspector .scope-undo button span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#inspector .scope-undo button.is-off{opacity:.34;pointer-events:none}#inspector .team-scope .micro{margin:0;font-size:11px;line-height:1.7;color:#a8bd98}#inspector .team-pro-feature{display:grid;gap:10px;min-width:0}#inspector .team-pro-feature+.team-pro-feature{padding-top:16px;border-top:1px solid #c9e98a22}#inspector .team-pro-feature .micro{margin:0;font-size:11px;line-height:1.7;color:#b5c8a6}#inspector .team-pro-feature .field{margin:0}.panel-notes{position:sticky;bottom:0;z-index:2;display:flex;padding:4px 15px max(6px,calc(var(--safe-bottom) - 14px));background:#171f1a;border-top:1px solid var(--line)}.panel-notes button{width:100%;min-height:24px;padding:2px 10px;font-size:11px;color:#a8bd98}.panel-notes button svg,.library-notes button svg{width:14px;height:14px}.panel-notes[hidden],#inspector.folded .panel-notes,#inspector.notes-hidden .micro{display:none}#inspector.notes-hidden .selection-section>.micro{display:block}.header-actions #library{display:inline-flex;flex-direction:column;gap:2px;padding:4px 8px;min-height:40px;flex-shrink:0}.header-actions #library span{display:block;font-size:9px;line-height:1.1;white-space:nowrap}.header-actions #library svg{width:19px;height:19px}.header-actions #account-button{flex-direction:column;gap:2px;padding:4px 7px;min-height:40px}.header-actions #account-button span{display:block;font-size:9px;line-height:1.1;white-space:nowrap}.header-actions #account-button svg{width:19px;height:19px}.header-actions #help{display:inline-flex;flex-direction:column;gap:2px;padding:4px 8px;min-height:40px;flex-shrink:0}.header-actions #help span{display:block;font-size:9px;line-height:1.1;white-space:nowrap}.header-actions #help svg{width:19px;height:19px}#account-body .pro-learn-button{width:100%;margin-top:16px;min-height:46px;border:1px solid #bdd87688;background:#bfdc7217;color:#e1f3b7;font-weight:650}.pro-hero{padding:22px 0}.pro-hero>span{font-size:11px;letter-spacing:.18em;color:#cdef83}.pro-hero h3{margin:12px 0!important;font-size:25px!important;color:#f0f7e7}.pro-hero-trial{display:inline-block;margin:0!important;padding:5px 12px;border:1px solid #bdd87688;border-radius:999px;background:#bfdc7217;color:#dcf3a6;font-size:12px;font-weight:650;letter-spacing:.02em}.pro-feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pro-feature-grid article{padding:16px;border:1px solid #96b36544;border-radius:15px;background:linear-gradient(140deg,#30422a,#1a2b22)}.pro-feature-number{font-size:12px;color:#c9e68b;letter-spacing:.12em}.pro-feature-grid h4{font-size:14px;line-height:1.7;margin:9px 0 0}.pro-checkout{margin:24px 0 16px;padding:18px;border:1px solid #b2cf6e88;border-radius:16px;background:#263722}.pro-checkout #plans{display:grid;gap:12px;margin-bottom:12px}.pro-checkout .plan-option{width:100%;min-height:52px!important}.pro-checkout .account-actions{margin:14px 0!important}.pro-showcase>button{width:100%}.pro-checkout .micro{line-height:1.7;font-size:12px}.pro-page .pro-showcase{width:100%}@media(max-width:360px){.pro-feature-grid{grid-template-columns:1fr}}.pro-showcase>.pro-start-button{margin:22px 0 12px;min-height:50px;font-weight:700}#inspector.object-panel .selection-section:not([hidden]){display:flex;flex-direction:column;gap:14px}#inspector.object-panel .selection-section>button.wide{width:100%;margin:0}#inspector.object-panel .selection-section>.field,#inspector.object-panel .selection-section>.player-fields,#inspector.object-panel .selection-section>.two-col,#inspector.object-panel .selection-section>.section-title,#inspector.object-panel .selection-section .player-fields>.field{margin:0}#inspector.object-panel .selection-section>.micro{margin:0 0 6px;line-height:1.7}#inspector.object-panel .selection-section>.two-col{gap:14px}.formation-option,.compact-picker:has(#formation)>.picker-trigger{position:relative}.formation-option>.formation-configured,.compact-picker:has(#formation)>.picker-trigger>.formation-configured{position:absolute;right:5px;top:5px;display:grid;place-items:center;width:16px;height:16px;border-radius:50%;background:#ceef71;color:#152015;font-size:11px;font-weight:800;line-height:1;box-shadow:0 0 0 2px #203126;pointer-events:none}.compact-picker:has(#formation)>.picker-trigger>.formation-configured{right:22px;top:4px}.free-choice-dialog{width:min(520px,calc(100vw - 24px))}.free-choice-dialog>.micro{margin:0 0 16px;line-height:1.8;color:#b5c4af}.free-choice-list{display:grid;gap:10px}.free-choice-option{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid #ffffff12;border-radius:14px;background:#ffffff04;font-size:14px;cursor:pointer;overflow-wrap:anywhere}.free-choice-option:has(input:checked){background:#ceef7115;border-color:#a0bc66}.free-choice-option input{flex-shrink:0;width:18px;height:18px;accent-color:#ceef71}.formation-locked{position:absolute;left:5px;top:5px;padding:2px 6px;border-radius:5px;background:#ceef7117;border:1px solid #a2bc6444;color:#d4e9a8;font-size:9px;line-height:1.4;pointer-events:none}.picker-trigger>.formation-locked{left:auto;right:42px;top:6px}.formation-configured-note{margin:14px 2px 4px;padding-top:12px;border-top:1px solid var(--line);font-size:12px;line-height:1.7;color:var(--muted)}.formation-elsewhere-note{margin:0 2px 12px;padding-bottom:12px;border-bottom:1px solid var(--line);font-size:12px;line-height:1.7;color:var(--muted)}.formation-elsewhere-note strong{color:#d5e4c7;font-weight:650}.team-library-dialog.group-manager{width:min(660px,calc(100vw - 24px))}.group-manager>.micro{margin:0 0 18px;line-height:1.8;color:#b5c4af}.group-manager>[data-new]{margin:0 0 16px;min-height:44px;border-radius:11px}.group-manager .roster-list{display:grid;gap:10px}.group-manager .roster-row{margin:0;border:1px solid #ffffff12;border-radius:14px;background:#ffffff04;gap:10px}.group-manager .roster-row>span{flex:1;min-width:0;overflow-wrap:anywhere;font-weight:600}.group-manager .roster-row button{border-radius:9px;min-height:36px;font-size:12px}.group-manager [data-delete]{background:transparent;color:#dea69f;border-color:#b16b6033}.group-editor .group-name-card{margin:0 0 20px;padding:16px;border:1px solid #ffffff12;border-radius:16px;background:#ffffff05;font-size:12px;color:#b5c4af;gap:10px}.group-editor .group-name-card input{min-height:44px;border-radius:10px;background:#102018;font-size:15px}.group-editor .group-transfer{gap:12px;margin:0;grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr)}.group-editor .group-transfer h3{display:flex;align-items:center;justify-content:space-between;gap:6px;line-height:1.5}.group-count{display:grid;place-items:center;min-width:25px;height:25px;padding:0 6px;border-radius:8px;background:#ceef7118;color:#d8f296;font-size:12px}.group-editor .group-player{display:grid;grid-template-columns:18px 30px minmax(0,1fr);gap:8px;border-color:#ffffff0c;padding:10px 8px;min-height:52px;background:#ffffff04}.group-player-role{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#ceef711c;border:1px solid #9cb76866;color:#d8f296;font-size:10px;font-weight:800}.group-player-name{font-size:13px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}.group-editor .group-player:has(input:checked){background:#ceef7115;border-color:#a0bc66}.group-editor .group-arrows button{height:44px;background:#ceef7110;border-color:#9cb76866;font-size:20px}.group-editor .group-arrows button:disabled{opacity:.3}.group-editor .group-empty{padding:20px 4px;text-align:center;line-height:1.7}.group-editor .modal-buttons{gap:14px}.group-editor .modal-buttons [data-save]{min-height:44px;min-width:140px;font-weight:700}@media(max-width:480px){.group-editor .group-transfer{gap:6px;grid-template-columns:minmax(0,1fr) 34px minmax(0,1fr)}.group-editor .group-player{grid-template-columns:18px minmax(0,1fr);gap:5px;padding:9px 6px}.group-editor .group-player-role{grid-column:2;grid-row:1}.group-editor .group-player input{grid-row:1/3}.group-editor .group-player-name{grid-column:2;font-size:12px}.group-editor .group-transfer h3{font-size:12px;flex-wrap:wrap}.group-editor .group-name-card{padding:14px}.group-editor .modal-buttons [data-save]{width:100%}}:root{--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px)}.coach-safe-probe{position:fixed;top:0;left:0;width:0;height:0;visibility:hidden;pointer-events:none;padding-top:var(--safe-top);padding-bottom:var(--safe-bottom)}.coach-mark{position:fixed;inset:0;z-index:8;pointer-events:none;--coach-dim:#0a110ed6}.coach-mark.tour{--coach-dim:#0a110ebf}.coach-mark .coach-spot{position:absolute;transform:translate(-50%,-50%);border-radius:50%;border:2px solid var(--accent);box-shadow:0 0 0 9999px var(--coach-dim),0 0 #ceef7159;animation:coach-pulse 2.1s ease-out infinite}@keyframes coach-pulse{50%{box-shadow:0 0 0 9999px var(--coach-dim),0 0 0 11px #ceef7100}}.coach-mark .coach-tip{position:absolute;transform:translate(-50%);width:max-content;max-width:min(330px,calc(100vw - 32px));padding:13px 15px;border:1px solid #8fb45f;border-radius:14px;background:#1b2a20;box-shadow:0 14px 38px #0009;pointer-events:auto}.coach-mark .coach-tip:before{content:"";position:absolute;left:50%;top:-7px;width:12px;height:12px;transform:translate(-50%) rotate(45deg);background:#1b2a20;border-left:1px solid #8fb45f;border-top:1px solid #8fb45f}.coach-mark .coach-tip.above{transform:translate(-50%,-100%)}.coach-mark .coach-tip.arrow-down:before{top:auto;bottom:-7px;border:0;border-right:1px solid #8fb45f;border-bottom:1px solid #8fb45f}.coach-mark .coach-tip.no-arrow:before{display:none}.coach-mark p{margin:0 0 11px;font-size:12px;line-height:1.75;color:#e4eeda;white-space:normal;overflow-wrap:anywhere}.coach-mark .coach-tip{box-sizing:border-box}.coach-mark button{width:100%;min-height:38px;font-size:13px}.coach-mark .coach-step{margin:0 0 5px;font-size:11px;letter-spacing:.04em;color:#9fb98c}.coach-mark .coach-nav{display:flex;gap:8px}.coach-mark .coach-nav button{flex:1;white-space:nowrap;padding:0 8px}.coach-mark .coach-nav button[hidden]{display:none}.coach-mark.paused .coach-spot{animation:none}.coach-mark .coach-block{position:fixed;display:none}.coach-mark .coach-gap{background:var(--coach-dim)}.coach-mark.tour .coach-block{display:block;pointer-events:auto}.coach-mark .coach-head{display:flex;align-items:baseline;gap:6px 10px;flex-wrap:wrap;margin-bottom:2px}.coach-mark .coach-head .coach-end{margin-left:auto}.coach-mark .coach-head .coach-step{flex:0 0 auto;white-space:nowrap;margin:0}.coach-mark .coach-head button{flex:0 0 auto;width:auto;min-height:0;padding:2px 0;border:0;background:none;color:#9fb98c;font-size:11px;line-height:1.5;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}.coach-mark .coach-head button:hover{background:none;color:#cfe0c0}.coach-mark .coach-head button.coach-skip{margin-left:auto;border:1px solid #8fb45f;border-radius:999px;padding:3px 11px;background:#24331d;color:#d8e8c6;text-decoration:none;text-underline-offset:0}.coach-mark .coach-head button.coach-skip:hover{background:#31452a;color:#eaf5df}.coach-mark .coach-hint{margin:0 0 11px;font-size:11px;line-height:1.7;color:#9fb98c}.coach-mark .coach-hint[hidden]{display:none}.coach-mark .coach-warn{margin:0 0 11px;padding:9px 11px;border:1px solid #8a6a3a;border-radius:9px;background:#2b2216;color:#f2d9a8;font-size:11px;line-height:1.7}.coach-mark .coach-warn[hidden]{display:none}.coach-mark .coach-note{margin:0 0 11px;padding:9px 11px;border:1px solid #5c7a4d;border-radius:9px;background:#1d2a1b;color:#cfe0c0;font-size:11px;line-height:1.7}.coach-mark .coach-note[hidden]{display:none}.coach-mark .coach-tip.minimised{left:8px;right:8px;top:calc(8px + var(--safe-top));bottom:auto;width:auto;max-width:none;transform:none;padding:8px 12px;background:#1b2a20e8}@media(min-width:601px){.coach-mark .coach-tip.minimised{left:50%;right:auto;width:min(480px,calc(100vw - 32px));transform:translate(-50%)}}.coach-mark .coach-tip.minimised .coach-hint,.coach-mark .coach-tip.minimised .coach-note,.coach-mark .coach-tip.minimised .coach-warn,.coach-mark .coach-tip.minimised .coach-step{display:none}.coach-mark .coach-tip.minimised .coach-nav{margin-top:8px}.coach-mark .coach-tip.minimised .coach-nav button{min-height:32px;font-size:12px}.coach-mark .coach-tip.minimised .coach-head{margin:0 0 6px}.coach-mark .coach-tip.minimised .coach-text{margin:0;font-size:12px;line-height:1.6}.coach-mark .coach-tip.minimised:before{display:none}@keyframes coach-unlock{0%{box-shadow:0 0 #ceef7100}35%{box-shadow:0 0 0 7px #ceef7166}to{box-shadow:0 0 #ceef7100}}.coach-mark .coach-nav button.primary.unlocked{animation:coach-unlock 1.1s ease-out 2}.coach-mark.finishing .coach-spot{border-width:3px;animation:coach-pulse 1.1s ease-out infinite}.player-step-mark{position:fixed;transform:translate(-50%,-50%);z-index:7;pointer-events:none;border-radius:50%;box-sizing:border-box}.player-step-mark.is-leaving{border:3px solid #ffffff99}.player-step-mark.is-travelling{border:3px dashed var(--accent);background:#ceef7126}.player-step-mark.is-landing{border:3px solid var(--accent);box-shadow:0 0 0 6px #ceef7133}.coach-locked{position:fixed;transform:translate(-50%);z-index:3;max-width:min(320px,86vw);padding:7px 13px;border-radius:999px;background:#2a1d10f2;border:1px solid #e0b969;color:#ffe2a6;font-size:11px;font-weight:700;line-height:1.5;text-align:center;pointer-events:none;box-shadow:0 5px 16px #000a}.coach-locked[hidden]{display:none}.coach-arrow{position:fixed;width:34px;height:34px;color:var(--accent);pointer-events:none;animation:coach-nudge .9s ease-in-out infinite alternate}@keyframes coach-nudge{0%{transform:translate(-50%,-50%)}to{transform:translate(-50%,calc(-50% + 10px))}}.coach-mark.fading{opacity:0;transition:opacity .9s ease;pointer-events:none}.coach-mark.fading .coach-tip{pointer-events:none}@media(prefers-reduced-motion:reduce){.coach-mark.fading{transition:opacity .25s linear}}.coach-arrow.up{animation:coach-nudge-up .9s ease-in-out infinite alternate}@keyframes coach-nudge-up{0%{transform:translate(-50%,-50%) rotate(180deg)}to{transform:translate(-50%,calc(-50% - 10px)) rotate(180deg)}}.coach-spot .coach-arrow{position:absolute;left:50%;right:auto;top:auto;bottom:calc(100% + 6px);animation-name:coach-ring-nudge}@keyframes coach-ring-nudge{0%{transform:translate(-50%)}to{transform:translate(-50%,10px)}}.coach-spot .coach-arrow.up{top:calc(100% + 6px);bottom:auto;animation-name:coach-ring-nudge-up}@keyframes coach-ring-nudge-up{0%{transform:translate(-50%) rotate(180deg)}to{transform:translate(-50%,-10px) rotate(180deg)}}.coach-hand{position:fixed;z-index:9;width:52px;height:52px;margin:-6px 0 0 -6px;pointer-events:none;color:#fff;filter:drop-shadow(0 3px 6px #000a);transition:left 1.1s ease-in-out,top 1.1s ease-in-out}.coach-hand .coach-grip{fill:#ceef7133;stroke:var(--accent);stroke-width:1.6;opacity:0;transition:opacity .25s}.coach-hand.holding .coach-grip{opacity:1}.coach-point{position:fixed;z-index:9;width:30px;height:30px;color:var(--accent);pointer-events:none;filter:drop-shadow(0 2px 4px #000a);animation:coach-nudge .7s ease-in-out infinite alternate}.coach-guided *{pointer-events:none}.coach-guided .coach-lit,.coach-guided .coach-lit *,.coach-guided .coach-dialog-bar,.coach-guided .coach-dialog-bar *{pointer-events:auto}.coach-lit,.coach-shown{outline:2px solid var(--accent);outline-offset:3px;border-radius:10px;animation:coach-blink 1.15s ease-in-out infinite}.coach-guided .coach-shown,.coach-guided .coach-shown *{pointer-events:none}@keyframes coach-blink{0%,to{box-shadow:0 0 #ceef7100}50%{box-shadow:0 0 0 7px #ceef7159}}.coach-blink,.coach-mark .coach-nav button.primary.blinking{animation:coach-blink 1.15s ease-in-out infinite}.coach-inside-arrow{position:fixed;width:40px;height:40px;margin:-20px 0 0 -20px;color:var(--accent);pointer-events:none;filter:drop-shadow(0 2px 5px #000c);animation:coach-nudge .7s ease-in-out infinite alternate}.coach-inside-arrow svg{width:100%;height:100%}.coach-inside-arrow svg path{fill:none;stroke:currentColor;stroke-width:4;opacity:1;paint-order:stroke;stroke-linecap:round;stroke-linejoin:round}.coach-inside-box{position:fixed;border-radius:13px;outline:2px solid var(--accent);pointer-events:none;animation:coach-blink 1.15s ease-in-out infinite}.coach-lit.coach-joined{outline:none;animation:none}.picker-popup .formation-option{position:relative}.coach-tag{position:absolute;top:-9px;left:50%;transform:translate(-50%);z-index:1;padding:1px 8px;border-radius:999px;background:var(--accent);color:#16220f;font-size:10px;font-weight:700;line-height:1.6;white-space:nowrap;pointer-events:none;box-shadow:0 2px 6px #0006}.coach-dialog-bar{margin:0 0 12px;padding:11px 13px;border:1px solid #8fb45f;border-radius:12px;background:linear-gradient(140deg,#2b3d24,#18261d);color:#e4eeda;font-size:12px;line-height:1.8}.coach-dialog-bar b{display:block;margin-bottom:3px;font-size:11px;letter-spacing:.06em;color:var(--accent)}.coach-bar-next{display:block;width:100%;margin-top:10px;min-height:40px;font-size:13px}.coach-mark .coach-warn .coach-clear{width:100%;margin-top:9px;min-height:36px;font-size:12px}@media(prefers-reduced-motion:reduce){.coach-mark .coach-spot,.coach-blink,.coach-lit{animation:none}.coach-lit{box-shadow:0 0 0 6px #ceef711f}}.coach-mark .coach-tip.sheet{left:8px;right:8px;width:auto;max-width:none;transform:none;padding:12px 14px}.coach-mark .coach-tip.sheet.at-bottom{top:auto;bottom:calc(8px + max(var(--banner-space,0px),var(--safe-bottom)))}.coach-mark .coach-tip.sheet.at-top{top:calc(8px + var(--safe-top));bottom:auto}.coach-mark .coach-tip.sheet .coach-text{font-size:13px;line-height:1.8}.coach-mark .coach-tip.sheet .coach-nav button{min-height:44px}.coach-mark .coach-tip.sheet .coach-nav{position:sticky;bottom:0;z-index:1;padding-top:7px;background:#1b2a20}.coach-mark .coach-tip.sheet{max-height:min(50dvh,var(--sheet-room,100dvh));overflow-y:auto;overscroll-behavior:contain}:root.touring.tour-foot .coach-mark.tour .coach-tip.sheet:not(.minimised){height:var(--sheet-room);display:flex;flex-direction:column}:root.touring.tour-side .coach-mark.tour .coach-tip.sheet:not(.minimised){left:auto;right:8px;top:calc(8px + var(--safe-top));bottom:calc(8px + var(--safe-bottom));width:var(--sheet-room);max-width:none;height:auto;max-height:none;display:flex;flex-direction:column}:root.touring.tour-sheet .coach-mark.tour .coach-tip.sheet:not(.minimised) .coach-nav{margin-top:auto}:root.touring.tour-foot .coach-mark.tour .coach-tip.minimised{left:8px;right:8px;top:auto;bottom:calc(8px + max(var(--banner-space, 0px),var(--safe-bottom)));width:auto;height:auto;max-height:none}:root.touring.tour-side .coach-mark.tour .coach-tip.minimised{left:auto;right:8px;top:calc(8px + var(--safe-top));bottom:auto;width:var(--sheet-room);max-width:none;height:auto;max-height:none}:root.touring{--tour-ceiling:max(var(--tour-top,0px),var(--safe-top));--tour-floor:max(var(--tour-bottom,0px),var(--banner-space,0px),var(--safe-bottom));--tour-room:calc(100dvh - var(--tour-ceiling) - var(--tour-floor) - 16px)}:root.touring.tour-sheet dialog[open]{margin-top:calc(var(--tour-ceiling) + 8px);margin-bottom:calc(var(--tour-floor) + 8px);max-height:var(--tour-room);overflow:auto}:root.touring.tour-sheet #dialog.roster-picker{max-height:min(var(--picker-max-height),var(--tour-room))}:root.touring.tour-sheet #inspector.open.object-panel{top:max(var(--object-panel-top),calc(var(--tour-ceiling) + 8px));max-height:var(--tour-room)}:root.touring #inspector.tour-squeeze .micro{font-size:10px;line-height:1.45;margin-block:2px}:root.touring #inspector.tour-squeeze .field{margin-bottom:5px}:root.touring #inspector.tour-squeeze .field>span{font-size:10px}:root.touring #inspector.tour-squeeze .inspector-section{gap:6px}:root.touring #inspector.tour-squeeze button{min-height:34px}:root.touring #inspector.tour-squeeze h2,:root.touring #inspector.tour-squeeze h3{margin-block:4px}:root.touring #inspector.tour-squeeze-hard .micro,:root.touring #inspector.tour-squeeze-hard .panel-notes{display:none}:root.touring #inspector.tour-squeeze-hard{zoom:.9}:root.touring.tour-sheet #inspector.open.object-panel.tour-squeeze-hard{top:calc(max(var(--object-panel-top),calc(var(--tour-ceiling) + 8px)) / .9);max-height:calc(var(--tour-room) / .9)}:root.touring #inspector.tour-group-only .selection-section>*:not(#pick-roster):not(.team-scope){display:none}:root.touring #inspector.tour-group-only .team-scope>*:not(.team-scope-head):not(.field){display:none}@media(max-height:740px){.coach-mark .coach-tip.sheet{max-height:min(38dvh,var(--sheet-room,100dvh));padding:9px 12px}.coach-mark .coach-tip.sheet .coach-text{font-size:12.5px;line-height:1.6;margin-bottom:calc(8px + max(var(--banner-space,0px),var(--safe-bottom)))}.coach-mark .coach-tip.sheet .coach-hint,.coach-mark .coach-tip.sheet .coach-note{font-size:11px;line-height:1.55;margin-bottom:calc(8px + max(var(--banner-space,0px),var(--safe-bottom)))}.coach-mark .coach-tip.sheet .coach-warn{font-size:10.5px;line-height:1.5;padding:7px 9px;margin-bottom:calc(8px + max(var(--banner-space,0px),var(--safe-bottom)))}.coach-mark .coach-tip.sheet .coach-head{margin-bottom:7px}.coach-mark .coach-tip.sheet .coach-nav button{min-height:38px;font-size:13px}:root.touring dialog[open]{margin-top:calc(var(--tour-ceiling) + 8px);margin-bottom:calc(var(--tour-floor) + 8px);max-height:var(--tour-room);overflow:auto}:root.touring #dialog.roster-picker{max-height:min(var(--picker-max-height),var(--tour-room))}:root.touring #inspector.open.object-panel{top:max(var(--object-panel-top),calc(var(--tour-ceiling) + 8px));max-height:var(--tour-room)}:root.touring #inspector.object-panel .selection-section{gap:8px}:root.touring #inspector.object-panel .selection-section>button.wide{min-height:34px;font-size:12px}:root.touring #inspector.object-panel .team-scope{padding:8px;gap:6px;margin:6px 0 0}:root.touring #inspector.object-panel .team-scope-head{font-size:9px}:root.touring #inspector.object-panel .micro{font-size:10px;line-height:1.55}:root.touring #inspector.object-panel .field>span{font-size:10px}:root.touring #inspector.object-panel input,:root.touring #inspector.object-panel select{min-height:32px}.group-editor .group-transfer section>div{max-height:26dvh}.group-editor .group-transfer{margin-top:10px}.group-editor .modal-buttons{position:sticky;bottom:-1px;z-index:1;padding:8px 0 2px;background:linear-gradient(180deg,#14221a00,#14221a 22%)}.group-editor .group-name-card{padding:10px}}.library-tree{display:flex;flex-direction:column;gap:10px}.library-branch[hidden]{display:none}.library-branch-head{display:flex;align-items:center;gap:4px;border-bottom:1px solid #ffffff12}.library-branch-toggle{flex:1;justify-content:flex-start;gap:8px;min-height:36px;padding:6px 8px;border:0;border-radius:0;background:none;color:#c9d8bf;font-size:13px}.library-branch-head svg{width:14px;height:14px;color:#9fb98c}.library-branch-rename,.library-branch-drop{flex:0 0 auto;width:34px;min-width:34px;min-height:34px;padding:0;display:grid;place-items:center;border:0;background:none;color:#9fb98c;border-radius:8px}.library-branch-rename:hover{background:#ceef711a;color:#ceef71}.library-branch-drop{color:#a98f8f}.library-branch-drop:hover{background:#ff81911a;color:#ff8191}.library-branch-edit{display:flex;gap:6px;margin:6px 0 2px;padding-left:14px}.library-branch-edit input{flex:1;min-height:40px}.library-branch-edit button{flex:0 0 auto;min-height:40px;padding:0 12px}.library-add-folder{display:flex;gap:6px;margin:0 0 10px}.library-add-folder input{flex:1;min-height:40px}.library-add-folder button{flex:0 0 auto;min-height:40px;padding:0 14px}.library-select{margin:0 0 10px;display:flex;flex-wrap:wrap;align-items:center;gap:7px}.library-select>button{flex:0 0 auto;min-width:0}.library-select>.library-select-live{flex:1 1 100%}.library-select .library-new{min-width:0;padding:7px 11px;border:1px solid #6f8f5a;border-radius:999px;background:#24381f;color:#dcefc2;font-size:12px;gap:5px}.library-select .library-new span{display:inline}.library-select .library-new[aria-expanded=true]{background:var(--accent);border-color:var(--accent);color:#16200f;font-weight:650;box-shadow:inset 0 1px 3px #0003}.library-select .library-new svg{transition:transform .22s cubic-bezier(.2,.7,.3,1)}.library-select #library-new-tactic[aria-expanded=true] svg{transform:rotate(45deg)}@media(prefers-reduced-motion:reduce){.library-select .library-new svg{transition:none}}#library-pick-start{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:0 13px;border:1px solid #56674866;border-radius:9px;background:#ffffff05;color:#c4d3b8;font-size:12px}#library-pick-start svg{width:15px;height:15px}#library-pick-start:hover,#library-pick-start:focus-visible{border-color:#ff819166;color:#ff8191}.library-select-live{display:grid;gap:8px;padding:10px 12px;border:1px solid #ff819140;border-radius:12px;background:#2a1c1e80}#library-pick-start[hidden],.library-select-live[hidden]{display:none}.library-select-count{margin:0;color:#f0d7d9}.library-select-buttons{display:flex;flex-wrap:wrap;gap:7px}.library-select-buttons button{min-height:38px;padding:0 13px;border-radius:9px;font-size:12px}.library-pick{display:none}#dialog .is-picking .library-pick{display:flex;align-items:center;gap:7px;font-size:12px;color:#e7d3d5}#dialog .is-picking .library-pick input{width:20px;height:20px;accent-color:#ff8191;flex:0 0 auto}#dialog .is-picking .library-card-actions,#dialog .is-picking .free-project-choice,#dialog .is-picking .library-drag-hint{display:none}#dialog .is-picking .project-card{cursor:pointer}#dialog .is-picking .project-card:has(.library-pick input:checked){border-color:#ff8191;background:#2c1e20}.library-branch-twist{width:0;height:0;margin-left:2px;border-left:5px solid currentColor;border-top:4px solid transparent;border-bottom:4px solid transparent;color:#9fb98c;transition:transform .15s;transform-origin:30% 50%}.library-branch-toggle[aria-expanded=true] .library-branch-twist{transform:rotate(90deg)}.library-branch-name{flex:1;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.library-branch-count{font-size:11px;color:#8ba17f;font-variant-numeric:tabular-nums}.library-branch-body{padding-left:14px;border-left:1px solid #ffffff0d;margin-left:6px}#dialog .library-branch-body[hidden],.library-branch-body[hidden]{display:none}.project-card .project-folder{display:inline-flex;align-items:center;gap:4px;color:#9fb98c}.project-card .project-folder svg{width:11px;height:11px}.project-card [data-folder-project]{position:absolute;right:8px;top:calc(50% - 73px);width:32px;height:32px;min-height:32px;padding:7px;border:1px solid transparent;border-radius:8px;background:transparent;color:#a1b295;display:flex;align-items:center;justify-content:center;transition:background .15s,color .15s}.project-card [data-folder-project] svg{width:16px;height:16px}.project-card [data-folder-project]:hover,.project-card [data-folder-project]:focus-visible{background:#ceef711a;color:#ceef71}.library-manage{display:none;width:auto;min-height:32px;margin:0 0 10px;padding:4px 11px;font-size:12px;gap:6px;background:#ffffff06;border-color:#ffffff14;color:#c9d8bf}.library-manage svg{width:14px;height:14px;color:#9fb98c}.folder-rows{display:flex;flex-direction:column;gap:10px;margin:0 0 14px}.folder-row{display:flex;gap:8px;align-items:flex-end}.folder-row .field{flex:1}.folder-row .field>span{display:flex;align-items:center;gap:6px}.folder-row .field>span svg{width:13px;height:13px;color:#9fb98c}.folder-row .field>span small{margin-left:auto;color:#8ba17f}.folder-row button{flex:0 0 auto;min-height:44px}.project-card.is-carried{opacity:.3;outline:1px dashed #8fb45f88;outline-offset:-2px}body.carrying{cursor:grabbing}#dialog .project-card{touch-action:pan-y}body.carrying #dialog .project-card{touch-action:none}body.carrying,body.carrying *{user-select:none;-webkit-user-select:none}body.carrying ::selection{background:transparent}.card-ghost{position:fixed;z-index:60;transform:translate(-50%,-115%);pointer-events:none;opacity:.82;display:flex;align-items:center;gap:9px;padding:7px 11px;border-radius:12px;border:1px solid #8fb45f;background:#1b2a20e8;color:#e4eeda;font-size:12px;box-shadow:0 12px 30px #000a;rotate:-1.5deg}.card-ghost-face{flex:0 0 auto;width:26px;height:38px;border-radius:4px;overflow:hidden;display:block}.card-ghost-face svg{width:100%;height:100%;display:block}.card-ghost-title{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.library-branch.is-target>.library-branch-head{background:#ceef7118;border-bottom-color:#8ca65c}.library-branch.is-target>.library-branch-head .library-branch-toggle{color:#e3f7b4}.library-branch.is-target>.library-branch-head svg,.library-branch.is-target>.library-branch-head .library-branch-twist{color:#ceef71}.folder-choices{display:flex;flex-direction:column;gap:6px;margin:0 0 12px}.folder-choices button{justify-content:flex-start;gap:8px}.folder-choices button svg{width:15px;height:15px;color:#9fb98c}.folder-choices button.active{background:#ceef7118;border-color:#8ca65c;color:#d8f39b}#inspector.size-editing,#inspector.picking-colour{opacity:.4;transition:opacity .12s}.group-editor .group-player{grid-template-columns:16px 24px minmax(0,1fr);gap:6px;min-height:40px;padding:6px;margin:4px 0}.group-editor .group-player-role{width:24px;height:24px;font-size:9px}.group-editor .group-player-name{font-size:12px;line-height:1.35}.group-editor .group-player input[type=checkbox]{width:16px;height:16px}@media(max-width:480px){.group-editor .group-player{grid-template-columns:16px 22px minmax(0,1fr);gap:4px;padding:6px 4px;min-height:40px}.group-editor .group-player input,.group-editor .group-player-role,.group-editor .group-player-name{grid-row:auto;grid-column:auto}.group-editor .group-player-role{width:22px;height:22px}.group-editor .group-player-name{font-size:11px}}.legal-links{display:flex;flex-direction:column;gap:3px;font-size:10px;line-height:1.35;text-align:right;flex-shrink:0}.legal-links a{color:#76866f;text-decoration:none;white-space:nowrap}.legal-links a:hover{color:#c8d8bd;text-decoration:underline}@media(max-width:820px){.legal-links{display:none}}.export-options{gap:19px}.export-group{display:flex;flex-direction:column;gap:8px}.export-group>.micro{margin:0}.export-sub{display:flex;flex-direction:column;gap:5px;margin:1px 0 0 3px;padding-left:12px;border-left:2px solid var(--line)}.export-sub>label.micro{display:flex;align-items:center;gap:8px;margin:0;font-size:12px;color:#c6d6bd}.export-sub input[type=checkbox]{flex:0 0 auto;width:16px;height:16px;accent-color:var(--accent)}.export-select{margin:2px 0 0 3px;padding-left:12px;border-left:2px solid var(--line)}.export-select>summary{cursor:pointer;font-size:12px;color:#c6d6bd;padding:3px 0;list-style-position:outside}.export-select>summary:hover,.export-select>summary:focus-visible{color:var(--accent)}.export-select>.micro{margin:6px 0}.export-select-all{display:flex;align-items:center;gap:8px;margin:0 0 6px;padding-bottom:7px;border-bottom:1px solid var(--line);font-size:12px;color:#c6d6bd}.export-select-group{margin:0 0 11px}.export-select-group>h4{margin:0 0 4px;font-size:11px;font-weight:700;letter-spacing:.04em;color:var(--muted)}.export-select-group>label.micro{display:grid;grid-template-columns:16px minmax(0,1fr);align-items:baseline;column-gap:8px;margin:0 0 5px;font-size:12px;color:#c6d6bd}.export-select-group>label.micro>small{grid-column:2;margin-top:2px;font-size:11px;color:var(--muted)}.export-select input[type=checkbox]{width:16px;height:16px;accent-color:var(--accent)}.formation-detail-head{display:flex;align-items:center;gap:10px}.slot-clear{margin-left:auto;flex:0 0 auto;min-height:0;padding:4px 10px;border-radius:8px;font-size:11px;font-weight:600}.team-library-dialog .slot-clear{min-height:28px;color:#c0cdb6;background:transparent;border:1px solid #a1b58b33}.team-library-dialog .slot-clear:hover{background:#ffffff0a;border-color:#a1b58b66}.formation-detail-mark{flex:0 0 auto;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--team-color,var(--accent));color:#142019;font-size:11px;font-weight:800;border:2px solid #10271c;outline:3px solid #fff;outline-offset:2px}.formation-roster-field [data-enrol][hidden]{display:none}.formation-detail{border-radius:14px}.formation-stage .formation-detail{transition:border-color .2s}.formation-swap-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;position:sticky;top:var(--head-h,65px);z-index:3;margin:0 -24px 14px;padding:8px 24px;background:#172019f5;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid #3c4c32}.formation-swap-bar .micro{flex:1 1 100%;margin:0;order:9;font-size:11px}@media(max-width:600px){.formation-swap-bar{margin-inline:-16px;padding-inline:16px}}.team-library-dialog:has(>.formation-swap-bar){scroll-padding-top:calc(var(--head-h,65px) + var(--swap-bar-h,74px) + 10px)}.resizable>.box-grip{position:fixed;z-index:70;width:28px;height:28px;min-width:0;min-height:0;padding:0;border:0;background:transparent;color:#fff6;cursor:nwse-resize;touch-action:none;display:grid;place-items:center}.resizable>.box-grip:after{content:"";width:15px;height:15px;background:linear-gradient(135deg,transparent 44%,currentColor 44%,currentColor 54%,transparent 54%,transparent 68%,currentColor 68%,currentColor 78%,transparent 78%)}.resizable>.box-grip:hover,.resizable>.box-grip:active{color:#ceef71}@media(pointer:coarse){.resizable>.box-grip{width:36px;height:36px}.resizable>.box-grip:after{width:18px;height:18px}}.panel-grip{position:absolute;left:0;top:0;bottom:0;width:10px;cursor:ew-resize;z-index:6;background:linear-gradient(90deg,#fff0,#ffffff10)}.panel-grip:hover,.panel-grip:active{background:linear-gradient(90deg,#fff0,#ceef7133)}.panel-grip:after{content:"";position:absolute;left:3px;top:50%;width:2px;height:34px;transform:translateY(-50%);border-radius:2px;background:#fff2}@media(pointer:coarse){.panel-grip{width:16px}}.sync-trouble{margin:4px 0 0;color:#d8b7a8;overflow-wrap:anywhere;font-size:11px;line-height:1.6}.sync-trouble[hidden]{display:none}.fold-note{position:relative;margin:0 0 10px;padding-right:30px}.fold-note .micro{margin:0}.team-library-dialog .fold-note-toggle{position:absolute;top:-4px;right:0;width:26px;height:26px;min-width:26px;min-height:26px;padding:0;display:grid;place-items:center;border-radius:50%;background:#ffffff08;border:1px solid #ffffff14;color:#b9c9ab}.fold-note-toggle .picker-chevron{font-size:14px;line-height:1;transition:transform .18s ease}.fold-note.folded{margin-bottom:2px;padding-right:0;min-height:26px}.fold-note.folded .micro{display:none}.fold-note.folded .picker-chevron{transform:rotate(180deg)}@media(prefers-reduced-motion:reduce){.fold-note-toggle .picker-chevron{transition:none}}.formation-sheet{display:grid;gap:10px;margin-top:4px}.formation-sheet[hidden]{display:none}.formation-sheet>.micro{margin:0}.sheet-rows{display:grid;gap:0;border:1px solid #ffffff12;border-radius:12px;background:#ffffff04;overflow:hidden}.sheet-rows>.sheet-row+.sheet-row{border-top:1px solid #ffffff0f}.sheet-head{margin:6px 0 4px;font-size:12px;letter-spacing:.04em;color:#b7c9a9;font-weight:700}.sheet-head:first-of-type{margin-top:0}.sheet-row{display:grid;grid-template-columns:26px 54px 56px minmax(0,1fr) auto auto auto;gap:6px;align-items:center;padding:5px 8px}.sheet-no{font-size:11px;color:#8fa283;text-align:right;font-variant-numeric:tabular-nums}.sheet-no.bench{color:#d7b394}.team-library-dialog .sheet-pick,.team-library-dialog .sheet-clear,.team-library-dialog .sheet-drop{width:30px;min-width:30px;height:30px;min-height:30px;padding:0;border-radius:50%;font-size:15px;line-height:1;display:grid;place-items:center}.team-library-dialog .sheet-pick{color:#cfe0c2;border:1px solid #80966a66;background:#20321f}.team-library-dialog .sheet-clear{color:#c0cdb6;border:1px solid #a1b58b33;background:transparent}.sheet-pick .picker-chevron{font-size:13px;line-height:1}.formation-sheet input{min-height:36px;font-size:14px;padding:5px 8px;border-radius:9px;background:#0f2018;border:1px solid #80966a44;color:#edf3e6;min-width:0;width:100%}.formation-sheet input:focus{outline:2px solid #c4e97877;outline-offset:1px;border-color:#b2d577}.sheet-drop{min-height:30px;width:30px;padding:0;border-radius:50%;font-size:16px;line-height:1;color:#ffd3c9;border:1px solid #9c615366;background:#3b241f}@media(max-width:600px){.sheet-row{grid-template-columns:20px 44px 48px minmax(0,1fr) auto auto auto;gap:4px;padding:6px}.sheet-no{font-size:10px}.formation-sheet input{min-height:34px;font-size:13px;padding:5px 6px}.team-library-dialog .sheet-pick,.team-library-dialog .sheet-clear,.team-library-dialog .sheet-drop{width:27px;min-width:27px;height:27px;min-height:27px;font-size:14px}}.formation-sheet-tool{margin-left:auto}.formation-swap-tool{flex-direction:column;gap:4px;min-height:54px;min-width:72px;max-width:120px;padding:7px 10px;border-radius:8px}.formation-swap-tool svg{width:20px;height:20px}.formation-swap-tool span{font-size:11px;line-height:1.2;text-align:center;white-space:normal;overflow-wrap:anywhere;color:#97a68f}.formation-swap-tool:hover{background:#25301f;border-color:#63765d}.formation-swap-tool.active{color:var(--accent);background:#2d3a21;border-color:#485a31}.formation-swap-tool.active span{color:var(--accent)}.formation-swap-tool:disabled{opacity:.4}.formation-swap-tool:disabled:hover{background:transparent;border-color:#3c4c32}.formation-swap-bar .formation-swap-tool[hidden]{display:none}@media(min-width:601px){.formation-stage .formation-preview{height:min(38dvh,330px);max-height:none;width:auto;justify-self:center;align-self:start}.formation-stage .formation-pitch{justify-content:center;align-self:start}.formation-stage .formation-pitch>.formation-preview{flex:0 0 auto}}@media(min-width:900px){.formation-stage{display:grid;grid-template-columns:minmax(0,300px) minmax(0,1fr);gap:18px;align-items:start}.formation-stage>.formation-editor{display:contents}.formation-stage .formation-pitch{grid-column:1;grid-row:1}.formation-stage .formation-detail{grid-column:2;grid-row:1;max-width:none}}.formation-stage[hidden]{display:none}.team-library-dialog:has(.formation-editor),.role-editor{padding-bottom:0}.team-library-dialog:has(.formation-editor) .modal-buttons,.role-editor .modal-buttons{position:sticky;bottom:0;z-index:3;margin:10px calc(-1 * var(--pad)) 0;padding:8px var(--pad) var(--pad);background:#172019f5;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-top:1px solid #3c4c32}.team-library-dialog:has(.formation-editor) .modal-buttons button,.role-editor .modal-buttons button{min-height:38px;padding:7px 14px}@media(max-width:600px){.team-library-dialog:has(.formation-editor) .modal-buttons,.role-editor .modal-buttons{padding-block:6px;gap:8px}.team-library-dialog:has(.formation-editor) .modal-buttons button,.role-editor .modal-buttons button{min-height:36px;padding:6px 10px;font-size:13px}}.team-library-dialog .modal-buttons button.icon-only{width:40px;min-width:40px;padding:0;display:grid;place-items:center;flex:0 0 auto;order:-1;margin-right:auto}.team-library-dialog .modal-buttons button.icon-only svg{width:19px;height:19px}@media(max-width:600px){.team-library-dialog .modal-buttons button.icon-only{width:36px;min-width:36px}}@media(min-width:900px){.team-library-dialog:has(.formation-editor) .guest-risk.compact{display:flex;align-items:center;gap:14px;padding:8px 13px;margin:0 0 12px}.team-library-dialog:has(.formation-editor) .guest-risk.compact p{flex:1;line-height:1.55}.team-library-dialog:has(.formation-editor) .guest-risk.compact button{margin-top:0;flex:0 0 auto;width:auto;white-space:nowrap}}@media(max-width:600px){select,textarea,input:not([type=checkbox]):not([type=range]):not([type=hidden]){font-size:16px!important}}.item-popup{padding-bottom:10px;background:linear-gradient(145deg,#203126e6,#14221ae0)}.item-popup.under{display:block;z-index:4}#objects.measuring .hit{display:none}.item-popup .item-grid button{background:#232f29e6}.item-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(74px,1fr));gap:7px;padding:0 10px}.item-grid button{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:4px;padding:7px 3px 6px;min-height:72px;background:#232f29;border:1px solid var(--line);border-radius:9px;color:var(--dim);font-size:10px;line-height:1.25;text-align:center;cursor:pointer}@media(hover:hover){.item-grid button:hover{border-color:var(--line-strong,#4d6349)}}.item-grid button[aria-pressed=true]{border:2px solid var(--accent,#ceef71);background:#28352c;color:var(--accent,#ceef71);padding:6px 2px 5px}.item-grid .item-thumb{width:34px;height:34px;flex:0 0 34px}.tools button .item-thumb{width:20px;height:20px}@media(max-width:600px){.tools button .item-thumb{width:19px;height:19px}}.item-size{display:flex;align-items:center;gap:9px;padding:0 10px 10px}.item-size>span{flex:0 0 auto;font-size:11.5px;color:var(--dim)}.item-size .size-slider{flex:1;min-width:0}.item-preview-slot{padding:0 10px 8px}.item-preview{display:block;margin:0 auto;max-width:100%;border-radius:8px}.item-popup .language-popover-heading [data-item-fold]{display:grid;place-items:center;width:22px;height:22px;padding:0;margin-right:2px;border:0;background:none;color:var(--dim);cursor:pointer}.item-popup .language-popover-heading [data-item-fold]:hover,.item-popup .language-popover-heading [data-item-fold]:hover svg{color:#e9f2e6;fill:#e9f2e6;background:none}.item-popup.compact .language-popover-heading strong,.item-popup.compact .item-preview-slot,.item-popup.compact .item-size{display:none}.item-popup.compact .language-popover-heading{padding:5px 6px 3px 8px}.item-popup .language-popover-heading{cursor:move;touch-action:none}.item-popup.compact .item-grid{display:flex;gap:6px;overflow-x:auto;overflow-y:hidden;padding-bottom:10px;scrollbar-width:thin;touch-action:pan-x;-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 26px),transparent);mask-image:linear-gradient(to right,#000 calc(100% - 26px),transparent)}.item-popup.compact .item-grid.at-end{-webkit-mask-image:none;mask-image:none}.item-carry{position:fixed;inset:0 auto auto 0;margin:0;border:0;padding:0;background:none;overflow:visible;width:44px;height:44px;display:grid;place-items:center;pointer-events:none;opacity:.92;filter:drop-shadow(0 6px 12px #0008);animation:item-lift .12s ease-out}.item-carry .item-thumb{width:100%;height:100%}@keyframes item-lift{0%{opacity:0}to{opacity:.92}}@keyframes item-pop{0%{transform:none}45%{transform:scale(1.16)}to{transform:none}}.item-grid button.lifting{animation:item-pop .24s ease-out;z-index:1}@media(prefers-reduced-motion:reduce){.item-carry,.item-grid button.lifting{animation:none}}#grid{opacity:0;transition:opacity .34s ease-out}#grid.lit{opacity:.2;transition-duration:.13s}@media(prefers-reduced-motion:reduce){#grid{transition:none}}.item-popup{user-select:none;-webkit-user-select:none}.item-popup.compact .item-grid button{flex:0 0 62px;min-height:46px;padding:3px 2px;gap:2px;touch-action:pan-x}.item-popup.compact .item-grid button[aria-pressed=true]{padding:2px 1px}.item-popup.compact .item-grid .item-thumb{width:21px;height:21px;flex-basis:21px}.item-popup.compact .item-grid button span{font-size:9px}.item-popup.compact .item-grid{padding-bottom:5px}.item-popup.idle .item-size{opacity:.42}.item-popup.idle .item-size input{pointer-events:none}.item-popup:popover-open{display:flex;flex-direction:column;overflow:hidden}.item-popup .item-grid{overflow-y:auto;min-height:0;padding-bottom:10px}.item-popup:not(.compact) .item-grid,.item-popup:not(.compact) .item-grid button{touch-action:pan-y}.item-popup .language-popover-heading,.item-popup .item-preview-slot,.item-popup .item-size{flex:0 0 auto}.item-popup .language-popover-heading{display:flex;align-items:center;gap:6px;min-width:0}.item-popup .language-popover-heading>strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.item-popup .language-popover-heading>button{flex:0 0 auto}.item-mode-mini{flex:0 0 auto}@media(max-width:400px){.item-mode-mini button{width:27px}.item-mode-mini{margin-right:4px;gap:4px}}.item-mode button{display:flex;align-items:center;justify-content:center;gap:5px}.item-mode .place-icon{flex:0 0 auto}.item-mode button span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.item-mode button:active,.item-mode-mini button:active,.item-popup .language-popover-heading button:active{transform:scale(.93)}.item-mode button,.item-mode-mini button,.item-popup .language-popover-heading button{transition:transform .08s ease,background .12s ease,color .12s ease}.item-mode [data-item-stop].just-pressed,.item-mode-mini [data-item-stop].just-pressed{animation:item-stop-flash .42s ease}@keyframes item-stop-flash{0%{background:var(--accent,#ceef71);color:#152015;border-color:var(--accent,#ceef71)}60%{background:var(--accent,#ceef71);color:#152015;border-color:var(--accent,#ceef71)}to{background:#232f29;color:var(--dim);border-color:var(--line)}}@media(prefers-reduced-motion:reduce){.item-mode button:active,.item-mode-mini button:active,.item-popup .language-popover-heading button:active{transform:none}.item-mode [data-item-stop].just-pressed,.item-mode-mini [data-item-stop].just-pressed{animation-duration:.01s}}.item-popup .language-popover-heading [data-item-close]{min-width:34px;min-height:34px;display:grid;place-items:center;font-size:19px;line-height:1;border:0;background:none;color:var(--dim);cursor:pointer;touch-action:manipulation}.item-popup .language-popover-heading [data-item-close]:hover{color:#e9f2e6}@media(max-width:600px){.scene-buttons{gap:4px}.scene-buttons :is(#toggle-scenes,#add-scene){font-size:9px;padding-inline:5px;gap:4px}.scene-buttons :is(#toggle-scenes,#add-scene) svg{width:14px;height:14px}}input::placeholder,textarea::placeholder{color:#63735e;opacity:1}#dialog .tutorial-actions{position:sticky;bottom:-18px;z-index:1;margin-bottom:0;padding:10px 0 18px;background:linear-gradient(180deg,#18211a00,#18211a 22%)}.roster-bulk{margin:12px 0 0;border:1px solid var(--line);border-radius:10px;background:#141c17}.roster-bulk>summary{padding:11px 13px;font-size:13px;font-weight:600;cursor:pointer;list-style:none}.roster-bulk>summary::-webkit-details-marker{display:none}.roster-bulk>summary:before{content:"＋";margin-right:7px;color:var(--accent)}.roster-bulk[open]>summary:before{content:"−"}.roster-bulk>:not(summary){margin-inline:13px}.roster-bulk>:last-child{margin-bottom:13px}.roster-bulk textarea{font-size:14px;line-height:1.7;min-height:118px}.roster-bulk-buttons{display:grid;gap:8px;margin-top:10px}.roster-preview{display:grid;gap:5px;max-height:260px;overflow:auto;margin-top:8px}.roster-preview-row{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;padding:6px 8px;border:1px solid #33422f;border-radius:8px;background:#18211a;font-size:13px}.roster-preview-row>strong{flex:1 1 auto;min-width:0;overflow-wrap:anywhere}.roster-preview-row.is-skipped{opacity:.55}.roster-preview-skip{flex:1 1 60%;min-width:0;font-size:10px;line-height:1.4;color:#9fb08f;overflow-wrap:anywhere}.roster-preview-keep{margin-left:auto}#dialog .roster-identity{flex-wrap:wrap}.roster-groups{display:inline-flex;flex-wrap:wrap;align-items:center;gap:4px;min-width:0}.roster-groups span{font-size:10px;line-height:1.5;padding:1px 6px;border-radius:5px;border:1px solid #46583f;background:#1d281f;color:#a9bd9c;max-width:96px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.roster-group-chips{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding-top:9px;border-top:1px solid #ffffff14}.roster-group-chips>.micro{margin:0;color:#e7d3d5}.roster-group-chip{display:inline-flex;align-items:center;gap:0;border:1px solid #56674866;border-radius:9px;background:#ffffff08;overflow:hidden}.roster-group-chip strong{font-size:11px;font-weight:600;padding:0 8px;color:#dbe7d0;max-width:112px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.roster-group-chip button{min-width:30px;min-height:32px;padding:0;border:0;border-left:1px solid #56674866;border-radius:0;background:transparent;font-size:14px;line-height:1;color:#cfe0c2}.roster-group-chip button:hover,.roster-group-chip button:focus-visible{background:#2f4030}.roster-group-chip.is-locked{border-style:dashed}.roster-group-chip.is-locked strong,.roster-group-chip.is-locked button{opacity:.62}.roster-group-chip button:disabled{cursor:not-allowed}.roster-group-chip button:disabled:hover{background:transparent}.roster-group-chip .group-pro-badge{margin-right:6px}.group-search{margin:0 0 12px}.group-search input{min-height:42px}.group-search input::-webkit-search-cancel-button{display:none}.group-search [data-search-status]{margin:6px 0 0}.group-search [data-search-status]:empty{display:none}.team-library-dialog .group-player[hidden]{display:none}.roster-search{margin:12px 0 0;position:relative}.roster-search input{min-height:42px;width:100%;padding-right:42px;box-sizing:border-box}#roster-search-clear{position:absolute;top:0;right:0;width:40px;height:42px;min-height:0;padding:0;border:0;background:transparent;color:var(--muted);font-size:19px;line-height:1;display:grid;place-items:center}#roster-search-clear:hover{color:#e7eede}#roster-search-clear[hidden]{display:none}.roster-search>#roster-search-status{margin:6px 0 0}#roster-search::-webkit-search-cancel-button{display:none}#roster-search-status:empty{display:none}#dialog .roster-row[hidden]{display:none}.roster-select{margin:12px 0 0}.roster-select-ways{display:flex;flex-wrap:wrap;gap:7px}.roster-select-ways button{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:0 13px;border:1px solid #56674866;border-radius:9px;background:#ffffff05;color:#c4d3b8;font-size:12px}.roster-select-ways button svg{width:15px;height:15px}.roster-select-ways button:hover,.roster-select-ways button:focus-visible{border-color:#8fb45f88;color:#d7e6c6}.roster-select-live{display:grid;gap:8px;padding:10px 12px;border:1px solid #56674866;border-radius:12px;background:#ffffff05}.roster-select-ways[hidden],.roster-select-live[hidden]{display:none}.roster-select-count{margin:0;color:#cbd9c2}.roster-select-buttons{display:flex;flex-wrap:wrap;gap:7px}.roster-select-buttons button{min-height:38px;padding:0 13px;border-radius:9px;font-size:12px}.roster-select-danger{padding-top:9px;border-top:1px solid #ffffff14}.roster-select-danger button{width:100%;min-height:40px;border-radius:9px;font-size:12px}.roster-pick{display:none}#dialog .roster-list.is-picking .roster-row{grid-template-columns:auto minmax(0,1fr)}#dialog .roster-list.is-picking .roster-pick{display:flex;align-items:center;flex:0 0 auto}#dialog .roster-list.is-picking .roster-pick input{width:20px;height:20px;accent-color:var(--accent)}#dialog .roster-list.is-picking [data-roster-edit],#dialog .roster-list.is-picking [data-roster-delete]{display:none}#dialog .roster-list.is-picking .roster-row:has(.roster-pick input:checked){border-color:#8fb45f;background:#22301e}.group-manager .roster-list.is-picking .roster-row{grid-template-columns:auto minmax(0,1fr)}.group-manager .roster-list.is-picking .roster-pick{display:flex;align-items:center;flex:0 0 auto}.group-manager .roster-list.is-picking .roster-pick input{width:20px;height:20px;accent-color:var(--accent)}.group-manager .roster-list.is-picking .roster-row:has(.roster-pick input:checked){border-color:#8fb45f;background:#22301e}#app.compact .board-top{display:none}#app.compact .workspace{grid-template-columns:minmax(0,1fr);padding-top:var(--safe-top);padding-bottom:var(--safe-bottom)}#app.compact .topbar,#app.compact .timeline,#app.compact .tools{position:fixed;z-index:5;left:8px;right:8px;width:auto;height:auto;min-height:0;max-height:none;flex-direction:row;align-items:center;border:1px solid #3d513999;border-radius:24px;background:#141f18b3;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:0 8px 24px #0005;padding:5px 7px;gap:2px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}#app.compact .topbar::-webkit-scrollbar,#app.compact .timeline::-webkit-scrollbar,#app.compact .tools::-webkit-scrollbar{display:none}#app.compact .topbar{top:calc(6px + var(--safe-top));justify-content:flex-start;justify-content:safe center}#app.compact .brand,#app.compact .document-title,#app.compact .legal-links,#app.compact #mode-badge{display:none}#app.compact .header-actions{display:flex;gap:2px;margin:0;flex-wrap:nowrap}#app.compact .header-actions button,#app.compact .tools button{width:38px;min-width:38px;flex:0 0 38px;min-height:38px;padding:0;gap:0;border-color:transparent;background:transparent;border-radius:999px}#app.compact .header-actions button span,#app.compact .tools button span{display:none}#app.compact .header-actions button svg,#app.compact .tools button svg{width:19px;height:19px}#app.compact .header-actions #export{background:var(--accent);color:var(--ink)}#app.compact .tools{bottom:calc(6px + var(--safe-bottom));border-top:1px solid #3d5139;justify-content:flex-start}#app.compact .rail-pin{display:flex;align-items:center;justify-content:center;position:fixed;z-index:6;left:8px;bottom:calc(6px + var(--safe-bottom));width:53px;height:50px}#app.compact .tools{border-left:53px solid transparent}#app.compact .rail-pin:after{content:"";position:absolute;right:0;top:11px;bottom:11px;width:1px;background:#3f5139}.rail-pin,.rail-pin[hidden]{display:none}#app.compact .tools button.active{background:#2d3a21;border-color:#485a31}#app.compact .tool-separator{display:none}#app.compact .timeline{bottom:calc(62px + var(--safe-bottom));border-top:1px solid #3d5139;flex-direction:column;align-items:stretch}#app.compact .timeline-switches,#app.compact .timeline-label{display:none}#app.compact .timeline-header{margin:0;gap:4px;min-height:0;flex-wrap:nowrap;justify-content:flex-start;width:max-content}#app.compact .scene-buttons{margin-left:0;flex-wrap:nowrap;flex:0 0 auto}#app.compact .scene-buttons button{flex:0 0 auto}#app.compact .scene-buttons button span{white-space:nowrap;overflow-wrap:normal}#app.compact .playback select{width:46px;font-size:11px;padding:4px 2px}#app.compact .timeline .playback{margin-right:0}#app.compact .timeline-header button{min-height:34px}#app.compact .scene-list{max-height:96px;padding:6px 2px 2px}#app.compact .view-toggle,#app.compact #formation-phases:not(.moved){top:62px}#app.compact .stage-controls:not(.moved){bottom:62px}#formation-phases,.stage-controls,.view-toggle{transition:top .3s cubic-bezier(.33,1,.68,1),bottom .3s cubic-bezier(.33,1,.68,1)}#app.compact .timeline.moved{overflow:visible}#app.compact .timeline.dragging{opacity:.9;cursor:grabbing}#app.compact .timeline,#app.compact .timeline button{touch-action:pan-x}#app.compact .timeline.pill-narrow,#app.compact .timeline.pill-narrow button{touch-action:none}.view-toggle{position:absolute;top:5px;right:8px;z-index:3;width:32px;height:32px;min-height:0;padding:0;gap:0;border-radius:999px;border:1px solid #394a36;background:#141f18dd;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#c4d3b6}.view-toggle:hover{background:#24331dee}.view-toggle span{display:none}.view-toggle svg{width:15px;height:15px}#app.compact .timeline{left:8px;right:auto;width:max-content;max-width:calc(100% - 16px);overflow:visible}#app.compact .timeline-header{overflow-x:auto;overflow-y:hidden;scrollbar-width:none;max-width:calc(100vw - 64px);transition:max-width .34s cubic-bezier(.33,1,.68,1)}#app.compact .timeline-header::-webkit-scrollbar{display:none}#app.compact .timeline.pill-narrow .timeline-header{max-width:34px;overflow:hidden}.scene-pill-fold{display:none}#app.compact .scene-pill-fold{order:9;display:inline-flex;width:30px;min-width:30px;flex:0 0 30px;min-height:30px;padding:0;gap:0;border:0;border-radius:999px;color:#9fb195;position:absolute;right:7px;top:50%;transform:translateY(-50%);z-index:1;background:transparent}#app.compact .timeline{padding-right:41px}#app.compact .scene-pill-fold span{display:none}#app.compact .scene-pill-fold svg{width:13px;height:13px;transition:transform .3s cubic-bezier(.33,1,.68,1)}#app.compact .timeline:not(.pill-narrow) .scene-pill-fold svg{transform:rotate(180deg)}#app.compact .timeline.pill-narrow .scene-buttons{visibility:hidden;transition:visibility 0s linear .34s}#app.compact .timeline.pill-narrow .playback select,#app.compact .timeline.pill-narrow .scene-list{display:none}#app.compact .timeline.pill-narrow .playback button{min-height:34px}.quick-switch{position:fixed;z-index:7;min-width:168px;max-width:min(260px,calc(100vw - 16px));padding:5px;border:1px solid #3d5139;border-radius:14px;background:#141f18f2;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:0 14px 34px #0007;display:flex;flex-direction:column;gap:2px;opacity:0;transform:translateY(-6px) scale(.97);transform-origin:top center;transition:opacity .16s linear,transform .2s cubic-bezier(.33,1,.68,1)}.quick-switch.shown{opacity:1;transform:none}.quick-switch.picking{cursor:default}.quick-switch [data-quick]{display:flex;align-items:center;gap:8px;justify-content:flex-start;width:100%;min-height:40px;padding:6px 9px;border:0;border-radius:10px;background:transparent;font-size:13px;color:#dbe7d0;text-align:left}.quick-switch [data-quick]:hover,.quick-switch [data-quick].under{background:#2d3a21;color:#f0f8e6}.quick-switch .quick-star{width:15px;min-width:15px;display:flex;color:var(--accent)}.quick-switch .quick-star svg{width:15px;height:15px}.quick-switch .quick-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.quick-switch-empty{margin:0;padding:9px 10px;font-size:11.5px;line-height:1.6;color:#9db094}@media(prefers-reduced-motion:reduce){.quick-switch{transition:opacity .01s linear}}.tactic-pill-wrap{position:absolute;top:6px;left:8px;z-index:3;display:inline-flex;max-width:min(62%,230px)}.tactic-pill-wrap.moved{left:0}#app.compact .tactic-pill-wrap{top:62px}.tactic-pill{display:inline-flex;align-items:center;gap:5px;max-width:100%;min-height:30px;padding:4px 9px 4px 11px;border:1px solid #394a36;border-radius:999px;background:#141f18dd;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#dbe7d0;font-size:12.5px}.tactic-pill:hover{background:#24331dee}.tactic-pill .tactic-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.tactic-pill svg{width:12px;height:12px;transform:rotate(90deg);opacity:.75}#formation-phases:not(.moved){top:44px}#app.compact #formation-phases:not(.moved){top:100px}.card-rename{display:flex;flex-wrap:wrap;gap:6px;padding:8px;background:#1b2a1d;border-bottom:1px solid #3a4a33}.card-rename input{flex:1 1 100%;font-size:13px;padding:7px 9px}.card-rename button{flex:1 1 0;min-height:34px;font-size:12px;padding:4px 8px}@media(orientation:landscape)and (min-aspect-ratio:14/9){#app.compact .topbar,#app.compact .tools{top:calc(6px + var(--safe-top));bottom:calc(6px + var(--safe-bottom));transform:none;width:auto;height:auto;flex-direction:column;justify-content:flex-start;justify-content:safe center;overflow-x:hidden;overflow-y:auto;border-radius:26px}#app.compact .tools{left:calc(6px + env(safe-area-inset-left,0px));right:auto;border-top:0}#app.compact .rail-pin{left:calc(6px + env(safe-area-inset-left,0px));right:auto;top:calc(6px + var(--safe-top));bottom:auto;width:53px;height:47px}#app.compact .tools{border-left:0;border-top:47px solid transparent}#app.compact .rail-pin:after{inset:auto 9px 0;width:auto;height:1px}#app.compact .topbar{right:calc(6px + env(safe-area-inset-right,0px));left:auto}#app.compact .header-actions{flex-direction:column}#app.compact .timeline:not(.moved){right:auto;transform:none;left:calc(68px + env(safe-area-inset-left,0px));bottom:calc(6px + var(--safe-bottom))}#app.compact .tactic-pill-wrap:not(.moved){top:6px;left:50%;transform:translate(-50%);max-width:min(50%,200px)}#app.compact .view-toggle,#app.compact #formation-phases:not(.moved){top:6px}#app.compact .view-toggle{right:calc(68px + env(safe-area-inset-right,0px))}#app.compact #formation-phases:not(.moved){left:56px}#app.compact .stage-controls:not(.moved){bottom:calc(8px + var(--safe-bottom));right:calc(68px + env(safe-area-inset-right,0px));left:auto}}.tools.reordering{cursor:grabbing}.tools .rail-lifted{transform:scale(1.14);box-shadow:0 6px 18px #0007;background:#2d3a21;border-color:#6f8a4d;z-index:2;position:relative}.tools [data-tool],.tools #undo,.tools #redo{transition:transform .14s cubic-bezier(.33,1,.68,1)}.tools [data-tool=trash]{color:#e0a9a9}.tools [data-tool=trash] span{color:#c69a9a}.tools [data-tool=trash]:hover:not(:disabled){background:#2f2022;color:#f0b9b9}.tools [data-tool=trash]:hover:not(:disabled) span{color:#f0b9b9}.tools [data-tool=trash].active,#app.compact .tools [data-tool=trash].active{background:#ff8191;border-color:#ff8191;color:#2a1418}.tools [data-tool=trash].active span{color:#2a1418}@media(prefers-reduced-motion:reduce){.tools .rail-lifted{transform:none}}#app.compact .view-toggle,#app.compact .tactic-pill{background:#141f18b3;border-color:#3d513999;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}#app.compact .stage-controls:not(.moved){background:#141f18b3;border-color:#3d513999;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}#app.compact .scene-pill-fold{background:#16221b00;box-shadow:-9px 0 9px #16221b7a}.tools .rail-lifted{pointer-events:none;transition:none}#app.compact .scene-buttons button span,#app.compact .timeline-header .ball-follow-switch>span:not(.switch-icon){display:none}#app.compact #toggle-scenes svg,#app.compact #add-scene svg{display:block;width:18px;height:18px}#app.compact .scene-buttons button{width:34px;min-width:34px;flex:0 0 34px;padding:0;gap:0;justify-content:center}#app.compact .playback button{width:34px;min-width:34px;padding:0;justify-content:center}#app.compact .timeline-switches{display:flex;order:3;width:auto;gap:2px;flex-wrap:nowrap;align-items:center;flex:0 0 auto}#app.compact .playback{order:1}#app.compact .scene-buttons{order:2}#app.compact .ball-follow-switch{min-height:34px;width:34px;min-width:34px;flex:0 0 34px;justify-content:center;border-radius:999px;font-size:0;gap:0}#app.compact .ball-follow-switch .switch-track{display:none}#app.compact #reset-facing{width:34px;min-width:34px;flex:0 0 34px;padding:0;gap:0;font-size:0;justify-content:center}#app.compact #reset-facing svg{display:block;width:18px;height:18px}.switch-icon{display:none}#app.compact .switch-icon{display:flex;color:#8a9b81;transition:color .18s,filter .18s}#app.compact .switch-icon svg{width:18px;height:18px}#app.compact .ball-follow-switch:has(input:checked) .switch-icon{color:var(--accent);filter:drop-shadow(0 0 6px #ceef7159)}#app.compact .ball-follow-switch:has(input:disabled) .switch-icon{opacity:.34}.swatches{flex-wrap:wrap}.swatch-free{position:relative;display:inline-flex;min-width:25px;width:25px;height:25px;border-radius:50%;border:3px solid #171f1a;outline:1px solid transparent;cursor:pointer;background:conic-gradient(#ff6b6b,#ffe066,#4ade80,#2dd4bf,#67c7fb,#bc9fff,#f18fa1,#ff6b6b)}.swatch-free.active{outline-color:#ecf5e2;background:var(--swatch)}.swatch-free input{position:absolute;inset:0;width:100%;height:100%;min-height:0;opacity:0;padding:0;border:0;cursor:pointer}#app.compact .tools,#app.compact .rail-pin{bottom:calc(6px + var(--safe-bottom) + var(--banner-space,0px))}#app.compact .timeline:not(.moved){bottom:calc(62px + var(--safe-bottom) + var(--banner-space,0px))}@media(orientation:landscape)and (min-aspect-ratio:14/9){#app.compact .topbar,#app.compact .tools{bottom:calc(6px + var(--safe-bottom) + var(--banner-space,0px))}#app.compact .timeline:not(.moved){bottom:calc(6px + var(--safe-bottom) + var(--banner-space,0px))}#app.compact .stage-controls:not(.moved){bottom:calc(8px + var(--safe-bottom) + var(--banner-space,0px))}}body:has(#app.compact) dialog[open]:not(.roster-picker):not(.tour-open){margin-top:calc(10px + var(--safe-top));margin-bottom:calc(10px + var(--safe-bottom) + var(--banner-space,0px));max-height:calc(100dvh - 20px - var(--safe-top) - var(--safe-bottom) - var(--banner-space,0px));overflow:auto}body:has(#banner-area:not([hidden])):not(:has(#app.compact)) dialog[open]:not(.roster-picker):not(.tour-open){bottom:var(--banner-space,0px);top:var(--safe-top,0px);max-height:calc(100dvh - var(--banner-space,0px) - var(--safe-top,0px) - 12px)}@media(orientation:landscape)and (min-aspect-ratio:14/9){body:has(#app.compact) dialog[open]:not(.roster-picker):not(.tour-open){margin-top:calc(6px + var(--safe-top));margin-bottom:calc(6px + var(--safe-bottom) + var(--banner-space,0px));max-height:calc(100dvh - 12px - var(--safe-top) - var(--safe-bottom) - var(--banner-space,0px));max-width:calc(100vw - 124px - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px))}}.colour-chip{display:inline-flex;align-items:center;justify-content:flex-start;align-self:flex-start;width:auto;min-width:0;min-height:40px;padding:4px 10px 4px 8px;gap:0;border-radius:999px;background:#1a251d;border:1px solid #3a4a33}.colour-chip:hover{background:#24311f}.colour-chip-dot{width:24px;height:24px;min-width:24px;border-radius:50%;background:linear-gradient(180deg,#ffffff24,#00000024),var(--swatch);border:2px solid #101715;box-shadow:0 1px 3px #0007}.colour-chip-dot+.colour-chip-dot{margin-left:-9px}.colour-chip-arrow{width:7px;height:7px;margin-left:11px;transform:rotate(45deg) translate(-1px,-1px);border-right:2px solid #9fb195;border-bottom:2px solid #9fb195}.colour-pop{position:fixed;z-index:8;width:236px;padding:9px;border:1px solid #3d513980;border-radius:14px;background:#141f1833;box-shadow:0 16px 38px #0008;display:flex;flex-direction:column;gap:9px;opacity:0;transform:translateY(-6px) scale(.98);transform-origin:top left;transition:opacity .16s linear,transform .2s cubic-bezier(.33,1,.68,1)}.colour-pop.shown{opacity:1;transform:none}.colour-swatches{display:grid;grid-template-columns:repeat(6,1fr);gap:6px}.colour-swatches button{width:100%;min-width:0;height:26px;min-height:26px;padding:0;border-radius:7px;background:var(--swatch);border:2px solid #171f1a;outline:1px solid transparent}.colour-swatches button.active{outline-color:#ecf5e2}.colour-area{position:relative;height:104px;border-radius:9px;border:1px solid #2d3a2c;cursor:crosshair;background:linear-gradient(to top,#000,transparent),linear-gradient(to right,#fff,hsl(var(--hue,90) 100% 50%));touch-action:none}.colour-hue{position:relative;height:16px;border-radius:999px;border:1px solid #2d3a2c;cursor:ew-resize;background:linear-gradient(to right,red,#ff0,#0f0,#0ff,#00f,#f0f,red);touch-action:none}.colour-dot{position:absolute;width:14px;height:14px;margin:-7px 0 0 -7px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px #0009,0 2px 6px #0007;pointer-events:none;background:var(--swatch)}.colour-hue .colour-dot{top:50%}@media(prefers-reduced-motion:reduce){.colour-pop{transition:opacity .01s linear}}#inspector.notes-hidden .selection-section>.micro.colour-note{display:none}#reset-tool-order{margin-top:20px}.colour-pop .colour-area,.colour-pop .colour-hue{display:none}.colour-pop.free .colour-area,.colour-pop.free .colour-hue{display:block}.colour-swatches .colour-rainbow{width:100%;min-width:0;height:26px;min-height:26px;padding:0;border-radius:7px;border:2px solid #171f1a;outline:1px solid transparent;opacity:1;background:conic-gradient(from .25turn,#ff6b6b,#ffe066,#4ade80,#2dd4bf,#67c7fb,#bc9fff,#f18fa1,#ff6b6b)}.colour-swatches .colour-rainbow.active{outline-color:#ecf5e2}.fig-box.dialog{fill:#18211a;stroke:#4e6042}.fig-panel-title{font-size:11.5px;font-weight:600;fill:#cbd5c3}.fig-shelf{font-size:10px;fill:#9ba994}.fig-field>rect{fill:#101813;stroke:#364236;stroke-width:1}.fig-field-label{font-size:10px;fill:#a7b49c}.fig-field-value{font-size:12px;fill:#e5eae3}.fig-chev{font-size:12px;fill:#9ba994}.fig-row>rect{fill:#202b24;stroke:#2c3730;stroke-width:1}.fig-row text{font-size:11px;fill:#e0e9df}.fig-row.on>rect{fill:#2d3a21;stroke:#485a31}.fig-row.on text{fill:#d7e6c6}.fig-chip-btn>rect{fill:#0e1711;stroke:#2e3c2a;stroke-width:1}.fig-chip-btn text{font-size:11px;fill:#9bab91;text-anchor:middle}.fig-chip-btn.on>rect{fill:#303e25;stroke:#485a31}.fig-chip-btn.on text{fill:#d7e6c6}.fig-btn>rect{fill:#202b24;stroke:#2c3730;stroke-width:1}.fig-btn .fig-glyph{color:#e0e9df}.fig-btn-label{font-size:10px;fill:#e0e9df}.fig-mini{font-size:9.5px;fill:#e5eae3}.fig-scroll{fill:#4c603d}.fig-chip.ghost circle{fill:none;stroke:#9fb98c;stroke-width:1.4;stroke-dasharray:3 3}.fig-chip.ghost text{fill:#9fb98c}.fig-dot{fill:#97a68f}.fig-dot-label{fill:#5d7355}.fig-role-tag{fill:#26331f;stroke:#3c4c32;stroke-width:1}.fig-role-text{font-size:11px;font-weight:600;fill:#c8d4b8;text-anchor:middle}.fig-name{font-size:11px;font-weight:600;fill:#fff;text-anchor:middle;paint-order:stroke;stroke:#13251d;stroke-width:3}.fig-btn.primary>rect{fill:#ceef71;stroke:#ceef71}.fig-btn.primary text{font-size:11px;fill:#152015;font-weight:650;text-anchor:middle}.fig-pill-btn>rect{fill:#202b24;stroke:#2c3730;stroke-width:1}.fig-pill-btn .fig-glyph{color:#e0e9df}.fig-pill-btn.on>rect{fill:#2d3a21;stroke:#485a31;stroke-width:1.4}.fig-pill-btn.on .fig-glyph{color:#ceef71}.fig-route{stroke:#5d7355;stroke-width:1.4}.fig-tactic-pill>rect{fill:#141f18;fill-opacity:.92;stroke:#394a36}.fig-tactic-pill text{font-size:10px;fill:#e0e9df}.fig-bar{fill:#131b17;stroke:#2c3730;stroke-width:1}.fig-bar.floating{fill:#172019;fill-opacity:.96;stroke:#3c4c32}.fig-bar.floating.ghost{fill-opacity:.35;stroke-dasharray:4 3}.fig-fold{fill:#9ba994}.fig-swatch{stroke:#171f1a;stroke-width:3}.fig-swatch.home{fill:#ceef71}.fig-swatch.away{fill:#f18fa1}.fig-step{font-size:12px;fill:#9ba994;text-anchor:middle}.fig-card-title{font-size:11.5px;fill:#e7ece7;font-weight:600}.fig-select-ring{fill:none;stroke:#fff;stroke-width:2;stroke-dasharray:5 4}.fig-tap .fig-glyph{color:var(--accent)}.fig-tap text{font-size:11px;font-weight:700;fill:var(--accent);text-anchor:middle}.fig-star{fill:var(--accent)}.fig-star.off{fill:none;stroke:#5d7355;stroke-width:1.3}.fig-xfer{font-size:13px;font-weight:700;fill:var(--accent);text-anchor:middle}.fig-pick{fill:none;stroke:var(--accent);stroke-width:1.8}.fig-bench{fill:none;stroke:#6f8f64;stroke-width:1.2;stroke-dasharray:5 4}.fig-swap{stroke:#9fb98c;stroke-width:1.4;stroke-dasharray:3 3}.fig-track{fill:none;stroke:#9fb98c;stroke-width:1.4;stroke-dasharray:5 4}.fig-grid{fill:none;stroke:#6f8f64;stroke-width:.8;opacity:.75}.tour-deck{display:flex;flex-direction:column;gap:14px;outline:none}.tour-card-fig{margin:0;padding:10px;border:1px solid var(--line);border-radius:14px;background:#101715}.tour-card-fig svg{display:block;width:100%;height:auto}.tour-card h3{margin:14px 0 6px;font-size:16px;color:var(--accent)}.tour-card p{margin:0;font-size:14px;line-height:1.85;color:#cfdcc3}.tour-card p.tour-card-genre{margin:0 0 8px;font-size:11px;line-height:1.4;letter-spacing:.08em;font-weight:700;color:#8ca07f}.tour-card-genre .tour-card-at{margin-left:10px;letter-spacing:.04em;font-weight:600;color:#6f8f64}.tour-deck-foot{display:flex;align-items:center;gap:10px}.tour-deck-foot button[data-prev],.tour-deck-foot button[data-next]{min-width:40px;padding:6px 10px;font-size:18px;line-height:1}.tour-deck-foot .tour-step{font-size:11px;color:var(--muted);white-space:nowrap}.tour-deck-foot button[data-more]{min-height:36px;white-space:nowrap}@media(max-width:600px){.tour-card h3{font-size:15px}.tour-card p{font-size:13px}.tour-deck-foot{gap:8px}.tour-deck-foot .tour-step{flex:1;text-align:center}}.tour-deck-foot button[hidden]{display:none}.tour-chapters{margin-bottom:26px}.tour-chapters h3{font-size:16px;color:var(--accent);margin:0 0 4px}.tour-chapter-list{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:12px}.tour-chapter-list button{justify-content:flex-start;gap:9px;text-align:left;font-size:13px;min-height:38px;padding:7px 10px}.tour-chapter-list button span:last-child{overflow-wrap:anywhere}.tour-chapter-no{flex:0 0 auto;min-width:19px;text-align:center;font-size:11px;color:var(--accent);background:#26331f;border-radius:4px;padding:2px 4px}@media(max-width:600px){.tour-chapter-list{grid-template-columns:1fr}}.tour-jump{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:4px;max-height:190px;overflow-y:auto;padding:12px 2px 2px;border-top:1px solid var(--line)}.tour-jump button{justify-content:flex-start;gap:8px;text-align:left;font-size:12px;min-height:32px;padding:5px 9px}.tour-jump button span:last-child{overflow-wrap:anywhere}.tour-jump button.on{background:#2d3a21;border-color:#485a31;color:var(--accent)}.tour-jump button.on .tour-chapter-no{background:#485a31;color:#eaf5df}@media(max-width:600px){.tour-jump{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:max-content;overflow-x:auto;overflow-y:hidden;max-height:none;scrollbar-width:none}.tour-jump::-webkit-scrollbar{display:none}.tour-jump button span:last-child{white-space:nowrap}}.fig-slot{fill:none;stroke:#5d7355;stroke-width:1.3;stroke-dasharray:4 3}#app.compact .playback button span{display:none}#app.compact .timeline.pill-narrow .playback button{min-height:30px;min-width:30px;padding:4px 6px}#app.compact .timeline.pill-narrow .playback button svg{width:13px;height:13px}#dialog.tour-open{width:min(1060px,calc(100vw - 28px));max-height:92dvh}#dialog.tour-open .help-rest-title,#dialog.tour-open .help-rest-note{display:none}.tour-deck-foot button[data-back]{min-height:34px;font-size:12px;padding:5px 11px}@media(min-width:900px){.tour-deck{display:grid;grid-template-columns:minmax(0,1fr) 264px;grid-template-areas:"card list" "foot list";gap:12px 20px;align-items:start}.tour-stage{grid-area:card}.tour-deck-foot{grid-area:foot}.tour-jump{grid-area:list;margin:0;grid-template-columns:1fr;border-top:0;padding-top:0;border-left:1px solid var(--line);padding-left:16px;max-height:min(66dvh,560px)}.tour-card-fig{padding:14px}}.help-rest-title{font-size:16px;color:var(--accent);margin:26px 0 2px}.help-rest-note{margin:0 0 12px}#dialog.tour-open{width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;background:var(--bg)}#dialog.tour-open #dialog-content{display:flex;flex-direction:column;height:100%;gap:10px;padding:max(10px,var(--safe-top)) max(14px,env(safe-area-inset-left)) max(12px,var(--safe-bottom)) max(14px,env(safe-area-inset-right))}#dialog.tour-open .modal-heading{margin:0;flex:0 0 auto}#dialog.tour-open .tour-deck{flex:1;min-height:0}#dialog.tour-open .tour-card{border:1px solid #33452f;border-radius:16px;padding:14px;background:linear-gradient(168deg,#23312a,#18221c 42%,#0f1612);box-shadow:0 1px #def5d61c inset,0 -1px #00000080 inset,0 18px 38px #0009,0 6px 14px #00000073}#dialog.tour-open .tour-card-fig{background:#0f1613}#dialog.tour-open .tour-deck-foot,#dialog.tour-open .tour-jump{flex:0 0 auto}@media(max-width:899px){#dialog.tour-open .tour-deck{display:flex;flex-direction:column}#dialog.tour-open .tour-stage{flex:1 1 auto;min-height:0}}@media(min-width:900px){#dialog.tour-open .tour-deck{grid-template-rows:minmax(0,1fr) auto;height:100%;width:100%;max-width:1200px;margin-inline:auto}#dialog.tour-open .tour-jump{max-height:none;height:100%}}#dialog.tour-open .tour-card{display:flex;flex-direction:column;justify-content:safe center}.tour-genre{font-size:14px;letter-spacing:.04em;color:#cfe0bf;margin:22px 0 8px;font-weight:700}.tour-chapters .tour-genre:first-of-type{margin-top:14px}.tour-jump{grid-auto-flow:row}.tour-jump .tour-genre{grid-column:1/-1;margin:12px 0 4px}.tour-jump .tour-genre:first-of-type{margin-top:0}@media(max-width:899px){.tour-jump{grid-auto-flow:column;align-items:center}.tour-jump .tour-genre{grid-column:auto;margin:0 4px;writing-mode:vertical-rl;font-size:10px;max-height:34px;overflow:hidden;white-space:nowrap}}@media(max-width:899px){.tour-jump{grid-auto-flow:column;grid-template-rows:auto auto;grid-auto-columns:max-content;align-items:center;gap:6px}.tour-jump .tour-genre{grid-row:1/-1;writing-mode:horizontal-tb;max-height:none;margin:0 2px;align-self:center}}.help-point{font-size:13px;font-weight:600;color:#cfe0bf;margin:18px 0 4px}.help-body>.help-point:first-child{margin-top:4px}.help-point+p{margin-top:0}.tour-jump{display:flex;gap:16px;align-items:flex-start;grid-template-columns:none}.tour-jump-group{flex:0 0 auto}.tour-jump-row{display:flex;gap:6px}.tour-jump .tour-genre{margin:0 0 5px;writing-mode:horizontal-tb;max-height:none;white-space:nowrap}.tour-jump button span:last-child{white-space:nowrap}@media(min-width:900px){.tour-jump{display:block}.tour-jump-group+.tour-jump-group{margin-top:12px}.tour-jump-row{display:grid;gap:6px}.tour-jump button span:last-child{white-space:normal;overflow-wrap:anywhere}}.tour-stage{position:relative;overflow:hidden;min-height:0;align-self:stretch}.tour-stage>.tour-card{position:absolute;inset:0;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;will-change:transform;box-shadow:0 0 34px 6px #000a;user-select:none;-webkit-user-select:none}#dialog.tour-open .tour-stage>.tour-card[hidden],.tour-stage>.tour-card[hidden]{display:none}@media(prefers-reduced-motion:reduce){.tour-stage>.tour-card{transition:none!important}}.tour-quick{margin-bottom:24px;border:1px solid #4e6042;border-radius:14px;padding:14px 15px;background:#19231b}.tour-quick h3{font-size:16px;color:var(--accent);margin:0 0 4px}.tour-quick-list{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:6px}.tour-quick-list button{width:100%;justify-content:flex-start;gap:9px;text-align:left;font-size:13px;min-height:38px;padding:7px 10px}.tour-quick-list button span:last-child{overflow-wrap:anywhere}.tour-quick-no{flex:0 0 auto;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;font-size:11px;color:#19251b;background:var(--accent);font-weight:700}@media(min-width:900px){.tour-quick-list{grid-template-columns:1fr 1fr}}#dialog:has(.tour-chapters){width:min(1100px,calc(100vw - 38px))}@media(min-width:900px){.tour-chapter-list,.tour-quick-list{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}}.tour-chapters [data-tour-card].on,.tour-quick [data-tour-quick].on{background:#3c4f26;border-color:var(--accent);color:var(--accent);font-weight:650;box-shadow:inset 3px 0 0 var(--accent)}.tour-chapters [data-tour-card].on .tour-chapter-no{background:var(--accent);color:#19251b}.tour-jump{user-select:none;-webkit-user-select:none}@media(max-width:899px){.tour-jump{cursor:grab}}.tour-jump.panning{cursor:grabbing}.tour-find{margin:10px 0 4px}.tour-find-none{margin:10px 2px 0;color:#c6b58a}.tour-chapters .tour-genre[hidden],.tour-chapters [data-tour-card][hidden]{display:none}.tour-filtered{margin:0;flex:0 0 auto;font-size:11px;color:#c3d3b4;background:#24301f;border:1px solid #3f5131;border-radius:9px;padding:6px 10px}.folder-eject{position:fixed;left:50%;bottom:calc(min(135px,22dvh) + max(var(--banner-space,0px),var(--safe-bottom)));z-index:9;display:flex;align-items:center;gap:9px;padding:11px 20px;border:1px dashed #7a9465;border-radius:999px;background:#1b261df2;box-shadow:0 14px 40px #000a;color:#cfe0bf;font-size:13px;font-weight:650;white-space:nowrap;pointer-events:auto;transform:translate(-50%,18px);opacity:0;transition:transform .16s ease,opacity .16s ease}.folder-eject.up{transform:translate(-50%);opacity:1}.folder-eject svg{width:17px;height:17px}.folder-eject.is-target{border-style:solid;border-color:var(--accent);color:var(--accent);background:#2d3a21f2;transform:translate(-50%,-4px) scale(1.04)}@media(prefers-reduced-motion:reduce){.folder-eject{transition:none}}.fig-route-where{fill:#9fb98c;font-size:10.5px;letter-spacing:.02em}.tour-defs{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}.tour-jump .tour-genre{font-size:11px;letter-spacing:.06em;color:#8ca07f;font-weight:600}.panel-notes button,.library-notes button{margin-top:0}#inspector button[hidden],#inspector p.micro[hidden],#inspector .two-col[hidden]{display:none!important}.pitch-legend{gap:12px}.pitch-legend .legend-side{display:flex;align-items:center;gap:7px;padding:5px 7px;margin:-5px -7px;background:none;border:0;border-radius:9px;color:inherit;font:inherit;letter-spacing:inherit;min-height:0}.pitch-legend .legend-side:active{background:#ffffff1f}.pitch-legend .away-dot{margin-left:0}#app.compact .pitch-legend{top:auto;bottom:calc(118px + var(--safe-bottom,0px));left:9px;gap:8px;font-size:9px}#app.compact .pitch-legend .legend-side{padding:6px 7px;margin:-6px -7px}
