/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 隐藏滚动条，保留滚动功能 */
body::-webkit-scrollbar {
    display: none;
}

body {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* 页面切换无动画，直接显示 */

/* 按钮点击动画 */
.nav-btn:active {
    transform: scale(0.95);
}
.food-card:nth-child(5) { animation-delay: 0.5s; }
.food-card:nth-child(6) { animation-delay: 0.6s; }

/* 复选框选中动画 */
.checklist-item input[type="checkbox"]:checked + label {
    text-decoration: line-through;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

:root {
    --primary: #1976D2;
    --primary-light: #BBDEFB;
    --primary-dark: #0D47A1;
    --background: #F5F5F5;
    --surface: #FFFFFF;
    --text: #212121;
    --text-secondary: #757575;
    --border: #E0E0E0;
    --success: #4CAF50;
    --warning: #FF9800;
    --error: #F44336;
    --radius: 12px;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--background);
    color: var(--text);
    min-height: 100vh;
    padding-bottom: 70px;
}

/* 顶部导航 */
.header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 12px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header h1 {
    font-size: 20px;
    font-weight: 600;
}

.date-badge {
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
}

.header-status {
    font-size: 13px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255,255,255,0.2);
    display: none;
}

.header-status.show {
    display: block;
}

/* 底部导航 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--surface);
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 100;
}

.nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4px 12px;
    border: none;
    background: none;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.nav-btn.active {
    color: var(--primary);
}

.nav-icon {
    font-size: 24px;
    margin-bottom: 2px;
}

.nav-label {
    font-size: 12px;
}

/* 更多菜单 */
.more-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    z-index: 200;
    justify-content: center;
    align-items: flex-end;
}

.more-menu.show {
    display: flex;
}

.more-menu-content {
    background: var(--surface);
    width: 100%;
    max-width: 400px;
    border-radius: 16px 16px 0 0;
    padding: 12px 16px;
    animation: slideUp 0.2s ease;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.more-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.more-menu-header h3 {
    font-size: 16px;
}

.close-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 4px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    text-decoration: none;
    color: var(--text);
    border-radius: var(--radius);
    transition: background 0.2s;
    font-size: 14px;
}

.menu-item:hover {
    background: var(--background);
}

/* 内容区域 */
.content {
    padding: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.page {
    display: none !important;
}

.page.active {
    display: block !important;
}

#page-home.active {
    display: flex !important;
}

.page-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--primary-dark);
}

/* 卡片样式 */
.card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: var(--shadow);
}

/* 航班倒计时卡片 */
.flight-card {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

.flight-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.flight-icon {
    font-size: 24px;
}

.flight-title {
    font-size: 16px;
    font-weight: 500;
}

.flight-countdown {
    text-align: center;
}

.countdown-text {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 8px;
}

.countdown-time {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}

.countdown-unit {
    font-size: 16px;
    font-weight: 400;
    margin: 0 4px;
}

.flight-info {
    font-size: 13px;
    opacity: 0.8;
    line-height: 1.6;
}

/* 主页布局 — 锁定视口内，卡片外部不可滚动 */
body.home-lock {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
}

#page-home {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 56px - 60px - 32px);
    overflow: hidden;
}

/* 时间线 */
.timeline-card {
    border-left: 4px solid var(--primary);
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.timeline-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    flex-shrink: 0;
}

.timeline-icon {
    font-size: 20px;
}

.timeline-title {
    font-size: 16px;
    font-weight: 500;
}

.timeline-content {
    position: relative;
    overflow-y: auto;
    flex: 1;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.timeline-item {
    position: relative;
    padding-bottom: 20px;
    padding-left: 24px;
}

/* 竖线 — 穿过圆心，在圆圈下层 */
.timeline-item::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 10px;
    width: 2px;
    height: calc(100% - 2px);
    background: var(--border);
    z-index: 0;
}

.timeline-item:last-child::after {
    display: none;
}

/* 圆圈 — 在竖线上层 */
.timeline-item::before {
    content: '';
    position: absolute;
    left: 0px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border);
    border: 2px solid var(--border);
    z-index: 1;
}

.timeline-item.completed::before {
    background: var(--success);
    border-color: var(--success);
}

.timeline-item.current::before {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.timeline-item-time {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 4px;
}

.timeline-item-content {
    font-size: 14px;
    color: var(--text);
}

.timeline-item.completed .timeline-item-content {
    text-decoration: line-through;
    color: var(--text-secondary);
}

.timeline-item.current .timeline-item-content {
    font-weight: 600;
    color: var(--primary);
}

/* 行程卡片 */
.day-card {
    border-left: 4px solid var(--primary);
}

.day-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.day-number {
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.day-date {
    font-size: 14px;
    color: var(--text-secondary);
}

.day-theme {
    margin-left: auto;
    font-size: 13px;
    color: var(--primary);
    background: var(--primary-light);
    padding: 2px 10px;
    border-radius: 10px;
}

.activity {
    display: flex;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.activity:last-child {
    border-bottom: none;
}

.activity-time {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    min-width: 50px;
}

.activity-info {
    flex: 1;
}

.activity-name {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 4px;
}

.activity-location {
    font-size: 13px;
    color: var(--text-secondary);
}

/* 交通路线卡片 */
.route-card {
    border-left: 4px solid var(--primary);
}

.route-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.route-icon {
    font-size: 24px;
}

.route-title {
    font-size: 13px;
    font-weight: 600;
}

.route-summary {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
    padding: 8px;
    background: var(--background);
    border-radius: var(--radius);
}

.route-stat {
    flex: 1;
}

.stat-label {
    font-size: 10px;
    color: var(--text-secondary);
    margin-bottom: 2px;
}

.stat-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
}

/* 地铁线路可视化 */
.subway-route {
    margin-top: 16px;
}

.subway-line {
    margin-bottom: 12px;
}

.line-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.line-badge {
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: white;
}

.line-1 {
    background: #F3D03E;
}

.line-2 {
    background: #00629B;
}

.line-3 {
    background: #ECA154;
}

.line-6 {
    background: #80225F;
}

.line-8 {
    background: #008C95;
}

.line-direction {
    font-size: 11px;
    color: var(--text-secondary);
}

.station-list {
    padding-left: 20px;
}

.station {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
}

.station-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border);
    border: 2px solid var(--border);
    flex-shrink: 0;
}

.station.start .station-dot {
    background: var(--primary);
    border-color: var(--primary);
}

.station.end .station-dot,
.station.end .station-dot.end-dot {
    background: var(--error);
    border-color: var(--error);
}

.station.transfer .station-dot,
.station.transfer .station-dot.transfer-dot {
    background: var(--warning);
    border-color: var(--warning);
}

.station-connector {
    width: 2px;
    height: 14px;
    background: var(--border);
    margin-left: 5px;
}

.station-info {
    flex: 1;
}

.station-name {
    font-size: 12px;
    font-weight: 500;
}

.station-exit {
    font-size: 10px;
    color: var(--text-secondary);
    margin-top: 1px;
}

.station-transfer {
    font-size: 10px;
    color: var(--warning);
    margin-top: 1px;
}

.transfer-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 5px;
    margin: 5px 0;
    background: var(--background);
    border-radius: var(--radius);
    font-size: 11px;
    color: var(--text-secondary);
}

.walk-info {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px;
    background: var(--background);
    border-radius: var(--radius);
    font-size: 11px;
    margin-top: 8px;
}

/* 高德导航按钮 */
.navi-btns {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.navi-btn {
    display: inline-block;
    padding: 8px 20px;
    background: var(--primary);
    color: white;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s;
    text-align: center;
}

.navi-btn:active {
    opacity: 0.7;
}

/* 美食卡片 */
.advice-card {
    background: linear-gradient(135deg, #FFF3E0, #FFE0B2);
    border-left: 4px solid var(--warning);
}

.advice-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-weight: 600;
}

.advice-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.advice-item {
    font-size: 14px;
    padding: 4px 0;
}

.advice-item.bad {
    color: var(--error);
}

.advice-item.good {
    color: var(--success);
}

.food-card {
    border-left: 4px solid var(--warning);
    cursor: pointer;
    transition: all 0.2s ease;
}

.food-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.food-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.food-icon {
    font-size: 24px;
}

.food-name {
    font-size: 16px;
    font-weight: 600;
}

.food-content {
    font-size: 14px;
}

.food-recommend {
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.food-distance {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    color: var(--text-secondary);
}

.food-tap {
    margin-top: 8px;
    font-size: 12px;
    color: var(--primary);
    font-weight: 500;
}

/* 美食详情弹窗 */
.food-detail-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 200;
    justify-content: center;
    align-items: center;
}

.food-detail-modal.show {
    display: flex;
}

.food-detail-content {
    background: var(--surface);
    width: 90%;
    max-width: 400px;
    max-height: 80vh;
    border-radius: 16px;
    overflow: hidden;
    animation: fadeIn 0.2s ease;
}

.food-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: linear-gradient(135deg, #FFF3E0, #FFE0B2);
    border-bottom: 1px solid var(--border);
}

.food-detail-header h3 {
    font-size: 18px;
    font-weight: 600;
}

.food-detail-body {
    padding: 16px;
    overflow-y: auto;
    max-height: calc(80vh - 60px);
}

.food-detail-recommend {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.food-detail-address {
    font-size: 14px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

/* 美食详情中的地铁样式 */
.food-detail-body .subway-route {
    margin-top: 12px;
}

.food-detail-body .subway-line {
    margin-bottom: 10px;
}

.food-detail-body .line-header {
    margin-bottom: 8px;
}

.food-detail-body .station-list {
    padding-left: 16px;
}

.food-detail-body .station {
    padding: 6px 0;
}

.food-detail-body .station-dot {
    width: 14px;
    height: 14px;
}

.food-detail-body .station-connector {
    height: 16px;
    margin-left: 6px;
}

.food-detail-body .walk-info {
    margin-top: 10px;
    padding: 8px;
}

/* 费用卡片 */
.cost-summary-card {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.cost-total,
.cost-per-person {
    padding: 10px;
}

.cost-label {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 8px;
}

.cost-amount {
    font-size: 24px;
    font-weight: 700;
}

.cost-category {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.category-amount {
    font-weight: 600;
    color: var(--primary);
}

.cost-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
}

.item-name {
    color: var(--text-secondary);
}

.item-amount {
    font-weight: 500;
}

/* 注意事项 */
.section-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.list-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 0;
    font-size: 14px;
    line-height: 1.5;
}

/* 出行准备 */
.checklist-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.checklist-item:last-child {
    border-bottom: none;
}

.checklist-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checklist-item label {
    font-size: 14px;
    cursor: pointer;
}

/* 安全预案 */
.emergency-card {
    background: linear-gradient(135deg, #FFEBEE, #FFCDD2);
    border-left: 4px solid var(--error);
}

.emergency-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-weight: 600;
    font-size: 16px;
}

.emergency-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.emergency-item {
    background: white;
    padding: 12px;
    border-radius: var(--radius);
    text-align: center;
}

.emergency-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.emergency-phone {
    font-size: 18px;
    font-weight: 600;
    color: var(--error);
    text-decoration: none;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    color: var(--text-secondary);
}

.info-value {
    font-weight: 500;
}

.process-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.process-item:last-child {
    border-bottom: none;
}

.process-number {
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.process-content {
    flex: 1;
}

.process-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.process-desc {
    font-size: 13px;
    color: var(--text-secondary);
}

/* 交通信息样式 */
.transport-info {
    margin-top: 10px;
    padding: 10px;
    background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
    border-radius: var(--radius);
    border-left: 3px solid var(--primary);
}

.transport-header {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 6px;
}

.transport-detail {
    font-size: 12px;
}

.transport-route {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 6px;
    font-size: 13px;
}

.transport-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 11px;
    color: var(--text-secondary);
}

.transport-steps {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 6px;
    padding: 8px;
}

.transport-step {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    padding: 4px 0;
    font-size: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.transport-step:last-child {
    border-bottom: none;
}

.step-number {
    background: var(--primary);
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
    flex-shrink: 0;
}

.step-text {
    line-height: 1.3;
}

/* 美食推荐样式 */
.food-recommend-section {
    margin-top: 12px;
    padding: 12px;
    background: linear-gradient(135deg, #FFF3E0, #FFE0B2);
    border-radius: var(--radius);
    border-left: 3px solid var(--warning);
}

.food-recommend-header {
    font-size: 14px;
    font-weight: 600;
    color: #E65100;
    margin-bottom: 10px;
}

.food-recommend-item {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 152, 0, 0.2);
}

.food-recommend-item:last-child {
    border-bottom: none;
}

.food-recommend-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.food-recommend-detail {
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* 当前活动卡片 */
.current-activity-card {
    background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
    border-radius: var(--radius);
    padding: 16px;
    margin: 12px 0;
    border-left: 4px solid var(--primary);
}

.current-activity-header {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.current-activity-name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.current-activity-start {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.current-activity-card .transport-info {
    margin-top: 12px;
    margin-bottom: 0;
}

.current-activity-card .food-recommend-section {
    margin-top: 12px;
    margin-bottom: 0;
}

/* 下一个活动卡片 */
.next-activity-card {
    background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
    border-radius: var(--radius);
    padding: 16px;
    margin-top: 16px;
    border-left: 4px solid var(--success);
}

.next-activity-header {
    font-size: 14px;
    font-weight: 600;
    color: #2E7D32;
    margin-bottom: 8px;
}

.next-activity-time {
    font-size: 24px;
    font-weight: 700;
    color: var(--success);
    margin-bottom: 8px;
}

.next-activity-name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.next-activity-start {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.next-activity-card .transport-info {
    margin-top: 12px;
    margin-bottom: 0;
}

.next-activity-card .food-recommend-section {
    margin-top: 12px;
    margin-bottom: 0;
}

/* 时间线可点击元素 */
.clickable {
    cursor: pointer;
    transition: all 0.2s;
}

.clickable:active {
    opacity: 0.7;
    transform: scale(0.98);
}

.tap-hint {
    font-size: 11px;
    opacity: 0.7;
    font-weight: 400;
}

/* 两列布局 */
.two-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.two-columns .card {
    margin-bottom: 0;
}

/* 交通卡片紧凑样式 */
.route-card {
    padding: 14px;
}

.route-header {
    margin-bottom: 10px;
}

.route-summary {
    padding: 8px;
    margin-bottom: 10px;
}

.subway-route {
    margin-top: 8px;
}

.subway-line {
    margin-bottom: 6px;
}

.line-header {
    margin-bottom: 6px;
}

.station {
    padding: 3px 0;
}

.station-connector {
    height: 10px;
}

.walk-info {
    padding: 6px;
    margin-top: 6px;
}

/* 响应式设计 */
@media (min-width: 768px) {
    .content {
        padding: 24px;
    }

    .card {
        padding: 24px;
    }

    .emergency-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ========== 地图页面样式 ========== */

/* 天气卡片 */
.weather-card {
    background: linear-gradient(135deg, #81D4FA, #4FC3F7);
    color: white;
    border-left: 4px solid #0288D1;
    padding: 10px 16px;
}

.weather-content {
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.weather-temp {
    font-size: 20px;
    font-weight: 700;
}

.weather-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 地图容器 */
.map-card {
    padding: 0;
    overflow: hidden;
}

.map-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    font-weight: 600;
    background: var(--background);
    border-bottom: 1px solid var(--border);
}

.amap-container {
    width: 100%;
    height: 350px;
}

/* 地图日期选择器 */
.map-day-selector {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.map-day-btn {
    flex: 1;
    min-width: 60px;
    padding: 8px 12px;
    border: 2px solid var(--border);
    background: var(--surface);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-secondary);
}

.map-day-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.map-day-btn:active {
    transform: scale(0.95);
}

/* POI列表 */
.poi-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.poi-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: var(--background);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.poi-item:hover {
    background: var(--primary-light);
}

.poi-item:active {
    transform: scale(0.98);
}

.poi-icon {
    font-size: 24px;
    width: 40px;
    text-align: center;
    flex-shrink: 0;
}

.poi-info {
    flex: 1;
}

.poi-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.poi-address {
    font-size: 12px;
    color: var(--text-secondary);
}

.poi-day-badge {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
    flex-shrink: 0;
}

/* 地图标记弹窗样式 */
.amap-info-content {
    font-size: 13px;
    line-height: 1.6;
}

.amap-info-content h4 {
    font-size: 15px;
    margin-bottom: 4px;
    color: var(--primary-dark);
}

.amap-info-content p {
    color: var(--text-secondary);
    margin: 2px 0;
}

/* 响应式 */
@media (max-width: 360px) {
    .amap-container {
        height: 280px;
    }

    .map-day-btn {
        min-width: 50px;
        padding: 6px 8px;
        font-size: 12px;
    }
}

/* ========== 交通路线列表 ========== */
.route-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.route-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: var(--background);
    border-radius: 8px;
    gap: 12px;
}

.route-item-info {
    flex: 1;
    min-width: 0;
}

.route-item-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.route-item-detail {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: var(--text-secondary);
}

.route-navi-btn {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary);
    color: white;
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.route-navi-btn:active {
    opacity: 0.7;
}

/* ========== 美食列表 ========== */
.food-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
}

.food-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--background);
    border-radius: 8px;
}

.food-item-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.food-item-info {
    flex: 1;
    min-width: 0;
}

.food-item-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.food-item-recommend {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 2px;
}

.food-item-detail {
    font-size: 11px;
    color: var(--text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.food-item-actions {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-shrink: 0;
}

.food-detail-btn {
    padding: 4px 12px;
    background: var(--warning);
    color: white;
    font-size: 11px;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.food-detail-btn:active {
    opacity: 0.7;
}

.food-navi-btn {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary);
    color: white;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    text-align: center;
}

.food-navi-btn:active {
    opacity: 0.7;
}

/* ========== 发现页面导览标签 ========== */
.discover-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    background: var(--surface);
    border-radius: var(--radius);
    padding: 4px;
    box-shadow: var(--shadow);
}

.discover-tab {
    flex: 1;
    padding: 10px 8px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}

.discover-tab.active {
    background: var(--primary);
    color: white;
}

.discover-tab:active {
    transform: scale(0.95);
}

.discover-panel {
    display: none;
}

.discover-panel.active {
    display: block;
}