/* 正式补充只处理公共能力、真实空态及后台可变内容，源卡片/正文几何沿原CSS。 */
.az-runtime [hidden]{display:none!important}
.az-runtime .nf-logo-text:before,.az-runtime .nf-logo-text:after{display:none}
.az-runtime .nf-logo[data-az-has-logo] .nf-logo-text{display:none}
.az-runtime .nf-logo picture{display:block;flex:none}
.az-runtime .nf-logo picture img{display:block;object-fit:contain}
.az-runtime .nf-nav{overflow:visible}
.az-runtime .nf-nav .base-menu-navigation{min-width:0;flex:1;gap:inherit}
/* 按公共fit测量完整节点后收纳，不再把栏目文字压缩成单字。 */
.az-runtime .nf-nav>a{flex:none}
.az-runtime .nf-nav [data-base-menu-fit]{width:auto;max-width:100%;flex:1 1 0;overflow:visible;column-gap:12px}
.az-runtime .nf-nav [data-base-menu-fit]>[data-base-menu-node]{display:inline-flex;flex:none;max-width:none;overflow:visible;grid-template-columns:none}
.az-runtime .nf-nav [data-base-menu-fit]>[data-base-menu-node]>a{flex:none;overflow:visible;text-overflow:clip}
.az-runtime .nf-nav [data-base-menu-node]>a,.az-runtime .nf-nav [data-base-menu-more]{white-space:nowrap}
.az-runtime .nf-nav [aria-current=page]{color:#fbd4c8}
.az-runtime .base-menu-more,.az-runtime .base-menu-expand{color:inherit}
.az-account-trigger{position:relative;flex:none;max-width:120px;min-height:40px;border:1px solid #d97a7a66;border-radius:6px;padding:8px 12px;background:#2d1a28;color:#fbd4c8;cursor:pointer;font-family:inherit;font-size:13px;line-height:1.3;font-weight:600;overflow-wrap:anywhere}
.az-header-vip{position:absolute;right:-3px;top:-7px;padding:1px 4px;border-radius:3px;background:#f3d085;color:#24180d;font:bold 9px/1.4 sans-serif}
.az-runtime .nf-menu-btn[data-az-menu-open]{align-items:center;justify-content:center;flex:none;width:44px;height:44px;border:1px solid #d97a7a66;border-radius:6px;background:#2d1a28;color:#fbd4c8;font-size:22px;cursor:pointer}
.az-mobile-menu{position:fixed;inset:0 auto 0 0;margin:0;border:0;border-right:1px solid #d97a7a66;padding:18px;width:min(88vw,360px);max-width:100vw;height:100dvh;max-height:100dvh;background:#1e0f1c;color:#f5eaee;overflow:auto;overscroll-behavior:contain}
.az-mobile-menu::backdrop{background:rgba(0,0,0,.7)}
.az-menu-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}
.az-menu-heading button{width:44px;height:44px;border:1px solid #d97a7a66;border-radius:6px;background:#2d1a28;color:inherit;font-size:28px;cursor:pointer}
.az-mobile-menu .base-menu-navigation{width:100%;display:flex;flex-direction:column;align-items:stretch;gap:8px}
.az-mobile-menu .base-menu-node{display:flex;align-items:center;flex-wrap:wrap;min-height:44px;border-bottom:1px solid #ffffff12}
.az-menu-link,.az-menu-home{display:block;flex:1;padding:12px;color:inherit;text-decoration:none;overflow-wrap:anywhere}
.az-mobile-menu .base-menu-expand{width:44px;height:44px;color:inherit}
.az-mobile-menu .base-menu-children{background:#2d1a28;color:#f5eaee;border-color:#d97a7a66}
.az-runtime .az-empty{margin:0;padding:28px 16px;color:#cbd0dc;text-align:center;grid-column:1/-1;overflow-wrap:anywhere}
.az-runtime .nf-hero>.az-empty{display:grid;place-items:center;position:absolute;inset:0}
.az-runtime .nf-feature-track>.az-empty{width:100%;flex:none}
.az-runtime .description{white-space:pre-line}
.az-runtime .detail-info h1,.az-runtime .player-layout h1{overflow-wrap:anywhere}
.az-runtime .nf-poster[data-access-badge]:after,.az-runtime .poster[data-access-badge]:after{content:attr(data-access-badge);position:absolute;right:6px;bottom:6px;padding:2px 5px;border-radius:3px;background:#d4af37;color:#1d1220;font-weight:700;font-size:11px;pointer-events:none}
.az-runtime .episodes a{position:relative}
.az-runtime .episodes a[data-access-badge]:after{content:attr(data-access-badge);position:absolute;right:0;top:0;transform:translate(20%,-35%);padding:1px 3px;border-radius:3px;background:#d4af37;color:#1d1220;font-size:9px;line-height:1.2;font-weight:700;pointer-events:none}
.az-runtime .episodes [aria-disabled=true]{opacity:.4;cursor:not-allowed}
.az-runtime .az-footer{display:block!important;position:relative;clear:both;margin-top:24px;padding-bottom:env(safe-area-inset-bottom);overflow:visible}
/* 源CSS的网格最大宽度只有400px；正式公共分组统一留在有内边距的内容容器。 */
.az-footer-inner{width:min(95vw,1600px);margin:0 auto;padding:40px 4.6% 28px}
.az-runtime .az-footer .tb-footer-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1.1fr) minmax(0,.8fr);max-width:none;margin:0;padding:0;gap:32px}
.az-footer .tb-footer-grid>*{min-width:0}
.az-footer .tb-footer-logo{display:flex;align-items:center;gap:12px;color:#f5f6fa;font-size:20px}
.az-footer .tb-footer-logo strong{min-width:0;overflow-wrap:anywhere}
.az-footer .tb-footer-logo img{max-width:140px;width:auto;height:40px;object-fit:contain}
.az-footer p{overflow-wrap:anywhere;line-height:1.8;margin:12px 0 0}
.az-footer h3{color:#f5f6fa;font-size:16px;margin:0 0 12px}
.az-runtime .az-footer .tb-friends-track{display:flex;flex-wrap:wrap;justify-content:flex-start;overflow:visible;gap:8px 16px;white-space:normal}
.az-footer .tb-friends-track a{display:inline-flex;align-items:center;min-height:30px;padding:4px 0;overflow-wrap:anywhere}
.az-runtime .az-footer .tb-friends{max-width:none;margin:10px 0 0;padding:0}
.az-footer-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:24px;margin-top:28px;padding-top:24px;border-top:1px solid #ffffff12}
.az-footer-details:empty{display:none}
.az-footer .az-footer-details>*{margin:0;min-width:0}
.az-footer .site-footer-contacts{align-self:end}
.az-footer .site-footer-functions,.az-footer .site-footer-addresses,.az-footer .site-footer-contacts,.az-footer .site-footer-anti-lost{min-width:0}
.az-runtime .site-tools{--site-tools-accent:#d97a7a}
/* 基础模式新增页只复用正式外壳，标签与地址在窄屏内自然换行。 */
.az-runtime .az-base-tags{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(180px,100%),1fr));gap:12px;padding:8px 0}
.az-runtime .az-base-tag{display:flex;flex-direction:column;gap:8px;min-width:0;padding:16px;background:#18383e;border:1px solid #2b4b50;border-radius:10px;color:#f2f5f5;overflow-wrap:anywhere}
.az-runtime .az-base-tag:hover{border-color:#d97a7a}
.az-runtime .az-base-tag small,.az-runtime .az-base-description{color:#9fb0b6}
.az-runtime .az-base-description{margin:0 0 20px;line-height:1.7}
.az-runtime .az-base-address{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0;padding:20px;background:#18383e;border:1px solid #2b4b50;border-radius:10px;margin:12px 0;overflow-wrap:anywhere}
.az-runtime .az-base-address>div{min-width:0}
.az-runtime .az-base-address p{margin:8px 0 0;color:#9fb0b6}
.az-runtime .az-base-address>a{flex:none;min-height:44px;display:inline-flex;align-items:center;justify-content:center}
@media(max-width:480px){.az-runtime .az-base-address{align-items:stretch;flex-direction:column}.az-runtime .az-base-address>a{align-self:flex-start}.az-runtime .az-base-tags{grid-template-columns:repeat(2,minmax(0,1fr))}.az-runtime .az-base-tag{padding:12px}}
@media(min-width:901px){
 .az-runtime .nf-logo:not([data-az-has-logo]),.az-runtime .nf-logo-h1{max-width:min(30vw,420px);min-width:0}
 .az-runtime .nf-logo-text{white-space:normal;overflow-wrap:anywhere;line-height:1.4}
 .az-runtime .nf-logo[data-az-has-logo][data-az-desktop-logo="1"]{width:138px;height:46px}
 .az-runtime .nf-logo[data-az-has-logo][data-az-desktop-logo="1"] img{width:138px;height:46px;max-width:138px;max-height:46px;object-fit:contain}
 .az-runtime .nf-logo[data-az-desktop-logo="0"] picture{display:none}
 .az-runtime .nf-logo[data-az-desktop-logo="0"] .nf-logo-text{display:inline-block}
 .az-runtime .nf-menu-btn[data-az-menu-open]{display:none!important}
}
@media(max-width:900px){
 .az-runtime .nf-header-inner{flex-wrap:wrap}
 .az-runtime .nf-menu-btn[data-az-menu-open]{display:inline-flex!important;order:0}
 .az-runtime .nf-logo-h1{order:1;min-width:0;margin:0}
 .az-runtime .nf-logo{min-width:0;max-width:calc(100vw - 170px)}
 .az-runtime .nf-logo-text{font-size:18px;white-space:normal;overflow-wrap:anywhere}
 .az-runtime .nf-logo img{max-width:min(150px,calc(100vw - 170px))}
 .az-runtime .az-account-trigger{order:2;margin-left:auto;max-width:104px}
 .az-runtime .nf-search{order:3;flex:1 1 100%;width:100%;margin:0}
 .az-runtime .nf-search input{flex:1;min-width:0;width:auto}
 .az-runtime .nf-nav{order:4;overflow:visible}
 .az-runtime .nf-nav [data-base-menu-fit]{flex:1 1 0}
 .az-runtime .nf-nav [data-base-menu-more]{background:#1e3a40;border:0;border-radius:999px;padding:7px 14px;font-size:13.5px}
 .az-runtime .az-footer{margin-top:20px}
 .az-footer-inner{width:100%;padding:28px 20px 24px}
 .az-runtime .az-footer .tb-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
 .az-footer-brand{grid-column:1/-1}
 .az-footer-details{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
 .az-footer .site-footer-contacts{grid-column:1/-1}
}
