:root {
  --bg: #f4efe8;
  --panel: rgba(255, 251, 245, 0.84);
  --panel-strong: rgba(255, 255, 255, 0.92);
  --line: rgba(66, 48, 34, 0.12);
  --line-strong: rgba(66, 48, 34, 0.2);
  --text: #2e241c;
  --muted: #7c6b5d;
  --brand: #cc6a31;
  --brand-dark: #ab4f23;
  --accent: #214f64;
  --accent-soft: rgba(33, 79, 100, 0.08);
  --success: #2f7c5d;
  --warning: #bf7c1c;
  --neutral: #77706b;
  --shadow-xl: 0 24px 80px rgba(79, 51, 26, 0.14);
  --shadow-lg: 0 16px 42px rgba(79, 51, 26, 0.12);
  --radius-2xl: 32px;
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --sidebar: 308px;
  --font-sans: "Segoe UI Variable", "Microsoft YaHei UI", "PingFang SC", "Noto Sans SC", sans-serif;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: var(--font-sans);
  color: var(--text);
  background:
    linear-gradient(135deg, #f3ece2 0%, #f6f7f5 44%, #eff5f8 100%);
}

.ambient {
  position: fixed;
  inset: auto;
  pointer-events: none;
  filter: blur(14px);
  opacity: 0.65;
  z-index: 0;
}

.ambient-a {
  top: -120px;
  left: -90px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(204, 106, 49, 0.28), transparent 70%);
}

.ambient-b {
  right: -120px;
  bottom: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(33, 79, 100, 0.25), transparent 72%);
}

button,
input,
select,
textarea {
  font: inherit;
}

input,
select,
textarea {
  outline: none;
}

.shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: var(--sidebar) 1fr;
  min-height: 100vh;
}

.sidebar {
  padding: 26px 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.42);
  background:
    linear-gradient(180deg, rgba(255, 247, 236, 0.92), rgba(252, 249, 244, 0.78));
  backdrop-filter: blur(26px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.brand-mark {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: linear-gradient(145deg, var(--brand), var(--accent));
  box-shadow: 0 16px 34px rgba(33, 79, 100, 0.28);
}

.brand-title {
  font-size: 18px;
  font-weight: 800;
}

.brand-subtitle,
.nav-label,
.topbar-subtitle,
.eyebrow,
.pill,
.panel-title,
.panel-caption,
.field span,
.pay-caption,
.detail-kicker {
  color: var(--muted);
}

.brand-subtitle,
.nav-label,
.eyebrow,
.pill,
.detail-kicker,
.panel-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.nav-group {
  margin-bottom: 24px;
}

.nav-label {
  margin-bottom: 10px;
}

.nav-item {
  width: 100%;
  margin-bottom: 8px;
  padding: 13px 14px;
  border: 0;
  border-radius: 16px;
  text-align: left;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  transition: 180ms ease;
}

.nav-item:hover,
.nav-item.active {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: 0 10px 24px rgba(33, 79, 100, 0.24);
}

.nav-item:focus-visible,
.primary-button:focus-visible,
.soft-button:focus-visible,
.ghost-button:focus-visible,
.text-button:focus-visible,
.upload-button:focus-visible {
  outline: 3px solid rgba(33, 79, 100, 0.24);
  outline-offset: 3px;
}

.flow-card,
.panel,
.stat-card,
.auth-panel,
.hero-card,
.detail-hero,
.pay-card,
.result-card {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(20px);
}

.flow-card {
  padding: 18px;
}

.flow-title {
  margin-bottom: 10px;
  font-weight: 800;
}

.flow-steps {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.75;
}

.workspace {
  padding: 12px 22px 22px;
}

.create-lower {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}

.action-stack.block-top {
  margin-top: 20px;
}

.row-active {
  background: rgba(33, 79, 100, 0.04);
}

.check-list {
  display: grid;
  gap: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.insight-panel {
  background: linear-gradient(135deg, rgba(33, 79, 100, 0.08), rgba(204, 106, 49, 0.08));
}

.mobile-risk-note {
  margin: 18px 0 10px;
  padding: 14px 16px;
  border-radius: 18px;
  color: var(--accent);
  background: rgba(33, 79, 100, 0.08);
  line-height: 1.65;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9;
  padding: 14px 18px;
  border-radius: 16px;
  color: white;
  background: rgba(34, 49, 59, 0.92);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transform: translateY(12px);
  transition: 180ms ease;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.hidden {
  display: none !important;
}

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

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-chip {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--accent);
  background: rgba(33, 79, 100, 0.08);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
}

.topbar-title {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.screen {
  display: none;
}

.screen.active {
  display: block;
}

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

.section-heading h2,
.auth-panel h1,
.hero-card h2,
.result-card h2 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.header-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 11px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
}

.pill.quiet {
  background: rgba(33, 79, 100, 0.06);
  color: var(--accent);
}

.primary-button,
.soft-button,
.ghost-button,
.text-button {
  border: 0;
  cursor: pointer;
  transition: 180ms ease;
}

.primary-button {
  padding: 14px 20px;
  border-radius: 16px;
  color: white;
  font-weight: 700;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  box-shadow: 0 16px 28px rgba(204, 106, 49, 0.24);
}

.primary-button:hover,
.soft-button:hover,
.ghost-button:hover {
  transform: translateY(-1px);
}

.primary-button:disabled,
.soft-button:disabled,
.ghost-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.soft-button,
.ghost-button {
  padding: 12px 16px;
  border-radius: 14px;
  color: var(--accent);
  background: var(--accent-soft);
}

.soft-button.light {
  color: var(--text);
  background: rgba(46, 36, 28, 0.06);
}

.ghost-button {
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--line);
}

.text-button {
  padding: 0;
  color: var(--accent);
  background: transparent;
  font-weight: 600;
}

.full {
  width: 100%;
}

.center {
  justify-content: center;
}

.stats-grid,
.panel-grid {
  display: grid;
  gap: 18px;
}

.stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

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

.stat-card {
  padding: 24px;
}

.stat-card span,
.stat-card em {
  display: block;
}

.stat-card strong {
  display: block;
  margin: 14px 0 8px;
  font-size: 36px;
  letter-spacing: -0.03em;
}

.stat-card em {
  color: var(--muted);
  font-style: normal;
}

.stat-card.accent {
  color: white;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.15), transparent 30%),
    linear-gradient(135deg, rgba(29, 77, 97, 0.96), rgba(39, 107, 79, 0.92));
}

.stat-card.accent span,
.stat-card.accent em {
  color: rgba(255, 255, 255, 0.8);
}

.dashboard-layout {
  grid-template-columns: 1.75fr 1fr;
}

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

.panel-grid .large {
  min-height: 350px;
}

.panel,
.form-panel {
  padding: 24px;
}

.panel-head,
.subpanel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.panel-caption {
  font-size: 13px;
}

.chart-bars {
  display: flex;
  align-items: end;
  gap: 16px;
  height: 256px;
  padding-top: 22px;
}

.chart-bars div {
  position: relative;
  flex: 1;
  border-radius: 20px 20px 10px 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.26), transparent 30%),
    linear-gradient(180deg, rgba(204, 106, 49, 0.96), rgba(33, 79, 100, 0.94));
}

.chart-bars span {
  position: absolute;
  left: 50%;
  bottom: -30px;
  transform: translateX(-50%);
  font-size: 12px;
  color: var(--muted);
}

.action-stack,
.inline-actions,
.action-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.status-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.status-list div {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}

.status-list span {
  color: var(--muted);
}

.filter-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.filter-row input,
.filter-row select,
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 15px;
  border-radius: 14px;
  border: 1px solid rgba(66, 48, 34, 0.1);
  color: var(--text);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.filter-row input:focus,
.filter-row select:focus {
  border-color: rgba(33, 79, 100, 0.28);
  box-shadow: 0 0 0 4px rgba(33, 79, 100, 0.08);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 16px 10px;
  text-align: left;
  border-bottom: 1px solid rgba(66, 48, 34, 0.08);
}

.data-table th {
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

.pagination-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
}

.pagination-meta {
  color: var(--muted);
  font-size: 14px;
}

.pagination-actions {
  display: flex;
  gap: 10px;
}

.compact th,
.compact td {
  padding: 12px 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.tag.success {
  color: var(--success);
  background: rgba(47, 124, 93, 0.12);
}

.tag.warning {
  color: var(--warning);
  background: rgba(191, 124, 28, 0.14);
}

.tag.neutral {
  color: var(--neutral);
  background: rgba(119, 112, 107, 0.12);
}

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

.form-grid.single {
  grid-template-columns: 1fr;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field.wide {
  grid-column: 1 / -1;
}

.upload-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.search-select {
  position: relative;
}

.search-select-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 12;
  max-height: 220px;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid rgba(30, 55, 90, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 40px rgba(16, 30, 48, 0.14);
  backdrop-filter: blur(12px);
}

.search-select-option {
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  text-align: left;
  padding: 10px 12px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.search-select-option:hover {
  background: rgba(44, 118, 242, 0.08);
  color: #184eaf;
}

.search-select-empty {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 13px;
}

.upload-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 14px;
  color: var(--accent);
  background: var(--accent-soft);
  cursor: pointer;
  font-weight: 700;
}

.upload-name {
  color: var(--muted);
  font-size: 14px;
}

.subpanel {
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(66, 48, 34, 0.08);
}

.subpanel-title {
  font-weight: 800;
}

.success-banner {
  margin-top: 20px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(47, 124, 93, 0.15), rgba(33, 79, 100, 0.1));
  border: 1px solid rgba(47, 124, 93, 0.12);
}

.success-banner strong,
.success-banner span {
  display: block;
}

.detail-hero {
  padding: 24px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.detail-hero h3 {
  margin: 8px 0 8px;
  font-size: 30px;
}

.share-preview-wrap {
  padding: 18px;
  border-radius: 24px;
  background: #1f1f1f;
}

.share-chat-time {
  margin-bottom: 14px;
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

.share-chat-row {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 12px;
}

.share-preview-card {
  width: min(460px, 100%);
  padding: 14px 14px 12px;
  border-radius: 10px;
  color: white;
  background: #2e2e2e;
}

.share-preview-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 500;
}

.share-card-body {
  display: grid;
  grid-template-columns: 1fr 72px;
  gap: 10px;
  align-items: start;
}

.share-card-copy p {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  line-height: 1.45;
}

.share-card-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

.share-card-brand-icon {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  font-size: 11px;
  background: linear-gradient(135deg, #ff4b2b, #ff7a00);
}

.share-card-thumb,
.share-avatar {
  border-radius: 8px;
}

.share-card-thumb {
  width: 72px;
  height: 72px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 30%),
    linear-gradient(135deg, #ff825f, #ff4338 60%, #ffb75f);
}

.share-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.travel-share-card {
  width: min(300px, 100%);
  padding: 16px;
  border-radius: 16px;
  color: #17314f;
  background:
    radial-gradient(circle at top right, rgba(113, 176, 255, 0.22), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
  border: 1px solid rgba(53, 120, 201, 0.14);
  box-shadow: 0 18px 30px rgba(44, 89, 136, 0.12);
}

.travel-share-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.travel-share-kicker {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #1e5ba3;
  font-size: 12px;
  font-weight: 700;
  background: rgba(30, 91, 163, 0.1);
}

.travel-share-top strong {
  display: block;
  font-size: 16px;
  line-height: 1.45;
}

.travel-share-top em {
  color: #1761b7;
  font-size: 20px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.travel-share-route {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  color: #1c456f;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
  background: linear-gradient(180deg, #f8fbff, #ecf4ff);
}

.travel-share-sub {
  margin-top: 10px;
  color: #6e88a6;
  font-size: 12px;
  line-height: 1.65;
}

.travel-share-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.travel-share-meta span {
  padding: 6px 10px;
  border-radius: 999px;
  color: #597492;
  font-size: 12px;
  background: rgba(23, 97, 183, 0.08);
}

.share-avatar {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), transparent 30%),
    linear-gradient(135deg, #d9d7ff, #7aa5ff 60%, #9af0ff);
}

.mt-share-card {
  width: min(272px, 100%);
}

.mt-share-appbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.mt-share-appicon {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #2b2b2b;
  font-size: 12px;
  font-weight: 900;
  background: linear-gradient(180deg, #ffe45a, #ffc300);
}

.mt-share-appcopy strong,
.mt-share-appcopy span {
  display: block;
}

.mt-share-appcopy strong {
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
}

.mt-share-appcopy span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
}

.mt-share-bubble {
  padding: 14px;
  border-radius: 12px;
  background: #2e2e2e;
}

.mt-share-text {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  line-height: 1.5;
}

.mt-share-poster {
  overflow: hidden;
  border-radius: 6px;
  background: linear-gradient(180deg, #ffe463 0%, #ffd31a 100%);
}

.mt-share-image {
  width: 100%;
  aspect-ratio: 1.28 / 1;
  object-fit: cover;
  display: block;
}

.mt-share-poster-fallback {
  padding: 22px 18px 18px;
  text-align: center;
}

.mt-share-poster-title {
  margin-bottom: 16px;
  color: #8a5c00;
  font-size: 18px;
  font-weight: 800;
}

.mt-share-poster-time {
  margin: 0 auto 18px;
  width: fit-content;
  padding: 10px 18px;
  border-radius: 18px;
  color: #2c2c2c;
  font-size: 22px;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.95);
}

.mt-share-poster-button {
  width: 100%;
  padding: 12px 14px;
  border-radius: 999px;
  color: #4b3900;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.9);
}

.mt-share-footer {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

.detail-amount {
  text-align: right;
}

.detail-amount strong {
  display: block;
  margin: 8px 0 10px;
  font-size: 40px;
  letter-spacing: -0.04em;
}

.kv-list,
.pay-info-list,
.result-metrics {
  display: grid;
  gap: 14px;
}

.kv-list div,
.pay-info-list div,
.result-metrics div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(66, 48, 34, 0.12);
}

.kv-list span,
.pay-info-list span,
.result-metrics span {
  color: var(--muted);
}

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

.timeline-item {
  position: relative;
  padding-left: 22px;
  border-left: 2px solid rgba(119, 112, 107, 0.2);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(119, 112, 107, 0.24);
}

.timeline-item span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 13px;
}

.timeline-item.active {
  border-left-color: var(--brand);
}

.timeline-item.active::before {
  border-color: var(--brand);
  background: rgba(204, 106, 49, 0.18);
}

.auth-page {
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: 20px;
  min-height: calc(100vh - 132px);
}

.auth-page-minimal {
  grid-template-columns: 1fr;
  place-items: center;
  min-height: calc(100vh - 180px);
}

.auth-panel,
.auth-visual {
  padding: 36px;
}

.auth-page-minimal .auth-panel {
  width: min(520px, 100%);
}

.auth-panel h1 {
  font-size: 44px;
}

.auth-panel p,
.hero-card p,
.result-card p,
.pay-hero p {
  color: var(--muted);
  line-height: 1.72;
}

.auth-visual {
  display: grid;
  place-items: center;
}

.feature-inline {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0 22px;
}

.mini-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(33, 79, 100, 0.07);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.hero-card {
  width: 100%;
  min-height: 100%;
  padding: 36px;
  color: white;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 28%),
    linear-gradient(145deg, rgba(24, 75, 99, 0.96), rgba(204, 106, 49, 0.94));
}

.hero-topline {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.hero-badge,
.countdown {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.hero-badge.ghost {
  background: rgba(255, 255, 255, 0.08);
}

.hero-card p {
  color: rgba(255, 255, 255, 0.84);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 22px;
}

.hero-metrics div {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  font-size: 30px;
}

.hero-story {
  display: grid;
  gap: 12px;
}

.story-card {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
}

.story-card span,
.story-card strong {
  display: block;
}

.story-card span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  margin-bottom: 4px;
}

.inline-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 22px;
  color: var(--muted);
}

.quick-login {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.quick-login-card {
  padding: 16px 18px;
  border: 1px solid rgba(66, 48, 34, 0.08);
  border-radius: 18px;
  text-align: left;
  color: var(--text);
  background: rgba(255, 255, 255, 0.64);
}

.quick-login-card strong,
.quick-login-card span {
  display: block;
}

.quick-login-card strong {
  margin-bottom: 6px;
}

.quick-login-card span {
  color: var(--muted);
  font-size: 14px;
}

.top-gap {
  margin-top: 18px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.status-dot.success {
  background: var(--success);
}

.payment-screen {
  min-height: calc(100vh - 130px);
  display: none;
}

.payment-screen.active {
  display: grid;
  place-items: center;
}

.mobile-frame {
  position: relative;
  width: min(440px, 100%);
  padding: 14px;
  border-radius: 38px;
  background: linear-gradient(180deg, #0f141c, #131a24);
  box-shadow: 0 32px 72px rgba(18, 24, 33, 0.3);
}

.mobile-frame.mobile-frame-jd,
.mobile-frame.mobile-frame-mt {
  background: linear-gradient(180deg, #ececec, #e3e6eb);
}

.mobile-glow {
  position: absolute;
  inset: 30px 24px auto;
  height: 120px;
  border-radius: 28px;
  background: radial-gradient(circle, rgba(204, 106, 49, 0.14), transparent 74%);
  filter: blur(12px);
}

.mobile-topbar {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  padding: 0 8px 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
}

.pay-card {
  position: relative;
  z-index: 1;
  padding: 24px 22px 22px;
  background:
    linear-gradient(180deg, rgba(255, 248, 239, 1), rgba(251, 253, 255, 1));
}

.pay-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.pay-hero {
  padding: 32px 0 20px;
  text-align: center;
}

.pay-caption {
  margin-bottom: 6px;
}

.pay-amount {
  margin: 6px 0 12px;
  font-size: 52px;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.pay-hero h3 {
  margin: 8px 0;
  font-size: 28px;
}

.pay-cta {
  margin-top: 8px;
  margin-bottom: 10px;
  padding-top: 16px;
  padding-bottom: 16px;
  font-size: 18px;
}

.jd-pay-card {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(180deg, #f6f7fb 0%, #eef1f7 100%);
}

.jd-statusbar {
  display: flex;
  justify-content: space-between;
  padding: 10px 18px 4px;
  color: #1f1f1f;
  font-size: 14px;
  font-weight: 700;
  background: white;
}

.jd-browser {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: white;
}

.jd-browser-icon,
.jd-browser-grid {
  border: 0;
  color: #353535;
  background: transparent;
  font-size: 22px;
}

.jd-browser-copy {
  text-align: center;
}

.jd-browser-copy strong,
.jd-browser-copy span {
  display: block;
}

.jd-browser-copy strong {
  font-size: 24px;
  font-weight: 800;
}

.jd-browser-copy span {
  color: #7b7b7b;
  font-size: 13px;
}

.jd-banner {
  position: relative;
  padding: 18px 18px 10px;
  display: grid;
  grid-template-columns: 76px 1fr 72px;
  align-items: center;
  gap: 12px;
  background: linear-gradient(180deg, rgba(255, 232, 237, 0.95), rgba(255, 244, 247, 0.92));
}

.jd-avatar,
.jd-mascot,
.jd-product-thumb {
  border-radius: 22px;
}

.jd-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 34%, #ffd3a4, #d27c43 62%, #9c5125 100%);
}

.jd-mascot {
  width: 72px;
  height: 72px;
  justify-self: end;
  background: radial-gradient(circle at 50% 34%, #fff, #f6f6f6 70%, #f0dcdc 100%);
  box-shadow: inset 0 -8px 18px rgba(232, 97, 97, 0.18);
}

.jd-bubble {
  position: relative;
  padding: 18px 18px 18px 26px;
  border: 2px solid rgba(225, 93, 110, 0.65);
  border-radius: 24px;
  color: #2a2323;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 34px rgba(230, 143, 157, 0.18);
}

.jd-quote {
  position: absolute;
  top: -18px;
  left: 18px;
  color: #ff3030;
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
}

.jd-bubble p {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
}

.jd-card {
  margin: 14px 14px 0;
  padding: 20px;
  border-radius: 26px;
  background: white;
  box-shadow: 0 14px 30px rgba(31, 36, 51, 0.06);
}

.jd-card.amount {
  margin-top: 16px;
}

.jd-card-top,
.jd-card-bottom,
.jd-pay-method,
.jd-product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.jd-card-top span,
.jd-section-title,
.jd-notice p,
.jd-product-meta span {
  color: #6d6d6d;
}

.jd-card-bottom {
  margin-top: 16px;
}

.jd-card-bottom strong {
  color: #ff3225;
  font-size: 40px;
  letter-spacing: -0.04em;
}

.jd-timer {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.jd-timer em {
  min-width: 28px;
  padding: 4px 6px;
  border-radius: 8px;
  text-align: center;
  color: #454545;
  background: #f2f2f2;
  font-style: normal;
}

.jd-section-title {
  margin-bottom: 18px;
  font-size: 15px;
}

.jd-wechat-icon,
.jd-selected {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  font-weight: 800;
}

.jd-wechat-icon {
  background: #20c45a;
}

.jd-selected {
  background: linear-gradient(135deg, #ff3c21, #ff6a00);
}

.jd-pay-method {
  font-size: 18px;
}

.jd-pay-button {
  width: 100%;
  margin-top: 18px;
  padding: 17px 18px;
  border: 0;
  border-radius: 999px;
  color: white;
  font-size: 18px;
  font-weight: 800;
  background: linear-gradient(90deg, #ff2d17, #ff5f00);
}

.jd-notice {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff8f5 0%, #fff1ea 100%);
  border: 1px solid rgba(255, 109, 63, 0.14);
}

.jd-notice strong {
  display: block;
  margin-bottom: 8px;
  color: #4f443f;
  font-size: 15px;
  letter-spacing: 0.01em;
}

.jd-notice-subtitle,
.mt-notice-subtitle {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  line-height: 1.6;
  opacity: 0.78;
}

.notice-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.jd-notice p,
.notice-list li {
  position: relative;
  margin: 0;
  padding-left: 12px;
  color: #6b5d55;
  line-height: 1.75;
  font-size: 13px;
}

.jd-notice p + p,
.notice-list li + li {
  margin-top: 10px;
}

.jd-notice p::before,
.notice-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ff7248;
}

.jd-order-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  align-items: start;
}

.jd-product-thumb {
  width: 92px;
  height: 92px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 30%),
    linear-gradient(135deg, #ff784f, #ff3b30 62%, #ffb95b);
}

.jd-order-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.jd-product-info strong {
  display: block;
  margin-bottom: 12px;
  font-size: 18px;
  line-height: 1.45;
}

.jd-product-meta span:first-child {
  color: #303030;
  font-size: 20px;
}

.jd-product-meta em {
  font-style: normal;
}

.mt-pay-card {
  position: relative;
  z-index: 1;
  padding: 0 16px 22px;
  border-radius: 28px;
  background: linear-gradient(180deg, #f4f4f4 0%, #ededed 100%);
}

.mt-miniapp-bar {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 14px 4px 12px;
  color: #181818;
  font-size: 15px;
  font-weight: 700;
}

.mt-miniapp-home {
  font-size: 18px;
}

.mt-miniapp-bar strong {
  text-align: center;
}

.mt-miniapp-actions {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.mt-header {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: center;
  padding: 0 2px;
}

.mt-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 32%, #ffffff 0 44%, transparent 45%),
    radial-gradient(circle at 50% 62%, #161616 0 18%, transparent 19%),
    linear-gradient(180deg, #f2f2f2, #cfcfcf);
  box-shadow: inset 0 -6px 12px rgba(0, 0, 0, 0.08);
}

.mt-header-copy strong,
.mt-header-copy span {
  display: block;
}

.mt-header-copy strong {
  color: #313131;
  font-size: 18px;
  font-weight: 800;
}

.mt-header-copy span {
  margin-top: 4px;
  color: #676767;
  font-size: 17px;
}

.mt-amount-card,
.mt-order-card {
  margin-top: 16px;
  padding: 22px 18px;
  border-radius: 22px;
  background: white;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.05);
}

.mt-amount-card {
  text-align: center;
}

.mt-amount-title {
  color: #313131;
  font-size: 17px;
  font-weight: 800;
}

.mt-amount-card strong {
  display: block;
  margin: 18px 0 16px;
  color: #202020;
  font-size: 54px;
  letter-spacing: -0.06em;
}

.mt-amount-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #6b6b6b;
  font-size: 15px;
  flex-wrap: wrap;
}

.mt-amount-timer.hidden {
  display: none;
}

.mt-amount-timer em {
  min-width: 28px;
  padding: 4px 0;
  border-radius: 6px;
  color: white;
  font-style: normal;
  font-weight: 800;
  background: #2f2f2f;
}

.mt-notice-box {
  margin-top: 18px;
  padding: 18px 18px 16px;
  border-radius: 16px;
  text-align: left;
  color: #8a6c1e;
  background: linear-gradient(180deg, #fff9de 0%, #fff1b9 100%);
  border: 1px solid rgba(222, 178, 47, 0.2);
}

.mt-notice-box strong {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  color: #715611;
}

.mt-notice-box p {
  position: relative;
  margin: 0;
  padding-left: 12px;
  line-height: 1.72;
  font-size: 13px;
}

.mt-notice-box p + p {
  margin-top: 10px;
}

.mt-notice-box p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #c89c28;
}

.mt-pay-button {
  width: 100%;
  margin-top: 18px;
  padding: 17px 18px;
  border: 0;
  border-radius: 16px;
  color: #2c2400;
  font-size: 18px;
  font-weight: 900;
  background: linear-gradient(180deg, #ffe55e 0%, #ffd82d 100%);
}

.mt-pay-button.dismiss {
  color: #2b2400;
}

.mt-order-shop {
  margin-bottom: 16px;
  color: #333;
  font-size: 17px;
  font-weight: 800;
}

.mt-order-row {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 14px;
  align-items: start;
}

.mt-order-thumb {
  width: 70px;
  height: 70px;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(180deg, #fff4bf, #ffd849);
}

.mt-order-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mt-order-info strong {
  display: block;
  color: #2f2f2f;
  font-size: 16px;
  line-height: 1.4;
}

.mt-order-info p {
  margin: 8px 0 10px;
  color: #767676;
  font-size: 14px;
  line-height: 1.45;
}

.mt-order-info span {
  color: #767676;
  font-size: 14px;
}

.mt-order-price {
  color: #1f1f1f;
  font-size: 18px;
  font-weight: 500;
}

.travel-pay-card {
  position: relative;
  z-index: 1;
  padding: 0 16px 22px;
  border-radius: 28px;
  background: linear-gradient(180deg, #eef5ff 0%, #f8fbff 100%);
}

.travel-mode-flight {
  background: linear-gradient(180deg, #eef5ff 0%, #f8fbff 100%);
}

.travel-mode-train {
  background: linear-gradient(180deg, #edf7f9 0%, #f7fcfd 100%);
}

.travel-mode-hotel {
  background: linear-gradient(180deg, #fff4ea 0%, #fffaf4 100%);
}

.travel-appbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 6px 2px 10px;
  color: #6884a6;
  font-size: 13px;
  font-weight: 700;
}

.travel-appbar span {
  min-width: 40px;
}

.travel-appbar strong {
  padding: 8px 14px;
  border-radius: 999px;
  color: #0f4a87;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.travel-hero-card,
.travel-detail-card {
  margin-top: 14px;
  padding: 18px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(37, 78, 124, 0.07);
}

.travel-hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
}

.travel-hero-copy {
  min-width: 0;
}

.travel-hero-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #1761b7;
  font-size: 18px;
  font-weight: 900;
  background: linear-gradient(180deg, #edf6ff, #dcecff);
}

.travel-hero-label {
  color: #6b86a6;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.travel-hero-top strong {
  display: block;
  margin-top: 6px;
  color: #1f3652;
  font-size: 18px;
  line-height: 1.38;
}

.travel-hero-amount {
  color: #1860b8;
  align-self: center;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.travel-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.travel-hero-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  color: #55718f;
  font-size: 13px;
  background: #f4f8ff;
}

.travel-hero-timer {
  margin-top: 16px;
  padding: 11px 14px;
  border-radius: 14px;
  color: #305682;
  font-size: 13px;
  background: linear-gradient(180deg, #f3f8ff, #eaf2ff);
}

.travel-detail-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.travel-detail-head strong {
  color: #223d5d;
  font-size: 18px;
}

.travel-detail-head span {
  padding: 6px 10px;
  border-radius: 999px;
  color: #2d629a;
  font-size: 12px;
  font-weight: 700;
  background: rgba(24, 96, 184, 0.1);
}

.travel-route-box,
.travel-hotel-box {
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f7fbff, #eef5ff);
}

.travel-route-main,
.travel-hotel-name {
  color: #183858;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.5;
}

.travel-route-sub,
.travel-hotel-info {
  margin-top: 8px;
  color: #6a86a5;
  font-size: 13px;
  line-height: 1.65;
}

.travel-pay-note {
  margin-top: 14px;
  color: #6c86a3;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.travel-pay-button {
  width: 100%;
  margin-top: 16px;
  padding: 18px 18px;
  border: 0;
  border-radius: 18px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  background: linear-gradient(135deg, #1f76d6, #0f4fa2);
  box-shadow: 0 14px 24px rgba(20, 87, 167, 0.22);
}

.travel-mode-train .travel-appbar {
  color: #1d666f;
}

.travel-mode-train .travel-appbar strong {
  color: #1d666f;
}

.travel-mode-train .travel-hero-icon {
  color: #17707f;
  background: linear-gradient(180deg, #e8fbff, #d8f5fb);
}

.travel-mode-train .travel-hero-amount {
  color: #17707f;
}

.travel-mode-train .travel-pay-button {
  background: linear-gradient(135deg, #1790a0, #146874);
}

.travel-mode-hotel .travel-appbar {
  color: #8a5a24;
}

.travel-mode-hotel .travel-appbar strong {
  color: #8a5a24;
}

.travel-mode-hotel .travel-hero-icon {
  color: #b26b1f;
  background: linear-gradient(180deg, #fff0df, #ffe5c4);
}

.travel-mode-hotel .travel-hero-amount {
  color: #b26b1f;
}

.travel-mode-hotel .travel-pay-button {
  background: linear-gradient(135deg, #d88a2d, #b56a1f);
}

.result-card {
  width: min(740px, 100%);
  padding: 38px;
  text-align: center;
}

.result-card.muted {
  background: rgba(255, 250, 243, 0.92);
}

.result-icon {
  width: 86px;
  height: 86px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  font-size: 34px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--success), #68a785);
}

.result-icon.muted {
  background: linear-gradient(135deg, #bba173, #8f7960);
}

@media (max-width: 1180px) {
  .shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  }

  .auth-page,
  .create-lower,
  .dashboard-layout,
  .stats-grid,
  .panel-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .workspace {
    padding: 16px;
  }

  .topbar,
  .section-heading,
  .success-banner,
  .detail-hero {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .filter-row {
    flex-direction: column;
  }

  .pagination-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .detail-amount {
    text-align: left;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .travel-hero-top {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: flex-start;
  }

  .travel-hero-amount {
    grid-column: 1 / -1;
    margin-top: 2px;
  }
}
