:root {
  --bg: #f6f8fb;
  --panel: #ffffff;
  --ink: #1d2733;
  --muted: #637083;
  --line: #dce3ec;
  --brand: #1f6feb;
  --brand-deep: #1557c0;
  --accent: #0f9f8f;
  --danger: #dc2626;
  --shadow: 0 16px 50px rgba(25, 42, 70, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--bg);
  font-family: Arial, "Microsoft YaHei", sans-serif;
  line-height: 1.42;
}

.member-body {
  background: #eef3f8;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(rgba(246, 248, 251, 0.86), rgba(246, 248, 251, 0.96)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1280' height='760' viewBox='0 0 1280 760'%3E%3Crect fill='%23e6eef8' width='1280' height='760'/%3E%3Cpath d='M0 550c210-98 402-74 576-24s332 86 704-56v290H0z' fill='%231f6feb' opacity='.18'/%3E%3Cpath d='M0 628c255-70 520-50 797 58 202 78 356 70 483 34v40H0z' fill='%230f9f8f' opacity='.22'/%3E%3C/svg%3E")
      center / cover;
}

.admin-auth {
  background:
    linear-gradient(rgba(244, 247, 250, 0.9), rgba(244, 247, 250, 0.96)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1280' height='760' viewBox='0 0 1280 760'%3E%3Crect fill='%23edf2f7' width='1280' height='760'/%3E%3Cg fill='%231d2733' opacity='.09'%3E%3Crect x='124' y='120' width='290' height='120' rx='8'/%3E%3Crect x='454' y='120' width='290' height='120' rx='8'/%3E%3Crect x='784' y='120' width='290' height='120' rx='8'/%3E%3Crect x='124' y='290' width='950' height='82' rx='8'/%3E%3Crect x='124' y='410' width='950' height='82' rx='8'/%3E%3C/g%3E%3C/svg%3E")
      center / cover;
}

.member-body .auth-shell {
  background:
    linear-gradient(135deg, rgba(79, 15, 35, 0.94) 0%, rgba(157, 40, 67, 0.86) 44%, rgba(245, 183, 123, 0.84) 100%),
    linear-gradient(180deg, #fff7ed 0%, #fef2f2 100%);
}

.member-body .auth-panel {
  border-color: rgba(255, 232, 213, 0.76);
  background: rgba(255, 250, 246, 0.94);
  box-shadow: 0 28px 70px rgba(76, 18, 38, 0.34);
}

.member-body .auth-panel h1 {
  color: #4c1226;
}

.member-body .auth-panel .eyebrow {
  color: #b45309;
}

.member-body .auth-panel .muted,
.member-body .auth-panel label {
  color: #7a5b4e;
}

.member-body .auth-panel input {
  border-color: #efcfc0;
  color: #301d1d;
  background: #fff;
}

.member-body .auth-panel input:focus {
  border-color: #e11d48;
  outline-color: rgba(225, 29, 72, 0.16);
}

.member-body .auth-panel .primary {
  background: linear-gradient(135deg, #be123c 0%, #e11d48 56%, #d97706 100%);
  box-shadow: 0 10px 26px rgba(190, 18, 60, 0.24);
}

.member-body .auth-panel .primary:hover {
  background: linear-gradient(135deg, #9f1239 0%, #be123c 58%, #b45309 100%);
}

.admin-auth {
  background:
    linear-gradient(135deg, rgba(12, 18, 31, 0.94), rgba(30, 41, 59, 0.9)),
    linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
}

.admin-auth .auth-panel {
  border-color: rgba(148, 163, 184, 0.32);
  background: rgba(248, 250, 252, 0.94);
  box-shadow: 0 28px 72px rgba(2, 6, 23, 0.42);
}

.admin-auth .auth-panel h1 {
  color: #0f172a;
}

.admin-auth .auth-panel .eyebrow {
  color: #2563eb;
}

.auth-panel {
  width: min(920px, 100%);
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 36px;
  align-items: center;
  padding: 44px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.auth-panel h1,
.topbar h2,
.banner h1 {
  margin: 0;
  letter-spacing: 0;
}

.auth-panel h1 {
  font-size: clamp(34px, 6vw, 58px);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.muted,
.panel-title span,
.banner-row span {
  color: var(--muted);
}

.form {
  display: grid;
  gap: 16px;
}

.form.compact {
  gap: 12px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 14px;
}

input {
  width: 100%;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
}

input:focus {
  border-color: var(--brand);
  outline: 3px solid rgba(31, 111, 235, 0.14);
}

.primary,
.secondary,
.danger,
.mini,
.side-nav button,
.side-nav a {
  min-height: 40px;
  border-radius: 6px;
  font-weight: 700;
}

.primary {
  color: #fff;
  background: var(--brand);
}

.primary:hover {
  background: var(--brand-deep);
}

.secondary {
  padding: 0 14px;
  color: var(--brand);
  border: 1px solid rgba(31, 111, 235, 0.25);
  background: #edf5ff;
}

.danger {
  padding: 0 14px;
  color: #fff;
  background: var(--danger);
}

.message {
  min-height: 20px;
  margin: 0;
  color: var(--accent);
  font-size: 13px;
}

.message.error {
  color: var(--danger);
}

.auth-switch {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.auth-switch button {
  min-height: auto;
  padding: 0;
  color: #be123c;
  background: transparent;
  font-weight: 800;
}

.app-shell {
  min-width: 0;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 220px 1fr;
}

.admin-body {
  overflow: hidden;
}

.admin-layout {
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
}

.side-nav {
  min-width: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 18px;
  background: #101827;
}

.brand-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  font-weight: 800;
}

.side-nav a,
.side-nav button {
  min-width: 0;
  display: flex;
  align-items: center;
  padding: 0 14px;
  color: #e7edf6;
  text-decoration: none;
  background: transparent;
}

.side-nav a:hover,
.side-nav button:hover {
  background: rgba(255, 255, 255, 0.08);
}

.admin-menu {
  gap: 8px;
}

.admin-menu .brand-mark {
  width: auto;
  min-height: 44px;
  padding: 0 18px;
  font-size: 18px;
}

.menu-group {
  display: grid;
  gap: 4px;
}

.menu-parent {
  min-height: 44px;
  justify-content: space-between;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
}

.menu-parent b {
  color: #9fb1ca;
  font-size: 11px;
  font-weight: 700;
}

.menu-group.active > .menu-parent,
.menu-group.open > .menu-parent {
  color: #fff;
  background: rgba(31, 111, 235, 0.22);
}

.menu-children {
  display: grid;
  gap: 3px;
  padding: 3px 0 6px 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.menu-children button {
  min-height: 36px;
  padding-left: 14px;
  border-radius: 7px;
  color: #c9d5e6;
  font-size: 13px;
  font-weight: 700;
}

.menu-children button.active {
  color: #fff;
  background: rgba(20, 184, 166, 0.2);
}

.menu-logout {
  margin-top: 10px;
  border-radius: 8px;
}

.content {
  min-width: 0;
  padding: 26px;
}

.admin-layout .side-nav {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.admin-layout .content {
  height: 100vh;
  overflow-y: auto;
}

.member-shell {
  min-height: 100vh;
  padding-bottom: 82px;
}

.member-content {
  width: min(1180px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 18px 18px 34px;
}

.member-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.member-header h2 {
  margin: 0;
  font-size: clamp(22px, 4vw, 34px);
}

.member-header h2 span {
  color: var(--accent);
  font-size: 15px;
}

.member-banner {
  min-height: clamp(170px, 42vw, 330px);
}

.wallet-card {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 12px 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 34px rgba(25, 42, 70, 0.08);
}

.wallet-card div {
  display: grid;
  gap: 6px;
  min-height: 76px;
  align-content: center;
  padding: 12px;
  border-radius: 8px;
  background: #f7fafc;
}

.wallet-card span {
  color: var(--muted);
  font-size: 13px;
}

.wallet-card strong {
  font-size: clamp(18px, 3vw, 28px);
}

.member-actions {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 16px;
}

.member-actions button,
.sub-tabs button,
.member-bottom-nav button {
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 700;
}

.member-actions button {
  min-height: 70px;
}

.member-two-col {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 16px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.product-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.product-card div:first-child {
  display: grid;
  gap: 5px;
}

.product-card span,
.product-card p,
.product-meta {
  color: var(--muted);
}

.product-card p {
  margin: 0;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.list-stack {
  display: grid;
  gap: 10px;
}

.info-row {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.info-row span {
  color: var(--muted);
}

.sub-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 12px;
}

.sub-tabs button {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 12px;
}

.sub-tabs button.active,
.member-bottom-nav button.active,
.member-actions button:hover {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}

.member-bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 12px;
  z-index: 30;
  width: min(760px, calc(100% - 20px));
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  padding: 8px;
  border: 1px solid rgba(220, 227, 236, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  transform: translateX(-50%);
}

.member-bottom-nav button {
  min-height: 46px;
  padding: 0 6px;
  font-size: 13px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 86px;
  z-index: 40;
  margin: 0;
  padding: 11px 16px;
  border-radius: 999px;
  color: #fff;
  background: rgba(15, 24, 39, 0.92);
  transform: translateX(-50%);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.topbar h2 {
  font-size: 24px;
}

.pill,
.status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  color: #0f766e;
  background: #ddf7f2;
  font-size: 13px;
  font-weight: 700;
}

.banner {
  position: relative;
  min-height: clamp(230px, 32vw, 390px);
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  align-items: center;
  overflow: hidden;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.banner-copy {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.banner-copy h1 {
  font-size: clamp(30px, 6vw, 56px);
}

.banner-copy p {
  margin: 14px 0 0;
  font-size: 18px;
}

.banner-arrow {
  width: 42px;
  height: 42px;
  margin: 0 auto;
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, 0.2);
  font-size: 34px;
  line-height: 1;
}

.notice-bar {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 14px 0;
}

.notice-bar span {
  flex: 0 0 auto;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: #fff;
  font-size: 13px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 2px 0 18px;
}

.metric,
.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 8px 28px rgba(25, 42, 70, 0.06);
}

.metric {
  min-width: 0;
  min-height: 124px;
  display: grid;
  align-content: center;
  gap: 9px;
  padding: 20px;
}

.metric span,
.metric small {
  min-width: 0;
  color: var(--muted);
}

.metric strong {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  color: #1f2937;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.08;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.work-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 16px;
}

.admin-work {
  grid-template-columns: 1fr;
}

.records-grid {
  grid-template-columns: 1fr;
  margin-top: 16px;
}

.panel {
  min-width: 0;
  padding: 18px;
}

.panel-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.panel-title h3 {
  margin: 0;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
  font-size: 13px;
}

th,
td {
  padding: 11px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  max-width: 420px;
  overflow: hidden;
  text-overflow: ellipsis;
}

th {
  color: var(--muted);
  font-weight: 700;
  background: #f8fafc;
}

.banner-form {
  grid-template-columns: 1.1fr 1.4fr 0.7fr 1fr auto;
  align-items: end;
  margin-bottom: 16px;
}

.file-label input {
  padding-top: 9px;
}

.banner-list {
  display: grid;
  gap: 12px;
}

.banner-row {
  display: grid;
  grid-template-columns: 140px 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.banner-row img {
  width: 140px;
  aspect-ratio: 12 / 4.6;
  object-fit: cover;
  border-radius: 6px;
  background: #eef2f7;
}

.banner-row div {
  display: grid;
  gap: 5px;
}

.mini {
  min-height: 32px;
  padding: 0 10px;
  color: #fff;
  background: var(--accent);
}

.mini.reject {
  background: #ef4444;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.profile-grid div {
  display: grid;
  gap: 6px;
  min-height: 72px;
  align-content: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.profile-grid span {
  color: var(--muted);
  font-size: 13px;
}

.profile-grid strong {
  overflow-wrap: anywhere;
}

@media (max-width: 980px) {
  .auth-panel,
  .app-shell,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .side-nav {
    position: static;
    height: auto;
    flex-direction: row;
    align-items: center;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
  }

  .admin-body {
    overflow: auto;
  }

  .admin-layout {
    width: 100%;
    height: auto;
    min-width: 0;
    overflow: visible;
  }

  .admin-layout .side-nav {
    height: auto;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .admin-layout .content {
    min-width: 0;
    height: auto;
    overflow: visible;
  }

  .side-nav button {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .menu-group {
    flex: 0 0 auto;
    position: relative;
  }

  .menu-children {
    position: absolute;
    z-index: 20;
    top: calc(100% + 6px);
    left: 0;
    min-width: 150px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #101827;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
  }

  .brand-mark {
    flex: 0 0 52px;
    margin: 0 8px 0 0;
  }

  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .member-two-col,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .member-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .banner-form,
  .banner-row,
  .profile-grid {
    grid-template-columns: 1fr;
  }

  .banner-row img {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .content {
    padding: 16px;
  }

  .auth-panel {
    padding: 24px;
  }

  .topbar,
  .panel-title {
    align-items: stretch;
    flex-direction: column;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .banner {
    grid-template-columns: 44px 1fr 44px;
  }

  .member-content {
    padding: 12px 10px 28px;
  }

  .member-header {
    align-items: flex-start;
  }

  .wallet-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .member-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .member-actions button {
    min-height: 58px;
  }

  .member-bottom-nav {
    bottom: 8px;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 4px;
    padding: 6px;
  }

  .member-bottom-nav button {
    min-height: 42px;
    font-size: 12px;
  }
}

/* Front member app mobile layout, separate from admin layout. */
.member-body {
  background: #fff7ed;
}

.nightlife-shell {
  color: #fff;
  background: #fff7ed;
}

.nightlife-shell .member-content {
  width: min(430px, 100%);
  padding: 0 10px 34px;
}

.night-header {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 -10px;
  padding: 0 14px;
  background: #fff1f2;
}

.night-logo {
  display: flex;
  gap: 10px;
  color: #be123c;
  font-family: Georgia, serif;
  font-size: 25px;
  letter-spacing: 2px;
}

.night-logo-img {
  width: 220px;
  max-height: 42px;
  object-fit: contain;
  object-position: left center;
}

.night-signal,
.night-back,
.night-gear {
  color: #be123c;
  background: transparent;
  font-size: 22px;
}

.night-signal img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.night-hero {
  min-height: 156px;
  margin: 0 -10px 12px;
  border-radius: 4px;
  box-shadow: none;
}

.night-hero .banner-copy {
  display: none;
}

.night-hero .banner-copy h1 {
  max-width: 230px;
  font-size: 22px;
  line-height: 1.16;
}

.night-hero .banner-copy p {
  max-width: 250px;
  margin-top: 7px;
  font-size: 14px;
  line-height: 1.35;
}

.night-marquee {
  min-height: 36px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid #be123c;
  border-radius: 8px;
  color: #be123c;
  background: #fffaf3;
  font-size: 13px;
  font-weight: 600;
}

.night-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 10px 0 16px;
  padding: 10px 8px;
  border: 1px solid #be123c;
  border-radius: 8px;
  background: #fff7ed;
}

.night-shortcuts button {
  min-height: 58px;
  display: grid;
  place-items: center;
  gap: 3px;
  color: #be123c;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
}

.night-shortcuts img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.night-section-title {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 12px;
  padding: 0 10px;
  color: #be123c;
  background: #fff1f2;
  font-size: 14px;
  font-weight: 700;
}

.night-section-title button {
  color: #8f7667;
  background: transparent;
}

.success-home {
  min-height: calc(100vh - 100px);
  margin: 0 -10px;
  padding: 18px 10px 92px;
  background: #fff7ed;
}

.success-slider-shell {
  position: relative;
}

.success-carousel-viewport {
  --success-card-w: 188px;
  --success-card-h: 206px;
  --success-gap: 24px;
  height: calc(var(--success-card-h) * 5 + var(--success-gap) * 4);
  padding: 0 2px 10px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-color: rgba(217, 119, 6, 0.55) #fffaf3;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.success-carousel-viewport::-webkit-scrollbar {
  height: 8px;
}

.success-carousel-viewport::-webkit-scrollbar-track {
  background: #fffaf3;
}

.success-carousel-viewport::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(217, 119, 6, 0.65);
}

.success-carousel-track {
  display: grid;
  grid-template-rows: repeat(5, var(--success-card-h));
  grid-auto-flow: column;
  grid-auto-columns: var(--success-card-w);
  gap: var(--success-gap);
  height: 100%;
  width: max-content;
  padding-right: 18px;
}

.success-case-card {
  min-width: 0;
  min-height: var(--success-card-h);
  display: grid;
  grid-template-rows: 132px 1fr;
  overflow: hidden;
  border: 1px solid rgba(217, 119, 6, 0.56);
  border-radius: 8px;
  background: #ffffff;
  scroll-snap-align: start;
}

.success-slide-btn {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 34px;
  height: 54px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  color: #fff7ed;
  border: 1px solid rgba(217, 119, 6, 0.8);
  border-radius: 8px;
  background: rgba(217, 119, 6, 0.92);
  font-size: 30px;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(120, 72, 35, 0.3);
}

.success-slide-btn.prev {
  left: 4px;
}

.success-slide-btn.next {
  right: 4px;
}

.success-case-card img {
  width: 100%;
  height: 132px;
  object-fit: cover;
  background: #f8eadc;
}

.success-case-card div {
  display: grid;
  gap: 4px;
  align-content: center;
  min-height: 58px;
  padding: 8px 9px 9px;
}

.success-case-card strong {
  display: block;
  overflow: hidden;
  color: #be123c;
  font-size: 12px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.success-case-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #2f241d;
  font-size: 11px;
  line-height: 1.35;
  overflow-wrap: anywhere;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.success-empty {
  min-height: 220px;
  display: grid;
  place-items: center;
  color: #be123c;
  border: 1px solid rgba(217, 119, 6, 0.45);
  border-radius: 8px;
  background: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

.host-list {
  display: grid;
  gap: 10px;
}

.host-card {
  min-height: 92px;
  display: grid;
  grid-template-columns: 1fr 78px;
  gap: 10px;
  align-items: center;
  padding: 9px;
  border: 1px solid #be123c;
  border-radius: 8px;
  background: #fff1f2;
}

.host-card > div:first-child {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.host-card strong {
  color: #fff;
  font-size: 12px;
  line-height: 1.35;
}

.host-card span {
  color: #be123c;
  font-size: 11px;
  line-height: 1.3;
}

.host-avatar {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(217, 119, 6, 0.7);
  background: #fff3e8;
}

.host-rank-wrap {
  position: relative;
  width: 78px;
  height: 78px;
}

.host-rank-wrap .host-avatar {
  width: 78px;
  height: 78px;
}

.rank-badge {
  position: absolute;
  right: -5px;
  top: -5px;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
  align-items: stretch;
}

.video-card {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid rgba(217, 119, 6, 0.42);
  border-radius: 8px;
  color: #fff;
  background: #fffaf3;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  box-shadow: 0 8px 18px rgba(120, 72, 35, 0.22);
}

.video-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 0;
  border-bottom: 1px solid rgba(217, 119, 6, 0.28);
  color: #be123c;
  background: #f8eadc;
  background-position: center;
  background-size: cover;
  font-size: 20px;
}

.video-thumb video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #f8eadc;
}

.video-thumb span {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #be123c;
  background: rgba(120, 72, 35, 0.52);
}

.video-card.large .video-thumb {
  aspect-ratio: 16 / 10;
}

.video-card strong {
  min-height: 42px;
  display: -webkit-box;
  overflow: hidden;
  padding: 8px 9px 10px;
  color: #fff;
  background: #fff7ed;
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: 0;
  text-shadow: none;
  overflow-wrap: anywhere;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.night-page {
  min-height: calc(100vh - 134px);
  margin: 0 -10px;
  padding: 12px 10px 22px;
  background: #fffaf3;
}

.night-page h2 {
  margin: 0 0 14px;
  text-align: center;
  color: #fff;
  font-size: 16px;
}

.ad-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.task-game-page {
  display: grid;
  gap: 14px;
}

.task-game-top {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.task-game-top div {
  display: grid;
  gap: 5px;
  min-height: 68px;
  align-content: center;
  padding: 9px;
  border: 1px solid rgba(217, 119, 6, 0.45);
  border-radius: 8px;
  background: #ffffff;
  text-align: center;
}

.task-game-top span {
  color: #7c685a;
  font-size: 11px;
}

.task-game-top strong {
  color: #be123c;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.task-symbol-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.task-symbol-grid button {
  display: grid;
  gap: 7px;
  padding: 8px;
  border: 1px solid rgba(217, 119, 6, 0.45);
  border-radius: 8px;
  color: #fff;
  background: #ffffff;
}

.task-symbol-grid button.active {
  border-color: #f7d64d;
  background: #2a2115;
  box-shadow: 0 0 0 2px rgba(247, 214, 77, 0.18) inset;
}

.task-symbol-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  background: #fff1f2;
}

.task-symbol-grid strong {
  color: #be123c;
  font-size: 15px;
}

.task-symbol-grid span {
  color: #7c685a;
  font-size: 11px;
  font-weight: 700;
}

.task-bet-form {
  display: grid;
  grid-template-columns: 1fr 108px;
  gap: 10px;
  align-items: end;
}

.task-bet-form input {
  color: #fff;
  border-color: rgba(217, 119, 6, 0.45);
  background: #fffaf3;
}

.task-game-actions {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
}

.task-game-actions span {
  color: #7c685a;
  font-size: 12px;
  line-height: 1.35;
}

.task-record-block {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(217, 119, 6, 0.38);
  border-radius: 8px;
  background: #fffaf3;
}

.task-record-block h3 {
  margin: 0;
  color: #be123c;
  font-size: 14px;
}

.task-purchase-block {
  overflow: hidden;
}

.task-purchase-ticker {
  height: 204px;
  overflow: hidden;
  border-radius: 6px;
}

.task-purchase-track {
  display: grid;
  gap: 7px;
  animation: taskPurchaseScroll 24s linear infinite;
}

.task-purchase-row {
  min-height: 38px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 8px 9px;
  border-radius: 6px;
  background: #fffaf3;
}

.task-purchase-main {
  min-width: 0;
  display: flex;
  gap: 8px;
  align-items: center;
  overflow: hidden;
}

.task-purchase-main b {
  min-width: 0;
  overflow: hidden;
  color: #7c685a;
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.task-purchase-main strong {
  flex: 0 0 auto;
  color: #be123c;
  font-size: 12px;
  white-space: nowrap;
}

.task-purchase-row time {
  color: #9b8172;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

@keyframes taskPurchaseScroll {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-50%);
  }
}

.task-record-list,
.task-history-list {
  display: grid;
  gap: 7px;
}

.task-record-list div,
.task-history-list div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 9px;
  border-radius: 6px;
  background: #fffaf3;
}

.task-record-list span,
.task-history-list span,
.task-record-list p {
  margin: 0;
  color: #7c685a;
  font-size: 12px;
}

.task-record-list strong,
.task-history-list strong {
  color: #fff;
  font-size: 12px;
  text-align: right;
}

.interest-page {
  display: grid;
  gap: 12px;
}

.interest-pickup-note {
  padding: 13px 14px;
  border: 1px solid rgba(217, 119, 6, 0.5);
  border-radius: 8px;
  color: #3b2a20;
  background: linear-gradient(180deg, #fff4b8 0%, #fff1bc 100%);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.08);
}

.interest-category-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.interest-shop-layout {
  display: grid;
  gap: 14px;
}

.interest-package-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.interest-category {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 9px;
}

.interest-category:nth-child(n + 3),
.interest-normal-section {
  grid-column: 1 / -1;
}

.interest-category h3,
.interest-normal-section h3 {
  margin: 0;
  padding: 0 2px 7px;
  color: #be123c;
  border-bottom: 1px solid rgba(217, 119, 6, 0.45);
  font-size: 17px;
  line-height: 1.2;
}

.interest-product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.interest-category:nth-child(n + 3) .interest-product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.normal-products {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.interest-product-card {
  min-width: 0;
  display: grid;
  grid-template-rows: 128px auto auto 36px;
  gap: 7px;
  padding: 8px;
  border: 1px solid rgba(217, 119, 6, 0.45);
  border-radius: 8px;
  color: #fff;
  background: #ffffff;
  overflow: hidden;
  text-align: left;
}

.interest-product-grid img {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 128px;
  object-fit: cover;
  border-radius: 6px;
  background: #262626;
}

.interest-package .interest-product-card {
  grid-template-rows: 136px auto auto 36px;
}

.interest-package .interest-product-card img {
  max-height: 136px;
}

.interest-product-card strong {
  overflow: hidden;
  color: #fff;
  font-size: 12px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.interest-product-card span {
  color: #be123c;
  font-size: 13px;
  font-weight: 800;
}

.interest-buy-btn {
  min-height: 34px;
  width: 100%;
  border-radius: 6px;
  color: #fff7ed;
  background: #be123c;
  font-size: 13px;
  font-weight: 800;
}

.interest-record-block {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(217, 119, 6, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 24px rgba(120, 72, 35, 0.08);
}

.interest-record-block h3 {
  margin: 0;
  color: #3b2a20;
  font-size: 16px;
}

.interest-record-list {
  display: grid;
  gap: 8px;
}

.interest-record-list div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 10px;
  align-items: center;
  padding: 9px 0;
  border-top: 1px solid rgba(217, 119, 6, 0.16);
}

.interest-record-list span {
  min-width: 0;
  overflow: hidden;
  color: #3b2a20;
  font-size: 13px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.interest-record-list strong {
  color: #be123c;
  font-size: 13px;
}

.interest-record-list em,
.interest-record-block p {
  grid-column: 1 / -1;
  margin: 0;
  color: #8a6b5b;
  font-size: 12px;
  font-style: normal;
}

.ad-grid .product-card {
  min-height: 154px;
  color: #fff;
  border-color: #be123c;
  background: #1b1b1b;
}

.ad-grid .product-card p,
.ad-grid .product-card span {
  color: #be123c;
}

.mine-page {
  min-height: calc(100vh - 82px);
  margin: 0 -10px;
  background: #fff7ed;
}

.mine-top {
  height: 52px;
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  color: #be123c;
  background: #fff1f2;
}

.mine-top h2 {
  margin: 0;
  text-align: center;
  font-size: 16px;
}

.mine-profile {
  min-height: 112px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px 46px;
  color: #fffaf3;
  background: #ffd8b5;
  font-size: 18px;
}

.mine-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff3e8;
}

.mine-balance-card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: -32px 10px 18px;
  padding: 10px 8px;
  border-radius: 8px;
  color: #be123c;
  background: #fff1f2;
}

.mine-balance-card div {
  display: grid;
  gap: 5px;
  text-align: center;
}

.mine-balance-card span {
  color: #7c685a;
  font-size: 12px;
  font-weight: 600;
}

.mine-balance-card strong {
  font-size: 14px;
}

.mine-list {
  display: grid;
}

.mine-list button {
  min-height: 48px;
  display: grid;
  grid-template-columns: 32px 1fr 18px;
  align-items: center;
  padding: 0 12px;
  color: #be123c;
  border-bottom: 1px solid rgba(217, 119, 6, 0.45);
  background: #fff7ed;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
}

.mine-list button img {
  width: 23px;
  height: 23px;
  object-fit: contain;
}

.mine-list b {
  justify-self: end;
  font-size: 20px;
  font-weight: 400;
}

.mine-account-page {
  display: grid;
  align-content: start;
  gap: 12px;
  padding-bottom: 22px;
}

.mine-account-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 12px 12px 0;
  overflow: hidden;
  border: 1px solid rgba(225, 29, 72, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 28px rgba(120, 72, 35, 0.07);
}

.mine-account-summary div {
  min-height: 58px;
  display: grid;
  align-content: center;
  gap: 4px;
  min-width: 0;
  padding: 10px 12px;
  border: 0;
  border-right: 1px solid rgba(217, 119, 6, 0.14);
  border-radius: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 247, 237, 0.72));
  box-shadow: none;
}

.mine-account-summary div:nth-child(3) {
  border-right: 0;
  background: linear-gradient(180deg, rgba(255, 241, 242, 0.98), rgba(255, 250, 243, 0.78));
}

.mine-account-summary .balance {
  grid-column: 1 / -1;
  min-height: 64px;
  border-top: 1px solid rgba(225, 29, 72, 0.12);
  border-right: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 228, 230, 0.9), rgba(255, 250, 243, 0.9) 62%);
  text-align: center;
}

.mine-account-summary span {
  color: #8a6b5b;
  font-size: 12px;
  font-weight: 800;
}

.mine-account-summary strong {
  color: #3b2a20;
  font-size: 16px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.mine-account-summary div:nth-child(3) strong {
  color: #be123c;
}

.mine-account-summary .balance strong {
  color: #be123c;
  font-size: 22px;
}

.mine-action-grid {
  display: grid;
  gap: 9px;
  padding: 0 12px 10px;
}

.mine-action-grid button {
  position: relative;
  min-height: 52px;
  display: grid;
  align-items: center;
  padding: 0 38px 0 16px;
  border: 1px solid rgba(217, 119, 6, 0.28);
  border-radius: 8px;
  color: #8a3f0a;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 24px rgba(120, 72, 35, 0.08);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  text-align: left;
  white-space: nowrap;
}

.mine-action-grid button::after {
  content: "›";
  position: absolute;
  right: 16px;
  top: 50%;
  color: #c79a82;
  font-size: 22px;
  font-weight: 500;
  transform: translateY(-50%);
}

.mine-action-grid button:active {
  color: #be123c;
  border-color: rgba(225, 29, 72, 0.38);
  background: #fff1f2;
}

.nightlife-shell .panel {
  min-width: 0;
  color: #fff;
  border-color: rgba(217, 119, 6, 0.5);
  background: #ffffff;
}

.nightlife-shell > .member-content > .panel {
  margin: 0 -10px;
  padding: 14px 10px 92px;
  border-width: 0;
  border-radius: 0;
  background: #fffaf3;
  box-shadow: none;
}

.nightlife-shell .member-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0 -10px;
  padding: 12px 10px 92px;
  background: #fffaf3;
}

.nightlife-shell .member-two-col .panel {
  width: 100%;
  padding: 16px;
  border-radius: 8px;
}

.nightlife-shell .panel-title {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3px;
  margin-bottom: 12px;
}

.nightlife-shell .panel-title h3 {
  overflow-wrap: anywhere;
  color: #fff;
  font-size: 15px;
  line-height: 1.25;
}

.nightlife-shell .panel-title span {
  color: #7c685a;
  font-size: 12px;
}

.nightlife-shell .form {
  min-width: 0;
}

.nightlife-shell label {
  min-width: 0;
  color: #7c685a;
  font-size: 13px;
}

.nightlife-shell input {
  min-width: 0;
  color: #fff;
  border-color: rgba(217, 119, 6, 0.45);
  background: #fffaf3;
}

.nightlife-shell .primary {
  color: #fff7ed;
  background: #be123c;
}

.nightlife-shell .secondary {
  color: #be123c;
  border-color: rgba(217, 119, 6, 0.45);
  background: #fff1f2;
}

.nightlife-shell .sub-tabs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(92px, max-content);
  gap: 8px;
  margin: 0 0 12px;
  padding: 0 0 4px;
  overflow-x: auto;
  scrollbar-color: rgba(217, 119, 6, 0.55) #fffaf3;
}

.nightlife-shell .sub-tabs button {
  min-height: 34px;
  padding: 0 12px;
  color: #be123c;
  border: 1px solid rgba(217, 119, 6, 0.45);
  border-radius: 8px;
  background: #fffaf3;
  font-size: 14px;
  font-weight: 700;
}

.nightlife-shell .sub-tabs button.active {
  color: #fff7ed;
  border-color: #be123c;
  background: #be123c;
}

.nightlife-shell .table-wrap {
  border: 1px solid rgba(217, 119, 6, 0.35);
  border-radius: 8px;
  background: #fff7ed;
  scrollbar-color: rgba(217, 119, 6, 0.55) #fffaf3;
}

.nightlife-shell table {
  font-size: 12px;
}

.nightlife-shell table th {
  color: #be123c;
  background: #fff7ed;
}

.nightlife-shell table td {
  color: #2f241d;
  background: #fffaf3;
}

.nightlife-shell th,
.nightlife-shell td {
  padding: 10px 9px;
  border-bottom-color: rgba(217, 119, 6, 0.25);
}

.nightlife-shell td:last-child {
  max-width: 180px;
  white-space: normal;
  overflow-wrap: anywhere;
}

.nightlife-shell .info-row,
.nightlife-shell .profile-grid div {
  border-color: rgba(217, 119, 6, 0.45);
  background: #fff1f2;
}

.nightlife-shell .member-bottom-nav {
  bottom: 0;
  width: min(430px, 100%);
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  padding: 4px 0 6px;
  border: 0;
  border-radius: 0;
  background: #fffaf3;
  box-shadow: none;
}

.nightlife-shell .member-bottom-nav button {
  min-height: 46px;
  display: grid;
  place-items: center;
  gap: 2px;
  color: #8f7667;
  border: 0;
  background: transparent;
  font-size: 11px;
}

.nightlife-shell .member-bottom-nav img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.nightlife-shell .member-bottom-nav button.active,
.nightlife-shell .member-bottom-nav button.active {
  color: #be123c;
  background: transparent;
  border-color: transparent;
}

.legacy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.table-thumb {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 6px;
  background: #eef2f7;
}

.asset-cell {
  display: grid;
  min-width: 190px;
  gap: 6px;
}

.asset-cell input {
  width: 100%;
  min-width: 0;
}

.upload-mini {
  position: relative;
  display: inline-grid;
  place-items: center;
  justify-self: start;
  min-height: 28px;
  padding: 0 10px;
  cursor: pointer;
}

.upload-mini input {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  cursor: pointer;
}

.row-actions {
  min-width: 150px;
}

.row-actions .mini {
  margin: 2px;
}

.table-wrap td input {
  min-width: 96px;
  max-width: 220px;
}

.detail-page {
  display: grid;
  gap: 11px;
  padding-bottom: 92px;
}

.detail-back {
  justify-self: start;
  min-height: 30px;
  padding: 0 8px;
  color: #be123c;
  font-size: 14px;
}

.detail-cover {
  width: 100%;
  max-height: 210px;
  object-fit: contain;
  border: 1px solid rgba(217, 119, 6, 0.5);
  border-radius: 8px;
  background: #fff7ed;
}

.character-large {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border: 1px solid rgba(217, 119, 6, 0.55);
  border-radius: 8px;
  background: #fff7ed;
}

.character-media {
  position: relative;
  width: 100%;
  max-height: 540px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(217, 119, 6, 0.55);
  border-radius: 8px;
  background: #fff7ed;
  background-position: center;
  background-size: cover;
}

.character-media::before {
  content: "";
  display: block;
  width: 100%;
  aspect-ratio: 9 / 14;
}

.character-media video,
.character-media .character-large {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  border: 0;
  border-radius: 0;
  object-fit: cover;
}

.character-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 112px;
  height: 62px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(225, 29, 72, 0.32);
  border-radius: 10px;
  color: #fff;
  background: rgba(120, 72, 35, 0.42);
  font-size: 28px;
  line-height: 1;
}

.detail-list {
  display: grid;
  gap: 8px;
}

.detail-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 11px;
  border: 1px solid rgba(217, 119, 6, 0.45);
  border-radius: 8px;
  background: #ffffff;
}

.detail-list span {
  color: #7c685a;
  font-size: 13px;
}

.detail-list strong {
  color: #be123c;
  font-size: 13px;
  text-align: right;
}

.wide {
  width: 100%;
}

.video-player {
  min-height: 210px;
  display: grid;
  align-items: center;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(217, 119, 6, 0.45);
  border-radius: 8px;
  background: #fffaf3;
  background-position: center;
  background-size: cover;
  text-align: center;
}

.video-player video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  background: #fffaf3;
}

.video-player span {
  font-size: 54px;
  color: #be123c;
}

.video-player p {
  margin: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.video-error {
  margin: 0;
  padding: 10px 12px;
  color: #be123c;
  border: 1px solid rgba(217, 119, 6, 0.45);
  border-radius: 8px;
  background: rgba(255, 241, 242, 0.9);
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 560px) {
  .nightlife-shell .member-content {
    padding: 0 10px 28px;
  }

  .ad-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .character-large {
    max-height: 250px;
  }

  .character-media {
    max-height: 548px;
  }

  .night-header {
    height: 48px;
  }

  .night-logo-img {
    width: 205px;
    max-height: 38px;
  }

  .night-signal,
  .night-back,
  .night-gear {
    font-size: 18px;
  }

  .night-hero {
    min-height: 138px;
  }

  .success-carousel-viewport {
    --success-card-w: 166px;
    --success-card-h: 188px;
    --success-gap: 18px;
  }

  .success-case-card {
    grid-template-rows: 118px 1fr;
  }

  .success-case-card img {
    height: 118px;
  }

  .success-case-card div {
    min-height: 56px;
    padding: 7px 8px 8px;
  }

  .success-case-card strong {
    font-size: 11px;
  }

  .success-case-card p {
    font-size: 10px;
  }

  .video-card strong {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .ad-grid {
    gap: 10px;
  }

  .ad-grid .product-card {
    min-height: 132px;
    gap: 8px;
    padding: 10px;
    font-size: 12px;
  }

  .ad-grid .product-card strong {
    font-size: 13px;
  }
}

/* Front member app: warmer light theme override. */
.member-body {
  background: #fff7ed;
}

.nightlife-shell {
  color: #2f241d;
  background: linear-gradient(180deg, #fff7ed 0%, #fffaf3 44%, #fef2f2 100%);
}

.night-header,
.mine-top {
  background: linear-gradient(90deg, #fff7ed 0%, #fff1f2 100%);
  border-bottom: 1px solid #f5c9cf;
}

.night-signal,
.night-back,
.night-gear,
.night-logo,
.nightlife-shell .member-bottom-nav button.active {
  color: #be123c;
}

.success-home,
.night-page,
.mine-page,
.nightlife-shell > .member-content > .panel,
.nightlife-shell .member-two-col {
  background: transparent;
}

.success-case-card,
.host-card,
.video-card,
.task-game-top div,
.task-symbol-grid button,
.task-record-block,
.task-record-list div,
.task-history-list div,
.interest-product-card,
.nightlife-shell .panel,
.nightlife-shell .info-row,
.nightlife-shell .profile-grid div,
.nightlife-shell .table-wrap {
  color: #2f241d;
  border-color: rgba(217, 119, 6, 0.24);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 24px rgba(120, 72, 35, 0.08);
}

.success-case-card img,
.interest-product-grid img,
.task-symbol-grid img,
.video-thumb,
.table-thumb {
  background: #f8eadc;
}

.success-case-card strong,
.night-section-title,
.host-card span,
.task-game-top strong,
.task-symbol-grid strong,
.task-record-block h3,
.interest-category h3,
.interest-product-card span,
.video-thumb,
.detail-list strong,
.nightlife-shell .panel-title h3,
.nightlife-shell table th {
  color: #b45309;
}

.success-case-card p,
.host-card strong,
.video-card strong,
.task-record-list strong,
.task-history-list strong,
.interest-product-card strong,
.video-player p,
.night-page h2,
.nightlife-shell table td {
  color: #2f241d;
}

.task-game-top span,
.task-game-actions span,
.task-record-list span,
.task-history-list span,
.task-record-list p,
.nightlife-shell .panel-title span,
.nightlife-shell label {
  color: #7c685a;
}

.night-section-title,
.night-marquee,
.night-shortcuts,
.mine-balance-card {
  border-color: rgba(217, 119, 6, 0.24);
  background: rgba(255, 250, 243, 0.9);
}

.night-shortcuts button,
.night-marquee,
.nightlife-shell .secondary,
.nightlife-shell .sub-tabs button {
  color: #b45309;
}

.task-symbol-grid button.active {
  border-color: #e11d48;
  background: #fff1f2;
  box-shadow: 0 0 0 2px rgba(225, 29, 72, 0.12) inset;
}

.success-slide-btn,
.interest-buy-btn,
.nightlife-shell .primary,
.nightlife-shell .sub-tabs button.active {
  color: #fff;
  border-color: #e11d48;
  background: #e11d48;
}

.mine-profile {
  color: #2f241d;
  background: #ffd8b5;
}

.mine-list button {
  color: #8a3f0a;
  border-bottom-color: rgba(217, 119, 6, 0.22);
  background: rgba(255, 255, 255, 0.72);
}

.nightlife-shell input,
.task-bet-form input {
  color: #2f241d;
  border-color: #ead0bd;
  background: #fff;
}

.nightlife-shell .member-bottom-nav {
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid #f0d9c6;
  box-shadow: 0 -8px 24px rgba(120, 72, 35, 0.08);
}

.nightlife-shell .member-bottom-nav button {
  color: #8f7667;
}

.success-carousel-viewport,
.nightlife-shell .sub-tabs,
.nightlife-shell .table-wrap {
  scrollbar-color: rgba(225, 29, 72, 0.45) #fff3e8;
}

.success-carousel-viewport::-webkit-scrollbar-track {
  background: #fff3e8;
}

.success-carousel-viewport::-webkit-scrollbar-thumb {
  background: rgba(225, 29, 72, 0.48);
}

.success-home {
  min-height: calc(100vh - 100px);
  display: grid;
  align-content: center;
  padding: 22px 14px 96px;
  overflow: hidden;
}

.success-slider-shell {
  min-height: min(820px, calc(100vh - 112px));
  display: grid;
  align-items: center;
  overflow: hidden;
}

.success-carousel-viewport {
  position: relative;
  height: min(760px, calc(100vh - 120px));
  min-height: 640px;
  display: grid;
  align-content: center;
  gap: 24px;
  overflow: hidden;
  perspective: 820px;
  perspective-origin: 50% 50%;
  scrollbar-width: none;
}

.success-carousel-viewport::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(360px, 82vw);
  height: min(360px, 82vw);
  pointer-events: none;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 30%, rgba(255, 255, 255, 0.9), transparent 24%),
    radial-gradient(circle at 50% 52%, #f6c7b8 0%, #ef8b8f 48%, #be123c 100%);
  box-shadow: 0 34px 90px rgba(190, 18, 60, 0.2), inset -34px -30px 70px rgba(120, 72, 35, 0.22);
  opacity: 0.08;
}

.success-carousel-viewport::-webkit-scrollbar {
  display: none;
}

.success-orbit-row {
  position: relative;
  height: 132px;
  transform-style: preserve-3d;
}

.success-carousel-track {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  transform-style: preserve-3d;
}

.success-case-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 112px;
  min-height: 136px;
  display: grid;
  grid-template-rows: 104px auto;
  overflow: visible;
  border: 0;
  border-radius: 999px 999px 14px 14px;
  background: transparent;
  transform-origin: center center;
  transition: transform 720ms cubic-bezier(0.22, 0.8, 0.24, 1), opacity 720ms ease;
  translate: -50% -50%;
  scroll-snap-align: none;
}

.success-case-card img {
  width: 104px;
  height: 104px;
  justify-self: center;
  border: 4px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  object-fit: cover;
  background: #f8eadc;
  box-shadow: 0 14px 28px rgba(120, 72, 35, 0.18), inset 0 0 0 1px rgba(217, 119, 6, 0.2);
}

.success-case-card div {
  min-height: 0;
  display: grid;
  align-content: start;
  padding: 6px 4px 0;
  text-align: center;
}

.success-case-card strong {
  color: #be123c;
  font-size: 12px;
  line-height: 1.25;
  text-shadow: 0 1px 0 #fff;
}

.success-case-card p {
  display: none;
}

.success-case-card.active img {
  box-shadow: 0 18px 40px rgba(190, 18, 60, 0.24), 0 0 0 8px rgba(255, 241, 242, 0.68);
}

.success-slide-btn {
  top: 50%;
  width: 38px;
  height: 62px;
  border-radius: 999px;
  color: #be123c;
  border-color: rgba(225, 29, 72, 0.18);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 28px rgba(120, 72, 35, 0.16);
}

.success-slide-btn.prev {
  left: 8px;
}

.success-slide-btn.next {
  right: 8px;
}

.night-logo-img,
.night-signal img,
.night-shortcuts img,
.member-bottom-nav img,
.mine-list img {
  filter: sepia(42%) saturate(115%) hue-rotate(338deg) brightness(0.82) contrast(1.05);
}

.nightlife-shell .member-bottom-nav button.active img,
.night-signal img {
  filter: none;
}

.night-header .night-logo-img {
  filter: sepia(42%) saturate(150%) hue-rotate(315deg) brightness(0.74) contrast(1.18);
}

.service-entry {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 6px 18px rgba(190, 18, 60, 0.14);
}

.service-entry img {
  width: 30px;
  height: 30px;
}

.night-page h2,
.mine-top h2,
.panel-title h3,
.nightlife-shell .panel-title h3 {
  color: #3b2a20;
  font-weight: 800;
}

.nightlife-shell .muted,
.nightlife-shell .panel-title span,
.nightlife-shell .info-row span,
.nightlife-shell .profile-grid span,
.detail-list span,
.mine-balance-card span {
  color: #7c685a;
}

.nightlife-shell .status {
  color: #9f1239;
  background: #ffe4e6;
}

.nightlife-shell table th {
  color: #8a3f0a;
  background: #fff3e8;
}

.nightlife-shell table td {
  color: #3b2a20;
  background: rgba(255, 255, 255, 0.78);
}

.nightlife-shell .member-bottom-nav button span,
.night-shortcuts span,
.mine-list span {
  color: inherit;
}

.nightlife-shell .secondary {
  border-color: rgba(180, 83, 9, 0.24);
  background: #fff7ed;
}

.nightlife-shell .primary:hover,
.interest-buy-btn:hover {
  background: #be123c;
}

.toast {
  color: #fff;
  background: rgba(63, 42, 31, 0.92);
}

.detail-cover,
.character-large,
.character-media,
.video-player,
.video-player video,
.detail-list div,
.video-error,
.ad-grid .product-card {
  color: #2f241d;
  border-color: rgba(217, 119, 6, 0.24);
  background-color: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 24px rgba(120, 72, 35, 0.08);
}

.video-player span,
.character-play {
  color: #fff;
  border-color: rgba(225, 29, 72, 0.32);
  background: rgba(225, 29, 72, 0.78);
}

.video-error {
  color: #9f1239;
  background: #fff1f2;
}

.ad-grid .product-card p,
.ad-grid .product-card span,
.product-card span,
.product-card p,
.product-meta {
  color: #7c685a;
}

.ad-grid .product-card strong,
.product-card strong {
  color: #3b2a20;
}

.video-thumb span {
  color: #fff;
  background: rgba(225, 29, 72, 0.82);
}

.mine-avatar,
.host-avatar {
  border-color: rgba(225, 29, 72, 0.24);
  background: #fff3e8;
}

.rank-badge {
  filter: saturate(0.9) sepia(18%) hue-rotate(330deg);
}

.nightlife-shell .mini {
  color: #fff;
  background: #be123c;
}

.nightlife-shell .mini.reject {
  background: #9f1239;
}

/* Front member app: peach-blue glass theme. */
.member-body {
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 195, 113, 0.28), transparent 30%),
    radial-gradient(circle at 85% 12%, rgba(255, 111, 145, 0.18), transparent 28%),
    linear-gradient(135deg, #eaf7ff 0%, #d8ecf8 42%, #b8d4e7 100%);
}

.member-body .auth-shell {
  background:
    radial-gradient(circle at 22% 10%, rgba(255, 195, 113, 0.34), transparent 28%),
    linear-gradient(135deg, #eaf7ff 0%, #d7edf8 48%, #b4d0e4 100%);
}

.nightlife-shell {
  color: #26384a;
  background:
    radial-gradient(circle at 24% 0%, rgba(255, 195, 113, 0.22), transparent 30%),
    radial-gradient(circle at 78% 18%, rgba(255, 111, 145, 0.16), transparent 25%),
    linear-gradient(135deg, #eaf7ff 0%, #d9eef8 48%, #b8d5e8 100%);
}

.member-body .auth-panel,
.nightlife-shell .panel,
.success-case-card,
.host-card,
.video-card,
.task-game-top div,
.task-symbol-grid button,
.task-record-block,
.task-purchase-row,
.interest-product-card,
.interest-record-block,
.nightlife-shell .info-row,
.nightlife-shell .profile-grid div,
.nightlife-shell .table-wrap,
.mine-account-summary,
.mine-action-grid button,
.detail-cover,
.character-large,
.character-media,
.video-player,
.video-player video,
.detail-list div,
.video-error,
.ad-grid .product-card {
  color: #26384a;
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 14px 34px rgba(69, 112, 143, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(16px);
}

.night-header,
.mine-top {
  background: rgba(236, 248, 255, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 28px rgba(85, 126, 153, 0.12);
  backdrop-filter: blur(18px);
}

.night-signal,
.night-back,
.night-gear,
.night-logo,
.nightlife-shell .member-bottom-nav button.active,
.mine-top,
.night-page h2,
.nightlife-shell .panel-title h3,
.task-record-block h3,
.interest-category h3,
.interest-normal-section h3,
.nightlife-shell table th,
.nightlife-shell .status {
  color: #ff7f68;
}

.success-case-card img,
.interest-product-grid img,
.task-symbol-grid img,
.video-thumb,
.table-thumb,
.mine-avatar,
.host-avatar {
  border-color: rgba(255, 143, 107, 0.22);
  background: #dff0f8;
}

.night-section-title,
.night-marquee,
.night-shortcuts,
.mine-balance-card,
.nightlife-shell .sub-tabs,
.nightlife-shell .member-bottom-nav,
.nightlife-shell > .member-content > .panel,
.nightlife-shell .member-two-col {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 12px 32px rgba(69, 112, 143, 0.13);
  backdrop-filter: blur(16px);
}

.night-shortcuts button,
.night-marquee,
.nightlife-shell .secondary,
.nightlife-shell .sub-tabs button,
.mine-list button,
.task-purchase-main b,
.task-game-top span,
.task-game-actions span,
.task-record-list span,
.task-history-list span,
.task-record-list p,
.nightlife-shell .panel-title span,
.nightlife-shell label,
.mine-balance-card span,
.task-purchase-row time,
.ad-grid .product-card p,
.ad-grid .product-card span,
.product-card span,
.product-card p,
.product-meta {
  color: #6f8291;
}

.success-case-card strong,
.host-card strong,
.video-card strong,
.interest-product-card strong,
.task-game-top strong,
.task-symbol-grid strong,
.task-purchase-main strong,
.interest-product-card span,
.interest-record-list strong,
.mine-account-summary strong,
.mine-balance-card strong,
.nightlife-shell table td,
.ad-grid .product-card strong,
.product-card strong {
  color: #26384a;
}

.member-body .auth-panel .primary,
.success-slide-btn,
.interest-buy-btn,
.nightlife-shell .primary,
.nightlife-shell .sub-tabs button.active,
.nightlife-shell .mini,
.video-thumb span,
.video-player span,
.character-play {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #ff8f6b 0%, #ff7f68 48%, #ff6f91 100%);
  box-shadow: 0 12px 26px rgba(255, 127, 104, 0.26);
}

.member-body .auth-panel .primary:hover,
.nightlife-shell .primary:hover,
.interest-buy-btn:hover {
  background: linear-gradient(135deg, #ff7f68 0%, #ff6f91 100%);
}

.task-symbol-grid button.active {
  border-color: rgba(255, 127, 104, 0.9);
  background: rgba(255, 237, 227, 0.78);
  box-shadow: 0 0 0 2px rgba(255, 127, 104, 0.16) inset;
}

.nightlife-shell input,
.task-bet-form input {
  color: #26384a;
  border-color: rgba(132, 173, 199, 0.34);
  background: rgba(255, 255, 255, 0.78);
}

.nightlife-shell input:focus,
.task-bet-form input:focus {
  border-color: #ff8f6b;
  outline-color: rgba(255, 143, 107, 0.18);
}

.mine-profile {
  color: #26384a;
  background: linear-gradient(135deg, rgba(255, 195, 113, 0.68), rgba(255, 111, 145, 0.38));
}

.mine-list button {
  border-bottom-color: rgba(132, 173, 199, 0.24);
  background: rgba(255, 255, 255, 0.54);
}

.nightlife-shell .member-bottom-nav {
  border-top: 1px solid rgba(255, 255, 255, 0.78);
}

.nightlife-shell .member-bottom-nav button {
  color: #78909f;
}

.nightlife-shell .member-bottom-nav img {
  filter: brightness(0) saturate(100%) invert(54%) sepia(18%) saturate(583%) hue-rotate(160deg) brightness(91%) contrast(89%);
}

.nightlife-shell .member-bottom-nav button.active {
  color: #ff7f68;
}

.nightlife-shell .member-bottom-nav button.active img {
  filter: brightness(0) saturate(100%) invert(55%) sepia(86%) saturate(672%) hue-rotate(322deg) brightness(103%) contrast(97%);
}

.nightlife-shell .secondary {
  border-color: rgba(255, 143, 107, 0.38);
  background: rgba(255, 255, 255, 0.62);
}

.interest-pickup-note {
  color: #5e4532;
  border-color: rgba(255, 195, 113, 0.62);
  background: linear-gradient(135deg, rgba(255, 245, 202, 0.82), rgba(255, 231, 218, 0.82));
  box-shadow: 0 12px 28px rgba(255, 143, 107, 0.14);
}

.success-carousel-viewport::before {
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.92), transparent 24%),
    radial-gradient(circle at 50% 52%, #ffc371 0%, #ff9a76 48%, #ff6f91 100%);
  box-shadow: 0 34px 90px rgba(255, 127, 104, 0.22), inset -34px -30px 70px rgba(89, 132, 160, 0.18);
}

/* Front member app: coordinated final palette and layout pass. */
.member-body,
.nightlife-shell {
  background:
    radial-gradient(circle at 16% 12%, rgba(255, 198, 146, 0.22), transparent 28%),
    radial-gradient(circle at 88% 6%, rgba(255, 133, 162, 0.16), transparent 24%),
    linear-gradient(145deg, #eef8fb 0%, #dbeef7 48%, #c4d9e9 100%);
}

.nightlife-shell .member-content {
  width: min(430px, 100%);
  margin: 0 auto;
}

.night-header,
.mine-top {
  background: rgba(242, 250, 253, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 30px rgba(72, 115, 145, 0.12);
}

.nightlife-shell .panel,
.success-case-card,
.host-card,
.video-card,
.task-game-top div,
.task-symbol-grid button,
.task-record-block,
.task-purchase-row,
.interest-product-card,
.interest-record-block,
.mine-account-summary,
.mine-action-grid button,
.detail-list div,
.video-player,
.character-media,
.ad-grid .product-card,
.nightlife-shell .table-wrap,
.nightlife-shell .info-row,
.nightlife-shell .profile-grid div {
  border: 1px solid rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 34px rgba(74, 114, 142, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.success-home,
.night-page,
.mine-page {
  background: transparent;
}

.member-loading {
  min-height: 100vh;
  background: linear-gradient(180deg, #e8f6fb 0%, #c9e4f1 100%);
}

.night-page h2,
.mine-top h2,
.nightlife-shell .panel-title h3,
.task-record-block h3,
.interest-category h3,
.interest-normal-section h3 {
  color: #23394a;
}

.nightlife-shell .panel-title span,
.nightlife-shell label,
.task-purchase-main b,
.task-purchase-row time,
.mine-balance-card span,
.nightlife-shell .muted,
.detail-list span {
  color: #758b9a;
}

.task-game-top strong,
.task-symbol-grid strong,
.task-purchase-main strong,
.interest-product-card span,
.interest-record-list strong,
.mine-balance-card strong,
.detail-list strong,
.nightlife-shell .status {
  color: #ff7f68;
}

.nightlife-shell .primary,
.interest-buy-btn,
.success-slide-btn,
.nightlife-shell .sub-tabs button.active,
.nightlife-shell .mini {
  color: #fff;
  border: 0;
  background: linear-gradient(135deg, #ff9a76 0%, #ff806b 50%, #ff6f91 100%);
  box-shadow: 0 12px 24px rgba(255, 128, 107, 0.25);
}

.nightlife-shell .secondary,
.nightlife-shell .sub-tabs button {
  color: #5f8198;
  border-color: rgba(121, 164, 190, 0.26);
  background: rgba(255, 255, 255, 0.62);
}

.nightlife-shell input,
.task-bet-form input {
  color: #23394a;
  border-color: rgba(121, 164, 190, 0.3);
  background: rgba(255, 255, 255, 0.78);
}

.nightlife-shell input:focus,
.task-bet-form input:focus {
  border-color: #ff9a76;
  outline: 3px solid rgba(255, 154, 118, 0.18);
}

.nightlife-shell .member-bottom-nav {
  width: min(430px, calc(100% - 20px));
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 0;
  background: rgba(246, 251, 253, 0.88);
  box-shadow: 0 -10px 28px rgba(72, 115, 145, 0.16);
  backdrop-filter: blur(18px);
}

.nightlife-shell .member-bottom-nav button {
  min-height: 58px;
  padding: 4px 2px;
  border: 0;
  border-radius: 10px;
  color: #6f8da0;
  background: transparent;
  box-shadow: none;
  outline: 0;
}

.nightlife-shell .member-bottom-nav button.active {
  color: #ff7f68;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 2px rgba(255, 127, 104, 0.22), 0 8px 18px rgba(255, 127, 104, 0.12);
}

.nightlife-shell .member-bottom-nav img {
  filter: brightness(0) saturate(100%) invert(54%) sepia(17%) saturate(664%) hue-rotate(160deg) brightness(91%) contrast(87%);
}

.nightlife-shell .member-bottom-nav button.active img {
  filter: brightness(0) saturate(100%) invert(59%) sepia(79%) saturate(696%) hue-rotate(322deg) brightness(102%) contrast(96%);
}

.service-entry {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 28px rgba(255, 128, 107, 0.16);
}

.interest-pickup-note {
  color: #5a4a3c;
  border-color: rgba(255, 195, 113, 0.54);
  background: linear-gradient(135deg, rgba(255, 247, 214, 0.82), rgba(255, 231, 218, 0.78));
}

.mine-profile {
  color: #23394a;
  background: linear-gradient(135deg, rgba(255, 195, 113, 0.54), rgba(255, 111, 145, 0.28));
}

.success-carousel-viewport::before {
  opacity: 0.1;
}

/* Tone down red accents against the blue glass background. */
.night-page h2,
.mine-top h2,
.nightlife-shell .panel-title h3,
.task-record-block h3,
.interest-category h3,
.interest-normal-section h3,
.task-game-top strong,
.task-symbol-grid strong,
.task-purchase-main strong,
.interest-product-card span,
.interest-record-list strong,
.mine-balance-card strong,
.detail-list strong,
.nightlife-shell .status,
.mine-account-summary strong,
.mine-account-summary .balance strong,
.nightlife-shell table th {
  color: #2f5368;
}

.night-signal,
.night-back,
.night-gear,
.nightlife-shell .member-bottom-nav button.active {
  color: #d88f78;
}

.service-entry img,
.night-signal img {
  filter: brightness(0) saturate(100%) invert(49%) sepia(22%) saturate(613%) hue-rotate(156deg) brightness(93%) contrast(88%);
}

.night-header .night-logo-img {
  filter: none;
}

.nightlife-shell .primary,
.interest-buy-btn,
.success-slide-btn,
.nightlife-shell .sub-tabs button.active,
.nightlife-shell .mini,
.video-thumb span,
.video-player span,
.character-play {
  background: linear-gradient(135deg, #e7a083 0%, #d98f78 52%, #c97f87 100%);
  box-shadow: 0 12px 24px rgba(152, 112, 104, 0.2);
}

.nightlife-shell .member-bottom-nav button.active {
  background: rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 0 0 2px rgba(216, 143, 120, 0.18), 0 8px 18px rgba(94, 132, 154, 0.12);
}

.nightlife-shell .member-bottom-nav button.active img {
  filter: brightness(0) saturate(100%) invert(56%) sepia(27%) saturate(605%) hue-rotate(331deg) brightness(93%) contrast(89%);
}

.mine-account-summary {
  border-color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.66);
}

.mine-account-summary div,
.mine-account-summary div:nth-child(3),
.mine-account-summary .balance {
  background: rgba(255, 255, 255, 0.46);
}

.mine-account-summary div {
  border-right-color: rgba(121, 164, 190, 0.2);
}

.mine-account-summary .balance {
  border-top-color: rgba(121, 164, 190, 0.22);
}

.mine-account-summary span {
  color: #5f6870;
  font-size: 12px;
  font-weight: 600;
}

.mine-account-summary strong,
.mine-account-summary div:nth-child(3) strong,
.mine-account-summary .balance strong {
  color: #222831;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  font-weight: 600;
  letter-spacing: 0;
}

.mine-account-summary .balance strong {
  font-size: 22px;
  font-weight: 600;
}

.mine-account-page .mine-action-grid {
  grid-auto-flow: column;
  grid-auto-columns: 104px;
  grid-template-rows: none;
  grid-template-columns: none;
  gap: 10px;
  padding: 0 12px 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.mine-account-page .mine-action-grid::-webkit-scrollbar {
  display: none;
}

.mine-account-page .mine-action-grid button {
  width: 104px;
  min-height: 78px;
  justify-items: center;
  align-content: center;
  padding: 0 8px;
  border-radius: 8px;
  font-size: 13px;
  text-align: center;
  white-space: normal;
  scroll-snap-align: start;
}

.mine-account-page .mine-action-grid button::after {
  content: none;
}

.service-entry {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 24px rgba(76, 116, 144, 0.14);
}

.service-entry img,
.night-signal img {
  width: 28px;
  height: 28px;
  filter: none;
}

.setup-alert,
.setup-alert-panel {
  display: grid;
  gap: 8px;
}

.setup-alert {
  margin: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 34px rgba(74, 114, 142, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.setup-alert strong {
  color: #2f5368;
  font-size: 15px;
}

.setup-alert span,
.setup-alert-panel .panel-title span {
  color: #758b9a;
  line-height: 1.5;
}

.setup-alert .primary,
.setup-alert-panel .primary {
  justify-self: start;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 8px;
}

.task-draw-control {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.task-draw-control strong {
  color: var(--text);
}

.task-draw-control span,
.task-draw-control small {
  color: var(--muted);
}

.task-result-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.task-result-picker button {
  min-height: 34px;
  padding: 0 12px;
  color: var(--accent);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.task-result-picker button.active {
  color: #fff;
  border-color: var(--accent);
  background: var(--accent);
}
