:root{font-family:Inter,Segoe UI,Microsoft YaHei,sans-serif;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--page);color:var(--text)}button,input,select{font:inherit;color:inherit}button,select,input:not([type=range]){border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}button{cursor:pointer;padding:8px 12px;display:inline-flex;align-items:center;justify-content:center;gap:6px;font-size:13px}button:hover:not(:disabled){background:var(--accent-soft);color:var(--accent)}button[aria-pressed=true]{color:var(--accent);background:var(--accent-soft);border-color:var(--accent-line)}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.shot-page{min-height:100dvh;background:radial-gradient(ellipse at 0 0,var(--surface-soft),transparent 60%),var(--page)}.shot-main{max-width:1800px;margin:auto;padding:28px 32px 56px}.shot-eyebrow{color:var(--muted);letter-spacing:.15em;font-size:12px}.shot-heading h1{margin:8px 0;font-size:30px}.shot-heading p{margin:0 0 12px;color:var(--text-secondary)}.shot-note{margin:0 0 18px;padding:10px 14px;border-radius:var(--radius-lg);font-size:13px;line-height:1.6;color:var(--text-secondary);background:var(--surface-soft);border:1px solid var(--line)}.shot-empty{padding:40px;text-align:center;color:var(--muted)}.shot-muted{color:var(--muted);font-size:13px}.shot-layout{display:grid;grid-template-columns:300px minmax(0,1fr) 340px;gap:16px;align-items:start}.shot-panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);padding:16px;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.shot-panel h2{margin:4px 0 10px;font-size:15px}.shot-panel h2:not(:first-child){margin-top:18px;padding-top:14px;border-top:1px solid var(--line)}.shot-panel h3{margin:16px 0 8px;font-size:13px;color:var(--text-secondary)}.shot-field{display:grid;gap:6px;margin-bottom:12px;font-size:13px;color:var(--text-secondary)}.shot-field b{color:var(--text)}.shot-field input:not([type=range]),.shot-field select{width:100%;padding:9px 10px;font-size:14px;color:var(--text)}.shot-field input[type=range]{width:100%}.shot-crew-line{margin:0;font-size:13px;color:var(--text-secondary);line-height:1.6}.shot-quick{display:grid;grid-template-columns:1fr 1fr;gap:6px}.shot-quick button{justify-content:flex-start}.shot-quick button:disabled{opacity:.5;cursor:progress}.shot-facts{display:grid;gap:4px;margin:8px 0 0;font-size:13px}.shot-facts div{display:flex;justify-content:space-between;gap:10px;padding:5px 0;border-bottom:1px dashed var(--line)}.shot-facts dt{color:var(--text-secondary)}.shot-facts dd{margin:0;text-align:right;font-weight:600}.shot-facts .pos{color:#2f9e5b}.shot-facts .neg{color:#e5484d}.shot-stats{grid-template-columns:1fr 1fr;column-gap:14px}.shot-stage{display:grid;gap:8px;min-width:0}.shot-toolbar{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.shot-views{display:inline-flex;gap:4px;padding:3px;border-radius:var(--radius-lg);background:var(--surface-soft);border:1px solid var(--line)}.shot-views button{border:0;background:transparent;padding:6px 10px}.shot-toolbar>button{margin-left:auto}.shot-toolbar>button+button{margin-left:0}.shot-scene{position:relative;height:min(70vh,680px);min-height:380px;border-radius:var(--radius-lg);overflow:hidden;border:1px solid var(--line);background:linear-gradient(180deg,var(--surface),var(--surface-soft));touch-action:none}.shot-scene canvas{display:block;width:100%;height:100%}.shot-scene-error{position:absolute;inset:0;display:grid;place-items:center;margin:0;padding:24px;color:var(--muted)}.shot-reticle{position:absolute;left:0;top:0;z-index:2;display:none;pointer-events:none;--verdict: #28cd46}.shot-reticle[data-verdict=chance]{--verdict: #ffc800}.shot-reticle[data-verdict=ineffective]{--verdict: #eb2828}.shot-reticle svg{position:absolute;left:-20px;top:-20px;width:40px;height:40px;overflow:visible;fill:none;stroke:var(--verdict);stroke-width:2.4;stroke-linecap:round;filter:drop-shadow(0 0 1px #000) drop-shadow(0 0 2px rgba(0,0,0,.6))}.shot-reticle .dot{fill:var(--verdict);stroke:none}.shot-reticle span{position:absolute;left:22px;top:10px;display:grid;gap:1px;white-space:nowrap;padding:4px 8px;border-radius:6px;font-size:12px;line-height:1.4;color:#eef2f8;background:#0a0e16cc}.shot-reticle.flip span{left:auto;right:22px}.shot-reticle b{color:var(--verdict);font-size:13px}.shot-reticle small{font-size:11.5px;color:#c9d1de;white-space:pre}.shot-reticle small:empty{display:none}.shot-hint{font-size:13px;color:var(--text-secondary);min-height:20px}.shot-legend{display:flex;flex-wrap:wrap;gap:6px 14px;margin:0;padding:0;list-style:none;font-size:12px;color:var(--text-secondary)}.shot-legend i{display:inline-block;width:14px;height:4px;border-radius:2px;margin-right:5px;vertical-align:middle}.lg-shell{background:#ffc22e}.lg-aim{background:repeating-linear-gradient(90deg,#c9d1de 0 5px,transparent 5px 8px)}.lg-pen{background:#ff3b30}.lg-spall{background:#ff9f0a}.lg-jet{background:#40c8ff}.lg-frag{background:#ffd60a}.lg-pressure{background:#ff2d3a}.shot-legend .lg-crew,.shot-legend .lg-ammo,.shot-legend .lg-fuel,.shot-legend .lg-liner,.shot-legend .lg-dmg,.shot-legend .lg-dead,.shot-legend .lg-effective,.shot-legend .lg-chance,.shot-legend .lg-ineffective{height:10px;width:10px}.lg-effective{background:#28cd46}.lg-chance{background:#ffc800}.lg-ineffective{background:#eb2828}.lg-liner{background:#a77bf0}.lg-crew{background:#3f8cff}.lg-ammo{background:#e0a526}.lg-fuel{background:#f07b2a}.lg-dmg{background:#f2c94c}.lg-dead{background:#e5484d}.shot-verdict{display:grid;gap:4px;padding:12px 14px;border-radius:var(--radius-lg);border:1px solid var(--line);background:var(--surface-soft)}.shot-verdict b{font-size:18px}.shot-verdict span{font-size:14px;color:var(--text-secondary)}.shot-verdict.v-destroyed,.shot-verdict.v-knockedOut{border-color:#e5484d66;background:light-dark(#fdecec,#3a1c22)}.shot-verdict.v-destroyed b,.shot-verdict.v-knockedOut b{color:#e5484d}.shot-verdict.v-damaged{border-color:#f2c94c88;background:light-dark(#fff7e0,#3a321a)}.shot-verdict.v-noPen,.shot-verdict.v-ricochet{border-color:var(--accent-line);background:var(--accent-soft)}.shot-states{list-style:none;margin:0;padding:0;display:grid;gap:4px;font-size:13px}.shot-states li{display:flex;justify-content:space-between;padding:6px 10px;border-radius:var(--radius);background:var(--surface-soft)}.shot-states .s-damaged b{color:#c58a00}.shot-states .s-destroyed b{color:#e5484d}.shot-states .s-ok b{color:#2f9e5b;font-weight:500}.shot-log{margin:0;padding-left:18px;font-size:13px;line-height:1.6;color:var(--text-secondary)}.shot-repeat{width:100%;margin-top:14px}.shot-armor{margin-top:16px;font-size:12px}.shot-armor summary{cursor:pointer;font-weight:600;font-size:13px;padding:6px 0}.shot-armor table{width:100%;border-collapse:collapse}.shot-armor th,.shot-armor td{padding:5px 4px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}.shot-armor code{font-size:11px;color:var(--muted);overflow-wrap:anywhere}@media(max-width:1280px){.shot-layout{grid-template-columns:280px minmax(0,1fr)}.shot-result{grid-column:1 / -1}}@media(max-width:860px){.shot-main{padding:18px 12px 40px}.shot-layout{grid-template-columns:minmax(0,1fr)}.shot-stage{order:-1}.shot-scene{height:58vh;min-height:320px}.shot-heading h1{font-size:24px}}.shot-picker,.shot-picker-box{position:relative}.shot-picker-box input{padding-right:32px!important}.shot-picker-box svg{position:absolute;right:10px;top:50%;transform:translateY(-50%);color:var(--muted);pointer-events:none}.shot-picker-list{position:absolute;z-index:20;top:100%;left:0;right:0;margin:4px 0 0;padding:4px;list-style:none;max-height:340px;overflow:auto;border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface-floating);box-shadow:0 12px 32px light-dark(rgba(45,65,100,.16),rgba(0,0,0,.4));overscroll-behavior:contain}.shot-picker-list li{display:flex;justify-content:space-between;align-items:baseline;gap:10px;padding:8px 10px;border-radius:var(--radius);cursor:pointer;color:var(--text)}.shot-picker-list li b{font-weight:500;font-size:14px}.shot-picker-list li small{flex-shrink:0;color:var(--muted);font-size:12px}.shot-picker-list li.active{background:var(--accent-soft)}.shot-picker-list li[aria-selected=true] b{color:var(--accent);font-weight:600}.shot-picker-list .shot-picker-empty{cursor:default;color:var(--muted);font-size:12px;justify-content:center}.shot-picker-list .shot-picker-group{position:sticky;top:-4px;cursor:default;padding:6px 10px 4px;font-size:12px;font-weight:600;color:var(--text-secondary);background:var(--surface-floating);border-bottom:1px solid var(--line);border-radius:0}.shot-slopes{margin-top:12px}.shot-slopes .shot-field{margin-bottom:6px}.shot-slopes .shot-muted{margin:4px 0 0;line-height:1.6}.shot-link{border:0;background:none;padding:0 0 0 6px;color:var(--accent);font-size:13px}
