[hidden], .symbols { display: none !important; }
.pack-shell, .pack-footer {
  width: min(1176px, calc(100% - 2 * max(16px, var(--lf-gutter))));
  margin: 0 auto;
}
.pack-shell { padding: clamp(15px, 3vw, 38px) 0 0; }
.pack-shell button { font: inherit; color: inherit; cursor: pointer; }
.pack-shell :is(button, a, summary, input):focus-visible, .pack-footer a:focus-visible {
  outline: 3px solid var(--lf-laser); outline-offset: 3px;
}
.pack-shell button:disabled { cursor: default; }
.lab-back, .pack-footer, .venue-note { font-size: var(--lf-t-sm); }
.lab-back { display: inline-flex; align-items: center; min-height: 32px; color: var(--lf-ink-2); font-weight: 700; text-decoration: none; }
.lab-back:hover, .pack-footer a:hover { text-decoration: underline; }
.pack-intro { margin-block: 12px 22px; }
.pack-intro .lineup-topbar { display: block; min-height: 0; padding: 0; }
.pack-intro p { margin: 8px 0 0; color: var(--lf-ink-2); font-size: var(--lf-t-md); }
.bench { display: grid; grid-template-columns: minmax(0, 1.48fr) minmax(340px, 1fr); align-items: start; gap: clamp(16px, 2.4vw, 32px); }
.set { min-width: 0; border: 1px solid var(--lf-line-2); border-radius: 12px; overflow: hidden; background: #10152a; }
.stage { position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 1.4; background: #605067; }
.room-backdrop { position: absolute; inset: 0; background: #826c81 url(./room.webp) center center / cover no-repeat; transition: filter .55s ease; }
.stage-label { position: absolute; top: 15px; left: 15px; display: inline-flex; gap: 8px; align-items: center; padding: 6px 10px; border-radius: 4px; background: #171529da; color: #fff3e5; font: 700 13px/1.2 var(--lf-body); }
.scene-dot { width: 7px; height: 7px; background: #ffc087; border-radius: 50%; }
.night-name { display: none; }
[data-phase="night"] .room-backdrop { filter: brightness(.42) saturate(.78) hue-rotate(322deg); }
[data-phase="night"] .scene-dot { background: var(--lf-laser); }
[data-phase="night"] .night-name { display: inline; }
[data-phase="night"] .day-name { display: none; }
.cat { position: absolute; z-index: 1; left: 3.5%; bottom: 13.5%; width: 40%; aspect-ratio: 1145 / 1374; filter: drop-shadow(2px 9px 5px #19112b42); transform-origin: 50% 95%; pointer-events: none; }
.cat img { display: block; width: 100%; height: 100%; }
.cat-eye { position: absolute; top: 22.36%; width: 8.2%; aspect-ratio: 1; border-radius: 50%; background: #050713; transform: translate(calc(-50% + var(--gaze-x, 5%)),calc(-50% + var(--gaze-y, 1%))); }
.cat-eye.left { left: 40.96%; }.cat-eye.right { left: 53.5%; }
[data-phase="night"] .cat { filter: brightness(.8) drop-shadow(1px 4px 6px #03082070); }
.bag-view { position: absolute; z-index: 2; right: 1.5%; bottom: 7%; width: 59%; height: 78%; }
.bag-view::before,.cat::before { content: ""; position: absolute; pointer-events: none; inset: auto 7% 2% 7%; height: 6%; border-radius: 50%; background: #1c112e66; filter: blur(7px); }
.cat::before { bottom: .5%; z-index: -1; }
#bag-canvas, .bag-poster { position: absolute; width: 100%; height: 100%; object-fit: contain; inset: 0; }
#bag-canvas { touch-action: pan-y; cursor: grab; }
#bag-canvas:active { cursor: grabbing; }
.rotate { position: absolute; z-index: 3; bottom: 12px; right: 12px; display: inline-flex; align-items: center; background: #15152ae8; color: #fcf2e7; border-radius: 24px; }
.rotate span { font-size: 12px; font-weight: 700; }
.rotate button { background: transparent; border: 0; min-width: 42px; min-height: 42px; font-size: 23px; border-radius: 50%; }
.rotate button:hover { background: #ffffff20; }
.dialogue { display: flex; align-items: baseline; gap: 13px; padding: 16px 19px; min-height: 70px; }
.dialogue strong { font: 800 20px/1.1 var(--lf-display); color: #ffb783; }
.dialogue p { margin: 0; font-size: var(--lf-t-sm); color: var(--lf-ink-1); line-height: 1.5; }
.kit-panel { min-width: 0; padding: 1px 0 0; }
.kit-panel h2, .kit-panel h3, .kit-panel p { margin: 0; }
.kit-panel h2 { font: 800 clamp(30px,3vw,42px)/1 var(--lf-display); }
.kit-panel .support { color: var(--lf-ink-2); font-size: var(--lf-t-sm); line-height: 1.5; margin-top: 6px; }
.scenario { display: inline-flex; max-width: 100%; align-items: stretch; border-radius: 7px; padding: 3px; background: var(--lf-night-0); border: 1px solid var(--lf-line-2); margin-bottom: 22px; }
.scenario button { padding: 8px 12px; min-height: 38px; border: 0; background: transparent; color: var(--lf-ink-2); font-weight: 700; border-radius: 4px; font-size: var(--lf-t-sm); }
.scenario button[aria-pressed="true"] { color: var(--lf-ink-1); background: var(--lf-night-4); box-shadow: inset 0 0 0 1px var(--lf-line-2); }
.section-title, .pocket-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
#gear-count { font: 700 18px/1 var(--lf-display); color: var(--lf-ink-2); white-space: nowrap; }
.gear-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; margin: 15px 0 18px; }
.item { position: relative; display: flex; flex-direction: column; align-items: flex-start; text-align: left; padding: 8px 10px 9px; border: 1px solid var(--lf-line-2); background: var(--lf-night-2); border-radius: 6px; }
.item svg { width: 44px; height: 37px; margin-bottom: 2px; }
.item .item-name { font: 700 17px/1.15 var(--lf-display); }
.item .item-status { font-size: 11px; line-height: 1.4; color: var(--lf-ink-3); }
.item[aria-pressed="true"] { background: #1b2940; border-color: var(--lf-laser); box-shadow: inset 0 0 0 1px var(--lf-laser); }
.item[data-packed="true"]::after { content: "✓"; position: absolute; top: 5px; right: 8px; color: var(--lf-laser); font-weight: bold; font-size: 14px; }
.item:hover, .pockets button:not(:disabled):hover, .night-pockets button:not(:disabled):hover { border-color: var(--lf-laser); }
.pocket-heading { align-items: center; min-height: 31px; margin-bottom: 4px; }
.pocket-heading h3,.list-group h3 { font: 700 19px/1.2 var(--lf-display); }
.pockets { display: grid; gap: 5px; grid-template-columns: repeat(3,minmax(0,1fr)); }
.pockets button,.night-pockets button { background: var(--lf-night-2); border: 1px solid var(--lf-line-2); border-radius: 4px; min-height: 44px; padding: 6px; font-size: var(--lf-t-sm); font-weight: 700; }
.pockets button[aria-pressed="true"] { border-color: var(--lf-laser); color: var(--lf-laser); }
.pockets button:disabled { opacity: .45; }
.pack-shell .primary { width: 100%; margin-top: 16px; min-height: 48px; padding: 9px 15px; border: 0; border-radius: 5px; background: var(--lf-volt); color: var(--lf-volt-ink); font: 800 21px/1.1 var(--lf-display); }
.pack-shell .primary:hover { background: #ffff89; }
.secondary, .text-button { border: 0; background: transparent; color: var(--lf-ink-2); text-decoration: underline; text-underline-offset: 3px; }
.pack-shell .secondary { display: block; min-height: 42px; margin: 5px auto 0; font-size: var(--lf-t-sm); }
.pack-shell .text-button { font-size: 12px; min-height: 32px; }
.night-pockets { display: grid; gap: 8px; margin-top: 20px; }
.night-pockets button { text-align: left; padding: 14px; }
#night-status { margin-top: 18px; color: var(--lf-laser); }
.list-group { margin-top: 20px; }
.list-group h3 { padding-bottom: 5px; color: #ffba8c; }
.check-row { display: grid; grid-template-columns: 20px 1fr auto; gap: 9px; align-items: center; min-height: 43px; padding: 6px 1px; border-top: 1px solid var(--lf-line-1); cursor: pointer; }
.check-row input { width: 18px; height: 18px; margin: 0; accent-color: var(--lf-laser); }
.check-name { font-weight: 700; font-size: var(--lf-t-sm); }
.check-detail { color: var(--lf-ink-2); font-size: 12px; text-align: right; }
.check-row:has(input:checked) .check-name { color: var(--lf-ink-3); text-decoration: line-through; }
.venue-note { max-width: 72ch; margin-block: 16px; color: var(--lf-ink-2); line-height: 1.6; }
.venue-note summary { cursor: pointer; width: fit-content; padding: 9px 0; color: var(--lf-ink-1); font-weight: 700; }
.venue-note p { margin: 5px 0; }.venue-note a { color: var(--lf-laser); }
.pack-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--lf-line-1); padding: 14px 0 22px; color: var(--lf-ink-3); }
@media (max-width: 760px) {
  .bench { grid-template-columns: 1fr; gap: 19px; }
  .pack-shell { padding-top: 10px; }
  .pack-intro { margin: 5px 0 14px; }
  .pack-intro p { font-size: var(--lf-t-sm); max-width: 46ch; }
  .stage { aspect-ratio: 1.75; }
  .cat { width: min(35%, 190px); left: 9%; }
  .bag-view { height: 90%; bottom: 3%; }
  .stage-label { top: 8px; left: 8px; padding: 5px 7px; font-size: 11px; }
  .rotate { bottom: 6px; right: 6px; }
  .rotate button { min-height: 36px; min-width: 36px; }
  .dialogue { padding: 10px 12px; min-height: 48px; }
  .scenario { margin-bottom: 14px; }
  .item { padding: 7px 9px; }
  .kit-panel h2 { font-size: 30px; }
}
@media (max-width: 360px) {
  .check-row { grid-template-columns: 20px 1fr; column-gap: 6px; row-gap: 0; }
  .check-detail { grid-column: 2; text-align: left; }
  .item .item-name { font-size: 16px; }
}
@media (prefers-reduced-motion: no-preference) {
  .cat-eye { transition: transform .14s; }
  .cat.hello { animation: hello .48s ease-in-out; }
  @keyframes hello { 35% { transform: translateY(-4%) rotate(-3deg); } 75% { transform: rotate(2deg); } }
}
@media (prefers-reduced-motion: reduce) { .room-backdrop { transition: none; } }
