/* 仅正式业务启用：保留源布局，补充可信账号徽标和现有剧集定价角标。 */
[data-cg-runtime="true"] [hidden]{display:none!important}
/* PC 顶部品牌区统一为 138×46 像素，图片沿既有 object-contain 等比显示。 */
@media(min-width:960px){[data-cg-runtime="true"] [data-cg-brand-logo]{width:138px;height:46px}}
/* 导航文字在原响应式字号上增加 2px，保留行高与选中态下划线位置。 */
[data-cg-runtime="true"] [data-cg-formal-navigation]>a>span{font-size:calc(1.6rem + 2px)}
[data-cg-runtime="true"] [data-cg-dialog="menu"] nav>a>span{font-size:calc(2.8rem + 2px)}
/* 源样式会旋转加载层的直接span；正式页只旋转独立圆环，文字保持静止。 */
[data-cg-runtime="true"] [data-chengguo-player-loading]{flex-direction:column;gap:12px;color:#fff;font-size:15px;line-height:1.5;text-shadow:0 2px 8px #000}
[data-cg-runtime="true"] [data-chengguo-player-loading]>span{animation:none;transform:none}
[data-cg-runtime="true"] [data-chengguo-player-loading]::before{content:"";width:32px;height:32px;border:3px solid #ffffff40;border-top-color:#fc7203;border-radius:50%;animation:chengguo-player-spin .9s linear infinite}
@keyframes chengguo-player-spin{to{transform:rotate(1turn)}}
/* 权限、订单与服务错误共用现有状态层，像素字号保证手机rem缩放后仍清晰。 */
[data-cg-runtime="true"] [data-chengguo-player-state]{position:absolute;inset:0;z-index:6;display:flex;align-items:center;justify-content:center;overflow:auto;padding:24px 20px;background:#000b;backdrop-filter:blur(6px);color:#fff;text-align:center;font-size:16px;line-height:1.6}
[data-cg-runtime="true"] [data-chengguo-player-card]{width:100%;max-width:320px;margin:auto;padding:28px 24px;border:1px solid #ffffff26;border-radius:20px;background:#1d1f24;box-shadow:0 16px 48px #0006}
[data-cg-runtime="true"] [data-chengguo-player-card]>svg{display:block;width:48px;height:48px;margin:0 auto 18px;color:#fc7203}
[data-cg-runtime="true"] [data-chengguo-player-message]{margin:0;overflow-wrap:anywhere;font-size:20px;font-weight:600;line-height:1.6}
[data-cg-runtime="true"] [data-chengguo-player-actions]{display:flex;flex-direction:column;gap:12px;margin-top:24px}
[data-cg-runtime="true"] [data-chengguo-player-actions]>:is(button,a){display:flex;align-items:center;justify-content:center;min-height:46px;padding:10px 16px;border:1px solid transparent;border-radius:10px;background:#fc7203;color:#fff;font-size:16px;font-weight:600;line-height:1.5;text-decoration:none;cursor:pointer;overflow-wrap:anywhere}
[data-cg-runtime="true"] [data-chengguo-player-actions]>[data-chengguo-player-recharge]{order:1;border-color:#ffffff40;background:#ffffff0d}
[data-cg-runtime="true"] [data-chengguo-player-actions]>:is(button,a):hover{filter:brightness(1.12)}
[data-cg-runtime="true"] [data-chengguo-player-actions]>:is(button,a):focus-visible{outline:2px solid #fff;outline-offset:3px}
[data-cg-runtime="true"] [data-chengguo-player-actions]>button:disabled{opacity:.6;cursor:wait}
/* 保留账号通用样式；顶部入口的视觉调整单独限定在 header 内。 */
[data-cg-account-action="open"]>span{position:relative;gap:.5rem;overflow:visible}
[data-cg-account-name]{max-width:8rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cg-account-avatar{display:inline-flex;width:2.4rem;height:2.4rem;flex:none;align-items:center;justify-content:center;border-radius:50%;font-size:1.4rem;color:#fff}
.cg-vip-badge{position:absolute;right:-.4rem;top:-.7rem;border:1px solid #d28a22;border-radius:.4rem;background:#ecc071;color:#49310b;font-size:.9rem;font-weight:700;line-height:1.2rem;padding:0 .3rem}
/* 顶部账号入口随昵称自适应，给头像与文字保留独立空间，长昵称仅在自身区域省略。 */
[data-cg-runtime="true"] header [data-cg-account-action="open"]{flex:none;border-radius:999px;outline-offset:3px}
[data-cg-runtime="true"] header [data-cg-account-action="open"]>span{position:relative;width:auto;min-width:72px;max-width:200px;height:40px;gap:8px;overflow:visible;padding:5px 12px 5px 6px;border:1px solid #3c3f48;border-radius:999px;background:linear-gradient(135deg,#272930,#1d1f25);color:#f4f4f5;font-size:14px;font-weight:500;line-height:20px;transition:background .18s,border-color .18s,box-shadow .18s}
[data-cg-runtime="true"] header [data-cg-account-action="open"]:hover>span{border-color:#fc720380;background:linear-gradient(135deg,#303139,#25272e);box-shadow:0 0 0 3px #fc72030d}
[data-cg-runtime="true"] header [data-cg-account-action="open"]:focus-visible{outline:2px solid #fc7203}
[data-cg-runtime="true"] header [data-cg-account-name]{min-width:0;max-width:112px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
[data-cg-runtime="true"] header [data-cg-account-avatar]{display:inline-flex;width:28px;height:28px;flex:none;align-items:center;justify-content:center;border:1px solid #ffffff26;border-radius:50%;box-shadow:0 1px 4px #0003;font-size:14px;font-weight:600;line-height:1;color:#fff}
/* PC 会员标识放入账号入口，避免悬浮角标挤压昵称或超出导航。 */
[data-cg-runtime="true"] header [data-cg-vip-badge]{position:static;display:inline-flex;flex:none;align-items:center;justify-content:center;height:18px;padding:0 5px;border:1px solid #d8a64c;border-radius:5px;background:linear-gradient(135deg,#f6d88a,#dfaf55);color:#51370e;font-size:10px;font-weight:700;line-height:16px;letter-spacing:.3px}
[data-cg-runtime="true"] [data-access-badge]{position:relative}
[data-cg-runtime="true"] [data-access-badge]::after{content:attr(data-access-badge);position:absolute;right:0;top:0;padding:0 .3rem;border-radius:.3rem;background:#fc7203;color:white;font-size:1rem;line-height:1.3rem;pointer-events:none}
@media(max-width:959px){
.cg-account-avatar{width:3.8rem;height:3.8rem;font-size:2.2rem}
.cg-vip-badge{font-size:1.4rem;line-height:1.8rem;top:-.9rem}
/* 手机端收起已显示头像的昵称，保留可访问文本；身份未加载时仍显示登录文字。 */
[data-cg-runtime="true"] header [data-cg-account-action="open"]>span{min-width:36px;max-width:72px;height:36px;gap:0;padding:4px;font-size:12px;line-height:18px}
[data-cg-runtime="true"] header [data-cg-account-avatar]{width:26px;height:26px;font-size:13px}
[data-cg-runtime="true"] header [data-cg-account-avatar]:not([hidden])+[data-cg-account-name]{position:absolute;width:1px;height:1px;max-width:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
[data-cg-runtime="true"] header [data-cg-vip-badge]{position:absolute;right:-4px;bottom:-2px;top:auto;height:12px;padding:0 3px;border-radius:4px;font-size:8px;line-height:10px}
[data-cg-runtime="true"] [data-access-badge]::after{font-size:1.6rem;line-height:1.9rem}
}
