[hidden] { display: none !important; }
#rave-kit {
  --shell-line: #99aace3e;
  --apricot: #ffc097;
  width: min(1176px, calc(100% - 2 * max(16px, var(--lf-gutter))));
  margin: 0 auto;
  padding: clamp(12px, 2vw, 28px) 0 20px;
}
#rave-kit button { cursor: pointer; font-family: inherit; color: inherit; }
#rave-kit :is(a, button, input, h2):focus-visible { outline: 3px solid var(--lf-laser); outline-offset: 3px; }
.kit-mast, .demo-actions, .kit-footer, #scenes, #zones { display: flex; align-items: center; }
.kit-mast { justify-content: space-between; }
.lab-link, .kit-footer a { color: var(--lf-ink-2); font-size: 13px; font-weight: 700; text-underline-offset: 3px; }
.lab-link { text-decoration: none; padding: 8px 0; }.lab-link:hover { text-decoration: underline; }
.kit-intro { position: relative; padding: 13px 165px 22px 0; }
.kit-intro .lineup-topbar { padding: 0; min-height: 0; display: block; }
.kit-intro p { margin: 8px 0 0; max-width: 77ch; color: var(--lf-ink-2); line-height: 1.45; font-size: var(--lf-t-md); }
#kit-toggle { position: absolute; right: 0; bottom: 22px; min-height: 41px; border-radius: 5px; padding: 7px 14px; border: 1px solid var(--lf-line-laser); background: #101d32; font-weight: 700; }
.guide-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(340px, .95fr); gap: clamp(22px, 3.2vw, 45px); align-items: start; }
.figure-panel { min-width: 0; overflow: hidden; border: 1px solid var(--shell-line); border-radius: 11px; background: #0c1327; }
.stage { position: relative; isolation: isolate; height: clamp(420px, 39vw, 555px); overflow: hidden; background: #273047; }
.venue { position: absolute; inset: 0; background: #293650 url(./floor.webp) center 55% / cover no-repeat; }
.figure { position: absolute; inset: 2% 2% 0; }
#avatar-canvas, #avatar-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
#avatar-canvas { cursor: grab; touch-action: pan-y; }
#avatar-canvas:active { cursor: grabbing; }
#rotate-avatar { position: absolute; bottom: 11px; right: 11px; display: flex; align-items: center; padding: 0 1px; border: 1px solid #bcd0e749; border-radius: 24px; background: #0c1224ed; }
#rotate-avatar button { border: 0; background: transparent; color: white; min-width: 40px; height: 40px; font: 26px/1 var(--lf-display); border-radius: 50%; }
#rotate-avatar button:hover { background: #ffffff1f; }
#rotate-avatar span { font: 700 14px var(--lf-display); }
.body-picker { padding: 12px 14px 14px; }
.body-picker p { margin: 0 0 6px; color: var(--lf-ink-2); font-size: 12px; }
#zones, #scenes { flex-wrap: wrap; gap: 4px; }
#zones button { border: 0; border-bottom: 1px solid var(--shell-line); background: transparent; font-size: 12px; min-height: 34px; padding: 5px 9px; }
#zones button[aria-pressed="true"] { color: var(--lf-laser); border-color: var(--lf-laser); }
.detail { padding-top: 5px; min-width: 0; }
.detail h2, .detail h3, .detail p { margin: 0; }
.detail .moment { color: var(--apricot); font-weight: 700; font-size: 13px; }
.detail h2 { margin-top: 6px; font: 800 clamp(2.15rem, 4.3vw, 3.9rem)/1 var(--lf-display); letter-spacing: -.015em; }
.detail .use-copy { margin: 12px 0 14px; color: var(--lf-ink-1); line-height: 1.55; font-size: clamp(.9rem,1.2vw,1rem); min-height: 3.1em; }
.demo-actions { gap: 7px; flex-wrap: wrap; }
#rave-kit .primary, .add-item { min-height: 43px; border-radius: 4px; padding: 8px 13px; font-weight: 750; font-size: 14px; }
#rave-kit .primary { color: var(--lf-volt-ink); background: var(--lf-volt); border: 1px solid var(--lf-volt); }
#rave-kit .primary:hover { background: #fcff8c; }
.add-item { background: var(--lf-night-2); border: 1px solid var(--shell-line); }
.add-item[aria-pressed="true"] { color: var(--lf-laser); border-color: var(--lf-line-laser); }
.crew-tip { margin: 19px 0 22px; padding-left: 12px; border-left: 3px solid #98a6df; }
.detail h3, .list-panel h3 { font: 700 19px/1.1 var(--lf-display); }
.crew-tip p { margin-top: 5px; color: var(--lf-ink-2); font-size: 13px; line-height: 1.5; }
#scenes { margin: 7px 0 11px; gap: 4px 5px; }
#scenes button { min-height: 34px; padding: 5px 9px; border: 1px solid transparent; border-radius: 20px; font-size: 12px; font-weight: 700; background: var(--lf-night-2); }
#scenes button[aria-pressed="true"] { border-color: var(--lf-line-laser); background: #16283d; color: var(--lf-laser); }
#items { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 5px; }
#items button { position: relative; display: grid; align-content: center; justify-items: center; gap: 2px; border-radius: 5px; border: 1px solid var(--shell-line); background: var(--lf-night-2); min-width: 0; min-height: 69px; padding: 3px; font-size: 11px; line-height: 1.22; font-weight: 700; overflow-wrap: anywhere; }
#items button[aria-pressed="true"] { background: #182a3d; border-color: var(--lf-laser); }
#items button[data-saved="true"]::after { content: "✓"; position: absolute; top: 2px; right: 4px; font-size: 12px; color: var(--lf-laser); }
.prop-icon { display: block; width: 35px; height: 35px; background: url(./gear.webp) no-repeat; background-size: 500% 200%; }
.kit-footer { gap: 12px 25px; margin-top: 21px; padding: 15px 0; border-top: 1px solid var(--shell-line); flex-wrap: wrap; }
.kit-footer a:last-child { margin-left: auto; }.kit-footer a { font-size: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.list-panel { max-width: 650px; padding: 16px 18px; margin-bottom: 22px; border: 1px solid var(--lf-line-laser); background: #10172c; border-radius: 7px; }
.list-panel header { display: flex; align-items: center; justify-content: space-between; }
.list-panel h2 { font: 800 30px/1.05 var(--lf-display); margin: 0; }
.list-panel h3 { margin: 18px 0 5px; }
.muted { color: var(--lf-ink-2); font-size: 13px; line-height: 1.45; }
.quiet { text-decoration: underline; text-underline-offset: 3px; min-height: 37px; background: transparent; border: 0; font-size: 12px; }
.list-row { display: flex; gap: 10px; min-height: 42px; align-items: center; border-top: 1px solid var(--lf-line-1); }
.list-row label { display: flex; align-items: center; flex: 1; gap: 9px; cursor: pointer; font-size: 14px; }
.list-row input { width: 19px; height: 19px; accent-color: var(--lf-laser); }
.list-row .prop-icon { width: 28px; height: 28px; }
.list-row:has(:checked) label span:last-child { text-decoration: line-through; color: var(--lf-ink-2); }
#download-list { margin-top: 13px; } #download-status:empty { margin: 0; }
@media (max-width: 790px) {
  .kit-intro { padding: 10px 0 15px; }
  .kit-intro p { font-size: 13px; padding-right: 0; margin-top: 9px; }
  #kit-toggle { position: static; margin-top: 10px; min-height: 36px; }
  .guide-layout { grid-template-columns: 1fr; gap: 17px; }
  .stage { height: clamp(349px, calc(79vw + 84px), 528px); }
  .figure { inset: 53px 2% 44px; }
  .body-picker { padding: 8px 10px 9px; }
  .body-picker p { margin: 0; }
  #zones { gap: 1px; }.detail { padding-top: 0; }
  .crew-tip { margin: 14px 0 18px; }
  .detail h2 { font-size: 38px; }.detail .use-copy { margin: 8px 0 10px; min-height: 0; }
  #items { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (max-width: 360px) {
  #items { grid-template-columns: repeat(4,minmax(0,1fr)); }
  #zones button { padding: 4px 6px; }
  .kit-footer a:last-child { margin-left: 0; }
}
.stage-demo { position: absolute; left: 12px; bottom: 11px; max-width: calc(100% - 139px); }
#quick-item { display: none; }
@media(max-width:790px) {
  #quick-item { display: block; position: absolute; top: 8px; left: 8px; min-height: 34px; max-width: calc(100% - 183px); background: #0c1224e6; color: var(--lf-ink-1); border: 1px solid #bcd0e749; border-radius: 4px; padding-inline: 5px; font-size: 16px; }
  #rave-kit .stage-demo { left: 8px; bottom: 8px; min-height: 38px; padding: 6px 10px; font-size: 13px; }
}
#prop-inspect { position: absolute; top: 56px; right: 14px; pointer-events: none; display: grid; justify-items: center; max-width: 30%; min-width: 90px; padding: 4px 8px 8px; background: #0b1727dd; border: 1px solid #b5d9d760; border-radius: 7px; }
#prop-inspect .prop-icon { width: 82px; height: 82px; }
#prop-inspect strong { font-size: 11px; text-align: center; line-height: 1.2; }
@media(max-width:460px) {
  #items { grid-template-columns: repeat(4,minmax(0,1fr)); }
  #prop-inspect { top: 55px; right: 8px; min-width: 60px; padding: 3px 5px 5px; }
  #prop-inspect .prop-icon { width: 45px; height: 45px; }
}
@media(max-width:350px) { #items { grid-template-columns: repeat(3,minmax(0,1fr)); } }
.prop-icon.boots { background-image: url(./shoes.webp); background-size: contain; }

.view-options { position: absolute; top: 11px; right: 11px; display: flex; gap: 4px; }
.view-options button { min-height: 42px; border: 1px solid #bcd0e780; border-radius: 5px; background: #0c1224e8; padding: 4px 12px; color: var(--lf-ink-1); font: 700 13px var(--lf-body); }
.view-options button[aria-pressed="true"] { color: var(--lf-laser); border-color: var(--lf-laser); }
#rave-kit[data-closeup="true"] #avatar-poster { transform: scale(1.58); transform-origin: 50% 31%; }
#rave-kit:is([data-item="shades"],[data-item="earplugs"],[data-item="inhaler"])[data-closeup="true"] #avatar-poster { transform-origin: 50% 22%; }
#rave-kit[data-item="shoes"][data-closeup="true"] #avatar-poster { transform-origin: 50% 87%; }
@media (max-width: 790px) { .view-options { top: 8px; right: 8px; } }
