/*
 * app.css — CoinAnalysis 대시보드 디자인 시스템
 * 원본: 대시보드_UI_mockup__3_.html <style> 블록 그대로 이전
 * 색상/타이포 변수는 :root 에서 관리 (다크 테마 전용)
 */
  :root{
    --bg: #0A0E18;
    --surface: #121829;
    --surface-2: #1A2138;
    --surface-hover: #202A46;
    --border: #262F49;
    --border-soft: #1D2440;

    --mint: #33E0A6;
    --mint-dim: #1C6B54;
    --mint-bg: rgba(51,224,166,.10);

    --amber: #F2A93B;
    --amber-bg: rgba(242,169,59,.12);

    --red: #FF5F72;
    --red-bg: rgba(255,95,114,.10);

    --blue: #4C8CFF;
    --blue-bg: rgba(76,140,255,.10);

    --text: #ECF1FC;
    --text-muted: #8993AC;
    --text-faint: #57607C;

    --disp: 'Space Grotesk', sans-serif;
    --body: 'Inter', sans-serif;
    --mono: 'JetBrains Mono', monospace;

    --r-sm: 10px;
    --r-md: 14px;
    --r-lg: 20px;
  }

  * { box-sizing: border-box; margin:0; padding:0; }
  html,body{ height:100%; overflow-x:hidden; width:100%; }
  body{
    background: var(--bg);
    color: var(--text);
    font-family: var(--body);
    -webkit-font-smoothing: antialiased;
    overflow-x:hidden;
    width:100%;
  }
  ::selection{ background: var(--mint); color:#06110D; }
  a{ color:inherit; text-decoration:none; }
  button{ font-family:inherit; cursor:pointer; border:none; background:none; color:inherit; }

  /* ---------- layout shell ---------- */
  .app{ display:flex; min-height:100vh; }

  /* ---------- sidebar ---------- */
  .sidebar{
    width: 232px; flex-shrink:0; background: #080B14;
    border-right: 1px solid var(--border-soft);
    display:flex; flex-direction:column; padding: 22px 16px;
    position: sticky; top:0; height:100vh;
  }
  .brand{ display:flex; align-items:center; gap:10px; padding: 4px 8px 26px 8px; }
  .brand-mark{
    width:32px; height:32px; border-radius:9px;
    background: linear-gradient(155deg, var(--mint), #0FA378);
    display:flex; align-items:center; justify-content:center;
    font-family: var(--disp); font-weight:700; font-size:15px; color:#06110D;
    box-shadow: 0 0 0 1px rgba(51,224,166,.35), 0 6px 16px -6px rgba(51,224,166,.55);
  }
  .brand-name{ font-family: var(--disp); font-weight:600; font-size:15px; letter-spacing:.2px; }
  .brand-sub{ font-size:10.5px; color:var(--text-faint); font-family:var(--mono); letter-spacing:.4px; }

  .nav-group-label{ font-size:10.5px; color:var(--text-faint); text-transform:uppercase; letter-spacing:1.2px; padding: 16px 10px 8px; font-weight:600; }
  .nav-item{
    display:flex; align-items:center; gap:11px; padding: 10px 12px; border-radius: 10px;
    color: var(--text-muted); font-size:13.5px; font-weight:500; margin-bottom: 2px;
    position:relative; transition: background .15s, color .15s; cursor:pointer;
  }
  .nav-item:hover{ background: var(--surface-2); color: var(--text); }
  .nav-item.active{ background: var(--mint-bg); color: var(--mint); font-weight:600; }
  .nav-item.active::before{ content:''; position:absolute; left:-16px; top:8px; bottom:8px; width:3px; background: var(--mint); border-radius: 0 4px 4px 0; }
  .nav-icon{ width:17px; height:17px; flex-shrink:0; opacity:.9; }
  .nav-lock{ margin-left:auto; font-size:11px; color: var(--amber); font-family:var(--mono); }
  .nav-item.locked-nav{ color: var(--text-faint); }
  .nav-item.locked-nav:hover{ color: var(--amber); }
  .nav-item.locked-nav.active{ background: var(--amber-bg); color: var(--amber); }
  .nav-item.locked-nav.active::before{ background: var(--amber); }

  .sidebar-footer{ margin-top:auto; }
  .tier-card{ background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--border); border-radius: var(--r-md); padding: 14px; }
  .tier-card-top{ display:flex; align-items:center; justify-content:space-between; margin-bottom:8px; }
  .tier-name{ font-family: var(--disp); font-weight:600; font-size:13px; color: var(--mint); }
  .tier-badge{ font-size:9.5px; background: var(--mint); color:#06110D; padding:2px 7px; border-radius:20px; font-weight:700; }
  .tier-desc{ font-size:11px; color: var(--text-muted); line-height:1.5; margin-bottom:10px; }
  .tier-upgrade{ width:100%; padding:8px; border-radius:8px; background: transparent; border:1px solid var(--border); color: var(--text-muted); font-size:11.5px; font-weight:600; transition: all .15s; }
  .tier-upgrade:hover{ border-color: var(--mint); color: var(--mint); }

  /* ---------- main ---------- */
  .main{ flex:1; min-width:0; display:flex; flex-direction:column; }

  .topbar{
    height:64px; flex-shrink:0; display:flex; align-items:center; gap:18px; padding: 0 28px;
    border-bottom: 1px solid var(--border-soft); background: rgba(10,14,24,.7); backdrop-filter: blur(8px);
    position: sticky; top:0; z-index:20;
  }
  .search{ flex:1; max-width: 340px; display:flex; align-items:center; gap:8px; background: var(--surface); border:1px solid var(--border); border-radius:9px; padding:8px 12px; color: var(--text-faint); font-size:12.5px; }
  .search svg{ width:14px; height:14px; opacity:.7; }
  .topbar-right{ margin-left:auto; display:flex; align-items:center; gap:16px; }
  .icon-btn{ width:34px; height:34px; border-radius:9px; background: var(--surface); border:1px solid var(--border); display:flex; align-items:center; justify-content:center; color: var(--text-muted); position:relative; }
  .icon-btn svg{ width:15px; height:15px; }
  .dot-alert{ position:absolute; top:7px; right:7px; width:6px; height:6px; border-radius:50%; background: var(--red); box-shadow:0 0 0 2px var(--surface); }
  .avatar{ min-width:34px; height:34px; padding:0 10px; border-radius:9px; background: linear-gradient(155deg,#4C5CFF,#7A5CFF); display:flex; align-items:center; justify-content:center; font-family:var(--disp); font-weight:700; font-size:12.5px; white-space:nowrap; }

  .ticker-wrap{ border-bottom: 1px solid var(--border-soft); overflow: hidden; white-space: nowrap; background:#0D1220; }
  .ticker{ display:inline-flex; align-items:center; gap:34px; padding: 9px 0; animation: scroll-left 32s linear infinite; font-family: var(--mono); font-size:12px; }
  .ticker-wrap:hover .ticker{ animation-play-state: paused; }
  @keyframes scroll-left{ from{ transform:translateX(0);} to{ transform:translateX(-50%);} }
  .tick{ display:inline-flex; align-items:center; gap:7px; padding-left:34px; color: var(--text-muted); }
  .tick b{ color: var(--text); font-weight:600; }
  .tick.up{ color: var(--red); }
  .tick.down{ color: #66B2FF; }

  .content{ padding: 26px 28px 60px; max-width: 1360px; }
  .view{ display:none; }
  .view.active{ display:block; animation: fadein .25s ease; }
  @keyframes fadein{ from{opacity:0; transform:translateY(4px);} to{opacity:1; transform:translateY(0);} }

  .page-head{ display:flex; align-items:baseline; justify-content:space-between; margin-bottom:22px; flex-wrap:wrap; gap:10px; }
  .page-title{ font-family: var(--disp); font-size:24px; font-weight:600; }
  .page-sub{ color: var(--text-muted); font-size:12.5px; margin-top:4px; }
  .page-meta{ font-family: var(--mono); font-size:11.5px; color: var(--text-faint); }

  /* ---------- grids ---------- */
  .grid-hero{ display:grid; grid-template-columns: 1.62fr 1fr; gap:18px; margin-bottom:18px; }
  .grid-bottom{ display:grid; grid-template-columns: 1.4fr 1fr; gap:18px; margin-top:18px; }
  /* prevent grid tracks from refusing to shrink below a child's min-content width (e.g. wide tables) */
  .grid-hero > *, .grid-bottom > *, .detail-grid > *, .perf-grid > *, .mypage-grid > *,
  .wl-grid > *, .roadmap > *, .signal-grid > *, .tg-steps > *, .pricing-grid > *, .feature-grid-pub > * { min-width: 0; }

  .card{ background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px; }
  .card-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom: 16px; flex-wrap:wrap; gap:10px; }
  .card-eyebrow{ font-size:10.5px; letter-spacing:1.2px; text-transform:uppercase; color:var(--text-faint); font-weight:700; }
  .card-title{ font-family: var(--disp); font-size:16px; font-weight:600; margin-top:3px; }

  /* ---------- HERO: 종합평가 ---------- */
  .hero-eval{ position:relative; overflow:hidden; }
  .hero-eval::after{ content:''; position:absolute; right:-60px; top:-60px; width:260px; height:260px; border-radius:50%; background: radial-gradient(circle, rgba(51,224,166,.14), transparent 70%); pointer-events:none; }
  .hero-eval-body{ display:flex; gap:30px; align-items:center; position:relative; z-index:1; }
  .gauge-wrap{ position:relative; width:172px; height:172px; flex-shrink:0; }
  .gauge-ring{ width:172px; height:172px; border-radius:50%; background: conic-gradient(var(--mint) 0%, var(--border) 0%); display:flex; align-items:center; justify-content:center; transition: background 1.1s cubic-bezier(.16,.84,.44,1); }
  .gauge-inner{ width:132px; height:132px; border-radius:50%; background: var(--surface); display:flex; flex-direction:column; align-items:center; justify-content:center; box-shadow: inset 0 0 0 1px var(--border-soft); }
  .gauge-score{ font-family: var(--disp); font-size:34px; font-weight:700; line-height:1; color: var(--mint); }
  .gauge-grade{ font-family: var(--mono); font-size:11px; color: var(--text-muted); margin-top:5px; letter-spacing:.5px; }
  .gauge-label{ font-size:10px; color: var(--text-faint); margin-top:2px; }
  .hero-eval-info{ flex:1; min-width:0; }
  .eval-verdict{ display:flex; align-items:center; gap:9px; margin-bottom:8px; }
  .verdict-pill{ font-family: var(--mono); font-size:11.5px; font-weight:600; padding:4px 10px; border-radius:20px; background: var(--mint-bg); color: var(--mint); border: 1px solid rgba(51,224,166,.3); }
  .eval-headline{ font-family: var(--disp); font-size:19px; font-weight:600; line-height:1.35; margin-bottom:6px; }
  .eval-desc{ font-size:12.5px; color: var(--text-muted); line-height:1.6; margin-bottom:18px; max-width: 480px; }
  .eval-breakdown{ display:flex; flex-direction:column; gap:11px; }
  .bd-row{ display:grid; grid-template-columns: 108px 1fr 40px; align-items:center; gap:12px; }
  .bd-label{ font-size:11.5px; color: var(--text-muted); }
  .bd-track{ height:6px; border-radius:6px; background: var(--surface-2); overflow:hidden; }
  .bd-fill{ height:100%; border-radius:6px; }
  .bd-val{ font-family: var(--mono); font-size:11.5px; text-align:right; color: var(--text); }

  .market-card .state-badge{ display:inline-flex; align-items:center; gap:6px; background: var(--mint-bg); border:1px solid rgba(51,224,166,.3); color: var(--mint); padding: 5px 11px; border-radius: 20px; font-size:12px; font-weight:700; margin-bottom: 14px; }
  .state-badge .pulse{ width:7px; height:7px; border-radius:50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(51,224,166,.6); animation: pulse 2s infinite; }
  @keyframes pulse{ 0%{box-shadow:0 0 0 0 rgba(51,224,166,.55);} 70%{box-shadow:0 0 0 7px rgba(51,224,166,0);} 100%{box-shadow:0 0 0 0 rgba(51,224,166,0);} }
  .stat-line{ display:flex; align-items:baseline; justify-content:space-between; padding: 9px 0; border-bottom: 1px solid var(--border-soft); }
  .stat-line:last-of-type{ border-bottom:none; }
  .stat-k{ font-size:12px; color: var(--text-muted); }
  .stat-v{ font-family: var(--mono); font-size:13.5px; font-weight:600; }
  .stat-v.up{ color: var(--mint); }
  .spark{ margin-top:14px; }
  .spark svg{ width:100%; height:44px; display:block; }

  .funnel-row{ display:flex; align-items:center; gap:0; margin-top:6px; }
  .funnel-step{ flex:1; text-align:center; position:relative; padding: 0 6px; }
  .funnel-num{ font-family: var(--disp); font-size:26px; font-weight:700; }
  .funnel-lbl{ font-size:11.5px; color: var(--text-muted); margin-top:3px; }
  .funnel-sub{ font-size:9.5px; color: var(--text-faint); font-family: var(--mono); margin-top:2px; }
  .funnel-arrow{ color: var(--text-faint); font-size:16px; flex-shrink:0; padding-bottom: 18px; }
  .funnel-step.locked .funnel-num{ color: var(--amber); }
  .funnel-step.final{ background: var(--amber-bg); border-radius: var(--r-md); padding: 10px 6px; border: 1px dashed rgba(242,169,59,.45); cursor:pointer; }

  .table-toolbar{ display:flex; align-items:center; gap:14px; margin-bottom:16px; flex-wrap:wrap; }
  .toolbar-tabs{ display:flex; background: var(--surface-2); border-radius:9px; padding:3px; gap:2px; }
  .toolbar-tab{ padding:6px 13px; border-radius:7px; font-size:12px; color: var(--text-muted); font-weight:600; background:transparent; }
  .toolbar-tab.active{ background: var(--surface-hover); color: var(--text); }
  .toolbar-spacer{ flex:1; }
  .tier-toggle{ display:flex; align-items:center; gap:8px; font-size:11.5px; color: var(--text-muted); }
  .switch{ width:38px; height:20px; border-radius:20px; background: var(--surface-2); border:1px solid var(--border); position:relative; }
  .switch::after{ content:''; position:absolute; width:14px; height:14px; border-radius:50%; background: var(--text-muted); top:2px; left:2px; transition: all .18s; }
  .switch.on{ background: var(--mint-bg); border-color: rgba(51,224,166,.4); }
  .switch.on::after{ left:20px; background: var(--mint); }

  table{ width:100%; border-collapse: collapse; }
  thead th{ text-align:left; font-size:10.5px; color: var(--text-faint); text-transform:uppercase; letter-spacing:.6px; font-weight:700; padding: 0 12px 10px; border-bottom: 1px solid var(--border); }
  thead th.num{ text-align:right; }
  tbody td{ padding: 13px 12px; border-bottom: 1px solid var(--border-soft); font-size:12.5px; }
  tbody tr:last-child td{ border-bottom:none; }
  tbody tr{ transition: background .12s; }
  tbody tr:hover{ background: var(--surface-2); }
  td.num{ text-align:right; font-family: var(--mono); }

  .coin-cell{ display:flex; align-items:center; gap:10px; }
  .coin-icon{ width:28px; height:28px; border-radius:50%; flex-shrink:0; display:flex; align-items:center; justify-content:center; font-family: var(--disp); font-weight:700; font-size:10.5px; color:#06110D; }
  .coin-sym{ font-weight:600; font-size:13px; }
  .coin-name{ font-size:10.5px; color: var(--text-faint); }
  .star-btn{ color: var(--text-faint); font-size:15px; padding:2px; }
  .star-btn.active{ color: var(--amber); }
  .chg-pill{ font-family: var(--mono); font-size:11.5px; font-weight:600; padding:3px 8px; border-radius:6px; display:inline-block; }
  .chg-pill.up{ color: var(--mint); background: var(--mint-bg); }
  .chg-pill.down{ color: var(--red); background: var(--red-bg); }
  .score-cell{ display:flex; align-items:center; gap:8px; justify-content:flex-end; }
  .score-track{ width:54px; height:5px; border-radius:5px; background: var(--surface-2); overflow:hidden; }
  .score-fill{ height:100%; background: linear-gradient(90deg, var(--mint-dim), var(--mint)); }
  .gated{ filter: blur(5px); user-select:none; transition: filter .25s; }

  .locked-card .card-head{ margin-bottom:12px; }
  .lock-banner{ display:flex; align-items:center; gap:10px; background: var(--amber-bg); border:1px solid rgba(242,169,59,.3); border-radius: var(--r-sm); padding:10px 13px; margin-bottom:16px; }
  .lock-banner-icon{ font-size:16px; }
  .lock-banner-text{ font-size:11.5px; color: var(--amber); font-weight:600; line-height:1.4; }
  .lock-banner-text span{ display:block; font-weight:400; color: #D8A85E; font-size:10.5px; margin-top:2px; }
  .signal-preview{ position:relative; border-radius: var(--r-md); overflow:hidden; border:1px solid var(--border); }
  .signal-preview-blur{ filter: blur(7px); padding:16px; opacity:.8; }
  .sig-row{ display:flex; align-items:center; justify-content:space-between; padding:10px 0; border-bottom:1px solid var(--border-soft); font-size:12.5px; }
  .sig-row:last-child{ border-bottom:none; }
  .sig-badge{ font-family:var(--mono); font-weight:700; font-size:11px; padding:3px 9px; border-radius:6px; }
  .signal-preview-overlay{ position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; background: linear-gradient(180deg, rgba(18,24,41,.35), rgba(18,24,41,.85)); }
  .lock-icon-circle{ width:44px; height:44px; border-radius:50%; background: var(--amber-bg); border:1px solid rgba(242,169,59,.4); display:flex; align-items:center; justify-content:center; font-size:18px; }
  .cta-btn{ padding: 10px 20px; border-radius: 9px; font-size:12.5px; font-weight:700; background: var(--amber); color:#221503; }
  .cta-btn.mint{ background: var(--mint); color:#06110D; }
  .cta-note{ font-size:10.5px; color: var(--text-faint); }

  .tg-card{ display:flex; flex-direction:column; }
  .tg-icon{ width:46px; height:46px; border-radius:12px; background: linear-gradient(155deg,#3AB7F0,#1E90D6); display:flex; align-items:center; justify-content:center; margin-bottom:14px; }
  .tg-title{ font-family: var(--disp); font-size:16px; font-weight:600; margin-bottom:6px; }
  .tg-desc{ font-size:12px; color: var(--text-muted); line-height:1.6; margin-bottom:16px; }
  .tg-btn{ padding:11px 16px; border-radius:9px; background: var(--mint); color:#06110D; font-weight:700; font-size:12.5px; display:flex; align-items:center; justify-content:center; gap:8px; margin-top:auto; }
  .tg-status{ display:flex; align-items:center; gap:7px; font-size:11px; color: var(--text-faint); margin-top:10px; }
  .tg-status .dot{ width:6px; height:6px; border-radius:50%; background: var(--text-faint); }
  .tg-status.on .dot{ background: var(--mint); }
  .tg-status.on{ color: var(--mint); }

  /* ---------- watchlist ---------- */
  .watchlist-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:20px; flex-wrap:wrap; gap:12px; }
  .limit-chip{ font-family:var(--mono); font-size:12px; color:var(--text-muted); background:var(--surface-2); padding:6px 12px; border-radius:20px; border:1px solid var(--border); }
  .add-btn{ padding:9px 16px; border-radius:9px; background:var(--mint); color:#06110D; font-weight:700; font-size:12.5px; display:flex; align-items:center; gap:6px; }
  .wl-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap:16px; }
  .wl-card{ background: var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); padding:18px; transition: border-color .15s, transform .15s; }
  .wl-card:hover{ border-color: rgba(51,224,166,.35); transform: translateY(-2px); }
  .wl-card-top{ display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; }
  .wl-remove{ width:24px; height:24px; border-radius:7px; background:var(--surface-2); color:var(--text-faint); display:flex; align-items:center; justify-content:center; font-size:13px; }
  .wl-remove:hover{ color:var(--red); background:var(--red-bg); }
  .wl-price{ font-family:var(--mono); font-size:20px; font-weight:700; margin:10px 0 4px; }
  .wl-stats{ display:flex; gap:14px; margin-top:12px; padding-top:12px; border-top:1px solid var(--border-soft); }
  .wl-stat{ font-size:10.5px; color:var(--text-faint); }
  .wl-stat b{ display:block; font-family:var(--mono); font-size:12.5px; color:var(--text); font-weight:600; margin-top:2px; }
  .wl-empty{ border:1px dashed var(--border); border-radius:var(--r-lg); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; padding:38px 18px; color:var(--text-faint); font-size:12px; transition: all .15s; min-height: 168px; }
  .wl-empty:hover{ border-color: var(--mint); color: var(--mint); }
  .wl-empty .plus{ font-size:22px; }
  .wl-note{ text-align:center; font-size:11.5px; color:var(--text-faint); margin-top:18px; }
  .wl-hidden{ display:none !important; }

  /* ---------- coin detail ---------- */
  .detail-summary{ display:flex; align-items:center; justify-content:space-between; margin-bottom:18px; flex-wrap:wrap; gap:14px; }
  .detail-coin{ display:flex; align-items:center; gap:14px; }
  .detail-coin-icon{ width:44px; height:44px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-family:var(--disp); font-weight:700; font-size:15px; color:#06110D; }
  .detail-sym{ font-family:var(--disp); font-size:20px; font-weight:700; }
  .detail-name{ font-size:11.5px; color:var(--text-faint); }
  .detail-price{ font-family:var(--mono); font-size:22px; font-weight:700; margin-left:6px; }
  .coin-tabs{ display:flex; gap:8px; }
  .coin-tab{ padding:8px 16px; border-radius:9px; background:var(--surface); border:1px solid var(--border); font-size:12.5px; font-weight:600; color:var(--text-muted); }
  .coin-tab.active{ background: var(--mint-bg); border-color: rgba(51,224,166,.35); color:var(--mint); }
  .coin-search-box{ display:flex; gap:10px; align-items:center; }
  .coin-search-box input{ background:var(--surface-2); border:1px solid var(--border); border-radius:9px; padding:8px 14px; color:var(--text); font-size:13px; font-family:var(--body); width:280px; outline:none; transition:border-color .2s; }
  .coin-search-box input:focus{ border-color:var(--mint); }
  .coin-search-box input::placeholder{ color:var(--text-faint); }
  .coin-search-btn{ padding:8px 18px; border-radius:9px; background:var(--mint); color:#06110D; font-size:12.5px; font-weight:700; border:none; cursor:pointer; transition:opacity .2s; }
  .coin-search-btn:hover{ opacity:0.85; }
  .detail-grid{ display:grid; grid-template-columns: 1.6fr 1fr; gap:18px; }
  .chart-box{ height:280px; position:relative; }
  .chart-box svg{ width:100%; height:100%; }
  .chart-box canvas{ width:100% !important; height:100% !important; }
  .chart-levels{ display:flex; justify-content:space-between; margin-top:10px; font-family:var(--mono); font-size:10.5px; }
  .chart-levels .r{ color:var(--red); } .chart-levels .s{ color:var(--mint); }
  .indicator-list{ display:flex; flex-direction:column; gap:2px; }
  .ind-row{ display:flex; align-items:center; justify-content:space-between; padding:11px 0; border-bottom:1px solid var(--border-soft); }
  .ind-row:last-child{ border-bottom:none; }
  .ind-k{ font-size:12px; color:var(--text-muted); }
  .ind-v{ font-family:var(--mono); font-size:12.5px; font-weight:600; text-align:right; }
  .narrative-card{ margin-top:18px; }
  .narrative-tag{ display:inline-block; font-size:10px; color:var(--text-faint); background:var(--surface-2); padding:4px 10px; border-radius:20px; margin-bottom:14px; }
  .narrative-text{ font-size:13px; line-height:1.8; color:var(--text-muted); }

  /* ---------- signals (SC-10 full) ---------- */
  .locked-hero{ text-align:center; padding: 44px 20px 8px; }
  .locked-hero .lock-icon-circle{ width:60px; height:60px; margin:0 auto 18px; font-size:24px; }
  .locked-hero h2{ font-family:var(--disp); font-size:23px; margin-bottom:10px; font-weight:700; }
  .locked-hero p{ color:var(--text-muted); font-size:12.5px; max-width:480px; margin:0 auto 22px; line-height:1.75; }
  .roadmap{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin: 8px 0 26px; }
  .roadmap-step{ background: var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); padding:20px; position:relative; }
  .roadmap-step.current{ border-color: rgba(51,224,166,.4); background: var(--mint-bg); }
  .roadmap-num{ font-family:var(--disp); font-size:12px; color:var(--text-faint); font-weight:700; margin-bottom:8px; letter-spacing:.5px; }
  .roadmap-step.current .roadmap-num{ color:var(--mint); }
  .roadmap-title{ font-weight:700; font-size:13.5px; margin-bottom:6px; }
  .roadmap-desc{ font-size:11.5px; color:var(--text-muted); line-height:1.6; }
  .status-chip{ position:absolute; top:16px; right:16px; font-size:9px; font-weight:700; padding:3px 8px; border-radius:20px; background:var(--mint); color:#06110D; }
  .signal-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }
  .signal-grid .signal-preview{ height: 100%; }

  /* ---------- performance ---------- */
  .perf-stats{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-bottom:18px; }
  .perf-stat{ background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); padding:20px; }
  .perf-stat-label{ font-size:11px; color:var(--text-faint); margin-bottom:8px; }
  .perf-stat-value{ font-family:var(--disp); font-size:25px; font-weight:700; }
  .perf-stat-value.mint{ color:var(--mint); }
  .perf-grid{ display:grid; grid-template-columns: 1.5fr 1fr; gap:18px; }
  .equity-chart{ height:220px; }
  .trades-list{ display:flex; flex-direction:column; }
  .trade-row{ display:flex; align-items:center; gap:10px; padding:11px 0; border-bottom:1px solid var(--border-soft); }
  .trade-row:last-child{ border-bottom:none; }
  .result-icon{ width:24px; height:24px; border-radius:7px; display:flex; align-items:center; justify-content:center; font-size:11px; font-weight:700; flex-shrink:0; }
  .result-icon.win{ background:var(--mint-bg); color:var(--mint); }
  .result-icon.loss{ background:var(--red-bg); color:var(--red); }
  .trade-sym{ font-weight:600; font-size:12.5px; flex:1; }
  .trade-meta{ font-family:var(--mono); font-size:10.5px; color:var(--text-faint); }
  .trade-pct{ font-family:var(--mono); font-size:12.5px; font-weight:700; }
  .trade-pct.up{ color:var(--mint); } .trade-pct.down{ color:var(--red); }
  .conf-bars{ display:flex; flex-direction:column; gap:14px; margin-top:6px; }
  .conf-row{ display:grid; grid-template-columns:96px 1fr 44px; align-items:center; gap:12px; }
  .conf-label{ font-size:11.5px; color:var(--text-muted); font-family:var(--mono); }

  /* ---------- mypage ---------- */
  .profile-header{ display:flex; align-items:center; gap:16px; margin-bottom:22px; }
  .profile-avatar{ width:60px; height:60px; border-radius:16px; background:linear-gradient(155deg,#4C5CFF,#7A5CFF); display:flex; align-items:center; justify-content:center; font-family:var(--disp); font-weight:700; font-size:20px; flex-shrink:0; }
  .profile-name{ font-family:var(--disp); font-size:18px; font-weight:600; }
  .profile-email{ font-size:12px; color:var(--text-muted); margin-top:2px; }
  .profile-joined{ font-size:10.5px; color:var(--text-faint); margin-top:2px; font-family:var(--mono); }
  .mypage-grid{ display:grid; grid-template-columns:1.3fr 1fr; gap:18px; align-items:start; }
  .settings-row{ display:flex; align-items:center; justify-content:space-between; padding:13px 0; border-bottom:1px solid var(--border-soft); }
  .settings-row:last-child{ border-bottom:none; }
  .settings-label{ font-size:12.5px; }
  .settings-sub{ font-size:10.5px; color:var(--text-faint); margin-top:2px; }
  .link-btn{ font-size:11.5px; color:var(--mint); font-weight:600; }
  .link-btn.danger{ color:var(--red); }
  .mp-badgebar{ display:flex; align-items:center; justify-content:space-between; background:var(--mint-bg); border:1px solid rgba(51,224,166,.3); border-radius:var(--r-md); padding:14px 16px; margin-bottom:18px; }
  .mp-badge-tier{ font-family:var(--disp); font-weight:700; font-size:15px; color:var(--mint); }
  .mp-badge-sub{ font-size:11px; color:var(--text-muted); margin-top:2px; }

  /* ---------- telegram page ---------- */
  .connect-panel{ display:flex; gap:32px; align-items:flex-start; flex-wrap:wrap; }
  .qr-box{
    width:212px;
    height:212px;
    background:#ffffff;
    border-radius:12px;
    flex-shrink:0;
    border:6px solid white;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }
  .qr-box img{ border-radius:6px; }
  .connect-info{ flex:1; min-width:220px; }
  .tg-steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-top:22px; }
  .tg-step{ background:var(--surface-2); border-radius:var(--r-md); padding:16px; }
  .tg-step-num{ width:24px; height:24px; border-radius:50%; background:var(--surface-hover); display:flex; align-items:center; justify-content:center; font-family:var(--mono); font-size:11px; margin-bottom:10px; color:var(--text-muted); }
  .tg-step-title{ font-size:12.5px; font-weight:700; margin-bottom:4px; }
  .tg-step-desc{ font-size:11px; color:var(--text-faint); line-height:1.5; }
  .tg-status-row{ display:flex; align-items:center; justify-content:space-between; margin-top:20px; padding-top:18px; border-top:1px solid var(--border-soft); }
  .preview-bubble{ background:var(--surface-2); border-radius:14px 14px 14px 3px; padding:14px 16px; font-size:12px; line-height:1.75; max-width:360px; margin-top:16px; display:none; }
  .preview-bubble.show{ display:block; }
  .preview-bubble b{ color:var(--mint); }
  .preview-from{ font-size:10.5px; color:var(--text-faint); margin-bottom:6px; font-family:var(--mono); }

  .hamburger-btn{ display:none; }
  .sidebar-backdrop{ position:fixed; inset:0; background:rgba(5,7,12,.6); z-index:190; opacity:0; pointer-events:none; transition:opacity .2s; }
  .sidebar-backdrop.open{ opacity:1; pointer-events:auto; }

  @media (max-width: 1023px){
    .hamburger-btn{ display:flex; }
    .sidebar{
      position:fixed; left:0; top:0; height:100vh; z-index:200;
      transform:translateX(-100%); transition:transform .25s ease;
      box-shadow: 20px 0 60px rgba(0,0,0,.5);
    }
    .sidebar.open{ transform:translateX(0); }
    .grid-hero, .grid-bottom, .detail-grid, .perf-grid, .mypage-grid, .roadmap, .signal-grid, .wl-grid, .tg-steps{ grid-template-columns: 1fr; }
    .hero-eval-body{ flex-direction:column; align-items:flex-start; }
    .perf-stats{ grid-template-columns: repeat(2,1fr); }
    .pricing-grid{ grid-template-columns:repeat(2,1fr); }
    .wl-grid{ grid-template-columns:repeat(2,1fr); }
  }

  @media (max-width: 640px){
    .content{ padding:18px 16px 50px; }
    .page-head{ flex-direction:column; align-items:flex-start; gap:6px; }
    .page-meta{ order:3; }
    .search{ display:none; }
    .topbar{ padding:0 14px; gap:10px; }
    .perf-stats{ grid-template-columns:repeat(2,1fr); gap:10px; }
    .wl-grid{ grid-template-columns:1fr; }
    .funnel-row{ flex-direction:column; gap:8px; }
    .funnel-step{ width:100%; }
    .funnel-arrow{ transform:rotate(90deg); padding-bottom:0; }
    .pricing-grid{ grid-template-columns:1fr; }
    .price-card.reco{ transform:none; }
    .pay-tier-row{ grid-template-columns:repeat(2,1fr); }
    .pay-card-fields{ grid-template-columns:1fr; }
    .pay-method-row{ grid-template-columns:1fr; }
    .detail-summary{ flex-direction:column; align-items:flex-start; }
    .coin-tabs{ flex-wrap:wrap; }
    .auth-card{ padding:28px 22px; }
    .connect-panel{ flex-direction:column; align-items:center; text-align:center; }
    .qr-box{ margin:0 auto; }
    .card{ padding:16px; }
    .gauge-wrap{ width:140px; height:140px; }
    .gauge-ring{ width:140px; height:140px; }
    .gauge-inner{ width:104px; height:104px; }
    .gauge-score{ font-size:28px; }
    .table-scroll{ overflow-x:auto; -webkit-overflow-scrolling:touch; margin:0 -16px; padding:0 16px; }
    .table-scroll table{ min-width:620px; }
    .pub-nav{ padding:14px 16px; }
    .pub-nav-links{ gap:12px; }
    .pub-link{ font-size:11.5px; }
    .pub-cta{ padding:8px 12px; font-size:11.5px; }
    .brand-sub{ display:none; }
    .hero-actions{ flex-direction:column; align-items:stretch; }
    .hero-cta-primary, .hero-cta-secondary{ text-align:center; }
  }

  @media (max-width: 480px){
    .hero-pub h1{ font-size:27px; }
    .section-title{ font-size:22px; }
    .perf-stats{ grid-template-columns:1fr; }
    .pay-tier-row{ grid-template-columns:repeat(2,1fr); }
    .roadmap{ grid-template-columns:1fr; }
    .signal-grid{ grid-template-columns:1fr; }
    .tg-steps{ grid-template-columns:1fr; }
  }

  /* ================= PUBLIC PAGES ================= */
  .page{ display:none; }
  .page.active{ display:block; animation: fadein .25s ease; }

  .pub-wrap{ background: var(--bg); min-height:100vh; }
  .pub-nav{ display:flex; align-items:center; padding: 18px 48px; border-bottom:1px solid var(--border-soft); position:sticky; top:0; background:rgba(10,14,24,.85); backdrop-filter:blur(8px); z-index:30; }
  .pub-nav .brand{ padding:0; }
  .pub-nav-links{ margin-left:auto; display:flex; align-items:center; gap:26px; }
  .pub-link{ font-size:13px; color:var(--text-muted); font-weight:500; cursor:pointer; }
  .pub-link:hover{ color:var(--text); }
  .pub-cta{ padding:9px 18px; border-radius:9px; background:var(--mint); color:#06110D; font-weight:700; font-size:12.5px; cursor:pointer; }

  .hero-pub{ display:grid; grid-template-columns: 1fr 1fr; gap:50px; align-items:center; padding: 76px 48px 60px; max-width:1360px; margin:0 auto; }
  .hero-eyebrow{ display:inline-flex; align-items:center; gap:8px; font-family:var(--mono); font-size:11.5px; color:var(--mint); background:var(--mint-bg); border:1px solid rgba(51,224,166,.3); padding:6px 12px; border-radius:20px; margin-bottom:20px; }
  .hero-pub h1{ font-family:var(--disp); font-size:42px; font-weight:700; line-height:1.22; margin-bottom:18px; letter-spacing:-.3px; }
  .hero-pub h1 span{ color:var(--mint); }
  .hero-pub p{ font-size:14px; color:var(--text-muted); line-height:1.75; margin-bottom:28px; max-width: 460px; }
  .hero-actions{ display:flex; align-items:center; gap:14px; margin-bottom: 26px; flex-wrap:wrap; }
  .hero-cta-primary{ padding:13px 24px; border-radius:10px; background:var(--mint); color:#06110D; font-weight:700; font-size:13.5px; cursor:pointer; }
  .hero-cta-secondary{ padding:13px 24px; border-radius:10px; background:transparent; border:1px solid var(--border); color:var(--text-muted); font-weight:600; font-size:13.5px; cursor:pointer; }
  .hero-cta-secondary:hover{ border-color:var(--mint); color:var(--mint); }
  .hero-trust{ font-size:11.5px; color:var(--text-faint); }
  .hero-trust a{ color:var(--mint); font-weight:600; cursor:pointer; }

  .hero-visual{ position:relative; }
  .mock-browser{ background:var(--surface); border:1px solid var(--border); border-radius:16px; overflow:hidden; box-shadow: 0 30px 80px -20px rgba(0,0,0,.6); }
  .mock-chrome{ display:flex; align-items:center; gap:6px; padding:10px 14px; background:#0D1220; border-bottom:1px solid var(--border-soft); }
  .mock-dot{ width:8px;height:8px;border-radius:50%; background:var(--border); display:inline-block; }
  .mock-body{ padding:20px; }
  .mock-row{ display:flex; gap:14px; margin-bottom:16px; }
  .mock-gauge{ width:88px;height:88px;border-radius:50%; background:conic-gradient(var(--mint) 280deg, var(--border) 0); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
  .mock-gauge-inner{ width:64px;height:64px;border-radius:50%; background:var(--surface); display:flex; flex-direction:column; align-items:center; justify-content:center; }
  .mock-card{ flex:1; background:var(--surface-2); border-radius:12px; padding:14px; }
  .mock-bar{ height:6px; border-radius:4px; background:var(--surface-hover); margin-top:8px; overflow:hidden; }
  .mock-bar div{ height:100%; background:linear-gradient(90deg,var(--mint-dim),var(--mint)); }
  .mock-table-row{ display:flex; align-items:center; justify-content:space-between; padding:9px 0; border-bottom:1px solid var(--border-soft); font-size:11px; font-family:var(--mono); }
  .hero-visual-glow{ position:absolute; inset:-40px; background:radial-gradient(circle at 60% 30%, rgba(51,224,166,.16), transparent 60%); z-index:-1; }

  .section-pub{ max-width:1360px; margin:0 auto; padding: 10px 48px 90px; }
  .section-head{ text-align:center; max-width:560px; margin:0 auto 40px; }
  .section-eyebrow{ font-family:var(--mono); font-size:11px; color:var(--text-faint); letter-spacing:1px; text-transform:uppercase; margin-bottom:10px; }
  .section-title{ font-family:var(--disp); font-size:27px; font-weight:700; margin-bottom:12px; }
  .section-desc{ font-size:13px; color:var(--text-muted); line-height:1.7; }

  .feature-grid-pub{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
  .feature-card-pub{ background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); padding:26px; transition: transform .15s, border-color .15s; }
  .feature-card-pub:hover{ transform:translateY(-3px); border-color:rgba(51,224,166,.3); }
  .feature-icon-pub{ width:42px;height:42px;border-radius:11px; background:var(--mint-bg); display:flex; align-items:center; justify-content:center; margin-bottom:16px; color:var(--mint); }
  .feature-title-pub{ font-family:var(--disp); font-size:15.5px; font-weight:600; margin-bottom:8px; }
  .feature-desc-pub{ font-size:12px; color:var(--text-muted); line-height:1.7; }

  .pricing-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:14px; align-items:stretch; }
  .price-card{ background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); padding:22px 16px; display:flex; flex-direction:column; }
  .price-card.reco{ border-color:var(--mint); background:linear-gradient(160deg, var(--mint-bg), var(--surface)); position:relative; transform:scale(1.03); }
  .price-reco-badge{ position:absolute; top:-11px; left:50%; transform:translateX(-50%); background:var(--mint); color:#06110D; font-size:9.5px; font-weight:700; padding:3px 10px; border-radius:20px; white-space:nowrap; }
  .price-tier{ font-family:var(--disp); font-size:14.5px; font-weight:700; margin-bottom:6px; }
  .price-amount{ font-family:var(--mono); font-size:19px; font-weight:700; margin-bottom:4px; }
  .price-amount span{ font-size:10.5px; color:var(--text-faint); font-weight:400; }
  .price-desc{ font-size:10.5px; color:var(--text-muted); line-height:1.6; margin-bottom:16px; min-height:52px; }
  .price-cta{ margin-top:auto; padding:10px; border-radius:8px; text-align:center; font-size:11.5px; font-weight:700; background:var(--surface-2); color:var(--text); border:1px solid var(--border); cursor:pointer; }
  .price-card.reco .price-cta{ background:var(--mint); color:#06110D; border-color:var(--mint); }

  .pub-footer{ border-top:1px solid var(--border-soft); padding: 26px 48px; display:flex; align-items:center; justify-content:space-between; max-width:1360px; margin:0 auto; flex-wrap:wrap; gap:12px; }
  .pub-footer-links{ display:flex; gap:22px; }
  .pub-footer-links a{ font-size:11.5px; color:var(--text-faint); }
  .pub-footer-links a:hover{ color:var(--text-muted); }
  .pub-footer-copy{ font-size:10.5px; color:var(--text-faint); font-family:var(--mono); }

  /* ---------- auth pages ---------- */
  .auth-shell{ min-height:100vh; display:flex; align-items:center; justify-content:center; padding:40px 20px; position:relative; }
  .auth-shell::before{ content:''; position:absolute; inset:0; background: radial-gradient(circle at 20% 15%, rgba(51,224,166,.08), transparent 45%), radial-gradient(circle at 85% 80%, rgba(76,140,255,.06), transparent 45%); pointer-events:none; }
  .auth-card{ width:100%; max-width:400px; background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); padding:36px 32px; position:relative; z-index:1; }
  .auth-brand{ display:flex; align-items:center; gap:10px; justify-content:center; margin-bottom:26px; cursor:pointer; }
  .auth-title{ font-family:var(--disp); font-size:21px; font-weight:700; text-align:center; margin-bottom:6px; }
  .auth-sub{ font-size:12px; color:var(--text-muted); text-align:center; margin-bottom:26px; }
  .input-group{ margin-bottom:14px; }
  .input-label{ font-size:11.5px; color:var(--text-muted); margin-bottom:6px; display:block; font-weight:500; }
  .input-field{ width:100%; padding:11px 13px; border-radius:9px; background:var(--surface-2); border:1px solid var(--border); color:var(--text); font-size:13px; font-family:var(--body); }
  .input-field:focus{ outline:none; border-color:var(--mint); }
  .input-field::placeholder{ color:var(--text-faint); }
  .auth-row-between{ display:flex; align-items:center; justify-content:space-between; margin-bottom:18px; font-size:11.5px; }
  .check-row{ display:flex; align-items:center; gap:8px; color:var(--text-muted); }
  .check-row input{ accent-color: var(--mint); margin-top:2px; }
  .auth-submit{ width:100%; padding:12px; border-radius:9px; background:var(--mint); color:#06110D; font-weight:700; font-size:13px; margin-bottom:16px; cursor:pointer; }
  .auth-divider{ display:flex; align-items:center; gap:12px; margin:18px 0; }
  .auth-divider::before, .auth-divider::after{ content:''; flex:1; height:1px; background:var(--border); }
  .auth-divider span{ font-size:10.5px; color:var(--text-faint); }
  .social-btn{ width:100%; padding:11px; border-radius:9px; background:var(--surface-2); border:1px solid var(--border); color:var(--text); font-weight:600; font-size:12.5px; display:flex; align-items:center; justify-content:center; gap:10px; margin-bottom:10px; cursor:pointer; }
  .social-btn:hover{ border-color: var(--text-faint); }
  .auth-footer-link{ text-align:center; font-size:12px; color:var(--text-muted); margin-top:20px; }
  .auth-footer-link a{ color:var(--mint); font-weight:600; cursor:pointer; }

  @media (max-width: 900px){
    .hero-pub{ grid-template-columns:1fr; padding:50px 24px; }
    .feature-grid-pub{ grid-template-columns:1fr; }
    .pricing-grid{ grid-template-columns:repeat(2,1fr); }
    .price-card.reco{ transform:none; }
    .pub-nav{ padding:16px 20px; }
    .section-pub{ padding:10px 20px 60px; }
  }

  /* ---------- payment page (SC-04) ---------- */
  .simple-topbar{ display:flex; align-items:center; justify-content:space-between; padding:18px 40px; border-bottom:1px solid var(--border-soft); }
  .simple-back{ display:flex; align-items:center; gap:8px; font-size:12.5px; color:var(--text-muted); cursor:pointer; }
  .simple-back:hover{ color:var(--text); }
  .simple-shell{ max-width:640px; margin:0 auto; padding:40px 20px 80px; }
  .pay-tier-row{ display:grid; grid-template-columns:repeat(5,1fr); gap:8px; margin-bottom:22px; }
  .pay-tier-pill{ padding:10px 6px; border-radius:9px; background:var(--surface); border:1px solid var(--border); text-align:center; font-size:11px; font-weight:700; color:var(--text-muted); cursor:pointer; transition: all .15s; }
  .pay-tier-pill.active{ background:var(--mint-bg); border-color:rgba(51,224,166,.4); color:var(--mint); }
  .pay-summary{ display:flex; align-items:center; justify-content:space-between; background:var(--mint-bg); border:1px solid rgba(51,224,166,.3); border-radius:var(--r-md); padding:18px 20px; margin-bottom:20px; }
  .pay-summary-tier{ font-family:var(--disp); font-weight:700; font-size:17px; color:var(--mint); }
  .pay-summary-desc{ font-size:11.5px; color:var(--text-muted); margin-top:4px; max-width:280px; }
  .pay-summary-price{ font-family:var(--mono); font-size:20px; font-weight:700; text-align:right; }
  .pay-summary-price span{ display:block; font-size:10px; color:var(--text-faint); font-weight:400; margin-top:2px; }
  .pay-method-row{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-bottom:20px; }
  .pay-method{ padding:14px 10px; border-radius:9px; background:var(--surface); border:1px solid var(--border); text-align:center; font-size:11.5px; font-weight:600; color:var(--text-muted); cursor:pointer; display:flex; flex-direction:column; align-items:center; gap:8px; }
  .pay-method.active{ border-color:var(--mint); color:var(--mint); background:var(--mint-bg); }
  .pay-card-fields{ display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-bottom:18px; }
  .pay-card-fields .full{ grid-column:1 / -1; }
  .pay-terms{ font-size:10.5px; color:var(--text-faint); line-height:1.6; margin:16px 0 20px; }
  .pay-submit{ width:100%; padding:13px; border-radius:9px; background:var(--mint); color:#06110D; font-weight:700; font-size:13.5px; cursor:pointer; }
  .pay-submit:disabled{ opacity:.7; cursor:default; }
  .pay-secure{ display:flex; align-items:center; justify-content:center; gap:6px; font-size:10.5px; color:var(--text-faint); margin-top:14px; }

  /* ---------- terms page (SC-13) ---------- */
  .terms-shell{ max-width:760px; margin:0 auto; padding:50px 24px 90px; }
  .terms-title{ font-family:var(--disp); font-size:26px; font-weight:700; margin-bottom:8px; }
  .terms-updated{ font-size:11.5px; color:var(--text-faint); font-family:var(--mono); margin-bottom:34px; }
  .terms-notice{ background:var(--amber-bg); border:1px solid rgba(242,169,59,.3); border-radius:var(--r-md); padding:16px 18px; margin-bottom:32px; font-size:12.5px; color:var(--amber); line-height:1.7; font-weight:600; }
  .terms-section{ margin-bottom:26px; }
  .terms-section h3{ font-family:var(--disp); font-size:14.5px; font-weight:700; margin-bottom:10px; }
  .terms-section p{ font-size:12.5px; color:var(--text-muted); line-height:1.85; }
  .terms-section ol, .terms-section ul{ margin:8px 0 0 18px; }
  .terms-section li{ font-size:12.5px; color:var(--text-muted); line-height:1.85; }

  /* ---------- 모달 및 헤더 기능 (검색, 알림, 설정) ---------- */
  .modal{ position:fixed; inset:0; z-index:999; display:flex; align-items:center; justify-content:center; }
  .modal-backdrop{ position:absolute; inset:0; background:rgba(0,0,0,.7); backdrop-filter:blur(8px); }
  .modal-content{ position:relative; background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); max-width:90vw; max-height:90vh; overflow:hidden; box-shadow:0 24px 64px rgba(0,0,0,.5); }
  .modal-header{ display:flex; align-items:center; justify-content:space-between; padding:20px 24px; border-bottom:1px solid var(--border); }
  .modal-header h2{ font-family:var(--disp); font-size:18px; font-weight:700; }
  .modal-close-btn{ background:none; border:none; color:var(--text-muted); font-size:24px; cursor:pointer; padding:4px 8px; transition:color .2s; }
  .modal-close-btn:hover{ color:var(--text); }

  /* 검색 모달 */
  .search-modal-content{ width:600px; }
  .search-modal-header{ display:flex; align-items:center; gap:12px; padding:20px 24px; border-bottom:1px solid var(--border); }
  .search-modal-header input{ flex:1; background:var(--surface-2); border:1px solid var(--border); border-radius:var(--r-sm); padding:10px 14px; color:var(--text); font-size:13.5px; font-family:var(--body); outline:none; transition:border-color .2s; }
  .search-modal-header input:focus{ border-color:var(--mint); }
  .search-results{ max-height:400px; overflow-y:auto; }
  .search-result-item{ padding:14px 24px; border-bottom:1px solid var(--border-soft); cursor:pointer; transition:background .15s; }
  .search-result-item:hover{ background:var(--surface-hover); }
  .search-result-item:last-child{ border-bottom:none; }
  .search-coin-symbol{ font-family:var(--disp); font-size:14px; font-weight:700; color:var(--text); margin-bottom:4px; }
  .search-coin-name{ font-size:12px; color:var(--text-muted); }
  .search-empty{ padding:48px 24px; text-align:center; color:var(--text-faint); font-size:13px; }

  /* 알림 패널 */
  .notification-panel{ position:fixed; top:60px; right:20px; width:360px; background:var(--surface); border:1px solid var(--border); border-radius:var(--r-md); box-shadow:0 12px 32px rgba(0,0,0,.4); z-index:100; max-height:500px; overflow:hidden; display:flex; flex-direction:column; }
  .notification-header{ display:flex; align-items:center; justify-content:space-between; padding:14px 18px; border-bottom:1px solid var(--border); }
  .notification-header span{ font-family:var(--disp); font-size:13.5px; font-weight:700; }
  .notification-header button{ background:none; border:none; color:var(--mint); font-size:11.5px; cursor:pointer; font-weight:600; }
  .notification-header button:hover{ text-decoration:underline; }
  .notification-list{ flex:1; overflow-y:auto; }
  .notification-item{ padding:14px 18px; border-bottom:1px solid var(--border-soft); cursor:pointer; transition:background .15s; }
  .notification-item:hover{ background:var(--surface-hover); }
  .notification-item.unread{ background:var(--mint-bg); border-left:3px solid var(--mint); }
  .notification-item:last-child{ border-bottom:none; }
  .notification-title{ font-size:12.5px; font-weight:600; margin-bottom:4px; color:var(--text); }
  .notification-message{ font-size:11.5px; color:var(--text-muted); line-height:1.5; margin-bottom:4px; }
  .notification-time{ font-size:10.5px; color:var(--text-faint); font-family:var(--mono); }
  .notification-empty{ padding:48px 18px; text-align:center; color:var(--text-faint); font-size:12.5px; }

  /* 설정 모달 */
  .settings-modal-content{ width:540px; }
  .settings-body{ padding:24px; max-height:500px; overflow-y:auto; }
  .settings-section{ margin-bottom:28px; }
  .settings-section:last-child{ margin-bottom:0; }
  .settings-section h3{ font-family:var(--disp); font-size:14px; font-weight:700; margin-bottom:14px; color:var(--text); }
  .settings-item{ display:flex; align-items:center; gap:10px; padding:10px 0; font-size:12.5px; color:var(--text-muted); }
  .settings-item input[type="checkbox"]{ width:16px; height:16px; accent-color:var(--mint); cursor:pointer; }
  .settings-item strong{ color:var(--text); font-weight:600; }
  .btn-secondary{ background:var(--surface-2); border:1px solid var(--border); border-radius:var(--r-sm); padding:9px 18px; color:var(--text); font-size:12px; font-weight:600; cursor:pointer; transition:background .2s, border-color .2s; }
  .btn-secondary:hover{ background:var(--surface-hover); border-color:var(--mint); }

  /* 이용약관/개인정보처리방침 모달 */
  .terms-modal-content{ width:700px; max-height:80vh; }
  .terms-modal-body{ padding:24px; max-height:600px; overflow-y:auto; }
  .terms-modal-body .terms-section{ margin-bottom:24px; }
  .terms-modal-body .terms-section:last-child{ margin-bottom:0; }
  .terms-modal-body h3{ font-family:var(--disp); font-size:15px; font-weight:700; margin-bottom:12px; color:var(--text); }
  .terms-modal-body p{ font-size:13px; color:var(--text-muted); line-height:1.7; margin-bottom:8px; }
  .terms-modal-body ul, .terms-modal-body ol{ margin:8px 0 8px 20px; }
  .terms-modal-body li{ font-size:13px; color:var(--text-muted); line-height:1.7; margin-bottom:4px; }

  /* 배지 */
  .badge{ display:inline-block; padding:4px 8px; border-radius:4px; font-size:12px; font-weight:600; }
  .badge-success{ background:#d1fae5; color:#065f46; }
  .badge-danger{ background:#fee2e2; color:#991b1b; }
  .badge-secondary{ background:#e5e8ef; color:#4b5563; }

  /* 애니메이션 */
  @keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }
