/*
 * Night Theater v2 (member/) · theme
 * 640x480 design stage, kept at 1:1 - fitting is the shell's native page zoom.
 * ES5-era CSS only: prefixed flex/gradient (Android 4.4 = Chrome 33 core,
 * -webkit-flex is universally safe there), outline-only focus ring.
 */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body {
  width: 100%; height: 100%; overflow: hidden; background: #0d0d14; color: #f2f2f5;
  font: 14px/1.45 Arial, "Helvetica Neue", sans-serif;
  -webkit-user-select: none; user-select: none;
}
/* 小窗兜底：万一壳没能把 640x480 缩放进窗口，宁可滚动也不要裁掉两边
   —— 与 H5/assets/theater.css:44、c/assets/app.css:26 同款，靠 fitStage() 切。 */
html.nt-small, html.nt-small body { overflow: auto; }
a { color: #ffb400; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input { font: inherit; }
#stage {
  /* 居中用绝对定位和自动外边距，**绝不在这条链上放 transform/zoom**：<video> 挂在
     #stage 里，而 4.4 的原生视频层不认祖先 transform —— 实测（2026-09-18
     PS202）同一版本冷启动 8 次里 5 次视频层盖住 DOM、顶栏与底部 Tab 被推出
     屏外，只剩 Sign In 一条黄边露在最顶端。规则与写法照抄 H5/assets/theater.css:33
     和 c/（那两套从来没有这条 transform）。缩放由壳的原生 page zoom 做
     （视口钉 640 -> 0.75），页面自己保持 1:1。 */
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  margin: auto;
  width: 640px; height: 480px; max-height: 100%; overflow: hidden;
  background: #0d0d14;
}

/* 1:1 square display adaptation (e.g. 720x720 PS202): extend stage height from 480 to 640 to eliminate 80px top/bot black borders */
body.res-1x1 #stage,
#stage.res-1x1 {
  height: 640px;
}

/* Aspect ratio adaptions (portrait / square / landscape) */
#app.layout-portrait .feedcol .vwrap {
  top: 0;
  bottom: 0;
}
#app.m-feed.fs.layout-portrait .feedcol .vwrap {
  top: 0;
  bottom: 0;
}
#app.layout-square .feedcol .vwrap {
  top: 0;
  bottom: 0;
}
#app.layout-landscape .feedcol .vwrap {
  top: 0;
  bottom: 0;
}
#app { position: absolute; top: 0; left: 0; right: 0; bottom: 0; }

.hidden { display: none !important; }

/* ---------- top bar / tab bar ---------- */
/* H5 式头部（feed/home/recharge/my 主 Tab 页）：样式全部收敛在 .nt-header
   下，绝不全局覆盖 member 已有语义的 .chip / .avatar（首页分类 chip、
   My 页 58px 圆头像）。 */
.nt-header {
  position: absolute; top: 0; left: 0; right: 0; height: 46px; background: #16161f;
  border-bottom: 1px solid #262630; z-index: 20; display: -webkit-flex; display: flex;
  -webkit-align-items: center; align-items: center; padding: 0 12px;
}
.nt-logo { font-size: 15px; font-weight: bold; letter-spacing: .5px; color: #eee; margin-right: 14px; white-space: nowrap; }
.nt-logo em { font-style: normal; color: #ffb400; }
.nt-header .chip {
  display: inline-block; height: 26px; line-height: 24px; padding: 0 10px; margin-left: 8px;
  border-radius: 13px; font-size: 11px; font-weight: bold; background: #1e1e2a;
  border: 1px solid #2f2f3c; color: #eee; white-space: nowrap; text-align: center;
  cursor: pointer; -webkit-flex: none; flex: none;
}
.nt-header .chip.coin { color: #ffb400; }
.nt-header .chip.vip { color: #e8d5a8; border-color: #4a3d22; background: #241d10; }
.nt-header .chip.vip-off { color: #66666f; }
.nt-header .header-spacer { -webkit-flex: 1; flex: 1; }
.app-version { -webkit-flex: none; flex: none; margin-left: 8px; padding: 3px 9px; border: 1px solid #5e4821;
  border-radius: 12px; color: #ffe3a3; font-size: 13px; font-weight: bold; white-space: nowrap; text-decoration: none; }
.nt-header .avatar {
  display: block; width: 28px; height: 28px; line-height: 26px; border-radius: 14px; margin-left: 8px;
  background: #1e1e2a; border: 1px solid #2f2f3c; font-size: 12px; color: #9a9aa6;
  font-weight: bold; text-align: center; cursor: pointer; -webkit-flex: none; flex: none;
}
.nt-header .avatar.gold { border-color: #c88a1a; color: #ffb400; }
.topbar {
  position: absolute; top: 0; left: 0; right: 0; height: 46px; background: #16161f;
  border-bottom: 1px solid #262630; z-index: 20; display: -webkit-flex; display: flex;
  -webkit-align-items: center; align-items: center; padding: 0 12px;
}
.topbar .tb-title { -webkit-flex: 1; flex: 1; font-size: 17px; font-weight: bold; color: #ffb400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 8px; }
.tb-btn { background: #2a2a36; color: #fff; border: 0; padding: 8px 12px; font-size: 13px; margin-left: 8px; min-height: 34px; white-space: nowrap; -webkit-flex: none; flex: none; }
.tb-btn.gold { background: #ffb400; color: #1a1a10; font-weight: bold; }
.tb-back { background: none; color: #d6d7de; font-size: 13px; padding: 5px 9px 5px 0; white-space: nowrap; -webkit-flex: none; flex: none; }
.page { position: absolute; top: 46px; left: 0; right: 0; bottom: 56px; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; }
.tabbar {
  position: absolute; bottom: 0; left: 0; right: 0; height: 56px; background: #16161f;
  border-top: 1px solid #262630; z-index: 20; display: -webkit-flex; display: flex;
}
.tab {
  -webkit-flex: 1; flex: 1; display: -webkit-flex; display: flex; -webkit-flex-direction: column;
  flex-direction: column; -webkit-align-items: center; align-items: center;
  -webkit-justify-content: center; justify-content: center; color: #8a8a96; font-size: 11px;
}
.tab .ic { font-size: 18px; line-height: 20px; height: 20px; margin-bottom: 2px; }
.tab .ic svg { width: 18px; height: 18px; fill: currentColor; display: block; }
.tab.on { color: #ffb400; }

/* ---------- video ---------- */
/* The <video> never carries `controls`, but a 4.4 WebView can paint its own
   native control bar (time + scrubber + a frame) over the media on tap / at
   start. Suppress the whole WebKit media-controls shadow UI so only our
   self-drawn centred pad (.vpp) is ever visible. The tap path still routes to
   video.onclick -> togglePlay (pause/resume unchanged). */
#theVideo::-webkit-media-controls,
#theVideo::-webkit-media-controls-panel,
#theVideo::-webkit-media-controls-enclosure,
#theVideo::-webkit-media-controls-start-playback-button,
#theVideo::-webkit-media-controls-play-button,
#theVideo::-webkit-media-controls-timeline-container,
#theVideo::-webkit-media-controls-timeline,
#theVideo::-webkit-media-controls-current-time-display,
#theVideo::-webkit-media-controls-time-remaining-display,
#theVideo::-webkit-media-controls-mute-button,
#theVideo::-webkit-media-controls-toggle-closed-captions-button,
#theVideo::-webkit-media-controls-fullscreen-button { display: none !important; }
.feedcol { position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: -webkit-flex; display: flex; -webkit-flex-direction: column; flex-direction: column; }
.vwrap { position: relative; width: 100%; height: 280px; background: transparent; overflow: hidden; -webkit-flex: none; flex: none; }
.feedcol .vwrap { -webkit-flex: 1; flex: 1; height: auto; min-height: 150px; }
.vwrap video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: transparent; }
.v-buffering { position: absolute; top: 24%; left: 50%; width: 260px; margin-left: -130px;
  z-index: 5; padding: 10px 12px; border-radius: 8px; background: rgba(12, 12, 20, .92);
  color: #fff; text-align: center; font-size: 15px; pointer-events: none; }
.vbadge { position: absolute; left: 10px; top: 10px; z-index: 4; background: rgba(0, 0, 0, .55); color: #fff; font-size: 12px; padding: 3px 8px; }
.voverlay {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 3; background: rgba(8, 8, 14, .9);
  display: -webkit-flex; display: flex; -webkit-flex-direction: column; flex-direction: column;
  -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center;
  text-align: center; padding: 0 30px;
}
.voverlay h3 { font-size: 19px; margin-bottom: 8px; color: #fff; }
.voverlay p { font-size: 15px; color: #f0f0f5; margin-bottom: 14px; line-height: 1.35; }
/* play/pause pad over the video (no pointer on the device). Geometry matches
   the v1 reference #playBtn in c/feed.html: 74px ring, centred, glyph 30px;
   the pause bars drop to 22px/2px tracking so the pair fits the ring. While
   the loading poster is up this pad sits ON the poster (z-index 4 > overlay 3)
   and stays visible - v1's "cover + play pad" loading frame. */
.vpp {
  position: absolute; left: 50%; top: 50%; width: 74px; height: 74px; margin: -37px 0 0 -37px; z-index: 4;
  border: 2px solid #fff; border-radius: 50%; background: rgba(0, 0, 0, .45); color: #fff;
  font-size: 30px; line-height: 70px; text-align: center; cursor: pointer;
}
.vpp.dim { border-color: #8a8a95; color: #c9c9cf; background: rgba(0, 0, 0, .25); font-size: 22px; letter-spacing: 2px; }
.vpp.hide { visibility: hidden; }
.vpp.nt-focus { background: #3a1526; border-color: #fff; color: #fff; visibility: visible; }
/* (this round) the bottom time + progress row (.seek) was removed per owner:
   during playback only the centred round pad shows. Left/Right on the pad
   still scrubs +/-10s (handled in theater.js), so no seek capability is lost. */

/* whole-frame player poster (contain) + its legibility scrim: the poster is
   scaled into the black .vwrap box (letterboxed), NOT center-cropped like the
   grid/detail/favorite thumbnails. .cdim sits above it so the white EP label
   and CTA buttons stay readable over a bright frame. */
.vcover { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 0; overflow: hidden; background: #000; }
.cdim { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 1; background: rgba(5, 5, 12, .34); }

/* ---------- compact player chrome (Feed + detail, mirrored layout) ---------- */
.fmeta { -webkit-flex: none; flex: none; padding: 5px 12px 1px; }
.fmeta .ft { font-size: 14px; color: #fff; font-weight: bold; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fmeta .ft #fdEp, .fmeta .ft #dtEp { color: #ffb400; }
.fmeta .fs { font-size: 11px; color: #8a8a96; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Feed title line (owner, this round): title and episode state share ONE line
   that never wraps - the title ellipsises, the episode block stays hard right.
   Scoped to .oneline so the detail screen's two-line block is untouched. */
.fmeta.oneline { padding: 6px 12px 2px; }
.fmeta.oneline .ft {
  display: -webkit-flex; display: flex; -webkit-align-items: baseline; align-items: baseline;
  white-space: nowrap;
}
.fmeta.oneline .ft .ftt {
  -webkit-flex: 1 1 auto; flex: 1 1 auto; min-width: 0;
  overflow: hidden; text-overflow: ellipsis;
}
.fmeta.oneline .ft .fte { -webkit-flex: none; flex: none; margin-left: 12px; font-size: 12px; color: #ffb400; }
.fctrl { -webkit-flex: none; flex: none; display: -webkit-flex; display: flex; -webkit-flex-wrap: nowrap; flex-wrap: nowrap; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center; padding: 3px 6px 8px; }
/* Seven controls, one row, always (owner). flex-grow spreads them across the
   full stage width instead of leaving them huddled in the middle. */
.fctrl .btn { padding: 5px 6px; font-size: 11px; min-height: 32px; margin: 2px 2px; white-space: nowrap;
  -webkit-flex: 1 1 auto; flex: 1 1 auto;
  display: -webkit-inline-flex; display: inline-flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center; }

/* ---------- in-app immersive fullscreen (Feed) ----------
   The 4.4 WebView's native Fullscreen API needs the host Activity to render
   onShowCustomView, which this shell does not implement - and the target box
   is already a fullscreen WebView. So "fullscreen" = hide the top bar, the tab
   bar and the player chrome and let the <video> fill the stage, purely with
   class-driven CSS. No video element is touched, so there is no black frame
   risk. Back (or any navigation) leaves it. */
#app.fs .topbar, #app.fs .nt-header, #app.fs .tabbar, #app.fs .fhud { display: none; }
#app.fs .page { top: 0; bottom: 0; overflow: hidden; }

/* 全屏 = **整块屏**（2026-09-18）。
   设备可见视口是 640x640（viewport 钉 width=640 + 壳原生 page zoom 0.75，
   见 theater.html 与 docs/17 §8.3），而 #stage 是固定 640x480 的框 —— 光藏顶栏
   和 Tab 栏，屏幕上下那 80+80 仍在框外，永远是死黑。把舞台长到 640x640 才是
   「整屏」；舞台外那 160px 从此归应用所有。
   播放器盒子反过来缩回中间 480：<video> 的盒子尺寸、画布与盒子的比例都与全屏前
   完全一致，4.4 的原生视频层看到的几何不变。**绝不在 #stage 上写 transform/zoom**
   —— docs/17 §8.4② 记过：祖先 transform 会让原生视频层概率性盖住整个 DOM。 */
/* 全屏舞台高度适配：
   默认设计高度为 480px，方屏挂载 res-1x1 时为 640px。
   舞台通过 max-height 跟随 WebView 实际布局高度，无需等待 resize 事件。 */
#stage.fs { height: 480px; }
body.res-1x1 #stage.fs,
#stage.res-1x1.fs {
  height: 640px;
}
#app.m-feed.fs .feedcol .vwrap { top: 0; bottom: 0; }

/* 全屏与铺满模式上下两条信息条：半透明渐变悬浮 OSD，不挤压遮挡视频画面 */
.fsbar { display: none; }
#app.fs .fsbar {
  display: block; position: absolute; left: 0; right: 0; z-index: 6;
  background: transparent; color: #fff; overflow: hidden;
  pointer-events: none;
}
#app.fs .fsbar.top {
  top: 0; height: 50px; padding: 0 16px; font-size: 14px;
  text-align: right; line-height: 50px;
  background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0));
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0));
  white-space: nowrap;
}
#app.fs .fsbar.top .fsep { font-size: 13px; color: #ffb400; text-shadow: 0 1px 3px #000; }
#app.fs .fsbar.bot {
  bottom: 0; height: 36px; padding: 18px 16px 0;
  background: -webkit-linear-gradient(bottom, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0));
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0));
}
#app.fs .fsprogtrack { height: 4px; background: rgba(255, 255, 255, 0.25); border-radius: 2px; overflow: hidden; }
#app.fs .fsprog { width: 0; height: 4px; background: #ffb400; }

/* ---------- feed: full-bleed player, chrome as overlay ----------
   v1 (c/feed.html) 的 #player 铺满整个 640x480 舞台，topbar / HUD / tabbar 都是
   压在上面的半透明浮层。v2 一度改成「视频条 + 下方堆叠标题与按钮」，播放区只剩
   640x310（stage px）；而转码输出恒为 4:3 画布（docs/10 §画幅规则），contain 之后
   画面只有 175px 宽，屏幕左右各空 230px 黑边 —— 这就是「左边和右边被挡住」的来源。
   恢复铺满后 4:3 画布按舞台高度对齐 —— 画布 640x480 一比一落地。
   ⚠️ 2026-09-18 更正：这里原写「画面回到 271x480（源片原生大小）」，是把某部
   竖屏源片的数字当成了通则。画布恒为 4:3，但**画布里的画面尺寸取决于源片画幅**：
   实测线上 E202609180001 的主档，画布 640x480、cropdetect 全片 2862 帧里 2804 帧
   给出 crop=640:360:0:60 —— 即 16:9 源片，画面 640x360，上下各 60px 黑边是转码
   时烤进画布的（docs/17 §8.5）。所以设备上真实的黑边是 140+140 而非 80+80。
   只作用于 feed（.m-feed）：详情页的 .fmeta/.fctrl 仍旧堆叠在视频下方。 */
.m-feed .page { top: 0; bottom: 0; overflow: hidden; }
.m-feed .topbar, .m-feed .nt-header { background: rgba(0, 0, 0, .5); border-bottom: 0; }
.m-feed .tabbar { background: rgba(10, 10, 14, .82); border-top: 0; }
.m-feed .feedcol .vwrap { position: absolute; top: 0; left: 0; right: 0; bottom: 0; height: auto; -webkit-flex: none; flex: none; }
/* 标题行 + 控制行合成一个贴底浮层，落在 tabbar 之上（tabbar 高 56px）。 */
.m-feed .fhud { position: absolute; left: 0; right: 0; bottom: 56px; z-index: 5; background: rgba(0, 0, 0, .55); padding: 2px 0 4px; }

/* ---------- cards / grids ---------- */
.pad { padding: 12px; }
.card { background: #171720; border: 1px solid #262630; margin-bottom: 10px; }
/* Owner (this round): four cards per row that actually FILL the row, with
   wider gutters than before. The grid lives in a .pad box (640 - 24 = 616px
   of content), so 4x138 + 3x20 = 612px - near enough to flush that the row
   reads as full, and the 4px slack keeps WebKit from rounding a 4th card
   onto the next line (an exact 100% does wrap on 4.4). */
.series-grid { display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; }
.scard {
  width: 138px; margin: 0 20px 14px 0; background: #171720; border: 1px solid #262630;
  display: block; position: relative;
}
.scard:nth-child(4n) { margin-right: 0; }
.scov {
  width: 100%; height: 124px; position: relative; background: #22222e;
}
.scov .ph { position: absolute; left: 0; top: 0; right: 0; bottom: 0; text-align: center; line-height: 124px; font-size: 30px; font-weight: bold; color: #3c3c4c; }
.scov.nt-img-on .ph { display: none; }
.scov .sname {
  position: absolute; left: 6px; right: 6px; bottom: 26px; font-size: 12px; font-weight: bold;
  color: #fff; text-shadow: 0 1px 2px #000; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.stag { position: absolute; left: 6px; top: 6px; background: rgba(255, 180, 0, .9); color: #1a1a10; font-size: 10px; padding: 1px 5px; font-weight: bold; }
.stag.gray { background: rgba(90, 90, 100, .9); color: #ddd; }
.srank-badge { position: absolute; left: 6px; top: 6px; font-size: 10px; font-weight: bold; padding: 1px 5px; z-index: 2; }
.srank-1 { background: #f59e0b; color: #1a1a10; }
.srank-2 { background: #94a3b8; color: #0f172a; }
.srank-3 { background: #d97706; color: #ffffff; }
.sviews { color: #ffb400; font-weight: bold; }
.smeta { padding: 6px 8px; font-size: 11px; color: #8a8a96; }
.chips { display: -webkit-flex; display: flex; overflow-x: auto; padding: 10px 12px 2px; }
.chip { background: #1e1e2a; color: #b9b9c4; padding: 7px 14px; margin-right: 8px; font-size: 13px; white-space: nowrap; cursor: pointer; }
.chip.on { background: #ffb400; color: #1a1a10; font-weight: bold; }
.searchbar { display: -webkit-flex; display: flex; padding: 10px 12px 4px; }
.searchbar input {
  -webkit-flex: 1; flex: 1; background: #1e1e2a; border: 1px solid #2f2f3c; color: #fff;
  padding: 9px 10px; font-size: 14px; min-height: 40px;
}
.searchbar button { background: #ffb400; color: #1a1a10; font-weight: bold; padding: 0 16px; margin-left: 8px; min-height: 40px; }
h2.sec { font-size: 15px; color: #fff; padding: 12px 12px 6px; }

/* ---------- detail: hero + episode grid (owner, this round) ----------
   详情页不再播放视频：顶部是「封面图 + 标题/分类信息 + 收藏」，下面一集一格。
   封面用 16:9（系列封面资产是 300x169 的 _thumb300.jpg），float 左图右文，
   与 v1 c/series.html 的 .detail 同构；按钮行在它下面单独一条。 */
.dhero { overflow: hidden; padding: 12px 12px 0; }
.dcover {
  float: left; width: 160px; height: 90px; margin-right: 12px; position: relative;
  background: #22222e center center no-repeat; background-size: cover;
}
.dcover .ph { position: absolute; left: 0; top: 0; right: 0; bottom: 0; text-align: center; line-height: 90px; font-size: 32px; font-weight: bold; color: #3c3c4c; }
.dcover.nt-img-on .ph { display: none; }
.dbody { overflow: hidden; }
.dbody .dtitle { font-size: 18px; color: #fff; font-weight: bold; margin-bottom: 6px; }
.dbody .dsub { font-size: 12px; color: #a0a0ac; margin-bottom: 6px; }
.dbody .dintro { font-size: 12px; color: #bbb; line-height: 1.5; max-height: 54px; overflow: hidden; }
.dacts { padding: 10px 12px 2px; }
.btn { padding: 10px 18px; font-size: 13px; cursor: pointer; min-height: 40px; display: inline-block; }
.btn.gold { background: #ffb400; color: #1a1a10; font-weight: bold; }
.btn.line { background: none; border: 1px solid #4a4a5a; color: #ddd; }
.btn.red { background: #e5484d; color: #fff; }
.btn[disabled] { opacity: .5; }
/* Episode grid: 6 columns x 102px = 612px inside .page's 616px content width
   (整像素：4.4 对小数宽度取整不一致，凑不满会掉到下一行)。float 格子 + 外层
   overflow:hidden 收行，和 v1 c/series.html 的 .ep-grid 是同一套数。 */
.epgrid { overflow: hidden; padding: 0 12px 12px; }
.epc { float: left; width: 102px; box-sizing: border-box; padding: 3px; }
.epc .box {
  position: relative; height: 58px; border: 1px solid #2c2c36; background: #17171d;
  text-align: center; cursor: pointer; overflow: hidden;
}
.epc .box .n { font-size: 17px; font-weight: bold; color: #ddd; line-height: 34px; }
.epc .box .p { font-size: 11px; color: #ffd766; }
.epc .box .lk { position: absolute; right: 4px; top: 2px; font-size: 11px; color: #e5484d; }
.epc .box.unlocked { border-color: #1f7a3d; }
.epc .box.unlocked .p { color: #4caf7d; }
/* 当前（上次看到的那一集）用金框标出来，进详情页一眼能找到续看位置 */
.epc .box.on { border-color: #ffb400; }

/* ---------- recharge（排版照抄 H5/assets/theater.css:395-455；旧
   .pgrid/.pitem/.rb/.pbest/.ppop/.vipcard/.firstcard 已随 viewRecharge
   重写一并退役）。member 的 .page 无内边距，此处靠 .tab-scroll 补 12px。 */
.tab-scroll { position: relative; padding: 10px 12px 36px; }
.rc-balance { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; background: #171720; border: 1px solid #262630; border-radius: 8px; padding: 12px 14px; margin-bottom: 12px; }
.rc-coin {
  width: 38px; height: 38px; line-height: 38px; border-radius: 19px; text-align: center; -webkit-flex: none; flex: none;
  background: -webkit-linear-gradient(135deg, #ffd766, #c88a1a); background: linear-gradient(135deg, #ffd766, #c88a1a);
  font-size: 17px; font-weight: bold; color: #5a3c00;
}
.rc-bal-wrap { margin-left: 12px; }
.rc-bal-num { font-size: 20px; font-weight: bold; color: #ffb400; line-height: 1.1; }
.rc-bal-lbl { font-size: 10px; color: #66666f; letter-spacing: 1px; }
.bubble { margin-left: auto; font-size: 10px; color: #9a9aa6; background: #1e1e2a; border: 1px solid #2f2f3c; border-radius: 8px; padding: 4px 8px; line-height: 1.5; max-width: 220px; }
.firstpay { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; background: -webkit-linear-gradient(top, #241d10, #171208); background: linear-gradient(180deg, #241d10, #171208); border: 1px solid #4a3d22; border-radius: 8px; padding: 12px 14px; margin-bottom: 12px; }
.firstpay .fp-left { -webkit-flex: 1; flex: 1; min-width: 0; }
.firstpay .fp-right { -webkit-flex: none; flex: none; margin-left: 12px; text-align: center; }
.fp-tag { display: inline-block; font-size: 10px; font-weight: bold; color: #231602; background: #ffb400; border-radius: 3px; padding: 2px 6px; letter-spacing: .5px; }
.firstpay h3 { font-size: 14px; font-weight: bold; margin-top: 6px; }
.firstpay h3 .fp-plus { display: inline-block; font-size: 11px; font-weight: bold; color: #ffb400; background: rgba(255, 180, 0, .12); border: 1px solid rgba(255, 180, 0, .4); border-radius: 9px; padding: 2px 8px; margin-left: 4px; }
.firstpay p { font-size: 10px; color: #9a9aa6; margin-top: 3px; }
.firstpay .fp-price { font-size: 18px; font-weight: bold; color: #ffb400; line-height: 1.2; }
.firstpay .fp-right .btn { margin-top: 4px; padding: 8px 12px; min-height: 34px; }
.firstpay.used { opacity: .5; }
.btn-gold { background: #ffb400; color: #1a1a10; font-weight: bold; }
.vipcard { background: -webkit-linear-gradient(135deg, #2b2113, #171208); background: linear-gradient(135deg, #2b2113, #171208); border: 1px solid #4a3d22; border-radius: 8px; padding: 14px; margin-bottom: 12px; }
.vip-row { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; margin-bottom: 10px; }
.vipcard .crown { font-size: 22px; color: #ffb400; line-height: 1; margin-right: 10px; -webkit-flex: none; flex: none; }
.vipcard h3 { font-size: 15px; font-weight: bold; color: #f3dfa8; }
.vip-feats { display: block; font-size: 11px; color: #9a9aa6; margin-bottom: 12px; line-height: 1.5; }
.vip-feats span { display: block; margin-bottom: 4px; }
.vip-feats b { color: #ffb400; font-size: 12px; }
.vip-row2 { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; font-size: 11px; color: #9a9aa6; }
.vip-row2 .btn { margin-left: auto; padding: 8px 12px; min-height: 34px; font-size: 12px; }
.section-title { font-size: 13px; font-weight: bold; margin: 8px 0 10px; }
.section-title .rule { display: inline-block; width: 40px; height: 1px; background: #2a2a36; vertical-align: middle; margin-left: 8px; }
.packs { font-size: 0; margin-bottom: 8px; }
.pack {
  display: inline-block; vertical-align: top; position: relative; width: 114px; margin: 9px 9px 9px 0;
  background: -webkit-linear-gradient(top, #1e1e2a, #171720); background: linear-gradient(180deg, #1e1e2a, #171720);
  border: 1px solid #2f2f3c; border-radius: 10px; padding: 15px 6px 10px; text-align: center; color: #eee; cursor: pointer;
}
.pack:nth-child(5n) { margin-right: 0; }
.pack .tier { display: block; font-size: 10px; font-weight: bold; letter-spacing: 1px; color: #66666f; }
.pack .coin-ic {
  display: block; width: 26px; height: 26px; line-height: 26px; margin: 4px auto 2px; border-radius: 13px;
  background: -webkit-linear-gradient(135deg, #ffd766, #c88a1a); background: linear-gradient(135deg, #ffd766, #c88a1a);
  color: #5a3c00; font-size: 12px; font-weight: bold;
}
.pack .pc { display: block; font-size: 17px; font-weight: bold; color: #fff; }
.pack .pl { display: block; font-size: 10px; color: #66666f; }
.pack .bonus { display: inline-block; font-size: 10px; font-weight: bold; color: #4cd964; background: rgba(76, 205, 100, .12); border: 1px solid rgba(76, 205, 100, .45); border-radius: 9px; padding: 2px 7px; margin-top: 4px; }
.pack .pp { display: block; font-size: 12px; font-weight: bold; color: #ffb400; margin-top: 6px; }
.pack .pct { position: absolute; top: -9px; right: -4px; background: -webkit-linear-gradient(top, #ff6b81, #e8445e); background: linear-gradient(180deg, #ff6b81, #e8445e); color: #fff; font-size: 10px; font-weight: bold; padding: 3px 7px; border-radius: 9px; box-shadow: 0 3px 8px rgba(232, 68, 94, .4); }
.pack .hot { position: absolute; top: -9px; left: -4px; background: -webkit-linear-gradient(top, #5b8def, #3d6bd9); background: linear-gradient(180deg, #5b8def, #3d6bd9); color: #fff; font-size: 10px; font-weight: bold; padding: 3px 7px; border-radius: 9px; letter-spacing: .5px; }
.pack.best { border-color: #c88a1a; box-shadow: 0 0 0 1px #c88a1a, 0 8px 20px rgba(255, 180, 0, .18); }
.pack.gate { width: 100%; margin-right: 0; padding: 22px 12px; border-style: dashed; }
.pack.gate .coin-ic { background: #1e1e2a; color: #ffb400; border: 1px solid #2f2f3c; }
.pack.gate .pl { color: #9a9aa6; font-size: 12px; }
.pack.gate .pp { font-size: 14px; }
.pack.best .tier { color: #ffb400; }
.rc-note { font-size: 10px; color: #66666f; line-height: 1.6; margin-top: 4px; }
.rc-note .btn { padding: 4px 12px; min-height: 28px; font-size: 11px; }

/* ---------- my ---------- */
.myhero {
  margin: 12px; padding: 14px; background: -webkit-linear-gradient(135deg, #43306b, #1c1c28);
  border: 1px solid #4a3a6a; display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center;
}
.avatar {
  width: 58px; height: 58px; border-radius: 50%; background: #ffb400 center center no-repeat; background-size: cover;
  color: #1a1a10; font-size: 24px; font-weight: bold; display: -webkit-flex; display: flex;
  -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center;
  -webkit-flex: none; flex: none;
}
.meinfo { -webkit-flex: 1; flex: 1; padding-left: 14px; min-width: 0; }
.meinfo .email { font-size: 16px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vipbadge { display: inline-block; margin-top: 6px; font-size: 11px; padding: 3px 10px; background: rgba(199, 155, 255, .15); border: 1px solid #6a4aa0; color: #c79bff; }
.mystats { display: -webkit-flex; display: flex; margin: 0 12px 12px; }
.assetbox { -webkit-flex: 1; flex: 1; background: #171720; border: 1px solid #262630; padding: 12px 8px; text-align: center; margin-right: 8px; }
.assetbox:last-child { margin-right: 0; }
.assetbox .v { font-size: 20px; color: #ffb400; font-weight: bold; }
.assetbox .k { font-size: 11px; color: #8a8a96; margin-top: 3px; }
.vipcta { margin: 0 12px 12px; padding: 11px 14px; background: #171720; border: 1px solid #262630; display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; }
.vipcta .t { -webkit-flex: 1; flex: 1; font-size: 12px; color: #ddd; padding-right: 8px; }
.pad-label { font-size: 14px; color: #fff; font-weight: bold; padding: 2px 14px 8px; }
.mymenu { margin: 0 12px 36px; background: #171720; border: 1px solid #262630; }
.mymenu .mi {
  display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center;
  height: 52px; padding: 0 14px; border-bottom: 1px solid #1e1e28; color: #eee; font-size: 15px; cursor: pointer;
}
.mymenu .mi .ic { width: 30px; height: 30px; background: #22222e; text-align: center; line-height: 30px; margin-right: 12px; font-size: 15px; -webkit-flex: none; flex: none; }
.mymenu .mi .arr { margin-left: auto; color: #666; font-size: 16px; }
.mymenu .mi:last-child { border-bottom: 0; }
.histitem {
  display: -webkit-flex; display: flex; padding: 10px 12px; border-bottom: 1px solid #1e1e28;
  -webkit-align-items: center; align-items: center; cursor: pointer;
}
.histitem .cov { width: 64px; height: 86px; -webkit-flex: none; flex: none; position: relative; background: #22222e; }
.histitem .cov .ph { position: absolute; left: 0; top: 0; right: 0; bottom: 0; text-align: center; line-height: 86px; font-size: 22px; font-weight: bold; color: #3c3c4c; }
.histitem .cov.nt-img-on .ph { display: none; }
.histitem .hi { -webkit-flex: 1; flex: 1; padding-left: 10px; min-width: 0; }
.histitem .hi .t { font-size: 13px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.histitem .hi .s { font-size: 11px; color: #8a8a96; margin-top: 3px; }
.histitem .del { -webkit-flex: none; flex: none; padding: 10px 8px; margin: -10px 0 -10px 6px; color: #e5484d; font-size: 12px; cursor: pointer; align-self: stretch; }
.prog { height: 3px; background: #2a2a36; margin-top: 6px; }
.prog i { display: block; height: 3px; background: #ffb400; }
.seeall {
  display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center;
  height: 40px; padding: 0 14px; color: #ffb400; font-size: 13px; background: #171720; cursor: pointer;
}

/* ---------- tx list ---------- */
.txrow { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; padding: 11px 12px; border-bottom: 1px solid #1e1e28; }
.txrow .tl { -webkit-flex: 1; flex: 1; min-width: 0; }
.txrow .tt { font-size: 13px; color: #eee; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.txrow .tm { font-size: 11px; color: #6a6a76; margin-top: 3px; }
.txrow .tr { font-size: 14px; font-weight: bold; white-space: nowrap; margin-left: 8px; }
.amt-in { color: #4cd964; } .amt-out { color: #e5484d; }
.st { font-size: 11px; padding: 3px 8px; font-weight: bold; }
.st-paid, .st-fulfilled { color: #eafff2; background: #1f7a3d; }
.st-closed { color: #fff; background: #7a1f3d; }
.st-pending_pay, .st-created { color: #3a2c00; background: #ffd766; }

/* ---------- login ---------- */
.loginbox { max-width: 380px; margin: 26px auto 0; padding: 0 20px; }
.loginbox h2 { color: #ffb400; margin-bottom: 14px; font-size: 19px; }
.loginbox input {
  width: 100%; background: #1e1e2a; border: 1px solid #2f2f3c; color: #fff;
  padding: 11px 12px; font-size: 14px; margin-bottom: 12px; min-height: 42px;
}
.loginbox input:focus { border-color: #ffb400; outline: 2px solid #ffb400; }
.loginbox .btn { width: 100%; }
.loginbox .btn.line { margin-top: 10px; }
.loginbox .lg-note { font-size: 11px; color: #66666f; margin-top: 14px; }
.form-err { color: #ff6b6b; font-size: 12px; min-height: 16px; margin: -6px 0 8px; }

/* ---------- feedback & complaints ---------- */
.feedback-wrap { max-width: 560px; margin: 16px auto 34px; padding: 0 18px; }
.feedback-compose, .feedback-thread { background: #171720; border: 1px solid #292936; padding: 14px; }
.feedback-compose h2, .feedback-thread h2 { color: #ffb400; font-size: 17px; margin: 0 0 12px; }
.feedback-compose select, .feedback-compose input, .feedback-reply input {
  width: 100%; min-height: 40px; margin-bottom: 10px; padding: 9px 10px;
  background: #1e1e2a; border: 1px solid #343442; color: #fff; font-size: 13px;
}
.feedback-compose select.nt-focus, .feedback-compose input.nt-focus, .feedback-reply input.nt-focus {
  border-color: #ffb400; outline: 2px solid #ffb400;
}
.feedback-compose .btn, .feedback-reply .btn { width: 100%; text-align: center; }
.feedback-ticket { display: block; margin-top: 8px; padding: 11px 12px; background: #171720; border: 1px solid #292936; color: #fff; }
.feedback-ticket strong, .feedback-ticket small { display: block; }
.feedback-ticket strong { margin: 5px 0; font-size: 14px; }
.feedback-ticket small, .feedback-message small { color: #777786; font-size: 10px; }
.feedback-kind { display: inline-block; padding: 2px 6px; color: #ffcf57; border: 1px solid #5e4821; font-size: 10px; text-transform: uppercase; }
.feedback-ticket.nt-focus { border-color: #fff; box-shadow: 0 0 0 2px #fff; }
.feedback-message { margin: 8px 18% 8px 0; padding: 10px; background: #22222e; border: 1px solid #30303d; }
.feedback-message.admin { margin: 8px 0 8px 18%; background: #2b2314; border-color: #55451e; }
.feedback-message strong { color: #ffcf57; font-size: 11px; }
.feedback-message p { color: #eee; font-size: 13px; line-height: 1.45; margin: 5px 0; white-space: pre-wrap; word-break: break-word; }
.feedback-pages { text-align: center; margin: 12px 0 4px; }
.feedback-pages .btn { display: inline-block; width: auto; margin: 3px; }
.feedback-reply { margin-top: 14px; padding-top: 12px; border-top: 1px solid #292936; }

/* ---------- toast / modal / loading (inside #stage) ---------- */
#nt-key-tip { display: none !important; }
.nt-toast {
  position: absolute; left: 50%; top: 56px; -webkit-transform: translateX(-50%); transform: translateX(-50%);
  background: rgba(0, 0, 0, .88); color: #fff; padding: 12px 20px; font-size: 15px; line-height: 1.4; z-index: 120;
  display: none; max-width: 85%; text-align: center; border: 1px solid #444; border-radius: 6px;
}
.nt-modal { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 100; display: none; }
.nt-modal-mask { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, .65); }
.nt-modal-box {
  position: absolute; left: 50%; top: 50%; width: 400px; margin: -100px 0 0 -200px;
  background: #1c1c26; border: 1px solid #33333f; padding: 18px; box-sizing: border-box;
}
.nt-modal-title { font-size: 16px; color: #fff; font-weight: bold; margin-bottom: 8px; }
.nt-modal-body { font-size: 13px; color: #b9b9c4; margin-bottom: 14px; }
.nt-modal-body p { margin: 0 0 8px; }
.nt-modal-body .price-line { text-align: center; font-size: 22px; color: #ffb400; font-weight: bold; margin: 4px 0; }
.nt-modal-body .price-line small { font-size: 12px; color: #b9a15a; font-weight: normal; }
.nt-modal-body .vip-note { text-align: center; font-size: 12px; color: #c79bff; margin-bottom: 6px; }
.nt-modal-actions { text-align: right; }
.nt-modal-actions .nt-btn { display: inline-block; margin-left: 8px; }
.nt-modal-box.nt-modal-reward {
  width: 380px; margin: -95px 0 0 -190px; padding: 22px 20px 18px;
  background: #1c1c26; border: 1px solid #ffb400; text-align: center;
}
.nt-modal-box.nt-modal-reward .nt-modal-title {
  font-size: 18px; color: #ffb400; text-align: center; margin-bottom: 12px; font-weight: bold;
}
.daily-reward-body { text-align: center; }
.daily-reward-msg {
  font-size: 15px; color: #ffffff; font-weight: bold; margin: 0 0 10px; line-height: 22px;
}
.daily-reward-note {
  font-size: 12px; color: #888899; margin: 0 0 8px;
}
.nt-modal-box.nt-modal-reward .nt-modal-actions {
  text-align: center; margin-top: 14px;
}
.nt-modal-box.nt-modal-reward .nt-btn-primary {
  min-width: 120px; font-size: 15px; text-align: center;
}
.nt-modal-box.nt-modal-qr { top: 25px; margin: 0 0 0 -180px; width: 360px; padding: 14px 18px; }
.nt-modal-qr .price-line { margin: 0 0 4px; }
.pay-qr-box { text-align: center; background: #ffffff; width: 156px; height: 156px; margin: 4px auto 8px; padding: 8px; box-sizing: border-box; }
.pay-qr-img { width: 140px; height: 140px; display: block; }
.pay-qr-tip { text-align: center; font-size: 12px; color: #ffffff; margin: 0 0 2px; }
.pay-qr-sub { text-align: center; font-size: 11px; color: #7f7f8f; margin: 0 0 8px; }
.sandbox-badge { margin: 0 auto 6px; padding: 4px 8px; width: 156px; box-sizing: border-box; text-align: center; color: #ffdb66; border: 1px solid #8a6b00; background: #352b08; font-size: 11px; font-weight: bold; }
.txrow-click { cursor: pointer; }
.nt-btn { padding: 10px 18px; font-size: 13px; background: #2a2a36; color: #fff; cursor: pointer; display: inline-block; min-height: 40px; text-decoration: none; line-height: 20px; box-sizing: border-box; vertical-align: middle; }
.nt-btn-primary { background: #ffb400; color: #1a1a10; font-weight: bold; }
.nt-loading { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 110; background: rgba(0, 0, 0, .35); display: none; }
.spin, .nt-spinner {
  width: 26px; height: 26px; border: 3px solid #444; border-top-color: #ffb400; border-radius: 50%;
  -webkit-animation: sp 1s linear infinite; animation: sp 1s linear infinite; margin: 0 auto 10px;
}
.nt-spinner { position: absolute; left: 50%; top: 50%; margin: -13px 0 0 -13px; }
@-webkit-keyframes sp { to { -webkit-transform: rotate(360deg); } }
@keyframes sp { to { transform: rotate(360deg); } }

/* Poster loading overlay and transition */
.poster-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140px;
  height: 70px;
  margin: -35px 0 0 -70px;
  text-align: center;
  z-index: 10;
  pointer-events: none;
}
.poster-spinner {
  width: 30px;
  height: 30px;
  border: 3px solid rgba(255, 255, 255, 0.25);
  border-top-color: #ffb400;
  border-radius: 50%;
  -webkit-animation: sp 0.9s linear infinite;
  animation: sp 0.9s linear infinite;
  margin: 0 auto 8px;
}
.poster-tag {
  font-size: 12px;
  font-weight: bold;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.65);
  padding: 4px 10px;
  border-radius: 10px;
  display: inline-block;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}
.poster-fadeout {
  opacity: 0;
  -webkit-transition: opacity 160ms ease-out;
  transition: opacity 160ms ease-out;
}

.empty { text-align: center; color: #66666f; padding: 36px 20px; font-size: 13px; }
.empty .btn { margin-top: 12px; }

/* ---------- focus ring: the only pointer on this device ---------- */
.nt-focus { outline: 3px solid #ffffff; }
/* 底部 tab 的下边就是 #stage（overflow:hidden）的裁边，白描边画在元素外
   会在 stage 外被整条裁掉 -> 负偏移把描边画进 tab 内部。 */
.tab.nt-focus { outline-offset: -3px; }
.vpp.nt-focus { outline: none; }
/* 游戏主机级微反馈：获得焦点时的微缩放动效 (60ms) */
.btn.nt-focus, .chip.nt-focus, [role="button"].nt-focus, .scard.nt-focus, .app.nt-focus {
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
  -webkit-transition: -webkit-transform 60ms ease-out;
  transition: transform 60ms ease-out;
  z-index: 10;
}
/* 宽通栏列表项禁止缩放且焦点框内收，防止左右溢出屏幕 */
.histitem.nt-focus, .seeall.nt-focus, .mi.nt-focus, .txrow.nt-focus {
  -webkit-transform: none !important;
  transform: none !important;
  outline-offset: -3px;
  position: relative;
  z-index: 5;
}

/* ---------- gradient poster fallbacks (no image yet / failed image) ---------- */
.cov0 { background: -webkit-linear-gradient(135deg, #5b2a86, #2a1a4a); }
.cov1 { background: -webkit-linear-gradient(135deg, #a03050, #3a1a2a); }
.cov2 { background: -webkit-linear-gradient(135deg, #1a6a8a, #0f2a3a); }
.cov3 { background: -webkit-linear-gradient(135deg, #b07020, #4a2f10); }
.cov4 { background: -webkit-linear-gradient(135deg, #2a8a5a, #123a26); }
.cov5 { background: -webkit-linear-gradient(135deg, #8a2a5a, #3a1230); }
.cov6 { background: -webkit-linear-gradient(135deg, #3a5ab0, #1a2545); }
.cov7 { background: -webkit-linear-gradient(135deg, #707a20, #2f340f); }
.cov8 { background: -webkit-linear-gradient(135deg, #20a0a0, #0f3a3a); }
.cov9 { background: -webkit-linear-gradient(135deg, #a05030, #3a1f10); }

/* ---------- video seek HUD (feed + fullscreen) ---------- */
.seek-hud {
  position: absolute; bottom: 92px; left: 50%;
  margin-left: -110px;
  width: 220px;
  z-index: 100; background: rgba(10, 10, 16, 0.85);
  border: 1px solid rgba(255, 180, 0, 0.65);
  border-radius: 4px;
  padding: 6px 14px 8px; text-align: center;
  pointer-events: none;
}
#stage.fs .seek-hud {
  bottom: 40px;
}
body.res-1x1 #stage.fs .seek-hud,
#stage.res-1x1.fs .seek-hud {
  bottom: 80px;
}
.seek-hud .sh-head {
  font-size: 13px; font-weight: bold; color: #ffb400; margin-bottom: 2px;
}
.seek-hud .sh-icon { font-size: 13px; margin-right: 4px; }
.seek-hud .sh-delta { margin-left: 6px; font-size: 12px; color: #ffdb70; }
.seek-hud .sh-time {
  font-size: 14px; font-weight: bold; color: #ffffff; letter-spacing: 1px;
  margin-bottom: 5px; font-family: monospace, sans-serif;
}
.seek-hud .sh-track {
  width: 100%; height: 3px; background: #333340; overflow: hidden;
}
.seek-hud .sh-bar {
  height: 3px; background: #ffb400; width: 0%;
}

/* ---------- 18+ Age Gate Advisory Modal ---------- */
.age-gate-box {
  width: 480px;
  margin: -130px 0 0 -240px;
  background: #161620;
  border: 1px solid #e02424;
  padding: 16px 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.85);
}
.age-gate-box .nt-modal-title {
  color: #ffffff;
  font-size: 17px;
  margin-bottom: 8px;
}
.age-gate-badge {
  display: inline-block;
  background: #c81e1e;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 2px;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}
.age-gate-desc {
  font-size: 12px;
  color: #c5c5d2;
  line-height: 1.45;
  margin: 0 0 14px;
}
.age-gate-box .nt-modal-actions {
  text-align: center;
}
.age-gate-box .nt-modal-actions .nt-btn {
  display: block;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
  text-align: center;
  font-size: 13px;
  font-weight: bold;
  height: 38px;
  min-height: 38px;
  line-height: 18px;
}
.age-gate-box .nt-modal-actions .nt-btn + .nt-btn {
  margin-top: 8px;
}
.age-gate-box .nt-btn-exit {
  background: #2a2a36;
  color: #c0c0cc;
  border: 1px solid #444455;
}

/* ---------- 18+ Dedicated Age Verification Screen ---------- */
.m-agegate .topbar, .m-agegate .nt-header, .m-agegate .tabbar { display: none !important; }
.m-agegate .page { top: 0 !important; bottom: 0 !important; overflow: hidden; background: #0c0c14; }

.agegate-screen {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: #0d0d16;
}
.agegate-card {
  position: absolute; left: 50%; top: 50%;
  width: 480px;
  margin-left: -240px;
  margin-top: -150px;
  background: #181826;
  border: 1px solid #d9363e;
  padding: 18px 22px 16px;
  text-align: center;
  box-sizing: border-box;
}
.agegate-icon {
  font-size: 26px;
  margin-bottom: 4px;
}
.agegate-badge {
  display: inline-block;
  background: #c81e1e;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 2px;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}
.agegate-title {
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px;
}
.agegate-text {
  font-size: 12px;
  color: #c5c5d4;
  line-height: 1.48;
  text-align: left;
  margin-bottom: 16px;
  background: #11111a;
  padding: 10px 14px;
  border-left: 3px solid #ffb400;
  box-sizing: border-box;
}
.agegate-actions {
  text-align: center;
}
.agegate-actions .btn {
  display: block;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  height: 38px;
  line-height: 38px;
  padding: 0;
}
.agegate-actions .age-exit-btn {
  margin-top: 10px;
  background: #252533;
  color: #b0b0be;
  border: 1px solid #444458;
}

