/* 移动端APP风格样式 */

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

.app-body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    color: #fff;
    padding-bottom: 70px;
}

/* 顶部状态栏 */
.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.logo-small {
    font-weight: bold;
    font-size: 16px;
    color: #4fc3f7;
}

.lang-indicator {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 12px;
    cursor: pointer;
}

.theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 8px;
    border-radius: 15px;
    font-size: 14px;
    cursor: pointer;
    margin-left: 8px;
}

/* ==================== 日间模式样式 ==================== */
.app-body.light-mode {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 50%, #d1d8e0 100%);
    color: #333;
}

.light-mode .status-bar {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.light-mode .logo-small {
    color: #2563eb;
}

.light-mode .lang-indicator,
.light-mode .theme-toggle {
    background: rgba(0, 0, 0, 0.1);
    color: #333;
}

.light-mode .search-box {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0,0,0,0.1);
}

.light-mode .search-box input {
    color: #333;
}

.light-mode .search-box input::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.light-mode .category-item {
    background: rgba(255, 255, 255, 0.8);
    color: #333;
}

.light-mode .info-card {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
}

.light-mode .info-card-title {
    color: #333;
}

.light-mode .info-card-desc {
    color: #666;
}

.light-mode .section-header h3 {
    color: #333;
}

.light-mode .location-bar {
    background: rgba(255, 255, 255, 0.9);
}

.light-mode .location-hint {
    color: #666;
}

.light-mode .bottom-nav {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.light-mode .nav-text {
    color: #666;
}

.light-mode .nav-item.active .nav-text {
    color: #2563eb;
}

.light-mode .nav-icon {
    color: #666;
}

.light-mode .nav-item.active .nav-icon {
    color: #2563eb;
}

/* 日间模式 - 模态框 */
.light-mode .modal-content {
    background: #fff;
    color: #333;
}

.light-mode .modal-header {
    border-bottom-color: rgba(0,0,0,0.1);
}

.light-mode .modal-header h3 {
    color: #333;
}

.light-mode .close-btn {
    color: #666;
}

.light-mode .lang-item {
    color: #333;
}

.light-mode .lang-item.active {
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
}

/* 日间模式 - 地区选择 */
.light-mode .location-selector {
    color: #333;
}

.light-mode .dropdown-arrow {
    color: #666;
}

.light-mode .country-item,
.light-mode .city-item {
    color: #333;
    border-bottom-color: rgba(0,0,0,0.05);
}

.light-mode .country-item.active,
.light-mode .city-item.active {
    background: rgba(37, 99, 235, 0.1);
}

.light-mode .country-name-en,
.light-mode .city-name-en {
    color: #666;
}

/* 日间模式 - 分类区 */
.light-mode .category-section a {
    color: #2563eb;
}

.light-mode .section-header {
    color: #333;
}

.light-mode .feature-item {
    background: rgba(255, 255, 255, 0.8);
}

.light-mode .feature-item h4,
.light-mode .feature-item p {
    color: #333;
}

/* 日间模式 - 信息列表 */
.light-mode .info-card-category {
    color: #2563eb;
}

.light-mode .info-card-loc {
    color: #666;
}

.light-mode .info-card-price {
    color: #e74c3c;
}

/* 日间模式 - 3列卡片 */
.light-mode .info-card-grid {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.light-mode .info-card-grid .info-card-title {
    color: #333;
}

.light-mode .info-card-grid .info-card-loc {
    color: #666;
}

/* 日间模式 - 搜索 */
.light-mode .search-icon {
    color: #666;
}

/* ==================== 轮廓式Banner广告 ==================== */
.banner-ad {
    margin: 15px 0;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(255, 107, 107, 0.5);
    position: relative;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.banner-ad:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

.banner-ad img {
    width: 100%;
    height: auto;
    display: block;
}

.banner-ad-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255, 107, 107, 0.9);
    color: white;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 10px;
}

/* 日间模式广告样式 */
.light-mode .banner-ad {
    border-color: rgba(37, 99, 235, 0.5);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.light-mode .banner-ad:hover {
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.2);
}

.light-mode .banner-ad-badge {
    background: rgba(37, 99, 235, 0.9);
}

/* 主内容区 */
.main-content {
    padding-top: 90px;
}

.page {
    display: none;
    padding: 0 12px;
}

.page.active {
    display: block;
}

/* 搜索栏 */
.search-section {
    padding: 15px 0;
}

.search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 12px 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.search-icon {
    font-size: 16px;
    margin-right: 10px;
    opacity: 0.6;
}

.search-box input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 14px;
    outline: none;
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* 分类区 */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.section-header h3 {
    font-size: 16px;
    font-weight: 600;
}

.section-header a {
    color: #4fc3f7;
    font-size: 12px;
    text-decoration: none;
}

.category-section {
    margin-bottom: 20px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-item:active {
    transform: scale(0.95);
    background: rgba(255, 255, 255, 0.1);
}

.category-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 8px;
}

.category-icon.craftsman { background: linear-gradient(135deg, #ff6b6b, #feca57); }
.category-icon.marriage { background: linear-gradient(135deg, #ff9ff3, #f368e0); }
.category-icon.realestate { background: linear-gradient(135deg, #54a0ff, #5f27cd); }
.category-icon.automotive { background: linear-gradient(135deg, #48dbfb, #0abde3); }
.category-icon.goods { background: linear-gradient(135deg, #1dd1a1, #10ac84); }
.category-icon.services { background: linear-gradient(135deg, #ff9f43, #ee5a24); }
.category-icon.freight { background: linear-gradient(135deg, #5f27cd, #341f97); }
.category-icon.feature { background: linear-gradient(135deg, #576574, #222f3e); }

.category-item span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
}

/* 特色功能滑动区 */
.feature-section {
    margin-bottom: 20px;
}

.feature-slider {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.feature-slider::-webkit-scrollbar {
    display: none;
}

.feature-item {
    min-width: 140px;
    height: 100px;
    border-radius: 16px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.feature-item.gratitude { background: linear-gradient(135deg, #667eea, #764ba2); }
.feature-item.huoleme { background: linear-gradient(135deg, #f093fb, #f5576c); }
.feature-item.debt { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.feature-item.lookalike { background: linear-gradient(135deg, #43e97b, #38f9d7); }

.feature-bg {
    position: absolute;
    right: -10px;
    bottom: -10px;
    font-size: 70px;
    opacity: 0.15;
}

.feature-info h4 {
    font-size: 14px;
    margin-bottom: 4px;
}

.feature-info p {
    font-size: 10px;
    opacity: 0.8;
}

/* 推荐信息 */
.recommend-section {
    margin-bottom: 20px;
}

.filter-tabs {
    display: flex;
    gap: 8px;
}

.filter-tabs .tab {
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    font-size: 11px;
    cursor: pointer;
}

.filter-tabs .tab.active {
    background: #4fc3f7;
    color: #000;
}

/* 信息卡片 - 3列网格布局 */
.info-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

/* 新的3列卡片样式 */
.info-card-grid {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.info-card-grid:active {
    transform: scale(0.95);
}

.info-card-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.info-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info-card-type-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
}

.info-card-type-badge.supply {
    background: rgba(29, 209, 161, 0.9);
    color: #000;
}

.info-card-type-badge.demand {
    background: rgba(255, 159, 67, 0.9);
    color: #000;
}

.info-card-info {
    padding: 8px;
}

.info-card-grid .info-card-title {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.info-card-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-card-grid .info-card-price {
    color: #ff6b6b;
    font-weight: bold;
    font-size: 13px;
}

.info-card-grid .info-card-loc {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.info-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.info-card-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
}

.info-card-content {
    padding: 12px;
}

.info-card-category {
    display: inline-block;
    padding: 2px 8px;
    background: rgba(79, 195, 247, 0.2);
    color: #4fc3f7;
    border-radius: 10px;
    font-size: 10px;
    margin-bottom: 6px;
}

.info-card-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.info-card-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.info-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}

.info-card-loc {
    display: flex;
    align-items: center;
    gap: 4px;
}

.info-card-price {
    color: #ff6b6b;
    font-weight: bold;
    font-size: 14px;
}

/* 底部导航 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    display: flex;
    justify-content: space-around;
    padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 100;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.5);
    padding: 4px 12px;
    transition: all 0.3s ease;
}

.nav-item.active {
    color: #4fc3f7;
}

.nav-icon {
    font-size: 22px;
    margin-bottom: 2px;
}

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

.nav-publish {
    position: relative;
    top: -15px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.5);
    border: 3px solid #1a1a2e;
}

.nav-publish .nav-icon {
    font-size: 24px;
    margin-bottom: 0;
}

.nav-publish .nav-text {
    position: absolute;
    bottom: -18px;
    color: rgba(255, 255, 255, 0.7);
}

/* AI对话页面 */
.chat-container {
    height: calc(100vh - 130px);
    display: flex;
    flex-direction: column;
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    margin-bottom: 15px;
}

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

.ai-info h3 {
    font-size: 16px;
    margin-bottom: 2px;
}

.ai-info p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 10px 0;
}

.message {
    margin-bottom: 15px;
    max-width: 85%;
}

.ai-message {
    align-self: flex-start;
}

.user-message {
    margin-left: auto;
}

.message-content {
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 15px;
    border-radius: 18px;
    font-size: 13px;
    line-height: 1.6;
}

.ai-message .message-content {
    border-bottom-left-radius: 4px;
}

.user-message .message-content {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-bottom-right-radius: 4px;
}

.message-content ul {
    margin: 8px 0 0 0;
    padding-left: 20px;
}

.message-content li {
    margin-bottom: 4px;
}

.chat-input-area {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 15px;
    margin-top: 10px;
}

.chat-input-box {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.chat-input-box input {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 20px;
    padding: 12px 18px;
    color: #fff;
    font-size: 14px;
    outline: none;
}

.send-btn {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
}

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

.quick-tag {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    font-size: 11px;
    cursor: pointer;
}

/* 发布页面 */
.publish-quick {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
}

.publish-quick h3 {
    margin-bottom: 15px;
    font-size: 16px;
}

.quick-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.quick-cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    cursor: pointer;
}

.quick-cat-item span:first-child {
    font-size: 28px;
    margin-bottom: 6px;
}

.quick-cat-item span:last-child {
    font-size: 11px;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
}

.my-posts-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 20px;
}

.my-posts-section h3 {
    margin-bottom: 15px;
    font-size: 16px;
}

.post-stats {
    display: flex;
    justify-content: space-around;
    padding: 15px 0;
}

.stat-box {
    text-align: center;
}

.stat-box .number {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #4fc3f7;
    margin-bottom: 4px;
}

.stat-box .label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
}

/* 个人页面 */
.profile-header {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 25px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    position: relative;
}

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

.user-info h3 {
    font-size: 20px;
    margin-bottom: 6px;
}

.user-level {
    padding: 4px 12px;
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    color: #000;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
}

.settings-btn {
    position: absolute;
    right: 20px;
    top: 25px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
}

.profile-stats {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.stat-item {
    text-align: center;
}

.stat-num {
    display: block;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.profile-menu {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    text-decoration: none;
    color: #fff;
}

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

.menu-item .icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 18px;
}

.menu-item .text {
    flex: 1;
    font-size: 14px;
}

.menu-item .badge {
    background: #ff4757;
    color: #fff;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
    margin-right: 8px;
}

.menu-item .arrow {
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
}

/* 语言选择模态框 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: flex-end;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #1a1a2e;
    border-radius: 25px 25px 0 0;
    width: 100%;
    max-height: 70vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h3 {
    font-size: 18px;
}

.close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

.lang-list {
    padding: 10px;
}

.lang-item {
    padding: 15px 20px;
    font-size: 15px;
    border-radius: 12px;
    cursor: pointer;
    margin-bottom: 5px;
}

.lang-item.active {
    background: rgba(79, 195, 247, 0.2);
    color: #4fc3f7;
}

/* 地区选择栏 */
.location-bar {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 44px;
    left: 0;
    right: 0;
    z-index: 99;
    backdrop-filter: blur(10px);
}

.location-selectors {
    display: flex;
    align-items: center;
    gap: 10px;
}

.location-selector {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.location-selector:hover {
    background: rgba(79, 195, 247, 0.2);
}

.location-divider {
    color: rgba(255, 255, 255, 0.3);
    font-size: 12px;
}

.dropdown-arrow {
    font-size: 10px;
    opacity: 0.6;
}

.location-hint {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}

/* 国家和城市选择模态框 */
.location-modal .modal-content {
    max-height: 80vh;
}

.country-list, .city-list {
    padding: 10px;
}

.country-item, .city-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    border-radius: 12px;
    cursor: pointer;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.country-item:hover, .city-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.country-item.active, .city-item.active {
    background: rgba(79, 195, 247, 0.2);
}

.country-flag, .city-icon {
    font-size: 24px;
}

.country-name, .city-name {
    flex: 1;
    font-size: 15px;
}

.country-name-en, .city-name-en {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.check-icon {
    color: #4fc3f7;
    font-size: 18px;
}
/* 日间模式修复 */
.light-mode body,.light-mode .app-body{color:#333!important}
.light-mode h1,.light-mode h2,.light-mode h3,.light-mode h4,.light-mode h5,.light-mode h6{color:#222!important}
.light-mode p{color:#444!important}
.light-mode .detail-title,.light-mode .section-title,.light-mode .info-card-title{color:#222!important}
.light-mode .detail-meta,.light-mode .detail-meta span,.light-mode .publisher-name{color:#555!important}
.light-mode .description-content{color:#444!important}
.light-mode .hero-subtitle,.light-mode .feature-name{color:#555!important}
.light-mode .vent-name{color:#333!important}
.light-mode .vent-content{color:#444!important}
.light-mode .vent-time{color:#888!important}
.light-mode .result-label{color:#666!important}
.light-mode .action-btn.secondary{color:#333!important;background:rgba(0,0,0,0.05)!important}
.light-mode .category-item span:last-child{color:#333!important}
.light-mode input,.light-mode textarea,.light-mode .search-box input{color:#333!important;background:#fff!important}
.light-mode input::placeholder,.light-mode textarea::placeholder{color:#999!important}
.light-mode a{color:#2563eb}
.light-mode a:hover{color:#1d4ed8}
.light-mode .generate-btn,.light-mode .vent-btn,.light-mode .btn-primary{color:#fff!important}
.light-mode .location-selector,.light-mode #current-city{color:#333!important}
.light-mode .location-hint{color:#666!important}
.light-mode .logo-small{color:#2563eb!important}
.light-mode .lang-indicator{color:#333!important}
.light-mode .dropdown-arrow{color:#666!important}
.light-mode .filter-tabs .tab{color:#666!important}
.light-mode .filter-tabs .tab.active{color:#2563eb!important}
.light-mode .menu-item .text{color:#333!important}
.light-mode .quick-tag{color:#2563eb!important;background:rgba(37,99,235,0.1)!important}

/* 布局紧凑化 */
.ai-publish-card{margin-bottom:10px!important;padding:15px!important}
.feature-section{margin-bottom:10px!important}
.category-section{margin-bottom:10px!important}
.search-section{margin-bottom:10px!important;padding:10px 0!important}
.recommend-section{margin-top:5px!important}
.feature-slider{gap:10px!important;margin-bottom:10px!important}
.feature-item{min-width:140px!important;padding:15px!important}
.section-header{margin-bottom:10px!important}
.category-grid{gap:8px!important}
.location-bar{padding:8px 12px!important;margin-bottom:5px!important}

/* 模态框 */
.modal{display:none;position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,0.8);z-index:1000;align-items:flex-end;justify-content:center}
.modal.active{display:flex!important}
.modal-content{background:linear-gradient(180deg,#1a1a2e,#16213e);border-radius:24px 24px 0 0;width:100%;max-height:80vh;overflow-y:auto;animation:slideUp 0.3s ease}
@keyframes slideUp{from{transform:translateY(100%)}to{transform:translateY(0)}}
.modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px;border-bottom:1px solid rgba(255,255,255,0.1)}
.modal-header h3{font-size:18px;font-weight:600;color:#fff}
.close-btn{background:none;border:none;color:#fff;font-size:24px;cursor:pointer;padding:0;width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all 0.3s}
.close-btn:hover{background:rgba(255,255,255,0.1)}
.lang-list{padding:10px}
.lang-item{display:flex;align-items:center;gap:12px;padding:15px;border-radius:12px;cursor:pointer;transition:all 0.3s;margin-bottom:5px;color:#fff}
.lang-item:hover{background:rgba(255,255,255,0.05)}
.lang-item.active{background:rgba(79,195,247,0.2);color:#4fc3f7}
.country-list,.city-list{padding:10px;max-height:60vh;overflow-y:auto}
.country-item,.city-item{display:flex;align-items:center;gap:12px;padding:15px;border-bottom:1px solid rgba(255,255,255,0.05);cursor:pointer;transition:all 0.3s;color:#fff}
.country-item:hover,.city-item:hover{background:rgba(255,255,255,0.05)}
.country-item.active,.city-item.active{background:rgba(79,195,247,0.2)}
.country-flag{font-size:24px}
.country-name,.city-name{font-weight:500;margin-bottom:2px}
.country-name-en,.city-name-en{font-size:12px;color:rgba(255,255,255,0.5)}
.check-icon{color:#4fc3f7;font-weight:bold}
.light-mode .modal{background:rgba(0,0,0,0.6)}
.light-mode .modal-content{background:#fff}
.light-mode .modal-header h3{color:#333}
.light-mode .close-btn{color:#333}
.light-mode .lang-item{color:#333}
.light-mode .lang-item.active{background:rgba(37,99,235,0.1);color:#2563eb}
.light-mode .country-item,.light-mode .city-item{color:#333;border-bottom-color:rgba(0,0,0,0.05)}
.light-mode .country-name-en,.light-mode .city-name-en{color:#888}
