/* PC 修正（2026-11-04 按设计稿重做后）：视觉全部来自 design.css（设计稿 style.css 原样）。
   这里只放 proto.css（H5 手机壳 / 组件）与设计稿冲突时的修正，以及 SSR 外壳自己的结构差异；不改类名，不改 JS 挂点。 */

/* proto.css 把 html/body/#screen 钉成手机视口高并内部滚动，桌面按内容撑开、整页滚动 */
html, body.pc { height: auto !important; min-height: 100vh; overflow: visible !important; }
body.pc { overscroll-behavior: auto; }
.pc #screen { position: static; inset: auto; height: auto; overflow: visible; scrollbar-width: auto; overscroll-behavior: auto; }

/* proto.css 的 nav{position:absolute;…} 是手机底栏，顶栏导航 / 移动导航 / 页脚分组都是 nav，全部复位 */
.pc .site-header nav, .pc .mobile-nav, .pc nav.footer-group { position: static; inset: auto; height: auto; background: none; border: 0; padding: 0; z-index: auto; }
.pc .site-header nav { align-items: center; gap: 20px; }
.pc nav.footer-group { display: flex; flex-direction: column; }

/* 外层 main 只是 JS 挂点容器：不吃设计稿 .cm-site main / .cm-home main 的版心与负边距（那些规则给 #screen 内的 .home-main / .page-main） */
.cm-site main.pc-main { max-width: none !important; padding: 0 !important; margin: 0 !important; gap: 0 !important; display: block; position: static; overflow: visible; z-index: auto; }
.cm-home .home-main { position: relative; margin-top: -50px; gap: 44px; padding-top: 0; z-index: 2; }
.cm-home .home-main > section { gap: 17px; }
@media (max-width: 767px) { .cm-home .home-main { margin-top: -10px; gap: 28px; } }
.cm-site #screen.page-main { width: 100%; }

/* 年龄门：盖住整页（含顶栏 / 页脚）。显隐只看 html.age-pending（head 里同步脚本首绘前定），正文不隐藏，免得确认前后布局位移 */
.pc .age-gate { position: fixed; inset: 0; z-index: 90; background: #0c0c0f; max-width: none; overflow-y: auto; display: none; }
.age-pending .pc .age-gate { display: flex; }
/* 标题从 h1 改成 div（每页只留一个 h1），样式照 proto.css 的 .age-gate h1 */
.age-gate .age-gate-title { font-size: 35px; line-height: 1.12; letter-spacing: -1.2px; margin: 13px 0 17px; font-weight: 700; color: inherit; }
@media (max-height: 720px) { .age-gate .age-gate-title { font-size: 31px; } }
.pc .age-gate-main { max-width: 420px; margin: auto; }

/* 头像里放用户头像图 */
.head-avatar > img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
/* design.css 给头像加了 overflow:hidden，红点在圆角外会被切掉一半；图片和首字母自带圆角，这里放开不影响头像形状。 */
.head-avatar.unread { position: relative; overflow: visible; }
.head-avatar.unread::after { content: ''; position: absolute; top: -1px; right: -1px; width: 8px; height: 8px; border-radius: 50%; background: #e50914; border: 2px solid #0b0c0f; }

/* H5 浮层：.veil 原是手机壳内 absolute，桌面钉到视口；Sheet 在 flex 的 .veil 里水平居中、宽度收到 520；
   关闭按钮 .icon-btn 不吃 design.css 的全局 button 底色与边框 */
/* 沉浸播放层是 z-index 100，弹层（.veil 50、.clip-end-backdrop 65）会被它盖住，而背景此时已 inert，整页点不动：沉浸态里把弹层抬到它上面 */
.is-player-immersive #overlay > div > * { z-index: 120; }
.pc #overlay .veil, .pc #overlay .clip-end-backdrop { position: fixed; }
.pc #overlay .veil { justify-content: center; }
.pc .sheet, #overlay .sheet { max-width: 520px; left: auto; transform: none; }
#overlay .icon-btn { background: none; border: 0; }
/* 桌面宽度下弹层在屏幕正中（owner 2026-11-18）：不再贴底，四角圆角、补回底边框、去掉手机抽屉的拖动条；窄屏仍是底部抽屉 */
@media (min-width: 768px) {
  .pc #overlay .veil { align-items: center; padding: 24px; }
  .pc #overlay .sheet { border-radius: 15px; padding-top: 22px; padding-bottom: 24px; max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); box-shadow: 0 18px 60px #000a; animation: pc-sheet-in .2s ease-out; }
  .pc #overlay .sheet.share-sheet { border-radius: 12px; padding-bottom: 22px; }
  .pc #overlay .royal-sheet { border-bottom: 1px solid #b58a4966; }
  .rewards-mode #overlay .royal-sheet { border-bottom-color: #c7a77a66; }
  .pc #overlay .sheet .sheet-handle { display: none; }
}
@keyframes pc-sheet-in { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .pc #overlay .sheet { animation: none; } }

/* 简介过长只显示前 3 行，点一下展开（core/boot.js 的 [data-clamp]） */
.clamp-text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer; }
.clamp-text.is-open { display: block; -webkit-line-clamp: unset; cursor: auto; }

/* proto.css 的 .primary{width:100%;height:44px;margin-top:20px} 是 H5 表单大按钮；页面内（#screen）的链接 / .btn 主按钮按设计稿自适应宽度，浮层里的 H5 组件不受影响 */
.cm-site #screen .primary { width: auto; margin-top: 0; }
.cm-site #screen .btn.primary { height: auto; }

/* design.css 的全局 button:hover / button.primary:hover（0,2,1）会把 H5 组件按钮悬停刷成 #292a30 / 红底。
   浮层与收银台底栏里按 H5 原背景复位（H5 本身没有悬停换色），播放器控件同理。 */
:is(#overlay, #commerce-footer) .primary:hover:not(:disabled) { background: var(--red); }
:is(#overlay, #commerce-footer) .royal-sheet .primary:hover:not(:disabled) { background: linear-gradient(#ffe6a1, #d89c34); }
.rewards-mode :is(#overlay, #commerce-footer) .royal-sheet .primary:hover:not(:disabled) { background: linear-gradient(#fff0cb, #cba16b); }
/* 底栏支付按钮（Review order）：design.css 的全局 button:hover 会把金色底换成深灰、深色字看不清，悬停保持金色并略提亮 */
.coin-pay-button:hover:not(:disabled) { background: linear-gradient(#fff3c9, #f3c768 50%, #d89c34); border-color: #ffe7ad; color: #482609; }
:is(#overlay, #commerce-footer) .primary.inbox-secondary:hover:not(:disabled) { background: #26272c; }
#overlay .share-sheet .sheet-head .icon-btn { background: #2c2c2c; }
#overlay .icon-btn:hover:not(:disabled) { background: none; }
#overlay .share-sheet .sheet-head .icon-btn:hover:not(:disabled) { background: #2c2c2c; }
.pc .clip-end-primary:hover:not(:disabled) { background: #ebc38a; }
.pc .clip-end-vip .clip-end-primary:hover:not(:disabled) { background: #e51b34; }
.pc .unlock-dialog .clip-end-primary.unlock-secondary:hover:not(:disabled) { background: transparent; }
.pc .clip-end-close:hover:not(:disabled) { background: #ffffff04; }
.pc .round-control:hover:not(:disabled), .pc .episode-button:hover:not(:disabled) { background: #242529; }
.pc .clear-hint:hover:not(:disabled) { background: #0004; }
.pc .drama-episodes .ep-cell:hover:not(:disabled) { background: #1b1c20; }

/* design.css 的 .cm-site header{背景/下边框/毛玻璃 !important} 与 .cm-site header>div:first-child{高 76px、左右 --cm-pad …!important}
   本意只给站点顶栏，但会打到页面与浮层里 H5 组件自己的 <header>（反馈页头出现黑条、签到头图文字被推进 63px 且高度钉死）。这里复位。 */
.cm-site :is(#screen, #overlay) header { background: none !important; border-bottom: 0 !important; backdrop-filter: none !important; }
.cm-site :is(#screen, #overlay) header > div:first-child { max-width: none !important; padding-left: 0 !important; padding-right: 0 !important; height: auto !important; gap: normal !important; }

/* 顶栏：design.css 给 .header-actions flex-basis 590px、导航 flex-basis 0，1300 宽以下导航先被压缩，「Top 20 / Way home」被裁掉。
   桌面宽度下导航按内容宽度不收缩，让搜索框收窄（header-actions 有 315px 下限）。 */
@media (min-width: 1101px) { .pc .site-header nav { flex: 1 0 auto; } }

/* 顶栏（owner 2026-11-16 要求照黄果的顶栏）：去掉「Download APP」按钮（右下角浮动的 APP 入口还在）；菜单字加大加粗，当前页用红色；
   搜索框和 Store、头像一起靠右，搜索图标放在框的右边。 */
@media (min-width: 768px) {
  .pc .site-header .head-inner { gap: clamp(18px, 2vw, 36px); }
  html .pc.cm-site .site-header nav { gap: clamp(15px, 1.55vw, 30px) !important; }
  .pc.cm-site .site-header nav a { font-size: clamp(14px, 1.06vw, 16.5px); font-weight: 650; color: #e9e9ee; letter-spacing: .1px; transition: color .15s ease; }
  .pc.cm-site .site-header nav a:hover { color: #fff; }
  .pc.cm-site .site-header nav a.active { color: #ff2d3d !important; font-weight: 750 !important; }
  .pc .site-header .header-actions { flex: 0 1 auto; min-width: 0; max-width: none; margin-left: auto; gap: 14px; }
  .pc .site-header .header-actions .cm-search { flex: 0 1 300px; width: 300px; min-width: 150px; height: 44px; padding: 0 8px 0 18px; background: #1b1c20 !important; border-color: #ffffff14 !important; }
  .pc .site-header .header-actions .cm-search input { font-size: 14px !important; }
  .pc .site-header .header-actions .cm-search input::placeholder { color: #8d8f98; }
  .pc .site-header .header-search-submit { order: 2; width: 34px; height: 34px; }
  .pc .site-header .header-search-submit svg { width: 19px; height: 19px; }
}
@media (min-width: 768px) and (max-width: 1100px) { .pc .site-header nav { flex: 1 1 0; } .pc .site-header .header-actions .cm-search { flex-basis: 180px; } }

/* 右下浮动工具（56px 宽、贴右 22px）在 1280–1600 宽下伸进内容区约 15–22px，盖住区块右上角的「View all」与选集面板边缘。
   768 以上收到 46px 宽并居中放进页边距（--cm-pad），不再压内容。 */
@media (min-width: 768px) {
  .cm-tools { right: max(4px, calc((var(--cm-pad) - 46px) / 2)); gap: 12px; }
  .cm-tools > a, .cm-tools > button { width: 46px; height: 50px; min-height: 50px; border-radius: 9px; }
  .cm-tools svg { width: 23px; height: 23px; }
  .cm-tools > .floating-app svg { width: 19px; height: 24px; }
  .cm-tools > .floating-support svg { width: 21px; height: 21px; }
}
/* 客服入口：浮动工具第一个，图标 + 「Help」，红色描边与普通工具区分 */
.cm-tools > .floating-support { flex-direction: column; gap: 2px; border-color: #e5091499; color: #fff; }
.cm-tools > .floating-support svg { width: 23px; height: 23px; stroke-width: 2.1; }
/* 页脚第五栏 Follow us（设计稿只有四栏，配了社交链接才多一栏） */
.site-footer .footer-inner.has-social { grid-template-columns: minmax(250px, 1fr) 130px 130px 90px 150px; gap: 56px; }
.site-footer .footer-social > a { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.site-footer .footer-social svg { width: 14px; height: 14px; flex: none; fill: currentColor; stroke: none; }
@media (min-width: 1750px) { .site-footer .footer-inner.has-social { grid-template-columns: minmax(340px, 1fr) 150px 150px 110px 170px; gap: 90px; } }
@media (max-width: 1000px) { .site-footer .footer-inner.has-social { grid-template-columns: minmax(200px, 1fr) 95px 95px 60px 130px; gap: 24px; } }
@media (max-width: 767px) { .site-footer .footer-inner.has-social { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 20px; } .site-footer .footer-social { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; gap: 12px 20px; } .site-footer .footer-social > b { flex-basis: 100%; margin: 0; } }
.footer-group .footer-business { color: #999ca6; line-height: 1.6; max-width: 220px; overflow-wrap: anywhere; }

/* 卡片网格：design.css 在 1300 以下降到 5 列，而首页区块（12 / 18 部）与列表页（每页 24 部）都按 6 的倍数取数，5 列会留孤行；1101–1300 保持 6 列 */
@media (min-width: 1101px) and (max-width: 1300px) { .catalog-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px 14px; } }

/* 浮层（评论 / 分享 / 选集 / 解锁 / 收银 sheet）全是 H5 组件，design.css 的裸 button{边框/底色/内边距/圆角}会给 Top·Latest 标签、Reply、点赞、Post 套上方框。
   :where 保持 0,0,1 特异性，只盖掉 design.css 的裸 button，proto.css 的类规则照常生效（同 pc-account.css 的 .pc-panel-host 处理）。 */
:where(#overlay, #commerce-footer) button { border: 0; background: none; padding: 0; border-radius: 0; }

/* 404 / 出错页：套设计稿 .empty 空状态，垂直居中在内容区 */
.pc-status-page { margin: auto 0; width: 100%; max-width: 640px; align-self: center; }
.pc-status-page .empty-symbol { font-size: 44px; font-weight: 800; letter-spacing: 2px; color: #e50914; }
.pc-status-page h2 { color: #f5f5f1; }

/* 首页 hero 剧名从 h1 降为 h2（站点级 h1 在页首 .sr-only）：照 design.css 的 .cm-hero h1 / h1.cm-hero-title 规则 */
.cm-hero h2.cm-hero-title { margin: 0; font-family: Inter, 'Helvetica Neue', Arial, sans-serif !important; font-weight: 800 !important; max-width: 620px; text-shadow: 0 4px 36px #0006 !important;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; max-inline-size: 100%; max-height: 2.2em; text-overflow: ellipsis; word-break: normal; overflow-wrap: normal; flex-shrink: 0; }
html[lang=en] .cm-home .cm-hero h2.cm-hero-title { font-size: clamp(36px, 4.2vw, 64px) !important; line-height: 1.1 !important; letter-spacing: -1.5px !important; }
@media (max-width: 767px) { html[lang=en] .cm-home .cm-hero h2.cm-hero-title { font-size: clamp(26px, 8.5vw, 36px) !important; letter-spacing: -.7px !important; } }

/* /vip 头像旁昵称从 h1 改成 strong（页面 h1 是标题行），样式照 proto.css 的 .coin-member h1 */
.coin-member .coin-member-name { display: block; font-size: 19px; font-weight: 600; letter-spacing: -.5px; margin: 0; color: #ffe9c6; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* 首页 hero 左右切换按钮：平时淡（运营 2026-11-10「点击的淡一点」），悬停 / 聚焦才亮；整块可左右划，纵向仍交给页面滚动。 */
.cm-home .cm-hero { touch-action: pan-y; }
.cm-home .hero-step-controls button { background: #0000002e; border-color: #ffffff26; color: #ffffffa6; opacity: .55; transition: opacity .18s ease, background .18s ease, border-color .18s ease; }
.cm-home .hero-step-controls button:hover, .cm-home .hero-step-controls button:focus-visible { opacity: 1; background: #ffffff1f; border-color: #ffffff66; color: #fff; }

/* 首页 hero 整张图可点（owner 2026-11-16，和黄果一样）：图上盖一个到播放页的链接；文案层不拦点击，只有按钮、圆点、缩略条自己接点击。 */
.cm-home #home-hero .hero-cover-link { position: absolute; inset: 0; }
.cm-home #home-hero .cm-hero-inner { pointer-events: none; }
.cm-home #home-hero .cm-hero-actions, .cm-home #home-hero .hero-step-controls, .cm-home #home-hero .hero-dots, .cm-home #home-hero .cm-hero-rail { pointer-events: auto; }

/* 首页公告条跑马灯（home.js 的 notice()）：圆角深色条，左边一块带铃铛的「Notice」标签，右边内容滚动（owner 2026-11-16 要求照黄果的样子做好看点）。
   轨道里的内容整组重复了一遍，平移一半正好循环；鼠标移上去或键盘聚焦时暂停。手机宽度也用这套。 */
.cm-home .home-main > #home-notice { height: 46px !important; padding: 0 !important; gap: 0; border: 1px solid #ffffff0f !important; border-radius: 10px !important; background: #15161a !important; overflow: hidden; font-size: 13.5px; line-height: 1; }
.cm-home .home-main > #home-notice > span { flex-shrink: 0; align-self: stretch; display: inline-flex; align-items: center; gap: 7px; padding: 0 16px 0 14px; border: 0; border-radius: 0; background: #23252b; color: #f3f3f5; font-size: 13.5px; font-weight: 650; letter-spacing: .2px; }
.cm-home #home-notice > span svg { width: 17px; height: 17px; fill: none; stroke: #ff3b47; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.cm-home #home-notice .notice-marquee { flex: 1; min-width: 0; align-self: stretch; display: flex; align-items: center; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 48px), transparent); }
.cm-home #home-notice .notice-track { display: inline-flex; align-items: center; white-space: nowrap; will-change: transform; }
.cm-home #home-notice .notice-track.running { animation: notice-scroll var(--notice-dur, 30s) linear infinite; }
.cm-home #home-notice .notice-marquee:hover .notice-track, .cm-home #home-notice .notice-track:focus-within { animation-play-state: paused; }
.cm-home #home-notice .notice-item { flex: 0 0 auto; display: inline-flex; align-items: center; padding: 0; border: 0; background: none; color: #d9dadf; font: inherit; white-space: pre; cursor: pointer; transition: color .15s ease; }
.cm-home #home-notice .notice-item em { font-style: normal; font-weight: 650; color: #ff4654; }
.cm-home #home-notice .notice-item::after { content: '•'; margin: 0 26px; color: #ffffff4d; }
.cm-home #home-notice .notice-item:hover { color: #fff; }
.cm-home #home-notice .notice-item:hover em { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 767px) { .cm-home .home-main > #home-notice { height: 40px !important; font-size: 12.5px; } .cm-home .home-main > #home-notice > span { font-size: 12.5px; padding: 0 12px 0 10px; } }
@keyframes notice-scroll { to { transform: translateX(-50%); } }

/* 首页 hero 桌面端：整幅宽图轮播（2026-11-16 owner 要求参考黄果首页轮播）。之前图只占右边 64%、高 790px，一屏只看得到轮播；
   现在图铺满整宽，文案在左下角收成一行标题 + 一行简介，右下角一排竖版封面缩略图代替圆点，两侧箭头悬停才出现。手机宽度不变。 */
.cm-home .hero-edge-prev, .cm-home .hero-edge-next { display: none; }
@media (min-width: 768px) {
  /* 高度固定为 1920:650（和黄果首页一样，owner 2026-11-16：按图片高度撑开太高），图片完整显示不裁切：
     UI 按 1920×650 出图正好铺满；比例不同的图按高度放满、居中，两边空出来的地方用同一张图的模糊版垫底。
     不用 aspect-ratio：它和最小高度一起会把宽度撑出屏幕。 */
  .cm-home #home-hero { width: 100%; max-width: 100%; height: clamp(460px, 33.854vw, calc(100svh - 40px)) !important; min-height: 0 !important; }
  .cm-home #home-hero .hero-art-atmosphere { background-position: center; filter: blur(28px) brightness(.7); opacity: 1; transform: scale(1.12); }
  .cm-home #home-hero > img.hero-feature-image { left: 0 !important; right: auto !important; width: 100% !important; object-fit: contain !important; object-position: center center !important; -webkit-mask-image: none; mask-image: none; }
  .cm-home #home-hero .cm-hero-shade { background: linear-gradient(90deg, #0b0c0fc7 0%, #0b0c0f70 34%, #0b0c0f0a 76%) !important; }
  .cm-home #home-hero .cm-hero-bottom { height: 42% !important; background: linear-gradient(0deg, #0b0c0f 0%, #0b0c0fcc 28%, transparent) !important; }
  .cm-home #home-hero .cm-hero-inner { padding: calc(var(--site-header-height) + 16px) var(--cm-pad) calc(50px + clamp(18px, 1.9vw, 36px)) !important; } /* 下面的公告条往上叠了 50px */
  .cm-home #home-hero .cm-hero-copy { gap: 0 !important; max-width: min(46%, 760px) !important; min-width: 0; }
  .cm-home #home-hero .cm-eyebrow { font-size: 11px; letter-spacing: 3px; margin-bottom: 8px; }
  .cm-home #home-hero h2.cm-hero-title { order: 1; display: block; max-width: 100%; max-height: none; white-space: nowrap; font-size: clamp(26px, 2.1vw, 40px) !important; line-height: 1.2 !important; letter-spacing: -.5px !important; text-shadow: 0 3px 18px #0006 !important; }
  .cm-home #home-hero .cm-hero-meta { order: 2; margin-top: 12px; font-size: clamp(12px, .94vw, 16px) !important; gap: 0 !important; flex-wrap: nowrap; min-width: 0; white-space: nowrap; color: #f1f1f4; }
  .cm-home #home-hero .cm-hero-meta > span:first-child { display: none; } /* EXCLUSIVE 角标和上面的 ORIGINALS 眉题重复 */
  .cm-home #home-hero .cm-hero-meta > span { overflow: hidden; text-overflow: ellipsis; }
  .cm-home #home-hero .cm-hero-meta > span:nth-child(2) { flex-shrink: 0; }
  .cm-home #home-hero .cm-hero-meta > span + span + span::before { content: ''; display: inline-block; width: 1px; height: 1em; margin: 0 14px; vertical-align: -.12em; background: #ffffff66; }
  .cm-home #home-hero .cm-hero-copy > p { order: 3; margin: 8px 0 0; max-width: 100% !important; font-size: clamp(12px, .84vw, 15px) !important; line-height: 1.5 !important; color: #e4e4ea !important; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1 !important; line-clamp: 1; overflow: hidden; }
  .cm-home #home-hero .cm-hero-copy > p:empty { display: none; }
  .cm-home #home-hero .cm-hero-actions { order: 4; margin-top: clamp(16px, 1.6vw, 28px) !important; }
  .cm-home #home-hero .cm-hero-actions a { height: clamp(38px, 2.4vw, 46px) !important; padding: 0 clamp(18px, 1.5vw, 28px) !important; border-radius: 999px !important; font-size: clamp(13px, .9vw, 16px) !important; font-weight: 650; }
  .cm-home #home-hero .hero-step-controls, .cm-home #home-hero .hero-dots { display: none; }

  /* 右下角缩略条：竖版封面，当前这张加红框并抬起；放不下时横向滚动（home.js 把当前张滚到可见处） */
  .cm-home #home-hero .cm-hero-rail { display: flex; right: var(--cm-pad); bottom: calc(50px + clamp(14px, 1.6vw, 30px)); gap: 9px !important; align-items: flex-end !important; max-width: 46%; padding: 10px 2px 2px; overflow-x: auto; scrollbar-width: none; z-index: 3; }
  .cm-home #home-hero .cm-hero-rail::-webkit-scrollbar { display: none; }
  .cm-home #home-hero .cm-hero-rail > div { flex: 0 0 auto; width: clamp(52px, 4.6vw, 76px) !important; opacity: 1; gap: 0; transition: transform .25s ease !important; }
  .cm-home #home-hero .cm-hero-rail > div > div:first-child { aspect-ratio: 66 / 89 !important; border: 2px solid #ffffff1f !important; border-radius: 8px !important; background: #1a1a1a; }
  .cm-home #home-hero .cm-hero-rail > div > div:first-child::after { content: ''; position: absolute; inset: 0; background: #00000073; transition: opacity .25s ease; }
  .cm-home #home-hero .cm-hero-rail > div > div:last-child { display: none; }
  .cm-home #home-hero .cm-hero-rail > div:hover > div:first-child::after { opacity: .35; }
  .cm-home #home-hero .cm-hero-rail > .active { transform: translateY(-8px); }
  .cm-home #home-hero .cm-hero-rail > .active > div:first-child { border-color: #e50914 !important; box-shadow: 0 8px 22px #0009 !important; }
  .cm-home #home-hero .cm-hero-rail > .active > div:first-child::after { opacity: 0; }
  .cm-home #home-hero .cm-hero-rail > div:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

  /* 两侧箭头：平时不显示，鼠标移到轮播上或键盘聚焦才出现 */
  .cm-home .hero-edge-prev, .cm-home .hero-edge-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; width: 36px; height: 56px; padding: 0; display: grid; place-items: center;
    border: 1px solid #ffffff1f; border-radius: 10px; background: #00000066; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #ffffffd9;
    opacity: 0; transition: opacity .18s ease, background .18s ease, border-color .18s ease; }
  .cm-home .hero-edge-prev { left: max(8px, calc((var(--cm-pad) - 36px) / 2)); }
  .cm-home .hero-edge-next { right: max(8px, calc((var(--cm-pad) - 36px) / 2)); }
  .cm-home .hero-edge-prev svg, .cm-home .hero-edge-next svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .cm-home #home-hero:hover .hero-edge-prev, .cm-home #home-hero:hover .hero-edge-next, .cm-home .hero-edge-prev:focus-visible, .cm-home .hero-edge-next:focus-visible { opacity: 1; }
  .cm-home .hero-edge-prev:hover, .cm-home .hero-edge-next:hover, .cm-home .hero-edge-prev:focus-visible, .cm-home .hero-edge-next:focus-visible { background: #e50914cc; border-color: #e50914; color: #fff; }
}
@media (min-width: 768px) and (hover: none) { .cm-home .hero-edge-prev, .cm-home .hero-edge-next { opacity: .7; } }

/* 下载入口悬停二维码（core/app-qr.js）：顶栏按钮向下弹、右下浮动 APP 向左弹；弹出带回弹，二维码上扫一道红光。 */
.has-app-qr { position: relative; }
.has-app-qr .app-qr-pop { position: absolute; z-index: 60; width: 196px; padding: 14px 14px 12px; display: flex; flex-direction: column; align-items: center; gap: 4px;
  background: #17181cf7; border: 1px solid #ffffff1f; border-radius: 14px; box-shadow: 0 18px 50px #000b, 0 0 0 1px #e5091422;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #f3f3f5; text-align: center; white-space: normal; cursor: pointer;
  opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-8px) scale(.9);
  transition: opacity .18s ease, transform .32s cubic-bezier(.2,1.4,.4,1), visibility 0s linear .32s; }
.has-app-qr .app-qr-pop::before { content: ''; position: absolute; inset: -16px; z-index: -1; }
.has-app-qr:hover .app-qr-pop, .has-app-qr:focus-visible .app-qr-pop { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: 0s; }
.header-download.has-app-qr .app-qr-pop { top: calc(100% + 14px); right: -6px; transform-origin: 88% 0; }
.cm-tools > .floating-app.has-app-qr .app-qr-pop { right: calc(100% + 16px); bottom: -4px; transform: translateX(10px) scale(.9); transform-origin: 100% 85%; }
.cm-tools > .floating-app.has-app-qr:hover .app-qr-pop, .cm-tools > .floating-app.has-app-qr:focus-visible .app-qr-pop { transform: none; }
.has-app-qr .app-qr-pop::after { content: ''; position: absolute; width: 12px; height: 12px; background: inherit; border: inherit; border-width: 1px 0 0 1px; }
.header-download.has-app-qr .app-qr-pop::after { top: -7px; right: 34px; transform: rotate(45deg); }
.cm-tools > .floating-app.has-app-qr .app-qr-pop::after { right: -7px; bottom: 24px; transform: rotate(135deg); }
.has-app-qr .app-qr-code { position: relative; display: block; width: 164px; height: 164px; padding: 6px; border-radius: 10px; background: #fff; overflow: hidden;
  transform: scale(.85); opacity: 0; transition: transform .38s cubic-bezier(.2,1.3,.4,1) .05s, opacity .2s ease .05s; }
.has-app-qr:hover .app-qr-code, .has-app-qr:focus-visible .app-qr-code { transform: none; opacity: 1; }
.has-app-qr .app-qr-code svg { display: block; width: 100%; height: 100%; stroke: none; }
.has-app-qr .app-qr-scan { position: absolute; left: 6px; right: 6px; top: 6px; height: 34%; background: linear-gradient(180deg, #e5091400, #e509142e 70%, #e50914aa); border-bottom: 2px solid #e50914; opacity: 0; }
.has-app-qr:hover .app-qr-scan, .has-app-qr:focus-visible .app-qr-scan { animation: app-qr-scan 1.6s ease-in-out .35s 2 both; }
@keyframes app-qr-scan { 0% { transform: translateY(-100%); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(290%); opacity: 0; } }
.has-app-qr .app-qr-title { margin-top: 8px; font-size: 13px; line-height: 18px; font-weight: 750; color: #fff; letter-spacing: 0; }
.has-app-qr .app-qr-hint { font-size: 11px !important; line-height: 15px; font-weight: 500; color: #a9abb5 !important; letter-spacing: 0; }
.cm-tools > .floating-app.has-app-qr:hover { transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .has-app-qr .app-qr-pop, .has-app-qr .app-qr-code { transition: opacity .15s ease; transform: none !important; } .has-app-qr .app-qr-scan { animation: none !important; } }

/* 付费集免费试看角标（同 H5 proto.css .preview-pill；2026-11-11 PC 起收费） */
.preview-pill{position:absolute;top:18px;left:18px;z-index:3;padding:4px 10px;border-radius:12px;background:#000a;border:1px solid #ffffff2b;font-size:12px;font-weight:600;color:#ffd38a;pointer-events:none}
.preview-pill[hidden]{display:none}

/* 倍速菜单（components/player.js toggleSpeedMenu，挂在播放器内部，全屏 / 沉浸式都能用）与真全屏（2026-11-11） */
.player-root { position: relative; }
.speed-menu { position: absolute; z-index: 40; display: flex; flex-direction: column; gap: 2px; min-width: 92px; padding: 6px; border-radius: 12px; background: #16171bf2; border: 1px solid #ffffff1a; box-shadow: 0 12px 34px #000b; backdrop-filter: blur(10px); animation: speed-menu-in .16s ease-out both; }
.speed-menu button { height: 34px; padding: 0 14px; border-radius: 8px; color: #d7d4dc; font-size: 13px; font-weight: 600; text-align: center; font-variant-numeric: tabular-nums; transition: background .12s, color .12s; }
.speed-menu button:hover, .speed-menu button:focus-visible { background: #ffffff14; color: #fff; outline: none; }
.speed-menu button[aria-checked="true"] { background: #e50914; color: #fff; }
@keyframes speed-menu-in { from { opacity: 0; transform: translateY(6px) scale(.97); } }
.player-root:fullscreen { background: #000; width: 100%; height: 100%; }
.player-root:fullscreen > video { width: 100%; height: 100%; object-fit: contain; }
.player-root:-webkit-full-screen { background: #000; width: 100%; height: 100%; }
@media (prefers-reduced-motion: reduce) { .speed-menu { animation: none; } }
/* 字幕（docs/字幕.md）：画面下部居中，半透明底 + 描边阴影，在控制条上方；鼠标停住收起控件时跟着往下沉。 */
.player-root .player-subtitle { position: absolute; left: 24px; right: 24px; bottom: 96px; z-index: 3; text-align: center; pointer-events: none; font-size: 18px; line-height: 1.35; font-weight: 600; color: #fff; white-space: pre-line; text-shadow: 0 1px 2px #000, 0 0 6px #000c; }
.player-root .player-subtitle span { display: inline; padding: 2px 10px; border-radius: 6px; background: #0006; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.player-root.is-idle .player-subtitle, .player-root:fullscreen .player-subtitle { bottom: 48px; }
.player-root.is-idle:not(.is-idle) .player-subtitle { bottom: 96px; }
.subtitle-toggle { font-size: 11px; font-weight: 800; letter-spacing: .5px; }
.subtitle-toggle.active { color: #ff4553; }
.subtitle-menu { min-width: 140px; max-height: 60vh; overflow-y: auto; }
.subtitle-menu button { text-align: left; }

/* 顶栏「Store」入口（2026-11-11 测试反馈：用户不一定点头像，加个商城按钮直达会员 / 金币页） */
.header-shop { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 7px; flex-shrink: 0; min-height: 42px; padding: 9px 16px; border-radius: 999px; border: 1px solid #f3c56a80; background: linear-gradient(135deg, #3a2a12, #1d160d); color: #ffd98a; font-size: 13px; font-weight: 750; white-space: nowrap; transition: border-color .18s, transform .18s, box-shadow .18s; }
.header-shop::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, #ffe2a050 50%, transparent 70%); transform: translateX(-120%); animation: header-shop-shine 4.5s ease-in-out 1.2s infinite; }
.header-shop:hover { border-color: #ffd98a; box-shadow: 0 6px 20px #d9a24a33; transform: translateY(-1px); }
.header-shop.active { border-color: #ffd98a; box-shadow: inset 0 0 0 1px #ffd98a55; }
.header-shop svg { width: 18px; height: 18px; fill: #f3c56a33; stroke: currentColor; stroke-width: 1.9; }
@keyframes header-shop-shine { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
@media (max-width: 1300px) { .header-shop { padding: 9px 13px; font-size: 12px; } }
@media (max-width: 1100px) { .header-shop { padding: 0; width: 42px; } .header-shop span { display: none; } }
@media (max-width: 767px) { .header-shop { width: 34px; min-height: 34px; } .header-shop svg { width: 16px; height: 16px; } }
@media (prefers-reduced-motion: reduce) { .header-shop, .header-shop::after { animation: none; transition: none; } }

/* 解锁弹窗里的自动扣币开关（components/unlock-dialog.js，2026-11-11 同 H5） */
.ui-switch { position: relative; width: 42px; height: 24px; flex-shrink: 0; border-radius: 12px; background: #3a3b42; border: 0; padding: 0; cursor: pointer; transition: background .18s; }
.ui-switch i { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px #0006; transition: transform .18s; }
.ui-switch[aria-checked="true"] { background: #e50914; }
.ui-switch[aria-checked="true"] i { transform: translateX(18px); }
.unlock-auto { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: #ffffff0a; border: 1px solid #ffffff14; text-align: left; }
.unlock-auto b { display: block; font-size: 13px; font-weight: 650; color: #f2f0f4; }
.unlock-auto small { display: block; margin-top: 3px; font-size: 11px; color: #8d8e96; }
@media (prefers-reduced-motion: reduce) { .ui-switch, .ui-switch i { transition: none; } }


/* 播放页：标题左侧「Home」返回按钮、控制条里的播放 / 暂停按钮（2026-11-11 测试反馈） */
.player-title-row { display: flex; align-items: center; gap: 14px; }
.player-title-row > h1 { margin-right: auto; min-width: 0; }
.watch-home { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; height: 36px; padding: 0 14px 0 10px; border-radius: 999px; border: 1px solid #ffffff1f; background: #ffffff08; color: #d9d6de; font-size: 13px; font-weight: 600; transition: background .15s, border-color .15s, color .15s; }
.watch-home:hover { background: #ffffff14; border-color: #ffffff3a; color: #fff; }
.watch-home svg { width: 18px; height: 18px; }
.player-controls .play-toggle svg { width: 18px; height: 18px; }
.player-controls .play-toggle:not(.is-locked) svg { fill: currentColor; stroke: none; }

/* 播放中鼠标停 3 秒（player.js 给 .player-root 加 is-idle）：收起进度条、按钮和底部暗角，露出画面 */
.player-root .player-bottom, .player-root .player-shade { transition: opacity .25s; }
.player-root.is-idle, .player-root.is-idle .play-zone { cursor: none; }
.player-root.is-idle .player-bottom, .player-root.is-idle .player-shade { opacity: 0; pointer-events: none; }
/* 收银台弹窗（充值页、播放页解锁都会弹）：H5 的 6 到 11px 暗棕色小字在桌面上看不清，放大并提亮（2026-11-14 测试反馈） */
body.pc .checkout-sheet .checkout-order-heading small { font-size: 11px; letter-spacing: 1.4px; color: #d2ae7c; }
body.pc .checkout-sheet .checkout-summary-lines > div > span { font-size: 13px; color: #d3bc9b; }
body.pc .checkout-sheet .checkout-summary-lines > div > b { font-size: 14px; color: #f0dcb8; }
body.pc .checkout-sheet .checkout-summary-lines .order-price > b { font-size: 22px; }
body.pc .checkout-sheet .checkout-summary-lines .order-price > b > small { font-size: 11px; color: #d2ae7c; }
body.pc .checkout-sheet .checkout-payment-methods legend { font-size: 14px; }
body.pc .checkout-sheet .payment-option-copy > strong { font-size: 14px; }
body.pc .checkout-sheet .payment-option-copy > small { font-size: 12px; line-height: 1.45; color: #cdb596; }
body.pc .checkout-sheet .payment-method-detail > p { font-size: 12px; line-height: 1.55; color: #cdb596; }
body.pc .checkout-sheet .payment-continue > span { font-size: 15px; }
body.pc .checkout-sheet .coin-support, body.pc .checkout-sheet .coin-support > b { font-size: 12px; }

/* 分享面板新增的渠道色（与 H5 一致）。 */
.share-whatsapp { background: #25d366; color: #fff; }
.share-telegram { background: #229ed9; color: #fff; }
.share-discord { background: #5865f2; color: #fff; }
.share-line { background: #06c755; color: #fff; }
.share-whatsapp svg, .share-telegram svg, .share-discord svg, .share-line svg { width: 28px; height: 28px; stroke: none; }

/* 竖版封面框统一 2:3（owner 2026-11-19：交付的封面改成 2:3）：设计稿里榜单前三、搜索推荐、观看历史还是 3:4，这里改齐，design.css 不动。 */
.royal-poster,.search-pick-cover,.recent-history-cover,.portrait-cover{aspect-ratio:2/3}
.royal-rank-row>img{height:auto;aspect-ratio:2/3}
/* 封面铺满框，按图判断要不要裁（2026-11-19 owner 改定；同日试过的「按原图比例自适应」卡片大小不齐，否了）。
   框的比例不动。图加载后 img-fallback.js 的 installCoverFit 比较图和框的比例：
   - 比例一致：正好铺满，不裁；
   - 差得不多（裁掉不超过三成，9:16、3:4 放进 2:3 都在这以内）：铺满，以「宽度居中、高度 30%」为锚点裁，优先保住人脸；
   - 差得太多（横图放进竖框之类）：容器标 data-far，整张显示，空边用同一张图放大模糊垫底。
   用法：容器加 .cover-fit 并内联 --cv:url('封面地址')。 */
.cover-fit{isolation:isolate;overflow:hidden}
.cover-fit>img{object-fit:cover!important;object-position:50% 30%!important}
.cover-fit>img[data-fallback]{object-position:center!important}
.cover-fit[data-far]::before{content:"";position:absolute;inset:-14%;z-index:-1;background:var(--cv) center/cover no-repeat;filter:blur(14px) brightness(.5);pointer-events:none}
.cover-fit[data-far]>img{object-fit:contain!important;object-position:center!important}
/* 预览片段（cover-preview.js）：悬停时盖在封面上的无声循环视频，出画面后才淡入。和封面一样铺满框。 */
.cover-preview{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 30%;opacity:0;transition:opacity .2s ease;pointer-events:none;background:#000}
.previewing>.cover-preview{opacity:1}
.cover-fit[data-far]>.cover-preview{object-fit:contain;object-position:center}
.sheet-title img,.watch-info-head img,.up-next-card img,.royal-rank-row>img,.drama-cover{object-fit:contain!important;object-position:center!important;background-color:#0b0c0f}
/* 卡片的「播放量 / 集数」从封面里挪到封面下方（模板 _cm-card），不再盖住图底部的片名。 */
.cm-card>.cover-bottom{position:static;padding:8px 0 0;background:none;align-items:center;color:#8f9098}
.cm-card>.cover-bottom .cm-update{background:none;padding:0;color:#8f9098!important;font-weight:500!important}

/* 会员有效期内，顶部头像带金色描边 */
.head-avatar.is-vip { box-shadow: 0 0 0 2px #0b0c0f, 0 0 0 4px #e8b460; }

/* 板块标题右边的「More」：设计稿原是 11px，owner 嫌小（2026-11-19），放大并加亮 */
.home-catalog-section .cm-section-heading > a { font-size: 15px !important; font-weight: 600; color: #d6d8df; letter-spacing: .3px; }
.home-catalog-section .cm-section-heading > a:hover { color: #fff; }

/* 顶栏导航被裁掉上半截（2026-11-19 运营反馈）：design.css 给导航 overflow:auto，而当前页的红色下划线画在链接下方 12px 处，
   撑出了一段可竖向滚动的高度，页面滚动时导航自己会被带着往上滚十几像素。把这 12px 改成链接自己的上下内边距
   （上下对称，垂直居中不变），下划线贴着链接底边画，导航里就没有溢出的内容了。 */
.site-header nav a { padding-block: 12px; }
.cm-site header.site-header nav a[style*="font-weight:700"]:after, .cm-site header.site-header nav a.active:after { bottom: 0; }

/* 年龄门文案加长（内容性质、年龄要求、进入声明三段 + 保护未成年人提示）：正文按空行分段、左右留白收窄，底部提示带小标题。 */
.age-gate-main>p{white-space:pre-line;max-width:420px;line-height:1.65}
.age-gate :is(h1,h2,.age-gate-title){font-size:30px}
.age-gate-note{max-width:330px;margin:0 auto;padding-top:14px;border-top:1px solid #ffffff12;font-size:10px}
.age-gate-note strong{display:block;margin-bottom:3px;color:#b8b1bd;font-weight:650;letter-spacing:.3px}
@media(max-height:720px){.age-gate{padding-top:14px;padding-bottom:14px}.age-gate-main{padding:12px 0 14px}.age-gate-actions{margin-top:18px;gap:9px}.age-gate-actions button{height:44px}.age-gate-note{padding-top:10px}.age-gate-emblem{width:64px;height:64px;border-radius:20px;margin-bottom:16px}.age-gate-emblem:after{border-radius:14px;inset:6px}.age-gate-emblem>span{font-size:29px}.age-gate-emblem sup{font-size:17px;top:-5px}.age-gate :is(h1,h2,.age-gate-title){font-size:26px}}
.pc .age-gate-note{max-width:420px}
.age-gate-main>p::first-letter{text-transform:uppercase}
@media (max-height: 820px) { .pc .age-gate-emblem { width: 72px; height: 72px; margin-bottom: 18px; border-radius: 22px; } .pc .age-gate-emblem:after { border-radius: 16px; inset: 6px; } .pc .age-gate-emblem > span { font-size: 32px; } .pc .age-gate-emblem sup { font-size: 18px; top: -6px; } .pc .age-gate-main { padding: 14px 0 18px; } .pc .age-gate-actions { margin-top: 22px; } }
.age-gate-note a{display:block;margin-top:6px;color:#e58a9a;text-decoration:underline;text-underline-offset:2px}

/* 顶栏语言切换（2026-11-24 多语言）：<details> 原生开合，菜单由服务端输出（internal/site/lang.go langSwitch） */
.lang-switch { position: relative; flex-shrink: 0; }
.lang-switch > summary { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 0 6px; list-style: none; cursor: pointer; color: #e7e8ee; font-size: 13px; font-weight: 600; white-space: nowrap; }
.lang-switch > summary::-webkit-details-marker { display: none; }
.lang-switch > summary::after { content: ''; width: 6px; height: 6px; margin-left: 2px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .7; }
.lang-switch > summary svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.lang-switch[open] > summary { color: #fff; }
.lang-menu { position: absolute; top: calc(100% + 6px); right: 0; z-index: 60; display: flex; flex-direction: column; min-width: 168px; padding: 8px 0; border-radius: 12px; border: 1px solid #ffffff1a; background: #17181c; box-shadow: 0 18px 50px #000b; }
.lang-menu > a { padding: 9px 18px; color: #c9cbd3; font-size: 14px; white-space: nowrap; }
.lang-menu > a:hover { background: #ffffff0a; color: #fff; }
.lang-menu > a.active { color: #ff6a73; font-weight: 700; }
@media (max-width: 1500px) { .lang-switch > summary > span { display: none; } }
/* 多语言：导航文字比英文长时，顶栏先收窄搜索框（最窄只剩放大镜），保证商店与头像不被挤出屏幕 */
@media (min-width: 1101px) {
  .pc .site-header .header-actions .cm-search { min-width: 46px; }
  .pc .site-header .header-actions > :not(.cm-search) { flex-shrink: 0; }
}
/* 中等宽度下导航收紧间距与字号，把位置让给搜索框（英文原样） */
@media (min-width: 1101px) and (max-width: 1600px) {
  html:not([lang="en"]) .pc .site-header .head-inner { gap: 16px; }
  html:not([lang="en"]) .pc.cm-site .site-header nav { gap: clamp(10px, 1vw, 16px) !important; }
  html:not([lang="en"]) .pc.cm-site .site-header nav a { font-size: 14px; letter-spacing: 0; }
  html:not([lang="en"]) .pc .site-header .header-actions { gap: 10px; }
  html:not([lang="en"]) .pc .site-header .header-shop { padding-inline: 12px; }
}

/* 多语言字体：design.css 的正文字体把简体中文字体排在系统字体前面，越南语等带声调的字母会落到缺字的字体上，声调符号错位。
   英文页不动；其余语言按各自文字选系统字体。 */
html:not([lang="en"]) body.cm-site { font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', Arial, sans-serif !important; }
html[lang="zh-Hant"] body.cm-site { font-family: Inter, 'PingFang TC', 'Noto Sans TC', 'Microsoft JhengHei', system-ui, sans-serif !important; }
html[lang="ja"] body.cm-site { font-family: Inter, 'Hiragino Sans', 'Noto Sans JP', 'Yu Gothic UI', 'Meiryo', system-ui, sans-serif !important; }
html[lang="ko"] body.cm-site { font-family: Inter, 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', system-ui, sans-serif !important; }
html[lang="hi"] body.cm-site { font-family: Inter, system-ui, 'Kohinoor Devanagari', 'Noto Sans Devanagari', 'Nirmala UI', sans-serif !important; }
/* 多语言：浮动按钮下的小字比英文长时居中折行，按钮跟着长高，不顶出边框 */
.cm-tools > a .floating-label, .cm-tools > button .floating-label { max-width: 100%; text-align: center; line-height: 1.1; overflow-wrap: anywhere; }
html:not([lang="en"]) .cm-tools > .floating-support { height: auto; padding: 5px 2px; }
html:not([lang="en"]) .cm-tools > .floating-support .floating-label { font-size: 9px; letter-spacing: 0; }
