
:root {
  color-scheme: dark;
  --bg: #010714;
  --terminal: #030e1e;
  --panel: rgba(5,17,35,.72);
  --panel-strong: rgba(6,20,42,.88);
  --text: #eaf3ff;
  --muted: #91a4bf;
  --line: rgba(84,139,205,.18);
  --blue: #3d8fde;
  --cyan: #4ac7e8;
  --green: #18c68d;
  --red: #ff6377;
  --ink: #eaf4ff;
  --shadow: 0 24px 72px rgba(0,8,24,.34);
}
* { box-sizing: border-box; }
html {
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(1,7,20,.99) 0%, rgba(4,15,31,.99) 52%, rgba(1,7,18,1) 100%),
    repeating-linear-gradient(90deg, rgba(84,139,205,.045) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(180deg, rgba(84,139,205,.04) 0 1px, transparent 1px 96px),
    var(--bg);
}
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background-color: var(--bg);
  background:
    linear-gradient(180deg, rgba(1,7,20,.99) 0%, rgba(4,15,31,.99) 52%, rgba(1,7,18,1) 100%),
    repeating-linear-gradient(90deg, rgba(84,139,205,.045) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(180deg, rgba(84,139,205,.04) 0 1px, transparent 1px 96px);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0%, rgba(74,199,232,.045) 40%, transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.025), transparent 24%);
  mix-blend-mode: screen;
}
html.entry-splash-active,
html.entry-splash-active body {
  overflow: hidden !important;
}
html[data-entry-splash="seen"] .site-entry-splash {
  display: none !important;
}
.site-entry-splash {
  position: fixed;
  inset: 0;
  z-index: 2147483640;
  display: grid;
  place-items: center;
  padding: 28px;
  overflow: hidden;
  background: #000;
  color: #fff;
  pointer-events: auto;
}
.site-entry-splash::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 44%, rgba(255,255,255,.08), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,.04), transparent 36%, rgba(255,255,255,.03));
  pointer-events: none;
}
.site-entry-splash h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #fff;
  font-size: clamp(32px, 6.8vw, 92px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 0 34px rgba(255,255,255,.18);
  white-space: nowrap;
}
.site-entry-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  will-change: transform, opacity;
}
.site-entry-splash.is-visible .site-entry-char {
  animation: siteEntryChar .82s cubic-bezier(.22,1,.36,1) both;
}
@keyframes siteEntryChar {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
a { color: inherit; text-decoration: none; }
.app { position: relative; width: min(1160px, calc(100% - 36px)); min-height: 100vh; margin: 0 auto; padding: 18px 0 56px; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 0 -10px 26px;
  padding: 10px;
  border: 1px solid rgba(84,139,205,.22);
  border-radius: 18px;
  background: rgba(3,13,29,.76);
  box-shadow: 0 14px 42px rgba(0,8,24,.30);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 660; font-size: 18px; }
.brand { line-height: 1.2; min-width: 0; }
.brand::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 0 0 5px rgba(74,199,232,.10), 0 0 18px rgba(74,199,232,.30);
}
.nav-links { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.nav-links a, .nav-links button, .button, button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(112,171,232,.26);
  background: linear-gradient(180deg, rgba(21,50,88,.54), rgba(4,16,35,.46));
  color: var(--text);
  min-height: 40px;
  padding: 0 16px;
  border-radius: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 10px 28px rgba(0,10,28,.20);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.nav-links a:hover, .nav-links button:hover, .button:hover, button:hover { transform: translateY(-1px); }
.nav-links form { margin: 0; }
.nav-item-icon {
  display: none;
}
.nav-item-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mobile-nav-profile {
  display: none !important;
}
.mobile-admin-shortcut {
  display: none;
}
.mobile-bottom-nav,
.mobile-theme-toggle {
  display: none !important;
}
.nav-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 999px;
}
.nav-menu-icon {
  display: grid;
  gap: 4px;
  width: 16px;
}
.nav-menu-icon i {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.topbar.is-menu-open .nav-menu-icon i:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.topbar.is-menu-open .nav-menu-icon i:nth-child(2) {
  opacity: 0;
}
.topbar.is-menu-open .nav-menu-icon i:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}
.nav-alert {
  position: relative;
  top: auto;
  right: auto;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  transform: none;
}
.alert-button {
  position: relative;
  width: 52px;
  min-width: 52px;
  height: 52px;
  padding: 0 !important;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.07)),
    rgba(5,17,35,.78);
  box-shadow: 0 18px 52px rgba(0,8,24,.36), inset 0 1px 0 rgba(255,255,255,.16);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}
.alert-icon {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  color: currentColor;
}
.alert-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .86;
}
.alert-badge {
  position: absolute;
  top: -3px;
  right: -2px;
  display: grid;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  place-items: center;
  border: 2px solid var(--panel);
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  font-size: 10px;
  font-weight: 700;
}
.nav-alert.is-unread .alert-button {
  border-color: rgba(96,165,250,.38);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 0 0 6px rgba(96,165,250,.08), 0 18px 54px rgba(37,99,235,.20);
}
.nav-alert.is-unread .alert-icon svg {
  color: var(--blue);
}
.nav-alert .alert-button {
  animation: alertBellFloat 4.8s ease-in-out infinite;
}
.nav-alert.is-open .alert-button {
  animation-play-state: paused;
}
@keyframes alertBellFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.alert-popover {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 50;
  display: none;
  width: min(420px, calc(100vw - 36px));
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.90);
  box-shadow: 0 24px 70px rgba(15,23,42,.18), inset 0 1px 0 rgba(255,255,255,.82);
  transform: none;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
}
.nav-alert.is-open .alert-popover {
  display: block;
}
.alert-popover-head {
  display: grid;
  gap: 5px;
  padding: 8px 8px 12px;
  border-bottom: 1px solid var(--line);
}
.alert-popover-head b {
  font-size: 15px;
}
.alert-popover-head small,
.alert-empty {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}
.alert-list {
  display: grid;
  gap: 8px;
  padding: 10px 0;
}
.nav-alert a.alert-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255,255,255,.55);
  box-shadow: none;
  color: var(--text);
}
.alert-item img {
  width: 32px;
  height: 32px;
  border-radius: 999px;
}
.alert-item span {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.alert-item b {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.alert-item small,
.alert-item em {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.alert-item time {
  overflow: hidden;
  color: var(--blue);
  font-size: 11px;
  font-style: normal;
  font-weight: 660;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.alert-item i {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(52,199,89,.12);
  color: var(--green);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}
.nav-alert a.alert-action {
  display: flex;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 13px;
  background: #111827;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.primary, .nav-cta {
  background: linear-gradient(180deg, rgba(74,199,232,.46), rgba(45,112,207,.48)) !important;
  color: #fff !important;
  border-color: rgba(132,201,240,.38) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 12px 32px rgba(49,130,214,.18) !important;
}
.ghost { background: linear-gradient(180deg, rgba(28,58,96,.40), rgba(4,16,35,.32)); }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: 26px; align-items: center; padding: 22px 0 24px; }
.hero-copy { padding: 28px 0; }
.hero h1, .page-head h1, .auth-card h1 { color: var(--text); font-size: clamp(40px, 5vw, 68px); line-height: 1.02; margin: 12px 0 16px; letter-spacing: 0; max-width: 760px; }
.hero p { color: var(--muted); font-size: 18px; line-height: 1.76; max-width: 690px; }
.quote-splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    radial-gradient(circle at 50% 42%, rgba(255,255,255,.06), transparent 34%),
    #000;
  color: #fff;
  cursor: pointer;
  opacity: 1;
  transition: opacity .6s ease, transform .6s ease;
}
.quote-splash::before,
.quote-splash::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 13vh;
  background: #000;
  z-index: 0;
}
.quote-splash::before { top: 0; }
.quote-splash::after { bottom: 0; }
.quote-splash-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, 92vw);
  display: grid;
  gap: 18px;
  text-align: center;
  transform: translateY(12px) scale(.985);
  opacity: 0;
  filter: blur(8px);
  transition: transform .8s ease, opacity .8s ease, filter .8s ease;
}
.quote-splash.is-visible .quote-splash-inner {
  transform: translateY(0) scale(1);
  opacity: 1;
  filter: blur(0);
}
.quote-splash.is-leaving {
  opacity: 0;
  transform: scale(1.012);
  pointer-events: none;
}
.quote-splash p {
  margin: 0;
  color: #fff;
  font-size: clamp(20px, 2.55vw, 38px);
  font-weight: 660;
  line-height: 1.42;
  word-break: keep-all;
  overflow-wrap: normal;
  line-break: strict;
  text-wrap: balance;
  text-shadow: 0 18px 60px rgba(255,255,255,.18);
}
.quote-splash span {
  color: rgba(255,255,255,.70);
  font-size: clamp(12px, 1vw, 15px);
  font-weight: 700;
  line-height: 1.5;
}
.eyebrow { color: var(--cyan); font-weight: 660; font-size: 13px; letter-spacing: .02em; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.large { min-height: 52px !important; padding: 0 22px !important; border-radius: 18px !important; font-size: 15px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.hero-badges span, .badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(84,139,205,.20);
  border-radius: 999px;
  background: rgba(5,17,35,.64);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
}
.product-panel, .terminal-card, .card, .auth-card, .metric {
  background: var(--panel);
  border: 1px solid rgba(84,139,205,.20);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 20px;
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
}
.avatar-badge {
  --avatar-color: #007aff;
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #fff;
  background:
    radial-gradient(circle at 30% 24%, rgba(255,255,255,.35), transparent 32%),
    linear-gradient(135deg, var(--avatar-color), rgba(3,12,27,.88));
  border: 1px solid rgba(255,255,255,.40);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 12px 24px rgba(0,10,28,.18);
  font-size: 12px;
  font-weight: 700;
}
.avatar-badge.avatar-default {
  overflow: hidden;
  color: transparent;
  background: #000;
  border-color: rgba(255,255,255,.20);
  border-radius: 18%;
}
.avatar-badge.avatar-default::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 31% 46%, #fff 0 9%, transparent 10%),
    radial-gradient(circle at 69% 46%, #fff 0 9%, transparent 10%);
}
.avatar-badge.avatar-default::after {
  content: "";
  position: absolute;
  left: 40%;
  top: 53%;
  width: 20%;
  height: 6%;
  border-radius: 999px;
  background: #fff;
}
.avatar-badge.small { width: 34px; height: 34px; font-size: 10px; }
.avatar-badge.large {
  box-sizing: border-box;
  width: 84px !important;
  height: 84px !important;
  min-height: 84px !important;
  padding: 0 !important;
  font-size: 18px;
  border-radius: 50% !important;
  overflow: hidden;
}
.avatar-badge.avatar-image {
  overflow: hidden;
  color: transparent;
  background: #fff;
  padding: 0;
}
.avatar-badge.avatar-image img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}
.profile-card .avatar-badge { display: inline-grid; }
.profile-card .avatar-badge.avatar-image.large {
  padding: 6px !important;
}
.profile-grid {
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  grid-template-areas:
    "profile avatar"
    "email avatar";
  align-items: start;
}
.profile-card { grid-area: profile; }
.avatar-setting-card { grid-area: avatar; }
.email-alert-card { grid-area: email; }
.profile-card {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 132px;
}
.profile-card span { display: block; color: var(--muted); font-size: 13px; font-weight: 600; }
.profile-card b { display: block; margin: 3px 0; font-size: 28px; letter-spacing: 0; }
.profile-card small { display: block; }
.profile-logout-form {
  margin: 0 0 0 auto;
}
.profile-logout-form button {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
}
.profile-card-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.profile-success-dialog {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(5, 12, 24, .24);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.profile-success-box {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  width: min(430px, 100%);
  padding: 18px;
  border: 1px solid rgba(24,198,141,.28);
  border-radius: 22px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 22px 70px rgba(8,24,48,.20);
}
.profile-success-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-size: 24px;
  font-weight: 700;
}
.profile-success-box h3 {
  margin: 0 0 4px;
  font-size: 18px;
}
.profile-success-box p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.profile-success-box button {
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 13px;
  color: #fff;
  background: var(--green);
  font-weight: 700;
  cursor: pointer;
}
.email-alert-card,
.phone-bind-card,
.password-setting-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 0;
}
.email-alert-card h2,
.phone-bind-card h2,
.password-setting-card h2 {
  margin-bottom: 8px;
}
.email-alert-card p,
.phone-bind-card p,
.password-setting-card p {
  max-width: 720px;
  margin: 0 0 10px;
}
.email-alert-card small,
.phone-bind-card small,
.password-setting-card small {
  color: var(--muted);
  font-weight: 600;
}
.email-alert-form {
  display: grid;
  gap: 10px;
  justify-items: stretch;
  width: min(420px, 100%);
  min-width: min(360px, 100%);
}
.email-alert-state {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 12px;
}
.email-alert-state.on {
  color: var(--green);
  background: rgba(52,199,89,.12);
}
.email-alert-state.off {
  color: var(--muted);
  background: rgba(120,130,150,.13);
}
.phone-bind-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.phone-bind-state {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}
.phone-bind-state.on {
  color: var(--green);
  background: rgba(52,199,89,.12);
}
.phone-bind-state.off {
  color: var(--muted);
  background: rgba(120,130,150,.13);
}
.email-bind-field {
  color: var(--muted);
  font-size: 13px;
}
.email-alert-check {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  font-size: 13px;
  font-weight: 660;
}
.email-alert-check input {
  width: 18px;
  height: 18px;
  padding: 0;
  accent-color: var(--blue);
}
.avatar-setting-card {
  display: grid;
  gap: 14px;
}
.avatar-setting-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}
.avatar-setting-preview,
.avatar-modal-preview {
  display: grid;
  place-items: center;
}
.avatar-setting-summary h3 {
  margin: 0 0 6px;
}
.avatar-setting-summary p {
  margin: 0 0 6px;
  color: var(--muted);
  line-height: 1.5;
}
.avatar-setting-summary small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.avatar-setting-card > .button {
  width: 100%;
  justify-content: center;
}
.avatar-form { display: grid; gap: 16px; }
.avatar-cooldown {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.avatar-modal[hidden] {
  display: none !important;
}
body.avatar-modal-open {
  overflow: hidden;
}
.avatar-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  display: grid;
  place-items: center;
  padding: 22px;
}
.avatar-modal-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(2, 5, 12, .62);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  cursor: default;
}
.avatar-modal-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  width: min(760px, 100%);
  max-height: min(82vh, 760px);
  padding: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 24px;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.045)),
    rgba(13, 12, 14, .94);
  grid-template-rows: auto minmax(0, 1fr);
}
.avatar-modal-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}
.avatar-modal-head h2 {
  margin: 0 0 6px;
  font-size: 28px;
}
.avatar-modal-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.avatar-modal-close {
  width: 38px;
  min-width: 38px;
  height: 38px;
  min-height: 38px;
  padding: 0;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
}
.avatar-modal .avatar-choice-grid {
  max-height: min(48vh, 420px);
  overflow-y: auto;
  padding: 2px 4px 2px 2px;
  overscroll-behavior: contain;
}
.avatar-modal .avatar-form {
  min-height: 0;
  grid-template-rows: minmax(0, 1fr) auto;
}
.avatar-modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.avatar-choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 58px);
  gap: 12px;
  justify-content: start;
}
.avatar-choice {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(84,139,205,.18);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(9,24,48,.06);
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.avatar-choice input { position: absolute; opacity: 0; pointer-events: none; }
.avatar-choice .avatar-badge {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  padding: 3px;
  border: 0 !important;
  border-radius: inherit;
  box-shadow: none !important;
  background: transparent !important;
}
.avatar-choice .avatar-badge img { border-radius: inherit; }
.avatar-choice:hover {
  transform: translateY(-2px);
  border-color: rgba(0,122,255,.32);
  box-shadow: 0 14px 28px rgba(9,24,48,.10);
}
.avatar-choice.is-selected {
  border-color: rgba(24,198,141,.78);
  background: rgba(238,255,247,.94);
  box-shadow: 0 0 0 4px rgba(24,198,141,.13), 0 16px 32px rgba(0,128,86,.14);
}
.avatar-choice.is-selected::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 8px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 4px 10px rgba(24,198,141,.28);
}
.avatar-choice.is-selected::before {
  content: "";
  position: absolute;
  z-index: 1;
  right: 14px;
  top: 11px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.community-head { align-items: flex-start; }
.app-community-shell {
  width: min(1680px, calc(100% - 36px));
}
.community-market-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  gap: 16px;
  align-items: start;
}
.community-market-main {
  display: grid;
  gap: 14px;
  min-width: 0;
}
.community-market-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .92fr);
  gap: 18px;
  align-items: end;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.community-market-head h1 {
  margin: 8px 0 8px;
  font-size: clamp(34px, 4vw, 62px);
  line-height: .98;
  letter-spacing: 0;
}
.community-market-head p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}
.community-symbol-tabs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(154px, 1fr);
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.community-symbol-tab {
  min-width: 154px;
  justify-content: flex-start;
  gap: 10px;
  padding: 9px 10px !important;
  border-radius: 18px !important;
  white-space: nowrap;
}
.community-symbol-tab.active {
  border-color: rgba(0,122,255,.45);
  background: rgba(0,122,255,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.34), 0 0 0 4px rgba(0,122,255,.08);
}
.community-symbol-tab span {
  display: grid;
  gap: 2px;
  min-width: 0;
  text-align: left;
}
.community-symbol-tab b {
  overflow: hidden;
  text-overflow: ellipsis;
}
.community-symbol-tab small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}
.community-symbol-tab em {
  margin-left: auto;
  color: var(--blue);
  font-style: normal;
  font-weight: 700;
}
.community-chart-card {
  padding: 0;
  overflow: hidden;
}
.community-chart-card .screen-top {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.community-chart-card .local-kline-frame {
  position: relative;
  height: clamp(360px, 42vh, 560px);
  border: 0;
  border-radius: 0;
  background: var(--panel-strong);
  overflow: hidden;
}
.community-score-stack {
  display: grid;
  min-width: 0;
}
.community-score-panel {
  display: grid;
  gap: 14px;
}
.community-score-panel[hidden] {
  display: none !important;
}
.community-score-head,
.community-score-empty,
.community-status-line {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.community-score-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
}
.community-score-head span,
.community-score-empty span,
.community-chat-head span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.community-score-head h2 {
  margin: 8px 0 6px;
  font-size: clamp(24px, 3vw, 42px);
  letter-spacing: 0;
}
.community-score-head p,
.community-score-empty p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}
.community-score-head strong {
  color: var(--blue);
  font-size: clamp(38px, 4vw, 64px);
  line-height: .9;
  white-space: nowrap;
}
.community-score-head small {
  color: var(--muted);
  font-size: 13px;
}
.community-score-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.community-status-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
}
.community-status-line > b {
  font-size: 22px;
  font-weight: 700;
  white-space: nowrap;
}
.community-status-line p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}
.community-status-line dl {
  display: flex;
  gap: 8px;
  margin: 0;
}
.community-status-line dl div {
  min-width: 92px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.34);
}
.community-status-line dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 660;
}
.community-status-line dd {
  margin: 3px 0 0;
  font-size: 13px;
  font-weight: 700;
}
.community-score-empty {
  min-height: 260px;
  display: grid;
  place-content: center;
  gap: 10px;
  padding: 24px;
  text-align: center;
}
.community-chat-panel {
  position: sticky;
  top: 86px;
  display: grid;
  grid-template-rows: none;
  gap: 12px;
  align-content: start;
  min-height: 0;
  max-height: none;
}
.community-chat-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.community-chat-head b {
  display: block;
  margin-top: 4px;
  font-size: 14px;
}
.community-chat-head a {
  flex: 0 0 auto;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}
.community-culture-card,
.chat-rules-card,
.chat-system-card {
  min-height: 96px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.community-culture-card {
  overflow: hidden;
}
.community-culture-card > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
.community-culture-card b {
  font-size: 14px;
}
.community-culture-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}
.community-hot-list,
.community-feature-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}
.community-hot-row,
.community-feature-row {
  display: grid;
  gap: 2px;
  padding: 9px 10px;
  border: 1px solid rgba(112,171,232,.18);
  border-radius: 13px;
  background: rgba(255,255,255,.28);
}
.community-hot-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  color: inherit;
}
.community-hot-row b,
.community-feature-row b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.community-feature-row p,
.community-empty-line,
.community-credit-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.email-alert-digest-preview {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid rgba(112,171,232,.18);
  border-radius: 14px;
  background: rgba(255,255,255,.36);
}
.email-alert-digest-preview b {
  font-size: 13px;
}
.email-alert-digest-preview span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.community-chat-filter {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.community-chat-filter button {
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--muted);
  background: var(--panel);
  font-weight: 750;
}
.community-chat-filter button.active {
  color: var(--blue);
  border-color: rgba(0,122,255,.38);
  background: rgba(0,122,255,.10);
}
.chat-rules-card b,
.chat-system-top b {
  display: block;
  font-size: 14px;
  font-weight: 700;
}
.chat-rules-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 10px 0 0;
  padding: 0;
}
.chat-rules-card li {
  list-style: none;
  padding: 6px 8px;
  border: 1px solid rgba(112,171,232,.18);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,.34);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}
.community-system-prompts {
  display: grid;
  min-width: 0;
}
.chat-system-card[hidden] {
  display: none !important;
}
.chat-system-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.chat-system-top span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.chat-system-card p {
  margin: 10px 0;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.65;
}
.chat-system-card dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 10px;
}
.chat-system-card dl div {
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.30);
}
.chat-system-card dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 660;
}
.chat-system-card dd {
  overflow: hidden;
  margin: 3px 0 0;
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chat-system-card small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.community-chat-panel .chat-list {
  min-height: 0;
  max-height: 360px;
  height: auto;
}
.community-chat-panel .chat-compose {
  grid-template-columns: 1fr;
  align-items: stretch;
}
.community-chat-panel .chat-compose select {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--text);
  background: rgba(255,255,255,.64);
  font-weight: 750;
}
.community-chat-panel .chat-compose button {
  width: 100%;
}
.chat-shell {
  display: grid;
  gap: 14px;
  min-height: 620px;
}
.chat-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 430px;
  max-height: 62vh;
  overflow: auto;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(248,251,255,.52));
  box-shadow: var(--shadow);
}
.chat-message {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}
.chat-bubble {
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.78);
}
.chat-bubble header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
  flex-wrap: wrap;
}
.chat-bubble b { font-size: 13px; }
.chat-bubble time { color: var(--muted); font-size: 12px; margin-left: auto; }
.chat-bubble p {
  margin: 0;
  color: var(--text);
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.chat-message-system .chat-system-avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, rgba(255,145,37,.96), rgba(83,216,150,.82));
  box-shadow: 0 10px 24px rgba(255,145,37,.18), inset 0 1px 0 rgba(255,255,255,.35);
  font-size: 13px;
  font-weight: 700;
}
.chat-message-system .chat-bubble {
  border-color: rgba(255,145,37,.24);
  background: linear-gradient(145deg, rgba(255,145,37,.10), rgba(255,255,255,.72));
}
.chat-message-system.state-bad .chat-bubble,
.chat-message-system.state-risk .chat-bubble {
  border-color: rgba(255,106,74,.24);
}
.chat-message-system.state-good .chat-bubble {
  border-color: rgba(83,216,150,.24);
}
.chat-role {
  padding: 2px 7px;
  border-radius: 999px;
  color: var(--blue);
  background: rgba(0,122,255,.10);
  font-size: 11px;
  font-weight: 660;
}
.chat-symbol-chip {
  padding: 2px 7px;
  border-radius: 999px;
  color: #b45309;
  background: rgba(255,149,0,.14);
  font-size: 11px;
  font-weight: 800;
}
.chat-reactions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.chat-reaction {
  min-height: 28px;
  padding: 4px 8px;
  border: 1px solid rgba(112,171,232,.18);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,.32);
  font-size: 11px;
  font-weight: 800;
}
.chat-reaction.active {
  color: var(--blue);
  border-color: rgba(0,122,255,.34);
  background: rgba(0,122,255,.12);
}
.radar-vote-community-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 4px 9px;
  border: 1px solid rgba(0,122,255,.22);
  border-radius: 999px;
  color: var(--blue);
  background: rgba(0,122,255,.08);
  font-size: 12px;
  font-weight: 850;
}
.chat-empty {
  display: grid;
  min-height: 260px;
  place-items: center;
  color: var(--muted);
  font-weight: 600;
}
.chat-compose {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.chat-compose-id {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  white-space: nowrap;
}
.chat-compose textarea {
  min-height: 72px;
  resize: vertical;
}
.product-panel {
  min-height: 430px;
  display: grid;
  gap: 16px;
  align-content: start;
  overflow: hidden;
}
.screen-top { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-weight: 600; }
.screen-top b { color: var(--text); font-size: 18px; }
.screen-top span { font-size: 13px; }
.chart-preview {
  position: relative;
  height: 174px;
  border: 1px solid rgba(84,139,205,.18);
  border-radius: 16px;
  background:
    linear-gradient(to right, rgba(84,139,205,.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(84,139,205,.075) 1px, transparent 1px),
    linear-gradient(180deg, rgba(5,19,39,.88), rgba(3,14,30,.96));
  background-size: 54px 100%, 100% 42px, 100% 100%;
  overflow: hidden;
}
.chart-preview::after {
  content: "";
  position: absolute;
  left: 5%;
  right: 5%;
  top: 48%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(74,199,232,.64), rgba(24,198,141,.42), transparent);
  box-shadow: 0 0 16px rgba(74,199,232,.26);
  transform: skewY(-8deg);
}
.chart-preview i {
  position: absolute;
  bottom: 34px;
  width: 10px;
  border-radius: 10px 10px 0 0;
  background: var(--green);
  box-shadow: 0 -14px 0 rgba(24,198,141,.16), 0 0 14px rgba(24,198,141,.18);
}
.chart-preview i:nth-child(1) { left: 8%; height: 40px; }
.chart-preview i:nth-child(2) { left: 17%; height: 64px; background: var(--red); box-shadow: 0 -10px 0 rgba(255,99,119,.22); }
.chart-preview i:nth-child(3) { left: 27%; height: 72px; }
.chart-preview i:nth-child(4) { left: 39%; height: 52px; }
.chart-preview i:nth-child(5) { left: 51%; height: 84px; background: var(--red); box-shadow: 0 -14px 0 rgba(255,99,119,.20); }
.chart-preview i:nth-child(6) { left: 64%; height: 76px; }
.chart-preview i:nth-child(7) { left: 76%; height: 110px; }
.chart-preview i:nth-child(8) { left: 88%; height: 134px; }
.compact-chart { height: 210px; margin: 16px 0; }
.good { color: #39d3a0; }
.terminal-card { display: grid; align-content: center; gap: 12px; }
.terminal-row { display: flex; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--line); padding: 10px 0; }
.terminal-row:last-child { border-bottom: 0; }
.terminal-row span, .muted, small { color: var(--muted); }
.terminal-row b { min-width: 0; text-align: right; overflow-wrap: anywhere; }
.grid { display: grid; gap: 14px; margin-top: 14px; }
.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.two { grid-template-columns: 1.1fr .9fr; align-items: start; }
.metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card h2, .card h3 { margin: 0 0 10px; letter-spacing: 0; }
.card p { color: var(--muted); line-height: 1.7; }
.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 30px;
}
.trust-strip div {
  min-height: 82px;
  padding: 16px;
  border: 1px solid rgba(84,139,205,.18);
  border-radius: 16px;
  background: rgba(5,17,35,.58);
}
.trust-strip b { display: block; margin-bottom: 6px; }
.trust-strip span { color: var(--muted); font-size: 14px; line-height: 1.55; }
.section-head { margin: 42px 0 14px; }
.section-head h2 { font-size: 34px; margin: 0 0 8px; letter-spacing: 0; }
.section-head p { margin: 0; color: var(--muted); line-height: 1.7; max-width: 720px; }
.feature-card { min-height: 218px; }
.strategy-card, .advantage-card {
  min-height: 184px;
  display: grid;
  align-content: start;
  gap: 8px;
}
.strategy-card span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 660;
  letter-spacing: .08em;
}
.strategy-card h3, .advantage-card h3 { margin-bottom: 2px; }
.strategy-card p, .advantage-card p { margin: 0; }
.index {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(74,199,232,.64), rgba(45,112,207,.62));
  color: #fff;
  font-weight: 660;
  margin-bottom: 14px;
}
.pricing-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 18px;
  align-items: stretch;
  margin-top: 10px;
}
.pricing-band .price { font-size: 54px; line-height: 1; margin: 12px 0 8px; font-weight: 700; letter-spacing: 0; }
.subscription-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  gap: 18px;
  align-items: center;
  margin-top: 22px;
  padding: 24px;
  border: 1px solid rgba(84,139,205,.18);
  border-radius: 20px;
  background: rgba(5,17,35,.62);
  box-shadow: var(--shadow);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
}
.subscription-strip h2 { margin: 8px 0; font-size: 32px; letter-spacing: 0; }
.subscription-strip p { color: var(--muted); line-height: 1.7; margin: 0; }
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.plan-card {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 26px;
  border: 1px solid rgba(84,139,205,.18);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(7,22,44,.92), rgba(3,13,29,.96));
  box-shadow: 0 24px 70px rgba(0,8,24,.34);
}
.plan-card.featured {
  border-color: rgba(74,199,232,.32);
  box-shadow: 0 24px 86px rgba(0,8,24,.38), 0 0 34px rgba(74,199,232,.08);
}
.plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.plan-top h2 { margin: 0; font-size: 22px; }
.plan-top span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(74,199,232,.12);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 660;
}
.plan-price b {
  display: inline-block;
  font-size: clamp(42px, 4vw, 58px);
  line-height: 1;
}
.plan-price small { margin-left: 6px; font-weight: 600; }
.plan-card p { margin: 0; color: var(--muted); line-height: 1.6; }
.plan-saving {
  display: grid;
  gap: 5px;
  min-height: 44px;
  color: var(--muted);
  font-size: 14px;
}
.plan-saving strong { color: #39d3a0; font-size: 15px; }
.plan-original { text-decoration: line-through; }
.plan-button {
  width: 100%;
  min-height: 48px !important;
  border-radius: 999px !important;
}
.plan-card ul {
  display: grid;
  gap: 12px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.plan-card li {
  position: relative;
  padding-left: 24px;
  color: var(--text);
  line-height: 1.45;
}
.plan-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}
.subscription-help { margin-top: 20px; }
.step {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.65;
}
.step:last-child { border-bottom: 0; }
.step b { display: block; color: var(--text); margin-bottom: 3px; }
.page-head { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 12px; }
.page-head h1 { font-size: 34px; }
.head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
.admin-shortcut-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.admin-shortcut-card h2 { margin: 6px 0 8px; }
.fortune-ai-admin-card {
  align-items: flex-start;
}
.fortune-ai-admin-panel {
  display: grid;
  gap: 12px;
  width: min(680px, 100%);
}
.fortune-ai-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.fortune-ai-status-grid span,
.fortune-ai-output {
  border: 1px solid rgba(255,190,92,.16);
  border-radius: 14px;
  background: rgba(255,190,92,.055);
}
.fortune-ai-status-grid span {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 10px 12px;
}
.fortune-ai-status-grid small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}
.fortune-ai-status-grid b {
  overflow: hidden;
  color: var(--text);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fortune-ai-output {
  max-height: 132px;
  margin: 0;
  padding: 12px;
  overflow: auto;
  color: rgba(247,242,232,.74);
  font: 12px/1.65 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre-wrap;
}
@media (max-width: 760px) {
  .admin-shortcut-card,
  .fortune-ai-admin-card {
    display: grid;
  }
  .app-admin-shell .card {
    max-width: 100%;
    overflow-x: auto;
  }
  .fortune-ai-status-grid {
    grid-template-columns: 1fr;
  }
}
.app-admin-shell {
  width: min(1500px, calc(100% - 36px));
}
.app-admin-shell .topbar {
  border-color: rgba(255,149,0,.28);
}
.app-admin-shell .page-head {
  padding: 18px;
  border: 1px solid rgba(255,149,0,.22);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255,149,0,.10), rgba(0,122,255,.06)), var(--panel);
  box-shadow: var(--shadow);
}
.admin-guard-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(255,149,0,.24);
  border-radius: 18px;
  background: rgba(255,149,0,.10);
  color: var(--text);
}
.admin-guard-card b {
  white-space: nowrap;
  font-weight: 700;
}
.admin-guard-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}
.admin-guard-card.danger {
  border-color: rgba(255,59,48,.24);
  background: rgba(255,59,48,.10);
}
.sensitive-value {
  display: inline-grid;
  gap: 6px;
  min-width: 130px;
}
.sensitive-value summary {
  width: fit-content;
  cursor: pointer;
  color: var(--muted);
  font-weight: 660;
}
.sensitive-value span,
.sensitive-value code {
  overflow-wrap: anywhere;
  color: var(--text);
}
.admin-log-disclosure {
  margin-top: 12px;
}
.admin-log-disclosure summary {
  width: fit-content;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  font-weight: 700;
}
.admin-log-disclosure[open] summary {
  margin-bottom: 12px;
}
.auth-card { max-width: 440px; margin: 40px auto; }
.form { display: grid; gap: 14px; margin-top: 18px; }
label { display: grid; gap: 7px; color: var(--muted); font-weight: 700; }
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(3,14,30,.78);
  border-radius: 14px;
  padding: 12px 13px;
  font: inherit;
  color: var(--text);
  outline: none;
}
input::placeholder, textarea::placeholder { color: rgba(142,164,194,.72); }
input:focus, textarea:focus { border-color: rgba(74,199,232,.46); box-shadow: 0 0 0 4px rgba(74,199,232,.08); }
textarea { resize: vertical; }
.app-auth-shell {
  width: 100%;
  max-width: none;
  min-height: 100dvh;
  padding: 0;
  color: #f8fbff;
  background:
    radial-gradient(circle at 52% 72%, rgba(255,145,31,.14), transparent 28%),
    radial-gradient(circle at 24% 42%, rgba(55,112,255,.12), transparent 30%),
    linear-gradient(180deg, #151b2d 0%, #101522 100%);
}
.app-auth-shell > .topbar {
  position: fixed;
  top: 18px;
  left: 22px;
  right: 22px;
  width: auto;
  max-width: none;
  border: 0;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.app-auth-shell > .mobile-bottom-nav {
  display: none !important;
}
.app-auth-shell .nav-primary,
.app-auth-shell .nav-utility a {
  display: none !important;
}
.app-auth-shell .brand {
  color: #fff;
}
.app-auth-shell .theme-toggle {
  width: 38px;
  height: 38px;
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.82);
  box-shadow: none;
}
.auth-shell {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(420px, 1fr) 384px;
  align-items: center;
  justify-content: center;
  gap: clamp(56px, 7vw, 128px);
  width: min(1120px, calc(100vw - 56px));
  margin: 0 auto;
  padding: 112px 0 72px;
}
.auth-story {
  position: relative;
  display: grid;
  align-content: center;
  min-height: 560px;
}
.auth-wordmark {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-grid;
  place-items: center;
  width: 62px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.08);
  background: #11100f;
  color: #f4f2ee;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
}
.auth-kicker {
  margin: 0 0 18px;
  color: rgba(255,255,255,.56);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
}
.auth-story h1 {
  max-width: 620px;
  margin: 0;
  color: #fff;
  font-size: clamp(44px, 4.4vw, 70px);
  line-height: 1.08;
  letter-spacing: 0;
}
.auth-story h1::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin-top: 24px;
  border-radius: 999px;
  background: #ff9418;
}
.auth-story-copy > p:not(.auth-kicker) {
  max-width: 560px;
  margin: 22px 0 0;
  color: rgba(226,232,240,.72);
  font-size: 16px;
  line-height: 1.8;
}
.auth-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  max-width: 620px;
  margin-top: 44px;
}
.auth-proof-grid span {
  display: grid;
  gap: 4px;
}
.auth-proof-grid b {
  color: #ff9418;
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1;
  letter-spacing: 0;
}
.auth-proof-grid small {
  color: rgba(226,232,240,.7);
  font-size: 13px;
  font-weight: 660;
}
.auth-signal-preview {
  position: relative;
  width: min(560px, 100%);
  min-height: 150px;
  margin-top: 58px;
}
.auth-signal-card {
  position: absolute;
  display: grid;
  gap: 5px;
  min-width: 148px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.055);
}
.auth-signal-card b {
  color: #fff;
  font-size: 18px;
}
.auth-signal-card span {
  color: rgba(226,232,240,.66);
  font-size: 12px;
  font-weight: 660;
}
.auth-signal-card.is-buy {
  left: 0;
  top: 18px;
  border-color: rgba(22,196,145,.34);
}
.auth-signal-card.is-sell {
  right: 74px;
  bottom: 8px;
  border-color: rgba(239,68,68,.34);
}
.auth-chart-lines {
  position: absolute;
  inset: 24px 0 0 70px;
  border-radius: 18px;
  overflow: hidden;
  opacity: .8;
  background:
    linear-gradient(135deg, transparent 26%, rgba(49,130,255,.78) 27%, transparent 29%),
    linear-gradient(14deg, transparent 55%, rgba(22,196,145,.35) 56%, transparent 58%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
}
.auth-chart-lines i {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255,255,255,.08);
}
.auth-chart-lines i:nth-child(1) { top: 28%; }
.auth-chart-lines i:nth-child(2) { top: 54%; }
.auth-chart-lines i:nth-child(3) { top: 78%; }
.auth-panel {
  width: 100%;
  padding: 34px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(13,18,29,.92);
  box-shadow: 0 28px 90px rgba(0,0,0,.18);
}
.auth-panel-head span {
  display: block;
  color: #ff9418;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
}
.auth-panel-head h2 {
  margin: 12px 0 8px;
  color: #fff;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: 0;
}
.auth-panel-head p,
.auth-alt-note,
.auth-switch {
  margin: 0;
  color: rgba(226,232,240,.66);
  font-size: 13px;
  line-height: 1.7;
}
.auth-form {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}
.auth-field {
  display: grid;
  gap: 8px;
  color: rgba(226,232,240,.78);
  font-size: 13px;
  font-weight: 660;
}
.auth-field input,
.auth-password-row {
  min-height: 46px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 0;
  background: rgba(255,255,255,.055);
}
.auth-field input {
  padding: 0 13px;
  color: #fff;
  box-shadow: none;
}
.auth-field input::placeholder {
  color: rgba(226,232,240,.36);
}
.auth-field input:focus {
  border-color: rgba(255,148,24,.58);
  box-shadow: 0 0 0 3px rgba(255,148,24,.13);
}
.auth-password-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}
.auth-password-row input {
  min-height: 44px;
  border: 0;
  background: transparent;
}
.auth-password-row button {
  min-height: 34px;
  margin-right: 6px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  color: rgba(226,232,240,.72);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.auth-submit {
  min-height: 48px;
  margin-top: 4px;
  border-radius: 0 !important;
  background: #ff9418 !important;
  border-color: #ff9418 !important;
  color: #1b1308 !important;
  box-shadow: none !important;
}
.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 24px 0 16px;
  color: rgba(226,232,240,.48);
  font-size: 12px;
  font-weight: 660;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  background: rgba(255,255,255,.1);
}
.auth-alt-note {
  padding: 13px 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.035);
}
.auth-switch {
  margin-top: 22px;
  text-align: center;
}
.auth-switch a {
  color: #ff9418;
  font-weight: 700;
  text-decoration: none;
}
@media (max-width: 980px) {
  .auth-shell {
    grid-template-columns: 1fr;
    gap: 22px;
    width: min(100% - 28px, 520px);
    padding: 86px 0 40px;
  }
  .auth-story {
    min-height: auto;
  }
  .auth-wordmark {
    display: none;
  }
  .auth-story h1 {
    font-size: clamp(34px, 10vw, 48px);
  }
  .auth-story-copy > p:not(.auth-kicker) {
    margin-top: 14px;
    font-size: 14px;
  }
  .auth-proof-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
  }
  .auth-proof-grid span {
    padding: 12px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.045);
  }
  .auth-proof-grid b {
    font-size: 22px;
  }
  .auth-proof-grid small {
    font-size: 11px;
  }
  .auth-signal-preview {
    display: none;
  }
  .auth-panel {
    padding: 24px;
  }
  .auth-panel-head h2 {
    font-size: 30px;
  }
}
@media (max-width: 520px) {
  .app-auth-shell > .topbar {
    top: 12px;
    left: 14px;
    right: 14px;
  }
  .auth-proof-grid {
    grid-template-columns: 1fr;
  }
}
.metric span { color: var(--muted); display: block; font-size: 13px; font-weight: 700; }
.metric b { display: block; font-size: 28px; margin: 8px 0 4px; }
.feature-list { display: grid; gap: 10px; }
.feature {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(4,15,32,.58);
}
.feature span { color: var(--muted); }
.analysis-shell { margin-top: 16px; }
.market-card {
  min-height: 342px;
  background: linear-gradient(180deg, rgba(4,15,32,.84), rgba(2,10,24,.92));
}
.analysis-panel {
  background: linear-gradient(180deg, rgba(5,17,35,.78), rgba(3,13,29,.90));
}
.analysis-list { display: grid; gap: 10px; margin-top: 14px; }
.analysis-list div {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 4px 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.analysis-list div:last-child { border-bottom: 0; }
.analysis-list span { color: var(--muted); font-size: 13px; font-weight: 600; }
.analysis-list b { min-width: 0; }
.analysis-list small { grid-column: 2; line-height: 1.5; }
.locked-preview { position: relative; min-height: 620px; }
.blur-target {
  filter: blur(9px);
  opacity: .58;
  transform: scale(.995);
  transform-origin: center top;
  pointer-events: none;
  user-select: none;
}
.preview-lock {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(460px, calc(100% - 28px));
  transform: translate(-50%, -50%);
  z-index: 3;
  background: rgba(5,17,35,.84);
  border: 1px solid rgba(126,205,255,.26);
  border-radius: 20px;
  box-shadow: 0 26px 90px rgba(0,9,28,.50), 0 0 34px rgba(74,199,232,.08);
  padding: 24px;
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
}
.preview-lock h2 { margin: 8px 0 8px; font-size: 30px; letter-spacing: 0; }
.preview-lock p { color: var(--muted); line-height: 1.7; margin: 0; }
.address-box {
  border: 1px solid var(--line);
  background: rgba(3,14,30,.70);
  border-radius: 16px;
  padding: 14px;
  margin: 14px 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  word-break: break-all;
}
.notice {
  border: 1px solid rgba(24,198,141,.26);
  background: rgba(24,198,141,.08);
  color: #39d3a0;
  border-radius: 16px;
  padding: 12px 14px;
  margin: 12px 0;
  font-weight: 700;
}
.notice.bad { border-color: rgba(255,99,119,.30); background: rgba(255,99,119,.10); color: #ff9aa7; }
table { width: 100%; border-collapse: separate; border-spacing: 0 8px; font-size: 13px; }
th { color: var(--muted); text-align: left; font-size: 12px; padding: 8px; }
td { background: rgba(5,17,35,.58); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 10px 8px; vertical-align: middle; }
td:first-child { border-left: 1px solid var(--line); border-radius: 12px 0 0 12px; }
td:last-child { border-right: 1px solid var(--line); border-radius: 0 12px 12px 0; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.empty { color: var(--muted); text-align: center; }
.inline-form { display: flex; gap: 8px; align-items: center; margin: 0; }
.inline-form input { min-width: 80px; }
.wide-form input:nth-child(2) { min-width: 280px; }
.server-page-head { align-items: flex-start; }
.server-metric-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 18px 0;
}
.server-service-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 18px 0;
}
.server-service-card { display: flex; flex-direction: column; gap: 16px; }
.server-service-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.server-service-head h2 { margin: 0; }
.server-service-head p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.server-state {
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  white-space: nowrap;
}
.server-state.running {
  background: rgba(52, 199, 89, .12);
  border-color: rgba(52, 199, 89, .3);
  color: var(--green);
}
.server-state.stopped {
  background: rgba(255, 59, 48, .10);
  border-color: rgba(255, 59, 48, .24);
  color: var(--red);
}
.server-service-card dl { display: grid; gap: 10px; margin: 0; }
.server-service-card dl div {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
}
.server-service-card dt { color: var(--muted); font-size: 13px; font-weight: 600; }
.server-service-card dd { font-size: 13px; font-weight: 700; margin: 0; text-align: right; }
.server-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.server-actions form {
  display: inline-flex;
  align-items: end;
  gap: 8px;
  margin: 0;
}
.server-confirm {
  min-width: 170px;
  font-size: 12px;
}
.server-confirm input {
  min-height: 38px;
  padding: 8px 10px;
}
.danger-soft {
  background: rgba(255, 59, 48, .10);
  border-color: rgba(255, 59, 48, .26);
  color: var(--red);
}
.server-help-card { margin: 18px 0; }
.server-help-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.server-help-grid p {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  margin: 0;
  padding: 14px;
}
.server-help-grid b { display: block; margin-bottom: 6px; }
.server-help-grid span { color: var(--muted); font-size: 13px; line-height: 1.6; }
.server-log-grid { display: grid; gap: 12px; }
.server-log-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.server-log-card summary {
  background: var(--soft);
  cursor: pointer;
  font-weight: 700;
  padding: 12px 14px;
}
.server-log-card pre {
  color: var(--muted);
  font-family: Consolas, Monaco, monospace;
  font-size: 12px;
  line-height: 1.55;
  margin: 0;
  max-height: 260px;
  overflow: auto;
  padding: 14px;
  white-space: pre-wrap;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}
.section-heading h2 { margin: 4px 0 6px; }
@media (max-width: 760px) {
  .app { width: min(100% - 20px, 1180px); padding-top: 10px; }
  .topbar, .page-head { align-items: flex-start; flex-direction: column; margin-left: 0; margin-right: 0; }
  .hero, .two, .three, .metrics, .trust-strip, .pricing-band, .subscription-strip, .plan-grid { grid-template-columns: 1fr; }
  .server-metric-grid, .server-service-grid, .server-help-grid { grid-template-columns: 1fr; }
  .admin-guard-card,
  .server-actions form {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .server-confirm {
    min-width: 0;
  }
  .hero { gap: 14px; padding-top: 8px; }
  .hero-copy { padding: 4px 0 10px; }
  .hero h1, .page-head h1, .auth-card h1 { font-size: 36px; }
  .hero p { font-size: 16px; }
  .product-panel { min-height: 360px; border-radius: 24px; }
  .chart-preview { height: 136px; }
  .compact-chart { height: 150px; }
  .terminal-row { display: grid; grid-template-columns: 1fr; gap: 4px; }
  .terminal-row b { text-align: left; }
  .nav-links { justify-content: flex-start; }
  .nav-links a, .nav-links button, .button, button { min-height: 42px; padding: 0 14px; }
  .analysis-list div { grid-template-columns: 1fr; }
  .analysis-list small { grid-column: auto; }
  .locked-preview { min-height: 690px; }
  .preview-lock { top: 46%; }
  table { display: block; overflow-x: auto; white-space: nowrap; }
}
@media (min-width: 1180px) {
  .app {
    width: min(1760px, calc(100vw - 64px));
    padding: 20px 0 72px;
  }
  .topbar {
    margin-left: 0;
    margin-right: 0;
  }
  .page-head {
    margin-top: 14px;
    margin-bottom: 20px;
  }
  .page-head h1 {
    font-size: clamp(38px, 3vw, 56px);
  }
  .grid {
    gap: 18px;
    margin-top: 18px;
  }
  .metrics {
    grid-template-columns: repeat(3, minmax(260px, 1fr));
  }
  .metric {
    min-height: 126px;
    padding: 24px;
  }
  .metric b {
    font-size: clamp(30px, 2vw, 40px);
  }
  .two {
    grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr);
  }
  .analysis-shell {
    grid-template-columns: minmax(0, 1.45fr) minmax(420px, .85fr);
    align-items: stretch;
  }
  .analysis-shell > .card {
    height: 100%;
  }
  .market-card {
    min-height: 470px;
  }
  .compact-chart {
    height: 330px;
  }
  .analysis-list div {
    padding: 18px 0;
  }
  .card {
    padding: 24px;
  }
  .feature {
    padding: 18px;
  }
  .hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(500px, 620px);
    min-height: calc(100vh - 126px);
  }
  .hero h1 {
    max-width: 940px;
  }
  .hero p {
    max-width: 820px;
  }
  .product-panel {
    min-height: 520px;
  }
}
@media (min-width: 1800px) {
  .app {
    width: min(1880px, calc(100vw - 80px));
  }
  .analysis-shell {
    grid-template-columns: minmax(0, 1.6fr) minmax(460px, .8fr);
  }
  .compact-chart {
    height: 380px;
  }
  .market-card {
    min-height: 530px;
  }
}

/* 仪表盘 v2: 真实评分排行 + 详情面板 */
.head-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.meta-item { display: inline-flex; align-items: center; gap: 8px; }
.account-permission {
  align-self: flex-start;
  display: grid;
  gap: 4px;
  justify-items: end;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.54);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.86);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  white-space: nowrap;
}
.account-permission b {
  color: var(--text);
  font-size: 12px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.dot-good { background: var(--green); box-shadow: 0 0 8px rgba(24,198,141,.55); }
.dot-warn { background: #f5a623; box-shadow: 0 0 8px rgba(245,166,35,.55); }
.dot-bad { background: var(--red); box-shadow: 0 0 8px rgba(255,99,119,.55); }
.metric b.good { color: var(--green); }
.metric b.muted-num { color: var(--muted); }
.muted-text { color: var(--muted); font-size: 13px; font-weight: 650; }
.dashboard-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.score-board { padding: 0; overflow: hidden; }
.score-board > .screen-top {
  padding: 18px 22px 14px;
  border-bottom: 1px solid var(--line);
}
.score-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 14px;
}
.score-table th {
  text-align: left;
  padding: 12px 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 660;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: rgba(3,14,30,.52);
  border-bottom: 1px solid var(--line);
}
.score-table td {
  padding: 14px;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  vertical-align: middle;
}
.score-table tbody tr:last-child td { border-bottom: none; }
.score-table tbody tr:hover { background: rgba(74,199,232,.04); }
.score-row.tier-high { background: linear-gradient(90deg, rgba(24,198,141,.06), transparent 60%); }
.score-row.tier-high td:first-child { border-left: 3px solid var(--green); padding-left: 11px; }
.score-row.tier-mid td:first-child { border-left: 3px solid var(--cyan); padding-left: 11px; }
.score-row.tier-low td:first-child { border-left: 3px solid rgba(84,139,205,.32); padding-left: 11px; }
.rank-cell { color: var(--muted); font-weight: 660; font-size: 13px; width: 40px; }
.symbol-cell b { font-size: 15px; display: block; }
.symbol-cell small { color: var(--muted); font-size: 11px; display: block; margin-top: 2px; }
.score-cell b { font-size: 18px; font-weight: 660; }
.score-cell small { color: var(--muted); font-size: 11px; margin-left: 2px; }
.tier-high .score-cell b { color: var(--green); }
.tier-mid .score-cell b { color: var(--cyan); }
.sub-score { font-weight: 600; color: var(--text); font-size: 14px; }
.sub-score small { color: var(--muted); font-size: 11px; margin-left: 1px; }
.state-cell { color: var(--text); font-size: 13px; }
.state-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 11px;
  margin-right: 6px;
  font-weight: 660;
}
.state-good { background: rgba(24,198,141,.18); color: var(--green); }
.state-bad { background: rgba(255,99,119,.18); color: var(--red); }
.state-warn { background: rgba(245,166,35,.18); color: #f5a623; }
.state-muted { background: rgba(84,139,205,.12); color: var(--muted); }
.bias-cell { font-size: 13px; }
.warn-chip {
  display: inline-block;
  padding: 2px 8px;
  margin-left: 6px;
  border-radius: 999px;
  background: rgba(245,166,35,.14);
  color: #f5a623;
  font-size: 11px;
  font-weight: 600;
}
.table-foot {
  padding: 12px 22px;
  border-top: 1px solid var(--line);
  margin: 0;
  font-size: 12px;
}
.detail-panel { margin-top: 20px; }
.detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.detail-header h2 { margin: 6px 0 0; font-size: 30px; }
.detail-header h2 small { color: var(--muted); font-size: 16px; font-weight: 650; margin-left: 8px; }
.detail-score { text-align: right; }
.detail-score b { font-size: 44px; font-weight: 700; display: block; line-height: 1; }
.detail-score b.tier-high { color: var(--green); }
.detail-score b.tier-mid { color: var(--cyan); }
.detail-score b.tier-low { color: var(--muted); }
.detail-score small { color: var(--muted); font-size: 12px; }
.breakdown-grid { margin-bottom: 22px; }
.detail-panel h4 {
  font-size: 14px;
  font-weight: 660;
  letter-spacing: .02em;
  color: var(--muted);
  margin: 0 0 12px;
  text-transform: uppercase;
}
.breakdown-list { display: grid; gap: 8px; }
.breakdown-row {
  display: grid;
  grid-template-columns: 110px 1fr 80px;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.breakdown-row > span { color: var(--text); }
.breakdown-row b { font-weight: 660; text-align: right; }
.breakdown-row b small { color: var(--muted); font-weight: 650; font-size: 11px; }
.breakdown-bar {
  height: 8px;
  background: rgba(84,139,205,.10);
  border-radius: 999px;
  overflow: hidden;
}
.bar-pos {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--green));
  border-radius: 999px;
}
.bar-neg {
  height: 100%;
  background: linear-gradient(90deg, var(--red), #ff9aa7);
  border-radius: 999px;
}
.reasons-list, .flags-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.reasons-list li, .flags-list li {
  position: relative;
  padding: 10px 12px 10px 28px;
  background: rgba(3,14,30,.50);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 13px;
  color: var(--text);
  line-height: 1.5;
}
.reasons-list li::before {
  content: "✓";
  position: absolute;
  left: 10px;
  top: 10px;
  color: var(--cyan);
  font-weight: 660;
}
.flags-list li::before {
  content: "!";
  position: absolute;
  left: 10px;
  top: 10px;
  width: 14px;
  height: 14px;
  background: rgba(245,166,35,.20);
  color: #f5a623;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 660;
}
.reasons-list li.muted, .flags-list li.muted { color: var(--muted); }
.reasons-list li.muted::before, .flags-list li.muted::before { content: "—"; background: none; color: var(--muted); }
.strategy-note, .boundary-note {
  margin-top: 22px;
  padding: 16px 18px;
  background: rgba(74,199,232,.05);
  border: 1px solid rgba(74,199,232,.20);
  border-radius: 14px;
}
.risk-reminder-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  margin-top: 12px;
  min-height: 40px;
  padding: 9px 18px;
  border: 1px solid var(--lz-border, rgba(255,255,255,.12));
  border-radius: 16px;
  background: var(--lz-card-2, rgba(255,255,255,.04));
  color: var(--lz-muted, #6f655a);
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.risk-reminder-strip span {
  color: var(--lz-faint, #9a8c78);
  font-size: 15px;
  line-height: 1;
}
.risk-reminder-strip b {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}
.strategy-note p { margin: 8px 0 0; line-height: 1.6; }
.strategy-note p:last-child { font-size: 12px; margin-top: 10px; }
.history-board .score-table th:nth-child(6), .history-board .score-table td:nth-child(6) { min-width: 260px; }
@media (max-width: 760px) {
  .dashboard-metrics { grid-template-columns: 1fr; }
  .score-table { display: block; overflow-x: auto; white-space: nowrap; }
  .breakdown-row { grid-template-columns: 90px 1fr 70px; gap: 8px; font-size: 12px; }
  .detail-header { flex-direction: column; }
  .detail-score { text-align: left; }
  .account-permission {
    justify-items: start;
    white-space: normal;
  }
}

/* Apple dashboard skin: align member site with the Telegram trading dashboard. */
:root {
  color-scheme: light;
  --bg: #f5f5f7;
  --terminal: rgba(255,255,255,.72);
  --panel: rgba(255,255,255,.72);
  --panel-strong: rgba(255,255,255,.90);
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(60,60,67,.14);
  --line-strong: rgba(60,60,67,.28);
  --blue: #007aff;
  --cyan: #0a84ff;
  --green: #34c759;
  --red: #ff3b30;
  --ink: #1d1d1f;
  --shadow: 0 18px 50px rgba(0,0,0,.08);
  --shadow-soft: 0 8px 26px rgba(0,0,0,.06);
  --glass-line: rgba(255,255,255,.72);
}
html {
  background: #f5f5f7;
}
body {
  color: var(--text);
  background:
    radial-gradient(circle at 18% 0%, rgba(255,255,255,.96) 0, rgba(255,255,255,0) 30%),
    radial-gradient(circle at 86% 8%, rgba(0,122,255,.10) 0, rgba(0,122,255,0) 26%),
    linear-gradient(180deg, #fbfbfd 0%, #f5f5f7 44%, #eceef2 100%);
}
body::before {
  background:
    linear-gradient(180deg, rgba(255,255,255,.46), transparent 34%),
    radial-gradient(circle at 50% -20%, rgba(255,255,255,.82), transparent 42%);
  mix-blend-mode: normal;
}
.app {
  width: min(1220px, calc(100% - 48px));
  padding: 24px 0 72px;
}
.topbar {
  margin: 0 0 28px;
  border: 1px solid rgba(255,255,255,.72);
  background: rgba(255,255,255,.62);
  box-shadow: var(--shadow-soft);
  border-radius: 20px;
}
.brand {
  color: var(--text);
}
.brand::before {
  width: 11px;
  height: 11px;
  background: #1d1d1f;
  box-shadow: 0 0 0 5px rgba(29,29,31,.06);
}
.nav-links a,
.nav-links button,
.button,
button {
  border: 1px solid rgba(255,255,255,.72);
  background: rgba(255,255,255,.58);
  color: var(--text);
  border-radius: 14px;
  min-height: 40px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.92), 0 8px 24px rgba(0,0,0,.06);
}
.nav-links a:hover,
.nav-links button:hover,
.button:hover,
button:hover {
  background: rgba(255,255,255,.82);
  border-color: rgba(255,255,255,.95);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.96), 0 12px 28px rgba(0,0,0,.09);
}
.primary,
.nav-cta {
  background: rgba(0,122,255,.86) !important;
  border-color: rgba(0,122,255,.54) !important;
  color: #fff !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.36), 0 12px 28px rgba(0,122,255,.24) !important;
}
.primary:hover,
.nav-cta:hover {
  background: rgba(0,104,220,.92) !important;
}
.ghost {
  background: rgba(255,255,255,.52);
}
.hero {
  min-height: auto;
  padding: 28px 0 22px;
  grid-template-columns: minmax(0, 1.05fr) minmax(410px, .95fr);
}
.hero-copy {
  padding: 18px 0;
}
.hero h1,
.page-head h1,
.auth-card h1 {
  color: var(--text);
  font-weight: 600;
  font-size: clamp(40px, 5vw, 64px);
}
.page-head h1 {
  font-size: clamp(32px, 3vw, 46px);
}
.hero p,
.card p,
.subscription-strip p,
.section-head p,
.preview-lock p {
  color: var(--muted);
}
.eyebrow {
  color: var(--blue);
  letter-spacing: 0;
}
.hero-badges span,
.badge,
.pill {
  border: 1px solid rgba(60,60,67,.12);
  background: rgba(255,255,255,.66);
  color: var(--muted);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.86);
}
.product-panel,
.terminal-card,
.card,
.auth-card,
.metric,
.subscription-strip,
.preview-lock {
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: var(--shadow-soft);
  border-radius: 22px;
}
.product-panel {
  min-height: 448px;
}
.screen-top,
.screen-top span,
.terminal-row span,
.muted,
.muted-text,
small {
  color: var(--muted);
}
.screen-top b,
.terminal-row b,
.card h2,
.card h3,
.step b,
.strategy-card h3,
.advantage-card h3 {
  color: var(--text);
}
.chart-preview,
.compact-chart {
  border: 1px solid var(--line);
  background:
    linear-gradient(to right, rgba(60,60,67,.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(60,60,67,.07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,.88), rgba(248,248,250,.92));
  background-size: 54px 100%, 100% 42px, 100% 100%;
}
.chart-preview::after {
  background: linear-gradient(90deg, transparent, rgba(0,122,255,.52), rgba(52,199,89,.42), transparent);
}
.terminal-row,
.status-line,
.step,
.score-board > .screen-top,
.detail-header,
.table-foot,
.score-table th,
.score-table td {
  border-color: var(--line);
}
.trust-strip div,
.feature,
.address-box,
.strategy-note,
.boundary-note,
.reasons-list li,
.flags-list li {
  background: rgba(255,255,255,.54);
  border: 1px solid var(--line);
}
.index {
  background: rgba(0,122,255,.86);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.32), 0 10px 24px rgba(0,122,255,.18);
}
.strategy-card span,
.plan-top span {
  color: var(--blue);
}
.pricing-band .price,
.plan-price b,
.metric b,
.detail-score b {
  color: var(--text);
}
.plan-card {
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.78);
  box-shadow: var(--shadow-soft);
  border-radius: 22px;
}
.plan-card.featured {
  border-color: rgba(0,122,255,.34);
  box-shadow: 0 18px 54px rgba(0,122,255,.12);
}
.plan-top span {
  background: rgba(0,122,255,.08);
  border: 1px solid rgba(0,122,255,.12);
}
.plan-saving,
.plan-card p,
.plan-original {
  color: var(--muted);
}
.plan-saving strong,
.good,
.positive,
.tier-high .score-cell b,
.detail-score b.tier-high,
.metric b.good {
  color: #14833b;
}
.negative,
.detail-score b.tier-low {
  color: #b42318;
}
input,
textarea,
select {
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.76);
}
input:focus,
textarea:focus,
select:focus {
  border-color: rgba(0,122,255,.44);
  box-shadow: 0 0 0 4px rgba(0,122,255,.10), inset 0 1px 0 rgba(255,255,255,.86);
}
input::placeholder,
textarea::placeholder {
  color: rgba(110,110,115,.68);
}
.notice {
  background: rgba(52,199,89,.10);
  border-color: rgba(52,199,89,.24);
  color: #14833b;
}
.notice.bad {
  background: rgba(255,59,48,.10);
  border-color: rgba(255,59,48,.22);
  color: #b42318;
}
table {
  border-collapse: separate;
  border-spacing: 0 8px;
}
td {
  background: rgba(255,255,255,.66);
  border-color: var(--line);
}
th {
  color: var(--muted);
}
.score-table {
  border-spacing: 0;
}
.score-table th {
  background: rgba(248,248,250,.72);
}
.score-table td {
  background: transparent;
}
.score-table tbody tr:hover {
  background: rgba(0,122,255,.04);
}
.score-row.tier-high {
  background: linear-gradient(90deg, rgba(52,199,89,.08), transparent 58%);
}
.score-row.tier-mid {
  background: linear-gradient(90deg, rgba(0,122,255,.06), transparent 58%);
}
.score-row.tier-high td:first-child {
  border-left-color: var(--green);
}
.score-row.tier-mid td:first-child {
  border-left-color: var(--blue);
}
.tier-mid .score-cell b,
.detail-score b.tier-mid {
  color: var(--blue);
}
.sub-score,
.state-cell,
.breakdown-row > span {
  color: var(--text);
}
.state-good {
  background: rgba(52,199,89,.12);
  color: #14833b;
}
.state-bad {
  background: rgba(255,59,48,.12);
  color: #b42318;
}
.state-muted {
  background: rgba(60,60,67,.08);
  color: var(--muted);
}
.warn-chip,
.state-warn {
  background: rgba(255,149,0,.12);
  color: #a15c00;
}
.breakdown-bar {
  background: rgba(60,60,67,.10);
}
.bar-pos {
  background: linear-gradient(90deg, var(--blue), var(--green));
}
.bar-neg {
  background: linear-gradient(90deg, var(--red), #ff9b93);
}
.reasons-list li::before {
  color: var(--blue);
}
.flags-list li::before {
  background: rgba(255,149,0,.16);
  color: #a15c00;
}
.market-card,
.analysis-panel {
  background: var(--panel);
}
.analysis-list div {
  border-color: var(--line);
}
.locked-preview .blur-target {
  opacity: .50;
}
.preview-lock {
  background: rgba(255,255,255,.82);
}
.section-head {
  margin-top: 54px;
}
@media (min-width: 1180px) {
  .app {
    width: min(1220px, calc(100vw - 48px));
  }
  .hero {
    min-height: auto;
    grid-template-columns: minmax(0, 1.04fr) minmax(430px, .96fr);
  }
  .product-panel {
    min-height: 456px;
  }
  .metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .app {
    width: min(100% - 20px, 1180px);
    padding-top: 12px;
  }
  .topbar {
    border-radius: 18px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 8px;
  }
  .product-panel,
  .card,
  .auth-card,
  .metric {
    border-radius: 20px;
  }
}

/* Dashboard terminal layout v3: left ranking / center chart / right operation rail. */
@media (min-width: 1320px) {
  .app {
    width: min(2020px, calc(100vw - 32px));
  }
}
.dashboard-terminal-shell {
  display: grid;
  grid-template-columns: minmax(270px, 320px) minmax(0, 1fr) minmax(310px, 360px);
  gap: 12px;
  align-items: start;
}
.dashboard-terminal-shell > *,
.dashboard-center,
.dashboard-command-bar,
.dashboard-chart-panel,
.dashboard-chart-panel .local-kline-frame,
.score-detail-stack {
  min-width: 0;
  max-width: 100%;
}
.dashboard-center,
.score-detail-stack {
  grid-template-columns: minmax(0, 1fr);
}
.dashboard-left-rail,
.dashboard-right-rail {
  display: grid;
  gap: 12px;
  align-content: start;
}
@media (min-width: 1101px) {
  .dashboard-terminal-shell {
    align-items: stretch;
  }
  .dashboard-center,
  .dashboard-left-rail,
  .dashboard-right-rail {
    min-height: 100%;
  }
  .dashboard-center {
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
  }
  .dashboard-left-rail {
    grid-template-rows: auto minmax(0, 1fr);
  }
  .dashboard-right-rail {
    grid-template-rows: auto auto minmax(0, 1fr);
  }
  .score-detail-stack,
  .market-sentiment-card,
  .history-digest {
    height: 100%;
    min-height: 0;
  }
  .score-detail-stack {
    display: grid;
  }
  .score-detail-stack > .detail-panel:not([hidden]) {
    height: 100%;
  }
  .history-digest {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
  }
  .history-digest ul {
    max-height: none;
    min-height: 0;
  }
}
.dashboard-command-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  margin-bottom: 12px;
}
.symbol-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.symbol-tab {
  display: grid;
  gap: 4px;
  align-content: center;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--text);
  background: rgba(255,255,255,.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.90), 0 10px 28px rgba(15,23,42,.05);
}
.symbol-tab:hover,
.symbol-tab.active {
  border-color: rgba(0,122,255,.28);
  background: rgba(255,255,255,.94);
  transform: translateY(-1px);
}
.symbol-tab span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 660;
}
.symbol-tab b {
  color: var(--text);
  font-size: 18px;
  line-height: 1;
}
.dashboard-title-block {
  min-height: 58px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.64);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.90), 0 12px 30px rgba(15,23,42,.05);
}
.dashboard-title-block h1 {
  margin: 2px 0 6px;
  font-size: clamp(28px, 2.7vw, 46px);
  line-height: .98;
  letter-spacing: 0;
}
.dashboard-command-bar .account-permission {
  min-height: 58px;
  justify-content: center;
  align-self: stretch;
}
.rank-panel {
  min-height: 0;
  padding: 0;
  overflow: hidden;
}
.rank-panel .screen-top,
.market-sentiment-card .screen-top,
.history-digest .screen-top,
.countdown-card .screen-top {
  padding: 16px 18px 12px;
  border-bottom: 1px solid var(--line);
}
.rank-list {
  display: grid;
  gap: 8px;
  padding: 12px;
}
.market-sentiment-card {
  display: grid;
  gap: 14px;
  min-height: 180px;
  padding: 0 16px 16px;
  overflow: hidden;
}
.market-sentiment-card .screen-top {
  margin: 0 -16px;
  padding: 16px 18px 12px;
  border-bottom: 1px solid var(--line);
}
.market-sentiment-card .screen-top b {
  color: var(--blue);
  font-size: 26px;
}
.sentiment-meter {
  position: relative;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff4d5d 0 25%, #ff9500 25% 45%, #9aa3b2 45% 56%, #34c759 56% 76%, #18c68d 76% 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.46), 0 10px 24px rgba(0,0,0,.08);
}
.sentiment-meter i {
  position: absolute;
  top: 50%;
  left: calc(var(--sentiment, 50) * 1%);
  width: 18px;
  height: 18px;
  border: 3px solid var(--panel-strong);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
  transform: translate(-50%, -50%);
}
.sentiment-main {
  display: grid;
  gap: 4px;
}
.sentiment-main strong {
  color: var(--text);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}
.sentiment-main small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 660;
}
.sentiment-foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.sentiment-fear .sentiment-main strong,
.sentiment-extreme-fear .sentiment-main strong {
  color: var(--red);
}
.sentiment-greed .sentiment-main strong,
.sentiment-extreme-greed .sentiment-main strong {
  color: var(--green);
}
.sentiment-neutral .sentiment-main strong {
  color: var(--muted);
}
.sentiment-empty {
  min-height: 98px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 660;
}
.funding-panel {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.46);
}
.funding-head,
.funding-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
.funding-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 660;
}
.funding-head em {
  color: var(--text);
  font-style: normal;
  font-weight: 700;
}
.funding-head b {
  font-size: 20px;
  font-weight: 700;
  white-space: nowrap;
}
.funding-meta,
.funding-panel small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.funding-positive .funding-head b {
  color: var(--green);
}
.funding-negative .funding-head b {
  color: var(--red);
}
.funding-neutral .funding-head b,
.funding-muted .funding-head b {
  color: var(--muted);
}
.funding-panel.is-loading {
  opacity: .72;
}
.rank-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 58px;
  padding: 11px 15px 11px 17px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.68);
  color: var(--text);
  transition: transform .16s ease, border-color .16s ease;
}
.rank-card::before {
  content: "";
  position: absolute;
  inset: 12px auto 12px 0;
  width: 3px;
  border-radius: 999px;
  background: rgba(120,120,130,.32);
}
.rank-card.tier-high::before { background: var(--green); }
.rank-card.tier-mid::before { background: var(--blue); }
.rank-card:hover {
  transform: translateY(-1px);
  border-color: var(--lz-accent-line, rgba(255,145,37,.4));
}
/* 名次徽标：NO.1 / NO.2 …，前三名递进强调 */
.rank-num {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  min-width: 30px;
  font-family: var(--lz-mono, ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace);
  font-size: 19px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--muted);
}
.rank-num i {
  font-size: 9px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: .06em;
  opacity: .6;
}
.rank-list .rank-card:nth-child(1) .rank-num { color: #ff9125; }
.rank-list .rank-card:nth-child(2) .rank-num,
.rank-list .rank-card:nth-child(3) .rank-num { color: var(--text); }
/* 中段：币种 + 状态(各自一行，不再挤压) */
.rank-main {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.rank-main strong {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rank-main small {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 700;
}
/* 右段：评分为视觉主角 */
.rank-score {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.rank-score b {
  font-size: 23px;
  line-height: 1;
  color: var(--blue);
  letter-spacing: -.02em;
}
.rank-score em {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--lz-accent-soft, rgba(255,255,255,.08));
  color: var(--lz-accent-ink, #ededf0);
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
  white-space: nowrap;
}
.dashboard-chart-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
}
.dashboard-chart-panel .screen-top {
  padding: 16px 20px 12px;
  border-bottom: 1px solid var(--line);
}
.dashboard-chart-panel .local-kline-frame {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: clamp(360px, 35vw, 520px);
  border: 0;
  border-radius: 0;
  background: var(--panel-strong);
  overflow: hidden;
}
.local-kline-toolbar {
  position: absolute;
  top: 10px;
  left: 12px;
  z-index: 5;
  display: flex;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 8px 22px rgba(15,23,42,.08), inset 0 1px 0 rgba(255,255,255,.72);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
}
.local-kline-toolbar button {
  min-height: 26px;
  padding: 0 10px !important;
  border-radius: 999px !important;
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.local-kline-toolbar button.active {
  color: var(--text);
  background: rgba(0,122,255,.14) !important;
}
.local-kline-period-toggle,
.local-kline-period-menu {
  display: none;
}
.local-kline-drawbar {
  display: none !important;
}
.local-kline-canvas {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
}
.preview-kline-placeholder {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  background:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(4,12,28,.92), rgba(6,10,18,.98));
  background-size: 100% 52px, 72px 100%, 100% 100%;
}
.preview-kline-placeholder i {
  position: absolute;
  bottom: 18px;
  width: 2px;
  border-radius: 2px 2px 0 0;
  background: rgba(24,198,141,.42);
}
.preview-kline-placeholder i:nth-child(1) { left: 8%; height: 24%; }
.preview-kline-placeholder i:nth-child(2) { left: 18%; height: 13%; background: rgba(255,77,90,.38); }
.preview-kline-placeholder i:nth-child(3) { left: 34%; height: 31%; }
.preview-kline-placeholder i:nth-child(4) { left: 52%; height: 18%; background: rgba(255,77,90,.38); }
.preview-kline-placeholder i:nth-child(5) { left: 70%; height: 42%; }
.preview-kline-placeholder i:nth-child(6) { left: 86%; height: 26%; background: rgba(255,77,90,.38); }
.preview-kline-placeholder span {
  position: absolute;
  left: 8%;
  right: 8%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2e8dff, #7b4dff, #18c68d);
  transform-origin: left center;
  opacity: .88;
}
.preview-kline-placeholder span:nth-of-type(1) { top: 42%; transform: rotate(-8deg); }
.preview-kline-placeholder span:nth-of-type(2) { top: 54%; transform: rotate(5deg); }
.preview-kline-placeholder span:nth-of-type(3) { top: 66%; transform: rotate(-12deg); }
.local-kline-status {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 660;
  text-align: center;
  pointer-events: none;
}
.local-kline-status[hidden] {
  display: none !important;
}
.local-kline-tooltip {
  position: absolute;
  z-index: 9;
  width: min(310px, calc(100% - 28px));
  padding: 12px;
  border: 1px solid rgba(52,199,89,.36);
  border-radius: 16px;
  background: rgba(255,255,255,.90);
  color: var(--text);
  box-shadow: 0 18px 46px rgba(15,23,42,.18), inset 0 1px 0 rgba(255,255,255,.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  transform-origin: 16px 18px;
  will-change: transform, opacity;
}
.local-kline-tooltip.is-chanlun {
  border-color: rgba(52,199,89,.44);
}
.local-kline-tooltip.is-chanlun-short {
  border-color: rgba(255,59,48,.46);
  background: rgba(255,247,246,.94);
}
.local-kline-tooltip.is-chanlun-short b {
  color: var(--red);
}
.local-kline-tooltip[hidden] {
  display: none !important;
}
.local-kline-tooltip b,
.local-kline-tooltip strong,
.local-kline-tooltip small,
.local-kline-tooltip span {
  display: block;
}
.local-kline-tooltip b {
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
}
.local-kline-tooltip strong {
  margin-top: 3px;
  font-size: 14px;
  font-weight: 700;
}
.local-kline-tooltip small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}
.local-tooltip-levels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 9px;
}
.local-tooltip-levels span {
  min-width: 0;
  padding: 5px 7px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,.58);
  color: var(--muted);
  font-size: 11px;
  font-weight: 660;
}
.local-kline-tooltip p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}
.chart-signal-layer {
  position: absolute;
  inset: 58px 18px 20px 18px;
  z-index: 6;
  pointer-events: none;
}
.chart-signal-dot {
  position: absolute;
  left: var(--marker-x);
  top: var(--marker-y);
  z-index: 7;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid rgba(52,199,89,.52);
  border-radius: 999px;
  background: rgba(52,199,89,.92);
  color: #fff;
  box-shadow: 0 0 0 5px rgba(52,199,89,.12), 0 12px 30px rgba(0,0,0,.18);
  transform: translate(-50%, -50%);
  pointer-events: auto;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.chart-signal-dot[hidden],
.chart-signal-popover[hidden] {
  display: none !important;
}
.chart-signal-dot span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: 20px;
  font-weight: 1000;
  line-height: 1;
}
.chart-signal-dot::after {
  content: "";
  position: absolute;
  inset: -9px;
  border: 1px solid rgba(52,199,89,.30);
  border-radius: inherit;
  animation: markerPulse 1.7s ease-out infinite;
}
.chart-signal-dot.signal-short {
  border-color: rgba(255,59,48,.52);
  background: rgba(255,59,48,.92);
  box-shadow: 0 0 0 5px rgba(255,59,48,.12), 0 12px 30px rgba(0,0,0,.18);
}
.chart-signal-dot.signal-short::after {
  border-color: rgba(255,59,48,.30);
}
.chart-signal-dot.is-active,
.chart-signal-dot:hover {
  transform: translate(-50%, -50%) scale(1.12);
  filter: saturate(1.12);
}
@keyframes markerPulse {
  0% { opacity: .7; transform: scale(.72); }
  100% { opacity: 0; transform: scale(1.3); }
}
.chart-signal-popover {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 9;
  display: none;
  width: min(330px, 36vw);
  padding: 12px;
  border: 1px solid rgba(52,199,89,.38);
  border-radius: 18px;
  background: rgba(246,255,250,.93);
  box-shadow: 0 18px 46px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.88);
  backdrop-filter: blur(18px);
  pointer-events: auto;
}
.chart-signal-popover.is-open {
  display: block;
}
.chart-signal-popover.signal-short {
  border-color: rgba(255,59,48,.38);
  background: rgba(255,247,246,.93);
}
.chart-popover-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.76);
  color: var(--muted);
  box-shadow: none;
  font-size: 16px;
  line-height: 1;
}
.chart-popover-head {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding-right: 24px;
}
.chart-signal-popover p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
}
.chart-popover-score {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.chart-popover-score span {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255,255,255,.56);
  font-size: 11px;
  font-weight: 660;
}
.chart-signal-marker {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: min(286px, 32vw);
  padding: 11px 13px;
  border: 1px solid rgba(52,199,89,.38);
  border-radius: 18px;
  background: rgba(246,255,250,.90);
  box-shadow: 0 18px 46px rgba(0,0,0,.12), inset 0 1px 0 rgba(255,255,255,.88);
  backdrop-filter: blur(18px);
}
.chart-signal-marker[hidden] {
  display: none;
}
.chart-signal-marker.signal-short {
  border-color: rgba(255,59,48,.38);
  background: rgba(255,247,246,.90);
}
.signal-arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 13px;
  background: var(--green);
  color: #fff;
  font-size: 24px;
  font-weight: 1000;
  line-height: 1;
  box-shadow: 0 10px 26px rgba(52,199,89,.28);
}
.signal-short .signal-arrow {
  background: var(--red);
  box-shadow: 0 10px 26px rgba(255,59,48,.25);
}
.chart-signal-marker b,
.chart-signal-marker small,
.chart-signal-marker em {
  display: block;
}
.chart-signal-marker b {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}
.chart-signal-marker small {
  margin-top: 2px;
  color: var(--text);
  font-size: 12px;
  font-weight: 620;
}
.chart-signal-marker em {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
}
.dashboard-center .detail-panel {
  margin-top: 12px;
}
.dashboard-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.dashboard-mini-metric {
  min-height: 110px;
  padding: 16px;
}
.dashboard-mini-metric b {
  font-size: clamp(28px, 2vw, 36px);
}
.countdown-card {
  min-height: 330px;
  display: grid;
  align-content: space-between;
  padding: 0;
  overflow: hidden;
}
.countdown-face {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 48px 20px 32px;
  text-align: center;
}
.countdown-face span {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(54px, 4vw, 82px);
  font-weight: 700;
  line-height: .92;
  letter-spacing: 0;
  color: var(--text);
}
.countdown-face small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.history-digest {
  min-height: 320px;
  padding: 0;
  overflow: hidden;
}
.history-digest-head {
  display: grid;
  grid-template-columns: auto minmax(92px, 1fr) auto;
  gap: 8px;
  align-items: center;
}
.history-symbol-filter {
  min-width: 0;
  height: 32px;
  padding: 0 28px 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.68);
  color: var(--text);
  font-size: 12px;
  font-weight: 620;
}
.history-digest ul {
  list-style: none;
  margin: 0;
  padding: 10px 12px 14px;
  display: grid;
  gap: 8px;
  max-height: clamp(360px, 46vh, 560px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
.history-digest li {
  display: grid;
  grid-template-columns: 66px 1fr auto;
  gap: 4px 8px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.60);
}
.history-digest li span,
.history-digest li small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}
.history-digest li b {
  font-size: 14.5px;
  font-weight: 600;
}
.history-digest li em {
  color: var(--blue);
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -.02em;
}
.history-digest li small {
  grid-column: 2 / 4;
}
.history-empty {
  display: block !important;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
  font-weight: 600;
}
.history-digest li[hidden],
.history-empty[hidden] {
  display: none !important;
}
.history-digest li.history-trade-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  align-items: stretch;
  padding: 12px 13px;
}
.history-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.history-row-top {
  display: grid;
  grid-template-columns: minmax(72px, auto) 1fr auto;
  gap: 8px;
  align-items: baseline;
}
.history-entry {
  padding: 9px 11px;
  border-radius: 12px;
  background: rgba(60,60,67,.055);
}
.history-entry span {
  color: var(--text) !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
}
.history-entry.gated-price-plan span {
  color: var(--muted) !important;
  font-size: 11px !important;
}
.history-side {
  font-size: 12px;
  font-weight: 700;
}
.history-side-long {
  color: var(--green);
}
.history-side-short {
  color: var(--red);
}
.history-side-watch {
  color: var(--muted);
}
.history-levels {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.history-levels span {
  flex: 1 1 auto;
  min-width: 0;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--muted) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
}
.history-result small {
  grid-column: auto !important;
}
.history-result mark {
  padding: 4px 7px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(60,60,67,.06);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}
.history-result-win {
  color: var(--green) !important;
  background: rgba(52,199,89,.12) !important;
  border-color: rgba(52,199,89,.22) !important;
}
.history-result-loss {
  color: var(--red) !important;
  background: rgba(255,59,48,.12) !important;
  border-color: rgba(255,59,48,.22) !important;
}
.history-result-open {
  color: var(--blue) !important;
  background: rgba(0,122,255,.12) !important;
  border-color: rgba(0,122,255,.22) !important;
}
.dashboard-terminal-shell + .boundary-note,
.dashboard-terminal-shell + .risk-reminder-strip {
  margin-top: 12px;
}
@media (max-width: 1500px) {
  .dashboard-terminal-shell {
    grid-template-columns: minmax(230px, 280px) minmax(0, 1fr) minmax(270px, 315px);
  }
  .dashboard-command-bar {
    grid-template-columns: 1fr;
  }
  .symbol-tabs {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .dashboard-command-bar .account-permission {
    justify-items: start;
  }
}
@media (max-width: 1100px) {
  .dashboard-terminal-shell {
    grid-template-columns: 1fr;
  }
  .rank-panel,
  .market-sentiment-card,
  .countdown-card,
  .history-digest {
    min-height: 0;
  }
  .dashboard-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .symbol-tabs,
  .dashboard-metric-grid {
    grid-template-columns: 1fr 1fr;
  }
  .dashboard-title-block h1 {
    font-size: 34px;
  }
  .dashboard-chart-panel .local-kline-frame {
    height: 360px;
  }
  .chart-signal-layer {
    inset: 58px 12px 12px 12px;
  }
  .chart-signal-popover {
    width: min(310px, calc(100vw - 48px));
    right: 8px;
  }
  .rank-card {
    min-height: 68px;
  }
  .profile-grid,
  .chat-compose {
    grid-template-columns: 1fr;
  }
  .profile-grid {
    grid-template-areas:
      "profile"
      "email"
      "avatar";
  }
  .email-alert-card {
    display: grid;
  }
  .email-alert-form {
    justify-items: stretch;
  }
  .avatar-choice-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .chat-list {
    max-height: 58vh;
    min-height: 360px;
    padding: 12px;
  }
  .chat-bubble time {
    width: 100%;
    margin-left: 0;
  }
}
@media (max-width: 1180px) {
  .community-market-shell,
  .community-market-head {
    grid-template-columns: 1fr;
  }
  .community-chat-panel {
    position: static;
    min-height: 0;
    max-height: none;
  }
  .community-chat-panel .chat-list {
    min-height: 420px;
    max-height: 58vh;
  }
}
@media (max-width: 760px) {
  .app-community-shell {
    width: min(100% - 20px, 1180px);
  }
  .community-market-head {
    padding: 18px;
    border-radius: 20px;
  }
  .community-market-head h1 {
    font-size: 38px;
  }
  .community-symbol-tabs {
    grid-auto-columns: minmax(140px, 1fr);
  }
  .community-chart-card .local-kline-frame {
    height: 360px;
  }
  .community-score-head,
  .community-status-line,
  .community-chat-head {
    display: grid;
    grid-template-columns: 1fr;
  }
  .community-score-grid {
    grid-template-columns: 1fr;
  }
  .community-status-line dl {
    flex-wrap: wrap;
  }
  .community-status-line dl div {
    min-width: min(100%, 132px);
  }
  .chat-rules-card ul {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }
  .chat-rules-card ul::-webkit-scrollbar {
    display: none;
  }
  .chat-rules-card li {
    flex: 0 0 auto;
  }
  .chat-system-top,
  .chat-system-card dl {
    grid-template-columns: 1fr;
  }
  .chat-system-top {
    display: grid;
  }
  .chat-system-card dl {
    display: grid;
  }
}
.theme-toggle {
  width: 38px;
  min-width: 38px;
  height: 38px;
  padding: 0 !important;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
}
.theme-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #090c13;
  --terminal: rgba(15,18,28,.86);
  --panel: rgba(18,22,34,.78);
  --panel-strong: rgba(24,29,43,.92);
  --text: #f5f7fb;
  --muted: #9aa3b2;
  --line: rgba(255,255,255,.11);
  --line-strong: rgba(255,255,255,.20);
  --blue: #61a8ff;
  --cyan: #66d9ef;
  --green: #38d996;
  --red: #ff6b7a;
  --ink: #f5f7fb;
  --shadow: 0 22px 58px rgba(0,0,0,.34);
  --shadow-soft: 0 10px 32px rgba(0,0,0,.26);
  --glass-line: rgba(255,255,255,.12);
  background: #090c13;
}
html[data-theme="dark"] body {
  color: var(--text);
  background:
    radial-gradient(circle at 18% 0%, rgba(80,145,255,.16) 0, rgba(80,145,255,0) 30%),
    radial-gradient(circle at 84% 8%, rgba(56,217,150,.10) 0, rgba(56,217,150,0) 25%),
    linear-gradient(180deg, #0c1018 0%, #090c13 48%, #070910 100%);
}
html[data-theme="dark"] body::before {
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), transparent 38%),
    radial-gradient(circle at 50% -20%, rgba(97,168,255,.12), transparent 42%);
}
html[data-theme="dark"] .topbar,
html[data-theme="dark"] .card,
html[data-theme="dark"] .metric,
html[data-theme="dark"] .dashboard-title-block,
html[data-theme="dark"] .account-permission,
html[data-theme="dark"] .symbol-tab,
html[data-theme="dark"] .rank-card,
html[data-theme="dark"] .history-digest li,
html[data-theme="dark"] .plan-card,
html[data-theme="dark"] .auth-card,
html[data-theme="dark"] .feature,
html[data-theme="dark"] .product-panel,
html[data-theme="dark"] .community-market-head,
html[data-theme="dark"] .community-score-head,
html[data-theme="dark"] .community-score-empty,
html[data-theme="dark"] .community-status-line,
html[data-theme="dark"] .community-chat-head,
html[data-theme="dark"] .chat-rules-card,
html[data-theme="dark"] .chat-system-card,
html[data-theme="dark"] .chat-list,
html[data-theme="dark"] .chat-compose {
  background: rgba(18,22,34,.74);
  border-color: var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 18px 50px rgba(0,0,0,.24);
}
html[data-theme="dark"] .chat-bubble,
html[data-theme="dark"] .avatar-choice,
html[data-theme="dark"] .chat-rules-card li,
html[data-theme="dark"] .chat-system-card dl div,
html[data-theme="dark"] .community-status-line dl div {
  background: rgba(25,30,43,.78);
  border-color: var(--line);
}
html[data-theme="dark"] .chat-message-system .chat-bubble {
  border-color: rgba(255,145,37,.28);
  background: linear-gradient(145deg, rgba(255,145,37,.12), rgba(25,30,43,.78));
}
html[data-theme="dark"] .chat-message-system.state-bad .chat-bubble,
html[data-theme="dark"] .chat-message-system.state-risk .chat-bubble {
  border-color: rgba(255,106,74,.28);
}
html[data-theme="dark"] .chat-message-system.state-good .chat-bubble {
  border-color: rgba(83,216,150,.30);
}
html[data-theme="dark"] .community-symbol-tab.active {
  background: rgba(97,168,255,.16);
  border-color: rgba(97,168,255,.38);
}
html[data-theme="dark"] .nav-links a,
html[data-theme="dark"] .nav-links button,
html[data-theme="dark"] .button,
html[data-theme="dark"] button {
  color: var(--text);
  background: rgba(25,30,43,.76);
  border-color: var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 10px 24px rgba(0,0,0,.22);
}
html[data-theme="dark"] .nav-links a:hover,
html[data-theme="dark"] .nav-links button:hover,
html[data-theme="dark"] .button:hover,
html[data-theme="dark"] button:hover,
html[data-theme="dark"] .symbol-tab:hover,
html[data-theme="dark"] .symbol-tab.active,
html[data-theme="dark"] .rank-card:hover {
  background: rgba(34,41,58,.92);
}
html[data-theme="dark"] .brand,
html[data-theme="dark"] .dashboard-title-block h1,
html[data-theme="dark"] .detail-header h2,
html[data-theme="dark"] .rank-card strong,
html[data-theme="dark"] .countdown-face span,
html[data-theme="dark"] .symbol-tab b {
  color: var(--text);
}
html[data-theme="dark"] .brand::before {
  background: #f5f7fb;
  box-shadow: 0 0 0 5px rgba(245,247,251,.08);
}
html[data-theme="dark"] .score-table th {
  background: rgba(8,11,18,.72);
  color: var(--muted);
}
html[data-theme="dark"] .score-table td,
html[data-theme="dark"] .score-board > .screen-top,
html[data-theme="dark"] .rank-panel .screen-top,
html[data-theme="dark"] .market-sentiment-card .screen-top,
html[data-theme="dark"] .history-digest .screen-top,
html[data-theme="dark"] .countdown-card .screen-top,
html[data-theme="dark"] .dashboard-chart-panel .screen-top,
html[data-theme="dark"] .detail-header {
  border-color: var(--line);
}
html[data-theme="dark"] .score-table tbody tr:hover {
  background: rgba(102,217,239,.06);
}
html[data-theme="dark"] .breakdown-bar {
  background: rgba(255,255,255,.09);
}
html[data-theme="dark"] .funding-panel {
  background: rgba(25,30,43,.68);
  border-color: var(--line);
}
html[data-theme="dark"] .history-symbol-filter {
  background: rgba(18,22,34,.72);
  border-color: var(--line);
  color: var(--text);
}
html[data-theme="dark"] .reasons-list li,
html[data-theme="dark"] .flags-list li,
html[data-theme="dark"] .strategy-note,
html[data-theme="dark"] .boundary-note {
  background: rgba(9,12,19,.58);
  border-color: var(--line);
}
html[data-theme="dark"] .risk-reminder-strip {
  background: var(--lz-card-2, rgba(255,255,255,.04));
  border-color: var(--lz-border, rgba(255,255,255,.12));
  color: var(--lz-muted, rgba(244,239,232,.62));
}
html[data-theme="dark"] .risk-reminder-strip span {
  color: var(--lz-faint, rgba(244,239,232,.46));
}
html[data-theme="dark"] .dashboard-chart-panel .local-kline-frame {
  background: #090d16;
}
html[data-theme="dark"] .local-kline-toolbar {
  background: rgba(17,24,39,.78);
  box-shadow: 0 8px 22px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.08);
}
html[data-theme="dark"] .local-kline-tooltip {
  background: rgba(15,23,42,.92);
  box-shadow: 0 18px 46px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.08);
}
html[data-theme="dark"] .local-kline-tooltip.is-chanlun-short {
  background: rgba(38,20,23,.94);
  border-color: rgba(255,59,48,.48);
}
html[data-theme="dark"] .local-tooltip-levels span {
  background: rgba(2,6,23,.42);
}
html[data-theme="dark"] .chart-signal-marker {
  background: rgba(13,30,25,.88);
  border-color: rgba(52,199,89,.42);
  box-shadow: 0 18px 46px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.08);
}
html[data-theme="dark"] .chart-signal-marker.signal-short {
  background: rgba(38,20,23,.88);
  border-color: rgba(255,59,48,.42);
}
html[data-theme="dark"] .chart-signal-marker b,
html[data-theme="dark"] .chart-signal-marker small {
  color: var(--text);
}
html[data-theme="dark"] .chart-signal-popover {
  background: rgba(13,30,25,.92);
  border-color: rgba(52,199,89,.42);
  box-shadow: 0 18px 46px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.08);
}
html[data-theme="dark"] .chart-signal-popover.signal-short {
  background: rgba(38,20,23,.92);
  border-color: rgba(255,59,48,.42);
}
html[data-theme="dark"] .chart-popover-close,
html[data-theme="dark"] .chart-popover-score span {
  background: rgba(9,12,19,.62);
  border-color: var(--line);
  color: var(--text);
}
html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea {
  color: var(--text);
  background: rgba(9,12,19,.62);
  border-color: var(--line);
}

/* Pixel hourglass countdown. */
.countdown-card {
  min-height: 330px;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  align-content: stretch;
  perspective: 900px;
}
.countdown-head b {
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 18px;
  letter-spacing: 0;
  line-height: 1;
}
.pixel-hourglass {
  position: relative;
  display: grid;
  place-items: center;
  gap: 2px;
  width: min(214px, 78%);
  margin: 18px auto 8px;
  padding: 8px 0;
  transform-style: preserve-3d;
  transform-origin: center;
}
.countdown-card.is-flipping .pixel-hourglass {
  animation: hourglassFlip .82s cubic-bezier(.22,.82,.22,1);
}
.hourglass-shell {
  position: relative;
  display: grid;
  gap: 3px;
  justify-items: center;
  padding: 7px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.28));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.88), 0 12px 28px rgba(0,122,255,.08);
}
.hourglass-shell::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(0,122,255,.20);
  transform: rotate(45deg) scale(.76);
  border-radius: 8px;
  pointer-events: none;
}
.hourglass-top {
  margin-bottom: -2px;
}
.hourglass-bottom {
  margin-top: -2px;
}
.hourglass-row {
  display: flex;
  justify-content: center;
  gap: 3px;
  min-height: 11px;
}
.hourglass-pixel {
  display: block;
  width: 11px;
  height: 11px;
  border-radius: 2px;
  background: rgba(0,122,255,.08);
  border: 1px solid rgba(0,122,255,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.40);
  transition: background-color .22s ease, box-shadow .22s ease, opacity .22s ease, transform .22s ease;
  opacity: .55;
}
.hourglass-pixel.is-lit {
  opacity: 1;
  background: linear-gradient(135deg, #4ea5ff, #31e8c0);
  border-color: rgba(0,122,255,.28);
  box-shadow: 0 0 10px rgba(0,122,255,.42), 0 0 20px rgba(49,232,192,.22);
}
.hourglass-neck {
  position: relative;
  width: 42px;
  height: 28px;
  display: grid;
  place-items: center;
}
.hourglass-neck::before {
  content: "";
  width: 34px;
  height: 8px;
  border-radius: 999px;
  background: rgba(60,60,67,.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.60);
}
.hourglass-neck i {
  position: absolute;
  top: -2px;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: #42d8ff;
  box-shadow: 0 0 10px rgba(66,216,255,.70);
  animation: sandDrop 1.2s linear infinite;
}
.hourglass-neck i:nth-child(2) { margin-left: -10px; animation-delay: .22s; opacity: .75; }
.hourglass-neck i:nth-child(3) { margin-left: 8px; animation-delay: .44s; opacity: .70; }
.hourglass-neck i:nth-child(4) { margin-left: -2px; animation-delay: .66s; opacity: .92; }
.countdown-meta {
  display: grid;
  justify-items: center;
  padding: 0 18px 12px;
}
.countdown-meta small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
html[data-theme="dark"] .hourglass-shell {
  background: linear-gradient(180deg, rgba(31,38,55,.86), rgba(16,20,30,.76));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 14px 30px rgba(0,0,0,.22);
}
html[data-theme="dark"] .hourglass-shell::before {
  border-color: rgba(97,168,255,.28);
}
html[data-theme="dark"] .hourglass-pixel {
  background: rgba(97,168,255,.08);
  border-color: rgba(255,255,255,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
html[data-theme="dark"] .hourglass-pixel.is-lit {
  background: linear-gradient(135deg, #5fa8ff, #34f0c8);
  box-shadow: 0 0 12px rgba(95,168,255,.52), 0 0 22px rgba(52,240,200,.24);
}
html[data-theme="dark"] .hourglass-neck::before {
  background: rgba(255,255,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
@keyframes sandDrop {
  0% { transform: translate(-50%, -7px) scale(.78); opacity: 0; }
  16% { opacity: 1; }
  100% { transform: translate(-50%, 25px) scale(.92); opacity: 0; }
}
@keyframes hourglassFlip {
  0% { transform: rotate(0deg) scale(1); }
  45% { transform: rotate(178deg) scale(.94); }
  100% { transform: rotate(360deg) scale(1); }
}

/* Current-symbol interaction and compact score detail. */
.symbol-tabs {
  grid-template-columns: repeat(auto-fit, minmax(82px, 1fr));
}
.symbol-tab {
  min-height: 58px;
  justify-items: start;
}
.symbol-tab b {
  font-size: 18px;
}
.symbol-tab span,
.symbol-tab small {
  display: none;
}
.score-detail-stack [hidden] {
  display: none !important;
}
.current-detail-grid {
  display: grid;
  grid-template-columns: minmax(280px, .96fr) minmax(340px, 1.04fr);
  gap: 16px;
}
.score-percent-card,
.strategy-judgement-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.58);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.86);
}
.score-percent-card h4,
.strategy-judgement-card h4 {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 660;
}
.percent-row {
  display: grid;
  grid-template-columns: minmax(90px, 1fr) auto;
  gap: 9px 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.percent-row:last-of-type {
  border-bottom: 0;
}
.percent-row span {
  display: block;
  color: var(--text);
  font-size: 14px;
  font-weight: 760;
}
.percent-row small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}
.percent-row b {
  min-width: 52px;
  padding: 4px 9px;
  border: 1px solid rgba(217,163,77,.22);
  border-radius: 999px;
  color: #f4d08a;
  background:
    radial-gradient(circle at 30% 0%, rgba(255,230,168,.16), transparent 58%),
    rgba(217,163,77,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  font-size: 15px;
  font-weight: 850;
  line-height: 1;
  text-align: right;
}
.percent-row i {
  position: relative;
  grid-column: 1 / 3;
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(217,163,77,.12);
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.09) 0 1px, transparent 1px 10%),
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(0,0,0,.10)),
    rgba(255,255,255,.055);
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,.06),
    inset 0 -1px 0 rgba(0,0,0,.22);
}
.percent-row i em {
  position: relative;
  display: block;
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(255,238,184,.96), rgba(229,169,67,.92) 58%, rgba(164,107,34,.96)),
    linear-gradient(180deg, rgba(255,255,255,.28), rgba(255,255,255,0));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.42),
    0 0 18px rgba(217,163,77,.22);
}
.percent-row i em::after {
  content: "";
  position: absolute;
  inset: 1px 0 1px auto;
  width: 18px;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.58));
}
.percent-row:nth-of-type(2) i em {
  background:
    linear-gradient(90deg, rgba(255,229,164,.96), rgba(220,150,45,.95) 60%, rgba(133,86,30,.96)),
    linear-gradient(180deg, rgba(255,255,255,.24), rgba(255,255,255,0));
}
.percent-row:nth-of-type(3) i em {
  background:
    linear-gradient(90deg, rgba(179,154,106,.70), rgba(116,96,66,.72)),
    linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,0));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16);
}
.strategy-state-line {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.strategy-state-line b {
  font-size: 18px;
}
.strategy-state-line em {
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(0,122,255,.10);
  color: var(--blue);
  font-style: normal;
  font-size: 12px;
  font-weight: 660;
}
.strategy-judgement-card p {
  margin: 0 0 16px;
  color: var(--text);
  line-height: 1.72;
}
.compact-flags {
  margin-bottom: 16px;
}
.rank-card.active,
.rank-card.active:hover {
  border-color: rgba(0,122,255,.36);
  background: rgba(0,122,255,.08);
}
html[data-theme="dark"] .score-percent-card,
html[data-theme="dark"] .strategy-judgement-card {
  background: rgba(18,22,34,.74);
  border-color: var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
html[data-theme="dark"] .percent-row i {
  border-color: rgba(217,163,77,.13);
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.075) 0 1px, transparent 1px 10%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(0,0,0,.14)),
    rgba(255,255,255,.052);
}
html[data-theme="dark"] .strategy-state-line em {
  background: rgba(97,168,255,.16);
}
html[data-theme="dark"] .rank-card.active,
html[data-theme="dark"] .rank-card.active:hover {
  background: rgba(97,168,255,.12);
}
@media (max-width: 900px) {
  .current-detail-grid {
    grid-template-columns: 1fr;
  }
}

/* Personal symbol strip and Tetris hourglass v2. */
.symbol-strip {
  position: relative;
  z-index: 20;
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.74);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.90), 0 12px 30px rgba(15,23,42,.05);
}
.mobile-symbol-select {
  display: none;
}
.symbol-strip .symbol-tabs {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 2px;
  scrollbar-width: thin;
}
.symbol-strip .symbol-tab {
  position: relative;
  display: grid;
  grid-template-columns: minmax(126px, 1fr) auto;
  align-items: stretch;
  min-width: 160px;
  min-height: 64px;
  padding: 0;
  overflow: hidden;
  border-radius: 17px;
}
.symbol-strip .asset-main {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-content: center;
  align-items: center;
  gap: 9px;
  min-width: 0;
  width: 100%;
  padding: 10px 10px 10px 11px;
  border: 0;
  border-radius: 0;
  color: var(--text);
  background: transparent;
  box-shadow: none;
}
.symbol-strip .asset-main:hover {
  transform: none;
}
.asset-icon {
  display: block;
  box-sizing: border-box;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  padding: 0;
  object-fit: cover;
  object-position: center;
  overflow: hidden;
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 999px;
  background: transparent;
  box-shadow: 0 6px 14px rgba(15,23,42,.10);
  clip-path: circle(50% at 50% 50%);
}
.asset-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}
.symbol-strip .asset-main b {
  color: var(--text);
  font-size: 15px;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.symbol-strip .asset-main small {
  display: block;
  max-width: 86px;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.asset-remove {
  align-self: start;
  width: 26px;
  height: 26px;
  margin: 7px 7px 0 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,.58);
  box-shadow: none;
  font-size: 16px;
  line-height: 1;
}
.asset-remove:hover {
  color: var(--text);
  background: rgba(255,59,48,.12);
  border-color: rgba(255,59,48,.28);
}
.symbol-add-picker {
  position: relative;
  z-index: 80;
  display: grid;
  flex: 0 0 clamp(148px, 15vw, 220px);
  align-items: center;
  min-height: 54px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: transparent;
  box-shadow: none;
}
.symbol-add-toggle {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(112,171,232,.26);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(21,50,88,.54), rgba(4,16,35,.46));
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 10px 28px rgba(0,10,28,.20);
  font-weight: 660;
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
}
.symbol-strip .symbol-add-picker .symbol-add-toggle {
  background: linear-gradient(180deg, rgba(21,50,88,.54), rgba(4,16,35,.46)) !important;
  color: var(--text) !important;
  border-color: rgba(112,171,232,.26) !important;
}
.symbol-add-menu {
  position: absolute;
  z-index: 3000;
  top: calc(100% + 8px);
  right: 0;
  width: min(320px, 78vw);
  max-height: 360px;
  padding: 10px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 20px 54px rgba(15,23,42,.16), inset 0 1px 0 rgba(255,255,255,.85);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-5px);
  transition: opacity .16s ease, transform .16s ease;
}
.symbol-add-picker.is-open .symbol-add-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.symbol-add-menu-head {
  padding: 5px 8px 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 660;
}
.symbol-choice {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 54px;
  padding: 8px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: var(--text);
  background: transparent;
  box-shadow: none;
  text-align: left;
}
.symbol-choice:hover {
  border-color: var(--line);
  background: rgba(0,122,255,.08);
  transform: none;
}
.symbol-choice span {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.symbol-choice b {
  font-size: 14px;
}
.symbol-choice small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}
.symbol-choice i {
  color: var(--blue);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}
.symbol-choice-empty {
  padding: 18px 10px;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
  font-weight: 600;
}
.global-symbol-search {
  position: relative;
  z-index: 4200;
  width: 100%;
  min-width: min(100%, 260px);
}
.global-symbol-search label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid rgba(112,171,232,.22);
  border-radius: 14px;
  background: rgba(255,255,255,.70);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72);
}
.global-symbol-search label > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.global-symbol-search input {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-weight: 660;
}
.global-symbol-search input:focus {
  box-shadow: none;
}
.global-symbol-results {
  position: absolute;
  top: calc(100% + 7px);
  left: 0;
  right: 0;
  z-index: 6200;
  max-height: 330px;
  overflow-y: auto;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 22px 58px rgba(15,23,42,.18), inset 0 1px 0 rgba(255,255,255,.86);
}
.global-symbol-search.is-busy label {
  opacity: .72;
}
.dashboard-command-bar .global-symbol-search {
  grid-column: 1 / -1;
  max-width: 680px;
}
.community-market-head .global-symbol-search {
  min-width: min(100%, 340px);
}
.radar-filter-stack .global-symbol-search {
  min-width: min(100%, 340px);
}
.app-radar-shell .radar-filter-stack,
.app-radar-shell .radar-filter-stack > * {
  max-width: 100%;
  min-width: 0;
}
html[data-theme="dark"] .global-symbol-search label {
  border-color: rgba(var(--ink-rgb,244,239,232),.12);
  background: rgba(var(--ink-rgb,244,239,232),.055);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.055);
}
html[data-theme="dark"] .global-symbol-results {
  border-color: rgba(var(--ink-rgb,244,239,232),.12);
  background: rgba(26,22,19,.98);
  box-shadow: 0 24px 64px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.06);
}
@media (max-width: 760px) {
  .global-symbol-search {
    min-width: 100%;
  }
  .global-symbol-results {
    max-height: 280px;
  }
}
.symbol-add-picker > small {
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: -19px;
  overflow: hidden;
  color: var(--red);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tetris-hourglass {
  position: relative;
  display: grid;
  place-items: center;
  gap: 4px;
  width: min(206px, 78%);
  margin: 18px auto 8px;
  transform-style: preserve-3d;
  transform-origin: center;
}
.countdown-card.is-flipping .tetris-hourglass {
  animation: hourglassFlip .82s cubic-bezier(.22,.82,.22,1);
}
.tetris-chamber {
  position: relative;
  display: grid;
  place-items: center;
  width: 142px;
  height: 118px;
  overflow: hidden;
  border: 1px solid rgba(0,122,255,.14);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.28));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85), 0 18px 38px rgba(0,122,255,.08);
}
.tetris-chamber::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(0,122,255,.20);
  border-radius: 8px;
  transform: rotate(45deg);
}
.tetris-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(8, 10px);
  grid-auto-rows: 10px;
  gap: 3px;
  transform: rotate(45deg);
}
.tetris-cell {
  width: 10px;
  height: 10px;
  border: 1px solid rgba(0,122,255,.15);
  border-radius: 2px;
  background: rgba(0,122,255,.06);
  opacity: .45;
  transition: opacity .28s ease, background-color .28s ease, box-shadow .28s ease, transform .28s ease;
}
.tetris-cell.is-lit {
  opacity: 1;
  background: linear-gradient(135deg, #57c7ff, #35efc7);
  box-shadow: 0 0 9px rgba(87,199,255,.54), 0 0 18px rgba(53,239,199,.22);
}
.tetris-cell.is-falling {
  transform: scale(1.18);
  background: linear-gradient(135deg, #7ae2ff, #45ffd6);
  box-shadow: 0 0 12px rgba(122,226,255,.74), 0 0 24px rgba(69,255,214,.34);
}
.tetris-stream {
  position: relative;
  width: 70px;
  height: 40px;
  margin: -2px 0;
}
.tetris-stream::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -4px;
  bottom: -4px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(87,199,255,0), rgba(87,199,255,.80), rgba(53,239,199,0));
  box-shadow: 0 0 16px rgba(87,199,255,.45);
  transform: translateX(-50%);
}
.falling-piece {
  position: absolute;
  top: -10px;
  left: 50%;
  display: grid;
  grid-template-columns: repeat(2, 8px);
  grid-auto-rows: 8px;
  gap: 2px;
  opacity: 0;
  filter: drop-shadow(0 0 9px rgba(72,218,255,.62));
  animation: tetrisFall 1.8s linear infinite;
}
.falling-piece i {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: linear-gradient(135deg, #56c8ff, #34f0c8);
}
.falling-piece.shape-i {
  grid-template-columns: repeat(4, 8px);
  grid-auto-rows: 8px;
}
.falling-piece.shape-l i:nth-child(4) {
  grid-column: 1;
}
.falling-piece.shape-t i:nth-child(4) {
  grid-column: 1 / span 2;
  justify-self: center;
}
.falling-piece.shape-s i:nth-child(1),
.falling-piece.shape-s i:nth-child(4) {
  opacity: .42;
}
.piece-1 { margin-left: -10px; animation-delay: 0s; }
.piece-2 { margin-left: 8px; animation-delay: .32s; }
.piece-3 { margin-left: -22px; animation-delay: .68s; }
.piece-4 { margin-left: 18px; animation-delay: 1.02s; }
.piece-5 { margin-left: -2px; animation-delay: 1.36s; }
@keyframes tetrisFall {
  0% { transform: translate(-50%, -18px) scale(.86) rotate(0deg); opacity: 0; }
  12% { opacity: 1; }
  78% { opacity: 1; }
  100% { transform: translate(-50%, 46px) scale(.92) rotate(90deg); opacity: 0; }
}
html[data-theme="dark"] .asset-remove {
  background: rgba(18,22,34,.74);
  border-color: var(--line);
}
html[data-theme="dark"] .symbol-strip {
  background: rgba(18,22,34,.74);
  border-color: var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 14px 32px rgba(0,0,0,.20);
}
html[data-theme="dark"] .symbol-add-picker {
  background: transparent;
  border-color: transparent;
}
html[data-theme="dark"] .symbol-add-toggle,
html[data-theme="dark"] .symbol-strip .symbol-add-picker .symbol-add-toggle {
  background: linear-gradient(180deg, rgba(21,50,88,.54), rgba(4,16,35,.46)) !important;
  color: var(--text) !important;
  border-color: rgba(112,171,232,.26) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 10px 28px rgba(0,10,28,.20);
}
html[data-theme="dark"] .symbol-add-menu {
  background: rgba(18,22,34,.96);
  border-color: var(--line);
  box-shadow: 0 24px 70px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.08);
}
html[data-theme="dark"] .symbol-choice:hover {
  background: rgba(97,168,255,.12);
}
html[data-theme="dark"] .alert-popover {
  background: rgba(18,22,34,.92);
  border-color: var(--line);
  box-shadow: 0 24px 70px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.08);
}
html[data-theme="dark"] .nav-alert a.alert-item {
  background: rgba(18,22,34,.72);
  border-color: var(--line);
}
html[data-theme="dark"] .nav-alert a.alert-action {
  background: #f5f7fb;
  color: #070a12;
}
html[data-theme="dark"] .alert-badge {
  border-color: rgba(18,22,34,.92);
}
html[data-theme="dark"] .tetris-chamber {
  background: linear-gradient(180deg, rgba(31,38,55,.86), rgba(16,20,30,.76));
  border-color: rgba(97,168,255,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 18px 40px rgba(0,0,0,.22);
}
html[data-theme="dark"] .tetris-chamber::before {
  border-color: rgba(97,168,255,.28);
}
html[data-theme="dark"] .tetris-cell {
  background: rgba(97,168,255,.08);
  border-color: rgba(255,255,255,.11);
}
html[data-theme="dark"] .tetris-cell.is-lit {
  background: linear-gradient(135deg, #58c5ff, #34f0c8);
  box-shadow: 0 0 10px rgba(88,197,255,.58), 0 0 22px rgba(52,240,200,.24);
}
html[data-theme="dark"] .tetris-cell.is-falling {
  background: linear-gradient(135deg, #7adeff, #45ffd6);
  box-shadow: 0 0 14px rgba(122,222,255,.72), 0 0 26px rgba(69,255,214,.30);
}
.topbar {
  gap: 12px;
  padding: 8px 10px;
  border-radius: 18px;
}
.brand {
  min-height: 34px;
  padding: 0 8px;
  font-size: 16px;
  white-space: nowrap;
}
.brand::before {
  width: 9px;
  height: 9px;
  box-shadow: 0 0 0 4px rgba(29,29,31,.06);
}
.nav-links {
  gap: 5px;
}
.nav-links > a,
.nav-links > button,
.nav-links > form > button {
  min-height: 34px;
  padding: 0 11px;
  border-color: transparent;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  font-size: 13px;
  font-weight: 660;
}
.nav-links > a:hover,
.nav-links > button:hover,
.nav-links > form > button:hover,
.nav-links > a.active {
  transform: none;
  background: rgba(0,122,255,.10);
  border-color: rgba(0,122,255,.16);
  color: var(--blue);
  box-shadow: none;
}
.nav-links > form {
  margin: 0;
}
.nav-links .alert-button {
  width: 36px;
  min-width: 36px;
  height: 34px;
}
.theme-toggle {
  width: 38px;
  min-width: 38px;
  height: 38px;
  padding: 0 !important;
}
html[data-theme="dark"] .topbar {
  background: rgba(18,22,34,.62);
  border-color: rgba(255,255,255,.10);
  box-shadow: 0 14px 40px rgba(0,0,0,.22);
}
html[data-theme="dark"] .nav-links > a,
html[data-theme="dark"] .nav-links > button,
html[data-theme="dark"] .nav-links > form > button {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
html[data-theme="dark"] .nav-links > a:hover,
html[data-theme="dark"] .nav-links > button:hover,
html[data-theme="dark"] .nav-links > form > button:hover,
html[data-theme="dark"] .nav-links > a.active {
  background: rgba(97,168,255,.14);
  border-color: rgba(97,168,255,.18);
  color: var(--blue);
}
.nav-links {
  flex-wrap: nowrap;
  gap: 10px;
  min-width: 0;
  margin-left: auto;
}
.nav-primary,
.nav-utility {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}
.nav-primary {
  padding: 3px;
  border: 1px solid rgba(112,171,232,.10);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
}
.admin-nav-primary {
  border-color: rgba(255,149,0,.22);
  background: rgba(255,149,0,.09);
}
.nav-utility {
  justify-content: flex-end;
}
.nav-avatar-link {
  display: inline-grid;
  width: 38px;
  min-width: 38px;
  height: 38px;
  place-items: center;
  padding: 0 !important;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.05)),
    rgba(5,17,35,.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 12px 28px rgba(0,8,24,.20);
}
.nav-avatar-link:hover,
.nav-avatar-link.active {
  border-color: rgba(64,224,208,.38);
  background:
    linear-gradient(180deg, rgba(64,224,208,.18), rgba(255,255,255,.06)),
    rgba(5,17,35,.78);
}
.nav-avatar-link .avatar-badge.nav-avatar {
  width: 28px !important;
  height: 28px !important;
  min-height: 28px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  font-size: 9px;
}
.nav-avatar-link .avatar-badge.avatar-image.nav-avatar {
  padding: 2px !important;
  background: rgba(255,255,255,.92);
}
.desktop-nav-profile {
  flex: 0 0 auto;
  margin-left: 2px;
}
.nav-profile-menu {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}
.nav-profile-menu .nav-avatar-link {
  cursor: default;
}
.nav-profile-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 120;
  display: grid;
  gap: 4px;
  min-width: 148px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  background: rgba(18,16,15,.92);
  box-shadow: 0 20px 54px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease;
}
.nav-profile-menu:hover .nav-profile-dropdown,
.nav-profile-menu:focus-within .nav-profile-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-profile-dropdown a,
.nav-profile-dropdown button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 10px;
  color: rgba(247,244,238,.86);
  background: transparent;
  box-shadow: none;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  text-decoration: none;
  white-space: nowrap;
}
.nav-profile-dropdown a:hover,
.nav-profile-dropdown button:hover,
.nav-profile-dropdown a:focus-visible,
.nav-profile-dropdown button:focus-visible {
  color: #fff;
  background: rgba(255,255,255,.08);
  outline: none;
  transform: none;
}
.nav-profile-dropdown form {
  margin: 0;
}
.nav-links a,
.nav-links button,
.nav-links > form > button,
.nav-links .nav-form button {
  min-height: 34px;
  padding: 0 11px;
  border-color: transparent;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  font-size: 13px;
  font-weight: 660;
}
.nav-links a:hover,
.nav-links button:hover,
.nav-links .nav-form button:hover,
.nav-links a.active {
  transform: none;
  background: rgba(0,122,255,.10);
  border-color: rgba(0,122,255,.16);
  color: var(--blue);
  box-shadow: none;
}
.nav-links .alert-button {
  width: 36px;
  min-width: 36px;
  height: 34px;
  padding: 0 !important;
}
html[data-theme="dark"] .nav-primary {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.08);
}
html[data-theme="dark"] .admin-nav-primary {
  border-color: rgba(255,149,0,.22);
  background: rgba(255,149,0,.08);
}
html[data-theme="dark"] .nav-links a,
html[data-theme="dark"] .nav-links button,
html[data-theme="dark"] .nav-links .nav-form button {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
html[data-theme="dark"] .nav-links a:hover,
html[data-theme="dark"] .nav-links button:hover,
html[data-theme="dark"] .nav-links .nav-form button:hover,
html[data-theme="dark"] .nav-links a.active {
  background: rgba(97,168,255,.14);
  border-color: rgba(97,168,255,.18);
  color: var(--blue);
}
@media (max-width: 760px) {
  .topbar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: stretch;
    margin-bottom: 14px;
    padding: 8px;
  }
  .brand {
    justify-self: start;
  }
  .nav-links {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
    margin-left: 0;
  }
  .nav-primary,
  .nav-utility {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .nav-primary::-webkit-scrollbar,
  .nav-utility::-webkit-scrollbar {
    display: none;
  }
  .nav-primary a,
  .nav-utility a,
  .nav-utility button,
  .nav-utility form {
    flex: 0 0 auto;
  }
  .nav-links a,
  .nav-links button,
  .nav-links .nav-form button {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }
  .alert-popover {
    position: fixed;
    top: 74px;
    left: 12px;
    right: 12px;
    width: auto;
    max-height: calc(100vh - 92px);
    overflow: auto;
  }
}
.topbar {
  z-index: 9000;
}
.nav-alert {
  z-index: 9100;
}
.nav-alert.is-open {
  z-index: 12000;
}
.alert-popover {
  z-index: 12000;
}
/* Connected hourglass: one conserved sand inventory from top -> neck -> bottom. */
.tetris-hourglass {
  --hourglass-core: rgba(255,224,162,.92);
  --hourglass-frame: rgba(160,190,205,.22);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: min(184px, 74%);
  height: 226px;
  margin: 10px auto 6px;
  padding: 16px;
  overflow: visible;
  transform-style: preserve-3d;
  transform-origin: center;
}
.tetris-hourglass::before {
  content: "";
  position: absolute;
  inset: 22px 34px;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 49%, rgba(255,214,140,.10) 50%, transparent 51%),
    linear-gradient(180deg, rgba(255,214,140,.04), transparent 40%, transparent 60%, rgba(255,214,140,.05));
  filter: none;
  opacity: .56;
}
.tetris-hourglass::after {
  content: none;
}
.tetris-frame {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}
.tetris-frame-rail {
  fill: rgba(255,224,162,.018);
  stroke: rgba(170,195,205,.34);
  stroke-width: 1.45;
  stroke-linejoin: round;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.tetris-frame-pulse {
  fill: none;
  stroke: rgba(255,214,140,.22);
  stroke-width: .85;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke-dasharray: none;
  opacity: .44;
  filter: none;
  vector-effect: non-scaling-stroke;
}
.tetris-frame-lip {
  fill: none;
  stroke: rgba(255,214,140,.42);
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.tetris-frame-node {
  display: none;
}
.countdown-card.is-flipping .tetris-hourglass {
  animation: hourglassFlip .82s cubic-bezier(.22,.82,.22,1);
}
.tetris-chamber {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 118px;
  height: 82px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.tetris-chamber::before {
  display: none;
}
.tetris-top {
  margin-bottom: -3px;
}
.tetris-bottom {
  margin-top: -3px;
}
.tetris-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(8, 8px);
  grid-auto-rows: 8px;
  gap: 4px;
  transform: none;
}
.tetris-cell {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,214,140,.055);
  opacity: .18;
  transition: opacity .18s ease, background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.tetris-cell:not(.is-shell) {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  opacity: 0;
}
.tetris-cell.is-shell:not(.is-lit) {
  background: rgba(255,214,140,.045);
}
.tetris-cell.is-lit {
  opacity: 1;
  background: linear-gradient(135deg, #ffe5ab, #d69a3a);
  box-shadow: 0 0 8px rgba(255,214,140,.34), 0 0 14px rgba(214,154,58,.18);
}
.tetris-cell.is-falling {
  opacity: 1;
  background: linear-gradient(135deg, #fff1c7, #e7ad4a);
  box-shadow: 0 0 12px rgba(255,224,162,.52), 0 0 20px rgba(231,173,74,.28);
  transform: scale(1.16);
}
.tetris-cell.is-locking {
  animation: tetrisCellLock .18s ease-out;
}
@keyframes tetrisCellLock {
  0% { transform: scale(1.38); filter: brightness(1.5); }
  100% { transform: scale(1); filter: brightness(1); }
}
.tetris-stream {
  position: relative;
  z-index: 3;
  width: 46px;
  height: 30px;
  margin: -5px 0;
  overflow: visible;
}
.tetris-stream::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -3px;
  bottom: -3px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,214,140,0), rgba(255,214,140,.82), rgba(255,214,140,0));
  box-shadow: 0 0 12px rgba(255,214,140,.25);
  transform: translateX(-50%);
}
.tetris-falling-grain {
  position: absolute;
  left: 50%;
  top: 0;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  opacity: 0;
  background: linear-gradient(135deg, #fff1c7, #e7ad4a);
  box-shadow: 0 0 10px rgba(255,224,162,.50), 0 0 18px rgba(231,173,74,.26);
  transform: translate3d(0, 0, 0) scale(.86);
  transition: none;
  will-change: transform, opacity;
}
.tetris-falling-grain.is-active {
  opacity: 1;
}
html[data-theme="dark"] .tetris-hourglass {
  --hourglass-core: rgba(255,224,162,.88);
  --hourglass-frame: rgba(170,195,205,.24);
}
html[data-theme="dark"] .tetris-hourglass::before {
  background:
    linear-gradient(90deg, transparent 49%, rgba(255,214,140,.10) 50%, transparent 51%),
    linear-gradient(180deg, rgba(255,214,140,.04), transparent 40%, transparent 60%, rgba(255,214,140,.05));
  opacity: .52;
}
html[data-theme="dark"] .tetris-chamber {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
html[data-theme="dark"] .tetris-cell {
  background: rgba(255,214,140,.05);
  border-color: transparent;
}
html[data-theme="dark"] .tetris-cell:not(.is-shell) {
  border-color: transparent;
  background: transparent;
}
html[data-theme="dark"] .tetris-cell.is-shell:not(.is-lit) {
  background: rgba(255,214,140,.045);
}
html[data-theme="dark"] .tetris-cell.is-lit {
  background: linear-gradient(135deg, #ffe5ab, #d69a3a);
  box-shadow: 0 0 8px rgba(255,214,140,.34), 0 0 14px rgba(214,154,58,.18);
}
html[data-theme="dark"] .tetris-cell.is-falling,
html[data-theme="dark"] .tetris-cell.is-locking {
  background: linear-gradient(135deg, #fff1c7, #e7ad4a);
  box-shadow: 0 0 12px rgba(255,224,162,.52), 0 0 20px rgba(231,173,74,.28);
}
.dashboard-command-bar {
  grid-template-columns: minmax(0, 1fr);
  position: relative;
  z-index: 50;
}
.dashboard-command-bar .symbol-strip {
  grid-column: 1 / -1;
}
.dashboard-command-bar .dashboard-title-block {
  grid-column: 1 / -1;
}
@media (max-width: 1100px) {
  .symbol-strip {
    flex-wrap: wrap;
  }
  .symbol-strip .symbol-tabs {
    flex-basis: 100%;
  }
  .symbol-add-picker {
    flex: 1 1 100%;
  }
  .dashboard-command-bar {
    grid-template-columns: 1fr;
  }
  .dashboard-command-bar .dashboard-title-block {
    grid-column: 1 / -1;
  }
  .symbol-add-picker {
    min-height: 54px;
  }
}

/* Homepage IP character refresh. */
.hero.hero-ip {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: clamp(20px, 5vw, 72px);
  align-items: center;
  min-height: min(720px, calc(100vh - 120px));
  padding: clamp(28px, 6vw, 74px) 0 clamp(24px, 5vw, 56px);
}
.hero-ip .hero-copy {
  padding: 0;
}
.hero-ip h1 {
  max-width: 860px;
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: .96;
}
.hero-ip p {
  max-width: 540px;
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.55;
}
.ip-panel {
  display: grid;
  justify-items: center;
}
.ip-card {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 420px);
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 18%, rgba(97,168,255,.16), transparent 34%),
    radial-gradient(circle at 46% 82%, rgba(56,217,150,.15), transparent 32%),
    rgba(255,255,255,.68);
  box-shadow: 0 30px 90px rgba(15,23,42,.10), inset 0 1px 0 rgba(255,255,255,.82);
}
.ip-card::before {
  content: "";
  position: absolute;
  inset: 34px;
  border-radius: 26px;
  background-image:
    linear-gradient(rgba(15,23,42,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,.05) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 26%, #000 74%, transparent 100%);
}
.ip-character {
  position: relative;
  z-index: 1;
  width: min(84%, 330px);
  height: auto;
  image-rendering: pixelated;
  shape-rendering: crispEdges;
  filter: drop-shadow(0 18px 26px rgba(15,23,42,.18));
}
.ip-chip {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  padding: 8px 12px;
  border: 1px solid rgba(97,168,255,.25);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.78);
}
.ip-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 8px 0 54px;
}
.ip-summary-grid div {
  min-height: 150px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.66);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.84), 0 16px 44px rgba(15,23,42,.05);
}
.ip-summary-grid span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 12px;
  background: rgba(0,122,255,.10);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}
.ip-summary-grid b {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 22px;
}
.ip-summary-grid small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}
.compact-feature {
  min-height: 172px;
}
html[data-theme="dark"] .ip-card,
html[data-theme="dark"] .ip-summary-grid div {
  background: rgba(18,22,34,.74);
  border-color: var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 18px 50px rgba(0,0,0,.24);
}
html[data-theme="dark"] .ip-card::before {
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
}
html[data-theme="dark"] .ip-chip {
  background: rgba(18,22,34,.82);
  border-color: rgba(97,168,255,.28);
}
@media (max-width: 1100px) {
  .hero.hero-ip,
  .ip-summary-grid {
    grid-template-columns: 1fr;
  }
  .ip-card {
    min-height: 430px;
  }
  .hero-ip h1 {
    font-size: 44px;
    line-height: 1.02;
  }
  .ip-summary-grid {
    margin-bottom: 34px;
  }
}

/* Reference-inspired public home page. */
.home-paper-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(360px, .68fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  min-height: calc(100vh - 120px);
  padding: clamp(74px, 10vw, 136px) 0 clamp(44px, 7vw, 80px);
}
.home-bagua {
  position: absolute;
  right: -240px;
  top: 48%;
  width: 580px;
  height: 580px;
  color: var(--text);
  opacity: .035;
  transform: translateY(-50%);
  pointer-events: none;
}
.home-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 34px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.home-meta i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(52,199,89,.10);
}
.home-meta em {
  width: 62px;
  height: 1px;
  background: var(--line);
}
.home-hero-left h1 {
  max-width: 780px;
  margin: 0 0 28px;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  font-size: clamp(48px, 6.5vw, 88px);
  font-weight: 350;
  line-height: 1.06;
  letter-spacing: 0;
}
.home-hero-left h1 span {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  font-style: italic;
  font-weight: 400;
}
.home-hero-left h1 mark {
  position: relative;
  color: var(--text);
  background: transparent;
  font-weight: 650;
}
.home-hero-left h1 mark::after {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: .06em;
  height: .18em;
  z-index: -1;
  background: rgba(255,145,37,.24);
}
.home-sub {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  font-size: 18px;
  line-height: 2;
}
.home-sub strong,
.home-sub b {
  color: var(--text);
  font-weight: 600;
}
.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.home-primary,
.home-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 0;
  text-decoration: none;
  font-weight: 700;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.home-primary {
  border: 1px solid var(--text);
  color: #fff;
  background: var(--text);
}
.home-ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: transparent;
}
.home-primary:hover,
.home-ghost:hover {
  transform: translateY(-1px);
}
.home-trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  max-width: 720px;
  margin-top: 54px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.home-trust-row b {
  display: block;
  color: var(--text);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1;
  letter-spacing: 0;
}
.home-trust-row small {
  margin-left: 3px;
  color: var(--muted);
  font-size: 13px;
}
.home-trust-row span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.home-live-card {
  position: sticky;
  top: 106px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255,255,255,.58);
  box-shadow: 0 28px 80px rgba(15,23,42,.08), inset 0 1px 0 rgba(255,255,255,.82);
  backdrop-filter: blur(18px);
}
.home-live-head,
.home-live-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}
.home-live-foot {
  border-top: 1px solid var(--line);
  border-bottom: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.home-live-foot a {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}
.home-live-head span {
  color: var(--text);
  font-weight: 700;
}
.home-live-head b {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: .08em;
}
.home-live-head b::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 0 6px rgba(52,199,89,.10);
}
.home-score-list {
  display: grid;
}
.home-score-item {
  display: grid;
  grid-template-columns: 44px 74px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 68px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line-soft, var(--line));
}
.home-score-item:last-child {
  border-bottom: 0;
}
.home-score-rank {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
}
.home-score-item b {
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
}
.home-score-item small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.home-score-item strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 24px;
  font-weight: 700;
}
.home-score-item strong.tier-high { color: var(--green); }
.home-score-item strong.tier-mid { color: var(--blue); }
.home-score-item strong.tier-low { color: var(--muted); }
.home-score-empty {
  padding: 28px 20px;
  color: var(--muted);
}
.home-about,
.home-method,
.home-posts,
.home-cta,
.home-alert-feature,
.home-email-subscribe {
  margin: clamp(56px, 8vw, 104px) 0;
}
.home-alert-feature {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255,255,255,.50);
  box-shadow: 0 22px 70px rgba(15,23,42,.06);
}
.home-alert-feature h2 {
  margin: 0 0 12px;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 420;
  line-height: 1.14;
  letter-spacing: 0;
}
.home-alert-feature p {
  max-width: 740px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}
.home-email-subscribe {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255,255,255,.50);
}
.home-email-subscribe h2 {
  margin: 0 0 12px;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 420;
  line-height: 1.14;
  letter-spacing: 0;
}
.home-email-subscribe p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}
.home-email-form {
  display: grid;
  grid-template-columns: minmax(240px, 360px) auto;
  gap: 10px;
  align-items: center;
}
.home-email-form input {
  min-height: 48px;
  border-radius: 0;
  background: rgba(255,255,255,.72);
}
.home-email-form button {
  border-radius: 0;
}
.home-about {
  display: grid;
  grid-template-columns: minmax(280px, .75fr) minmax(0, 1.25fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
}
.home-portrait {
  display: grid;
  min-height: 360px;
  place-items: center;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background:
    radial-gradient(circle at 50% 48%, rgba(255,145,37,.08), transparent 44%),
    rgba(255,255,255,.46);
}
.home-seal {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  margin-bottom: 30px;
  border-radius: 8px;
  color: #fff;
  background: #2e8bff;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.06;
}
.home-portrait p {
  margin: 0;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  font-size: 28px;
  font-weight: 650;
  line-height: 1.45;
  text-align: center;
}
.home-portrait small {
  margin-top: 16px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: .14em;
}
.home-about-copy h3,
.home-section-kicker {
  margin: 0 0 18px;
  color: #2e8bff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
}
.home-about-copy h2,
.home-method h2,
.home-posts h2,
.home-cta h2 {
  margin: 0 0 24px;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 360;
  line-height: 1.12;
  letter-spacing: 0;
}
.home-about-copy em,
.home-method em,
.home-posts em {
  color: #2e8bff;
  font-style: normal;
}
.home-about-copy p {
  max-width: 760px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}
.home-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}
.home-tags span {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255,255,255,.42);
  font-size: 12px;
  font-weight: 620;
}
.home-method-grid {
  display: grid;
  grid-template-columns: 1.42fr 1fr;
  gap: 18px;
}
.home-method-grid article {
  min-height: 330px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255,255,255,.50);
  transition: transform .18s ease, box-shadow .18s ease;
}
.home-method-grid article:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 70px rgba(15,23,42,.08);
}
.home-method-grid span {
  display: block;
  margin-bottom: 42px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
}
.home-method-grid b {
  display: block;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  font-size: 30px;
  font-weight: 700;
}
.home-method-grid small {
  display: block;
  margin: 6px 0 22px;
  color: #a8893d;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  font-size: 15px;
  font-style: italic;
}
.home-method-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.88;
}
.home-post-list {
  border-top: 1px solid var(--line);
}
.home-post-list div {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  min-height: 88px;
  border-bottom: 1px solid var(--line);
}
.home-post-list time {
  color: var(--muted);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  font-size: 24px;
}
.home-post-list b {
  color: var(--text);
  font-size: 17px;
  font-weight: 600;
}
.home-post-list span {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
}
.home-cta {
  display: grid;
  place-items: center;
  min-height: 420px;
  padding: 60px 24px;
  border: 1px solid var(--line);
  border-radius: 4px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,145,37,.09), transparent 40%),
    rgba(255,255,255,.42);
}
.home-cta p {
  max-width: 720px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}
html[data-theme="dark"] .home-paper-hero,
html[data-theme="dark"] .home-about,
html[data-theme="dark"] .home-method,
html[data-theme="dark"] .home-posts,
html[data-theme="dark"] .home-cta,
html[data-theme="dark"] .home-alert-feature,
html[data-theme="dark"] .home-email-subscribe {
  color-scheme: dark;
}
html[data-theme="dark"] .home-live-card,
html[data-theme="dark"] .home-portrait,
html[data-theme="dark"] .home-method-grid article,
html[data-theme="dark"] .home-cta,
html[data-theme="dark"] .home-alert-feature,
html[data-theme="dark"] .home-email-subscribe {
  background: rgba(18,22,34,.70);
  border-color: var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 18px 50px rgba(0,0,0,.22);
}
html[data-theme="dark"] .home-email-form input {
  background: rgba(25,30,43,.78);
}
html[data-theme="dark"] .home-tags span {
  background: rgba(18,22,34,.72);
}
@media (max-width: 1080px) {
  .home-paper-hero,
  .home-about,
  .home-method-grid {
    grid-template-columns: 1fr;
  }
  .home-alert-feature {
    display: grid;
  }
  .home-email-subscribe,
  .home-email-form {
    display: grid;
    grid-template-columns: 1fr;
  }
  .home-live-card {
    position: relative;
    top: auto;
  }
  .home-trust-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .home-paper-hero {
    padding-top: 46px;
  }
  .home-hero-left h1 {
    font-size: 42px;
  }
  .home-sub {
    font-size: 15px;
  }
  .home-trust-row,
  .home-post-list div,
  .home-score-item {
    grid-template-columns: 1fr;
  }
  .home-score-item {
    gap: 4px;
    padding: 14px 16px;
  }
}

/* Flagship Chanlun feature — primary selling point. */
.home-chan {
  position: relative;
  margin: clamp(64px, 9vw, 124px) 0;
  padding: clamp(28px, 4vw, 56px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background:
    radial-gradient(circle at 92% -10%, rgba(255,145,37,.10), transparent 44%),
    rgba(255,255,255,.58);
  box-shadow: 0 30px 90px rgba(15,23,42,.07), inset 0 1px 0 rgba(255,255,255,.78);
}
.home-chan::before {
  content: "壹";
  position: absolute;
  right: clamp(10px, 2.4vw, 34px);
  top: -18px;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  font-size: clamp(118px, 17vw, 230px);
  font-weight: 700;
  line-height: 1;
  color: rgba(255,145,37,.055);
  pointer-events: none;
}
.home-chan-head {
  position: relative;
  max-width: 780px;
}
.home-chan h2 {
  margin: 0 0 18px;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  font-size: clamp(32px, 4.6vw, 58px);
  font-weight: 360;
  line-height: 1.12;
  letter-spacing: 0;
}
.home-chan h2 em {
  color: #2e8bff;
  font-style: normal;
}
.home-chan-lead {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.95;
}
.home-chan-lead strong {
  color: var(--text);
  font-weight: 620;
}
.home-chan-body {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(264px, .72fr);
  gap: clamp(24px, 4vw, 46px);
  align-items: center;
  margin-top: clamp(28px, 4vw, 44px);
}
.home-chan-chart {
  margin: 0;
  padding: 18px 18px 14px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255,255,255,.5);
}
.home-chan-chart svg {
  display: block;
  width: 100%;
  height: auto;
}
.home-chan-chart figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: .04em;
  text-align: center;
}
.home-chan-chart .cl-grid line { stroke: var(--line); stroke-width: 1; }
.home-chan-chart .cl-area { fill: rgba(255,145,37,.07); stroke: none; }
.home-chan-chart .cl-zs {
  fill: rgba(255,145,37,.08);
  stroke: #2e8bff;
  stroke-width: 1.3;
  stroke-dasharray: 4 4;
}
.home-chan-chart .cl-trend {
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.3;
  stroke-dasharray: 5 6;
  opacity: .55;
}
.home-chan-chart .cl-price {
  fill: none;
  stroke: var(--text);
  stroke-width: 2.6;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.home-chan-chart text {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 600;
  fill: var(--muted);
}
.home-chan-chart .cl-buy circle { fill: #2e8bff; stroke: #fff; stroke-width: 2; }
.home-chan-chart .cl-buy text { fill: #2e8bff; }
.home-chan-chart .cl-zs-label { fill: #2e8bff; letter-spacing: .08em; }
.home-chan-chart .cl-note circle { fill: none; stroke: var(--muted); stroke-width: 1.4; }
.home-chan-chart .cl-note text { fill: var(--muted); font-style: italic; font-weight: 700; }
.home-chan-levels {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.home-chan-levels li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 3px solid #2e8bff;
  border-radius: 4px;
  background: rgba(255,255,255,.5);
}
.home-chan-levels span {
  color: #2e8bff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
}
.home-chan-levels b {
  display: block;
  color: var(--text);
  font-size: 16px;
  font-weight: 680;
}
.home-chan-levels small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.home-chan-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: clamp(28px, 4vw, 42px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.home-chan-stats b {
  display: block;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 600;
  line-height: 1;
}
.home-chan-stats b small {
  margin-left: 4px;
  color: var(--muted);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
}
.home-chan-stats span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.65;
}
/* Method grid — make Chanlun the dominant featured card. */
.home-method-intro {
  max-width: 720px;
  margin: -8px 0 28px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}
.home-method-grid .feature {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  border-color: rgba(255,145,37,.34);
  background:
    radial-gradient(circle at 100% 0%, rgba(255,145,37,.09), transparent 48%),
    rgba(255,255,255,.62);
}
.home-method-grid .feature p {
  flex: 1;
}
.home-method-weight {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.home-method-grid .home-method-weight b {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  font-size: 54px;
  font-weight: 700;
  line-height: 1;
  color: #2e8bff;
}
.home-method-weight span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 620;
  line-height: 1.4;
}
html[data-theme="dark"] .home-chan,
html[data-theme="dark"] .home-chan-chart,
html[data-theme="dark"] .home-chan-levels li {
  background: rgba(18,22,34,.70);
  border-color: var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 18px 50px rgba(0,0,0,.22);
}
html[data-theme="dark"] .home-chan-levels li {
  border-left-color: #66b2ff;
}
html[data-theme="dark"] .home-chan-levels span,
html[data-theme="dark"] .home-chan h2 em,
html[data-theme="dark"] .home-chan-chart .cl-buy text,
html[data-theme="dark"] .home-chan-chart .cl-zs-label,
html[data-theme="dark"] .home-method-grid .home-method-weight b {
  color: #66b2ff;
}
html[data-theme="dark"] .home-chan-chart .cl-zs,
html[data-theme="dark"] .home-chan-chart .cl-buy circle {
  stroke: #66b2ff;
}
html[data-theme="dark"] .home-method-grid .feature {
  border-color: rgba(102,178,255,.42);
  background: rgba(28,22,26,.74);
}
@media (max-width: 1080px) {
  .home-chan-body {
    grid-template-columns: 1fr;
  }
  .home-method-grid .feature {
    grid-row: auto;
  }
}
@media (max-width: 640px) {
  .home-chan-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .home-chan-levels li {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* Hybrid polish — atmospheric aura, glow & scarcity cues (KILLALABS-inspired, brand palette). */
.home-aura {
  position: absolute;
  inset: -8% -4%;
  z-index: 0;
  overflow: hidden;
  opacity: .9;
  pointer-events: none;
}
.home-aura i {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(72px);
  will-change: transform;
}
.home-aura .aura-1 {
  width: 460px; height: 460px; top: -130px; right: 3%;
  background: radial-gradient(circle, rgba(255,145,37,.16), transparent 68%);
  animation: auraFloatA 22s ease-in-out infinite;
}
.home-aura .aura-2 {
  width: 420px; height: 420px; bottom: -150px; left: -50px;
  background: radial-gradient(circle, rgba(168,137,61,.15), transparent 68%);
  animation: auraFloatB 27s ease-in-out infinite;
}
.home-aura .aura-3 {
  width: 360px; height: 360px; top: 28%; left: 42%;
  background: radial-gradient(circle, rgba(70,110,190,.10), transparent 68%);
  animation: auraFloatC 31s ease-in-out infinite;
}
.home-hero-left { position: relative; z-index: 2; }
.home-live-card { z-index: 2; }
.home-bagua svg { transform-origin: 50% 50%; animation: baguaSpin 90s linear infinite; }
@keyframes auraFloatA {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(-30px,40px) scale(1.12); }
  66% { transform: translate(24px,-26px) scale(.92); }
}
@keyframes auraFloatB {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(36px,-30px) scale(1.1); }
  66% { transform: translate(-28px,28px) scale(.94); }
}
@keyframes auraFloatC {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-22px,-24px) scale(1.08); }
}
@keyframes baguaSpin { to { transform: rotate(360deg); } }
html[data-theme="dark"] .home-aura { opacity: 1; }
html[data-theme="dark"] .home-aura .aura-1 { background: radial-gradient(circle, rgba(255,145,37,.32), transparent 66%); }
html[data-theme="dark"] .home-aura .aura-2 { background: radial-gradient(circle, rgba(190,130,50,.24), transparent 66%); }
html[data-theme="dark"] .home-aura .aura-3 { background: radial-gradient(circle, rgba(70,120,210,.22), transparent 66%); }

.home-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-top: 26px;
  padding: 8px 16px 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.58);
  box-shadow: 0 10px 30px rgba(15,23,42,.06);
  font-size: 13px;
}
.home-status-pill .status-dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--green);
  animation: statusPulse 2.2s ease-in-out infinite;
}
.home-status-pill .status-label {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.home-status-pill .status-value { color: #2e8bff; font-weight: 680; }
.home-status-pill .status-note {
  margin-left: 2px;
  padding-left: 12px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-weight: 600;
}
@keyframes statusPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(52,199,89,.16); }
  50% { box-shadow: 0 0 0 8px rgba(52,199,89,.04); }
}
html[data-theme="dark"] .home-status-pill { background: rgba(18,22,34,.70); }
html[data-theme="dark"] .home-status-pill .status-value { color: #66b2ff; }

/* CTA buttons — vermilion gradient + glow (also fixes dark-theme contrast). */
.home-primary {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, #2e8bff 0%, #66b2ff 100%);
  box-shadow: 0 12px 30px rgba(255,145,37,.26);
}
.home-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 46px rgba(255,145,37,.42);
}
.home-ghost { transition: transform .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease; }
.home-ghost:hover {
  border-color: #2e8bff;
  color: #2e8bff;
  box-shadow: 0 10px 28px rgba(255,145,37,.12);
}
html[data-theme="dark"] .home-ghost:hover { border-color: #66b2ff; color: #66b2ff; }

/* Card interactions — top accent bar reveal + glow lift. */
.home-method-grid article { position: relative; overflow: hidden; }
.home-method-grid article::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2e8bff, #66b2ff);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.home-method-grid article:hover::after { transform: scaleX(1); }
.home-method-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(255,145,37,.40);
  box-shadow: 0 26px 70px rgba(255,145,37,.13);
}
.home-chan-levels li { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.home-chan-levels li:hover {
  transform: translateX(4px);
  border-color: rgba(255,145,37,.55);
  box-shadow: 0 14px 36px rgba(255,145,37,.13);
}
.home-live-card { transition: box-shadow .3s ease; }
.home-live-card:hover {
  box-shadow: 0 34px 90px rgba(255,145,37,.12), inset 0 1px 0 rgba(255,255,255,.82);
}
html[data-theme="dark"] .home-method-grid article:hover { border-color: rgba(102,178,255,.45); }

@media (prefers-reduced-motion: reduce) {
  .home-aura i,
  .home-bagua svg,
  .home-status-pill .status-dot { animation: none !important; }
}

/* BTC minimal cockpit */
.minimal-cockpit {
  position: relative;
  min-height: calc(100vh - 126px);
  overflow: hidden;
  padding: 26px;
  border: 1px solid rgba(120, 166, 217, .16);
  border-radius: 36px;
  background:
    radial-gradient(circle at 12% 0%, rgba(84, 139, 205, .20), transparent 30%),
    radial-gradient(circle at 88% 14%, rgba(178, 112, 255, .18), transparent 34%),
    linear-gradient(145deg, rgba(5, 10, 22, .96), rgba(7, 18, 30, .92) 48%, rgba(3, 8, 15, .98));
  box-shadow: 0 28px 90px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(255, 255, 255, .07);
  color: #eef7ff;
}
body:has(.minimal-cockpit) {
  background:
    radial-gradient(circle at 12% -10%, rgba(84, 139, 205, .16), transparent 28%),
    linear-gradient(180deg, #030714 0%, #050b16 54%, #02050b 100%);
}
body:has(.minimal-cockpit)::before {
  opacity: .22;
}
body:has(.minimal-cockpit) .topbar {
  border-color: rgba(144, 183, 226, .16);
  background: rgba(8, 13, 25, .72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 18px 50px rgba(0,0,0,.28);
  backdrop-filter: blur(24px) saturate(126%);
}
body:has(.minimal-cockpit) .brand {
  color: #f2f8ff;
}
body:has(.minimal-cockpit) .brand span {
  background: #f2f8ff;
  box-shadow: 0 0 18px rgba(103,217,242,.45);
}
body:has(.minimal-cockpit) .nav-links a,
body:has(.minimal-cockpit) .nav-links button {
  color: rgba(238,247,255,.86);
  border-color: rgba(144, 183, 226, .16);
  background: rgba(255,255,255,.055);
}
body:has(.minimal-cockpit) .nav-links a:hover,
body:has(.minimal-cockpit) .nav-links button:hover {
  background: rgba(255,255,255,.10);
}
.app-minimal-shell .topbar {
  border-color: rgba(144, 183, 226, .16);
  background: rgba(8, 13, 25, .72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 18px 50px rgba(0,0,0,.28);
  backdrop-filter: blur(24px) saturate(126%);
}
.app-minimal-shell .brand {
  color: #f2f8ff;
}
.app-minimal-shell .brand span {
  background: #f2f8ff;
  box-shadow: 0 0 18px rgba(103,217,242,.45);
}
.app-minimal-shell .nav-links a,
.app-minimal-shell .nav-links button {
  color: rgba(238,247,255,.86);
  border-color: rgba(144, 183, 226, .16);
  background: rgba(255,255,255,.055);
}
.app-minimal-shell .nav-links a:hover,
.app-minimal-shell .nav-links button:hover {
  background: rgba(255,255,255,.10);
}
.minimal-cockpit::before {
  content: "";
  position: absolute;
  inset: 1px;
  pointer-events: none;
  border-radius: 34px;
  background:
    linear-gradient(120deg, rgba(255,255,255,.07), transparent 18%, transparent 76%, rgba(72,208,230,.10)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 84px),
    repeating-linear-gradient(180deg, rgba(255,255,255,.025) 0 1px, transparent 1px 84px);
  mask-image: linear-gradient(180deg, #000, rgba(0,0,0,.42));
}
.minimal-bg-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(120, 216, 235, .20) 0 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: .14;
}
.minimal-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 22px;
  align-items: stretch;
  margin-bottom: 24px;
}
.minimal-hero-copy,
.minimal-agent-card,
.minimal-score-card,
.minimal-status-panel,
.minimal-risk-line,
.minimal-shell {
  border: 1px solid rgba(144, 183, 226, .18);
  background: linear-gradient(145deg, rgba(13, 20, 34, .68), rgba(10, 18, 31, .42));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 22px 70px rgba(0,0,0,.22);
  backdrop-filter: blur(24px) saturate(128%);
}
.minimal-hero-copy {
  min-height: 260px;
  padding: 36px;
  border-radius: 30px;
}
.minimal-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #67d9f2;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.minimal-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #4df2c8;
  box-shadow: 0 0 18px rgba(77, 242, 200, .9);
}
.minimal-hero h1 {
  max-width: 760px;
  margin: 18px 0 12px;
  color: #f6fbff;
  font-size: clamp(42px, 7vw, 82px);
  line-height: .92;
  letter-spacing: 0;
}
.minimal-hero p {
  max-width: 620px;
  margin: 0;
  color: rgba(226, 236, 248, .72);
  font-size: 17px;
  line-height: 1.8;
}
.minimal-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.minimal-meta-row span {
  padding: 8px 12px;
  border: 1px solid rgba(146, 186, 224, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .045);
  color: rgba(232, 242, 255, .74);
  font-size: 12px;
  font-weight: 600;
}
.minimal-agent-card {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 22px;
  border-radius: 30px;
  text-align: center;
}
.minimal-agent-glow {
  position: absolute;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(104, 218, 242, .24), transparent 68%);
  filter: blur(8px);
}
.minimal-agent {
  position: relative;
  width: 150px;
  height: 176px;
  image-rendering: pixelated;
}
.minimal-agent .p {
  position: absolute;
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  box-shadow: 0 0 18px rgba(98, 169, 255, .18);
}
.p-hair { background: #111827; }
.p-face { background: #f2b59c; }
.p-eye { background: #ecf7ff; }
.p-accent { background: #57e5d0; }
.p-suit { background: #182236; }
.p-core { background: linear-gradient(135deg, #62a9ff, #34f0c8); }
.p1 { left: 34px; top: 14px; width: 72px !important; }
.p2 { left: 22px; top: 32px; width: 98px !important; }
.p3 { left: 38px; top: 50px; width: 84px !important; }
.p4 { left: 42px; top: 68px; width: 76px !important; height: 54px !important; }
.p5 { left: 28px; top: 86px; }
.p6 { left: 56px; top: 84px; width: 12px !important; height: 12px !important; background: #0b1020; }
.p7 { left: 96px; top: 84px; width: 12px !important; height: 12px !important; background: #0b1020; }
.p8 { left: 74px; top: 132px; width: 30px !important; }
.p9 { left: 40px; top: 122px; width: 86px !important; height: 42px !important; }
.p10 { left: 22px; top: 140px; width: 126px !important; height: 22px !important; }
.p11 { left: 72px; top: 126px; width: 22px !important; height: 52px !important; }
.minimal-agent-card b {
  position: relative;
  margin-top: 8px;
  color: #f4f8ff;
  font-size: 13px;
  letter-spacing: .12em;
}
.minimal-agent-card small {
  position: relative;
  margin-top: 4px;
  color: rgba(224, 236, 248, .58);
  font-size: 12px;
}
.minimal-score-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.minimal-score-card {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  padding: 24px;
  border-radius: 30px;
}
.minimal-score-card::before {
  content: "";
  position: absolute;
  inset: auto 24px 24px 24px;
  height: 5px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, #54a7ff calc(var(--score) * 1%), rgba(255,255,255,.10) 0);
  box-shadow: 0 0 24px rgba(84, 167, 255, .18);
}
.minimal-score-card::after {
  content: "";
  position: absolute;
  right: -42px;
  top: -42px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: conic-gradient(from 180deg, rgba(84,167,255,.0), rgba(84,167,255,.28), rgba(80,242,199,.24), rgba(255,255,255,.02));
  opacity: .72;
  filter: blur(.2px);
}
.minimal-score-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 32px;
}
.minimal-score-top span {
  color: rgba(225, 238, 252, .54);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
}
.minimal-grade {
  display: inline-flex;
  min-width: 42px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: #eaf6ff;
  font-size: 18px;
  font-weight: 700;
}
.minimal-grade.rank-s { color: #4df2c8; border-color: rgba(77,242,200,.36); background: rgba(77,242,200,.10); }
.minimal-grade.rank-a { color: #72b8ff; border-color: rgba(114,184,255,.34); background: rgba(114,184,255,.10); }
.minimal-grade.rank-b { color: #d4c86a; border-color: rgba(212,200,106,.32); background: rgba(212,200,106,.10); }
.minimal-grade.rank-c { color: #d69c71; border-color: rgba(214,156,113,.30); background: rgba(214,156,113,.10); }
.minimal-grade.rank-d { color: #e87482; border-color: rgba(232,116,130,.34); background: rgba(232,116,130,.10); }
.minimal-grade.rank-empty { color: rgba(230,238,248,.54); }
.minimal-score-main {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 20px;
}
.minimal-score-main strong {
  color: #f7fbff;
  font-size: clamp(54px, 7vw, 92px);
  line-height: .86;
  letter-spacing: 0;
}
.minimal-score-main small {
  color: rgba(230,238,248,.45);
  font-size: 15px;
  font-weight: 700;
}
.minimal-score-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
  color: rgba(244,249,255,.92);
  font-size: 24px;
}
.minimal-score-card p,
.minimal-score-card em {
  position: relative;
  z-index: 1;
  display: block;
  margin: 0;
  color: rgba(224,236,248,.62);
  font-size: 13px;
  line-height: 1.65;
  font-style: normal;
}
.minimal-score-card em {
  margin-top: 14px;
  color: rgba(224,236,248,.46);
}
.minimal-status-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: center;
  margin-top: 16px;
  padding: 24px;
  border-radius: 30px;
}
.minimal-status-panel h2 {
  margin: 8px 0 0;
  color: #f7fbff;
  font-size: 54px;
  line-height: 1;
}
.minimal-status-panel h2 small {
  color: rgba(235,242,250,.44);
  font-size: 15px;
}
.minimal-status-copy b {
  display: inline-flex;
  margin-bottom: 8px;
  color: #4df2c8;
  font-size: 20px;
}
.minimal-status-copy p {
  margin: 0;
  color: rgba(226,238,250,.66);
  line-height: 1.72;
}
.minimal-status-panel dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}
.minimal-status-panel dl div {
  padding: 14px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  background: rgba(255,255,255,.04);
}
.minimal-status-panel dt {
  color: rgba(226,238,250,.44);
  font-size: 12px;
  font-weight: 600;
}
.minimal-status-panel dd {
  margin: 6px 0 0;
  color: rgba(247,251,255,.92);
  font-weight: 700;
  overflow-wrap: anywhere;
}
.minimal-risk-line,
.minimal-shell {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  padding: 16px 20px;
  border-radius: 24px;
  color: rgba(226,238,250,.60);
  font-size: 13px;
}
.minimal-risk-line a,
.minimal-back {
  color: #7fd9ff;
  font-weight: 700;
}
.minimal-empty {
  display: grid;
  place-items: center;
}
.minimal-shell {
  width: min(720px, 100%);
  padding: 36px;
}
.minimal-shell h1 {
  margin: 14px 0 10px;
  font-size: clamp(38px, 7vw, 72px);
}
.minimal-shell p {
  color: rgba(226,238,250,.64);
  line-height: 1.8;
}
@media (max-width: 1180px) {
  .minimal-hero,
  .minimal-status-panel {
    grid-template-columns: 1fr;
  }
  .minimal-agent-card {
    min-height: 240px;
  }
  .minimal-score-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .minimal-cockpit {
    padding: 14px;
    border-radius: 24px;
  }
  .minimal-hero-copy,
  .minimal-score-card,
  .minimal-status-panel {
    padding: 20px;
    border-radius: 22px;
  }
  .minimal-hero h1 {
    font-size: 40px;
  }
  .minimal-score-main strong {
    font-size: 62px;
  }
  .minimal-status-panel dl {
    grid-template-columns: 1fr;
  }
}

/* 2026 member-site visual refresh: dark lab, GSAP-ready surfaces, mobile first fixes. */
body:has(.app-home-shell),
body:has(.app-dashboard-shell),
body:has(.app-member-shell) {
  color: #f7f4ef;
  background:
    linear-gradient(180deg, rgba(255,61,94,.10), transparent 18%),
    linear-gradient(115deg, rgba(11,13,24,1) 0%, rgba(4,5,10,1) 44%, rgba(13,9,16,1) 100%);
}
body:has(.app-home-shell)::before,
body:has(.app-dashboard-shell)::before,
body:has(.app-member-shell)::before {
  opacity: .42;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 4px),
    linear-gradient(90deg, rgba(64,224,208,.08), transparent 22%, rgba(255,76,119,.10) 74%, transparent);
  mix-blend-mode: screen;
}
.app-home-shell,
.app-dashboard-shell,
.app-member-shell {
  width: min(1320px, calc(100% - 44px));
  color: #f7f4ef;
}
.app-dashboard-shell {
  width: min(1500px, calc(100% - 44px));
}
.app-home-shell .topbar,
.app-dashboard-shell .topbar,
.app-member-shell .topbar {
  border-color: rgba(255,255,255,.10);
  background: rgba(7,8,13,.76);
  box-shadow: 0 20px 70px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.08);
}
.app-home-shell .brand,
.app-dashboard-shell .brand,
.app-member-shell .brand {
  color: #fffaf0;
}
.app-home-shell .brand::before,
.app-dashboard-shell .brand::before,
.app-member-shell .brand::before {
  background: linear-gradient(135deg, #ff9125, #ff9125 60%, #ff8a3d);
  box-shadow: 0 0 0 5px rgba(255,61,94,.10), 0 0 28px rgba(64,224,208,.22);
}
.app-home-shell .nav-links a,
.app-home-shell .nav-links button,
.app-dashboard-shell .nav-links a,
.app-dashboard-shell .nav-links button,
.app-member-shell .nav-links a,
.app-member-shell .nav-links button {
  color: rgba(255,250,240,.88);
  border-color: rgba(255,255,255,.10);
  background: rgba(255,255,255,.055);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.app-home-shell .nav-links a.active,
.app-dashboard-shell .nav-links a.active,
.app-member-shell .nav-links a.active {
  color: #041016;
  border-color: transparent;
  background: linear-gradient(135deg, #ff9125, #f7f4ef);
}
.app-home-shell .nav-cta,
.app-dashboard-shell .nav-cta,
.app-member-shell .nav-cta {
  color: #fff !important;
  background: linear-gradient(135deg, #ff9125 0%, #ff6b3d 100%) !important;
  border-color: transparent !important;
  box-shadow: 0 16px 40px rgba(255,61,94,.26) !important;
}

.quote-splash {
  background:
    linear-gradient(180deg, rgba(4,5,10,.96), rgba(0,0,0,.98)),
    repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 1px, transparent 1px 4px);
}
.quote-splash-inner {
  max-width: min(820px, calc(100vw - 44px));
}
.quote-splash p {
  font-size: clamp(24px, 4vw, 48px);
  letter-spacing: 0;
}
.app-home-shell .home-paper-hero {
  isolation: isolate;
  overflow: hidden;
  min-height: min(840px, calc(100vh - 118px));
  padding: clamp(54px, 8vw, 112px) clamp(2px, 1vw, 14px) clamp(42px, 6vw, 80px);
}
.app-home-shell .home-paper-hero::before {
  content: "";
  position: absolute;
  inset: 24px -16px auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(64,224,208,.44), rgba(255,61,94,.42), transparent);
}
.app-home-shell .home-paper-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 80%);
}
.app-home-shell .home-aura i {
  display: none;
}
.app-home-shell .home-bagua {
  right: -110px;
  width: min(52vw, 640px);
  height: min(52vw, 640px);
  color: rgba(255,255,255,.72);
  opacity: .15;
}
.app-home-shell .home-meta,
.app-home-shell .home-section-kicker,
.app-home-shell .eyebrow {
  color: #ff9125;
  letter-spacing: .14em;
}
.app-home-shell .home-hero-left h1 {
  max-width: 900px;
  color: #fffaf0;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  font-size: clamp(52px, 7vw, 112px);
  font-weight: 700;
  line-height: .92;
  text-transform: none;
  text-wrap: balance;
}
.app-home-shell .home-hero-left h1 span {
  color: #ff9125;
  font-family: inherit;
  font-style: normal;
}
.app-home-shell .home-hero-left h1 mark {
  color: #fffaf0;
}
.app-home-shell .home-hero-left h1 mark::after {
  left: -8px;
  right: -8px;
  bottom: .02em;
  height: .2em;
  background: linear-gradient(90deg, rgba(255,36,92,.84), rgba(255,107,61,.74));
}
.app-home-shell .home-sub {
  max-width: 720px;
  color: rgba(255,250,240,.68);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  font-size: clamp(16px, 1.6vw, 21px);
  line-height: 1.9;
}
.app-home-shell .home-sub strong,
.app-home-shell .home-sub b {
  color: #fffaf0;
}
.app-home-shell .home-status-pill {
  color: rgba(255,250,240,.82);
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.075);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 18px 48px rgba(0,0,0,.22);
}
.app-home-shell .home-status-pill .status-value {
  color: #ff5f7d;
}
.app-home-shell .home-primary {
  min-height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff9125 0%, #ff6b3d 100%);
  box-shadow: 0 18px 46px rgba(255,61,94,.30);
}
.app-home-shell .home-ghost {
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  color: rgba(255,250,240,.88);
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
}
.app-home-shell .home-trust-row {
  border-top-color: rgba(255,255,255,.12);
}
.app-home-shell .home-trust-row b,
.app-home-shell .home-score-item b,
.app-home-shell .home-live-head span,
.app-home-shell .home-live-foot a {
  color: #fffaf0;
}
.app-home-shell .home-trust-row span,
.app-home-shell .home-trust-row small,
.app-home-shell .home-score-item small,
.app-home-shell .home-live-foot,
.app-home-shell .home-about-copy p,
.app-home-shell .home-chan-lead,
.app-home-shell .home-method-grid p,
.app-home-shell .home-alert-feature p,
.app-home-shell .home-email-subscribe p,
.app-home-shell .home-cta p {
  color: rgba(255,250,240,.62);
}
.app-home-shell .home-live-card,
.app-home-shell .home-chan,
.app-home-shell .home-alert-feature,
.app-home-shell .home-email-subscribe,
.app-home-shell .home-portrait,
.app-home-shell .home-method-grid article,
.app-home-shell .home-cta {
  color: #fffaf0;
  border-color: rgba(255,255,255,.11);
  background:
    linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.045)),
    rgba(7,8,13,.70);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09), 0 24px 80px rgba(0,0,0,.30);
  backdrop-filter: blur(22px) saturate(140%);
}
.app-home-shell .home-live-head,
.app-home-shell .home-live-foot,
.app-home-shell .home-score-item,
.app-home-shell .home-post-list,
.app-home-shell .home-post-list div {
  border-color: rgba(255,255,255,.10);
}
.app-home-shell .home-score-item strong.tier-high,
.app-home-shell .home-live-head b {
  color: #ff9125;
}
.app-home-shell .home-score-item strong.tier-mid {
  color: #ff8a3d;
}
.app-home-shell .home-about-copy h2,
.app-home-shell .home-method h2,
.app-home-shell .home-posts h2,
.app-home-shell .home-cta h2,
.app-home-shell .home-alert-feature h2,
.app-home-shell .home-email-subscribe h2,
.app-home-shell .home-chan h2 {
  color: #fffaf0;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  font-weight: 700;
}
.app-home-shell .home-about-copy em,
.app-home-shell .home-method em,
.app-home-shell .home-posts em,
.app-home-shell .home-chan h2 em {
  color: #ff5f7d;
}
.app-home-shell .home-method-grid .feature {
  border-color: rgba(255,61,94,.36);
}
.app-home-shell .home-email-form input {
  color: #fffaf0;
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.07);
}

@media (min-width: 1241px) {
  .app-home-shell {
    width: min(1240px, calc(100% - 72px));
  }
  .app-home-shell .home-paper-hero {
    grid-template-columns: minmax(0, 720px) minmax(360px, 420px);
    justify-content: space-between;
    gap: clamp(32px, 4vw, 56px);
    min-height: min(780px, calc(100vh - 118px));
    padding-left: clamp(16px, 2vw, 28px);
    padding-right: clamp(16px, 2vw, 28px);
  }
  .app-home-shell .home-hero-left h1 {
    max-width: 760px;
    font-size: clamp(58px, 6.1vw, 96px);
    line-height: .94;
  }
  .app-home-shell .home-sub,
  .app-home-shell .home-actions,
  .app-home-shell .home-trust-row {
    max-width: 650px;
  }
  .app-home-shell .home-live-card {
    width: min(100%, 420px);
    justify-self: end;
  }
  .app-home-shell .home-bagua {
    right: -52px;
    width: min(46vw, 560px);
    height: min(46vw, 560px);
  }
}

@media (min-width: 861px) and (max-width: 1240px) {
  .app-home-shell .home-paper-hero {
    grid-template-columns: 1fr;
    max-width: 920px;
    margin-inline: auto;
  }
  .app-home-shell .home-live-card {
    position: relative;
    top: auto;
    width: 100%;
  }
}

.app-dashboard-shell .page-head,
.app-dashboard-shell .dashboard-command-bar,
.app-dashboard-shell .dashboard-chart-panel,
.app-dashboard-shell .market-card,
.app-dashboard-shell .analysis-panel,
.app-dashboard-shell .metric,
.app-dashboard-shell .card,
.app-dashboard-shell .preview-lock,
.app-dashboard-shell .rank-card,
.app-dashboard-shell .market-sentiment-card,
.app-dashboard-shell .history-digest,
.app-dashboard-shell .scan-countdown-card,
.app-dashboard-shell .detail-panel {
  color: #fffaf0;
  border-color: rgba(255,255,255,.10);
  background:
    linear-gradient(180deg, rgba(255,255,255,.085), rgba(255,255,255,.045)),
    rgba(7,8,13,.74);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 18px 60px rgba(0,0,0,.26);
}
.app-dashboard-shell .page-head h1,
.app-dashboard-shell .dashboard-title-block h1,
.app-dashboard-shell .card h2,
.app-dashboard-shell .card h3,
.app-dashboard-shell .metric b,
.app-dashboard-shell .detail-score b,
.app-dashboard-shell .rank-card > b,
.app-dashboard-shell .rank-card strong {
  color: #fffaf0;
  word-break: keep-all;
  overflow-wrap: normal;
}
.app-dashboard-shell .muted,
.app-dashboard-shell small,
.app-dashboard-shell .metric span,
.app-dashboard-shell .screen-top,
.app-dashboard-shell .screen-top span,
.app-dashboard-shell .rank-card small,
.app-dashboard-shell .rank-card em,
.app-dashboard-shell .analysis-list small,
.app-dashboard-shell .detail-header small,
.app-dashboard-shell .history-digest small {
  color: rgba(255,250,240,.58);
}
.app-dashboard-shell .eyebrow,
.app-dashboard-shell .dashboard-title-block .eyebrow {
  color: #ff9125;
  letter-spacing: .14em;
}
.app-dashboard-shell .dashboard-terminal-shell {
  gap: 16px;
}
.app-dashboard-shell .dashboard-command-bar {
  padding: 18px;
  border-radius: 28px;
}
.app-dashboard-shell .dashboard-chart-panel,
.app-dashboard-shell .locked-preview .blur-target {
  border-radius: 28px;
}
.app-dashboard-shell .symbol-tab {
  color: #fffaf0;
  border-color: rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
}
.app-dashboard-shell .symbol-tab:hover,
.app-dashboard-shell .symbol-tab.active {
  color: #041016;
  border-color: transparent;
  background: linear-gradient(135deg, rgba(64,224,208,.96), rgba(255,250,240,.94));
}
.app-dashboard-shell .symbol-tab.active span,
.app-dashboard-shell .symbol-tab:hover span,
.app-dashboard-shell .symbol-tab.active b,
.app-dashboard-shell .symbol-tab:hover b {
  color: #041016;
}
.app-dashboard-shell .local-chart-shell,
.app-dashboard-shell .chart-preview {
  border-color: rgba(255,255,255,.10);
  background:
    linear-gradient(to right, rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px),
    rgba(4,5,10,.54);
}
.app-dashboard-shell .rank-card {
  border-radius: 20px;
}
.app-dashboard-shell .rank-card.active,
.app-dashboard-shell .rank-card:hover {
  border-color: rgba(88,197,255,.56);
  transform: translateY(-2px);
  background:
    linear-gradient(180deg, rgba(88,197,255,.14), rgba(52,240,200,.045)),
    rgba(7,8,13,.74);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 0 0 1px rgba(88,197,255,.16), 0 24px 70px rgba(37,99,235,.18);
}
.app-dashboard-shell .dashboard-mini-metric b.good,
.app-dashboard-shell .tier-high .score-cell b,
.app-dashboard-shell .detail-score b.tier-high {
  color: #ff9125;
}
.app-dashboard-shell .detail-score b.tier-mid,
.app-dashboard-shell .tier-mid .score-cell b {
  color: #ff8a3d;
}
.app-dashboard-shell .preview-lock {
  background:
    linear-gradient(180deg, rgba(12,14,22,.92), rgba(5,6,12,.92)),
    rgba(5,6,12,.92);
}
.app-dashboard-shell .locked-preview .blur-target {
  opacity: .34;
  filter: blur(7px) saturate(.78);
}
.app-dashboard-shell input,
.app-dashboard-shell textarea,
.app-dashboard-shell select {
  color: #fffaf0;
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.07);
}
.app-dashboard-shell .risk-reminder-strip {
  color: var(--lz-muted, rgba(255,250,240,.76));
  border-color: var(--lz-border, rgba(255,255,255,.12));
  background: var(--lz-card-2, rgba(255,255,255,.04));
}
@media (min-width: 1501px) {
  .app-dashboard-shell {
    width: min(2040px, calc(100% - 64px));
  }
  .app-dashboard-shell .dashboard-terminal-shell {
    grid-template-columns: minmax(320px, 360px) minmax(0, 1fr) minmax(360px, 430px);
    gap: 20px;
  }
  .app-dashboard-shell .dashboard-left-rail,
  .app-dashboard-shell .dashboard-right-rail {
    gap: 16px;
  }
  .app-dashboard-shell .dashboard-command-bar,
  .app-dashboard-shell .dashboard-chart-panel,
  .app-dashboard-shell .market-card,
  .app-dashboard-shell .card,
  .app-dashboard-shell .metric,
  .app-dashboard-shell .rank-card,
  .app-dashboard-shell .history-digest,
  .app-dashboard-shell .detail-panel {
    border-radius: 24px;
  }
  .app-dashboard-shell .dashboard-chart-panel .local-kline-frame {
    height: clamp(540px, 31vw, 680px);
  }
  .app-dashboard-shell .dashboard-mini-metric {
    min-height: 124px;
  }
  .app-dashboard-shell .symbol-strip {
    grid-template-columns: minmax(0, 1fr) 112px;
  }
  .app-dashboard-shell .symbol-strip .symbol-tabs {
    grid-template-columns: repeat(10, minmax(0, 1fr));
  }
  .app-dashboard-shell .symbol-strip .symbol-tab,
  .app-dashboard-shell .symbol-strip .asset-main {
    min-height: 56px;
  }
}

.app-member-shell .page-head,
.app-member-shell .auth-card,
.app-member-shell .card,
.app-member-shell .metric,
.app-member-shell .plan-card,
.app-member-shell .subscription-help > div,
.app-member-shell .profile-card,
.app-member-shell .avatar-setting-card,
.app-member-shell .avatar-modal-panel,
.app-member-shell .community-shell,
.app-member-shell .community-panel,
.app-member-shell .community-score-grid .minimal-score-card {
  color: #fffaf0;
  border-color: rgba(255,255,255,.10);
  background:
    linear-gradient(180deg, rgba(255,255,255,.085), rgba(255,255,255,.045)),
    rgba(7,8,13,.74);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 18px 60px rgba(0,0,0,.26);
}
.app-member-shell .page-head h1,
.app-member-shell .auth-card h1,
.app-member-shell .card h2,
.app-member-shell .card h3,
.app-member-shell .plan-card h2,
.app-member-shell .plan-price b,
.app-member-shell .profile-card b {
  color: #fffaf0;
}
.app-member-shell .muted,
.app-member-shell .card p,
.app-member-shell .plan-card p,
.app-member-shell .plan-original,
.app-member-shell .plan-saving,
.app-member-shell .profile-card span,
.app-member-shell .profile-card small,
.app-member-shell .auth-card p,
.app-member-shell .address-box {
  color: rgba(255,250,240,.62);
}
.app-member-shell .eyebrow {
  color: #ff9125;
  letter-spacing: .14em;
}
.app-member-shell .primary,
.app-member-shell button.primary,
.app-member-shell .button.primary {
  color: #fff !important;
  border-color: transparent !important;
  background: linear-gradient(135deg, #ff9125 0%, #ff6b3d 100%) !important;
  box-shadow: 0 18px 46px rgba(255,61,94,.30) !important;
}
.app-member-shell .button,
.app-member-shell button,
.app-member-shell input,
.app-member-shell textarea,
.app-member-shell select {
  color: #fffaf0;
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.07);
}
.app-member-shell input::placeholder,
.app-member-shell textarea::placeholder {
  color: rgba(255,250,240,.38);
}
.app-member-shell .address-box,
.app-member-shell td {
  border-color: rgba(255,255,255,.10);
  background: rgba(255,255,255,.055);
}
.app-member-shell th {
  color: rgba(255,250,240,.52);
}
@media (max-width: 1180px) {
  .app-dashboard-shell .dashboard-terminal-shell {
    grid-template-columns: 1fr;
  }
  .app-dashboard-shell .dashboard-center { order: 1; }
  .app-dashboard-shell .dashboard-right-rail { order: 2; }
  .app-dashboard-shell .dashboard-left-rail { order: 3; }
  .app-dashboard-shell .symbol-tabs {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
  }
  .app-dashboard-shell .symbol-tab {
    min-width: 148px;
    scroll-snap-align: start;
  }
}
@media (max-width: 860px) {
  .app-home-shell,
  .app-dashboard-shell {
    width: min(100% - 20px, 1320px);
    padding-top: 10px;
  }
  .app-home-shell .topbar,
  .app-dashboard-shell .topbar {
    position: relative;
    top: auto;
    align-items: flex-start;
    border-radius: 22px;
  }
  .app-home-shell .nav-links,
  .app-dashboard-shell .nav-links {
    width: 100%;
    justify-content: flex-start;
  }
  .app-home-shell .nav-primary,
  .app-home-shell .nav-utility,
  .app-dashboard-shell .nav-primary,
  .app-dashboard-shell .nav-utility {
    display: flex;
    max-width: 100%;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 2px;
  }
  .app-home-shell .nav-links a,
  .app-home-shell .nav-links button,
  .app-dashboard-shell .nav-links a,
  .app-dashboard-shell .nav-links button {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 13px;
  }
  .app-home-shell .home-paper-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 34px;
  }
  .app-home-shell .home-hero-left h1 {
    font-size: clamp(40px, 12vw, 50px);
    line-height: 1;
  }
  .app-home-shell .home-actions,
  .app-home-shell .home-email-form {
    display: grid;
    grid-template-columns: 1fr;
  }
  .app-home-shell .home-actions a,
  .app-home-shell .home-primary,
  .app-home-shell .home-ghost {
    width: 100%;
  }
  .app-home-shell .home-trust-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
  .app-home-shell .home-live-card {
    position: relative;
    top: auto;
  }
  .app-home-shell .home-score-item {
    grid-template-columns: 42px minmax(76px, auto) minmax(0, 1fr) auto;
    padding: 14px 14px;
  }
  .app-home-shell .home-alert-feature,
  .app-home-shell .home-email-subscribe {
    align-items: stretch;
    padding: 22px;
  }
  .app-dashboard-shell .dashboard-command-bar,
  .app-dashboard-shell .dashboard-chart-panel,
  .app-dashboard-shell .market-card,
  .app-dashboard-shell .card,
  .app-dashboard-shell .preview-lock,
  .app-dashboard-shell .metric {
    border-radius: 22px;
  }
  .app-dashboard-shell .dashboard-command-bar {
    padding: 14px;
  }
  .app-dashboard-shell .dashboard-title-block h1,
  .app-dashboard-shell .page-head h1 {
    font-size: clamp(30px, 9vw, 40px);
    line-height: 1.02;
  }
  .app-dashboard-shell .dashboard-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .app-dashboard-shell .preview-lock {
    position: fixed;
    top: 50%;
    left: 22px;
    right: 22px;
    width: auto;
    transform: translateY(-50%);
    z-index: 80;
    padding: 22px;
  }
}
@media (max-width: 520px) {
  .app-home-shell .home-trust-row,
  .app-dashboard-shell .dashboard-metric-grid {
    grid-template-columns: 1fr;
  }
  .app-home-shell .home-score-item {
    grid-template-columns: 34px minmax(0, 1fr) auto;
  }
  .app-home-shell .home-score-item small {
    grid-column: 2 / -1;
  }
  .app-home-shell .home-status-pill {
    display: grid;
    grid-template-columns: auto 1fr;
    border-radius: 20px;
  }
  .app-home-shell .home-status-pill .status-note {
    grid-column: 1 / -1;
    margin: 2px 0 0;
    padding: 8px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.10);
  }
}
@media (max-width: 860px) {
  .app-member-shell {
    padding-bottom: calc(112px + env(safe-area-inset-bottom));
  }
  .app-member-shell .topbar {
    display: flex;
    align-items: center;
    min-height: 52px;
    margin-bottom: 12px;
    padding: 8px 62px 8px 10px;
    overflow: visible;
    border-radius: 18px;
    transform: none !important;
  }
  .app-member-shell .brand {
    min-width: 0;
    max-width: none;
    gap: 7px;
    overflow: hidden;
    font-size: clamp(14px, 4vw, 16px);
    line-height: 1.05;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .app-member-shell .brand::before {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
  }
  .app-member-shell .nav-menu-toggle {
    display: none;
  }
  .app-member-shell .desktop-nav-profile {
    display: none;
  }
  .app-member-shell .nav-utility .theme-toggle {
    position: fixed;
    top: calc(18px + env(safe-area-inset-top));
    right: calc(68px + env(safe-area-inset-right));
    z-index: 12000;
    width: 50px;
    min-width: 50px;
    height: 50px;
    min-height: 50px;
    padding: 0 !important;
    border: 1px solid rgba(112,171,232,.20);
    border-radius: 999px;
    background:
      linear-gradient(180deg, rgba(17,24,39,.88), rgba(3,8,18,.92)),
      rgba(3,8,18,.88);
    box-shadow: 0 18px 48px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.10);
    font-size: 0;
  }
  .app-member-shell .nav-utility .theme-toggle svg {
    width: 20px;
    height: 20px;
  }
  .app-member-shell .nav-alert {
    right: 12px;
  }
  .app-member-shell .alert-button {
    width: 46px;
    min-width: 46px;
    height: 46px;
  }
  .app-member-shell .alert-popover {
    position: absolute;
    top: 50%;
    right: calc(100% + 10px);
    left: auto;
    width: min(330px, calc(100vw - 82px));
    max-height: calc(100vh - 36px);
    overflow: auto;
  }
}
@media (max-width: 860px) {
  .app-member-shell .topbar .nav-links {
    display: none !important;
  }
  .app-member-shell > .mobile-theme-toggle {
    position: fixed;
    top: calc(18px + env(safe-area-inset-top));
    right: calc(68px + env(safe-area-inset-right));
    z-index: 12000;
    display: inline-grid !important;
    width: 50px;
    min-width: 50px;
    height: 50px;
    min-height: 50px;
    padding: 0 !important;
    place-items: center;
    border: 1px solid rgba(112,171,232,.20);
    border-radius: 999px;
    background:
      linear-gradient(180deg, rgba(17,24,39,.88), rgba(3,8,18,.92)),
      rgba(3,8,18,.88);
    box-shadow: 0 18px 48px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.10);
    font-size: 0;
  }
  .app-member-shell > .mobile-theme-toggle svg {
    width: 20px;
    height: 20px;
  }
}
/* Dashboard symbol quick grid: show the 10 default coins without horizontal scrolling. */
.app-dashboard-shell .symbol-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(112px, 140px);
  align-items: stretch;
  gap: 8px;
}
.app-dashboard-shell .symbol-strip .symbol-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
  overflow: visible;
  padding: 0;
  scrollbar-width: none;
}
.app-dashboard-shell .symbol-strip .symbol-tabs::-webkit-scrollbar {
  display: none;
}
.app-dashboard-shell .symbol-strip .symbol-tab {
  min-width: 0;
  min-height: 54px;
  grid-template-columns: 1fr;
  border-radius: 14px;
}
.app-dashboard-shell .symbol-strip .asset-main {
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 7px;
  min-height: 52px;
  padding: 8px 28px 8px 8px;
}
.app-dashboard-shell .symbol-strip .asset-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
}
.app-dashboard-shell .symbol-strip .asset-main b {
  font-size: 13px;
}
.app-dashboard-shell .symbol-strip .asset-main small {
  max-width: none;
  font-size: 10px;
  line-height: 1.05;
}
.app-dashboard-shell .symbol-strip .asset-remove {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 21px;
  height: 21px;
  margin: 0;
  font-size: 13px;
}
.app-dashboard-shell .symbol-add-picker {
  min-width: 0;
  min-height: 0;
  flex: none;
}
.app-dashboard-shell .symbol-add-toggle {
  height: 100%;
  min-height: 52px;
  padding: 0 10px;
  border-radius: 14px;
}
@media (min-width: 1501px) {
  .app-dashboard-shell .symbol-strip {
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 10px;
  }
  .app-dashboard-shell .symbol-strip .symbol-tabs {
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 7px;
  }
  .app-dashboard-shell .symbol-strip .symbol-tab,
  .app-dashboard-shell .symbol-strip .asset-main {
    min-height: 52px;
  }
  .app-dashboard-shell .symbol-strip .asset-main {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 6px;
    padding: 7px 22px 7px 7px;
  }
  .app-dashboard-shell .symbol-strip .asset-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
  }
  .app-dashboard-shell .symbol-strip .asset-main b {
    font-size: 12px;
  }
  .app-dashboard-shell .symbol-strip .asset-main small {
    font-size: 9px;
  }
}
@media (max-width: 1180px) {
  .app-dashboard-shell .symbol-strip {
    grid-template-columns: minmax(0, 1fr) 112px;
  }
}
@media (max-width: 860px) {
  .app-dashboard-shell .symbol-strip {
    grid-template-columns: 1fr;
  }
  .app-dashboard-shell .symbol-strip .symbol-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .app-dashboard-shell .symbol-add-picker {
    width: 100%;
  }
  .app-dashboard-shell .symbol-add-toggle {
    height: 46px;
    min-height: 46px;
  }
}
@media (max-width: 860px) {
  .app-dashboard-shell .dashboard-command-bar {
    gap: 8px;
    margin-bottom: 8px;
    padding: 10px;
  }
  .app-dashboard-shell .dashboard-title-block {
    min-height: 0;
    padding: 10px 12px;
    border-radius: 16px;
  }
  .app-dashboard-shell .dashboard-title-block .eyebrow {
    font-size: 10px;
  }
  .app-dashboard-shell .dashboard-title-block h1 {
    margin: 2px 0 5px;
    font-size: clamp(22px, 6vw, 28px);
    line-height: 1;
  }
  .app-dashboard-shell .dashboard-title-block .head-meta {
    gap: 6px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }
  .app-dashboard-shell .dashboard-title-block .head-meta::-webkit-scrollbar {
    display: none;
  }
  .app-dashboard-shell .symbol-strip {
    grid-template-columns: minmax(0, 1fr) 44px;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border-radius: 18px;
  }
  .app-dashboard-shell .symbol-strip .symbol-tabs {
    display: none;
  }
  .app-dashboard-shell .mobile-symbol-select {
    position: relative;
    display: block;
    min-width: 0;
    height: 44px;
  }
  .app-dashboard-shell .mobile-symbol-select span {
    position: absolute;
    left: 14px;
    top: 7px;
    z-index: 1;
    color: rgba(245,250,255,.48);
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
  }
  .app-dashboard-shell .mobile-symbol-select select {
    width: 100%;
    height: 44px;
    min-height: 44px;
    padding: 15px 38px 4px 14px;
    border: 1px solid rgba(112,171,232,.22);
    border-radius: 14px;
    appearance: none;
    -webkit-appearance: none;
    background:
      linear-gradient(180deg, rgba(11,28,54,.82), rgba(5,15,32,.78)),
      rgba(5,15,32,.84);
    color: #f5f8ff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.10);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    outline: none;
  }
  .app-dashboard-shell .mobile-symbol-select::after {
    content: "";
    position: absolute;
    right: 15px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-right: 2px solid rgba(245,250,255,.68);
    border-bottom: 2px solid rgba(245,250,255,.68);
    transform: translateY(-62%) rotate(45deg);
    pointer-events: none;
  }
  .app-dashboard-shell .mobile-symbol-select select:focus {
    border-color: rgba(64,224,208,.42);
    box-shadow: 0 0 0 3px rgba(64,224,208,.10), inset 0 1px 0 rgba(255,255,255,.12);
  }
  .app-dashboard-shell .symbol-strip .asset-remove {
    top: 3px;
    right: 3px;
    width: 17px;
    height: 17px;
    font-size: 11px;
    opacity: .86;
  }
  .app-dashboard-shell .symbol-add-picker {
    width: 44px;
    align-self: stretch;
  }
  .app-dashboard-shell .symbol-add-toggle {
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    border-radius: 14px;
    font-size: 0;
  }
  .app-dashboard-shell .symbol-add-toggle::before {
    content: "+";
    font-size: 24px;
    line-height: 1;
  }
  .app-dashboard-shell .symbol-add-menu {
    position: fixed;
    left: 12px;
    right: 12px;
    top: auto;
    bottom: 14px;
    width: auto;
    max-height: min(68vh, 520px);
    border-radius: 20px;
  }
  .app-dashboard-shell .symbol-add-picker > small {
    display: none;
  }
}
@media (max-width: 760px) {
  .community-market-shell {
    gap: 10px;
  }
  .community-market-main {
    display: contents;
  }
  .community-market-head {
    order: 1;
    gap: 10px;
    padding: 12px;
    border-radius: 18px;
  }
  .community-market-head h1 {
    margin: 3px 0 0;
    font-size: 28px;
    line-height: 1;
  }
  .community-market-head p {
    display: none;
  }
  .community-symbol-tabs {
    grid-auto-columns: minmax(102px, 112px);
    gap: 6px;
    padding-bottom: 0;
  }
  .community-symbol-tab {
    min-width: 102px;
    min-height: 42px;
    gap: 6px;
    padding: 6px 8px !important;
    border-radius: 13px !important;
  }
  .community-symbol-tab .asset-icon {
    width: 24px;
    height: 24px;
  }
  .community-symbol-tab small {
    display: none;
  }
  .community-symbol-tab em {
    font-size: 12px;
  }
  .community-chat-panel {
    order: 2;
    gap: 8px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--panel);
    box-shadow: var(--shadow);
  }
  .community-chart-card {
    order: 3;
  }
  .community-score-stack {
    order: 4;
  }
  .community-chat-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .community-chat-head span {
    font-size: 11px;
  }
  .community-chat-head b {
    margin-top: 2px;
    color: var(--muted);
    font-size: 12px;
  }
  .community-chat-head a {
    align-self: center;
    padding: 7px 9px;
    border: 1px solid rgba(112,171,232,.22);
    border-radius: 999px;
    background: rgba(0,122,255,.08);
    font-size: 12px;
  }
  .chat-rules-card {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .chat-rules-card b {
    display: none;
  }
  .chat-rules-card ul {
    gap: 6px;
    margin: 0;
  }
  .chat-rules-card li {
    padding: 5px 7px;
    font-size: 11px;
  }
  .chat-system-card {
    padding: 10px;
    border-radius: 14px;
    box-shadow: none;
  }
  .chat-system-top {
    display: grid;
    gap: 3px;
  }
  .chat-system-top span {
    font-size: 10px;
  }
  .chat-system-top b {
    font-size: 13px;
  }
  .chat-system-card p {
    display: -webkit-box;
    margin: 6px 0 0;
    overflow: hidden;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .chat-system-card dl {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin: 8px 0 0;
  }
  .chat-system-card dl div {
    padding: 6px;
    border-radius: 10px;
  }
  .chat-system-card dt {
    font-size: 10px;
  }
  .chat-system-card dd {
    font-size: 11px;
  }
  .chat-system-card small {
    display: none;
  }
  .community-chat-panel .chat-list {
    min-height: 260px;
    max-height: min(42vh, 360px);
    padding: 10px;
    gap: 8px;
    border-radius: 14px;
  }
  .chat-message {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 8px;
  }
  .chat-message .avatar-badge.small {
    width: 28px;
    height: 28px;
  }
  .chat-bubble {
    padding: 9px 10px;
    border-radius: 12px;
  }
  .chat-bubble header {
    gap: 5px;
    margin-bottom: 4px;
  }
  .chat-bubble b {
    font-size: 12px;
  }
  .chat-bubble time {
    width: auto;
    margin-left: auto;
    font-size: 10px;
  }
  .chat-bubble p {
    font-size: 13px;
    line-height: 1.55;
  }
  .community-chat-panel .chat-compose {
    grid-template-columns: auto minmax(0, 1fr) 52px;
    gap: 8px;
    align-items: center;
    padding: 8px;
    border-radius: 14px;
  }
  .community-chat-panel .chat-compose-id {
    min-height: 40px;
  }
  .community-chat-panel .chat-compose-id b {
    display: none;
  }
  .community-chat-panel .chat-compose textarea {
    height: 40px;
    min-height: 40px;
    padding: 10px 12px;
    resize: none;
    font-size: 13px;
  }
  .community-chat-panel .chat-compose button {
    width: 52px;
    min-height: 40px;
    padding: 0;
  }
  .community-chart-card .local-kline-frame {
    height: 300px;
  }
}
/* Killa Labs-inspired home: black portal, central mark, restrained content. */
body:has(.app-home-shell) {
  color: #f5f5ff;
  background: #000;
}
body:has(.app-home-shell)::before {
  opacity: .38;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 5px),
    linear-gradient(180deg, rgba(255,255,255,.05), transparent 42%, rgba(255,255,255,.025));
  mix-blend-mode: screen;
}
.app-home-shell {
  width: min(1160px, calc(100% - 48px));
}
.app-home-shell .topbar {
  border-color: rgba(255,255,255,.09);
  background: rgba(0,0,0,.62);
  box-shadow: none;
}
.app-home-shell .brand::before {
  background: #f5f5ff;
  box-shadow: 0 0 0 5px rgba(245,245,255,.08), 0 0 24px rgba(245,245,255,.18);
}
.app-home-shell .nav-links a,
.app-home-shell .nav-links button {
  background: transparent;
}
.app-home-shell .home-paper-hero {
  position: relative;
  grid-template-columns: 1fr;
  place-items: center;
  min-height: min(900px, calc(100svh - 94px));
  padding: clamp(70px, 10vw, 116px) 0 clamp(42px, 7vw, 76px);
  text-align: center;
}
.app-home-shell .home-paper-hero::before {
  inset: auto 18% 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245,245,255,.34), transparent);
}
.app-home-shell .home-paper-hero::after {
  display: none;
}
.app-home-shell .home-void-canvas {
  position: absolute;
  inset: -120px -10vw -80px;
  z-index: -2;
  width: calc(100% + 20vw);
  height: calc(100% + 200px);
  opacity: .86;
  pointer-events: none;
}
.app-home-shell .home-bagua {
  left: 50%;
  right: auto;
  top: 42%;
  width: min(82vw, 760px);
  height: min(82vw, 760px);
  color: rgba(245,245,255,.68);
  opacity: .11;
  transform: translate(-50%, -50%);
}
.app-home-shell .home-hero-left {
  display: grid;
  justify-items: center;
  width: min(920px, 100%);
}
.app-home-shell .home-meta {
  justify-content: center;
  margin-bottom: 22px;
  color: rgba(245,245,255,.62);
}
.app-home-shell .home-meta i {
  background: #f5f5ff;
  box-shadow: 0 0 0 6px rgba(245,245,255,.08), 0 0 26px rgba(245,245,255,.24);
}
.app-home-shell .home-meta em {
  background: rgba(245,245,255,.18);
}
.app-home-shell .home-hero-left h1 {
  max-width: 980px;
  margin-bottom: 24px;
  color: #f5f5ff;
  font-size: clamp(56px, 11vw, 154px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0;
  text-shadow: 0 0 52px rgba(245,245,255,.10);
}
.app-home-shell .home-hero-left h1 span {
  color: rgba(245,245,255,.86);
}
.app-home-shell .home-sub {
  max-width: 640px;
  color: rgba(245,245,255,.62);
  font-size: clamp(15px, 1.45vw, 18px);
  line-height: 1.9;
}
.app-home-shell .home-status-pill {
  justify-self: center;
  margin-top: 30px;
  border-color: rgba(245,245,255,.10);
  background: #0a0a0a;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.app-home-shell .home-status-pill .status-dot {
  background: #f5f5ff;
}
.app-home-shell .home-status-pill .status-value {
  color: #f5f5ff;
}
.app-home-shell .home-actions {
  justify-content: center;
  margin-top: 24px;
}
.app-home-shell .home-primary,
.app-home-shell .home-ghost {
  min-width: 152px;
  min-height: 54px;
  border-radius: 12px;
  box-shadow: none;
}
.app-home-shell .home-primary {
  color: #000;
  border-color: #f5f5ff;
  background: #f5f5ff;
}
.app-home-shell .home-ghost {
  color: #f5f5ff;
  border-color: rgba(245,245,255,.18);
  background: rgba(255,255,255,.035);
}
.app-home-shell .home-trust-row {
  display: none;
}
.app-home-shell .home-trust-row b {
  color: #f5f5ff;
  font-size: clamp(23px, 2.7vw, 34px);
}
.app-home-shell .home-trust-row span,
.app-home-shell .home-trust-row small {
  color: rgba(245,245,255,.48);
}
.app-home-shell .home-live-card {
  position: relative;
  top: auto;
  width: min(980px, 100%);
  margin-top: clamp(34px, 5vw, 58px);
  border-radius: 16px;
  background: #0a0a0a;
  box-shadow: none;
  backdrop-filter: none;
}
.app-home-shell .home-live-head,
.app-home-shell .home-live-foot {
  padding: 14px 16px;
}
.app-home-shell .home-live-head b {
  color: rgba(245,245,255,.76);
}
.app-home-shell .home-live-head b::before {
  background: #f5f5ff;
  box-shadow: 0 0 0 5px rgba(245,245,255,.08);
}
.app-home-shell .home-score-list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.app-home-shell .home-score-item {
  grid-template-columns: 1fr;
  justify-items: start;
  gap: 5px;
  min-height: 112px;
  padding: 14px;
  border-right: 1px solid rgba(255,255,255,.10);
  border-bottom: 0;
  text-align: left;
}
.app-home-shell .home-score-item:last-child {
  border-right: 0;
}
.app-home-shell .home-score-rank {
  color: rgba(245,245,255,.36);
}
.app-home-shell .home-score-item strong {
  margin-top: auto;
  color: #f5f5ff !important;
  font-size: 28px;
}
.app-home-shell .home-chan,
.app-home-shell .home-alert-feature,
.app-home-shell .home-about,
.app-home-shell .home-method,
.app-home-shell .home-posts,
.app-home-shell .home-cta,
.app-home-shell .home-email-subscribe,
.app-home-shell .home-portrait,
.app-home-shell .home-method-grid article {
  border-radius: 18px;
  background: #0a0a0a;
  box-shadow: none;
  backdrop-filter: none;
}
.app-home-shell .home-section-kicker,
.app-home-shell .home-meta,
.app-home-shell .eyebrow {
  color: rgba(245,245,255,.54);
}
.app-home-shell .home-about-copy h2,
.app-home-shell .home-method h2,
.app-home-shell .home-posts h2,
.app-home-shell .home-cta h2,
.app-home-shell .home-alert-feature h2,
.app-home-shell .home-email-subscribe h2,
.app-home-shell .home-chan h2 {
  color: #f5f5ff;
  font-size: clamp(32px, 5vw, 64px);
  line-height: .98;
}
.app-home-shell .home-about-copy em,
.app-home-shell .home-method em,
.app-home-shell .home-posts em,
.app-home-shell .home-chan h2 em {
  color: rgba(245,245,255,.82);
}
.app-home-shell .home-method-grid .feature {
  border-color: rgba(245,245,255,.22);
}
html[data-theme="dark"] body:has(.app-home-shell) {
  background: #000;
}
html[data-theme="dark"] .app-home-shell .home-status-pill,
html[data-theme="dark"] .app-home-shell .home-live-card,
html[data-theme="dark"] .app-home-shell .home-chan,
html[data-theme="dark"] .app-home-shell .home-alert-feature,
html[data-theme="dark"] .app-home-shell .home-about,
html[data-theme="dark"] .app-home-shell .home-method,
html[data-theme="dark"] .app-home-shell .home-posts,
html[data-theme="dark"] .app-home-shell .home-cta,
html[data-theme="dark"] .app-home-shell .home-email-subscribe,
html[data-theme="dark"] .app-home-shell .home-portrait,
html[data-theme="dark"] .app-home-shell .home-method-grid article {
  background: #0a0a0a;
  box-shadow: none;
}
html[data-theme="dark"] .app-home-shell .home-live-head,
html[data-theme="dark"] .app-home-shell .home-live-foot,
html[data-theme="dark"] .app-home-shell .home-score-item {
  border-color: rgba(245,245,255,.10);
}
@media (min-width: 1241px) {
  .app-home-shell {
    width: min(1160px, calc(100% - 72px));
  }
  .app-home-shell .home-paper-hero {
    grid-template-columns: 1fr;
    min-height: min(900px, calc(100svh - 94px));
    padding-left: 0;
    padding-right: 0;
  }
  .app-home-shell .home-hero-left h1 {
    max-width: 980px;
    font-size: clamp(78px, 10vw, 154px);
    line-height: 1.04;
  }
  .app-home-shell .home-sub,
  .app-home-shell .home-actions,
  .app-home-shell .home-trust-row {
    max-width: 780px;
  }
  .app-home-shell .home-live-card {
    justify-self: center;
  }
}
@media (max-width: 760px) {
  .app-home-shell {
    width: min(100% - 20px, 1160px);
  }
  .app-home-shell .home-paper-hero {
    min-height: auto;
    padding-top: 58px;
  }
  .app-home-shell .home-hero-left h1 {
    font-size: clamp(52px, 17vw, 72px);
    line-height: 1.04;
  }
  .app-home-shell .home-sub {
    font-size: 14px;
    line-height: 1.75;
  }
  .app-home-shell .home-status-pill {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: center;
    width: 100%;
  }
  .app-home-shell .home-status-pill .status-note {
    grid-column: 1 / -1;
  }
  .app-home-shell .home-actions {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr 1fr;
  }
  .app-home-shell .home-primary,
  .app-home-shell .home-ghost {
    width: 100%;
    min-width: 0;
  }
  .app-home-shell .home-trust-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .app-home-shell .home-score-list {
    grid-template-columns: 1fr;
  }
  .app-home-shell .home-live-card {
    display: none;
  }
  .app-home-shell .home-score-item {
    min-height: 64px;
    grid-template-columns: 36px minmax(0, 1fr) auto;
    align-items: center;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.10);
  }
  .app-home-shell .home-score-item strong {
    margin-top: 0;
  }
}
.topbar > .nav-alert {
  flex: 0 0 auto;
  margin-left: 2px;
}
.mobile-nav-alert {
  display: none;
}
.topbar > .nav-alert .alert-button {
  width: 36px;
  min-width: 36px;
  height: 34px;
  min-height: 34px;
}
.topbar > .nav-alert .alert-icon {
  width: 19px;
  height: 19px;
}
.topbar > .nav-alert .alert-icon svg {
  width: 18px;
  height: 18px;
}
@media (max-width: 860px) {
  .app-member-shell .topbar > .desktop-nav-alert {
    display: none;
  }
  .app-member-shell > .mobile-nav-alert {
    display: inline-flex;
    position: fixed;
    top: calc(18px + env(safe-area-inset-top));
    right: calc(14px + env(safe-area-inset-right));
    bottom: auto;
    z-index: 12000;
    margin: 0;
  }
  .app-member-shell > .mobile-nav-alert .alert-button {
    width: 50px;
    min-width: 50px;
    height: 50px;
    min-height: 50px;
  }
  .app-member-shell > .mobile-nav-alert .alert-icon {
    width: 23px;
    height: 23px;
  }
  .app-member-shell > .mobile-nav-alert .alert-icon svg {
    width: 21px;
    height: 21px;
  }
  .app-member-shell > .mobile-nav-alert .alert-popover {
    position: fixed;
    top: calc(74px + env(safe-area-inset-top));
    right: 12px;
    bottom: auto;
    left: 12px;
    width: auto;
    max-height: min(70vh, 520px);
    overflow: auto;
    transform: none;
  }
}

/* Mobile page flow audit: keep the first screen focused on action and signal. */
@media (max-width: 860px) {
  .app-member-shell .page-head {
    display: grid;
    align-items: start;
    gap: 10px;
    margin-bottom: 10px;
    padding: 14px;
    border-radius: 18px;
  }
  .app-member-shell .page-head h1 {
    margin: 4px 0 6px;
    font-size: clamp(26px, 7vw, 32px);
    line-height: 1.05;
  }
  .app-member-shell .page-head p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .app-member-shell .page-head .button {
    justify-self: start;
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }
  .app-member-shell .profile-grid {
    gap: 10px;
  }
  .app-member-shell .profile-card {
    min-height: 104px;
    gap: 12px;
    padding: 14px;
    flex-wrap: wrap;
  }
  .app-member-shell .profile-logout-form {
    width: 100%;
    margin: 0;
  }
  .app-member-shell .profile-logout-form button {
    width: 100%;
  }
  .app-member-shell .profile-card .avatar-badge.large {
    box-sizing: border-box;
    width: 64px !important;
    height: 64px !important;
    min-height: 64px !important;
    border-radius: 50% !important;
  }
  .app-member-shell .profile-card b {
    font-size: 22px;
  }
  .app-member-shell .email-alert-card {
    gap: 12px;
    padding: 14px;
  }
  .app-member-shell .email-alert-card h2,
  .app-member-shell .avatar-setting-card h2 {
    margin-bottom: 4px;
    font-size: 20px;
  }
  .app-member-shell .email-alert-card p {
    margin-bottom: 6px;
    font-size: 13px;
    line-height: 1.45;
  }
  .app-member-shell .email-alert-form {
    min-width: 0;
    gap: 8px;
  }
  .app-member-shell .avatar-form {
    gap: 10px;
  }
  .app-member-shell .avatar-cooldown {
    font-size: 12px;
    line-height: 1.45;
  }
  .app-member-shell .avatar-choice-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    max-height: 256px;
    overflow-y: auto;
    padding-right: 2px;
    overscroll-behavior: contain;
  }
  .app-member-shell .avatar-choice {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    border-radius: 12px;
  }
  .app-member-shell .plan-grid {
    gap: 10px;
    margin-top: 10px;
  }
  .app-member-shell .plan-card {
    min-height: 0;
    gap: 10px;
    padding: 14px;
    border-radius: 16px;
  }
  .app-member-shell .plan-top h2 {
    font-size: 19px;
  }
  .app-member-shell .plan-top span {
    min-height: 24px;
    padding: 0 8px;
    font-size: 11px;
  }
  .app-member-shell .plan-price b {
    font-size: 32px;
  }
  .app-member-shell .plan-price small {
    display: block;
    margin: 3px 0 0;
    font-size: 12px;
  }
  .app-member-shell .plan-card p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .app-member-shell .plan-saving {
    min-height: 0;
    gap: 2px;
    font-size: 12px;
  }
  .app-member-shell .plan-saving strong {
    font-size: 13px;
  }
  .app-member-shell .plan-button {
    min-height: 40px !important;
  }
  .app-member-shell .plan-card ul {
    display: none;
  }
  .app-member-shell .subscription-help {
    gap: 10px;
    margin-top: 10px;
  }
  .app-member-shell .subscription-help > div {
    padding: 14px;
  }
  .app-dashboard-shell .dashboard-terminal-shell {
    gap: 10px;
  }
  .app-dashboard-shell .dashboard-command-bar {
    gap: 8px;
    padding: 10px;
  }
  .app-dashboard-shell .dashboard-title-block {
    padding: 8px 10px;
  }
  .app-dashboard-shell .dashboard-title-block .eyebrow {
    display: none;
  }
  .app-dashboard-shell .dashboard-title-block h1 {
    margin: 0 0 4px;
    font-size: clamp(20px, 5.8vw, 24px);
  }
  .app-dashboard-shell .dashboard-title-block .head-meta {
    gap: 5px;
    font-size: 11px;
  }
  .app-dashboard-shell .dashboard-chart-panel .local-kline-frame {
    min-height: 0;
    height: clamp(300px, 74vw, 340px);
  }
  .app-dashboard-shell .dashboard-chart-panel .screen-top {
    padding: 10px 14px;
  }
  .app-dashboard-shell .score-detail-stack {
    margin-top: 2px;
  }
  .app-dashboard-shell .detail-panel {
    margin-top: 0;
    padding: 14px;
  }
  .app-dashboard-shell .detail-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 12px;
  }
  .app-dashboard-shell .detail-header h2 {
    margin-top: 4px;
    font-size: 22px;
  }
  .app-dashboard-shell .detail-header h2 small {
    display: block;
    margin: 2px 0 0;
    font-size: 12px;
  }
  .app-dashboard-shell .detail-score b {
    font-size: 34px;
  }
  .app-dashboard-shell .current-detail-grid {
    gap: 10px;
  }
  .app-dashboard-shell .score-percent-card,
  .app-dashboard-shell .strategy-judgement-card {
    padding: 12px;
    border-radius: 16px;
  }
  .app-dashboard-shell .score-percent-card h4,
  .app-dashboard-shell .strategy-judgement-card h4 {
    margin-bottom: 8px;
    font-size: 12px;
  }
  .app-dashboard-shell .percent-row {
    grid-template-columns: minmax(80px, 1fr) 54px;
    gap: 7px 10px;
    padding: 8px 0;
  }
  .app-dashboard-shell .percent-row small {
    margin-top: 2px;
    font-size: 11px;
  }
  .app-dashboard-shell .percent-row b {
    font-size: 20px;
  }
  .app-dashboard-shell .strategy-state-line {
    margin-bottom: 10px;
  }
  .app-dashboard-shell .strategy-judgement-card p {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 10px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }
  .app-dashboard-shell .compact-flags {
    gap: 6px;
    margin-bottom: 10px;
  }
  .app-dashboard-shell .compact-flags li {
    padding: 7px 9px 7px 26px;
    font-size: 12px;
    line-height: 1.35;
  }
  .app-dashboard-shell .strategy-judgement-card .muted-text {
    display: none;
  }
  .community-chat-panel {
    gap: 8px;
  }
  .chat-rules-card {
    display: none;
  }
  .chat-system-card dl {
    display: none;
  }
  .community-chat-panel .chat-list {
    min-height: 210px;
    max-height: min(34vh, 280px);
  }
  .community-chat-panel .chat-compose textarea {
    height: 38px;
    min-height: 38px;
  }
  .app-home-shell .home-chan {
    margin: 36px 0;
    padding: 18px;
  }
  .app-home-shell .home-chan h2 {
    margin-bottom: 10px;
    font-size: clamp(28px, 9vw, 36px);
    line-height: 1.04;
  }
  .app-home-shell .home-chan-lead {
    display: -webkit-box;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
  }
  .app-home-shell .home-chan-body {
    gap: 14px;
    margin-top: 18px;
  }
  .app-home-shell .home-chan-chart {
    padding: 8px;
  }
  .app-home-shell .home-chan-chart figcaption {
    margin-top: 6px;
    font-size: 10px;
  }
  .app-home-shell .home-chan-levels {
    gap: 8px;
  }
  .app-home-shell .home-chan-levels li {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 8px;
    padding: 10px;
  }
  .app-home-shell .home-chan-levels small {
    display: -webkit-box;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .app-home-shell .home-chan-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
    padding-top: 14px;
  }
  .app-home-shell .home-chan-stats b {
    font-size: 24px;
  }
  .app-home-shell .home-chan-stats span {
    display: none;
  }
}
@media (max-width: 360px) {
  .app-member-shell .avatar-choice-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Unified desktop-wide shell across every page. */
@media (min-width: 1181px) {
  .app,
  .app-home-shell,
  .app-dashboard-shell,
  .app-community-shell,
  .app-member-shell,
  .app-admin-shell,
  .app-minimal-shell {
    width: min(1880px, calc(100% - 64px)) !important;
  }
  .app .topbar,
  .app-home-shell .topbar,
  .app-dashboard-shell .topbar,
  .app-community-shell .topbar,
  .app-member-shell .topbar,
  .app-admin-shell .topbar,
  .app-minimal-shell .topbar {
    margin-left: 0;
    margin-right: 0;
  }
  .app-home-shell .home-paper-hero {
    width: 100%;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(24px, 5vw, 96px);
    padding-right: clamp(24px, 5vw, 96px);
  }
  .app-home-shell .home-live-card {
    width: min(1280px, 100%);
  }
}

/* Community needs the same wide-workspace feel as the dashboard. */
@media (min-width: 1181px) {
  .app-community-shell {
    width: min(1880px, calc(100% - 64px));
  }
  .app-community-shell .topbar {
    margin-left: 0;
    margin-right: 0;
  }
  .community-market-shell {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 460px);
    gap: 18px;
  }
  .community-market-head {
    grid-template-columns: minmax(360px, .72fr) minmax(520px, 1fr);
  }
  .community-chart-card .local-kline-frame {
    height: clamp(460px, 45vh, 640px);
  }
}

@media (max-width: 760px) {
  .app-community-shell .community-score-stack {
    gap: 8px;
  }
  .app-community-shell .community-score-panel {
    gap: 8px;
  }
  .app-community-shell .community-score-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 12px;
    border-radius: 16px;
  }
  .app-community-shell .community-score-head span {
    display: none;
  }
  .app-community-shell .community-score-head h2 {
    margin: 0 0 4px;
    font-size: 22px;
    line-height: 1.05;
  }
  .app-community-shell .community-score-head p {
    font-size: 11px;
    line-height: 1.35;
  }
  .app-community-shell .community-score-head strong {
    font-size: 34px;
  }
  .app-community-shell .community-score-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }
  .app-community-shell .community-score-grid .minimal-score-card {
    min-height: 0;
    padding: 10px;
    border-radius: 14px;
  }
  .app-community-shell .community-score-grid .minimal-score-card::after {
    opacity: .18;
  }
  .app-community-shell .community-score-grid .minimal-score-top {
    gap: 6px;
    margin-bottom: 8px;
  }
  .app-community-shell .community-score-grid .minimal-score-top span {
    font-size: 9px;
    letter-spacing: .07em;
  }
  .app-community-shell .community-score-grid .minimal-grade {
    min-width: 24px;
    min-height: 22px;
    border-radius: 9px;
    font-size: 12px;
  }
  .app-community-shell .community-score-grid .minimal-score-main {
    gap: 3px;
    margin-bottom: 2px;
  }
  .app-community-shell .community-score-grid .minimal-score-main strong {
    font-size: clamp(24px, 8vw, 34px);
    line-height: .92;
  }
  .app-community-shell .community-score-grid .minimal-score-main small {
    font-size: 10px;
  }
  .app-community-shell .community-score-grid .minimal-score-card h3 {
    margin: 0;
    font-size: 12px;
    line-height: 1.2;
  }
  .app-community-shell .community-score-grid .minimal-score-card p,
  .app-community-shell .community-score-grid .minimal-score-card em {
    display: none;
  }
  .app-community-shell .community-status-line {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 10px 12px;
    border-radius: 14px;
  }
  .app-community-shell .community-status-line > b {
    font-size: 15px;
  }
  .app-community-shell .community-status-line p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .app-community-shell .community-status-line dl {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  .app-community-shell .community-status-line dl div {
    min-width: 0;
    padding: 7px;
    border-radius: 10px;
  }
  .app-community-shell .community-status-line dt {
    font-size: 10px;
  }
  .app-community-shell .community-status-line dd {
    overflow: hidden;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* Minimal surface pass: lighter borders, flatter cards, calmer controls. */
:root {
  --surface-radius: 16px;
  --surface-border: rgba(15,23,42,.08);
  --surface-bg: rgba(255,255,255,.80);
  --surface-bg-strong: rgba(255,255,255,.92);
  --control-bg: rgba(255,255,255,.68);
  --control-hover: rgba(255,255,255,.92);
  --control-active-bg: rgba(37,99,235,.12);
  --control-active-border: rgba(37,99,235,.34);
  --control-primary: #2563eb;
  --control-primary-hover: #1d4ed8;
  --surface-shadow: 0 1px 2px rgba(15,23,42,.035), 0 8px 22px rgba(15,23,42,.04);
  --control-shadow: 0 1px 2px rgba(15,23,42,.05);
}

html[data-theme="dark"] {
  --surface-border: rgba(255,255,255,.08);
  --surface-bg: rgba(20,23,34,.72);
  --surface-bg-strong: rgba(25,29,42,.86);
  --control-bg: rgba(255,255,255,.065);
  --control-hover: rgba(255,255,255,.105);
  --control-active-bg: rgba(96,165,250,.14);
  --control-active-border: rgba(96,165,250,.34);
  --control-primary: #5b8cff;
  --control-primary-hover: #76a4ff;
  --surface-shadow: 0 1px 0 rgba(255,255,255,.035), 0 8px 24px rgba(0,0,0,.14);
  --control-shadow: none;
}

.topbar,
.card,
.auth-card,
.metric,
.product-panel,
.terminal-card,
.dashboard-title-block,
.dashboard-command-bar,
.dashboard-chart-panel,
.rank-panel,
.rank-card,
.market-sentiment-card,
.history-digest,
.history-digest li,
.scan-countdown-card,
.detail-panel,
.analysis-panel,
.symbol-strip,
.symbol-tab,
.symbol-add-picker,
.symbol-add-menu,
.funding-panel,
.score-percent-card,
.strategy-judgement-card,
.community-market-head,
.community-chat-panel,
.community-chat-head,
.community-score-head,
.community-score-empty,
.community-status-line,
.community-score-grid .minimal-score-card,
.chat-rules-card,
.chat-system-card,
.chat-list,
.chat-compose,
.chat-bubble,
.plan-card,
.profile-card,
.avatar-setting-card,
.avatar-modal-panel,
.email-alert-card,
.admin-guard-card,
.admin-shortcut-card,
.server-action-card,
.alert-popover,
.nav-alert a.alert-item,
.mobile-bottom-nav {
  border-color: var(--surface-border) !important;
  border-radius: var(--surface-radius) !important;
  background: var(--surface-bg) !important;
  box-shadow: var(--surface-shadow) !important;
}

.topbar {
  padding: 8px 10px;
}

.dashboard-chart-panel .local-kline-frame,
.local-kline-canvas {
  border-radius: 0 !important;
}

.nav-links a,
.nav-links button,
.mobile-bottom-nav a,
.button,
button:not(.chart-signal-dot):not(.chart-popover-close),
.theme-toggle,
.alert-button,
.symbol-tab,
.community-symbol-tab,
.symbol-choice,
.symbol-add-toggle,
.local-kline-toolbar,
.local-kline-toolbar button,
.asset-main,
.asset-remove,
input,
textarea,
select {
  border-color: var(--surface-border) !important;
  background: var(--control-bg) !important;
  box-shadow: var(--control-shadow) !important;
}

.nav-links a,
.nav-links button,
.mobile-bottom-nav a,
.button,
button:not(.chart-signal-dot):not(.chart-popover-close),
.theme-toggle,
.alert-button,
.symbol-choice,
.symbol-add-toggle,
.local-kline-toolbar button,
.home-primary,
.home-ghost {
  border-radius: 999px !important;
}

.button,
button:not(.chart-signal-dot):not(.chart-popover-close),
.nav-links a,
.nav-links button,
.mobile-bottom-nav a {
  min-height: 38px;
  padding-inline: 14px;
}

.nav-links a:hover,
.nav-links button:hover,
.mobile-bottom-nav a:hover,
.button:hover,
button:not(.chart-signal-dot):not(.chart-popover-close):not(.wealth-daily-day):hover,
.symbol-tab:hover,
.community-symbol-tab:hover,
.symbol-choice:hover,
.asset-main:hover {
  background: var(--control-hover) !important;
  box-shadow: var(--control-shadow) !important;
  transform: translateY(-1px);
}

.primary,
.nav-cta,
button.primary,
button.primary:not(.chart-signal-dot):not(.chart-popover-close),
button.primary.plan-button:not(.chart-signal-dot):not(.chart-popover-close),
.nav-links a.nav-cta,
.button.primary,
.home-primary,
.plan-button,
.community-chat-panel .chat-compose button {
  color: #fff !important;
  border-color: transparent !important;
  background: var(--control-primary) !important;
  box-shadow: none !important;
}

.primary:hover,
.nav-cta:hover,
button.primary:hover,
button.primary:not(.chart-signal-dot):not(.chart-popover-close):hover,
button.primary.plan-button:not(.chart-signal-dot):not(.chart-popover-close):hover,
.nav-links a.nav-cta:hover,
.button.primary:hover,
.home-primary:hover,
.plan-button:hover,
.community-chat-panel .chat-compose button:hover {
  background: var(--control-primary-hover) !important;
}

.ghost,
.home-ghost {
  background: transparent !important;
  box-shadow: none !important;
}

.nav-links a.active,
.nav-links button.active,
.mobile-bottom-nav a.active,
.symbol-tab.active,
.rank-card.active,
.community-symbol-tab.active,
.local-kline-toolbar button.active,
.symbol-strip .asset-main:hover {
  border-color: var(--control-active-border) !important;
  background: var(--control-active-bg) !important;
  box-shadow: inset 0 0 0 1px var(--control-active-border) !important;
}

.rank-card::before {
  inset: 12px auto 12px 0;
  width: 2px;
}

.alert-button,
.theme-toggle,
.asset-remove {
  width: 36px;
  min-width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 0 !important;
}

.alert-popover,
.symbol-add-menu {
  background: var(--surface-bg-strong) !important;
}

.mobile-bottom-nav .nav-item-icon,
.app-member-shell .nav-links .nav-item-icon {
  background: var(--control-bg) !important;
  box-shadow: none !important;
}

.mobile-bottom-nav a.active .nav-item-icon,
.app-member-shell .nav-links a.active .nav-item-icon {
  color: #fff !important;
  background: var(--control-primary) !important;
  box-shadow: none !important;
  transform: translateY(-1px);
}

@media (min-width: 861px) {
  .app-dashboard-shell .symbol-add-picker {
    width: 112px;
    flex: 0 0 112px;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  .app-dashboard-shell .symbol-add-picker > small:empty {
    display: none;
  }
  .app-dashboard-shell .symbol-strip .symbol-add-picker .symbol-add-toggle {
    width: 112px;
    height: 44px;
    min-height: 44px;
    padding: 0 12px !important;
    border: 1px solid var(--surface-border) !important;
    border-radius: 12px !important;
    color: var(--muted) !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 13px;
    font-weight: 660;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .app-dashboard-shell .symbol-strip .symbol-add-picker .symbol-add-toggle:hover,
  .app-dashboard-shell .symbol-add-picker.is-open .symbol-add-toggle {
    color: var(--text) !important;
    border-color: var(--control-active-border) !important;
    background: var(--control-active-bg) !important;
    transform: none;
  }
}

@media (max-width: 860px) {
  .app-dashboard-shell .symbol-strip .symbol-add-picker .symbol-add-toggle {
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0 !important;
    border-radius: 12px !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 0 !important;
    line-height: 0;
  }
  .app-dashboard-shell .symbol-strip .symbol-add-picker .symbol-add-toggle::before {
    content: "+";
    font-size: 23px;
    line-height: 1;
  }
}

.app-dashboard-shell .symbol-strip .symbol-tabs {
  grid-column: 1;
  grid-row: 2;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}

.app-dashboard-shell .symbol-add-picker {
  grid-column: 2;
  grid-row: 2;
}

.app-dashboard-shell .symbol-strip .symbol-tab {
  min-height: 54px;
}

.app-dashboard-shell .symbol-strip .asset-main {
  min-height: 52px;
  padding-bottom: 8px;
}

@media (min-width: 1501px) {
  .app-dashboard-shell .symbol-strip .symbol-tabs {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 1500px) {
  .app-dashboard-shell .symbol-strip .symbol-tabs {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 860px) {
  .app-dashboard-shell .mobile-symbol-select {
    grid-column: 1;
    grid-row: 2;
  }
  .app-dashboard-shell .symbol-add-picker {
    grid-column: 2;
    grid-row: 2;
  }
}

.avatar-badge,
.avatar-choice,
.profile-success-box {
  box-shadow: none !important;
}

/* Redo-inspired Taoyuan homepage. */
body:has(.redo-home-hero) {
  color: #f3eee6;
  background: #030303 !important;
}

body:has(.redo-home-hero)::before {
  opacity: .12 !important;
}

.app-home-shell:has(.redo-home-hero) {
  width: 100% !important;
  max-width: none;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 0 0 64px;
  gap: 0;
}

.app-home-shell:has(.redo-home-hero) .topbar {
  position: fixed;
  left: 50%;
  right: auto;
  top: 20px;
  z-index: 40;
  width: min(1260px, calc(100% - 48px));
  min-height: 56px;
  margin: 0;
  padding: 8px 10px 8px 18px;
  translate: none !important;
  transform: translateX(-50%) !important;
  overflow: hidden;
  border: 1px solid rgba(var(--ink-rgb,244,239,232),.10) !important;
  border-radius: 16px !important;
  background: rgba(24,20,17,.42) !important;
  box-shadow: 0 14px 36px rgba(0,0,0,.26) !important;
  backdrop-filter: blur(12px) saturate(1.8) brightness(1.12);
  -webkit-backdrop-filter: blur(12px) saturate(1.8) brightness(1.12);
}

.app-home-shell:has(.redo-home-hero) .topbar::before,
.redo-home-action::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255,255,255,.08), transparent 30%, rgba(255,255,255,.025) 62%, transparent),
    linear-gradient(180deg, rgba(255,255,255,.025), transparent 46%);
  mix-blend-mode: screen;
}

.glass-surface-filter {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  z-index: -1;
}

.glass-surface-native--svg {
  background: rgba(0,0,0,0) !important;
  backdrop-filter: var(--glass-filter-id) saturate(1) !important;
  -webkit-backdrop-filter: var(--glass-filter-id) saturate(1) !important;
  box-shadow: 0 12px 32px rgba(0,0,0,.22) !important;
}

.glass-surface-native--svg::before {
  display: none !important;
}

.glass-surface-native--fallback {
  background: rgba(24,20,17,.38) !important;
  backdrop-filter: blur(12px) saturate(1.8) brightness(1.2) !important;
  -webkit-backdrop-filter: blur(12px) saturate(1.8) brightness(1.2) !important;
  border-color: rgba(var(--ink-rgb,244,239,232),.10) !important;
  box-shadow: 0 12px 32px rgba(0,0,0,.22) !important;
}

.app-home-shell:has(.redo-home-hero) .brand,
.app-home-shell:has(.redo-home-hero) .nav-links a,
.app-home-shell:has(.redo-home-hero) .nav-links button {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  color: rgba(247,244,238,.9) !important;
}

.app-home-shell:has(.redo-home-hero) .brand {
  gap: 9px;
  font-size: 18px;
  font-weight: 660;
  letter-spacing: 0;
}

.app-home-shell:has(.redo-home-hero) .brand::before {
  width: 10px;
  height: 10px;
  background: #f4efe8;
  box-shadow: 0 0 0 4px rgba(255,255,255,.08), 0 0 18px rgba(255,255,255,.24);
}

.app-home-shell:has(.redo-home-hero) .nav-links {
  gap: 8px;
  flex-wrap: nowrap;
}

.app-home-shell:has(.redo-home-hero) .nav-primary,
.app-home-shell:has(.redo-home-hero) .nav-utility {
  gap: 4px;
  padding: 0;
  overflow: visible;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.app-home-shell:has(.redo-home-hero) .nav-links a,
.app-home-shell:has(.redo-home-hero) .nav-links button,
.app-home-shell:has(.redo-home-hero) .theme-toggle,
.app-home-shell:has(.redo-home-hero) .alert-button,
.app-home-shell:has(.redo-home-hero) .nav-avatar-link {
  min-height: 32px;
  height: 32px;
  padding: 0 11px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  position: relative;
  z-index: 1;
}

.app-home-shell:has(.redo-home-hero) .theme-toggle,
.app-home-shell:has(.redo-home-hero) .alert-button,
.app-home-shell:has(.redo-home-hero) .nav-avatar-link {
  width: 32px;
  min-width: 32px;
  padding: 0 !important;
}

.app-home-shell:has(.redo-home-hero) .nav-links a:hover,
.app-home-shell:has(.redo-home-hero) .nav-links button:hover,
.app-home-shell:has(.redo-home-hero) .theme-toggle:hover,
.app-home-shell:has(.redo-home-hero) .alert-button:hover,
.app-home-shell:has(.redo-home-hero) .nav-avatar-link:hover {
  color: #fff !important;
  background: rgba(255,255,255,.08) !important;
  transform: none;
}

.app-home-shell:has(.redo-home-hero) .nav-links a.active {
  color: #fff !important;
  background: rgba(255,255,255,.06) !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

.redo-home-hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #030303;
}

.redo-home-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 1;
  height: clamp(190px, 24vh, 320px);
  pointer-events: none;
  background: linear-gradient(180deg, rgba(3,3,3,0) 0%, rgba(3,3,3,.46) 58%, #030303 100%);
}

.redo-home-floating-lines,
.redo-home-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.redo-home-floating-lines {
  z-index: -2;
  display: block;
  opacity: 0;
  background: #000;
  transition: opacity .8s ease;
}

.redo-home-floating-lines canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.redo-home-hero.is-floating-lines-ready .redo-home-floating-lines {
  opacity: 1;
}

.redo-home-hero-shade {
  z-index: -1;
  background: none;
}

.redo-home-title {
  position: absolute;
  left: 50%;
  top: 54%;
  z-index: 2;
  display: flex;
  width: min(1120px, calc(100% - 44px));
  transform: translate(-50%, -50%);
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.redo-home-kicker,
.redo-home-entry p,
.redo-home-reserve p,
.redo-home-scroll {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(244,239,230,.62);
}

.redo-home-title h1,
.redo-home-title span,
.redo-home-copy,
.redo-home-entry h2,
.redo-home-reserve h2 {
  font-family: "Noto Serif TC", "Source Han Serif TC", "Noto Serif CJK TC", "Songti TC", "PMingLiU", "MingLiU", "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
}

.redo-home-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: rgba(246,240,232,.72);
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  text-transform: none;
  text-shadow: 0 8px 26px rgba(0,0,0,.42);
}

.redo-home-kicker span {
  white-space: nowrap;
}

.redo-home-title h1 {
  margin: 0;
  color: #f4efe8;
  font-size: clamp(48px, 6.2vw, 86px);
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: .025em;
  max-width: 100%;
  white-space: normal;
  text-wrap: balance;
  text-shadow: 0 12px 34px rgba(0,0,0,.58);
}

.redo-home-title span {
  display: block;
  margin-top: 18px;
  color: rgba(244,239,230,.88);
  font-size: clamp(18px, 1.6vw, 26px);
  font-weight: 500;
  letter-spacing: .06em;
  text-shadow: 0 8px 26px rgba(0,0,0,.55);
}

.redo-home-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.redo-home-action {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  min-width: 128px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid rgba(var(--ink-rgb,244,239,232),.12);
  border-radius: 12px;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(0,0,0,.24);
  backdrop-filter: blur(12px) saturate(1.8) brightness(1.12);
  -webkit-backdrop-filter: blur(12px) saturate(1.8) brightness(1.12);
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}

.redo-home-action span,
.redo-home-action {
  isolation: isolate;
}

.redo-home-action-primary {
  color: #fff;
  background: rgba(24,20,17,.34);
}

.redo-home-action-secondary {
  color: rgba(244,239,230,.78);
  background: rgba(24,20,17,.26);
}

.redo-home-action:hover {
  transform: translateY(-1px);
}

.redo-home-action-secondary:hover {
  color: #f4efe8;
  border-color: rgba(244,239,230,.22);
  background: rgba(var(--ink-rgb,244,239,232),.10);
}

.redo-home-scroll {
  position: absolute;
  left: 50%;
  bottom: 34px;
  color: rgba(244,239,230,.52);
  text-decoration: none;
  transform: translateX(-50%);
}

.redo-home-scroll::after {
  content: "";
  display: block;
  width: 1px;
  height: 42px;
  margin: 12px auto 0;
  background: linear-gradient(180deg, rgba(244,239,230,.72), transparent);
}

.redo-home-manifesto {
  position: relative;
  min-height: 300vh;
  overflow: clip;
  background: #030303;
}

.redo-home-grid {
  position: absolute;
  inset: 0;
  opacity: .42;
  background-image: radial-gradient(circle, rgba(255,255,255,.17) 1.15px, transparent 1.15px);
  background-position: center top;
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 42%, #000 0 48%, transparent 78%);
}

.redo-home-sticky {
  position: sticky;
  top: 0;
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 104px 22px 92px;
}

.redo-home-copy {
  position: relative;
  z-index: 1;
  width: clamp(780px, 55vw, 1040px);
  max-width: calc(100vw - 34vw);
  margin: 0;
  color: rgba(244,239,230,.94);
  font-size: clamp(36px, 2.45vw, 48px);
  font-weight: 650;
  line-height: 1.18;
  letter-spacing: 0;
  text-align: left;
}

.redo-home-copy .redo-home-text {
  display: block;
}

.redo-home-copy .redo-home-char {
  display: inline;
  color: rgba(244,239,230,.95);
  opacity: .16;
  will-change: opacity;
}

.redo-home-copy .redo-home-space {
  white-space: pre;
}

.redo-home-copy .redo-home-paragraph-break {
  display: block;
  height: .26em;
}

.redo-home-copy .redo-home-signature {
  display: block;
  margin-top: .46em;
  font-size: .54em;
  color: rgba(244,239,230,.62);
  text-align: right;
}

.redo-home-copy .redo-home-signature .redo-home-char {
  color: rgba(244,239,230,.62);
}

.motion-reduced .redo-home-copy .redo-home-char {
  opacity: 1 !important;
  visibility: visible !important;
}

.redo-home-entry {
  display: grid;
  min-height: 68svh;
  place-items: center;
  align-content: center;
  gap: 22px;
  padding: 120px 22px;
  text-align: center;
  background: #030303;
}

.redo-home-entry h2 {
  margin: 0;
  color: #f4efe8;
  font-size: clamp(36px, 6vw, 92px);
  font-weight: 520;
  line-height: 1.04;
  letter-spacing: .02em;
}

.redo-home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 28px;
  border: 1px solid rgba(244,239,230,.22);
  border-radius: 999px;
  color: #f4efe8;
  background: rgba(244,239,230,.06);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  box-shadow: none;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.redo-home-button:hover {
  border-color: rgba(244,239,230,.48);
  background: rgba(244,239,230,.12);
  transform: translateY(-1px);
}

.redo-home-reserve {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 72svh;
  place-items: center;
  align-content: center;
  gap: 18px;
  padding: clamp(96px, 12vw, 168px) 22px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,145,37,.11), transparent 34%),
    #030303;
}

.redo-home-reserve h2 {
  margin: 0;
  color: #f4efe8;
  font-size: clamp(42px, 6vw, 88px);
  font-weight: 560;
  line-height: 1.04;
  letter-spacing: .02em;
}

.redo-home-reserve > span {
  color: rgba(244,239,230,.66);
  font-size: 16px;
  line-height: 1.8;
}

.redo-home-reserve-form {
  display: flex;
  width: min(520px, 100%);
  min-height: 56px;
  margin-top: 16px;
  padding: 6px;
  border: 1px solid rgba(244,239,230,.16);
  border-radius: 999px;
  background: rgba(244,239,230,.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 22px 70px rgba(0,0,0,.34);
  backdrop-filter: blur(16px) saturate(1.12);
  -webkit-backdrop-filter: blur(16px) saturate(1.12);
}

.redo-home-reserve-form input {
  flex: 1;
  min-width: 0;
  border: 0 !important;
  outline: 0;
  padding: 0 18px !important;
  color: #f4efe8 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 15px;
}

.redo-home-reserve-form input::placeholder {
  color: rgba(244,239,230,.42);
}

.redo-home-reserve-form button {
  flex: none;
  min-height: 44px !important;
  padding: 0 22px !important;
  border: 1px solid rgba(244,239,230,.18) !important;
  border-radius: 999px !important;
  color: #1b1208 !important;
  background: #f4efe8 !important;
  box-shadow: none !important;
  font-size: 14px;
  font-weight: 620;
}

@media (max-width: 860px) {
  .app-home-shell:has(.redo-home-hero) {
    padding: 0 0 92px;
  }
  .app-home-shell:has(.redo-home-hero) .topbar {
    left: 12px;
    right: 12px;
    top: 12px;
    width: auto;
    transform: none !important;
    min-height: 54px;
    padding: 7px 8px 7px 14px;
    border-radius: 16px !important;
    background: rgba(18,15,23,.62) !important;
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
  }
  .redo-home-title {
    top: 52%;
    bottom: auto;
    width: min(100% - 28px, 520px);
    transform: translate(-50%, -50%);
  }
  .redo-home-kicker {
    margin-bottom: 22px;
    padding: 0;
    font-size: 10px;
    letter-spacing: .1em;
  }
  .redo-home-title h1 {
    font-size: clamp(36px, 10.5vw, 48px);
    line-height: 1.12;
    letter-spacing: .025em;
    white-space: normal;
  }
  .redo-home-title span {
    margin-top: 16px;
    font-size: clamp(16px, 5vw, 22px);
    letter-spacing: .04em;
  }
  .redo-home-actions {
    width: 100%;
    gap: 10px;
    margin-top: 26px;
  }
  .redo-home-action {
    min-width: 0;
    min-height: 46px;
    flex: 1;
    padding: 0 14px;
    border-radius: 12px;
    font-size: 13px;
  }
  .redo-home-scroll {
    bottom: 26px;
  }
  .redo-home-manifesto {
    min-height: 320vh;
  }
  .redo-home-grid {
    background-size: 34px 34px;
  }
  .redo-home-sticky {
    padding: 86px 18px 80px;
    place-items: center start;
  }
  .redo-home-copy {
    width: 100%;
    max-width: none;
    font-size: clamp(24px, 6.75vw, 31px);
    line-height: 1.18;
  }
  .redo-home-copy .redo-home-signature {
    font-size: .62em;
  }
  .redo-home-entry {
    min-height: 56svh;
    padding: 92px 18px;
  }
  .redo-home-reserve {
    min-height: 62svh;
    padding: 92px 16px 122px;
  }
  .redo-home-reserve h2 {
    font-size: clamp(34px, 10vw, 46px);
  }
  .redo-home-reserve-form {
    display: grid;
    gap: 8px;
    padding: 8px;
    border-radius: 24px;
  }
  .redo-home-reserve-form input,
  .redo-home-reserve-form button {
    width: 100%;
    min-height: 46px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-home-shell *,
  .app-dashboard-shell * {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .nav-alert .alert-button {
    animation: none !important;
  }
}

/* Chanlun radar page */
.app-radar-shell {
  width: min(1760px, calc(100vw - 48px));
  max-width: none;
  padding-top: 92px;
}
.radar-page {
  display: grid;
  gap: 18px;
}
.radar-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.035)),
    rgba(8,12,22,.74);
  box-shadow: var(--shadow);
}
.radar-hero h1 {
  margin: 4px 0 6px;
  color: var(--text);
  font-size: clamp(34px, 4vw, 64px);
  line-height: .95;
  letter-spacing: -.03em;
}
.radar-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}
.radar-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: min(620px, 100%);
}
.radar-controls label,
.radar-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  color: var(--text);
  font-size: 12px;
  font-weight: 660;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  background: rgba(255,255,255,.055);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
}
.radar-check input {
  width: 14px;
  height: 14px;
  accent-color: var(--blue);
}
.radar-controls select {
  min-height: 28px;
  padding: 0 4px !important;
  color: inherit !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.radar-tutorial-trigger {
  min-height: 38px;
  padding: 0 14px;
  color: #1d1205;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid rgba(255,188,62,.55);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffd96f, #ff9418);
  box-shadow: none;
  cursor: pointer;
}
.radar-tutorial-modal[hidden] {
  display: none !important;
}
body.modal-open {
  overflow: hidden;
}
body.modal-open .mobile-bottom-nav {
  display: none !important;
}
body.modal-open .topbar {
  visibility: hidden !important;
}
body.modal-open .theme-toggle,
body.modal-open .nav-alert {
  visibility: hidden !important;
}
body:has(.radar-tutorial-modal:not([hidden])) .mobile-bottom-nav {
  display: none !important;
}
body:has(.radar-tutorial-modal:not([hidden])) .topbar {
  visibility: hidden !important;
}
body:has(.radar-tutorial-modal:not([hidden])) .theme-toggle,
body:has(.radar-tutorial-modal:not([hidden])) .nav-alert {
  visibility: hidden !important;
}
.radar-tutorial-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  padding: 24px;
}
.radar-tutorial-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background:
    linear-gradient(180deg, rgba(11,9,7,.54) 0%, rgba(8,7,6,.72) 58%, rgba(0,0,0,.88) 100%),
    rgba(0,0,0,.58);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.radar-tutorial-dialog {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  padding: 22px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 12%, rgba(255,144,31,.18), transparent 30%),
    linear-gradient(180deg, rgba(35,31,28,.98), rgba(18,17,17,.98));
}
.radar-tutorial-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.radar-tutorial-head span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.radar-tutorial-head h2 {
  margin: 6px 0 0;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.05;
  letter-spacing: 0;
}
.radar-tutorial-head button {
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 999px;
  color: var(--text);
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  cursor: pointer;
}
.radar-tutorial-signals {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}
.radar-tutorial-signals span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  background: rgba(255,255,255,.055);
  color: var(--text);
  font-size: 12px;
  font-weight: 660;
}
.radar-tutorial-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.radar-tutorial-steps p {
  min-height: 94px;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  background: rgba(255,255,255,.045);
}
.radar-tutorial-steps b,
.radar-tutorial-steps span {
  display: block;
}
.radar-tutorial-steps b {
  margin-bottom: 8px;
  color: var(--text);
}
.radar-tutorial-steps span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}
.radar-tutorial-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}
.radar-tutorial-actions a,
.radar-tutorial-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.radar-tutorial-actions a {
  color: var(--text);
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.07);
}
.tutorial-page {
  display: grid;
  gap: 18px;
  width: min(1180px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 92px 0 48px;
}
.tutorial-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 28px;
}
.tutorial-hero h1 {
  margin: 6px 0 10px;
  color: var(--text);
  font-size: clamp(38px, 5vw, 72px);
  line-height: .95;
  letter-spacing: 0;
}
.tutorial-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}
.tutorial-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.tutorial-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--text);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  text-decoration: none;
  font-weight: 700;
}
.tutorial-actions a.primary,
.radar-tutorial-actions .primary {
  color: #1d1205;
  border-color: rgba(255,188,62,.55);
  background: linear-gradient(180deg, #ffd96f, #ff9418);
}
.tutorial-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.tutorial-card {
  min-height: 240px;
  padding: 20px;
  overflow: hidden;
}
.tutorial-card > span {
  color: #ff9d20;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
}
.tutorial-card h2,
.tutorial-path h2 {
  margin: 12px 0 10px;
  color: var(--text);
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: 0;
}
.tutorial-card p,
.tutorial-risk p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}
.tutorial-signal-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}
.tutorial-bubble {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  color: #fff;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.tutorial-bubble.is-buy {
  background: #0fa37a;
}
.tutorial-bubble.is-sell {
  background: #e34840;
}
.tutorial-bubble.is-watch {
  background: #0fa37a;
  box-shadow: 0 0 0 3px #f4b51f, 0 0 0 6px rgba(244,181,31,.2);
}
.tutorial-mini-chart {
  height: 76px;
  margin-top: 26px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background:
    linear-gradient(145deg, transparent 18%, rgba(42,138,255,.72) 19%, transparent 21%),
    linear-gradient(15deg, transparent 48%, rgba(125,76,255,.35) 49%, rgba(125,76,255,.35) 62%, transparent 63%),
    rgba(0,8,18,.52);
}
.tutorial-vote-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  margin-top: 30px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255,144,31,.12);
  border: 1px solid rgba(255,144,31,.24);
}
.tutorial-vote-row b {
  color: #ff9d20;
}
.tutorial-vote-row span {
  color: var(--text);
  font-weight: 700;
}
.tutorial-vote-row em {
  color: #ff9d20;
  font-style: normal;
  font-weight: 700;
}
.tutorial-path {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
  padding: 24px;
}
.tutorial-path ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tutorial-path li {
  padding: 14px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  background: rgba(255,255,255,.045);
}
.tutorial-path li b,
.tutorial-path li span {
  display: block;
}
.tutorial-path li b {
  color: var(--text);
  margin-bottom: 8px;
}
.tutorial-path li span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.tutorial-risk {
  padding: 18px 20px;
  border-color: rgba(255,144,31,.28) !important;
  background: rgba(255,144,31,.08) !important;
}
.tutorial-risk b {
  display: block;
  margin-bottom: 6px;
  color: #ff9d20;
}
@media (max-width: 980px) {
  .tutorial-page {
    width: min(100% - 24px, 760px);
    padding-top: 78px;
    padding-bottom: 92px;
  }
  .tutorial-hero,
  .tutorial-path {
    grid-template-columns: 1fr;
  }
  .tutorial-hero {
    display: grid;
    align-items: start;
    padding: 22px;
  }
  .tutorial-actions {
    justify-content: flex-start;
  }
  .tutorial-grid,
  .tutorial-path ol,
  .radar-tutorial-signals,
  .radar-tutorial-steps {
    grid-template-columns: 1fr;
  }
  .tutorial-card {
    min-height: 180px;
  }
  .radar-tutorial-modal {
    padding: 14px;
  }
  .radar-tutorial-dialog {
    max-height: min(680px, calc(100vh - 28px));
    overflow: auto;
    padding: 18px;
  }
  .radar-tutorial-head h2 {
    font-size: 32px;
  }
  .radar-tutorial-steps p {
    min-height: auto;
    padding: 12px;
  }
  .radar-tutorial-actions {
    justify-content: stretch;
  }
  .radar-tutorial-actions a,
  .radar-tutorial-actions button {
    flex: 1;
  }
}
.radar-search-control input {
  width: 128px;
  min-height: 28px;
  padding: 0 !important;
  color: inherit !important;
  font: inherit;
  text-transform: uppercase;
  border: 0 !important;
  outline: 0;
  background: transparent !important;
  box-shadow: none !important;
}
.radar-search-control input::placeholder {
  color: rgba(226,232,240,.45);
  text-transform: none;
}
.radar-controls .primary {
  min-height: 38px;
  padding-inline: 18px;
  border-radius: 999px;
}
.radar-layout {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr) minmax(280px, 360px);
  gap: 18px;
  align-items: start;
}
.radar-left-rail {
  position: sticky;
  top: 86px;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 12px;
  max-height: calc(100vh - 112px);
  min-height: 0;
  overflow: hidden;
}
.radar-results-card {
  position: static;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
.radar-funding-panel {
  min-height: 98px;
}
.radar-funding-panel .funding-head b {
  font-size: 18px;
}
.radar-status {
  margin: 10px 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.radar-hit-list {
  display: grid;
  gap: 8px;
  overflow: auto;
  padding-right: 10px;
  scrollbar-width: thin;
  scrollbar-color: rgba(148,163,184,.34) transparent;
}
.radar-hit-list::-webkit-scrollbar {
  width: 6px;
}
.radar-hit-list::-webkit-scrollbar-track {
  background: transparent;
}
.radar-hit-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(148,163,184,.30);
}
.radar-hit-card {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 96px;
  gap: 6px;
  padding: 12px 14px 12px 16px;
  text-align: left;
  color: var(--text);
  border: 1px solid rgba(255,255,255,.10) !important;
  border-radius: 15px !important;
  background: rgba(255,255,255,.038) !important;
  box-shadow: none !important;
}
.radar-hit-card::before {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 0;
  width: 3px;
  border-radius: 999px;
  opacity: .70;
  background: transparent;
}
.radar-hit-card:hover,
.radar-hit-card.is-active {
  border-color: rgba(255,145,37,.72) !important;
  background: rgba(255,145,37,.105) !important;
  transform: none;
}
.radar-hit-card.is-buy::before {
  background: #20c987;
}
.radar-hit-card.is-sell::before {
  background: #ff6377;
}
.radar-hit-card.is-active::before {
  background: var(--blue);
  box-shadow: 0 0 18px rgba(255,145,37,.45);
}
.radar-hit-card.is-buy b {
  color: #20c987;
}
.radar-hit-card.is-sell b {
  color: #ff6377;
}
.radar-hit-title {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}
.radar-hit-title strong {
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.1;
}
.radar-hit-title small {
  min-width: 0;
  overflow: hidden;
  color: rgba(226,232,240,.60);
  font-size: 11px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.radar-hit-signal {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.radar-hit-signal b {
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}
.radar-hit-signal span {
  min-width: 0;
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.radar-hit-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}
.radar-hit-chips span {
  max-width: 100%;
  overflow: hidden;
  padding: 2px 7px;
  color: rgba(226,232,240,.66);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-radius: 999px;
  background: rgba(255,255,255,.045);
}
.radar-hit-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 660;
  line-height: 1;
}
.radar-hit-meta span {
  display: flex;
  gap: 6px;
  min-width: 0;
}
.radar-hit-meta i,
.radar-hit-meta em {
  font-style: normal;
}
.radar-hit-meta i {
  padding: 0;
  color: rgba(226,232,240,.56);
}
.radar-hit-meta em {
  flex: none;
  color: var(--cyan);
}
.radar-chart-card {
  min-height: 720px;
}
.radar-chart-head {
  margin-bottom: 10px;
}
.radar-chart-wrap {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #050912;
}
.radar-chart-wrap canvas {
  display: block;
  width: 100%;
  height: 520px;
}
.radar-chart-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  color: var(--muted);
  text-align: center;
  pointer-events: none;
}
.radar-chart-empty[hidden] {
  display: none;
}
.radar-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.radar-detail-grid p {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.045);
}
.radar-detail-grid b {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.radar-detail-grid span {
  color: var(--text);
  font-weight: 620;
  line-height: 1.5;
}
.radar-loading,
.radar-empty {
  padding: 24px;
  color: var(--muted);
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 16px;
}
@media (max-width: 980px) {
  .app-radar-shell {
    width: 100%;
    padding: 76px 14px 106px;
  }
  .radar-hero {
    display: grid;
    padding: 18px;
    border-radius: 18px;
  }
  .radar-controls {
    justify-content: flex-start;
    min-width: 0;
  }
  .radar-layout {
    grid-template-columns: 1fr;
  }
  .radar-left-rail {
    position: static;
    max-height: none;
    overflow: visible;
  }
  .radar-results-card {
    position: relative;
    top: auto;
    max-height: none;
  }
  .radar-chart-card {
    min-height: auto;
  }
  .radar-chart-wrap {
    min-height: 360px;
  }
  .radar-chart-wrap canvas {
    height: 360px;
  }
  .radar-detail-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .radar-hero h1 {
    font-size: 38px;
  }
  .radar-controls label,
  .radar-check {
    flex: 1 1 auto;
    justify-content: center;
  }
  .radar-detail-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   APP PORTAL — 会员区：暖近黑底 + 暖橙主色 #FF9125，与首页(home.css)统一
   会员子页默认深色(见 _layout 头部脚本 portal_default_theme)；强调色=暖橙，
   背景=近黑 + 顶部一束暖橙辉光(对齐 redo-home 配色)。明暗切换仍可用。
   ============================================================ */
.app-portal {
  --blue: #e6e6ea;
  --cyan: #ffffff;
  --control-primary: #e6e6ea;
  --control-primary-hover: #ffffff;
  --control-active-bg: rgba(255,255,255,.12);
  --control-active-border: rgba(255,255,255,.32);
}
html[data-theme="dark"] .app-portal { --bg: #0a0807; }
html[data-theme="dark"]:has(.app-portal) { background: #030303; }
html[data-theme="dark"] body:has(.app-portal) {
  color: #f4efe8;
  background:
    radial-gradient(1200px 700px at 50% -280px, rgba(255,255,255,.04), transparent 70%),
    linear-gradient(180deg, #0a0807 0%, #060504 56%, #030303 100%) !important;
  background-attachment: fixed;
}
html[data-theme="dark"] body:has(.app-portal)::before { opacity: .16; }
/* 主按钮 / Buy 风格：暖橙渐变 + 暖橙辉光(对齐首页强调色) */
.app-portal .primary,
.app-portal button.primary,
.app-portal .button.primary,
.app-portal .plan-button,
.app-portal .nav-cta,
.app-portal .community-chat-panel .chat-compose button {
  color: var(--lz-btn-fg, #18181b) !important;
  background: var(--lz-btn-bg, linear-gradient(135deg,#f2f2f5,#d9d9de)) !important;
  box-shadow: 0 10px 26px rgba(0,0,0,.28) !important;
}
.app-portal .primary:hover,
.app-portal button.primary:hover,
.app-portal .plan-button:hover,
.app-portal .community-chat-panel .chat-compose button:hover {
  filter: brightness(1.05);
  box-shadow: 0 14px 34px rgba(0,0,0,.34) !important;
}
/* 中性强调点位 */
.app-portal .chat-role {
  color: var(--lz-accent-ink, #ededf0);
  background: var(--lz-accent-soft, rgba(255,255,255,.08));
}
/* 内部小芯片：把为浅色设计的亮白填充换成暗色，避免在深底上发白 */
.app-portal .chat-rules-card li,
.app-portal .community-status-line dl div,
.app-portal .chat-system-card dl div {
  border-color: rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
}
.app-portal .chat-rules-card li { border-color: var(--lz-accent-line, rgba(255,255,255,.26)); }

/* ============================================================
   会员区设计规范 · LZ MEMBER DESIGN SYSTEM (3BUY)
   一套语言铺满所有会员子页(.app-portal)，明暗双主题，对齐首页 home.css。
   — 令牌(tokens)是单一事实源；组件规则统一消费令牌。
   — 强调色拆成两支：填充用鲜橙 #FF9125；文字/链接用「对比安全」深橙
     (浅色 #B5560A / 深色 #FFB066)，专治浅色下橙字看不清。
   — 组件选择器统一带前缀 html[data-theme] body:has(.app-portal)，
     既同时命中明暗两套，又足够高以压过文件里的多层旧规则。
   — 卡片对齐 home.css 的 magic-bento-card；标题=宋体；数字=等宽。
   ============================================================ */
/* —— 令牌：跨主题通用 —— */
.app-portal {
  --lz-accent: #d7d7dc;
  --lz-accent-soft: rgba(255,255,255,.08);
  --lz-accent-line: rgba(255,255,255,.26);
  --lz-serif: "Noto Serif SC","Source Han Serif SC","Songti SC",STSong,SimSun,serif;
  --lz-mono: ui-monospace,"SFMono-Regular",Menlo,Consolas,monospace;
}
/* —— 深色主题令牌 —— */
html[data-theme="dark"] .app-portal {
  --lz-ink: #f4efe8;
  --lz-muted: rgba(var(--ink-rgb,244,239,232),.62);
  --lz-faint: rgba(var(--ink-rgb,244,239,232),.46);
  --lz-card: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.02)), #120f0f;
  --lz-card-2: rgba(255,255,255,.03);
  --lz-border: rgba(var(--ink-rgb,244,239,232),.12);
  --lz-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 22px 60px rgba(0,0,0,.45);
  --lz-radius: 18px;
  --lz-topbar: rgba(10,8,7,.72);
  --lz-accent: #d7d7dc;
  --lz-accent-soft: rgba(255,255,255,.08);
  --lz-accent-line: rgba(255,255,255,.26);
  --lz-accent-ink: #ededf0;
  --lz-btn-bg: linear-gradient(135deg, #f2f2f5, #d9d9de);
  --lz-btn-fg: #18181b;
  --blue: #ededf0; --cyan: #ffffff; --control-primary: #e6e6ea;
}
/* —— 暖米色文字令牌：让全站硬编码的 rgba(var(--ink-rgb,244,239,232),..) 自动适配明暗 ——
   (深色=暖米；浅色子页=暖墨；首页始终深色故保持暖米) */
html[data-theme="dark"] body { --ink-rgb: 244,239,232; }
/* —— 顶栏 —— */
html[data-theme] body:has(.app-portal) .app-portal .topbar {
  background: var(--lz-topbar) !important;
  border-color: var(--lz-border) !important;
  box-shadow: 0 18px 50px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.06) !important;
}
html[data-theme] body:has(.app-portal) .app-portal .brand { color: var(--lz-ink) !important; }
html[data-theme] body:has(.app-portal) .app-portal .brand::before {
  background: linear-gradient(135deg, #ffb066, #ff9125) !important;
  box-shadow: 0 0 0 5px rgba(255,145,37,.12), 0 0 22px rgba(255,145,37,.4) !important;
}
html[data-theme] body:has(.app-portal) .app-portal .nav-links a,
html[data-theme] body:has(.app-portal) .app-portal .nav-links button {
  color: var(--lz-muted) !important;
  border-color: var(--lz-border) !important;
  background: var(--lz-card-2) !important;
  box-shadow: none !important;
}
html[data-theme] body:has(.app-portal) .app-portal .nav-links a.active {
  color: #1b1208 !important;
  border-color: transparent !important;
  background: linear-gradient(135deg, #ffb066, #ff9125) !important;
}
/* nav 内图标/文字跟随父级 a/button 颜色(常态/选中各状态都对) */
html[data-theme] body:has(.app-portal) .app-portal .nav-item-label,
html[data-theme] body:has(.app-portal) .app-portal .nav-item-icon { color: inherit !important; }
/* —— 手机底部导航：标签随主题变色(原为固定浅色，浅色模式下看不见) —— */
html[data-theme] body:has(.app-portal) .app-portal .mobile-bottom-nav {
  background: var(--lz-topbar) !important;
  border-color: var(--lz-border) !important;
}
html[data-theme] body:has(.app-portal) .app-portal .mobile-bottom-nav .nav-item-label,
html[data-theme] body:has(.app-portal) .app-portal .mobile-bottom-nav .nav-item-icon,
html[data-theme] body:has(.app-portal) .app-portal .mobile-bottom-nav a {
  color: var(--lz-muted) !important;
}
html[data-theme] body:has(.app-portal) .app-portal .mobile-bottom-nav .active,
html[data-theme] body:has(.app-portal) .app-portal .mobile-bottom-nav .active .nav-item-label,
html[data-theme] body:has(.app-portal) .app-portal .mobile-bottom-nav .active .nav-item-icon {
  color: var(--lz-accent-ink) !important;
}
/* —— 子页主标题(H1)：中文宋体 —— 保留吕知时"主理人在分享"的声音 —— */
html[data-theme] body:has(.app-portal) .app-portal h1,
html[data-theme] body:has(.app-portal) .app-portal .dashboard-title-block h1,
html[data-theme] body:has(.app-portal) .app-portal .page-head h1 {
  font-family: var(--lz-serif) !important;
  font-weight: 600 !important;
  color: var(--lz-ink) !important;
  letter-spacing: .01em !important;
}
/* —— 分区/面板标题：苹果式无衬线、Semibold、收紧字距 —— */
html[data-theme] body:has(.app-portal) .app-portal h2,
html[data-theme] body:has(.app-portal) .app-portal h3 {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif !important;
  font-weight: 600 !important;
  color: var(--lz-ink) !important;
  letter-spacing: -.006em !important;
}
/* —— eyebrow / kicker：英文大写 + 字间距(同首页) —— */
html[data-theme] body:has(.app-portal) .app-portal .eyebrow,
html[data-theme] body:has(.app-portal) .app-portal [class*="-kicker"] {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: .2em !important;
  text-transform: uppercase !important;
  color: var(--lz-faint) !important;
}
html[data-theme] body:has(.app-portal) .app-portal .muted,
html[data-theme] body:has(.app-portal) .app-portal .page-head p { color: var(--lz-muted) !important; }
/* —— 卡片/面板：暖色玻璃 + 圆角 + 柔和投影(对齐 magic-bento-card) —— */
html[data-theme] body:has(.app-portal) .app-portal .card,
html[data-theme] body:has(.app-portal) .app-portal .page-head,
html[data-theme] body:has(.app-portal) .app-portal [class*="-card"]:not([class*="-head"]):not([class*="-kicker"]):not([class*="-title"]):not([class*="-top"]):not(.rank-card):not(.dashboard-mini-metric):not(.prediction-winrate-item):not(.nav-identity-card):not(.profile-subscription-card):not(.profile-subscription-card-inner),
html[data-theme] body:has(.app-portal) .app-portal [class*="-panel"],
html[data-theme] body:has(.app-portal) .app-portal .radar-hero,
html[data-theme] body:has(.app-portal) .app-portal .prediction-hero,
html[data-theme] body:has(.app-portal) .app-portal .radar-vote-board,
html[data-theme] body:has(.app-portal) .app-portal .prediction-result,
html[data-theme] body:has(.app-portal) .app-portal .dashboard-command-bar,
html[data-theme] body:has(.app-portal) .app-portal .dashboard-terminal-shell {
  color: var(--lz-ink) !important;
  border: 1px solid var(--lz-border) !important;
  border-radius: var(--lz-radius) !important;
  background: var(--lz-card) !important;
  box-shadow: var(--lz-shadow) !important;
}
/* —— 内嵌小卡(排行行/迷你指标/聊天气泡)：更轻，避免双层卡过重 —— */
html[data-theme] body:has(.app-portal) .app-portal .rank-card,
html[data-theme] body:has(.app-portal) .app-portal .dashboard-mini-metric,
html[data-theme] body:has(.app-portal) .app-portal .prediction-winrate-item,
html[data-theme] body:has(.app-portal) .app-portal .chat-bubble,
html[data-theme] body:has(.app-portal) .app-portal .member-level-chip {
  border: 1px solid var(--lz-border) !important;
  border-radius: calc(var(--lz-radius) - 5px) !important;
  background: var(--lz-card-2) !important;
  box-shadow: none !important;
}
/* —— 选中态 —— */
html[data-theme] body:has(.app-portal) .app-portal .rank-card.active,
html[data-theme] body:has(.app-portal) .app-portal .community-symbol-tab.active {
  border-color: var(--lz-accent-line) !important;
}
/* —— 数字 → 等宽(卡片/面板内的粗体与报价标题；中文不受影响) —— */
html[data-theme] body:has(.app-portal) .app-portal .card b,
html[data-theme] body:has(.app-portal) .app-portal [class*="-card"] b,
html[data-theme] body:has(.app-portal) .app-portal [class*="-panel"] b,
html[data-theme] body:has(.app-portal) .app-portal .metric b,
html[data-theme] body:has(.app-portal) .app-portal .market-card h2 {
  font-family: var(--lz-mono) !important;
  letter-spacing: -.02em !important;
}
/* —— 主按钮：暖橙(明暗一致) —— */
html[data-theme] body:has(.app-portal) .app-portal .button:not(.ghost),
html[data-theme] body:has(.app-portal) .app-portal .primary,
html[data-theme] body:has(.app-portal) .app-portal button.primary,
html[data-theme] body:has(.app-portal) .app-portal .plan-button,
html[data-theme] body:has(.app-portal) .app-portal .nav-cta {
  background: linear-gradient(135deg, #ffb066 0%, #ff9125 100%) !important;
  color: #1b1208 !important;
  border-color: transparent !important;
  box-shadow: 0 12px 30px rgba(255,145,37,.28) !important;
}

/* ============================================================
   HOME 首页 — 配色对齐会员区(深靛蓝 + 科技蓝 #2E8BFF)，killalabs 硬核质感
   ============================================================ */
/* 单一无缝深色场 + 顶部一束柔和科技蓝辉光 —— 仅暗色生效(浅色用站点原浅色背景) */
html[data-theme="dark"]:has(.app-home-shell) { background: #05070e; }
html[data-theme="dark"] body:has(.app-home-shell) {
  background:
    radial-gradient(1500px 820px at 50% -300px, rgba(255,145,37,.20), transparent 70%),
    linear-gradient(180deg, #080b14 0%, #06090f 58%, #04060c 100%) !important;
}
/* 隐藏杂乱彩色光斑(明暗都不要) */
.app-home-shell .home-aura { display: none !important; }
/* 星点 canvas 只在暗色显示(浅色隐藏) */
html[data-theme="dark"] .app-home-shell .home-void-canvas { opacity: .42; }
/* 主按钮：科技蓝渐变(明暗都适用) */
.app-home-shell .home-primary {
  color: #fff !important;
  border-color: transparent !important;
  background: linear-gradient(135deg, #2e8bff 0%, #66b2ff 100%) !important;
  box-shadow: 0 14px 34px rgba(255,145,37,.42) !important;
}
.app-home-shell .home-primary:hover { box-shadow: 0 18px 46px rgba(255,145,37,.55) !important; }
/* 次按钮蓝描边(明暗都适用)；浅色文字/底仅暗色 */
.app-home-shell .home-ghost { border-color: rgba(102,178,255,.34); }
.app-home-shell .home-ghost:hover { border-color: #66b2ff; box-shadow: 0 10px 28px rgba(255,145,37,.22); }
html[data-theme="dark"] .app-home-shell .home-ghost { color: #efeaff; background: rgba(255,145,37,.06); }
html[data-theme="dark"] .app-home-shell .home-ghost:hover { color: #fff; }
/* 强调点(明暗都适用) */
.app-home-shell .home-meta i {
  background: #66b2ff;
  box-shadow: 0 0 0 6px rgba(255,145,37,.14), 0 0 26px rgba(255,145,37,.45);
}
.app-home-shell .home-status-pill .status-dot { background: #66b2ff; }
.app-home-shell .home-live-head b::before { background: #66b2ff; box-shadow: 0 0 0 5px rgba(255,145,37,.12); }
.app-home-shell .home-bagua { color: rgba(102,178,255,.5); opacity: .14; }
/* 卖点「缠论」科技蓝焦点；发光仅暗色 */
.app-home-shell .home-hero-left h1 em { font-style: normal; color: #2e8bff; }
html[data-theme="dark"] .app-home-shell .home-hero-left h1 em {
  color: #4c9eff;
  text-shadow: 0 0 28px rgba(255,145,37,.65), 0 0 6px rgba(255,145,37,.5);
}
/* 深色信息卡片仅暗色(浅色保留原浅色玻璃) */
html[data-theme="dark"] .app-home-shell .home-status-pill {
  background: rgba(12,18,32,.82);
  border-color: rgba(102,178,255,.20);
}
html[data-theme="dark"] .app-home-shell .home-live-card {
  background: rgba(10,15,27,.7);
  border-color: rgba(102,178,255,.14);
}
html[data-theme="dark"] .app-home-shell .home-meta span { color: #7fb4ff; }

/* Unified portal navigation: match the homepage glass bar everywhere after entry. */
.app-portal,
.app-admin-shell,
.app-minimal-shell {
  padding-top: 96px !important;
}
.app-portal > .topbar,
.app-admin-shell > .topbar,
.app-minimal-shell > .topbar {
  position: fixed !important;
  left: max(24px, calc((100% - 1260px) / 2)) !important;
  right: max(24px, calc((100% - 1260px) / 2)) !important;
  top: 20px !important;
  z-index: 12000 !important;
  width: auto !important;
  min-height: 56px !important;
  margin: 0 !important;
  padding: 8px 10px 8px 18px !important;
  align-items: center !important;
  overflow: hidden !important;
  border: 1px solid rgba(var(--ink-rgb,244,239,232),.10) !important;
  border-radius: 16px !important;
  color: rgba(247,244,238,.92) !important;
  background: rgba(24,20,17,.42) !important;
  box-shadow: 0 14px 36px rgba(0,0,0,.26) !important;
  backdrop-filter: blur(12px) saturate(1.8) brightness(1.12);
  -webkit-backdrop-filter: blur(12px) saturate(1.8) brightness(1.12);
  transform: none !important;
  translate: none !important;
}
.app-portal > .topbar::before,
.app-admin-shell > .topbar::before,
.app-minimal-shell > .topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255,255,255,.08), transparent 30%, rgba(255,255,255,.025) 62%, transparent),
    linear-gradient(180deg, rgba(255,255,255,.025), transparent 46%);
  mix-blend-mode: screen;
}
.app-portal > .topbar .brand,
.app-admin-shell > .topbar .brand,
.app-minimal-shell > .topbar .brand {
  position: relative;
  z-index: 1;
  gap: 9px;
  color: rgba(247,244,238,.96) !important;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
}
.app-portal > .topbar .brand::before,
.app-admin-shell > .topbar .brand::before,
.app-minimal-shell > .topbar .brand::before {
  width: 10px;
  height: 10px;
  background: #f4efe8;
  box-shadow: 0 0 0 4px rgba(255,255,255,.08), 0 0 18px rgba(255,255,255,.24);
}
.app-portal > .topbar .nav-links,
.app-admin-shell > .topbar .nav-links,
.app-minimal-shell > .topbar .nav-links {
  position: relative;
  z-index: 1;
  flex-wrap: nowrap;
  gap: 8px;
}
.app-portal > .topbar .nav-primary,
.app-portal > .topbar .nav-utility,
.app-admin-shell > .topbar .nav-primary,
.app-admin-shell > .topbar .nav-utility,
.app-minimal-shell > .topbar .nav-primary,
.app-minimal-shell > .topbar .nav-utility {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  overflow: visible;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.app-portal > .topbar .nav-links a,
.app-portal > .topbar .nav-links button,
.app-portal > .topbar .theme-toggle,
.app-portal > .topbar .alert-button,
.app-portal > .topbar .nav-avatar-link,
.app-admin-shell > .topbar .nav-links a,
.app-admin-shell > .topbar .nav-links button,
.app-admin-shell > .topbar .theme-toggle,
.app-admin-shell > .topbar .alert-button,
.app-admin-shell > .topbar .nav-avatar-link,
.app-minimal-shell > .topbar .nav-links a,
.app-minimal-shell > .topbar .nav-links button,
.app-minimal-shell > .topbar .theme-toggle,
.app-minimal-shell > .topbar .alert-button,
.app-minimal-shell > .topbar .nav-avatar-link {
  position: relative;
  z-index: 1;
  min-height: 32px !important;
  height: 32px !important;
  padding: 0 11px !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: rgba(247,244,238,.90) !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  font-size: 13px;
  font-weight: 600;
  transform: none !important;
}
.app-portal > .topbar .theme-toggle,
.app-portal > .topbar .alert-button,
.app-portal > .topbar .nav-avatar-link,
.app-admin-shell > .topbar .theme-toggle,
.app-admin-shell > .topbar .alert-button,
.app-admin-shell > .topbar .nav-avatar-link,
.app-minimal-shell > .topbar .theme-toggle,
.app-minimal-shell > .topbar .alert-button,
.app-minimal-shell > .topbar .nav-avatar-link {
  width: 32px !important;
  min-width: 32px !important;
  padding: 0 !important;
}
.app-portal > .topbar .nav-links a:hover,
.app-portal > .topbar .nav-links button:hover,
.app-portal > .topbar .theme-toggle:hover,
.app-portal > .topbar .alert-button:hover,
.app-portal > .topbar .nav-avatar-link:hover,
.app-admin-shell > .topbar .nav-links a:hover,
.app-admin-shell > .topbar .nav-links button:hover,
.app-admin-shell > .topbar .theme-toggle:hover,
.app-admin-shell > .topbar .alert-button:hover,
.app-admin-shell > .topbar .nav-avatar-link:hover,
.app-minimal-shell > .topbar .nav-links a:hover,
.app-minimal-shell > .topbar .nav-links button:hover,
.app-minimal-shell > .topbar .theme-toggle:hover,
.app-minimal-shell > .topbar .alert-button:hover,
.app-minimal-shell > .topbar .nav-avatar-link:hover {
  color: #fff !important;
  background: rgba(255,255,255,.08) !important;
}
.app-portal > .topbar .nav-links a.active,
.app-admin-shell > .topbar .nav-links a.active,
.app-minimal-shell > .topbar .nav-links a.active,
.app-portal > .topbar .nav-avatar-link.active,
.app-admin-shell > .topbar .nav-avatar-link.active,
.app-minimal-shell > .topbar .nav-avatar-link.active {
  color: #fff !important;
  background: rgba(255,255,255,.06) !important;
}
.app-portal > .topbar .desktop-nav-alert,
.app-admin-shell > .topbar .desktop-nav-alert,
.app-minimal-shell > .topbar .desktop-nav-alert,
.app-portal > .topbar .desktop-nav-profile,
.app-admin-shell > .topbar .desktop-nav-profile,
.app-minimal-shell > .topbar .desktop-nav-profile {
  position: relative;
  z-index: 1;
}
.app-portal > .topbar .nav-avatar-link .avatar-badge.nav-avatar,
.app-admin-shell > .topbar .nav-avatar-link .avatar-badge.nav-avatar,
.app-minimal-shell > .topbar .nav-avatar-link .avatar-badge.nav-avatar {
  width: 28px !important;
  height: 28px !important;
  min-height: 28px !important;
}
.app-portal > .topbar.glass-surface-native--svg,
.app-admin-shell > .topbar.glass-surface-native--svg,
.app-minimal-shell > .topbar.glass-surface-native--svg {
  background: rgba(0,0,0,0) !important;
  backdrop-filter: var(--glass-filter-id) saturate(1) !important;
  -webkit-backdrop-filter: var(--glass-filter-id) saturate(1) !important;
}
.app-home-shell:has(.redo-home-hero) > .topbar.glass-surface-native--svg,
.app-home-shell:has(.redo-home-hero) > .topbar.glass-surface-native--fallback,
.app-portal > .topbar.glass-surface-native--svg,
.app-portal > .topbar.glass-surface-native--fallback,
.app-admin-shell > .topbar.glass-surface-native--svg,
.app-admin-shell > .topbar.glass-surface-native--fallback,
.app-minimal-shell > .topbar.glass-surface-native--svg,
.app-minimal-shell > .topbar.glass-surface-native--fallback {
  border-color: rgba(var(--ink-rgb,244,239,232),.08) !important;
  background: rgba(24,20,17,.38) !important;
  box-shadow: 0 14px 34px rgba(0,0,0,.24) !important;
  backdrop-filter: blur(14px) saturate(1.35) brightness(1.04) !important;
  -webkit-backdrop-filter: blur(14px) saturate(1.35) brightness(1.04) !important;
}
.app-home-shell:has(.redo-home-hero) > .topbar.glass-surface-native--svg::before,
.app-home-shell:has(.redo-home-hero) > .topbar.glass-surface-native--fallback::before,
.app-portal > .topbar.glass-surface-native--svg::before,
.app-portal > .topbar.glass-surface-native--fallback::before,
.app-admin-shell > .topbar.glass-surface-native--svg::before,
.app-admin-shell > .topbar.glass-surface-native--fallback::before,
.app-minimal-shell > .topbar.glass-surface-native--svg::before,
.app-minimal-shell > .topbar.glass-surface-native--fallback::before {
  display: none !important;
  opacity: 0 !important;
}
.redo-home-action.glass-surface-native--svg,
.redo-home-action.glass-surface-native--fallback {
  border-color: rgba(var(--ink-rgb,244,239,232),.09) !important;
  background: rgba(24,20,17,.34) !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.24) !important;
  backdrop-filter: blur(12px) saturate(1.35) brightness(1.04) !important;
  -webkit-backdrop-filter: blur(12px) saturate(1.35) brightness(1.04) !important;
}
.redo-home-action.glass-surface-native--svg::before,
.redo-home-action.glass-surface-native--fallback::before {
  display: none !important;
  opacity: 0 !important;
}
.app-home-shell:has(.redo-home-hero) .mobile-bottom-nav,
.app-portal > .mobile-bottom-nav,
.app-admin-shell > .mobile-bottom-nav,
.app-minimal-shell > .mobile-bottom-nav {
  border-color: rgba(var(--ink-rgb,244,239,232),.08) !important;
  box-shadow: 0 16px 42px rgba(0,0,0,.34) !important;
}
.app-home-shell:has(.redo-home-hero) .mobile-bottom-nav::before,
.app-portal > .mobile-bottom-nav::before,
.app-admin-shell > .mobile-bottom-nav::before,
.app-minimal-shell > .mobile-bottom-nav::before {
  display: none !important;
  opacity: 0 !important;
}
@media (min-width: 861px) {
  .app-home-shell:has(.redo-home-hero) .topbar,
  .app-portal .topbar,
  .app-admin-shell .topbar,
  .app-minimal-shell .topbar {
    transition:
      width .42s cubic-bezier(.22,1,.36,1),
      top .38s cubic-bezier(.22,1,.36,1),
      min-height .34s ease,
      padding .34s ease,
      border-color .28s ease,
      background-color .28s ease,
      box-shadow .28s ease,
      backdrop-filter .28s ease,
      -webkit-backdrop-filter .28s ease;
  }
  .app-home-shell:has(.redo-home-hero) .topbar.is-nav-at-top,
  .app-portal .topbar.is-nav-at-top,
  .app-admin-shell .topbar.is-nav-at-top,
  .app-minimal-shell .topbar.is-nav-at-top {
    left: 50% !important;
    right: auto !important;
    width: min(1260px, calc(100% - 48px)) !important;
    transform: translateX(-50%) !important;
    top: 20px !important;
    min-height: 52px !important;
    padding: 8px 10px 8px 18px !important;
    border-color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .app-home-shell:has(.redo-home-hero) .topbar.is-nav-scrolled,
  .app-portal .topbar.is-nav-scrolled,
  .app-admin-shell .topbar.is-nav-scrolled,
  .app-minimal-shell .topbar.is-nav-scrolled {
    left: 50% !important;
    right: auto !important;
    width: min(980px, calc(100% - 48px)) !important;
    transform: translateX(-50%) !important;
    top: 16px !important;
    min-height: 48px !important;
    padding: 6px 8px 6px 16px !important;
    border-color: rgba(var(--ink-rgb,244,239,232),.09) !important;
    background: rgba(24,20,17,.42) !important;
    box-shadow: 0 14px 34px rgba(0,0,0,.24) !important;
    backdrop-filter: blur(14px) saturate(1.35) brightness(1.04) !important;
    -webkit-backdrop-filter: blur(14px) saturate(1.35) brightness(1.04) !important;
  }
  .app-home-shell:has(.redo-home-hero) .topbar.is-nav-at-top::before,
  .app-home-shell:has(.redo-home-hero) .topbar.is-nav-scrolled::before,
  .app-portal .topbar.is-nav-at-top::before,
  .app-portal .topbar.is-nav-scrolled::before,
  .app-admin-shell .topbar.is-nav-at-top::before,
  .app-admin-shell .topbar.is-nav-scrolled::before,
  .app-minimal-shell .topbar.is-nav-at-top::before,
  .app-minimal-shell .topbar.is-nav-scrolled::before {
    display: none !important;
    opacity: 0 !important;
  }
}

@media (max-width: 860px) {
  .app-portal,
  .app-admin-shell,
  .app-minimal-shell {
    padding-top: calc(84px + env(safe-area-inset-top)) !important;
  }
  .app-portal > .topbar,
  .app-admin-shell > .topbar,
  .app-minimal-shell > .topbar {
    display: block !important;
    left: calc(12px + env(safe-area-inset-left)) !important;
    right: calc(12px + env(safe-area-inset-right)) !important;
    top: calc(12px + env(safe-area-inset-top)) !important;
    min-height: 54px !important;
    padding: 7px 108px 7px 14px !important;
    border-radius: 18px !important;
    background: rgba(18,15,23,.62) !important;
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
  }
  .app-portal > .topbar .brand,
  .app-admin-shell > .topbar .brand,
  .app-minimal-shell > .topbar .brand {
    position: absolute !important;
    left: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: inline-flex;
    height: 34px;
    align-items: center;
    font-size: 16px;
  }
  .app-portal > .topbar .nav-links,
  .app-admin-shell > .topbar .nav-links,
  .app-minimal-shell > .topbar .nav-links {
    display: none !important;
  }
  .app-portal > .mobile-theme-toggle,
  .app-admin-shell > .mobile-theme-toggle,
  .app-minimal-shell > .mobile-theme-toggle {
    top: calc(20px + env(safe-area-inset-top)) !important;
    right: calc(58px + env(safe-area-inset-right)) !important;
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: rgba(247,244,238,.88) !important;
  }
  .app-portal > .mobile-nav-alert,
  .app-admin-shell > .mobile-nav-alert,
  .app-minimal-shell > .mobile-nav-alert {
    top: calc(20px + env(safe-area-inset-top)) !important;
    right: calc(18px + env(safe-area-inset-right)) !important;
  }
  .app-portal > .mobile-nav-alert .alert-button,
  .app-admin-shell > .mobile-nav-alert .alert-button,
  .app-minimal-shell > .mobile-nav-alert .alert-button {
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: rgba(247,244,238,.88) !important;
  }
  .app-portal > .mobile-theme-toggle svg,
  .app-admin-shell > .mobile-theme-toggle svg,
  .app-minimal-shell > .mobile-theme-toggle svg,
  .app-portal > .mobile-nav-alert .alert-icon svg,
  .app-admin-shell > .mobile-nav-alert .alert-icon svg,
  .app-minimal-shell > .mobile-nav-alert .alert-icon svg {
    width: 20px !important;
    height: 20px !important;
  }
}

/* Radar result cards: keep button reset styles from compressing multi-line content. */
.app-radar-shell .radar-hit-list {
  gap: 10px !important;
  padding-right: 12px;
}
.app-radar-shell .radar-hit-card {
  display: grid !important;
  grid-template-rows: auto auto auto auto;
  align-items: stretch !important;
  justify-content: stretch !important;
  width: 100%;
  min-height: 116px !important;
  height: auto !important;
  padding: 14px 16px 13px 18px !important;
  gap: 7px !important;
  overflow: visible !important;
  text-align: left !important;
  line-height: 1.2 !important;
  border-radius: 18px !important;
  white-space: normal !important;
}
.app-radar-shell button.radar-hit-card:not(.chart-signal-dot):not(.chart-popover-close) {
  border-radius: 18px !important;
  background: rgba(255,255,255,.038) !important;
  box-shadow: none !important;
}
.app-radar-shell button.radar-hit-card:not(.chart-signal-dot):not(.chart-popover-close):hover,
.app-radar-shell button.radar-hit-card:not(.chart-signal-dot):not(.chart-popover-close).is-active {
  border-color: rgba(255,145,37,.72) !important;
  background: rgba(255,145,37,.105) !important;
}
.app-radar-shell .radar-hit-card > span {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.app-radar-shell .radar-hit-meta,
.app-radar-shell .radar-hit-title,
.app-radar-shell .radar-hit-signal,
.app-radar-shell .radar-hit-chips {
  width: 100%;
}
.app-radar-shell .radar-hit-meta {
  align-items: flex-start;
}
.app-radar-shell .radar-hit-meta span {
  flex-wrap: wrap;
  row-gap: 4px;
}
.app-radar-shell .radar-hit-title {
  min-height: 22px;
}
.app-radar-shell .radar-hit-signal {
  align-items: baseline;
}
.app-radar-shell .radar-hit-signal span {
  white-space: nowrap;
}
.app-radar-shell .radar-hit-chips {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}
.app-radar-shell .radar-hit-chips span {
  min-width: 0;
}
@media (max-width: 560px) {
  .app-radar-shell .radar-hit-card {
    min-height: 122px !important;
  }
  .app-radar-shell .radar-hit-chips {
    grid-template-columns: 1fr;
  }
}

/* 3BUY portal visual system: align member pages with the home Bento language. */
.app-portal,
.app-admin-shell,
.app-minimal-shell {
  --pivot-black: #030303;
  --pivot-ink: #f4efe8;
  --pivot-muted: rgba(var(--ink-rgb,244,239,232),.62);
  --pivot-border: rgba(var(--ink-rgb,244,239,232),.13);
  --pivot-border-strong: rgba(var(--ink-rgb,244,239,232),.22);
  --pivot-panel: rgba(19,16,15,.78);
  --pivot-panel-strong: rgba(9,8,8,.94);
  --pivot-control: rgba(var(--ink-rgb,244,239,232),.065);
  --pivot-control-hover: rgba(var(--ink-rgb,244,239,232),.115);
  --pivot-active: var(--lz-accent-soft, rgba(255,255,255,.1));
  --pivot-active-border: var(--lz-accent-line, rgba(255,255,255,.28));
  --pivot-orange: var(--lz-accent, #cfcfd4);
  --pivot-green: #53d896;
  --pivot-red: #ff6a4a;
  --text: var(--pivot-ink);
  --muted: var(--pivot-muted);
  --line: var(--pivot-border);
  --line-soft: rgba(var(--ink-rgb,244,239,232),.08);
  --panel: var(--pivot-panel);
  --panel-strong: var(--pivot-panel-strong);
  --cyan: var(--pivot-orange);
  --blue: var(--pivot-orange);
  --green: var(--pivot-green);
  --red: var(--pivot-red);
  --surface-border: var(--pivot-border);
  --surface-bg: var(--pivot-panel);
  --surface-bg-strong: rgba(23,20,19,.92);
  --control-bg: var(--pivot-control);
  --control-hover: var(--pivot-control-hover);
  --control-active-bg: var(--pivot-active);
  --control-active-border: var(--pivot-active-border);
  --control-primary: var(--pivot-orange);
  --control-primary-hover: #ffad55;
  --surface-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 22px 70px rgba(0,0,0,.30);
  --control-shadow: none;
  color: var(--pivot-ink);
}

body:has(.app-portal),
body:has(.app-admin-shell),
body:has(.app-minimal-shell) {
  color: #f4efe8;
  background:
    radial-gradient(circle at 78% 4%, rgba(255,145,37,.14), transparent 32%),
    radial-gradient(circle at 16% 0%, rgba(var(--ink-rgb,244,239,232),.06), transparent 30%),
    #030303 !important;
  background-color: #030303 !important;
}

body:has(.app-portal)::before,
body:has(.app-admin-shell)::before,
body:has(.app-minimal-shell)::before {
  opacity: .26 !important;
  background:
    radial-gradient(circle, rgba(var(--ink-rgb,244,239,232),.20) 1px, transparent 1.2px),
    linear-gradient(180deg, rgba(255,145,37,.05), transparent 42%);
  background-size: 42px 42px, 100% 100%;
  background-position: center top, center;
  mask-image: radial-gradient(circle at 50% 18%, #000 0 34%, transparent 78%);
  mix-blend-mode: normal !important;
}

html[data-theme="dark"]:has(.app-portal),
html[data-theme="dark"]:has(.app-admin-shell),
html[data-theme="dark"]:has(.app-minimal-shell) {
  background: #030303 !important;
}

html[data-theme="dark"] body:has(.app-portal),
html[data-theme="dark"] body:has(.app-admin-shell),
html[data-theme="dark"] body:has(.app-minimal-shell) {
  color: #f4efe8 !important;
  background:
    radial-gradient(circle at 78% 4%, rgba(255,145,37,.14), transparent 32%),
    radial-gradient(circle at 16% 0%, rgba(var(--ink-rgb,244,239,232),.06), transparent 30%),
    #030303 !important;
  background-attachment: fixed !important;
}

html[data-theme="dark"] body:has(.app-portal)::before,
html[data-theme="dark"] body:has(.app-admin-shell)::before,
html[data-theme="dark"] body:has(.app-minimal-shell)::before {
  opacity: .26 !important;
  background:
    radial-gradient(circle, rgba(var(--ink-rgb,244,239,232),.20) 1px, transparent 1.2px),
    linear-gradient(180deg, rgba(255,145,37,.05), transparent 42%) !important;
  background-size: 42px 42px, 100% 100% !important;
  background-position: center top, center !important;
  mix-blend-mode: normal !important;
}

.app-member-shell:not(.app-home-shell):not(.app-portal):not(.app-admin-shell) > .topbar {
  left: max(24px, calc((100% - 1260px) / 2)) !important;
  right: max(24px, calc((100% - 1260px) / 2)) !important;
  width: auto !important;
  max-width: none !important;
  transform: none !important;
}

.app-portal > .topbar,
.app-admin-shell > .topbar,
.app-minimal-shell > .topbar {
  border-color: rgba(var(--ink-rgb,244,239,232),.11) !important;
  background: rgba(24,20,17,.36) !important;
  box-shadow: 0 14px 36px rgba(0,0,0,.24) !important;
  backdrop-filter: blur(14px) saturate(1.6) brightness(1.08);
  -webkit-backdrop-filter: blur(14px) saturate(1.6) brightness(1.08);
}

.app-portal > .topbar .brand,
.app-admin-shell > .topbar .brand,
.app-minimal-shell > .topbar .brand {
  color: rgba(var(--ink-rgb,244,239,232),.94) !important;
}

.app-portal > .topbar .brand::before,
.app-admin-shell > .topbar .brand::before,
.app-minimal-shell > .topbar .brand::before {
  background: #f4efe8 !important;
  box-shadow: 0 0 0 4px rgba(var(--ink-rgb,244,239,232),.08), 0 0 20px rgba(var(--ink-rgb,244,239,232),.22) !important;
}

.topbar .brand {
  gap: 0 !important;
}

.topbar .brand::before {
  content: none !important;
  display: none !important;
}

.app-portal > .topbar .nav-links a,
.app-portal > .topbar .nav-links button,
.app-portal > .topbar .theme-toggle,
.app-portal > .topbar .alert-button,
.app-portal > .topbar .nav-avatar-link,
.app-admin-shell > .topbar .nav-links a,
.app-admin-shell > .topbar .nav-links button,
.app-admin-shell > .topbar .theme-toggle,
.app-admin-shell > .topbar .alert-button,
.app-admin-shell > .topbar .nav-avatar-link,
.app-minimal-shell > .topbar .nav-links a,
.app-minimal-shell > .topbar .nav-links button,
.app-minimal-shell > .topbar .theme-toggle,
.app-minimal-shell > .topbar .alert-button,
.app-minimal-shell > .topbar .nav-avatar-link {
  color: rgba(var(--ink-rgb,244,239,232),.86) !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.app-portal > .topbar .nav-links a.active,
.app-admin-shell > .topbar .nav-links a.active,
.app-minimal-shell > .topbar .nav-links a.active,
.app-portal > .topbar .nav-links a:hover,
.app-portal > .topbar .nav-links button:hover,
.app-admin-shell > .topbar .nav-links a:hover,
.app-admin-shell > .topbar .nav-links button:hover,
.app-minimal-shell > .topbar .nav-links a:hover,
.app-minimal-shell > .topbar .nav-links button:hover {
  color: #fff !important;
  background: rgba(var(--ink-rgb,244,239,232),.08) !important;
  transform: none !important;
}

.app-portal .card,
.app-portal .metric,
.app-portal .dashboard-title-block,
.app-portal .dashboard-command-bar,
.app-portal .dashboard-chart-panel,
.app-portal .rank-panel,
.app-portal .rank-card,
.app-portal .market-sentiment-card,
.app-portal .history-digest,
.app-portal .history-digest li,
.app-portal .scan-countdown-card,
.app-portal .detail-panel,
.app-portal .analysis-panel,
.app-portal .symbol-strip,
.app-portal .funding-panel,
.app-portal .score-percent-card,
.app-portal .strategy-judgement-card,
.app-portal .community-market-head,
.app-portal .community-chat-panel,
.app-portal .community-chat-head,
.app-portal .community-score-head,
.app-portal .community-score-empty,
.app-portal .community-status-line,
.app-portal .community-score-grid .minimal-score-card,
.app-portal .chat-rules-card,
.app-portal .chat-system-card,
.app-portal .chat-list,
.app-portal .chat-compose,
.app-portal .chat-bubble,
.app-portal .plan-card,
.app-portal .profile-card,
.app-portal .avatar-setting-card,
.app-portal .avatar-modal-panel,
.app-portal .email-alert-card,
.app-radar-shell .radar-hero,
.app-radar-shell .radar-results-card,
.app-radar-shell .radar-chart-card,
.app-radar-shell .radar-detail-grid p,
.app-admin-shell .card,
.app-admin-shell .admin-guard-card,
.app-admin-shell .admin-shortcut-card,
.app-admin-shell .server-action-card,
.app-minimal-shell .card,
.app-minimal-shell .auth-card {
  border-color: var(--pivot-border) !important;
  border-radius: 22px !important;
  background:
    linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.018)),
    var(--pivot-panel) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 22px 70px rgba(0,0,0,.30) !important;
  backdrop-filter: blur(18px) saturate(1.16);
  -webkit-backdrop-filter: blur(18px) saturate(1.16);
}

.app-portal .dashboard-title-block h1,
.app-portal .community-market-head h1,
.app-radar-shell .radar-hero h1,
.app-portal .page-head h1,
.app-portal .detail-header h2,
.app-portal .analysis-panel h2,
.app-portal .community-score-head h2,
.app-portal .plan-card h2,
.app-portal .profile-card b,
.app-minimal-shell .auth-card h1 {
  font-family: "Noto Serif TC", "Source Han Serif TC", "Noto Serif CJK TC", "Songti TC", "PMingLiU", "MingLiU", "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif !important;
  color: var(--pivot-ink) !important;
  font-weight: 650 !important;
  letter-spacing: .01em !important;
}

.app-portal .dashboard-title-block .eyebrow,
.app-portal .community-market-head .eyebrow,
.app-radar-shell .radar-hero .eyebrow,
.app-portal .community-score-head span,
.app-portal .screen-top span,
.app-portal .dashboard-mini-metric span,
.app-portal .chat-system-top span,
.app-portal .chat-rules-card b {
  color: rgba(var(--ink-rgb,244,239,232),.56) !important;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.app-portal .muted,
.app-portal .head-meta,
.app-portal .screen-top,
.app-portal .rank-card small,
.app-portal .rank-card em,
.app-portal .history-digest small,
.app-portal .history-digest li small,
.app-portal .community-market-head p,
.app-portal .chat-system-card p,
.app-portal .chat-rules-card li,
.app-radar-shell .radar-hero p,
.app-radar-shell .radar-status,
.app-radar-shell .radar-hit-title small,
.app-radar-shell .radar-hit-meta i,
.app-radar-shell .radar-hit-meta em,
.app-radar-shell .radar-hit-chips span,
.app-radar-shell .radar-detail-grid span {
  color: var(--pivot-muted) !important;
}

.app-portal .button,
.app-portal button:not(.chart-signal-dot):not(.chart-popover-close):not(.radar-hit-card):not(.radar-bubble):not(.radar-watch-bubble):not(.radar-focus-action-button):not(.wealth-daily-day):not(.primary):not(.nav-cta):not(.plan-button):not(.toggle-btn),
.app-portal .nav-links a,
.app-portal .nav-links button,
.app-portal .theme-toggle,
.app-portal .alert-button,
.app-portal .symbol-tab,
.app-portal .community-symbol-tab,
.app-portal .symbol-choice,
.app-portal .symbol-add-toggle,
.app-portal .asset-main,
.app-portal .asset-remove,
.app-radar-shell .radar-controls label,
.app-radar-shell .radar-check,
.app-radar-shell .radar-controls select,
.app-radar-shell .radar-controls button,
.app-minimal-shell .button,
.app-minimal-shell button:not(.chart-signal-dot):not(.chart-popover-close):not(.toggle-btn) {
  border-color: var(--lz-border, rgba(var(--ink-rgb,244,239,232),.10)) !important;
  color: var(--lz-muted, rgba(var(--ink-rgb,244,239,232),.88)) !important;
  background: var(--lz-card-2, rgba(var(--ink-rgb,244,239,232),.055)) !important;
  box-shadow: none !important;
}

.app-portal select,
.app-radar-shell .radar-controls select {
  color-scheme: dark;
}

.app-portal select option,
.app-portal select optgroup,
.app-radar-shell .radar-controls select option,
.app-radar-shell .radar-controls select optgroup {
  color: rgba(var(--ink-rgb,244,239,232),.92);
  background-color: #211b17;
}

.app-portal select option:checked,
.app-radar-shell .radar-controls select option:checked {
  color: #18181b;
  background-color: #e6e6ea;
}

.app-portal .button:hover,
.app-portal button:not(.chart-signal-dot):not(.chart-popover-close):not(.radar-hit-card):not(.radar-bubble):not(.radar-watch-bubble):not(.radar-focus-action-button):not(.wealth-daily-day):not(.toggle-btn):hover,
.app-portal .symbol-tab:hover,
.app-portal .community-symbol-tab:hover,
.app-portal .asset-main:hover,
.app-radar-shell .radar-controls label:hover,
.app-radar-shell .radar-check:hover,
.app-radar-shell .radar-controls button:hover {
  border-color: rgba(255,145,37,.28) !important;
  background: rgba(255,145,37,.10) !important;
  transform: translateY(-1px);
}

.app-portal .primary,
.app-portal button.primary:not(.chart-signal-dot):not(.chart-popover-close),
.app-portal .button.primary,
.app-portal .plan-button,
.app-portal .community-chat-panel .chat-compose button,
.app-radar-shell .radar-controls .primary {
  color: #1b1208 !important;
  border-color: rgba(255,145,37,.35) !important;
  background: #ff9125 !important;
  box-shadow: 0 14px 34px rgba(255,145,37,.16) !important;
}

.app-portal .symbol-tab.active,
.app-portal .rank-card.active,
.app-portal .community-symbol-tab.active,
.app-radar-shell .radar-hit-card.is-active {
  border-color: var(--pivot-active-border) !important;
  background:
    linear-gradient(145deg, rgba(255,145,37,.20), rgba(255,255,255,.018)),
    rgba(24,20,17,.82) !important;
  box-shadow: inset 0 0 0 1px rgba(255,145,37,.18), 0 18px 54px rgba(0,0,0,.30) !important;
}

.app-dashboard-shell .dashboard-terminal-shell {
  gap: 18px;
}

.app-dashboard-shell .dashboard-title-block h1 {
  font-size: clamp(34px, 3.6vw, 58px) !important;
  line-height: 1.02;
}

.app-dashboard-shell .dashboard-command-bar {
  gap: 14px;
  padding: 14px;
}

.app-dashboard-shell .dashboard-chart-panel {
  overflow: hidden;
}

.app-dashboard-shell .dashboard-chart-panel .screen-top,
.app-portal .history-digest .screen-top,
.app-portal .rank-panel .screen-top,
.app-portal .market-sentiment-card .screen-top,
.app-radar-shell .radar-chart-head {
  border-color: rgba(var(--ink-rgb,244,239,232),.09) !important;
  background: transparent !important;
}

.app-dashboard-shell .dashboard-chart-panel .local-kline-frame,
.app-community-shell .community-chart-card .local-kline-frame,
.app-radar-shell .radar-chart-wrap {
  border-color: rgba(var(--ink-rgb,244,239,232),.08) !important;
  border-radius: 18px !important;
  background: #050507 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04) !important;
}

.app-dashboard-shell .rank-card {
  min-height: 92px;
  padding: 16px 18px 16px 22px !important;
  border-radius: 22px !important;
}

.app-dashboard-shell .rank-card::before,
.app-radar-shell .radar-hit-card::before {
  border-radius: 999px;
}

.app-dashboard-shell .rank-card strong,
.app-dashboard-shell .rank-card > b,
.app-dashboard-shell .dashboard-mini-metric b,
.app-dashboard-shell .detail-score b,
.app-portal .community-score-head strong,
.app-portal .minimal-score-main strong,
.app-radar-shell .radar-chart-head b {
  color: var(--pivot-ink) !important;
}

.app-dashboard-shell .rank-card.tier-high::before,
.app-radar-shell .radar-hit-card.is-buy::before {
  background: var(--pivot-green) !important;
}

.app-dashboard-shell .rank-card.tier-mid::before {
  background: #63b3ff !important;
}

.app-dashboard-shell .rank-card.tier-low::before,
.app-radar-shell .radar-hit-card.is-sell::before {
  background: var(--pivot-red) !important;
}

.app-dashboard-shell .symbol-strip {
  padding: 10px;
}

.app-dashboard-shell .symbol-strip-title {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  padding: 1px 2px 2px;
}

.app-dashboard-shell .symbol-strip-title span {
  color: rgba(var(--ink-rgb,244,239,232),.88);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: .02em;
  white-space: nowrap;
}

.app-dashboard-shell .symbol-strip-title small {
  min-width: 0;
  overflow: hidden;
  color: rgba(var(--ink-rgb,244,239,232),.48);
  font-size: 11px;
  font-weight: 580;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-dashboard-shell .symbol-strip .symbol-tab,
.app-dashboard-shell .symbol-strip .asset-main {
  border-radius: 16px !important;
}

.app-dashboard-shell .symbol-strip .symbol-tab {
  overflow: hidden;
  transition: border-color .18s ease, background .18s ease;
}

.app-dashboard-shell .symbol-strip .asset-main {
  grid-template-columns: 28px minmax(0, 1fr) !important;
  justify-items: start;
  text-align: left;
  padding: 8px 10px !important;
  background: transparent !important;
}

.app-dashboard-shell .symbol-strip .asset-copy {
  display: grid !important;
  gap: 4px;
  min-width: 0;
  opacity: 1;
  visibility: visible;
}

.app-dashboard-shell .symbol-strip .asset-main b,
.app-dashboard-shell .symbol-strip .asset-main small {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-dashboard-shell .symbol-strip .asset-main b {
  color: var(--pivot-ink) !important;
  font-size: 13px;
  line-height: 1;
}

.app-dashboard-shell .symbol-strip .asset-main small {
  color: rgba(var(--ink-rgb,244,239,232),.58) !important;
  font-size: 10px;
  line-height: 1;
}

.app-dashboard-shell .symbol-strip .asset-remove {
  position: absolute;
  top: 50%;
  right: 7px;
  z-index: 3;
  width: auto !important;
  min-width: 42px !important;
  height: 24px !important;
  min-height: 24px !important;
  margin: 0 !important;
  padding: 0 9px !important;
  border-radius: 999px !important;
  color: rgba(var(--ink-rgb,244,239,232),.86) !important;
  background: rgba(8,7,7,.74) !important;
  border-color: rgba(var(--ink-rgb,244,239,232),.16) !important;
  box-shadow: 0 10px 22px rgba(0,0,0,.28) !important;
  font-size: 11px !important;
  font-weight: 660;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translate(8px, -50%);
  transition: opacity .16s ease, transform .16s ease, background .16s ease, border-color .16s ease;
}

.app-dashboard-shell .symbol-strip .symbol-tab:hover .asset-remove,
.app-dashboard-shell .symbol-strip .symbol-tab:focus-within .asset-remove {
  opacity: 1;
  pointer-events: auto;
  transform: translate(0, -50%);
}

.app-dashboard-shell .symbol-strip .asset-remove:hover,
.app-dashboard-shell .symbol-strip .asset-remove:focus-visible {
  color: #fff !important;
  background: rgba(255,106,74,.82) !important;
  border-color: rgba(255,106,74,.88) !important;
  transform: translate(0, -50%);
}

.app-dashboard-shell .symbol-strip .symbol-add-picker .symbol-add-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.app-dashboard-shell .symbol-strip .symbol-add-picker .symbol-add-toggle::before {
  content: "+";
  font-size: 18px;
  font-weight: 760;
  line-height: 1;
}

.app-dashboard-shell .symbol-strip .symbol-add-picker .symbol-add-toggle::after {
  content: "添加";
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.app-dashboard-shell .detail-sync-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin: -2px 0 14px;
  padding: 12px 14px;
  border: 1px solid rgba(var(--ink-rgb,244,239,232),.09);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(var(--ink-rgb,244,239,232),.045), rgba(var(--ink-rgb,244,239,232),.018)),
    rgba(12,10,9,.32);
}

.app-dashboard-shell .detail-sync-row b,
.app-dashboard-shell .detail-sync-row span,
.app-dashboard-shell .detail-sync-row small {
  display: block;
}

.app-dashboard-shell .detail-sync-row b {
  color: rgba(var(--ink-rgb,244,239,232),.90);
  font-size: 13px;
  font-weight: 760;
}

.app-dashboard-shell .detail-sync-row span {
  margin-top: 4px;
  color: rgba(var(--ink-rgb,244,239,232),.58);
  font-size: 12px;
  line-height: 1.5;
}

.app-dashboard-shell .detail-sync-row [data-sync-feedback] {
  min-height: 16px;
  margin-top: 5px;
  color: #f4c36a;
  font-size: 11px;
}

.app-dashboard-shell .detail-sync-button {
  display: grid;
  gap: 2px;
  min-width: 112px;
  min-height: 44px;
  padding: 8px 14px !important;
  border: 1px solid rgba(244,195,106,.28) !important;
  border-radius: 999px !important;
  color: rgba(var(--ink-rgb,244,239,232),.94) !important;
  background:
    linear-gradient(180deg, rgba(126,86,30,.36), rgba(31,24,17,.62)),
    rgba(18,15,13,.78) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08) !important;
}

.app-dashboard-shell .detail-sync-button strong,
.app-dashboard-shell .detail-sync-button small {
  display: block;
  line-height: 1.05;
}

.app-dashboard-shell .detail-sync-button strong {
  font-size: 13px;
  font-weight: 780;
}

.app-dashboard-shell .detail-sync-button small {
  color: rgba(var(--ink-rgb,244,239,232),.58);
  font-size: 10px;
  font-weight: 620;
}

.app-dashboard-shell .detail-sync-button:disabled {
  color: rgba(var(--ink-rgb,244,239,232),.42) !important;
  border-color: rgba(var(--ink-rgb,244,239,232),.10) !important;
  background: rgba(var(--ink-rgb,244,239,232),.035) !important;
  cursor: not-allowed;
}

@media (min-width: 1501px) {
  .app-dashboard-shell .symbol-strip .asset-main {
    grid-template-columns: 22px minmax(0, 1fr) !important;
    gap: 6px;
    padding: 7px 7px !important;
  }
  .app-dashboard-shell .symbol-strip .asset-icon {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    min-height: 22px !important;
  }
  .app-dashboard-shell .symbol-strip .asset-main b {
    font-size: 11px;
  }
  .app-dashboard-shell .symbol-strip .asset-main small {
    font-size: 9px;
  }
}

@media (max-width: 860px) {
  .app-dashboard-shell .symbol-strip-title {
    display: none;
  }
  .app-dashboard-shell .symbol-strip .symbol-add-picker .symbol-add-toggle::after {
    content: "";
  }
  .app-dashboard-shell .detail-sync-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
  }
  .app-dashboard-shell .detail-sync-button {
    width: 100%;
    min-height: 42px;
  }
}

@media (min-width: 1501px) and (min-height: 780px) {
  body:has(.app-dashboard-shell) {
    overflow: hidden;
  }

  .app-dashboard-shell.app-portal {
    width: min(2040px, calc(100vw - 64px));
    height: 100svh;
    min-height: 0;
    padding: 18px 0 14px;
    overflow: hidden;
  }

  .app-dashboard-shell.app-portal > .topbar {
    flex: 0 0 auto;
    min-height: 44px;
    margin-bottom: 14px;
  }

  .app-dashboard-shell .dashboard-terminal-shell {
    height: calc(100svh - 110px);
    min-height: 0;
    grid-template-columns: minmax(292px, 330px) minmax(0, 1fr) minmax(330px, 390px);
    gap: 14px;
    align-items: stretch;
  }

  .app-dashboard-shell .dashboard-center,
  .app-dashboard-shell .dashboard-left-rail,
  .app-dashboard-shell .dashboard-right-rail {
    min-height: 0;
    height: 100%;
    gap: 12px;
  }

  .app-dashboard-shell .dashboard-center {
    display: grid;
    grid-template-rows: auto minmax(330px, 1fr) minmax(118px, 144px);
  }

  .app-dashboard-shell .dashboard-left-rail {
    grid-template-rows: minmax(0, calc(100% - 286px)) 274px;
  }

  .app-dashboard-shell .dashboard-right-rail {
    grid-template-rows: auto 228px minmax(0, 1fr);
  }

  .app-dashboard-shell .dashboard-command-bar {
    gap: 10px;
    padding: 12px;
    margin-bottom: 0;
    border-radius: 20px;
  }

  .app-dashboard-shell .dashboard-title-block {
    min-height: 68px;
    padding: 10px 14px;
    border-radius: 18px;
  }

  .app-dashboard-shell .dashboard-title-block h1 {
    margin: 1px 0 4px;
    font-size: clamp(34px, 2.6vw, 48px) !important;
    line-height: .98;
  }

  .app-dashboard-shell .dashboard-title-block .eyebrow {
    font-size: 10px;
  }

  .app-dashboard-shell .dashboard-title-block .head-meta {
    gap: 10px;
    font-size: 12px;
  }

  .app-dashboard-shell .symbol-strip {
    min-height: 58px;
    padding: 8px;
    border-radius: 18px;
  }

  .app-dashboard-shell .symbol-strip .symbol-tabs {
    gap: 6px;
  }

  .app-dashboard-shell .symbol-strip .symbol-tab {
    min-width: 74px;
    min-height: 46px;
    border-radius: 12px !important;
  }

  .app-dashboard-shell .symbol-strip .asset-main {
    min-height: 46px;
    grid-template-columns: 21px minmax(0, 1fr) !important;
    gap: 5px;
    padding: 6px 7px !important;
  }

  .app-dashboard-shell .symbol-strip .asset-icon {
    width: 21px !important;
    height: 21px !important;
    min-width: 21px !important;
    min-height: 21px !important;
  }

  .app-dashboard-shell .symbol-strip .asset-main b {
    font-size: 11px !important;
  }

  .app-dashboard-shell .symbol-strip .asset-main small {
    font-size: 9px !important;
  }

  .app-dashboard-shell .symbol-strip .symbol-add-picker .symbol-add-toggle {
    min-height: 46px !important;
    border-radius: 12px !important;
    font-size: 22px !important;
    line-height: 1 !important;
  }

  .app-dashboard-shell .symbol-strip .symbol-add-picker .symbol-add-toggle::before {
    content: none !important;
  }

  .app-dashboard-shell .dashboard-chart-panel,
  .app-dashboard-shell .dashboard-center .detail-panel,
  .app-dashboard-shell .rank-panel,
  .app-dashboard-shell .history-digest,
  .app-dashboard-shell .countdown-card {
    min-height: 0;
  }

  .app-dashboard-shell .rank-card,
  .app-dashboard-shell .dashboard-mini-metric,
  .app-dashboard-shell .history-digest li,
  .app-dashboard-shell .analysis-list div {
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .app-dashboard-shell .dashboard-chart-panel {
    display: grid;
    grid-template-rows: 42px minmax(0, 1fr);
    border-radius: 20px !important;
  }

  .app-dashboard-shell .dashboard-chart-panel .screen-top {
    min-height: 42px;
    padding: 10px 16px 8px;
  }

  .app-dashboard-shell .dashboard-chart-panel .local-kline-frame {
    height: 100% !important;
    min-height: 0;
    border-radius: 14px !important;
  }

  .app-dashboard-shell .local-kline-toolbar {
    top: 8px;
    left: 10px;
    padding: 0;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .app-dashboard-shell .local-kline-toolbar > button[data-kline-bucket] {
    display: none;
  }

  .app-dashboard-shell .local-kline-period-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 24px;
    padding: 0 10px !important;
    font-size: 11px;
    border: 1px solid var(--surface-border) !important;
    background: var(--control-bg) !important;
    box-shadow: var(--control-shadow) !important;
  }

  .app-dashboard-shell .local-kline-period-toggle i {
    font-style: normal;
    opacity: .7;
  }

  .app-dashboard-shell .local-kline-period-menu {
    position: absolute;
    top: 32px;
    left: 0;
    z-index: 12;
    display: grid;
    grid-template-columns: repeat(2, minmax(58px, 1fr));
    gap: 6px;
    min-width: 146px;
    padding: 8px;
    border: 1px solid var(--surface-border);
    border-radius: 14px;
    background: var(--panel);
    box-shadow: 0 14px 36px rgba(15,23,42,.16);
  }

  .app-dashboard-shell .local-kline-period-menu[hidden] {
    display: none;
  }

  .app-dashboard-shell .local-kline-period-menu button {
    min-height: 28px;
    padding: 0 8px !important;
    font-size: 11px;
  }

  .app-dashboard-shell .score-detail-stack {
    min-height: 0;
    overflow: hidden;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .app-dashboard-shell .score-detail-stack > .detail-panel:not([hidden]) {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    height: 100%;
    margin-top: 0;
    padding: 12px 16px;
    overflow: hidden;
    border-radius: 20px !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .app-dashboard-shell .detail-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    margin-bottom: 8px;
    padding-bottom: 8px;
  }

  .app-dashboard-shell .detail-header .eyebrow {
    font-size: 10px;
  }

  .app-dashboard-shell .detail-header h2 {
    margin: 2px 0 0;
    font-size: 28px;
    line-height: 1;
  }

  .app-dashboard-shell .detail-header h2 small {
    font-size: 12px;
  }

  .app-dashboard-shell .detail-score b {
    font-size: 42px;
  }

  .app-dashboard-shell .current-detail-grid {
    min-height: 0;
    grid-template-columns: .9fr 1.1fr;
    gap: 10px;
  }

  .app-dashboard-shell .score-percent-card,
  .app-dashboard-shell .strategy-judgement-card {
    min-height: 0;
    padding: 10px;
    border-radius: 14px !important;
    overflow: hidden;
  }

  .app-dashboard-shell .score-percent-card h4,
  .app-dashboard-shell .strategy-judgement-card h4 {
    margin-bottom: 6px;
    font-size: 11px;
  }

  .app-dashboard-shell .percent-row {
    padding: 6px 0;
    grid-template-columns: minmax(90px, 1fr) 52px;
  }

  .app-dashboard-shell .percent-row small {
    display: block;
    margin-top: 1px;
    font-size: 10px;
    line-height: 1.15;
  }

  .app-dashboard-shell .percent-row b {
    font-size: 18px;
  }

  .app-dashboard-shell .strategy-state-line,
  .app-dashboard-shell .compact-flags {
    margin-bottom: 8px;
  }

  .app-dashboard-shell .strategy-judgement-card p {
    display: -webkit-box;
    margin-bottom: 8px;
    overflow: hidden;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .app-dashboard-shell .rank-panel {
    display: grid;
    grid-template-rows: 50px minmax(0, 1fr);
    overflow: hidden;
    border-radius: 20px !important;
  }

  .app-dashboard-shell .rank-panel .screen-top {
    min-height: 50px;
    padding: 12px 14px 10px;
  }

  .app-dashboard-shell .rank-list {
    gap: 5px;
    min-height: 0;
    padding: 6px 8px 8px;
    overflow: hidden;
  }

  .app-dashboard-shell .rank-card {
    min-height: 0;
    height: clamp(45px, calc((100svh - 354px) / 10), 54px);
    grid-template-columns: 36px minmax(0, 1fr) auto;
    gap: 1px 7px;
    padding: 7px 10px 7px 14px !important;
    border-radius: 14px !important;
  }

  .app-dashboard-shell .rank-card::before {
    inset: 8px auto 8px 0;
  }

  .app-dashboard-shell .rank-num,
  .app-dashboard-shell .rank-card small,
  .app-dashboard-shell .rank-card em {
    font-size: 10px;
  }

  .app-dashboard-shell .rank-card strong {
    font-size: 14px;
  }

  .app-dashboard-shell .rank-card > b {
    font-size: 19px;
  }

  .app-dashboard-shell .market-sentiment-card {
    min-height: 0;
    gap: 10px;
    padding: 0 14px 12px;
    border-radius: 20px !important;
  }

  .app-dashboard-shell .market-sentiment-card .screen-top {
    margin: 0 -14px;
    padding: 10px 16px 8px;
  }

  .app-dashboard-shell .market-sentiment-card .screen-top b {
    font-size: 20px;
  }

  .app-dashboard-shell .sentiment-meter {
    height: 9px;
  }

  .app-dashboard-shell .sentiment-meter i {
    width: 14px;
    height: 14px;
    border-width: 2px;
  }

  .app-dashboard-shell .sentiment-main strong {
    font-size: 25px;
    line-height: 1;
  }

  .app-dashboard-shell .sentiment-main small,
  .app-dashboard-shell .sentiment-foot {
    display: flex;
  }

  .app-dashboard-shell .funding-panel {
    display: grid;
    gap: 6px;
    padding: 10px;
    border-radius: 14px;
  }

  .app-dashboard-shell .funding-head b {
    font-size: 18px;
  }

  .app-dashboard-shell .funding-head span,
  .app-dashboard-shell .funding-head em,
  .app-dashboard-shell .funding-meta {
    font-size: 11px;
  }

  .app-dashboard-shell .dashboard-metric-grid {
    gap: 8px;
  }

  .app-dashboard-shell .dashboard-mini-metric {
    min-height: 88px;
    padding: 12px;
    border-radius: 18px !important;
  }

  .app-dashboard-shell .dashboard-mini-metric b {
    font-size: 30px;
  }

  .app-dashboard-shell .countdown-card {
    display: grid;
    grid-template-rows: 42px minmax(132px, 1fr) auto;
    border-radius: 20px !important;
    overflow: hidden;
  }

  .app-dashboard-shell .countdown-card .screen-top {
    min-height: 42px;
    padding: 10px 14px 8px;
  }

  .app-dashboard-shell .countdown-face {
    min-height: 0;
    padding: 14px 12px 12px;
    gap: 6px;
    align-content: center;
  }

  .app-dashboard-shell .tetris-hourglass {
    width: 146px;
    height: 158px;
    margin: 2px auto 0;
    padding: 8px 6px;
    transform: none;
    transform-origin: center;
  }

  .app-dashboard-shell .tetris-hourglass::before {
    inset: 16px 22px;
  }

  .app-dashboard-shell .tetris-frame-node {
    transform-box: fill-box;
    transform-origin: center;
    transform: scale(.7);
  }

  .app-dashboard-shell .tetris-chamber {
    width: 96px;
    height: 57px;
  }

  .app-dashboard-shell .tetris-grid {
    grid-template-columns: repeat(8, 6px);
    grid-auto-rows: 6px;
    gap: 3px;
  }

  .app-dashboard-shell .tetris-cell {
    width: 6px;
    height: 6px;
    border-radius: 1.5px;
  }

  .app-dashboard-shell .tetris-stream {
    width: 42px;
    height: 24px;
    margin: -3px 0;
  }

  .app-dashboard-shell .tetris-stream::before {
    width: 3px;
  }

  .app-dashboard-shell .tetris-falling-grain {
    width: 6px;
    height: 6px;
    margin-left: -3px;
    border-radius: 1.5px;
  }

  .app-dashboard-shell .countdown-meta {
    padding: 0 12px 10px;
  }

  .app-dashboard-shell .countdown-face small {
    margin-top: 0;
    font-size: 11px;
  }

  .app-dashboard-shell .history-digest {
    display: grid;
    grid-template-rows: 44px minmax(0, 1fr);
    border-radius: 20px !important;
  }

  .app-dashboard-shell .history-digest .screen-top {
    min-height: 44px;
    padding: 9px 12px;
  }

  .app-dashboard-shell .history-digest-head {
    grid-template-columns: auto minmax(82px, 1fr) auto;
  }

  .app-dashboard-shell .history-symbol-filter {
    height: 28px;
    font-size: 11px;
  }

  .app-dashboard-shell .history-digest ul {
    max-height: none;
    min-height: 0;
    gap: 6px;
    padding: 8px;
    overflow-y: auto;
  }

  .app-dashboard-shell .history-digest li {
    padding: 8px;
    border-radius: 12px;
  }

  .app-dashboard-shell .history-digest li.history-trade-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
    align-items: stretch;
  }

  .app-dashboard-shell .history-row {
    gap: 6px;
  }

  .app-dashboard-shell .history-row-top {
    grid-template-columns: 54px minmax(0, 1fr) auto;
  }

  .app-dashboard-shell .history-entry {
    padding: 5px 7px;
  }

  .app-dashboard-shell .history-entry.gated-price-plan span,
  .app-dashboard-shell .history-levels span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .app-dashboard-shell .history-levels {
    display: none;
  }

  .app-dashboard-shell .history-result mark {
    padding: 3px 6px;
    font-size: 10px;
  }

  .app-dashboard-shell .history-digest li span,
  .app-dashboard-shell .history-digest li small {
    font-size: 10px;
  }

  .app-dashboard-shell .history-digest li b {
    font-size: 13px;
  }

  .app-dashboard-shell .risk-reminder-strip {
    display: none;
  }
}

.app-member-shell .nav-profile-menu,
.app-portal > .topbar .nav-profile-menu,
.app-admin-shell > .topbar .nav-profile-menu,
.app-minimal-shell > .topbar .nav-profile-menu {
  position: relative;
  z-index: 2300;
}

.app-member-shell .topbar,
.app-member-shell .topbar .nav-links,
.app-member-shell .topbar .nav-primary,
.app-member-shell .topbar .nav-utility,
.app-member-shell .nav-profile-menu,
.app-portal > .topbar,
.app-portal > .topbar .nav-links,
.app-portal > .topbar .nav-primary,
.app-portal > .topbar .nav-utility,
.app-portal > .topbar .nav-profile-menu,
.app-admin-shell > .topbar,
.app-admin-shell > .topbar .nav-links,
.app-admin-shell > .topbar .nav-primary,
.app-admin-shell > .topbar .nav-utility,
.app-admin-shell > .topbar .nav-profile-menu,
.app-minimal-shell > .topbar,
.app-minimal-shell > .topbar .nav-links,
.app-minimal-shell > .topbar .nav-primary,
.app-minimal-shell > .topbar .nav-utility,
.app-minimal-shell > .topbar .nav-profile-menu {
  overflow: visible !important;
}

.app-member-shell .nav-profile-dropdown,
.app-portal > .topbar .nav-profile-dropdown,
.app-admin-shell > .topbar .nav-profile-dropdown,
.app-minimal-shell > .topbar .nav-profile-dropdown {
  z-index: 2400;
  border-color: rgba(var(--ink-rgb,244,239,232),.12) !important;
  background: rgba(18,16,15,.92) !important;
  box-shadow: 0 20px 54px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.08) !important;
}

.app-member-shell .nav-profile-dropdown a,
.app-member-shell .nav-profile-dropdown button,
.app-portal > .topbar .nav-profile-dropdown a,
.app-portal > .topbar .nav-profile-dropdown button,
.app-admin-shell > .topbar .nav-profile-dropdown a,
.app-admin-shell > .topbar .nav-profile-dropdown button,
.app-minimal-shell > .topbar .nav-profile-dropdown a,
.app-minimal-shell > .topbar .nav-profile-dropdown button {
  min-height: 34px !important;
  height: auto !important;
  width: 100% !important;
  padding: 0 10px !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: rgba(247,244,238,.86) !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: left;
}

.app-member-shell .nav-profile-dropdown a:hover,
.app-member-shell .nav-profile-dropdown button:hover,
.app-member-shell .nav-profile-dropdown a:focus-visible,
.app-member-shell .nav-profile-dropdown button:focus-visible,
.app-portal > .topbar .nav-profile-dropdown a:hover,
.app-portal > .topbar .nav-profile-dropdown button:hover,
.app-portal > .topbar .nav-profile-dropdown a:focus-visible,
.app-portal > .topbar .nav-profile-dropdown button:focus-visible,
.app-admin-shell > .topbar .nav-profile-dropdown a:hover,
.app-admin-shell > .topbar .nav-profile-dropdown button:hover,
.app-admin-shell > .topbar .nav-profile-dropdown a:focus-visible,
.app-admin-shell > .topbar .nav-profile-dropdown button:focus-visible,
.app-minimal-shell > .topbar .nav-profile-dropdown a:hover,
.app-minimal-shell > .topbar .nav-profile-dropdown button:hover,
.app-minimal-shell > .topbar .nav-profile-dropdown a:focus-visible,
.app-minimal-shell > .topbar .nav-profile-dropdown button:focus-visible {
  color: #fff !important;
  background: rgba(255,255,255,.08) !important;
  transform: none !important;
}

.app-home-shell:has(.redo-home-hero) .topbar .brand,
.app-home-shell:has(.redo-home-hero) .topbar .nav-primary a,
.app-home-shell:has(.redo-home-hero) .topbar .nav-primary button,
.app-portal > .topbar .brand,
.app-portal > .topbar .nav-primary a,
.app-portal > .topbar .nav-primary button,
.app-admin-shell > .topbar .brand,
.app-admin-shell > .topbar .nav-primary a,
.app-admin-shell > .topbar .nav-primary button,
.app-minimal-shell > .topbar .brand,
.app-minimal-shell > .topbar .nav-primary a,
.app-minimal-shell > .topbar .nav-primary button {
  font-family: "Noto Serif TC", "Source Han Serif TC", "Noto Serif CJK TC", "Songti TC", "PMingLiU", "MingLiU", "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif !important;
  font-weight: 620 !important;
  letter-spacing: .02em !important;
}

.app-dashboard-shell .scan-countdown-card .screen-top b,
.app-portal .good,
.app-radar-shell .radar-hit-card.is-buy b {
  color: var(--pivot-green) !important;
}

.app-radar-shell .radar-page,
.app-community-shell .community-market-shell,
.app-dashboard-shell .dashboard-terminal-shell {
  position: relative;
  z-index: 1;
}

.app-home-shell:has(.redo-home-hero) .nav-links a,
.app-home-shell:has(.redo-home-hero) .nav-links button {
  font-weight: 620 !important;
  letter-spacing: .02em;
}

.app-home-shell:has(.redo-home-hero) .topbar,
.app-home-shell:has(.redo-home-hero) .topbar .brand,
.app-home-shell:has(.redo-home-hero) .topbar .nav-links a,
.app-home-shell:has(.redo-home-hero) .topbar .nav-links button,
.app-home-shell:has(.redo-home-hero) .topbar .theme-toggle {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif !important;
}

.app-home-shell:has(.redo-home-hero) .topbar .brand {
  font-size: 18px !important;
  font-weight: 660 !important;
  letter-spacing: 0 !important;
}

.app-home-shell:has(.redo-home-hero) .topbar .nav-links a,
.app-home-shell:has(.redo-home-hero) .topbar .nav-links button {
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}

.app-portal > .topbar .brand,
.app-admin-shell > .topbar .brand,
.app-minimal-shell > .topbar .brand {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif !important;
  font-size: 18px !important;
  font-weight: 660 !important;
  letter-spacing: 0 !important;
}

.app-home-shell:has(.redo-home-hero) > .topbar.glass-surface-native--svg,
.app-home-shell:has(.redo-home-hero) > .topbar.is-nav-at-top.glass-surface-native--svg,
.app-home-shell:has(.redo-home-hero) > .topbar.is-nav-scrolled.glass-surface-native--svg,
.app-portal > .topbar.glass-surface-native--svg,
.app-portal > .topbar.is-nav-at-top.glass-surface-native--svg,
.app-portal > .topbar.is-nav-scrolled.glass-surface-native--svg,
.app-admin-shell > .topbar.glass-surface-native--svg,
.app-admin-shell > .topbar.is-nav-at-top.glass-surface-native--svg,
.app-admin-shell > .topbar.is-nav-scrolled.glass-surface-native--svg,
.app-minimal-shell > .topbar.glass-surface-native--svg,
.app-minimal-shell > .topbar.is-nav-at-top.glass-surface-native--svg,
.app-minimal-shell > .topbar.is-nav-scrolled.glass-surface-native--svg {
  border-color: rgba(var(--ink-rgb,244,239,232),.035) !important;
  background: rgba(32,26,20,.18) !important;
  box-shadow: 0 18px 42px rgba(0,0,0,.22) !important;
  backdrop-filter: var(--glass-filter-id) saturate(1.08) brightness(1.04) !important;
  -webkit-backdrop-filter: var(--glass-filter-id) saturate(1.08) brightness(1.04) !important;
}

.app-home-shell:has(.redo-home-hero) > .topbar.glass-surface-native--fallback,
.app-home-shell:has(.redo-home-hero) > .topbar.is-nav-at-top.glass-surface-native--fallback,
.app-home-shell:has(.redo-home-hero) > .topbar.is-nav-scrolled.glass-surface-native--fallback,
.app-portal > .topbar.glass-surface-native--fallback,
.app-portal > .topbar.is-nav-at-top.glass-surface-native--fallback,
.app-portal > .topbar.is-nav-scrolled.glass-surface-native--fallback,
.app-admin-shell > .topbar.glass-surface-native--fallback,
.app-admin-shell > .topbar.is-nav-at-top.glass-surface-native--fallback,
.app-admin-shell > .topbar.is-nav-scrolled.glass-surface-native--fallback,
.app-minimal-shell > .topbar.glass-surface-native--fallback,
.app-minimal-shell > .topbar.is-nav-at-top.glass-surface-native--fallback,
.app-minimal-shell > .topbar.is-nav-scrolled.glass-surface-native--fallback {
  border-color: rgba(var(--ink-rgb,244,239,232),.035) !important;
  background: rgba(32,26,20,.26) !important;
  box-shadow: 0 18px 42px rgba(0,0,0,.22) !important;
  backdrop-filter: blur(22px) saturate(1.24) brightness(1.04) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.24) brightness(1.04) !important;
}

.redo-home-action.glass-surface-native--svg {
  border-color: rgba(var(--ink-rgb,244,239,232),.035) !important;
  background: rgba(var(--ink-rgb,244,239,232),.045) !important;
  box-shadow: 0 16px 34px rgba(0,0,0,.24) !important;
  backdrop-filter: var(--glass-filter-id) saturate(1.08) brightness(1.08) !important;
  -webkit-backdrop-filter: var(--glass-filter-id) saturate(1.08) brightness(1.08) !important;
}

.redo-home-action.glass-surface-native--fallback {
  border-color: rgba(var(--ink-rgb,244,239,232),.035) !important;
  background: rgba(var(--ink-rgb,244,239,232),.055) !important;
  box-shadow: 0 16px 34px rgba(0,0,0,.24) !important;
  backdrop-filter: blur(20px) saturate(1.24) brightness(1.08) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.24) brightness(1.08) !important;
}

@media (min-width: 1440px) {
  .app-home-shell:has(.redo-home-hero) > .topbar.is-nav-at-top,
  .app-portal > .topbar.is-nav-at-top,
  .app-admin-shell > .topbar.is-nav-at-top,
  .app-minimal-shell > .topbar.is-nav-at-top {
    width: min(1960px, calc(100% - 96px)) !important;
  }
}

@media (max-width: 860px) {
  .app-home-shell:has(.redo-home-hero) > .topbar.glass-surface-native--svg,
  .app-home-shell:has(.redo-home-hero) > .topbar.is-nav-at-top.glass-surface-native--svg,
  .app-home-shell:has(.redo-home-hero) > .topbar.is-nav-scrolled.glass-surface-native--svg {
    border-color: rgba(var(--ink-rgb,244,239,232),.035) !important;
    background: rgba(32,26,20,.18) !important;
    box-shadow: 0 18px 42px rgba(0,0,0,.22) !important;
    backdrop-filter: blur(22px) saturate(1.22) brightness(1.04) !important;
    -webkit-backdrop-filter: blur(22px) saturate(1.22) brightness(1.04) !important;
  }

  .app-member-shell > .topbar .brand,
  .app-portal > .topbar .brand,
  .app-admin-shell > .topbar .brand,
  .app-minimal-shell > .topbar .brand {
    font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif !important;
    font-size: 18px !important;
    font-weight: 660 !important;
    letter-spacing: 0 !important;
  }

  .app-member-shell > .topbar .mobile-admin-shortcut {
    position: absolute;
    top: 50%;
    right: 96px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(var(--ink-rgb,244,239,232),.08);
    border-radius: 999px;
    color: rgba(247,244,238,.86);
    background: rgba(var(--ink-rgb,244,239,232),.045);
    box-shadow: none;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transform: translateY(-50%);
  }

  .app-member-shell > .topbar .mobile-admin-shortcut:hover {
    color: #fff;
    background: rgba(var(--ink-rgb,244,239,232),.08);
  }

}

.app-radar-shell .radar-layout {
  gap: 18px;
}

.app-radar-shell .radar-scan-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 10px;
  min-height: 360px;
  overflow: hidden;
}

.app-radar-shell .radar-scan-head {
  margin: -18px -18px 0;
  padding: 14px 16px;
  border-bottom: 1px solid var(--pivot-border);
}

.app-radar-shell .radar-scan-head b {
  color: var(--pivot-orange);
  font-size: 18px;
}

.app-radar-shell .radar-bubble-map {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid rgba(var(--ink-rgb,244,239,232),.10);
  border-radius: 18px;
  background:
    radial-gradient(circle at 34% 34%, rgba(60,219,153,.11), transparent 28%),
    radial-gradient(circle at 66% 60%, rgba(255,91,72,.12), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
}

.app-radar-shell .radar-bubble-map::before,
.app-radar-shell .radar-bubble-map::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.app-radar-shell .radar-bubble-map::before {
  inset: 18px;
  border-radius: 50%;
  border: 1px dashed rgba(var(--ink-rgb,244,239,232),.12);
  box-shadow: inset 0 0 0 1px rgba(var(--ink-rgb,244,239,232),.035);
}

.app-radar-shell .radar-bubble-map::after {
  inset: 50% 16px auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--ink-rgb,244,239,232),.18), transparent);
}

.app-radar-shell .radar-bubble-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--pivot-muted);
  font-size: 13px;
  font-weight: 600;
}

.app-radar-shell .radar-bubble {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 1;
  display: grid;
  place-items: center;
  width: var(--s);
  height: var(--s);
  padding: 0;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  color: rgba(255,255,255,.92);
  cursor: grab;
  touch-action: none;
  user-select: none;
  transform: translate(-50%, -50%);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.app-radar-shell .radar-bubble.is-dragging {
  z-index: 5;
  cursor: grabbing;
}

.app-radar-shell .radar-bubble span {
  display: block;
  max-width: 84%;
  overflow: visible;
  text-align: center;
  text-overflow: clip;
  white-space: nowrap;
  word-break: normal;
  font-size: var(--fs, clamp(8px, calc(var(--s) * .16), 12px));
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0;
}

.app-radar-shell .radar-bubble.is-buy {
  background:
    radial-gradient(circle at 34% 28%, rgba(255,255,255,.34), transparent 34%),
    linear-gradient(145deg, rgba(60,219,153,.95), rgba(22,116,83,.82));
  box-shadow: 0 0 24px rgba(60,219,153,.18);
}

.app-radar-shell .radar-bubble.is-sell {
  background:
    radial-gradient(circle at 34% 28%, rgba(255,255,255,.28), transparent 34%),
    linear-gradient(145deg, rgba(255,91,72,.95), rgba(152,52,39,.82));
  box-shadow: 0 0 24px rgba(255,91,72,.18);
}

.app-radar-shell .radar-bubble.is-futures {
  outline: 1px dashed rgba(var(--ink-rgb,244,239,232),.34);
  outline-offset: 2px;
}

.app-radar-shell .radar-bubble.is-confluence {
  outline: none;
}

.app-radar-shell .radar-bubble.is-cross-market {
  box-shadow: 0 0 0 4px rgba(255,255,255,.06), 0 0 28px rgba(255,145,37,.20);
}

.app-radar-shell .radar-bubble:hover,
.app-radar-shell .radar-bubble.is-active {
  z-index: 4;
  border-color: rgba(var(--ink-rgb,244,239,232),.7);
  box-shadow: 0 0 0 3px rgba(255,145,37,.18), 0 0 34px rgba(255,145,37,.28);
  transform: translate(-50%, -50%) scale(1.09);
}

.app-radar-shell .radar-scan-summary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.app-radar-shell .radar-scan-summary p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid rgba(var(--ink-rgb,244,239,232),.08);
  border-radius: 12px;
  background: rgba(var(--ink-rgb,244,239,232),.04);
  color: var(--pivot-muted);
  font-size: 12px;
  font-weight: 600;
}

.app-radar-shell .radar-scan-summary b {
  color: rgba(247,244,238,.86);
}

.app-radar-shell .radar-vote-board {
  display: grid;
  gap: 9px;
  min-height: 0;
  padding: 12px;
  border: 1px solid rgba(255,145,37,.22);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255,145,37,.12), rgba(var(--ink-rgb,244,239,232),.035) 44%),
    rgba(var(--ink-rgb,244,239,232),.035);
}

.app-radar-shell .radar-vote-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: rgba(247,244,238,.90);
  font-size: 12px;
  font-weight: 700;
}

.app-radar-shell .radar-vote-head b {
  color: var(--pivot-orange);
  font-size: 12px;
}

.app-radar-shell .radar-vote-list {
  display: grid;
  gap: 7px;
  max-height: 178px;
  overflow: auto;
  padding-right: 4px;
}

.app-radar-shell .radar-vote-action {
  display: grid;
  gap: 6px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(var(--ink-rgb,244,239,232),.08);
}

.app-radar-shell .radar-vote-action button,
.app-radar-shell .radar-vote-row,
.app-radar-shell .radar-vote-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  gap: 10px;
  padding: 0 10px;
  border: 1px solid rgba(var(--ink-rgb,244,239,232),.10);
  border-radius: 11px;
  background: rgba(var(--ink-rgb,244,239,232),.055);
  color: rgba(247,244,238,.92);
  font-size: 12px;
  font-weight: 660;
}

.app-radar-shell .radar-vote-row {
  padding: 0;
  overflow: hidden;
  border-color: rgba(255,145,37,.14);
  background: rgba(255,145,37,.055);
}

.app-radar-shell .radar-vote-row.is-top {
  border-color: rgba(255,145,37,.34);
  background: linear-gradient(90deg, rgba(255,145,37,.20), rgba(var(--ink-rgb,244,239,232),.055));
}

.app-radar-shell .radar-vote-main {
  flex: 1;
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
}

.app-radar-shell .radar-vote-action button {
  justify-content: center;
  color: #111827;
  background: var(--pivot-orange);
}

.app-radar-shell .radar-vote-action span,
.app-radar-shell .radar-vote-empty {
  color: var(--pivot-muted);
  font-size: 11px;
  font-weight: 600;
}

.app-radar-shell .radar-vote-row span,
.app-radar-shell .radar-vote-main span {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 8px;
}

.app-radar-shell .radar-vote-row em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 22px;
  border-radius: 999px;
  color: #111827;
  background: var(--pivot-orange);
  font-style: normal;
  font-size: 11px;
}

.app-radar-shell .radar-vote-row strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-radar-shell .radar-vote-row b,
.app-radar-shell .radar-vote-main b {
  color: var(--pivot-orange);
}

.app-radar-shell .radar-vote-row i {
  padding-right: 10px;
  color: var(--pivot-muted);
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
}

.app-radar-shell .radar-vote-remove {
  align-self: stretch;
  min-width: 48px;
  border: 0;
  border-left: 1px solid rgba(var(--ink-rgb,244,239,232),.10);
  background: rgba(239,68,68,.18);
  color: #ffb4aa;
  font-size: 11px;
  font-weight: 700;
}

.app-radar-shell .radar-vote-row.is-voted {
  border-color: rgba(60,219,153,.30);
  background: linear-gradient(90deg, rgba(60,219,153,.16), rgba(var(--ink-rgb,244,239,232),.055));
}

.app-radar-shell .radar-vote-action button:disabled,
.app-radar-shell .radar-vote-main:disabled,
.app-radar-shell .radar-vote-remove:disabled {
  cursor: not-allowed;
  opacity: .58;
}

@media (min-width: 1181px) {
  body:has(.app-dashboard-shell),
  body:has(.app-community-shell),
  body:has(.app-radar-shell) {
    overflow: hidden;
  }

  .app-dashboard-shell,
  .app-community-shell,
  .app-radar-shell {
    width: min(1880px, calc(100vw - 64px));
  }

  .app-dashboard-shell .dashboard-terminal-shell {
    grid-template-columns: minmax(250px, 300px) minmax(0, 1fr) minmax(300px, 340px);
    gap: 10px;
    height: calc(100svh - 108px);
    min-height: 0;
  }

  .app-dashboard-shell .dashboard-center {
    grid-template-rows: auto minmax(340px, .92fr) minmax(210px, .58fr);
    gap: 10px;
    min-height: 0;
  }

  .app-dashboard-shell .dashboard-command-bar {
    margin-bottom: 0;
  }

  .app-dashboard-shell .dashboard-title-block {
    min-height: 58px;
    padding: 10px 14px;
  }

  .app-dashboard-shell .dashboard-title-block h1 {
    font-size: clamp(30px, 2.3vw, 42px) !important;
  }

  .app-dashboard-shell .dashboard-chart-panel {
    min-height: 0;
  }

  .app-dashboard-shell .dashboard-chart-panel .local-kline-frame {
    height: 100% !important;
    min-height: 0 !important;
  }

  .app-dashboard-shell .rank-list {
    gap: 5px;
  }

  .app-dashboard-shell .rank-card {
    grid-template-columns: 34px minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    align-items: center;
    height: clamp(45px, calc((100svh - 354px) / 10), 54px);
    gap: 1px 7px;
  }

  .app-dashboard-shell .rank-num {
    grid-row: 1 / span 2;
  }

  .app-dashboard-shell .rank-card strong {
    grid-column: 2;
    grid-row: 1;
    font-size: 14px;
    line-height: 1.05;
  }

  .app-dashboard-shell .rank-card > b {
    grid-column: 3;
    grid-row: 1 / span 2;
    align-self: center;
    font-size: 19px;
  }

  .app-dashboard-shell .rank-card small {
    grid-column: 2;
    grid-row: 2;
    min-width: 0;
    overflow: hidden;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .app-dashboard-shell .rank-card em {
    display: none;
  }

  .app-dashboard-shell .score-detail-stack > .detail-panel:not([hidden]) {
    padding: 12px 14px;
  }

  .app-dashboard-shell .detail-header {
    margin-bottom: 8px;
    padding-bottom: 8px;
  }

  .app-dashboard-shell .detail-header h2 {
    font-size: 24px;
  }

  .app-dashboard-shell .detail-score b {
    font-size: 38px;
  }

  .app-dashboard-shell .current-detail-grid {
    grid-template-columns: .95fr 1.05fr;
    gap: 10px;
  }

  .app-dashboard-shell .score-percent-card,
  .app-dashboard-shell .strategy-judgement-card {
    padding: 10px 12px;
  }

  .app-dashboard-shell .percent-row {
    padding: 6px 0;
  }

  .app-dashboard-shell .strategy-judgement-card p {
    -webkit-line-clamp: 3;
  }

  .app-community-shell .community-market-shell {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
    gap: 14px;
    height: calc(100svh - 108px);
    min-height: 0;
    overflow: hidden;
  }

  .app-community-shell .community-market-main {
    grid-template-rows: auto minmax(0, 1fr);
    gap: 10px;
    min-height: 0;
  }

  .app-community-shell .community-market-head {
    padding: 14px 18px;
  }

  .app-community-shell .community-market-head h1 {
    margin: 4px 0;
    font-size: clamp(32px, 3vw, 52px);
  }

  .app-community-shell .community-chart-card .local-kline-frame {
    height: 100% !important;
    min-height: 0;
  }

  .app-community-shell .community-chart-card {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    min-height: 0;
    overflow: hidden;
  }

  .app-community-shell .community-chart-card .local-kline-canvas {
    max-width: 100%;
    max-height: 100%;
  }

  .app-community-shell .community-score-stack {
    display: none;
  }

  .app-community-shell .community-score-panel {
    gap: 8px;
  }

  .app-community-shell .community-score-head {
    padding: 14px 16px;
  }

  .app-community-shell .community-score-grid,
  .app-community-shell .community-status-line {
    display: none;
  }

  .app-community-shell .community-chat-panel {
    position: static;
    display: grid;
    grid-template-rows: auto minmax(0, .38fr) minmax(0, 1fr) auto;
    gap: 8px;
    height: 100%;
    min-height: 0;
    max-height: none;
  }

  .app-community-shell .chat-rules-card {
    display: none;
  }

  .app-community-shell .chat-system-card {
    min-height: 0;
    padding: 12px;
  }

  .app-community-shell .chat-system-card p,
  .app-community-shell .chat-system-card small {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
  }

  .app-community-shell .chat-system-card p {
    -webkit-line-clamp: 2;
  }

  .app-community-shell .chat-system-card small {
    -webkit-line-clamp: 1;
  }

  .app-community-shell .community-chat-panel .chat-list {
    height: auto;
    min-height: 0;
    max-height: none;
    padding: 12px;
  }

  .app-community-shell .chat-bubble {
    padding: 10px 12px;
  }

  .app-community-shell .chat-compose textarea {
    min-height: 72px;
  }

  .app-radar-shell .radar-page {
    gap: 12px;
  }

  .app-radar-shell .radar-hero {
    min-height: 0;
    padding: 16px 18px;
  }

  .app-radar-shell .radar-hero h1 {
    margin: 2px 0 4px;
    font-size: clamp(32px, 3vw, 52px);
  }

  .app-radar-shell .radar-layout {
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr) minmax(270px, 330px);
    gap: 12px;
    height: calc(100svh - 248px);
    min-height: 0;
    align-items: stretch;
  }

  .app-radar-shell .radar-results-card,
  .app-radar-shell .radar-chart-card,
  .app-radar-shell .radar-scan-card {
    position: static;
    max-height: none;
    min-height: 0;
    height: 100%;
    overflow: hidden;
  }

  .app-radar-shell .radar-results-card {
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
  }

  .app-radar-shell .radar-hit-list {
    min-height: 0;
    overflow-y: auto;
  }

  .app-radar-shell .radar-hit-card {
    min-height: 88px !important;
    padding: 10px 12px 10px 15px !important;
    gap: 5px !important;
  }

  .app-radar-shell .radar-hit-chips {
    display: none;
  }

  .app-radar-shell .radar-chart-card {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
  }

  .app-radar-shell .radar-chart-wrap {
    height: 100%;
    min-height: 0;
  }

  .app-radar-shell .radar-chart-wrap canvas {
    height: 100% !important;
  }

  .app-radar-shell .radar-detail-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
  }

  .app-radar-shell .radar-detail-grid p {
    padding: 9px 10px;
  }

  .app-radar-shell .radar-detail-grid p:nth-child(n+5) {
    display: none;
  }
}

.app-radar-shell .radar-hit-card {
  border-color: var(--pivot-border) !important;
  background:
    linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.015)),
    rgba(19,16,15,.78) !important;
}

.app-radar-shell .radar-hit-card.is-sell b,
.app-portal .bad {
  color: var(--pivot-red) !important;
}

.app-community-shell .community-market-head,
.app-community-shell .community-chat-panel,
.app-community-shell .community-score-head {
  overflow: hidden;
}

.app-community-shell .community-market-head h1 {
  font-size: clamp(38px, 4.2vw, 64px);
  line-height: 1.02;
}

.app-portal input,
.app-portal textarea,
.app-portal select,
.app-minimal-shell input,
.app-minimal-shell textarea,
.app-minimal-shell select {
  color: var(--pivot-ink) !important;
  border-color: rgba(var(--ink-rgb,244,239,232),.12) !important;
  background: rgba(var(--ink-rgb,244,239,232),.055) !important;
  box-shadow: none !important;
}

.app-portal input::placeholder,
.app-portal textarea::placeholder,
.app-minimal-shell input::placeholder,
.app-minimal-shell textarea::placeholder {
  color: rgba(var(--ink-rgb,244,239,232),.38) !important;
}

@media (max-width: 860px) {
  .app-dashboard-shell .dashboard-title-block h1,
  .app-community-shell .community-market-head h1,
  .app-radar-shell .radar-hero h1 {
    font-size: clamp(30px, 9vw, 42px) !important;
  }
  .app-portal .card,
  .app-portal .metric,
  .app-portal .dashboard-title-block,
  .app-portal .dashboard-command-bar,
  .app-portal .rank-card,
  .app-portal .detail-panel,
  .app-radar-shell .radar-hero,
  .app-radar-shell .radar-hit-card {
    border-radius: 18px !important;
  }
  .app-dashboard-shell .dashboard-terminal-shell {
    gap: 12px;
  }
  .app-dashboard-shell .dashboard-command-bar {
    padding: 10px;
  }
}

/* iOS Chrome/Safari mobile polish: stable blur glass and fixed viewport nav. */
.redo-home-title h1,
.redo-home-title > span {
  font-family: "Songti TC", "Songti SC", "STSongti-TC-Regular", "Noto Serif TC", "Source Han Serif TC", "Noto Serif CJK TC", "PMingLiU", "MingLiU", "Noto Serif SC", "Source Han Serif SC", "STSong", "SimSun", serif !important;
}
.redo-mobile-title-break {
  display: none;
}
@media (max-width: 860px) {
  .redo-home-title {
    top: 48% !important;
    width: min(94vw, 430px) !important;
  }
  .redo-home-title h1 {
    max-width: 390px !important;
    margin-inline: auto !important;
    font-size: clamp(34px, 9.1vw, 40px) !important;
    line-height: 1.18 !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    text-wrap: normal !important;
  }
  .redo-mobile-title-break {
    display: block;
  }
  .redo-home-title > span {
    font-size: clamp(16px, 4.5vw, 19px) !important;
    line-height: 1.65 !important;
  }
  .app-home-shell > .topbar,
  .app-home-shell:has(.redo-home-hero) > .topbar,
  .app-home-shell:has(.redo-home-hero) > .topbar.glass-surface-native--svg,
  .app-home-shell:has(.redo-home-hero) > .topbar.glass-surface-native--fallback,
  .app-portal > .topbar,
  .app-admin-shell > .topbar,
  .app-minimal-shell > .topbar {
    overflow: hidden !important;
    isolation: isolate;
    border-color: rgba(var(--ink-rgb,244,239,232),.12) !important;
    background:
      linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.035)),
      rgba(26,21,17,.30) !important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.20),
      inset 0 -1px 0 rgba(255,255,255,.045),
      0 18px 44px rgba(0,0,0,.34) !important;
    backdrop-filter: blur(34px) saturate(1.62) brightness(1.08) !important;
    -webkit-backdrop-filter: blur(34px) saturate(1.62) brightness(1.08) !important;
    transform: translate3d(0,0,0) !important;
  }
  .app-home-shell > .topbar::after,
  .app-home-shell:has(.redo-home-hero) > .topbar::after,
  .app-portal > .topbar::after,
  .app-admin-shell > .topbar::after,
  .app-minimal-shell > .topbar::after {
    content: "";
    position: absolute;
    inset: 1px;
    z-index: 0;
    pointer-events: none;
    border-radius: inherit;
    background:
      linear-gradient(135deg, rgba(255,255,255,.24), transparent 34%, rgba(255,145,37,.08) 68%, transparent),
      radial-gradient(circle at 18% 0%, rgba(255,255,255,.18), transparent 34%);
    opacity: .58;
    mix-blend-mode: screen;
  }
  .app-home-shell > .topbar > :not(.nav-links):not(.glass-surface-filter),
  .app-home-shell:has(.redo-home-hero) > .topbar > :not(.nav-links):not(.glass-surface-filter),
  .app-portal > .topbar > :not(.nav-links):not(.glass-surface-filter),
  .app-admin-shell > .topbar > :not(.nav-links):not(.glass-surface-filter),
  .app-minimal-shell > .topbar > :not(.nav-links):not(.glass-surface-filter) {
    position: relative;
    z-index: 1;
  }
  .app-home-shell .mobile-bottom-nav,
  .app-member-shell .mobile-bottom-nav {
    position: fixed !important;
    left: calc(12px + env(safe-area-inset-left)) !important;
    right: calc(12px + env(safe-area-inset-right)) !important;
    bottom: calc(10px + env(safe-area-inset-bottom) + var(--mobile-visual-bottom, 0px)) !important;
    z-index: 2147483000 !important;
    display: block !important;
    overflow: hidden !important;
    isolation: isolate;
    border-color: rgba(var(--ink-rgb,244,239,232),.12) !important;
    border-radius: 32px !important;
    background:
      linear-gradient(180deg, rgba(255,255,255,.15), rgba(255,255,255,.035)),
      rgba(24,20,17,.28) !important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.22),
      inset 0 -1px 0 rgba(255,255,255,.045),
      0 18px 46px rgba(0,0,0,.40) !important;
    backdrop-filter: blur(34px) saturate(1.62) brightness(1.08) !important;
    -webkit-backdrop-filter: blur(34px) saturate(1.62) brightness(1.08) !important;
    transform: translate3d(0,0,0) !important;
    will-change: transform;
  }
  .app-home-shell .mobile-bottom-nav::before,
  .app-member-shell .mobile-bottom-nav::before {
    display: none !important;
    opacity: 0 !important;
  }
  .app-home-shell .mobile-bottom-nav::after,
  .app-member-shell .mobile-bottom-nav::after {
    content: "";
    position: absolute;
    inset: 1px;
    z-index: 0;
    pointer-events: none;
    border-radius: inherit;
    background:
      linear-gradient(135deg, rgba(255,255,255,.24), transparent 36%, rgba(255,145,37,.10) 70%, transparent),
      radial-gradient(circle at 28% 0%, rgba(255,255,255,.20), transparent 36%);
    opacity: .55;
    mix-blend-mode: screen;
  }
  .app-home-shell .mobile-bottom-nav > :not(.glass-surface-filter),
  .app-member-shell .mobile-bottom-nav > :not(.glass-surface-filter) {
    position: relative;
    z-index: 1;
  }

  .app-member-shell > .topbar,
  .app-home-shell > .topbar,
  .app-home-shell:has(.redo-home-hero) > .topbar,
  .app-portal > .topbar,
  .app-admin-shell > .topbar,
  .app-minimal-shell > .topbar {
    display: none !important;
  }

  html,
  body {
    background: #120d08 !important;
    background-color: #120d08 !important;
  }

  .app-member-shell::before,
  .app-admin-shell::before,
  .app-minimal-shell::before {
    content: none;
    display: none;
    position: fixed;
    top: calc(18px + env(safe-area-inset-top));
    left: calc(20px + env(safe-area-inset-left));
    z-index: 2147483001;
    color: rgba(247,244,238,.95);
    font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .01em;
    text-shadow: 0 2px 14px rgba(0,0,0,.38);
    pointer-events: none;
  }

  .app-portal,
  .app-admin-shell,
  .app-minimal-shell {
    padding-top: calc(18px + env(safe-area-inset-top)) !important;
  }

  .app-member-shell > .mobile-nav-alert {
    display: inline-flex !important;
    top: calc(16px + env(safe-area-inset-top)) !important;
    right: calc(14px + env(safe-area-inset-right)) !important;
    z-index: 2147483001 !important;
  }

  .app-member-shell > .mobile-nav-alert .alert-button {
    width: 46px !important;
    min-width: 46px !important;
    height: 46px !important;
    min-height: 46px !important;
    border-color: rgba(var(--ink-rgb,244,239,232),.12) !important;
    border-radius: 999px !important;
    background:
      linear-gradient(180deg, rgba(255,255,255,.15), rgba(255,255,255,.035)),
      rgba(24,20,17,.26) !important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.22),
      0 14px 34px rgba(0,0,0,.34) !important;
    backdrop-filter: blur(30px) saturate(1.55) brightness(1.08) !important;
    -webkit-backdrop-filter: blur(30px) saturate(1.55) brightness(1.08) !important;
  }
}

/* Dashboard ranking refresh. */
.app-dashboard-shell .rank-panel {
  display: grid !important;
  grid-template-rows: 64px minmax(0, 1fr) !important;
  min-height: 0 !important;
  scroll-margin-top: 88px;
  scroll-margin-bottom: 96px;
  overflow: hidden !important;
  border-radius: 22px !important;
  background:
    linear-gradient(180deg, rgba(38,34,33,.88), rgba(24,21,20,.80)),
    rgba(20,18,18,.84) !important;
}

.app-dashboard-shell .rank-panel .screen-top {
  min-height: 64px !important;
  padding: 20px 18px 14px !important;
  border-color: rgba(var(--ink-rgb,244,239,232),.08) !important;
}

.app-dashboard-shell .rank-panel .screen-top span {
  color: rgba(var(--ink-rgb,244,239,232),.58) !important;
  font-size: 12px !important;
  font-weight: 620 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.app-dashboard-shell .rank-panel .screen-top b {
  color: rgba(247,244,238,.94) !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  line-height: 1;
}

.app-dashboard-shell .rank-list {
  min-height: 0 !important;
  gap: 10px !important;
  padding: 10px 12px 18px !important;
  overflow-y: auto !important;
  scrollbar-width: none;
}

.app-dashboard-shell .rank-list::-webkit-scrollbar {
  display: none;
}

.app-dashboard-shell .rank-card {
  grid-template-columns: 46px minmax(0, 1fr) auto !important;
  grid-template-rows: auto auto !important;
  min-height: 88px !important;
  height: 88px !important;
  gap: 8px 8px !important;
  align-items: center !important;
  padding: 18px 18px 16px 20px !important;
  border-color: rgba(var(--ink-rgb,244,239,232),.13) !important;
  border-radius: 18px !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012)),
    rgba(21,19,19,.68) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045) !important;
}

.app-dashboard-shell .rank-card::before {
  inset: 12px auto 12px 0 !important;
  width: 2px !important;
  border-radius: 999px !important;
}

.app-dashboard-shell .rank-num {
  grid-column: 1 !important;
  grid-row: 1 !important;
  align-self: start !important;
  margin-top: 2px;
  color: rgba(var(--ink-rgb,244,239,232),.58) !important;
  font-size: 12px !important;
  font-weight: 620 !important;
}

.app-dashboard-shell .rank-card strong {
  grid-column: 2 !important;
  grid-row: 1 !important;
  min-width: 0 !important;
  overflow: hidden !important;
  color: rgba(247,244,238,.95) !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.05 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-dashboard-shell .rank-card > b {
  grid-column: 3 !important;
  grid-row: 1 / span 2 !important;
  align-self: start !important;
  color: rgba(247,244,238,.95) !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

.app-dashboard-shell .rank-card small {
  grid-column: 2 / 4 !important;
  grid-row: 2 !important;
  min-width: 0 !important;
  overflow: hidden !important;
  color: rgba(var(--ink-rgb,244,239,232),.56) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-dashboard-shell .rank-card em {
  display: none !important;
}

.app-dashboard-shell .rank-card.active,
.app-dashboard-shell .rank-card.active:hover {
  border-color: rgba(181,99,17,.86) !important;
  background:
    linear-gradient(180deg, rgba(119,66,23,.34), rgba(60,37,19,.70)),
    rgba(35,26,20,.88) !important;
  box-shadow: inset 0 0 0 1px rgba(181,99,17,.18), 0 16px 38px rgba(0,0,0,.18) !important;
  transform: none !important;
}

.app-dashboard-shell .rank-card:hover {
  border-color: rgba(var(--ink-rgb,244,239,232),.22) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.052), rgba(255,255,255,.016)),
    rgba(25,23,23,.76) !important;
  transform: none !important;
}

@media (min-width: 1181px) {
  .app-dashboard-shell .dashboard-terminal-shell {
    grid-template-columns: minmax(340px, 365px) minmax(0, 1fr) minmax(300px, 340px) !important;
  }

  .app-dashboard-shell .dashboard-left-rail {
    grid-template-rows: minmax(0, 1fr) auto !important;
  }
}

@media (max-width: 1180px) {
  .app-dashboard-shell .rank-panel {
    max-height: none !important;
  }
}

@media (max-width: 520px) {
  .app-dashboard-shell .rank-panel {
    grid-template-rows: 56px minmax(0, 1fr) !important;
  }

  .app-dashboard-shell .rank-panel .screen-top {
    min-height: 56px !important;
    padding: 16px 14px 12px !important;
  }

  .app-dashboard-shell .rank-list {
    gap: 8px !important;
    padding: 8px 10px 14px !important;
  }

  .app-dashboard-shell .rank-card {
    grid-template-columns: 42px minmax(0, 1fr) auto !important;
    min-height: 80px !important;
    height: 80px !important;
    padding: 16px 14px 14px 18px !important;
  }

  .app-dashboard-shell .rank-card strong {
    font-size: 17px !important;
  }

  .app-dashboard-shell .rank-card > b {
    font-size: 22px !important;
  }
}

/* Dashboard footer restore: allow scroll so the risk reminder keeps a full box. */
@media (min-width: 1501px) and (min-height: 780px) {
  body:has(.app-dashboard-shell) {
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  .app-dashboard-shell.app-portal {
    height: auto !important;
    min-height: 100svh !important;
    overflow: visible !important;
    padding-bottom: 20px !important;
  }

  .app-dashboard-shell .dashboard-terminal-shell {
    margin-bottom: 12px !important;
  }

  .app-dashboard-shell .risk-reminder-strip {
    display: flex !important;
    box-sizing: border-box !important;
    width: 100% !important;
    margin: 0 0 4px !important;
  }
}

/* Wide responsive workspace: reduce unused side gutters on member pages except home. */
@media (min-width: 861px) {
  .app-portal:not(.app-home-shell),
  .app-admin-shell,
  .app-minimal-shell,
  .app-dashboard-shell.app-portal,
  .app-community-shell.app-portal,
  .app-radar-shell.app-portal {
    --portal-wide-gutter: clamp(14px, 1.1vw, 28px);
    width: calc(100vw - (var(--portal-wide-gutter) * 2)) !important;
    max-width: none !important;
  }

  .app-portal:not(.app-home-shell) > .topbar,
  .app-portal:not(.app-home-shell) > .topbar.is-nav-at-top,
  .app-portal:not(.app-home-shell) > .topbar.is-nav-scrolled,
  .app-portal:not(.app-home-shell) > .topbar.glass-surface-native--svg,
  .app-portal:not(.app-home-shell) > .topbar.glass-surface-native--fallback,
  .app-admin-shell > .topbar,
  .app-admin-shell > .topbar.is-nav-at-top,
  .app-admin-shell > .topbar.is-nav-scrolled,
  .app-admin-shell > .topbar.glass-surface-native--svg,
  .app-admin-shell > .topbar.glass-surface-native--fallback,
  .app-minimal-shell > .topbar,
  .app-minimal-shell > .topbar.is-nav-at-top,
  .app-minimal-shell > .topbar.is-nav-scrolled,
  .app-minimal-shell > .topbar.glass-surface-native--svg,
  .app-minimal-shell > .topbar.glass-surface-native--fallback,
  .app-dashboard-shell.app-portal > .topbar,
  .app-dashboard-shell.app-portal > .topbar.is-nav-at-top,
  .app-dashboard-shell.app-portal > .topbar.is-nav-scrolled,
  .app-dashboard-shell.app-portal > .topbar.glass-surface-native--svg,
  .app-dashboard-shell.app-portal > .topbar.glass-surface-native--fallback,
  .app-community-shell.app-portal > .topbar,
  .app-community-shell.app-portal > .topbar.is-nav-at-top,
  .app-community-shell.app-portal > .topbar.is-nav-scrolled,
  .app-community-shell.app-portal > .topbar.glass-surface-native--svg,
  .app-community-shell.app-portal > .topbar.glass-surface-native--fallback,
  .app-radar-shell.app-portal > .topbar,
  .app-radar-shell.app-portal > .topbar.is-nav-at-top,
  .app-radar-shell.app-portal > .topbar.is-nav-scrolled,
  .app-radar-shell.app-portal > .topbar.glass-surface-native--svg,
  .app-radar-shell.app-portal > .topbar.glass-surface-native--fallback {
    left: 50% !important;
    right: auto !important;
    width: calc(100vw - (var(--portal-wide-gutter) * 2)) !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: translateX(-50%) !important;
    translate: none !important;
  }
}

@media (min-width: 1181px) {
  body:has(.app-portal:not(.app-home-shell)),
  body:has(.app-dashboard-shell),
  body:has(.app-community-shell),
  body:has(.app-radar-shell) {
    overflow-x: hidden !important;
  }

  .app-community-shell .community-market-shell {
    grid-template-columns: minmax(0, 1fr) clamp(390px, 22vw, 500px) !important;
    gap: clamp(12px, 1vw, 18px) !important;
  }

  .app-community-shell .community-market-head {
    grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr) !important;
    align-items: center !important;
  }

  .app-community-shell .community-symbol-tabs {
    grid-auto-columns: minmax(126px, 1fr) !important;
    gap: 8px !important;
  }

  .app-community-shell .community-symbol-tab {
    min-width: 126px !important;
  }

  .app-community-shell .community-chat-panel {
    grid-template-rows: auto minmax(118px, auto) minmax(0, 1fr) auto !important;
    min-width: 0 !important;
  }

  .app-community-shell .community-system-prompts,
  .app-community-shell .chat-system-card {
    min-width: 0 !important;
    min-height: 0 !important;
  }

  .app-community-shell .chat-system-card {
    max-height: 164px !important;
    overflow: hidden !important;
  }

  .app-community-shell .chat-system-card p {
    display: -webkit-box !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .app-community-shell .chat-system-card dl {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .app-community-shell .chat-system-card dl div,
  .app-community-shell .chat-bubble {
    min-width: 0 !important;
  }

  .app-community-shell .community-chat-panel .chat-list {
    gap: 10px !important;
    min-height: 0 !important;
    overflow-y: auto !important;
  }

  .app-community-shell .chat-message {
    grid-template-columns: 32px minmax(0, 1fr) !important;
    gap: 9px !important;
  }

  .app-community-shell .chat-message-system .chat-system-avatar,
  .app-community-shell .chat-message .avatar-badge.small {
    width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
  }

  .app-community-shell .chat-bubble header {
    gap: 6px !important;
  }

  .app-community-shell .chat-bubble time {
    margin-left: 0 !important;
    color: rgba(var(--ink-rgb,244,239,232),.58) !important;
    white-space: nowrap !important;
  }

  .app-community-shell .chat-bubble p {
    line-height: 1.62 !important;
  }

  .app-community-shell .community-chat-panel .chat-compose {
    gap: 10px !important;
    padding: 12px !important;
  }

  .app-community-shell .community-chat-panel .chat-compose textarea {
    min-height: 66px !important;
    max-height: 118px !important;
    resize: vertical !important;
  }

  .app-radar-shell .radar-layout {
    grid-template-columns: clamp(310px, 18vw, 410px) minmax(0, 1fr) clamp(300px, 15vw, 370px) !important;
  }

  .app-radar-shell .radar-hero {
    display: grid !important;
    grid-template-columns: minmax(320px, .88fr) minmax(0, 1.12fr) !important;
    align-items: center !important;
  }

  .app-radar-shell .radar-controls {
    min-width: 0 !important;
  }
}

@media (min-width: 1501px) and (min-height: 780px) {
  .app-dashboard-shell .dashboard-terminal-shell {
    grid-template-columns: clamp(305px, 17vw, 385px) minmax(0, 1fr) clamp(330px, 17vw, 430px) !important;
  }

  .app-community-shell .community-market-shell {
    height: calc(100svh - 112px) !important;
  }
}

@media (min-width: 861px) and (max-width: 1180px) {
  .app-community-shell .community-market-shell {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .app-community-shell .community-market-head {
    grid-template-columns: 1fr !important;
  }

  .app-community-shell .community-chat-panel {
    position: static !important;
    max-height: none !important;
  }

  .app-community-shell .community-chat-panel .chat-list {
    min-height: 360px !important;
    max-height: 52vh !important;
  }
}

@media (max-width: 860px) {
  body:has(.app-portal:not(.app-home-shell)) {
    overflow-x: hidden !important;
  }

  .app-portal:not(.app-home-shell),
  .app-admin-shell,
  .app-minimal-shell {
    width: min(100% - 20px, 1180px) !important;
    max-width: none !important;
  }

  .app-member-shell:not(.app-home-shell) .topbar {
    margin-bottom: 10px !important;
  }

  .app-community-shell .community-market-head,
  .app-radar-shell .radar-hero {
    margin-top: 62px !important;
  }

  .app-community-shell .community-chat-panel {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .app-community-shell .community-chart-card {
    margin-top: 78px !important;
  }

  .app-community-shell .chat-bubble time {
    white-space: normal !important;
  }

  .app-community-shell .community-chat-panel .chat-compose {
    grid-template-columns: auto minmax(0, 1fr) minmax(58px, auto) !important;
  }

  .app-community-shell .community-chat-panel .chat-compose button {
    width: auto !important;
    min-width: 58px !important;
    padding: 0 10px !important;
    white-space: nowrap !important;
  }
}

/* Radar layout refresh: left list + funding, large chart, right distribution. */
@media (min-width: 1401px) {
  .app-radar-shell .radar-layout {
    grid-template-columns: clamp(280px, 14vw, 330px) minmax(560px, 1fr) clamp(420px, 24vw, 560px) !important;
    align-items: stretch !important;
  }

  .app-radar-shell .radar-left-rail {
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  .app-radar-shell .radar-results-card {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  .app-radar-shell .radar-chart-card {
    grid-template-rows: auto minmax(0, 1fr) auto !important;
  }

  .app-radar-shell .radar-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .app-radar-shell .radar-detail-grid p:nth-child(n+5) {
    display: none !important;
  }

  .app-radar-shell .radar-scan-card {
    height: 100% !important;
    min-height: 560px !important;
  }

  .app-radar-shell .radar-bubble-map {
    min-height: clamp(420px, 52vh, 660px) !important;
  }
}

@media (min-width: 1181px) and (max-width: 1400px) {
  .app-radar-shell .radar-layout {
    grid-template-columns: minmax(260px, 300px) minmax(0, 1fr) !important;
    height: auto !important;
    min-height: 0 !important;
    align-items: start !important;
  }

  .app-radar-shell .radar-left-rail {
    position: static !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .app-radar-shell .radar-chart-card,
  .app-radar-shell .radar-results-card,
  .app-radar-shell .radar-scan-card {
    min-width: 0 !important;
    height: auto !important;
    max-height: none !important;
  }

  .app-radar-shell .radar-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .app-radar-shell .radar-scan-card {
    grid-column: 1 / -1 !important;
    min-height: 430px !important;
  }

  .app-radar-shell .radar-bubble-map {
    min-height: 360px !important;
  }
}

@media (min-width: 861px) and (max-width: 1180px) {
  .app-radar-shell .radar-left-rail {
    position: static !important;
    max-height: none !important;
    overflow: visible !important;
  }
}

.app-portal .global-symbol-search input,
html[data-theme="dark"] .app-portal .global-symbol-search input {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: inherit !important;
}

.app-portal .global-symbol-search label {
  border-color: rgba(var(--ink-rgb,244,239,232),.12) !important;
  background: rgba(var(--ink-rgb,244,239,232),.055) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.055) !important;
}

.app-radar-shell .radar-bubble.is-buy {
  background:
    radial-gradient(circle at 34% 28%, rgba(255,255,255,.34), transparent 34%),
    linear-gradient(145deg, rgba(60,219,153,.95), rgba(22,116,83,.82)) !important;
  color: #fff !important;
}

.app-radar-shell .radar-bubble.is-sell {
  background:
    radial-gradient(circle at 34% 28%, rgba(255,255,255,.28), transparent 34%),
    linear-gradient(145deg, rgba(255,91,72,.95), rgba(152,52,39,.82)) !important;
  color: #fff !important;
}

.app-radar-shell {
  --radar-hit-card-height: 116px;
}

.app-radar-shell .radar-hit-list {
  align-content: start !important;
  grid-auto-rows: var(--radar-hit-card-height);
}

.app-radar-shell .radar-hit-card{
  height: var(--radar-hit-card-height) !important;
  min-height: var(--radar-hit-card-height) !important;
  max-height: var(--radar-hit-card-height) !important;
}

@media (min-width: 861px) and (max-width: 1180px) {
  .app-radar-shell {
    --radar-hit-card-height: 124px;
  }
}

@media (max-width: 860px) {
  .app-radar-shell {
    --radar-hit-card-height: 132px;
  }
}

/* Dashboard coin tabs: keep icons readable and cancel hover still. */
.app-dashboard-shell .symbol-strip .asset-main {
  grid-template-columns: 32px minmax(0, 1fr) !important;
  gap: 8px !important;
  padding-right: 58px !important;
}

.app-dashboard-shell .symbol-strip .asset-icon {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
}

.app-dashboard-shell .symbol-strip .asset-remove {
  transform: translate(0, -50%) !important;
  transition: opacity .12s ease !important;
  animation: none !important;
}

.app-dashboard-shell .symbol-strip .symbol-tab:hover .asset-remove,
.app-dashboard-shell .symbol-strip .symbol-tab:focus-within .asset-remove,
.app-dashboard-shell .symbol-strip .asset-remove:hover,
.app-dashboard-shell .symbol-strip .asset-remove:focus-visible {
  transform: translate(0, -50%) !important;
  animation: none !important;
}

.app-dashboard-shell .symbol-strip .asset-remove:hover,
.app-dashboard-shell .symbol-strip .asset-remove:focus-visible {
  transition: none !important;
  box-shadow: none !important;
}

.app-dashboard-shell .symbol-strip .symbol-tab:hover .asset-copy,
.app-dashboard-shell .symbol-strip .symbol-tab:focus-within .asset-copy {
  opacity: 1 !important;
  visibility: visible !important;
  transition: none !important;
}

@media (min-width: 1501px) {
  .app-dashboard-shell .symbol-strip .asset-main {
    grid-template-columns: 32px minmax(0, 1fr) !important;
    gap: 8px !important;
    padding-right: 58px !important;
  }

  .app-dashboard-shell .symbol-strip .asset-icon {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
  }
}

/* Radar bubbles: flat color, stop on hover without dodge or glow. */
.app-radar-shell .radar-bubble{
  color: #f8fafc !important;
  border-color: rgba(226,232,240,.28) !important;
  box-shadow: none !important;
  filter: none !important;
  transition: border-color .12s ease, opacity .12s ease !important;
}

.app-radar-shell .radar-bubble.is-buy.is-daily{
  background: #047857 !important;
  border-color: rgba(20,184,166,.54) !important;
  box-shadow: none !important;
}

.app-radar-shell .radar-bubble.is-buy.is-4h{
  background: #12b981 !important;
  border-color: rgba(94,234,212,.48) !important;
  box-shadow: none !important;
}

.app-radar-shell .radar-bubble.is-buy.is-2h{
  background: #2dd4bf !important;
  border-color: rgba(103,232,249,.48) !important;
  box-shadow: none !important;
}

.app-radar-shell .radar-bubble.is-sell.is-daily{
  background: #b4232a !important;
  border-color: rgba(248,113,113,.48) !important;
  box-shadow: none !important;
}

.app-radar-shell .radar-bubble.is-sell.is-4h{
  background: #ef4b3f !important;
  border-color: rgba(251,146,60,.45) !important;
  box-shadow: none !important;
}

.app-radar-shell .radar-bubble.is-sell.is-2h{
  background: #fb6f5f !important;
  border-color: rgba(253,186,116,.44) !important;
  box-shadow: none !important;
}

.app-radar-shell .radar-bubble span{
  color: #f8fafc !important;
}

.app-radar-shell .radar-bubble.is-confluence{
  color: #15110a !important;
  border-color: rgba(255,221,87,.68) !important;
  background: #f6c744 !important;
  outline: 1px solid rgba(255,221,87,.52) !important;
  outline-offset: 2px !important;
  box-shadow: none !important;
}

.app-radar-shell .radar-bubble.is-confluence span{
  color: #15110a !important;
}

.app-radar-shell .radar-bubble.is-cross-market {
  outline-style: solid !important;
  box-shadow: none !important;
}

.app-radar-shell .radar-bubble:hover,
.app-radar-shell .radar-bubble.is-active,
.app-radar-shell .radar-bubble.is-dragging {
  border-color: rgba(var(--ink-rgb,244,239,232),.68) !important;
  box-shadow: none !important;
  transform: translate(-50%, -50%) !important;
}

.app-radar-shell .radar-monitor-board {
  border-color: rgba(246,199,68,.34) !important;
  background:
    linear-gradient(180deg, rgba(246,199,68,.12), rgba(var(--ink-rgb,244,239,232),.035) 46%),
    rgba(var(--ink-rgb,244,239,232),.035) !important;
}

.app-radar-shell .radar-monitor-list {
  max-height: 142px !important;
}

.app-radar-shell .radar-monitor-action button,
.app-radar-shell .radar-monitor-row em {
  color: #15110a !important;
  background: #f6c744 !important;
}

.app-radar-shell .radar-monitor-row {
  border-color: rgba(246,199,68,.34) !important;
  background: rgba(246,199,68,.08) !important;
}

.app-radar-shell .radar-monitor-row b {
  color: #f6c744 !important;
}

.app-radar-shell .radar-bubble.is-watch.is-monitor-only{
  color: #f8fafc !important;
  background: #25303f !important;
  border-color: rgba(246,199,68,.50) !important;
}

.app-radar-shell .radar-bubble.is-monitored{
  outline: 2px solid #f6c744 !important;
  outline-offset: 4px !important;
  border-color: rgba(246,199,68,.72) !important;
}

/* Radar command panel refresh: separate map, action state, stats, and boards. */
.app-radar-shell .radar-scan-card {
  display: grid !important;
  grid-template-rows: auto auto auto auto auto auto !important;
  align-content: start !important;
  gap: 10px !important;
  min-height: 640px !important;
  overflow: auto !important;
  scrollbar-width: thin;
}

.app-radar-shell .radar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  padding: 0 2px 2px;
}

.app-radar-shell .radar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  padding: 4px 8px;
  border: 1px solid rgba(var(--ink-rgb,244,239,232),.08);
  border-radius: 999px;
  color: rgba(var(--ink-rgb,244,239,232),.74);
  background: rgba(var(--ink-rgb,244,239,232),.035);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}

.app-radar-shell .radar-legend .legend-note {
  color: rgba(var(--ink-rgb,244,239,232),.52);
  background: transparent;
}

.app-radar-shell .legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
}

.app-radar-shell .legend-dot.is-buy {
  background: #12b981;
}

.app-radar-shell .legend-dot.is-sell {
  background: #ef4b3f;
}

.app-radar-shell .legend-dot.is-confluence {
  background: #f6c744;
}

.app-radar-shell .legend-ring {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 2px solid #f6c744;
  display: inline-block;
}

.app-radar-shell .legend-rainbow {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  display: inline-block;
  background:
    linear-gradient(var(--surface-bg-strong, #211c19), var(--surface-bg-strong, #211c19)) padding-box,
    conic-gradient(from 15deg, #22d3ee, #34d399, #facc15, #fb7185, #a78bfa, #22d3ee) border-box;
  border: 2px solid transparent;
}

.app-radar-shell .radar-bubble-map {
  min-height: 420px !important;
  margin: 0 !important;
  isolation: isolate;
  border-radius: 16px !important;
  background:
    radial-gradient(circle at 28% 44%, rgba(18,185,129,.13), transparent 25%),
    radial-gradient(circle at 72% 56%, rgba(239,75,63,.14), transparent 27%),
    radial-gradient(circle at 50% 50%, rgba(246,199,68,.055), transparent 35%),
    linear-gradient(180deg, rgba(var(--ink-rgb,244,239,232),.055), rgba(var(--ink-rgb,244,239,232),.014)) !important;
}

.app-radar-shell .radar-bubble-map::before {
  inset: 22px !important;
  border-radius: 50% !important;
  border: 1px dashed rgba(var(--ink-rgb,244,239,232),.16) !important;
  box-shadow:
    inset 0 0 0 1px rgba(var(--ink-rgb,244,239,232),.035),
    inset 0 0 0 68px rgba(var(--ink-rgb,244,239,232),.008),
    inset 0 0 0 136px rgba(var(--ink-rgb,244,239,232),.006) !important;
}

.app-radar-shell .radar-bubble-map::after {
  inset: 50% 18px auto !important;
  height: 1px !important;
  background:
    linear-gradient(90deg, rgba(18,185,129,.18), rgba(var(--ink-rgb,244,239,232),.22), rgba(239,75,63,.18)) !important;
}

.app-radar-shell .radar-focus-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(var(--ink-rgb,244,239,232),.10);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(var(--ink-rgb,244,239,232),.06), rgba(var(--ink-rgb,244,239,232),.025)),
    rgba(4,9,18,.22);
}

.app-radar-shell .radar-focus-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.app-radar-shell .radar-focus-copy .radar-focus-kicker {
  color: #2dd4bf;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.app-radar-shell .radar-focus-copy b {
  color: #fff;
  font-size: 20px;
  line-height: 1;
}

.app-radar-shell .radar-focus-copy em,
.app-radar-shell .radar-focus-copy span {
  color: rgba(var(--ink-rgb,244,239,232),.72);
  font-size: 12px;
  font-style: normal;
  line-height: 1.35;
}

.app-radar-shell .radar-focus-copy small {
  color: rgba(var(--ink-rgb,244,239,232),.52);
  font-size: 11px;
  line-height: 1.35;
}

.app-radar-shell .radar-focus-copy i {
  color: #f6c744;
  font-size: 11px;
  font-style: normal;
}

.app-radar-shell .radar-focus-state {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.app-radar-shell .radar-focus-state span {
  min-height: 24px;
  padding: 5px 8px;
  border: 1px solid rgba(var(--ink-rgb,244,239,232),.08);
  border-radius: 999px;
  color: rgba(var(--ink-rgb,244,239,232),.56);
  background: rgba(var(--ink-rgb,244,239,232),.04);
  font-size: 11px;
  font-weight: 600;
}

.app-radar-shell .radar-focus-state .is-on {
  color: #15110a;
  border-color: rgba(246,199,68,.45);
  background: #f6c744;
}

.app-radar-shell .radar-focus-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.app-radar-shell .radar-focus-actions button {
  min-height: 36px;
  border: 1px solid rgba(var(--ink-rgb,244,239,232),.10);
  border-radius: 10px;
  color: #f8fafc;
  background: rgba(var(--ink-rgb,244,239,232),.07);
  font-size: 12px;
  font-weight: 660;
  cursor: pointer;
  box-shadow: none;
}

.app-radar-shell .radar-focus-actions button:first-child {
  color: #15110a;
  border-color: rgba(246,199,68,.42);
  background: #f6c744;
}

.app-radar-shell .radar-focus-actions button:last-child {
  border-color: rgba(255,145,37,.42);
  background: linear-gradient(135deg, #ff9f2d, #ff7a00);
}

.app-radar-shell .radar-focus-actions button:disabled {
  cursor: not-allowed;
  opacity: .48;
}

.app-radar-shell .radar-scan-summary {
  position: relative;
  z-index: 2;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px !important;
  margin: 0 !important;
}

.app-radar-shell .radar-scan-summary p {
  min-height: 40px;
  margin: 0;
  border-radius: 10px;
}

.app-radar-shell .radar-row-copy {
  min-width: 0;
  display: grid !important;
  gap: 2px;
  align-items: start !important;
}

.app-radar-shell .radar-row-title {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  min-width: 0;
}

.app-radar-shell .radar-row-copy small {
  display: block;
  max-width: 190px;
  overflow: hidden;
  color: rgba(var(--ink-rgb,244,239,232),.52);
  font-size: 10px;
  font-weight: 680;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-radar-shell .radar-vote-board {
  margin: 0 !important;
}

.app-radar-shell .radar-vote-main {
  min-width: 0;
}

.app-radar-shell .radar-vote-main b {
  max-width: 78px;
  overflow: hidden;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .app-radar-shell .radar-scan-card {
    min-height: 560px !important;
  }

  .app-radar-shell .radar-bubble-map {
    min-height: 360px !important;
  }
}

@media (max-width: 760px) {
  .app-radar-shell .radar-scan-card {
    grid-template-rows: auto auto 360px auto auto auto !important;
  }

  .app-radar-shell .radar-focus-panel {
    grid-template-columns: 1fr;
  }

  .app-radar-shell .radar-focus-state {
    justify-content: flex-start;
  }

  .app-radar-shell .radar-scan-summary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .app-radar-shell {
    padding-bottom: calc(112px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* Radar UX polish: scan field, compact pool, two-color bubbles. */
.app-radar-shell .radar-sentiment-card {
  height: auto !important;
  min-height: 0 !important;
  gap: 10px !important;
  padding-bottom: 12px !important;
}

.app-radar-shell .radar-sentiment-card .screen-top b {
  color: var(--pivot-orange);
  font-size: 20px;
}

.app-radar-shell .radar-sentiment-card .sentiment-main strong {
  font-size: 22px;
}

.app-radar-shell .radar-sentiment-card .sentiment-meter {
  height: 9px;
  box-shadow: none;
}

.app-radar-shell .radar-sentiment-card .sentiment-meter i {
  width: 14px;
  height: 14px;
  border-width: 2px;
  box-shadow: none;
}

.app-radar-shell .radar-sentiment-card .radar-funding-panel {
  min-height: 0;
}

.app-radar-shell .radar-chart-head b {
  font-size: 16px !important;
}

.app-radar-shell .radar-layout {
  height: auto !important;
  min-height: 0 !important;
  align-items: start !important;
}

.app-radar-shell .radar-scan-card {
  grid-template-rows: auto auto auto auto auto auto auto !important;
  align-self: start !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

@media (min-width: 1181px) {
  body:has(.app-radar-shell) {
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  .app-radar-shell .radar-layout {
    height: auto !important;
    min-height: 0 !important;
    align-items: start !important;
  }
}

.app-radar-shell .radar-bubble-map {
  height: clamp(430px, 52vh, 680px) !important;
  min-height: 0 !important;
}

.app-radar-shell .radar-scan-sweep {
  position: absolute;
  inset: 26px;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
  opacity: .42;
  background:
    conic-gradient(from -40deg, transparent 0deg, transparent 286deg, rgba(45,212,191,.16) 318deg, rgba(45,212,191,.48) 336deg, transparent 354deg),
    radial-gradient(circle, transparent 0 56%, rgba(45,212,191,.10) 57%, transparent 58%);
  mix-blend-mode: screen;
  transform-origin: center;
  animation: radarSweepRotate 6.8s linear infinite;
}

@keyframes radarSweepRotate {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .app-radar-shell .radar-scan-sweep {
    animation: none !important;
    opacity: .14;
  }
}

.app-radar-shell .radar-bubble span{
  max-width: calc(var(--s) - 8px) !important;
  max-height: calc(var(--s) - 8px) !important;
  overflow: hidden !important;
  font-size: 12px !important;
  line-height: 1.05 !important;
  text-overflow: clip !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

.app-radar-shell .radar-bubble.is-buy,
.app-radar-shell .radar-bubble.is-buy.is-daily,
.app-radar-shell .radar-bubble.is-buy.is-4h,
.app-radar-shell .radar-bubble.is-buy.is-2h,
.app-radar-shell .radar-bubble.is-buy.is-confluence{
  color: #f8fafc !important;
  border-color: rgba(94,234,212,.48) !important;
  background: #0f9f7a !important;
  outline-color: rgba(246,199,68,.58) !important;
}

.app-radar-shell .radar-bubble.is-sell,
.app-radar-shell .radar-bubble.is-sell.is-daily,
.app-radar-shell .radar-bubble.is-sell.is-4h,
.app-radar-shell .radar-bubble.is-sell.is-2h,
.app-radar-shell .radar-bubble.is-sell.is-confluence{
  color: #f8fafc !important;
  border-color: rgba(253,164,175,.46) !important;
  background: #e24d42 !important;
  outline-color: rgba(246,199,68,.58) !important;
}

.app-radar-shell .radar-bubble.is-confluence{
  outline: none !important;
  outline-offset: 0 !important;
}

.app-radar-shell .radar-bubble.is-confluence.is-monitored{
  outline: 2px solid #f6c744 !important;
  outline-offset: 6px !important;
}

.app-radar-shell .radar-bubble.is-confluence::before{
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: inherit;
  padding: 3px;
  background: conic-gradient(from 25deg, #22d3ee, #34d399, #facc15, #fb7185, #a78bfa, #22d3ee);
  pointer-events: none;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.app-radar-shell .radar-bubble.is-confluence span{
  position: relative;
  z-index: 1;
}

.app-radar-shell .radar-bubble.is-confluence span{
  color: #f8fafc !important;
}

.app-radar-shell .radar-watch-pool {
  display: grid;
  gap: 9px;
  padding: 11px;
  border: 1px solid rgba(var(--ink-rgb,244,239,232),.10);
  border-radius: 14px;
  background: rgba(var(--ink-rgb,244,239,232),.035);
}

.app-radar-shell .radar-watch-pool-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-height: 32px;
}

.app-radar-shell .radar-watch-chip {
  display: inline-grid !important;
  grid-template-columns: auto auto;
  grid-template-areas:
    "name tag"
    "meta meta";
  gap: 2px 6px;
  align-items: center !important;
  min-height: 42px !important;
  min-width: 82px !important;
  padding: 7px 9px !important;
  border: 1px solid rgba(var(--ink-rgb,244,239,232),.10) !important;
  border-radius: 12px !important;
  color: rgba(247,244,238,.92) !important;
  background: rgba(var(--ink-rgb,244,239,232),.05) !important;
  box-shadow: none !important;
}

.app-radar-shell .radar-watch-chip:hover {
  transform: none !important;
  border-color: rgba(255,145,37,.38) !important;
  background: rgba(255,145,37,.10) !important;
}

.app-radar-shell .radar-watch-chip strong {
  grid-area: name;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.app-radar-shell .radar-watch-chip span {
  grid-area: tag;
  padding: 2px 5px;
  border-radius: 999px;
  color: #15110a;
  background: #f6c744;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.app-radar-shell .radar-watch-chip em {
  grid-area: meta;
  color: rgba(var(--ink-rgb,244,239,232),.56);
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
}

.app-radar-shell .radar-risk-strip {
  margin-top: 14px;
}

@media (max-width: 760px) {
  .app-radar-shell .radar-scan-card {
    grid-template-rows: auto auto auto auto auto auto auto !important;
  }

  .app-radar-shell .radar-bubble-map {
    height: 390px !important;
  }

  .app-radar-shell .radar-watch-pool-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-radar-shell .radar-watch-chip {
    width: 100%;
  }
}

/* Radar compact command layout: chart first, auxiliary panels to the side. */
@media (min-width: 1181px) {
  .app-radar-shell {
    width: min(1840px, calc(100vw - 44px)) !important;
  }

  .app-radar-shell .radar-layout {
    display: grid !important;
    grid-template-columns: minmax(720px, 1fr) clamp(360px, 25vw, 480px) !important;
    grid-template-areas:
      "chart scan"
      "rail scan" !important;
    gap: 16px !important;
    align-items: start !important;
  }

  .app-radar-shell .radar-chart-card {
    grid-area: chart !important;
    min-height: 0 !important;
    height: auto !important;
    display: grid !important;
    grid-template-rows: auto auto auto !important;
  }

  .app-radar-shell .radar-chart-wrap {
    min-height: 0 !important;
    height: clamp(400px, 42vh, 500px) !important;
  }

  .app-radar-shell .radar-chart-wrap canvas {
    height: 100% !important;
  }

  .app-radar-shell .radar-detail-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin-top: 10px !important;
  }

  .app-radar-shell .radar-detail-grid p {
    min-height: 58px !important;
    padding: 10px 12px !important;
    border-radius: 14px !important;
  }

  .app-radar-shell .radar-detail-grid p:nth-child(n+5) {
    display: none !important;
  }

  .app-radar-shell .radar-left-rail {
    grid-area: rail !important;
    position: static !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1.55fr) minmax(260px, .95fr) !important;
    grid-template-rows: auto !important;
    gap: 16px !important;
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
  }

  .app-radar-shell .radar-results-card,
  .app-radar-shell .radar-left-rail .radar-sentiment-card {
    min-height: 0 !important;
    height: auto !important;
  }

  .app-radar-shell .radar-results-card {
    max-height: 430px !important;
  }

  .app-radar-shell .radar-hit-list {
    max-height: 322px !important;
  }

  .app-radar-shell .radar-hit-card {
    min-height: 82px !important;
    padding: 10px 12px 10px 14px !important;
    border-radius: 14px !important;
  }

  .app-radar-shell .radar-scan-card {
    grid-area: scan !important;
    position: static !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    display: grid !important;
    grid-template-rows: auto auto auto auto auto auto auto !important;
    gap: 10px !important;
    overflow: visible !important;
  }

  .app-radar-shell .radar-bubble-map {
    min-height: 0 !important;
    height: clamp(280px, 30vh, 350px) !important;
  }

  .app-radar-shell .radar-focus-panel {
    padding: 10px !important;
  }

  .app-radar-shell .radar-focus-copy b {
    font-size: 18px !important;
  }

  .app-radar-shell .radar-vote-board,
  .app-radar-shell .radar-watch-pool {
    padding: 10px !important;
    border-radius: 14px !important;
  }

  .app-radar-shell .radar-monitor-list,
  .app-radar-shell .radar-vote-list {
    max-height: 132px !important;
  }

  .app-radar-shell .radar-risk-strip {
    margin-top: 0 !important;
  }
}

@media (min-width: 1181px) and (max-width: 1440px) {
  .app-radar-shell .radar-layout {
    grid-template-columns: minmax(620px, 1fr) clamp(330px, 28vw, 420px) !important;
  }

  .app-radar-shell .radar-chart-wrap {
    height: clamp(380px, 46vh, 500px) !important;
  }

  .app-radar-shell .radar-left-rail {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 1180px) {
  .app-radar-shell .radar-layout {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "chart"
      "scan"
      "rail" !important;
    gap: 14px !important;
  }

  .app-radar-shell .radar-chart-card {
    grid-area: chart !important;
    display: grid !important;
    grid-template-rows: auto auto auto !important;
    min-height: 0 !important;
    height: auto !important;
  }

  .app-radar-shell .radar-scan-card {
    grid-area: scan !important;
  }

  .app-radar-shell .radar-left-rail {
    grid-area: rail !important;
  }

  .app-radar-shell .radar-chart-wrap {
    height: clamp(340px, 52vh, 460px) !important;
    min-height: 0 !important;
  }

  .app-radar-shell .radar-chart-wrap canvas {
    height: 100% !important;
  }

  .app-radar-shell .radar-bubble-map {
    height: clamp(300px, 48vh, 390px) !important;
    min-height: 0 !important;
  }
}

@media (max-width: 560px) {
  .app-radar-shell .radar-chart-wrap {
    height: 320px !important;
  }

  .app-radar-shell .radar-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .app-radar-shell .radar-detail-grid p {
    min-height: 0 !important;
    padding: 10px 12px !important;
  }

  .app-radar-shell .radar-detail-grid p:nth-child(n+5) {
    display: none !important;
  }

  .app-radar-shell .radar-bubble-map {
    height: 320px !important;
  }
}

/* Radar decision-console pass: signal first, compact chart errors, map as overview. */
.app-radar-shell .radar-hero {
  align-items: center !important;
  padding: 16px 20px !important;
  gap: 14px !important;
}

.app-radar-shell .radar-hero h1 {
  margin: 2px 0 4px !important;
  font-size: clamp(34px, 3.2vw, 54px) !important;
  letter-spacing: 0 !important;
}

.app-radar-shell .radar-hero p {
  max-width: 680px !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
}

.app-radar-shell .radar-controls {
  gap: 8px !important;
  min-width: 0 !important;
}

.app-radar-shell .radar-controls label,
.app-radar-shell .radar-check,
.app-radar-shell .radar-controls button {
  min-height: 34px !important;
  padding-inline: 11px !important;
}

.app-radar-shell .radar-chart-card {
  grid-template-rows: auto auto auto auto !important;
}

.app-radar-shell .radar-chart-head {
  margin-bottom: 8px !important;
}

.app-radar-shell .radar-chart-card > .radar-focus-panel {
  margin-bottom: 10px !important;
}

.app-radar-shell .radar-chart-wrap {
  height: clamp(380px, 39vh, 480px) !important;
  min-height: 0 !important;
}

.app-radar-shell .radar-chart-card.is-chart-error .radar-chart-wrap {
  height: 156px !important;
  background:
    radial-gradient(circle at 20% 12%, rgba(255,145,37,.10), transparent 34%),
    #050912 !important;
}

.app-radar-shell .radar-chart-card.is-chart-error canvas {
  opacity: .08;
}

.app-radar-shell .radar-chart-empty {
  pointer-events: auto;
}

.app-radar-shell .radar-chart-error-box {
  display: grid;
  justify-items: center;
  gap: 8px;
  max-width: 360px;
  text-align: center;
}

.app-radar-shell .radar-chart-error-box b {
  color: #f8fafc;
  font-size: 16px;
  line-height: 1.2;
}

.app-radar-shell .radar-chart-error-box span {
  color: rgba(var(--ink-rgb,244,239,232),.58);
  font-size: 12px;
  line-height: 1.35;
}

.app-radar-shell .radar-chart-error-box button {
  min-height: 32px;
  padding: 0 14px;
  color: #15110a;
  border: 0;
  border-radius: 999px;
  background: #f6c744;
  font-size: 12px;
  font-weight: 700;
  box-shadow: none;
  cursor: pointer;
}

.app-radar-shell .radar-chart-error-box button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.app-radar-shell .radar-scan-card {
  gap: 9px !important;
  min-height: 0 !important;
}

.app-radar-shell .radar-bubble-map {
  height: clamp(250px, 24vh, 320px) !important;
  min-height: 0 !important;
}

.app-radar-shell .radar-scan-sweep {
  inset: 16px !important;
  opacity: .35 !important;
}

.app-radar-shell .radar-bubble span{
  font-size: 12.5px !important;
  line-height: 1.04 !important;
  font-weight: 700 !important;
}

.app-radar-shell .radar-scan-summary {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.app-radar-shell .radar-scan-summary p {
  min-height: 34px !important;
  padding: 8px 10px !important;
}

.app-radar-shell .radar-board-note {
  color: rgba(var(--ink-rgb,244,239,232),.52);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
}

.app-radar-shell .radar-vote-list,
.app-radar-shell .radar-monitor-list {
  gap: 7px !important;
}

.app-radar-shell .radar-vote-row {
  min-height: 42px !important;
  padding: 6px !important;
}

.app-radar-shell .radar-vote-row.is-top {
  border-color: rgba(255,145,37,.34) !important;
  background: rgba(255,145,37,.10) !important;
}

.app-radar-shell .radar-vote-main {
  min-height: 32px !important;
}

.app-radar-shell .radar-left-rail .radar-sentiment-card {
  align-self: start;
}

@media (min-width: 1181px) {
  .app-radar-shell {
    width: min(1760px, calc(100vw - 40px)) !important;
  }

  .app-radar-shell .radar-layout {
    grid-template-columns: minmax(720px, 1fr) clamp(340px, 24vw, 430px) !important;
    grid-template-areas:
      "chart scan"
      "rail scan" !important;
  }

  .app-radar-shell .radar-left-rail {
    grid-template-columns: minmax(0, 1.5fr) minmax(250px, .85fr) !important;
  }

  .app-radar-shell .radar-results-card {
    max-height: 388px !important;
  }

  .app-radar-shell .radar-hit-list {
    max-height: 282px !important;
  }

  .app-radar-shell .radar-scan-card {
    position: sticky !important;
    top: 82px !important;
  }

  .app-radar-shell .radar-monitor-list,
  .app-radar-shell .radar-vote-list {
    max-height: 118px !important;
  }
}

@media (max-width: 1180px) {
  .app-radar-shell .radar-layout {
    grid-template-areas:
      "rail"
      "chart"
      "scan" !important;
  }

  .app-radar-shell .radar-left-rail {
    display: grid !important;
    gap: 12px !important;
  }

  .app-radar-shell .radar-results-card {
    max-height: none !important;
  }

  .app-radar-shell .radar-hit-list {
    max-height: 320px !important;
  }

  .app-radar-shell .radar-chart-wrap {
    height: clamp(280px, 44vh, 390px) !important;
  }

  .app-radar-shell .radar-chart-card.is-chart-error .radar-chart-wrap {
    height: 136px !important;
  }

  .app-radar-shell .radar-bubble-map {
    height: clamp(230px, 42vh, 300px) !important;
  }
}

@media (max-width: 760px) {
  .app-radar-shell {
    padding-inline: 10px !important;
  }

  .app-radar-shell .radar-hero {
    padding: 14px !important;
  }

  .app-radar-shell .radar-hero h1 {
    font-size: 34px !important;
  }

  .app-radar-shell .radar-hero p {
    font-size: 12px !important;
    line-height: 1.45 !important;
  }

  .app-radar-shell .radar-controls {
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
    padding-bottom: 2px !important;
    scrollbar-width: none;
  }

  .app-radar-shell .radar-controls::-webkit-scrollbar {
    display: none;
  }

  .app-radar-shell .radar-controls label,
  .app-radar-shell .radar-check,
  .app-radar-shell .radar-controls button {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
  }

  .app-radar-shell .radar-focus-panel {
    grid-template-columns: 1fr !important;
  }

  .app-radar-shell .radar-focus-state {
    justify-content: flex-start !important;
  }

  .app-radar-shell .radar-detail-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .app-radar-shell .radar-hit-list {
    max-height: 286px !important;
  }

  .app-radar-shell .radar-hit-card {
    min-height: 92px !important;
  }

  .app-radar-shell .radar-bubble-map {
    height: 248px !important;
  }

  .app-radar-shell .radar-scan-summary {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* Radar marked-layout pass: left triggers, center chart, right scan/community. */
@media (min-width: 1181px) {
  .app-radar-shell {
    width: min(1980px, calc(100vw - 24px)) !important;
    padding-top: 70px !important;
  }

  .app-radar-shell .radar-page {
    display: grid !important;
    grid-template-columns: clamp(270px, 14.5vw, 320px) minmax(720px, 1fr) clamp(330px, 17.5vw, 390px) !important;
    grid-template-areas:
      "rail hero hero"
      "rail chart scan"
      "rail pool community"
      "rail sentiment community"
      "risk risk risk" !important;
    gap: 12px !important;
    align-items: start !important;
  }

  .app-radar-shell .radar-layout {
    display: contents !important;
  }

  .app-radar-shell .radar-hero {
    grid-area: hero !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    min-height: 122px !important;
    padding: 20px 22px !important;
  }

  .app-radar-shell .radar-hero .eyebrow {
    margin-bottom: 3px !important;
  }

  .app-radar-shell .radar-hero h1 {
    font-size: clamp(36px, 3vw, 52px) !important;
  }

  .app-radar-shell .radar-hero p {
    max-width: 760px !important;
  }

  .app-radar-shell .radar-controls {
    max-width: 860px !important;
  }

  .app-radar-shell .radar-left-rail {
    grid-area: rail !important;
    position: sticky !important;
    top: 70px !important;
    display: grid !important;
    grid-template-rows: minmax(0, 1fr) auto !important;
    gap: 12px !important;
    height: calc(100vh - 86px) !important;
    max-height: none !important;
    overflow: hidden !important;
  }

  .app-radar-shell .radar-results-card {
    min-height: 0 !important;
    max-height: none !important;
  }

  .app-radar-shell .radar-hit-list {
    max-height: none !important;
    min-height: 0 !important;
  }

  .app-radar-shell .radar-funding-card {
    min-height: 128px !important;
  }

  .app-radar-shell .radar-chart-card {
    grid-area: chart !important;
    display: grid !important;
    grid-template-rows: auto auto minmax(360px, 1fr) auto !important;
    min-height: 0 !important;
    padding: 14px !important;
  }

  .app-radar-shell .radar-chart-wrap {
    height: clamp(370px, 42vh, 500px) !important;
  }

  .app-radar-shell .radar-chart-card.is-chart-error .radar-chart-wrap {
    height: 148px !important;
  }

  .app-radar-shell .radar-detail-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin-top: 8px !important;
  }

  .app-radar-shell .radar-detail-grid p {
    min-height: 58px !important;
  }

  .app-radar-shell .radar-detail-grid p:nth-child(n+5) {
    display: none !important;
  }

  .app-radar-shell .radar-scan-card {
    grid-area: scan !important;
    position: sticky !important;
    top: 204px !important;
    display: grid !important;
    grid-template-rows: auto auto minmax(245px, 1fr) auto !important;
    gap: 9px !important;
    min-height: 0 !important;
    padding: 14px !important;
  }

  .app-radar-shell .radar-bubble-map {
    height: clamp(245px, 29vh, 340px) !important;
  }

  .app-radar-shell .radar-watch-pool {
    grid-area: pool !important;
    min-height: 126px !important;
    align-self: stretch !important;
  }

  .app-radar-shell .radar-watch-pool-list {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    padding-bottom: 4px !important;
    scrollbar-width: thin;
  }

  .app-radar-shell .radar-watch-chip {
    flex: 0 0 104px !important;
  }

  .app-radar-shell .radar-sentiment-card {
    grid-area: sentiment !important;
    align-self: stretch !important;
    min-height: 148px !important;
  }

  .app-radar-shell .radar-community-card {
    grid-area: community !important;
    display: grid !important;
    gap: 10px !important;
    align-self: start !important;
    min-height: 324px !important;
  }

  .app-radar-shell .radar-community-card .radar-vote-board {
    padding: 10px !important;
  }

  .app-radar-shell .radar-community-card .radar-monitor-list,
  .app-radar-shell .radar-community-card .radar-vote-list {
    max-height: 138px !important;
  }

  .app-radar-shell .radar-risk-strip {
    grid-area: risk !important;
    margin-top: 0 !important;
  }
}

.app-radar-shell .radar-funding-card,
.app-radar-shell .radar-community-card {
  border: 1px solid rgba(var(--ink-rgb,244,239,232),.10);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(var(--ink-rgb,244,239,232),.055), rgba(var(--ink-rgb,244,239,232),.018)),
    rgba(17,15,14,.88);
  box-shadow: none;
}

.app-radar-shell .radar-funding-card {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.app-radar-shell .radar-funding-card .radar-funding-panel {
  padding: 0;
  border: 0;
  background: transparent;
}

.app-radar-shell .radar-funding-card .funding-head b[data-radar-funding-rate-hidden] {
  display: none;
}

@media (max-width: 1180px) {
  .app-radar-shell .radar-layout {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "rail"
      "chart"
      "scan"
      "pool"
      "sentiment"
      "community" !important;
  }

  .app-radar-shell .radar-left-rail,
  .app-radar-shell .radar-chart-card,
  .app-radar-shell .radar-scan-card,
  .app-radar-shell .radar-watch-pool,
  .app-radar-shell .radar-sentiment-card,
  .app-radar-shell .radar-community-card {
    position: static !important;
  }

  .app-radar-shell .radar-left-rail {
    grid-area: rail !important;
    height: auto !important;
    overflow: visible !important;
  }

  .app-radar-shell .radar-chart-card {
    grid-area: chart !important;
  }

  .app-radar-shell .radar-scan-card {
    grid-area: scan !important;
  }

  .app-radar-shell .radar-watch-pool {
    grid-area: pool !important;
  }

  .app-radar-shell .radar-sentiment-card {
    grid-area: sentiment !important;
  }

  .app-radar-shell .radar-community-card {
    grid-area: community !important;
    display: grid !important;
    gap: 10px !important;
  }
}

/* Radar compact control-room pass: one-screen priority layout. */
body:has(.app-radar-shell) {
  overflow-x: hidden;
}

.app-radar-shell .radar-filter-stack {
  position: relative;
  justify-self: end;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  z-index: 30;
}

.app-radar-shell .radar-filter-menu {
  position: relative;
  z-index: 30;
}

.app-radar-shell .radar-filter-menu > summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: min(420px, 42vw);
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(var(--ink-rgb,244,239,232),.13);
  border-radius: 999px;
  color: rgba(var(--ink-rgb,244,239,232),.92);
  background: rgba(var(--ink-rgb,244,239,232),.06);
  cursor: pointer;
  user-select: none;
}

.app-radar-shell .radar-filter-menu > summary::-webkit-details-marker {
  display: none;
}

.app-radar-shell .radar-filter-menu > summary span {
  font-size: 12px;
  font-weight: 700;
}

.app-radar-shell .radar-filter-menu > summary b {
  min-width: 0;
  overflow: hidden;
  color: rgba(var(--ink-rgb,244,239,232),.58);
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-radar-shell .radar-lookback-quick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(var(--ink-rgb,244,239,232),.13);
  border-radius: 999px;
  color: rgba(var(--ink-rgb,244,239,232),.76);
  background: rgba(var(--ink-rgb,244,239,232),.06);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.app-radar-shell .radar-lookback-quick select {
  width: 74px;
  height: 28px;
  border: 1px solid rgba(var(--ink-rgb,244,239,232),.10);
  border-radius: 999px;
  color: rgba(var(--ink-rgb,244,239,232),.92);
  background: rgba(17,15,14,.86);
  font-size: 12px;
  font-weight: 700;
}

.app-radar-shell .radar-filter-menu[open] > summary {
  border-color: rgba(255,139,31,.42);
  background: rgba(255,139,31,.10);
}

.app-radar-shell .radar-filter-menu[open] .radar-controls {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(760px, calc(100vw - 34px));
  max-width: none !important;
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(var(--ink-rgb,244,239,232),.12);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(37,32,29,.98), rgba(21,18,16,.98)),
    #151210;
  box-shadow: 0 18px 50px rgba(0,0,0,.36);
}

.app-radar-shell .radar-filter-menu .radar-controls label,
.app-radar-shell .radar-filter-menu .radar-check,
.app-radar-shell .radar-filter-menu .radar-controls button {
  min-height: 34px !important;
  padding: 0 11px !important;
  font-size: 12px !important;
}

@media (min-width: 1181px) {
  .app-radar-shell {
    width: min(2060px, calc(100vw - 28px)) !important;
    min-height: calc(100dvh - 16px) !important;
    padding-top: 88px !important;
  }

  .app-radar-shell .radar-page {
    display: grid !important;
    grid-template-columns: clamp(270px, 14.5vw, 320px) minmax(680px, 1fr) clamp(320px, 18vw, 380px) !important;
    grid-template-rows: minmax(96px, auto) minmax(0, 1fr) clamp(150px, 17vh, 240px) auto !important;
    grid-template-areas:
      "rail hero hero"
      "rail chart scan"
      "funding pool community"
      "risk risk risk" !important;
    gap: 10px !important;
    height: auto !important;
    min-height: calc(100dvh - 112px) !important;
    overflow: visible !important;
    align-items: stretch !important;
  }

  .app-radar-shell .radar-layout,
  .app-radar-shell .radar-left-rail {
    display: contents !important;
  }

  .app-radar-shell .radar-hero {
    grid-area: hero !important;
    min-height: 96px !important;
    padding: 16px 18px !important;
    overflow: visible !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 18px !important;
  }

  .app-radar-shell .radar-hero h1 {
    font-size: clamp(34px, 2.4vw, 46px) !important;
    line-height: .95 !important;
  }

  .app-radar-shell .radar-hero p {
    max-width: 820px !important;
    margin-top: 6px !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
  }

  .app-radar-shell .radar-results-card {
    grid-area: rail !important;
    display: grid !important;
    grid-template-rows: auto auto minmax(0, 1fr) !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding: 14px !important;
  }

  .app-radar-shell .radar-results-card .screen-top span,
  .app-radar-shell .radar-funding-card .screen-top span,
  .app-radar-shell .radar-scan-card .screen-top span,
  .app-radar-shell .radar-community-card .radar-vote-head span {
    writing-mode: horizontal-tb !important;
    white-space: nowrap !important;
  }

  .app-radar-shell .radar-status {
    font-size: 12px !important;
    line-height: 1.45 !important;
  }

  .app-radar-shell .radar-hit-list {
    min-height: 0 !important;
    max-height: none !important;
    overflow-y: auto !important;
    padding-right: 4px !important;
  }

  .app-radar-shell .radar-hit-card {
    min-height: 86px !important;
    padding: 12px 12px 12px 14px !important;
  }

  .app-radar-shell .radar-funding-card {
    grid-area: funding !important;
    min-height: 0 !important;
    height: 100% !important;
    padding: 12px !important;
    overflow: hidden !important;
  }

  .app-radar-shell .radar-funding-card .radar-funding-panel {
    gap: 8px !important;
  }

  .app-radar-shell .radar-chart-card {
    grid-area: chart !important;
    display: grid !important;
    grid-template-rows: auto minmax(64px, auto) minmax(0, 1fr) auto !important;
    min-height: 0 !important;
    height: 100% !important;
    padding: 12px !important;
    overflow: hidden !important;
  }

  .app-radar-shell .radar-focus-panel {
    min-height: 62px !important;
    padding: 10px !important;
  }

  .app-radar-shell .radar-chart-wrap {
    height: auto !important;
    min-height: 0 !important;
  }

  .app-radar-shell .radar-chart-card.is-chart-error .radar-chart-wrap {
    height: 132px !important;
  }

  .app-radar-shell .radar-detail-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 7px !important;
    margin-top: 8px !important;
  }

  .app-radar-shell .radar-detail-grid p {
    min-height: 48px !important;
    padding: 9px 10px !important;
  }

  .app-radar-shell .radar-scan-card {
    grid-area: scan !important;
    position: relative !important;
    top: auto !important;
    display: grid !important;
    grid-template-rows: auto auto minmax(0, 1fr) auto !important;
    min-height: 0 !important;
    height: 100% !important;
    padding: 12px !important;
    overflow: hidden !important;
  }

  .app-radar-shell .radar-bubble-map {
    height: auto !important;
    min-height: 0 !important;
  }

  .app-radar-shell .radar-scan-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  .app-radar-shell .radar-scan-summary p {
    min-height: 38px !important;
    padding: 7px 9px !important;
  }

  .app-radar-shell .radar-watch-pool {
    grid-area: pool !important;
    min-height: 0 !important;
    height: 100% !important;
    padding: 12px !important;
    overflow: hidden !important;
  }

  .app-radar-shell .radar-watch-pool-list {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 9px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding-bottom: 3px !important;
  }

  .app-radar-shell .radar-watch-chip {
    flex: 0 0 108px !important;
    min-height: 58px !important;
  }

  .app-radar-shell .radar-community-card {
    grid-area: community !important;
    display: block !important;
    min-height: 0 !important;
    height: 100% !important;
    padding: 12px !important;
    overflow: hidden !important;
  }

  .app-radar-shell .radar-community-card .radar-vote-board {
    height: 100% !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    display: grid !important;
    grid-template-rows: auto minmax(0, 1fr) !important;
  }

  .app-radar-shell .radar-community-card .radar-vote-list {
    min-height: 0 !important;
    max-height: none !important;
    overflow-y: auto !important;
    padding-right: 3px !important;
  }

  .app-radar-shell .radar-community-card .radar-vote-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 7px !important;
  }

  .app-radar-shell .radar-community-card .radar-vote-main {
    min-height: 48px !important;
    padding: 8px !important;
    display: grid !important;
    grid-template-columns: 34px minmax(0, 1fr) auto !important;
    gap: 8px !important;
    align-items: center !important;
    text-align: left !important;
  }

  .app-radar-shell .radar-community-card .radar-vote-main > em {
    display: inline-grid !important;
    place-items: center !important;
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    color: #1d1408 !important;
    background: linear-gradient(135deg, #ffb73d, #ff8b1f) !important;
    font-style: normal !important;
    font-weight: 700 !important;
  }

  .app-radar-shell .radar-community-card .radar-row-title {
    gap: 6px !important;
  }

  .app-radar-shell .radar-community-card .radar-row-title i {
    padding: 2px 6px !important;
    border-radius: 999px !important;
    color: #ffb43b !important;
    background: rgba(255,139,31,.13) !important;
    font-size: 10px !important;
    font-style: normal !important;
  }

  .app-radar-shell .radar-community-card .radar-vote-main b {
    color: #ff9f1a !important;
    white-space: nowrap !important;
  }

  .app-radar-shell .radar-risk-strip {
    grid-area: risk !important;
    min-height: 30px !important;
    margin: 0 !important;
    padding: 7px 12px !important;
    border-radius: 12px !important;
  }
}

@media (max-width: 1180px) {
  .app-radar-shell .radar-hero {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .app-radar-shell .radar-filter-stack {
    width: 100%;
    justify-self: stretch;
    align-items: stretch;
    justify-content: stretch;
    flex-wrap: wrap;
  }

  .app-radar-shell .radar-filter-menu > summary {
    width: 100%;
    min-width: 0;
  }

  .app-radar-shell .radar-filter-menu {
    flex: 1 1 260px;
  }

  .app-radar-shell .radar-lookback-quick {
    flex: 0 0 auto;
  }

  .app-radar-shell .radar-filter-menu[open] .radar-controls {
    position: static;
    width: 100%;
    margin-top: 8px;
    justify-content: flex-start;
  }

  .app-radar-shell .radar-layout {
    grid-template-areas:
      "chart"
      "scan"
      "pool"
      "community"
      "rail" !important;
  }

  .app-radar-shell .radar-left-rail {
    grid-area: rail !important;
  }

  .app-radar-shell .radar-community-card .radar-monitor-board,
  .app-radar-shell .radar-sentiment-card {
    display: none !important;
  }
}

/* Radar bubble labels and favorite pool. */
.app-radar-shell .radar-bubble span{
  display: block !important;
  max-width: calc(var(--s) - 10px) !important;
  max-height: 1.05em !important;
  overflow: hidden !important;
  overflow-wrap: normal !important;
  word-break: keep-all !important;
  white-space: nowrap !important;
  text-overflow: clip !important;
  line-height: 1.05 !important;
}

.app-radar-shell .radar-bubble .radar-bubble-symbol,
.app-radar-shell .radar-bubble .radar-bubble-funding {
  grid-area: 1 / 1 !important;
  pointer-events: none !important;
  transition: opacity .12s ease, transform .12s ease !important;
}

.app-radar-shell .radar-bubble .radar-bubble-symbol {
  opacity: 1 !important;
}

.app-radar-shell .radar-bubble .radar-bubble-funding {
  max-width: calc(var(--s) - 6px) !important;
  max-height: none !important;
  padding: 2px 3px !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  border-radius: 999px !important;
  background: rgba(4,7,12,.70) !important;
  font-size: min(10.5px, calc(var(--s) * .17)) !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  opacity: 0 !important;
  transform: scale(.96) !important;
  text-shadow: 0 1px 2px rgba(0,0,0,.58) !important;
}

.app-radar-shell .radar-bubble.has-funding:hover .radar-bubble-symbol,
.app-radar-shell .radar-bubble.has-funding:focus-visible .radar-bubble-symbol {
  opacity: 0 !important;
  transform: scale(.96) !important;
}

.app-radar-shell .radar-bubble.has-funding:hover .radar-bubble-funding,
.app-radar-shell .radar-bubble.has-funding:focus-visible .radar-bubble-funding {
  opacity: 1 !important;
  transform: scale(1) !important;
}

.app-radar-shell .radar-bubble.is-funding-positive .radar-bubble-funding {
  color: #34d399 !important;
}

.app-radar-shell .radar-bubble.is-funding-negative .radar-bubble-funding {
  color: #fb7185 !important;
}

.app-radar-shell .radar-bubble.is-funding-neutral .radar-bubble-funding {
  color: #f6c744 !important;
}

.app-radar-shell .radar-watch-pool-list {
  align-items: flex-start !important;
  gap: 12px !important;
}

.app-radar-shell .radar-watch-item {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 5px;
  width: 74px;
  min-width: 74px;
}

.app-radar-shell .radar-watch-bubble {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 1px solid rgba(var(--ink-rgb,244,239,232),.16);
  border-radius: 50%;
  color: #f8fafc;
  background: rgba(var(--ink-rgb,244,239,232),.12);
  box-shadow: none;
  cursor: pointer;
}

.app-radar-shell .radar-watch-bubble strong {
  display: block;
  max-width: 46px;
  overflow: hidden;
  color: inherit;
  font-size: var(--fs, 11px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
  text-overflow: clip;
  white-space: nowrap;
}

.app-radar-shell .radar-watch-bubble.is-buy {
  border-color: rgba(94,234,212,.48);
  background: #0f9f7a;
}

.app-radar-shell .radar-watch-bubble.is-sell {
  border-color: rgba(253,164,175,.46);
  background: #e24d42;
}

.app-radar-shell .radar-watch-bubble.is-watch {
  border-color: rgba(246,199,68,.44);
  background: #3a3225;
}

.app-radar-shell .radar-watch-bubble.is-monitored {
  outline: 2px solid rgba(246,199,68,.72);
  outline-offset: 3px;
}

.app-radar-shell .radar-watch-bubble:hover {
  transform: none;
  filter: brightness(1.06);
}

.app-radar-shell .radar-watch-item > span {
  max-width: 74px;
  overflow: hidden;
  color: rgba(var(--ink-rgb,244,239,232),.62);
  font-size: 10px;
  font-weight: 620;
  line-height: 1.1;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-radar-shell .radar-watch-remove {
  min-height: 22px;
  padding: 0 8px;
  border: 1px solid rgba(var(--ink-rgb,244,239,232),.12);
  border-radius: 999px;
  color: rgba(var(--ink-rgb,244,239,232),.76);
  background: rgba(var(--ink-rgb,244,239,232),.055);
  font-size: 10px;
  font-weight: 660;
  cursor: pointer;
}

.app-radar-shell .radar-watch-remove:hover {
  border-color: rgba(255,139,31,.35);
  color: #ffb43b;
  background: rgba(255,139,31,.10);
}

@media (max-width: 760px) {
  .app-radar-shell .radar-watch-item {
    width: 72px;
    min-width: 72px;
  }
}

/* Radar chart stack: chart first, selected signal below chart. */
.app-radar-shell .radar-chart-card {
  grid-template-rows: auto minmax(360px, 1fr) auto auto !important;
}

.app-radar-shell .radar-chart-card > .radar-focus-panel {
  margin-top: 8px !important;
  margin-bottom: 0 !important;
}

.app-radar-shell .radar-chart-card > .radar-detail-grid {
  margin-top: 8px !important;
}

.app-radar-shell .radar-chart-card > .radar-chart-wrap {
  order: initial !important;
}

.app-radar-shell .radar-chart-card > .radar-detail-grid {
  order: initial !important;
}

.app-radar-shell .radar-chart-card > .radar-focus-panel {
  order: initial !important;
}

@media (min-width: 1181px) {
  .app-radar-shell .radar-chart-card {
    grid-template-rows: auto minmax(360px, 1fr) auto auto !important;
  }

  .app-radar-shell .radar-chart-wrap {
    min-height: 360px !important;
  }

  .app-radar-shell .radar-focus-panel {
    min-height: 64px !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-rows: auto auto !important;
    align-items: center !important;
  }

  .app-radar-shell .radar-focus-copy {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
  }

  .app-radar-shell .radar-focus-state {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }

  .app-radar-shell .radar-focus-actions {
    grid-column: 2 !important;
    grid-row: 2 !important;
    width: min(420px, 32vw) !important;
    align-self: end !important;
  }
}

@media (max-width: 760px) {
  .app-radar-shell .radar-chart-card {
    grid-template-rows: auto minmax(320px, auto) auto auto !important;
  }

  .app-radar-shell .radar-focus-actions {
    grid-column: 1 / -1 !important;
    width: 100% !important;
  }
}

/* Desktop radar viewport: keep the working console in one screen, risk note below the fold. */
@media (min-width: 1181px) {
  .app-radar-shell {
    padding-top: 88px !important;
  }

  .app-radar-shell .radar-page {
    --radar-first-screen: calc(100dvh - 112px);
    grid-template-rows: 96px minmax(0, calc(var(--radar-first-screen) - 96px - 150px - 20px)) 150px auto !important;
    min-height: 0 !important;
    height: auto !important;
    overflow: visible !important;
    align-items: stretch !important;
  }

  .app-radar-shell .radar-results-card,
  .app-radar-shell .radar-chart-card,
  .app-radar-shell .radar-scan-card,
  .app-radar-shell .radar-funding-card,
  .app-radar-shell .radar-watch-pool,
  .app-radar-shell .radar-community-card {
    min-height: 0 !important;
    height: 100% !important;
    overflow: hidden !important;
  }

  .app-radar-shell .radar-chart-card {
    grid-template-rows: auto minmax(0, 1fr) auto auto !important;
  }

  .app-radar-shell .radar-chart-wrap {
    min-height: 0 !important;
    height: auto !important;
  }

  .app-radar-shell .radar-chart-wrap canvas {
    height: 100% !important;
  }

  .app-radar-shell .radar-detail-grid {
    min-height: 0 !important;
  }

  .app-radar-shell .radar-focus-panel {
    min-height: 56px !important;
  }

  .app-radar-shell .radar-scan-card {
    grid-template-rows: auto auto minmax(0, 1fr) auto !important;
  }

  .app-radar-shell .radar-bubble-map {
    min-height: 0 !important;
    height: auto !important;
    overflow: hidden !important;
  }

  .app-radar-shell .radar-hit-list,
  .app-radar-shell .radar-watch-list,
  .app-radar-shell .radar-community-list,
  .app-radar-shell [data-radar-vote-list] {
    min-height: 0 !important;
    max-height: none !important;
    overflow-y: auto !important;
    scrollbar-gutter: stable;
  }

  .app-radar-shell .radar-risk-strip {
    align-self: start !important;
  }
}

/* Keep the compact filter popover above the chart and radar cards. */
.app-radar-shell,
.app-radar-shell .radar-page,
.app-radar-shell .radar-hero,
.app-radar-shell .radar-filter-stack {
  overflow: visible !important;
}

.app-radar-shell .radar-hero {
  position: relative !important;
  z-index: 1200 !important;
}

.app-radar-shell .radar-filter-stack,
.app-radar-shell .radar-filter-menu,
.app-radar-shell .radar-filter-menu[open] {
  position: relative !important;
  z-index: 1300 !important;
}

.app-radar-shell .radar-filter-menu[open] .radar-controls {
  z-index: 1400 !important;
}

.app-radar-shell .radar-controls .radar-bstocks-action,
.app-radar-shell .radar-filter-menu .radar-controls .radar-bstocks-action,
.app-radar-shell .radar-filter-stack > .radar-bstocks-action {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 42px !important;
  padding: 0 14px !important;
  border-radius: 999px !important;
  color: #ffd36b !important;
  border-color: rgba(246,199,68,.42) !important;
  background: rgba(246,199,68,.10) !important;
  white-space: nowrap !important;
}

.app-radar-shell .radar-controls .radar-bstocks-action:hover,
.app-radar-shell .radar-filter-menu .radar-controls .radar-bstocks-action:hover,
.app-radar-shell .radar-filter-stack > .radar-bstocks-action:hover {
  border-color: rgba(246,199,68,.68) !important;
  background: rgba(246,199,68,.16) !important;
}

@media (min-width: 1181px) {
  .app-radar-shell {
    width: min(2060px, calc(100% - 44px)) !important;
    max-width: calc(100% - 24px) !important;
  }

  .app-radar-shell .radar-page,
  .app-radar-shell .radar-hero,
  .app-radar-shell .radar-layout,
  .app-radar-shell .radar-risk-strip {
    max-width: 100% !important;
    min-width: 0 !important;
  }
}

@media (min-width: 1181px) {
  .app-radar-shell .radar-filter-stack {
    display: grid !important;
    grid-template-columns: minmax(240px, 1fr) auto auto auto auto !important;
    align-items: center !important;
    gap: 8px !important;
    width: min(760px, 100%) !important;
  }

  .app-radar-shell .radar-filter-stack .global-symbol-search {
    width: 100% !important;
    min-width: 0 !important;
  }

  .app-radar-shell .radar-filter-menu > summary {
    min-width: 166px !important;
    max-width: 178px !important;
    min-height: 38px !important;
    padding: 0 12px !important;
    gap: 8px !important;
  }

  .app-radar-shell .radar-filter-menu > summary span {
    flex: 0 0 auto !important;
    writing-mode: horizontal-tb !important;
    white-space: nowrap !important;
  }

  .app-radar-shell .radar-lookback-quick,
  .app-radar-shell .radar-filter-stack > .radar-bstocks-action,
  .app-radar-shell .radar-tutorial-trigger {
    min-height: 38px !important;
    padding: 0 10px !important;
  }

  .app-radar-shell .radar-lookback-quick select {
    width: 58px !important;
  }

  .app-radar-shell .radar-tutorial-trigger {
    min-width: 50px !important;
  }
}

.funding-positive [data-funding-rate],
.funding-positive [data-radar-funding-rate],
.funding-positive .funding-head b,
.app-radar-shell .radar-funding-card.funding-positive .screen-top b {
  color: #3ddb93 !important;
}

.funding-negative [data-funding-rate],
.funding-negative [data-radar-funding-rate],
.funding-negative .funding-head b,
.app-radar-shell .radar-funding-card.funding-negative .screen-top b {
  color: #ff6357 !important;
}

.funding-neutral [data-funding-rate],
.funding-neutral [data-radar-funding-rate],
.funding-neutral .funding-head b,
.funding-muted [data-funding-rate],
.funding-muted [data-radar-funding-rate],
.funding-muted .funding-head b {
  color: rgba(var(--ink-rgb,244,239,232),.58) !important;
}

.app-radar-shell .radar-scan-sweep {
  display: none !important;
}

.app-radar-shell .radar-bubble-map::before,
.app-radar-shell .radar-bubble-map::after {
  content: none !important;
  display: none !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

.app-radar-shell .radar-results-card,
.app-radar-shell .radar-chart-card,
.app-radar-shell .radar-scan-card,
.app-radar-shell .radar-funding-card,
.app-radar-shell .radar-watch-pool,
.app-radar-shell .radar-community-card {
  position: relative !important;
  z-index: 1 !important;
}

/* Radar page final density pass: chart info left, active actions right. */
@media (min-width: 1181px) {
  .app-radar-shell .radar-page {
    grid-template-rows: 96px minmax(0, calc(var(--radar-first-screen, calc(100dvh - 112px)) - 96px - 196px - 20px)) 196px auto !important;
  }

  .app-radar-shell .radar-chart-card {
    grid-template-columns: minmax(0, 1fr) minmax(360px, .72fr) !important;
    grid-template-rows: auto minmax(0, 1fr) auto !important;
    column-gap: 8px !important;
    row-gap: 8px !important;
  }

  .app-radar-shell .radar-chart-card > .radar-chart-head,
  .app-radar-shell .radar-chart-card > .radar-chart-wrap {
    grid-column: 1 / -1 !important;
  }

  .app-radar-shell .radar-chart-card > .radar-detail-grid {
    grid-column: 1 !important;
    grid-row: 3 !important;
    align-self: stretch !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    min-height: 0 !important;
    margin: 0 !important;
  }

  .app-radar-shell .radar-chart-card > .radar-detail-grid p {
    min-height: 50px !important;
    padding: 9px 11px !important;
  }

  .app-radar-shell .radar-chart-card > .radar-focus-panel {
    grid-column: 2 !important;
    grid-row: 3 !important;
    align-self: stretch !important;
    min-height: 0 !important;
    margin: 0 !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto auto auto !important;
    align-content: space-between !important;
  }

  .app-radar-shell .radar-focus-copy {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .app-radar-shell .radar-focus-state {
    grid-column: auto !important;
    grid-row: auto !important;
    justify-content: flex-start !important;
  }

  .app-radar-shell .radar-focus-actions {
    grid-column: auto !important;
    grid-row: auto !important;
    width: 100% !important;
    align-self: end !important;
  }
}

@media (min-width: 1181px) and (max-width: 1440px) {
  .app-radar-shell .radar-page {
    grid-template-columns: minmax(230px, 250px) minmax(0, 1fr) minmax(280px, 300px) !important;
    gap: 10px !important;
  }

  .app-radar-shell .radar-scan-card,
  .app-radar-shell .radar-community-card {
    min-width: 0 !important;
  }
}

.app-radar-shell .radar-focus-actions button,
.app-radar-shell .radar-focus-actions button:first-child,
.app-radar-shell .radar-focus-actions button:last-child {
  color: #15110a !important;
  border-color: rgba(246,199,68,.58) !important;
  background: linear-gradient(135deg, #ffd45d, #f6b821) !important;
  box-shadow: none !important;
}

.app-radar-shell .radar-focus-actions button:hover {
  filter: brightness(1.04);
}

.app-radar-shell .radar-focus-actions button:disabled {
  filter: saturate(.55);
}

.app-radar-shell .radar-watch-pool-list {
  gap: 14px !important;
  align-items: flex-start !important;
}

.app-radar-shell .radar-watch-item {
  width: 78px !important;
  min-width: 78px !important;
  gap: 6px !important;
}

.app-radar-shell .radar-watch-bubble {
  width: 62px !important;
  height: 62px !important;
  border: 1px solid rgba(var(--ink-rgb,244,239,232),.20) !important;
  color: #f8fafc !important;
  box-shadow: none !important;
}

.app-radar-shell .radar-watch-bubble strong {
  max-width: 52px !important;
  font-size: var(--fs, 11px) !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.app-radar-shell .radar-watch-bubble.is-buy{
  border-color: rgba(94,234,212,.50) !important;
  background: #0f9f7a !important;
}

.app-radar-shell .radar-watch-bubble.is-sell{
  border-color: rgba(253,164,175,.48) !important;
  background: #e24d42 !important;
}

.app-radar-shell .radar-watch-bubble.is-watch{
  color: #15110a !important;
  border-color: rgba(246,199,68,.56) !important;
  background: #f6c744 !important;
}

.app-radar-shell .radar-watch-bubble.is-monitored{
  outline: 2px solid #f6c744 !important;
  outline-offset: 4px !important;
}

.app-radar-shell .radar-watch-remove {
  min-height: 24px !important;
  padding: 0 9px !important;
}

.app-radar-shell .radar-community-card .radar-vote-list {
  display: grid !important;
  gap: 10px !important;
  padding-right: 6px !important;
}

.app-radar-shell .radar-community-card .radar-vote-row {
  gap: 9px !important;
  align-items: center !important;
}

.app-radar-shell .radar-community-card .radar-vote-main {
  min-height: 58px !important;
  padding: 10px !important;
  grid-template-columns: 36px minmax(0, 1fr) auto !important;
  gap: 10px !important;
}

.app-radar-shell .radar-community-card .radar-row-copy {
  display: grid !important;
  gap: 4px !important;
  min-width: 0 !important;
}

.app-radar-shell .radar-community-card .radar-vote-remove {
  min-height: 38px !important;
  min-width: 54px !important;
  border-radius: 999px !important;
}

.app-radar-shell .radar-community-card .radar-board-note {
  margin-bottom: 2px !important;
  line-height: 1.35 !important;
}

/* Site wordmark: plain 3BUY home link. */
.topbar .brand,
.app-home-shell:has(.redo-home-hero) .topbar .brand,
.app-portal > .topbar .brand,
.app-admin-shell > .topbar .brand,
.app-minimal-shell > .topbar .brand{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: var(--text) !important;
  background: transparent !important;
  box-shadow: none !important;
  text-shadow: none !important;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
}

.topbar .brand::before,
.topbar .brand::after,
.app-home-shell:has(.redo-home-hero) .topbar .brand::before,
.app-portal > .topbar .brand::before,
.app-admin-shell > .topbar .brand::before,
.app-minimal-shell > .topbar .brand::before {
  content: none !important;
  display: none !important;
}

.topbar .brand:hover {
  color: #ff9418 !important;
}

@media (max-width: 760px) {
  .topbar .brand {
    font-size: 17px !important;
  }

  .app-member-shell::before,
  .app-admin-shell::before,
  .app-minimal-shell::before {
    content: none !important;
    display: none !important;
  }

  .app-member-shell > .topbar,
  .app-home-shell > .topbar,
  .app-home-shell:has(.redo-home-hero) > .topbar,
  .app-portal > .topbar,
  .app-admin-shell > .topbar,
  .app-minimal-shell > .topbar {
    display: flex !important;
    position: fixed !important;
    top: calc(18px + env(safe-area-inset-top)) !important;
    left: calc(20px + env(safe-area-inset-left)) !important;
    right: auto !important;
    width: auto !important;
    max-width: none !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    z-index: 2147483001 !important;
  }

  .app-member-shell > .topbar > :not(.brand),
  .app-home-shell > .topbar > :not(.brand),
  .app-home-shell:has(.redo-home-hero) > .topbar > :not(.brand),
  .app-portal > .topbar > :not(.brand),
  .app-admin-shell > .topbar > :not(.brand),
  .app-minimal-shell > .topbar > :not(.brand) {
    display: none !important;
  }

  .app-member-shell > .topbar .brand,
  .app-home-shell > .topbar .brand,
  .app-home-shell:has(.redo-home-hero) > .topbar .brand,
  .app-portal > .topbar .brand,
  .app-admin-shell > .topbar .brand,
  .app-minimal-shell > .topbar .brand {
    color: rgba(247,244,238,.95) !important;
    text-shadow: 0 2px 14px rgba(0,0,0,.38) !important;
  }
}

/* Auth page final overrides: keep login/register isolated from member-page skins. */
.app-auth-shell,
html[data-theme="dark"] .app-auth-shell {
  width: 100% !important;
  max-width: none !important;
  min-height: 100dvh !important;
  padding: 0 !important;
  color: #f8fbff !important;
  background:
    radial-gradient(circle at 52% 72%, rgba(255,145,31,.14), transparent 28%),
    radial-gradient(circle at 24% 42%, rgba(55,112,255,.12), transparent 30%),
    linear-gradient(180deg, #151b2d 0%, #101522 100%) !important;
}

.app-auth-shell > .topbar,
.app-auth-shell.app-member-shell > .topbar,
.app-member-shell.app-auth-shell:not(.app-home-shell) > .topbar,
.app-member-shell.app-auth-shell:not(.app-home-shell) .topbar,
html[data-theme="dark"] .app-auth-shell > .topbar,
html[data-theme="dark"] .app-auth-shell.app-member-shell > .topbar {
  position: fixed !important;
  top: 18px !important;
  left: 22px !important;
  right: auto !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.app-auth-shell > .mobile-bottom-nav,
.app-auth-shell .mobile-bottom-nav{
  display: none !important;
}

.app-auth-shell .nav-primary,
.app-auth-shell .nav-utility a,
.app-auth-shell .theme-toggle,
.app-auth-shell .auth-wordmark {
  display: none !important;
}

.app-auth-shell::before,
html[data-theme="dark"] .app-auth-shell::before {
  content: none !important;
  display: none !important;
}

.app-auth-shell > .topbar .brand,
 .app-auth-shell.app-member-shell > .topbar .brand,
 .app-member-shell.app-auth-shell:not(.app-home-shell) > .topbar .brand,
html[data-theme="dark"] .app-auth-shell > .topbar .brand {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  direction: ltr !important;
  transform: none !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  color: rgba(247,244,238,.95) !important;
  background: transparent !important;
  border: 0 !important;
  letter-spacing: 0 !important;
  text-shadow: 0 2px 14px rgba(0,0,0,.38) !important;
}

.app-auth-shell .auth-shell {
  min-height: 100dvh !important;
  display: grid !important;
  grid-template-columns: minmax(420px, 1fr) 384px !important;
  align-items: center !important;
  justify-content: center !important;
  gap: clamp(56px, 7vw, 128px) !important;
  width: min(1120px, calc(100vw - 56px)) !important;
  margin: 0 auto !important;
  padding: 112px 0 72px !important;
}

.app-auth-shell .auth-shell-login {
  grid-template-columns: minmax(0, 460px) !important;
  width: min(460px, calc(100vw - 32px)) !important;
  gap: 0 !important;
}

.app-auth-shell .auth-story {
  min-height: 520px !important;
}

.app-auth-shell .auth-panel,
html[data-theme="dark"] .app-auth-shell .auth-panel {
  border-radius: 0 !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  background: rgba(13,18,29,.92) !important;
  box-shadow: 0 28px 90px rgba(0,0,0,.18) !important;
}

.app-auth-shell .auth-shell-login .auth-panel,
html[data-theme="dark"] .app-auth-shell .auth-shell-login .auth-panel {
  width: 100% !important;
  border-radius: 18px !important;
}

.app-auth-shell .auth-guest-hint {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 12px;
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid rgba(255,148,24,.22);
  border-radius: 14px;
  background: rgba(255,148,24,.08);
}

.app-auth-shell .auth-guest-hint span {
  color: rgba(226,232,240,.64);
  font-size: 12px;
  font-weight: 600;
}

.app-auth-shell .auth-guest-hint a {
  color: #ffd18a;
  font-weight: 700;
  text-decoration: none;
}

.app-auth-shell .auth-guest-hint small {
  grid-column: 1 / -1;
  color: rgba(226,232,240,.58);
  font-size: 12px;
  line-height: 1.45;
}

.app-auth-shell .auth-secondary-links {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.app-auth-shell .auth-secondary-links a {
  color: rgba(226,232,240,.72);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}

.app-auth-shell .auth-secondary-links a:hover {
  color: #ffd18a;
}

.app-auth-shell .auth-field input,
.app-auth-shell .auth-password-row,
html[data-theme="dark"] .app-auth-shell .auth-field input,
html[data-theme="dark"] .app-auth-shell .auth-password-row {
  min-height: 46px !important;
  border: 1px solid rgba(255,255,255,.1) !important;
  border-radius: 0 !important;
  background: rgba(255,255,255,.055) !important;
  color: #fff !important;
  box-shadow: none !important;
}

.app-auth-shell .auth-password-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
}

.app-auth-shell .auth-password-row input,
html[data-theme="dark"] .app-auth-shell .auth-password-row input {
  min-height: 44px !important;
  border: 0 !important;
  background: transparent !important;
  color: #fff !important;
  box-shadow: none !important;
}

.app-auth-shell .auth-field input::placeholder{
  color: rgba(226,232,240,.36) !important;
}

.app-auth-shell .auth-field input:focus,
.app-auth-shell .auth-password-row:focus-within{
  border-color: rgba(255,148,24,.58) !important;
  box-shadow: 0 0 0 3px rgba(255,148,24,.13) !important;
}

.app-auth-shell .auth-password-row button{
  min-height: 34px !important;
  margin: 0 6px 0 0 !important;
  padding: 0 10px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: rgba(255,255,255,.08) !important;
  color: rgba(226,232,240,.72) !important;
  box-shadow: none !important;
}

.app-auth-shell .auth-submit,
.app-auth-shell button.auth-submit,
.app-auth-shell button.primary.auth-submit{
  min-height: 48px !important;
  border-radius: 0 !important;
  border-color: #ff9418 !important;
  background: #ff9418 !important;
  color: #1b1308 !important;
  box-shadow: none !important;
}

.app-auth-shell .auth-submit:hover{
  background: #ffad3d !important;
  border-color: #ffad3d !important;
  transform: none !important;
}

@media (max-width: 980px) {
  .app-auth-shell .auth-shell {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
    width: min(100% - 28px, 520px) !important;
    padding: 86px 0 40px !important;
  }

  .app-auth-shell .auth-story {
    min-height: auto !important;
  }

  .app-auth-shell .auth-shell-login {
    width: min(100% - 28px, 460px) !important;
  }
}

@media (max-width: 520px) {
  .app-auth-shell > .topbar,
  .app-auth-shell.app-member-shell > .topbar,
  .app-member-shell.app-auth-shell:not(.app-home-shell) > .topbar{
    display: flex !important;
    position: fixed !important;
    top: calc(18px + env(safe-area-inset-top)) !important;
    left: calc(20px + env(safe-area-inset-left)) !important;
    right: auto !important;
    width: auto !important;
    max-width: none !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    z-index: 2147483001 !important;
  }
}

/* Guest identity */
.guest-nav-pill {
  min-height: 34px !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255,148,24,.38) !important;
  background: rgba(255,148,24,.10) !important;
  color: #ffd18a !important;
  font-weight: 660 !important;
  box-shadow: none !important;
}

.guest-identity-float {
  position: fixed;
  top: 20px;
  right: 184px;
  display: block;
  z-index: 2147483001;
}

.app-identity-shell {
  min-height: 100dvh;
  padding: 104px 22px 64px;
  background:
    radial-gradient(circle at 50% 20%, rgba(255,148,24,.14), transparent 34%),
    linear-gradient(180deg, #16100b 0%, #090807 100%);
}

.app-identity-shell .mobile-bottom-nav {
  display: none !important;
}

.identity-shell {
  width: min(620px, 100%);
  margin: 0 auto;
}

.identity-heading {
  display: grid;
  gap: 7px;
  margin: 0 0 14px;
}

.identity-heading span,
.identity-kicker {
  color: rgba(255,209,138,.78);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.identity-heading h1 {
  margin: 0;
  color: #fff8ea;
  font-family: inherit;
  font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1.05;
  font-weight: 660;
  letter-spacing: 0;
}

.identity-heading p,
.identity-card p,
.identity-card small {
  margin: 0;
  color: rgba(239,230,214,.68);
  line-height: 1.65;
}

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

.identity-grid.single {
  grid-template-columns: minmax(0, 1fr);
}

.identity-card {
  display: grid;
  gap: 12px;
  min-height: 0;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  background: rgba(27,24,22,.86);
  box-shadow: 0 24px 80px rgba(0,0,0,.22);
}

.identity-hero-card {
  min-height: 0;
  border-color: rgba(255,190,80,.32);
  background:
    linear-gradient(135deg, rgba(74,48,22,.72), rgba(25,24,22,.88)),
    radial-gradient(circle at 80% 18%, rgba(255,190,80,.18), transparent 28%);
}

.identity-save-card {
  margin-top: 10px;
}

.identity-account-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.identity-account-meta span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: rgba(255,248,234,.76);
  font-size: 12px;
  font-weight: 600;
}

.identity-card h2 {
  margin: 0;
  color: #fff8ea;
  font-size: 21px;
  line-height: 1.25;
  font-weight: 660;
}

.identity-number-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.identity-number {
  color: #f7d08b;
  font-size: clamp(44px, 8vw, 68px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
}

.identity-copy,
.identity-card button {
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.08);
  color: #fff8ea;
  font-weight: 660;
  box-shadow: none;
}

.identity-form {
  display: grid;
  gap: 10px;
}

.identity-bind-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.identity-bind-panel {
  align-content: start;
  padding: 15px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  background: rgba(255,255,255,.035);
}

.identity-action-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.identity-action-panel .identity-login-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.identity-action-panel .identity-login-trigger::after {
  content: none;
}

.identity-phone-panel {
  border-color: rgba(255,190,80,.28);
  background: rgba(255,148,24,.08);
}

.identity-code-button {
  min-height: 42px;
  border: 1px solid rgba(255,190,80,.30);
  border-radius: 999px;
  background: rgba(255,148,24,.10);
  color: #ffd18a;
  font: inherit;
  font-weight: 660;
  box-shadow: none;
}

.identity-code-button:disabled {
  cursor: not-allowed;
  opacity: .62;
}

.identity-field {
  display: grid;
  gap: 6px;
}

.identity-field span {
  color: rgba(255,209,138,.82);
  font-size: 12px;
  font-weight: 660;
}

.identity-form input {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  color: #fff;
  padding: 0 13px;
  font: inherit;
}

.identity-form input::placeholder {
  color: rgba(255,255,255,.34);
}

.identity-form .primary,
.identity-card button.primary,
.identity-modal-dialog button.primary {
  border-color: #ff9418 !important;
  background: #ff9418 !important;
  color: #17100a !important;
}

.identity-form .primary:hover,
.identity-card button.primary:hover,
.identity-modal-dialog button.primary:hover {
  border-color: #ffad3d !important;
  background: #ffad3d !important;
  color: #17100a !important;
}

.identity-warning {
  color: #ff7b66 !important;
  font-weight: 600;
}

.identity-recover {
  margin-top: 0;
  padding: 0;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  overflow: hidden;
}

.identity-login-trigger {
  width: 100%;
  min-height: 48px;
  margin-top: 0;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  color: rgba(255,248,234,.86);
  font: inherit;
  font-weight: 620;
  text-align: left;
  box-shadow: none;
  cursor: pointer;
}

.identity-login-trigger::after {
  content: "进入";
  float: right;
  color: rgba(255,209,138,.76);
  font-size: 12px;
  font-weight: 700;
}

.identity-recover summary {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  color: rgba(255,248,234,.86);
  font-weight: 620;
  cursor: pointer;
  list-style: none;
}

.identity-recover summary::-webkit-details-marker {
  display: none;
}

.identity-recover summary::after {
  content: "+";
  margin-left: auto;
  color: rgba(255,209,138,.76);
  font-weight: 700;
}

.identity-recover[open] summary::after {
  content: "-";
}

.identity-recover .identity-form {
  padding: 0 16px 16px;
}

.member-checkin-modal[hidden] {
  display: none !important;
}

.member-checkin-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #fff7ea;
}

.member-checkin-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background:
    radial-gradient(circle at 50% 18%, rgba(255,188,92,.10), transparent 30%),
    linear-gradient(180deg, rgba(8,6,4,.88), rgba(0,0,0,.92));
  box-shadow: none !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  appearance: none;
  -webkit-appearance: none;
}

.member-checkin-backdrop:hover,
.member-checkin-backdrop:focus-visible {
  transform: none !important;
}

.member-checkin-dialog {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: calc(100dvh - 32px);
  display: grid;
  gap: 16px;
  padding: 24px;
  overflow: auto;
  border: 1px solid rgba(255,232,190,.16);
  border-radius: 22px;
  background:
    radial-gradient(circle at 16% 0%, rgba(255,194,98,.20), transparent 34%),
    radial-gradient(circle at 84% 8%, rgba(255,255,255,.08), transparent 26%),
    linear-gradient(145deg, rgba(44,34,22,.98), rgba(14,12,10,.98) 62%, rgba(8,8,8,.98));
  box-shadow: 0 32px 110px rgba(0,0,0,.48), inset 0 1px 0 rgba(255,255,255,.08);
}

.member-checkin-dialog::before {
  content: "";
  position: absolute;
  inset: 1px;
  pointer-events: none;
  border-radius: 21px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.10), transparent 28%, rgba(255,190,92,.08) 64%, transparent);
}

.member-checkin-head,
.member-checkin-identity,
.member-checkin-calendar,
.member-checkin-footer {
  position: relative;
  z-index: 1;
}

.member-checkin-head {
  display: grid;
  gap: 8px;
  padding-right: 42px;
}

.member-checkin-head span {
  color: rgba(255,209,138,.74);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: .16em;
}

.member-checkin-head h2 {
  margin: 0;
  color: #fff6e6;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.04;
  font-weight: 680;
  letter-spacing: 0;
}

.member-checkin-head p {
  max-width: 28em;
  margin: 0;
  color: rgba(247,235,214,.68);
  font-size: 14px;
  line-height: 1.7;
}

.member-checkin-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 34px;
  height: 34px;
  min-height: 34px;
  display: inline-grid;
  place-items: center;
  padding: 0 !important;
  border: 1px solid rgba(238,226,205,.14) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.055) !important;
  color: rgba(247,242,232,.82) !important;
  box-shadow: none !important;
}

.member-checkin-close:hover,
.member-checkin-close:focus-visible {
  border-color: rgba(240,188,104,.44) !important;
  background: rgba(240,188,104,.13) !important;
  color: #ffd18a !important;
  transform: none !important;
}

.member-checkin-close span {
  font-size: 22px;
  line-height: 1;
}

.member-checkin-identity {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(255,232,190,.12);
  border-radius: 16px;
  background: rgba(255,255,255,.045);
}

.member-checkin-avatar {
  width: 54px !important;
  height: 54px !important;
  min-width: 54px !important;
  border-radius: 15px !important;
  box-shadow: 0 0 0 1px rgba(242,184,92,.34), 0 14px 30px rgba(0,0,0,.28) !important;
}

.member-checkin-identity small {
  display: block;
  color: rgba(247,242,232,.50);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: .08em;
}

.member-checkin-identity b {
  display: block;
  margin-top: 5px;
  overflow: hidden;
  color: #fff7ea;
  font-size: 19px;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.member-checkin-identity strong {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(240,188,104,.24);
  border-radius: 999px;
  background: rgba(240,188,104,.10);
  color: #ffd18a;
  font-size: 12px;
  font-weight: 760;
  white-space: nowrap;
}

.member-checkin-calendar {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(255,232,190,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.035);
}

.member-checkin-month {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.member-checkin-month b {
  color: #fff7ea;
  font-size: 16px;
}

.member-checkin-month span {
  color: rgba(247,242,232,.58);
  font-size: 12px;
  font-weight: 700;
}

.member-checkin-week,
.member-checkin-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
}

.member-checkin-week span {
  color: rgba(247,242,232,.42);
  font-size: 11px;
  font-weight: 760;
  text-align: center;
}

.member-checkin-day {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  min-width: 0;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  color: rgba(247,242,232,.70);
}

.member-checkin-day b {
  font-size: 13px;
  font-weight: 760;
  line-height: 1;
}

.member-checkin-day i {
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #ffd18a;
  box-shadow: 0 0 12px rgba(255,209,138,.55);
}

.member-checkin-day.is-empty {
  visibility: hidden;
}

.member-checkin-day.is-future {
  color: rgba(247,242,232,.28);
  background: rgba(255,255,255,.018);
}

.member-checkin-day.is-checked {
  border-color: rgba(255,209,138,.32);
  background:
    linear-gradient(180deg, rgba(255,209,138,.18), rgba(255,255,255,.04)),
    rgba(255,209,138,.06);
  color: #fff7ea;
}

.member-checkin-day.is-today {
  border-color: rgba(255,209,138,.62);
  box-shadow: 0 0 0 1px rgba(255,209,138,.16), 0 14px 30px rgba(0,0,0,.18);
}

.member-checkin-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.member-checkin-footer b {
  display: block;
  margin-bottom: 4px;
  color: #fff7ea;
  font-size: 16px;
}

.member-checkin-footer span {
  color: rgba(247,242,232,.58);
  font-size: 12px;
  font-weight: 700;
}

.member-checkin-footer em {
  color: #ffd18a;
  font-style: normal;
}

.member-checkin-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.member-checkin-later,
.member-checkin-submit {
  min-height: 42px !important;
  padding: 0 16px !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 760 !important;
  box-shadow: none !important;
}

.member-checkin-later {
  border-color: rgba(255,255,255,.12) !important;
  background: rgba(255,255,255,.055) !important;
  color: rgba(247,242,232,.72) !important;
}

.member-checkin-submit {
  border-color: rgba(255,209,138,.72) !important;
  background: linear-gradient(180deg, #ffd98a, #d99535) !important;
  color: #17100a !important;
}

.member-checkin-submit:disabled {
  cursor: default;
  border-color: rgba(255,209,138,.26) !important;
  background: rgba(255,209,138,.12) !important;
  color: #ffd18a !important;
}

.member-checkin-modal.is-signed .member-checkin-dialog {
  border-color: rgba(255,209,138,.28);
}

@media (max-width: 560px) {
  .member-checkin-modal {
    align-items: end;
    padding: 14px;
  }

  .member-checkin-dialog {
    width: 100%;
    max-height: calc(100dvh - 28px);
    gap: 14px;
    padding: 20px;
    border-radius: 20px;
  }

  .member-checkin-head h2 {
    font-size: 32px;
  }

  .member-checkin-identity {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .member-checkin-avatar {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
  }

  .member-checkin-identity strong {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .member-checkin-calendar {
    padding: 12px;
  }

  .member-checkin-week,
  .member-checkin-days {
    gap: 5px;
  }

  .member-checkin-day {
    border-radius: 10px;
  }

  .member-checkin-footer {
    grid-template-columns: 1fr;
  }

  .member-checkin-actions {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
  }
}

.identity-modal[hidden] {
  display: none !important;
}

.identity-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.identity-modal-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0 !important;
  background: rgba(0,0,0,.64);
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  backdrop-filter: blur(12px) saturate(92%) brightness(.76);
  -webkit-backdrop-filter: blur(12px) saturate(92%) brightness(.76);
  cursor: pointer;
}

.identity-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  background:
    radial-gradient(circle at 18% 10%, rgba(255,148,24,.16), transparent 34%),
    linear-gradient(180deg, rgba(32,28,24,.98), rgba(15,14,13,.98));
  box-shadow: 0 28px 90px rgba(0,0,0,.38);
}

.identity-modal-dialog h2 {
  margin: 0;
  color: #fff8ea;
  font-size: 26px;
  line-height: 1.15;
  font-weight: 680;
}

.identity-modal-dialog p {
  margin: 0;
  color: rgba(239,230,214,.68);
  line-height: 1.7;
}

.identity-account-dialog {
  width: min(460px, 100%);
}

.identity-modal-lucky {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255,190,80,.28);
  border-radius: 14px;
  background: rgba(255,148,24,.08);
}

.identity-modal-lucky div {
  display: grid;
  gap: 4px;
}

.identity-modal-lucky small {
  color: rgba(255,209,138,.76);
  font-size: 12px;
  font-weight: 660;
}

.identity-modal-lucky strong {
  color: #f7d08b;
  font-size: 30px;
  line-height: 1;
  font-weight: 700;
}

.identity-modal-notice:empty {
  display: none;
}

.identity-login-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  padding: 4px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  background: rgba(255,255,255,.05);
}

.identity-login-tabs button {
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255,248,234,.62);
  font: inherit;
  font-size: 13px;
  font-weight: 660;
  box-shadow: none;
  cursor: pointer;
}

.identity-login-tabs button.active {
  background: rgba(255,148,24,.20);
  color: #ffd18a;
}

.identity-login-mode[hidden] {
  display: none !important;
}

.nav-links button.nav-cta,
.nav-utility button.nav-cta {
  font: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.identity-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  min-height: 34px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(238,226,205,.14);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.025)),
    rgba(28,24,20,.82);
  color: rgba(247,242,232,.86);
  font: 700 24px/1 var(--font-sans);
  box-shadow: none;
}

.identity-modal-close:hover,
.identity-modal-close:focus-visible {
  border-color: rgba(217,163,77,.42);
  background:
    linear-gradient(180deg, rgba(217,163,77,.18), rgba(255,255,255,.035)),
    rgba(34,28,22,.92);
  color: #f0bd69;
}

.identity-modal-close span {
  display: none;
}

.identity-modal-close::before,
.identity-modal-close::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.identity-modal-close::before {
  transform: rotate(45deg);
}

.identity-modal-close::after {
  transform: rotate(-45deg);
}

html[data-theme] body:has(.app-identity-shell) .identity-login-tabs button:not(.active) {
  background: transparent !important;
  color: rgba(247,242,232,.58) !important;
  box-shadow: none !important;
}

@media (max-width: 860px) {
  .guest-identity-float {
    position: fixed;
    top: calc(52px + env(safe-area-inset-top));
    right: calc(18px + env(safe-area-inset-right));
    display: block;
    z-index: 2147483001;
  }

  .guest-identity-float .guest-nav-pill {
    min-height: 30px !important;
    padding: 0 10px !important;
    font-size: 12px !important;
  }

  .app-identity-shell {
    padding: 64px 14px 32px;
  }

  .identity-heading h1 {
    font-size: 32px;
  }

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

  .identity-bind-layout {
    grid-template-columns: 1fr;
  }

  .identity-card,
  .identity-hero-card {
    min-height: auto;
    padding: 16px;
    border-radius: 14px;
  }

  .identity-number {
    font-size: clamp(38px, 13vw, 52px);
  }

  .identity-form input,
  .identity-copy,
  .identity-card button,
  .identity-login-trigger,
  .identity-recover summary {
    min-height: 42px;
  }

  .identity-modal {
    align-items: center;
    padding: 14px;
    overflow-y: auto;
  }

  .identity-modal-dialog {
    width: 100%;
    max-height: calc(100dvh - 28px);
    overflow: auto;
    padding: 20px;
    border-radius: 18px;
  }
}

@media (max-width: 860px) {
  .app-home-shell,
  .app-member-shell,
  .app-portal,
  .app-admin-shell,
  .app-minimal-shell {
    padding-bottom: calc(96px + env(safe-area-inset-bottom)) !important;
  }

  .app-home-shell .mobile-bottom-nav,
  .app-member-shell .mobile-bottom-nav {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 2147483000 !important;
    display: block !important;
    min-height: calc(82px + env(safe-area-inset-bottom)) !important;
    padding: 16px max(10px, env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-right)) !important;
    overflow: visible !important;
    border-width: 1px 0 0 !important;
    border-style: solid !important;
    border-color: rgba(255,255,255,.11) !important;
    border-radius: 24px 24px 0 0 !important;
    background:
      linear-gradient(180deg, rgba(28,27,32,.96), rgba(15,16,22,.98)),
      #11131a !important;
    box-shadow: 0 -18px 42px rgba(0,0,0,.32) !important;
    backdrop-filter: blur(24px) saturate(1.35) !important;
    -webkit-backdrop-filter: blur(24px) saturate(1.35) !important;
    transform: translate3d(0,0,0) !important;
  }

  .app-home-shell .mobile-bottom-nav::before,
  .app-home-shell .mobile-bottom-nav::after,
  .app-member-shell .mobile-bottom-nav::before,
  .app-member-shell .mobile-bottom-nav::after {
    content: none !important;
    display: none !important;
  }

  .app-home-shell .mobile-bottom-nav-items,
  .app-member-shell .mobile-bottom-nav-items {
    display: grid !important;
    grid-auto-flow: column !important;
    grid-auto-columns: minmax(0, 1fr) !important;
    align-items: end !important;
    gap: 2px !important;
    min-height: 58px !important;
  }

  .app-home-shell .mobile-bottom-nav a,
  .app-home-shell .mobile-bottom-nav a:hover,
  .app-home-shell .mobile-bottom-nav a.active,
  .app-member-shell .mobile-bottom-nav a,
  .app-member-shell .mobile-bottom-nav a:hover,
  .app-member-shell .mobile-bottom-nav a.active {
    position: relative !important;
    display: inline-flex !important;
    min-width: 0 !important;
    min-height: 56px !important;
    padding: 3px 2px 2px !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 4px !important;
    border: 0 !important;
    border-radius: 18px !important;
    background: transparent !important;
    box-shadow: none !important;
    color: rgba(238,242,255,.58) !important;
    text-decoration: none !important;
    transform: none !important;
    transition: color .16s ease, opacity .16s ease, filter .16s ease !important;
  }

  .app-home-shell .mobile-bottom-nav a.active,
  .app-member-shell .mobile-bottom-nav a.active {
    color: #fff !important;
  }

  .app-home-shell .mobile-bottom-nav a:active,
  .app-member-shell .mobile-bottom-nav a:active {
    filter: brightness(1.14);
  }

  .app-home-shell .mobile-bottom-nav .nav-item-icon,
  .app-home-shell .mobile-bottom-nav a.active .nav-item-icon,
  .app-member-shell .mobile-bottom-nav .nav-item-icon,
  .app-member-shell .mobile-bottom-nav a.active .nav-item-icon {
    display: inline-grid !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    place-items: center !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    box-shadow: none !important;
    color: currentColor !important;
    transform: none !important;
  }

  .app-home-shell .mobile-bottom-nav .nav-item-icon svg,
  .app-member-shell .mobile-bottom-nav .nav-item-icon svg {
    width: 23px !important;
    height: 23px !important;
  }

  .app-home-shell .mobile-bottom-nav .nav-item-label,
  .app-member-shell .mobile-bottom-nav .nav-item-label {
    display: block !important;
    max-width: 100% !important;
    overflow: hidden !important;
    color: currentColor !important;
    font-size: 10px !important;
    font-weight: 620 !important;
    line-height: 1.1 !important;
    letter-spacing: 0 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .app-home-shell .mobile-bottom-nav a.active:not(.mobile-nav-main) .nav-item-icon,
  .app-member-shell .mobile-bottom-nav a.active:not(.mobile-nav-main) .nav-item-icon {
    color: #ffb04a !important;
    background: rgba(255,145,24,.13) !important;
  }

  .app-home-shell .mobile-bottom-nav a.mobile-nav-main,
  .app-home-shell .mobile-bottom-nav a.mobile-nav-main:hover,
  .app-home-shell .mobile-bottom-nav a.mobile-nav-main.active,
  .app-member-shell .mobile-bottom-nav a.mobile-nav-main,
  .app-member-shell .mobile-bottom-nav a.mobile-nav-main:hover,
  .app-member-shell .mobile-bottom-nav a.mobile-nav-main.active {
    min-height: 70px !important;
    justify-content: flex-start !important;
    padding-top: 0 !important;
    color: #fff !important;
    transform: translateY(-15px) !important;
  }

  .app-home-shell .mobile-bottom-nav a.mobile-nav-main .nav-item-icon,
  .app-member-shell .mobile-bottom-nav a.mobile-nav-main .nav-item-icon {
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
    min-height: 58px !important;
    border: 1px solid rgba(255,255,255,.18) !important;
    background:
      radial-gradient(circle at 35% 22%, rgba(255,255,255,.38), transparent 28%),
      linear-gradient(180deg, #ffb13b, #ff7a18) !important;
    color: #170f08 !important;
    box-shadow: 0 14px 34px rgba(255,122,24,.34) !important;
  }

  .app-home-shell .mobile-bottom-nav a.mobile-nav-main .nav-item-icon svg,
  .app-member-shell .mobile-bottom-nav a.mobile-nav-main .nav-item-icon svg {
    width: 29px !important;
    height: 29px !important;
  }

  .app-home-shell .mobile-bottom-nav a.mobile-nav-main .nav-item-label,
  .app-member-shell .mobile-bottom-nav a.mobile-nav-main .nav-item-label {
    margin-top: -2px !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
  }

  .app-member-shell .mobile-bottom-nav .mobile-nav-profile .nav-item-icon,
  .app-member-shell .mobile-bottom-nav .mobile-nav-profile.active .nav-item-icon {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
    background: transparent !important;
  }

  .app-member-shell .mobile-bottom-nav .mobile-nav-profile .avatar-badge.nav-avatar,
  .app-member-shell .mobile-bottom-nav .mobile-nav-profile.active .avatar-badge.nav-avatar {
    width: 30px !important;
    height: 30px !important;
    min-height: 30px !important;
    box-shadow: none !important;
  }
}

@media (max-width: 860px) {
  .app-home-shell,
  .app-member-shell,
  .app-portal,
  .app-admin-shell,
  .app-minimal-shell {
    padding-top: calc(62px + env(safe-area-inset-top)) !important;
  }

  .app-member-shell > .topbar,
  .app-home-shell > .topbar,
  .app-home-shell:has(.redo-home-hero) > .topbar,
  .app-portal > .topbar,
  .app-admin-shell > .topbar,
  .app-minimal-shell > .topbar {
    display: flex !important;
    position: fixed !important;
    top: calc(10px + env(safe-area-inset-top)) !important;
    left: calc(12px + env(safe-area-inset-left)) !important;
    right: calc(12px + env(safe-area-inset-right)) !important;
    width: auto !important;
    max-width: none !important;
    min-height: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 5px 7px !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    border: 1px solid rgba(255,255,255,.10) !important;
    border-radius: 18px !important;
    background:
      linear-gradient(180deg, rgba(18,17,18,.88), rgba(10,10,12,.78)),
      rgba(12,12,14,.82) !important;
    box-shadow: 0 14px 36px rgba(0,0,0,.26) !important;
    backdrop-filter: blur(22px) saturate(1.32) !important;
    -webkit-backdrop-filter: blur(22px) saturate(1.32) !important;
    z-index: 2147483001 !important;
  }

  .app-member-shell > .topbar > :not(.brand),
  .app-home-shell > .topbar > :not(.brand),
  .app-home-shell:has(.redo-home-hero) > .topbar > :not(.brand),
  .app-portal > .topbar > :not(.brand),
  .app-admin-shell > .topbar > :not(.brand),
  .app-minimal-shell > .topbar > :not(.brand) {
    display: none !important;
  }

  .app-member-shell > .topbar .brand,
  .app-home-shell > .topbar .brand,
  .app-home-shell:has(.redo-home-hero) > .topbar .brand,
  .app-portal > .topbar .brand,
  .app-admin-shell > .topbar .brand,
  .app-minimal-shell > .topbar .brand {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 56px !important;
    min-height: 32px !important;
    margin: 0 !important;
    padding: 0 12px !important;
    border: 1px solid rgba(255,255,255,.10) !important;
    border-radius: 12px !important;
    color: rgba(255,255,255,.96) !important;
    background:
      linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03)),
      rgba(255,255,255,.04) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.12) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: -.01em !important;
    text-shadow: none !important;
  }

  .guest-identity-float {
    top: calc(16px + env(safe-area-inset-top)) !important;
    right: calc(22px + env(safe-area-inset-right)) !important;
    z-index: 2147483002 !important;
  }

  .guest-identity-float .guest-nav-pill,
  .guest-nav-pill {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 30px !important;
    padding: 0 10px !important;
    border-color: rgba(255,176,74,.44) !important;
    background: rgba(255,255,255,.94) !important;
    color: #9a5600 !important;
    box-shadow: none !important;
    font-size: 12px !important;
    font-weight: 700 !important;
  }

  .app-home-shell > .topbar.glass-surface-native--svg,
  .app-home-shell > .topbar.glass-surface-native--fallback,
  .app-home-shell:has(.redo-home-hero) > .topbar.glass-surface-native--svg,
  .app-home-shell:has(.redo-home-hero) > .topbar.glass-surface-native--fallback,
  html[data-theme="dark"] .app-home-shell > .topbar,
  html[data-theme="dark"] .app-home-shell:has(.redo-home-hero) > .topbar {
    border-color: rgba(255,255,255,.10) !important;
    background:
      linear-gradient(180deg, rgba(18,17,18,.88), rgba(10,10,12,.78)),
      rgba(12,12,14,.82) !important;
    box-shadow: 0 14px 36px rgba(0,0,0,.26) !important;
  }

  .app-home-shell > .topbar .brand,
  .app-home-shell:has(.redo-home-hero) > .topbar .brand,
  html[data-theme="dark"] .app-home-shell > .topbar .brand,
  html[data-theme="dark"] .app-home-shell:has(.redo-home-hero) > .topbar .brand {
    margin: 0 !important;
    color: rgba(255,255,255,.96) !important;
    background:
      linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03)),
      rgba(255,255,255,.04) !important;
  }

  .app-home-shell .mobile-bottom-nav,
  .app-member-shell .mobile-bottom-nav {
    min-height: calc(86px + env(safe-area-inset-bottom)) !important;
    padding-top: 14px !important;
    border-radius: 24px 24px 0 0 !important;
    background:
      linear-gradient(180deg, rgba(255,255,255,.95), rgba(245,246,249,.98)),
      #f8fafc !important;
    box-shadow: 0 -14px 38px rgba(15,23,42,.16) !important;
  }

  .app-home-shell .mobile-bottom-nav a,
  .app-home-shell .mobile-bottom-nav a:hover,
  .app-home-shell .mobile-bottom-nav a.active,
  .app-member-shell .mobile-bottom-nav a,
  .app-member-shell .mobile-bottom-nav a:hover,
  .app-member-shell .mobile-bottom-nav a.active {
    color: rgba(75,85,99,.70) !important;
  }

  .app-home-shell .mobile-bottom-nav a.active,
  .app-member-shell .mobile-bottom-nav a.active {
    color: #111827 !important;
  }

  .app-home-shell .mobile-bottom-nav a.mobile-nav-main .nav-item-icon,
  .app-member-shell .mobile-bottom-nav a.mobile-nav-main .nav-item-icon {
    border-color: rgba(255,255,255,.76) !important;
    background:
      radial-gradient(circle at 35% 24%, rgba(255,255,255,.52), transparent 30%),
      linear-gradient(180deg, #ffbe46, #ff841b) !important;
    color: #18100a !important;
    box-shadow:
      0 16px 34px rgba(255,132,27,.34),
      0 0 0 8px rgba(255,132,27,.09) !important;
  }

  .app-home-shell .mobile-bottom-nav a.mobile-nav-main .nav-item-label,
  .app-member-shell .mobile-bottom-nav a.mobile-nav-main .nav-item-label {
    color: #f8fafc !important;
    text-shadow: 0 1px 10px rgba(0,0,0,.32) !important;
  }

  html[data-theme="dark"] .app-portal:not(.app-home-shell) > .topbar,
  html[data-theme="dark"] .app-admin-shell > .topbar,
  html[data-theme="dark"] .app-minimal-shell > .topbar {
    background:
      linear-gradient(180deg, rgba(18,17,18,.90), rgba(10,10,12,.82)),
      rgba(12,12,14,.84) !important;
  }

  html[data-theme="dark"] .app-portal:not(.app-home-shell) .mobile-bottom-nav,
  html[data-theme="dark"] .app-admin-shell .mobile-bottom-nav,
  html[data-theme="dark"] .app-minimal-shell .mobile-bottom-nav {
    border-color: rgba(255,255,255,.10) !important;
    background:
      linear-gradient(180deg, rgba(28,27,32,.96), rgba(15,16,22,.98)),
      #11131a !important;
    box-shadow: 0 -18px 42px rgba(0,0,0,.32) !important;
  }

  html[data-theme="dark"] .app-portal:not(.app-home-shell) .mobile-bottom-nav a,
  html[data-theme="dark"] .app-admin-shell .mobile-bottom-nav a,
  html[data-theme="dark"] .app-minimal-shell .mobile-bottom-nav a {
    color: rgba(238,242,255,.58) !important;
  }

  html[data-theme="dark"] .app-portal:not(.app-home-shell) .mobile-bottom-nav a.active,
  html[data-theme="dark"] .app-admin-shell .mobile-bottom-nav a.active,
  html[data-theme="dark"] .app-minimal-shell .mobile-bottom-nav a.active {
    color: #fff !important;
  }

  .app-home-shell .mobile-bottom-nav a.mobile-nav-main .nav-item-label,
  .app-member-shell .mobile-bottom-nav a.mobile-nav-main .nav-item-label{
    color: #f97316 !important;
    text-shadow: none !important;
  }

  html[data-theme="dark"] .app-portal:not(.app-home-shell) .mobile-bottom-nav a.mobile-nav-main .nav-item-label,
  html[data-theme="dark"] .app-admin-shell .mobile-bottom-nav a.mobile-nav-main .nav-item-label,
  html[data-theme="dark"] .app-minimal-shell .mobile-bottom-nav a.mobile-nav-main .nav-item-label {
    color: #fff !important;
    text-shadow: 0 1px 10px rgba(0,0,0,.32) !important;
  }
}

/* Prediction page */
.app-prediction-shell {
  width: min(1380px, calc(100% - 32px));
}

.prediction-shell {
  display: grid;
  gap: 14px;
  margin: 0 auto 38px;
}

.prediction-shell > *,
.prediction-main-grid > *,
.prediction-content-grid > *,
.prediction-hero > * {
  min-width: 0;
}

.prediction-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  padding: 28px 30px;
}

.prediction-hero h1 {
  margin: 4px 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: .96;
  letter-spacing: 0;
}

.prediction-hero .muted {
  max-width: 760px;
  margin: 0;
  line-height: 1.75;
}

.prediction-source-pill {
  min-width: 180px;
  display: grid;
  gap: 5px;
  padding: 13px 16px;
  border: 1px solid rgba(255,139,31,.28);
  border-radius: 16px;
  background: rgba(255,139,31,.10);
  text-align: right;
}

.prediction-source-pill span {
  color: rgba(255,255,255,.62);
  font-size: 12px;
  font-weight: 600;
}

.prediction-source-pill b {
  color: #ffb454;
  font-size: 15px;
}

.prediction-source-pill.live {
  border-color: rgba(52,211,153,.36);
  background: rgba(16,185,129,.12);
}

.prediction-source-pill.live b {
  color: #34d399;
}

.prediction-main-grid,
.prediction-content-grid {
  display: grid;
  gap: 14px;
}

.prediction-main-grid {
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr);
}

.prediction-content-grid {
  grid-template-columns: minmax(320px, .72fr) minmax(0, 1.28fr);
}

.prediction-today-card,
.prediction-stat-card,
.prediction-winrate-card,
.prediction-history-card,
.prediction-risk {
  padding: 22px;
}

.prediction-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255,255,255,.52);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.prediction-card-head b {
  color: #ff9f1c;
  letter-spacing: 0;
  text-transform: none;
}

.prediction-today-card h2 {
  margin: 18px 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3.3vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

.prediction-today-card p {
  margin: 14px 0 0;
  max-width: 760px;
  color: rgba(255,255,255,.68);
  line-height: 1.8;
}

.prediction-direction {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,159,28,.12);
  border: 1px solid rgba(255,159,28,.28);
  color: #ffc247;
  font-weight: 700;
}

.prediction-direction.up {
  background: rgba(16,185,129,.12);
  border-color: rgba(16,185,129,.36);
  color: #34d399;
}

.prediction-direction.down {
  background: rgba(239,68,68,.12);
  border-color: rgba(239,68,68,.36);
  color: #ff6b5f;
}

.prediction-metrics,
.prediction-stat-grid,
.prediction-winrate-list {
  display: grid;
  gap: 10px;
}

.prediction-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}

.prediction-metrics div,
.prediction-stat-grid div,
.prediction-winrate-item {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  background: rgba(255,255,255,.035);
}

.prediction-metrics span,
.prediction-stat-grid span,
.prediction-winrate-item small {
  display: block;
  color: rgba(255,255,255,.52);
  font-size: 12px;
  font-weight: 600;
}

.prediction-metrics b,
.prediction-stat-grid b,
.prediction-winrate-item b {
  display: block;
  margin-top: 8px;
  color: #f8fafc;
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1;
}

.prediction-stat-card {
  display: grid;
  gap: 18px;
}

.prediction-score-ring {
  width: min(220px, 100%);
  aspect-ratio: 1;
  margin: 4px auto;
  display: grid;
  place-items: center;
  align-content: center;
  border: 1px solid rgba(255,159,28,.30);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,159,28,.18), transparent 56%),
    conic-gradient(from -90deg, rgba(255,159,28,.86), rgba(16,185,129,.82), rgba(255,255,255,.08) 0);
}

.prediction-score-ring strong {
  color: #fff;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1;
}

.prediction-score-ring span {
  margin-top: 8px;
  color: rgba(255,255,255,.68);
  font-size: 13px;
  font-weight: 700;
}

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

.prediction-winrate-list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 16px;
}

.prediction-winrate-item span {
  display: block;
  color: #ffd166;
  font-size: 20px;
  letter-spacing: .08em;
  white-space: nowrap;
}

.prediction-history-card table {
  width: 100%;
  border-collapse: collapse;
}

.prediction-history-card th,
.prediction-history-card td {
  padding: 12px 10px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  text-align: left;
}

.prediction-history-card th {
  color: rgba(255,255,255,.48);
  font-size: 12px;
  font-weight: 700;
}

.prediction-history-card td {
  color: rgba(255,255,255,.74);
  font-size: 13px;
}

.prediction-table-wrap {
  max-height: 360px;
  margin-top: 12px;
  overflow: auto;
}

.prediction-result {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  font-weight: 700;
}

.prediction-result.hit {
  background: rgba(16,185,129,.14);
  color: #34d399;
}

.prediction-result.miss {
  background: rgba(239,68,68,.14);
  color: #ff6b5f;
}

.prediction-risk {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  border-color: rgba(255,139,31,.36) !important;
  background: rgba(255,139,31,.10) !important;
  color: #ff9f1c;
}

.prediction-risk b {
  white-space: nowrap;
}

.prediction-risk span {
  color: rgba(255,198,128,.86);
}

.prediction-api-form {
  grid-template-columns: minmax(180px, .65fr) minmax(220px, .75fr) minmax(320px, 1.4fr) minmax(220px, .85fr) auto auto;
  align-items: center;
}

.prediction-api-form input[type="password"] {
  min-width: 180px;
}

.prediction-api-form .compact {
  font-size: 12px;
}

@media (max-width: 1120px) {
  .prediction-main-grid,
  .prediction-content-grid {
    grid-template-columns: 1fr;
  }

  .prediction-stat-card {
    grid-template-columns: minmax(180px, .45fr) 1fr;
    align-items: center;
  }

  .prediction-stat-card .prediction-card-head {
    grid-column: 1 / -1;
  }

  .prediction-score-ring {
    width: min(180px, 100%);
  }

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

@media (max-width: 760px) {
  .app-prediction-shell {
    width: min(100% - 18px, 560px);
    padding-top: 10px;
  }

  .prediction-shell {
    gap: 10px;
    padding-bottom: 108px;
  }

  .prediction-hero {
    display: grid;
    gap: 14px;
    padding: 22px 18px;
  }

  .prediction-source-pill {
    text-align: left;
  }

  .prediction-today-card,
  .prediction-stat-card,
  .prediction-winrate-card,
  .prediction-history-card,
  .prediction-risk {
    padding: 16px;
  }

  .prediction-metrics,
  .prediction-stat-grid,
  .prediction-stat-card,
  .prediction-winrate-list {
    grid-template-columns: 1fr;
  }

  .prediction-score-ring {
    width: 168px;
  }

  .prediction-table-wrap {
    max-height: 320px;
  }

  .prediction-history-card th,
  .prediction-history-card td {
    white-space: nowrap;
  }

  .prediction-risk {
    align-items: flex-start;
  }
}

@media (max-width: 860px) {
  .app-home-shell > .topbar,
  .app-member-shell > .topbar,
  .app-portal > .topbar,
  .app-admin-shell > .topbar,
  .app-minimal-shell > .topbar,
  html[data-theme="dark"] .app-home-shell > .topbar,
  html[data-theme="dark"] .app-member-shell > .topbar,
  html[data-theme="dark"] .app-portal > .topbar {
    border-color: rgba(255,255,255,.11) !important;
    background:
      linear-gradient(180deg, rgba(22,22,24,.92), rgba(9,9,11,.82)),
      rgba(10,10,12,.86) !important;
    box-shadow: 0 12px 34px rgba(0,0,0,.24) !important;
  }

  .app-home-shell > .topbar .brand,
  .app-member-shell > .topbar .brand,
  .app-portal > .topbar .brand,
  .app-admin-shell > .topbar .brand,
  .app-minimal-shell > .topbar .brand{
    color: #fff !important;
    border-color: rgba(255,255,255,.14) !important;
    background:
      linear-gradient(180deg, rgba(255,255,255,.13), rgba(255,255,255,.04)),
      rgba(255,255,255,.05) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.14) !important;
  }

  .app-home-shell .mobile-bottom-nav,
  .app-member-shell .mobile-bottom-nav,
  .app-admin-shell .mobile-bottom-nav,
  .app-minimal-shell .mobile-bottom-nav,
  html[data-theme="dark"] .app-home-shell .mobile-bottom-nav,
  html[data-theme="dark"] .app-member-shell .mobile-bottom-nav {
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    min-height: calc(74px + env(safe-area-inset-bottom)) !important;
    padding: 7px 4px calc(8px + env(safe-area-inset-bottom)) !important;
    border-width: 1px 0 0 !important;
    border-color: rgba(255,159,28,.24) !important;
    border-radius: 0 !important;
    background:
      linear-gradient(180deg, rgba(26,20,16,.97), rgba(12,9,8,.98)),
      #120e0c !important;
    box-shadow: 0 -10px 30px rgba(0,0,0,.28) !important;
    backdrop-filter: blur(18px) saturate(1.25) !important;
    -webkit-backdrop-filter: blur(18px) saturate(1.25) !important;
  }

  .app-home-shell .mobile-bottom-nav-items,
  .app-member-shell .mobile-bottom-nav-items,
  .app-admin-shell .mobile-bottom-nav-items,
  .app-minimal-shell .mobile-bottom-nav-items {
    width: min(100%, 520px) !important;
    margin: 0 auto !important;
    align-items: center !important;
    gap: 0 !important;
  }

  .app-home-shell .mobile-bottom-nav a,
  .app-home-shell .mobile-bottom-nav a:hover,
  .app-home-shell .mobile-bottom-nav a.active,
  .app-member-shell .mobile-bottom-nav a,
  .app-member-shell .mobile-bottom-nav a:hover,
  .app-member-shell .mobile-bottom-nav a.active{
    min-height: 58px !important;
    gap: 3px !important;
    padding: 4px 2px !important;
    border-radius: 14px !important;
    color: rgba(234,225,210,.68) !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
  }

  .app-home-shell .mobile-bottom-nav a.active,
  .app-member-shell .mobile-bottom-nav a.active{
    color: #e7bf73 !important;
  }

  .app-home-shell .mobile-bottom-nav .nav-item-icon,
  .app-member-shell .mobile-bottom-nav .nav-item-icon {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    min-height: 26px !important;
    border: 0 !important;
    background: transparent !important;
    color: currentColor !important;
    box-shadow: none !important;
  }

  .app-home-shell .mobile-bottom-nav .nav-item-icon svg,
  .app-member-shell .mobile-bottom-nav .nav-item-icon svg {
    width: 23px !important;
    height: 23px !important;
    stroke-width: 2 !important;
  }

  .app-home-shell .mobile-bottom-nav .nav-item-label,
  .app-member-shell .mobile-bottom-nav .nav-item-label {
    font-size: 12px !important;
    line-height: 1.1 !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
  }

  .app-home-shell .mobile-bottom-nav a.active:not(.mobile-nav-main) .nav-item-icon,
  .app-member-shell .mobile-bottom-nav a.active:not(.mobile-nav-main) .nav-item-icon {
    color: #e7bf73 !important;
    background: transparent !important;
  }

  .app-home-shell .mobile-bottom-nav a.mobile-nav-main,
  .app-home-shell .mobile-bottom-nav a.mobile-nav-main:hover,
  .app-home-shell .mobile-bottom-nav a.mobile-nav-main.active,
  .app-member-shell .mobile-bottom-nav a.mobile-nav-main,
  .app-member-shell .mobile-bottom-nav a.mobile-nav-main:hover,
  .app-member-shell .mobile-bottom-nav a.mobile-nav-main.active {
    min-height: 58px !important;
    transform: none !important;
    color: #e7bf73 !important;
  }

  .app-home-shell .mobile-bottom-nav a.mobile-nav-main .nav-item-icon,
  .app-member-shell .mobile-bottom-nav a.mobile-nav-main .nav-item-icon{
    width: 31px !important;
    height: 31px !important;
    min-width: 31px !important;
    min-height: 31px !important;
    border: 1px solid rgba(231,191,115,.48) !important;
    border-radius: 13px !important;
    background: rgba(231,191,115,.10) !important;
    color: #e7bf73 !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.12) !important;
  }

  .app-home-shell .mobile-bottom-nav a.mobile-nav-main .nav-item-label,
  .app-member-shell .mobile-bottom-nav a.mobile-nav-main .nav-item-label{
    color: #e7bf73 !important;
    text-shadow: none !important;
  }
  html[data-theme="dark"] .app-home-shell .mobile-bottom-nav a.mobile-nav-main,
  html[data-theme="dark"] .app-member-shell .mobile-bottom-nav a.mobile-nav-main {
    color: #e7bf73 !important;
  }

  .app-member-shell > .topbar.glass-surface-native--svg,
  .app-member-shell > .topbar.glass-surface-native--fallback,
  html[data-theme="dark"] .app-member-shell > .topbar.glass-surface-native--svg,
  html[data-theme="dark"] .app-member-shell > .topbar.glass-surface-native--fallback {
    top: calc(10px + env(safe-area-inset-top)) !important;
    margin: 0 12px 18px !important;
    min-height: 44px !important;
    padding: 6px 10px !important;
    border-radius: 18px !important;
    border-color: rgba(255,255,255,.12) !important;
    background:
      linear-gradient(180deg, rgba(18,19,24,.92), rgba(9,10,14,.86)),
      #101218 !important;
    box-shadow: 0 12px 32px rgba(0,0,0,.24) !important;
  }

  .app-member-shell > .topbar .brand,
  html[data-theme="dark"] .app-member-shell > .topbar .brand {
    min-height: 30px !important;
    padding: 0 12px !important;
    border: 1px solid rgba(255,255,255,.16) !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.08) !important;
    color: rgba(255,255,255,.96) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    text-shadow: none !important;
  }

  .app-member-shell > .topbar .brand::before,
  html[data-theme="dark"] .app-member-shell > .topbar .brand::before {
    display: none !important;
  }
}

.app-home-shell:has(.redo-home-hero) > .topbar .brand,
.app-home-shell:has(.redo-home-hero) > .topbar .brand:visited,
.app-home-shell:has(.redo-home-hero) > .topbar .brand:hover,
html[data-theme="dark"] .app-home-shell:has(.redo-home-hero) > .topbar .brand {
  color: rgba(255,255,255,.96) !important;
  opacity: 1 !important;
  text-shadow: 0 1px 10px rgba(0,0,0,.36) !important;
}

.topbar > .brand,
.app-home-shell > .topbar .brand,
.app-member-shell > .topbar .brand,
.app-portal > .topbar .brand,
.app-admin-shell > .topbar .brand,
.app-minimal-shell > .topbar .brand,
html[data-theme="dark"] .topbar > .brand,
html[data-theme="dark"] .app-home-shell > .topbar .brand,
html[data-theme="dark"] .app-member-shell > .topbar .brand,
html[data-theme="dark"] .app-portal > .topbar .brand,
html[data-theme="dark"] .app-admin-shell > .topbar .brand,
html[data-theme="dark"] .app-minimal-shell > .topbar .brand {
  min-height: auto !important;
  height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--text) !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

html[data-theme="dark"] .topbar > .brand,
html[data-theme="dark"] .app-member-shell > .topbar .brand,
.app-home-shell:has(.redo-home-hero) > .topbar .brand,
.app-home-shell:has(.redo-home-hero) > .topbar .brand:visited,
.app-home-shell:has(.redo-home-hero) > .topbar .brand:hover,
html[data-theme="dark"] .app-home-shell:has(.redo-home-hero) > .topbar .brand {
  color: rgba(255,255,255,.96) !important;
}

.topbar > .brand::before,
.app-home-shell > .topbar .brand::before,
.app-member-shell > .topbar .brand::before,
.app-portal > .topbar .brand::before,
.app-admin-shell > .topbar .brand::before,
.app-minimal-shell > .topbar .brand::before {
  display: none !important;
}

.nav-account-link,
.nav-profile-menu .nav-account-link,
.app-home-shell:has(.redo-home-hero) .nav-account-link {
  display: inline-flex !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 136px;
  height: 34px !important;
  min-height: 34px !important;
  padding: 0 11px !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.06) !important;
  color: rgba(247,244,238,.92) !important;
  box-shadow: none !important;
  font-size: 13px !important;
  font-weight: 680 !important;
  line-height: 1 !important;
}

.nav-account-link:hover,
.nav-account-link.active,
.nav-profile-menu:focus-within .nav-account-link {
  border-color: rgba(255,159,28,.28) !important;
  background: rgba(255,159,28,.10) !important;
  color: #fff !important;
  transform: none !important;
}

.nav-account-text {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-portal > .topbar .theme-toggle,
.app-admin-shell > .topbar .theme-toggle,
.app-minimal-shell > .topbar .theme-toggle {
  width: 36px !important;
  min-width: 36px !important;
  height: 36px !important;
  min-height: 36px !important;
  border-radius: 999px !important;
  color: rgba(247,244,238,.94) !important;
  background: transparent !important;
  box-shadow: none !important;
}

.app-portal > .topbar .nav-links .theme-toggle,
.app-admin-shell > .topbar .nav-links .theme-toggle,
.app-minimal-shell > .topbar .nav-links .theme-toggle {
  width: 36px !important;
  min-width: 36px !important;
  height: 36px !important;
  min-height: 36px !important;
}

.app-portal > .topbar .theme-toggle svg,
.app-admin-shell > .topbar .theme-toggle svg,
.app-minimal-shell > .topbar .theme-toggle svg {
  width: 24px !important;
  height: 24px !important;
  stroke-width: 2.15 !important;
}

.app-portal > .topbar .nav-links .theme-toggle svg,
.app-admin-shell > .topbar .nav-links .theme-toggle svg,
.app-minimal-shell > .topbar .nav-links .theme-toggle svg {
  width: 24px !important;
  min-width: 24px !important;
  height: 24px !important;
  min-height: 24px !important;
  flex: 0 0 24px !important;
  transform: scale(1.08);
}

.app-portal > .topbar .theme-toggle:hover,
.app-admin-shell > .topbar .theme-toggle:hover,
.app-minimal-shell > .topbar .theme-toggle:hover {
  color: #fff !important;
  background: transparent !important;
}

.desktop-nav-tools {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
  margin-left: 8px;
  transform: none !important;
}

.topbar > .desktop-nav-tools {
  margin-left: 8px;
}

.topbar:has(> .desktop-nav-tools) > .nav-links {
  flex: 0 1 auto;
  min-width: 0;
  margin-left: auto;
}

.desktop-nav-tools .theme-toggle.toggle-btn,
.desktop-nav-tools .alert-button {
  display: grid !important;
  place-items: center !important;
  flex: 0 0 36px !important;
  width: 36px !important;
  min-width: 36px !important;
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: var(--text, #241d15) !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  cursor: pointer !important;
  line-height: 1 !important;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.desktop-nav-tools .nav-alert {
  position: relative;
  margin: 0;
}

.desktop-nav-tools .alert-icon,
.desktop-nav-tools .alert-icon svg {
  width: 18px !important;
  height: 18px !important;
}

.desktop-nav-tools .alert-icon svg {
  opacity: .78 !important;
}

.app-portal > .topbar > .desktop-nav-tools .theme-toggle.toggle-btn,
.app-portal > .topbar > .desktop-nav-tools .alert-button,
.app-admin-shell > .topbar > .desktop-nav-tools .theme-toggle.toggle-btn,
.app-admin-shell > .topbar > .desktop-nav-tools .alert-button,
.app-minimal-shell > .topbar > .desktop-nav-tools .theme-toggle.toggle-btn,
.app-minimal-shell > .topbar > .desktop-nav-tools .alert-button,
.app-member-shell > .topbar > .desktop-nav-tools .theme-toggle.toggle-btn,
.app-member-shell > .topbar > .desktop-nav-tools .alert-button {
  width: 36px !important;
  min-width: 36px !important;
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 !important;
}

.desktop-nav-tools .theme-toggle.toggle-btn:hover,
.desktop-nav-tools .theme-toggle.toggle-btn:focus,
.desktop-nav-tools .alert-button:hover,
.desktop-nav-tools .alert-button:focus {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

.desktop-nav-tools .nav-profile-menu {
  position: relative;
  z-index: 1;
}

@media (min-width: 861px) {
  html[data-theme] body .app > .mobile-theme-toggle.theme-toggle.toggle-btn {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

@media (max-width: 860px) {
  .desktop-nav-tools {
    display: none !important;
  }
}

.app-portal > .topbar .nav-account-link,
.app-admin-shell > .topbar .nav-account-link,
.app-minimal-shell > .topbar .nav-account-link {
  max-width: none !important;
  min-width: max-content !important;
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 13px !important;
}

.app-portal > .topbar .nav-account-text,
.app-admin-shell > .topbar .nav-account-text,
.app-minimal-shell > .topbar .nav-account-text {
  overflow: visible !important;
  text-overflow: clip !important;
}

@media (max-width: 860px) {
  .app-home-shell > .topbar .brand,
  .app-member-shell > .topbar .brand,
  .app-portal > .topbar .brand,
  .app-admin-shell > .topbar .brand,
  .app-minimal-shell > .topbar .brand{
    color: rgba(255,255,255,.96) !important;
  }
}

@media (max-width: 860px) {
  .app-home-shell .mobile-bottom-nav,
  .app-member-shell .mobile-bottom-nav,
  .app-admin-shell .mobile-bottom-nav,
  .app-minimal-shell .mobile-bottom-nav,
  html[data-theme="dark"] .app-home-shell .mobile-bottom-nav,
  html[data-theme="dark"] .app-member-shell .mobile-bottom-nav,
  html[data-theme="dark"] .app-admin-shell .mobile-bottom-nav,
  html[data-theme="dark"] .app-minimal-shell .mobile-bottom-nav {
    left: 8px !important;
    right: 8px !important;
    bottom: calc(8px + var(--mobile-visual-bottom, 0px)) !important;
    width: auto !important;
    min-height: calc(70px + env(safe-area-inset-bottom)) !important;
    padding: 7px 8px calc(8px + env(safe-area-inset-bottom)) !important;
    overflow: hidden !important;
    isolation: isolate !important;
    border: 1px solid rgba(255,255,255,.22) !important;
    border-radius: 24px !important;
    background:
      linear-gradient(135deg, rgba(255,255,255,.20), rgba(255,255,255,.055) 46%, rgba(255,255,255,.13)),
      rgba(20,20,22,.48) !important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.34),
      inset 0 -1px 0 rgba(255,255,255,.08),
      0 18px 50px rgba(0,0,0,.38) !important;
    backdrop-filter: blur(26px) saturate(1.45) contrast(1.05) !important;
    -webkit-backdrop-filter: blur(26px) saturate(1.45) contrast(1.05) !important;
  }

  .app-home-shell .mobile-bottom-nav::before,
  .app-member-shell .mobile-bottom-nav::before,
  .app-admin-shell .mobile-bottom-nav::before,
  .app-minimal-shell .mobile-bottom-nav::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: -1 !important;
    pointer-events: none !important;
    border-radius: inherit !important;
    background:
      radial-gradient(circle at 18% 0%, rgba(255,255,255,.28), transparent 36%),
      linear-gradient(90deg, rgba(255,255,255,.10), transparent 42%, rgba(255,255,255,.08)) !important;
  }

  .app-home-shell .mobile-bottom-nav::after,
  .app-member-shell .mobile-bottom-nav::after,
  .app-admin-shell .mobile-bottom-nav::after,
  .app-minimal-shell .mobile-bottom-nav::after {
    content: "" !important;
    position: absolute !important;
    inset: 1px !important;
    z-index: -1 !important;
    pointer-events: none !important;
    border: 1px solid rgba(255,255,255,.10) !important;
    border-radius: calc(24px - 1px) !important;
  }

  .app-home-shell .mobile-bottom-nav-items,
  .app-member-shell .mobile-bottom-nav-items,
  .app-admin-shell .mobile-bottom-nav-items,
  .app-minimal-shell .mobile-bottom-nav-items {
    width: 100% !important;
    max-width: 520px !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    align-items: center !important;
    gap: 2px !important;
  }

  .app-home-shell .mobile-bottom-nav a,
  .app-home-shell .mobile-bottom-nav a:hover,
  .app-home-shell .mobile-bottom-nav a.active,
  .app-member-shell .mobile-bottom-nav a,
  .app-member-shell .mobile-bottom-nav a:hover,
  .app-member-shell .mobile-bottom-nav a.active,
  .app-admin-shell .mobile-bottom-nav a,
  .app-admin-shell .mobile-bottom-nav a:hover,
  .app-admin-shell .mobile-bottom-nav a.active,
  .app-minimal-shell .mobile-bottom-nav a,
  .app-minimal-shell .mobile-bottom-nav a:hover,
  .app-minimal-shell .mobile-bottom-nav a.active {
    min-height: 54px !important;
    height: 54px !important;
    padding: 4px 2px !important;
    gap: 2px !important;
    border: 0 !important;
    border-radius: 16px !important;
    background: transparent !important;
    box-shadow: none !important;
    color: rgba(255,255,255,.58) !important;
    transform: none !important;
  }

  .app-home-shell .mobile-bottom-nav a.active,
  .app-member-shell .mobile-bottom-nav a.active,
  .app-admin-shell .mobile-bottom-nav a.active,
  .app-minimal-shell .mobile-bottom-nav a.active {
    background: rgba(255,255,255,.09) !important;
    color: rgba(255,255,255,.94) !important;
  }

  .app-home-shell .mobile-bottom-nav .nav-item-icon,
  .app-home-shell .mobile-bottom-nav a.active .nav-item-icon,
  .app-member-shell .mobile-bottom-nav .nav-item-icon,
  .app-member-shell .mobile-bottom-nav a.active .nav-item-icon,
  .app-admin-shell .mobile-bottom-nav .nav-item-icon,
  .app-admin-shell .mobile-bottom-nav a.active .nav-item-icon,
  .app-minimal-shell .mobile-bottom-nav .nav-item-icon,
  .app-minimal-shell .mobile-bottom-nav a.active .nav-item-icon {
    width: 23px !important;
    height: 23px !important;
    min-width: 23px !important;
    min-height: 23px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: currentColor !important;
    box-shadow: none !important;
    transform: none !important;
  }

  .app-home-shell .mobile-bottom-nav .nav-item-icon svg,
  .app-member-shell .mobile-bottom-nav .nav-item-icon svg,
  .app-admin-shell .mobile-bottom-nav .nav-item-icon svg,
  .app-minimal-shell .mobile-bottom-nav .nav-item-icon svg {
    width: 20px !important;
    height: 20px !important;
    stroke-width: 1.85 !important;
  }

  .app-home-shell .mobile-bottom-nav .nav-item-label,
  .app-member-shell .mobile-bottom-nav .nav-item-label,
  .app-admin-shell .mobile-bottom-nav .nav-item-label,
  .app-minimal-shell .mobile-bottom-nav .nav-item-label {
    color: currentColor !important;
    font-size: 11px !important;
    line-height: 1.1 !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-shadow: none !important;
  }

  .app-home-shell .mobile-bottom-nav a.mobile-nav-main,
  .app-home-shell .mobile-bottom-nav a.mobile-nav-main:hover,
  .app-home-shell .mobile-bottom-nav a.mobile-nav-main.active,
  .app-member-shell .mobile-bottom-nav a.mobile-nav-main,
  .app-member-shell .mobile-bottom-nav a.mobile-nav-main:hover,
  .app-member-shell .mobile-bottom-nav a.mobile-nav-main.active,
  .app-admin-shell .mobile-bottom-nav a.mobile-nav-main,
  .app-admin-shell .mobile-bottom-nav a.mobile-nav-main:hover,
  .app-admin-shell .mobile-bottom-nav a.mobile-nav-main.active,
  .app-minimal-shell .mobile-bottom-nav a.mobile-nav-main,
  .app-minimal-shell .mobile-bottom-nav a.mobile-nav-main:hover,
  .app-minimal-shell .mobile-bottom-nav a.mobile-nav-main.active {
    min-height: 54px !important;
    height: 54px !important;
    padding: 4px 2px !important;
    color: rgba(255,255,255,.94) !important;
    transform: none !important;
  }

  .app-home-shell .mobile-bottom-nav a.mobile-nav-main .nav-item-icon,
  .app-home-shell .mobile-bottom-nav a.mobile-nav-main.active .nav-item-icon,
  .app-member-shell .mobile-bottom-nav a.mobile-nav-main .nav-item-icon,
  .app-member-shell .mobile-bottom-nav a.mobile-nav-main.active .nav-item-icon,
  .app-admin-shell .mobile-bottom-nav a.mobile-nav-main .nav-item-icon,
  .app-admin-shell .mobile-bottom-nav a.mobile-nav-main.active .nav-item-icon,
  .app-minimal-shell .mobile-bottom-nav a.mobile-nav-main .nav-item-icon,
  .app-minimal-shell .mobile-bottom-nav a.mobile-nav-main.active .nav-item-icon {
    width: 23px !important;
    height: 23px !important;
    min-width: 23px !important;
    min-height: 23px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: currentColor !important;
    box-shadow: none !important;
    transform: none !important;
  }

  .app-home-shell .mobile-bottom-nav a.mobile-nav-main .nav-item-label,
  .app-member-shell .mobile-bottom-nav a.mobile-nav-main .nav-item-label,
  .app-admin-shell .mobile-bottom-nav a.mobile-nav-main .nav-item-label,
  .app-minimal-shell .mobile-bottom-nav a.mobile-nav-main .nav-item-label {
    color: currentColor !important;
    text-shadow: none !important;
  }
}

@media (max-width: 860px) {
  body .mobile-bottom-nav,
  html[data-theme="dark"] body .mobile-bottom-nav {
    left: 8px !important;
    right: 8px !important;
    bottom: calc(8px + var(--mobile-visual-bottom, 0px)) !important;
    width: auto !important;
    min-height: calc(70px + env(safe-area-inset-bottom)) !important;
    padding: 7px 8px calc(8px + env(safe-area-inset-bottom)) !important;
    overflow: hidden !important;
    isolation: isolate !important;
    border: 1px solid rgba(255,255,255,.22) !important;
    border-radius: 24px !important;
    background:
      linear-gradient(135deg, rgba(255,255,255,.20), rgba(255,255,255,.055) 46%, rgba(255,255,255,.13)),
      rgba(20,20,22,.48) !important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.34),
      inset 0 -1px 0 rgba(255,255,255,.08),
      0 18px 50px rgba(0,0,0,.38) !important;
    backdrop-filter: blur(26px) saturate(1.45) contrast(1.05) !important;
    -webkit-backdrop-filter: blur(26px) saturate(1.45) contrast(1.05) !important;
  }

  body .mobile-bottom-nav::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: -1 !important;
    pointer-events: none !important;
    border-radius: inherit !important;
    background:
      radial-gradient(circle at 18% 0%, rgba(255,255,255,.28), transparent 36%),
      linear-gradient(90deg, rgba(255,255,255,.10), transparent 42%, rgba(255,255,255,.08)) !important;
  }

  body .mobile-bottom-nav::after {
    content: "" !important;
    position: absolute !important;
    inset: 1px !important;
    z-index: -1 !important;
    pointer-events: none !important;
    border: 1px solid rgba(255,255,255,.10) !important;
    border-radius: 23px !important;
  }

  body .mobile-bottom-nav-items {
    width: 100% !important;
    max-width: 520px !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    align-items: center !important;
    gap: 2px !important;
  }

  body .mobile-bottom-nav a,
  body .mobile-bottom-nav a:hover,
  body .mobile-bottom-nav a.active,
  body .mobile-bottom-nav a.mobile-nav-main,
  body .mobile-bottom-nav a.mobile-nav-main:hover,
  body .mobile-bottom-nav a.mobile-nav-main.active {
    min-height: 54px !important;
    height: 54px !important;
    padding: 4px 2px !important;
    gap: 2px !important;
    border: 0 !important;
    border-radius: 16px !important;
    background: transparent !important;
    box-shadow: none !important;
    color: rgba(255,255,255,.58) !important;
    transform: none !important;
  }

  body .mobile-bottom-nav a.active,
  body .mobile-bottom-nav a.mobile-nav-main.active {
    background: rgba(255,255,255,.09) !important;
    color: rgba(255,255,255,.94) !important;
  }

  body .mobile-bottom-nav .nav-item-icon,
  body .mobile-bottom-nav a.active .nav-item-icon,
  body .mobile-bottom-nav a.mobile-nav-main .nav-item-icon,
  body .mobile-bottom-nav a.mobile-nav-main.active .nav-item-icon {
    width: 23px !important;
    height: 23px !important;
    min-width: 23px !important;
    min-height: 23px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: currentColor !important;
    box-shadow: none !important;
    transform: none !important;
  }

  body .mobile-bottom-nav .nav-item-icon svg {
    width: 20px !important;
    height: 20px !important;
    stroke-width: 1.85 !important;
  }

  body .mobile-bottom-nav .nav-item-label,
  body .mobile-bottom-nav a.mobile-nav-main .nav-item-label {
    color: currentColor !important;
    font-size: 11px !important;
    line-height: 1.1 !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-shadow: none !important;
  }
}

@media (max-width: 860px) {
  html[data-theme="dark"] body .app .mobile-bottom-nav {
    border-color: rgba(255,255,255,.22) !important;
    background:
      linear-gradient(135deg, rgba(255,255,255,.20), rgba(255,255,255,.055) 46%, rgba(255,255,255,.13)),
      rgba(20,20,22,.48) !important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.34),
      inset 0 -1px 0 rgba(255,255,255,.08),
      0 18px 50px rgba(0,0,0,.38) !important;
    backdrop-filter: blur(26px) saturate(1.45) contrast(1.05) !important;
    -webkit-backdrop-filter: blur(26px) saturate(1.45) contrast(1.05) !important;
  }
  html[data-theme="dark"] body .app .mobile-bottom-nav a,
  html[data-theme="dark"] body .app .mobile-bottom-nav a:hover,
  html[data-theme="dark"] body .app .mobile-bottom-nav a.mobile-nav-main,
  html[data-theme="dark"] body .app .mobile-bottom-nav a.mobile-nav-main:hover {
    color: rgba(255,255,255,.58) !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px !important;
  }
  html[data-theme="dark"] body .app .mobile-bottom-nav a.active,
  html[data-theme="dark"] body .app .mobile-bottom-nav a.mobile-nav-main.active {
    color: rgba(255,255,255,.94) !important;
    background: rgba(255,255,255,.09) !important;
    box-shadow: none !important;
    transform: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px !important;
  }
  html[data-theme="dark"] body .app .mobile-bottom-nav .nav-item-icon,
  html[data-theme="dark"] body .app .mobile-bottom-nav a.active .nav-item-icon,
  html[data-theme="dark"] body .app .mobile-bottom-nav a.mobile-nav-main .nav-item-icon,
  html[data-theme="dark"] body .app .mobile-bottom-nav a.mobile-nav-main.active .nav-item-icon {
    width: 23px !important;
    height: 23px !important;
    min-width: 23px !important;
    min-height: 23px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: currentColor !important;
    box-shadow: none !important;
    transform: none !important;
  }
  html[data-theme="dark"] body .app .mobile-bottom-nav a.mobile-nav-main .nav-item-label {
    color: currentColor !important;
    margin: 0 !important;
    text-shadow: none !important;
  }
}

@media (max-width: 860px) {
  body .app > .topbar,
  body .app-home-shell > .topbar,
  body .app-dashboard-shell > .topbar,
  body .app-community-shell > .topbar,
  body .app-member-shell > .topbar,
  body .app-admin-shell > .topbar,
  body .app-minimal-shell > .topbar,
  body .app-auth-shell > .topbar,
  html[data-theme="dark"] body .app > .topbar {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    border: 0 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    isolation: isolate !important;
    background:
      linear-gradient(135deg, rgba(255,255,255,.14), rgba(255,255,255,.035) 48%, rgba(255,255,255,.09)),
      rgba(18,18,20,.52) !important;
    box-shadow: 0 10px 34px rgba(0,0,0,.28) !important;
    backdrop-filter: blur(26px) saturate(1.35) contrast(1.04) !important;
    -webkit-backdrop-filter: blur(26px) saturate(1.35) contrast(1.04) !important;
  }

  body .topbar::before,
  body .topbar::after {
    display: none !important;
  }

  body .app > .topbar .brand,
  body .topbar .brand,
  html[data-theme="dark"] body .topbar .brand {
    color: rgba(255,255,255,.96) !important;
    text-shadow: 0 1px 12px rgba(0,0,0,.34) !important;
  }

  body .mobile-bottom-nav,
  html[data-theme="dark"] body .app .mobile-bottom-nav {
    left: 0 !important;
    right: 0 !important;
    bottom: var(--mobile-visual-bottom, 0px) !important;
    width: 100% !important;
    min-height: calc(70px + env(safe-area-inset-bottom)) !important;
    padding: 7px 10px calc(8px + env(safe-area-inset-bottom)) !important;
    border: 0 !important;
    border-radius: 0 !important;
    background:
      linear-gradient(135deg, rgba(255,255,255,.15), rgba(255,255,255,.035) 48%, rgba(255,255,255,.08)),
      rgba(18,18,20,.58) !important;
    box-shadow: 0 -16px 44px rgba(0,0,0,.34) !important;
    backdrop-filter: blur(28px) saturate(1.35) contrast(1.04) !important;
    -webkit-backdrop-filter: blur(28px) saturate(1.35) contrast(1.04) !important;
  }

  body .mobile-bottom-nav::after {
    display: none !important;
  }

  body .mobile-bottom-nav::before {
    border-radius: 0 !important;
    background:
      radial-gradient(circle at 50% 0%, rgba(255,255,255,.12), transparent 42%),
      linear-gradient(90deg, rgba(255,255,255,.05), transparent 40%, rgba(255,255,255,.04)) !important;
  }

  body .mobile-bottom-nav a,
  body .mobile-bottom-nav a:hover,
  body .mobile-bottom-nav a.active,
  body .mobile-bottom-nav a.mobile-nav-main,
  body .mobile-bottom-nav a.mobile-nav-main:hover,
  body .mobile-bottom-nav a.mobile-nav-main.active {
    border-radius: 0 !important;
  }
}

@media (max-width: 860px) {
  html body .app.app-home-shell.app-member-shell > nav.topbar.glass-surface-native--svg,
  html body .app.app-home-shell.app-member-shell > nav.topbar.glass-surface-native--fallback,
  html[data-theme="dark"] body .app.app-home-shell.app-member-shell > nav.topbar.glass-surface-native--svg,
  html[data-theme="dark"] body .app.app-home-shell.app-member-shell > nav.topbar.glass-surface-native--fallback {
    left: 0 !important;
    right: 0 !important;
    margin: 0 !important;
    max-width: none !important;
    width: 100% !important;
    border: 0 !important;
    border-radius: 0 !important;
    background:
      linear-gradient(135deg, rgba(255,255,255,.14), rgba(255,255,255,.035) 48%, rgba(255,255,255,.09)),
      rgba(18,18,20,.52) !important;
    box-shadow: 0 10px 34px rgba(0,0,0,.28) !important;
    backdrop-filter: blur(26px) saturate(1.35) contrast(1.04) !important;
    -webkit-backdrop-filter: blur(26px) saturate(1.35) contrast(1.04) !important;
  }

}

.member-center-head {
  align-items: end;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.025)),
    rgba(255,255,255,.035);
  box-shadow: 0 18px 50px rgba(0,0,0,.10);
}
.member-center-head .button {
  border-color: rgba(255,159,28,.24);
  background: rgba(255,159,28,.10);
  color: var(--text);
  opacity: 1;
  font-weight: 700;
}
.member-overview {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
  overflow: hidden;
}
.member-overview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.member-overview-head .button {
  border-color: rgba(255,159,28,.24);
  background: rgba(255,159,28,.10);
  color: var(--text);
  opacity: 1;
  font-weight: 700;
}
.member-overview-person {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 14px;
}
.member-overview-person h2 {
  margin: 2px 0 5px;
  font-size: 30px;
}
.member-overview-person p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}
.member-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.member-overview-card {
  display: grid;
  align-content: space-between;
  min-height: 128px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025));
  color: var(--text);
}
.member-overview-card:hover,
.member-overview-card:focus-visible {
  border-color: rgba(255,159,28,.35);
  background: rgba(255,159,28,.08);
}
.member-overview-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.member-overview-card b {
  display: block;
  margin: 12px 0 6px;
  font-size: 24px;
  letter-spacing: 0;
}
.member-overview-card small {
  color: var(--muted);
  font-weight: 600;
  line-height: 1.45;
}
.member-overview-card.is-points {
  border-color: rgba(255,159,28,.28);
  background:
    linear-gradient(145deg, rgba(255,190,92,.20), rgba(255,255,255,.035)),
    rgba(255,159,28,.08);
}
.member-overview-card.is-fortune {
  border-color: rgba(255,205,116,.30);
  background:
    radial-gradient(circle at 82% 12%, rgba(255,213,139,.18), transparent 34%),
    linear-gradient(145deg, rgba(255,159,28,.14), rgba(255,255,255,.028)),
    rgba(255,159,28,.06);
}
.member-menu-list {
  display: grid;
  gap: 2px;
  margin-bottom: 16px;
  padding: 8px;
  overflow: hidden;
}
.member-menu-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  grid-template-areas:
    "icon title arrow"
    "icon meta arrow";
  align-items: center;
  gap: 2px 12px;
  min-height: 66px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: var(--text);
}
.member-menu-row:hover,
.member-menu-row:focus-visible {
  border-color: rgba(255,159,28,.30);
  background: rgba(255,159,28,.08);
}
.member-menu-icon {
  grid-area: icon;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,159,28,.24);
  border-radius: 12px;
  background: rgba(255,159,28,.10);
  color: #c77600;
  font-size: 13px;
  font-weight: 700;
}
.member-menu-row b {
  grid-area: title;
  font-size: 18px;
  letter-spacing: 0;
}
.member-menu-row small {
  grid-area: meta;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.35;
}
.member-menu-row i,
.member-menu-row button {
  grid-area: arrow;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 28px;
  font-weight: 500;
}
.member-menu-form {
  width: 100%;
  text-align: left;
}
.member-menu-form button {
  cursor: pointer;
}
.member-center-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 16px;
}
.member-sidebar {
  align-self: start;
  position: sticky;
  top: 86px;
  display: grid;
  gap: 16px;
  overflow: hidden;
}
.member-sidebar-profile {
  display: grid;
  gap: 12px;
  padding-bottom: 2px;
}
.member-sidebar-identity {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  width: 100%;
  min-width: 0;
}
.member-sidebar-id {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.member-sidebar-profile span,
.member-section-title span,
.member-info-grid span,
.member-stat-grid span,
.symbol-library-preview span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.member-sidebar-profile b {
  display: block;
  min-width: 0;
  font-size: 24px;
  letter-spacing: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.member-sidebar-profile small {
  color: var(--muted);
  font-weight: 600;
}
.member-sidebar-honor,
.member-sidebar-stats > div {
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.02)),
    rgba(255,159,28,.045);
}
.member-sidebar-honor {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-width: 0;
  padding: 11px 12px;
}
.member-sidebar-honor b {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}
.member-sidebar-honor .member-level-icon {
  width: 20px;
  height: 20px;
}
.member-sidebar-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}
.member-sidebar-stats > div {
  min-width: 0;
  padding: 11px 12px;
}
.member-sidebar-stats b {
  display: block;
  margin-top: 5px;
  font-size: 22px;
  line-height: 1;
  color: var(--text);
}
.member-level-chip,
.member-level-mark {
  display: inline-grid;
  place-items: center;
  min-width: 56px;
  min-height: 56px;
  border: 1px solid rgba(255,159,28,.30);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255,190,92,.22), rgba(255,255,255,.045)),
    rgba(255,159,28,.10);
  color: #ffb64d;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16);
  font-size: 15px;
  font-weight: 700;
}
.member-level-mark {
  min-width: 76px;
  min-height: 76px;
  border-radius: 24px;
  font-size: 22px;
}
.member-level-symbols {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  max-width: 100%;
  line-height: 1;
  vertical-align: middle;
}
.member-level-symbols.full {
  flex-wrap: wrap;
}
.member-level-icon {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(255, 181, 74, .22));
}
.member-level-symbols.compact .member-level-icon,
.member-level-chip .member-level-icon {
  width: 24px;
  height: 24px;
}
.member-level-mark .member-level-symbols {
  gap: 5px;
}
.member-level-mark .member-level-icon {
  width: 34px;
  height: 34px;
}
.member-overview-head p .member-level-icon,
.member-overview-card small .member-level-icon {
  width: 18px;
  height: 18px;
}
.member-section-nav {
  display: grid;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.member-section-nav a {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--text);
  font-weight: 600;
}
.member-section-nav a:hover,
.member-section-nav a:focus-visible,
.member-section-nav a.active {
  border-color: var(--line-strong);
  background: rgba(255,159,28,.10);
  color: var(--text);
}
.member-section-nav a.active {
  border-color: rgba(255,159,28,.34);
  box-shadow: inset 3px 0 0 rgba(255,159,28,.75);
}
.member-center-main {
  display: grid;
  gap: 16px;
  min-width: 0;
}
.member-section {
  scroll-margin-top: 96px;
  overflow: hidden;
}
.member-section.points-section {
  background:
    linear-gradient(135deg, rgba(255,159,28,.11), transparent 42%),
    rgba(255,255,255,.035);
}
.member-section-title {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
  margin-bottom: 16px;
}
.member-section-title h2 {
  margin: 4px 0 6px;
  font-size: 28px;
}
.member-section-title p {
  margin: 0;
  color: var(--muted);
}
.member-section-title > b {
  font-size: 40px;
  color: var(--accent);
}
.member-stat-grid,
.member-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.member-info-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.member-stat-grid > div,
.member-info-grid > div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
}
.member-stat-grid b,
.member-info-grid b {
  display: block;
  margin-top: 6px;
  font-size: 18px;
}
.points-observe-form {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) 140px 180px;
  gap: 10px;
  margin: 14px 0;
}
.points-observe-form label,
.email-bind-field {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.points-observe-form input,
.points-observe-form select,
.symbol-library-search input,
.symbol-library-search select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  color: var(--text);
  padding: 0 12px;
  font: inherit;
  font-weight: 600;
}
.member-dual-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.member-dual-list h3,
.member-settings-grid h3 {
  margin: 0 0 8px;
}
.member-dual-list ul,
.member-order-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.member-dual-list li,
.member-order-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.035);
}
.member-dual-list li small,
.member-order-list li small {
  grid-column: 1 / -1;
  color: var(--muted);
}
.member-dual-list .empty-row,
.member-order-list .empty-row {
  display: block;
  color: var(--muted);
}
.member-settings-grid {
  display: grid;
  grid-template-columns: minmax(260px, .85fr) minmax(320px, 1.15fr);
  gap: 14px;
}
.member-settings-grid > .email-alert-card,
.member-settings-grid > .phone-bind-card,
.member-settings-grid > .password-setting-card,
.member-settings-grid > .avatar-setting-card {
  grid-area: auto;
  display: grid;
  align-items: stretch;
  justify-content: stretch;
}
.member-settings-grid > section {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
}
.avatar-setting-summary {
  align-items: center;
}
.member-guide-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.member-guide-grid a {
  min-height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  font-weight: 700;
  background: rgba(255,255,255,.04);
}
.member-guide-grid a:hover,
.member-guide-grid a:focus-visible,
.symbol-library-chip:hover {
  border-color: rgba(255,159,28,.34);
  background: rgba(255,159,28,.09);
}
.symbol-library-preview {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}
.symbol-library-preview > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.point-recharge-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, .42fr);
  gap: 12px;
  align-items: stretch;
}
.point-balance-card,
.point-plan-grid article,
.point-order-panel,
.point-usage-panel,
.point-quick-observe,
.point-recharge-note {
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.022)),
    rgba(255,159,28,.035);
}
.point-balance-card {
  padding: 18px;
}
.point-balance-card span,
.point-plan-grid span,
.point-usage-head span,
.point-usage-grid span,
.point-quick-observe span,
.point-recharge-note span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.point-balance-card b {
  display: block;
  margin: 8px 0 6px;
  color: #ffd58b;
  font-size: clamp(42px, 6vw, 70px);
  line-height: .92;
}
.point-balance-card small,
.point-plan-grid small,
.point-pack-card em,
.point-empty-copy,
.point-usage-grid small,
.point-quick-observe p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.point-recharge-actions {
  display: grid;
  align-content: center;
  gap: 10px;
}
.point-recharge-actions a,
.point-recharge-actions button,
.point-usage-head button,
.point-recharge-note button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255,190,92,.18);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255,255,255,.045);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.point-recharge-actions a.primary {
  border-color: rgba(255,190,92,.34);
  color: #1d1408;
  background: linear-gradient(135deg, #ffe0a0, #d99b3d);
}
.point-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.point-plan-grid article {
  padding: 14px;
}
.point-pack-card em {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-weight: 700;
}
.point-pack-card form {
  margin-top: 12px;
}
.point-pack-card button,
.point-pending-order button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255,190,92,.22);
  border-radius: 999px;
  color: #201407;
  background: linear-gradient(135deg, #ffdea0, #d99b3d);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.point-plan-grid b,
.point-usage-grid b {
  display: block;
  margin: 8px 0 6px;
  color: #f6d28d;
  font-size: 20px;
  line-height: 1.2;
}
.point-usage-panel,
.point-order-panel,
.point-quick-observe {
  margin-top: 12px;
  padding: 16px;
}
.point-usage-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.point-usage-head h3,
.point-quick-observe h3 {
  margin: 5px 0 0;
  color: var(--text);
  font-size: 20px;
  line-height: 1.2;
}
.point-usage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.point-usage-grid > div {
  min-width: 0;
  padding: 13px;
  border: 1px solid rgba(255,190,92,.13);
  border-radius: 14px;
  background: rgba(255,255,255,.03);
}
.point-order-list {
  display: grid;
  gap: 12px;
}
.point-pending-order {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .46fr);
  gap: 16px;
  align-items: end;
  padding-top: 12px;
  border-top: 1px solid rgba(255,190,92,.10);
}
.point-pending-order:first-child {
  padding-top: 0;
  border-top: 0;
}
.point-pending-order span,
.point-pending-order small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.point-pending-order b {
  display: block;
  margin: 6px 0;
  color: #f6d28d;
  font-size: 18px;
}
.point-pending-order code {
  display: block;
  overflow-wrap: anywhere;
  color: var(--text);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.5;
}
.point-pending-order form {
  display: grid;
  gap: 8px;
}
.point-pending-order label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.point-pending-order input {
  width: 100%;
  min-height: 40px;
  border: 1px solid rgba(255,190,92,.16);
  border-radius: 10px;
  padding: 0 12px;
  color: var(--text);
  background: rgba(0,0,0,.18);
  font: inherit;
}
.point-quick-observe {
  display: grid;
  grid-template-columns: minmax(190px, .42fr) minmax(0, 1fr);
  gap: 14px;
  align-items: end;
}
.point-recharge-note {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
  padding: 12px 14px;
}
.points-detail-modal[hidden],
.member-tutorial-slide[hidden] {
  display: none !important;
}
.points-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483004;
  display: grid;
  place-items: center;
  padding: 22px;
}
.points-detail-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0,0,0,.66);
  cursor: pointer;
}
.points-detail-panel {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(760px, calc(100dvh - 44px));
  overflow: auto;
  padding: 18px;
  border: 1px solid rgba(238,226,205,.16);
  border-radius: 22px;
  background:
    radial-gradient(circle at 14% 0%, rgba(217,163,77,.18), transparent 32%),
    linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.02)),
    rgba(25,22,20,.96);
  box-shadow: 0 28px 90px rgba(0,0,0,.52);
}
.points-detail-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
}
.points-detail-head h2 {
  margin: 5px 0 4px;
  color: var(--text);
  font-size: 24px;
}
.points-detail-head p {
  margin: 0;
  color: var(--muted);
}
.points-detail-head button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255,255,255,.08);
  font: inherit;
  cursor: pointer;
}
.points-detail-tabs {
  display: flex;
  gap: 8px;
  margin: 16px 0 12px;
}
.points-detail-tabs button {
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(255,190,92,.16);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,.035);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.points-detail-tabs button.active {
  color: #f7d99b;
  background: rgba(255,190,92,.11);
}
.points-detail-list {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.points-detail-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 12px;
  padding: 12px;
  border: 1px solid rgba(238,226,205,.10);
  border-radius: 14px;
  background: rgba(255,255,255,.035);
}
.points-detail-list li small {
  grid-column: 1 / -1;
  color: var(--muted);
}
.points-detail-list .good {
  color: #bfe8c9;
}
.points-detail-list .negative {
  color: #f1a89a;
}
.member-tutorial-carousel {
  display: grid;
  gap: 12px;
}
.member-tutorial-slide {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(260px, 1.05fr);
  gap: 16px;
  align-items: stretch;
  min-height: 330px;
  padding: 16px;
  border: 1px solid rgba(255,190,92,.16);
  border-radius: 18px;
  background:
    radial-gradient(circle at 90% 8%, rgba(217,163,77,.16), transparent 34%),
    rgba(255,255,255,.032);
}
.member-tutorial-copy {
  display: grid;
  align-content: center;
  gap: 10px;
}
.member-tutorial-copy span {
  color: rgba(217,163,77,.78);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.member-tutorial-copy h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
}
.member-tutorial-copy p,
.member-tutorial-copy li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}
.member-tutorial-copy p,
.member-tutorial-copy ul {
  margin: 0;
}
.member-tutorial-copy ul {
  display: grid;
  gap: 5px;
  padding-left: 18px;
}
.member-tutorial-copy a {
  width: max-content;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(255,190,92,.22);
  border-radius: 999px;
  color: #f7d99b;
  background: rgba(255,190,92,.08);
  font-weight: 700;
  text-decoration: none;
}
.member-tutorial-visual {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid rgba(238,226,205,.12);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015)),
    rgba(8,10,15,.62);
}
.member-tutorial-visual i {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  color: #1c1308;
  background: #f6c56d;
  font-style: normal;
  font-weight: 800;
}
.member-tutorial-visual em,
.member-tutorial-visual strong,
.member-tutorial-visual b,
.member-tutorial-visual > span:not(.bubble) {
  position: absolute;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  color: var(--text);
  background: rgba(255,255,255,.07);
  font-style: normal;
  font-weight: 760;
}
.member-tutorial-visual.is-dashboard i { left: 24px; top: 26px; }
.member-tutorial-visual.is-dashboard b { left: 64px; top: 26px; }
.member-tutorial-visual.is-dashboard span { left: 32px; top: 82px; }
.member-tutorial-visual.is-dashboard em { left: 42px; top: 132px; color: #f6c56d; }
.member-tutorial-visual.is-dashboard strong { right: 28px; bottom: 28px; }
.member-tutorial-visual.is-dashboard::after {
  content: "";
  position: absolute;
  left: 42px;
  right: 28px;
  top: 168px;
  height: 58px;
  border: 1px solid rgba(105,152,255,.22);
  border-radius: 12px;
  background:
    linear-gradient(135deg, transparent 20%, rgba(67,135,255,.72) 21%, transparent 25%),
    rgba(9,18,34,.72);
}
.member-tutorial-visual .bubble {
  position: absolute;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  color: #fff;
  padding: 0;
}
.member-tutorial-visual .buy { left: 58px; top: 96px; background: #0e9f7b; }
.member-tutorial-visual .sell { right: 72px; top: 62px; background: #d95d56; }
.member-tutorial-visual .watch { left: 45%; bottom: 50px; background: #836b39; }
.member-tutorial-visual.is-radar i { left: 24px; top: 22px; }
.member-tutorial-visual.is-radar em { left: 62px; top: 22px; }
.member-tutorial-visual.is-radar strong { right: 24px; bottom: 24px; color: #f6c56d; }
.member-tutorial-visual.is-watch i { left: 24px; top: 26px; }
.member-tutorial-visual.is-watch b { left: 64px; top: 26px; }
.member-tutorial-visual.is-watch span { left: 54px; top: 100px; color: #f6c56d; }
.member-tutorial-visual.is-watch em { left: 54px; top: 152px; }
.member-tutorial-visual.is-community i { left: 24px; top: 28px; }
.member-tutorial-visual.is-community b { left: 64px; top: 28px; }
.member-tutorial-visual.is-community span { left: 54px; top: 98px; }
.member-tutorial-visual.is-community em { left: 54px; top: 150px; color: #f6c56d; }
.member-tutorial-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.member-tutorial-controls > button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255,190,92,.16);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255,255,255,.045);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.member-tutorial-dots {
  display: flex;
  gap: 7px;
}
.member-tutorial-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(247,242,232,.24);
  cursor: pointer;
}
.member-tutorial-dots button.active {
  width: 28px;
  background: #d9a34d;
}
.symbol-library-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.05);
}
.symbol-library-chip small {
  color: var(--muted);
  font-weight: 600;
}
.symbol-library-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  gap: 8px;
  padding: 8px;
}
.symbol-library-results {
  display: grid;
  gap: 6px;
  padding: 0 8px 8px;
}

@media (max-width: 980px) {
  .member-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .member-center-layout {
    grid-template-columns: 1fr;
  }
  .member-sidebar {
    position: static;
  }
  .member-sidebar-profile {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }
  .member-section-nav {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .member-section-nav a {
    white-space: nowrap;
  }
  .member-info-grid,
  .member-settings-grid,
  .member-dual-list,
  .member-guide-grid {
    grid-template-columns: 1fr;
  }
  .member-settings-grid {
    grid-template-areas: none;
  }
  .member-settings-grid > .email-alert-card,
  .member-settings-grid > .phone-bind-card,
  .member-settings-grid > .password-setting-card,
  .member-settings-grid > .avatar-setting-card {
    grid-area: auto;
  }
  .member-settings-grid .email-alert-form {
    width: 100%;
    min-width: 0;
  }
  .points-observe-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .member-overview {
    gap: 12px;
    margin-bottom: 12px;
  }
  .member-menu-list {
    margin-bottom: 12px;
  }
  .member-menu-row {
    min-height: 62px;
    padding: 9px 8px;
  }
  .member-menu-row b {
    font-size: 17px;
  }
  .member-overview-head {
    align-items: stretch;
    flex-direction: column;
  }
  .member-overview-head .button {
    width: 100%;
    justify-content: center;
  }
  .member-overview-person h2 {
    font-size: 26px;
  }
  .member-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .member-overview-card {
    min-height: 112px;
    padding: 12px;
  }
  .member-overview-card b {
    margin: 8px 0 4px;
    font-size: 20px;
  }
  .member-overview-card small {
    font-size: 12px;
  }
  .member-section-title {
    align-items: stretch;
    flex-direction: column;
  }
  .member-center-head {
    padding: 18px 14px;
    border-radius: 20px;
  }
  .member-section-nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    overflow: visible;
  }
  .member-section-nav a {
    justify-content: center;
    min-height: 38px;
    padding: 0 4px;
    border-radius: 12px;
    font-size: 14px;
  }
  .member-section-nav a.active {
    box-shadow: inset 0 -3px 0 rgba(255,159,28,.78);
  }
  .member-sidebar-profile {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .member-level-chip {
    grid-column: 1 / -1;
    min-width: 0;
    width: 100%;
    min-height: 42px;
    border-radius: 14px;
  }
  .member-level-mark {
    min-width: 100%;
    min-height: 48px;
    border-radius: 16px;
  }
  .points-section .member-section-title {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
  .points-section .member-section-title p {
    grid-column: 1 / -1;
  }
  .points-section .member-level-mark {
    min-width: 72px;
    width: auto;
    min-height: 42px;
    border-radius: 14px;
    font-size: 18px;
  }
  .member-stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .member-stat-grid > div {
    padding: 10px 8px;
  }
  .member-stat-grid b {
    font-size: 17px;
  }
  .avatar-modal {
    align-items: end;
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
  }
  .avatar-modal-panel {
    width: 100%;
    max-height: min(86dvh, 720px);
    border-radius: 22px;
  }
  .avatar-modal-head {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }
  .avatar-modal-head h2 {
    font-size: 22px;
  }
  .avatar-modal .avatar-choice-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    max-height: 36dvh;
  }
}

/* Option B flattening: keep structure, remove nested-card visual noise. */
.app-dashboard-shell .dashboard-command-bar {
  padding: 0 !important;
  gap: 10px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.app-dashboard-shell .dashboard-title-block,
.app-dashboard-shell .symbol-strip {
  border-radius: 16px !important;
  box-shadow: none !important;
}

.app-dashboard-shell .dashboard-chart-panel .local-kline-frame {
  height: calc(100% - 52px) !important;
  min-height: 280px !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.app-dashboard-shell .rank-list,
.app-dashboard-shell .history-digest ul {
  gap: 0 !important;
}

.app-dashboard-shell .rank-card,
.app-dashboard-shell .history-digest li.history-trade-card {
  min-height: 0 !important;
  height: auto !important;
  border-width: 0 0 1px !important;
  border-color: rgba(15,23,42,.08) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.app-dashboard-shell .rank-card {
  padding: 14px 14px 14px 18px !important;
}

.app-dashboard-shell .history-digest li.history-trade-card {
  padding: 10px 4px !important;
}

.app-dashboard-shell .rank-card.active,
.app-dashboard-shell .rank-card.active:hover,
.app-dashboard-shell .history-digest li.history-trade-card:hover {
  background: rgba(255,149,0,.07) !important;
  box-shadow: inset 3px 0 0 rgba(255,149,0,.68) !important;
  transform: none !important;
}

.app-dashboard-shell .current-detail-grid {
  gap: 0 !important;
  border-top: 1px solid rgba(15,23,42,.08);
}

.app-dashboard-shell .score-percent-card,
.app-dashboard-shell .strategy-judgement-card {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.app-dashboard-shell .strategy-judgement-card {
  border-left: 1px solid rgba(15,23,42,.08) !important;
}

.app-dashboard-shell .compact-flags li {
  border-width: 0 0 1px !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.app-dashboard-shell .metric-grid {
  gap: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 16px;
  background: rgba(255,255,255,.78);
}

.app-dashboard-shell .metric.dashboard-mini-metric {
  border-width: 0 1px 1px 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.app-member-shell .member-overview,
.app-member-shell .member-menu-list {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.app-member-shell .member-overview {
  padding: 0 !important;
}

.app-member-shell .member-overview-head {
  padding: 18px;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 18px;
  background: rgba(255,255,255,.84);
}

.app-member-shell .member-overview-grid {
  gap: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 18px;
  background: rgba(255,255,255,.76);
}

.app-member-shell .member-overview-card {
  min-height: 92px !important;
  padding: 14px !important;
  border-width: 0 1px 1px 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.app-member-shell .member-overview-card.is-points {
  background: rgba(255,149,0,.06) !important;
}

.app-member-shell .member-menu-list {
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(15,23,42,.08) !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,.78) !important;
}

.app-member-shell .member-menu-row {
  border-width: 0 0 1px !important;
  border-color: rgba(15,23,42,.08) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.app-member-shell .member-menu-row:hover,
.app-member-shell .member-menu-row:focus-visible {
  background: rgba(255,149,0,.07) !important;
}

.app-member-shell .member-sidebar {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.app-member-shell .member-section {
  box-shadow: none !important;
}

.app-member-shell .member-stat-grid,
.app-member-shell .member-info-grid,
.app-member-shell .member-settings-grid,
.app-member-shell .member-guide-grid {
  gap: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 16px;
  background: rgba(255,255,255,.66);
}

.app-member-shell .member-stat-grid > div,
.app-member-shell .member-info-grid > div,
.app-member-shell .member-settings-grid > section,
.app-member-shell .member-guide-grid a,
.app-member-shell .member-dual-list li,
.app-member-shell .member-order-list li {
  border-width: 0 1px 1px 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme="dark"] .app-dashboard-shell .metric-grid,
html[data-theme="dark"] .app-member-shell .member-overview-head,
html[data-theme="dark"] .app-member-shell .member-overview-grid,
html[data-theme="dark"] .app-member-shell .member-menu-list,
html[data-theme="dark"] .app-member-shell .member-stat-grid,
html[data-theme="dark"] .app-member-shell .member-info-grid,
html[data-theme="dark"] .app-member-shell .member-settings-grid,
html[data-theme="dark"] .app-member-shell .member-guide-grid {
  border-color: rgba(255,255,255,.08) !important;
  background: rgba(255,255,255,.04) !important;
}

html[data-theme="dark"] .app-dashboard-shell .rank-card,
html[data-theme="dark"] .app-dashboard-shell .history-digest li.history-trade-card,
html[data-theme="dark"] .app-dashboard-shell .compact-flags li,
html[data-theme="dark"] .app-member-shell .member-menu-row,
html[data-theme="dark"] .app-member-shell .member-overview-card,
html[data-theme="dark"] .app-member-shell .member-stat-grid > div,
html[data-theme="dark"] .app-member-shell .member-info-grid > div,
html[data-theme="dark"] .app-member-shell .member-settings-grid > section,
html[data-theme="dark"] .app-member-shell .member-guide-grid a,
html[data-theme="dark"] .app-member-shell .member-dual-list li,
html[data-theme="dark"] .app-member-shell .member-order-list li {
  border-color: rgba(255,255,255,.08) !important;
}

@media (max-width: 760px) {
  .app-portal > .topbar,
  .app-admin-shell > .topbar,
  .app-minimal-shell > .topbar {
    width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px) !important;
  }

  .local-kline-toolbar {
    top: 8px;
    left: 10px;
    padding: 0;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .local-kline-toolbar > button[data-kline-bucket] {
    display: none;
  }

  .local-kline-period-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 24px;
    padding: 0 10px !important;
    font-size: 11px;
    border: 1px solid var(--surface-border) !important;
    background: var(--control-bg) !important;
    box-shadow: var(--control-shadow) !important;
  }

  .local-kline-period-toggle i {
    font-style: normal;
    opacity: .7;
  }

  .local-kline-period-menu {
    position: absolute;
    top: 32px;
    left: 0;
    z-index: 12;
    display: grid;
    grid-template-columns: repeat(2, minmax(58px, 1fr));
    gap: 6px;
    min-width: 146px;
    padding: 8px;
    border: 1px solid var(--surface-border);
    border-radius: 14px;
    background: var(--panel);
    box-shadow: 0 14px 36px rgba(15,23,42,.16);
  }

  .local-kline-period-menu[hidden] {
    display: none;
  }

  .local-kline-period-menu button {
    min-height: 28px;
    padding: 0 8px !important;
    font-size: 11px;
  }

  .app-dashboard-shell .strategy-judgement-card {
    border-left: 0 !important;
    border-top: 1px solid rgba(15,23,42,.08) !important;
  }

  .app-member-shell .member-overview-head {
    padding: 14px;
  }

  .app-member-shell .member-overview-card {
    min-height: 84px !important;
  }
}
html[data-theme="dark"] .app-portal.app-member-shell .member-overview.card {
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Non-home workspace frames: square, quiet, and less card-heavy. */
.app-member-shell:not(.app-home-shell) > .topbar,
.app-portal:not(.app-home-shell) > .topbar,
.app-admin-shell > .topbar,
.app-minimal-shell > .topbar,
.app-portal:not(.app-home-shell) .page-head,
.app-portal:not(.app-home-shell) .card,
.app-portal:not(.app-home-shell) .market-card,
.app-portal:not(.app-home-shell) .analysis-panel,
.app-portal:not(.app-home-shell) .metric,
.app-portal:not(.app-home-shell) .detail-panel,
.app-portal:not(.app-home-shell) .dashboard-title-block,
.app-portal:not(.app-home-shell) .symbol-strip,
.app-portal:not(.app-home-shell) .dashboard-chart-panel,
.app-portal:not(.app-home-shell) .local-kline-frame,
.app-portal:not(.app-home-shell) .rank-panel,
.app-portal:not(.app-home-shell) .market-sentiment-card,
.app-portal:not(.app-home-shell) .history-digest,
.app-portal:not(.app-home-shell) .scan-countdown-card,
.app-portal:not(.app-home-shell) .metric-grid,
.app-portal:not(.app-home-shell) .community-market-head,
.app-portal:not(.app-home-shell) .community-chart-card,
.app-portal:not(.app-home-shell) .community-score-head,
.app-portal:not(.app-home-shell) .community-score-empty,
.app-portal:not(.app-home-shell) .community-status-line,
.app-portal:not(.app-home-shell) .community-chat-panel,
.app-portal:not(.app-home-shell) .community-chat-head,
.app-portal:not(.app-home-shell) .chat-system-card,
.app-portal:not(.app-home-shell) .member-overview-head,
.app-portal:not(.app-home-shell) .member-overview-grid,
.app-portal:not(.app-home-shell) .member-menu-list,
.app-portal:not(.app-home-shell) .member-sidebar,
.app-portal:not(.app-home-shell) .member-section,
.app-portal:not(.app-home-shell) .member-stat-grid,
.app-portal:not(.app-home-shell) .member-info-grid,
.app-portal:not(.app-home-shell) .member-settings-grid,
.app-portal:not(.app-home-shell) .member-guide-grid,
.app-portal:not(.app-home-shell) .radar-hero,
.app-portal:not(.app-home-shell) .radar-left-rail,
.app-portal:not(.app-home-shell) .radar-results-card,
.app-portal:not(.app-home-shell) .radar-chart-card,
.app-portal:not(.app-home-shell) .radar-scan-card,
.app-portal:not(.app-home-shell) .radar-vote-board,
.app-portal:not(.app-home-shell) .radar-funding-panel,
.app-portal:not(.app-home-shell) .radar-detail-grid p {
  border-radius: 0 !important;
}

.app-portal:not(.app-home-shell) .page-head,
.app-portal:not(.app-home-shell) .card,
.app-portal:not(.app-home-shell) .market-card,
.app-portal:not(.app-home-shell) .analysis-panel,
.app-portal:not(.app-home-shell) .metric,
.app-portal:not(.app-home-shell) .detail-panel,
.app-portal:not(.app-home-shell) .dashboard-title-block,
.app-portal:not(.app-home-shell) .symbol-strip,
.app-portal:not(.app-home-shell) .dashboard-chart-panel,
.app-portal:not(.app-home-shell) .local-kline-frame,
.app-portal:not(.app-home-shell) .community-chart-card,
.app-portal:not(.app-home-shell) .rank-panel,
.app-portal:not(.app-home-shell) .market-sentiment-card,
.app-portal:not(.app-home-shell) .history-digest,
.app-portal:not(.app-home-shell) .scan-countdown-card,
.app-portal:not(.app-home-shell) .community-market-head,
.app-portal:not(.app-home-shell) .community-score-head,
.app-portal:not(.app-home-shell) .community-score-empty,
.app-portal:not(.app-home-shell) .community-status-line,
.app-portal:not(.app-home-shell) .community-chat-panel,
.app-portal:not(.app-home-shell) .community-chat-head,
.app-portal:not(.app-home-shell) .chat-system-card,
.app-portal:not(.app-home-shell) .member-overview-head,
.app-portal:not(.app-home-shell) .member-overview-grid,
.app-portal:not(.app-home-shell) .member-menu-list,
.app-portal:not(.app-home-shell) .member-sidebar,
.app-portal:not(.app-home-shell) .member-section,
.app-portal:not(.app-home-shell) .radar-hero,
.app-portal:not(.app-home-shell) .radar-left-rail,
.app-portal:not(.app-home-shell) .radar-results-card,
.app-portal:not(.app-home-shell) .radar-chart-card,
.app-portal:not(.app-home-shell) .radar-scan-card,
.app-portal:not(.app-home-shell) .radar-vote-board,
.app-portal:not(.app-home-shell) .radar-funding-panel {
  box-shadow: none !important;
}

html[data-theme="dark"] .app-portal:not(.app-home-shell) .dashboard-title-block,
html[data-theme="dark"] .app-portal:not(.app-home-shell) .symbol-strip,
html[data-theme="dark"] .app-portal:not(.app-home-shell) .community-market-head,
html[data-theme="dark"] .app-portal:not(.app-home-shell) .community-chat-panel,
html[data-theme="dark"] .app-portal:not(.app-home-shell) .community-chat-head,
html[data-theme="dark"] .app-portal:not(.app-home-shell) .community-score-head,
html[data-theme="dark"] .app-portal:not(.app-home-shell) .community-score-empty,
html[data-theme="dark"] .app-portal:not(.app-home-shell) .community-status-line {
  border-color: rgba(255,255,255,.10) !important;
}

html[data-theme="dark"] .app-member-shell:not(.app-home-shell) > .topbar,
html[data-theme="dark"] .app-portal:not(.app-home-shell) > .topbar,
html[data-theme="dark"] .app-admin-shell > .topbar,
html[data-theme="dark"] .app-minimal-shell > .topbar {
  border-color: rgba(255,255,255,.10) !important;
  background: rgba(14,14,16,.88) !important;
  box-shadow: none !important;
}

.app-portal:not(.app-home-shell) .community-chart-card {
  padding: 0 !important;
}

.app-radar-shell .radar-chart-wrap {
  border-radius: 0 !important;
}

.app-radar-shell .radar-chart-wrap .local-kline-frame {
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.app-radar-shell .radar-chart-wrap .local-kline-canvas {
  width: 100%;
  height: 100% !important;
  min-height: 0;
}

.app-radar-shell .radar-chart-wrap .local-kline-canvas canvas {
  width: 100% !important;
  height: 100% !important;
  opacity: 1 !important;
}

.app-radar-shell .radar-chart-card.is-chart-error .local-kline-frame {
  opacity: .12;
}

/* Subpage typography system. Home keeps its own display style. */
.app-portal:not(.app-home-shell),
.app-admin-shell,
.app-minimal-shell {
  --font-main: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --type-h1: 32px;
  --type-subtitle: 14px;
  --type-h2: 20px;
  --type-h3: 15px;
  --type-body: 14px;
  --type-small: 12px;
  --type-nav: 13px;
  --type-control: 13px;
  --type-row: 13px;
  --type-number-lg: 32px;
  --type-number-md: 22px;
  --type-number-sm: 12px;
  font-family: var(--font-main) !important;
  font-size: var(--type-body);
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

.app-portal:not(.app-home-shell) *,
.app-admin-shell *,
.app-minimal-shell * {
  font-family: inherit !important;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0 !important;
}

.app-portal:not(.app-home-shell) h1,
.app-portal:not(.app-home-shell) .page-head h1,
.app-portal:not(.app-home-shell) .dashboard-title-block h1,
.app-portal:not(.app-home-shell) .community-market-head h1,
.app-portal:not(.app-home-shell) .member-overview-person h2,
.app-portal:not(.app-home-shell) .radar-hero h1,
.app-admin-shell h1,
.app-admin-shell .page-head h1,
.app-minimal-shell h1,
.app-minimal-shell .page-head h1 {
  font-family: var(--font-main) !important;
  font-size: var(--type-h1) !important;
  line-height: 1.2 !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}

.app-portal:not(.app-home-shell) .page-head p,
.app-portal:not(.app-home-shell) .dashboard-title-block p,
.app-portal:not(.app-home-shell) .member-overview-person p,
.app-portal:not(.app-home-shell) .community-status-line,
.app-portal:not(.app-home-shell) .muted,
.app-portal:not(.app-home-shell) .muted-text,
.app-admin-shell .page-head p,
.app-minimal-shell .page-head p {
  font-size: var(--type-subtitle) !important;
  line-height: 1.55 !important;
  font-weight: 400 !important;
}

.app-portal:not(.app-home-shell) h2,
.app-portal:not(.app-home-shell) .card h2,
.app-portal:not(.app-home-shell) .section-head h2,
.app-portal:not(.app-home-shell) .detail-header h2,
.app-portal:not(.app-home-shell) .member-section h2,
.app-portal:not(.app-home-shell) .community-chat-head h2,
.app-portal:not(.app-home-shell) .community-score-head h2,
.app-admin-shell h2,
.app-admin-shell .card h2,
.app-minimal-shell h2,
.app-minimal-shell .card h2 {
  font-family: var(--font-main) !important;
  font-size: var(--type-h2) !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

.app-portal:not(.app-home-shell) h3,
.app-portal:not(.app-home-shell) .card h3,
.app-portal:not(.app-home-shell) .screen-top b,
.app-portal:not(.app-home-shell) .member-section h3,
.app-portal:not(.app-home-shell) .strategy-judgement-card h3,
.app-portal:not(.app-home-shell) .chat-bubble b,
.app-admin-shell h3,
.app-admin-shell .card h3,
.app-minimal-shell h3,
.app-minimal-shell .card h3 {
  font-family: var(--font-main) !important;
  font-size: var(--type-h3) !important;
  line-height: 1.45 !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

.app-portal:not(.app-home-shell) p,
.app-portal:not(.app-home-shell) li,
.app-portal:not(.app-home-shell) td,
.app-portal:not(.app-home-shell) input,
.app-portal:not(.app-home-shell) textarea,
.app-portal:not(.app-home-shell) select,
.app-portal:not(.app-home-shell) .chat-bubble,
.app-portal:not(.app-home-shell) .analysis-list div,
.app-admin-shell p,
.app-admin-shell li,
.app-admin-shell td,
.app-admin-shell input,
.app-admin-shell textarea,
.app-admin-shell select,
.app-minimal-shell p,
.app-minimal-shell li,
.app-minimal-shell td,
.app-minimal-shell input,
.app-minimal-shell textarea,
.app-minimal-shell select {
  font-size: var(--type-body) !important;
  line-height: 1.6 !important;
}

.app-portal:not(.app-home-shell) small,
.app-portal:not(.app-home-shell) time,
.app-portal:not(.app-home-shell) th,
.app-portal:not(.app-home-shell) label,
.app-portal:not(.app-home-shell) .eyebrow,
.app-portal:not(.app-home-shell) .symbol-cell small,
.app-portal:not(.app-home-shell) .score-cell small,
.app-portal:not(.app-home-shell) .rank-card small,
.app-portal:not(.app-home-shell) .member-overview-card span,
.app-portal:not(.app-home-shell) .member-overview-card small,
.app-admin-shell small,
.app-admin-shell th,
.app-admin-shell label,
.app-minimal-shell small,
.app-minimal-shell th,
.app-minimal-shell label {
  font-size: var(--type-small) !important;
  line-height: 1.5 !important;
  font-weight: 400 !important;
}

.app-portal:not(.app-home-shell) .nav-links a,
.app-portal:not(.app-home-shell) .nav-links button,
.app-portal:not(.app-home-shell) .nav-account-link,
.app-portal:not(.app-home-shell) .mobile-bottom-nav a,
.app-admin-shell .nav-links a,
.app-admin-shell .nav-links button,
.app-admin-shell .nav-account-link,
.app-minimal-shell .nav-links a,
.app-minimal-shell .nav-links button,
.app-minimal-shell .nav-account-link {
  font-family: var(--font-main) !important;
  font-size: var(--type-nav) !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}

.app-portal:not(.app-home-shell) .button,
.app-portal:not(.app-home-shell) button:not(.chart-signal-dot):not(.chart-popover-close):not(.radar-hit-card):not(.radar-bubble):not(.radar-watch-bubble):not(.radar-focus-action-button),
.app-portal:not(.app-home-shell) .symbol-tab,
.app-portal:not(.app-home-shell) .community-symbol-tab,
.app-portal:not(.app-home-shell) .local-kline-toolbar button,
.app-admin-shell .button,
.app-admin-shell button,
.app-minimal-shell .button,
.app-minimal-shell button {
  font-size: var(--type-control) !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
}

.app-portal:not(.app-home-shell) table,
.app-portal:not(.app-home-shell) .rank-card,
.app-portal:not(.app-home-shell) .history-digest li,
.app-portal:not(.app-home-shell) .community-symbol-tab,
.app-portal:not(.app-home-shell) .asset-main,
.app-admin-shell table,
.app-admin-shell tr,
.app-minimal-shell table,
.app-minimal-shell tr {
  font-size: var(--type-row) !important;
  line-height: 1.45 !important;
}

.app-portal:not(.app-home-shell) .detail-score b,
.app-portal:not(.app-home-shell) .metric b,
.app-portal:not(.app-home-shell) .dashboard-mini-metric b,
.app-portal:not(.app-home-shell) .member-overview-card b,
.app-portal:not(.app-home-shell) .score-percent-card > b,
.app-portal:not(.app-home-shell) .pricing-band .price,
.app-admin-shell .metric b,
.app-minimal-shell .metric b {
  font-size: var(--type-number-lg) !important;
  line-height: 1.15 !important;
  font-weight: 600 !important;
}

.app-portal:not(.app-home-shell) .rank-card > b,
.app-portal:not(.app-home-shell) .score-cell b,
.app-portal:not(.app-home-shell) .symbol-cell b,
.app-portal:not(.app-home-shell) .breakdown-row strong,
.app-portal:not(.app-home-shell) .community-score-grid b,
.app-admin-shell .score-cell b,
.app-minimal-shell .score-cell b {
  font-size: var(--type-number-md) !important;
  line-height: 1.2 !important;
  font-weight: 600 !important;
}

.app-portal:not(.app-home-shell) .rank-cell,
.app-portal:not(.app-home-shell) .sub-score small,
.app-portal:not(.app-home-shell) .local-kline-tooltip small,
.app-portal:not(.app-home-shell) .local-kline-axis span,
.app-portal:not(.app-home-shell) .local-kline-timebar,
.app-admin-shell .rank-cell,
.app-minimal-shell .rank-cell {
  font-size: var(--type-number-sm) !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
}

@media (max-width: 760px) {
  .app-portal:not(.app-home-shell),
  .app-admin-shell,
  .app-minimal-shell {
    --type-h1: 26px;
    --type-subtitle: 13px;
    --type-h2: 18px;
    --type-h3: 14px;
    --type-body: 14px;
    --type-small: 12px;
    --type-nav: 12px;
    --type-control: 13px;
    --type-row: 13px;
    --type-number-lg: 28px;
    --type-number-md: 20px;
    --type-number-sm: 12px;
  }
}

@media (min-width: 1181px) {
  .app-community-shell .community-market-shell {
    align-items: stretch !important;
  }

  .app-community-shell .community-market-main {
    height: 100% !important;
  }
}

/* Profile page: ValueScan-like member center layout and home-aligned palette. */
.app-profile-shell {
  --vs-bg: #121722;
  --vs-panel: #171c28;
  --vs-panel-soft: #1d2432;
  --vs-field: #222837;
  --vs-border: rgba(148, 163, 184, .17);
  --vs-line: rgba(148, 163, 184, .12);
  --vs-text: #f4f7ff;
  --vs-muted: #7d889d;
  --vs-blue: #3f72ff;
  --vs-blue-soft: rgba(63, 114, 255, .18);
  --vs-gold: #ff9f1c;
  width: min(1120px, calc(100% - 32px)) !important;
  max-width: 1120px !important;
  min-height: 100dvh;
  margin-inline: auto !important;
  padding: 86px 0 80px !important;
  color: var(--vs-text) !important;
}

body:has(.app-profile-shell) {
  background: #121722 !important;
}

body:has(.app-profile-shell)::before {
  display: none !important;
}

.app-profile-shell > .topbar {
  border-color: var(--vs-border) !important;
  background: rgba(18, 23, 34, .92) !important;
  box-shadow: none !important;
}

.app-profile-shell .member-center-head,
.app-profile-shell .member-menu-list {
  display: none !important;
}

.app-profile-shell .member-center-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 860px);
  gap: 14px;
  align-items: start;
  width: min(1120px, 100%);
  max-width: 1120px;
  margin: 0 auto;
}

.app-profile-shell .member-sidebar {
  position: sticky;
  top: 78px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: calc(100dvh - 126px);
  padding: 0 !important;
  border: 1px solid var(--vs-border) !important;
  background: var(--vs-panel) !important;
  box-shadow: none !important;
}

.app-profile-shell .member-sidebar-profile {
  display: grid !important;
  gap: 13px;
  padding: 18px !important;
  text-align: left;
  border-bottom: 1px solid var(--vs-line);
}

.app-profile-shell .member-sidebar-id span {
  display: block;
  color: var(--vs-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.app-profile-shell .member-sidebar-id b {
  display: block;
  margin-top: 2px;
  color: var(--vs-text);
  font-size: 18px;
  line-height: 1.3;
  font-weight: 720;
}

.app-profile-shell .member-sidebar-id small {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  width: max-content;
  max-width: 100%;
  margin-top: 3px;
  padding: 0 8px;
  border: 1px solid var(--vs-border);
  border-radius: 999px;
  background: var(--vs-panel-soft);
  color: var(--vs-muted);
  font-size: 12px;
  font-weight: 600;
}

.app-profile-shell .member-level-chip {
  min-width: 0;
  width: auto !important;
  min-height: 24px;
  padding: 0 8px;
  border: 0;
  background: rgba(255, 159, 28, .15);
  color: var(--vs-gold);
  font-size: 12px;
  font-weight: 600;
}

.app-profile-shell .member-section-nav {
  display: grid;
  gap: 0;
  padding: 22px 14px;
  border-top: 0;
}

.app-profile-shell .member-section-nav a {
  min-height: 44px;
  justify-content: flex-start;
  padding: 0 14px;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--vs-text);
  font-size: 14px !important;
  font-weight: 700 !important;
}

.app-profile-shell .member-section-nav a:hover,
.app-profile-shell .member-section-nav a:focus-visible {
  background: var(--vs-panel-soft) !important;
  color: var(--vs-text) !important;
}

.app-profile-shell .member-section-nav a.active {
  background: var(--vs-blue-soft) !important;
  color: var(--vs-blue) !important;
}

.app-profile-shell .profile-logout-form {
  padding: 14px;
  border-top: 1px solid var(--vs-line);
}

.app-profile-shell .profile-logout-form button {
  width: 100%;
  min-height: 42px;
  justify-content: flex-start;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--vs-text) !important;
  box-shadow: none !important;
}

.app-profile-shell .member-center-main {
  display: block;
  min-width: 0;
}

.app-profile-shell #profile.member-section {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible;
}

.valuescan-profile-panel {
  margin: 0 0 12px;
  padding: 18px;
  border: 1px solid var(--vs-border);
  background: var(--vs-panel);
  color: var(--vs-text);
  box-shadow: none;
}

.valuescan-panel-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.valuescan-panel-title h2 {
  margin: 0;
  font-size: 20px !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
}

.valuescan-panel-icon {
  color: var(--vs-blue);
  font-size: 18px;
  line-height: 1;
}

.wealth-fortune-panel {
  position: relative;
  overflow: hidden;
  scroll-margin-top: 92px;
  border-color: rgba(255,190,92,.26);
  background:
    radial-gradient(circle at 78% 18%, rgba(255,213,139,.16), transparent 32%),
    linear-gradient(145deg, rgba(255,159,28,.10), rgba(255,255,255,.02)),
    var(--vs-panel);
}

.wealth-fortune-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px;
  padding: 16px;
  border: 1px solid rgba(255,190,92,.18);
  background: rgba(255,159,28,.055);
}

.wealth-fortune-body span,
.wealth-fortune-meta span {
  color: var(--vs-muted);
  font-size: 12px;
  font-weight: 700;
}

.wealth-fortune-body b {
  display: block;
  margin: 8px 0;
  color: var(--vs-text);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: 0;
}

.wealth-fortune-body small,
.wealth-fortune-meta em {
  color: var(--vs-muted);
  font-size: 13px;
  line-height: 1.55;
  font-style: normal;
}

.wealth-fortune-body strong {
  color: #ffd58b;
  font-size: clamp(38px, 6vw, 68px);
  line-height: .86;
  letter-spacing: -.04em;
}

.wealth-fortune-body.is-locked {
  align-items: center;
  background:
    linear-gradient(105deg, rgba(255,190,92,.105), rgba(255,255,255,.026) 58%),
    rgba(255,159,28,.035);
}

.wealth-fortune-body.is-locked strong {
  align-self: center;
  min-width: 96px;
  padding: 10px 14px;
  border: 1px solid rgba(255,190,92,.22);
  border-radius: 999px;
  background: rgba(255,190,92,.075);
  color: #f6d28d;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  white-space: nowrap;
}

.wealth-fortune-meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
}

.wealth-fortune-form {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(92px, .5fr) minmax(120px, .7fr) auto;
  gap: 10px;
  align-items: end;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(255,190,92,.16);
  background: rgba(255,255,255,.035);
}

.wealth-fortune-form label {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: var(--vs-muted);
  font-size: 12px;
  font-weight: 700;
}

.wealth-fortune-form input,
.wealth-fortune-form select {
  min-width: 0;
}

.wealth-fortune-form.is-locked-setup {
  border-color: rgba(255,190,92,.20);
  background:
    linear-gradient(145deg, rgba(255,190,92,.08), rgba(255,255,255,.026)),
    rgba(12,10,8,.24);
}

.wealth-fortune-form[hidden] {
  display: none !important;
}

.wealth-fortune-panel.is-started .wealth-fortune-gate {
  display: none;
}

.wealth-fortune-setup-head {
  display: grid;
  grid-column: 1 / -1;
  gap: 6px;
  padding-bottom: 4px;
}

.wealth-fortune-setup-head span {
  color: rgba(255,196,95,.74);
  font-size: 11px;
  font-weight: 820;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.wealth-fortune-setup-head b {
  color: #fff3d4;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.15;
  letter-spacing: 0;
}

.wealth-fortune-setup-head small {
  color: rgba(247,242,232,.62);
  font-size: 13px;
  line-height: 1.55;
}

.wealth-fortune-report {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.wealth-fortune-report > div,
.wealth-fortune-tags > div,
.wealth-fortune-days section {
  border: 1px solid rgba(255,190,92,.14);
  background: rgba(255,255,255,.032);
}

.wealth-fortune-report > div {
  min-height: 112px;
  padding: 14px;
}

.wealth-fortune-report span,
.wealth-fortune-tags span {
  display: block;
  color: var(--vs-muted);
  font-size: 12px;
  font-weight: 700;
}

.wealth-fortune-report b {
  display: block;
  margin: 8px 0 6px;
  color: #f6d28d;
  font-size: 18px;
  line-height: 1.25;
}

.wealth-fortune-report small {
  color: rgba(247,242,232,.66);
  font-size: 12px;
  line-height: 1.5;
}

.wealth-fortune-detail-drawer {
  margin-top: 12px;
  border: 1px solid rgba(255,190,92,.15);
  background:
    linear-gradient(145deg, rgba(255,190,92,.058), rgba(255,255,255,.014)),
    rgba(12,10,8,.20);
}

.wealth-fortune-detail-drawer summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 58px;
  padding: 0 16px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.wealth-fortune-detail-drawer summary::-webkit-details-marker {
  display: none;
}

.wealth-fortune-detail-drawer summary span {
  color: rgba(247,242,232,.62);
  font-size: 12px;
  font-weight: 780;
}

.wealth-fortune-detail-drawer summary b {
  margin-left: auto;
  color: #f7d99b;
  font-size: 13px;
  line-height: 1.35;
  text-align: right;
}

.wealth-fortune-detail-drawer summary::after {
  content: "展开";
  flex: 0 0 auto;
  min-width: 46px;
  min-height: 28px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255,190,92,.18);
  color: #22180a;
  background: linear-gradient(135deg, #efd083, #d99d45);
  font-size: 12px;
  font-weight: 820;
}

.wealth-fortune-detail-drawer[open] summary {
  border-bottom: 1px solid rgba(255,190,92,.12);
}

.wealth-fortune-detail-drawer[open] summary::after {
  content: "收起";
  color: #f7d99b;
  background: rgba(255,190,92,.07);
}

.wealth-fortune-detail-drawer .wealth-fortune-report {
  margin: 12px 14px 0;
}

.wealth-fortune-detail-drawer .wealth-fortune-guidance {
  margin: 10px 14px 14px;
}

.wealth-fortune-tags {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.wealth-fortune-tags > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  min-height: 54px;
  padding: 12px 14px;
}

.wealth-fortune-tags span:first-child {
  width: 44px;
}

.wealth-fortune-tags span:not(:first-child) {
  display: inline-flex;
  width: auto;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(255,190,92,.16);
  color: #f3d69f;
  background: rgba(255,190,92,.07);
}

.wealth-fortune-days {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.wealth-fortune-days section {
  padding: 14px;
}

.wealth-fortune-days h3 {
  margin: 0 0 10px;
  color: var(--vs-text);
  font-size: 15px;
}

.wealth-fortune-days ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wealth-day-item,
.wealth-day-empty {
  display: grid;
  gap: 5px;
  min-height: 70px;
  padding: 12px;
  border: 1px solid rgba(238,226,205,.10);
  background: rgba(12,10,8,.28);
}

.wealth-day-item time {
  color: rgba(247,242,232,.58);
  font-size: 12px;
  font-weight: 700;
}

.wealth-day-item b {
  color: #f7d99b;
  font-size: 15px;
}

.wealth-month-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.wealth-month-tags em {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid rgba(255,190,92,.16);
  color: rgba(255,213,139,.92);
  background: rgba(255,190,92,.06);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.wealth-day-item strong {
  color: #ffd58b;
  font-size: 13px;
  line-height: 1.45;
}

.wealth-day-item.is-month {
  background: linear-gradient(145deg, rgba(255,190,92,.09), rgba(255,255,255,.025));
}

.wealth-day-item span,
.wealth-day-item small,
.wealth-day-empty {
  color: rgba(247,242,232,.68);
  font-size: 12px;
  line-height: 1.5;
}

.wealth-day-item.is-high {
  border-color: rgba(255,190,92,.18);
}

.wealth-day-item.is-medium {
  border-color: rgba(255,190,92,.18);
}

.wealth-day-item.is-good {
  border-color: rgba(255,190,92,.18);
}

.wealth-daily-almanac {
  display: grid;
  gap: 14px;
  margin-top: 12px;
  padding: 16px;
  border: 1px solid rgba(255,190,92,.15);
  background:
    radial-gradient(circle at 18% 12%, rgba(255,213,139,.11), transparent 32%),
    linear-gradient(145deg, rgba(255,190,92,.072), rgba(255,255,255,.018)),
    rgba(12,10,8,.24);
}

.wealth-daily-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
}

.wealth-daily-head div {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.wealth-daily-head span,
.wealth-daily-month-head span,
.wealth-daily-result > span,
.wealth-daily-reading > span,
.wealth-daily-reading-title span,
.wealth-daily-advice span {
  color: rgba(247,242,232,.58);
  font-size: 12px;
  font-weight: 760;
}

.wealth-daily-head h3 {
  margin: 0;
  color: #ffe0a0;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.15;
}

.wealth-daily-head p {
  margin: 0;
  color: rgba(247,242,232,.66);
  font-size: 13px;
  line-height: 1.6;
}

.wealth-daily-head > b {
  flex: 0 0 auto;
  color: #f7d99b;
  font-size: 15px;
  white-space: nowrap;
}

.wealth-daily-layout {
  display: grid;
  gap: 12px;
  align-items: start;
}

.wealth-daily-month,
.wealth-daily-reading {
  min-width: 0;
  border: 1px solid rgba(255,190,92,.13);
  background: rgba(255,255,255,.026);
}

.wealth-daily-month {
  display: grid;
  gap: 10px;
  padding: 14px;
  overflow: hidden;
}

.wealth-daily-month-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.wealth-daily-month-head b {
  color: #f6d28d;
  font-size: 14px;
}

.wealth-daily-reel-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,190,92,.10);
  background:
    radial-gradient(circle at 50% 45%, rgba(255,190,92,.10), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.026), rgba(255,255,255,.010)),
    rgba(7,6,5,.30);
}

.wealth-daily-reel-frame::before,
.wealth-daily-reel-frame::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 86px;
  z-index: 8;
  pointer-events: none;
}

.wealth-daily-reel-frame::before {
  left: 0;
  background: linear-gradient(90deg, rgba(10,8,7,.92), rgba(10,8,7,.36) 54%, transparent);
}

.wealth-daily-reel-frame::after {
  right: 0;
  background: linear-gradient(270deg, rgba(10,8,7,.92), rgba(10,8,7,.36) 54%, transparent);
}

.wealth-daily-reel {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 116px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  border: 0;
  background: transparent;
  scroll-behavior: auto;
}

.wealth-daily-reel::-webkit-scrollbar {
  display: none;
}

.wealth-daily-reel::before,
.wealth-daily-reel::after {
  display: none;
}

.wealth-daily-reel::before {
  left: 0;
  background: linear-gradient(90deg, rgba(10,8,7,.88), transparent);
}

.wealth-daily-reel::after {
  right: 0;
  background: linear-gradient(270deg, rgba(10,8,7,.88), transparent);
}

.wealth-daily-reel-window {
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 168px;
  height: 92px;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
  border: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(255,213,139,.22), rgba(255,190,92,.10) 42%, transparent 72%);
  box-shadow: none;
  filter: blur(1px);
}

.wealth-daily-reel-window span {
  margin-top: 8px;
  color: rgba(255,224,160,.72);
  font-size: 10px;
  font-weight: 860;
  letter-spacing: 0;
}

.wealth-daily-reel-track {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 10px;
  align-items: center;
  width: max-content;
  padding: 0 calc(50% - 44px);
}

.wealth-daily-day {
  position: relative;
  flex: 0 0 78px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  min-width: 0;
  min-height: 76px;
  padding: 8px 4px;
  border: 1px solid rgba(238,226,205,.09);
  color: rgba(247,242,232,.72);
  background:
    linear-gradient(180deg, rgba(255,255,255,.032), rgba(255,255,255,.012)),
    rgba(12,10,8,.42);
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, background .16s ease, color .16s ease, box-shadow .16s ease;
}

.wealth-daily-day span {
  color: inherit;
  font-size: 18px;
  font-weight: 820;
  line-height: 1;
}

.wealth-daily-day small {
  color: rgba(247,242,232,.48);
  font-size: 10px;
  font-weight: 720;
  line-height: 1;
}

.wealth-daily-day:hover,
.wealth-daily-day:focus-visible {
  border-color: rgba(255,190,92,.32);
  color: #ffe0a0;
  outline: none;
}

.wealth-daily-day.is-active {
  z-index: 5;
  border-color: rgba(255,213,139,.62);
  color: #211608;
  background: linear-gradient(135deg, #ffe0a0, #d99d45);
  transform: none;
  box-shadow: none;
}

.wealth-daily-day.is-active small {
  color: rgba(35,22,8,.72);
}

.wealth-daily-day.is-today:not(.is-active) {
  border-color: rgba(255,213,139,.32);
  color: #f7d99b;
}

.wealth-daily-day.is-caution:not(.is-active) {
  border-color: rgba(208,115,95,.20);
}

.wealth-daily-day.is-entry:not(.is-active) {
  border-color: rgba(232,205,143,.24);
}

.wealth-daily-day.is-future {
  cursor: not-allowed;
  opacity: .38;
}

.wealth-daily-result {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 13px 15px;
  border: 1px solid rgba(255,190,92,.13);
  background:
    radial-gradient(circle at 54% 50%, rgba(255,213,139,.10), transparent 30%),
    linear-gradient(145deg, rgba(255,190,92,.052), rgba(255,255,255,.018)),
    rgba(12,10,8,.28);
  overflow: hidden;
  transition: opacity .26s ease, transform .26s ease, max-height .32s ease, padding .26s ease, border-color .26s ease;
}

.wealth-daily-almanac.is-enhanced .wealth-daily-result {
  max-height: 0;
  opacity: 0;
  transform: translateY(8px);
  padding-top: 0;
  padding-bottom: 0;
  border-color: rgba(255,190,92,0);
}

.wealth-daily-almanac.is-enhanced.is-status-visible .wealth-daily-result {
  max-height: 96px;
  opacity: 1;
  transform: translateY(0);
  padding-top: 12px;
  padding-bottom: 12px;
  border-color: rgba(255,190,92,.13);
}

.wealth-daily-status-slot {
  position: relative;
  width: 62px;
  min-width: 62px;
  height: 54px;
  overflow: hidden;
  border: 1px solid rgba(255,213,139,.20);
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)),
    rgba(8,7,5,.42);
  box-shadow: inset 0 14px 26px rgba(0,0,0,.24);
}

.wealth-daily-status-slot::before,
.wealth-daily-status-slot::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 16px;
  z-index: 2;
  pointer-events: none;
}

.wealth-daily-status-slot::before {
  top: 0;
  background: linear-gradient(180deg, rgba(10,8,7,.88), transparent);
}

.wealth-daily-status-slot::after {
  bottom: 0;
  background: linear-gradient(0deg, rgba(10,8,7,.88), transparent);
}

.wealth-daily-status-track {
  display: grid;
  transform: translate3d(0,0,0);
  will-change: transform;
}

.wealth-daily-status-track b {
  display: grid;
  place-items: center;
  height: 54px;
  color: #ffe0a0;
  font-size: 30px;
  font-weight: 920;
  line-height: 1;
  text-shadow: 0 0 20px rgba(255,213,139,.20);
}

.wealth-daily-status-track b.is-good {
  color: #dff6b1;
  text-shadow: 0 0 22px rgba(170,230,124,.26);
}

.wealth-daily-status-track b.is-risk {
  color: #ffb3a7;
  text-shadow: 0 0 22px rgba(208,115,95,.22);
}

.wealth-daily-result > small {
  min-width: 0;
  color: rgba(247,242,232,.58);
  font-size: 12px;
  line-height: 1.45;
}

.wealth-daily-result.is-good {
  border-color: rgba(170,230,124,.20);
}

.wealth-daily-result.is-risk {
  border-color: rgba(208,115,95,.24);
}

.wealth-daily-result.is-steady {
  border-color: rgba(255,213,139,.18);
}

.wealth-daily-result.is-spinning .wealth-daily-status-slot {
  border-color: rgba(255,213,139,.42);
  box-shadow:
    0 0 28px rgba(255,213,139,.14),
    inset 0 14px 26px rgba(0,0,0,.24);
}

.wealth-daily-reading {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 16px;
  background:
    linear-gradient(145deg, rgba(255,190,92,.055), rgba(255,255,255,.018)),
    rgba(12,10,8,.30);
  overflow: hidden;
  transition: opacity .28s ease, transform .28s ease, max-height .34s ease, padding .28s ease, border-color .28s ease;
}

.wealth-daily-almanac.is-enhanced .wealth-daily-reading {
  max-height: 0;
  opacity: 0;
  transform: translateY(10px);
  padding-top: 0;
  padding-bottom: 0;
  border-color: rgba(255,190,92,0);
}

.wealth-daily-almanac.is-enhanced.is-revealed .wealth-daily-reading {
  max-height: 560px;
  opacity: 1;
  transform: translateY(0);
  padding-top: 16px;
  padding-bottom: 16px;
  border-color: rgba(255,190,92,.13);
}

.wealth-daily-almanac.is-spinning .wealth-daily-reel-window {
  opacity: 1;
}

.wealth-daily-almanac.is-reveal-pending .wealth-daily-reel-window {
  animation: wealthDailyCenterPulse 1.4s ease-in-out infinite;
}

.wealth-daily-almanac.is-date-spinning .wealth-daily-reel-window {
  opacity: 1;
  animation: wealthDailyCenterPulse .7s ease-in-out infinite;
}

.wealth-daily-reading.is-entry {
  border-color: rgba(232,205,143,.26);
}

.wealth-daily-reading.is-caution {
  border-color: rgba(208,115,95,.26);
}

.wealth-daily-reading.is-study,
.wealth-daily-reading.is-rule,
.wealth-daily-reading.is-steady {
  border-color: rgba(255,190,92,.20);
}

.wealth-daily-almanac.is-enhanced.is-revealed .wealth-daily-reading.is-entry {
  border-color: rgba(232,205,143,.26);
}

.wealth-daily-almanac.is-enhanced.is-revealed .wealth-daily-reading.is-caution {
  border-color: rgba(208,115,95,.26);
}

.wealth-daily-almanac.is-enhanced.is-revealed .wealth-daily-reading.is-study,
.wealth-daily-almanac.is-enhanced.is-revealed .wealth-daily-reading.is-rule,
.wealth-daily-almanac.is-enhanced.is-revealed .wealth-daily-reading.is-steady {
  border-color: rgba(255,190,92,.20);
}

.wealth-daily-reading-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
}

.wealth-daily-reading-title > div {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.wealth-daily-reading-title b {
  min-width: 0;
  color: #ffe0a0;
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1.05;
}

.wealth-daily-reading-title strong {
  flex: 0 0 auto;
  color: #fff0c4;
  font-size: clamp(40px, 5vw, 70px);
  line-height: .85;
  text-shadow: 0 0 28px rgba(255,213,139,.22);
}

.wealth-daily-reading p {
  margin: 0;
  color: rgba(247,242,232,.76);
  font-size: 14px;
  line-height: 1.72;
}

.wealth-daily-advice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.wealth-daily-advice > div {
  min-width: 0;
  padding: 0 0 0 12px;
  border-left: 1px solid rgba(255,190,92,.18);
  background: transparent;
}

.wealth-daily-advice ul {
  display: grid;
  gap: 6px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.wealth-daily-advice li {
  color: rgba(255,224,160,.84);
  font-size: 12px;
  font-weight: 720;
  line-height: 1.4;
}

.wealth-daily-reading > small {
  color: rgba(247,242,232,.48);
  font-size: 12px;
  line-height: 1.55;
}

.wealth-daily-almanac.is-enhanced .wealth-daily-reading > span,
.wealth-daily-almanac.is-enhanced .wealth-daily-reading-title,
.wealth-daily-almanac.is-enhanced .wealth-daily-reading p,
.wealth-daily-almanac.is-enhanced .wealth-daily-advice > div,
.wealth-daily-almanac.is-enhanced .wealth-daily-advice li,
.wealth-daily-almanac.is-enhanced .wealth-daily-reading > small {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .34s ease, transform .34s ease;
}

.wealth-daily-almanac.is-enhanced.is-revealed .wealth-daily-reading > span,
.wealth-daily-almanac.is-enhanced.is-revealed .wealth-daily-reading-title,
.wealth-daily-almanac.is-enhanced.is-revealed .wealth-daily-reading p,
.wealth-daily-almanac.is-enhanced.is-revealed .wealth-daily-advice > div,
.wealth-daily-almanac.is-enhanced.is-revealed .wealth-daily-advice li,
.wealth-daily-almanac.is-enhanced.is-revealed .wealth-daily-reading > small {
  opacity: 1;
  transform: translateY(0);
}

.wealth-daily-almanac.is-enhanced.is-revealed .wealth-daily-reading > span {
  transition-delay: .08s;
}

.wealth-daily-almanac.is-enhanced.is-revealed .wealth-daily-reading-title {
  transition-delay: .16s;
}

.wealth-daily-almanac.is-enhanced.is-revealed .wealth-daily-reading p {
  transition-delay: .24s;
}

.wealth-daily-almanac.is-enhanced.is-revealed .wealth-daily-advice > div:nth-child(1) {
  transition-delay: .34s;
}

.wealth-daily-almanac.is-enhanced.is-revealed .wealth-daily-advice > div:nth-child(2) {
  transition-delay: .44s;
}

.wealth-daily-almanac.is-enhanced.is-revealed .wealth-daily-advice li:nth-child(1) {
  transition-delay: .50s;
}

.wealth-daily-almanac.is-enhanced.is-revealed .wealth-daily-advice li:nth-child(2) {
  transition-delay: .58s;
}

.wealth-daily-almanac.is-enhanced.is-revealed .wealth-daily-advice li:nth-child(3) {
  transition-delay: .66s;
}

.wealth-daily-almanac.is-enhanced.is-revealed .wealth-daily-reading > small {
  transition-delay: .74s;
}

.wealth-daily-reading.is-rolling {
  animation: wealthDailyRoll .42s cubic-bezier(.18,.78,.18,1) both;
}

@keyframes wealthDailyRoll {
  from {
    opacity: .42;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes wealthDailyCenterPulse {
  0%, 100% {
    opacity: .58;
    transform: translate(-50%, -50%) scale(.96);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  .wealth-daily-day,
  .wealth-daily-reading,
  .wealth-daily-reel-track,
  .wealth-daily-reading > span,
  .wealth-daily-reading-title,
  .wealth-daily-reading p,
  .wealth-daily-advice > div,
  .wealth-daily-advice li,
  .wealth-daily-reading > small {
    transition: none;
    animation: none !important;
  }

  .wealth-daily-result,
  .wealth-daily-status-track {
    transition: none !important;
  }
}

.wealth-fortune-guidance {
  display: grid;
  grid-template-columns: minmax(260px, .82fr) minmax(0, 1.35fr);
  align-items: start;
  gap: 10px;
  margin-top: 10px;
}

.wealth-month-report,
.wealth-calendar-section {
  border: 1px solid rgba(255,190,92,.14);
  background:
    linear-gradient(145deg, rgba(255,190,92,.075), rgba(255,255,255,.022)),
    rgba(12,10,8,.22);
}

.wealth-month-report {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 16px;
}

.wealth-report-kicker,
.wealth-calendar-head span,
.wealth-invest-guidance span,
.wealth-advice-chip-rows span {
  display: block;
  color: rgba(247,242,232,.58);
  font-size: 12px;
  font-weight: 760;
}

.wealth-month-report h3 {
  margin: 0;
  color: #ffe0a0;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.12;
  letter-spacing: 0;
}

.wealth-month-report p {
  margin: 0;
  color: rgba(247,242,232,.76);
  font-size: 13px;
  line-height: 1.72;
}

.wealth-invest-guidance {
  display: grid;
  gap: 7px;
  padding: 13px;
  border: 1px solid rgba(255,190,92,.14);
  background: rgba(255,255,255,.032);
}

.wealth-invest-guidance b {
  color: #f6d28d;
  font-size: 16px;
  line-height: 1.4;
}

.wealth-invest-guidance small {
  color: rgba(247,242,232,.68);
  font-size: 12px;
  line-height: 1.58;
}

.wealth-fortune-unlocked {
  display: grid;
  gap: 14px;
  margin-top: 12px;
  padding: 16px;
  border: 1px solid rgba(255,190,92,.16);
  background:
    linear-gradient(145deg, rgba(255,190,92,.095), rgba(255,255,255,.024)),
    rgba(12,10,8,.26);
}

.wealth-fortune-gate {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  min-height: 142px;
  margin-top: 12px;
  padding: 20px 6px 10px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  isolation: isolate;
}

.wealth-fortune-gate::before {
  content: "";
  position: absolute;
  inset: -24px -18px -12px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 0%, rgba(255,196,95,.20), transparent 36%),
    linear-gradient(112deg, rgba(255,145,37,.18), transparent 46%),
    linear-gradient(118deg, rgba(255,196,95,.07) 0 15%, transparent 15% 100%);
}

.wealth-fortune-gate span,
.wealth-fortune-unlocked span {
  display: block;
  color: rgba(247,242,232,.58);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.wealth-fortune-gate-copy,
.wealth-fortune-gate-action {
  min-width: 0;
}

.wealth-fortune-gate-copy {
  display: grid;
  align-content: center;
  gap: 12px;
}

.wealth-fortune-gate h3 {
  margin: 0;
  color: #fff3d4;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.08;
  letter-spacing: 0;
}

.wealth-fortune-gate p,
.wealth-fortune-unlocked small {
  margin: 0;
  color: rgba(247,242,232,.78);
  font-size: clamp(14px, 1.3vw, 18px);
  line-height: 1.5;
}

.wealth-fortune-gate-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wealth-fortune-gate-perks span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(255,190,92,.18);
  background: rgba(255,190,92,.06);
  color: #f6d28d;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
}

.wealth-fortune-gate-action {
  display: grid;
  align-content: center;
  justify-items: end;
  gap: 10px;
}

.wealth-fortune-gate-costs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.wealth-fortune-gate-costs > div {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255,190,92,.14);
  background: rgba(255,190,92,.05);
}

.wealth-fortune-gate-costs b {
  display: block;
  margin-top: 6px;
  color: #f7d99b;
  font-size: 26px;
  line-height: 1;
}

.wealth-fortune-gate-costs span {
  letter-spacing: 0;
  text-transform: none;
}

.wealth-fortune-gate form {
  margin: 0;
}

.wealth-fortune-gate button {
  min-width: 168px;
  min-height: 46px;
  padding: 0 26px;
  white-space: nowrap;
}

.wealth-fortune-gate button[hidden] {
  display: none !important;
}

.wealth-fortune-gate-price {
  display: block;
  color: rgba(247,242,232,.52);
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

.wealth-fortune-confirm {
  display: grid;
  gap: 8px;
}

.wealth-fortune-confirm[hidden] {
  display: none;
}

.wealth-fortune-confirm small {
  display: block;
  color: rgba(247,242,232,.58);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

body.is-fortune-dialog-open {
  overflow: hidden;
}

.wealth-fortune-dialog {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0,0,0,.74);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.wealth-fortune-dialog[hidden] {
  display: none;
}

.wealth-fortune-dialog-box {
  position: relative;
  display: grid;
  gap: 20px;
  width: min(580px, calc(100vw - 32px));
  padding: 34px;
  overflow: hidden;
  border: 1px solid rgba(255,196,95,.24);
  border-radius: 18px;
  background:
    radial-gradient(circle at 16% 0%, rgba(255,196,95,.13), transparent 34%),
    linear-gradient(145deg, rgba(22,18,13,.98), rgba(5,5,5,.98));
  box-shadow:
    0 34px 96px rgba(0,0,0,.68),
    0 0 0 1px rgba(255,196,95,.06);
}

.wealth-fortune-dialog-box > span {
  color: rgba(255,196,95,.78);
  font-size: 11px;
  font-weight: 820;
  letter-spacing: .18em;
}

.wealth-fortune-dialog-box h3 {
  margin: 0;
  color: #fff3d4;
  font-size: clamp(27px, 3vw, 35px);
  line-height: 1.15;
}

.wealth-fortune-dialog-box p {
  margin: 0;
  color: rgba(247,242,232,.76);
  font-size: 14.5px;
  line-height: 1.72;
}

.wealth-fortune-dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  color: rgba(247,242,232,.76);
  background: rgba(255,255,255,.05);
  cursor: pointer;
}

.wealth-fortune-dialog-close:hover,
.wealth-fortune-dialog-close:focus-visible {
  border-color: rgba(255,196,95,.35);
  color: #ffe4ac;
  background: rgba(255,196,95,.10);
}

.wealth-fortune-dialog-points {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(255,196,95,.12);
  border-bottom: 1px solid rgba(255,196,95,.12);
}

.wealth-fortune-dialog-points > div {
  display: grid;
  gap: 5px;
  padding: 13px 0;
  border-top: 1px solid rgba(255,255,255,.07);
}

.wealth-fortune-dialog-points > div:first-child {
  border-top: 0;
}

.wealth-fortune-dialog-points b {
  color: #ffd58b;
  font-size: 15px;
  line-height: 1.35;
}

.wealth-fortune-dialog-points small,
.wealth-fortune-dialog-disclaimer {
  color: rgba(247,242,232,.58);
  font-size: 12px;
  line-height: 1.55;
}

.wealth-fortune-dialog-action {
  display: grid;
  gap: 9px;
}

.wealth-fortune-dialog-action form {
  margin: 0;
}

.wealth-fortune-dialog-action button,
.wealth-fortune-dialog-link {
  width: 100%;
  min-height: 48px;
}

.wealth-fortune-dialog-link {
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 860;
}

html[data-theme] .app-profile-shell .wealth-fortune-gate .wealth-fortune-gate-copy > span {
  color: rgba(255,218,158,.70) !important;
}

html[data-theme] .app-profile-shell .wealth-fortune-gate .wealth-fortune-gate-copy h3 {
  color: #ffe4ac !important;
  font-size: clamp(28px, 3.2vw, 42px) !important;
  line-height: 1.08 !important;
}

html[data-theme] .app-profile-shell .wealth-fortune-gate .wealth-fortune-gate-copy p {
  color: rgba(247,242,232,.78) !important;
  font-size: clamp(14px, 1.3vw, 18px) !important;
}

html[data-theme] .app-profile-shell .wealth-fortune-gate .wealth-fortune-gate-perks span {
  color: #f6d28d !important;
}

html[data-theme] .app-profile-shell .wealth-fortune-gate .wealth-fortune-gate-costs span {
  color: rgba(247,242,232,.62) !important;
}

html[data-theme] .app-profile-shell .wealth-fortune-gate .wealth-fortune-gate-price {
  color: rgba(247,242,232,.56) !important;
}

html[data-theme] .app-profile-shell .wealth-fortune-gate button.primary,
html[data-theme] .app-profile-shell .wealth-fortune-dialog-action button.primary,
html[data-theme] .app-profile-shell .wealth-fortune-dialog-link {
  border: 0 !important;
  background: linear-gradient(135deg, #ffc45f, #ff9125) !important;
  color: #1b1208 !important;
  box-shadow: 0 16px 36px rgba(255,145,37,.20) !important;
}

html[data-theme] body:has(.app-profile-shell) .wealth-fortune-dialog-action button.primary,
html[data-theme] body:has(.app-profile-shell) .wealth-fortune-dialog-link {
  border: 0 !important;
  background: linear-gradient(135deg, #ffc45f, #ff9125) !important;
  color: #1b1208 !important;
  box-shadow: 0 16px 36px rgba(255,145,37,.22) !important;
}

.wealth-fortune-unlocked {
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
}

.wealth-fortune-unlocked b {
  color: #f7d99b;
  font-size: 15px;
}

.wealth-advice-chip-rows {
  display: grid;
  gap: 8px;
}

.wealth-advice-chip-rows > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.wealth-advice-chip-rows span:first-child {
  width: 38px;
}

.wealth-advice-chip-rows span:not(:first-child) {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border: 1px solid rgba(255,190,92,.14);
  color: rgba(255,224,160,.88);
  background: rgba(255,190,92,.055);
  font-size: 11px;
  font-weight: 720;
}

.wealth-fortune-calendar {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.wealth-calendar-section {
  min-width: 0;
  padding: 14px;
}

.wealth-calendar-head {
  display: grid;
  gap: 4px;
  margin-bottom: 10px;
}

.wealth-calendar-head b {
  color: #f7d99b;
  font-size: 15px;
  line-height: 1.35;
}

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

.wealth-calendar-card {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  align-items: stretch;
  gap: 10px;
  min-height: 0;
  padding: 10px;
  border: 1px solid rgba(238,226,205,.10);
  background: rgba(12,10,8,.30);
}

.wealth-calendar-card.is-entry {
  border-color: rgba(232,205,143,.24) !important;
  background:
    linear-gradient(145deg, rgba(232,205,143,.055), rgba(255,255,255,.012)),
    rgba(12,10,8,.30) !important;
}

.wealth-calendar-card.is-caution {
  border-color: rgba(201,154,130,.24) !important;
  background:
    linear-gradient(145deg, rgba(201,154,130,.052), rgba(255,255,255,.01)),
    rgba(12,10,8,.30) !important;
}

.app-portal .wealth-calendar-card.is-entry {
  border: 1px solid rgba(232,205,143,.24) !important;
  background:
    linear-gradient(145deg, rgba(232,205,143,.055), rgba(255,255,255,.012)),
    rgba(12,10,8,.30) !important;
  box-shadow: inset 0 0 0 1px rgba(232,205,143,.16) !important;
}

.app-portal .wealth-calendar-card.is-caution {
  border: 1px solid rgba(201,154,130,.24) !important;
  background:
    linear-gradient(145deg, rgba(201,154,130,.052), rgba(255,255,255,.01)),
    rgba(12,10,8,.30) !important;
  box-shadow: inset 0 0 0 1px rgba(201,154,130,.16) !important;
}

.wealth-calendar-date {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  min-height: 96px;
  border: 1px solid rgba(255,190,92,.14);
  background: rgba(255,190,92,.055);
  text-decoration: none;
}

.wealth-calendar-date span,
.wealth-calendar-date em {
  color: rgba(247,242,232,.56);
  font-size: 11px;
  font-style: normal;
  font-weight: 720;
  line-height: 1;
}

.wealth-calendar-date b {
  color: #ffe0a0;
  font-size: 30px;
  line-height: 1;
}

.wealth-calendar-copy {
  display: grid;
  align-content: start;
  gap: 5px;
  min-width: 0;
}

.wealth-calendar-copy i {
  justify-self: start;
  min-height: 22px;
  padding: 0 8px;
  border: 1px solid rgba(255,190,92,.14);
  color: rgba(255,224,160,.82);
  background: rgba(255,190,92,.055);
  font-size: 11px;
  font-style: normal;
  font-weight: 760;
  line-height: 20px;
}

.wealth-calendar-card.is-entry .wealth-calendar-copy i,
.wealth-calendar-card.is-entry .wealth-calendar-copy strong {
  color: #e8cd8f;
}

.wealth-calendar-card.is-caution .wealth-calendar-copy i,
.wealth-calendar-card.is-caution .wealth-calendar-copy strong {
  color: #d0a184;
}

.wealth-calendar-copy strong {
  color: #f7d99b;
  font-size: 15px;
  line-height: 1.35;
}

.wealth-calendar-copy p,
.wealth-calendar-copy small,
.wealth-calendar-empty {
  margin: 0;
  color: rgba(247,242,232,.68);
  font-size: 12px;
  line-height: 1.55;
}

.wealth-calendar-copy small {
  color: rgba(247,242,232,.58);
}

.wealth-calendar-empty {
  min-height: 96px;
  padding: 12px;
  border: 1px solid rgba(238,226,205,.10);
  background: rgba(12,10,8,.28);
}

.wealth-day-item.is-high b,
.wealth-day-item.is-medium b,
.wealth-day-item.is-low b {
  color: #f7d99b;
}

.wealth-fortune-disclaimer {
  margin: 12px 0 0;
  color: rgba(247,242,232,.56);
  font-size: 12px;
  line-height: 1.6;
}

.valuescan-basic-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.valuescan-info-list,
.valuescan-bind-list {
  display: grid;
  gap: 10px;
}

.valuescan-info-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 64px;
  gap: 12px;
  align-items: center;
  min-height: 36px;
}

.valuescan-info-row > span,
.valuescan-password-row > span {
  color: var(--vs-text);
  font-size: 13px;
  font-weight: 700;
}

.valuescan-info-row > b {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 34px;
  padding: 0 12px;
  overflow: hidden;
  border: 1px solid transparent;
  background: var(--vs-field);
  color: var(--vs-text);
  font-size: 13px !important;
  font-weight: 700 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.valuescan-info-row > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--vs-blue) !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}

.valuescan-info-row > em,
.valuescan-password-row > em {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 1px;
  color: var(--vs-muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}

.valuescan-password-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 64px;
  gap: 12px;
  align-items: center;
}

.valuescan-password-meter {
  display: flex;
  align-items: end;
  gap: 8px;
  min-height: 34px;
  padding: 0 0 5px;
}

.valuescan-password-meter i {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  min-height: 24px;
  background: #ff465d;
  color: #fff;
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
}

.valuescan-password-meter b {
  width: 88px;
  height: 4px;
  background: var(--vs-gold);
}

.valuescan-password-meter b:last-child {
  background: #11b981;
}

.community-credit-panel {
  position: relative;
  overflow: hidden;
}

.community-credit-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,213,139,.45), transparent);
  opacity: .65;
}

.community-credit-board {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.community-credit-seal {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  min-height: 148px;
  border: 1px solid rgba(255,213,139,.22);
  background:
    radial-gradient(circle at 50% 24%, rgba(255,213,139,.18), transparent 45%),
    linear-gradient(145deg, rgba(217,163,77,.14), rgba(255,255,255,.025));
  text-align: center;
}

.community-credit-seal span,
.community-credit-rank span,
.community-credit-metrics span,
.account-security-item span,
.password-setting-note b {
  color: rgba(247,242,232,.58);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.community-credit-seal b {
  color: #ffe0a0;
  font-size: 44px;
  line-height: .9;
  text-shadow: 0 0 24px rgba(255,213,139,.22);
}

.community-credit-seal small {
  color: rgba(247,242,232,.72);
  font-size: 13px;
  font-weight: 720;
}

.community-credit-main {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 10px;
}

.community-credit-rank,
.community-credit-metrics > div,
.account-security-item,
.password-setting-note {
  border: 1px solid rgba(238,226,205,.11);
  background:
    linear-gradient(145deg, rgba(255,255,255,.05), rgba(255,255,255,.018)),
    rgba(12,10,8,.22);
}

.community-credit-rank {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  align-items: end;
  padding: 14px;
}

.community-credit-rank b {
  color: var(--vs-text);
  font-size: 22px;
  line-height: 1.1;
}

.community-credit-rank small {
  grid-column: 1 / -1;
  color: rgba(247,242,232,.56);
  font-size: 12px;
}

.community-credit-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.community-credit-metrics > div {
  display: grid;
  align-content: center;
  min-height: 72px;
  padding: 12px 14px;
}

.community-credit-metrics b {
  margin-top: 8px;
  color: var(--vs-text);
  font-size: 22px;
  line-height: 1;
}

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

.account-security-item {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 128px;
  padding: 14px;
}

.account-security-item b {
  min-width: 0;
  overflow: hidden;
  color: var(--vs-text);
  font-size: 18px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-security-item small,
.password-setting-note span {
  color: rgba(247,242,232,.58);
  font-size: 12px;
  line-height: 1.5;
}

.account-security-item a,
.account-security-item em {
  align-self: end;
  justify-self: start;
  min-height: 30px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255,213,139,.20);
  color: #f6d28d;
  background: rgba(255,213,139,.065);
  font-size: 12px;
  font-style: normal;
  font-weight: 780;
  text-decoration: none;
}

.account-security-item.is-muted {
  opacity: .74;
}

.password-setting-card {
  display: grid;
  gap: 12px;
}

.password-setting-note {
  display: grid;
  gap: 4px;
  padding: 12px;
}

@media (max-width: 760px) {
  .app-profile-shell {
    width: 100% !important;
    max-width: none !important;
    padding: 72px 10px 108px !important;
  }

  .app-profile-shell .member-center-layout {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .app-profile-shell .member-sidebar {
    position: static;
    min-height: 0;
  }

  .app-profile-shell .member-sidebar-profile {
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    justify-items: start;
    padding: 16px !important;
    text-align: left;
  }

  .app-profile-shell .member-level-chip {
    grid-column: auto !important;
    justify-self: end;
    align-self: center;
  }

  .app-profile-shell .member-section-nav {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 10px;
  }

  .app-profile-shell .member-section-nav a {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 0 12px;
    white-space: nowrap;
  }

  .app-profile-shell .profile-logout-form {
    display: none;
  }

  .valuescan-profile-panel {
    padding: 15px 14px;
  }

  .valuescan-basic-grid {
    grid-template-columns: 1fr;
  }

  .wealth-fortune-body {
    grid-template-columns: 1fr;
  }

  .wealth-fortune-body.is-locked strong {
    justify-self: start;
  }

  .wealth-fortune-panel {
    scroll-margin-top: 18px;
  }

  .wealth-fortune-meta {
    display: grid;
  }

  .wealth-fortune-form {
    grid-template-columns: 1fr;
    padding: 12px;
  }

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

  .wealth-fortune-detail-drawer summary {
    align-items: start;
    flex-wrap: wrap;
    min-height: 0;
    padding: 13px;
  }

  .wealth-fortune-detail-drawer summary b {
    width: 100%;
    margin-left: 0;
    text-align: left;
  }

  .wealth-fortune-detail-drawer summary::after {
    margin-left: auto;
  }

  .wealth-fortune-detail-drawer .wealth-fortune-report,
  .wealth-fortune-detail-drawer .wealth-fortune-guidance {
    margin-left: 10px;
    margin-right: 10px;
  }

  .wealth-daily-layout,
  .wealth-daily-advice {
    grid-template-columns: 1fr;
  }

  .wealth-daily-head {
    align-items: start;
    flex-direction: column;
  }

  .wealth-daily-almanac,
  .wealth-daily-reading,
  .wealth-daily-month {
    padding: 13px;
  }

  .wealth-daily-reel {
    min-height: 98px;
  }

  .wealth-daily-reel::before,
  .wealth-daily-reel::after {
    width: 38px;
  }

  .wealth-daily-reel-window {
    top: 50%;
    bottom: auto;
    width: 138px;
    height: 76px;
    transform: translate(-50%, -50%);
  }

  .wealth-daily-reel-track {
    gap: 8px;
    padding: 0 calc(50% - 36px);
  }

  .wealth-daily-day {
    flex-basis: 64px;
    min-height: 64px;
    padding: 7px 3px;
  }

  .wealth-daily-day span {
    font-size: 16px;
  }

  .wealth-daily-result {
    grid-template-columns: auto auto minmax(0, 1fr);
    gap: 10px;
  }

  .wealth-daily-result > small {
    grid-column: 1 / -1;
  }

  .wealth-daily-status-slot,
  .wealth-daily-status-track b {
    height: 46px;
  }

  .wealth-daily-status-slot {
    width: 54px;
    min-width: 54px;
  }

  .wealth-daily-status-track b {
    font-size: 25px;
  }

  .wealth-daily-almanac.is-enhanced.is-status-visible .wealth-daily-result {
    max-height: 126px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .wealth-daily-reading-title {
    align-items: start;
  }

  .wealth-daily-almanac.is-enhanced.is-revealed .wealth-daily-reading {
    max-height: 760px;
    padding-top: 13px;
    padding-bottom: 56px;
  }

  .wealth-fortune-tags,
  .wealth-fortune-days {
    grid-template-columns: 1fr;
  }

  .wealth-fortune-guidance,
  .wealth-fortune-calendar {
    grid-template-columns: 1fr;
  }

  .wealth-fortune-gate,
  .wealth-fortune-unlocked {
    grid-template-columns: 1fr;
    padding: 13px;
  }

  .wealth-fortune-gate-costs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wealth-fortune-gate button {
    width: 100%;
  }

  .community-credit-board,
  .account-security-grid,
  .community-credit-metrics {
    grid-template-columns: 1fr;
  }

  .wealth-month-report,
  .wealth-calendar-section {
    padding: 13px;
  }

  .wealth-calendar-card {
    grid-template-columns: 62px minmax(0, 1fr);
    min-height: 0;
    padding: 10px;
  }

  .wealth-calendar-date {
    min-height: 88px;
  }

  .wealth-calendar-date b {
    font-size: 27px;
  }

  .valuescan-info-row,
  .valuescan-password-row {
    grid-template-columns: 82px minmax(0, 1fr) auto;
    gap: 8px;
  }

  .valuescan-info-row > a {
    grid-column: auto;
    justify-self: start;
  }

  .valuescan-info-row > em,
  .valuescan-password-row > em {
    display: none;
  }

  .valuescan-password-meter b {
    width: 62px;
  }
}

@media (max-width: 760px) {
  .app-portal:not(.app-home-shell) .mobile-bottom-nav {
    border-color: var(--vs-border, rgba(148, 163, 184, .2)) !important;
    background: rgba(18, 23, 34, .78) !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .28) !important;
  }
}

/* Restore the previous subpage palette while keeping navigation flat. */
.app > .topbar,
.app-portal:not(.app-home-shell) > .topbar,
.app-admin-shell > .topbar,
.app-minimal-shell > .topbar,
html[data-theme="dark"] .app > .topbar {
  box-shadow: none !important;
}

.app > .topbar::before,
.app > .topbar::after,
.app-portal:not(.app-home-shell) > .topbar::before,
.app-portal:not(.app-home-shell) > .topbar::after {
  box-shadow: none !important;
}

@media (max-width: 860px) {
  body .mobile-bottom-nav,
  html[data-theme="dark"] body .mobile-bottom-nav {
    box-shadow: none !important;
  }
}

/* ============================================================
   会员区设计规范 · 末位补丁(置于 STYLE 末尾，压过其后所有旧规则)
   收尾明亮模式零散颜色问题 + 主按钮暖橙兜底。
   ============================================================ */
/* —— 导航栏：统一成首页同款「深色玻璃浮条 + 扁平文字项」，明暗一致(告别芯片感) —— */
/* 顶栏：可读的暖色深玻璃浮条；浅色页面上也保持深色，跟首页一致 */
html[data-theme] body:has(.app-portal) .app-portal > .topbar {
  background: rgba(20,16,13,.86) !important;
  border: 1px solid rgba(247,244,238,.12) !important;
  border-radius: 16px !important;
  box-shadow: 0 16px 40px rgba(0,0,0,.34) !important;
}
/* 品牌：暖米字 + 暖橙圆点 */
html[data-theme] body:has(.app-portal) .app-portal > .topbar .brand { color: rgba(247,244,238,.96) !important; }
html[data-theme] body:has(.app-portal) .app-portal > .topbar .brand::before {
  background: #e6e6ea !important;
  box-shadow: 0 0 0 4px rgba(255,255,255,.1), 0 0 14px rgba(255,255,255,.22) !important;
}
/* 导航项：扁平、暖米字、无边框无底(常态) */
html[data-theme] body:has(.app-portal) .app-portal > .topbar .nav-links a,
html[data-theme] body:has(.app-portal) .app-portal > .topbar .nav-links button,
html[data-theme] body:has(.app-portal) .app-portal > .topbar .theme-toggle,
html[data-theme] body:has(.app-portal) .app-portal > .topbar .alert-button,
html[data-theme] body:has(.app-portal) .app-portal > .topbar .nav-avatar-link {
  color: rgba(247,244,238,.84) !important;
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
html[data-theme] body:has(.app-portal) .app-portal > .topbar .nav-item-label,
html[data-theme] body:has(.app-portal) .app-portal > .topbar .nav-item-icon { color: inherit !important; }
/* 悬停：微亮 */
html[data-theme] body:has(.app-portal) .app-portal > .topbar .nav-links a:hover,
html[data-theme] body:has(.app-portal) .app-portal > .topbar .nav-links button:hover,
html[data-theme] body:has(.app-portal) .app-portal > .topbar .theme-toggle:hover,
html[data-theme] body:has(.app-portal) .app-portal > .topbar .nav-avatar-link:hover {
  color: #fff !important;
  background: rgba(255,255,255,.08) !important;
}
/* 选中：暖橙字 + 暖橙微底 */
html[data-theme] body:has(.app-portal) .app-portal > .topbar .nav-links a.active,
html[data-theme] body:has(.app-portal) .app-portal > .topbar .nav-avatar-link.active {
  color: #ffffff !important;
  background: rgba(255,255,255,.12) !important;
}
/* 手机底部导航：同款深玻璃 + 暖米字 */
html[data-theme] body:has(.app-portal) .app-portal .mobile-bottom-nav {
  background: rgba(16,13,10,.92) !important;
  border-color: rgba(247,244,238,.1) !important;
}
html[data-theme] body:has(.app-portal) .app-portal .mobile-bottom-nav a { color: rgba(247,244,238,.7) !important; }
html[data-theme] body:has(.app-portal) .app-portal .mobile-bottom-nav a.active { color: #ffffff !important; }
html[data-theme] body:has(.app-portal) .app-portal .mobile-bottom-nav .nav-item-label,
html[data-theme] body:has(.app-portal) .app-portal .mobile-bottom-nav .nav-item-icon { color: inherit !important; }
/* 主按钮兜底：暖橙(压过浅色专用/雷达自定义按钮) */
html[data-theme] body:has(.app-portal) .app-portal .primary,
html[data-theme] body:has(.app-portal) .app-portal .plan-button,
html[data-theme] body:has(.app-portal) .app-portal .nav-cta,
html[data-theme] body:has(.app-portal) .app-portal .radar-controls .primary,
html[data-theme] body:has(.app-portal) .app-portal button.primary:not(.chart-signal-dot):not(.chart-popover-close) {
  background: var(--lz-btn-bg, linear-gradient(135deg,#f2f2f5,#d9d9de)) !important;
  color: var(--lz-btn-fg, #18181b) !important;
  border-color: transparent !important;
  box-shadow: 0 10px 26px rgba(0,0,0,.28) !important;
}
/* —— 评分排行 / 历史回顾：标题更有编辑感 + 计数做成暖橙小药丸 —— */
html[data-theme] body:has(.app-portal) .app-portal .rank-panel .screen-top > span,
html[data-theme] body:has(.app-portal) .app-portal .history-digest .screen-top > span {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: -.006em !important;
  color: var(--lz-ink) !important;
}
html[data-theme] body:has(.app-portal) .app-portal .rank-panel .screen-top > b,
html[data-theme] body:has(.app-portal) .app-portal .history-digest .screen-top [data-history-count] {
  padding: 2px 9px !important;
  border-radius: 999px !important;
  background: var(--lz-accent-soft, rgba(255,255,255,.08)) !important;
  color: var(--lz-accent-ink) !important;
  font-family: var(--lz-mono) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}
/* 评分排行：去掉左侧色条；NO.X 改为金色刻度式名次标识 */
html[data-theme] body:has(.app-portal) .app-portal .rank-card::before { display: none !important; }
html[data-theme] body:has(.app-portal) .app-portal .rank-list .rank-card { padding-left: 14px !important; }
html[data-theme] body:has(.app-portal) .app-portal .rank-card .rank-num {
  position: relative !important;
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 0 !important;
  min-width: 54px !important;
  height: 48px !important;
  padding: 0 0 0 16px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-family: var(--lz-mono) !important;
  font-size: 23px !important;
  font-weight: 780 !important;
  line-height: 1 !important;
  letter-spacing: -.02em !important;
  color: var(--lz-ink) !important;
}
html[data-theme] body:has(.app-portal) .app-portal .rank-card .rank-num::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 6px !important;
  width: 4px !important;
  height: 36px !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, rgba(246,202,119,.95), rgba(217,163,77,.18)) !important;
}
html[data-theme] body:has(.app-portal) .app-portal .rank-card .rank-num i {
  font-size: 8px !important;
  font-weight: 800 !important;
  font-style: normal !important;
  letter-spacing: .14em !important;
  color: var(--lz-muted) !important;
  opacity: .72 !important;
  margin-bottom: 5px !important;
}
html[data-theme] body:has(.app-portal) .app-portal .rank-list .rank-card:nth-child(1) .rank-num {
  color: #f7d68e !important;
}
html[data-theme] body:has(.app-portal) .app-portal .rank-list .rank-card:nth-child(1) .rank-num::before {
  box-shadow: 0 0 18px rgba(217,163,77,.34) !important;
}
html[data-theme] body:has(.app-portal) .app-portal .rank-list .rank-card:nth-child(2) .rank-num,
html[data-theme] body:has(.app-portal) .app-portal .rank-list .rank-card:nth-child(3) .rank-num {
  color: var(--lz-ink) !important;
}
/* 评分(主角)更大更重；币种次之；状态最弱 —— 靠字重/字号拉层次 */
html[data-theme] body:has(.app-portal) .app-portal .rank-card .rank-score b { font-size: 24px !important; font-weight: 620 !important; color: var(--lz-ink) !important; }
html[data-theme] body:has(.app-portal) .app-portal .rank-card .rank-main strong { font-size: 16px !important; font-weight: 600 !important; color: var(--lz-ink) !important; }
html[data-theme] body:has(.app-portal) .app-portal .rank-card .rank-main small { color: var(--lz-muted) !important; font-weight: 640 !important; }
/* 历史回顾卡片：给足左右留白(压过 compact-list 的 padding:10px 4px) */
html[data-theme] body:has(.app-portal) .app-portal .history-digest li.history-trade-card {
  padding: 12px 14px !important;
  gap: 9px !important;
  border-radius: 12px !important;
}

/* ============================================================
   评分排行 / 历史回顾 · 专属重设计(布局重置)
   根因：父级网格强制等分行高(rank-list 12×30px、history 卡片被压到 26px)，
   导致内容溢出、文字互相压着。这里把两个列表改为 flex 纵向、卡片高度自适应，
   并给足留白。置于 STYLE 末尾以压过 compact-list / 响应式旧规则。
   ============================================================ */
/* —— 评分排行：列表填满面板(消除底部空白) + 自适应高度卡片 —— */
html[data-theme] body:has(.app-portal) .app-portal .rank-panel {
  display: flex !important;
  flex-direction: column !important;
}
html[data-theme] body:has(.app-portal) .app-portal .rank-panel .rank-list {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  max-height: none !important;
  grid-template-rows: none !important;
  grid-template-columns: none !important;
  gap: 9px !important;
  padding: 12px !important;
  overflow-y: auto;
  overscroll-behavior: contain;
}
html[data-theme] body:has(.app-portal) .app-portal .rank-list .rank-card {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  flex: 0 0 auto !important;
  height: auto !important;
  min-height: 64px !important;
  grid-template-rows: none !important;
  grid-template-columns: none !important;
  padding: 14px 16px 14px 18px !important;
}
html[data-theme] body:has(.app-portal) .app-portal .rank-card .rank-num { flex: 0 0 auto !important; align-self: center !important; }
html[data-theme] body:has(.app-portal) .app-portal .rank-card .rank-main { flex: 1 1 auto !important; min-width: 0 !important; }
html[data-theme] body:has(.app-portal) .app-portal .rank-card .rank-score { flex: 0 0 auto !important; align-items: flex-end !important; }
/* —— 历史回顾：纵向 flex 列表 + 自适应高度卡片(彻底告别压字) —— */
html[data-theme] body:has(.app-portal) .app-portal .history-digest ul {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}
html[data-theme] body:has(.app-portal) .app-portal .history-digest li.history-trade-card {
  display: flex !important;
  flex-direction: column !important;
  gap: 9px !important;
  flex: 0 0 auto !important;
  height: auto !important;
  min-height: 0 !important;
  grid-template-rows: none !important;
  grid-template-columns: none !important;
  padding: 14px 15px !important;
}
html[data-theme] body:has(.app-portal) .app-portal .history-trade-card .history-row-top {
  display: flex !important;
  align-items: baseline !important;
  gap: 9px !important;
  grid-template-columns: none !important;
}
html[data-theme] body:has(.app-portal) .app-portal .history-trade-card .history-row-top em { margin-left: auto !important; }
html[data-theme] body:has(.app-portal) .app-portal .history-trade-card .history-entry { gap: 10px !important; }
html[data-theme] body:has(.app-portal) .app-portal .history-trade-card .history-levels {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 7px !important;
  grid-template-columns: none !important;
}
html[data-theme] body:has(.app-portal) .app-portal .history-trade-card .history-levels span { flex: 0 1 auto !important; }

html[data-theme] body:has(.app-identity-shell) .app-identity-shell .mobile-bottom-nav {
  display: none !important;
}

html[data-theme] body:has(.app-identity-shell) {
  background: #070706 !important;
}

html[data-theme] body:has(.app-identity-shell) .topbar,
html[data-theme] .app-identity-shell.app-member-shell > .topbar {
  border-color: rgba(238,226,205,.10) !important;
  background: rgba(17,16,14,.88) !important;
  color: #f7f2e8 !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.app-identity-shell) .brand,
html[data-theme] body:has(.app-identity-shell) .nav-links a,
html[data-theme] body:has(.app-identity-shell) .nav-links button,
html[data-theme] .app-identity-shell.app-member-shell > .topbar .brand,
html[data-theme] .app-identity-shell.app-member-shell > .topbar .nav-links a,
html[data-theme] .app-identity-shell.app-member-shell > .topbar .nav-links button {
  color: rgba(247,242,232,.88) !important;
}

html[data-theme] body:has(.app-identity-shell) .theme-toggle,
html[data-theme] .app-identity-shell.app-member-shell > .topbar .theme-toggle {
  border-color: rgba(238,226,205,.12) !important;
  background: rgba(255,255,255,.055) !important;
  color: rgba(247,242,232,.86) !important;
}

html[data-theme] body:has(.app-identity-shell) .app-identity-shell .identity-form .primary,
html[data-theme] body:has(.app-identity-shell) .app-identity-shell .identity-card button.primary,
html[data-theme] body:has(.app-identity-shell) .app-identity-shell .identity-modal-dialog button.primary {
  border-color: rgba(217,163,77,.72) !important;
  background: linear-gradient(135deg, #f0bd69, #d79535) !important;
  color: #17100a !important;
  box-shadow: 0 12px 28px rgba(217,163,77,.18) !important;
}

html[data-theme] body:has(.app-identity-shell) .identity-modal-backdrop {
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background:
    linear-gradient(180deg, rgba(11,9,7,.54) 0%, rgba(8,7,6,.72) 58%, rgba(0,0,0,.88) 100%),
    rgba(0,0,0,.58) !important;
  backdrop-filter: blur(12px) saturate(92%) brightness(.76) !important;
  -webkit-backdrop-filter: blur(12px) saturate(92%) brightness(.76) !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

html[data-theme] body:has(.identity-modal) .identity-modal-dialog button.primary {
  border-color: rgba(217,163,77,.72) !important;
  background: linear-gradient(135deg, #f0bd69, #d79535) !important;
  color: #17100a !important;
  box-shadow: 0 12px 28px rgba(217,163,77,.18) !important;
}

html[data-theme] body:has(.identity-modal) .identity-modal-backdrop {
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background:
    linear-gradient(180deg, rgba(11,9,7,.54) 0%, rgba(8,7,6,.72) 58%, rgba(0,0,0,.88) 100%),
    rgba(0,0,0,.58) !important;
  backdrop-filter: blur(12px) saturate(92%) brightness(.76) !important;
  -webkit-backdrop-filter: blur(12px) saturate(92%) brightness(.76) !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

/* 子页表单统一：收掉旧的蓝黑输入底，改为暖黑/暗金调性 */
html[data-theme] body:has(.app-member-shell:not(.app-home-shell)) .app-member-shell input,
html[data-theme] body:has(.app-member-shell:not(.app-home-shell)) .app-member-shell textarea,
html[data-theme] body:has(.app-member-shell:not(.app-home-shell)) .app-member-shell select,
html[data-theme] body:has(.app-auth-shell) .app-auth-shell input,
html[data-theme] body:has(.app-auth-shell) .app-auth-shell textarea,
html[data-theme] body:has(.app-auth-shell) .app-auth-shell select {
  border-color: rgba(238,226,205,.15) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018)),
    rgba(28,24,20,.78) !important;
  color: #f7f2e8 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045) !important;
}

html[data-theme] body:has(.app-member-shell:not(.app-home-shell)) .app-member-shell input::placeholder,
html[data-theme] body:has(.app-member-shell:not(.app-home-shell)) .app-member-shell textarea::placeholder,
html[data-theme] body:has(.app-auth-shell) .app-auth-shell input::placeholder,
html[data-theme] body:has(.app-auth-shell) .app-auth-shell textarea::placeholder {
  color: rgba(247,242,232,.38) !important;
}

html[data-theme] body:has(.app-member-shell:not(.app-home-shell)) .app-member-shell input:focus,
html[data-theme] body:has(.app-member-shell:not(.app-home-shell)) .app-member-shell textarea:focus,
html[data-theme] body:has(.app-member-shell:not(.app-home-shell)) .app-member-shell select:focus,
html[data-theme] body:has(.app-auth-shell) .app-auth-shell input:focus,
html[data-theme] body:has(.app-auth-shell) .app-auth-shell textarea:focus,
html[data-theme] body:has(.app-auth-shell) .app-auth-shell select:focus {
  border-color: rgba(217,163,77,.54) !important;
  box-shadow: 0 0 0 4px rgba(217,163,77,.12), inset 0 1px 0 rgba(255,255,255,.06) !important;
}

html[data-theme] .app-profile-shell {
  --vs-field: rgba(28,24,20,.78) !important;
  --vs-blue: #d9a34d !important;
  --vs-blue-soft: rgba(217,163,77,.14) !important;
}

html[data-theme] .app-profile-shell .valuescan-info-row > b,
html[data-theme] .app-profile-shell .valuescan-info-row > a {
  border-color: rgba(238,226,205,.12) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018)),
    rgba(28,24,20,.78) !important;
  color: #f7f2e8 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04) !important;
}

/* ============================================================
   字重克制(苹果式)：子页内一律不超过 Semibold/Bold。
   收掉残留的 900/扩展粗细，层次改靠字号+留白，而非"加黑"。
   ============================================================ */
html[data-theme] body:has(.app-portal) .app-portal b,
html[data-theme] body:has(.app-portal) .app-portal strong,
html[data-theme] body:has(.app-portal) .app-portal .rank-main strong,
html[data-theme] body:has(.app-portal) .app-portal .market-card h2,
html[data-theme] body:has(.app-portal) .app-portal .history-row-top b {
  font-weight: 600 !important;
}
html[data-theme] body:has(.app-portal) .app-portal .rank-score b,
html[data-theme] body:has(.app-portal) .app-portal .history-row-top em,
html[data-theme] body:has(.app-portal) .app-portal .metric b {
  font-weight: 640 !important;
}

/* ============================================================
   Profile visual polish pass: premium member console.
   Scope: profile shell only, no route or data changes.
   ============================================================ */
html[data-theme] body:has(.app-profile-shell) {
  background:
    radial-gradient(circle at 18% 0%, rgba(110, 82, 42, .18), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(63, 114, 255, .11), transparent 34%),
    linear-gradient(180deg, #090909 0%, #0e0d0c 42%, #070707 100%) !important;
}

html[data-theme] body:has(.app-profile-shell)::before {
  display: block !important;
  opacity: .22 !important;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px) !important;
  background-size: 64px 64px !important;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.72), transparent 78%) !important;
}

html[data-theme] .app-profile-shell {
  --vs-bg: #090909;
  --vs-panel: rgba(27, 24, 22, .78);
  --vs-panel-soft: rgba(38, 34, 31, .82);
  --vs-field: rgba(31, 38, 54, .78);
  --vs-border: rgba(238, 226, 205, .13);
  --vs-line: rgba(238, 226, 205, .08);
  --vs-text: #f7f2e8;
  --vs-muted: rgba(247, 242, 232, .58);
  --vs-blue: #8fb2ff;
  --vs-blue-soft: rgba(91, 125, 209, .16);
  --vs-gold: #d9a34d;
  width: min(1500px, calc(100% - 44px)) !important;
  max-width: 1500px !important;
  padding-top: 94px !important;
}

html[data-theme] .app-profile-shell .member-center-layout {
  grid-template-columns: 248px minmax(0, 1fr) !important;
  gap: 18px !important;
}

html[data-theme] .app-profile-shell .member-sidebar,
html[data-theme] .app-profile-shell .member-section,
html[data-theme] .app-profile-shell .valuescan-profile-panel {
  border: 1px solid var(--vs-border) !important;
  border-radius: 22px !important;
  background:
    linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018)),
    var(--vs-panel) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 22px 70px rgba(0,0,0,.34) !important;
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
}

html[data-theme] .app-profile-shell .member-sidebar {
  grid-template-rows: auto auto auto !important;
  overflow: hidden !important;
}

html[data-theme] .app-profile-shell .member-sidebar-profile {
  position: relative;
  gap: 14px !important;
  padding: 18px !important;
  border-bottom: 1px solid var(--vs-line) !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(217, 163, 77, .22), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.052), rgba(255,255,255,.018)) !important;
}

html[data-theme] .app-profile-shell .member-sidebar-profile::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217,163,77,.45), transparent);
}

html[data-theme] .app-profile-shell .member-sidebar-identity {
  position: relative;
  z-index: 1;
  display: grid !important;
  grid-template-columns: 78px minmax(0, 1fr) !important;
  gap: 13px !important;
  align-items: center !important;
  width: 100% !important;
  min-width: 0 !important;
  padding: 14px !important;
  border: 1px solid rgba(238,226,205,.12) !important;
  border-radius: 18px !important;
  background:
    linear-gradient(135deg, rgba(255,255,255,.072), rgba(255,255,255,.02)),
    rgba(17,15,14,.28) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06) !important;
}

html[data-theme] .app-profile-shell .member-sidebar-profile .avatar-badge.large {
  width: 74px !important;
  height: 74px !important;
  min-width: 74px !important;
  min-height: 74px !important;
  aspect-ratio: 1 / 1 !important;
  padding: 4px !important;
  border: 1px solid rgba(255,255,255,.22) !important;
  border-radius: 50% !important;
  background: linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,.04)) !important;
  box-shadow: 0 16px 34px rgba(0,0,0,.34), 0 0 0 5px rgba(217,163,77,.07) !important;
}

html[data-theme] .app-profile-shell .member-sidebar-id span {
  display: block !important;
  color: rgba(217,163,77,.72) !important;
  font-size: 10px !important;
  line-height: 1.2 !important;
  font-weight: 760 !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
}

html[data-theme] .app-profile-shell .member-sidebar-id b {
  margin-top: 3px !important;
  color: var(--vs-text) !important;
  font-size: 18px !important;
  line-height: 1.18 !important;
  font-weight: 720 !important;
  letter-spacing: .01em !important;
}

html[data-theme] .app-profile-shell .member-sidebar-id small {
  min-height: 26px !important;
  width: max-content !important;
  max-width: 100% !important;
  margin-top: 6px !important;
  padding: 0 10px !important;
  border-color: rgba(143,178,255,.22) !important;
  border-radius: 999px !important;
  background: rgba(143,178,255,.11) !important;
  color: rgba(226,235,255,.86) !important;
  white-space: nowrap !important;
}

html[data-theme] .app-profile-shell .member-sidebar-honor {
  position: relative;
  z-index: 1;
  min-height: 48px !important;
  padding: 12px 13px !important;
  border: 1px solid rgba(217,163,77,.22) !important;
  border-radius: 16px !important;
  background:
    linear-gradient(135deg, rgba(217,163,77,.12), rgba(255,255,255,.026)),
    rgba(17,15,14,.24) !important;
}

html[data-theme] .app-profile-shell .member-sidebar-honor span,
html[data-theme] .app-profile-shell .member-sidebar-stats span {
  color: rgba(247,242,232,.52) !important;
  font-size: 11px !important;
  font-weight: 680 !important;
}

html[data-theme] .app-profile-shell .member-sidebar-honor b {
  display: inline-flex !important;
  justify-content: flex-end !important;
  min-width: 0 !important;
}

html[data-theme] .app-profile-shell .member-sidebar-honor .member-level-icon {
  width: 21px !important;
  height: 21px !important;
}

html[data-theme] .app-profile-shell .member-sidebar-stats {
  position: relative;
  z-index: 1;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
  width: 100% !important;
}

html[data-theme] .app-profile-shell .member-sidebar-stats > div {
  min-height: 70px !important;
  padding: 12px !important;
  border: 1px solid rgba(238,226,205,.10) !important;
  border-radius: 16px !important;
  background:
    linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018)),
    rgba(255,255,255,.018) !important;
}

html[data-theme] .app-profile-shell .member-sidebar-stats b {
  display: block !important;
  margin-top: 9px !important;
  color: #f7d28c !important;
  font-size: 24px !important;
  line-height: 1 !important;
  font-weight: 780 !important;
}

html[data-theme] .app-profile-shell .member-level-chip {
  min-height: 28px !important;
  padding: 0 10px !important;
  border: 1px solid rgba(217,163,77,.28) !important;
  border-radius: 999px !important;
  background: rgba(217,163,77,.12) !important;
  color: #f0bd69 !important;
}

html[data-theme] .app-profile-shell .member-section-nav {
  align-content: start !important;
  align-self: start !important;
  gap: 6px !important;
  padding: 18px 14px !important;
}

html[data-theme] .app-profile-shell .member-section-nav a {
  position: relative;
  min-height: 38px !important;
  padding: 0 12px 0 16px !important;
  border-radius: 12px !important;
  color: rgba(247,242,232,.76) !important;
}

html[data-theme] .app-profile-shell .member-section-nav a::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 9px;
  bottom: 9px;
  width: 3px;
  border-radius: 999px;
  background: transparent;
}

html[data-theme] .app-profile-shell .member-section-nav a:hover,
html[data-theme] .app-profile-shell .member-section-nav a:focus-visible {
  background: rgba(255,255,255,.055) !important;
}

html[data-theme] .app-profile-shell .member-section-nav a.active {
  background: rgba(143,178,255,.11) !important;
  color: #eef4ff !important;
}

html[data-theme] .app-profile-shell .member-section-nav a.active::before {
  background: linear-gradient(180deg, #f0bd69, #8fb2ff);
}

html[data-theme] .app-profile-shell .profile-logout-form {
  align-self: end !important;
  margin-top: auto !important;
  padding: 12px 16px 14px !important;
}

html[data-theme] .app-profile-shell .profile-logout-form button {
  justify-content: center !important;
  min-height: 38px !important;
  border-radius: 12px !important;
  background: rgba(255,255,255,.045) !important;
  color: rgba(247,242,232,.76) !important;
}

html[data-theme] .app-profile-shell .member-center-main {
  display: grid !important;
  gap: 14px !important;
}

html[data-theme] .app-profile-shell .profile-premium-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 310px !important;
  gap: 18px !important;
  align-items: start !important;
}

html[data-theme] .app-profile-shell .profile-premium-main {
  display: grid !important;
  gap: 14px !important;
  min-width: 0 !important;
}

html[data-theme] .app-profile-shell .profile-premium-aside {
  position: sticky !important;
  top: 92px !important;
  display: grid !important;
  gap: 12px !important;
  min-width: 0 !important;
}

html[data-theme] .app-profile-shell .profile-subscription-card {
  position: relative;
  display: block;
  min-height: 420px;
  padding: 1px;
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
  color: var(--vs-text);
  background:
    linear-gradient(155deg, rgba(255,225,154,.88) 0%, rgba(217,163,77,.34) 37%, rgba(113,82,38,.18) 62%, rgba(238,226,205,.38) 100%);
  box-shadow: 0 0 0 1px rgba(217,163,77,.08), 0 24px 72px rgba(0,0,0,.36);
  transition: transform .22s ease, box-shadow .22s ease;
}

html[data-theme] .app-profile-shell .profile-subscription-card:hover,
html[data-theme] .app-profile-shell .profile-subscription-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 0 34px rgba(217,163,77,.24), 0 28px 84px rgba(0,0,0,.42);
}

html[data-theme] .app-profile-shell .profile-subscription-card:hover .profile-subscription-card-inner,
html[data-theme] .app-profile-shell .profile-subscription-card:focus-visible .profile-subscription-card-inner {
  transform: scale(.985);
}

html[data-theme] .app-profile-shell .profile-subscription-shine {
  position: absolute;
  inset: -42% -65% auto auto;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,238,188,.34), transparent 66%);
  pointer-events: none;
}

html[data-theme] .app-profile-shell .profile-subscription-card-inner {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: space-between;
  min-height: 418px;
  padding: 24px;
  border-radius: 23px;
  background:
    radial-gradient(circle at 78% 0%, rgba(217,163,77,.24), transparent 38%),
    linear-gradient(145deg, rgba(35,30,24,.98), rgba(14,13,12,.98));
  transition: transform .18s ease;
}

html[data-theme] .app-profile-shell .profile-subscription-kicker {
  color: rgba(234,194,119,.78);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: .18em;
}

html[data-theme] .app-profile-shell .profile-subscription-card h3 {
  margin: 12px 0 0;
  color: #fff2d2;
  font-size: 30px;
  line-height: 1.08;
  font-weight: 760;
  letter-spacing: 0;
}

html[data-theme] .app-profile-shell .profile-subscription-card p {
  margin: 14px 0 0;
  color: rgba(247,242,232,.68);
  font-size: 13px;
  line-height: 1.72;
}

html[data-theme] .app-profile-shell .profile-subscription-status {
  display: grid;
  gap: 6px;
  margin-top: 22px;
  padding: 16px;
  border: 1px solid rgba(217,163,77,.18);
  border-radius: 18px;
  background: rgba(255,255,255,.045);
}

html[data-theme] .app-profile-shell .profile-subscription-status span,
html[data-theme] .app-profile-shell .profile-subscription-status small,
html[data-theme] .app-profile-shell .profile-subscription-metrics small {
  color: rgba(247,242,232,.55);
  font-size: 12px;
}

html[data-theme] .app-profile-shell .profile-subscription-status b {
  color: #ffe5ad;
  font-size: 18px;
}

html[data-theme] .app-profile-shell .profile-subscription-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

html[data-theme] .app-profile-shell .profile-subscription-metrics > span {
  display: grid;
  gap: 4px;
  min-height: 76px;
  padding: 14px;
  border: 1px solid rgba(238,226,205,.10);
  border-radius: 16px;
  background: rgba(255,255,255,.035);
}

html[data-theme] .app-profile-shell .profile-subscription-metrics b {
  color: #f7f2e8;
  font-size: 20px;
  line-height: 1.1;
}

html[data-theme] .app-profile-shell .profile-subscription-card em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f1d18b, #d89c3a);
  color: #17100a;
  font-size: 13px;
  font-style: normal;
  font-weight: 760;
}

html[data-theme] .app-profile-shell .profile-subscription-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid rgba(217,163,77,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  color: rgba(247,242,232,.78);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

html[data-theme] body:has(.app-profile-shell) .app-profile-shell .profile-subscription-card {
  border: 0 !important;
  border-radius: 24px !important;
  background:
    linear-gradient(155deg, rgba(255,225,154,.88) 0%, rgba(217,163,77,.34) 37%, rgba(113,82,38,.18) 62%, rgba(238,226,205,.38) 100%) !important;
  box-shadow: 0 0 0 1px rgba(217,163,77,.08), 0 24px 72px rgba(0,0,0,.36) !important;
}

html[data-theme] body:has(.app-profile-shell) .app-profile-shell .profile-subscription-card-inner {
  border: 0 !important;
  border-radius: 23px !important;
  background:
    radial-gradient(circle at 78% 0%, rgba(217,163,77,.24), transparent 38%),
    linear-gradient(145deg, rgba(35,30,24,.98), rgba(14,13,12,.98)) !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app-profile-shell .profile-subscription-status,
html[data-theme] body:has(.app-profile-shell) .app-profile-shell .profile-subscription-metrics > span {
  background: rgba(255,255,255,.045) !important;
}

html[data-theme] .app-profile-shell .member-section,
html[data-theme] .app-profile-shell .valuescan-profile-panel {
  margin: 0 !important;
  padding: 22px 24px !important;
}

html[data-theme] .app-profile-shell .points-section {
  position: relative;
  overflow: hidden !important;
  border: 1px solid var(--vs-border) !important;
  background:
    linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018)),
    var(--vs-panel) !important;
  color: var(--vs-text) !important;
}

html[data-theme] .app-profile-shell .points-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 88% 10%, rgba(217,163,77,.18), transparent 20%),
    linear-gradient(90deg, rgba(143,178,255,.05), transparent 36%);
}

html[data-theme] .app-profile-shell .member-section-title,
html[data-theme] .app-profile-shell .valuescan-panel-title {
  position: relative;
  margin-bottom: 18px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html[data-theme] .app-profile-shell .member-section-title span,
html[data-theme] .app-profile-shell .valuescan-panel-title span.profile-card-kicker {
  color: rgba(217,163,77,.76) !important;
  letter-spacing: .16em !important;
}

html[data-theme] .app-profile-shell .member-section-title h2,
html[data-theme] .app-profile-shell .valuescan-panel-title h2 {
  color: var(--vs-text) !important;
  font-size: 24px !important;
  font-weight: 760 !important;
  letter-spacing: 0 !important;
}

html[data-theme] .app-profile-shell .member-section-title p {
  max-width: 58ch;
  color: var(--vs-muted) !important;
}

html[data-theme] .app-profile-shell .member-level-mark {
  min-width: 88px !important;
  min-height: 76px !important;
  border-radius: 22px !important;
  border-color: rgba(217,163,77,.34) !important;
  background:
    linear-gradient(145deg, rgba(217,163,77,.32), rgba(217,163,77,.12)),
    rgba(255,255,255,.035) !important;
  color: #fff4d8 !important;
  font-size: 32px !important;
  font-weight: 760 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 18px 42px rgba(0,0,0,.28) !important;
}

html[data-theme] .app-profile-shell .member-stat-grid {
  gap: 10px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html[data-theme] .app-profile-shell .member-stat-grid > div {
  min-height: 86px !important;
  padding: 16px !important;
  border: 1px solid var(--vs-line) !important;
  border-radius: 16px !important;
  background: rgba(255,255,255,.045) !important;
}

html[data-theme] .app-profile-shell .member-stat-grid span {
  color: rgba(247,242,232,.54) !important;
  font-size: 12px !important;
}

html[data-theme] .app-profile-shell .member-stat-grid b {
  margin-top: 10px !important;
  color: var(--vs-text) !important;
  font-size: 22px !important;
  font-weight: 740 !important;
}

html[data-theme] .app-profile-shell .points-observe-form {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 150px 180px !important;
  gap: 10px !important;
  align-items: end !important;
  margin: 18px 0 14px !important;
}

html[data-theme] .app-profile-shell .points-observe-form label {
  display: grid !important;
  gap: 7px !important;
  color: rgba(247,242,232,.62) !important;
  font-size: 12px !important;
  font-weight: 680 !important;
}

html[data-theme] .app-profile-shell .points-observe-form input,
html[data-theme] .app-profile-shell .points-observe-form select,
html[data-theme] .app-profile-shell .wealth-fortune-form input,
html[data-theme] .app-profile-shell .wealth-fortune-form select,
html[data-theme] .app-profile-shell .email-alert-form input {
  min-height: 48px !important;
  border: 1px solid rgba(238,226,205,.13) !important;
  border-radius: 15px !important;
  background: rgba(255,255,255,.055) !important;
  color: var(--vs-text) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035) !important;
}

html[data-theme] .app-profile-shell .points-observe-form button.primary,
html[data-theme] .app-profile-shell .wealth-fortune-form button.primary,
html[data-theme] .app-profile-shell .email-alert-form button.primary {
  min-height: 52px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #f5f0e8, #d9dde8) !important;
  color: #171411 !important;
  box-shadow: 0 16px 36px rgba(0,0,0,.28) !important;
}

html[data-theme] .app-profile-shell .member-dual-list {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 14px !important;
}

html[data-theme] .app-profile-shell .member-dual-list h3 {
  margin: 0 0 10px !important;
  color: var(--vs-text) !important;
  font-size: 15px !important;
}

html[data-theme] .app-profile-shell .member-dual-list ul,
html[data-theme] .app-profile-shell .member-order-list {
  display: grid !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
}

html[data-theme] .app-profile-shell .member-dual-list li,
html[data-theme] .app-profile-shell .member-order-list li {
  min-height: 62px !important;
  padding: 13px 14px !important;
  border: 1px solid var(--vs-line) !important;
  border-radius: 15px !important;
  background: rgba(255,255,255,.035) !important;
}

html[data-theme] .app-profile-shell #profile.member-section {
  padding: 0 !important;
}

html[data-theme] .app-profile-shell .valuescan-panel-icon {
  display: inline-grid !important;
  place-items: center !important;
  width: 24px !important;
  height: 24px !important;
  border: 1px solid rgba(217,163,77,.20) !important;
  border-radius: 999px !important;
  color: #f0bd69 !important;
  background: rgba(217,163,77,.08) !important;
  font-size: 12px !important;
}

html[data-theme] .app-profile-shell .valuescan-info-row,
html[data-theme] .app-profile-shell .valuescan-password-row {
  grid-template-columns: 120px minmax(0, 1fr) 76px !important;
  min-height: 44px !important;
}

html[data-theme] .app-profile-shell .valuescan-info-row > span,
html[data-theme] .app-profile-shell .valuescan-password-row > span {
  color: rgba(247,242,232,.74) !important;
}

html[data-theme] .app-profile-shell .valuescan-info-row > b {
  min-height: 42px !important;
  border: 1px solid rgba(238,226,205,.08) !important;
  border-radius: 14px !important;
  background: rgba(31,38,54,.62) !important;
  color: #eef3ff !important;
}

html[data-theme] .app-profile-shell .valuescan-info-row > a {
  min-height: 40px !important;
  border-radius: 14px !important;
  background: rgba(143,178,255,.14) !important;
  color: #dbe7ff !important;
}

html[data-theme] .app-profile-shell .valuescan-info-row > em,
html[data-theme] .app-profile-shell .valuescan-password-row > em {
  color: rgba(247,242,232,.44) !important;
}

html[data-theme] body:has(.app-profile-shell) .app-profile-shell .member-section.points-section,
html[data-theme] body:has(.app-profile-shell) .app-profile-shell .member-sidebar,
html[data-theme] body:has(.app-profile-shell) .app-profile-shell .valuescan-profile-panel,
html[data-theme] body:has(.app-profile-shell) .app-profile-shell #profile.member-section {
  border-color: var(--vs-border) !important;
  background:
    linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018)),
    var(--vs-panel) !important;
  color: var(--vs-text) !important;
}

html[data-theme] body:has(.app-profile-shell) .app-profile-shell .member-sidebar-profile {
  background:
    radial-gradient(circle at 12% 0%, rgba(217,163,77,.22), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.052), rgba(255,255,255,.018)) !important;
}

html[data-theme] body:has(.app-profile-shell) .app-profile-shell .valuescan-panel-title {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app-profile-shell .valuescan-panel-title h2 {
  color: var(--vs-text) !important;
}

html[data-theme] body:has(.app-profile-shell) .app-profile-shell .points-section .member-section-title h2,
html[data-theme] body:has(.app-profile-shell) .app-profile-shell .points-section .member-section-title p {
  color: var(--vs-text) !important;
}

html[data-theme] body:has(.app-profile-shell) .app-profile-shell .points-section .member-section-title p {
  opacity: .68 !important;
}

html[data-theme] body:has(.app-profile-shell) .app-profile-shell .member-section-nav {
  scrollbar-width: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app-profile-shell .member-section-nav::-webkit-scrollbar {
  display: none !important;
}

html[data-theme] .app-profile-shell .community-credit-grid > div:nth-child(1) {
  border-color: rgba(217,163,77,.20) !important;
  background: linear-gradient(145deg, rgba(217,163,77,.10), rgba(255,255,255,.035)) !important;
}

html[data-theme] .app-profile-shell .community-credit-note,
html[data-theme] .app-profile-shell .email-alert-digest-preview span {
  color: rgba(247,242,232,.58) !important;
}

html[data-theme] .app-profile-shell .community-credit-panel {
  background:
    radial-gradient(circle at 86% 12%, rgba(217,163,77,.12), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.052), rgba(255,255,255,.018)),
    var(--vs-panel) !important;
}

html[data-theme] .app-profile-shell .community-credit-seal,
html[data-theme] .app-profile-shell .community-credit-rank,
html[data-theme] .app-profile-shell .community-credit-metrics > div,
html[data-theme] .app-profile-shell .account-security-item,
html[data-theme] .app-profile-shell .password-setting-note {
  border-color: rgba(238,226,205,.12) !important;
  border-radius: 14px !important;
}

html[data-theme] .app-profile-shell .account-security-item a,
html[data-theme] .app-profile-shell .account-security-item em {
  border-radius: 999px !important;
}

html[data-theme] .app-profile-shell .wealth-fortune-confirm small.is-warning {
  color: #ffe0a0 !important;
}

html[data-theme] .app-profile-shell .wealth-fortune-subtle {
  color: rgba(255,190,92,.68) !important;
}

html[data-theme] .app-profile-shell .email-alert-digest-preview {
  border-color: rgba(217,163,77,.16) !important;
  border-radius: 16px !important;
  background: rgba(217,163,77,.075) !important;
}

html[data-theme] .app-profile-shell .member-sidebar-profile .avatar-badge.large,
html[data-theme] .app-profile-shell .member-overview-person .avatar-badge.large,
html[data-theme] .app-profile-shell .avatar-setting-preview .avatar-badge,
html[data-theme] .app-profile-shell .avatar-modal-preview .avatar-badge {
  border-radius: 999px !important;
}

html[data-theme] .app-profile-shell .member-sidebar-profile .avatar-badge.large img,
html[data-theme] .app-profile-shell .member-overview-person .avatar-badge.large img,
html[data-theme] .app-profile-shell .avatar-setting-preview .avatar-badge img,
html[data-theme] .app-profile-shell .avatar-modal-preview .avatar-badge img {
  border-radius: 999px !important;
}

html[data-theme] .app-profile-shell .point-recharge-hero,
html[data-theme] .app-profile-shell .point-plan-grid,
html[data-theme] .app-profile-shell .point-usage-grid,
html[data-theme] .app-profile-shell .point-quick-observe {
  position: relative !important;
  z-index: 1 !important;
}

html[data-theme] .app-profile-shell .point-balance-card,
html[data-theme] .app-profile-shell .point-plan-grid article,
html[data-theme] .app-profile-shell .point-usage-panel,
html[data-theme] .app-profile-shell .point-quick-observe,
html[data-theme] .app-profile-shell .point-recharge-note {
  border-color: rgba(238,226,205,.12) !important;
  background:
    linear-gradient(145deg, rgba(255,255,255,.058), rgba(255,255,255,.018)),
    rgba(17,15,14,.28) !important;
}

html[data-theme] .app-profile-shell .point-recharge-actions a.primary {
  color: #1b1207 !important;
  background: linear-gradient(135deg, #ffe0a0, #d9a34d) !important;
}

html[data-theme] .app-profile-shell .point-recharge-actions button,
html[data-theme] .app-profile-shell .point-usage-head button,
html[data-theme] .app-profile-shell .point-recharge-note button,
html[data-theme] .app-profile-shell .member-tutorial-controls > button {
  color: rgba(247,242,232,.84) !important;
  background: rgba(255,255,255,.045) !important;
}

html[data-theme] .app-profile-shell .point-plan-grid b,
html[data-theme] .app-profile-shell .point-usage-grid b,
html[data-theme] .app-profile-shell .member-tutorial-copy a {
  color: #f6d28d !important;
}

html[data-theme] .app-profile-shell .member-tutorial-slide,
html[data-theme] .app-profile-shell .member-tutorial-visual {
  border-color: rgba(238,226,205,.13) !important;
}

@media (max-width: 760px) {
  html[data-theme] .app-profile-shell {
    width: 100% !important;
    padding: 78px 10px 108px !important;
  }

  html[data-theme] .app-profile-shell .member-center-layout {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  html[data-theme] .app-profile-shell .member-sidebar {
    position: static !important;
    min-height: 0 !important;
    border-radius: 20px !important;
  }

  html[data-theme] .app-profile-shell .member-sidebar-profile {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    justify-items: start !important;
    gap: 10px !important;
    padding: 14px !important;
    text-align: left !important;
  }

  html[data-theme] .app-profile-shell .member-sidebar-identity {
    grid-column: 1 / -1 !important;
    grid-template-columns: 62px minmax(0, 1fr) !important;
    gap: 11px !important;
    padding: 11px !important;
    border-radius: 17px !important;
  }

  html[data-theme] .app-profile-shell .member-sidebar-profile .avatar-badge.large {
    width: 60px !important;
    height: 60px !important;
    min-width: 60px !important;
    min-height: 60px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 999px !important;
  }

  html[data-theme] .app-profile-shell .member-sidebar-id b {
    font-size: 17px !important;
  }

  html[data-theme] .app-profile-shell .member-sidebar-honor {
    grid-column: 1 / 2 !important;
    display: grid !important;
    align-content: center !important;
    justify-items: start !important;
    gap: 6px !important;
    min-height: 42px !important;
    padding: 10px 11px !important;
  }

  html[data-theme] .app-profile-shell .member-sidebar-honor b {
    justify-content: flex-start !important;
  }

  html[data-theme] .app-profile-shell .member-sidebar-stats {
    grid-column: 2 / -1 !important;
  }

  html[data-theme] .app-profile-shell .member-sidebar-stats > div {
    min-height: 58px !important;
    padding: 10px 11px !important;
  }

  html[data-theme] .app-profile-shell .member-sidebar-stats b {
    margin-top: 7px !important;
    font-size: 21px !important;
  }

  html[data-theme] .app-profile-shell .point-recharge-hero,
  html[data-theme] .app-profile-shell .point-plan-grid,
  html[data-theme] .app-profile-shell .point-usage-grid,
  html[data-theme] .app-profile-shell .point-quick-observe,
  html[data-theme] .app-profile-shell .member-tutorial-slide {
    grid-template-columns: 1fr !important;
  }

  html[data-theme] .app-profile-shell .point-recharge-actions {
    align-content: stretch !important;
  }

  html[data-theme] .app-profile-shell .point-usage-head,
  html[data-theme] .app-profile-shell .point-recharge-note,
  html[data-theme] .app-profile-shell .member-tutorial-controls {
    align-items: stretch !important;
    flex-direction: column !important;
  }

  html[data-theme] .app-profile-shell .member-tutorial-slide {
    min-height: 0 !important;
    padding: 13px !important;
  }

  html[data-theme] .app-profile-shell .member-tutorial-visual {
    min-height: 220px !important;
  }

  html[data-theme] .app-profile-shell .points-detail-modal {
    padding: 12px !important;
  }

  html[data-theme] .app-profile-shell .points-detail-panel {
    max-height: calc(100dvh - 24px) !important;
    padding: 14px !important;
    border-radius: 20px !important;
  }

  html[data-theme] .app-profile-shell .member-section-nav {
    display: flex !important;
    gap: 8px !important;
    overflow-x: auto !important;
    padding: 10px !important;
  }

  html[data-theme] .app-profile-shell .member-section-nav a {
    flex: 0 0 auto !important;
    min-height: 38px !important;
    padding: 0 14px !important;
  }

  html[data-theme] .app-profile-shell .member-section-nav a::before {
    display: none !important;
  }

  html[data-theme] .app-profile-shell .member-section,
  html[data-theme] .app-profile-shell .valuescan-profile-panel {
    padding: 17px !important;
    border-radius: 20px !important;
  }

  html[data-theme] .app-profile-shell .member-section-title {
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: start !important;
  }

  html[data-theme] .app-profile-shell .member-level-mark {
    min-width: 64px !important;
    min-height: 54px !important;
    font-size: 22px !important;
  }

  html[data-theme] .app-profile-shell .points-observe-form,
  html[data-theme] .app-profile-shell .wealth-fortune-form,
  html[data-theme] .app-profile-shell .member-dual-list,
  html[data-theme] .app-profile-shell .valuescan-basic-grid {
    grid-template-columns: 1fr !important;
  }

  html[data-theme] .app-profile-shell .wealth-fortune-form {
    gap: 6px !important;
    padding: 10px 12px 12px !important;
  }

  html[data-theme] .app-profile-shell .wealth-fortune-form label {
    gap: 4px !important;
  }

  html[data-theme] .app-profile-shell .wealth-fortune-form input,
  html[data-theme] .app-profile-shell .wealth-fortune-form select {
    min-height: 42px !important;
  }

  html[data-theme] .app-profile-shell .wealth-fortune-form button.primary {
    min-height: 46px !important;
    scroll-margin-bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important;
  }

  html[data-theme] .app-profile-shell .wealth-fortune-report {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html[data-theme] .app-profile-shell .wealth-fortune-tags,
  html[data-theme] .app-profile-shell .wealth-fortune-days {
    grid-template-columns: 1fr !important;
  }

  html[data-theme] .app-profile-shell .valuescan-info-row,
  html[data-theme] .app-profile-shell .valuescan-password-row {
    grid-template-columns: 86px minmax(0, 1fr) auto !important;
  }
}

@media (max-width: 1180px) {
  html[data-theme] .app-profile-shell .profile-premium-layout {
    grid-template-columns: 1fr !important;
  }

  html[data-theme] .app-profile-shell .profile-premium-aside {
    position: static !important;
    top: auto !important;
  }

  html[data-theme] .app-profile-shell .profile-subscription-card {
    min-height: 0 !important;
  }

  html[data-theme] .app-profile-shell .profile-subscription-card-inner {
    min-height: 0 !important;
  }
}

@media (max-width: 760px) {
  html[data-theme] .app-profile-shell .profile-premium-layout {
    gap: 12px !important;
  }

  html[data-theme] .app-profile-shell .profile-subscription-card {
    border-radius: 20px !important;
  }

  html[data-theme] .app-profile-shell .profile-subscription-card-inner {
    padding: 18px !important;
    border-radius: 19px !important;
  }

  html[data-theme] .app-profile-shell .profile-subscription-card h3 {
    font-size: 25px !important;
  }

  html[data-theme] .app-profile-shell .profile-subscription-metrics {
    grid-template-columns: 1fr !important;
  }
}

/* 最终覆盖：统一子页输入/信息行，避免后置旧规则回到蓝黑底 */
html[data-theme] body:has(.app-member-shell:not(.app-home-shell)) .app-member-shell input,
html[data-theme] body:has(.app-member-shell:not(.app-home-shell)) .app-member-shell textarea,
html[data-theme] body:has(.app-member-shell:not(.app-home-shell)) .app-member-shell select,
html[data-theme] body:has(.app-auth-shell) .app-auth-shell input,
html[data-theme] body:has(.app-auth-shell) .app-auth-shell textarea,
html[data-theme] body:has(.app-auth-shell) .app-auth-shell select,
html[data-theme] body:has(.identity-modal) .identity-modal input,
html[data-theme] body:has(.identity-modal) .identity-modal textarea,
html[data-theme] body:has(.identity-modal) .identity-modal select{
  border-color: rgba(238,226,205,.15) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018)),
    rgba(28,24,20,.78) !important;
  color: #f7f2e8 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045) !important;
}

html[data-theme] body:has(.app-member-shell:not(.app-home-shell)) .app-member-shell input::placeholder,
html[data-theme] body:has(.app-member-shell:not(.app-home-shell)) .app-member-shell textarea::placeholder,
html[data-theme] body:has(.app-auth-shell) .app-auth-shell input::placeholder,
html[data-theme] body:has(.app-auth-shell) .app-auth-shell textarea::placeholder,
html[data-theme] body:has(.identity-modal) .identity-modal input::placeholder,
html[data-theme] body:has(.identity-modal) .identity-modal textarea::placeholder{
  color: rgba(247,242,232,.38) !important;
}

html[data-theme] body:has(.app-member-shell:not(.app-home-shell)) .app-member-shell input:focus,
html[data-theme] body:has(.app-member-shell:not(.app-home-shell)) .app-member-shell textarea:focus,
html[data-theme] body:has(.app-member-shell:not(.app-home-shell)) .app-member-shell select:focus,
html[data-theme] body:has(.app-auth-shell) .app-auth-shell input:focus,
html[data-theme] body:has(.app-auth-shell) .app-auth-shell textarea:focus,
html[data-theme] body:has(.app-auth-shell) .app-auth-shell select:focus,
html[data-theme] body:has(.identity-modal) .identity-modal input:focus,
html[data-theme] body:has(.identity-modal) .identity-modal textarea:focus,
html[data-theme] body:has(.identity-modal) .identity-modal select:focus{
  border-color: rgba(217,163,77,.54) !important;
  box-shadow: 0 0 0 4px rgba(217,163,77,.12), inset 0 1px 0 rgba(255,255,255,.06) !important;
}

html[data-theme] .app-profile-shell .valuescan-info-row > b,
html[data-theme] .app-profile-shell .valuescan-info-row > a {
  border-color: rgba(238,226,205,.12) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018)),
    rgba(28,24,20,.78) !important;
  color: #f7f2e8 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04) !important;
}

/* 最终覆盖：吉祥号/登录共用暖黑金输入，桌面和手机不再分两套视觉。 */
html[data-theme] .identity-modal .identity-form input,
html[data-theme] .identity-modal .identity-form textarea,
html[data-theme] .identity-modal .identity-form select,
html[data-theme] .app-identity-shell .identity-form input,
html[data-theme] .app-identity-shell .identity-form textarea,
html[data-theme] .app-identity-shell .identity-form select,
html[data-theme] .app-auth-shell .auth-field input,
html[data-theme] .app-auth-shell .auth-password-row,
html[data-theme] .app-auth-shell .auth-password-row input {
  border-color: rgba(217,163,77,.24) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012)),
    rgba(24,20,17,.94) !important;
  color: #f8f1e5 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045) !important;
  caret-color: #f0bd69 !important;
}

html[data-theme] .identity-modal .identity-form input:focus,
html[data-theme] .identity-modal .identity-form textarea:focus,
html[data-theme] .identity-modal .identity-form select:focus,
html[data-theme] .app-identity-shell .identity-form input:focus,
html[data-theme] .app-identity-shell .identity-form textarea:focus,
html[data-theme] .app-identity-shell .identity-form select:focus,
html[data-theme] .app-auth-shell .auth-field input:focus,
html[data-theme] .app-auth-shell .auth-password-row:focus-within {
  border-color: rgba(240,189,105,.68) !important;
  box-shadow: 0 0 0 4px rgba(217,163,77,.13), inset 0 1px 0 rgba(255,255,255,.06) !important;
}

html[data-theme] .identity-modal .identity-form input:-webkit-autofill,
html[data-theme] .identity-modal .identity-form input:-webkit-autofill:hover,
html[data-theme] .identity-modal .identity-form input:-webkit-autofill:focus,
html[data-theme] .app-identity-shell .identity-form input:-webkit-autofill,
html[data-theme] .app-identity-shell .identity-form input:-webkit-autofill:hover,
html[data-theme] .app-identity-shell .identity-form input:-webkit-autofill:focus,
html[data-theme] .app-auth-shell input:-webkit-autofill,
html[data-theme] .app-auth-shell input:-webkit-autofill:hover,
html[data-theme] .app-auth-shell input:-webkit-autofill:focus {
  border-color: rgba(240,189,105,.50) !important;
  -webkit-text-fill-color: #f8f1e5 !important;
  caret-color: #f0bd69 !important;
  box-shadow: 0 0 0 1000px #181411 inset, 0 0 0 4px rgba(217,163,77,.10) !important;
  transition: background-color 9999s ease-out !important;
}

html[data-theme] .identity-modal .identity-modal-dialog,
html[data-theme="dark"] .identity-modal .identity-modal-dialog {
  border-color: rgba(238,226,205,.14) !important;
  background:
    radial-gradient(circle at 14% 0%, rgba(217,163,77,.18), transparent 34%),
    linear-gradient(150deg, rgba(45,35,25,.96), rgba(14,13,12,.98)) !important;
  color: #f8f1e5 !important;
  box-shadow: 0 26px 80px rgba(0,0,0,.46), inset 0 1px 0 rgba(255,255,255,.06) !important;
}

html[data-theme] .identity-modal .identity-modal-dialog h2{
  color: #fff7ea !important;
}

html[data-theme] .identity-modal .identity-modal-dialog p{
  color: rgba(247,242,232,.70) !important;
}

html[data-theme] .identity-modal .identity-modal-lucky,
html[data-theme] .identity-modal .identity-login-tabs,
html[data-theme] .identity-modal .identity-modal-close{
  border-color: rgba(217,163,77,.24) !important;
  background: rgba(217,163,77,.10) !important;
  color: #f8f1e5 !important;
}

html[data-theme] .identity-modal .identity-modal-lucky small,
html[data-theme] .identity-modal .identity-field span{
  color: rgba(240,189,105,.86) !important;
}

html[data-theme] .identity-modal .identity-modal-lucky strong{
  color: #ffd88f !important;
}

html[data-theme] .identity-modal .identity-login-tabs button{
  background: rgba(255,255,255,.035) !important;
  color: rgba(247,242,232,.66) !important;
}

html[data-theme] .identity-modal .identity-login-tabs button:not(.active){
  background: rgba(255,255,255,.035) !important;
  color: rgba(247,242,232,.68) !important;
}

html[data-theme] .identity-modal .identity-login-tabs button.active{
  background: rgba(217,163,77,.20) !important;
  color: #ffd88f !important;
}

html[data-theme] .identity-modal .identity-modal-close::before,
html[data-theme] .identity-modal .identity-modal-close::after{
  background: #f8f1e5 !important;
}

html[data-theme] .nav-identity-menu {
  position: relative;
}

html[data-theme] .nav-identity-trigger,
html[data-theme] .app-portal > .topbar .nav-identity-trigger,
html[data-theme] .app-admin-shell > .topbar .nav-identity-trigger,
html[data-theme] .app-minimal-shell > .topbar .nav-identity-trigger {
  gap: 8px !important;
  height: 38px !important;
  min-height: 38px !important;
  max-width: 176px !important;
  padding: 0 12px 0 5px !important;
  border-color: rgba(225,169,86,.20) !important;
  background:
    linear-gradient(135deg, rgba(89,63,34,.62), rgba(25,22,19,.86)) !important;
  color: #f8f1e5 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 10px 26px rgba(0,0,0,.18) !important;
  cursor: pointer !important;
}

html[data-theme] .nav-identity-trigger:hover,
html[data-theme] .nav-profile-menu:focus-within .nav-identity-trigger {
  border-color: rgba(242,184,92,.48) !important;
  background:
    linear-gradient(135deg, rgba(104,73,37,.82), rgba(31,26,21,.92)) !important;
}

html[data-theme] .nav-identity-trigger .nav-avatar {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  border-radius: 999px !important;
  box-shadow: 0 0 0 1px rgba(242,184,92,.38), 0 6px 14px rgba(0,0,0,.20) !important;
}

html[data-theme] .nav-identity-card,
html[data-theme] .app-member-shell .nav-identity-card,
html[data-theme] .app-portal > .topbar .nav-identity-card,
html[data-theme] .app-admin-shell > .topbar .nav-identity-card,
html[data-theme] .app-minimal-shell > .topbar .nav-identity-card {
  top: calc(100% + 12px) !important;
  right: 0 !important;
  z-index: 2600 !important;
  display: grid !important;
  width: 326px !important;
  min-width: 326px !important;
  gap: 12px !important;
  padding: 14px !important;
  border: 1px solid rgba(238,226,205,.14) !important;
  border-radius: 18px !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(225,169,86,.20), transparent 38%),
    linear-gradient(150deg, rgba(42,34,26,.98), rgba(14,13,12,.96)) !important;
  background-color: #181411 !important;
  background-image:
    radial-gradient(circle at 18% 0%, rgba(225,169,86,.20), transparent 38%),
    linear-gradient(150deg, rgba(42,34,26,.98), rgba(14,13,12,.96)) !important;
  box-shadow: 0 24px 70px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.06) !important;
}

html[data-theme] .nav-identity-head {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 2px 2px 12px;
  border-bottom: 1px solid rgba(238,226,205,.10);
}

html[data-theme] .nav-identity-avatar {
  width: 58px !important;
  height: 58px !important;
  border-radius: 17px !important;
  box-shadow: 0 0 0 1px rgba(242,184,92,.34), 0 14px 30px rgba(0,0,0,.28) !important;
}

html[data-theme] .nav-identity-head b {
  display: block;
  overflow: hidden;
  color: #fff7ea;
  font-size: 19px;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html[data-theme] .nav-identity-head span {
  display: block;
  margin-top: 7px;
  color: rgba(247,242,232,.54);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
}

html[data-theme] .nav-identity-stats {
  display: grid;
  gap: 9px;
  margin: 0;
}

html[data-theme] .nav-identity-stat {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

html[data-theme] .nav-identity-stat dt {
  margin: 0;
  color: rgba(247,242,232,.52);
  font-size: 13px;
  font-weight: 700;
}

html[data-theme] .nav-identity-stat dd {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
  margin: 0;
}

html[data-theme] .nav-identity-level .member-level-symbols {
  justify-content: flex-start;
}

html[data-theme] .nav-identity-level .member-level-icon {
  width: 19px;
  height: 19px;
}

html[data-theme] .nav-identity-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  max-width: 100%;
  padding: 0 9px;
  border: 1px solid rgba(238,226,205,.10);
  border-radius: 999px;
  background: rgba(255,255,255,.055);
  color: rgba(247,242,232,.84);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

html[data-theme] .nav-identity-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

html[data-theme] .nav-identity-card .nav-identity-actions a,
html[data-theme] .app-member-shell .nav-identity-card .nav-identity-actions a,
html[data-theme] .app-portal > .topbar .nav-identity-card .nav-identity-actions a,
html[data-theme] .app-admin-shell > .topbar .nav-identity-card .nav-identity-actions a,
html[data-theme] .app-minimal-shell > .topbar .nav-identity-card .nav-identity-actions a {
  justify-content: center !important;
  min-height: 38px !important;
  padding: 0 12px !important;
  border: 1px solid rgba(238,226,205,.12) !important;
  border-radius: 13px !important;
  background: rgba(255,255,255,.055) !important;
  color: rgba(247,242,232,.92) !important;
  text-align: center !important;
}

html[data-theme] .nav-identity-card .nav-identity-actions .nav-identity-edit {
  border-color: rgba(240,182,82,.28) !important;
  background: linear-gradient(135deg, #f0bc67, #d99535) !important;
  color: #1a1208 !important;
  box-shadow: 0 12px 28px rgba(217,149,53,.20) !important;
}

html[data-theme] .nav-identity-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding-top: 2px;
}

html[data-theme] .nav-identity-card .nav-identity-links a,
html[data-theme] .nav-identity-card .nav-identity-links button,
html[data-theme] .app-member-shell .nav-identity-card .nav-identity-links a,
html[data-theme] .app-member-shell .nav-identity-card .nav-identity-links button,
html[data-theme] .app-portal > .topbar .nav-identity-card .nav-identity-links a,
html[data-theme] .app-portal > .topbar .nav-identity-card .nav-identity-links button,
html[data-theme] .app-admin-shell > .topbar .nav-identity-card .nav-identity-links a,
html[data-theme] .app-admin-shell > .topbar .nav-identity-card .nav-identity-links button,
html[data-theme] .app-minimal-shell > .topbar .nav-identity-card .nav-identity-links a,
html[data-theme] .app-minimal-shell > .topbar .nav-identity-card .nav-identity-links button {
  min-height: 32px !important;
  padding: 0 10px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: rgba(247,242,232,.66) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

html[data-theme] .nav-identity-card .nav-identity-links a:hover,
html[data-theme] .nav-identity-card .nav-identity-links button:hover,
html[data-theme] .nav-identity-card .nav-identity-links a:focus-visible,
html[data-theme] .nav-identity-card .nav-identity-links button:focus-visible {
  background: rgba(255,255,255,.07) !important;
  color: #fff7ea !important;
}

html[data-theme] .nav-identity-links form {
  grid-column: span 2;
  margin: 0;
}

@media (max-width: 760px) {
  html[data-theme] .desktop-nav-profile.nav-identity-menu {
    display: none !important;
  }
}

html[data-theme] body .member-checkin-backdrop,
html[data-theme="dark"] body .member-checkin-backdrop {
  display: block !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background:
    radial-gradient(circle at 50% 18%, rgba(255,188,92,.10), transparent 30%),
    linear-gradient(180deg, rgba(8,6,4,.88), rgba(0,0,0,.92)) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transform: none !important;
}

html[data-theme] body .member-checkin-submit,
html[data-theme="dark"] body .member-checkin-submit {
  border-color: rgba(255,209,138,.74) !important;
  background: linear-gradient(180deg, #ffe0a1, #d49338) !important;
  color: #17100a !important;
}

html[data-theme] body .member-checkin-submit:disabled,
html[data-theme="dark"] body .member-checkin-submit:disabled {
  border-color: rgba(255,209,138,.26) !important;
  background: rgba(255,209,138,.12) !important;
  color: #ffd18a !important;
}

html[data-theme] body .member-checkin-later,
html[data-theme="dark"] body .member-checkin-later {
  border-color: rgba(255,255,255,.13) !important;
  background: rgba(20,16,12,.72) !important;
  color: rgba(247,242,232,.78) !important;
}

html body .app.app-home-shell.app-member-shell > nav.topbar > a.brand,
html[data-theme="dark"] body .app.app-home-shell.app-member-shell > nav.topbar > a.brand {
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: rgba(255,255,255,.96) !important;
  font-size: 16px !important;
  font-weight: 750 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
  text-shadow: 0 1px 12px rgba(0,0,0,.34) !important;
}

html body .app.app-home-shell.app-member-shell > nav.topbar > a.brand::before,
html body .app.app-home-shell.app-member-shell > nav.topbar > a.brand::after,
html[data-theme="dark"] body .app.app-home-shell.app-member-shell > nav.topbar > a.brand::before,
html[data-theme="dark"] body .app.app-home-shell.app-member-shell > nav.topbar > a.brand::after {
  content: none !important;
  display: none !important;
}

@media (max-width: 860px) {
  html body .app.app-home-shell.app-member-shell > nav.topbar,
  html body .app.app-home-shell.app-member-shell > nav.topbar.glass-surface-native--svg,
  html body .app.app-home-shell.app-member-shell > nav.topbar.glass-surface-native--fallback,
  html[data-theme="dark"] body .app.app-home-shell.app-member-shell > nav.topbar,
  html[data-theme="dark"] body .app.app-home-shell.app-member-shell > nav.topbar.glass-surface-native--svg,
  html[data-theme="dark"] body .app.app-home-shell.app-member-shell > nav.topbar.glass-surface-native--fallback {
    top: calc(12px + env(safe-area-inset-top)) !important;
    left: calc(12px + env(safe-area-inset-left)) !important;
    right: calc(12px + env(safe-area-inset-right)) !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 18px !important;
    overflow: hidden !important;
    isolation: isolate !important;
    border: 1px solid rgba(var(--ink-rgb,244,239,232),.035) !important;
    border-radius: 18px !important;
    background: rgba(32,26,20,.18) !important;
    box-shadow: 0 18px 42px rgba(0,0,0,.22) !important;
  }

  html body .app.app-home-shell.app-member-shell > nav.topbar.glass-surface-native--svg,
  html[data-theme="dark"] body .app.app-home-shell.app-member-shell > nav.topbar.glass-surface-native--svg {
    backdrop-filter: var(--glass-filter-id) saturate(1.08) brightness(1.04) !important;
    -webkit-backdrop-filter: var(--glass-filter-id) saturate(1.08) brightness(1.04) !important;
  }

  html body .app.app-home-shell.app-member-shell > nav.topbar.glass-surface-native--fallback,
  html[data-theme="dark"] body .app.app-home-shell.app-member-shell > nav.topbar.glass-surface-native--fallback {
    background: rgba(32,26,20,.26) !important;
    backdrop-filter: blur(22px) saturate(1.24) brightness(1.04) !important;
    -webkit-backdrop-filter: blur(22px) saturate(1.24) brightness(1.04) !important;
  }

  html body .app.app-home-shell.app-member-shell > nav.topbar::before,
  html body .app.app-home-shell.app-member-shell > nav.topbar::after,
  html body .app.app-home-shell.app-member-shell > nav.topbar.glass-surface-native--svg::before,
  html body .app.app-home-shell.app-member-shell > nav.topbar.glass-surface-native--fallback::before,
  html[data-theme="dark"] body .app.app-home-shell.app-member-shell > nav.topbar::before {
    display: none !important;
    opacity: 0 !important;
  }

  html body .app.app-home-shell.app-member-shell > nav.topbar > .desktop-nav-alert,
  html body .app.app-home-shell.app-member-shell > nav.topbar > .nav-alert,
  html[data-theme="dark"] body .app.app-home-shell.app-member-shell > nav.topbar > .desktop-nav-alert {
    display: none !important;
  }

  html body .app.app-home-shell.app-member-shell > .mobile-nav-alert,
  html[data-theme="dark"] body .app.app-home-shell.app-member-shell > .mobile-nav-alert {
    top: calc(19px + env(safe-area-inset-top)) !important;
    right: calc(24px + env(safe-area-inset-right)) !important;
    z-index: 2147483002 !important;
    margin: 0 !important;
  }

  html body .app.app-home-shell.app-member-shell > .mobile-nav-alert .alert-button,
  html[data-theme="dark"] body .app.app-home-shell.app-member-shell > .mobile-nav-alert .alert-button {
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    animation: none !important;
    transform: none !important;
  }

  html body .app.app-home-shell.app-member-shell > .mobile-nav-alert .alert-icon,
  html[data-theme="dark"] body .app.app-home-shell.app-member-shell > .mobile-nav-alert .alert-icon {
    width: 22px !important;
    height: 22px !important;
    color: rgba(255,246,232,.92) !important;
  }

  html body .app.app-home-shell.app-member-shell > .mobile-nav-alert .alert-icon svg,
  html[data-theme="dark"] body .app.app-home-shell.app-member-shell > .mobile-nav-alert .alert-icon svg {
    width: 20px !important;
    height: 20px !important;
    color: rgba(255,246,232,.92) !important;
    opacity: .92 !important;
  }

  html body .app.app-home-shell.app-member-shell > nav.topbar > :not(.glass-surface-filter),
  html[data-theme="dark"] body .app.app-home-shell.app-member-shell > nav.topbar > :not(.glass-surface-filter) {
    position: relative;
    z-index: 1;
  }
}

/* GlassSurface-compatible material for the mobile top navigation. */
.glass-surface {
  position: relative;
  overflow: hidden;
  transition: opacity .26s ease-out;
}

.glass-surface:not(.topbar):not(.mobile-bottom-nav) {
  display: flex;
  align-items: center;
  justify-content: center;
}

.glass-surface__filter,
.glass-surface-filter {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
}

.glass-surface__content {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  padding: .5rem;
  border-radius: inherit;
}

.glass-surface--svg {
  background: hsl(0 0% 0% / var(--glass-frost, 0));
  backdrop-filter: var(--filter-id, var(--glass-filter-id)) saturate(var(--glass-saturation, 1));
  -webkit-backdrop-filter: var(--filter-id, var(--glass-filter-id)) saturate(var(--glass-saturation, 1));
}

.glass-surface--fallback {
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(12px) saturate(1.8) brightness(1.12);
  -webkit-backdrop-filter: blur(12px) saturate(1.8) brightness(1.12);
}

@media (max-width: 860px) {
  html body .app.app-member-shell > nav.topbar.glass-surface,
  html body .app.app-member-shell > nav.topbar.glass-surface-native--svg,
  html body .app.app-member-shell > nav.topbar.glass-surface-native--fallback,
  html[data-theme="dark"] body .app.app-member-shell > nav.topbar.glass-surface {
    position: fixed !important;
    top: calc(12px + env(safe-area-inset-top)) !important;
    left: calc(12px + env(safe-area-inset-left)) !important;
    right: calc(12px + env(safe-area-inset-right)) !important;
    z-index: 2147483000 !important;
    display: flex !important;
    width: auto !important;
    max-width: none !important;
    height: 48px !important;
    min-height: 48px !important;
    margin: 0 !important;
    padding: 0 18px !important;
    align-items: center !important;
    justify-content: space-between !important;
    overflow: hidden !important;
    isolation: isolate !important;
    border: 1px solid rgba(var(--ink-rgb,244,239,232),.16) !important;
    border-radius: 18px !important;
    color: rgba(255,246,232,.94) !important;
    box-shadow:
      inset 0 0 2px 1px rgba(255,255,255,.16),
      inset 0 0 10px 4px rgba(255,255,255,.08),
      0 10px 30px rgba(0,0,0,.28) !important;
    transform: translate3d(0,0,0) !important;
  }

  html body .app.app-member-shell > nav.topbar.glass-surface--svg,
  html body .app.app-member-shell > nav.topbar.glass-surface-native--svg,
  html[data-theme="dark"] body .app.app-member-shell > nav.topbar.glass-surface--svg {
    background: hsl(0 0% 0% / var(--glass-frost, .02)) !important;
    backdrop-filter: var(--filter-id, var(--glass-filter-id)) saturate(var(--glass-saturation, 1.08)) !important;
    -webkit-backdrop-filter: var(--filter-id, var(--glass-filter-id)) saturate(var(--glass-saturation, 1.08)) !important;
  }

  html body .app.app-member-shell > nav.topbar.glass-surface--fallback,
  html body .app.app-member-shell > nav.topbar.glass-surface-native--fallback,
  html[data-theme="dark"] body .app.app-member-shell > nav.topbar.glass-surface--fallback {
    background: rgba(255,255,255,.085) !important;
    backdrop-filter: blur(12px) saturate(1.8) brightness(1.16) !important;
    -webkit-backdrop-filter: blur(12px) saturate(1.8) brightness(1.16) !important;
  }

  html body .app.app-member-shell > nav.topbar::before,
  html body .app.app-member-shell > nav.topbar::after,
  html body .app.app-member-shell > nav.topbar.glass-surface::before,
  html body .app.app-member-shell > nav.topbar.glass-surface::after {
    display: none !important;
    opacity: 0 !important;
  }

  html body .app.app-member-shell > nav.topbar .brand,
  html body .app.app-member-shell > nav.topbar > :not(.glass-surface-filter):not(.glass-surface__filter) {
    position: relative !important;
    z-index: 1 !important;
  }

  html body .app.app-member-shell > nav.topbar > .desktop-nav-alert,
  html body .app.app-member-shell > nav.topbar > .nav-alert {
    display: none !important;
  }

  html body .app.app-member-shell > .mobile-nav-alert,
  html[data-theme="dark"] body .app.app-member-shell > .mobile-nav-alert {
    top: calc(19px + env(safe-area-inset-top)) !important;
    right: calc(24px + env(safe-area-inset-right)) !important;
    z-index: 2147483002 !important;
    margin: 0 !important;
  }

  html body .app.app-member-shell > .mobile-nav-alert .alert-button,
  html[data-theme="dark"] body .app.app-member-shell > .mobile-nav-alert .alert-button {
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: rgba(255,246,232,.92) !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    animation: none !important;
    transform: none !important;
  }

  html body .app.app-home-shell.app-member-shell > nav.topbar.glass-surface--svg,
  html body .app.app-home-shell.app-member-shell > nav.topbar.glass-surface-native--svg,
  html[data-theme="dark"] body .app.app-home-shell.app-member-shell > nav.topbar.glass-surface--svg,
  html[data-theme="dark"] body .app.app-home-shell.app-member-shell > nav.topbar.glass-surface-native--svg {
    border-color: rgba(var(--ink-rgb,244,239,232),.16) !important;
    background: hsl(0 0% 0% / var(--glass-frost, .02)) !important;
    box-shadow:
      inset 0 0 2px 1px rgba(255,255,255,.16),
      inset 0 0 10px 4px rgba(255,255,255,.08),
      0 10px 30px rgba(0,0,0,.28) !important;
    backdrop-filter: var(--filter-id, var(--glass-filter-id)) saturate(var(--glass-saturation, 1.08)) !important;
    -webkit-backdrop-filter: var(--filter-id, var(--glass-filter-id)) saturate(var(--glass-saturation, 1.08)) !important;
  }

  html body .app.app-home-shell.app-member-shell > nav.topbar.glass-surface--fallback,
  html body .app.app-home-shell.app-member-shell > nav.topbar.glass-surface-native--fallback,
  html[data-theme="dark"] body .app.app-home-shell.app-member-shell > nav.topbar.glass-surface--fallback,
  html[data-theme="dark"] body .app.app-home-shell.app-member-shell > nav.topbar.glass-surface-native--fallback {
    border-color: rgba(var(--ink-rgb,244,239,232),.16) !important;
    background: rgba(255,255,255,.085) !important;
    backdrop-filter: blur(12px) saturate(1.8) brightness(1.16) !important;
    -webkit-backdrop-filter: blur(12px) saturate(1.8) brightness(1.16) !important;
  }
}

/* Mobile floating navigation: remove the top bar and keep quick actions near the thumb zone. */
.mobile-floating-actions,
.mobile-home-float {
  display: none;
}

@media (max-width: 860px) {
  html body .app.app-member-shell > nav.topbar,
  html body .app.app-home-shell.app-member-shell > nav.topbar,
  html body .app.app-member-shell > nav.topbar.glass-surface,
  html body .app.app-member-shell > nav.topbar.glass-surface-native--svg,
  html body .app.app-member-shell > nav.topbar.glass-surface-native--fallback {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  html body .app.app-member-shell > .mobile-theme-toggle {
    display: none !important;
  }

  html body .app.app-member-shell > .mobile-floating-actions {
    position: fixed;
    right: calc(14px + env(safe-area-inset-right));
    bottom: calc(92px + env(safe-area-inset-bottom) + var(--mobile-visual-bottom, 0px));
    z-index: 2147483002;
    display: grid;
    gap: 10px;
    width: 50px;
    pointer-events: none;
  }

  html body .app.app-member-shell > .mobile-floating-actions .mobile-nav-alert,
  html body .app.app-member-shell > .mobile-floating-actions .mobile-home-float {
    position: relative !important;
    inset: auto !important;
    display: grid !important;
    width: 50px !important;
    min-width: 50px !important;
    height: 50px !important;
    min-height: 50px !important;
    margin: 0 !important;
    pointer-events: auto;
  }

  html body .app.app-member-shell > .mobile-floating-actions .alert-button,
  html body .app.app-member-shell > .mobile-floating-actions .mobile-home-float {
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(var(--ink-rgb,244,239,232),.14) !important;
    border-radius: 18px !important;
    color: rgba(255,246,232,.92) !important;
    background:
      linear-gradient(180deg, rgba(255,255,255,.105), rgba(255,255,255,.035)),
      rgba(18,15,13,.58) !important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.14),
      0 14px 32px rgba(0,0,0,.30) !important;
    backdrop-filter: blur(16px) saturate(1.55) brightness(1.06) !important;
    -webkit-backdrop-filter: blur(16px) saturate(1.55) brightness(1.06) !important;
    text-decoration: none;
  }

  html body .app.app-member-shell > .mobile-floating-actions .alert-button {
    width: 50px !important;
    min-width: 50px !important;
    height: 50px !important;
    min-height: 50px !important;
    padding: 0 !important;
    animation: none !important;
    transform: none !important;
  }

  html body .app.app-member-shell > .mobile-floating-actions .mobile-home-float {
    grid-template-rows: 21px auto;
    align-content: center;
    gap: 1px;
    font-size: 10px;
    font-weight: 720;
    letter-spacing: 0;
  }

  html body .app.app-member-shell > .mobile-floating-actions .mobile-home-float svg,
  html body .app.app-member-shell > .mobile-floating-actions .alert-icon svg {
    width: 21px !important;
    height: 21px !important;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  html body .app.app-member-shell > .mobile-floating-actions .mobile-home-float span {
    line-height: 1;
    color: rgba(255,218,156,.90);
  }

  html body .app.app-member-shell > .mobile-floating-actions .alert-badge {
    top: -4px;
    right: -4px;
    border-color: rgba(18,15,13,.76);
  }

  html body .app.app-member-shell > .mobile-floating-actions .mobile-nav-alert .alert-popover {
    position: fixed !important;
    top: auto !important;
    right: calc(12px + env(safe-area-inset-right)) !important;
    bottom: calc(210px + env(safe-area-inset-bottom) + var(--mobile-visual-bottom, 0px)) !important;
    left: calc(12px + env(safe-area-inset-left)) !important;
    width: auto !important;
    max-height: min(58vh, 460px);
    overflow: auto;
    border-color: rgba(var(--ink-rgb,244,239,232),.14) !important;
    background:
      linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025)),
      rgba(22,19,18,.94) !important;
    color: rgba(247,242,232,.94) !important;
    box-shadow: 0 22px 58px rgba(0,0,0,.42) !important;
  }

  html body .app.app-home-shell.app-member-shell {
    padding-top: 0 !important;
  }

  html body .app.app-profile-shell > .mobile-floating-actions {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  html body .app.app-member-shell:not(.app-home-shell),
  html[data-theme] body .app.app-member-shell:not(.app-home-shell),
  html[data-theme] body .app.app-profile-shell.app-member-shell {
    padding-top: calc(14px + env(safe-area-inset-top)) !important;
  }
}

/* Dashboard performance preview: remove heavy shadow and blur layers only on the analytics page. */
html[data-theme] body:has(.app-dashboard-shell) .app-dashboard-shell {
  --surface-shadow: none !important;
  --lz-shadow: none !important;
  --shadow: none !important;
  --shadow-soft: none !important;
  --control-shadow: none !important;
}

html[data-theme] body:has(.app-dashboard-shell) .app-dashboard-shell .topbar,
html[data-theme] body:has(.app-dashboard-shell) .app-dashboard-shell .dashboard-command-bar,
html[data-theme] body:has(.app-dashboard-shell) .app-dashboard-shell .dashboard-chart-panel,
html[data-theme] body:has(.app-dashboard-shell) .app-dashboard-shell .dashboard-title-block,
html[data-theme] body:has(.app-dashboard-shell) .app-dashboard-shell .symbol-strip,
html[data-theme] body:has(.app-dashboard-shell) .app-dashboard-shell .rank-panel,
html[data-theme] body:has(.app-dashboard-shell) .app-dashboard-shell .rank-card,
html[data-theme] body:has(.app-dashboard-shell) .app-dashboard-shell .market-sentiment-card,
html[data-theme] body:has(.app-dashboard-shell) .app-dashboard-shell .funding-panel,
html[data-theme] body:has(.app-dashboard-shell) .app-dashboard-shell .dashboard-mini-metric,
html[data-theme] body:has(.app-dashboard-shell) .app-dashboard-shell .countdown-card,
html[data-theme] body:has(.app-dashboard-shell) .app-dashboard-shell .history-digest,
html[data-theme] body:has(.app-dashboard-shell) .app-dashboard-shell .history-trade-card,
html[data-theme] body:has(.app-dashboard-shell) .app-dashboard-shell .detail-panel,
html[data-theme] body:has(.app-dashboard-shell) .app-dashboard-shell .score-percent-card,
html[data-theme] body:has(.app-dashboard-shell) .app-dashboard-shell .strategy-judgement-card,
html[data-theme] body:has(.app-dashboard-shell) .app-dashboard-shell .local-kline-frame,
html[data-theme] body:has(.app-dashboard-shell) .app-dashboard-shell .local-kline-toolbar,
html[data-theme] body:has(.app-dashboard-shell) .app-dashboard-shell .local-kline-period-menu,
html[data-theme] body:has(.app-dashboard-shell) .app-dashboard-shell .local-kline-timebar,
html[data-theme] body:has(.app-dashboard-shell) .app-dashboard-shell .local-kline-drawbar,
html[data-theme] body:has(.app-dashboard-shell) .app-dashboard-shell .chart-signal-popover,
html[data-theme] body:has(.app-dashboard-shell) .app-dashboard-shell .chart-signal-marker,
html[data-theme] body:has(.app-dashboard-shell) .app-dashboard-shell .chart-signal-dot,
html[data-theme] body:has(.app-dashboard-shell) .app-dashboard-shell .tetris-cell,
html[data-theme] body:has(.app-dashboard-shell) .app-dashboard-shell .tetris-falling-grain,
html[data-theme] body:has(.app-dashboard-shell) .app-dashboard-shell .tetris-frame,
html[data-theme] body:has(.app-dashboard-shell) .app-dashboard-shell .tetris-frame-node,
html[data-theme] body:has(.app-dashboard-shell) .app-dashboard-shell .mobile-bottom-nav {
  box-shadow: none !important;
  filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html[data-theme] body:has(.app-dashboard-shell) .app-dashboard-shell .rank-card:hover,
html[data-theme] body:has(.app-dashboard-shell) .app-dashboard-shell .rank-card.active,
html[data-theme] body:has(.app-dashboard-shell) .app-dashboard-shell .history-trade-card:hover,
html[data-theme] body:has(.app-dashboard-shell) .app-dashboard-shell .symbol-tab:hover,
html[data-theme] body:has(.app-dashboard-shell) .app-dashboard-shell .symbol-tab.active,
html[data-theme] body:has(.app-dashboard-shell) .app-dashboard-shell .asset-main:hover {
  box-shadow: none !important;
  transform: none !important;
}

html[data-theme] body:has(.app-dashboard-shell) .app-dashboard-shell .tetris-hourglass::before,
html[data-theme] body:has(.app-dashboard-shell) .app-dashboard-shell .tetris-stream::before {
  filter: none !important;
  box-shadow: none !important;
  opacity: .62 !important;
}

html[data-theme] body .app.app-dashboard-shell.app-portal .dashboard-terminal-shell.dashboard-terminal-shell,
html[data-theme] body .app.app-dashboard-shell.app-portal .card.dashboard-chart-panel.dashboard-chart-panel,
html[data-theme] body .app.app-dashboard-shell.app-portal .card.countdown-card.countdown-card,
html[data-theme] body .app.app-dashboard-shell.app-portal .card.market-card.dashboard-chart-panel,
html[data-theme] body .app.app-dashboard-shell.app-portal .card.rank-panel.rank-panel,
html[data-theme] body .app.app-dashboard-shell.app-portal .card.history-digest.history-digest,
html[data-theme] body .app.app-dashboard-shell.app-portal .card.detail-panel.detail-panel,
html[data-theme] body .app.app-dashboard-shell.app-portal .metric.dashboard-mini-metric.dashboard-mini-metric {
  box-shadow: none !important;
  filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Radar scan summary fit: keep compact metric labels from orphan wrapping. */
html[data-theme] body .app.app-radar-shell .radar-scan-summary {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

html[data-theme] body .app.app-radar-shell .radar-scan-summary p {
  display: grid !important;
  grid-template-columns: minmax(56px, 1fr) auto !important;
  align-items: center !important;
  gap: 8px !important;
  min-height: 48px !important;
  padding: 8px 10px !important;
  border-radius: 12px !important;
  background:
    linear-gradient(180deg, rgba(var(--ink-rgb,244,239,232),.055), rgba(var(--ink-rgb,244,239,232),.025)),
    rgba(16,14,13,.54) !important;
}

html[data-theme] body .app.app-radar-shell .radar-scan-summary b {
  display: block !important;
  min-width: 0 !important;
  overflow-wrap: normal !important;
  word-break: keep-all !important;
  color: rgba(247,244,238,.88) !important;
  font-size: 12px !important;
  font-weight: 760 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
}

html[data-theme] body .app.app-radar-shell .radar-scan-summary span {
  justify-self: end !important;
  min-width: max-content !important;
  color: rgba(247,244,238,.70) !important;
  font-variant-numeric: tabular-nums !important;
  font-size: 12px !important;
  font-weight: 760 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

@media (max-width: 520px) {
  html[data-theme] body .app.app-radar-shell .radar-scan-summary {
    gap: 7px !important;
  }

  html[data-theme] body .app.app-radar-shell .radar-scan-summary p {
    min-height: 46px !important;
    padding: 8px 9px !important;
    gap: 6px !important;
  }

  html[data-theme] body .app.app-radar-shell .radar-scan-summary b,
  html[data-theme] body .app.app-radar-shell .radar-scan-summary span {
    font-size: 11.5px !important;
  }
}

/* Community system feed: restrained signal cards that match the premium dark portal. */
html[data-theme] body .app.app-community-shell .chat-message-system.community-signal-item {
  grid-template-columns: 26px minmax(0, 1fr) !important;
  gap: 10px !important;
  align-items: stretch !important;
}

html[data-theme] body .app.app-community-shell .chat-message-system.community-signal-item .chat-system-avatar {
  width: 26px !important;
  height: 26px !important;
  min-height: 26px !important;
  margin-top: 4px !important;
  border: 1px solid rgba(255,214,140,.32) !important;
  color: rgba(255,236,196,.92) !important;
  background:
    radial-gradient(circle at 35% 25%, rgba(255,236,196,.22), transparent 34%),
    linear-gradient(145deg, rgba(73,61,42,.84), rgba(26,24,22,.94)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16) !important;
  font-size: 11px !important;
  font-weight: 760 !important;
}

html[data-theme] body .app.app-community-shell .chat-message-system.community-signal-item .community-signal-bubble {
  position: relative !important;
  overflow: hidden !important;
  padding: 12px 14px 12px 16px !important;
  border-radius: 14px !important;
  border-color: rgba(255,214,140,.18) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.040), rgba(255,255,255,.014)),
    rgba(22,20,18,.82) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.055) !important;
}

html[data-theme] body .app.app-community-shell .chat-message-system.community-signal-item .community-signal-bubble::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 10px !important;
  bottom: 10px !important;
  width: 3px !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, rgba(255,214,140,.28), rgba(255,145,37,.78), rgba(255,214,140,.18)) !important;
}

html[data-theme] body .app.app-community-shell .chat-message-system.community-signal-item.state-good .community-signal-bubble {
  border-color: rgba(83,216,150,.20) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.040), rgba(255,255,255,.014)),
    rgba(20,22,19,.82) !important;
}

html[data-theme] body .app.app-community-shell .chat-message-system.community-signal-item.state-good .community-signal-bubble::before {
  background: linear-gradient(180deg, rgba(137,231,178,.22), rgba(83,216,150,.72), rgba(255,214,140,.16)) !important;
}

html[data-theme] body .app.app-community-shell .chat-message-system.community-signal-item.state-bad .community-signal-bubble,
html[data-theme] body .app.app-community-shell .chat-message-system.community-signal-item.state-risk .community-signal-bubble {
  border-color: rgba(255,122,96,.18) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.038), rgba(255,255,255,.012)),
    rgba(23,20,19,.84) !important;
}

html[data-theme] body .app.app-community-shell .chat-message-system.community-signal-item.state-bad .community-signal-bubble::before,
html[data-theme] body .app.app-community-shell .chat-message-system.community-signal-item.state-risk .community-signal-bubble::before {
  background: linear-gradient(180deg, rgba(255,184,145,.18), rgba(255,122,96,.66), rgba(255,214,140,.14)) !important;
}

html[data-theme] body .app.app-community-shell .community-signal-head {
  display: grid !important;
  grid-template-columns: auto auto minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 0 8px !important;
}

html[data-theme] body .app.app-community-shell .community-signal-title {
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 7px !important;
  min-width: 0 !important;
  font-family: var(--font-main, -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif) !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
}

html[data-theme] body .app.app-community-shell .community-signal-title span {
  color: rgba(255,179,72,.92) !important;
  font-weight: 820 !important;
}

html[data-theme] body .app.app-community-shell .community-signal-title em {
  color: rgba(247,244,238,.76) !important;
  font-style: normal !important;
  font-weight: 680 !important;
}

html[data-theme] body .app.app-community-shell .community-signal-item .chat-role {
  justify-self: start !important;
  width: max-content !important;
  max-width: max-content !important;
  border: 1px solid rgba(255,214,140,.14) !important;
  color: rgba(255,232,190,.78) !important;
  background: rgba(255,214,140,.055) !important;
}

html[data-theme] body .app.app-community-shell .community-signal-item time {
  justify-self: end !important;
  margin-left: 0 !important;
  color: rgba(247,244,238,.45) !important;
  font-size: 11px !important;
  white-space: nowrap !important;
}

html[data-theme] body .app.app-community-shell .community-signal-copy {
  display: grid !important;
  gap: 4px !important;
  margin: 0 !important;
  color: rgba(247,244,238,.84) !important;
  line-height: 1.62 !important;
  overflow-wrap: anywhere !important;
}

html[data-theme] body .app.app-community-shell .community-signal-copy span {
  display: block !important;
  font-size: 13px !important;
  font-weight: 680 !important;
}

html[data-theme] body .app.app-community-shell .community-signal-copy small {
  display: block !important;
  color: rgba(247,244,238,.62) !important;
  font-size: 12px !important;
  font-weight: 560 !important;
  line-height: 1.55 !important;
}

@media (max-width: 520px) {
  html[data-theme] body .app.app-community-shell .chat-message-system.community-signal-item {
    grid-template-columns: 24px minmax(0, 1fr) !important;
    gap: 8px !important;
  }

  html[data-theme] body .app.app-community-shell .chat-message-system.community-signal-item .chat-system-avatar {
    width: 24px !important;
    height: 24px !important;
    min-height: 24px !important;
  }

  html[data-theme] body .app.app-community-shell .chat-message-system.community-signal-item .community-signal-bubble {
    padding: 11px 12px 11px 14px !important;
  }

  html[data-theme] body .app.app-community-shell .community-signal-head {
    grid-template-columns: auto auto !important;
    gap: 6px 8px !important;
  }

  html[data-theme] body .app.app-community-shell .community-signal-item time {
    grid-column: 1 / -1 !important;
    justify-self: start !important;
  }

  html[data-theme] body .app.app-community-shell .community-signal-copy span {
    font-size: 12.5px !important;
  }

  html[data-theme] body .app.app-community-shell .community-signal-copy small {
    font-size: 11.5px !important;
  }
}

/* Community reactions: compact symbolic controls instead of text pills. */
html[data-theme] body .app.app-community-shell .chat-reactions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 7px !important;
  margin-top: 10px !important;
}

html[data-theme] body .app.app-community-shell .chat-reaction {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  min-width: 48px !important;
  min-height: 32px !important;
  padding: 3px 8px 3px 5px !important;
  border: 1px solid rgba(255,214,140,.16) !important;
  border-radius: 999px !important;
  color: rgba(247,244,238,.66) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018)),
    rgba(20,18,16,.62) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.055) !important;
  font-family: var(--font-main, -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif) !important;
  line-height: 1 !important;
}

html[data-theme] body .app.app-community-shell .chat-reaction-icon {
  display: grid !important;
  place-items: center !important;
  width: 22px !important;
  height: 22px !important;
  border: 1px solid rgba(255,214,140,.14) !important;
  border-radius: 999px !important;
  color: rgba(255,226,174,.86) !important;
  background: rgba(255,214,140,.060) !important;
  font-family: var(--lz-mono, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace) !important;
  font-size: 13px !important;
  font-weight: 780 !important;
  line-height: 1 !important;
}

html[data-theme] body .app.app-community-shell .chat-reaction-count {
  min-width: 8px !important;
  color: rgba(247,244,238,.58) !important;
  font-variant-numeric: tabular-nums !important;
  font-size: 11px !important;
  font-weight: 760 !important;
}

html[data-theme] body .app.app-community-shell .chat-reaction.is-reaction-risk .chat-reaction-icon {
  color: rgba(255,190,170,.86) !important;
  border-color: rgba(255,122,96,.16) !important;
  background: rgba(255,122,96,.060) !important;
}

html[data-theme] body .app.app-community-shell .chat-reaction.is-reaction-review .chat-reaction-icon {
  color: rgba(172,230,198,.86) !important;
  border-color: rgba(83,216,150,.16) !important;
  background: rgba(83,216,150,.055) !important;
}

html[data-theme] body .app.app-community-shell .chat-reaction:hover,
html[data-theme] body .app.app-community-shell .chat-reaction.active {
  border-color: rgba(255,214,140,.32) !important;
  color: rgba(247,244,238,.88) !important;
  background:
    linear-gradient(180deg, rgba(255,214,140,.105), rgba(255,255,255,.024)),
    rgba(32,27,21,.78) !important;
}

html[data-theme] body .app.app-community-shell .chat-reaction.active .chat-reaction-icon {
  color: rgba(35,27,18,.94) !important;
  border-color: rgba(255,214,140,.42) !important;
  background: linear-gradient(135deg, rgba(255,226,174,.95), rgba(205,144,56,.88)) !important;
}

html[data-theme] body .app.app-community-shell .chat-reaction.active .chat-reaction-count {
  color: rgba(255,232,190,.92) !important;
}

/* Community market chat: Stocktwits-like workbench, 3BUY signal logic retained. */
html[data-theme] body .app.app-community-shell {
  width: calc(100vw - 44px) !important;
  max-width: none !important;
}

html[data-theme] body .app.app-community-shell .community-market-shell {
  --community-left-width: 290px;
  --community-chat-width: 390px;
  --community-resizer-width: 8px;
  display: grid !important;
  grid-template-columns:
    minmax(240px, var(--community-left-width))
    var(--community-resizer-width)
    minmax(520px, 1fr)
    var(--community-resizer-width)
    minmax(320px, var(--community-chat-width)) !important;
  gap: 6px !important;
  align-items: stretch !important;
  height: calc(100svh - 106px) !important;
  min-height: 680px !important;
  overflow: hidden !important;
}

@media (min-width: 1980px) {
  html[data-theme] body .app.app-community-shell .community-market-shell {
    --community-left-width: 340px;
    --community-chat-width: 500px;
    grid-template-columns:
      minmax(280px, var(--community-left-width))
      var(--community-resizer-width)
      minmax(760px, 1fr)
      var(--community-resizer-width)
      minmax(360px, var(--community-chat-width)) !important;
  }
}

html[data-theme] body .app.app-community-shell .community-layout-resizer {
  position: relative !important;
  display: grid !important;
  place-items: center !important;
  min-width: var(--community-resizer-width) !important;
  min-height: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  cursor: col-resize !important;
  touch-action: none !important;
  outline: none !important;
  z-index: 3 !important;
}

html[data-theme] body .app.app-community-shell .community-layout-resizer::before {
  content: "" !important;
  width: 2px !important;
  height: min(180px, 42%) !important;
  border-radius: 999px !important;
  background: rgba(255,214,140,.16) !important;
  box-shadow: 0 0 0 1px rgba(255,214,140,.045) !important;
  transition: width .16s ease, height .16s ease, background .16s ease, box-shadow .16s ease !important;
}

html[data-theme] body .app.app-community-shell .community-layout-resizer:hover::before,
html[data-theme] body .app.app-community-shell .community-layout-resizer:focus-visible::before,
html[data-theme] body .app.app-community-shell .community-market-shell.is-resizing .community-layout-resizer::before {
  width: 4px !important;
  height: min(240px, 54%) !important;
  background: rgba(255,214,140,.46) !important;
  box-shadow: 0 0 18px rgba(217,163,77,.26) !important;
}

html[data-theme] body .app.app-community-shell .community-market-shell.is-resizing {
  cursor: col-resize !important;
  user-select: none !important;
}

html[data-theme] body .app.app-community-shell .community-left-rail,
html[data-theme] body .app.app-community-shell .community-market-head,
html[data-theme] body .app.app-community-shell .community-symbol-overview,
html[data-theme] body .app.app-community-shell .community-main-tabs,
html[data-theme] body .app.app-community-shell .community-chat-panel {
  border: 1px solid rgba(238,226,205,.12) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012)),
    rgba(16,14,13,.78) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.055), 0 16px 44px rgba(0,0,0,.20) !important;
}

html[data-theme] body .app.app-community-shell .community-left-rail {
  display: grid !important;
  grid-template-rows: auto auto auto minmax(0, 1fr) !important;
  gap: 14px !important;
  min-height: 0 !important;
  padding: 16px !important;
  border-radius: 24px !important;
  overflow: hidden !important;
}

html[data-theme] body .app.app-community-shell .community-rail-profile {
  display: grid !important;
  grid-template-columns: 36px minmax(0, 1fr) !important;
  gap: 10px !important;
  align-items: center !important;
}

html[data-theme] body .app.app-community-shell .community-rail-profile b,
html[data-theme] body .app.app-community-shell .community-watch-head b {
  color: rgba(247,242,232,.94) !important;
  font-size: 13px !important;
}

html[data-theme] body .app.app-community-shell .community-rail-profile span,
html[data-theme] body .app.app-community-shell .community-watch-head span {
  display: block !important;
  margin-top: 2px !important;
  color: rgba(247,242,232,.48) !important;
  font-size: 11px !important;
  font-weight: 650 !important;
}

html[data-theme] body .app.app-community-shell .community-rail-menu {
  display: grid !important;
  gap: 4px !important;
}

html[data-theme] body .app.app-community-shell .community-rail-menu a,
html[data-theme] body .app.app-community-shell .community-post-button,
html[data-theme] body .app.app-community-shell .community-symbol-actions a,
html[data-theme] body .app.app-community-shell .community-symbol-actions button,
html[data-theme] body .app.app-community-shell .community-main-tabs a,
html[data-theme] body .app.app-community-shell .community-main-tabs button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 36px !important;
  border: 1px solid rgba(238,226,205,.11) !important;
  border-radius: 999px !important;
  color: rgba(247,242,232,.76) !important;
  background: rgba(255,255,255,.035) !important;
  font-size: 12px !important;
  font-weight: 780 !important;
  text-decoration: none !important;
}

html[data-theme] body .app.app-community-shell .community-rail-menu a {
  justify-content: flex-start !important;
  padding: 0 12px !important;
  border-color: transparent !important;
  background: transparent !important;
}

html[data-theme] body .app.app-community-shell .community-rail-menu a:hover,
html[data-theme] body .app.app-community-shell .community-post-button,
html[data-theme] body .app.app-community-shell .community-symbol-actions a:hover,
html[data-theme] body .app.app-community-shell .community-symbol-actions button:hover,
html[data-theme] body .app.app-community-shell .community-main-tabs .active {
  color: #1f1408 !important;
  border-color: rgba(255,211,142,.42) !important;
  background: linear-gradient(135deg, #ffe0a0, #d99d45) !important;
}

html[data-theme] body .app.app-community-shell .community-watch-card {
  display: grid !important;
  grid-template-rows: auto auto minmax(0, 1fr) !important;
  min-height: 0 !important;
}

html[data-theme] body .app.app-community-shell .community-watch-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  margin-bottom: 8px !important;
}

html[data-theme] body .app.app-community-shell .community-watch-modes {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 5px !important;
  margin: 0 0 8px !important;
  padding: 3px !important;
  border: 1px solid rgba(238,226,205,.09) !important;
  border-radius: 14px !important;
  background: rgba(255,255,255,.028) !important;
}

html[data-theme] body .app.app-community-shell .community-watch-modes button {
  min-width: 0 !important;
  height: 28px !important;
  border: 1px solid transparent !important;
  border-radius: 10px !important;
  color: rgba(247,242,232,.58) !important;
  background: transparent !important;
  font-size: 11px !important;
  font-weight: 780 !important;
  line-height: 1 !important;
}

html[data-theme] body .app.app-community-shell .community-watch-modes button.active {
  color: rgba(33,22,12,.94) !important;
  border-color: rgba(255,218,148,.44) !important;
  background: linear-gradient(135deg, rgba(255,224,160,.94), rgba(217,157,69,.90)) !important;
  box-shadow: 0 8px 18px rgba(217,163,77,.16) !important;
}

html[data-theme] body .app.app-community-shell .community-watch-list {
  display: grid !important;
  align-content: start !important;
  gap: 8px !important;
  min-height: 0 !important;
  overflow: auto !important;
  padding-right: 2px !important;
}

html[data-theme] body .app.app-community-shell .community-watch-row {
  display: grid !important;
  grid-template-columns: 24px minmax(50px, 1fr) 52px minmax(58px, auto) !important;
  gap: 6px !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 58px !important;
  padding: 8px 8px !important;
  border: 1px solid rgba(238,226,205,.10) !important;
  border-radius: 16px !important;
  color: rgba(247,242,232,.86) !important;
  background:
    linear-gradient(90deg, rgba(255,255,255,.044), rgba(255,255,255,.018)),
    rgba(22,18,14,.55) !important;
}

html[data-theme] body .app.app-community-shell .community-watch-row.active,
html[data-theme] body .app.app-community-shell .community-symbol-tab.active {
  border-color: rgba(217,163,77,.36) !important;
  background: linear-gradient(135deg, rgba(217,163,77,.20), rgba(255,255,255,.035)) !important;
  box-shadow: inset 3px 0 0 rgba(217,163,77,.78) !important;
}

html[data-theme] body .app.app-community-shell .community-watch-row .community-watch-rank {
  display: grid !important;
  place-items: center !important;
  width: 24px !important;
  height: 24px !important;
  border-radius: 50% !important;
  color: rgba(255,225,166,.94) !important;
  background: rgba(217,163,77,.10) !important;
  box-shadow: inset 0 0 0 1px rgba(217,163,77,.20) !important;
  font-size: 11px !important;
  font-weight: 860 !important;
}

html[data-theme] body .app.app-community-shell .community-watch-row .community-watch-symbol {
  display: grid !important;
  align-items: center !important;
  justify-items: start !important;
  gap: 2px !important;
  min-width: 0 !important;
  text-align: left !important;
}

html[data-theme] body .app.app-community-shell .community-watch-row b,
html[data-theme] body .app.app-community-shell .community-watch-row small {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html[data-theme] body .app.app-community-shell .community-watch-symbol b {
  color: rgba(255,250,240,.92) !important;
  font-size: 12px !important;
  font-weight: 880 !important;
  line-height: 1.16 !important;
}

html[data-theme] body .app.app-community-shell .community-watch-symbol small {
  color: rgba(247,242,232,.46) !important;
  font-size: 10px !important;
  font-weight: 680 !important;
  line-height: 1.2 !important;
}

html[data-theme] body .app.app-community-shell .community-watch-sparkline {
  display: grid !important;
  place-items: center !important;
  width: 52px !important;
  min-width: 0 !important;
  color: rgba(178,168,150,.72) !important;
}

html[data-theme] body .app.app-community-shell .community-watch-spark {
  display: block !important;
  width: 52px !important;
  height: 24px !important;
  overflow: visible !important;
}

html[data-theme] body .app.app-community-shell .community-watch-spark path {
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2.2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

html[data-theme] body .app.app-community-shell .community-watch-quote {
  display: grid !important;
  justify-items: end !important;
  gap: 3px !important;
  min-width: 0 !important;
  text-align: right !important;
}

html[data-theme] body .app.app-community-shell .community-watch-quote b {
  max-width: 100% !important;
  color: rgba(255,250,240,.95) !important;
  font-size: 11px !important;
  font-weight: 880 !important;
  line-height: 1.1 !important;
}

html[data-theme] body .app.app-community-shell .community-watch-change {
  max-width: 100% !important;
  font-size: 10px !important;
  font-weight: 760 !important;
  line-height: 1.1 !important;
}

html[data-theme] body .app.app-community-shell .community-watch-row.is-up .community-watch-sparkline,
html[data-theme] body .app.app-community-shell .community-watch-change.is-up {
  color: #00b386 !important;
}

html[data-theme] body .app.app-community-shell .community-watch-row.is-down .community-watch-sparkline,
html[data-theme] body .app.app-community-shell .community-watch-change.is-down {
  color: #ff453a !important;
}

html[data-theme] body .app.app-community-shell .community-watch-change.is-flat {
  color: rgba(247,242,232,.48) !important;
}

html[data-theme] body .app.app-community-shell .community-market-main {
  display: grid !important;
  grid-template-rows: auto auto auto minmax(0, 1fr) auto !important;
  gap: 10px !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

html[data-theme] body .app.app-community-shell .community-stocktwits-head {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0 !important;
  align-items: stretch !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  padding: 0 !important;
  border-radius: 14px !important;
  border-color: rgba(238,226,205,.105) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.026), rgba(255,255,255,.006)),
    rgba(5,5,5,.82) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 10px 28px rgba(0,0,0,.18) !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

html[data-theme] body .app.app-community-shell .community-stocktwits-topbar {
  display: grid !important;
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr) !important;
  gap: 18px !important;
  align-items: center !important;
  min-height: 50px !important;
  padding: 8px 14px !important;
  border-bottom: 1px solid rgba(238,226,205,.085) !important;
}

html[data-theme] body .app.app-community-shell .community-stocktwits-topbar .global-symbol-search,
html[data-theme] body .app.app-community-shell .community-stocktwits-topbar .global-symbol-search label {
  width: 100% !important;
  margin: 0 !important;
}

html[data-theme] body .app.app-community-shell .community-stocktwits-topbar .global-symbol-search label {
  min-height: 34px !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
  border-color: rgba(238,226,205,.12) !important;
  background: rgba(255,255,255,.070) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06) !important;
}

html[data-theme] body .app.app-community-shell .community-stocktwits-topbar .global-symbol-search label > span {
  position: relative !important;
  width: 15px !important;
  height: 15px !important;
  overflow: hidden !important;
  color: transparent !important;
  font-size: 0 !important;
}

html[data-theme] body .app.app-community-shell .community-stocktwits-topbar .global-symbol-search label > span::before,
html[data-theme] body .app.app-community-shell .community-stocktwits-topbar .global-symbol-search label > span::after {
  content: "" !important;
  position: absolute !important;
  display: block !important;
}

html[data-theme] body .app.app-community-shell .community-stocktwits-topbar .global-symbol-search label > span::before {
  left: 1px !important;
  top: 1px !important;
  width: 9px !important;
  height: 9px !important;
  border: 2px solid rgba(247,242,232,.46) !important;
  border-radius: 50% !important;
}

html[data-theme] body .app.app-community-shell .community-stocktwits-topbar .global-symbol-search label > span::after {
  right: 1px !important;
  bottom: 1px !important;
  width: 7px !important;
  height: 2px !important;
  border-radius: 999px !important;
  background: rgba(247,242,232,.46) !important;
  transform: rotate(45deg) !important;
  transform-origin: center !important;
}

html[data-theme] body .app.app-community-shell .community-stocktwits-topbar .global-symbol-search input {
  min-height: 32px !important;
  font-size: 12px !important;
}

html[data-theme] body .app.app-community-shell .community-stocktwits-topbar nav {
  display: flex !important;
  justify-content: flex-end !important;
  gap: 26px !important;
  min-width: 0 !important;
}

html[data-theme] body .app.app-community-shell .community-stocktwits-topbar nav a {
  color: rgba(247,242,232,.58) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

html[data-theme] body .app.app-community-shell .community-stocktwits-topbar nav a:hover {
  color: rgba(255,216,137,.92) !important;
}

html[data-theme] body .app.app-community-shell .community-market-ticker {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 34px !important;
  min-width: 0 !important;
  padding: 0 14px !important;
  overflow: hidden !important;
}

html[data-theme] body .app.app-community-shell .community-ticker-filter {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  height: 22px !important;
  padding: 0 11px !important;
  border: 1px solid rgba(238,226,205,.16) !important;
  border-radius: 999px !important;
  color: rgba(247,242,232,.84) !important;
  background: rgba(255,255,255,.035) !important;
  font-size: 11px !important;
  font-weight: 840 !important;
}

html[data-theme] body .app.app-community-shell .community-ticker-label {
  flex: 0 0 auto !important;
  color: rgba(247,242,232,.40) !important;
  font-size: 9px !important;
  font-weight: 880 !important;
  letter-spacing: .02em !important;
}

html[data-theme] body .app.app-community-shell .community-ticker-more {
  flex: 0 0 auto !important;
  color: rgba(247,242,232,.62) !important;
  font-size: 11px !important;
  font-weight: 820 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

html[data-theme] body .app.app-community-shell .community-symbol-tabs {
  display: flex !important;
  flex: 1 1 auto !important;
  grid-auto-columns: unset !important;
  gap: 13px !important;
  min-width: 0 !important;
  padding: 0 !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
}

html[data-theme] body .app.app-community-shell .community-symbol-tabs::-webkit-scrollbar {
  display: none !important;
}

html[data-theme] body .app.app-community-shell .community-symbol-tab {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  min-width: 68px !important;
  min-height: 24px !important;
  gap: 0 6px !important;
  padding: 2px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme] body .app.app-community-shell .community-symbol-tab .asset-icon {
  display: none !important;
}

html[data-theme] body .app.app-community-shell .community-symbol-tab span {
  display: grid !important;
  gap: 0 !important;
  min-width: 0 !important;
}

html[data-theme] body .app.app-community-shell .community-symbol-tab b {
  overflow: hidden !important;
  color: rgba(247,242,232,.84) !important;
  font-size: 10.5px !important;
  font-weight: 840 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html[data-theme] body .app.app-community-shell .community-symbol-tab small {
  overflow: hidden !important;
  color: rgba(247,242,232,.38) !important;
  font-size: 8.5px !important;
  font-weight: 680 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html[data-theme] body .app.app-community-shell .community-symbol-tab em {
  margin-left: 0 !important;
  color: #f4c978 !important;
  font-size: 10.5px !important;
  font-weight: 860 !important;
}

html[data-theme] body .app.app-community-shell .community-symbol-tab.active {
  border: 0 !important;
  background: transparent !important;
  box-shadow: inset 0 -1px 0 rgba(217,163,77,.64) !important;
}

html[data-theme] body .app.app-community-shell .community-symbol-tab.active b,
html[data-theme] body .app.app-community-shell .community-symbol-tab.active em {
  color: #ffd889 !important;
}

html[data-theme] body .app.app-community-shell .community-symbol-overview-stack {
  display: grid !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

html[data-theme] body .app.app-community-shell .community-symbol-overview {
  display: grid !important;
  gap: 10px !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  padding: 16px !important;
  border-radius: 20px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

html[data-theme] body .app.app-community-shell .community-symbol-overview[hidden] {
  display: none !important;
}

html[data-theme] body .app.app-community-shell .community-symbol-breadcrumb {
  color: rgba(247,242,232,.42) !important;
  font-size: 11px !important;
  font-weight: 720 !important;
}

html[data-theme] body .app.app-community-shell .community-symbol-main,
html[data-theme] body .app.app-community-shell .community-quote-row,
html[data-theme] body .app.app-community-shell .community-quote-metrics {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

html[data-theme] body .app.app-community-shell .community-symbol-main {
  justify-content: space-between !important;
}

html[data-theme] body .app.app-community-shell .community-symbol-title {
  display: grid !important;
  grid-template-columns: 42px minmax(0, 1fr) !important;
  gap: 10px !important;
  align-items: center !important;
  min-width: 0 !important;
}

html[data-theme] body .app.app-community-shell .community-symbol-title .asset-icon {
  width: 42px !important;
  height: 42px !important;
}

html[data-theme] body .app.app-community-shell .community-symbol-title span {
  color: rgba(247,242,232,.62) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

html[data-theme] body .app.app-community-shell .community-symbol-title h1 {
  margin: 2px 0 !important;
  color: rgba(247,242,232,.96) !important;
  font-size: clamp(26px, 2.8vw, 42px) !important;
  line-height: 1.05 !important;
}

html[data-theme] body .app.app-community-shell .community-symbol-title small,
html[data-theme] body .app.app-community-shell .community-quote-row p {
  color: rgba(247,242,232,.52) !important;
  font-size: 12px !important;
}

html[data-theme] body .app.app-community-shell .community-symbol-actions {
  display: flex !important;
  gap: 8px !important;
}

html[data-theme] body .app.app-community-shell .community-symbol-actions button {
  cursor: pointer !important;
}

html[data-theme] body .app.app-community-shell .community-quote-row strong {
  color: #fff4dc !important;
  font-size: clamp(24px, 2.6vw, 36px) !important;
  line-height: 1 !important;
}

html[data-theme] body .app.app-community-shell .community-quote-row span {
  min-height: 26px !important;
  padding: 0 10px !important;
  border: 1px solid rgba(217,163,77,.22) !important;
  border-radius: 999px !important;
  color: #f6d28d !important;
  background: rgba(217,163,77,.08) !important;
  font-size: 12px !important;
  font-weight: 820 !important;
}

html[data-theme] body .app.app-community-shell .community-quote-row p {
  margin: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html[data-theme] body .app.app-community-shell .community-quote-metrics {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

html[data-theme] body .app.app-community-shell .community-quote-metrics div {
  min-width: 0 !important;
  padding: 9px 10px !important;
  border: 1px solid rgba(238,226,205,.10) !important;
  border-radius: 12px !important;
  background: rgba(255,255,255,.035) !important;
}

html[data-theme] body .app.app-community-shell .community-quote-metrics span {
  display: block !important;
  color: rgba(247,242,232,.44) !important;
  font-size: 10px !important;
  font-weight: 720 !important;
}

html[data-theme] body .app.app-community-shell .community-quote-metrics b {
  display: block !important;
  overflow: hidden !important;
  margin-top: 3px !important;
  color: rgba(247,242,232,.88) !important;
  font-size: 12px !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html[data-theme] body .app.app-community-shell .community-main-tabs {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  min-height: 42px !important;
  padding: 4px !important;
  border-radius: 17px !important;
  box-sizing: border-box !important;
  overflow-x: auto !important;
}

html[data-theme] body .app.app-community-shell .community-main-tabs a,
html[data-theme] body .app.app-community-shell .community-main-tabs button {
  flex: 0 0 auto !important;
  min-height: 32px !important;
  padding: 0 14px !important;
  border-color: transparent !important;
  background: transparent !important;
}

html[data-theme] body .app.app-community-shell .community-chart-card {
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) !important;
  min-height: 0 !important;
  border-radius: 20px !important;
}

html[data-theme] body .app.app-community-shell .community-main-panels {
  display: grid !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 0 !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

html[data-theme] body .app.app-community-shell .community-main-panel {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 0 !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

html[data-theme] body .app.app-community-shell .community-main-panel[hidden] {
  display: none !important;
}

html[data-theme] body .app.app-community-shell .community-insight-panel {
  display: grid !important;
  align-content: start !important;
  gap: 14px !important;
  height: 100% !important;
  min-height: 380px !important;
  padding: 16px !important;
  border: 1px solid rgba(238,226,205,.12) !important;
  border-radius: 20px !important;
  background:
    radial-gradient(circle at 86% 0%, rgba(217,163,77,.10), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.012)),
    rgba(16,14,13,.78) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.055), 0 16px 44px rgba(0,0,0,.18) !important;
  overflow: auto !important;
}

html[data-theme] body .app.app-community-shell .community-chart-card .local-kline-frame {
  height: 100% !important;
  min-height: 380px !important;
}

html[data-theme] body .app.app-community-shell .community-score-stack {
  display: none !important;
}

html[data-theme] body .app.app-community-shell .community-chat-panel {
  position: static !important;
  display: grid !important;
  grid-template-rows: minmax(0, 1fr) auto !important;
  gap: 10px !important;
  width: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: 12px !important;
  border-radius: 24px !important;
  overflow: hidden !important;
}

html[data-theme] body .app.app-community-shell .community-chat-head,
html[data-theme] body .app.app-community-shell .community-side-tabs,
html[data-theme] body .app.app-community-shell .community-side-panel,
html[data-theme] body .app.app-community-shell .community-culture-card,
html[data-theme] body .app.app-community-shell .chat-rules-card,
html[data-theme] body .app.app-community-shell .chat-system-card {
  border-color: rgba(238,226,205,.10) !important;
  background: rgba(255,255,255,.032) !important;
  box-shadow: none !important;
}

html[data-theme] body .app.app-community-shell .community-chat-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  min-height: 62px !important;
  padding: 12px 14px !important;
  border-radius: 16px !important;
}

html[data-theme] body .app.app-community-shell .community-chat-head b {
  display: block !important;
  margin-top: 4px !important;
  color: rgba(247,242,232,.92) !important;
  font-size: 14px !important;
}

html[data-theme] body .app.app-community-shell .community-chat-head a {
  flex: 0 0 auto !important;
  color: rgba(255,218,150,.82) !important;
  font-size: 12px !important;
  font-weight: 820 !important;
  text-decoration: none !important;
}

html[data-theme] body .app.app-community-shell .community-side-tabs {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 5px !important;
  padding: 4px !important;
  border-radius: 16px !important;
}

html[data-theme] body .app.app-community-shell .community-side-tabs button {
  min-width: 0 !important;
  min-height: 34px !important;
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  color: rgba(247,242,232,.62) !important;
  background: transparent !important;
  font-size: 12px !important;
  font-weight: 820 !important;
}

html[data-theme] body .app.app-community-shell .community-side-tabs button.active {
  color: #1f1408 !important;
  border-color: rgba(255,211,142,.42) !important;
  background: linear-gradient(135deg, #ffe0a0, #d99d45) !important;
}

html[data-theme] body .app.app-community-shell .community-side-panels {
  display: grid !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

html[data-theme] body .app.app-community-shell .community-side-panel {
  min-height: 0 !important;
  padding: 10px !important;
  border-radius: 18px !important;
  overflow: hidden !important;
}

html[data-theme] body .app.app-community-shell .community-side-panel[hidden] {
  display: none !important;
}

html[data-theme] body .app.app-community-shell .community-side-panel[data-community-side-panel="feed"] {
  display: grid !important;
  grid-template-rows: auto auto minmax(0, 1fr) !important;
  gap: 8px !important;
}

html[data-theme] body .app.app-community-shell .community-side-panel[data-community-side-panel="risk"],
html[data-theme] body .app.app-community-shell .community-side-panel[data-community-side-panel="hot"] {
  display: grid !important;
  align-content: start !important;
  gap: 10px !important;
  overflow: auto !important;
}

html[data-theme] body .app.app-community-shell .community-side-panel[hidden] {
  display: none !important;
}

html[data-theme] body .app.app-community-shell .community-panel-title {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
}

html[data-theme] body .app.app-community-shell .community-panel-title.is-subtle {
  margin-top: 2px !important;
  padding-top: 10px !important;
  border-top: 1px solid rgba(238,226,205,.10) !important;
}

html[data-theme] body .app.app-community-shell .community-panel-title b {
  color: rgba(247,242,232,.92) !important;
  font-size: 15px !important;
}

html[data-theme] body .app.app-community-shell .community-panel-title span {
  color: rgba(247,242,232,.46) !important;
  font-size: 11px !important;
  font-weight: 720 !important;
}

html[data-theme] body .app.app-community-shell .community-fund-flow-panel {
  grid-template-rows: auto minmax(0, 1fr) !important;
}

html[data-theme] body .app.app-community-shell .community-fund-flow-card {
  display: grid !important;
  grid-template-rows: auto auto minmax(0, 1fr) auto !important;
  gap: 12px !important;
  min-height: 0 !important;
  padding: 14px !important;
  border: 1px solid rgba(238,226,205,.10) !important;
  border-radius: 14px !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012)),
    rgba(8,8,8,.62) !important;
  overflow: hidden !important;
}

html[data-theme] body .app.app-community-shell .community-fund-flow-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
}

html[data-theme] body .app.app-community-shell .community-fund-flow-head div {
  display: grid !important;
  gap: 3px !important;
}

html[data-theme] body .app.app-community-shell .community-fund-flow-head span,
html[data-theme] body .app.app-community-shell .community-fund-flow-note,
html[data-theme] body .app.app-community-shell .community-fund-flow-status {
  color: rgba(247,242,232,.52) !important;
  font-size: 11px !important;
  font-weight: 720 !important;
}

html[data-theme] body .app.app-community-shell .community-fund-flow-head b {
  color: rgba(255,247,230,.96) !important;
  font-size: 22px !important;
  line-height: 1 !important;
}

html[data-theme] body .app.app-community-shell .community-fund-flow-head button {
  min-height: 32px !important;
  border: 1px solid rgba(238,226,205,.12) !important;
  border-radius: 999px !important;
  color: rgba(247,242,232,.70) !important;
  background: rgba(255,255,255,.035) !important;
  font-size: 12px !important;
  font-weight: 820 !important;
}

html[data-theme] body .app.app-community-shell .community-fund-flow-head button {
  padding: 0 14px !important;
}

html[data-theme] body .app.app-community-shell .community-fund-flow-head button:hover {
  color: #1f1408 !important;
  border-color: rgba(255,211,142,.44) !important;
  background: linear-gradient(135deg, #ffe0a0, #d99d45) !important;
}

html[data-theme] body .app.app-community-shell .community-fund-flow-status {
  min-height: 18px !important;
  margin: 0 !important;
}

html[data-theme] body .app.app-community-shell .community-fund-flow-table-wrap {
  min-height: 0 !important;
  overflow: auto !important;
  border: 1px solid rgba(238,226,205,.09) !important;
  border-radius: 12px !important;
  background: rgba(4,5,7,.50) !important;
}

html[data-theme] body .app.app-community-shell .community-fund-flow-table {
  width: 100% !important;
  min-width: 1120px !important;
  border-collapse: collapse !important;
  color: rgba(247,242,232,.76) !important;
  font-variant-numeric: tabular-nums !important;
}

html[data-theme] body .app.app-community-shell .community-fund-flow-table th,
html[data-theme] body .app.app-community-shell .community-fund-flow-table td {
  padding: 10px 12px !important;
  border: 0 !important;
  text-align: right !important;
  white-space: nowrap !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
}

html[data-theme] body .app.app-community-shell .community-fund-flow-table th:first-child,
html[data-theme] body .app.app-community-shell .community-fund-flow-table td:first-child {
  text-align: left !important;
}

html[data-theme] body .app.app-community-shell .community-fund-flow-table thead th {
  position: sticky !important;
  top: 0 !important;
  z-index: 1 !important;
  color: rgba(255,222,166,.86) !important;
  background: rgba(38,34,31,.96) !important;
  font-weight: 860 !important;
}

html[data-theme] body .app.app-community-shell .community-fund-flow-table thead tr:first-child th {
  top: 0 !important;
}

html[data-theme] body .app.app-community-shell .community-fund-flow-table thead tr:nth-child(2) th {
  top: 36px !important;
}

html[data-theme] body .app.app-community-shell .community-fund-flow-table .community-fund-flow-group-head {
  text-align: center !important;
  color: rgba(255,235,190,.92) !important;
  background:
    linear-gradient(180deg, rgba(217,163,77,.11), rgba(255,255,255,.018)),
    rgba(38,34,31,.98) !important;
}

html[data-theme] body .app.app-community-shell .community-fund-flow-table .community-fund-flow-group-head span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 22px !important;
  margin-right: 8px !important;
  padding: 0 9px !important;
  border: 1px solid rgba(255,214,140,.18) !important;
  border-radius: 999px !important;
  color: rgba(255,222,166,.90) !important;
  background: rgba(255,214,140,.060) !important;
  font-size: 11px !important;
  font-weight: 860 !important;
}

html[data-theme] body .app.app-community-shell .community-fund-flow-table .community-fund-flow-time-col {
  min-width: 72px !important;
  vertical-align: middle !important;
}

html[data-theme] body .app.app-community-shell .community-fund-flow-table thead tr:first-child th:nth-child(3),
html[data-theme] body .app.app-community-shell .community-fund-flow-table thead tr:nth-child(2) th:nth-child(6),
html[data-theme] body .app.app-community-shell .community-fund-flow-table tbody td:nth-child(7) {
  border-left: 1px solid rgba(255,214,140,.14) !important;
}

html[data-theme] body .app.app-community-shell .community-fund-flow-table tbody tr:nth-child(odd) {
  background: rgba(255,255,255,.035) !important;
}

html[data-theme] body .app.app-community-shell .community-fund-flow-table tbody tr:nth-child(even) {
  background: rgba(255,255,255,.015) !important;
}

html[data-theme] body .app.app-community-shell .community-fund-flow-table td {
  color: rgba(222,216,204,.72) !important;
  font-weight: 740 !important;
}

html[data-theme] body .app.app-community-shell .community-fund-flow-table .fund-flow-value.is-positive {
  color: #00b386 !important;
}

html[data-theme] body .app.app-community-shell .community-fund-flow-table .fund-flow-value.is-negative {
  color: #ff453a !important;
}

html[data-theme] body .app.app-community-shell .community-fund-flow-note {
  margin: 0 !important;
}

html[data-theme] body .app.app-community-shell .community-hot-row,
html[data-theme] body .app.app-community-shell .community-feature-row {
  border-color: rgba(238,226,205,.10) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.014)),
    rgba(16,14,13,.76) !important;
  color: rgba(247,242,232,.86) !important;
}

html[data-theme] body .app.app-community-shell .community-hot-sentiment-list {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 28px !important;
  padding: 10px 0 !important;
}

html[data-theme] body .app.app-community-shell .community-hot-score-rule {
  margin: 18px auto 0 !important;
  max-width: 760px !important;
  color: rgba(247,242,232,.42) !important;
  font-size: 12px !important;
  font-weight: 650 !important;
  line-height: 1.65 !important;
  text-align: center !important;
}

html[data-theme] body .app.app-community-shell .community-feature-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

html[data-theme] body .app.app-community-shell .community-insight-panel .community-system-prompts {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 10px !important;
}

html[data-theme] body .app.app-community-shell .community-insight-panel .chat-system-card {
  min-height: 112px !important;
  padding: 13px 14px !important;
  border-radius: 16px !important;
}

html[data-theme] body .app.app-community-shell .community-insight-panel .chat-system-card p {
  display: -webkit-box !important;
  overflow: hidden !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}

html[data-theme] body .app.app-community-shell .community-hot-sentiment-card {
  --hot-accent: #f0c76f;
  position: relative !important;
  display: grid !important;
  min-width: 0 !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-areas:
    "symbol"
    "label"
    "meter"
    "score" !important;
  justify-items: center !important;
  align-content: center !important;
  gap: 16px !important;
  min-height: 330px !important;
  padding: 42px 20px 28px !important;
  border: 1px solid rgba(238,226,205,.075) !important;
  border-radius: 26px !important;
  color: rgba(247,242,232,.9) !important;
  text-decoration: none !important;
  background:
    radial-gradient(circle at 50% 112%, color-mix(in srgb, var(--hot-accent) 28%, transparent), transparent 50%),
    radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--hot-accent) 12%, transparent), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.006)),
    #040404 !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.045),
    inset 0 -1px 0 color-mix(in srgb, var(--hot-accent) 14%, transparent),
    0 30px 70px rgba(0,0,0,.42) !important;
  overflow: hidden !important;
}

html[data-theme] body .app.app-community-shell .community-hot-sentiment-card::before {
  content: "" !important;
  position: absolute !important;
  inset: -1px -1px auto -1px !important;
  height: 8px !important;
  border-radius: 24px 24px 0 0 !important;
  background: var(--hot-accent) !important;
  box-shadow:
    0 0 22px color-mix(in srgb, var(--hot-accent) 74%, transparent),
    0 0 54px color-mix(in srgb, var(--hot-accent) 42%, transparent) !important;
  opacity: .98 !important;
}

html[data-theme] body .app.app-community-shell .community-hot-sentiment-card::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  border-radius: inherit !important;
  background: radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--hot-accent) 12%, transparent), transparent 30%) !important;
  pointer-events: none !important;
}

html[data-theme] body .app.app-community-shell .community-hot-sentiment-card.is-bullish {
  --hot-accent: #26d7a4;
}

html[data-theme] body .app.app-community-shell .community-hot-sentiment-card.is-warm {
  --hot-accent: #e8cf45;
}

html[data-theme] body .app.app-community-shell .community-hot-sentiment-card.is-neutral {
  --hot-accent: #d9a34d;
}

html[data-theme] body .app.app-community-shell .community-hot-sentiment-card.is-cautious {
  --hot-accent: #c97848;
}

html[data-theme] body .app.app-community-shell .community-hot-sentiment-card.is-cool {
  --hot-accent: #e06464;
}

html[data-theme] body .app.app-community-shell .community-hot-symbol {
  grid-area: symbol !important;
  position: relative !important;
  z-index: 1 !important;
  display: grid !important;
  align-items: center !important;
  justify-items: center !important;
  gap: 24px !important;
  min-width: 0 !important;
}

html[data-theme] body .app.app-community-shell .community-hot-symbol .asset-icon {
  width: 74px !important;
  height: 74px !important;
  border-radius: 50% !important;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.08),
    0 0 34px color-mix(in srgb, var(--hot-accent) 38%, transparent) !important;
}

html[data-theme] body .app.app-community-shell .community-hot-symbol span {
  display: grid !important;
  gap: 2px !important;
  justify-items: center !important;
  min-width: 0 !important;
}

html[data-theme] body .app.app-community-shell .community-hot-symbol b {
  overflow: hidden !important;
  color: rgba(247,242,232,.92) !important;
  font-size: clamp(30px, 3.2vw, 44px) !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html[data-theme] body .app.app-community-shell .community-hot-symbol small {
  display: none !important;
  color: rgba(247,242,232,.44) !important;
  font-size: 11px !important;
  font-weight: 680 !important;
}

html[data-theme] body .app.app-community-shell .community-hot-sentiment-card strong {
  grid-area: label !important;
  position: relative !important;
  z-index: 1 !important;
  align-self: center !important;
  color: rgba(247,242,232,.92) !important;
  font-size: clamp(22px, 2vw, 34px) !important;
  font-weight: 740 !important;
  line-height: 1.05 !important;
  text-align: center !important;
}

html[data-theme] body .app.app-community-shell .community-hot-sentiment-card em {
  grid-area: score !important;
  position: relative !important;
  z-index: 1 !important;
  align-self: center !important;
  color: #fff6df !important;
  margin-top: -4px !important;
  font-size: clamp(42px, 4.2vw, 62px) !important;
  font-style: normal !important;
  font-weight: 880 !important;
  line-height: 1 !important;
  text-shadow: 0 0 18px color-mix(in srgb, var(--hot-accent) 28%, transparent) !important;
}

html[data-theme] body .app.app-community-shell .community-hot-meter {
  grid-area: meter !important;
  position: relative !important;
  z-index: 1 !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  gap: 8px !important;
  width: min(250px, 88%) !important;
  min-height: 66px !important;
  margin-top: 6px !important;
  padding-top: 22px !important;
  overflow: hidden !important;
}

html[data-theme] body .app.app-community-shell .community-hot-meter i {
  width: 42px !important;
  height: 20px !important;
  border-radius: 999px 999px 8px 8px !important;
  background: rgba(255,255,255,.105) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    0 10px 18px rgba(0,0,0,.28) !important;
}

html[data-theme] body .app.app-community-shell .community-hot-meter i:nth-child(1) { transform: rotate(-18deg) translateY(8px) !important; }
html[data-theme] body .app.app-community-shell .community-hot-meter i:nth-child(2) { transform: rotate(-9deg) translateY(2px) !important; }
html[data-theme] body .app.app-community-shell .community-hot-meter i:nth-child(3) { transform: translateY(-1px) !important; }
html[data-theme] body .app.app-community-shell .community-hot-meter i:nth-child(4) { transform: rotate(9deg) translateY(2px) !important; }
html[data-theme] body .app.app-community-shell .community-hot-meter i:nth-child(5) { transform: rotate(18deg) translateY(8px) !important; }

html[data-theme] body .app.app-community-shell .community-hot-sentiment-card.is-bearish {
  --hot-accent: #ff4654;
  --hot-glow: rgba(255,70,84,.64);
}

html[data-theme] body .app.app-community-shell .community-hot-sentiment-card.is-neutral {
  --hot-accent: #f4f000;
  --hot-glow: rgba(244,240,0,.64);
}

html[data-theme] body .app.app-community-shell .community-hot-sentiment-card.is-bullish {
  --hot-accent: #1ff0a8;
  --hot-glow: rgba(31,240,168,.64);
}

html[data-theme] body .app.app-community-shell .community-hot-sentiment-card {
  min-height: 304px !important;
  gap: 12px !important;
  grid-template-areas:
    "symbol"
    "label"
    "meter" !important;
  padding: 34px 18px 24px !important;
  border-radius: 20px !important;
  background:
    radial-gradient(circle at 50% 104%, color-mix(in srgb, var(--hot-accent) 18%, transparent), transparent 42%),
    radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--hot-accent) 11%, transparent), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.026), rgba(255,255,255,.004)),
    #020403 !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04),
    0 22px 52px rgba(0,0,0,.42),
    0 0 42px color-mix(in srgb, var(--hot-accent) 14%, transparent) !important;
}

html[data-theme] body .app.app-community-shell .community-hot-sentiment-card::before {
  height: 5px !important;
  border-radius: 20px 20px 0 0 !important;
  box-shadow:
    0 0 20px var(--hot-glow),
    0 0 42px color-mix(in srgb, var(--hot-accent) 48%, transparent) !important;
}

html[data-theme] body .app.app-community-shell .community-hot-symbol {
  gap: 18px !important;
}

html[data-theme] body .app.app-community-shell .community-hot-symbol .asset-icon {
  width: 62px !important;
  height: 62px !important;
  box-shadow:
    0 0 0 2px rgba(0,0,0,.48),
    0 0 26px color-mix(in srgb, var(--hot-accent) 30%, transparent) !important;
}

html[data-theme] body .app.app-community-shell .community-hot-symbol b {
  font-size: clamp(28px, 2.8vw, 38px) !important;
  font-weight: 900 !important;
}

html[data-theme] body .app.app-community-shell .community-hot-sentiment-card strong {
  margin-top: -4px !important;
  font-size: clamp(23px, 2vw, 32px) !important;
  font-weight: 500 !important;
}

html[data-theme] body .app.app-community-shell .community-hot-sentiment-card em {
  margin-top: -12px !important;
  font-size: clamp(40px, 4vw, 56px) !important;
  text-shadow:
    0 0 18px rgba(255,247,219,.34),
    0 0 26px color-mix(in srgb, var(--hot-accent) 22%, transparent) !important;
}

html[data-theme] body .app.app-community-shell .community-hot-meter {
  display: block !important;
  width: min(302px, 94%) !important;
  height: 166px !important;
  min-height: 166px !important;
  margin-top: 4px !important;
  padding-top: 0 !important;
  overflow: visible !important;
}

html[data-theme] body .app.app-community-shell .community-gauge-svg {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: visible !important;
}

html[data-theme] body .app.app-community-shell .community-gauge-track,
html[data-theme] body .app.app-community-shell .community-gauge-segment {
  fill: none !important;
  stroke-width: 21 !important;
  stroke-linecap: butt !important;
}

html[data-theme] body .app.app-community-shell .community-gauge-track {
  stroke: transparent !important;
  opacity: 0 !important;
}

html[data-theme] body .app.app-community-shell .community-gauge-segment {
  opacity: 1 !important;
  filter: none !important;
  transition: stroke .12s ease, filter .12s ease !important;
}

html[data-theme] body .app.app-community-shell .community-gauge-segment.gauge-segment-1 {
  stroke: #7b262d !important;
}

html[data-theme] body .app.app-community-shell .community-gauge-segment.gauge-segment-2 {
  stroke: #743f12 !important;
}

html[data-theme] body .app.app-community-shell .community-gauge-segment.gauge-segment-3 {
  stroke: #747200 !important;
}

html[data-theme] body .app.app-community-shell .community-gauge-segment.gauge-segment-4 {
  stroke: #125f2c !important;
}

html[data-theme] body .app.app-community-shell .community-gauge-segment.gauge-segment-5 {
  stroke: #106247 !important;
}

html[data-theme] body .app.app-community-shell .community-gauge-segment.is-active {
  opacity: 1 !important;
}

html[data-theme] body .app.app-community-shell .community-gauge-segment.gauge-segment-1.is-lit {
  stroke: #ff4654 !important;
  filter:
    drop-shadow(0 0 10px rgba(255,70,84,.68))
    drop-shadow(0 0 22px rgba(255,70,84,.48))
    drop-shadow(0 0 38px rgba(255,70,84,.24)) !important;
}

html[data-theme] body .app.app-community-shell .community-gauge-segment.gauge-segment-2.is-lit {
  stroke: #b86415 !important;
  filter:
    drop-shadow(0 0 10px rgba(184,100,21,.58))
    drop-shadow(0 0 22px rgba(184,100,21,.36)) !important;
}

html[data-theme] body .app.app-community-shell .community-gauge-segment.gauge-segment-3.is-lit {
  stroke: #f4f000 !important;
  filter:
    drop-shadow(0 0 10px rgba(244,240,0,.70))
    drop-shadow(0 0 22px rgba(244,240,0,.48))
    drop-shadow(0 0 38px rgba(244,240,0,.24)) !important;
}

html[data-theme] body .app.app-community-shell .community-gauge-segment.gauge-segment-4.is-lit {
  stroke: #20a94a !important;
  filter:
    drop-shadow(0 0 10px rgba(32,169,74,.58))
    drop-shadow(0 0 22px rgba(32,169,74,.36)) !important;
}

html[data-theme] body .app.app-community-shell .community-gauge-segment.gauge-segment-5.is-lit {
  stroke: #1ff0a8 !important;
  filter:
    drop-shadow(0 0 10px rgba(31,240,168,.68))
    drop-shadow(0 0 22px rgba(31,240,168,.48))
    drop-shadow(0 0 38px rgba(31,240,168,.24)) !important;
}

html[data-theme] body .app.app-community-shell .community-gauge-needle {
  transform-box: view-box !important;
  transform-origin: 150px 132px !important;
  transform: rotate(var(--needle-angle)) !important;
  transition: none !important;
}

html[data-theme] body .app.app-community-shell .community-gauge-needle path {
  fill: rgba(247,242,232,.35) !important;
  filter: drop-shadow(0 7px 16px rgba(0,0,0,.42)) !important;
}

html[data-theme] body .app.app-community-shell .community-gauge-needle circle {
  fill: rgba(247,242,232,.20) !important;
}

html[data-theme] body .app.app-community-shell .community-hot-meter em {
  position: absolute !important;
  left: 50% !important;
  top: 72px !important;
  z-index: 2 !important;
  min-width: 92px !important;
  margin: 0 !important;
  transform: translateX(-50%) !important;
  color: #fff6df !important;
  font-size: clamp(36px, 3.4vw, 52px) !important;
  font-style: normal !important;
  font-weight: 780 !important;
  line-height: 1 !important;
  text-align: center !important;
  text-shadow:
    0 0 18px rgba(255,247,219,.28),
    0 0 28px color-mix(in srgb, var(--hot-accent) 20%, transparent) !important;
}

@media (min-width: 1181px) and (max-height: 1000px) {
  html[data-theme] body .app.app-community-shell .community-main-panel[data-community-main-panel="sentiment"] {
    gap: 10px !important;
    padding: 14px !important;
  }

  html[data-theme] body .app.app-community-shell .community-main-panel[data-community-main-panel="sentiment"] .community-hot-sentiment-list {
    gap: 16px !important;
    padding: 0 !important;
  }

  html[data-theme] body .app.app-community-shell .community-main-panel[data-community-main-panel="sentiment"] .community-hot-sentiment-card {
    min-height: 286px !important;
    gap: 7px !important;
    padding: 24px 14px 14px !important;
  }

  html[data-theme] body .app.app-community-shell .community-main-panel[data-community-main-panel="sentiment"] .community-hot-symbol {
    gap: 10px !important;
  }

  html[data-theme] body .app.app-community-shell .community-main-panel[data-community-main-panel="sentiment"] .community-hot-symbol .asset-icon {
    width: 50px !important;
    height: 50px !important;
  }

  html[data-theme] body .app.app-community-shell .community-main-panel[data-community-main-panel="sentiment"] .community-hot-symbol b {
    font-size: clamp(24px, 2.2vw, 32px) !important;
  }

  html[data-theme] body .app.app-community-shell .community-main-panel[data-community-main-panel="sentiment"] .community-hot-sentiment-card strong {
    font-size: clamp(20px, 1.6vw, 27px) !important;
  }

  html[data-theme] body .app.app-community-shell .community-main-panel[data-community-main-panel="sentiment"] .community-hot-meter {
    width: min(238px, 94%) !important;
    height: 122px !important;
    min-height: 122px !important;
    margin-top: 0 !important;
  }

  html[data-theme] body .app.app-community-shell .community-main-panel[data-community-main-panel="sentiment"] .community-gauge-track,
  html[data-theme] body .app.app-community-shell .community-main-panel[data-community-main-panel="sentiment"] .community-gauge-segment {
    stroke-width: 18 !important;
  }

  html[data-theme] body .app.app-community-shell .community-main-panel[data-community-main-panel="sentiment"] .community-hot-meter em {
    top: 52px !important;
    font-size: clamp(32px, 2.8vw, 44px) !important;
  }

  html[data-theme] body .app.app-community-shell .community-main-panel[data-community-main-panel="sentiment"] .community-hot-score-rule {
    margin-top: 2px !important;
  }
}

html[data-theme] body .app.app-community-shell .community-feature-row span,
html[data-theme] body .app.app-community-shell .community-feature-row p,
html[data-theme] body .app.app-community-shell .community-hot-row span {
  color: rgba(247,242,232,.52) !important;
}

html[data-theme] body .app.app-community-shell .community-feature-row {
  min-height: 126px !important;
  padding: 14px !important;
  border-radius: 16px !important;
}

html[data-theme] body .app.app-community-shell .community-feature-row b {
  display: block !important;
  margin: 6px 0 8px !important;
  color: rgba(255,224,166,.90) !important;
  font-size: 14px !important;
}

html[data-theme] body .app.app-community-shell .community-radar-preview,
html[data-theme] body .app.app-community-shell .community-info-rules {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

html[data-theme] body .app.app-community-shell .community-radar-favorites {
  grid-template-columns: 1fr !important;
  align-content: start !important;
}

html[data-theme] body .app.app-community-shell .community-radar-favorite-row {
  display: grid !important;
  grid-template-columns: 34px minmax(0, 1fr) auto !important;
  grid-template-areas:
    "rank symbol score"
    "rank meta score" !important;
  gap: 3px 12px !important;
  align-items: center !important;
  min-height: 62px !important;
  padding: 11px 12px !important;
  border: 1px solid rgba(238,226,205,.10) !important;
  border-radius: 16px !important;
  color: rgba(247,242,232,.84) !important;
  background:
    linear-gradient(90deg, rgba(217,163,77,.12), rgba(255,255,255,.018)),
    rgba(255,255,255,.030) !important;
  text-decoration: none !important;
}

html[data-theme] body .app.app-community-shell .community-radar-favorite-row span {
  grid-area: rank !important;
  display: grid !important;
  place-items: center !important;
  width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
  color: #221609 !important;
  background: linear-gradient(135deg, #ffe0a0, #d99d45) !important;
  font-size: 12px !important;
  font-weight: 880 !important;
}

html[data-theme] body .app.app-community-shell .community-radar-favorite-row b {
  grid-area: symbol !important;
  overflow: hidden !important;
  color: rgba(247,242,232,.92) !important;
  font-size: 15px !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html[data-theme] body .app.app-community-shell .community-radar-favorite-row small {
  grid-area: meta !important;
  overflow: hidden !important;
  color: rgba(247,242,232,.46) !important;
  font-size: 11px !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html[data-theme] body .app.app-community-shell .community-radar-favorite-row em {
  grid-area: score !important;
  color: #f5c978 !important;
  font-size: 18px !important;
  font-style: normal !important;
  font-weight: 880 !important;
}

html[data-theme] body .app.app-community-shell .community-radar-preview article,
html[data-theme] body .app.app-community-shell .community-info-rules article,
html[data-theme] body .app.app-community-shell .community-panel-action {
  min-height: 138px !important;
  padding: 16px !important;
  border: 1px solid rgba(238,226,205,.10) !important;
  border-radius: 18px !important;
  color: rgba(247,242,232,.84) !important;
  background: rgba(255,255,255,.032) !important;
  text-decoration: none !important;
}

html[data-theme] body .app.app-community-shell .community-radar-preview span,
html[data-theme] body .app.app-community-shell .community-info-rules p {
  color: rgba(247,242,232,.50) !important;
  font-size: 12px !important;
}

html[data-theme] body .app.app-community-shell .community-radar-preview b,
html[data-theme] body .app.app-community-shell .community-info-rules b {
  display: block !important;
  margin: 6px 0 8px !important;
  color: rgba(255,224,166,.92) !important;
  font-size: 18px !important;
}

html[data-theme] body .app.app-community-shell .community-panel-action {
  display: grid !important;
  place-items: center !important;
  color: #211608 !important;
  font-weight: 860 !important;
  background: linear-gradient(135deg, #ffe0a0, #d99d45) !important;
}

html[data-theme] body .app.app-community-shell .community-feature-row p {
  display: -webkit-box !important;
  overflow: hidden !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}

html[data-theme] body .app.app-community-shell .chat-rules-card {
  display: none !important;
}

html[data-theme] body .app.app-community-shell .community-chat-filter {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 5px !important;
}

html[data-theme] body .app.app-community-shell .community-chat-filter button {
  min-height: 32px !important;
  padding: 0 8px !important;
  border-radius: 999px !important;
  border-color: rgba(238,226,205,.10) !important;
  color: rgba(247,242,232,.58) !important;
  background: rgba(255,255,255,.035) !important;
  font-size: 12px !important;
}

html[data-theme] body .app.app-community-shell .community-chat-filter button.active {
  color: #1f1408 !important;
  border-color: rgba(255,211,142,.42) !important;
  background: linear-gradient(135deg, #ffe0a0, #d99d45) !important;
}

html[data-theme] body .app.app-community-shell .community-chat-panel .chat-list {
  min-height: 0 !important;
  max-height: none !important;
  height: 100% !important;
  padding: 10px !important;
  border-color: rgba(238,226,205,.10) !important;
  border-radius: 18px !important;
  background: rgba(5,5,6,.42) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035) !important;
}

html[data-theme] body .app.app-community-shell .chat-message[hidden] {
  display: none !important;
}

html[data-theme] body .app.app-community-shell .chat-bubble {
  border-color: rgba(238,226,205,.10) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.048), rgba(255,255,255,.018)),
    rgba(28,24,22,.72) !important;
}

html[data-theme] body .app.app-community-shell .chat-symbol-chip {
  color: #f0bd69 !important;
  border: 1px solid rgba(240,189,105,.18) !important;
  background: rgba(240,189,105,.10) !important;
  text-decoration: none !important;
}

html[data-theme] body .app.app-community-shell .chat-symbol-reference,
html[data-theme] body .app.app-community-shell .compose-symbol-reference {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto auto !important;
  align-items: center !important;
  gap: 8px !important;
  min-width: 0 !important;
  min-height: 34px !important;
  padding: 7px 9px !important;
  border: 1px solid rgba(238,226,205,.10) !important;
  border-radius: 9px !important;
  color: rgba(247,242,232,.84) !important;
  background:
    linear-gradient(90deg, rgba(255,255,255,.050), rgba(255,255,255,.014)),
    rgba(7,7,8,.50) !important;
  text-decoration: none !important;
}

html[data-theme] body .app.app-community-shell .chat-symbol-reference {
  margin-top: 9px !important;
  grid-template-columns: minmax(0, 1fr) 58px auto auto !important;
}

html[data-theme] body .app.app-community-shell .chat-symbol-reference span,
html[data-theme] body .app.app-community-shell .compose-symbol-reference span {
  display: grid !important;
  gap: 1px !important;
  min-width: 0 !important;
}

html[data-theme] body .app.app-community-shell .chat-symbol-reference b,
html[data-theme] body .app.app-community-shell .compose-symbol-reference b {
  overflow: hidden !important;
  color: rgba(247,242,232,.94) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html[data-theme] body .app.app-community-shell .chat-symbol-reference small,
html[data-theme] body .app.app-community-shell .compose-symbol-reference small {
  overflow: hidden !important;
  color: rgba(247,242,232,.46) !important;
  font-size: 10px !important;
  font-weight: 720 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html[data-theme] body .app.app-community-shell .chat-symbol-reference .chat-symbol-sparkline {
  display: grid !important;
  place-items: center !important;
  width: 58px !important;
  min-width: 58px !important;
  color: rgba(178,168,150,.72) !important;
}

html[data-theme] body .app.app-community-shell .chat-symbol-reference .chat-symbol-sparkline .community-watch-spark {
  width: 54px !important;
  height: 22px !important;
}

html[data-theme] body .app.app-community-shell .chat-symbol-reference em,
html[data-theme] body .app.app-community-shell .compose-symbol-reference em {
  color: rgba(247,242,232,.88) !important;
  font-size: 11px !important;
  font-style: normal !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}

html[data-theme] body .app.app-community-shell .chat-symbol-reference strong,
html[data-theme] body .app.app-community-shell .compose-symbol-reference strong {
  font-size: 10px !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}

html[data-theme] body .app.app-community-shell .chat-symbol-reference.is-up strong,
html[data-theme] body .app.app-community-shell .compose-symbol-reference.is-up strong {
  color: #00c894 !important;
}

html[data-theme] body .app.app-community-shell .chat-symbol-reference.is-up .chat-symbol-sparkline {
  color: #00b386 !important;
}

html[data-theme] body .app.app-community-shell .chat-symbol-reference.is-down strong,
html[data-theme] body .app.app-community-shell .compose-symbol-reference.is-down strong {
  color: #ff5147 !important;
}

html[data-theme] body .app.app-community-shell .chat-symbol-reference.is-down .chat-symbol-sparkline {
  color: #ff453a !important;
}

html[data-theme] body .app.app-community-shell .chat-symbol-reference.is-flat strong,
html[data-theme] body .app.app-community-shell .compose-symbol-reference.is-flat strong {
  color: #f0bd69 !important;
}

html[data-theme] body .app.app-community-shell .community-quick-compose {
  position: relative !important;
  display: grid !important;
  gap: 10px !important;
  min-width: 0 !important;
  padding: 12px !important;
  border: 1px solid rgba(238,226,205,.12) !important;
  border-radius: 20px !important;
  background:
    radial-gradient(circle at 92% 0%, rgba(217,163,77,.10), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012)),
    rgba(6,6,7,.76) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045) !important;
}

html[data-theme] body .app.app-community-shell .community-quick-compose-input {
  display: grid !important;
  grid-template-columns: 36px minmax(0, 1fr) !important;
  gap: 10px !important;
  align-items: start !important;
  min-width: 0 !important;
}

html[data-theme] body .app.app-community-shell .community-quick-compose-input .avatar-badge.small {
  width: 36px !important;
  height: 36px !important;
}

html[data-theme] body .app.app-community-shell .community-quick-compose textarea {
  width: 100% !important;
  min-height: 40px !important;
  max-height: 120px !important;
  padding: 6px 0 !important;
  border: 0 !important;
  color: rgba(247,242,232,.92) !important;
  background: transparent !important;
  font-size: 17px !important;
  line-height: 1.35 !important;
  resize: none !important;
  outline: none !important;
  overflow-y: auto !important;
}

html[data-theme] body .app.app-community-shell .community-quick-compose textarea::placeholder {
  color: rgba(247,242,232,.34) !important;
}

html[data-theme] body .app.app-community-shell .community-quick-compose textarea:disabled,
html[data-theme] body .app.app-community-shell .community-compose-main textarea:disabled {
  cursor: not-allowed !important;
  opacity: .70 !important;
}

html[data-theme] body .app.app-community-shell .community-compose-reference {
  min-width: 0 !important;
}

html[data-theme] body .app.app-community-shell .community-compose-gate {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  min-width: 0 !important;
  padding: 8px 10px !important;
  border: 1px solid rgba(255,107,90,.16) !important;
  border-radius: 10px !important;
  color: rgba(247,242,232,.74) !important;
  background: rgba(255,107,90,.070) !important;
  font-size: 11px !important;
}

html[data-theme] body .app.app-community-shell .community-compose-gate b {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html[data-theme] body .app.app-community-shell .community-compose-gate a {
  flex: 0 0 auto !important;
  color: #f5c978 !important;
  font-weight: 860 !important;
  text-decoration: none !important;
}

html[data-theme] body .app.app-community-shell .community-quick-compose-footer {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 10px !important;
  align-items: center !important;
  min-width: 0 !important;
}

html[data-theme] body .app.app-community-shell .chat-compose {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 8px !important;
  padding: 10px !important;
  border: 1px solid rgba(238,226,205,.10) !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,.032) !important;
}

html[data-theme] body .app.app-community-shell .chat-compose textarea {
  min-height: 72px !important;
}

html[data-theme] body .app.app-community-shell .community-compose-modal[hidden] {
  display: none !important;
}

html[data-theme] body .app.app-community-shell .community-compose-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9999 !important;
  display: grid !important;
  place-items: start center !important;
  padding: 72px 18px 18px !important;
}

html[data-theme] body .app.app-community-shell .community-compose-backdrop {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(0,0,0,.66) !important;
  backdrop-filter: blur(3px) !important;
}

html[data-theme] body .app.app-community-shell .community-compose-dialog {
  position: relative !important;
  z-index: 1 !important;
  display: grid !important;
  grid-template-rows: 54px minmax(180px, 1fr) 58px !important;
  width: min(620px, calc(100vw - 28px)) !important;
  min-height: 330px !important;
  border: 1px solid rgba(238,226,205,.16) !important;
  border-radius: 24px !important;
  color: rgba(247,242,232,.92) !important;
  background:
    radial-gradient(circle at 92% 8%, rgba(217,163,77,.14), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.016)),
    rgba(12,11,10,.98) !important;
  box-shadow: 0 28px 90px rgba(0,0,0,.48), inset 0 1px 0 rgba(255,255,255,.06) !important;
  overflow: hidden !important;
}

html[data-theme] body .app.app-community-shell .community-compose-popover[hidden] {
  display: none !important;
}

html[data-theme] body .app.app-community-shell .community-compose-popover {
  position: absolute !important;
  right: 12px !important;
  bottom: 58px !important;
  z-index: 8 !important;
  width: min(360px, calc(100% - 24px)) !important;
}

html[data-theme] body .app.app-community-shell .community-compose-dialog .community-compose-popover {
  right: 18px !important;
  bottom: 64px !important;
  width: min(420px, calc(100% - 36px)) !important;
}

html[data-theme] body .app.app-community-shell .compose-popover-panel {
  padding: 10px !important;
  border: 1px solid rgba(238,226,205,.16) !important;
  border-radius: 14px !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(217,163,77,.13), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.026)),
    rgba(13,12,11,.98) !important;
  box-shadow: 0 16px 42px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.06) !important;
}

html[data-theme] body .app.app-community-shell .compose-emoji-panel {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 6px !important;
}

html[data-theme] body .app.app-community-shell .compose-emoji-panel button,
html[data-theme] body .app.app-community-shell .compose-symbol-panel button {
  min-height: 34px !important;
  border: 1px solid rgba(238,226,205,.10) !important;
  border-radius: 10px !important;
  color: rgba(247,242,232,.88) !important;
  background: rgba(255,255,255,.050) !important;
  font-weight: 820 !important;
  cursor: pointer !important;
}

html[data-theme] body .app.app-community-shell .compose-emoji-panel button {
  font-size: 18px !important;
}

html[data-theme] body .app.app-community-shell .compose-emoji-panel button:hover,
html[data-theme] body .app.app-community-shell .compose-symbol-panel button:hover {
  border-color: rgba(245,201,120,.30) !important;
  background: rgba(217,163,77,.13) !important;
}

html[data-theme] body .app.app-community-shell .compose-symbol-panel {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 8px !important;
}

html[data-theme] body .app.app-community-shell .compose-symbol-panel label {
  grid-column: 1 / -1 !important;
  display: grid !important;
  gap: 5px !important;
}

html[data-theme] body .app.app-community-shell .compose-symbol-panel label span {
  color: rgba(247,242,232,.50) !important;
  font-size: 11px !important;
  font-weight: 760 !important;
}

html[data-theme] body .app.app-community-shell .compose-symbol-panel input {
  width: 100% !important;
  min-height: 36px !important;
  padding: 0 10px !important;
  border: 1px solid rgba(238,226,205,.14) !important;
  border-radius: 10px !important;
  color: rgba(247,242,232,.92) !important;
  background: rgba(255,255,255,.055) !important;
  outline: none !important;
}

html[data-theme] body .app.app-community-shell .compose-symbol-current,
html[data-theme] body .app.app-community-shell .compose-symbol-apply {
  color: #211608 !important;
  background: linear-gradient(135deg, #ffe0a0, #d99d45) !important;
}

html[data-theme] body .app.app-community-shell .compose-symbol-suggestions {
  grid-column: 1 / -1 !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 6px !important;
  max-height: 180px !important;
  overflow-y: auto !important;
}

html[data-theme] body .app.app-community-shell .compose-symbol-suggestions button {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 8px !important;
  align-items: center !important;
  min-width: 0 !important;
  padding: 0 9px !important;
}

html[data-theme] body .app.app-community-shell .compose-symbol-suggestions b {
  overflow: hidden !important;
  text-align: left !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html[data-theme] body .app.app-community-shell .compose-symbol-suggestions small {
  color: rgba(247,242,232,.50) !important;
  font-size: 10px !important;
  white-space: nowrap !important;
}

html[data-theme] body .app.app-community-shell .community-compose-top,
html[data-theme] body .app.app-community-shell .community-compose-tools {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 18px !important;
}

html[data-theme] body .app.app-community-shell .community-compose-top span {
  color: #f5c978 !important;
  font-size: 13px !important;
  font-weight: 820 !important;
}

html[data-theme] body .app.app-community-shell .community-compose-close {
  display: grid !important;
  place-items: center !important;
  width: 34px !important;
  height: 34px !important;
  border: 0 !important;
  border-radius: 50% !important;
  color: rgba(247,242,232,.86) !important;
  background: transparent !important;
  font-size: 24px !important;
  cursor: pointer !important;
}

html[data-theme] body .app.app-community-shell .community-compose-close:hover {
  background: rgba(255,255,255,.07) !important;
}

html[data-theme] body .app.app-community-shell .community-compose-body {
  display: grid !important;
  grid-template-columns: 42px minmax(0, 1fr) !important;
  gap: 12px !important;
  padding: 6px 18px 18px !important;
}

html[data-theme] body .app.app-community-shell .community-compose-main {
  display: grid !important;
  grid-template-rows: auto minmax(110px, 1fr) auto auto auto !important;
  gap: 10px !important;
  min-width: 0 !important;
}

html[data-theme] body .app.app-community-shell .community-compose-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

html[data-theme] body .app.app-community-shell .community-compose-meta select,
html[data-theme] body .app.app-community-shell .community-compose-audience {
  min-height: 30px !important;
  padding: 0 12px !important;
  border: 1px solid rgba(217,163,77,.28) !important;
  border-radius: 999px !important;
  color: #f5c978 !important;
  background: rgba(217,163,77,.08) !important;
  font-size: 12px !important;
  font-weight: 780 !important;
}

html[data-theme] body .app.app-community-shell .community-compose-main textarea {
  width: 100% !important;
  min-height: 138px !important;
  border: 0 !important;
  color: rgba(247,242,232,.92) !important;
  background: transparent !important;
  font-size: 24px !important;
  line-height: 1.35 !important;
  resize: vertical !important;
  outline: none !important;
}

html[data-theme] body .app.app-community-shell .community-compose-main textarea::placeholder {
  color: rgba(247,242,232,.32) !important;
}

html[data-theme] body .app.app-community-shell .community-compose-reply {
  color: rgba(245,201,120,.82) !important;
  font-size: 13px !important;
  font-weight: 760 !important;
}

html[data-theme] body .app.app-community-shell .community-compose-tools {
  border-top: 1px solid rgba(238,226,205,.10) !important;
}

html[data-theme] body .app.app-community-shell .community-compose-toolset {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  min-width: 0 !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
}

html[data-theme] body .app.app-community-shell .community-compose-toolset::-webkit-scrollbar {
  display: none !important;
}

html[data-theme] body .app.app-community-shell .community-compose-toolset button {
  flex: 0 0 auto !important;
  display: grid !important;
  place-items: center !important;
  width: 34px !important;
  min-width: 34px !important;
  height: 34px !important;
  padding: 0 !important;
  border: 1px solid rgba(238,226,205,.08) !important;
  border-radius: 999px !important;
  color: rgba(245,201,120,.76) !important;
  background: rgba(255,255,255,.045) !important;
  font-size: 11px !important;
  font-weight: 780 !important;
  cursor: pointer !important;
}

html[data-theme] body .app.app-community-shell .community-compose-toolset button svg {
  width: 17px !important;
  height: 17px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.9 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

html[data-theme] body .app.app-community-shell .community-compose-toolset button:hover:not(:disabled) {
  border-color: rgba(245,201,120,.24) !important;
  color: rgba(255,224,166,.94) !important;
  background: rgba(217,163,77,.10) !important;
}

html[data-theme] body .app.app-community-shell .community-compose-toolset button.is-disabled,
html[data-theme] body .app.app-community-shell .community-compose-toolset button:disabled {
  color: rgba(247,242,232,.26) !important;
  background: rgba(255,255,255,.025) !important;
  cursor: not-allowed !important;
  opacity: 1 !important;
}

html[data-theme] body .app.app-community-shell .community-compose-tools .primary,
html[data-theme] body .app.app-community-shell .community-quick-compose .primary {
  min-width: 84px !important;
  min-height: 36px !important;
  border-radius: 999px !important;
  color: #211608 !important;
  background: linear-gradient(135deg, #ffe0a0, #d99d45) !important;
}

html[data-theme] body .app.app-community-shell .community-compose-submit:disabled {
  color: rgba(247,242,232,.42) !important;
  background: rgba(255,255,255,.10) !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
}

@media (max-width: 1180px) {
  html[data-theme] body .app.app-community-shell {
    width: min(100% - 20px, 860px) !important;
  }

  html[data-theme] body .app.app-community-shell .community-market-shell {
    grid-template-columns: 1fr !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  html[data-theme] body .app.app-community-shell .community-left-rail {
    display: none !important;
  }

  html[data-theme] body .app.app-community-shell .community-layout-resizer {
    display: none !important;
  }

  html[data-theme] body .app.app-community-shell .community-stocktwits-topbar {
    grid-template-columns: 1fr !important;
  }

  html[data-theme] body .app.app-community-shell .community-stocktwits-topbar nav {
    justify-content: flex-start !important;
    overflow-x: auto !important;
    padding-bottom: 2px !important;
  }

  html[data-theme] body .app.app-community-shell .community-symbol-main,
  html[data-theme] body .app.app-community-shell .community-quote-row {
    align-items: flex-start !important;
    flex-direction: column !important;
  }

  html[data-theme] body .app.app-community-shell .community-quote-row p {
    white-space: normal !important;
  }

  html[data-theme] body .app.app-community-shell .community-quote-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html[data-theme] body .app.app-community-shell .community-chart-card .local-kline-frame {
    height: clamp(360px, 58vh, 560px) !important;
  }

  html[data-theme] body .app.app-community-shell .community-hot-sentiment-list,
  html[data-theme] body .app.app-community-shell .community-feature-grid,
  html[data-theme] body .app.app-community-shell .community-radar-preview,
  html[data-theme] body .app.app-community-shell .community-info-rules {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html[data-theme] body .app.app-community-shell .community-insight-panel .community-system-prompts {
    grid-template-columns: 1fr !important;
  }

  html[data-theme] body .app.app-community-shell .community-chat-panel {
    max-height: none !important;
  }

  html[data-theme] body .app.app-community-shell .community-chat-panel .chat-list {
    max-height: 560px !important;
  }
}

@media (max-width: 640px) {
  html[data-theme] body .app.app-community-shell {
    width: 100% !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  html[data-theme] body .app.app-community-shell .community-symbol-overview,
  html[data-theme] body .app.app-community-shell .community-market-head,
  html[data-theme] body .app.app-community-shell .community-chat-panel {
    border-radius: 18px !important;
  }

  html[data-theme] body .app.app-community-shell .community-symbol-title h1 {
    font-size: 25px !important;
  }

  html[data-theme] body .app.app-community-shell .community-chat-filter {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html[data-theme] body .app.app-community-shell .community-quick-compose {
    padding: 10px !important;
  }

  html[data-theme] body .app.app-community-shell .community-hot-sentiment-list,
  html[data-theme] body .app.app-community-shell .community-feature-grid,
  html[data-theme] body .app.app-community-shell .community-radar-preview,
  html[data-theme] body .app.app-community-shell .community-info-rules {
    grid-template-columns: 1fr !important;
  }

  html[data-theme] body .app.app-community-shell .community-culture-card:nth-of-type(2) {
    display: none !important;
  }

  html[data-theme] body .app.app-community-shell .community-stocktwits-head {
    display: none !important;
  }
}



html[data-theme] body .app.app-profile-shell .member-section:has(.point-recharge-hero),
html[data-theme] body .app.app-profile-shell .member-section:has(.member-tutorial-carousel),
html[data-theme] body .app.app-profile-shell .member-section:has(.member-tutorial-showcase) {
  border-color: rgba(238,226,205,.14) !important;
  background:
    radial-gradient(circle at 86% 0%, rgba(217,163,77,.16), transparent 34%),
    linear-gradient(150deg, rgba(43,35,27,.96), rgba(20,18,16,.98)) !important;
  color: #f7f2e8 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.055), 0 18px 56px rgba(0,0,0,.22) !important;
}

html[data-theme] body .app.app-profile-shell .point-balance-card,
html[data-theme] body .app.app-profile-shell .point-plan-grid article,
html[data-theme] body .app.app-profile-shell .point-order-panel,
html[data-theme] body .app.app-profile-shell .point-usage-panel,
html[data-theme] body .app.app-profile-shell .point-quick-observe,
html[data-theme] body .app.app-profile-shell .point-recharge-note,
html[data-theme] body .app.app-profile-shell .member-tutorial-slide {
  border-color: rgba(238,226,205,.13) !important;
  background:
    radial-gradient(circle at 88% 0%, rgba(217,163,77,.12), transparent 36%),
    linear-gradient(145deg, rgba(255,255,255,.052), rgba(255,255,255,.016)),
    rgba(19,17,15,.76) !important;
  color: #f7f2e8 !important;
}

html[data-theme] body .app.app-profile-shell .point-balance-card span,
html[data-theme] body .app.app-profile-shell .point-plan-grid span,
html[data-theme] body .app.app-profile-shell .point-usage-head span,
html[data-theme] body .app.app-profile-shell .point-usage-grid span,
html[data-theme] body .app.app-profile-shell .point-quick-observe span,
html[data-theme] body .app.app-profile-shell .point-recharge-note span,
html[data-theme] body .app.app-profile-shell .member-tutorial-copy span {
  color: rgba(240,189,105,.78) !important;
}

html[data-theme] body .app.app-profile-shell .point-balance-card small,
html[data-theme] body .app.app-profile-shell .point-plan-grid small,
html[data-theme] body .app.app-profile-shell .point-pack-card em,
html[data-theme] body .app.app-profile-shell .point-empty-copy,
html[data-theme] body .app.app-profile-shell .point-usage-grid small,
html[data-theme] body .app.app-profile-shell .point-quick-observe p,
html[data-theme] body .app.app-profile-shell .point-recharge-note p,
html[data-theme] body .app.app-profile-shell .member-tutorial-copy p,
html[data-theme] body .app.app-profile-shell .member-tutorial-copy li {
  color: rgba(247,242,232,.64) !important;
}

html[data-theme] body .app.app-profile-shell .point-balance-card b,
html[data-theme] body .app.app-profile-shell .point-plan-grid b,
html[data-theme] body .app.app-profile-shell .point-usage-grid b {
  color: #ffd58b !important;
}

html[data-theme] body .app.app-profile-shell .point-usage-grid > div,
html[data-theme] body .app.app-profile-shell .member-tutorial-visual {
  border-color: rgba(238,226,205,.12) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.040), rgba(255,255,255,.014)),
    rgba(10,10,12,.54) !important;
}

html[data-theme] body .app.app-profile-shell .point-recharge-actions button,
html[data-theme] body .app.app-profile-shell .point-usage-head button,
html[data-theme] body .app.app-profile-shell .point-recharge-note button,
html[data-theme] body .app.app-profile-shell .member-tutorial-controls > button {
  border-color: rgba(238,226,205,.14) !important;
  color: rgba(247,242,232,.84) !important;
  background: rgba(255,255,255,.045) !important;
}

html[data-theme] body .app.app-profile-shell .point-pack-card button,
html[data-theme] body .app.app-profile-shell .point-pending-order button {
  border-color: rgba(240,189,105,.40) !important;
  color: #201407 !important;
  background: linear-gradient(135deg, #ffe0a3, #d49a3c) !important;
}

html[data-theme] body .app.app-profile-shell .member-tutorial-copy a {
  border-color: rgba(240,189,105,.28) !important;
  color: #f7d99b !important;
  background: rgba(240,189,105,.075) !important;
}

html[data-theme] body .app.app-profile-shell .points-detail-backdrop,
html[data-theme="dark"] body .app.app-profile-shell .points-detail-backdrop {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: rgba(0,0,0,.72) !important;
  box-shadow: none !important;
  transform: none !important;
}

html[data-theme] body .app.app-profile-shell .points-detail-panel,
html[data-theme="dark"] body .app.app-profile-shell .points-detail-panel {
  border-color: rgba(238,226,205,.16) !important;
  background:
    radial-gradient(circle at 14% 0%, rgba(217,163,77,.18), transparent 34%),
    linear-gradient(150deg, rgba(40,32,24,.98), rgba(14,13,12,.98)) !important;
  color: #f7f2e8 !important;
}

html[data-theme] body .app.app-profile-shell .points-detail-list li {
  border-color: rgba(238,226,205,.10) !important;
  background: rgba(255,255,255,.035) !important;
  color: rgba(247,242,232,.88) !important;
}

/* Tutorial reference style. */
.member-tutorial-showcase,
.tutorial-reference-block,
.tutorial-reference-faq,
.member-tutorial-faq {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(238,226,205,.12);
  background:
    radial-gradient(circle at 50% -10%, rgba(217,163,77,.12), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,.036), rgba(255,255,255,.012)),
    rgba(3,3,3,.74);
}

.member-tutorial-showcase,
.tutorial-reference-block {
  display: grid;
  gap: 26px;
  padding: clamp(22px, 4vw, 42px);
}

.member-tutorial-showcase > h3,
.member-tutorial-faq > h3,
.tutorial-reference-block > h2,
.tutorial-reference-faq > h2 {
  margin: 0;
  color: #f7f2e8;
  font-size: clamp(34px, 5vw, 64px);
  line-height: .96;
  letter-spacing: 0;
  text-align: center;
}

.member-tutorial-principles,
.tutorial-reference-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.member-tutorial-principle,
.tutorial-reference-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(180,194,210,.24);
  border-radius: 22px;
  background:
    radial-gradient(circle at 78% 22%, rgba(70,101,145,.18), transparent 34%),
    linear-gradient(145deg, rgba(18,24,32,.94), rgba(8,10,14,.98));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  animation: tutorialCardIn .62s ease both;
}

.member-tutorial-principle {
  min-height: 390px;
}

.member-tutorial-principle:nth-child(2),
.tutorial-reference-card:nth-child(2) {
  animation-delay: .08s;
}

.member-tutorial-principle:nth-child(3),
.tutorial-reference-card:nth-child(3) {
  animation-delay: .16s;
}

.member-tutorial-principle h4,
.tutorial-reference-card h3 {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 56px;
  z-index: 2;
  margin: 0;
  color: #fff;
  font-size: clamp(25px, 2.5vw, 36px);
  line-height: 1.03;
  letter-spacing: 0;
}

.member-tutorial-principle h4 {
  bottom: 104px;
  font-size: clamp(24px, 1.9vw, 30px);
}

.member-tutorial-principle p,
.tutorial-reference-card p {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  margin: 0;
  color: rgba(247,242,232,.62);
  font-size: 13px;
  line-height: 1.55;
}

.member-tutorial-principle a,
.tutorial-reference-card a {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid rgba(255,209,132,.34);
  border-radius: 11px;
  color: #221407;
  background: linear-gradient(135deg, #ffe1a6, #d9a34d);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.member-tutorial-principle.is-radar p,
.tutorial-reference-card.is-radar p {
  right: 132px;
}

.member-tutorial-principle.is-radar h4 {
  bottom: 142px;
}

.member-tutorial-principle.is-radar p {
  right: 22px;
  bottom: 64px;
}

.member-tutorial-principle.is-radar a {
  left: 22px;
  right: auto;
}

.tutorial-mock-chart {
  position: absolute;
  left: 22px;
  top: 38px;
  width: min(240px, 58%);
  height: 142px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(to right, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px),
    rgba(5,9,15,.72);
  background-size: 40px 100%, 100% 34px;
}

.tutorial-mock-chart span {
  position: absolute;
  bottom: 22px;
  width: 8px;
  border-radius: 8px 8px 0 0;
  background: #0fbf9b;
  animation: tutorialCandle 2.4s ease-in-out infinite;
}

.tutorial-mock-chart span:nth-child(1) { left: 18px; height: 48px; }
.tutorial-mock-chart span:nth-child(2) { left: 58px; height: 88px; background: #ef4f55; animation-delay: .18s; }
.tutorial-mock-chart span:nth-child(3) { left: 98px; height: 62px; animation-delay: .36s; }
.tutorial-mock-chart span:nth-child(4) { left: 138px; height: 104px; background: #ef4f55; animation-delay: .54s; }
.tutorial-mock-chart span:nth-child(5) { left: 178px; height: 78px; animation-delay: .72s; }

.tutorial-mock-chart i {
  position: absolute;
  left: 16px;
  right: 14px;
  top: 86px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #2d7dff, #a64cff, transparent);
  box-shadow: 0 0 18px rgba(76,126,255,.26);
  transform: skewY(-13deg);
  animation: tutorialSweep 3.2s ease-in-out infinite;
}

.tutorial-system-panel,
.tutorial-result-card {
  position: absolute;
  right: 22px;
  top: 40px;
  z-index: 2;
  display: grid;
  gap: 8px;
  min-width: 142px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px;
  background: rgba(20,25,33,.88);
  box-shadow: 0 14px 42px rgba(0,0,0,.30);
}

.tutorial-system-panel b,
.tutorial-result-card b {
  color: #fff;
  font-size: 14px;
}

.tutorial-system-panel em,
.tutorial-result-card span {
  color: rgba(247,242,232,.62);
  font-size: 12px;
  font-style: normal;
}

.tutorial-bubble-map {
  position: absolute;
  inset: 28px 22px 112px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 34% 48%, rgba(23,174,130,.24), transparent 25%),
    radial-gradient(circle at 70% 42%, rgba(238,77,80,.22), transparent 27%),
    rgba(255,255,255,.025);
}

.member-tutorial-principle .tutorial-bubble-map {
  inset: 28px 22px 190px;
}

.tutorial-bubble-map span {
  position: absolute;
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 16px 36px rgba(0,0,0,.24);
  animation: tutorialBubbleFloat 3.6s ease-in-out infinite;
}

.tutorial-bubble-map .buy { left: 18%; top: 46%; background: #079f77; }
.tutorial-bubble-map .sell { right: 16%; top: 24%; background: #d84b49; animation-delay: .32s; }
.tutorial-bubble-map .watch { left: 48%; top: 10%; background: #95753f; animation-delay: .64s; }

.tutorial-bubble-map i {
  position: absolute;
  left: 12%;
  right: 12%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,214,140,.58), transparent);
  animation: tutorialPulseLine 2.6s ease-in-out infinite;
}

.tutorial-result-card {
  left: 24px;
  right: 24px;
  top: 56px;
  min-height: 126px;
  align-content: center;
  padding-right: 82px;
}

.tutorial-result-card i {
  position: absolute;
  right: 18px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  border-radius: 50%;
  color: #10261c;
  background: linear-gradient(135deg, #dfffe7, #46c58f);
  font-style: normal;
  font-size: 24px;
  font-weight: 900;
  animation: tutorialCheckPulse 2.2s ease-in-out infinite;
}

.member-tutorial-faq,
.tutorial-reference-faq {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding: clamp(22px, 4vw, 42px);
}

.member-tutorial-faq details,
.tutorial-reference-faq details {
  border-top: 1px solid rgba(255,255,255,.14);
}

.member-tutorial-faq details:first-of-type,
.tutorial-reference-faq details:first-of-type {
  border-top: 0;
}

.member-tutorial-faq summary,
.tutorial-reference-faq summary {
  position: relative;
  display: flex;
  min-height: 62px;
  align-items: center;
  padding: 0 46px 0 0;
  color: #f7f2e8;
  font-size: clamp(18px, 2.2vw, 25px);
  font-weight: 850;
  list-style: none;
  cursor: pointer;
}

.member-tutorial-faq summary::-webkit-details-marker,
.tutorial-reference-faq summary::-webkit-details-marker {
  display: none;
}

.member-tutorial-faq summary::after,
.tutorial-reference-faq summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 50%;
  color: rgba(247,242,232,.9);
  font-size: 34px;
  line-height: 1;
  transform: translateY(-50%);
}

.member-tutorial-faq details[open] summary::after,
.tutorial-reference-faq details[open] summary::after {
  content: "-";
}

.member-tutorial-faq p,
.tutorial-reference-faq p {
  max-width: 860px;
  margin: -4px 0 18px;
  color: rgba(247,242,232,.58);
  font-size: 15px;
  line-height: 1.75;
}

.tutorial-reference-page {
  width: min(1500px, calc(100vw - 56px));
  gap: clamp(38px, 6vw, 82px);
  padding: 112px 0 72px;
}

.tutorial-reference-hero {
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
}

.tutorial-reference-hero > span {
  color: rgba(217,163,77,.82);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: .22em;
}

.tutorial-reference-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(46px, 6.5vw, 92px);
  line-height: .94;
  letter-spacing: 0;
}

.tutorial-reference-hero p {
  max-width: 620px;
  margin: 0;
  color: rgba(247,242,232,.56);
  font-size: 16px;
  line-height: 1.75;
}

.tutorial-reference-hero .tutorial-actions {
  justify-content: center;
  margin-top: 8px;
}

@keyframes tutorialCardIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tutorialCandle {
  0%, 100% { transform: scaleY(.82); opacity: .72; }
  50% { transform: scaleY(1.08); opacity: 1; }
}

@keyframes tutorialSweep {
  0%, 100% { transform: translateY(4px) skewY(-13deg); opacity: .48; }
  50% { transform: translateY(-10px) skewY(-13deg); opacity: .95; }
}

@keyframes tutorialBubbleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes tutorialPulseLine {
  0%, 100% { opacity: .24; transform: scaleX(.86); }
  50% { opacity: .82; transform: scaleX(1); }
}

@keyframes tutorialCheckPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(92,205,147,.18); transform: scale(1); }
  50% { box-shadow: 0 0 0 12px rgba(92,205,147,0); transform: scale(1.04); }
}

@media (max-width: 980px) {
  .member-tutorial-principles,
  .tutorial-reference-grid {
    grid-template-columns: 1fr;
  }

  .member-tutorial-principle,
  .tutorial-reference-card {
    min-height: 300px;
  }

  .member-tutorial-principle {
    min-height: 390px;
  }

  .tutorial-reference-page {
    width: min(100% - 22px, 720px);
    padding-top: 82px;
  }
}

@media (max-width: 760px) {
  .member-tutorial-showcase,
  .member-tutorial-faq,
  .tutorial-reference-block,
  .tutorial-reference-faq {
    border-radius: 18px;
    padding: 18px;
  }

  .member-tutorial-showcase > h3,
  .member-tutorial-faq > h3,
  .tutorial-reference-block > h2,
  .tutorial-reference-faq > h2 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .member-tutorial-principle h4,
  .tutorial-reference-card h3 {
    font-size: 28px;
  }

  .tutorial-system-panel {
    right: 16px;
    min-width: 120px;
  }

  .tutorial-mock-chart {
    width: 56%;
  }

  .member-tutorial-principle.is-radar p,
  .tutorial-reference-card.is-radar p {
    right: 22px;
    bottom: 68px;
  }

  .member-tutorial-principle a,
  .tutorial-reference-card a {
    left: 22px;
    right: auto;
  }
}

/* Community credit tiers: bronze, silver, gold, platinum, diamond. */
.avatar-badge.community-tier-bronze,
.community-tier-bronze {
  --credit-ring: #b57b4f;
  --credit-ring-soft: rgba(181,123,79,.34);
  --credit-glow: rgba(181,123,79,.22);
  --credit-surface: rgba(181,123,79,.12);
}

.avatar-badge.community-tier-silver,
.community-tier-silver {
  --credit-ring: #d0d4d8;
  --credit-ring-soft: rgba(208,212,216,.32);
  --credit-glow: rgba(208,212,216,.20);
  --credit-surface: rgba(208,212,216,.10);
}

.avatar-badge.community-tier-gold,
.community-tier-gold {
  --credit-ring: #e0b762;
  --credit-ring-soft: rgba(224,183,98,.38);
  --credit-glow: rgba(224,183,98,.26);
  --credit-surface: rgba(224,183,98,.13);
}

.avatar-badge.community-tier-platinum,
.community-tier-platinum {
  --credit-ring: #e6edf2;
  --credit-ring-soft: rgba(189,207,222,.38);
  --credit-glow: rgba(189,207,222,.24);
  --credit-surface: rgba(189,207,222,.12);
}

.avatar-badge.community-tier-diamond,
.community-tier-diamond {
  --credit-ring: #aeeaff;
  --credit-ring-soft: rgba(174,234,255,.44);
  --credit-glow: rgba(174,234,255,.30);
  --credit-surface: rgba(174,234,255,.12);
}

.avatar-badge[class*="community-tier-"] {
  border-color: var(--credit-ring) !important;
  outline: 2px solid var(--credit-ring-soft);
  outline-offset: 2px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.24),
    inset 0 -10px 22px rgba(0,0,0,.20),
    0 0 0 1px rgba(10,8,6,.80),
    0 14px 34px var(--credit-glow) !important;
}

.avatar-badge.small[class*="community-tier-"],
.avatar-badge.nav-avatar[class*="community-tier-"],
.avatar-badge.nav-identity-avatar[class*="community-tier-"] {
  outline-width: 1px;
  outline-offset: 1px;
}

.avatar-badge.large[class*="community-tier-"] {
  outline-width: 2px;
  outline-offset: 3px;
}

.avatar-badge.avatar-image[class*="community-tier-"] {
  background:
    radial-gradient(circle at 32% 14%, rgba(255,255,255,.20), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.02)),
    #12100d !important;
}

.chat-credit-tier,
.community-tier-name {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0 8px;
  border: 1px solid var(--credit-ring-soft, rgba(217,163,77,.24));
  border-radius: 999px;
  color: var(--credit-ring, #f1c987);
  background:
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018)),
    var(--credit-surface, rgba(217,163,77,.10));
  font-size: 11px;
  font-weight: 760;
  letter-spacing: .02em;
  white-space: nowrap;
}

.community-tier-name {
  min-height: 24px;
  margin-top: 4px;
  padding: 0 10px;
}

html[data-theme] .app-profile-shell .community-credit-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

html[data-theme] .app-profile-shell .community-tier-card[class*="community-tier-"] {
  border-color: var(--credit-ring-soft) !important;
  background:
    radial-gradient(circle at 82% 10%, var(--credit-glow), transparent 38%),
    linear-gradient(145deg, var(--credit-surface), rgba(255,255,255,.025)) !important;
}

html[data-theme] .app-profile-shell .community-tier-card[class*="community-tier-"] b {
  color: var(--credit-ring) !important;
}

html[data-theme] .app-profile-shell .community-tier-card small {
  display: block;
  margin-top: 7px;
  color: rgba(247,242,232,.58);
  font-size: 12px;
  line-height: 1.45;
}

html[data-theme] body .app.app-community-shell .chat-message .avatar-badge[class*="community-tier-"] {
  margin-top: 3px;
}

html[data-theme] body .app.app-dashboard-shell .dashboard-race-card {
  grid-template-rows: 42px auto minmax(0, 1fr) !important;
  min-height: 294px !important;
}

html[data-theme] body .app.app-dashboard-shell .dashboard-race-switch {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 8px 12px 4px;
  padding: 3px;
  border: 1px solid rgba(244,239,232,.14);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(244,239,232,.045), rgba(0,0,0,.12)),
    rgba(18,15,13,.76);
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,.07),
    inset 0 -1px 1px rgba(0,0,0,.48),
    0 10px 22px rgba(0,0,0,.20);
  isolation: isolate;
  overflow: hidden;
}

html[data-theme] body .app.app-dashboard-shell .dashboard-race-switch::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc((100% - 6px) / 2);
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(244,239,232,.16), rgba(244,239,232,.065)),
    rgba(244,239,232,.075);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.13),
    inset 0 -1px 0 rgba(0,0,0,.32),
    0 1px 4px rgba(0,0,0,.38);
  transform: translateX(0);
  transition: transform .28s cubic-bezier(.2,.8,.2,1), background-color .2s ease;
}

html[data-theme] body .app.app-dashboard-shell .dashboard-race-switch.is-race-active::before {
  transform: translateX(100%);
}

html[data-theme] body .app.app-dashboard-shell .dashboard-race-switch button {
  position: relative;
  z-index: 1;
  min-width: 0;
  height: 28px;
  border: 0;
  border-radius: 999px;
  color: rgba(244,239,232,.58);
  background: transparent;
  font-size: 11px;
  font-weight: 760;
  cursor: pointer;
  transition: color .18s ease, text-shadow .18s ease;
}

html[data-theme] body .app.app-dashboard-shell .dashboard-race-switch button.active {
  color: rgba(244,239,232,.92);
  background: transparent;
  text-shadow: 0 1px 0 rgba(0,0,0,.38);
}

html[data-theme] body .app.app-dashboard-shell .dashboard-race-pages,
html[data-theme] body .app.app-dashboard-shell .dashboard-race-page {
  min-width: 0;
  min-height: 0;
}

html[data-theme] body .app.app-dashboard-shell .dashboard-race-pages {
  display: grid;
}

html[data-theme] body .app.app-dashboard-shell .dashboard-race-page[hidden] {
  display: none !important;
}

html[data-theme] body .app.app-dashboard-shell .dashboard-race-page[data-market-race-page="hourglass"] {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}

html[data-theme] body .app.app-dashboard-shell .dashboard-race-rank-page {
  grid-template-rows: auto auto 112px minmax(80px, 96px);
  gap: 6px;
  padding: 7px 10px 10px;
  overflow: hidden;
}

html[data-theme] body .app.app-dashboard-shell .dashboard-race-rank-page.is-active {
  display: grid;
}

html[data-theme] body .app.app-dashboard-shell .market-race-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 5px;
  min-width: 0;
}

html[data-theme] body .app.app-dashboard-shell .market-race-controls select,
html[data-theme] body .app.app-dashboard-shell .market-race-controls button {
  min-width: 0;
  height: 30px;
  border: 1px solid rgba(244,239,232,.12);
  border-radius: 8px;
  color: rgba(244,239,232,.84);
  background: rgba(28,24,22,.88);
  font-size: 11px;
  font-weight: 700;
}

html[data-theme] body .app.app-dashboard-shell .market-race-controls button {
  padding: 0 10px;
  color: #f5c66d;
  cursor: pointer;
}

html[data-theme] body .app.app-dashboard-shell .market-race-status {
  min-height: 18px;
  overflow: hidden;
  color: rgba(244,239,232,.50);
  font-size: 10px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html[data-theme] body .app.app-dashboard-shell .market-race-chart {
  min-height: 0;
  height: 112px;
  border: 1px solid rgba(244,239,232,.08);
  border-radius: 10px;
  background: rgba(4,8,14,.32);
}

html[data-theme] body .app.app-dashboard-shell .market-race-list {
  display: grid;
  gap: 0;
  min-height: 0;
  max-height: 96px;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  list-style: none;
  scrollbar-width: thin;
}

html[data-theme] body .app.app-dashboard-shell .market-race-list li {
  display: grid;
  grid-template-columns: 22px minmax(46px, .62fr) minmax(0, 1fr) auto;
  gap: 6px;
  align-items: center;
  min-height: 28px;
  border-bottom: 1px solid rgba(244,239,232,.06);
  color: rgba(244,239,232,.72);
  font-size: 10px;
  transition: background-color .22s ease, color .22s ease;
  will-change: transform;
}

html[data-theme] body .app.app-dashboard-shell .market-race-list li.is-entering {
  animation: marketRaceRowEnter .34s ease both;
}

html[data-theme] body .app.app-dashboard-shell .market-race-list li span {
  color: rgba(245,198,109,.76);
  font-weight: 800;
}

html[data-theme] body .app.app-dashboard-shell .market-race-list li b {
  overflow: hidden;
  color: rgba(244,239,232,.94);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html[data-theme] body .app.app-dashboard-shell .market-race-list li small {
  overflow: hidden;
  color: rgba(244,239,232,.46);
  text-overflow: ellipsis;
  white-space: nowrap;
}

html[data-theme] body .app.app-dashboard-shell .market-race-list li em {
  color: #00c28a;
  font-style: normal;
  font-weight: 800;
}

html[data-theme] body .app.app-dashboard-shell .market-race-list li.is-down em {
  color: #ff4b4b;
}

html[data-theme] body .app.app-dashboard-shell .market-race-list .market-race-empty {
  grid-template-columns: minmax(0, 1fr);
  min-height: 52px;
  place-items: center;
  color: rgba(244,239,232,.48);
}

html[data-theme] body .app.app-dashboard-shell .dashboard-left-rail {
  grid-column: 1;
  grid-row: 1;
}

html[data-theme] body .app.app-dashboard-shell .dashboard-center {
  grid-column: 2;
  grid-row: 1;
}

html[data-theme] body .app.app-dashboard-shell .dashboard-right-rail {
  grid-column: 3;
  grid-row: 1;
}

html[data-theme] body .app.app-dashboard-shell .dashboard-race-workspace[hidden] {
  display: none !important;
}

html[data-theme] body .app.app-dashboard-shell .dashboard-race-workspace {
  grid-column: 1 / 3;
  grid-row: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-width: 0;
  min-height: 0;
  height: 100%;
  padding: 18px;
  gap: 14px;
  overflow: hidden;
  border-radius: 22px !important;
}

html[data-theme] body .app.app-dashboard-shell .dashboard-terminal-shell.is-race-mode .dashboard-left-rail,
html[data-theme] body .app.app-dashboard-shell .dashboard-terminal-shell.is-race-mode .dashboard-center {
  display: none !important;
}

html[data-theme] body .app.app-dashboard-shell .dashboard-race-workspace-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: 16px;
  align-items: end;
}

html[data-theme] body .app.app-dashboard-shell .dashboard-race-workspace-head h1 {
  margin: 4px 0 4px;
  color: rgba(255,250,240,.96);
  font-size: clamp(32px, 3.2vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

html[data-theme] body .app.app-dashboard-shell .dashboard-race-workspace-head p {
  max-width: 720px;
  margin: 0;
  color: rgba(244,239,232,.58);
  font-size: 13px;
  line-height: 1.45;
}

html[data-theme] body .app.app-dashboard-shell .dashboard-race-workspace .market-race-controls {
  align-self: end;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 86px;
}

html[data-theme] body .app.app-dashboard-shell .dashboard-race-workspace .market-race-controls select,
html[data-theme] body .app.app-dashboard-shell .dashboard-race-workspace .market-race-controls button {
  height: 38px;
  border-radius: 10px;
  font-size: 12px;
}

html[data-theme] body .app.app-dashboard-shell .dashboard-race-workspace-body {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  gap: 14px;
  min-height: 0;
}

html[data-theme] body .app.app-dashboard-shell .market-race-stage,
html[data-theme] body .app.app-dashboard-shell .market-race-board {
  min-width: 0;
  min-height: 0;
  border: 1px solid rgba(244,239,232,.10);
  border-radius: 16px;
  background: rgba(6,8,12,.26);
}

html[data-theme] body .app.app-dashboard-shell .market-race-stage {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 10px;
  padding: 14px;
}

html[data-theme] body .app.app-dashboard-shell .dashboard-race-workspace.is-loading .market-race-stage,
html[data-theme] body .app.app-dashboard-shell .dashboard-race-workspace.is-loading .market-race-board {
  border-color: rgba(245,198,109,.18);
}

html[data-theme] body .app.app-dashboard-shell .dashboard-race-workspace.is-loading .market-race-stage::after {
  content: "更新中";
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 4px 9px;
  border: 1px solid rgba(245,198,109,.22);
  border-radius: 999px;
  color: rgba(245,198,109,.86);
  background: rgba(28,22,16,.86);
  box-shadow: 0 0 20px rgba(245,198,109,.10);
  font-size: 11px;
  font-weight: 800;
  pointer-events: none;
}

html[data-theme] body .app.app-dashboard-shell .dashboard-race-workspace .market-race-status {
  min-height: 22px;
  font-size: 12px;
  color: rgba(244,239,232,.62);
}

html[data-theme] body .app.app-dashboard-shell .dashboard-race-workspace .market-race-chart {
  height: 100%;
  min-height: 360px;
  border-radius: 12px;
  background: rgba(1,7,15,.54);
}

html[data-theme] body .app.app-dashboard-shell .market-race-board {
  display: grid;
  grid-template-rows: 46px minmax(0, 1fr);
  overflow: hidden;
}

html[data-theme] body .app.app-dashboard-shell .market-race-board .screen-top {
  min-height: 46px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(244,239,232,.08);
}

html[data-theme] body .app.app-dashboard-shell .dashboard-race-workspace .market-race-list {
  height: 100%;
  max-height: none;
  padding: 0 12px 12px;
}

html[data-theme] body .app.app-dashboard-shell .dashboard-race-workspace .market-race-list li {
  grid-template-columns: 34px minmax(64px, .5fr) minmax(0, 1fr) minmax(80px, auto);
  min-height: 42px;
  font-size: 12px;
}

html[data-theme] body .app.app-dashboard-shell .dashboard-race-workspace .market-race-list li b {
  font-size: 14px;
}

@keyframes marketRaceRowEnter {
  from {
    opacity: 0;
    transform: translateX(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 760px) {
  html[data-theme] .app-profile-shell .community-credit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html[data-theme] body .app.app-dashboard-shell .dashboard-race-card {
    min-height: 350px !important;
  }

  html[data-theme] body .app.app-dashboard-shell .dashboard-race-rank-page {
    grid-template-rows: auto auto 136px minmax(92px, 1fr);
  }

  html[data-theme] body .app.app-dashboard-shell .market-race-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html[data-theme] body .app.app-dashboard-shell .market-race-controls button {
    grid-column: 1 / -1;
  }

  html[data-theme] body .app.app-dashboard-shell .market-race-chart {
    height: 136px;
  }

  html[data-theme] body .app.app-dashboard-shell .market-race-list {
    max-height: 220px;
  }

  html[data-theme] body .app.app-dashboard-shell .dashboard-race-workspace {
    grid-column: 1 / -1 !important;
    height: auto;
    min-height: 640px;
    padding: 12px;
  }

  html[data-theme] body .app.app-dashboard-shell .dashboard-terminal-shell.is-race-mode {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html[data-theme] body .app.app-dashboard-shell .dashboard-terminal-shell.is-race-mode .dashboard-race-workspace {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    width: 100% !important;
  }

  html[data-theme] body .app.app-dashboard-shell .dashboard-terminal-shell.is-race-mode .dashboard-right-rail {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    width: 100% !important;
  }

  html[data-theme] body .app.app-dashboard-shell .dashboard-race-workspace-head,
  html[data-theme] body .app.app-dashboard-shell .dashboard-race-workspace-body {
    grid-template-columns: minmax(0, 1fr);
  }

  html[data-theme] body .app.app-dashboard-shell .dashboard-race-workspace .market-race-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html[data-theme] body .app.app-dashboard-shell .dashboard-race-workspace .market-race-controls button {
    grid-column: 1 / -1;
  }

  html[data-theme] body .app.app-dashboard-shell .dashboard-race-workspace .market-race-chart {
    min-height: 260px;
  }

  html[data-theme] body .app.app-dashboard-shell .dashboard-race-workspace .market-race-list {
    max-height: 360px;
  }

  .chat-credit-tier {
    min-height: 20px;
    padding: 0 7px;
    font-size: 10px;
  }
}

html[data-theme] body .app.app-radar-shell .radar-scan-toast {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 3200;
  width: min(360px, calc(100vw - 28px));
  padding: 15px 16px 15px;
  border: 1px solid rgba(246,199,68,.32);
  border-radius: 14px;
  color: #f8f4ea;
  background:
    radial-gradient(circle at 0% 0%, rgba(246,199,68,.13), transparent 44%),
    linear-gradient(135deg, rgba(20,18,15,.98), rgba(7,8,10,.97)),
    rgba(12,12,13,.94);
  box-shadow:
    0 18px 44px rgba(0,0,0,.54),
    0 0 0 1px rgba(246,199,68,.06),
    0 0 22px rgba(246,199,68,.10),
    inset 0 1px 0 rgba(255,255,255,.07),
    inset 0 0 0 1px rgba(255,255,255,.025);
  opacity: 0;
  transform: translate3d(0, 14px, 0) scale(.98);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  overflow: hidden;
}

html[data-theme] body .app.app-radar-shell .radar-scan-toast::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(246,199,68,.12), transparent 54%),
    repeating-linear-gradient(0deg, transparent 0 9px, rgba(255,255,255,.025) 10px);
  opacity: .34;
  pointer-events: none;
}

html[data-theme] body .app.app-radar-shell .radar-scan-toast.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  pointer-events: auto;
}

html[data-theme] body .app.app-radar-shell .radar-scan-toast-head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

html[data-theme] body .app.app-radar-shell .radar-scan-percent {
  display: block;
  width: 68px;
  min-width: 68px;
  color: #ffd45f;
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 24px;
  font-variant-numeric: tabular-nums;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-align: left;
  text-shadow: 0 0 14px rgba(246,199,68,.32);
  transition: color .2s ease, text-shadow .2s ease;
}

html[data-theme] body .app.app-radar-shell .radar-scan-toast b {
  display: block;
  margin: 0 0 7px;
  color: rgba(246,199,68,.82);
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  font-weight: 820;
  letter-spacing: .14em;
  line-height: 1.1;
}

html[data-theme] body .app.app-radar-shell .radar-scan-toast strong {
  display: block;
  margin: 0;
  color: rgba(255,248,229,.96);
  font-size: 14px;
  font-weight: 820;
  line-height: 1.2;
}

html[data-theme] body .app.app-radar-shell .radar-scan-toast small {
  display: none;
  min-width: 0;
  color: rgba(248,244,234,.64);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
}

html[data-theme] body .app.app-radar-shell .radar-scan-progress {
  position: relative;
  z-index: 1;
  height: 5px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.075);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.035);
}

html[data-theme] body .app.app-radar-shell .radar-scan-progress i {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: #f6c744;
  box-shadow: 0 0 12px rgba(246,199,68,.38);
  transform: translateZ(0);
  will-change: width;
  transition: none;
}

html[data-theme] body .app.app-radar-shell .radar-scan-toast em {
  display: none;
  position: relative;
  z-index: 1;
  margin-top: 8px;
  color: rgba(248,244,234,.54);
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  font-style: normal;
  font-weight: 750;
  letter-spacing: .05em;
  line-height: 1.2;
}

html[data-theme] body .app.app-radar-shell .radar-scan-toast.is-finalizing {
  border-color: rgba(246,199,68,.58);
  box-shadow:
    0 18px 48px rgba(0,0,0,.56),
    0 0 30px rgba(246,199,68,.16),
    0 0 0 1px rgba(246,199,68,.09),
    inset 0 1px 0 rgba(255,255,255,.10);
}

html[data-theme] body .app.app-radar-shell .radar-scan-toast.is-finalizing .radar-scan-percent {
  color: #ffe08a;
  text-shadow: 0 0 18px rgba(246,199,68,.44);
}

html[data-theme] body .app.app-radar-shell .radar-scan-toast.is-finalizing .radar-scan-progress i {
  background: #f6c744;
  box-shadow: 0 0 14px rgba(246,199,68,.48);
}

html[data-theme] body .app.app-radar-shell .radar-scan-toast.is-finalizing em {
  color: rgba(255,226,142,.88);
}

html[data-theme] body .app.app-radar-shell .radar-scan-toast.is-complete {
  border-color: rgba(33,201,151,.36);
}

html[data-theme] body .app.app-radar-shell .radar-scan-toast.is-complete .radar-scan-percent {
  color: #57e0b3;
  text-shadow: 0 0 15px rgba(33,201,151,.30);
}

html[data-theme] body .app.app-radar-shell .radar-scan-toast.is-error {
  border-color: rgba(255,182,77,.40);
}

html[data-theme] body .app.app-radar-shell .radar-scan-toast.is-error .radar-scan-percent {
  color: #ffbf69;
  text-shadow: 0 0 14px rgba(255,182,77,.28);
}

@media (max-width: 760px) {
  html[data-theme] body .app.app-radar-shell .radar-scan-toast {
    left: 12px;
    right: 74px;
    bottom: 86px;
    width: auto;
    border-radius: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-theme] body .app.app-radar-shell .radar-scan-toast,
  html[data-theme] body .app.app-radar-shell .radar-scan-progress i {
    transition: none !important;
  }
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-layout {
  grid-template-columns: minmax(0, 1fr) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-subscription-float-toggle {
  position: fixed !important;
  top: 92px !important;
  right: max(18px, calc((100vw - 1500px) / 2 + 18px)) !important;
  z-index: 70 !important;
  display: inline-grid !important;
  grid-template-columns: auto auto !important;
  align-items: center !important;
  gap: 8px !important;
  min-height: 42px !important;
  padding: 0 14px !important;
  border: 1px solid rgba(246,190,88,.28) !important;
  border-radius: 999px !important;
  background:
    linear-gradient(135deg, rgba(246,190,88,.22), rgba(255,255,255,.055)),
    rgba(20,18,16,.82) !important;
  color: rgba(247,242,232,.86) !important;
  box-shadow: 0 14px 38px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.08) !important;
  cursor: pointer !important;
  backdrop-filter: blur(14px) saturate(130%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(130%) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-subscription-float-toggle span {
  font-size: 12px !important;
  font-weight: 760 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-subscription-float-toggle b {
  color: #ffe5ad !important;
  font-size: 12px !important;
  font-weight: 760 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-subscription-float-toggle:hover,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-subscription-float-toggle:focus-visible {
  transform: translateY(-1px) !important;
  border-color: rgba(246,190,88,.48) !important;
  box-shadow: 0 18px 46px rgba(0,0,0,.42), 0 0 24px rgba(246,190,88,.12) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside[hidden] {
  display: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  z-index: 90 !important;
  display: grid !important;
  align-items: start !important;
  justify-items: end !important;
  min-width: 0 !important;
  padding: 92px max(18px, calc((100vw - 1500px) / 2 + 18px)) 24px !important;
  pointer-events: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-subscription-backdrop {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  background: rgba(0,0,0,.42) !important;
  cursor: default !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-subscription-panel {
  position: relative !important;
  z-index: 1 !important;
  display: grid !important;
  gap: 10px !important;
  width: min(348px, calc(100vw - 32px)) !important;
  max-height: calc(100dvh - 116px) !important;
  overflow: auto !important;
  padding: 10px !important;
  border: 1px solid rgba(238,226,205,.13) !important;
  border-radius: 24px !important;
  background:
    linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.025)),
    rgba(18,16,15,.92) !important;
  box-shadow: 0 28px 86px rgba(0,0,0,.48), inset 0 1px 0 rgba(255,255,255,.08) !important;
  pointer-events: auto !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-subscription-panel-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  min-height: 34px !important;
  padding: 0 4px 0 8px !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-subscription-panel-head span {
  color: rgba(247,242,232,.66) !important;
  font-size: 12px !important;
  font-weight: 760 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-subscription-panel-head button {
  display: inline-grid !important;
  place-items: center !important;
  width: 30px !important;
  height: 30px !important;
  border: 1px solid rgba(238,226,205,.12) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.05) !important;
  color: rgba(247,242,232,.76) !important;
  font-size: 18px !important;
  line-height: 1 !important;
  cursor: pointer !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-subscription-panel .profile-subscription-button {
  width: 100% !important;
}

html[data-theme] body.profile-subscription-open:has(.app-profile-shell) {
  overflow: hidden !important;
}

@media (max-width: 760px) {
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-subscription-float-toggle {
    top: auto !important;
    right: calc(12px + env(safe-area-inset-right)) !important;
    bottom: calc(18px + env(safe-area-inset-bottom)) !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside {
    align-items: end !important;
    justify-items: stretch !important;
    padding: 12px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-subscription-panel {
    width: 100% !important;
    max-height: min(82dvh, 620px) !important;
    border-radius: 22px !important;
  }
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 120px minmax(0, 1fr) minmax(270px, 330px) !important;
  grid-template-areas: "avatar identity credit" !important;
  align-items: center !important;
  gap: 26px !important;
  min-height: 178px !important;
  margin-bottom: 18px !important;
  padding: 22px 26px !important;
  border: 1px solid rgba(238,226,205,.13) !important;
  border-radius: 22px !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle at 4% 52%, rgba(217,163,77,.18), transparent 28%),
    linear-gradient(90deg, rgba(42,34,24,.64) 0 118px, rgba(255,255,255,.045) 118px, rgba(18,16,15,.74) 100%),
    rgba(18,16,15,.82) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 22px 70px rgba(0,0,0,.32) !important;
  backdrop-filter: blur(16px) saturate(130%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(130%) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview::before {
  content: "" !important;
  position: absolute !important;
  left: -74px !important;
  top: -116px !important;
  width: 310px !important;
  height: 310px !important;
  border: 1px solid rgba(217,163,77,.16) !important;
  border-radius: 50% !important;
  opacity: .72 !important;
  pointer-events: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview-grid[hidden],
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-sidebar-profile[hidden],
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-subscription-float-toggle,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-subscription-backdrop,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-subscription-panel-head {
  display: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview-person {
  position: relative !important;
  z-index: 1 !important;
  grid-area: avatar / avatar / identity / identity !important;
  display: grid !important;
  grid-template-columns: 118px minmax(0, 1fr) !important;
  align-items: center !important;
  align-self: center !important;
  gap: 24px !important;
  min-width: 0 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview-avatar {
  display: grid !important;
  place-items: center !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview-person .avatar-badge.large {
  width: 86px !important;
  height: 86px !important;
  min-width: 86px !important;
  min-height: 86px !important;
  padding: 4px !important;
  border-radius: 50% !important;
  box-shadow: 0 18px 38px rgba(0,0,0,.34), 0 0 0 6px rgba(217,163,77,.08) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview-id h2 {
  margin: 0 !important;
  color: rgba(247,242,232,.94) !important;
  font-size: 38px !important;
  line-height: 1.06 !important;
  font-weight: 760 !important;
  letter-spacing: 0 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview-level {
  display: inline-flex !important;
  align-items: center !important;
  width: max-content !important;
  margin-top: 11px !important;
  opacity: .92 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview-level .member-level-icon {
  width: 26px !important;
  height: 26px !important;
  filter: drop-shadow(0 4px 14px rgba(217,163,77,.28)) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview .profile-card-kicker {
  color: rgba(217,163,77,.72) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview-id p {
  margin: 0 !important;
  color: rgba(247,242,232,.64) !important;
  font-size: 14px !important;
  font-weight: 650 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview-signs {
  position: relative !important;
  z-index: 1 !important;
  grid-area: identity !important;
  align-self: end !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: end !important;
  gap: 18px 34px !important;
  max-width: 620px !important;
  margin-top: 16px !important;
  padding-top: 12px !important;
  border-top: 1px solid rgba(238,226,205,.08) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview-signs span {
  position: relative !important;
  display: grid !important;
  align-content: center !important;
  gap: 6px !important;
  min-height: 0 !important;
  min-width: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview-signs span + span::before {
  content: "" !important;
  position: absolute !important;
  left: -17px !important;
  top: 4px !important;
  bottom: 3px !important;
  width: 1px !important;
  background: linear-gradient(180deg, transparent, rgba(238,226,205,.14), transparent) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview-signs b {
  color: rgba(247,242,232,.56) !important;
  font-size: 12px !important;
  font-weight: 650 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview-signs em {
  color: rgba(247,242,232,.90) !important;
  font-size: 18px !important;
  font-style: normal !important;
  font-weight: 720 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview-credit {
  position: relative !important;
  z-index: 1 !important;
  grid-area: credit !important;
  display: grid !important;
  align-content: center !important;
  justify-items: end !important;
  min-height: 124px !important;
  padding: 22px 24px !important;
  border: 1px solid rgba(255,229,160,.46) !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle at 88% 14%, rgba(255,255,255,.34), transparent 36%),
    linear-gradient(135deg, #ffd96f 0%, #f3b83e 56%, #d89a24 100%) !important;
  color: #15100a !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.42),
    inset 0 -1px 0 rgba(83,51,10,.16),
    0 18px 48px rgba(0,0,0,.32),
    0 0 32px rgba(217,163,77,.16) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview-credit::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 56% !important;
  height: 100% !important;
  background: linear-gradient(118deg, rgba(22,15,7,.18) 0 48%, transparent 49%) !important;
  opacity: .58 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview-credit span,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview-credit small {
  position: relative !important;
  z-index: 1 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview-credit span {
  justify-self: start !important;
  width: 100% !important;
  color: rgba(21,16,10,.76) !important;
  font-size: 13px !important;
  font-weight: 780 !important;
  letter-spacing: 0 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview-credit b {
  position: relative !important;
  z-index: 1 !important;
  margin-top: 18px !important;
  font-size: 42px !important;
  line-height: 1 !important;
  font-weight: 760 !important;
  letter-spacing: 0 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview-credit small {
  margin-top: 2px !important;
  color: rgba(21,16,10,.68) !important;
  font-size: 12px !important;
  font-weight: 650 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview-avatar-action {
  position: absolute !important;
  right: 28px !important;
  top: 22px !important;
  z-index: 2 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 36px !important;
  padding: 0 15px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(21,16,10,.16) !important;
  background: linear-gradient(135deg, #ffe39a, #f0b33b) !important;
  color: #15100a !important;
  text-decoration: none !important;
  font-size: 12px !important;
  font-weight: 760 !important;
  box-shadow: 0 14px 34px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.42) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-sidebar {
  min-height: 0 !important;
  grid-template-rows: auto auto !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-center-layout {
  width: 100% !important;
  max-width: 1500px !important;
  grid-template-columns: 248px minmax(0, 1fr) !important;
  gap: 18px !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-layout {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  overflow: visible !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-main {
  width: 100% !important;
  min-width: 0 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside {
  position: fixed !important;
  top: 50% !important;
  right: calc(24px + env(safe-area-inset-right)) !important;
  bottom: auto !important;
  left: auto !important;
  transform: translateY(-50%) !important;
  z-index: 68 !important;
  display: block !important;
  width: 292px !important;
  min-width: 0 !important;
  padding: 0 !important;
  pointer-events: auto !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-subscription-panel {
  display: grid !important;
  gap: 8px !important;
  width: 100% !important;
  max-height: min(72dvh, 390px) !important;
  overflow: visible !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-subscription-button {
  min-height: 34px !important;
  border-radius: 999px !important;
  background: rgba(8,8,9,.58) !important;
  color: rgba(247,242,232,.78) !important;
  box-shadow: 0 12px 34px rgba(0,0,0,.28) !important;
}

html[data-theme] body:has(.app-profile-shell) .profile-premium-aside {
  position: fixed !important;
  top: 50% !important;
  right: calc(24px + env(safe-area-inset-right)) !important;
  bottom: auto !important;
  left: auto !important;
  transform: translateY(-50%) !important;
  z-index: 68 !important;
  display: block !important;
  width: 292px !important;
  min-width: 0 !important;
  padding: 0 !important;
  pointer-events: auto !important;
}

html[data-theme] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-panel {
  display: grid !important;
  gap: 8px !important;
  width: 100% !important;
  max-height: min(72dvh, 390px) !important;
  overflow: visible !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-card {
  position: relative !important;
  display: block !important;
  box-sizing: border-box !important;
  width: 292px !important;
  height: 254px !important;
  min-height: 254px !important;
  padding: 0 !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  text-decoration: none !important;
  color: rgba(247,242,232,.94) !important;
  background: rgba(5,5,5,.99) !important;
  box-shadow: none !important;
  transition: all .25s cubic-bezier(0, 0, 0, 1) !important;
}

html[data-theme] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-card:hover,
html[data-theme] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-card:focus-visible {
  background-image: linear-gradient(163deg, #ffd76a 0%, #e0aa32 42%, #1b1710 100%) !important;
  box-shadow: 0 0 30px 1px rgba(224,170,50,.30) !important;
}

html[data-theme] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-card.is-locked {
  background: rgba(5,5,5,.99) !important;
}

html[data-theme] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-card.is-locked:hover,
html[data-theme] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-card.is-locked:focus-visible {
  background-image: linear-gradient(163deg, rgba(255,215,106,.62) 0%, rgba(139,100,30,.54) 48%, rgba(27,23,16,.92) 100%) !important;
}

html[data-theme] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-shine {
  display: none !important;
}

html[data-theme] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-card-inner {
  position: relative !important;
  z-index: 1 !important;
  display: grid !important;
  box-sizing: border-box !important;
  align-content: space-between !important;
  gap: 16px !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 252px !important;
  padding: 20px !important;
  border-radius: 10px !important;
  background:
    radial-gradient(circle at 84% 2%, rgba(255,215,106,.12), transparent 34%),
    linear-gradient(145deg, rgba(11,10,8,.99), rgba(5,5,5,.99)) !important;
  transition: all .25s cubic-bezier(0, 0, 0, 1) !important;
}

html[data-theme] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-card:hover .profile-subscription-card-inner,
html[data-theme] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-card:focus-visible .profile-subscription-card-inner {
  transform: scale(.986) !important;
  border-radius: 18px !important;
}

html[data-theme] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-kicker {
  color: rgba(255,215,106,.76) !important;
  font-size: 10px !important;
  font-weight: 780 !important;
  letter-spacing: .16em !important;
}

html[data-theme] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-card h3 {
  margin: 8px 0 0 !important;
  color: #fff0c3 !important;
  font-size: 24px !important;
  line-height: 1.1 !important;
  font-weight: 780 !important;
  letter-spacing: 0 !important;
}

html[data-theme] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-card p {
  display: none !important;
}

html[data-theme] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-status {
  display: grid !important;
  gap: 6px !important;
  margin-top: 0 !important;
  padding: 16px 14px !important;
  border: 1px solid rgba(217,163,77,.22) !important;
  border-radius: 14px !important;
  background:
    linear-gradient(145deg, rgba(217,163,77,.10), rgba(255,255,255,.025)),
    rgba(217,163,77,.06) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045) !important;
}

html[data-theme] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-status span,
html[data-theme] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-status small,
html[data-theme] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-metrics small {
  color: rgba(247,242,232,.56) !important;
  font-size: 10px !important;
  font-weight: 700 !important;
}

html[data-theme] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-status b {
  color: #ffd76a !important;
  font-size: 22px !important;
  line-height: 1.15 !important;
}

html[data-theme] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-metrics {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
  margin-top: 0 !important;
}

html[data-theme] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-metrics > span {
  display: grid !important;
  align-content: center !important;
  gap: 2px !important;
  min-height: 58px !important;
  padding: 10px !important;
  border: 1px solid rgba(217,163,77,.16) !important;
  border-radius: 13px !important;
  background: rgba(217,163,77,.07) !important;
}

html[data-theme] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-metrics b {
  color: #ffe3a3 !important;
  font-size: 18px !important;
  line-height: 1.1 !important;
}

html[data-theme] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-card em {
  display: inline-grid !important;
  place-items: center !important;
  min-height: 40px !important;
  margin-top: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #ffd76a, #e0aa32) !important;
  color: #0b0a08 !important;
  font-size: 12px !important;
  font-style: normal !important;
  font-weight: 860 !important;
}

html[data-theme] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-button {
  display: inline-grid !important;
  place-items: center !important;
  min-height: 34px !important;
  border: 1px solid rgba(217,163,77,.16) !important;
  border-radius: 999px !important;
  background: rgba(8,8,9,.58) !important;
  color: rgba(247,242,232,.78) !important;
  text-decoration: none !important;
  font-size: 12px !important;
  font-weight: 760 !important;
  box-shadow: 0 12px 34px rgba(0,0,0,.28) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-panel:has(.wealth-fortune-gate) {
  overflow: hidden !important;
  border-color: rgba(238,226,205,.12) !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(255,196,95,.13), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.052), rgba(255,255,255,.016)),
    var(--vs-panel) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-panel .wealth-fortune-gate {
  min-height: 136px !important;
  padding: 18px 4px 8px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-panel .wealth-fortune-gate h3 {
  color: #ffe4ac !important;
  font-size: clamp(26px, 2.8vw, 38px) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-panel .wealth-fortune-gate-action > button.primary {
  min-width: 168px !important;
  min-height: 46px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #ffc45f, #ff9125) !important;
  color: #1b1208 !important;
  box-shadow: 0 16px 36px rgba(255,145,37,.20) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-panel.is-started .wealth-fortune-gate {
  display: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-day {
  border: 1px solid rgba(238,226,205,.09) !important;
  border-radius: 999px !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.032), rgba(255,255,255,.012)),
    rgba(12,10,8,.42) !important;
  color: rgba(247,242,232,.72) !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-day span {
  color: inherit !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-day small {
  color: rgba(247,242,232,.48) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-day:hover,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-day:focus-visible {
  border-color: rgba(255,190,92,.32) !important;
  color: #ffe0a0 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-day.is-active {
  border-color: rgba(255,213,139,.62) !important;
  background: linear-gradient(135deg, #ffe0a0, #d99d45) !important;
  color: #211608 !important;
  transform: none !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-card.profile-subscription-card {
  height: 238px !important;
  min-height: 238px !important;
  border: 1px solid rgba(255,213,139,.10) !important;
  border-radius: 22px !important;
  background:
    radial-gradient(circle at 86% 4%, rgba(255,213,139,.16), transparent 38%),
    linear-gradient(150deg, rgba(18,16,12,.98), rgba(4,4,4,.98) 72%) !important;
  box-shadow: 0 24px 64px rgba(0,0,0,.34) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-card.profile-subscription-card:hover,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-card.profile-subscription-card:focus-visible {
  background:
    radial-gradient(circle at 88% 2%, rgba(255,213,139,.28), transparent 38%),
    linear-gradient(150deg, rgba(23,19,13,.98), rgba(6,6,5,.98) 70%) !important;
  box-shadow: 0 0 0 1px rgba(255,213,139,.16), 0 26px 70px rgba(0,0,0,.40) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-card.profile-subscription-card .profile-subscription-card-inner {
  min-height: 236px !important;
  padding: 22px 20px 20px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-card.profile-subscription-card:hover .profile-subscription-card-inner,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-card.profile-subscription-card:focus-visible .profile-subscription-card-inner {
  transform: none !important;
  border-radius: 0 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-card .profile-subscription-status {
  display: flex !important;
  align-items: baseline !important;
  gap: 8px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-card .profile-subscription-status b {
  font-size: 24px !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-card .profile-subscription-status small {
  color: rgba(247,242,232,.54) !important;
  font-size: 11px !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-layout {
  grid-template-columns: minmax(220px,.72fr) minmax(0,1.35fr) !important;
  gap: 30px !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-list {
  border-top: 0 !important;
  border-bottom: 0 !important;
  gap: 0 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-list > div {
  grid-template-columns: 88px minmax(0, 1fr) !important;
  min-height: 54px !important;
  padding: 0 !important;
  border-top: 1px solid rgba(238,226,205,.08) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-list > div:first-child {
  border-top: 0 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-list small {
  grid-column: 2 !important;
  text-align: left !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .community-credit-board {
  grid-template-columns: 180px minmax(0, 1fr) !important;
  gap: 26px !important;
  align-items: center !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .community-credit-seal {
  min-height: 142px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: radial-gradient(circle at 50% 42%, rgba(255,213,139,.18), transparent 58%) !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .community-credit-main {
  grid-template-rows: auto auto !important;
  gap: 14px !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .community-credit-rank {
  min-height: 0 !important;
  padding: 0 0 14px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(238,226,205,.10) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .community-credit-metrics {
  gap: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .community-credit-metrics > div {
  min-height: 58px !important;
  padding: 0 18px !important;
  border: 0 !important;
  border-left: 1px solid rgba(238,226,205,.10) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .community-credit-metrics > div:first-child {
  padding-left: 0 !important;
  border-left: 0 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-month,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reel-frame {
  border-color: rgba(255,190,92,.10) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reel-frame::before,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reel-frame::after {
  width: 88px !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reel::before,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reel::after {
  display: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-day.is-active small {
  color: rgba(35,22,8,.72) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-day.is-future {
  opacity: .36 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-card.profile-subscription-card {
  width: 292px !important;
  height: 238px !important;
  min-height: 238px !important;
  padding: 0 !important;
  border: 1px solid rgba(255,213,139,.10) !important;
  border-radius: 22px !important;
  background:
    radial-gradient(circle at 86% 4%, rgba(255,213,139,.16), transparent 38%),
    linear-gradient(150deg, rgba(18,16,12,.98), rgba(4,4,4,.98) 72%) !important;
  box-shadow: 0 24px 64px rgba(0,0,0,.34) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-card.profile-subscription-card:hover,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-card.profile-subscription-card:focus-visible {
  background:
    radial-gradient(circle at 88% 2%, rgba(255,213,139,.28), transparent 38%),
    linear-gradient(150deg, rgba(23,19,13,.98), rgba(6,6,5,.98) 70%) !important;
  box-shadow: 0 0 0 1px rgba(255,213,139,.16), 0 26px 70px rgba(0,0,0,.40) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-card.profile-subscription-card .profile-subscription-card-inner {
  align-content: space-between !important;
  gap: 16px !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 236px !important;
  padding: 22px 20px 20px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-card.profile-subscription-card:hover .profile-subscription-card-inner,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-card.profile-subscription-card:focus-visible .profile-subscription-card-inner {
  transform: none !important;
  border-radius: 0 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .valuescan-basic-panel {
  overflow: hidden !important;
  background:
    radial-gradient(circle at 0% 0%, rgba(217,163,77,.10), transparent 28%),
    linear-gradient(145deg, rgba(255,255,255,.048), rgba(255,255,255,.016)),
    var(--vs-panel) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-title {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 20px !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-title > div {
  display: grid !important;
  gap: 3px !important;
  min-width: 0 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-title p {
  margin: 0 !important;
  color: rgba(247,242,232,.50) !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-edit {
  display: inline-grid !important;
  place-items: center !important;
  min-height: 34px !important;
  padding: 0 14px !important;
  border: 1px solid rgba(217,163,77,.24) !important;
  border-radius: 999px !important;
  background: rgba(8,8,9,.40) !important;
  color: #ffe0a0 !important;
  text-decoration: none !important;
  font-size: 12px !important;
  font-weight: 760 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-layout {
  display: grid !important;
  grid-template-columns: minmax(260px, .9fr) minmax(0, 1.25fr) !important;
  gap: 24px !important;
  align-items: center !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-primary {
  display: grid !important;
  grid-template-columns: 74px minmax(0, 1fr) !important;
  gap: 16px !important;
  align-items: center !important;
  min-width: 0 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-primary .avatar-badge.large {
  width: 68px !important;
  height: 68px !important;
  min-width: 68px !important;
  min-height: 68px !important;
  padding: 3px !important;
  box-shadow: 0 16px 34px rgba(0,0,0,.28), 0 0 0 5px rgba(217,163,77,.07) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-primary span,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-list span {
  display: block !important;
  color: rgba(217,163,77,.72) !important;
  font-size: 11px !important;
  font-weight: 760 !important;
  letter-spacing: .10em !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-primary b {
  display: block !important;
  margin-top: 5px !important;
  overflow: hidden !important;
  color: rgba(247,242,232,.96) !important;
  font-size: 28px !important;
  line-height: 1.08 !important;
  font-weight: 760 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-primary small {
  display: block !important;
  margin-top: 7px !important;
  overflow: hidden !important;
  color: rgba(247,242,232,.58) !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-list {
  display: grid !important;
  gap: 0 !important;
  border-top: 1px solid rgba(238,226,205,.10) !important;
  border-bottom: 1px solid rgba(238,226,205,.10) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-list > div {
  display: grid !important;
  grid-template-columns: 90px minmax(0, 1fr) minmax(150px, auto) !important;
  gap: 14px !important;
  align-items: center !important;
  min-height: 48px !important;
  border-top: 1px solid rgba(238,226,205,.08) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-list > div:first-child {
  border-top: 0 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-list b {
  overflow: hidden !important;
  color: rgba(247,242,232,.90) !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  font-weight: 720 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-list small {
  overflow: hidden !important;
  color: rgba(247,242,232,.46) !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
  text-align: right !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-records {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px 22px !important;
  margin-top: 18px !important;
  padding-top: 14px !important;
  border-top: 1px solid rgba(238,226,205,.08) !important;
  color: rgba(247,242,232,.42) !important;
  font-size: 12px !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-records b {
  color: rgba(247,242,232,.62) !important;
  font-weight: 680 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-card.profile-subscription-card {
  height: 238px !important;
  min-height: 238px !important;
  padding: 0 !important;
  border: 1px solid rgba(255,213,139,.10) !important;
  border-radius: 22px !important;
  background:
    radial-gradient(circle at 86% 4%, rgba(255,213,139,.16), transparent 38%),
    linear-gradient(150deg, rgba(18,16,12,.98), rgba(4,4,4,.98) 72%) !important;
  box-shadow: 0 24px 64px rgba(0,0,0,.34) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-card.profile-subscription-card .profile-subscription-card-inner {
  min-height: 236px !important;
  padding: 22px 20px 20px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-card .profile-subscription-status {
  display: flex !important;
  align-items: baseline !important;
  gap: 8px !important;
  height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-layout {
  grid-template-columns: minmax(220px,.72fr) minmax(0,1.35fr) !important;
  gap: 30px !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-list {
  border-top: 0 !important;
  border-bottom: 0 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-list > div {
  grid-template-columns: 88px minmax(0, 1fr) !important;
  min-height: 54px !important;
  padding: 0 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-list small {
  grid-column: 2 !important;
  text-align: left !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell #profile.member-section,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-center-main > .member-section {
  overflow: visible !important;
}

@media (min-width: 1181px) {
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-center-layout {
    width: min(100%, calc(100% - 330px)) !important;
    max-width: calc(100% - 330px) !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside {
    position: fixed !important;
    top: 50% !important;
    right: calc(-330px + 24px + env(safe-area-inset-right)) !important;
    bottom: auto !important;
    left: auto !important;
    transform: translateY(-50%) !important;
    width: 292px !important;
  }
}

@media (max-width: 1180px) {
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside {
    position: static !important;
    width: min(360px, 100%) !important;
    margin: 14px auto 0 !important;
  }
}

@media (max-width: 900px) {
  html[data-theme] body:has(.app-profile-shell) .profile-premium-aside#profile-subscription-float,
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside#profile-subscription-float {
    display: none !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell {
    width: min(100% - 20px, 720px) !important;
    padding-top: 76px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-center-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-sidebar {
    position: static !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-section-nav {
    display: flex !important;
    gap: 8px !important;
    overflow-x: auto !important;
    padding: 10px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-section-nav a {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-center-main,
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-main,
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-section {
    min-width: 0 !important;
    width: 100% !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-list > div {
    grid-template-columns: 88px minmax(0, 1fr) !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-list small {
    grid-column: 2 !important;
    text-align: left !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview {
    grid-template-columns: 1fr !important;
    grid-template-areas: "avatar" "identity" "credit" !important;
    gap: 18px !important;
    padding: 18px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview-person {
    grid-area: avatar !important;
    grid-template-columns: 82px minmax(0, 1fr) !important;
    gap: 14px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview-person .avatar-badge.large {
    width: 72px !important;
    height: 72px !important;
    min-width: 72px !important;
    min-height: 72px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview-signs {
    grid-area: identity !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    margin-top: 0 !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview-credit {
    grid-area: credit !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview-avatar-action {
    position: static !important;
    justify-self: start !important;
  }
}

@media (max-width: 560px) {
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell {
    width: calc(100% - 20px) !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .valuescan-profile-panel,
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-section {
    padding: 18px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-title {
    grid-template-columns: auto minmax(0, 1fr) !important;
    align-items: start !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-title h2 {
    font-size: 22px !important;
    line-height: 1.18 !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-edit {
    grid-column: 2 !important;
    justify-self: start !important;
    margin-top: 8px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-primary {
    grid-template-columns: 58px minmax(0, 1fr) !important;
    gap: 12px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-primary .avatar-badge.large {
    width: 54px !important;
    height: 54px !important;
    min-width: 54px !important;
    min-height: 54px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-primary b {
    font-size: 23px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-primary small {
    white-space: normal !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-list > div {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 5px !important;
    min-height: 0 !important;
    padding: 12px 0 !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-list small {
    grid-column: auto !important;
    white-space: normal !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .community-credit-board {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .community-credit-seal {
    justify-items: start !important;
    min-height: 0 !important;
    background: transparent !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .community-credit-metrics {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .community-credit-metrics > div {
    min-height: 54px !important;
    padding: 10px 0 !important;
    border-left: 0 !important;
    border-top: 1px solid rgba(238,226,205,.08) !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .community-credit-metrics > div:first-child {
    border-top: 0 !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reel-frame::before,
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reel-frame::after {
    width: 42px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview-signs {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview-id h2 {
    font-size: 26px !important;
  }
}

html[data-theme] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-card.profile-subscription-card {
  width: 292px !important;
  height: 238px !important;
  min-height: 238px !important;
  padding: 0 !important;
  border: 1px solid rgba(255,213,139,.10) !important;
  border-radius: 22px !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle at 86% 4%, rgba(255,213,139,.16), transparent 38%),
    linear-gradient(150deg, rgba(18,16,12,.98), rgba(4,4,4,.98) 72%) !important;
  box-shadow: 0 24px 64px rgba(0,0,0,.34) !important;
}

html[data-theme] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-card.profile-subscription-card:hover,
html[data-theme] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-card.profile-subscription-card:focus-visible {
  background:
    radial-gradient(circle at 88% 2%, rgba(255,213,139,.28), transparent 38%),
    linear-gradient(150deg, rgba(23,19,13,.98), rgba(6,6,5,.98) 70%) !important;
  box-shadow: 0 0 0 1px rgba(255,213,139,.16), 0 26px 70px rgba(0,0,0,.40) !important;
}

html[data-theme] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-card.profile-subscription-card .profile-subscription-card-inner {
  align-content: space-between !important;
  gap: 16px !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 236px !important;
  padding: 22px 20px 20px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-card.profile-subscription-card:hover .profile-subscription-card-inner,
html[data-theme] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-card.profile-subscription-card:focus-visible .profile-subscription-card-inner {
  transform: none !important;
  border-radius: 0 !important;
}

html[data-theme] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-card .profile-subscription-status {
  display: flex !important;
  align-items: baseline !important;
  gap: 8px !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-status b {
  font-size: 26px !important;
  line-height: 1 !important;
}

html[data-theme] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-status small {
  color: rgba(247,242,232,.54) !important;
}

/* Profile refinement: reduce nested frames while keeping the black-gold member tone. */
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-section.points-section {
  border-color: rgba(238,226,205,.12) !important;
  background:
    radial-gradient(circle at 88% 0%, rgba(212,158,72,.18), transparent 30%),
    radial-gradient(circle at 8% 12%, rgba(255,213,139,.08), transparent 32%),
    linear-gradient(148deg, rgba(35,31,28,.96), rgba(17,18,20,.98) 58%, rgba(8,10,14,.98)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045), 0 22px 64px rgba(0,0,0,.18) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .points-section::before {
  background:
    linear-gradient(90deg, rgba(255,213,139,.07), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,.035), transparent 22%) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .points-section .member-level-mark {
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: rgba(255,213,139,.74) !important;
  font-size: 26px !important;
  letter-spacing: .14em !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .point-balance-card,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .point-plan-grid article,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .point-order-panel,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .point-usage-panel,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .point-quick-observe,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .point-recharge-note {
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .point-balance-card {
  min-height: 156px !important;
  padding: 8px 0 12px !important;
  border: 0 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .point-balance-card b {
  margin: 10px 0 8px !important;
  font-size: clamp(54px, 8vw, 84px) !important;
  text-shadow: 0 18px 46px rgba(255,213,139,.16) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .point-balance-panel {
  display: grid !important;
  align-content: center !important;
  min-height: 156px !important;
  padding: 8px 0 12px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .point-balance-panel span,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .point-balance-panel small {
  display: block !important;
  color: rgba(247,242,232,.58) !important;
  font-size: 12px !important;
  font-weight: 720 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .point-balance-panel b {
  display: block !important;
  margin: 10px 0 8px !important;
  color: #ffd58b !important;
  font-size: clamp(54px, 8vw, 84px) !important;
  line-height: .92 !important;
  text-shadow: 0 18px 46px rgba(255,213,139,.16) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .point-recharge-actions {
  justify-content: end !important;
  align-content: center !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .point-plan-grid {
  margin-top: 4px !important;
  padding: 18px 0 !important;
  gap: 0 !important;
  border-top: 1px solid rgba(238,226,205,.09) !important;
  border-bottom: 1px solid rgba(238,226,205,.08) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .point-plan-grid article {
  min-height: 84px !important;
  padding: 0 18px !important;
  border: 0 !important;
  border-left: 1px solid rgba(238,226,205,.08) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .point-plan-grid article:first-child {
  border-left: 0 !important;
  padding-left: 0 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .point-usage-panel,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .point-order-panel,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .point-quick-observe,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .point-recharge-note {
  margin-top: 0 !important;
  padding: 18px 0 !important;
  border: 0 !important;
  border-top: 1px solid rgba(238,226,205,.08) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .point-usage-grid {
  gap: 0 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .point-usage-grid > div {
  padding: 2px 18px 0 !important;
  border: 0 !important;
  border-left: 1px solid rgba(238,226,205,.08) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .point-usage-grid > div:first-child {
  border-left: 0 !important;
  padding-left: 0 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .point-order-panel {
  display: grid !important;
  gap: 14px !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .point-pending-order {
  padding-top: 14px !important;
  border-top: 1px solid rgba(238,226,205,.08) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .point-pending-order:first-child {
  padding-top: 0 !important;
  border-top: 0 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .point-pending-order input {
  border-color: rgba(238,226,205,.12) !important;
  color: #f7f2e8 !important;
  background: rgba(255,255,255,.035) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .point-pending-order code {
  color: rgba(247,242,232,.82) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .point-quick-observe {
  grid-template-columns: minmax(210px,.38fr) minmax(0,1fr) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .point-recharge-note {
  padding-bottom: 0 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .valuescan-basic-panel {
  position: relative !important;
  overflow: hidden !important;
  border-color: rgba(238,226,205,.11) !important;
  background:
    radial-gradient(circle at 16% 20%, rgba(217,163,77,.13), transparent 32%),
    radial-gradient(circle at 94% 0%, rgba(129,151,184,.10), transparent 34%),
    linear-gradient(150deg, rgba(35,32,28,.96), rgba(17,19,22,.98) 58%, rgba(8,11,16,.98)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 22px 64px rgba(0,0,0,.18) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .valuescan-basic-panel::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  background:
    linear-gradient(90deg, rgba(255,213,139,.07), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.03), transparent 20%) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .valuescan-basic-panel > * {
  position: relative !important;
  z-index: 1 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .valuescan-basic-panel .valuescan-panel-icon {
  border-color: rgba(255,213,139,.16) !important;
  background: rgba(255,213,139,.055) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-layout {
  grid-template-columns: minmax(245px,.62fr) minmax(0,1.38fr) !important;
  gap: 32px !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-primary {
  align-self: center !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-list {
  padding-left: 26px !important;
  border-left: 1px solid rgba(238,226,205,.08) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-list > div {
  min-height: 58px !important;
  border-color: rgba(238,226,205,.075) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-records {
  border-top-color: rgba(238,226,205,.075) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-month {
  padding: 12px 0 4px !important;
  border: 0 !important;
  border-top: 1px solid rgba(238,226,205,.08) !important;
  background: transparent !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-month-head {
  padding: 0 2px !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reel-frame {
  border: 1px solid rgba(238,226,205,.085) !important;
  border-radius: 18px !important;
  background:
    radial-gradient(ellipse at 38% 50%, rgba(255,213,139,.12), transparent 48%),
    linear-gradient(90deg, rgba(255,255,255,.025), rgba(255,213,139,.045), rgba(255,255,255,.018)),
    rgba(33,28,23,.36) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reel-frame::before {
  width: 60px !important;
  background: linear-gradient(90deg, rgba(42,34,26,.72), rgba(42,34,26,.22) 58%, transparent) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reel-frame::after {
  width: 60px !important;
  background: linear-gradient(270deg, rgba(42,34,26,.72), rgba(42,34,26,.22) 58%, transparent) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reel {
  min-height: 94px !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reel-window {
  width: 142px !important;
  height: 72px !important;
  background: radial-gradient(ellipse at 50% 50%, rgba(255,213,139,.18), rgba(255,213,139,.08) 42%, transparent 70%) !important;
  filter: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-day {
  flex-basis: 72px !important;
  min-height: 58px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.028) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-day.is-active {
  background: linear-gradient(135deg, #ffe0a0, #daa04c) !important;
  box-shadow: 0 16px 42px rgba(255,213,139,.18) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-result,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reading {
  background:
    linear-gradient(145deg, rgba(255,213,139,.040), rgba(255,255,255,.014)),
    rgba(33,28,23,.28) !important;
}

@media (max-width: 760px) {
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .point-balance-card {
    min-height: 0 !important;
    padding-bottom: 8px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .point-balance-panel {
    min-height: 0 !important;
    padding-bottom: 8px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .point-plan-grid article,
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .point-usage-grid > div {
    padding: 13px 0 !important;
    border-left: 0 !important;
    border-top: 1px solid rgba(238,226,205,.08) !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .point-plan-grid article:first-child,
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .point-usage-grid > div:first-child {
    border-top: 0 !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-layout {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-list {
    padding-left: 0 !important;
    border-left: 0 !important;
    border-top: 1px solid rgba(238,226,205,.08) !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reel-frame::before,
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reel-frame::after {
    width: 34px !important;
  }
}

/* Profile fortune hardline pass: closer to the redo-home black glass language. */
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-panel {
  position: relative !important;
  isolation: isolate !important;
  border-color: rgba(244,239,230,.10) !important;
  background:
    radial-gradient(circle at 10% 0%, rgba(255,145,37,.11), transparent 32%),
    radial-gradient(circle at 100% 9%, rgba(132,151,184,.09), transparent 34%),
    linear-gradient(156deg, rgba(17,17,18,.98), rgba(8,9,11,.985) 62%, rgba(3,3,3,.99)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045), 0 26px 76px rgba(0,0,0,.28) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-panel::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: -1 !important;
  pointer-events: none !important;
  background:
    linear-gradient(90deg, rgba(244,239,230,.055), transparent 38%),
    radial-gradient(circle at 50% 0%, rgba(255,213,139,.06), transparent 38%) !important;
  mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.88) 58%, transparent 100%) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-panel .valuescan-panel-title {
  margin-bottom: 20px !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-panel .valuescan-panel-icon {
  border-color: rgba(244,239,230,.12) !important;
  color: #f4efe8 !important;
  background: rgba(244,239,230,.045) !important;
  box-shadow: 0 0 24px rgba(255,213,139,.12) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-panel .valuescan-panel-title h2 {
  color: #f4efe8 !important;
  letter-spacing: 0 !important;
  text-shadow: 0 10px 30px rgba(0,0,0,.42) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-body {
  padding: 22px 0 20px !important;
  border: 0 !important;
  border-top: 1px solid rgba(244,239,230,.10) !important;
  border-bottom: 1px solid rgba(244,239,230,.08) !important;
  background:
    linear-gradient(90deg, rgba(244,239,230,.045), transparent 46%),
    radial-gradient(circle at 94% 50%, rgba(255,213,139,.085), transparent 22%) !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-body span,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-head span,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-month-head span,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-result > span,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reading > span,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reading-title span,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-advice span {
  color: rgba(244,239,230,.54) !important;
  letter-spacing: .04em !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-body b {
  color: #f4efe8 !important;
  font-size: clamp(34px, 4.4vw, 56px) !important;
  font-weight: 560 !important;
  text-shadow: 0 16px 42px rgba(0,0,0,.42) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-body strong {
  color: #f7d99b !important;
  font-family: "Inter", "Segoe UI", Arial, sans-serif !important;
  font-size: clamp(52px, 6.2vw, 78px) !important;
  font-weight: 680 !important;
  letter-spacing: -.02em !important;
  text-shadow: 0 18px 52px rgba(255,213,139,.18) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-body small,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-meta em,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-head p {
  color: rgba(244,239,230,.62) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-meta {
  margin-top: 14px !important;
  color: rgba(244,239,230,.54) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-almanac {
  gap: 18px !important;
  margin-top: 20px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-head {
  align-items: end !important;
  padding-bottom: 16px !important;
  border-bottom: 1px solid rgba(244,239,230,.08) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-head h3 {
  color: #f4efe8 !important;
  font-size: clamp(20px, 1.9vw, 27px) !important;
  font-weight: 650 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-head > b {
  color: #f7d99b !important;
  font-family: "Inter", "Segoe UI", Arial, sans-serif !important;
  letter-spacing: .03em !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-layout {
  gap: 16px !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-month {
  padding: 0 !important;
  border: 0 !important;
  border-top: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reel-frame {
  border-color: rgba(244,239,230,.10) !important;
  border-radius: 18px !important;
  background:
    radial-gradient(ellipse at 48% 52%, rgba(255,213,139,.12), transparent 45%),
    linear-gradient(90deg, rgba(244,239,230,.035), rgba(255,213,139,.04), rgba(244,239,230,.018)),
    rgba(5,6,8,.72) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045), 0 18px 52px rgba(0,0,0,.22) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reel-frame::before {
  background: linear-gradient(90deg, rgba(5,6,8,.92), rgba(5,6,8,.42) 58%, transparent) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reel-frame::after {
  background: linear-gradient(270deg, rgba(5,6,8,.92), rgba(5,6,8,.42) 58%, transparent) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reel-window {
  background: radial-gradient(ellipse at 50% 50%, rgba(255,213,139,.20), rgba(255,213,139,.075) 42%, transparent 72%) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-day {
  color: rgba(244,239,230,.68) !important;
  background: rgba(244,239,230,.032) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-day.is-active {
  color: #120d05 !important;
  background: linear-gradient(135deg, #f4efe8, #f2c76f 58%, #c88a32) !important;
  box-shadow: 0 16px 46px rgba(255,213,139,.18), inset 0 1px 0 rgba(255,255,255,.36) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-result {
  padding: 15px 0 !important;
  border: 0 !important;
  border-top: 1px solid rgba(244,239,230,.08) !important;
  border-bottom: 1px solid rgba(244,239,230,.08) !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-almanac.is-enhanced .wealth-daily-result {
  border-color: rgba(244,239,230,0) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-almanac.is-enhanced.is-status-visible .wealth-daily-result {
  border-color: rgba(244,239,230,.08) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-status-slot {
  border-color: rgba(244,239,230,.13) !important;
  background:
    linear-gradient(180deg, rgba(244,239,230,.035), rgba(244,239,230,.006)),
    #030303 !important;
  box-shadow: inset 0 16px 28px rgba(0,0,0,.34), 0 0 28px rgba(255,213,139,.10) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-status-slot::before {
  background: linear-gradient(180deg, rgba(3,3,3,.92), transparent) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-status-slot::after {
  background: linear-gradient(0deg, rgba(3,3,3,.92), transparent) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-status-track b {
  color: #f7d99b !important;
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif !important;
  text-shadow: 0 0 22px rgba(255,213,139,.18) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reading {
  gap: 14px !important;
  padding: 18px 0 0 !important;
  border: 0 !important;
  border-top: 1px solid rgba(244,239,230,.08) !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-almanac.is-enhanced .wealth-daily-reading {
  border-color: rgba(244,239,230,0) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-almanac.is-enhanced.is-revealed .wealth-daily-reading {
  border-color: rgba(244,239,230,.08) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reading-title b {
  color: #f4efe8 !important;
  font-weight: 560 !important;
  text-shadow: 0 16px 42px rgba(0,0,0,.36) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reading-title strong {
  color: #fff0c4 !important;
  font-family: "Inter", "Segoe UI", Arial, sans-serif !important;
  font-weight: 680 !important;
  text-shadow: 0 18px 52px rgba(255,213,139,.18) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reading p {
  color: rgba(244,239,230,.68) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-advice {
  gap: 0 !important;
  padding-top: 2px !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-advice > div {
  padding-left: 16px !important;
  border-left-color: rgba(244,239,230,.10) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-advice li {
  color: rgba(247,217,155,.88) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reading > small,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-disclaimer {
  color: rgba(244,239,230,.46) !important;
}

html[data-theme] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-card.profile-subscription-card {
  border-color: rgba(244,239,230,.11) !important;
  background:
    radial-gradient(circle at 82% 0%, rgba(255,145,37,.12), transparent 34%),
    radial-gradient(circle at 18% 100%, rgba(244,239,230,.05), transparent 28%),
    linear-gradient(152deg, rgba(17,17,18,.985), rgba(6,6,7,.99) 64%, #030303) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045), 0 28px 74px rgba(0,0,0,.42) !important;
}

html[data-theme] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-card.profile-subscription-card::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  border-radius: inherit !important;
  background:
    linear-gradient(90deg, rgba(244,239,230,.055), transparent 40%),
    linear-gradient(180deg, rgba(244,239,230,.035), transparent 42%) !important;
}

html[data-theme] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-card.profile-subscription-card:hover,
html[data-theme] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-card.profile-subscription-card:focus-visible {
  border-color: rgba(244,239,230,.18) !important;
  background:
    radial-gradient(circle at 82% 0%, rgba(255,145,37,.18), transparent 34%),
    radial-gradient(circle at 18% 100%, rgba(244,239,230,.07), transparent 28%),
    linear-gradient(152deg, rgba(22,22,22,.99), rgba(8,8,9,.99) 64%, #030303) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.055), 0 30px 84px rgba(0,0,0,.48) !important;
}

html[data-theme] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-shine {
  opacity: .28 !important;
  background: linear-gradient(118deg, transparent 12%, rgba(244,239,230,.18) 44%, transparent 68%) !important;
}

html[data-theme] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-card.profile-subscription-card .profile-subscription-card-inner {
  padding: 24px 22px 22px !important;
}

html[data-theme] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-kicker {
  color: rgba(244,239,230,.58) !important;
  letter-spacing: .18em !important;
}

html[data-theme] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-card h3 {
  color: #f4efe8 !important;
  font-size: 27px !important;
  font-weight: 650 !important;
  text-shadow: 0 14px 34px rgba(0,0,0,.46) !important;
}

html[data-theme] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-status b {
  color: #f7d99b !important;
  font-size: 29px !important;
  text-shadow: 0 0 28px rgba(255,213,139,.14) !important;
}

html[data-theme] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-status small {
  color: rgba(244,239,230,.50) !important;
}

html[data-theme] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-card em {
  color: #120d05 !important;
  background: linear-gradient(135deg, #f4efe8, #f2c76f 58%, #c88a32) !important;
  box-shadow: 0 18px 46px rgba(255,213,139,.18), inset 0 1px 0 rgba(255,255,255,.34) !important;
}

@media (max-width: 760px) {
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-panel {
    border-radius: 18px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-body {
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 12px !important;
    padding: 18px 0 !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-head {
    display: grid !important;
    gap: 10px !important;
    align-items: start !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-head > b {
    white-space: normal !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reel-frame {
    border-radius: 16px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-result {
    grid-template-columns: auto auto minmax(0, 1fr) !important;
    gap: 9px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-advice {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-advice > div {
    padding-left: 12px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-card.profile-subscription-card {
    width: min(292px, calc(100vw - 40px)) !important;
  }
}

/* Profile black-earth-gold direction pass. */
html[data-theme] body:has(.app-profile-shell) {
  background:
    radial-gradient(circle at 5% 6%, rgba(123,85,39,.26), transparent 31%),
    radial-gradient(circle at 82% 16%, rgba(32,45,66,.20), transparent 39%),
    linear-gradient(135deg, #050504 0%, #090806 44%, #05070b 100%) !important;
}

html[data-theme] body:has(.app-profile-shell)::before {
  opacity: .24 !important;
  background:
    linear-gradient(90deg, rgba(247,217,155,.05), transparent 33%, rgba(129,151,184,.04)),
    radial-gradient(circle at 12% 14%, rgba(247,217,155,.06), transparent 28%) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell {
  color: rgba(244,239,230,.88) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview {
  overflow: hidden !important;
  border: 1px solid rgba(244,239,230,.10) !important;
  border-radius: 20px !important;
  background:
    radial-gradient(circle at 6% 10%, rgba(166,113,49,.25), transparent 31%),
    radial-gradient(circle at 82% 4%, rgba(247,217,155,.08), transparent 28%),
    linear-gradient(150deg, rgba(28,25,22,.98), rgba(11,11,12,.985) 60%, rgba(5,7,11,.99)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 28px 84px rgba(0,0,0,.32) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview::before {
  opacity: .44 !important;
  background:
    radial-gradient(circle at 6% 6%, rgba(247,217,155,.10), transparent 34%),
    linear-gradient(90deg, rgba(244,239,230,.05), transparent 42%) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview-id h2,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .valuescan-panel-title h2 {
  color: #f4efe8 !important;
  text-shadow: 0 14px 38px rgba(0,0,0,.42) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview-signs {
  border-top-color: rgba(244,239,230,.09) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview-signs span {
  padding-left: 18px !important;
  border-left: 1px solid rgba(244,239,230,.08) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview-signs span:first-child {
  padding-left: 0 !important;
  border-left: 0 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview-signs b,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-list span,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-primary span {
  color: rgba(247,217,155,.72) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview-credit {
  min-height: 136px !important;
  border: 1px solid rgba(255,234,188,.26) !important;
  border-radius: 16px !important;
  background:
    linear-gradient(112deg, rgba(255,234,188,.20) 0 24%, transparent 24% 100%),
    linear-gradient(135deg, #f1cf84 0%, #e5a93e 58%, #b97825 100%) !important;
  box-shadow: 0 20px 62px rgba(224,157,54,.18), inset 0 1px 0 rgba(255,255,255,.38) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview-credit b {
  color: #070706 !important;
  text-shadow: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview-credit span,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview-credit small {
  color: rgba(7,7,6,.68) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-sidebar,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .valuescan-profile-panel {
  border: 1px solid rgba(244,239,230,.10) !important;
  border-radius: 20px !important;
  background:
    radial-gradient(circle at 0% 0%, rgba(166,113,49,.18), transparent 30%),
    linear-gradient(152deg, rgba(24,22,20,.94), rgba(9,10,12,.98) 66%, rgba(5,6,8,.99)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045), 0 24px 72px rgba(0,0,0,.28) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell #profile.member-section {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell #profile.member-section::before,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell #profile.member-section::after {
  content: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-layout {
  align-items: start !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .valuescan-basic-panel {
  padding: 30px !important;
  border-color: rgba(244,239,230,.11) !important;
  background:
    radial-gradient(circle at 10% 8%, rgba(166,113,49,.22), transparent 30%),
    radial-gradient(circle at 96% 0%, rgba(129,151,184,.11), transparent 32%),
    linear-gradient(153deg, rgba(25,23,20,.98), rgba(10,11,13,.985) 62%, rgba(5,7,11,.99)) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-title {
  margin-bottom: 28px !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-layout {
  grid-template-columns: minmax(240px,.58fr) minmax(0,1.42fr) !important;
  gap: 34px !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-primary {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-list {
  padding-left: 30px !important;
  border-left: 1px solid rgba(244,239,230,.08) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-list > div {
  min-height: 62px !important;
  border-color: rgba(244,239,230,.075) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-list b {
  color: rgba(244,239,230,.92) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-edit {
  color: #f7d99b !important;
  border-color: rgba(247,217,155,.18) !important;
  background: rgba(247,217,155,.045) !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-section-nav {
  gap: 6px !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-section-nav a {
  border-radius: 12px !important;
  color: rgba(244,239,230,.70) !important;
  background: transparent !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-section-nav a.active {
  color: #f4efe8 !important;
  background:
    linear-gradient(90deg, rgba(247,217,155,.12), rgba(244,239,230,.045)),
    rgba(255,255,255,.025) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-section-nav a.active::before {
  background: linear-gradient(180deg, #f4efe8, #d69b45) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-logout-form {
  border-top-color: rgba(244,239,230,.08) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-logout-form button {
  border: 0 !important;
  color: rgba(244,239,230,.70) !important;
  background: rgba(244,239,230,.045) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-panel,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .community-credit-panel,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .account-security-panel {
  padding: 28px !important;
  border-color: rgba(244,239,230,.10) !important;
  background:
    radial-gradient(circle at 7% 0%, rgba(166,113,49,.16), transparent 30%),
    radial-gradient(circle at 100% 8%, rgba(129,151,184,.075), transparent 28%),
    linear-gradient(156deg, rgba(18,17,16,.985), rgba(8,9,11,.99) 66%, #030303) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-body {
  margin-top: 4px !important;
  padding: 24px 0 22px !important;
  background:
    linear-gradient(90deg, rgba(244,239,230,.055), transparent 48%),
    radial-gradient(circle at 92% 50%, rgba(247,217,155,.10), transparent 24%) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reel-frame {
  border-color: rgba(244,239,230,.105) !important;
  background:
    radial-gradient(ellipse at 45% 50%, rgba(247,217,155,.13), transparent 43%),
    linear-gradient(90deg, rgba(244,239,230,.035), rgba(247,217,155,.04), rgba(244,239,230,.018)),
    rgba(3,4,6,.78) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reel-frame::before {
  background: linear-gradient(90deg, rgba(3,4,6,.92), rgba(3,4,6,.40) 62%, transparent) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reel-frame::after {
  background: linear-gradient(270deg, rgba(3,4,6,.92), rgba(3,4,6,.40) 62%, transparent) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .community-credit-board,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .account-security-grid {
  gap: 0 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .community-credit-seal,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .community-credit-rank,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .community-credit-metrics > div,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .account-security-item {
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .community-credit-seal {
  border: 0 !important;
  border-right: 1px solid rgba(244,239,230,.08) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .community-credit-rank,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .community-credit-metrics > div,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .account-security-item {
  border: 0 !important;
  border-left: 1px solid rgba(244,239,230,.08) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .community-credit-rank {
  padding-left: 24px !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .community-credit-metrics > div,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .account-security-item {
  padding: 4px 18px !important;
}

html[data-theme] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-card.profile-subscription-card {
  width: 292px !important;
  height: 238px !important;
  min-height: 238px !important;
  border: 1px solid rgba(244,239,230,.12) !important;
  border-radius: 20px !important;
  background:
    radial-gradient(circle at 88% 0%, rgba(166,113,49,.22), transparent 34%),
    radial-gradient(circle at 16% 104%, rgba(244,239,230,.06), transparent 30%),
    linear-gradient(153deg, rgba(20,18,16,.99), rgba(4,4,5,.995) 66%, #020202) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 32px 88px rgba(0,0,0,.48) !important;
}

html[data-theme] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-card.profile-subscription-card::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  border-radius: inherit !important;
  background:
    linear-gradient(90deg, rgba(244,239,230,.065), transparent 41%),
    linear-gradient(180deg, rgba(244,239,230,.04), transparent 45%) !important;
}

html[data-theme] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-card.profile-subscription-card .profile-subscription-card-inner {
  padding: 24px 22px 22px !important;
}

html[data-theme] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-kicker {
  color: rgba(247,217,155,.72) !important;
  letter-spacing: .18em !important;
}

html[data-theme] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-card h3 {
  margin-top: 12px !important;
  color: #f4efe8 !important;
  font-size: 28px !important;
  font-weight: 660 !important;
  letter-spacing: 0 !important;
}

html[data-theme] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-status b {
  color: #f7d99b !important;
  font-size: 28px !important;
}

html[data-theme] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-card em {
  min-height: 40px !important;
  color: #120d05 !important;
  background: linear-gradient(135deg, #f4efe8, #f2c76f 58%, #c88a32) !important;
  box-shadow: 0 18px 46px rgba(247,217,155,.18), inset 0 1px 0 rgba(255,255,255,.36) !important;
}

@media (max-width: 900px) {
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell #profile.member-section {
    padding: 0 !important;
  }
}

@media (max-width: 760px) {
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview,
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-sidebar,
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .valuescan-profile-panel {
    border-radius: 18px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .valuescan-basic-panel,
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-panel,
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .community-credit-panel,
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .account-security-panel {
    padding: 20px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-layout {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-list {
    padding-left: 0 !important;
    border-left: 0 !important;
    border-top: 1px solid rgba(244,239,230,.08) !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .community-credit-seal,
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .community-credit-rank,
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .community-credit-metrics > div,
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .account-security-item {
    padding: 12px 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-top: 1px solid rgba(244,239,230,.08) !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .community-credit-seal,
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .account-security-item:first-child {
    border-top: 0 !important;
  }
}

/* Wealth observation staged reading pass. */
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-panel {
  gap: 20px !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-stage-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  padding-bottom: 14px !important;
  border-bottom: 1px solid rgba(244,239,230,.08) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-stage-head span,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-stage-head time {
  color: rgba(244,239,230,.52) !important;
  font-size: 12px !important;
  font-weight: 760 !important;
  letter-spacing: .08em !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-stage-head time {
  color: rgba(247,217,155,.78) !important;
  white-space: nowrap !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-report {
  position: relative !important;
  display: grid !important;
  gap: 18px !important;
  margin-top: 6px !important;
  padding: 0 0 22px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(244,239,230,.10) !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-hero {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 22px !important;
  align-items: end !important;
  min-height: 148px !important;
  padding: 24px 28px !important;
  overflow: hidden !important;
  border: 1px solid rgba(244,239,230,.09) !important;
  background:
    linear-gradient(108deg, rgba(166,113,49,.34) 0 16%, transparent 16% 100%),
    radial-gradient(circle at 84% 50%, rgba(247,217,155,.10), transparent 28%),
    linear-gradient(135deg, rgba(244,239,230,.050), rgba(255,255,255,.010)) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-hero span,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-guidance span,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-rails span {
  display: block !important;
  color: rgba(244,239,230,.52) !important;
  font-size: 12px !important;
  font-weight: 760 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-hero h3 {
  margin: 10px 0 12px !important;
  color: #f4efe8 !important;
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif !important;
  font-size: clamp(34px, 4.5vw, 54px) !important;
  font-weight: 560 !important;
  line-height: 1.04 !important;
  letter-spacing: 0 !important;
  text-shadow: 0 18px 46px rgba(0,0,0,.42) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-hero p {
  max-width: 58ch !important;
  margin: 0 !important;
  color: rgba(244,239,230,.66) !important;
  font-size: 13px !important;
  line-height: 1.72 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-hero strong {
  color: #f7d99b !important;
  font-size: clamp(58px, 6.6vw, 86px) !important;
  font-weight: 680 !important;
  line-height: .86 !important;
  letter-spacing: -.03em !important;
  text-shadow: 0 20px 58px rgba(247,217,155,.18) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-guidance {
  display: grid !important;
  grid-template-columns: minmax(130px,.28fr) minmax(0,.42fr) minmax(0,.72fr) minmax(0,.72fr) !important;
  gap: 16px !important;
  align-items: start !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-guidance b,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-guidance small {
  min-width: 0 !important;
  padding-left: 16px !important;
  border-left: 1px solid rgba(244,239,230,.09) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-guidance b {
  color: #f7d99b !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-guidance small {
  color: rgba(244,239,230,.60) !important;
  font-size: 12px !important;
  line-height: 1.65 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-rails {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0 !important;
  padding-top: 14px !important;
  border-top: 1px solid rgba(244,239,230,.08) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-rails > div {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  align-items: center !important;
  min-width: 0 !important;
  padding-right: 16px !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-rails > div + div {
  padding-left: 16px !important;
  border-left: 1px solid rgba(244,239,230,.08) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-rails div > span:first-child {
  flex: 0 0 42px !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-rails div > span:not(:first-child),
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-tags em {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 26px !important;
  padding: 0 10px !important;
  border: 1px solid rgba(247,217,155,.10) !important;
  color: rgba(247,217,155,.82) !important;
  background: rgba(247,217,155,.035) !important;
  font-size: 12px !important;
  font-style: normal !important;
  font-weight: 720 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-tags {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-almanac {
  display: grid !important;
  gap: 18px !important;
  margin-top: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-head {
  align-items: end !important;
  padding: 2px 0 16px !important;
  border-bottom: 1px solid rgba(244,239,230,.08) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-head span,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-month-head span,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-result > span,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reading-title span {
  color: rgba(244,239,230,.52) !important;
  letter-spacing: .08em !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-head h3 {
  margin-top: 6px !important;
  color: #f4efe8 !important;
  font-size: clamp(24px, 2.4vw, 32px) !important;
  font-weight: 680 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-head p {
  color: rgba(244,239,230,.58) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-month {
  display: grid !important;
  gap: 12px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reel-frame {
  border-radius: 16px !important;
  border-color: rgba(244,239,230,.12) !important;
  background:
    radial-gradient(ellipse at 43% 50%, rgba(247,217,155,.15), transparent 42%),
    linear-gradient(90deg, rgba(244,239,230,.040), rgba(247,217,155,.045), rgba(244,239,230,.020)),
    rgba(3,4,6,.76) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-result {
  grid-template-columns: minmax(82px, auto) auto minmax(0, 1fr) !important;
  padding: 16px 0 !important;
  border: 0 !important;
  border-top: 1px solid rgba(244,239,230,.08) !important;
  border-bottom: 1px solid rgba(244,239,230,.08) !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-almanac.is-enhanced.is-status-visible .wealth-daily-result {
  max-height: 118px !important;
  padding-top: 16px !important;
  padding-bottom: 16px !important;
  border-color: rgba(244,239,230,.08) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-status-slot {
  width: 68px !important;
  min-width: 68px !important;
  height: 60px !important;
  border-color: rgba(247,217,155,.18) !important;
  background:
    linear-gradient(180deg, rgba(244,239,230,.035), rgba(244,239,230,.006)),
    #030303 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-status-track b {
  height: 60px !important;
  font-size: 32px !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-result > small {
  color: rgba(244,239,230,.64) !important;
  font-size: 13px !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reading {
  padding: 22px 0 0 !important;
  border: 0 !important;
  border-top: 1px solid rgba(244,239,230,.10) !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-almanac.is-enhanced.is-revealed .wealth-daily-reading {
  max-height: 640px !important;
  padding-top: 22px !important;
  padding-bottom: 0 !important;
  border-color: rgba(244,239,230,.10) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reading-title {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: end !important;
  gap: 18px !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reading-title b {
  color: #f4efe8 !important;
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif !important;
  font-size: clamp(32px, 4vw, 48px) !important;
  font-weight: 560 !important;
  line-height: 1.08 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reading-title strong {
  color: #f7d99b !important;
  font-size: clamp(56px, 6.2vw, 78px) !important;
  font-weight: 680 !important;
  text-shadow: 0 22px 58px rgba(247,217,155,.16) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reading p {
  max-width: 76ch !important;
  color: rgba(244,239,230,.68) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-advice {
  gap: 0 !important;
  padding-top: 10px !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-advice > div {
  padding-left: 18px !important;
  border-left-color: rgba(244,239,230,.10) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-advice li {
  color: rgba(247,217,155,.88) !important;
  font-size: 13px !important;
}

@media (max-width: 760px) {
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-stage-head,
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-head {
    display: grid !important;
    gap: 8px !important;
    align-items: start !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-stage-head time,
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-head > b {
    white-space: normal !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-hero {
    grid-template-columns: minmax(0, 1fr) !important;
    min-height: 0 !important;
    padding: 20px 18px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-hero strong {
    justify-self: end !important;
    font-size: 58px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-guidance,
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-rails,
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reading-title,
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-advice {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-guidance b,
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-guidance small,
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-rails > div + div {
    padding-left: 0 !important;
    border-left: 0 !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-guidance b,
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-guidance small,
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-rails > div + div {
    padding-top: 10px !important;
    border-top: 1px solid rgba(244,239,230,.08) !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-result {
    grid-template-columns: auto auto minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reading-title strong {
    justify-self: end !important;
    font-size: 58px !important;
  }
}

/* Wealth date reel: free-snap motion with fixed side masks and center emphasis. */
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reel {
  scroll-snap-type: x mandatory !important;
  overscroll-behavior-x: contain !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-almanac.is-date-rolling .wealth-daily-reel {
  scroll-snap-type: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-day {
  scroll-snap-align: center !important;
  opacity: var(--reel-opacity, .48) !important;
  transform: translate3d(0, var(--reel-y, 3px), 0) scale(var(--reel-scale, .84)) !important;
  filter: saturate(var(--reel-saturation, .75)) brightness(var(--reel-brightness, .62)) !important;
  will-change: transform, opacity, filter;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-day.is-active {
  opacity: 1 !important;
  transform: translate3d(0, calc(var(--reel-y, 0px) - 2px), 0) scale(calc(var(--reel-scale, 1) + .055)) !important;
  filter: saturate(1.16) brightness(1.15) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-almanac.is-date-rolling .wealth-daily-day {
  pointer-events: none;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-almanac.is-date-locking .wealth-daily-day.is-active {
  animation: wealthDailyReelLock .22s cubic-bezier(.18,.86,.22,1) both !important;
}

@keyframes wealthDailyReelLock {
  0% {
    transform: translate3d(0, -2px, 0) scale(.98);
  }
  64% {
    transform: translate3d(0, -2px, 0) scale(1.075);
  }
  100% {
    transform: translate3d(0, -2px, 0) scale(1.055);
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-almanac.is-date-locking .wealth-daily-day.is-active {
    animation: none !important;
  }
}

/* Profile fortune visual convergence: black glass, restrained champagne, radar-like borders. */
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-panel {
  overflow: hidden !important;
  border: 1px solid rgba(231,221,199,.13) !important;
  border-radius: 20px !important;
  background:
    radial-gradient(circle at 0% 0%, rgba(198,150,82,.105), transparent 31%),
    radial-gradient(circle at 84% 18%, rgba(151,169,199,.055), transparent 26%),
    linear-gradient(148deg, rgba(17,18,20,.965), rgba(6,7,9,.99) 58%, rgba(2,3,4,.995)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.045),
    0 30px 84px rgba(0,0,0,.38) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-panel::before {
  opacity: .42 !important;
  background:
    linear-gradient(90deg, rgba(231,221,199,.07), transparent 42%),
    linear-gradient(180deg, rgba(231,221,199,.038), transparent 48%) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-stage-head,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-head {
  border-bottom-color: rgba(231,221,199,.095) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-stage-head time,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-guidance b,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-advice li {
  color: #d8c08a !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-report {
  border-bottom-color: rgba(231,221,199,.095) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-hero {
  border-color: rgba(231,221,199,.115) !important;
  border-radius: 2px !important;
  background:
    radial-gradient(circle at 86% 52%, rgba(216,192,138,.085), transparent 29%),
    linear-gradient(102deg, rgba(216,192,138,.12) 0 10%, transparent 10% 100%),
    linear-gradient(152deg, rgba(255,255,255,.035), rgba(255,255,255,.010) 54%, rgba(0,0,0,.16)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.035),
    inset 0 -1px 0 rgba(0,0,0,.32) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-hero h3,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-head h3,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reading-title b {
  color: #f1eee7 !important;
  text-shadow: 0 18px 42px rgba(0,0,0,.48) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-hero p,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-guidance small,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-head p,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reading p {
  color: rgba(241,238,231,.64) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-hero strong,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reading-title strong {
  color: #dfc98f !important;
  text-shadow: 0 18px 52px rgba(216,192,138,.105) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-guidance b,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-guidance small,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-rails > div + div,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-advice > div {
  border-color: rgba(231,221,199,.105) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-rails {
  border-top-color: rgba(231,221,199,.095) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-rails div > span:not(:first-child),
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-tags em {
  border-color: rgba(216,192,138,.145) !important;
  color: #cdbc91 !important;
  background:
    linear-gradient(180deg, rgba(216,192,138,.055), rgba(216,192,138,.020)),
    rgba(4,5,7,.42) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reel-frame {
  border-color: rgba(231,221,199,.13) !important;
  background:
    radial-gradient(ellipse at 44% 50%, rgba(216,192,138,.105), transparent 40%),
    linear-gradient(90deg, rgba(255,255,255,.025), rgba(216,192,138,.032), rgba(255,255,255,.012)),
    rgba(3,4,6,.82) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.035),
    inset 0 -1px 0 rgba(0,0,0,.42) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reel-frame::before,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reel-frame::after {
  opacity: .58 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-day {
  border-color: rgba(231,221,199,.075) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.028), rgba(255,255,255,.010)),
    rgba(9,9,10,.54) !important;
  color: rgba(241,238,231,.58) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-day:hover,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-day:focus-visible {
  border-color: rgba(216,192,138,.30) !important;
  color: #ded2b5 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-day.is-active {
  border-color: rgba(230,207,158,.54) !important;
  background:
    linear-gradient(145deg, #ead9ad, #c7a465 58%, #9c7a42) !important;
  color: #17130c !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.30),
    0 14px 42px rgba(170,130,66,.16) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-day.is-active small {
  color: rgba(23,19,12,.68) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reel-frame {
  border-radius: 18px !important;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(216,192,138,.08), transparent 30%),
    linear-gradient(90deg, rgba(0,0,0,.62), rgba(255,255,255,.014) 28%, rgba(216,192,138,.024) 50%, rgba(255,255,255,.014) 72%, rgba(0,0,0,.62)),
    rgba(3,4,6,.88) !important;
  isolation: isolate !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reel-frame::before,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reel-frame::after {
  width: 34% !important;
  opacity: 1 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reel-frame::before {
  background: linear-gradient(90deg, rgba(3,4,6,.98), rgba(3,4,6,.72) 44%, transparent) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reel-frame::after {
  background: linear-gradient(270deg, rgba(3,4,6,.98), rgba(3,4,6,.72) 44%, transparent) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reel-track {
  z-index: 5 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reel-window {
  z-index: 2 !important;
  width: 76px !important;
  height: 76px !important;
  border: 1px solid rgba(231,221,199,.24) !important;
  border-radius: 4px !important;
  background:
    linear-gradient(145deg, rgba(231,221,199,.13), rgba(216,192,138,.035) 44%, rgba(0,0,0,.18)),
    rgba(7,7,8,.72) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.11),
    inset 0 -1px 0 rgba(0,0,0,.55),
    0 0 0 1px rgba(216,192,138,.08),
    0 18px 50px rgba(216,192,138,.08) !important;
  filter: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reel-window::before,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reel-window::after {
  content: "" !important;
  position: absolute !important;
  inset: -1px !important;
  pointer-events: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reel-window::before {
  border: 1px solid rgba(216,192,138,.40) !important;
  clip-path: polygon(0 0, 18px 0, 18px 1px, 1px 1px, 1px 18px, 0 18px, 0 0, 100% 0, 100% 18px, calc(100% - 1px) 18px, calc(100% - 1px) 1px, calc(100% - 18px) 1px, calc(100% - 18px) 0, 100% 0, 100% 100%, calc(100% - 18px) 100%, calc(100% - 18px) calc(100% - 1px), calc(100% - 1px) calc(100% - 1px), calc(100% - 1px) calc(100% - 18px), 100% calc(100% - 18px), 100% 100%, 0 100%, 0 calc(100% - 18px), 1px calc(100% - 18px), 1px calc(100% - 1px), 18px calc(100% - 1px), 18px 100%, 0 100%) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reel-window::after {
  inset: 7px !important;
  background:
    linear-gradient(90deg, transparent, rgba(231,221,199,.10), transparent),
    linear-gradient(180deg, rgba(255,255,255,.06), transparent 48%, rgba(0,0,0,.20)) !important;
  opacity: .72 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-day {
  border-color: transparent !important;
  border-radius: 4px !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-day.is-active {
  --reel-opacity: 1;
  --reel-brightness: 1.24;
  --reel-saturation: 1.18;
  z-index: 7 !important;
  border-color: transparent !important;
  background: transparent !important;
  color: #fff3ce !important;
  box-shadow: none !important;
  opacity: 1 !important;
  filter: saturate(1.24) brightness(1.32) contrast(1.04) !important;
  text-shadow:
    0 0 14px rgba(255,243,206,.36),
    0 0 32px rgba(216,192,138,.28) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-day.is-active span {
  color: #fff8df !important;
  font-weight: 920 !important;
  text-shadow:
    0 0 12px rgba(255,248,223,.42),
    0 0 30px rgba(216,192,138,.30) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-day.is-active small {
  color: rgba(255,236,183,.96) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-status-slot {
  border-color: rgba(216,192,138,.16) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.032), rgba(255,255,255,.006)),
    rgba(1,2,3,.92) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-status-track b {
  color: #dfc98f !important;
}

html[data-theme] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-card.profile-subscription-card {
  border-color: rgba(231,221,199,.13) !important;
  background:
    radial-gradient(circle at 88% 0%, rgba(216,192,138,.135), transparent 36%),
    radial-gradient(circle at 16% 104%, rgba(151,169,199,.045), transparent 30%),
    linear-gradient(153deg, rgba(18,18,18,.99), rgba(5,5,6,.995) 66%, #020202) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.045),
    0 32px 88px rgba(0,0,0,.46) !important;
}

html[data-theme] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-card.profile-subscription-card:hover,
html[data-theme] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-card.profile-subscription-card:focus-visible {
  border-color: rgba(231,221,199,.20) !important;
  background:
    radial-gradient(circle at 88% 0%, rgba(216,192,138,.17), transparent 36%),
    radial-gradient(circle at 16% 104%, rgba(151,169,199,.055), transparent 30%),
    linear-gradient(153deg, rgba(20,20,20,.99), rgba(6,6,7,.995) 66%, #020202) !important;
}

html[data-theme] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-kicker {
  color: rgba(216,192,138,.68) !important;
}

html[data-theme] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-status b {
  color: #dfc98f !important;
  text-shadow: 0 0 24px rgba(216,192,138,.10) !important;
}

html[data-theme] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-card em {
  border: 1px solid rgba(231,221,199,.18) !important;
  background:
    linear-gradient(135deg, #ead9ad, #c9a86d 62%, #a27a3c) !important;
  color: #151008 !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.28),
    0 16px 42px rgba(0,0,0,.24) !important;
}

.legal-page-head {
  align-items: flex-end !important;
}

.legal-doc-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 2px 0 18px;
}

.legal-doc-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(231,221,199,.12);
  border-radius: 0;
  color: rgba(247,242,232,.70);
  background: rgba(255,255,255,.035);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.legal-doc-nav a:hover,
.legal-doc-nav a:focus-visible {
  color: #fff7de;
  border-color: rgba(216,192,138,.30);
  background: rgba(216,192,138,.075);
}

.legal-doc-nav a.active {
  color: #17110a;
  border-color: rgba(255,224,160,.58);
  background: linear-gradient(135deg, #f4dfad, #cda35f 64%, #9b7337);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.20), 0 10px 24px rgba(0,0,0,.20);
}

html[data-theme] body:has(.app-portal) .app-portal .legal-page-head .button,
html[data-theme] body:has(.app-portal) .app-portal .legal-doc-nav a {
  border-radius: 0 !important;
}

.legal-doc-shell {
  border: 1px solid rgba(231,221,199,.10);
  border-radius: 18px;
  background:
    radial-gradient(circle at 15% 0%, rgba(216,192,138,.08), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.040), rgba(255,255,255,.012)),
    rgba(3,4,7,.78);
  overflow: hidden;
}

.legal-section-block {
  padding: 24px 26px;
  border-top: 1px solid rgba(231,221,199,.085);
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.app-portal) .app-portal .legal-doc-shell .legal-section-block {
  color: var(--lz-ink) !important;
  border: 0 !important;
  border-top: 1px solid rgba(231,221,199,.085) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.legal-section-block:first-child {
  border-top: 0;
}

html[data-theme] body:has(.app-portal) .app-portal .legal-doc-shell .legal-section-block:first-child {
  border-top: 0 !important;
}

.legal-section-block h2 {
  margin: 0 0 10px;
  color: rgba(255,250,240,.96);
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.18;
  letter-spacing: 0;
}

.legal-section-block p {
  margin: 8px 0 0;
  max-width: 960px;
  color: rgba(247,242,232,.68);
  font-size: 14px;
  line-height: 1.82;
}

.legal-section-note {
  background: linear-gradient(90deg, rgba(216,192,138,.070), transparent 72%) !important;
}

.legal-micro-note {
  margin: 14px 0 0;
  color: rgba(247,242,232,.54);
  font-size: 12px;
  line-height: 1.72;
}

.legal-micro-note a {
  color: rgba(234,217,173,.88);
  font-weight: 800;
  text-decoration: none;
}

.legal-micro-note a:hover,
.legal-micro-note a:focus-visible {
  color: #fff2c8;
}

.site-legal-footer {
  width: min(100%, 1440px);
  margin: 28px auto 0;
  padding: 18px 16px 30px;
  border-top: 1px solid rgba(231,221,199,.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 18px;
  color: rgba(247,242,232,.50);
  font-size: 12px;
  line-height: 1.6;
}

.site-legal-footer p {
  margin: 0;
}

.site-legal-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-legal-footer a {
  color: rgba(234,217,173,.76);
  font-weight: 800;
  text-decoration: none;
}

.site-legal-footer a:hover,
.site-legal-footer a:focus-visible {
  color: #fff2c8;
}

@media (max-width: 760px) {
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-hero {
    border-radius: 14px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reel-frame {
    border-radius: 15px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-card.profile-subscription-card {
    width: min(100%, 292px) !important;
  }

  .legal-page-head {
    align-items: flex-start !important;
  }

  .legal-section-block {
    padding: 20px 16px;
  }

  .site-legal-footer {
    padding-bottom: 92px;
  }
}



@media (max-width: 860px) {
  html[data-theme] body:has(.app-dashboard-shell) .app.app-dashboard-shell.app-portal {
    width: 100% !important;
    max-width: 100% !important;
    padding: calc(14px + env(safe-area-inset-top)) 10px calc(92px + env(safe-area-inset-bottom)) !important;
    overflow-x: hidden !important;
  }

  html[data-theme] body:has(.app-dashboard-shell) .app.app-dashboard-shell .dashboard-terminal-shell.dashboard-terminal-shell {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html[data-theme] body:has(.app-dashboard-shell) .app.app-dashboard-shell .dashboard-center,
  html[data-theme] body:has(.app-dashboard-shell) .app.app-dashboard-shell .dashboard-left-rail,
  html[data-theme] body:has(.app-dashboard-shell) .app.app-dashboard-shell .dashboard-right-rail {
    grid-column: 1 !important;
    grid-row: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 0 !important;
  }

  html[data-theme] body:has(.app-dashboard-shell) .app.app-dashboard-shell .dashboard-center {
    order: 1 !important;
    display: grid !important;
    grid-template-rows: none !important;
    gap: 12px !important;
  }

  html[data-theme] body:has(.app-dashboard-shell) .app.app-dashboard-shell .dashboard-right-rail {
    order: 2 !important;
    display: grid !important;
    grid-template-rows: none !important;
    gap: 12px !important;
  }

  html[data-theme] body:has(.app-dashboard-shell) .app.app-dashboard-shell .dashboard-left-rail {
    order: 3 !important;
    display: grid !important;
    grid-template-rows: none !important;
    gap: 12px !important;
  }

  html[data-theme] body:has(.app-dashboard-shell) .app.app-dashboard-shell .dashboard-command-bar,
  html[data-theme] body:has(.app-dashboard-shell) .app.app-dashboard-shell .dashboard-chart-panel,
  html[data-theme] body:has(.app-dashboard-shell) .app.app-dashboard-shell .score-detail-stack,
  html[data-theme] body:has(.app-dashboard-shell) .app.app-dashboard-shell .detail-panel,
  html[data-theme] body:has(.app-dashboard-shell) .app.app-dashboard-shell .rank-panel,
  html[data-theme] body:has(.app-dashboard-shell) .app.app-dashboard-shell .market-sentiment-card,
  html[data-theme] body:has(.app-dashboard-shell) .app.app-dashboard-shell .countdown-card,
  html[data-theme] body:has(.app-dashboard-shell) .app.app-dashboard-shell .history-digest {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  html[data-theme] body:has(.app-dashboard-shell) .app.app-dashboard-shell .dashboard-chart-panel .local-kline-frame {
    width: 100% !important;
    min-width: 0 !important;
    height: clamp(320px, 82vw, 390px) !important;
  }

  html[data-theme] body:has(.app-dashboard-shell) .app.app-dashboard-shell .global-symbol-search {
    width: 100% !important;
    min-width: 0 !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
  }

  html[data-theme] body:has(.app-dashboard-shell) .app.app-dashboard-shell .global-symbol-search input {
    width: 100% !important;
    min-width: 0 !important;
  }
}

@media (min-width: 861px) {
  html[data-theme] body .app.app-dashboard-shell > nav.topbar,
  html[data-theme] body .app.app-dashboard-shell > nav.topbar.glass-surface,
  html[data-theme] body .app.app-dashboard-shell > nav.topbar.glass-surface-native--svg,
  html[data-theme] body .app.app-dashboard-shell > nav.topbar.glass-surface-native--fallback {
    display: flex !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
}

/* Uiverse-inspired theme toggle: icon state follows data-theme, not focus. */
html[data-theme] body .theme-toggle.toggle-btn {
  --toggle-bg: transparent;
  --toggle-fg: #2f2923;
  --toggle-cutout: #fffdf8;
  --toggle-hover: transparent;
  --dimensions: 36px;
  position: relative !important;
  display: grid !important;
  place-items: center !important;
  flex: 0 0 var(--dimensions) !important;
  width: var(--dimensions) !important;
  min-width: var(--dimensions) !important;
  height: var(--dimensions) !important;
  min-height: var(--dimensions) !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 999px !important;
  cursor: pointer;
  line-height: 1 !important;
  overflow: visible;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  color: var(--toggle-fg) !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html[data-theme="dark"] body .theme-toggle.toggle-btn {
  --toggle-bg: transparent;
  --toggle-fg: #f4ead8;
  --toggle-cutout: #11100f;
  --toggle-hover: transparent;
}

html[data-theme] body .theme-toggle.toggle-btn .main-circle {
  --dimensions: 16px;
  position: absolute;
  box-sizing: border-box;
  width: var(--dimensions);
  height: var(--dimensions);
  border: 0;
  border-radius: 50%;
  background-color: var(--toggle-fg);
  box-shadow: none;
  transform: scale(.80);
  transition: transform .28s ease, background-color .2s ease, box-shadow .28s ease, border-color .2s ease;
}

html[data-theme] body .theme-toggle.toggle-btn .main-circle::after {
  --dimensions: 12px;
  content: "";
  position: absolute;
  top: -1px;
  right: -3px;
  width: var(--dimensions);
  height: var(--dimensions);
  border-radius: 50%;
  background-color: var(--toggle-cutout);
  transform-origin: right top;
  transform: scale(0);
  transition: transform .28s ease, background-color .2s ease;
}

html[data-theme] body .theme-toggle.toggle-btn .sun-rays {
  display: grid;
  place-items: center;
  opacity: 1;
  transform: scale(.72);
  transition: transform .28s ease, opacity .2s ease;
}

html[data-theme] body .theme-toggle.toggle-btn .sun-rays,
html[data-theme] body .theme-toggle.toggle-btn .sun-rays::after,
html[data-theme] body .theme-toggle.toggle-btn .sun-rays::before {
  --width: 2px;
  --height: 5px;
  position: absolute;
  width: var(--width);
  height: var(--height);
  background-color: var(--toggle-fg);
  box-shadow: 0 12px 0 var(--toggle-fg), 0 -12px 0 var(--toggle-fg);
}

html[data-theme] body .theme-toggle.toggle-btn .sun-rays::after {
  content: "";
  transform: rotate(120deg);
}

html[data-theme] body .theme-toggle.toggle-btn .sun-rays::before {
  content: "";
  transform: rotate(240deg);
}

html[data-theme] body .theme-toggle.toggle-btn:hover {
  background: var(--toggle-hover) !important;
  background-color: var(--toggle-hover) !important;
  transform: translateY(-1px);
}

html[data-theme] body .theme-toggle.toggle-btn:active {
  transform: translateY(0) scale(.97);
}

html[data-theme] body .theme-toggle.toggle-btn:focus-visible {
  outline: 2px solid rgba(255,176,68,.72);
  outline-offset: 3px;
}

html[data-theme="dark"] body .app .theme-toggle.toggle-btn.theme-toggle {
  --toggle-bg: #212121;
  --toggle-fg: #e8e8e8;
}

html[data-theme] body:has(.app) .app .theme-toggle.toggle-btn.theme-toggle,
html[data-theme] body:has(.app) .app .theme-toggle.toggle-btn.theme-toggle:hover,
html[data-theme] body:has(.app) .app .theme-toggle.toggle-btn.theme-toggle:focus {
  color: var(--toggle-fg) !important;
  border-color: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

/* 3BUY light theme v2: single source for the rebuilt light mode. */
html[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f1eb;
  --terminal: #fffdf8;
  --panel: #fffdf8;
  --panel-strong: #ffffff;
  --text: #241d15;
  --muted: #6f655a;
  --line: rgba(45,35,22,.12);
  --line-strong: rgba(45,35,22,.22);
  --blue: #335f90;
  --cyan: #437d8a;
  --green: #2f8061;
  --red: #b94a45;
  --ink: #241d15;
  --shadow: 0 16px 42px rgba(60,45,25,.08);
  --shadow-soft: 0 8px 22px rgba(60,45,25,.06);
  --glass-line: rgba(255,255,255,.74);
  --lz-ink: #241d15;
  --lz-muted: #6f655a;
  --lz-faint: #9a8c78;
  --lz-card: #fffdf8;
  --lz-card-2: #f8f3e9;
  --lz-border: rgba(45,35,22,.12);
  --lz-border-strong: rgba(45,35,22,.20);
  --lz-accent: #c1842f;
  --lz-accent-soft: rgba(193,132,47,.12);
  --lz-accent-line: rgba(193,132,47,.26);
  --lz-accent-ink: #4a3215;
}

html[data-theme="light"],
html[data-theme="light"] body {
  background-color: #f4f1eb !important;
}

html[data-theme="light"] body {
  color: var(--lz-ink) !important;
  background:
    radial-gradient(circle at 14% 0%, rgba(255,255,255,.86), transparent 32%),
    radial-gradient(circle at 88% 6%, rgba(193,132,47,.14), transparent 30%),
    linear-gradient(180deg, #fbfaf6 0%, #f4f1eb 48%, #eee7dc 100%) !important;
}

html[data-theme="light"] body::before {
  opacity: .18 !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.52), transparent 36%),
    repeating-linear-gradient(90deg, rgba(45,35,22,.035) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(180deg, rgba(45,35,22,.028) 0 1px, transparent 1px 96px) !important;
  mix-blend-mode: multiply !important;
}

html[data-theme="light"] body:has(.app-home-shell),
html[data-theme="light"] body:has(.app-auth-shell) {
  background:
    radial-gradient(circle at 50% -12%, rgba(193,132,47,.18), transparent 34%),
    linear-gradient(180deg, #15110d 0%, #080706 68%, #030303 100%) !important;
  color: #f7f2e9 !important;
}

html[data-theme="light"] body:has(.app-dashboard-shell),
html[data-theme="light"] body:has(.app-radar-shell),
html[data-theme="light"] body:has(.app-prediction-shell),
html[data-theme="light"] body:has(.app-community-shell),
html[data-theme="light"] body:has(.app-member-shell),
html[data-theme="light"] body:has(.app-profile-shell),
html[data-theme="light"] body:has(.app-minimal-shell),
html[data-theme="light"] body:has(.app-admin-shell) {
  background:
    radial-gradient(circle at 12% -8%, rgba(255,255,255,.86), transparent 34%),
    radial-gradient(circle at 88% 2%, rgba(193,132,47,.12), transparent 30%),
    linear-gradient(180deg, #fbfaf6 0%, #f4f1eb 52%, #eee7dc 100%) !important;
  color: var(--lz-ink) !important;
}

html[data-theme="light"] body .app {
  color: var(--lz-ink) !important;
}

html[data-theme="light"] body .app :where(h1,h2,h3,h4,b,strong,.brand,.detail-score b,.rank-card strong,.dashboard-mini-metric b,.member-overview-card b,.profile-card b,.plan-price b) {
  color: var(--lz-ink) !important;
}

html[data-theme="light"] body .app :where(p,small,.muted,.eyebrow,.screen-top,.screen-top span,.rank-card small,.rank-card em,.history-digest small,.detail-header small,.profile-card span,.profile-card small,.plan-card p,.card p,.legal-micro-note,.prediction-source-pill,.community-status-line,.chat-meta,.member-menu-row small) {
  color: var(--lz-muted) !important;
}

@media (min-width: 861px) {
  html[data-theme="light"] body .app > nav.topbar,
  html[data-theme="light"] body .app > nav.topbar.glass-surface,
  html[data-theme="light"] body .app > nav.topbar.glass-surface-native--svg,
  html[data-theme="light"] body .app > nav.topbar.glass-surface-native--fallback {
    display: flex !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
}

html[data-theme="light"] body .app > nav.topbar,
html[data-theme="light"] body .app > nav.topbar.glass-surface,
html[data-theme="light"] body .app > nav.topbar.glass-surface-native--svg,
html[data-theme="light"] body .app > nav.topbar.glass-surface-native--fallback {
  color: var(--lz-ink) !important;
  border: 1px solid rgba(45,35,22,.12) !important;
  background: rgba(255,253,248,.92) !important;
  box-shadow: 0 8px 24px rgba(60,45,25,.08) !important;
  backdrop-filter: blur(16px) saturate(1.14) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.14) !important;
}

html[data-theme="light"] body .app > nav.topbar::before,
html[data-theme="light"] body .app > nav.topbar::after {
  display: none !important;
}

html[data-theme="light"] body .app > nav.topbar .brand,
html[data-theme="light"] body .app > nav.topbar .nav-links a,
html[data-theme="light"] body .app > nav.topbar .nav-links button,
html[data-theme="light"] body .app > nav.topbar .alert-button,
html[data-theme="light"] body .app > nav.topbar .nav-avatar-link {
  color: #3a3128 !important;
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

html[data-theme="light"] body .app > nav.topbar .nav-links a:hover,
html[data-theme="light"] body .app > nav.topbar .nav-links button:hover,
html[data-theme="light"] body .app > nav.topbar .alert-button:hover,
html[data-theme="light"] body .app > nav.topbar .nav-avatar-link:hover {
  color: #211813 !important;
  background: rgba(45,35,22,.07) !important;
}

html[data-theme="light"] body .app > nav.topbar .nav-links a.active,
html[data-theme="light"] body .app > nav.topbar .nav-links button.active,
html[data-theme="light"] body .app > nav.topbar .nav-avatar-link.active {
  color: #fff7ea !important;
  background: linear-gradient(135deg, #4a4239, #2f2923) !important;
}

html[data-theme="light"] body .app :where(.card,.metric,.terminal-card,.product-panel,.auth-card,.auth-panel,.plan-card,.feature,.dashboard-title-block,.dashboard-command-bar,.dashboard-chart-panel,.market-card,.analysis-panel,.detail-panel,.rank-panel,.rank-card,.history-digest,.history-digest li,.scan-countdown-card,.countdown-card,.market-sentiment-card,.score-detail-stack,.score-percent-card,.strategy-judgement-card,.funding-panel,.community-shell,.community-panel,.community-market-head,.community-score-head,.community-score-empty,.community-chat-panel,.community-chat-head,.chat-rules-card,.chat-system-card,.chat-list,.chat-compose,.chat-bubble,.community-stocktwits-card,.community-stocktwits-topbar,.community-culture-card,.radar-hero,.radar-results-card,.radar-chart-card,.radar-scan-card,.prediction-panel,.prediction-card,.prediction-hero,.member-section,.member-sidebar,.member-overview,.member-menu-list,.member-menu-row,.member-overview-card,.avatar-setting-card,.subscription-help > div,.profile-card,.point-balance-card,.point-plan-grid article,.point-order-panel,.point-usage-panel,.point-quick-observe,.point-recharge-note,.member-tutorial-slide,.legal-card,.message-card) {
  color: var(--lz-ink) !important;
  border-color: var(--lz-border) !important;
  background: rgba(255,253,248,.92) !important;
  box-shadow: none !important;
}

html[data-theme="light"] body .app :where(.dashboard-chart-panel .local-kline-frame,.current-detail-grid,.member-stat-grid > div,.member-info-grid > div,.member-settings-grid > section,.member-guide-grid a,.member-dual-list li,.member-order-list li,.point-usage-grid > div,.member-tutorial-visual,.reasons-list li,.flags-list li,.strategy-note,.boundary-note,.risk-reminder-strip,.symbol-library-chip,.community-score-grid .minimal-score-card) {
  border-color: rgba(45,35,22,.10) !important;
  background: rgba(248,243,233,.76) !important;
  box-shadow: none !important;
}

html[data-theme="light"] body .app :where(input,textarea,select,.global-symbol-search label,.global-symbol-results,.history-symbol-filter,.mobile-symbol-select select,.symbol-add-menu,.auth-password-row) {
  color: var(--lz-ink) !important;
  border-color: rgba(45,35,22,.14) !important;
  background: rgba(255,253,248,.90) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.76) !important;
}

html[data-theme="light"] body .app :where(input,textarea,select)::placeholder,
html[data-theme="light"] body .app .global-symbol-search input::placeholder {
  color: #8a7c6a !important;
}

html[data-theme="light"] body .app :where(input,textarea,select):focus,
html[data-theme="light"] body .app .global-symbol-search label:focus-within {
  border-color: rgba(193,132,47,.40) !important;
  box-shadow: 0 0 0 3px rgba(193,132,47,.12) !important;
  outline: none !important;
}

html[data-theme="light"] body .app :where(.button,button,.primary,.plan-button,.nav-cta):not(.theme-toggle):not(.chart-signal-dot):not(.chart-popover-close):not(.radar-hit-card):not(.radar-bubble):not(.radar-watch-bubble):not(.wealth-daily-day) {
  border-color: rgba(45,35,22,.12) !important;
  color: #3a3128 !important;
  background: rgba(255,253,248,.86) !important;
  box-shadow: none !important;
}

html[data-theme="light"] body .app :where(.primary,.plan-button,.nav-cta,button.primary):not(.theme-toggle):not(.chart-signal-dot):not(.chart-popover-close) {
  color: #fff7ea !important;
  border-color: rgba(90,61,22,.20) !important;
  background: linear-gradient(135deg, #d09a45, #8d5f20) !important;
}

html[data-theme="light"] body .app .symbol-tab,
html[data-theme="light"] body .app .asset-card,
html[data-theme="light"] body .app .symbol-choice,
html[data-theme="light"] body .app .watchlist-card,
html[data-theme="light"] body .app .market-chip,
html[data-theme="light"] body .app .chat-role,
html[data-theme="light"] body .app .prediction-source-pill {
  color: var(--lz-ink) !important;
  border-color: rgba(45,35,22,.11) !important;
  background: rgba(248,243,233,.78) !important;
  box-shadow: none !important;
}

html[data-theme="light"] body .app .symbol-tab:hover,
html[data-theme="light"] body .app .symbol-tab.active,
html[data-theme="light"] body .app .rank-card.active,
html[data-theme="light"] body .app .community-symbol-tab.active {
  color: #241d15 !important;
  border-color: rgba(193,132,47,.28) !important;
  background: rgba(193,132,47,.12) !important;
}

html[data-theme="light"] body .app .score-table th {
  color: var(--lz-muted) !important;
}

html[data-theme="light"] body .app .score-table td,
html[data-theme="light"] body .app table td,
html[data-theme="light"] body .app table th {
  color: var(--lz-ink) !important;
  border-color: rgba(45,35,22,.10) !important;
  background: rgba(255,253,248,.82) !important;
}

html[data-theme="light"] body .app :where(.percent-row,.strategy-judgement-card li,.terminal-row,.detail-header,.community-chat-head,.community-score-head,.member-section-head,.point-usage-head) {
  border-color: rgba(45,35,22,.09) !important;
}

html[data-theme="light"] body .app :where(.breakdown-bar,.percent-row i,.radar-scan-progress,.risk-reminder-strip) {
  background: rgba(45,35,22,.09) !important;
  box-shadow: inset 0 1px 1px rgba(60,45,25,.05) !important;
}

html[data-theme="light"] body .app .dashboard-race-switch {
  border-color: rgba(45,35,22,.16) !important;
  background: rgba(255,253,248,.88) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.88), 0 6px 14px rgba(60,45,25,.10) !important;
}

html[data-theme="light"] body .app .dashboard-race-switch::before {
  background: linear-gradient(180deg, #4b463f, #2f2923) !important;
  box-shadow: 0 1px 4px rgba(45,35,22,.20) !important;
}

html[data-theme="light"] body .app .dashboard-race-switch button {
  color: #6d6257 !important;
  background: transparent !important;
  text-shadow: none !important;
}

html[data-theme="light"] body .app .dashboard-race-switch button.active {
  color: #fff7ea !important;
}

html[data-theme="light"] body .app .hourglass-shell,
html[data-theme="light"] body .app .tetris-hourglass,
html[data-theme="light"] body .app .tetris-chamber {
  border-color: rgba(193,132,47,.18) !important;
  background: rgba(255,253,248,.66) !important;
  box-shadow: none !important;
}

html[data-theme="light"] body .app .mobile-bottom-nav {
  color: #3a3128 !important;
  border: 1px solid rgba(45,35,22,.12) !important;
  background: rgba(255,253,248,.94) !important;
  box-shadow: 0 8px 24px rgba(60,45,25,.12) !important;
  backdrop-filter: blur(16px) saturate(1.14) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.14) !important;
}

html[data-theme="light"] body .app .mobile-bottom-nav a {
  color: #6d6257 !important;
  background: transparent !important;
}

html[data-theme="light"] body .app .mobile-bottom-nav a.active,
html[data-theme="light"] body .app .mobile-bottom-nav a.mobile-nav-main.active {
  color: #241d15 !important;
  background: rgba(193,132,47,.12) !important;
}

html[data-theme="light"] body .app .mobile-bottom-nav .nav-item-icon {
  color: inherit !important;
  background: rgba(45,35,22,.06) !important;
  box-shadow: none !important;
}

html[data-theme="light"] body .app .legal-footer,
html[data-theme="light"] body .app .risk-reminder-strip {
  color: var(--lz-muted) !important;
  border-color: rgba(45,35,22,.12) !important;
  background: rgba(255,246,232,.70) !important;
}

html[data-theme="light"] body .theme-toggle.toggle-btn .main-circle {
  width: 17px !important;
  height: 17px !important;
  border: 2px solid var(--toggle-fg) !important;
  background: transparent !important;
  box-shadow: inset -5px -1px 0 0 var(--toggle-fg) !important;
  transform: rotate(-18deg) scale(1) !important;
}

html[data-theme="light"] body .theme-toggle.toggle-btn .main-circle::after {
  transform: scale(0) !important;
  opacity: 0 !important;
}

html[data-theme="light"] body .theme-toggle.toggle-btn .sun-rays {
  transform: scale(0) !important;
  opacity: 0 !important;
}

html[data-theme="light"] body .app .theme-toggle.toggle-btn.theme-toggle {
  --toggle-bg: transparent !important;
  --toggle-fg: #2f2923 !important;
  --toggle-cutout: #fffdf8 !important;
  --toggle-hover: transparent !important;
  color: #2f2923 !important;
  border: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

/* 3BUY light theme v2.1: override legacy black-gold page skins in light mode. */
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell,
html[data-theme="light"] body:has(.app-community-shell) .app.app-community-shell,
html[data-theme="light"] body:has(.app-identity-shell) .app.app-identity-shell,
html[data-theme="light"] body:has(.app-portal) .app.app-portal {
  --vs-text: #241d15 !important;
  --vs-muted: #6f655a !important;
  --vs-panel: rgba(255,253,248,.92) !important;
  --vs-line: rgba(45,35,22,.12) !important;
  color: var(--lz-ink) !important;
}

html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell > nav.topbar,
html[data-theme="light"] body:has(.app-community-shell) .app.app-community-shell > nav.topbar,
html[data-theme="light"] body:has(.app-identity-shell) .app.app-identity-shell > nav.topbar,
html[data-theme="light"] body:has(.app-portal) .app.app-portal > nav.topbar {
  color: #241d15 !important;
  border-color: rgba(45,35,22,.12) !important;
  background: rgba(255,253,248,.92) !important;
  box-shadow: 0 8px 24px rgba(60,45,25,.08) !important;
}

html[data-theme="light"] body .app .nav-profile-dropdown.nav-identity-card,
html[data-theme="light"] body .app .nav-identity-card {
  color: var(--lz-ink) !important;
  border-color: rgba(45,35,22,.12) !important;
  background: rgba(255,253,248,.96) !important;
  box-shadow: 0 18px 48px rgba(60,45,25,.14) !important;
}

html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell :where(.member-center-layout,.member-center-main,.profile-premium-layout,.profile-premium-main,.profile-premium-aside,.member-section,.member-sidebar,.member-section-nav,.member-overview,.valuescan-profile-panel,.valuescan-basic-panel,.wealth-fortune-panel,.community-credit-panel,.account-security-panel,.profile-account-layout,.profile-account-list,.profile-subscription-card,.profile-subscription-card-inner,.point-recharge-hero,.point-balance-panel,.point-plan-grid article,.point-order-panel,.point-order-list,.point-usage-panel,.point-usage-grid > div,.point-quick-observe,.point-recharge-note,.member-tutorial-slide,.member-tutorial-visual) {
  color: var(--lz-ink) !important;
  border-color: rgba(45,35,22,.12) !important;
  background: rgba(255,253,248,.92) !important;
  box-shadow: none !important;
}

html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell :where(.member-overview::before,.valuescan-profile-panel::before,.wealth-fortune-panel::before,.profile-subscription-card::before,.profile-subscription-shine) {
  opacity: 0 !important;
  display: none !important;
}

html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell :where(.member-overview-id h2,.member-section-title h2,.valuescan-panel-title h2,.wealth-fortune-cycle b,.wealth-fortune-score b,.profile-subscription-status b,.point-balance-panel b,.point-plan-grid b) {
  color: var(--lz-ink) !important;
  text-shadow: none !important;
}

html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell :where(.member-section-title p,.valuescan-panel-title p,.profile-account-list span,.profile-account-list small,.wealth-fortune-panel p,.wealth-fortune-panel li,.community-credit-panel p,.account-security-panel p,.profile-subscription-status small,.point-usage-grid small,.point-recharge-note p,.point-empty-copy) {
  color: var(--lz-muted) !important;
}

html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell :where(.member-section-nav a,.wealth-daily-day,.wealth-fortune-chip,.profile-account-badge,.profile-subscription-status,.point-pack-card,.point-pending-order) {
  color: #3a3128 !important;
  border-color: rgba(45,35,22,.12) !important;
  background: rgba(248,243,233,.82) !important;
  box-shadow: none !important;
}

html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell :where(.member-section-nav a.active,.member-section-nav a:hover,.wealth-daily-day.is-active,.wealth-fortune-chip.is-active) {
  color: #241d15 !important;
  border-color: rgba(193,132,47,.28) !important;
  background: rgba(193,132,47,.12) !important;
}

html[data-theme="light"] body:has(.app-portal) .app.app-portal .legal-doc-shell,
html[data-theme="light"] body:has(.app-portal) .app.app-portal .legal-section-block,
html[data-theme="light"] body:has(.app-portal) .app.app-portal .legal-section-note {
  color: var(--lz-ink) !important;
  border-color: rgba(45,35,22,.12) !important;
  background: rgba(255,253,248,.92) !important;
  box-shadow: none !important;
}

html[data-theme="light"] body:has(.app-community-shell) .app.app-community-shell :where(.community-left-rail,.community-right-rail,.community-market-head,.community-stocktwits-head,.community-symbol-overview,.community-main-tabs,.community-chart-card,.community-chart-card .local-kline-frame,.community-radar-card,.community-hot-card,.community-chat-panel,.community-compose-dialog,.community-culture-card) {
  color: var(--lz-ink) !important;
  border-color: rgba(45,35,22,.12) !important;
  background: rgba(255,253,248,.92) !important;
  box-shadow: none !important;
}

html[data-theme="light"] body:has(.app-community-shell) .app.app-community-shell :where(.community-left-rail a,.community-main-tabs a,.community-main-tabs button,.community-symbol-tab,.community-radar-favorite-row,.community-hot-sentiment-card) {
  color: #3a3128 !important;
  border-color: rgba(45,35,22,.12) !important;
  background: rgba(248,243,233,.82) !important;
}

html[data-theme="light"] body:has(.app-community-shell) .app.app-community-shell :where(.community-left-rail a.active,.community-main-tabs .active,.community-symbol-tab.active) {
  color: #241d15 !important;
  border-color: rgba(193,132,47,.28) !important;
  background: rgba(193,132,47,.12) !important;
}

html[data-theme="light"] body:has(.app-community-shell) .app.app-community-shell :where(.community-symbol-overview h1,.community-symbol-title h1,.community-quote-price strong,.community-rail-profile b) {
  color: var(--lz-ink) !important;
}

html[data-theme="light"] body:has(.app-community-shell) .app.app-community-shell :where(.community-symbol-overview small,.community-quote-metrics span,.community-rail-profile small,.community-watch-list small) {
  color: var(--lz-muted) !important;
}

html[data-theme="light"] body .app .site-legal-footer,
html[data-theme="light"] body .site-legal-footer {
  color: rgba(75,64,52,.72) !important;
}

/* 3BUY light theme v2.2: beat older cross-theme black-gold overrides. */
html[data-theme="light"] body:has(.app) .app.app-portal > nav.topbar .brand,
html[data-theme="light"] body:has(.app) .app.app-portal > nav.topbar .nav-links a,
html[data-theme="light"] body:has(.app) .app.app-portal > nav.topbar .nav-links button,
html[data-theme="light"] body:has(.app) .app.app-portal > nav.topbar .theme-toggle,
html[data-theme="light"] body:has(.app) .app.app-portal > nav.topbar .alert-button,
html[data-theme="light"] body:has(.app) .app.app-portal > nav.topbar .nav-avatar-link,
html[data-theme="light"] body:has(.app) .app.app-member-shell > nav.topbar .brand,
html[data-theme="light"] body:has(.app) .app.app-member-shell > nav.topbar .nav-links a,
html[data-theme="light"] body:has(.app) .app.app-member-shell > nav.topbar .nav-links button,
html[data-theme="light"] body:has(.app) .app.app-member-shell > nav.topbar .theme-toggle,
html[data-theme="light"] body:has(.app) .app.app-member-shell > nav.topbar .alert-button,
html[data-theme="light"] body:has(.app) .app.app-member-shell > nav.topbar .nav-avatar-link {
  color: #3a3128 !important;
  -webkit-text-fill-color: #3a3128 !important;
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme="light"] body:has(.app) .app.app-portal > nav.topbar .nav-links a.active,
html[data-theme="light"] body:has(.app) .app.app-portal > nav.topbar .nav-avatar-link.active,
html[data-theme="light"] body:has(.app) .app.app-member-shell > nav.topbar .nav-links a.active,
html[data-theme="light"] body:has(.app) .app.app-member-shell > nav.topbar .nav-avatar-link.active {
  color: #fff7ea !important;
  -webkit-text-fill-color: #fff7ea !important;
  background: linear-gradient(135deg, #4a4239, #2f2923) !important;
}

html[data-theme="light"] body:has(.app-dashboard-shell) .app.app-dashboard-shell .symbol-strip.symbol-strip,
html[data-theme="light"] body:has(.app-dashboard-shell) .app.app-dashboard-shell .symbol-tab.symbol-tab,
html[data-theme="light"] body:has(.app-dashboard-shell) .app.app-dashboard-shell .symbol-add-toggle.symbol-add-toggle,
html[data-theme="light"] body:has(.app-dashboard-shell) .app.app-dashboard-shell .dashboard-chart-panel .local-kline-frame.local-kline-frame,
html[data-theme="light"] body:has(.app-community-shell) .app.app-community-shell .community-chart-card .local-kline-frame.local-kline-frame {
  color: var(--lz-ink) !important;
  border-color: rgba(45,35,22,.12) !important;
  background: rgba(255,253,248,.92) !important;
  box-shadow: none !important;
}

html[data-theme="light"] body:has(.app-dashboard-shell) .app.app-dashboard-shell .global-symbol-search label > span,
html[data-theme="light"] body:has(.app-dashboard-shell) .app.app-dashboard-shell .symbol-strip .screen-top,
html[data-theme="light"] body:has(.app-dashboard-shell) .app.app-dashboard-shell .symbol-strip .screen-top span,
html[data-theme="light"] body:has(.app-dashboard-shell) .app.app-dashboard-shell .symbol-tab b,
html[data-theme="light"] body:has(.app-dashboard-shell) .app.app-dashboard-shell .symbol-tab small,
html[data-theme="light"] body:has(.app-dashboard-shell) .app.app-dashboard-shell .symbol-add-toggle,
html[data-theme="light"] body:has(.app-dashboard-shell) .app.app-dashboard-shell .asset-main b,
html[data-theme="light"] body:has(.app-dashboard-shell) .app.app-dashboard-shell .asset-main small {
  color: var(--lz-ink) !important;
  -webkit-text-fill-color: var(--lz-ink) !important;
}

html[data-theme="light"] body:has(.app-dashboard-shell) .app.app-dashboard-shell .symbol-tab small,
html[data-theme="light"] body:has(.app-dashboard-shell) .app.app-dashboard-shell .asset-main small {
  color: var(--lz-muted) !important;
  -webkit-text-fill-color: var(--lz-muted) !important;
}

html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .member-overview.member-overview,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .member-sidebar.member-sidebar,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .member-section.member-section,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .valuescan-profile-panel.valuescan-profile-panel,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-panel.wealth-fortune-panel,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .profile-subscription-card.profile-subscription-card,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .profile-subscription-card-inner,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .point-recharge-hero.point-recharge-hero,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .point-balance-panel.point-balance-panel,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .point-order-panel.point-order-panel,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .point-usage-panel.point-usage-panel,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .point-plan-grid article,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .member-tutorial-slide.member-tutorial-slide {
  color: var(--lz-ink) !important;
  border-color: rgba(45,35,22,.12) !important;
  background: rgba(255,253,248,.92) !important;
  box-shadow: none !important;
}

html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-panel *,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .valuescan-profile-panel *,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .member-sidebar *,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .point-recharge-hero *,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .point-order-panel *,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .point-usage-panel * {
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
  text-shadow: none !important;
}

html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell :where(small,p,li,span,em) {
  color: var(--lz-muted) !important;
  -webkit-text-fill-color: var(--lz-muted) !important;
}

html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell :where(h1,h2,h3,h4,b,strong) {
  color: var(--lz-ink) !important;
  -webkit-text-fill-color: var(--lz-ink) !important;
}

html[data-theme="light"] body:has(.app-community-shell) .app.app-community-shell .community-left-rail.community-left-rail,
html[data-theme="light"] body:has(.app-community-shell) .app.app-community-shell .community-right-rail.community-right-rail,
html[data-theme="light"] body:has(.app-community-shell) .app.app-community-shell .community-market-head.community-market-head,
html[data-theme="light"] body:has(.app-community-shell) .app.app-community-shell .community-symbol-overview.community-symbol-overview,
html[data-theme="light"] body:has(.app-community-shell) .app.app-community-shell .community-main-tabs.community-main-tabs,
html[data-theme="light"] body:has(.app-community-shell) .app.app-community-shell .community-chat-panel.community-chat-panel,
html[data-theme="light"] body:has(.app-community-shell) .app.app-community-shell .community-stocktwits-sidebar,
html[data-theme="light"] body:has(.app-community-shell) .app.app-community-shell .community-stocktwits-card,
html[data-theme="light"] body:has(.app-community-shell) .app.app-community-shell .community-signal-list,
html[data-theme="light"] body:has(.app-community-shell) .app.app-community-shell .community-compose-dialog {
  color: var(--lz-ink) !important;
  border-color: rgba(45,35,22,.12) !important;
  background: rgba(255,253,248,.92) !important;
  box-shadow: none !important;
}

html[data-theme="light"] body:has(.app-community-shell) .app.app-community-shell .community-symbol-overview *,
html[data-theme="light"] body:has(.app-community-shell) .app.app-community-shell .community-left-rail *,
html[data-theme="light"] body:has(.app-community-shell) .app.app-community-shell .community-right-rail *,
html[data-theme="light"] body:has(.app-community-shell) .app.app-community-shell .community-main-tabs * {
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
  text-shadow: none !important;
}

html[data-theme="light"] body:has(.app-community-shell) .app.app-community-shell :where(.community-quote-metrics span,.community-rail-profile small,.community-watch-list small,.community-symbol-overview small,.community-chat-meta,small,p,em) {
  color: var(--lz-muted) !important;
  -webkit-text-fill-color: var(--lz-muted) !important;
}

html[data-theme="light"] body:has(.app-identity-shell) .app.app-identity-shell,
html[data-theme="light"] body:has(.app-auth-shell) .app.app-auth-shell {
  color: var(--lz-ink) !important;
}

html[data-theme="light"] body:has(.app-identity-shell),
html[data-theme="light"] body:has(.app-auth-shell) {
  background:
    radial-gradient(circle at 12% -8%, rgba(255,255,255,.86), transparent 34%),
    radial-gradient(circle at 88% 2%, rgba(193,132,47,.12), transparent 30%),
    linear-gradient(180deg, #fbfaf6 0%, #f4f1eb 52%, #eee7dc 100%) !important;
}

html[data-theme="light"] body:has(.app-identity-shell) .identity-card.identity-card,
html[data-theme="light"] body:has(.app-auth-shell) .auth-panel.auth-panel {
  color: var(--lz-ink) !important;
  border-color: rgba(45,35,22,.12) !important;
  background: rgba(255,253,248,.92) !important;
  box-shadow: none !important;
}

/* 3BUY light theme v2.3: remove remaining black-gold islands in rebuilt light mode. */
html[data-theme="light"] body:has(.app-auth-shell) .app.app-auth-shell,
html[data-theme="light"] body:has(.app-identity-shell) .app.app-identity-shell {
  min-height: 100dvh !important;
  color: var(--lz-ink) !important;
  background:
    radial-gradient(circle at 12% -8%, rgba(255,255,255,.88), transparent 34%),
    radial-gradient(circle at 88% 2%, rgba(193,132,47,.12), transparent 30%),
    linear-gradient(180deg, #fbfaf6 0%, #f4f1eb 52%, #eee7dc 100%) !important;
}

html[data-theme="light"] body:has(.app-auth-shell) .app-auth-shell > .topbar .brand,
html[data-theme="light"] body:has(.app-auth-shell) .app-auth-shell.app-member-shell > .topbar .brand,
html[data-theme="light"] body:has(.app-identity-shell) .app-identity-shell > .topbar .brand {
  color: #2f2923 !important;
  -webkit-text-fill-color: #2f2923 !important;
  text-shadow: none !important;
}

html[data-theme="light"] body:has(.app-auth-shell) .app-auth-shell .auth-panel,
html[data-theme="light"] body:has(.app-auth-shell) .app-auth-shell .auth-guest-hint,
html[data-theme="light"] body:has(.app-auth-shell) .app-auth-shell .auth-password-row,
html[data-theme="light"] body:has(.app-auth-shell) .app-auth-shell .auth-field input,
html[data-theme="light"] body:has(.app-identity-shell) .app-identity-shell .identity-card,
html[data-theme="light"] body:has(.app-identity-shell) .identity-modal .identity-modal-dialog,
html[data-theme="light"] body:has(.app-identity-shell) .identity-modal .identity-modal-lucky,
html[data-theme="light"] body:has(.app-identity-shell) .identity-modal .identity-login-tabs,
html[data-theme="light"] body:has(.app-identity-shell) .identity-modal .identity-modal-close {
  color: var(--lz-ink) !important;
  border-color: rgba(45,35,22,.12) !important;
  background: rgba(255,253,248,.94) !important;
  box-shadow: 0 18px 48px rgba(45,35,22,.08) !important;
}

html[data-theme="light"] body:has(.app-auth-shell) .app-auth-shell :where(h1,h2,h3,b,strong,label,span),
html[data-theme="light"] body:has(.app-identity-shell) .app-identity-shell :where(h1,h2,h3,b,strong,label,span),
html[data-theme="light"] body:has(.app-identity-shell) .identity-modal :where(h1,h2,h3,b,strong,label,span) {
  color: var(--lz-ink) !important;
  -webkit-text-fill-color: var(--lz-ink) !important;
  text-shadow: none !important;
}

html[data-theme="light"] body:has(.app-auth-shell) .app-auth-shell :where(p,small,em,a),
html[data-theme="light"] body:has(.app-identity-shell) .app-identity-shell :where(p,small,em,a),
html[data-theme="light"] body:has(.app-identity-shell) .identity-modal :where(p,small,em,a) {
  color: var(--lz-muted) !important;
  -webkit-text-fill-color: var(--lz-muted) !important;
  text-shadow: none !important;
}

html[data-theme="light"] body:has(.app-auth-shell) .app-auth-shell :where(.auth-submit,.primary,button.primary),
html[data-theme="light"] body:has(.app-identity-shell) .app-identity-shell :where(.primary,button.primary),
html[data-theme="light"] body:has(.app-identity-shell) .identity-modal :where(.primary,button.primary),
html[data-theme="light"] body:has(.app-community-shell) .app.app-community-shell :where(.community-compose-submit,.community-post-button) {
  color: #fff7ea !important;
  -webkit-text-fill-color: #fff7ea !important;
  border-color: rgba(47,41,35,.18) !important;
  background: linear-gradient(135deg, #4a4239, #2f2923) !important;
  box-shadow: 0 14px 28px rgba(45,35,22,.14) !important;
}

html[data-theme="light"] body:has(.app-community-shell) .app.app-community-shell .chat-message-system.community-signal-item .chat-system-avatar,
html[data-theme="light"] body:has(.app-community-shell) .app.app-community-shell .chat-message-system.community-signal-item .community-signal-bubble,
html[data-theme="light"] body:has(.app-community-shell) .app.app-community-shell .chat-message-system.community-signal-item.state-good .community-signal-bubble,
html[data-theme="light"] body:has(.app-community-shell) .app.app-community-shell .chat-message-system.community-signal-item.state-bad .community-signal-bubble,
html[data-theme="light"] body:has(.app-community-shell) .app.app-community-shell .chat-message-system.community-signal-item.state-risk .community-signal-bubble,
html[data-theme="light"] body:has(.app-community-shell) .app.app-community-shell .community-chat-panel .chat-list,
html[data-theme="light"] body:has(.app-community-shell) .app.app-community-shell .community-quick-compose,
html[data-theme="light"] body:has(.app-community-shell) .app.app-community-shell .community-chat-filter,
html[data-theme="light"] body:has(.app-community-shell) .app.app-community-shell .community-stocktwits-topbar,
html[data-theme="light"] body:has(.app-community-shell) .app.app-community-shell .community-stocktwits-head,
html[data-theme="light"] body:has(.app-community-shell) .app.app-community-shell .community-compose-main,
html[data-theme="light"] body:has(.app-community-shell) .app.app-community-shell .community-compose-tools {
  color: var(--lz-ink) !important;
  border-color: rgba(45,35,22,.12) !important;
  background: rgba(255,253,248,.92) !important;
  box-shadow: none !important;
}

html[data-theme="light"] body:has(.app-community-shell) .app.app-community-shell .community-signal-bubble::before {
  background: linear-gradient(180deg, rgba(201,141,45,.22), rgba(201,141,45,.58), rgba(201,141,45,.18)) !important;
}

html[data-theme="light"] body:has(.app-community-shell) .app.app-community-shell :where(.community-signal-title span,.community-signal-title em,.community-signal-copy,.community-signal-copy span,.community-signal-copy small,.community-signal-item time,.chat-role,.community-chat-head b,.community-chat-head a,.community-compose-top span,.community-compose-reply) {
  color: var(--lz-ink) !important;
  -webkit-text-fill-color: var(--lz-ink) !important;
  text-shadow: none !important;
}

html[data-theme="light"] body:has(.app-community-shell) .app.app-community-shell :where(.community-signal-copy small,.community-signal-item time,.community-compose-reply) {
  color: var(--lz-muted) !important;
  -webkit-text-fill-color: var(--lz-muted) !important;
}

html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-panel.wealth-fortune-panel,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-body,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-almanac,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-month,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reel-frame,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-status-slot,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-result,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reading,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-card.profile-subscription-card,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-card.profile-subscription-card .profile-subscription-card-inner,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .profile-subscription-panel {
  color: var(--lz-ink) !important;
  border-color: rgba(45,35,22,.12) !important;
  background: rgba(255,253,248,.92) !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-panel::before,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reel-frame::before,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reel-frame::after,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-status-slot::before,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-status-slot::after,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .profile-subscription-card::before,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .profile-subscription-shine {
  content: none !important;
  display: none !important;
}

html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell :where(.wealth-fortune-panel,.wealth-fortune-body,.wealth-daily-almanac,.wealth-daily-result,.wealth-daily-reading,.profile-subscription-card) :where(h1,h2,h3,b,strong,span),
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-status-track b,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-status b,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-card h3 {
  color: var(--lz-ink) !important;
  -webkit-text-fill-color: var(--lz-ink) !important;
  text-shadow: none !important;
}

html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell :where(.wealth-fortune-panel,.wealth-fortune-body,.wealth-daily-almanac,.wealth-daily-result,.wealth-daily-reading,.profile-subscription-card) :where(p,small,em,li),
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-status small {
  color: var(--lz-muted) !important;
  -webkit-text-fill-color: var(--lz-muted) !important;
  text-shadow: none !important;
}

html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-day.is-active,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .member-section-nav a.active,
html[data-theme="light"] body:has(.app-community-shell) .app.app-community-shell .community-chat-filter button.active {
  color: #fff7ea !important;
  -webkit-text-fill-color: #fff7ea !important;
  border-color: rgba(47,41,35,.18) !important;
  background: linear-gradient(135deg, #4a4239, #2f2923) !important;
}

/* 3BUY light theme v2.4: cover detached profile and community surfaces. */
html[data-theme="light"] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-card.profile-subscription-card,
html[data-theme="light"] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-card.profile-subscription-card .profile-subscription-card-inner,
html[data-theme="light"] body:has(.app-profile-shell) .profile-subscription-panel {
  color: var(--lz-ink) !important;
  border-color: rgba(45,35,22,.12) !important;
  background: rgba(255,253,248,.94) !important;
  box-shadow: 0 18px 48px rgba(45,35,22,.08) !important;
  text-shadow: none !important;
}

html[data-theme="light"] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-card.profile-subscription-card::before,
html[data-theme="light"] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-shine {
  content: none !important;
  display: none !important;
}

html[data-theme="light"] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-card :where(h1,h2,h3,b,strong,span),
html[data-theme="light"] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-status b {
  color: var(--lz-ink) !important;
  -webkit-text-fill-color: var(--lz-ink) !important;
  text-shadow: none !important;
}

html[data-theme="light"] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-card :where(p,small,em),
html[data-theme="light"] body:has(.app-profile-shell) .profile-premium-aside .profile-subscription-status small {
  color: var(--lz-muted) !important;
  -webkit-text-fill-color: var(--lz-muted) !important;
  text-shadow: none !important;
}

html[data-theme="light"] body:has(.app-community-shell) .app.app-community-shell .global-symbol-search input,
html[data-theme="light"] body:has(.app-community-shell) .app.app-community-shell .community-chat-panel .chat-bubble,
html[data-theme="light"] body:has(.app-community-shell) .app.app-community-shell .community-chat-panel .chat-symbol-reference,
html[data-theme="light"] body:has(.app-community-shell) .app.app-community-shell .community-chat-panel .compose-symbol-reference,
html[data-theme="light"] body:has(.app-community-shell) .app.app-community-shell .community-chat-panel .community-compose-reference {
  color: var(--lz-ink) !important;
  border-color: rgba(45,35,22,.12) !important;
  background: rgba(255,253,248,.92) !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

html[data-theme="light"] body:has(.app-community-shell) .app.app-community-shell .global-symbol-search input::placeholder {
  color: var(--lz-muted) !important;
  -webkit-text-fill-color: var(--lz-muted) !important;
}

html[data-theme="light"] body:has(.app-community-shell) .app.app-community-shell .community-chat-panel :where(.chat-bubble,.chat-symbol-reference,.compose-symbol-reference,.community-compose-reference) :where(b,strong,span) {
  color: var(--lz-ink) !important;
  -webkit-text-fill-color: var(--lz-ink) !important;
}

html[data-theme="light"] body:has(.app-community-shell) .app.app-community-shell .community-chat-panel :where(.chat-bubble,.chat-symbol-reference,.compose-symbol-reference,.community-compose-reference) :where(p,small,em,time) {
  color: var(--lz-muted) !important;
  -webkit-text-fill-color: var(--lz-muted) !important;
}

/* 3BUY light theme v2.5: restore contrast inside profile detail panels. */
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .valuescan-profile-panel::before,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .member-overview::before {
  content: none !important;
  display: none !important;
}

html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .valuescan-profile-panel .valuescan-panel-title h2,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .valuescan-profile-panel .valuescan-panel-title h3,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-head h3,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reading-title b,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-result b,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-advice b,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-list b,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-list strong,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-list dt,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-list dd {
  color: var(--lz-ink) !important;
  -webkit-text-fill-color: var(--lz-ink) !important;
  text-shadow: none !important;
}

html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .valuescan-profile-panel .valuescan-panel-title p,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-head span,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-head p,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reading-title span,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-advice span,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-disclaimer,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-list span,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-list small {
  color: var(--lz-muted) !important;
  -webkit-text-fill-color: var(--lz-muted) !important;
  text-shadow: none !important;
}

html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-tags > div,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-report > div,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-days section,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-badge {
  color: var(--lz-ink) !important;
  border-color: rgba(45,35,22,.12) !important;
  background: rgba(248,243,233,.88) !important;
  box-shadow: none !important;
}

/* 3BUY light theme v2.6: radar and tutorial residual panels. */
html[data-theme="light"] body:has(.app-radar-shell) .app.app-radar-shell .global-symbol-search label,
html[data-theme="light"] body:has(.app-radar-shell) .app.app-radar-shell .global-symbol-search input,
html[data-theme="light"] body:has(.app-radar-shell) .app.app-radar-shell .radar-chart-wrap,
html[data-theme="light"] body:has(.app-radar-shell) .app.app-radar-shell .radar-detail-grid p,
html[data-theme="light"] body:has(.app-radar-shell) .app.app-radar-shell .radar-scan-summary p,
html[data-theme="light"] body:has(.app-radar-shell) .app.app-radar-shell .radar-board-note,
html[data-theme="light"] body:has(.app-radar-shell) .app.app-radar-shell .radar-vote-empty,
html[data-theme="light"] body:has(.app-radar-shell) .app.app-radar-shell .radar-scan-toast {
  color: var(--lz-ink) !important;
  border-color: rgba(45,35,22,.12) !important;
  background: rgba(255,253,248,.92) !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

html[data-theme="light"] body:has(.app-radar-shell) .app.app-radar-shell .radar-chart-wrap .local-kline-frame,
html[data-theme="light"] body:has(.app-radar-shell) .app.app-radar-shell .radar-chart-wrap .local-kline-canvas {
  background: #fffdf8 !important;
}

html[data-theme="light"] body:has(.app-radar-shell) .app.app-radar-shell .radar-detail-grid :where(b,strong,span),
html[data-theme="light"] body:has(.app-radar-shell) .app.app-radar-shell .radar-scan-summary :where(b,strong,span),
html[data-theme="light"] body:has(.app-radar-shell) .app.app-radar-shell .radar-scan-toast :where(b,strong,span,em) {
  color: var(--lz-ink) !important;
  -webkit-text-fill-color: var(--lz-ink) !important;
  text-shadow: none !important;
}

html[data-theme="light"] body:has(.app-radar-shell) .app.app-radar-shell .radar-detail-grid :where(small,em),
html[data-theme="light"] body:has(.app-radar-shell) .app.app-radar-shell .radar-scan-toast small,
html[data-theme="light"] body:has(.app-radar-shell) .app.app-radar-shell .global-symbol-search input::placeholder {
  color: var(--lz-muted) !important;
  -webkit-text-fill-color: var(--lz-muted) !important;
}

html[data-theme="light"] body:has(.tutorial-reference-page) .tutorial-reference-block,
html[data-theme="light"] body:has(.tutorial-reference-page) .tutorial-reference-faq,
html[data-theme="light"] body:has(.tutorial-reference-page) .tutorial-reference-card,
html[data-theme="light"] body:has(.tutorial-reference-page) .tutorial-system-panel,
html[data-theme="light"] body:has(.tutorial-reference-page) .tutorial-result-card,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .member-tutorial-showcase,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .member-tutorial-faq,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .member-tutorial-principle,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .tutorial-system-panel,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .tutorial-result-card {
  color: var(--lz-ink) !important;
  border-color: rgba(45,35,22,.12) !important;
  background: rgba(255,253,248,.92) !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

html[data-theme="light"] body:has(.tutorial-reference-page) .tutorial-mock-chart,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .tutorial-mock-chart {
  color: var(--lz-ink) !important;
  border-color: rgba(45,35,22,.14) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.72), rgba(248,243,233,.72)),
    rgba(255,253,248,.94) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7) !important;
}

html[data-theme="light"] body:has(.tutorial-reference-page) :where(.tutorial-reference-block,.tutorial-reference-faq,.tutorial-reference-card,.tutorial-system-panel,.tutorial-result-card) :where(h1,h2,h3,h4,b,strong,summary,span),
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell :where(.member-tutorial-showcase,.member-tutorial-faq,.member-tutorial-principle,.tutorial-system-panel,.tutorial-result-card) :where(h1,h2,h3,h4,b,strong,summary,span) {
  color: var(--lz-ink) !important;
  -webkit-text-fill-color: var(--lz-ink) !important;
  text-shadow: none !important;
}

html[data-theme="light"] body:has(.tutorial-reference-page) :where(.tutorial-reference-block,.tutorial-reference-faq,.tutorial-reference-card,.tutorial-system-panel,.tutorial-result-card) :where(p,small,em,li),
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell :where(.member-tutorial-showcase,.member-tutorial-faq,.member-tutorial-principle,.tutorial-system-panel,.tutorial-result-card) :where(p,small,em,li) {
  color: var(--lz-muted) !important;
  -webkit-text-fill-color: var(--lz-muted) !important;
  text-shadow: none !important;
}

/* 2026-07 visual hierarchy pass: keep data density, reduce nested surfaces. */
html[data-theme] body .app.app-portal {
  --ui-page: #090806;
  --ui-surface: #151310;
  --ui-surface-raised: #1b1814;
  --ui-surface-subtle: rgba(255,255,255,.025);
  --ui-line: rgba(226,196,143,.14);
  --ui-line-soft: rgba(255,255,255,.07);
  --ui-text: #f5f0e8;
  --ui-muted: #aaa195;
  --ui-gold: #d8ac54;
  --ui-gold-ink: #21180a;
}

html[data-theme="light"] body .app.app-portal {
  --ui-page: #f4f5f6;
  --ui-surface: #ffffff;
  --ui-surface-raised: #f0f1f2;
  --ui-surface-subtle: rgba(20,18,15,.025);
  --ui-line: rgba(38,32,23,.14);
  --ui-line-soft: rgba(38,32,23,.08);
  --ui-text: #1f1d1a;
  --ui-muted: #706b64;
  --ui-gold: #a87522;
  --ui-gold-ink: #ffffff;
}

html[data-theme] body .app.app-portal :where(
  .dashboard-command-bar,
  .dashboard-chart-panel,
  .rank-panel,
  .market-sentiment-card,
  .countdown-card,
  .detail-panel,
  .radar-hero,
  .radar-results-card,
  .radar-chart-card,
  .radar-scan-card,
  .radar-watch-pool,
  .radar-community-card,
  .community-left-rail,
  .community-market-head,
  .community-symbol-overview,
  .community-main-tabs,
  .community-main-panel,
  .community-chat-panel,
  .prediction-hero,
  .prediction-today-card,
  .prediction-stat-card,
  .prediction-winrate-card,
  .prediction-history-card,
  .member-overview,
  .member-sidebar,
  .member-section,
  .subscription-wallet,
  .plan-card
) {
  border-radius: 8px !important;
  border-color: var(--ui-line) !important;
  box-shadow: none !important;
}

html[data-theme] body .app.app-portal :where(.primary,.plan-button) {
  border-color: var(--ui-gold) !important;
  background: var(--ui-gold) !important;
  color: var(--ui-gold-ink) !important;
  -webkit-text-fill-color: var(--ui-gold-ink) !important;
  box-shadow: none !important;
}

html[data-theme] body .app.app-portal :where(.primary,.plan-button):hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

html[data-theme="light"] body:has(.redo-home-hero) .redo-home-title h1,
html[data-theme="light"] body:has(.redo-home-hero) .redo-home-title > span {
  color: #fffaf2 !important;
  -webkit-text-fill-color: #fffaf2 !important;
  text-shadow: 0 2px 20px rgba(0,0,0,.42) !important;
}

html[data-theme="light"] body:has(.redo-home-hero) .app-home-shell > .topbar :where(.brand,.nav-links a,.nav-links button,.nav-account-text) {
  color: #fffaf2 !important;
  -webkit-text-fill-color: #fffaf2 !important;
  text-shadow: 0 1px 12px rgba(0,0,0,.42) !important;
}

html[data-theme="light"] body:has(.redo-home-hero) .app-home-shell > .topbar :where(.theme-toggle,.alert-button) {
  color: #fffaf2 !important;
  --fg: #fffaf2 !important;
}

.mobile-utility-bar {
  display: none;
}

/* Dashboard */
html[data-theme] body .app.app-dashboard-shell .dashboard-terminal-shell {
  gap: 10px !important;
}

html[data-theme] body .app.app-dashboard-shell :where(.dashboard-left-rail,.dashboard-right-rail) {
  background: var(--ui-surface-subtle) !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

html[data-theme] body .app.app-dashboard-shell :where(.dashboard-left-rail,.dashboard-right-rail) > :where(section,.card) {
  border-color: var(--ui-line-soft) !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme] body .app.app-dashboard-shell .dashboard-command-bar {
  background: var(--ui-surface) !important;
}

html[data-theme="light"] body .app.app-dashboard-shell .global-symbol-search :where(label,input),
html[data-theme="light"] body .app.app-radar-shell .global-symbol-search :where(label,input),
html[data-theme="light"] body .app.app-community-shell .global-symbol-search :where(label,input) {
  color: var(--ui-text) !important;
  -webkit-text-fill-color: var(--ui-text) !important;
  border-color: var(--ui-line) !important;
  background: var(--ui-surface-raised) !important;
  box-shadow: none !important;
}

html[data-theme="light"] body .app.app-dashboard-shell .global-symbol-search input::placeholder,
html[data-theme="light"] body .app.app-radar-shell .global-symbol-search input::placeholder,
html[data-theme="light"] body .app.app-community-shell .global-symbol-search input::placeholder {
  color: var(--ui-muted) !important;
  -webkit-text-fill-color: var(--ui-muted) !important;
  opacity: 1 !important;
}

html[data-theme="light"] body:has(.app-dashboard-shell) .app.app-dashboard-shell .dashboard-command-bar .global-symbol-search input,
html[data-theme="light"] body:has(.app-radar-shell) .app.app-radar-shell .radar-filter-stack .global-symbol-search input,
html[data-theme="light"] body:has(.app-community-shell) .app.app-community-shell .community-market-head .global-symbol-search input {
  color: var(--ui-text) !important;
  -webkit-text-fill-color: var(--ui-text) !important;
  border-color: var(--ui-line) !important;
  background: var(--ui-surface-raised) !important;
  background-image: none !important;
  box-shadow: none !important;
}

html[data-theme="light"] body .app.app-dashboard-shell :where(.dashboard-mini-metric,.countdown-card,.market-sentiment-card) :where(b,strong,span,small,p) {
  color: var(--ui-text) !important;
  -webkit-text-fill-color: var(--ui-text) !important;
}

html[data-theme="light"] body:has(.app-radar-shell) .app.app-radar-shell :where(.radar-status,.radar-hit-title small,.radar-hit-signal span,.radar-hit-meta i,.radar-hit-meta em,.radar-hit-chips span,.radar-legend span,.radar-board-note,.radar-vote-empty) {
  color: var(--ui-muted) !important;
  -webkit-text-fill-color: var(--ui-muted) !important;
  text-shadow: none !important;
}

html[data-theme="light"] body:has(.app-radar-shell) .app.app-radar-shell :where(.radar-hit-title strong,.radar-filter-menu summary,.radar-bstocks-action,.radar-lookback-quick,.radar-tutorial-trigger,.radar-scan-summary b,.radar-detail-grid b) {
  color: var(--ui-text) !important;
  -webkit-text-fill-color: var(--ui-text) !important;
  text-shadow: none !important;
}

html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .member-section-nav a {
  color: var(--ui-text) !important;
  -webkit-text-fill-color: var(--ui-text) !important;
}

html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .member-section-nav a.active {
  color: #fffaf2 !important;
  -webkit-text-fill-color: #fffaf2 !important;
}

html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .member-section.points-section :where(h2,h3,b,strong,label) {
  color: var(--ui-text) !important;
  -webkit-text-fill-color: var(--ui-text) !important;
  text-shadow: none !important;
}

html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .member-section.points-section :where(p,small,.point-empty-copy,.point-recharge-steps b) {
  color: var(--ui-muted) !important;
  -webkit-text-fill-color: var(--ui-muted) !important;
  text-shadow: none !important;
}

html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .member-section.points-section :where(.point-balance-panel b,.point-plan-grid article > b) {
  color: var(--ui-gold) !important;
  -webkit-text-fill-color: var(--ui-gold) !important;
}

html[data-theme] body .app.app-dashboard-shell .dashboard-chart-panel {
  background: var(--ui-surface) !important;
  border-color: var(--ui-line) !important;
}

html[data-theme] body .app.app-dashboard-shell :where(.symbol-tab,.dashboard-mini-metric,.score-percent-card) {
  border-color: var(--ui-line-soft) !important;
  background: var(--ui-surface-subtle) !important;
  box-shadow: none !important;
}

/* Radar */
html[data-theme] body .app.app-radar-shell .radar-hero {
  display: grid !important;
  grid-template-columns: minmax(260px,.62fr) minmax(620px,1.38fr) !important;
  gap: 12px 20px !important;
  align-items: center !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 18px !important;
  overflow: visible !important;
  background: var(--ui-surface) !important;
}

html[data-theme] body .app.app-radar-shell .radar-scan-toast {
  display: none !important;
  position: fixed !important;
  inset: auto max(14px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) auto !important;
  z-index: 3200 !important;
  grid-column: auto !important;
  width: 236px !important;
  max-width: calc(100vw - 28px) !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 9px 11px 10px !important;
  transform: translate3d(0, 8px, 0) scale(.98) !important;
  border: 1px solid var(--ui-line) !important;
  border-radius: 8px !important;
  background: color-mix(in srgb, var(--ui-surface-raised) 94%, transparent) !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.28) !important;
  backdrop-filter: blur(14px) saturate(115%) !important;
}

html[data-theme] body .app.app-radar-shell .radar-scan-toast.is-visible {
  display: grid !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: translate3d(0, 0, 0) scale(1) !important;
}

html[data-theme] body .app.app-radar-shell .radar-scan-toast-head {
  display: grid !important;
  grid-template-columns: 42px minmax(0,1fr) !important;
  align-items: center !important;
  gap: 8px !important;
}

html[data-theme] body .app.app-radar-shell .radar-scan-percent {
  font-size: 17px !important;
  line-height: 1 !important;
}

html[data-theme] body .app.app-radar-shell .radar-scan-toast b {
  margin-bottom: 3px !important;
  font-size: 8px !important;
  letter-spacing: .11em !important;
}

html[data-theme] body .app.app-radar-shell .radar-scan-toast strong {
  font-size: 12px !important;
}

html[data-theme] body .app.app-radar-shell .radar-scan-progress {
  height: 3px !important;
  margin-top: 6px !important;
}

html[data-theme] body .app.app-radar-shell :where(.radar-detail-grid p,.radar-scan-summary p) {
  border: 0 !important;
  border-top: 1px solid var(--ui-line-soft) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

@media (min-width: 1181px) {
  html[data-theme] body:has(.app-radar-shell) .app.app-radar-shell {
    width: calc(100vw - 24px) !important;
    max-width: none !important;
    min-height: 100dvh !important;
  }

  html[data-theme] body:has(.app-radar-shell) .app.app-radar-shell .radar-page {
    --radar-first-screen: calc(100dvh - 112px);
    grid-template-rows:
      196px
      minmax(360px, calc(var(--radar-first-screen) - 412px))
      196px
      auto !important;
    min-height: var(--radar-first-screen) !important;
  }
}

/* Community */
html[data-theme] body .app.app-community-shell :where(.community-left-rail,.community-chat-panel) {
  border-color: transparent !important;
  background: var(--ui-surface-subtle) !important;
}

html[data-theme] body .app.app-community-shell .community-market-main {
  position: relative;
  z-index: 1;
}

html[data-theme] body .app.app-community-shell :where(.community-market-head,.community-symbol-overview,.community-main-panel) {
  background: var(--ui-surface) !important;
}

html[data-theme] body .app.app-community-shell .community-main-tabs {
  border-width: 0 0 1px !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html[data-theme] body .app.app-community-shell :where(.community-watch-card,.chat-bubble,.community-quick-compose) {
  border-color: var(--ui-line-soft) !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Prediction */
html[data-theme] body .app.app-prediction-shell .prediction-hero {
  min-height: 0 !important;
  padding: 24px 28px !important;
  background: var(--ui-surface) !important;
}

html[data-theme] body .app.app-prediction-shell .prediction-source-pill.mock {
  border-color: rgba(216,172,84,.42) !important;
  background: rgba(216,172,84,.08) !important;
  box-shadow: none !important;
}

html[data-theme] body .app.app-prediction-shell .prediction-main-grid {
  grid-template-columns: minmax(0,1fr) 340px !important;
  align-items: stretch !important;
  gap: 12px !important;
}

html[data-theme] body .app.app-prediction-shell :where(.prediction-today-card,.prediction-stat-card) {
  min-height: 0 !important;
  padding: 22px !important;
  background: var(--ui-surface) !important;
}

html[data-theme] body .app.app-prediction-shell .prediction-score-ring {
  width: 142px !important;
  height: 142px !important;
  margin: 10px auto 14px !important;
}

html[data-theme] body .app.app-prediction-shell .prediction-score-ring strong {
  font-size: 38px !important;
}

html[data-theme] body .app.app-prediction-shell .prediction-stat-grid {
  grid-template-columns: repeat(4,minmax(0,1fr)) !important;
  gap: 6px !important;
}

html[data-theme] body .app.app-prediction-shell .prediction-metrics > div,
html[data-theme] body .app.app-prediction-shell .prediction-stat-grid > div {
  border-color: var(--ui-line-soft) !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme] body .app.app-prediction-shell .prediction-content-grid {
  grid-template-columns: 360px minmax(0,1fr) !important;
  gap: 12px !important;
}

html[data-theme] body .app.app-prediction-shell .prediction-winrate-list {
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
}

/* Member center and recharge */
html[data-theme] body .app.app-profile-shell .member-center-layout {
  gap: 16px !important;
}

html[data-theme] body .app.app-profile-shell :where(.member-sidebar,.member-section) {
  background: var(--ui-surface) !important;
}

html[data-theme] body .app.app-profile-shell .member-section-nav a {
  border-radius: 6px !important;
}

html[data-theme] body .app.app-profile-shell .point-recharge-steps {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 0;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  border-block: 1px solid var(--ui-line-soft);
}

html[data-theme] body .app.app-profile-shell .point-recharge-steps li {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 12px 14px;
  border-right: 1px solid var(--ui-line-soft);
}

html[data-theme] body .app.app-profile-shell .point-recharge-steps li:last-child {
  border-right: 0;
}

html[data-theme] body .app.app-profile-shell .point-recharge-steps span {
  color: var(--ui-gold);
  font: 700 11px/1 ui-monospace,monospace;
}

html[data-theme] body .app.app-profile-shell .point-recharge-steps b {
  overflow: hidden;
  color: var(--ui-text);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html[data-theme] body .app.app-profile-shell .point-plan-grid {
  gap: 0 !important;
  border-bottom: 1px solid var(--ui-line-soft);
}

html[data-theme] body .app.app-profile-shell .point-plan-grid article {
  border: 0 !important;
  border-right: 1px solid var(--ui-line-soft) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-section.points-section .point-plan-grid article {
  border: 0 !important;
  border-right: 1px solid var(--ui-line-soft) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-section.points-section .point-plan-grid article:last-child {
  border-right: 0 !important;
}

html[data-theme] body .app.app-profile-shell .point-plan-grid article:last-child {
  border-right: 0 !important;
}

html[data-theme] body .app.app-profile-shell :where(.point-balance-panel,.point-recharge-hero) {
  border-color: transparent !important;
  box-shadow: none !important;
}

/* Billing */
html[data-theme] body:has(.subscription-wallet) .app.app-portal > .page-head {
  min-height: 0 !important;
  padding: 20px 24px !important;
  border-radius: 8px !important;
}

html[data-theme] body:has(.subscription-wallet) .subscription-wallet {
  min-height: 0 !important;
  padding: 13px 18px !important;
  background: var(--ui-surface) !important;
}

html[data-theme] body:has(.subscription-wallet) .subscription-wallet > div {
  display: flex;
  align-items: baseline;
  gap: 10px 14px;
  flex-wrap: wrap;
}

html[data-theme] body:has(.subscription-wallet) .subscription-wallet b {
  font-size: 28px !important;
  line-height: 1 !important;
}

html[data-theme] body:has(.subscription-wallet) .plan-card {
  padding: 24px !important;
  background: var(--ui-surface) !important;
}

html[data-theme] body:has(.subscription-wallet) .plan-card.featured {
  border-color: rgba(216,172,84,.7) !important;
  background: var(--ui-surface) !important;
  box-shadow: inset 0 2px 0 var(--ui-gold) !important;
}

html[data-theme] body:has(.subscription-wallet) .app.app-portal .plan-card .plan-button {
  --lz-btn-bg: var(--ui-gold) !important;
  --lz-btn-fg: var(--ui-gold-ink) !important;
  --control-primary: var(--ui-gold) !important;
  border-color: var(--ui-gold) !important;
  background: var(--ui-gold) !important;
  background-image: none !important;
  color: var(--ui-gold-ink) !important;
  -webkit-text-fill-color: var(--ui-gold-ink) !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.subscription-wallet) .plan-card li::before {
  color: var(--ui-gold) !important;
}

/* Tutorial */
html[data-theme] body:has(.tutorial-reference-page) .tutorial-reference-block {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.tutorial-reference-page) .tutorial-reference-block > h2 {
  margin-bottom: 22px !important;
}

html[data-theme] body:has(.tutorial-reference-page) .tutorial-reference-grid {
  gap: 0 !important;
  border-block: 1px solid var(--ui-line,rgba(226,196,143,.14));
}

html[data-theme] body:has(.tutorial-reference-page) .tutorial-reference-card {
  position: relative;
  border: 0 !important;
  border-right: 1px solid var(--ui-line,rgba(226,196,143,.14)) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.tutorial-reference-page) .tutorial-reference-card:last-child {
  border-right: 0 !important;
}

html[data-theme] body:has(.tutorial-reference-page) .tutorial-step-index {
  position: absolute;
  top: 16px;
  right: 18px;
  color: #d8ac54;
  font: 700 12px/1 ui-monospace,monospace;
  letter-spacing: 0;
}

@media (max-width: 760px) {
  html[data-theme] body .app.app-member-shell {
    padding-bottom: calc(92px + env(safe-area-inset-bottom)) !important;
    scroll-padding-bottom: calc(96px + env(safe-area-inset-bottom));
  }

  html[data-theme] body .app.app-member-shell:not(.app-home-shell) {
    padding-top: calc(64px + env(safe-area-inset-top)) !important;
  }

  html[data-theme] body .app.app-dashboard-shell {
    padding-top: calc(84px + env(safe-area-inset-top)) !important;
  }

  html[data-theme] body:has(.app-dashboard-shell) .app.app-dashboard-shell.app-member-shell {
    padding-top: calc(84px + env(safe-area-inset-top)) !important;
  }

  html[data-theme] body .app.app-member-shell > :where(.mobile-floating-actions,.mobile-home-float,.mobile-theme-toggle) {
    display: none !important;
  }

  html[data-theme] body .app.app-member-shell > .mobile-utility-bar {
    position: fixed;
    z-index: 1260;
    top: calc(8px + env(safe-area-inset-top));
    left: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 42px;
    padding: 4px 6px 4px 12px;
    border: 1px solid rgba(226,196,143,.14);
    border-radius: 8px;
    background: rgba(16,14,12,.82);
    box-shadow: 0 8px 24px rgba(0,0,0,.16);
    backdrop-filter: blur(16px) saturate(125%);
    -webkit-backdrop-filter: blur(16px) saturate(125%);
  }

  html[data-theme="light"] body .app.app-member-shell > .mobile-utility-bar {
    border-color: rgba(38,32,23,.12);
    background: rgba(255,255,255,.9);
    box-shadow: 0 8px 24px rgba(33,28,20,.08);
  }

  html[data-theme="light"] body .app.app-member-shell .mobile-utility-brand {
    color: #1f1d1a !important;
    -webkit-text-fill-color: #1f1d1a !important;
  }

  html[data-theme="light"] body .app.app-member-shell > .mobile-bottom-nav {
    border-color: rgba(38,32,23,.12) !important;
    background: rgba(255,255,255,.94) !important;
    box-shadow: 0 -8px 24px rgba(33,28,20,.08) !important;
  }

  html[data-theme="light"] body .app.app-member-shell > .mobile-bottom-nav a {
    color: #625d56 !important;
    -webkit-text-fill-color: #625d56 !important;
  }

  html[data-theme="light"] body .app.app-member-shell > .mobile-bottom-nav a.active {
    color: #fffaf2 !important;
    -webkit-text-fill-color: #fffaf2 !important;
    background: #2d2923 !important;
  }

  html[data-theme] body .app.app-member-shell .mobile-utility-brand {
    color: var(--ui-text,#f5f0e8) !important;
    font: 800 13px/1 ui-monospace,monospace;
    text-decoration: none;
  }

  html[data-theme] body .app.app-member-shell .mobile-utility-tools {
    display: flex;
    align-items: center;
    gap: 2px;
  }

  html[data-theme] body .app.app-member-shell .mobile-utility-tools .vip-radar-nav-entry {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 8px;
    border-radius: 6px;
    color: var(--ui-text, #f5f0e8);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
  }

  .mobile-utility-tools .vip-radar-nav-entry .nav-item-icon {
    display: none;
  }

  .mobile-utility-tools .vip-radar-nav-entry[aria-current="page"] {
    background: color-mix(in srgb, currentColor 12%, transparent);
  }

  html[data-theme] body .app.app-member-shell .mobile-utility-bar .theme-toggle,
  html[data-theme] body .app.app-member-shell .mobile-utility-bar .mobile-nav-alert,
  html[data-theme] body .app.app-member-shell .mobile-utility-bar .alert-button {
    position: relative !important;
    inset: auto !important;
    width: 34px !important;
    height: 34px !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html[data-theme] body .app.app-member-shell .mobile-utility-bar .mobile-nav-alert.empty {
    display: block !important;
  }

  html[data-theme] body .app.app-member-shell .mobile-utility-bar .alert-popover {
    position: fixed !important;
    top: calc(58px + env(safe-area-inset-top)) !important;
    right: 10px !important;
    left: 10px !important;
    width: auto !important;
    max-height: min(70vh,560px) !important;
  }

  html[data-theme] body .app.app-dashboard-shell .dashboard-terminal-shell {
    gap: 8px !important;
  }

  html[data-theme] body .app.app-dashboard-shell .dashboard-command-bar {
    padding: 12px !important;
  }

  html[data-theme] body .app.app-dashboard-shell .dashboard-title-block h1 {
    font-size: 25px !important;
  }

  html[data-theme] body .app.app-dashboard-shell :where(.score-detail-stack,.detail-panel) {
    margin-bottom: 8px !important;
  }

  html[data-theme] body .app.app-radar-shell .radar-hero {
    grid-template-columns: minmax(0,1fr) !important;
    gap: 12px !important;
    padding: 18px 14px !important;
  }

  html[data-theme] body .app.app-radar-shell .radar-scan-toast {
    inset: auto 12px calc(82px + env(safe-area-inset-bottom, 0px)) auto !important;
    grid-column: auto !important;
    width: min(220px, calc(100vw - 24px)) !important;
  }

  html[data-theme] body .app.app-community-shell .community-market-shell {
    display: block !important;
  }

  html[data-theme] body .app.app-community-shell :where(.community-left-rail,.community-chat-panel,.community-layout-resizer) {
    display: none !important;
  }

  html[data-theme] body:has(.app-community-shell) .app.app-community-shell .community-market-shell > :where(.community-left-rail,.community-chat-panel,.community-layout-resizer) {
    display: none !important;
  }

  html[data-theme] body .app.app-community-shell .community-main-tabs {
    display: flex !important;
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    gap: 4px !important;
    padding-right: 28px !important;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg,#000 0,#000 calc(100% - 28px),transparent 100%);
    mask-image: linear-gradient(90deg,#000 0,#000 calc(100% - 28px),transparent 100%);
  }

  html[data-theme] body .app.app-community-shell .community-main-tabs::-webkit-scrollbar {
    display: none;
  }

  html[data-theme] body .app.app-community-shell .community-main-tabs > * {
    flex: 0 0 auto !important;
  }

  html[data-theme] body .app.app-profile-shell .member-section-nav {
    display: grid !important;
    grid-template-columns: repeat(5,minmax(0,1fr)) !important;
    gap: 4px !important;
    overflow: visible !important;
    padding: 10px !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }

  html[data-theme] body .app.app-profile-shell .member-section-nav > * {
    min-width: 0 !important;
    padding: 0 4px !important;
    justify-content: center !important;
    font-size: 13px !important;
  }

  html[data-theme] body .app.app-prediction-shell .prediction-hero {
    padding: 18px !important;
  }

  html[data-theme] body .app.app-prediction-shell .prediction-main-grid,
  html[data-theme] body .app.app-prediction-shell .prediction-content-grid {
    grid-template-columns: minmax(0,1fr) !important;
  }

  html[data-theme] body .app.app-prediction-shell .prediction-score-ring {
    width: 154px !important;
    height: 154px !important;
  }

  html[data-theme] body .app.app-prediction-shell .prediction-stat-grid,
  html[data-theme] body .app.app-prediction-shell .prediction-winrate-list {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  }

  html[data-theme] body .app.app-prediction-shell .prediction-metrics {
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
    gap: 6px !important;
  }

  html[data-theme] body .app.app-prediction-shell .prediction-metrics > div {
    min-width: 0;
    padding: 11px 9px !important;
  }

  html[data-theme] body .app.app-prediction-shell .prediction-metrics b {
    font-size: 16px !important;
    overflow-wrap: anywhere;
  }

  html[data-theme] body .app.app-profile-shell .member-overview.is-subpage {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) auto !important;
    gap: 12px !important;
    min-height: 0 !important;
    height: 80px !important;
    max-height: 80px !important;
    padding: 12px 14px !important;
    overflow: hidden !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview.is-subpage::before {
    display: none !important;
  }

  html[data-theme] body .app.app-profile-shell .member-overview.is-subpage .member-overview-person {
    display: grid !important;
    grid-template-columns: 48px minmax(0,1fr) !important;
    gap: 10px !important;
    align-items: center !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview.is-subpage .member-overview-person {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  html[data-theme] body .app.app-profile-shell .member-overview.is-subpage .member-overview-person .avatar-badge.large {
    width: 48px !important;
    height: 48px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview.is-subpage .member-overview-person,
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview.is-subpage .member-overview-avatar,
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview.is-subpage .member-overview-person .avatar-badge.large,
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview.is-subpage .member-overview-person .avatar-badge.large img {
    min-height: 0 !important;
    width: 48px !important;
    height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview.is-subpage .member-overview-person {
    width: auto !important;
    max-width: none !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview.is-subpage .member-overview-id {
    min-width: 0 !important;
    margin: 0 !important;
  }

  html[data-theme] body .app.app-profile-shell .member-overview.is-subpage .member-overview-id h2 {
    font-size: 21px !important;
  }

  html[data-theme] body .app.app-profile-shell .member-overview.is-subpage :where(.member-overview-level,.member-overview-signs) {
    display: none !important;
  }

  html[data-theme] body .app.app-profile-shell .member-overview.is-subpage .member-overview-credit {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    align-self: center !important;
    width: 62px !important;
    max-width: 62px !important;
    min-width: 62px !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html[data-theme] body .app.app-profile-shell .member-overview.is-subpage .member-overview-credit::before,
  html[data-theme] body .app.app-profile-shell .member-overview.is-subpage .member-overview-credit :where(span,small) {
    display: none !important;
  }

  html[data-theme] body .app.app-profile-shell .member-overview.is-subpage .member-overview-credit b {
    color: var(--ui-gold) !important;
    font-size: 27px !important;
    line-height: 1 !important;
  }

  html[data-theme] body .app.app-profile-shell .point-recharge-steps {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  html[data-theme] body .app.app-profile-shell .point-recharge-steps li:nth-child(2) {
    border-right: 0;
  }

  html[data-theme] body .app.app-profile-shell .point-recharge-steps li:nth-child(-n+2) {
    border-bottom: 1px solid var(--ui-line-soft);
  }

  html[data-theme] body .app.app-profile-shell .point-plan-grid article {
    border-right: 0 !important;
    border-bottom: 1px solid var(--ui-line-soft) !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-section.points-section .point-plan-grid article {
    border-right: 0 !important;
    border-bottom: 1px solid var(--ui-line-soft) !important;
  }

  html[data-theme] body .app.app-profile-shell .point-plan-grid article:last-child {
    border-bottom: 0 !important;
  }

  html[data-theme] body:has(.subscription-wallet) .app.app-portal > .page-head {
    padding: 18px !important;
  }

  html[data-theme] body:has(.subscription-wallet) .subscription-wallet {
    align-items: flex-start !important;
    gap: 10px !important;
  }

  html[data-theme] body:has(.subscription-wallet) .subscription-wallet > div {
    display: grid;
    gap: 4px;
  }

  html[data-theme] body:has(.subscription-wallet) .plan-card {
    padding: 20px 16px !important;
  }

  html[data-theme] body:has(.tutorial-reference-page) .tutorial-reference-grid {
    grid-template-columns: minmax(0,1fr) !important;
  }

  html[data-theme] body:has(.tutorial-reference-page) .tutorial-reference-card {
    border-right: 0 !important;
    border-bottom: 1px solid var(--ui-line,rgba(226,196,143,.14)) !important;
  }

  html[data-theme] body:has(.tutorial-reference-page) .tutorial-reference-card:last-child {
    border-bottom: 0 !important;
  }
}

/* Profile workspace: integrated navigation, content and membership rail. */
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell {
  width: min(1560px, calc(100% - 32px)) !important;
  max-width: 1560px !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-center-layout {
  width: 100% !important;
  max-width: 1560px !important;
  margin-inline: auto !important;
  grid-template-columns: 220px minmax(0, 1fr) !important;
  gap: 16px !important;
  align-items: start !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-sidebar {
  position: sticky !important;
  top: 82px !important;
  display: grid !important;
  grid-template-rows: auto auto auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
  border: 1px solid var(--ui-line) !important;
  border-radius: 8px !important;
  background: var(--ui-surface) !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-sidebar-profile {
  display: grid !important;
  gap: 0 !important;
  padding: 0 !important;
  border-bottom: 1px solid var(--ui-line-soft) !important;
  background: transparent !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-sidebar-profile::after {
  content: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-sidebar-identity {
  display: grid !important;
  grid-template-columns: 44px minmax(0, 1fr) !important;
  gap: 10px !important;
  align-items: center !important;
  min-width: 0 !important;
  padding: 14px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-sidebar-identity > div {
  min-width: 0 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-sidebar-profile .avatar-badge.large,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-sidebar-profile .avatar-badge.large img {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-sidebar-identity span,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-sidebar-honor span,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-sidebar-stats span {
  color: var(--ui-text-muted) !important;
  font-size: 10px !important;
  letter-spacing: 0 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-sidebar-identity b {
  display: block !important;
  overflow: hidden !important;
  margin-top: 3px !important;
  color: var(--ui-text) !important;
  font-size: 15px !important;
  line-height: 1.2 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-sidebar-identity small {
  display: block !important;
  overflow: hidden !important;
  margin-top: 4px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--ui-text-soft) !important;
  font-size: 10px !important;
  line-height: 1.35 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-sidebar-honor {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  min-height: 40px !important;
  padding: 0 14px 12px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-sidebar-honor b {
  color: var(--ui-gold) !important;
  font-size: 12px !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-sidebar-stats {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0 !important;
  width: 100% !important;
  border-top: 1px solid var(--ui-line-soft) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-sidebar-stats > div {
  min-height: 54px !important;
  padding: 10px 14px !important;
  border: 0 !important;
  border-right: 1px solid var(--ui-line-soft) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-sidebar-stats > div:last-child {
  border-right: 0 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-sidebar-stats b {
  display: block !important;
  margin-top: 5px !important;
  color: var(--ui-text) !important;
  font-size: 18px !important;
  line-height: 1 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-section-nav {
  display: grid !important;
  gap: 3px !important;
  padding: 10px !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-section-nav a {
  min-height: 38px !important;
  padding: 0 11px !important;
  border-radius: 6px !important;
  color: var(--ui-text-soft) !important;
  font-size: 13px !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-section-nav a.active {
  color: var(--ui-text) !important;
  background: color-mix(in srgb, var(--ui-gold) 10%, transparent) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-logout-form {
  margin: 0 !important;
  padding: 10px !important;
  border-top: 1px solid var(--ui-line-soft) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-logout-form button {
  min-height: 36px !important;
  border-radius: 6px !important;
  background: transparent !important;
  color: var(--ui-text-muted) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-center-main,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-main {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-layout {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 280px !important;
  gap: 16px !important;
  align-items: start !important;
  overflow: visible !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-main {
  display: grid !important;
  gap: 12px !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .valuescan-profile-panel {
  border-radius: 8px !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside#profile-subscription-float {
  position: sticky !important;
  inset: auto !important;
  top: 82px !important;
  z-index: 2 !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  pointer-events: auto !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-panel {
  display: block !important;
  width: 100% !important;
  max-height: none !important;
  overflow: visible !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-card.profile-subscription-card {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 232px !important;
  padding: 0 !important;
  border: 1px solid rgba(226,196,143,.25) !important;
  border-radius: 8px !important;
  background: linear-gradient(150deg, #181510, #090909 68%) !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-card.profile-subscription-card:hover,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-card.profile-subscription-card:focus-visible {
  transform: translateY(-1px) !important;
  border-color: rgba(226,196,143,.48) !important;
  box-shadow: 0 14px 34px rgba(0,0,0,.24) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-card-inner {
  display: grid !important;
  align-content: start !important;
  gap: 14px !important;
  width: 100% !important;
  height: auto !important;
  min-height: 230px !important;
  padding: 18px !important;
  border-radius: 7px !important;
  background: radial-gradient(circle at 95% 0%, rgba(216,172,84,.14), transparent 38%) !important;
  transform: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-subscription-heading {
  min-width: 0 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-kicker {
  color: rgba(232,195,118,.72) !important;
  font-size: 9px !important;
  letter-spacing: 0 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-card h3 {
  margin: 8px 0 0 !important;
  color: #f7f2e8 !important;
  font-size: 22px !important;
  line-height: 1.1 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-status {
  display: grid !important;
  gap: 3px !important;
  margin: 0 !important;
  padding: 11px 0 !important;
  border: 0 !important;
  border-block: 1px solid rgba(226,196,143,.16) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-status b {
  color: #e8c376 !important;
  font-size: 18px !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-status small,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-metrics small {
  color: rgba(247,242,232,.52) !important;
  font-size: 10px !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-metrics {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0 !important;
  border-bottom: 1px solid rgba(226,196,143,.16) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-metrics > span {
  display: grid !important;
  gap: 5px !important;
  min-height: 48px !important;
  padding: 0 10px 10px 0 !important;
  border: 0 !important;
  border-right: 1px solid rgba(226,196,143,.16) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-metrics > span:last-child {
  padding-left: 12px !important;
  border-right: 0 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-metrics b {
  color: #f7f2e8 !important;
  font-size: 16px !important;
  line-height: 1 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-card em {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 34px !important;
  margin-top: auto !important;
  padding: 0 14px !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: #d8ac54 !important;
  color: #17120b !important;
  font-size: 12px !important;
  font-style: normal !important;
  font-weight: 760 !important;
}

@media (max-width: 1180px) {
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell {
    width: min(100% - 24px, 1040px) !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-center-layout {
    grid-template-columns: 210px minmax(0, 1fr) !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas: "membership" "profile-main" !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-main {
    grid-area: profile-main !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside#profile-subscription-float {
    position: static !important;
    grid-area: membership !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-card.profile-subscription-card,
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-card-inner {
    min-height: 0 !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-card-inner {
    grid-template-columns: minmax(0, 1fr) 154px !important;
    gap: 8px 16px !important;
    padding: 16px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-subscription-heading,
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-subscription-status {
    grid-column: 1 !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-subscription-metrics {
    grid-column: 2 !important;
    grid-row: 1 / span 2 !important;
    align-self: stretch !important;
    border: 0 !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-subscription-card em {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 900px) {
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell {
    width: min(100% - 20px, 760px) !important;
    max-width: 760px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-center-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-sidebar {
    position: static !important;
    width: 100% !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-sidebar-profile {
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-sidebar-identity {
    grid-column: 1 !important;
    padding: 12px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-sidebar-honor,
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-sidebar-stats > div:last-child,
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-logout-form {
    display: none !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-sidebar-stats {
    grid-column: 2 !important;
    grid-template-columns: 1fr !important;
    width: auto !important;
    border: 0 !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-sidebar-stats > div {
    min-width: 72px !important;
    min-height: 0 !important;
    padding: 10px 14px !important;
    border: 0 !important;
    border-left: 1px solid var(--ui-line-soft) !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-section-nav {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 3px !important;
    overflow: visible !important;
    padding: 7px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-section-nav a {
    min-width: 0 !important;
    padding: 0 4px !important;
    justify-content: center !important;
    font-size: 12px !important;
    white-space: nowrap !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside#profile-subscription-float {
    display: block !important;
  }
}

@media (max-width: 760px) {
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell {
    width: 100% !important;
    padding-inline: 10px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-layout {
    gap: 10px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-card-inner {
    grid-template-columns: minmax(0, 1fr) 112px !important;
    grid-template-rows: auto auto auto !important;
    gap: 6px 12px !important;
    padding: 14px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-card h3 {
    margin-top: 5px !important;
    font-size: 19px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-status {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: baseline !important;
    gap: 8px !important;
    padding: 0 !important;
    border: 0 !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-status b {
    font-size: 16px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-status small {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-metrics > span {
    min-height: 0 !important;
    padding-right: 6px !important;
    padding-bottom: 4px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-metrics > span:last-child {
    padding-left: 8px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-metrics b {
    font-size: 14px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-card em {
    min-height: 32px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .valuescan-profile-panel {
    padding: 18px 14px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-list {
    padding-left: 0 !important;
    border-left: 0 !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-card.profile-subscription-card .profile-subscription-card-inner {
    grid-template-columns: minmax(0, 1fr) 112px !important;
    grid-template-rows: auto auto auto !important;
    gap: 6px 12px !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 14px !important;
    transform: none !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-card.profile-subscription-card h3 {
    margin-top: 4px !important;
    font-size: 18px !important;
    line-height: 1.1 !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-card.profile-subscription-card .profile-subscription-status b {
    color: #e8c376 !important;
    font-size: 16px !important;
    line-height: 1.1 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-card em {
    min-height: 30px !important;
  }
}

html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .member-section-nav a.active {
  color: #241d12 !important;
  -webkit-text-fill-color: #241d12 !important;
  background: rgba(216,172,84,.18) !important;
  box-shadow: inset 2px 0 0 #b88225 !important;
}

html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-card.profile-subscription-card {
  border-color: rgba(184,130,37,.38) !important;
  background: linear-gradient(150deg, #1b1711, #090909 68%) !important;
}

html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-card.profile-subscription-card .profile-subscription-card-inner {
  background:
    radial-gradient(circle at 95% 0%, rgba(216,172,84,.14), transparent 38%),
    linear-gradient(150deg, #181510, #090909 68%) !important;
}

html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-card.profile-subscription-card h3,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-card.profile-subscription-card .profile-subscription-metrics b {
  color: #f7f2e8 !important;
  -webkit-text-fill-color: #f7f2e8 !important;
}

html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-card.profile-subscription-card .profile-subscription-status b {
  color: #e8c376 !important;
  -webkit-text-fill-color: #e8c376 !important;
}

html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-card.profile-subscription-card :where(.profile-subscription-kicker,.profile-subscription-status small,.profile-subscription-metrics small) {
  color: rgba(247,242,232,.56) !important;
  -webkit-text-fill-color: rgba(247,242,232,.56) !important;
}

html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-card.profile-subscription-card em {
  background: #d8ac54 !important;
  color: #17120b !important;
  -webkit-text-fill-color: #17120b !important;
}

html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-primary span,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-records span {
  color: #756d62 !important;
  -webkit-text-fill-color: #756d62 !important;
}

html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-primary b,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-records b {
  color: #27221c !important;
  -webkit-text-fill-color: #27221c !important;
}

html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-primary small {
  color: #625b52 !important;
  -webkit-text-fill-color: #625b52 !important;
}

/* Profile information hierarchy: keep identity data in the overview only. */
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-center-layout {
  grid-template-columns: 190px minmax(0, 1fr) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-sidebar {
  grid-template-rows: auto auto !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-section-nav {
  padding: 12px 10px !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview-signs {
  width: fit-content !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-layout {
  display: block !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0 28px !important;
  width: 100% !important;
  padding-left: 0 !important;
  border-left: 0 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-list > div {
  grid-template-columns: 92px minmax(0, 1fr) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-card.profile-subscription-card,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-card.profile-subscription-card .profile-subscription-card-inner {
  height: auto !important;
  min-height: 0 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-card.profile-subscription-card .profile-subscription-card-inner {
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: auto auto auto !important;
  gap: 12px !important;
  padding: 18px !important;
}

@media (max-width: 1180px) {
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-center-layout {
    grid-template-columns: 190px minmax(0, 1fr) !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-card.profile-subscription-card .profile-subscription-card-inner {
    grid-template-columns: minmax(0, 1fr) 126px !important;
    grid-template-rows: auto auto !important;
    gap: 4px 14px !important;
    padding: 14px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-subscription-heading {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-subscription-status {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-subscription-card em {
    grid-column: 2 !important;
    grid-row: 1 / span 2 !important;
    align-self: center !important;
  }
}

@media (max-width: 900px) {
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-center-layout {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 760px) {
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-list {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0 !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-list > div {
    grid-template-columns: 82px minmax(0, 1fr) !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-card.profile-subscription-card .profile-subscription-card-inner {
    grid-template-columns: minmax(0, 1fr) 112px !important;
    grid-template-rows: auto auto !important;
    gap: 3px 10px !important;
    padding: 12px 14px !important;
  }
}

/* Institutional terminal: radar status footer. */
html[data-theme] body:has(.app-radar-shell) .site-legal-footer.radar-ops-footer {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto auto !important;
  align-items: center !important;
  gap: 18px !important;
  width: calc(100vw - 24px) !important;
  max-width: none !important;
  min-height: 52px !important;
  margin: 8px auto 12px !important;
  padding: 0 14px !important;
  border: 1px solid var(--ui-line) !important;
  border-top: 2px solid color-mix(in srgb, var(--ui-gold) 78%, transparent) !important;
  border-radius: 6px !important;
  background: var(--ui-surface-subtle) !important;
  box-shadow: none !important;
  color: var(--ui-text-muted) !important;
  font-size: 10px !important;
  line-height: 1.35 !important;
}

html[data-theme] body:has(.app-radar-shell) .radar-ops-risk {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 10px !important;
  min-width: 0 !important;
}

html[data-theme] body:has(.app-radar-shell) .radar-ops-risk span {
  color: var(--ui-gold) !important;
  font: 800 9px/1 ui-monospace, monospace !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
}

html[data-theme] body:has(.app-radar-shell) .radar-ops-risk b {
  overflow: hidden !important;
  color: var(--ui-text-muted) !important;
  font-size: 10px !important;
  font-weight: 620 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html[data-theme] body:has(.app-radar-shell) .radar-ops-state {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  min-height: 28px !important;
  padding-inline: 11px !important;
  border-inline: 1px solid var(--ui-line-soft) !important;
  white-space: nowrap !important;
}

html[data-theme] body:has(.app-radar-shell) .radar-ops-state i {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: var(--ui-positive) !important;
  box-shadow: 0 0 10px color-mix(in srgb, var(--ui-positive) 44%, transparent) !important;
}

html[data-theme] body:has(.app-radar-shell) .radar-ops-state b {
  color: var(--ui-text) !important;
  font: 800 9px/1 ui-monospace, monospace !important;
}

html[data-theme] body:has(.app-radar-shell) .radar-ops-state span {
  color: var(--ui-text-muted) !important;
  font: 700 9px/1 ui-monospace, monospace !important;
}

html[data-theme] body:has(.app-radar-shell) .radar-ops-footer nav {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 11px !important;
  min-width: 0 !important;
}

html[data-theme] body:has(.app-radar-shell) .radar-ops-footer a {
  color: var(--ui-text-soft) !important;
  font-size: 10px !important;
  font-weight: 680 !important;
  white-space: nowrap !important;
}

html[data-theme] body:has(.app-radar-shell) .radar-ops-footer a:hover,
html[data-theme] body:has(.app-radar-shell) .radar-ops-footer a:focus-visible {
  color: var(--ui-gold) !important;
}

/* Institutional terminal: member profile modules. */
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview {
  min-height: 168px !important;
  padding: 20px 24px !important;
  border: 1px solid var(--ui-line) !important;
  border-radius: 8px !important;
  background:
    linear-gradient(100deg, color-mix(in srgb, var(--ui-gold) 10%, transparent), transparent 42%),
    var(--ui-surface) !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview::before {
  content: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview-signs {
  border-top: 1px solid var(--ui-line-soft) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview-signs span {
  border-left-color: var(--ui-line-soft) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview-signs b {
  color: var(--ui-text-muted) !important;
  font: 700 10px/1 ui-monospace, monospace !important;
  letter-spacing: 0 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview-signs em {
  color: var(--ui-text) !important;
  font-size: 17px !important;
  font-style: normal !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview-credit {
  min-height: 118px !important;
  border: 1px solid rgba(255,234,188,.34) !important;
  border-radius: 8px !important;
  background:
    linear-gradient(112deg, rgba(255,255,255,.18) 0 24%, transparent 24%),
    linear-gradient(135deg, #e8c574, #c98e31) !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-sidebar,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .valuescan-profile-panel {
  border: 1px solid var(--ui-line) !important;
  border-radius: 6px !important;
  background: var(--ui-surface) !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-section-nav a {
  min-height: 38px !important;
  border-radius: 4px !important;
  color: var(--ui-text-soft) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-section-nav a.active {
  color: var(--ui-text) !important;
  background: color-mix(in srgb, var(--ui-gold) 11%, transparent) !important;
  box-shadow: inset 2px 0 0 var(--ui-gold) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .valuescan-basic-panel,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-panel,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .community-credit-panel,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .account-security-panel {
  position: relative !important;
  overflow: hidden !important;
  padding: 0 !important;
  background: var(--ui-surface) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .valuescan-profile-panel::before,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-panel::before {
  content: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .valuescan-panel-title {
  display: flex !important;
  align-items: center !important;
  min-height: 58px !important;
  margin: 0 !important;
  padding: 12px 18px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--ui-line-soft) !important;
  border-radius: 0 !important;
  background: var(--ui-surface-subtle) !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .valuescan-panel-icon {
  display: inline-grid !important;
  place-items: center !important;
  width: 22px !important;
  height: 22px !important;
  border: 1px solid color-mix(in srgb, var(--ui-gold) 36%, transparent) !important;
  border-radius: 4px !important;
  background: transparent !important;
  color: var(--ui-gold) !important;
  font-size: 11px !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .valuescan-panel-title h2 {
  color: var(--ui-text) !important;
  font-size: 20px !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .valuescan-panel-title p {
  color: var(--ui-text-muted) !important;
  font-size: 11px !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-panel .valuescan-panel-title::after,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .community-credit-panel .valuescan-panel-title::after,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .account-security-panel .valuescan-panel-title::after {
  margin-left: auto !important;
  color: var(--ui-text-muted) !important;
  font: 800 9px/1 ui-monospace, monospace !important;
  letter-spacing: 0 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-panel .valuescan-panel-title::after {
  content: "RESEARCH FILE" !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .community-credit-panel .valuescan-panel-title::after {
  content: "CREDIT MATRIX" !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .account-security-panel .valuescan-panel-title::after {
  content: "SECURITY STATUS" !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-layout {
  padding: 0 18px !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-list {
  gap: 0 24px !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-list > div {
  min-height: 68px !important;
  padding: 12px 0 !important;
  border-bottom: 1px solid var(--ui-line-soft) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-list span {
  color: var(--ui-gold) !important;
  font: 700 10px/1.25 ui-monospace, monospace !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-list b {
  color: var(--ui-text) !important;
  font-size: 13px !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-list small {
  color: var(--ui-text-muted) !important;
  font-size: 10px !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-records {
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 0 18px !important;
  border-top: 1px solid var(--ui-line-soft) !important;
  color: var(--ui-text-muted) !important;
  font: 650 10px/1.3 ui-monospace, monospace !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-records b {
  color: var(--ui-text-soft) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-report,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-almanac {
  margin: 0 !important;
  padding: 18px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-almanac {
  border-top: 1px solid var(--ui-line) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-stage-head,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-head {
  min-height: 38px !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid var(--ui-line-soft) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-stage-head span,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-stage-head time,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-head span,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-head > b {
  color: var(--ui-text-muted) !important;
  font: 700 10px/1.2 ui-monospace, monospace !important;
  letter-spacing: 0 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-hero {
  min-height: 150px !important;
  margin: 14px 0 0 !important;
  padding: 22px 24px !important;
  border: 1px solid var(--ui-line) !important;
  border-left: 2px solid var(--ui-gold) !important;
  border-radius: 4px !important;
  background:
    linear-gradient(105deg, color-mix(in srgb, var(--ui-gold) 12%, transparent), transparent 48%),
    var(--ui-surface-subtle) !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-hero h3 {
  color: var(--ui-text) !important;
  font-size: clamp(30px, 3vw, 46px) !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-hero strong {
  color: var(--ui-gold) !important;
  font-size: clamp(48px, 5vw, 70px) !important;
  text-shadow: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-guidance {
  display: grid !important;
  grid-template-columns: 116px minmax(180px, .8fr) minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 1px solid var(--ui-line-soft) !important;
  background: transparent !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-guidance > * {
  min-width: 0 !important;
  padding: 13px 14px !important;
  border-right: 1px solid var(--ui-line-soft) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-guidance > *:last-child {
  border-right: 0 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-guidance span,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-rails > div > span {
  color: var(--ui-gold) !important;
  font: 700 10px/1.25 ui-monospace, monospace !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-guidance b,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-guidance small {
  color: var(--ui-text-soft) !important;
  font-size: 11px !important;
  line-height: 1.55 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-rails {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0 !important;
  border-bottom: 1px solid var(--ui-line-soft) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-rails > div {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-height: 48px !important;
  padding: 10px 14px !important;
  border-right: 1px solid var(--ui-line-soft) !important;
  background: transparent !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-rails > div:last-child {
  border-right: 0 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-rails > div > span:not(:first-child),
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-tags em {
  padding: 3px 6px !important;
  border: 1px solid var(--ui-line-soft) !important;
  border-radius: 3px !important;
  background: transparent !important;
  color: var(--ui-text-soft) !important;
  font-size: 10px !important;
  font-style: normal !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-tags {
  display: flex !important;
  gap: 6px !important;
  padding: 10px 14px 0 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-layout {
  gap: 0 !important;
  margin-top: 14px !important;
  border: 1px solid var(--ui-line) !important;
  border-radius: 4px !important;
  overflow: hidden !important;
  background: var(--ui-surface-subtle) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-month,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-result,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reading {
  border: 0 !important;
  border-right: 1px solid var(--ui-line-soft) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reading {
  border-right: 0 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reel-frame {
  border: 0 !important;
  border-top: 1px solid var(--ui-line-soft) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-day {
  border: 1px solid transparent !important;
  border-radius: 3px !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-day.is-active {
  border-color: color-mix(in srgb, var(--ui-gold) 44%, transparent) !important;
  background: color-mix(in srgb, var(--ui-gold) 9%, transparent) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-gate {
  margin: 18px !important;
  padding: 20px !important;
  border: 1px solid var(--ui-line) !important;
  border-left: 2px solid var(--ui-gold) !important;
  border-radius: 4px !important;
  background: var(--ui-surface-subtle) !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .community-credit-board {
  display: grid !important;
  grid-template-columns: 180px minmax(0, 1fr) !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 18px !important;
  border: 0 !important;
  background: transparent !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .community-credit-seal {
  display: grid !important;
  align-content: center !important;
  min-height: 140px !important;
  padding: 0 18px 0 0 !important;
  border: 0 !important;
  border-right: 1px solid var(--ui-line-soft) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .community-credit-main {
  display: grid !important;
  gap: 12px !important;
  padding-left: 18px !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .community-credit-metrics {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0 !important;
  border-block: 1px solid var(--ui-line-soft) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .community-credit-metrics > div {
  min-height: 64px !important;
  padding: 12px !important;
  border: 0 !important;
  border-right: 1px solid var(--ui-line-soft) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .community-credit-metrics > div:last-child {
  border-right: 0 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .community-credit-note {
  margin: 0 !important;
  padding: 12px 18px !important;
  border-top: 1px solid var(--ui-line-soft) !important;
  color: var(--ui-text-muted) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .account-security-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 0 !important;
  padding: 0 18px 12px !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .account-security-item {
  display: grid !important;
  grid-template-columns: 120px minmax(140px, .65fr) minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 14px !important;
  min-height: 62px !important;
  padding: 10px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--ui-line-soft) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .account-security-item span {
  color: var(--ui-gold) !important;
  font: 700 10px/1.2 ui-monospace, monospace !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .account-security-item b {
  color: var(--ui-text) !important;
  font-size: 13px !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .account-security-item small {
  color: var(--ui-text-muted) !important;
  font-size: 10px !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .account-security-item a,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .account-security-item em {
  justify-self: end !important;
  min-height: 28px !important;
  padding: 0 9px !important;
  border: 1px solid var(--ui-line) !important;
  border-radius: 4px !important;
  background: transparent !important;
  color: var(--ui-text-soft) !important;
  font-size: 10px !important;
  font-style: normal !important;
  line-height: 26px !important;
  text-decoration: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-card.profile-subscription-card {
  border-radius: 6px !important;
  background: linear-gradient(150deg, #17140f, #090909 70%) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-card.profile-subscription-card .profile-subscription-card-inner {
  gap: 12px !important;
  padding: 18px !important;
  border-radius: 5px !important;
  background: transparent !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-status {
  border-block-color: rgba(226,196,143,.16) !important;
  background: transparent !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside .profile-subscription-card em {
  border-radius: 4px !important;
  box-shadow: none !important;
}

html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .member-overview,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .member-sidebar,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .valuescan-profile-panel,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-panel,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .community-credit-panel,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .account-security-panel {
  border-color: var(--ui-line) !important;
  background: var(--ui-surface) !important;
  color: var(--ui-text) !important;
}

html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .valuescan-panel-title,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-hero,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-layout,
html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-gate {
  background: var(--ui-surface-subtle) !important;
}

html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell :where(.valuescan-panel-title h2,.profile-account-list b,.wealth-month-hero h3,.wealth-month-guidance b,.wealth-month-guidance small,.community-credit-panel b,.account-security-item b) {
  color: var(--ui-text) !important;
  -webkit-text-fill-color: var(--ui-text) !important;
}

html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell :where(.valuescan-panel-title p,.profile-account-list small,.profile-account-records,.wealth-stage-head span,.wealth-stage-head time,.wealth-daily-head span,.wealth-daily-head> b,.community-credit-note,.account-security-item small) {
  color: var(--ui-text-muted) !important;
  -webkit-text-fill-color: var(--ui-text-muted) !important;
}

html[data-theme="light"] body:has(.app-profile-shell) .site-legal-footer,
html[data-theme="light"] body:has(.app-profile-shell) .site-legal-footer a {
  color: #5b4b39 !important;
}

@media (max-width: 900px) {
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-layout {
    grid-template-areas: "membership" "profile-main" !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-aside#profile-subscription-float {
    grid-area: membership !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-premium-main {
    grid-area: profile-main !important;
  }
}

@media (max-width: 760px) {
  html[data-theme] body:has(.app-radar-shell) .site-legal-footer.radar-ops-footer {
    grid-template-columns: auto minmax(0, 1fr) !important;
    gap: 8px 12px !important;
    min-height: 72px !important;
    margin: 8px -8px calc(82px + env(safe-area-inset-bottom)) !important;
    width: calc(100% + 16px) !important;
    max-width: calc(100% + 16px) !important;
    padding: 9px 11px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  html[data-theme] body:has(.app-radar-shell) .site-legal-footer.radar-ops-footer > * {
    min-width: 0 !important;
  }

  html[data-theme] body:has(.app-radar-shell) .radar-ops-risk {
    grid-column: 1 / -1 !important;
  }

  html[data-theme] body:has(.app-radar-shell) .radar-ops-state {
    grid-column: 1 !important;
    min-height: 24px !important;
    padding-inline: 0 10px !important;
    border-left: 0 !important;
  }

  html[data-theme] body:has(.app-radar-shell) .radar-ops-footer nav {
    grid-column: 2 !important;
    justify-content: flex-start !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none !important;
  }

  html[data-theme] body:has(.app-radar-shell) .radar-ops-footer nav::-webkit-scrollbar {
    display: none !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview {
    grid-template-columns: minmax(0, 1fr) 96px !important;
    grid-template-areas: "person credit" !important;
    gap: 12px !important;
    min-height: 0 !important;
    padding: 14px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview-person {
    grid-area: person !important;
    grid-template-columns: 54px minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview-person .avatar-badge.large,
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview-person .avatar-badge.large img {
    width: 54px !important;
    height: 54px !important;
    min-width: 54px !important;
    min-height: 54px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview-id h2 {
    font-size: 21px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview-signs {
    gap: 10px !important;
    margin-top: 10px !important;
    padding-top: 9px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview-signs span {
    padding-left: 10px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview-credit {
    grid-area: credit !important;
    width: 96px !important;
    min-width: 96px !important;
    min-height: 82px !important;
    padding: 10px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview-credit span {
    font-size: 8px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview-credit b {
    font-size: 28px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-overview-credit small {
    font-size: 9px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .valuescan-panel-title {
    min-height: 54px !important;
    padding: 10px 12px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .valuescan-panel-title h2 {
    font-size: 18px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .valuescan-panel-title::after {
    display: none !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-layout,
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .account-security-grid {
    padding-inline: 12px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-list > div {
    grid-template-columns: 82px minmax(0, 1fr) !important;
    min-height: 62px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-records {
    align-items: flex-start !important;
    flex-direction: column !important;
    gap: 4px !important;
    padding: 10px 12px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-report,
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-almanac {
    padding: 14px 12px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-hero {
    min-height: 132px !important;
    padding: 16px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-hero h3 {
    font-size: 30px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-hero strong {
    font-size: 48px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-guidance {
    grid-template-columns: 88px minmax(0, 1fr) !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-guidance > * {
    padding: 10px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-guidance > *:nth-child(n+3) {
    grid-column: 1 / -1 !important;
    border-top: 1px solid var(--ui-line-soft) !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-rails {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-month-rails > div {
    border-right: 0 !important;
    border-bottom: 1px solid var(--ui-line-soft) !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-layout {
    display: block !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-month,
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-result,
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reading {
    border-right: 0 !important;
    border-bottom: 1px solid var(--ui-line-soft) !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .community-credit-board {
    grid-template-columns: minmax(0, 1fr) !important;
    padding: 12px !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .community-credit-seal {
    min-height: 88px !important;
    padding: 0 0 12px !important;
    border-right: 0 !important;
    border-bottom: 1px solid var(--ui-line-soft) !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .community-credit-main {
    padding: 12px 0 0 !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .account-security-item {
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 5px 10px !important;
    padding: 11px 0 !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .account-security-item small {
    grid-column: 1 / -1 !important;
  }

  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .account-security-item a,
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .account-security-item em {
    grid-column: 2 !important;
    grid-row: 1 / span 2 !important;
  }
}

/* Apple Pro profile refinement: gold research focus, clean headings, and a surface-based sidebar state. */
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .valuescan-panel-icon {
  display: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-section-nav a {
  position: relative !important;
  border: 1px solid transparent !important;
  border-radius: 7px !important;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-section-nav a::before,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-section-nav a.active::before {
  display: none !important;
  content: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-section-nav a.active {
  border-color: var(--ui-line-soft) !important;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--ui-text) 8%, transparent), color-mix(in srgb, var(--ui-gold) 7%, transparent)),
    color-mix(in srgb, var(--ui-surface) 88%, transparent) !important;
  box-shadow: inset 0 1px color-mix(in srgb, var(--ui-text) 11%, transparent), 0 7px 18px rgba(0,0,0,.16) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-panel {
  position: relative !important;
  overflow: hidden !important;
  border-color: color-mix(in srgb, var(--ui-gold) 30%, var(--ui-line)) !important;
  background:
    linear-gradient(112deg, color-mix(in srgb, var(--ui-gold) 19%, transparent), color-mix(in srgb, #9d6b27 7%, transparent) 28%, transparent 58%),
    linear-gradient(145deg, color-mix(in srgb, var(--ui-text) 5%, transparent), transparent 44%),
    var(--ui-surface) !important;
  box-shadow: inset 0 1px color-mix(in srgb, #fff0c2 13%, transparent), 0 22px 46px rgba(0,0,0,.20) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-panel::before {
  content: "01" !important;
  position: absolute !important;
  top: 70px !important;
  right: 32px !important;
  z-index: 0 !important;
  color: color-mix(in srgb, var(--ui-gold) 7%, transparent) !important;
  font: 820 146px/.9 ui-monospace, monospace !important;
  pointer-events: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-panel > * {
  position: relative !important;
  z-index: 1 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-panel .valuescan-panel-title {
  border-bottom-color: color-mix(in srgb, var(--ui-gold) 20%, var(--ui-line-soft)) !important;
  background: linear-gradient(90deg, color-mix(in srgb, var(--ui-gold) 9%, transparent), color-mix(in srgb, var(--ui-text) 2%, transparent) 42%, transparent) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-gate {
  grid-template-columns: minmax(0, 1fr) 270px !important;
  min-height: 198px !important;
  margin: 0 !important;
  padding: 27px 22px 21px !important;
  border-top: 0 !important;
  border-bottom: 1px solid color-mix(in srgb, var(--ui-gold) 17%, var(--ui-line-soft)) !important;
  background: transparent !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-gate::before {
  inset: 0 !important;
  background:
    linear-gradient(112deg, color-mix(in srgb, var(--ui-gold) 15%, transparent), color-mix(in srgb, #9d6b27 7%, transparent) 28%, transparent 58%),
    linear-gradient(118deg, transparent 0 45%, color-mix(in srgb, #ffe29a 7%, transparent) 45.2% 45.8%, transparent 46%) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-gate-copy > span {
  color: color-mix(in srgb, var(--ui-gold) 88%, white) !important;
  font: 790 11px/1 ui-monospace, monospace !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-gate-copy > p {
  max-width: 690px !important;
  margin-top: 24px !important;
  color: color-mix(in srgb, var(--ui-text) 95%, var(--ui-gold)) !important;
  font-size: 32px !important;
  line-height: 1.12 !important;
  font-weight: 680 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-gate-action {
  align-self: stretch !important;
  display: grid !important;
  align-content: center !important;
  justify-items: end !important;
  padding-left: 30px !important;
  border-left: 1px solid color-mix(in srgb, var(--ui-gold) 20%, var(--ui-line-soft)) !important;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--ui-gold) 6%, transparent)) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-gate-action .primary {
  min-width: 184px !important;
  min-height: 47px !important;
  border: 1px solid color-mix(in srgb, #fff1c7 42%, transparent) !important;
  border-radius: 7px !important;
  background: linear-gradient(180deg, #f7d680, #dba53c) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.55), 0 12px 30px color-mix(in srgb, #bf7e19 25%, transparent) !important;
  color: #17140e !important;
  font-size: 15px !important;
  font-weight: 760 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-gate + .wealth-fortune-dialog + .wealth-fortune-disclaimer,
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-disclaimer {
  padding: 12px 22px 15px !important;
  color: var(--ui-text-muted) !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
}

html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .member-section-nav a.active {
  border-color: rgba(184,130,37,.22) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.74), rgba(216,172,84,.14)) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.92), 0 6px 16px rgba(105,74,28,.08) !important;
  color: #241d12 !important;
  -webkit-text-fill-color: #241d12 !important;
}

html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-panel {
  border-color: rgba(184,130,37,.35) !important;
  background:
    linear-gradient(112deg, rgba(216,172,84,.20), rgba(184,130,37,.07) 28%, transparent 58%),
    linear-gradient(145deg, rgba(255,255,255,.90), transparent 44%),
    var(--ui-surface) !important;
}

html[data-theme="light"] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-gate-copy > p {
  color: #2a2117 !important;
  -webkit-text-fill-color: #2a2117 !important;
}

@media (min-width: 900px) {
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-section-nav a { font-size: 14px !important; }
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .valuescan-panel-title h2 { font-size: 22px !important; }
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .valuescan-panel-title p { font-size: 12px !important; line-height: 1.45 !important; }
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .valuescan-panel-title::after { font-size: 10px !important; }
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-list b,
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .account-security-item b { font-size: 14px !important; }
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-list span,
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-list small,
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .account-security-item small { font-size: 11px !important; }
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-gate-copy > p { font-size: 36px !important; }
}

@media (min-width: 1680px) {
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .member-section-nav a { min-height: 44px !important; padding-inline: 14px !important; font-size: 15px !important; }
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .valuescan-panel-title { min-height: 64px !important; padding-inline: 20px !important; }
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .valuescan-panel-title h2 { font-size: 24px !important; }
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .valuescan-panel-title p { font-size: 13px !important; }
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-list b,
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .account-security-item b { font-size: 15px !important; }
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-list span,
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .profile-account-list small,
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .account-security-item small { font-size: 12px !important; }
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-gate { min-height: 220px !important; padding: 30px 26px 24px !important; }
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-gate-copy > p { font-size: 42px !important; }
}

@media (max-width: 899px) {
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-gate {
    grid-template-columns: minmax(0, 1fr) !important;
    min-height: 0 !important;
    padding: 20px 14px 16px !important;
  }
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-gate-copy > p { margin-top: 18px !important; font-size: 25px !important; }
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-gate-action { justify-items: start !important; margin-top: 20px !important; padding: 18px 0 0 !important; border-top: 1px solid color-mix(in srgb, var(--ui-gold) 20%, var(--ui-line-soft)) !important; border-left: 0 !important; }
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-fortune-gate-action .primary { min-width: 164px !important; min-height: 42px !important; font-size: 14px !important; }
}

/* Daily fortune hierarchy: metadata stays quiet, the reading carries the weight. */
html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-almanac {
  gap: 0 !important;
  padding: 0 22px 20px !important;
  border-top: 1px solid color-mix(in srgb, var(--ui-gold) 18%, var(--ui-line)) !important;
  background:
    linear-gradient(112deg, color-mix(in srgb, var(--ui-gold) 8%, transparent), transparent 42%),
    transparent !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-head {
  min-height: 118px !important;
  align-items: end !important;
  padding: 25px 0 18px !important;
  border-bottom: 1px solid var(--ui-line-soft) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-head span {
  color: color-mix(in srgb, var(--ui-gold) 84%, var(--ui-text-muted)) !important;
  font: 780 11px/1.2 ui-monospace, monospace !important;
  letter-spacing: .08em !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-head h3 {
  color: var(--ui-text) !important;
  font-size: clamp(30px, 2.6vw, 42px) !important;
  line-height: 1.08 !important;
  letter-spacing: 0 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-head p {
  color: var(--ui-text-soft) !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-head > b {
  align-self: center !important;
  padding: 7px 10px !important;
  border: 1px solid color-mix(in srgb, var(--ui-gold) 20%, var(--ui-line-soft)) !important;
  border-radius: 4px !important;
  color: var(--ui-text-muted) !important;
  font: 700 11px/1.2 ui-monospace, monospace !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-layout {
  display: block !important;
  margin-top: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-month {
  gap: 11px !important;
  padding: 18px 0 20px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--ui-line-soft) !important;
  background: transparent !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-month-head {
  min-height: 22px !important;
  padding: 0 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-month-head span {
  color: var(--ui-text-muted) !important;
  font: 700 11px/1.2 ui-monospace, monospace !important;
  letter-spacing: .04em !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reel-frame {
  min-height: 106px !important;
  border: 1px solid var(--ui-line-soft) !important;
  border-inline: 0 !important;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--ui-text) 3%, transparent), transparent 55%),
    color-mix(in srgb, var(--ui-surface) 70%, transparent) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reel-window {
  width: 152px !important;
  height: 82px !important;
  border: 1px solid color-mix(in srgb, var(--ui-gold) 42%, transparent) !important;
  background: linear-gradient(180deg, color-mix(in srgb, var(--ui-gold) 13%, transparent), color-mix(in srgb, var(--ui-gold) 5%, transparent)) !important;
  box-shadow: inset 0 1px color-mix(in srgb, #fff0c2 28%, transparent), 0 0 24px color-mix(in srgb, var(--ui-gold) 8%, transparent) !important;
  filter: none !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-day {
  flex-basis: 74px !important;
  min-height: 72px !important;
  border-color: transparent !important;
  background: color-mix(in srgb, var(--ui-surface) 80%, transparent) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-day span {
  font-size: 19px !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-day.is-active {
  border-color: color-mix(in srgb, var(--ui-gold) 66%, transparent) !important;
  background: linear-gradient(180deg, #f6d485, #d49d3f) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.54), 0 7px 18px color-mix(in srgb, var(--ui-gold) 16%, transparent) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-result {
  grid-template-columns: minmax(92px, auto) 78px minmax(0, 1fr) !important;
  min-height: 90px !important;
  gap: 18px !important;
  padding: 18px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--ui-line-soft) !important;
  background: transparent !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-result > span {
  color: var(--ui-text-soft) !important;
  font-size: 14px !important;
  font-weight: 760 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-status-slot {
  width: 78px !important;
  min-width: 78px !important;
  height: 62px !important;
  border-color: color-mix(in srgb, var(--ui-gold) 36%, var(--ui-line-soft)) !important;
  background: linear-gradient(180deg, color-mix(in srgb, var(--ui-gold) 14%, transparent), color-mix(in srgb, var(--ui-surface) 88%, transparent)) !important;
  box-shadow: inset 0 1px color-mix(in srgb, #fff0c2 20%, transparent) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-status-track b {
  height: 62px !important;
  color: var(--ui-gold) !important;
  font-size: 36px !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-result > small {
  color: var(--ui-text-muted) !important;
  font-size: 13px !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reading {
  gap: 17px !important;
  padding: 24px 0 10px !important;
  border: 0 !important;
  background: transparent !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reading > span {
  color: var(--ui-text-muted) !important;
  font: 700 11px/1.2 ui-monospace, monospace !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reading-title {
  align-items: start !important;
  gap: 20px !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reading-title > div {
  gap: 8px !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reading-title span {
  color: color-mix(in srgb, var(--ui-gold) 84%, var(--ui-text-muted)) !important;
  font: 780 11px/1.2 ui-monospace, monospace !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reading-title b {
  color: var(--ui-text) !important;
  font-size: clamp(32px, 3.2vw, 48px) !important;
  line-height: 1.08 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reading-title strong {
  color: var(--ui-gold) !important;
  font-size: clamp(58px, 5.4vw, 84px) !important;
  line-height: .82 !important;
  font-variant-numeric: tabular-nums !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reading p {
  max-width: 900px !important;
  color: var(--ui-text-soft) !important;
  font-size: 15px !important;
  line-height: 1.75 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-advice {
  gap: 0 !important;
  border-block: 1px solid var(--ui-line-soft) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-advice > div {
  padding: 15px 20px 15px 0 !important;
  border-left: 0 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-advice > div + div {
  padding-left: 20px !important;
  border-left: 1px solid var(--ui-line-soft) !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-advice span {
  color: var(--ui-text-muted) !important;
  font-size: 12px !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-advice ul {
  gap: 0 !important;
  margin-top: 8px !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-advice li {
  padding: 6px 0 !important;
  border-bottom: 1px solid color-mix(in srgb, var(--ui-line-soft) 70%, transparent) !important;
  color: var(--ui-text-soft) !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reading > small {
  color: var(--ui-text-muted) !important;
  font-size: 11px !important;
}

@media (min-width: 1680px) {
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-almanac { padding-inline: 26px !important; }
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-head h3 { font-size: 44px !important; }
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reading-title b { font-size: 52px !important; }
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reading-title strong { font-size: 92px !important; }
}

@media (max-width: 899px) {
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-almanac { padding: 0 14px 14px !important; }
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-head { min-height: 0 !important; align-items: start !important; flex-direction: column !important; padding: 20px 0 14px !important; }
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-head > b { align-self: start !important; }
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-result { grid-template-columns: minmax(0, 1fr) 78px !important; gap: 12px !important; }
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-result > small { grid-column: 1 / -1 !important; }
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reading-title b { font-size: 32px !important; }
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-reading-title strong { font-size: 62px !important; }
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-advice { grid-template-columns: minmax(0, 1fr) !important; }
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-advice > div,
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-advice > div + div { padding: 13px 0 !important; border-left: 0 !important; }
  html[data-theme] body:has(.app-profile-shell) .app.app-profile-shell .wealth-daily-advice > div + div { border-top: 1px solid var(--ui-line-soft) !important; }
}

