/* =========================================================
   BotStudio — 부티크 호텔 라운지 럭셔리 테마 (라이트 & 다크 모드)
   ========================================================= */
:root {
  --bg: #faf8f4;
  --bg-alt: #f3efe8;
  --surface: #ffffff;
  --surface-2: #efeae0;
  --surface-3: #e3dccf;
  --ink: #1a1714;
  --ink-2: #4a433b;
  --muted: #7a7065;
  --line: #e5dec9;
  --blue: #a67c37;
  --blue-dark: #845f22;
  --blue-soft: #f7f0e1;
  --gold-light: #ebd197;
  --green: #1e6b52;
  --green-soft: #e9f4ef;
  --red: #b83b44;
  --red-soft: #fbeeed;
  --amber: #c2852b;
  --amber-soft: #fbf4e4;
  --purple: #6b538c;
  --purple-soft: #f2eef8;
  --header-bg: rgba(250, 248, 244, 0.88);
  --hero-grad: radial-gradient(circle at 80% 10%, #f3e8d2 0%, #faf8f4 60%);
  --num-grad: linear-gradient(135deg, #1a1714 0%, #a67c37 100%);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --shadow-sm: 0 2px 8px rgba(26, 23, 20, 0.04), 0 4px 14px rgba(166, 124, 55, 0.06);
  --shadow-md: 0 10px 24px rgba(26, 23, 20, 0.07), 0 20px 44px rgba(166, 124, 55, 0.11);
  --shadow-lg: 0 20px 48px rgba(26, 23, 20, 0.15), 0 30px 68px rgba(166, 124, 55, 0.15);
  --shadow-card: 0 2px 6px rgba(26, 23, 20, 0.04), 0 12px 28px rgba(26, 23, 20, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  --shadow-card-hover: 0 14px 30px rgba(26, 23, 20, 0.10), 0 24px 52px rgba(166, 124, 55, 0.18);
  --shadow-btn: 0 6px 18px rgba(132, 95, 34, 0.28), 0 2px 4px rgba(26, 23, 20, 0.16), inset 0 1px 0 rgba(255, 244, 214, 0.35);
  --font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
  --font-display: 'Do Hyeon', 'Pretendard Variable', sans-serif;
  --font-accent: 'Jua', 'Pretendard Variable', sans-serif;
  --font-serif: 'Gowun Batang', 'Noto Serif KR', serif;
  --font-mono: 'Nanum Gothic Coding', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

html[data-theme="dark"] {
  --bg: #11100e;
  --bg-alt: #161411;
  --surface: #1b1815;
  --surface-2: #25211c;
  --surface-3: #332d26;
  --ink: #f4efe6;
  --ink-2: #c7bdb0;
  --muted: #93877a;
  --line: #2f2922;
  --blue: #d4af63;
  --blue-dark: #e5c682;
  --blue-soft: rgba(212, 175, 99, 0.15);
  --gold-light: #f3dfb2;
  --green: #38a882;
  --green-soft: rgba(56, 168, 130, 0.16);
  --red: #e0636c;
  --red-soft: rgba(224, 99, 108, 0.16);
  --amber: #e2a94b;
  --amber-soft: rgba(226, 169, 75, 0.16);
  --purple: #b497e7;
  --purple-soft: rgba(180, 151, 231, 0.16);
  --header-bg: rgba(17, 16, 14, 0.88);
  --hero-grad: radial-gradient(circle at 80% 10%, rgba(197, 160, 89, 0.15) 0%, #11100e 62%);
  --num-grad: linear-gradient(135deg, #f7efe1 0%, #d4af63 100%);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 12px 28px rgba(0, 0, 0, 0.45), 0 18px 42px rgba(197, 160, 89, 0.10);
  --shadow-lg: 0 22px 54px rgba(0, 0, 0, 0.65), 0 28px 64px rgba(197, 160, 89, 0.14);
  --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.40), 0 14px 32px rgba(0, 0, 0, 0.30), inset 0 1px 0 rgba(255, 240, 200, 0.06);
  --shadow-card-hover: 0 14px 32px rgba(0, 0, 0, 0.55), 0 22px 48px rgba(212, 175, 99, 0.18);
  --shadow-btn: 0 6px 20px rgba(212, 175, 99, 0.26), 0 2px 6px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font);
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  word-break: keep-all;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  transition: background-color .22s ease, color .22s ease;
}
button, input, select, textarea { font-family: inherit; color: inherit; }
button, a { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button { background: none; border: 0; cursor: pointer; padding: 0; }
button:disabled { opacity: .45; cursor: not-allowed; }
a { color: inherit; text-decoration: none; }
code {
  font-family: var(--font-mono);
  background: var(--surface-2);
  padding: 2px 7px;
  border-radius: 6px;
  font-size: .88em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 1px 2px rgba(15, 23, 42, .05);
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.hide { display: none !important; }
.muted { color: var(--muted); }
.sm { font-size: 13px; }
.xs { font-size: 11.5px; }
.red { color: var(--red); }
.text-blue { color: var(--blue); }
.underline { text-decoration: underline; }
.grow { flex: 1; min-width: 0; }
.full { width: 100%; }
.row { display: flex; align-items: center; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gap6 { gap: 6px; }
.center { text-align: center; }
.m0 { margin: 0 !important; }
.mb4 { margin-bottom: 4px; }
.mb6 { margin-bottom: 6px; }
.mb8 { margin-bottom: 8px; }
.mb10 { margin-bottom: 10px; }
.mb12 { margin-bottom: 12px; }
.mb14 { margin-bottom: 14px; }
.mb16 { margin-bottom: 16px; }
.mb20 { margin-bottom: 20px; }
.mt6 { margin-top: 6px; }
.mt16 { margin-top: 16px; }
.p16 { padding: 16px; }
.line { border: 0; border-top: 1px solid var(--line); margin: 12px 0; }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* 상단 페이지 전환 로딩 바 */
.top-loader {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  z-index: 90; pointer-events: none; opacity: 0;
}
.top-loader::before {
  content: ''; display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--blue-dark), var(--blue), var(--gold-light));
}
.top-loader.run { animation: tl-fade .55s ease forwards; }
.top-loader.run::before { animation: tl-bar .48s var(--ease-out) forwards; }
@keyframes tl-bar { 0% { width: 0%; } 70% { width: 82%; } 100% { width: 100%; } }
@keyframes tl-fade { 0%, 75% { opacity: 1; } 100% { opacity: 0; } }

/* 헤더 */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(26, 23, 20, .07); }
.header-inner { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; flex-shrink: 0; }
.brand-logo { display: inline-flex; flex-shrink: 0; border-radius: 10px; box-shadow: 0 6px 16px rgba(166, 124, 55, .28), 0 2px 5px rgba(26, 23, 20, .14); }
.brand-name { font-family: var(--font-display); font-size: 20px; font-weight: 400; letter-spacing: 0.01em; }
.brand-name b {
  font-weight: 400;
  background: linear-gradient(135deg, #845f22 0%, #c5a059 52%, #9a7432 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 6px rgba(166, 124, 55, .2));
}
html[data-theme="dark"] .brand-name b {
  background: linear-gradient(135deg, #ebd197 0%, #c5a059 55%, #f5e6c8 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* 직접 제작 커스텀 SVG 이모지 */
.em { display: inline-flex; align-items: center; justify-content: center; vertical-align: -0.18em; flex-shrink: 0; }
.em svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 2px 3px rgba(26, 23, 20, .14)); }
.em-xs { width: 14px; height: 14px; }
.em-sm { width: 17px; height: 17px; }
.em-md { width: 20px; height: 20px; }
.em-lg { width: 26px; height: 26px; }
.em-xl { width: 32px; height: 32px; }
.nav-links { display: flex; align-items: center; gap: 18px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.nav-links a { white-space: nowrap; padding: 6px 2px; position: relative; transition: color .15s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.nav-links a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2.5px; border-radius: 99px; background: var(--blue);
  box-shadow: 0 2px 6px rgba(166, 124, 55, .35);
}
.header-actions { display: flex; align-items: center; gap: 7px; flex-shrink: 0; }
.sub-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); display: inline-block; }
.icon-btn.mob-menu-btn { display: none; }

/* 버튼 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 44px; padding: 0 18px; border-radius: 12px;
  font-size: 14.5px; font-weight: 600; white-space: nowrap;
  transition: background .16s ease, transform .14s ease, border-color .16s ease, box-shadow .16s ease;
}
.btn:active { transform: scale(.98); }
.btn-lg { height: 50px; padding: 0 24px; font-size: 15.5px; border-radius: 14px; }
.btn-sm { height: 36px; padding: 0 13px; font-size: 13px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn-primary {
  background: linear-gradient(135deg, #241f1a 0%, #14110e 100%);
  color: #f3dfb2;
  border: 1px solid rgba(197, 160, 89, 0.55);
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #2f2821 0%, #1c1813 100%);
  border-color: #d4af63;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(166, 124, 55, .32), inset 0 1px 0 rgba(255, 240, 200, .35);
}
html[data-theme="dark"] .btn-primary {
  background: linear-gradient(135deg, #d8b56c 0%, #a67c37 100%);
  color: #14110e;
  border-color: #ebd197;
  font-weight: 700;
}
html[data-theme="dark"] .btn-primary:hover {
  background: linear-gradient(135deg, #e5c682 0%, #b88e44 100%);
}
.btn-outline { background: var(--surface); border: 1px solid var(--line); color: var(--ink); box-shadow: 0 2px 6px rgba(26, 23, 20, .05); }
.btn-outline:hover { background: var(--surface-2); border-color: var(--blue); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-danger-soft { background: var(--red-soft); color: var(--red); }
.icon-btn { width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink-2); border: 1px solid transparent; }
.icon-btn:hover { background: var(--surface-2); border-color: var(--line); }
.icon-btn.sm { width: 28px; height: 28px; font-size: 13px; }
.link-btn { color: var(--blue); font-weight: 600; font-size: 13px; }
.link-btn:hover { text-decoration: underline; }
.link-btn.xs { font-size: 12px; }
.btn-spin { width: 15px; height: 15px; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 히어로 */
.hero {
  padding: 58px 0 72px;
  background: var(--hero-grad);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 44px; align-items: center; }
.status-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 99px;
  background: var(--blue-soft); color: var(--blue-dark);
  border: 1px solid rgba(166, 124, 55, .28);
  font-family: var(--font-accent); font-weight: 400; font-size: 13.5px;
  margin-bottom: 18px;
  box-shadow: 0 3px 10px rgba(166, 124, 55, .14);
}
.pulse-green { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(30, 107, 82, .2); flex-shrink: 0; }
.hero h1 {
  margin: 0 0 16px;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(34px, 4.5vw, 50px); line-height: 1.18; letter-spacing: -0.01em;
  text-shadow: 0 4px 18px rgba(166, 124, 55, .14);
}
.hero .text-blue {
  display: inline-block;
  background: linear-gradient(120deg, #845f22 0%, #c5a059 38%, #5e4214 70%, #c5a059 100%);
  background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 6px 14px rgba(166, 124, 55, .22));
  animation: grad-shift 6s ease infinite;
}
html[data-theme="dark"] .hero .text-blue {
  background: linear-gradient(120deg, #ebd197 0%, #c5a059 40%, #fff3d1 72%, #d4af63 100%);
  background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@keyframes grad-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero .text-blue { animation: none; }
}
.hero-sub { margin: 0 0 26px; font-size: 16.5px; color: var(--ink-2); line-height: 1.65; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero-metrics { display: flex; gap: 32px; padding-top: 22px; border-top: 1px solid var(--line); }
.metric b {
  display: block; font-family: var(--font-display); font-weight: 400; font-size: 25px;
  background: var(--num-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.metric span { font-size: 13px; color: var(--muted); }

/* 히어로 라이브 피드 카드 */
.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px;
  box-shadow: var(--shadow-lg);
}
.hc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.hc-title { display: flex; align-items: center; gap: 8px; font-size: 14.5px; }
.hc-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--blue); }
.pill-soft-green { padding: 3px 9px; border-radius: 99px; background: var(--green-soft); color: #087f5b; font-size: 11px; font-weight: 700; }
.pill-soft-blue { padding: 3px 9px; border-radius: 99px; background: var(--blue-soft); color: var(--blue); font-size: 11px; font-weight: 700; }
.hc-feed { display: flex; flex-direction: column; gap: 10px; }
.hf-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px; border-radius: 14px;
  background: var(--bg-alt); border: 1px solid var(--line);
  box-shadow: 0 2px 6px rgba(15, 23, 42, .03);
}
.hf-row.fresh { animation: slide-in .35s var(--ease-out); border-color: #cfe2ff; background: #f8fbff; }
@keyframes slide-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.hf-ic { font-size: 22px; flex-shrink: 0; }
.hf-top { display: flex; align-items: center; gap: 6px; margin-bottom: 2px; }
.hf-row b { font-size: 13.5px; display: block; }
.hf-tag { font-size: 10.5px; font-weight: 700; padding: 2px 6px; border-radius: 6px; }
.hf-tag.red { background: var(--red-soft); color: var(--red); }
.hf-tag.purple { background: var(--purple-soft); color: var(--purple); }
.hf-tag.blue { background: var(--blue-soft); color: var(--blue); }
.hf-tag.green { background: var(--green-soft); color: var(--green); }
.hf-tag.amber { background: var(--amber-soft); color: #b45309; }
.hc-foot {
  margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-size: 12px; color: var(--muted);
}

/* 섹션 공통 */
.section { padding: 76px 0; }
.section-alt { background: var(--bg-alt); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 34px; flex-wrap: wrap; }
.sec-head.center-head { flex-direction: column; align-items: center; text-align: center; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-accent); font-weight: 400; font-size: 13px; letter-spacing: .04em;
  color: var(--blue-dark); background: var(--blue-soft);
  padding: 4px 12px; border-radius: 99px;
  border: 1px solid rgba(49, 130, 246, .18);
  box-shadow: 0 3px 10px rgba(49, 130, 246, .10);
  margin-bottom: 10px;
}
.sec-head h2 {
  margin: 0 0 8px;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(26px, 3.3vw, 35px); letter-spacing: -0.01em;
  text-shadow: 0 4px 16px rgba(15, 23, 42, .08);
}
.sec-desc { margin: 0; font-size: 15.5px; color: var(--ink-2); max-width: 620px; }

/* 필터 바 & 모듈 카드 */
.filter-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.seg-tabs { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); gap: 2px; flex-wrap: wrap; }
.seg-tab { height: 34px; padding: 0 13px; border-radius: 9px; font-size: 13px; font-weight: 600; color: var(--muted); }
.seg-tab.active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.seg-tabs.sm .seg-tab { height: 30px; padding: 0 10px; font-size: 12px; }
.search-box {
  height: 42px; padding: 0 12px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line);
  display: inline-flex; align-items: center; gap: 8px; min-width: 230px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, .03);
}
.search-box.full { width: 100%; }
.search-box svg { color: var(--muted); flex-shrink: 0; }
.search-box input { border: 0; outline: none; background: none; width: 100%; font-size: 13.5px; }

.bot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bot-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  padding: 22px; display: flex; flex-direction: column; cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: transform .18s var(--ease-out), box-shadow .18s ease, border-color .18s ease;
}
.bot-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: #bfdbfe; }
.bc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.bc-ic { width: 46px; height: 46px; border-radius: 14px; background: color-mix(in srgb, var(--ac) 12%, transparent); display: flex; align-items: center; justify-content: center; font-size: 24px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 4px 10px rgba(15, 23, 42, .06); }
.bc-badge { font-family: var(--font-accent); font-size: 12.5px; font-weight: 400; padding: 4px 10px; border-radius: 99px; background: var(--surface-2); color: var(--ink-2); box-shadow: 0 2px 6px rgba(15, 23, 42, .04); }
.bot-card h3 { margin: 0 0 6px; font-family: var(--font-accent); font-weight: 400; font-size: 20px; }
.bc-sum { margin: 0 0 12px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.bc-feats { margin: 0 0 16px; padding-left: 16px; font-size: 13px; color: var(--muted); display: flex; flex-direction: column; gap: 5px; }
.bc-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.bc-cmds { display: flex; gap: 4px; flex-wrap: wrap; }
.bc-cmds code { font-size: 11px; }
.bc-more { font-size: 12.5px; font-weight: 700; color: var(--blue); white-space: nowrap; }

/* =========================================================
   디스코드 봇 미리 체험관 (sandbox.js)
   ========================================================= */
.scenario-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.sc-chip {
  height: 38px; padding: 0 15px; border-radius: 99px;
  background: var(--blue-soft); color: var(--blue-dark);
  font-family: var(--font-accent); font-size: 14px; font-weight: 400;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  box-shadow: 0 3px 10px rgba(49, 130, 246, .12);
  transition: transform .14s ease, background .14s ease, box-shadow .14s ease;
}
.sc-chip:hover { background: #d6e9ff; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(49, 130, 246, .18); }

.sandbox-shell {
  border-radius: 22px; overflow: hidden;
  border: 1px solid #26282e;
  background: #313338; color: #dbdee1;
  box-shadow: var(--shadow-lg);
}
.sb-layout { display: grid; grid-template-columns: 248px 1fr; height: 590px; }
.sb-sidebar { background: #2b2d31; border-right: 1px solid #1e1f22; display: flex; flex-direction: column; min-height: 0; }
.sb-server-head {
  padding: 14px 16px; border-bottom: 1px solid #1e1f22;
  display: flex; align-items: center; justify-content: space-between;
}
.sb-server-head b { display: block; font-size: 14px; color: #fff; }
.sb-server-head span { font-size: 11px; color: #949ba4; }
.sb-ver { font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; padding: 2px 6px; border-radius: 6px; background: #3f4147; color: #fff !important; }
.sb-ch-label { padding: 14px 16px 6px; font-size: 11px; font-weight: 700; color: #949ba4; }
.sb-channels { padding: 0 8px; display: flex; flex-direction: column; gap: 3px; overflow-y: auto; flex: 1; }
.sb-ch {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 10px; border-radius: 8px;
  color: #949ba4; font-size: 13.5px; font-weight: 600; text-align: left;
}
.sb-ch:hover { background: #35373c; color: #dbdee1; }
.sb-ch.active { background: #404249; color: #fff; }
.sb-hash { opacity: .75; font-size: 15px; }

.sb-profile { padding: 12px; background: #232428; border-top: 1px solid #1e1f22; display: flex; align-items: flex-start; gap: 10px; }
.sb-avatar { width: 32px; height: 32px; border-radius: 50%; background: #5865f2; color: #fff; font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sb-me b { display: block; font-size: 12.5px; color: #fff; margin-bottom: 4px; }
.sb-my-roles { display: flex; flex-wrap: wrap; gap: 4px; }
.sb-role-pill { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; padding: 2px 6px; border-radius: 5px; background: #383a40; color: #dbdee1; }
.sb-no-role { font-size: 11px; color: #949ba4; }

.sb-main { display: flex; flex-direction: column; min-height: 0; min-width: 0; background: #313338; }
.sb-main-head {
  padding: 12px 16px; border-bottom: 1px solid #26282e;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.sb-head-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.sb-hash-lg { font-size: 20px; color: #949ba4; font-weight: 700; }
.sb-head-left b { display: block; font-size: 14.5px; color: #fff; }
.sb-head-left p { margin: 0; font-size: 12px; color: #949ba4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-reset-btn { padding: 6px 10px; border-radius: 8px; background: #3f4147; color: #dbdee1; font-size: 12px; font-weight: 600; flex-shrink: 0; }
.sb-reset-btn:hover { background: #4e5058; }

.sb-body { flex: 1; min-height: 0; overflow-y: auto; padding: 16px; }
.sb-msgs { display: flex; flex-direction: column; gap: 14px; }
.sb-msg { display: flex; gap: 12px; align-items: flex-start; }
.sb-msg.is-blocked { opacity: .65; }
.sb-msg-av { width: 38px; height: 38px; border-radius: 50%; background: var(--av, #5865f2); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; flex-shrink: 0; }
.sb-msg-cnt { flex: 1; min-width: 0; }
.sb-msg-meta { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.sb-msg-meta b { font-size: 14px; color: #fff; }
.sb-bot-tag { font-size: 10px; font-weight: 800; padding: 1px 5px; border-radius: 4px; background: #5865f2; color: #fff; }
.sb-time { font-size: 11px; color: #949ba4; }
.sb-msg-txt { font-size: 14px; line-height: 1.55; color: #dbdee1; }
.sb-msg-txt code { background: #1e1f22; color: #e2e8f0; }

.sb-embed {
  margin-top: 6px; padding: 12px 14px; border-radius: 8px;
  background: #2b2d31; border-left: 4px solid var(--ec, #3182f6);
  max-width: 520px;
}
.sb-em-title { display: flex; align-items: center; gap: 6px; font-size: 14px; color: #fff; margin-bottom: 4px; }
.sb-embed p { margin: 0; font-size: 13px; color: #cbd5e1; line-height: 1.5; }
.sb-embed p b { color: #fff; }
.sb-rank-line { display: inline-flex; align-items: center; gap: 5px; }
.sb-embed code { background: #1e1f22; color: #f8fafc; }
.sb-pbar { height: 6px; border-radius: 99px; background: #1e1f22; overflow: hidden; margin-top: 8px; }
.sb-pbar i { display: block; height: 100%; background: var(--green); transition: width .2s ease; }

.sb-btn-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.sb-btn { height: 32px; padding: 0 12px; border-radius: 6px; font-size: 12.5px; font-weight: 600; color: #fff; display: inline-flex; align-items: center; gap: 5px; }
.sb-btn.primary { background: #5865f2; }
.sb-btn.primary:hover { background: #4752c4; }
.sb-btn.secondary { background: #4e5058; }
.sb-btn.secondary:hover { background: #6d6f78; }
.sb-btn.danger { background: #da373c; }

.sb-agent-steps { margin-top: 4px; padding: 10px 12px; border-radius: 8px; background: #2b2d31; border: 1px solid #3f4147; display: flex; flex-direction: column; gap: 5px; max-width: 420px; }
.sb-ag-row { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #949ba4; }
.sb-ag-row.now { color: #74b9ff; font-weight: 600; }
.sb-ag-row.done { color: #4ade80; }
.sb-thinking { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; padding: 6px 10px; border-radius: 8px; background: #2b2d31; font-size: 12px; color: #949ba4; }
.sb-thinking i { width: 6px; height: 6px; border-radius: 50%; background: #949ba4; animation: dotb 1s infinite; }
.sb-thinking i:nth-child(2) { animation-delay: .15s; }
.sb-thinking i:nth-child(3) { animation-delay: .3s; }
@keyframes dotb { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
.sb-cursor { color: #60a5fa; animation: blink .8s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

.sb-cite { padding: 1px 5px; margin: 0 2px; border-radius: 4px; background: rgba(88, 101, 242, .35); color: #c7d2fe; font-size: 11px; font-weight: 700; }
.sb-ai-tools { display: flex; align-items: center; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.sb-tool-btn { padding: 4px 8px; border-radius: 6px; background: #2b2d31; color: #cbd5e1; font-size: 11.5px; display: inline-flex; align-items: center; gap: 4px; }
.sb-tool-btn.on { background: #5865f2; color: #fff; }
.sb-fb-msg { font-size: 11.5px; color: #4ade80; }

/* 샌드박스 입력창 & 슬래시 자동완성 */
.sb-composer-wrap { position: relative; padding: 8px 14px 14px; background: #313338; border-top: 1px solid #26282e; }
.sb-quick-cmds { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.sb-qbtn { font-size: 11.5px; padding: 4px 9px; border-radius: 99px; background: #2b2d31; color: #cbd5e1; border: 1px solid #3f4147; }
.sb-qbtn:hover { background: #3f4147; color: #fff; }
.sb-input-bar { display: flex; align-items: center; gap: 8px; background: #383a40; border-radius: 10px; padding: 5px 8px; }
.sb-slash-btn { width: 28px; height: 28px; border-radius: 6px; background: #4e5058; color: #fff; font-weight: 800; }
.sb-input-bar input { flex: 1; border: 0; outline: none; background: none; color: #fff; font-size: 13.5px; }
.sb-input-bar input::placeholder { color: #949ba4; }
.sb-send-btn { height: 32px; padding: 0 14px; border-radius: 7px; background: #5865f2; color: #fff; font-size: 13px; font-weight: 700; }

.sb-slash-pop {
  position: absolute; left: 14px; right: 14px; bottom: calc(100% - 4px);
  background: #2b2d31; border: 1px solid #1e1f22; border-radius: 12px;
  padding: 6px; box-shadow: var(--shadow-lg); z-index: 10; max-height: 240px; overflow-y: auto;
}
.sb-slash-item { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; text-align: left; }
.sb-slash-item b { font-size: 13px; color: #fff; }
.sb-slash-item span { font-size: 11.5px; color: #949ba4; }
.sb-slash-item.on, .sb-slash-item:hover { background: #404249; }

/* 샌드박스 봇 설정 채널 */
.sb-settings { display: flex; flex-direction: column; gap: 12px; max-width: 580px; }
.sb-set-head b { display: block; font-size: 15px; color: #fff; margin-bottom: 2px; }
.sb-set-head span { font-size: 12.5px; color: #949ba4; }
.sb-set-card { background: #2b2d31; border: 1px solid #3f4147; border-radius: 12px; padding: 14px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.sb-set-card.col { flex-direction: column; align-items: stretch; }
.sb-set-card b { font-size: 13.5px; color: #fff; }
.sb-set-card p { margin: 3px 0 0; font-size: 12px; color: #949ba4; }
.sb-blue { color: #74b9ff !important; }
.sb-muted { font-size: 11px; color: #949ba4; }
.sb-range { width: 100%; accent-color: #5865f2; }
.sb-set-label { font-size: 13px; font-weight: 700; color: #fff; }
.sb-text-inp { width: 100%; height: 38px; padding: 0 10px; border-radius: 8px; border: 1px solid #3f4147; background: #1e1f22; color: #fff; font-size: 13px; outline: none; }
.sb-set-foot { display: flex; justify-content: flex-end; }

/* =========================================================
   요금제 & 비교표 & 3단계 결제
   ========================================================= */
.calc-bar {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 22px;
  padding: 16px 22px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--line);
  margin-bottom: 28px; box-shadow: var(--shadow-md);
}
.calc-item { display: flex; align-items: center; gap: 10px; }
.calc-label { font-size: 13.5px; font-weight: 700; color: var(--ink-2); display: inline-flex; align-items: center; gap: 4px; }
.billing-toggle { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--surface-2); }
.bt-btn { height: 34px; padding: 0 12px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.bt-btn.active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.save-pill { font-style: normal; font-size: 10.5px; font-weight: 800; padding: 2px 6px; border-radius: 99px; background: var(--green-soft); color: #087f5b; }

.stepper { display: inline-flex; align-items: center; gap: 8px; padding: 3px; border-radius: 10px; background: var(--surface-2); }
.step-btn { width: 28px; height: 28px; border-radius: 8px; background: var(--surface); font-weight: 800; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.stepper b { min-width: 36px; text-align: center; font-size: 13.5px; }

.switch {
  width: 46px; height: 26px; border-radius: 99px;
  background: var(--surface-3); padding: 3px; display: inline-flex; align-items: center;
  transition: background .2s ease; flex-shrink: 0;
}
.switch i { width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .18); transition: transform .24s var(--spring); }
.switch.on { background: var(--blue); }
.switch.on i { transform: translateX(20px); }

.info-dot { width: 18px; height: 18px; border-radius: 50%; color: var(--muted); font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }
.info-dot:hover { color: var(--blue); }

.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px;
  padding: 26px 24px; display: flex; flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform .2s var(--ease-out), box-shadow .2s ease, border-color .2s ease;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.plan-card.popular {
  border: 2px solid var(--blue);
  box-shadow: 0 14px 36px rgba(49, 130, 246, .18), 0 4px 12px rgba(15, 23, 42, .06);
}
.pc-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 8px; }
.pc-badge { display: inline-block; font-family: var(--font-accent); font-size: 12px; font-weight: 400; padding: 3px 10px; border-radius: 99px; background: var(--surface-2); color: var(--ink-2); margin-bottom: 8px; }
.pc-badge.blue { background: var(--blue-soft); color: var(--blue-dark); }
.plan-card h3 { margin: 0; font-family: var(--font-accent); font-weight: 400; font-size: 24px; }
.pc-desc { margin: 0 0 16px; font-size: 13.5px; color: var(--muted); min-height: 42px; }
.pc-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.pc-price b {
  font-family: var(--font-display); font-weight: 400; font-size: 36px; letter-spacing: 0;
  background: linear-gradient(135deg, #191f28 0%, #1b64da 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 6px rgba(49, 130, 246, .14));
}
.pc-price span { font-size: 13px; color: var(--muted); }
.pc-note { font-size: 12px; color: var(--blue); background: var(--blue-soft); padding: 6px 10px; border-radius: 8px; margin-bottom: 16px; font-weight: 600; }
.pc-note.warn { background: var(--amber-soft); color: #b45309; }
.pc-list { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 9px; font-size: 13.5px; color: var(--ink-2); flex: 1; }

.trust-strip {
  margin-top: 24px; padding: 18px 22px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.ts-item b { display: block; font-size: 13.5px; margin-bottom: 2px; }
.ts-item span { font-size: 12px; color: var(--muted); }

.compare-wrap { margin-top: 24px; text-align: center; }
.compare-toggle svg { transition: transform .2s ease; }
.compare-toggle.open svg { transform: rotate(180deg); }
.compare-body { margin-top: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; text-align: left; box-shadow: var(--shadow-card); }
.table-scroll { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 640px; }
.compare-table th, .compare-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); }
.compare-table thead th { background: var(--bg-alt); font-weight: 700; text-align: left; }
.compare-table .col-pro { background: #f8fbff; }

/* 후기 */
.rating-summary { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 16px; background: var(--bg-alt); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.rs-score {
  font-family: var(--font-display); font-weight: 400; font-size: 34px;
  background: linear-gradient(135deg, #f59f00 0%, #e67700 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stars { color: #f59f00; font-size: 15px; text-shadow: 0 2px 6px rgba(245, 159, 0, .35); }
.review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.review-card {
  position: relative;
  padding: 20px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface);
  box-shadow: var(--shadow-card);
  transition: transform .18s var(--ease-out), box-shadow .18s ease;
}
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.review-card::after {
  content: '“';
  position: absolute; top: 8px; right: 16px;
  font-family: var(--font-serif); font-size: 56px; line-height: 1;
  color: rgba(49, 130, 246, .10); pointer-events: none;
}
.rc-top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.rc-av { width: 38px; height: 38px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.rc-top b { display: block; font-size: 14.5px; }
.rc-plan { margin-left: auto; font-family: var(--font-accent); font-size: 12px; font-weight: 400; padding: 3px 9px; border-radius: 99px; background: var(--surface-2); color: var(--ink-2); }
.review-card p { margin: 8px 0 0; font-family: var(--font-serif); font-size: 14.5px; color: var(--ink-2); line-height: 1.72; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.pg-btn { width: 34px; height: 34px; border-radius: 10px; font-size: 13.5px; font-weight: 700; border: 1px solid var(--line); background: var(--surface); }
.pg-btn.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* =========================================================
   고객센터
   ========================================================= */
.status-card-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line); text-align: left;
  box-shadow: var(--shadow-sm);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.status-card-btn:hover { border-color: var(--green); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.sc-txt b { display: block; font-size: 13.5px; }
.sc-txt span { font-size: 12px; color: var(--muted); }

.support-tabs {
  display: inline-flex; gap: 6px; padding: 5px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line);
  margin-bottom: 18px; box-shadow: var(--shadow-sm);
}
.st-btn {
  height: 38px; padding: 0 16px; border-radius: 10px;
  font-size: 13.5px; font-weight: 700; color: var(--muted);
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
}
.st-btn.active { background: var(--ink); color: #fff; }
.tab-cnt {
  padding: 1px 7px; border-radius: 99px; font-size: 11.5px;
  background: var(--surface-2); color: var(--ink-2);
}
.st-btn.active .tab-cnt { background: rgba(255, 255, 255, .2); color: #fff; }
.sp-panel { display: none; }
.sp-panel.active { display: block; animation: page-in .22s var(--ease-out); }
.narrow-card { max-width: 720px; }

/* 카테고리 페이지 뷰, 브레드크럼, 홈 허브, 법적 페이지 */
.page-view { display: none; min-height: calc(100dvh - 68px - 240px); }
.page-view.active { display: block; animation: page-in .24s var(--ease-out); }
@keyframes page-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--blue); text-decoration: underline; }
.breadcrumb b { color: var(--ink); }

.home-hub { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 28px; }
.hub-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  padding: 20px; display: flex; flex-direction: column; gap: 8px;
  box-shadow: var(--shadow-card);
  transition: transform .18s var(--ease-out), box-shadow .18s ease, border-color .18s ease;
}
.hub-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: #bfdbfe; }
.hub-ic { width: 46px; height: 46px; border-radius: 14px; background: var(--hc, var(--blue-soft)); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 4px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 4px 10px rgba(15, 23, 42, .06); }
.hub-card b { font-family: var(--font-accent); font-weight: 400; font-size: 17.5px; }
.hub-card p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; flex: 1; }
.hub-go { font-size: 12.5px; font-weight: 700; color: var(--blue); margin-top: 4px; }

.home-review-strip {
  padding: 22px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.hrs-title { font-family: var(--font-accent); font-weight: 400; font-size: 17.5px; display: block; margin-bottom: 2px; }

.legal-page-wrap { max-width: 840px; }
.legal-page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.legal-page-head h2 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 28px; text-shadow: 0 3px 12px rgba(15, 23, 42, .07); }

.support-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 22px; align-items: start; }
.panel-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: var(--shadow-card); }
.panel-title { margin: 0 0 4px; font-size: 18px; }
.faq-controls { display: flex; flex-direction: column; gap: 10px; margin: 14px 0; }
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq-q { width: 100%; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; font-size: 14px; font-weight: 700; }
.faq-q svg { flex-shrink: 0; transition: transform .2s ease; color: var(--muted); }
.faq-item.open .faq-q svg { transform: rotate(180deg); color: var(--blue); }
.faq-a { display: none; padding: 0 16px 14px; font-size: 13.5px; color: var(--ink-2); line-height: 1.6; }
.faq-item.open .faq-a { display: block; }
.faq-a p { margin: 0 0 10px; }
.faq-fb { display: flex; align-items: center; gap: 8px; }
.fb-chip { padding: 3px 9px; border-radius: 99px; border: 1px solid var(--line); font-size: 11.5px; display: inline-flex; align-items: center; gap: 4px; }
.fb-chip.on { background: var(--blue-soft); border-color: var(--blue); color: var(--blue); font-weight: 700; }

/* 폼 입력칸 */
.field-group { margin-bottom: 14px; }
.field-label { display: block; font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }
.text-input, .select-input, .textarea-input {
  width: 100%; border-radius: 12px; border: 1.5px solid var(--line);
  background: var(--surface); font-size: 14px; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.text-input, .select-input { height: 42px; padding: 0 12px; }
.textarea-input { padding: 10px 12px; resize: vertical; }
.text-input:focus, .select-input:focus, .textarea-input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.text-input.err, .textarea-input.err { border-color: var(--red); background: #fffafb; }
.text-input.ok { border-color: var(--green); }
.field-msg { margin: 5px 0 0; font-size: 12px; min-height: 16px; }
.field-msg.err { color: var(--red); }
.field-msg.ok { color: var(--green); }
.file-drop {
  display: flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 12px; border-radius: 12px;
  border: 1.5px dashed #cbd5e1; background: var(--bg-alt);
  font-size: 13px; color: var(--ink-2); cursor: pointer;
}
.file-drop:hover { border-color: var(--blue); color: var(--blue); }

.chk-line { display: flex; align-items: flex-start; gap: 8px; text-align: left; font-size: 13px; line-height: 1.45; }
.chk-line.bold { font-weight: 700; }
.chk-box {
  width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid #cbd5e1;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; color: transparent; flex-shrink: 0; margin-top: 1px;
}
.chk-line.on .chk-box { background: var(--blue); border-color: var(--blue); color: #fff; }

.tk-row { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border-radius: 12px; border: 1px solid var(--line); margin-bottom: 8px; }
.tk-no { font-family: var(--font-mono); font-size: 11.5px; font-weight: 700; color: var(--muted); }
.tk-row b { display: block; font-size: 13.5px; margin-bottom: 2px; }

/* 푸터 */
.site-footer { background: #191f28; color: #cbd5e1; padding: 54px 0 42px; font-size: 13.5px; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; padding-bottom: 34px; border-bottom: 1px solid #2d3748; }
.footer-brand .brand { color: #fff; margin-bottom: 10px; }
.footer-brand .brand-name b {
  background: linear-gradient(135deg, #60a5fa 0%, #a5b4fc 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: none;
}
.footer-brand p { margin: 0; color: #94a3b8; line-height: 1.6; max-width: 320px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer-col b { color: #fff; margin-bottom: 4px; font-size: 14px; }
.footer-col a, .footer-col button { color: #94a3b8; font-size: 13px; text-align: left; }
.footer-col a:hover, .footer-col button:hover { color: #fff; }
.strong-legal { color: #fff !important; font-weight: 700; text-decoration: underline; }
.footer-biz { padding-top: 22px; font-size: 12px; color: #94a3b8; line-height: 1.7; }
.footer-biz p { margin: 0 0 4px; }
.copyright { margin-top: 10px !important; color: #64748b; }

/* 모달 · 드로어 · 토스트 · 툴팁 · 쿠키 배너 */
.modal-ov, .drawer-ov {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.modal-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .5); opacity: 0; transition: opacity .2s ease; }
.modal-ov.open .modal-backdrop, .drawer-ov.open .modal-backdrop { opacity: 1; }
.modal-box {
  position: relative; z-index: 1; width: 100%; max-height: 88dvh;
  background: var(--surface); border-radius: 22px; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; overflow: hidden;
  transform: scale(.94); opacity: 0; transition: transform .22s var(--ease-out), opacity .18s ease;
}
.modal-ov.open .modal-box { transform: scale(1); opacity: 1; }
.modal-sm { max-width: 420px; }
.modal-md { max-width: 540px; }
.modal-lg { max-width: 720px; }
.modal-head { padding: 18px 22px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.modal-head h3 { margin: 0; font-family: var(--font-accent); font-weight: 400; font-size: 20px; }
.modal-cnt { padding: 20px 22px; overflow-y: auto; }
.modal-foot-actions { display: flex; gap: 8px; margin-top: 18px; }
.modal-foot-actions.col { flex-direction: column; }

.drawer-ov { justify-content: flex-end; padding: 0; }
.drawer-panel {
  position: relative; z-index: 1; width: min(320px, 86vw); height: 100%;
  background: var(--surface); padding: 20px; display: flex; flex-direction: column; gap: 6px;
  transform: translateX(100%); transition: transform .26s var(--ease-out);
}
.drawer-ov.open .drawer-panel { transform: translateX(0); }
.d-link { padding: 12px 10px; border-radius: 10px; font-weight: 600; font-size: 15px; }
.d-link:hover, .d-link.active { background: var(--blue-soft); color: var(--blue); }

/* 결제 모달 내부 */
.ck-steps { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.ck-step { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.ck-step i { width: 22px; height: 22px; border-radius: 50%; background: var(--surface-2); font-style: normal; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; }
.ck-step.now { color: var(--blue); }
.ck-step.now i { background: var(--blue); color: #fff; }
.ck-step.done { color: var(--green); }
.ck-step.done i { background: var(--green-soft); color: var(--green); }
.ck-steps em { flex: 1; height: 2px; background: var(--line); }

.ck-card { padding: 14px 16px; border-radius: 14px; background: var(--bg-alt); border: 1px solid var(--line); margin-bottom: 12px; }
.sum-line { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; padding: 5px 0; gap: 10px; }
.sum-line.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; font-size: 15.5px; font-weight: 800; }
.ck-promise { padding: 10px 12px; border-radius: 10px; background: var(--green-soft); color: #087f5b; font-size: 12.5px; font-weight: 600; margin-bottom: 16px; }
.pay-radios { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.pay-rad { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line); font-size: 13px; font-weight: 600; }
.pay-rad i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #cbd5e1; position: relative; }
.pay-rad.on { border-color: var(--blue); background: var(--blue-soft); color: var(--blue-dark); }
.pay-rad.on i { border-color: var(--blue); }
.pay-rad.on i::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--blue); }
.ck-agrees { padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); }
.agree-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 5px 0; }

.ck-done { position: relative; overflow: hidden; text-align: center; padding: 12px 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.done-circle { width: 60px; height: 60px; border-radius: 50%; background: var(--green-soft); color: var(--green); font-size: 28px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.bounce-in { animation: bounce-in .6s var(--spring); }
@keyframes bounce-in { 0% { transform: scale(.3); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }
.lic-box { width: 100%; padding: 12px 14px; border-radius: 12px; background: var(--bg-alt); border: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
.lic-box b { font-family: var(--font-mono); font-size: 14px; }
.confetti-bit { position: absolute; top: 35%; width: 7px; height: 11px; border-radius: 2px; pointer-events: none; animation: conf 1.3s ease-out forwards; }
@keyframes conf { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 100% { opacity: 0; transform: translate(var(--dx), calc(var(--dy) + 220px)) rotate(var(--r)); } }

/* 봇 상세 · 상태 · 법적 고지 · 쿠키 */
.bd-desc { margin: 8px 0 0; font-size: 14px; color: var(--ink-2); }
.bd-sub { margin: 16px 0 8px; font-size: 14px; }
.bd-list { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; color: var(--ink-2); }
.bd-cmds { display: flex; flex-wrap: wrap; gap: 6px; }
.status-banner-ok { padding: 12px 14px; border-radius: 12px; background: var(--green-soft); color: #087f5b; font-size: 13.5px; font-weight: 700; margin-bottom: 14px; }
.shard-list { display: flex; flex-direction: column; gap: 8px; }
.shard-row { display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); }
.shard-row b { display: block; font-size: 13.5px; }

.legal-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.legal-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.lt-btn { padding: 5px 10px; border-radius: 8px; background: var(--surface-2); font-size: 12px; font-weight: 600; color: var(--ink-2); }
.lt-btn.active { background: var(--ink); color: #fff; }
.legal-body { display: flex; flex-direction: column; gap: 14px; }
.legal-sec { padding: 14px; border-radius: 14px; background: var(--bg-alt); border: 1px solid var(--line); box-shadow: 0 2px 8px rgba(15, 23, 42, .03); }
.legal-sec h4 { margin: 0 0 6px; font-family: var(--font-serif); font-size: 15.5px; font-weight: 700; }
.legal-sec p { margin: 0; font-size: 13px; color: var(--ink-2); line-height: 1.65; }

.cookie-opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cookie-opt b { display: block; font-size: 13.5px; }
.cookie-opt p { margin: 2px 0 0; }
.cookie-banner {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 80;
  max-width: 980px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  padding: 16px 20px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.cb-txt { flex: 1; min-width: 240px; }
.cb-txt b { display: block; font-size: 14px; margin-bottom: 2px; }
.cb-txt span { font-size: 12.5px; color: var(--ink-2); }
.cb-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.quick-help-list { display: flex; flex-direction: column; gap: 8px; }
.qh-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; }
.qh-btn:hover { background: var(--bg-alt); border-color: var(--blue); }
.support-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 50;
  height: 46px; padding: 0 16px; border-radius: 99px;
  background: var(--ink); color: #fff; font-size: 13.5px;
  display: inline-flex; align-items: center; gap: 7px;
  box-shadow: var(--shadow-md);
}
.support-fab:hover { background: var(--blue); }

.toast-root { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 120; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
.toast-item, .snack-item {
  pointer-events: auto; background: rgba(25, 31, 40, .94); color: #fff;
  padding: 11px 16px; border-radius: 12px; font-size: 13.5px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 10px; box-shadow: var(--shadow-md);
}
.snack-act { color: #74b9ff; font-weight: 700; }
.toast-item.out, .snack-item.out { opacity: 0; transform: translateY(6px); transition: opacity .22s, transform .22s; }
.ui-tip {
  position: fixed; z-index: 130; max-width: 280px; padding: 9px 12px; border-radius: 10px;
  background: var(--ink); color: #fff; font-size: 12.5px; line-height: 1.45; box-shadow: var(--shadow-md);
  opacity: 0; transition: opacity .15s;
}
.ui-tip.show { opacity: 1; }
.empty-box { padding: 36px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.empty-box.compact { padding: 24px 12px; }
.span-all { grid-column: 1 / -1; }

/* 모바일 하단 탭바 & 샌드박스 모바일 역할 바 (데스크톱 숨김) */
.mob-tabbar { display: none; }
.sb-mob-roles { display: none; }

/* 반응형 */
@media (max-width: 1024px) {
  .hero-grid, .support-grid { grid-template-columns: 1fr; }
  .bot-grid, .plan-grid, .home-hub { grid-template-columns: repeat(2, 1fr); }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-links, #btnMySub { display: none; }
  .icon-btn.mob-menu-btn { display: inline-flex; }
}
@media (max-width: 768px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .bot-grid, .plan-grid, .review-grid, .trust-strip, .footer-top { grid-template-columns: 1fr; }

  /* 모바일 하단 고정 내비게이션 */
  .mob-tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 65;
    display: grid; grid-template-columns: repeat(5, 1fr);
    height: calc(60px + env(safe-area-inset-bottom));
    padding: 4px 6px calc(6px + env(safe-area-inset-bottom));
    background: var(--header-bg);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 18px rgba(26, 23, 20, .08);
  }
  .mt-link {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    font-size: 10.5px; font-weight: 600; color: var(--muted); border-radius: 10px;
  }
  .mt-link.active { color: var(--blue); }

  /* 하단 탭바 위 플로팅/토스트/쿠키 배너 배치 */
  .support-fab { right: 14px; bottom: calc(72px + env(safe-area-inset-bottom)); height: 42px; padding: 0 13px; font-size: 13px; }
  .toast-root { left: 14px; right: 14px; bottom: calc(74px + env(safe-area-inset-bottom)); transform: none; }
  .toast-item, .snack-item { width: 100%; justify-content: space-between; }
  .cookie-banner { left: 12px; right: 12px; bottom: calc(70px + env(safe-area-inset-bottom)); padding: 14px; }
  .cb-actions { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); }
  .cb-actions .btn { padding: 0 6px; font-size: 12.5px; }

  /* 기능 필터 가로 스크롤 & 100% 검색창 */
  .filter-bar { width: 100%; flex-direction: column; align-items: stretch; }
  .seg-tabs, .support-tabs { width: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .seg-tabs::-webkit-scrollbar, .support-tabs::-webkit-scrollbar { display: none; }
  .seg-tab, .st-btn { flex-shrink: 0; }
  .search-box { width: 100%; min-width: 0; }

  /* 샌드박스 모바일 최적화 */
  .scenario-chips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; width: 100%; }
  .sc-chip { height: 36px; padding: 0 8px; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sb-layout { grid-template-columns: 1fr; height: min(74dvh, 580px); min-height: 470px; }
  .sb-sidebar { border-right: 0; border-bottom: 1px solid #1e1f22; }
  .sb-server-head { padding: 10px 12px; }
  .sb-channels { flex-direction: row; padding: 6px 8px; overflow-x: auto; scrollbar-width: none; }
  .sb-channels::-webkit-scrollbar { display: none; }
  .sb-ch { flex-shrink: 0; padding: 7px 10px; font-size: 12.5px; }
  .sb-profile, .sb-ch-label { display: none; }
  .sb-main-head { padding: 10px 12px; }
  .sb-head-left p { font-size: 11px; }
  .sb-mob-roles {
    display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
    padding: 7px 12px; background: #2b2d31; border-bottom: 1px solid #26282e;
  }
  .sb-mob-rl { font-size: 11px; font-weight: 700; color: #949ba4; flex-shrink: 0; }
  .sb-body { padding: 12px; }
  .sb-msg { gap: 10px; }
  .sb-msg-av { width: 32px; height: 32px; font-size: 15px; }
  .sb-composer-wrap { padding: 8px 10px 10px; }
  .sb-quick-cmds { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .sb-quick-cmds::-webkit-scrollbar { display: none; }
  .sb-qbtn { flex-shrink: 0; }
  .sb-slash-item { flex-direction: column; align-items: flex-start; gap: 2px; }

  /* 요금제 계산기 · 비교표 고정 열 */
  .calc-bar { flex-direction: column; align-items: stretch; gap: 12px; padding: 14px 16px; }
  .calc-item { justify-content: space-between; width: 100%; }
  .compare-table th:first-child, .compare-table td:first-child {
    position: sticky; left: 0; background: var(--surface); z-index: 1;
    box-shadow: 2px 0 6px rgba(15, 23, 42, .05);
  }
  .compare-table thead th:first-child { background: var(--bg-alt); }
}

/* 모바일 모달 → 바텀시트 전환 */
@media (max-width: 640px) {
  .modal-ov { align-items: flex-end; padding: 0; }
  .modal-box {
    max-width: 100%; max-height: 90dvh;
    border-radius: 22px 22px 0 0;
    transform: translateY(100%);
    transition: transform .28s var(--ease-out), opacity .2s ease;
  }
  .modal-ov.open .modal-box { transform: translateY(0); }
  .modal-head { position: relative; padding: 22px 18px 14px; }
  .modal-head::before {
    content: ''; position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
    width: 38px; height: 4px; border-radius: 99px; background: var(--surface-3);
  }
  .modal-cnt { padding: 16px 18px calc(22px + env(safe-area-inset-bottom)); }
  /* iOS 자동 줌 방지 */
  input, select, textarea { font-size: 16px !important; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .header-inner { height: 58px; gap: 8px; }
  .brand-name { font-size: 17.5px; }
  .header-actions .btn-sm { height: 34px; padding: 0 11px; font-size: 12.5px; }
  .hero { padding: 28px 0 42px; }
  .status-badge { font-size: 11.5px; padding: 6px 12px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .hero-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
  .metric b { font-size: 19px; }
  .metric span { font-size: 11.5px; }
  .hero-card { padding: 14px; border-radius: 18px; }
  .hc-foot { flex-direction: column; align-items: flex-start; gap: 4px; }
  .section { padding: 48px 0; }
  .home-hub { grid-template-columns: 1fr; }
  .home-review-strip { padding: 16px; }
  .panel-card { padding: 16px; }
  .pay-radios { grid-template-columns: 1fr; }
  .ck-steps { gap: 4px; font-size: 11.5px; }
  .lic-box { flex-wrap: wrap; }
}

/* =========================================================
   부티크 호텔 다크 모드 세부 보정 & 신규 기능 스타일
   ========================================================= */
.pc-price b {
  background: var(--num-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.bot-card:hover, .hub-card:hover, .plan-card:hover { border-color: var(--blue); }
.hf-row.fresh { border-color: rgba(166, 124, 55, .45); background: var(--blue-soft); }
.compare-table .col-pro { background: var(--blue-soft); }
.sc-chip:hover { background: var(--surface-2); }
.site-footer { background: #14120f; border-top: 1px solid #2e271e; color: #cfc6b8; }
.footer-top { border-bottom-color: #2b251d; }
.footer-brand .brand-name b {
  background: linear-gradient(135deg, #ebd197 0%, #c5a059 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* 1. 상단 실시간 공지사항 띠 배너 */
.notice-bar {
  background: linear-gradient(90deg, #171410 0%, #241f18 50%, #171410 100%);
  color: #f3dfb2;
  border-bottom: 1px solid rgba(197, 160, 89, 0.35);
  font-size: 13px;
  position: relative;
  z-index: 62;
}
.nb-inner {
  min-height: 40px; padding: 6px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.nb-left { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.nb-badge {
  font-family: var(--font-accent); font-size: 11.5px; font-weight: 400;
  padding: 2px 9px; border-radius: 99px;
  background: rgba(197, 160, 89, 0.22); color: #ebd197;
  border: 1px solid rgba(235, 209, 151, 0.38);
  white-space: nowrap; flex-shrink: 0;
}
.nb-text { color: #f4efe6; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nb-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nb-link {
  color: #ebd197; font-weight: 700; font-size: 12.5px;
  padding: 3px 10px; border-radius: 99px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(235, 209, 151, 0.25);
  transition: background .15s;
}
.nb-link:hover { background: rgba(197, 160, 89, 0.25); }
.nb-close { color: #a89d8e; font-size: 13px; padding: 4px 6px; border-radius: 6px; }
.nb-close:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }

/* 2. 헤더 다크 모드 & 북마크 아이콘 버튼 */
.util-btn {
  height: 36px; padding: 0 11px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--surface);
  color: var(--ink-2); font-size: 12.5px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 5px;
  box-shadow: 0 2px 6px rgba(26, 23, 20, .04);
  transition: border-color .15s, background .15s, transform .14s;
}
.util-btn:hover { border-color: var(--blue); background: var(--surface-2); transform: translateY(-1px); }
.bm-cnt {
  padding: 1px 6px; border-radius: 99px;
  background: var(--blue-soft); color: var(--blue-dark);
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
}

/* 3. 명령어 복사 & 북마크 칩 */
.cmd-chip {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 8px; padding: 2px 4px 2px 7px;
  font-family: var(--font-mono); font-size: 11.5px;
  transition: border-color .15s, background .15s;
}
.cmd-chip:hover { border-color: var(--blue); background: var(--blue-soft); }
.cmd-copy-trigger { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink); padding: 1px 2px; }
.cmd-bm-trigger {
  width: 20px; height: 20px; border-radius: 5px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; color: var(--muted);
}
.cmd-bm-trigger:hover, .cmd-bm-trigger.on { color: var(--blue); background: rgba(166, 124, 55, .14); }

.bm-list { display: flex; flex-direction: column; gap: 8px; }
.bm-item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 14px; border-radius: 14px;
  background: var(--bg-alt); border: 1px solid var(--line);
}
.bm-item code { font-size: 13px; font-weight: 700; }

/* 4. 디스코드 봇 초대 & 서버 권한 계산기 모달 */
.perm-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px;
  margin: 12px 0 16px;
}
.perm-item {
  display: flex; align-items: flex-start; gap: 9px;
  padding: 10px 12px; border-radius: 12px;
  background: var(--bg-alt); border: 1px solid var(--line);
  text-align: left; font-size: 13px;
  transition: border-color .15s, background .15s;
}
.perm-item.on { border-color: var(--blue); background: var(--blue-soft); }
.perm-item b { display: block; font-size: 13px; margin-bottom: 2px; }
.perm-item span { font-size: 11.5px; color: var(--muted); display: block; }
.invite-preview-box {
  padding: 14px; border-radius: 14px;
  background: var(--bg-alt); border: 1px solid var(--line);
  margin-top: 12px;
}
.invite-url-code {
  display: block; width: 100%; padding: 10px 12px;
  border-radius: 10px; background: var(--surface);
  border: 1px solid var(--line); font-family: var(--font-mono);
  font-size: 12px; word-break: break-all; color: var(--ink-2);
  margin: 8px 0 12px;
}

/* 5. 관리자 전용 스튜디오 페이지 (#admin) */
.admin-stat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin-bottom: 22px;
}
.admin-stat-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; padding: 18px 20px;
  box-shadow: var(--shadow-card);
}
.admin-stat-card span { font-size: 12.5px; color: var(--muted); display: block; margin-bottom: 4px; }
.admin-stat-card b {
  font-family: var(--font-display); font-weight: 400; font-size: 28px;
  background: var(--num-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.admin-edit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.admin-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 20px; padding: 20px;
  box-shadow: var(--shadow-card);
}
.admin-card h4 { margin: 0 0 12px; font-family: var(--font-accent); font-weight: 400; font-size: 18px; }
.dns-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 10px; }
.dns-table th, .dns-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.dns-table th { background: var(--bg-alt); font-weight: 700; }

@media (max-width: 900px) {
  .admin-stat-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-edit-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nb-inner { padding: 6px 14px; }
  .nb-text { font-size: 12px; }
  .perm-grid { grid-template-columns: 1fr; }
  .admin-stat-grid { grid-template-columns: 1fr 1fr; }
}
