/* BodaDesk Storefront — design tokens & components
   Brand: Boda Cobalt + Signal Amber on Desk Mist (light) / Night Ink (dark) */
:root {
  --bg: #F4F6FA;
  --bg-elev: #FFFFFF;
  --bg-sunk: #EAEEF5;
  --ink: #0F1428;
  --ink-2: #3A425C;
  --muted: #6A7290;
  --line: #DFE4EE;
  --line-strong: #C9D0DF;
  --brand: #2447D6;
  --brand-hover: #1C39B3;
  --brand-soft: #E7ECFC;
  --brand-ink: #FFFFFF;
  --signal: #F5A524;
  --signal-ink: #8A5300;
  --ok: #138A5A;
  --ok-soft: #E3F5EC;
  --danger: #D23B2F;
  --danger-soft: #FCEBE9;
  --hero-a: #0F1A4A;
  --hero-b: #2447D6;
  /* 히어로 섹션 전용(라이트: 밝은 배너 · 어두운 글자). desk-thumb 는 --hero-a/b 를 계속 쓴다. */
  --hero-ink: #10183A; --hero-ink-soft: #46506E; --hero-accent: #9A5B00;
  --herobg-a: #E8EFFF; --herobg-b: #CBDCFF; --hero-glow: #AFC6FF;
  --hero-field-bg: rgba(255,255,255,.72); --hero-field-line: rgba(16,24,58,.14); --hero-line: rgba(16,24,58,.26);
  --shadow-1: 0 1px 2px rgba(15, 20, 40, .06), 0 1px 1px rgba(15, 20, 40, .04);
  --shadow-2: 0 12px 32px -12px rgba(15, 20, 40, .22), 0 2px 6px rgba(15, 20, 40, .06);
  --shadow-3: 0 30px 80px -24px rgba(15, 20, 40, .35);
  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 24px;
  --f-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Segoe UI", Roboto, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --wrap: 1200px;
  --header-h: 68px;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0A0E1C;
  --bg-elev: #121830;
  --bg-sunk: #0E1326;
  --ink: #ECEFF8;
  --ink-2: #C3C9DC;
  --muted: #8E96B2;
  --line: #222A45;
  --line-strong: #2F3858;
  --brand: #7C93FF;
  --brand-hover: #98AAFF;
  --brand-soft: #1A2350;
  --brand-ink: #0A0E1C;
  --signal: #FFB547;
  --signal-ink: #FFC56E;
  --ok: #44C88E;
  --ok-soft: #10301F;
  --danger: #FF7A6E;
  --danger-soft: #3A1714;
  --hero-a: #060914;
  --hero-b: #1A2C8A;
  --hero-ink: #FFFFFF; --hero-ink-soft: rgba(255,255,255,.78); --hero-accent: #FFC15A;
  --herobg-a: #060914; --herobg-b: #1A2C8A; --hero-glow: #6C8BFF;
  --hero-field-bg: rgba(255,255,255,.10); --hero-field-line: rgba(255,255,255,.18); --hero-line: rgba(255,255,255,.35);
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-2: 0 14px 34px -14px rgba(0, 0, 0, .7);
  --shadow-3: 0 30px 80px -24px rgba(0, 0, 0, .8);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0A0E1C; --bg-elev: #121830; --bg-sunk: #0E1326; --ink: #ECEFF8; --ink-2: #C3C9DC; --muted: #8E96B2;
    --line: #222A45; --line-strong: #2F3858; --brand: #7C93FF; --brand-hover: #98AAFF; --brand-soft: #1A2350; --brand-ink: #0A0E1C;
    --signal: #FFB547; --signal-ink: #FFC56E; --ok: #44C88E; --ok-soft: #10301F; --danger: #FF7A6E; --danger-soft: #3A1714;
    --hero-a: #060914; --hero-b: #1A2C8A;
    --hero-ink: #FFFFFF; --hero-ink-soft: rgba(255,255,255,.78); --hero-accent: #FFC15A;
    --herobg-a: #060914; --herobg-b: #1A2C8A; --hero-glow: #6C8BFF;
    --hero-field-bg: rgba(255,255,255,.10); --hero-field-line: rgba(255,255,255,.18); --hero-line: rgba(255,255,255,.35);
    --shadow-1: 0 1px 2px rgba(0,0,0,.4); --shadow-2: 0 14px 34px -14px rgba(0,0,0,.7); --shadow-3: 0 30px 80px -24px rgba(0,0,0,.8);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-sans); font-size: 16px; line-height: 1.6; letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-wrap: anywhere;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; letter-spacing: -0.025em; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent); outline-offset: 2px; border-radius: 6px; }
.num, .price { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--f-mono); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: 24px; }
@media (max-width: 640px) { .wrap { padding-inline: 16px; } }
.muted { color: var(--muted); }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .02em; color: var(--brand); }

/* ---------- Header ---------- */
.bd-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.bd-header.is-scrolled { border-bottom-color: var(--line); }
.bd-header .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.bd-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -0.03em; flex: none; }
.bd-logo svg { width: 30px; height: 30px; color: var(--brand); }
.bd-logo b { font-weight: 800; } .bd-logo span { font-weight: 400; }
/* 상표 표시(TM): 브랜드 이름 오른쪽 위 — 글자 크기의 약 36%, 대문자 높이에 맞춤 */
.tm { font-size: .36em; font-weight: 600; letter-spacing: 0; vertical-align: 1.3em; margin-left: .12em; line-height: 1; }   /* 1.3em(=TM 글자 기준) ≈ 대문자 윗선 */
.bd-nav { display: flex; gap: 4px; }
.bd-nav a { white-space: nowrap; padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.bd-nav a:hover, .bd-nav a[aria-current="page"] { color: var(--ink); background: var(--bg-sunk); }
.bd-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.icon-btn {
  position: relative; width: 40px; height: 40px; border-radius: 999px; display: inline-grid; place-items: center;
  border: 0; background: transparent; color: var(--ink-2); cursor: pointer;
}
.icon-btn:hover { background: var(--bg-sunk); color: var(--ink); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn .badge {
  position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: var(--brand); color: var(--brand-ink); font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
}
.icon-btn .badge[data-count="0"] { display: none; }
/* 로그인한 계정을 헤더에 표시(여러 계정 사용 시 의도한 계정인지 확인) */
/* 마이페이지 버튼: [아이콘] 마이페이지 / 계정 이름 — 위아래 여백을 고르게, 글자는 가운데 정렬 */
.user-pill {
  display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 16px 0 6px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand); text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; transition: border-color .15s, filter .15s;
}
.user-pill:hover, .user-pill.is-on { border-color: color-mix(in srgb, var(--brand) 45%, transparent); }
.user-pill:hover { filter: brightness(1.04); }
.user-pill:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent); outline-offset: 2px; }
.user-pill-ico { width: 32px; height: 32px; border-radius: 999px; display: grid; place-items: center; background: var(--brand); color: var(--brand-ink); flex: none; }
.user-pill-ico svg { width: 17px; height: 17px; }
.user-pill-text { display: grid; gap: 1px; line-height: 1.2; text-align: left; min-width: 0; }
.user-pill-text b { font-size: 13.5px; font-weight: 800; }
.user-pill-name { font-size: 11.5px; font-weight: 600; opacity: .78; max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 560px) {
  .user-pill { height: 40px; padding: 0 12px 0 4px; gap: 7px; }
  .user-pill-ico { width: 30px; height: 30px; }
  .user-pill-name { display: none; }
}
.lang-select { position: relative; }
.lang-select select {
  appearance: none; -webkit-appearance: none; border: 1px solid var(--line); background: var(--bg-elev);
  border-radius: 999px; height: 36px; padding: 0 30px 0 14px; font-size: 13px; font-weight: 600; cursor: pointer; color: var(--ink-2);
}
.lang-select::after { content: ""; position: absolute; right: 13px; top: 15px; width: 6px; height: 6px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg); pointer-events: none; }
.theme-ico-dark { display: none; }
:root[data-theme="dark"] .theme-ico-light { display: none; }
:root[data-theme="dark"] .theme-ico-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-ico-light { display: none; }
  :root:not([data-theme="light"]) .theme-ico-dark { display: block; }
}
.menu-btn { display: none; }
@media (max-width: 1080px) {
  .bd-nav { display: none; }
  .menu-btn { display: inline-grid; }
}
@media (max-width: 720px) {
  .bd-header .hide-sm { display: none; }
}
.bd-drawer { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--bg-elev); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-2); padding: 12px 16px 20px; z-index: 49; display: grid; gap: 4px; }
.bd-drawer[hidden] { display: none; }
.bd-drawer a { padding: 14px 12px; border-radius: 12px; font-weight: 600; }
.bd-drawer a:hover { background: var(--bg-sunk); }
/* 좁은 화면: 화면 모드 버튼은 메뉴 안으로 — 머리말에 마이페이지·메뉴 버튼이 늘 보이게 */
.drawer-theme { display: none; align-items: center; gap: 10px; padding: 14px 12px; border: 0; border-radius: 12px; background: transparent; color: inherit; font: inherit; font-weight: 600; text-align: left; cursor: pointer; }
.drawer-theme:hover { background: var(--bg-sunk); }
.drawer-theme svg { width: 18px; height: 18px; }
@media (max-width: 560px) {
  .bd-header .wrap { gap: 10px; }
  .bd-header .theme-btn { display: none; }
  .drawer-theme { display: flex; }
}
@media (max-width: 360px) {
  .user-pill-text { display: none; }
  .user-pill { padding: 0 4px; }
}

/* ---------- Buttons & forms ---------- */
.btn {
  --h: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: var(--h); padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent; font-weight: 700; font-size: 15px; cursor: pointer; white-space: nowrap;
  transition: background .15s, border-color .15s, transform .08s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn.is-loading { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--brand); color: var(--brand-ink); box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--brand) 70%, transparent); }
.btn-primary:hover { background: var(--brand-hover); }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { background: var(--bg-sunk); }
.btn-soft { background: var(--brand-soft); color: var(--brand); }
.btn-soft:hover { filter: brightness(.97); }
.btn-light { background: #FFFFFF; color: #0F1428; }
.btn-light:hover { background: #EEF1FA; }
.btn-sm { --h: 38px; padding: 0 16px; font-size: 14px; }
.btn-lg { --h: 56px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; }

.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.input {
  width: 100%; height: 52px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line-strong);
  background: var(--bg-elev); font-size: 16px; transition: border-color .15s, box-shadow .15s;
}
.input:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
.input[aria-invalid="true"] { border-color: var(--danger); }
.hint { font-size: 13px; color: var(--muted); }
.error-text { font-size: 13px; color: var(--danger); min-height: 1em; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--brand); flex: none; }
.divider-text { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; }
.divider-text::before, .divider-text::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.social-btn { width: 100%; height: 52px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--bg-elev); display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 600; cursor: pointer; }
.social-btn:hover { background: var(--bg-sunk); }
.social-btn.naver { background: #03C75A; border-color: #03C75A; color: #FFFFFF; }
.social-btn.naver:hover { filter: brightness(.95); }
.social-btn svg { width: 20px; height: 20px; }
.social-btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }

/* ---------- Cards / surfaces ---------- */
.surface { background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius); }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 999px; background: var(--bg-sunk); color: var(--ink-2); font-size: 12.5px; font-weight: 600; }
.chip.brand { background: var(--brand-soft); color: var(--brand); }
.chip.ok { background: var(--ok-soft); color: var(--ok); }
.chip { white-space: nowrap; }
.chip svg { width: 14px; height: 14px; flex: none; }
.led { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 25%, transparent); flex: none; }
.led.off { background: var(--muted); box-shadow: none; }
.led.wait { background: var(--signal); box-shadow: 0 0 0 3px color-mix(in srgb, var(--signal) 25%, transparent); }

.desk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; }
.desk-card {
  display: grid; grid-template-rows: auto 1fr auto; background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; min-width: 0;
}
.desk-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--line-strong); }
.desk-thumb { aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--hero-a), var(--hero-b)); position: relative; display: grid; place-items: center; color: #FFFFFF; overflow: hidden; }
.desk-thumb img { width: 100%; height: 100%; object-fit: cover; }
.desk-thumb .gpu { position: absolute; left: 14px; bottom: 12px; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; text-shadow: 0 2px 10px rgba(0,0,0,.35); }
.desk-thumb .status { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: rgba(10, 14, 28, .55); backdrop-filter: blur(6px); font-size: 12px; font-weight: 600; }
.desk-body { padding: 16px 18px 6px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.desk-title { font-weight: 700; font-size: 16px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.spec-list { display: flex; flex-wrap: wrap; gap: 6px; }
.desk-foot { padding: 12px 18px 18px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.desk-price { display: grid; }
.desk-price small { font-size: 12px; color: var(--muted); font-weight: 500; }
.desk-price strong { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
/* 카드 머리: 그래픽카드 이름 대신 등급·용도(무엇을 하기에 충분한지) — 등급 색이 은은하게 비친다 */
.dc-band { --gb1: var(--g1, #6E7BFF); --gb2: var(--g2, #3D4BD8);
  aspect-ratio: auto; min-height: 132px; display: block; padding: 50px 16px 16px; isolation: isolate;
  /* 짙은 잉크 바탕 + 등급 색이 왼쪽 위에서 은은하게 번지고, 오른쪽 아래에 깊은 반사광 */
  background:
    radial-gradient(130% 110% at 0% 0%, color-mix(in srgb, var(--gb1) 42%, transparent) 0%, transparent 58%),
    radial-gradient(80% 90% at 100% 110%, color-mix(in srgb, var(--gb2) 34%, transparent) 0%, transparent 62%),
    linear-gradient(165deg, #161C36 0%, #0B1022 100%);
  border-bottom: 1px solid color-mix(in srgb, var(--gb1) 55%, transparent); }
/* 결(점 무늬) — 오른쪽으로 갈수록 드러난다 */
.dc-band::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .10) 1px, transparent 1.4px); background-size: 14px 14px;
  -webkit-mask-image: linear-gradient(115deg, transparent 25%, #000 80%); mask-image: linear-gradient(115deg, transparent 25%, #000 80%);
  transition: opacity .3s; opacity: .8; }
/* 위쪽 얇은 광택선 */
.dc-band::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .28), transparent); }
.desk-card:hover .dc-band::before { opacity: 1; }
.dc-band .dc-grade { z-index: 1; }
.dc-band img { position: absolute; inset: 0; opacity: .28; }
.dc-band .status { z-index: 1; }
.dc-band .status.s-off { background: rgba(60, 40, 0, .55); }
.dc-grade { position: relative; width: 100%; margin: 0; justify-content: start; text-align: left; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 2px; align-items: center; }
.dc-grade .gbadge { grid-row: span 2; }
.dc-grade b { font-size: 16.5px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.3; text-shadow: 0 1px 8px rgba(0,0,0,.3); }
.dc-grade small { font-size: 12px; opacity: .8; font-weight: 600; }
.dc-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; }
.dc-head .desk-title { -webkit-line-clamp: 1; }
.dc-flag { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: var(--ink-2); flex: none; }
.dc-flag img { border-radius: 2px; box-shadow: 0 0 0 1px var(--line); }
.dc-specs { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 12px; margin: 0; align-items: baseline; font-size: 13.5px; }
.dc-specs div { display: contents; }
.dc-specs dt { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.dc-specs dd { margin: 0; font-weight: 700; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dc-specs dd em { font-style: normal; font-weight: 600; color: var(--ink-2); }
.dc-specs dd.dc-cpu { white-space: normal; }
.dc-specs dd.dc-cpu em { display: block; font-size: 12.5px; margin-top: 1px; }
.dc-trust { display: flex; flex-wrap: wrap; gap: 6px; }
/* ---------- 매너온도 ---------- */
.manner { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space: nowrap; vertical-align: middle; }
.manner em { font-style: normal; font-weight: 600; opacity: .85; }
.manner b { font-weight: 800; letter-spacing: -0.01em; }
.manner.m-cold { background: color-mix(in srgb, #2F6BFF 14%, transparent); color: #2F6BFF; }
.manner.m-cool { background: color-mix(in srgb, #1C9BD8 14%, transparent); color: #1C8CC4; }
.manner.m-warm { background: color-mix(in srgb, #22A06B 14%, transparent); color: #18865A; }
.manner.m-hot  { background: color-mix(in srgb, #F08C1A 16%, transparent); color: #D9730D; }
.manner.m-fire { background: color-mix(in srgb, #E5484D 15%, transparent); color: #D2373D; }
.manner-gauge { display: inline-block; width: 46px; height: 5px; border-radius: 99px; background: color-mix(in srgb, currentColor 18%, transparent); overflow: hidden; }
.manner-gauge i { display: block; height: 100%; border-radius: 99px; background: currentColor; }
.my-manner { margin: 6px 0 0; }
.desk-host { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.dc-trust { align-items: center; }
.dc-host { font-size: 12.5px; color: var(--muted); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60%; }
.dc-rv { font-size: 12px; color: var(--muted); }
.rv-btn { margin-top: 4px; justify-self: start; }
/* 매너 평가 화면 */
.rv { max-width: 760px; }
.rv-who { padding: 18px 20px; display: grid; gap: 8px; margin-bottom: 28px; }
.rv-who-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rv-who-row strong { font-size: 18px; }
.rv-rate { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.rv-face { position: relative; }
.rv-face input { position: absolute; opacity: 0; inset: 0; }
.rv-face span { display: grid; justify-items: center; gap: 6px; padding: 16px 8px; border: 1.5px solid var(--line-strong); border-radius: 14px; cursor: pointer; transition: border-color .15s, background .15s; }
.rv-face i { font-style: normal; font-size: 30px; line-height: 1; }
.rv-face b { font-size: 14.5px; }
.rv-face input:checked + span { border-color: var(--brand); background: var(--brand-soft); }
.rv-face.r1 input:checked + span { border-color: var(--danger); background: color-mix(in srgb, var(--danger) 10%, transparent); }
.rv-face input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent); }
.rv-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.rv-tag { position: relative; }
.rv-tag input { position: absolute; opacity: 0; inset: 0; }
.rv-tag span { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border: 1.5px solid var(--line-strong); border-radius: 999px; cursor: pointer; font-weight: 600; font-size: 14px; }
.rv-tag input:checked + span { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.rv-tag.bad input:checked + span { border-color: var(--danger); color: var(--danger); background: color-mix(in srgb, var(--danger) 10%, transparent); }
.rv [hidden] { display: none !important; }
.rv-done { padding: 18px 20px; display: grid; gap: 8px; }

/* ---------- 데스크 목록 보기 방식 ---------- */
/* ---------- '구매 즉시 바로 접속' 배지(데스크 찾기 제목 옆) ---------- */
.page-title-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.page-title-row .page-title { margin-bottom: 0; }
.instant-badge { position: relative; display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px 0 12px; border-radius: 999px;
  color: #fff; font-size: 13.5px; font-weight: 800; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden;
  background: linear-gradient(120deg, #2447D6 0%, #3E7BFF 45%, #16C2B0 100%);
  box-shadow: 0 6px 18px color-mix(in srgb, #2F6BFF 35%, transparent), inset 0 1px 0 rgba(255, 255, 255, .25); }
.instant-badge svg { width: 15px; height: 15px; fill: #FFE27A; stroke: #FFE27A; }
.instant-badge::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent); animation: instant-shine 3.6s ease-in-out infinite; }
.instant-dot { width: 8px; height: 8px; border-radius: 50%; background: #5CF2A0; box-shadow: 0 0 0 0 rgba(92, 242, 160, .7); animation: instant-pulse 1.8s infinite; flex: none; }
@keyframes instant-shine { 0%, 55% { left: -60%; } 100% { left: 130%; } }
@keyframes instant-pulse { 0% { box-shadow: 0 0 0 0 rgba(92, 242, 160, .65); } 70% { box-shadow: 0 0 0 8px rgba(92, 242, 160, 0); } 100% { box-shadow: 0 0 0 0 rgba(92, 242, 160, 0); } }
@media (prefers-reduced-motion: reduce) { .instant-badge::after, .instant-dot { animation: none; } }
.price-month { display: block; font-size: 12px; color: var(--muted); font-weight: 600; margin-top: 2px; }
.fchk span svg { width: 15px; height: 15px; }
/* 가격: 이용권 단위 + 가격대 버튼 + 직접 입력 */
.fprice { grid-column: 1 / -1; display: grid; gap: 10px; padding: 12px 14px; border: 1.5px dashed var(--line-strong); border-radius: 12px; }
.fprice.on { border-style: solid; border-color: var(--brand); }
.fprice-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.fprice-title { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.fprice-units { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 3px; border-radius: 10px; background: var(--bg-sunk); }
.fprice-units label { position: relative; }
.fprice-units input { position: absolute; opacity: 0; inset: 0; }
.fprice-units span { display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 12px; border-radius: 8px; font-size: 13.5px; font-weight: 700; color: var(--ink-2); cursor: pointer; }
.fprice-units small { font-size: 11.5px; font-weight: 600; opacity: .7; }
.fprice-units input:checked + span { background: var(--brand); color: var(--brand-ink); }
.fprice-units input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--brand) 45%, transparent); }
.fprice-tiers { display: flex; flex-wrap: wrap; gap: 6px; }
.ftier { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border: 1.5px solid var(--line-strong); border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.ftier:hover { border-color: var(--brand); color: var(--brand); }
.ftier.on { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.frange-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.frange-row input { width: 140px; height: 38px; padding: 0 12px; border: 1.5px solid var(--line-strong); border-radius: 10px; background: var(--bg-elev); color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; text-align: right; }
.frange-row input:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 45%, transparent); outline-offset: 1px; }
.fprice.on .frange-row input:not(:placeholder-shown) { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.frange-row i, .frange-row em { font-style: normal; color: var(--muted); font-weight: 700; }
@media (max-width: 560px) { .frange-row input { width: calc(50% - 30px); } }
/* 저장장치 속도 표시 */
.disk-tier { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 6px; font-size: 11px; font-weight: 800; letter-spacing: .02em; vertical-align: 1px; }
.disk-tier.t-gen4 { background: color-mix(in srgb, #8A5CE0 16%, transparent); color: #7A4FD6; }
.disk-tier.t-nvme { background: color-mix(in srgb, #2F86FF 16%, transparent); color: #1F6FE0; }
.disk-tier.t-sata { background: color-mix(in srgb, #22A06B 16%, transparent); color: #18865A; }
.disk-tier.t-hdd { background: var(--bg-sunk); color: var(--muted); }

/* ---------- 연결 방식 배지(다이렉트 · NAT 뒤 P2P · NAT 뒤 중계) ---------- */
.p2p-badge { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1; white-space: nowrap; vertical-align: 1px; cursor: help; }
.p2p-badge svg { width: 13px; height: 13px; flex: none; }
.p2p-badge.p-direct { background: var(--ok-soft); color: var(--ok); }
.p2p-badge.p-p2p { background: color-mix(in srgb, var(--signal) 18%, transparent); color: var(--signal-ink); }
.p2p-badge.p-relay, .p2p-badge.p-unknown { background: var(--bg-sunk); color: var(--muted); }
.probe-vpn { margin-bottom: 12px; font-size: 13px; line-height: 1.5; }
.probe-vpn small { color: var(--muted); }
/* ---------- 데스크 조건 검색 ---------- */
.filters { display: grid; gap: 12px; margin-bottom: 22px; }
.filters-box { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-elev); }
.filters-box > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 18px; cursor: pointer; }
.filters-box > summary::-webkit-details-marker { display: none; }
.filters-box > summary span { display: inline-flex; align-items: center; gap: 8px; font-size: 15.5px; }
.filters-box > summary svg { width: 18px; height: 18px; }
.filters-box > summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); margin-left: auto; }
.filters-box[open] > summary::after { transform: rotate(-135deg); }
.filters-box[open] > summary { border-bottom: 1px solid var(--line); }
.filters-n { font-style: normal; display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--brand); color: var(--brand-ink); font-size: 12px; font-weight: 800; }
.filter-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px 14px; padding: 16px 18px 6px; }
.fsel { display: grid; gap: 5px; min-width: 0; }
.fsel span { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.fsel select, .fsort select { appearance: none; -webkit-appearance: none; width: 100%; height: 40px; padding: 0 32px 0 12px; border: 1.5px solid var(--line-strong); border-radius: 10px; background: var(--bg-elev) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 16px; color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; text-overflow: ellipsis; }
.fsel select.on { border-color: var(--brand); background-color: var(--brand-soft); color: var(--brand); }
.fsel select:focus-visible, .fsort select:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 45%, transparent); outline-offset: 1px; }
.fchk { display: flex; align-items: flex-end; }
.fchk input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fchk span { display: inline-flex; align-items: center; gap: 8px; width: 100%; height: 40px; padding: 0 12px; border: 1.5px solid var(--line-strong); border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer; }
.fchk input:checked + span { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.fchk input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--brand) 45%, transparent); }
.filter-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 6px 18px 14px; }
.filter-foot:empty { display: none; }
.filters-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.fchips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.fcount { font-weight: 800; margin-right: 6px; }
.fchip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px 0 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 13px; font-weight: 700; }
.fchip b { font-size: 15px; line-height: 1; opacity: .75; }
.fchip:hover b { opacity: 1; }
.fsort select { width: auto; min-width: 150px; }
.view-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: -6px 0 14px; }
.list-tabs { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.list-tabs a { font-size: 16px; font-weight: 700; color: var(--muted); padding: 6px 0; border-bottom: 2px solid transparent; }
.list-tabs a:hover { color: var(--ink); }
.list-tabs a.on { color: var(--brand); border-bottom-color: var(--brand); }
.list-tabs small { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 2px; border-radius: 999px; background: var(--bg-sunk); color: var(--ink-2); font-size: 11.5px; font-weight: 700; }
.list-tabs a.on small { background: var(--brand-soft); color: var(--brand); }
/* 카드 + ♡ 즐겨찾기 */
.desk-item { position: relative; display: grid; min-width: 0; }
.desk-item > .desk-card { height: 100%; }
.fav-btn { position: absolute; top: 10px; right: 10px; z-index: 2; width: 34px; height: 34px; border-radius: 999px; border: 0; background: rgba(10, 14, 28, .45); backdrop-filter: blur(6px); color: #fff; display: grid; place-items: center; cursor: pointer; transition: transform .15s, color .15s; }
.fav-btn:hover { transform: scale(1.08); }
.fav-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.fav-btn.on { color: #FF4D6D; }
.fav-btn.on svg { fill: currentColor; }
.fav-btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent); }
.fav-btn.lg { position: static; width: 42px; height: 42px; background: var(--bg-sunk); color: var(--muted); flex: none; }
.fav-btn.lg.on { color: #FF4D6D; }
/* ⚡ 구매 전 연결 속도 측정 */
.probe-btn { position: absolute; top: 10px; right: 52px; z-index: 2; height: 34px; padding: 0 11px 0 9px; border-radius: 999px; border: 0;
  background: rgba(10, 14, 28, .45); backdrop-filter: blur(6px); color: #fff; display: inline-flex; align-items: center; gap: 5px; cursor: pointer;
  font-size: 12.5px; font-weight: 700; transition: transform .15s, background .15s; }
.probe-btn:hover { transform: scale(1.05); background: rgba(36, 71, 214, .75); }
.probe-btn svg { width: 15px; height: 15px; fill: #FFE27A; stroke: #FFE27A; }
.v-compact .probe-btn span, .v-list .probe-btn span { display: none; }
.v-compact .probe-btn, .v-list .probe-btn { padding: 0; width: 34px; justify-content: center; }
.v-list .probe-btn { right: auto; left: 146px; }
@media (max-width: 760px) { .v-list .probe-btn { left: auto; right: 52px; } }
.probe-wide svg { width: 16px; height: 16px; }
.probe-modal { position: fixed; inset: 0; z-index: 100; background: rgba(5, 8, 20, .55); display: grid; place-items: center; padding: 16px; }
.probe-modal[hidden] { display: none; }
.probe-card { width: min(440px, 100%); background: var(--bg-elev); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-2); padding: 22px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; max-height: calc(100vh - 32px); overflow-y: auto; }
.probe-card h3 { font-size: 18px; margin: 0 0 4px; }
.probe-wait { display: flex; align-items: center; gap: 10px; color: var(--ink-2); font-weight: 600; margin: 8px 0; }
.probe-row { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 12px; row-gap: 2px; font-size: 14px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.probe-row span { color: var(--muted); font-weight: 600; }
.probe-row b { display: inline-flex; align-items: center; gap: 8px; justify-self: end; text-align: right; }
.probe-row small { grid-column: 1 / -1; font-size: 12px; color: var(--muted); }
/* 5단계 배지: 아주 좋음 · 좋음 · 보통 · 부족 · 나쁨 (종합 판정 색과 같은 계열) */
.probe-lv { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 999px; font-size: 11.5px; font-weight: 800; font-style: normal; white-space: nowrap; }
.probe-lv.l1 { background: color-mix(in srgb, #22A06B 18%, transparent); color: #127A50; }
.probe-lv.l2 { background: color-mix(in srgb, #2F86FF 16%, transparent); color: #1F63C9; }
.probe-lv.l3 { background: color-mix(in srgb, #E8B21A 22%, transparent); color: #8F6A00; }
.probe-lv.l4 { background: color-mix(in srgb, #F08C1A 18%, transparent); color: #B8620B; }
.probe-lv.l5 { background: color-mix(in srgb, #E5484D 16%, transparent); color: #C42B3B; }
/* 어두운 화면: 글자색을 밝게(배경 위 대비) */
:root[data-theme="dark"] .probe-lv.l1, :root[data-theme="dark"] .probe-verdict.v-excellent { color: #4FD69B; }
:root[data-theme="dark"] .probe-lv.l2, :root[data-theme="dark"] .probe-verdict.v-good { color: #7DB4FF; }
:root[data-theme="dark"] .probe-lv.l3, :root[data-theme="dark"] .probe-verdict.v-fair { color: #F3CB52; }
:root[data-theme="dark"] .probe-lv.l4, :root[data-theme="dark"] .probe-verdict.v-weak { color: #FFAA55; }
:root[data-theme="dark"] .probe-lv.l5, :root[data-theme="dark"] .probe-verdict.v-poor, :root[data-theme="dark"] .probe-verdict.v-slow { color: #FF7B80; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .probe-lv.l1, :root:not([data-theme="light"]) .probe-verdict.v-excellent { color: #4FD69B; }
  :root:not([data-theme="light"]) .probe-lv.l2, :root:not([data-theme="light"]) .probe-verdict.v-good { color: #7DB4FF; }
  :root:not([data-theme="light"]) .probe-lv.l3, :root:not([data-theme="light"]) .probe-verdict.v-fair { color: #F3CB52; }
  :root:not([data-theme="light"]) .probe-lv.l4, :root:not([data-theme="light"]) .probe-verdict.v-weak { color: #FFAA55; }
  :root:not([data-theme="light"]) .probe-lv.l5, :root:not([data-theme="light"]) .probe-verdict.v-poor, :root:not([data-theme="light"]) .probe-verdict.v-slow { color: #FF7B80; }
}
/* (?) 용어 설명 버튼과 펼쳐지는 설명 */
.help-q { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-left: 5px; padding: 0; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--brand) 45%, transparent); background: var(--brand-soft); color: var(--brand);
  font-family: inherit; font-size: 11.5px; font-weight: 800; line-height: 1; vertical-align: 1px; cursor: pointer; flex: none; }
.help-q:hover, .help-q[aria-expanded="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.help-q:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.help-tip { display: block; grid-column: 1 / -1; margin-top: 4px; padding: 9px 11px; border-radius: 10px; background: var(--brand-soft); color: var(--ink-2);
  font-size: 12.5px; font-weight: 500; line-height: 1.55; white-space: normal; text-align: left; }
.help-tip[hidden] { display: none; }
.spec-table .help-tip { font-size: 12.5px; color: var(--ink-2); font-weight: 500; }   /* .spec-table span 보다 우선 */
.probe-row span.help-tip { color: var(--ink-2); font-weight: 500; }
.probe-legend { font-size: 12.5px; }
.probe-legend summary { cursor: pointer; color: var(--brand); font-weight: 700; padding: 4px 0; }
.probe-card [data-probe-body], .probe-legend { min-width: 0; }   /* 넓은 기준표가 창을 밀어내지 않고 안에서만 가로로 넘기게 */
.probe-legend-wrap { overflow-x: auto; max-width: 100%; }
.probe-legend table { width: 100%; border-collapse: collapse; margin-top: 6px; }
.probe-legend th, .probe-legend td { padding: 5px 2px; text-align: center; border-bottom: 1px solid var(--line); white-space: nowrap; }
.probe-legend tbody th { text-align: left; font-weight: 700; color: var(--ink-2); white-space: normal; min-width: 76px; }
.probe-legend tbody th small { display: block; font-weight: 500; color: var(--muted); }
.probe-legend .probe-lv { height: 18px; padding: 0 5px; font-size: 10.5px; }
.probe-verdict { display: grid; gap: 4px; padding: 14px 16px; border-radius: 14px; margin-bottom: 6px; }
.probe-verdict b { font-size: 18px; }
.probe-verdict span { font-size: 13px; opacity: .9; }
.probe-verdict.v-excellent { background: color-mix(in srgb, #22A06B 16%, transparent); color: #127A50; }
.probe-verdict.v-good { background: color-mix(in srgb, #2F86FF 15%, transparent); color: #1F63C9; }
.probe-verdict.v-fair { background: color-mix(in srgb, #F08C1A 16%, transparent); color: #B8620B; }
.probe-verdict.v-slow { background: color-mix(in srgb, #E5484D 15%, transparent); color: #C42B3B; }
.probe-verdict.v-weak { background: color-mix(in srgb, #F08C1A 16%, transparent); color: #B8620B; }
.probe-verdict.v-poor { background: color-mix(in srgb, #E5484D 15%, transparent); color: #C42B3B; }
.probe-verdict.v-fair { background: color-mix(in srgb, #E8B21A 18%, transparent); color: #8F6A00; }
.probe-actions { display: flex; gap: 8px; justify-content: flex-end; }
.desk-title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.v-list .fav-btn { right: auto; left: 186px; }
@media (max-width: 760px) { .v-list .fav-btn { left: auto; right: 10px; } }
.view-toggle { display: inline-flex; gap: 2px; padding: 3px; border-radius: 12px; background: var(--bg-sunk); }
.view-toggle button { width: 38px; height: 34px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.view-toggle button svg { width: 19px; height: 19px; }
.view-toggle button:hover { color: var(--ink); }
.view-toggle button.on { background: var(--brand); color: var(--brand-ink); }
/* 촘촘하게: 작은 카드 여러 개 */
.desk-grid.v-compact { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.v-compact .dc-band { min-height: 0; padding: 40px 12px 12px; }
.v-compact .dc-band .status { left: 10px; top: 10px; font-size: 11px; padding: 4px 8px; }
.v-compact .dc-grade { column-gap: 8px; }
.v-compact .dc-grade .gbadge { height: 24px; min-width: 50px; font-size: 11px; }
.v-compact .dc-grade b { font-size: 13.5px; }
.v-compact .dc-grade small { display: none; }
.v-compact .desk-body { padding: 12px 12px 4px; gap: 8px; }
.v-compact .desk-title { font-size: 14.5px; }
.v-compact .dc-specs { font-size: 12.5px; gap: 4px 8px; }
.v-compact .dc-specs dt { font-size: 11.5px; }
.v-compact .dc-specs div:nth-child(n+4) { display: none; }
.v-compact .dc-nick, .v-compact .dc-rv { display: none; }
.v-compact .desk-foot { padding: 8px 12px 12px; }
.v-compact .desk-price strong { font-size: 17px; }
.v-compact .desk-foot .btn { height: 32px; padding: 0 12px; font-size: 13px; }
/* 목록: 한 줄에 한 데스크(왼쪽 등급 · 가운데 사양 · 오른쪽 가격) */
.desk-grid.v-list { grid-template-columns: 1fr; gap: 10px; }
.v-list .desk-card { grid-template-columns: 230px minmax(0, 1fr) auto; grid-template-rows: auto; align-items: stretch; }
.v-list .desk-card:hover { transform: none; }
.v-list .dc-band { min-height: 0; padding: 42px 14px 14px; display: grid; align-content: end; }
.v-list .dc-grade small { display: none; }
.v-list .dc-grade b { font-size: 14.5px; }
.v-list .desk-body { padding: 14px 18px; align-content: center; }
.v-list .dc-specs { grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr); gap: 4px 12px; font-size: 13px; }
.v-list .desk-foot { padding: 14px 18px; flex-direction: column; align-items: flex-end; justify-content: center; border-left: 1px solid var(--line); min-width: 150px; }
@media (max-width: 760px) {
  .v-list .desk-card { grid-template-columns: 1fr; }
  .v-list .desk-foot { flex-direction: row; align-items: flex-end; justify-content: space-between; border-left: 0; }
  .v-list .dc-specs { grid-template-columns: auto minmax(0, 1fr); }
  .desk-grid.v-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.desk-price strong small { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0; }

/* ---------- Landing ---------- */
.hero { position: relative; overflow: hidden; color: var(--hero-ink); background: radial-gradient(1200px 600px at 85% -10%, color-mix(in srgb, var(--herobg-b) 80%, var(--hero-glow)) 0%, transparent 60%), linear-gradient(160deg, var(--herobg-a) 0%, color-mix(in srgb, var(--herobg-a) 55%, var(--herobg-b)) 55%, var(--herobg-b) 130%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; padding-block: 88px 96px; }
.hero h1 { font-size: clamp(38px, 5.6vw, 68px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.12; }
.hero h1 em { font-style: normal; color: var(--hero-accent); }
.hero .lead { margin-top: 20px; font-size: clamp(16px, 1.6vw, 19px); color: var(--hero-ink-soft); max-width: 34em; }
.hero-cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-cta .btn-ghost { border-color: var(--hero-line); color: var(--hero-ink); }
.hero-cta .btn-ghost:hover { background: color-mix(in srgb, var(--hero-ink) 8%, transparent); }
.hero-trust { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 22px; color: var(--hero-ink-soft); font-size: 14px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 18px; height: 18px; color: var(--hero-accent); }
.hero-search { margin-top: 34px; display: flex; gap: 8px; padding: 8px; background: var(--hero-field-bg); border: 1px solid var(--hero-field-line); border-radius: 999px; max-width: 560px; backdrop-filter: blur(10px); }
.hero-search input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--hero-ink); padding: 0 16px; height: 48px; font-size: 16px; }
.hero-search input::placeholder { color: var(--hero-ink-soft); }
.hero-search input:focus { outline: 0; }

.pass-card { background: rgba(255,255,255,.96); color: #0F1428; border-radius: 22px; box-shadow: var(--shadow-3); overflow: hidden; transform: rotate(-2deg); max-width: 420px; justify-self: end; width: 100%; }
.pass-card .pc-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; background: #2447D6; color: #FFFFFF; font-weight: 700; letter-spacing: .06em; font-size: 13px; }
.pass-card dl { margin: 0; padding: 20px 22px 8px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 18px; font-size: 14px; }
.pass-card dt { color: #6A7290; }
.pass-card dd { margin: 0; font-weight: 600; font-family: var(--f-mono); font-size: 13.5px; overflow-wrap: anywhere; }
.pass-card .pc-foot { margin-top: 12px; border-top: 2px dashed #DFE4EE; padding: 14px 22px 18px; display: flex; justify-content: space-between; font-size: 12.5px; color: #6A7290; }
.pass-card .pc-foot b { color: #138A5A; }
.pc-led { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: 0; }
.pc-led i { width: 9px; height: 9px; border-radius: 50%; background: #FFB547; animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,181,71,.6); } 70% { box-shadow: 0 0 0 9px rgba(255,181,71,0); } 100% { box-shadow: 0 0 0 0 rgba(255,181,71,0); } }

.section { padding-block: 96px; }
.section.tight { padding-block: 64px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; margin-top: 10px; }
.section-head p { color: var(--muted); margin-top: 10px; max-width: 40em; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-block: 1px solid var(--line); }
.stats > div { padding: 28px 24px; border-left: 1px solid var(--line); }
.stats > div:first-child { border-left: 0; }
.stats strong { display: block; font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -0.03em; }
.stats span { color: var(--muted); font-size: 14px; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.step { padding: 28px; border-radius: var(--radius-l); background: var(--bg-elev); border: 1px solid var(--line); display: grid; gap: 12px; align-content: start; }
.step .n { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-weight: 800; }
.step h3 { font-size: 20px; font-weight: 700; }
.step p { color: var(--muted); }

.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.feature.wide { grid-column: 1 / -1; }
.feature.accent { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand) inset; }
.feature { padding: 32px; border-radius: var(--radius-l); background: var(--bg-elev); border: 1px solid var(--line); display: grid; gap: 14px; align-content: start; }
.feature .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--brand); color: var(--brand-ink); }
.feature .ico svg { width: 24px; height: 24px; }
.feature h3 { font-size: 21px; font-weight: 700; }
.feature p { color: var(--muted); }
.feature.dark { background: linear-gradient(150deg, #0F1428, #1A2766); color: #ECEFF8; border-color: transparent; }
.feature.dark p { color: rgba(236,239,248,.72); }
.feature.dark .ico { background: #FFB547; color: #0F1428; }

.audience { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.aud { border-radius: var(--radius-l); padding: 40px; display: grid; gap: 16px; align-content: start; min-height: 300px; }
.aud.guest { background: linear-gradient(150deg, #2447D6, #1A2C8A); color: #FFFFFF; }
.aud.host { background: var(--bg-elev); border: 1px solid var(--line); }
.aud h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; }
.aud ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.aud li { display: flex; gap: 10px; align-items: flex-start; }
.aud li svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.aud.guest li svg { color: #FFC15A; }
.aud.host li svg { color: var(--brand); }
.aud .btn { justify-self: start; margin-top: 8px; }

.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--bg-elev); border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--muted); }

.cta-band { border-radius: 28px; padding: clamp(36px, 6vw, 72px); background: linear-gradient(135deg, #0F1428, #2447D6); color: #FFFFFF; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; }
.cta-band p { color: rgba(255,255,255,.75); margin-top: 10px; }

/* ---------- Page scaffolding ---------- */
.page { padding-block: 40px 96px; min-height: calc(100vh - var(--header-h) - 200px); }
.page-title { font-size: clamp(26px, 3vw, 34px); font-weight: 800; }
.page-sub { color: var(--muted); margin-top: 6px; }
.crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 14px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); }

.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 24px 0; }
.seg { display: inline-flex; background: var(--bg-sunk); padding: 4px; border-radius: 999px; gap: 2px; flex-wrap: wrap; }
.seg a, .seg button { border: 0; background: transparent; padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
/* 고른 쪽이 라이트·다크 모두에서 분명하게: 브랜드색으로 채우고 ✓ */
.seg .on { background: var(--brand); color: var(--brand-ink); box-shadow: 0 2px 8px color-mix(in srgb, var(--brand) 35%, transparent); }
.seg .on::before { content: "✓"; margin-right: 6px; font-weight: 800; }
.seg a:not(.on):hover, .seg button:not(.on):hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.toolbar .search { flex: 1; min-width: 220px; position: relative; }
.toolbar .search .input { height: 44px; padding-left: 42px; border-radius: 999px; }
.toolbar .search svg { position: absolute; left: 15px; top: 12px; width: 20px; height: 20px; color: var(--muted); }

.layout-2 { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.sticky-col { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }
@media (max-width: 960px) { .layout-2 { grid-template-columns: 1fr; } .sticky-col { position: static; } }

.panel { background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 24px; }
.panel h2, .panel h3 { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.kv { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 18px; font-size: 15px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; text-align: right; font-weight: 600; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; font-size: 15px; }
.sum-row.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 16px; font-size: 18px; font-weight: 800; }
.sum-row.total .price { color: var(--brand); font-size: 24px; }

/* Desk detail */
.gallery { border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--hero-a), var(--hero-b)); display: grid; place-items: center; color: #FFFFFF; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.spec-table { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-elev); }
.spec-table > div { padding: 16px 18px; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.spec-table > div:nth-child(odd) { border-right: 1px solid var(--line); }
.spec-table span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.spec-table b { font-weight: 700; overflow-wrap: anywhere; }
.spec-table .spec-sub { font-size: 13px; color: var(--ink-2); font-weight: 600; }
.spec-table .spec-sub b { font-weight: 700; color: var(--ink); }
.spec-table .spec-sub i { font-style: normal; color: var(--muted); }
.spec-table > .spec-wide { grid-column: 1 / -1; border-right: 0; }
.spec-table .spec-hint { font-size: 12px; color: var(--muted); font-weight: 500; line-height: 1.45; }
.spec-country { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.spec-country img { border-radius: 2px; box-shadow: 0 0 0 1px var(--line); flex: none; }
.spec-table .spec-country-name { font-size: inherit; color: var(--ink); font-weight: 700; }
.spec-country-name i { font-style: normal; }
.spec-country-name small { color: var(--muted); font-weight: 600; font-size: 12.5px; }
.spec-inputs { display: flex; flex-wrap: wrap; gap: 8px; }
.spec-table .spec-input { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px 0 10px; border-radius: 999px; background: var(--bg-sunk); color: var(--ink); font-size: 13.5px; font-weight: 700; }
.spec-input svg { width: 18px; height: 18px; flex: none; }
.spec-input em { font-style: normal; font-weight: 600; font-size: 12.5px; }
.spec-input.on { background: var(--ok-soft); }
.spec-input.on em { color: var(--ok); }
.spec-input.off em { color: var(--muted); }
.plan-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.plan-opt { position: relative; }
.plan-opt input { position: absolute; opacity: 0; inset: 0; }
.plan-opt label { display: grid; gap: 2px; padding: 12px 14px; border: 1.5px solid var(--line-strong); border-radius: 12px; cursor: pointer; transition: border-color .15s, background .15s; }
.plan-opt label small { color: var(--muted); font-size: 12.5px; }
.plan-opt label b { font-size: 15px; }
.plan-opt input:checked + label { border-color: var(--brand); background: var(--brand-soft); }
.plan-opt input:focus-visible + label { outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent); }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; height: 44px; }
.stepper button { width: 44px; height: 44px; border: 0; background: transparent; font-size: 20px; cursor: pointer; color: var(--ink-2); }
.stepper input { width: 52px; text-align: center; border: 0; background: transparent; font-weight: 700; font-variant-numeric: tabular-nums; }
.stepper input:focus { outline: 0; }

/* Cart / checkout */
.progress { display: flex; gap: 8px; align-items: center; margin: 18px 0 28px; flex-wrap: wrap; }
.progress span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.progress span i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 13px; background: var(--bg-sunk); }
.progress span.on { color: var(--ink); }
.progress span.on i { background: var(--brand); color: var(--brand-ink); }
.progress span.done i { background: var(--ok); color: #FFFFFF; }
.progress .bar { width: 28px; height: 1px; background: var(--line-strong); }
.line-items { display: grid; gap: 12px; }
.line-item { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 18px; background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius); }
.line-item .thumb { width: 96px; aspect-ratio: 1; border-radius: 12px; background: linear-gradient(135deg, var(--hero-a), var(--hero-b)); overflow: hidden; display: grid; place-items: center; color: #FFFFFF; font-weight: 800; font-size: 13px; }
.line-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.line-item .info { display: grid; gap: 6px; min-width: 0; }
.line-item .info b { font-size: 16px; }
.line-item .right { display: grid; gap: 8px; justify-items: end; }
.link-btn { border: 0; background: transparent; color: var(--muted); font-size: 13px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 4px; }
.link-btn:hover { color: var(--danger); }
@media (max-width: 640px) {
  .line-item { grid-template-columns: 64px minmax(0, 1fr); }
  .line-item .thumb { width: 64px; }
  .line-item .right { grid-column: 1 / -1; grid-template-columns: 1fr auto; justify-items: stretch; align-items: center; }
}
.pay-methods { display: grid; gap: 10px; }
.pay-opt { position: relative; }
.pay-opt input { position: absolute; opacity: 0; }
.pay-opt label { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1.5px solid var(--line-strong); border-radius: 14px; cursor: pointer; }
.pay-opt label .grow { flex: 1; display: grid; }
.pay-opt label small { color: var(--muted); }
.pay-opt input:checked + label { border-color: var(--brand); background: var(--brand-soft); }
.pay-opt input:disabled + label { opacity: .5; cursor: not-allowed; }

.empty { text-align: center; padding: 72px 20px; display: grid; justify-items: center; gap: 14px; }
.empty .ico { width: 72px; height: 72px; border-radius: 22px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.empty .ico svg { width: 34px; height: 34px; }
.empty h2 { font-size: 22px; font-weight: 800; }
.empty p { color: var(--muted); max-width: 30em; }

.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: var(--brand-soft); color: var(--ink-2); font-size: 14px; }
.notice svg { width: 20px; height: 20px; color: var(--brand); flex: none; margin-top: 1px; }
.notice.warn { background: color-mix(in srgb, var(--signal) 16%, var(--bg-elev)); }
.notice.warn svg { color: var(--signal-ink); }
.notice.err { background: var(--danger-soft); }
.notice.err svg { color: var(--danger); }

/* Done page */
.done-hero { text-align: center; display: grid; justify-items: center; gap: 14px; padding: 32px 0 36px; }
.done-hero .check-ico { width: 84px; height: 84px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; }
.done-hero .check-ico svg { width: 42px; height: 42px; }
.done-hero h1 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; }

/* Auth */
.auth-wrap { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; padding: 40px 16px 80px; }
.auth-card { width: 100%; max-width: 440px; background: var(--bg-elev); border: 1px solid var(--line); border-radius: 28px; padding: 40px 32px; box-shadow: var(--shadow-2); display: grid; gap: 20px; }
@media (max-width: 480px) { .auth-card { padding: 32px 20px; border-radius: 22px; } }
.auth-card h1 { font-size: 26px; font-weight: 800; }
.auth-card .sub { color: var(--muted); margin-top: 6px; }

/* 로그인: 가로 공간을 쓰는 2단(왼쪽 QR · 오른쪽 비밀번호). 좁은 화면에선 세로로 쌓인다. */
.auth-card.auth-login { max-width: 880px; }
.auth-split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.auth-col { display: grid; gap: 16px; align-content: start; }
.auth-col-qr { padding-right: 40px; border-right: 1px solid var(--line); justify-items: center; text-align: center; }
.auth-col-form { padding-left: 40px; }
.auth-col-title { font-size: 19px; font-weight: 800; }
.qr-box { background: #fff; border-radius: 16px; padding: 12px; width: 200px; height: 200px; display: grid; place-items: center; }
.qr-box svg { width: 176px; height: 176px; display: block; }
@media (max-width: 760px) {
  .auth-card.auth-login { max-width: 440px; }
  .auth-split { grid-template-columns: 1fr; }
  .auth-col-qr { order: 2; padding-right: 0; border-right: 0; border-top: 1px solid var(--line); padding-top: 26px; margin-top: 4px; }
  .auth-col-form { order: 1; padding-left: 0; }
}
.auth-foot { text-align: center; font-size: 14px; color: var(--muted); }
.auth-foot a { color: var(--brand); font-weight: 700; }
.pw-wrap { position: relative; }
.pw-wrap .input { padding-right: 52px; }
.pw-toggle { position: absolute; right: 6px; top: 6px; width: 40px; height: 40px; border: 0; background: transparent; border-radius: 10px; cursor: pointer; color: var(--muted); display: grid; place-items: center; }
.pw-toggle svg { width: 20px; height: 20px; }

/* My page */
.my-head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: space-between; }
.my-id { display: flex; align-items: center; gap: 16px; }
.avatar { width: 60px; height: 60px; border-radius: 20px; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; font-size: 24px; font-weight: 800; flex: none; }
.my-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 28px 0; }
.my-card { padding: 22px; border-radius: var(--radius); background: var(--bg-elev); border: 1px solid var(--line); display: grid; gap: 6px; }
.my-card span { color: var(--muted); font-size: 14px; }
.my-card strong { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.my-card.accent { background: var(--brand); color: var(--brand-ink); border-color: transparent; }
.my-card.accent span { color: color-mix(in srgb, var(--brand-ink) 75%, transparent); }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; }
.tabs a { padding: 12px 16px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a.on { color: var(--ink); border-bottom-color: var(--ink); }
.order-list { display: grid; gap: 12px; }
.order-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 20px; padding: 20px; background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius); align-items: center; }
.order-row .meta { display: flex; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--muted); align-items: center; }
.order-row b { font-size: 16px; }
.access-box { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; padding: 14px; background: var(--bg-sunk); border-radius: 12px; }
.access-box div { display: grid; gap: 2px; min-width: 0; }
.access-box span { font-size: 12px; color: var(--muted); }
.access-box code { font-family: var(--f-mono); font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.copy { border: 0; background: transparent; color: var(--brand); font-size: 12px; font-weight: 700; cursor: pointer; padding: 0; justify-self: start; }
@media (max-width: 760px) { .my-cards { grid-template-columns: 1fr; } }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-elev); }
.table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 14.5px; }
.table th, .table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.table th { color: var(--muted); font-weight: 600; font-size: 13px; background: var(--bg-sunk); }
.table tr:last-child td { border-bottom: 0; }

/* Toast */
.toast-host { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 100; display: grid; gap: 8px; width: min(92vw, 420px); pointer-events: none; }
.toast { pointer-events: auto; background: #0F1428; color: #FFFFFF; padding: 14px 18px; border-radius: 14px; box-shadow: var(--shadow-3); display: flex; align-items: center; gap: 12px; font-size: 14.5px; animation: toast-in .25s ease-out; }
.toast a { margin-left: auto; color: #FFC15A; font-weight: 700; white-space: nowrap; }
.toast.err { background: #9B241A; }
@keyframes toast-in { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }

/* Footer */
.bd-footer { border-top: 1px solid var(--line); background: var(--bg-elev); padding-block: 56px 40px; font-size: 14px; color: var(--muted); }
.bd-footer .cols { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.bd-footer .bd-logo { color: var(--ink); }
.bd-footer h4 { font-size: 14px; color: var(--ink); margin-bottom: 14px; }
.bd-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bd-footer a:hover { color: var(--ink); }
.bd-footer .legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: 13px; }
@media (max-width: 760px) { .bd-footer .cols { grid-template-columns: 1fr 1fr; } .bd-footer .cols > :first-child { grid-column: 1 / -1; } }

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; padding-block: 56px 64px; }
  .pass-card { justify-self: start; transform: none; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats > div:nth-child(3) { border-left: 0; }
  .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps, .features, .audience { grid-template-columns: 1fr; }
  .section { padding-block: 64px; }
}
@media (max-width: 560px) {
  .spec-table { grid-template-columns: 1fr; }
  .spec-table > div:nth-child(odd) { border-right: 0; }
  .hero-search { border-radius: 18px; flex-direction: column; }
  .hero-search .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ── 모바일 보정 ── */
.stats.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.check a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
/* 관리자 '내용관리'에서 넣은 본문의 인라인 색을 사이트 테마에 맞춘다 */
.legal-doc { color: var(--ink-2); overflow-wrap: anywhere; }
.legal-doc * { background-color: transparent !important; color: inherit !important; border-color: var(--line) !important; max-width: 100%; }
.legal-doc h1, .legal-doc h2, .legal-doc h3, .legal-doc h4, .legal-doc strong, .legal-doc b { color: var(--ink) !important; }
.legal-doc a { color: var(--brand) !important; }
.legal-doc table { display: block; overflow-x: auto; }
.legal-doc img { height: auto; }
@media (max-width: 640px) {
  .seg { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
  .seg::-webkit-scrollbar { display: none; }
  .seg a, .seg button { flex: none; }
  .toolbar .seg { width: 100%; }
  .stats.three > div:nth-child(3) { border-left: 1px solid var(--line); }
  .stats.three > div:nth-child(n+3) { border-top: 0; }
  .stats.three > div { padding: 22px 12px; }
  .stats.three strong { font-size: 24px; }
}

/* 접속 정보 / 셀프 취소 */
.access-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.access-grid > div { display: grid; gap: 2px; min-width: 0; }
.access-grid span { font-size: 12px; color: var(--muted); }
.access-grid code { font-family: var(--f-mono); font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.cancel-confirm { display: grid; gap: 10px; padding: 14px; border-radius: 12px; background: var(--danger-soft); }
.cancel-confirm[hidden] { display: none; }
.cancel-confirm p { margin: 0; font-weight: 600; color: var(--ink); }
.outage-box { display: grid; gap: 6px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line, #DFE4EE); background: var(--bg-elev, #fff); font-size: 14px; }
.outage-box.confirmed { border-color: var(--danger, #E5484D); }
.outage-box.restored { border-color: var(--ok, #2FA36B); }
.access-box .outage-box span { font-size: 13px; color: var(--ink); }
.refund-confirm { background: var(--bg-elev, #fff); border: 1px solid var(--line, #e3e7ef); }
.access-box .refund-lines { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; margin: 0; font-size: 14px; }
.refund-lines dt { color: var(--muted); }
.refund-lines dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.refund-lines .total { color: var(--ink); font-weight: 700; padding-top: 6px; border-top: 1px solid var(--line, #e3e7ef); }
.btn.danger { background: var(--danger); color: #FFFFFF; }
.btn.danger:hover { filter: brightness(.95); }
.access-box .btn svg { width: 16px; height: 16px; }
/* 약관·정책 문서 타이포그래피 */
.legal-doc { font-size: 15.5px; line-height: 1.8; }
.legal-doc h2 { font-size: 22px; font-weight: 800; margin: 0 0 14px; letter-spacing: -0.02em; }
.legal-doc h3 { font-size: 18px; font-weight: 800; margin: 34px 0 10px; padding-top: 18px; border-top: 1px solid var(--line) !important; }
.legal-doc h4 { font-size: 16px; font-weight: 700; margin: 22px 0 6px; }
.legal-doc p { margin: 0 0 10px; }
.legal-doc ol, .legal-doc ul { margin: 6px 0 12px; padding-left: 22px; display: grid; gap: 6px; }
.legal-doc ol ol, .legal-doc ol ul, .legal-doc ul ul { margin: 6px 0 0; }
.legal-doc table { border-collapse: collapse; margin: 10px 0 16px; font-size: 14px; border: 1px solid var(--line) !important; border-radius: 10px; }
.legal-doc th, .legal-doc td { padding: 10px 12px; border: 1px solid var(--line) !important; text-align: left; vertical-align: top; }
.legal-doc th { background: var(--bg-sunk) !important; font-weight: 700; color: var(--ink) !important; white-space: nowrap; }
@media (max-width: 640px) { .legal-doc { font-size: 15px; } .legal-doc h2 { font-size: 20px; } }

/* 웹브라우저 바로 접속 */
.connect-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.connect-row .hint { display: inline-flex; align-items: center; gap: 8px; }
.connect-row .help-tip { flex-basis: 100%; }
.connect-row .help-q { margin-left: -4px; }
.connect-confirm { display: grid; gap: 10px; padding: 14px; border-radius: 12px; background: var(--brand-soft); }
.connect-confirm[hidden] { display: none; }
.connect-confirm p { margin: 0; }

/* 호스트 센터 */
.host-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 760px) { .host-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.host-row { color: inherit; text-decoration: none; transition: border-color .15s, background .15s; }
.host-row:hover { border-color: var(--brand); }
.host-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.steps-list { margin: 0; padding-left: 20px; display: grid; gap: 8px; line-height: 1.6; }
.qr-choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.qr-choice { position: relative; display: grid; place-items: center; height: 84px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; font-size: 30px; font-weight: 800; background: var(--bg-elev); }
.qr-choice input { position: absolute; opacity: 0; pointer-events: none; }
.qr-choice:has(input:checked) { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, transparent); color: var(--brand); }
.qr-choice:focus-within { outline: 2px solid var(--brand); outline-offset: 2px; }
[data-schedule-field][hidden] { display: none; }

/* ── 사양 등급 (BASIC < PLUS < PRO < ULTRA < MAX) — 앱 GradeBrushConverter 와 같은 색 ── */
.gbadge { display: inline-flex; align-items: center; justify-content: center; height: 24px; min-width: 52px; padding: 0 10px; border-radius: 7px; color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; background: linear-gradient(135deg, var(--g1), var(--g2)); box-shadow: 0 1px 2px rgba(0,0,0,.18); }
.gbadge.lg { height: 30px; min-width: 64px; font-size: 13px; border-radius: 8px; }
.g-basic { --g1: #7C858F; --g2: #5A6169; }
.g-plus  { --g1: #2F86FF; --g2: #0B5ED7; }
.g-pro   { --g1: #22A06B; --g2: #157347; }
.g-ultra { --g1: #8A5CE0; --g2: #5E35B1; }
.g-max   { --g1: #EF4C5C; --g2: #C42B3B; }

.gfilter { margin-bottom: 24px; display: grid; gap: 12px; }
.gfilter-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.gfilter-head strong { font-size: 15px; }
.gfilter-head span { color: var(--ink-2); font-size: 13.5px; }
.gfilter-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.gopt { display: grid; align-content: start; justify-items: start; gap: 7px; padding: 11px 12px; border-radius: 12px; background: var(--bg-elev); border: 1.5px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .15s, background .15s, transform .15s; }
.gopt:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.gopt small { color: var(--ink-2); font-size: 12px; line-height: 1.35; }
.gopt.all { align-content: center; justify-items: center; }
.gopt.all b { font-size: 14px; }
.gopt.on { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 3px var(--brand-soft); }
.gopt.in { border-color: var(--brand); border-style: dashed; }
.gfilter-mode { justify-self: start; }

.gpos { padding: 18px 20px; display: grid; gap: 14px; }
.gpos-top { display: flex; align-items: center; gap: 14px; }
.gpos-top div { display: grid; gap: 2px; }
.gpos-top strong { font-size: 15.5px; }
.gpos-top span { color: var(--ink-2); font-size: 13.5px; }
.gladder { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.gladder li { display: grid; gap: 6px; font-size: 11px; font-weight: 700; color: var(--muted); text-align: center; letter-spacing: .04em; }
.gladder li::before { content: ""; height: 8px; border-radius: 999px; background: var(--bg-sunk); }
.gladder li.fill::before { background: linear-gradient(90deg, var(--g1), var(--g2)); }
.gladder li.here { color: var(--ink); }
.gladder li.here::before { height: 10px; margin-top: -1px; box-shadow: 0 0 0 2px var(--bg-elev), 0 0 0 4px var(--g1); }
.gpos-links { display: flex; gap: 8px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .gfilter-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .gfilter-row { display: flex; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px 4px; }
  .gopt { flex: none; width: 128px; }
  .gopt.all { width: 76px; }
}

/* ── 데스크 변경 (switch.php) ── */
/* 탭·단계 칸은 display 를 지정하므로 hidden 속성이 덮이지 않게 명시한다 */
.sw [hidden] { display: none !important; }
.sw { max-width: 880px; }
.sw-current { padding: 18px 20px; display: grid; gap: 12px; margin-bottom: 28px; }
.sw-label { font-size: 12.5px; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.sw-desk { display: flex; align-items: center; gap: 14px; }
.sw-desk div { display: grid; gap: 2px; }
.sw-desk strong { font-size: 17px; }
.sw-desk { flex-wrap: wrap; }
.sw-extend-link { margin-left: auto; }
.sw-extend { justify-self: start; margin-top: 8px; }
.sw-check .sw-extend, .sw-sum .sw-extend { display: inline-flex; }
.ext-hist li { font-size: 14px; color: var(--muted); }
.sw-sec { display: grid; gap: 14px; margin-bottom: 30px; }
.sw-sec h2 { display: flex; align-items: center; gap: 10px; font-size: 19px; }
.sw-num { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 13px; font-weight: 800; flex: none; }
.sw-tab { display: grid; gap: 12px; }
.sw-empty { padding: 8px 2px; }
.sw-list { display: grid; gap: 8px; }
.sw-opt { position: relative; display: block; cursor: pointer; }
/* 투명한 라디오가 카드 전체를 덮으므로 커서도 라디오에 준다(덮인 카드의 pointer 가 가려지지 않게) */
.sw-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.sw-opt-body { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--bg-elev); transition: border-color .15s, background .15s, transform .15s, box-shadow .15s; }
.sw-opt:hover .sw-opt-body { border-color: var(--brand); transform: translateY(-1px); box-shadow: 0 6px 18px -10px color-mix(in srgb, var(--brand) 70%, transparent); }
.sw-radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-strong); display: grid; place-items: center; transition: border-color .15s; }
.sw-radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); transform: scale(0); transition: transform .15s; }
.sw-opt:hover .sw-radio { border-color: var(--brand); }
.sw-opt input:checked + .sw-opt-body .sw-radio { border-color: var(--brand); }
.sw-opt input:checked + .sw-opt-body .sw-radio::after { transform: scale(1); }
.sw-opt-cta { font-size: 13px; font-weight: 700; white-space: nowrap; }
.sw-opt-cta span { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px; }
.sw-opt-cta .off { background: var(--brand-soft); color: var(--brand); }
.sw-opt-cta .on { display: none; background: var(--brand); color: #fff; }
.sw-opt:hover .sw-opt-cta .off { background: var(--brand); color: #fff; }
.sw-opt input:checked + .sw-opt-body .sw-opt-cta .off { display: none; }
.sw-opt input:checked + .sw-opt-body .sw-opt-cta .on { display: inline-flex; }
.sw-pick-hint { margin: 0; font-size: 13.5px; color: var(--ink-2); }
.sw-opt input:checked + .sw-opt-body { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 3px var(--brand-soft); }
.sw-opt input:focus-visible + .sw-opt-body { outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent); }
.sw-opt-main { display: grid; gap: 3px; min-width: 0; }
.sw-opt-main b { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sw-opt-main small { color: var(--ink-2); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sw-opt-price { font-weight: 700; font-size: 14px; white-space: nowrap; }
.sw-qty { display: flex; align-items: center; justify-content: space-between; max-width: 360px; }
.sw-move { padding: 16px 18px; display: grid; gap: 8px; }
.sw-move label { font-weight: 700; font-size: 14px; margin-top: 6px; }
.sw-ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; color: var(--ink-2); font-size: 14px; }
.sw-folders li.ok { color: var(--ok); }
.sw-folders li.bad { color: var(--danger); }
.sw-folders code, .sw-ul code { font-size: 12.5px; background: var(--bg-sunk); padding: 1px 6px; border-radius: 6px; color: var(--ink); }
.sw-check { padding: 16px 18px; display: grid; gap: 10px; }
.sw-wait { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--ink-2); }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid var(--line-strong); border-top-color: var(--brand); animation: swspin .8s linear infinite; flex: none; }
@keyframes swspin { to { transform: rotate(360deg); } }
.sw-self { margin: 0; font-size: 14px; color: var(--ink-2); }
.notice.ok { background: var(--ok-soft); }
.notice.ok svg { color: var(--ok); }
.sw-sum { padding: 16px 18px; display: grid; gap: 10px; }
.sw-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 15px; }
.sw-row em { font-style: normal; margin-left: 6px; height: 22px; font-size: 11.5px; }
.sw-row.total { border-top: 1px solid var(--line); padding-top: 10px; font-weight: 800; font-size: 16.5px; }
.sw-row.bad { color: var(--danger); }
.sw-detail summary { cursor: pointer; color: var(--muted); font-size: 13px; }
.sw-progress { padding: 22px; display: grid; gap: 16px; }
.sw-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.sw-steps li { display: grid; justify-items: center; gap: 6px; text-align: center; font-size: 13px; color: var(--muted); font-weight: 600; }
.sw-steps i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--bg-sunk); font-style: normal; font-weight: 800; color: var(--ink-2); }
.sw-steps li.now { color: var(--ink); }
.sw-steps li.now i { background: var(--brand); color: #fff; box-shadow: 0 0 0 4px var(--brand-soft); }
.sw-steps li.done i { background: var(--ok); color: #fff; }
.sw-bar { height: 10px; border-radius: 999px; background: var(--bg-sunk); overflow: hidden; }
.sw-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), color-mix(in srgb, var(--brand) 60%, #22A06B)); transition: width .6s ease; }
.sw-state { margin: 0; font-weight: 600; }
.sw-state.bad { color: var(--danger); }
.sw-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.sw-apps { columns: 2; display: block; }
@media (max-width: 560px) {
  .sw-opt-body { grid-template-columns: auto auto minmax(0, 1fr); row-gap: 8px; }
  .sw-opt-price { grid-column: 3; }
  .sw-opt-cta { grid-column: 1 / -1; justify-self: end; }
  .sw-steps li span { font-size: 11.5px; }
  .sw-apps { columns: 1; }
}
.sw-banner { margin-bottom: 14px; text-decoration: none; }

/* ── 충전·출금 내역 (마이페이지 탭·상세) ── */
.money-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.money-list { display: grid; gap: 8px; }
.money-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-elev); color: inherit; text-decoration: none; transition: border-color .15s; }
.money-row:hover { border-color: var(--line-strong); }
.money-kind { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font-weight: 800; font-size: 17px; }
.money-kind.in { background: var(--ok-soft); color: var(--ok); }
.money-kind.out { background: var(--brand-soft); color: var(--brand); }
.money-main { display: grid; gap: 2px; min-width: 0; }
.money-main b { font-size: 14.5px; }
.money-main small { color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.money-go { color: var(--muted); font-size: 20px; }
.chip.wait { background: color-mix(in srgb, var(--signal) 18%, var(--bg-elev)); color: var(--ink); }
.chip.bad { background: var(--danger-soft); color: var(--danger); }
.money-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.money-detail { padding: 20px; display: grid; gap: 18px; }
.mstep { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; }
.mstep li { display: grid; justify-items: center; text-align: center; gap: 6px; color: var(--muted); font-size: 13px; }
.mstep li i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--bg-sunk); font-style: normal; font-weight: 800; }
.mstep li span { display: grid; gap: 2px; }
.mstep li small { font-size: 11.5px; }
.mstep li.done { color: var(--ink); }
.mstep li.done i { background: var(--ok); color: #fff; }
.mstep li.bad { color: var(--danger); }
.mstep li.bad i { background: var(--danger); color: #fff; }
.money-dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 9px 16px; margin: 0; font-size: 14px; }
.money-dl dt { color: var(--muted); }
.money-dl dd { margin: 0; word-break: break-all; }
@media (max-width: 520px) {
  .money-row { grid-template-columns: auto minmax(0, 1fr) auto; }
  .money-go { display: none; }
  .money-dl { grid-template-columns: 1fr; gap: 2px; }
  .money-dl dd { margin-bottom: 8px; }
}
.sw-rules { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 6px; font-size: 13px; }
.sw-rules li { display: grid; gap: 2px; padding: 8px 12px; border-radius: 10px; }
.sw-rules li.ok { background: var(--ok-soft); }
.sw-rules li.ok b { color: var(--ok); }
.sw-rules li.no { background: var(--danger-soft); }
.sw-rules li.no b { color: var(--danger); }
.sw-rules span { color: var(--ink-2); }

/* ---------- 접속 마법사(팝업) — 브라우저로 바로 접속·RDP로 연결 (bd.js cw) ---------- */
.cw-card { width: min(480px, 100%); gap: 12px; }
.cw-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: -4px; }
.cw-step { font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--brand); background: var(--brand-soft); padding: 3px 10px; border-radius: 999px; }
.cw-x { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink-2); font-size: 20px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0; }
.cw-x:hover { background: var(--bg-sunk); color: var(--ink); }
.cw-x:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.cw-kicker { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.cw-kicker:empty { display: none; }
.cw-card h3 { font-size: 20px; margin: 0; text-wrap: balance; }
.cw-lead { margin: 0; color: var(--ink-2); line-height: 1.6; }
.cw-pts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cw-pts li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; align-items: start; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.cw-pts svg { width: 18px; height: 18px; color: var(--ok); margin-top: 1px; }
.cw-trust { border: 1px solid var(--line); background: var(--bg-sunk); border-radius: 14px; padding: 14px; display: grid; gap: 10px; }
.cw-trust-h { display: flex; align-items: center; gap: 8px; color: var(--ink); }
.cw-trust-h svg { width: 20px; height: 20px; color: var(--ok); flex: none; }
.cw-note { font-size: 13.5px; }
.cw-ol { margin: 0; padding-left: 20px; display: grid; gap: 10px; color: var(--ink-2); line-height: 1.55; }
.cw-ol li::marker { color: var(--brand); font-weight: 700; }
.cw-dl { margin-top: 8px; }
.cw-hint { margin: 0; }
.cw-err:empty { display: none; }
.cw-err { margin: 0; }
.cw-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.cw-actions .btn-primary, .cw-actions .btn-soft:first-child { flex: 1 1 180px; justify-content: center; }
@media (max-width: 480px) { .cw-actions .btn { flex: 1 1 100%; justify-content: center; } }

/* 데스크 PC 평가(별점) — bd/deskrate.php + desk.php 요약 */
.dr-item{margin:14px 0}
.dr-stars{display:inline-flex;gap:4px;font-size:26px;line-height:1}
.dr-star{background:none;border:0;padding:0 2px;cursor:pointer;color:var(--line,#d9def0);transition:color .12s}
.dr-star.on,.dr-star:hover{color:#f5a623}
.dr-who-row{display:flex;align-items:center;gap:8px;margin-top:4px}
.dr-sum{display:flex;flex-wrap:wrap;gap:18px;align-items:center}
.dr-sum-big{font-size:34px;font-weight:800;line-height:1}
.dr-sum-stars{color:#f5a623;font-size:18px;letter-spacing:1px}
.dr-bars{flex:1;min-width:220px;display:flex;flex-direction:column;gap:6px}
.dr-bar{display:grid;grid-template-columns:7.5em 1fr 2.4em;align-items:center;gap:8px;font-size:12.5px}
.dr-bar .track{height:7px;border-radius:4px;background:var(--line,#e7eaf5);overflow:hidden}
.dr-bar .fill{height:100%;background:#f5a623;border-radius:4px}
.dr-reviews{margin-top:14px;display:flex;flex-direction:column;gap:10px}
.dr-rev{border:1px solid var(--line,#e7eaf5);border-radius:10px;padding:10px 12px}
.dr-rev-top{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--muted,#8a93ad)}
.dr-rev-stars{color:#f5a623}
.dr-rev-cmt{margin-top:6px;font-size:13.5px;white-space:pre-line}
