@import url('https://fonts.googleapis.com/css2?family=Inter:wght@500;600;700;800&family=Noto+Sans+SC:wght@400;500;600;700;800&display=swap');

@font-face {
  font-family: "scum-site-icons";
  src:
    url('/assets/iconfont/iconfont.woff2') format('woff2'),
    url('/assets/iconfont/iconfont.woff') format('woff'),
    url('/assets/iconfont/iconfont.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

:root {
  color-scheme: light;
  --bg: #f4f8ff;
  --bg-2: #ffffff;
  --panel: rgba(255, 255, 255, 0.92);
  --panel-solid: #ffffff;
  --panel-soft: #f7fbff;
  --line: rgba(26, 80, 146, 0.14);
  --line-strong: rgba(0, 110, 255, 0.22);
  --text: #0d2340;
  --muted: #5f7188;
  --muted-2: #8a9bb1;
  --primary: #006eff;
  --primary-2: #1687ff;
  --primary-3: #5db7ff;
  --success: #00a870;
  --warning: #f59e0b;
  --danger: #e34d59;
  --violet: #705cff;
  --shadow: 0 18px 48px rgba(20, 78, 140, 0.12);
  --shadow-lg: 0 26px 80px rgba(0, 92, 210, 0.18);
  --radius: 22px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 8%, rgba(0, 110, 255, 0.15), transparent 28rem),
    radial-gradient(circle at 88% 18%, rgba(68, 184, 255, 0.2), transparent 30rem),
    linear-gradient(180deg, #eef6ff 0%, #ffffff 42%, #f6f9ff 100%);
  color: var(--text);
  font-family: 'Inter', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 110, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 110, 255, 0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.75), transparent 62%);
}

body::after {
  content: '';
  position: fixed;
  right: -160px;
  top: 120px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  z-index: -2;
  pointer-events: none;
  background: radial-gradient(circle, rgba(0, 110, 255, 0.14), transparent 66%);
  filter: blur(6px);
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.hidden {
  display: none !important;
}

.site-icon {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  font-family: "scum-site-icons" !important;
  font-style: normal;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-server::before { content: "\e622"; }
.icon-node::before { content: "\e695"; }
.icon-building::before { content: "\e869"; }
.icon-alipay::before { content: "\e60a"; }
.icon-sftp::before { content: "\e662"; }
.icon-update::before { content: "\e943"; }

.icon-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.icon-chip .site-icon {
  font-size: 14px;
}

.site-shell {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0 56px;
}

.ambient {
  position: fixed;
  z-index: -1;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(34px);
  opacity: 0.72;
}

.ambient-a {
  left: -120px;
  top: 120px;
  width: 320px;
  height: 320px;
  background: rgba(0, 110, 255, 0.18);
}

.ambient-b {
  right: 8%;
  bottom: 6%;
  width: 360px;
  height: 360px;
  background: rgba(91, 183, 255, 0.16);
}

.glass-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 16px;
  padding: 12px 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
}

.brand,
.brand-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  overflow: hidden;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--primary), #36c5ff);
  color: #fff;
  box-shadow: 0 14px 32px rgba(0, 110, 255, 0.28);
}

.brand-mark::after {
  content: '';
  position: absolute;
  inset: 8px -18px auto auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.brand-mark img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand strong {
  display: block;
  font-size: 17px;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.brand span:last-child {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.nav .btn {
  min-height: 40px;
  height: 40px;
  border-radius: 999px;
  color: #31506f;
  font-weight: 750;
}

.nav .btn:hover,
.nav .btn.active {
  background: #e8f2ff;
  color: var(--primary);
}

main {
  margin-top: 26px;
}

.page-view {
  animation: pageIn 0.32s ease both;
}

@keyframes pageIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-grid {
  position: relative;
  display: grid;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid rgba(0, 110, 255, 0.16);
  border-radius: 34px;
  background:
    linear-gradient(115deg, rgba(245, 250, 255, 0.97) 0%, rgba(255, 255, 255, 0.9) 48%, rgba(225, 241, 255, 0.82) 100%);
  box-shadow: var(--shadow-lg);
}

.hero-backdrop-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.14;
  filter: saturate(1.05) contrast(1.08);
  transform: scale(1.04);
}

.hero-grid::before {
  content: '';
  position: absolute;
  right: -150px;
  top: -130px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 40%, rgba(255,255,255,0.9), transparent 22%),
    radial-gradient(circle, rgba(0, 110, 255, 0.2), transparent 68%);
  z-index: 1;
}

.hero-grid::after {
  content: '';
  position: absolute;
  left: 8%;
  bottom: -28%;
  width: 70%;
  height: 56%;
  border-radius: 999px;
  border: 1px solid rgba(0, 110, 255, 0.1);
  background: linear-gradient(90deg, rgba(0,110,255,0.08), rgba(54,197,255,0.04), transparent);
  transform: rotate(-5deg);
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(250, 253, 255, 0.98) 0%, rgba(250, 253, 255, 0.92) 45%, rgba(240, 248, 255, 0.78) 100%),
    radial-gradient(circle at 78% 20%, rgba(0, 110, 255, 0.14), transparent 24rem),
    radial-gradient(circle at 24% 92%, rgba(0, 168, 112, 0.08), transparent 18rem);
  backdrop-filter: blur(2px);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  width: 100%;
  gap: clamp(24px, 4vw, 54px);
  padding: clamp(34px, 5vw, 70px);
}

.hero-card,
.hero-visual {
  position: relative;
  z-index: 1;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.hero-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
}

.hero-badge {
  width: fit-content;
  gap: 8px;
  min-height: 34px;
  border: 1px solid rgba(0, 110, 255, 0.18);
  background: rgba(232, 244, 255, 0.92);
  color: var(--primary);
  font-weight: 800;
}

.hero-media-window {
  position: relative;
  width: min(520px, 100%);
  min-height: clamp(164px, 20vw, 218px);
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid rgba(0, 110, 255, 0.14);
  border-radius: 26px;
  background: #0b1f36;
  box-shadow: 0 22px 58px rgba(0, 90, 190, 0.16);
}

.hero-media-window video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
  filter: saturate(1.14) contrast(1.08);
  transform: scale(1.035);
}

.hero-media-window::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 22, 42, 0.02), rgba(7, 22, 42, 0.34)),
    radial-gradient(circle at 20% 18%, rgba(0, 110, 255, 0.2), transparent 12rem);
  pointer-events: none;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 6px rgba(0, 168, 112, 0.12);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(44px, 6.4vw, 80px);
  font-weight: 930;
  line-height: 0.96;
  letter-spacing: -0.065em;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 880;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

h3 {
  font-size: 21px;
  font-weight: 840;
  line-height: 1.24;
  letter-spacing: -0.025em;
}

.gradient-text {
  background: linear-gradient(90deg, #0052d9 0%, var(--primary) 42%, #29b7ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 680px;
  margin-bottom: 28px;
  color: #415e7a;
  font-size: 18px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.btn.primary,
.btn.btn-primary,
.primary.btn {
  border: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  box-shadow: 0 16px 34px rgba(0, 110, 255, 0.25);
}

.btn.ghost,
.ghost.btn {
  border: 1px solid rgba(0, 110, 255, 0.16);
  background: rgba(255, 255, 255, 0.72);
  color: #234765;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 760px;
}

.hero-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 760px;
}

.hero-proof-grid span {
  display: grid;
  gap: 4px;
  min-height: 76px;
  padding: 14px 15px;
  border: 1px solid rgba(0, 110, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(12px);
}

.hero-proof-grid strong,
.hero-proof-grid small {
  display: block;
}

.hero-proof-grid strong {
  color: var(--text);
  font-size: 15px;
  font-weight: 920;
}

.hero-proof-grid small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  line-height: 1.45;
}

.delivery-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 110, 255, 0.14);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(246, 251, 255, 0.78));
  box-shadow: 0 22px 72px rgba(0, 90, 190, 0.14);
  backdrop-filter: blur(18px);
}

.delivery-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 88% 4%, rgba(0, 110, 255, 0.18), transparent 15rem),
    radial-gradient(circle at 12% 100%, rgba(0, 168, 112, 0.1), transparent 13rem);
}

.delivery-card .card-body {
  position: relative;
  z-index: 1;
  gap: 18px;
  padding: clamp(20px, 3vw, 28px);
}

.delivery-card-head strong,
.delivery-card-head p {
  display: block;
}

.scum-logo-panel {
  display: grid;
  width: min(238px, 70%);
  min-height: 76px;
  place-items: center;
  margin: 0 auto 14px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 255, 255, 0.16), transparent 6rem),
    linear-gradient(135deg, rgba(7, 21, 37, 0.92), rgba(14, 37, 62, 0.84));
  box-shadow: 0 18px 46px rgba(7, 21, 37, 0.22);
}

.scum-logo-panel img {
  display: block;
  width: 100%;
  max-width: 196px;
  height: auto;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.45));
}

.delivery-card-head strong {
  margin-top: 12px;
  color: var(--text);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 930;
  letter-spacing: -0.045em;
}

.delivery-card-head p {
  max-width: 430px;
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.delivery-stack {
  display: grid;
  gap: 12px;
}

.delivery-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  min-height: 74px;
  padding: 13px;
  border: 1px solid rgba(0, 110, 255, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);
}

.delivery-row .site-icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: #eaf4ff;
  color: var(--primary);
  font-size: 21px;
}

.delivery-row b,
.delivery-row span {
  display: block;
  min-width: 0;
}

.delivery-row b {
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
}

.delivery-row span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  font-weight: 680;
}

.delivery-row em {
  color: rgba(0, 110, 255, 0.3);
  font-size: 18px;
  font-style: normal;
  font-weight: 950;
}

.delivery-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 2px;
}

.delivery-footer span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
}

.hero-stats span {
  display: grid;
  gap: 4px;
  min-height: 72px;
  padding: 13px 14px;
  border: 1px solid rgba(0, 110, 255, 0.13);
  border-radius: 16px;
  background: rgba(255,255,255,0.72);
  color: #5e748b;
  font-size: 12px;
  font-weight: 700;
}

.hero-stats strong {
  color: var(--text);
  font-size: 18px;
  font-weight: 900;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 520px;
  gap: 16px;
  padding: 38px 42px 38px 12px;
}

.trailer-card {
  position: relative;
  width: min(430px, 100%);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 26px;
  background: #0b1f36;
}

.trailer-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7, 22, 42, 0.04) 0%, rgba(7, 22, 42, 0.72) 100%),
    radial-gradient(circle at 18% 18%, rgba(0, 110, 255, 0.34), transparent 16rem);
  pointer-events: none;
}

.hero-trailer {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.trailer-overlay {
  position: absolute;
  inset: auto 18px 16px;
  z-index: 2;
  color: #fff;
}

.trailer-overlay span,
.trailer-overlay strong {
  display: block;
}

.trailer-overlay span {
  width: fit-content;
  margin-bottom: 8px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 12px;
  font-weight: 850;
  backdrop-filter: blur(10px);
}

.trailer-overlay strong {
  max-width: 320px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.orchestrator-card {
  position: relative;
  width: min(430px, 100%);
  padding: 22px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.94), rgba(246,251,255,0.92));
}

.orchestrator-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(0,110,255,0.32), rgba(54,197,255,0.08), rgba(112,92,255,0.18));
}

.wallet-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.wallet-head span,
.wallet-head em {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}

.wallet-head strong {
  display: block;
  margin: 6px 0;
  color: var(--text);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.wallet-orb {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 32% 28%, #fff, transparent 25%),
    linear-gradient(135deg, #006eff, #36c5ff 60%, #705cff);
  box-shadow: 0 18px 36px rgba(0, 110, 255, 0.28);
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.quick-actions button {
  min-height: 64px;
  border: 1px solid rgba(0, 110, 255, 0.12);
  border-radius: 18px;
  background: #f3f8ff;
  color: #24506f;
}

.quick-actions span {
  display: block;
  color: var(--primary);
  font-weight: 900;
}

.quick-actions small {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  font-weight: 750;
}

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

.node-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 12px;
  border: 1px solid rgba(0, 110, 255, 0.1);
  border-radius: 18px;
  background: #fff;
}

.node-row i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--node) 14%, white);
  color: var(--node);
  font-style: normal;
  font-weight: 900;
}

.node-row i.site-icon {
  font-size: 20px;
}

.node-row b,
.node-row span {
  grid-column: 2;
  min-width: 0;
}

.node-row b {
  align-self: end;
  overflow: hidden;
  color: var(--text);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.node-row span {
  align-self: start;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  text-overflow: ellipsis;
  display: -webkit-box;
  line-height: 1.35;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.node-row em {
  grid-row: 1 / 3;
  grid-column: 3;
  color: var(--primary);
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
  white-space: nowrap;
}

.floating-proof {
  position: absolute;
  right: 34px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 330px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.92);
}

.floating-proof > span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 8px rgba(0, 168, 112, 0.12);
}

.floating-proof strong,
.floating-proof small {
  display: block;
}

.floating-proof small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.section-block,
.page-grid {
  margin-top: 26px;
}

.section-block {
  position: relative;
}

.section-copy {
  max-width: 760px;
  margin-bottom: 22px;
}

.section-copy.centered {
  max-width: 800px;
  margin: 0 auto 20px;
  text-align: center;
}

.muted {
  color: var(--muted);
  line-height: 1.72;
}

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

.feature-card,
.showcase-card,
.panel,
.page-hero-small,
.pricing-note,
.metric,
.plan-card,
.item,
.auth-card,
.manual-panel,
.flow-section {
  border-radius: var(--radius);
}

.feature-card {
  min-height: 236px;
  padding: 24px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.feature-card:hover,
.plan-card:hover,
.item:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 22px 56px rgba(0, 100, 220, 0.14);
}

.feature-card span,
.panel-title span,
.item-title span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 28px;
  margin-bottom: 18px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eaf4ff;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.feature-card span .site-icon,
.panel-title span .site-icon,
.item-title span .site-icon {
  font-size: 14px;
}

.feature-card p,
.showcase-card li,
.roadmap-card p {
  color: var(--muted);
  line-height: 1.72;
}

.flow-section {
  padding: 30px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 0%, rgba(0,110,255,0.12), transparent 22rem),
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(245,250,255,0.92));
}

.open-steps {
  width: 100%;
  margin: 12px 0 24px;
  color: #31506f;
}

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

.roadmap-card {
  min-height: 178px;
  padding: 20px;
  border: 1px solid rgba(0, 110, 255, 0.12);
  border-radius: 20px;
  background: #fff;
}

.roadmap-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #eaf4ff, #f3f9ff);
  color: var(--primary);
  font-weight: 900;
}

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

.showcase-card {
  padding: 28px;
  background: rgba(255,255,255,0.92);
}

.accent-card {
  background:
    radial-gradient(circle at 82% 14%, rgba(0,110,255,0.12), transparent 16rem),
    rgba(255,255,255,0.92);
}

.check-list {
  display: grid;
  gap: 13px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: #eafaf4;
  color: var(--success);
  font-size: 12px;
  font-weight: 900;
}

.page-grid {
  display: grid;
  gap: 20px;
}

.section-head,
.page-hero-small {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px;
}

.page-hero-small h2 {
  margin-bottom: 8px;
}

.pricing-note {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
}

.pricing-note div {
  padding: 16px;
  border: 1px solid rgba(0, 110, 255, 0.11);
  border-radius: 18px;
  background: #f7fbff;
}

.pricing-note strong,
.pricing-note span {
  display: block;
}

.pricing-note span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

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

.plan-card {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.plan-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-3));
}

.plan-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.stock-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.1);
  color: var(--success);
  font-size: 12px;
  font-weight: 900;
}

.stock-empty {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger);
}

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

.spec-list span {
  display: block;
  padding: 10px 12px;
  border: 1px solid rgba(26, 80, 146, 0.12);
  border-radius: 14px;
  background: rgba(246, 251, 255, 0.76);
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

.price {
  color: var(--primary);
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.buy-grid,
.price-rule-grid,
.two-col,
.dashboard-columns {
  display: grid;
  gap: 16px;
}

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

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

.panel {
  padding: 22px;
  background: var(--panel);
}

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

.panel-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: min(100%, 520px);
}

.panel-actions .search-input {
  flex: 1;
  min-width: 180px;
}

.panel-title h3 {
  margin-bottom: 0;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.metric {
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.metric strong,
.metric span {
  display: block;
}

.metric strong {
  color: var(--text);
  font-size: 25px;
  font-weight: 900;
}

.metric span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.metric-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  border-radius: 12px;
  background: #eaf4ff;
  color: var(--primary);
  font-size: 17px;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: 100%;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.88);
}

.admin-tabs .tab {
  min-height: 42px;
  height: auto;
  padding: 0 16px;
  border-radius: 999px;
  color: #42617f;
  font-weight: 800;
}

.admin-tabs .tab-active,
.admin-tabs .active {
  background: var(--primary);
  color: #fff;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(320px, 390px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.sticky-form {
  position: sticky;
  top: 106px;
}

.wide {
  min-width: 0;
}

.stack,
.compact,
.inline-edit,
.manual-grid {
  display: grid;
  gap: 12px;
}

.compact,
.inline-edit,
.manual-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.span-2 {
  grid-column: 1 / -1;
}

.form-field {
  width: 100%;
  min-width: 0;
  padding: 0;
  background: transparent;
}

.fieldset-legend {
  margin-bottom: 6px;
  color: #375774;
  font-size: 12px;
  font-weight: 850;
}

.input,
.select,
.search-input,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(26, 80, 146, 0.16);
  border-radius: 13px;
  background: #fff;
  color: var(--text);
  outline: none;
}

.textarea-like {
  min-height: 132px;
  max-height: 220px;
  overflow-y: auto;
  resize: vertical;
  padding: 12px 14px;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-all;
}

.input:focus,
.select:focus,
.search-input:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 110, 255, 0.1);
}

.search-input {
  max-width: 360px;
  padding: 0 14px;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.site-footer {
  display: grid;
  gap: 8px;
  margin-top: 26px;
  padding: 18px 22px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}

.site-footer.hidden {
  display: none !important;
}

.site-footer-links,
.footer-preview #footerSettingsPreview .site-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 16px;
}

.site-footer a,
.footer-preview a {
  color: var(--primary);
  font-weight: 800;
  text-decoration: none;
}

.site-footer strong,
.footer-preview strong {
  color: var(--text);
  font-weight: 850;
}

.site-footer p,
.footer-preview p {
  margin: 0;
}

.footer-settings-form textarea {
  min-height: 96px;
  padding: 12px 14px;
  line-height: 1.65;
  resize: vertical;
}

.footer-preview {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px dashed rgba(0, 110, 255, 0.18);
  border-radius: 18px;
  background: rgba(246, 251, 255, 0.72);
}

.footer-preview > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

#footerSettingsPreview {
  display: grid;
  gap: 6px;
  text-align: center;
}

.toolbar select,
#orderStatusFilter {
  min-height: 44px;
  border: 1px solid rgba(26, 80, 146, 0.16);
  border-radius: 13px;
  background: #fff;
  color: var(--text);
  padding: 0 12px;
}

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

.tier-editor {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--panel);
}

.tier-editor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  color: #375774;
  font-size: 12px;
  font-weight: 850;
}

.tier-rows,
.duration-rows {
  display: grid;
  gap: 10px;
}

.tier-row,
.duration-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  align-items: center;
}

.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
}

.pager:empty {
  display: none;
}

.pager-info {
  color: var(--muted);
  font-size: 13px;
}

.pager .mini[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

.item {
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.item-title {
  margin-bottom: 10px;
  color: var(--text);
  font-weight: 850;
}

.item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.item-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #f0f6ff;
  color: #55708b;
  font-weight: 700;
}

.item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.order-card {
  min-width: 0;
  overflow: hidden;
  border-color: var(--line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(247, 251, 255, 0.78)),
    var(--panel);
}

.order-card .card-body {
  min-width: 0;
  gap: 12px;
  padding: 18px;
}

.order-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  min-width: 0;
}

.order-title-wrap {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
}

.order-title {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.25;
}

.order-amount {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  flex-direction: column;
  gap: 8px;
  min-width: 104px;
  max-width: 100%;
  text-align: right;
}

.order-amount strong {
  color: var(--text);
  font-size: 22px;
  line-height: 1;
}

.order-amount > span {
  max-width: 100%;
  white-space: normal;
}

.order-meta-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.order-meta-grid .badge {
  height: auto;
  min-height: 26px;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.35;
  padding-top: 5px;
  padding-bottom: 5px;
}

.order-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
  padding-top: 2px;
}

.order-actions .btn {
  min-width: 0;
  white-space: normal;
  line-height: 1.25;
}

.order-action-note {
  display: inline-flex;
  max-width: 100%;
  min-height: 30px;
  align-items: center;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.12);
  color: #a16207;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
  overflow-wrap: anywhere;
  padding: 6px 10px;
}

.order-message {
  min-width: 0;
  align-items: flex-start;
  padding: 10px 12px;
}

.order-message span {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.55;
}

[data-theme="dark"] .order-card,
.theme-dark .order-card {
  background:
    linear-gradient(145deg, rgba(18, 26, 40, 0.94), rgba(12, 19, 31, 0.82)),
    var(--panel);
}

[data-theme="dark"] .order-action-note,
.theme-dark .order-action-note {
  background: rgba(251, 191, 36, 0.14);
  color: #facc15;
}

@media (max-width: 640px) {
  .order-card .card-body {
    padding: 14px;
  }

  .order-card-head {
    grid-template-columns: 1fr;
  }

  .order-amount {
    align-items: flex-start;
    min-width: 0;
    text-align: left;
  }

  .order-actions .btn {
    width: 100%;
  }
}

.service-expire-editor {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(0, 110, 255, 0.11);
  border-radius: 16px;
  background: rgba(247, 251, 255, 0.82);
}

.service-expire-editor .form-field {
  flex: 1 1 240px;
  min-width: 220px;
}

.service-expire-editor .btn {
  min-width: 128px;
}

.mini {
  min-height: 34px;
  border: 1px solid rgba(0, 110, 255, 0.14);
  border-radius: 999px;
  background: #f3f8ff;
  color: #2d587c;
  padding: 0 13px;
  font-size: 12px;
  font-weight: 850;
}

.mini.primary {
  border-color: transparent;
  background: var(--primary);
  color: #fff;
}

.mini.danger {
  border-color: rgba(227, 77, 89, 0.2);
  background: #fff1f2;
  color: var(--danger);
}

.delivery-box {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(0, 110, 255, 0.11);
  border-radius: 16px;
  background: #f7fbff;
}

.service-admin-item {
  overflow: hidden;
  border-color: var(--line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(247, 251, 255, 0.86)),
    radial-gradient(circle at 100% 0%, rgba(0, 110, 255, 0.08), transparent 18rem);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.service-admin-item:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: 0 18px 46px rgba(0, 92, 210, 0.12);
}

.service-admin-item .card-body {
  padding: 14px;
}

.service-admin-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 14px;
  align-items: stretch;
}

.service-admin-summary {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 10px;
}

.service-admin-title-row {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.service-admin-title-wrap {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.service-admin-title {
  min-width: 0;
  max-width: 100%;
  color: var(--text);
  font-size: 16px;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-admin-title .site-icon {
  color: var(--primary);
}

.service-admin-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.service-admin-quick .badge {
  min-height: 24px;
  border-color: rgba(0, 110, 255, 0.1);
  font-weight: 800;
}

.service-admin-expire {
  flex: 0 0 auto;
  display: grid;
  justify-items: end;
  gap: 2px;
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.service-admin-expire strong {
  color: var(--text);
  font-size: 12px;
}

.service-admin-chips {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.service-admin-delivery {
  display: grid;
  grid-template-columns: auto minmax(180px, 2fr) minmax(110px, 1fr) minmax(130px, 1fr) auto;
  gap: 8px;
  align-items: stretch;
  padding: 10px;
  border: 1px solid rgba(0, 110, 255, 0.09);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.48);
}

.service-admin-delivery-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 13px;
  background: rgba(0, 110, 255, 0.08);
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.service-admin-chip {
  min-width: 0;
  min-height: 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 6px;
  padding: 7px 9px;
  border: 1px solid rgba(0, 110, 255, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.68);
}

.service-admin-chip-panel,
.service-admin-chip-credential {
  background: rgba(247, 251, 255, 0.86);
}

.service-admin-chip-wide {
  grid-column: span 2;
}

.service-admin-chip small,
.service-admin-chip b {
  min-width: 0;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-admin-chip small {
  grid-column: 1 / -1;
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 800;
}

.service-admin-chip b {
  color: var(--text);
  font-size: 12px;
  font-weight: 850;
}

.service-admin-chip .btn {
  min-height: 24px;
  height: 24px;
  padding-inline: 7px;
  font-size: 11px;
}

.service-admin-open {
  min-height: 42px;
  height: auto;
  align-self: stretch;
  border-radius: 13px;
  white-space: nowrap;
}

.service-admin-side {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 10px;
  border: 1px solid rgba(0, 110, 255, 0.1);
  border-radius: 16px;
  background: rgba(247, 251, 255, 0.72);
}

.service-admin-side .service-expire-editor {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.service-admin-side .service-expire-editor .form-field {
  flex: 1 1 auto;
  min-width: 0;
}

.service-admin-side .service-expire-editor .join {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

.service-admin-side .service-expire-editor .input {
  min-width: 0;
  width: 100%;
}

.service-admin-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.service-admin-actions .btn {
  min-height: 34px;
  border-radius: 12px;
  font-weight: 850;
}

.service-admin-danger {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(227, 77, 89, 0.12);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(227, 77, 89, 0.055), rgba(255, 255, 255, 0.18));
}

.service-admin-danger strong,
.service-admin-danger span {
  display: block;
}

.service-admin-danger strong {
  color: var(--danger);
  font-size: 12px;
  font-weight: 900;
}

.service-admin-danger span {
  margin-top: 2px;
  color: var(--muted-2);
  font-size: 11px;
  line-height: 1.45;
}

.service-local-remove {
  border: 1px solid rgba(227, 77, 89, 0.22);
  color: var(--danger);
  background: rgba(255, 255, 255, 0.5);
}

[data-theme="dark"] .service-admin-item,
.theme-dark .service-admin-item {
  background:
    linear-gradient(145deg, rgba(18, 26, 40, 0.94), rgba(12, 19, 31, 0.82)),
    var(--panel);
}

[data-theme="dark"] .service-admin-chip,
.theme-dark .service-admin-chip,
[data-theme="dark"] .service-admin-side,
.theme-dark .service-admin-side {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .service-admin-delivery,
.theme-dark .service-admin-delivery {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .service-admin-delivery-title,
.theme-dark .service-admin-delivery-title {
  background: rgba(0, 110, 255, 0.16);
}

[data-theme="dark"] .service-admin-chip-panel,
.theme-dark .service-admin-chip-panel,
[data-theme="dark"] .service-admin-chip-credential,
.theme-dark .service-admin-chip-credential {
  background: rgba(255, 255, 255, 0.055);
}

[data-theme="dark"] .service-admin-danger,
.theme-dark .service-admin-danger {
  background: rgba(227, 77, 89, 0.08);
  border-color: rgba(227, 77, 89, 0.18);
}

[data-theme="dark"] .service-local-remove,
.theme-dark .service-local-remove {
  background: rgba(255, 255, 255, 0.035);
}

.node-capacity-panel {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(0, 110, 255, 0.1);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(247, 251, 255, 0.9)),
    radial-gradient(circle at 100% 0%, rgba(0, 110, 255, 0.1), transparent 14rem);
}

[data-theme='dark'] .node-capacity-panel {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.035)),
    radial-gradient(circle at 100% 0%, rgba(0, 110, 255, 0.16), transparent 14rem);
}

.node-capacity-main {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.node-metric {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(0, 110, 255, 0.08);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.68);
}

[data-theme='dark'] .node-metric {
  background: rgba(255, 255, 255, 0.055);
}

.node-metric span,
.node-metric small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
}

.node-metric strong {
  display: block;
  margin: 5px 0 2px;
  color: var(--text);
  font-size: 24px;
  font-weight: 950;
  line-height: 1;
}

.node-metric-primary {
  border-color: rgba(0, 110, 255, 0.18);
  background: color-mix(in srgb, var(--primary) 10%, #fff);
}

[data-theme='dark'] .node-metric-primary {
  background: color-mix(in srgb, var(--primary) 16%, transparent);
}

.node-capacity-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.node-capacity-sub span,
.node-sync-note {
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f0f6ff;
  color: #55708b;
  font-size: 12px;
  font-weight: 800;
}

[data-theme='dark'] .node-capacity-sub span,
[data-theme='dark'] .node-sync-note {
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
}

.node-sync-note {
  border: 1px dashed rgba(0, 110, 255, 0.18);
  border-radius: 16px;
}

.service-card {
  overflow: hidden;
  border-color: rgba(0, 110, 255, 0.14);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(246, 250, 255, 0.84)),
    radial-gradient(circle at 100% 0%, rgba(0, 110, 255, 0.12), transparent 16rem);
}

[data-theme='dark'] .service-card {
  background:
    linear-gradient(135deg, rgba(12, 22, 38, 0.92), rgba(9, 15, 26, 0.86)),
    radial-gradient(circle at 100% 0%, rgba(0, 110, 255, 0.18), transparent 16rem);
}

.service-card .card-body {
  gap: 14px;
  padding: 18px;
}

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

.service-kicker {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.service-title {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: var(--text);
  font-size: 18px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 9px;
}

.service-section {
  padding: 12px;
  border: 1px solid rgba(0, 110, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
}

[data-theme='dark'] .service-section {
  background: rgba(255, 255, 255, 0.045);
}

.service-section-title {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.service-section-title .site-icon {
  color: var(--primary);
  font-size: 14px;
}

.service-section-split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 12px;
}

.service-info-grid,
.service-port-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

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

.service-info-cell {
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(0, 110, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

[data-theme='dark'] .service-info-cell {
  background: rgba(255, 255, 255, 0.055);
}

.service-info-cell span,
.service-info-cell strong {
  display: block;
  min-width: 0;
}

.service-info-cell span {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.service-info-cell strong {
  overflow: hidden;
  color: var(--text);
  font-size: 13px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-info-cell .btn {
  margin-top: 7px;
  min-height: 26px;
  height: 26px;
}

.service-empty-note {
  min-height: 38px;
  padding: 10px 12px;
  border: 1px dashed rgba(0, 110, 255, 0.18);
  border-radius: 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.service-actions {
  justify-content: flex-end;
  margin-top: 2px;
}

.register-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.register-code-row .btn {
  min-width: 132px;
  white-space: nowrap;
}

.edit-disclosure > summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.edit-disclosure > summary::-webkit-details-marker {
  display: none;
}

.edit-disclosure > summary::before {
  content: '▸';
  color: var(--primary);
  font-size: 13px;
  transition: transform 0.15s ease;
}

.edit-disclosure[open] > summary::before {
  transform: rotate(90deg);
}

.edit-summary-title {
  font-weight: 850;
  color: var(--text);
}

.edit-disclosure[open] > summary {
  margin-bottom: 14px;
}

.edit-disclosure > .inline-edit {
  margin-top: 4px;
}

.form-modal {
  width: min(680px, calc(100vw - 32px));
  max-height: calc(100vh - 56px);
  overflow-y: auto;
}

.payment-settings-modal {
  width: min(860px, calc(100vw - 28px));
  max-width: min(860px, calc(100vw - 28px));
  max-height: calc(100vh - 40px);
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    radial-gradient(circle at 10% 0%, rgba(0, 110, 255, 0.1), transparent 20rem),
    var(--panel-solid);
}

.payment-settings-modal .payment-settings-form,
.payment-settings-modal .payment-guide,
.payment-settings-modal .payment-saved-info {
  margin-right: 24px;
  margin-left: 24px;
}

.payment-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 24px 14px;
  border-bottom: 1px solid rgba(26, 80, 146, 0.1);
}

.payment-modal-header .panel-title span {
  margin-bottom: 10px;
}

.payment-guide {
  margin-top: 18px;
  margin-bottom: 14px;
  border-color: rgba(0, 110, 255, 0.14);
  background: color-mix(in srgb, var(--panel-soft) 82%, white);
  color: var(--text);
}

.payment-guide strong,
.payment-guide p {
  display: block;
}

.payment-guide p {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.58;
}

.payment-saved-info {
  margin-bottom: 14px;
}

.payment-settings-form {
  display: grid;
  gap: 14px;
  padding-bottom: 22px;
}

.payment-section {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(26, 80, 146, 0.11);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.68);
}

.payment-section-compact {
  padding-bottom: 14px;
}

.payment-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.payment-section-title > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 14px;
  background: #eaf4ff;
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
}

.payment-section-title strong,
.payment-section-title small {
  display: block;
}

.payment-section-title strong {
  color: var(--text);
  font-size: 15px;
  font-weight: 900;
}

.payment-section-title small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.payment-key-textarea {
  width: 100%;
  min-height: 126px;
  max-height: 220px;
  overflow-y: auto;
  resize: vertical;
  font-family: 'Consolas', 'Cascadia Mono', monospace;
  font-size: 12px;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-all;
}

.payment-modal-actions {
  position: sticky;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin: 0 -24px -22px;
  padding: 14px 24px 18px;
  border-top: 1px solid rgba(26, 80, 146, 0.1);
  background: color-mix(in srgb, var(--panel-solid) 92%, transparent);
  backdrop-filter: blur(14px);
}

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

.form-modal .panel-title {
  margin-bottom: 6px;
}

.form-modal .form-hint {
  margin-bottom: 16px;
}

.form-grid .modal-action {
  margin-top: 6px;
  gap: 10px;
}

.payment-modal {
  width: min(440px, calc(100vw - 32px));
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-lg);
}

.payment-qr {
  display: grid;
  min-height: 260px;
  place-items: center;
  margin: 18px 0;
  border: 1px solid rgba(0, 110, 255, 0.12);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 110, 255, 0.08), transparent 14rem),
    #f7fbff;
}

.payment-qr svg {
  width: min(240px, 72vw);
  height: auto;
  border-radius: 12px;
}

.payment-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.payment-status span,
.payment-status:not(:has(span)) {
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(0, 110, 255, 0.1);
  border-radius: 999px;
  background: #f0f6ff;
}

.delivery-box strong {
  display: block;
  margin-bottom: 8px;
}

.status-active,
.status-running,
.status-online,
.status-paid,
.status-success {
  background: #e8fff5 !important;
  color: #008a5c !important;
}

.status-failed,
.status-error,
.status-cancelled,
.status-stopped,
.status-expired,
.status-terminated {
  background: #fff1f2 !important;
  color: var(--danger) !important;
}

.status-pending,
.status-pending_payment,
.status-pending-payment,
.status-provisioning,
.status-warning {
  background: #fff7e8 !important;
  color: #a86200 !important;
}

.auth-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.58fr);
  gap: 22px;
  align-items: stretch;
}

.auth-copy-card,
.auth-card {
  min-width: 0;
  overflow: hidden;
  background: var(--panel);
}

.auth-copy-card {
  position: relative;
}

.auth-copy-card::after {
  content: '';
  position: absolute;
  right: -120px;
  bottom: -140px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 110, 255, 0.16), transparent 68%);
  pointer-events: none;
}

.auth-copy-card .card-body,
.auth-card .card-body {
  position: relative;
  z-index: 1;
  padding: clamp(24px, 4vw, 38px);
}

.auth-copy-card h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(38px, 5vw, 62px);
}

.auth-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.auth-card-head h2 {
  margin-bottom: 0;
  font-size: clamp(26px, 3vw, 34px);
}

.auth-tabs {
  width: 100%;
  margin-bottom: 18px;
  padding: 6px;
  background: color-mix(in srgb, var(--panel-soft) 82%, transparent);
}

.auth-tabs .tab {
  flex: 1;
  min-height: 44px;
  height: 44px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 850;
}

.auth-tabs .tab-active,
.auth-tabs .active {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  box-shadow: 0 12px 24px rgba(0, 110, 255, 0.2);
}

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

.auth-form .label {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.tabs {
  display: flex;
  gap: 8px;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  display: grid;
  gap: 10px;
}

.toast-message {
  min-width: 260px;
  padding: 13px 16px;
  border: 1px solid rgba(0, 110, 255, 0.14);
  border-radius: 15px;
  background: rgba(255,255,255,0.96);
  color: var(--text);
  box-shadow: var(--shadow);
  animation: toastIn 0.22s ease both;
}

.toast-message.error {
  border-color: rgba(227, 77, 89, 0.22);
  background: #fff7f8;
  color: var(--danger);
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-hint {
  margin-bottom: 16px;
}

.manual-panel {
  padding: 24px;
}

@media (max-width: 1100px) {
  .hero-content,
  .auth-grid,
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .delivery-card {
    max-width: 760px;
  }

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

  .plan-grid,
  .pricing-note {
    grid-template-columns: 1fr;
  }

  .sticky-form {
    position: static;
  }

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

  .service-admin-side {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .service-admin-delivery {
    grid-template-columns: auto minmax(0, 1fr) minmax(120px, 0.6fr);
  }

  .service-admin-open {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(100% - 24px, 1220px);
    padding-top: 12px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    top: 8px;
  }

  .nav {
    justify-content: flex-start;
    width: 100%;
  }

  .nav .btn {
    flex: 1 1 auto;
  }

  .hero-grid {
    min-height: auto;
    border-radius: 24px;
  }

  .hero-content {
    gap: 24px;
    padding: 28px 22px;
  }

  .hero-card {
    padding: 0;
  }

  h1 {
    font-size: clamp(38px, 13vw, 56px);
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-stats,
  .hero-proof-grid,
  .feature-grid,
  .operation-roadmap,
  .split-showcase,
  .node-capacity-main,
  .service-card-head,
  .service-section-split,
  .service-info-grid,
  .service-info-grid-compact,
  .service-port-grid,
  .service-admin-main,
  .service-admin-chips,
  .service-admin-delivery,
  .service-admin-side,
  .service-admin-actions,
  .two-col,
  .dashboard-columns,
  .compact,
  .inline-edit,
  .manual-grid,
  .form-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }

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

  .register-code-row .btn {
    width: 100%;
  }

  .service-card-head {
    display: grid;
  }

  .service-title {
    white-space: normal;
  }

  .service-card-head > .btn {
    width: 100%;
  }

  .service-admin-item .card-body {
    padding: 12px;
  }

  .service-admin-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-admin-expire {
    justify-items: start;
  }

  .service-admin-chip-wide {
    grid-column: span 1;
  }

  .service-admin-open {
    width: 100%;
  }

  .service-admin-side .service-expire-editor .btn,
  .service-admin-actions .btn {
    width: 100%;
  }

  .service-actions {
    justify-content: stretch;
  }

  .service-actions .btn {
    flex: 1 1 120px;
  }

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

  .delivery-row {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .delivery-row .site-icon {
    width: 42px;
    height: 42px;
  }

  .delivery-row em {
    display: none;
  }

  .delivery-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .delivery-footer .btn {
    width: 100%;
  }

  .section-head,
  .page-hero-small,
  .panel-head {
    align-items: stretch;
    flex-direction: column;
  }

  .panel-actions {
    align-items: stretch;
    flex-direction: column;
    min-width: 0;
  }

  .search-input {
    max-width: none;
  }

  .flow-section {
    padding: 22px;
  }

  .open-steps {
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .open-steps .step {
    min-width: 120px;
  }

  .payment-settings-modal {
    width: min(100vw - 16px, 860px);
    max-height: calc(100vh - 24px);
  }

  .payment-settings-modal .payment-settings-form,
  .payment-settings-modal .payment-guide,
  .payment-settings-modal .payment-saved-info {
    margin-right: 14px;
    margin-left: 14px;
  }

  .payment-modal-header {
    padding: 18px 14px 12px;
  }

  .payment-section {
    padding: 13px;
    border-radius: 17px;
  }

  .payment-modal-actions {
    justify-content: stretch;
    margin-right: -14px;
    margin-left: -14px;
    padding-right: 14px;
    padding-left: 14px;
  }

  .payment-modal-actions .btn {
    flex: 1 1 150px;
  }
}
