/* 蘑菇视频 MOGU VIDEO - 全站样式 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #444444;
    background: #FFFFFF;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #E90052; text-decoration: none; transition: color 0.2s; }
a:hover { color: #C90046; }
a:focus-visible { outline: 2px solid #FF1765; outline-offset: 2px; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 { color: #222222; font-weight: 700; line-height: 1.35; }
h1 { font-size: 1.85rem; }
h2 { font-size: 1.45rem; margin-bottom: 0.8rem; }
h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* 顶部导航 */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,23,101,0.12);
    height: 72px;
}
.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header-left { display: flex; align-items: center; gap: 8px; }
.brand-logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 36px; width: auto; }
.logo-text {
    font-size: 1.35rem;
    font-weight: 800;
    color: #FF1765;
    letter-spacing: 0.02em;
}
.desktop-nav {
    display: none;
    align-items: center;
    gap: 4px;
    margin-left: 16px;
}
.nav-link {
    padding: 8px 14px;
    font-size: 0.95rem;
    color: #444444;
    border-radius: 20px;
    font-weight: 500;
    white-space: nowrap;
}
.nav-link:hover { color: #FF1765; background: #FFF0F5; }
.nav-link.is-active {
    color: #FF1765;
    background: #FFF0F5;
    font-weight: 600;
}
.header-right { display: flex; align-items: center; gap: 8px; }
.search-toggle, .menu-toggle {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #222222;
    border-radius: 50%;
}
.search-toggle:hover, .menu-toggle:hover { background: #FFF0F5; color: #FF1765; }
.menu-icon {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    position: relative;
}
.menu-icon::before, .menu-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 20px;
    height: 2px;
    background: currentColor;
}
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }
.header-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 24px;
    white-space: nowrap;
}
.header-btn-ghost {
    color: #444444;
    border: 1px solid rgba(0,0,0,0.08);
}
.header-btn-ghost:hover { border-color: #FF1765; color: #FF1765; background: #FFF0F5; }
.header-btn-primary {
    color: #FFFFFF;
    background: linear-gradient(135deg, #FF4A86 0%, #FF1765 55%, #E90052 100%);
    box-shadow: 0 4px 14px rgba(255,23,101,0.25);
}
.header-btn-primary:hover { filter: brightness(1.05); color: #FFFFFF; }

@media (min-width: 900px) {
    .menu-toggle { display: none; }
    .desktop-nav { display: flex; }
    .header-btn-ghost { display: inline-flex; }
}
@media (max-width: 899px) {
    .desktop-nav { display: none; }
    .header-btn-ghost { display: none; }
}

/* 主内容区 */
.site-main {
    min-height: 60vh;
    padding-bottom: 80px;
}
@media (min-width: 900px) {
    .site-main { padding-bottom: 40px; }
}

/* 通用布局 */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}
@media (min-width: 768px) {
    .container { padding: 0 24px; }
}

/* 按钮 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 28px;
    transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
    color: #FFFFFF;
    background: linear-gradient(135deg, #FF4A86 0%, #FF1765 55%, #E90052 100%);
    box-shadow: 0 16px 42px rgba(255,23,101,0.14);
}
.btn-primary:hover { color: #FFFFFF; filter: brightness(1.05); }
.btn-secondary {
    color: #E90052;
    background: #FFF0F5;
    border: 1px solid rgba(255,23,101,0.2);
}
.btn-secondary:hover { background: #FFD8E6; color: #C90046; }
.btn-group { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.2rem 0; }

/* 卡片 */
.card {
    background: #FFFFFF;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 14px 40px rgba(30,20,25,0.08);
    overflow: hidden;
}
.card-soft {
    background: #FFF7FA;
    border: 1px solid rgba(255,23,101,0.12);
    border-radius: 16px;
    padding: 1.25rem;
}

/* 标签 */
.tag {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #E90052;
    background: #FFF0F5;
    border-radius: 12px;
}
.tag-muted {
    color: #777777;
    background: #F7F7F8;
}

/* 频道快捷条 */
.channel-bar {
    background: #FFFFFF;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding: 12px 0;
    overflow: hidden;
}
.channel-bar-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.channel-bar-inner::-webkit-scrollbar { display: none; }
.channel-bar a {
    flex-shrink: 0;
    padding: 8px 16px;
    font-size: 0.9rem;
    color: #444444;
    background: #FFFFFF;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 20px;
    white-space: nowrap;
}
.channel-bar a:hover, .channel-bar a.is-active {
    color: #FF1765;
    border-color: rgba(255,23,101,0.3);
    background: #FFF0F5;
}

/* 首页首屏 */
.hero {
    background: linear-gradient(180deg, #FFF7FA 0%, #FFFFFF 100%);
    padding: 24px 0 40px;
}
.hero-grid {
    display: grid;
    gap: 24px;
}
@media (min-width: 960px) {
    .hero-grid {
        grid-template-columns: 68% 32%;
        align-items: stretch;
    }
}
.hero-visual {
    border-radius: 20px;
    overflow: hidden;
    background: #FFF0F5;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FFD8E6 0%, #FFF0F5 50%, #FFD8E6 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #E90052;
    font-weight: 700;
    font-size: 1.5rem;
}
.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8px 0;
}
.hero-brand {
    font-size: 0.95rem;
    font-weight: 700;
    color: #FF1765;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}
.hero-title {
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: #202020;
}
@media (min-width: 960px) {
    .hero-title { font-size: 1.75rem; }
}
.hero-intro {
    color: #555555;
    font-size: 0.98rem;
    margin-bottom: 1rem;
}
.hero-recs {
    margin-top: 1rem;
}
.hero-rec-item {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    font-size: 0.95rem;
}
.hero-rec-item:last-child { border-bottom: none; }
.hero-rec-item strong { color: #222222; }

/* 分区通用 */
.section {
    padding: 48px 0;
}
.section-alt {
    background: #FFF7FA;
}
.section-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
}
.section-header h2 { margin-bottom: 0; }
.section-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: #FF1765;
}
.section-link:hover { text-decoration: underline; }

/* 灵感胶囊 */
.inspire-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
@media (min-width: 640px) {
    .inspire-grid { grid-template-columns: repeat(4, 1fr); }
}
.inspire-item {
    background: #FFFFFF;
    border: 1px solid rgba(255,23,101,0.12);
    border-radius: 16px;
    padding: 16px;
    transition: box-shadow 0.2s;
}
.inspire-item:hover {
    box-shadow: 0 14px 40px rgba(30,20,25,0.08);
}
.inspire-item h3 {
    font-size: 1rem;
    color: #FF1765;
    margin-bottom: 6px;
}
.inspire-item p {
    font-size: 0.85rem;
    color: #777777;
    margin: 0;
    line-height: 1.5;
}

/* 精选主推 */
.featured-main {
    display: grid;
    gap: 24px;
}
@media (min-width: 800px) {
    .featured-main { grid-template-columns: 1.2fr 1fr; }
}
.featured-lead {
    background: #FFFFFF;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.08);
    padding: 24px;
    box-shadow: 0 14px 40px rgba(30,20,25,0.08);
}
.featured-lead .tag { margin-bottom: 12px; }
.featured-side {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.featured-side-item {
    background: #FFF7FA;
    border-radius: 14px;
    padding: 16px;
    border: 1px solid rgba(255,23,101,0.1);
}
.featured-side-item h3 { font-size: 1rem; margin-bottom: 4px; }
.featured-side-item p { font-size: 0.88rem; color: #666666; margin: 0; }

/* 横向轨道 */
.track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}
.track-item {
    flex: 0 0 220px;
    background: #FFFFFF;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.08);
    padding: 20px;
    box-shadow: 0 8px 24px rgba(30,20,25,0.06);
}
.track-item h3 { font-size: 1.05rem; margin-bottom: 8px; }
.track-item p { font-size: 0.9rem; color: #666666; margin: 0; }

/* 电影宽幅 */
.movie-wide {
    background: #FFFFFF;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.08);
    padding: 28px;
    margin-bottom: 20px;
    box-shadow: 0 14px 40px rgba(30,20,25,0.08);
}
.movie-types {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
@media (min-width: 700px) {
    .movie-types { grid-template-columns: repeat(4, 1fr); }
}
.movie-type {
    background: #FFF0F5;
    border-radius: 14px;
    padding: 18px;
    text-align: center;
}
.movie-type h3 { font-size: 1rem; color: #E90052; }

/* 短片编号 */
.shorts-list {
    display: grid;
    gap: 12px;
}
.shorts-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #FFFFFF;
    border-radius: 14px;
    padding: 18px;
    border: 1px solid rgba(0,0,0,0.06);
}
.shorts-num {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #FF4A86, #E90052);
    color: #FFFFFF;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}
.shorts-item h3 { margin-bottom: 4px; font-size: 1.05rem; }
.shorts-item p { margin: 0; font-size: 0.9rem; color: #666666; }

/* 综艺 */
.variety-grid {
    display: grid;
    gap: 16px;
}
@media (min-width: 700px) {
    .variety-grid { grid-template-columns: repeat(2, 1fr); }
}
.variety-card {
    background: #FFFFFF;
    border: 1px solid rgba(255,23,101,0.15);
    border-radius: 16px;
    padding: 22px;
}

/* 人物职业 */
.people-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
@media (min-width: 700px) {
    .people-grid { grid-template-columns: repeat(3, 1fr); }
}
.people-card {
    background: #FFF7FA;
    border-radius: 16px;
    padding: 22px;
    text-align: center;
    border: 1px solid rgba(255,23,101,0.1);
}
.people-card h3 { color: #E90052; }
.people-card p { font-size: 0.88rem; color: #777777; margin: 0; }

/* 片单 */
.watchlist-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
@media (min-width: 800px) {
    .watchlist-grid { grid-template-columns: repeat(4, 1fr); }
}
.watchlist-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 8px 24px rgba(30,20,25,0.06);
}
.watchlist-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.watchlist-card p { font-size: 0.88rem; color: #666666; margin: 0; }

/* 榜单 */
.ranking-list {
    display: grid;
    gap: 12px;
}
.ranking-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #FFFFFF;
    border-radius: 14px;
    padding: 18px 20px;
    border: 1px solid rgba(0,0,0,0.06);
}
.ranking-num {
    font-size: 1.6rem;
    font-weight: 800;
    color: #FF1765;
    line-height: 1;
    min-width: 36px;
}
.ranking-item h3 { margin-bottom: 4px; }
.ranking-item p { margin: 0; font-size: 0.9rem; color: #666666; }

/* 日历轨道 */
.calendar-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
}
.calendar-item {
    flex: 0 0 200px;
    background: #FFFFFF;
    border-radius: 14px;
    padding: 18px;
    border: 1px solid rgba(0,0,0,0.08);
}
.calendar-status {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 10px;
    margin-bottom: 8px;
}
.status-published { background: #E8F8EF; color: #1A7A45; }
.status-progress { background: #FFF0F5; color: #E90052; }
.status-pending { background: #F7F7F8; color: #777777; }

/* 幕后杂志 */
.studio-magazine {
    display: grid;
    gap: 20px;
}
@media (min-width: 800px) {
    .studio-magazine {
        grid-template-columns: 1fr 1fr;
    }
    .studio-magazine .span-full { grid-column: 1 / -1; }
}
.studio-block {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(0,0,0,0.08);
}
.studio-block.accent {
    background: #FFF7FA;
    border-color: rgba(255,23,101,0.15);
}

/* 影评 */
.review-list {
    display: grid;
    gap: 16px;
}
.review-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 22px;
    border: 1px solid rgba(0,0,0,0.08);
}
.review-meta {
    font-size: 0.85rem;
    color: #999999;
    margin-bottom: 8px;
}
.review-card p { margin-bottom: 0; }

/* 发现 */
.discover-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
@media (min-width: 700px) {
    .discover-grid { grid-template-columns: repeat(3, 1fr); }
}
.discover-card {
    background: #FFF7FA;
    border-radius: 14px;
    padding: 20px;
    border: 1px solid rgba(255,23,101,0.1);
}
.discover-card h3 { font-size: 1rem; }

/* APP 区块 */
.app-section {
    background: linear-gradient(180deg, #FFF7FA 0%, #FFFFFF 100%);
    padding: 48px 0;
}
.app-layout {
    display: grid;
    gap: 28px;
    align-items: center;
}
@media (min-width: 800px) {
    .app-layout { grid-template-columns: 1fr 1fr; }
}
.app-visual {
    border-radius: 24px;
    overflow: hidden;
    background: #FFF0F5;
    aspect-ratio: 4 / 5;
    max-width: 360px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.app-visual img { width: 100%; height: 100%; object-fit: cover; }
.app-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, #FFD8E6, #FFF0F5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #E90052;
    font-weight: 700;
    font-size: 1.3rem;
    text-align: center;
    padding: 20px;
}

/* 版权与分级双栏 */
.two-col {
    display: grid;
    gap: 20px;
}
@media (min-width: 800px) {
    .two-col { grid-template-columns: 1fr 1fr; }
}
.info-block {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(0,0,0,0.08);
}

/* FAQ */
.faq-list details {
    background: #FFFFFF;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    margin-bottom: 10px;
    padding: 4px 16px;
}
.faq-list summary {
    padding: 14px 0;
    font-weight: 600;
    color: #222222;
    cursor: pointer;
    list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list details[open] summary { color: #FF1765; }
.faq-list details p {
    padding-bottom: 14px;
    color: #555555;
    font-size: 0.95rem;
}

/* 内页通用 */
.page-hero {
    background: linear-gradient(180deg, #FFF7FA 0%, #FFFFFF 100%);
    padding: 36px 0 28px;
}
.page-hero h1 {
    margin-bottom: 12px;
}
.page-hero .lead {
    font-size: 1.05rem;
    color: #555555;
    max-width: 720px;
}
.page-content {
    padding: 32px 0 48px;
}
.content-block {
    margin-bottom: 36px;
}
.content-block h2 {
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #FFF0F5;
}
.prose p { margin-bottom: 1rem; }
.prose ul {
    margin: 0.8rem 0 1.2rem 1.2rem;
    list-style: disc;
}
.prose li { margin-bottom: 0.4rem; color: #555555; }

/* 页脚 */
.site-footer {
    background: #171717;
    color: #F4F4F4;
    padding: 48px 0 32px;
    margin-top: 20px;
}
.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}
.footer-brand {
    margin-bottom: 32px;
}
.footer-logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: #FF3D7D;
}
.footer-brand-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 10px 0 8px;
}
.footer-brand-name .en {
    font-weight: 500;
    color: #AAAAAA;
    font-size: 0.9rem;
    margin-left: 6px;
}
.footer-desc {
    color: #BBBBBB;
    font-size: 0.9rem;
    max-width: 480px;
    margin: 0;
}
.footer-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}
@media (min-width: 700px) {
    .footer-columns { grid-template-columns: repeat(4, 1fr); }
}
.footer-col h3 {
    color: #FFFFFF;
    font-size: 0.95rem;
    margin-bottom: 12px;
}
.footer-col a {
    color: #CCCCCC;
    font-size: 0.9rem;
    display: block;
    padding: 4px 0;
}
.footer-col a:hover { color: #FF3D7D; }
.footer-note {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
}
.footer-note p {
    color: #AAAAAA;
    font-size: 0.85rem;
    margin-bottom: 8px;
}
.footer-note .copyright {
    color: #888888;
    font-size: 0.85rem;
}

/* 频道面板 */
.panel-overlay {
    position: fixed;
    inset: 0;
    background: rgba(20,10,15,0.45);
    z-index: 2000;
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s, visibility 0.25s;
}
.panel-overlay.is-open {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
}
.channel-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: min(460px, 88vw);
    height: 100%;
    background: #FFFFFF;
    z-index: 2010;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.3s ease, visibility 0.3s;
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 40px rgba(0,0,0,0.12);
}
.channel-panel.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
}
.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    flex-shrink: 0;
}
.panel-brand {
    font-weight: 800;
    font-size: 1.15rem;
    color: #FF1765;
}
.panel-close {
    width: 44px;
    height: 44px;
    font-size: 1.6rem;
    color: #666666;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.panel-close:hover { background: #FFF0F5; color: #FF1765; }
.panel-body {
    overflow-y: auto;
    padding: 12px 20px 40px;
    flex: 1;
    -webkit-overflow-scrolling: touch;
}
.panel-group {
    margin-bottom: 24px;
}
.panel-group h3 {
    font-size: 0.85rem;
    color: #999999;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.panel-link {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}
.panel-link:hover .panel-title { color: #FF1765; }
.panel-title {
    display: block;
    font-weight: 600;
    color: #222222;
    font-size: 1rem;
}
.panel-desc {
    display: block;
    font-size: 0.82rem;
    color: #888888;
    margin-top: 2px;
}
body.panel-open { overflow: hidden; }

/* 搜索面板 */
.search-panel {
    position: fixed;
    inset: 0;
    z-index: 2100;
    background: #FFFFFF;
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s, visibility 0.25s;
    overflow-y: auto;
}
.search-panel.is-open {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
}
@media (min-width: 900px) {
    .search-panel {
        top: 72px;
        bottom: auto;
        height: auto;
        max-height: calc(100vh - 72px);
        border-bottom: 1px solid rgba(0,0,0,0.08);
        box-shadow: 0 16px 40px rgba(0,0,0,0.1);
    }
}
.search-panel-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 24px 20px 48px;
}
.search-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.search-header h2 { margin: 0; font-size: 1.3rem; }
.search-close {
    width: 44px;
    height: 44px;
    font-size: 1.6rem;
    color: #666666;
    border-radius: 50%;
}
.search-close:hover { background: #FFF0F5; color: #FF1765; }
.search-box {
    margin-bottom: 28px;
}
.search-box input {
    width: 100%;
    height: 52px;
    padding: 0 20px;
    font-size: 1.05rem;
    border: 2px solid rgba(255,23,101,0.2);
    border-radius: 26px;
    outline: none;
    background: #FFF7FA;
}
.search-box input:focus {
    border-color: #FF1765;
    background: #FFFFFF;
}
.search-section { margin-bottom: 24px; }
.search-section h3 {
    font-size: 0.9rem;
    color: #999999;
    margin-bottom: 12px;
}
.search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.search-tag {
    padding: 8px 16px;
    background: #FFF0F5;
    color: #E90052;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}
.search-tag:hover { background: #FFD8E6; }
.search-links li { margin-bottom: 8px; }
.search-links a {
    color: #222222;
    font-weight: 500;
}
.search-links a:hover { color: #FF1765; }
.no-result { color: #999999; font-size: 0.95rem; }
body.search-open { overflow: hidden; }

/* 手机底部导航 */
.mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 900;
    background: rgba(255,255,255,0.98);
    border-top: 1px solid rgba(0,0,0,0.08);
    padding: 4px 0 calc(4px + env(safe-area-inset-bottom));
    height: calc(56px + env(safe-area-inset-bottom));
}
.bottom-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: #777777;
    min-height: 48px;
    gap: 2px;
}
.bottom-item .bottom-icon { font-size: 1.15rem; line-height: 1; }
.bottom-item.is-active { color: #FF1765; font-weight: 600; }
@media (min-width: 900px) {
    .mobile-bottom-nav { display: none; }
}

/* 内页特殊布局辅助 */
.grid-2 {
    display: grid;
    gap: 16px;
}
@media (min-width: 700px) {
    .grid-2 { grid-template-columns: 1fr 1fr; }
}
.grid-3 {
    display: grid;
    gap: 16px;
}
@media (min-width: 700px) {
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
.text-muted { color: #777777; }
.text-sm { font-size: 0.9rem; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 1rem; }

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}
