/* ============================================================
   超级识人术 · 识光 / Aperture —— 网页版（桌面优先）
   全宽顶部导航 · 宽 hero · 居中主内容布局
   ============================================================ */

body[data-theme="night"] {
  --bg: #071011;
  --bg-2: #0d1a1c;
  --surface: rgba(225, 246, 235, 0.055);
  --surface-2: rgba(225, 246, 235, 0.09);
  --surface-solid: #0b1718;
  --border: rgba(99, 208, 178, 0.16);
  --border-strong: rgba(215, 180, 109, 0.36);
  --text: #f2f5e8;
  --muted: #c0d1c9;
  --faint: #86a49a;
  --gold: #d7b46d;
  --gold-2: #ecd28f;
  --jade: #63d0b2;
  --rose: #c86754;
  --btn-bg: #63d0b2;
  --btn-ink: #071011;
  --chip-bg: rgba(99, 208, 178, 0.11);
  --shadow: 0 26px 70px -28px rgba(0, 0, 0, 0.8);
  --shadow-sm: 0 12px 30px -16px rgba(0, 0, 0, 0.7);
  --aurora-1: rgba(99, 208, 178, 0.22);
  --aurora-2: rgba(215, 180, 109, 0.15);
  --scan: rgba(99, 208, 178, 0.85);
  --topbar-bg: rgba(7, 16, 17, 0.86);
  color-scheme: dark;
}

body[data-theme="night"] .field input,
body[data-theme="night"] .field select,
body[data-theme="night"] .field textarea,
body[data-theme="night"] .voice-input-wrap input,
body[data-theme="night"] .voice-input-wrap textarea {
  background: color-mix(in srgb, var(--surface-solid) 82%, var(--jade) 8%);
  border-color: color-mix(in srgb, var(--jade) 18%, transparent);
  color: var(--text);
}

body[data-theme="night"] select {
  color-scheme: dark;
}

body[data-theme="night"] select option {
  background-color: #0b1718;
  color: #f2f5e8;
}

body[data-theme="night"] select option:checked {
  background-color: #173a35;
  color: #ecd28f;
}

body[data-theme="night"] .field > span {
  color: color-mix(in srgb, var(--muted) 82%, var(--text) 18%);
}

body[data-theme="night"] .field input::placeholder,
body[data-theme="night"] .field textarea::placeholder,
body[data-theme="night"] .voice-input-wrap input::placeholder,
body[data-theme="night"] .voice-input-wrap textarea::placeholder {
  color: color-mix(in srgb, var(--muted) 74%, var(--text) 8%);
}

body[data-theme="night"] .person-card {
  background: color-mix(in srgb, var(--surface-solid) 84%, var(--jade) 8%);
  border-color: color-mix(in srgb, var(--jade) 20%, var(--border));
}

body[data-theme="night"] .upload {
  border-color: color-mix(in srgb, var(--gold) 42%, var(--jade) 18%);
  background: color-mix(in srgb, var(--surface-solid) 82%, var(--jade) 6%);
}

body[data-theme="night"] .upload:hover {
  border-color: color-mix(in srgb, var(--gold) 55%, var(--jade) 24%);
  background: color-mix(in srgb, var(--surface-solid) 76%, var(--jade) 10%);
}

body[data-theme="night"] .upload-thumb.placeholder {
  color: transparent;
  --upload-plus-color: var(--gold);
  border-color: color-mix(in srgb, var(--gold) 56%, var(--jade) 26%);
  background: color-mix(in srgb, var(--surface-2) 78%, var(--jade) 10%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gold) 22%, transparent);
}

body[data-theme="night"] .upload strong {
  color: var(--text);
}

body[data-theme="night"] .upload span {
  color: color-mix(in srgb, var(--muted) 82%, var(--text) 12%);
}

body[data-theme="night"] .card > p,
body[data-theme="night"] .muted,
body[data-theme="night"] .section-title small {
  color: color-mix(in srgb, var(--muted) 88%, var(--text) 12%);
}

body[data-theme="night"] .btn.ghost {
  background: color-mix(in srgb, var(--surface-solid) 78%, var(--jade) 4%);
  border-color: color-mix(in srgb, var(--jade) 22%, var(--border));
  color: color-mix(in srgb, var(--text) 92%, var(--jade) 8%);
}

body[data-theme="night"] .btn[disabled] {
  opacity: 0.72;
}

body[data-theme="dawn"] {
  --bg: #eef5ef;
  --bg-2: #fbf9ee;
  --surface: rgba(255, 255, 248, 0.86);
  --surface-2: #fffdf4;
  --surface-solid: #fffdf4;
  --border: rgba(38, 107, 93, 0.14);
  --border-strong: rgba(184, 145, 75, 0.38);
  --text: #172522;
  --muted: #6f8079;
  --faint: #9eb0a7;
  --gold: #b8914b;
  --gold-2: #d8b76d;
  --jade: #2f9c86;
  --rose: #b76355;
  --btn-bg: #2f9c86;
  --btn-ink: #fffdf4;
  --chip-bg: rgba(47, 156, 134, 0.1);
  --shadow: 0 24px 60px -26px rgba(28, 77, 68, 0.2);
  --shadow-sm: 0 12px 28px -16px rgba(28, 77, 68, 0.16);
  --aurora-1: rgba(47, 156, 134, 0.19);
  --aurora-2: rgba(184, 145, 75, 0.16);
  --scan: rgba(47, 156, 134, 0.62);
  --topbar-bg: rgba(238, 245, 239, 0.9);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  font-size: clamp(15px, 1.05vw, 17px);
  scrollbar-gutter: stable;
}

html,
body {
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  overflow-y: scroll;
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.4s ease, color 0.4s ease;
}

.serif {
  font-family: "Songti SC", serif;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--bg);
}

/* ---------------- 顶部导航 ---------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--topbar-bg);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  width: min(100%, 1240px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px clamp(14px, 3vw, 28px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  background: none;
  border: 0;
  padding: 0;
  flex: 0 1 226px;
  min-width: 0;
}

.brand-glyph {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--gold);
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
}

.brand-text {
  display: grid;
  gap: 1px;
  text-align: left;
  min-width: 0;
}

.brand-text strong {
  font-family: serif;
  font-weight: 900;
  font-size: 1.06rem;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--gold);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topnav {
  flex: 1;
  min-width: 0;
  display: flex;
  gap: 4px;
  justify-content: flex-start;
  overflow-x: auto;
  scrollbar-width: none;
}

.topnav::-webkit-scrollbar {
  display: none;
}

.navbtn {
  display: inline-flex;
  align-items: center;
  padding: 9px 10px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  transition: 0.2s;
}

.navbtn:hover {
  color: var(--text);
  background: var(--surface);
}

.navbtn.active {
  color: var(--gold);
  background: var(--surface-2);
}

.topbar-actions {
  display: flex;
  gap: 6px;
  flex: 0 0 auto;
  align-items: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.language-switch {
  position: relative;
  display: inline-grid;
  align-items: center;
  height: 40px;
}

.language-native-select {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.language-select-button {
  height: 40px;
  max-width: 136px;
  min-width: 104px;
  padding: 0 34px 0 13px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  text-align: left;
}

.language-select-button span {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.language-select-button:focus-visible,
.language-switch.open .language-select-button {
  outline: 2px solid color-mix(in srgb, var(--jade) 58%, var(--gold) 18%);
  outline-offset: 2px;
  border-color: color-mix(in srgb, var(--jade) 50%, var(--gold) 30%);
}

.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 80;
  display: none;
  width: max-content;
  min-width: 220px;
  max-width: min(320px, calc(100vw - 24px));
  max-height: min(390px, calc(100vh - 96px));
  overflow-y: auto;
  overflow-x: hidden;
  padding: 7px;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  background: var(--surface-solid);
  box-shadow: var(--shadow);
}

.language-switch.open .language-menu {
  display: grid;
  gap: 3px;
}

.language-option {
  width: 100%;
  min-height: 34px;
  padding: 8px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 760;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

.language-option:hover,
.language-option:focus-visible {
  outline: 0;
  background: color-mix(in srgb, var(--jade) 12%, transparent);
  color: var(--text);
}

.language-option.active {
  background: color-mix(in srgb, var(--jade) 18%, var(--gold) 9%);
  color: var(--gold-2);
}

body[data-theme="night"] .language-menu {
  background: #081514;
  border-color: rgba(215, 180, 109, 0.34);
  box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.96), inset 0 1px 0 rgba(236, 210, 143, 0.08);
}

body[data-theme="night"] .language-option {
  color: color-mix(in srgb, var(--muted) 78%, var(--text) 8%);
}

body[data-theme="night"] .language-option:hover,
body[data-theme="night"] .language-option:focus-visible {
  background: rgba(99, 208, 178, 0.12);
  color: #f2f5e8;
}

body[data-theme="night"] .language-option.active {
  background: rgba(99, 208, 178, 0.18);
  color: #ecd28f;
}

.language-switch::after {
  content: "";
  position: absolute;
  right: 13px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.account-btn {
  max-width: 118px;
  height: 40px;
  display: grid;
  place-items: center;
  gap: 1px;
  padding: 0 12px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: var(--btn-bg);
  color: var(--btn-ink);
  font-size: 0.9rem;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: var(--shadow-sm);
}

.account-btn span,
.account-btn small {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.account-btn small {
  display: block;
  font-size: 0.66rem;
  line-height: 1;
  color: var(--muted);
}

.account-btn.logged {
  background: var(--surface-2);
  color: var(--gold);
}

.account-btn:hover {
  transform: translateY(-1px);
}

.icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 1.05rem;
  transition: 0.2s;
}

.icon-btn:hover {
  border-color: var(--border-strong);
  color: var(--gold);
}

/* ---------------- 页面容器 ---------------- */
.page {
  position: relative;
  z-index: 1;
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: clamp(20px, 3vw, 36px) clamp(16px, 4vw, 32px) 72px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: viewin 0.4s ease;
}

/* ---------------- 海外登录页 ---------------- */
body.overseas-auth-active {
  --bg: #f6f8f7;
  --bg-2: #eef4f1;
  --surface: rgba(255, 255, 255, 0.74);
  --surface-2: #ffffff;
  --surface-solid: #ffffff;
  --border: rgba(27, 45, 41, 0.12);
  --border-strong: rgba(27, 45, 41, 0.2);
  --text: #151b19;
  --muted: #63716c;
  --faint: #9ba8a3;
  --gold: #6e7f72;
  --gold-2: #2f5d51;
  --jade: #246e61;
  --btn-bg: #161a18;
  --btn-ink: #ffffff;
  --topbar-bg: rgba(246, 248, 247, 0.82);
  color-scheme: light;
}

body.overseas-auth-active .aurora {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(246, 248, 247, 0.92) 44%, rgba(236, 242, 239, 0.86) 100%),
    repeating-linear-gradient(90deg, rgba(21, 27, 25, 0.026) 0 1px, transparent 1px 96px);
  opacity: 1;
}

body.overseas-auth-active .topbar {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
}

body.overseas-auth-active .topbar-inner {
  width: min(100%, 1240px);
  padding-top: 24px;
  padding-bottom: 10px;
}

body.overseas-auth-active .topnav,
body.overseas-auth-active #accountBtn,
body.overseas-auth-active #themeBtn,
body.overseas-auth-active #resetBtn {
  display: none;
}

body.overseas-auth-active .brand {
  flex-basis: auto;
}

body.overseas-auth-active .brand-glyph {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border-color: rgba(21, 27, 25, 0.16);
  color: #202624;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(27, 45, 41, 0.08);
}

body.overseas-auth-active .brand-text strong {
  color: #202624;
  letter-spacing: 0.12em;
}

body.overseas-auth-active .brand-text small {
  color: #7a8682;
}

body.overseas-auth-active .language-select-button {
  min-width: 112px;
  height: 36px;
  border: 0;
  box-shadow: none;
  background: transparent;
  color: #202624;
}

body.overseas-auth-active .page {
  width: min(100%, 1240px);
  min-height: calc(100vh - 72px);
  padding-top: clamp(20px, 4vh, 48px);
  padding-bottom: clamp(28px, 6vh, 72px);
}

.overseas-auth-page {
  width: 100%;
  min-height: min(760px, calc(100vh - 150px));
  display: grid;
  grid-template-columns: minmax(300px, 392px) minmax(420px, 1fr);
  align-items: center;
  gap: clamp(48px, 8vw, 136px);
}

.overseas-auth-panel {
  width: min(100%, 392px);
}

.overseas-auth-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(34px, 8vh, 76px);
  color: #1b211f;
}

.overseas-auth-mark span {
  width: 34px;
  height: 34px;
  border-radius: 12px 18px 18px 20px;
  border: 1px solid rgba(21, 27, 25, 0.22);
  background:
    linear-gradient(135deg, rgba(21, 27, 25, 0.96), rgba(45, 59, 55, 0.84)),
    #1b211f;
  transform: rotate(-12deg);
}

.overseas-auth-mark strong {
  display: block;
  font-size: 0.78rem;
  line-height: 0.92;
  letter-spacing: 0.16em;
  font-weight: 900;
}

.overseas-auth-copy {
  display: grid;
  gap: 10px;
  margin-bottom: 30px;
}

.overseas-auth-copy p,
.overseas-auth-copy small {
  margin: 0;
  color: #697773;
  font-size: 0.86rem;
  line-height: 1.55;
}

.overseas-auth-copy h1 {
  margin: 0;
  color: #111715;
  font-size: clamp(1.85rem, 3.2vw, 2.42rem);
  line-height: 1.1;
  font-weight: 900;
}

.overseas-auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.overseas-auth-tabs button {
  min-height: 38px;
  border: 1px solid rgba(27, 45, 41, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.74);
  color: #6b7773;
  font-size: 0.82rem;
  font-weight: 800;
}

.overseas-auth-tabs button.active {
  background: #161a18;
  border-color: #161a18;
  color: #ffffff;
}

.overseas-auth-fields {
  display: grid;
  gap: 14px;
}

.overseas-auth-panel .field {
  position: relative;
  gap: 0;
}

.overseas-auth-panel .field > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.overseas-auth-panel .field input {
  min-height: 50px;
  border-color: rgba(27, 45, 41, 0.13);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.92);
  color: #151b19;
  box-shadow: 0 8px 20px rgba(27, 45, 41, 0.055);
}

.overseas-auth-panel .field input::placeholder {
  color: #7b8782;
}

.overseas-code-field {
  position: relative;
}

.overseas-code-field .field input {
  padding-right: 120px;
}

.btn.auth-inline {
  position: absolute;
  right: 7px;
  top: 50%;
  min-height: 36px;
  padding: 0 12px;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #235f54;
  font-size: 0.82rem;
  font-weight: 900;
  box-shadow: none;
}

.btn.auth-inline:hover {
  transform: translateY(-50%);
  color: #111715;
}

.overseas-auth-primary {
  min-height: 52px;
  margin-top: 18px;
  border-radius: 13px;
  background: linear-gradient(180deg, #202522, #111513);
  box-shadow: 0 18px 34px rgba(17, 21, 19, 0.22);
}

.overseas-auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: #7c8783;
  font-size: 0.82rem;
}

.overseas-auth-divider::before,
.overseas-auth-divider::after {
  content: "";
  height: 1px;
  background: rgba(27, 45, 41, 0.13);
}

.overseas-oauth-btn {
  min-height: 52px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.82);
  color: #151b19;
  box-shadow: 0 8px 20px rgba(27, 45, 41, 0.055);
}

.google-glyph {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: #4285f4;
  font-weight: 900;
}

.google-glyph::before {
  content: "G";
}

.overseas-auth-legal {
  margin-top: 30px;
  color: #697773;
  font-size: 0.78rem;
  line-height: 1.55;
  text-align: center;
}

.overseas-auth-legal button {
  border: 0;
  padding: 0;
  background: none;
  color: #2b6158;
  font: inherit;
  font-weight: 800;
}

.overseas-auth-visual {
  min-width: 0;
  display: grid;
  place-items: center;
}

.auth-compass {
  position: relative;
  width: min(58vw, 640px);
  max-width: 100%;
  aspect-ratio: 1;
  opacity: 0.9;
}

.auth-compass .ring,
.auth-compass .axis,
.auth-compass .needle,
.auth-compass .tick {
  position: absolute;
  pointer-events: none;
}

.auth-compass .ring {
  inset: 12%;
  border-radius: 999px;
  border: 1px solid rgba(27, 45, 41, 0.13);
}

.auth-compass .outer {
  inset: 4%;
  border-color: rgba(27, 45, 41, 0.11);
}

.auth-compass .middle {
  inset: 18%;
  border-color: rgba(27, 45, 41, 0.16);
}

.auth-compass .inner {
  inset: 34%;
  border-color: rgba(27, 45, 41, 0.18);
  background:
    repeating-linear-gradient(90deg, rgba(27, 45, 41, 0.055) 0 1px, transparent 1px 18px),
    rgba(255, 255, 255, 0.22);
}

.auth-compass .axis {
  left: 50%;
  top: 8%;
  bottom: 8%;
  width: 1px;
  background: rgba(27, 45, 41, 0.14);
}

.auth-compass .horizontal {
  top: 50%;
  left: 8%;
  right: 8%;
  bottom: auto;
  width: auto;
  height: 1px;
}

.auth-compass .needle {
  left: 50%;
  top: 7%;
  width: 2px;
  height: 86%;
  background: linear-gradient(180deg, transparent, rgba(17, 23, 21, 0.8) 18%, rgba(17, 23, 21, 0.8) 74%, transparent);
  transform: translateX(-50%) rotate(7deg);
  transform-origin: 50% 50%;
  box-shadow: 0 0 22px rgba(27, 45, 41, 0.12);
}

.auth-compass .tick {
  left: 50%;
  top: 50%;
  width: 44px;
  height: 12px;
  border-top: 2px solid rgba(27, 45, 41, 0.15);
  border-bottom: 2px solid rgba(27, 45, 41, 0.08);
}

.auth-compass .t1 { transform: translate(-50%, -50%) rotate(0deg) translateX(252px); }
.auth-compass .t2 { transform: translate(-50%, -50%) rotate(45deg) translateX(252px); }
.auth-compass .t3 { transform: translate(-50%, -50%) rotate(90deg) translateX(252px); }
.auth-compass .t4 { transform: translate(-50%, -50%) rotate(135deg) translateX(252px); }
.auth-compass .t5 { transform: translate(-50%, -50%) rotate(180deg) translateX(252px); }
.auth-compass .t6 { transform: translate(-50%, -50%) rotate(225deg) translateX(252px); }
.auth-compass .t7 { transform: translate(-50%, -50%) rotate(270deg) translateX(252px); }
.auth-compass .t8 { transform: translate(-50%, -50%) rotate(315deg) translateX(252px); }

@media (max-width: 960px) {
  body.overseas-auth-active .topbar-inner {
    padding: 16px;
  }

  body.overseas-auth-active .page {
    padding-top: 20px;
  }

  .overseas-auth-page {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    justify-items: center;
  }

  .overseas-auth-panel {
    width: min(100%, 420px);
  }

  .overseas-auth-mark {
    margin-bottom: 42px;
  }

  .overseas-auth-visual {
    order: -1;
    width: min(100%, 380px);
    max-height: 220px;
    overflow: hidden;
    opacity: 0.64;
  }

  .auth-compass {
    width: min(78vw, 330px);
  }

  .auth-compass .tick {
    display: none;
  }
}

@keyframes viewin {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page,
  .aperture-ring::before,
  .scanline {
    animation: none !important;
  }
}

/* 页眉 */
.page-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 824px);
  align-items: start;
  gap: 16px;
}

.page-head.plain {
  grid-template-columns: minmax(0, 760px);
}

.page-head.plain .page-title {
  max-width: 14em;
}

.page-head-copy {
  min-width: 0;
}

.page-head-extra {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  min-width: 0;
}

.page-head-extra .seg {
  width: 100%;
}

.page-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.page-kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
}

.page-title {
  margin: 8px 0 0;
  font-family: serif;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 900;
  line-height: 1.18;
}

body[data-view="community"] .page-head {
  grid-template-columns: minmax(180px, 300px) minmax(0, 1fr);
  align-items: end;
  margin-bottom: -4px;
}

body[data-view="community"] .page-title {
  max-width: 9.5em;
  font-size: clamp(1.55rem, 2.4vw, 1.95rem);
  line-height: 1.08;
}

/* ---------------- 布局：主内容居中 ---------------- */
.split {
  width: min(100%, 820px);
  margin: 0 auto;
}

.main-col,
.aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.report-layout {
  width: min(100%, 1180px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.report-main,
.report-history-panel,
.report-left,
.report-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.report-history {
  max-height: none;
  overflow: visible;
}

.report-history-actions {
  margin-top: 12px;
}

.report-history-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  max-height: none;
  overflow: visible;
  padding-right: 4px;
}

.report-history-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  padding: 8px;
}

.report-history-item.active {
  border-color: var(--border-strong);
  background: var(--chip-bg);
}

.report-history-open {
  min-width: 0;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 4px;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 4px;
}

.report-history-thumb {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: var(--chip-bg);
  color: var(--gold);
  font-family: serif;
  font-size: 1.15rem;
  font-weight: 900;
  overflow: hidden;
}

.report-history-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.report-history-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.report-history-copy strong,
.report-history-copy span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.report-history-copy strong {
  color: var(--gold);
  font-size: 0.82rem;
  white-space: nowrap;
}

.report-history-copy span {
  color: var(--text);
  font-size: 0.78rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.report-history-delete {
  width: 48px;
  border: 1px solid color-mix(in srgb, var(--rose) 38%, transparent);
  border-radius: 10px;
  background: color-mix(in srgb, var(--rose) 8%, transparent);
  color: var(--rose);
  font-size: 0.76rem;
  font-weight: 700;
}

.community-feed {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.community-layout {
  width: min(100%, 1280px);
  height: calc(100vh - 188px);
  min-height: 520px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1.36fr) minmax(260px, 0.74fr);
  gap: 16px;
  align-items: stretch;
}

.community-side,
.community-center {
  min-height: 0;
}

.community-side {
  position: sticky;
  top: 88px;
  align-self: start;
  max-height: calc(100vh - 108px);
  overflow: auto;
  scrollbar-width: none;
}

.community-side::-webkit-scrollbar {
  display: none;
}

.community-center {
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
}

.community-feed-card {
  min-height: 100%;
}

.community-feed-toolbar {
  margin-top: 12px;
}

.community-compose-card {
  padding: 16px;
}

.community-compose-card > p {
  margin-bottom: 10px;
  font-size: 0.78rem;
  line-height: 1.42;
  max-width: 34ch;
}

.community-compose-card .field {
  gap: 4px;
  margin-bottom: 7px;
}

.community-compose-card .field label {
  font-size: 0.76rem;
}

.community-compose-card .field input,
.community-compose-card .field select,
.community-compose-card .field textarea {
  border-radius: 10px;
  padding: 8px 11px;
}

.community-compose-card .field input,
.community-compose-card .field select {
  min-height: 56px;
}

.community-compose-card .field textarea {
  min-height: 58px;
  resize: none;
  overflow: auto;
  line-height: 1.38;
}

.community-compose-card .upload {
  min-height: 70px;
  padding: 8px 10px;
  gap: 4px 10px;
  grid-template-columns: 44px minmax(0, 1fr);
  text-align: left;
  align-items: center;
}

.community-compose-card .upload-thumb {
  grid-row: 1 / span 2;
  width: 42px;
  height: 42px;
  font-size: 1.42rem;
}

.community-compose-card .upload strong {
  grid-column: 2;
  align-self: end;
  font-size: 0.84rem;
}

.community-compose-card .upload span:not(.upload-thumb) {
  grid-column: 2;
  align-self: start;
  font-size: 0.68rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.community-compose-card .grid-2 {
  grid-template-columns: minmax(0, 1fr) 88px;
  gap: 8px;
  align-items: end;
}

.community-compose-card .community-refresh-box {
  align-items: stretch;
}

.community-compose-card .community-refresh-box .btn {
  width: 100%;
  min-height: 56px;
  padding-inline: 10px;
}

.community-compose-card .btn-row {
  margin-top: 10px;
  gap: 8px;
}

.community-compose-card .btn {
  min-height: 42px;
  padding: 10px 14px;
}

.community-rules {
  margin: 12px 0 14px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.75;
}

.community-post {
  box-shadow: none;
}

.community-author {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.community-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  background: var(--chip-bg);
  color: var(--gold);
  font-weight: 900;
}

.community-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.community-author-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.community-author-copy strong,
.community-author-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community-author-copy small {
  color: var(--muted);
  font-size: 0.76rem;
}

.community-delete {
  border: 1px solid color-mix(in srgb, var(--rose) 38%, transparent);
  border-radius: 10px;
  background: color-mix(in srgb, var(--rose) 8%, transparent);
  color: var(--rose);
  padding: 8px 12px;
  font-size: 0.78rem;
  font-weight: 800;
}

.community-post-title {
  margin: 14px 0 0;
  font-family: serif;
  font-size: 1.2rem;
}

.community-post-body {
  margin: 10px 0 0;
  color: var(--text);
  line-height: 1.8;
  white-space: pre-wrap;
}

.community-post-image {
  display: block;
  width: min(100%, 520px);
  max-height: 420px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border);
  margin-top: 12px;
}

.community-report-preview,
.community-report-embed {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-top: 12px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: var(--chip-bg);
}

.community-report-preview img,
.community-report-embed img {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--border);
}

.community-report-preview > span,
.community-report-embed > span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--border);
  color: var(--gold);
  background: var(--surface-2);
  font-weight: 900;
}

.community-report-preview div,
.community-report-embed div {
  min-width: 0;
}

.community-report-preview strong,
.community-report-embed strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.86rem;
}

.community-report-preview p,
.community-report-embed p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.community-post-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.community-comments {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.community-comment {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.community-comment strong {
  color: var(--gold);
  font-size: 0.82rem;
}

.community-comment span {
  line-height: 1.6;
}

.community-comment small {
  color: var(--muted);
  font-size: 0.72rem;
}

.community-comment-editor {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.community-comment-editor input {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-2);
  padding: 10px 44px 10px 12px;
  outline: none;
}

.community-comment-input-wrap {
  min-width: 0;
}

.community-comment-editor .voice-trigger {
  --voice-button-size: 38px;
  --voice-button-right: 8px;
  --voice-icon-size: 22px;
}

.community-comment-editor .voice-trigger::before {
  width: var(--voice-icon-size);
  height: var(--voice-icon-size);
}

.community-refresh-box {
  display: flex;
  align-items: end;
}

@media (min-width: 760px) {
  .report-history-list {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

@media (min-width: 1040px) {
  .report-layout {
    grid-template-columns: minmax(280px, 330px) minmax(0, 820px);
  }

  .report-history-panel {
    position: sticky;
    top: 88px;
    max-height: calc(100vh - 108px);
    overflow: auto;
    padding-right: 2px;
  }

  .report-history-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .community-comment-editor {
    grid-template-columns: 1fr;
  }

  .community-author {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .community-delete {
    grid-column: 2;
    width: fit-content;
  }
}

@media (max-width: 1120px) {
  .community-layout {
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .community-side {
    position: static;
    max-height: none;
    overflow: visible;
  }

  .community-center {
    overflow: visible;
    padding-right: 0;
  }
}

/* ---------------- 卡片 ---------------- */
.card {
  position: relative;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
  padding: 22px;
  min-width: 0;
}

.card.lifted {
  box-shadow: var(--shadow);
}

.profile-card {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 12px;
  padding: 34px 22px;
}

.profile-avatar {
  position: relative;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--chip-bg);
  color: var(--gold);
  font-family: serif;
  font-size: 2rem;
  font-weight: 900;
  overflow: hidden;
}

.profile-avatar-edit {
  cursor: pointer;
  overflow: visible;
  margin-bottom: 22px;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.profile-avatar-action {
  position: absolute;
  left: 50%;
  bottom: -23px;
  transform: translateX(-50%);
  width: max-content;
  max-width: 156px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--jade) 30%, var(--border-strong));
  background: color-mix(in srgb, var(--surface-2) 92%, var(--gold) 8%);
  color: var(--text);
  font-family: sans-serif;
  font-size: 0.72rem;
  line-height: 1.1;
  font-weight: 700;
  box-shadow: 0 10px 20px color-mix(in srgb, var(--jade) 14%, transparent);
  white-space: nowrap;
  z-index: 2;
}

.profile-file {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.profile-name {
  margin-top: 4px;
  font-family: serif;
  font-size: 1.3rem;
  line-height: 1.3;
}

.profile-account {
  color: var(--muted);
  font-size: 0.9rem;
  word-break: break-all;
}

.profile-field {
  width: min(360px, 100%);
  text-align: left;
}

.profile-status {
  color: var(--gold);
  font-size: 0.9rem;
}

.profile-card .btn {
  margin-top: 8px;
}

.profile-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  width: min(420px, 100%);
  margin-top: 4px;
}

.profile-actions .btn {
  margin-top: 0;
}

.credit-card {
  display: grid;
  gap: 16px;
}

.credit-balance {
  display: grid;
  justify-items: center;
  gap: 3px;
  padding: 22px;
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  background: var(--chip-bg);
}

.credit-balance span,
.credit-balance em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.82rem;
}

.credit-balance strong {
  color: var(--gold);
  font-family: serif;
  font-size: clamp(2.8rem, 8vw, 4.5rem);
  line-height: 1;
}

.credit-packages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.credit-package {
  display: grid;
  gap: 6px;
  text-align: left;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.credit-package:hover {
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.credit-package span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
}

.credit-package strong {
  font-size: 1rem;
}

.credit-package small {
  color: var(--muted);
  line-height: 1.4;
}

.credit-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.credit-meta-grid div {
  display: grid;
  gap: 4px;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}

.credit-meta-grid span {
  color: var(--muted);
  font-size: 0.78rem;
}

.credit-meta-grid strong {
  color: var(--text);
  font-size: 0.88rem;
}

.credit-actions {
  display: flex;
  justify-content: center;
}

.credit-ledger {
  display: grid;
  gap: 8px;
  padding-top: 2px;
}

.credit-ledger > strong {
  font-family: serif;
  font-size: 1.05rem;
}

.credit-ledger-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.credit-ledger-row span {
  color: var(--muted);
  min-width: 0;
}

.credit-ledger-row strong.plus {
  color: var(--jade);
}

.credit-ledger-row strong.minus {
  color: var(--rose);
}

.card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.card-head .kicker,
.kicker {
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.card h3 {
  margin: 4px 0 0;
  font-family: serif;
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.34;
}

.card > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.hairline {
  height: 1px;
  border: 0;
  margin: 16px 0;
  background: var(--border);
}

.section-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 6px 2px 0;
  font-family: serif;
  font-size: 1.12rem;
  font-weight: 700;
}

.section-title small {
  color: var(--muted);
  font-family: sans-serif;
  font-weight: 400;
  font-size: 0.78rem;
}

/* ---------------- Hero（宽屏两栏） ---------------- */
.hero {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: clamp(26px, 4vw, 48px);
  display: grid;
  gap: 32px;
  align-items: center;
}

@media (min-width: 860px) {
  .hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  }
}

.hero-tagline {
  color: var(--gold);
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  font-weight: 700;
  text-transform: uppercase;
}

.hero h2 {
  margin: 16px 0 0;
  font-family: serif;
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  font-weight: 900;
  line-height: 1.2;
}

.hero h2 em {
  font-style: normal;
  color: var(--gold);
}

.hero p {
  margin: 16px 0 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-visual {
  display: grid;
  place-items: center;
}

/* ---------------- Overseas guest landing ---------------- */
.landing-hero {
  position: relative;
  overflow: hidden;
  min-height: 540px;
  border-radius: 34px;
  border: 1px solid var(--border-strong);
  background: var(--surface-solid);
  box-shadow: 0 34px 92px -58px rgba(159, 115, 40, 0.5);
  padding: clamp(24px, 4.4vw, 54px);
  display: grid;
  gap: 36px;
  align-items: center;
}

.landing-hero::before {
  content: "";
  position: absolute;
  inset: -30% 52% auto -12%;
  height: 420px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--gold) 8%, transparent);
  transform: rotate(-12deg);
  pointer-events: none;
}

@media (min-width: 900px) {
  .landing-hero {
    grid-template-columns: minmax(0, 1.06fr) minmax(330px, 0.94fr);
  }
}

.landing-copy {
  position: relative;
  z-index: 1;
  max-width: 650px;
}

.landing-announcement {
  width: fit-content;
  max-width: 100%;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface-solid) 82%, transparent);
  color: var(--muted);
  box-shadow: var(--shadow-sm);
  padding: 0 18px;
  font-size: 0.86rem;
  font-weight: 700;
}

.landing-announcement span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--gold) 16%, transparent);
  flex: 0 0 auto;
}

.landing-eyebrow {
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.26em;
  font-weight: 900;
  text-transform: uppercase;
}

.landing-title {
  margin: 18px 0 0;
  font-family: serif;
  font-size: clamp(2.45rem, 5.4vw, 4.45rem);
  line-height: 0.98;
  letter-spacing: 0;
  font-weight: 950;
}

.landing-title em {
  display: inline;
  font-style: normal;
  color: var(--gold);
}

.landing-desc {
  margin: 20px 0 0;
  max-width: 570px;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.85;
}

.landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.landing-store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.store-pill {
  min-width: 150px;
  min-height: 56px;
  display: grid;
  gap: 3px;
  justify-content: start;
  align-content: center;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface-solid) 76%, transparent);
  padding: 9px 16px;
}

.store-pill strong {
  font-size: 0.96rem;
}

.store-pill small {
  color: var(--muted);
  font-size: 0.74rem;
}

.landing-preview {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 460px;
}

.phone-shell {
  position: relative;
  width: min(340px, 82vw);
  min-height: 520px;
  border-radius: 42px;
  border: 1px solid var(--border-strong);
  background: var(--surface-solid);
  box-shadow:
    inset 0 0 0 10px color-mix(in srgb, var(--gold) 6%, transparent),
    0 42px 74px -38px rgba(106, 72, 29, 0.5);
  padding: 20px;
}

.phone-glow {
  position: absolute;
  inset: -34px -28px auto auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--jade) 10%, transparent);
  pointer-events: none;
}

.phone-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
}

.phone-top i,
.phone-top span {
  width: 34px;
  height: 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--text) 10%, transparent);
}

.phone-avatar {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 34px auto 22px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--chip-bg);
  color: var(--gold);
  font-family: serif;
  font-size: 3rem;
  font-weight: 950;
}

.phone-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-card,
.phone-grid > div {
  border-radius: 22px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface-solid) 74%, transparent);
  box-shadow: var(--shadow-sm);
}

.phone-card {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.phone-card.main {
  min-height: 112px;
}

.phone-card strong,
.phone-grid b {
  font-size: 0.88rem;
}

.phone-card span,
.phone-grid span {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

.phone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 12px 0;
}

.phone-grid > div {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.phone-grid span {
  color: var(--gold);
  font-family: serif;
  font-size: 1.72rem;
  font-weight: 950;
  line-height: 1;
}

.landing-section-title {
  margin-top: 30px;
}

.landing-entry-row {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

@media (min-width: 820px) {
  .landing-entry-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.landing-entry-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  min-height: 250px;
  border-radius: 30px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  padding: clamp(22px, 3vw, 32px);
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.landing-entry-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

.landing-entry-mark {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  border: 1px solid var(--border-strong);
  background: var(--chip-bg);
  color: var(--gold);
  font-family: serif;
  font-size: 1.85rem;
  font-weight: 950;
  line-height: 1;
}

.landing-entry-copy {
  min-width: 0;
  display: grid;
  gap: 10px;
}

.landing-entry-copy strong {
  font-family: serif;
  font-size: clamp(1.65rem, 3vw, 2.18rem);
  line-height: 1.05;
}

.landing-entry-copy span {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.72;
}

.landing-entry-tags,
.landing-feature-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.landing-entry-tags,
.landing-entry-go {
  grid-column: 1 / -1;
}

.landing-entry-tags i {
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--muted);
  font-style: normal;
  font-size: 0.78rem;
  padding: 7px 12px;
}

.landing-entry-go {
  color: var(--gold);
  font-size: 0.92rem;
  font-weight: 900;
  align-self: end;
}

.landing-block {
  margin-top: 22px;
}

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

.landing-product-card,
.landing-process,
.landing-app-banner,
.landing-faq-card {
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface-solid) 84%, transparent);
  box-shadow: var(--shadow-sm);
}

  .landing-product-card {
  min-height: 210px;
  display: grid;
  align-content: start;
  gap: 18px;
  border-radius: 28px;
  padding: clamp(20px, 2.8vw, 30px);
}

.landing-product-card span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 1px solid var(--border-strong);
  background: var(--chip-bg);
  color: var(--gold);
  font-weight: 950;
}

.landing-product-card h3,
.landing-process h3,
.landing-app-banner h3,
.landing-faq-card h3 {
  margin: 0;
  font-family: serif;
  line-height: 1.14;
  letter-spacing: 0;
}

.landing-product-card h3 {
  font-size: clamp(1.35rem, 2vw, 1.72rem);
}

.landing-product-card p,
.landing-process p,
.landing-app-banner p,
.landing-faq-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.78;
}

.landing-process,
.landing-app-banner {
  display: grid;
  gap: 24px;
  align-items: center;
  border-radius: 30px;
  padding: clamp(24px, 4vw, 42px);
}

@media (min-width: 860px) {
  .landing-process,
  .landing-app-banner {
    grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  }
}

.landing-process h3,
.landing-app-banner h3 {
  margin-top: 12px;
  font-size: clamp(1.7rem, 3.2vw, 2.55rem);
}

.landing-process p,
.landing-app-banner p {
  margin-top: 14px;
}

.landing-process ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: landing-step;
}

.landing-process li,
.landing-app-pills span {
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface-2);
}

.landing-process li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 14px;
  padding: 18px;
  counter-increment: landing-step;
}

.landing-process li::before {
  content: counter(landing-step, decimal-leading-zero);
  grid-row: span 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--gold);
  color: white;
  font-weight: 950;
}

.landing-process li strong,
.landing-app-pills strong {
  font-size: 0.98rem;
}

.landing-process li span,
.landing-app-pills small {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.landing-app-banner {
  background: color-mix(in srgb, var(--surface-solid) 84%, transparent);
}

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

.landing-app-pills span {
  min-height: 86px;
  display: grid;
  gap: 8px;
  align-content: center;
  padding: 18px;
}

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

.landing-faq-card {
  display: grid;
  gap: 12px;
  align-content: start;
  border-radius: 24px;
  padding: 22px;
}

.landing-faq-card h3 {
  font-size: 1.18rem;
}

.landing-feature-strip {
  margin-top: 4px;
  justify-content: center;
}

.landing-feature-strip span {
  min-width: 184px;
  min-height: 72px;
  display: grid;
  gap: 6px;
  align-content: center;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface-solid) 76%, transparent);
  padding: 12px 18px;
}

.landing-feature-strip strong {
  font-size: 0.88rem;
}

.landing-feature-strip small {
  color: var(--muted);
  font-size: 0.76rem;
}

@media (max-width: 680px) {
  .landing-hero {
    min-height: 0;
    padding: 24px;
    border-radius: 24px;
  }

  .landing-title {
    font-size: clamp(2.2rem, 12vw, 3.15rem);
  }

  .landing-preview {
    min-height: auto;
  }

  .phone-shell {
    min-height: 420px;
    border-radius: 34px;
  }

  .landing-entry-card {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .landing-product-grid,
  .landing-faq,
  .landing-app-pills {
    grid-template-columns: 1fr;
  }

.landing-product-card {
    min-height: 0;
  }
}

.oracle-landing {
  min-height: min(610px, calc(100vh - 104px));
  border-radius: 38px;
  border-color: color-mix(in srgb, var(--gold) 34%, var(--border));
  background: var(--surface-solid);
  box-shadow: 0 38px 110px -72px rgba(87, 60, 23, 0.62);
  padding: clamp(26px, 4.5vw, 56px);
}

.oracle-landing::before {
  inset: auto 7% 10% auto;
  width: min(42vw, 520px);
  height: min(42vw, 520px);
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--gold) 22%, transparent);
  background: transparent;
  transform: none;
}

.oracle-landing::after {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 28px;
  border: 1px solid color-mix(in srgb, var(--gold) 13%, transparent);
  pointer-events: none;
}

.oracle-landing .landing-copy {
  max-width: 620px;
}

.oracle-landing .landing-announcement {
  min-height: 36px;
  margin-bottom: 22px;
  padding: 0 15px;
  border-color: color-mix(in srgb, var(--gold) 28%, var(--border));
  background: color-mix(in srgb, var(--surface-solid) 58%, transparent);
  box-shadow: none;
  color: var(--text);
}

.oracle-landing .landing-title {
  max-width: 700px;
  margin-top: 14px;
  font-size: clamp(2.8rem, 5.25vw, 5rem);
  line-height: 0.98;
}

.oracle-landing .landing-desc {
  max-width: 560px;
  margin-top: 18px;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.78;
}

.landing-micro-copy {
  margin: 18px 0 0;
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.oracle-landing .landing-preview {
  min-height: 340px;
}

.oracle-seal {
  position: relative;
  width: min(360px, 70vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: var(--gold);
}

.oracle-seal::before {
  content: "";
  position: absolute;
  inset: 11%;
  border: 1px solid color-mix(in srgb, var(--gold) 30%, transparent);
  border-radius: 34%;
  transform: rotate(45deg);
}

.oracle-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--gold) 32%, transparent);
}

.oracle-ring.outer {
  inset: 0;
}

.oracle-ring.inner {
  inset: 17%;
}

.oracle-core {
  position: relative;
  z-index: 1;
  width: 45%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 28%;
  border: 1px solid color-mix(in srgb, var(--gold) 38%, var(--border));
  background: color-mix(in srgb, var(--surface-solid) 72%, transparent);
  font-family: serif;
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 950;
  line-height: 1;
  box-shadow: 0 24px 64px -45px rgba(91, 65, 26, 0.7);
}

.oracle-caption {
  position: absolute;
  left: 50%;
  bottom: 9%;
  width: max-content;
  max-width: 86%;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
}

.landing-signal-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.landing-signal-card,
.landing-quiet-panel {
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface-solid) 72%, transparent);
  box-shadow: var(--shadow-sm);
}

.landing-signal-card {
  min-height: 116px;
  display: grid;
  gap: 10px;
  align-content: center;
  border-radius: 24px;
  padding: 22px;
}

.landing-signal-card h3 {
  margin: 0;
  color: var(--text);
  font-family: serif;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.08;
}

.landing-signal-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.52;
}

.landing-quiet-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  border-radius: 22px;
  padding: 18px 22px;
}

.landing-quiet-panel strong {
  font-family: serif;
  font-size: 1.18rem;
}

.landing-quiet-panel span {
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 680px) {
  .oracle-landing {
    min-height: 0;
    border-radius: 28px;
    padding: 26px;
  }

  .oracle-landing::after {
    inset: 12px;
    border-radius: 20px;
  }

  .oracle-landing .landing-title {
    font-size: clamp(2.65rem, 14vw, 4.2rem);
  }

  .oracle-landing .landing-preview {
    min-height: 280px;
  }

  .landing-signal-row {
    grid-template-columns: 1fr;
  }
}

body.public-landing-active {
  --bg: #071011;
  --bg-2: #10211f;
  --surface: rgba(28, 59, 55, 0.62);
  --surface-2: rgba(35, 75, 69, 0.72);
  --surface-solid: rgba(11, 28, 27, 0.94);
  --border: rgba(99, 208, 178, 0.18);
  --border-strong: rgba(183, 145, 74, 0.42);
  --text: #ecf4e7;
  --muted: #afc7ba;
  --faint: #78968c;
  --gold: #b7914a;
  --gold-2: #d8c27f;
  --jade: #63d0b2;
  --rose: #8bbfac;
  --btn-bg: #d7b46d;
  --btn-ink: #2d1808;
  --topbar-bg: rgba(18, 13, 10, 0.86);
  background: #071011;
  color: var(--text);
}

body.public-landing-active .aurora {
  opacity: 0.55;
  background: #071011;
  background-size: auto;
  mask-image: none;
}

body.public-landing-active .topbar {
  background: rgba(18, 13, 10, 0.84);
  border-bottom-color: rgba(231, 186, 105, 0.13);
}

body.public-landing-active .topbar-inner,
body.public-landing-active .page {
  width: min(72rem, calc(100vw - 2rem));
}

body.public-landing-active .topbar-inner {
  padding-inline: 0;
}

body.public-landing-active .brand-glyph {
  border-radius: 999px;
  background: rgba(99, 208, 178, 0.1);
  box-shadow: 0 0 0 1px rgba(231, 186, 105, 0.16), 0 16px 32px -24px rgba(246, 210, 141, 0.9);
}

body.public-landing-active .brand-text strong {
  color: #f8dfad;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}

body.public-landing-active .navbtn {
  color: #bca98b;
}

body.public-landing-active .navbtn.active,
body.public-landing-active .navbtn:hover {
  color: #f5d28c;
  background: rgba(255, 244, 222, 0.075);
}

body.public-landing-active .language-select-button,
body.public-landing-active .icon-btn,
body.public-landing-active .account-btn {
  background: rgba(255, 244, 222, 0.06);
  color: #f8dfad;
  border-color: rgba(231, 186, 105, 0.24);
}

body.public-landing-active .account-btn {
  background: #63d0b2;
  color: #fff8e6;
}

body.public-landing-active .page {
  padding-inline: 0;
  padding-top: clamp(10px, 1.8vw, 20px);
}

body.public-landing-active .deep-landing {
  min-height: min(650px, calc(100vh - 92px));
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: clamp(20px, 3vw, 44px) clamp(6px, 3vw, 38px);
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: clamp(28px, 5vw, 62px);
}

body.public-landing-active .deep-landing::before,
body.public-landing-active .deep-landing::after {
  content: none;
  display: none;
}

body.public-landing-active .deep-landing .landing-announcement {
  min-height: 34px;
  margin-bottom: 18px;
  color: #eac77f;
  border-color: rgba(231, 186, 105, 0.28);
  background: rgba(246, 218, 163, 0.08);
  box-shadow: none;
}

body.public-landing-active .landing-eyebrow {
  color: #f0bd61;
}

body.public-landing-active .deep-landing .landing-title {
  max-width: 760px;
  margin: 0;
  color: var(--text);
  font-size: clamp(3rem, 6vw, 5.35rem);
  line-height: 0.98;
  letter-spacing: 0;
}

body.public-landing-active .deep-landing .landing-title em {
  display: inline;
  color: var(--gold-2);
  font-style: normal;
  text-shadow: 0 0 24px rgba(183, 145, 74, 0.22);
}

body.public-landing-active .deep-landing .landing-desc {
  max-width: 580px;
  margin-top: 22px;
  color: #d4c1a2;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.86;
}

body.public-landing-active .deep-landing .landing-actions {
  margin-top: 26px;
}

body.public-landing-active .deep-landing .btn.primary {
  min-height: 52px;
  border-radius: 999px;
  background: #63d0b2;
  color: #fff8e6;
  box-shadow: 0 22px 40px -28px rgba(99, 208, 178, 0.78);
}

body.public-landing-active .deep-landing .btn.ghost {
  min-height: 52px;
  border-radius: 999px;
  background: rgba(255, 244, 222, 0.045);
  color: #f6d28d;
  border-color: rgba(231, 186, 105, 0.26);
}

body.public-landing-active .landing-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

body.public-landing-active .landing-proof span {
  border: 1px solid rgba(231, 186, 105, 0.2);
  background: rgba(255, 244, 222, 0.045);
  color: #cab799;
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 0.78rem;
  font-weight: 800;
}

body.public-landing-active .landing-visual {
  position: relative;
  min-height: 450px;
  display: grid;
  place-items: center;
  z-index: 1;
}

body.public-landing-active .sr-board {
  position: relative;
  width: min(32.5rem, 92vw);
  min-height: 405px;
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 56px;
  padding: 26px;
  border: 1px solid rgba(231, 186, 105, 0.28);
  border-radius: 34px;
  background: rgba(9, 31, 32, 0.96);
  box-shadow: 0 40px 90px -55px rgba(0, 0, 0, 0.98), inset 0 1px 0 rgba(255, 244, 222, 0.06);
}

body.public-landing-active .sr-board::before,
body.public-landing-active .sr-board::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

body.public-landing-active .sr-board::before {
  inset: 22px;
  border: 1px solid rgba(231, 186, 105, 0.1);
  border-radius: 28px;
}

body.public-landing-active .sr-board::after {
  left: 50%;
  top: 50%;
  width: 210px;
  height: 210px;
  border: 1px dashed rgba(183, 145, 74, 0.24);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 60px rgba(183, 145, 74, 0.08);
}

body.public-landing-active .sr-board-grid {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image: none;
  background-size: auto;
  mask-image: none;
}

body.public-landing-active .sr-flow-line {
  position: absolute;
  left: 50%;
  z-index: 1;
  width: 2px;
  height: 120px;
  transform: translateX(-50%);
  background: rgba(215, 180, 109, 0.58);
}

body.public-landing-active .sr-flow-line.person {
  top: 108px;
}

body.public-landing-active .sr-flow-line.event {
  bottom: 108px;
}

body.public-landing-active .sr-route-card {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr;
  align-content: center;
  gap: 8px 16px;
  min-height: 138px;
  border: 1px solid rgba(231, 186, 105, 0.24);
  border-radius: 24px;
  padding: 20px;
  background: rgba(255, 244, 222, 0.065);
  box-shadow: 0 24px 50px -44px rgba(0, 0, 0, 0.95);
}

body.public-landing-active .sr-route-card.person {
  justify-self: start;
  width: 82%;
}

body.public-landing-active .sr-route-card.event {
  justify-self: end;
  width: 82%;
}

body.public-landing-active .sr-route-card i {
  grid-row: span 3;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(183, 145, 74, 0.42);
  border-radius: 18px;
  background: rgba(99, 208, 178, 0.12);
  color: #f2bd62;
  font-family: serif;
  font-size: 1.75rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

body.public-landing-active .sr-route-card strong {
  color: #fff1d4;
  font-family: serif;
  font-size: 1.42rem;
  line-height: 1.1;
}

body.public-landing-active .sr-route-card small {
  color: #c8b694;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.public-landing-active .sr-route-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

body.public-landing-active .sr-route-card div span {
  border: 1px solid rgba(231, 186, 105, 0.19);
  border-radius: 999px;
  background: rgba(9, 8, 7, 0.3);
  color: #d8c4a3;
  padding: 4px 8px;
  font-size: 0.72rem;
  font-weight: 800;
}

body.public-landing-active .sr-report-core {
  position: absolute;
  left: 50%;
  top: 52%;
  z-index: 3;
  width: 150px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  border: 1px solid rgba(183, 145, 74, 0.48);
  border-radius: 50%;
  background: rgba(9, 31, 32, 0.96);
  color: #f5d18a;
  text-align: center;
  transform: translate(-50%, -50%);
  box-shadow: 0 28px 72px -42px rgba(0, 0, 0, 1), 0 0 42px rgba(183, 145, 74, 0.14);
}

body.public-landing-active .sr-report-core span,
body.public-landing-active .sr-report-core small {
  color: #c7aa73;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.public-landing-active .sr-report-core strong {
  color: #fff0cd;
  font-family: serif;
  font-size: 1.26rem;
  line-height: 1.12;
}

body.public-landing-active .oracle-orbit {
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(31rem, 86vw);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(231, 186, 105, 0.18);
  box-shadow: inset 0 0 86px rgba(99, 208, 178, 0.08), 0 0 82px rgba(183, 145, 74, 0.05);
}

body.public-landing-active .oracle-orbit::before,
body.public-landing-active .oracle-orbit::after {
  content: "";
  position: absolute;
  inset: 14%;
  border: 1px dashed rgba(231, 186, 105, 0.18);
  border-radius: 50%;
}

body.public-landing-active .oracle-orbit::after {
  inset: 30%;
  border-style: solid;
  opacity: 0.58;
}

body.public-landing-active .oracle-screen {
  position: absolute;
  right: 0;
  top: 7%;
  width: min(25.5rem, 92vw);
  overflow: hidden;
  border: 1px solid rgba(231, 186, 105, 0.28);
  border-radius: 22px;
  background: rgba(9, 31, 32, 0.96);
  box-shadow: 0 34px 78px -46px rgba(0, 0, 0, 0.96), 0 0 0 1px rgba(255, 255, 255, 0.03);
}

body.public-landing-active .oracle-head {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(231, 186, 105, 0.16);
  color: #e8ca91;
  font-size: 0.82rem;
  font-weight: 800;
}

body.public-landing-active .oracle-dot {
  width: 9px;
  height: 9px;
  margin-right: 38px;
  border-radius: 50%;
  background: #63d0b2;
  box-shadow: 18px 0 #c89442, 36px 0 #6ec5a1;
}

body.public-landing-active .oracle-body {
  padding: 18px;
}

body.public-landing-active .oracle-question {
  border: 1px solid rgba(231, 186, 105, 0.22);
  border-radius: 16px;
  padding: 16px;
  background: rgba(255, 244, 222, 0.05);
  color: #f4dec0;
  font-weight: 900;
  line-height: 1.6;
}

body.public-landing-active .oracle-line {
  height: 9px;
  margin: 14px 0 0;
  border-radius: 999px;
  background: rgba(99, 208, 178, 0.52);
}

body.public-landing-active .oracle-line.short {
  width: 64%;
}

body.public-landing-active .oracle-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 17px 0;
}

body.public-landing-active .oracle-tags span {
  border: 1px solid rgba(231, 186, 105, 0.22);
  border-radius: 999px;
  background: rgba(231, 186, 105, 0.1);
  color: #edcd8e;
  padding: 4px 8px;
  font-size: 0.72rem;
  font-weight: 800;
}

body.public-landing-active .oracle-result {
  border-left: 3px solid #63d0b2;
  padding: 2px 0 2px 13px;
  color: #d2bea0;
  font-size: 0.86rem;
  line-height: 1.72;
}

body.public-landing-active .oracle-card {
  position: absolute;
  left: 0;
  bottom: 8%;
  width: min(14rem, 48vw);
  border: 1px solid rgba(231, 186, 105, 0.24);
  border-radius: 20px;
  background: rgba(255, 244, 222, 0.075);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 16px;
  color: #ead1a8;
  box-shadow: 0 24px 54px -42px rgba(0, 0, 0, 0.95);
}

body.public-landing-active .oracle-card b {
  display: block;
  margin-bottom: 8px;
  color: #f7dfae;
  font-family: serif;
  font-size: 1.08rem;
}

body.public-landing-active .oracle-card p {
  margin: 0;
  color: #c8b694;
  font-size: 0.78rem;
  line-height: 1.7;
}

body.public-landing-active .landing-signal-row {
  gap: 14px;
  margin-top: 16px;
}

body.public-landing-active .landing-signal-card,
body.public-landing-active .landing-quiet-panel {
  border-color: rgba(231, 186, 105, 0.16);
  background: rgba(255, 244, 222, 0.045);
  box-shadow: 0 26px 54px -46px rgba(0, 0, 0, 0.86);
}

body.public-landing-active .landing-signal-card h3,
body.public-landing-active .landing-quiet-panel strong {
  color: #f8dfad;
}

body.public-landing-active .landing-signal-card p,
body.public-landing-active .landing-quiet-panel span,
body.public-landing-active .footer {
  color: #b8a78a;
}

body.public-landing-active .landing-rich-section,
body.public-landing-active .landing-cta-panel {
  position: relative;
  z-index: 1;
  margin-top: clamp(34px, 5vw, 66px);
}

body.public-landing-active .landing-section-head {
  max-width: 690px;
  margin-bottom: 18px;
}

body.public-landing-active .landing-section-head > span,
body.public-landing-active .landing-cta-panel > div > span {
  display: inline-block;
  margin-bottom: 9px;
  color: #efb45b;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body.public-landing-active .landing-section-head h3,
body.public-landing-active .landing-cta-panel strong {
  margin: 0;
  color: #fff1d4;
  font-family: serif;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  line-height: 1.06;
}

body.public-landing-active .landing-section-head p,
body.public-landing-active .landing-cta-panel p {
  max-width: 640px;
  margin: 13px 0 0;
  color: #cbb99a;
  line-height: 1.8;
}

body.public-landing-active .landing-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

body.public-landing-active .landing-module-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(231, 186, 105, 0.16);
  border-radius: 28px;
  background: rgba(255, 244, 222, 0.045);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: 0 34px 72px -58px rgba(0, 0, 0, 0.92);
}

body.public-landing-active .landing-module-card h4 {
  margin: 0 0 12px;
  color: #ffe5b0;
  font-family: serif;
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
  line-height: 1.12;
}

body.public-landing-active .landing-module-card p {
  max-width: 520px;
  margin: 0;
  color: #c5b391;
  line-height: 1.74;
}

body.public-landing-active .landing-mini-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

body.public-landing-active .landing-mini-list span {
  border: 1px solid rgba(231, 186, 105, 0.18);
  border-radius: 999px;
  background: rgba(9, 8, 7, 0.24);
  color: #dfca9e;
  padding: 6px 10px;
  font-size: 0.76rem;
  font-weight: 850;
}

body.public-landing-active .landing-report-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: start;
}

body.public-landing-active .landing-report-steps,
body.public-landing-active .landing-use-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body.public-landing-active .landing-step-card,
body.public-landing-active .landing-use-grid article {
  min-height: 126px;
  border: 1px solid rgba(231, 186, 105, 0.14);
  border-radius: 22px;
  background: rgba(255, 244, 222, 0.04);
  padding: 18px;
}

body.public-landing-active .landing-step-card i {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(239, 180, 91, 0.14);
  color: #f5c46d;
  font-style: normal;
  font-weight: 900;
}

body.public-landing-active .landing-step-card strong,
body.public-landing-active .landing-use-grid strong {
  display: block;
  color: #f8dfad;
  font-size: 1rem;
  font-weight: 900;
}

body.public-landing-active .landing-step-card span,
body.public-landing-active .landing-use-grid span {
  display: block;
  margin-top: 7px;
  color: #bca98b;
  font-size: 0.9rem;
  line-height: 1.62;
}

body.public-landing-active .landing-cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(231, 186, 105, 0.16);
  border-bottom: 1px solid rgba(231, 186, 105, 0.16);
  padding: clamp(28px, 5vw, 48px) 0;
}

body.public-landing-active .landing-cta-panel .btn {
  min-width: 148px;
  border-radius: 999px;
}

@media (max-width: 900px) {
  body.public-landing-active .deep-landing {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  body.public-landing-active .landing-visual {
    min-height: 420px;
  }

  body.public-landing-active .sr-board {
    min-height: 430px;
  }

  body.public-landing-active .oracle-screen {
    right: 50%;
    transform: translateX(50%);
  }

  body.public-landing-active .oracle-card {
    left: 50%;
    bottom: 0;
    width: min(16rem, 80vw);
    transform: translateX(-50%);
  }

  body.public-landing-active .landing-feature-grid,
  body.public-landing-active .landing-report-section {
    grid-template-columns: 1fr;
  }

  body.public-landing-active .landing-report-steps,
  body.public-landing-active .landing-use-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  body.public-landing-active .topbar-inner,
  body.public-landing-active .page {
    width: min(100% - 1rem, 72rem);
  }

  body.public-landing-active .deep-landing {
    min-height: auto;
    padding: 24px 0;
  }

  body.public-landing-active .deep-landing .landing-title {
    font-size: clamp(2.55rem, 14vw, 4.2rem);
  }

  body.public-landing-active .landing-visual {
    min-height: 390px;
  }

  body.public-landing-active .sr-board {
    width: 100%;
    min-height: 400px;
    gap: 64px;
    padding: 18px;
    border-radius: 28px;
  }

  body.public-landing-active .sr-route-card {
    width: 90%;
    min-height: 126px;
    grid-template-columns: auto 1fr;
    gap: 6px 12px;
    padding: 15px;
    border-radius: 20px;
  }

  body.public-landing-active .sr-route-card i {
    width: 48px;
    height: 48px;
    border-radius: 15px;
    font-size: 1.42rem;
  }

  body.public-landing-active .sr-route-card strong {
    font-size: 1.18rem;
  }

  body.public-landing-active .sr-route-card div span {
    padding: 3px 7px;
    font-size: 0.66rem;
  }

  body.public-landing-active .sr-report-core {
    width: 138px;
  }

  body.public-landing-active .sr-report-core strong {
    font-size: 1.12rem;
  }

  body.public-landing-active .oracle-screen {
    width: 100%;
  }

  body.public-landing-active .landing-module-card {
    min-height: 0;
  }

  body.public-landing-active .landing-report-steps,
  body.public-landing-active .landing-use-grid {
    grid-template-columns: 1fr;
  }

  body.public-landing-active .landing-cta-panel {
    align-items: stretch;
    flex-direction: column;
  }

  body.public-landing-active .landing-cta-panel .btn {
    width: 100%;
  }
}

/* Overseas public landing: mineral teal + bronze mystic palette */
body.public-landing-active {
  --bg: #071011;
  --bg-2: #0d1a1c;
  --surface: rgba(225, 246, 235, 0.055);
  --surface-2: rgba(225, 246, 235, 0.09);
  --surface-solid: rgba(8, 19, 20, 0.92);
  --border: rgba(99, 208, 178, 0.18);
  --border-strong: rgba(215, 180, 109, 0.36);
  --text: #f2f5e8;
  --muted: #adc6ba;
  --faint: #708b82;
  --gold: #d7b46d;
  --gold-2: #ecd28f;
  --jade: #63d0b2;
  --rose: #c86754;
  --btn-bg: #63d0b2;
  --btn-ink: #071011;
  --topbar-bg: rgba(7, 16, 17, 0.9);
  background: #071011;
}

body.public-landing-active .aurora {
  opacity: 0.68;
  background: #071011;
  background-size: auto;
}

body.public-landing-active .topbar {
  background: rgba(7, 16, 17, 0.86);
  border-bottom-color: rgba(99, 208, 178, 0.15);
}

body.public-landing-active .brand-glyph {
  background: rgba(99, 208, 178, 0.12);
  box-shadow: 0 0 0 1px rgba(99, 208, 178, 0.22), 0 16px 36px -24px rgba(99, 208, 178, 0.92);
}

body.public-landing-active .brand-text strong,
body.public-landing-active .sr-route-card strong,
body.public-landing-active .landing-section-head h3,
body.public-landing-active .landing-cta-panel strong {
  color: #f2f5e8;
}

body.public-landing-active .navbtn {
  color: #a8bbb0;
}

body.public-landing-active .navbtn.active,
body.public-landing-active .navbtn:hover {
  color: #eff6df;
  background: rgba(99, 208, 178, 0.12);
}

body.public-landing-active .language-select-button,
body.public-landing-active .icon-btn,
body.public-landing-active .account-btn {
  background: rgba(225, 246, 235, 0.055);
  color: #e6f3df;
  border-color: rgba(99, 208, 178, 0.26);
}

body.public-landing-active .account-btn,
body.public-landing-active .deep-landing .btn.primary {
  background: #63d0b2;
  color: #06100f;
  box-shadow: 0 22px 42px -28px rgba(85, 205, 181, 0.95);
}

body.public-landing-active .deep-landing .landing-announcement {
  color: #d8c27f;
  border-color: rgba(99, 208, 178, 0.32);
  background: rgba(99, 208, 178, 0.08);
}

body.public-landing-active .landing-eyebrow,
body.public-landing-active .landing-section-head > span,
body.public-landing-active .landing-cta-panel > div > span {
  color: #87dec6;
}

body.public-landing-active .deep-landing .landing-title {
  color: #f6f3e5;
}

body.public-landing-active .deep-landing .landing-title em {
  color: #d7b46d;
  text-shadow: 0 0 28px rgba(99, 208, 178, 0.2);
}

body.public-landing-active .deep-landing .landing-desc,
body.public-landing-active .landing-section-head p,
body.public-landing-active .landing-cta-panel p {
  color: #b9cbbf;
}

body.public-landing-active .deep-landing .btn.ghost {
  background: rgba(225, 246, 235, 0.04);
  color: #d8c27f;
  border-color: rgba(99, 208, 178, 0.28);
}

body.public-landing-active .landing-proof span,
body.public-landing-active .landing-mini-list span,
body.public-landing-active .sr-route-card div span,
body.public-landing-active .oracle-tags span {
  border-color: rgba(99, 208, 178, 0.2);
  background: rgba(4, 13, 13, 0.34);
  color: #bfd8ca;
}

body.public-landing-active .sr-board {
  border-color: rgba(99, 208, 178, 0.3);
  background: rgba(9, 31, 32, 0.96);
}

body.public-landing-active .sr-board::before {
  border-color: rgba(99, 208, 178, 0.12);
}

body.public-landing-active .sr-board::after {
  border-color: rgba(215, 180, 109, 0.26);
  box-shadow: 0 0 64px rgba(99, 208, 178, 0.1);
}

body.public-landing-active .sr-board-grid {
  background-image: none;
}

body.public-landing-active .sr-flow-line {
  background: rgba(99, 208, 178, 0.58);
}

body.public-landing-active .sr-route-card,
body.public-landing-active .landing-module-card,
body.public-landing-active .landing-step-card,
body.public-landing-active .landing-use-grid article {
  border-color: rgba(99, 208, 178, 0.19);
  background: rgba(225, 246, 235, 0.045);
}

body.public-landing-active .sr-route-card i {
  border-color: rgba(99, 208, 178, 0.48);
  background: rgba(99, 208, 178, 0.12);
  color: #8ee5cd;
}

body.public-landing-active .sr-route-card small,
body.public-landing-active .sr-report-core span,
body.public-landing-active .sr-report-core small {
  color: #d2bd7f;
}

body.public-landing-active .sr-report-core {
  border-color: rgba(215, 180, 109, 0.52);
  background: rgba(9, 31, 32, 0.96);
  color: #dfca88;
  box-shadow: 0 28px 72px -42px rgba(0, 0, 0, 1), 0 0 42px rgba(99, 208, 178, 0.14);
}

body.public-landing-active .sr-report-core strong {
  color: #f7efd9;
}

body.public-landing-active .oracle-orbit {
  border-color: rgba(99, 208, 178, 0.2);
  box-shadow: inset 0 0 86px rgba(99, 208, 178, 0.08), 0 0 82px rgba(215, 180, 109, 0.05);
}

body.public-landing-active .oracle-orbit::before,
body.public-landing-active .oracle-orbit::after {
  border-color: rgba(99, 208, 178, 0.2);
}

body.public-landing-active .oracle-screen {
  border-color: rgba(99, 208, 178, 0.28);
  background: rgba(9, 31, 32, 0.96);
}

body.public-landing-active .oracle-head {
  border-bottom-color: rgba(99, 208, 178, 0.16);
  color: #d8c27f;
}

body.public-landing-active .oracle-dot {
  background: #63d0b2;
  box-shadow: 18px 0 #b7914a, 36px 0 #4f8f82;
}

body.public-landing-active .oracle-question,
body.public-landing-active .oracle-card {
  border-color: rgba(99, 208, 178, 0.22);
  background: rgba(225, 246, 235, 0.055);
  color: #e4efdf;
}

body.public-landing-active .oracle-line {
  background: rgba(99, 208, 178, 0.58);
}

body.public-landing-active .oracle-result {
  border-left-color: #63d0b2;
  color: #b9cbbf;
}

body.public-landing-active .oracle-card b,
body.public-landing-active .landing-module-card h4,
body.public-landing-active .landing-step-card strong,
body.public-landing-active .landing-use-grid strong,
body.public-landing-active .landing-signal-card h3,
body.public-landing-active .landing-quiet-panel strong {
  color: #edf2db;
}

body.public-landing-active .landing-module-card p,
body.public-landing-active .landing-step-card span,
body.public-landing-active .landing-use-grid span,
body.public-landing-active .landing-signal-card p,
body.public-landing-active .landing-quiet-panel span,
body.public-landing-active .footer,
body.public-landing-active .oracle-card p {
  color: #aebfb4;
}

body.public-landing-active .landing-step-card i {
  background: rgba(99, 208, 178, 0.13);
  color: #87dec6;
}

body.public-landing-active .landing-cta-panel {
  border-top-color: rgba(99, 208, 178, 0.16);
  border-bottom-color: rgba(215, 180, 109, 0.18);
}

/* Overseas landing hero layout repair */
body.public-landing-active .deep-landing {
  grid-template-columns: minmax(0, 0.9fr) minmax(390px, 0.74fr);
  gap: clamp(38px, 5.2vw, 72px);
  min-height: min(620px, calc(100vh - 92px));
  align-items: center;
}

body.public-landing-active .deep-landing .landing-copy {
  max-width: 560px;
}

body.public-landing-active .deep-landing .landing-title {
  max-width: 720px;
  font-size: clamp(3rem, 5vw, 4.45rem);
  line-height: 1.02;
  text-wrap: balance;
}

body.public-landing-active .deep-landing .landing-desc {
  max-width: 540px;
}

body.public-landing-active .landing-visual {
  min-height: 0;
  align-self: center;
}

body.public-landing-active .sr-board {
  width: min(30.5rem, 100%);
  min-height: 0;
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 16px;
  padding: 24px;
  overflow: visible;
}

body.public-landing-active .sr-board::after {
  width: 152px;
  height: 152px;
  opacity: 0.52;
}

body.public-landing-active .sr-flow-line {
  display: none;
}

body.public-landing-active .sr-route-card,
body.public-landing-active .sr-route-card.person,
body.public-landing-active .sr-route-card.event {
  width: 100%;
  min-height: 0;
  justify-self: stretch;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 7px 14px;
  align-content: center;
  align-items: center;
  padding: 18px;
}

body.public-landing-active .sr-route-card i {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  font-size: 1.55rem;
  line-height: 1;
  overflow: hidden;
  text-transform: uppercase;
}

body.public-landing-active .sr-route-card strong {
  min-width: 0;
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  line-height: 1.12;
}

body.public-landing-active .sr-route-card small {
  min-width: 0;
  line-height: 1.25;
  letter-spacing: 0.08em;
}

body.public-landing-active .sr-route-card div {
  grid-column: 2;
  min-width: 0;
}

body.public-landing-active .sr-report-core {
  position: relative;
  left: auto;
  top: auto;
  width: 146px;
  padding: 16px;
  margin: 0 auto;
  transform: none;
}

body.public-landing-active .sr-report-core strong {
  max-width: 112px;
  font-size: clamp(1rem, 1.65vw, 1.16rem);
  line-height: 1.12;
}

@media (max-width: 900px) {
  body.public-landing-active .deep-landing {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  body.public-landing-active .deep-landing .landing-copy {
    max-width: 680px;
  }

  body.public-landing-active .landing-visual {
    min-height: 0;
  }

  body.public-landing-active .sr-board {
    width: min(34rem, 100%);
  }
}

@media (max-width: 680px) {
  body.public-landing-active .deep-landing .landing-title {
    font-size: clamp(2.45rem, 12vw, 3.7rem);
  }

  body.public-landing-active .sr-board {
    gap: 14px;
    padding: 16px;
  }

  body.public-landing-active .sr-route-card,
  body.public-landing-active .sr-route-card.person,
  body.public-landing-active .sr-route-card.event {
    grid-template-columns: 50px minmax(0, 1fr);
    padding: 15px;
  }

  body.public-landing-active .sr-route-card i {
    width: 46px;
    height: 46px;
    border-radius: 15px;
    font-size: 1.25rem;
  }

  body.public-landing-active .sr-route-card div {
    grid-column: 1 / -1;
  }

  body.public-landing-active .sr-report-core {
    width: 134px;
  }
}

/* 光圈头像视觉 */
.aperture {
  position: relative;
  width: clamp(190px, 22vw, 260px);
  height: clamp(190px, 22vw, 260px);
  display: grid;
  place-items: center;
}

.aperture.sm {
  width: 132px;
  height: 132px;
}

.aperture-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: transparent;
  padding: 2px;
  -webkit-mask: none;
  mask: none;
  opacity: 0.85;
}

.aperture-ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed var(--border-strong);
  animation: spin 22s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.aperture-core {
  position: relative;
  width: 78%;
  height: 78%;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--gold);
  font-family: serif;
  font-size: 2.6rem;
  font-weight: 900;
}

.aperture-core img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aperture.scanning .scanline {
  display: block;
}

.scanline {
  display: none;
  position: absolute;
  left: 8%;
  right: 8%;
  top: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--scan);
  box-shadow: 0 0 14px 2px var(--scan);
  animation: scan 1.8s ease-in-out infinite;
}

@keyframes scan {
  0%,
  100% {
    top: 14%;
    opacity: 0.2;
  }
  50% {
    top: 84%;
    opacity: 1;
  }
}

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  font-weight: 700;
  font-size: 0.96rem;
  letter-spacing: 0.02em;
  transition: 0.2s;
  white-space: nowrap;
}

.btn:hover {
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn.primary {
  border-color: transparent;
  background: var(--btn-bg);
  color: var(--btn-ink);
  box-shadow: 0 16px 32px -14px rgba(216, 181, 116, 0.55);
}

.btn.ghost {
  background: transparent;
}

.btn.danger {
  color: var(--rose);
  border-color: color-mix(in srgb, var(--rose) 40%, transparent);
  background: color-mix(in srgb, var(--rose) 10%, transparent);
}

.btn.block {
  width: 100%;
}

.btn.sm {
  min-height: 40px;
  font-size: 0.84rem;
  padding: 0 16px;
}

.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.btn-row.stack {
  flex-direction: column;
}

/* ---------------- 首页大入口 ---------------- */
.home-entry-row {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

@media (min-width: 760px) {
  .home-entry-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.home-entry-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(86px, auto) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  min-height: 218px;
  text-align: left;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  padding: 26px;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.home-entry-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: color-mix(in srgb, var(--gold) 5%, transparent);
  transition: opacity 0.28s ease;
  pointer-events: none;
}

.home-entry-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  background: var(--surface-2);
  box-shadow: var(--shadow);
}

.home-entry-card:hover::before {
  opacity: 1;
}

.home-entry-mark {
  width: auto;
  min-width: 86px;
  height: 64px;
  padding: 0 16px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  border: 1px solid var(--border-strong);
  background: var(--chip-bg);
  color: var(--gold);
  font-family: serif;
  font-size: clamp(1.02rem, 1.8vw, 1.28rem);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  text-align: center;
}

.home-entry-copy {
  min-width: 0;
  display: grid;
  gap: 10px;
}

.home-entry-copy strong {
  font-family: serif;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  line-height: 1.16;
}

.home-entry-copy span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

.home-entry-tags {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.home-entry-tags i {
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--muted);
  font-style: normal;
  font-size: 0.76rem;
  padding: 6px 10px;
}

.home-entry-go {
  grid-column: 1 / -1;
  align-self: end;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 800;
}

/* ---------------- 特性行（兼容旧卡片） ---------------- */
.feature-row {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .feature-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tile {
  display: grid;
  gap: 12px;
  text-align: left;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 22px;
  transition: 0.2s;
}

.tile:hover {
  border-color: var(--border-strong);
  background: var(--surface-2);
  transform: translateY(-3px);
}

.tile-kicker {
  width: fit-content;
  border-radius: 999px;
  background: var(--chip-bg);
  border: 1px solid var(--border);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.74rem;
  padding: 5px 10px;
}

.tile strong {
  font-size: 1.08rem;
}

.tile span {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

.tile .tile-go {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 600;
}

/* ---------------- chips / tags ---------------- */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--chip-bg);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 500;
  transition: 0.2s;
}

.chip:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

.chip.active {
  color: var(--btn-ink);
  background: var(--btn-bg);
  border-color: transparent;
  font-weight: 700;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--chip-bg);
  border: 1px solid var(--border);
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 600;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------------- 分段 ---------------- */
.seg {
  display: flex;
  gap: 5px;
  padding: 5px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  width: fit-content;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

.probe-switch {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 16px 16px 14px;
  align-items: center;
  border: 1px solid color-mix(in srgb, var(--jade) 16%, var(--border));
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 14px 40px color-mix(in srgb, var(--jade) 10%, transparent);
  backdrop-filter: blur(10px);
}

.probe-switch .seg,
.probe-switch.seg {
  width: 100%;
}

.probe-groups {
  display: inline-flex;
  gap: 4px;
  justify-self: center;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface-2) 86%, var(--jade) 6%);
  box-shadow: inset 0 1px 3px color-mix(in srgb, var(--jade) 8%, transparent);
}

.probe-module-panel {
  min-width: 0;
}

.probe-modules {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.probe-switch .probe-groups button,
.probe-switch .probe-modules button {
  flex: none;
  min-height: auto;
  border: 1px solid transparent;
  white-space: normal;
  appearance: none;
  font-family: inherit;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

.probe-switch .probe-groups button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 20px;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
}

.probe-switch .probe-groups button strong {
  color: inherit;
  font-size: .92rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.probe-switch .probe-groups button .probe-count {
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 700;
  line-height: 1;
  color: var(--muted);
  background: color-mix(in srgb, var(--jade) 10%, transparent);
  transition: inherit;
}

.probe-switch .probe-modules button {
  width: 100%;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 84px;
  padding: 15px 16px;
  text-align: left;
  border-color: var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 4px 14px color-mix(in srgb, var(--jade) 8%, transparent);
  position: relative;
  overflow: hidden;
}

.probe-switch .probe-modules button::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: 0 99px 99px 0;
  background: var(--jade);
  opacity: 0;
  transition: opacity .18s ease;
}

.probe-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--jade) 28%, var(--border));
  background: color-mix(in srgb, var(--jade) 10%, var(--surface-2));
  color: var(--gold);
  font-style: normal;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(.68rem, 1.1vw, 1.02rem);
  font-weight: 900;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  letter-spacing: 0;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--jade) 8%, transparent);
  transition: inherit;
  overflow: hidden;
}

.probe-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.probe-switch .probe-copy strong {
  color: var(--text);
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: .02em;
}

.probe-switch .probe-copy small {
  color: var(--muted);
  font-size: .74rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.probe-switch .probe-groups button:hover {
  color: var(--text);
}

.probe-switch .probe-modules button:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--jade) 34%, var(--border));
  box-shadow: 0 12px 26px color-mix(in srgb, var(--jade) 12%, transparent);
}

.probe-switch .probe-groups button.active {
  color: var(--btn-ink);
  background-color: var(--jade);
  background: var(--btn-bg);
  box-shadow: 0 5px 14px color-mix(in srgb, var(--jade) 32%, transparent), inset 0 1px 0 rgba(255, 255, 255, .28);
}

.page-head-extra .seg button.active,
.page-head-extra .probe-switch .probe-groups button.active {
  background-color: var(--jade);
  background: var(--jade);
  color: var(--btn-ink);
}

.probe-switch .probe-groups button.active .probe-count {
  color: var(--gold);
  background: var(--surface-2);
}

.probe-switch .probe-modules button.active {
  border-color: color-mix(in srgb, var(--jade) 36%, var(--border-strong));
  background-color: var(--surface-2);
  background: var(--surface-2);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--jade) 13%, transparent);
}

.probe-switch .probe-modules button.active::before {
  opacity: 1;
}

.probe-switch .probe-modules button.active .probe-icon {
  border-color: transparent;
  background: var(--btn-bg);
  color: var(--btn-ink);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--jade) 13%, transparent), 0 6px 14px color-mix(in srgb, var(--jade) 24%, transparent);
}

.probe-switch .probe-modules button.active .probe-copy strong {
  color: var(--jade);
}

.seg::-webkit-scrollbar {
  display: none;
}

.seg button {
  flex: 0 0 112px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  transition: 0.2s;
}

@media (max-width: 1120px) {
  .page-head {
    grid-template-columns: 1fr;
  }

  .page-head-extra {
    justify-content: flex-start;
  }

  .page-head-extra .seg {
    width: fit-content;
  }
}

@media (max-width: 760px) {
  .probe-switch {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .probe-groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .probe-switch .probe-groups button {
    justify-content: center;
    min-height: 42px;
  }

  .probe-modules {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .probe-modules::-webkit-scrollbar {
    display: none;
  }

  .probe-switch .probe-modules button {
    min-width: 230px;
  }

  .probe-switch.probe-event .probe-modules {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }

  .probe-switch.probe-event .probe-modules button {
    min-width: 0;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 9px;
    padding: 13px;
    min-height: 94px;
  }

  .probe-switch.probe-event .probe-icon {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
    font-size: .66rem;
  }

  .probe-switch.probe-event .probe-copy small {
    -webkit-line-clamp: 2;
    font-size: .7rem;
    line-height: 1.45;
  }

  .credit-packages,
  .credit-meta-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .probe-switch.probe-event .probe-modules {
    grid-template-columns: 1fr;
  }

  .probe-switch.probe-event .probe-modules button {
    grid-template-columns: 42px minmax(0, 1fr);
    min-height: 82px;
  }

  .probe-switch.probe-event .probe-icon {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
  }
}

.seg button.active {
  background: var(--surface-2);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.seg-cards {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}

.mode-grid,
.person-list {
  display: grid;
  gap: 12px;
}

.mode-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mode-card {
  display: grid;
  gap: 6px;
  text-align: left;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-2);
  padding: 14px 16px;
  color: var(--muted);
  cursor: pointer;
}

.mode-card strong {
  color: var(--text);
  font-size: .98rem;
}

.mode-card span {
  font-size: .8rem;
  line-height: 1.45;
}

.mode-card.active {
  border-color: color-mix(in srgb, var(--jade) 42%, var(--border-strong));
  background: var(--surface-2);
  box-shadow: var(--shadow-sm);
}

.person-list {
  margin-top: 12px;
}

.person-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface-2);
}

.person-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.person-card-head strong {
  font-size: .95rem;
}

.grid-4 {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.text-btn {
  border: 0;
  background: transparent;
  color: var(--gold);
  font-weight: 700;
  cursor: pointer;
}

.text-btn.danger {
  color: #c76a58;
}

.add-person-btn {
  min-height: 48px;
  width: 100%;
  margin-top: 12px;
  border: 1px dashed color-mix(in srgb, var(--gold) 42%, var(--border));
  border-radius: 14px;
  background: var(--surface-2);
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
  transition: 0.18s ease;
}

.add-person-btn:hover {
  border-color: var(--gold);
  background: color-mix(in srgb, var(--jade) 7%, var(--surface-2));
  color: var(--gold);
}

.evidence-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  background: var(--surface-2);
}

.evidence-item p {
  margin-top: 6px;
  color: var(--muted);
}

.meta-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.meta-row span {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-2);
  padding: 6px 10px;
  color: var(--muted);
  font-size: .82rem;
}

@media (max-width: 760px) {
  .mode-grid,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

.seg-card {
  display: grid;
  gap: 5px;
  text-align: left;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 15px;
  transition: 0.2s;
}

.seg-card strong {
  font-size: 0.94rem;
}

.seg-card span {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.seg-card.active {
  border-color: var(--border-strong);
  background: var(--surface-2);
}

/* ---------------- 表单 ---------------- */
.field {
  display: grid;
  gap: 7px;
}

.field > span {
  color: var(--muted);
  font-size: 0.78rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-2);
  padding: 13px 14px;
  font-size: 0.94rem;
  outline: none;
  transition: 0.2s;
}

.field input,
.field select {
  min-height: 56px;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.6;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 18%, transparent);
}

.voice-input-wrap {
  --voice-button-size: 48px;
  --voice-button-right: 12px;
  --voice-icon-size: 28px;
  position: relative;
  display: block;
  width: 100%;
}

.voice-input-wrap input,
.voice-input-wrap textarea {
  display: block;
  width: 100%;
  padding-right: calc(var(--voice-button-size) + var(--voice-button-right) + 16px);
}

.voice-trigger {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: var(--voice-button-right);
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: var(--voice-button-size);
  height: var(--voice-button-size);
  min-width: var(--voice-button-size);
  min-height: var(--voice-button-size);
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--gold) 35%, var(--border));
  border-radius: 999px;
  background: var(--surface-2);
  color: transparent;
  appearance: none;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(32, 24, 15, 0.06), inset 0 0 0 1px rgba(255, 255, 255, 0.85);
  transition: 0.18s ease;
}

.voice-trigger::before {
  content: "";
  width: var(--voice-icon-size);
  height: var(--voice-icon-size);
  display: block;
  transform: translateY(-0.5px);
  transform-origin: center;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 14.3c1.75 0 3.05-1.3 3.05-3.05V5.3c0-1.75-1.3-3.05-3.05-3.05S8.95 3.55 8.95 5.3v5.95c0 1.75 1.3 3.05 3.05 3.05Z' stroke='%232f9c86' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M5.8 10.6c0 3.25 2.45 5.8 6.2 5.8s6.2-2.55 6.2-5.8M12 16.4v4.1M8.7 20.5h6.6' stroke='%23b8914b' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.voice-input-wrap textarea + .voice-trigger {
  top: 50%;
  transform: translateY(-50%);
}

.voice-trigger:hover {
  border-color: var(--gold);
  background: color-mix(in srgb, var(--jade) 8%, var(--surface-2));
  box-shadow: 0 10px 24px color-mix(in srgb, var(--jade) 14%, transparent);
}

.voice-trigger.listening {
  border-color: var(--rose);
  background: color-mix(in srgb, var(--rose) 10%, var(--surface-2));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--rose) 13%, transparent), 0 10px 24px color-mix(in srgb, var(--rose) 18%, transparent);
}

.voice-trigger.listening::before {
  transform: translateY(-0.5px) scale(1.06);
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23d8b574' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  padding-right: 2.1rem;
}

.avatar-source-title {
  display: grid;
  gap: 4px;
  margin-bottom: 10px;
}

.avatar-source-title span {
  color: var(--muted);
  font-size: 0.78rem;
}

.avatar-source-title small {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.avatar-source-preview {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  background: var(--chip-bg);
  padding: 10px;
  margin-bottom: 10px;
}

.avatar-source-preview img,
.avatar-source-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.avatar-source-preview img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid var(--border);
}

.avatar-source-preview div,
.avatar-source-copy {
  min-width: 0;
}

.avatar-source-preview span,
.avatar-source-copy strong {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
}

.avatar-source-preview strong,
.avatar-source-copy small,
.avatar-source-preview small {
  overflow: hidden;
  text-overflow: ellipsis;
}

.avatar-source-preview strong {
  display: block;
  color: var(--text);
  font-size: 0.94rem;
  margin-top: 2px;
  white-space: nowrap;
}

.avatar-source-preview small {
  display: -webkit-box;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.avatar-source-list {
  display: grid;
  gap: 8px;
  max-height: 220px;
  overflow-y: auto;
  padding-right: 4px;
}

.avatar-source-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-2);
  padding: 8px;
  text-align: left;
  cursor: pointer;
}

.avatar-source-item.active {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 14%, transparent);
}

.avatar-source-item.disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.avatar-source-thumb {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.68rem;
}

.avatar-source-copy {
  display: grid;
  gap: 2px;
}

.avatar-source-copy strong {
  white-space: nowrap;
}

.avatar-source-copy small {
  display: -webkit-box;
  color: var(--text);
  font-size: 0.78rem;
  line-height: 1.45;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.avatar-source-badge {
  border-radius: 999px;
  background: var(--chip-bg);
  color: var(--gold);
  padding: 4px 8px;
  font-size: 0.7rem;
  font-weight: 800;
}

.feedback-saved {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid color-mix(in srgb, var(--green) 36%, var(--border));
  background: color-mix(in srgb, var(--green) 8%, var(--surface));
  border-radius: 14px;
  padding: 12px 14px;
  margin-top: 12px;
}

.feedback-saved strong {
  color: var(--green);
  font-size: 0.9rem;
}

.feedback-saved span {
  color: var(--muted);
  font-size: 0.78rem;
}

.feedback-rating-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.feedback-rating {
  display: grid;
  gap: 5px;
  min-height: 74px;
  align-content: center;
  text-align: left;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  padding: 12px 14px;
  transition: 0.18s ease;
}

.feedback-rating:hover {
  border-color: var(--border-strong);
  background: var(--surface-2);
}

.feedback-rating.active {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 14%, transparent);
}

.feedback-rating strong {
  color: var(--text);
  font-size: 0.96rem;
}

.feedback-rating span {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.4;
}

.feedback-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

@media (max-width: 640px) {
  .feedback-rating-row {
    grid-template-columns: 1fr;
  }
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 520px) {
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------------- 上传 ---------------- */
.upload {
  display: grid;
  gap: 14px;
  justify-items: center;
  text-align: center;
  border: 1px dashed var(--border-strong);
  border-radius: 18px;
  background: var(--surface);
  padding: 28px 18px;
  cursor: pointer;
  transition: 0.2s;
}

.upload:hover {
  background: var(--surface-2);
}

.upload-thumb {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
}

.upload-thumb.placeholder {
  display: grid;
  place-items: center;
  color: transparent;
  --upload-plus-color: var(--faint);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  position: relative;
}

.upload-thumb.placeholder::before {
  content: "+";
  color: var(--upload-plus-color);
  font-family: Arial, sans-serif;
  font-size: inherit;
  font-weight: inherit;
}

.upload strong {
  font-size: 0.98rem;
}

.upload span:not(.upload-thumb) {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
  max-width: 24rem;
}

.upload input[type="file"] {
  display: none;
}

.upload.is-preparing {
  cursor: progress;
  border-style: solid;
  border-color: color-mix(in srgb, var(--jade) 46%, var(--gold) 22%);
  background: color-mix(in srgb, var(--surface-2) 92%, var(--jade) 4%);
}

.upload.is-preparing .upload-thumb {
  opacity: 0.82;
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--jade) 12%, transparent);
}

.upload .upload-inline-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 28px;
  margin-top: -4px;
  padding: 5px 10px;
  border: 1px solid color-mix(in srgb, var(--jade) 30%, var(--border));
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface-solid) 88%, var(--jade) 7%);
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1;
}

.upload-inline-status i,
.scrim-progress-head span > i {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border: 2px solid color-mix(in srgb, var(--jade) 28%, transparent);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: upload-status-spin 0.72s linear infinite;
}

@keyframes upload-status-spin {
  to { transform: rotate(360deg); }
}

/* ---------------- 同意/提示 ---------------- */
.consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--chip-bg);
  padding: 14px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
  cursor: pointer;
}

.consent input {
  flex: none;
  width: 19px;
  height: 19px;
  margin-top: 2px;
  accent-color: var(--gold);
}

.note {
  display: flex;
  gap: 10px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--chip-bg);
  padding: 13px 14px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.62;
}

.note::before {
  content: "ⓘ";
  color: var(--gold);
  font-size: 0.92rem;
  line-height: 1.5;
}

.note.warn {
  border-color: color-mix(in srgb, var(--rose) 35%, transparent);
  background: color-mix(in srgb, var(--rose) 9%, transparent);
  color: var(--text);
}

.note.warn::before {
  content: "!";
  font-weight: 900;
  color: var(--rose);
}

/* ---------------- 报告 ---------------- */
.verdict {
  border-radius: 22px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 26px;
}

.verdict .kicker {
  color: var(--gold);
}

.verdict h3 {
  margin: 10px 0 0;
  font-family: serif;
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  line-height: 1.45;
  font-weight: 700;
}

.verdict .lede {
  margin: 14px 0 0;
  font-size: 1rem;
  line-height: 1.85;
}

.advice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 700px) {
  .advice-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .advice-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.advice-item {
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 15px;
  min-width: 0;
}

.advice-item span {
  display: block;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.advice-item strong {
  display: block;
  margin-top: 7px;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.55;
}

.advice-item .muted {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.do-list {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: do;
}

.do-list li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 11px;
  align-items: start;
  font-size: 0.9rem;
  line-height: 1.62;
}

.do-list li::before {
  content: counter(do);
  counter-increment: do;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--chip-bg);
  border: 1px solid var(--border);
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 700;
}

.report-blocks {
  display: grid;
  gap: 14px;
}

.report-block {
  border-left: 2px solid var(--border-strong);
  padding: 2px 0 2px 16px;
}

.report-block strong {
  display: block;
  font-family: serif;
  font-size: 1.02rem;
  margin-bottom: 7px;
}

.report-block p {
  margin: 4px 0;
  font-size: 0.86rem;
  line-height: 1.64;
}

.report-block p b {
  color: var(--gold);
  font-weight: 600;
  margin-right: 5px;
}

.agent-diagnostics {
  border-style: dashed;
}

.agent-diagnostics-details {
  margin-top: 12px;
}

.agent-diagnostics-details summary {
  cursor: pointer;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  padding: 12px 14px;
}

.agent-diagnostics-details summary::-webkit-details-marker {
  display: none;
}

.agent-diagnostics-details summary span {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
}

.agent-diagnostics-details summary strong {
  font-family: serif;
  font-size: 1.2rem;
}

.agent-diagnostics-details summary small {
  color: var(--muted);
  font-size: 0.78rem;
}

.agent-diagnostics-body {
  display: grid;
  gap: 12px;
  padding-top: 14px;
}

.agent-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.agent-check,
.agent-step {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  padding: 10px 12px;
}

.agent-check {
  display: grid;
  gap: 4px;
}

.agent-check span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
}

.agent-check strong {
  font-size: 0.86rem;
}

.agent-check small {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.agent-check.fail {
  border-color: color-mix(in srgb, var(--rose) 38%, transparent);
}

.agent-check.fail span,
.agent-step.fail small {
  color: var(--rose);
}

.agent-check.warn span,
.agent-step.running small {
  color: var(--gold);
}

.agent-step-list {
  display: grid;
  gap: 8px;
}

.agent-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.agent-step span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.84rem;
}

.agent-step small {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.76rem;
}

@media (max-width: 560px) {
  .agent-diagnostics-details summary {
    grid-template-columns: 1fr auto;
  }

  .agent-diagnostics-details summary small {
    grid-column: 1 / -1;
  }

  .agent-check-grid {
    grid-template-columns: 1fr;
  }
}

/* 价格 */
.pay-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-radius: 16px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  padding: 16px 18px;
}

.pay-bar .price {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.pay-bar .price b {
  font-family: serif;
  font-size: 1.9rem;
  color: var(--gold);
}

.pay-bar .price small {
  color: var(--muted);
  font-size: 0.76rem;
}

/* ---------------- 头像方案 ---------------- */
.avatar-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 640px) {
  .avatar-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 960px) {
  .avatar-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.avatar-card {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.avatar-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.avatar-card figcaption {
  display: grid;
  gap: 8px;
  padding: 13px;
}

.avatar-card strong {
  font-size: 0.88rem;
}

.avatar-card span {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

/* ---------------- 八字柱 ---------------- */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 11px;
}

.pillar {
  display: grid;
  gap: 7px;
  place-items: center;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 18px 8px;
}

.pillar span {
  color: var(--muted);
  font-size: 0.72rem;
}

.pillar strong {
  font-family: serif;
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1.1;
  text-align: center;
}

/* ---------------- 表格 ---------------- */
.table-wrap {
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid var(--border);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 12px 14px;
  text-align: left;
  font-size: 0.84rem;
  line-height: 1.5;
  border-bottom: 1px solid var(--border);
}

th {
  background: var(--chip-bg);
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}

tr:last-child td {
  border-bottom: 0;
}

/* ---------------- 进度 ---------------- */
.steps {
  display: grid;
  gap: 9px;
}

.step {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  align-items: center;
  gap: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 12px 14px;
  font-size: 0.86rem;
}

.step .dot {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--faint);
  font-size: 0.7rem;
}

.step.done {
  border-color: color-mix(in srgb, var(--jade) 38%, transparent);
}

.step.done .dot {
  background: var(--jade);
  border-color: transparent;
  color: var(--btn-ink);
}

.step .val {
  color: var(--muted);
  font-size: 0.8rem;
  max-width: 10rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------------- 守卫页 ---------------- */
.guard {
  display: grid;
  gap: 16px;
  justify-items: center;
  text-align: center;
  padding: 40px 20px;
}

.guard h3 {
  margin: 0;
  font-family: serif;
  font-size: 1.3rem;
}

.guard p {
  margin: 0;
  max-width: 24rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ---------------- 非阻断任务浮条 ---------------- */
.scrim {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 80;
  display: grid;
  width: min(380px, calc(100vw - 36px));
  gap: 10px;
  padding: 14px;
  border: 1px solid color-mix(in srgb, var(--border) 72%, var(--gold) 18%);
  border-radius: 14px;
  background: var(--surface-solid);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.26);
  animation: task-dock-in 0.22s ease-out;
}

.scrim[hidden] {
  display: none;
}

.scrim p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.55;
  text-align: left;
  padding: 0;
}

.scrim-progress {
  display: grid;
  gap: 8px;
}

.scrim-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 0.82rem;
}

.scrim-progress-head span,
.scrim-progress-head strong {
  white-space: nowrap;
}

.scrim-progress-head span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.scrim-progress-head strong {
  color: var(--gold);
  font-size: 1rem;
}

.scrim-progress-track {
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}

.scrim-progress-track i {
  display: block;
  height: 100%;
  min-width: 8px;
  border-radius: inherit;
  background: var(--btn-bg);
  box-shadow: 0 0 18px color-mix(in srgb, var(--gold) 52%, transparent);
  transition: width 0.45s ease;
}

.scrim-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 0;
}

.scrim-cancel,
.scrim-home {
  min-width: 92px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.scrim-cancel {
  background: transparent;
  color: var(--gold-2);
  border-color: color-mix(in srgb, var(--gold) 42%, var(--border));
}

.scrim-home:hover,
.scrim-cancel:hover {
  transform: translateY(-1px);
  border-color: var(--border-strong);
}

/* ---------------- 横幅 ---------------- */
.banner {
  border-radius: 14px;
  padding: 13px 16px;
  font-size: 0.84rem;
  line-height: 1.6;
  border: 1px solid color-mix(in srgb, var(--rose) 38%, transparent);
  background: color-mix(in srgb, var(--rose) 11%, transparent);
  color: var(--text);
}

.muted {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

.stack {
  display: grid;
  gap: 14px;
}

.privacy-card {
  max-width: 960px;
  margin-inline: auto;
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.privacy-grid > div,
.privacy-list li {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: color-mix(in srgb, var(--panel) 82%, transparent);
  padding: 14px;
}

.privacy-grid strong,
.privacy-list span {
  display: block;
  color: var(--text);
  font-weight: 800;
  margin-bottom: 6px;
}

.privacy-grid span,
.privacy-list p {
  display: block;
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.75;
}

.privacy-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

.legal-doc-sections {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.legal-doc-sections section {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  background: color-mix(in srgb, var(--panel) 84%, transparent);
}

.legal-doc-sections h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.legal-doc-sections p,
.legal-consent {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

.legal-consent {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: color-mix(in srgb, var(--paper) 70%, transparent);
}

.legal-consent button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--accent-strong);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

footer.legal {
  margin-top: 8px;
  text-align: center;
  color: var(--faint);
  font-size: 0.72rem;
  line-height: 1.7;
  padding: 8px;
}

.legal-link {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  border: 0;
  background: transparent;
  color: var(--accent-strong);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.legal-link:hover {
  text-decoration: underline;
}

/* ---------------- 2026-07 visual system consolidation ----------------
   Direction: ink-wash depth + jade restraint + antique bronze focus.
   This block intentionally overrides earlier experimental layers without
   touching product logic. */
body[data-theme="night"] {
  --bg: #04100f;
  --bg-2: #081817;
  --surface: rgba(14, 32, 29, 0.92);
  --surface-2: rgba(18, 40, 36, 0.96);
  --surface-solid: #0b1b19;
  --panel: #0d201d;
  --paper: #11251f;
  --border: rgba(120, 170, 151, 0.18);
  --border-strong: rgba(198, 157, 88, 0.42);
  --text: #f1efe2;
  --muted: #b5c6bb;
  --faint: #789088;
  --gold: #c69d58;
  --gold-2: #e4c782;
  --jade: #57bfa8;
  --green: #57bfa8;
  --rose: #c56f5d;
  --btn-bg: #c69d58;
  --btn-ink: #07110f;
  --chip-bg: rgba(87, 191, 168, 0.1);
  --accent-strong: #e4c782;
  --shadow: 0 28px 78px -42px rgba(0, 0, 0, 0.9);
  --shadow-sm: 0 14px 36px -24px rgba(0, 0, 0, 0.74);
  --scan: rgba(198, 157, 88, 0.82);
  --topbar-bg: rgba(4, 16, 15, 0.92);
}

body[data-theme="dawn"] {
  --bg: #eef4ee;
  --bg-2: #f7f2e6;
  --surface: rgba(255, 253, 244, 0.94);
  --surface-2: #fffaf0;
  --surface-solid: #fffaf0;
  --panel: #fff8ed;
  --paper: #f7efe2;
  --border: rgba(47, 112, 97, 0.16);
  --border-strong: rgba(168, 126, 57, 0.42);
  --text: #182522;
  --muted: #657970;
  --faint: #91a49b;
  --gold: #a87e39;
  --gold-2: #c79c4f;
  --jade: #2f907d;
  --green: #2f907d;
  --rose: #af6856;
  --btn-bg: #a87e39;
  --btn-ink: #fffaf0;
  --chip-bg: rgba(47, 144, 125, 0.1);
  --accent-strong: #a87e39;
}

body,
.aurora {
  background: var(--bg) !important;
}

.topbar {
  box-shadow: 0 1px 0 rgba(198, 157, 88, 0.06);
}

body[data-theme="night"] .topbar {
  background: rgba(4, 16, 15, 0.9);
}

.brand-glyph,
.icon-btn,
.language-select-button,
.account-btn.logged {
  background: color-mix(in srgb, var(--surface-solid) 88%, var(--gold) 4%);
}

.brand-text strong,
.page-eyebrow,
.card-head .kicker,
.tile-kicker {
  color: var(--gold-2);
}

.navbtn.active,
.navbtn:hover {
  color: var(--gold-2);
  background: color-mix(in srgb, var(--gold) 13%, transparent);
}

.language-select-button {
  box-shadow: none;
}

.language-menu {
  background: color-mix(in srgb, var(--surface-solid) 96%, black 4%);
  border-color: color-mix(in srgb, var(--gold) 36%, var(--border));
  box-shadow: 0 24px 70px -35px rgba(0, 0, 0, 0.95);
}

.language-option {
  color: color-mix(in srgb, var(--muted) 90%, var(--text) 10%);
}

.language-option:hover,
.language-option:focus-visible {
  background: color-mix(in srgb, var(--jade) 11%, transparent);
  color: var(--text);
}

.language-option.active {
  background: color-mix(in srgb, var(--gold) 17%, var(--jade) 5%);
  color: var(--gold-2);
}

body[data-theme="night"] select option {
  background-color: #071412;
  color: #f1efe2;
}

body[data-theme="night"] select option:checked {
  background-color: #1b2c25;
  color: #e4c782;
}

.card,
.report-main,
.report-history-panel,
.report-left,
.report-right,
.community-side,
.community-center,
.profile-card,
.credit-card {
  background: color-mix(in srgb, var(--surface-solid) 92%, var(--gold) 2%);
  border-color: color-mix(in srgb, var(--border) 78%, var(--gold) 10%);
  box-shadow: var(--shadow-sm);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.card.lifted,
.home-entry-card:hover,
.probe-switch,
.landing-module-card,
.landing-step-card,
.landing-use-grid article {
  box-shadow: var(--shadow);
}

.btn {
  border-color: color-mix(in srgb, var(--border) 80%, var(--gold) 10%);
  background: color-mix(in srgb, var(--surface-2) 94%, var(--gold) 3%);
  color: var(--text);
}

.btn.primary,
.account-btn:not(.logged) {
  background: var(--btn-bg);
  color: var(--btn-ink);
  border-color: color-mix(in srgb, var(--gold) 70%, transparent);
  box-shadow: 0 18px 34px -24px color-mix(in srgb, var(--gold) 70%, black);
}

.btn.primary:hover,
.account-btn:not(.logged):hover {
  background: var(--gold-2);
  transform: translateY(-1px);
}

.btn.ghost,
body[data-theme="night"] .btn.ghost {
  background: transparent;
  color: color-mix(in srgb, var(--text) 88%, var(--gold) 12%);
  border-color: color-mix(in srgb, var(--border) 70%, var(--gold) 18%);
}

.field input,
.field select,
.field textarea,
.voice-input-wrap input,
.voice-input-wrap textarea {
  background: color-mix(in srgb, var(--surface-solid) 88%, var(--jade) 4%);
  border-color: color-mix(in srgb, var(--border) 84%, var(--jade) 10%);
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.voice-input-wrap input:focus,
.voice-input-wrap textarea:focus {
  border-color: color-mix(in srgb, var(--jade) 44%, var(--gold) 18%);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--jade) 13%, transparent);
}

.voice-trigger {
  border-color: color-mix(in srgb, var(--gold) 44%, var(--border));
  background-color: color-mix(in srgb, var(--surface-solid) 90%, var(--gold) 6%);
}

.home-entry-card {
  background: color-mix(in srgb, var(--surface-solid) 92%, var(--jade) 3%);
  border-color: color-mix(in srgb, var(--border) 80%, var(--gold) 9%);
}

.home-entry-card::before {
  background: color-mix(in srgb, var(--gold) 6%, transparent);
}

.home-entry-mark,
.landing-entry-mark,
.probe-icon,
.profile-avatar,
.upload-thumb.placeholder,
.aperture-core {
  background: color-mix(in srgb, var(--surface-solid) 82%, var(--gold) 5%);
  border-color: color-mix(in srgb, var(--gold) 40%, var(--jade) 12%);
  color: var(--gold-2);
}

.aperture.sm .aperture-core {
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
}

.aperture-core {
  text-align: center;
  line-height: 1;
  padding-inline: 8px;
}

.profile-avatar-action {
  min-width: 112px;
  max-width: none;
  background: color-mix(in srgb, var(--surface-solid) 90%, var(--gold) 8%);
  color: var(--text);
}

.probe-switch {
  background: color-mix(in srgb, var(--surface-solid) 91%, var(--jade) 4%);
  border-color: color-mix(in srgb, var(--jade) 22%, var(--gold) 12%);
  backdrop-filter: none;
}

.probe-groups {
  background: color-mix(in srgb, var(--surface-solid) 86%, var(--gold) 5%);
}

.probe-switch .probe-groups button.active,
.page-head-extra .seg button.active,
.page-head-extra .probe-switch .probe-groups button.active {
  background: var(--gold);
  color: var(--btn-ink);
  box-shadow: none;
}

.probe-switch .probe-modules button {
  background: color-mix(in srgb, var(--surface-solid) 92%, var(--jade) 2%);
  box-shadow: none;
}

.probe-switch .probe-modules button.active {
  border-color: color-mix(in srgb, var(--gold) 52%, var(--jade) 12%);
  background: color-mix(in srgb, var(--surface-solid) 86%, var(--gold) 8%);
  box-shadow: inset 3px 0 0 var(--gold);
}

.probe-switch .probe-modules button.active::before {
  opacity: 0;
}

.probe-switch .probe-modules button.active .probe-icon {
  background: var(--gold);
  color: var(--btn-ink);
  box-shadow: none;
}

.probe-switch .probe-modules button.active .probe-copy strong {
  color: var(--gold-2);
}

.probe-icon {
  font-size: clamp(0.64rem, 0.78vw, 0.82rem);
  letter-spacing: 0;
  overflow: hidden;
}

.person-card {
  background: color-mix(in srgb, var(--surface-solid) 88%, var(--jade) 5%);
}

.add-person-btn,
.upload {
  background: color-mix(in srgb, var(--surface-solid) 90%, var(--jade) 4%);
  border-color: color-mix(in srgb, var(--border) 70%, var(--gold) 16%);
}

.credit-balance,
.credit-package,
.credit-meta-grid div,
.seg-card,
.mode-card,
.person-card {
  border-color: color-mix(in srgb, var(--border) 76%, var(--gold) 10%);
}

body.public-landing-active {
  --bg: #04100f;
  --bg-2: #081817;
  --surface: rgba(14, 32, 29, 0.92);
  --surface-2: rgba(18, 40, 36, 0.96);
  --surface-solid: #0b1b19;
  --border: rgba(120, 170, 151, 0.18);
  --border-strong: rgba(198, 157, 88, 0.42);
  --text: #f1efe2;
  --muted: #b5c6bb;
  --faint: #789088;
  --gold: #c69d58;
  --gold-2: #e4c782;
  --jade: #57bfa8;
  --btn-bg: #c69d58;
  --btn-ink: #07110f;
  background: var(--bg);
}

body.public-landing-active .deep-landing {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding-inline: clamp(8px, 3vw, 28px);
}

body.public-landing-active .landing-announcement,
body.public-landing-active .deep-landing .landing-announcement {
  border-color: color-mix(in srgb, var(--gold) 30%, var(--jade) 12%);
  background: color-mix(in srgb, var(--gold) 11%, transparent);
  color: var(--gold-2);
}

body.public-landing-active .deep-landing .btn.primary,
body.public-landing-active .account-btn {
  background: var(--btn-bg);
  color: var(--btn-ink);
  box-shadow: 0 22px 44px -30px color-mix(in srgb, var(--gold) 75%, black);
}

body.public-landing-active .deep-landing .landing-title em,
body.public-landing-active .sr-report-core,
body.public-landing-active .sr-report-core strong {
  color: var(--gold-2);
}

body.public-landing-active .sr-board,
body.public-landing-active .oracle-screen,
body.public-landing-active .landing-signal-card,
body.public-landing-active .landing-quiet-panel,
body.public-landing-active .landing-module-card,
body.public-landing-active .landing-step-card,
body.public-landing-active .landing-use-grid article {
  background: color-mix(in srgb, var(--surface-solid) 88%, var(--jade) 3%);
  border-color: color-mix(in srgb, var(--border) 74%, var(--gold) 12%);
}

body.public-landing-active .sr-route-card,
body.public-landing-active .sr-route-card.person,
body.public-landing-active .sr-route-card.event {
  background: color-mix(in srgb, var(--surface-solid) 86%, var(--gold) 4%);
  border-color: color-mix(in srgb, var(--gold) 30%, var(--jade) 8%);
}

body.public-landing-active .sr-route-card i {
  background: color-mix(in srgb, var(--surface-solid) 75%, var(--gold) 8%);
  border-color: color-mix(in srgb, var(--gold) 42%, var(--jade) 10%);
  color: var(--gold-2);
}

body.public-landing-active .sr-route-card div span,
body.public-landing-active .landing-proof span,
body.public-landing-active .landing-mini-list span,
body.public-landing-active .oracle-tags span {
  background: color-mix(in srgb, var(--surface-solid) 82%, var(--jade) 4%);
  border-color: color-mix(in srgb, var(--border) 78%, var(--gold) 10%);
  color: color-mix(in srgb, var(--muted) 88%, var(--text) 12%);
}

@media (max-width: 680px) {
  .probe-icon {
    font-size: 0.64rem;
  }

  .profile-avatar-action {
    min-width: 104px;
    font-size: 0.68rem;
  }
}

/* 移动端：导航靠左滚动、隐藏品牌副标题 */
@media (max-width: 1100px) {
  .topbar-inner {
    flex-wrap: wrap;
    gap: 8px;
    padding-inline: 14px;
  }
  .brand {
    flex: 1 1 210px;
    gap: 8px;
  }
  .brand-glyph {
    width: 34px;
    height: 34px;
    border-radius: 11px;
  }
  .brand-text strong {
    font-size: 0.96rem;
    letter-spacing: 0.02em;
  }
  .brand-text small {
    display: none;
  }
  .navbtn {
    padding: 8px 7px;
    font-size: 0.78rem;
    line-height: 1;
  }
  .topnav {
    order: 3;
    flex: 1 0 100%;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 3px;
    padding: 0;
    overflow-x: visible;
  }
  .language-select-button {
    min-width: 104px;
    max-width: 132px;
  }
  .account-btn {
    max-width: 104px;
  }
}

@media (max-width: 720px) {
  .topnav {
    justify-content: space-between;
    gap: 2px;
  }
  .navbtn {
    min-width: 0;
    padding: 7px 5px;
    border-radius: 9px;
    font-size: 0.68rem;
  }
  .brand-text small {
    display: none;
  }
  .language-select-button {
    min-width: 86px;
    max-width: 110px;
    padding-left: 10px;
    padding-right: 28px;
    font-size: 0.76rem;
  }
  .privacy-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  body.overseas-auth-active .page {
    padding-top: 12px;
    padding-bottom: 30px;
  }

  body.overseas-auth-active .overseas-auth-page {
    gap: 22px;
  }

  body.overseas-auth-active .overseas-auth-mark {
    margin-bottom: 26px;
  }

  body.overseas-auth-active .overseas-auth-copy {
    gap: 8px;
    margin-bottom: 22px;
  }

  body.overseas-auth-active .overseas-auth-copy h1 {
    font-size: clamp(1.7rem, 9vw, 2.05rem);
  }

  body.overseas-auth-active .overseas-auth-visual {
    width: min(100%, 300px);
    max-height: 150px;
  }

  body.overseas-auth-active .auth-compass {
    width: min(68vw, 270px);
  }

  body.overseas-auth-active .overseas-auth-legal {
    margin-top: 22px;
  }
}

/* 海外登录页固定浅色体验，避免被全站主题变量覆盖。 */
body.overseas-auth-active {
  --bg: #f6f8f7;
  --bg-2: #eef4f1;
  --surface: rgba(255, 255, 255, 0.74);
  --surface-2: #ffffff;
  --surface-solid: #ffffff;
  --panel: #ffffff;
  --paper: #f4f7f5;
  --border: rgba(27, 45, 41, 0.12);
  --border-strong: rgba(27, 45, 41, 0.2);
  --text: #151b19;
  --muted: #63716c;
  --faint: #9ba8a3;
  --gold: #6e7f72;
  --gold-2: #2f5d51;
  --jade: #246e61;
  --green: #246e61;
  --btn-bg: #161a18;
  --btn-ink: #ffffff;
  --accent-strong: #2f5d51;
  --topbar-bg: rgba(246, 248, 247, 0.82);
  background: #f6f8f7 !important;
  color-scheme: light;
}

body.overseas-auth-active .aurora {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(246, 248, 247, 0.92) 44%, rgba(236, 242, 239, 0.86) 100%),
    repeating-linear-gradient(90deg, rgba(21, 27, 25, 0.026) 0 1px, transparent 1px 96px) !important;
  opacity: 1;
}

body.overseas-auth-active .topbar {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
}

body.overseas-auth-active .brand-glyph {
  border-color: rgba(21, 27, 25, 0.16);
  background: #ffffff;
  color: #202624;
  box-shadow: 0 10px 24px rgba(27, 45, 41, 0.08);
}

body.overseas-auth-active .brand-text strong {
  color: #202624;
}

body.overseas-auth-active .brand-text small,
body.overseas-auth-active .language-select-button {
  color: #7a8682;
}

body.overseas-auth-active .language-select-button {
  background: transparent;
  border-color: transparent;
}

body.overseas-auth-active .overseas-auth-tabs button {
  border-color: rgba(27, 45, 41, 0.12);
  background: rgba(255, 255, 255, 0.74);
  color: #6b7773;
  box-shadow: none;
}

body.overseas-auth-active .overseas-auth-tabs button.active {
  background: #161a18;
  border-color: #161a18;
  color: #ffffff;
}

body.overseas-auth-active .overseas-auth-panel .field input {
  border-color: rgba(27, 45, 41, 0.13);
  background: rgba(255, 255, 255, 0.92);
  color: #151b19;
  box-shadow: 0 8px 20px rgba(27, 45, 41, 0.055);
}

body.overseas-auth-active .overseas-auth-panel .field input::placeholder {
  color: #7b8782;
}

body.overseas-auth-active .btn.auth-inline {
  background: transparent;
  color: #235f54;
  border: 0;
  box-shadow: none;
}

body.overseas-auth-active .overseas-auth-primary,
body.overseas-auth-active .btn.primary.overseas-auth-primary {
  background: linear-gradient(180deg, #202522, #111513);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 18px 34px rgba(17, 21, 19, 0.22);
}

body.overseas-auth-active .overseas-oauth-btn,
body.overseas-auth-active .btn.ghost.overseas-oauth-btn {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(27, 45, 41, 0.13);
  color: #151b19;
  box-shadow: 0 8px 20px rgba(27, 45, 41, 0.055);
}

/* FateTell-inspired overseas login refresh. Keep the real auth flow, change only presentation. */
body.overseas-auth-active {
  --bg: #fafafa;
  --bg-2: #fafafa;
  --surface: #ffffff;
  --surface-2: #ffffff;
  --surface-solid: #ffffff;
  --panel: #ffffff;
  --paper: #fafafa;
  --border: rgba(15, 23, 42, 0.11);
  --text: #111111;
  --muted: #667085;
  --faint: #98a2b3;
  --btn-bg: #1c1c1c;
  --btn-ink: #ffffff;
  background: #fafafa !important;
}

body.overseas-auth-active .aurora {
  background: #fafafa !important;
}

body.overseas-auth-active .topbar-inner {
  width: calc(100% - 56px);
  padding-top: 28px;
  padding-bottom: 0;
}

body.overseas-auth-active .language-switch {
  margin-left: auto;
}

body.overseas-auth-active .topbar-actions {
  margin-left: auto;
}

body.overseas-auth-active .brand {
  gap: 10px;
}

body.overseas-auth-active .brand-glyph {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 18px 22px 22px 20px;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.7), transparent 28%),
    linear-gradient(135deg, #111111, #4b5563);
  box-shadow: none;
  color: transparent;
  transform: rotate(-11deg);
}

body.overseas-auth-active .brand-glyph svg {
  opacity: 0;
}

body.overseas-auth-active .brand-text strong {
  font-size: 0.98rem;
  line-height: 0.86;
  letter-spacing: 0.18em;
  color: #202124;
}

body.overseas-auth-active .brand-text small {
  display: none;
}

body.overseas-auth-active .language-select-button {
  height: 38px;
  min-width: 118px;
  border: 0;
  background: transparent;
  color: #202124;
  font-weight: 700;
}

body.overseas-auth-active .page {
  width: calc(100% - 56px);
  min-height: calc(100vh - 68px);
  padding-top: 0;
  padding-bottom: 36px;
  animation: none;
}

body.overseas-auth-active .overseas-auth-page {
  min-height: calc(100vh - 110px);
  display: grid;
  grid-template-columns: minmax(320px, 420px) minmax(560px, 1fr);
  align-items: center;
  gap: clamp(72px, 10vw, 190px);
}

body.overseas-auth-active .overseas-auth-panel {
  width: 320px;
  max-width: 100%;
  margin-left: clamp(120px, 13vw, 260px);
}

body.overseas-auth-active .overseas-auth-mark {
  display: none;
}

body.overseas-auth-active .overseas-auth-copy {
  gap: 8px;
  margin-bottom: 34px;
}

body.overseas-auth-active .overseas-auth-copy h1 {
  color: #050505;
  font-size: 2rem;
  line-height: 1.18;
  font-weight: 900;
}

body.overseas-auth-active .overseas-auth-copy small {
  color: #667085;
  font-size: 0.92rem;
}

body.overseas-auth-active .overseas-auth-fields {
  gap: 16px;
}

body.overseas-auth-active .overseas-auth-panel .field input {
  min-height: 48px;
  border: 1px solid rgba(15, 23, 42, 0.11);
  border-radius: 12px;
  background: #ffffff;
  color: #101828;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  font-size: 0.88rem;
}

body.overseas-auth-active .overseas-code-field .field input {
  padding-right: 104px;
}

body.overseas-auth-active .btn.auth-inline {
  right: 8px;
  min-height: 34px;
  padding: 0 8px;
  color: #171717;
  font-size: 0.82rem;
}

body.overseas-auth-active .overseas-auth-primary,
body.overseas-auth-active .btn.primary.overseas-auth-primary {
  min-height: 48px;
  margin-top: 20px;
  border-radius: 12px;
  background: linear-gradient(180deg, #2b2b2b, #141414);
  color: #ffffff;
  box-shadow: 0 14px 24px rgba(17, 17, 17, 0.22);
}

body.overseas-auth-active .overseas-auth-divider {
  margin: 20px 0;
  color: #667085;
}

body.overseas-auth-active .overseas-auth-divider span {
  text-transform: lowercase;
}

body.overseas-auth-active .overseas-oauth-btn,
body.overseas-auth-active .btn.ghost.overseas-oauth-btn {
  min-height: 48px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: #171717;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  font-weight: 800;
}

body.overseas-auth-active .overseas-auth-legal {
  margin-top: 34px;
  color: #667085;
  font-size: 0.78rem;
}

body.overseas-auth-active .overseas-auth-legal button {
  color: #475467;
  font-weight: 800;
}

body.overseas-auth-active .overseas-auth-visual {
  width: 100%;
  min-height: 680px;
  justify-items: center;
}

.auth-fatetell-orb {
  position: relative;
  width: 680px;
  max-width: min(100%, 68vh);
  aspect-ratio: 1;
}

.auth-fatetell-orb span {
  position: absolute;
  pointer-events: none;
}

.auth-fatetell-orb .orb-sphere {
  inset: 17%;
  border-radius: 999px;
  background:
    radial-gradient(circle at 33% 28%, rgba(255, 255, 255, 0.96), rgba(246, 246, 246, 0.9) 31%, rgba(206, 208, 209, 0.78) 61%, rgba(146, 150, 153, 0.64) 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.36) 0 2px, rgba(190, 194, 196, 0.08) 2px 5px);
  box-shadow:
    80px 42px 110px rgba(15, 23, 42, 0.18),
    inset -34px -20px 84px rgba(93, 99, 104, 0.22),
    inset 28px 18px 48px rgba(255, 255, 255, 0.82);
}

.auth-fatetell-orb .orb-meridian {
  left: 50%;
  top: 9%;
  width: 3px;
  height: 82%;
  border-radius: 999px;
  background: linear-gradient(180deg, transparent, rgba(42, 43, 45, 0.6) 12%, rgba(42, 43, 45, 0.92) 48%, rgba(42, 43, 45, 0.65) 82%, transparent);
  transform: translateX(-50%) rotate(7deg);
  box-shadow: 0 0 16px rgba(15, 23, 42, 0.16);
}

.auth-fatetell-orb .orb-binary {
  width: 120px;
  height: 190px;
  color: rgba(255, 255, 255, 0.46);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.76rem;
  line-height: 1.25;
  overflow: hidden;
}

.auth-fatetell-orb .orb-binary::before {
  content: "0100110101 10100110 00110101 11100010 01011001 10010110 01101001";
  display: block;
  width: 90px;
}

.auth-fatetell-orb .binary-a {
  left: 30%;
  top: 47%;
}

.auth-fatetell-orb .binary-b {
  right: 29%;
  top: 45%;
  opacity: 0.62;
}

.auth-fatetell-orb .orb-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: rgba(73, 80, 87, 0.24);
  font-size: 2.35rem;
  font-weight: 800;
  text-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.auth-fatetell-orb .m1 { left: 50%; top: 7%; transform: translate(-50%, -50%); }
.auth-fatetell-orb .m2 { right: 16%; top: 18%; transform: translate(50%, -50%) rotate(45deg); }
.auth-fatetell-orb .m3 { right: 8%; top: 50%; transform: translate(50%, -50%) rotate(90deg); }
.auth-fatetell-orb .m4 { right: 16%; bottom: 18%; transform: translate(50%, 50%) rotate(135deg); }
.auth-fatetell-orb .m5 { left: 50%; bottom: 7%; transform: translate(-50%, 50%) rotate(180deg); }
.auth-fatetell-orb .m6 { left: 16%; bottom: 18%; transform: translate(-50%, 50%) rotate(225deg); }
.auth-fatetell-orb .m7 { left: 8%; top: 50%; transform: translate(-50%, -50%) rotate(270deg); }
.auth-fatetell-orb .m8 { left: 16%; top: 18%; transform: translate(-50%, -50%) rotate(315deg); }

@media (max-width: 1100px) {
  body.overseas-auth-active .overseas-auth-page {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 20px;
  }

  body.overseas-auth-active .overseas-auth-panel {
    margin-left: 0;
  }

  body.overseas-auth-active .overseas-auth-visual {
    order: -1;
    min-height: 240px;
    overflow: hidden;
  }

  .auth-fatetell-orb {
    width: 320px;
  }
}

@media (max-width: 640px) {
  body.overseas-auth-active .topbar-inner,
  body.overseas-auth-active .page {
    width: min(100% - 32px, 420px);
  }

  body.overseas-auth-active .topbar-inner {
    padding-top: 18px;
  }

  body.overseas-auth-active .brand-text strong {
    font-size: 0.8rem;
  }

  body.overseas-auth-active .overseas-auth-visual {
    display: none;
  }

  body.overseas-auth-active .overseas-auth-page {
    min-height: calc(100vh - 94px);
    align-content: center;
  }

  body.overseas-auth-active .overseas-auth-panel {
    width: min(100%, 300px);
  }

  body.overseas-auth-active .overseas-auth-copy h1 {
    font-size: 1.72rem;
  }
}
/* Super Recognizer overseas oracle login v7. */
body.overseas-auth-active {
  --bg: #061612;
  --bg-2: #061612;
  --surface: #0b211d;
  --surface-2: #0f2b25;
  --surface-solid: #0b211d;
  --panel: #0b211d;
  --paper: #0b211d;
  --border: rgba(119, 181, 160, 0.24);
  --border-strong: rgba(184, 145, 76, 0.58);
  --text: #f2f0e5;
  --muted: #a7b9b1;
  --faint: #71877e;
  --gold: #b8914c;
  --gold-2: #d5b66f;
  --jade: #67c9ad;
  --btn-bg: #67c9ad;
  --btn-ink: #061612;
  --topbar-bg: #061612;
  min-width: 0;
  overflow-x: hidden;
  background: #061612 !important;
  color-scheme: dark;
}

body.overseas-auth-active .aurora {
  background: #061612 !important;
  opacity: 1;
}

body.overseas-auth-active .topbar {
  background: #061612;
  border-bottom: 1px solid rgba(119, 181, 160, 0.16);
  box-shadow: none;
}

body.overseas-auth-active .topbar-inner {
  width: min(calc(100% - 48px), 1320px);
  min-height: 72px;
  padding: 14px 0;
}

body.overseas-auth-active .topnav,
body.overseas-auth-active #accountBtn,
body.overseas-auth-active #themeBtn,
body.overseas-auth-active #resetBtn {
  display: none;
}

body.overseas-auth-active .brand {
  gap: 11px;
}

body.overseas-auth-active .brand-glyph {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(184, 145, 76, 0.68);
  border-radius: 50%;
  background: #0b211d;
  color: #d5b66f;
  box-shadow: inset 0 0 0 5px #061612;
  transform: none;
}

body.overseas-auth-active .brand-glyph svg {
  opacity: 1;
}

body.overseas-auth-active .brand-text strong {
  color: #d5b66f;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 0;
}

body.overseas-auth-active .brand-text small {
  display: block;
  margin-top: 3px;
  color: #7f9a90;
  letter-spacing: 0;
}

body.overseas-auth-active .topbar-actions,
body.overseas-auth-active .language-switch {
  margin-left: auto;
}

body.overseas-auth-active .language-select-button {
  min-width: 124px;
  height: 40px;
  border: 1px solid rgba(119, 181, 160, 0.28);
  border-radius: 6px;
  background: #0b211d;
  color: #e6e8dc;
  box-shadow: none;
  letter-spacing: 0;
}

body.overseas-auth-active .language-switch::after {
  border-color: #b8914c;
}

body.overseas-auth-active .language-menu {
  border: 1px solid rgba(184, 145, 76, 0.44);
  border-radius: 8px;
  background: #0b211d;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.36);
}

body.overseas-auth-active .language-option {
  border-radius: 5px;
  color: #a7b9b1;
}

body.overseas-auth-active .language-option:hover,
body.overseas-auth-active .language-option:focus-visible {
  background: #12352e;
  color: #f2f0e5;
}

body.overseas-auth-active .language-option.active {
  background: #173d34;
  color: #d5b66f;
}

body.overseas-auth-active .page {
  width: min(calc(100% - 48px), 1240px);
  min-height: calc(100vh - 73px);
  padding: 28px 0 40px;
  animation: auth-page-in 300ms ease both;
}

body.overseas-auth-active .overseas-auth-page {
  width: 100%;
  min-height: calc(100vh - 142px);
  display: grid;
  grid-template-columns: minmax(340px, 420px) minmax(420px, 1fr);
  align-items: center;
  gap: clamp(56px, 8vw, 132px);
}

body.overseas-auth-active .overseas-auth-panel {
  position: relative;
  width: min(100%, 420px);
  margin: 0;
  padding: 4px 0 4px 32px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

body.overseas-auth-active .overseas-auth-panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 1px;
  background: rgba(184, 145, 76, 0.56);
}

body.overseas-auth-active .overseas-auth-mark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 38px;
  color: #b8914c;
}

body.overseas-auth-active .overseas-auth-mark > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(184, 145, 76, 0.62);
  border-radius: 50%;
  background: #0b211d;
  color: #d5b66f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.8rem;
  font-weight: 700;
  transform: none;
}

body.overseas-auth-active .overseas-auth-mark strong {
  color: #8fa79d;
  font-size: 0.76rem;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
}

body.overseas-auth-active .overseas-auth-copy {
  display: grid;
  gap: 10px;
  margin: 0 0 30px;
}

body.overseas-auth-active .overseas-auth-copy p {
  margin: 0;
  color: #b8914c;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: uppercase;
}

body.overseas-auth-active .overseas-auth-copy h1 {
  max-width: 11ch;
  margin: 0;
  color: #f2f0e5;
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-size: clamp(2.55rem, 4.8vw, 4.35rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

body.overseas-auth-active .overseas-auth-copy small {
  max-width: 38ch;
  color: #a7b9b1;
  font-size: 0.9rem;
  line-height: 1.65;
}

body.overseas-auth-active .overseas-auth-fields {
  display: grid;
  gap: 12px;
}

body.overseas-auth-active .overseas-auth-panel .field {
  position: relative;
  gap: 0;
}

body.overseas-auth-active .overseas-auth-panel .field > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

body.overseas-auth-active .overseas-auth-panel .field input {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(119, 181, 160, 0.28);
  border-radius: 6px;
  background: #0b211d;
  color: #f2f0e5;
  box-shadow: none;
  font-size: 0.92rem;
  transition: border-color 180ms ease, background-color 180ms ease;
}

body.overseas-auth-active .overseas-auth-panel .field input:hover {
  border-color: rgba(119, 181, 160, 0.5);
}

body.overseas-auth-active .overseas-auth-panel .field input:focus {
  border-color: #b8914c;
  background: #0f2b25;
  outline: 2px solid rgba(184, 145, 76, 0.16);
  outline-offset: 2px;
}

body.overseas-auth-active .overseas-auth-panel .field input::placeholder {
  color: #71877e;
}

body.overseas-auth-active .overseas-code-field {
  position: relative;
}

body.overseas-auth-active .overseas-code-field .field input {
  padding-right: 118px;
}

body.overseas-auth-active .btn.auth-inline {
  right: 8px;
  top: 50%;
  min-height: 38px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: #d5b66f;
  box-shadow: none;
  font-size: 0.8rem;
  transform: translateY(-50%);
}

body.overseas-auth-active .btn.auth-inline:hover,
body.overseas-auth-active .btn.auth-inline:focus-visible {
  color: #f2f0e5;
  transform: translateY(-50%);
}

body.overseas-auth-active .overseas-auth-primary,
body.overseas-auth-active .btn.primary.overseas-auth-primary {
  min-height: 52px;
  margin-top: 16px;
  border: 1px solid #67c9ad;
  border-radius: 6px;
  background: #67c9ad;
  color: #061612;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
  font-weight: 900;
}

body.overseas-auth-active .overseas-auth-primary:hover,
body.overseas-auth-active .overseas-auth-primary:focus-visible {
  border-color: #84d7bf;
  background: #84d7bf;
}

body.overseas-auth-active .overseas-auth-primary:disabled,
body.overseas-auth-active .overseas-oauth-btn:disabled,
body.overseas-auth-active .btn.auth-inline:disabled {
  cursor: wait;
  opacity: 0.58;
}

body.overseas-auth-active .overseas-auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: #71877e;
  font-size: 0.78rem;
}

body.overseas-auth-active .overseas-auth-divider::before,
body.overseas-auth-active .overseas-auth-divider::after {
  content: "";
  height: 1px;
  background: rgba(119, 181, 160, 0.2);
}

body.overseas-auth-active .overseas-oauth-btn,
body.overseas-auth-active .btn.ghost.overseas-oauth-btn {
  min-height: 52px;
  border: 1px solid rgba(184, 145, 76, 0.56);
  border-radius: 6px;
  background: transparent;
  color: #e8dfc7;
  box-shadow: none;
  font-weight: 800;
}

body.overseas-auth-active .overseas-oauth-btn:hover,
body.overseas-auth-active .overseas-oauth-btn:focus-visible {
  background: #0f2b25;
  border-color: #d5b66f;
}

body.overseas-auth-active .google-glyph {
  color: #d5b66f;
}

body.overseas-auth-active .overseas-auth-legal {
  margin-top: 26px;
  color: #71877e;
  font-size: 0.76rem;
  line-height: 1.55;
  text-align: left;
}

body.overseas-auth-active .overseas-auth-legal button {
  color: #a7b9b1;
  font-weight: 800;
}

body.overseas-auth-active .overseas-auth-legal button:hover,
body.overseas-auth-active .overseas-auth-legal button:focus-visible {
  color: #d5b66f;
}

body.overseas-auth-active .overseas-auth-visual {
  min-width: 0;
  min-height: 610px;
  display: grid;
  place-items: center;
}

body.overseas-auth-active .auth-oracle {
  position: relative;
  width: min(48vw, 610px);
  max-width: 100%;
  aspect-ratio: 1;
  color: #b8914c;
}

body.overseas-auth-active .auth-oracle-ring,
body.overseas-auth-active .auth-oracle-axis,
body.overseas-auth-active .auth-oracle-trigram,
body.overseas-auth-active .auth-oracle-topic {
  position: absolute;
  pointer-events: none;
}

body.overseas-auth-active .auth-oracle-ring {
  border: 1px solid rgba(184, 145, 76, 0.38);
  border-radius: 50%;
}

body.overseas-auth-active .auth-oracle-ring.ring-outer {
  inset: 3%;
}

body.overseas-auth-active .auth-oracle-ring.ring-middle {
  inset: 14%;
  border-color: rgba(103, 201, 173, 0.32);
}

body.overseas-auth-active .auth-oracle-ring.ring-inner {
  inset: 29%;
  border-color: rgba(184, 145, 76, 0.48);
}

body.overseas-auth-active .auth-oracle-axis {
  background: rgba(103, 201, 173, 0.18);
}

body.overseas-auth-active .auth-oracle-axis.axis-vertical {
  left: 50%;
  top: 6%;
  bottom: 6%;
  width: 1px;
}

body.overseas-auth-active .auth-oracle-axis.axis-horizontal {
  left: 6%;
  right: 6%;
  top: 50%;
  height: 1px;
}

body.overseas-auth-active .auth-oracle-trigram {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: #b8914c;
  font-size: 2rem;
  line-height: 1;
}

body.overseas-auth-active .auth-oracle-trigram.t1 { left: 50%; top: 3%; transform: translate(-50%, -50%); }
body.overseas-auth-active .auth-oracle-trigram.t2 { right: 14%; top: 15%; transform: translate(50%, -50%); }
body.overseas-auth-active .auth-oracle-trigram.t3 { right: 3%; top: 50%; transform: translate(50%, -50%); }
body.overseas-auth-active .auth-oracle-trigram.t4 { right: 14%; bottom: 15%; transform: translate(50%, 50%); }
body.overseas-auth-active .auth-oracle-trigram.t5 { left: 50%; bottom: 3%; transform: translate(-50%, 50%); }
body.overseas-auth-active .auth-oracle-trigram.t6 { left: 14%; bottom: 15%; transform: translate(-50%, 50%); }
body.overseas-auth-active .auth-oracle-trigram.t7 { left: 3%; top: 50%; transform: translate(-50%, -50%); }
body.overseas-auth-active .auth-oracle-trigram.t8 { left: 14%; top: 15%; transform: translate(-50%, -50%); }

body.overseas-auth-active .auth-oracle-topic {
  top: 50%;
  color: #8fa79d;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

body.overseas-auth-active .auth-oracle-topic.topic-people {
  left: 20%;
  transform: translate(-50%, -50%) rotate(180deg);
}

body.overseas-auth-active .auth-oracle-topic.topic-events {
  right: 20%;
  transform: translate(50%, -50%);
}

body.overseas-auth-active .auth-oracle-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 190px;
  aspect-ratio: 1;
  overflow: hidden;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 7px;
  border: 1px solid rgba(184, 145, 76, 0.68);
  border-radius: 50%;
  background: #0b211d;
  color: #f2f0e5;
  transform: translate(-50%, -50%);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.28);
}

body.overseas-auth-active .auth-oracle-core::before,
body.overseas-auth-active .auth-oracle-core::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  z-index: -1;
}

body.overseas-auth-active .auth-oracle-core::before {
  left: 0;
  background: #12352e;
}

body.overseas-auth-active .auth-oracle-core::after {
  right: 0;
  background: #0b211d;
}

body.overseas-auth-active .auth-oracle-core small {
  color: #8fa79d;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0;
}

body.overseas-auth-active .auth-oracle-core strong {
  color: #d5b66f;
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-size: 3.2rem;
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0;
}

body.overseas-auth-active .auth-oracle-core span {
  color: #e8dfc7;
  font-size: 0.78rem;
  font-weight: 800;
}

body.overseas-auth-active .auth-oracle-caption {
  position: absolute;
  left: 50%;
  bottom: -2px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #8fa79d;
  font-size: 0.72rem;
  font-weight: 800;
  transform: translateX(-50%);
  white-space: nowrap;
}

body.overseas-auth-active .auth-oracle-caption i {
  width: 28px;
  height: 1px;
  background: #b8914c;
}

@keyframes auth-page-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {
  body.overseas-auth-active .overseas-auth-page {
    grid-template-columns: minmax(320px, 390px) minmax(360px, 1fr);
    gap: 40px;
  }

  body.overseas-auth-active .auth-oracle {
    width: min(46vw, 460px);
  }

  body.overseas-auth-active .overseas-auth-visual {
    min-height: 480px;
  }
}

@media (max-width: 820px) {
  body.overseas-auth-active .page {
    width: min(calc(100% - 36px), 560px);
    padding-top: 20px;
  }

  body.overseas-auth-active .overseas-auth-page {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 22px;
  }

  body.overseas-auth-active .overseas-auth-panel {
    width: min(100%, 430px);
    padding-left: 24px;
  }

  body.overseas-auth-active .overseas-auth-visual {
    order: -1;
    min-height: 230px;
  }

  body.overseas-auth-active .auth-oracle {
    width: 220px;
  }

  body.overseas-auth-active .auth-oracle-trigram {
    width: 34px;
    height: 34px;
    font-size: 1.25rem;
  }

  body.overseas-auth-active .auth-oracle-core {
    width: 98px;
    gap: 3px;
  }

  body.overseas-auth-active .auth-oracle-core small {
    display: none;
  }

  body.overseas-auth-active .auth-oracle-core strong {
    font-size: 2rem;
  }

  body.overseas-auth-active .auth-oracle-core span,
  body.overseas-auth-active .auth-oracle-topic,
  body.overseas-auth-active .auth-oracle-caption {
    font-size: 0.58rem;
  }
}

@media (max-width: 540px) {
  body.overseas-auth-active .topbar-inner {
    width: calc(100% - 28px);
    min-height: 64px;
    padding: 12px 0;
  }

  body.overseas-auth-active .brand-text strong {
    font-size: 0.86rem;
  }

  body.overseas-auth-active .brand-text small {
    display: none;
  }

  body.overseas-auth-active .language-select-button {
    min-width: 98px;
    max-width: 126px;
  }

  body.overseas-auth-active .page {
    width: calc(100% - 28px);
    padding: 16px 0 calc(24px + env(safe-area-inset-bottom));
  }

  body.overseas-auth-active .overseas-auth-page {
    gap: 16px;
  }

  body.overseas-auth-active .overseas-auth-visual {
    min-height: 130px;
  }

  body.overseas-auth-active .auth-oracle {
    width: 124px;
  }

  body.overseas-auth-active .auth-oracle-trigram,
  body.overseas-auth-active .auth-oracle-axis,
  body.overseas-auth-active .auth-oracle-topic,
  body.overseas-auth-active .auth-oracle-caption {
    display: none;
  }

  body.overseas-auth-active .auth-oracle-core {
    width: 68px;
  }

  body.overseas-auth-active .auth-oracle-core strong {
    font-size: 1.35rem;
  }

  body.overseas-auth-active .auth-oracle-core span {
    display: none;
  }

  body.overseas-auth-active .overseas-auth-panel {
    width: 100%;
    padding-left: 18px;
  }

  body.overseas-auth-active .overseas-auth-mark {
    margin-bottom: 22px;
  }

  body.overseas-auth-active .overseas-auth-copy {
    margin-bottom: 22px;
  }

  body.overseas-auth-active .overseas-auth-copy h1 {
    max-width: 12ch;
    font-size: clamp(2.1rem, 12vw, 3.05rem);
  }

  body.overseas-auth-active .overseas-code-field .field input {
    padding-right: 108px;
  }

  body.overseas-auth-active .overseas-auth-legal {
    margin-top: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.overseas-auth-active .page {
    animation: none;
  }
}

/* ---------------- Report experience: launch polish ---------------- */
body[data-view="report"] .page-head,
body[data-view="report"] .report-layout {
  width: min(100%, 1180px);
  margin-inline: auto;
}

body[data-view="report"] .page-head {
  margin-bottom: 4px;
}

body[data-view="report"] .page-title {
  max-width: 100%;
  color: var(--text);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.02;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

body[data-view="report"] .report-layout {
  gap: 18px;
}

body[data-view="report"] .report-main,
body[data-view="report"] .report-history-panel {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body[data-view="report"] .report-main > .card,
body[data-view="report"] .report-main > .verdict,
body[data-view="report"] .report-history {
  border-radius: 8px;
}

.report-history {
  padding: 18px;
  overflow: hidden;
}

.report-history .card-head {
  padding-bottom: 13px;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 82%, transparent);
}

.report-history .card-head h3 {
  margin-top: 4px;
  font-size: clamp(1.18rem, 2vw, 1.42rem);
  line-height: 1.1;
}

.report-history-list {
  gap: 8px;
  margin-top: 12px;
  padding: 0 2px 2px 0;
  scrollbar-color: color-mix(in srgb, var(--gold) 38%, transparent) transparent;
  scrollbar-width: thin;
}

.report-history-item {
  position: relative;
  grid-template-columns: minmax(0, 1fr) 40px;
  min-height: 72px;
  gap: 7px;
  padding: 7px;
  align-items: center;
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface-solid) 94%, var(--jade) 2%);
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.report-history-item::before {
  content: "";
  position: absolute;
  inset: 10px auto 10px 0;
  width: 2px;
  border-radius: 2px;
  background: transparent;
}

.report-history-item:hover {
  border-color: color-mix(in srgb, var(--gold) 34%, var(--border));
  background: color-mix(in srgb, var(--surface-solid) 91%, var(--gold) 4%);
}

.report-history-item.active {
  border-color: color-mix(in srgb, var(--gold) 58%, var(--border));
  background: color-mix(in srgb, var(--surface-solid) 88%, var(--gold) 7%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gold) 12%, transparent);
}

.report-history-item.active::before {
  background: var(--gold);
}

.report-history-open {
  width: 100%;
  height: 100%;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 9px;
  padding: 2px 4px;
  border-radius: 6px;
}

.report-history-open:focus-visible,
.report-history-delete:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 2px;
}

.report-history-thumb {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface-solid) 84%, var(--gold) 7%);
}

.report-history-copy {
  align-content: center;
  gap: 3px;
}

.report-history-copy strong {
  font-size: 0.75rem;
  letter-spacing: 0;
}

.report-history-copy span {
  min-height: 2.7em;
  font-size: 0.78rem;
  line-height: 1.35;
}

.report-history-delete {
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: grid;
  place-items: center;
  align-self: center;
  padding: 0;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--rose) 34%, var(--border));
  background: transparent;
  color: color-mix(in srgb, var(--rose) 88%, var(--text) 12%);
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.report-history-delete svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.report-history-delete:hover {
  color: var(--rose);
  border-color: color-mix(in srgb, var(--rose) 68%, var(--border));
  background: color-mix(in srgb, var(--rose) 10%, transparent);
}

.report-language-notice {
  min-height: 360px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 16px;
  padding: clamp(28px, 7vw, 76px);
  text-align: center;
}

.report-language-notice .card-head {
  justify-content: center;
}

.report-language-notice .card-head > div {
  display: grid;
  justify-items: center;
}

.report-language-notice > p {
  max-width: 560px;
  margin: 0;
  line-height: 1.7;
}

.report-language-current {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid color-mix(in srgb, var(--gold) 34%, var(--border));
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface-solid) 88%, var(--gold) 5%);
}

.report-language-current span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--btn-ink);
  font-family: serif;
  font-weight: 900;
}

.report-language-current strong {
  font-size: 0.88rem;
}

.report-language-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

@media (min-width: 1040px) {
  body[data-view="report"] .report-layout {
    grid-template-columns: minmax(286px, 322px) minmax(0, 1fr);
  }

  body[data-view="report"] .report-history-panel {
    max-height: none;
    overflow: visible;
  }

  .report-history {
    max-height: calc(100vh - 118px);
  }

  .report-history-list {
    max-height: calc(100vh - 244px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

@media (max-width: 1039px) {
  .report-history-list {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    overscroll-behavior-inline: contain;
    padding-bottom: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .report-history-list::-webkit-scrollbar {
    display: none;
  }

  .report-history-item {
    flex: 0 0 min(78vw, 320px);
    scroll-snap-align: start;
  }
}

@media (max-width: 600px) {
  body[data-view="report"] .page-head {
    display: block;
  }

  body[data-view="report"] .page-title {
    max-width: 11ch;
    font-size: clamp(1.82rem, 10vw, 2.45rem);
    line-height: 1.04;
  }

  body[data-view="report"] .report-layout {
    gap: 12px;
  }

  .report-history {
    padding: 15px;
  }

  .report-history-item {
    flex-basis: min(84vw, 304px);
  }

  .report-language-notice {
    min-height: 300px;
    padding: 30px 18px;
  }

  .report-language-actions,
  .report-language-actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .report-history-item,
  .report-history-delete {
    transition: none;
  }
}

/* ---------------- 非阻塞报告任务中心 ---------------- */
.task-center {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 72;
  width: min(390px, calc(100vw - 36px));
  max-height: min(680px, calc(100vh - 104px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--gold) 30%, var(--border));
  border-radius: 8px;
  background: var(--surface-solid);
  color: var(--text);
  box-shadow: 0 24px 64px -28px rgba(0, 0, 0, 0.72);
  animation: task-center-in 0.24s ease-out;
}

.task-center[hidden] {
  display: none;
}

.task-center.collapsed {
  width: min(320px, calc(100vw - 36px));
  max-height: 72px;
}

.task-center-head {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 10px 10px 15px;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface-solid) 92%, var(--jade) 4%);
}

.task-center.collapsed .task-center-head {
  border-bottom: 0;
}

.task-center-summary {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 3px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

.task-center-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 850;
  letter-spacing: 0;
}

.task-center-title b {
  min-width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--btn-ink);
  font-size: 0.72rem;
}

.task-center-summary small {
  max-width: 100%;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.task-center-toggle {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--gold-2);
  font-size: 1.2rem;
  line-height: 1;
}

.task-center-body {
  min-height: 0;
  display: grid;
  gap: 8px;
  padding: 10px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}

.task-center.collapsed .task-center-body,
.task-center.collapsed .task-center-foot {
  display: none;
}

.report-task {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 11px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface-solid) 91%, var(--jade) 4%);
}

.report-task.unread {
  border-color: color-mix(in srgb, var(--gold) 58%, var(--border));
}

.report-task.unread::after {
  content: "";
  position: absolute;
  top: 9px;
  right: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-2);
}

.report-task.status-failed {
  border-color: color-mix(in srgb, var(--rose) 48%, var(--border));
}

.report-task.status-cancelled {
  opacity: 0.78;
}

.report-task-top {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.report-task-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--gold) 44%, var(--border));
  border-radius: 50%;
  background: color-mix(in srgb, var(--surface-solid) 86%, var(--gold) 8%);
  color: var(--gold-2);
  font-family: "Songti SC", serif;
  font-size: 1rem;
  font-weight: 900;
}

.report-task-icon.latin {
  font-family: inherit;
  font-size: 0.68rem;
  letter-spacing: 0;
}

.report-task-copy {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 3px;
}

.report-task-title,
.report-task-meta {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.report-task-title strong {
  overflow: hidden;
  color: var(--text);
  font-size: 0.86rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.report-task-title time,
.report-task-meta span {
  color: var(--faint);
  font-size: 0.7rem;
  white-space: nowrap;
}

.report-task-meta b {
  color: var(--gold-2);
  font-size: 0.7rem;
  font-weight: 800;
  white-space: nowrap;
}

.status-failed .report-task-meta b {
  color: var(--rose);
}

.status-cancelled .report-task-meta b {
  color: var(--muted);
}

.report-task-message {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.report-task-progress {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface-2) 82%, var(--jade) 8%);
}

.report-task-progress i {
  display: block;
  min-width: 5px;
  height: 100%;
  border-radius: inherit;
  background: var(--jade);
  transition: width 0.35s ease;
}

.status-preview .report-task-progress i {
  background: var(--gold);
}

.report-task-actions {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
}

.report-task-open,
.report-task-cancel,
.report-task-dismiss,
.task-center-clear {
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--surface-2);
  color: var(--text);
  font-size: 0.74rem;
  font-weight: 800;
}

.report-task-open {
  padding: 0 12px;
  border-color: color-mix(in srgb, var(--gold) 42%, var(--border));
  color: var(--gold-2);
}

.report-task-cancel {
  padding: 0 12px;
  border-color: color-mix(in srgb, var(--rose) 42%, var(--border));
  background: transparent;
  color: var(--rose);
}

.report-task-cancel:disabled {
  cursor: wait;
  opacity: 0.58;
}

.report-task-dismiss {
  width: 32px;
  padding: 0;
  color: var(--muted);
  font-size: 1rem;
}

.task-center-foot {
  display: flex;
  justify-content: flex-end;
  padding: 9px 10px 10px;
  border-top: 1px solid var(--border);
}

.task-center-clear {
  padding: 0 11px;
  background: transparent;
  color: var(--muted);
}

.task-center button:focus-visible,
.report-task button:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 2px;
}

.task-center button:hover {
  border-color: var(--border-strong);
}

@keyframes task-dock-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .scrim {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    left: max(12px, env(safe-area-inset-left));
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .upload-inline-status i,
  .scrim-progress-head span > i {
    animation-duration: 1.4s;
  }

  .scrim {
    animation: none;
  }
}

@keyframes task-center-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .task-center,
  .task-center.collapsed {
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 10px;
    width: auto;
  }

  .task-center:not(.collapsed) {
    max-height: min(46vh, 440px);
  }

  .task-center-head {
    min-height: 62px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .task-center {
    animation: none;
  }

  .report-task-progress i {
    transition: none;
  }
}

/* ---------------- 识人工作台：主轨对齐 + 右侧任务栏 ---------------- */
@media (min-width: 1121px) and (max-width: 1359px) {
  body:is(
    [data-view="input"],
    [data-view="face"],
    [data-view="bazi"],
    [data-view="name"],
    [data-view="combo"],
    [data-view="collab"],
    [data-view="dialog"]
  ) .split {
    margin-right: 0;
    margin-left: auto;
  }
}

@media (min-width: 1360px) {
  body:is(
    [data-view="input"],
    [data-view="face"],
    [data-view="bazi"],
    [data-view="name"],
    [data-view="combo"],
    [data-view="collab"],
    [data-view="dialog"]
  ) .page {
    width: min(100%, 1560px);
    display: grid;
    grid-template-columns: 210px minmax(0, 820px) 370px;
    grid-auto-rows: max-content;
    column-gap: 32px;
    align-items: start;
  }

  body:is(
    [data-view="input"],
    [data-view="face"],
    [data-view="bazi"],
    [data-view="name"],
    [data-view="combo"],
    [data-view="collab"],
    [data-view="dialog"]
  ) .banner {
    grid-column: 1 / -1;
  }

  body:is(
    [data-view="input"],
    [data-view="face"],
    [data-view="bazi"],
    [data-view="name"],
    [data-view="combo"],
    [data-view="collab"],
    [data-view="dialog"]
  ) .page-head {
    grid-column: 1 / 3;
    grid-template-columns: 210px minmax(0, 820px);
    gap: 32px;
  }

  body:is(
    [data-view="input"],
    [data-view="face"],
    [data-view="bazi"],
    [data-view="name"],
    [data-view="combo"],
    [data-view="collab"],
    [data-view="dialog"]
  ) .split,
  body:is(
    [data-view="input"],
    [data-view="face"],
    [data-view="bazi"],
    [data-view="name"],
    [data-view="combo"],
    [data-view="collab"],
    [data-view="dialog"]
  ) .legal-footer {
    grid-column: 2;
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

  body:is(
    [data-view="input"],
    [data-view="face"],
    [data-view="bazi"],
    [data-view="name"],
    [data-view="combo"],
    [data-view="collab"],
    [data-view="dialog"]
  ) .task-center,
  body:is(
    [data-view="input"],
    [data-view="face"],
    [data-view="bazi"],
    [data-view="name"],
    [data-view="combo"],
    [data-view="collab"],
    [data-view="dialog"]
  ) .task-center.collapsed {
    top: 101px;
    right: max(32px, calc((100vw - 1560px) / 2 + 64px));
    bottom: auto;
    width: 370px;
    max-height: calc(100vh - 125px);
  }
}
