/* Shared modern UI layer for the muban7 consumer pages. */
:root {
  --m7-bg: #f5f7fb;
  --m7-surface: #ffffff;
  --m7-surface-soft: #f8fafc;
  --m7-text: #101828;
  --m7-muted: #667085;
  --m7-line: #e6edf7;
  --m7-primary: #2563eb;
  --m7-primary-dark: #1d4ed8;
  --m7-primary-soft: #eef4ff;
  --m7-accent: #f59e0b;
  --m7-danger: #ef4444;
  --m7-radius-sm: 10px;
  --m7-radius-md: 14px;
  --m7-radius-lg: 18px;
  --m7-shadow: 0 12px 32px rgba(16, 24, 40, .10);
  --m7-shadow-soft: 0 6px 18px rgba(16, 24, 40, .07);
  --m7-gradient: linear-gradient(135deg, #172554 0%, #1d4ed8 52%, #38bdf8 100%);
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  min-height: 100%;
  background: var(--m7-bg) !important;
  color: var(--m7-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0;
}

body {
  margin: 0;
  padding-bottom: 78px;
  background-image: radial-gradient(circle at 15% -5%, rgba(56, 189, 248, .16), transparent 32%), radial-gradient(circle at 100% 0, rgba(99, 102, 241, .12), transparent 28%);
}

a {
  color: inherit;
  text-decoration: none;
}

#app {
  max-width: 520px;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--m7-bg);
}

.box.body.home,
#app > .box.body.channelbox {
  padding: 12px 12px 82px;
}

.header,
.page-head {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 247, 251, .92);
  border-bottom: 1px solid rgba(230, 237, 247, .9);
  backdrop-filter: blur(16px);
}

.header {
  display: grid;
  grid-template-columns: 60px 1fr 60px;
  gap: 10px;
  align-items: center;
  margin: -12px -12px 12px;
  padding: 10px 12px 12px;
}

.header li {
  list-style: none;
}

.header .agency,
.header .request,
.header .search,
.back-btn,
.search-box input {
  height: 42px;
  border-radius: var(--m7-radius-md);
  background: rgba(255, 255, 255, .96);
  border: 1px solid var(--m7-line);
  box-shadow: 0 3px 12px rgba(16, 24, 40, .05);
}

.header .agency,
.header .request {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 42px !important;
}

.header .agency .collect-btn,
.header .request .Request-btn {
  color: var(--m7-primary);
  font-size: 13px;
  font-weight: 800;
}

.header .agency i {
  display: none;
}

.header .search {
  position: relative !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 14px 0 38px !important;
  color: var(--m7-muted);
  font-size: 14px;
  line-height: 42px !important;
  overflow: hidden;
  text-align: left;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.header .search:before {
  content: "";
  position: absolute;
  left: 15px;
  top: 13px;
  width: 13px;
  height: 13px;
  border: 2px solid #9aa8bd;
  border-radius: 50%;
}

.header .search:after {
  content: "";
  position: absolute;
  left: 27px;
  top: 27px;
  width: 7px;
  height: 2px;
  background: #9aa8bd;
  border-radius: 2px;
  transform: rotate(45deg);
}

.body .banner,
.home-hero,
.channel,
.section,
.list-item,
.empty-state,
.WX-window-box .WX-Window-main {
  background: var(--m7-surface);
  border: 1px solid var(--m7-line);
  box-shadow: var(--m7-shadow-soft);
}

.home-hero {
  position: relative;
  overflow: hidden;
  min-height: 112px;
  padding: 22px 20px;
  color: #fff;
  background: var(--m7-gradient);
  border: 0;
  box-shadow: 0 18px 38px rgba(37, 99, 235, .24);
}

.home-hero:after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -45px;
  top: -85px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
}

.section,
.list-item,
.channel,
.empty-state {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.list-item:active,
.channel:active {
  transform: translateY(1px);
}

.section-title:before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 16px;
  margin-right: 8px;
  border-radius: 4px;
  background: var(--m7-gradient);
  vertical-align: -2px;
}

.body .banner {
  overflow: hidden;
  margin: 0 0 12px;
  border-radius: var(--m7-radius-lg);
}

.body .banner .swipe,
.body .banner .el-carousel,
.body .banner .el-carousel__container,
.body .banner img {
  border-radius: var(--m7-radius-lg);
}

.NoticeBox {
  margin: 0 0 12px !important;
  overflow: hidden;
  border-radius: var(--m7-radius-md);
  background: #fff7ed !important;
  border: 1px solid #fed7aa;
  box-shadow: none !important;
}

.NoticeContentBox {
  height: 34px !important;
  line-height: 34px !important;
  padding: 0 10px;
  color: #9a3412;
  font-size: 13px;
}

.home-hero {
  margin: 0 0 12px;
  padding: 17px;
  border-radius: var(--m7-radius-lg);
  background: linear-gradient(135deg, #ffffff 0%, #eef4ff 58%, #f8fbff 100%);
}

.home-hero h1 {
  margin: 0 0 7px;
  color: var(--m7-text);
  font-size: 22px;
  font-weight: 900;
  line-height: 30px;
}

.home-hero p {
  margin: 0;
  color: var(--m7-muted);
  font-size: 13px;
  line-height: 20px;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 15px;
}

.quick-actions button,
.quick-actions a,
.search-box button,
.order-login button,
.vip-plan button,
.logout-btn,
.player-cover button {
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--m7-primary), #0f8bff);
  box-shadow: 0 10px 22px rgba(37, 99, 235, .22);
  font-weight: 800;
}

.quick-actions button,
.quick-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  font-size: 13px;
}

.section-head,
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 15px 2px 9px;
}

.section-title {
  margin: 0 0 10px;
}

.section-head h2,
.section-title {
  color: var(--m7-text);
  font-size: 16px;
  font-weight: 900;
  line-height: 24px;
}

.section-head a,
.section-head span,
.section-title span {
  color: var(--m7-muted);
  font-size: 12px;
  font-weight: 500;
}

.channel,
.section {
  margin: 0 0 12px;
  padding: 12px;
  border-radius: var(--m7-radius-lg);
}

.body .channel ul,
.cat-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.body .channel ul li,
.body .channel ul li:nth-child(6),
.body .channel ul li:nth-child(12),
.licat {
  display: block;
  width: 100% !important;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  text-align: center;
}

.body .channel ul li a,
.cat-list a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  height: 78px;
  padding: 8px 4px;
  border-radius: var(--m7-radius-md);
  background: var(--m7-surface-soft);
  border: 1px solid #edf2fa;
  color: var(--m7-primary-dark) !important;
  font-size: 12px;
  font-weight: 800;
}

.body .channel ul li img,
.body .channel ul li .thumb,
.body .channel ul li .thumb img,
.cat-list img {
  width: 32px !important;
  height: 32px !important;
  border-radius: var(--m7-radius-sm);
  object-fit: cover;
}

.body .channel ul li span,
.cat-list span {
  display: block;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  color: inherit;
  line-height: 16px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#list .video-grid,
.video-grid,
.list .van-clearfix {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  align-items: stretch;
}

#list .video-grid:before,
#list .video-grid:after,
.video-grid:before,
.video-grid:after,
.list .van-clearfix:before,
.list .van-clearfix:after {
  display: none !important;
  content: none !important;
}

.list .list-item,
.list-item {
  display: block !important;
  float: none !important;
  width: 100% !important;
  min-height: 0;
  margin: 0 !important;
  overflow: hidden;
  list-style: none;
  border-radius: var(--m7-radius-md);
}

.list .list-item .thumb,
.list-item .thumb {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #dfe7f2;
}

.list .list-item .thumb img,
.list-item .thumb img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform .2s ease;
}

.list .list-item:active .thumb img,
.list-item:active .thumb img {
  transform: scale(1.03);
}

.list .list-item .name,
.list-item .name {
  height: 42px;
  margin: 9px 10px 5px;
  overflow: hidden;
  color: var(--m7-text);
  font-size: 14px;
  font-weight: 800;
  line-height: 21px;
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.list .list-item .plays,
.list-item .plays {
  margin: 0 10px 12px;
  padding: 0;
  color: var(--m7-muted);
  font-size: 12px;
  line-height: 18px;
  text-align: left;
}

.footer {
  position: fixed;
  left: 50% !important;
  right: auto !important;
  bottom: 12px !important;
  z-index: 30;
  width: min(488px, calc(100% - 24px)) !important;
  height: 60px !important;
  transform: translateX(-50%);
  border-radius: 20px;
  background: rgba(255, 255, 255, .95) !important;
  border: 1px solid rgba(230, 237, 247, .95);
  box-shadow: 0 16px 36px rgba(16, 24, 40, .16);
  backdrop-filter: blur(16px);
}

.footer ul {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer ul li,
.footer li {
  width: auto !important;
  height: 100%;
  padding: 7px 0 5px;
  text-align: center;
}

.footer img {
  display: block;
  width: 21px !important;
  height: 21px !important;
  margin: 0 auto 4px;
  object-fit: contain;
}

.footer span {
  display: block;
  color: var(--m7-muted);
  font-size: 12px;
  line-height: 16px;
}

.footer .active span,
.footer ul li.active span {
  color: var(--m7-primary);
  font-weight: 800;
}

.WX-window-shade {
  background: rgba(15, 23, 42, .56) !important;
  backdrop-filter: blur(4px);
}

.WX-window-box .WX-Window-main {
  width: min(88%, 380px) !important;
  overflow: hidden;
  border-radius: 20px !important;
  box-shadow: 0 22px 60px rgba(16, 24, 40, .26);
}

.WX-window-box h2 {
  height: 50px !important;
  line-height: 50px !important;
  background: linear-gradient(135deg, var(--m7-primary), var(--m7-primary-dark)) !important;
  color: #fff !important;
  font-size: 17px !important;
  font-weight: 900;
}

.WX-window-box .WX-Window-body {
  padding: 14px !important;
}

.WX-Window-footer .WX-Window-btn,
.WX-Window-btn.cannel {
  height: 42px !important;
  line-height: 42px !important;
  border-radius: 999px !important;
  background: #f2f5fa !important;
  color: var(--m7-text) !important;
  font-weight: 800;
}

.pay-item {
  height: 44px !important;
  line-height: 44px !important;
  margin: 10px 0 0 !important;
  border: 0 !important;
  border-radius: var(--m7-radius-md) !important;
  background: var(--m7-primary-soft) !important;
  color: var(--m7-primary-dark) !important;
  font-weight: 800;
  list-style: none;
  text-align: center;
}

.pay-item a {
  color: var(--m7-primary-dark) !important;
  font-size: 14px !important;
}

.profile-panel {
  background: linear-gradient(180deg, #eef4ff 0%, #f8fbff 100%) !important;
}

.profile-head,
.profile-cards,
.profile-actions,
.vip-plan-list {
  color: var(--m7-text);
}

.profile-card,
.profile-action,
.vip-plan {
  background: #fff !important;
  border: 1px solid var(--m7-line);
  box-shadow: var(--m7-shadow-soft) !important;
}

.page-head {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
  align-items: center;
  margin: -12px -12px 12px;
  padding: 10px 12px 12px;
}

.back-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--m7-primary);
  font-size: 24px;
  font-weight: 900;
}

.search-box {
  display: grid;
  grid-template-columns: 1fr 58px;
  gap: 8px;
  height: 42px;
}

.search-box input {
  width: 100%;
  padding: 0 14px;
  outline: 0;
  color: var(--m7-text);
  font-size: 14px;
}

.search-box button {
  font-size: 14px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag-list a {
  display: block;
  height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  background: #f2f5fa;
  color: var(--m7-text);
  font-size: 13px;
  line-height: 34px;
}

.video-player-shell {
  padding: 12px !important;
  background: #080b12 !important;
}

.video-player {
  overflow: hidden;
  border-radius: 18px !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .34) !important;
}

.video-meta-bar {
  display: block !important;
  margin-top: 11px !important;
  padding: 11px 12px 13px !important;
  border-radius: 10px;
  background: #152b2a !important;
  color: #fff !important;
  box-sizing: border-box;
}

.video-meta-bar span:first-child {
  display: block !important;
  overflow: visible !important;
  color: #f7faf9 !important;
  font-size: 13px;
  line-height: 1.55;
  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.video-meta-bar span:last-child {
  display: block !important;
  margin-top: 6px;
  color: #f5d36f !important;
  font-size: 11px;
}

.player_bot {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 12px 12px !important;
  overflow: hidden;
  border: 1px solid var(--m7-line) !important;
  border-radius: var(--m7-radius-lg);
  background: #fff !important;
  box-shadow: var(--m7-shadow-soft);
}

.player_bot div {
  padding: 10px 4px;
  color: var(--m7-muted);
  font-size: 12px;
}

.player_bot div img {
  width: 24px !important;
  height: 24px !important;
  margin: 0 auto 6px !important;
}

.details {
  height: auto !important;
  margin: 0 12px 12px;
  padding: 12px;
  border: 1px solid var(--m7-line) !important;
  border-radius: var(--m7-radius-lg);
  background: #fff;
  box-shadow: var(--m7-shadow-soft);
}

.details span,
.details p {
  color: var(--m7-muted) !important;
  font-size: 13px !important;
  line-height: 22px !important;
}

.weui-panel__hd {
  margin: 15px 12px 9px;
  padding: 0 !important;
  color: var(--m7-text) !important;
  font-size: 16px !important;
  font-weight: 900;
  text-align: left !important;
}

@media (min-width: 521px) {
  body {
    background: #e9eef6 !important;
  }

  #app {
    box-shadow: 0 0 0 1px rgba(23, 32, 51, .06);
  }

  #list .video-grid,
  .video-grid,
  .list .van-clearfix {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 360px) {
  #list .video-grid,
  .video-grid,
  .list .van-clearfix {
    gap: 9px;
  }

  .list .list-item .name,
  .list-item .name {
    font-size: 13px;
  }
}

/* Strong visual refresh: dark premium content experience */
:root {
  --m7-bg: #070a12;
  --m7-surface: #111827;
  --m7-surface-soft: #182235;
  --m7-elevated: rgba(17, 24, 39, .82);
  --m7-text: #f8fafc;
  --m7-muted: #9aa8bd;
  --m7-line: rgba(148, 163, 184, .18);
  --m7-primary: #4f8cff;
  --m7-primary-dark: #2f6fed;
  --m7-primary-soft: rgba(79, 140, 255, .16);
  --m7-accent: #f5c76a;
  --m7-shadow: 0 18px 48px rgba(0, 0, 0, .34);
  --m7-shadow-soft: 0 10px 26px rgba(0, 0, 0, .24);
}

html,
body,
#app {
  background:
    radial-gradient(circle at 18% 0%, rgba(79, 140, 255, .20), transparent 28%),
    radial-gradient(circle at 82% 10%, rgba(245, 199, 106, .12), transparent 24%),
    linear-gradient(180deg, #0b1020 0%, #070a12 42%, #070a12 100%) !important;
  color: var(--m7-text) !important;
}

.box.body.home,
#app > .box.body.channelbox,
#app {
  background: transparent !important;
}

.header,
.page-head {
  background: rgba(7, 10, 18, .76) !important;
  border-bottom: 1px solid rgba(148, 163, 184, .14) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
}

.header .agency,
.header .request,
.header .search,
.back-btn,
.search-box input {
  background: rgba(17, 24, 39, .76) !important;
  border-color: rgba(148, 163, 184, .16) !important;
  color: var(--m7-text) !important;
  box-shadow: none !important;
}

.header .agency .collect-btn,
.header .request .Request-btn,
.back-btn {
  color: var(--m7-accent) !important;
}

.header .search {
  color: #cbd5e1 !important;
}

.body .banner,
.home-hero,
.channel,
.section,
.list-item,
.empty-state,
.profile-card,
.profile-action,
.vip-plan {
  background: linear-gradient(180deg, rgba(17, 24, 39, .92), rgba(10, 15, 28, .96)) !important;
  border-color: rgba(148, 163, 184, .16) !important;
  box-shadow: var(--m7-shadow-soft) !important;
}

.body .banner {
  box-shadow: 0 18px 44px rgba(0, 0, 0, .34) !important;
}

.NoticeBox {
  background: rgba(245, 199, 106, .12) !important;
  border-color: rgba(245, 199, 106, .28) !important;
}

.NoticeContentBox,
.NoticeContentBox span {
  color: #f8d98a !important;
}

.home-hero {
  position: relative;
  overflow: hidden;
  padding: 20px !important;
  background:
    linear-gradient(135deg, rgba(79, 140, 255, .24), rgba(245, 199, 106, .10)),
    linear-gradient(180deg, rgba(17, 24, 39, .96), rgba(10, 15, 28, .96)) !important;
}

.home-hero:after {
  content: "";
  position: absolute;
  right: -46px;
  top: -54px;
  width: 150px;
  height: 150px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(245, 199, 106, .26), transparent 68%);
}

.home-hero h1 {
  position: relative;
  z-index: 1;
  color: #fff !important;
  font-size: 24px !important;
  line-height: 32px !important;
}

.home-hero p {
  position: relative;
  z-index: 1;
  color: #b8c4d6 !important;
}

.quick-actions {
  position: relative;
  z-index: 1;
}

.quick-actions button,
.quick-actions a,
.search-box button,
.order-login button,
.vip-plan button,
.logout-btn,
.player-cover button {
  background: linear-gradient(135deg, #f5c76a, #e99b3d) !important;
  color: #111827 !important;
  box-shadow: 0 12px 24px rgba(245, 199, 106, .20) !important;
}

.section-head h2,
.section-title,
.weui-panel__hd {
  color: #fff !important;
}

.section-head a,
.section-head span,
.section-title span {
  color: #9aa8bd !important;
}

.body .channel ul li a,
.cat-list a,
.tag-list a {
  background: rgba(24, 34, 53, .88) !important;
  border-color: rgba(148, 163, 184, .14) !important;
  color: #dbeafe !important;
}

.body .channel ul li a:active,
.cat-list a:active,
.tag-list a:active {
  background: rgba(79, 140, 255, .22) !important;
}

.list .list-item,
.list-item {
  border-radius: 16px !important;
}

.list .list-item .thumb,
.list-item .thumb {
  background: #111827 !important;
}

.list .list-item .name,
.list-item .name {
  color: #f8fafc !important;
}

.list .list-item .plays,
.list-item .plays,
.details span,
.details p {
  color: #9aa8bd !important;
}

.list .list-item .logout-btn {
  margin-top: 2px !important;
}

.footer {
  background: rgba(10, 15, 28, .82) !important;
  border-color: rgba(148, 163, 184, .20) !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .40) !important;
}

.footer span {
  color: #94a3b8 !important;
}

.footer .active span,
.footer ul li.active span {
  color: var(--m7-accent) !important;
}

.footer img {
  filter: saturate(.85) brightness(1.15);
}

.WX-window-box .WX-Window-main {
  background: #111827 !important;
  border-color: rgba(148, 163, 184, .18) !important;
}

.WX-window-box h2 {
  background: linear-gradient(135deg, #19233a, #101827) !important;
  color: #fff !important;
}

.WX-window-box .WX-Window-body,
.profile-panel {
  background: #111827 !important;
  color: #f8fafc !important;
}

.profile-name,
.profile-card strong,
.profile-action,
.vip-plan {
  color: #f8fafc !important;
}

.profile-name span,
.profile-card p {
  color: #9aa8bd !important;
}

.pay-item {
  background: rgba(79, 140, 255, .16) !important;
}

.pay-item a {
  color: #dbeafe !important;
}

.WX-Window-footer .WX-Window-btn,
.WX-Window-btn.cannel {
  background: rgba(148, 163, 184, .12) !important;
  border: 1px solid rgba(148, 163, 184, .18) !important;
  color: #e5e7eb !important;
}

.video-player-shell {
  background: transparent !important;
}

.WX-Window-footer {
  padding: 12px 14px 14px !important;
  background: #111827 !important;
  border-top: 1px solid rgba(148, 163, 184, .14) !important;
}

.WX-Window-footer a[style] {
  width: 100% !important;
}

.order-login {
  padding: 10px 8px 12px !important;
}

.order-login p {
  margin: 0 0 16px !important;
  color: #9aa8bd !important;
  font-size: 14px !important;
  line-height: 24px !important;
}

.order-login input {
  height: 48px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(148, 163, 184, .22) !important;
  background: rgba(255, 255, 255, .95) !important;
  color: #111827 !important;
}

.order-login button {
  height: 48px !important;
  margin-top: 14px !important;
  border-radius: 999px !important;
  font-size: 15px !important;
}

.profile-guest {
  padding: 22px 10px 18px;
  text-align: center;
}

.profile-guest-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  border-radius: 50%;
  color: #111827;
  background: linear-gradient(135deg, #f5c76a, #e99b3d);
  box-shadow: 0 12px 28px rgba(245, 199, 106, .22);
  font-size: 24px;
  font-weight: 900;
}

.profile-guest strong {
  display: block;
  color: #fff;
  font-size: 20px;
  line-height: 28px;
}

.profile-guest p {
  margin: 8px auto 18px;
  max-width: 260px;
  color: #9aa8bd;
  font-size: 14px;
  line-height: 22px;
}

.profile-guest-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.profile-guest-actions button {
  height: 46px;
  border: 0;
  border-radius: 999px;
  color: #111827;
  background: linear-gradient(135deg, #f5c76a, #e99b3d);
  font-size: 15px;
  font-weight: 900;
}

.profile-guest-actions button.secondary {
  color: #e5e7eb;
  background: rgba(148, 163, 184, .14);
  border: 1px solid rgba(148, 163, 184, .20);
}

.player_bot,
.details {
  background: linear-gradient(180deg, rgba(17, 24, 39, .94), rgba(10, 15, 28, .96)) !important;
  border-color: rgba(148, 163, 184, .16) !important;
  box-shadow: var(--m7-shadow-soft) !important;
}

.player_bot div {
  color: #cbd5e1 !important;
}

@media (min-width: 521px) {
  body {
    background: #070a12 !important;
  }
}

/* Muban7 visual system: clear content surfaces and compact dialogs. */
:root {
  --m7-bg: #f4f7f6;
  --m7-surface: #fff;
  --m7-surface-soft: #eef3f1;
  --m7-text: #172624;
  --m7-muted: #62726f;
  --m7-line: #dce5e2;
  --m7-primary: #176b61;
  --m7-primary-dark: #10534b;
  --m7-primary-soft: #e1f2ed;
  --m7-accent: #ba593c;
  --m7-shadow-soft: 0 6px 20px rgba(17, 50, 43, .06);
}

html,
body,
#app {
  background: var(--m7-bg) !important;
  color: var(--m7-text) !important;
}

.header,
.page-head {
  background: rgba(244, 247, 246, .97) !important;
  border-bottom: 1px solid var(--m7-line) !important;
  box-shadow: none !important;
}

.header .agency,
.header .request,
.header .search,
.back-btn,
.search-box input {
  background: #fff !important;
  border-color: var(--m7-line) !important;
  color: var(--m7-text) !important;
}

.header .agency .collect-btn,
.header .request .Request-btn,
.back-btn {
  color: var(--m7-primary) !important;
}

.header .search {
  color: var(--m7-muted) !important;
}

.body .banner,
.list-item,
.empty-state,
.profile-card,
.profile-action,
.vip-plan {
  background: #fff !important;
  border-color: var(--m7-line) !important;
  box-shadow: var(--m7-shadow-soft) !important;
  border-radius: 8px !important;
}

.channel,
.section {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.home-hero {
  background: #193d38 !important;
  border: 0 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

.home-hero:after,
.section-title:before {
  content: none !important;
}

.home-hero h1 {
  color: #fff !important;
}

.home-hero p {
  color: #d5e5df !important;
}

.NoticeBox {
  background: #fff7ed !important;
  border-color: #f4dec8 !important;
}

.NoticeContentBox,
.NoticeContentBox span {
  color: #8b5528 !important;
}

.quick-actions button,
.quick-actions a,
.search-box button,
.order-login button,
.vip-plan button,
.logout-btn,
.player-cover button,
.profile-guest-actions button {
  background: var(--m7-primary) !important;
  color: #fff !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

.section-head h2,
.section-title,
.weui-panel__hd {
  color: var(--m7-text) !important;
}

.section-head a,
.section-head span,
.section-title span,
.list .list-item .plays,
.list-item .plays,
.details span,
.details p {
  color: var(--m7-muted) !important;
}

.body .channel ul li a,
.cat-list a,
.tag-list a {
  background: #fff !important;
  border-color: var(--m7-line) !important;
  color: var(--m7-text) !important;
  border-radius: 8px !important;
}

.list .list-item .thumb,
.list-item .thumb {
  background: #e8eeec !important;
}

.list .list-item .name,
.list-item .name,
.profile-name,
.profile-card strong,
.profile-action,
.vip-plan,
.profile-guest strong {
  color: var(--m7-text) !important;
}

.footer {
  background: rgba(255, 255, 255, .98) !important;
  border-color: var(--m7-line) !important;
  border-radius: 8px !important;
  box-shadow: 0 8px 24px rgba(17, 50, 43, .12) !important;
}

.footer span {
  color: var(--m7-muted) !important;
}

.footer .active span,
.footer ul li.active span {
  color: var(--m7-primary) !important;
}

.footer img {
  filter: none !important;
}

.WX-window-shade {
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(16, 37, 33, .48) !important;
  backdrop-filter: blur(3px);
}

.WX-window-box {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
}

.WX-window-box .WX-Window-main {
  display: flex;
  flex-direction: column;
  width: min(100%, 420px) !important;
  max-width: 420px;
  max-height: calc(100dvh - 32px);
  margin: 0;
  overflow: hidden;
  background: #fff !important;
  border: 1px solid var(--m7-line) !important;
  border-radius: 8px !important;
  box-shadow: 0 24px 60px rgba(11, 37, 32, .24) !important;
}

.WX-window-box h2 {
  flex: none;
  height: auto !important;
  padding: 16px 18px;
  line-height: 22px !important;
  text-align: left;
  background: #fff !important;
  color: var(--m7-text) !important;
  border-bottom: 1px solid var(--m7-line);
  border-radius: 0 !important;
}

.WX-window-box .WX-Window-body,
.profile-panel {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 18px !important;
  background: #fff !important;
  color: var(--m7-text) !important;
}

.WX-Window-footer {
  flex: none;
  height: auto !important;
  padding: 12px 18px !important;
  background: #fff !important;
  border-top: 1px solid var(--m7-line) !important;
}

.WX-Window-footer .WX-Window-btn,
.WX-Window-btn.cannel {
  display: block !important;
  width: 100% !important;
  height: 42px !important;
  margin: 0 !important;
  line-height: 40px !important;
  border: 1px solid var(--m7-line) !important;
  border-radius: 8px !important;
  background: var(--m7-surface-soft) !important;
  color: var(--m7-text) !important;
}

.profile-guest-avatar {
  color: #fff !important;
  background: var(--m7-primary) !important;
  box-shadow: none !important;
}

.profile-guest p,
.profile-name span,
.profile-card p,
.order-login p {
  color: var(--m7-muted) !important;
}

.profile-guest-actions button.secondary {
  background: #fff !important;
  color: var(--m7-primary) !important;
  border: 1px solid var(--m7-line) !important;
}

.pay-item {
  background: var(--m7-primary-soft) !important;
}

.pay-item a {
  color: var(--m7-primary-dark) !important;
}

.player_bot,
.details {
  background: #fff !important;
  border-color: var(--m7-line) !important;
  box-shadow: none !important;
}

.player_bot div {
  color: var(--m7-text) !important;
}
