:root {
    /* Typography: brand wordmark만 serif, 일반 UI는 모두 시스템 산세리프 */
    --font-ui: -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
    --font-brand: 'DM Serif Display', Georgia, serif;
    /* ── Poli-Brief "Mockup tone" 팔레트 (2026-05-15 톤 교체) ── */
    --brand-ink:      #191F28;        /* charcoal navy — app chrome */
    --brand-ink-2:    #333D4B;        /* secondary chrome */
    --chrome-bg:      #08131F;        /* persistent app chrome */
    --chrome-bg-2:    #102A43;
    --chrome-text:    #FFFFFF;
    --chrome-muted:   rgba(255,255,255,0.72);
    --brand-blue:     #3182F6;        /* vivid civic blue — links / accents */
    --brand-teal:     #2E7D32;        /* civic green */
    --brand-amber:    #E65100;        /* warm orange — warning / hot */
    --brand-red:      #E53935;        /* danger */
    --surface:        #F2F4F6;
    --surface-muted:  #F2F4F6;
    --surface-strong: #E5E8EB;
    --navy:       var(--surface);
    --navy-mid:   var(--surface-muted);
    --navy-light: var(--surface-strong);
    --gold:       var(--brand-blue);  /* legacy alias → civic blue */
    --gold-light: var(--brand-blue);
    --red:        var(--brand-red);
    --blue-party: #1A56B0;
    --green-ok:   #2E7D32;
    /* 색 역할 토큰 */
    --role-chrome:  var(--chrome-bg);   /* 앱 구조, 상단/하단 내비, 주요 선택 상태 */
    --role-link:    var(--brand-blue);  /* 링크, 정보, 강조 */
    --role-accent:  var(--brand-blue);  /* 핵심 포인트(목업은 civic blue 통일) */
    --role-danger:  var(--brand-red);
    --role-success: var(--green-ok);
    --role-info:    var(--brand-blue);
    --role-warn:    var(--brand-amber);
    --text:       #191F28;
    --text-muted: #6B7684;
    --text-dim:   #B0B8C1;
    --border:     rgba(0,0,0,0.08);
    --border-light: rgba(0,0,0,0.06);
    --bg:         var(--navy);
    --card:       #FFFFFF;
    --card-bg:    var(--card);
    --card-hover: #F2F4F6;
    --tag-bg:     #F2F4F6;
    --shadow:     0 2px 12px rgba(0,0,0,0.05);
    --shadow-md:  0 8px 40px rgba(0,0,0,0.08);
    --transition: all 0.15s ease;
    /* ── 라운드 반경 (목업 기준 상향) ── */
    --r-xs:   4px;
    --r-sm:   10px;
    --r-md:   16px;
    --r-lg:   20px;
    --r-xl:   24px;
    --r-full: 9999px;
    --text-sub:  #6B7684;
    --accent:    var(--brand-blue);
}

  * { margin: 0; padding: 0; box-sizing: border-box; }

  body {
    background: var(--navy);
    color: var(--text);
    font-family: var(--font-ui);
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
  }

  button, input, select, textarea {
    font: inherit;
  }

  /* ===== 다크 모드 (목업 D 토큰 매핑) ===== */
  body.dark {
    --brand-ink:      #191F28;
    --brand-ink-2:    #AEB8C6;
    --chrome-bg:      #08131F;
    --chrome-bg-2:    #102A43;
    --chrome-text:    #FFFFFF;
    --chrome-muted:   rgba(232,238,245,0.72);
    --brand-blue:     #3182F6;        /* 라이트와 동일 vivid blue */
    --brand-teal:     #4CAF50;
    --brand-amber:    #FB8C00;
    --brand-red:      #EF5350;
    --surface:        #0E0E0E;
    --surface-muted:  #141414;
    --surface-strong: #2C2C2E;
    --navy:       var(--surface);
    --navy-mid:   var(--surface-muted);
    --navy-light: var(--surface-strong);
    --text:       #F5F5F5;
    --text-muted: #8E8E93;
    --text-dim:   #6B7280;
    --border:     rgba(255,255,255,0.07);
    --border-light: rgba(255,255,255,0.05);
    --bg:         var(--navy);
    --card:       #1C1C1E;
    --card-bg:    var(--card);
    --card-hover: #2C2C2E;
    --tag-bg:     #2C2C2E;
    --gold:       var(--brand-blue);
    --gold-light: var(--brand-blue);
    --shadow:     0 1px 3px rgba(0,0,0,0.55), 0 1px 2px rgba(0,0,0,0.40);
    --shadow-md:  0 8px 22px rgba(0,0,0,0.50);
    --text-sub:  #8E8E93;
    --accent:    var(--brand-blue);
    --red:        var(--brand-red);
    --green-ok:   var(--brand-teal);
    /* 색 역할 토큰 (다크) */
    --role-chrome:  var(--chrome-bg);
    --role-link:    var(--brand-blue);
    --role-accent:  var(--brand-blue);
    --role-danger:  var(--brand-red);
    --role-success: var(--green-ok);
    --role-info:    var(--brand-blue);
    --role-warn:    var(--brand-amber);
  }

  /* ===== 기본 링크 색 (브라우저 기본 강한 파랑 차단) ===== */
  a { color: var(--role-link); text-decoration: none; }
  a:hover, a:focus { color: var(--brand-ink-2); }
  a:visited { color: var(--role-link); }

  /* ===== SCREENS ===== */
  .screen { display: none; min-height: 100vh; }
  .screen.active { display: flex; flex-direction: column; }

  /* ===== SPLASH ===== */
  #screen-splash {
    background: var(--navy);
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  .splash-bg {
    position: absolute;
    inset: 0;
    background: 
      radial-gradient(ellipse 70% 55% at 50% 25%, rgba(40,107,143,0.12) 0%, transparent 70%),
      repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(16,42,67,0.04) 40px),
      repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(16,42,67,0.04) 40px);
  }

  .splash-content { position: relative; z-index: 1; padding: 40px 20px; }

  .splash-badge {
    display: inline-block;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    padding: 5px 14px;
    margin-bottom: 28px;
    text-transform: uppercase;
  }

  .splash-logo {
    font-family: var(--font-brand);
    font-size: 56px;
    color: var(--text);
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 8px;
  }

  .splash-logo span { color: var(--gold); }

  .splash-sub {
    font-family: inherit;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 48px;
    letter-spacing: 1px;
  }

  .splash-tagline {
    font-size: 18px;
    font-weight: 300;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.5;
  }

  .splash-tagline strong { color: var(--gold); font-weight: 700; }

  .splash-desc {
    font-size: 13px;
    color: var(--text-muted);
    max-width: 300px;
    margin: 0 auto 52px;
    line-height: 1.7;
  }

  .splash-note {
    margin-top: 10px;
    font-size: 12px;
    color: var(--text-dim);
  }

  .btn-primary {
    background: linear-gradient(135deg, var(--brand-ink), var(--brand-blue));
    color: #ffffff;
    border: none;
    border-radius: var(--r-full);
    padding: 16px 48px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: all 0.2s;
    display: inline-block;
    box-shadow: 0 4px 16px rgba(16,42,67,0.22);
  }

  .btn-primary:hover { opacity: 0.92; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(16,42,67,0.28); }

  .splash-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    justify-content: center;
    margin-top: 52px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
  }

  .stat-item { text-align: center; }
  .stat-num {
    font-family: inherit;
    font-size: 16px;
    font-weight: 900;
    color: var(--gold);
    line-height: 1.25;
    word-break: keep-all;
  }
  .stat-label { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

  /* ===== NAV ===== */
  .top-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--chrome-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: none;
    border-bottom: none;
    padding: 0 16px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
  }

  .nav-logo {
    font-family: var(--font-brand);
    font-size: 22px;
    color: var(--chrome-text);
    cursor: pointer;
  }
  .nav-logo span { color: var(--brand-amber); }
  body.dark .top-nav { background: var(--chrome-bg); }

  .nav-actions { display: flex; align-items: center; gap: 12px; }

  .nav-btn {
    background: none;
    border: none;
    color: var(--chrome-muted);
    cursor: pointer;
    font-size: 20px;
    padding: 6px;
    display: flex;
    align-items: center;
    transition: color 0.2s;
  }
  .nav-btn:hover { color: #ffffff; }

  .nav-pill-btn {
    min-height: 30px;
    padding: 5px 11px;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: var(--r-full);
    background: rgba(255,255,255,0.08);
    color: var(--chrome-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: -0.1px;
  }
  .nav-pill-btn:hover {
    background: rgba(255,255,255,0.14);
    color: var(--chrome-text);
  }

  .date-tag {
    font-size: 10px;
    color: var(--chrome-muted);
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.07);
    padding: 5px 10px;
    border-radius: var(--r-full);
    letter-spacing: 0.2px;
    font-weight: 700;
  }

  /* ===== BOTTOM NAV ===== */
  .bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0; right: 0;
    z-index: 100;
    background: rgba(8,19,31,0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 -10px 30px rgba(0,0,0,0.34);
    border-top: 1px solid rgba(255,255,255,0.10);
    border-radius: var(--r-md) var(--r-md) 0 0;
    display: flex;
    padding: 6px 6px;
    height: 68px;
  }

  .bnav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
    border: none;
    background: none;
    color: rgba(232,238,245,0.72);
    font-family: inherit;
    font-size: 10px;
    padding: 6px 6px;
    border-radius: var(--r-md);
  }

  .bnav-item.active {
    background: rgba(255,255,255,0.94);
    color: var(--brand-ink);
    box-shadow: 0 8px 22px rgba(0,0,0,0.28);
    transform: scale(1.05);
    padding: 8px 8px;
  }
  .bnav-item:hover:not(.active) { color: #ffffff; background: rgba(255,255,255,0.10); }
  .bnav-icon { font-size: 20px; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; }
  .bnav-icon svg { width: 22px; height: 22px; stroke: currentColor; }

  body.dark .bottom-nav {
    background: rgba(8,19,31,0.98);
    border-top-color: rgba(255,255,255,0.10);
    box-shadow: 0 -10px 30px rgba(0,0,0,0.46);
  }
  body.dark .bnav-item { color: rgba(232,238,245,0.70); }
  body.dark .bnav-item.active { background: rgba(232,238,245,0.95); color: #08131F; }
  body.dark .bnav-item:hover:not(.active) { color: #FFFFFF; background: rgba(255,255,255,0.10); }

  /* ===== HOME SCREEN ===== */
  #screen-home {
    padding-bottom: 70px;
  }

  .search-bar {
    padding: 12px;
    background: var(--surface);
    border-bottom: 0;
    flex-shrink: 0;
  }

  .search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
  }

  .search-icon {
    position: absolute;
    left: 13px;
    color: var(--text-dim);
    font-size: 14px;
    pointer-events: none;
  }

  .search-input {
    width: 100%;
    min-height: 42px;
    background: var(--card);
    border: 0.5px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    padding: 10px 14px 10px 38px;
    font-family: inherit;
    font-size: 13px;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    box-shadow: var(--shadow);
  }

  .search-input::placeholder { color: var(--text-dim); }
  .search-input:focus {
    border-color: rgba(49,130,246,0.45);
    box-shadow: 0 0 0 3px rgba(49,130,246,0.10), var(--shadow);
  }

  .filter-tabs {
    padding: 0 12px 4px;
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    flex-shrink: 0;
  }
  .filter-tabs::-webkit-scrollbar { display: none; }

  .filter-tab {
    white-space: nowrap;
    padding: 7px 13px;
    min-height: 34px;
    border: 0.5px solid var(--border);
    border-radius: var(--r-full);
    background: var(--card);
    color: var(--text-muted);
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  }
  .filter-tab.active {
    background: var(--role-chrome);
    color: #ffffff;
    border-color: var(--role-chrome);
    font-weight: 600;
    box-shadow: none;
  }
  .filter-tab:hover:not(.active) { background: var(--card-hover); color: var(--text); }

  .section-header {
    padding: 16px 16px 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
  }

  .section-title {
    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.3px;
  }

  .section-title::before {
    display: none;
  }

  .section-eyebrow {
    margin-bottom: 4px;
    color: var(--gold);
    font-family: inherit;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0;
  }

  .home-section-header {
    padding-top: 18px;
  }

  .home-brief-section {
    padding-bottom: 2px;
  }

  .home-local-news-card {
    width: calc(100% - 32px);
    margin: 0 16px 16px;
    padding: 18px 18px 16px;
    text-align: left;
    border: 1px solid rgba(40,107,143,0.20);
    border-radius: var(--r-lg);
    background:
      linear-gradient(135deg, rgba(16,42,67,0.98), rgba(40,107,143,0.92)),
      var(--brand-ink);
    color: #fff;
    box-shadow: 0 16px 34px rgba(16,42,67,0.20);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
  }

  .home-local-news-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 90% 8%, rgba(255,255,255,0.18), transparent 42%);
    pointer-events: none;
  }

  .home-local-news-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 42px rgba(16,42,67,0.26);
  }

  .home-local-news-kicker,
  .home-local-news-title,
  .home-local-news-summary,
  .home-local-news-meta {
    position: relative;
    z-index: 1;
  }

  .home-local-news-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(255,255,255,0.13);
    color: rgba(255,255,255,0.78);
    font-size: 11px;
    font-weight: 800;
  }

  .home-local-news-title {
    margin-top: 12px;
    font-family: inherit;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.32;
    letter-spacing: 0;
  }

  .home-local-news-summary {
    margin: 14px 0 0;
    padding-left: 18px;
    color: rgba(255,255,255,0.88);
    font-size: 13px;
    line-height: 1.7;
    font-weight: 600;
  }

  .home-local-news-summary li {
    margin: 1px 0;
  }

  .home-local-news-meta {
    margin-top: 13px;
    color: rgba(255,255,255,0.62);
    font-size: 11px;
    font-weight: 600;
  }

  .home-politician-search {
    padding-top: 4px;
    background: transparent;
    border-bottom: 0;
  }

  /* ===== TODAY ISSUE CARD (mockup tone) ===== */
  #hot-issues-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .issue-card {
    margin: 0;
    background: var(--card);
    border: 0.5px solid var(--border);
    border-radius: 16px;
    padding: 14px 16px;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
  }

  .issue-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: var(--role-link);
    opacity: 0.9;
  }

  .issue-card:hover {
    background: var(--card-hover);
    transform: translateY(-1px);
  }

  .issue-label {
    font-size: 10px;
    color: var(--role-link);
    letter-spacing: 0.08em;
    font-weight: 700;
    margin-bottom: 7px;
  }

  .issue-title {
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.42;
    letter-spacing: -0.2px;
  }

  .issue-summary {
    margin: 7px 0 10px;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .issue-meta {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 10px;
  }

  .issue-tag {
    font-size: 10px;
    background: var(--tag-bg);
    color: var(--text-muted);
    padding: 4px 8px;
    border: none;
    border-radius: 999px;
    font-weight: 600;
    line-height: 1;
  }

  .issue-tag-debate {
    background: rgba(49,130,246,0.12);
    color: var(--role-link);
  }

  .issue-related {
    font-size: 10px;
    color: var(--text-dim);
    line-height: 1;
    font-weight: 500;
  }

  .issue-period {
    margin-left: auto;
  }

  /* TOP STORY hero variant */
  .issue-card-hero {
    border-color: rgba(49,130,246,0.18);
    background: linear-gradient(180deg, rgba(49,130,246,0.08), var(--card) 42%);
  }

  .issue-card-hero .hero-body { padding: 0; }

  .issue-card-hero .issue-title {
    font-size: 17px;
    line-height: 1.35;
  }

  .issue-card-hero .issue-summary {
    font-size: 12px;
  }

  /* ===== POLITICIAN LIST ===== */
  .pol-list { padding: 0 16px; display: flex; flex-direction: column; gap: 8px; }
  #screen-home .pol-list,
  #screen-home #fav-list {
    padding: 0;
    gap: 8px;
  }

  .list-state-card {
    min-height: 112px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--card);
    box-shadow: var(--shadow);
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .list-state-icon {
    width: 42px;
    height: 42px;
    border-radius: 16px;
    background: rgba(49,130,246,0.10);
    color: var(--role-link);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    font-size: 17px;
    font-weight: 900;
  }

  .list-state-copy {
    min-width: 0;
    flex: 1;
  }

  .list-state-title {
    color: var(--text);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
  }

  .list-state-desc {
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.45;
  }

  .list-state-action {
    flex: 0 0 auto;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--role-chrome);
    color: var(--chrome-text);
    padding: 9px 13px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(8,19,31,0.12);
  }

  .list-state-action:active {
    transform: translateY(1px);
  }

  .pol-card {
    background: var(--card);
    border: 0.5px solid var(--border);
    border-radius: 16px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
    box-shadow: var(--shadow);
  }

  .pol-card:hover { background: var(--card-hover); transform: translateY(-1px); }

  .section-action {
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--text-muted);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
  }

  .section-action:hover { color: var(--navy); border-color: var(--navy); }

  .favorite-manage-hero {
    margin: 12px;
    padding: 16px;
    border: 0.5px solid var(--border);
    border-radius: 16px;
    background: var(--card);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    box-shadow: var(--shadow);
  }

  .favorite-manage-kicker {
    font-size: 10px;
    font-weight: 700;
    color: var(--role-link);
    letter-spacing: 0.08em;
    margin-bottom: 7px;
  }

  .favorite-manage-hero h2 {
    margin: 0 0 6px;
    font-family: inherit;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: var(--text);
  }

  .favorite-manage-hero p {
    margin: 0;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.55;
  }

  .favorite-count-pill {
    flex-shrink: 0;
    border-radius: 999px;
    padding: 6px 10px;
    background: var(--role-chrome);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
  }

  .favorite-manage-list {
    padding: 0 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .favorite-manage-card {
    cursor: default;
    align-items: flex-start;
  }

  .favorite-home-card {
    border-color: rgba(49,130,246,0.18);
    background: linear-gradient(90deg, rgba(49,130,246,0.06), var(--card) 34%);
  }

  .favorite-manage-actions {
    display: flex;
    gap: 6px;
    margin-top: 10px;
    flex-wrap: wrap;
  }

  .favorite-open-btn,
  .favorite-remove-btn {
    border: 0.5px solid var(--border);
    border-radius: 999px;
    padding: 7px 11px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
  }

  .favorite-open-btn {
    background: var(--role-chrome);
    color: #fff;
    border-color: var(--role-chrome);
  }

  .favorite-remove-btn {
    background: var(--card);
    color: var(--text-muted);
  }

  .favorite-open-btn:hover,
  .favorite-remove-btn:hover {
    transform: translateY(-1px);
  }

  .favorite-empty {
    margin: 0;
    padding: 28px 20px;
    border: 0.5px dashed var(--border);
    border-radius: 16px;
    color: var(--text-muted);
    text-align: center;
    font-size: 13px;
    line-height: 1.8;
    background: var(--card);
  }

  .favorite-empty-action {
    margin-top: 12px;
  }

  .pol-avatar {
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--navy-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    border: 2px solid var(--card);
    box-shadow: 0 0 0 0.5px var(--border);
    position: relative;
    overflow: hidden;
  }

  .pol-avatar-img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: top center;
    z-index: 1;
  }
  .pol-avatar-fallback {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
  }
  /* 이니셜 아바타 */
  .pol-avatar-initials {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-family: inherit;
    font-size: 15px; font-weight: 700;
    color: rgba(255,255,255,0.92);
    letter-spacing: -1px;
  }
  .detail-avatar-img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: top center;
    border-radius: inherit;
  }

  .party-dot {
    position: absolute;
    bottom: 2px; right: 2px;
    width: 9px; height: 9px;
    border-radius: 50%;
    border: 1.5px solid var(--card);
  }

  .pol-info { flex: 1; min-width: 0; }

  .pol-name-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
  }

  .pol-name {
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.2px;
  }

  .pol-party-tag {
    font-size: 10px;
    padding: 3px 7px;
    font-weight: 600;
    line-height: 1;
    border-radius: 999px;
  }

  .party-dem { background: rgba(49,130,246,0.12); color: #1A56B0; border: 0; }
  .party-ppp { background: rgba(229,57,53,0.12); color: #C62828; border: 0; }
  .party-ind { background: var(--tag-bg); color: var(--text-muted); border: 0; }

  .pol-position {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 6px;
    line-height: 1.35;
  }

  .pol-mini-tags {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin: 4px 0 0;
  }

  .pol-mini-tag {
    font-size: 10px;
    padding: 3px 7px;
    border: 0;
    border-radius: 999px;
    color: var(--text-muted);
    background: var(--tag-bg);
    line-height: 1;
    font-weight: 500;
  }

  .pol-latest {
    font-size: 11px;
    color: var(--text-dim);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .pol-latest span { color: var(--gold); }

  .pol-arrow {
    color: var(--text-dim);
    font-size: 18px;
    flex-shrink: 0;
  }

  /* ===== DETAIL SCREEN ===== */
  #screen-detail { padding-bottom: 70px; }

  /* ===== POLITICIAN DETAIL (mockup tone 적용 2026-05-19) ===== */
  .detail-header {
    background: var(--card);
    border-bottom: 1px solid var(--border);
    padding: 18px 16px 16px;
    position: relative;
  }

  .back-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    margin-bottom: 16px;
    padding: 0;
    transition: color 0.2s;
  }
  .back-btn:hover { color: var(--gold); }

  .detail-hero {
    display: flex;
    gap: 16px;
    align-items: flex-start;
  }

  .detail-avatar {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--surface-strong);
    border: 0.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 0 3px rgba(49,130,246,0.08);
  }

  .detail-info { flex: 1; min-width: 0; }

  .detail-name {
    font-family: inherit;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.4px;
    color: var(--text);
    margin-bottom: 4px;
  }

  .detail-position {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 10px;
    line-height: 1.45;
  }

  .detail-tags { display: flex; gap: 6px; flex-wrap: wrap; }

  .detail-tag {
    font-size: 11px;
    padding: 4px 10px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-muted);
    border-radius: var(--r-full);
    font-weight: 600;
    letter-spacing: -0.2px;
  }

  .detail-stats {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 8px;
    margin-top: 14px;
  }

  .dstat {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    padding: 10px 8px;
    text-align: center;
  }

  .dstat-num {
    font-family: inherit;
    font-size: 19px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--role-accent);
    letter-spacing: -0.4px;
  }

  .dstat-label {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 3px;
    font-weight: 500;
  }

  /* ===== DETAIL TABS ===== */
  .detail-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
    background: var(--navy-mid);
    position: sticky;
    top: 56px;
    z-index: 10;
    flex-shrink: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .detail-tabs::-webkit-scrollbar { display: none; }

  .dtab {
    flex-shrink: 0;
    padding: 11px 14px;
    min-height: 44px;
    border: none;
    background: none;
    color: var(--text-dim);
    font-family: inherit;
    font-size: 11px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    font-weight: 500;
    white-space: nowrap;
  }

  /* ===== 선거정보 탭 ===== */
  .election-info-card {
    background: var(--card);
    border: 0.5px solid var(--border);
    border-radius: var(--r-md);
    margin: 12px 16px;
    padding: 16px;
    box-shadow: var(--shadow);
  }
  .election-info-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 9px 0; border-bottom: 1px solid var(--border-light);
    font-size: 13px;
  }
  .election-info-row:last-child { border-bottom: none; }
  .election-info-label { color: var(--text-muted); font-size: 11px; font-weight: 500; }
  .election-info-value { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
  .vote-bar-wrap { margin: 4px 0; }
  .vote-bar-track { background: var(--navy-light); height: 6px; border-radius: var(--r-full); overflow: hidden; }
  .vote-bar-fill { height: 100%; background: var(--role-accent); border-radius: var(--r-full); }

  /* ===== HOME (mockup tone) ===== */
  .home-topnav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px 12px;
    background: var(--chrome-bg);
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .home-greet-eyebrow {
    font-size: 10px;
    color: var(--chrome-muted);
    letter-spacing: 0.05em;
    font-weight: 700;
  }
  .home-greet-title {
    font-size: 17px;
    font-weight: 500;
    color: var(--chrome-text);
    margin-top: 2px;
  }
  .home-topnav-actions { display: flex; gap: 7px; }
  .home-icon-btn {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    color: var(--chrome-muted);
  }
  .home-icon-btn:hover {
    background: rgba(255,255,255,0.14);
    color: var(--chrome-text);
  }
  .home-user-btn {
    width: auto;
    min-width: 58px;
    border-radius: var(--r-full);
    padding: 0 12px;
    color: var(--chrome-muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: -0.2px;
  }
  .home-icon-btn svg { width: 16px; height: 16px; }
  .home-icon-dot {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 6px;
    height: 6px;
    background: var(--role-danger);
    border-radius: 50%;
    color: transparent;
    font-size: 0;
  }

  .home-scroll { padding: 8px 12px; display: flex; flex-direction: column; gap: 12px; background: var(--surface); }

  /* 지역 칩 그룹 */
  .home-region-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 4px 0 2px;
  }
  .home-chip {
    font-size: 12px;
    padding: 6px 13px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--text-muted);
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    letter-spacing: -0.2px;
  }
  .home-chip.is-active {
    background: var(--role-chrome);
    color: #fff;
    border-color: var(--role-chrome);
  }
  .home-chip-add {
    color: var(--text-dim);
    border-style: dashed;
    padding: 6px 11px;
    font-weight: 700;
  }

  /* 오늘의 브리핑 카드 */
  .home-brief-card {
    background: var(--card);
    border: 0.5px solid var(--border);
    border-radius: 16px;
    padding: 14px 16px;
    text-align: left;
    cursor: pointer;
    color: inherit;
    width: 100%;
    font-family: inherit;
  }
  .home-brief-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
  }
  .home-brief-kicker { display: flex; align-items: center; gap: 5px; }
  .home-brief-dot {
    width: 6px;
    height: 6px;
    background: var(--role-link);
    border-radius: 50%;
    display: inline-block;
  }
  .home-brief-eyebrow {
    font-size: 11px;
    font-weight: 500;
    color: var(--role-link);
  }
  .home-brief-meta {
    font-size: 10px;
    color: var(--text-dim);
  }
  .home-brief-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
  }
  .home-brief-list li {
    display: flex;
    gap: 7px;
  }
  .home-brief-num {
    font-size: 11px;
    font-weight: 500;
    color: var(--role-link);
    min-width: 12px;
    flex-shrink: 0;
  }
  .home-brief-text {
    font-size: 12px;
    color: var(--text);
    line-height: 1.5;
  }
  .home-brief-foot {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 0.5px solid var(--border);
    display: flex;
    justify-content: space-between;
  }
  .home-brief-source {
    font-size: 10px;
    color: var(--text-dim);
  }
  .home-brief-cta {
    font-size: 11px;
    font-weight: 500;
    color: var(--role-link);
  }

  /* 홈 섹션 헤더 (목업 톤) */
  .home-section-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 6px 4px 4px;
  }
  .home-section-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
  }
  .home-section-link {
    font-size: 11px;
    font-weight: 500;
    color: var(--role-link);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
  }

  /* ===== REGION PICKER SHEET ===== */
  .modal-sheet.region-sheet {
    padding: 12px 18px 28px;
    max-height: 80vh;
    overflow-y: auto;
  }
  .region-search-wrap {
    position: relative;
    margin: 4px 0 14px;
  }
  .region-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: var(--text-dim);
    pointer-events: none;
  }
  .region-search-input {
    width: 100%;
    padding: 10px 12px 10px 34px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    color: var(--text);
    font-size: 13px;
    font-family: inherit;
    outline: none;
  }
  .region-search-input:focus {
    border-color: var(--role-link);
  }
  .region-group-title {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 8px 4px 6px;
  }
  .region-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
  .region-item {
    min-height: 52px;
    padding: 9px 8px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--text);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    font-family: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
  }
  .region-item.is-selected {
    background: var(--role-chrome);
    color: #fff;
    border-color: var(--role-chrome);
  }
  .region-item.is-disabled {
    cursor: default;
    color: var(--text-dim);
    background: var(--surface);
    border-style: dashed;
    opacity: 0.82;
  }
  .region-item:active { transform: scale(0.97); }
  .region-item.is-disabled:active { transform: none; }
  .region-item-name {
    display: block;
    line-height: 1.15;
  }
  .region-item-badge {
    display: block;
    font-size: 9px;
    font-weight: 600;
    line-height: 1;
    color: var(--text-dim);
  }
  .region-item.is-selected .region-item-badge {
    color: rgba(255,255,255,0.82);
  }
  .region-empty {
    text-align: center;
    color: var(--text-dim);
    font-size: 12px;
    padding: 20px;
  }

  /* ===== 공약이행 탭 ===== */
  .pledge-overview {
    margin: 8px 16px 12px;
    padding: 16px;
    background: var(--card);
    border: 0.5px solid var(--border);
    border-radius: var(--r-md);
    display: grid;
    gap: 14px;
    box-shadow: var(--shadow);
  }
  .pledge-overview-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
  }
  .pledge-overall-status {
    display: inline-flex;
    align-items: center;
    padding: 5px 11px;
    border-radius: var(--r-full);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: -0.1px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-muted);
    white-space: nowrap;
  }
  .pledge-overall-status.is-checking { color: var(--role-link); background: rgba(49,130,246,0.10); border-color: rgba(49,130,246,0.24); }
  .pledge-overall-status.is-preparing { color: var(--text-muted); background: var(--surface); border-color: var(--border); }
  .pledge-overall-status.is-progress { color: var(--role-info); background: rgba(49,130,246,0.10); border-color: rgba(49,130,246,0.24); }
  .pledge-overall-status.is-partial { color: var(--role-warn); background: rgba(230,81,0,0.10); border-color: rgba(230,81,0,0.24); }
  .pledge-overall-status.is-completed { color: var(--role-success); background: rgba(46,125,50,0.10); border-color: rgba(46,125,50,0.24); }
  .pledge-overview-score {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
  }
  .pledge-score-num {
    font-family: inherit;
    font-size: 22px;
    font-weight: 700;
    color: var(--role-accent);
    letter-spacing: -0.5px;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
  }
  .pledge-score-label {
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.4;
  }
  .pledge-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }
  .pledge-metrics div {
    min-height: 58px;
    border: 1px solid var(--border);
    background: var(--surface);
    border-radius: var(--r-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
  }
  .pledge-metrics strong {
    font-size: 18px;
    color: var(--text);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.3px;
  }
  .pledge-metrics span {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 500;
  }
  .pledge-empty {
    margin: 0 16px;
    padding: 28px 18px;
    border: 0.5px solid var(--border);
    border-radius: var(--r-md);
    background: var(--card);
    text-align: center;
    box-shadow: var(--shadow);
  }
  .pledge-empty-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: rgba(49,130,246,0.08);
    color: var(--role-link);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
  }
  .pledge-empty-title {
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    letter-spacing: -0.3px;
  }
  .pledge-empty p {
    margin: 0 auto;
    max-width: 320px;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.6;
  }
  .pledge-empty p + p { margin-top: 8px; }
  .pledge-empty-note {
    color: var(--text-muted) !important;
    font-size: 11px !important;
    font-style: normal;
    opacity: 0.85;
  }
  .pledge-empty-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px;
  }
  .pledge-empty-meta span {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    padding: 5px 11px;
  }
  .pledge-loading {
    margin: 0 16px;
    padding: 28px 18px;
    border: 0.5px solid var(--border);
    border-radius: var(--r-md);
    background: var(--card);
    color: var(--text-muted);
    font-size: 13px;
    text-align: center;
    box-shadow: var(--shadow);
  }
  .pledge-data-wrap {
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .pledge-notice {
    border: 1px solid rgba(49,130,246,0.16);
    border-radius: var(--r-md);
    background: rgba(49,130,246,0.06);
    padding: 13px 14px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
  }
  .pledge-notice strong {
    display: block;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
    letter-spacing: -0.2px;
  }
  .pledge-notice p {
    margin: 0;
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.5;
  }
  .pledge-notice > span {
    flex-shrink: 0;
    color: var(--role-link);
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: 0.02em;
  }
  .pledge-criteria {
    border: 0.5px solid var(--border);
    border-radius: var(--r-md);
    background: var(--card);
    overflow: hidden;
    box-shadow: var(--shadow);
  }
  .pledge-criteria summary {
    min-height: 38px;
    padding: 11px 14px;
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    letter-spacing: -0.2px;
  }
  .pledge-criteria summary::-webkit-details-marker { display: none; }
  .pledge-criteria summary::after {
    content: '보기';
    float: right;
    color: var(--role-link);
    font-size: 11px;
    font-weight: 600;
  }
  .pledge-criteria[open] summary::after { content: '접기'; }
  .pledge-criteria div {
    border-top: 1px solid var(--border-light);
    padding: 11px 14px 14px;
    display: grid;
    gap: 7px;
  }
  .pledge-criteria p {
    margin: 0;
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.55;
  }
  .pledge-criteria strong { color: var(--text); font-weight: 700; }
  .pledge-filters {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }
  .pledge-filter {
    min-height: 38px;
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    background: var(--card);
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    letter-spacing: -0.2px;
  }
  .pledge-filter:hover:not(.active) { color: var(--text); }
  .pledge-filter span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    margin-left: 5px;
    padding: 0 4px;
    border-radius: var(--r-full);
    background: var(--surface);
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
  }
  .pledge-filter.active {
    border-color: var(--role-accent);
    background: rgba(49,130,246,0.10);
    color: var(--role-accent);
    font-weight: 700;
  }
  .pledge-filter.active span {
    background: rgba(49,130,246,0.18);
    color: var(--role-accent);
  }
  .pledge-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
  }
  .pledge-card {
    border: 0.5px solid var(--border);
    border-radius: var(--r-md);
    background: var(--card);
    box-shadow: var(--shadow);
    padding: 0;
    overflow: hidden;
    transition: box-shadow 0.2s;
  }
  .pledge-card.is-expanded { box-shadow: var(--shadow-md); }
  .pledge-card-toggle {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 14px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
  }
  .pledge-card-main {
    min-width: 0;
    display: grid;
    gap: 8px;
  }
  .pledge-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  .pledge-category {
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }
  /* 분야별 색 (가이드 5번: 경제 / 교육 / 교통 / 복지 / 행정) */
  .pledge-category[data-field="경제"] { color: #2E7D32; }
  .pledge-category[data-field="교육"] { color: #8B5CF6; }
  .pledge-category[data-field="교통"] { color: #E65100; }
  .pledge-category[data-field="복지"] { color: #06B6D4; }
  .pledge-category[data-field="행정"] { color: #6B7684; }
  .pledge-status {
    border-radius: var(--r-full);
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    background: var(--surface);
    border: 1px solid var(--border);
    white-space: nowrap;
    letter-spacing: -0.1px;
  }
  .pledge-status.is-checking { color: var(--role-link); background: rgba(49,130,246,0.10); border-color: rgba(49,130,246,0.24); }
  .pledge-status.is-progress { color: var(--role-info); background: rgba(49,130,246,0.10); border-color: rgba(49,130,246,0.24); }
  .pledge-status.is-partial { color: var(--role-warn); background: rgba(230,81,0,0.10); border-color: rgba(230,81,0,0.24); }
  .pledge-status.is-completed { color: var(--role-success); background: rgba(46,125,50,0.10); border-color: rgba(46,125,50,0.24); }
  .pledge-status.is-paused { color: var(--role-danger); background: rgba(229,57,53,0.10); border-color: rgba(229,57,53,0.24); }
  .pledge-card-title {
    display: block;
    color: var(--text);
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.42;
    letter-spacing: -0.3px;
  }
  .pledge-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
  }
  .pledge-meta-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    border-radius: var(--r-full);
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-muted);
    white-space: nowrap;
  }
  .pledge-meta-chip.is-ok {
    color: var(--role-success);
    background: rgba(46,125,50,0.08);
    border-color: rgba(46,125,50,0.22);
  }
  .pledge-meta-chip.is-pending {
    color: var(--text-muted);
    background: var(--surface);
    border-color: var(--border);
  }
  .pledge-card-arrow {
    color: var(--role-link);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: -0.2px;
  }
  .pledge-summary {
    margin: 0;
    padding: 0 14px 12px;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.6;
  }
  .pledge-progress-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px;
    margin: 0 14px 14px;
  }
  .pledge-progress-track {
    height: 6px;
    border-radius: var(--r-full);
    background: var(--surface-strong);
    overflow: hidden;
  }
  .pledge-progress-track div {
    height: 100%;
    border-radius: inherit;
    background: var(--role-accent);
    transition: width 0.4s ease;
  }
  /* 상태별 진행률 색 (가이드 5번: 진행률 색이 상태 따라 다름) */
  .pledge-card[data-status="checking"] .pledge-progress-track div,
  .pledge-card[data-status="pending"] .pledge-progress-track div { background: var(--text-muted); }
  .pledge-card[data-status="in_progress"] .pledge-progress-track div { background: var(--role-info); }
  .pledge-card[data-status="partial"] .pledge-progress-track div { background: var(--role-warn); }
  .pledge-card[data-status="completed"] .pledge-progress-track div { background: var(--role-success); }
  .pledge-card[data-status="paused"] .pledge-progress-track div { background: var(--role-danger); }
  .pledge-progress-row strong {
    color: var(--text-muted);
    font-size: 11px;
    white-space: nowrap;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
  }
  .pledge-card-body {
    display: none;
    border-top: 1px solid var(--border-light);
    padding: 12px 14px 14px;
    background: var(--surface);
  }
  .pledge-card.is-expanded .pledge-card-body { display: grid; gap: 12px; }
  .pledge-card-section-title {
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 7px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }
  .pledge-kpi-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .pledge-kpi {
    border-radius: var(--r-sm);
    background: var(--card);
    border: 1px solid var(--border);
    padding: 10px 12px;
  }
  .pledge-kpi-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 5px;
  }
  .pledge-kpi-head span {
    display: block;
    min-width: 0;
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: -0.2px;
  }
  .pledge-kpi-head em {
    flex: 0 0 auto;
    border-radius: var(--r-full);
    background: rgba(49,130,246,0.1);
    color: var(--role-link);
    border: 1px solid rgba(49,130,246,0.18);
    padding: 3px 7px;
    font-size: 9px;
    font-style: normal;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
  }
  .pledge-kpi p {
    margin: 0;
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.5;
  }
  .pledge-kpi-criteria {
    margin-top: 8px;
    border-radius: 9px;
    background: var(--surface);
    border: 1px dashed var(--border);
    padding: 8px 9px;
    color: var(--text);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.55;
    letter-spacing: -0.1px;
  }
  .pledge-kpi-criteria::before {
    content: '확인 기준';
    display: inline-flex;
    margin-right: 6px;
    color: var(--text-dim);
    font-size: 10px;
    font-weight: 800;
  }
  .pledge-keyword-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  .pledge-keyword {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    min-height: 26px;
    border-radius: var(--r-full);
    background: var(--surface-strong);
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    padding: 5px 9px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.1px;
  }
  .pledge-keyword::before {
    content: '#';
    margin-right: 2px;
    color: var(--role-link);
    font-weight: 900;
  }
  .pledge-evidence-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 7px;
  }
  .pledge-evidence {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    color: var(--text);
    background: rgba(49,130,246,0.08);
    border: 1px solid rgba(49,130,246,0.22);
    border-radius: var(--r-sm);
    padding: 9px 10px;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -0.1px;
  }
  .pledge-evidence span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .pledge-evidence small {
    color: var(--role-link);
    font-size: 10px;
    font-weight: 800;
  }
  .pledge-evidence:hover { background: rgba(49,130,246,0.14); }
  .pledge-history-empty {
    border: 1px dashed var(--border);
    border-radius: var(--r-sm);
    background: var(--card);
    padding: 12px;
    display: grid;
    gap: 4px;
  }
  .pledge-history-empty strong {
    color: var(--text);
    font-size: 12px;
    font-weight: 800;
  }
  .pledge-history-empty span {
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.55;
  }
  .pledge-history-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
  }
  .pledge-history-item {
    position: relative;
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: 10px;
    border-radius: var(--r-sm);
    background: var(--card);
    border: 1px solid var(--border);
    padding: 10px 12px;
  }
  .pledge-history-date {
    color: var(--text-dim);
    font-size: 10px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
  }
  .pledge-history-body {
    display: grid;
    gap: 4px;
    min-width: 0;
  }
  .pledge-history-body strong {
    color: var(--text);
    font-size: 12px;
    font-weight: 800;
  }
  .pledge-history-body p {
    margin: 0;
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.5;
  }
  .pledge-history-body small {
    color: var(--role-link);
    font-size: 10px;
    font-weight: 800;
  }
  .pledge-evidence-empty,
  .pledge-filter-empty {
    border: 1px dashed var(--border);
    border-radius: var(--r-sm);
    background: var(--card);
    padding: 14px;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.55;
    text-align: center;
  }
  .pledge-source-box {
    border: 0.5px solid var(--border);
    border-radius: var(--r-md);
    background: var(--card);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: var(--shadow);
  }
  .pledge-source-title {
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }
  .pledge-source-box a,
  .pledge-source-box div:not(.pledge-source-title) {
    border-top: 1px solid var(--border-light);
    padding-top: 9px;
    text-decoration: none;
  }
  .pledge-source-box a:hover strong { color: var(--role-link); }
  .pledge-source-box strong {
    display: block;
    color: var(--text);
    font-size: 12px;
    line-height: 1.45;
    font-weight: 600;
    letter-spacing: -0.2px;
    transition: color 0.15s;
  }
  .pledge-source-box span {
    display: block;
    color: var(--text-muted);
    font-size: 10px;
    margin-top: 3px;
    opacity: 0.85;
  }

  /* ===== 홍보실 탭 ===== */
  .press-post {
    background: var(--card);
    border: 0.5px solid var(--border);
    border-radius: var(--r-md);
    padding: 14px 16px;
    margin: 8px 16px;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: var(--shadow);
  }
  .press-post:hover { background: var(--card-hover); box-shadow: var(--shadow-md); }
  .press-tag {
    display: inline-block;
    font-size: 10px; font-weight: 700; letter-spacing: 0.05em;
    padding: 3px 9px; border: none;
    background: rgba(49,130,246,0.10);
    color: var(--role-link); margin-bottom: 7px;
    border-radius: var(--r-full);
  }
  .press-title { font-family: inherit; font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 4px; letter-spacing: -0.2px; }
  .press-excerpt { font-size: 12px; color: var(--text-muted); line-height: 1.6; }
  .press-date { font-size: 10px; color: var(--text-muted); margin-top: 6px; opacity: 0.85; }
  .press-empty {
    text-align: center; padding: 40px 20px; color: var(--text-muted); font-size: 13px; line-height: 2;
  }
  /* ===== 비교 화면 ===== */
  .compare-slots { display: flex; gap: 12px; padding: 12px 16px; }
  .compare-slot {
    flex: 1; background: var(--card); border: 2px dashed var(--border);
    border-radius: var(--r-md); padding: 16px 10px; text-align: center;
    cursor: pointer; transition: all 0.2s; min-height: 100px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  }
  .compare-slot:hover { border-color: var(--gold); }
  .compare-slot.filled { border-style: solid; border-color: var(--gold); }
  .compare-slot .slot-name { font-family: inherit; font-size: 14px; font-weight: 700; color: var(--text); }
  .compare-slot .slot-party { font-size: 11px; color: var(--text-muted); }
  .compare-slot .slot-placeholder { font-size: 28px; color: var(--text-dim); }
  .compare-slot .slot-hint { font-size: 11px; color: var(--text-dim); }
  .compare-table { padding: 0 16px; }
  .compare-row {
    display: grid; grid-template-columns: 1fr auto 1fr;
    border-bottom: 1px solid var(--border); padding: 10px 0;
    align-items: center;
  }
  .compare-row .cr-label { text-align: center; font-size: 10px; font-weight: 700; color: var(--text-dim); letter-spacing: 0.5px; }
  .compare-row .cr-val { font-size: 13px; color: var(--text); }
  .compare-row .cr-val:first-child { text-align: right; padding-right: 12px; }
  .compare-row .cr-val:last-child { text-align: left; padding-left: 12px; }
  .compare-row .cr-better { color: var(--gold); font-weight: 700; }
  .compare-search-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 1100;
    display: flex; align-items: flex-start; justify-content: center; padding-top: 60px;
  }
  .compare-search-box {
    background: var(--card); border-radius: var(--r-lg); width: 90%; max-width: 380px;
    padding: 16px; max-height: 70vh; overflow-y: auto;
  }
  .compare-search-box input {
    width: 100%; padding: 10px 12px; border: 1px solid var(--border);
    border-radius: 8px; font-size: 14px; background: var(--card-bg); color: var(--text);
    box-sizing: border-box; margin-bottom: 10px;
  }
  .compare-search-item {
    padding: 10px 12px; cursor: pointer; border-radius: 6px; display: flex; align-items: center; gap: 10px;
  }
  .compare-search-item:hover { background: var(--card-hover); }

  /* ===== 알림 뱃지 ===== */
  .notif-badge {
    position: absolute; top: -2px; right: -2px;
    background: var(--red); color: #fff;
    font-size: 9px; font-weight: 700;
    min-width: 16px; height: 16px;
    border-radius: 50%; display: flex;
    align-items: center; justify-content: center;
    padding: 0 3px; line-height: 1;
  }
  .notif-item {
    padding: 14px 16px; border-bottom: 1px solid var(--border);
    cursor: pointer; transition: background 0.15s;
  }
  .notif-item:hover { background: var(--card-hover); }
  .notif-item.unread { border-left: 3px solid var(--gold); }
  .notif-item .notif-title { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 3px; }
  .notif-item .notif-body { font-size: 12px; color: var(--text-muted); line-height: 1.5; }
  .notif-item .notif-time { font-size: 10px; color: var(--text-dim); margin-top: 4px; }
  .notif-type-icon {
    display: inline-block; width: 20px; height: 20px;
    text-align: center; font-size: 14px; margin-right: 6px; vertical-align: middle;
  }

  .press-manage-btn {
    display: block; width: calc(100% - 32px); margin: 0 16px 10px;
    padding: 12px; background: rgba(49,130,246,0.04);
    border: 1.5px dashed rgba(49,130,246,0.30); color: var(--role-link);
    border-radius: var(--r-md);
    font-size: 12px; font-weight: 700; cursor: pointer; text-align: center;
    letter-spacing: -0.2px;
  }
  .press-manage-btn:hover { background: rgba(49,130,246,0.08); }

  /* ===== 방명록 탭 ===== */
  .gb-form {
    padding: 12px 16px; background: var(--navy-mid);
    border-bottom: 1px solid var(--border);
  }
  .gb-input-row { display: flex; gap: 8px; margin-bottom: 6px; }
  .gb-nick {
    width: 90px; background: var(--navy-light); border: 1px solid var(--border);
    color: var(--text); padding: 8px 10px; font-size: 12px; font-family: inherit;
    flex-shrink: 0;
  }
  .gb-text {
    flex: 1; background: var(--navy-light); border: 1px solid var(--border);
    color: var(--text); padding: 8px 10px; font-size: 12px; font-family: inherit;
    resize: none; min-height: 40px; max-height: 80px;
  }
  .gb-submit {
    background: var(--gold); color: #fff; border: none;
    border-radius: var(--r-full);
    padding: 8px 18px; font-size: 12px; font-weight: 700;
    cursor: pointer; font-family: inherit; white-space: nowrap; flex-shrink: 0;
  }
  .gb-notice { font-size: 10px; color: var(--text-dim); }
  .gb-entry {
    padding: 12px 16px; border-bottom: 1px solid var(--border);
    display: flex; gap: 10px; align-items: flex-start;
  }
  .gb-avatar {
    width: 30px; height: 30px; background: var(--navy-light);
    border: 2px solid #fff; box-shadow: 0 0 0 1px var(--border);
    border-radius: 50%; display: flex; align-items: center;
    justify-content: center; font-size: 13px; font-weight: 700;
    color: var(--text-muted); flex-shrink: 0; font-family: inherit;
  }
  .gb-body { flex: 1; min-width: 0; }
  .gb-meta { display: flex; gap: 8px; align-items: baseline; margin-bottom: 3px; }
  .gb-name { font-size: 12px; font-weight: 700; color: var(--text); }
  .gb-time { font-size: 10px; color: var(--text-dim); }
  .gb-msg { font-size: 13px; color: var(--text-muted); line-height: 1.6; word-break: break-all; }
  .gb-like-btn {
    font-size: 10px; color: var(--text-dim); background: none;
    cursor: pointer; padding: 3px 10px; margin-top: 4px;
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    transition: all 0.2s;
  }
  .gb-like-btn.liked { color: var(--gold); border-color: rgba(40,107,143,0.45); background: rgba(40,107,143,0.08); }
  .gb-empty { text-align: center; padding: 32px; color: var(--text-dim); font-size: 13px; }
  .gb-load-more {
    display: block; width: 100%; padding: 12px; background: none;
    border: none; border-top: 1px solid var(--border); color: var(--text-dim);
    font-size: 12px; cursor: pointer;
  }

  /* ===== 광장 스크린 (mockup tone 2026-05-20) ===== */
  .plaza-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
    background: var(--card);
    padding: 0 16px;
    gap: 4px;
  }
  .ptab {
    flex: 1; padding: 12px 16px; border: none; background: none;
    color: var(--text-muted); font-size: 13px; cursor: pointer;
    border-bottom: 2px solid transparent; transition: all 0.2s;
    font-weight: 500; font-family: inherit;
    letter-spacing: -0.2px;
  }
  .ptab.active {
    color: var(--role-accent);
    border-bottom-color: var(--role-accent);
    background: transparent;
    font-weight: 700;
  }
  .ptab:hover:not(.active) { color: var(--text); }
  .plaza-panel { display: none; }
  .plaza-panel.active { display: block; }

  .petition-write-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: calc(100% - 32px); margin: 12px 16px; padding: 13px;
    background: rgba(49,130,246,0.04);
    border: 1.5px dashed rgba(49,130,246,0.30);
    border-radius: var(--r-md);
    color: var(--role-link); font-size: 13px; font-weight: 700;
    cursor: pointer; letter-spacing: -0.2px;
    transition: background 0.15s;
  }
  .petition-write-btn:hover { background: rgba(49,130,246,0.08); }
  .petition-card {
    background: var(--card);
    border: 0.5px solid var(--border);
    border-radius: var(--r-md);
    margin: 0 16px 8px; padding: 14px 16px;
    box-shadow: var(--shadow);
    transition: box-shadow 0.2s;
  }
  .petition-card:hover { box-shadow: var(--shadow-md); }
  .petition-title {
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
    line-height: 1.42;
    letter-spacing: -0.3px;
  }
  .petition-body {
    font-size: 12px; color: var(--text-muted); line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .petition-footer { display: flex; align-items: center; justify-content: space-between; }
  .petition-agree-btn {
    display: flex; align-items: center; gap: 6px;
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 6px 14px; font-size: 11px; font-weight: 600;
    cursor: pointer; font-family: inherit;
    border-radius: var(--r-full);
    transition: all 0.2s;
    letter-spacing: -0.2px;
  }
  .petition-agree-btn:hover { border-color: var(--role-accent); color: var(--role-accent); }
  .petition-agree-btn.agreed {
    border-color: var(--role-accent);
    color: var(--role-accent);
    background: rgba(49,130,246,0.08);
    font-weight: 700;
  }
  .petition-agree-btn:disabled { opacity: 0.5; cursor: default; }
  .petition-progress {
    font-size: 11px; color: var(--text-muted);
    font-variant-numeric: tabular-nums; font-weight: 600;
  }
  .petition-progress-bar {
    height: 5px; background: var(--surface-strong);
    margin-top: 7px; border-radius: var(--r-full); overflow: hidden;
  }
  .petition-progress-fill {
    height: 100%; background: var(--role-accent);
    border-radius: var(--r-full); transition: width 0.4s;
  }
  .petition-status {
    font-size: 10px; font-weight: 700; letter-spacing: -0.1px;
    padding: 3px 10px; border-radius: var(--r-full);
    border: 1px solid; margin-bottom: 8px; display: inline-block;
  }
  .petition-status.pending { color: var(--text-muted); background: var(--surface); border-color: var(--border); }
  .petition-status.published { color: var(--role-success); background: rgba(46,125,50,0.10); border-color: rgba(46,125,50,0.24); }
  .petition-meta { font-size: 11px; color: var(--text-muted); opacity: 0.85; }

  /* 청원 작성 모달 */
  .petition-modal {
    position: fixed; inset: 0; background: rgba(0,0,0,0.55);
    z-index: 200; display: none; align-items: flex-end;
  }
  .petition-modal.open { display: flex; }
  .petition-modal-inner {
    background: var(--card); width: 100%; padding: 20px 18px 40px;
    border-top: none;
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    box-shadow: 0 -8px 32px rgba(0,0,0,0.12);
  }
  .petition-modal-title {
    font-family: inherit; font-size: 16px; font-weight: 700;
    margin-bottom: 14px; letter-spacing: -0.3px;
  }
  .petition-input {
    width: 100%; background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    color: var(--text); padding: 11px 14px;
    font-size: 14px; font-family: inherit;
    margin-bottom: 8px;
    outline: none;
    transition: border-color 0.15s, background 0.15s;
  }
  .petition-input:focus { border-color: var(--role-accent); background: var(--card); }
  .petition-textarea {
    width: 100%; background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    color: var(--text); padding: 11px 14px;
    font-size: 13px; font-family: inherit;
    resize: none; height: 110px; margin-bottom: 10px;
    outline: none;
    line-height: 1.6;
    transition: border-color 0.15s, background 0.15s;
  }
  .petition-textarea:focus { border-color: var(--role-accent); background: var(--card); }
  .petition-modal-btns { display: flex; gap: 8px; margin-top: 4px; }
  .petition-cancel-btn {
    flex: 1; padding: 12px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    color: var(--text-muted); font-size: 13px; font-weight: 600;
    cursor: pointer; font-family: inherit;
    transition: border-color 0.15s;
  }
  .petition-cancel-btn:hover { border-color: var(--text-muted); }
  .petition-submit-btn {
    flex: 2; padding: 12px;
    background: var(--role-accent); border: none;
    border-radius: var(--r-full);
    color: #fff; font-size: 13px; font-weight: 700;
    cursor: pointer; font-family: inherit;
    transition: opacity 0.15s;
  }
  .petition-submit-btn:hover { opacity: 0.9; }

  .dtab.active {
    color: var(--role-accent);
    border-bottom-color: var(--role-accent);
    background: rgba(49,130,246,0.06);
    font-weight: 700;
  }

  .dtab:hover:not(.active) { color: var(--text-muted); }
  .dtab-secondary { display: none !important; }

  .detail-secondary-actions {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 8px 16px 10px;
    border-bottom: 1px solid var(--border);
    background: var(--card);
  }
  .detail-secondary-actions::-webkit-scrollbar { display: none; }

  .detail-secondary-actions button {
    flex: 0 0 auto;
    min-height: 32px;
    padding: 6px 13px;
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    background: var(--card);
    color: var(--text-muted);
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: -0.2px;
    cursor: pointer;
    transition: all 0.2s;
  }
  .detail-secondary-actions button.active {
    border-color: var(--role-accent);
    background: rgba(49,130,246,0.08);
    color: var(--role-accent);
    font-weight: 600;
  }

  /* ===== TAB PANELS ===== */
  .tab-panel { display: none; padding: 0; }
  .tab-panel.active { display: block; }

  .politician-news-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
  }

  .politician-news-section-title {
    padding: 0 2px;
    color: var(--text);
    font-size: 13px;
    font-weight: 900;
  }

  .politician-news-section-desc {
    margin: -4px 2px 2px;
    color: var(--text-dim);
    font-size: 11px;
    line-height: 1.45;
  }

  .politician-local-news-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 14px;
    border: 0.5px solid var(--border);
    border-radius: var(--r-md);
    background: var(--card);
    color: inherit;
    text-decoration: none;
    box-shadow: var(--shadow);
  }

  .politician-local-news-meta {
    margin-bottom: 4px;
    color: var(--role-link);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
  }

  .politician-local-news-title {
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.2px;
  }

  .politician-local-news-card p {
    margin: 5px 0 8px;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .politician-local-news-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
  }

  .politician-local-news-tags span {
    padding: 3px 9px;
    border-radius: var(--r-full);
    background: rgba(49,130,246,0.08);
    color: var(--role-link);
    font-size: 10px;
    font-weight: 700;
  }

  .politician-local-news-open {
    min-width: 38px;
    padding: 5px 11px;
    border-radius: var(--r-full);
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--role-link);
    font-size: 11px;
    font-weight: 700;
    text-align: center;
  }

  /* ===== TIMELINE ===== */
  .timeline-header {
    padding: 12px 16px;
    background: var(--card);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .timeline-date-label {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    font-weight: 600;
  }

  .update-badge {
    font-size: 10px;
    background: rgba(46,125,50,0.10);
    color: var(--role-success);
    padding: 3px 9px;
    border: 1px solid rgba(46,125,50,0.20);
    border-radius: var(--r-full);
    font-weight: 600;
  }

  .timeline { padding: 16px; display: flex; flex-direction: column; gap: 2px; }

  .tl-card {
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    background: var(--card);
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: var(--shadow);
  }

  .tl-card.expanded { border-color: rgba(49,130,246,0.28); box-shadow: var(--shadow-md); }

  .tl-header {
    display: flex;
    align-items: center;
    padding: 12px 14px;
    cursor: pointer;
    gap: 10px;
    transition: background 0.2s;
  }

  .tl-header:hover { background: var(--card-hover); }

  .tl-date-badge {
    font-size: 10px;
    color: var(--text-dim);
    min-width: 70px;
    flex-shrink: 0;
  }

  .tl-type-icon {
    width: 24px; height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
  }

  .type-vote { background: rgba(49,130,246,0.12); }
  .type-press { background: rgba(46,125,50,0.12); }
  .type-speech { background: rgba(230,81,0,0.12); }
  .type-visit { background: rgba(139,92,246,0.14); }

  .tl-summary {
    flex: 1;
    font-size: 13px;
    color: var(--text);
    line-height: 1.4;
  }

  .tl-arrow {
    color: var(--text-dim);
    font-size: 12px;
    transition: transform 0.3s;
    flex-shrink: 0;
  }

  .tl-card.expanded .tl-arrow { transform: rotate(180deg); }

  .tl-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  .tl-card.expanded .tl-body { max-height: 400px; }

  .tl-content {
    padding: 0 14px 14px;
    border-top: 1px solid var(--border);
    margin-top: 0;
  }

  .tl-detail-text {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 12px 0 10px;
  }

  .tl-source {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: var(--tag-bg);
    border: 1px solid var(--border);
  }

  .tl-source-label { font-size: 10px; color: var(--text-dim); }
  .tl-source-link { font-size: 11px; color: var(--gold); cursor: pointer; text-decoration: underline; }

  .tl-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
  }

  .tl-action-btn {
    flex: 1;
    padding: 7px 10px;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--text-muted);
    font-family: inherit;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all 0.2s;
    border-radius: var(--r-full);
  }
  .tl-action-btn:hover { border-color: var(--role-accent); color: var(--role-accent); }
  .tl-action-btn.report:hover { border-color: var(--role-danger); color: var(--role-danger); }

  /* ===== DEBATE SCREEN (mockup tone 2026-05-20) ===== */
  .debate-item {
    margin: 0 16px 8px;
    background: var(--card);
    border: 0.5px solid var(--border);
    border-radius: var(--r-md);
    padding: 14px 16px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: var(--shadow);
  }

  .debate-item:hover { background: var(--card-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }

  .debate-status {
    display: inline-block;
    font-size: 10px;
    padding: 3px 10px;
    border-radius: var(--r-full);
    font-weight: 700;
    margin-bottom: 9px;
    letter-spacing: -0.1px;
  }

  .status-live { background: rgba(229,57,53,0.10); color: var(--role-danger); border: 1px solid rgba(229,57,53,0.24); }
  .status-hot { background: rgba(230,81,0,0.10); color: var(--role-warn); border: 1px solid rgba(230,81,0,0.24); }
  .status-closed { background: var(--surface); color: var(--text-muted); border: 1px solid var(--border); }

  .debate-title {
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.42;
    letter-spacing: -0.3px;
  }

  .debate-meta {
    display: flex;
    gap: 10px;
    align-items: center;
  }

  .debate-count {
    font-size: 11px;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
  }

  .debate-count span { color: var(--text); font-weight: 600; }

  /* ===== REPORT MODAL ===== */
  .modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 1000;
    align-items: flex-end;
    justify-content: center;
  }

  .modal-overlay.open { display: flex; }

  .modal-sheet {
    background: var(--card);
    border-top: 3px solid var(--gold);
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    width: 100%;
    max-width: 480px;
    padding: 10px 20px 40px;
    animation: slideUp 0.3s ease;
    box-shadow: 0 -8px 32px rgba(18,42,67,0.14);
    will-change: transform;
    touch-action: pan-y;
  }

  .sheet-handle {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 0 12px;
    margin: -2px 0 6px;
    cursor: grab;
    touch-action: none;
  }
  .sheet-handle:active { cursor: grabbing; }
  .sheet-handle-bar {
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background: var(--border);
  }

  @keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
  }

  .modal-title {
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
  }

  .modal-desc {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 20px;
  }

  /* 로그인 필요 안내 바텀시트 (비로그인 액션 가드) */
  .modal-sheet.auth-sheet {
    padding: 8px 22px 30px;
    text-align: center;
  }
  .auth-sheet-icon {
    font-size: 32px;
    margin: 4px 0 10px;
  }
  .modal-sheet.auth-sheet .modal-title {
    margin-bottom: 8px;
  }
  .modal-sheet.auth-sheet .modal-desc {
    margin-bottom: 6px;
    font-size: 13px;
    color: var(--text);
    line-height: 1.5;
  }
  .auth-sheet-note {
    color: var(--text-dim);
    font-size: 11px;
    line-height: 1.55;
    margin: 0 auto 18px;
    max-width: 280px;
  }
  .auth-sheet-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .auth-sheet-btn {
    min-height: 44px;
    border-radius: var(--r-md);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid transparent;
    letter-spacing: -0.2px;
  }
  .auth-sheet-btn.primary {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
  }
  .auth-sheet-btn.primary:active { opacity: 0.92; }
  .auth-sheet-btn.ghost {
    background: transparent;
    color: var(--text-dim);
    border-color: var(--border);
  }
  .auth-sheet-btn.ghost:active { background: var(--navy-mid); }

  .report-options { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }

  .report-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    background: var(--card);
    cursor: pointer;
    transition: all 0.2s;
  }

  .report-option:hover { border-color: var(--red); background: rgba(192,57,43,0.05); }
  .report-option.selected { border-color: var(--red); background: rgba(192,57,43,0.1); }

  .report-option-icon { font-size: 18px; }
  .report-option-text { font-size: 13px; color: var(--text); }

  .report-detail-wrap {
    margin-bottom: 16px;
    display: none;
  }
  .report-detail-wrap.show { display: block; }
  .report-detail-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    background: var(--card);
    color: var(--text);
    font-family: inherit;
    font-size: 13px;
    resize: none;
    box-sizing: border-box;
  }
  .report-detail-input::placeholder { color: var(--text-dim); }
  .report-detail-input:focus { outline: none; border-color: var(--red); }
  .report-target-info {
    padding: 10px 12px;
    background: var(--surface);
    border-radius: var(--r-sm);
    margin-bottom: 14px;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
  }
  .report-target-info strong { color: var(--text); font-weight: 600; }

  .gb-report-btn {
    font-size: 10px; color: var(--text-dim); background: none; border: 1px solid transparent;
    cursor: pointer; padding: 3px 8px; margin-top: 4px; margin-left: 6px;
    border-radius: 12px; transition: all 0.2s;
  }
  .gb-report-btn:hover { color: var(--red); border-color: rgba(192,57,43,0.3); }

  .gb-hidden-msg {
    font-size: 12px; color: var(--text-dim); font-style: italic;
    padding: 4px 0;
  }

  .modal-actions { display: flex; gap: 8px; }

  .btn-cancel {
    flex: 1;
    padding: 12px;
    min-height: 44px;
    background: none;
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
  }

  .btn-report {
    flex: 1;
    padding: 12px;
    min-height: 44px;
    background: var(--red);
    border: none;
    color: white;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
  }

  .btn-report:hover { opacity: 0.85; }

  /* ===== TOAST ===== */
  .toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #191c1e;
    border: none;
    border-radius: var(--r-full);
    box-shadow: 0 8px 24px rgba(18,42,67,0.22);
    color: #ffffff;
    padding: 12px 24px;
    font-size: 13px;
    font-weight: 500;
    z-index: 2000;
    opacity: 0;
    transition: all 0.3s;
    white-space: nowrap;
    pointer-events: none;
  }

  .toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

  /* ===== SCROLL CONTENT ===== */
  .scroll-content { flex: 1; overflow-y: auto; }
  .scroll-content::-webkit-scrollbar { width: 3px; }
  .scroll-content::-webkit-scrollbar-track { background: var(--navy); }
  .scroll-content::-webkit-scrollbar-thumb { background: var(--border); }

  .spacer { height: 16px; }

  /* ===== DEBATE DETAIL ===== */
  .debate-nav {
    padding: 12px 16px;
    background: var(--card);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
  }

  .debate-detail-title {
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    flex: 1;
    letter-spacing: -0.3px;
  }

  .comments { padding: 12px 16px; display: flex; flex-direction: column; gap: 10px; }

  .comment {
    background: var(--card);
    border: 0.5px solid var(--border);
    border-radius: var(--r-md);
    padding: 13px 14px;
    box-shadow: var(--shadow);
  }

  .comment-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
  }

  .comment-user {
    font-size: 12px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.2px;
  }

  .comment-time {
    font-size: 10px;
    color: var(--text-muted);
    margin-left: auto;
    opacity: 0.8;
  }

  .comment-text {
    font-size: 13px;
    color: var(--text);
    line-height: 1.65;
  }

  .comment-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
  }

  .comment-action {
    font-size: 11px;
    color: var(--text-dim);
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 3px;
  }

  .comment-action:hover { color: var(--gold); }

  .comment-input-bar {
    position: fixed;
    bottom: 60px;
    left: 0; right: 0;
    background: var(--card);
    border-top: 1px solid var(--border);
    padding: 10px 16px;
    display: flex;
    gap: 8px;
    z-index: 50;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.04);
  }

  .comment-input {
    flex: 1;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    color: var(--text);
    padding: 10px 16px;
    font-family: inherit;
    font-size: 13px;
    outline: none;
    transition: border-color 0.15s, background 0.15s;
  }

  .comment-input:focus { border-color: var(--role-accent); background: var(--card); }

  .comment-submit {
    background: var(--role-accent);
    border: none;
    color: #fff;
    padding: 0 18px;
    border-radius: var(--r-full);
    font-size: 18px;
    cursor: pointer;
    font-weight: 700;
    transition: opacity 0.2s;
  }

  .comment-submit:hover { opacity: 0.85; }

  /* ===== GUIDE BANNER ===== */
  .guide-banner {
    margin: 12px 16px;
    padding: 12px 14px;
    background: rgba(49,130,246,0.06);
    border: 1px solid rgba(49,130,246,0.16);
    border-radius: var(--r-md);
    display: flex;
    gap: 10px;
    align-items: flex-start;
  }

  .guide-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }

  .guide-text {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.55;
  }

  .guide-text strong { color: var(--role-link); font-weight: 700; }

  /* Loading state */
  .loading-dots {
    display: flex; gap: 4px; justify-content: center; padding: 40px;
  }
  .loading-dots span {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--gold);
    animation: bounce 1s infinite;
  }
  .loading-dots span:nth-child(2) { animation-delay: 0.15s; }
  .loading-dots span:nth-child(3) { animation-delay: 0.3s; }
  @keyframes bounce {
    0%, 80%, 100% { transform: scale(0.7); opacity: 0.4; }
    40% { transform: scale(1); opacity: 1; }
  }

  /* ===== AUTH SCREENS ===== */
  #screen-auth, #screen-register, #screen-password-reset {
    background: var(--navy);
    align-items: center;
    justify-content: flex-start;
    padding: 0;
  }

  .auth-container {
    width: 100%; max-width: 420px; margin: 0 auto;
    padding: 48px 24px 40px;
    display: flex; flex-direction: column; align-items: center;
    min-height: 100vh;
  }

  .auth-logo {
    font-family: var(--font-brand);
    font-size: 32px; color: var(--text); margin-bottom: 4px;
  }
  .auth-logo span { color: var(--gold); }
  .auth-subtitle {
    font-size: 12px; color: var(--text-muted); letter-spacing: 1px;
    margin-bottom: 40px;
  }

  /* SNS 로그인 버튼 */
  .sns-btn {
    width: 100%; display: flex; align-items: center; gap: 12px;
    padding: 13px 16px; border: 1px solid var(--border);
    border-radius: var(--r-sm);
    background: var(--card); cursor: pointer; font-family: inherit;
    font-size: 14px; font-weight: 500; margin-bottom: 10px;
    transition: var(--transition); color: var(--text);
    box-shadow: var(--shadow);
  }
  .sns-btn:hover { background: var(--card-hover); border-color: var(--text-dim); }
  .sns-btn:active { transform: scale(0.99); }
  .sns-icon { width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 900; flex-shrink: 0; }
  .sns-kakao  { background: #FEE500; color: #191600; }
  .sns-naver  { background: #03C75A; color: #fff; font-size: 11px; }
  .sns-google { background: #fff; border: 1px solid #dadce0; font-size: 12px; }
  .sns-btn-text { flex: 1; text-align: left; }
  .sns-btn-chevron { color: var(--text-dim); font-size: 12px; }

  .auth-divider {
    width: 100%; display: flex; align-items: center; gap: 12px;
    margin: 20px 0; color: var(--text-dim); font-size: 12px;
  }
  .auth-divider::before, .auth-divider::after {
    content: ''; flex: 1; height: 1px; background: var(--border);
  }

  .auth-field { width: 100%; margin-bottom: 12px; }
  .auth-label {
    display: block; font-size: 11px; font-weight: 700;
    color: var(--text-muted); margin-bottom: 5px; letter-spacing: 0.5px;
  }
  .auth-input {
    width: 100%; padding: 12px 14px; background: var(--card);
    border: 1px solid var(--border); border-radius: var(--r-sm); color: var(--text);
    font-family: inherit; font-size: 14px; outline: none;
    transition: all 0.2s; box-shadow: var(--shadow);
  }
  .auth-input:focus { border-color: rgba(40,107,143,0.45); box-shadow: 0 0 0 3px rgba(40,107,143,0.10); }
  .auth-input.error { border-color: var(--red); }
  .auth-input.success { border-color: var(--green-ok); }
  .auth-field-msg {
    font-size: 11px; margin-top: 4px; min-height: 16px;
  }
  .auth-field-msg.error { color: var(--red); }
  .auth-field-msg.success { color: var(--green-ok); }
  .auth-field-msg.info { color: var(--text-dim); }

  .auth-input-row { display: flex; gap: 8px; }
  .auth-input-row .auth-input { flex: 1; }
  .auth-check-btn {
    padding: 0 14px; background: var(--navy-light); border: 1.5px solid var(--border);
    color: var(--text-muted); font-size: 12px; font-weight: 600; cursor: pointer;
    white-space: nowrap; font-family: inherit; transition: var(--transition); flex-shrink: 0;
  }
  .auth-check-btn:hover { border-color: var(--gold); color: var(--gold); }

  .auth-btn {
    width: 100%; padding: 14px; 
    background: linear-gradient(135deg, var(--brand-ink), var(--brand-blue));
    border: none; border-radius: var(--r-full);
    color: #fff; font-family: inherit; font-size: 15px; font-weight: 700;
    cursor: pointer; margin-top: 8px; transition: var(--transition); letter-spacing: 0.5px;
    box-shadow: 0 4px 16px rgba(40,107,143,0.24);
  }
  .auth-btn:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(40,107,143,0.30); }
  .auth-btn:disabled { opacity: 0.5; cursor: not-allowed; }

  .auto-login-row {
    display: flex; align-items: center; gap: 8px; margin: 10px 0 2px;
    font-size: 13px; color: var(--text-muted); cursor: pointer; user-select: none;
  }
  .auto-login-row input[type="checkbox"] {
    width: 16px; height: 16px; accent-color: var(--gold); cursor: pointer; margin: 0;
  }

  .auth-footer {
    margin-top: 24px; text-align: center; font-size: 13px; color: var(--text-muted);
  }
  .auth-link {
    color: var(--gold); font-weight: 700; cursor: pointer; text-decoration: none;
    border-bottom: 1px solid transparent; transition: border-color 0.2s;
  }
  .auth-link:hover { border-bottom-color: var(--gold); }

  .auth-notice {
    width: 100%; padding: 12px 14px; background: var(--tag-bg);
    border: 1px solid var(--border); font-size: 11px; color: var(--text-dim);
    line-height: 1.7; margin-bottom: 12px;
  }
  .auth-notice strong { color: var(--text-muted); }

  .auth-terms-row {
    display: flex; align-items: flex-start; gap: 10px; margin-bottom: 8px; width: 100%;
  }
  .auth-terms-row input[type=checkbox] { margin-top: 2px; accent-color: var(--gold); flex-shrink: 0; }
  .auth-terms-row label { font-size: 12px; color: var(--text-muted); line-height: 1.5; cursor: pointer; }
  .auth-terms-row label a { color: var(--gold); }

  .auth-back-btn {
    position: absolute; top: 16px; left: 16px; background: none; border: none;
    color: var(--text-muted); font-size: 22px; cursor: pointer; padding: 6px;
    line-height: 1;
  }

  .reg-step {
    width: 100%; display: flex; gap: 4px; margin-bottom: 32px;
  }
  .reg-step-dot {
    flex: 1; height: 3px; background: var(--border); border-radius: 0; transition: background 0.3s;
  }
  .reg-step-dot.active { background: var(--gold); }

  /* 로그인 상태 표시 (홈 nav) */
  .user-avatar-btn {
    width: 32px; height: 32px; border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-ink), var(--brand-blue));
    border: 2px solid rgba(255,255,255,0.6); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700; color: #fff;
    font-family: inherit;
    box-shadow: 0 2px 8px rgba(40,107,143,0.24);
  }

  /* ===== 설정 화면 ===== */
  #screen-settings {
    background:
      radial-gradient(circle at 50% -120px, rgba(49,130,246,0.10), transparent 300px),
      var(--bg);
  }
  #screen-settings .top-nav {
    background: var(--chrome-bg);
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  body.dark #screen-settings .top-nav {
    background: #050B14;
  }

  /* ===== SETTINGS (mockup tone 2026-05-20) ===== */
  .settings-section {
    background: var(--card);
    border: 0.5px solid var(--border);
    border-radius: var(--r-md);
    margin: 0 16px 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
  }
  .settings-section-title {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 14px 18px 6px;
  }
  .settings-row {
    display: flex;
    align-items: center;
    padding: 13px 16px;
    border-top: 1px solid var(--border-light);
    cursor: pointer;
    transition: background 0.15s;
    gap: 12px;
  }
  .settings-row:first-of-type { border-top: none; }
  .settings-row:hover { background: var(--card-hover); }
  .settings-row-icon { font-size: 18px; width: 24px; text-align: center; flex-shrink: 0; }
  .settings-row-label { flex: 1; font-size: 14px; color: var(--text); font-weight: 500; letter-spacing: -0.2px; }
  .settings-row-sub { font-size: 12px; color: var(--text-muted); margin-top: 2px; opacity: 0.9; }
  .settings-row-value { font-size: 13px; color: var(--text-muted); font-weight: 500; }
  .settings-row-arrow { color: var(--text-muted); font-size: 13px; opacity: 0.6; }

  /* 토글 스위치 */
  .settings-toggle {
    position: relative; width: 44px; height: 24px; flex-shrink: 0; cursor: pointer;
  }
  .settings-toggle input { opacity: 0; width: 0; height: 0; }
  .settings-toggle-track {
    position: absolute; inset: 0; background: var(--surface-strong);
    border-radius: 24px; transition: background 0.2s;
  }
  .settings-toggle input:checked + .settings-toggle-track { background: var(--role-accent); }
  .settings-toggle-knob {
    position: absolute; top: 3px; left: 3px;
    width: 18px; height: 18px; border-radius: 50%;
    background: #fff; transition: transform 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  }
  .settings-toggle input:checked ~ .settings-toggle-knob { transform: translateX(20px); }

  /* 계정 카드 */
  .settings-account-card {
    display: flex; align-items: center; gap: 14px;
    padding: 20px; border-radius: var(--r-lg); margin: 0 16px 12px;
    background:
      radial-gradient(circle at 12% 0%, rgba(255,255,255,0.24), transparent 150px),
      linear-gradient(135deg, var(--chrome-bg) 0%, var(--chrome-bg-2) 46%, var(--brand-blue) 100%);
    box-shadow: 0 12px 34px rgba(49,130,246,0.18);
  }
  .settings-account-avatar {
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(255,255,255,0.22);
    border: 1.5px solid rgba(255,255,255,0.48);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 700; color: #fff;
    font-family: inherit; flex-shrink: 0;
    letter-spacing: -0.5px;
  }
  .settings-account-name { font-size: 16px; font-weight: 700; color: #fff; }
  .settings-account-email { font-size: 12px; color: rgba(255,255,255,0.8); margin-top: 2px; }
  .settings-account-logout {
    font-size: 12px;
    padding: 7px 14px;
    border-radius: var(--r-full);
    border: 1.5px solid rgba(255,255,255,0.58);
    background: rgba(255,255,255,0.08);
    color: #fff;
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition);
  }
  .settings-account-logout:hover { background: rgba(255,255,255,0.16); }

  .settings-region-card,
  .settings-login-card {
    margin: 8px 16px 12px;
    padding: 14px 16px;
    background: var(--card);
    border: 0.5px solid var(--border);
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow);
  }
  .settings-region-card { margin-top: 8px; }
  .settings-region-icon,
  .settings-login-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(49,130,246,0.08);
    color: var(--role-link);
    font-size: 17px;
    flex-shrink: 0;
  }
  .settings-region-kicker {
    font-size: 10px;
    color: var(--role-link);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 3px;
  }
  .settings-region-name,
  .settings-login-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.3px;
  }
  .settings-login-sub {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
    line-height: 1.5;
  }
  .settings-region-change-btn,
  .settings-login-btn {
    font-size: 12px;
    padding: 7px 14px;
    border-radius: var(--r-full);
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--text);
    cursor: pointer;
    font-weight: 600;
    letter-spacing: -0.2px;
    transition: all 0.15s;
  }
  .settings-region-change-btn:hover { border-color: var(--text-muted); }
  .settings-login-btn {
    border: none;
    background: var(--role-accent);
    color: #fff;
    font-weight: 700;
  }
  .settings-login-btn:hover { opacity: 0.9; }

  /* 차단 목록 */
  .block-item {
    display: flex; align-items: center; padding: 11px 16px;
    border-top: 1px solid var(--border-light); gap: 10px;
  }
  .block-item-nick { flex: 1; font-size: 13px; color: var(--text); font-weight: 500; }
  .block-unblock-btn {
    font-size: 11px; padding: 5px 11px;
    border-radius: var(--r-full);
    border: 1px solid var(--border); background: var(--card);
    color: var(--text-muted); cursor: pointer; transition: all 0.15s;
    font-weight: 600;
  }
  .block-unblock-btn:hover { border-color: var(--role-accent); color: var(--role-accent); }

  /* 공지 아이템 */
  .notice-item {
    padding: 12px 16px; border-top: 1px solid var(--border-light);
  }
  .notice-item:first-of-type { border-top: none; }
  .notice-item-title { font-size: 13px; font-weight: 600; color: var(--text); letter-spacing: -0.2px; }
  .notice-item-date  { font-size: 11px; color: var(--text-muted); margin-top: 3px; opacity: 0.85; }
  .notice-badge {
    display: inline-block; font-size: 10px; padding: 2px 9px;
    border-radius: var(--r-full); background: var(--role-accent); color: #fff;
    font-weight: 700; margin-left: 6px; vertical-align: middle;
    letter-spacing: -0.1px;
  }

  /* 지역 뉴스 (mockup tone 2026-05-19) */
  .local-news-hero {
    margin: 12px 16px 10px;
    padding: 16px;
    border: 0.5px solid var(--border);
    border-radius: var(--r-md);
    background: var(--card);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    box-shadow: var(--shadow);
  }
  .local-news-kicker {
    font-size: 10px; color: var(--role-link); font-weight: 700;
    letter-spacing: 0.08em; margin-bottom: 7px;
  }
  .local-news-hero h2 {
    margin: 0; font-size: 19px; color: var(--text);
    font-family: inherit; font-weight: 700; letter-spacing: -0.3px;
    line-height: 1.35;
  }
  .local-news-meta { margin-top: 6px; font-size: 12px; color: var(--text-muted); line-height: 1.55; }
  .local-news-refresh {
    flex-shrink: 0; min-height: 32px; padding: 6px 12px;
    border-radius: var(--r-full);
    border: 1px solid var(--border); background: var(--card); color: var(--text-muted);
    font-size: 12px; font-weight: 700; cursor: pointer;
  }
  .local-news-refresh:hover { color: var(--text); border-color: var(--text-muted); }
  .local-news-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 0 16px 8px; scrollbar-width: none; }
  .local-news-tabs::-webkit-scrollbar { display: none; }
  .local-news-tab {
    flex: 0 0 auto; min-height: 32px; padding: 6px 13px;
    border-radius: var(--r-full);
    border: 1px solid var(--border); background: var(--card); color: var(--text-muted);
    font-size: 12px; font-weight: 500; cursor: pointer;
    letter-spacing: -0.2px;
  }
  .local-news-tab.active {
    background: var(--role-chrome);
    color: #fff;
    border-color: var(--role-chrome);
    font-weight: 600;
  }
  .local-news-tab-add {
    border-style: dashed;
    color: var(--role-link);
    font-weight: 800;
  }
  .local-news-tab-add:hover {
    background: rgba(49,130,246,0.08);
    border-color: rgba(49,130,246,0.28);
  }
  .local-news-segments {
    display: flex; flex-direction: column; gap: 6px;
    margin: 0 16px 12px; padding: 4px;
    border-radius: var(--r-md);
    background: var(--surface-strong); border: none;
  }
  .local-news-segment-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
  }
  .local-news-segment {
    min-height: 34px; border: 0;
    border-radius: var(--r-sm);
    background: transparent;
    color: var(--text-muted); font-size: 13px; font-weight: 700; cursor: pointer;
  }
  .local-news-segment.active {
    background: var(--card);
    color: var(--text);
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  }
  .local-news-datebar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 7px 8px;
    border-radius: var(--r-sm);
    background: var(--card);
    border: 1px solid var(--border);
  }
  .local-news-datebar span {
    color: var(--text-dim);
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
  }
  .local-news-datebar select {
    min-width: 0;
    border: 0;
    background: transparent;
    color: var(--text);
    font-size: 12px;
    font-weight: 800;
    outline: none;
  }
  .local-news-datebar button {
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--role-chrome);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
  }
  .local-news-summary {
    margin: 0 16px 12px;
    border: 0.5px solid var(--border);
    border-radius: var(--r-md);
    background: var(--card); overflow: hidden;
    box-shadow: var(--shadow);
  }
  .local-news-section-title {
    padding: 12px 14px 8px; font-size: 12px; color: var(--text-dim); font-weight: 800;
  }
  .local-news-summary ol {
    margin: 0; padding: 0 14px 12px 34px; color: var(--text);
    font-size: 14px; line-height: 1.65;
  }
  .local-news-summary li { margin: 4px 0; }
  .local-news-list { display: flex; flex-direction: column; gap: 10px; padding: 0 16px 12px; }
  .local-news-archive-tools {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    background: var(--card);
    box-shadow: var(--shadow);
  }
  .local-news-archive-range,
  .local-news-archive-scope {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 3px;
    border-radius: var(--r-sm);
    background: var(--surface-strong);
  }
  .local-news-archive-range button,
  .local-news-archive-scope button {
    min-height: 30px;
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 800;
  }
  .local-news-archive-range button.active,
  .local-news-archive-scope button.active {
    background: var(--role-chrome);
    color: #fff;
  }
  .local-news-archive-quick {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .local-news-archive-quick::-webkit-scrollbar { display: none; }
  .local-news-archive-quick button {
    min-height: 30px;
    flex: 0 0 auto;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--surface-strong);
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 800;
  }
  .local-news-archive-quick button.active {
    background: color-mix(in srgb, var(--brand-blue) 14%, var(--surface-strong));
    color: var(--brand-blue);
  }
  .local-news-archive-search {
    display: grid;
    grid-template-columns: minmax(120px, 0.78fr) minmax(0, 1.22fr);
    gap: 8px;
  }
  .local-news-archive-search label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
  }
  .local-news-archive-search span,
  .local-news-archive-result {
    color: var(--text-dim);
    font-size: 11px;
    font-weight: 800;
  }
  .local-news-archive-search input {
    width: 100%;
    min-height: 34px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    color: var(--text);
    padding: 0 10px;
    font-size: 13px;
    font-weight: 700;
    outline: none;
  }
  .local-news-archive-result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }
  .local-news-archive-result > div {
    min-width: 0;
    display: grid;
    gap: 2px;
  }
  .local-news-archive-result strong {
    color: var(--text);
    font-size: 12px;
    font-weight: 900;
    line-height: 1.35;
  }
  .local-news-archive-result small {
    color: var(--text-dim);
    font-size: 10px;
    font-weight: 800;
    line-height: 1.35;
  }
  .local-news-archive-result button {
    min-height: 26px;
    flex: 0 0 auto;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--surface-strong);
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 800;
  }
  .local-news-archive-warning {
    border-radius: 10px;
    background: color-mix(in srgb, var(--brand-amber) 12%, transparent);
    color: var(--brand-amber);
    padding: 8px 10px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.45;
  }
  .local-news-highlight {
    border-radius: 4px;
    background: color-mix(in srgb, var(--brand-blue) 18%, transparent);
    color: var(--brand-blue);
    padding: 0 2px;
    font-weight: 900;
  }
  .local-news-article {
    display: grid; grid-template-columns: 1fr 72px; gap: 12px; align-items: start;
    min-height: 96px; padding: 14px 0; border-bottom: 1px solid var(--border);
    color: inherit; text-decoration: none;
  }
  .local-news-article.is-disabled { cursor: default; }
  .local-news-article--featured {
    min-height: 112px;
    padding: 14px;
    border: 0.5px solid var(--border);
    border-radius: var(--r-md);
    background: var(--card);
    box-shadow: var(--shadow);
  }
  .local-news-article--featured + .local-news-article--featured { margin-top: 2px; }
  .local-news-article--compact {
    grid-template-columns: 1fr 54px;
    min-height: 76px;
    padding: 10px 0;
    gap: 10px;
  }
  .local-news-more-title {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 2px 0 -2px;
    padding: 10px 0 0;
    border-top: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 12px;
    font-weight: 800;
  }
  .local-news-more-title span {
    color: var(--text-muted);
    font-weight: 700;
  }
  .local-news-pager {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 14px 0 4px;
  }
  .local-news-pager button {
    min-width: 58px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--text);
    font-size: 12px;
    font-weight: 800;
  }
  .local-news-pager button:disabled {
    opacity: 0.35;
    cursor: default;
  }
  .local-news-page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
  }
  .local-news-page-numbers button {
    min-width: 34px;
    padding: 0 8px;
    border-radius: 10px;
  }
  .local-news-page-numbers button.active {
    background: var(--role-chrome);
    border-color: var(--role-chrome);
    color: #fff;
  }
  .local-news-page-ellipsis {
    min-width: 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 800;
  }
  .local-news-article-main h3 {
    margin: 0; color: var(--text); font-size: 15px; font-weight: 900; line-height: 1.4;
  }
  .local-news-article-main { min-width: 0; }
  .local-news-article-main p {
    margin: 6px 0 8px; color: var(--text-muted); font-size: 13px; line-height: 1.55;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  }
  .local-news-tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 0 0 7px; }
  .local-news-tags span {
    padding: 3px 9px;
    border-radius: var(--r-full);
    background: rgba(49,130,246,0.08);
    color: var(--role-link);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: -0.1px;
  }
  .local-news-thumb {
    width: 72px; aspect-ratio: 1; object-fit: cover;
    border-radius: var(--r-sm);
    background: var(--surface-strong);
    border: 0.5px solid var(--border);
  }
  .local-news-article--featured .local-news-thumb { width: 78px; }
  .local-news-article--featured .local-news-article-main h3 { font-size: 16px; line-height: 1.38; }
  .local-news-article--compact .local-news-thumb { width: 54px; border-radius: 7px; }
  .local-news-article--compact .local-news-article-main h3 {
    font-size: 14px;
    line-height: 1.38;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .local-news-article--compact .local-news-article-main p {
    margin: 4px 0 5px;
    font-size: 12px;
    line-height: 1.45;
    -webkit-line-clamp: 2;
  }
  .local-news-article--compact .local-news-tags { display: none; }
  .local-news-article--compact .local-news-card-source { font-size: 10px; }
  .local-news-thumb-placeholder {
    display: grid; place-items: center;
    padding: 6px;
    text-align: center;
    line-height: 1.2;
    color: var(--role-link); font-size: 11px; font-weight: 800;
    background: rgba(49,130,246,0.08);
  }
  .local-news-card {
    border: 0.5px solid var(--border);
    border-radius: var(--r-md);
    background: var(--card); overflow: hidden;
    box-shadow: var(--shadow);
  }
  .local-news-card-top {
    display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--border);
  }
  .local-news-party-bar {
    width: 4px; height: 42px; border-radius: 2px; background: var(--gold); flex-shrink: 0;
  }
  .local-news-card-title { color: var(--text); font-size: 15px; font-weight: 800; line-height: 1.35; }
  .local-news-card-source { margin-top: 3px; color: var(--text-muted); font-size: 11px; }
  .local-news-open-label {
    display: inline-flex; align-items: center; margin-left: 6px; padding: 1px 7px;
    border: 1px solid var(--border); border-radius: var(--r-full); color: var(--role-link);
    font-size: 10px; font-weight: 700;
  }
  .local-news-details { padding: 12px 14px; display: grid; gap: 8px; }
  .local-news-detail-row {
    display: grid; grid-template-columns: 44px 1fr; gap: 8px; align-items: start;
    font-size: 13px; line-height: 1.55; color: var(--text-muted);
  }
  .local-news-detail-label { color: var(--gold); font-size: 12px; font-weight: 800; }
  .local-news-pledge-summary {
    padding-bottom: 2px; font-size: 13px; line-height: 1.6; color: var(--text);
    font-weight: 600;
  }
  .local-news-actions { display: flex; justify-content: flex-end; gap: 8px; padding: 0 14px 12px; }
  .local-news-link {
    min-height: 30px; padding: 5px 11px;
    border-radius: var(--r-full);
    border: 1px solid var(--border);
    color: var(--role-link); background: var(--card);
    font-size: 11px; font-weight: 700; text-decoration: none;
    display: inline-flex; align-items: center;
  }
  .local-news-link:hover { background: var(--surface-strong); }
  .local-news-link.is-muted { opacity: .65; }
  .local-news-empty {
    border: 0.5px solid var(--border);
    border-radius: var(--r-md);
    background: var(--card);
    padding: 22px 18px;
    color: var(--text-muted);
    font-size: 13px;
    text-align: center;
    box-shadow: var(--shadow);
  }
  .local-news-state-icon {
    width: 42px;
    height: 42px;
    margin: 0 auto 10px;
    border-radius: 16px;
    background: rgba(49,130,246,0.10);
    color: var(--role-link);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 900;
  }
  .local-news-state-title {
    color: var(--text);
    font-size: 14px;
    font-weight: 900;
    line-height: 1.35;
  }
  .local-news-state-desc {
    margin: 5px auto 0;
    max-width: 260px;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.55;
  }
  .local-news-state-action {
    margin-top: 13px;
    min-height: 32px;
    padding: 6px 13px;
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    background: var(--role-chrome);
    color: var(--chrome-text);
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(8,19,31,0.12);
  }
