.strategy-shell{display:grid;gap:16px;width:100%;max-width:1540px;min-width:0;margin:0 auto}
.strategy-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:24px 26px;border-radius:20px;color:#fff;background:radial-gradient(circle at 88% 20%,rgba(174,74,103,.38),transparent 32%),linear-gradient(135deg,#15161b,#2a2025 62%,#4e1828);box-shadow:0 18px 50px rgba(44,15,24,.18)}
.strategy-hero h2{font-size:1.55rem;letter-spacing:-.025em;margin:5px 0 8px}.strategy-hero p{max-width:760px;color:#d8d2d5;margin:0;line-height:1.55;font-size:.93rem}
.strategy-eyebrow{font-size:.7rem;letter-spacing:.13em;font-weight:950;color:#e8b7c5}.strategy-privacy{flex:none;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.09);padding:8px 11px;border-radius:999px;font-size:.74rem;font-weight:850;color:#f6dbe3}
.strategy-pipeline{display:grid;grid-template-columns:minmax(150px,1fr) 36px minmax(150px,1fr) 36px minmax(170px,1fr);align-items:center;border:1px solid #ded9d5;border-radius:16px;background:#fff;padding:12px 16px;box-shadow:0 6px 22px rgba(0,0,0,.025)}
.strategy-pipeline-step{display:grid;grid-template-columns:31px 1fr;column-gap:9px;align-items:center;padding:4px}.strategy-pipeline-step span{grid-row:1/3;width:31px;height:31px;border-radius:50%;display:grid;place-items:center;background:#eae7e4;color:#68646a;font-size:.78rem;font-weight:950}.strategy-pipeline-step strong{font-size:.82rem}.strategy-pipeline-step small{color:#77737a;font-size:.69rem}.strategy-pipeline-step.complete span{background:#e6f2ed;color:#286151}.strategy-pipeline-step.active span{background:#741f35;color:#fff;box-shadow:0 0 0 4px rgba(116,31,53,.11)}.strategy-pipeline-step.future{opacity:.74}.strategy-pipeline-join{height:2px;background:#bfb7ba}.strategy-pipeline-join.muted{background:#e4e0dd}
.strategy-setup-panel{display:grid;grid-template-columns:minmax(250px,1.7fr) auto minmax(170px,.8fr) auto;align-items:end;gap:12px;padding:16px 18px}.strategy-field{display:grid;gap:6px}.strategy-field label{font-size:.75rem;text-transform:uppercase;letter-spacing:.07em;color:#66616a}.strategy-check{display:flex;align-items:center;gap:8px;border:1px solid #ded9d5;border-radius:10px;padding:10px 12px;min-height:43px;font-size:.8rem;white-space:nowrap}.strategy-check input{width:auto;margin:0;accent-color:#741f35}
.strategy-scenes-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}.strategy-scenes{display:flex;align-items:center;gap:8px;min-width:0;overflow:auto;padding:3px;scrollbar-width:thin}.strategy-scene-tab{display:flex;align-items:center;gap:8px;border:1px solid #ddd8d4;background:#fff;border-radius:12px;padding:9px 13px;cursor:pointer;white-space:nowrap;color:#4e4b50;font-weight:850}.strategy-scene-tab span{width:9px;height:9px;border-radius:50%;background:#8c8f95}.strategy-scene-tab[data-type="offense"] span{background:#318665}.strategy-scene-tab[data-type="defense"] span{background:#a84458}.strategy-scene-tab[data-type="transition"] span{background:#d08a2a}.strategy-scene-tab[data-type="set_piece"] span{background:#7457a7}.strategy-scene-tab.active{border-color:#741f35;color:#741f35;box-shadow:0 0 0 3px rgba(116,31,53,.08)}.strategy-scene-actions{display:flex;justify-content:flex-end;gap:7px;flex:0 1 auto;flex-wrap:wrap}.strategy-scene-actions .mini-btn:disabled,.strategy-subscene-actions .mini-btn:disabled{cursor:not-allowed;opacity:.48}.strategy-danger{color:#9b3047!important}
.strategy-subscene-panel{display:grid;gap:10px;padding:13px 15px;border:1px solid #dedad6;border-radius:16px;background:#fbfaf8;box-shadow:0 5px 18px rgba(0,0,0,.025)}
.strategy-subscene-head{display:flex;justify-content:space-between;align-items:center;gap:16px}.strategy-subscene-head>div:first-child{display:grid;gap:2px}.strategy-subscene-head strong{font-size:.82rem;color:#3d393e}.strategy-subscene-head small{font-size:.68rem;color:#777178;line-height:1.35}
.strategy-preview-controls,.strategy-subscene-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.strategy-preview-controls label{font-size:.65rem;text-transform:uppercase;letter-spacing:.06em;color:#6d6870;font-weight:900}.strategy-preview-controls select{width:auto;min-width:90px;padding:6px 26px 6px 8px;font-size:.7rem}
.strategy-subscene-tabs{display:flex;gap:8px;min-width:0;overflow-x:auto;padding:2px 2px 6px;scrollbar-width:thin}.strategy-subscene-tab{flex:0 0 auto;display:grid;grid-template-columns:auto minmax(60px,1fr);align-items:center;gap:7px;max-width:210px;border:1px solid #ddd8d4;background:#fff;border-radius:11px;padding:8px 10px;color:#4e4b50;cursor:pointer;text-align:left}.strategy-subscene-tab strong{display:grid;place-items:center;min-width:35px;height:25px;border-radius:999px;background:#ece7e9;color:#6f263a;font-size:.7rem}.strategy-subscene-tab span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.72rem;font-weight:800}.strategy-subscene-tab.active{border-color:#741f35;box-shadow:0 0 0 3px rgba(116,31,53,.08)}.strategy-subscene-tab.active strong{background:#741f35;color:#fff}
.strategy-workspace{display:grid;grid-template-columns:104px minmax(0,1fr) 260px;gap:14px;align-items:start}.strategy-tools,.strategy-notes-panel,.strategy-board-column{border:1px solid #dedad6;background:#fff;border-radius:17px;box-shadow:0 7px 24px rgba(0,0,0,.035)}
.strategy-tools{padding:11px 9px;display:grid;gap:6px;position:sticky;top:18px}.strategy-tools-title{font-size:.66rem;letter-spacing:.08em;text-transform:uppercase;font-weight:950;color:#777178;padding:3px 5px 7px}.strategy-tool{border:1px solid transparent;border-radius:10px;background:#f7f5f3;display:grid;grid-template-columns:24px 1fr;align-items:center;gap:4px;padding:9px 7px;text-align:left;font-size:.76rem;font-weight:850;color:#4e4a50;cursor:pointer}.strategy-tool span{font-size:1rem;text-align:center}.strategy-tool:hover{background:#f0ebed}.strategy-tool.active{background:#741f35;color:#fff;box-shadow:0 8px 16px rgba(116,31,53,.18)}.strategy-tool.secondary{background:#fff;border-color:#e5e0dc;font-size:.7rem}.strategy-tool-divider{height:1px;background:#ece8e5;margin:4px 2px}
.strategy-board-column{min-width:0;overflow:hidden}.strategy-board-head{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:13px 16px;border-bottom:1px solid #e8e4e0}.strategy-board-head>div:first-child{display:grid;min-width:0}.strategy-board-head span#strategySceneType{font-size:.62rem;letter-spacing:.11em;font-weight:950;color:#741f35}.strategy-board-head strong{font-size:1rem;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.strategy-legend{display:flex;gap:12px;font-size:.67rem;font-weight:800;color:#6e6870}.strategy-legend span{display:flex;align-items:center;gap:5px}.strategy-legend i{display:inline-block;width:10px;height:10px;border-radius:50%}.strategy-legend i.home{background:#741f35}.strategy-legend i.away{background:#f6f4f1;border:2px solid #555963}.strategy-legend i.ball{background:#fff;border:2px solid #18191d}
.strategy-board-wrap{padding:14px;background:#1f462e}.strategy-board-wrap svg{display:block;width:100%;height:auto;aspect-ratio:1000/680;background:#39784e;border-radius:11px;touch-action:none;user-select:none;cursor:default;box-shadow:inset 0 0 50px rgba(0,0,0,.18)}.strategy-board-wrap svg[data-tool="arrow"],.strategy-board-wrap svg[data-tool="line"],.strategy-board-wrap svg[data-tool="box"]{cursor:crosshair}.strategy-board-wrap svg[data-tool="text"]{cursor:text}.strategy-board-tip{padding:10px 15px;background:#f8f6f4;border-top:1px solid #e7e2de;color:#706a71;font-size:.72rem}
.strategy-notes-panel{padding:15px;display:grid;gap:8px;position:sticky;top:18px}.strategy-notes-panel label{font-size:.72rem;color:#625d63;margin-top:2px}.strategy-notes-panel input,.strategy-notes-panel select,.strategy-notes-panel textarea{padding:9px 10px;font-size:.82rem}.strategy-notes-panel textarea{min-height:132px;line-height:1.45}.strategy-save-state{font-size:.68rem;color:#447160;background:#edf6f2;border-radius:9px;padding:8px 9px}.strategy-shared-state{font-size:.68rem;line-height:1.4;color:#6e5c30;background:#fff8e8;border:1px solid #ead9ad;border-radius:9px;padding:8px 9px}.strategy-shared-state.published{color:#35604d;background:#edf6f2;border-color:#cfe4da}.strategy-shared-state.error{color:#8b2a3f;background:#fff2f5;border-color:#ebcbd3}.strategy-notes-panel .btn{width:100%;font-size:.79rem}
.strategy-library-panel{padding:18px}.strategy-library-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.strategy-library-head h2{display:flex;align-items:center;gap:6px}.strategy-library-head .sub{margin-bottom:0;max-width:860px}.strategy-library{display:flex;gap:12px;overflow-x:auto;overflow-y:hidden;margin-top:14px;padding:2px 2px 10px;scroll-snap-type:x proximity;scrollbar-width:thin}.strategy-library-group{flex:0 0 auto;width:min(620px,82vw);min-width:250px;border:1px solid #e1ddd9;border-radius:14px;background:#f8f7f5;padding:10px;scroll-snap-align:start}.strategy-library-group.current{border-color:#c6aab3;background:#fbf6f8}.strategy-library-group-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px}.strategy-library-group-head strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#56182a;font-size:.78rem}.strategy-library-group-head span{display:inline-grid;place-items:center;min-width:23px;height:23px;padding:0 6px;border-radius:999px;background:#ece6e8;color:#5b2434;font-size:.65rem;font-weight:950}.strategy-library-cards{display:flex;gap:9px;overflow-x:auto;padding-bottom:2px;scrollbar-width:thin}.strategy-library-card{flex:0 0 235px;display:grid;gap:7px;border:1px solid #dfdcda;border-radius:12px;background:#fff;padding:11px;box-shadow:0 3px 10px rgba(0,0,0,.025)}.strategy-library-card.published{border-color:#9cc8b6;box-shadow:inset 0 3px 0 #3d866c}.strategy-library-load{border:0;background:transparent;padding:0;text-align:left;color:inherit;cursor:pointer}.strategy-library-load strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.88rem;color:#25272c}.strategy-library-badge{display:inline-flex;width:max-content;max-width:100%;margin-top:5px;border-radius:999px;padding:4px 7px;background:#eee9eb;color:#6e5660;font-size:.57rem;font-weight:950;text-transform:uppercase;letter-spacing:.04em}.strategy-library-badge.published{background:#e4f2ec;color:#276149}.strategy-library-meta{display:block;margin-top:5px;color:#77727a;font-size:.64rem;line-height:1.35}.strategy-library-actions{display:flex;gap:5px;flex-wrap:wrap;margin-top:auto}.strategy-library-actions .mini-btn{flex:1;min-width:65px;padding:6px 7px;font-size:.62rem}.strategy-library-empty{width:100%;padding:16px;border:1px dashed #d8d3cf;border-radius:12px;color:#77727a;font-size:.78rem;text-align:center}
.strategy-svg-home{cursor:grab}.strategy-svg-home:active,.strategy-svg-away:active,.strategy-svg-ball:active{cursor:grabbing}.strategy-svg-away,.strategy-svg-ball{cursor:grab}.strategy-player-shadow{filter:drop-shadow(0 4px 5px rgba(0,0,0,.2))}
@media(max-width:1120px){.strategy-workspace{grid-template-columns:86px minmax(0,1fr)}.strategy-notes-panel{grid-column:1/-1;position:static;grid-template-columns:repeat(3,1fr);align-items:end}.strategy-notes-panel label{align-self:end}.strategy-notes-panel textarea{grid-column:1/-1}.strategy-save-state,.strategy-shared-state{grid-column:1/-1}.strategy-notes-panel .btn{width:auto}.strategy-setup-panel{grid-template-columns:1fr auto 1fr}.strategy-check{grid-column:1/-1}.strategy-scenes-row{align-items:flex-start;flex-direction:column}.strategy-scenes{width:100%}.strategy-scene-actions{justify-content:flex-start;width:100%}}
@media(max-width:760px){
  #strategy,#strategy .strategy-shell,#strategy .strategy-hero,#strategy .strategy-pipeline,#strategy .strategy-setup-panel,#strategy .strategy-scenes-row,#strategy .strategy-subscene-panel,#strategy .strategy-workspace,#strategy .strategy-tools,#strategy .strategy-board-column,#strategy .strategy-notes-panel,#strategy .strategy-library-panel{width:100%;max-width:100%;min-width:0}
  #strategy{overflow:hidden}
  .strategy-shell{gap:10px}
  .strategy-hero{display:grid;gap:13px;padding:16px;border-radius:15px}
  .strategy-hero h2{font-size:1.22rem;line-height:1.16}.strategy-hero p{font-size:.79rem;line-height:1.42}.strategy-privacy{width:max-content;max-width:100%;font-size:.67rem}
  .strategy-pipeline{grid-template-columns:1fr;gap:3px;padding:9px 11px}.strategy-pipeline-join{height:9px;width:2px;margin-left:19px}.strategy-pipeline-step{min-width:0}.strategy-pipeline-step small{white-space:normal}
  .strategy-setup-panel{grid-template-columns:minmax(0,1fr);padding:12px!important;gap:9px}.strategy-setup-panel>.btn{width:100%}.strategy-check{width:100%;min-width:0;white-space:normal}
  .strategy-scenes-row{align-items:stretch;flex-direction:column;overflow:hidden}
  .strategy-scenes{width:100%;max-width:100%;padding:3px 3px 8px;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity}
  .strategy-scene-tab{flex:0 0 auto;max-width:82vw;overflow:hidden;text-overflow:ellipsis;scroll-snap-align:start}
  .strategy-scene-actions{display:grid;width:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;overflow:visible}
  .strategy-scene-actions .mini-btn{width:100%;min-width:0;min-height:42px;padding:8px 6px;white-space:normal;font-size:.7rem;line-height:1.15}
  .strategy-subscene-panel{padding:10px;overflow:hidden}.strategy-subscene-head{align-items:stretch;flex-direction:column;gap:9px}.strategy-preview-controls{display:grid;grid-template-columns:1fr 1fr;gap:7px}.strategy-preview-controls label{align-self:center}.strategy-preview-controls select{width:100%;min-height:40px}.strategy-subscene-tabs{width:100%;max-width:100%;-webkit-overflow-scrolling:touch}.strategy-subscene-tab{max-width:75vw}.strategy-subscene-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.strategy-subscene-actions .mini-btn{min-width:0;min-height:40px;white-space:normal}
  .strategy-workspace{display:flex;flex-direction:column;gap:9px;overflow:hidden}
  .strategy-tools{position:static;display:flex;align-items:center;gap:5px;padding:7px;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .strategy-tools::-webkit-scrollbar{display:none}.strategy-tools-title{display:none}.strategy-tool{flex:0 0 auto;display:flex;min-height:42px;padding:8px 10px}.strategy-tool-divider{flex:0 0 1px;height:30px;width:1px}
  .strategy-board-column{order:2;border-radius:14px}.strategy-board-head{padding:10px 11px}.strategy-board-head strong{font-size:.9rem}.strategy-legend{display:none}
  .strategy-board-wrap{width:100%;max-width:100%;min-width:0;padding:5px;overflow:hidden}.strategy-board-wrap svg{width:100%;max-width:100%;min-width:0;height:auto;border-radius:8px}
  .strategy-board-tip{padding:8px 10px;font-size:.65rem;line-height:1.35}
  .strategy-notes-panel{order:3;position:static;grid-column:auto;grid-template-columns:minmax(0,1fr);padding:12px;overflow:hidden}
  .strategy-notes-panel input,.strategy-notes-panel select,.strategy-notes-panel textarea,.strategy-notes-panel .btn{width:100%;max-width:100%;min-width:0}
  .strategy-notes-panel textarea,.strategy-save-state,.strategy-shared-state{grid-column:auto}.strategy-notes-panel textarea{min-height:116px}
  .strategy-library-panel{padding:12px!important;overflow:hidden}.strategy-library-head{align-items:stretch;flex-direction:column;gap:8px}.strategy-library-head .mini-btn{width:100%;min-height:40px}.strategy-library{width:100%;max-width:100%;gap:8px}.strategy-library-group{width:86vw;max-width:290px;min-width:245px}.strategy-library-card{flex-basis:215px}.strategy-library-actions .mini-btn{min-height:38px}
}
