.blvd-panel,.blvd-member-closet { --shop-paper:var(--paper); --shop-ink:var(--paper-ink); --shop-line:var(--line-soft); }
#panel.blvd-panel { inset:0; background:var(--ink); }
.blvd-panel .panel-head { padding:14px 24px; align-items:center; gap:16px; border-bottom:1px solid var(--shop-line); }
.blvd-panel .panel-head h2 { font-size:32px; margin:0; }
.blvd-panel .panel-head .ph-district,.blvd-panel .panel-head .ph-sub { display:none; }
.blvd-panel #panel-body { flex:1; padding:0; overflow:hidden; min-height:0; }
.blvd-shop { height:100%; position:relative; overflow:hidden; color:var(--bone); font-family:var(--f-body); background:var(--ink); }
.blvd-scene { position:absolute; inset:0; }
.blvd-scene canvas { display:block; width:100%; height:100%; touch-action:none; }
.blvd-kicker { font:10px var(--f-mono); letter-spacing:.17em; }
.blvd-shop button,.blvd-shop select,.blvd-shop input { font:inherit; min-height:44px; }
.blvd-shop button,.blvd-secondary,.blvd-closet button,.blvd-order button { border:1px solid var(--shop-line); background:var(--ink); color:var(--bone); border-radius:8px; padding:10px 12px; cursor:pointer; }
.blvd-shop button:hover { border-color:var(--bone); }
.blvd-shop button:disabled { opacity:.45; cursor:default; }
.blvd-shop button:focus-visible,.blvd-shop select:focus-visible,.blvd-shop input:focus-visible { outline:2px solid var(--cyan); outline-offset:3px; }
.blvd-menu-actions { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:6px; }
.blvd-menu-actions button { min-width:0; text-align:left; }
.blvd-menu-actions [data-bag-count] { display:inline-grid; place-items:center; padding:1px 5px; margin-left:5px; background:var(--shop-paper); color:var(--shop-ink); border-radius:2px; }
.blvd-menu-destinations label { font-size:12px; display:grid; gap:7px; }
.blvd-menu-destinations select { min-width:0; width:100%; padding:9px; background:var(--ink); color:var(--bone); border:1px solid var(--shop-line); border-radius:8px; }
.blvd-menu-help { display:grid; gap:5px; }
.blvd-menu-help b { font-size:12px; }
.blvd-menu-help span { font-size:11px; line-height:1.5; }
.blvd-bottom { position:absolute; bottom:22px; left:24px; right:24px; display:flex; gap:16px; align-items:end; justify-content:flex-end; pointer-events:none; }
.blvd-bottom button { pointer-events:auto; }
.blvd-shop .blvd-interact { max-width:100%; background:var(--shop-paper); color:var(--shop-ink); font-size:12px; }
.blvd-drawer { position:absolute; top:0; bottom:0; right:0; width:min(440px,100%); background:var(--panel-wash); border-left:1px solid var(--gold); box-shadow:var(--panel-shadow); display:flex; flex-direction:column; z-index:3; }
.blvd-drawer[hidden] { display:none; }
.blvd-drawer-head { display:flex; align-items:center; justify-content:space-between; gap:15px; padding:16px 20px; border-bottom:1px solid var(--shop-line); background:var(--shop-paper); color:var(--shop-ink); }
.blvd-drawer-head h3 { font:700 29px var(--f-display); line-height:1.05; overflow-wrap:anywhere; }
.blvd-drawer-head button { font-size:24px; border:1px solid var(--paper-muted); padding:0; width:44px; height:44px; flex:none; color:var(--shop-ink); background:transparent; }
.blvd-shop .blvd-drawer-head button:focus-visible { outline-color:var(--shop-ink); }
.blvd-drawer-body { padding:20px; overflow:auto; min-height:0; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:var(--gold) transparent; }
.blvd-drawer-body p { font-size:13px; line-height:1.6; margin:0 0 15px; }
.blvd-drawer-body .blvd-small,.blvd-small { font-size:11px; color:var(--bone-dim); line-height:1.55; }
.blvd-search,.blvd-field,.blvd-order label { display:grid; gap:6px; font-size:12px; margin:15px 0; }
.blvd-search input,.blvd-field select,.blvd-order input { padding:11px; min-width:0; width:100%; box-sizing:border-box; border:1px solid var(--shop-line); background:var(--ink-2); color:var(--bone); border-radius:8px; }
.blvd-filters { display:flex; gap:5px; flex-wrap:wrap; margin:12px 0; }
.blvd-filters button { font-size:11px; padding:8px 10px; min-height:44px; }
.blvd-filters button[aria-pressed=true] { background:var(--shop-paper); color:var(--shop-ink); }
.blvd-products { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:12px; }
.blvd-shop .blvd-product { min-width:0; padding:0 0 12px; overflow:hidden; text-align:left; display:flex; flex-direction:column; }
.blvd-product>div { background:var(--shop-paper); aspect-ratio:1; width:100%; }
.blvd-product img { width:100%; height:100%; object-fit:contain; }
.blvd-product b { font-size:13px; line-height:1.4; padding:12px 10px 5px; overflow-wrap:anywhere; }
.blvd-product span { font-size:11px; padding:0 10px; margin-top:auto; }
.blvd-detail-image { width:100%; aspect-ratio:1; object-fit:contain; background:var(--shop-paper); margin:15px 0; }
.blvd-shop .blvd-primary,.blvd-primary { display:block; width:100%; padding:14px; border:0; color:var(--shop-ink); background:var(--shop-paper); font-weight:600; font-size:13px; border-radius:8px; cursor:pointer; margin:12px 0; }
.blvd-drawer-body .blvd-price { font-size:24px; font-weight:600; }
.blvd-bag-lines>div { display:flex; gap:12px; align-items:center; padding:15px 0; border-bottom:1px solid var(--shop-line); font-size:12px; }
.blvd-bag-lines>div span { flex:1; min-width:0; }
.blvd-bag-lines b,.blvd-bag-lines small { display:block; line-height:1.5; }
.blvd-bag-lines small { color:var(--bone-dim); }
.blvd-bag-lines>div button { padding:6px; }
.blvd-total { display:flex; justify-content:space-between; gap:12px; padding:20px 0; font-size:15px; }
.blvd-fulfillment { border:0; padding:0; margin:10px 0; }
.blvd-fulfillment legend { font-size:13px; margin-bottom:10px; }
.blvd-fulfillment label { display:flex; gap:10px; align-items:start; padding:13px 10px; border:1px solid var(--shop-line); background:var(--ink-2); margin-bottom:8px; border-radius:8px; cursor:pointer; }
.blvd-fulfillment label:has(input:checked) { border-color:var(--gold); box-shadow:inset 3px 0 0 var(--gold); }
.blvd-fulfillment input { width:auto; margin-top:4px; accent-color:var(--shop-paper); }
.blvd-fulfillment b { font-size:12px; display:block; }
.blvd-fulfillment small { font-size:10px; line-height:1.5; display:block; margin-top:6px; color:var(--bone-dim); }
.blvd-error { color:var(--pink); padding:10px; border:1px solid var(--pink); font-size:12px; }
.blvd-closet article { padding:15px 0; border-bottom:1px solid var(--shop-line); display:grid; gap:8px; }
.blvd-closet article small { color:var(--bone-dim); }
.blvd-order { margin-top:22px; font-size:12px; }
@media(max-width:700px){
  .blvd-panel .panel-head {padding:10px 14px;} .blvd-panel .panel-head h2 {font-size:25px;}
  .blvd-bottom {bottom:16px;left:14px;right:14px;flex-wrap:wrap;align-items:center;gap:8px;}
  .blvd-drawer {top:0;width:100%;} .blvd-drawer-body {padding:16px;}
}
@media(prefers-reduced-motion:reduce){.blvd-panel.open {animation:none!important;}}

.blvd-guide-options {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px;margin:18px 0 26px;}
.blvd-guide-options button {min-width:0;text-align:left;line-height:1.5;padding:13px;}
.blvd-drawer-body h4 {font:600 22px var(--f-display);margin:12px 0;}

/* One offscreen room is prepared once; its animation/input stay suspended until entry. */
.blvd-preload { position:fixed; left:-200vw; top:0; width:100vw; height:calc(100vh - 74px); visibility:hidden; pointer-events:none; contain:strict; }
.blvd-loading { position:absolute; inset:0; z-index:5; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:16px; background:var(--ink); color:var(--bone); }
.blvd-loading[hidden] { display:none; }

.blvd-drawer{font-family:var(--f-body)}.blvd-menu-actions button,.blvd-shop .blvd-interact,.blvd-shop .blvd-primary{font:700 17px var(--f-display);letter-spacing:.025em}
