/* The Lane Wheel overlay (views/_laneWheel.js, t-p15-q6hrrh) and its header button. The wheel is a square box; the ring slices are
   placed by left/top percent from laneWheelViewModel.slicePos and centred on that point; the hub (or Back) sits in the middle.
   Sized with min(), so it fits a 375 px screen without scrolling sideways. Loaded after header.css. */
.hdr-wheel{order:0;flex:none;display:inline-flex;align-items:center;justify-content:center;width:36px;
  height:clamp(26px,calc(var(--hud-hdr,54px) - 8px),36px);margin-right:8px;padding:0;border:1px solid var(--border);border-radius:8px;
  background:var(--surface2);color:var(--accent);cursor:pointer;transition:border-color .15s}
.hdr-wheel:hover{border-color:var(--accent)}
.hdr-wheel:focus-visible{outline:2px solid var(--accent);outline-offset:2px}

.lw-scrim{position:fixed;inset:0;z-index:1650;background:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center;padding:12px;overflow:auto}
.lw{width:min(480px,100%);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg,12px);padding:12px 12px 10px;
  box-shadow:0 12px 40px rgba(0,0,0,.5);animation:lw-in .16s ease-out}
.lw-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.lw-title{margin:0;font-size:16px;font-weight:600}
.lw-close{width:32px;height:32px;border:1px solid var(--border);border-radius:8px;background:var(--surface2);color:var(--text);font-size:20px;line-height:1;cursor:pointer}
.lw-wheel{position:relative;width:min(400px,100%);aspect-ratio:1;margin:6px auto;border-radius:50%;
  background:radial-gradient(circle,var(--surface2) 0 24%,transparent 24.5% 58%,var(--surface2) 58.5% 59%,transparent 59.5%)}
.lw-hub{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:36%;display:flex;flex-direction:column;gap:4px}
.lw button.lw-hub-btn,.lw button.lw-slice,.lw button.lw-chip{font:inherit;font-size:12px;line-height:1.2;color:var(--text);background:var(--bg);
  border:1px solid var(--border);border-radius:8px;padding:6px 6px;cursor:pointer;overflow-wrap:anywhere;transition:border-color .12s,background .12s}
.lw button.lw-back{color:var(--accent)}
.lw-slice{position:absolute;transform:translate(-50%,-50%);width:26%;min-height:36px;text-align:center}
.lw-n{display:inline-block;margin-left:2px;font-size:10px;color:var(--text-muted)}
.lw button:hover{border-color:var(--accent)}
.lw button:focus-visible{outline:2px solid var(--accent);outline-offset:1px;border-color:var(--accent)}
.lw-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}
.lw button.lw-chip[aria-current="true"]{border-color:var(--accent);background:var(--surface2)}
.lw-hint{margin:8px 0 0;font-size:11px;color:var(--text-muted);text-align:center}
@keyframes lw-in{from{opacity:0;transform:scale(.94)}to{opacity:1;transform:none}}
@media (max-width:420px){.lw button.lw-slice,.lw button.lw-hub-btn{font-size:11px;padding:4px}.lw-slice{width:27%}}
@media (prefers-reduced-motion:reduce){.lw{animation:none}.hdr-wheel,.lw button{transition:none}}
