:root{--sl-bg:#07121f;--sl-panel:#0d1c2d;--sl-panel2:#12263b;--sl-border:#263d54;--sl-text:#eaf4ff;--sl-muted:#91a8bc;--sl-accent:#ffcf24;--sl-good:#35c98b;--sl-danger:#ff6b6b;--sl-radius:14px}
.btc-shotlab-admin{max-width:1600px}.btc-shotlab-shell{min-height:var(--btc-shotlab-min-height);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--sl-text);background:linear-gradient(180deg,#07121f,#091827);border:1px solid var(--sl-border);border-radius:18px;overflow:hidden}.btc-shotlab-loading{padding:32px;color:var(--sl-muted)}
.sl-app{display:grid;grid-template-rows:auto 1fr;min-height:var(--btc-shotlab-min-height)}.sl-topbar{display:flex;align-items:center;gap:12px;justify-content:space-between;padding:14px 18px;border-bottom:1px solid var(--sl-border);background:rgba(10,25,40,.96)}.sl-brand{display:flex;align-items:center;gap:10px}.sl-brand strong{font-size:16px}.sl-badge{font-size:11px;padding:4px 8px;border-radius:999px;background:#17324d;color:#b9d7ef}.sl-actions{display:flex;gap:8px;flex-wrap:wrap}.sl-btn{appearance:none;border:1px solid var(--sl-border);background:#14283d;color:var(--sl-text);padding:9px 12px;border-radius:10px;cursor:pointer;font-weight:650}.sl-btn:hover{border-color:#466882}.sl-btn.primary{background:var(--sl-accent);color:#17130a;border-color:transparent}.sl-btn.active{outline:2px solid var(--sl-accent);outline-offset:1px}.sl-main{display:grid;grid-template-columns:minmax(190px,240px) minmax(420px,1fr) minmax(220px,300px);min-height:0}.sl-panel{background:var(--sl-panel);padding:14px;border-right:1px solid var(--sl-border);overflow:auto}.sl-panel.right{border-right:0;border-left:1px solid var(--sl-border)}.sl-panel h3{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--sl-muted);margin:8px 0 10px}.sl-toolgrid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.sl-tool{border:1px solid var(--sl-border);background:var(--sl-panel2);color:var(--sl-text);border-radius:10px;padding:10px 8px;cursor:pointer;text-align:left}.sl-tool.active{border-color:var(--sl-accent);box-shadow:0 0 0 1px var(--sl-accent) inset}.sl-stage-wrap{position:relative;display:flex;align-items:flex-start;justify-content:center;padding:14px 16px 16px;background:radial-gradient(circle at center,#183049 0,#0a1623 68%);overflow:auto}.sl-stage{position:relative;width:min(100%,720px);aspect-ratio:1023/1537;box-shadow:0 22px 60px rgba(0,0,0,.48);border-radius:12px;overflow:hidden;flex:0 0 auto}
.sl-reference-layer{position:absolute;inset:0;z-index:3;background:transparent;pointer-events:none;overflow:visible}
.sl-reference-layer[hidden]{display:none!important}
.sl-reference-layer img{position:absolute;left:0;top:0;display:block;max-width:none;max-height:none;object-fit:fill;will-change:transform}
.sl-reference-badge{position:absolute;left:4%;top:4%;padding:6px 9px;border-radius:8px;background:rgba(5,18,30,.88);color:#ffd326;border:1px solid rgba(255,211,38,.7);font-size:11px;font-weight:700}
.sl-master{z-index:1}.sl-svg{z-index:4}
.sl-master{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;user-select:none;pointer-events:none}.sl-svg{position:absolute;inset:0;width:100%;height:100%;touch-action:none}.sl-ball{cursor:grab;filter:drop-shadow(0 2px 2px rgba(0,0,0,.55))}.sl-ball.dragging{cursor:grabbing}.sl-guide{pointer-events:none}.sl-selection{fill:none;stroke:var(--sl-accent);stroke-width:3;stroke-dasharray:8 6}.sl-field{display:grid;gap:5px;margin-bottom:12px}.sl-field label{font-size:11px;color:var(--sl-muted);font-weight:700}.sl-field input,.sl-field select{width:100%;box-sizing:border-box;background:#0a1724;color:var(--sl-text);border:1px solid var(--sl-border);border-radius:9px;padding:8px}.sl-field input[type=range]{padding:0}.sl-note{font-size:12px;line-height:1.45;color:var(--sl-muted);background:#0a1724;border:1px solid var(--sl-border);border-radius:10px;padding:10px}.sl-list{display:grid;gap:7px}.sl-item{display:flex;justify-content:space-between;gap:8px;align-items:center;padding:8px;border-radius:9px;background:#102238;border:1px solid transparent;cursor:pointer}.sl-item.active{border-color:var(--sl-accent)}.sl-ball-chip{display:flex;align-items:center;gap:8px}.sl-dot{width:17px;height:17px;border-radius:50%;border:1px solid #fff8}.sl-danger{color:#ffabab;background:none;border:0;cursor:pointer;font-size:18px}.sl-status{font-size:12px;color:var(--sl-muted);min-width:120px;text-align:right}.sl-cuetip{display:grid;place-items:center;margin:6px auto 12px;width:150px;height:150px;border-radius:50%;background:radial-gradient(circle at 50% 50%,#fff 0 42%,#e7d06c 43% 62%,#f5f7fa 63%);border:1px solid #8ba0b4;position:relative;cursor:crosshair}.sl-cuetip:before,.sl-cuetip:after{content:"";position:absolute;background:#334a61}.sl-cuetip:before{width:1px;height:100%}.sl-cuetip:after{height:1px;width:100%}.sl-cuetip-point{position:absolute;width:14px;height:14px;border-radius:50%;background:#e04d45;border:2px solid #fff;transform:translate(-50%,-50%);box-shadow:0 2px 5px #0008}
@media(max-width:1100px){.sl-main{grid-template-columns:190px minmax(390px,1fr)}.sl-panel.right{grid-column:1/-1;border-left:0;border-top:1px solid var(--sl-border);display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));gap:14px}.sl-panel.right h3{grid-column:1/-1}}
@media(max-width:760px){.sl-main{display:block}.sl-panel{border-right:0;border-bottom:1px solid var(--sl-border)}.sl-panel.right{display:block}.sl-stage-wrap{padding:8px}.sl-topbar{align-items:flex-start;flex-direction:column}.sl-actions{width:100%}.sl-btn{flex:1}.sl-stage{width:100%}}
.sl-valid{border-color:#2a7350;color:#a8e6bf;background:#0b2a1d}.sl-ball{will-change:transform}.sl-ball text{pointer-events:none}.sl-dot{box-shadow:inset -3px -4px 5px rgba(0,0,0,.28),inset 2px 2px 4px rgba(255,255,255,.5),0 1px 2px rgba(0,0,0,.45)}
/* V1.1 Authoring Expansion */
.sl-btn:disabled{opacity:.38;cursor:not-allowed}.sl-wide{width:100%;margin-bottom:8px}.sl-layer-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-bottom:8px}.sl-layer-row small{color:var(--sl-muted);font-size:10px}.sl-object{cursor:move}.sl-panel textarea{width:100%;box-sizing:border-box;background:#0a1724;color:var(--sl-text);border:1px solid var(--sl-border);border-radius:9px;padding:8px;resize:vertical}.sl-modal[hidden]{display:none}.sl-modal{position:absolute;inset:0;z-index:40;background:rgba(2,8,15,.76);display:grid;place-items:center;padding:24px}.sl-modal-card{width:min(720px,92vw);max-height:78vh;overflow:auto;background:#0d1c2d;border:1px solid var(--sl-border);border-radius:16px;box-shadow:0 28px 80px rgba(0,0,0,.65);padding:14px}.sl-modal-head{display:flex;align-items:center;justify-content:space-between;padding:4px 4px 12px;border-bottom:1px solid var(--sl-border);margin-bottom:10px}.sl-scene-manager{display:grid;gap:8px}.sl-scene-row{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#102238;border:1px solid var(--sl-border);border-radius:10px;padding:10px}.sl-scene-row>div:first-child{display:grid;gap:3px}.sl-scene-row small{color:var(--sl-muted)}.sl-scene-actions{display:flex;gap:7px}.sl-delete-btn{color:#ff9d9d;border-color:#6d3434}.sl-app{position:relative}
@media(max-width:760px){.sl-scene-row{align-items:flex-start;flex-direction:column}.sl-scene-actions{width:100%}.sl-scene-actions .sl-btn{flex:1}}

/* V1.1.2.1 – UI & Ball Renderer Regression Correction */
.btc-shotlab-shell .sl-field select,
.btc-shotlab-shell select[data-prebank],
.btc-shotlab-shell select[data-ghost-mode],
.btc-shotlab-shell select[data-shot-object]{
  background-color:#0a1724 !important;
  color:#eaf4ff !important;
  -webkit-text-fill-color:#eaf4ff !important;
  color-scheme:dark;
  opacity:1;
}
.btc-shotlab-shell .sl-field select option,
.btc-shotlab-shell select[data-prebank] option,
.btc-shotlab-shell select[data-ghost-mode] option,
.btc-shotlab-shell select[data-shot-object] option{
  background:#0a1724 !important;
  color:#eaf4ff !important;
  -webkit-text-fill-color:#eaf4ff !important;
}
.btc-shotlab-shell .sl-field select option:disabled,
.btc-shotlab-shell select[data-prebank] option:disabled{
  background:#0a1724 !important;
  color:#91a8bc !important;
  -webkit-text-fill-color:#91a8bc !important;
  opacity:1;
}
.btc-shotlab-shell .sl-field select:focus{
  border-color:#537391 !important;
  box-shadow:0 0 0 1px #537391 inset;
  outline:none;
}
/* Balls are authoritative interactive objects and must render above guides. */
.btc-shotlab-shell .sl-ball{visibility:visible;opacity:1;pointer-events:auto;}

.sl-inline-values{display:grid;grid-template-columns:minmax(90px,1fr) auto;gap:8px;align-items:center}.sl-inline-values span{font-size:11px;color:var(--sl-muted);white-space:nowrap}.sl-stage{margin-top:0}

/* V1.1.5 Cueball Control Foundation */
.sl-cue-presets{display:flex;flex-wrap:wrap;gap:7px;margin:7px 0 9px}.sl-cue-presets .sl-btn{flex:1 1 88px;min-width:0}.sl-note[data-cue-control-status] strong{color:#ffdf66}

/* V1.1.6 – UX, Save & BTC Publishing Foundation */
.sl-control-panel{display:block;padding:12px;scrollbar-gutter:stable}.sl-control-section{padding:0 0 10px;margin:0 0 8px;border-bottom:1px solid var(--sl-border)}.sl-control-section h3{margin:4px 0 8px}.sl-scene-section textarea{min-height:54px}.sl-inline-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px}.sl-inline-fields .sl-field{margin-bottom:4px}.sl-inline-fields small{color:var(--sl-muted);font-size:10px;line-height:1.25}.sl-shot-compact{display:grid;grid-template-columns:112px minmax(0,1fr);gap:10px;align-items:center}.sl-shot-compact .sl-cuetip{width:108px;height:108px;margin:0}.sl-cue-presets{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin:0 0 6px}.sl-cue-presets .sl-btn{padding:7px 5px;font-size:11px}.sl-compact-note{padding:7px;font-size:10.5px;line-height:1.32}.sl-speed-main{margin-top:8px}.sl-tech-details{border:1px solid var(--sl-border);border-radius:10px;background:#0a1724}.sl-tech-details summary{cursor:pointer;padding:9px 10px;color:var(--sl-muted);font-size:11px;font-weight:750}.sl-tech-body{padding:0 10px 10px}.sl-save-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.sl-save-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:12px 0}.sl-modal{position:fixed;inset:0;place-items:start center;padding:76px 20px 20px;overflow:auto}.sl-modal-card{max-height:calc(100vh - 96px)}.sl-save-card{width:min(820px,94vw)}.sl-modal code{color:#ffdf66}.sl-control-panel .sl-note{margin-bottom:6px}.sl-panel.right{min-width:0}
@media(min-width:1101px){.sl-main{grid-template-columns:minmax(190px,230px) minmax(440px,1fr) minmax(330px,370px)}.sl-control-panel{max-height:calc(100vh - 120px);position:sticky;top:0}}
@media(max-width:1100px){.sl-control-panel{display:grid!important;grid-template-columns:repeat(2,minmax(260px,1fr))!important}.sl-tech-details{grid-column:1/-1}.sl-save-actions{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.sl-control-panel{display:block!important}.sl-inline-fields,.sl-save-grid{grid-template-columns:1fr}.sl-shot-compact{grid-template-columns:96px minmax(0,1fr)}.sl-shot-compact .sl-cuetip{width:92px;height:92px}.sl-save-actions{grid-template-columns:1fr 1fr}.sl-modal{padding:12px}.sl-modal-card{max-height:calc(100vh - 24px)}}

/* V1.1.8 BTC Exercise Bridge & Roundtrip Integration */
.sl-publish-status{margin:10px 0;padding:10px 12px;border:1px solid #29465f;border-radius:10px;background:#0b1d2b;color:#9fc4df;font-size:13px}
.sl-btc-publish{border-color:#1f8a5b!important}.sl-btc-publish:not(:disabled){color:#8ff0b8!important}.sl-btc-publish:disabled{opacity:.45;cursor:not-allowed}
.sl-published{display:inline-block;margin-left:6px;color:#79e6a5!important}
.sl-link-btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}.sl-scene-actions{display:flex;gap:6px;flex-wrap:wrap}.sl-scene-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px;border-bottom:1px solid rgba(255,255,255,.08)}

/* V1.1.8.1 – BTC Exercise Bridge UI Integration Repair */
.sl-btc-header{border-color:#d6ad24;color:#ffe07a;white-space:nowrap}.sl-btc-header:hover{border-color:#ffd22e;background:#20334a}.sl-btc-import-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 12px}.sl-btc-import-toolbar .sl-publish-status{flex:1}.sl-btc-import-toolbar .sl-link-btn{flex:0 0 auto}.sl-modal[data-btc-import-modal]{z-index:999999;padding-top:56px}.sl-modal[data-btc-import-modal] .sl-modal-card{margin-top:0}.sl-modal-open{overflow:hidden}@media(max-width:760px){.sl-btc-import-toolbar{display:grid;grid-template-columns:1fr}.sl-btc-import-toolbar .sl-link-btn{width:100%;box-sizing:border-box;text-align:center}.sl-topbar .sl-btc-header{order:-1;flex:1 1 100%}}


.sl-ref-handles{position:absolute;inset:0;z-index:7;pointer-events:none}
.sl-ref-handles[hidden]{display:none!important}
.sl-ref-handle{position:absolute;transform:translate(-50%,-50%);width:30px;height:30px;border-radius:50%;border:2px solid #ffd326;background:#071725;color:#ffd326;font-weight:800;font-size:12px;display:grid;place-items:center;pointer-events:auto;cursor:move;box-shadow:0 2px 12px rgba(0,0,0,.5)}
.sl-ref-handle:hover{background:#ffd326;color:#071725}
.sl-reference-controls{border-top:1px solid var(--sl-border);border-bottom:1px solid var(--sl-border);padding-top:10px;padding-bottom:10px}
.sl-reference-toolbar,.sl-reference-actions{display:flex;gap:7px;flex-wrap:wrap;align-items:center}
.sl-ref-toggle{display:flex;gap:6px;align-items:center;color:var(--sl-text);font-size:12px}
.sl-reference-controls .sl-btn{padding:7px 9px;font-size:11px}
@media(max-width:900px){.sl-reference-toolbar,.sl-reference-actions{display:grid;grid-template-columns:1fr}.sl-reference-controls .sl-btn,.sl-reference-controls .sl-link-btn{width:100%;box-sizing:border-box;text-align:center}}


/* V1.1.8.3.1 – calibration workspace only; mastertable dimensions remain unchanged */
.sl-calibration-workspace{
  position:relative;
  display:flex;
  justify-content:center;
  align-items:flex-start;
  width:max-content;
  min-width:100%;
  box-sizing:border-box;
  padding:0;
}
.sl-calibration-workspace.is-calibrating{
  padding:150px 140px 120px;
  margin-top:-110px;
  min-width:calc(100% + 280px);
}
.sl-calibration-workspace.is-calibrating .sl-stage{
  overflow:visible;
}
.sl-calibration-workspace.is-calibrating .sl-reference-layer{
  overflow:visible;
}
.sl-calibration-workspace.is-calibrating .sl-ref-handles{
  overflow:visible;
}
.sl-calibration-workspace.is-calibrating::before{
  content:"Kalibrierungs-Arbeitsbereich";
  position:absolute;
  top:10px;
  left:50%;
  transform:translateX(-50%);
  padding:5px 9px;
  border:1px dashed rgba(255,211,38,.55);
  border-radius:7px;
  background:rgba(5,18,30,.75);
  color:#ffd326;
  font-size:10px;
  font-weight:700;
  pointer-events:none;
}
@media(max-width:900px){
  .sl-calibration-workspace.is-calibrating{
    padding:95px 78px 80px;
    margin-top:-70px;
    min-width:calc(100% + 156px);
  }
}

.sl-calibration-workspace.is-calibrating .sl-ref-handle{z-index:20}
.sl-reference-controls input[data-ref-scale]{accent-color:#ffd326}

/* V1.2 Production Foundation */
.sl-production-row{align-items:flex-start;gap:10px}
.sl-production-meta{display:flex;flex-direction:column;gap:4px;min-width:220px}
.sl-life-badge{display:inline-flex;width:max-content;padding:3px 7px;border-radius:999px;font-size:10px;font-weight:800;border:1px solid var(--sl-border)}
.sl-life-draft{opacity:.78}.sl-life-review{border-color:#d6a72d}.sl-life-ready{border-color:#4fa36c}.sl-life-published{border-color:#2e9f68}.sl-life-archived{opacity:.55}
.sl-life-select{background:#0a1724;color:var(--sl-text);border:1px solid var(--sl-border);border-radius:8px;padding:7px}
.sl-version-list{grid-column:1/-1;width:100%;margin-top:8px;padding:8px;border-top:1px solid var(--sl-border);display:grid;gap:6px}
.sl-version-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:6px 0}
@media(max-width:900px){.sl-scene-actions{flex-wrap:wrap}.sl-life-select{width:100%}}

/* V1.2.1 Exercise Production Workflow */
.sl-workflow-section{border:1px solid rgba(255,211,38,.22);border-radius:10px;padding:10px;background:rgba(7,23,37,.38)}
.sl-workflow-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.sl-workflow-head h3{margin:0}
.sl-workflow-checks{display:grid;gap:5px;margin:8px 0}
.sl-workflow-check{display:flex;gap:7px;align-items:center;font-size:11px;padding:5px 7px;border-radius:7px;background:#0a1724;border:1px solid var(--sl-border)}
.sl-workflow-check.ok{border-color:rgba(79,163,108,.45)}
.sl-workflow-check.missing{border-color:rgba(214,167,45,.42)}
.sl-workflow-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}
.sl-workflow-actions .sl-btn{font-size:11px;padding:7px 9px}
@media(max-width:900px){.sl-workflow-actions{display:grid;grid-template-columns:1fr}.sl-workflow-actions .sl-btn{width:100%}}

/* V1.2.1.2 – Standalone Lesson Category Workflow */
.sl-btc-publishing-box{margin:10px 0;padding:10px;border:1px solid rgba(70,130,180,.28);border-radius:10px;background:rgba(7,23,37,.28)}
.sl-btc-publishing-box>strong{display:block;margin-bottom:8px}
.sl-inline-create{display:grid;grid-template-columns:1fr auto;gap:7px}
@media(max-width:700px){.sl-inline-create{grid-template-columns:1fr}.sl-inline-create .sl-btn{width:100%}}

/* V1.2.1.3 – Lesson Context Indicator */
.sl-lesson-context{display:inline-flex;align-items:center;margin-left:2px}
.sl-lesson-category{display:inline-flex;align-items:center;white-space:nowrap;padding:4px 9px;border-radius:999px;border:1px solid rgba(255,211,38,.72);background:rgba(255,211,38,.08);color:#ffd326;font-size:11px;font-weight:800;line-height:1.25}
.sl-lesson-category.none{border-color:rgba(125,154,181,.32);background:rgba(255,255,255,.015);color:var(--sl-muted);font-weight:600}
@media(max-width:900px){.sl-actions .sl-status{flex-basis:auto}.sl-lesson-category{font-size:10px;padding:4px 7px}}

/* V1.2.2 – Lesson Content Integrity & Metadata Foundation */
.sl-dirty-state{display:inline-flex;align-items:center;white-space:nowrap;padding:4px 8px;border-radius:999px;font-size:10px;font-weight:700;border:1px solid rgba(65,190,120,.35);color:#8ce6b1;background:rgba(28,110,65,.10)}
.sl-dirty-state.dirty{border-color:rgba(255,211,38,.62);color:#ffd326;background:rgba(255,211,38,.07)}

/* V1.2.3 – Lesson Production Output & Publishing Workflow */
.sl-output-box{margin:10px 0;padding:10px;border:1px solid rgba(255,211,38,.28);border-radius:10px;background:rgba(255,211,38,.025)}
.sl-output-box>strong,.sl-btc-publishing-box>strong{display:block;margin-bottom:8px}
.sl-output-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px;align-items:center}
.sl-output-check{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--sl-text)}
.sl-publish-preflight{margin-top:7px;padding:7px 9px;border-radius:8px;font-size:11px;border:1px solid var(--sl-border)}
.sl-publish-preflight.ready{border-color:rgba(79,163,108,.5);color:#8ce6b1}
.sl-publish-preflight.blocked{border-color:rgba(214,167,45,.5);color:#ffd326}
@media(max-width:700px){.sl-output-grid{grid-template-columns:1fr}}

/* V1.2.4 – Lesson Publishing & Distribution Foundation */
.sl-distribution-box{margin:10px 0;padding:10px;border:1px solid rgba(255,211,38,.26);border-radius:10px;background:rgba(255,211,38,.025)}
.sl-distribution-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:7px}
.sl-dist-badge,.sl-dist-mini{display:inline-flex;align-items:center;width:max-content;border-radius:999px;padding:3px 8px;font-size:10px;font-weight:800;border:1px solid var(--sl-border)}
.sl-dist-badge.published,.sl-dist-mini.published{border-color:rgba(79,163,108,.58);color:#8ce6b1;background:rgba(34,120,70,.10)}
.sl-dist-badge.private,.sl-dist-mini.private{color:var(--sl-muted);background:rgba(255,255,255,.015)}
.sl-distribution-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}
.sl-dist-mini{margin-left:3px;padding:2px 6px}
@media(max-width:700px){.sl-distribution-actions{display:grid;grid-template-columns:1fr}.sl-distribution-actions .sl-btn{width:100%}}

/* V1.2.5 – Lesson Library & Distribution Management */
.sl-library-card{width:min(1180px,96vw);max-height:92vh}
.sl-library-summary{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:8px;margin:10px 0}
.sl-library-kpi{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding:9px 11px;border:1px solid var(--sl-border);border-radius:9px;background:#0a1724}
.sl-library-kpi strong{font-size:18px;color:#ffd326}.sl-library-kpi span{font-size:10px;color:var(--sl-muted);text-transform:uppercase;letter-spacing:.06em}
.sl-library-toolbar{display:grid;grid-template-columns:1.5fr repeat(4,minmax(120px,1fr)) auto;gap:7px;margin:8px 0 12px}
.sl-library-toolbar input,.sl-library-toolbar select{min-width:0;background:#0a1724;color:var(--sl-text);border:1px solid var(--sl-border);border-radius:8px;padding:8px}
.sl-library-row{align-items:flex-start}
.sl-library-badges{display:flex;gap:5px;flex-wrap:wrap;align-items:center}
.sl-target-badge,.sl-category-mini{display:inline-flex;align-items:center;border-radius:999px;padding:2px 7px;font-size:9px;font-weight:800;border:1px solid var(--sl-border)}
.sl-target-badge.active{border-color:rgba(79,163,108,.55);color:#8ce6b1}.sl-target-badge.inactive{opacity:.42}.sl-category-mini{border-color:rgba(255,211,38,.42);color:#ffd326}
.sl-library-desc{max-width:640px;white-space:normal;line-height:1.35;color:var(--sl-muted)}
.sl-library-preview{grid-column:1/-1;width:100%;margin-top:7px;padding:10px;border:1px solid rgba(255,211,38,.25);border-radius:9px;background:rgba(255,211,38,.025)}
.sl-library-preview-meta{font-size:10px;color:#b58d22;margin:5px 0}.sl-library-preview-desc{white-space:pre-wrap;font-size:11px;line-height:1.45;color:var(--sl-text)}
@media(max-width:1050px){.sl-library-toolbar{grid-template-columns:1fr 1fr 1fr}.sl-library-toolbar input{grid-column:1/-1}.sl-library-summary{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.sl-library-toolbar{grid-template-columns:1fr}.sl-library-toolbar input{grid-column:auto}.sl-library-summary{grid-template-columns:1fr 1fr}}

/* V1.2.6 – Select Contrast + Distribution Target Registry */
.btc-shotlab select,
.btc-shotlab-root select,
[data-btc-shotlab-root] select{background:#0a1724!important;color:#eef5fb!important;border-color:var(--sl-border)}
.btc-shotlab select option,
.btc-shotlab-root select option,
[data-btc-shotlab-root] select option{background:#0a1724!important;color:#eef5fb!important}
.btc-shotlab select option:checked,
.btc-shotlab-root select option:checked,
[data-btc-shotlab-root] select option:checked{background:#17324a!important;color:#ffd326!important}
.sl-consumer-targets{margin-top:10px;padding-top:9px;border-top:1px solid var(--sl-border)}
.sl-consumer-targets>strong{display:block;margin-bottom:7px;font-size:11px}
.sl-consumer-target-grid{display:grid;gap:6px}
.sl-consumer-target{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 8px;border:1px solid var(--sl-border);border-radius:8px;background:#0a1724}
.sl-consumer-target.connected{border-color:rgba(79,163,108,.35)}
.sl-consumer-target.disconnected{opacity:.58}
.sl-consumer-target-meta{display:flex;flex-direction:column;gap:2px}
.sl-consumer-target-meta strong{font-size:11px}.sl-consumer-target-meta small{font-size:9px;color:var(--sl-muted)}
.sl-target-state{font-size:9px;font-weight:800;white-space:nowrap}
.sl-target-badge.registry.available{border-color:rgba(90,150,210,.48);color:#a8d5ff}

/* V1.2.6.1 – Consumer Integration Guide & Module Help */
.sl-consumer-help-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:7px}
.sl-consumer-help-head span{font-size:9px;color:var(--sl-muted)}
.sl-consumer-target-details{border:1px solid var(--sl-border);border-radius:9px;background:#081522;overflow:hidden}
.sl-consumer-target-details>.sl-consumer-target{border:0;border-radius:0;cursor:pointer;list-style:none}
.sl-consumer-target-details>.sl-consumer-target::-webkit-details-marker{display:none}
.sl-consumer-target-details[open]>.sl-consumer-target{border-bottom:1px solid var(--sl-border)}
.sl-target-state.ready{color:#8ce6b1}.sl-target-state.check{color:#ffd326}
.sl-consumer-guide-body{padding:9px}
.sl-consumer-guide-row{display:flex;justify-content:space-between;gap:10px;font-size:10px;margin-bottom:8px}
.sl-consumer-guide-row span{color:var(--sl-muted);text-align:right}
.sl-integration-checks{display:flex;gap:5px;flex-wrap:wrap;margin:7px 0 9px}
.sl-integration-check{font-size:9px;padding:3px 6px;border-radius:999px;border:1px solid var(--sl-border)}
.sl-integration-check.ok{color:#8ce6b1;border-color:rgba(79,163,108,.45)}
.sl-integration-check.missing{color:#ffd326;border-color:rgba(214,167,45,.45)}
.sl-guide-load{font-size:10px}
.sl-consumer-guide-content{margin-top:9px;display:grid;gap:9px}
.sl-consumer-guide-content[hidden]{display:none}
.sl-guide-note{font-size:10px;line-height:1.4;color:var(--sl-muted);margin:0}
.sl-guide-section{display:grid;gap:5px;padding:8px;border:1px solid var(--sl-border);border-radius:8px;background:#07131f}
.sl-guide-section>strong{font-size:10px;color:#ffd326}
.sl-guide-section code{font-size:9px;color:#d8e8f5;overflow-wrap:anywhere}
.sl-guide-section small{font-size:9px;color:var(--sl-muted)}
.sl-code-section pre{margin:0;max-height:240px;overflow:auto;padding:9px;border-radius:7px;background:#030b12;border:1px solid rgba(125,154,181,.18);white-space:pre-wrap}
.sl-code-section pre code{font-family:Consolas,Monaco,monospace;line-height:1.45}
.sl-copy-code{justify-self:start;font-size:9px;padding:5px 7px}

/* V1.2.7 – Consumer Assignment & Distribution Control */
.sl-assignment-sync{display:flex;gap:5px;flex-wrap:wrap;margin:6px 0 8px}
.sl-assignment-pill{display:inline-flex;align-items:center;padding:3px 7px;border-radius:999px;border:1px solid var(--sl-border);font-size:9px;color:var(--sl-muted)}
.sl-assignment-pill.assigned{border-color:rgba(79,163,108,.45);color:#8ce6b1}
.sl-assignment-pill.unassigned{opacity:.65}
.sl-assignment-pill.stale,.sl-target-state.stale{border-color:rgba(255,211,38,.55);color:#ffd326}
.sl-assignment-actions{display:flex;gap:6px;flex-wrap:wrap;margin:7px 0}
.sl-assignment-actions .sl-btn{font-size:9px;padding:6px 8px}
@media(max-width:700px){.sl-assignment-actions{display:grid;grid-template-columns:1fr 1fr}.sl-assignment-actions .sl-btn{width:100%}}

/* V1.2.8 – Distribution Reliability & Simplified Publishing UX */
.sl-simple-publishing{display:grid;gap:8px;margin:9px 0}
.sl-publish-card{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px;border:1px solid var(--sl-border);border-radius:10px;background:#091724}
.sl-publish-card-head{min-width:0;flex:1}
.sl-publish-card-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.sl-publish-card-meta strong{font-size:11px}
.sl-simple-state{display:inline-flex;align-items:center;padding:3px 7px;border-radius:999px;border:1px solid var(--sl-border);font-size:9px;font-weight:800}
.sl-simple-state.published{border-color:rgba(79,163,108,.52);color:#8ce6b1}
.sl-simple-state.update{border-color:rgba(255,211,38,.58);color:#ffd326}
.sl-simple-state.error{border-color:rgba(220,86,86,.55);color:#ffaaaa}
.sl-simple-state.private{color:var(--sl-muted)}
.sl-simple-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.sl-simple-actions .sl-btn{font-size:10px;padding:7px 9px}
.sl-simple-error{margin:5px 0;padding:6px 8px;border-radius:7px;border:1px solid rgba(220,86,86,.35);background:rgba(130,35,35,.08);color:#ffb1b1;font-size:9px;line-height:1.35}
.sl-technical-backend{margin-top:10px;border-top:1px solid var(--sl-border);padding-top:8px}
.sl-technical-backend>summary{cursor:pointer;color:var(--sl-muted);font-size:10px;font-weight:700;user-select:none}
.sl-technical-backend[open]>summary{color:#ffd326}
.sl-technical-backend>.sl-note{margin:7px 0}
@media(max-width:700px){.sl-publish-card{align-items:stretch;flex-direction:column}.sl-simple-actions{justify-content:stretch}.sl-simple-actions .sl-btn{width:100%}}

/* V1.3.0 – Interactive Shot & Physics Engine */
.sl-physics-inputs{display:grid;grid-template-columns:1.35fr .85fr;gap:8px;align-items:end}
.sl-physics-summary{margin-top:9px;padding-top:9px;border-top:1px solid var(--sl-border)}
.sl-physics-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.sl-physics-grid>div{display:flex;flex-direction:column;gap:2px;padding:6px 7px;border:1px solid var(--sl-border);border-radius:8px;background:#091724}
.sl-physics-grid span{font-size:8px;text-transform:uppercase;letter-spacing:.04em;color:var(--sl-muted)}
.sl-physics-grid strong{font-size:12px;color:#eef5fb}
@media(max-width:700px){.sl-physics-inputs{grid-template-columns:1fr}.sl-physics-grid{grid-template-columns:1fr 1fr}}

/* V1.3.1 – complete post-impact cushion paths */
.sl-guide{vector-effect:non-scaling-stroke}

/* V1.3.2 – Physics Calibration & Real-World Parameter Foundation */
.sl-calibration-card{display:grid;gap:8px;padding:9px;border:1px solid rgba(255,211,38,.26);border-radius:9px;background:#081522}
.sl-calibration-status{display:flex;align-items:center;justify-content:space-between;gap:8px}
.sl-calibration-status strong{color:#ffd326;font-size:10px}.sl-calibration-status span{color:var(--sl-muted);font-size:9px}
.sl-calibration-values{display:grid;grid-template-columns:1fr 1fr;gap:5px}
.sl-calibration-values span{padding:5px 6px;border:1px solid var(--sl-border);border-radius:7px;font-size:9px;color:var(--sl-muted)}
.sl-calibration-values strong{color:#eef5fb}
.sl-validation-layer{border-top:1px solid var(--sl-border);padding-top:7px}
.sl-validation-layer>summary{cursor:pointer;font-size:9px;font-weight:700;color:var(--sl-muted)}
.sl-validation-layer[open]>summary{color:#ffd326}

/* V1.3.2.1 – Table Conditions, Material Profiles & Validation UI */
.sl-table-conditions{border-color:rgba(255,211,38,.26)}
.sl-condition-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.sl-condition-grid .sl-field:last-child{grid-column:1/-1}
.sl-calibration-card{display:grid;gap:8px;padding:9px;border:1px solid rgba(255,211,38,.26);border-radius:9px;background:#081522}
.sl-calibration-status{display:flex;align-items:center;justify-content:space-between;gap:8px}
.sl-calibration-status strong{color:#ffd326;font-size:10px}.sl-calibration-status span{color:var(--sl-muted);font-size:9px;text-align:right}
.sl-calibration-values{display:grid;grid-template-columns:1fr 1fr;gap:5px}
.sl-calibration-values span{padding:5px 6px;border:1px solid var(--sl-border);border-radius:7px;font-size:9px;color:var(--sl-muted)}
.sl-calibration-values strong{color:#eef5fb}
.sl-validation-layer{border-top:1px solid var(--sl-border);padding-top:7px}
.sl-validation-layer>summary{cursor:pointer;font-size:9px;font-weight:700;color:var(--sl-muted)}
.sl-validation-layer[open]>summary{color:#ffd326}
.sl-validation-fields{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:8px 0}
.sl-validation-fields .sl-field:last-child{grid-column:1/-1}
@media(max-width:700px){.sl-condition-grid,.sl-validation-fields{grid-template-columns:1fr}.sl-condition-grid .sl-field:last-child,.sl-validation-fields .sl-field:last-child{grid-column:auto}}

/* V1.3.2.2 – Physics Fine Tuning & UI Geometry Repair */
@media(min-width:1101px){
  .btc-shotlab-shell .sl-main{align-items:start}
  .btc-shotlab-shell .sl-panel.right{
    overflow-x:hidden;
    overflow-y:auto;
    overscroll-behavior:contain;
    scrollbar-gutter:stable;
    box-sizing:border-box;
    min-height:0;
    align-self:start;
  }
  .btc-shotlab-shell .sl-panel.right::-webkit-scrollbar{width:9px}
  .btc-shotlab-shell .sl-panel.right::-webkit-scrollbar-track{background:#081522}
  .btc-shotlab-shell .sl-panel.right::-webkit-scrollbar-thumb{background:#29445e;border-radius:999px;border:2px solid #081522}
}
.sl-rest-diagnostic{margin-top:7px;padding:6px 8px;border:1px solid var(--sl-border);border-radius:7px;font-size:9px;line-height:1.35;color:var(--sl-muted);overflow-wrap:anywhere}
.sl-rest-diagnostic.ok{border-color:rgba(79,163,108,.42);color:#8ce6b1}
.sl-rest-diagnostic.error{border-color:rgba(220,86,86,.42);color:#ffaaaa}
.sl-rest-diagnostic code{font-size:8px;color:inherit}

/* V1.3.3 – Physics Reference Test Suite & Regression Guard */
.sl-physics-tests{display:grid;gap:8px;padding:9px;border:1px solid var(--sl-border);border-radius:9px;background:#081522}
.sl-test-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.sl-test-head>div{display:grid;gap:2px}.sl-test-head strong{font-size:10px;color:#eef5fb}.sl-test-head span{font-size:8px;color:var(--sl-muted)}
.sl-test-head .sl-btn{font-size:9px;padding:6px 8px}
.sl-test-summary{display:flex;align-items:center;justify-content:space-between;padding:7px 8px;border-radius:7px;border:1px solid var(--sl-border);font-size:9px}
.sl-test-summary.pass{border-color:rgba(79,163,108,.48);color:#8ce6b1}.sl-test-summary.warn{border-color:rgba(255,211,38,.48);color:#ffd326}.sl-test-summary.fail{border-color:rgba(220,86,86,.48);color:#ffaaaa}
.sl-test-results{display:grid;gap:5px}
.sl-test-row{display:grid;grid-template-columns:42px 1fr;gap:7px;align-items:start;padding:6px;border:1px solid var(--sl-border);border-radius:7px}
.sl-test-row>div{display:grid;gap:2px}.sl-test-row strong{font-size:9px}.sl-test-row small{font-size:8px;line-height:1.35;color:var(--sl-muted)}
.sl-test-state{font-size:8px;font-weight:800;text-align:center;padding:3px;border-radius:999px;border:1px solid var(--sl-border)}
.sl-test-row.pass .sl-test-state{color:#8ce6b1;border-color:rgba(79,163,108,.45)}
.sl-test-row.warn .sl-test-state{color:#ffd326;border-color:rgba(255,211,38,.45)}
.sl-test-row.fail .sl-test-state{color:#ffaaaa;border-color:rgba(220,86,86,.45)}
@media(max-width:700px){.sl-test-head{align-items:stretch;flex-direction:column}.sl-test-head .sl-btn{width:100%}}

/* V1.3.3.1 – Cushion Reference Test Geometry Repair */
.sl-test-row.fail small{color:#ffb0b0}
.sl-test-row.pass small{color:#a9bfd1}

/* V1.3.4.0 – State Vector Foundation */
.sl-state-vector-card{margin-top:16px;border:1px solid #31516b;border-radius:14px;background:#091a29;padding:12px 14px}.sl-state-vector-card summary{cursor:pointer;font-weight:800;color:#ffcf27}.sl-state-mode{float:right;font-size:11px;letter-spacing:.05em;color:#8fb0c8}.sl-state-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}.sl-state-grid span{display:flex;flex-direction:column;gap:4px;padding:10px;border:1px solid #29465e;border-radius:10px;color:#9db2c5}.sl-state-grid strong{color:#eef6ff;font-size:13px;overflow-wrap:anywhere}@media(max-width:1200px){.sl-state-grid{grid-template-columns:1fr}.sl-state-mode{float:none;display:block;margin-top:4px}}

/* V1.3.4.1 – Cloth Motion & Spin Evolution */
.sl-cloth-transition{display:grid;gap:3px;margin:8px 0;padding:7px 8px;border:1px solid rgba(255,211,38,.22);border-radius:8px;background:#081522}
.sl-cloth-transition strong{font-size:9px;color:#ffd326}
.sl-cloth-transition small{font-size:8px;line-height:1.45;color:var(--sl-muted)}

/* V1.3.4.1 display repair: diagnostics must remain visible inside Physics Calibration */
.sl-state-vector-host{display:block!important;visibility:visible!important;opacity:1!important;min-height:64px;margin-top:12px}
.sl-state-vector-host .sl-state-vector-card{display:block!important;visibility:visible!important;opacity:1!important}
.sl-state-vector-host .sl-state-vector-card[open]>summary{margin-bottom:8px}
.sl-state-vector-error{display:block!important;visibility:visible!important;opacity:1!important}

/* V1.3.4.2 – Ball–Ball Collision & Throw Solver */
.sl-state-subhead{margin:11px 0 6px;font-size:9px;letter-spacing:.08em;text-transform:uppercase;color:#ffd326}
.sl-collision-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:7px 0}
.sl-collision-grid span{display:grid;gap:3px;padding:7px 8px;border:1px solid var(--sl-border);border-radius:8px;color:var(--sl-muted);font-size:8px}
.sl-collision-grid strong{color:#eef5fb;font-size:9px;line-height:1.35;overflow-wrap:anywhere}
@media(max-width:700px){.sl-collision-grid{grid-template-columns:1fr}}

/* V1.3.4.3 – Post-Impact Cueball Reaction */
.sl-postimpact-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:7px 0}
.sl-postimpact-grid span{display:grid;gap:3px;padding:7px 8px;border:1px solid var(--sl-border);border-radius:8px;color:var(--sl-muted);font-size:8px}
.sl-postimpact-grid strong{color:#eef5fb;font-size:9px;line-height:1.35;overflow-wrap:anywhere}
@media(max-width:700px){.sl-postimpact-grid{grid-template-columns:1fr}}

/* V1.3.4.4 – Cushion Collision & Spin Transfer */
.sl-cushion-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:7px 0}
.sl-cushion-grid span{display:grid;gap:3px;padding:7px 8px;border:1px solid var(--sl-border);border-radius:8px;color:var(--sl-muted);font-size:8px}
.sl-cushion-grid strong{color:#eef5fb;font-size:9px;line-height:1.35;overflow-wrap:anywhere}
@media(max-width:700px){.sl-cushion-grid{grid-template-columns:1fr}}

/* V1.3.4.5 – Multi-Cushion & Combined-State Validation */
.sl-multievent-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:7px 0}
.sl-multievent-grid span{display:grid;gap:3px;padding:7px 8px;border:1px solid var(--sl-border);border-radius:8px;color:var(--sl-muted);font-size:8px}
.sl-multievent-grid strong{color:#eef5fb;font-size:9px}
.sl-event-chain{display:grid;gap:4px;margin:7px 0}
.sl-event-chain div{display:flex;justify-content:space-between;gap:8px;padding:6px 8px;border-left:2px solid #ffd326;background:#081522;font-size:8px}
.sl-event-chain strong{color:#ffd326}.sl-event-chain span{color:var(--sl-muted);text-align:right}
.sl-matrix-summary{display:flex;justify-content:space-between;gap:8px;padding:7px 8px;border:1px solid var(--sl-border);border-radius:8px;font-size:9px}
.sl-matrix-summary.pass{border-color:rgba(79,163,108,.45);color:#8ce6b1}.sl-matrix-summary.warn{border-color:rgba(255,211,38,.45);color:#ffd326}
.sl-matrix-details{margin-top:7px}.sl-matrix-details>summary{cursor:pointer;font-size:9px;color:#ffd326}
.sl-matrix-table{overflow:auto;max-height:360px;margin-top:6px}.sl-matrix-table table{width:100%;border-collapse:collapse;font-size:8px;white-space:nowrap}
.sl-matrix-table th,.sl-matrix-table td{padding:5px 6px;border:1px solid var(--sl-border);text-align:left}.sl-matrix-table th{position:sticky;top:0;background:#0d1b28;color:#ffd326}
@media(max-width:700px){.sl-multievent-grid{grid-template-columns:1fr}.sl-event-chain div{display:grid}.sl-event-chain span{text-align:left}}

/* V1.3.4.6.1 – Physics Trajectory Renderer Bridge */
.sl-state-trajectory,.sl-state-event-marker,.sl-state-event-label,.sl-state-trajectory-label{pointer-events:none}
.sl-state-trajectory{filter:drop-shadow(0 0 2px rgba(0,0,0,.65))}
.sl-state-event-label,.sl-state-trajectory-label{paint-order:stroke;stroke:#07131f;stroke-width:3px;stroke-linejoin:round}
.sl-renderer-bridge-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:7px 0}
.sl-renderer-bridge-grid span{display:grid;gap:3px;padding:7px 8px;border:1px solid var(--sl-border);border-radius:8px;color:var(--sl-muted);font-size:8px}
.sl-renderer-bridge-grid strong{color:#eef5fb;font-size:9px}
@media(max-width:700px){.sl-renderer-bridge-grid{grid-template-columns:1fr}}

/* V1.3.4.6.2 technical trajectory visibility */
.sl-guide-tech-note{font-size:12px;line-height:1.45;opacity:.72;padding:8px 10px;margin-top:6px;border:1px solid rgba(120,170,210,.22);border-radius:8px}

/* V1.3.4.6.5 physics-core diagnostics */
.sl-cue-impact-diagnostic{display:grid;gap:4px;margin:7px 0;padding:8px 9px;border:1px solid var(--sl-border);border-radius:8px;color:var(--sl-muted);font-size:8px}
.sl-cue-impact-diagnostic>strong{color:#ffd326;font-size:9px}
.sl-cue-impact-diagnostic small{opacity:.8;line-height:1.4}

/* V1.3.4.6.6 – Post-Impact Real-World Calibration & Reference Gate */
.sl-reference-gate{margin-top:12px;border:1px solid rgba(255,211,38,.28);border-radius:10px;padding:10px}
.sl-reference-gate>summary{cursor:pointer;color:#ffd326;font-weight:800}.sl-gate-badge{float:right;border:1px solid currentColor;border-radius:999px;padding:2px 8px;font-size:10px}
.sl-gate-badge.pass,.sl-gate-result.pass{color:#78e6a4}.sl-gate-badge.fail,.sl-gate-result.fail{color:#ff9999}.sl-gate-badge.warn,.sl-gate-result.not_ready{color:#ffd45c}
.sl-reference-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:10px 0}.sl-reference-grid label{display:grid;gap:4px;color:var(--sl-muted);font-size:11px}.sl-reference-grid input{width:100%;box-sizing:border-box}
.sl-reference-actions{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:8px}.sl-gate-result{display:flex;justify-content:space-between;gap:12px;padding:8px 10px;border:1px solid var(--sl-border);border-radius:8px;margin:8px 0}
.sl-reference-table{overflow:auto;max-height:260px}.sl-reference-table table{width:100%;border-collapse:collapse;font-size:9px;white-space:nowrap}.sl-reference-table th,.sl-reference-table td{padding:5px 6px;border:1px solid var(--sl-border);text-align:left}.sl-reference-table th{background:#0d1b28;color:#ffd326;position:sticky;top:0}
@media(max-width:700px){.sl-reference-grid{grid-template-columns:1fr}}

/* V1.3.4.6.6.1 capture-only Golden Contract additions */
.sl-capture-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(105px,1fr));gap:6px;margin:9px 0;min-width:0}.sl-capture-kpis span{display:grid;gap:2px;padding:7px;border:1px solid var(--sl-border);border-radius:8px;color:var(--sl-muted);font-size:9px}.sl-capture-kpis strong{color:#ffd326;font-size:13px}.sl-capture-meta{margin:8px 0;border:1px solid var(--sl-border);border-radius:8px;padding:8px}.sl-capture-meta>summary{cursor:pointer;font-weight:700}@media(max-width:700px){.sl-capture-kpis{grid-template-columns:repeat(2,1fr)}}

/* V1.3.4.6.6.2 – analysis-only post-impact calibration */
.sl-calibration-analysis{margin:8px 0;border:1px solid var(--sl-border);border-radius:8px;padding:8px}.sl-calibration-analysis>summary{cursor:pointer;color:#ffd326;font-weight:800}.sl-calibration-compare{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:8px 0}.sl-calibration-compare span{display:grid;gap:2px;padding:7px;border:1px solid var(--sl-border);border-radius:8px;color:var(--sl-muted);font-size:9px}.sl-calibration-compare strong{color:#ffd326;font-size:12px}@media(max-width:700px){.sl-calibration-compare{grid-template-columns:repeat(2,1fr)}}

/* V1.3.4.6.6.3 – Cross-Speed / Cross-Spin Consistency Gate */
.sl-consistency-gate{margin:8px 0;border:1px solid rgba(255,211,38,.25);border-radius:8px;padding:8px}.sl-consistency-gate>summary{cursor:pointer;color:#ffd326;font-weight:800}.sl-consistency-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:8px 0}.sl-consistency-kpis span{display:grid;gap:2px;padding:7px;border:1px solid var(--sl-border);border-radius:8px;color:var(--sl-muted);font-size:9px}.sl-consistency-kpis strong{color:#ffd326;font-size:12px}@media(max-width:700px){.sl-consistency-kpis{grid-template-columns:repeat(2,1fr)}}

/* V1.3.4.6.6.3.1 Golden Reference Dataset */
.sl-golden-evidence{margin-top:8px}.sl-gate-result.variance{border-color:rgba(255,211,38,.55)}
/* V1.3.4.6.6.3.2 – End-User Compact Control Panel & Progressive Disclosure */
.sl-control-panel{align-self:start;max-height:min(calc(100vh - 92px),var(--sl-stage-height,900px));overflow-y:auto;overscroll-behavior:contain}
.sl-control-panel .sl-primary-control{padding-bottom:8px;margin-bottom:7px}
.sl-progressive{border:1px solid var(--sl-border);border-radius:10px;background:#0a1724;margin:0 0 8px;overflow:hidden}
.sl-progressive>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;padding:9px 10px;color:var(--sl-text);font-size:11px;font-weight:800;list-style:none}
.sl-progressive>summary::-webkit-details-marker{display:none}.sl-progressive>summary:before{content:'▸';color:#ffd326}.sl-progressive[open]>summary:before{content:'▾'}
.sl-progressive>summary>span:first-of-type{margin-right:auto}.sl-progressive>summary small{min-width:0;max-width:62%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--sl-muted);font-size:10px;font-weight:600}
.sl-progressive-body{padding:2px 10px 10px;border-top:1px solid rgba(132,166,194,.14)}
.sl-workflow-section{padding:0;background:#0a1724}.sl-workflow-section .sl-workflow-head{margin-top:8px}.sl-workflow-section .sl-workflow-head h3{font-size:11px}
.sl-table-conditions{padding:0}.sl-table-conditions .sl-condition-grid{padding-top:8px}
.sl-tech-details{margin-top:8px}.sl-tech-details summary{padding:10px}
@media(max-width:1180px){.sl-control-panel{max-height:none;overflow:visible}.sl-progressive>summary small{max-width:55%}}

/* 1.3.4.6.6.3.3 Production Validation */
.sl-production-bias-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:8px 0}.sl-production-bias-grid span{display:grid;padding:7px;border:1px solid var(--sl-border);border-radius:8px;color:var(--sl-muted);font-size:10px}.sl-production-bias-grid strong{color:#ffd326}.sl-reference-table-wrap{overflow:auto}@media(max-width:700px){.sl-production-bias-grid{grid-template-columns:1fr 1fr}}

/* V1.3.4.6.6.3.4 unified candidate gate: presentation only */
.sl-gate-result.candidate{border-color:rgba(255,211,38,.55)}.sl-gate-result.rejected{border-color:rgba(255,120,120,.55)}

/* V1.3.4.6.6.3.5.2 Guided GR Evidence Capture */
.sl-guided-gr{margin:10px 0;padding:10px;border:1px solid rgba(255,211,38,.35);border-radius:10px;background:rgba(255,211,38,.025)}.sl-guided-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px}.sl-guided-gr label{display:grid;gap:5px;font-size:10px;color:var(--sl-muted)}.sl-guided-gr select{width:100%;padding:8px;border-radius:7px;border:1px solid var(--sl-border);background:#081521;color:var(--sl-text)}

/* V1.3.4.6.6.3.5.4 console containment */
.sl-golden-production-console{max-width:100%;overflow:hidden}.sl-golden-production-console .sl-reference-actions{display:flex;flex-wrap:wrap;gap:8px}.sl-golden-production-console .sl-reference-table-wrap{max-width:100%;overflow:auto}.sl-golden-production-console .sl-capture-kpis>*{min-width:0}

/* V1.3.4.6.6.3.5.4.1 production binding + responsive closure */
.sl-golden-production-console .sl-capture-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px;width:100%;max-width:100%}
.sl-golden-production-console .sl-capture-kpis>span{width:auto;max-width:100%;overflow:hidden}
.sl-golden-production-console .sl-reference-actions .sl-btn{max-width:100%;white-space:normal}
.sl-golden-production-console .sl-test-head,.sl-golden-production-console .sl-note,.sl-golden-production-console .sl-guided-gr{max-width:100%;min-width:0;overflow-wrap:anywhere}
@media(max-width:700px){.sl-golden-production-console .sl-capture-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* V1.3.4.6.6.3.5.4.2 deterministic production diagnostics + hard containment */
.sl-golden-production-console,.sl-golden-production-console *{box-sizing:border-box;min-width:0}
.sl-golden-production-console{width:100%;max-width:100%;overflow-x:hidden}
.sl-golden-production-console .sl-capture-kpis,.sl-golden-production-console .sl-consistency-kpis{grid-template-columns:repeat(auto-fit,minmax(105px,1fr));width:100%;max-width:100%}
.sl-golden-production-console .sl-capture-kpis span,.sl-golden-production-console .sl-consistency-kpis span{overflow:hidden;overflow-wrap:anywhere}
.sl-golden-production-console .sl-reference-actions{width:100%}.sl-golden-production-console .sl-reference-actions .sl-btn{width:auto;max-width:100%;overflow-wrap:anywhere}
.sl-schema-diagnostics{width:100%;max-width:100%;margin:10px 0}.sl-schema-issues{display:grid;gap:5px;margin-top:7px}.sl-schema-issues span{padding:7px 9px;border:1px solid rgba(255,120,120,.45);border-radius:8px;color:var(--sl-muted);overflow-wrap:anywhere}.sl-schema-issues strong{color:#ff9b9b}
@media(max-width:700px){.sl-golden-production-console .sl-capture-kpis,.sl-golden-production-console .sl-consistency-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* V1.3.4.6.6.3.5.6.2.1 Calibration Console Modal + deterministic workflow feedback */
.sl-golden-launcher{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px;border:1px solid var(--sl-border);border-radius:10px;background:#0a1724}.sl-golden-launcher>div{display:grid;gap:3px}.sl-golden-launcher span{font-size:10px;color:var(--sl-muted)}
.sl-golden-modal{position:fixed;inset:0;z-index:999999;background:rgba(2,8,14,.82);backdrop-filter:blur(4px);display:none;padding:3vh 3vw}.sl-golden-modal.is-open{display:flex}.sl-golden-modal-panel{width:min(1440px,94vw);height:94vh;margin:auto;display:flex;flex-direction:column;background:#071522;border:1px solid rgba(255,211,38,.45);border-radius:16px;box-shadow:0 24px 80px rgba(0,0,0,.6);overflow:hidden}.sl-golden-modal-bar{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;background:#0d2134;border-bottom:1px solid var(--sl-border)}.sl-golden-modal-bar>div{display:grid;gap:3px}.sl-golden-modal-bar span{font-size:10px;color:var(--sl-muted)}.sl-golden-modal-close{border:1px solid var(--sl-border);background:#081521;color:var(--sl-text);width:38px;height:38px;border-radius:10px;font-size:26px;line-height:1;cursor:pointer}.sl-golden-modal-scroll{flex:1;overflow:auto;padding:16px;overscroll-behavior:contain}.sl-golden-modal-scroll .sl-golden-production-console{max-width:1180px;margin:0 auto}.sl-modal-open{overflow:hidden}
.sl-workflow-statebar{position:sticky;top:-16px;z-index:6;display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:7px;padding:10px 0;background:#071522;border-bottom:1px solid rgba(125,154,181,.18);margin-bottom:12px}.sl-workflow-statebar .sl-btn{display:grid;gap:4px;text-align:left;align-content:center;min-height:58px}.sl-workflow-statebar .sl-btn span{font-size:9px;color:#79efb1;font-weight:800}.sl-workflow-statebar .sl-btn:disabled span{color:var(--sl-muted)}.sl-workflow-statebar .sl-btn:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:900px){.sl-golden-modal{padding:0}.sl-golden-modal-panel{width:100vw;height:100vh;border-radius:0;border:0}.sl-workflow-statebar{grid-template-columns:repeat(2,minmax(0,1fr));top:-16px}.sl-golden-launcher{align-items:stretch;flex-direction:column}.sl-golden-launcher .sl-btn{width:100%}}


/* V1.3.4.6.6.3.5.6.2.1.1 Modal layer isolation + viewport repair */
body > .sl-golden-modal[data-shotlab-portal="1"]{position:fixed!important;inset:0!important;z-index:2147483000!important;isolation:isolate;transform:none!important;filter:none!important;contain:none!important;width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;margin:0!important;padding:24px!important}
body > .sl-golden-modal[data-shotlab-portal="1"].is-open{display:flex!important;align-items:center;justify-content:center}
body > .sl-golden-modal[data-shotlab-portal="1"] .sl-golden-modal-panel{position:relative;z-index:1;width:min(1440px,calc(100vw - 48px));height:min(1100px,calc(100dvh - 48px));max-width:1440px;max-height:calc(100dvh - 48px);margin:0;transform:none!important}
body.sl-modal-open{overflow:hidden!important}
@media(max-width:900px){body > .sl-golden-modal[data-shotlab-portal="1"]{padding:0!important}body > .sl-golden-modal[data-shotlab-portal="1"] .sl-golden-modal-panel{width:100vw;height:100dvh;max-width:none;max-height:none;border-radius:0}}

/* V1.3.4.6.6.3.5.6.2.2 Calibration Control Center + progressive disclosure */
.sl-workflow-statebar .sl-btn:not(:disabled){cursor:pointer}.sl-workflow-statebar .sl-btn:focus,.sl-workflow-statebar .sl-btn:hover{border-color:rgba(255,211,38,.55)}
.sl-workflow-stage{min-height:220px}.sl-workflow-step{display:none}.sl-workflow-step.is-active{display:block;animation:slWorkflowReveal .16s ease-out}
@keyframes slWorkflowReveal{from{opacity:.45;transform:translateY(3px)}to{opacity:1;transform:none}}
.sl-golden-modal-scroll .sl-workflow-statebar{top:-16px}.sl-golden-production-console>.sl-schema-diagnostics,.sl-golden-production-console>.sl-guided-gr{margin-bottom:14px}
@media(min-width:1100px){.sl-workflow-statebar{grid-template-columns:repeat(7,minmax(0,1fr))}.sl-workflow-statebar .sl-btn{font-size:11px;padding:9px;min-height:72px}}

/* V1.3.4.6.6.3.5.6.2.2.1 Active step, viewport focus & UX closure */
.sl-golden-modal-scroll .sl-workflow-statebar{position:sticky;top:0;z-index:25;padding:10px 0;background:linear-gradient(180deg,#071827 82%,rgba(7,24,39,.94));border-bottom:1px solid rgba(126,164,194,.18)}
.sl-workflow-statebar .sl-cal-step{position:relative;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease,background .15s ease}
.sl-workflow-statebar .sl-cal-step.is-active{border-color:#ffd326!important;background:#19334a!important;box-shadow:0 0 0 2px rgba(255,211,38,.18),0 8px 22px rgba(0,0,0,.22);transform:translateY(-1px)}
.sl-workflow-statebar .sl-cal-step.is-active:before{content:"AKTIV";position:absolute;right:8px;top:7px;font-size:8px;line-height:1;padding:4px 5px;border-radius:999px;background:#ffd326;color:#071827;font-weight:800;letter-spacing:.05em}
.sl-workflow-statebar .sl-cal-step span{display:block;margin-top:6px;font-size:9px;font-weight:800}.sl-workflow-statebar .sl-cal-step.is-ok span{color:#6ff0aa}.sl-workflow-statebar .sl-cal-step.is-fail span{color:#ff8d91}.sl-workflow-statebar .sl-cal-step.is-warn span{color:#ffd326}.sl-workflow-statebar .sl-cal-step.is-ready span{color:#9bb2c7}
.sl-workflow-statebar .sl-cal-step:disabled{opacity:.52;cursor:not-allowed}.sl-workflow-statebar .sl-cal-step:disabled:after{content:"GESPERRT";position:absolute;left:8px;bottom:7px;font-size:8px;color:#9bb2c7;letter-spacing:.04em}
.sl-workflow-stage{scroll-margin-top:118px}
@media(max-width:1099px){.sl-golden-modal-scroll .sl-workflow-statebar{position:relative;top:auto}.sl-workflow-statebar .sl-cal-step.is-active:before{font-size:7px}}


/* ECP V1.0.3.4.1 evidence-only renderer. ShotLab 7.3 owns Calibration Console / GR workflow. */
.btc-ecp-evidence-view{margin:18px 0;padding:16px;border:1px solid rgba(127,127,127,.35);border-radius:12px;background:rgba(127,127,127,.06)}
.btc-ecp-evidence-head{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:12px;font-size:12px}.btc-ecp-evidence-head strong{font-size:14px}.btc-ecp-evidence-grid{display:grid;grid-template-columns:minmax(180px,240px) 1fr;gap:16px;align-items:stretch}.btc-ecp-ball-view,.btc-ecp-trajectory-view{width:100%;min-height:220px;border:1px solid rgba(127,127,127,.25);border-radius:10px;background:rgba(255,255,255,.03);color:currentColor}.btc-ecp-trajectory-view{min-height:320px}.btc-ecp-evidence-meta{max-height:220px;overflow:auto;margin:12px 0 0;padding:10px;border-radius:8px;background:rgba(0,0,0,.08);font-size:11px;white-space:pre-wrap}@media(max-width:720px){.btc-ecp-evidence-grid{grid-template-columns:1fr}.btc-ecp-ball-view{max-height:240px}.btc-ecp-evidence-head{align-items:flex-start;flex-direction:column}}

/* ECP V1.0.3.6.5.3-R1.1: restore persistent Calibration Console popup launcher in ShotLab header. */
.sl-topbar .sl-golden-header{border-color:rgba(255,210,38,.72);color:#ffe16a;white-space:nowrap}.sl-topbar .sl-golden-header:hover{background:#20334a;border-color:#ffd226}
@media(max-width:760px){.sl-topbar .sl-golden-header{flex:1 1 auto}}


/* ECP V1.0.3.6.5.3-R1.2 – active runtime launcher + control-column containment repair */
.sl-golden-inline-launcher{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;max-width:100%;min-width:0;margin:8px 0;padding:9px 10px;border:1px solid rgba(255,211,38,.38);border-radius:9px;background:#0a1724;box-sizing:border-box}
.sl-golden-inline-launcher>div{display:grid;gap:2px;min-width:0}.sl-golden-inline-launcher strong{color:#ffd326;font-size:11px}.sl-golden-inline-launcher small{color:var(--sl-muted);font-size:9px;white-space:normal;overflow-wrap:anywhere}.sl-golden-inline-btn{flex:0 0 auto;border-color:rgba(255,211,38,.72);color:#ffe16a;white-space:nowrap}
.sl-control-panel,.sl-control-panel>*{box-sizing:border-box;min-width:0;max-width:100%}.sl-control-panel details,.sl-control-panel section,.sl-control-panel .sl-note,.sl-control-panel .sl-reference-grid,.sl-control-panel .sl-capture-kpis,.sl-control-panel .sl-consistency-kpis,.sl-control-panel .sl-calibration-compare{width:100%;max-width:100%;min-width:0}.sl-control-panel summary{white-space:normal;overflow-wrap:anywhere}.sl-control-panel input,.sl-control-panel select,.sl-control-panel textarea,.sl-control-panel button{max-width:100%;min-width:0}.sl-control-panel .sl-reference-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sl-control-panel .sl-reference-actions>*{flex:1 1 160px;white-space:normal}.sl-control-panel .sl-gate-result{min-width:0;flex-wrap:wrap}.sl-control-panel .sl-gate-result>*{min-width:0;overflow-wrap:anywhere}
@media(max-width:1100px){.sl-panel.right.sl-control-panel{display:block;grid-column:1/-1;width:100%;max-width:100%;overflow-x:hidden}.sl-panel.right.sl-control-panel>*{margin-left:0;margin-right:0}.sl-golden-inline-launcher{align-items:stretch;flex-direction:column}.sl-golden-inline-btn{width:100%}}
@media(max-width:760px){.sl-control-panel .sl-reference-grid{grid-template-columns:1fr}.sl-control-panel .sl-capture-kpis,.sl-control-panel .sl-consistency-kpis,.sl-control-panel .sl-calibration-compare{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.sl-control-panel .sl-capture-kpis,.sl-control-panel .sl-consistency-kpis,.sl-control-panel .sl-calibration-compare{grid-template-columns:1fr}}

/* ECP V1.0.3.6.5.3-R2.1.1 – Golden Reference Console modal layer isolation.
   Contract-safe containment: while the GR console owns the viewport, only the
   ShotLab table/trajectory renderer layers are suppressed. Physics/state stay untouched. */
body.sl-modal-open .btc-shotlab-shell .sl-master,
body.sl-modal-open .btc-shotlab-shell .sl-reference-layer,
body.sl-modal-open .btc-shotlab-shell .sl-svg,
body.sl-modal-open .btc-shotlab-shell .sl-ref-handles {
  visibility:hidden!important;
  pointer-events:none!important;
}
body.sl-modal-open .sl-golden-modal.is-open {
  visibility:visible!important;
  position:fixed!important;
  inset:0!important;
  z-index:2147483646!important;
  isolation:isolate!important;
}
body.sl-modal-open .sl-golden-modal.is-open .sl-golden-modal-panel,
body.sl-modal-open .sl-golden-modal.is-open .sl-golden-modal-bar,
body.sl-modal-open .sl-golden-modal.is-open .sl-golden-modal-scroll {
  visibility:visible!important;
}
/* ECP V1.0.3.6.5.4 · Visual Physics Presentation (presentation only) */
.sl-physics-view-mode select{max-width:150px;background:#0b1c2b;color:#eef6ff;border:1px solid #31516b;border-radius:8px;padding:6px 8px}
.sl-state-motion-sliding{filter:drop-shadow(0 0 2px rgba(0,0,0,.65))}
.sl-state-motion-rolling{filter:drop-shadow(0 0 2px rgba(0,0,0,.65))}
.sl-cue-rotation-state{pointer-events:none;paint-order:stroke;stroke-linejoin:round}
\n\n/* V1.0.3.6.5.5 – 3D Cue-Ball Contact Visualization & Tip Impact Surface Mapping\n   Presentation only. Existing tipX/tipY remain authority; Z is derived from the unit sphere. */\n.sl-cuetip.sl-cuetip-3d{\n  isolation:isolate;overflow:hidden;border:1px solid rgba(190,211,228,.9);\n  background:\n    radial-gradient(circle at 31% 25%,rgba(255,255,255,.98) 0 5%,rgba(255,255,255,.52) 6% 12%,transparent 22%),\n    radial-gradient(circle at 38% 32%,#fff 0 26%,#f7f9fb 48%,#dfe6ec 70%,#aebbc6 91%,#758694 100%);\n  box-shadow:inset -12px -15px 22px rgba(20,37,51,.28),inset 7px 7px 14px rgba(255,255,255,.8),0 7px 16px rgba(0,0,0,.28);\n  transform:translateZ(0);\n}\n.sl-cuetip.sl-cuetip-3d:before,.sl-cuetip.sl-cuetip-3d:after{display:none}\n.sl-cuetip-depth{position:absolute;inset:5%;border-radius:50%;pointer-events:none;box-shadow:inset -7px -8px 11px rgba(0,0,0,.12),inset 3px 3px 6px rgba(255,255,255,.5);z-index:1}\n.sl-cuetip-cross{position:absolute;left:50%;top:50%;z-index:2;pointer-events:none;background:rgba(36,59,78,.45);box-shadow:0 0 1px rgba(255,255,255,.65)}\n.sl-cuetip-cross-v{width:1px;height:82%;transform:translate(-50%,-50%)}\n.sl-cuetip-cross-h{height:1px;width:82%;transform:translate(-50%,-50%)}\n.sl-cuetip.sl-cuetip-3d .sl-cuetip-point{z-index:5;width:15px;height:15px;border:2px solid rgba(255,255,255,.96);background:radial-gradient(circle at 35% 30%,#ff8c83 0 16%,#ef443d 42%,#a71818 100%);box-shadow:0 calc(2px + 5px * var(--sl-tip-depth,0)) calc(5px + 5px * var(--sl-tip-depth,0)) rgba(0,0,0,.55),0 0 0 1px rgba(83,5,5,.28);}\n.sl-cuetip-contact-shadow{position:absolute;inset:-5px;border-radius:50%;z-index:-1;background:radial-gradient(circle,rgba(48,17,14,.28),transparent 68%);transform:scale(calc(.72 + .28 * var(--sl-tip-z,1)));pointer-events:none}\n.sl-cuetip-cueface{position:absolute;left:50%;top:50%;width:8px;height:8px;border-radius:50%;transform:translate(-50%,-50%);border:1px solid rgba(73,42,21,.55);background:radial-gradient(circle at 35% 30%,#d7c19c,#9c784c 68%,#5d4127);opacity:.72;pointer-events:none}\n.sl-cuetip-surface-readout{position:absolute;left:50%;bottom:5px;transform:translateX(-50%);z-index:6;white-space:nowrap;padding:2px 5px;border-radius:6px;background:rgba(7,21,34,.72);color:#eaf3fa;font-size:8px;line-height:1.15;pointer-events:none}\n@media(max-width:760px){.sl-cuetip-surface-readout{font-size:7px;bottom:3px}}\n
/* V1.0.3.6.5.5-R1 – 3D Cue-Ball Sphere Renderer & Contact Surface Visual Repair
   Presentation only: authoritative X/Y are unchanged; Z is derived; cue is horizontal (0° elevation). */
.sl-shot-compact{grid-template-columns:minmax(220px,260px) minmax(0,1fr);gap:16px;align-items:start}
.sl-contact-visual{min-width:0;display:grid;gap:8px}
.sl-contact-stage{--sl-ball-size:184px;--sl-ball-left:8px;--sl-ball-top:8px;position:relative;width:100%;height:200px;overflow:hidden;border-radius:14px;background:radial-gradient(circle at 30% 45%,rgba(27,56,78,.28),transparent 56%)}
.sl-shot-compact .sl-cuetip.sl-cuetip-3d{position:absolute;left:var(--sl-ball-left);top:var(--sl-ball-top);width:var(--sl-ball-size);height:var(--sl-ball-size);margin:0;overflow:visible;z-index:2;border:1px solid rgba(210,225,236,.95);background:radial-gradient(circle at 29% 22%,#fff 0 4%,rgba(255,255,255,.95) 5% 10%,rgba(255,255,255,.18) 20%,transparent 28%),radial-gradient(circle at 35% 30%,#fff 0 25%,#f8f9f7 45%,#e8e9e5 63%,#c8ced0 79%,#87939a 96%,#66747d 100%);box-shadow:inset -19px -22px 30px rgba(22,35,43,.35),inset 9px 9px 18px rgba(255,255,255,.82),0 10px 20px rgba(0,0,0,.35);cursor:crosshair}
.sl-cuetip-depth{inset:3%;box-shadow:inset -9px -11px 15px rgba(0,0,0,.10),inset 4px 4px 9px rgba(255,255,255,.38)}
.sl-cuetip-highlight{position:absolute;left:18%;top:14%;width:34%;height:20%;border-radius:50%;transform:rotate(-24deg);background:linear-gradient(145deg,rgba(255,255,255,.78),rgba(255,255,255,.08));filter:blur(.4px);pointer-events:none;z-index:2}
.sl-cuetip-cross{z-index:3;background:rgba(31,50,65,.48)}
.sl-cuetip-cross-v{height:88%}.sl-cuetip-cross-h{width:88%}
.sl-cuetip.sl-cuetip-3d .sl-cuetip-point{z-index:8;width:20px;height:20px;border:2px solid #fff;background:radial-gradient(circle at 32% 27%,#ff9a90 0 12%,#ef4d43 38%,#bd201c 76%,#82100f 100%);box-shadow:0 0 0 1px rgba(90,8,8,.35),0 0 12px rgba(240,68,58,.55),0 calc(2px + 5px * var(--sl-tip-depth,0)) calc(7px + 5px * var(--sl-tip-depth,0)) rgba(0,0,0,.48)}
.sl-cuetip-contact-shadow{inset:-8px;background:radial-gradient(circle,rgba(104,25,20,.30),rgba(104,25,20,.12) 38%,transparent 70%)}
.sl-cue-assembly{position:absolute;z-index:7;height:34px;width:190px;transform:translate(8px,-50%);display:flex;align-items:center;pointer-events:none;filter:drop-shadow(0 3px 3px rgba(0,0,0,.35))}
.sl-cue-tip{flex:0 0 12px;height:28px;border-radius:45% 2px 2px 45%;background:linear-gradient(90deg,#2d6d8f,#69a8c7 55%,#1c4c68);border:1px solid rgba(7,33,49,.7)}
.sl-cue-ferrule{flex:0 0 18px;height:30px;background:linear-gradient(#f8f6e9,#d7d4c8,#faf8ed);border-block:1px solid rgba(87,77,62,.45)}
.sl-cue-shaft{flex:1;height:30px;border-radius:0 10px 10px 0;background:linear-gradient(#d7a96b,#f0cf96 25%,#c38a4e 55%,#a96f3d 100%);border:1px solid rgba(85,52,27,.55);box-shadow:inset 0 5px 8px rgba(255,255,255,.22)}
.sl-contact-readout{display:grid;grid-template-columns:1.5fr repeat(3,1fr);align-items:center;gap:7px;padding:8px 10px;border:1px solid var(--sl-border);border-radius:10px;background:#0a1724;color:#eaf3fa;font-size:10px}
.sl-contact-readout strong{color:var(--sl-muted);font-size:9px;letter-spacing:.04em}.sl-contact-readout span{text-align:center;font-weight:750;border-left:1px solid var(--sl-border);padding-left:6px}
.sl-cue-orientation{display:flex;justify-content:space-between;gap:8px;padding:6px 9px;border:1px solid var(--sl-border);border-radius:9px;color:var(--sl-muted);font-size:9px}.sl-cue-orientation strong{color:#eaf3fa}
@media(max-width:760px){.sl-shot-compact{grid-template-columns:1fr}.sl-contact-stage{--sl-ball-size:160px;height:176px;max-width:250px}.sl-cue-assembly{width:150px}.sl-contact-readout{grid-template-columns:1fr 1fr 1fr}.sl-contact-readout strong{grid-column:1/-1}.sl-contact-readout span:first-of-type{border-left:0}.sl-cue-orientation{max-width:250px}}

/* V1.0.3.6.5.5-R1.1 – Contact View Geometry & Control Collision Repair
   Presentation/layout only. No physics, tip-coordinate or solver mutation. */
.sl-shot-section{overflow:hidden}
.sl-shot-section .sl-shot-compact{
  display:grid;
  grid-template-columns:minmax(360px,1.08fr) minmax(300px,.92fr);
  gap:18px;
  align-items:start;
  min-width:0;
}
.sl-shot-section .sl-contact-visual,
.sl-shot-section .sl-shot-side{min-width:0;position:relative}
.sl-shot-section .sl-contact-stage{
  --sl-ball-size:184px;
  --sl-ball-left:10px;
  --sl-ball-top:8px;
  width:100%;
  min-width:0;
  height:202px;
  overflow:hidden;
  contain:layout paint;
}
.sl-shot-section .sl-cue-assembly{
  width:min(164px,calc(100% - 205px));
  min-width:96px;
  max-width:164px;
}
.sl-shot-section .sl-shot-side{z-index:3;display:grid;gap:10px;align-content:start}
.sl-shot-section .sl-cue-presets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.sl-shot-section .sl-cue-presets .sl-btn{min-width:0;width:100%}
.sl-shot-section .sl-compact-note{min-width:0;max-width:100%;overflow-wrap:anywhere}
.sl-shot-section .sl-contact-readout{width:100%;box-sizing:border-box;overflow:hidden}
.sl-shot-section .sl-contact-readout span{min-width:0;white-space:nowrap}
.sl-shot-section .sl-cue-orientation{width:100%;box-sizing:border-box}
@media(max-width:1100px){
  .sl-shot-section .sl-shot-compact{grid-template-columns:1fr}
  .sl-shot-section .sl-contact-stage{max-width:390px}
  .sl-shot-section .sl-contact-readout,.sl-shot-section .sl-cue-orientation{max-width:390px}
  .sl-shot-section .sl-shot-side{max-width:100%}
}
@media(max-width:760px){
  .sl-shot-section .sl-contact-stage{--sl-ball-size:156px;height:174px;max-width:330px}
  .sl-shot-section .sl-cue-assembly{width:min(145px,calc(100% - 175px));min-width:82px}
  .sl-shot-section .sl-contact-readout{grid-template-columns:1fr 1fr 1fr;max-width:330px}
  .sl-shot-section .sl-contact-readout strong{grid-column:1/-1}
  .sl-shot-section .sl-cue-orientation{max-width:330px;flex-wrap:wrap}
}


/* V1.0.3.6.5.5-R1.2 – 3D Sphere Depth & Contact Zone Overlay Repair
   Presentation only. Zone overlays do not modify authoritative X/Y, derived Z or physics. */
.sl-shot-section .sl-cuetip.sl-cuetip-3d{
  background:
    radial-gradient(ellipse at 27% 18%,rgba(255,255,255,.98) 0 3.5%,rgba(255,255,255,.62) 4% 8%,rgba(255,255,255,.10) 15%,transparent 24%),
    radial-gradient(circle at 39% 34%,#ffffff 0 23%,#fbfbf8 39%,#eceeea 57%,#cdd3d3 73%,#9aa6aa 86%,#66757d 96%,#52616a 100%);
  box-shadow:
    inset -25px -29px 38px rgba(15,29,37,.42),
    inset 12px 12px 22px rgba(255,255,255,.90),
    inset 0 0 18px rgba(255,255,255,.22),
    0 12px 24px rgba(0,0,0,.38);
}
.sl-shot-section .sl-cuetip-depth{
  inset:2.5%;z-index:1;
  background:radial-gradient(circle at 35% 30%,transparent 0 54%,rgba(28,45,56,.035) 68%,rgba(22,38,48,.16) 88%,rgba(10,24,33,.28) 100%);
  box-shadow:inset -12px -14px 18px rgba(0,0,0,.12),inset 5px 5px 10px rgba(255,255,255,.48);
}
.sl-cuetip-zone{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);border-radius:50%;pointer-events:none;z-index:2;box-sizing:border-box}
.sl-cuetip-zone-outer{width:78%;height:78%;border:2px solid rgba(231,190,45,.72);box-shadow:0 0 0 1px rgba(255,239,153,.14),inset 0 0 8px rgba(231,190,45,.055)}
.sl-cuetip-zone-inner{width:48%;height:48%;border:2px solid rgba(231,190,45,.66);box-shadow:0 0 0 1px rgba(255,239,153,.12),inset 0 0 7px rgba(231,190,45,.045)}
.sl-shot-section .sl-cuetip-highlight{z-index:3;left:17%;top:13%;width:35%;height:21%;background:linear-gradient(145deg,rgba(255,255,255,.88),rgba(255,255,255,.12));filter:blur(.55px)}
.sl-shot-section .sl-cuetip-cross{z-index:4;background:rgba(29,49,65,.58)}
.sl-shot-section .sl-cuetip.sl-cuetip-3d .sl-cuetip-point{z-index:9}
.sl-shot-section .sl-cue-assembly{z-index:8}

/* V1.0.3.6.5.5-R1.3 – Spherical Depth, Zone Integration & Cue Contact Visual Calibration
   Presentation only. Authoritative X/Y, derived Z and all physics remain unchanged. */
.sl-shot-section .sl-contact-stage::after{
  content:"";position:absolute;left:calc(var(--sl-ball-left) + var(--sl-ball-size)*.14);top:calc(var(--sl-ball-top) + var(--sl-ball-size)*.86);
  width:calc(var(--sl-ball-size)*.72);height:calc(var(--sl-ball-size)*.12);border-radius:50%;
  background:radial-gradient(ellipse,rgba(0,0,0,.34) 0%,rgba(0,0,0,.15) 45%,transparent 74%);filter:blur(5px);z-index:1;pointer-events:none;
}
.sl-shot-section .sl-cuetip.sl-cuetip-3d{
  background:
    radial-gradient(ellipse at 24% 17%,rgba(255,255,255,.99) 0 2.2%,rgba(255,255,255,.82) 2.8% 5.5%,rgba(255,255,255,.20) 8.5%,transparent 15%),
    radial-gradient(ellipse at 72% 76%,rgba(185,205,214,.18) 0 16%,transparent 42%),
    radial-gradient(circle at 36% 31%,#fff 0 21%,#fbfbf9 36%,#edf0ee 54%,#d1d8d9 69%,#a4b0b4 81%,#74838a 91%,#4c5c65 100%);
  box-shadow:
    inset -32px -35px 44px rgba(12,26,35,.48),
    inset 15px 13px 26px rgba(255,255,255,.92),
    inset -5px 4px 13px rgba(118,143,155,.13),
    0 13px 25px rgba(0,0,0,.40);
}
.sl-shot-section .sl-cuetip-depth{
  inset:1.8%;
  background:
    radial-gradient(circle at 34% 29%,transparent 0 49%,rgba(32,51,62,.025) 59%,rgba(25,42,52,.10) 76%,rgba(12,27,36,.30) 94%,rgba(6,18,26,.38) 100%),
    linear-gradient(145deg,rgba(255,255,255,.08),transparent 48%,rgba(18,36,46,.09));
  box-shadow:inset -15px -17px 22px rgba(0,0,0,.14),inset 6px 6px 13px rgba(255,255,255,.44);
}
.sl-shot-section .sl-cuetip-zone{opacity:.72;mix-blend-mode:multiply}
.sl-shot-section .sl-cuetip-zone-outer{border-color:rgba(224,180,30,.62);box-shadow:0 0 0 1px rgba(255,240,158,.10),inset -3px -3px 7px rgba(137,107,12,.045),inset 2px 2px 5px rgba(255,248,201,.08)}
.sl-shot-section .sl-cuetip-zone-inner{border-color:rgba(224,180,30,.58);box-shadow:0 0 0 1px rgba(255,240,158,.09),inset -2px -2px 6px rgba(137,107,12,.04),inset 2px 2px 4px rgba(255,248,201,.07)}
.sl-shot-section .sl-cuetip-highlight{
  left:16%;top:12%;width:28%;height:14%;border-radius:50%;transform:rotate(-27deg);
  background:linear-gradient(145deg,rgba(255,255,255,.88),rgba(255,255,255,.20) 52%,transparent 78%);filter:blur(.8px);opacity:.86;
}
.sl-shot-section .sl-cuetip.sl-cuetip-3d .sl-cuetip-point{
  box-shadow:0 0 0 1px rgba(90,8,8,.35),0 0 10px rgba(240,68,58,.48),3px 5px calc(8px + 5px * var(--sl-tip-depth,0)) rgba(45,13,10,.46);
}
.sl-shot-section .sl-cuetip-contact-shadow{
  inset:-11px;background:radial-gradient(ellipse at 62% 58%,rgba(65,18,15,.38) 0 12%,rgba(86,24,19,.20) 29%,rgba(86,24,19,.08) 47%,transparent 70%);
  transform:translate(3px,2px) scale(calc(.76 + .24 * var(--sl-tip-z,1)));
}
.sl-shot-section .sl-cue-tip{box-shadow:inset 3px 0 5px rgba(255,255,255,.22),inset -2px 0 4px rgba(0,0,0,.28)}
.sl-shot-section .sl-cue-ferrule{box-shadow:inset 0 5px 6px rgba(255,255,255,.50),inset 0 -5px 6px rgba(83,72,58,.12)}

/* V1.0.3.6.5.5-R1.4 – True Sphere Lighting & Clean Contact View
   Presentation-only visual calibration. No X/Y/Z, cue geometry or physics mutation. */
.sl-shot-section .sl-cuetip.sl-cuetip-3d{
  border-color:rgba(215,230,239,.96);
  background:
    radial-gradient(ellipse at 22% 16%,rgba(255,255,255,1) 0 2.3%,rgba(255,255,255,.92) 2.8% 5.3%,rgba(255,255,255,.38) 6.2% 9%,transparent 14%),
    radial-gradient(ellipse at 31% 24%,rgba(255,252,242,.68) 0 14%,rgba(255,250,236,.22) 28%,transparent 47%),
    radial-gradient(ellipse at 78% 78%,rgba(41,57,66,.22) 0 18%,rgba(31,47,57,.10) 36%,transparent 57%),
    radial-gradient(circle at 35% 29%,#fffefa 0 22%,#fbfaf4 38%,#ecebe4 55%,#d0d2cf 69%,#a7afb1 81%,#78858a 91%,#4d5b63 100%);
  box-shadow:
    inset -38px -40px 52px rgba(9,22,30,.53),
    inset 17px 15px 29px rgba(255,255,255,.94),
    inset 4px -7px 17px rgba(61,79,89,.15),
    0 15px 27px rgba(0,0,0,.43);
}
.sl-shot-section .sl-cuetip-depth{
  inset:1.2%;
  background:
    radial-gradient(circle at 35% 29%,transparent 0 48%,rgba(22,39,49,.018) 58%,rgba(17,33,43,.10) 74%,rgba(8,22,31,.31) 92%,rgba(4,15,22,.44) 100%),
    linear-gradient(145deg,rgba(255,255,255,.12),transparent 43%,rgba(11,28,38,.13));
  box-shadow:inset -18px -20px 27px rgba(0,0,0,.17),inset 7px 7px 15px rgba(255,255,255,.47);
}
/* Clean contact view: zones replace the old centre crosshair. */
.sl-shot-section .sl-cuetip-cross{display:none!important}
.sl-shot-section .sl-cuetip-zone{opacity:.66;mix-blend-mode:multiply}
.sl-shot-section .sl-cuetip-zone-outer{border-color:rgba(222,173,24,.64);box-shadow:0 0 0 1px rgba(255,242,174,.12),inset -3px -4px 8px rgba(108,81,8,.06),inset 2px 2px 6px rgba(255,249,211,.10)}
.sl-shot-section .sl-cuetip-zone-inner{border-color:rgba(222,173,24,.60);box-shadow:0 0 0 1px rgba(255,242,174,.11),inset -2px -3px 7px rgba(108,81,8,.055),inset 2px 2px 5px rgba(255,249,211,.09)}
.sl-shot-section .sl-cuetip-highlight{
  left:15%;top:11%;width:25%;height:12%;border-radius:48% 52% 55% 45%;transform:rotate(-29deg);
  background:linear-gradient(143deg,rgba(255,255,255,.96) 0 26%,rgba(255,255,255,.52) 43%,rgba(255,255,255,.10) 68%,transparent 80%);
  filter:blur(.55px);opacity:.92;
}
.sl-shot-section .sl-contact-stage::after{
  left:calc(var(--sl-ball-left) + var(--sl-ball-size)*.12);top:calc(var(--sl-ball-top) + var(--sl-ball-size)*.88);
  width:calc(var(--sl-ball-size)*.76);height:calc(var(--sl-ball-size)*.13);
  background:radial-gradient(ellipse,rgba(0,0,0,.40) 0%,rgba(0,0,0,.18) 43%,transparent 75%);filter:blur(6px);
}
.sl-shot-section .sl-cuetip-contact-shadow{
  inset:-13px;background:radial-gradient(ellipse at 67% 58%,rgba(39,11,9,.48) 0 10%,rgba(62,17,13,.28) 24%,rgba(78,23,18,.11) 44%,transparent 69%);
  transform:translate(4px,2px) scale(calc(.77 + .23 * var(--sl-tip-z,1)));
}
.sl-shot-section .sl-cue-tip{
  background:linear-gradient(90deg,#1e5676 0%,#4387aa 35%,#75b2cf 55%,#2a6686 82%,#173f59 100%);
  box-shadow:inset 3px 0 5px rgba(255,255,255,.26),inset -3px 0 5px rgba(0,0,0,.34),0 0 2px rgba(8,25,36,.55);
}


/* V1.0.3.6.5.5-R1.5 – Crosshair Owner Removal & Multi-Layer Sphere Shading
   Presentation only. Crosshair nodes removed from runtime markup; X/Y/Z and physics unchanged. */
.sl-shot-section .sl-cuetip.sl-cuetip-3d{
  overflow:visible;
  background:
    radial-gradient(ellipse at 20% 14%,rgba(255,255,255,1) 0 2%,rgba(255,255,255,.90) 2.5% 4.7%,rgba(255,255,255,.28) 5.5% 8.5%,transparent 13%),
    radial-gradient(ellipse at 29% 22%,rgba(255,253,244,.82) 0 11%,rgba(255,251,238,.26) 25%,transparent 43%),
    radial-gradient(ellipse at 73% 74%,rgba(42,54,59,.34) 0 15%,rgba(34,47,54,.18) 32%,transparent 54%),
    radial-gradient(circle at 34% 27%,#fffefa 0 18%,#fcfaf3 34%,#efede5 51%,#d5d5cf 66%,#adb2b1 78%,#7f898b 88%,#58666b 96%,#3f4d54 100%);
  box-shadow:
    inset -45px -48px 58px rgba(6,18,25,.58),
    inset 19px 17px 32px rgba(255,255,255,.96),
    inset -7px 5px 20px rgba(76,91,96,.18),
    0 16px 29px rgba(0,0,0,.46);
}
/* Hard removal of every legacy crosshair owner on the contact sphere. */
.sl-shot-section .sl-cuetip.sl-cuetip-3d::before,
.sl-shot-section .sl-cuetip.sl-cuetip-3d::after,
.sl-shot-section .sl-cuetip-cross{display:none!important;content:none!important;width:0!important;height:0!important}
.sl-shot-section .sl-cuetip-depth{
  inset:1%;z-index:1;
  background:
    radial-gradient(circle at 33% 27%,transparent 0 45%,rgba(23,37,43,.025) 55%,rgba(16,30,37,.12) 70%,rgba(8,20,27,.34) 88%,rgba(3,12,17,.52) 100%),
    linear-gradient(142deg,rgba(255,255,255,.14),transparent 39%,rgba(8,22,29,.18));
  box-shadow:inset -22px -24px 31px rgba(0,0,0,.20),inset 8px 8px 17px rgba(255,255,255,.52);
}
.sl-shot-section .sl-cuetip-specular{
  position:absolute;left:14%;top:10%;width:27%;height:16%;z-index:4;pointer-events:none;border-radius:50%;transform:rotate(-30deg);
  background:linear-gradient(145deg,rgba(255,255,255,.98) 0 24%,rgba(255,255,255,.64) 37%,rgba(255,255,255,.16) 62%,transparent 78%);
  filter:blur(.45px);opacity:.95;
}
.sl-shot-section .sl-cuetip-rim{
  position:absolute;inset:0;z-index:3;pointer-events:none;border-radius:50%;
  box-shadow:inset -13px -16px 19px rgba(9,21,27,.30),inset 5px 5px 10px rgba(255,255,255,.28);
  background:radial-gradient(circle at 35% 28%,transparent 0 67%,rgba(15,31,39,.04) 77%,rgba(6,19,26,.20) 92%,rgba(2,11,16,.34) 100%);
}
.sl-shot-section .sl-cuetip-zone{z-index:5;opacity:.58;mix-blend-mode:multiply}
.sl-shot-section .sl-cuetip-highlight{z-index:6;opacity:.70}
.sl-shot-section .sl-cuetip.sl-cuetip-3d .sl-cuetip-point{z-index:10}
.sl-shot-section .sl-cue-assembly{z-index:9}
.sl-shot-section .sl-contact-stage::after{z-index:1;filter:blur(7px);opacity:.95}


/* V1.0.3.6.5.5-R1.6 — reference-matched sphere material only.
   Existing DOM, X/Y/Z, zone radii and cue geometry remain authoritative. */
.sl-shot-section .sl-cuetip.sl-cuetip-3d{
  isolation:isolate;
  border-color:rgba(233,242,247,.94);
  background:
    radial-gradient(ellipse 27% 18% at 24% 17%,rgba(255,255,255,.96) 0%,rgba(255,255,255,.58) 42%,transparent 100%),
    radial-gradient(ellipse 67% 60% at 27% 20%,rgba(255,255,255,.90) 0%,rgba(255,252,242,.40) 48%,transparent 100%),
    radial-gradient(ellipse 84% 90% at 75% 85%,rgba(38,37,32,.43) 0%,rgba(64,59,50,.22) 39%,transparent 83%),
    radial-gradient(circle at 32% 24%,#fffef9 0%,#fffaf0 28%,#f2e9d8 49%,#d6d0c3 66%,#aaa9a4 80%,#75818a 94%,#d7e6ef 100%);
  box-shadow:
    inset -9px -12px 19px rgba(18,28,36,.31),
    inset 6px 6px 11px rgba(255,255,255,.88),
    inset -1px 1px 3px rgba(225,243,255,.85),
    0 14px 23px rgba(0,0,0,.40);
}
.sl-shot-section .sl-cuetip-depth{
  inset:0;z-index:1;border-radius:50%;
  background:
    radial-gradient(ellipse 83% 88% at 28% 22%,transparent 0 52%,rgba(51,46,38,.09) 72%,rgba(20,25,27,.38) 94%,rgba(8,19,26,.50) 100%),
    linear-gradient(144deg,rgba(255,255,255,.22) 0%,transparent 45%,rgba(17,26,32,.14) 100%);
  box-shadow:inset -13px -16px 21px rgba(22,29,33,.20),inset 5px 5px 10px rgba(255,255,255,.43);
}
.sl-shot-section .sl-cuetip-specular{
  left:12%;top:10%;width:31%;height:18%;z-index:4;
  border-radius:52% 48% 57% 43%;transform:rotate(-32deg);
  background:linear-gradient(151deg,rgba(255,255,255,.99) 0 23%,rgba(255,255,255,.88) 37%,rgba(255,255,255,.34) 65%,transparent 83%);
  filter:blur(.5px);opacity:1;
}
.sl-shot-section .sl-cuetip-highlight{
  left:9%;top:20%;width:11%;height:23%;z-index:4;
  border-radius:55% 45% 55% 45%;transform:rotate(21deg);
  background:linear-gradient(110deg,rgba(255,255,255,.91),rgba(255,255,255,.46) 48%,transparent 92%);
  filter:blur(.7px);opacity:.84;
}
.sl-shot-section .sl-cuetip-rim{
  inset:0;z-index:3;border-radius:50%;
  background:
    radial-gradient(ellipse 88% 94% at 31% 24%,transparent 0 72%,rgba(12,27,34,.09) 86%,rgba(7,22,30,.32) 98%,rgba(192,224,244,.36) 100%);
  box-shadow:inset -7px -10px 13px rgba(17,31,39,.19),inset 3px 3px 5px rgba(255,255,255,.48);
}
.sl-shot-section .sl-cuetip-zone{z-index:5;opacity:.82;mix-blend-mode:normal}
.sl-shot-section .sl-cuetip-zone-outer{
  border-color:rgba(219,163,39,.78);
  box-shadow:0 0 1px rgba(255,233,163,.26);
}
.sl-shot-section .sl-cuetip-zone-inner{
  border-color:rgba(226,172,50,.80);
  box-shadow:0 0 1px rgba(255,233,163,.25);
}
.sl-shot-section .sl-cuetip.sl-cuetip-3d .sl-cuetip-point{
  z-index:10;
  background:radial-gradient(circle at 28% 20%,#ffccc1 0 7%,#ff7d6b 17%,#e5312c 47%,#a60c13 78%,#63070d 100%);
  border-color:rgba(255,255,255,.98);
  box-shadow:0 0 0 1px rgba(101,8,8,.34),0 0 14px rgba(242,45,39,.60),4px 6px 11px rgba(34,12,10,.49);
}
.sl-shot-section .sl-cuetip-contact-shadow{
  inset:-15px;
  background:radial-gradient(ellipse at 64% 55%,rgba(47,9,7,.53) 0 13%,rgba(107,21,16,.27) 28%,rgba(231,49,37,.12) 47%,transparent 73%);
  transform:translate(4px,2px) scale(calc(.78 + .22 * var(--sl-tip-z,1)));
}
.sl-shot-section .sl-cue-tip{
  background:linear-gradient(180deg,#84a8bf 0%,#2e6a8c 23%,#144968 62%,#0c314a 100%);
  box-shadow:inset 3px 0 4px rgba(255,255,255,.35),inset 0 4px 4px rgba(255,255,255,.17),inset 0 -4px 5px rgba(0,0,0,.34);
}
.sl-shot-section .sl-cue-ferrule{
  background:linear-gradient(180deg,#fffdf0 0%,#f3f0e2 33%,#d4cec0 78%,#faf8ed 100%);
  box-shadow:inset 0 4px 4px rgba(255,255,255,.66),inset 0 -4px 4px rgba(65,58,46,.18);
}
.sl-shot-section .sl-cue-shaft{
  background:linear-gradient(180deg,#ffe6b3 0%,#f2c786 23%,#d9a061 57%,#a36a39 100%);
  box-shadow:inset 0 4px 7px rgba(255,255,255,.40),inset 0 -5px 7px rgba(77,42,22,.23);
}

/* V1.0.3.6.5.6-R1 — presentation-only cue elevation; anchor remains at the existing X/Y contact. */
.sl-shot-section .sl-cue-assembly{
  transform:translate(8px,-50%) rotate(calc(-1 * var(--sl-cue-elevation-deg,0deg)));
  transform-origin:0 50%;
  transition:transform 90ms linear;
}
.sl-shot-section .sl-elevation-control{display:grid;grid-template-columns:1fr;gap:8px;align-items:stretch;padding:10px 12px}
.sl-shot-section .sl-elevation-control label{display:flex;justify-content:space-between;gap:8px;color:#eaf3fa;font-weight:700}
.sl-shot-section .sl-elevation-control output{color:#ffd46a;font-variant-numeric:tabular-nums}
.sl-shot-section .sl-elevation-control input{width:100%;accent-color:#ffca43;cursor:pointer}
.sl-shot-section .sl-elevation-control small{line-height:1.45;color:var(--sl-muted)}
@media(prefers-reduced-motion:reduce){.sl-shot-section .sl-cue-assembly{transition:none}}

/* 6.5.6-R1: constrained elevation view and responsive slider readout. */
.sl-shot-section .sl-elevation-control{min-width:0;max-width:100%;overflow:hidden;box-sizing:border-box;grid-template-columns:minmax(0,1fr);gap:10px;padding:12px 14px}
.sl-shot-section .sl-elevation-control label{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;min-width:0;gap:12px;overflow:visible;font-size:clamp(12px,1.2vw,15px)}
.sl-shot-section .sl-elevation-control output{display:inline-block;min-width:4ch;text-align:right;white-space:nowrap;font-size:14px;line-height:1.4}
.sl-shot-section .sl-elevation-control input{display:block;box-sizing:border-box;width:100%;min-width:0;max-width:100%;margin:0;touch-action:pan-y}
.sl-shot-section .sl-elevation-control [data-cue-elevation-status],.sl-shot-section .sl-elevation-control small{display:block;max-width:100%;min-width:0;overflow-wrap:anywhere}
.sl-shot-section .sl-cue-assembly{width:var(--sl-elevation-cue-length,164px);min-width:0;max-width:164px;transform-origin:0 50%}
@media(max-width:760px){.sl-shot-section .sl-elevation-control{max-width:330px;padding:10px 12px}.sl-shot-section .sl-elevation-control label{font-size:13px}}

/* V1.0.3.6.5.6-R1.1 — elevation control width/overflow containment only. */
.sl-shot-section .sl-shot-compact,
.sl-shot-section .sl-contact-visual,
.sl-shot-section .sl-elevation-control{min-width:0;max-width:100%;box-sizing:border-box;}
.sl-shot-section .sl-elevation-control{
  width:100%;overflow:visible;display:grid;grid-template-columns:minmax(0,1fr);
  gap:12px;padding:14px clamp(16px,3%,24px);
}
.sl-shot-section .sl-elevation-control label{
  display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;
  min-width:0;width:100%;box-sizing:border-box;gap:8px 16px;
  font-size:clamp(13px,1.2vw,16px);line-height:1.35;
}
.sl-shot-section .sl-elevation-control output{
  flex:0 0 auto;min-width:4.5ch;max-width:100%;text-align:right;
  font-size:clamp(14px,1.4vw,18px);font-variant-numeric:tabular-nums;
  line-height:1.4;white-space:nowrap;
}
.sl-shot-section .sl-elevation-control input[type=range]{
  display:block;width:calc(100% - 18px);max-width:calc(100% - 18px);
  margin:0 9px;min-width:0;box-sizing:border-box;
}
.sl-shot-section .sl-elevation-control [data-cue-elevation-status],
.sl-shot-section .sl-elevation-control small{max-width:100%;overflow-wrap:anywhere;}
@media(max-width:760px){
  .sl-shot-section .sl-elevation-control{width:100%;max-width:100%;padding:12px 16px;}
  .sl-shot-section .sl-elevation-control label{font-size:13px;}
}

/* 6.5.6.1 — read-only ECP 3D contact evidence. */
.sl-shot-section .sl-ecp-contact-bridge{overflow-wrap:anywhere;min-width:0;padding:8px 10px;border:1px solid rgba(240,191,74,.4);border-radius:9px;color:#d6e3ef;font-size:11px;line-height:1.6;background:rgba(9,24,39,.65)}
.sl-shot-section .sl-ecp-contact-bridge[data-status="BLOCKED"]{border-color:#e58b74}
.sl-shot-section .sl-ecp-contact-bridge[data-status="EXPERIMENTAL"]{border-color:#e9b744}

/* R6.5 additive orientation controls */
.sl-r65-views,.sl-r65-zone{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:10px 0}
.sl-r65-views .sl-btn,.sl-r65-zone button{font-size:12px;min-width:0;padding:9px 4px;background:#1a3045;border:1px solid #435a70;border-radius:9px;color:#e8f1f8;cursor:pointer}
.sl-r65-views .active,.sl-r65-zone .active{border-color:#f1bd4a;background:#273e51}
.sl-r65-zone small{display:block;font-size:10px;opacity:.8;margin-top:3px}
.sl-r65-zone button:first-child.active{border-color:#32b7a8}.sl-r65-zone button:last-child.active{border-color:#e37873}
.sl-r65-diagram{margin:8px 0}.sl-r65-diagram svg{width:100%;height:auto;max-height:190px}
.sl-r65-grip{margin:12px 0;padding:10px;border:1px solid #435a70;border-radius:10px}.sl-r65-grip label{display:flex;justify-content:space-between;gap:8px;font-size:12px}.sl-r65-grip input{width:100%}.sl-r65-grip div{font-weight:700;color:#f1bd4a}.sl-r65-grip small{display:block;font-size:11px;opacity:.8}
.sl-r65-expert{margin-top:12px;border:1px solid #435a70;border-radius:10px;padding:10px}.sl-r65-expert summary{cursor:pointer;font-weight:700}.sl-r65-expert[open] summary{margin-bottom:10px}
[data-contact-stage][hidden],[data-r65-diagram][hidden]{display:none!important}

/* R6.6 approved Anime reference integration; all imagery is sourced from the approved design. */
.sl-shot-section .sl-contact-visual{min-width:0;max-width:100%;overflow:visible}
.sl-shot-section .sl-r66-orientation{display:flex;flex-direction:column;gap:9px;min-width:0;width:100%;max-width:100%;box-sizing:border-box}
.sl-shot-section .sl-r65-views{order:0;margin:0;position:relative;z-index:2;width:100%;max-width:100%}
.sl-shot-section .sl-r65-views .sl-btn{padding:9px 2px;font-size:clamp(10px,1vw,13px);white-space:normal}
.sl-shot-section .sl-r66-scene{order:1;position:relative;aspect-ratio:1.13;background:#091c2a;border:1px solid #3c5972;border-radius:12px;overflow:hidden;width:100%;max-width:100%;box-sizing:border-box}
.sl-shot-section .sl-r66-scene img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.sl-shot-section .sl-r66-live{position:absolute;bottom:0;left:0;right:0;padding:10px 12px;background:linear-gradient(transparent,rgba(7,23,37,.94) 24%);color:#f4f8fb;font-size:12px;display:flex;flex-direction:column;gap:3px;line-height:1.4}
.sl-shot-section .sl-r66-live span{color:#d2e3f1;font-size:11px}
.sl-shot-section .sl-r66-example{order:2;font-size:10px;color:#adc0d0}
.sl-shot-section .sl-r66-contact-details{order:3;border:1px solid #36546c;border-radius:11px;padding:8px;min-width:0}
.sl-shot-section .sl-r66-contact-details summary{cursor:pointer;color:#f4d17b;font-weight:700;font-size:12px;padding:4px}
.sl-shot-section .sl-r66-contact-details .sl-contact-stage{margin:8px auto 0;position:relative;max-width:100%;overflow:hidden}
.sl-shot-section .sl-r65-zone button{padding:5px 3px 8px;overflow:hidden}
.sl-shot-section .sl-r66-zone-image{width:100%;height:72px;object-fit:cover;display:block;border-radius:6px;margin-bottom:5px}
.sl-shot-section .sl-cue-orientation{min-width:0;overflow:hidden}
@media(max-width:760px){.sl-shot-section .sl-r66-scene{aspect-ratio:1.15}.sl-shot-section .sl-r66-zone-image{height:62px}}

/* R6.7: compact approved zone artwork, perspective-specific masking and authoritative top view */
.sl-shot-section .sl-r66-zone-image{height:90px;object-fit:cover;object-position:center}
.sl-shot-section .sl-r67-side-ball-mask{position:absolute;left:70.1%;top:51.2%;width:6%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle at 25% 25%,#fffefa 0%,#f6f3e9 45%,#e5e7e3 85%);pointer-events:none}
.sl-shot-section [hidden]{display:none!important}
.sl-r67-grip-help{margin:8px 0;font-size:12px;color:#c7d8e7}
.sl-r67-grip-help summary{cursor:pointer;color:#f5ce77;font-weight:700}
.sl-r67-grip-help p{line-height:1.55;margin:8px 0 0}
@media(max-width:760px){.sl-shot-section .sl-r66-zone-image{height:70px}}

/* R6.8: full production table in live top view; preserve native aspect ratio. */

/* R6.8.1 – presentation-only visual acceptance. Preserve the production stage. */
/* A complete sphere, not a small white patch: hide the source ball and its red mark together.
   Pixel-anchored to the 525x449 side reference; rendered in matching object-fit:cover coordinates. */
.sl-shot-section .sl-r681-side-sphere{position:absolute;z-index:1;left:67.1%;top:51.5%;width:26.2%;aspect-ratio:1;pointer-events:none;border-radius:50%;background:radial-gradient(ellipse at 31% 21%,#fff 0%,#fffdf5 27%,#f3f0e5 52%,#d7d9d4 76%,#aeb8b9 96%);box-shadow:inset -7px -9px 15px #8b999955,0 9px 5px #091e3160;border:1px solid #a8b3ad}
.sl-shot-section .sl-r681-pose{position:absolute;left:8px;top:8px;z-index:2;max-width:95%;padding:5px 8px;background:#0b213ce8;color:#f4d17b;border:1px solid #52748a;border-radius:7px;font-size:11px}
@media(max-width:760px){}

/* R6.8.2 – synchronized presentation and responsive acceptance */
.sl-shot-section .sl-r682-dynamic{position:absolute;inset:0;z-index:1;display:grid;place-items:center;background:#102435;pointer-events:none}
.sl-shot-section .sl-r682-dynamic[hidden]{display:none!important}
.sl-shot-section .sl-r682-dynamic svg{display:block;width:100%;height:100%;max-width:100%;max-height:100%}
.sl-shot-section .sl-r681-pose{display:none!important}
.sl-shot-section .sl-r66-scene img[hidden]{display:none!important}
.sl-shot-section .sl-r66-scene .sl-r66-live{z-index:3}
.sl-shot-section .sl-r65-zone{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%;min-width:0}
.sl-shot-section .sl-r65-zone button{min-width:0;overflow:hidden;box-sizing:border-box;display:flex;flex-direction:column;align-items:stretch;gap:4px;white-space:normal;line-height:1.35;padding:6px}
.sl-shot-section .sl-r65-zone .sl-r66-zone-image{width:100%;height:auto;aspect-ratio:1.6;object-fit:contain;object-position:center;background:#101f2e;flex-shrink:0}
.sl-shot-section .sl-r65-zone button small{overflow-wrap:anywhere}
.sl-shot-section .sl-r65-views{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));min-width:0;overflow:visible}
.sl-shot-section .sl-r65-views button{min-width:0;overflow-wrap:anywhere}
@media(max-width:560px){.sl-shot-section .sl-r65-zone{gap:4px}.sl-shot-section .sl-r65-zone button{font-size:11px;padding:4px}.sl-shot-section .sl-r65-zone .sl-r66-zone-image{aspect-ratio:1.2}.sl-shot-section .sl-r66-scene{aspect-ratio:1.1}}

/* R6.8.2.2: Recovery: preserve the native portrait-table grid and renderer sizing.
   Responsive containment is applied only inside the existing control owners. */
.btc-shotlab-shell{max-width:100%;min-width:0;overflow-x:clip}
.btc-shotlab-shell .sl-main{min-width:0;max-width:100%}
.btc-shotlab-shell .sl-stage-wrap{min-width:0;max-width:100%;box-sizing:border-box}
.btc-shotlab-shell .sl-calibration-workspace{min-width:0;max-width:100%}
.btc-shotlab-shell .sl-control-panel{min-width:0;box-sizing:border-box}
.btc-shotlab-shell .sl-control-panel input,.btc-shotlab-shell .sl-control-panel select,.btc-shotlab-shell .sl-control-panel textarea{max-width:100%;box-sizing:border-box}
@media(max-width:1100px){.btc-shotlab-shell .sl-panel.right{min-width:0}.btc-shotlab-shell .sl-control-panel>*{min-width:0}}
@media(max-width:760px){.btc-shotlab-shell .sl-main{display:block}.btc-shotlab-shell .sl-stage-wrap{width:100%;overflow-x:auto}.btc-shotlab-shell .sl-panel.right{display:block;max-height:none;position:static}.btc-shotlab-shell .sl-control-panel{width:100%;overflow-x:hidden}}

/* R6.8.2.3 – explicit portrait stage sizing; scoped to existing ShotLab owners. */
.btc-shotlab-shell .sl-app{min-width:0;max-width:100%;}
.btc-shotlab-shell .sl-main{min-width:0;max-width:100%;}
.btc-shotlab-shell .sl-stage-wrap{min-width:0;width:auto;max-width:100%;box-sizing:border-box;overflow:auto;}
.btc-shotlab-shell .sl-calibration-workspace:not(.is-calibrating){width:100%;min-width:0;max-width:100%;display:flex;justify-content:center;}
.btc-shotlab-shell .sl-calibration-workspace:not(.is-calibrating)>.sl-stage{display:block;flex:0 1 720px;width:100%;min-width:0;max-width:720px;aspect-ratio:1023 / 1537;position:relative;}
.btc-shotlab-shell .sl-calibration-workspace:not(.is-calibrating)>.sl-stage>.sl-master,
.btc-shotlab-shell .sl-calibration-workspace:not(.is-calibrating)>.sl-stage>.sl-svg{display:block;position:absolute;inset:0;width:100%;height:100%;}
.btc-shotlab-shell .sl-panel.right{min-width:0;max-width:100%;box-sizing:border-box;}
.btc-shotlab-shell .sl-control-panel .sl-field,.btc-shotlab-shell .sl-control-panel .sl-control-section{min-width:0;max-width:100%;box-sizing:border-box;}
@media(max-width:760px){.btc-shotlab-shell .sl-main{display:block;}.btc-shotlab-shell .sl-stage-wrap{width:100%;}.btc-shotlab-shell .sl-calibration-workspace:not(.is-calibrating)>.sl-stage{flex-basis:100%;}.btc-shotlab-shell .sl-panel.right{width:100%;max-height:none;position:static;}}

/* R6.8.2.4 – containment only; portrait stage and physics unchanged. */
.btc-shotlab-shell,.btc-shotlab-shell *{box-sizing:border-box}
.btc-shotlab-shell .sl-app{display:block;min-width:0;width:100%;max-width:100%}
.btc-shotlab-shell .sl-main{display:grid!important;grid-template-columns:minmax(190px,230px) minmax(0,1fr) minmax(320px,370px)!important;align-items:start;width:100%;max-width:100%;min-width:0;overflow:clip}
.btc-shotlab-shell .sl-main>.sl-panel:not(.right){grid-column:1;grid-row:1;min-width:0;max-height:calc(100dvh - 150px);overflow-y:auto;overflow-x:hidden;position:sticky;top:0}
.btc-shotlab-shell .sl-main>.sl-stage-wrap{grid-column:2;grid-row:1;min-width:0;width:100%;max-width:100%;overflow-x:hidden;overflow-y:visible;align-self:start}
.btc-shotlab-shell .sl-main>.sl-panel.right{grid-column:3;grid-row:1;display:block!important;width:100%;min-width:0;max-width:100%;max-height:calc(100dvh - 150px);overflow-y:auto;overflow-x:hidden;position:sticky;top:0;padding:12px;scrollbar-gutter:stable}
.btc-shotlab-shell .sl-control-panel>*{min-width:0;max-width:100%;width:100%;box-sizing:border-box}
.btc-shotlab-shell .sl-control-panel input[type=range]{display:block;width:100%;min-width:0;max-width:100%}
.btc-shotlab-shell .sl-control-panel [data-speed-geometry],.btc-shotlab-shell .sl-control-panel .sl-speed-main{width:100%;min-width:0;max-width:100%;overflow-wrap:anywhere}
.btc-shotlab-shell .sl-control-panel .sl-r65-zone{width:100%;max-width:100%;overflow:hidden}
.btc-shotlab-shell .sl-control-panel .sl-r65-zone button{min-width:0}
.btc-shotlab-shell .sl-control-panel .sl-r65-zone img{max-width:100%;object-fit:contain}
.btc-shotlab-shell .sl-control-panel .sl-inline-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
.btc-shotlab-shell .sl-r6824-dock-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;position:sticky;top:0;z-index:8;background:#0d1c2d;padding:3px 0 10px;margin-bottom:10px}
.btc-shotlab-shell .sl-r6824-dock-nav button{min-width:0;padding:9px 2px;border:1px solid #3b566e;border-radius:8px;background:#1c344b;color:#eef5fc;font-size:11px;font-weight:700;cursor:pointer}
.btc-shotlab-shell .sl-r6824-dock-nav button:hover,.btc-shotlab-shell .sl-r6824-dock-nav button.is-active{border-color:#ffcf24;color:#ffdf75}
.btc-shotlab-shell .sl-control-panel [data-dock-section]{scroll-margin-top:62px}
@media(max-width:1180px){.btc-shotlab-shell .sl-main{grid-template-columns:minmax(155px,195px) minmax(0,1fr) minmax(270px,310px)!important}.btc-shotlab-shell .sl-main>.sl-panel.right{padding:9px}}
@media(max-width:900px){.btc-shotlab-shell .sl-main{grid-template-columns:minmax(0,1fr)!important;display:flex!important;flex-direction:column;overflow:visible}.btc-shotlab-shell .sl-main>.sl-stage-wrap{order:0;width:100%;padding:8px}.btc-shotlab-shell .sl-main>.sl-panel.right{order:1;position:static;max-height:none;width:100%;border-left:0;border-top:1px solid #263d54;overflow:visible}.btc-shotlab-shell .sl-main>.sl-panel:not(.right){order:2;position:static;max-height:none;width:100%;border-top:1px solid #263d54;overflow:visible}.btc-shotlab-shell .sl-r6824-dock-nav{position:sticky;top:0}.btc-shotlab-shell .sl-control-panel .sl-inline-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.btc-shotlab-shell .sl-topbar{padding:10px}.btc-shotlab-shell .sl-control-panel .sl-inline-fields{grid-template-columns:minmax(0,1fr)}.btc-shotlab-shell .sl-r6824-dock-nav button{font-size:10px;padding:8px 1px}.btc-shotlab-shell .sl-main>.sl-stage-wrap{padding:4px}}

/* R6.8.2.5-R3.8-R1 – HARD BASELINE RECOVERY
   Runtime/ball renderer is untouched R6.8.2.4-R1. Only perspective-card presentation is additive. */
.btc-shotlab-shell .sl-shot-section .sl-r38-perspective-cards{
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:6px 0 10px!important;overflow:hidden!important;
}
.btc-shotlab-shell .sl-shot-section .sl-r38-perspective-cards button{
 display:grid!important;grid-template-rows:64px auto auto!important;align-content:start!important;width:100%!important;min-width:0!important;max-width:100%!important;height:122px!important;padding:5px!important;gap:3px!important;overflow:hidden!important;text-align:center!important;box-sizing:border-box!important;
}
.btc-shotlab-shell .sl-shot-section .sl-r38-perspective-cards img{
 display:block!important;width:100%!important;height:64px!important;min-height:64px!important;max-height:64px!important;object-fit:cover!important;object-position:center!important;border-radius:6px!important;
}
.btc-shotlab-shell .sl-shot-section .sl-r38-perspective-cards span,
.btc-shotlab-shell .sl-shot-section .sl-r38-perspective-cards small{display:block!important;width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;text-align:center!important;line-height:1.1!important;white-space:nowrap!important}
.btc-shotlab-shell .sl-shot-section .sl-r38-perspective-cards span{font-size:11px!important;font-weight:700!important}
.btc-shotlab-shell .sl-shot-section .sl-r38-perspective-cards small{font-size:9px!important}
.btc-shotlab-shell .sl-shot-section .sl-r38-perspective-cards button.active{border-color:#2dc8c3!important;box-shadow:0 0 0 1px #2dc8c3 inset!important}
.btc-shotlab-shell .sl-control-panel,.btc-shotlab-shell .sl-shot-section,.btc-shotlab-shell .sl-shot-section .sl-shot-compact,.btc-shotlab-shell .sl-shot-section .sl-contact-visual{min-width:0!important;max-width:100%!important;box-sizing:border-box!important;overflow-x:hidden!important}

/* R6.8.2.5-R3.9 – Core SVG authority guard.
   Right-column presentation may size/contain itself, but never owns or hides the table SVG. */
.btc-shotlab-shell .sl-stage > .sl-svg{display:block!important;visibility:visible!important;opacity:1!important;z-index:4!important;pointer-events:auto!important;}
.btc-shotlab-shell .sl-stage > .sl-master{z-index:1!important;}
.btc-shotlab-shell .sl-stage > .sl-svg .sl-ball,
.btc-shotlab-shell .sl-stage > .sl-svg .sl-guide,
.btc-shotlab-shell .sl-stage > .sl-svg .sl-object{visibility:visible!important;opacity:1;}

/* R6.8.2.5-R3.12 – native dynamic table layer authority */
.btc-shotlab-shell .sl-stage > svg.sl-svg[data-svg]{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;visibility:visible!important;opacity:1!important;z-index:20!important;overflow:visible!important;}
.btc-shotlab-shell .sl-stage > svg.sl-svg[data-svg] .sl-ball,
.btc-shotlab-shell .sl-stage > svg.sl-svg[data-svg] .sl-guide,
.btc-shotlab-shell .sl-stage > svg.sl-svg[data-svg] .sl-object{visibility:visible!important;opacity:1!important;}

/* R6.8.2.5-R3.16 – single perspective presentation authority.
   Golden Contract: no Top-view runtime, no stacked R3.13-R3.15 override cascade.
   Native R3.12 table SVG / ball / guide renderer remains untouched. */
.btc-shotlab-shell .sl-main>.sl-panel.right.sl-control-panel{box-sizing:border-box!important;padding-left:12px!important;padding-right:22px!important;overflow-x:hidden!important;scrollbar-gutter:stable!important;contain:inline-size}
.btc-shotlab-shell .sl-main>.sl-panel.right.sl-control-panel *,
.btc-shotlab-shell .sl-main>.sl-panel.right.sl-control-panel *::before,
.btc-shotlab-shell .sl-main>.sl-panel.right.sl-control-panel *::after{box-sizing:border-box;min-width:0;max-width:100%}
.btc-shotlab-shell .sl-main>.sl-panel.right.sl-control-panel>.sl-control-section{width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important;overflow:hidden!important}
.btc-shotlab-shell .sl-shot-section .sl-shot-compact{display:block!important;width:100%!important;max-width:100%!important}
.btc-shotlab-shell .sl-shot-section .sl-contact-visual{display:flex!important;flex-direction:column!important;gap:8px!important;width:100%!important}
.btc-shotlab-shell .sl-shot-section .sl-r38-perspective-cards{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;width:100%!important;margin:4px 0 6px!important;overflow:hidden!important}
.btc-shotlab-shell .sl-shot-section .sl-r38-perspective-cards button{width:100%!important;height:116px!important;padding:5px!important;grid-template-rows:58px auto auto!important;overflow:hidden!important}
.btc-shotlab-shell .sl-shot-section .sl-r38-perspective-cards img{width:100%!important;height:58px!important;min-height:58px!important;max-height:58px!important;object-fit:cover!important}
.btc-shotlab-shell .sl-shot-section .sl-r66-scene{position:relative!important;width:100%!important;height:clamp(220px,18vw,290px)!important;min-height:220px!important;max-height:290px!important;aspect-ratio:auto!important;margin:0!important;border-radius:10px!important;overflow:hidden!important}
.btc-shotlab-shell .sl-shot-section .sl-r66-scene>img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important}
.btc-shotlab-shell .sl-shot-section .sl-r682-dynamic{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;overflow:hidden!important}
.btc-shotlab-shell .sl-shot-section .sl-r682-dynamic svg{display:block!important;width:100%!important;height:100%!important}
.btc-shotlab-shell .sl-r683-player-aim{position:absolute;inset:0;z-index:4;pointer-events:none;overflow:hidden}
.btc-shotlab-shell .sl-r683-object{position:absolute;left:50%;top:13.5%;width:15.5%;aspect-ratio:1;border-radius:50%;transform:translate(-50%,-50%);background:radial-gradient(circle at 31% 25%,#fff7b5 0 5%,#f6c91e 18%,#d99c00 68%,#8c5b00 100%);box-shadow:0 5px 10px rgba(0,0,0,.38);border:1px solid rgba(255,255,255,.55)}
.btc-shotlab-shell .sl-r683-object i{position:absolute;left:var(--sl-r683-x,50%);top:var(--sl-r683-y,50%);width:10%;aspect-ratio:1;border-radius:50%;transform:translate(-50%,-50%);background:#c92d2d;border:1px solid #7f1010;box-shadow:0 0 0 2px rgba(255,255,255,.38)}
.btc-shotlab-shell .sl-r683-aimline{position:absolute;left:50%;top:22%;bottom:28%;width:2px;transform:translateX(var(--sl-r683-line-x,0));background:repeating-linear-gradient(to bottom,rgba(255,255,255,.92) 0 7px,rgba(216,51,51,.95) 7px 14px);opacity:.78;filter:drop-shadow(0 0 2px rgba(0,0,0,.35))}
.btc-shotlab-shell .sl-shot-section .sl-r66-contact-details,
.btc-shotlab-shell .sl-shot-section .sl-contact-readout,
.btc-shotlab-shell .sl-shot-section .sl-elevation-control,
.btc-shotlab-shell .sl-shot-section .sl-r65-grip,
.btc-shotlab-shell .sl-shot-section .sl-r65-zone{width:100%!important;max-width:100%!important;overflow:hidden!important}
.btc-shotlab-shell .sl-shot-section .sl-r65-zone{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important}
.btc-shotlab-shell .sl-shot-section .sl-r65-zone button{width:100%!important;max-width:100%!important;overflow:hidden!important}
@media(max-width:1180px){.btc-shotlab-shell .sl-shot-section .sl-r66-scene{height:220px!important;min-height:220px!important;max-height:220px!important}.btc-shotlab-shell .sl-shot-section .sl-r38-perspective-cards button{height:106px!important;grid-template-rows:50px auto auto!important}.btc-shotlab-shell .sl-shot-section .sl-r38-perspective-cards img{height:50px!important;min-height:50px!important;max-height:50px!important}}

/* R6.8.2.5-R3.17.9 – Dual Contact State Separation.
   Single presentation owner: cue-tip preview follows shot.tipX/tipY; object contact follows native Ghostball geometry. */
.btc-shotlab-shell .sl-r3171-thumb{position:relative;display:block!important;width:100%!important;height:58px!important;min-height:58px!important;overflow:hidden!important;border-radius:6px!important}
.btc-shotlab-shell .sl-r3171-thumb>img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important}
.btc-shotlab-shell .sl-r3179-mini-tip,.btc-shotlab-shell .sl-r3179-mini-object{position:absolute;transform:translate(-50%,-50%);border-radius:50%;pointer-events:none;z-index:6;box-sizing:border-box}
.btc-shotlab-shell .sl-r3179-mini-tip{width:8px;height:8px;background:#d43b38;border:1.5px solid #fff;box-shadow:0 0 0 1px rgba(0,0,0,.45)}
.btc-shotlab-shell .sl-r3179-mini-object{width:8px;height:8px;background:#ffca3a;border:1.5px solid #7b2b25;box-shadow:0 0 0 1px rgba(255,255,255,.75)}
.btc-shotlab-shell .sl-r3179-player-overlay{position:absolute;inset:0;width:100%;height:100%;z-index:5;pointer-events:none;overflow:hidden}
.btc-shotlab-shell .sl-r3179-player-overlay [data-r3179-player-line]{stroke:#f6f7f7;stroke-width:4;stroke-dasharray:14 12;opacity:.9}
.btc-shotlab-shell .sl-r3179-player-overlay [data-r3179-player-tip]{fill:#d43b38;stroke:#fff;stroke-width:4}
.btc-shotlab-shell .sl-r3179-player-overlay [data-r3179-player-object]{fill:#ffca3a;stroke:#7b2b25;stroke-width:4}
.btc-shotlab-shell .sl-r38-perspective-cards button{grid-template-rows:58px auto auto!important}
@media(max-width:1180px){.btc-shotlab-shell .sl-r3171-thumb{height:50px!important;min-height:50px!important}.btc-shotlab-shell .sl-r38-perspective-cards button{grid-template-rows:50px auto auto!important}}


/* R6.8.2.5-R3.17.10 – Perspective Thumbnail Visual Recovery.
   Preview cards are reference selectors only: no runtime marker overlays may alter or distort them. */
.btc-shotlab-shell .sl-shot-section .sl-r38-perspective-cards .sl-r3171-thumb{
  position:relative!important;display:block!important;width:100%!important;height:58px!important;min-height:58px!important;max-height:58px!important;overflow:hidden!important;border-radius:6px!important;
}
.btc-shotlab-shell .sl-shot-section .sl-r38-perspective-cards .sl-r3171-thumb>img{
  position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;min-width:100%!important;min-height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;object-position:center!important;transform:none!important;
}
.btc-shotlab-shell .sl-shot-section .sl-r38-perspective-cards .sl-r3171-thumb>[class*=sl-r3179-mini]{display:none!important}
@media(max-width:1180px){.btc-shotlab-shell .sl-shot-section .sl-r38-perspective-cards .sl-r3171-thumb{height:50px!important;min-height:50px!important;max-height:50px!important}}

/* R3.18 additive effective-aim preview; geometric R3.17.11 overlay remains unchanged. */
.btc-shotlab-shell .sl-r3179-player-overlay [data-r318-effective-line]{stroke:#ff68bf;stroke-width:4;stroke-dasharray:8 8;opacity:.95}
.btc-shotlab-shell .sl-r3179-player-overlay [data-r318-effective-object]{fill:#ff68bf;stroke:#fff;stroke-width:3}

/* R6.8.2.5-R3.18.1 – Effective Aim Path Visualization.
   Read-only projection of the winning R3.18 ECP trajectory; native Ghostball/collision authority remains unchanged. */
.btc-shotlab-shell .sl-r3179-player-overlay [data-r318-effective-path]{fill:none;stroke:#ff68bf;stroke-width:5;stroke-dasharray:10 8;stroke-linecap:round;stroke-linejoin:round;opacity:.96}
.btc-shotlab-shell .sl-r3179-player-overlay [data-r318-effective-ghost]{fill:rgba(255,104,191,.08);stroke:#ff68bf;stroke-width:3;stroke-dasharray:9 8;opacity:.78}
.btc-shotlab-shell .sl-r3179-player-overlay [data-r318-effective-object]{fill:#ff68bf;stroke:#fff;stroke-width:3}


/* R6.8.2.5-R3.18.3 – Shared Path Player Projection.
   The white/red dashed player curve is the perspective projection of the frozen R3.18.2 path. */
.btc-shotlab-shell .sl-r3179-player-overlay [data-r318-effective-path]{
  fill:none;stroke:#f7f8f8;stroke-width:5;stroke-dasharray:14 10;stroke-linecap:round;stroke-linejoin:round;opacity:.98
}
.btc-shotlab-shell .sl-r3179-player-overlay[data-r3183-projection="SHARED_PATH_PASS"] [data-r3179-player-line]{display:none!important}


/* R6.8.2.5-R3.18.4 – Player Shared ECP Path Runtime Binding & Projection Closure Gate.
   Pure presentation consumer of the frozen R3.18.2 effectivePath. */
.btc-shotlab-shell .sl-r3179-player-overlay[data-r3184-binding="EFFECTIVE_PATH_RUNTIME"] [data-r318-effective-path]{
  display:block!important;fill:none;stroke:#f7f8f8;stroke-width:5;stroke-dasharray:14 10;stroke-linecap:round;stroke-linejoin:round;opacity:.99
}
.btc-shotlab-shell .sl-r3179-player-overlay[data-r3184-binding="EFFECTIVE_PATH_RUNTIME"] [data-r3179-player-line]{display:none!important}

/* R6.8.2.5-R3.21 – User Experience Consolidation & Professional Control Architecture.
   Presentation-only audience separation. Physics/scene/solver authority is untouched. */
.btc-shotlab-shell .sl-ux-preview{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px 14px;margin:0 0 10px;border:1px solid #35536a;border-radius:10px;background:#0b1c2b;color:#dce9f4}
.btc-shotlab-shell .sl-ux-preview strong{margin-right:4px;color:#ffd260}
.btc-shotlab-shell .sl-ux-preview button{border:1px solid #42647e;border-radius:8px;background:#132b40;color:#e9f2f8;padding:7px 11px;font-weight:700;cursor:pointer}
.btc-shotlab-shell .sl-ux-preview button.is-active{border-color:#27d5ce;box-shadow:inset 0 0 0 1px #27d5ce;color:#fff;background:#17394d}
.btc-shotlab-shell .sl-ux-preview [data-ux-mode-status]{margin-left:auto;font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:#9fb7c9}

/* Standard = player-first: authoring essentials stay available; engineering detail is removed. */
.btc-shotlab-shell.sl-ux-standard .sl-authoring-advanced,
.btc-shotlab-shell.sl-ux-standard .sl-table-conditions,
.btc-shotlab-shell.sl-ux-standard .sl-tech-details,
.btc-shotlab-shell.sl-ux-standard .sl-golden-header,
.btc-shotlab-shell.sl-ux-standard .sl-contact-readout,
.btc-shotlab-shell.sl-ux-standard .sl-r66-example,
.btc-shotlab-shell.sl-ux-standard .sl-technical-backend,
.btc-shotlab-shell.sl-ux-standard .sl-physics-view-mode,
.btc-shotlab-shell.sl-ux-standard .sl-guide-tech-note,
.btc-shotlab-shell.sl-ux-standard .sl-presentation-fingerprint{display:none!important}

/* Pro = registered advanced user: exact shot/material controls stay visible, diagnostics do not. */
.btc-shotlab-shell.sl-ux-pro .sl-tech-details,
.btc-shotlab-shell.sl-ux-pro .sl-golden-header,
.btc-shotlab-shell.sl-ux-pro .sl-technical-backend,
.btc-shotlab-shell.sl-ux-pro .sl-physics-view-mode,
.btc-shotlab-shell.sl-ux-pro .sl-guide-tech-note,
.btc-shotlab-shell.sl-ux-pro .sl-presentation-fingerprint{display:none!important}

/* Diagnostic = backend-only complete engineering surface. */
.btc-shotlab-shell.sl-ux-diagnostic .sl-tech-details,
.btc-shotlab-shell.sl-ux-diagnostic .sl-table-conditions,
.btc-shotlab-shell.sl-ux-diagnostic .sl-authoring-advanced{display:block}

@media(max-width:900px){.btc-shotlab-shell .sl-ux-preview [data-ux-mode-status]{width:100%;margin-left:0}.btc-shotlab-shell .sl-ux-preview button{flex:1 1 150px}}


/* R3.21.1 – Standard Player entitlement surface. */
.btc-shotlab-shell.sl-ux-standard [data-act="save"],
.btc-shotlab-shell.sl-ux-standard [data-act="save-scene"],
.btc-shotlab-shell.sl-ux-standard [data-act="publish-btc"],
.btc-shotlab-shell.sl-ux-standard [data-act="publish-standalone"],
.btc-shotlab-shell.sl-ux-standard [data-act="withdraw-standalone"],
.btc-shotlab-shell.sl-ux-standard [data-act="export-png"],
.btc-shotlab-shell.sl-ux-standard [data-act="export-pdf"],
.btc-shotlab-shell.sl-ux-standard [data-act="export-json"],
.btc-shotlab-shell.sl-ux-standard [data-act="import-json"],
.btc-shotlab-shell.sl-ux-standard [data-act="export-manifest"]{display:none!important}

/* R6.8.2.5-R3.21.2 – Standard Player UX Consolidation & Mobile Control Flow.
   Presentation/visibility only: no scene, physics, ECP, Ghostball or solver authority changes. */
.btc-shotlab-shell .sl-player-tools{margin-top:14px;border:1px solid #29465e;border-radius:12px;background:#10253a;overflow:hidden}
.btc-shotlab-shell .sl-player-tools>summary,.btc-shotlab-shell .sl-advanced-shot>summary{cursor:pointer;list-style:none;padding:12px 14px;font-weight:800;color:#ffd260}
.btc-shotlab-shell .sl-player-tools>summary::-webkit-details-marker,.btc-shotlab-shell .sl-advanced-shot>summary::-webkit-details-marker{display:none}
.btc-shotlab-shell .sl-player-tools>summary:before,.btc-shotlab-shell .sl-advanced-shot>summary:before{content:'▸ ';color:#ffd33d}
.btc-shotlab-shell .sl-player-tools[open]>summary:before,.btc-shotlab-shell .sl-advanced-shot[open]>summary:before{content:'▾ '}
.btc-shotlab-shell .sl-player-tools>[data-guides]{padding:0 10px 10px}
.btc-shotlab-shell .sl-advanced-shot{margin-top:12px;border:1px solid #35536a;border-radius:12px;background:#0c1d2d;overflow:hidden}
.btc-shotlab-shell .sl-advanced-shot-body{padding:0 12px 12px}

/* Standard: player-first progressive disclosure. */
.btc-shotlab-shell.sl-ux-standard .sl-guide-diagnostic{display:none!important}
.btc-shotlab-shell.sl-ux-standard .sl-speed-diagnostic,
.btc-shotlab-shell.sl-ux-standard .sl-speed-technical-value{display:none!important}
.btc-shotlab-shell.sl-ux-standard .sl-speed-distance>label{display:none}
.btc-shotlab-shell.sl-ux-standard .sl-speed-distance>input[type="range"]{display:none}
.btc-shotlab-shell.sl-ux-standard .sl-speed-distance .sl-inline-values{display:block;margin:0 0 8px;color:#a9bfd1;font-size:13px}
.btc-shotlab-shell.sl-ux-standard .sl-speed-distance .sl-inline-values span{display:block}
.btc-shotlab-shell.sl-ux-standard .sl-r65-expert{display:none!important}
.btc-shotlab-shell.sl-ux-standard .sl-workflow-section{display:none!important}
.btc-shotlab-shell.sl-ux-standard .sl-r65-grip{margin-top:10px;padding:10px 12px;border:1px solid #29465e;border-radius:10px}
.btc-shotlab-shell.sl-ux-standard .sl-r65-grip>label{font-size:13px}
.btc-shotlab-shell.sl-ux-standard .sl-control-section>h3{font-size:13px;color:#a9bfd1;letter-spacing:.09em}
.btc-shotlab-shell.sl-ux-standard [data-dock-target="physics"]{display:none!important}
.btc-shotlab-shell.sl-ux-standard .sl-r6824-dock-nav{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.btc-shotlab-shell.sl-ux-standard .sl-r6824-dock-nav [data-dock-target="route"]::after{content:''}

/* Standard desktop keeps the table dominant. */
@media(min-width:901px){
 .btc-shotlab-shell.sl-ux-standard .sl-main{grid-template-columns:minmax(170px,210px) minmax(0,1fr) minmax(300px,350px)!important}
}

/* Mobile/tablet: table first, shot controls directly below, authoring tools last. No side-by-side docks. */
@media(max-width:900px){
 .btc-shotlab-shell .sl-main{display:flex!important;flex-direction:column!important}
 .btc-shotlab-shell .sl-main>.sl-stage-wrap{order:0!important;width:100%!important;max-width:100%!important;padding:6px!important}
 .btc-shotlab-shell .sl-main>.sl-panel.right{order:1!important;width:100%!important;max-width:100%!important;position:static!important;max-height:none!important;padding:10px 12px!important;border-left:0!important}
 .btc-shotlab-shell .sl-main>.sl-panel:not(.right){order:2!important;width:100%!important;max-width:100%!important;position:static!important;max-height:none!important;overflow:visible!important}
 .btc-shotlab-shell .sl-stage{width:100%!important;max-width:720px!important;margin:0 auto}
 .btc-shotlab-shell .sl-r6824-dock-nav{position:sticky!important;top:0;z-index:30;background:#0b1c2b;padding:6px 0;gap:5px}
 .btc-shotlab-shell .sl-control-panel .sl-inline-fields{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .btc-shotlab-shell .sl-r38-perspective-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .btc-shotlab-shell .sl-r66-scene{min-height:220px}
}
@media(max-width:560px){
 .btc-shotlab-shell .sl-ux-preview{padding:8px;gap:6px}
 .btc-shotlab-shell .sl-ux-preview strong{width:100%}
 .btc-shotlab-shell .sl-ux-preview button{flex:1 1 30%;padding:8px 5px;font-size:11px}
 .btc-shotlab-shell .sl-topbar{padding:9px 10px}
 .btc-shotlab-shell .sl-brand{flex-wrap:wrap}
 .btc-shotlab-shell .sl-badge{font-size:9px}
 .btc-shotlab-shell .sl-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
 .btc-shotlab-shell .sl-actions .sl-status,.btc-shotlab-shell .sl-actions .sl-lesson-context,.btc-shotlab-shell .sl-actions .sl-dirty-state{grid-column:1/-1}
 .btc-shotlab-shell .sl-r6824-dock-nav button{font-size:11px!important;padding:10px 3px!important}
 .btc-shotlab-shell .sl-control-panel .sl-inline-fields{grid-template-columns:1fr!important}
 .btc-shotlab-shell .sl-control-section{padding-left:8px!important;padding-right:8px!important}
 .btc-shotlab-shell .sl-r38-perspective-cards button{padding:5px!important;font-size:11px}
 .btc-shotlab-shell .sl-r66-scene{min-height:190px!important;height:auto!important;aspect-ratio:4/3}
 .btc-shotlab-shell .sl-contact-stage{transform-origin:top center}
 .btc-shotlab-shell .sl-r65-zone{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px}
 .btc-shotlab-shell .sl-r65-zone button{padding:6px!important;font-size:11px!important}
 .btc-shotlab-shell .sl-toolgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
}


/* R6.8.2.5-R3.22.1-R1 – Forced Mobile Layout Authority & Responsive Reflow Binding.
   Presentation only. The admin test route uses the same structural order as <=900px
   and constrains the preview to a phone-class viewport without touching scene/physics. */
.btc-shotlab-shell.sl-force-mobile{max-width:560px!important;margin-left:auto!important;margin-right:auto!important;overflow-x:hidden!important}
.btc-shotlab-shell.sl-force-mobile .sl-app{min-width:0!important;width:100%!important;overflow-x:hidden!important}
.btc-shotlab-shell.sl-force-mobile .sl-main{display:flex!important;flex-direction:column!important;grid-template-columns:none!important;overflow:visible!important;min-width:0!important}
.btc-shotlab-shell.sl-force-mobile .sl-main>.sl-stage-wrap{order:0!important;width:100%!important;max-width:100%!important;min-width:0!important;padding:6px!important;overflow:hidden!important}
.btc-shotlab-shell.sl-force-mobile .sl-main>.sl-panel.right{order:1!important;width:100%!important;max-width:100%!important;min-width:0!important;position:static!important;max-height:none!important;padding:10px 12px!important;border-left:0!important;border-top:1px solid #263d54!important;overflow:visible!important}
.btc-shotlab-shell.sl-force-mobile .sl-main>.sl-panel:not(.right){order:2!important;width:100%!important;max-width:100%!important;min-width:0!important;position:static!important;max-height:none!important;border-top:1px solid #263d54!important;overflow:visible!important}
.btc-shotlab-shell.sl-force-mobile .sl-stage{width:100%!important;max-width:100%!important;margin:0 auto!important}
.btc-shotlab-shell.sl-force-mobile .sl-ux-preview{position:sticky!important;top:0!important;z-index:60!important;padding:8px!important;gap:6px!important;flex-wrap:wrap!important}
.btc-shotlab-shell.sl-force-mobile .sl-ux-preview strong{width:100%!important}
.btc-shotlab-shell.sl-force-mobile .sl-ux-preview button{flex:1 1 30%!important;padding:8px 5px!important;font-size:11px!important}
.btc-shotlab-shell.sl-force-mobile .sl-topbar{padding:9px 10px!important;display:block!important}
.btc-shotlab-shell.sl-force-mobile .sl-brand{flex-wrap:wrap!important;margin-bottom:8px!important}
.btc-shotlab-shell.sl-force-mobile .sl-badge{font-size:9px!important}
.btc-shotlab-shell.sl-force-mobile .sl-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
.btc-shotlab-shell.sl-force-mobile .sl-actions .sl-status,.btc-shotlab-shell.sl-force-mobile .sl-actions .sl-lesson-context,.btc-shotlab-shell.sl-force-mobile .sl-actions .sl-dirty-state{grid-column:1/-1!important}
.btc-shotlab-shell.sl-force-mobile .sl-r6824-dock-nav{position:sticky!important;top:0!important;z-index:30!important;background:#0b1c2b!important;padding:6px 0!important;gap:5px!important}
.btc-shotlab-shell.sl-force-mobile .sl-r6824-dock-nav button{font-size:11px!important;padding:10px 3px!important}
.btc-shotlab-shell.sl-force-mobile .sl-control-panel .sl-inline-fields{grid-template-columns:1fr!important}
.btc-shotlab-shell.sl-force-mobile .sl-control-section{padding-left:8px!important;padding-right:8px!important}
.btc-shotlab-shell.sl-force-mobile .sl-r38-perspective-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.btc-shotlab-shell.sl-force-mobile .sl-r38-perspective-cards button{padding:5px!important;font-size:11px!important}
.btc-shotlab-shell.sl-force-mobile .sl-r66-scene{min-height:190px!important;height:auto!important;aspect-ratio:4/3!important}
.btc-shotlab-shell.sl-force-mobile .sl-r65-zone{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}
.btc-shotlab-shell.sl-force-mobile .sl-r65-zone button{padding:6px!important;font-size:11px!important}
.btc-shotlab-shell.sl-force-mobile .sl-toolgrid{grid-template-columns:repeat(2,minmax(0,1fr))!important}

/* R6.8.2.5-R3.22.2 – Mobile Workflow Tabs, Compact Player Header & Progressive Disclosure UX.
   Presentation/interaction orchestration only. Physics, scene geometry, Ghostball, ECP and solver authority remain untouched. */
.btc-shotlab-shell .sl-mobile-authoring>summary{display:none}
.btc-shotlab-shell .sl-mobile-authoring-body{display:block}

@media(max-width:900px){
 .btc-shotlab-shell.sl-ux-standard .sl-topbar{padding:8px 10px!important}
 .btc-shotlab-shell.sl-ux-standard .sl-brand{margin-bottom:6px!important;gap:5px!important}
 .btc-shotlab-shell.sl-ux-standard .sl-brand .sl-badge:nth-of-type(1){display:none!important}
 .btc-shotlab-shell.sl-ux-standard .sl-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .btc-shotlab-shell.sl-ux-standard .sl-actions [data-act="undo"],
 .btc-shotlab-shell.sl-ux-standard .sl-actions [data-act="redo"],
 .btc-shotlab-shell.sl-ux-standard .sl-actions [data-act="duplicate"],
 .btc-shotlab-shell.sl-ux-standard .sl-actions [data-act="manage"]{display:none!important}
 .btc-shotlab-shell.sl-ux-standard .sl-actions [data-act="new"],
 .btc-shotlab-shell.sl-ux-standard .sl-actions [data-act="import-btc"]{display:block!important}
 .btc-shotlab-shell.sl-ux-standard .sl-actions .sl-status{display:none!important}
 .btc-shotlab-shell.sl-ux-standard .sl-actions .sl-lesson-context,
 .btc-shotlab-shell.sl-ux-standard .sl-actions .sl-dirty-state{font-size:10px!important;margin:0!important}

 .btc-shotlab-shell.sl-ux-standard .sl-r6824-dock-nav{position:sticky!important;top:0!important;z-index:45!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;background:#0b1c2b!important;border-bottom:1px solid #29465e!important;padding:7px 0!important}
 .btc-shotlab-shell.sl-ux-standard .sl-r6824-dock-nav [data-dock-target="physics"]{display:none!important}
 .btc-shotlab-shell.sl-ux-standard .sl-r6824-dock-nav button.is-active{border-color:#24d6d0!important;box-shadow:inset 0 -3px 0 #ffd33d!important;background:#17344d!important}

 /* Active mobile phase: one workflow surface at a time. */
 .btc-shotlab-shell.sl-ux-standard[data-mobile-dock] .sl-control-panel>[data-dock-section]{display:none!important}
 .btc-shotlab-shell.sl-ux-standard[data-mobile-dock="route"] .sl-control-panel>[data-dock-section="route"],
 .btc-shotlab-shell.sl-ux-standard[data-mobile-dock="shot"] .sl-control-panel>[data-dock-section="shot"],
 .btc-shotlab-shell.sl-ux-standard[data-mobile-dock="speed"] .sl-control-panel>[data-dock-section="speed"],
 .btc-shotlab-shell.sl-ux-standard[data-mobile-dock="lesson"] .sl-control-panel>[data-dock-section="lesson"]{display:block!important}
 .btc-shotlab-shell.sl-ux-standard[data-mobile-dock="route"] .sl-table-conditions,
 .btc-shotlab-shell.sl-ux-standard[data-mobile-dock="speed"] .sl-table-conditions{display:block!important}
 .btc-shotlab-shell.sl-ux-standard .sl-workflow-section,
 .btc-shotlab-shell.sl-ux-standard .sl-tech-details{display:none!important}

 .btc-shotlab-shell .sl-mobile-authoring{border:0!important;background:transparent!important;margin:0!important}
 .btc-shotlab-shell .sl-mobile-authoring>summary{display:block!important;cursor:pointer;list-style:none;padding:14px 16px;font-weight:800;color:#ffd260;background:#10253a;border:1px solid #35536a;border-radius:12px;margin:10px 12px}
 .btc-shotlab-shell .sl-mobile-authoring>summary::-webkit-details-marker{display:none}
 .btc-shotlab-shell .sl-mobile-authoring>summary:before{content:'▸ ';color:#ffd33d}
 .btc-shotlab-shell .sl-mobile-authoring[open]>summary:before{content:'▾ '}
 .btc-shotlab-shell .sl-mobile-authoring-body{padding:0 12px 12px}
 .btc-shotlab-shell .sl-authoring-panel{padding:0!important;border-top:1px solid #263d54!important}
}

/* Forced desktop mobile preview must obey the exact same UX rules as the real breakpoint. */
.btc-shotlab-shell.sl-force-mobile.sl-ux-standard .sl-topbar{padding:8px 10px!important}
.btc-shotlab-shell.sl-force-mobile.sl-ux-standard .sl-brand .sl-badge:nth-of-type(1){display:none!important}
.btc-shotlab-shell.sl-force-mobile.sl-ux-standard .sl-actions [data-act="undo"],
.btc-shotlab-shell.sl-force-mobile.sl-ux-standard .sl-actions [data-act="redo"],
.btc-shotlab-shell.sl-force-mobile.sl-ux-standard .sl-actions [data-act="duplicate"],
.btc-shotlab-shell.sl-force-mobile.sl-ux-standard .sl-actions [data-act="manage"]{display:none!important}
.btc-shotlab-shell.sl-force-mobile.sl-ux-standard .sl-actions [data-act="new"],
.btc-shotlab-shell.sl-force-mobile.sl-ux-standard .sl-actions [data-act="import-btc"]{display:block!important}
.btc-shotlab-shell.sl-force-mobile.sl-ux-standard .sl-actions .sl-status{display:none!important}
.btc-shotlab-shell.sl-force-mobile.sl-ux-standard .sl-r6824-dock-nav{position:sticky!important;top:0!important;z-index:45!important;grid-template-columns:repeat(4,minmax(0,1fr))!important}
.btc-shotlab-shell.sl-force-mobile.sl-ux-standard[data-mobile-dock] .sl-control-panel>[data-dock-section]{display:none!important}
.btc-shotlab-shell.sl-force-mobile.sl-ux-standard[data-mobile-dock="route"] .sl-control-panel>[data-dock-section="route"],
.btc-shotlab-shell.sl-force-mobile.sl-ux-standard[data-mobile-dock="shot"] .sl-control-panel>[data-dock-section="shot"],
.btc-shotlab-shell.sl-force-mobile.sl-ux-standard[data-mobile-dock="speed"] .sl-control-panel>[data-dock-section="speed"],
.btc-shotlab-shell.sl-force-mobile.sl-ux-standard[data-mobile-dock="lesson"] .sl-control-panel>[data-dock-section="lesson"]{display:block!important}
.btc-shotlab-shell.sl-force-mobile.sl-ux-standard[data-mobile-dock="route"] .sl-table-conditions,
.btc-shotlab-shell.sl-force-mobile.sl-ux-standard[data-mobile-dock="speed"] .sl-table-conditions{display:block!important}
.btc-shotlab-shell.sl-force-mobile .sl-mobile-authoring{border:0!important;background:transparent!important;margin:0!important}
.btc-shotlab-shell.sl-force-mobile .sl-mobile-authoring>summary{display:block!important;cursor:pointer;list-style:none;padding:14px 16px;font-weight:800;color:#ffd260;background:#10253a;border:1px solid #35536a;border-radius:12px;margin:10px 12px}
.btc-shotlab-shell.sl-force-mobile .sl-mobile-authoring>summary:before{content:'▸ ';color:#ffd33d}
.btc-shotlab-shell.sl-force-mobile .sl-mobile-authoring[open]>summary:before{content:'▾ '}
.btc-shotlab-shell.sl-force-mobile .sl-mobile-authoring-body{padding:0 12px 12px}

/* R6.8.2.5-R3.22.2-R1 – Mobile Content Height Collapse, Table Viewport Calibration & Sticky Workflow Navigation Gate.
   Presentation only: collapses inactive/mobile wrappers to intrinsic height and scales the existing stage uniformly.
   No scene coordinates, SVG viewBox, Ghostball, physics, ECP or solver values are changed. */
@media(max-width:900px){
 .btc-shotlab-shell.sl-ux-standard,
 .btc-shotlab-shell.sl-ux-standard .sl-app,
 .btc-shotlab-shell.sl-ux-standard .sl-main{min-height:0!important;height:auto!important}
 .btc-shotlab-shell.sl-ux-standard .sl-main{align-items:flex-start!important}
 .btc-shotlab-shell.sl-ux-standard .sl-main>.sl-panel.right,
 .btc-shotlab-shell.sl-ux-standard .sl-main>.sl-panel:not(.right),
 .btc-shotlab-shell.sl-ux-standard .sl-control-panel,
 .btc-shotlab-shell.sl-ux-standard .sl-authoring-panel{min-height:0!important;height:auto!important;align-self:flex-start!important}
 .btc-shotlab-shell.sl-ux-standard[data-mobile-dock] .sl-control-panel>[data-dock-section]{min-height:0!important;height:auto!important}
 .btc-shotlab-shell.sl-ux-standard[data-mobile-dock] .sl-control-panel>[data-dock-section][style*="display: none"]{min-height:0!important;height:0!important;margin:0!important;padding:0!important;border:0!important;overflow:hidden!important}
 .btc-shotlab-shell.sl-ux-standard .sl-stage-wrap{min-height:0!important;height:auto!important;align-items:flex-start!important;padding:6px!important}
 .btc-shotlab-shell.sl-ux-standard .sl-r6824-dock-nav{position:sticky!important;top:0!important;z-index:70!important;margin:0!important;padding:8px 0!important;background:#0b1c2b!important;box-shadow:0 8px 16px rgba(4,13,22,.28)}
 .btc-shotlab-shell.sl-ux-standard .sl-control-panel>[data-dock-section]{scroll-margin-top:72px!important}
 .btc-shotlab-shell.sl-ux-standard .sl-mobile-authoring,
 .btc-shotlab-shell.sl-ux-standard .sl-mobile-authoring-body{min-height:0!important;height:auto!important}
}

/* Desktop browser mobile-test route: same intrinsic-height and viewport rules as a phone. */
.btc-shotlab-shell.sl-force-mobile.sl-ux-standard,
.btc-shotlab-shell.sl-force-mobile.sl-ux-standard .sl-app,
.btc-shotlab-shell.sl-force-mobile.sl-ux-standard .sl-main{min-height:0!important;height:auto!important}
.btc-shotlab-shell.sl-force-mobile.sl-ux-standard .sl-main{align-items:flex-start!important}
.btc-shotlab-shell.sl-force-mobile.sl-ux-standard .sl-main>.sl-panel.right,
.btc-shotlab-shell.sl-force-mobile.sl-ux-standard .sl-main>.sl-panel:not(.right),
.btc-shotlab-shell.sl-force-mobile.sl-ux-standard .sl-control-panel,
.btc-shotlab-shell.sl-force-mobile.sl-ux-standard .sl-authoring-panel{min-height:0!important;height:auto!important;align-self:flex-start!important}
.btc-shotlab-shell.sl-force-mobile.sl-ux-standard .sl-stage-wrap{min-height:0!important;height:auto!important;align-items:flex-start!important}
.btc-shotlab-shell.sl-force-mobile.sl-ux-standard .sl-r6824-dock-nav{position:sticky!important;top:0!important;z-index:70!important;margin:0!important;padding:8px 0!important;background:#0b1c2b!important;box-shadow:0 8px 16px rgba(4,13,22,.28)}
.btc-shotlab-shell.sl-force-mobile.sl-ux-standard .sl-control-panel>[data-dock-section]{min-height:0!important;height:auto!important;scroll-margin-top:72px!important}
.btc-shotlab-shell.sl-force-mobile.sl-ux-standard .sl-mobile-authoring,
.btc-shotlab-shell.sl-force-mobile.sl-ux-standard .sl-mobile-authoring-body{min-height:0!important;height:auto!important}

/* R6.8.2.5-R3.22.3 – Mobile Table Focus, Compact Shot Controls & Sticky Workflow Runtime.
   Presentation/interaction only. Native table renderer, scene coordinates, physics, Ghostball,
   ECP and solver authority remain unchanged. */
.btc-shotlab-shell .sl-mobile-table-focus{display:none}
@media(max-width:900px){
 /* Workflow navigation stays available while a phase is being edited. */
 .btc-shotlab-shell.sl-ux-standard .sl-r6824-dock-nav{position:sticky!important;top:0!important;z-index:90!important}
 /* Player Standard: primary shot controls first; coaching geometry is progressive detail. */
 .btc-shotlab-shell.sl-ux-standard[data-mobile-dock="shot"] .sl-r66-example,
 .btc-shotlab-shell.sl-ux-standard[data-mobile-dock="shot"] .sl-contact-readout,
 .btc-shotlab-shell.sl-ux-standard[data-mobile-dock="shot"] .sl-elevation-control>span,
 .btc-shotlab-shell.sl-ux-standard[data-mobile-dock="shot"] .sl-elevation-control>small{display:none!important}
 .btc-shotlab-shell.sl-ux-standard[data-mobile-dock="shot"] .sl-r66-contact-details{margin-top:10px!important}
 .btc-shotlab-shell.sl-ux-standard[data-mobile-dock="shot"] .sl-elevation-control{margin-top:10px!important;padding:10px!important;border:1px solid #35536a!important;border-radius:12px!important}
 .btc-shotlab-shell.sl-ux-standard[data-mobile-dock="shot"] .sl-elevation-control>label{cursor:pointer}
 .btc-shotlab-shell.sl-ux-standard[data-mobile-dock="shot"] .sl-r65-zone,
 .btc-shotlab-shell.sl-ux-standard[data-mobile-dock="shot"] .sl-r65-grip{display:none!important}
 .btc-shotlab-shell.sl-ux-standard[data-mobile-dock="shot"] .sl-cue-presets{margin-top:10px!important}
}
/* Forced mobile preview uses the identical phone presentation contract. */
.btc-shotlab-shell.sl-force-mobile.sl-ux-standard .sl-r6824-dock-nav{position:sticky!important;top:0!important;z-index:90!important}
.btc-shotlab-shell.sl-force-mobile.sl-ux-standard[data-mobile-dock="shot"] .sl-r66-example,
.btc-shotlab-shell.sl-force-mobile.sl-ux-standard[data-mobile-dock="shot"] .sl-contact-readout,
.btc-shotlab-shell.sl-force-mobile.sl-ux-standard[data-mobile-dock="shot"] .sl-elevation-control>span,
.btc-shotlab-shell.sl-force-mobile.sl-ux-standard[data-mobile-dock="shot"] .sl-elevation-control>small,
.btc-shotlab-shell.sl-force-mobile.sl-ux-standard[data-mobile-dock="shot"] .sl-r65-zone,
.btc-shotlab-shell.sl-force-mobile.sl-ux-standard[data-mobile-dock="shot"] .sl-r65-grip{display:none!important}

/* R6.8.2.5-R3.22.3-R2.5.3 – Pro Native Table Surface Adoption for Standard.
   GOLDEN MOBILE TABLE RULE: entitlement never owns geometry. Standard, Pro and Diagnostic use
   the identical native stage host, workspace sizing and proportional table surface. */
@media(max-width:900px){
  .btc-shotlab-shell .sl-main{display:flex!important;flex-direction:column!important;grid-template-columns:none!important;width:100%!important;max-width:100%!important;min-width:0!important}
  .btc-shotlab-shell .sl-main>.sl-stage-wrap{order:0!important;box-sizing:border-box!important;align-self:stretch!important;width:100%!important;inline-size:100%!important;max-width:100%!important;min-width:0!important;padding:4px!important;overflow-x:hidden!important;justify-content:center!important}
  .btc-shotlab-shell .sl-calibration-workspace:not(.is-calibrating){display:block!important;box-sizing:border-box!important;width:100%!important;inline-size:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0!important}
  .btc-shotlab-shell .sl-calibration-workspace:not(.is-calibrating)>.sl-stage{display:block!important;box-sizing:border-box!important;width:100%!important;inline-size:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;max-height:none!important;flex:none!important;margin:0!important;overflow:hidden!important}
  .btc-shotlab-shell .sl-svg{touch-action:none!important}
  .btc-shotlab-shell .sl-mobile-touch-target{pointer-events:all!important;cursor:grab}
}
/* Forced mobile preview uses the exact same native surface owner as real mobile. */
.btc-shotlab-shell.sl-force-mobile .sl-main{display:flex!important;flex-direction:column!important;grid-template-columns:none!important;width:100%!important;max-width:100%!important;min-width:0!important}
.btc-shotlab-shell.sl-force-mobile .sl-main>.sl-stage-wrap{order:0!important;box-sizing:border-box!important;align-self:stretch!important;width:100%!important;inline-size:100%!important;max-width:100%!important;min-width:0!important;padding:4px!important;overflow-x:hidden!important;justify-content:center!important}
.btc-shotlab-shell.sl-force-mobile .sl-calibration-workspace:not(.is-calibrating){display:block!important;box-sizing:border-box!important;width:100%!important;inline-size:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0!important}
.btc-shotlab-shell.sl-force-mobile .sl-calibration-workspace:not(.is-calibrating)>.sl-stage{display:block!important;box-sizing:border-box!important;width:100%!important;inline-size:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;max-height:none!important;flex:none!important;margin:0!important;overflow:hidden!important}

/* R6.8.2.5-R3.22.3-R2.5.4 – Single Native Table Authority for Standard, Pro & Diagnostic.
   Golden gate: entitlement profiles may change controls only. They may not own table host width,
   workspace width, native stage scale, aspect ratio, master image, SVG or touch geometry. */
@media(max-width:900px){
  .btc-shotlab-shell:is(.sl-ux-standard,.sl-ux-pro,.sl-ux-diagnostic) .sl-main>.sl-stage-wrap{
    align-self:stretch!important;width:100%!important;inline-size:100%!important;max-width:100%!important;min-width:0!important;padding:4px!important;margin:0!important;box-sizing:border-box!important;justify-content:center!important;overflow-x:hidden!important
  }
  .btc-shotlab-shell:is(.sl-ux-standard,.sl-ux-pro,.sl-ux-diagnostic) .sl-calibration-workspace:not(.is-calibrating){
    display:block!important;min-width:0!important;margin:0!important;padding:0!important;box-sizing:border-box!important
  }
  .btc-shotlab-shell:is(.sl-ux-standard,.sl-ux-pro,.sl-ux-diagnostic) .sl-calibration-workspace:not(.is-calibrating)>.sl-stage{
    display:block!important;min-width:0!important;height:auto!important;max-height:none!important;flex:none!important;margin:0!important;box-sizing:border-box!important;overflow:hidden!important
  }
}
.btc-shotlab-shell.sl-force-mobile:is(.sl-ux-standard,.sl-ux-pro,.sl-ux-diagnostic) .sl-main>.sl-stage-wrap{
  align-self:stretch!important;width:100%!important;inline-size:100%!important;max-width:100%!important;min-width:0!important;padding:4px!important;margin:0!important;box-sizing:border-box!important;justify-content:center!important;overflow-x:hidden!important
}
.btc-shotlab-shell.sl-force-mobile:is(.sl-ux-standard,.sl-ux-pro,.sl-ux-diagnostic) .sl-calibration-workspace:not(.is-calibrating){display:block!important;min-width:0!important;margin:0!important;padding:0!important;box-sizing:border-box!important}
.btc-shotlab-shell.sl-force-mobile:is(.sl-ux-standard,.sl-ux-pro,.sl-ux-diagnostic) .sl-calibration-workspace:not(.is-calibrating)>.sl-stage{display:block!important;min-width:0!important;height:auto!important;max-height:none!important;flex:none!important;margin:0!important;box-sizing:border-box!important;overflow:hidden!important}

/* R3.22.4-R2 – mobile workflow only; native table dimensions untouched */
.sl-mobile-ghost-tools{display:none}
@media(max-width:900px){
 .btc-shotlab-shell .sl-mobile-ghost-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:10px 8px;background:#0b1d2e}
 .btc-shotlab-shell .sl-mobile-ghost-tools button{min-height:44px;padding:7px 3px;border-radius:10px;border:1px solid #45677d;background:#19334a;color:#f2f6fc;font-weight:700;font-size:12px;white-space:normal}
 .btc-shotlab-shell .sl-mobile-ghost-tools button[aria-pressed=true]{border:2px solid #38d6d1;color:#ffd45a;background:#24445a}
 .btc-shotlab-shell .sl-mobile-ghost-tools small{grid-column:1/-1;color:#a9c3d5;line-height:1.4}
 .btc-shotlab-shell .sl-control-panel>[data-dock-section],.btc-shotlab-shell .sl-mobile-authoring-body{min-height:0!important;height:auto!important}
 .btc-shotlab-shell .sl-control-panel .sl-field{margin-bottom:10px}
}
.btc-shotlab-shell.sl-force-mobile .sl-mobile-ghost-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:10px 8px;background:#0b1d2e}
.btc-shotlab-shell.sl-force-mobile .sl-mobile-ghost-tools button{min-height:44px;border:1px solid #45677d;border-radius:10px;background:#19334a;color:white;font-weight:700}
.btc-shotlab-shell.sl-force-mobile .sl-mobile-ghost-tools button[aria-pressed=true]{border:2px solid #38d6d1;color:#ffd45a}
.btc-shotlab-shell.sl-force-mobile .sl-mobile-ghost-tools small{grid-column:1/-1;color:#a9c3d5}

/* R3.22.4-R2.1: vertical scrolling on empty felt, native ball drag on targets */
@media(max-width:900px){
 .btc-shotlab-shell .sl-svg{touch-action:pan-y!important}
 .btc-shotlab-shell .sl-svg [data-id],.btc-shotlab-shell .sl-svg [data-kind="ghost"],.btc-shotlab-shell .sl-svg [data-kind="ghost2"],.btc-shotlab-shell .sl-svg [data-kind="guide-handle"]{touch-action:none!important}
 .sl-mobile-hide-utility-row{display:none!important}
 .btc-shotlab-shell .sl-control-panel,.btc-shotlab-shell .sl-mobile-authoring-body{align-content:start!important;justify-content:start!important;gap:8px!important}
 .btc-shotlab-shell .sl-control-panel>[data-dock-section]{min-height:0!important;height:auto!important;margin-block:0!important;padding-block:8px!important}
 .btc-shotlab-shell .sl-mobile-authoring>summary{margin-block:5px!important;padding-block:10px!important}
 .btc-shotlab-shell .sl-mobile-authoring-body{padding-bottom:6px!important}
}

/* R3.22.4-R2.2 – native mobile flow height ownership; no table/physics changes. */
@media(max-width:900px){
 .btc-shotlab-shell{min-height:0!important;height:auto!important}
 .btc-shotlab-shell .sl-app{display:flex!important;flex-direction:column!important;min-height:0!important;height:auto!important;grid-template-rows:none!important}
 .btc-shotlab-shell .sl-main{display:flex!important;flex-direction:column!important;flex:0 0 auto!important;min-height:0!important;height:auto!important;align-items:stretch!important;gap:0!important}
 .btc-shotlab-shell .sl-main>.sl-panel.right.sl-control-panel{display:block!important;flex:0 0 auto!important;align-self:stretch!important;min-height:0!important;height:auto!important;max-height:none!important;overflow:visible!important;align-content:normal!important;justify-content:normal!important;padding:8px 10px!important}
 .btc-shotlab-shell .sl-main>.sl-panel.sl-authoring-panel{display:block!important;flex:0 0 auto!important;align-self:stretch!important;min-height:0!important;height:auto!important;max-height:none!important;padding:8px 10px!important}
 .btc-shotlab-shell .sl-control-panel>[data-dock-section]{min-height:0!important;height:auto!important;max-height:none!important;margin:0!important;padding:8px 0!important;align-self:auto!important}
 .btc-shotlab-shell .sl-control-panel .sl-control-section{min-height:0!important;height:auto!important;margin-bottom:6px!important;padding-bottom:8px!important}
 .btc-shotlab-shell .sl-control-panel .sl-table-conditions{min-height:0!important;height:auto!important;margin:8px 0!important}
 .btc-shotlab-shell .sl-mobile-authoring{min-height:0!important;height:auto!important;margin:0!important;padding:0!important}
 .btc-shotlab-shell .sl-mobile-authoring>summary{margin:6px 0!important;padding:10px 12px!important}
 .btc-shotlab-shell .sl-mobile-authoring-body{min-height:0!important;height:auto!important;padding:6px 0!important}
}
.btc-shotlab-shell.sl-force-mobile{min-height:0!important;height:auto!important}
.btc-shotlab-shell.sl-force-mobile .sl-app{display:flex!important;flex-direction:column!important;min-height:0!important;height:auto!important;grid-template-rows:none!important}
.btc-shotlab-shell.sl-force-mobile .sl-main{display:flex!important;flex-direction:column!important;min-height:0!important;height:auto!important;align-items:stretch!important;gap:0!important}
.btc-shotlab-shell.sl-force-mobile .sl-main>.sl-panel.right.sl-control-panel,.btc-shotlab-shell.sl-force-mobile .sl-main>.sl-panel.sl-authoring-panel{display:block!important;flex:0 0 auto!important;align-self:stretch!important;min-height:0!important;height:auto!important;max-height:none!important;overflow:visible!important}
.btc-shotlab-shell.sl-force-mobile .sl-control-panel>[data-dock-section]{min-height:0!important;height:auto!important;max-height:none!important;margin:0!important;padding:8px 0!important}
.btc-shotlab-shell.sl-force-mobile .sl-mobile-authoring>summary{margin:6px 0!important;padding:10px 12px!important}

/* R3.22.4-R2.3: original authoring controls adjacent to the single native table. */
@media(max-width:900px){
 .btc-shotlab-shell .sl-mobile-ghost-tools .sl-mobile-native-tool-dock{grid-column:1/-1;min-width:0}
 .btc-shotlab-shell .sl-mobile-native-tool-dock .sl-toolgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
 .btc-shotlab-shell .sl-mobile-native-tool-dock .sl-tool{min-height:42px;padding:7px 5px;text-align:center;font-size:11px}
 .btc-shotlab-shell .sl-mobile-tool-heading{display:none!important}
 .btc-shotlab-shell .sl-control-panel,.btc-shotlab-shell .sl-authoring-panel{display:block!important;align-self:auto!important;align-content:start!important;justify-content:start!important;min-height:0!important;height:max-content!important;max-height:none!important;flex-grow:0!important;flex-shrink:0!important}
 .btc-shotlab-shell .sl-control-panel>[data-dock-section],.btc-shotlab-shell .sl-control-panel>.sl-progressive,.btc-shotlab-shell .sl-authoring-panel .sl-mobile-authoring,.btc-shotlab-shell .sl-mobile-authoring-body{align-self:auto!important;min-height:0!important;height:auto!important;max-height:none!important;flex:0 0 auto!important;margin-block:0 8px!important}
 .btc-shotlab-shell .sl-main>.sl-panel{padding-top:8px!important;padding-bottom:8px!important}
 .btc-shotlab-shell .sl-control-panel .sl-progressive-body{padding-bottom:8px!important}
}
.btc-shotlab-shell.sl-force-mobile .sl-mobile-ghost-tools .sl-mobile-native-tool-dock{grid-column:1/-1}
.btc-shotlab-shell.sl-force-mobile .sl-mobile-native-tool-dock .sl-toolgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.btc-shotlab-shell.sl-force-mobile .sl-mobile-native-tool-dock .sl-tool{min-height:42px;padding:7px 5px;text-align:center;font-size:11px}
.btc-shotlab-shell.sl-force-mobile .sl-mobile-tool-heading{display:none!important}
.btc-shotlab-shell.sl-force-mobile .sl-control-panel,.btc-shotlab-shell.sl-force-mobile .sl-authoring-panel{min-height:0!important;height:max-content!important;max-height:none!important;align-content:start!important;flex-grow:0!important}

/* R3.22.4-R2.3.1 – golden mobile dock and content-height closure.
   No table, physics or renderer properties are modified. */
@media(max-width:900px){
 .btc-shotlab-shell .sl-mobile-ghost-tools{
   display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
   gap:6px!important;padding:8px!important;align-content:start!important;
   min-height:0!important;height:auto!important;
 }
 .btc-shotlab-shell .sl-mobile-ghost-tools>[data-ghost-help]{grid-column:1/-1;margin:0!important;line-height:1.25}
 .btc-shotlab-shell .sl-mobile-native-tool-dock{grid-column:1/-1;min-height:0!important;
   border-top:1px solid #41647a;margin-top:8px;padding-top:10px}
 .btc-shotlab-shell .sl-mobile-native-tool-dock .sl-toolgrid{
   display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
   gap:6px!important;margin:0!important;padding:0!important}
 .btc-shotlab-shell .sl-mobile-native-tool-dock .sl-tool{min-height:44px!important;margin:0!important}
 .btc-shotlab-shell .sl-main{display:flex!important;flex-direction:column!important;
   align-items:stretch!important;justify-content:flex-start!important;
   align-content:start!important;grid-template-rows:none!important;
   min-height:0!important;height:auto!important;gap:0!important}
 .btc-shotlab-shell .sl-main>.sl-control-panel,
 .btc-shotlab-shell .sl-main>.sl-authoring-panel{
   display:flex!important;flex-direction:column!important;justify-content:flex-start!important;
   align-content:start!important;align-items:stretch!important;
   flex:0 0 auto!important;min-height:0!important;height:auto!important;
   max-height:none!important;grid-template-rows:none!important;gap:0!important;
   overflow:visible!important;margin:0!important;padding:8px!important}
 .btc-shotlab-shell .sl-control-panel>.sl-r6824-dock-nav{flex:0 0 auto!important;margin:0 0 8px!important}
 .btc-shotlab-shell .sl-control-panel>[data-dock-section]{
   display:block;flex:0 0 auto!important;align-self:stretch!important;
   min-height:0!important;height:auto!important;max-height:none!important;
   margin:0!important;padding:6px 0!important;overflow:visible!important}
 .btc-shotlab-shell .sl-control-panel>[data-dock-section][hidden]{display:none!important}
 .btc-shotlab-shell .sl-control-panel .sl-progressive-body{min-height:0!important;height:auto!important;
   padding:6px 0!important;margin:0!important}
 .btc-shotlab-shell .sl-control-panel .sl-field{min-height:0!important;margin:0 0 8px!important}
 .btc-shotlab-shell .sl-control-panel .sl-table-conditions{margin:8px 0!important;padding:0!important}
 .btc-shotlab-shell .sl-mobile-authoring{min-height:0!important;height:auto!important;
   margin:0!important;padding:0!important}
 .btc-shotlab-shell .sl-mobile-authoring>summary{margin:0!important}
 .btc-shotlab-shell .sl-mobile-authoring-body{min-height:0!important;height:auto!important;
   padding:8px 0!important}
}
.btc-shotlab-shell.sl-force-mobile .sl-main{display:flex!important;flex-direction:column!important;min-height:0!important;height:auto!important;gap:0!important}
.btc-shotlab-shell.sl-force-mobile .sl-main>.sl-control-panel,
.btc-shotlab-shell.sl-force-mobile .sl-main>.sl-authoring-panel{display:flex!important;flex-direction:column!important;flex:0 0 auto!important;min-height:0!important;height:auto!important;grid-template-rows:none!important}
.btc-shotlab-shell.sl-force-mobile .sl-mobile-native-tool-dock{border-top:1px solid #41647a;margin-top:8px;padding-top:10px}

/* R3.22.4-R2.4 – ShotLab CI/CD: deep navy + billiard blue + cyan active + gold accent */
@media(max-width:900px){
 .btc-shotlab-shell .sl-mobile-ghost-tools{background:#0c2236!important;border:1px solid #284c67;border-radius:12px}
 .btc-shotlab-shell .sl-mobile-ghost-tools button,
 .btc-shotlab-shell .sl-mobile-native-tool-dock .sl-tool,
 .btc-shotlab-shell .sl-mobile-native-tool-dock .sl-mobile-dock-action{
  background:#1b405d!important;color:#f3f8ff!important;border:1px solid #356889!important;
  border-radius:9px!important;min-height:46px!important;font-size:12px!important;
  font-weight:700!important;white-space:normal!important;line-height:1.2!important;
  padding:8px 5px!important;touch-action:manipulation}
 .btc-shotlab-shell .sl-mobile-ghost-tools button[aria-pressed=true],
 .btc-shotlab-shell .sl-mobile-native-tool-dock .sl-tool.active{
  background:#145477!important;border:2px solid #34d6d3!important;color:#ffdb59!important}
 .btc-shotlab-shell .sl-mobile-native-tool-dock .sl-toolgrid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}
 .btc-shotlab-shell .sl-mobile-native-tool-dock .sl-mobile-tool-guidance{
  color:#bdd9e9;background:#102d43;border:1px solid #30546d;
  border-radius:8px;padding:7px 9px;margin-top:8px;font-size:12px;line-height:1.4}
 .btc-shotlab-shell .sl-mobile-authoring-body>.sl-wide[data-act="add"]{display:none!important}
}
.btc-shotlab-shell.sl-force-mobile .sl-mobile-native-tool-dock .sl-toolgrid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
.btc-shotlab-shell.sl-force-mobile .sl-mobile-native-tool-dock button{background:#1b405d!important;color:#f3f8ff!important;border:1px solid #356889!important;min-height:46px!important}
.btc-shotlab-shell.sl-force-mobile .sl-mobile-native-tool-dock .sl-tool.active{border:2px solid #34d6d3!important;color:#ffdb59!important}

/* R3.22.4-R2.5 – floating native cueball controls; ShotLab CI/CD */
.sl-r25-floating-cueball[hidden]{display:none!important}
.sl-r25-floating-cueball{display:none}
@media(max-width:900px){
 .sl-r25-floating-cueball{display:block;position:fixed;right:9px;bottom:calc(74px + env(safe-area-inset-bottom,0px));width:164px;z-index:1100;
  background:rgba(10,31,49,.96);border:1px solid #3b7898;border-radius:14px;box-shadow:0 9px 25px #0009;color:#eaf5ff;padding:6px;box-sizing:border-box}
 .sl-r25-float-toggle{width:100%;border:1px solid #347899;border-radius:8px;background:#164968;color:#ffdb60;font-size:12px;font-weight:800;padding:7px 5px;display:flex;justify-content:space-between}
 .sl-r25-floating-cueball.is-collapsed .sl-r25-float-body{display:none}
 .sl-r25-floating-cueball .sl-r66-contact-details{display:block!important;margin:4px 0!important;padding:0!important;border:0!important;background:transparent!important}
 .sl-r25-floating-cueball .sl-r66-contact-details>summary{display:none!important}
 .sl-r25-floating-cueball .sl-contact-stage{--sl-ball-size:122px;--sl-ball-left:3px;--sl-ball-top:3px;width:100%;height:134px!important;overflow:hidden!important;touch-action:none}
 .sl-r25-floating-cueball .sl-contact-stage .sl-cuetip{touch-action:none}
 .sl-r25-floating-cueball .sl-cue-assembly{pointer-events:none}
 .sl-r25-angle{margin:4px 0 0}
 .sl-r25-angle label{display:flex;justify-content:space-between;font-size:11px;font-weight:700;color:#c7dfea}
 .sl-r25-angle input{width:100%;height:26px;accent-color:#31cad2;touch-action:pan-x}
 .sl-r25-angle-shortcuts{display:grid;grid-template-columns:repeat(4,1fr);gap:3px}
 .sl-r25-angle-shortcuts button{background:#1c4561;border:1px solid #43718b;color:#f4f8fd;border-radius:6px;min-height:28px;font-size:11px}
}
.btc-shotlab-shell.sl-force-mobile~.sl-r25-floating-cueball{display:block}

/* R3.22.4-R2.6 – 30% translucent floating panel and visible elevation */
@media(max-width:900px){
 .sl-r25-floating-cueball{
   background:rgba(10,31,49,.70)!important;
   border-color:rgba(65,143,180,.78)!important;
   backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);
 }
 .sl-r25-floating-cueball .sl-r25-float-toggle{background:rgba(22,73,104,.80)!important}
 .sl-r25-floating-cueball .sl-contact-stage{background:rgba(11,38,57,.12)!important}
 .sl-r26-elevation-preview{
   position:relative;height:37px;margin:4px 0 6px;border-radius:7px;
   border:1px solid rgba(81,143,176,.7);background:rgba(12,35,52,.5);
   overflow:hidden;
 }
 .sl-r26-mini-ball{
   position:absolute;width:15px;height:15px;border-radius:50%;
   left:19px;bottom:5px;background:radial-gradient(circle at 35% 30%,#fff,#a7c6d6);
   box-shadow:0 0 0 1px #45718b;
 }
 .sl-r26-mini-cue{
   position:absolute;left:26px;bottom:13px;width:94px;height:6px;
   border:1px solid #82562c;border-radius:4px;
   background:linear-gradient(#f5d8a5,#b47b3c);
   transform-origin:0% 50%;transform:rotate(var(--sl-r26-angle,0deg));
   pointer-events:none;
 }
 .sl-r26-mini-angle{position:absolute;right:7px;bottom:5px;font-size:11px;
   color:#ffdb60;font-weight:800}
}
.btc-shotlab-shell.sl-force-mobile~.sl-r25-floating-cueball{background:rgba(10,31,49,.70)!important}

/* R3.22.4-R2.7: fixed mobile overlay opacity authority and pointer gesture */
.sl-r25-floating-cueball:not([hidden]){
 background:rgba(9,29,47,.70)!important;
 background-color:rgba(9,29,47,.70)!important;
 backdrop-filter:blur(3px)!important;-webkit-backdrop-filter:blur(3px)!important;
 box-shadow:0 5px 16px rgba(0,0,0,.22)!important;
}
.sl-r25-floating-cueball .sl-r25-float-body,
.sl-r25-floating-cueball .sl-r66-contact-details{
 background:transparent!important;
}
.sl-r25-floating-cueball [data-contact-stage],
.sl-r25-floating-cueball [data-cuetip]{touch-action:none!important}
.sl-r25-floating-cueball [data-contact-stage]{cursor:crosshair}

/* R2.8: root-owned native control, visibly translucent panel (30% transparency) */
.btc-shotlab-shell .sl-r25-floating-cueball:not([hidden]){
 background:rgba(9,29,47,.70)!important;background-color:rgba(9,29,47,.70)!important;
 backdrop-filter:blur(7px) saturate(115%)!important;
 -webkit-backdrop-filter:blur(7px) saturate(115%)!important;
 box-shadow:0 7px 18px rgba(0,0,0,.19)!important;
}
.btc-shotlab-shell .sl-r25-floating-cueball .sl-r25-float-body,
.btc-shotlab-shell .sl-r25-floating-cueball .sl-r66-contact-details,
.btc-shotlab-shell .sl-r25-floating-cueball .sl-contact-stage{
 background-color:transparent!important;
}
.btc-shotlab-shell .sl-r25-floating-cueball .sl-r25-float-toggle{
 background:rgba(22,73,104,.66)!important;
}
.btc-shotlab-shell .sl-r25-floating-cueball .sl-r26-elevation-preview{
 background:rgba(12,35,52,.38)!important;
}

/* R3.22.4-R2.9 – optical transparency authority: entire floating surface, not only its background. */
@media(max-width:900px){
 .btc-shotlab-shell .sl-r25-floating-cueball:not([hidden]),
 .sl-r25-floating-cueball:not([hidden]){
   opacity:.70!important;
   background:rgba(9,29,47,.70)!important;
   backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
   transition:opacity .16s ease!important;
 }
 .sl-r25-floating-cueball:focus-within{opacity:.92!important}
}
.btc-shotlab-shell.sl-force-mobile .sl-r25-floating-cueball:not([hidden]){opacity:.70!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}

/* R3.22.5-R1: native ball selection visibility only */
@media(max-width:900px){.btc-shotlab-shell .sl-ball .sl-r3251-active-ball{filter:drop-shadow(0 0 3px #34d6d3)}}
.btc-shotlab-shell.sl-force-mobile .sl-ball .sl-r3251-active-ball{filter:drop-shadow(0 0 3px #34d6d3)}

/* R3.22.5-R1.1 – native speed proxy, preserved R2.9 alpha */
.sl-r25-floating-cueball .sl-r325-speed{margin:7px 3px 3px;padding:6px 4px;border-top:1px solid rgba(130,194,217,.45)}
.sl-r25-floating-cueball .sl-r325-speed label{display:block;font-size:11px;font-weight:700;color:#e8f8ff}
.sl-r25-floating-cueball .sl-r325-speed output{color:#ffe078}
.sl-r25-floating-cueball .sl-r325-speed input{display:block;width:100%;margin:8px 0 3px;accent-color:#f4c956;touch-action:pan-y}

/* R3.22.5-R2.1 precision handles: prevent iOS pan on actual drag grips */
.btc-shotlab-shell .sl-svg .sl-r321-handle,.btc-shotlab-shell .sl-svg .sl-r321-handle *{touch-action:none!important;-webkit-user-select:none;user-select:none}

/* R3.22.5-R2.2: selected precision handles stay above scene and respond to touch */
.sl-r321-handle{touch-action:none!important;pointer-events:all!important}
.sl-r321-handle circle:first-child{touch-action:none!important}

/* R3.22.5-R2.4: explicit mobile target-zone creation and unambiguous selection */
.sl-r324-create-zone{background:#006e70!important;color:#fff!important;border:2px solid #00fff0!important;font-weight:800!important}
@media(min-width:901px){.sl-r324-create-zone{display:none!important}}
.btc-shotlab-shell .sl-r321-handle{touch-action:none!important}

/* R3-B – contextual mobile native tool dock; desktop unchanged */
@media(max-width:900px){
 .btc-shotlab-shell .sl-r3b-context-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin:6px 0 10px}
 .btc-shotlab-shell .sl-r3b-context-tabs button{min-height:44px;border-radius:9px;background:#183a55;color:#eef7fb;border:1px solid #41617a;font-size:12px;font-weight:700;padding:6px 2px;touch-action:manipulation}
 .btc-shotlab-shell .sl-r3b-context-tabs button[aria-pressed=true]{border:2px solid #38fff0;background:#145477;color:#fff}
 .btc-shotlab-shell .sl-mobile-native-tool-dock .sl-toolgrid button[hidden]{display:none!important}
}
.btc-shotlab-shell.sl-force-mobile .sl-r3b-context-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin:6px 0 10px}
.btc-shotlab-shell.sl-force-mobile .sl-mobile-native-tool-dock .sl-toolgrid button[hidden]{display:none!important}

/* R3.22.5-R3-B.1 – mobile test-page focus, scoped and reversible */
.sl-r3b1-exit{display:none}
@media(max-width:900px){
 body.sl-r3b1-test-focus #masthead,
 body.sl-r3b1-test-focus .site-header,
 body.sl-r3b1-test-focus header.wp-block-template-part,
 body.sl-r3b1-test-focus .elementor-location-header,
 body.sl-r3b1-test-focus #site-header{display:none!important}
 body.sl-r3b1-test-focus .btc-shotlab-shell .sl-r3b1-exit{display:inline-flex!important;align-items:center;min-height:36px;padding:4px 10px;margin:0 0 6px;border:1px solid #42647b;border-radius:8px;color:#d8f4fc;background:#12354a;font-size:12px;text-decoration:none}
 .btc-shotlab-shell .sl-mobile-ghost-tools{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px!important;padding:5px!important;margin:4px 0!important}
 .btc-shotlab-shell .sl-mobile-ghost-tools button{min-height:38px!important;padding:3px!important;font-size:11px!important}
 .btc-shotlab-shell .sl-mobile-ghost-tools small{grid-column:1/-1;font-size:10px;line-height:1.2}
 .btc-shotlab-shell .sl-r3b-context-tabs{gap:3px!important;margin:3px 0!important}
 .btc-shotlab-shell .sl-r3b-context-tabs button{min-height:40px!important;padding:3px 1px!important;font-size:11px!important}
 .btc-shotlab-shell .sl-mobile-native-tool-dock{margin-top:3px!important;padding-top:4px!important}
 .btc-shotlab-shell .sl-mobile-native-tool-dock .sl-toolgrid{gap:4px!important}
 .btc-shotlab-shell .sl-mobile-native-tool-dock .sl-toolgrid button{min-height:40px!important;padding:3px!important;font-size:11px!important}
 .btc-shotlab-shell .sl-mobile-native-tool-dock .sl-mobile-tool-guidance{font-size:10px!important;padding:4px!important;margin:3px 0!important}
 .btc-shotlab-shell .sl-r25-floating-cueball.is-collapsed{width:112px!important;right:7px!important;bottom:calc(8px + env(safe-area-inset-bottom,0px))!important}
 .btc-shotlab-shell .sl-r25-floating-cueball.is-collapsed .sl-r25-float-toggle{font-size:11px!important;padding:6px!important}
}

/* R3-B.2 – page-scoped mobile workspace; single native renderer and single native tool dock. */
@media(max-width:900px){
 body.sl-r3b2-test-workspace :is(#masthead,#site-header,.site-header,.site-branding,.main-header,.header-wrapper,.elementor-location-header,.ast-primary-header-bar,.ast-mobile-header-wrap,.wp-site-blocks>header,header.wp-block-template-part,.site-navigation,.main-navigation,#site-navigation,.primary-navigation,.mobile-navigation,.header-navigation,.navbar,.site-nav,.wp-block-navigation,.bag-header,.bag-topbar,.bag-subnav,.bag-utility-bar){display:none!important}
 body.sl-r3b2-test-workspace :is(.btc-bereiche,.btc-areas,.btc-areas-nav,.btc-section-nav,.bag-section-nav,.bag-navigation,.bag-menu,.btc-menu){display:none!important}
 body.sl-r3b2-test-workspace :is(.site-content,.content-area,.entry-content,.wp-site-blocks,main.site-main){padding-top:0!important;margin-top:0!important}
 body.sl-r3b2-test-workspace .btc-shotlab-shell{margin-top:0!important}
 body.sl-r3b2-test-workspace .btc-shotlab-shell .sl-r3b1-exit{display:inline-flex!important;min-height:28px!important;margin:0 0 3px!important;padding:2px 8px!important}
 body.sl-r3b2-test-workspace .btc-shotlab-shell .sl-app{padding-top:0!important;margin-top:0!important}
 body.sl-r3b2-test-workspace .btc-shotlab-shell .sl-topbar{padding:3px 6px!important;margin:0!important;min-height:0!important;gap:3px!important}
 body.sl-r3b2-test-workspace .btc-shotlab-shell .sl-topbar .sl-brand .sl-badge{display:none!important}
 body.sl-r3b2-test-workspace .btc-shotlab-shell .sl-topbar .sl-brand strong{font-size:12px!important}
 body.sl-r3b2-test-workspace .btc-shotlab-shell .sl-topbar .sl-actions{gap:3px!important}
 body.sl-r3b2-test-workspace .btc-shotlab-shell .sl-topbar .sl-actions .sl-btn{min-height:30px!important;padding:3px 7px!important;font-size:11px!important}
 body.sl-r3b2-test-workspace .btc-shotlab-shell .sl-main{display:flex!important;flex-direction:column!important;gap:0!important}
 body.sl-r3b2-test-workspace .btc-shotlab-shell .sl-main>.sl-stage-wrap{order:0!important;margin:0!important;padding:0!important}
 body.sl-r3b2-test-workspace .btc-shotlab-shell .sl-main>.sl-mobile-native-tool-dock{order:1!important;margin:0!important;padding:3px!important;border:0!important}
 body.sl-r3b2-test-workspace .btc-shotlab-shell .sl-main>.sl-mobile-ghost-tools{order:2!important;margin:0!important;padding:3px!important;border:0!important;gap:3px!important}
 body.sl-r3b2-test-workspace .btc-shotlab-shell .sl-main>.sl-authoring-panel{order:3!important;display:none!important}
 body.sl-r3b2-test-workspace .btc-shotlab-shell .sl-main>.sl-control-panel{order:4!important;padding:3px!important}
 body.sl-r3b2-test-workspace .btc-shotlab-shell .sl-r3b-context-tabs{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:3px!important;margin:0 0 3px!important}
 body.sl-r3b2-test-workspace .btc-shotlab-shell .sl-r3b-context-tabs button{min-height:36px!important;padding:3px 1px!important;font-size:11px!important}
 body.sl-r3b2-test-workspace .btc-shotlab-shell .sl-mobile-native-tool-dock .sl-toolgrid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:3px!important}
 body.sl-r3b2-test-workspace .btc-shotlab-shell .sl-mobile-native-tool-dock .sl-toolgrid button{min-height:36px!important;padding:3px!important}
 body.sl-r3b2-test-workspace .btc-shotlab-shell .sl-mobile-tool-guidance{display:none!important}
 body.sl-r3b2-test-workspace .btc-shotlab-shell .sl-mobile-ghost-tools [data-ghost-help]{display:none!important}
 body.sl-r3b2-test-workspace .btc-shotlab-shell[data-r3b2-context='select'] .sl-mobile-ghost-tools,
 body.sl-r3b2-test-workspace .btc-shotlab-shell[data-r3b2-context='targets'] .sl-mobile-ghost-tools,
 body.sl-r3b2-test-workspace .btc-shotlab-shell[data-r3b2-context='more'] .sl-mobile-ghost-tools{display:none!important}
 body.sl-r3b2-test-workspace .btc-shotlab-shell .sl-r25-floating-cueball.is-collapsed{right:4px!important;width:100px!important}
}

/* R3-B.3: measured BTC enterprise header authority, scoped to mobile ShotLab test page only.
   No changes to native stage viewBox, ball geometry or pointer transforms. */
@media (max-width:900px) {
  body.sl-r3b3-fullscreen #btc-enterprise-shell,
  body.sl-r3b3-fullscreen #btc-enterprise-header,
  body.sl-r3b3-fullscreen #bag-rc1c4-nav { display:none!important; height:0!important; min-height:0!important; margin:0!important; padding:0!important; }
  body.sl-r3b3-fullscreen { margin-top:0!important; padding-top:0!important; }
  body.sl-r3b3-fullscreen :is(#page,.site,.site-main,.site-content,.content-area,.entry-content,.wp-block-post-content,main) { margin-top:0!important; padding-top:0!important; }
  body.sl-r3b3-fullscreen .btc-shotlab-shell { margin:0 auto!important; max-width:100vw!important; }
  body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-app { min-height:0!important; }
  body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-topbar { min-height:0!important; padding:2px 5px!important; gap:2px!important; }
  body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-topbar .sl-brand { gap:3px!important; }
  body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-main { min-height:0!important; }
  body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-main>.sl-stage-wrap { width:100%!important; max-width:100%!important; padding:0!important; margin:0!important; overflow:visible!important; display:flex!important; justify-content:center!important; }
  /* Table height is driven only by CSS size; intrinsic 1023:1537 ratio stays intact.
     Leave room for compact controls in the browser's actual dynamic viewport. */
  body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-stage {
    width:min(100%, calc((100dvh - 155px) * 1023 / 1537))!important;
    max-width:100%!important; height:auto!important; aspect-ratio:1023/1537!important; flex:0 0 auto!important;
  }
  body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-main>.sl-mobile-native-tool-dock { padding:2px 3px!important; margin:0!important; }
  body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-r6824-dock-nav { position:static!important; margin:0!important; padding:2px!important; }
  body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-r6824-dock-nav button { padding:5px 2px!important; min-height:32px!important; }
  body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-r3b-context-tabs button { min-height:32px!important; }
  body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-r3b1-exit { min-height:24px!important; padding:2px 6px!important; }
}

/* R3-C.1 – one visible mobile control owner; native tools remain in DOM. */
@media(max-width:900px){
 body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-r3c1-authority .sl-toolgrid,
 body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-r3c1-legacy-ghost,
 body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-r3c1-authority .sl-mobile-tool-guidance{display:none!important}
 body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-r3c1-smart{display:grid;gap:4px;padding:4px 2px;background:#092234;border-radius:9px}
 body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-r3c1-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
 body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-r3c1-row button,
 body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-r3c1-actions button{min-height:42px;padding:7px 3px;border:1px solid #31667a;background:#153a50;color:#eaf9fc;border-radius:8px;font-size:12px;font-weight:600}
 body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-r3c1-row button[aria-pressed=true]{background:#087a94;border-color:#46e9db}
 body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-r3c1-status{text-align:center;color:#a5dce5;font-size:11px;min-height:15px}
 body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-r3c1-actions:not([hidden]){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
 body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-r3c1-actions[hidden]{display:none!important}
}

/* R3-C.2: scoped precision and safe actions */
@media(max-width:900px){body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-r3c2-precision:not([hidden]){display:grid;gap:5px;padding:5px;border-top:1px solid #24556b}body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-r3c2-precision[hidden]{display:none!important}body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-r3c2-title{display:flex;justify-content:space-between;align-items:center;color:#c9e8f1;font-size:11px}body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-r3c2-arrows{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-r3c2-safe{display:grid;grid-template-columns:1fr 1fr 2fr;gap:5px}body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-r3c2-precision button{min-height:40px;background:#153a50;color:#fff;border:1px solid #31667a;border-radius:7px;font-size:12px}body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-r3c2-safe [data-safe=delete]{color:#ffd9d9;border-color:#96535b}}

/* R3-C.3: cognitive single-step actions, preserved native handlers */
@media(max-width:900px){
 body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-r3c1-row{grid-template-columns:minmax(0,2fr) repeat(3,minmax(42px,1fr));}
 body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-r3c1-row button{min-height:44px;font-size:13px;}
 body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-r3c1-row button:disabled{opacity:.35;}
 body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-r3c3-precision-toggle{background:#123a50;color:#d9f5fb;border:1px solid #31667a;border-radius:7px;min-height:34px;font-size:12px;}
 body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-r3c3-precision-toggle[hidden]{display:none!important;}
}

/* R3-C.4: high-contrast precision overlay and single primary mobile dock */
@media(max-width:900px){
 body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-r3c2-precision:not([hidden]){position:fixed!important;left:10px;right:10px;bottom:76px;top:auto;z-index:9990;display:grid!important;gap:8px!important;max-width:440px;margin:0 auto;padding:12px!important;background:rgba(5,26,41,.97)!important;border:2px solid #5ae8e0!important;border-radius:14px;box-shadow:0 4px 28px #000b;box-sizing:border-box;}
 body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-r3c2-precision.sl-r3c4-at-top:not([hidden]){top:70px;bottom:auto;}
 body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-r3c2-title{font-size:14px!important;color:#fff!important;gap:8px;}
 body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-r3c2-title strong{flex:1;}
 body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-r3c2-precision button{min-height:46px!important;font-size:16px!important;font-weight:700!important;border:1px solid #5ba6c2!important;background:#174a63!important;color:#fff!important;}
 body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-r3c2-title button{font-size:12px!important;min-height:38px!important;}
 body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-r3c2-safe{display:flex!important;justify-content:flex-end;}
 body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-r3c2-safe [data-safe=delete]{font-size:12px!important;min-height:38px!important;background:#4a2530!important;border-color:#d88a8a!important;}
 body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-r3c3-precision-toggle{min-height:44px!important;font-size:14px!important;font-weight:700!important;border:2px solid #44d8d2!important;background:#12556b!important;color:#fff!important;}
 body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-r6824-dock-nav{display:none!important;}
 body.sl-r3b3-fullscreen .btc-shotlab-shell.sl-r3c4-show-legacy .sl-r6824-dock-nav{display:grid!important;}
 body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-r3c1-row button{border-color:#4c93aa!important;color:#fff!important;font-weight:700!important;}
 body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-r3c1-row button:disabled{opacity:.5!important;}
}

/* R3-C.5: cognitive directional pad; scoped to the existing mobile precision overlay. */
@media(max-width:900px){
 body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-r3c2-precision:not([hidden]){left:8px;right:8px;max-width:310px;width:min(310px,calc(100vw - 16px));padding:9px!important;gap:6px!important;}
 body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-r3c2-arrows{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:repeat(3,43px);gap:3px!important;align-items:center;}
 body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-r3c2-arrows [data-nudge=up]{grid-column:2;grid-row:1;}
 body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-r3c2-arrows [data-nudge=left]{grid-column:1;grid-row:2;}
 body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-r3c2-arrows [data-nudge=right]{grid-column:3;grid-row:2;}
 body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-r3c2-arrows [data-nudge=down]{grid-column:2;grid-row:3;}
 body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-r3c5-center{grid-column:2;grid-row:2;display:grid;place-items:center;color:#5ae8e0;font-size:18px;pointer-events:none;}
 body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-r3c2-arrows button{min-height:43px!important;font-size:23px!important;background:#185773!important;border:2px solid #6ac9e0!important;}
 body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-r3c2-title{font-size:12px!important;}
 body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-r3c2-title button{font-size:12px!important;min-height:38px!important;}
 body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-r3c2-safe{display:none!important;}
}

/* R3-C.6-R1: adaptive precision presentation ONLY; native R3-C.5 initialization unchanged. */
@media (max-width:900px){
 body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-r3c2-precision:not([hidden]){
  width:min(252px,calc(100vw - 20px))!important;max-width:252px!important;
  margin:0!important;padding:8px!important;gap:5px!important;
  box-sizing:border-box;max-height:calc(100dvh - 110px);overflow:auto;
 }
 body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-r3c2-precision[data-r3c6r1-side="left"]:not([hidden]){left:8px!important;right:auto!important;}
 body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-r3c2-precision[data-r3c6r1-side="right"]:not([hidden]){right:8px!important;left:auto!important;}
 body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-r3c2-precision.sl-r3c4-at-top:not([hidden]){top:max(70px,env(safe-area-inset-top))!important;bottom:auto!important;}
 body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-r3c2-arrows{grid-template-rows:repeat(3,44px)!important;gap:3px!important;}
 body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-r3c2-arrows button{min-height:44px!important;}
}

/* R3-D.3-R1: isolated mobile target panel; no stage geometry changes */
.sl-r3d2-target-panel:not([hidden]){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:4px;max-width:100%;box-sizing:border-box}
.sl-r3d2-target-panel button{min-width:0;min-height:40px;white-space:normal;font-size:12px}
.sl-r3d2-target-toggle{min-width:0;min-height:40px}

/* R3-D.3-R2 – visual-only mobile target controls; native handlers untouched. */
@media(max-width:900px){
 .btc-shotlab-shell .sl-r3d2-target-panel:not([hidden]){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;padding:7px 3px!important;max-width:100%!important;box-sizing:border-box!important;}
 .btc-shotlab-shell .sl-r3d2-target-panel button{appearance:none!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-width:0!important;min-height:49px!important;padding:9px 6px!important;border:2px solid #ef4278!important;border-radius:10px!important;background:linear-gradient(145deg,#8d1736,#56091e)!important;color:#fff!important;font-size:13px!important;font-weight:700!important;line-height:1.15!important;text-shadow:0 1px 2px #0007!important;box-shadow:inset 0 1px 0 #ffffff20,0 2px 5px #0006!important;white-space:normal!important;touch-action:manipulation;}
 .btc-shotlab-shell .sl-r3d2-target-panel button:active{background:linear-gradient(145deg,#b7254b,#74132b)!important;transform:translateY(1px);}
 .btc-shotlab-shell .sl-r3d2-target-panel button:focus-visible{outline:2px solid #80eaff!important;outline-offset:2px!important;}
 .btc-shotlab-shell .sl-r3d2-target-panel button::before{font-size:21px!important;font-weight:700!important;line-height:1!important;flex:0 0 24px;text-align:center;}
 .btc-shotlab-shell .sl-r3d2-target-panel button[data-direct-target="pocket"]::before{content:"◉";}
 .btc-shotlab-shell .sl-r3d2-target-panel button[data-direct-target="rail"]::before{content:"╱";}
 .btc-shotlab-shell .sl-r3d2-target-panel button[data-direct-target="point"]::before{content:"⊕";}
 .btc-shotlab-shell .sl-r3d2-target-panel button[data-direct-target="cancel"]::before{content:"✕";}
}

/* R3-D.3-R3 – mobile touch refinement; target overlay avoidance only.
   No stage geometry, native physics, event handlers or DOM changes. */
@media (max-width:900px){
 body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-r3d2-target-panel button{
   min-height:52px!important; font-size:14px!important; gap:7px!important;
   padding:10px 5px!important; touch-action:manipulation;
 }
 body.sl-r3b3-fullscreen .btc-shotlab-shell .sl-r3d2-target-panel button::before{
   font-size:22px!important; flex-basis:24px!important;
 }
 /* When the target grid is open, park the floating cue-ball tool above the
    control strip. Preserve its toggle, expanded contents and touch behavior. */
 body.sl-r3b3-fullscreen:has(.sl-r3d2-target-panel:not([hidden])) .sl-r25-floating-cueball:not([hidden]){
   top:calc(68px + env(safe-area-inset-top,0px))!important;
   bottom:auto!important;right:8px!important;
   max-height:calc(100dvh - 90px)!important;
   overflow-y:auto!important;
 }
}

/* R3-D.4-R1 opt-in native landscape preview; no geometry stretching. */
.sl-r34-landscape-toggle{display:none;appearance:none;border:1px solid #25a9c9;border-radius:9px;background:#103e55;color:#f0fbff;padding:10px 14px;font-weight:700;cursor:pointer;min-height:44px;margin:8px}
@media(max-width:900px){.sl-r34-landscape-toggle{display:block}.sl-app.sl-r34-landscape .sl-stage-wrap{align-items:flex-start;justify-content:flex-start;overflow:hidden}.sl-app.sl-r34-landscape .sl-calibration-workspace{position:relative;display:block;flex:none}.sl-app.sl-r34-landscape .sl-stage{flex:none;margin:0}}

/* R3-D.4-R2: landscape-only controls in normal flow. No table/physics changes. */
@media (max-width:900px){
 .btc-shotlab-shell .sl-app.sl-r34-landscape .sl-main{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:6px!important;overflow:visible!important}
 .btc-shotlab-shell .sl-app.sl-r34-landscape .sl-main>.sl-stage-wrap{order:0!important;width:100%!important;max-width:100%!important;flex:none!important}
 .btc-shotlab-shell .sl-app.sl-r34-landscape .sl-main>.sl-mobile-ghost-tools,
 .btc-shotlab-shell .sl-app.sl-r34-landscape .sl-main>.sl-mobile-native-tool-dock{order:1!important;position:relative!important;width:100%!important;max-width:100%!important}
 .btc-shotlab-shell .sl-app.sl-r34-landscape .sl-main>.sl-r25-floating-cueball.sl-r34-inline-cueball{
  order:2!important;position:relative!important;inset:auto!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;
  transform:none!important;float:none!important;width:100%!important;max-width:100%!important;min-width:0!important;
  margin:4px 0!important;opacity:1!important;z-index:1!important;box-sizing:border-box!important;
  display:block!important;pointer-events:auto!important;
 }
 .btc-shotlab-shell .sl-app.sl-r34-landscape .sl-main>.sl-r25-floating-cueball .sl-r25-float-toggle{width:100%!important;min-height:44px!important;text-align:center!important}
 .btc-shotlab-shell .sl-app.sl-r34-landscape .sl-main>.sl-panel.right{order:3!important;width:100%!important;max-width:100%!important;position:static!important}
 .btc-shotlab-shell .sl-app.sl-r34-landscape .sl-main>.sl-panel:not(.right){order:4!important;position:static!important}
 .btc-shotlab-shell .sl-app.sl-r34-landscape .sl-r3d2-target-panel:not([hidden]){max-width:100%!important}
}

/* R3-D.4-R3: landscape-only structured controls; no geometry or input transform changes. */
@media(max-width:900px){
 .btc-shotlab-shell .sl-app.sl-r34-landscape .sl-r34-landscape-toggle{display:block;min-height:44px;margin:8px 0 6px;background:#104364;border-color:#28a8d2;color:#e6f8ff}
 .btc-shotlab-shell .sl-app.sl-r34-landscape .sl-mobile-native-tool-dock{box-sizing:border-box;display:flex!important;flex-direction:column!important;gap:10px!important;padding:10px 8px!important;background:#091b2b;border:1px solid #20465d;border-radius:10px}
 .btc-shotlab-shell .sl-app.sl-r34-landscape .sl-mobile-native-tool-dock:before{content:'BEARBEITEN & ZIEL';display:block;font-size:11px;letter-spacing:.09em;font-weight:700;color:#9fc9dd}
 .btc-shotlab-shell .sl-app.sl-r34-landscape .sl-mobile-native-tool-dock .sl-r3c1-row{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important;width:100%!important;max-width:100%!important}
 .btc-shotlab-shell .sl-app.sl-r34-landscape .sl-mobile-native-tool-dock .sl-r3c1-row>button{width:100%!important;min-width:0!important;max-width:none!important;min-height:48px!important;box-sizing:border-box!important;padding:6px 3px!important;white-space:normal!important;overflow-wrap:anywhere!important;font-size:11px!important;background:#104364!important;border:1px solid #2a8bb6!important;color:#ecfaff!important;border-radius:8px!important}
 .btc-shotlab-shell .sl-app.sl-r34-landscape .sl-r3d2-target-panel:not([hidden]){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;width:100%!important;box-sizing:border-box!important}
 .btc-shotlab-shell .sl-app.sl-r34-landscape .sl-r3d2-target-panel button{width:100%!important;min-width:0!important;min-height:52px!important;background:linear-gradient(150deg,#8b1738,#570c24)!important;border:1px solid #fa477f!important;color:white!important;border-radius:9px!important;font-weight:700!important}
 .btc-shotlab-shell .sl-app.sl-r34-landscape .sl-mobile-native-tool-dock .sl-toolgrid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;width:100%!important;max-width:100%!important}
 .btc-shotlab-shell .sl-app.sl-r34-landscape .sl-mobile-native-tool-dock .sl-toolgrid>*{min-width:0!important;max-width:100%!important;box-sizing:border-box!important;min-height:44px!important;white-space:normal!important}
 .btc-shotlab-shell .sl-app.sl-r34-landscape .sl-main>.sl-r25-floating-cueball.sl-r34-inline-cueball{margin:0!important;padding:7px!important;background:#102c40!important;border:1px solid #247ca1!important;border-radius:9px!important}
 .btc-shotlab-shell .sl-app.sl-r34-landscape .sl-main>.sl-r25-floating-cueball .sl-r25-float-toggle{background:#104364!important;color:#f0fbff!important;border:1px solid #28a8d2!important;border-radius:8px!important;min-height:48px!important}
 .btc-shotlab-shell .sl-app.sl-r34-landscape .sl-main>.sl-panel.right{background:#091b2b!important;border-radius:10px!important;padding:8px!important;box-sizing:border-box!important}
 .btc-shotlab-shell .sl-app.sl-r34-landscape .sl-main>.sl-panel.right button{min-height:44px;touch-action:manipulation}
}

/* R3-D.4-R4 – actual DOM grouping of native controls; landscape only. */
@media(max-width:900px){
 .btc-shotlab-shell .sl-r34-view-toolbar{display:contents}
 .btc-shotlab-shell .sl-r34-view-toolbar .sl-r34-group-title{display:none}
 .btc-shotlab-shell .sl-app.sl-r34-landscape .sl-main>.sl-r34-view-toolbar{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;order:-1!important;padding:8px;background:#091b2b;border:1px solid #23506a;border-radius:10px;min-width:0}
 .btc-shotlab-shell .sl-app.sl-r34-landscape .sl-r34-view-toolbar .sl-r34-group-title{display:block;grid-column:1/-1;color:#9fc9dd;font-size:11px;font-weight:700;letter-spacing:.09em}
 .btc-shotlab-shell .sl-app.sl-r34-landscape .sl-r34-view-toolbar>.sl-r34-landscape-toggle{display:flex!important;align-items:center;justify-content:center;width:100%;min-width:0;margin:0!important;min-height:48px!important;padding:6px!important;box-sizing:border-box}
 .btc-shotlab-shell .sl-app.sl-r34-landscape .sl-r34-view-toolbar>.sl-r25-floating-cueball.sl-r34-inline-cueball{position:relative!important;inset:auto!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;transform:none!important;display:block!important;opacity:1!important;visibility:visible!important;z-index:1!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0!important;box-sizing:border-box!important;pointer-events:auto!important;overflow:visible!important}
 .btc-shotlab-shell .sl-app.sl-r34-landscape .sl-r34-view-toolbar .sl-r25-float-toggle{width:100%!important;min-height:48px!important;box-sizing:border-box!important;background:#104364!important;border:1px solid #28a8d2!important;border-radius:8px!important;color:#fff!important;font-size:12px!important;white-space:normal!important}
 .btc-shotlab-shell .sl-app.sl-r34-landscape .sl-mobile-native-tool-dock:before{content:'BEARBEITEN';}
 .btc-shotlab-shell .sl-app.sl-r34-landscape .sl-r3c1-row{grid-template-columns:repeat(4,minmax(0,1fr))!important}
 .btc-shotlab-shell .sl-app.sl-r34-landscape .sl-r3d2-target-panel:not([hidden]){grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .btc-shotlab-shell .sl-app.sl-r34-landscape .sl-r3d2-target-panel:not([hidden]):before{content:'ZIELAUSWAHL';grid-column:1/-1;color:#f5a5bd;font-size:11px;font-weight:700;letter-spacing:.09em}
 .btc-shotlab-shell .sl-app.sl-r34-landscape .sl-r3c3-precision-toggle{background:#10545c!important;border:1px solid #24b5bd!important;color:#e1fffc!important;min-height:48px!important;border-radius:8px!important}
 .btc-shotlab-shell .sl-app.sl-r34-landscape .sl-panel.right{order:3!important}
}

/* R3-D.4-R5: native DOM control grouping; landscape only. */
@media(max-width:900px){
 .btc-shotlab-shell .sl-app.sl-r34-landscape .sl-main{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important}
 .btc-shotlab-shell .sl-app.sl-r34-landscape .sl-main>.sl-r34-view-toolbar{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;width:100%!important;box-sizing:border-box!important;order:1!important}
 .btc-shotlab-shell .sl-app.sl-r34-landscape .sl-main>.sl-stage-wrap{order:2!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
 .btc-shotlab-shell .sl-app.sl-r34-landscape .sl-main>.sl-mobile-native-tool-dock{order:3!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;display:flex!important;flex-direction:column!important;gap:8px!important}
 .btc-shotlab-shell .sl-app.sl-r34-landscape .sl-main>.sl-mobile-ghost-tools{order:4!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
 .btc-shotlab-shell .sl-app.sl-r34-landscape .sl-main>.sl-panel.right{order:5!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
 .btc-shotlab-shell .sl-app.sl-r34-landscape .sl-main>.sl-panel.sl-authoring-panel{order:0!important;width:100%!important}
 .btc-shotlab-shell .sl-app.sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
 .btc-shotlab-shell .sl-app.sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-row{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important;width:100%!important}
 .btc-shotlab-shell .sl-app.sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-row button{width:100%!important;min-width:0!important;min-height:48px!important;box-sizing:border-box!important;padding:5px 2px!important;white-space:normal!important;font-size:11px!important;background:#104364!important;border:1px solid #2987b2!important;color:#f2fbff!important;border-radius:8px!important}
 .btc-shotlab-shell .sl-app.sl-r34-landscape .sl-r5-unified-dock .sl-r3d2-target-panel:not([hidden]){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;width:100%!important}
 .btc-shotlab-shell .sl-app.sl-r34-landscape .sl-r5-unified-dock .sl-r3d2-target-panel button{min-height:52px!important;background:linear-gradient(150deg,#8b1738,#570c24)!important;border:1px solid #fa477f!important;color:#fff!important}
 .btc-shotlab-shell .sl-app.sl-r34-landscape .sl-r34-view-toolbar>.sl-r25-floating-cueball{position:relative!important;inset:auto!important;transform:none!important;display:block!important;width:100%!important;max-width:100%!important;z-index:1!important;pointer-events:auto!important}
 .btc-shotlab-shell .sl-app.sl-r34-landscape .sl-r34-view-toolbar>.sl-r34-landscape-toggle{display:flex!important;width:100%!important;min-height:48px!important;background:#104364!important;border:1px solid #2987b2!important;color:#fff!important}
}

/* R3-D.4-R6 – active-root landscape control authority.
   Scope intentionally anchored to the JS toggled class, regardless of whether
   .sl-app is on the same node. No stage, SVG or physics rules changed. */
@media (max-width:900px) {
 [data-btc-shotlab-root].sl-r34-landscape .sl-main > .sl-r34-view-toolbar {
   display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr))!important;
   gap:8px!important; order:1!important; width:100%!important;
   box-sizing:border-box!important; padding:8px!important;
   background:#091b2b!important; border:1px solid #23506a!important;
   border-radius:10px!important; min-width:0!important;
 }
 [data-btc-shotlab-root].sl-r34-landscape .sl-r34-view-toolbar > .sl-r34-group-title {
   display:block!important; grid-column:1/-1!important;
   color:#9fc9dd!important; font-size:11px!important; font-weight:700!important;
 }
 [data-btc-shotlab-root].sl-r34-landscape .sl-r34-view-toolbar > .sl-r34-landscape-toggle {
   display:flex!important; align-items:center!important; justify-content:center!important;
   position:static!important; width:100%!important; min-width:0!important;
   min-height:48px!important; margin:0!important;
   background:#104364!important; border:1px solid #28a8d2!important;
   color:#fff!important; border-radius:8px!important;
 }
 [data-btc-shotlab-root].sl-r34-landscape .sl-r34-view-toolbar > .sl-r25-floating-cueball.sl-r34-inline-cueball {
   position:static!important; inset:auto!important; left:auto!important;
   right:auto!important; top:auto!important; bottom:auto!important;
   transform:none!important; float:none!important; z-index:auto!important;
   display:block!important; width:100%!important; max-width:100%!important;
   min-width:0!important; margin:0!important; padding:0!important;
   opacity:1!important; visibility:visible!important; pointer-events:auto!important;
   box-sizing:border-box!important;
 }
 [data-btc-shotlab-root].sl-r34-landscape .sl-r34-view-toolbar .sl-r25-float-toggle {
   width:100%!important; min-height:48px!important;
   background:#104364!important; border:1px solid #28a8d2!important;
   border-radius:8px!important; color:#fff!important;
 }
 [data-btc-shotlab-root].sl-r34-landscape .sl-main > .sl-mobile-native-tool-dock {
   order:3!important; width:100%!important; max-width:100%!important;
   box-sizing:border-box!important;
 }
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-row {
   display:grid!important; grid-template-columns:repeat(4,minmax(0,1fr))!important;
   gap:6px!important; width:100%!important;
 }
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-row > button {
   min-width:0!important; width:100%!important; min-height:48px!important;
   box-sizing:border-box!important; white-space:normal!important;
   padding:6px 3px!important; font-size:11px!important;
   background:#104364!important; border:1px solid #2987b2!important;
   border-radius:8px!important; color:#f2fbff!important;
 }
 [data-btc-shotlab-root].sl-r34-landscape .sl-r3d2-target-panel:not([hidden]) {
   display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr))!important;
   gap:7px!important; width:100%!important;
 }
 [data-btc-shotlab-root].sl-r34-landscape .sl-r3d2-target-panel:not([hidden]) button {
   min-height:52px!important; background:linear-gradient(150deg,#8b1738,#570c24)!important;
   border:1px solid #fa477f!important; color:#fff!important;
 }
 [data-btc-shotlab-root].sl-r34-landscape .sl-r3c3-precision-toggle {
   background:#10545c!important; border:1px solid #24b5bd!important;
   color:#e1fffc!important; min-height:48px!important;
 }
}

/* R3-D.4-R7 – mobile control legibility, no table or input changes. */
@media (max-width:900px) {
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-row > button {
   font-size:clamp(10px,2.7vw,12px)!important;
   line-height:1.25!important;
   font-weight:650!important;
   overflow-wrap:normal!important;
   word-break:normal!important;
   padding:6px 2px!important;
   text-align:center!important;
 }
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-row > button:disabled {
   opacity:.68!important;
   color:#b9d0df!important;
   border-color:#31556c!important;
   background:#10283a!important;
   cursor:not-allowed!important;
 }
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-row > button:not(:disabled) {
   opacity:1!important;
 }
 [data-btc-shotlab-root].sl-r34-landscape .sl-r3d2-target-panel:not([hidden]) > button {
   min-width:0!important;
   font-weight:700!important;
   font-size:13px!important;
 }
}

/* R3-D.4-R8: compact expanded Effet, native selection control visible. */
@media(max-width:900px){
 [data-btc-shotlab-root].sl-r34-landscape .sl-r34-view-toolbar{align-items:start!important;align-content:start!important}
 [data-btc-shotlab-root].sl-r34-landscape .sl-r34-view-toolbar>.sl-r34-landscape-toggle{align-self:start!important;height:48px!important;min-height:48px!important;max-height:48px!important}
 [data-btc-shotlab-root].sl-r34-landscape .sl-r34-view-toolbar>.sl-r25-floating-cueball.sl-r34-inline-cueball:not(.is-collapsed){grid-column:1/-1!important;grid-row:auto!important;max-width:100%!important}
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r8-select-visible{display:block!important;position:static!important;width:100%!important;min-height:46px!important;padding:8px 12px!important;margin:0!important;background:#104364!important;border:1px solid #28a8d2!important;border-radius:8px!important;color:#fff!important;font-weight:700!important;text-align:center!important;opacity:1!important}
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r8-select-visible.active{border-color:#f0c451!important;box-shadow:inset 0 0 0 1px #f0c451!important}
}

/* R3-D.4-R9 – mobile landscape presentation-only refinement.
   Native controls and delegated handlers remain untouched. */
@media (max-width:900px) {
 [data-btc-shotlab-root].sl-r34-landscape .sl-r34-view-toolbar {gap:7px!important;align-items:start!important;}
 [data-btc-shotlab-root].sl-r34-landscape .sl-r34-view-toolbar>.sl-r34-landscape-toggle {height:48px!important;max-height:48px!important;align-self:start!important;}
 [data-btc-shotlab-root].sl-r34-landscape .sl-r34-view-toolbar>.sl-r25-floating-cueball.is-collapsed {align-self:start!important;}
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart {
   display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
   gap:7px!important;align-items:stretch!important;width:100%!important;
 }
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart>.sl-r3c1-row {display:contents!important;}
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart>.sl-r8-select-visible {
   grid-column:span 2!important;min-height:48px!important;align-self:stretch!important;
 }
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart>.sl-r3c1-row>button {
   min-width:0!important;min-height:48px!important;width:100%!important;
   font-size:clamp(10px,2.8vw,12px)!important;line-height:1.25!important;
   padding:6px 2px!important;white-space:normal!important;overflow-wrap:normal!important;
 }
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart>.sl-r3c1-row>button[data-smart="add"] {grid-column:span 2!important;}
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart>.sl-r3c1-row>button[data-smart="target"] {grid-column:span 1!important;}
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart>.sl-r3c1-status,
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart>.sl-r3c1-actions,
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart>.sl-r3d2-target-panel,
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart>.sl-r3c3-precision-toggle,
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart>.sl-r3c2-precision {grid-column:1/-1!important;}
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3d2-target-panel:not([hidden]) {
   display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;
 }
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c3-precision-toggle {min-height:48px!important;}
}

/* R3-D.4-R10: show original Hilfslinie tool in landscape quick controls. */
@media (max-width:900px) {
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart>.sl-r10-guide-visible {
   display:block!important;position:static!important;grid-column:span 2!important;
   width:100%!important;min-height:48px!important;min-width:0!important;
   padding:8px 7px!important;margin:0!important;
   background:#086d7d!important;border:1px solid #25c4d2!important;
   border-radius:8px!important;color:#fff!important;font-weight:700!important;
   text-align:center!important;opacity:1!important;
 }
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart>.sl-r10-guide-visible.active {
   border-color:#f0c451!important;box-shadow:inset 0 0 0 1px #f0c451!important;
 }
}

/* R3-D.4-R11: visibility settings, landscape only. No table/physics CSS. */
[data-btc-shotlab-root].sl-r34-landscape .sl-r11-visibility-panel{grid-column:1/-1!important;display:block!important;width:100%!important;box-sizing:border-box!important;margin:4px 0!important;border:1px solid #25b8c7!important;border-radius:8px!important;background:#092c3c!important;color:#e8f8fb!important;overflow:hidden!important}
[data-btc-shotlab-root].sl-r34-landscape .sl-r11-visibility-panel>summary{cursor:pointer;min-height:46px;display:flex;align-items:center;padding:10px 13px;font-weight:700;list-style:revert}
[data-btc-shotlab-root].sl-r34-landscape .sl-r11-visibility-options{padding:7px 10px 12px;display:grid;grid-template-columns:1fr 1fr;gap:8px}
[data-btc-shotlab-root].sl-r34-landscape .sl-r11-visibility-item{min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:6px;padding:7px;background:#103f52;border:1px solid #22647b;border-radius:7px;font-size:12px;box-sizing:border-box}
[data-btc-shotlab-root].sl-r34-landscape .sl-r11-visibility-item input{width:20px;height:20px;flex:none;accent-color:#26c4d1}
[data-btc-shotlab-root].sl-r34-landscape .sl-r11-all-toggle{grid-column:1/-1;min-height:44px;background:#116b78;color:white;border:1px solid #30c7d3;border-radius:7px;font-weight:700}

/* R3-D.4-R12 – compact settings and stable 4-column mobile controls.
   Presentation only; existing guide flags, touch and shot physics unchanged. */
@media (max-width:900px){
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart{
   display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
   gap:6px!important;align-items:start!important;
 }
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart>.sl-r8-select-visible,
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart>.sl-r10-guide-visible{
   grid-column:span 2!important;min-height:46px!important;max-height:52px!important;
 }
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart>.sl-r3c1-row>button{
   min-height:46px!important;line-height:1.2!important;font-size:clamp(10px,2.7vw,12px)!important;
   overflow-wrap:anywhere!important;
 }
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart>.sl-r11-visibility-panel{
   grid-column:1/-1!important;display:block!important;margin:2px 0 0!important;
 }
 [data-btc-shotlab-root].sl-r34-landscape .sl-r11-visibility-panel>summary{
   display:flex!important;justify-content:space-between!important;gap:8px!important;
   min-height:44px!important;padding:8px 12px!important;box-sizing:border-box!important;
   list-style:none!important;cursor:pointer!important;font-size:12px!important;
 }
 [data-btc-shotlab-root].sl-r34-landscape .sl-r11-visibility-panel>summary::-webkit-details-marker{display:none!important}
 [data-btc-shotlab-root].sl-r34-landscape .sl-r11-visibility-panel>summary:after{content:'▾';font-size:14px;color:#7ee4eb}
 [data-btc-shotlab-root].sl-r34-landscape .sl-r11-visibility-panel[open]>summary:after{content:'▴'}
 [data-btc-shotlab-root].sl-r34-landscape .sl-r12-settings-hint{color:#9fd0df;font-weight:500;margin-left:auto}
 [data-btc-shotlab-root].sl-r34-landscape .sl-r11-visibility-options{
   padding:7px!important;gap:6px!important;
 }
 [data-btc-shotlab-root].sl-r34-landscape .sl-r11-visibility-item{
   min-height:42px!important;font-size:11px!important;padding:6px!important;
 }
}

/* R3-D.4-R14: optional templates, no change to table or mobile controls */
.sl-r14-template-panel{display:none}
@media (max-width:900px){
 [data-btc-shotlab-root] .sl-r14-template-panel{display:block;margin:8px 0;border:1px solid #177e9d;border-radius:7px;background:#08283b;color:#dceef6}
 [data-btc-shotlab-root] .sl-r14-template-panel>summary{cursor:pointer;padding:12px;font-weight:650;color:#f2cf57;min-height:44px;box-sizing:border-box}
 [data-btc-shotlab-root] .sl-r14-template-body{padding:8px 12px 12px;display:grid;gap:10px}
 [data-btc-shotlab-root] .sl-r14-template-body p{margin:0;font-size:12px}
 [data-btc-shotlab-root] .sl-r14-template-body select,[data-btc-shotlab-root] .sl-r14-template-body button{min-height:44px;width:100%;box-sizing:border-box}
 [data-btc-shotlab-root] .sl-r14-template-body small{font-size:11px;color:#b7d5e2}
}

/* R15-M1: isolated visual zoom controls; preserve native stage transform */
.sl-r15-zoom{display:none}
@media(max-width:900px){
 [data-btc-shotlab-root] .sl-r15-zoom{display:flex;align-items:center;justify-content:center;gap:8px;margin:8px 0;flex-wrap:wrap}
 [data-btc-shotlab-root] .sl-r15-zoom-button{min-width:48px;min-height:44px;padding:7px 12px}
 [data-btc-shotlab-root] .sl-r15-zoom-status{min-width:52px;text-align:center;font-weight:700}
 [data-btc-shotlab-root] .sl-stage-wrap.sl-r15-zoomed{overflow:auto!important;overscroll-behavior:contain}
 [data-btc-shotlab-root] .sl-stage-wrap{touch-action:pan-x pan-y}
 [data-btc-shotlab-root] .sl-stage-wrap .sl-svg{touch-action:none}
}

/* R15-M1-R1: transform-pan viewport; prevent scroll offsets fighting pointer mapping */
@media(max-width:900px){[data-btc-shotlab-root] .sl-stage-wrap.sl-r15-zoomed{overflow:hidden!important}[data-btc-shotlab-root] .sl-r15-zoom-button{min-width:44px}}

/* R3-D.4-R15-M1-R2: Unified mobile control layout. Presentation-only.
   Preserve existing DOM nodes, handlers, zoom/pan and SVG transforms. */
@media (max-width:900px) {
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart {
   display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;
   gap:7px!important;align-items:stretch!important;
 }
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart>.sl-r8-select-visible,
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart>.sl-r10-guide-visible {
   grid-column:span 3!important;width:100%!important;min-width:0!important;
   min-height:48px!important;max-height:none!important;box-sizing:border-box!important;
 }
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart>.sl-r3c1-row {display:contents!important;}
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart>.sl-r3c1-row>button {
   grid-column:span 2!important;width:100%!important;min-width:0!important;
   min-height:48px!important;padding:8px 5px!important;font-size:clamp(10px,2.7vw,12px)!important;
   line-height:1.2!important;overflow-wrap:anywhere!important;box-sizing:border-box!important;
 }
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart>.sl-r3c1-row>button[data-smart="add"],
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart>.sl-r3c1-row>.sl-r3d2-target-toggle {
   grid-column:span 3!important;
 }
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart>.sl-r3c1-status,
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart>.sl-r3c1-actions,
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart>.sl-r3d2-target-panel,
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart>.sl-r3c3-precision-toggle,
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart>.sl-r3c2-precision,
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart>.sl-r11-visibility-panel {
   grid-column:1/-1!important;min-width:0!important;
 }
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3d2-target-panel:not([hidden]) {
   display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 }
 [data-btc-shotlab-root].sl-r34-landscape .sl-r34-view-toolbar>.sl-r34-landscape-toggle,
 [data-btc-shotlab-root].sl-r34-landscape .sl-r34-view-toolbar .sl-r25-float-toggle {
   min-height:48px!important;box-sizing:border-box!important;
 }
 [data-btc-shotlab-root] .sl-r15-zoom {gap:6px!important;justify-content:center!important;}
 [data-btc-shotlab-root] .sl-r15-zoom-button {min-height:44px!important;}
}

/* R3-D.4-R15-M1-R3 – compact three-column mobile quick controls.
   Layout-only. Native button instances, events, zoom and SVG untouched. */
@media (max-width:900px) {
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart {
   display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
   gap:6px!important;align-items:stretch!important;
 }
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart>.sl-r3c1-row {display:contents!important;}
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart>.sl-r8-select-visible,
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart>.sl-r10-guide-visible,
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart>.sl-r3c1-row>button {
   grid-column:span 1!important;width:100%!important;min-width:0!important;
   min-height:46px!important;max-height:none!important;box-sizing:border-box!important;
   padding:7px 3px!important;font-size:clamp(10px,2.6vw,12px)!important;
   line-height:1.2!important;white-space:normal!important;overflow-wrap:anywhere!important;
 }
 /* Override older span-2 and span-3 rules; retain one dedicated row for More. */
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart>.sl-r3c1-row>button[data-smart="add"],
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart>.sl-r3c1-row>.sl-r3d2-target-toggle {grid-column:span 1!important;}
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart>.sl-r3c1-row>button[data-smart="more"] {grid-column:1/-1!important;}
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart>.sl-r3c1-status,
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart>.sl-r3c1-actions,
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart>.sl-r3d2-target-panel,
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart>.sl-r3c3-precision-toggle,
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart>.sl-r3c2-precision,
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart>.sl-r11-visibility-panel {grid-column:1/-1!important;}
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3d2-target-panel:not([hidden]) {
   display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 }
}

/* R15-M1-R5 – compact navigation; landscape only, never alter table SVG or touch transforms. */
.sl-r15-r5-hierarchy{display:none}
@media(max-width:900px){
 [data-btc-shotlab-root].sl-r34-landscape .sl-r15-r5-hierarchy{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;
  margin:8px 0;padding:5px;border:1px solid #23475d;border-radius:9px;background:#0a2234;
 }
 [data-btc-shotlab-root].sl-r34-landscape .sl-r15-r5-tab{
  min-width:0;min-height:46px;padding:6px 2px;font-size:clamp(9px,2.6vw,12px);
  border:1px solid #2c526c;border-radius:6px;color:#d3e4ef;background:#17354b;
  overflow-wrap:anywhere;
 }
 [data-btc-shotlab-root].sl-r34-landscape .sl-r15-r5-tab[aria-pressed="true"]{
  border-color:#33c4df;background:#105c78;color:#fff;font-weight:700;
 }
 /* Default editor: prioritize the table and editing; secondary modules live in their tabs. */
 [data-btc-shotlab-root].sl-r34-landscape[data-r15-active-section="editor"] .sl-r14-template-panel,
 [data-btc-shotlab-root].sl-r34-landscape[data-r15-active-section="editor"] .sl-r15-zoom,
 [data-btc-shotlab-root].sl-r34-landscape[data-r15-active-section="editor"] .sl-r11-visibility-panel{display:none!important}
 /* Training: keep table visible, expose the existing native training templates. */
 [data-btc-shotlab-root].sl-r34-landscape[data-r15-active-section="training"] .sl-r15-zoom,
 [data-btc-shotlab-root].sl-r34-landscape[data-r15-active-section="training"] .sl-r5-unified-dock{display:none!important}
 /* Analysis: reuse the original visibility checkboxes, no duplicate scene state. */
 [data-btc-shotlab-root].sl-r34-landscape[data-r15-active-section="analysis"] .sl-r14-template-panel,
 [data-btc-shotlab-root].sl-r34-landscape[data-r15-active-section="analysis"] .sl-r15-zoom{display:none!important}
 [data-btc-shotlab-root].sl-r34-landscape[data-r15-active-section="analysis"] .sl-r3c1-smart > :not(.sl-r11-visibility-panel){display:none!important}
 [data-btc-shotlab-root].sl-r34-landscape[data-r15-active-section="analysis"] .sl-r11-visibility-panel{display:block!important;grid-column:1/-1!important}
 /* Settings: show the existing zoom/pan buttons and view toolbar. */
 [data-btc-shotlab-root].sl-r34-landscape[data-r15-active-section="settings"] .sl-r14-template-panel,
 [data-btc-shotlab-root].sl-r34-landscape[data-r15-active-section="settings"] .sl-r5-unified-dock{display:none!important}
}

/* R15-M1-R6: Navigation styling only. Existing section switching is unchanged. */
@media (max-width:900px) {
 [data-btc-shotlab-root].sl-r34-landscape .sl-r15-r5-hierarchy {gap:5px;padding:5px}
 [data-btc-shotlab-root].sl-r34-landscape .sl-r15-r5-tab {
   display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;
   min-height:58px;padding:6px 2px;font-size:clamp(8px,2.45vw,11px);
   line-height:1.1;overflow-wrap:normal;word-break:normal;
   border:1px solid rgba(190,218,235,.32);color:#fff;
 }
 [data-btc-shotlab-root].sl-r34-landscape .sl-r15-r5-tab[data-r15-section="editor"]{background:#17608b}
 [data-btc-shotlab-root].sl-r34-landscape .sl-r15-r5-tab[data-r15-section="training"]{background:#80601a}
 [data-btc-shotlab-root].sl-r34-landscape .sl-r15-r5-tab[data-r15-section="analysis"]{background:#087c85}
 [data-btc-shotlab-root].sl-r34-landscape .sl-r15-r5-tab[data-r15-section="settings"]{background:#485d78}
 [data-btc-shotlab-root].sl-r34-landscape .sl-r15-r5-tab[aria-pressed="true"]{
   border:2px solid #f8d36a;box-shadow:inset 0 0 0 1px rgba(0,0,0,.2);color:#fff;
 }
 [data-btc-shotlab-root].sl-r34-landscape .sl-r15-r6-tab-icon{
   width:20px;height:20px;display:block;flex:none;fill:none;stroke:currentColor;
   stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;
 }
 [data-btc-shotlab-root].sl-r34-landscape .sl-r15-r6-tab-label{display:block;text-align:center}
}

/* R15-M1-R7 – full-width 4-column mobile navigation, style-only fix */
@media (max-width:900px) {
 [data-btc-shotlab-root].sl-r34-landscape .sl-r15-r5-hierarchy {
   box-sizing:border-box !important; width:100% !important; max-width:100% !important;
   min-width:0 !important; justify-self:stretch !important; align-self:stretch !important;
   grid-column:1 / -1 !important; grid-template-columns:repeat(4,minmax(0,1fr)) !important;
   justify-content:stretch !important; align-content:stretch !important;
 }
 [data-btc-shotlab-root].sl-r34-landscape .sl-r15-r5-hierarchy > .sl-r15-r5-tab {
   box-sizing:border-box !important; width:100% !important; min-width:0 !important;
   max-width:none !important; justify-self:stretch !important; flex:initial !important;
 }
}


/* R3-D.4-R15-M1-R8 – Unified thematic controls: mobile landscape presentation only.
   CSS-only: no new buttons, event listeners, physics, or scene state. */
@media (max-width:900px) {
  [data-btc-shotlab-root].sl-r34-landscape {
    --r8-editor:#17608b; --r8-training:#80601a;
    --r8-analysis:#087c85; --r8-settings:#485d78;
    --r8-active:#f8d36a;
  }
  /* Preserve the existing three-column authority; standardize surfaces. */
  [data-btc-shotlab-root].sl-r34-landscape .sl-r3c1-smart .sl-r3c1-row > button,
  [data-btc-shotlab-root].sl-r34-landscape .sl-r3c1-smart > .sl-r8-select-visible,
  [data-btc-shotlab-root].sl-r34-landscape .sl-r3c1-smart > .sl-r10-guide-visible,
  [data-btc-shotlab-root].sl-r34-landscape .sl-r3c3-precision-toggle {
    box-sizing:border-box;min-width:0;min-height:46px;
    border-radius:6px;font-size:clamp(9px,2.6vw,12px);
    line-height:1.25;text-align:center;white-space:normal;
    color:#fff;
  }
  [data-btc-shotlab-root].sl-r34-landscape .sl-r3c1-smart .sl-r3c1-row > button,
  [data-btc-shotlab-root].sl-r34-landscape .sl-r3c1-smart > .sl-r8-select-visible,
  [data-btc-shotlab-root].sl-r34-landscape .sl-r3c1-smart > .sl-r10-guide-visible {
    background:var(--r8-editor);border:1px solid #357b9d;
  }
  [data-btc-shotlab-root].sl-r34-landscape .sl-r3c1-smart > .sl-r10-guide-visible,
  [data-btc-shotlab-root].sl-r34-landscape .sl-r3c3-precision-toggle {
    background:var(--r8-analysis);border:1px solid #36aab1;
  }
  [data-btc-shotlab-root].sl-r34-landscape .sl-r3c1-smart .sl-r3c1-row > button:disabled,
  [data-btc-shotlab-root].sl-r34-landscape .sl-r3c1-smart > button:disabled {
    opacity:.42;filter:saturate(.5);cursor:not-allowed;
  }
  [data-btc-shotlab-root].sl-r34-landscape .sl-r3c1-smart button.active,
  [data-btc-shotlab-root].sl-r34-landscape .sl-r3c1-smart button[aria-pressed="true"],
  [data-btc-shotlab-root].sl-r34-landscape .sl-r3c1-smart > .sl-r8-select-visible.active,
  [data-btc-shotlab-root].sl-r34-landscape .sl-r3c1-smart > .sl-r10-guide-visible.active {
    border:2px solid var(--r8-active);box-shadow:inset 0 0 0 1px #183348;
  }
  /* Short semantic icons: CSS generated content never replaces a button label. */
  [data-btc-shotlab-root].sl-r34-landscape .sl-r8-select-visible::before {content:'⌖';margin-right:4px;font-size:13px}
  [data-btc-shotlab-root].sl-r34-landscape .sl-r10-guide-visible::before {content:'╱';margin-right:4px;font-size:13px}
  [data-btc-shotlab-root].sl-r34-landscape [data-smart="add"]::before {content:'⊕';margin-right:4px;font-size:13px}
  [data-btc-shotlab-root].sl-r34-landscape [data-smart="more"]::before {content:'☷';margin-right:5px;font-size:13px}
  [data-btc-shotlab-root].sl-r34-landscape .sl-r3c3-precision-toggle::before {content:'✥';margin-right:5px;font-size:13px}
  /* Training and visibility panels use the same thematic palette. */
  [data-btc-shotlab-root].sl-r34-landscape .sl-r14-template-panel > summary {
    color:#fff;background:var(--r8-training);border:1px solid #ac8536;border-radius:6px;
  }
  [data-btc-shotlab-root].sl-r34-landscape .sl-r11-visibility-panel > summary {
    background:#123d4d;border:1px solid var(--r8-analysis);border-radius:6px;
  }
  [data-btc-shotlab-root].sl-r34-landscape .sl-r11-all-toggle {
    background:var(--r8-analysis);color:#fff;border:1px solid #36aab1;
  }
  /* Existing view and cueball controls are settings, not editor actions. */
  [data-btc-shotlab-root].sl-r34-landscape .sl-r34-landscape-toggle {
    background:var(--r8-settings);border-color:#8396b2;color:#fff;
  }
  [data-btc-shotlab-root].sl-r34-landscape .sl-r25-float-toggle {
    background:var(--r8-settings);border-color:#8396b2;color:#fff;
  }
  /* Keep target-choice red/pink palette and two-column arrangement unchanged. */
}

/* R15-M1-R9 – visible, high-contrast BTC CI/CD surfaces. Specificity follows actual R5 unified dock. */
@media(max-width:900px){
 [data-btc-shotlab-root].sl-r34-landscape{
  --r9-editor:#126b9c;--r9-training:#aa7817;--r9-analysis:#008c9a;
  --r9-settings:#526987;--r9-active:#ffda55;
 }
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart>.sl-r3c1-row>button,
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart>.sl-r8-select-visible,
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart>.sl-r10-guide-visible,
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart>.sl-r3c3-precision-toggle{
  background:var(--r9-editor)!important;color:#fff!important;border:1px solid #58b9e5!important;
  border-radius:7px!important;min-height:48px!important;
  font-size:clamp(9px,2.7vw,12px)!important;font-weight:650!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.16)!important;
 }
 /* Analyse tools use bright turquoise. */
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart>.sl-r10-guide-visible,
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart>.sl-r3c3-precision-toggle{
  background:var(--r9-analysis)!important;border-color:#6ae1e6!important;
 }
 /* Navigation / view controls use slate blue. */
 [data-btc-shotlab-root].sl-r34-landscape .sl-r34-view-toolbar>.sl-r34-landscape-toggle,
 [data-btc-shotlab-root].sl-r34-landscape .sl-r34-view-toolbar .sl-r25-float-toggle{
  background:var(--r9-settings)!important;border:1px solid #a2b9d6!important;color:#fff!important;
 }
 /* Training and analysis disclosure surfaces. */
 [data-btc-shotlab-root].sl-r34-landscape .sl-r14-template-panel>summary{
  background:var(--r9-training)!important;color:#fff!important;border:1px solid #f1c05c!important;
  border-radius:7px!important;padding:10px!important;font-weight:700!important;
 }
 [data-btc-shotlab-root].sl-r34-landscape .sl-r11-visibility-panel>summary{
  background:#075c69!important;color:#fff!important;border:1px solid #31b7c3!important;
  border-radius:7px!important;padding:10px!important;
 }
 [data-btc-shotlab-root].sl-r34-landscape .sl-r11-all-toggle{
  background:var(--r9-analysis)!important;color:#fff!important;border-color:#6ae1e6!important;
 }
 /* Ensure active selection overrides theme backgrounds. */
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart button.active,
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart button[aria-pressed="true"]{
  border:2px solid var(--r9-active)!important;box-shadow:0 0 0 1px #1b3043,inset 0 1px 0 rgba(255,255,255,.18)!important;
 }
 /* Disabled states keep color family but clearly dimmed. */
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart button:disabled{
  opacity:.4!important;filter:saturate(.55)!important;
 }
 /* Functional symbols, with native labels and click targets intact. */
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart>.sl-r8-select-visible::before{content:'⌖  '!important}
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart>.sl-r10-guide-visible::before{content:'╱  '!important}
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock [data-smart="add"]::before{content:'⊕  '!important}
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock [data-smart="undo"]::before{content:'↶  '!important}
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock [data-smart="redo"]::before{content:'↷  '!important}
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock [data-smart="more"]::before{content:'☷  '!important}
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3d2-target-toggle::before{content:'◎  '!important}
 /* Target choices retain the previously approved red / pink semantics. */
}

/* R15-M1-R12: safe mobile compactness. R11.1 runtime/DOM untouched. */
@media (max-width:900px) {
  /* Table remains ahead of the editor tools in the mobile content flow. */
  .btc-shotlab-shell .sl-app.sl-r34-landscape .sl-main > .sl-stage-wrap {
    order:0!important;
  }
  /* Preserve four-tab navigation and all functional controls, but reduce vertical waste. */
  [data-btc-shotlab-root].sl-r34-landscape .sl-r15-r5-hierarchy {
    margin:4px 0!important;padding:3px!important;gap:4px!important;
  }
  [data-btc-shotlab-root].sl-r34-landscape .sl-r15-r5-tab {
    min-height:40px!important;padding:4px 2px!important;
  }
  [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart > .sl-r3c1-row > button,
  [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart > .sl-r8-select-visible,
  [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart > .sl-r10-guide-visible,
  [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart > .sl-r3c3-precision-toggle {
    min-height:42px!important;padding:6px 5px!important;
  }
  [data-btc-shotlab-root].sl-r34-landscape .sl-r11-visibility-panel > summary,
  [data-btc-shotlab-root].sl-r34-landscape .sl-r14-template-panel > summary {
    padding:7px 9px!important;
  }
  /* Disclosure is native: do not override details open state or pointer events. */
}

/* R15-M1-R13: conservative, mobile-only visual refinement.
   R12 runtime, stage order, target, pointer/zoom and details state remain authoritative. */
@media (max-width:900px) {
  [data-btc-shotlab-root].sl-r34-landscape .sl-r15-r5-hierarchy {
    gap:3px!important;
  }
  [data-btc-shotlab-root].sl-r34-landscape .sl-r15-r5-tab {
    min-width:0!important; min-height:40px!important;
    padding:4px 2px!important; line-height:1.15!important;
  }
  [data-btc-shotlab-root].sl-r34-landscape .sl-r15-r6-tab-icon {
    width:17px!important;height:17px!important;
  }
  [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart > .sl-r3c1-row > button,
  [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart > .sl-r8-select-visible,
  [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart > .sl-r10-guide-visible,
  [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart > .sl-r3c3-precision-toggle {
    box-sizing:border-box!important;min-width:0!important;
    min-height:42px!important;padding:6px 4px!important;
    line-height:1.2!important;overflow-wrap:break-word;
  }
  [data-btc-shotlab-root].sl-r34-landscape .sl-r11-visibility-panel > summary,
  [data-btc-shotlab-root].sl-r34-landscape .sl-r14-template-panel > summary {
    padding:7px 9px!important;line-height:1.3!important;
  }
  /* Keep native focus feedback visible without modifying any click targets. */
  [data-btc-shotlab-root].sl-r34-landscape .sl-r15-r5-tab:focus-visible,
  [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock button:focus-visible {
    outline:2px solid #ffda55!important;outline-offset:2px;
  }
}

/* R15-M1-R13.1 – Mobile menu compact hierarchy; R12 geometry and touch remain untouched. */
@media (max-width:900px) {
  /* Respect the native details state; never force the options to be visible. */
  [data-btc-shotlab-root].sl-r34-landscape .sl-r11-visibility-panel:not([open]) > .sl-r11-visibility-options {display:none!important;}
  [data-btc-shotlab-root].sl-r34-landscape .sl-r11-visibility-panel > summary {min-height:36px!important;padding:7px 9px!important;box-sizing:border-box;cursor:pointer;}
  [data-btc-shotlab-root].sl-r34-landscape .sl-r11-visibility-options {
    display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:5px!important;padding:6px!important;box-sizing:border-box;
  }
  [data-btc-shotlab-root].sl-r34-landscape .sl-r11-visibility-item {
    min-width:0;min-height:36px!important;padding:5px 6px!important;
    gap:4px!important;font-size:11px!important;line-height:1.2!important;
  }
  [data-btc-shotlab-root].sl-r34-landscape .sl-r11-visibility-item > span {min-width:0;overflow-wrap:anywhere;}
  [data-btc-shotlab-root].sl-r34-landscape .sl-r11-visibility-item input {width:18px!important;height:18px!important;flex:none;}
  [data-btc-shotlab-root].sl-r34-landscape .sl-r11-all-toggle {
    grid-column:1/-1;min-height:36px!important;padding:6px!important;font-size:12px!important;
  }
  /* The smart action area stays available when explicitly requested. */
  [data-btc-shotlab-root].sl-r34-landscape .sl-r3c1-actions[hidden] {display:none!important;}
  [data-btc-shotlab-root].sl-r34-landscape .sl-r3c1-status {font-size:11px!important;line-height:1.2!important;}
}

/* R15-M1-R13.2: viewport-bound Hilfslinien overlay. No stage/physics/zoom changes. */
@media (max-width:900px) {
  [data-btc-shotlab-root].sl-r34-landscape .sl-r11-visibility-panel[open] > .sl-r11-visibility-options {
    position:fixed!important;
    left:max(8px,env(safe-area-inset-left))!important;
    right:max(8px,env(safe-area-inset-right))!important;
    bottom:calc(10px + env(safe-area-inset-bottom))!important;
    top:auto!important;
    width:auto!important;
    max-width:460px!important;
    margin:0 auto!important;
    max-height:min(42dvh,310px)!important;
    overflow-y:auto!important;
    overscroll-behavior:contain;
    z-index:2147482000!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:5px!important;
    padding:9px!important;
    border:2px solid #22adbe!important;
    border-radius:10px!important;
    background:#103748!important;
    box-shadow:0 4px 28px rgba(0,0,0,.65)!important;
    -webkit-overflow-scrolling:touch;
  }
  [data-btc-shotlab-root].sl-r34-landscape .sl-r132-overlay-header {
    grid-column:1/-1!important;
    display:flex!important;align-items:center;justify-content:space-between;
    gap:8px;color:#fff;font-size:13px;padding:2px 3px 6px;
  }
  [data-btc-shotlab-root].sl-r34-landscape .sl-r132-overlay-close {
    width:auto!important;min-height:32px!important;padding:5px 9px!important;
    border-radius:6px;background:#1b617b;color:#fff;border:1px solid #52a4b5;
    font-size:12px!important;flex-shrink:0;
  }
  [data-btc-shotlab-root].sl-r34-landscape .sl-r11-visibility-panel:not([open]) > .sl-r11-visibility-options {
    display:none!important;
  }
}

/* R15-M1-R14: conservative mobile button normalization, no table or overlay positioning changes. */
@media(max-width:900px){
 .sl-r34-landscape .sl-mobile-native-tool-dock [data-smart],
 .sl-r34-landscape .sl-mobile-native-tool-dock .sl-r10-guide-visible{min-width:0;white-space:normal;overflow-wrap:break-word;}
}

/* R15-M1-R15: mobile-only responsive polish on accepted R14.
   No DOM reordering, overlay repositioning, JS or touch changes. */
@media (max-width:900px) {
  [data-btc-shotlab-root].sl-r34-landscape .sl-r15-r5-hierarchy {
    display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:4px!important;width:100%!important;box-sizing:border-box!important;
  }
  [data-btc-shotlab-root].sl-r34-landscape .sl-r15-r5-tab {
    min-width:0!important;box-sizing:border-box!important;
    min-height:42px!important;padding:5px 2px!important;
    font-size:clamp(10px,2.7vw,13px)!important;
    overflow-wrap:anywhere!important;
  }
  [data-btc-shotlab-root].sl-r34-landscape .sl-mobile-native-tool-dock .sl-toolgrid {
    display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:5px!important;min-width:0!important;
  }
  [data-btc-shotlab-root].sl-r34-landscape .sl-mobile-native-tool-dock .sl-toolgrid > button {
    min-width:0!important;box-sizing:border-box!important;
    min-height:42px!important;padding:7px 4px!important;
    font-size:clamp(11px,2.9vw,13px)!important;line-height:1.2!important;
    overflow-wrap:anywhere!important;white-space:normal!important;
  }
  [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock button {
    max-width:100%;box-sizing:border-box;overflow-wrap:anywhere;
  }
  [data-btc-shotlab-root].sl-r34-landscape .sl-r11-visibility-panel[open] > .sl-r11-visibility-options {
    max-height:min(42dvh,310px)!important;
  }
}
@media (max-width:360px) {
  [data-btc-shotlab-root].sl-r34-landscape .sl-mobile-native-tool-dock .sl-toolgrid > button {
    font-size:11px!important;padding-inline:2px!important;
  }
}
@media (max-width:900px) and (orientation:landscape) and (max-height:480px) {
  [data-btc-shotlab-root].sl-r34-landscape .sl-r11-visibility-panel[open] > .sl-r11-visibility-options {
    max-height:min(38dvh,210px)!important;
  }
}

/* R15-M1-R16-R1: visual workflow order only. Keep original DOM nodes and
   event authority unchanged. The R15 three-column grid remains authoritative. */
@media (max-width:900px) {
  [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart > .sl-r8-select-visible {order:1!important;}
  [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart > .sl-r3c1-row > .sl-r3d2-target-toggle {order:2!important;}
  [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart > .sl-r10-guide-visible {order:3!important;}
  [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart > .sl-r3c1-row > [data-smart="add"] {order:4!important;}
  [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart > .sl-r3c1-row > [data-smart="undo"] {order:5!important;}
  [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart > .sl-r3c1-row > [data-smart="redo"] {order:6!important;}
  [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart > .sl-r3c1-row > [data-smart="more"] {order:7!important;}
}

/* R16-R2: direct DOM order now matches keyboard order; preserve three columns.
   Only active mobile smart dock; no table, pointer or overlay changes. */
@media(max-width:900px){
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart > .sl-r3c1-row.sl-r162-accessible-order{
   display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
   gap:5px!important;min-width:0!important;
 }
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart > .sl-r3c1-row.sl-r162-accessible-order > button{
   order:0!important;grid-column:auto!important;min-width:0!important;
   min-height:42px!important;box-sizing:border-box!important;
   padding:7px 4px!important;white-space:normal!important;
   overflow-wrap:anywhere!important;
 }
 [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart > .sl-r3c1-row.sl-r162-accessible-order > [data-smart="more"]{grid-column:1/-1!important;}
}

/* R15-M1-R16-R2.1 – Mobile Control Grid Recovery.
   Fix R16-R2 portrait regression: accessible DOM order must not depend on
   .sl-r34-landscape. Only the R16-R2-marked smart control row is affected.
   No scene, physics, canvas, touch or JS changes. */
@media screen and (max-width:900px) {
  [data-btc-shotlab-root] .sl-r3c1-smart {
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  [data-btc-shotlab-root] .sl-r3c1-smart > .sl-r3c1-row.sl-r162-accessible-order {
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    gap:6px!important;
    align-items:stretch!important;
    justify-content:stretch!important;
    box-sizing:border-box!important;
  }
  [data-btc-shotlab-root] .sl-r3c1-smart > .sl-r3c1-row.sl-r162-accessible-order > button {
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:center!important;
    gap:4px!important;
    grid-column:auto!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:44px!important;
    height:auto!important;
    padding:7px 5px!important;
    box-sizing:border-box!important;
    text-align:center!important;
    white-space:normal!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
    line-height:1.2!important;
    order:0!important;
  }
  [data-btc-shotlab-root] .sl-r3c1-smart > .sl-r3c1-row.sl-r162-accessible-order > [data-smart="more"] {
    grid-column:1/-1!important;
  }
}

/* R15-M1-R16-R2.2 – Grid Container Recovery.
   R2.1 fixed the child grid but its parent smart dock still placed the entire
   row into one narrow grid track. Make the accessible row span the parent.
   Scoped to the R16-R2 marker; no scene/physics/JS modifications. */
@media screen and (max-width:900px) {
  [data-btc-shotlab-root] .sl-r3c1-smart > .sl-r3c1-row.sl-r162-accessible-order,
  [data-btc-shotlab-root].sl-r34-landscape .sl-r5-unified-dock .sl-r3c1-smart > .sl-r3c1-row.sl-r162-accessible-order {
    display:grid!important;
    grid-column:1/-1!important;
    grid-row:auto!important;
    justify-self:stretch!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:6px!important;
  }
  [data-btc-shotlab-root] .sl-r3c1-smart > .sl-r3c1-row.sl-r162-accessible-order > button {
    min-width:0!important;
    width:100%!important;
    height:auto!important;
    min-height:44px!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
    white-space:normal!important;
  }
  [data-btc-shotlab-root] .sl-r3c1-smart > .sl-r3c1-row.sl-r162-accessible-order > [data-smart="more"] {
    grid-column:1/-1!important;
  }
}

/* R16-R3.3: visible rack target authority; keep frozen grid intact */
[data-btc-shotlab-root] .sl-r33-rack-quick {display:block;width:100%;min-height:44px;margin:6px 0;padding:9px 12px;border:1px solid #42b9c7;border-radius:6px;background:#10556c;color:#fff;font-weight:700;cursor:pointer;}
[data-btc-shotlab-root] .sl-r33-rack-quick:focus-visible {outline:3px solid #ffcf27;outline-offset:2px;}

/* R16-R3.7: desktop standard navigation; keep mobile styles and SVG untouched. */
@media (min-width:901px){
 [data-btc-shotlab-root].sl-ux-standard .sl-r15-r5-hierarchy{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:10px 0;padding:6px;border:1px solid #2a5369;border-radius:10px;background:#0b2335}
 [data-btc-shotlab-root].sl-ux-standard .sl-r15-r5-tab{min-width:0;min-height:42px;background:#17354b;color:#e3f0f8;border:1px solid #3b6178;border-radius:7px;font-weight:600;cursor:pointer}
 [data-btc-shotlab-root].sl-ux-standard .sl-r15-r5-tab[aria-pressed="true"]{border-color:#35c6dc;background:#0f6178;color:#fff}
}
[data-btc-shotlab-root] .sl-r37-rack-fine:not([hidden]){display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:6px 0}
[data-btc-shotlab-root] .sl-r37-rack-fine button{min-height:44px;flex:1 1 70px;border:1px solid #3e7896;background:#143e58;color:#fff;border-radius:7px}
[data-btc-shotlab-root] .sl-r37-rack-fine span{width:100%;font-size:12px;color:#d9e8f0}

/* R16-R3.7.1 – responsive single-authority navigation, no duplicate DOM controls */
[data-btc-shotlab-root] .sl-r15-r5-hierarchy{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important;padding:5px!important;margin:8px 0!important;background:#0b2335!important;border:1px solid #2a5369!important;border-radius:9px!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
[data-btc-shotlab-root] .sl-r15-r5-hierarchy>.sl-r15-r5-tab{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;min-width:0!important;width:100%!important;min-height:44px!important;height:auto!important;padding:6px 2px!important;font-size:clamp(9px,2.4vw,12px)!important;line-height:1.15!important;overflow:hidden!important;word-break:normal!important;overflow-wrap:normal!important;border:1px solid #375a72!important;border-radius:6px!important;color:#fff!important;cursor:pointer!important}
[data-btc-shotlab-root] .sl-r15-r5-hierarchy>.sl-r15-r5-tab[data-r15-section="editor"]{background:#17608b!important}
[data-btc-shotlab-root] .sl-r15-r5-hierarchy>.sl-r15-r5-tab[data-r15-section="training"]{background:#80601a!important}
[data-btc-shotlab-root] .sl-r15-r5-hierarchy>.sl-r15-r5-tab[data-r15-section="analysis"]{background:#087c85!important}
[data-btc-shotlab-root] .sl-r15-r5-hierarchy>.sl-r15-r5-tab[data-r15-section="settings"]{background:#485d78!important}
[data-btc-shotlab-root] .sl-r15-r5-hierarchy>.sl-r15-r5-tab[aria-pressed="true"]{outline:2px solid #f7c942!important;outline-offset:-2px!important}
[data-btc-shotlab-root] .sl-r15-r5-hierarchy>.sl-r15-r5-tab svg.sl-r15-r6-tab-icon{display:block!important;width:16px!important;height:16px!important;min-width:16px!important;min-height:16px!important;max-width:16px!important;max-height:16px!important;flex:none!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important}
[data-btc-shotlab-root] .sl-r15-r5-hierarchy>.sl-r15-r5-tab svg.sl-r15-r6-tab-icon *{fill:none!important;stroke:currentColor!important;stroke-width:1.8!important}
[data-btc-shotlab-root] .sl-r15-r5-hierarchy>.sl-r15-r5-tab .sl-r15-r6-tab-label{display:block!important;max-width:100%!important;white-space:nowrap!important;font-size:inherit!important;line-height:1.2!important}
@media(min-width:901px){[data-btc-shotlab-root].sl-ux-standard .sl-r15-r5-hierarchy{max-width:700px!important;margin:8px auto!important}}

/* R16-R3.7.2 – continuous rack contact, native responsive controls preserved */
[data-btc-shotlab-root] .sl-r37-rack-fine:not([hidden]){display:flex;flex-direction:column;align-items:stretch;gap:8px;max-width:100%;padding:8px 0}
[data-btc-shotlab-root] .sl-r37-rack-fine label{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;color:#e4eff8;font-size:13px}
[data-btc-shotlab-root] .sl-r37-rack-fine input[type=range]{width:100%;min-height:34px;touch-action:pan-y;accent-color:#f4c44c}
[data-btc-shotlab-root] .sl-r372-controls{display:grid;grid-template-columns:1fr 2fr 1fr;gap:8px}
[data-btc-shotlab-root] .sl-r372-controls button{min-height:44px;flex:auto}

/* R16-R3.7.3: rack chooser and rack contact controls remain discoverable */
[data-btc-shotlab-root] .sl-r373-rack-open{display:block;max-width:100%;min-height:44px;margin:8px 0;padding:9px 14px;border:1px solid #258d9e;border-radius:7px;background:#10334a;color:#eaf6ff;font-weight:600;cursor:pointer}
[data-btc-shotlab-root] .sl-r37-rack-fine[hidden]{display:none!important}
[data-btc-shotlab-root] .sl-r37-rack-fine:not([hidden]){display:flex!important;width:100%;box-sizing:border-box}

/* R16-R3.7.4: single navigation/rack authority; no desktop grid spill. */
@media(min-width:901px){
 [data-btc-shotlab-root].sl-ux-standard .sl-stage-wrap>.sl-r15-r5-hierarchy{width:min(100%,560px)!important;margin:10px auto!important;}
 [data-btc-shotlab-root].sl-ux-standard .sl-authoring-panel .sl-toolgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
 [data-btc-shotlab-root].sl-ux-standard .sl-authoring-panel .sl-toolgrid>.sl-tool{min-height:40px;}
}
[data-btc-shotlab-root] .sl-r14-template-panel{max-width:100%;box-sizing:border-box;}
[data-btc-shotlab-root] .sl-r14-template-panel summary{cursor:pointer;}

/* R16-R3.7.5: desktop stage column and native rack selector recovery. */
@media(min-width:901px){
 [data-btc-shotlab-root]:not(.sl-force-mobile) .sl-main>.sl-stage-wrap{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;gap:8px;}
 [data-btc-shotlab-root]:not(.sl-force-mobile) .sl-stage-wrap>.sl-calibration-workspace{flex:0 0 auto!important;width:100%!important;min-width:0!important;}
 [data-btc-shotlab-root]:not(.sl-force-mobile) .sl-stage-wrap>.sl-r15-r5-hierarchy{flex:0 0 auto!important;width:min(100%,560px)!important;max-width:100%!important;margin:8px auto!important;align-self:center!important;}
 [data-btc-shotlab-root] .sl-r14-template-panel{display:block;margin:8px 0;border:1px solid #177e9d;border-radius:7px;background:#08283b;color:#dceef6;}
 [data-btc-shotlab-root] .sl-r14-template-panel>summary{cursor:pointer;padding:12px;font-weight:650;color:#f2cf57;min-height:44px;box-sizing:border-box;}
 [data-btc-shotlab-root] .sl-r14-template-panel[open]>.sl-r14-template-body{padding:8px 12px 12px;display:grid;gap:10px;}
 [data-btc-shotlab-root] .sl-r14-template-body p{margin:0;font-size:12px;}
 [data-btc-shotlab-root] .sl-r14-template-body select,[data-btc-shotlab-root] .sl-r14-template-body button{min-height:44px;width:100%;box-sizing:border-box;}
 [data-btc-shotlab-root] .sl-r14-template-body small{font-size:11px;color:#b7d5e2;}
}

/* R16-R3.7.6: desktop Standard viewport authority; never applies to mobile preview. */
.sl-r376-rack-host{display:none}
@media(min-width:901px){
 [data-btc-shotlab-root].sl-r376-desktop:not(.sl-force-mobile) .sl-main{grid-template-columns:minmax(160px, .55fr) minmax(270px, 2fr) minmax(250px, 1fr)!important;align-items:start}
 [data-btc-shotlab-root].sl-r376-desktop:not(.sl-force-mobile) .sl-main>.sl-panel.right{grid-column:3!important;display:block!important;position:relative!important;top:0!important;min-width:0}
 [data-btc-shotlab-root].sl-r376-desktop:not(.sl-force-mobile) .sl-stage-wrap>.sl-r15-r5-hierarchy{order:-1;flex:none!important;margin:0 auto!important;width:min(100%,560px)!important}
 [data-btc-shotlab-root].sl-r376-desktop:not(.sl-force-mobile) .sl-calibration-workspace:not(.is-calibrating)>.sl-stage{width:min(100%,var(--sl-r376-table-width,360px))!important;max-width:100%!important;aspect-ratio:928/1695!important;height:auto!important;flex:none!important;margin:0 auto!important}
 [data-btc-shotlab-root].sl-r376-desktop:not(.sl-force-mobile) .sl-main>.sl-r34-view-toolbar{display:none!important}
 [data-btc-shotlab-root].sl-r376-desktop:not(.sl-force-mobile) .sl-r376-rack-host{display:block;margin:8px 0}
 [data-btc-shotlab-root].sl-r376-desktop[data-r376-section="training"] .sl-control-panel>[data-dock-section]:not([data-dock-section="lesson"]),
 [data-btc-shotlab-root].sl-r376-desktop[data-r376-section="editor"] .sl-control-panel>[data-dock-section]:not([data-dock-section="route"]),
 [data-btc-shotlab-root].sl-r376-desktop[data-r376-section="analysis"] .sl-control-panel>[data-dock-section]:not([data-dock-section="route"]),
 [data-btc-shotlab-root].sl-r376-desktop[data-r376-section="settings"] .sl-control-panel>[data-dock-section]:not([data-dock-section="shot"]):not([data-dock-section="speed"]){display:none!important}
 [data-btc-shotlab-root].sl-r376-desktop[data-r376-section="settings"] .sl-r376-rack-host{display:none}
 [data-btc-shotlab-root].sl-r376-desktop .sl-r14-template-panel[open] .sl-r14-template-body{display:grid!important}
}
