/* Trade fair showcase (js/ui/showcase.js): the scenes of "Van inmeting tot oplevering. Eén model."
 * Everything is scoped to #showcase (the overlay) or to body.showcase-on; sizes follow the screen (vw/vh), so the
 * presentation reads well on a large booth screen. Transition times are multiplied by --sc-k (1 / speed). */
#showcase { --sc-k: 1; --sc-navy: #0B1E3A; --sc-blue: #1E7BFF; --sc-cyan: #14C8FF; --sc-amber: #F59E0B; --sc-green: #22C55E; }
#showcase .sc-curtain { position: absolute; inset: 0; background: #03070F; opacity: 0; transition: opacity .6s ease; }
#showcase .sc-stage { position: absolute; inset: 0; }
#showcase.sc-dimmed .sc-stage { background: radial-gradient(ellipse at 60% 45%, rgba(6, 14, 28, .35), rgba(6, 14, 28, .78)); transition: background calc(var(--sc-k) * .8s) ease; }
#showcase.sc-nomark .sc-mark { display: none; }
#showcase .sc-title { z-index: 3; }
#showcase .sc-title.sc-right { left: auto; right: 4vw; max-width: min(900px, 52vw); }
#showcase .sc-title.sc-top { top: 7vh; bottom: auto; }
#showcase .sc-prog { z-index: 4; }
body.showcase-on.sc-blur #viewport { filter: blur(7px) saturate(.8); transition: filter 1.2s ease; }

/* controls: close (formal text) and sound, shown when the mouse moves */
#showcase .sc-ctl { position: absolute; right: 2.4vw; top: 2.6vh; z-index: 5; display: flex; gap: 10px; pointer-events: auto; }
#showcase .sc-ctl[hidden] { display: none; }
#showcase .sc-ctl .sc-stop, #showcase .sc-ctl .sc-mute { position: static; cursor: pointer; background: rgba(11, 30, 58, .88); color: #fff; border: 1px solid rgba(255, 255, 255, .35); border-radius: 10px; padding: 10px 16px; font: 600 clamp(13px, .9vw, 18px) inherit; font-family: inherit; }
#showcase .sc-ctl .sc-mute.on { border-color: var(--sc-cyan); }
#showcase .sc-ctl button:focus-visible { outline: 3px solid var(--sc-cyan); outline-offset: 2px; }

/* ---------- opening: the mark draws itself ---------- */
#showcase .sc-open { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 2; }
#showcase .sc-draw { position: absolute; height: 46vh; top: 18vh; left: 50%; transform: translateX(-50%); overflow: visible; filter: drop-shadow(0 0 22px rgba(30, 123, 255, .55)); transition: opacity calc(var(--sc-k) * 1s) ease; }
#showcase .sc-draw path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset calc(var(--sc-k) * 2.4s) cubic-bezier(.6, .05, .3, 1); }
#showcase .sc-draw path + path { transition-delay: calc(var(--sc-k) * .5s); }
#showcase .sc-open.draw .sc-draw path { stroke-dashoffset: 0; }
#showcase .sc-open-logo { width: min(980px, 62vw); opacity: 0; transform: scale(.96); transition: opacity calc(var(--sc-k) * 1.2s) ease, transform calc(var(--sc-k) * 1.6s) ease; filter: drop-shadow(0 8px 30px rgba(0, 0, 0, .5)); }
#showcase .sc-open-claim { margin-top: 3.5vh; color: #fff; font-size: clamp(22px, 2.8vw, 58px); font-weight: 700; letter-spacing: .01em; opacity: 0; transform: translateY(16px); transition: opacity calc(var(--sc-k) * 1s) ease calc(var(--sc-k) * .5s), transform calc(var(--sc-k) * 1s) ease calc(var(--sc-k) * .5s); text-shadow: 0 4px 24px rgba(0, 0, 0, .6); }
#showcase .sc-open.logo .sc-draw { opacity: 0; }
#showcase .sc-open.logo .sc-open-logo { opacity: 1; transform: none; }
#showcase .sc-open.logo .sc-open-claim { opacity: 1; transform: none; }
#showcase .sc-drop { position: absolute; left: 50%; top: 72vh; width: max(6px, .45vw); height: 0; margin-left: max(-3px, -.22vw); border-radius: 6px; background: linear-gradient(var(--sc-cyan), var(--sc-blue)); box-shadow: 0 0 24px rgba(30, 123, 255, .9); transition: height calc(var(--sc-k) * .9s) cubic-bezier(.7, 0, .9, .4); }
#showcase .sc-open.drop .sc-drop { height: 30vh; }

/* ---------- scan: tablet frame with a counter ---------- */
#showcase .sc-ipad { position: absolute; right: 3vw; bottom: 9vh; width: min(30vw, 560px); aspect-ratio: 4 / 3; border-radius: 2.2vw; padding: 1.1vw; background: #10151d; box-shadow: 0 30px 80px rgba(0, 0, 0, .6), inset 0 0 0 2px #2a3240; opacity: 0; transform: translateY(5vh); transition: opacity calc(var(--sc-k) * .8s) ease, transform calc(var(--sc-k) * .8s) ease; }
#showcase .sc-ipad.in { opacity: 1; transform: none; }
#showcase .sc-ipad-scr { position: relative; width: 100%; height: 100%; border-radius: 1.2vw; overflow: hidden; background: radial-gradient(ellipse at 30% 70%, #26405f, #0a1220 70%); display: flex; flex-direction: column; }
#showcase .sc-ipad-hd { display: flex; align-items: center; gap: .6vw; padding: 1vw 1.2vw; color: #fff; font-weight: 700; font-size: clamp(14px, 1.3vw, 28px); background: rgba(0, 0, 0, .35); }
#showcase .sc-rec { width: .8vw; height: .8vw; min-width: 9px; min-height: 9px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 10px #ef4444; animation: sc-blink calc(var(--sc-k) * 1s) infinite; }
#showcase .sc-ipad-view { flex: 1; background-image: radial-gradient(circle, rgba(20, 200, 255, .55) 1px, transparent 1.6px); background-size: 14px 14px; animation: sc-scanbg calc(var(--sc-k) * 6s) linear infinite; opacity: .55; }
#showcase .sc-ipad-count { padding: 1vw 1.2vw 1.2vw; color: #E4ECF7; font-size: clamp(14px, 1.25vw, 26px); font-variant-numeric: tabular-nums; font-weight: 600; background: rgba(0, 0, 0, .35); }
@keyframes sc-blink { 50% { opacity: .25; } }
@keyframes sc-scanbg { to { background-position: 140px 0; } }

/* ---------- sketch: the drawing panel of the fitter ---------- */
#showcase .sc-tab { position: absolute; left: 3.5vw; top: 7vh; height: 84vh; aspect-ratio: 3 / 4; max-width: 44vw; border-radius: 2.6vh; padding: 1.6vh; background: #11161f; box-shadow: 0 40px 100px rgba(0, 0, 0, .65), inset 0 0 0 2px #2b3442; opacity: 0; transform: translateX(-12vw) rotate(-2deg); transition: opacity calc(var(--sc-k) * .7s) ease, transform calc(var(--sc-k) * .8s) cubic-bezier(.2, .8, .2, 1); }
#showcase .sc-tab.in { opacity: 1; transform: none; }
#showcase .sc-tab.static { transition: none; }
#showcase .sc-tab.fold { opacity: 0; transform: scale(.55) perspective(900px) rotateX(18deg); transition: opacity calc(var(--sc-k) * .6s) ease, transform calc(var(--sc-k) * .7s) ease; }
#showcase .sc-tab-scr { width: 100%; height: 100%; border-radius: 1.4vh; background: #F4F7FB; color: var(--sc-navy); display: flex; flex-direction: column; gap: 1.1vh; padding: 1.8vh; box-sizing: border-box; font-size: clamp(11px, 1.55vh, 24px); overflow: hidden; }
/* the screen of the tablet follows css/draw.css (dr-* classes), in the light palette of the showcase and sized in vh so
   the whole panel fits the tablet on any screen; the sc-tk tiles are the targets of the finger */
#showcase .sc-tab-scr { --bg2: #FFFFFF; --bg4: #E4EBF3; --line: #D5DEE9; --line2: #C2CDDA; --fg: var(--sc-navy); --fg2: #475569; --fg3: #64748B; --accent: var(--sc-blue); --accent2: var(--sc-blue); --accentbg: #E3EEFF; --radius: 1.1vh; }
#showcase .sc-tab-scr .sc-tk { transition: transform .12s ease, background .2s ease, border-color .2s ease; cursor: default; }
#showcase .sc-tab-scr .sc-tk.down { transform: scale(.92); background: #CFE0FF; }
#showcase .sc-tab-scr .btn.primary.sc-tk.down { background: #0B5ED7; }
#showcase .sc-tab-scr .dr-head { margin: -1.8vh -1.8vh 0; padding: 1.4vh 1.8vh 1.2vh; gap: .9vh; border-bottom: 2px solid var(--line); background: #FFFFFF; }
#showcase .sc-tab-scr .dr-htitle { font-size: 1.3em; }
#showcase .sc-tab-scr .dr-hsub { font-size: .85em; }
#showcase .sc-tab-scr .dr-hacts { gap: .7vh; }
#showcase .sc-tab-scr .dr-hacts .btn { min-height: 4.6vh; min-width: 4.6vh; padding: 0 .9em; font-size: 1em; font-weight: 700; gap: .5em; }
#showcase .sc-tab-scr .dr-hacts .dr-esc { min-width: 6.5vh; }
#showcase .sc-tab-scr .dr-hacts .dr-photo { padding: 0; }
#showcase .sc-tab-scr .dr-hacts .dr-photo.on { border-color: var(--sc-blue); color: var(--sc-blue); }
#showcase .sc-tab-scr .dr-hacts .dr-photo .cnt { top: -.6vh; right: -.6vh; font-size: .7em; padding: 0 .5em; line-height: 1.5; }
#showcase .sc-tab-scr .btn .ico { width: 1.25em; height: 1.25em; }
#showcase .sc-tab-scr .dr-sec { flex: 1; min-height: 0; gap: .9vh; }
#showcase .sc-tab-scr .dr-sect { font-size: .78em; }
#showcase .sc-tab-scr .dr-modes { border-width: 2px; border-radius: 1.1vh; }
#showcase .sc-tab-scr .dr-mode { min-height: 4.4vh; font-size: .9em; padding: 0 .3em; display: flex; align-items: center; justify-content: center; }
#showcase .sc-tab-scr .dr-dirs { gap: .8vh; }
#showcase .sc-tab-scr .dr-dir { min-height: 6.4vh; border-radius: 1.1vh; font-size: .9em; gap: .3vh; padding: .4vh; }
#showcase .sc-tab-scr .dr-arrow { width: 2.6vh; height: 2.6vh; }
#showcase .sc-tab-scr .dr-fld { min-height: 5.8vh; border-radius: 1.1vh; border-top-width: .6vh; padding: .5vh 1.2vh .6vh; }
#showcase .sc-tab-scr .dr-fld .dr-flbl { font-size: 1em; }
#showcase .sc-tab-scr .dr-fld .dr-fval { font-size: 1.35em; }
#showcase .sc-tab-val:not(:empty)::after { content: ' mm'; font-weight: 500; opacity: .7; }
#showcase .sc-tab-scr .dr-keys { flex: 1; min-height: 0; grid-auto-rows: 1fr; gap: .6vh; }
#showcase .sc-tab-scr .dr-key { min-height: 0; border-radius: 1.1vh; font-size: 1.45em; display: flex; align-items: center; justify-content: center; }
#showcase .sc-tab-scr .dr-key.dr-kfn { font-size: 1em; }
#showcase .sc-tab-scr .dr-foot { margin: 0 -1.8vh -1.8vh; padding: 1vh 1.8vh 1.4vh; border-top: 2px solid var(--line); background: #FFFFFF; }
#showcase .sc-tab-scr .dr-foot .btn { min-height: 5vh; font-size: 1.25em; border-radius: 1.1vh; }
#showcase .sc-finger { position: absolute; left: 0; top: 0; width: 6vh; height: 6vh; margin: -3vh 0 0 -3vh; border-radius: 50%; background: rgba(255, 255, 255, .38); border: 3px solid rgba(255, 255, 255, .9); box-shadow: 0 6px 22px rgba(0, 0, 0, .35); opacity: 0; transform: translate(30vw, 90vh); transition: transform calc(var(--sc-k) * .32s) cubic-bezier(.3, .7, .3, 1), opacity .3s ease; z-index: 3; }
#showcase .sc-finger.on { opacity: 1; }
#showcase .sc-finger::after { content: ''; position: absolute; inset: -3px; border-radius: 50%; border: 3px solid var(--sc-cyan); opacity: 0; }
#showcase .sc-finger.tap::after { animation: sc-ripple calc(var(--sc-k) * .5s) ease-out; }
@keyframes sc-ripple { from { opacity: 1; transform: scale(.6); } to { opacity: 0; transform: scale(2.2); } }
#showcase .sc-photo { position: absolute; left: var(--x); top: -30vh; width: 22vh; padding: 1vh 1vh 3.2vh; background: #fff; border-radius: .6vh; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); transform: translate(-50%, -50%) rotate(-14deg); transition: top calc(var(--sc-k) * .9s) cubic-bezier(.3, 1.3, .5, 1), transform calc(var(--sc-k) * .9s) ease, opacity calc(var(--sc-k) * .4s) ease, width calc(var(--sc-k) * .5s) ease; z-index: 3; }
#showcase .sc-photo svg { display: block; width: 100%; border-radius: .3vh; }
#showcase .sc-photo span { position: absolute; left: 0; right: 0; bottom: .8vh; text-align: center; color: #334155; font-size: clamp(10px, 1.3vh, 20px); font-weight: 600; }
#showcase .sc-photo.in { top: calc(var(--y) - 14vh); transform: translate(-50%, -50%) rotate(4deg); }
#showcase .sc-photo.gone { top: var(--y); width: 7vh; opacity: 0; transform: translate(-50%, -50%) rotate(0); }

/* ---------- dossier board (submit, board) ---------- */
#showcase .sc-desk { position: absolute; border-radius: 1.6vh; background: #F4F7FB; color: var(--sc-navy); box-shadow: 0 40px 110px rgba(0, 0, 0, .6), 0 0 0 1.2vh #1b2230; overflow: hidden; display: flex; flex-direction: column; opacity: 0; transform: translateY(6vh) scale(.97); transition: opacity calc(var(--sc-k) * .7s) ease, transform calc(var(--sc-k) * .8s) cubic-bezier(.2, .8, .2, 1); font-size: clamp(12px, 1.6vh, 26px); }
#showcase .sc-desk.in { opacity: 1; transform: none; }
#showcase .sc-desk-r { right: 4vw; top: 8vh; width: 54vw; height: 50vh; }
#showcase .sc-desk-full { left: 5vw; right: 5vw; top: 7vh; height: 56vh; }
#showcase .sc-desk-hd { display: flex; align-items: center; justify-content: space-between; padding: 1.4vh 2vh; background: var(--sc-navy); color: #fff; font-weight: 700; font-size: 1.15em; }
#showcase .sc-bell { position: relative; width: 3.4vh; height: 3.4vh; color: #fff; }
#showcase .sc-bell svg { width: 100%; height: 100%; }
#showcase .sc-bell b { position: absolute; right: -.7vh; top: -.6vh; min-width: 2.1vh; height: 2.1vh; border-radius: 99px; background: #ef4444; color: #fff; font-size: 1.3vh; line-height: 2.1vh; text-align: center; transform: scale(0); transition: transform calc(var(--sc-k) * .4s) cubic-bezier(.3, 1.6, .5, 1); }
#showcase .sc-bell.on b { transform: scale(1); }
#showcase .sc-bell.on svg { animation: sc-ring calc(var(--sc-k) * .7s) ease 2; transform-origin: 50% 10%; }
@keyframes sc-ring { 25% { transform: rotate(14deg); } 75% { transform: rotate(-14deg); } }
#showcase .sc-cols { flex: 1; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 1.4vh; padding: 1.8vh; min-height: 0; }
#showcase .sc-col { background: #E6ECF4; border-radius: 1.1vh; display: flex; flex-direction: column; min-width: 0; transition: background calc(var(--sc-k) * .4s) ease, box-shadow calc(var(--sc-k) * .4s) ease; }
#showcase .sc-col.act { background: #DCE9FF; box-shadow: inset 0 0 0 2px var(--sc-blue); }
#showcase .sc-col-hd { padding: 1.2vh 1.4vh; font-weight: 700; color: #334155; font-size: .95em; border-bottom: 2px solid rgba(11, 30, 58, .08); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#showcase .sc-col-bd { flex: 1; padding: 1vh; display: flex; flex-direction: column; gap: 1vh; position: relative; }
#showcase .sc-dcard { position: relative; display: flex; flex-direction: column; gap: .4vh; padding: 1.1vh 1.3vh; border-radius: 1vh; background: #fff; box-shadow: 0 4px 14px rgba(11, 30, 58, .14); border-left: .6vh solid var(--sc-blue); color: var(--sc-navy); font-size: clamp(11px, 1.45vh, 24px); box-sizing: border-box; overflow: hidden; }
#showcase .sc-dcard b { font-size: 1.02em; line-height: 1.2; }
#showcase .sc-dcard span { color: #475569; font-weight: 600; }
#showcase .sc-dcard-route { width: 60%; max-width: 12vh; height: auto; margin-top: .3vh; }
#showcase .sc-ghostcard { border-left-color: #94A3B8; opacity: .8; }
#showcase .sc-ghostcard span { display: block; height: .9vh; width: 60%; background: #E2E8F0; border-radius: 99px; }
#showcase .sc-fly { position: absolute; z-index: 3; border-left-width: 0; transition: left calc(var(--sc-k) * .6s) ease, top calc(var(--sc-k) * .6s) ease, width calc(var(--sc-k) * .6s) ease, height calc(var(--sc-k) * .6s) ease, border-radius calc(var(--sc-k) * .6s) ease; border-radius: 1.4vh; }
#showcase .sc-fly.fold { border-left-width: .6vh; box-shadow: 0 24px 60px rgba(0, 0, 0, .55); }
#showcase .sc-fly.go { transition: left calc(var(--sc-k) * .95s) cubic-bezier(.45, 0, .3, 1), top calc(var(--sc-k) * .95s) cubic-bezier(.1, .7, .3, 1), width calc(var(--sc-k) * .95s) ease, height calc(var(--sc-k) * .95s) ease; }
#showcase .sc-new { animation: sc-land calc(var(--sc-k) * 1.4s) ease; }
@keyframes sc-land { 0% { box-shadow: 0 0 0 0 rgba(30, 123, 255, .9); } 60% { box-shadow: 0 0 0 1.4vh rgba(30, 123, 255, 0); } }
#showcase .sc-hero.pop { animation: sc-pop calc(var(--sc-k) * .5s) cubic-bezier(.3, 1.5, .5, 1); }
@keyframes sc-pop { from { transform: scale(.85); opacity: .4; } }
#showcase .sc-turn { font-style: normal; font-weight: 700; color: #fff; background: var(--sc-blue); border-radius: 99px; padding: .3vh 1vh; align-self: flex-start; font-size: .92em; }
#showcase .sc-turn.flash { animation: sc-flash calc(var(--sc-k) * .9s) ease; }
@keyframes sc-flash { 0%, 50% { background: var(--sc-amber); transform: scale(1.08); } }
#showcase .sc-signed { font-style: normal; font-weight: 700; color: #15803d; }
#showcase .sc-note { position: absolute; right: 2vh; bottom: 2vh; padding: 1.2vh 1.8vh; border-radius: 1vh; background: var(--sc-navy); color: #fff; font-weight: 600; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); opacity: 0; transform: translateY(2vh); transition: opacity calc(var(--sc-k) * .5s) ease, transform calc(var(--sc-k) * .5s) ease; }
#showcase .sc-note.in { opacity: 1; transform: none; }

/* ---------- bolts: labels at the joint ---------- */
#showcase .sc-chip3d { position: absolute; padding: 1vh 1.6vh; border-radius: 1vh; background: rgba(11, 30, 58, .86); color: #fff; font-weight: 700; font-size: clamp(14px, 2.1vh, 34px); border-left: .5vh solid var(--sc-cyan); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); opacity: 0; transform: translateX(-2vw) scale(.9); transition: opacity calc(var(--sc-k) * .5s) ease, transform calc(var(--sc-k) * .5s) cubic-bezier(.3, 1.5, .5, 1); white-space: nowrap; }
#showcase .sc-chip3d.in { opacity: 1; transform: none; }

/* ---------- iso: the sheet comes out of the line ---------- */
#showcase .sc-paper { position: absolute; background: #fff; border-radius: 6px; box-shadow: 0 0 0 2px rgba(30, 123, 255, .6), 0 30px 80px rgba(0, 0, 0, .4); }
#showcase .sc-paper.grow { transition: left calc(var(--sc-k) * .75s) cubic-bezier(.6, 0, .2, 1), top calc(var(--sc-k) * .75s) cubic-bezier(.6, 0, .2, 1), width calc(var(--sc-k) * .75s) cubic-bezier(.6, 0, .2, 1), height calc(var(--sc-k) * .75s) cubic-bezier(.6, 0, .2, 1), border-radius calc(var(--sc-k) * .75s) ease; border-radius: 0; }
#showcase .sc-paper.wipe { clip-path: inset(0 0 0 100%); transition: clip-path calc(var(--sc-k) * 1.5s) cubic-bezier(.5, 0, .3, 1); box-shadow: none; }

/* ---------- quote: the total ---------- */
#showcase .sc-amount { position: absolute; right: 4vw; top: 10vh; min-width: 26vw; padding: 2.6vh 3vh; border-radius: 1.6vh; background: linear-gradient(135deg, rgba(11, 30, 58, .95), rgba(18, 52, 98, .92)); color: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); opacity: 0; transform: translateY(-3vh); transition: opacity calc(var(--sc-k) * .6s) ease, transform calc(var(--sc-k) * .6s) ease; text-align: right; }
#showcase .sc-amount.in { opacity: 1; transform: none; }
#showcase .sc-amount-no { font-size: clamp(14px, 2vh, 30px); color: #9CC3FF; font-weight: 700; letter-spacing: .03em; }
#showcase .sc-amount-d { font-size: clamp(12px, 1.6vh, 26px); color: #E4ECF7; margin: .4vh 0 1.4vh; }
#showcase .sc-amount-r { display: flex; justify-content: space-between; gap: 3vw; padding: .7vh 0; border-bottom: 1px solid rgba(255, 255, 255, .14); font-size: clamp(13px, 1.9vh, 30px); color: #E4ECF7; }
#showcase .sc-amount-r b { font-variant-numeric: tabular-nums; color: #fff; }
#showcase .sc-amount-v { font-size: clamp(36px, 7.5vh, 120px); font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.1; margin: .6vh 0; }
#showcase .sc-amount-l { font-size: clamp(13px, 1.8vh, 28px); color: #E4ECF7; }
#showcase .sc-amount.done .sc-amount-v { animation: sc-glow calc(var(--sc-k) * 1.2s) ease; }
@keyframes sc-glow { 40% { text-shadow: 0 0 30px rgba(20, 200, 255, .9); } }

/* ---------- deviation (full version) ---------- */
#showcase .sc-devcard { position: absolute; right: 4vw; top: 10vh; width: 26vw; padding: 2vh; border-radius: 1.6vh; background: #F4F7FB; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); display: flex; flex-direction: column; gap: 1.4vh; opacity: 0; transform: translateX(4vw); transition: opacity calc(var(--sc-k) * .6s) ease, transform calc(var(--sc-k) * .6s) ease; font-size: clamp(12px, 1.7vh, 28px); }
#showcase .sc-devcard.in { opacity: 1; transform: none; }
#showcase .sc-devcard-hd { font-weight: 700; color: #334155; }
#showcase .sc-dev-st { padding: 1.2vh 1.4vh; border-radius: 1vh; font-weight: 700; transition: background calc(var(--sc-k) * .4s) ease; }
#showcase .sc-dev-st.ok { background: #DCFCE7; color: #166534; }
#showcase .sc-dev-st.warn { background: #FEF3C7; color: #92400E; animation: sc-pop calc(var(--sc-k) * .5s) ease; }

/* ---------- closing card with QR code ---------- */
#showcase .sc-outro { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3vh; background: radial-gradient(ellipse at center, rgba(11, 30, 58, .78), rgba(11, 30, 58, .35) 75%); opacity: 0; transition: opacity calc(var(--sc-k) * 1s) ease; }
#showcase .sc-outro.in { opacity: 1; }
#showcase .sc-outro-logo { width: min(860px, 52vw); filter: drop-shadow(0 6px 24px rgba(0, 0, 0, .45)); }
#showcase .sc-outro-claim { color: #fff; font-size: clamp(20px, 2.6vw, 54px); font-weight: 700; text-shadow: 0 3px 16px rgba(0, 0, 0, .6); }
#showcase .sc-outro-row { display: flex; align-items: center; gap: 3vw; margin-top: 1vh; }
#showcase .sc-qr { display: flex; flex-direction: column; align-items: center; gap: 1vh; padding: 1.4vh; border-radius: 1.4vh; background: #fff; box-shadow: 0 16px 50px rgba(0, 0, 0, .4); }
#showcase .sc-qr svg { display: block; width: min(24vh, 300px); height: min(24vh, 300px); }
#showcase .sc-qr span { color: var(--sc-navy); font-weight: 800; font-size: clamp(13px, 1.9vh, 30px); }
#showcase .sc-outro-txt { display: flex; flex-direction: column; gap: 1.2vh; color: #fff; text-shadow: 0 3px 16px rgba(0, 0, 0, .6); }
#showcase .sc-outro-txt b { font-size: clamp(22px, 3.4vh, 56px); }
#showcase .sc-outro-txt span { font-size: clamp(18px, 2.8vh, 46px); color: #9CC3FF; font-weight: 700; letter-spacing: .04em; }

/* ---------- start window ---------- */
.sc-dlg p { margin: 0 0 12px; }
.sc-dlg fieldset { border: 1px solid var(--border, #D5DEE9); border-radius: 8px; padding: 8px 12px 10px; margin: 0 0 12px; display: flex; flex-direction: column; gap: 6px; }
.sc-dlg legend { padding: 0 4px; font-weight: 600; }
.sc-dlg label { display: flex; align-items: center; gap: 8px; cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  #showcase .sc-rec, #showcase .sc-ipad-view { animation: none; }
}
