:root {
  --bg: #f6f8fc;
  --panel: #ffffff;
  --panel-soft: #f2f5fb;
  --panel-soft-strong: #eef3fb;
  --panel-deep: #0f1728;
  --panel-deep-soft: #18233c;
  --line: rgba(19, 33, 68, 0.08);
  --text: #171c26;
  --muted: #707b90;
  --muted-soft: #95a1b6;
  --primary: #1f6dd7;
  --primary-deep: #1259bc;
  --primary-soft: #e8f1ff;
  --success: #1d6fd4;
  --danger: #da5a5a;
  --shadow-soft: 0 24px 80px rgba(17, 40, 84, 0.08);
  --shadow-card: 0 18px 40px rgba(19, 33, 68, 0.08);
  --radius-xl: 34px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

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

html.is-walkthrough-open,
body.is-walkthrough-open {
  overflow: auto;
  overscroll-behavior: auto;
  scrollbar-gutter: stable;
}

body {
  font-family: "Aptos", "Segoe UI Variable", "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at top center, rgba(31, 109, 215, 0.04), transparent 34%),
    linear-gradient(180deg, #fbfcff 0%, var(--bg) 100%);
  color: var(--text);
}

body.is-booting .page-shell,
body.is-booting .mobile-tabbar {
  visibility: visible;
}

body.is-support-modal-open,
body.is-invalid-card-modal-open,
body.is-announcement-modal-open,
body.is-announcement-detail-modal-open,
body.is-model-monitor-modal-open,
body.is-setup-modal-open {
  overflow: hidden;
}

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

button,
input,
select {
  font: inherit;
}

code {
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
}

.page-shell {
  width: min(1240px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 0 0 40px;
}

.topbar {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(19, 33, 68, 0.04);
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-shortcut {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.header-shortcut-link {
  color: #171c26;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.header-shortcut-link:hover {
  color: #0f1728;
}

.brand-avatar {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(17, 40, 84, 0.12);
}

.brand-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #171c26;
}

.top-actions,
.footer-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.top-text,
.footer-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--primary);
}

.action-pill {
  min-height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--primary), var(--primary-deep));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(31, 109, 215, 0.22);
}

.mobile-header-actions,
.mobile-feature-list,
.mobile-success-hero,
.mobile-tabbar {
  display: none;
}

.mobile-circle-button {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.mobile-circle-button svg,
.mobile-tab svg,
.mobile-feature-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.mobile-feature-list,
.mobile-feature-copy p,
.mobile-section-label {
  margin: 0;
}

.mobile-feature-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.mobile-feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
}

.mobile-feature-icon.is-blue {
  color: #1f6dd7;
  background: #e6efff;
}

.mobile-feature-icon.is-slate {
  color: #44526b;
  background: #edf2f8;
}

.mobile-feature-icon.is-peach {
  color: #d17b4d;
  background: #ffe8de;
}

.mobile-feature-copy strong {
  display: block;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.mobile-feature-copy p {
  margin-top: 4px;
  color: #70809a;
  font-size: 13px;
  line-height: 1.55;
}

.mobile-section-label {
  color: #9aa7bc;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
}

.mobile-success-ring {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #e8f1ff;
  display: grid;
  place-items: center;
}

.mobile-success-core {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(180deg, #2f87ff, #1f6dd7);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 16px 26px rgba(31, 109, 215, 0.22);
}

.mobile-success-core svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.mobile-tab {
  color: inherit;
  text-decoration: none;
}

.support-modal,
.invalid-card-modal,
.setup-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 120;
  padding: 20px 16px;
}

.support-modal[hidden],
.invalid-card-modal[hidden],
.setup-modal[hidden] {
  display: none !important;
}

.support-modal-backdrop,
.invalid-card-modal-backdrop,
.setup-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 40, 0.48);
  backdrop-filter: blur(8px);
}

.support-modal-card {
  position: relative;
  width: min(calc(100vw - 32px), 360px);
  padding: 22px 20px 18px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 28px 56px rgba(18, 36, 72, 0.2);
  z-index: 1;
}

.invalid-card-modal-card {
  position: relative;
  width: min(calc(100vw - 32px), 420px);
  padding: 28px 24px 22px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 247, 247, 0.98));
  border: 1px solid rgba(239, 68, 68, 0.18);
  box-shadow: 0 34px 70px rgba(127, 29, 29, 0.26);
  z-index: 1;
  text-align: center;
}

.invalid-card-warning-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  border-radius: 22px;
  background: linear-gradient(180deg, #ff6b6b, #ef4444 58%, #dc2626);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 34px;
  line-height: 1;
  font-weight: 950;
  box-shadow: 0 18px 32px rgba(239, 68, 68, 0.28);
}

.invalid-card-modal-kicker {
  margin: 0;
  color: #ef4444;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.invalid-card-modal-card h3 {
  margin: 10px 0 0;
  color: #151b2a;
  font-size: 26px;
  letter-spacing: -0.05em;
}

.invalid-card-modal-text {
  margin: 14px auto 0;
  max-width: 330px;
  color: #7f1d1d;
  font-size: 16px;
  line-height: 1.75;
  font-weight: 800;
}

.invalid-card-modal-actions {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 12px;
}

.invalid-card-modal-copy,
.invalid-card-modal-dismiss {
  min-height: 48px;
  border: 0;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.invalid-card-modal-copy {
  background: linear-gradient(90deg, #ef4444, #dc2626 58%, #f97316);
  color: #fff;
  box-shadow: 0 16px 26px rgba(239, 68, 68, 0.24);
}

.invalid-card-modal-copy.is-copied {
  background: linear-gradient(90deg, #20b765, #179a55 56%, #31c874);
  box-shadow: 0 16px 26px rgba(23, 166, 93, 0.22);
}

.invalid-card-modal-dismiss {
  background: #fee2e2;
  color: #991b1b;
}

.invalid-card-modal-copy:hover,
.invalid-card-modal-dismiss:hover {
  transform: translateY(-1px);
}

.setup-modal-card {
  position: relative;
  width: min(calc(100vw - 32px), 520px);
  padding: 24px 22px 22px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(246, 250, 255, 0.98));
  box-shadow: 0 34px 64px rgba(18, 36, 72, 0.22);
  z-index: 1;
}

.support-modal-close,
.setup-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #f2f5fa;
  color: #6f7d93;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.support-modal-close svg,
.setup-modal-close svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.support-modal-kicker,
.setup-modal-kicker {
  margin: 0;
  color: #96a3b8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.support-modal-card h3,
.setup-modal-card h3 {
  margin: 10px 0 0;
  font-size: 24px;
  letter-spacing: -0.05em;
}

.support-modal-text,
.setup-modal-text {
  margin: 12px 0 0;
  color: #607089;
  font-size: 15px;
  line-height: 1.7;
  word-break: break-all;
}

.setup-modal-text.is-soft {
  color: #7b88a0;
  font-size: 14px;
  line-height: 1.8;
}

.setup-device-row {
  margin-top: 12px;
  display: flex;
  align-items: center;
}

.setup-platform-switch,
.setup-route-switch {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.setup-route-switch {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 12px;
}

.setup-platform-option,
.setup-route-option {
  min-height: 38px;
  border: 1px solid rgba(31, 109, 215, 0.14);
  border-radius: 14px;
  background: #f5f8ff;
  color: #6c7a90;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.setup-platform-option:hover,
.setup-route-option:hover {
  transform: translateY(-1px);
  background: #edf3ff;
  color: #1f6dd7;
}

.setup-platform-option.is-active,
.setup-route-option.is-active {
  background: linear-gradient(180deg, #2e7cf3, #1f6dd7 56%, #2f87ff);
  border-color: rgba(31, 109, 215, 0.42);
  color: #fff;
  box-shadow: 0 14px 24px rgba(31, 109, 215, 0.18);
}

.setup-route-option[data-setup-route="optimized"].is-active {
  background: linear-gradient(180deg, #13c58b, #059669 56%, #10b981);
  border-color: rgba(5, 150, 105, 0.42);
  box-shadow: 0 14px 24px rgba(16, 185, 129, 0.18);
}

.setup-device-badge {
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #edf4ff;
  color: #1f6dd7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  gap: 8px;
}

.setup-device-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.setup-device-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.setup-device-hint {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(241, 182, 70, 0.12);
  color: #92610a;
  font-size: 13px;
  line-height: 1.7;
  font-weight: 700;
}

.setup-command-box {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, #eef4ff 0%, #f6f9ff 100%);
  border: 1px solid rgba(63, 119, 230, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.setup-command-box code {
  display: block;
  color: #1757b8;
  font-size: 13px;
  line-height: 1.8;
  white-space: pre-wrap;
  word-break: break-all;
}

.support-modal-action {
  width: 100%;
  min-height: 48px;
  margin-top: 18px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(90deg, #2e7cf3, #1f6dd7 56%, #2f87ff);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 16px 24px rgba(31, 109, 215, 0.2);
}

.support-modal-action.is-copied {
  background: linear-gradient(90deg, #20b765, #179a55 56%, #31c874);
  box-shadow: 0 16px 24px rgba(23, 166, 93, 0.22);
}

.support-modal-secondary {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 16px;
  background: #edf3ff;
  color: #1f6dd7;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.support-modal-secondary:hover {
  background: #e3ecff;
  transform: translateY(-1px);
}

.support-modal-secondary.is-copied {
  background: rgba(28, 179, 98, 0.12);
  color: #179a55;
}

.setup-modal-actions {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.announcement-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 140;
  padding: 20px 16px;
}

.announcement-modal[hidden] {
  display: none !important;
}

.announcement-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 40, 0.48);
  backdrop-filter: blur(8px);
}

.announcement-modal-card {
  position: relative;
  width: min(calc(100vw - 32px), 430px);
  padding: 28px 24px 22px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(246, 250, 255, 0.98));
  box-shadow: 0 34px 64px rgba(18, 36, 72, 0.24);
  z-index: 1;
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
}

.announcement-modal-kicker {
  margin: 0;
  color: #96a3b8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.announcement-modal-time {
  color: #7c8aa1;
  font-size: 12px;
  font-weight: 700;
}

.announcement-modal-time[hidden] {
  display: none !important;
}

.announcement-modal-card h3 {
  margin: 0;
  font-size: 26px;
  letter-spacing: -0.05em;
}

.announcement-modal-text {
  margin: 0;
  color: #607089;
  font-size: 15px;
  line-height: 1.85;
  white-space: pre-line;
}

.announcement-modal-actions {
  width: 100%;
  margin-top: 4px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.announcement-modal-primary,
.announcement-modal-secondary {
  min-height: 48px;
  border: 0;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.announcement-modal-primary {
  background: linear-gradient(90deg, #2e7cf3, #1f6dd7 56%, #2f87ff);
  color: #fff;
  box-shadow: 0 16px 24px rgba(31, 109, 215, 0.2);
}

.announcement-modal-secondary {
  background: #edf3ff;
  color: #1f6dd7;
}

.announcement-modal-primary:hover,
.announcement-modal-secondary:hover {
  transform: translateY(-1px);
}

.announcement-modal-secondary:hover {
  background: #e3ecff;
}

.announcement-detail-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 145;
  padding: 20px 16px;
}

.announcement-detail-modal[hidden] {
  display: none !important;
}

.announcement-detail-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 40, 0.46);
  backdrop-filter: blur(8px);
}

.announcement-detail-modal-card {
  position: relative;
  width: min(calc(100vw - 32px), 520px);
  padding: 28px 24px 22px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(246, 250, 255, 0.98));
  box-shadow: 0 34px 64px rgba(18, 36, 72, 0.24);
  z-index: 1;
  display: grid;
  gap: 12px;
}

.announcement-detail-modal-kicker {
  margin: 0;
  color: #96a3b8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.announcement-detail-modal-time {
  color: #7c8aa1;
  font-size: 12px;
  font-weight: 700;
}

.announcement-detail-modal-time[hidden] {
  display: none !important;
}

.announcement-detail-modal-card h3 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.05em;
}

.announcement-detail-modal-text {
  margin: 0;
  color: #607089;
  font-size: 15px;
  line-height: 1.82;
  white-space: pre-line;
  max-height: min(52vh, 420px);
  overflow: auto;
  padding-right: 4px;
}

.announcement-detail-modal-actions {
  width: 100%;
  margin-top: 4px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.announcement-detail-modal-actions.is-single {
  grid-template-columns: 1fr;
}

.announcement-detail-modal-primary,
.announcement-detail-modal-secondary {
  min-height: 48px;
  border: 0;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.announcement-detail-modal-primary {
  background: linear-gradient(90deg, #2e7cf3, #1f6dd7 56%, #2f87ff);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 24px rgba(31, 109, 215, 0.2);
}

.announcement-detail-modal-primary[hidden] {
  display: none !important;
}

.announcement-detail-modal-secondary {
  background: #edf3ff;
  color: #1f6dd7;
}

.announcement-detail-modal-primary:hover,
.announcement-detail-modal-secondary:hover {
  transform: translateY(-1px);
}

.announcement-detail-modal-secondary:hover {
  background: #e3ecff;
}

.model-monitor-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 150;
  padding: 22px;
}

.model-monitor-modal[hidden] {
  display: none !important;
}

.model-monitor-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 40, 0.5);
  backdrop-filter: blur(8px);
}

.model-monitor-modal-card {
  position: relative;
  width: min(calc(100vw - 44px), 1160px);
  max-height: min(86vh, 760px);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 34px 76px rgba(12, 21, 38, 0.28);
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
}

.model-monitor-modal-head {
  padding: 28px 34px;
  border-bottom: 1px solid rgba(19, 33, 68, 0.08);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.model-monitor-modal-kicker {
  margin: 0 0 8px;
  color: #8b96a9;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.model-monitor-modal-head h3 {
  margin: 0;
  color: #141b2b;
  font-size: 30px;
  letter-spacing: -0.05em;
}

.model-monitor-modal-close {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #f3f6fb;
  color: #8b96a9;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.model-monitor-modal-close svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.model-monitor-modal-table-wrap {
  overflow: auto;
  padding: 24px 34px;
}

.model-monitor-modal-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}

.model-monitor-modal-table th,
.model-monitor-modal-table td {
  padding: 17px 12px;
  border-bottom: 1px solid rgba(19, 33, 68, 0.08);
  color: #2f3b4f;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
}

.model-monitor-modal-table th {
  color: #6d778a;
  font-size: 14px;
  font-weight: 900;
}

.model-monitor-modal-table td strong {
  color: #101827;
  font-size: 18px;
  font-weight: 900;
}

.model-monitor-modal-actions {
  padding: 18px 34px 24px;
  border-top: 1px solid rgba(19, 33, 68, 0.08);
  display: flex;
  justify-content: flex-end;
}

.model-monitor-modal-primary {
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid rgba(19, 33, 68, 0.08);
  border-radius: 16px;
  background: #fff;
  color: #2f3b4f;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(18, 36, 72, 0.08);
}

.walkthrough-overlay {
  position: fixed;
  inset: 0;
  z-index: 180;
  pointer-events: none;
  opacity: 0;
  transition: opacity 220ms ease;
}

.walkthrough-overlay[hidden] {
  display: none !important;
}

.walkthrough-overlay.is-active {
  opacity: 1;
}

.walkthrough-card[hidden] {
  display: none !important;
}

.walkthrough-backdrop {
  position: absolute;
  inset: 0;
  background: transparent;
  backdrop-filter: none;
}

.walkthrough-focus-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-radius: 28px;
  border: 2px solid rgba(101, 152, 255, 0.96);
  box-shadow:
    0 0 0 8px rgba(101, 152, 255, 0.18),
    0 18px 42px rgba(24, 49, 96, 0.22);
  opacity: 0;
  transition:
    top 0.28s ease,
    left 0.28s ease,
    width 0.28s ease,
    height 0.28s ease,
    opacity 0.22s ease,
    transform 0.28s ease;
  pointer-events: none;
}

.walkthrough-focus-ring.is-active {
  animation: walkthrough-focus-pulse 1.6s ease-in-out infinite;
}

.walkthrough-card {
  position: fixed;
  top: 24px;
  right: 24px;
  left: auto;
  bottom: auto;
  transform: translateY(10px) scale(0.985);
  width: min(250px, calc(100vw - 24px));
  max-height: min(calc(100vh - 32px), 260px);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-gutter: stable;
  padding: 16px 16px 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(31, 109, 215, 0.10);
  box-shadow: 0 28px 56px rgba(18, 36, 72, 0.22);
  pointer-events: auto;
  z-index: 205;
  opacity: 0;
  transition:
    opacity 180ms ease,
    transform 220ms ease,
    top 220ms ease,
    bottom 220ms ease;
}

.walkthrough-card.is-top {
  top: 24px;
  bottom: auto;
}

.walkthrough-card.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.walkthrough-card.is-top.is-active {
  transform: translateY(0) scale(1);
}

.walkthrough-card.is-bump {
  animation: walkthrough-card-bump 280ms ease;
}

.walkthrough-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.walkthrough-head-side {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.walkthrough-kicker {
  margin: 0;
  color: #96a3b8;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.walkthrough-step-count {
  color: #6c7a92;
  font-size: 11px;
  font-weight: 800;
}

.walkthrough-progress {
  margin-top: 10px;
  height: 4px;
  border-radius: 999px;
  background: rgba(31, 109, 215, 0.1);
  overflow: hidden;
}

.walkthrough-progress-bar {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #4f8cff 0%, #1f6dd7 100%);
  transition: width 220ms ease;
}

.walkthrough-skip {
  border: 0;
  background: transparent;
  color: #1f6dd7;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.walkthrough-card h3 {
  margin: 8px 0 0;
  font-size: 18px;
  letter-spacing: -0.05em;
}

.walkthrough-text {
  margin: 10px 0 0;
  color: #607089;
  font-size: 12px;
  line-height: 1.55;
}

.walkthrough-hint {
  margin: 8px 0 0;
  color: #90a0b8;
  font-size: 10px;
  line-height: 1.6;
}

.walkthrough-actions {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
}

.walkthrough-next {
  min-width: 96px;
  min-height: 40px;
  padding: 0 16px;
}

@keyframes walkthrough-card-bump {
  0% {
    transform: translateY(8px) scale(0.98);
  }
  60% {
    transform: translateY(0) scale(1.01);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

@keyframes walkthrough-focus-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 8px rgba(101, 152, 255, 0.18),
      0 18px 42px rgba(24, 49, 96, 0.22);
  }
  50% {
    box-shadow:
      0 0 0 12px rgba(101, 152, 255, 0.12),
      0 22px 50px rgba(24, 49, 96, 0.26);
  }
}

.is-tour-target {
  position: relative;
  z-index: 9999 !important;
  pointer-events: none !important;
  outline: 3px solid rgba(101, 152, 255, 0.96);
  outline-offset: 6px;
  box-shadow:
    0 0 0 8px rgba(101, 152, 255, 0.22),
    0 20px 42px rgba(24, 49, 96, 0.18);
  filter: none !important;
  backdrop-filter: none !important;
  mix-blend-mode: normal;
}

.setup-modal.is-tour-surface {
  z-index: 195;
}

.main-stage {
  padding: 48px 0 24px;
}

.screen[hidden] {
  display: none !important;
}

.landing-view,
.result-view {
  animation: page-enter 240ms ease;
}

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

.hero-block,
.success-hero {
  display: grid;
  justify-items: center;
  text-align: center;
}

.activation-panel {
  width: min(860px, 100%);
  margin: 12px auto 0;
  padding: 38px 46px 42px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 255, 0.98));
  border: 1px solid rgba(31, 109, 215, 0.12);
  box-shadow: 0 28px 90px rgba(17, 40, 84, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.activation-icon-shell {
  width: 76px;
  height: 76px;
  margin: 0 auto;
  border-radius: 22px;
  background: linear-gradient(180deg, #edf5ff, #dceaff);
  display: grid;
  place-items: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 14px 34px rgba(31, 109, 215, 0.08);
}

.activation-icon-shell svg {
  width: 34px;
  height: 34px;
  fill: #2b76e8;
}

.activation-hero {
  margin-top: 20px;
}

.eyebrow-pill {
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: #e8f1fb;
  color: #6780a7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(31, 109, 215, 0.1);
}

.hero-title,
.success-hero h2 {
  margin: 22px 0 0;
  max-width: 980px;
  font-size: clamp(64px, 7vw, 92px);
  line-height: 0.96;
  letter-spacing: -0.06em;
  font-weight: 850;
}

.hero-title .accent-text,
.brand-accent {
  color: var(--primary);
}

.activation-panel .hero-title {
  margin-top: 0;
  color: #171c26;
  font-size: clamp(34px, 4.6vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.hero-subtitle,
.success-hero p {
  margin: 28px 0 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.activation-panel .hero-subtitle {
  margin-top: 10px;
  color: #7e8ca5;
  font-size: 16px;
  line-height: 1.6;
}

.redeem-form {
  display: grid;
  gap: 18px;
}

.activation-form {
  width: min(520px, 100%);
  margin: 28px auto 0;
  gap: 16px;
}

.field-label,
.credential-label,
.meta-label,
.card-kicker {
  color: #4e5f7e;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.activation-form .field-label {
  color: #73809a;
  font-size: 12px;
  text-align: left;
}

.code-input {
  width: 100%;
  height: 78px;
  padding: 0 26px;
  border-radius: 20px;
  border: 1px solid transparent;
  background: var(--panel-soft);
  color: var(--text);
  font-size: 20px;
  font-weight: 700;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.activation-form .code-input {
  height: 62px;
  border-radius: 18px;
  background: #eef4ff;
  border: 1px solid rgba(78, 109, 166, 0.22);
  text-align: center;
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #111828;
}

.code-input::placeholder {
  color: #a5b1c4;
}

.activation-form .code-input::placeholder {
  color: #7f8da8;
  letter-spacing: 0.06em;
}

.code-input:focus {
  border-color: rgba(31, 109, 215, 0.28);
  box-shadow: 0 0 0 5px rgba(31, 109, 215, 0.08);
}

.turnstile-wrap {
  display: flex;
  justify-content: center;
}

.primary-button {
  min-height: 68px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--primary), var(--primary-deep));
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 18px 34px rgba(31, 109, 215, 0.18);
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.primary-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 38px rgba(31, 109, 215, 0.22);
}

.activation-button {
  min-height: 54px;
  margin-top: 8px;
  border-radius: 18px;
  background: linear-gradient(90deg, #2e7cf3, #1f6dd7 56%, #2f87ff);
  font-size: 16px;
  letter-spacing: 0.02em;
}

.primary-button:disabled {
  opacity: 0.68;
  cursor: default;
  transform: none;
}

.primary-button-wide {
  min-width: 300px;
}

.secondary-button {
  min-height: 54px;
  padding: 0 22px;
  border: 0;
  border-radius: 18px;
  background: #edf4ff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.secondary-button:hover {
  background: #e3eeff;
  transform: translateY(-1px);
}

.secondary-button:disabled {
  opacity: 0.7;
  cursor: default;
  transform: none;
}

.button-arrow {
  font-size: 24px;
  line-height: 1;
}

.code-input-compact {
  height: 54px;
  padding: 0 18px;
  border-radius: 18px;
  background: #f4f7fc;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.support-line,
.status-text,
.secure-note,
.credit-hint,
.support-box p,
.mini-info-card p,
.page-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.support-line {
  text-align: center;
}

.support-line span {
  color: var(--primary);
  font-weight: 700;
}

.activation-form .support-line {
  margin-top: 4px;
  color: #8490a7;
  font-size: 18px;
  line-height: 1.6;
}

.status-text {
  text-align: center;
  min-height: 24px;
}

.activation-form .status-text {
  color: #75819a;
  font-size: 18px;
  line-height: 1.6;
}

.activation-progress {
  width: min(860px, 100%);
  margin: 20px auto 0;
  padding: 16px 12px 0;
  display: grid;
  justify-items: center;
  text-align: center;
}

.activation-progress-icon {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #e9f2ff;
  display: grid;
  place-items: center;
}

.activation-progress-icon svg {
  width: 34px;
  height: 34px;
  fill: #2f74da;
  animation: spin 1.05s linear infinite;
}

.activation-progress h2 {
  margin: 22px 0 0;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.activation-progress p {
  margin: 16px 0 0;
  color: #74829b;
  font-size: 17px;
  line-height: 1.7;
}

.activation-progress-text {
  color: #2b76e8 !important;
  font-weight: 700;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.status-text.is-error {
  color: var(--danger);
}

.status-text.is-success {
  color: var(--primary);
}

.result-feedback {
  padding: 14px 18px;
  border-radius: 18px;
  background: #f4f7fc;
}

.result-feedback.is-success {
  background: rgba(28, 179, 98, 0.12);
  color: #138a4f;
  box-shadow: 0 10px 24px rgba(28, 179, 98, 0.12);
}

.result-feedback.is-error {
  background: rgba(218, 90, 90, 0.1);
  color: #c24949;
}

.feature-grid,
.result-highlights {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.feature-card,
.mini-info-card {
  min-height: 230px;
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.58);
  box-shadow: 0 16px 48px rgba(17, 40, 84, 0.04);
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary-soft);
  display: grid;
  place-items: center;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--primary);
}

.feature-card h2,
.mini-info-card h4,
.result-card h3 {
  margin: 20px 0 12px;
  font-size: 31px;
  letter-spacing: -0.05em;
}

.feature-card h2,
.mini-info-card h4 {
  font-size: 30px;
}

.feature-card p,
.mini-info-card p {
  max-width: 310px;
}

.page-footer {
  margin-top: 76px;
  padding: 28px 0 0;
  border-top: 1px solid rgba(19, 33, 68, 0.06);
  display: block;
}

.page-footer strong {
  display: block;
  margin-bottom: 8px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.success-badge {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #e9f2ff;
  display: grid;
  place-items: center;
}

.success-badge svg {
  width: 34px;
  height: 34px;
  fill: var(--primary);
}

.success-hero h2 {
  font-size: clamp(44px, 5vw, 66px);
}

.result-feedback {
  margin-top: 16px;
}

.result-feedback-top {
  margin: 0 0 18px;
  font-size: 18px;
}

.result-announcement {
  width: min(100%, 700px);
  margin: 0 auto 12px;
  min-height: 62px;
  padding: 10px 14px;
  border-radius: 18px;
  border: 1px solid rgba(244, 109, 78, 0.18);
  background: linear-gradient(135deg, #fff4ea 0%, #ffe4cf 42%, #ffd5c9 100%);
  color: #c8452f;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-shadow: 0 14px 30px rgba(236, 127, 76, 0.12);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.result-announcement:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(236, 127, 76, 0.16);
  filter: saturate(1.03);
}

.result-announcement-badge {
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(231, 81, 54, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  flex-shrink: 0;
}

.result-announcement-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #e35a43;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(227, 90, 67, 0.08);
}

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

.result-announcement-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.result-announcement-text {
  display: block;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.35;
  white-space: pre-line;
}

.result-announcement-time {
  color: #b25c49;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.result-announcement-time[hidden] {
  display: none !important;
}

.result-announcement-arrow {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: #e35a43;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(227, 90, 67, 0.08);
}

.result-announcement-arrow svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.result-workbench {
  margin-top: 0;
}

.result-sidebar {
  display: none;
}

.result-main-panel {
  min-width: 0;
}

.result-section-hero {
  display: none;
}

.usage-tutorial-card,
.contact-card,
.activity-center-card,
.model-monitor-card {
  display: none;
}

.result-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 26px;
  align-items: start;
}

.left-stack {
  display: grid;
  gap: 24px;
  align-content: start;
}

.side-stack {
  display: grid;
  gap: 24px;
}

.side-stack .recharge-panel {
  margin-top: 0;
}

.result-card {
  background: var(--panel);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.status-pill {
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #edf5ff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status-pill.is-danger {
  background: #ffeef0;
  color: var(--danger);
}

.credential-row {
  margin-top: 24px;
}

.credential-row-compact {
  margin-top: 14px;
}

.credential-route-note {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.09);
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
}

.credential-route-note.is-optimized {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
}

.credential-box {
  margin-top: 12px;
  min-height: 62px;
  padding: 0 16px 0 18px;
  border-radius: 18px;
  background: var(--panel-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.credential-box code {
  flex: 1;
  min-width: 0;
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.credential-box.is-secret code {
  color: var(--text);
}

.credential-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
  position: relative;
  overflow: visible;
}

.icon-button:hover {
  background: rgba(31, 109, 215, 0.08);
  transform: translateY(-1px);
}

.icon-button svg {
  width: 18px;
  height: 18px;
  fill: #58667e;
}

.icon-button.is-copied {
  background: rgba(28, 179, 98, 0.12);
}

.icon-button.is-copied svg {
  fill: #15a05c;
}

.copy-badge {
  position: absolute;
  top: -10px;
  right: -12px;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: linear-gradient(180deg, #1fc86f, #17a65d);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 18px rgba(23, 166, 93, 0.24);
  opacity: 0;
  transform: translateY(4px) scale(0.94);
  pointer-events: none;
}

.icon-button.is-copied .copy-badge {
  animation: copy-badge-flash 2.2s ease forwards;
}

@keyframes copy-badge-flash {
  0% {
    opacity: 0;
    transform: translateY(4px) scale(0.94);
  }
  12% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  78% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-2px) scale(0.96);
  }
}

.meta-row {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.meta-item {
  padding: 18px;
  border-radius: 18px;
  background: #fbfcff;
  border: 1px solid rgba(19, 33, 68, 0.05);
}

.meta-value {
  display: block;
  margin-top: 10px;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 700;
  word-break: break-all;
}

.topup-target-panel {
  margin-top: 22px;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 247, 238, 0.96), rgba(255, 252, 248, 0.96));
  border: 1px solid rgba(246, 147, 76, 0.18);
}

.topup-target-copy {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.group-switch-panel {
  margin-top: 22px;
  padding: 22px;
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(31, 109, 215, 0.08), transparent 34%),
    linear-gradient(180deg, #fbfdff 0%, #f6f9ff 100%);
  border: 1px solid rgba(19, 33, 68, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.group-switch-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.group-switch-head h4 {
  margin: 8px 0 0;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.group-switch-current-tag {
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: #edf5ff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.group-switch-copy,
.group-switch-status {
  margin: 12px 0 0;
  color: #74829a;
  font-size: 14px;
  line-height: 1.75;
}

.group-switch-status {
  min-height: 24px;
  font-size: 13px;
}

.group-switch-status.is-error {
  color: var(--danger);
}

.group-switch-status.is-success {
  color: #138a4f;
}

.group-switch-guide {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.group-switch-guide-item {
  position: relative;
  min-height: 150px;
  padding: 18px;
  border: 1px solid rgba(119, 139, 176, 0.15);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 255, 0.98));
  box-shadow: 0 14px 30px rgba(18, 36, 72, 0.06);
  display: grid;
  align-content: start;
  gap: 10px;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.group-switch-guide-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: transparent;
  transition: background 0.16s ease;
}

.group-switch-guide-item:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: rgba(31, 109, 215, 0.22);
  background: linear-gradient(180deg, #ffffff 0%, #f1f7ff 100%);
  box-shadow: 0 18px 36px rgba(31, 109, 215, 0.11);
}

.group-switch-guide-item:hover:not(:disabled)::before {
  background: rgba(31, 109, 215, 0.35);
}

.group-switch-guide-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.group-switch-guide-item.is-active {
  border-color: rgba(31, 109, 215, 0.26);
  background:
    radial-gradient(circle at top right, rgba(31, 109, 215, 0.13), transparent 42%),
    linear-gradient(180deg, #f4f9ff 0%, #edf5ff 100%);
  box-shadow: 0 18px 36px rgba(31, 109, 215, 0.13);
  cursor: default;
}

.group-switch-guide-item.is-active::before {
  background: linear-gradient(180deg, var(--primary), #65a3ff);
}

.group-switch-guide-item:disabled {
  opacity: 1;
}

.group-switch-guide-title {
  color: #14233f;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.group-switch-guide-rate {
  width: fit-content;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(31, 109, 215, 0.1);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.group-switch-guide-rate.is-discount {
  background: rgba(214, 59, 59, 0.1);
  color: #d63b3b;
}

.group-switch-guide-desc {
  color: #6f7d95;
  font-size: 13px;
  line-height: 1.65;
  font-weight: 700;
}

.group-switch-guide-action {
  width: fit-content;
  min-height: 28px;
  margin-top: 6px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eef3fb;
  color: #60708a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
}

.group-switch-guide-item.is-active .group-switch-guide-action {
  background: var(--primary);
  color: #fff;
}

.group-switch-capacity-badge {
  flex: 0 0 auto;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.group-switch-capacity-badge.is-ok {
  background: rgba(20, 161, 96, 0.12);
  color: #14875a;
}

.group-switch-capacity-badge.is-warn {
  background: rgba(243, 164, 38, 0.16);
  color: #b66a05;
}

.group-switch-capacity-badge.is-danger {
  background: rgba(225, 94, 94, 0.14);
  color: #c24545;
}

.group-switch-form {
  margin-top: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.group-switch-select {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 18px;
  border: 1px solid rgba(78, 109, 166, 0.16);
  background: #f4f7fc;
  color: #16233e;
  font-size: 15px;
  font-weight: 700;
  outline: none;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.group-switch-select:focus {
  border-color: rgba(31, 109, 215, 0.26);
  box-shadow: 0 0 0 4px rgba(31, 109, 215, 0.08);
  background: #fff;
}

.group-switch-select:disabled {
  cursor: default;
  opacity: 0.7;
}

.group-switch-button {
  min-width: 132px;
}

.secure-note {
  margin-top: 22px;
  padding-left: 18px;
  position: relative;
}

.secure-note::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--danger);
}

.recharge-panel {
  margin-top: 24px;
  padding: 20px;
  border-radius: 22px;
  background: #fbfcff;
  border: 1px solid rgba(19, 33, 68, 0.05);
}

.recharge-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.recharge-head-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.recharge-head h4 {
  margin: 8px 0 0;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.buy-card-button {
  min-height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(242, 139, 38, 0.18);
  background: linear-gradient(135deg, #ff9a3d 0%, #ff7a1a 52%, #ffb25b 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
  box-shadow: 0 14px 30px rgba(255, 129, 25, 0.24);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  cursor: pointer;
}

.buy-card-button-landing {
  min-height: 52px;
  width: 100%;
  margin-top: -2px;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff7ed 0%, #ffe7c8 100%);
  border-color: rgba(248, 147, 45, 0.22);
  color: #d96a12;
  font-size: 16px;
  box-shadow: 0 14px 30px rgba(255, 148, 46, 0.12);
}

.buy-card-button-recharge {
  position: relative;
  min-height: 42px;
  padding: 0 22px 0 20px;
  border: 1px solid rgba(243, 128, 16, 0.26);
  background: linear-gradient(135deg, #ffb356 0%, #ff8d24 52%, #ff6f0f 100%);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.06em;
  box-shadow: 0 18px 38px rgba(255, 128, 16, 0.3);
  animation: recharge-buy-pulse 2.6s ease-in-out infinite;
}

.buy-card-button-recharge::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  border: 1px solid rgba(255, 170, 74, 0.34);
  opacity: 0.9;
  pointer-events: none;
}

.buy-card-button-recharge::before {
  content: ">";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.buy-card-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(255, 128, 16, 0.3);
  filter: saturate(1.03);
}

.buy-card-button-recharge:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 22px 46px rgba(255, 128, 16, 0.36);
  filter: saturate(1.08);
}

.buy-card-button:active {
  transform: translateY(0);
}

@keyframes recharge-buy-pulse {
  0%,
  100% {
    box-shadow: 0 16px 34px rgba(255, 128, 16, 0.24);
    transform: translateY(0);
  }
  50% {
    box-shadow: 0 18px 42px rgba(255, 128, 16, 0.38);
    transform: translateY(-1px);
  }
}

.recharge-copy {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

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

.recharge-records {
  padding: 24px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(19, 33, 68, 0.06);
  box-shadow: 0 14px 34px rgba(17, 40, 84, 0.05);
}

.recharge-records-card {
  margin-top: 0;
}

.recharge-records-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.recharge-records-head h5 {
  margin: 6px 0 0;
  font-size: 26px;
  letter-spacing: -0.04em;
}

.recharge-record-refresh,
.topup-record-nav {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(31, 109, 215, 0.12);
  border-radius: 999px;
  background: #f5f9ff;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.recharge-record-refresh:disabled,
.topup-record-nav:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.topup-record-list {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.topup-record-item {
  padding: 13px 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, #fbfdff, #f5f8ff);
  border: 1px solid rgba(19, 33, 68, 0.05);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.topup-record-main {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.topup-record-main strong {
  color: #17213a;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.topup-record-main span {
  color: #8490a5;
  font-size: 12px;
  font-weight: 700;
}

.topup-record-center {
  min-width: 0;
  width: 180px;
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
}

.topup-record-center-label {
  color: #7f8da5;
  font-size: 12px;
  font-weight: 700;
}

.topup-record-center-value {
  color: #0f9f6e;
  font-size: 20px;
  line-height: 1;
  font-weight: 950;
}

.topup-record-meta {
  display: grid;
  justify-items: end;
  gap: 5px;
  white-space: nowrap;
}

.topup-record-value {
  color: #0f9f6e;
  font-size: 15px;
  font-weight: 950;
}

.topup-record-status {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(15, 159, 110, 0.1);
  color: #0f8f65;
  font-size: 11px;
  font-weight: 900;
}

.topup-record-empty {
  margin-top: 14px;
  padding: 15px;
  border-radius: 16px;
  background: #f7f9fd;
  color: #7b879a;
  font-size: 13px;
  line-height: 1.65;
  font-weight: 700;
}

.topup-record-controls {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  margin-left: auto;
  margin-right: auto;
  gap: 10px;
}

.topup-record-indicator {
  min-width: 58px;
  color: #6e7a90;
  text-align: center;
  font-size: 12px;
  font-weight: 900;
}

.recharge-history {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.recharge-history-item {
  padding: 14px 16px;
  border-radius: 18px;
  background: #f6f9ff;
}

.recharge-history-label {
  display: block;
  color: #7a889f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.recharge-history-value {
  display: block;
  margin-top: 8px;
  color: #1e2f4d;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 800;
  word-break: break-all;
}

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

.credit-metric-card {
  min-height: 98px;
  padding: 16px 18px 15px;
  border-radius: 24px;
  background: linear-gradient(180deg, #fbfdff 0%, #f6f9ff 100%);
  box-shadow: inset 0 0 0 1px rgba(24, 40, 76, 0.04);
  display: grid;
  align-content: center;
}

.credit-metric-copy {
  min-width: 0;
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
}

.credit-metric-label {
  color: #728099;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
}

.credit-metric-value {
  color: #14233f;
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.credit-metric-card.is-green .credit-metric-value {
  color: #1ea95b;
}

.credit-metric-card.is-purple .credit-metric-value {
  color: #6d5dfc;
}

.buy-card-button-credit {
  width: 100%;
  min-height: 52px;
  margin-top: 18px;
  border-radius: 18px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.02em;
  box-shadow: 0 18px 38px rgba(255, 128, 16, 0.2);
}

.purchase-card {
  padding: 28px 28px 26px;
  display: grid;
  background: #ffffff;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(24, 40, 76, 0.04);
}

.purchase-card-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.purchase-card-copy {
  min-width: 0;
  display: grid;
  gap: 14px;
}

.purchase-card-action {
  display: flex;
  align-items: center;
}

.purchase-card-kicker {
  margin-bottom: -6px;
}

.purchase-card-title {
  margin: 0;
  font-size: 30px;
  letter-spacing: -0.05em;
}

.purchase-card-summary {
  margin: 0;
  color: #74829a;
  font-size: 14px;
  line-height: 1.85;
}

.purchase-card-point {
  padding: 16px 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, #fffdf9 0%, #fff8ef 100%);
  box-shadow: inset 0 0 0 1px rgba(234, 161, 72, 0.1);
}

.purchase-card-point-label {
  display: block;
  color: #c18225;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.purchase-card-point-value {
  display: block;
  margin-top: 8px;
  color: #16233e;
  font-size: 15px;
  line-height: 1.75;
  font-weight: 800;
}

.purchase-card-button {
  min-width: 148px;
  margin-top: 0;
}

.usage-detail-card {
  margin-top: 8px;
  padding: 30px 28px 26px;
}

.usage-detail-kicker,
.usage-detail-title {
  text-align: center;
}

.usage-detail-title {
  margin: 10px 0 0;
  font-size: 36px;
  letter-spacing: -0.05em;
}

.usage-overview-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.usage-overview-card {
  min-height: 112px;
  padding: 18px 18px 16px;
  border-radius: 22px;
  background: linear-gradient(180deg, #f8fbff 0%, #f2f7ff 100%);
  box-shadow: inset 0 0 0 1px rgba(24, 40, 76, 0.05);
  display: flex;
  align-items: center;
  gap: 14px;
}

.usage-overview-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 900;
  flex-shrink: 0;
}

.usage-overview-icon-blue {
  color: #3072f6;
  background: rgba(48, 114, 246, 0.12);
}

.usage-overview-icon-amber {
  color: #f19a1c;
  background: rgba(241, 154, 28, 0.14);
}

.usage-overview-icon-green {
  color: #18a957;
  background: rgba(24, 169, 87, 0.14);
}

.usage-overview-icon-purple {
  color: #9154f6;
  background: rgba(145, 84, 246, 0.14);
}

.usage-overview-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.usage-overview-label {
  color: #6e7d95;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.usage-overview-value {
  color: #182746;
  font-size: 22px;
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.usage-overview-value-green {
  color: #18a957;
}

.usage-overview-meta {
  color: #8a96aa;
  font-size: 12px;
  line-height: 1.6;
  font-weight: 700;
}

.usage-detail-note {
  margin: 16px auto 0;
  max-width: 620px;
  color: #7e8ca5;
  font-size: 13px;
  line-height: 1.75;
  text-align: center;
}

.usage-records-panel {
  margin-top: 16px;
  padding: 18px 18px 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  box-shadow: inset 0 0 0 1px rgba(35, 63, 116, 0.06);
}

.usage-records-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.usage-records-head-copy {
  display: grid;
  gap: 0;
}

.usage-latest-kicker {
  color: #5f6f89;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.usage-records-summary {
  color: #8e9ab0;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.usage-records-footer {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.usage-record-refresh {
  min-width: 106px;
  min-height: 42px;
  padding: 0 16px;
  flex-shrink: 0;
}

.usage-records-table-wrap {
  margin-top: 14px;
  overflow-x: auto;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 0 0 1px rgba(24, 40, 76, 0.05);
}

.usage-records-table {
  width: 100%;
  min-width: 1140px;
  border-collapse: collapse;
  color: #243653;
  font-size: 13px;
}

.usage-records-table th,
.usage-records-table td {
  padding: 14px 14px;
  border-bottom: 1px solid rgba(24, 40, 76, 0.06);
  text-align: left;
  vertical-align: middle;
}

.usage-records-table th {
  color: #6e7d95;
  background: rgba(244, 248, 255, 0.92);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.usage-records-table td {
  color: #253956;
  font-weight: 700;
}

.usage-records-table tbody tr:last-child td {
  border-bottom: 0;
}

.usage-records-table tbody tr:hover td {
  background: rgba(240, 247, 255, 0.72);
}

.usage-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(56, 124, 255, 0.12);
  color: #3072f6;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.usage-pill-neutral {
  background: rgba(123, 136, 160, 0.14);
  color: #67768d;
}

.usage-record-token-cell {
  min-width: 170px;
}

.usage-token-lines {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.usage-token-line {
  font-size: 13px;
  font-weight: 800;
}

.usage-token-line-in {
  color: #18a957;
}

.usage-token-line-out {
  color: #9154f6;
}

.usage-record-cost-cell {
  min-width: 132px;
}

.usage-record-cost-main {
  display: block;
  color: #18a957;
  font-size: 20px;
  line-height: 1.08;
  font-weight: 900;
}

.usage-record-cost-sub {
  display: block;
  margin-top: 5px;
  color: #8a96aa;
  font-size: 12px;
  font-weight: 700;
}

.usage-records-user-agent {
  min-width: 260px;
  max-width: 320px;
  color: #6f7f98 !important;
  font-weight: 650 !important;
  white-space: normal;
  line-height: 1.55;
  word-break: break-word;
}

.usage-record-empty {
  padding: 28px 16px;
  color: #8b98ac;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.usage-record-controls {
  margin-top: 16px;
  display: grid;
  grid-template-columns: minmax(110px, 0.8fr) minmax(140px, 1.5fr) minmax(110px, 0.8fr);
  gap: 12px;
  align-items: center;
}

.usage-record-nav,
.usage-record-indicator {
  min-height: 50px;
  border: 1px solid rgba(31, 109, 215, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  color: #7aa7ee;
  font-size: 15px;
  font-weight: 850;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.usage-record-nav:hover:not(:disabled) {
  transform: translateY(-1px);
  background: #eef6ff;
  color: #1f6dd7;
}

.usage-record-nav:disabled {
  color: #b8c3d5;
  cursor: not-allowed;
  opacity: 0.78;
}

.usage-record-indicator {
  cursor: default;
  color: #a5afc0;
}

.quota-guide-card {
  position: relative;
  overflow: hidden;
  padding: 24px 24px 22px;
  display: grid;
  gap: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 250, 255, 0.98));
  border: 1px solid rgba(31, 109, 215, 0.1);
}

.quota-guide-card::before {
  content: "";
  position: absolute;
  top: -52px;
  left: -38px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(31, 109, 215, 0.14) 0%, rgba(31, 109, 215, 0.02) 62%, transparent 72%);
  pointer-events: none;
}

.quota-guide-kicker {
  margin-bottom: 0;
  color: var(--primary);
}

.announcement-board-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.announcement-board-top > div {
  display: grid;
  gap: 6px;
}

.quota-guide-title {
  margin: 0;
  font-size: 30px;
  letter-spacing: -0.05em;
  color: #16233b;
}

.announcement-guide-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(31, 109, 215, 0.08), rgba(83, 150, 255, 0.18));
  border: 1px solid rgba(31, 109, 215, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.announcement-guide-copy {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.announcement-guide-copy strong {
  color: #15233d;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.announcement-guide-copy p {
  margin: 0;
  color: #5e6f88;
  font-size: 13px;
  line-height: 1.68;
}

.announcement-guide-link {
  min-width: 118px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2e7cf3, #1f6dd7 56%, #2f87ff);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 14px 26px rgba(31, 109, 215, 0.2);
}

.announcement-guide-link:hover {
  transform: translateY(-1px);
}

.announcement-history-stage {
  position: relative;
  z-index: 1;
  padding: 18px;
  display: grid;
  gap: 12px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(246, 249, 254, 0.92), rgba(255, 255, 255, 0.94));
  border: 1px solid rgba(19, 33, 68, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

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

.announcement-history-list[hidden] {
  display: none !important;
}

.announcement-history-item {
  width: 100%;
  border: 1px solid rgba(19, 33, 68, 0.06);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  padding: 14px 16px;
  color: inherit;
  display: grid;
  gap: 10px;
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  box-shadow: 0 14px 30px rgba(19, 33, 68, 0.05);
}

.announcement-history-item:hover {
  transform: translateY(-1px);
  border-color: rgba(31, 109, 215, 0.18);
  box-shadow: 0 18px 34px rgba(19, 33, 68, 0.08);
}

.announcement-history-item-head,
.announcement-history-item-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.announcement-history-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.announcement-history-badge,
.announcement-history-tag {
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.announcement-history-badge {
  background: rgba(231, 81, 54, 0.12);
  color: #d14f35;
}

.announcement-history-tag {
  background: rgba(47, 128, 255, 0.12);
  color: #1f6dd7;
}

.announcement-history-time {
  color: #8a97ac;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.announcement-history-open {
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(31, 109, 215, 0.08);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.announcement-history-item-title {
  min-width: 0;
  color: #18243e;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.announcement-history-preview {
  margin: 0;
  color: #5f6679;
  font-size: 13px;
  line-height: 1.72;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.announcement-history-empty {
  color: #8794a8;
  font-size: 13px;
  line-height: 1.72;
}

.announcement-history-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.announcement-history-controls[hidden] {
  display: none !important;
}

.announcement-history-nav,
.announcement-history-indicator {
  min-height: 42px;
  border: 1px solid rgba(31, 109, 215, 0.08);
  border-radius: 16px;
  background: #f5f8fe;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.announcement-history-nav {
  min-width: 92px;
  padding: 0 14px;
}

.announcement-history-indicator {
  flex: 1;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.92);
  color: #61728c;
}

.announcement-history-nav:hover,
.announcement-history-indicator:hover {
  transform: translateY(-1px);
  border-color: rgba(31, 109, 215, 0.16);
}

.announcement-history-nav:disabled,
.announcement-history-indicator:disabled {
  opacity: 0.55;
  cursor: default;
  transform: none;
}

.usage-detail-legacy {
  display: none !important;
}

.step-link {
  width: 100%;
  min-height: 58px;
  margin-top: 14px;
  padding: 0 18px;
  border: 0;
  border-radius: 18px;
  background: #f8fbff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.step-link:hover {
  background: #edf4ff;
}

.step-link strong {
  color: var(--muted);
}

.support-box {
  margin-top: 18px;
  padding: 18px;
  border-radius: 20px;
  background: #fbfcff;
}

.support-box-label {
  display: inline-block;
  margin-bottom: 10px;
  color: #50617f;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.result-action-row {
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.result-action-row-inline {
  grid-column: 1 / -1;
  margin-top: 0;
  min-height: 108px;
  padding: 18px 8px 4px;
  border-radius: 28px;
  background: transparent;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
  justify-items: center;
}

.result-floating-actions {
  position: fixed;
  top: 150px;
  left: max(18px, calc((100vw - 1240px) / 2 - 170px));
  width: 154px;
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(214, 224, 242, 0.86);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 40px rgba(18, 36, 72, 0.12);
  backdrop-filter: blur(16px);
  pointer-events: none;
}

.result-floating-actions.is-tour-raised {
  z-index: 220;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: none;
  box-shadow: 0 22px 44px rgba(18, 36, 72, 0.18);
}

.result-floating-actions.is-tour-raised .result-floating-button {
  filter: none;
  backdrop-filter: none;
  transform: none;
}

.result-floating-button {
  width: 100%;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #192235;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  white-space: nowrap;
  pointer-events: auto;
  box-shadow: none;
}

.result-floating-button.tutorial-guide-button {
  margin-left: 0;
  justify-self: auto;
  background: #ffffff;
  color: #4b5df2;
  box-shadow: 0 10px 24px rgba(79, 99, 239, 0.12);
}

.result-floating-button.result-setup-button {
  justify-self: auto;
  min-height: 46px;
  background: #f3f7ff;
  color: #1f6dd7;
  box-shadow: 0 10px 24px rgba(31, 109, 215, 0.1);
}

.result-floating-button::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(31, 109, 215, 0.08);
}

.result-floating-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(31, 109, 215, 0.14);
}

.ghost-guide-button {
  min-height: 70px;
  width: min(100%, 320px);
  padding: 0 30px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #6678ff 0%, #4f63ef 55%, #7f8dff 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 20px 38px rgba(79, 99, 239, 0.24);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.ghost-guide-button:hover {
  background: linear-gradient(135deg, #7183ff 0%, #586cf3 55%, #8b97ff 100%);
  transform: translateY(-1px);
  box-shadow: 0 24px 44px rgba(79, 99, 239, 0.28);
}

.result-action-row-inline .ghost-guide-button,
.result-action-row-inline .result-setup-button,
.result-action-row-inline .primary-button {
  min-height: 70px;
  width: min(100%, 320px);
}

.tutorial-guide-button {
  justify-self: start;
  margin-left: 28px;
}

.result-setup-button {
  justify-self: center;
  min-height: 70px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 800;
  box-shadow: 0 16px 34px rgba(19, 33, 68, 0.1);
}

.result-floating-actions .result-floating-button {
  width: 100%;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  white-space: nowrap;
  box-shadow: none;
}

.result-floating-actions .tutorial-guide-button {
  margin-left: 0;
  background: #ffffff;
  color: #4b5df2;
  box-shadow: 0 10px 24px rgba(79, 99, 239, 0.12);
}

.result-floating-actions .result-setup-button {
  min-height: 46px;
  background: #f3f7ff;
  color: #1f6dd7;
  box-shadow: 0 10px 24px rgba(31, 109, 215, 0.1);
}

.result-floating-actions .result-floating-button:hover {
  background: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(31, 109, 215, 0.14);
}

.mobile-result-action-button {
  display: none;
}

.result-action-row-inline .primary-button {
  justify-self: center;
  margin-right: 0;
  box-shadow: 0 20px 38px rgba(31, 109, 215, 0.2);
}

.result-action-row-inline .primary-button:hover {
  box-shadow: 0 24px 44px rgba(31, 109, 215, 0.24);
}

@media (max-width: 1160px) {
  .result-action-row-inline {
    padding-left: 0;
    padding-right: 0;
  }

  .result-action-row-inline .primary-button {
    margin-right: 0;
  }
}

.result-hidden-meta {
  display: none;
}

@media (min-width: 900px) {
  body.is-result-view .page-shell {
    width: calc(100vw - 48px);
    max-width: none;
  }

  body.is-result-view .topbar {
    display: none;
  }

  body.is-result-view .main-stage {
    padding-top: 18px;
  }

  .result-view {
    max-width: none;
  }

  .result-workbench {
    margin-top: 24px;
    display: grid;
    grid-template-columns: 286px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
  }

  .result-sidebar {
    position: sticky;
    top: 22px;
    height: calc(100vh - 44px);
    max-height: calc(100vh - 44px);
    min-height: 0;
    padding: 22px;
    border: 1px solid rgba(19, 33, 68, 0.08);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 24px 70px rgba(17, 40, 84, 0.1);
    backdrop-filter: blur(18px);
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .result-sidebar-brand {
    min-height: 72px;
    padding: 10px 8px 18px;
    border-bottom: 1px solid rgba(19, 33, 68, 0.08);
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .result-sidebar-avatar {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    overflow: hidden;
    flex: 0 0 auto;
    box-shadow: 0 12px 26px rgba(17, 40, 84, 0.12);
  }

  .result-sidebar-avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
  }

  .result-sidebar-brand strong {
    display: block;
    color: #151c2b;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: -0.04em;
  }

  .result-sidebar-brand span {
    display: block;
    margin-top: 4px;
    color: #8a96aa;
    font-size: 12px;
    font-weight: 800;
  }

  .result-section-nav {
    display: grid;
    gap: 10px;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 0;
    scrollbar-width: none;
  }

  .result-section-nav::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
  }

  .result-section-button {
    width: 100%;
    min-height: 70px;
    padding: 10px 12px;
    border: 1px solid transparent;
    border-radius: 20px;
    background: transparent;
    color: #1b2435;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  }

  .result-section-button:hover,
  .result-section-button.is-active {
    background: #f4f7fc;
    border-color: rgba(19, 33, 68, 0.08);
    transform: translateX(2px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
  }

  .result-section-button.is-active {
    background: linear-gradient(180deg, #f7f9fd, #edf3ff);
    border-color: rgba(31, 109, 215, 0.16);
  }

  .result-section-icon {
    width: 36px;
    height: 36px;
    border-radius: 14px;
    background: #eef3fb;
    color: #66758f;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 900;
  }

  .result-section-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .result-section-button.is-active .result-section-icon {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 10px 22px rgba(31, 109, 215, 0.22);
  }

  .result-section-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
  }

  .result-section-copy strong {
    color: #151c2b;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.2;
  }

  .result-section-copy small {
    color: #8390a6;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
  }

  .result-sidebar .result-floating-actions {
    position: static;
    width: 100%;
    margin-top: auto;
    padding: 10px;
    border-radius: 22px;
    background: #f6f9ff;
    border-color: rgba(19, 33, 68, 0.08);
    box-shadow: none;
    backdrop-filter: none;
    pointer-events: auto;
  }

  .result-sidebar .result-floating-button {
    min-height: 48px;
    border-radius: 16px;
    font-size: 14px;
  }

  .result-sidebar-return {
    min-height: 50px;
    border: 0;
    border-radius: 18px;
    background: #101828;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 16px 32px rgba(16, 24, 40, 0.16);
  }

  .result-main-panel {
    min-height: calc(100vh - 44px);
    padding: 20px;
    border: 1px solid rgba(19, 33, 68, 0.06);
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(247, 250, 255, 0.78));
    box-shadow: 0 24px 70px rgba(17, 40, 84, 0.07);
  }

  .result-section-hero {
    min-height: 164px;
    padding: 32px 34px;
    border: 1px solid rgba(19, 33, 68, 0.07);
    border-radius: 30px;
    background: #fff;
    display: grid;
    align-content: center;
    gap: 8px;
    box-shadow: 0 18px 45px rgba(17, 40, 84, 0.06);
  }

  .result-section-hero p {
    margin: 0;
    color: #65748d;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.06em;
  }

  .result-section-hero h2 {
    margin: 0;
    color: #171c26;
    font-size: clamp(40px, 4.2vw, 62px);
    line-height: 0.98;
    letter-spacing: -0.06em;
    font-weight: 900;
  }

  .result-section-hero span {
    color: #6f7d93;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 700;
  }

  .result-main-panel .result-grid {
    margin-top: 20px;
    display: block;
  }

  .result-main-panel .left-stack,
  .result-main-panel .side-stack {
    display: contents;
  }

  .result-main-panel .result-card {
    display: none;
    border: 1px solid rgba(19, 33, 68, 0.06);
    box-shadow: 0 18px 45px rgba(17, 40, 84, 0.06);
  }

  .result-view[data-active-section="credentials"] [data-result-panel="credentials"],
  .result-view[data-active-section="account"] [data-result-panel="account"],
  .result-view[data-active-section="usage"] [data-result-panel="usage"],
  .result-view[data-active-section="recharge"] [data-result-panel="recharge"],
  .result-view[data-active-section="recharge"] [data-result-panel="purchase"],
  .result-view[data-active-section="purchase"] [data-result-panel="purchase"],
  .result-view[data-active-section="announcements"] [data-result-panel="announcements"],
  .result-view[data-active-section="activity"] [data-result-panel="activity"],
  .result-view[data-active-section="monitor"] [data-result-panel="monitor"],
  .result-view[data-active-section="tutorial"] [data-result-panel="tutorial"],
  .result-view[data-active-section="contact"] [data-result-panel="contact"] {
    display: block;
    animation: page-enter 200ms ease;
  }

  .result-view[data-active-section="recharge"] [data-result-panel="purchase"] {
    margin-top: 18px;
  }

  .result-view[data-active-section="recharge"] .result-main-panel .result-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: 22px;
    align-items: start;
  }

  .result-view[data-active-section="recharge"] .result-main-panel .left-stack {
    display: none;
  }

  .result-view[data-active-section="recharge"] .result-main-panel .side-stack {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: 22px;
    align-items: start;
  }

  .result-view[data-active-section="recharge"] [data-result-panel="purchase"] {
    margin-top: 0;
  }

  .result-view[data-active-section="recharge"] #recharge-panel {
    grid-column: 1;
    grid-row: 1;
  }

  .result-view[data-active-section="recharge"] #recharge-records {
    grid-column: 1;
    grid-row: 2;
  }

  .result-view[data-active-section="recharge"] #purchase-card {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .usage-tutorial-card h3,
  .contact-card h3,
  .activity-center-card h3,
  .model-monitor-card h3 {
    margin: 8px 0 0;
    font-size: clamp(34px, 3.5vw, 48px);
    line-height: 1.05;
    letter-spacing: 0;
  }

  .placeholder-panel {
    margin-top: 26px;
    padding: 26px;
    border: 1px solid rgba(31, 109, 215, 0.12);
    border-radius: 24px;
    background: linear-gradient(180deg, #f8fbff, #eef5ff);
    display: grid;
    gap: 12px;
  }

  .placeholder-tag {
    width: fit-content;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(31, 109, 215, 0.1);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 900;
  }

  .placeholder-panel strong {
    color: #172033;
    font-size: 22px;
    line-height: 1.35;
    font-weight: 900;
  }

  .placeholder-panel p {
    margin: 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.75;
    font-weight: 700;
  }

  .model-monitor-card {
    padding: 32px;
  }

  .model-monitor-topline {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
  }

  .model-monitor-topline p {
    margin: 0;
    max-width: 720px;
    color: #66758f;
    font-size: 15px;
    line-height: 1.75;
    font-weight: 700;
  }

  .model-monitor-refresh {
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid rgba(31, 109, 215, 0.14);
    border-radius: 999px;
    background: #f3f8ff;
    color: var(--primary);
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    white-space: nowrap;
  }

  .model-monitor-refresh:disabled {
    cursor: not-allowed;
    opacity: 0.55;
  }

  .model-monitor-summary {
    margin-top: 22px;
    padding: 14px 16px;
    border-radius: 20px;
    background: #f6f9ff;
    color: #65748d;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
    font-weight: 900;
  }

  .model-monitor-summary span {
    padding: 6px 10px;
    border-radius: 999px;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(19, 33, 68, 0.05);
  }

  .model-monitor-grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .model-monitor-item {
    padding: 22px;
    border: 1px solid rgba(19, 33, 68, 0.06);
    border-radius: 28px;
    background:
      radial-gradient(circle at top right, rgba(31, 109, 215, 0.07), transparent 36%),
      linear-gradient(180deg, #ffffff, #f8fbff);
    box-shadow: 0 18px 45px rgba(17, 40, 84, 0.07);
    color: inherit;
    display: grid;
    gap: 18px;
    text-align: left;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
  }

  .model-monitor-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 52px rgba(17, 40, 84, 0.11);
  }

  .model-monitor-item-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
  }

  .model-monitor-logo {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: #ecfdf5;
    color: #10a66f;
    display: grid;
    place-items: center;
    font-size: 20px;
    font-weight: 950;
    flex: 0 0 auto;
  }

  .model-monitor-title-block {
    min-width: 0;
    flex: 1;
    display: grid;
    gap: 8px;
  }

  .model-monitor-title-block strong {
    color: #172033;
    font-size: 24px;
    line-height: 1.15;
    letter-spacing: -0.04em;
    font-weight: 950;
  }

  .model-monitor-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
  }

  .model-monitor-tags span {
    padding: 5px 8px;
    border-radius: 9px;
    background: #eef3fb;
    color: #5e6b80;
    font-size: 12px;
    font-weight: 800;
  }

  .model-monitor-tags .model-monitor-provider {
    background: #cdfbe5;
    color: #087c55;
  }

  .model-monitor-status {
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 950;
    white-space: nowrap;
  }

  .model-monitor-status.is-success {
    background: #ccf8df;
    color: #087c55;
  }

  .model-monitor-status.is-warning {
    background: #fff1c2;
    color: #ad6b00;
  }

  .model-monitor-status.is-danger {
    background: #ffe0e0;
    color: #ba3333;
  }

  .model-monitor-status.is-muted {
    background: #eef1f6;
    color: #65748d;
  }

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

  .model-monitor-metrics div {
    padding: 16px;
    border-radius: 20px;
    background: rgba(246, 249, 255, 0.92);
    border: 1px solid rgba(19, 33, 68, 0.05);
  }

  .model-monitor-metrics span,
  .model-monitor-availability span {
    color: #8b96a9;
    font-size: 13px;
    font-weight: 900;
  }

  .model-monitor-metrics strong {
    display: block;
    margin-top: 10px;
    color: #172033;
    font-size: 28px;
    letter-spacing: -0.04em;
    font-weight: 950;
  }

  .model-monitor-metrics small {
    margin-left: 3px;
    color: #8b96a9;
    font-size: 13px;
  }

  .model-monitor-availability {
    padding-top: 4px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 14px;
    align-items: end;
  }

  .model-monitor-availability strong {
    color: #12b53f;
    font-size: 44px;
    line-height: 0.95;
    letter-spacing: -0.06em;
    font-weight: 950;
  }

  .model-monitor-availability small {
    grid-column: 2;
    color: #8b96a9;
    font-size: 13px;
    font-weight: 800;
    text-align: right;
  }

  .model-monitor-bars {
    min-height: 38px;
    display: grid;
    grid-template-columns: repeat(60, minmax(2px, 1fr));
    gap: 3px;
    align-items: end;
  }

  .model-monitor-bars.is-empty {
    display: block;
    color: #8b96a9;
    font-size: 13px;
    font-weight: 800;
  }

  .model-monitor-bar {
    height: 30px;
    border-radius: 999px;
    background: #cfd6e3;
  }

  .model-monitor-bar.is-success {
    background: #17c78a;
  }

  .model-monitor-bar.is-warning {
    background: #f6b73c;
  }

  .model-monitor-bar.is-danger {
    background: #ef6464;
  }

  .model-monitor-empty {
    margin-top: 22px;
    padding: 28px;
    border-radius: 24px;
    background: #f7f9fd;
    color: #65748d;
    display: grid;
    gap: 8px;
  }

  .tutorial-content-grid {
    margin-top: 26px;
    display: grid;
    gap: 16px;
  }

  .tutorial-content-block {
    min-height: 112px;
    padding: 20px;
    border: 1px solid rgba(19, 33, 68, 0.07);
    border-radius: 24px;
    background: #f8fbff;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
  }

  .tutorial-content-index {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    background: #eaf2ff;
    color: var(--primary);
    display: grid;
    place-items: center;
    font-size: 13px;
    font-weight: 900;
  }

  .tutorial-content-block strong {
    display: block;
    color: #171c26;
    font-size: 19px;
    font-weight: 900;
    letter-spacing: -0.03em;
  }

  .tutorial-content-block p {
    margin: 8px 0 0;
    color: #6f7d93;
    font-size: 15px;
    line-height: 1.7;
    font-weight: 700;
  }

  .tutorial-doc-link {
    width: fit-content;
    min-height: 46px;
    margin-top: 14px;
    padding: 0 18px;
    border-radius: 16px;
    background: var(--primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 14px 28px rgba(31, 109, 215, 0.18);
  }

  .contact-content-box {
    margin-top: 26px;
    padding: 26px;
    border: 1px solid rgba(31, 109, 215, 0.12);
    border-radius: 28px;
    background: linear-gradient(180deg, #f7fbff, #eef5ff);
    display: grid;
    gap: 12px;
  }

  .contact-content-box span {
    color: #64748b;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.06em;
  }

  .contact-content-box strong {
    color: #0f1728;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.04em;
    word-break: break-word;
  }

  .contact-content-box p {
    margin: 0;
    color: #6f7d93;
    font-size: 15px;
    line-height: 1.7;
    font-weight: 700;
  }

  .contact-copy-button {
    margin-top: 18px;
    min-width: 180px;
  }

  .result-action-row-inline {
    display: none;
  }

  .result-feedback-top {
    width: min(100%, 760px);
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 1080px) {
  .feature-grid,
  .result-highlights,
  .result-grid {
    grid-template-columns: 1fr;
  }

  .result-announcement {
    width: min(100%, 760px);
  }

  .left-stack {
    display: contents;
  }

  .page-footer {
    display: block;
  }
}

@media (max-width: 840px) {
  .page-shell {
    width: min(100vw - 20px, 760px);
  }

  .topbar {
    height: auto;
    padding: 18px 0;
    justify-content: space-between;
  }

  .header-brand {
    gap: 10px;
  }

  .header-shortcut-link {
    font-size: 17px;
  }

  .brand-avatar {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .brand-title {
    font-size: 19px;
  }

  .top-actions {
    flex-wrap: wrap;
    gap: 14px;
    justify-content: flex-end;
  }

  .hero-title,
  .success-hero h2 {
    font-size: clamp(44px, 12vw, 60px);
  }

  .activation-panel {
    padding: 28px 20px 30px;
    border-radius: 28px;
  }

  .activation-icon-shell {
    width: 68px;
    height: 68px;
    border-radius: 20px;
  }

  .activation-icon-shell svg {
    width: 30px;
    height: 30px;
  }

  .activation-panel .hero-title {
    font-size: clamp(28px, 10vw, 36px);
  }

  .hero-subtitle,
  .success-hero p {
    font-size: 16px;
  }

  .redeem-card,
  .result-card,
  .feature-card,
  .mini-info-card {
    padding: 22px;
  }

  .activation-form {
    margin-top: 26px;
  }

  .activation-form .code-input {
    height: 58px;
    font-size: 16px;
    letter-spacing: 0.04em;
    padding: 0 16px;
  }

  .activation-button {
    min-height: 52px;
    font-size: 16px;
  }

  .activation-progress {
    margin-top: 16px;
    padding-top: 10px;
  }

  .activation-progress-icon {
    width: 68px;
    height: 68px;
  }

  .activation-progress-icon svg {
    width: 28px;
    height: 28px;
  }

  .activation-progress h2 {
    font-size: clamp(30px, 9vw, 40px);
  }

  .activation-progress p,
  .result-feedback-top {
    font-size: 16px;
  }

  .feature-grid,
  .result-highlights {
    margin-top: 48px;
  }

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

@media (max-width: 640px), (hover: none) and (pointer: coarse) and (max-width: 1024px) {
  body {
    background:
      radial-gradient(circle at top center, rgba(31, 109, 215, 0.05), transparent 36%),
      linear-gradient(180deg, #fbfbfc 0%, #f4f6fb 100%);
    padding-bottom: 110px;
  }

  .page-shell {
    width: min(calc(100vw - 24px), 408px);
    padding-bottom: 16px;
  }

  .topbar {
    min-height: 66px;
    padding: 12px 0 14px;
  }

  .header-brand {
    gap: 0;
  }

  .header-shortcut {
    display: none;
  }

  .header-brand .brand-avatar {
    display: none;
  }

  .brand-title {
    font-size: 22px;
    letter-spacing: -0.055em;
  }

  .top-actions {
    gap: 0;
  }

  .top-text,
  .top-actions .action-pill {
    display: none;
  }

  .mobile-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .mobile-circle-button {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #66748c;
    display: grid;
    place-items: center;
    box-shadow: 0 12px 24px rgba(18, 36, 72, 0.08);
  }

  .mobile-circle-button svg {
    width: 17px;
    height: 17px;
  }

  .mobile-avatar-button {
    padding: 3px;
    background: linear-gradient(135deg, #0e4fb4, #1f6dd7);
    box-shadow: 0 12px 24px rgba(31, 109, 215, 0.24);
  }

  .mobile-header-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
  }

  .main-stage {
    padding: 18px 0 10px;
  }

  .activation-panel {
    width: 100%;
    margin-top: 0;
    padding: 12px 4px 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .activation-icon-shell {
    display: none;
  }

  .activation-hero {
    margin-top: 8px;
  }

  .activation-panel .hero-title {
    max-width: 312px;
    font-size: 28px;
    line-height: 1.02;
    letter-spacing: -0.065em;
  }

  .activation-panel .hero-subtitle {
    max-width: 304px;
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.58;
    color: #6f7d93;
  }

  .activation-form {
    width: min(100%, 336px);
    margin-top: 28px;
    padding: 22px 18px 16px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 22px 50px rgba(19, 33, 68, 0.1);
    gap: 14px;
  }

  .activation-form .field-label {
    font-size: 10px;
    letter-spacing: 0.14em;
    color: #8693a8;
  }

  .activation-form .code-input {
    height: 52px;
    padding: 0 16px;
    border: 0;
    border-radius: 14px;
    background: #f3f5f9;
    box-shadow: inset 0 0 0 1px rgba(123, 139, 170, 0.08);
    font-size: 17px;
    letter-spacing: 0.04em;
  }

  .activation-form .code-input::placeholder {
    color: #b1bbca;
    letter-spacing: 0.03em;
  }

  .activation-button {
    min-height: 52px;
    margin-top: 2px;
    border-radius: 999px;
    font-size: 17px;
    box-shadow: 0 18px 28px rgba(31, 109, 215, 0.2);
  }

  .activation-form .support-line {
    display: none;
  }

  .activation-form .status-text {
    min-height: auto;
    padding: 0 6px;
    color: #8390a6;
    font-size: 13px;
    line-height: 1.55;
  }

  .mobile-feature-list {
    width: min(100%, 342px);
    margin: 42px auto 0;
    display: grid;
    gap: 14px;
  }

  .mobile-feature-card {
    padding: 16px 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 14px 30px rgba(18, 36, 72, 0.06);
  }

  .mobile-success-hero {
    width: min(100%, 330px);
    margin: 2px auto 20px;
    display: grid;
    justify-items: center;
    text-align: center;
  }

  .mobile-success-hero h2 {
    margin: 18px 0 0;
    font-size: 27px;
    line-height: 1.08;
    letter-spacing: -0.055em;
  }

  .mobile-success-hero p {
    margin: 12px 0 0;
    max-width: 304px;
    color: #6f7d93;
    font-size: 15px;
    line-height: 1.6;
  }

  .result-feedback-top {
    margin-bottom: 12px;
    font-size: 13px;
  }

  .result-announcement {
    width: min(100%, 336px);
    margin-bottom: 14px;
    min-height: 0;
    padding: 10px 14px;
    border-radius: 16px;
    gap: 10px;
  }

  .result-announcement-badge {
    min-height: 24px;
    padding: 0 10px;
    font-size: 11px;
  }

  .result-announcement-icon {
    width: 28px;
    height: 28px;
  }

  .result-announcement-text {
    font-size: 13px;
  }

  .result-announcement-time {
    font-size: 11px;
  }

  .result-grid {
    margin-top: 0;
    width: min(100%, 336px);
    margin-left: auto;
    margin-right: auto;
    gap: 16px;
  }

  .side-stack {
    display: contents;
  }

  .credentials-card {
    order: 1;
    border-radius: 28px;
    padding: 20px 18px;
  }

  .recharge-panel {
    order: 2;
    border-radius: 28px;
    padding: 20px 18px;
  }

  .purchase-card {
    order: 3;
    border-radius: 28px;
    padding: 20px 18px 18px;
    gap: 14px;
  }

  .credits-card {
    order: 4;
    border-radius: 28px;
    padding: 20px 18px 18px;
  }

  .quota-guide-card {
    order: 5;
    border-radius: 28px;
    padding: 20px 18px 18px;
    gap: 14px;
  }

  .usage-detail-card {
    order: 6;
    margin-top: 0;
    border-radius: 28px;
    padding: 20px 18px 18px;
  }

  .credits-card .card-kicker {
    color: #98a4b9;
    font-size: 11px;
    letter-spacing: 0.12em;
  }

  .credits-card h3 {
    margin: 8px 0 0;
    font-size: 18px;
    letter-spacing: -0.03em;
  }

  .purchase-card-title {
    font-size: 22px;
    letter-spacing: -0.03em;
  }

  .purchase-card-summary {
    font-size: 13px;
    line-height: 1.75;
  }

  .purchase-card-point {
    padding: 14px 14px 13px;
    border-radius: 18px;
  }

  .purchase-card-point-value {
    font-size: 13px;
    line-height: 1.7;
  }

  .credit-metric-grid {
    margin-top: 16px;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .credit-metric-card {
    min-height: 82px;
    padding: 14px 14px 13px;
    border-radius: 20px;
    gap: 12px;
  }

  .credit-metric-icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    font-size: 15px;
  }

  .credit-metric-label {
    font-size: 12px;
  }

  .credit-metric-value {
    font-size: 19px;
  }

  .usage-detail-title {
    font-size: 24px;
    letter-spacing: -0.04em;
  }

  .usage-overview-grid {
    margin-top: 18px;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .usage-overview-card {
    min-height: 86px;
    padding: 14px 14px 13px;
    border-radius: 18px;
    gap: 12px;
  }

  .usage-overview-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    font-size: 14px;
  }

  .usage-overview-label {
    font-size: 12px;
  }

  .usage-overview-value {
    font-size: 18px;
  }

  .usage-overview-meta {
    font-size: 11px;
  }

  .usage-detail-note {
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.65;
  }

  .usage-records-panel {
    margin-top: 14px;
    padding: 14px;
    border-radius: 18px;
  }

  .usage-records-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .usage-records-head-copy {
    gap: 0;
  }

  .usage-record-refresh {
    min-height: 40px;
    padding: 0 14px;
  }

  .usage-records-footer {
    margin-top: 12px;
  }

  .usage-latest-kicker {
    font-size: 12px;
  }

  .usage-records-summary {
    font-size: 11px;
    text-align: left;
  }

  .usage-records-table-wrap {
    margin-top: 12px;
  }

  .usage-records-table {
    min-width: 980px;
    font-size: 12px;
  }

  .usage-records-table th,
  .usage-records-table td {
    padding: 11px 12px;
  }

  .usage-record-cost-main {
    font-size: 17px;
  }

  .usage-records-user-agent {
    min-width: 220px;
    max-width: 260px;
  }

  .usage-record-controls {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .usage-record-nav,
  .usage-record-indicator {
    min-height: 44px;
    border-radius: 15px;
    font-size: 14px;
  }

  .announcement-board-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .quota-guide-title {
    font-size: 24px;
  }

  .announcement-history-item {
    padding: 14px 14px;
    border-radius: 18px;
    gap: 8px;
  }

  .announcement-history-item-title {
    font-size: 15px;
  }

  .announcement-history-preview {
    font-size: 13px;
    line-height: 1.7;
  }

  .announcement-history-empty {
    font-size: 12px;
    line-height: 1.68;
  }

  .credit-number-row {
    margin-top: 10px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .credit-number-row strong {
    font-size: 38px;
  }

  .credit-number-row span {
    font-size: 15px;
  }

  .buy-card-button-credit {
    min-height: 48px;
    margin-top: 14px;
    border-radius: 16px;
    font-size: 14px;
  }

  .usage-summary {
    margin-top: 12px;
    font-size: 12px;
  }

  .usage-summary strong {
    font-size: 13px;
  }

  .recharge-panel {
    margin-top: 18px;
    padding: 18px 16px;
    border-radius: 24px;
  }

  .group-switch-panel {
    margin-top: 18px;
    padding: 18px 16px;
    border-radius: 24px;
  }

  .group-switch-head {
    gap: 12px;
  }

  .group-switch-head h4 {
    font-size: 18px;
  }

  .group-switch-current-tag {
    min-height: 28px;
    padding: 0 12px;
    font-size: 11px;
  }

  .group-switch-copy,
  .group-switch-status {
    font-size: 13px;
    line-height: 1.68;
  }

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

  .group-switch-guide {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .group-switch-guide-item {
    min-height: 0;
    padding: 14px 14px 13px;
    border-radius: 16px;
  }

  .group-switch-guide-top {
    flex-wrap: wrap;
  }

  .group-switch-guide-title {
    font-size: 14px;
  }

  .group-switch-guide-rate,
  .group-switch-guide-desc {
    font-size: 12px;
  }

  .group-switch-select,
  .group-switch-button {
    min-height: 50px;
    border-radius: 16px;
  }

  .recharge-head {
    gap: 12px;
  }

  .recharge-head-actions {
    width: 100%;
    justify-content: flex-end;
    gap: 10px;
  }

  .recharge-head h4 {
    font-size: 18px;
  }

  .buy-card-button {
    min-height: 38px;
    padding: 0 16px;
    font-size: 12px;
  }

  .buy-card-button-recharge {
    min-height: 42px;
    padding: 0 18px;
    font-size: 13px;
  }

  .buy-card-button-landing {
    min-height: 48px;
    font-size: 15px;
    border-radius: 16px;
  }

  .recharge-copy {
    font-size: 13px;
    line-height: 1.65;
  }

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

  .recharge-history {
    grid-template-columns: 1fr;
  }

  .topup-record-item {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .topup-record-center {
    justify-items: start;
    align-items: flex-start;
    text-align: left;
    width: auto;
  }

  .topup-record-meta {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .topup-record-controls {
    width: auto;
  }

  .purchase-card-layout {
    grid-template-columns: 1fr;
  }

  .purchase-card-action {
    justify-content: flex-start;
  }

  .purchase-card-button {
    width: 100%;
    min-width: 0;
  }

  .code-input-compact,
  .secondary-button {
    min-height: 50px;
    border-radius: 16px;
  }

  .credentials-card .card-head {
    align-items: center;
  }

  .credentials-card h3 {
    margin: 8px 0 0;
    font-size: 22px;
    letter-spacing: -0.045em;
  }

  .status-pill {
    min-height: 32px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 11px;
  }

  .credential-row {
    margin-top: 18px;
  }

  .credential-box {
    min-height: 72px;
    padding: 0 12px 0 14px;
    border-radius: 22px;
    background: #f4f7fc;
  }

  .credential-box code {
    font-size: 13px;
  }

  .credential-actions {
    gap: 8px;
  }

  .icon-button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(180deg, #2f87ff, #1f6dd7);
    box-shadow: 0 14px 22px rgba(31, 109, 215, 0.2);
  }

  .icon-button:hover {
    background: linear-gradient(180deg, #2f87ff, #1f6dd7);
  }

  .icon-button svg {
    fill: #fff;
  }

  .credential-actions .icon-button:first-child {
    background: #edf2fa;
    box-shadow: none;
  }

  .credential-actions .icon-button:first-child svg {
    fill: #64748b;
  }

  .copy-badge {
    top: -8px;
    right: -6px;
  }

  .meta-row,
  .secure-note,
  #back-button,
  .support-box,
  .page-footer {
    display: none;
  }

  .mobile-tabbar {
    position: fixed;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    width: min(calc(100vw - 24px), 360px);
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 20px 44px rgba(18, 36, 72, 0.12);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    z-index: 50;
  }

  .mobile-tab {
    border: 0;
    background: transparent;
    padding: 4px 0 0;
    display: grid;
    justify-items: center;
    gap: 6px;
    color: #9aa6bb;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
  }

  .mobile-tab-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: currentColor;
  }

  .mobile-tab.is-active {
    color: var(--primary);
  }

  .mobile-tab.is-active .mobile-tab-icon {
    background: #e8f1ff;
  }

  .setup-modal-card {
    width: min(calc(100vw - 24px), 360px);
    padding: 22px 18px 18px;
    border-radius: 28px;
  }

  .setup-modal-card h3 {
    font-size: 22px;
  }

  .setup-modal-text {
    font-size: 14px;
    line-height: 1.72;
  }

  .setup-modal-text.is-soft {
    font-size: 13px;
  }

  .setup-platform-switch {
    gap: 8px;
  }

  .setup-platform-option {
    min-height: 36px;
    font-size: 12px;
  }

  .setup-device-badge {
    font-size: 11px;
  }

  .setup-device-hint {
    font-size: 12px;
    line-height: 1.65;
  }

  .setup-command-box {
    margin-top: 16px;
    padding: 14px 14px 15px;
    border-radius: 18px;
  }

  .setup-command-box code {
    font-size: 12px;
    line-height: 1.7;
  }

  .setup-modal-actions {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .invalid-card-modal-card {
    padding: 24px 18px 18px;
    border-radius: 26px;
  }

  .invalid-card-modal-actions {
    grid-template-columns: 1fr;
  }

  .walkthrough-card {
    top: 14px;
    right: 12px;
    left: 12px;
    width: auto;
    max-height: calc(100vh - 24px);
    padding: 18px 16px 16px;
    border-radius: 24px;
  }

  .walkthrough-card.is-top {
    top: 14px;
  }

  .walkthrough-card h3 {
    font-size: 21px;
  }

  .walkthrough-text {
    font-size: 14px;
    line-height: 1.7;
  }

  .walkthrough-head {
    align-items: flex-start;
  }

  .walkthrough-head-side {
    gap: 10px;
  }

  .result-action-row-inline {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 12px 0 4px;
    gap: 12px;
  }

  .result-floating-actions {
    display: none;
  }

  .mobile-result-action-button {
    display: inline-flex;
  }

  .ghost-guide-button,
  .result-action-row .result-setup-button,
  .result-action-row .primary-button {
    width: 100%;
  }

  .tutorial-guide-button,
  .result-action-row .primary-button {
    margin-left: 0;
    margin-right: 0;
    justify-self: stretch;
  }

  .result-action-row .result-setup-button {
    justify-self: stretch;
  }
}

@media (max-width: 860px) {
  .announcement-board-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .announcement-guide-row {
    flex-direction: column;
    align-items: stretch;
  }

  .announcement-guide-link {
    width: 100%;
  }

  .announcement-history-item-head,
  .announcement-history-item-body,
  .announcement-history-controls {
    flex-direction: column;
    align-items: flex-start;
  }

  .announcement-history-time {
    white-space: normal;
  }

  .announcement-history-nav,
  .announcement-history-indicator {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .announcement-modal-card {
    width: min(calc(100vw - 24px), 360px);
    padding: 24px 18px 18px;
    border-radius: 26px;
  }

  .announcement-modal-card h3 {
    font-size: 22px;
  }

  .announcement-modal-text {
    font-size: 14px;
    line-height: 1.75;
  }

  .announcement-modal-actions {
    grid-template-columns: 1fr;
  }

  .announcement-detail-modal-card {
    width: min(calc(100vw - 24px), 400px);
    padding: 24px 18px 18px;
    border-radius: 26px;
  }

  .announcement-detail-modal-card h3 {
    font-size: 21px;
  }

  .announcement-detail-modal-text {
    font-size: 14px;
    line-height: 1.75;
  }

  .announcement-detail-modal-actions {
    grid-template-columns: 1fr;
  }

  .announcement-history-stage {
    padding: 16px 14px;
    border-radius: 18px;
  }

  .announcement-history-item-title {
    font-size: 14px;
  }

  .announcement-history-preview {
    font-size: 13px;
    line-height: 1.72;
  }
}

body.is-result-view .topbar {
  display: none;
}

@media (max-width: 899px) {
  body.is-result-view {
    padding-bottom: 0;
  }

  body.is-result-view .main-stage {
    padding-top: 8px;
  }

  body.is-result-view .page-shell {
    width: calc(100vw - 10px);
    max-width: none;
  }

  body.is-result-view .mobile-tabbar {
    display: none !important;
  }

  body.is-result-view .mobile-success-hero {
    display: none;
  }

  .result-workbench {
    width: 100%;
    margin: 8px auto 0;
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
  }

  .result-sidebar {
    position: sticky;
    top: 8px;
    max-height: calc(100svh - 16px);
    overflow-y: auto;
    padding: 8px;
    border: 1px solid rgba(19, 33, 68, 0.08);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 42px rgba(18, 36, 72, 0.08);
    display: grid;
    gap: 8px;
    scrollbar-width: none;
  }

  .result-sidebar::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
  }

  .result-sidebar-brand {
    display: none;
  }

  .result-section-nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .result-section-button {
    min-height: 54px;
    padding: 7px 6px;
    border: 1px solid rgba(19, 33, 68, 0.06);
    border-radius: 15px;
    background: #f7faff;
    color: #172033;
    display: grid;
    justify-items: center;
    align-content: center;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 5px;
    text-align: center;
  }

  .result-section-button.is-active {
    border-color: rgba(31, 109, 215, 0.2);
    background: #eaf3ff;
    box-shadow: inset 0 0 0 1px rgba(31, 109, 215, 0.08);
  }

  .result-section-icon {
    width: 26px;
    height: 26px;
    border-radius: 10px;
    background: #edf3fb;
    color: #6d7b91;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    font-size: 10px;
    font-weight: 900;
  }

  .result-section-icon svg {
    width: 15px;
    height: 15px;
  }

  .result-section-button.is-active .result-section-icon {
    background: var(--primary);
    color: #fff;
  }

  .result-section-copy {
    min-width: 0;
    display: block;
  }

  .result-section-copy strong {
    display: block;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.2;
  }

  .result-section-copy small {
    display: none;
  }

  .result-sidebar .result-floating-actions {
    position: static;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    pointer-events: auto;
  }

  .result-sidebar .result-floating-button {
    width: 100%;
    min-height: 42px;
    border-radius: 14px;
    padding: 0 6px;
    font-size: 12px;
    margin: 0;
  }

  .result-sidebar-return {
    min-height: 42px;
    border: 0;
    border-radius: 14px;
    background: #111827;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
  }

  .result-main-panel {
    min-width: 0;
  }

  .result-section-hero {
    display: none;
  }

  .result-main-panel .result-grid {
    width: 100%;
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
  }

  .result-main-panel .left-stack,
  .result-main-panel .side-stack {
    display: contents;
  }

  .result-main-panel .result-card {
    display: none;
  }

  .result-view[data-active-section="credentials"] [data-result-panel="credentials"],
  .result-view[data-active-section="account"] [data-result-panel="account"],
  .result-view[data-active-section="usage"] [data-result-panel="usage"],
  .result-view[data-active-section="recharge"] [data-result-panel="recharge"],
  .result-view[data-active-section="recharge"] [data-result-panel="purchase"],
  .result-view[data-active-section="purchase"] [data-result-panel="purchase"],
  .result-view[data-active-section="announcements"] [data-result-panel="announcements"],
  .result-view[data-active-section="activity"] [data-result-panel="activity"],
  .result-view[data-active-section="monitor"] [data-result-panel="monitor"],
  .result-view[data-active-section="tutorial"] [data-result-panel="tutorial"],
  .result-view[data-active-section="contact"] [data-result-panel="contact"] {
    display: block;
  }

  .result-action-row-inline {
    display: none;
  }

  .result-main-panel .result-card {
    padding: 16px 14px;
    border-radius: 22px;
  }
}
