/* 移动端首页样式 */
body.mobile-app .m-home-page .m-hero{
    padding: 10px 12px 6px;
}
body.mobile-app .m-home-page .m-hero-slider{
    position: relative;
    border-radius: 16px;
    border: 1px solid var(--app-border);
    background: rgba(9,14,26,.86);
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(2,6,23,.34);
}
body.mobile-app .m-home-page .m-hero-track{
    display: flex;
    width: 100%;
    transition: transform .45s cubic-bezier(.22,.61,.36,1);
    will-change: transform;
}
body.mobile-app .m-home-page .m-hero-slide{
    position: relative;
    display: block !important;
    min-height: 176px;
    width: 100%;
    flex: 0 0 100%;
    padding: 16px;
}
body.mobile-app .m-home-page .m-hero-slide::after{
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(6,12,24,.7), rgba(7,12,24,.88) 56%, rgba(7,12,24,.65));
    z-index: 1;
}
body.mobile-app .m-home-page .m-hero-bg{
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: saturate(1.08) contrast(1.05) brightness(.76);
}
body.mobile-app .m-home-page .m-hero-content{
    position: relative;
    z-index: 2;
    max-width: 88%;
}
body.mobile-app .m-home-page .m-hero-kicker{
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 9px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.2);
    background: rgba(255,255,255,.08);
    color: #dbeafe;
    font-size: 11px;
    margin-bottom: 8px;
}
body.mobile-app .m-home-page .m-hero-title{
    margin: 0;
    font-size: 33px;
    line-height: 1.2;
    font-weight: 800;
    color: #fff;
}
body.mobile-app .m-home-page .m-hero-subtitle{
    margin: 6px 0 0;
    font-size: 13px;
    color: rgba(226,232,240,.88);
    line-height: 1.45;
}
body.mobile-app .m-home-page .m-hero-actions{
    margin-top: 12px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
body.mobile-app .m-home-page .m-hero-actions .m-button{
    height: 34px;
    border-radius: 10px;
    padding: 0 12px;
    font-size: 12px;
}
body.mobile-app .m-home-page .m-hero-dots{
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 6px;
}
body.mobile-app .m-home-page .m-hero-dot{
    width: 20px;
    height: 4px;
    border-radius: 999px;
    border: 0;
    background: rgba(255,255,255,.28);
    padding: 0;
    overflow: hidden;
    position: relative;
}
body.mobile-app .m-home-page .m-hero-dot::after{
    content: "";
    position: absolute;
    inset: 0;
    transform-origin: left center;
    transform: scaleX(0);
    background: linear-gradient(90deg,#ff4d4f,#ff7a45);
    transition: transform .2s linear;
}
body.mobile-app .m-home-page .m-hero-dot.active::after{
    transform: scaleX(1);
}
@media (max-width: 380px){
    body.mobile-app .m-home-page .m-hero-slide{min-height: 160px; padding: 14px;}
    body.mobile-app .m-home-page .m-hero-title{font-size: 28px;}
}
body.mobile-app .m-home-page .m-section{
    padding: 12px 12px 8px;
}
body.mobile-app .m-home-page .m-section-title{
    font-size: 34px;
    margin: 0 0 10px;
    line-height: 1.2;
}
body.mobile-app .m-home-page .m-section-title::after{
    display: none;
}
body.mobile-app .m-home-intro{
    margin: 6px 12px 8px;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid var(--app-border);
    background:
        radial-gradient(120% 100% at 0% 0%, rgba(59,130,246,.12), transparent 65%),
        linear-gradient(155deg, rgba(17,25,39,.95), rgba(11,18,30,.95));
}
body.mobile-app .m-home-intro-title{
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: var(--app-text-primary);
    line-height: 1.3;
}
body.mobile-app .m-home-intro-desc{
    margin: 4px 0 0;
    font-size: 12px;
    color: var(--app-text-secondary);
    line-height: 1.4;
}
body.mobile-app .m-home-intro-meta{
    margin-top: 8px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
body.mobile-app .m-home-meta-pill{
    height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    border: 1px solid var(--app-border);
    background: rgba(255,255,255,.03);
    color: var(--app-text-secondary);
    font-size: 11px;
    display: inline-flex;
    align-items: center;
}
body.mobile-app .m-home-meta-pill strong{
    color: var(--app-text-primary);
    margin-left: 4px;
    font-weight: 700;
}
body.mobile-app .m-home-quick{
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}
body.mobile-app .m-home-quick-item{
    height: 34px;
    border-radius: 10px;
    border: 1px solid var(--app-border);
    background: rgba(255,255,255,.03);
    color: var(--app-text-primary);
    text-decoration: none;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
body.mobile-app .m-home-page .m-genre-filter{
    padding: 4px 12px 0;
}
body.mobile-app .m-genre-filter-btn{
    width: 100%;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--app-border);
    background: rgba(255,255,255,.03);
    color: var(--app-text-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    font-size: 14px;
    transition: all .2s;
}
body.mobile-app .m-genre-filter-btn:active{
    background: rgba(255,255,255,.06);
    transform: scale(.98);
}
body.mobile-app .m-genre-filter-label{
    color: var(--app-text-secondary);
    font-size: 13px;
    margin-right: 8px;
}
body.mobile-app .m-genre-filter-value{
    flex: 1;
    text-align: left;
    font-weight: 500;
}
body.mobile-app .m-genre-filter-btn i{
    color: var(--app-text-secondary);
    font-size: 12px;
    transition: transform .3s;
}
body.mobile-app .m-genre-modal{
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 9999;
    display: none;
    align-items: flex-end;
    justify-content: center;
}
body.mobile-app .m-genre-modal.active{
    display: flex;
}
body.mobile-app .m-genre-modal-overlay{
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(0,0,0,.65);
    backdrop-filter: blur(4px);
    animation: fadeIn .3s ease;
}
@keyframes fadeIn{
    from{ opacity: 0; }
    to{ opacity: 1; }
}
@keyframes slideUp{
    from{ transform: translateY(100%); }
    to{ transform: translateY(0); }
}
body.mobile-app .m-genre-modal-content{
    position: relative;
    width: 100%;
    max-height: 70vh;
    background: linear-gradient(180deg, rgba(17,25,39,.98), rgba(11,18,30,.98));
    border-radius: 20px 20px 0 0;
    border: 1px solid var(--app-border);
    border-bottom: 0;
    display: flex;
    flex-direction: column;
    animation: slideUp .35s cubic-bezier(.22,.61,.36,1);
}
body.mobile-app .m-genre-modal-header{
    flex-shrink: 0;
    padding: 6px 16px 14px;
    border-bottom: 1px solid var(--app-border);
    display: flex;
    flex-direction: column;
    align-items: center;
}
body.mobile-app .m-genre-modal-handle{
    width: 36px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255,255,255,.2);
    margin-bottom: 12px;
}
body.mobile-app .m-genre-modal-title-row{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
body.mobile-app .m-genre-modal-header h3{
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--app-text-primary);
}
body.mobile-app .m-genre-modal-close{
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 0;
    background: rgba(255,255,255,.05);
    color: var(--app-text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all .2s;
}
body.mobile-app .m-genre-modal-close:active{
    background: rgba(255,255,255,.1);
    transform: scale(.95);
}
body.mobile-app .m-genre-modal-body{
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 8px 0 16px;
}
body.mobile-app .m-genre-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 0 16px;
}
body.mobile-app .m-genre-card{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 88px;
    padding: 14px 12px;
    border-radius: 12px;
    border: 1px solid var(--app-border);
    background: rgba(255,255,255,.03);
    color: var(--app-text-primary);
    text-decoration: none;
    transition: all .2s;
    position: relative;
}
body.mobile-app .m-genre-card:active{
    background: rgba(255,255,255,.08);
    transform: scale(.97);
}
body.mobile-app .m-genre-card.active{
    border-color: rgba(59,130,246,.6);
    background: rgba(59,130,246,.12);
}
body.mobile-app .m-genre-card.active::before{
    content: "";
    position: absolute;
    top: 8px;
    right: 8px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
}
body.mobile-app .m-genre-card.active::after{
    content: "✓";
    position: absolute;
    top: 8px;
    right: 8px;
    width: 18px;
    height: 18px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}
body.mobile-app .m-genre-card-name{
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
    margin-bottom: 4px;
}
body.mobile-app .m-genre-card-count{
    font-size: 12px;
    color: var(--app-text-secondary);
}
body.mobile-app .m-footer-links{
    padding: 24px 16px 32px;
    background: var(--app-surface);
    border-top: 1px solid var(--app-border);
    margin-top: 16px;
}
body.mobile-app .m-footer-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}
body.mobile-app .m-footer-link{
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid var(--app-border);
    background: rgba(255,255,255,.03);
    color: var(--app-text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all .2s;
}
body.mobile-app .m-footer-link:active{
    background: rgba(255,255,255,.08);
    transform: scale(.98);
}
body.mobile-app .m-footer-link i{
    font-size: 16px;
    color: var(--app-text-secondary);
    width: 20px;
    text-align: center;
}
body.mobile-app .m-footer-copyright{
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid var(--app-border);
}
body.mobile-app .m-footer-copyright p{
    margin: 0;
    font-size: 12px;
    color: var(--app-text-tertiary);
    line-height: 1.5;
}

