/* UI 사전 — 문서형 배치(머리 · 왼쪽 목록 · 본문 · 오른쪽 목차). 값은 UPFLOW 디자인 시스템 제품 화면 층 */
:root {
  --ink: #0C1E33; --ink-2: #29394B; --ink-3: #495666; --mute: #5B6676;
  --n100: #F3F4F5; --n200: #E7E8EB; --n300: #D3D6DA; --n400: #B6BCC2; --n500: #929AA3;
  --bg: #FFFFFF; --bg2: #F6F7F9; --line: #DDE1E6; --cbx: #8C96A3; --sk: #ECEEF1;
  --signal: #1F5BC7; --signal-bg: #E8EEFA; --ok: #13804F; --warn: #C98A00; --bad: #C62F3F;
  --r: 6px; --sh-float: 0 4px 12px rgba(12, 30, 51, .12); --sh-drawer: -4px 0 12px rgba(12, 30, 51, .08); --sh-modal: 0 12px 32px rgba(12, 30, 51, .18);
  --font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --mono: 'SF Mono', ui-monospace, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, 0, 0, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.65; word-break: keep-all; overflow-wrap: anywhere; }
a { color: var(--signal); }
button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
kbd { font: 500 11px/1 var(--mono); padding: 3px 5px; border: 1px solid var(--line); border-radius: 4px; background: var(--bg2); color: var(--ink-3); }
.noscript { padding: 40px 0; }

/* 머리 */
.hd { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.6) blur(8px); border-bottom: 1px solid var(--line); }
.hd-in { height: 56px; display: flex; align-items: center; gap: 16px; padding: 0 max(20px, env(safe-area-inset-right)) 0 max(20px, env(safe-area-inset-left)); }
.hd-brand img { display: block; height: 16px; width: auto; }
.hd-title { font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: none; padding-left: 16px; border-left: 1px solid var(--line); }
.hd-nav { display: flex; gap: 4px; }
.hd-nav a { color: var(--ink-3); text-decoration: none; font-size: 14px; padding: 6px 10px; border-radius: var(--r); }
.hd-nav a:hover { color: var(--ink); background: var(--bg2); }
.hd-search { margin-left: auto; display: flex; align-items: center; gap: 8px; height: 36px; width: 260px; padding: 0 8px 0 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg2); color: var(--mute); font-size: 14px; cursor: pointer; }
.hd-search span { flex: 1; text-align: left; }
.hd-search:hover { border-color: var(--n400); }
.hd-cta { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: var(--r); background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; }
.hd-menu { display: none; border: 0; background: none; width: 36px; height: 36px; border-radius: var(--r); color: var(--ink); cursor: pointer; place-items: center; }
.hd-menu svg { width: 20px; height: 20px; }

/* 틀 */
.shell { display: grid; grid-template-columns: 248px minmax(0, 1fr) 200px; gap: 40px; max-width: 1440px; margin: 0 auto; padding: 0 max(20px, env(safe-area-inset-right)) 0 max(20px, env(safe-area-inset-left)); }
.side { position: sticky; top: 56px; height: calc(100vh - 56px); overflow-y: auto; border-right: 1px solid var(--line); margin-left: -20px; padding: 20px 12px 40px 20px; overscroll-behavior: contain; }
.side h4 { margin: 18px 0 4px; padding: 0 8px; font-size: 13px; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; }
.side h4:first-child { margin-top: 0; }
.side h4 a { color: inherit; text-decoration: none; }
.side h4 .n { color: var(--mute); font-weight: 500; font-size: 12px; }
.side ul { list-style: none; margin: 0; padding: 0; }
.side li a { display: flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: var(--r); font-size: 14px; line-height: 20px; color: var(--ink-3); text-decoration: none; }
.side li a:hover { color: var(--ink); background: var(--bg2); }
.side li a[aria-current="page"] { color: var(--ink); background: var(--n100); font-weight: 600; }
.side li a .bz { width: 5px; height: 5px; border-radius: 50%; background: var(--signal); margin-left: auto; flex: none; }
.side-top a { font-weight: 600; color: var(--ink) !important; }
.main { min-width: 0; padding: 32px 0 80px; outline: none; }
.toc { position: sticky; top: 56px; height: calc(100vh - 56px); padding: 32px 0; font-size: 13px; }
.toc b { display: block; margin-bottom: 8px; font-size: 13px; }
.toc button { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 4px 0; color: var(--ink-3); font-size: 13px; cursor: pointer; }
.toc button:hover { color: var(--ink); }
.toc .tip-box { margin-top: 20px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg2); color: var(--ink-2); line-height: 1.55; }
.side-back { position: fixed; inset: 56px 0 0; background: rgba(12, 30, 51, .35); z-index: 19; }
@media (max-width: 1200px) { .shell { grid-template-columns: 232px minmax(0, 1fr); } .toc { display: none; } }
@media (max-width: 860px) {
  .shell { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .side { position: fixed; z-index: 20; top: 56px; left: 0; bottom: 0; height: auto; width: min(300px, 86vw); margin: 0; background: var(--bg); transform: translateX(-102%); transition: transform .2s var(--ease); box-shadow: var(--sh-float); padding-left: max(20px, env(safe-area-inset-left)); }
  .side.open { transform: none; }
  .hd-menu { display: grid; }
  .hd-nav, .hd-cta { display: none; }
  .hd-search { width: auto; flex: 0 1 200px; }
  .hd-search kbd { display: none; }
  .hd-title { padding-left: 12px; }
}
@media (max-width: 480px) { .hd-brand { display: none; } .hd-title { border: 0; padding: 0; } .hd-in { gap: 8px; } }

/* 본문 */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--mute); margin-bottom: 12px; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs span + span::before, .crumbs a + span::before, .crumbs a + a::before { content: "›"; margin-right: 6px; }
.main h1 { margin: 0; font-size: 32px; line-height: 1.25; font-weight: 700; letter-spacing: -.02em; text-wrap: balance; }
.main .en { margin: 4px 0 0; font-size: 15px; color: var(--mute); }
.main .lead { margin: 12px 0 0; font-size: 17px; color: var(--ink-2); max-width: 64ch; }
.main h2 { margin: 48px 0 12px; font-size: 20px; line-height: 1.4; font-weight: 700; scroll-margin-top: 80px; }
.main p { max-width: 68ch; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: 999px; border: 1px solid var(--line); font-size: 12px; font-weight: 600; color: var(--ink-3); }
.tag.biz { background: var(--signal-bg); border-color: transparent; color: #1F4FA8; }

/* 미리보기 */
.pv-wrap { margin-top: 28px; scroll-margin-top: 80px; }
.pv-bar { display: flex; align-items: center; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.pv-bar [role="tab"] { border: 0; background: none; padding: 8px 12px; font-size: 14px; font-weight: 600; color: var(--mute); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.pv-bar [role="tab"][aria-selected="true"] { color: var(--ink); border-color: var(--ink); }
.pv-bar .re { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; color: var(--ink-3); font-size: 13px; cursor: pointer; padding: 6px 8px; border-radius: var(--r); }
.pv-bar .re:hover { background: var(--bg2); color: var(--ink); }
.pv-bar .re svg { width: 14px; height: 14px; }
.pv { position: relative; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); min-height: 360px; display: grid; place-items: center; padding: 40px 24px; overflow: hidden;
  background-image: radial-gradient(var(--n200) 1px, transparent 1px); background-size: 16px 16px; }
.pv-stage { width: 100%; display: grid; place-items: center; font-size: 14px; line-height: 20px; color: var(--ink); position: relative; }
.code { margin: 0; border: 1px solid var(--line); border-radius: var(--r); background: #0C1E33; color: #E7E8EB; font: 12.5px/1.6 var(--mono); padding: 20px; max-height: 480px; overflow: auto; white-space: pre; }
.prompt-box { border: 1px solid var(--line); border-radius: var(--r); padding: 20px; background: var(--bg2); display: grid; gap: 12px; }
.prompt-box q { quotes: none; display: block; font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.prompt-box .bad { color: var(--ink-3); font-size: 14px; }
.prompt-box .bad s { color: var(--mute); }
.copyb { justify-self: start; }
@media (max-width: 600px) { .pv { padding: 28px 12px; min-height: 300px; } .main h1 { font-size: 26px; } }

/* 목록 카드 */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 24px; }
.ccard { display: grid; gap: 6px; align-content: start; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); text-decoration: none; background: var(--bg); transition: border-color .12s; }
.ccard:hover { border-color: var(--ink); }
.ccard b { font-size: 15px; display: flex; gap: 6px; align-items: baseline; }
.ccard b small { font-weight: 500; color: var(--mute); font-size: 12px; }
.ccard p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--ink-3); }
.ccard .bz { justify-self: start; }
.hero { padding: 24px 0 8px; display: grid; gap: 14px; }
.hero h1 { font-size: 40px; }
.hero .stats { display: flex; flex-wrap: wrap; gap: 24px; font-size: 14px; color: var(--ink-3); }
.hero .stats b { font-size: 24px; color: var(--ink); margin-right: 4px; font-variant-numeric: tabular-nums; }
.hero .row { display: flex; flex-wrap: wrap; gap: 8px; }
.same { display: flex; flex-wrap: wrap; gap: 6px; }
.same a { display: inline-flex; align-items: center; height: 30px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--r); font-size: 13px; color: var(--ink-2); text-decoration: none; }
.same a:hover { border-color: var(--ink); color: var(--ink); }
.same a[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.pairs { display: grid; gap: 8px; }
.pair { display: flex; gap: 12px; align-items: baseline; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); }
.pair a { font-weight: 600; white-space: nowrap; text-decoration: none; }
.pager2 { display: flex; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); }
.pager2 a { display: grid; gap: 2px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); font-weight: 600; font-size: 14px; max-width: 48%; }
.pager2 a small { font-weight: 400; color: var(--mute); font-size: 12px; }
.pager2 a:hover { border-color: var(--ink); }
.pager2 .nx { text-align: right; margin-left: auto; }

/* 찾기 창 */
.cmd-back { position: fixed; inset: 0; z-index: 60; background: rgba(12, 30, 51, .42); display: grid; place-items: start center; padding: 12vh 16px 16px; }
.cmd-back[hidden] { display: none; }
.cmd { width: min(560px, 100%); background: var(--bg); border-radius: 10px; box-shadow: var(--sh-modal); overflow: hidden; }
.cmd-top { display: flex; align-items: center; gap: 10px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.cmd-top input { flex: 1; min-width: 0; height: 52px; border: 0; outline: none; font: 16px var(--font); color: var(--ink); background: none; }
.cmd-list { list-style: none; margin: 0; padding: 6px; max-height: 50vh; overflow-y: auto; }
.cmd-list li { display: flex; align-items: baseline; gap: 10px; padding: 9px 10px; border-radius: var(--r); cursor: pointer; }
.cmd-list li[aria-selected="true"] { background: var(--n100); }
.cmd-list li b { font-size: 14px; }
.cmd-list li small { font-size: 12px; color: var(--mute); }
.cmd-list li .c { margin-left: auto; font-size: 12px; color: var(--mute); white-space: nowrap; }
.cmd-list .none { color: var(--mute); justify-content: center; cursor: default; }

/* 전역 토스트 */
.gt { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 16px); opacity: 0; pointer-events: none; background: var(--ink); color: #fff; padding: 10px 14px 10px 16px; border-radius: var(--r); box-shadow: var(--sh-float); display: flex; gap: 16px; align-items: center; font-size: 14px; line-height: 20px; transition: opacity .18s, transform .18s var(--ease); z-index: 80; max-width: calc(100vw - 32px); }
.gt.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.gt.bad { box-shadow: inset 4px 0 0 var(--bad), var(--sh-float); }
.gt button { border: 0; background: none; color: #fff; font-weight: 600; text-decoration: underline; cursor: pointer; padding: 0; min-height: 28px; font-size: 14px; }
.ft { border-top: 1px solid var(--line); background: var(--bg2); padding: 24px max(20px, env(safe-area-inset-left)); font-size: 12.5px; line-height: 1.8; color: var(--ink-3); text-align: center; }
.ft a { color: inherit; }

/* ── 예시 부품 (pv 안) ── */
.pv-stage .b { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; padding: 0 14px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg); color: var(--ink); font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background .12s, border-color .12s, transform .08s; }
.pv-stage .b:hover, .pv-stage .b.is-hover { background: var(--bg2); }
.pv-stage .b:active, .pv-stage .b.is-pressed { transform: scale(.97); background: var(--n200); }
.pv-stage .b.p { background: var(--ink); border-color: var(--ink); color: #fff; }
.pv-stage .b.p:hover, .pv-stage .b.p.is-hover { background: var(--ink-2); }
.pv-stage .b.p:active, .pv-stage .b.p.is-pressed { background: #061220; }
.pv-stage .b.ghost { border-color: transparent; background: none; }
.pv-stage .b.ghost:hover { background: var(--bg2); }
.pv-stage .b.danger { background: var(--bad); border-color: var(--bad); color: #fff; }
.pv-stage .b.sm { height: 26px; padding: 0 10px; font-size: 13px; }
.pv-stage .b.lg { height: 40px; padding: 0 18px; }
.pv-stage .b.icon { width: 32px; padding: 0; }
.pv-stage .b[disabled], .pv-stage .b.is-disabled { background: var(--bg2); border-color: var(--line); color: var(--cbx); cursor: not-allowed; transform: none; }
.pv-stage .b.is-focus { outline: 2px solid var(--signal); outline-offset: 2px; }
.pv-stage .b.is-ok { background: var(--ok); border-color: var(--ok); color: #fff; }
.pv-stage .b.is-err { background: var(--bg); border-color: var(--bad); color: var(--bad); }
.pv-stage .b.is-sel { background: var(--signal-bg); border-color: var(--signal); color: #1F4FA8; }
.pv-stage .row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; }
.pv-stage .col { display: grid; gap: 10px; justify-items: center; }
.pv-stage .w { width: min(420px, 100%); }
.pv-stage .ws { width: min(320px, 100%); }
.pv-stage .wl { width: min(560px, 100%); }
.pv-stage .left { justify-items: start; text-align: left; }
.pv-stage .note { font-size: 13px; color: var(--ink-3); text-align: center; }
.pv-stage .lbl { font-size: 13px; font-weight: 600; }
.pv-stage .in { width: 100%; height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); color: var(--ink); font: 14px var(--font); outline: none; transition: border-color .12s, box-shadow .12s; }
.pv-stage .in:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(12, 30, 51, .08); }
.pv-stage .in::placeholder { color: var(--mute); }
.pv-stage .in.err { border-color: var(--bad); }
.pv-stage .in.ok { border-color: var(--ok); }
.pv-stage textarea.in { height: 96px; padding: 10px 12px; resize: vertical; line-height: 1.5; }
.pv-stage .f { display: grid; gap: 6px; width: 100%; text-align: left; }
.pv-stage .help { font-size: 12.5px; color: var(--ink-3); }
.pv-stage .err-t { font-size: 12.5px; color: var(--bad); display: flex; gap: 4px; align-items: center; }
.pv-stage .ok-t { font-size: 12.5px; color: var(--ok); }
.pv-stage .st { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; white-space: nowrap; }
.pv-stage .st::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--ink)); }
.pv-stage .st.ok { --c: var(--ok); } .pv-stage .st.warn { --c: var(--warn); } .pv-stage .st.bad { --c: var(--bad); }
.pv-stage .chip { display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); font-size: 13px; color: var(--ink); cursor: pointer; white-space: nowrap; }
.pv-stage .chip[aria-pressed="true"], .pv-stage .chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.pv-stage .chip svg { width: 13px; height: 13px; }
.pv-stage .tagm { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 4px; background: var(--n100); font-size: 12px; font-weight: 600; color: var(--ink-2); }
.pv-stage .bdg { position: absolute; top: -6px; right: -8px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--bad); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; line-height: 1; border: 2px solid #fff; }
.pv-stage .card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; text-align: left; }
.pv-stage .ph-box { background: var(--n200); border-radius: 4px; }
.pv-stage .line { height: 8px; border-radius: 4px; background: var(--n200); }
.pv-stage .sk { background: var(--sk); border-radius: 4px; animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .45; } }
.pv-stage .spin { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.pv-stage .tbl { width: 100%; border-collapse: collapse; font-size: 13px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.pv-stage .tbl th, .pv-stage .tbl td { text-align: left; padding: 0 12px; height: 38px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.pv-stage .tbl th { font-weight: 600; background: var(--bg2); font-size: 12.5px; }
.pv-stage .tbl tr:last-child td { border-bottom: 0; }
.pv-stage .tbl .num { text-align: right; font-variant-numeric: tabular-nums; }
.pv-stage .pop { position: absolute; z-index: 5; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-float); padding: 4px; min-width: 180px; text-align: left; }
.pv-stage .pop button { display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; border: 0; background: none; padding: 7px 10px; border-radius: 4px; font-size: 14px; color: var(--ink); cursor: pointer; }
.pv-stage .pop button:hover, .pv-stage .pop button.hl { background: var(--bg2); }
.pv-stage .pop button[disabled] { color: var(--cbx); cursor: not-allowed; }
.pv-stage .pop hr { border: 0; border-top: 1px solid var(--line); margin: 4px 0; }
.pv-stage .ovl { position: absolute; inset: 0; background: rgba(12, 30, 51, .42); display: grid; place-items: center; z-index: 8; animation: fadein .18s; }
.pv-stage .ovl.top { place-items: start center; padding-top: 40px; }
.pv-stage .dlg { background: var(--bg); border-radius: var(--r); box-shadow: var(--sh-modal); width: min(340px, calc(100% - 32px)); text-align: left; animation: popin .2s var(--ease); }
.pv-stage .dlg .h { padding: 16px 18px 4px; font-weight: 700; font-size: 16px; display: flex; justify-content: space-between; align-items: center; }
.pv-stage .dlg .bd { padding: 4px 18px 14px; color: var(--ink-2); }
.pv-stage .dlg .ftr { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 18px 16px; border-top: 1px solid var(--line); }
@keyframes fadein { from { opacity: 0; } }
@keyframes popin { from { opacity: 0; transform: translateY(8px) scale(.98); } }
@keyframes slideup { from { transform: translateY(100%); } }
@keyframes slidein-r { from { transform: translateX(100%); } }
@keyframes slidein-l { from { transform: translateX(-100%); } }
@keyframes slidedown { from { transform: translateY(-120%); } }

/* 휴대폰 틀 */
.phone { width: 260px; height: 480px; border: 8px solid var(--ink); border-radius: 32px; background: var(--bg); position: relative; overflow: hidden; display: flex; flex-direction: column; text-align: left; box-shadow: 0 12px 32px rgba(12, 30, 51, .14); }
.phone .sb { height: 22px; flex: none; display: flex; justify-content: space-between; align-items: center; padding: 0 16px; font-size: 10px; font-weight: 600; }
.phone .scr { flex: 1; overflow: auto; position: relative; }
.phone .hi { position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%); width: 90px; height: 4px; border-radius: 2px; background: var(--ink); z-index: 9; }
.phone .ab { height: 44px; display: flex; align-items: center; gap: 8px; padding: 0 10px; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 15px; flex: none; background: var(--bg); }
.phone .ab .sp { flex: 1; }
.phone .ib { border: 0; background: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); cursor: pointer; }
.phone .ib:hover { background: var(--bg2); }
.phone .item { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 13px; background: var(--bg); }
.phone .thumb { width: 40px; height: 40px; border-radius: var(--r); background: var(--n200); flex: none; }
.phone .sheet { position: absolute; left: 0; right: 0; bottom: 0; background: var(--bg); border-radius: 16px 16px 0 0; box-shadow: 0 -8px 24px rgba(12, 30, 51, .14); padding: 10px 16px 24px; z-index: 8; animation: slideup .25s var(--ease); }
.phone .grab { width: 36px; height: 4px; border-radius: 2px; background: var(--n300); margin: 0 auto 12px; }
.phone .tabbar { flex: none; display: flex; border-top: 1px solid var(--line); background: var(--bg); padding-bottom: 14px; }
.phone .tabbar button { flex: 1; border: 0; background: none; display: grid; justify-items: center; gap: 2px; padding: 8px 0 2px; font-size: 10px; color: var(--n500); cursor: pointer; }
.phone .tabbar button[aria-selected="true"] { color: var(--ink); font-weight: 700; }
.phone .tabbar svg { width: 20px; height: 20px; }

/* 움직임 무대 */
.track { position: relative; width: min(420px, 100%); height: 56px; border-radius: var(--r); background: var(--bg2); border: 1px dashed var(--n300); }
.track .dot { position: absolute; top: 8px; left: 8px; width: 40px; height: 40px; border-radius: var(--r); background: var(--ink); }
.track small { position: absolute; left: 8px; bottom: -20px; font-size: 12px; color: var(--ink-3); }

@media (prefers-reduced-motion: reduce) { .pv-stage *, .gt, .side { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
.pv-stage .st.run::before { background: transparent; border: 1.5px solid var(--ink); width: 7px; height: 7px; }
[hidden] { display: none !important; }
