/* ════════════════════════════════════════════════
   AI LEVEL — level.crowny.org
   디자인: 티옴타 표준 (초콜릿·크림·골드·잉크)
   ════════════════════════════════════════════════ */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

/* ── 변수 ── */
:root {
  --chocolate: #3B2A1D;
  --cream:     #F4EFE2;
  --gold:      #B58A4A;
  --ink:       #2B2018;
  --gold-lt:   #D4A853;
  --gold-dk:   #8B6914;
  --cream-dk:  #E8E0CC;
  --cream-dkr: #D8CDB5;
  --shadow:    rgba(43,32,24,0.10);
  --shadow-md: rgba(43,32,24,0.18);
  --radius:    14px;
  --radius-sm: 8px;
  --font-sans: 'Pretendard', 'Noto Sans KR', system-ui, -apple-system, sans-serif;
  --font-serif: 'Noto Serif KR', 'Pretendard', serif;
}

/* ── 리셋 ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--ink);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; }
.hidden { display: none !important; }

/* ── HEADER ── */
#header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--chocolate);
  border-bottom: 1px solid rgba(181,138,74,0.25);
  backdrop-filter: blur(8px);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 24px;
  height: 56px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
}
.logo-text {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--cream);
}
.header-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav-btn {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(244,239,226,0.7);
  transition: all .2s;
}
.nav-btn:hover,
.nav-btn.active {
  background: rgba(181,138,74,0.2);
  color: var(--gold-lt);
}
.header-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(181,138,74,0.2);
  border: 1px solid rgba(181,138,74,0.4);
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-lt);
  cursor: pointer;
}

/* ── PAGES ── */
.page { display: none; }
.page.active { display: block; }

/* ── HERO ── */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px 60px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 16px;
}
.gold-text { color: var(--gold); }
.hero-sub {
  font-size: 16px;
  color: rgba(43,32,24,0.65);
  line-height: 1.7;
  margin-bottom: 32px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
}
.stat-item { text-align: center; }
.stat-num {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
}
.stat-lbl {
  font-size: 11px;
  color: rgba(43,32,24,0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.stat-sep { color: var(--cream-dkr); font-size: 20px; }
.btn-start {
  font-size: 17px;
  padding: 14px 36px;
  border-radius: 30px;
}
.hero-visual {
  position: relative;
  width: 300px;
  flex-shrink: 0;
}
#hero-radar { display: block; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--gold);
  color: var(--cream);
  font-weight: 600;
  font-size: 15px;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 2px 12px rgba(181,138,74,0.35);
}
.btn-primary:hover {
  background: var(--gold-lt);
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(181,138,74,0.45);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled {
  background: var(--cream-dkr);
  color: rgba(43,32,24,0.35);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--cream-dkr);
  font-weight: 500;
  font-size: 14px;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  transition: all .2s;
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-dk);
  background: rgba(181,138,74,0.06);
}

/* ── ASSESSMENT ── */
.assessment { min-height: 80vh; padding: 40px 0 80px; }
.assess-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
}
.assess-topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
}
.btn-back { font-size: 14px; color: rgba(43,32,24,0.5); padding: 4px 0; }
.btn-back:hover { color: var(--ink); }
.assess-progress-wrap { flex: 1; }
.assess-progress-bar {
  height: 6px;
  background: var(--cream-dkr);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 6px;
}
.assess-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dk), var(--gold-lt));
  border-radius: 3px;
  transition: width .5s cubic-bezier(.4,0,.2,1);
}
.assess-progress-label { font-size: 12px; color: rgba(43,32,24,0.5); }
.axis-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(181,138,74,0.15);
  border: 1px solid rgba(181,138,74,0.3);
  color: var(--gold-dk);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.assess-axis-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
}
.assess-axis-desc {
  font-size: 14px;
  color: rgba(43,32,24,0.6);
  margin-bottom: 32px;
  line-height: 1.6;
}
.questions-wrap { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.question-card {
  background: #fff;
  border: 1.5px solid var(--cream-dkr);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: border-color .2s, box-shadow .2s;
}
.question-card.answered {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(181,138,74,0.12);
}
.question-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.question-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 16px;
  line-height: 1.5;
}
.options-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.option-btn {
  background: var(--cream);
  border: 1.5px solid var(--cream-dkr);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  font-size: 13px;
  color: var(--ink);
  text-align: left;
  line-height: 1.4;
  transition: all .15s;
}
.option-btn:hover {
  border-color: var(--gold);
  background: rgba(181,138,74,0.08);
  color: var(--gold-dk);
}
.option-btn.selected {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--cream);
  font-weight: 600;
}
.btn-assess-next { width: 100%; padding: 14px; font-size: 16px; border-radius: var(--radius-sm); }

/* ── USER FORM ── */
.user-form { padding: 60px 0; min-height: 70vh; }
.form-inner {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 24px;
}
.form-badge { font-size: 48px; text-align: center; margin-bottom: 16px; }
.form-inner h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  text-align: center;
  margin-bottom: 8px;
}
.form-sub { text-align: center; color: rgba(43,32,24,0.6); font-size: 14px; margin-bottom: 32px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.form-group input,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--cream-dkr);
  border-radius: var(--radius-sm);
  font-size: 15px;
  background: #fff;
  color: var(--ink);
  transition: border-color .2s;
}
.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(181,138,74,0.12);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.btn-submit { width: 100%; padding: 14px; font-size: 16px; border-radius: var(--radius-sm); margin-top: 8px; }

/* ── DASHBOARD ── */
.dash-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}
.dash-top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 40px;
}
.dash-profile { display: flex; align-items: center; gap: 24px; }
.level-badge-lg {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--chocolate), var(--gold-dk));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 24px rgba(181,138,74,0.4), 0 0 0 4px rgba(181,138,74,0.15);
  animation: badge-pulse 3s ease-in-out infinite;
}
@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 4px 24px rgba(181,138,74,0.4), 0 0 0 4px rgba(181,138,74,0.15); }
  50%       { box-shadow: 0 4px 32px rgba(181,138,74,0.6), 0 0 0 8px rgba(181,138,74,0.10); }
}
.lbadge-stage {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--gold-lt);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.lbadge-ci {
  font-size: 32px;
  font-weight: 800;
  color: var(--cream);
  line-height: 1;
}
.lbadge-sub { font-size: 10px; color: rgba(244,239,226,0.5); letter-spacing: 0.1em; }
.dash-profile-info h2 { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.dash-profile-info p { font-size: 13px; color: rgba(43,32,24,0.55); margin-bottom: 14px; }
.xp-wrap { width: 220px; }
.xp-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(43,32,24,0.5);
  margin-bottom: 6px;
}
.xp-track {
  height: 8px;
  background: var(--cream-dkr);
  border-radius: 4px;
  overflow: hidden;
}
.xp-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dk), var(--gold-lt));
  border-radius: 4px;
  transition: width 1.2s cubic-bezier(.4,0,.2,1);
}
.rank-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.rank-card {
  background: var(--chocolate);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  border: 1px solid rgba(181,138,74,0.2);
}
.rank-scope { font-size: 11px; color: rgba(244,239,226,0.55); margin-bottom: 8px; letter-spacing: 0.05em; }
.rank-num { font-size: 26px; font-weight: 800; color: var(--gold-lt); line-height: 1; margin-bottom: 4px; }
.rank-sub { font-size: 11px; color: rgba(244,239,226,0.4); }

/* ── DASHBOARD MID ── */
.dash-mid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
  align-items: start;
}
.panel-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dk);
  margin-bottom: 16px;
}
.radar-panel {
  background: #fff;
  border: 1px solid var(--cream-dkr);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}
#main-radar { display: block; margin: 0 auto; max-width: 100%; }
.insights-panel {
  background: #fff;
  border: 1px solid var(--cream-dkr);
  border-radius: var(--radius);
  padding: 24px;
}
.bottleneck-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--cream-dk);
}
.bottleneck-item:last-child { border-bottom: none; }
.bottleneck-rank {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(181,138,74,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--gold-dk);
  flex-shrink: 0;
}
.bottleneck-name { font-size: 13px; font-weight: 600; color: var(--ink); }
.tip-item {
  background: var(--cream);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(43,32,24,0.75);
  margin-bottom: 8px;
}
.tip-item:last-child { margin-bottom: 0; }

/* ── SHARE ── */
.share-panel {
  background: var(--chocolate);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 28px;
}
.share-panel .panel-title { color: var(--gold-lt); }
.share-card { display: flex; align-items: flex-start; gap: 16px; }
.share-card-inner {
  flex: 1;
  font-size: 14px;
  line-height: 1.8;
  color: var(--cream);
  white-space: pre-line;
}
.btn-copy {
  flex-shrink: 0;
  color: var(--gold-lt);
  border-color: rgba(181,138,74,0.4);
  font-size: 13px;
  padding: 8px 16px;
}
.btn-copy:hover { background: rgba(181,138,74,0.15); }
.dash-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* ── LEADERBOARD ── */
.lb-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}
.page-title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}
.page-sub { font-size: 14px; color: rgba(43,32,24,0.55); margin-bottom: 32px; }
.lb-tabs {
  display: flex;
  gap: 4px;
  background: var(--cream-dk);
  padding: 4px;
  border-radius: 10px;
  margin-bottom: 20px;
}
.lb-tab {
  flex: 1;
  padding: 8px 12px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(43,32,24,0.55);
  transition: all .2s;
}
.lb-tab.active {
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 1px 6px var(--shadow);
}
.lb-filter-row { margin-bottom: 16px; }
.lb-filter {
  padding: 9px 14px;
  border: 1.5px solid var(--cream-dkr);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 14px;
  color: var(--ink);
  min-width: 200px;
}
.lb-list { display: flex; flex-direction: column; gap: 8px; }
.lb-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--cream-dkr);
  border-radius: var(--radius);
  padding: 14px 20px;
  transition: box-shadow .2s;
}
.lb-row:hover { box-shadow: 0 2px 12px var(--shadow); }
.lb-row.me { border-color: var(--gold); background: rgba(181,138,74,0.05); }
.lb-row.rank-1 { border-color: #D4A853; background: rgba(212,168,83,0.08); }
.lb-row.rank-2 { border-color: #C0C0C0; }
.lb-row.rank-3 { border-color: #CD7F32; }
.lb-medal { font-size: 22px; width: 32px; text-align: center; }
.lb-rank-num { width: 32px; text-align: center; font-size: 14px; font-weight: 700; color: rgba(43,32,24,0.4); }
.lb-info { flex: 1; }
.lb-name { font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.lb-country { font-size: 12px; color: rgba(43,32,24,0.5); }
.lb-stage-badge {
  padding: 3px 9px;
  border-radius: 12px;
  background: rgba(181,138,74,0.12);
  font-size: 11px;
  font-weight: 600;
  color: var(--gold-dk);
}
.lb-ci { font-size: 20px; font-weight: 800; color: var(--ink); text-align: right; }
.lb-ci-label { font-size: 10px; color: rgba(43,32,24,0.4); text-align: right; }

/* ── TASKBOARD ── */
.tb-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}
.task-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}
.task-card {
  background: #fff;
  border: 1.5px solid var(--cream-dkr);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow .2s, border-color .2s, transform .15s;
  position: relative;
  overflow: hidden;
}
.task-card:hover {
  box-shadow: 0 4px 20px var(--shadow-md);
  transform: translateY(-2px);
}
.task-card.locked {
  opacity: 0.6;
}
.task-card.locked::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 6px,
    rgba(0,0,0,0.025) 6px,
    rgba(0,0,0,0.025) 12px
  );
  pointer-events: none;
  border-radius: var(--radius);
}
.task-card.claimable { border-color: var(--gold); }
.task-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.task-title { font-size: 15px; font-weight: 700; line-height: 1.4; }
.difficulty-stars { color: var(--gold); font-size: 13px; flex-shrink: 0; }
.task-axes { display: flex; flex-wrap: wrap; gap: 4px; }
.task-axis-tag {
  padding: 2px 8px;
  border-radius: 10px;
  background: rgba(181,138,74,0.1);
  font-size: 11px;
  color: var(--gold-dk);
  font-weight: 500;
}
.task-desc { font-size: 13px; color: rgba(43,32,24,0.65); line-height: 1.6; }
.task-rewards {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-top: 6px;
  border-top: 1px solid var(--cream-dk);
}
.reward-chip {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.icon-mam { color: #e05555; }
.icon-pone { color: var(--gold-dk); }
.task-min-ci {
  margin-left: auto;
  font-size: 11px;
  color: rgba(43,32,24,0.4);
}
.task-footer { display: flex; justify-content: flex-end; }
.btn-claim {
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
}
.btn-lock {
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: rgba(43,32,24,0.4);
  border: 1px solid var(--cream-dkr);
  cursor: default;
}

/* ── CLAIM MODAL ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(43,32,24,0.55);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  max-width: 480px;
  width: 100%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cream);
  font-size: 18px;
  color: rgba(43,32,24,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background .2s;
}
.modal-close:hover { background: var(--cream-dk); color: var(--ink); }
.modal-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  background: rgba(181,138,74,0.12);
  color: var(--gold-dk);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.modal-box h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.modal-box p { font-size: 14px; color: rgba(43,32,24,0.6); margin-bottom: 20px; line-height: 1.6; }
.reward-preview {
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin-bottom: 16px;
}
.reward-preview h4 { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-dk); margin-bottom: 12px; }
.quality-row { margin-bottom: 12px; }
.quality-row label { font-size: 13px; color: var(--ink); display: block; margin-bottom: 6px; }
.quality-row input[type="range"] { width: 100%; accent-color: var(--gold); }
.reward-row { display: flex; gap: 20px; }
.reward-label { font-size: 11px; color: rgba(43,32,24,0.5); }
.modal-box .form-group { margin-bottom: 16px; }
.modal-box textarea {
  width: 100%;
  padding: 10px 13px;
  border: 1.5px solid var(--cream-dkr);
  border-radius: var(--radius-sm);
  font-size: 14px;
  resize: vertical;
  transition: border-color .2s;
  color: var(--ink);
}
.modal-box textarea:focus { outline: none; border-color: var(--gold); }
.btn-claim-go { width: 100%; padding: 13px; font-size: 15px; border-radius: var(--radius-sm); }

/* ── LEVEL UP OVERLAY ── */
.levelup-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(43,32,24,0.7);
}
.confetti-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.levelup-content {
  position: relative;
  z-index: 1;
  text-align: center;
  animation: levelup-in .6s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes levelup-in {
  from { transform: scale(0.5); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}
.levelup-icon {
  font-size: 72px;
  display: block;
  margin-bottom: 12px;
  animation: icon-spin 1s ease-in-out;
}
@keyframes icon-spin {
  from { transform: rotate(-20deg) scale(0.8); }
  to   { transform: rotate(0deg)   scale(1); }
}
.levelup-word {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--gold-lt);
  text-shadow: 0 0 40px rgba(212,168,83,0.8), 0 0 80px rgba(212,168,83,0.4);
  margin-bottom: 8px;
  animation: glow-pulse 1.5s ease-in-out infinite alternate;
}
@keyframes glow-pulse {
  from { text-shadow: 0 0 20px rgba(212,168,83,0.6); }
  to   { text-shadow: 0 0 50px rgba(212,168,83,1), 0 0 80px rgba(212,168,83,0.5); }
}
.levelup-stage { font-size: 22px; font-weight: 700; color: var(--cream); margin-bottom: 8px; }
.levelup-sub { font-size: 15px; color: rgba(244,239,226,0.7); margin-bottom: 24px; line-height: 1.6; }
.levelup-content .btn-primary { min-width: 140px; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 50px 24px 40px; }
  .hero-visual { display: flex; justify-content: center; }
  .dash-mid { grid-template-columns: 1fr; }
  #main-radar { width: 300px !important; height: 300px !important; }
  .rh-count { font-size: clamp(44px, 12vw, 80px); }
}
@media (max-width: 600px) {
  .header-nav { gap: 0; }
  .nav-btn { padding: 6px 9px; font-size: 12px; }
  .options-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .share-card { flex-direction: column; }
  .task-grid { grid-template-columns: 1fr; }
  .rh-count { font-size: 40px; }
  .mode-cards { grid-template-columns: 1fr 1fr; }
  .tier-band { flex-direction: column; align-items: flex-start; }
  .dash-profile-strip { flex-direction: column; gap: 12px; }
}

/* ════════════════════════════════════════════════
   v2 추가 스타일
   ════════════════════════════════════════════════ */

/* ── 모드 선택 ── */
.mode-select {
  min-height: 70vh;
  padding: 40px 0 80px;
}
.mode-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}
.btn-back-sm {
  font-size: 13px;
  color: rgba(43,32,24,0.5);
  padding: 4px 0;
  margin-bottom: 20px;
  display: inline-block;
}
.btn-back-sm:hover { color: var(--ink); }
.mode-title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}
.mode-sub { font-size: 15px; color: rgba(43,32,24,0.6); margin-bottom: 32px; }
.mode-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.mode-card {
  background: #fff;
  border: 2px solid var(--cream-dkr);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, transform .15s;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mode-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(181,138,74,0.2);
  transform: translateY(-2px);
}
.mode-card-icon { font-size: 32px; margin-bottom: 4px; }
.mode-card-label { font-size: 17px; font-weight: 700; color: var(--ink); }
.mode-card-desc { font-size: 13px; color: rgba(43,32,24,0.6); line-height: 1.5; }
.mode-card-count {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  background: rgba(181,138,74,0.12);
  font-size: 11px;
  color: var(--gold-dk);
  font-weight: 600;
  margin-top: 4px;
  width: fit-content;
}
.mode-card-skeleton {
  background: linear-gradient(90deg, var(--cream-dk) 25%, var(--cream-dkr) 50%, var(--cream-dk) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius);
  height: 160px;
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.mode-error { color: rgba(43,32,24,0.5); text-align: center; padding: 40px; }

/* ── 진단 — 단일 질문 ── */
.mode-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.mode-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(181,138,74,0.15);
  border: 1px solid rgba(181,138,74,0.3);
  color: var(--gold-dk);
  font-size: 12px;
  font-weight: 600;
}
.quick-note {
  font-size: 12px;
  color: rgba(43,32,24,0.45);
}
.single-q-wrap {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 40px;
}
.assess-error {
  text-align: center;
  color: rgba(43,32,24,0.5);
  padding: 40px;
}

/* ── 빠른 미리보기 ── */
.quick-preview {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}
.preview-inner {
  max-width: 500px;
  width: 100%;
  text-align: center;
}
.preview-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dk);
  margin-bottom: 8px;
}
.preview-intro {
  font-size: 15px;
  color: rgba(43,32,24,0.6);
  margin-bottom: 32px;
}
.preview-rank-display {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}
.preview-world-label {
  font-size: 14px;
  color: rgba(43,32,24,0.5);
}
.preview-rank-num {
  font-family: var(--font-serif);
  font-size: 52px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.preview-rank-unit {
  font-size: 18px;
  color: rgba(43,32,24,0.6);
}
.preview-range {
  font-size: 14px;
  color: rgba(43,32,24,0.65);
  margin-bottom: 8px;
}
.preview-caution {
  font-size: 12px;
  color: rgba(43,32,24,0.4);
  margin-bottom: 32px;
  line-height: 1.5;
}
.preview-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* ── 단계 게이트 (적응형 세부 진단 권유) ── */
.stage-gate {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}
.sg-inner {
  max-width: 520px;
  width: 100%;
  text-align: center;
  background: linear-gradient(135deg, rgba(59,42,29,0.05), rgba(181,138,74,0.08));
  border: 1.5px solid rgba(181,138,74,0.35);
  border-radius: var(--radius);
  padding: 36px 32px;
}
.sg-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}
.sg-candidate {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 20px;
  background: rgba(212,140,85,0.16);
  border: 1px solid rgba(212,140,85,0.4);
  color: #8a5522;
  font-size: 13px;
  margin-bottom: 18px;
}
.sg-candidate strong { color: #8a5522; }
.sg-summary {
  font-size: 15px;
  color: rgba(43,32,24,0.75);
  line-height: 1.7;
  margin-bottom: 12px;
}
.sg-summary strong { color: var(--gold-dk); }
.sg-motiv {
  font-size: 13px;
  color: rgba(43,32,24,0.55);
  line-height: 1.6;
  margin-bottom: 28px;
}
.sg-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* 심화 문항 뱃지 */
.deep-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 10px;
  background: rgba(212,140,85,0.18);
  color: #8a5522;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  vertical-align: middle;
}

/* ── 결과 히어로 (카운트다운) ── */
.result-hero {
  text-align: center;
  padding: 60px 24px 40px;
  position: relative;
}
.result-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(181,138,74,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.rh-eyebrow {
  font-size: 14px;
  font-weight: 600;
  color: rgba(43,32,24,0.5);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.rh-count {
  font-family: var(--font-serif);
  font-size: clamp(52px, 10vw, 96px);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
  text-shadow: 0 2px 20px rgba(181,138,74,0.3);
}
.rh-unit {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
}
.rh-range {
  font-size: 15px;
  color: rgba(43,32,24,0.6);
  margin-bottom: 4px;
}
.rh-note {
  font-size: 12px;
  color: rgba(43,32,24,0.4);
  margin-bottom: 24px;
}

/* ── e배수 레벨 사다리 ── */
.level-block {
  position: relative;
  max-width: 560px;
  margin: 0 auto 28px;
  padding: 22px 24px 20px;
  background: linear-gradient(135deg, rgba(59,42,29,0.04), rgba(181,138,74,0.07));
  border: 1.5px solid rgba(181,138,74,0.3);
  border-radius: var(--radius);
}
.level-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
}
.level-badge-word {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--gold-dk);
}
.level-badge-num {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  text-shadow: 0 2px 14px rgba(181,138,74,0.35);
}
.level-badge-max {
  font-size: 20px;
  font-weight: 600;
  color: rgba(43,32,24,0.45);
}
.level-bar {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin-bottom: 14px;
}
.level-cell {
  flex: 1;
  max-width: 18px;
  height: 14px;
  border-radius: 3px;
  background: var(--cream-dkr);
  transition: background .35s ease, transform .35s ease;
}
.level-cell.filled { background: var(--cream-dkr); }
.level-cell.filled.on {
  background: linear-gradient(180deg, var(--gold-lt), var(--gold-dk));
  transform: scaleY(1.15);
}
.level-next {
  font-size: 14px;
  color: rgba(43,32,24,0.7);
  margin-bottom: 8px;
}
.level-next strong { color: var(--gold-dk); }
.level-extra-row {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}
.breadth-chip {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 14px;
  background: rgba(181,138,74,0.14);
  border: 1px solid rgba(181,138,74,0.3);
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-dk);
}
.level-desc {
  font-size: 11.5px;
  color: rgba(43,32,24,0.5);
  line-height: 1.55;
}

/* 빠른 미리보기 레벨 한 줄 */
.preview-level {
  font-size: 14px;
  color: rgba(43,32,24,0.7);
  margin-bottom: 4px;
}
.preview-level strong { color: var(--gold-dk); font-size: 16px; }

.rh-sub-ranks {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}
.rh-sub-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: rgba(43,32,24,0.65);
}
.rh-flag { font-size: 18px; }
.rh-sub-label { font-weight: 600; }
.rh-sub-val strong { color: var(--gold-dk); font-size: 16px; }

/* ── 티어 + 등급 배지 ── */
.tier-band {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 0 24px 32px;
  max-width: 1100px;
  margin: 0 auto;
}
.tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.tier-1 { background: rgba(106,173,106,0.15); color: #4a8a4a; border: 1.5px solid rgba(106,173,106,0.4); }
.tier-2 { background: rgba(85,153,212,0.15); color: #336699; border: 1.5px solid rgba(85,153,212,0.4); }
.tier-3 { background: rgba(212,140,85,0.15); color: #8a5522; border: 1.5px solid rgba(212,140,85,0.4); }
.tier-4 { background: rgba(201,69,69,0.15); color: #8a1c1c; border: 1.5px solid rgba(201,69,69,0.4); }
.tier-label-text { font-weight: 400; font-size: 12px; opacity: 0.85; }
.stage-badge {
  display: inline-block;
  padding: 5px 13px;
  border-radius: 20px;
  background: rgba(43,32,24,0.08);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.grade-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}
.ci-display {
  font-size: 13px;
  color: rgba(43,32,24,0.5);
  font-weight: 500;
}

/* ── 프로필 스트립 ── */
.dash-profile-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto 32px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--cream-dkr);
  border-radius: var(--radius);
}
.profile-name { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.profile-loc { font-size: 13px; color: rgba(43,32,24,0.5); }
.profile-xp { flex: 1; max-width: 300px; }

/* ── needsApproval ── */
.needs-approval {
  max-width: 1100px;
  margin: 0 auto 32px;
  padding: 28px 32px;
  background: rgba(212,140,85,0.08);
  border: 1.5px solid rgba(212,140,85,0.35);
  border-radius: var(--radius);
}
.approval-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(212,140,85,0.2);
  color: #8a5522;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}
.needs-approval p {
  font-size: 14px;
  color: rgba(43,32,24,0.7);
  margin-bottom: 16px;
  line-height: 1.6;
}
.needs-approval .form-group { margin-bottom: 12px; }
.needs-approval textarea {
  width: 100%;
  padding: 10px 13px;
  border: 1.5px solid rgba(212,140,85,0.4);
  border-radius: var(--radius-sm);
  font-size: 14px;
  resize: vertical;
  transition: border-color .2s;
  color: var(--ink);
}
.needs-approval textarea:focus { outline: none; border-color: var(--gold); }
.claim-result { margin-top: 10px; font-size: 14px; }
.claim-ok { color: #4a8a4a; }
.claim-err { color: #c94545; }

/* ── 대시보드 래퍼 ── */
.dash-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 0 80px;
}

/* ── 라운지 ── */
.lounge-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}
.lounge-header-row {
  margin-bottom: 24px;
}
.lounge-tier-tabs {
  display: flex;
  gap: 4px;
  background: var(--cream-dk);
  padding: 4px;
  border-radius: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.lounge-tab {
  flex: 1;
  min-width: 80px;
  padding: 8px 12px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(43,32,24,0.55);
  transition: all .2s;
}
.lounge-tab.active {
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 1px 6px var(--shadow);
}
.lounge-tab.locked {
  opacity: 0.5;
  cursor: not-allowed;
}
.lounge-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.lounge-tier-info {
  font-size: 13px;
  color: rgba(43,32,24,0.55);
}
.btn-sm {
  padding: 7px 14px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}
.lounge-posts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lounge-post-card {
  background: #fff;
  border: 1px solid var(--cream-dkr);
  border-radius: var(--radius);
  padding: 16px 20px;
  cursor: pointer;
  transition: box-shadow .2s, border-color .2s;
}
.lounge-post-card:hover {
  border-color: var(--gold);
  box-shadow: 0 2px 12px var(--shadow);
}
.lpost-top { margin-bottom: 8px; }
.lpost-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.4;
}
.lpost-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(43,32,24,0.5);
}
.lpost-grade-badge {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
}
.lpost-author { font-weight: 500; }
.lpost-date { margin-left: auto; }
.lpost-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.lpost-preview {
  font-size: 13px;
  color: rgba(43,32,24,0.55);
  line-height: 1.5;
  flex: 1;
}
.lpost-comment-count {
  font-size: 12px;
  color: rgba(43,32,24,0.4);
  flex-shrink: 0;
}
.lounge-empty {
  text-align: center;
  padding: 60px;
  color: rgba(43,32,24,0.4);
  font-size: 15px;
}

/* ── 라운지 상세 ── */
.btn-back-lounge {
  font-size: 13px;
  margin-bottom: 20px;
  display: inline-block;
  color: rgba(43,32,24,0.55);
  padding: 6px 0;
}
.lounge-post-content {
  background: #fff;
  border: 1px solid var(--cream-dkr);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 24px;
}
.lpost-detail-header { margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--cream-dk); }
.lpost-detail-title { font-family: var(--font-serif); font-size: 22px; font-weight: 700; margin-bottom: 10px; line-height: 1.3; }
.lpost-detail-meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(43,32,24,0.55); }
.lpost-detail-body { font-size: 15px; line-height: 1.8; color: var(--ink); }

/* ── 댓글 ── */
.comment-section { margin-top: 8px; }
.comment-title { font-size: 14px; font-weight: 700; color: var(--gold-dk); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px; }
.lounge-comments { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.comment-empty { font-size: 14px; color: rgba(43,32,24,0.4); padding: 20px 0; }
.comment-item {
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}
.comment-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(43,32,24,0.5);
  margin-bottom: 6px;
}
.comment-author { font-weight: 600; }
.comment-date { margin-left: auto; }
.comment-body { font-size: 14px; color: var(--ink); line-height: 1.6; }
.comment-form { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.comment-form textarea {
  width: 100%;
  padding: 10px 13px;
  border: 1.5px solid var(--cream-dkr);
  border-radius: var(--radius-sm);
  font-size: 14px;
  resize: vertical;
  font-family: inherit;
  color: var(--ink);
  transition: border-color .2s;
}
.comment-form textarea:focus { outline: none; border-color: var(--gold); }
.comment-locked {
  padding: 16px;
  background: var(--cream);
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 14px;
  color: rgba(43,32,24,0.6);
}
.comment-locked p { margin-bottom: 10px; }

/* ── 글쓰기 ── */
.write-title { font-size: 20px; font-weight: 700; margin: 16px 0 20px; }
.lounge-write-view .form-group { margin-bottom: 16px; }
.lounge-write-view .form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.lounge-write-view input,
.lounge-write-view textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--cream-dkr);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  resize: vertical;
  transition: border-color .2s;
}
.lounge-write-view input:focus,
.lounge-write-view textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(181,138,74,0.12); }
.write-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 8px; }

/* ── 작업보드 티어 탭 ── */
.taskboard-tier-tabs {
  display: flex;
  gap: 4px;
  background: var(--cream-dk);
  padding: 4px;
  border-radius: 10px;
  margin-bottom: 24px;
  width: fit-content;
}
.lounge-link {
  color: var(--gold-dk);
  cursor: pointer;
  text-decoration: underline;
  font-size: 13px;
}

/* ── 관리자 패널 ── */
.admin-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}
.admin-login-form {
  max-width: 380px;
  background: #fff;
  border: 1px solid var(--cream-dkr);
  border-radius: var(--radius);
  padding: 32px;
}
.admin-login-form .form-group { margin-bottom: 16px; }
.admin-login-form .form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.admin-login-form input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--cream-dkr);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  transition: border-color .2s;
}
.admin-login-form input:focus { outline: none; border-color: var(--gold); }
.admin-msg { margin-top: 12px; font-size: 14px; }
.admin-section-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dk);
  margin-bottom: 12px;
}
.pending-list { display: flex; flex-direction: column; gap: 12px; }
.pending-card {
  background: #fff;
  border: 1px solid var(--cream-dkr);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.pending-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(43,32,24,0.7);
  margin-bottom: 10px;
}
.pending-date { color: rgba(43,32,24,0.4); font-size: 12px; }
.pending-status {
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
}
.status-pending  { background: rgba(212,140,85,0.15); color: #8a5522; }
.status-approved { background: rgba(106,173,106,0.15); color: #4a8a4a; }
.status-rejected { background: rgba(201,69,69,0.15);  color: #8a1c1c; }
.pending-proof {
  font-size: 13px;
  color: rgba(43,32,24,0.65);
  line-height: 1.6;
  padding: 10px 12px;
  background: var(--cream);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  word-break: break-word;
}
.pending-actions { display: flex; gap: 10px; }

/* ── 로딩 공통 ── */
.lb-loading {
  text-align: center;
  padding: 40px;
  color: rgba(43,32,24,0.4);
  font-size: 14px;
}

/* ── 공유 패널 ── */
.share-panel {
  background: var(--chocolate);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin: 0 24px 28px;
}
.share-panel .panel-title { color: var(--gold-lt); }
.share-card { display: flex; align-items: flex-start; gap: 16px; }
.share-card-inner {
  flex: 1;
  font-size: 14px;
  line-height: 1.8;
  color: var(--cream);
  white-space: pre-line;
}
.btn-copy { flex-shrink: 0; color: var(--gold-lt); border-color: rgba(181,138,74,0.4); font-size: 13px; padding: 8px 16px; }
.btn-copy:hover { background: rgba(181,138,74,0.15); }
.dash-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  padding: 0 24px;
}

/* ── 레이더/인사이트 패널 ── */
.dash-mid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 0 24px 32px;
  align-items: start;
}
.radar-panel {
  background: #fff;
  border: 1px solid var(--cream-dkr);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}
#main-radar { display: block; margin: 0 auto; max-width: 100%; }
.insights-panel {
  background: #fff;
  border: 1px solid var(--cream-dkr);
  border-radius: var(--radius);
  padding: 24px;
}
.bottleneck-item { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--cream-dk); }
.bottleneck-item:last-child { border-bottom: none; }
.bottleneck-rank { width: 22px; height: 22px; border-radius: 50%; background: rgba(181,138,74,0.15); display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; color: var(--gold-dk); flex-shrink: 0; }
.bottleneck-name { font-size: 13px; font-weight: 600; color: var(--ink); }
.bottleneck-score { margin-left: auto; font-size: 12px; color: rgba(43,32,24,0.4); }
.tip-item { background: var(--cream); border-left: 3px solid var(--gold); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 10px 14px; font-size: 13px; line-height: 1.6; color: rgba(43,32,24,0.75); margin-bottom: 8px; }
.tip-item:last-child { margin-bottom: 0; }

/* ── 해시 앵커용 작은 어드민 링크 ── */
.footer-admin-link {
  display: block;
  text-align: center;
  font-size: 10px;
  color: transparent;
  padding: 8px;
}
.footer-admin-link:hover { color: rgba(43,32,24,0.15); }
