/* 北京低价美食 - 现代化样式文件 */

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

:root {
    --primary-color: #ff2442;
    --secondary-color: #ff6b6b;
    --bg-color: #f5f5f5;
    --card-bg: #ffffff;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-tertiary: #999999;
    --border-color: #e8e8e8;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* ========== 下拉刷新 ========== */

.pull-refresh-indicator {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: 99;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.refresh-content {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    transition: all 0.2s ease;
}

.refresh-icon {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.refresh-icon.rotate {
    transform: rotate(180deg);
}

.refresh-icon.is-loading {
    animation: rotate 1s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ========== 现代风格首页 ========== */

.modern-body {
    padding-bottom: 70px;
}

/* 顶部导航 */
.top-nav {
    background: var(--card-bg);
    padding: 12px 16px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    gap: 12px;
}

.location {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 16px;
    transition: background 0.2s;
    flex-shrink: 0;
    justify-self: start;
}

.location:hover {
    background: #f5f5f5;
}

.location .city {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.location .arrow {
    font-size: 10px;
    color: var(--text-tertiary);
}

.nav-tabs {
    display: flex;
    gap: 24px;
    justify-content: center;
    align-items: center;
}

.nav-tabs .tab {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-tertiary);
    text-decoration: none;
    padding: 4px 8px;
    position: relative;
    transition: color 0.2s;
    white-space: nowrap;
}

.nav-tabs .tab.active {
    color: var(--text-primary);
    font-size: 18px;
}

.nav-tabs .tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.search-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.2s;
    flex-shrink: 0;
}

.search-btn:hover {
    background: #f5f5f5;
}

.search-btn svg {
    width: 22px;
    height: 22px;
    color: var(--text-primary);
}

/* 搜索框 - 新版美观样式 */
.search-bar-container {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--card-bg);
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    z-index: 99;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.search-bar-container.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.search-bar-modern {
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-input-wrapper {
    flex: 1;
    min-width: 0;
    position: relative;
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 24px;
    padding: 0 16px;
    height: 44px;
    transition: all 0.3s;
}

.search-input-wrapper:focus-within {
    background: var(--card-bg);
    box-shadow: 0 0 0 2px rgba(255, 36, 66, 0.15);
}

.search-input-wrapper .search-icon {
    color: var(--text-tertiary);
    margin-right: 10px;
    flex-shrink: 0;
}

.search-input-wrapper .clear-icon {
    color: var(--text-tertiary);
    cursor: pointer;
    padding: 4px;
    margin-left: 8px;
    flex-shrink: 0;
    transition: color 0.2s;
}

.search-input-wrapper .clear-icon:hover {
    color: var(--text-primary);
}

.search-input-field {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    font-size: 15px;
    color: var(--text-primary);
}

.search-input-field::placeholder {
    color: var(--text-tertiary);
}

.search-cancel {
    padding: 10px 12px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 15px;
    cursor: pointer;
    transition: color 0.2s;
    flex-shrink: 0;
    white-space: nowrap;
}

.search-cancel:hover {
    color: var(--primary-color);
}

/* 搜索建议 */
.search-suggestions {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.suggestion-title {
    font-size: 13px;
    color: var(--text-tertiary);
    margin-bottom: 12px;
}

.hot-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hot-tag {
    padding: 8px 16px;
    background: #f5f5f5;
    border-radius: 18px;
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}

.hot-tag:hover {
    background: rgba(255, 36, 66, 0.1);
    color: var(--primary-color);
}

/* 分类筛选 */
.category-section {
    display: flex;
    align-items: center;
    background: linear-gradient(to bottom, var(--card-bg) 0%, #fafafa 100%);
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    transition: margin-top 0.3s ease;
    position: relative;
}

/* 搜索展开时分类区域下移 */
.search-bar-container.active + .category-section,
.search-bar-container.active ~ .category-section {
    margin-top: 120px;
}

.category-scroll {
    display: flex;
    gap: 24px;
    padding: 0 16px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex: 1;
    min-width: 0;
}

.category-scroll::-webkit-scrollbar {
    display: none;
}

.category-pill {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 0;
    background: transparent;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-secondary);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
    border-bottom: 2px solid transparent;
}

.category-pill .icon {
    font-size: 18px;
    transition: color 0.2s ease;
}

.category-pill:hover {
    color: var(--text-primary);
}

.category-pill.active {
    color: var(--primary-color);
    font-weight: 600;
    border-bottom-color: var(--primary-color);
}

/* 分类下拉按钮 */
.category-dropdown-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-right: 8px;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.category-dropdown-btn:hover {
    color: var(--text-primary);
}

.category-dropdown-btn .rotate {
    transform: rotate(180deg);
}

/* 分类下拉菜单 */
.category-dropdown-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: flex-start;
    padding-top: 140px;
}

.dropdown-grid {
    background: var(--card-bg);
    margin: 0 16px;
    border-radius: 12px;
    padding: 20px 16px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px 12px;
    max-height: 60vh;
    overflow-y: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.dropdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 8px;
    background: transparent;
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
    text-align: center;
}

.dropdown-item .icon {
    font-size: 24px;
}

.dropdown-item:active {
    background: rgba(0, 0, 0, 0.05);
    transform: scale(0.95);
}

.dropdown-item.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Vue transition animations */
.dropdown-fade-enter-active {
    animation: dropdownFadeIn 0.25s ease;
}

.dropdown-fade-leave-active {
    animation: dropdownFadeOut 0.2s ease;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes dropdownFadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* 瀑布流布局 */
.waterfall-container {
    padding: 12px 8px;
    min-height: calc(100vh - 200px);
}

.waterfall {
    column-count: 2;
    column-gap: 8px;
}

.waterfall-item {
    break-inside: avoid;
    margin-bottom: 8px;
}

/* 美食卡片 */
.food-card-modern {
    display: block;
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.food-card-modern:active {
    transform: scale(0.98);
}

.card-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5 0%, #eeeeee 100%);
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s, opacity 0.3s;
    opacity: 0;
}

.card-image.loaded {
    opacity: 1;
}

.card-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffe5e5 0%, #fff0f0 100%);
}

.placeholder-icon {
    font-size: 48px;
}

/* 图片上的标签 */
.image-tags {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tag-price {
    display: inline-block;
    padding: 4px 8px;
    background: rgba(255, 36, 66, 0.9);
    color: white;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
}

.tag-category {
    display: inline-block;
    padding: 3px 8px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 11px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
}

.distance-tag {
    position: absolute;
    bottom: 8px;
    left: 8px;
    right: 8px;
    padding: 4px 8px;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    color: white;
    font-size: 11px;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 卡片内容 */
.card-content {
    padding: 12px;
}

.card-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-desc {
    font-size: 12px;
    color: var(--text-tertiary);
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 卡片底部 */
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    border-top: 1px solid #f5f5f5;
}

.author {
    display: flex;
    align-items: center;
    gap: 6px;
}

.author-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.author-name {
    font-size: 11px;
    color: var(--text-tertiary);
}

.like-btn {
    display: flex;
    align-items: center;
    gap: 3px;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background 0.2s;
}

.like-btn:hover {
    background: #fff5f5;
}

.like-btn svg {
    width: 16px;
    height: 16px;
    color: var(--text-tertiary);
    transition: all 0.2s;
}

.like-btn.liked svg {
    fill: var(--primary-color);
    stroke: var(--primary-color);
    color: var(--primary-color);
}

.like-count {
    font-size: 11px;
    color: var(--text-tertiary);
}

.like-btn.liked .like-count {
    color: var(--primary-color);
}

/* 空状态 */
.empty-state-modern {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

.empty-state-modern p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.empty-tip {
    font-size: 13px;
    color: var(--text-tertiary);
}

/* 底部导航 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--card-bg);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 6px 0 10px;
    border-top: 1px solid var(--border-color);
    z-index: 100;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-decoration: none;
    color: var(--text-tertiary);
    font-size: 11px;
    transition: color 0.2s;
    padding: 4px 12px;
}

.nav-item.active {
    color: var(--primary-color);
}

.nav-icon {
    font-size: 22px;
    line-height: 1;
}

.nav-add {
    margin-top: -20px;
}

.add-btn {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 300;
    box-shadow: 0 4px 12px rgba(255, 36, 66, 0.4);
}

/* 动画 */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== 详情页现代化 ========== */

.detail-modern {
    background: var(--bg-color);
    min-height: 100vh;
    padding-bottom: 80px;
}

.detail-header-modern {
    position: relative;
    background: var(--card-bg);
}

.detail-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    max-height: 500px;
    overflow: hidden;
}

.detail-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffe5e5 0%, #fff0f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
}

.detail-nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), transparent);
    z-index: 10;
}

.nav-btn {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 20px;
    backdrop-filter: blur(10px);
}

.detail-actions {
    display: flex;
    gap: 12px;
}

.detail-content-modern {
    padding: 20px;
    background: var(--card-bg);
}

.detail-title-modern {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.detail-tags-modern {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.tag-modern {
    padding: 4px 10px;
    background: #fff5f5;
    color: var(--primary-color);
    font-size: 12px;
    border-radius: 4px;
}

.tag-price-modern {
    padding: 4px 10px;
    background: var(--primary-color);
    color: white;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
}

.detail-info-modern {
    background: #f8f8f8;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.info-item-modern {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #eeeeee;
}

.info-item-modern:last-child {
    border-bottom: none;
}

.info-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.info-content {
    flex: 1;
}

.info-label {
    font-size: 12px;
    color: var(--text-tertiary);
    margin-bottom: 2px;
}

.info-value {
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.5;
}

.detail-desc-modern {
    margin-bottom: 20px;
}

.desc-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.desc-content {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* 作者卡片 */
.author-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #f8f8f8;
    border-radius: 12px;
    margin-bottom: 20px;
}

.author-avatar-large {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.author-info {
    flex: 1;
}

.author-name-large {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.author-bio {
    font-size: 12px;
    color: var(--text-tertiary);
}

.follow-btn {
    padding: 8px 16px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.follow-btn:hover {
    background: #e0203c;
}

/* 底部操作栏 */
.detail-footer-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--card-bg);
    padding: 10px 16px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 100;
}

.footer-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    cursor: pointer;
}

.footer-action svg {
    width: 24px;
    height: 24px;
    color: var(--text-tertiary);
}

.footer-action span {
    font-size: 11px;
    color: var(--text-tertiary);
}

.footer-action.liked svg {
    fill: var(--primary-color);
    stroke: var(--primary-color);
}

.footer-action.liked span {
    color: var(--primary-color);
}

.action-share {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f5f5f5;
}

.action-primary {
    flex: 1;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

/* 原有样式保留 - 用于后台管理页面 */

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

.header {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    padding: 20px 15px;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(255, 107, 53, 0.3);
}

.header h1 {
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 5px;
}

.header p {
    font-size: 13px;
    text-align: center;
    opacity: 0.9;
}

/* 后台管理样式保持不变 */
.admin-body {
    background: #f5f5f5;
}

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.login-box {
    width: 100%;
    max-width: 400px;
    background: #fff;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.login-title {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    color: #333;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    font-size: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #667eea;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-primary {
    background: #667eea;
    color: #fff;
    width: 100%;
}

.btn-primary:hover {
    background: #5a6fd6;
}

.btn-secondary {
    background: #f0f0f0;
    color: #666;
}

.btn-danger {
    background: #ff4d4f;
    color: #fff;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 13px;
}

.admin-layout {
    min-height: 100vh;
    background: #f5f5f5;
}

.admin-header {
    background: #fff;
    padding: 15px 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.admin-header h2 {
    font-size: 18px;
    color: #333;
}

.admin-header .user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.admin-header .user-info a {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
}

.admin-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.admin-toolbar {
    background: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.search-box {
    display: flex;
    gap: 10px;
    flex: 1;
}

.search-box input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
}

.search-box button {
    padding: 10px 20px;
    background: #667eea;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.admin-table {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.admin-table table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.admin-table th {
    background: #f8f8f8;
    font-weight: 600;
    color: #666;
}

.admin-table .actions {
    display: flex;
    gap: 10px;
}

.admin-table .actions a,
.admin-table .actions button {
    padding: 5px 10px;
    font-size: 13px;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
}

.admin-table .actions .edit {
    background: #e6f7ff;
    color: #1890ff;
    border: 1px solid #91d5ff;
}

.admin-table .actions .delete {
    background: #fff1f0;
    color: #ff4d4f;
    border: 1px solid #ffccc7;
}

.pagination {
    display: flex;
    justify-content: center;
    padding: 20px;
    gap: 8px;
}

.pagination a,
.pagination span {
    padding: 8px 14px;
    font-size: 14px;
    border-radius: 4px;
    text-decoration: none;
}

.pagination a {
    background: #fff;
    color: #666;
    border: 1px solid #e0e0e0;
}

.pagination a:hover {
    background: #f0f0f0;
}

.pagination .active {
    background: #667eea;
    color: #fff;
    border-color: #667eea;
}

.alert {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 1000;
    animation: slideDown 0.3s ease;
}

.alert-success {
    background: #52c41a;
    color: #fff;
}

.alert-error {
    background: #ff4d4f;
    color: #fff;
}

.image-preview {
    margin-top: 10px;
}

.image-preview img {
    max-width: 200px;
    max-height: 150px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.category-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-name {
    font-size: 16px;
    font-weight: 500;
}

.category-count {
    color: #888;
    font-size: 14px;
}

/* 响应式 */
@media (max-width: 768px) {
    .waterfall {
        column-count: 2;
        column-gap: 8px;
    }

    .nav-tabs {
        gap: 20px;
    }

    .nav-tabs .tab {
        font-size: 14px;
    }

    .nav-tabs .tab.active {
        font-size: 16px;
    }

    .card-content {
        padding: 10px;
    }

    .card-title {
        font-size: 13px;
    }

    .admin-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box {
        flex-direction: column;
    }

    .admin-table {
        overflow-x: auto;
    }

    .admin-table table {
        min-width: 600px;
    }
}

@media (max-width: 380px) {
    .waterfall {
        column-count: 2;
        column-gap: 6px;
    }

    .waterfall-container {
        padding: 8px 4px;
    }
}

/* ========== 后台管理现代化样式 ========== */

.admin-modern-body {
    background: #f0f2f5;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.admin-app {
    display: flex;
    min-height: 100vh;
}

/* 侧边栏 */
.admin-sidebar {
    width: 240px;
    background: #fff;
    box-shadow: 2px 0 8px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    transition: width 0.3s;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 100;
}

.admin-sidebar.collapsed {
    width: 64px;
}

.sidebar-header {
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f0f0f0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.logo-text {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.collapse-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: #f5f5f5;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.collapse-btn:hover {
    background: #e8e8e8;
}

.collapse-btn svg {
    width: 18px;
    height: 18px;
    color: #666;
}

/* 导航 */
.sidebar-nav {
    flex: 1;
    padding: 16px 12px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    margin-bottom: 4px;
    border-radius: 8px;
    text-decoration: none;
    color: #666;
    transition: all 0.2s;
}

.nav-item:hover {
    background: #f5f5f5;
    color: #333;
}

.nav-item.active {
    background: #fff5f5;
    color: var(--primary-color);
}

.nav-icon {
    font-size: 20px;
    width: 24px;
    text-align: center;
}

.nav-text {
    font-size: 14px;
    font-weight: 500;
}

/* 用户卡片 */
.sidebar-footer {
    padding: 16px;
    border-top: 1px solid #f0f0f0;
}

.user-card {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.user-name {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.logout-link {
    font-size: 12px;
    color: #999;
    text-decoration: none;
}

.logout-link:hover {
    color: var(--primary-color);
}

/* 主内容区 */
.admin-main {
    flex: 1;
    margin-left: 240px;
    transition: margin-left 0.3s;
}

.admin-sidebar.collapsed + .admin-main {
    margin-left: 64px;
}

/* 顶部栏 */
.admin-topbar {
    background: #fff;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 50;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.breadcrumb-item {
    color: #666;
}

.breadcrumb-item.active {
    color: #333;
    font-weight: 500;
}

.breadcrumb-separator {
    color: #999;
}

.topbar-actions {
    display: flex;
    gap: 12px;
}

.btn-add {
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-icon {
    font-size: 18px;
    font-weight: 300;
}

/* 内容区 */
.admin-content {
    padding: 24px;
}

/* 统计卡片 */
.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #333;
}

.stat-label {
    font-size: 13px;
    color: #999;
}

/* 筛选栏 */
.filter-bar {
    background: #fff;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.filter-select {
    padding: 10px 16px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
    min-width: 140px;
}

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

.search-input {
    padding: 10px 16px;
    padding-right: 44px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    font-size: 14px;
    width: 280px;
}

.search-btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

.search-btn:hover {
    background: #f5f5f5;
}

.search-btn svg {
    width: 18px;
    height: 18px;
    color: #999;
}

/* 数据卡片 */
.data-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    overflow: hidden;
}

.table-responsive {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    background: #fafafa;
    padding: 14px 16px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: #666;
    border-bottom: 1px solid #f0f0f0;
}

.data-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.table-row:hover {
    background: #fafafa;
}

.col-checkbox {
    width: 48px;
}

.col-image {
    width: 80px;
}

.food-thumb {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 8px;
}

.food-thumb-placeholder {
    width: 56px;
    height: 56px;
    background: #f5f5f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.food-name {
    font-weight: 500;
    color: #333;
}

.category-badge {
    padding: 4px 10px;
    background: #f0f0f0;
    border-radius: 4px;
    font-size: 12px;
    color: #666;
}

.price-tag {
    font-weight: 600;
    color: var(--primary-color);
}

.address-text {
    color: #666;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.action-btns {
    display: flex;
    gap: 8px;
}

.action-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.action-btn svg {
    width: 16px;
    height: 16px;
}

.action-btn.edit {
    background: #e6f7ff;
    color: #1890ff;
}

.action-btn.edit:hover {
    background: #bae7ff;
}

.action-btn.delete {
    background: #fff1f0;
    color: #ff4d4f;
}

.action-btn.delete:hover {
    background: #ffccc7;
}

.empty-table {
    padding: 60px 20px;
    text-align: center;
}

.empty-table .empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.empty-table p {
    color: #999;
    margin-bottom: 20px;
}

.pagination-wrapper {
    padding: 16px;
    border-top: 1px solid #f0f0f0;
}

/* 表单卡片 */
.form-card {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.form-header {
    margin-bottom: 32px;
}

.form-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.form-subtitle {
    font-size: 14px;
    color: #999;
}

.modern-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field-label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    display: flex;
    align-items: center;
    gap: 4px;
}

.required {
    color: var(--primary-color);
}

.field-input,
.field-textarea {
    padding: 12px 16px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s;
    background: #fff;
}

.field-input:focus,
.field-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 36, 66, 0.1);
}

.field-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-field.error .field-input {
    border-color: #ff4d4f;
}

.error-msg {
    font-size: 12px;
    color: #ff4d4f;
}

.input-group {
    position: relative;
}

.input-prefix {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 14px;
}

.field-input.has-prefix {
    padding-left: 32px;
}

/* 上传区域 */
.upload-area {
    border: 2px dashed #e8e8e8;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.upload-area:hover {
    border-color: var(--primary-color);
    background: #fff5f5;
}

.upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.upload-icon {
    font-size: 48px;
}

.upload-placeholder p {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

.upload-placeholder span {
    font-size: 12px;
    color: #999;
}

.upload-preview {
    position: relative;
    display: inline-block;
}

.upload-preview img {
    max-width: 100%;
    max-height: 300px;
    border-radius: 8px;
}

.remove-image {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 28px;
    height: 28px;
    background: #ff4d4f;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 表单操作 */
.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 16px;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
}

.form-actions .btn {
    min-width: 120px;
}

.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 后台响应式 */
@media (max-width: 768px) {
    .admin-sidebar {
        width: 100%;
        position: fixed;
        bottom: 0;
        top: auto;
        height: 60px;
        flex-direction: row;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    }

    .admin-sidebar.collapsed {
        width: 100%;
    }

    .sidebar-header,
    .sidebar-footer {
        display: none;
    }

    .sidebar-nav {
        flex-direction: row;
        justify-content: space-around;
        width: 100%;
        padding: 8px 0;
    }

    .nav-item {
        flex-direction: column;
        padding: 4px 8px;
        margin: 0;
    }

    .nav-text {
        font-size: 11px;
    }

    .admin-main {
        margin-left: 0;
        margin-bottom: 60px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .stats-cards {
        grid-template-columns: 1fr;
    }

    .filter-bar {
        flex-direction: column;
        gap: 12px;
    }

    .search-input {
        width: 200px;
    }
}

/* ========== Element Plus 适配 ========== */

/* 搜索框适配 */
.search-input-el .el-input__wrapper {
    border-radius: 20px;
}

/* 登录表单 */
.login-form-el .el-input__wrapper {
    border-radius: 8px;
    padding: 4px 12px;
}

.btn-login-el {
    width: 100%;
    height: 44px;
    font-size: 16px;
    border-radius: 8px;
}

/* 后台表单 */
.form-card-el {
    max-width: 800px;
    margin: 0 auto;
}

.form-header-el {
    margin-bottom: 8px;
}

.el-form-large .el-form-item__label {
    font-weight: 500;
    color: #333;
}

.form-actions-el {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
    text-align: right;
}

.form-actions-el .el-button {
    min-width: 100px;
}

/* 分类网格 */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.category-card-el .el-card__body {
    padding: 16px;
}

.category-card-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.category-details h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.category-id {
    font-size: 12px;
    color: #999;
}

.category-actions {
    display: flex;
    gap: 8px;
}

/* 筛选卡片 */
.filter-card {
    margin-bottom: 20px;
}

.filter-card .el-card__body {
    padding: 16px 20px;
}

.search-input-admin {
    width: 280px;
}

/* 详情页 Element 适配 */
.info-card {
    margin-bottom: 20px;
}

.info-card .el-card__body {
    padding: 12px 20px;
}

.author-card-el {
    margin-bottom: 20px;
}

/* 城市列表 */
.city-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 10px 0;
}

.city-item {
    width: 100%;
}

/* 分享选项 */
.share-options {
    display: flex;
    justify-content: space-around;
    padding: 20px 0;
}

.share-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.share-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
}

/* 图片加载占位 */
.image-placeholder {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    color: #999;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .search-input-admin {
        width: 100%;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .el-dialog {
        width: 90% !important;
    }

    .share-options {
        flex-wrap: wrap;
        gap: 20px;
    }
}

/* ========== PureAdmin 风格后台 ========== */

.admin-app {
    display: flex;
    min-height: 100vh;
    background: #f0f2f5;
}

/* 深色侧边栏 */
.admin-sidebar-pure {
    width: 220px;
    background: #1a1a2e;
    color: #fff;
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 1000;
    transition: width 0.3s;
}

.admin-sidebar-pure.collapsed {
    width: 64px;
}

.sidebar-logo-pure {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.logo-icon-pure {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.logo-text-pure {
    font-size: 18px;
    font-weight: 600;
    white-space: nowrap;
}

.sidebar-nav-pure {
    flex: 1;
    padding: 16px 12px;
}

.nav-item-pure {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    margin-bottom: 4px;
    border-radius: 8px;
    text-decoration: none;
    color: rgba(255,255,255,0.7);
    transition: all 0.3s;
    cursor: pointer;
}

.nav-item-pure:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.nav-item-pure.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.nav-text-pure {
    font-size: 14px;
    white-space: nowrap;
}

.sidebar-footer-pure {
    padding: 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.logout-btn-pure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border-radius: 8px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
}

.logout-btn-pure:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

/* 主内容区 */
.admin-main-pure {
    flex: 1;
    margin-left: 220px;
    transition: margin-left 0.3s;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.admin-sidebar-pure.collapsed + .admin-main-pure {
    margin-left: 64px;
}

/* 顶部栏 */
.admin-topbar-pure {
    height: 64px;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.collapse-toggle {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.3s;
    color: #666;
}

.collapse-toggle:hover {
    background: #f5f5f5;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-dropdown {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 4px 12px 4px 4px;
    border-radius: 8px;
    transition: background 0.3s;
}

.user-dropdown:hover {
    background: #f5f5f5;
}

.user-name-pure {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

/* 内容区 */
.admin-content-pure {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
}

/* 统计卡片 */
.stats-row-pure {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.stat-card-pure {
    border-radius: 12px;
}

.stat-card-pure :deep(.el-card__body) {
    padding: 20px;
}

.stat-content-pure {
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-info-pure {
    flex: 1;
}

.stat-value-pure {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
}

.stat-label-pure {
    font-size: 14px;
    color: #999;
    margin-top: 4px;
}

/* 图表区域 */
.chart-row-pure {
    margin-bottom: 24px;
}

.chart-card-pure {
    border-radius: 12px;
}

.chart-card-pure :deep(.el-card__header) {
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.card-header-pure {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #333;
}

.chart-placeholder-pure {
    padding: 20px;
    height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.mock-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 200px;
    gap: 16px;
}

.mock-bar {
    flex: 1;
    background: linear-gradient(to top, #667eea, #764ba2);
    border-radius: 4px 4px 0 0;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.mock-bar:hover {
    opacity: 1;
}

.mock-labels {
    display: flex;
    justify-content: space-around;
    margin-top: 12px;
    color: #999;
    font-size: 12px;
}

/* 饼图 */
.pie-placeholder-pure {
    padding: 20px;
    height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mock-pie {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: conic-gradient(
        #667eea 0deg 126deg,
        #f5576c 126deg 216deg,
        #4facfe 216deg 288deg,
        #43e97b 288deg 360deg
    );
    position: relative;
}

.mock-pie::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 50%;
}

.pie-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #666;
}

.legend-item .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

/* 表格卡片 */
.table-card-pure {
    border-radius: 12px;
}

.table-card-pure :deep(.el-card__header) {
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.table-header-pure {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.table-title-pure {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.table-actions-pure {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-input-pure {
    width: 220px;
}

.filter-select-pure {
    width: 140px;
}

/* 表格样式 */
.pure-table {
    border-radius: 8px;
}

.pure-table :deep(.el-table__header th) {
    background: #fafafa;
    font-weight: 600;
    color: #666;
}

.table-img-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    margin: 0 auto;
}

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

.table-img-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin: 0 auto;
}

.food-name-pure {
    font-weight: 500;
    color: #333;
}

.price-pure {
    color: #ff2442;
    font-weight: 600;
}

.pagination-pure {
    padding: 16px 0 0;
    display: flex;
    justify-content: flex-end;
}

/* 响应式 */
@media (max-width: 1200px) {
    .stats-row-pure {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========== 详情页视频优先布局样式 ========== */

/* 主容器 */
.detail-video-layout {
    min-height: 100vh;
    background: #fff;
    padding-bottom: 80px;
}

/* 视频/图片区域 */
.detail-media-container {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 400px;
    max-height: 600px;
    background: #000;
    overflow: hidden;
}

.video-player {
    width: 100%;
    height: 100%;
}

.video-player iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.media-image {
    width: 100%;
    height: 100%;
}

.media-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    color: #999;
}

/* 返回按钮 */
.detail-back-btn {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 10;
}

.back-btn-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
}

.back-btn-circle:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.05);
}

/* Tab容器 */
.detail-tabs-container {
    background: #fff;
    border-radius: 20px 20px 0 0;
    margin-top: -20px;
    position: relative;
    z-index: 5;
}

.detail-tabs {
    padding: 0 16px;
}

.detail-tabs .el-tabs__header {
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
}

.detail-tabs .el-tabs__nav-wrap::after {
    display: none;
}

.detail-tabs .el-tabs__item {
    font-size: 16px;
    font-weight: 500;
    padding: 16px 20px;
}

.detail-tabs .el-tabs__item.is-active {
    color: #ff2442;
}

.detail-tabs .el-tabs__active-bar {
    background-color: #ff2442;
    height: 3px;
}

/* Tab内容 */
.tab-content {
    padding: 20px 16px;
    min-height: 300px;
}

/* 店铺信息样式 */
.shop-header {
    margin-bottom: 20px;
}

.shop-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.shop-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.tag-price-large {
    font-size: 20px;
    font-weight: 600;
    color: #ff2442;
    margin-right: 4px;
}

/* 信息行 */
.info-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: #f8f8f8;
    border-radius: 12px;
    margin-bottom: 12px;
}

.info-icon-box {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-text {
    flex: 1;
    min-width: 0;
}

.info-label {
    font-size: 12px;
    color: #999;
    margin-bottom: 4px;
}

.info-value {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    word-break: break-all;
}

/* 店铺描述 */
.shop-description {
    margin-top: 24px;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
}

.description-text {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    white-space: pre-wrap;
}

/* 推荐标签 */
.recommend-section {
    margin-top: 24px;
}

.recommend-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rec-tag {
    font-size: 13px;
    padding: 6px 12px;
}

/* 作者卡片 */
.author-card-box {
    margin-top: 24px;
    padding: 16px;
    background: #f8f8f8;
    border-radius: 12px;
}

.author-card {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
}

.author-bio {
    font-size: 12px;
    color: #999;
}

/* 团购列表 */
.groupdeal-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.groupdeal-item {
    padding: 16px;
    background: #f8f8f8;
    border-radius: 12px;
}

.deal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.deal-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
    flex: 1;
}

.deal-description {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin: 8px 0;
}

.deal-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
}

.deal-prices {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.deal-price {
    font-size: 22px;
    font-weight: 600;
    color: #ff2442;
}

.original-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

/* 地图视图 */
.map-view {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    background: #f5f5f5;
    cursor: pointer;
}

.map-placeholder-large {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.map-placeholder-large:hover {
    background: #ebebeb;
}

.map-hint {
    margin: 16px 0 8px;
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

.map-address-text {
    font-size: 13px;
    color: #999;
    text-align: center;
    padding: 0 20px;
}

/* 底部操作栏 */
.detail-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: #fff;
    border-top: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 12px;
    z-index: 100;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
}

.action-item:hover {
    color: #ff2442;
}

.action-item.active {
    color: #ff2442;
}

.action-text {
    font-size: 12px;
}

.action-btn-primary {
    flex: 1;
    height: 44px;
    font-size: 16px;
    font-weight: 500;
}

/* 视频占位符 */
.video-placeholder-box {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    color: #666;
}

.video-placeholder-box p {
    margin: 12px 0;
    font-size: 14px;
}

.video-link-btn {
    padding: 10px 24px;
    background: #409EFF;
    color: #fff;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.video-link-btn:hover {
    background: #66b1ff;
}

/* 响应式 */
@media (max-width: 768px) {
    .detail-media-container {
        height: 50vh;
        min-height: 300px;
    }

    .shop-title {
        font-size: 20px;
    }

    .tag-price-large {
        font-size: 18px;
    }

    .deal-price {
        font-size: 20px;
    }

    .map-view {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .admin-sidebar-pure {
        transform: translateX(-100%);
    }

    .admin-sidebar-pure.open {
        transform: translateX(0);
    }

    .admin-main-pure {
        margin-left: 0;
    }

    .admin-sidebar-pure.collapsed + .admin-main-pure {
        margin-left: 0;
    }

    .stats-row-pure {
        grid-template-columns: 1fr;
    }

    .chart-row-pure .el-col {
        width: 100%;
        margin-bottom: 20px;
    }

    .table-header-pure {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .table-actions-pure {
        width: 100%;
        flex-wrap: wrap;
    }

    .search-input-pure,
    .filter-select-pure {
        width: 100%;
    }
}

/* ========== 后台管理现代化样式 - 响应式修复 ========== */

/*
 * 这是为 index.html 中使用的 -pure 类名添加的响应式布局。
 * 解决了在移动设备上侧边栏、主内容区和表格的显示问题。
 */

@media (max-width: 768px) {
    /* 默认隐藏侧边栏，并准备动画 */
    .admin-sidebar-pure {
        position: fixed;
        transform: translateX(-100%);
        z-index: 1001;
        transition: transform 0.3s ease;
        height: 100%;
        top: 0;
        box-shadow: 4px 0 10px rgba(0,0,0,0.1);
    }

    /* 当.collapsed为false时（通过汉堡按钮点击），滑出侧边栏 */
    .admin-sidebar-pure:not(.collapsed) {
        transform: translateX(0);
        width: 250px; /* 展开时给一个合适的宽度 */
    }

    /* 主内容区始终占满宽度，不再受侧边栏影响 */
    .admin-main-pure,
    .admin-sidebar-pure.collapsed + .admin-main-pure {
        margin-left: 0 !important;
    }

    /* 在小屏幕上，面包屑导航通常会占地方，可以选择隐藏 */
    .admin-topbar-pure .topbar-left .el-breadcrumb {
        display: none;
    }

    /* 如果需要，也可以隐藏用户名，只留头像 */
    .topbar-right .user-name-pure {
        display: none;
    }
    
    .admin-content-pure {
        padding: 12px;
    }

    /* 统计卡片从网格布局改为flex垂直布局 */
    .stats-row-pure {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    /* 图表区域的列垂直排列 */
    .chart-row-pure .el-col {
        width: 100% !important; /* 覆盖Element Plus的行内样式 */
        max-width: 100% !important;
        flex: 0 0 100% !important;
        margin-bottom: 20px;
    }
     .chart-row-pure .el-col:last-child{
        margin-bottom: 0;
     }

    /* 表格头部的过滤和操作按钮区域 */
    .table-header-pure {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .table-actions-pure {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 10px;
    }

    .search-input-pure,
    .filter-select-pure {
        width: 100%;
    }
}

/* ========== 新后台管理样式 ========== */

/* 后台主容器 */
.admin-body {
    margin: 0;
    padding: 0;
    background: #f5f7fa;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.admin-container {
    display: flex;
    min-height: 100vh;
}

/* 侧边栏 */
.admin-sidebar {
    width: 240px;
    background: #fff;
    border-right: 1px solid #e8e8e8;
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.admin-sidebar.collapsed {
    width: 64px;
}

.sidebar-header {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    border-bottom: 1px solid #e8e8e8;
}

.sidebar-header .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.mobile-close {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
}

.sidebar-nav {
    flex: 1;
    padding: 20px 0;
    overflow-y: auto;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.nav-item:hover {
    background: #f5f5f5;
    color: #ff2442;
}

.nav-item.active {
    background: #fff1f0;
    color: #ff2442;
    border-right: 3px solid #ff2442;
}

.admin-sidebar.collapsed .nav-item {
    justify-content: center;
    padding: 12px 0;
}

.admin-sidebar.collapsed .nav-item span {
    display: none;
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid #e8e8e8;
}

.logout-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #f5f5f5;
    border-radius: 8px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: #ff2442;
    color: #fff;
}

/* 主内容区 */
.admin-main {
    flex: 1;
    margin-left: 240px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.admin-sidebar.collapsed + .admin-main {
    margin-left: 64px;
}

/* 顶部栏 */
.admin-header {
    height: 64px;
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: #f5f5f5;
}

.page-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-name {
    font-size: 14px;
    color: #666;
}

/* 内容区 */
.admin-content {
    flex: 1;
    padding: 24px;
}

/* 统计卡片 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.stat-info {
    flex: 1;
}

.stat-value {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 13px;
    color: #999;
}

/* 操作栏 */
.action-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.search-box {
    flex: 1;
    min-width: 200px;
}

.filter-box {
    min-width: 150px;
}

.add-btn {
    white-space: nowrap;
}

.btn-text {
    margin-left: 4px;
}

/* 美食列表 */
.food-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.food-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.food-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.food-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #f5f5f5;
}

.food-image .image {
    width: 100%;
    height: 100%;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
}

.food-info {
    padding: 16px;
    flex: 1;
}

.food-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.food-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.food-price {
    font-size: 18px;
    font-weight: 600;
    color: #ff2442;
}

.food-address {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #999;
}

.food-address span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.food-actions {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid #f0f0f0;
    justify-content: flex-end;
}

/* 分页 */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

/* 移动端遮罩 */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-overlay.show {
    opacity: 1;
}

/* 响应式 */
@media (max-width: 768px) {
    .admin-sidebar {
        transform: translateX(-100%);
    }

    .admin-sidebar.mobile-open {
        transform: translateX(0);
    }

    .admin-main {
        margin-left: 0;
    }

    .mobile-close {
        display: block;
    }

    .mobile-overlay {
        display: block;
    }

    .page-title {
        font-size: 16px;
    }

    .admin-name {
        display: none;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .action-bar {
        flex-direction: column;
    }

    .search-box,
    .filter-box {
        width: 100%;
    }

    .food-list {
        grid-template-columns: 1fr;
    }

    .btn-text {
        display: none;
    }
}

@media (max-width: 480px) {
    .admin-content {
        padding: 16px;
    }

    .food-image {
        height: 160px;
    }
}

/* 表单容器样式 */
.form-container {
    max-width: 800px;
    margin: 0 auto;
}

.edit-form {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* 图片上传 */
.image-uploader {
    width: 100%;
}

.upload-placeholder {
    width: 100%;
    height: 240px;
    border: 2px dashed #ddd;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #999;
}

.upload-placeholder:hover {
    border-color: #ff2442;
    color: #ff2442;
}

.upload-placeholder p {
    margin-top: 12px;
    font-size: 14px;
}

.upload-preview {
    position: relative;
    width: 100%;
    height: 240px;
    border-radius: 12px;
    overflow: hidden;
}

.preview-image {
    width: 100%;
    height: 100%;
}

.preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.upload-preview:hover .preview-overlay {
    opacity: 1;
}

/* 表单行 */
.form-row {
    display: flex;
    gap: 20px;
}

.form-item-full {
    flex: 1;
}

.form-item-half {
    flex: 1;
}

/* 表单操作按钮 */
.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
}

/* 响应式 */
@media (max-width: 768px) {
    .edit-form {
        padding: 20px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-actions {
        flex-direction: column-reverse;
    }

    .form-actions .el-button {
        width: 100%;
    }
}

/* 分类列表样式 */
.category-list {
    display: grid;
    gap: 16px;
}

.category-item {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.category-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.category-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.category-info {
    flex: 1;
}

.category-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 4px 0;
}

.category-meta {
    font-size: 12px;
    color: #999;
    margin: 0;
}

.category-actions {
    display: flex;
    gap: 8px;
}

@media (max-width: 768px) {
    .category-item {
        padding: 16px;
    }
}

/* 爆料列表样式 */
.submission-list {
    display: grid;
    gap: 16px;
}

.submission-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.submission-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.submission-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.submission-id {
    font-size: 12px;
    color: #999;
}

.submission-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
}

.submission-info {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 12px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: #666;
}

.price-text {
    color: #ff2442;
    font-weight: 600;
}

.submission-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 12px 0;
}

.submission-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

@media (max-width: 768px) {
    .submission-card {
        padding: 16px;
    }
}

/* 团购列表样式 */
.deal-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.deal-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.deal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.deal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.deal-id {
    font-size: 12px;
    color: #999;
}

.deal-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.deal-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 12px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.deal-price-info {
    margin-bottom: 12px;
}

.price-group {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.deal-price {
    font-size: 22px;
    font-weight: 600;
    color: #ff2442;
}

.original-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.deal-food {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #666;
    padding: 8px 12px;
    background: #f5f5f5;
    border-radius: 8px;
    margin-bottom: 12px;
}

.deal-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

@media (max-width: 768px) {
    .deal-list {
        grid-template-columns: 1fr;
    }
}
