/* 삼국지 왕국 운영 웹게임 - 프리미엄 라이트 스타일 시트 */

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

:root {
    --bg-dark: #f0f2f6;
    --bg-card: rgba(255, 255, 255, 0.85);
    --border-glow: rgba(212, 175, 55, 0.35);
    
    --color-gold: #c28e20;
    --color-gold-glow: #e2ab2b;
    --color-jade: #27ae60;
    --color-crimson: #c0392b;
    --color-purple: #8e44ad;
    --color-cyan: #2980b9;
    --color-text-primary: #1e293b;
    --color-text-secondary: #475569;
    
    --shadow-neon-gold: 0 4px 15px rgba(212, 175, 55, 0.18);
    --shadow-neon-crimson: 0 4px 15px rgba(192, 57, 43, 0.22);
    --shadow-neon-jade: 0 4px 15px rgba(39, 174, 96, 0.18);
    --glass-blur: blur(12px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', 'Noto Serif KR', sans-serif;
    user-select: none;
}

body {
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(41, 128, 185, 0.08) 0%, transparent 45%);
    color: var(--color-text-primary);
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

/* 스크롤바 커스텀 */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}
::-webkit-scrollbar-thumb {
    background: var(--color-gold);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold-glow);
}

/* 게임 헤더 */
header {
    height: 65px;
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: var(--glass-blur);
    border-bottom: 2px solid rgba(214, 175, 55, 0.35);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    z-index: 10;
    position: relative;
}

.logo h1 {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 2px;
    background: linear-gradient(135deg, var(--color-gold) 30%, #2c3e50 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.logo span {
    font-size: 11px;
    color: var(--color-text-secondary);
    margin-left: 10px;
    text-transform: uppercase;
    font-weight: 600;
}

.time-control {
    display: flex;
    align-items: center;
    gap: 20px;
}

.date-badge {
    font-size: 17px;
    font-weight: 800;
    color: #1e293b;
    background: #ffffff;
    padding: 6px 16px;
    border-radius: 6px;
    border: 1px solid var(--color-gold);
    letter-spacing: 1px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-gold-glow) 0%, var(--color-gold) 100%);
    border: 1px solid var(--color-gold);
    color: #fff;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 3px 8px rgba(194, 142, 32, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(194, 142, 32, 0.35);
}

.btn-primary:active {
    transform: translateY(1px);
}

.btn-danger {
    background: linear-gradient(135deg, var(--color-crimson) 0%, #a62c2b 100%);
    border: 1px solid #ff7675;
    color: #fff;
    font-weight: 700;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-danger:hover {
    box-shadow: 0 4px 12px rgba(192, 57, 43, 0.25);
}

/* 전체 레이아웃 */
.game-container {
    display: grid;
    grid-template-columns: 320px 1fr 340px;
    height: calc(100vh - 65px);
    overflow: hidden;
}

/* 패널 공통 */
.side-panel {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: var(--glass-blur);
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
}

.side-panel.right {
    border-right: none;
    border-left: 1px solid rgba(0, 0, 0, 0.08);
}

.panel-header {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.panel-header h2 {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #1e293b;
    border-left: 3px solid var(--color-gold);
    padding-left: 8px;
}

/* 왼쪽 패널: 자원 및 내정 지표 */
.resource-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 20px;
}

.resource-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.resource-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-gold);
    opacity: 0.8;
}

.resource-card.gold::after { background: var(--color-gold-glow); }
.resource-card.food::after { background: #e67e22; }
.resource-card.soldiers::after { background: var(--color-crimson); }
.resource-card.population::after { background: var(--color-cyan); }

.resource-card.wide {
    grid-column: span 2;
}

.res-label {
    font-size: 11px;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    font-weight: 600;
}

.res-value {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.res-value.glow-gold { color: #b7791f; }
.res-value.glow-food { color: #d35400; }
.res-value.glow-soldier { color: var(--color-crimson); }
.res-value.glow-pop { color: var(--color-cyan); }

.stat-bar-container {
    margin-top: 4px;
}

.stat-bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    margin-bottom: 2px;
    font-weight: 600;
}

.stat-bar {
    height: 4px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 2px;
    overflow: hidden;
}

.stat-bar-fill {
    height: 100%;
    background: var(--color-gold);
    width: 0%;
    transition: width 0.5s ease-out;
}

.stat-bar-fill.sec { background: var(--color-jade); }
.stat-bar-fill.trn { background: var(--color-crimson); }
.stat-bar-fill.farm { background: #e67e22; }
.stat-bar-fill.comm { background: var(--color-cyan); }

/* 역사 기록부 */
.history-logs {
    flex: 1;
    overflow-y: auto;
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.log-item {
    font-size: 11.5px;
    line-height: 1.6;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 6px;
    border-left: 2.5px solid var(--color-gold);
    color: #334155;
    border-top: 1px solid rgba(0, 0, 0, 0.02);
    border-right: 1px solid rgba(0, 0, 0, 0.02);
    border-bottom: 1px solid rgba(0, 0, 0, 0.02);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    animation: fadeIn 0.4s ease-out;
}

/* 중앙 메인 컨텐츠 (지도 / 도시 목록) */
.main-content {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.view-selector {
    display: flex;
    background: rgba(0, 0, 0, 0.03);
    padding: 10px;
    gap: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.tab-btn {
    flex: 1;
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: #ffffff;
    color: var(--color-text-secondary);
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 1px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.tab-btn.active, .tab-btn:hover {
    background: rgba(214, 175, 55, 0.1);
    border-color: var(--color-gold);
    color: #b7791f;
    box-shadow: 0 2px 8px rgba(214, 175, 55, 0.1);
}

.map-view {
    flex: 1;
    overflow: auto;
    position: relative;
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 중국 삼국지 지도 (추상 도트 노드) */
.china-map-container {
    width: 650px;
    height: 480px;
    background: radial-gradient(circle, #f8fafc 0%, #edf2f7 100%);
    border: 2px solid rgba(214, 175, 55, 0.35);
    border-radius: 12px;
    position: relative;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.map-bg-effect {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.25;
    background-image: 
        radial-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
        linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* 노드 위치 정의 */
.city-node {
    position: absolute;
    width: 110px;
    height: 55px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
    z-index: 2;
}

.city-node:hover {
    transform: translateY(-4px) scale(1.05);
    border-color: var(--color-gold);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.city-node.captured {
    border-color: var(--color-jade);
    background: rgba(46, 204, 113, 0.08);
    box-shadow: 0 3px 12px rgba(46, 204, 113, 0.12);
}

.city-node.captured:hover {
    border-color: #27ae60;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.25);
}

.city-node.active-target {
    border-color: var(--color-crimson);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.25);
}

.node-name {
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #1e293b;
}

.node-ruler {
    font-size: 9px;
    color: var(--color-text-secondary);
    margin-top: 1px;
    font-weight: 600;
}

/* 삼국지 지도 위치 맵핑 */
#city-chengdu { top: 280px; left: 80px; }
#city-hanzhong { top: 190px; left: 160px; }
#city-jingzhou { top: 290px; left: 320px; }
#city-changan { top: 150px; left: 240px; }
#city-jianye { top: 290px; left: 520px; }
#city-xuchang { top: 160px; left: 390px; }
#city-ye { top: 60px; left: 420px; }
#city-luoyang { top: 130px; left: 320px; }

/* 맵 연결용 줄(Path) 효과 */
svg.map-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.map-path {
    stroke: rgba(0, 0, 0, 0.06);
    stroke-width: 2;
    stroke-dasharray: 4 4;
}

.map-path.captured {
    stroke: rgba(46, 204, 113, 0.4);
}

/* 영지 관리 디테일 뷰 */
.details-panel {
    background: rgba(255, 255, 255, 0.65);
    border-radius: 8px;
    margin: 0 30px 30px;
    padding: 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.details-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

/* 오른쪽 무장 패널 */
.officer-list {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* 무장 카드 디자인 (도트 일러스트 배치) */
.officer-card {
    background: #ffffff;
    border: 1px solid var(--border-glow);
    border-radius: 10px;
    padding: 12px;
    display: flex;
    gap: 12px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.2);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
    cursor: pointer;
}

.officer-card:hover {
    transform: translateX(-4px) scale(1.02);
    border-color: var(--color-gold);
    box-shadow: var(--shadow-neon-gold);
}

.officer-card.busy {
    opacity: 0.55;
    border-color: rgba(0, 0, 0, 0.05);
    background: rgba(241, 245, 249, 0.6);
}

.officer-card.busy:hover {
    transform: none;
    box-shadow: none;
}

.officer-avatar {
    width: 65px;
    height: 65px;
    border-radius: 6px;
    overflow: hidden;
    border: 1.5px solid var(--color-gold);
    background: #e2e8f0;
    flex-shrink: 0;
    position: relative;
}

.officer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.officer-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.officer-name-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.off-name {
    font-size: 13.5px;
    font-weight: 800;
}

.off-title {
    font-size: 9.5px;
    color: var(--color-text-secondary);
    font-weight: 600;
}

.officer-stats {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.stat-chip {
    background: rgba(0, 0, 0, 0.04);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 9.5px;
    display: flex;
    gap: 3px;
    color: #475569;
}

.stat-chip span {
    font-weight: 700;
    color: #1e293b;
}

.stat-chip.lea span { color: var(--color-cyan); }
.stat-chip.pwd span { color: var(--color-crimson); }
.stat-chip.int span { color: #d4af37; }

.officer-action-btn {
    width: 100%;
    margin-top: 8px;
    padding: 5px;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 4px;
    color: #1e293b;
    font-size: 10.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.officer-card:not(.busy) .officer-action-btn:hover {
    background: var(--color-gold);
    color: #fff;
    border-color: var(--color-gold);
}

.busy-overlay {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(241, 245, 249, 0.95);
    color: #64748b;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 700;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

/* 모달 오버레이 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: #ffffff;
    border: 2px solid var(--color-gold);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    width: 90%;
    max-width: 580px;
    overflow: hidden;
    animation: scaleUp 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.15);
    color: #1e293b;
}

.modal-header {
    background: rgba(214, 175, 55, 0.06);
    padding: 15px 20px;
    border-bottom: 1px solid rgba(214, 175, 55, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 17px;
    color: var(--color-gold);
    font-weight: 800;
}

.modal-close {
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 20px;
    cursor: pointer;
}

.modal-close:hover {
    color: #1e293b;
}

.modal-body {
    padding: 25px;
    max-height: 480px;
    overflow-y: auto;
}

/* 내정 실행 모달 전용 */
.command-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.cmd-btn {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    padding: 15px;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cmd-btn:hover {
    background: rgba(214, 175, 55, 0.06);
    border-color: var(--color-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.cmd-name {
    font-size: 14px;
    font-weight: 800;
    color: var(--color-gold);
}

.cmd-cost {
    font-size: 10px;
    color: var(--color-text-secondary);
}

.cmd-desc {
    font-size: 11px;
    color: #64748b;
    line-height: 1.4;
}

/* 전투 연출 보드 */
.battle-board {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

.battle-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.02);
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.battle-forces {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.army-status {
    text-align: center;
    flex: 1;
}

.army-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--color-crimson);
    overflow: hidden;
    margin: 0 auto 10px;
    box-shadow: 0 3px 8px rgba(192, 57, 43, 0.15);
    position: relative;
    background: #e2e8f0;
}

.army-avatar.player {
    border-color: var(--color-gold);
    box-shadow: 0 3px 8px rgba(212, 175, 55, 0.15);
}

.army-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.army-hp {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.army-hp.player { color: var(--color-gold); }
.army-hp.enemy { color: var(--color-crimson); }

.bar-outer {
    height: 8px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 5px;
}

.bar-inner {
    height: 100%;
    background: var(--color-crimson);
    transition: width 0.3s ease-out;
}

.bar-inner.player { background: var(--color-gold); }

.vs-tag {
    font-size: 28px;
    font-weight: 900;
    font-style: italic;
    color: #94a3b8;
    text-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

/* 전투 로그 목록 */
.battle-scroll-logs {
    flex: 1;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    padding: 15px;
    overflow-y: auto;
    font-size: 12.5px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 250px;
    color: #1e293b;
}

.battle-round-marker {
    background: rgba(214, 175, 55, 0.12);
    color: var(--color-gold);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 800;
    align-self: center;
    margin: 10px 0;
}

.battle-log-text {
    line-height: 1.5;
    padding: 4px 8px;
    border-left: 2px solid transparent;
}

.battle-log-text.hit {
    color: #c0392b;
    border-left-color: #c0392b;
}

.battle-log-text.skill {
    color: #b7791f;
    font-weight: 800;
    border-left-color: #b7791f;
    background: rgba(214, 175, 55, 0.05);
}

/* 스킬 발동 컷인 이펙트 */
.skill-cutin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    background: rgba(255, 255, 255, 0.98);
    border: 2px solid var(--color-gold);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    padding: 20px 40px;
    border-radius: 12px;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    z-index: 150;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.skill-cutin.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.cutin-officer-name {
    font-size: 16px;
    color: #475569;
}

.cutin-skill-name {
    font-size: 32px;
    font-weight: 900;
    color: var(--color-gold);
    margin-top: 5px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* 등용 풀 목록 */
.recruitment-pool {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 10px 0;
}

.pool-card {
    background: rgba(0, 0, 0, 0.02);
    border: 1px dashed rgba(214, 175, 55, 0.4);
    border-radius: 8px;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pool-info {
    display: flex;
    gap: 10px;
    align-items: center;
}

.pool-avatar {
    width: 45px;
    height: 45px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--color-gold);
}

.pool-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pool-details h4 {
    font-size: 13px;
    font-weight: 800;
}

.pool-details span {
    font-size: 10px;
    color: var(--color-gold);
    font-weight: 600;
}

/* 전투 결과 오버레이 화면 (승리/패배) */
#battle-victory-screen, #battle-defeat-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
    text-align: center;
    color: #1e293b;
}

/* 애니메이션 키프레임 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleUp {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* 반응형 모바일 대응 */
@media(max-width: 1000px) {
    .game-container {
        grid-template-columns: 1fr;
        height: auto;
        overflow-y: auto;
    }
    body {
        overflow-y: auto;
    }
    .side-panel {
        height: auto;
    }
    .china-map-container {
        width: 100%;
        max-width: 600px;
    }
}
