
:root {
  --ink: #0f1e33; --orange: #ec6a1e; --sea: #06304f; --deep: #031221; --cyan: #7beaf5; --paper: #f0f5f9; --mute: #5b6a7c;
  --pad: clamp(16px, 3.2vw, 44px);
  --display: "Gmarket Sans", Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --body: Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { height: 100%; overflow: hidden; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: #fff; line-height: 1.6; word-break: keep-all; -webkit-font-smoothing: antialiased; }
h1, h2, p, figure { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 20; background: #fff; padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }

/* ── 3D 무대 ───────────────────────────────────────────── */
.stage { position: relative; height: 100svh; min-height: 0; overflow: hidden; color: #fff; background: var(--sea); isolation: isolate; }
#gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; }
.stage.dragging #gl { cursor: grabbing; }
.shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(3,18,33,.66), rgba(3,18,33,.3) 32%, transparent 56%),
    linear-gradient(0deg, rgba(3,18,33,.5), transparent 24%), linear-gradient(180deg, rgba(3,18,33,.42), transparent 20%); }
.no3d .stage { background: var(--sea) url("../assets/img/fallback-sea.jpg") center / cover; }
.no3d #gl, .no3d .hud, .no3d .split, .no3d .note { display: none; }

.top { position: absolute; inset: 0 0 auto; display: flex; align-items: center; gap: 12px; padding: clamp(14px, 2.2vw, 28px) var(--pad); pointer-events: none; z-index: 3; }
.top > * { pointer-events: auto; }
.logo { display: inline-flex; align-items: center; gap: 9px; margin-right: auto; }
.logo img { display: block; width: 40px; height: 40px; }
.wordmark { width: 95px; height: 40px; background: currentColor; -webkit-mask: url("../assets/img/logo-wordmark.png") center / contain no-repeat; mask: url("../assets/img/logo-wordmark.png") center / contain no-repeat; }

.switch { display: flex; padding: 4px; border-radius: 999px; background: rgba(3,18,33,.5); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.switch button { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; padding: 9px 18px; border-radius: 999px; color: rgba(255,255,255,.82); transition: background .25s, color .25s; }
.switch b { font-family: var(--display); font-size: .98rem; letter-spacing: -.01em; }
.switch span { font-size: .8rem; opacity: .8; }
.switch button:hover { color: #fff; }
.switch button[aria-pressed="true"] { background: #fff; color: var(--ink); }

.copy { position: absolute; left: var(--pad); top: 47%; translate: 0 -50%; width: min(36rem, calc(100% - 2 * var(--pad))); z-index: 2; pointer-events: none;
  opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
body[data-product="sea"] .copy[data-for="sea"], body[data-product="land"] .copy[data-for="land"] { opacity: 1; visibility: visible; transition-delay: .35s; }
.copy h2 { font-family: var(--display); font-size: clamp(1.7rem, 3.5vw, 3.15rem); line-height: 1.24; letter-spacing: -.025em; text-shadow: 0 2px 24px rgba(3,18,33,.45); }
.lead { margin-top: 1.1em; max-width: 27rem; font-size: clamp(.98rem, 1.15vw, 1.08rem); color: rgba(255,255,255,.88); text-shadow: 0 1px 12px rgba(3,18,33,.6); }
.modes { display: inline-flex; margin-top: 1.7rem; padding: 4px; border-radius: 12px; background: rgba(3,18,33,.5); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); pointer-events: auto; }
.modes button { padding: 10px 18px; border-radius: 9px; font-weight: 600; font-size: .96rem; color: rgba(255,255,255,.8); transition: background .25s, color .25s; }
.modes button:hover { color: #fff; }
.modes button[aria-pressed="true"] { background: var(--orange); color: #fff; }
.desc { display: none; margin-top: .9rem; max-width: 26rem; font-size: 1rem; color: #fff; text-shadow: 0 1px 12px rgba(3,18,33,.6); }
body[data-mode="cruise"] .desc[data-desc="cruise"], body[data-mode="moor"] .desc[data-desc="moor"], body[data-mode="replay"] .desc[data-desc="replay"] { display: block; }

.replay { display: none; margin-top: 1rem; width: min(23rem, 100%); padding: 12px 14px 10px; border-radius: 12px; background: rgba(3,18,33,.56); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); pointer-events: auto; }
body[data-mode="replay"] .replay { display: block; }
.graph { position: relative; height: 48px; }
.graph canvas { width: 100%; height: 100%; display: block; }
.graph i { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: #fff; border-radius: 2px; }
.replay input { width: 100%; margin: 6px 0 0; accent-color: var(--orange); }
.ticks { display: flex; justify-content: space-between; align-items: baseline; font-size: .8rem; color: rgba(255,255,255,.7); }
.ticks output { font-weight: 600; font-size: .9rem; color: #fff; font-variant-numeric: tabular-nums; }

.copy[data-for="land"] { top: auto; bottom: clamp(56px, 8vh, 84px); translate: none; width: min(30rem, calc(100% - 2 * var(--pad))); }
.copy[data-for="land"] h2 { font-size: clamp(1.5rem, 2.5vw, 2.3rem); }
.copy[data-for="land"] .lead { margin-top: .7em; }

/* 장면 위 표시 */
.hud { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.hud [data-a] { position: absolute; left: 0; top: 0; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; will-change: transform; white-space: nowrap; }
.hud button { pointer-events: auto; font-family: var(--body); text-align: left; }
.tag { translate: -50% -50%; font-family: var(--display); font-size: clamp(1rem, 1.5vw, 1.35rem); color: #d9fbff; text-shadow: 0 0 14px rgba(20,160,200,.9), 0 1px 3px rgba(3,18,33,.7); }
.tag.cam { translate: -50% -100%; font-size: .9rem; color: #fff; padding: 5px 11px; border-radius: 999px; background: var(--orange); text-shadow: none; }
.bracket { --r: 40px; width: calc(var(--r) * 2); height: calc(var(--r) * 1.7); translate: -50% -50%; }
.bracket i { position: absolute; width: 26%; height: 30%; border: 2px solid #ff9a3d; filter: drop-shadow(0 0 5px rgba(236,106,30,.8)); }
.bracket i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.bracket i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.bracket i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; }
.bracket i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.bracket em { position: absolute; left: 0; bottom: calc(100% + 5px); font-style: normal; font-size: .78rem; font-weight: 600; color: #ffd2a6; text-shadow: 0 1px 4px rgba(3,18,33,.8); }
.chip { translate: -50% -100%; display: grid; gap: 1px; padding: 8px 13px; border-radius: 10px; font-size: .8rem; line-height: 1.35; color: rgba(255,255,255,.86); background: rgba(3,18,33,.72); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.chip b { font-size: .95rem; color: #fff; font-variant-numeric: tabular-nums; }
.chip.alert, .chip.tilt, .chip.hot { background: var(--orange); border-color: rgba(255,255,255,.5); color: #fff; }
.chip.alert::after, .chip.hot::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; border: 2px solid var(--orange); animation: ping 1.8s ease-out infinite; }
@keyframes ping { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(1.45, 1.8); } }

body[data-product="sea"]:not([data-mode="moor"]) .tag.fan, body[data-product="sea"]:not([data-mode="moor"]) .bracket,
body[data-product="sea"] .stage[data-ev] .chip.alert, body[data-product="sea"][data-mode="replay"] .impact .chip.tilt,
body[data-product="land"] .settled .temp, body[data-product="land"] .settled .tag.cam, body[data-product="sea"] .settled .spot { opacity: 1; visibility: visible; }
.hud [data-a].off, .stage[data-focus="helm"] .tag.fan, .stage[data-focus] .spot, .stage[data-focus] .bracket, .stage[data-focus] .tag.cam, .stage[data-focus="tscam"] .temp:not(.hot) { opacity: 0 !important; visibility: hidden !important; }
.stage[data-focus="tscam"] .divider, .stage[data-focus="tscam"] .split { opacity: 0 !important; visibility: hidden !important; }
.stage[data-focus] .copy { opacity: 0 !important; visibility: hidden !important; transition-delay: 0s !important; }

/* 누를 수 있는 점 */
.spot { translate: -50% -50%; width: 22px; height: 22px; padding: 0; border-radius: 50%; background: var(--orange); border: 2.5px solid #fff; box-shadow: 0 2px 12px rgba(3,18,33,.5); }
.spot::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid #fff; animation: ping 2.2s ease-out infinite; }
.spot span { position: absolute; left: calc(100% + 10px); top: 50%; translate: 0 -50%; padding: 6px 12px; border-radius: 999px; font-size: .86rem; font-weight: 600; color: var(--ink); background: #fff; opacity: 0; transition: opacity .2s; pointer-events: none; }
.spot:hover span, .spot:focus-visible span { opacity: 1; }
button.chip:hover, button.tag.cam:hover { filter: brightness(1.15); }
button.tag.cam { font-family: var(--display); border: 0; }

/* 가까이 보기 설명 */
.focus { position: absolute; z-index: 3; left: var(--pad); bottom: clamp(56px, 8vh, 84px); width: min(33rem, calc(100% - 2 * var(--pad))); display: flex; gap: 16px; align-items: center; padding: 16px; border-radius: 16px;
  background: rgba(3,18,33,.66); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); opacity: 0; visibility: hidden; translate: 0 12px; transition: opacity .4s, visibility .4s, translate .4s; }
.stage[data-focus] .focus { opacity: 1; visibility: visible; translate: 0 0; transition-delay: .5s; }
.focus img { flex: none; width: 132px; height: 96px; object-fit: contain; border-radius: 10px; background: var(--paper); }
.focus img[hidden] { display: none; }
.focus h3 { margin: 0; font-family: var(--display); font-size: 1.2rem; letter-spacing: -.02em; }
.focus p { margin-top: 4px; font-size: .93rem; color: rgba(255,255,255,.86); }
.f-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.f-btns button { padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: .9rem; border: 1px solid rgba(255,255,255,.4); transition: background .2s; }
.f-btns button:hover { background: rgba(255,255,255,.16); }
#f-act { background: var(--orange); border-color: var(--orange); } #f-act:hover { background: #ff7b2e; } #f-act[hidden] { display: none; }
kbd { margin-left: 4px; padding: 1px 6px; border-radius: 5px; font: inherit; font-size: .76rem; background: rgba(255,255,255,.18); }
.note b { margin-right: 8px; padding: 3px 9px; border-radius: 999px; color: #fff; background: rgba(3,18,33,.6); border: 1px solid rgba(255,255,255,.25); font-variant-numeric: tabular-nums; }
.filewarn { display: none; position: absolute; z-index: 4; left: var(--pad); top: 96px; max-width: 34rem; padding: 14px 18px; border-radius: 12px; background: var(--orange); font-weight: 600; }
.filewarn code { padding: 1px 6px; border-radius: 5px; background: rgba(3,18,33,.3); font-size: .9em; }
.nofile .filewarn { display: block; }

.divider { position: absolute; top: 0; bottom: 0; left: calc(var(--split, .5) * 100%); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 18px rgba(3,18,33,.6); opacity: 0; transition: opacity .4s; }
.divider span { position: absolute; top: clamp(84px, 13vh, 120px); padding: 5px 11px; border-radius: 999px; font-size: .8rem; font-weight: 600; white-space: nowrap; background: rgba(3,18,33,.66); border: 1px solid rgba(255,255,255,.22); }
.divider span:first-child { right: 12px; } .divider span:last-child { left: 12px; }
.split { position: absolute; z-index: 2; left: -27px; width: calc(100% + 54px); top: 71%; height: 54px; margin: -27px 0 0; background: none; -webkit-appearance: none; appearance: none; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; pointer-events: none; }
.split::-webkit-slider-runnable-track { height: 54px; background: none; }
.split::-moz-range-track { height: 54px; background: none; }
.split::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 54px; height: 54px; border-radius: 50%; border: 0; cursor: ew-resize; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 54 54'%3E%3Cpath d='M22 19l-8 8 8 8M32 19l8 8-8 8' fill='none' stroke='%230f1e33' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain; box-shadow: 0 4px 22px rgba(3,18,33,.45); }
.split::-moz-range-thumb { pointer-events: auto; width: 54px; height: 54px; border-radius: 50%; border: 0; cursor: ew-resize; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 54 54'%3E%3Cpath d='M22 19l-8 8 8 8M32 19l8 8-8 8' fill='none' stroke='%230f1e33' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain; box-shadow: 0 4px 22px rgba(3,18,33,.45); }
.split:focus-visible { outline: none; }
.split:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--cyan); outline-offset: 3px; }
.split:focus-visible::-moz-range-thumb { outline: 3px solid var(--cyan); outline-offset: 3px; }
body[data-product="land"] .settled .divider { opacity: 1; }
body[data-product="land"] .stage.settled .split { opacity: 1; visibility: visible; }

/* 서비스 바로가기: 접힌 메뉴 */
.svc { position: relative; }
.svc-btn { display: flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 999px; font-weight: 600; font-size: .92rem; white-space: nowrap; color: #fff; background: var(--orange); box-shadow: 0 6px 22px rgba(3,18,33,.35); transition: background .2s; }
.svc-btn:hover { background: #ff7b2e; }
.svc-btn em { font-style: normal; }
.svc-btn i { width: 7px; height: 7px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateY(-2px) rotate(45deg); transition: transform .25s; }
.svc.open .svc-btn i { transform: translateY(2px) rotate(225deg); }
.svc-list { position: absolute; right: 0; top: calc(100% + 10px); width: 290px; display: grid; gap: 2px; padding: 7px; border-radius: 18px; background: rgba(3,18,33,.78); border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 22px 60px rgba(3,18,33,.55); opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: top right; transition: opacity .22s, transform .22s, visibility .22s; }
.svc.open .svc-list { opacity: 1; visibility: visible; transform: none; }
.svc-list a { display: grid; gap: 1px; padding: 11px 14px; border-radius: 12px; transition: background .15s; }
.svc-list a:hover { background: rgba(255,255,255,.12); }
.svc-list a.main { background: rgba(236,106,30,.24); }
.svc-list a.main:hover { background: rgba(236,106,30,.4); }
.svc-list b { font-size: .98rem; font-weight: 600; }
.svc-list span { font-size: .78rem; color: rgba(255,255,255,.62); }

/* (이전 하단 띠) */
.dock { position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(14px, 2.4vw, 28px); z-index: 3; display: grid; grid-template-columns: 1.25fr repeat(5, 1fr); border-radius: 16px; overflow: hidden;
  background: rgba(3,18,33,.58); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.dock a { display: flex; align-items: center; justify-content: center; min-height: 62px; padding: 12px 14px; text-align: center; font-weight: 600; font-size: clamp(.86rem, 1.05vw, 1rem); line-height: 1.3; border-left: 1px solid rgba(255,255,255,.14); transition: background .2s; }
.dock a:hover { background: rgba(255,255,255,.14); }
.dock a.main { background: var(--orange); border-left: 0; font-family: var(--display); letter-spacing: -.01em; }
.dock a.main:hover { background: #ff7b2e; }
.dock a:focus-visible { outline-offset: -4px; }
.note { position: absolute; right: var(--pad); bottom: clamp(14px, 2.4vw, 24px); z-index: 2; font-size: .78rem; color: rgba(255,255,255,.66); pointer-events: none; text-shadow: 0 1px 6px rgba(3,18,33,.7); }

/* ── 제품 ─────────────────────────────────────────────── */
.products { max-width: 1240px; margin: 0 auto; padding: clamp(64px, 9vw, 128px) var(--pad); display: grid; gap: clamp(72px, 10vw, 150px); }
.product { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
.product.lp { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: start; }
.product.ts { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
.product.lp header { position: sticky; top: 40px; }
.name { white-space: nowrap; font-family: var(--display); font-size: clamp(2.6rem, 5.2vw, 4.6rem); line-height: 1; letter-spacing: -.035em; }
.name span { color: var(--orange); }
.kind { margin-top: 1rem; font-family: var(--display); font-size: clamp(1.1rem, 1.7vw, 1.45rem); line-height: 1.4; letter-spacing: -.02em; }
.say { margin-top: .7rem; max-width: 24rem; color: var(--mute); font-size: 1.05rem; }
.go { margin-top: 1.6rem; padding: 12px 22px; border-radius: 999px; border: 1.5px solid var(--ink); font-weight: 600; transition: background .2s, color .2s; }
.go:hover { background: var(--ink); color: #fff; }
.parts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.parts figure { display: grid; grid-template-rows: 1fr auto; padding: 22px 22px 20px; border-radius: 22px; background: var(--paper); }
.parts .wide { grid-column: 1 / -1; }
.parts img { display: block; width: 100%; height: auto; max-height: 300px; object-fit: contain; align-self: center;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent), linear-gradient(transparent, #000 7%, #000 93%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent), linear-gradient(transparent, #000 7%, #000 93%, transparent); mask-composite: intersect; }
figcaption { display: grid; gap: 2px; margin-top: 12px; color: var(--mute); font-size: .95rem; }
figcaption b { color: var(--ink); font-size: 1.08rem; }
.shot img { display: block; width: 100%; height: auto; }

.foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 28px var(--pad); background: var(--paper); color: var(--mute); font-size: .88rem; }
.foot .logo { color: var(--ink); }
.foot .logo img { width: 28px; height: 28px; } .foot .wordmark { width: 66px; height: 28px; }

/* ── 좁은 화면 ─────────────────────────────────────────── */
@media (max-width: 860px) {
  .stage { min-height: 0; }
  .switch span { display: none; }
  .switch button { padding: 8px 13px; } .switch b { font-size: .88rem; }
  .logo img { width: 32px; height: 32px; } .wordmark { width: 76px; height: 32px; }
  .copy[data-for="sea"] .lead { display: none; }
  .divider span { top: auto; bottom: 24px; }
  .svc-btn em { display: none; } .svc-btn { padding: 9px 12px; } .svc-list { width: min(280px, calc(100vw - 2 * var(--pad))); }
  .top { gap: 8px; flex-wrap: wrap; } .switch { order: 3; }
  .copy, .copy[data-for="land"] { top: 132px; }
  .dock a:last-child { grid-column: 1 / -1; }
  .copy, .copy[data-for="land"] { top: 84px; bottom: auto; translate: none; }
  .modes { margin-top: 1.1rem; } .modes button { padding: 9px 14px; }
  .shade { background: linear-gradient(180deg, rgba(3,18,33,.72), rgba(3,18,33,.3) 38%, transparent 56%), linear-gradient(0deg, rgba(3,18,33,.8), transparent 40%); }
  .dock { grid-template-columns: 1fr 1fr; border-radius: 14px; }
  .dock a { min-height: 50px; padding: 9px 10px; border-left: 0; border-top: 1px solid rgba(255,255,255,.14); }
  .dock a:nth-child(even) { border-left: 1px solid rgba(255,255,255,.14); }
  .dock a.main { grid-column: 1 / -1; border-top: 0; }
  .note { display: none; }
  .focus { bottom: 16px; padding: 12px; gap: 12px; } .focus img { width: 84px; height: 64px; } .focus p { font-size: .86rem; }
  .split { top: 64%; }
  .product.lp, .product.ts { grid-template-columns: 1fr; }
  .product.lp header { position: static; }
  .product.ts .shot { order: 2; }
  .parts { grid-template-columns: 1fr; } .parts figure { padding: 16px; border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) { * { transition-duration: .01ms !important; animation: none !important; } }

/* 사진에서 바로 들어가는 제품 띠: 기존 장면과 가까이 보기를 공유한다. */
.copy[data-for="land"] { top: 112px; bottom: auto; width: min(34rem, calc(100% - 2 * var(--pad))); }
.copy[data-for="land"] .lead { max-width: 33rem; }
.stage[data-focus="engine"] .engine-temp { opacity: 1; visibility: visible; }
.tag.engine-camera { translate: -50% calc(-100% - 10px); padding: 6px 10px; font: 600 .84rem var(--body); color: #fff; background: var(--orange); border: 1px solid rgba(255,255,255,.75); border-radius: 7px; text-shadow: none; }
.tag.engine-camera::after { content: ''; position: absolute; width: 1px; height: 15px; background: #fff; left: 50%; top: 100%; }
.stage[data-focus="engine"] .engine-camera { opacity: 1; visibility: visible; }
.stage[data-focus="engine"] .tag.fan, .stage[data-focus="engine"] .chip.alert, .stage[data-focus="engine"] .chip.tilt { visibility: hidden; opacity: 0; }
.stage[data-focus="engine"].settled .divider { opacity: 1; }
.stage[data-focus="engine"].settled .split { opacity: 1; visibility: visible; }
.stage[data-focus="engine"] .split { top: 61%; }
@media (max-width: 860px) {
  .copy, .copy[data-for="land"] { top: 132px; }
  .copy[data-for="land"] h2 { font-size: 1.45rem; }
  .copy[data-for="land"] .lead { font-size: .85rem; max-width: 21rem; }
  .note { display: block; font-size: .65rem; bottom: 10px; right: 16px; }
  .note b, .note-help { display: none; }
  .focus { bottom: 35px; }
  .divider span { top: 292px; bottom: auto; }
  .stage[data-focus] .divider span { top: 122px; }
  .chip { font-size: .65rem; padding: 6px 8px; }
  .chip b { font-size: .8rem; }
  .stage[data-focus="engine"] .engine-temp[data-a="fuel"] { visibility: hidden; opacity: 0; }
  .stage[data-focus="engine"] .engine-temp[data-a="engineBlock"] { translate: 10% -100%; }
  .stage[data-focus="engine"] .engine-temp[data-a="exhaust"] { translate: -110% -100%; }
  .stage[data-focus="engine"] .focus { align-items: flex-start; }
  .stage[data-focus="engine"] .focus img { width: 66px; height: 58px; }
  .stage[data-focus="engine"] .f-btns { gap: 6px; }
  .stage[data-focus="engine"] .f-btns button { padding: 8px 11px; font-size: .8rem; }
}

/* Long showroom table; field UI remains available after the camera journey. */
.family-nav,.table-night,.home-copy,.home-labels,.table-controls { display:none; }
.table-return { padding:9px 17px; border:1px solid #b5ccd5; border-radius:24px; background:rgba(3,18,33,.7); font-weight:600; }
body[data-space="home"] .table-return,body[data-space="home"] .switch { display:none; }
body[data-space="home"] .copy,body[data-space="home"] .hud { visibility:hidden!important;opacity:0!important; }
body[data-space="home"] .split { visibility:hidden!important;opacity:0!important; }
body[data-space="home"] .shade { background:linear-gradient(180deg,rgba(3,18,33,.65),rgba(3,18,33,.12) 37%,transparent 52%),linear-gradient(0deg,rgba(3,18,33,.45),transparent 24%); }
body[data-space="home"] .family-nav { display:flex; gap:3px; padding:4px; border-radius:28px; background:rgba(16,52,73,.7); }
.family-nav button { padding:9px 24px; border-radius:24px; font-family:var(--display);font-size:.95rem;color:#d5e0e4; }
.family-nav button[aria-pressed="true"] { background:#e9eee9;color:var(--ink); }
body[data-space="home"] .table-night { display:block;padding:8px 15px;border:1px solid #b9cbd4;border-radius:24px; }
body[data-space="home"] .home-copy { display:block;position:absolute;left:var(--pad);top:116px;z-index:1;pointer-events:none; }
.home-copy h2 { font-family:var(--display);font-size:clamp(1.5rem,2.5vw,2.4rem);line-height:1.32;letter-spacing:-.04em;text-shadow:0 2px 18px #10344980; }
.home-copy p { margin-top:12px;font-size:.9rem;color:#d7e4e9; }
body[data-space="home"] .home-labels { display:block;position:absolute;inset:0;pointer-events:none;z-index:2; }
.home-labels button { position:absolute;left:0;top:0;translate:-50% 0;display:grid;grid-template-columns:auto 24px;gap:0 14px;padding:8px 12px;min-width:175px;background:rgba(236,242,243,.93);color:#183c50;border:1px solid #fff8;border-bottom:3px solid #ec6a1e;border-radius:4px;box-shadow:0 5px 16px #10344920;text-align:left;pointer-events:auto; }
.home-labels small { font-size:.65rem;grid-column:1;line-height:1.3;color:#536c79; }
.home-labels b { font-size:.85rem;font-weight:600;grid-column:1; }
.home-labels span { grid-row:1 / 3;grid-column:2;align-self:center;color:#ec6a1e;font-size:1.4rem; }
.home-labels .off { visibility:hidden;pointer-events:none; }
body[data-space="home"] .table-controls { display:flex;align-items:center;justify-content:center;gap:22px;position:absolute;bottom:42px;left:50%;translate:-50% 0;z-index:3;white-space:nowrap; }
.table-controls button { width:44px;height:44px;border-radius:50%;border:1px solid #fff8;background:#103449dc;font-size:1.2rem; }
.table-controls div { display:grid;text-align:center;text-shadow:0 1px 8px #103449; }
.table-controls b { font-size:.95rem; }.table-controls span { font-size:.76rem;color:#d5e1e6; }
body[data-space="home"] .note { font-size:.68rem;bottom:12px; }.stage[data-exhibit] .home-copy,.stage[data-exhibit] .table-controls { visibility:hidden; }
body[data-space="home"] .note b,body[data-space="home"] .note-help { display:none; }
.stage[data-exhibit] .focus { opacity:1;visibility:visible;translate:0 0;transition-delay:.3s; }
#f-site { background:#f0f5f9;color:#183c50;border-color:#fff; } #f-site[hidden] { display:none; }
.object-hint { position:fixed;z-index:10;padding:6px 12px;border-radius:7px;background:#183c50;color:white;font-size:.82rem;border:1px solid #a6bbc6;pointer-events:none; }
.object-hint[hidden] { display:none; }
@media(max-width:760px) {
  body[data-space="home"] .family-nav { order:4; } .family-nav button { padding:7px 20px; }
  body[data-space="home"] .table-night { margin-left:auto;padding:6px 12px;order:5; }
  body[data-space="home"] .top { flex-wrap:wrap; } body[data-space="home"] .logo { flex:1; }
  body[data-space="home"] .svc { order:2; } body[data-space="home"] .home-copy { top:136px; }
  .home-copy h2 { font-size:1.45rem; }.home-copy p { font-size:.75rem;max-width:300px;margin-top:8px; }
  .home-labels button { min-width:155px;padding:7px 10px; }.home-labels b { font-size:.78rem; }
  body[data-space="home"] .table-controls { gap:12px;bottom:50px; }.table-controls span { font-size:.68rem; }
  .table-controls button { width:36px;height:36px; }.table-controls b { font-size:.85rem; }
  .stage[data-exhibit] .focus { bottom:32px; }.table-return { order:3;padding:7px 12px;font-size:.83rem; }
}
@media(max-height:650px) and (min-width:761px) { body[data-space="home"] .home-copy { top:92px; }.home-copy h2 { font-size:1.5rem; }.home-copy p { margin-top:5px; } }

/* Compact company showroom: lower viewing angle, L counter and one right-hand door. */
body[data-space="home"] .shade { background:linear-gradient(180deg,rgba(6,23,30,.48),transparent 30%),linear-gradient(0deg,rgba(6,23,30,.30),transparent 17%); }
body[data-space="home"] .home-copy { top:106px; }
.home-copy h2 { font-size:clamp(1.25rem,1.8vw,1.7rem);line-height:1.3; }
.home-copy p { margin-top:7px;font-size:.79rem; }
.home-labels button { min-width:0;max-width:148px;padding:5px 8px;gap:0 6px;border-bottom-width:2px; }
.home-labels small { font-size:.58rem; }.home-labels b { font-size:.74rem; }.home-labels span { font-size:1rem; }
body[data-space="home"] .table-controls { bottom:31px;gap:12px; }
.table-controls #table-overview { width:auto;padding:0 13px;font-size:.78rem;border-radius:22px; }
.room-door-controls { display:none; }
body[data-space="home"] .room-door-controls { display:flex;position:absolute;left:auto;right:35px;width:max-content;top:28%;translate:-50% -120%;z-index:3;gap:6px;white-space:nowrap; }
.room-door-controls button { padding:8px 12px;border:1px solid #fff9;border-radius:20px;background:#173b50ed;font-size:.8rem;font-weight:600; }
.room-door-controls #door-exit { background:#ec6a1e;border-color:#ec6a1e; }.room-door-controls [hidden] { display:none; }
body[data-space="home"] .room-door-controls.off { visibility:hidden;pointer-events:none; }
.travel-status { position:absolute;left:50%;bottom:32px;translate:-50% 0;padding:8px 16px;background:#173b50d9;border-radius:24px;z-index:5;font-size:.85rem; }
.travel-status:empty { display:none; }
.stage[data-travel] .home-copy,.stage[data-travel] .home-labels,.stage[data-travel] .focus,.stage[data-travel] .copy,.stage[data-travel] .hud,.stage[data-travel] .split,.stage[data-travel] .table-controls,.stage[data-travel] .room-door-controls { visibility:hidden!important;opacity:0!important;pointer-events:none!important; }
.stage[data-travel] .family-nav,.stage[data-travel] .switch,.stage[data-travel] .table-return,.stage[data-travel] .table-night { opacity:.4; }
@media(max-width:760px) {
  body[data-space="home"] .home-copy { top:124px; }.home-copy h2 { font-size:1.15rem; }.home-copy p { font-size:.69rem;max-width:250px; }
  .home-labels button { max-width:112px;padding:4px 6px; }.home-labels b { font-size:.68rem; }
  body[data-space="home"] .room-door-controls { right:14px;left:auto!important;top:225px!important;translate:0 0;gap:4px; }
  .room-door-controls button { padding:7px 10px;font-size:.74rem; }
  body[data-space="home"] .table-controls { bottom:35px;gap:7px; }.table-controls div span { font-size:.6rem; }
  .table-controls #table-overview { padding:0 8px;font-size:.68rem; }.table-controls b { font-size:.75rem; }
  .table-return { max-width:130px;font-size:.73rem; }
}

@media(max-width:760px) {
  body[data-space="home"] .stage[data-table-overview] .home-labels { inset:62% 16px auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px; }
  .stage[data-table-overview] .home-labels button { position:relative;inset:auto;translate:none;transform:none!important;min-height:45px;max-width:none;gap:0 3px;padding:6px; }
  .stage[data-table-overview] .home-labels b { font-size:.65rem; }
  .stage[data-table-overview] .home-labels span { font-size:.8rem; }
}

/* Quality pass: product-lighted showroom, compact accessible name disclosures. */
body[data-space="home"] .home-copy { display:none; }
.home-labels button { display:block;width:30px;height:30px;min-width:0;max-width:none;min-height:0;padding:0;border:0;border-radius:50%;background:transparent;box-shadow:none; }
.home-labels button::before { content:'+';position:absolute;width:17px;height:17px;left:6px;top:6px;border:1px solid #e0d7c5aa;border-radius:50%;background:#172129b8;color:#e0d7c5;font:14px/15px sans-serif;text-align:center;box-shadow:none; }
.home-labels button small,.home-labels button b,.home-labels button span { display:none; }
.home-labels button:is(:hover,:focus-visible,.expanded) { z-index:8; }
.home-labels button:is(:hover,:focus-visible,.expanded) b { display:block;position:absolute;bottom:32px;left:50%;translate:-50% 0;width:max-content;max-width:180px;padding:8px 12px;border:1px solid #a5a39970;border-radius:5px;background:#20262df2;color:#f5eee1;font-size:.75rem;box-shadow:0 4px 16px #0005; }
.home-labels button:focus-visible { outline:2px solid #f6dec0;outline-offset:2px; }
@media(max-width:760px) {
 body[data-space="home"] .stage[data-table-overview] .home-labels { inset:0;display:block; }
 .stage[data-table-overview] .home-labels button { position:absolute;translate:-50% 0;transform:var(--label-transform)!important;min-height:0;max-width:none;padding:0;width:34px;height:34px; }
}

/* Keep the engine itself clear; the chips stay anchored beside each component. */
@media (min-width:761px){
 .engine-temp[data-a="engineBlock"]{translate:calc(0% + 45px) 25%;}
 .engine-temp[data-a="exhaust"]{translate:calc(-100% - 65px) 20%;}
 .engine-temp[data-a="fuel"]{translate:calc(0% + 75px) -125%;}
 .tag.engine-camera{translate:calc(-100% - 12px) calc(-100% - 12px);}
}

/* Initial markup is visible before the module graph or models arrive. */
.scene-loader { position:absolute;inset:0;z-index:9;display:grid;align-content:center;justify-items:center;gap:20px;background:#202a31;color:#e9edee;transition:opacity .25s; }
.scene-loader[hidden] { display:none; }
.loading-brand { display:flex;align-items:center;gap:12px; }
.loading-brand span { font:700 23px/1.05 var(--body);letter-spacing:-.7px; }
.scene-loader p { font-size:.82rem;color:#bdc7cb; }
.scene-loader progress { width:180px;height:3px;border:0;accent-color:var(--orange); }
.scene-loader progress::-webkit-progress-bar { background:#3b4850;border-radius:2px; }
.scene-loader progress::-webkit-progress-value { background:var(--orange);border-radius:2px; }
.loading-track { position:relative;width:180px;height:3px;overflow:hidden; }
.loading-track progress { display:block; }
.loading-track::after { content:"";position:absolute;inset:0 auto 0 0;width:42px;background:linear-gradient(90deg,transparent,#fff9,transparent);animation:loading-scan 1.1s linear infinite; }
@keyframes loading-scan { from { transform:translateX(-42px); } to { transform:translateX(180px); } }
@media(prefers-reduced-motion:reduce) { .loading-track::after { animation:none;display:none; } }
.field-loading { position:absolute;left:var(--pad);bottom:68px;z-index:4;padding:6px 10px;border:1px solid #9db4c333;border-radius:4px;background:#19262ee8;color:#d3dce0;font-size:.72rem;pointer-events:none; }
.field-loading[hidden] { display:none; }
.copy .modes { margin-top:0; }
.copy[data-for="sea"] { top:auto;bottom:122px;translate:none; }
.field-desc { max-width:30rem;font-size:.82rem;color:#e0e7ea;text-shadow:0 1px 8px #031221; }
.copy[data-for="land"] { top:110px; }
@media(max-width:760px) { .copy[data-for="sea"] { top:132px;bottom:auto; }.copy[data-for="land"] { top:132px; }.field-desc { max-width:22rem;font-size:.75rem; }.field-loading { bottom:112px; } }

/* 창밖 사진(CC BY-SA 4.0) 저작자·라이선스 표시: 창이 보이는 전시실에서만. 안내 문구는 클릭을 통과시키므로 링크만 다시 받는다. */

/* Portrait showroom: a readable stretch of the real counter, with the existing
   family/arrow controls to reach its other end. No duplicate product strip. */
@media (max-width:760px), (pointer:coarse) and (max-height:600px) {
 .top { display:grid;grid-template-columns:1fr auto;grid-template-areas:'logo services' 'switch return';gap:10px;padding:14px 16px; }
 .top .logo { grid-area:logo;margin:0; }.top .svc { grid-area:services;order:initial; }
 .top .switch { grid-area:switch;justify-self:start;order:initial; }
 .top .table-return { grid-area:return;order:initial;max-width:none;font-size:.75rem;min-height:40px;padding:7px 10px; }
 body[data-space="home"] .top { display:grid;grid-template-areas:'logo services' 'family night'; }
 body[data-space="home"] .family-nav { grid-area:family;justify-self:start;order:initial; }
 body[data-space="home"] .table-night { grid-area:night;order:initial;margin:0;justify-self:end;min-height:40px; }
 .family-nav button,.switch button { min-height:36px; }
 body[data-space="home"] .room-door-controls { left:auto!important;right:16px;top:auto!important;bottom:105px;translate:none; }
 .room-door-controls button { min-height:42px;padding:9px 13px; }
 body[data-space="home"] .table-controls { width:calc(100% - 32px);bottom:40px;gap:9px; }
 .table-controls button { flex:none;width:44px;height:44px; }
 .table-controls div { flex:1;min-width:0; }
 .table-controls b { font-size:.8rem;white-space:normal;line-height:1.3; }
 .table-controls #table-overview { font-size:.65rem;padding:0 9px; }
 .home-labels button,.stage[data-table-overview] .home-labels button { width:44px;height:44px; }
 .home-labels button::before { width:22px;height:22px;left:11px;top:7px;font-size:17px;line-height:20px; }
 .copy[data-for="sea"] { top:auto;bottom:40px;left:16px;right:16px;width:auto; }
 .copy .modes { display:flex;width:100%;padding:3px; }
 .modes button { flex:1;min-height:40px;padding:7px 8px;font-size:.79rem; }
 .copy .desc { font-size:.73rem;line-height:1.5;margin-top:8px;max-width:none; }
 .copy[data-for="land"] { top:auto;bottom:40px;left:16px;width:calc(100% - 32px); }
 .field-desc { max-width:none;font-size:.73rem; }
 .stage[data-focus] .copy { visibility:hidden;opacity:0; }
 .bracket em { font-size:.67rem; }
 .focus { left:12px;right:12px;bottom:30px;max-width:none; }
 .focus img { width:64px;height:60px; }.focus h3 { font-size:1rem; }.focus p { font-size:.78rem;line-height:1.45; }
 .f-btns { flex-wrap:wrap;gap:6px; }.f-btns button { min-height:40px;padding:8px 10px;font-size:.76rem; }
 .svc-list { max-height:calc(100svh - 92px);overflow-y:auto;overscroll-behavior:contain; }
 .svc-list a { min-height:50px; }
 .replay { margin-top:8px;padding:8px; }.graph { height:34px; }.ticks { font-size:.67rem; }
 .field-loading { bottom:156px;max-width:calc(100% - 32px); }
}
@media (orientation:landscape) and (max-height:600px) {
 .top,body[data-space="home"] .top { display:flex;flex-wrap:nowrap;padding:10px 16px;gap:8px; }
 .top .logo { margin-right:auto; }.top .svc { order:10; }
 .family-nav button { padding:5px 15px; }.table-return { font-size:.7rem; }
 body[data-space="home"] .table-controls { width:auto;bottom:22px;gap:10px; }
 body[data-space="home"] .room-door-controls { bottom:27px;right:16px; }
 .copy[data-for="sea"],.copy[data-for="land"] { bottom:24px;width:260px; }
 .focus { left:auto;right:12px;top:72px;bottom:auto;width:280px; }
 .focus img { display:none; }.focus p { font-size:.74rem; }
 .note { bottom:2px; }.svc-list { max-height:calc(100svh - 68px); }
}
/* Small-device compositing stays cheap as the live canvas changes underneath. */
body[data-render-tier="mobile"] :is(.switch,.modes,.svc-list,.focus,.replay) { backdrop-filter:none;-webkit-backdrop-filter:none; }
@media (max-width:760px) {
 .spot { width:44px;height:44px;border:0;background:transparent;box-shadow:none; }
 .spot::before { content:'';position:absolute;inset:11px;border:2px solid white;border-radius:50%;background:var(--orange);box-shadow:0 2px 8px #03243b80; }
 .spot::after { animation:none;inset:21px auto auto 22px;width:38px;height:1px;border:0;border-radius:0;background:#ffffffa0;transform-origin:left;z-index:-1; }
 .spot[data-a="helm"]::after { transform:rotate(180deg); }
 .spot[data-a="engine"]::after,.spot[data-a="light"]::after { display:none; }
}

@media(max-width:760px){
 .tag.cam{font-size:.72rem;padding:7px 10px;translate:-50% calc(-100% - 52px);}
}
button,a { touch-action:manipulation; }

@media (max-width: 760px) { .table-return .return-suffix { display: none; } }

/* ── 전방 카메라 야간 비교(맨눈 ↔ 카메라 영상) ───────────── */
.stage[data-focus="cams"] .tag.fan { opacity: 0 !important; visibility: hidden !important; }
.stage[data-focus="cams"].nv.settled .divider { opacity: 1; }
.stage[data-focus="cams"].nv.settled .split { opacity: 1; visibility: visible; top: 46%; }
.stage[data-focus="cams"] .shade { opacity: .35; transition: opacity .6s; }
.nv-osd { position: absolute; left: calc(var(--split, .5) * 100% + 14px); top: calc(clamp(84px, 13vh, 120px) + 40px); display: flex; align-items: center; gap: 8px; padding: 4px 10px 4px 8px; border-radius: 6px;
  font: 600 .74rem/1.4 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: .08em; color: rgba(255,255,255,.92); background: rgba(8,10,12,.42); border: 1px solid rgba(255,255,255,.18);
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; pointer-events: none; white-space: nowrap; }
.nv-osd i { width: 8px; height: 8px; border-radius: 50%; background: #ff3b2e; animation: nv-rec 1.2s steps(2, jump-none) infinite; }
.nv-osd span { font-family: var(--body); letter-spacing: 0; font-weight: 500; color: rgba(255,255,255,.78); }
@keyframes nv-rec { to { opacity: .15; } }
.stage[data-focus="cams"].nv.settled .nv-osd { opacity: 1; visibility: visible; }
.stage[data-travel] .nv-osd { visibility: hidden !important; opacity: 0 !important; }
@media (max-width: 760px) {
  .stage[data-focus="cams"].nv.settled .split { top: 40%; }
  .nv-osd { top: 162px; font-size: .68rem; }
  .nv-osd span { display: none; }
}
@media (prefers-reduced-motion: reduce) { .nv-osd i { animation: none; } }
/* 달빛 단계(맨눈 쪽, 분할선 왼편). 분할선을 왼쪽 끝으로 밀어도 화면 밖으로 나가지 않는다. */
.moon-steps { position: absolute; right: min(calc((1 - var(--split, .5)) * 100% + 14px), calc(100% - 330px)); top: calc(clamp(84px, 13vh, 120px) + 40px); z-index: 3; display: flex; gap: 6px; padding: 5px; border-radius: 999px;
  background: rgba(6,14,26,.62); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; pointer-events: none; }
.stage[data-focus="cams"].nv.settled .moon-steps { opacity: 1; visibility: visible; pointer-events: auto; }
.stage[data-travel] .moon-steps { visibility: hidden !important; opacity: 0 !important; }
.moon-steps button { display: flex; align-items: center; gap: 7px; min-height: 34px; padding: 5px 13px 5px 9px; border: 0; border-radius: 999px; background: transparent; color: rgba(255,255,255,.72); font: 600 .82rem/1 var(--body); white-space: nowrap; cursor: pointer; transition: background .25s, color .25s; }
.moon-steps button:hover { color: #fff; } .moon-steps button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.moon-steps button[aria-pressed="true"] { background: #f2f5f8; color: #06243a; }
.moon-steps i { position: relative; width: 16px; height: 16px; border-radius: 50%; flex: none; overflow: hidden; background: #ffeeb8; box-shadow: 0 0 0 1px rgba(255,255,255,.35); }
.moon-steps i.thin::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #1a2636; transform: translate(-4.5px, -2px); }
.moon-steps i.none { background: #1a2636; box-shadow: 0 0 0 1px rgba(255,255,255,.55); }
.moon-steps button[aria-pressed="true"] i { box-shadow: 0 0 0 1px rgba(6,36,58,.45); }
@media (min-width: 1101px) { .stage[data-tour] .moon-steps button { min-height: 42px; padding: 7px 18px 7px 12px; font-size: clamp(.9rem, 1.05vw, 1.25rem); } .stage[data-tour] .moon-steps i { width: 20px; height: 20px; } .stage[data-tour] .moon-steps { right: min(calc((1 - var(--split, .5)) * 100% + 14px), calc(100% - 470px)); } }
@media (max-width: 760px) {
  .moon-steps { top: 158px; gap: 2px; padding: 4px; right: min(calc((1 - var(--split, .5)) * 100% + 8px), calc(100% - 196px)); }
  .moon-steps button { min-height: 36px; padding: 5px 9px; gap: 5px; font-size: .72rem; } .moon-steps button:not([aria-pressed="true"]) span { display: none; }
}
/* 가로 휴대폰의 소개 화면: 왼쪽 패널과 겹치지 않게 카메라 쪽(분할선 오른편)에 둔다. */
@media (orientation: landscape) and (max-height: 500px) { .stage[data-tour] .moon-steps { right: auto; left: calc(var(--split, .5) * 100% + 10px); top: 12px; } .stage[data-tour] .moon-steps button:not([aria-pressed="true"]) span { display: none; } }

/* ── 제품 살펴보기 도구: 실제 크기 · 각도 조절 · 거치 방식 ───────────── */
.f-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.14); }
.f-tools[hidden], .f-tools [hidden] { display: none; }
.f-tools button { padding: 7px 13px; border-radius: 999px; font-weight: 600; font-size: .84rem; color: rgba(255,255,255,.9); border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.06); transition: background .2s, color .2s, border-color .2s; }
.f-tools button:hover { background: rgba(255,255,255,.16); }
.f-tools button[aria-pressed="true"] { background: var(--cyan); border-color: var(--cyan); color: #06243a; }
#t-size::before { content: ""; display: inline-block; width: 13px; height: 9px; margin-right: 7px; border: 1.5px solid currentColor; border-top: 0; vertical-align: -1px; }
.t-tilt { display: flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.06); font-size: .84rem; font-weight: 600; color: rgba(255,255,255,.9); }
.t-tilt input { width: 104px; height: 22px; accent-color: var(--cyan); cursor: ew-resize; }
.t-tilt output { min-width: 2.6em; text-align: right; font-variant-numeric: tabular-nums; color: var(--cyan); }
.t-mount { display: inline-flex; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); overflow: hidden; }
.t-mount button { border: 0; border-radius: 0; background: transparent; }
.t-mount button + button { border-left: 1px solid rgba(255,255,255,.2); }
.f-size { margin-top: 8px; font-size: .84rem; color: var(--cyan); font-variant-numeric: tabular-nums; }
.f-size[hidden] { display: none; }
.dims { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity .35s; overflow: visible; }
.dims.on { opacity: 1; }
.dims line { stroke: var(--cyan); stroke-width: calc(1.5px * var(--dim-k, 1)); stroke-linecap: round; filter: drop-shadow(0 0 3px rgba(3,18,33,.8)); }
.dims polygon { fill: rgba(123,234,245,.10); stroke: var(--cyan); stroke-width: 1.5; stroke-dasharray: 5 4; stroke-linejoin: round; }
.dims text { font: 600 calc(13px * var(--dim-k, 1)) var(--body); fill: #06243a; text-anchor: middle; dominant-baseline: central; font-variant-numeric: tabular-nums; }
.dims rect { fill: var(--cyan); rx: calc(9px * var(--dim-k, 1)); }
.dims .card-label text { fill: #d9fbff; font-weight: 500; font-size: calc(12px * var(--dim-k, 1)); }
.dims .card-label rect { fill: rgba(3,18,33,.72); }
@media (max-width: 760px) {
  .f-tools { gap: 6px; margin-top: 8px; padding-top: 8px; } .f-tools button { padding: 6px 10px; font-size: .78rem; }
  .t-tilt { padding: 3px 9px; font-size: .78rem; } .t-tilt input { width: 84px; }
  .dims text { font-size: 11px; } .f-size { font-size: .78rem; margin-top: 6px; }
}
@media (prefers-reduced-motion: reduce) { .dims { transition: none; } }

/* ── LTE 연결 표시: 배 → 송신탑 → 서버. 화면 위 SVG 와 HTML 카드로 그린다(GPU 셰이더 없음). ── */
.lte { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; overflow: visible; opacity: 0; transition: opacity .5s; }
.lte.on, .lte-server.on { opacity: 1; }
.lte path { fill: none; stroke-linecap: round; }
.lte .link { stroke: rgba(143,239,255,.38); stroke-width: 1.4; filter: drop-shadow(0 0 3px rgba(3,18,33,.7)); }
.lte .flow { stroke: #8fefff; stroke-width: 4.5; stroke-dasharray: .1 30; animation: lte-flow 1.5s linear infinite; filter: drop-shadow(0 0 4px rgba(143,239,255,.75)); }
.lte .node { fill: #8fefff; stroke: rgba(3,18,33,.6); stroke-width: 1; }
.lte .ring { fill: none; stroke: #8fefff; stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: lte-ring 2.4s ease-out infinite; }
.lte .ring.late { animation-delay: 1.2s; }
@keyframes lte-flow { to { stroke-dashoffset: -30.1; } }
@keyframes lte-ring { from { transform: scale(.5); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }
.lte-server { position: absolute; z-index: 2; left: 0; top: 0; display: flex; align-items: center; gap: 10px; padding: 9px 14px 9px 11px; border-radius: 14px; background: rgba(8,26,42,.74); border: 1px solid rgba(143,239,255,.28); color: #eaf6fb; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); pointer-events: none; opacity: 0; transition: opacity .5s, border-color .3s; white-space: nowrap; }
.lte-server svg { flex: none; fill: none; stroke: #8fefff; stroke-width: 1.5; stroke-linecap: round; }
.lte-server svg circle { fill: #8fefff; stroke: none; }
.lte-server p { margin: 0; display: grid; font: 500 12.5px/1.35 var(--body); }
.lte-server b { font-weight: 700; font-size: 13.5px; }
.lte-server span { grid-area: 2 / 1; display: flex; align-items: center; gap: 6px; transition: opacity .3s; }
.lte-server i { width: 7px; height: 7px; border-radius: 50%; background: #58e08a; box-shadow: 0 0 0 0 rgba(88,224,138,.6); animation: lte-dot 2s ease-out infinite; }
.lte-server .sos { opacity: 0; color: #ffb27a; font-weight: 700; }
.lte-server .sos i { background: #ff8a3c; animation-duration: .7s; }
@keyframes lte-dot { to { box-shadow: 0 0 0 7px rgba(88,224,138,0); } }
/* 사고 순간(되감기 막대가 0~4초)이나 직접 일으킨 사건을 전송하는 동안만 주황색으로 몰려간다. main.js 가 data-lte="hot" 을 건다. */
.stage[data-lte="hot"] .lte .flow { stroke: #ff8a3c; stroke-width: 6.5; stroke-dasharray: .1 17; animation-duration: .55s; filter: drop-shadow(0 0 5px rgba(255,138,60,.85)); }
.stage[data-lte="hot"] .lte .ring, .stage[data-lte="hot"] .lte .node { stroke: #ff8a3c; fill: none; animation-duration: .9s; }
.stage[data-lte="hot"] .lte .node { fill: #ff8a3c; }
.stage[data-lte="hot"] .lte-server { border-color: rgba(255,138,60,.8); }
.stage[data-lte="hot"] .lte-server .ok { opacity: 0; }
.stage[data-lte="hot"] .lte-server .sos { opacity: 1; }
@media (max-width: 760px) { .lte-server { padding: 7px 11px 7px 9px; gap: 8px; } .lte-server p { font-size: 11.5px; } .lte-server b { font-size: 12.5px; } .lte .flow { stroke-width: 4; } }
@media (prefers-reduced-motion: reduce) { .lte .flow, .lte .ring, .lte-server i { animation: none; } .lte .ring { opacity: .5; transform: scale(1.6); } }

/* ── 직접 일으켜 보는 사건: 충격·기울기·기관실 과열. 운항 중과 정박 중 모두에서 누를 수 있다. ── */
.tries { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: .9rem; pointer-events: auto; }
body[data-mode="replay"] .tries { display: none; }
.tries-label { flex: 0 0 100%; font-size: .8rem; font-weight: 600; letter-spacing: .01em; color: rgba(255,255,255,.72); text-shadow: 0 1px 8px rgba(3,18,33,.7); }
.try { display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px 8px 10px; border-radius: 999px; font-weight: 600; font-size: .9rem; color: #fff; background: rgba(3,18,33,.5); border: 1px solid rgba(143,239,255,.55); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); position: relative; overflow: hidden; transition: background .25s, border-color .25s, color .25s; }
.try:hover:not(:disabled) { background: rgba(143,239,255,.16); border-color: #8fefff; }
.try i { width: 18px; height: 18px; border-radius: 50%; background: #8fefff; position: relative; flex: none; transition: background .25s; }
.try i::after { content: ""; position: absolute; left: 7px; top: 5px; border: 4px solid transparent; border-left: 6.5px solid #06243a; border-right: 0; }
.try:disabled { cursor: default; border-color: rgba(255,255,255,.22); color: rgba(255,255,255,.5); }
.try:disabled i { background: rgba(255,255,255,.4); }
.try.run:disabled { border-color: var(--orange); color: #fff; }
.try.run:disabled i { background: var(--orange); }
.try::before { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left; }
.try.run::before { animation: try-run var(--run, 9s) linear forwards; }
@keyframes try-run { to { transform: scaleX(1); } }
/* 온도가 올라가는 동안은 평범한 칩, 한계를 넘으면 주황 경보. 충격·기울기는 감지된 순간부터 보인다. */
.chip.alert.rising { background: rgba(3,18,33,.72); border-color: rgba(255,255,255,.2); }
.chip.alert.rising::after { display: none; }
.chip.alert span { font-variant-numeric: tabular-nums; }
.stage[data-ev="shock"][data-evp="rise"] .chip.alert, .stage[data-ev="tilt"][data-evp="rise"] .chip.alert { opacity: 0 !important; visibility: hidden !important; }
.lte-server em { font-style: normal; }
.lte-phone { position: absolute; z-index: 2; left: 0; top: 0; display: flex; align-items: center; gap: 9px; padding: 8px 14px 8px 10px; border-radius: 14px; background: #fff; color: #0b2233; box-shadow: 0 8px 26px rgba(3,18,33,.45); pointer-events: none; opacity: 0; scale: .92; transform-origin: top left; transition: opacity .35s, scale .35s cubic-bezier(.2,1.4,.4,1); white-space: nowrap; }
.lte-phone.on { opacity: 1; scale: 1; }
.lte-phone svg { flex: none; fill: none; stroke: var(--orange); stroke-width: 1.6; stroke-linecap: round; }
.lte-phone p { margin: 0; display: grid; font: 500 12.5px/1.35 var(--body); }
.lte-phone b { font-weight: 700; font-size: 11.5px; color: var(--orange); }
@media (max-width: 760px) { .tries { margin-top: .6rem; gap: 6px; } .tries-label { font-size: .74rem; } .try { padding: 7px 12px 7px 8px; font-size: .84rem; gap: 6px; } .lte-phone p { font-size: 11.5px; } }
@media (prefers-reduced-motion: reduce) { .try.run::before { animation: none; } }

/* ── 도입 문의: contact@jeju-openlab.com 으로 메일 쓰기. 전시실 첫 화면, 제품 카드, 서비스 메뉴 세 곳. ── */
/* 전시실 첫 화면에서는 왼쪽 아래(제품 카드가 뜨는 자리)에 둔다. 제품을 보거나 이동 중이거나 현장에서는 숨긴다. */
.ask-row { display: none; align-items: center; gap: 12px; margin: 0; position: absolute; z-index: 2; left: var(--pad); bottom: 40px; }
body[data-space="home"] .ask-row { display: flex; }
.stage[data-exhibit] .ask-row, .stage[data-travel] .ask-row, .no3d .ask-row { visibility: hidden; }
.ask { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 999px; font-weight: 700; font-size: .95rem; color: #fff; background: var(--orange); box-shadow: 0 6px 22px rgba(236,106,30,.35); transition: background .2s, transform .2s; }
.ask::after { content: "→"; font-weight: 600; transition: transform .2s; }
.ask:hover { background: #ff7b2e; } .ask:hover::after { transform: translateX(3px); }
.ask-mail { font-size: .8rem; color: #d7e4e9; text-shadow: 0 1px 8px rgba(3,18,33,.7); user-select: all; }
#f-ask { display: none; padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: .9rem; color: #fff; border: 1px solid rgba(255,255,255,.4); transition: background .2s; }
#f-ask:hover { background: rgba(255,255,255,.16); }
.stage[data-exhibit] #f-ask { display: inline-flex; align-items: center; }
.svc-list a.ask-item { background: #fff; color: #0b2233; } .svc-list a.ask-item:hover { background: #eef4f8; }
.svc-list a.ask-item b { color: #c8530f; } .svc-list a.ask-item span { color: #3d5868; }
.ask-toast { position: absolute; left: 50%; bottom: 96px; translate: -50% 0; z-index: 6; margin: 0; padding: 10px 16px; border-radius: 12px; background: rgba(8,26,42,.92); border: 1px solid rgba(255,255,255,.22); color: #fff; font-size: .86rem; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .3s; }
.ask-toast.on { opacity: 1; }
@media (max-width: 760px) { .ask-row { left: 16px; bottom: auto; top: 132px; gap: 9px; } .ask { padding: 8px 16px; font-size: .86rem; } .ask-mail { font-size: .72rem; } .ask-toast { bottom: 132px; font-size: .78rem; max-width: calc(100vw - 32px); white-space: normal; text-align: center; } .stage[data-focus="engine"] #f-ask { padding: 8px 11px; font-size: .8rem; } }

/* ── 소개 보기(발표 모드): 버튼 하나로 장면을 순서대로 넘기며 화면 아래 자막 띠에 설명을 띄운다. ── */
.tour-start { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 10px 20px 10px 14px; border-radius: 999px; font-weight: 700; font-size: .95rem; color: #0b2233; background: #fff; box-shadow: 0 6px 22px rgba(3,18,33,.35); transition: background .2s; }
.tour-start:hover { background: #e9f6fb; }
.tour-start i { width: 20px; height: 20px; border-radius: 50%; background: var(--orange); position: relative; flex: none; }
.tour-start i::after { content: ""; position: absolute; left: 8px; top: 5.5px; border: 4.5px solid transparent; border-left: 7px solid #fff; border-right: 0; }
/* 장면의 주인공을 가리지 않도록 낮은 띠 하나로 둔다(제목 | 설명 | 조작). 제목 칸의 폭을 고정해 장면이 바뀌어도 설명이 같은 자리에서 시작한다.
   전체 화면·큰 화면에서는 글씨가 함께 커진다(1920 폭에서 설명 약 28px). */
.tour { position: absolute; z-index: 7; left: 50%; bottom: clamp(28px, 4vh, 44px); translate: -50% 0; width: min(1720px, calc(100% - 2 * var(--pad))); display: grid; grid-template-columns: clamp(200px, 15.5vw, 300px) minmax(0, 1fr) auto; align-items: center; gap: 6px clamp(16px, 2vw, 34px); padding: 20px clamp(18px, 1.8vw, 30px) 16px; border-radius: 20px; background: rgba(6,20,33,.86); border: 1px solid rgba(255,255,255,.18); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); color: #fff; box-shadow: 0 18px 60px rgba(3,18,33,.5); overflow: hidden; outline: 0; }
.tour[hidden] { display: none; }
.tour-bar { position: absolute; inset: 0 0 auto; height: 5px; background: rgba(255,255,255,.14); }
.tour-bar i { display: block; height: 100%; width: 0; background: var(--orange); transition: width .45s; }
.tour-step { margin: 0; font-size: clamp(.8rem, .95vw, 1.12rem); font-weight: 600; letter-spacing: .04em; color: #8fefff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tour.busy .tour-step::after { content: " · 이동 중"; color: #c2d2da; font-weight: 500; letter-spacing: 0; }
.tour.failed .tour-step::after { content: " · 이동하지 못했습니다. 다시 눌러 주세요"; color: #ffb48a; font-weight: 600; letter-spacing: 0; }
.tour-head h2 { margin: 2px 0 0; font-family: var(--display); font-size: clamp(1.25rem, 1.75vw, 2.05rem); line-height: 1.2; letter-spacing: -.03em; word-break: keep-all; text-wrap: balance; }
.tour-text { margin: 0; font-size: clamp(1.06rem, 1.45vw, 1.9rem); font-weight: 500; line-height: 1.42; color: #eef5f8; word-break: keep-all; text-wrap: pretty; white-space: pre-line; }
.tour-mail { margin: 4px 0 0; font-size: clamp(1.2rem, 1.7vw, 2.2rem); font-weight: 700; line-height: 1.3; color: #fff; letter-spacing: .005em; user-select: all; overflow-wrap: anywhere; }
.tour-hint { margin: 8px 0 0; font-size: .82rem; color: #a9bfca; }
.tour-hint kbd { display: inline-block; min-width: 1.5em; margin: 0 2px 0 8px; padding: 1px 5px; border: 1px solid rgba(255,255,255,.3); border-radius: 5px; font: 600 .76rem/1.4 var(--body); text-align: center; color: #dbe8ee; }
.tour-hint kbd:first-child { margin-left: 0; }
.tour-mail[hidden], .tour-hint[hidden] { display: none; }
@media (hover: none) { .tour-hint { display: none; } }
.tour-ctl { display: flex; align-items: center; gap: 8px; }
.tour-ctl button { min-width: 40px; min-height: 40px; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: .88rem; color: #fff; border: 1px solid rgba(255,255,255,.4); white-space: nowrap; transition: background .2s, opacity .2s; }
.tour-ctl button[hidden] { display: none; }
.tour-ctl button:hover:not(:disabled) { background: rgba(255,255,255,.14); }
.tour-ctl button:disabled { opacity: .38; cursor: default; }
/* 주 행동(다음 · 이메일로 문의): 주황 바탕에는 짙은 글씨(대비 5:1). 마지막 장면에서는 문의만 주 행동이고 '처음부터'는 보조로 내려간다. */
.tour-ctl .primary, .tour-ctl .tour-ask { min-height: 44px; padding: 10px 20px; font-size: 1rem; font-weight: 800; color: #0b1d2b; background: var(--orange); border: 1px solid var(--orange); box-shadow: none; }
.tour-ctl .primary:hover:not(:disabled), .tour-ctl .tour-ask:hover { background: #ff8a45; }
.tour-ctl kbd { margin-left: 4px; font: inherit; color: inherit; }
.tour-ctl [aria-pressed="true"] { background: #8fefff; border-color: #8fefff; color: #06243a; }
.tour-ask[hidden] { display: none; }
.tour.busy #tour-next { opacity: .6; }
/* 발표 중에는 자막과 겹치는 조작 UI 를 숨긴다. 장면 위 표시(칩·연결선·분할선)와 개념 예시 안내는 그대로 둔다. */
.stage[data-tour] .focus, .stage[data-tour] .copy, .stage[data-tour] #found, .stage[data-tour] .note-help, .stage[data-tour] .ask-row, .stage[data-tour] .table-controls, .stage[data-tour] .home-labels, .stage[data-tour] .room-door-controls, .stage[data-tour] .hud .spot, .stage[data-tour] .top > :not(.logo), .stage[data-tour] .object-hint { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }
/* 장면 속 표시: 누르면 다른 장면으로 넘어가는 이름표는 눌리지 않게, 이벤트 장면에서는 경보 표시와 겹치는 화각 숫자를 숨긴다. */
.stage[data-tour] .tag.cam { pointer-events: none; }
.stage[data-tour][data-tour-scene="10"] .tag.fan { opacity: 0; }
.stage[data-tour] .cable-tags i.dev span { font-size: clamp(.9rem, 1.1vw, 1.3rem); padding: 7px 15px; }
.stage[data-tour] .ask-toast { top: 84px; bottom: auto; }
/* 전체 화면(빔 출력): 화면 폭이 좁은 노트북에서도 객석에서 읽히게 설명을 24px 아래로 내리지 않는다. 서버 상태와 경보 글씨도 함께 키운다. */
@media (min-width: 1101px) { :fullscreen .tour-text { font-size: clamp(24px, 1.45vw, 32px); } }
.stage[data-tour] .lte-server p { font-size: clamp(12.5px, .95vw, 18px); } .stage[data-tour] .lte-server b { font-size: clamp(13.5px, 1.05vw, 20px); }
@media (min-width: 1101px) { .stage[data-tour] .lte-server p { font-size: clamp(15px, 1.1vw, 20px); } .stage[data-tour] .lte-server b { font-size: clamp(16px, 1.2vw, 22px); } }
.stage[data-tour-scene="10"] .hud { z-index: 3; }      /* 경보 표시를 LTE 점선보다 위에 */
.tour-legend { display: block; } .tour-legend span { white-space: nowrap; } .tour-legend span + span::before { content: "· "; color: #9fb4bf; }
.stage[data-tour] .chip.alert, .stage[data-tour] .chip.hot, .stage[data-tour] .chip.tilt { font-size: clamp(.8rem, 1vw, 1.2rem); z-index: 1; }
@media (max-width: 1100px) { .tour { grid-template-columns: minmax(0, 1fr) auto; } .tour-body { grid-column: 1 / -1; grid-row: 2; } }
@media (max-width: 760px) {
  .tour-start { padding: 8px 15px 8px 10px; font-size: .86rem; }
  .ask-row { flex-wrap: wrap; } .ask-mail { flex-basis: 100%; }
  .tour { grid-template-columns: minmax(0, 1fr); padding: 18px 16px 14px; gap: 8px; bottom: max(30px, calc(env(safe-area-inset-bottom) + 24px)); width: calc(100% - 24px); border-radius: 18px; }
  .tour-body { grid-row: auto; } .tour-text { font-size: 1rem; line-height: 1.5; }
  /* 이전 · 다음(넓게) · 자동 재생 · 끝내기 — 화면에 보이는 순서와 Tab 순서가 같다. 모두 44px 이상. */
  .tour-ctl { flex-wrap: wrap; } .tour-ctl button { min-width: 44px; min-height: 44px; padding: 8px 12px; font-size: .84rem; }
  .tour-ctl #tour-next { flex: 1 0 auto; } .tour-ctl .tour-ask { flex: 1 0 100%; justify-content: center; min-height: 48px; }
  #tour-full, .tour-hint { display: none; }
  .stage[data-tour] .tag.cam { display: none; }
  .stage[data-tour] .cable-tags i.dev span { padding: 4px 9px; font-size: .78rem; }
}
/* 가로로 든 휴대폰(낮은 화면): 아래 띠 대신 왼쪽 패널. 3D 장면은 world.setViewShift 로 오른쪽 영역의 가운데에 온다. */
@media (orientation: landscape) and (max-height: 500px) {
  .tour { left: max(12px, env(safe-area-inset-left)); top: 58px; bottom: max(12px, env(safe-area-inset-bottom)); translate: none; width: clamp(248px, 33vw, 300px); grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto; align-items: start; gap: 8px; padding: 16px 14px 12px; border-radius: 16px; }
  .tour-body { grid-column: auto; grid-row: auto; overflow: auto; } .tour-head h2 { font-size: 1.14rem; } .tour-text { font-size: .9rem; line-height: 1.46; } .tour-mail { font-size: 1rem; }
  .tour-ctl { flex-wrap: wrap; gap: 6px; } .tour-ctl button { min-width: 44px; min-height: 44px; padding: 6px 11px; font-size: .8rem; } .tour-ctl #tour-next { flex: 1 0 auto; } .tour-ctl .tour-ask { flex: 1 0 100%; justify-content: center; }
  #tour-full, .tour-hint, .stage[data-tour] .nv-osd { display: none; }
  .stage[data-tour] .note { left: auto; }
}

/* ── 본체 케이블 연결: 커넥터 이름표 ───────────────────────── */
#t-cable::before { content: ""; display: inline-block; width: 11px; height: 7px; margin-right: 7px; border: 1.5px solid currentColor; border-radius: 2px 2px 4px 4px; vertical-align: 0; }
.cable-tags { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .3s; overflow: hidden; }
.cable-tags.on { opacity: 1; }
.cable-tags i { position: absolute; left: 0; top: 0; width: 0; height: 0; --lift: 54px; font-style: normal; }
.cable-tags i:nth-child(even) { --lift: 88px; }
.cable-tags i.dev, .cable-tags i.dev:nth-child(even) { --lift: 34px; }
.cable-tags i.dev span { padding: 6px 13px; font-size: .9rem; border-color: rgba(255,170,110,.55); }
.cable-tags i.dev u { left: -13px; top: -13px; width: 26px; height: 26px; }
.cable-tags span { position: absolute; left: 0; bottom: var(--lift); display: flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 999px; white-space: nowrap; font: 600 .8rem/1 var(--body); color: #eef6f9;
  background: rgba(7,14,20,.88); border: 1px solid rgba(255,255,255,.2); box-shadow: 0 6px 18px rgba(0,0,0,.4); opacity: 0; transform: translate(-50%, 8px); transition: opacity .3s, transform .35s cubic-bezier(.2,1.4,.4,1); }
.cable-tags span::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: calc(var(--lift) - 16px); background: linear-gradient(rgba(255,255,255,.55), rgba(255,255,255,.08)); }
.cable-tags b { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--orange, #f26b1d); color: #fff; font: 700 .72rem/1 var(--body); font-variant-numeric: tabular-nums; }
.cable-tags em { font-style: normal; }
.cable-tags i.on span { opacity: 1; transform: translate(-50%, 0); }
.cable-tags u { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #ffb37a; opacity: 0; box-shadow: 0 0 12px rgba(255,150,80,.9), inset 0 0 6px rgba(255,150,80,.7); }
.cable-tags i.on u { animation: cable-seat .75s ease-out both; }
@keyframes cable-seat { 0% { opacity: 1; transform: scale(.5); } 100% { opacity: 0; transform: scale(3.2); } }
.cable-tags.compact i.port, .cable-tags.compact i.port:nth-child(even) { --lift: 22px; }
.cable-tags.compact .port span { padding: 2px; border: 0; background: none; box-shadow: none; } .cable-tags.compact .port em, .cable-tags.compact .port span::after { display: none; }
.cable-tags.compact b { width: 17px; height: 17px; font-size: .64rem; box-shadow: 0 2px 6px rgba(0,0,0,.5); }
@media (prefers-reduced-motion: reduce) { .cable-tags i.on u { animation: none; } }
@media (max-width: 760px) { .cable-tags i.dev span { padding: 4px 9px; font-size: .76rem; } .cable-tags i.dev, .cable-tags i.dev:nth-child(even) { --lift: 22px; } .cable-tags i.dev[data-id="battery"] { --lift: 4px; } .cable-tags i.dev[data-id="speaker"] { --lift: 40px; } }

/* 도입 문의 양식 */
.ask-dialog { width: min(460px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); margin: auto; padding: 0; border: 1px solid rgba(255,255,255,.2); border-radius: 18px; background: #0a1f31; color: #fff; box-shadow: 0 24px 80px rgba(0,0,0,.5); overflow: auto; overscroll-behavior: contain; }
.ask-dialog::backdrop { background: rgba(3,18,33,.62); }
.ask-dialog form, .ask-done { display: grid; gap: 10px; padding: 22px 22px 18px; }
.ask-dialog form[hidden], .ask-done[hidden] { display: none; }
.ask-dialog h2 { margin: 0; font-family: var(--display); font-size: 1.3rem; letter-spacing: -.02em; line-height: 1.3; }
.ask-lead, .ask-done p { margin: -4px 0 4px; font-size: .9rem; color: #c9d8e0; }
.ask-dialog label { display: grid; gap: 4px; font-size: .82rem; font-weight: 700; color: #dbe7ec; }
.ask-dialog input, .ask-dialog select, .ask-dialog textarea { width: 100%; min-width: 0; padding: 9px 11px; border: 1px solid rgba(255,255,255,.28); border-radius: 9px; background: rgba(255,255,255,.07); color: #fff; font: 400 16px/1.4 var(--body); }
.ask-dialog textarea { resize: vertical; min-height: 92px; }
.ask-dialog select option { color: #0b2233; background: #fff; }
.ask-dialog input:focus-visible, .ask-dialog select:focus-visible, .ask-dialog textarea:focus-visible { outline: 2px solid var(--cyan); outline-offset: 1px; border-color: transparent; }
.ask-two { display: grid; grid-template-columns: 1fr 1.25fr; gap: 10px; }
.ask-tip { margin: -5px 0 0; font-size: .76rem; color: #a9bcc6; }
.ask-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ask-msg { margin: 0; min-height: 1.3em; font-size: .84rem; font-weight: 700; color: #ffb48a; }
.ask-btns { display: flex; gap: 8px; }
.ask-btns button { min-height: 44px; padding: 9px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; font: 700 .95rem var(--body); cursor: pointer; }
.ask-btns button:hover { background: rgba(255,255,255,.1); }
.ask-btns .ask-send { flex: 1; border-color: var(--orange); background: var(--orange); color: #0b1d2b; font-weight: 800; }
.ask-btns .ask-send:hover { background: #ff8a45; } .ask-btns .ask-send:disabled { opacity: .6; cursor: default; }
.ask-note { margin: 2px 0 0; font-size: .74rem; line-height: 1.5; color: #a9bcc6; } .ask-note a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 420px) { .ask-two { grid-template-columns: 1fr; } .ask-dialog form, .ask-done { gap: 8px; padding: 16px 16px 14px; } .ask-dialog input, .ask-dialog select, .ask-dialog textarea { padding: 7px 10px; } .ask-dialog textarea { min-height: 70px; } .ask-lead { margin-bottom: 0; } }
@media (min-width: 700px) and (max-height: 560px) { .ask-dialog { width: min(680px, calc(100vw - 24px)); } .ask-dialog textarea { min-height: 62px; } }
.ask-privacy { font-size: .78rem; color: #c9d8e0; } .ask-privacy summary { cursor: pointer; font-weight: 700; color: #dbe7ec; }
.ask-privacy ul { margin: 6px 0 0; padding-left: 1.1em; display: grid; gap: 2px; line-height: 1.5; }
.ask-dialog label.ask-agree { display: flex; align-items: center; gap: 9px; font-size: .86rem; cursor: pointer; }
.ask-dialog .ask-agree input { flex: none; width: 20px; height: 20px; padding: 0; accent-color: var(--orange); }

/* 주황 바탕 위의 글자는 사이트 어디서나 짙은 색으로 쓴다(흰 글자는 대비 3.2:1, 짙은 글자는 약 6:1). */
:root { --on-orange: #0b1d2b; }
.modes button[aria-pressed="true"], .modes button[aria-pressed="true"]:hover, .tag.cam, .tag.engine-camera, .chip.alert, .chip.tilt, .chip.hot, .chip.alert b, .chip.tilt b, .chip.hot b, #f-act, .filewarn, .svc-btn, .dock a.main, .ask { color: var(--on-orange); }
.modes button[aria-pressed="true"], .svc-btn, #f-act, .dock a.main, .tag.cam, .tag.engine-camera { font-weight: 700; }
.svc-btn i { border-color: var(--on-orange); }
.chip.alert, .chip.tilt, .chip.hot, .tag.engine-camera { border-color: rgba(11,29,43,.4); }
