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

:root {
  --bg-color: #080a0f;
  --bg-grid: rgba(255, 255, 255, 0.02);
  --card-bg: rgba(13, 17, 23, 0.7);
  --card-border: rgba(255, 255, 255, 0.08);
  --text-main: #f0f6fc;
  --text-sub: #8b949e;
  --accent-blue: #2f81f7;
  --accent-purple: #ab7df6;
  --glow-color: rgba(47, 129, 247, 0.2);
  
  /* 정당별 색상 */
  --party-minjoo: #1f4ef5;
  --party-power: #e61c24;
  --party-rebuild: #0087ff;
  --party-reform: #ff7f00;
  --party-progressive: #d6001c;
  --party-newfuture: #00b5b5;
  --party-etc: #7f8c8d;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  background-image: 
    radial-gradient(at 0% 0%, rgba(31, 78, 245, 0.1) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(171, 125, 246, 0.1) 0px, transparent 50%),
    linear-gradient(var(--bg-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--bg-grid) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* 스크롤바 커스텀 */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* 헤더 및 타이틀 */
header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.badge-top {
  display: inline-block;
  background: rgba(47, 129, 247, 0.15);
  border: 1px solid rgba(47, 129, 247, 0.3);
  color: var(--accent-blue);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #ffffff 40%, #a2b6ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.subtitle {
  color: var(--text-sub);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* 탭 전환 버튼 */
.tabs-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-sub);
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
}

.tab-btn.active {
  background: rgba(47, 129, 247, 0.15);
  border-color: var(--accent-blue);
  color: var(--text-main);
  box-shadow: 0 0 15px rgba(47, 129, 247, 0.1);
}

/* 대시보드 구조 */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.dashboard-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1.5rem;
  backdrop-filter: blur(12px) saturate(180%);
  transition: transform 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.dashboard-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.15);
}

.dashboard-card h3 {
  font-size: 1.1rem;
  color: var(--text-sub);
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* 국회 의석 구조도 */
.assembly-card {
  grid-column: 1 / -1;
  overflow: visible;
}

.assembly-caption {
  font-size: 0.78rem;
  color: var(--text-sub);
  font-weight: 500;
}

.assembly-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  margin-bottom: 1rem;
}

.assembly-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-sub);
  font-size: 0.78rem;
  line-height: 1;
}

.assembly-legend-item strong {
  color: var(--text-main);
  font-weight: 700;
}

.assembly-legend-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  box-shadow: 0 0 10px currentColor;
}

.assembly-floor {
  position: relative;
  width: 100%;
  height: clamp(290px, 48vw, 520px);
  overflow: visible;
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 50% 98%, rgba(47, 129, 247, 0.16) 0%, rgba(47, 129, 247, 0.04) 34%, transparent 68%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.assembly-floor::before,
.assembly-floor::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 86%;
  height: 82%;
  transform: translateX(-50%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50% 50% 0 0;
  pointer-events: none;
}

.assembly-floor::after {
  width: 46%;
  height: 43%;
  border-color: rgba(255, 255, 255, 0.06);
}

.assembly-podium {
  position: absolute;
  left: 50%;
  bottom: 3.5%;
  transform: translateX(-50%);
  min-width: 128px;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-main);
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  z-index: 1;
}

.assembly-seat {
  position: absolute;
  width: clamp(8px, 1.25vw, 14px);
  height: clamp(8px, 1.25vw, 14px);
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  padding: 0;
  z-index: 2;
}

.assembly-seat-core {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--seat-color, var(--party-etc));
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.03), 0 0 12px var(--seat-glow, rgba(255, 255, 255, 0.12));
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.assembly-seat:hover,
.assembly-seat:focus-visible {
  z-index: 20;
  outline: none;
}

.assembly-seat:hover .assembly-seat-core,
.assembly-seat:focus-visible .assembly-seat-core {
  transform: scale(1.75);
  filter: brightness(1.22);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18), 0 0 22px var(--seat-glow, rgba(255, 255, 255, 0.2));
}

.assembly-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  width: min(260px, 78vw);
  transform: translateX(-50%) translateY(6px);
  background: #111720;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
  color: var(--text-main);
  padding: 0.75rem 0.85rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.14s ease, transform 0.14s ease;
  text-align: left;
  font-size: 0.78rem;
  line-height: 1.45;
}

.assembly-tooltip::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 10px;
  height: 10px;
  transform: translateX(-50%) rotate(45deg);
  background: #111720;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.assembly-tooltip strong,
.assembly-tooltip em,
.assembly-tooltip span {
  display: block;
}

.assembly-tooltip strong {
  font-size: 0.95rem;
  margin-bottom: 0.1rem;
}

.assembly-tooltip em {
  color: var(--text-sub);
  font-style: normal;
  margin-bottom: 0.45rem;
}

.assembly-tooltip-count {
  color: #ff7b72;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.assembly-tooltip-clean {
  color: #56d364;
  font-weight: 800;
}

.assembly-tooltip-unknown {
  color: #d1d5db;
  font-weight: 800;
}

.assembly-seat:hover .assembly-tooltip,
.assembly-seat:focus-visible .assembly-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* 통계 서머리 수치 */
.stat-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #ffffff 60%, var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-desc {
  font-size: 0.9rem;
  color: var(--text-sub);
  max-width: 150px;
  text-align: right;
}

/* 원형 프로그레스 */
.circular-progress {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.circular-progress svg {
  width: 120px;
  height: 120px;
  transform: rotate(-90deg);
}

.circular-progress circle {
  fill: none;
  stroke-width: 10;
}

.circular-progress .bg {
  stroke: rgba(255, 255, 255, 0.05);
}

.circular-progress .fg {
  stroke: var(--accent-blue);
  stroke-dasharray: 314;
  stroke-dashoffset: calc(314 - (314 * 28.67) / 100);
  transition: stroke-dashoffset 1s ease-in-out;
}

.circular-progress .text {
  position: absolute;
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.circular-progress .text span {
  font-size: 0.7rem;
  color: var(--text-sub);
  font-weight: 500;
}

/* 정당별 막대 차트 */
.party-chart {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.party-row {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.party-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

.party-name-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.party-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.party-bar-container {
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
}

.party-bar-total {
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.party-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1s ease;
}

/* 공식자료 연결 상태 바 */
.source-status {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.source-status-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
}

.source-status-label {
  width: 86px;
  flex-shrink: 0;
  color: var(--text-sub);
}

.source-status-bar-wrap {
  flex-grow: 1;
  height: 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  overflow: hidden;
}

.source-status-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-blue));
  border-radius: 6px;
  transition: width 1s ease;
}

.source-status-value {
  min-width: 130px;
  text-align: right;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
}

/* AI 자연어 검색기 */
.ai-search-container {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 1.8rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(12px);
  position: relative;
}

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

.search-icon-svg {
  position: absolute;
  left: 1.2rem;
  width: 20px;
  height: 20px;
  fill: var(--text-sub);
}

.ai-search-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 1.2rem 1rem 3rem;
  border-radius: 12px;
  color: var(--text-main);
  font-size: 1.1rem;
  outline: none;
  transition: all 0.3s ease;
  font-family: inherit;
}

.ai-search-input:focus {
  border-color: var(--accent-blue);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 20px rgba(47, 129, 247, 0.15);
}

.search-recommendations {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  align-items: center;
}

.recommend-label {
  font-size: 0.8rem;
  color: var(--text-sub);
  margin-right: 0.5rem;
}

.recommend-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-sub);
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.recommend-tag:hover {
  background: rgba(47, 129, 247, 0.1);
  border-color: rgba(47, 129, 247, 0.3);
  color: var(--accent-blue);
}

/* 필터 버튼 영역 */
.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.filter-group {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-select {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--text-main);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  outline: none;
  cursor: pointer;
}

.filter-select:focus {
  border-color: var(--accent-blue);
}

.member-count-label {
  font-size: 0.9rem;
  color: var(--text-sub);
}

.member-count-label span {
  color: var(--text-main);
  font-weight: 700;
}

/* 국회의원 리스트 그리드 */
.member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.2rem;
  margin-top: 1rem;
}

/* 의원 카드 */
.member-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  backdrop-filter: blur(10px);
}

.member-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--party-color, var(--party-etc));
}

.member-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px var(--party-glow, rgba(255, 255, 255, 0.05));
}

.member-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid var(--party-color, var(--party-etc));
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.member-avatar svg {
  width: 35px;
  height: 35px;
  fill: var(--text-sub);
}

.member-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.2rem;
}

.member-party-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  color: #fff;
  background: var(--party-color, var(--party-etc));
  margin-bottom: 0.6rem;
}

.member-dist {
  font-size: 0.8rem;
  color: var(--text-sub);
  margin-bottom: 1rem;
  height: 1.2rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

.activity-badge {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  width: 100%;
  justify-content: center;
  background: rgba(47, 129, 247, 0.12);
  border: 1px solid rgba(47, 129, 247, 0.28);
  color: #d1e8ff;
}

/* 의원 상세 모달 */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(5, 7, 10, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 1.5rem;
  animation: fadeIn 0.3s ease forwards;
}

.modal-content {
  background: #0f131a;
  border: 1px solid var(--card-border);
  border-radius: 24px;
  width: 100%;
  max-width: 760px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  color: var(--text-sub);
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
}

.modal-header-profile {
  padding: 2rem;
  border-bottom: 1px solid var(--card-border);
  display: flex;
  gap: 1.5rem;
  align-items: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
}

.modal-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 3px solid var(--party-color, var(--party-etc));
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.modal-avatar svg {
  width: 45px;
  height: 45px;
  fill: var(--text-sub);
}

.modal-profile-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.modal-name-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.modal-name {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  font-family: 'Outfit', sans-serif;
}

.modal-party {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  color: #fff;
  background: var(--party-color, var(--party-etc));
}

.modal-details {
  font-size: 0.9rem;
  color: var(--text-sub);
}

/* 모달 바디 */
.modal-body {
  padding: 2rem;
}

.modal-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-section-title svg {
  width: 18px;
  height: 18px;
  fill: var(--accent-blue);
}

.modal-clean-state {
  text-align: center;
  padding: 3rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal-clean-state svg {
  width: 50px;
  height: 50px;
  fill: #56d364;
  margin-bottom: 1rem;
}

.modal-clean-state.unverified svg {
  fill: #d1d5db;
}

.modal-clean-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.modal-clean-desc {
  font-size: 0.9rem;
  color: var(--text-sub);
}

.district-brief {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.district-brief > div {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 1rem;
}

.district-kicker {
  display: block;
  color: var(--text-sub);
  font-size: 0.78rem;
  margin-bottom: 0.25rem;
}

.district-brief strong {
  font-size: 1rem;
}

.source-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.source-card {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 1rem;
}

.source-card h4 {
  font-size: 1rem;
  margin-bottom: 0.45rem;
}

.source-card p {
  color: var(--text-sub);
  font-size: 0.83rem;
  line-height: 1.5;
}

.source-card a {
  margin-top: 1rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 36px;
  border-radius: 8px;
  background: rgba(47, 129, 247, 0.16);
  border: 1px solid rgba(47, 129, 247, 0.32);
  color: #d1e8ff;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
}

.activity-note {
  background: rgba(47, 129, 247, 0.045);
  border: 1px solid rgba(47, 129, 247, 0.12);
  border-radius: 14px;
  padding: 1rem;
}

.keyword-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.keyword-chips span {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  color: var(--text-sub);
  font-size: 0.78rem;
}

/* 공익 알림 안내 */
.public-notice {
  font-size: 0.75rem;
  color: var(--text-sub);
  background: rgba(255, 255, 255, 0.01);
  border-top: 1px solid var(--card-border);
  padding: 1rem 2rem;
  text-align: center;
}

/* 반응형 모바일 대응 */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  .container {
    padding: 1rem;
  }
  .modal-content {
    max-height: 95vh;
  }
  .modal-header-profile {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
  .modal-name-row {
    justify-content: center;
  }
  .district-brief,
  .source-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-card h3 {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.4rem;
  }
  .assembly-floor {
    height: 330px;
  }
  .assembly-caption {
    font-size: 0.72rem;
  }
  .assembly-podium {
    min-width: 104px;
    padding: 0.45rem 0.85rem;
    font-size: 0.76rem;
  }
}

/* 키프레임 애니메이션 */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
