/* ===== 全局样式 ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* ===== 英雄区域 ===== */
.hero-bg {
    background: linear-gradient(135deg, #1a365d 0%, #2d3748 30%, #1a202c 60%, #2d3748 100%);
    animation: heroBgShift 15s ease-in-out infinite alternate;
}
@keyframes heroBgShift {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}
.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(139, 92, 246, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(14, 165, 233, 0.2) 0%, transparent 50%);
}
.hero-overlay {
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-title {
    text-shadow: 0 4px 30px rgba(0,0,0,0.3);
    letter-spacing: 0.1em;
}
.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 1rem;
    color: white;
    min-width: 120px;
    transition: transform 0.3s, background 0.3s;
}
.stat-card:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.2);
}
.scroll-hint {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s;
}
.scroll-hint:hover { opacity: 0.8; }

/* ===== 路线流程图 ===== */
.route-flow {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}
.route-node {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s;
    white-space: nowrap;
}
.route-node:hover {
    border-color: #6366f1;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.15);
    transform: translateY(-2px);
}
.route-node .node-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: white;
    flex-shrink: 0;
}
.route-arrow {
    color: #94a3b8;
    font-size: 1rem;
}

/* ===== 每日卡片 ===== */
.day-card {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f1f5f9;
}
.day-card:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}
.day-header {
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    cursor: pointer;
    position: relative;
}
.day-badge {
    width: 64px;
    height: 64px;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    font-weight: 700;
}
.day-badge .day-num { font-size: 1.5rem; line-height: 1; }
.day-badge .day-label { font-size: 0.625rem; opacity: 0.9; margin-top: 2px; }
.day-header-info { flex: 1; }
.day-header-info h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.25rem; }
.day-header-info .day-subtitle { color: #64748b; font-size: 0.875rem; }
.day-header-meta {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}
.meta-tag {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    background: #f8fafc;
    border-radius: 2rem;
    font-size: 0.75rem;
    color: #64748b;
    white-space: nowrap;
}
.day-toggle {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f1f5f9;
    color: #94a3b8;
    transition: all 0.3s;
    flex-shrink: 0;
}
.day-card.active .day-toggle {
    transform: rotate(180deg);
    background: #6366f1;
    color: white;
}
.day-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.day-card.active .day-content {
    max-height: 3000px;
}
.day-content-inner {
    padding: 0 2rem 2rem;
}

/* ===== 天气信息栏 ===== */
.weather-info-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #e0f2fe, #dbeafe);
    border-radius: 1rem;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.weather-main {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.weather-icon-lg {
    font-size: 2rem;
}
.weather-desc {
    font-weight: 700;
    font-size: 1rem;
    color: #1e40af;
}
.weather-temp {
    font-size: 0.85rem;
    color: #3b82f6;
}
.weather-details {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: #64748b;
    flex-wrap: wrap;
}
.weather-details span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* ===== 穿衣建议栏 ===== */
.dress-code-bar {
    background: linear-gradient(135deg, #fdf2f8, #fce7f3);
    border-radius: 1rem;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
}
.dress-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: #be185d;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.dress-text {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.7;
}

/* ===== 住宿推荐栏 ===== */
.hotel-recommend-bar {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border-radius: 1rem;
    padding: 1rem 1.5rem;
    margin-top: 1rem;
}
.hotel-rec-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: #166534;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.hotel-rec-info {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.25rem 1rem;
    align-items: center;
}
.hotel-rec-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: #15803d;
}
.hotel-rec-price {
    font-weight: 700;
    font-size: 1rem;
    color: #ea580c;
    text-align: right;
}
.hotel-rec-addr, .hotel-rec-reason {
    font-size: 0.8rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* ===== 时间轴 ===== */
.timeline-list {
    position: relative;
    padding-left: 2rem;
}
.timeline-list::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(to bottom, #e2e8f0, #cbd5e1);
    border-radius: 1px;
}
.timeline-item {
    position: relative;
    padding-bottom: 1.25rem;
    padding-left: 1rem;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
    position: absolute;
    left: -2rem;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid;
    background: white;
    z-index: 1;
}
.timeline-dot.dot-drive { border-color: #3b82f6; }
.timeline-dot.dot-scenic { border-color: #10b981; }
.timeline-dot.dot-food { border-color: #f59e0b; }
.timeline-dot.dot-hotel { border-color: #8b5cf6; }
.timeline-dot.dot-train { border-color: #ef4444; }
.timeline-time {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 600;
    margin-bottom: 0.15rem;
}
.timeline-text {
    font-size: 0.9rem;
    color: #334155;
    line-height: 1.6;
}
.timeline-text .highlight {
    color: #6366f1;
    font-weight: 600;
}

/* ===== 景点标签 ===== */
.spot-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed #e2e8f0;
}
.spot-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.8rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s;
}
.spot-tag:hover { transform: scale(1.05); }
.spot-tag.tag-scenic { background: #ecfdf5; color: #059669; }
.spot-tag.tag-food { background: #fffbeb; color: #d97706; }
.spot-tag.tag-photo { background: #eff6ff; color: #2563eb; }
.spot-tag.tag-tip { background: #fef2f2; color: #dc2626; }

/* ===== 贴士卡片 ===== */
.tip-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid #f1f5f9;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    transition: all 0.3s;
}
.tip-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}
.tip-icon {
    width: 48px;
    height: 48px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}
.tip-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.tip-card p { font-size: 0.85rem; color: #64748b; line-height: 1.7; }

/* ===== 费用卡片 ===== */
.budget-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    border: 1px solid #f1f5f9;
    transition: all 0.3s;
}
.budget-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}
.budget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}
.budget-header h4 { font-weight: 700; }
.budget-amount {
    font-size: 1.25rem;
    font-weight: 700;
    color: #6366f1;
}
.budget-items { list-style: none; padding: 0; margin: 0; }
.budget-items li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f8fafc;
    font-size: 0.85rem;
    color: #64748b;
}
.budget-items li:last-child { border-bottom: none; }
.budget-items li span:last-child { color: #334155; font-weight: 500; }

/* ===== 天气汇总卡片 ===== */
.weather-summary-card {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid #e0f2fe;
}
.summary-row {
    display: grid;
    grid-template-columns: 90px 120px 40px 80px 1fr 120px 1fr;
    align-items: center;
    padding: 1rem 1.5rem;
    gap: 0.75rem;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.3s;
}
.summary-row:last-child { border-bottom: none; }
.summary-row:hover { background: #f0f9ff; }
.summary-day {
    font-weight: 700;
    font-size: 0.85rem;
    color: #1e40af;
    white-space: nowrap;
}
.summary-location {
    font-size: 0.85rem;
    color: #334155;
    font-weight: 500;
    white-space: nowrap;
}
.summary-weather-icon { font-size: 1.5rem; text-align: center; }
.summary-weather-desc {
    font-size: 0.85rem;
    color: #64748b;
    white-space: nowrap;
}
.summary-temp {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.temp-low { color: #3b82f6; font-size: 0.85rem; font-weight: 600; white-space: nowrap; }
.temp-high { color: #ef4444; font-size: 0.85rem; font-weight: 600; white-space: nowrap; }
.temp-bar {
    flex: 1;
    height: 4px;
    background: linear-gradient(to right, #93c5fd, #fca5a5);
    border-radius: 2px;
    min-width: 40px;
}
.summary-wind {
    font-size: 0.8rem;
    color: #94a3b8;
    white-space: nowrap;
}
.summary-tip {
    font-size: 0.8rem;
    color: #f59e0b;
    font-weight: 500;
}

/* ===== 住宿汇总卡片 ===== */
.hotel-summary-card {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid #dcfce7;
}
.hotel-summary-row {
    display: grid;
    grid-template-columns: 90px 1fr 180px 120px;
    align-items: center;
    padding: 1rem 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.3s;
}
.hotel-summary-row:last-child { border-bottom: none; }
.hotel-summary-row:hover { background: #f0fdf4; }
.hotel-s-day {
    font-weight: 700;
    font-size: 0.85rem;
    color: #166534;
    white-space: nowrap;
}
.hotel-s-info { min-width: 0; }
.hotel-s-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: #15803d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hotel-s-addr {
    font-size: 0.75rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hotel-s-highlight {
    font-size: 0.8rem;
    color: #6366f1;
    font-weight: 500;
    white-space: nowrap;
}
.hotel-s-price {
    font-weight: 700;
    font-size: 0.95rem;
    color: #ea580c;
    text-align: right;
    white-space: nowrap;
}

/* ===== 门票预约卡片 ===== */
.ticket-card {
    background: white;
    border-radius: 1rem;
    padding: 1.25rem;
    border: 2px solid #e2e8f0;
    transition: all 0.3s;
}
.ticket-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}
.ticket-need-book {
    border-color: #fecaca;
    background: linear-gradient(135deg, #fff, #fef2f2);
}
.ticket-no-book {
    border-color: #bbf7d0;
    background: linear-gradient(135deg, #fff, #f0fdf4);
}
.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}
.ticket-name {
    font-weight: 700;
    font-size: 1rem;
    color: #1e293b;
}
.ticket-price {
    font-weight: 700;
    font-size: 1.1rem;
    color: #ea580c;
}
.ticket-day {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.ticket-book-status { margin-bottom: 0.5rem; }
.book-required {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.75rem;
    background: #fef2f2;
    color: #dc2626;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
}
.book-optional {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.75rem;
    background: #f0fdf4;
    color: #16a34a;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
}
.ticket-method {
    font-size: 0.8rem;
    color: #6366f1;
    margin-bottom: 0.35rem;
    display: flex;
    align-items: flex-start;
    gap: 0.3rem;
    line-height: 1.5;
}
.ticket-tip {
    font-size: 0.75rem;
    color: #94a3b8;
    display: flex;
    align-items: flex-start;
    gap: 0.3rem;
    line-height: 1.5;
}

/* ===== 动画 ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== 响应式 - 平板 ===== */
@media (max-width: 1024px) {
    .summary-row {
        grid-template-columns: 80px 100px 36px 70px 1fr 100px;
        gap: 0.5rem;
    }
    .summary-tip { display: none; }
    .hotel-summary-row {
        grid-template-columns: 80px 1fr 120px;
    }
    .hotel-s-highlight { display: none; }
}

/* ===== 响应式 - 手机横屏/小平板 ===== */
@media (max-width: 768px) {
    /* --- 英雄区域 --- */
    header#hero { min-height: 100vh; min-height: 100dvh; }
    .hero-title { font-size: 2.25rem !important; letter-spacing: 0.05em; }
    header#hero .text-xl { font-size: 1rem; }
    header#hero .text-base { font-size: 0.85rem; padding: 0 0.5rem; }
    .stat-card {
        min-width: 0;
        width: calc(50% - 0.5rem);
        padding: 0.75rem 0.5rem;
        font-size: 0.85rem;
    }
    .stat-card .text-2xl { font-size: 1.1rem; }
    .stat-card .text-xs { font-size: 0.65rem; }
    .stat-card i.text-2xl { font-size: 1.25rem; }

    /* --- 路线流程图 --- */
    .route-flow {
        gap: 0.35rem;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.75rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }
    .route-node {
        padding: 0.35rem 0.65rem;
        font-size: 0.7rem;
        flex-shrink: 0;
    }
    .route-node .node-icon { width: 22px; height: 22px; font-size: 0.6rem; }
    .route-arrow { font-size: 0.7rem; flex-shrink: 0; }

    /* --- 每日卡片 --- */
    .day-card { border-radius: 1rem; }
    .day-header {
        flex-wrap: wrap;
        padding: 1rem;
        gap: 0.5rem;
    }
    .day-badge {
        width: 52px;
        height: 52px;
        border-radius: 0.75rem;
    }
    .day-badge .day-num { font-size: 1.25rem; }
    .day-badge .day-label { font-size: 0.55rem; }
    .day-header-info {
        flex: 1;
        min-width: 0;
    }
    .day-header-info h3 {
        font-size: 1rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .day-header-info .day-subtitle { font-size: 0.75rem; }
    .day-header-meta {
        width: 100%;
        flex-wrap: wrap;
        gap: 0.4rem;
        order: 3;
    }
    .meta-tag {
        padding: 0.25rem 0.6rem;
        font-size: 0.7rem;
    }
    .day-toggle {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
    .day-content-inner { padding: 0 1rem 1.25rem; }

    /* --- 天气信息栏（卡片内） --- */
    .weather-info-bar {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.75rem 1rem;
        border-radius: 0.75rem;
        gap: 0.5rem;
    }
    .weather-icon-lg { font-size: 1.5rem; }
    .weather-desc { font-size: 0.85rem; }
    .weather-temp { font-size: 0.8rem; }
    .weather-details {
        gap: 0.5rem;
        font-size: 0.7rem;
    }

    /* --- 穿衣建议栏 --- */
    .dress-code-bar {
        padding: 0.75rem 1rem;
        border-radius: 0.75rem;
    }
    .dress-title { font-size: 0.8rem; }
    .dress-text { font-size: 0.78rem; line-height: 1.6; }

    /* --- 住宿推荐栏（卡片内） --- */
    .hotel-recommend-bar {
        padding: 0.75rem 1rem;
        border-radius: 0.75rem;
    }
    .hotel-rec-title { font-size: 0.8rem; }
    .hotel-rec-info {
        grid-template-columns: 1fr;
        gap: 0.2rem;
    }
    .hotel-rec-name { font-size: 0.85rem; }
    .hotel-rec-price { text-align: left; font-size: 0.9rem; }
    .hotel-rec-addr, .hotel-rec-reason { font-size: 0.72rem; }

    /* --- 时间轴 --- */
    .timeline-list { padding-left: 1.5rem; }
    .timeline-dot {
        left: -1.5rem;
        width: 14px;
        height: 14px;
    }
    .timeline-time { font-size: 0.7rem; }
    .timeline-text { font-size: 0.82rem; line-height: 1.5; }

    /* --- 景点标签 --- */
    .spot-tags { gap: 0.35rem; }
    .spot-tag { padding: 0.3rem 0.6rem; font-size: 0.72rem; }

    /* --- 天气汇总卡片 --- */
    .weather-summary-card { border-radius: 1rem; }
    .summary-row {
        display: flex;
        flex-wrap: wrap;
        gap: 0.25rem 0.75rem;
        padding: 0.75rem 1rem;
        align-items: center;
    }
    .summary-day {
        font-size: 0.8rem;
        min-width: 70px;
    }
    .summary-location {
        font-size: 0.8rem;
        flex: 1;
    }
    .summary-weather-icon { font-size: 1.2rem; }
    .summary-weather-desc { font-size: 0.78rem; }
    .summary-temp {
        width: 100%;
        order: 10;
    }
    .temp-low, .temp-high { font-size: 0.78rem; }
    .summary-wind { display: none; }
    .summary-tip { display: none; }

    /* --- 住宿汇总卡片 --- */
    .hotel-summary-card { border-radius: 1rem; }
    .hotel-summary-row {
        display: flex;
        flex-wrap: wrap;
        gap: 0.15rem 0.75rem;
        padding: 0.75rem 1rem;
        align-items: center;
    }
    .hotel-s-day {
        font-size: 0.8rem;
        width: auto;
        margin-bottom: 0;
    }
    .hotel-s-info {
        flex: 1;
        min-width: 0;
    }
    .hotel-s-name { font-size: 0.82rem; }
    .hotel-s-addr { font-size: 0.7rem; }
    .hotel-s-highlight {
        display: block;
        width: 100%;
        order: 10;
        font-size: 0.72rem;
    }
    .hotel-s-price {
        text-align: right;
        font-size: 0.85rem;
    }

    /* --- 门票卡片 --- */
    .ticket-card {
        padding: 1rem;
        border-radius: 0.75rem;
    }
    .ticket-name { font-size: 0.9rem; }
    .ticket-price { font-size: 0.95rem; }
    .ticket-day { font-size: 0.72rem; }
    .ticket-method { font-size: 0.72rem; }
    .ticket-tip { font-size: 0.68rem; }

    /* --- 贴士卡片 --- */
    .tip-card { padding: 1.25rem; border-radius: 0.75rem; }
    .tip-icon { width: 40px; height: 40px; font-size: 1rem; }
    .tip-card h4 { font-size: 0.9rem; }
    .tip-card p { font-size: 0.78rem; }

    /* --- 费用卡片 --- */
    .budget-card { padding: 1.25rem; border-radius: 0.75rem; }
    .budget-amount { font-size: 1.1rem; }
    .budget-items li { font-size: 0.78rem; padding: 0.4rem 0; }

    /* --- 全局section间距 --- */
    section { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
    section h2 { font-size: 1.5rem !important; }
    section > div { padding-left: 1rem !important; padding-right: 1rem !important; }
}

/* ===== 响应式 - 手机竖屏（小屏） ===== */
@media (max-width: 480px) {
    .hero-title { font-size: 1.85rem !important; }
    header#hero .text-xl { font-size: 0.9rem; }
    header#hero .inline-block { font-size: 0.7rem; padding: 0.35rem 0.75rem; }
    .stat-card {
        width: calc(50% - 0.35rem);
        padding: 0.6rem 0.4rem;
        border-radius: 0.75rem;
        min-width: 0;
    }
    .stat-card .text-2xl { font-size: 0.95rem; }
    .stat-card i.text-2xl { font-size: 1rem; margin-bottom: 0.25rem; }

    .day-badge { width: 46px; height: 46px; }
    .day-badge .day-num { font-size: 1.1rem; }
    .day-header-info h3 { font-size: 0.9rem; }

    .weather-info-bar { padding: 0.6rem 0.75rem; }
    .dress-code-bar { padding: 0.6rem 0.75rem; }
    .hotel-recommend-bar { padding: 0.6rem 0.75rem; }

    .summary-day { font-size: 0.72rem; min-width: 60px; }
    .summary-location { font-size: 0.72rem; }
    .summary-weather-icon { font-size: 1rem; }
    .summary-weather-desc { font-size: 0.7rem; }

    .hotel-s-name { font-size: 0.78rem; }
    .hotel-s-addr { font-size: 0.65rem; }
    .hotel-s-price { font-size: 0.8rem; }

    .ticket-card { padding: 0.75rem; }
    .ticket-name { font-size: 0.82rem; }
    .ticket-price { font-size: 0.85rem; }

    section h2 { font-size: 1.3rem !important; }
    section p.text-center { font-size: 0.78rem !important; }

    footer { padding: 2rem 1rem !important; }
    footer .text-2xl { font-size: 1.25rem; }
    footer .flex { flex-direction: column; gap: 0.5rem !important; }
}

/* ===== 触控优化 ===== */
@media (hover: none) and (pointer: coarse) {
    .day-header { min-height: 64px; }
    .day-card:hover { transform: none; box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
    .route-node:hover { transform: none; }
    .tip-card:hover { transform: none; }
    .budget-card:hover { transform: none; }
    .ticket-card:hover { transform: none; }
    .stat-card:hover { transform: none; }
    .spot-tag:hover { transform: none; }
}

/* ===== 安全区域适配（刘海屏等） ===== */
@supports (padding: env(safe-area-inset-bottom)) {
    footer { padding-bottom: calc(2rem + env(safe-area-inset-bottom)) !important; }
    header#hero { padding-top: env(safe-area-inset-top); }
}
