:root{--bg:#f6f6f6;--surface:#fff;--ink:#2c2c2c;--muted:#989898;--line:#ebebeb;--accent:#007854;--accent-soft:#e4f3ed;--coral:#bc503c;--green:#007854;--radius:20px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}button:disabled{opacity:.35;cursor:default}button,input,select{outline-offset:4px}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #008a68}button{border:0;background:none}svg{display:block}.icon{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon-btn{width:42px;height:42px;display:grid;place-items:center;border-radius:12px}.icon-btn:hover{background:var(--accent-soft)}.button{display:flex;align-items:center;justify-content:center;gap:8px;padding:12px 17px;border-radius:12px;font-size:13px;font-weight:600;background:#fff;border:1px solid var(--line);min-height:44px;white-space:nowrap}.button.primary{background:var(--accent);border-color:var(--accent);color:white;box-shadow:0 5px 14px #00785422}.button:hover{filter:brightness(.98)}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:700;color:var(--muted);text-transform:uppercase}.muted{color:var(--muted)}.pill{display:inline-flex;align-items:center;gap:6px;background:var(--accent-soft);color:var(--accent);border-radius:7px;padding:5px 8px;font-size:11px;font-weight:600}.dot{width:6px;height:6px;border-radius:50%;background:currentColor}.app-shell{display:grid;grid-template-columns:218px minmax(0,1fr);min-height:100dvh}.sidebar{border-right:1px solid var(--line);padding:30px 20px 20px;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0;width:218px;background:#fbfbfb;z-index:5}.brand{display:flex;align-items:center;gap:10px;font-size:21px;font-weight:740;letter-spacing:-.7px}.brand-mark{display:grid;place-items:center;background:var(--accent);color:#fff;border-radius:12px;width:35px;height:35px;box-shadow:0 4px 10px #00785424}.brand-mark svg{width:24px;height:24px}.brand-tag{font-size:10px;color:var(--muted);margin:9px 0 40px 45px}.nav-item{display:flex;align-items:center;gap:11px;width:100%;padding:13px 14px;text-align:left;border-radius:11px;font-size:13px;font-weight:600}.nav-item.active{background:var(--accent-soft);color:var(--accent)}.nav-item .count{margin-left:auto;font-size:11px;background:#cce8dc;padding:2px 5px;border-radius:5px}.side-label{margin:31px 13px 12px}.project-list{display:flex;flex-direction:column;gap:4px;overflow:auto}.side-project{display:flex;align-items:center;gap:10px;text-align:left;padding:10px 12px;border-radius:10px;font-size:12px;width:100%;color:#6e6e6e}.side-project.active{background:white;color:var(--ink);box-shadow:0 2px 7px #2b2b2b05}.side-project .mini-dot{width:7px;height:7px;background:var(--accent);border-radius:50%;flex-shrink:0}.side-project span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.side-new{font-size:12px;display:flex;align-items:center;gap:8px;padding:12px;color:var(--accent);width:100%;margin-top:8px}.side-bottom{margin-top:auto;padding-top:28px}.side-note{border:1px solid var(--line);border-radius:15px;padding:14px;margin-bottom:14px;background:white}.side-note .note-art{display:flex;gap:5px;margin:3px 0 12px;align-items:center}.note-art .disc{width:22px;height:22px;background:var(--accent-soft);border:2px solid #68b397;border-radius:50%}.note-art .dash{width:22px;border-top:2px dashed #a6d3c3}.side-note strong{font-size:12px}.side-note p{font-size:11px;line-height:1.6;color:var(--muted);margin:6px 0 0}.help-btn{font-size:12px;color:#7e7e7e;display:flex;gap:8px;align-items:center;padding:8px}.main{grid-column:2;min-width:0}.topbar{height:83px;border-bottom:1px solid var(--line);padding:0 34px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fbfbfb}.crumbs{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:12px}.crumbs .icon{width:15px;height:15px}.crumbs strong{font-weight:500;color:#5a5a5a}.top-actions{display:flex;gap:9px;align-items:center}.saved{font-size:11px;color:#898989;display:flex;align-items:center;gap:6px;margin-right:10px}.saved .icon{width:14px;height:14px;color:var(--green)}.mobile-brand{display:none}.workspace{max-width:1600px;margin:auto;padding:30px 34px 24px}.workspace-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:24px}.title-line{display:flex;align-items:center;gap:12px;margin-top:7px}.title-line h1{margin:0;font-size:27px;font-weight:670;letter-spacing:-.9px}.edit-name{color:#b8b8b8;width:30px;height:30px;border-radius:8px;display:grid;place-items:center}.edit-name .icon{width:14px;height:14px}.subheading{margin-top:9px;font-size:12px;color:var(--muted)}.heading-actions{display:flex;align-items:center;gap:10px}.segmented{display:flex;background:#ececec;border-radius:10px;padding:3px;gap:2px}.segmented button{padding:9px 12px;border-radius:8px;font-size:12px;color:#909090;min-height:36px}.segmented .active{background:#fff;box-shadow:0 2px 4px #00785408;color:var(--accent);font-weight:650}.editor-grid{display:grid;grid-template-columns:minmax(0,1fr) 225px;gap:22px;align-items:start}.board-panel{background:white;border:1px solid #eaeaea;border-radius:22px;box-shadow:0 8px 30px #2c2c2c04;overflow:hidden;position:relative;min-width:0}.board-top{padding:17px 22px 0;display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:11px}.board-top .legend{display:flex;gap:16px}.legend span{display:flex;gap:6px;align-items:center;color:#8f8f8f}.team-dot{width:7px;height:7px;border-radius:50%;background:var(--accent)}.team-dot.away{background:var(--coral)}.pitch-holder{padding:9px 14px 0}.pitch{width:100%;height:auto;aspect-ratio:1000/660;touch-action:none;user-select:none;-webkit-user-select:none;overflow:visible}.pitch .player{cursor:grab}.pitch .player:active{cursor:grabbing}.pitch text{pointer-events:none;fill:#fff;font-weight:650;font-size:22px;text-anchor:middle;dominant-baseline:central;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.pitch .stroke-hit{stroke:transparent;stroke-width:28;fill:none;pointer-events:stroke}.board-bottom{display:flex;justify-content:space-between;align-items:center;padding:7px 23px 21px;min-height:36px;color:#a4a4a4;font-size:10px}.board-bottom span{display:flex;gap:6px;align-items:center}.board-bottom .icon{width:13px;height:13px}.toolbar{display:flex;align-items:center;justify-content:center;gap:6px;background:white;border:1px solid var(--line);box-shadow:0 5px 20px #2c2c2c09;border-radius:17px;padding:7px;width:max-content;margin:16px auto 0}.tool{min-width:53px;min-height:52px;border-radius:11px;display:flex;align-items:center;justify-content:center;gap:5px;flex-direction:column;font-size:9px;color:#9c9c9c}.tool .icon{width:19px;height:19px}.tool.active{background:var(--accent-soft);color:var(--accent)}.tool:hover{background:#f6f6f6}.tool-separator{height:27px;width:1px;background:var(--line);margin:0 5px}.tool.color-tool{min-width:39px}.color-swatch{width:18px;height:18px;border-radius:50%;border:3px solid white;box-shadow:0 0 0 1px #ccc}.toolbar .icon-btn{width:35px}.inspector{background:white;border:1px solid var(--line);border-radius:18px;padding:20px 18px}.inspector-title{font-size:13px;font-weight:650;margin:0 0 20px;display:flex;align-items:center;gap:8px}.inspector-title .icon{width:16px;height:16px;color:var(--accent)}.field-label{display:block;font-size:11px;color:#929292;margin:17px 0 8px}.team-select{display:flex;gap:6px}.team-select button{display:flex;align-items:center;gap:6px;justify-content:center;width:50%;padding:10px 6px;border:1px solid var(--line);border-radius:9px;font-size:11px}.team-select .active{border-color:#78bea5;background:#eff8f4}.select{border:1px solid var(--line);background:#fcfcfc;color:#525252;border-radius:9px;width:100%;padding:11px 10px;font-size:12px;min-height:42px}.formation-preview{margin:13px 0;background:#fbfbfb;border:1px solid #f1f1f1;border-radius:10px;padding:9px}.formation-preview svg{width:100%;height:84px}.apply-button{width:100%;min-height:39px;font-size:11px;padding:9px}.separator{border:0;border-top:1px solid var(--line);margin:20px 0}.switch-line{display:flex;align-items:center;justify-content:space-between;font-size:11px;gap:8px}.switch{appearance:none;-webkit-appearance:none;width:30px;height:18px;background:#e0e0e0;border-radius:20px;position:relative;cursor:pointer;margin:0;flex-shrink:0}.switch:checked{background:var(--accent)}.switch:before{content:'';width:12px;height:12px;position:absolute;top:3px;left:3px;background:white;border-radius:50%;transition:transform .2s}.switch:checked:before{transform:translateX(12px)}.duration-control{display:flex;align-items:center;gap:10px;font-size:12px}.duration-control input{width:100%;accent-color:var(--accent)}.tip{font-size:10px;line-height:1.7;color:#a4a4a4;margin:14px 0 0}.timeline-section{margin-top:29px}.timeline-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.timeline-title{font-size:13px;font-weight:650;display:flex;gap:8px;align-items:center}.timeline-title small{font-weight:450;color:#a3a3a3;font-size:11px}.timeline-actions{display:flex;align-items:center;gap:12px}.text-button{display:flex;align-items:center;gap:6px;font-size:11px;color:#9c9c9c;padding:8px 0;min-height:36px}.text-button .icon{width:14px;height:14px}.text-button.accent{color:var(--accent)}.timeline{display:flex;align-items:flex-start;gap:13px;overflow:auto;padding:3px 3px 12px;scrollbar-width:thin}.frame-card{width:144px;flex:0 0 144px;text-align:left;padding:0;position:relative;transition:transform .15s}.frame-thumb{border:1px solid #e6e6e6;border-radius:11px;background:#fff;padding:4px;position:relative;aspect-ratio:1.65;overflow:hidden}.frame-card.active .frame-thumb{border:2px solid var(--accent);padding:3px;box-shadow:0 0 0 3px #0078540b}.frame-thumb svg{width:100%;height:100%}.frame-order{position:absolute;top:6px;left:7px;border-radius:4px;background:#f0f0f0;color:#949494;font-size:8px;padding:2px 4px}.frame-card.active .frame-order{background:var(--accent);color:white}.frame-label{font-size:10px;font-weight:550;margin-top:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.frame-time{font-size:9px;color:#aeaeae;margin-top:4px}.frame-menu{position:absolute;right:0;bottom:-3px;width:24px;height:24px;color:#9a9a9a;display:grid;place-items:center;border-radius:6px}.frame-menu .icon{width:15px;height:15px}.frame-card:hover{transform:translateY(-2px)}.frame-add{height:88px;min-width:78px;border:1px dashed #d6d6d6;border-radius:11px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;color:#adadad;font-size:9px;margin-top:0}.frame-add .icon{width:20px;height:20px}.timeline-foot{display:flex;justify-content:space-between;font-size:10px;color:#aeaeae;margin-top:4px;gap:8px}.timeline-foot span{display:flex;align-items:center;gap:5px}.playback-progress{position:absolute;bottom:0;left:0;height:3px;width:0;background:var(--accent);transition:none}.library{padding:40px 34px;max-width:1300px;margin:auto}.library-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:36px}.library h1{font-size:34px;letter-spacing:-1.2px;font-weight:650;margin:0 0 10px}.library-intro{color:#9b9b9b;font-size:13px;line-height:1.6;margin:0}.project-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px}.project-card{border:1px solid var(--line);background:white;border-radius:18px;overflow:hidden}.project-card-thumb{background:#fcfcfc;padding:22px 18px 10px;cursor:pointer}.project-card-thumb svg{width:100%;height:auto}.project-card-body{padding:18px 20px 20px;border-top:1px solid #f3f3f3}.project-card-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.project-card-title button:first-child{text-align:left;font-size:15px;font-weight:600;padding:0;word-break:break-word}.project-card-meta{font-size:11px;color:#a2a2a2;margin-top:8px}.new-project-card{min-height:260px;background:#f3f3f3;border:1px dashed #d3d3d3;border-radius:18px;color:#9e9e9e;display:flex;align-items:center;justify-content:center;gap:12px;flex-direction:column;font-size:13px}.new-project-card .icon{width:30px;height:30px;color:var(--accent)}.library-bottom{margin-top:30px;display:flex;gap:20px;align-items:center;flex-wrap:wrap}.library-bottom .text-button{font-size:12px}.empty-text{padding:30px;background:#fff;border-radius:20px;margin-bottom:20px;font-size:14px}.toast{position:fixed;bottom:26px;left:50%;transform:translate(-50%,15px);padding:13px 20px;border-radius:13px;background:#2c2c2c;color:white;box-shadow:0 6px 25px #28282820;z-index:80;font-size:12px;max-width:90%;text-align:center;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}.toast.visible{opacity:1;transform:translate(-50%,0)}dialog{border:0;background:white;color:var(--ink);border-radius:24px;padding:30px;box-shadow:0 30px 90px #28282830;width:min(460px,calc(100% - 30px));max-height:85dvh;overflow:auto}dialog::backdrop{background:#2b2b2b50;backdrop-filter:blur(7px)}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:8px}.modal-head h2{margin:0;font-size:23px;letter-spacing:-.7px;font-weight:650}.modal-sub{color:#959595;font-size:12px;line-height:1.7;margin:0 0 21px}.input{border:1px solid var(--line);border-radius:11px;padding:12px;width:100%;background:#fcfcfc;color:var(--ink);font-size:14px;min-height:46px}.format-options{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:10px}.format-option{border:1px solid var(--line);border-radius:12px;min-height:80px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px}.format-option strong{font-size:20px;font-weight:650}.format-option small{color:#a3a3a3;font-size:10px}.format-option.active{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:25px}.modal-actions .button{flex:1}.menu-list{display:flex;flex-direction:column;gap:3px;margin-top:20px}.menu-list button{display:flex;align-items:center;gap:10px;text-align:left;border-radius:10px;padding:13px 10px;font-size:13px;min-height:46px}.menu-list button:hover{background:#f6f6f6}.menu-list button.danger{color:#c76d72}.menu-list .icon{width:18px;height:18px}.help-content p{font-size:13px;color:#848484;line-height:1.8}.help-content strong{color:#505050}.help-content ol{padding-left:18px;line-height:2;font-size:13px;color:#848484}.help-content a{color:var(--accent)}.mobile-library,.mobile-setup{display:none}.presentation .sidebar,.presentation .topbar,.presentation .workspace-heading,.presentation .inspector,.presentation .toolbar,.presentation .timeline-section,.presentation .board-top,.presentation .board-bottom{display:none}.presentation .app-shell{display:block;min-height:100dvh;background:#fff}.presentation .main{width:100%}.presentation .workspace{padding:12px;max-width:none;height:100dvh;display:flex;align-items:center;justify-content:center}.presentation .editor-grid{display:block;width:min(100%,calc((100dvh - 100px)*1.515))}.presentation .board-panel{border:none;box-shadow:none;overflow:visible}.presentation .pitch-holder{padding:0}.present-controls{display:flex;align-items:center;gap:9px;position:fixed;bottom:max(24px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);background:#fff;border:1px solid var(--line);box-shadow:0 6px 30px #26262618;border-radius:16px;padding:7px;z-index:20}.present-controls span{font-size:11px;color:#9d9d9d;min-width:55px;text-align:center}.present-controls .icon-btn.primary{background:var(--accent);color:white}.present-exit{position:fixed;right:20px;top:max(20px,env(safe-area-inset-top));background:#f4f4f4;border-radius:50%;z-index:22}.motion-reduced{font-size:10px;color:#959595}.onboarding-note{border-radius:12px;background:#f8f8f8;padding:13px;font-size:12px;line-height:1.7;color:#929292;margin:16px 0 0}.error-message{font-size:12px;line-height:1.6;color:#bf6269;margin-top:12px}.color-options{display:flex;gap:12px;margin:20px 0}.color-options button{width:42px;height:42px;border-radius:50%;border:5px solid white;box-shadow:0 0 0 1px #ddd}.color-options button.active{box-shadow:0 0 0 2px var(--accent)}.storage-warning{padding:12px 20px;background:#fff1ea;color:#ad6345;font-size:12px}.app-shell>.storage-warning{grid-column:1/-1}.saved.error{color:#c47057}.inspector.mobile-open{position:fixed;z-index:30;right:15px;left:15px;bottom:max(18px,env(safe-area-inset-bottom));box-shadow:0 15px 60px #00785430;max-height:75dvh;overflow:auto}.inspector-close{display:none;float:right}.inspector.mobile-open .inspector-close{display:grid}.inspector-backdrop{position:fixed;inset:0;background:#2b2b2b45;z-index:29}.native-hide{display:none!important}
@media(min-width:1500px){.editor-grid{grid-template-columns:minmax(0,1fr) 255px}.inspector{padding:24px}.workspace{padding-top:36px}.timeline-section{margin-top:36px}}
@media(max-width:1200px){.app-shell{grid-template-columns:185px minmax(0,1fr)}.sidebar{width:185px;padding:27px 14px 18px}.workspace{padding:25px 25px 20px}.topbar{padding:0 25px}.editor-grid{grid-template-columns:minmax(0,1fr) 200px;gap:16px}.title-line h1{font-size:24px}.brand{font-size:19px}.side-note{padding:12px}.saved{display:none}.tool{min-width:43px}.toolbar{gap:3px}.timeline-section{margin-top:24px}}
@media(max-width:1100px){.app-shell{grid-template-columns:1fr}.main{grid-column:1}.sidebar{display:none}.mobile-brand{display:flex;font-size:19px}.mobile-brand .brand-mark{width:30px;height:30px;border-radius:10px}.crumbs{display:none}.workspace{max-width:1050px}.mobile-library,.mobile-setup{display:flex}.topbar{height:70px}.heading-actions .segmented{display:none}.editor-grid{grid-template-columns:minmax(0,1fr) 210px}.workspace-heading{margin-bottom:20px}.board-panel{border-radius:18px}.library{padding-top:30px}.library h1{font-size:30px}.brand-tag{display:none}}
@media(max-width:900px){.editor-grid{grid-template-columns:1fr}.inspector{display:none}.inspector.mobile-open{display:block}.workspace{padding:22px 20px 24px}.topbar{padding:0 20px}.top-actions .present-button span{display:none}.top-actions .present-button{padding:11px}.workspace-heading{gap:5px}.title-line h1{font-size:23px}.heading-actions{align-self:flex-start}.mobile-setup{padding:10px;font-size:11px}.mobile-setup .icon{width:17px}.toolbar{margin-top:13px}.timeline-section{margin-top:25px}.frame-card{width:135px;flex-basis:135px}.timeline-foot .right-hint{display:none}.library{padding:27px 20px}.project-cards{grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}.library-heading{align-items:flex-start}.library-heading .button{padding:11px;font-size:11px}.saved{display:none}.subheading{font-size:11px}.board-bottom{padding:5px 19px 15px}.timeline-actions{gap:10px}.frame-add{height:82px}.help-content p{font-size:12px}}
@media(max-width:520px){.topbar{height:65px;padding:0 16px;padding-top:env(safe-area-inset-top)}.mobile-brand{font-size:18px}.top-actions{gap:5px}.top-actions .button{min-height:39px;padding:9px 11px;font-size:11px;border-radius:10px}.top-actions .button .icon{width:16px;height:16px}.mobile-library span{display:none}.mobile-library{min-width:38px}.workspace{padding:18px 16px calc(22px + env(safe-area-inset-bottom))}.workspace-heading{margin-bottom:16px}.eyebrow{font-size:9px}.title-line{gap:5px}.title-line h1{font-size:21px;letter-spacing:-.6px}.title-line .edit-name{width:24px}.subheading{font-size:10px;margin-top:7px}.heading-actions .button{min-height:37px;font-size:10px;padding:9px}.heading-actions .button span{display:none}.board-top{padding:14px 16px 0;font-size:10px}.board-top .legend{gap:12px}.pitch-holder{padding:8px 5px 0}.pitch{aspect-ratio:660/1000}.board-bottom{font-size:9px;padding:0 16px 15px}.board-bottom .pitch-direction{display:none}.toolbar{gap:2px;padding:5px;border-radius:14px;width:100%;justify-content:space-evenly}.tool{min-width:36px;min-height:45px;font-size:8px}.tool .icon{width:17px;height:17px}.tool-separator{margin:0 2px;height:22px}.toolbar .icon-btn{width:29px;height:38px}.toolbar .icon-btn .icon{width:16px;height:16px}.tool.color-tool{min-width:25px}.timeline-section{margin-top:22px}.timeline-title{font-size:12px;gap:7px}.timeline-title small{font-size:10px}.timeline-actions{gap:9px}.timeline-actions .text-button{font-size:10px}.frame-card{width:124px;flex-basis:124px}.frame-add{height:75px;min-width:62px}.frame-time{font-size:9px}.timeline-head{margin-bottom:11px}.timeline-foot{font-size:9px}.library{padding:25px 17px}.library h1{font-size:28px}.library-intro{font-size:11px}.project-cards{grid-template-columns:1fr}.library-heading{margin-bottom:24px}.new-project-card{min-height:140px}.presentation .workspace{padding:35px 8px 75px}.presentation .editor-grid{width:min(100%,calc((100dvh - 135px)*.66))}.present-controls{bottom:max(15px,env(safe-area-inset-bottom))}.present-exit{right:10px;top:max(10px,env(safe-area-inset-top))}dialog{padding:24px}.modal-head h2{font-size:21px}.inspector.mobile-open{bottom:max(10px,env(safe-area-inset-bottom));left:10px;right:10px}.inspector.mobile-open .formation-preview{display:none}.inspector.mobile-open .separator{margin:16px 0}.inspector.mobile-open .field-label{margin-top:13px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
[hidden]{display:none!important}.frame-wrap{position:relative;flex:0 0 144px;padding-bottom:9px}.frame-wrap .frame-menu{bottom:5px}.loop-option{margin-top:18px}.library-eyebrow{margin-bottom:10px}.library-storage-note{font-size:11px}.project-card-thumb{width:100%;display:block}.opponent-details{font-size:11px;color:#929292;margin-top:17px}.opponent-details summary{cursor:pointer;padding:8px 0}.opponent-details select{margin-top:7px}.loading-screen{min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}.loading-screen h1{font-size:28px;letter-spacing:-1px;margin:0}.loading-screen p{font-size:12px;color:var(--muted)}.toolbar button:disabled{opacity:.35}.timeline-foot .icon{width:12px;height:12px}.pitch .player:focus-visible circle{stroke:#2c2c2c;stroke-width:3}.pitch [data-ball]:focus-visible{outline:none}.pitch [data-ball]:focus-visible circle{stroke:#007854;stroke-width:4}.topbar{height:calc(83px + env(safe-area-inset-top));padding-top:env(safe-area-inset-top)}.presentation .present-exit span{display:none}.timeline-actions .text-button span{white-space:nowrap}.frame-menu:hover{background:#e4f3ed}.board-top .legend .team-dot.away{outline:1px dashed var(--coral);outline-offset:2px}.frame-card.active .frame-label{color:var(--accent)}
@media(max-width:1100px){.topbar{height:calc(70px + env(safe-area-inset-top))}}
@media(max-width:900px){.frame-wrap{flex-basis:135px}}
@media(max-width:520px){.topbar{height:calc(65px + env(safe-area-inset-top))}.frame-wrap{flex-basis:124px}.timeline-foot{align-items:flex-start}.timeline-foot>span{flex-wrap:wrap;row-gap:3px}.library-bottom{gap:15px}.library-storage-note{width:100%;font-size:10px}.library-heading .primary span{white-space:nowrap}.library-eyebrow{font-size:8px}}
@media(max-height:520px) and (min-width:521px){.workspace{padding-top:15px}.workspace-heading{margin-bottom:12px}.topbar{height:55px}.title-line h1{font-size:20px}.subheading{display:none}.board-panel{max-width:800px;margin:auto}.pitch{max-height:65vh}.presentation .pitch{max-height:none}.timeline-section{margin-top:18px}}
.icon-btn>span{display:none}
.account-button{font-size:12px;white-space:nowrap}.account-button.connected{color:var(--accent);background:#eef8f2}.account-summary{text-align:center;padding:20px 0 8px}.account-avatar{display:inline-grid;place-items:center;width:52px;height:52px;background:#eef8f2;border-radius:18px;color:var(--accent)}.account-avatar .icon{width:25px;height:25px}.account-summary h3{font-size:20px;margin:16px 0 8px}.account-summary p{font-size:13px;color:var(--muted);overflow-wrap:anywhere}.account-note{font-size:13px;line-height:1.7;color:#626962;margin:16px 0 24px}.google-sign-in{width:100%;justify-content:center;min-height:48px;gap:12px;background:white;border:1px solid #747775;color:#1f1f1f;font-size:14px}.google-mark{width:20px;height:20px;flex-shrink:0}.account-details{font-size:12px;color:#626962;margin:18px 0}.account-details summary{cursor:pointer;padding:8px 0}.account-details .input{font-size:12px;margin:10px 0}.account-website-link{justify-content:center;text-decoration:none}@media(max-width:600px){.account-button{width:40px;height:42px;padding:8px}.account-button span{display:none}.top-actions{gap:5px}}
.mobile-history{display:none!important}.legend span{color:#787878}
@media(max-width:520px){.toolbar{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:2px}.toolbar .tool{min-width:44px;min-height:46px}.toolbar .tool-separator,.toolbar .icon-btn{display:none}.mobile-history{display:flex!important;gap:2px;flex-shrink:0}.mobile-history .icon-btn{height:44px;width:44px}.mobile-history .icon-btn .icon{height:18px;width:18px}.board-bottom{padding-bottom:6px;padding-top:1px}.board-bottom>span:first-child{flex:1}.workspace-heading h1{overflow-wrap:anywhere}}

/* Club identity and clear frame stories. */
.brand-name{display:flex;flex-direction:column;line-height:1.15;font-size:17px;letter-spacing:-.4px}.brand-name>span{font-size:12px;letter-spacing:1.8px;margin-top:5px;color:var(--accent)}.brand-mark{flex-shrink:0}.brand-tag{margin-left:0;margin-top:14px}.sidebar .brand-name{font-size:15px}.mobile-brand .brand-name{font-size:17px}.mobile-brand .brand-name>span{font-size:11px}.frame-caption{margin:8px 22px 10px;padding:14px 18px;background:#f0f8f4;border:1px solid #dbece3;border-left:4px solid var(--accent);border-radius:12px}.caption-label{font-size:9px;text-transform:uppercase;letter-spacing:1.3px;font-weight:750;color:var(--accent)}.frame-caption p{margin:6px 0 0;font-size:16px;font-weight:550;line-height:1.5;color:#263d32;white-space:pre-wrap;overflow-wrap:anywhere;max-height:140px;overflow:auto}.narrative-panel{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:18px;padding:18px;background:#fff;border:1px solid var(--line);border-radius:16px}.narrative-panel>div{min-width:0}.narrative-panel p{font-size:12px;color:#626962;line-height:1.6;margin:7px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.narrative-voice{display:flex;align-items:center;gap:5px;color:var(--accent);font-size:10px;font-weight:600}.narrative-voice .icon{width:13px;height:13px}.narrative-edit{flex-shrink:0;font-size:11px;padding:10px 12px}.voice-settings-button{width:100%;font-size:11px;padding:10px}.narrative-text{resize:vertical;line-height:1.6;min-height:140px}textarea{font:inherit;outline-offset:4px}textarea:focus-visible{outline:3px solid var(--accent)}.narrative-footer{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:11px;margin-top:5px}.narrative-footer>div{display:flex;gap:18px}.voice-enabled{margin:20px 0;font-size:12px}.voice-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.voice-card{border:1px solid var(--line);border-radius:14px;padding:14px 5px;display:flex;flex-direction:column;align-items:center;gap:6px;min-height:118px}.voice-card.active{background:#eef8f2;border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.voice-avatar{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#e4f3ed;color:var(--accent);font-size:14px;font-weight:750}.voice-card strong{font-size:14px}.voice-card small{font-size:9px;color:#6b746d}.voice-sliders input{width:100%;accent-color:var(--accent);min-height:28px}.voice-sliders .field-label{display:flex;justify-content:space-between}.voice-sliders output{color:var(--accent);font-weight:650}.voice-preview{display:flex;align-items:center;gap:20px;margin-top:16px}.voice-preview .button{font-size:12px}.voice-note{font-size:11px;color:#68736c}.narrated-frame{display:inline-block;vertical-align:middle;color:var(--accent);margin-right:4px}.narrated-frame .icon{width:11px;height:11px}.presentation .narrative-panel{display:none}.presentation .frame-caption{position:fixed;bottom:max(90px,calc(env(safe-area-inset-bottom) + 76px));left:50%;transform:translateX(-50%);width:min(640px,calc(100% - 40px));margin:0;background:#f2f9f5f5;box-shadow:0 4px 24px #223c3010;z-index:21}.presentation .frame-caption p{font-size:18px;max-height:18dvh}.presentation .workspace:has(.frame-caption:not([hidden])){padding-bottom:190px}.presentation .workspace:has(.frame-caption:not([hidden])) .editor-grid{width:min(100%,calc((100dvh - 280px)*1.515))}
@media(max-width:600px){.mobile-brand .brand-name{font-size:13px}.mobile-brand .brand-name>span{font-size:9px;margin-top:3px}.mobile-brand{gap:6px}.mobile-brand .brand-mark{width:26px;height:30px}.narrative-panel{padding:13px;gap:10px}.narrative-edit{padding:8px 10px}.frame-caption{margin:4px 12px 8px;padding:11px 13px}.frame-caption p{font-size:14px;max-height:112px}.voice-card small{font-size:8px}.presentation .frame-caption p{font-size:16px}.presentation .workspace:has(.frame-caption:not([hidden])){padding-bottom:180px}.presentation .workspace:has(.frame-caption:not([hidden])) .editor-grid{width:min(100%,calc((100dvh - 290px)*.66))}}

.speech-status{font-size:11px;color:var(--accent);min-height:16px;margin:8px 0 0}.voice-sliders .field-label{margin-top:14px}.voice-note{line-height:1.6}.narrative-panel .eyebrow{font-size:9px}.voice-card:focus-visible{outline:3px solid var(--accent);outline-offset:3px}

.voice-dialog{padding:24px;max-height:calc(100dvh - 32px)}.voice-dialog .modal-sub{margin-bottom:14px}.voice-dialog .voice-enabled{margin:14px 0}.voice-dialog .voice-cards{gap:8px}.voice-dialog .voice-card{min-height:104px;padding:12px 5px}.voice-sliders{display:grid;grid-template-columns:1fr 1fr;column-gap:18px}.voice-sliders label[for=voice-pitch]{grid-area:1/1}.voice-sliders #voice-pitch{grid-area:2/1}.voice-sliders label[for=voice-rate]{grid-area:1/2}.voice-sliders #voice-rate{grid-area:2/2}.voice-dialog .modal-actions{margin-top:18px}.speech-status:empty{display:none}.voice-dialog .voice-note{margin-top:12px}
