/* 手机：苹果沉浸铺满（含横屏）+ 安卓容器全屏 + 弹幕叠在画面上 */
body.guhai-chat-locked .ChatModal_root__xGVKk .ant-modal-close {
  display: none !important;
}
body.guhai-chat-locked #mobile-chat-button {
  display: none !important;
}

.guhai-fs-btn {
  position: absolute;
  right: 44px;
  top: 10px;
  z-index: 11;
  height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 16px;
  background: #5b4dff;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 32px;
  cursor: pointer;
}
body.guhai-chat-locked .guhai-fs-btn {
  right: 12px;
}

.guhai-fs-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.guhai-fs-stage video,
.guhai-fs-stage .vjs-tech {
  position: relative;
  z-index: 1 !important;
}

.guhai-danmaku-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 40;
  transform: translate3d(0, 0, 12px);
  -webkit-transform: translate3d(0, 0, 12px);
}
body > .guhai-danmaku-layer,
.guhai-danmaku-layer.is-fixed {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483000;
}

.guhai-danmaku-item {
  position: absolute;
  left: 0;
  top: 0;
  height: 32px;
  line-height: 32px;
  white-space: nowrap;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 2px rgba(0,0,0,.85), 0 0 6px rgba(0,0,0,.6);
  will-change: transform;
  pointer-events: none;
}

.guhai-fs-controls {
  display: none;
  position: absolute;
  top: calc(8px + env(safe-area-inset-top, 0px));
  right: 10px;
  z-index: 50;
  gap: 8px;
  pointer-events: auto;
}
.guhai-fs-controls button {
  height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.guhai-fs-controls button.is-on {
  background: #5b4dff;
}

.guhai-fs-stage:fullscreen,
.guhai-fs-stage:-webkit-full-screen {
  width: 100vw !important;
  height: 100vh !important;
  background: #000;
}
.guhai-fs-stage:fullscreen .guhai-fs-controls,
.guhai-fs-stage:-webkit-full-screen .guhai-fs-controls {
  display: flex;
}
.guhai-fs-stage:fullscreen .video-js,
.guhai-fs-stage:-webkit-full-screen .video-js,
.guhai-fs-stage:fullscreen video,
.guhai-fs-stage:-webkit-full-screen video {
  width: 100% !important;
  height: 100% !important;
  padding-top: 0 !important;
  max-height: none !important;
  object-fit: contain !important;
  background: #000;
  z-index: 1 !important;
}
.guhai-fs-stage:fullscreen .guhai-danmaku-layer,
.guhai-fs-stage:-webkit-full-screen .guhai-danmaku-layer {
  z-index: 40;
}

body.guhai-immersive {
  overflow: hidden !important;
}
body.guhai-immersive .ChatModal_modalWrapper__m2VPu,
body.guhai-immersive .ant-modal-root,
body.guhai-immersive .ant-modal-wrap,
body.guhai-immersive #mobile-chat-button,
body.guhai-immersive header,
body.guhai-immersive .Content_lowerSection__6YPTS,
body.guhai-immersive .Content_lowerSectionMobileTabbed__F1h26,
body.guhai-immersive .Content_bottomPageContentContainer__zagTZ,
body.guhai-immersive .Content_statusBar__mBahK,
body.guhai-immersive .Content_mobileActionButtons__8RO3M {
  display: none !important;
}
body.guhai-immersive .Content_main__ZNXrl,
body.guhai-immersive .Content_mainColumn__UxLSD,
body.guhai-immersive #__next,
body.guhai-immersive #skip-to-content {
  height: 100dvh !important;
  max-height: 100dvh !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.guhai-immersive .guhai-fs-stage {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100dvh !important;
  max-height: none !important;
  z-index: 1800 !important;
  background: #000 !important;
}
body.guhai-immersive .guhai-fs-stage .video-js {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  padding-top: 0 !important;
  max-height: none !important;
  z-index: 1 !important;
}
body.guhai-immersive .guhai-fs-stage video,
body.guhai-immersive .guhai-fs-stage .vjs-tech {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  background: #000 !important;
  z-index: 1 !important;
}
body.guhai-immersive .guhai-fs-controls {
  display: flex;
}
body.guhai-immersive .guhai-danmaku-layer {
  z-index: 40;
}

.side-nav .guhai-vstats,
.side-nav #guhai-mobile-chat-admin,
.side-nav #guhai-agent-gate-admin,
.side-nav #guhai-danmaku-admin {
  display: none !important;
}
.main-content-container > .guhai-vstats {
  width: 100%;
  max-width: 100%;
}
.guhai-vstats-head {
  font-weight: 700;
  margin: 0 0 6px;
  font-size: 16px;
}
.guhai-vstats-note {
  color: #888;
  font-size: 12px;
  margin: 0 0 12px;
}
.guhai-vstats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 10px;
}
.guhai-vstats-row button,
.guhai-vstats-chip {
  height: 30px;
  padding: 0 12px;
  border: 1px solid #d9d9d9;
  border-radius: 15px;
  background: #fff;
  cursor: pointer;
  font-size: 13px;
}
.guhai-vstats-row button.is-on {
  background: #5b4dff;
  border-color: #5b4dff;
  color: #fff;
}
.guhai-vstats-row input[type="datetime-local"],
.guhai-vstats-row input[type="search"] {
  height: 32px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  padding: 0 8px;
  font-size: 13px;
}
.guhai-vstats-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 8px 0 12px;
}
.guhai-vstats-card {
  background: #f7f8ff;
  border: 1px solid #d6d8ff;
  border-radius: 8px;
  padding: 12px 14px;
}
.guhai-vstats-card .k {
  color: #666;
  font-size: 12px;
}
.guhai-vstats-card .v {
  font-size: 22px;
  font-weight: 700;
  margin-top: 4px;
  color: #1f1f1f;
}
.guhai-vstats-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.guhai-vstats-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 560px;
}
.guhai-vstats-table th,
.guhai-vstats-table td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid #f0f0f0;
  white-space: nowrap;
}
.guhai-vstats-table th {
  color: #666;
  font-weight: 600;
  background: #fafafa;
}
.guhai-vstats-online {
  color: #389e0d;
  font-weight: 600;
}
.guhai-vstats-empty {
  color: #888;
  padding: 16px 8px;
}
.guhai-vstats-pager {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
  font-size: 13px;
}
@media (max-width: 800px) {
  .guhai-vstats-cards {
    grid-template-columns: 1fr;
  }
}

.guhai-play-intro {
  max-width: 920px;
  margin: 16px auto 28px;
  padding: 0 12px 8px;
  color: #1f1f1f;
}
.guhai-play-intro-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  background: #0b1b3a;
}
.guhai-play-intro-body {
  margin-top: 14px;
}
.guhai-play-intro-body h2 {
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;
}
.guhai-play-intro-sub {
  margin: 0 0 10px;
  color: #3c5aa0;
  font-weight: 600;
  font-size: 15px;
}
.guhai-play-intro-body p,
.guhai-play-intro-body li {
  font-size: 15px;
  line-height: 1.65;
  color: #333;
}
.guhai-play-intro-body ul {
  margin: 8px 0 12px;
  padding-left: 1.2em;
}
.guhai-play-intro-foot {
  color: #666;
  font-size: 14px;
}
@media (max-width: 640px) {
  .guhai-play-intro {
    margin: 12px 0 20px;
    padding: 0 10px;
  }
  .guhai-play-intro-body h2 {
    font-size: 18px;
  }
}
