/* LTPhotoBooth landing page, v1.1 additions: hero, booth mock-up, style strip, booth lab, release notes.
   Tokens come from the inline :root in index.html (--accent mint, --accent-2 cyan, --purple violet, ...). */

section[id], .sec { scroll-margin-top: 84px; }
.grad-text { background: linear-gradient(120deg, var(--accent), var(--accent-2) 55%, var(--purple)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.btn-ghost { background: transparent; color: var(--text-dim); border-color: transparent; }
.btn-ghost:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
a.btn { text-decoration: none; }
a.btn-primary:hover { text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; border-radius: 8px; }
.badge-v11 { text-decoration: none; }
a.badge-v11:hover { text-decoration: none; color: var(--text); border-color: rgba(0, 245, 160, .6); }

/* ───────────── HERO ───────────── */
.hero2 { max-width: var(--maxw); margin: 0 auto; padding: 72px 24px 40px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.hero2-badge { margin-bottom: 22px; }
.hero2 h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 800; line-height: 1.04; letter-spacing: -1.5px; margin-bottom: 20px; }
.hero2 h1 .grad { background: linear-gradient(120deg, var(--accent) 10%, var(--accent-2) 55%, var(--purple) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero2-lead { font-size: clamp(1.02rem, 2vw, 1.2rem); color: var(--text-dim); max-width: 560px; margin-bottom: 30px; }
.hero2-btns { justify-content: flex-start; }
.hero2-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; color: var(--text-dim); font-size: .92rem; }
.hero2-points b { color: var(--text); font-weight: 700; }
.hero2-points li { display: inline-flex; align-items: center; gap: 6px; }
.hero2-points li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.hero2-visual { position: relative; display: grid; place-items: center; min-height: 440px; }
.hero2-glow { position: absolute; inset: 6% 0; background: radial-gradient(closest-side, rgba(0, 245, 160, .28), transparent 70%), radial-gradient(closest-side at 70% 70%, rgba(160, 123, 255, .3), transparent 70%); filter: blur(30px); z-index: -1; }
.hero2-visual .hero-chip.c1 { top: 8%; left: -2%; }
.hero2-visual .hero-chip.c2 { top: 30%; right: -3%; }
.hero2-visual .hero-chip.c3 { bottom: 12%; left: -4%; }

/* ───────────── DEVICE + BOOTH MOCK-UP ───────────── */
.device { position: relative; padding: 10px; border-radius: 28px; background: linear-gradient(160deg, #222741, #0b0d19); border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .6), 0 0 70px -20px rgba(0, 245, 160, .25); transition: width .35s cubic-bezier(.16, 1, .3, 1); }
.device-p { width: min(300px, 78vw); }
.device-l { width: min(560px, 100%); }
.booth { --app: var(--booth-app, #00f5a0); --on-app: var(--booth-on-app, #04130d);
  position: relative; container-type: inline-size; width: 100%; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: #070810; color: #fff; user-select: none; }
.device-l .booth { aspect-ratio: 16 / 9; }
.booth .scr > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.booth .abs { position: absolute; }
.b-title { left: 5%; right: 5%; top: 4.5%; padding: 3.2cqw 2cqw; border-radius: 2.6cqw; background: rgba(5, 8, 14, .62); text-align: center; font-weight: 700; font-size: 6.4cqw; letter-spacing: .03em; line-height: 1.1; }
.b-sub { left: 5%; right: 5%; top: 15.4%; text-align: center; font-size: 3.4cqw; color: #d2d8ea; }
.b-grid { left: 5%; right: 5%; top: 20%; bottom: 18%; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 3cqw; padding: 2.2cqw; border-radius: 3cqw; background: rgba(5, 8, 14, .45); }
.b-card { position: relative; display: flex; flex-direction: column; min-height: 0; padding: 0; border: 0; border-radius: 2.6cqw; background: #191c2b; color: #fff; font: inherit; cursor: pointer; overflow: hidden; outline: 0 solid transparent; transition: transform .2s, outline-color .2s; }
.b-card:hover { transform: translateY(-.4cqw); }
.b-card img { flex: 1 1 0; min-height: 0; width: 100%; object-fit: cover; object-position: 50% 18%; display: block; }
.b-card span.n { flex: none; padding: 1.6cqw 1cqw; text-align: center; font-size: 3.3cqw; font-weight: 600; }
.b-card .dot { position: absolute; top: 2cqw; right: 2cqw; width: 5.2cqw; height: 5.2cqw; border-radius: 50%; border: .5cqw solid #fff; background: rgba(0, 0, 0, .5); }
.b-card[aria-pressed="true"] { outline: .9cqw solid var(--app); outline-offset: -.9cqw; }
.b-card[aria-pressed="true"] .dot { background: var(--app); }
.b-btn { display: grid; place-items: center; border: .7cqw solid var(--app); border-radius: 99cqw; font: inherit; font-weight: 700; font-size: 4.4cqw; letter-spacing: .02em; cursor: pointer; color: #fff; background: rgba(5, 8, 14, .6); height: 8.4cqw; padding: 0 3cqw; }
.b-btn.fill { background: var(--app); color: var(--on-app); }
.b-back { left: 5%; bottom: 5%; width: 30%; }
.b-next { right: 5%; bottom: 5%; width: 56%; }
.b-photo { overflow: hidden; border-radius: 2cqw; background: #191c2b; box-shadow: 0 0 0 .6cqw rgba(0, 245, 160, .55), 0 3cqw 8cqw -3cqw rgba(0, 0, 0, .8); }
.b-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; }
.b-review .b-photo { left: 5%; right: 5%; top: 17%; bottom: 18%; }
.b-output .b-photo { left: 9%; right: 9%; top: 6%; height: 55%; }
.b-tools { left: 5%; right: 5%; top: 66%; display: flex; gap: 2.4cqw; justify-content: center; }
.b-tool { width: 17cqw; height: 17cqw; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8cqw; border: 0; border-radius: 3cqw; background: var(--app); color: var(--on-app); font: inherit; font-size: 2.3cqw; font-weight: 700; letter-spacing: .04em; }
.b-tool svg { width: 7cqw; height: 7cqw; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.b-output .b-next { left: 5%; right: 5%; width: auto; height: 11cqw; bottom: 4%; font-size: 7cqw; justify-content: center; }
.b-start-btn { left: 20%; right: 20%; top: 72%; height: 11cqw; font-size: 6cqw; }
.b-hint { left: 0; right: 0; top: 83%; text-align: center; font-size: 2.8cqw; color: #aab2cc; }

/* landscape layout */
.booth[data-o="l"] .b-title { left: 22%; right: 22%; top: 3.5%; padding: 1.6cqw 1cqw; font-size: 3.6cqw; border-radius: 1.4cqw; }
.booth[data-o="l"] .b-sub { top: 19%; font-size: 1.9cqw; }
.booth[data-o="l"] .b-grid { top: 26%; bottom: 24%; left: 5%; right: 5%; grid-template-columns: repeat(4, 1fr); grid-template-rows: 1fr; gap: 1.8cqw; padding: 1.4cqw; border-radius: 1.6cqw; }
.booth[data-o="l"] .b-card { border-radius: 1.4cqw; }
.booth[data-o="l"] .b-card span.n { font-size: 1.9cqw; padding: .9cqw .4cqw; }
.booth[data-o="l"] .b-card .dot { width: 2.8cqw; height: 2.8cqw; top: 1cqw; right: 1cqw; border-width: .3cqw; }
.booth[data-o="l"] .b-card[aria-pressed="true"] { outline-width: .5cqw; outline-offset: -.5cqw; }
.booth[data-o="l"] .b-btn { height: 6.2cqw; font-size: 2.4cqw; border-width: .35cqw; }
.booth[data-o="l"] .b-back { left: 12%; bottom: 5.5%; width: 20%; }
.booth[data-o="l"] .b-next { right: 12%; bottom: 5.5%; width: 28%; }
.booth[data-o="l"] .b-review .b-photo, .booth[data-o="l"] .b-photo.rv { left: 50%; right: auto; transform: translateX(-50%); top: 6%; bottom: auto; height: 74%; aspect-ratio: 3 / 4; border-radius: 1.2cqw; }
.booth[data-o="l"] .b-output .b-photo { left: 8%; right: auto; top: 8%; height: 84%; aspect-ratio: 3 / 4; width: auto; }
.booth[data-o="l"] .b-tools { left: 48%; right: 6%; top: 14%; flex-wrap: wrap; gap: 1.6cqw; justify-content: flex-start; }
.booth[data-o="l"] .b-tool { width: 10.5cqw; height: 10.5cqw; border-radius: 1.8cqw; font-size: 1.4cqw; }
.booth[data-o="l"] .b-tool svg { width: 4.2cqw; height: 4.2cqw; }
.booth[data-o="l"] .b-output .b-next { left: 48%; right: 6%; bottom: 8%; height: 7.4cqw; font-size: 3.6cqw; }
.booth[data-o="l"] .b-start-btn { left: 38%; right: 38%; top: 74%; height: 7cqw; font-size: 3cqw; }
.booth[data-o="l"] .b-hint { top: 85%; font-size: 1.6cqw; }
.booth-fade { animation: boothIn .45s cubic-bezier(.16, 1, .3, 1); }
@keyframes boothIn { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }
.booth .scr { position: absolute; inset: 0; }

/* ───────────── STYLE STRIP ───────────── */
.styles-stage { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 40px; align-items: center; max-width: 980px; margin: 0 auto; }
.styles-hero { margin: 0; }
.styles-frame { position: relative; aspect-ratio: 3 / 4; border-radius: 22px; overflow: hidden; background: var(--surface-solid); border: 1px solid var(--border-strong); box-shadow: 0 40px 80px -40px rgba(0, 245, 160, .35), var(--shadow); }
.styles-frame img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .25s; }
.styles-frame img.swap { opacity: 0; }
.styles-tag { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 99px; background: rgba(5, 8, 14, .78); border: 1px solid rgba(255, 255, 255, .18); font-family: var(--mono); font-size: .8rem; font-weight: 600; backdrop-filter: blur(8px); }
.styles-hero figcaption { margin-top: 12px; text-align: center; color: var(--text-dim); font-size: .9rem; min-height: 1.5em; }
.styles-side { max-width: 460px; }
.styles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.style-thumb { display: flex; flex-direction: column; gap: 6px; padding: 5px; border-radius: 14px; border: 1.5px solid var(--border); background: var(--surface); color: var(--text-dim); font: inherit; font-size: .78rem; font-weight: 600; cursor: pointer; text-align: center; transition: transform .2s, border-color .2s, color .2s, background .2s; }
.style-thumb img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 9px; display: block; }
.style-thumb span { padding-bottom: 3px; }
.style-thumb:hover { transform: translateY(-3px); border-color: var(--border-strong); color: var(--text); }
.style-thumb[aria-pressed="true"] { border-color: var(--accent); color: var(--text); background: rgba(0, 245, 160, .1); box-shadow: 0 0 0 3px rgba(0, 245, 160, .14); }
.styles-points { list-style: none; margin-top: 24px; display: grid; gap: 10px; color: var(--text-dim); font-size: .98rem; }
.styles-points li { position: relative; padding-left: 26px; }
.styles-points li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 8px rgba(0, 212, 255, .5); }
.styles-points b { color: var(--text); }

/* ───────────── BOOTH LAB ───────────── */
.lab { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: start; max-width: 1020px; margin: 0 auto; padding: 36px; border-radius: var(--r3); background: var(--surface); border: 1px solid var(--border); backdrop-filter: blur(14px); }
.lab-controls { display: grid; gap: 24px; align-content: start; }
.ctl { display: grid; gap: 10px; min-width: 0; }
.lab-controls { min-width: 0; }
.ctl-label { font-family: var(--mono); font-size: .76rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--text-dim); }
.seg { display: inline-flex; padding: 4px; gap: 4px; border-radius: 13px; background: rgba(0, 0, 0, .35); border: 1px solid var(--border-strong); width: fit-content; max-width: 100%; }
.seg-wrap { flex-wrap: wrap; }
.seg button { min-height: 44px; padding: 0 16px; border-radius: 10px; border: 0; background: transparent; color: var(--text-dim); font: inherit; font-weight: 600; font-size: .94rem; cursor: pointer; transition: background .2s, color .2s; }
.seg button:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.seg button[aria-pressed="true"] { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #04130d; }
.swatches { display: flex; flex-wrap: wrap; gap: 6px; }
.sw { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; padding: 0; }
.sw::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); transition: transform .2s; }
.sw:hover::before { transform: scale(1.12); }
.sw[aria-pressed="true"]::after { content: ""; position: absolute; inset: 2px; border-radius: 50%; border: 2px solid #fff; }
.picker-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.picker { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: .92rem; font-weight: 600; color: var(--text-dim); cursor: pointer; }
.picker input { width: 52px; height: 36px; padding: 0; border: 1px solid var(--border-strong); border-radius: 9px; background: none; cursor: pointer; }
.hex { font-family: var(--mono); font-size: .9rem; color: var(--text); padding: 6px 10px; border-radius: 8px; background: rgba(255, 255, 255, .05); border: 1px solid var(--border); }
.lab-notes { list-style: none; display: grid; gap: 10px; color: var(--text-dim); font-size: .92rem; }
.lab-notes li { position: relative; padding-left: 22px; }
.lab-notes li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--purple); }
.lab-stage { display: grid; place-items: center; min-height: 300px; padding: 6px 0; }

/* ───────────── RELEASE NOTES (rendered from changelog.txt) ───────────── */
.lcl-wrap { max-width: 860px; margin: 0 auto 20px; }
.lcl-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.lcl-fbtn { min-height: 44px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--border-strong); background: rgba(255, 255, 255, .04); color: var(--text-dim); font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.lcl-fbtn:hover { color: var(--text); background: rgba(255, 255, 255, .09); }
.lcl-fbtn[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #04130d; }
.lcl-status { min-height: 1.4em; margin-bottom: 14px; font-size: .88rem; color: var(--text-dim); }
.lcl-list { display: grid; gap: 16px; }
.lcl-rel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r2); backdrop-filter: blur(14px); scroll-margin-top: 90px; }
.lcl-rel.is-major { border-color: rgba(0, 245, 160, .38); background: linear-gradient(135deg, rgba(0, 245, 160, .08), rgba(124, 77, 255, .09) 60%, var(--surface)); box-shadow: 0 30px 80px -50px var(--accent-glow); }
.lcl-head { list-style: none; display: grid; grid-template-columns: auto 1fr auto auto; grid-template-areas: "title badges date chev" "counts counts counts counts"; gap: 8px 12px; align-items: center; padding: 18px 22px; cursor: pointer; min-height: 56px; }
.lcl-head::-webkit-details-marker { display: none; }
.lcl-title { grid-area: title; font-size: 1.35rem; font-weight: 800; letter-spacing: -.4px; }
.lcl-v { background: linear-gradient(120deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lcl-badges { grid-area: badges; display: flex; flex-wrap: wrap; gap: 6px; }
.lcl-badge { font-family: var(--mono); font-size: .68rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 3px 9px; border-radius: 6px; border: 1px solid var(--border-strong); color: var(--text-dim); }
.lcl-badge-latest { background: rgba(0, 245, 160, .12); color: var(--accent); border-color: rgba(0, 245, 160, .3); }
.lcl-badge-major { background: linear-gradient(135deg, rgba(160, 123, 255, .28), rgba(0, 212, 255, .2)); color: #fff; border-color: rgba(160, 123, 255, .6); }
.lcl-date { grid-area: date; font-family: var(--mono); font-size: .82rem; color: var(--text-dim); padding: 5px 12px; border-radius: 8px; background: rgba(255, 255, 255, .04); border: 1px solid var(--border); white-space: nowrap; }
.lcl-chev { grid-area: chev; width: 12px; height: 12px; border-right: 2px solid var(--text-dim); border-bottom: 2px solid var(--text-dim); transform: rotate(45deg); transition: transform .25s; margin: 0 6px 4px 2px; }
.lcl-rel[open] .lcl-chev { transform: rotate(-135deg); margin-bottom: -4px; }
.lcl-counts { grid-area: counts; display: flex; flex-wrap: wrap; gap: 6px; }
.lcl-rel[open] .lcl-counts { display: none; }
.lcl-body { padding: 4px 22px 24px; display: grid; gap: 26px; }
.lcl-sec { display: block; }
.lcl-sec[hidden], .lcl-rel[hidden] { display: none; }
.lcl-cat { margin-bottom: 12px; font-size: 1rem; }
.lcl-chip { display: inline-block; padding: 4px 11px; border-radius: 7px; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; border: 1px solid var(--border-strong); color: var(--text-dim); background: rgba(255, 255, 255, .04); }
.lcl-chip-new { background: rgba(0, 245, 160, .1); color: var(--accent); border-color: rgba(0, 245, 160, .26); }
.lcl-chip-improved { background: rgba(0, 212, 255, .1); color: var(--accent-2); border-color: rgba(0, 212, 255, .26); }
.lcl-chip-fixed { background: rgba(160, 123, 255, .12); color: #c4adff; border-color: rgba(160, 123, 255, .32); }
.lcl-chip-security { background: rgba(255, 107, 107, .1); color: #ff9a9a; border-color: rgba(255, 107, 107, .3); }
.lcl-chip-changed { background: rgba(255, 212, 94, .1); color: var(--gold); border-color: rgba(255, 212, 94, .3); }
.lcl-chip-notice { background: rgba(255, 212, 94, .1); color: var(--gold); border-color: rgba(255, 212, 94, .3); }
.lcl-fbtn.lcl-chip-new[aria-pressed="true"], .lcl-fbtn.lcl-chip-improved[aria-pressed="true"], .lcl-fbtn.lcl-chip-fixed[aria-pressed="true"], .lcl-fbtn.lcl-chip-security[aria-pressed="true"], .lcl-fbtn.lcl-chip-changed[aria-pressed="true"] { background: var(--accent); color: #04130d; border-color: var(--accent); }
.lcl-fbtn.lcl-chip { letter-spacing: .3px; text-transform: none; font-size: .9rem; font-weight: 600; padding: 0 16px; }
.lcl-cat-notice { padding: 16px 18px; border-radius: var(--r1); background: rgba(255, 212, 94, .07); border: 1px solid rgba(255, 212, 94, .32); }
.lcl-para { color: var(--text-dim); font-size: .95rem; margin-top: 8px; }
.lcl-items, .lcl-sub { list-style: none; display: grid; gap: 14px; }
.lcl-sub { margin-top: 8px; gap: 6px; }
.lcl-item { position: relative; padding-left: 24px; color: var(--text-dim); font-size: .96rem; }
.lcl-item::before { content: ""; position: absolute; left: 3px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent-glow); }
.lcl-cat-improved .lcl-item::before { background: var(--accent-2); box-shadow: 0 0 8px rgba(0, 212, 255, .4); }
.lcl-cat-fixed .lcl-item::before { background: var(--purple); box-shadow: 0 0 8px var(--purple-glow); }
.lcl-cat-security .lcl-item::before { background: var(--danger); box-shadow: 0 0 8px rgba(255, 107, 107, .4); }
.lcl-cat-changed .lcl-item::before { background: var(--gold); box-shadow: 0 0 8px rgba(255, 212, 94, .4); }
.lcl-item-title { display: block; color: var(--text); font-weight: 700; margin-bottom: 3px; }
.lcl-item-body { margin: 0; }
.lcl-sub li { position: relative; padding-left: 16px; font-size: .92rem; }
.lcl-sub li::before { content: "–"; position: absolute; left: 0; color: var(--text-faint); }
.lcl-code { font-family: var(--mono); font-size: .86em; color: var(--text); background: rgba(255, 255, 255, .07); padding: 1px 6px; border-radius: 5px; overflow-wrap: anywhere; }
.lcl-foot { margin-top: 18px; text-align: center; color: var(--text-dim); font-size: .9rem; }
.lcl-error { padding: 16px 18px; border-radius: var(--r1); background: rgba(255, 107, 107, .09); border: 1px solid rgba(255, 107, 107, .3); color: var(--text); }
.lcl-skeleton { display: grid; gap: 14px; }
.lcl-skeleton span { height: 84px; border-radius: var(--r2); background: linear-gradient(90deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .09), rgba(255, 255, 255, .04)); background-size: 300% 100%; animation: lclShim 1.4s linear infinite; }
@keyframes lclShim { to { background-position: -300% 0; } }

/* ───────────── RESPONSIVE ───────────── */
@media (max-width: 900px) {
  .hero2 { grid-template-columns: 1fr; text-align: center; padding: 52px 20px 24px; gap: 24px; }
  .hero2-lead { margin-left: auto; margin-right: auto; }
  .hero2-btns, .hero2-points { justify-content: center; }
  .hero2-visual { min-height: 0; padding: 8px 0 12px; }
  .hero2-visual .hero-chip { display: none; }
  .styles-stage { grid-template-columns: 1fr; gap: 26px; }
  .styles-hero { max-width: 340px; margin: 0 auto; width: 100%; }
  .lab { grid-template-columns: 1fr; padding: 24px 18px; gap: 28px; }
  .lab-stage { order: -1; }
}
@media (max-width: 560px) {
  .device-p { width: min(260px, 74vw); }
  .lcl-head { grid-template-columns: 1fr auto; grid-template-areas: "title chev" "badges badges" "date date" "counts counts"; padding: 16px 16px; }
  .lcl-body { padding: 2px 16px 20px; }
  .lcl-date { justify-self: start; }
  .seg button { padding: 0 12px; font-size: .88rem; }
}

/* ───────────── MOTION ───────────── */
@media (prefers-reduced-motion: reduce) {
  .booth-fade, .lcl-skeleton span { animation: none; }
  .style-thumb, .b-card, .styles-frame img, .device, .seg button, .lcl-chev, .sw::before { transition: none; }
  .style-thumb:hover, .b-card:hover { transform: none; }
}
