/* 看AV国内版 · App 壳层 — 必须最后加载，覆盖 styles.css */

html[data-channel="app"] {
  --app-tab-h: calc(64px + env(safe-area-inset-bottom));
  --app-accent: #ec4899;
  --app-accent-2: #a855f7;
  --app-surface: rgba(255, 255, 255, 0.04);
  --app-line: rgba(255, 255, 255, 0.07);
  --seeav-content: calc(100vw - 32px);
  --app-mobile-width: 390px;
}

/* 强制手机模式：大屏锁定 390 逻辑视口，内容按真机宽度排版 */
html[data-force-mobile="1"] {
  --seeav-content: min(var(--app-mobile-width), calc(100vw - 24px));
}

html[data-force-mobile="1"].app-mobile-frame {
  background: #030308;
  min-height: 100%;
  min-height: 100dvh;
}

html[data-force-mobile="1"].app-mobile-frame body {
  width: 100%;
  max-width: var(--app-mobile-width);
  margin-left: auto !important;
  margin-right: auto !important;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 28px 80px rgba(0, 0, 0, 0.65);
}

html[data-force-mobile="1"].app-mobile-frame .page-shell {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-shadow: none;
}

html[data-force-mobile="1"].app-mobile-frame nav.mobile-bottom-nav.app-tabbar {
  width: 100% !important;
  max-width: var(--app-mobile-width) !important;
}

/* 大屏也不隐藏 mobile-only（避免误走桌面断点） */
html[data-force-mobile="1"][data-channel="app"] .mobile-only {
  display: revert !important;
}

html[data-channel="app"] body.theme-seeav {
  background: #08090e;
}

html[data-channel="app"] body.theme-seeav .page-shell {
  background:
    radial-gradient(900px 420px at 50% -8%, rgba(236, 72, 153, 0.14), transparent 58%),
    radial-gradient(640px 320px at 100% 18%, rgba(139, 92, 246, 0.1), transparent 52%),
    #08090e;
}

html[data-channel="app"] body {
  padding-bottom: var(--app-tab-h) !important;
}

html[data-channel="app"] .page-shell {
  min-height: calc(100vh - var(--app-tab-h));
  max-width: 430px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04);
}

/* PC：全宽桌面布局，无底栏，对齐爱壹帆 */
html[data-device="pc"][data-channel="app"] body {
  padding-bottom: 0 !important;
}

html[data-device="pc"][data-channel="app"] .page-shell {
  max-width: min(1280px, calc(100vw - 48px));
  margin-left: auto;
  margin-right: auto;
  box-shadow: none;
}

html[data-device="pc"][data-channel="app"] .mobile-bottom-nav,
html[data-device="pc"][data-channel="app"] nav.mobile-bottom-nav.app-tabbar {
  display: none !important;
}

html[data-device="pc"][data-channel="app"] {
  --seeav-content: min(1200px, calc(100vw - 48px));
}

html[data-channel="app"] .seeav-header-actions {
  margin-left: auto;
  flex-shrink: 0;
}

html[data-channel="app"] .seeav-logo {
  flex-shrink: 0;
}

/* 隐藏抽屉菜单 */
html[data-channel="app"] [data-open-menu],
html[data-channel="app"] #filter-drawer,
html[data-channel="app"] .drawer-backdrop,
html[data-channel="app"] .pc-only,
html[data-channel="app"] .seeav-header-top {
  display: none !important;
}

html[data-channel="app"] .seeav-header-actions a.seeav-btn[href="search.html"]:not(.app-header-search) {
  display: none !important;
}

/* —— 顶栏 App 化 —— */
html[data-channel="app"] .seeav-header {
  background: rgba(8, 9, 14, 0.9);
  border-bottom-color: var(--app-line);
  backdrop-filter: blur(16px);
}

html[data-channel="app"] .seeav-header-main {
  padding: 10px 0 8px;
}

/* 顶栏搜索（爱一帆胶囊） */
html[data-channel="app"] .seeav-header--with-search {
  position: sticky;
  top: 0;
  z-index: 120;
}

html[data-channel="app"] .home-search-bar {
  position: relative;
  z-index: 30;
}

/* 挂载失败时：顶栏下方兜底显示 */
html[data-channel="app"] #home-search-bar:not(.home-search-bar--inline) {
  display: block !important;
  padding: 0 0 10px;
  width: 100%;
}

html[data-channel="app"] #home-search-bar:not(.home-search-bar--inline) .app-search-pill {
  min-height: 40px;
}

/* 顶栏内联搜索：女星与 #标签 之间（对齐爱一帆紧凑胶囊） */
html[data-channel="app"] .kanav-topnav-search-slot {
  flex: 0 0 auto;
  width: clamp(176px, 22vw, 300px);
  max-width: 300px;
  min-width: 176px;
  position: relative;
  margin: 0 8px 0 10px;
  align-self: center;
  overflow: visible;
}

html[data-channel="app"] .home-search-bar--inline {
  display: block !important;
  visibility: visible !important;
  padding: 0;
  width: 100%;
  min-width: 0;
}

html[data-channel="app"] .home-search-bar--inline .home-search-input-wrap,
html[data-channel="app"] .home-search-bar--inline .app-search-pill {
  display: flex !important;
  align-items: center;
  width: 100% !important;
  min-width: 0;
  box-sizing: border-box;
}

html[data-channel="app"] .home-search-bar--inline .home-search-type {
  display: none;
}

/* 爱一帆：半透明深灰胶囊 + 右侧放大镜 */
html[data-channel="app"] .home-search-bar--inline .app-search-pill {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 40px;
  align-items: center;
  min-height: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

html[data-channel="app"] .home-search-bar--inline .home-search-input {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  flex: none !important;
  font-size: 13px;
  padding: 0 4px 0 14px;
  color: #f3f4f6 !important;
  opacity: 1 !important;
  -webkit-appearance: none;
  appearance: none;
}

html[data-channel="app"] .home-search-bar--inline .home-search-input::placeholder {
  color: #888;
}

html[data-channel="app"] .home-search-bar--inline .home-search-submit--icon {
  width: 40px;
  min-width: 40px;
  height: 100%;
  background: transparent;
  color: #b0b0b0;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

html[data-channel="app"] .home-search-bar--inline .home-search-submit--icon:hover {
  color: #c29b6d;
  background: rgba(194, 155, 109, 0.1);
}

html[data-channel="app"] .home-search-bar--inline.is-open .app-search-pill,
html[data-channel="app"] .home-search-bar--inline .app-search-pill:focus-within {
  border-color: rgba(194, 155, 109, 0.65);
  background: rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.15),
    0 0 0 2px rgba(194, 155, 109, 0.18);
}

html[data-channel="app"] .home-search-bar--inline .home-search-panel {
  left: 0;
  right: auto;
  min-width: min(360px, calc(100vw - 32px));
  width: max(100%, 280px);
  z-index: 800;
}

html[data-channel="app"] .home-search-input-wrap,
html[data-channel="app"] .app-search-pill {
  display: flex;
  align-items: stretch;
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(194, 155, 109, 0.85);
  background: rgba(22, 22, 26, 0.92);
  box-shadow: 0 0 0 1px rgba(194, 155, 109, 0.35) inset;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

html[data-channel="app"] .home-search-type {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0 14px 0 16px;
  font-size: 13px;
  font-weight: 600;
  color: #e8e4df;
  border-right: 1px solid rgba(194, 155, 109, 0.35);
  white-space: nowrap;
}

html[data-channel="app"] .home-search-bar.is-open .home-search-input-wrap,
html[data-channel="app"] .home-search-input-wrap:focus-within,
html[data-channel="app"] .app-search-pill:focus-within {
  border-color: #c29b6d;
  box-shadow:
    0 0 0 1px #c29b6d inset,
    0 0 0 3px rgba(194, 155, 109, 0.18);
}

html[data-channel="app"] .home-search-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  color: #f8fafc;
  font-size: 14px;
  padding: 0 12px;
  outline: none;
  align-self: center;
}

html[data-channel="app"] .home-search-input::placeholder {
  color: #888;
}

html[data-channel="app"] .home-search-submit {
  flex-shrink: 0;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

html[data-channel="app"] .home-search-submit--icon {
  width: 48px;
  min-width: 48px;
  padding: 0;
  border-radius: 0;
  background: #c29b6d;
  color: #fff;
}

html[data-channel="app"] .home-search-submit--icon:hover {
  background: #d4ae82;
}

html[data-channel="app"] .home-search-submit--icon:active {
  background: #a8845a;
}

html[data-channel="app"] .home-search-clear-inline {
  flex-shrink: 0;
  align-self: center;
  width: 26px;
  height: 26px;
  margin-right: 4px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
}

html[data-channel="app"] .home-search-clear-inline:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

/* 搜索页顶栏：返回 + 胶囊 */
html[data-channel="app"] .seeav-header-main--search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0 0;
  flex-wrap: nowrap;
}

html[data-channel="app"] .seeav-header-main--search .app-header-back {
  flex-shrink: 0;
  margin: 0;
  padding: 8px 10px 8px 4px;
  font-size: 22px;
  line-height: 1;
}

html[data-channel="app"] .seeav-header-main--search .search-page-header-bar {
  flex: 1;
  min-width: 0;
  padding: 0 0 10px;
}

html[data-channel="app"] .seeav-header--search .seeav-logo,
html[data-channel="app"] .seeav-header--search .seeav-header-actions,
html[data-channel="app"] .seeav-header--search .kanav-topnav {
  display: none !important;
}

html[data-channel="app"] .home-search-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 200;
  padding: 10px 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(194, 155, 109, 0.25);
  background: rgba(14, 16, 24, 0.98);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(16px);
}

html[data-channel="app"] .home-search-panel.hidden {
  display: none;
}

html[data-channel="app"] .home-search-block + .home-search-block {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

html[data-channel="app"] .home-search-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #c29b6d;
  margin-bottom: 8px;
}

html[data-channel="app"] .home-search-clear-btn {
  padding: 2px 8px;
  border: none;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

html[data-channel="app"] .home-search-clear-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #fecaca;
}

html[data-channel="app"] .home-search-history-row {
  display: flex;
  align-items: center;
  gap: 4px;
}

html[data-channel="app"] .home-search-history-row .home-search-hot-item {
  flex: 1;
  min-width: 0;
}

html[data-channel="app"] .home-search-history-ico {
  color: #64748b !important;
}

html[data-channel="app"] .home-search-history-remove {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

html[data-channel="app"] .home-search-history-remove:hover {
  background: rgba(239, 68, 68, 0.25);
  color: #fecaca;
}

html[data-channel="app"] .home-search-hot-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

html[data-channel="app"] .home-search-hot-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #e2e8f0;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}

html[data-channel="app"] .home-search-hot-item em {
  font-style: normal;
  width: 20px;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

html[data-channel="app"] .home-search-hot-item:nth-child(1) em,
html[data-channel="app"] .home-search-hot-item:nth-child(2) em,
html[data-channel="app"] .home-search-hot-item:nth-child(3) em {
  color: #c29b6d;
}

html[data-channel="app"] .home-search-hot-item:hover {
  background: rgba(194, 155, 109, 0.1);
  color: #d4ae82;
}

html[data-device="pc"][data-channel="app"] .seeav-header-main {
  flex-wrap: nowrap;
  align-items: center;
}

html[data-device="pc"][data-channel="app"] .kanav-topnav {
  flex: 1;
  min-width: 0;
  justify-content: flex-start;
}

html[data-device="pc"][data-channel="app"] .kanav-topnav-search-slot {
  width: min(300px, 26vw);
  min-width: 200px;
  margin-left: 12px;
  margin-right: 6px;
}

html[data-device="pc"][data-channel="app"] .home-search-bar--inline .app-search-pill {
  min-height: 38px;
  height: 38px;
}

html[data-device="h5"][data-channel="app"] .seeav-header-main {
  flex-wrap: nowrap;
}

html[data-device="h5"][data-channel="app"] .kanav-topnav-search-slot {
  flex: 0 0 152px;
  width: 152px;
  max-width: 152px;
  min-width: 140px;
  margin-left: 6px;
  margin-right: 2px;
}

html[data-device="h5"][data-channel="app"] .home-search-bar--inline .app-search-pill {
  min-height: 32px;
  height: 32px;
}

html[data-device="h5"][data-channel="app"] .home-search-bar--inline .home-search-input {
  font-size: 12px;
  padding-left: 10px;
}

html[data-device="h5"][data-channel="app"] .home-search-bar--inline .home-search-submit--icon {
  width: 34px;
  min-width: 34px;
}

html[data-device="h5"][data-channel="app"] .home-search-bar--inline .home-search-input {
  font-size: 12px;
}

html[data-device="h5"][data-channel="app"] .home-search-bar--inline .home-search-input::placeholder {
  font-size: 11px;
}

html[data-channel="app"] .seeav-logo {
  font-size: 20px;
  letter-spacing: 0.02em;
}

html[data-channel="app"] .seeav-logo span {
  font-size: 11px;
  color: #94a3b8;
}

html[data-channel="app"] .seeav-header-actions .app-header-legacy-auth {
  display: none !important;
}

html[data-channel="app"] .app-header-auth-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
}

html[data-channel="app"] .app-header-login-btn {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  height: 36px;
  padding: 0 16px;
  border: none;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #f97316, #ec4899);
  box-shadow: 0 4px 16px rgba(236, 72, 153, 0.3);
}

html[data-channel="app"] .app-header-account {
  display: none;
  position: relative;
}

html[data-channel="app"] [data-app-header-user][data-auth-state="guest"] .app-header-login-btn {
  display: inline-flex;
}

html[data-channel="app"] [data-app-header-user][data-auth-state="logged-in"] .app-header-account {
  display: block;
}

html[data-channel="app"] .app-header-auth-wrap .seeav-btn-primary {
  display: none !important;
}

html[data-channel="app"] .app-header-avatar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 2px solid rgba(251, 146, 60, 0.45);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  overflow: hidden;
}

html[data-channel="app"] .app-header-avatar-img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #374151 center/cover no-repeat;
}

/* 账号抽屉 */
html[data-channel="app"] .app-user-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  visibility: hidden;
}

html[data-channel="app"] .app-user-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

html[data-channel="app"] .app-user-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.28s ease;
}

html[data-channel="app"] .app-user-drawer.is-open .app-user-drawer-backdrop {
  opacity: 1;
}

html[data-channel="app"] .app-user-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100%;
  background: #12141c;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.45);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
}

html[data-channel="app"] .app-user-drawer.is-open .app-user-drawer-panel {
  transform: translateX(0);
}

html[data-channel="app"] .app-user-drawer-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

html[data-channel="app"] .app-user-drawer-avatar {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #374151 center/cover no-repeat;
  border: 2px solid rgba(251, 146, 60, 0.4);
}

html[data-channel="app"] .app-user-drawer-meta {
  flex: 1;
  min-width: 0;
}

html[data-channel="app"] .app-user-drawer-meta strong {
  display: block;
  font-size: 16px;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

html[data-channel="app"] .app-user-drawer-meta small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: #64748b;
}

html[data-channel="app"] .app-user-drawer-nav {
  display: flex;
  flex-direction: column;
  padding: 8px;
  gap: 4px;
}

html[data-channel="app"] .app-user-drawer-item {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #e2e8f0;
  font-size: 15px;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
}

html[data-channel="app"] .app-user-drawer-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fb923c;
}

html[data-channel="app"] .app-user-drawer-item.is-danger {
  color: #f87171;
}

html[data-channel="app"] .app-user-drawer-item.is-danger:hover {
  background: rgba(248, 113, 113, 0.1);
}

html[data-device="h5"][data-channel="app"] .app-user-drawer-panel {
  width: min(300px, 90vw);
}

html[data-channel="app"] body.app-user-drawer-open {
  overflow: hidden;
}

html[data-channel="app"] .app-header-user-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 120;
  min-width: 168px;
  padding: 6px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(14, 16, 24, 0.98);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(16px);
}

html[data-channel="app"] .app-header-user-menu-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 10px;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

html[data-channel="app"] .app-header-user-menu-avatar {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #374151 center/cover no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

html[data-channel="app"] .app-header-user-menu-name {
  font-size: 13px;
  font-weight: 700;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}

html[data-channel="app"] .app-header-user-menu-item {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #e2e8f0;
  font-size: 13px;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
}

html[data-channel="app"] .app-header-user-menu-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fb923c;
}

html[data-channel="app"] .app-header-user-menu-item.is-danger {
  color: #f87171;
}

html[data-channel="app"] .app-header-user-menu-item.is-danger:hover {
  background: rgba(248, 113, 113, 0.1);
  color: #fca5a5;
}

html[data-channel="app"] .seeav-header-actions .app-header-search {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0 !important;
  border-radius: 12px !important;
  border-color: var(--app-line) !important;
  background: var(--app-surface) !important;
  color: #e2e8f0 !important;
}

html[data-channel="app"] .seeav-header-actions .app-header-search svg {
  width: 18px;
  height: 18px;
  display: block;
}

html[data-channel="app"] .stars-hub-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}

html[data-channel="app"] .star-hub-card {
  border-color: var(--app-line);
  background: var(--app-surface);
  border-radius: 12px;
}

html[data-channel="app"] .star-hub-name {
  font-size: 14px;
  padding: 8px 8px 0;
}

html[data-channel="app"] .star-hub-meta {
  font-size: 11px;
  padding: 4px 8px 10px;
  color: #94a3b8;
}

html[data-channel="app"] body[data-page="home"] #seeav-nav-primary {
  display: none !important;
}

html[data-channel="app"] #seeav-nav-primary,
html[data-channel="app"] #seeav-nav-chips {
  display: none !important;
}

html[data-channel="app"] .seeav-nav-primary {
  padding-top: 0;
  padding-bottom: 10px;
  border-top: none;
}

html[data-channel="app"] .seeav-nav-primary a {
  font-size: 13px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--app-line);
  background: var(--app-surface);
}

html[data-channel="app"] .seeav-nav-primary a.active,
html[data-channel="app"] .seeav-nav-primary a:hover {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.22), rgba(168, 85, 247, 0.16));
  border-color: rgba(236, 72, 153, 0.32);
  color: #fbcfe8;
}

html[data-channel="app"] .footer {
  display: none !important;
}

html[data-channel="app"] .page-content {
  padding-top: 2px;
  padding-bottom: 12px;
}

html[data-channel="app"] .section-head {
  margin: 20px 0 10px;
  align-items: flex-end;
}

html[data-channel="app"] main > .section-head:first-child,
html[data-channel="app"] .page-content > .section-head:first-child {
  margin-top: 6px;
}

html[data-channel="app"] .section-head .section-sub {
  display: none;
}

html[data-channel="app"] .section-title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.02em;
  position: relative;
  padding-left: 11px;
}

html[data-channel="app"] .section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 14px;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--app-accent), var(--app-accent-2));
}

html[data-channel="app"] .ghost-btn {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  color: #94a3b8;
  border: 1px solid var(--app-line);
  background: transparent;
}

html[data-channel="app"] .chip {
  padding: 8px 14px;
  font-size: 12px;
  border: 1px solid var(--app-line);
  background: var(--app-surface);
}

html[data-channel="app"] .chip.active {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.22), rgba(168, 85, 247, 0.16));
  border-color: rgba(236, 72, 153, 0.35);
  color: #fbcfe8;
}

html[data-channel="app"] .tags-row {
  margin-bottom: 2px;
  gap: 8px;
}

/* —— 标签 / Chip：统一单行横向滑动 —— */
html[data-channel="app"] .app-scroll-row,
html[data-channel="app"] .chips-row,
html[data-channel="app"] .tags-row,
html[data-channel="app"] .search-v2-tabs,
html[data-channel="app"] .selected-filters,
html[data-channel="app"] .seeav-nav-primary,
html[data-channel="app"] .seeav-nav-chips,
html[data-channel="app"] #home-channel-row,
html[data-channel="app"] .tab-switch,
html[data-channel="app"] .quick-scroll-nav,
html[data-channel="app"] .play-compact-actions,
html[data-channel="app"] .search-v2-tag-row,
html[data-channel="app"] .filter-group .chips-row {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  gap: 8px;
  max-width: 100%;
}

html[data-channel="app"] .app-scroll-row::-webkit-scrollbar,
html[data-channel="app"] .chips-row::-webkit-scrollbar,
html[data-channel="app"] .tags-row::-webkit-scrollbar,
html[data-channel="app"] .search-v2-tabs::-webkit-scrollbar,
html[data-channel="app"] .selected-filters::-webkit-scrollbar,
html[data-channel="app"] .seeav-nav-primary::-webkit-scrollbar,
html[data-channel="app"] .seeav-nav-chips::-webkit-scrollbar,
html[data-channel="app"] #home-channel-row::-webkit-scrollbar,
html[data-channel="app"] .filter-group .chips-row::-webkit-scrollbar {
  display: none;
}

html[data-channel="app"] button.chip,
html[data-channel="app"] a.chip,
html[data-channel="app"] .search-v2-tab,
html[data-channel="app"] .tab-pill,
html[data-channel="app"] .selected-filter,
html[data-channel="app"] .quick-scroll-item {
  flex: 0 0 auto !important;
  white-space: nowrap;
}

html[data-channel="app"] .hero-carousel {
  margin-top: 0;
  min-height: 0;
}

html[data-channel="app"] .hero-slide {
  min-height: 0;
  aspect-ratio: 7 / 3;
  border-radius: 12px;
}

html[data-channel="app"] .hero-slide--art {
  padding: 0;
  background: #0a0a0e !important;
  border: 1px solid rgba(255, 255, 255, 0.06);
  line-height: 0;
}

html[data-channel="app"] .hero-slide--art::after {
  display: none;
}

html[data-channel="app"] .hero-banner-img {
  width: 100%;
  height: auto;
  aspect-ratio: 7 / 3;
  object-fit: cover;
  display: block;
  vertical-align: top;
}

html[data-channel="app"] .hero-slide-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-width: none;
  padding: 28px 14px 14px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82) 0%, transparent 100%);
}

html[data-channel="app"] .hero-slide-copy strong {
  font-size: 17px;
}

html[data-channel="app"] .hero-slide-copy span {
  margin-top: 4px;
  font-size: 12px;
}

html[data-channel="app"] .hero-slide-meta {
  margin-top: 8px;
  padding: 4px 8px;
  font-size: 10px;
}

html[data-channel="app"] .hero-dots {
  justify-content: center;
  margin-top: 10px;
}

html[data-channel="app"] .hero-dot.active {
  background: linear-gradient(90deg, var(--app-accent), var(--app-accent-2));
}

html[data-channel="app"] .content-grid {
  gap: 10px;
}

html[data-channel="app"] .poster {
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
}

html[data-channel="app"] .poster-body {
  display: none;
}

html[data-channel="app"] .card-meta,
html[data-channel="app"] .meta-row,
html[data-channel="app"] .card-actions {
  display: none;
}

html[data-channel="app"] .card-title {
  min-height: auto;
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 女星紧凑卡片：PC 一排 10，手机首页横滑 / 列表页 5×2 */
html[data-channel="app"] .stars-grid-10 {
  display: grid;
  gap: 10px;
  margin-top: 0;
}

html[data-device="pc"][data-channel="app"] .stars-grid-10 {
  grid-template-columns: repeat(10, minmax(0, 1fr));
}

html[data-device="pc"][data-channel="app"] #star-grid.home-stars-one-row {
  overflow: visible;
}

html[data-device="h5"][data-channel="app"] #star-grid.home-stars-one-row {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 8px;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

html[data-device="h5"][data-channel="app"] #star-grid.home-stars-one-row::-webkit-scrollbar {
  display: none;
}

html[data-device="h5"][data-channel="app"] .stars-hub-page-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

html[data-device="h5"][data-channel="app"] #star-grid.home-stars-one-row .star-compact-card {
  flex: 0 0 72px;
  min-width: 72px;
}

html[data-channel="app"] .star-compact-card {
  display: block;
  text-decoration: none;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(30, 24, 18, 0.92);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

html[data-channel="app"] .star-compact-card:hover {
  border-color: rgba(251, 146, 60, 0.45);
  transform: translateY(-2px);
}

html[data-channel="app"] .star-compact-cover {
  aspect-ratio: 1;
  background: #1f2937 center/cover no-repeat;
  background-color: #374151;
}

html[data-channel="app"] .star-compact-body {
  padding: 6px 6px 8px;
  text-align: center;
}

html[data-channel="app"] .star-compact-name {
  font-size: 11px;
  font-weight: 700;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

html[data-device="pc"][data-channel="app"] .star-compact-name {
  font-size: 12px;
}

html[data-channel="app"] .star-compact-meta {
  margin-top: 3px;
  font-size: 9px;
  line-height: 1.35;
  color: #94a3b8;
}

html[data-device="pc"][data-channel="app"] .star-compact-meta {
  font-size: 10px;
}

html[data-channel="app"] .star-compact-debut {
  margin-top: 2px;
  font-size: 9px;
  color: #64748b;
}

html[data-channel="app"] .stars-page-hero {
  text-align: center;
  margin: 8px 0 16px;
}

html[data-channel="app"] .stars-page-title {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 800;
  color: #fbbf24;
  letter-spacing: 0.04em;
}

html[data-channel="app"] .stars-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

html[data-channel="app"] .stars-filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  font-size: 13px;
  text-decoration: none;
}

html[data-channel="app"] .stars-filter-btn.active,
html[data-channel="app"] .stars-filter-btn:hover {
  border-color: rgba(251, 146, 60, 0.5);
  color: #fb923c;
  background: rgba(251, 146, 60, 0.1);
}

html[data-channel="app"] .stars-hub-page-grid {
  margin-bottom: 20px;
}

html[data-channel="app"] .app-pagination {
  margin: 8px 0 24px;
}

html[data-channel="app"] .app-pagination.hidden {
  display: none;
}

html[data-channel="app"] .app-pagination-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

html[data-channel="app"] .app-page-btn,
html[data-channel="app"] .app-page-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #e2e8f0;
  font-size: 13px;
  text-decoration: none;
}

html[data-channel="app"] .app-page-num.is-active {
  border-color: rgba(251, 146, 60, 0.55);
  color: #fb923c;
  background: rgba(251, 146, 60, 0.12);
}

html[data-channel="app"] .app-page-btn.is-disabled {
  opacity: 0.35;
  pointer-events: none;
}

html[data-channel="app"] .app-page-nums {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #64748b;
}

html[data-channel="app"] .seeav-topic-block {
  margin-top: 18px;
}

html[data-channel="app"] .seeav-topic-title {
  font-size: 17px;
  padding-left: 11px;
  position: relative;
}

html[data-channel="app"] .seeav-topic-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 14px;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--app-accent), var(--app-accent-2));
}

html[data-channel="app"] .seeav-topic-more {
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--app-line);
}

html[data-channel="app"] .app-hide-section {
  display: none !important;
}

html[data-channel="app"] .auth-inline-tip {
  display: none;
}

html[data-channel="app"] .quick-link {
  border-radius: 14px;
  padding: 14px;
  border-color: var(--app-line);
  background: var(--app-surface);
}

html[data-channel="app"] .quick-link-sub {
  font-size: 12px;
  margin-top: 4px;
}

html[data-channel="app"] .primary-btn {
  background: linear-gradient(135deg, var(--app-accent), var(--app-accent-2)) !important;
  border-color: transparent !important;
  color: #fff !important;
}

html[data-channel="app"] .profile-vip-banner {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(168, 85, 247, 0.14)) !important;
  border-color: rgba(236, 72, 153, 0.28) !important;
}

html[data-channel="app"] .progress-value {
  background: linear-gradient(90deg, var(--app-accent), var(--app-accent-2)) !important;
}

html[data-channel="app"] body[data-page="play"] .page-content {
  padding: 0 12px 24px;
  width: 100%;
  max-width: 100%;
}

html[data-channel="app"] body[data-page="play"] .page-shell,
html[data-channel="app"] body[data-page="play"].theme-seeav .page-shell {
  background: #000;
}

html[data-channel="app"] body[data-page="play"] {
  background: #000;
}

html[data-channel="app"] .play-app-page {
  --play-bg: #000000;
  --play-block: #14161c;
  --play-block-inner: #1c1f28;
  --play-line: rgba(255, 255, 255, 0.08);
  padding-top: 4px;
}

html[data-channel="app"] .play-app-nav {
  margin-bottom: 10px;
  padding: 0 2px;
}

html[data-channel="app"] .app-block {
  background: var(--play-block, #14161c);
  border: 1px solid var(--play-line);
  border-radius: 14px;
  margin-bottom: 10px;
  overflow: hidden;
}

html[data-channel="app"] .app-block-inner {
  background: var(--play-block-inner, #1c1f28);
  border: 1px solid var(--play-line);
  border-radius: 12px;
}

html[data-channel="app"] .play-block-player {
  padding: 0;
  border: none;
  background: var(--play-block);
}

html[data-channel="app"] .play-block-player .player-video-wrap {
  border-radius: 14px 14px 0 0;
  border: 0;
  overflow: hidden;
  background: #000;
}

html[data-channel="app"] .play-block-player video {
  width: 100%;
  height: auto;
  display: block;
  max-height: min(56vw, 240px);
  background: #000;
  vertical-align: middle;
}

html[data-channel="app"] .play-player-tools {
  display: flex;
  gap: 8px;
  padding: 10px 12px 12px;
  border-top: 1px solid var(--play-line);
  background: var(--play-block);
}

html[data-channel="app"] .play-player-tools button {
  flex: 1;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--play-line);
  background: var(--play-block-inner);
  color: #e2e8f0;
  font-size: 13px;
  cursor: pointer;
}

html[data-channel="app"] .play-block-info {
  padding: 14px 14px 12px;
}

html[data-channel="app"] .play-block-info .play-compact-title {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 700;
  color: #f8fafc;
}

html[data-channel="app"] .play-block-info .play-compact-meta {
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 12px;
}

html[data-channel="app"] .play-block-info .play-compact-actions {
  margin: 0 0 12px;
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

html[data-channel="app"] .play-block-info .play-compact-actions::-webkit-scrollbar {
  display: none;
}

html[data-channel="app"] .play-block-info .card-action-btn {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--play-line);
  background: var(--play-block-inner);
  color: #e2e8f0;
  font-size: 12px;
  text-decoration: none;
}

html[data-channel="app"] .play-tag-row {
  margin: 0;
  padding-bottom: 2px;
}

html[data-channel="app"] .play-tag-row .chip {
  background: var(--play-block-inner);
  border-color: var(--play-line);
  color: #cbd5e1;
  font-size: 12px;
}

html[data-channel="app"] .play-block-intro,
html[data-channel="app"] .play-block-comments {
  padding: 14px;
}

html[data-channel="app"] .play-block-heading {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #f8fafc;
  padding-left: 11px;
  position: relative;
}

html[data-channel="app"] .play-block-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 14px;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--app-accent), var(--app-accent-2));
}

html[data-channel="app"] .play-fold-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

html[data-channel="app"] .play-fold-btn {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 8px;
  border-color: var(--play-line);
  background: var(--play-block-inner);
  color: #94a3b8;
}

html[data-channel="app"] .play-intro-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: #cbd5e1;
}

html[data-channel="app"] .play-block-comments .play-comment-list {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

html[data-channel="app"] .play-block-comments .play-comment-item {
  padding: 12px;
  margin: 0;
}

html[data-channel="app"] .play-block-comments .play-comment-item strong {
  display: block;
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 6px;
  font-weight: 600;
}

html[data-channel="app"] .play-block-comments .play-comment-item span {
  font-size: 13px;
  color: #e2e8f0;
  line-height: 1.55;
}

html[data-channel="app"] .play-comment-more {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  color: #94a3b8;
  text-decoration: none;
}

html[data-channel="app"] .play-comment-form {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--play-line);
  display: grid;
  gap: 10px;
}

html[data-channel="app"] .play-comment-form .field {
  background: var(--play-block-inner);
  border-color: var(--play-line);
  border-radius: 12px;
  font-size: 14px;
}

html[data-channel="app"] .play-block-recommend {
  padding: 14px 14px 16px;
}

html[data-channel="app"] .play-block-recommend .play-block-heading {
  margin-bottom: 12px;
}

html[data-channel="app"] .play-recommend-grid {
  gap: 10px;
}

html[data-channel="app"] body[data-page="play"] .card-meta,
html[data-channel="app"] body[data-page="play"] .meta-row,
html[data-channel="app"] body[data-page="play"] .card-actions {
  display: none;
}

html[data-channel="app"] .search-bar {
  border-radius: 14px;
  border-color: var(--app-line);
  background: var(--app-surface);
}

html[data-channel="app"] .category-toolbar {
  display: block;
  margin-bottom: 8px;
}

html[data-channel="app"] .category-toolbar .chips-row {
  width: 100%;
  padding-bottom: 2px;
}

html[data-channel="app"] .category-toolbar .toolbar-right {
  display: none !important;
}

html[data-channel="app"] .app-result-count,
html[data-channel="app"] .category-toolbar + .selected-filters + .result-count,
html[data-channel="app"] .result-count {
  font-size: 12px;
  color: #64748b;
  margin: 0 0 10px;
}

html[data-channel="app"] .search-v2-tabs {
  gap: 8px;
  border-bottom: 0;
  margin-bottom: 14px;
  padding-bottom: 2px;
}

html[data-channel="app"] .search-v2-tab {
  padding: 8px 14px;
  font-size: 13px;
  border-radius: 999px;
  border: 1px solid var(--app-line);
  background: var(--app-surface);
  color: #94a3b8;
}

html[data-channel="app"] .search-v2-tab.active {
  color: #fbcfe8;
  border-color: rgba(236, 72, 153, 0.35);
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.22), rgba(168, 85, 247, 0.16));
  border-bottom: 1px solid rgba(236, 72, 153, 0.35);
}

html[data-channel="app"] body.app-subpage .seeav-header {
  display: none !important;
}

html[data-channel="app"] body.app-subpage .page-content {
  padding-top: 6px;
}

html[data-channel="app"] .page-subnav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  margin-bottom: 10px;
}

html[data-channel="app"] .app-page-title {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: #f8fafc;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html[data-channel="app"] .btn-text-back {
  flex-shrink: 0;
  border-radius: 12px;
  border-color: var(--app-line);
  background: var(--app-surface);
  padding: 8px 14px;
  font-size: 13px;
}

html[data-channel="app"] .page-subnav:has(.app-page-title) + .search-summary .summary-title {
  display: none !important;
}

html[data-channel="app"] .search-summary.app-summary-compact {
  margin-bottom: 8px;
}

html[data-channel="app"] .search-summary.app-summary-compact:empty,
html[data-channel="app"] .search-summary.app-summary-compact .summary-main:empty {
  display: none;
}

html[data-channel="app"] .search-summary.app-summary-compact .summary-desc:empty {
  display: none;
}

html[data-channel="app"] .search-summary.app-summary-compact:not(:has(.summary-desc:not(:empty))) {
  display: none;
}

html[data-channel="app"] .page-subnav-crumb,
html[data-channel="app"] .breadcrumbs {
  display: none !important;
}

html[data-channel="app"] #filter-drawer.drawer {
  top: auto;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-height: min(78vh, 640px);
  border-left: 0;
  border-top: 1px solid var(--app-line);
  border-radius: 20px 20px 0 0;
  transform: translateY(100%);
}

html[data-channel="app"] #filter-drawer.drawer.active {
  transform: translateY(0);
}

html[data-channel="app"] .drawer-body {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

html[data-channel="app"] .split-grid {
  display: block !important;
}

html[data-channel="app"] .split-grid > section + section {
  margin-top: 18px;
}

html[data-channel="app"] .detail-header {
  display: block;
}

html[data-channel="app"] .detail-actions {
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  gap: 8px;
  padding-bottom: 2px;
}

html[data-channel="app"] .detail-actions::-webkit-scrollbar {
  display: none;
}

html[data-channel="app"] .detail-actions .primary-btn,
html[data-channel="app"] .detail-actions .secondary-btn,
html[data-channel="app"] .detail-actions .ghost-btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

html[data-channel="app"] .vip-card {
  display: none;
}

html[data-channel="app"] .search-summary {
  display: block;
}

html[data-channel="app"] .search-summary .primary-btn {
  display: none;
}

html[data-channel="app"] .summary-desc {
  display: none;
}

html[data-channel="app"] #list-page-desc {
  display: none !important;
}

/* 底部 Tab 栏 — 始终显示 */
html[data-channel="app"] nav.mobile-bottom-nav.app-tabbar,
html[data-channel="app"] .mobile-bottom-nav.app-tabbar {
  display: grid !important;
  position: fixed !important;
  left: 50% !important;
  right: auto !important;
  bottom: 0 !important;
  transform: translateX(-50%);
  width: min(430px, 100%) !important;
  max-width: 430px !important;
  z-index: 100 !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 0 !important;
  padding: 8px 6px calc(8px + env(safe-area-inset-bottom)) !important;
  margin: 0 !important;
  background: rgba(8, 10, 16, 0.96) !important;
  backdrop-filter: blur(20px) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.07) !important;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.45) !important;
}

/* 每个 Tab：纵向排列，图标上、文字下 */
html[data-channel="app"] .mobile-bottom-nav.app-tabbar a.app-tab {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  padding: 2px 0 !important;
  margin: 0 !important;
  text-decoration: none !important;
  -webkit-tap-highlight-color: transparent;
  min-width: 0;
}

/* 图标容器 */
html[data-channel="app"] .mobile-bottom-nav.app-tabbar .app-tab-icon {
  width: 28px !important;
  height: 28px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 10px !important;
  flex-shrink: 0 !important;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

html[data-channel="app"] .mobile-bottom-nav.app-tabbar .app-tab-icon svg {
  width: 22px !important;
  height: 22px !important;
  display: block !important;
}

/* 文字在图标下方 */
html[data-channel="app"] .mobile-bottom-nav.app-tabbar .app-tab-label {
  display: block !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color 0.2s ease;
}

/* —— 未选中（非点亮）—— */
html[data-channel="app"] .mobile-bottom-nav.app-tabbar a.app-tab:not(.is-active):not(.active) .app-tab-icon {
  color: #64748b !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-channel="app"] .mobile-bottom-nav.app-tabbar a.app-tab:not(.is-active):not(.active) .app-tab-label {
  color: #64748b !important;
}

html[data-channel="app"] .mobile-bottom-nav.app-tabbar a.app-tab:not(.is-active):active .app-tab-icon {
  transform: scale(0.92);
}

/* —— 选中（点亮）—— */
html[data-channel="app"] .mobile-bottom-nav.app-tabbar a.app-tab.is-active .app-tab-icon,
html[data-channel="app"] .mobile-bottom-nav.app-tabbar a.app-tab.active .app-tab-icon {
  color: #ffffff !important;
  background: linear-gradient(145deg, #ec4899 0%, #a855f7 100%) !important;
  box-shadow: 0 4px 16px rgba(236, 72, 153, 0.45) !important;
}

html[data-channel="app"] .mobile-bottom-nav.app-tabbar a.app-tab.is-active .app-tab-label,
html[data-channel="app"] .mobile-bottom-nav.app-tabbar a.app-tab.active .app-tab-label {
  color: #f9a8d4 !important;
  font-weight: 700 !important;
}

/* 播放 / 登录页隐藏 Tab */
html[data-channel="app"] body[data-page="play"] .mobile-bottom-nav,
html[data-channel="app"] body[data-page="login"] .mobile-bottom-nav,
html[data-channel="app"] body[data-page="register"] .mobile-bottom-nav {
  display: none !important;
}

html[data-channel="app"] body[data-page="play"],
html[data-channel="app"] body[data-page="login"],
html[data-channel="app"] body[data-page="register"] {
  padding-bottom: 0 !important;
}

/* —— App 开机加载页 —— */
.splash-screen {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  background: #000;
  color: #f8fafc;
  font-family: "PingFang SC", "Noto Sans SC", -apple-system, system-ui, sans-serif;
  overflow: hidden;
  position: relative;
  max-width: 430px;
  margin-left: auto;
  margin-right: auto;
}

.splash-screen.splash-exit .splash-main {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.38s ease, transform 0.38s ease;
}

.splash-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.splash-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}

.splash-orb-a {
  width: 280px;
  height: 280px;
  top: -80px;
  left: 50%;
  margin-left: -140px;
  background: rgba(236, 72, 153, 0.35);
  animation: splash-orb-float 6s ease-in-out infinite;
}

.splash-orb-b {
  width: 220px;
  height: 220px;
  bottom: 8%;
  right: -40px;
  background: rgba(139, 92, 246, 0.28);
  animation: splash-orb-float 7s ease-in-out infinite reverse;
}

.splash-main {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 28px;
  width: min(100%, 360px);
  animation: splash-main-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.splash-logo-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 0 auto 28px;
}

.splash-logo-ring {
  position: absolute;
  inset: -6px;
  border-radius: 26px;
  border: 2px solid transparent;
  border-top-color: #ec4899;
  border-right-color: rgba(168, 85, 247, 0.6);
  animation: splash-ring-spin 1.1s linear infinite;
}

.splash-logo-mark {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #ec4899 0%, #a855f7 100%);
  box-shadow:
    0 20px 50px rgba(236, 72, 153, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.splash-logo-mark svg {
  width: 40px;
  height: 40px;
  margin-left: 4px;
}

.splash-brand {
  margin: 0 0 10px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.splash-brand span {
  color: #f472b6;
  font-weight: 700;
  font-size: 0.55em;
  letter-spacing: 0.12em;
  margin-left: 6px;
  vertical-align: middle;
}

.splash-tagline {
  margin: 0 0 36px;
  font-size: 14px;
  color: #94a3b8;
  letter-spacing: 0.06em;
}

.splash-progress {
  width: min(260px, 78vw);
  margin: 0 auto;
}

.splash-progress-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.splash-progress-fill {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ec4899, #a855f7);
  transition: width 0.12s linear;
  box-shadow: 0 0 12px rgba(236, 72, 153, 0.5);
}

.splash-status {
  margin: 14px 0 0;
  font-size: 12px;
  color: #64748b;
  letter-spacing: 0.04em;
  min-height: 18px;
}

@keyframes splash-main-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes splash-ring-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes splash-orb-float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(12px, -16px) scale(1.08);
  }
}

/* 兼容旧类名（若仍有引用） */
.app-splash-page {
  margin: 0;
  min-height: 100vh;
  background: #000;
}

/* 双列网格单数时，末张居中（首页单行模块除外） */
html[data-channel="app"] .content-grid.grid-count-odd:not(.home-module-grid) > .card:last-child {
  grid-column: 1 / -1;
  width: calc((100% - 12px) / 2);
  max-width: calc((100% - 12px) / 2);
  justify-self: center;
}

/* 首页模块：固定一排 6 个（手机横滑），禁止单数放大 */
html[data-channel="app"] .content-grid.home-module-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: auto;
}

html[data-channel="app"] .content-grid.home-module-grid > .card {
  min-width: 0;
}

html[data-channel="app"] .content-grid.home-module-grid[data-home-module-count="5"] {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

html[data-device="h5"][data-channel="app"] .content-grid.home-module-grid {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 10px;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

html[data-device="h5"][data-channel="app"] .content-grid.home-module-grid::-webkit-scrollbar {
  display: none;
}

html[data-device="h5"][data-channel="app"] .content-grid.home-module-grid > .card {
  flex: 0 0 42%;
  max-width: 42%;
}

html[data-channel="app"] .home-tag-list-view {
  margin-top: 4px;
}

html[data-channel="app"] .content-grid.list-page-grid > .card:last-child {
  grid-column: auto;
  width: auto;
  max-width: none;
  justify-self: stretch;
}

html[data-device="pc"][data-channel="app"] .content-grid.list-page-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

html[data-device="pc"][data-channel="app"] .content-grid.home-module-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

html[data-device="pc"][data-channel="app"] .content-grid.home-module-grid[data-home-module-count="5"] {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}


/* —— 我的页（精简版）—— */
html[data-channel="app"] .profile-app-page {
  position: relative;
  padding-top: 4px;
}

html[data-channel="app"] .profile-app-head {
  position: relative;
  text-align: center;
  padding: 12px 0 20px;
}

html[data-channel="app"] .profile-app-settings {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border: 0;
  background: transparent;
  color: #e2e8f0;
  font-size: 13px;
  cursor: pointer;
}

html[data-channel="app"] .profile-app-settings svg {
  width: 18px;
  height: 18px;
}

html[data-channel="app"] .profile-app-user {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

html[data-channel="app"] .profile-app-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid rgba(236, 72, 153, 0.45);
  background: linear-gradient(135deg, #1f2937, #0f172a);
  cursor: pointer;
  padding: 0;
}

html[data-channel="app"] .profile-app-name {
  font-size: 22px;
  font-weight: 800;
  color: #f8fafc;
}

html[data-channel="app"] .profile-app-meta {
  font-size: 12px;
  color: #94a3b8;
  min-height: 16px;
}

html[data-channel="app"] .profile-app-actions {
  margin-top: 14px;
}

html[data-channel="app"] .profile-app-login,
html[data-channel="app"] .profile-app-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

html[data-channel="app"] .profile-app-login {
  background: linear-gradient(135deg, var(--app-accent), var(--app-accent-2));
  color: #fff;
}

html[data-channel="app"] .profile-app-logout {
  border: 1px solid var(--app-line);
  background: var(--app-surface);
  color: #e2e8f0;
}

html[data-channel="app"] .profile-app-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--app-line);
  margin-bottom: 14px;
  padding-bottom: 0;
}

html[data-channel="app"] .profile-app-tab {
  flex: 1;
  border: 0;
  background: transparent;
  color: #94a3b8;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 8px;
  position: relative;
  white-space: nowrap;
  cursor: pointer;
}

html[data-channel="app"] .profile-app-tab.active {
  color: #f8fafc;
}

html[data-channel="app"] .profile-app-tab.active::after {
  content: "";
  position: absolute;
  left: 20%;
  right: 20%;
  bottom: 0;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--app-accent), var(--app-accent-2));
}

html[data-channel="app"] .profile-app-panel {
  display: none;
}

html[data-channel="app"] .profile-app-panel.active {
  display: block;
}

html[data-channel="app"] .profile-empty {
  text-align: center;
  padding: 48px 20px;
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.6;
}

html[data-channel="app"] .profile-stars-list {
  display: grid;
  gap: 10px;
}

html[data-channel="app"] .profile-star-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--app-line);
  background: var(--app-surface);
  text-decoration: none;
  color: inherit;
}

html[data-channel="app"] .profile-star-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, #1f2937, #0f172a);
  background-size: cover;
  background-position: center;
}

html[data-channel="app"] .profile-star-info {
  flex: 1;
  min-width: 0;
}

html[data-channel="app"] .profile-star-info strong {
  display: block;
  font-size: 15px;
  color: #f8fafc;
}

html[data-channel="app"] .profile-star-info small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: #94a3b8;
}

html[data-channel="app"] .profile-star-arrow {
  color: #64748b;
  font-size: 18px;
}

html[data-channel="app"] .profile-avatar-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

html[data-channel="app"] .profile-avatar-option {
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  background-color: #1f2937;
}

html[data-channel="app"] .profile-avatar-option.is-selected {
  border-color: #f97316;
  box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.35);
}

html[data-channel="app"] .profile-edit-modal .modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

html[data-channel="app"] .profile-login-modal .profile-login-tip {
  margin: 0 0 16px;
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

html[data-channel="app"] #actress-subscribe-btn.active {
  border-color: rgba(236, 72, 153, 0.45);
  color: #fbcfe8;
  background: rgba(236, 72, 153, 0.16);
}

/* —— 登录 / 注册标准弹窗 —— */
html[data-channel="app"] .auth-modal {
  width: min(400px, calc(100vw - 32px));
  border-radius: 20px;
  border-color: var(--app-line);
  background: #12141c;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  margin: 0;
}

html[data-channel="app"] .auth-modal.active {
  display: block;
}

html[data-channel="app"] .auth-modal .modal-head {
  padding: 20px 20px 12px;
}

html[data-channel="app"] .auth-modal .modal-title {
  font-size: 20px;
  line-height: 1.35;
}

html[data-channel="app"] .auth-modal .section-sub {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.55;
  color: #94a3b8;
}

html[data-channel="app"] .auth-modal .modal-body {
  padding: 0 20px 20px;
}

html[data-channel="app"] .auth-panel {
  display: none;
}

html[data-channel="app"] .auth-panel.active {
  display: block;
}

html[data-channel="app"] .auth-modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

html[data-channel="app"] .auth-modal-actions .primary-btn,
html[data-channel="app"] .auth-modal-actions .secondary-btn {
  width: 100%;
  text-align: center;
  justify-content: center;
}

html[data-channel="app"] .auth-switch-row {
  margin: 16px 0 0;
  text-align: center;
  font-size: 13px;
  color: #94a3b8;
}

html[data-channel="app"] .auth-switch-row button {
  margin-left: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #f472b6;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

html[data-channel="app"] .modal-backdrop.active {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}
