.chips.fit { display: flex; }
.chips.fit li { flex: var(--w, 6) 1 0; min-width: 0; text-align: center; padding: 14px 10px 16px; }
.chips.fit li + li { padding-left: 10px; }
@media (max-width: 560px) {
  .chips.fit { display: grid; }
  .chips.fit li { padding: 8px 6px 10px; }
}

.hero-sub .l1 { display: block; }
.hero-sub .l2 { display: block; margin-top: 2px; }
@media (max-width: 820px) {
  .hero .btn-row { margin-top: 16px; }
  .hero .btn { white-space: nowrap; }
}

.stage { position: absolute; left: 0; top: 0; width: 100%; aspect-ratio: var(--ar); transform: translateY(var(--ty, 0)); container-type: inline-size; }
.stage > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.ov { position: absolute; display: flex; align-items: center; white-space: nowrap; line-height: 1; }
.ov-txt { padding-left: 0.3cqw; font-weight: 600; }
.ov-chip { background: #201f24; color: #e6e6e8; font-size: 1.15cqw; }
.ov-name { background: #1f1f21; color: #f2f2f3; font-size: 1.28cqw; font-weight: 700; }
.ov-sub { background: #1f1f21; color: #f08c55; font-size: 1.05cqw; }
.ov-block {
  justify-content: center; border-radius: 0.35cqw; background: var(--accent-on-dark, #f08c55); color: #1f2a30;
  font-size: 1cqw; font-weight: 800; box-shadow: 0 0 0 0.25cqw rgba(240, 140, 85, 0.35);
}
.ov-room { background: rgba(255, 214, 120, 0.42); mix-blend-mode: screen; }
.ov-tag { padding: 0.6cqw 0.9cqw; border-radius: 0.4cqw; background: #1f2a30; color: #fff; font-size: 1.35cqw; font-weight: 700; border-left: 0.35cqw solid var(--accent-on-dark, #f08c55); }
.ov-pick { border: 0.3cqw solid var(--accent-on-dark, #f08c55); border-radius: 0.5cqw; }
.scene.live .ov-block:not(.on) { transform: scaleX(0.2); }
.ov-block { transform-origin: left center; }

.flowfx .flow-scr { position: absolute; inset: 0; overflow: hidden; opacity: 0; transition: opacity 450ms var(--ease); }
.flowfx[data-step="0"] .scr-a, .flowfx[data-step="1"] .scr-a,
.flowfx[data-step="2"] .scr-b, .flowfx[data-step="3"] .scr-b,
.flowfx[data-step="4"] .scr-c { opacity: 1; }
.flowfx .scr-a .scene-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.flowfx .nl-out li:not(.on) { display: none; }
.flowfx:not([data-step="3"]):not([data-step="4"]) .nl-out { opacity: 0; }
.flowfx .vid-toggle { right: 12px; bottom: 12px; z-index: 3; }
.flowfx.hud .nl-in { z-index: 2; }
@media (max-width: 820px) { .flowfx .vid-toggle { right: 8px; bottom: 8px; height: 30px; padding: 0 8px; font-size: 12px; } }

.modefx { container-type: inline-size; }
.mode-panel {
  position: absolute; z-index: 2; top: 0; right: 0; bottom: 0; width: 34%;
  display: flex; flex-direction: column; gap: 1.1cqw; padding: 2.2cqw 2cqw;
  background: #18191c; color: #e9e9eb; border-left: 1px solid #34363b;
  transition: transform 420ms var(--ease), opacity 300ms var(--ease);
}
.scene.live .mode-panel:not(.on) { transform: translateX(100%); opacity: 0; }
.mp-h { display: flex; align-items: baseline; justify-content: space-between; gap: 1cqw; padding-bottom: 1.2cqw; border-bottom: 1px solid #34363b; }
.mp-h b { font-size: 2cqw; font-weight: 700; }
.mp-h span { font-size: 1.4cqw; color: #a3a5ab; }
.mp-l { font-size: 1.35cqw; color: #a3a5ab; font-weight: 600; margin-top: 0.6cqw; }
.mp-modes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6cqw; }
.mp-modes span { display: block; padding: 0.9cqw 0; text-align: center; border-radius: 0.5cqw; background: #26282d; font-size: 1.45cqw; font-weight: 600; color: #c9cace; }
.mp-modes span.on { background: #2f6bff; color: #fff; }
.mp-devs { display: grid; gap: 0.6cqw; }
.mp-devs li { display: flex; justify-content: space-between; align-items: center; padding: 1cqw 1.2cqw; border-radius: 0.5cqw; background: #222428; font-size: 1.5cqw; font-weight: 600; }
.mp-devs b { color: #f08c55; }
.mp-f { margin-top: auto; font-size: 1.25cqw; color: #a3a5ab; line-height: 1.45; }

.fx-p .ln { display: block; }
.fx-p .ln + .ln { margin-top: 4px; }

.tbl.ox thead th:not(:first-child), .tbl.ox thead th.ours { position: relative; padding-left: 46px; }
.tbl.ox thead th .mk { position: absolute; left: 14px; top: 50%; margin: -11px 0 0; }

.fx-cases { grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); }

@media (prefers-reduced-motion: reduce) {
  .flowfx .flow-scr, .mode-panel { transition: none; }
}
