* { -webkit-tap-highlight-color: transparent; box-sizing: border-box; }
html, body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    overflow-x: hidden; overscroll-behavior-y: none; margin: 0; padding: 0; height: 100%; width: 100%;
    overflow-y: hidden;
}
body { background: #f2f2f7; }
.dark body { background: #0f0f0f; }

/* 固定顶部导航栏 */
.top-nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 0.5px solid rgba(0,0,0,0.1);
    box-sizing: border-box;
}
.dark .top-nav-bar {
    background: rgba(0,0,0,0.7);
    border-bottom: 0.5px solid rgba(255,255,255,0.1);
}
.top-nav-bar .nav-title {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}
.top-nav-bar .nav-title .site-brand {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.top-nav-bar .nav-title .site-brand .logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: linear-gradient(135deg, #ff6b9d, #c44569);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}
.top-nav-bar .nav-title .site-brand .site-name {
    font-weight: 700;
    font-size: 16px;
    color: #1f2937;
}
.dark .top-nav-bar .nav-title .site-brand .site-name {
    color: #f3f4f6;
}

/* 公告轮播栏 */
.announcement-wrapper {
    position: relative;
    margin-left: 8px;
    padding-left: 10px;
    border-left: 1px solid rgba(0,0,0,0.1);
    height: 20px;
    overflow: hidden;
    flex: 1;
    min-width: 0;
}
.dark .announcement-wrapper {
    border-left-color: rgba(255,255,255,0.15);
}
.announcement-track {
    position: relative;
    height: 100%;
}
.announcement-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
    color: #555;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}
.dark .announcement-item {
    color: #bbb;
}
.announcement-item.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.announcement-item.exit-up {
    opacity: 0;
    transform: translateY(-10px);
}

/* 其余原有样式保持不变 */
.glass-effect { backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.card-hover { transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.card-hover:active { transform: scale(0.98); }
.region-tag { transition: all 0.2s ease; border: 1px solid transparent; }
.region-tag.active { background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%); color: white; box-shadow: 0 4px 15px rgba(255,107,157,0.4); border-color: transparent; }
.tab-item { position: relative; transition: all 0.3s ease; padding: 8px 20px; min-width: 80px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #333; }
.tab-item i { font-size: 18px; line-height: 1; }
.tab-item span { font-size: 11px; font-weight: 500; line-height: 1; }
.tab-item.active { color: #ff6b9d; transform: translateY(-1px); }
.dark .tab-item { color: #fff; } .dark .tab-item.active { color: #ff6b9d; }
.modal-enter { animation: modalIn 0.3s ease-out; }
@keyframes modalIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
.slide-up { animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.photo-swiper { scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scroll-behavior: smooth; }
.photo-swiper > div { scroll-snap-align: center; }
.theme-transition { transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease; }
.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
.gradient-text { background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.btn-primary { background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%); transition: all 0.3s ease; }
.btn-primary:active { transform: scale(0.95); opacity: 0.9; }
.bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; padding-bottom: env(safe-area-inset-bottom, 10px); padding-top: 10px; height: auto; border-top-left-radius: 20px; border-top-right-radius: 20px; background: rgba(255,255,255,0.8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 0.5px solid rgba(0,0,0,0.1); z-index: 30; }
.dark .bottom-nav { background: rgba(0,0,0,0.7); border-top: 0.5px solid rgba(255,255,255,0.1); }
.detail-container { height: 100vh; min-height: 100vh; max-height: 100vh; overflow: hidden; position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 50; background: black; opacity: 0; transform: scale(0.95); pointer-events: none; transition: opacity 0.3s ease, transform 0.3s ease; }
.detail-container:not(.hidden) { opacity: 1; transform: scale(1); pointer-events: auto; }
.photo-area { height: 100vh; width: 100%; position: relative; transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); cursor: pointer; }
.photo-area.collapsed { transform: translateY(-35vh); }
.info-card { position: absolute; bottom: 0; left: 0; right: 0; background: white; border-radius: 24px 24px 0 0; transform: translateY(calc(100% - 160px)); transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); max-height: 75vh; overflow-y: auto; z-index: 20; box-shadow: 0 -10px 40px rgba(0,0,0,0.2); padding-bottom: calc(20% + env(safe-area-inset-bottom, 20px)); }
.dark .info-card { background: #1c1c1e; }
.info-card.expanded { transform: translateY(0); }
.info-card-content { padding: 0 24px; padding-top: 12px; }
.drag-handle { width: 40px; height: 4px; background: #d1d5db; border-radius: 2px; margin: 12px auto; cursor: pointer; transition: all 0.3s; }
.dark .drag-handle { background: #4b5563; }
.drag-handle:active { transform: scaleX(1.2); background: #ff6b9d; }
.like-btn.liked { color: #ef4444; animation: likeBounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes likeBounce { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.3); } }
.carousel-indicators { position: absolute; left: 0; right: 0; bottom: 11rem; z-index: 30; display: flex; justify-content: center; align-items: center; transition: opacity 0.3s ease; }
.carousel-line-dots { position: relative; display: flex; align-items: center; gap: 12px; }
.carousel-line-dots::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: rgba(255,255,255,0.4); transform: translateY(-50%); }
.carousel-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.5); border: 1px solid rgba(255,255,255,0.8); transition: all 0.3s ease; position: relative; z-index: 1; }
.carousel-dot.active { background: white; border-color: white; transform: scale(1.4); }
.verified-badge { display: inline-flex; align-items: center; gap: 4px; background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); color: white; font-size: 11px; padding: 3px 8px; border-radius: 12px; font-weight: 600; margin-left: 8px; box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3); white-space: nowrap; position: relative; overflow: hidden; }
.verified-badge::after { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent); animation: scanLight 2s infinite; }
@keyframes scanLight { 0% { left: -100%; } 100% { left: 100%; } }
.number-badge { display: inline-flex; align-items: center; gap: 4px; background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); color: #f59e0b; font-size: 11px; padding: 3px 8px; border-radius: 12px; font-weight: 600; margin-left: 8px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); white-space: nowrap; }
.dark .number-badge { background: linear-gradient(135deg, #334155 0%, #475569 100%); color: #fbbf24; }
.video-btn { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.9); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; color: #ff6b9d; cursor: pointer; transition: all 0.3s ease; border: 2px solid rgba(255,255,255,0.5); box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
.dark .video-btn { background: rgba(30,30,30,0.9); color: #ff6b9d; border-color: rgba(255,255,255,0.1); }
.video-btn:hover { transform: scale(1.05); } .video-btn:active { transform: scale(0.95); }
.like-btn { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.9); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; color: #9ca3af; cursor: pointer; transition: all 0.3s ease; border: 2px solid rgba(255,255,255,0.5); box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
.dark .like-btn { background: rgba(30,30,30,0.9); border-color: rgba(255,255,255,0.1); }
.like-btn:hover { transform: scale(1.05); }
.action-buttons { display: flex; gap: 12px; align-items: center; }
.video-modal-container { position: relative; background: #0a0a0a; border-radius: 16px; max-width: 360px; width: 90%; overflow: hidden; animation: modalIn 0.3s ease-out; display: flex; flex-direction: column; max-height: 80vh; }
.video-modal-header { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: white; border-bottom: 1px solid rgba(0,0,0,0.1); }
.dark .video-modal-header { background: #1c1c1e; border-bottom-color: rgba(255,255,255,0.1); }
.video-icon-wrapper { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%); display: flex; align-items: center; justify-content: center; color: white; font-size: 16px; flex-shrink: 0; }
.video-title-wrapper { flex: 1; text-align: left; }
.video-title-wrapper h3 { font-size: 15px; font-weight: 700; margin: 0 0 2px 0; line-height: 1.3; }
.video-title-wrapper p { font-size: 11px; color: #6b7280; margin: 0; }
.dark .video-title-wrapper p { color: #9ca3af; }
.video-content-area { width: 100%; aspect-ratio: 9/16; background: #0a0a0a; position: relative; overflow: hidden; }
.video-player { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; background: #0a0a0a; }
.back-to-top { position: fixed; bottom: 100px; right: 20px; z-index: 40; transition: opacity 0.3s ease; }
.img-blur-wrapper { position: relative; overflow: hidden; }
.img-blur-wrapper img { filter: blur(20px); transition: filter 0.5s ease; }
.img-blur-wrapper img.loaded { filter: blur(0); }
.loader { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border: 4px solid rgba(255,255,255,0.3); border-top-color: #ff6b9d; border-radius: 50%; animation: spin 0.75s linear infinite; pointer-events: none; z-index: 2; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.dark .loader { border-color: rgba(255,255,255,0.1); border-top-color: #ff6b9d; }
.img-blur-wrapper .loaded ~ .loader, .img-blur-wrapper.loaded .loader { display: none; }