@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800&display=swap');

    :root {
      --bg: #fafafa;
      --surface: #ffffff;
      --secondary: #666666;
      --tertiary: #999999;
      --border: #eeeeee;
      --accent: #111111;
      --ease: cubic-bezier(0.16, 1, 0.3, 1);
    }

    * {
      font-family: 'Pretendard', 'Apple SD Gothic Neo', sans-serif;
      box-sizing: border-box;
      -webkit-font-smoothing: antialiased;
    }

    body {
      background: var(--bg);
      color: var(--accent);
      min-height: 100dvh;
      margin: 0;
      line-height: 1.5;
    }

    /* Noise overlay - very subtle */
    body::before {
      content: '';
      position: fixed;
      inset: 0;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.02'/%3E%3C/svg%3E");
      pointer-events: none;
      z-index: 100;
      opacity: 0.5;
    }

    /* Scrollbar */
    ::-webkit-scrollbar { width: 6px; }
    ::-webkit-scrollbar-track { background: var(--bg); }
    ::-webkit-scrollbar-thumb { background: #ddd; border-radius: 10px; }
    ::-webkit-scrollbar-thumb:hover { background: #ccc; }

    /* Layout */
    .glass-nav {
      background: rgba(255, 255, 255, 0.8);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border);
    }

    /* Hero / Home State */
    .hero-section {
      background: var(--bg);
      border-bottom: 1px solid transparent;
      padding-top: 15dvh;
      padding-bottom: 50px;
      transition: all 0.4s var(--ease);
      overflow: hidden;
    }

    .hero-title {
      font-family: 'Outfit', sans-serif;
      font-size: clamp(3rem, 8vw, 5.5rem);
      font-weight: 800;
      letter-spacing: -0.05em;
      line-height: 1;
      color: var(--accent);
      margin-bottom: 24px;
      transition: all 0.3s var(--ease);
    }

    .hero-subtitle {
      color: var(--secondary);
      font-size: 1.125rem;
      font-weight: 400;
      margin-bottom: 40px;
      transition: all 0.3s var(--ease);
    }

    /* Search Mode (Results) */
    .search-mode .hero-section {
      padding-top: 20px;
      padding-bottom: 10px;
      border-bottom: 1px solid var(--border);
    }

    .search-mode .hero-title {
      font-size: 1.5rem;
      margin-bottom: 4px;
      display: none; /* Hide big title during results */
    }

    .search-mode .hero-subtitle {
      display: none;
    }

    .search-mode .hero-badge {
      display: none;
    }

    .search-mode .db-selector-wrap {
      display: none;
    }

    .search-mode .home-only {
      display: none;
    }

    /* .search-mode .glass-nav — 검색 모드에서도 nav 유지 (홈 이동 위해) */

    .search-mode-only {
      display: none;
    }

    .search-mode .search-mode-only {
      display: block;
    }

    .search-mode .home-only {
      display: none;
    }

    /* Search */
    .search-input {
      background: var(--surface);
      border: 1px solid #ddd;
      border-radius: 999px; /* Pill shape */
      padding: 1.1rem 1.75rem;
      padding-left: 3.5rem; /* Space for icon */
      font-size: 1.05rem;
      width: 100%;
      max-width: 650px;
      outline: none;
      transition: all 0.2s var(--ease);
      box-shadow: 0 1px 6px rgba(32,33,36,0.1);
    }

    .search-input:focus, .search-input:hover {
      box-shadow: 0 1px 8px rgba(32,33,36,0.16);
      border-color: transparent;
    }

    /* Buttons */
    .btn-primary {
      background: #f8f9fa;
      color: #3c4043;
      padding: 10px 24px;
      border-radius: 4px;
      font-weight: 500;
      font-size: 14px;
      border: 1px solid transparent;
      cursor: pointer;
      transition: all 0.15s;
    }

    .btn-primary:hover {
      box-shadow: 0 1px 1px rgba(0,0,0,0.1);
      background-image: linear-gradient(top,#f8f8f8,#f1f1f1);
      background-color: #f8f9fa;
      border: 1px solid #c6c6c6;
      color: #202124;
    }

    .btn-secondary {
      background: #f8f9fa;
      color: #3c4043;
      padding: 10px 24px;
      border-radius: 4px;
      font-weight: 500;
      font-size: 14px;
      border: 1px solid transparent;
      cursor: pointer;
      transition: all 0.15s;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
    }

    .btn-secondary:hover {
      box-shadow: 0 1px 1px rgba(0,0,0,0.1);
      background-color: #f8f9fa;
      border: 1px solid #c6c6c6;
      color: #202124;
    }

    /* Tabs */
    .tab-btn {
      padding: 0.375rem 1rem;
      border-radius: 4px;
      font-size: 0.8125rem;
      font-weight: 500;
      color: var(--tertiary);
      cursor: pointer;
      border: 1px solid transparent;
      transition: all 0.2s;
    }

    .tab-btn:hover { color: var(--accent); }
    .tab-btn.active {
      color: var(--accent);
      background: #f0f0f0;
      font-weight: 600;
    }

    /* DB Selector */
    .db-btn {
      padding: 0.5rem 1.25rem;
      border-radius: 999px;
      font-weight: 600;
      font-size: 0.8125rem;
      color: var(--secondary);
      cursor: pointer;
      border: none;
      background: transparent;
      transition: all 0.2s;
    }

    .db-btn.active {
      background: #111 !important;
      color: white !important;
    }
    
    .db-toggle-wrap { background: #fff; }
    .search-mode .db-toggle-wrap { border-color: transparent; box-shadow: none; padding: 0; background: transparent;}
    .search-mode .db-btn { font-size: 0.875rem; color: var(--tertiary); }
    .search-mode .db-btn.active { background: transparent !important; color: #111 !important; border-bottom: 2px solid #111; border-radius: 0; padding-bottom: 2px; }

    /* Cards */
    .result-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 1.75rem;
      transition: border-color 0.3s;
    }

    .result-card:hover {
      border-color: #bbbbbb;
    }

    .badge {
      font-size: 0.7rem;
      font-weight: 700;
      padding: 0.2rem 0.5rem;
      border-radius: 3px;
      text-transform: uppercase;
      background: #f0f0f0;
      color: #777;
    }

    .badge-arti { background: #111; color: #fff; }
    .badge-patent { background: #eee; color: #111; border: 1px solid #ddd; }
    .badge-report { background: #f5f5f5; color: #666; border: 1px solid #eee; }
    .badge-ntis-prjt { background: #111; color: #fff; }
    .badge-ntis-requip { background: #eee; color: #111; border: 1px solid #ddd; }

    .tag {
      background: #f8f8f8;
      border: 1px solid #eee;
      color: #888;
      font-size: 0.75rem;
      padding: 0.125rem 0.4rem;
      border-radius: 4px;
    }

    .abstract-text {
      color: #444;
      font-size: 0.9rem;
      line-height: 1.6;
      margin-top: 1rem;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    /* Modal */
    .modal-bg {
      position: fixed;
      inset: 0;
      background: rgba(255, 255, 255, 0.8);
      backdrop-filter: blur(8px);
      z-index: 1000;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .modal-box {
      background: white;
      border: 1px solid #ddd;
      border-radius: 12px;
      padding: 2.5rem;
      width: 100%;
      max-width: 500px;
      box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    }

    /* Others */
    .api-status-pill { border: 1px solid #eee; background: white; }
    .hero-badge { background: #f0f0f0; color: #555; }
    
    .stat-card {
      background: white;
      border: 1px solid var(--border);
      transition: all 0.3s var(--ease);
    }
    .stat-card:hover {
      border-color: var(--accent);
      transform: translateY(-2px);
    }
    .spinner {
      border: 2px solid #f3f3f3;
      border-top: 2px solid var(--accent);
      border-radius: 50%;
      width: 30px; height: 30px;
      animation: spin 0.8s linear infinite;
    }
    @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

    .fade-up { animation: fadeUp 0.6s var(--ease) both; }
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .page-btn {
      width: 34px; height: 34px;
      border: 1px solid #eee;
      background: white;
      color: #888;
      border-radius: 4px;
      cursor: pointer;
    }
    .page-btn.active { background: var(--accent); color: white; border-color: var(--accent); }
    .toast {
      background: var(--accent); color: white;
      border-radius: 8px; padding: 1rem 2rem;
    }
    .input-field {
      border: 1px solid #eee; padding: 0.75rem; border-radius: 6px; width: 100%;
    }
    .input-field:focus { border-color: #999; outline: none; }
    .type-icon { background: #f5f5f5; color: #111; }

    /* Analysis Dashboard Styles */
    .analysis-card {
      background: #ffffff;
      border: 1px solid #e5e7eb;
      border-radius: 16px;
      overflow: hidden;
      transition: all 0.4s var(--ease);
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    }
    .analysis-header {
      background: linear-gradient(135deg, #111 0%, #333 100%);
      color: white;
      padding: 1.25rem 1.5rem;
    }
    .analysis-body { padding: 1.5rem; }
    .stat-badge {
      padding: 0.5rem 1rem;
      border-radius: 999px;
      font-size: 0.75rem;
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
    }
    .blue-ocean { background: #eff6ff; color: #1d4ed8; border: 1px solid #dbeafe; }
    .gauge-container {
      height: 12px;
      background: #f3f4f6;
      border-radius: 6px;
      overflow: hidden;
      position: relative;
    }
    .gauge-fill {
      height: 100%;
      background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
      border-radius: 6px;
      transition: width 1.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    .analysis-tag {
      font-size: 0.65rem;
      font-weight: 700;
      padding: 0.2rem 0.5rem;
      border-radius: 4px;
      text-transform: uppercase;
      background: #f9fafb;
      color: #6b7280;
      border: 1px solid #e5e7eb;
    }
    .btn-analysis {
      background: #111;
      color: white;
      padding: 10px 24px;
      border-radius: 4px;
      font-weight: 500;
      font-size: 14px;
      border: 1px solid #111;
      cursor: pointer;
      transition: all 0.2s;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
    }
    .btn-analysis:hover {
      background: #333;
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }
    .analysis-loading-pulse {
      animation: pulse 2s infinite;
    }
    @keyframes pulse {
      0% { opacity: 1; }
      50% { opacity: 0.5; }
      100% { opacity: 1; }
    }
    .search-icon-wrap { position: relative; width: 100%; max-width: 650px; }
    .search-icon-wrap .search-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); pointer-events: none; color: #9ca3af; z-index: 10; }
    .modal-box-wide { max-width: 760px; width: 95vw; }

    /* =========================================================
       적정 연구비 산출 기능 스타일
    ========================================================= */
    .budget-modal-bg {
      position: fixed; inset: 0;
      background: rgba(255,255,255,0.85);
      backdrop-filter: blur(10px);
      z-index: 2000;
      display: flex; align-items: center; justify-content: center;
      padding: 1rem;
    }
    .budget-modal-box {
      background: #fff;
      border: 1px solid #e5e7eb;
      border-radius: 16px;
      padding: 2rem;
      width: 100%;
      max-width: 680px;
      max-height: 90vh;
      overflow-y: auto;
      box-shadow: 0 24px 60px rgba(0,0,0,0.12);
    }
    .budget-result-box {
      max-width: 920px;
    }
    .budget-step-bar {
      display: flex; gap: 4px; margin-bottom: 1.5rem;
    }
    .budget-step {
      flex: 1; height: 4px; border-radius: 2px;
      background: #f3f4f6;
      transition: background 0.3s;
    }
    .budget-step.done { background: #22c55e; }
    .budget-step.active { background: #7c3aed; animation: pulse 1.2s ease infinite; }
    .budget-input-group {
      margin-bottom: 1rem;
    }
    .budget-input-label {
      font-size: 0.8125rem;
      font-weight: 600;
      color: #374151;
      margin-bottom: 0.375rem;
      display: block;
    }
    .budget-input-label span {
      font-size: 0.7rem;
      font-weight: 400;
      color: #9ca3af;
      margin-left: 4px;
    }
    .budget-input {
      width: 100%;
      border: 1px solid #e5e7eb;
      border-radius: 8px;
      padding: 0.7rem 0.875rem;
      font-size: 0.9rem;
      outline: none;
      transition: border-color 0.2s;
      font-family: inherit;
    }
    .budget-input:focus { border-color: #7c3aed; box-shadow: 0 0 0 3px rgba(124,58,237,0.08); }
    .budget-select-group {
      display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
      margin-bottom: 1rem;
    }
    .budget-select {
      border: 1px solid #e5e7eb;
      border-radius: 8px;
      padding: 0.625rem 0.875rem;
      font-size: 0.875rem;
      outline: none;
      background: #fff;
      transition: border-color 0.2s;
      font-family: inherit;
      width: 100%;
    }
    .budget-select:focus { border-color: #7c3aed; }
    .btn-budget {
      background: #111;
      color: #fff;
      border: none;
      border-radius: 8px;
      padding: 0.8rem 1.75rem;
      font-size: 0.9375rem;
      font-weight: 600;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      transition: all 0.2s;
    }
    .btn-budget:hover { background: #333; transform: translateY(-1px); }
    .btn-budget:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
    .budget-kpi-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 1rem;
      margin-bottom: 1.5rem;
    }
    .budget-kpi-card {
      background: #fafafa;
      border: 1px solid #e5e7eb;
      border-radius: 12px;
      padding: 1.25rem;
      text-align: center;
    }
    .budget-kpi-card.primary {
      background: linear-gradient(135deg, #111 0%, #333 100%);
      color: #fff;
      border-color: transparent;
    }
    .budget-kpi-label {
      font-size: 0.7rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: #9ca3af;
      margin-bottom: 0.5rem;
    }
    .budget-kpi-card.primary .budget-kpi-label { color: rgba(255,255,255,0.6); }
    .budget-kpi-value {
      font-size: 1.5rem;
      font-weight: 800;
      color: #111;
      line-height: 1.2;
    }
    .budget-kpi-card.primary .budget-kpi-value { color: #fff; }
    .budget-kpi-sub {
      font-size: 0.75rem;
      color: #6b7280;
      margin-top: 0.25rem;
    }
    .budget-kpi-card.primary .budget-kpi-sub { color: rgba(255,255,255,0.7); }
    .budget-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 0.8125rem;
    }
    .budget-table th {
      background: #f9fafb;
      border-bottom: 1px solid #e5e7eb;
      padding: 0.625rem 0.75rem;
      text-align: left;
      font-weight: 600;
      color: #6b7280;
      font-size: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }
    .budget-table td {
      border-bottom: 1px solid #f3f4f6;
      padding: 0.75rem;
      color: #374151;
      vertical-align: top;
    }
    .budget-table tr:last-child td { border-bottom: none; }
    .budget-table tr:hover td { background: #fafafa; }
    .budget-score-bar {
      height: 6px;
      background: #f3f4f6;
      border-radius: 3px;
      overflow: hidden;
      margin-top: 4px;
    }
    .budget-score-fill {
      height: 100%;
      background: linear-gradient(90deg, #7c3aed, #4f46e5);
      border-radius: 3px;
      transition: width 1s ease;
    }
    .budget-process-log {
      background: #f9fafb;
      border: 1px solid #e5e7eb;
      border-radius: 8px;
      padding: 1rem;
      font-size: 0.8rem;
      color: #6b7280;
      font-family: 'Pretendard', monospace;
      max-height: 200px;
      overflow-y: auto;
      margin-bottom: 1rem;
    }
    .budget-log-line {
      display: flex; align-items: flex-start; gap: 8px;
      margin-bottom: 4px;
      animation: fadeUp 0.3s ease;
    }
    .budget-log-icon { flex-shrink: 0; margin-top: 1px; }
    .btn-budget-secondary {
      background: #f3f4f6;
      color: #374151;
      border: 1px solid #e5e7eb;
      border-radius: 8px;
      padding: 0.6rem 1.25rem;
      font-size: 0.875rem;
      font-weight: 500;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      transition: all 0.15s;
      font-family: inherit;
    }
    .btn-budget-secondary:hover { background: #e5e7eb; }

    /* ── 다크/라이트 모드 ── */
    html.dark {
      --bg: #0a0a0a;
      --surface: #111111;
      --secondary: #999999;
      --tertiary: #666666;
      --border: #222222;
      --accent: #f5f5f5;
    }
    html.dark body { background: var(--bg); color: var(--accent); }
    html.dark .glass-nav { background: rgba(10,10,10,0.85); }
    html.dark .search-input { background: #1a1a1a; color: #f5f5f5; border-color: #333; }
    html.dark .search-input::placeholder { color: #555; }
    html.dark .result-card { background: var(--surface); border-color: var(--border); }
    html.dark .btn-secondary { background: #1a1a1a; border-color: #333; color: #ccc; }
    html.dark .btn-secondary:hover { background: #222; }
    html.dark .tag { background: #1a1a1a; color: #aaa; border-color: #333; }
    html.dark .select-field { background: #1a1a1a; border-color: #333; color: #ccc; }
    html.dark .options-bar { background: #111; border-color: #222; }
    html.dark .db-toggle-wrap { background: #111; border-color: #333; }
    html.dark .db-btn { color: #888; }
    html.dark .db-btn.active { background: #222; color: #f5f5f5; }
    html.dark .tab-btn { color: #888; }
    html.dark .tab-btn.active { background: #222; color: #f5f5f5; border-color: #444; }
    html.dark .stat-card { background: #111; border-color: #222; }
    html.dark .setup-guide { background: #111; border-color: #222; }
    html.dark mark { background: rgba(255,255,100,0.25); color: inherit; }
    html.dark .modal-box { background: #111; color: var(--accent); }
    html.dark .modal-bg { background: rgba(0,0,0,0.7); }
    html.dark input, html.dark textarea { background: #1a1a1a; color: #f5f5f5; border-color: #333; }

    /* ── 검색 히스토리 드롭다운 ── */
    .search-wrap-rel { position: relative; width: 100%; display: flex; justify-content: center; }
    #historyDropdown {
      position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%);
      width: min(600px, 90vw); background: var(--surface); border: 1px solid var(--border);
      border-radius: 16px; box-shadow: 0 8px 32px rgba(0,0,0,0.1); z-index: 200;
      overflow: hidden;
    }
    #historyList li {
      padding: 0.6rem 1rem; font-size: 0.85rem; cursor: pointer; display: flex;
      align-items: center; gap: 0.5rem; color: var(--secondary);
      transition: background 0.1s; border-bottom: 1px solid var(--border);
    }
    #historyList li:last-child { border-bottom: none; }
    #historyList li:hover { background: var(--bg); }
    #historyList li.clear-btn { color: #ef4444; font-size: 0.75rem; justify-content: center; }

    /* ── 즐겨찾기 패널 ── */
    #favPanel {
      position: fixed; top: 0; right: -420px; width: 420px; height: 100dvh;
      background: var(--surface); border-left: 1px solid var(--border);
      box-shadow: -8px 0 32px rgba(0,0,0,0.08); z-index: 500;
      transition: right 0.3s var(--ease); overflow-y: auto;
      display: flex; flex-direction: column;
    }
    #favPanel.open { right: 0; }
    #favPanel .fav-header {
      padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border);
      display: flex; align-items: center; justify-content: space-between;
      position: sticky; top: 0; background: var(--surface); z-index: 1;
    }
    .fav-card {
      padding: 1rem 1.5rem; border-bottom: 1px solid var(--border);
      cursor: pointer; transition: background 0.1s;
    }
    .fav-card:hover { background: var(--bg); }
    #favOverlay {
      position: fixed; inset: 0; background: rgba(0,0,0,0.3);
      z-index: 499; display: none;
    }
    #favOverlay.open { display: block; }

    /* ── 연구자/기관 프로필 패널 ── */
    #profilePanel {
      position: fixed; top: 0; left: -460px; width: 460px; height: 100dvh;
      background: var(--surface); border-right: 1px solid var(--border);
      box-shadow: 8px 0 32px rgba(0,0,0,0.08); z-index: 500;
      transition: left 0.3s var(--ease); overflow-y: auto;
    }
    #profilePanel.open { left: 0; }

    /* ── 비교 검색 ── */
    #compareSection { display: none; }
    #compareSection.active { display: block; }
    .compare-col { flex: 1; min-width: 0; }
    .compare-divider { width: 2px; background: var(--border); flex-shrink: 0; }

    /* ── 키워드 네트워크 ── */
    #networkModal {
      position: fixed; inset: 0; background: rgba(0,0,0,0.5);
      z-index: 600; display: none; align-items: center; justify-content: center;
    }
    #networkModal.open { display: flex; }
    #networkContainer { width: 100%; height: 100%; }
    #networkContainer svg { width: 100%; height: 100%; }
    .node circle { stroke: var(--border); stroke-width: 1.5px; cursor: pointer; }
    .node text { font-size: 11px; fill: var(--secondary); pointer-events: none; }
    .link { stroke: var(--border); stroke-opacity: 0.5; }

    /* ── 카드 즐겨찾기 버튼 ── */
    .fav-btn {
      background: none; border: none; cursor: pointer; padding: 4px;
      color: var(--tertiary); transition: color 0.15s; line-height: 1;
    }
    .fav-btn.active { color: #f59e0b; }
    .fav-btn:hover { color: #f59e0b; }
    /* ── 클라이언트 정렬 버튼 ── */
    .sort-btn {
      padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 500;
      border: 1px solid var(--border); background: transparent;
      color: var(--secondary); cursor: pointer; transition: all 0.15s;
      white-space: nowrap;
    }
    .sort-btn:hover { border-color: #3b82f6; color: #3b82f6; }
    .sort-btn.active { background: #3b82f6; color: #fff; border-color: #3b82f6; }

    /* ── 키워드 클라우드 태그 ── */
    .keyword-cloud-tag {
      display: inline-flex; align-items: center; gap: 2px;
      padding: 3px 10px; border-radius: 999px;
      border: 1px solid var(--border); background: transparent;
      color: var(--secondary); cursor: pointer; transition: all 0.15s;
      white-space: nowrap; line-height: 1.4;
    }
    .keyword-cloud-tag:hover { border-color: #3b82f6; color: #3b82f6; background: rgba(59,130,246,0.06); }

    /* ── 저자 링크 (클릭 가능) ── */
    .author-link {
      cursor: pointer; color: var(--secondary);
      border-bottom: 1px dashed var(--border);
      transition: color 0.15s, border-color 0.15s;
    }
    .author-link:hover { color: #3b82f6; border-color: #3b82f6; }

    /* ── 인사이트 모달 차트 래퍼 ── */
    #yearChartWrap, #instChartWrap {
      height: 200px; position: relative;
    }
