html {
    overflow-x: hidden;
    scrollbar-gutter: stable;
}
/* ========== 全局重置 & 季节主题变量 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --season-theme: #f59e0b;
    --primary-color: #e85d3a;
    --primary-dark: #c94432;
}

body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #f8fafc;
    color: #0f172a;
    line-height: 1.5;
font-size: 15px;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
}
.app-container {
    width: 100%;
max-width: 1134px;
    margin: 0 auto;
padding: 0 26px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ========== 左侧悬浮面板 ========== */
.side-panel {
    position: fixed;
    left: 0;
top: 162px;
    z-index: 1000;
}
.panel-tab {
    background: var(--season-theme);
    color: white;
padding: 14px 8px;
border-radius: 0 32px 32px 0;
font-size: 17px;
    cursor: pointer;
width: 45px;
    text-align: center;
    box-shadow: 6px 6px 14px rgba(0,0,0,0.1);
    transition: background 0.2s;
}
.panel-tab:hover {
    background: color-mix(in srgb, var(--season-theme) 85%, black);
}
.panel-content {
    position: absolute;
left: 57px;
    top: 0;
    background: white;
border-radius: 0 32px 32px 0;
padding: 23px 19px;
    box-shadow: 8px 8px 20px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
gap: 19px;
min-width: 211px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-15px);
    transition: opacity 0.3s cubic-bezier(0.2,0.9,0.4,1), transform 0.3s, visibility 0.3s;
}
.side-panel:hover .panel-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}
.panel-content a {
    text-decoration: none !important;
    color: #1e293b;
font-size: 17px !important;
    font-weight: 600;
padding: 14px 15px !important;
border-radius: 24px;
    display: flex;
    align-items: center;
margin-bottom: 4px;
}
.panel-icon {
font-size: 17px;
width: 28px;
    text-align: center;
}
.panel-content a:hover {
    background: #f1f5f9;
}

/* ========== 主页导航栏 ========== */
.home-navbar {
    padding: 0;
    border-bottom: 1px solid #e2e8f0;
}
.navbar-top-row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
gap: 5px;
}
.nav-links {
    display: flex;
gap: 12px;
    flex-wrap: nowrap;
    align-items: center;
}
.navbar-search-row {
    display: flex;
padding: 3px 0 4px;
    width: 100%;
}
.nav-search-bar {
    display: flex;
gap: 4px;
max-width: 567px;
    width: 100%;
    align-items: center;
}
.nav-pill {
    display: inline-flex;
    align-items: center;
gap: 4px;
    text-decoration: none;
padding: 8px 14px;
border-radius: 28px;
    font-weight: 600;
font-size: 12px;
    background: #eef2ff;
    color: #1e293b;
    border: 1px solid transparent;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    white-space: nowrap;
}
.nav-pill span {
font-size: 15px;
}
.nav-pill:hover {
    background: #dbeafe;
    transform: translateY(-2px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.05);
}
.nav-pill.outline {
    background: transparent;
    border-color: #cbd5e1;
}
.nav-pill.primary {
    background: var(--season-theme);
    color: white;
}

/* 右上角 4列网格 (整体右对齐) */
.nav-right-grid {
    display: grid;
    grid-template-columns: auto auto auto auto;
gap: 5px;
    margin-right: 0;
    justify-content: end;
}
.grid-cell {
    display: flex;
    justify-content: flex-end;
}

/* 圆形按钮 */
.nav-circle {
width: 53px;
height: 53px;
border-radius: 26px;
font-size: 15px;
    background: #eef2ff;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.nav-circle.primary {
    background: var(--season-theme);
    color: white;
}
.nav-circle.outline {
    background: transparent;
    border: 2px solid #cbd5e1;
}
.nav-circle:hover {
    transform: scale(1.05);
    background: #dbeafe;
}
.nav-circle.primary:hover {
    background: color-mix(in srgb, var(--season-theme) 85%, black);
}
.language-btn {
font-size: 14px;
}

/* ========== VIP金边框效果 ========== */
.nav-circle-vip {
    position: relative;
    border: 3px solid #f59e0b !important;
    box-shadow: 0 0 12px rgba(245,158,11,0.35), inset 0 0 4px rgba(245,158,11,0.15) !important;
    background: linear-gradient(135deg, #fffbeb, #fef3c7) !important;
}
.vip-gold-ring {
    position: absolute;
top: -4px;
right: -4px;
font-size: 14px;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.2));
}
.profile-avatar-vip {
    border: 2px solid #f59e0b !important;
    box-shadow: 0 0 8px rgba(245,158,11,0.3);
}
.profile-name-vip {
    color: #92400e !important;
}

/* ========== 搜索栏内联样式（共用.nav-search-bar下元素） ========== */
.nav-search-bar input {
    flex: 1;
padding: 12px 18px;
border-radius: 39px;
    border: 2px solid #e2e8f0;
font-size: 14px;
    outline: none;
    background: white;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.nav-search-bar input:focus {
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34,197,94,0.12);
}
.nav-search-bar button {
    background: #1e293b;
    color: white;
    border: none;
border-radius: 39px;
padding: 12px 23px;
font-size: 14px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}
.nav-search-bar button:hover {
    background: #334155;
}

/* ========== VIP专属徽章 ========== */
.nav-premium {
    position: relative;
}
.premium-badge {
    position: absolute;
top: -4px;
right: -4px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
font-size: 5px;
    font-weight: 700;
padding: 1px 3px;
border-radius: 12px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(245,158,11,0.3);
    line-height: 1.4;
}

/* 用户中心下拉 */
.menu-dropdown-wrapper {
    position: relative;
}
.user-dropdown {
    position: absolute;
top: 64px;
    right: 0;
    background: white;
border-radius: 17px;
padding: 17px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    display: none;
    flex-direction: column;
gap: 9px;
min-width: 194px;
    z-index: 300;
    border: 1px solid #e2e8f0;
}
.menu-dropdown-wrapper:hover .user-dropdown {
    display: flex;
}
.user-dropdown a {
    text-decoration: none;
    color: #1e293b;
padding: 12px 15px;
border-radius: 17px;
    transition: background 0.15s;
font-size: 15px;
}
.user-dropdown a:hover {
    background: #f1f5f9;
}
.profile-section {
    display: flex;
    align-items: center;
gap: 9px;
padding-bottom: 9px;
    border-bottom: 1px solid #e2e8f0;
margin-bottom: 3px;
}
.profile-avatar {
font-size: 23px;
    background: #eef2ff;
width: 40px;
height: 40px;
border-radius: 21px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.profile-avatar .avatar-emoji {
font-size: 14px;
    line-height: 1;
margin-bottom: 0px;
}
.profile-avatar .avatar-letter {
font-size: 17px;
    line-height: 1.1;
}
.profile-name {
    font-weight: 700;
font-size: 14px;
}
.profile-level {
font-size: 12px;
    color: #64748b;
}

/* ========== 小时令挂件 ========== */
.seasonal-widget-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
}
.seasonal-widget-small {
    display: flex;
    align-items: center;
gap: 5px;
    background: white;
padding: 12px 15px;
border-radius: 28px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    border: 2px solid var(--season-theme);
    transition: all 0.2s;
    cursor: pointer;
}
.seasonal-widget-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.05);
}
.widget-icon {
font-size: 17px;
}
.widget-text {
    display: flex;
    flex-direction: column;
}
.widget-main {
    font-weight: 600;
font-size: 14px;
}
.widget-time {
font-size: 11px;
    color: #64748b;
}
.widget-chevron {
    margin-left: auto;
font-size: 14px;
    color: var(--season-theme);
}

/* ========== 主视觉 ========== */
.hero-section {
    text-align: center;
padding: 8px 17px 0;
}
.hero-title {
font-size: 19px;
margin-bottom: 5px;
}
.hero-slogan {
font-size: 15px;
    color: #475569;
}
.hero-desc {
font-size: 12px;
    color: #64748b;
margin: 9px 0 17px;
}
.hero-actions {
    display: flex;
    justify-content: center;
gap: 17px;
    flex-wrap: wrap;
}
.primary-btn {
    background: var(--season-theme);
    color: white;
padding: 8px 19px;
border-radius: 64px;
font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 12px 20px rgba(0,0,0,0.1);
    transition: all 0.2s;
}
.primary-btn:hover {
    background: color-mix(in srgb, var(--season-theme) 85%, black);
    transform: scale(1.02);
}
.secondary-btn {
    background: white;
    border: 3px solid var(--season-theme);
    color: var(--season-theme);
padding: 8px 19px;
border-radius: 64px;
font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.secondary-btn:hover {
    background: #ecfdf5;
}

/* ========== 主页下方四列网格 ========== */
.home-grid-new {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
gap: 19px;
margin: 17px 0 24px;
    width: 100%;
}
.new-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
border-radius: 17px;
padding: 9px 12px;
    box-shadow: 0 15px 30px -8px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    flex-direction: column;
}
.new-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 45px -10px rgba(0, 0, 0, 0.1), 0 0 0 1px var(--season-theme);
    background: white;
}
.card-header-new {
    display: flex;
    align-items: center;
gap: 8px;
margin-bottom: 9px;
padding-bottom: 5px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.03);
}
.card-icon-new {
font-size: 17px;
    background: var(--season-theme);
    color: white;
width: 24px;
height: 24px;
border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 16px -6px var(--season-theme);
    transition: transform 0.2s;
}
.new-card:hover .card-icon-new {
    transform: scale(1.05) rotate(2deg);
}
.new-card h3 {
font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.01em;
}
.trending-list-new {
    list-style: none;
    flex: 1;
min-height: 98px;
}
.trending-list-new li {
    display: flex;
    align-items: center;
gap: 8px;
padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
font-size: 12px;
    font-weight: 500;
    color: #334155;
}
.trending-list-new li:last-child {
    border-bottom: none;
}
.food-emoji {
font-size: 17px;
width: 23px;
    text-align: center;
}
.time-badge {
    margin-left: auto;
    background: #f1f5f9;
padding: 3px 8px;
border-radius: 24px;
font-size: 12px;
    font-weight: 600;
    color: #64748b;
}
.card-link-new {
margin-top: 17px;
    text-decoration: none;
    color: var(--season-theme);
    font-weight: 600;
    display: inline-block;
    align-self: flex-start;
    transition: transform 0.2s;
}
.card-link-new:hover {
    transform: translateX(4px);
}

/* 广告卡片 */
.ad-card-new {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    justify-content: center;
    border: none;
}
.ad-content-new {
    text-align: center;
}
.ad-icon {
font-size: 26px;
}
.ad-title-new {
    font-weight: 700;
font-size: 14px;
margin: 8px 0;
    color: #1e293b;
}
.ad-desc-new {
    color: #475569;
margin-bottom: 14px;
}
.ad-btn-new {
    background: #1e293b;
    color: white;
    border: none;
padding: 9px 23px;
border-radius: 32px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.ad-btn-new:hover {
    background: #0f172a;
}

/* 底部 */
.home-footer {
margin-top: 17px;
padding: 17px 0;
    text-align: center;
    color: #94a3b8;
    border-top: 1px solid #e2e8f0;
font-size: 14px;
}

/* ========== 通用返回链接 ========== */
.back-link-large {
    display: inline-block;
margin-bottom: 17px;
    text-decoration: none;
    color: var(--season-theme);
    font-weight: 700;
font-size: 15px;
padding: 5px 17px;
border-radius: 32px;
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(8px);
    transition: 0.2s;
}
.back-link-large:hover {
    background: white;
    transform: translateX(-6px);
}

/* ========== 时间选择页 ========== */
.header {
padding: 24px 0 14px;
    border-bottom: 2px solid #e2e8f0;
}
.header h1 {
font-size: 15px;
}
.subtitle {
    color: #475569;
margin-top: 5px;
font-size: 12px;
}
.time-selector-wrapper {
    display: flex;
gap: 32px;
    align-items: center;
    justify-content: center;
margin: 24px 0;
    flex-wrap: wrap;
    flex: 1;
}
.digital-section {
    flex: 1;
min-width: 243px;
}
.analog-section {
    text-align: center;
}
.clock-label {
margin-top: 8px;
    font-weight: 600;
}
.time-presets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
gap: 8px;
margin: 9px 0;
}
.time-card {
    background: white;
    border: 2px solid #e2e8f0;
border-radius: 17px;
padding: 9px;
    text-align: center;
font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.time-card:hover {
    border-color: #a0aec0;
}
.time-card.selected {
    border-color: var(--season-theme);
    background: #f0fdf4;
}
.custom-time {
    display: flex;
    align-items: center;
gap: 12px;
margin: 17px 0;
}
.custom-time label {
    font-weight: 500;
}
.custom-time input {
padding: 5px 9px;
    border: 2px solid #e2e8f0;
border-radius: 24px;
font-size: 12px;
width: 98px;
}

/* ========== 炊具页 ========== */
.utensils-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 23px;
padding: 28px 0;
    flex: 1;
}

.utensil-card {
    background: white;
    border: 2px solid #e2e8f0;
border-radius: 28px;
padding: 23px 9px 17px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.2s;
    cursor: pointer;
}
.utensil-card.selected {
    border-color: var(--season-theme);
    background: #f0fdf4;
}
.emoji {
font-size: 40px;
margin-bottom: 9px;
}
.name {
font-size: 15px;
    font-weight: 500;
margin-bottom: 17px;
}
.quantity-control {
    display: flex;
    align-items: center;
gap: 17px;
}
.qty-btn {
    background: #f1f5f9;
    border: none;
width: 36px;
height: 36px;
border-radius: 32px;
font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.15s;
}
.qty-btn:hover {
    background: #e2e8f0;
}
.qty-num {
font-size: 17px;
    font-weight: 600;
min-width: 28px;
    text-align: center;
}
.expand-grid-btn {
    display: block;
    width: 100%;
padding: 14px;
    background: #f1f5f9;
    border: 2px dashed #cbd5e1;
border-radius: 17px;
font-size: 15px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
margin: 17px 0;
    transition: 0.2s;
}
.expand-grid-btn:hover {
    background: #e2e8f0;
}

/* ========== 食材页 ========== */
.search-box {
padding: 17px 0;
}
.search-input {
    width: 100%;
padding: 15px 23px;
font-size: 14px;
    border: 2px solid #e2e8f0;
border-radius: 49px;
    outline: none;
}
.search-input:focus {
    border-color: var(--season-theme);
}
.category-tabs {
    display: flex;
    flex-wrap: wrap;
gap: 9px;
padding: 14px 0;
}
.category-tab {
    background: white;
    border: 1px solid #cbd5e1;
border-radius: 32px;
padding: 9px 19px;
font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
}
.category-tab.active {
    background: var(--season-theme);
    color: white;
    border-color: var(--season-theme);
}
.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
gap: 15px;
padding: 19px 0;
    flex: 1;
}

.ingredient-card {
    background: white;
    border: 2px solid #e2e8f0;
border-radius: 19px;
padding: 15px 5px 9px;
    text-align: center;
font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}
.ingredient-card.selected {
    border-color: var(--season-theme);
    background: #f0fdf4;
}
.ingredient-card.whole {
padding-right: 32px;
}
.expand-btn {
    position: absolute;
right: 8px;
    top: 50%;
    transform: translateY(-50%);
width: 23px;
height: 23px;
border-radius: 12px;
    background: #e2e8f0;
    border: none;
font-size: 17px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.expand-btn:hover {
    background: #cbd5e1;
}
.ingredient-parent {
    font-size: 0.8em;
    color: #6b7280;
    display: inline-block;
}
.ingredient-card .name {
font-size: 15px;
margin: 5px 0;
}
.ingredient-card .quantity-control {
margin: 4px 0;
}
.ingredient-unit {
font-size: 12px;
    color: #64748b;
margin-top: 3px;
}
.qty-num input {
width: 49px;
    text-align: center;
font-size: 15px;
padding: 3px;
    border: 2px solid var(--season-theme);
border-radius: 9px;
    outline: none;
    background: white;
}

/* 偏好面板 */
.preferences-collapsible {
margin: 17px 0;
border-radius: 17px;
    border: 1px solid #e2e8f0;
}
.collapsible-content {
padding: 17px;
    background: white;
    display: block;
}
.settings-panel {
    background: #f8fafc;
border-radius: 24px;
padding: 19px;
    margin: 0;
}
.setting-item {
margin-bottom: 19px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.setting-label {
width: 122px;
    font-weight: 600;
font-size: 17px;
}
.radio-label {
margin-right: 24px;
font-size: 15px;
    cursor: pointer;
}
.budget-item {
    align-items: flex-start;
}
.budget-slider-wrapper {
    display: flex;
    flex-direction: column;
gap: 3px;
    flex: 1;
}
.budget-values {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
margin-bottom: 3px;
}
.dual-slider {
    position: relative;
height: 17px;
margin: 8px 0;
}
.dual-slider input[type=range] {
    position: absolute;
    width: 100%;
    pointer-events: none;
    -webkit-appearance: none;
    background: transparent;
}
.dual-slider input[type=range]::-webkit-slider-thumb {
    pointer-events: auto;
    -webkit-appearance: none;
width: 19px;
height: 19px;
    background: var(--season-theme);
    border-radius: 50%;
    cursor: pointer;
margin-top: -5px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    z-index: 10;
    position: relative;
}
.dual-slider input[type=range]::-webkit-slider-runnable-track {
height: 5px;
    background: #cbd5e1;
border-radius: 3px;
}
.setting-hint {
    color: #64748b;
font-size: 12px;
margin-top: 3px;
margin-left: 122px;
}

/* ========== 左右按钮组（自动置底） ========== */
.dual-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
gap: 24px;
padding: 17px 0 24px;
    margin-top: auto;
}
.skip-btn {
    background: var(--primary-color);
    border: none;
    color: white;
padding: 9px 28px;
border-radius: 49px;
font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    box-shadow: 0 10px 18px rgba(232,93,74,0.15);
    transition: all 0.2s;
}
.skip-btn:hover {
    background: var(--primary-dark);
}
.next-btn {
    background: var(--season-theme);
    color: white;
    border: none;
border-radius: 49px;
padding: 9px 28px;
font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 18px rgba(16,185,129,0.15);
    transition: all 0.2s;
}
.next-btn:hover {
    background: color-mix(in srgb, var(--season-theme) 85%, black);
}
.bottom-action {
    padding: 0;
    text-align: center;
    margin-top: auto;
    width: 100%;
}

/* ========== 额外需求页 ========== */
.settings-panel.compact {
padding: 17px;
margin: 14px 0;
}
.settings-panel.compact h3 {
margin-bottom: 14px;
font-size: 14px;
}
.people-input-group {
    display: flex;
gap: 24px;
    flex-wrap: wrap;
}
.people-input-group div {
    display: flex;
    align-items: center;
gap: 5px;
}
.people-input-group input {
width: 57px;
padding: 5px;
    border: 1px solid #cbd5e1;
border-radius: 17px;
}
.radio-group {
    display: flex;
gap: 24px;
    flex-wrap: wrap;
}
.radio-group label {
    display: flex;
    align-items: center;
gap: 5px;
    cursor: pointer;
}
.hunger-slider-container {
padding: 8px 0;
}
.hunger-value {
margin-top: 5px;
    font-weight: 600;
    color: var(--season-theme);
}
.ai-extra-panel {
padding: 23px;
}
.ai-extra-panel textarea {
font-size: 15px;
    width: 100%;
padding: 14px;
    border: 2px solid #e2e8f0;
border-radius: 19px;
    resize: vertical;
    font-family: inherit;
}
.ai-extra-panel textarea:focus {
    border-color: var(--season-theme);
    outline: none;
}
.ai-hint {
font-size: 12px;
    font-weight: normal;
    color: #64748b;
margin-left: 5px;
}
.input-hint {
margin-top: 8px;
    color: #64748b;
font-size: 12px;
}
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
gap: 12px 24px;
}
.checkbox-group label {
    display: flex;
    align-items: center;
gap: 5px;
    cursor: pointer;
font-size: 15px;
}

/* ========== 今日菜单页 ========== */
.meal-plan-container {
padding-bottom: 64px;
}
.history-btn {
    background: white;
    border: 2px solid var(--season-theme);
    color: var(--season-theme);
padding: 9px 19px;
border-radius: 32px;
    font-weight: 600;
    cursor: pointer;
}
.meal-header {
margin-bottom: 24px;
}
.meal-header h1 {
font-size: 23px;
}
.meal-date {
font-size: 15px;
    color: #64748b;
}
.meal-section {
    background: white;
border-radius: 26px;
padding: 19px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.02);
margin-bottom: 24px;
}
.meal-time-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
margin-bottom: 17px;
}
.meal-time-title {
font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
gap: 8px;
}
.time-range {
font-size: 14px;
    font-weight: 400;
    color: #64748b;
}
.meal-meta-inline {
    display: flex;
gap: 17px;
}
.meal-dishes {
    display: flex;
    flex-direction: column;
gap: 14px;
}
.dish-card {
    display: grid;
    grid-template-columns: 2fr 0.5fr 1.2fr 1.8fr;
    align-items: center;
gap: 8px;
padding: 14px;
    background: #f8fafc;
border-radius: 19px;
}
.dish-info {
    display: flex;
    align-items: center;
gap: 12px;
}
.dish-icon {
font-size: 17px;
}
.dish-desc {
font-size: 12px;
    color: #64748b;
}
.dish-price {
    font-weight: 700;
    color: var(--season-theme);
font-size: 17px;
    text-align: right;
}
.dish-nutrition-inline .nutrition-bars {
    display: flex;
gap: 9px;
    flex-wrap: wrap;
}
.dish-detail-inline {
font-size: 12px;
    color: #334155;
    background: #f8fafc;
padding: 5px 9px;
border-radius: 14px;
}
.price-breakdown-inline {
margin-bottom: 3px;
}
.ai-score-inline {
    display: flex;
    align-items: center;
gap: 5px;
}
.score-badge {
    background: var(--season-theme);
    color: white;
padding: 3px 9px;
border-radius: 24px;
    font-weight: 600;
}
.score-badge.large {
font-size: 15px;
padding: 4px 14px;
}
.meal-summary-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
margin-top: 17px;
padding-top: 14px;
    border-top: 2px solid #e2e8f0;
}
.summary-left {
    display: flex;
    align-items: center;
gap: 17px;
}
.pie-wrapper {
    text-align: center;
}
.meal-pie-chart {
width: 57px !important;
height: 57px !important;
}
.pie-status-text {
font-size: 12px;
margin-top: 3px;
    color: #475569;
}
.score-comment {
font-size: 14px;
    color: #475569;
margin-left: 9px;
    font-style: italic;
}
.total-price {
    font-weight: 700;
    color: var(--season-theme);
font-size: 14px;
margin-left: 12px;
}
.purchase-btn {
    background: var(--season-theme);
    color: white;
    border: none;
padding: 14px 26px;
border-radius: 49px;
font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
min-width: 145px;
}
.purchase-btn:hover {
    background: color-mix(in srgb, var(--season-theme) 85%, black);
    transform: scale(1.02);
}

/* 历史菜单侧边栏 */
.history-panel {
    position: fixed;
    top: 0;
right: -284px;
width: 260px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 20px rgba(0,0,0,0.05);
    z-index: 1000;
    transition: right 0.3s;
padding: 17px;
}
.history-panel.show {
    right: 0;
}
.history-header {
    display: flex;
    justify-content: space-between;
margin-bottom: 17px;
}
.history-list {
    display: flex;
    flex-direction: column;
gap: 9px;
}
.history-item {
padding: 9px;
    background: #f8fafc;
border-radius: 14px;
    display: flex;
    justify-content: space-between;
}

/* ========== 收藏页 ========== */
.favorites-container {
padding-bottom: 32px;
}
.favorites-title {
font-size: 23px;
margin: 17px 0;
}
.favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 19px;
}
.favorite-card {
    background: white;
border-radius: 19px;
padding: 19px;
    text-align: center;
    box-shadow: 0 6px 12px rgba(0,0,0,0.02);
}
.fav-icon {
font-size: 39px;
}
.remove-fav {
margin-top: 9px;
    background: #fee2e2;
    border: none;
padding: 5px 15px;
border-radius: 24px;
    color: #b91c1c;
    cursor: pointer;
}

/* ========== 视频流 / 商品 / 收集页 ========== */
.feed-title, .shop-title, .collection-title {
font-size: 23px;
margin-bottom: 8px;
}
.shop-desc, .collection-desc {
    color: #64748b;
margin-bottom: 17px;
}
.video-feed {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 19px;
margin: 24px 0;
}
.video-card {
    background: white;
border-radius: 19px;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0,0,0,0.02);
    transition: 0.2s;
}
.video-card:hover {
    transform: translateY(-4px);
}
.video-thumb {
height: 130px;
    background: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
font-size: 26px;
}
.video-info {
padding: 14px;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 23px;
margin: 24px 0;
}
.product-card {
    background: white;
border-radius: 23px;
padding: 19px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0,0,0,0.02);
}
.product-img {
font-size: 44px;
margin-bottom: 9px;
}
.product-desc {
    color: #64748b;
font-size: 12px;
margin: 5px 0;
}
.product-price {
    font-weight: 700;
    color: var(--season-theme);
margin: 8px 0;
}
.buy-btn {
    background: var(--season-theme);
    color: white;
    border: none;
padding: 8px 23px;
border-radius: 32px;
    font-weight: 600;
    cursor: pointer;
}
.utensil-collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
gap: 19px;
margin: 24px 0;
}
.collection-card {
    background: white;
border-radius: 23px;
padding: 19px;
    text-align: center;
    box-shadow: 0 6px 12px rgba(0,0,0,0.02);
    position: relative;
}
.collection-img {
font-size: 39px;
margin-bottom: 9px;
}
.badge {
    display: inline-block;
padding: 3px 9px;
border-radius: 24px;
font-size: 12px;
    font-weight: 600;
margin: 8px 0;
}
.owned-badge {
    background: #dcfce7;
    color: #16a34a;
}
.not-owned {
    background: #f1f5f9;
    color: #64748b;
}
.collect-btn {
    background: #e2e8f0;
    border: none;
padding: 5px 17px;
border-radius: 24px;
    font-weight: 600;
    cursor: pointer;
margin-top: 5px;
}

/* ========== 惊艳季节详情页 ========== */
.seasonal-page {
    background: #faf9f6;
    overflow-x: hidden;
}
.seasonal-hero {
    position: relative;
    min-height: 100vh;
padding: 32px 0;
    transition: background 0.5s ease;
}
.seasonal-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 40%, color-mix(in srgb, var(--season-theme) 20%, transparent) 0%, transparent 70%);
    z-index: 0;
    animation: pulseGlow 8s infinite alternate;
}
@keyframes pulseGlow {
    0% { opacity: 0.5; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.02); }
}
.seasonal-container {
    position: relative;
    z-index: 10;
max-width: 972px;
    margin: 0 auto;
padding: 17px 32px;
}
.back-btn {
    display: inline-block;
margin-bottom: 24px;
    text-decoration: none;
    color: var(--season-theme);
    font-weight: 600;
font-size: 17px;
padding: 8px 19px;
border-radius: 32px;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.2s;
}
.back-btn:hover {
    background: white;
    transform: translateX(-4px);
}
.seasonal-title-block {
    text-align: center;
margin-bottom: 49px;
    animation: fadeInUp 0.8s ease-out;
}
.giant-icon {
font-size: 98px;
    line-height: 1;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
}
.seasonal-title-block h1 {
font-size: 44px;
    font-weight: 800;
margin: 17px 0 8px;
    color: #1e293b;
}
.seasonal-title-block p {
font-size: 15px;
    color: #475569;
}
.seasonal-date {
font-size: 17px;
    color: var(--season-theme);
margin-top: 5px;
}
.seasonal-detail-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
gap: 19px;
margin-bottom: 49px;
}
.detail-card {
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(12px);
padding: 24px 17px;
border-radius: 26px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(255,255,255,0.8);
    transition: all 0.3s;
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}
.detail-card:nth-child(1) { animation-delay: 0.1s; }
.detail-card:nth-child(2) { animation-delay: 0.2s; }
.detail-card:nth-child(3) { animation-delay: 0.3s; }
.detail-card:nth-child(4) { animation-delay: 0.4s; }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.detail-card:hover {
    transform: translateY(-8px);
    background: white;
}
.card-icon {
font-size: 26px;
margin-bottom: 9px;
}
.card-label {
font-size: 14px;
    color: #64748b;
margin-bottom: 5px;
}
.card-value {
font-size: 17px;
    font-weight: 700;
    color: var(--season-theme);
}
.seasonal-recommendations {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
gap: 32px;
margin: 49px 0;
}
.rec-column h2 {
font-size: 17px;
margin-bottom: 19px;
    color: #1e293b;
    display: flex;
    align-items: center;
gap: 5px;
}
.animated-list {
    list-style: none;
}
.animated-list li {
padding: 14px 0;
    border-bottom: 1px solid #e2e8f0;
font-size: 15px;
    display: flex;
    align-items: center;
    animation: slideIn 0.5s ease-out forwards;
    opacity: 0;
    transform: translateX(-10px);
}
.rec-column:nth-child(1) .animated-list li { animation-delay: calc(0.1s * var(--i, 1)); }
.rec-column:nth-child(2) .animated-list li { animation-delay: calc(0.1s * var(--i, 1) + 0.2s); }
.rec-column:nth-child(3) .animated-list li { animation-delay: calc(0.1s * var(--i, 1) + 0.4s); }
@keyframes slideIn {
    to { opacity: 1; transform: translateX(0); }
}
.seasonal-footer-note {
    text-align: center;
margin-top: 49px;
padding: 19px;
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(10px);
border-radius: 49px;
font-size: 17px;
    color: #334155;
    border: 1px solid rgba(255,255,255,0.8);
}

/* ========== 计时器页 ========== */
.timer-app {
padding-bottom: 40px;
}
.timer-header h1 {
font-size: 23px;
}
.current-time-box {
    background: white;
border-radius: 32px;
padding: 17px 24px;
margin: 17px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 6px 12px rgba(0,0,0,0.02);
}
.current-time-label {
font-size: 14px;
    font-weight: 600;
    color: #475569;
}
.current-time-value {
font-size: 17px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--season-theme);
}
.add-timer {
    display: flex;
gap: 12px;
    flex-wrap: wrap;
    align-items: center;
margin: 24px 0;
}
.add-timer input {
padding: 9px 14px;
    border: 1px solid #cbd5e1;
border-radius: 24px;
font-size: 14px;
}
.add-timer input[type="text"] {
min-width: 145px;
}
.add-timer input[type="number"] {
width: 57px;
}
.add-btn {
    background: var(--season-theme);
    color: white;
    border: none;
padding: 9px 23px;
border-radius: 32px;
    font-weight: 600;
    cursor: pointer;
}
.timers-list {
    display: flex;
    flex-direction: column;
gap: 14px;
}
.timer-card {
    background: white;
border-radius: 19px;
padding: 17px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.02);
    border: 2px solid #e2e8f0;
    transition: 0.2s;
}
.timer-card.running {
    border-color: var(--season-theme);
    background: #f0fdf4;
}
.timer-card.finished {
    border-color: #ef4444;
    background: #fef2f2;
}
.timer-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
margin-bottom: 5px;
}
.timer-label {
    font-weight: 600;
font-size: 17px;
}
.timer-time {
font-size: 17px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.timer-endtime {
font-size: 14px;
    color: #64748b;
margin-bottom: 9px;
}
.timer-progress {
height: 5px;
    background: #e2e8f0;
border-radius: 3px;
margin: 9px 0;
}
.progress-bar {
    height: 100%;
    background: var(--season-theme);
border-radius: 3px;
    width: 0%;
    transition: width 0.3s;
}
.timer-actions {
    display: flex;
gap: 9px;
    justify-content: flex-end;
}
.timer-actions button {
    background: #f1f5f9;
    border: none;
width: 36px;
height: 36px;
border-radius: 24px;
font-size: 17px;
    cursor: pointer;
}
.empty-timers {
    text-align: center;
padding: 40px;
    color: #94a3b8;
}
.timer-tips {
margin-top: 24px;
    text-align: center;
    color: #64748b;
}

/* ========== 活动比赛页 ========== */
.contest-container {
padding-bottom: 40px;
}
.contest-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
margin: 17px 0 24px;
}
.contest-header h1 {
font-size: 23px;
}
.contest-tabs {
    display: flex;
gap: 12px;
}
.tab-btn {
    background: white;
    border: 2px solid #e2e8f0;
padding: 9px 23px;
border-radius: 32px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}
.tab-btn.active {
    background: var(--season-theme);
    color: white;
    border-color: var(--season-theme);
}
.contest-panel {
    display: none;
}
.contest-panel.active {
    display: block;
}
.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
gap: 19px;
margin-top: 17px;
}
.activity-card {
    background: white;
border-radius: 19px;
padding: 19px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.02);
    transition: 0.2s;
}
.activity-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.05);
}
.activity-banner {
font-size: 35px;
    text-align: center;
margin-bottom: 14px;
}
.activity-card h3 {
font-size: 14px;
margin-bottom: 5px;
}
.activity-card p {
    color: #64748b;
margin-bottom: 14px;
}
.activity-meta {
    display: flex;
    justify-content: space-between;
margin-bottom: 17px;
font-size: 12px;
    color: #475569;
}
.join-btn {
    background: var(--season-theme);
    color: white;
    border: none;
padding: 9px 17px;
border-radius: 32px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
}
.rank-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
margin-bottom: 17px;
}
.rank-filter {
padding: 5px 14px;
border-radius: 24px;
    border: 1px solid #cbd5e1;
}
.rank-list {
    background: white;
border-radius: 19px;
padding: 17px;
}
.rank-item {
    display: flex;
    align-items: center;
padding: 14px 0;
    border-bottom: 1px solid #f1f5f9;
}
.rank-item:last-child {
    border-bottom: none;
}
.rank-num {
    font-weight: 700;
width: 49px;
font-size: 15px;
}
.rank-user {
    flex: 1;
    display: flex;
    align-items: center;
gap: 9px;
}
.avatar-small {
width: 26px;
height: 26px;
border-radius: 14px;
}
.rank-score {
    font-weight: 600;
    color: var(--season-theme);
}

/* ========== 健身页 ========== */
.fitness-container {
padding-bottom: 40px;
}
.fitness-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
margin: 17px 0 24px;
}
.fitness-header h1 {
font-size: 23px;
}
.fitness-tabs {
    display: flex;
gap: 12px;
}
.fitness-tab {
    background: white;
    border: 2px solid #e2e8f0;
padding: 9px 23px;
border-radius: 32px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}
.fitness-tab.active {
    background: var(--season-theme);
    color: white;
    border-color: var(--season-theme);
}
.fitness-panel {
    display: none;
}
.fitness-panel.active {
    display: block;
}
.goal-desc {
    background: #f8fafc;
padding: 17px;
border-radius: 19px;
margin-bottom: 24px;
}
.meal-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
gap: 17px;
margin: 17px 0;
}
.meal-card {
    background: white;
border-radius: 17px;
padding: 19px;
    text-align: center;
    box-shadow: 0 6px 12px rgba(0,0,0,0.02);
}
.meal-emoji {
font-size: 26px;
margin-bottom: 9px;
}
.meal-card h3 {
font-size: 17px;
margin-bottom: 5px;
}
.meal-card p {
    color: #64748b;
}
.workout-tips {
    background: #f1f5f9;
border-radius: 19px;
padding: 19px;
margin-top: 24px;
}
.workout-tips h2 {
margin-bottom: 14px;
}
.workout-tips li {
margin-left: 17px;
padding: 4px 0;
}
.fitness-ad {
margin-top: 32px;
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
border-radius: 24px;
padding: 19px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.fitness-ad p {
font-size: 17px;
    font-weight: 600;
    color: #0369a1;
}

/* ========== 企业模式页 ========== */
.enterprise-container {
padding-bottom: 40px;
}
.enterprise-header {
margin: 17px 0 24px;
}
.enterprise-header h1 {
font-size: 23px;
}
.enterprise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
gap: 19px;
margin-bottom: 24px;
}
.enterprise-card {
    background: white;
border-radius: 23px;
padding: 23px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.02);
}
.cost-summary {
    display: flex;
    flex-direction: column;
gap: 14px;
margin: 17px 0;
}
.cost-item {
    display: flex;
    justify-content: space-between;
padding: 9px 0;
    border-bottom: 1px solid #e2e8f0;
}
.cost-item.total {
    border-bottom: none;
font-size: 17px;
    color: var(--season-theme);
}
.pricing-list {
    display: flex;
    flex-direction: column;
gap: 14px;
margin: 17px 0;
}
.pricing-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
padding: 9px 0;
    border-bottom: 1px solid #e2e8f0;
}
.suggest-price {
    background: var(--season-theme);
    color: white;
padding: 4px 14px;
border-radius: 24px;
    font-weight: 600;
}
.inventory-list {
    display: flex;
    flex-direction: column;
gap: 14px;
margin: 17px 0;
}
.inventory-item {
    display: flex;
    justify-content: space-between;
padding: 9px 0;
    border-bottom: 1px solid #e2e8f0;
}
.inventory-item.low .warning {
    color: #ef4444;
    font-weight: 600;
}
.staff-list {
    display: flex;
    flex-direction: column;
gap: 14px;
margin: 17px 0;
}
.staff-item {
    display: flex;
    justify-content: space-between;
padding: 9px 0;
    border-bottom: 1px solid #e2e8f0;
}
.enterprise-ad {
margin-top: 17px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
border-radius: 24px;
padding: 19px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.enterprise-ad p {
font-size: 17px;
    font-weight: 600;
    color: #1e293b;
}

/* ========== 想吃什么页专用 ========== */
.want-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
gap: 9px;
padding: 17px 0;
    flex: 1;
    max-height: 70vh;
    overflow-y: auto;
    scrollbar-width: thin;
}
.want-grid.collapsed {
max-height: 260px;
    overflow-y: auto;
    scrollbar-width: thin;
}
.want-grid.collapsed {
max-height: 226px;
    overflow-y: auto;
    scrollbar-width: thin;
}
.want-grid .ingredient-card {
padding: 14px 3px;
border-radius: 17px;
    transition: all 0.2s;
}
.want-grid .ingredient-card .emoji {
font-size: 17px;
}
.want-grid .ingredient-card .name {
font-size: 14px;
    font-weight: 500;
}
.want-grid .ingredient-card.selected {
    border-color: var(--season-theme);
    background: #f0fdf4;
}

/* ========== 响应式 ========== */
@media (max-width: 1200px) {
    .seasonal-title-block h1 { font-size: 42px; }
    .giant-icon { font-size: 100px; }
}
@media (max-width: 1000px) {
    .home-grid-new { grid-template-columns: repeat(2, 1fr); }
    .seasonal-detail-grid { grid-template-columns: repeat(2, 1fr); }
    .seasonal-recommendations { grid-template-columns: 1fr; gap: 30px; }
    .nav-right-grid { gap: 6px; }
}
@media (max-width: 800px) {
    .app-container { padding: 0 16px; }
    .hero-title { font-size: 28px; }
    .nav-links { flex-wrap: wrap; gap: 10px; }
    .nav-pill { font-size: 16px; padding: 12px 18px; }
    .nav-pill span { font-size: 20px; }
    .nav-circle { width: 68px; height: 68px; font-size: 20px; }
    .nav-search-bar input { font-size: 13px; padding: 8px 14px; }
    .nav-search-bar button { font-size: 13px; padding: 8px 16px; }
    .time-presets { grid-template-columns: repeat(2, 1fr); }
    .setting-item { flex-direction: column; align-items: flex-start; gap: 10px; }
    .setting-label { width: auto; }
    .setting-hint { margin-left: 0; }
    .budget-slider-wrapper { width: 100%; }
    .seasonal-container { padding: 20px 20px; }
    .dish-card { grid-template-columns: 1fr; gap: 8px; }
    .meal-summary-inline { flex-direction: column; gap: 15px; align-items: flex-start; }
    .nav-right-grid { grid-template-columns: repeat(2, auto); }
    .enterprise-grid { grid-template-columns: 1fr; }
    .want-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 600px) {
    .home-grid-new { grid-template-columns: 1fr; }
    .seasonal-title-block h1 { font-size: 28px; }
    .giant-icon { font-size: 80px; }
    .want-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ===== 厨艺入门 ===== */
.cooking-skills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
gap: 8px;
margin-top: 3px;
}
.skill-card {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
border-radius: 9px;
padding: 9px 12px;
  cursor: pointer;
  transition: all 0.2s;
}
.skill-card:hover {
  background: #dcfce7;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.skill-header {
  font-size: 1rem;
margin-bottom: 3px;
}
.skill-body {
  font-size: 0.78rem;
  color: #6b7280;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.skill-detail {
  border: 1px solid #86efac;
  animation: fadeIn 0.2s ease;
}
.search-circle-btn {
width: 35px;
height: 35px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: #fff;
  color: #e85d3a;
  border: 2px solid #e85d3a;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
}
.search-circle-btn:hover {
  background: #fff5f2;
  transform: scale(1.05);
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
/* ===== BACK HOME BUTTON ENHANCED ===== */
.back-home-btn {
    display: inline-flex !important;
    align-items: center;
gap: 4px;
    background: #f59e0b !important;
    color: white !important;
padding: 5px 17px !important;
font-size: 12px !important;
    font-weight: 700 !important;
border-radius: 9px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    text-decoration: none !important;
}
.back-home-btn:hover {
    background: #d97706 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245,158,11,0.3);
}

/* ===== LOAD MORE BUTTON ===== */
.load-more-btn {
    display: inline-block;
padding: 9px 28px;
    background: white;
    border: 2px solid #e85d3a;
border-radius: 9px;
font-size: 12px;
    font-weight: 600;
    color: #e85d3a;
    cursor: pointer;
    transition: all 0.2s;
margin: 14px auto;
}
.load-more-btn:hover {
    background: #e85d3a;
    color: white;
}

/* ===== FOLLOW BUTTON ===== */
.follow-btn { padding: 4px 14px; border-radius: 20px; font-size: 13px; border: 1px solid #e85d3a; background: white; color: #e85d3a; cursor: pointer; }
.follow-btn.following { background: #e85d3a; color: white; }
.follow-btn:hover { opacity: 0.8; }

/* ===== 全局覆盖：所有返回首页按钮放大 ===== */
a[href="/"]:not(.nav-pill):not(.seasonal-widget-link):not(.nav-circle):not(.panel-tab):not(.card-link-new) {
    display: inline-flex !important;
    align-items: center;
gap: 4px;
    background: #f59e0b !important;
    color: white !important;
padding: 9px 23px !important;
font-size: 14px !important;
    font-weight: 700 !important;
border-radius: 9px !important;
    text-decoration: none !important;
    transition: all 0.2s;
}
a[href="/"]:not(.nav-pill):not(.seasonal-widget-link):not(.nav-circle):not(.panel-tab):not(.card-link-new):hover {
    background: #d97706 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245,158,11,0.3);
}
/* 页脚首页链接排除 */
footer a[href="/"], a[href="/copyright"], .side-panel a {
    all: revert !important;
    color: #64748b !important;
    background: none !important;
padding: 5px 14px !important;
font-size: 11px !important;
}

.follow-btn {
    display: inline-block;
padding: 4px 15px;
border-radius: 17px;
font-size: 11px;
    font-weight: 600;
    border: 1px solid #e85d3a;
    background: white;
    color: #e85d3a;
    cursor: pointer;
    transition: all 0.2s;
}
.follow-btn.following {
    background: #e85d3a;
    color: white;
}
.follow-btn:hover { opacity: 0.85; }

/* VIP返回页按钮放大 */
.vp-back, .back-link, .back-link-large, .cg-back, .back-home {
    display: inline-flex !important;
    align-items: center;
gap: 4px;
    background: #f59e0b !important;
    color: white !important;
padding: 9px 23px !important;
font-size: 14px !important;
    font-weight: 700 !important;
border-radius: 9px !important;
    text-decoration: none !important;
}
.vp-back:hover, .back-link:hover {
    background: #d97706 !important;
}

/* ===== 社交页面 ===== */
.social-container { max-width: 800px; margin: 0 auto; padding: 20px; }
.social-tabs { display: flex; gap: 8px; margin-bottom: 16px; border-bottom: 2px solid #e2e8f0; padding-bottom: 8px; }
.social-tab { padding: 8px 20px; border: none; background: none; font-size: 15px; cursor: pointer; color: #64748b; border-radius: 8px 8px 0 0; }
.social-tab.active { color: #f59e0b; font-weight: 600; border-bottom: 2px solid #f59e0b; margin-bottom: -10px; }
.social-tab .unread-badge { background: #ef4444; color: white; font-size: 11px; padding: 1px 6px; border-radius: 10px; margin-left: 4px; }
.user-list-item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: white; border-radius: 12px; margin-bottom: 8px; box-shadow: 0 1px 4px rgba(0,0,0,0.04); }
.social-recipe-card { padding: 16px; background: white; border-radius: 12px; margin-bottom: 10px; box-shadow: 0 1px 4px rgba(0,0,0,0.04); cursor: pointer; }
.social-recipe-card .uploader-info { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #64748b; margin-bottom: 6px; }

/* ===== 消息聊天 ===== */
.chat-box { max-height: 400px; overflow-y: auto; padding: 12px; background: #f8fafc; border-radius: 12px; }
.chat-msg { margin-bottom: 10px; display: flex; }
.chat-msg.sent { justify-content: flex-end; }
.chat-msg.received { justify-content: flex-start; }
.chat-bubble { max-width: 70%; padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.5; }
.chat-msg.sent .chat-bubble { background: #f59e0b; color: white; border-bottom-right-radius: 4px; }
.chat-msg.received .chat-bubble { background: white; border: 1px solid #e2e8f0; border-bottom-left-radius: 4px; }

/* ===== 中国美食地图 ===== */
.map-container { max-width: 900px; margin: 0 auto; padding: 20px; text-align: center; }
.map-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; margin: 16px 0; }
.map-city-btn { padding: 10px; border: 1px solid #e2e8f0; border-radius: 10px; background: white; cursor: pointer; font-size: 14px; transition: all 0.2s; }
.map-city-btn:hover { background: #fef3c7; border-color: #f59e0b; transform: translateY(-2px); }
.map-city-btn .city-emoji { font-size: 17px; display: block; margin-bottom: 4px; }
.city-detail { background: white; border-radius: 16px; padding: 24px; margin-top: 16px; text-align: left; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.city-detail h3 { margin: 0 0 12px; font-size: 16px; }
.city-detail .food-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.city-detail .food-tag { background: #fef3c7; color: #92400e; padding: 6px 14px; border-radius: 20px; font-size: 13px; }
.city-detail .ai-brief { background: #f0f9ff; padding: 14px; border-radius: 10px; font-size: 14px; line-height: 1.7; color: #1e40af; }

/* ===== 个人主页 ===== */
.profile-page { max-width: 700px; margin: 0 auto; padding: 20px; }
.profile-header { text-align: center; padding: 24px; background: white; border-radius: 16px; box-shadow: 0 1px 4px rgba(0,0,0,0.04); }
.profile-avatar-lg { font-size: 48px; margin-bottom: 8px; }
.profile-stats { display: flex; justify-content: center; gap: 24px; margin: 12px 0; }
.profile-stat { text-align: center; }
.profile-stat-num { font-size: 20px; font-weight: 700; }
.profile-stat-label { font-size: 12px; color: #94a3b8; }
.profile-bio { color: #64748b; font-size: 14px; margin: 8px 0 12px; }

/* 侧边栏按钮 - 放大 + 无下划线 */
.panel-btn {
font-size: 15px !important;
padding: 14px 17px !important;
    text-decoration: none !important;
    display: block;
    color: #374151;
border-radius: 9px;
    transition: all 0.2s;
}
.panel-btn:hover {
    background: #fef3c7;
    color: #f59e0b;
}





