/* 20261110质检问题处理 start */
/* Figma reference: desktop marquee 6:2078 / 6:2080, auth 6:1057 / 6:1135,
   home road 6:1240. H5 frames are designed at 750px (2x CSS pixel scale). */
.site-announcement {
    position: fixed; inset: var(--announcement-top, 70px) 0 auto; z-index: 1000;
    width: 100%; height: 36px; background: #191c20; color: #bcbec5;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 14px; font-style: normal; font-weight: 400;
}
.site-announcement[hidden], .home-road [hidden], #auth-modal [hidden], [data-navigation][hidden], .quality-player-error[hidden] { display: none !important; }
.head-nav [data-midnight-holder][hidden] { display: none !important; }
/* This component is initialized and shown only by home/index.js. Without the
   home stylesheet its slides otherwise expand the width of unrelated pages. */
.xqbj-component-adfloat { display: none; }
.site-announcement-spacer { height: 0; }
.has-site-announcement .site-announcement-spacer { height: 36px; }
.site-announcement-inner { display: flex; align-items: center; width: 100%; height: 36px; padding: 0; }
.site-announcement-viewport { width: 100%; min-width: 0; overflow: hidden; }
.site-announcement-track { display: flex; width: max-content; will-change: transform; animation: site-announcement-scroll var(--announcement-duration, 24s) linear infinite; }
.site-announcement-group { display: inline-flex; flex: 0 0 auto; align-items: center; min-width: var(--announcement-group-width, 836px); gap: 0; padding-right: 300px; }
.site-announcement-item { display: inline-flex; align-items: center; flex: 0 0 auto; gap: 0; color: inherit; font: inherit; line-height: 30px; white-space: nowrap; }
.site-announcement-item + .site-announcement-item::before { content: '｜'; margin: 0 4px; color: #bcbec5; }
.site-announcement a { color: inherit; font: inherit; text-decoration: none; }
.site-announcement .site-announcement-link { color: #ffd93b; text-decoration: underline; text-underline-offset: 2px; }
.site-announcement:hover .site-announcement-track, .site-announcement:focus-within .site-announcement-track { animation-play-state: paused; }
@keyframes site-announcement-scroll { to { transform: translateX(var(--announcement-distance, -836px)); } }
@media (prefers-reduced-motion: reduce) { .site-announcement-track { animation: none; } .site-announcement-viewport { overflow-x: auto; } }

/* Shared account UI: 561px panel, 481px content, 48px inputs, 24px spacing. */
#auth-modal { z-index: 11000; font-family: "PingFang SC", "Microsoft YaHei", sans-serif; color: #c5ccd5; }
#auth-modal .auth-modal-overlay { background: rgba(0,0,0,.6); }
#auth-modal .auth-modal-panel { width: 561px; max-width: 100%; max-height: calc(100dvh - 32px); overflow-y: auto; padding: 24px 40px 38px; border: 0; border-radius: 8px; background: #20232b; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
#auth-modal .auth-modal-close { display: grid; place-items: center; position: absolute; top: 26px; right: 30px; width: 16px; height: 16px; padding: 0; border: 0; background: none; }
#auth-modal .auth-modal-close img { width: 15.7px; height: 15.7px; }
#auth-modal .auth-brand { display: block; width: 229px; height: 100px; margin: 0 auto 16px; object-fit: contain; }
#auth-modal .auth-tabs { display: flex; height: 33px; margin: 0 0 24px; border-bottom: 1px solid #353b45; }
#auth-modal .auth-tab { display: block; flex: 1; margin: 0; padding: 0 0 9px; border: 0; border-bottom: 2px solid transparent; background: none; color: #b4b7bb; font: 400 16px/22px "PingFang SC",sans-serif; text-align: center; cursor: pointer; }
#auth-modal .auth-tab.is-active { color: #ffda27; border-bottom-color: #ffda27; }
#auth-modal .auth-modal-form { display: flex; flex-direction: column; gap: 24px; margin: 0; }
#auth-modal .auth-field { position: relative; min-width: 0; width: 100%; margin: 0; }
#auth-modal .auth-field::before { content: ''; position: absolute; left: 14px; top: 15px; width: 18px; height: 18px; background: center/contain no-repeat; pointer-events: none; }
#auth-modal .auth-icon-account::before { background-image: url('../images/quality/account.svg'); }
#auth-modal .auth-icon-lock::before { background-image: url('../images/quality/lock.svg'); }
#auth-modal .auth-icon-phone::before { background-image: url('../images/quality/phone.svg'); }
#auth-modal .auth-icon-shield::before { background-image: url('../images/quality/shield.svg'); }
#auth-modal .auth-label { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#auth-modal .auth-input { display: block; box-sizing: border-box; width: 100%; height: 48px; margin: 0; padding: 0 42px; border: 1px solid #464646; border-radius: 8px; background: rgba(255,255,255,.1); color: #f4f6f8; font: 400 15px/22px "PingFang SC",sans-serif; outline: none; }
#auth-modal .auth-input::placeholder { color: #b4b7bb; }
#auth-modal .auth-input:focus { border-color: #ffda27; box-shadow: 0 0 0 2px rgba(255,218,39,.12); }
#auth-modal .auth-password-toggle { display: grid; place-items: center; position: absolute; top: 0; right: 8px; width: 32px; height: 48px; padding: 0; border: 0; background: none; cursor: pointer; }
#auth-modal .auth-password-toggle img { width: 18px; height: 18px; }
#auth-modal .auth-password-toggle[aria-pressed="true"] { opacity: .5; }
#auth-modal[data-view="register"] .auth-password-toggle { display: none; }
#auth-modal .auth-verify-row { display: flex; align-items: center; gap: 14px; width: 100%; }
#auth-modal .auth-verify-row .auth-field { flex: 1; min-width: 0; }
#auth-modal .auth-captcha { display: block; flex: 0 0 114px; width: 114px; height: 48px; padding: 0; border: 0; border-radius: 6px; background: none; overflow: hidden; cursor: pointer; }
#auth-modal .auth-verify-img { display: block; width: 114px; height: 48px; object-fit: contain; background: none; }
#auth-modal .auth-refresh { display: grid; place-items: center; flex: 0 0 22px; width: 22px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; }
#auth-modal .auth-refresh img { width: 19.4812px; height: 20.1587px; }
#auth-modal .auth-options { display: flex; align-items: center; justify-content: space-between; min-height: 20px; margin: 0; color: #c5ccd5; font: 400 14px/20px "PingFang SC",sans-serif; }
#auth-modal .auth-options label { display: flex; gap: 6px; align-items: center; margin: 0; font-weight: 400; cursor: pointer; }
#auth-modal .auth-options input { flex: 0 0 16px; width: 16px; height: 16px; margin: 0; accent-color: #ffda27; }
#auth-modal .auth-link { padding: 0; border: 0; background: none; color: #ffda27; font: inherit; text-decoration: none; cursor: pointer; }
#auth-modal .auth-submit-btn { display: block; flex-shrink: 0; width: 100%; height: 48px; padding: 0 12px; margin: 0; border: 0; border-radius: 8px; background: linear-gradient(90deg,#ffdf35,#ffd21b); color: #1b222b; font: 600 16px/22px "PingFang SC",sans-serif; cursor: pointer; }
#auth-modal .auth-submit-btn:disabled { opacity: .6; cursor: wait; }
#auth-modal .auth-social-title { display: flex; align-items: center; gap: 24px; height: 20px; margin: 24px 0; font-size: 14px; line-height: 20px; text-align: center; }
#auth-modal .auth-social-title::before, #auth-modal .auth-social-title::after { content: ''; flex: 1; height: 1px; background: #353b45; }
#auth-modal .auth-social { display: flex; justify-content: center; gap: 51px; }
#auth-modal .auth-social button { width: 44px; height: 44px; border: 0; padding: 0; border-radius: 50%; background: none; cursor: pointer; }
#auth-modal .auth-social img { display: block; width: 44px; height: 44px; }
#auth-modal .auth-modal-tip { margin: 24px 0 0; color: #c5ccd5; font-size: 14px; line-height: 17px; text-align: center; }
#auth-modal .auth-modal-tip .auth-link { font-weight: 600; }
#auth-modal .auth-feedback { margin: 16px 0 0; color: #ffb4ad; font-size: 13px; line-height: 20px; }
#auth-modal .auth-feedback.is-success { color: #a6d7aa; }
#auth-modal .auth-back { display: none; position: absolute; left: 30px; top: 20px; padding: 0; background: none; border: 0; color: #b4b7bb; font-size: 26px; cursor: pointer; }
#auth-modal[data-view="reset"] .auth-back { display: block; }
#auth-modal[data-view="reset"] .auth-brand, #auth-modal[data-view="reset"] .auth-tabs { display: none; }
#auth-modal[data-view="reset"] .auth-modal-panel { padding-top: 64px; }
.auth-reset-title { margin: 0 0 26px; color: #f4f6f8; font-size: 20px; line-height: 28px; font-weight: 600; }
.auth-reset-steps { display: flex; align-items: center; padding: 0; margin: 0 0 26px; list-style: none; }
.auth-reset-steps li { display: flex; align-items: center; gap: 8px; color: #b4b7bb; font-size: 14px; white-space: nowrap; }
.auth-reset-steps li + li::before { content: ''; width: 40px; height: 1px; margin: 0 0 0 20px; background: #3b434e; }
.auth-reset-steps li span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #b4b7bb; color: #202833; }
.auth-reset-steps li.is-active span { background: #ffda27; }
.auth-reset-step { display: flex; flex-direction: column; gap: 24px; }
.auth-reset-complete { margin: 0; font-size: 15px; line-height: 28px; }
.auth-page { min-height: calc(100dvh - 140px); padding-top: var(--announcement-top, 70px); }
#auth-modal.auth-is-page { position: relative; display: flex; inset: auto; min-height: calc(100dvh - 140px); height: auto; padding: 40px 16px; }
#auth-modal.auth-is-page .auth-modal-overlay { display: none; }
body.auth-route > #xqbj-container > footer, body.auth-route > #xqbj-container > .bottom-navigation { display: none; }

/* Home road: single-column text layout from the updated reference. */
.home-road { min-height: 100dvh; padding: var(--announcement-top, 70px) 0 48px; color: #fff; background: #0b0d0f; font: 400 14px/20px Arial, "Microsoft YaHei", sans-serif; }
.home-road-inner { width: calc(100% - 32px); max-width: 680px; margin: 0 auto; padding-top: 28px; overflow-wrap: anywhere; }
.home-road h1 { margin: 0 0 30px; color: inherit; font-size: 20px; line-height: 28px; font-weight: 600; }
.home-road h2 { margin: 16px 0 8px; color: inherit; font-size: 18px; line-height: 26px; font-weight: 600; }
.home-road h3 { margin: 12px 0 6px; color: inherit; font-size: 16px; line-height: 24px; font-weight: 600; }
.home-road p { margin: 0; color: inherit; font: inherit; }
.home-road p + p { margin-top: 8px; }
.home-road .cms-rich-content img { display: block; max-width: 100%; height: auto; margin: 12px auto; }
.home-road-notice { margin-bottom: 48px; }
.home-road-section + .home-road-section { margin-top: 20px; }
/* 回家的路链接色以 CMS 编辑器为准，禁止强制红 */
.home-road a, .home-road a:visited, .home-road a:hover { color: inherit; font: inherit; text-decoration: none; white-space: normal; overflow: visible; overflow-wrap: anywhere; }
.home-road a:hover, .home-road a:focus-visible { text-decoration: underline; }
.home-road-contact-number { display: block; }
.home-road-contact h3 { display: inline; }
.home-road-faq-list { margin: 0; padding: 0; list-style: decimal inside; }
.home-road-faq-list li { display: list-item; margin: 0; padding: 0; list-style: decimal inside; font: inherit; }

/* Scope article fixes to its route; preserve other page widths and card layouts. */
.quality-article .row-8, .quality-article .row-right, .quality-article .art-detail, .quality-article .comment-view { min-width: 0; }
.quality-article > .row { width: 100%; margin-inline: 0; }
.quality-article .play-comment-container { width: 100%; max-width: 100%; }
.footer-bottom .box-width > .hoa { min-width: 0; max-width: 100%; }
.footer-bottom .footer-item { max-width: 100%; overflow-x: auto; }
/* Live /artdetail templates also use .art-detail, but may omit .quality-article. */
.art-detail .tim-content { overflow-wrap: anywhere; word-break: normal; white-space: normal; }
.art-detail .tim-content img { display: block; max-width: 100% !important; height: auto !important; margin: 16px auto !important; }
.art-detail .tim-content table { display: block; max-width: 100%; overflow-x: auto; }
.art-detail .tim-content pre { max-width: 100%; overflow-x: auto; white-space: pre-wrap; }
.art-detail .tim-prev, .art-detail .tim-next { min-width: 0; max-width: 48%; }
.art-detail .tim-prev > a, .art-detail .tim-next > a { display: block; white-space: normal; }
.art-detail .tim-page { overflow-wrap: anywhere; white-space: normal; }
img.quality-image-fallback { content: normal !important; object-fit: contain !important; background-color: #25272d; }
.tim-content img.quality-image-fallback { min-height: 120px; max-height: 240px; }
.rating-unavailable .fraction, .rating-unavailable .play-score-h5-score { color: #b4b7bb; font-size: 16px !important; }
.rating-s[hidden], [data-rating-count][hidden] { display: none !important; }
.quality-player-error { padding: 12px 16px; margin: 10px 0; border: 1px solid #464646; border-radius: 6px; background: #20232b; color: #c5ccd5; font-size: 14px; line-height: 22px; }
/* Latest Figma 6:1189 / 6:1240: keep the account logic and adjust desktop geometry. */
@media (min-width: 768px) {
    #auth-modal[data-view="register"] .auth-captcha, #auth-modal[data-view="register"] .auth-verify-img,
    #auth-modal[data-view="reset"] .auth-captcha, #auth-modal[data-view="reset"] .auth-verify-img { height: 44px; align-self: flex-start; }
    #auth-modal[data-view="register"] .auth-refresh, #auth-modal[data-view="reset"] .auth-refresh { align-self: flex-start; margin-top: 8px; }
    #auth-modal[data-view="reset"] .auth-back { top: 26px; width: 18.7px; height: 15.7px; display: grid; place-items: center; }
    #auth-modal[data-view="reset"] .auth-back img { width: 18.7px; height: 15.7px; }
    #auth-modal[data-view="reset"] .auth-reset-steps { display: grid; grid-template-columns: 174px 184px auto; width: 422px; max-width: 100%; height: 28px; }
    #auth-modal[data-view="reset"] .auth-reset-steps li { position: relative; color: #b4b7bb; line-height: 20px; }
    #auth-modal[data-view="reset"] .auth-reset-steps li.is-active { color: #c5ccd5; }
    #auth-modal[data-view="reset"] .auth-reset-steps li + li::before { position: absolute; top: 14px; left: -54px; width: 48px; margin: 0; }
    #auth-modal[data-view="reset"] .auth-reset-steps li:last-child::before { left: -46px; width: 40px; }
    #auth-modal[data-view="reset"] .auth-reset-steps li span { font-weight: 600; }
    #auth-modal[data-view="reset"] .auth-reset-steps li.is-active span { color: #17202b; }
}
@media (max-width: 767px) {
    #auth-modal .auth-modal-panel { padding: 24px 20px 30px; }
    #auth-modal .auth-brand { width: 183.2px; height: 80px; }
    #auth-modal .auth-refresh { display: none; }
    #auth-modal .auth-verify-row { gap: 11px; }
    #auth-modal .auth-captcha, #auth-modal .auth-verify-img { flex-basis: 90px; width: 90px; height: 46px; }
    #auth-modal .auth-input { height: 46px; font-size: 15px; }
    #auth-modal .auth-field::before { top: 14px; }
    #auth-modal .auth-password-toggle { height: 46px; }
    #auth-modal .auth-options { font-size: 13px; }
    #auth-modal .auth-social { gap: 24px; }
    #auth-modal .auth-social button, #auth-modal .auth-social img { width: 38px; height: 38px; }
    #auth-modal.auth-is-page { min-height: calc(100dvh - 110px); padding: 40px 0; align-items: flex-start; }
    body.auth-route { background: #111319; }
    .auth-page { padding-top: 0; }
    #auth-modal.auth-is-page .auth-modal-panel { padding: 0 20px; max-height: none; border-radius: 0; background: #111319; box-shadow: none; overflow: visible; }
    #auth-modal.auth-is-page .auth-brand, #auth-modal.auth-is-page .auth-modal-close, #auth-modal.auth-is-page .auth-back { display: none; }
    #auth-modal.auth-is-page .auth-tabs { height: 31px; margin-bottom: 28px; }
    #auth-modal.auth-is-page .auth-tab { color: #9e9e9e; font-size: 15px; line-height: 21px; font-weight: 600; padding-bottom: 8px; }
    #auth-modal.auth-is-page .auth-tab.is-active { color: #ffda27; }
    #auth-modal.auth-is-page .auth-modal-form { gap: 24px; }
    #auth-modal.auth-is-page .auth-input { height: 45.5px; padding-left: 43px; padding-right: 15px; background: rgba(255,255,255,.1); font-size: 14px; line-height: 19.5px; }
    #auth-modal.auth-is-page .auth-field::before { top: 13.75px; left: 15px; }
    #auth-modal.auth-is-page .auth-password-toggle { display: none; }
    #auth-modal.auth-is-page .auth-captcha, #auth-modal.auth-is-page .auth-verify-img { height: 44px; }
    #auth-modal.auth-is-page .auth-captcha { align-self: flex-start; }
    #auth-modal.auth-is-page .auth-options { min-height: 18px; color: #fff; line-height: 18px; }
    #auth-modal.auth-is-page .auth-options label { gap: 7px; }
    #auth-modal.auth-is-page .auth-options input { flex-basis: 15px; width: 15px; height: 15px; }
    #auth-modal.auth-is-page #auth-login-form .auth-options > .auth-link { font-weight: 600; }
    #auth-modal.auth-is-page .auth-submit-btn { height: 44px; color: #171b20; font-size: 15px; line-height: 18px; }
    #auth-modal.auth-is-page .auth-social-title { margin: 24px 0 16.5px; color: #9e9e9e; font-size: 12px; line-height: 17px; height: 17px; }
    #auth-modal.auth-is-page .auth-social { gap: 24.5px; }
    #auth-modal.auth-is-page .auth-modal-tip { color: #fff; font-size: 14px; line-height: 17px; }
    #auth-modal.auth-is-page .auth-modal-tip .auth-link { color: #ffd521; font-weight: 700; }
    #auth-modal.auth-is-page[data-view="reset"] { padding-top: 15px; }
    #auth-modal.auth-is-page .auth-reset-title { margin-bottom: 24px; font-size: 18px; line-height: 25px; }
    .auth-reset-steps { justify-content: space-around; margin-bottom: 24px; }
    .auth-reset-steps li { position: relative; flex-direction: column; gap: 8px; font-size: 14px; }
    .auth-reset-steps li + li::before { position: absolute; right: calc(50% + 24px); top: 14px; width: 65px; margin: 0; }
    #auth-modal.auth-is-page .auth-reset-steps { position: relative; display: grid; grid-template-columns: 67px 78px 67px; justify-content: space-between; width: calc(100% - 10px); margin: 0 auto 24px; }
    #auth-modal.auth-is-page .auth-reset-steps li { gap: 7.5px; font-size: 15px; line-height: 15.5px; color: #b4b7bb; }
    #auth-modal.auth-is-page .auth-reset-steps li span { position: relative; width: 29px; height: 29px; background: #25282c; color: transparent; font-size: 18px; line-height: 18px; --step-number-color: #909aa6; --step-number-mask: url('../images/quality/reset-step-2.svg'); }
    #auth-modal.auth-is-page .auth-reset-steps li.is-active span { background: #ffda27; color: transparent; --step-number-color: #000; }
    #auth-modal.auth-is-page .auth-reset-steps li span::before { content: ''; position: absolute; left: 9.655px; top: 7.576px; width: 10px; height: 13px; background: var(--step-number-color); -webkit-mask: var(--step-number-mask) center/contain no-repeat; mask: var(--step-number-mask) center/contain no-repeat; mask-mode: alpha; }
    #auth-modal.auth-is-page .auth-reset-steps li:first-child span { --step-number-mask: url('../images/quality/reset-step-1.svg'); }
    #auth-modal.auth-is-page .auth-reset-steps li:first-child span::before { left: 11.351px; top: 7.684px; width: 6.5px; }
    #auth-modal.auth-is-page .auth-reset-steps li:last-child span { --step-number-mask: url('../images/quality/reset-step-3.svg'); }
    #auth-modal.auth-is-page .auth-reset-steps li:last-child span::before { left: 10.213px; width: 9.5px; height: 13.5px; }
    #auth-modal.auth-is-page .auth-reset-steps li + li::before { content: none; }
    #auth-modal.auth-is-page .auth-reset-steps::before, #auth-modal.auth-is-page .auth-reset-steps::after { content: ''; position: absolute; top: 14.5px; width: calc(50% - 78.5px); height: .5px; background: #3b434e; }
    #auth-modal.auth-is-page .auth-reset-steps::before { left: 56px; }
    #auth-modal.auth-is-page .auth-reset-steps::after { right: 56px; }
    .home-road { padding-top: 0; padding-bottom: 80px; }
    .home-road-inner { padding-top: 24px; }
    .quality-article { max-width: 100%; padding-inline: 12px; }
    .quality-article .row-8 { width: 100%; }
    .art-detail .tim-title { display: block; font-size: 22px !important; line-height: 1.5 !important; overflow-wrap: anywhere; white-space: normal; }
    .art-detail .tim-content, .art-detail .tim-content p { max-width: 100%; font-size: 16px !important; line-height: 1.9 !important; text-indent: 0 !important; text-align: left !important; }
    .art-detail .tim-content img { width: auto !important; }
    .art-detail .tim-prev .tim-page, .art-detail .tim-next .tim-page { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14px; line-height: 20px; }
}
/* 20261110质检问题处理 end */
