@charset "utf-8";
/* ==========================================================================
   黄果影视 hgai4.live - 站点定制样式
   在主题配色之后加载，用于统一品牌视觉与细节体验
   ========================================================================== */

html { scroll-behavior: smooth; }

a:focus-visible,
button:focus-visible { outline: 2px solid #ffe28a; outline-offset: 2px; }

/* ---------- 顶部品牌区 ---------- */
.fed-head-info .fed-navs-left .fed-navs-logo {
    width: auto;
    padding: 1.125rem 0 1.125rem .625rem;
    margin-right: .9375rem;
    text-align: left;
}
.fed-head-info .fed-navs-left .fed-navs-logo img.fed-logo-img {
    display: block;
    width: auto !important;
    height: 44px !important;
    max-width: none;
}
.fed-head-info .fed-navs-left .fed-navs-title {
    padding: 0 .5rem;
    transition: color .2s ease;
}
.fed-head-info .fed-navs-left .fed-navs-title:hover { color: #ffe28a; }
.fed-head-info .fed-navs-search .fed-navs-input {
    background-color: rgba(0, 0, 0, .22);
    border-color: rgba(255, 226, 138, .18) !important;
    color: #d9d3c4;
    transition: border-color .2s ease, background-color .2s ease;
}
.fed-head-info .fed-navs-search .fed-navs-input:hover,
.fed-head-info .fed-navs-search .fed-navs-input:focus {
    border-color: rgba(255, 226, 138, .72) !important;
    background-color: rgba(0, 0, 0, .3);
}
.fed-head-info .fed-navs-search .fed-navs-submit { color: #ffe28a; }
.fed-head-info::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 226, 138, .28), transparent);
    pointer-events: none;
}

/* ---------- 最近更新 · 焦点轮播 ---------- */
.fed-leadup {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #232323;
}
.fed-leadup .fed-swip-slide { overflow: hidden; }
.fed-leadup-pic {
    display: block;
    position: relative;
    height: 0;
    padding-top: 57.79%;
    background-color: #34312b;
    background-image: linear-gradient(135deg, #3d3a33 0%, #232323 100%);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}
.fed-leadup-pic::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, .08) 0%, rgba(0, 0, 0, .04) 38%, rgba(0, 0, 0, .78) 100%),
        linear-gradient(90deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, 0) 62%);
    pointer-events: none;
}
.fed-leadup-score {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    padding: 2px 8px;
    border-radius: 4px;
    background: #ffe28a;
    color: #2b2a2a;
    font-weight: 700;
    line-height: 18px;
}
.fed-leadup-flag {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    padding: 2px 10px;
    border: 1px solid rgba(255, 226, 138, .35);
    border-radius: 999px;
    background: rgba(0, 0, 0, .42);
    color: #ffe28a;
    font-size: 11px;
    line-height: 18px;
}
.fed-leadup-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    padding: 0 18px 14px;
    text-align: left;
}
.fed-leadup-name {
    display: block;
    overflow: hidden;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .55);
    white-space: nowrap;
    text-overflow: ellipsis;
}
.fed-leadup-name::before {
    content: "";
    display: inline-block;
    width: 22px;
    height: 22px;
    margin-right: 8px;
    vertical-align: -4px;
    border-radius: 50%;
    background: #ffe28a url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='12' viewBox='0 0 10 12'%3E%3Cpath d='M0 0l10 6-10 6z' fill='%232b2a2a'/%3E%3C/svg%3E") no-repeat 9px center;
    background-size: 9px 11px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .35);
}
.fed-leadup-meta {
    display: block;
    overflow: hidden;
    margin-top: 6px;
    color: rgba(255, 255, 255, .82);
    font-size: 12px;
    line-height: 18px;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.fed-leadup .fed-swip-pagin {
    left: auto;
    right: 12px;
    bottom: 10px;
    width: auto;
}
.fed-leadup .fed-swip-bullet {
    width: 18px;
    height: 3px;
    margin: 0 3px;
    border-radius: 3px;
    background: rgba(255, 255, 255, .35);
    opacity: 1;
    transition: background-color .2s ease, width .2s ease;
}
.fed-leadup .fed-swip-this {
    width: 26px;
    background: #ffe28a;
    opacity: 1;
}
.fed-leadup .fed-swip-prev,
.fed-leadup .fed-swip-next {
    width: 32px;
    height: 44px;
    line-height: 44px;
    margin-top: -22px;
    border-radius: 6px;
    background: rgba(0, 0, 0, .38);
    color: #ffe28a;
    opacity: 0;
    transition: opacity .2s ease, background-color .2s ease;
}
.fed-leadup:hover .fed-swip-prev,
.fed-leadup:hover .fed-swip-next { opacity: 1; }
.fed-leadup .fed-swip-prev:hover,
.fed-leadup .fed-swip-next:hover { background: rgba(0, 0, 0, .6); }
.fed-leadup .fed-swip-prev { left: 10px; }
.fed-leadup .fed-swip-next { right: 10px; }

/* ---------- 海报卡片细节 ---------- */
.fed-list-info .fed-list-item .fed-list-pics {
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .28);
    transition: transform .22s ease, box-shadow .22s ease;
}
.fed-list-info .fed-list-item .fed-list-pics:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, .42);
}
.fed-list-info .fed-list-title { transition: color .2s ease; }
.fed-list-info .fed-list-item:hover .fed-list-title { color: #ffe28a; }
.fed-list-deta .fed-list-pics {
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .38);
}

/* ---------- 筛选条件 ---------- */
.fed-scre-list { padding-bottom: .3125rem; }
.fed-scre-list dt { color: #8f887a; }
.fed-scre-list dd a { transition: color .15s ease; }
.fed-scre-list dd a:hover { color: #ffe28a; }
.fed-casc-list dd a:hover { color: #ffe28a; }

/* ---------- 面包屑 ---------- */
.fed-crumb-bar { padding: 0 .9375rem; }
.fed-crumb {
    padding: .625rem 0;
    color: #8c877b;
    font-size: 12px;
    line-height: 20px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.fed-crumb a { color: #a5a093; transition: color .15s ease; }
.fed-crumb a:hover { color: #ffe28a; }
.fed-crumb span { margin: 0 6px; color: #5f5b52; }
.fed-crumb em { font-style: normal; color: #cfc9b8; }

/* ---------- 侧栏卡片 ---------- */
.fed-side-qr .fed-list-head { margin-bottom: .625rem; }
.fed-side-code {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 180px;
    margin: .25rem auto .625rem;
    padding: 6px;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}
.fed-side-code img,
.fed-side-code canvas {
    display: block;
    width: 168px !important;
    height: 168px !important;
}
.fed-side-tip {
    margin: 0;
    color: #8d887c;
    font-size: 12px;
    line-height: 1.9;
}
.fed-side-domain { color: #e8b04b; font-weight: 700; }

/* ---------- 搜索页 ---------- */
.fed-search-hero { padding: 46px 20px 38px; }
.fed-search-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.fed-search-inner h2 {
    margin: 0 0 8px;
    color: #efe7d2;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
}
.fed-search-inner > p { margin: 0 0 24px; color: #9a9487; font-size: 13px; }
.fed-search-form { display: flex; gap: 10px; }
.fed-search-input {
    flex: 1;
    height: 46px;
    padding: 0 20px;
    border: 1px solid rgba(255, 226, 138, .22);
    border-radius: 999px;
    background: rgba(0, 0, 0, .22);
    color: #eae4d6;
    font-size: 14px;
    outline: none;
    transition: border-color .2s ease, background-color .2s ease;
}
.fed-search-input::placeholder { color: #7f7a6f; }
.fed-search-input:focus { border-color: rgba(255, 226, 138, .7); background: rgba(0, 0, 0, .3); }
.fed-search-submit {
    height: 46px;
    padding: 0 28px;
    border: 0;
    border-radius: 999px;
    background: #ffe28a;
    color: #2b2a2a;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: filter .2s ease;
}
.fed-search-submit:hover { filter: brightness(1.06); }
.fed-search-hot,
.fed-search-types { margin-top: 22px; font-size: 12px; }
.fed-search-hot > span,
.fed-search-types > span { margin-right: 8px; color: #8f8a7e; }
.fed-search-hot a,
.fed-search-types a {
    display: inline-block;
    margin: 4px 6px 0 0;
    padding: 4px 12px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 999px;
    background: rgba(255, 255, 255, .045);
    color: #c6c0b1;
    transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}
.fed-search-hot a:hover,
.fed-search-types a:hover {
    color: #ffe28a;
    border-color: rgba(255, 226, 138, .4);
    background: rgba(255, 226, 138, .08);
}
.fed-search-none { padding: 60px 20px; text-align: center; }
.fed-search-none p { margin: 0 0 8px; color: #9a9487; font-size: 14px; }
.fed-search-none a { color: #ffe28a; }

/* ---------- 页脚 ---------- */
.fed-foot-info {
    margin-top: 20px;
    padding: 24px 0 26px;
    border-top: 1px solid rgba(255, 226, 138, .09);
}
.fed-foot-art { margin-bottom: 6px; color: #8f8a7e; }
.fed-foot-tj { color: #8f8a7e; }
.fed-foot-text {
    margin: 0;
    color: #8a857a !important;
    font-size: 12px;
    line-height: 2;
}
.fed-foot-info a { color: #9b9588; transition: color .18s ease; }
.fed-foot-info a:hover { color: #ffe28a; }
.fed-foot-maps a { margin: 0 4px; }
.fed-foot-maps span { margin: 0 2px; color: #57534a; }
.fed-foot-brand { margin-top: 12px; color: #b6b0a1 !important; letter-spacing: .5px; }

/* ---------- 移动端 ---------- */
@media (max-width: 48rem) {
    .fed-head-info .fed-navs-left .fed-navs-logo { padding: .375rem 0 .375rem .625rem; }
    .fed-head-info .fed-navs-left .fed-navs-logo img.fed-logo-img { height: 38px !important; }
    .fed-leadup-pic { padding-top: 60%; }
    .fed-leadup-info { padding: 0 14px 12px; }
    .fed-leadup-name { font-size: 17px; }
    .fed-leadup-name::before { width: 20px; height: 20px; background-size: 8px 10px; }
    .fed-leadup-meta { font-size: 11px; }
    .fed-leadup .fed-swip-pagin { right: 10px; bottom: 6px; }
    .fed-crumb-bar { padding: 0 .625rem; }
    .fed-search-hero { padding: 28px 16px 24px; }
    .fed-search-inner h2 { font-size: 20px; }
    .fed-search-form { gap: 8px; }
    .fed-search-submit { padding: 0 20px; }
    .fed-foot-info { padding: 18px 0 22px; }
    .fed-foot-text { font-size: 11px; line-height: 1.9; }
    .fed-foot-maps a { margin: 0 3px; }
}

/* ---------- 白色主题适配 ---------- */
.theme-white .fed-crumb em { color: #3d3a33; }
.theme-white .fed-crumb a { color: #6f6a5f; }
.theme-white .fed-search-inner h2 { color: #2b2a2a; }
.theme-white .fed-search-inner > p { color: #7d786c; }
.theme-white .fed-search-input {
    background: #fff;
    border-color: #e2dccd;
    color: #2b2a2a;
}
.theme-white .fed-search-hot a,
.theme-white .fed-search-types a {
    background: #f7f5ef;
    border-color: #e8e2d4;
    color: #6f6a5f;
}
.theme-white .fed-search-hot a:hover,
.theme-white .fed-search-types a:hover {
    color: #b0791a;
    border-color: #e0c68a;
    background: #fffaf0;
}
.theme-white .fed-foot-info { border-top-color: #e8e2d4; }
.theme-white .fed-foot-text { color: #7d786c !important; }
.theme-white .fed-foot-info a { color: #6f6a5f; }
.theme-white .fed-side-tip { color: #7d786c; }

/* ---------- 筛选选中态 ---------- */
.fed-scre-list dd .fed-this,
.fed-casc-list dd .fed-this {
    padding: 1px 9px;
    border-radius: 999px;
    background: rgba(255, 226, 138, .12);
    color: #ffe28a !important;
    font-weight: 700;
}

/* ---------- 移动端细节 ---------- */
@media (max-width: 48rem) {
    .fed-goto-info { display: none !important; }
    .fed-head-info .fed-pops-navbar ul {
        -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent 100%);
        mask-image: linear-gradient(90deg, #000 90%, transparent 100%);
    }
    .fed-tabr-info a { color: #b9b3a2; }
}
.theme-white .fed-scre-list dd .fed-this,
.theme-white .fed-casc-list dd .fed-this {
    background: rgba(176, 121, 26, .12);
    color: #b0791a !important;
}

/* ---------- 个人中心横幅 ---------- */
.fed-user-banner {
    background-color: #2f2c26;
    background-image:
        radial-gradient(circle at 84% 18%, rgba(255, 226, 138, .20) 0, rgba(255, 226, 138, 0) 42%),
        radial-gradient(circle at 12% 90%, rgba(255, 226, 138, .10) 0, rgba(255, 226, 138, 0) 40%),
        linear-gradient(120deg, #38332b 0%, #2b2a2a 55%, #453b26 100%);
    background-size: cover;
}

/* ---------- 分享提示 ---------- */
.fed-share-tip {
    position: fixed;
    left: 50%;
    bottom: 16%;
    z-index: 9999;
    padding: 10px 20px;
    border-radius: 999px;
    background: rgba(20, 19, 18, .88);
    color: #ffe28a;
    font-size: 13px;
    line-height: 1.4;
    white-space: nowrap;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
    opacity: 0;
    transform: translate(-50%, 8px);
    transition: opacity .24s ease, transform .24s ease;
    pointer-events: none;
}
.fed-share-tip.fed-show { opacity: 1; transform: translate(-50%, 0); }
