/* Shared compact target picker. The existing page scripts still own target changes;
   this layer only controls presentation, focus, and the picker shell. */
.shoot-target-selector { position:relative; min-width:0; }
.shoot-target-selector__trigger { display:grid; grid-template-columns:minmax(0,1fr) auto; column-gap:8px; align-items:center; width:100%; min-height:44px; padding:6px 11px; color:var(--shoot-text); text-align:left; cursor:pointer; background:var(--shoot-surface-strong); border:1px solid var(--shoot-line-strong); border-radius:var(--shoot-radius-control); }
.shoot-target-selector__trigger:hover { border-color:var(--shoot-accent-line); }
.shoot-target-selector__eyebrow { grid-column:1; color:var(--shoot-text-dim); font-size:.64rem; font-weight:700; line-height:1.1; letter-spacing:.06em; }
.shoot-target-selector__value { grid-column:1; overflow:hidden; font-size:.83rem; font-weight:700; line-height:1.2; text-overflow:ellipsis; white-space:nowrap; }
.shoot-target-selector__chevron { grid-column:2; grid-row:1 / span 2; color:var(--shoot-accent); font-size:1rem; transition:transform .16s ease; }
.shoot-target-selector.is-open .shoot-target-selector__chevron { transform:rotate(180deg); }
.shoot-target-selector .shoot-target-selector__dialog { position:absolute; top:calc(100% + 7px); right:0; z-index:200; display:block; width:min(360px, calc(100vw - 24px)); max-height:min(480px, calc(100vh - 100px)); padding:12px; overflow:auto; color:var(--shoot-text); background:var(--shoot-surface-solid); border:1px solid var(--shoot-line-strong); border-radius:14px; box-shadow:0 18px 50px rgba(0,0,0,.48); }
.shoot-target-selector__dialog[hidden] { display:none!important; }
.shoot-target-selector__header { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:10px; }
.shoot-target-selector__header p { margin:0 0 2px; color:var(--shoot-text-dim); font-size:.64rem; font-weight:700; letter-spacing:.08em; }
.shoot-target-selector__header h2 { margin:0; font-size:.95rem; line-height:1.2; }
.shoot-target-selector__close { display:grid; width:32px; height:32px; place-items:center; padding:0; color:var(--shoot-text-dim); font-size:1.25rem; cursor:pointer; background:transparent; border:1px solid var(--shoot-line); border-radius:50%; }
.shoot-target-selector__options { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:6px; }
.shoot-target-selector__options button { min-height:40px; padding:7px 9px; overflow:hidden; color:var(--shoot-text-dim); font:600 .76rem/1.2 inherit; text-align:left; text-overflow:ellipsis; white-space:nowrap; cursor:pointer; background:var(--shoot-surface-strong); border:1px solid var(--shoot-line); border-radius:8px; }
.shoot-target-selector__options button:hover, .shoot-target-selector__options button.active { color:var(--shoot-accent); background:var(--shoot-accent-soft); border-color:var(--shoot-accent-line); }
.shoot-target-selector__trigger:focus-visible, .shoot-target-selector__close:focus-visible, .shoot-target-selector__options button:focus-visible { outline:2px solid var(--shoot-accent); outline-offset:2px; }
@media (max-width:767px) {
  .shoot-target-selector__backdrop { position:fixed; inset:0; z-index:199; background:rgba(0,0,0,.54); }
  .shoot-target-selector__dialog { position:fixed; top:auto; right:0; bottom:0; left:0; z-index:200; width:100%; max-height:min(72vh, 540px); padding:16px 16px calc(16px + env(safe-area-inset-bottom, 0px)); border-right:0; border-bottom:0; border-left:0; border-radius:18px 18px 0 0; }
  .shoot-target-selector__dialog::before { display:block; width:36px; height:4px; margin:0 auto 13px; content:""; background:var(--shoot-line-strong); border-radius:4px; }
  .shoot-target-selector__options { grid-template-columns:repeat(2, minmax(0, 1fr)); gap:8px; }
  .shoot-target-selector__options button { min-height:48px; padding:9px 11px; }
}
@media (min-width:768px) { .shoot-target-selector__backdrop { display:none!important; } }
@media (prefers-reduced-motion:reduce) { .shoot-target-selector__chevron { transition:none; } }
