/* 속닥 — 로고 파랑 하나 · 글자 단계(64/40/22/17/15/13) · 간격 8 배수
   CSP 가 인라인 스타일·스크립트를 막으므로 꾸밈은 모두 여기서만 */
:root {
  --bg: #F6F8FB; --surface: #FFFFFF; --ink: #0E1526; --dim: #4A5468; --faint: #8891A4;
  --line: #E2E7EF; --brand: #0047EB; --brand-2: #2F6BFF; --btn: #0047EB; --btn-2: #003CC6; --ok: #15803D; --brand-ink: #FFFFFF; --soft: #EBF1FF; --kbd: #F0F3F8;
  --warn-bg: #FFF6E5; --warn: #8A5A00;
  --r: 20px; --r-s: 12px;
  --shadow: 0 1px 2px rgba(14, 21, 38, .04), 0 8px 24px rgba(14, 21, 38, .06);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B0F19; --surface: #131A29; --ink: #EEF2FA; --dim: #A9B3C7; --faint: #6F7A90;
    --line: #232D42; --brand: #7EA4FF; --brand-2: #A3BEFF; --btn: #2756E0; --btn-2: #1F49C4; --ok: #15803D; --brand-ink: #FFFFFF; --soft: #16244A; --kbd: #1B2336;
    --warn-bg: #2A2110; --warn: #E6B85C;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.65 Pretendard, "Pretendard Variable", -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", system-ui, sans-serif;
  word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; }
h1, h2, h3, p { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 50%, transparent); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: 16px; top: -48px; z-index: 20; padding: 8px 16px; border-radius: 8px; background: var(--btn); color: var(--brand-ink); text-decoration: none; font-weight: 700; }
.skip:focus { top: 12px; }

/* 머리 */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { height: 28px; width: auto; }
.logo.sm img { height: 20px; }
.nav { display: flex; gap: 4px; }
.nav a { padding: 8px 12px; border-radius: 10px; text-decoration: none; color: var(--dim); font-size: 15px; font-weight: 600; }
.nav a:hover { color: var(--ink); background: var(--kbd); }

/* 단추 */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 24px; border-radius: 14px; text-decoration: none; font-weight: 700; font-size: 16px; transition: transform .15s, background-color .15s, box-shadow .15s; }
.btn.primary { background: var(--btn); color: var(--brand-ink); box-shadow: 0 6px 16px color-mix(in srgb, var(--brand) 28%, transparent); }
.btn.primary:hover { background: var(--btn-2); transform: translateY(-1px); }
.btn.ghost { color: var(--ink); border: 1px solid var(--line); background: var(--surface); }
.btn.ghost:hover { border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }

/* 첫 화면 */
.hero { position: relative; overflow: hidden; padding: 88px 0 72px; }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 720px; height: 720px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 14%, transparent), transparent); pointer-events: none; }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; padding: 6px 14px 6px 10px; border-radius: 999px; background: var(--soft); color: var(--brand); font-size: 14px; font-weight: 700; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 20%, transparent); }
.hero h1 { font-size: clamp(38px, 6.2vw, 64px); line-height: 1.18; letter-spacing: -0.045em; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--brand); }
.lead { margin-top: 24px; max-width: 34em; color: var(--dim); font-size: clamp(16px, 1.9vw, 19px); line-height: 1.7; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* 첫 화면 오른쪽: 프로그램 목록 */
.lineup { padding: 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.lineup-t { padding: 4px 8px 12px; color: var(--dim); font-size: 14px; font-weight: 600; }
.lineup-t b { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-left: 4px; padding: 0 6px; border-radius: 999px; background: var(--btn); color: var(--brand-ink); font-size: 12px; }
.row { position: relative; display: flex; align-items: center; gap: 8px; border-radius: 14px; transition: background-color .15s; }
.row + .row::before { content: ""; position: absolute; left: 8px; right: 8px; top: 0; height: 1px; background: var(--line); }
.row:hover::before, .row:hover + .row::before { opacity: 0; }
.row:hover { background: var(--kbd); }
.row-a { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; padding: 12px 8px; text-decoration: none; border-radius: 14px; }
.lineup img { width: 44px; height: 44px; border-radius: 12px; flex: none; }
.row-a span { display: grid; min-width: 0; flex: 1; }
.row-a b { font-size: 16px; font-weight: 700; }
.lineup small { color: var(--dim); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qi { flex: none; min-width: 64px; height: 40px; margin-right: 6px; padding: 0 14px; border: 0; border-radius: 11px; background: var(--btn); color: var(--brand-ink); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: background-color .15s, transform .15s; }
.qi:hover { background: var(--btn-2); }
.qi:active { transform: scale(.97); }
.lineup-h { float: right; color: var(--faint); font-size: 13px; font-weight: 500; }
.lineup-f { padding: 12px 8px 0; color: var(--faint); font-size: 13px; }

/* 약속 */
.promise { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.promise-in { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.promise li { display: flex; gap: 14px; padding: 28px 20px; }
.promise li + li { border-left: 1px solid var(--line); }
.promise li:first-child { padding-left: 0; }
.promise svg { flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--soft); fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.promise b { display: block; font-size: 15px; font-weight: 700; }
.promise span { display: block; margin-top: 2px; color: var(--dim); font-size: 14px; line-height: 1.55; }

/* 구역 머리 */
.sec-h { margin-bottom: 40px; }
.kicker { color: var(--brand); font-size: 13px; font-weight: 800; letter-spacing: .14em; }
.sec-t { margin-top: 8px; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.25; letter-spacing: -0.04em; font-weight: 800; }
.sec-d { margin-top: 12px; color: var(--dim); font-size: 17px; }

/* 프로그램 카드 */
.programs { padding: 104px 0; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 32px; box-shadow: var(--shadow); }
.card-h { display: flex; gap: 16px; align-items: center; }
.app-ic { width: 64px; height: 64px; border-radius: 16px; flex: none; box-shadow: 0 4px 12px rgba(14, 21, 38, .12); }
.cat { color: var(--brand); font-size: 13px; font-weight: 700; }
.card h3 { margin-top: 2px; font-size: 24px; letter-spacing: -0.03em; font-weight: 800; }
.tag { margin-top: 20px; font-size: 17px; font-weight: 600; line-height: 1.55; }
.feat { list-style: none; margin: 20px 0 24px; padding: 0; display: grid; gap: 10px; }
.feat li { position: relative; padding-left: 26px; color: var(--dim); font-size: 15px; line-height: 1.6; }
.feat li::before { content: ""; position: absolute; left: 0; top: .3em; width: 16px; height: 16px; border-radius: 50%; background: var(--soft); }
.feat li::after { content: ""; position: absolute; left: 5px; top: calc(.3em + 4px); width: 6px; height: 4px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
kbd { font: 600 12px/1 ui-monospace, Consolas, monospace; color: var(--ink); background: var(--kbd); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; padding: 3px 6px; }
.card-f { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.spec { color: var(--faint); font-size: 13px; }
.spec a { color: var(--dim); }
.card-f .spec { margin-bottom: 14px; }
.note { margin: 0 0 24px; padding: 12px 16px; border-radius: var(--r-s); background: var(--warn-bg); color: var(--warn); font-size: 14px; line-height: 1.6; }
.dl { display: flex; align-items: center; justify-content: center; gap: 8px; height: 54px; border-radius: 14px; background: var(--btn); color: var(--brand-ink); text-decoration: none; font-weight: 700; font-size: 16px; transition: transform .15s, background-color .15s; }
.dl:hover { background: var(--btn-2); transform: translateY(-1px); }
.dl:active { transform: translateY(0); }
.dl svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.dl small { font-weight: 500; opacity: .75; font-size: 14px; }
.dl.sub { background: var(--soft); color: var(--brand); }
.dl.sub:hover { background: color-mix(in srgb, var(--brand) 18%, var(--soft)); }
.sha { margin-top: 14px; font-size: 13px; color: var(--faint); }
.sha summary { cursor: pointer; width: fit-content; }
.sha code { display: block; margin-top: 8px; padding: 10px 12px; border-radius: 10px; background: var(--kbd); font: 12px/1.5 ui-monospace, Consolas, monospace; color: var(--dim); word-break: break-all; user-select: all; }

/* 대표 카드(모두뷰어) */
.card.feature { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding: 40px; background: linear-gradient(160deg, var(--soft), var(--surface) 55%); }
.feature-main .feat { margin-bottom: 16px; }
.feature-use { display: grid; gap: 16px; align-content: start; }
.use { padding: 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.use-t { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; }
.use-t svg { width: 20px; height: 20px; fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.use p:not(.use-t) { margin: 8px 0 16px; color: var(--dim); font-size: 14px; line-height: 1.65; }
.use b { color: var(--ink); font-weight: 600; }

/* 설치 */
.install { padding: 104px 0; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: s; }
.steps li { position: relative; padding: 28px; border-radius: var(--r); background: var(--bg); border: 1px solid var(--line); }
.steps b { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 20px; border-radius: 12px; background: var(--btn); color: var(--brand-ink); font-size: 17px; font-weight: 800; }
.steps h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.steps p { margin-top: 8px; color: var(--dim); font-size: 15px; }
.steps strong { color: var(--ink); font-weight: 600; }

/* 자주 묻는 질문 */
.faq { padding: 104px 0; }
.faq-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; align-items: start; }
.qa { border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { position: relative; list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint); transform: rotate(45deg); transition: transform .2s; }
.qa details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.qa summary:hover { color: var(--brand); }
.qa p { padding: 0 0 12px; color: var(--dim); font-size: 15px; line-height: 1.75; }
.qa p:last-child { padding-bottom: 24px; }
.qa strong { color: var(--ink); font-weight: 600; }
.qa a { color: var(--brand); font-weight: 600; }
.qa .code code { font: 13px ui-monospace, Consolas, monospace; background: var(--kbd); padding: 3px 8px; border-radius: 6px; color: var(--ink); }

/* 맺음 */
.outro { padding: 0 0 104px; }
.outro-in { display: flex; align-items: center; gap: 28px; padding: 40px; border-radius: 28px; background: #0B1530; color: #fff; }
.outro-in img { width: 72px; height: 72px; border-radius: 18px; flex: none; }
.outro-in div { flex: 1; }
.outro h2 { font-size: clamp(22px, 2.6vw, 28px); line-height: 1.35; letter-spacing: -0.03em; font-weight: 800; }
.outro p { margin-top: 6px; color: #A9B6D6; font-size: 15px; }
.outro .btn.primary { flex: none; box-shadow: none; }

/* 바닥 */
.foot { padding: 48px 0 64px; border-top: 1px solid var(--line); }
.foot-in { display: grid; grid-template-columns: auto 1fr; gap: 16px 48px; align-items: center; }
.foot-brand { display: flex; align-items: center; gap: 16px; }
.foot-brand p { color: var(--dim); font-size: 14px; }
.foot-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 20px; }
.foot-nav a { color: var(--dim); font-size: 14px; text-decoration: none; }
.foot-nav a:hover { color: var(--ink); text-decoration: underline; }
.foot-legal, .foot-c { grid-column: 1 / -1; color: var(--faint); font-size: 13px; }
.foot-legal { padding-top: 16px; border-top: 1px solid var(--line); }

/* 반응형 */
@media (max-width: 960px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .lineup { max-width: 520px; }
  .promise-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promise li:nth-child(3) { border-left: 0; padding-left: 0; }
  .promise li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .card.feature { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .faq-in { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
@media (max-width: 760px) {
  .grid, .steps { grid-template-columns: minmax(0, 1fr); }
  .outro-in { flex-direction: column; align-items: flex-start; }
  .foot-in { grid-template-columns: minmax(0, 1fr); }
  .foot-nav { justify-content: flex-start; }
}
@media (max-width: 560px) {
  html { scroll-padding-top: 64px; }
  .wrap { padding: 0 20px; }
  .top-in { height: 56px; }
  .logo img { height: 24px; }
  .nav a:not(:first-child) { display: none; }
  .hero { padding: 48px 0 48px; }
  .eyebrow { font-size: 13px; }
  .cta .btn { flex: 1; padding: 0 16px; }
  .lineup { padding: 12px; }
  .promise-in { grid-template-columns: minmax(0, 1fr); }
  .promise li { padding: 18px 0; border-left: 0 !important; }
  .promise li + li { border-top: 1px solid var(--line); }
  .programs, .install, .faq { padding: 72px 0; }
  .outro { padding-bottom: 72px; }
  .sec-h { margin-bottom: 28px; }
  .card, .card.feature { padding: 24px 20px; }
  .use { padding: 16px; }
  .steps li { padding: 22px; }
  .outro-in { padding: 28px 24px; border-radius: 22px; }
  .outro .btn { width: 100%; }
  .qa summary { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .dl, .qa summary::after { transition: none; } }
/* 설치 명령 복사 (스마트 앱 컨트롤에 막히지 않는 설치) */
button.dl { width: 100%; border: 0; cursor: pointer; font-family: inherit; }
button.dl.ok, button.ok, button.ok2 { background: var(--ok); color: #fff; }
.cp-how { margin: 10px 0 0; font-size: 13.5px; line-height: 1.9; color: var(--sub, #5b6475); text-align: center; word-break: keep-all; }
.cp-how a { white-space: nowrap; }
code.cmd { display: block; margin: 10px 0 0; padding: 8px 10px; border-radius: 10px; background: #10142a; color: #c9f2ff; font: 12.5px/1.5 Consolas, monospace; overflow-wrap: anywhere; user-select: all; }
.steps h3 kbd { font-size: 13px; }

/* yes 프로그램 암호 창 (copy.js, 11-30) */
dialog.lock { width: min(360px, calc(100vw - 32px)); padding: 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); color: var(--ink); box-shadow: 0 24px 64px rgba(14, 21, 38, .28); }
dialog.lock::backdrop { background: rgba(8, 12, 22, .55); }
.lock-f { margin: 0; padding: 24px; }
.lock-t { font-size: 20px; font-weight: 800; }
.lock-d { margin-top: 6px; font-size: 15px; color: var(--dim); }
.lock-i { display: block; width: 100%; height: 50px; margin-top: 16px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: var(--r-s); background: var(--bg); color: var(--ink); font: inherit; font-size: 17px; outline: 0; }
.lock-i:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--soft); }
.lock-i.bad { border-color: #dc2626; }
.lock-m { min-height: 22px; margin-top: 6px; font-size: 13px; color: #dc2626; }
.lock-b { display: flex; gap: 8px; margin-top: 8px; }
.lock-b button { flex: 1; height: 48px; border: 0; border-radius: var(--r-s); font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
.lock-x { background: var(--kbd); color: var(--dim); }
.lock-ok { background: var(--btn); color: var(--brand-ink); }
.lock-ok:hover { background: var(--btn-2); }
.lock-ok:disabled { opacity: .6; cursor: default; }

/* ── 11-30 사용자 시험 200가지 반영 (tools\ux\run200.mjs) ── */
.sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* 휴대폰·맥 안내 띠 (copy.js 가 os-win 이 아닐 때 보임) */
.pc-note { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; padding: 16px; border-radius: 16px; background: var(--surface); border: 1px solid color-mix(in srgb, var(--brand) 35%, var(--line)); box-shadow: var(--shadow); }
.pc-note[hidden] { display: none; }
.pc-note-t { font-size: 15px; line-height: 1.6; color: var(--dim); }
.pc-note-k { display: block; color: var(--ink); font-size: 16px; }
.pc-note-b { display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; border: 0; border-radius: 13px; background: var(--btn); color: var(--brand-ink); font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
.pc-note-b svg, .dl svg { flex: none; }
.pc-note-b svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pc-note-v { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; border-radius: 12px; background: var(--soft); color: var(--brand); font-size: 14px; text-decoration: none; }
.pc-note-v span { text-align: center; }
.pc-note-v b { font-weight: 700; white-space: nowrap; }
html.jump { scroll-behavior: auto; } /* #링크로 들어올 땐 바로 그 카드로 */
.pc-note-v svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.os-other .pc-note-v { display: none; }
.os-phone .qi { height: 44px; }
input.url { display: block; width: 100%; height: 44px; margin-top: 10px; padding: 0 12px; border: 1.5px solid var(--brand); border-radius: 10px; background: var(--bg); color: var(--ink); font: 14px ui-monospace, Consolas, monospace; }

/* 휴대폰: 모두뷰어는 「휴대폰에서 바로 열기」가 먼저 · 크게 */
.os-phone .feature-use .use:nth-child(2) { order: -1; }
.os-phone .dl.sub { background: var(--btn); color: var(--brand-ink); }
.os-phone .dl.sub:hover { background: var(--btn-2); }

/* 링크(#이름)로 오거나 목록에서 누른 카드 표시 */
.card { scroll-margin-top: 88px; transition: box-shadow .3s; }
.card:target, .card.hit { box-shadow: 0 0 0 3px var(--brand), var(--shadow); }
.card.hit { animation: hit 1.4s ease-out; }
@keyframes hit { 0% { box-shadow: 0 0 0 10px color-mix(in srgb, var(--brand) 35%, transparent), var(--shadow); } 100% { box-shadow: 0 0 0 3px var(--brand), var(--shadow); } }

/* 설치 구역: 단계 + 실행 창 그림 */
.install-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.install-in .steps { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.install-in .steps li { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; }
.install-in .steps b { flex: none; margin: 0; }
.install-in .steps p { margin-top: 4px; }
.run { margin: 0; border-radius: 10px; background: #F3F3F3; color: #1A1A1A; border: 1px solid #C9CDD3; box-shadow: 0 24px 48px rgba(14, 21, 38, .18); font-family: "Segoe UI", "Malgun Gothic", sans-serif; overflow: hidden; }
.run-bar { display: flex; justify-content: space-between; align-items: center; height: 36px; padding: 0 14px; background: #FFFFFF; font-size: 13px; }
.run-bar i { font-style: normal; color: #666; }
.run-body { padding: 18px 18px 16px; }
.run-d { font-size: 13px; color: #333; }
.run-f { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 13px; }
.run-f span { flex: none; }
.run-f code { flex: 1; min-width: 0; padding: 6px 8px; border: 2px solid #0067C0; border-radius: 4px; background: #fff; font: 12px/1.4 Consolas, monospace; color: #111; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.run-b { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; font-size: 13px; }
.run-b b, .run-b span { min-width: 72px; padding: 5px 12px; border-radius: 4px; background: #FDFDFD; border: 1px solid #D0D0D0; text-align: center; font-weight: 400; }
.run-b b { background: #0067C0; border-color: #0067C0; color: #fff; }
.run figcaption { padding: 12px 18px; background: var(--surface); color: var(--dim); font-size: 14px; border-top: 1px solid var(--line); font-family: inherit; }

/* 제거 명령 */
.un { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 24px; }
.un-b { height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.un-b:hover { border-color: var(--brand); }
.un-b.ok { border-color: var(--ok); }

/* 복사 뒤 안내 창 (아래쪽에 작게 — 화면의 다른 곳은 그대로 누를 수 있음) */
.sheet { position: fixed; z-index: 30; left: 50%; bottom: 16px; width: min(480px, calc(100vw - 24px)); max-height: calc(100vh - 24px); overflow: auto; transform: translateX(-50%); padding: 18px 18px 14px; border-radius: 20px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 24px 64px rgba(8, 12, 22, .32); animation: up .25s ease-out; }
.sheet[hidden] { display: none; }
@keyframes up { from { opacity: 0; transform: translate(-50%, 16px); } }
.sheet-h { display: flex; align-items: center; gap: 12px; }
.sheet-ic { width: 40px; height: 40px; border-radius: 11px; flex: none; }
.sheet-h div { flex: 1; min-width: 0; }
.sheet-k { color: var(--ok); font-size: 13px; font-weight: 700; }
.sheet-t { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.sheet-x { flex: none; width: 40px; height: 40px; border: 0; border-radius: 10px; background: var(--kbd); color: var(--dim); cursor: pointer; display: grid; place-items: center; }
.sheet-x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.sheet-cmd { margin-top: 12px; }
.sheet-cmd[hidden] { display: none; }
.sheet-cmd code.cmd { margin: 0; }
.sheet-s { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; }
.sheet-s li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--bg); color: var(--dim); font-size: 15px; transition: background-color .2s; }
.sheet-s li i { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--line); color: var(--dim); font-style: normal; font-size: 13px; font-weight: 800; }
.sheet-s li span { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.sheet-s li small { width: 100%; color: var(--faint); font-size: 12.5px; font-weight: 500; }
.sheet-s li em { font-style: normal; color: var(--ok); font-weight: 700; }
.sheet-s li.now { background: var(--soft); color: var(--ink); font-weight: 700; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--brand) 45%, transparent); }
.sheet-s li.now i { background: var(--btn); color: #fff; animation: pulse 1.6s ease-in-out infinite; }
.sheet-s li.done i { background: var(--ok); color: #fff; font-size: 0; }
.sheet-s li.done i::before { content: "✓"; font-size: 14px; }
.sheet-s kbd { font-size: 13px; padding: 4px 7px; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--btn) 25%, transparent); } }
.sheet-a { margin-top: 12px; color: var(--dim); font-size: 14px; line-height: 1.6; }
.sheet-a b { color: var(--ink); }
.sheet.back .sheet-a { padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--ok) 12%, var(--surface)); color: var(--ink); }
.sheet-b { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 10px; font-size: 14px; }
.sheet-again { height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.sheet-zip { color: var(--brand); font-weight: 600; }
.sheet-zip[hidden], .sheet-help[hidden] { display: none; }
.sheet-help { flex-basis: 100%; color: var(--dim); }
.sheet-help summary { width: fit-content; cursor: pointer; color: var(--brand); font-weight: 600; }
.sheet-help p { margin-top: 6px; font-size: 13.5px; line-height: 1.6; }

@media (min-width: 1100px) { /* 넓은 화면: 방금 누른 오른쪽 목록을 가리지 않게 왼쪽 아래 */
  .sheet { left: max(24px, calc(50vw - 560px)); transform: none; }
  @keyframes up { from { opacity: 0; transform: translateY(16px); } }
}
@media (max-width: 960px) {
  .install-in { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .run { max-width: 520px; }
}
@media (max-width: 560px) {
  .qi { height: 44px; margin-right: 4px; }
  .row-a { gap: 12px; padding: 12px 4px; }
  .lineup-h { display: none; }
  .sheet { bottom: 8px; padding: 14px 14px 12px; border-radius: 18px; }
  .sheet-s li { padding: 8px 10px; }
}
@media (max-height: 480px) {
  .sheet { bottom: 6px; padding: 10px 12px; }
  .sheet-s { margin-top: 8px; gap: 4px; }
  .sheet-s li { padding: 5px 10px; font-size: 14px; }
  .sheet-s li small { display: none; }
  .sheet-a { margin-top: 6px; font-size: 13px; }
  .sheet-ic { width: 32px; height: 32px; }
}
@media (prefers-reduced-motion: reduce) { .sheet, .card.hit, .sheet-s li.now i { animation: none; } }
