/* 大航海代理 — 浅色靛紫主题（与发卡网 dhhkj.com 视觉统一） */
:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #eef2ff;
  --bg: #f5f6fa;
  --card: #ffffff;
  --text: #1f2937;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --green: #10b981;
  --orange: #f59e0b;
  --red: #ef4444;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  --font-ui: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", "Noto Sans CJK SC", Arial, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-ui); background: var(--bg); color: var(--text); }
a { color: var(--primary); text-decoration: none; }

.topbar { display: flex; align-items: center; gap: 24px; padding: 12px 32px; background: var(--card); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 10; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--text); }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: var(--primary); color: #fff; border-radius: 8px; font-size: 16px; }
.logo small { display: block; font-size: 10px; color: var(--text-muted); font-weight: 400; letter-spacing: 1px; }
.top-nav { display: flex; gap: 18px; flex: 1; }
.top-nav a { color: var(--text); font-size: 14px; }
.top-nav a:hover { color: var(--primary); }
.top-actions { display: flex; gap: 10px; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 8px 18px; border-radius: var(--radius); background: var(--primary); color: #fff; font-size: 14px; border: none; cursor: pointer; }
.btn:hover { background: var(--primary-dark); }
.btn.ghost { background: transparent; color: var(--primary); border: 1px solid var(--primary); }
.btn.large { padding: 12px 28px; font-size: 16px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.hero { text-align: center; padding: 80px 24px; }
.hero h1 { font-size: 40px; margin-bottom: 12px; }
.hero p { color: var(--text-muted); margin-bottom: 24px; }

.footer { text-align: center; padding: 24px; color: var(--text-muted); font-size: 13px; border-top: 1px solid var(--border); margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; max-width: 1080px; margin: 0 auto 20px; text-align: left; }
.footer-title { font-weight: 700; color: var(--text); margin-bottom: 10px; font-size: 14px; }
.footer-grid a { display: block; color: var(--text-muted); font-size: 13px; padding: 4px 0; }
.footer-grid a:hover { color: var(--primary); }
.footer-copy { font-size: 12px; }

.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; }
.badge.green { background: #ecfdf5; color: var(--green); }
.badge.orange { background: #fffbeb; color: var(--orange); }
.badge.red { background: #fef2f2; color: var(--red); }
.badge.indigo { background: var(--primary-light); color: var(--primary); }

.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }

/* 2026 品牌升级：更克制、正规的企业级视觉 */
:root {
  --primary: #149fc8;
  --primary-dark: #087ba5;
  --primary-light: #eaf9fe;
  --navy: #0f172a;
  --navy-soft: #1e293b;
  --bg: #f7f8fc;
  --card: #ffffff;
  --text: #172033;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --green: #059669;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 14% 8%, rgba(20, 159, 200, 0.06), transparent 28%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.5;
  font-kerning: normal;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
button, input, select, textarea { font: inherit; }
a, button { transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
a:focus-visible, button:focus-visible { outline: 3px solid rgba(20, 159, 200, .24); outline-offset: 3px; }

.topbar {
  min-height: 76px;
  gap: 36px;
  padding: 12px clamp(24px, 4vw, 64px);
  background: rgba(255, 255, 255, .94);
  border-bottom-color: rgba(226, 232, 240, .9);
  box-shadow: 0 1px 18px rgba(15, 23, 42, .035);
  backdrop-filter: blur(16px);
  z-index: 50;
}
.logo { flex: 0 0 auto; gap: 11px; font-size: 16px; letter-spacing: -.2px; }
.brand-logo { width: 45px; height: 45px; display: block; filter: drop-shadow(0 6px 10px rgba(51, 167, 208, .2)); }
.brand-logo-lockup { width: 180px; height: auto; max-height: 54px; object-fit: contain; filter: none; }
.brand-copy { display: block; line-height: 1.08; text-rendering: geometricPrecision; }
.brand-copy strong { display: block; color: #0b4f78; font-size: 20px; font-weight: 800; letter-spacing: -.45px; white-space: nowrap; }
.logo small { margin-top: 5px; color: #4387a4; font-size: 10px; font-weight: 700; letter-spacing: 1.35px; }
.top-nav { align-items: center; gap: 4px; }
.top-nav a { padding: 9px 12px; border-radius: 9px; color: #3e5163; font-size: 15px; font-weight: 600; letter-spacing: .12px; line-height: 1.35; text-rendering: optimizeLegibility; white-space: nowrap; }
.top-nav a:hover { color: var(--primary); background: var(--primary-light); }
.top-actions { flex: 0 0 auto; }
.btn { min-height: 38px; padding: 8px 18px; border-radius: 9px; box-shadow: 0 5px 13px rgba(20, 159, 200, .17); font-weight: 650; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(20, 159, 200, .22); }
.btn.ghost { background: #fff; border-color: #a9dce9; box-shadow: none; }
.btn.ghost:hover { background: var(--primary-light); border-color: #72c7dc; }
.btn.large { min-height: 46px; padding: 11px 24px; font-size: 15px; }

main { min-height: 58vh; }

/* 首页 */
.marketing-home { overflow: hidden; }
.marketing-home .hero.marketing-hero {
  position: relative;
  padding: 66px 24px 58px;
  text-align: left;
  background:
    radial-gradient(circle at 87% 18%, rgba(129, 140, 248, .24), transparent 31%),
    radial-gradient(circle at 8% 82%, rgba(14, 165, 233, .1), transparent 28%),
    linear-gradient(137deg, #f8faff 0%, #f0f2ff 56%, #f8faff 100%);
  border-bottom: 1px solid #e7e9f5;
}
.marketing-home .marketing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .26;
  pointer-events: none;
  background-image: linear-gradient(rgba(99, 102, 241, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(99, 102, 241, .12) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 90%);
}
.hero-shell { position: relative; z-index: 1; max-width: 1160px; margin: 0 auto; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(390px, .94fr); align-items: center; gap: clamp(44px, 6vw, 86px); }
.hero-kicker { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 19px !important; padding: 7px 12px; border: 1px solid #cceaf3; border-radius: 999px; background: rgba(255, 255, 255, .78); color: var(--primary-dark) !important; font-size: 13px !important; font-weight: 700; letter-spacing: .35px; }
.hero-kicker i { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 5px rgba(34, 197, 94, .12); }
.marketing-home .hero h1 { margin: 0 0 20px; color: var(--navy); font-size: clamp(38px, 4vw, 50px); line-height: 1.13; letter-spacing: -1.8px; }
.marketing-home .hero h1 em { color: var(--primary); font-style: normal; }
.marketing-home .hero .hero-lead { max-width: 630px; margin-bottom: 27px; color: #526077; font-size: 17px; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-price-promo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 610px; margin-top: 20px; }
.hero-price-promo a { position: relative; display: grid; gap: 2px; min-width: 0; padding: 14px 16px 13px; overflow: hidden; border: 1px solid rgba(35, 166, 207, .27); border-radius: 14px; background: rgba(255, 255, 255, .76); box-shadow: 0 10px 28px rgba(21, 104, 138, .08); color: #1d4258; text-decoration: none; backdrop-filter: blur(12px); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.hero-price-promo a::after { content: ""; position: absolute; right: -22px; bottom: -30px; width: 76px; height: 76px; border-radius: 50%; background: rgba(43, 181, 218, .09); }
.hero-price-promo a:hover { transform: translateY(-2px); border-color: rgba(10, 153, 196, .55); box-shadow: 0 14px 34px rgba(21, 104, 138, .14); }
.hero-price-promo span { color: #678399; font-size: 12px; font-weight: 750; letter-spacing: .05em; }
.hero-price-promo strong { color: #12364b; font-size: 17px; line-height: 1.35; }
.hero-price-promo strong em { color: var(--primary); font-size: 27px; font-style: normal; font-variant-numeric: tabular-nums; }
.hero-price-promo small { color: #7890a1; font-size: 11px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 24px; color: #526077; font-size: 13px; }
.hero-points span { display: inline-flex; align-items: center; gap: 7px; }
.hero-points span::before { content: "✓"; display: inline-flex; align-items: center; justify-content: center; width: 17px; height: 17px; border-radius: 50%; background: #dcfce7; color: #047857; font-size: 11px; font-weight: 800; }
.platform-disclaimer { display: flex; align-items: center; gap: 11px; border: 1px solid #f4d59d; border-radius: 12px; background: #fffbeb; color: #77501c; font-size: 13px; line-height: 1.6; }
.platform-disclaimer b { flex: 0 0 auto; color: #9a5b11; font-size: 13px; }
.platform-disclaimer span { min-width: 0; }
.platform-disclaimer a { flex: 0 0 auto; color: #9a5b11; font-weight: 800; white-space: nowrap; }
.hero-platform-disclaimer { max-width: 680px; margin-top: 21px; padding: 12px 14px; }

.network-card { position: relative; padding: 24px; border: 1px solid rgba(199, 210, 254, .9); border-radius: 22px; background: rgba(255,255,255,.88); box-shadow: 0 28px 70px rgba(49, 46, 129, .16); backdrop-filter: blur(18px); }
.network-card::after { content: ""; position: absolute; right: -18px; bottom: -18px; width: 100px; height: 100px; border-radius: 28px; background: linear-gradient(135deg, #818cf8, #4338ca); opacity: .13; z-index: -1; transform: rotate(12deg); }
.network-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid #edf0f7; }
.network-head strong { display: block; color: var(--navy); font-size: 16px; }
.network-head small { display: block; margin-top: 4px; color: var(--text-muted); font-size: 13px; }
.network-status { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border-radius: 999px; background: #ecfdf5; color: #047857; font-size: 13px; font-weight: 700; }
.network-status i { width: 7px; height: 7px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 4px rgba(16, 185, 129, .12); }
.network-status.orange { background: #fff7ed; color: #c2410c; }
.network-status.orange i { background: #f97316; box-shadow: 0 0 0 4px rgba(249, 115, 22, .12); }
.network-status.red { background: #fef2f2; color: #b91c1c; }
.network-status.red i { background: #ef4444; box-shadow: 0 0 0 4px rgba(239, 68, 68, .12); }
.network-status.gray { background: #f1f5f9; color: #64748b; }
.network-status.gray i { background: #94a3b8; box-shadow: 0 0 0 4px rgba(148, 163, 184, .13); }
.network-label { margin: 18px 0 11px; color: #66778c; font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.hero-country-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.hero-country { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 11px; border: 1px solid #e8ebf4; border-radius: 11px; background: #fff; }
.hero-country img { width: 31px; height: 21px; flex: 0 0 auto; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(15,23,42,.08); }
.hero-country strong { display: block; overflow: hidden; color: #273247; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.hero-country small { display: block; margin-top: 3px; color: #7c899a; font-size: 12px; }
.marketing-home .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 20px; padding-top: 19px; border-top: 1px solid #edf0f7; }
.marketing-home .stat { position: relative; text-align: left; }
.marketing-home .stat + .stat { padding-left: 18px; border-left: 1px solid #edf0f7; }
.marketing-home .stat b { color: var(--navy); font-size: 21px; }
.marketing-home .stat span { display: block; margin-top: 4px; color: #78869a; font-size: 12px; }
.marketing-home .hero-announce { max-width: none; margin: 22px 0 0; }
.marketing-home .announce-strip { display: flex; align-items: center; margin: 0; padding: 11px 14px; border-color: #dce2f8; background: rgba(255,255,255,.72); color: #526077; }
.marketing-home .announce-strip + .announce-strip { margin-top: 7px; }

.marketing-home .home-section { max-width: 1160px; padding: 76px 24px 0; }
.marketing-home .home-section.section-compact { padding-top: 58px; }
.marketing-home .section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 26px; }
.marketing-home .section-heading > div { max-width: 650px; }
.marketing-home .section-eyebrow { margin-bottom: 8px; color: var(--primary-dark); font-size: 13px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; }
.marketing-home .home-h2 { margin: 0; color: var(--navy); font-size: clamp(26px, 3vw, 34px); line-height: 1.25; letter-spacing: -.7px; text-align: left; }
.marketing-home .home-sub { margin: 9px 0 0; color: var(--text-muted); font-size: 14px; line-height: 1.75; text-align: left; }

.marketing-home .home-countries { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.marketing-home .home-country { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 13px; min-width: 0; padding: 19px; border-color: #e3e7ef; border-radius: 14px; box-shadow: 0 7px 25px rgba(15,23,42,.045); text-align: left; }
.marketing-home .home-country:hover { border-color: #a5b4fc; box-shadow: 0 14px 30px rgba(79,70,229,.11); transform: translateY(-3px); }
.flag-shell { display: flex; align-items: center; justify-content: center; width: 50px; height: 38px; border: 1px solid #e8ebf2; border-radius: 9px; background: #f8fafc; }
.country-flag-img { width: 38px; height: 25px; border-radius: 4px; object-fit: contain; background: #fff; box-shadow: 0 0 0 1px rgba(15,23,42,.1); }
.flag-fallback { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 25px; border-radius: 4px; background: #e9edff; color: #4338ca; font-size: 10px; font-weight: 800; }
.home-country-copy { min-width: 0; }
.home-country-copy strong { display: block; overflow: hidden; color: #273247; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.home-country-copy small { display: block; margin-top: 4px; color: #78869a; font-size: 13px; }
.country-arrow { color: #a0a9b9; font-size: 17px; }
.country-badge { display: inline-flex; align-items: center; gap: 7px; }
.country-badge .country-flag-img { width: 23px; height: 15px; border-radius: 2px; }
.chip { display: inline-flex; align-items: center; gap: 7px; }
.chip .country-flag-img { width: 24px; height: 16px; border-radius: 2px; }
.chip .flag-fallback { width: 24px; height: 16px; font-size: 8px; }

.marketing-home .home-modes { max-width: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.marketing-home .home-mode { position: relative; min-height: 260px; padding: 28px; border-color: #e2e8f0; border-radius: 17px; box-shadow: var(--shadow); }
.marketing-home .home-mode-hot { border: 1px solid #a5b4fc; background: linear-gradient(145deg, #fff, #f7f7ff); }
.mode-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 23px; }
.mode-icon, .feature-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--primary-light); color: var(--primary); }
.mode-icon svg, .feature-icon svg, .ecosystem-icon svg { width: 22px; height: 22px; }
.mode-label { padding: 5px 9px; border-radius: 999px; background: #f1f5f9; color: #56677c; font-size: 12px; font-weight: 700; }
.mode-label.recommended { background: #e0e7ff; color: #4338ca; }
.marketing-home .home-mode h3 { margin: 0 0 7px; color: var(--navy); font-size: 20px; }
.marketing-home .mode-price { display: flex; align-items: baseline; gap: 5px; margin: 7px 0 9px; color: #71879a; }
.marketing-home .mode-price span { font-size: 12px; font-weight: 750; }
.marketing-home .mode-price strong { color: var(--primary); font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.04em; }
.marketing-home .mode-price small { color: #456578; font-size: 13px; font-weight: 750; }
.mode-desc { margin-bottom: 13px; color: var(--text-muted); font-size: 14px; line-height: 1.65; }
.marketing-home .home-mode ul { margin-bottom: 22px; }

.marketing-home .plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.marketing-home .plan-card { padding: 22px; border-color: #e2e8f0; border-radius: 15px; box-shadow: 0 7px 25px rgba(15,23,42,.045); }
.marketing-home .plan-card:hover { border-color: #c7d2fe; box-shadow: 0 15px 34px rgba(79,70,229,.1); }
.marketing-home .plan-price { color: var(--navy); letter-spacing: -.6px; }
.marketing-home .plan-price::first-letter { color: var(--primary); }

.marketing-home .home-features { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.marketing-home .feature { padding: 24px; border-color: #e3e7ef; border-radius: 15px; box-shadow: 0 7px 25px rgba(15,23,42,.045); }
.marketing-home .feature h3 { margin: 17px 0 7px; color: var(--navy); font-size: 17px; }
.marketing-home .feature p { line-height: 1.75; }
.marketing-home .home-trust { margin-top: 18px; padding: 18px 22px; border-color: #e3e7ef; border-radius: 14px; box-shadow: none; }
.marketing-home .trust-badges span { border-color: #e4e8ef; background: #f8fafc; color: #526077; }

.marketing-home .home-steps { position: relative; grid-template-columns: repeat(3, 1fr); max-width: none; gap: 18px; }
.marketing-home .step { padding: 25px; border-color: #e3e7ef; border-radius: 15px; box-shadow: 0 7px 25px rgba(15,23,42,.045); }
.marketing-home .step-num { width: 34px; height: 34px; margin-bottom: 17px; background: #e0e7ff; color: #4338ca; font-size: 13px; }
.marketing-home .step h3 { color: var(--navy); font-size: 16px; }
.marketing-home .step p { margin-top: 7px; line-height: 1.65; }

.marketing-home .home-ecosystem { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.marketing-home .home-ecosystem a { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 15px; padding: 22px; border-color: #e3e7ef; border-radius: 15px; box-shadow: 0 7px 25px rgba(15,23,42,.045); }
.marketing-home .home-ecosystem a:hover { border-color: #a5b4fc; box-shadow: 0 14px 30px rgba(79,70,229,.11); }
.ecosystem-icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: #eef2ff; color: var(--primary); }
.ecosystem-copy { min-width: 0; }
.marketing-home .home-ecosystem h3 { margin: 0 0 5px; color: var(--navy); font-size: 17px; }
.marketing-home .home-ecosystem p { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.external-arrow { color: #9aa5b7; }
.marketing-home .faq details { border-color: #e3e7ef; border-radius: 13px; box-shadow: 0 5px 20px rgba(15,23,42,.035); }
.marketing-home .faq summary { padding: 2px 0; color: #263247; }

/* 公开节点状态页 */
.badge.gray { background: #f1f5f9; color: #64748b; }
.page.status-page { max-width: 1160px; padding-top: 50px; }
.status-page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 26px; }
.status-page-head .section-eyebrow { margin-bottom: 8px; color: var(--primary-dark); font-size: 13px; font-weight: 800; letter-spacing: 1.2px; }
.status-page-head .page-title { margin-bottom: 8px; color: var(--navy); font-size: 32px; letter-spacing: -.7px; }
.status-page-head .page-sub { max-width: 680px; margin: 0; line-height: 1.7; }
.status-updated { flex: 0 0 auto; padding: 7px 11px; border: 1px solid #e2e8f0; border-radius: 8px; background: #fff; color: #7c879b; font-size: 11px; }
.status-overview { display: flex; align-items: center; gap: 15px; margin-bottom: 16px; padding: 20px 22px; border: 1px solid #bbf7d0; border-radius: 15px; background: linear-gradient(135deg, #f0fdf4, #fff); }
.status-overview-dot { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: #dcfce7; }
.status-overview-dot i { width: 11px; height: 11px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 6px rgba(16,185,129,.12); }
.status-overview strong { display: block; color: #065f46; font-size: 15px; }
.status-overview p { margin-top: 5px; color: #3f6a5b; font-size: 14px; line-height: 1.6; }
.status-overview.orange { border-color: #fed7aa; background: linear-gradient(135deg, #fff7ed, #fff); }
.status-overview.orange .status-overview-dot { background: #ffedd5; }
.status-overview.orange .status-overview-dot i { background: #f97316; box-shadow: 0 0 0 6px rgba(249,115,22,.12); }
.status-overview.orange strong { color: #9a3412; }
.status-overview.orange p { color: #9a5b3d; }
.status-overview.red { border-color: #fecaca; background: linear-gradient(135deg, #fef2f2, #fff); }
.status-overview.red .status-overview-dot { background: #fee2e2; }
.status-overview.red .status-overview-dot i { background: #ef4444; box-shadow: 0 0 0 6px rgba(239,68,68,.12); }
.status-overview.red strong { color: #991b1b; }
.status-overview.red p { color: #9f4d4d; }
.status-overview.gray { border-color: #e2e8f0; background: linear-gradient(135deg, #f8fafc, #fff); }
.status-overview.gray .status-overview-dot { background: #e2e8f0; }
.status-overview.gray .status-overview-dot i { background: #94a3b8; box-shadow: 0 0 0 6px rgba(148,163,184,.13); }
.status-overview.gray strong { color: #475569; }
.status-overview.gray p { color: #7c879b; }
.status-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 18px; border: 1px solid #e2e8f0; border-radius: 15px; background: #fff; box-shadow: 0 7px 25px rgba(15,23,42,.035); }
.status-summary > div { padding: 19px 22px; }
.status-summary > div + div { border-left: 1px solid #edf0f5; }
.status-summary span { display: block; margin-bottom: 7px; color: #7c879b; font-size: 11px; }
.status-summary b { color: var(--navy); font-size: 21px; letter-spacing: -.4px; }
.status-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.status-card { padding: 22px; border: 1px solid #e2e8f0; border-radius: 15px; background: #fff; box-shadow: 0 7px 25px rgba(15,23,42,.04); }
.status-card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.status-country { display: flex; align-items: center; gap: 12px; min-width: 0; }
.status-country .flag-shell { width: 46px; height: 34px; }
.status-country .country-flag-img { width: 34px; height: 23px; }
.status-country strong { display: block; color: var(--navy); font-size: 15px; }
.status-country small { display: block; margin-top: 3px; color: #94a3b8; font-size: 10px; letter-spacing: .5px; }
.status-metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 20px; }
.status-metrics > div { padding: 13px 14px; border-radius: 10px; background: #f8fafc; }
.status-metrics span { display: block; margin-bottom: 5px; color: #8792a5; font-size: 10px; }
.status-metrics b { color: #273247; font-size: 15px; }
.capacity-head { display: flex; justify-content: space-between; gap: 18px; margin-bottom: 8px; color: #7c879b; font-size: 11px; }
.capacity-head strong { color: #526077; font-weight: 600; }
.capacity-bar { height: 7px; overflow: hidden; border-radius: 999px; background: #edf0f5; }
.capacity-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #6366f1, #818cf8); }

.status-checked { margin-top: 12px; color: #9aa4b5; font-size: 10px; }
.status-empty { grid-column: 1 / -1; padding: 58px 24px; border: 1px dashed #cbd5e1; border-radius: 15px; background: #fff; text-align: center; }
.status-empty svg { width: 30px; height: 30px; color: #818cf8; }
.status-empty h2 { margin: 13px 0 7px; color: #334155; font-size: 17px; }
.status-empty p { color: #8490a3; font-size: 12px; }
.status-note { margin-top: 17px; color: #8b96a8; font-size: 11px; text-align: center; }

/* 页脚 */
.footer { margin-top: 88px; padding: 58px clamp(24px, 4vw, 64px) 24px; border-top: 0; background: var(--navy); color: #94a3b8; }
.footer-grid { grid-template-columns: minmax(260px, 1.45fr) repeat(4, minmax(105px, .62fr)); gap: clamp(24px, 3.5vw, 52px); max-width: 1160px; margin-bottom: 42px; }
.footer-brand { max-width: 360px; }
.footer-logo { display: inline-flex !important; align-items: center; gap: 12px; padding: 0 !important; color: #fff !important; font-size: 16px !important; font-weight: 700; }
.footer-logo img { width: 48px; height: 48px; object-fit: contain; }
.footer-logo small { display: block; margin-top: 4px; color: #8b9bb3; font-size: 10px; letter-spacing: 1.5px; }
.footer-brand > p { margin-top: 19px; color: #a5b1c3; font-size: 14px; line-height: 1.85; }
.footer-title { margin: 4px 0 15px; color: #f8fafc; font-size: 15px; letter-spacing: .2px; }
.footer-grid a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 0; color: #a6b1c2; font-size: 14px; }
.footer-grid a:hover { color: #c7d2fe; }
.footer-grid a span { color: #667085; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; max-width: 1160px; margin: 0 auto; padding-top: 23px; border-top: 1px solid rgba(148, 163, 184, .17); color: #8d9aaf; font-size: 13px; }

@media (max-width: 1040px) {
  .topbar { gap: 20px; }
  .top-nav a { padding-inline: 8px; font-size: 14px; }
  .hero-inner { grid-template-columns: 1fr 390px; gap: 36px; }
  .marketing-home .hero h1 { font-size: clamp(38px, 4vw, 44px); }
  .marketing-home .home-countries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .marketing-home .home-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.2fr repeat(2, .7fr); gap: 35px; }
}

@media (max-width: 820px) {
  .topbar { flex-wrap: wrap; padding: 10px 18px 9px; }
  .top-nav { order: 3; width: calc(100% + 36px); flex: 0 0 calc(100% + 36px); margin: 0 -18px -9px; padding: 8px 18px 9px; overflow-x: auto; border-top: 1px solid #eef1f6; scrollbar-width: none; }
  .top-nav::-webkit-scrollbar { display: none; }
  .top-actions { margin-left: auto; }
  .hero-inner { grid-template-columns: 1fr; }
  .network-card { max-width: 520px; }
  .marketing-home .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .status-page-head { display: block; }
  .status-updated { display: inline-block; margin-top: 12px; }
  .status-summary { grid-template-columns: repeat(2, 1fr); }
  .status-summary > div:nth-child(3) { border-left: 0; border-top: 1px solid #edf0f5; }
  .status-summary > div:nth-child(4) { border-top: 1px solid #edf0f5; }
}

@media (max-width: 580px) {
  .topbar { gap: 12px; }
  .brand-logo { width: 39px; height: 39px; }
  .brand-logo-lockup { width: 148px; height: auto; max-height: 44px; }
  .brand-copy strong { font-size: 18px; }
  .logo small { margin-top: 4px; font-size: 9px; letter-spacing: 1.1px; }
  .top-actions { gap: 6px; }
  .top-actions .btn { min-height: 36px; padding: 7px 12px; font-size: 13px; }
  .marketing-home .hero.marketing-hero { padding: 45px 18px 42px; }
  .marketing-home .hero h1 { font-size: 32px; letter-spacing: -1.2px; }
  .marketing-home .hero .hero-lead { font-size: 15px; line-height: 1.75; }
  .hero-actions .btn { width: 100%; }
  .hero-price-promo { grid-template-columns: 1fr; max-width: none; }
  .hero-points { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .network-card { padding: 18px; border-radius: 17px; }
  .marketing-home .home-section { padding: 58px 18px 0; }
  .marketing-home .section-heading { display: block; }
  .marketing-home .home-countries,
  .marketing-home .home-modes,
  .marketing-home .plan-grid,
  .marketing-home .home-features,
  .marketing-home .home-steps,
  .marketing-home .home-ecosystem { grid-template-columns: 1fr; }
  .marketing-home .home-mode { min-height: 0; }
  .marketing-home .home-country { padding: 15px; }
  .footer { margin-top: 68px; padding: 44px 20px 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 22px; }
  .footer-bottom { display: block; line-height: 1.8; }
  .page.status-page { padding: 36px 18px 50px; }
  .status-page-head .page-title { font-size: 27px; }
  .status-overview { align-items: flex-start; padding: 17px; }
  .status-summary > div { padding: 16px; }
  .status-grid { grid-template-columns: 1fr; }
  .status-card { padding: 18px; }
}

/* 用户控制台：与官网共享品牌，但采用独立的企业级应用布局 */
.portal-mode {
  --portal-primary: #159fcd;
  --portal-primary-dark: #087ca9;
  --portal-primary-soft: #eaf8fc;
  --portal-ink: #142033;
  --portal-muted: #708097;
  --portal-line: #e3ebf2;
  --portal-bg: #f4f8fb;
  background: var(--portal-bg);
}
.portal-mode .topbar { min-height: 68px; border-bottom-color: #e4edf3; box-shadow: 0 4px 18px rgba(18, 73, 96, .035); }
.portal-mode .top-nav { display: none; }
.portal-mode .footer { display: none; }
.portal-mode #page-root { min-height: calc(100vh - 68px); }
.portal-mode .btn { gap: 7px; border-radius: 9px; background: var(--portal-primary); box-shadow: 0 7px 18px rgba(21, 159, 205, .16); font-size: 14px; font-weight: 600; line-height: 1.35; }
.portal-mode .btn:hover { background: var(--portal-primary-dark); }
.portal-mode .btn.ghost { background: #fff; border-color: #c8e2eb; color: #177da1; box-shadow: none; }
.portal-mode .btn.ghost:hover { background: #f3fbfd; border-color: #8ecfe1; }
.portal-mode .btn.ghost.danger { border-color: #fecaca; color: #dc2626; }
.portal-mode .btn svg { width: 17px; height: 17px; }
.top-user-link { display: inline-flex; align-items: center; gap: 9px; min-height: 38px; padding: 5px 11px 5px 6px; border: 1px solid #dce8ee; border-radius: 10px; background: #fff; color: #294155; font-size: 14px; font-weight: 600; }
.top-user-link:hover { border-color: #9bd4e4; color: #087ca9; }
.top-user-balance { display: inline-flex; align-items: baseline; gap: 7px; min-height: 38px; padding: 7px 12px; border: 1px solid #cbe8f1; border-radius: 10px; background: #f1fbfe; color: #496679; }
.top-user-balance:hover { border-color: #86cfe2; background: #e7f8fc; }
.top-user-balance span { font-size: 12px; font-weight: 600; }
.top-user-balance strong { color: #087ba5; font-size: 15px; font-variant-numeric: tabular-nums; }
.top-user-avatar { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, #4bc3e8, #1599c7); color: #fff; font-weight: 800; }
.top-logout { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #e1e8ee; border-radius: 10px; background: #fff; color: #718096; cursor: pointer; }
.top-logout:hover { border-color: #fecaca; background: #fff7f7; color: #dc2626; }
.top-logout svg { width: 18px; height: 18px; }

.user-portal { min-height: calc(100vh - 68px); background: radial-gradient(circle at 100% 0, rgba(57, 183, 220, .07), transparent 30%), var(--portal-bg); }
.portal-shell { display: grid; grid-template-columns: 238px minmax(0, 1fr); max-width: 1480px; min-height: calc(100vh - 68px); margin: 0 auto; }
.portal-sidebar { position: sticky; top: 68px; align-self: start; height: calc(100vh - 68px); padding: 24px 16px; border-right: 1px solid var(--portal-line); background: rgba(255,255,255,.9); backdrop-filter: blur(18px); }
.portal-user-card { display: flex; align-items: center; gap: 11px; margin-bottom: 24px; padding: 12px; border: 1px solid #e5eef3; border-radius: 13px; background: linear-gradient(145deg, #fff, #f7fbfd); }
.portal-user-card > span:last-child { min-width: 0; }
.portal-user-card strong { display: block; overflow: hidden; color: var(--portal-ink); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.portal-user-card small { display: block; overflow: hidden; margin-top: 3px; color: #8a99aa; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.portal-avatar { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 auto; border-radius: 11px; background: linear-gradient(135deg, #50c4eb, #258fb9); box-shadow: 0 7px 15px rgba(31, 148, 188, .2); color: #fff; font-size: 15px; font-weight: 800; }
.portal-nav { display: grid; gap: 4px; }
.portal-nav-link { display: grid; grid-template-columns: 30px minmax(0,1fr) auto; align-items: center; min-height: 43px; padding: 0 12px; border-radius: 10px; color: #526378; font-size: 13px; font-weight: 600; }
.portal-nav-link:hover { background: #f1f8fb; color: #147fa5; }
.portal-nav-link.active { background: linear-gradient(100deg, #e6f7fc, #f1fbfd); color: #087da8; box-shadow: inset 3px 0 #24acd5; }
.portal-nav-icon { display: grid; place-items: center; width: 25px; height: 25px; }
.portal-nav-icon svg { width: 18px; height: 18px; }
.portal-nav-badge { min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: #ef4444; color: #fff; font-size: 10px; line-height: 19px; text-align: center; }
.portal-nav-badge[hidden] { display: none; }
.portal-sidebar-footer { position: absolute; right: 16px; bottom: 21px; left: 16px; display: grid; gap: 4px; padding-top: 14px; border-top: 1px solid #e8eff3; }
.portal-sidebar-footer a, .portal-sidebar-footer button { display: grid; grid-template-columns: 28px 1fr; align-items: center; width: 100%; min-height: 40px; padding: 0 12px; border: 0; border-radius: 9px; background: transparent; color: #6e7f91; font-size: 12px; text-align: left; cursor: pointer; }
.portal-sidebar-footer a:hover { background: #f0fafc; color: #087da8; }
.portal-sidebar-footer button:hover { background: #fff2f2; color: #dc2626; }
.portal-sidebar-footer svg { width: 17px; height: 17px; }

.portal-main { min-width: 0; padding: 32px clamp(24px, 3.2vw, 48px) 60px; }
.portal-page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; max-width: 1190px; margin: 0 auto 24px; }
.portal-kicker { margin-bottom: 6px; color: #2c9fc3; font-size: 9px; font-weight: 800; letter-spacing: 2px; }
.portal-page-head h1 { color: var(--portal-ink); font-size: 27px; letter-spacing: -.5px; }
.portal-page-head p { margin-top: 6px; color: var(--portal-muted); font-size: 12px; }
.portal-menu-btn { display: none; place-items: center; width: 40px; height: 40px; border: 1px solid var(--portal-line); border-radius: 10px; background: #fff; color: #178db3; }
.portal-menu-btn svg { width: 20px; height: 20px; }
.portal-content { display: grid; gap: 18px; max-width: 1190px; margin: 0 auto; }
.portal-loading { display: grid; place-items: center; min-height: 340px; color: #8290a1; font-size: 12px; }
.portal-loading span { width: 30px; height: 30px; border: 3px solid #dceef4; border-top-color: #1aa3cf; border-radius: 50%; animation: portal-spin .8s linear infinite; }
.portal-loading p { margin-top: -120px; }
@keyframes portal-spin { to { transform: rotate(360deg); } }
.portal-standalone-error { display: grid; place-items: center; gap: 10px; max-width: 480px; margin: 100px auto; padding: 42px; border: 1px solid #fee2e2; border-radius: 16px; background: #fff; color: #64748b; }
.portal-standalone-error strong { color: #dc2626; font-size: 18px; }

.portal-welcome { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 27px 30px; overflow: hidden; border: 1px solid #cceaf3; border-radius: 18px; background: linear-gradient(115deg, #effbfe 0%, #fff 52%, #f0f9fc 100%); box-shadow: 0 10px 30px rgba(22, 103, 133, .05); }
.portal-welcome-tag { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 9px; color: #0a8b68; font-size: 10px; font-weight: 750; }
.portal-welcome-tag::before { width: 7px; height: 7px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 4px rgba(16,185,129,.1); content: ""; }
.portal-welcome h2 { color: #173146; font-size: 23px; }
.portal-welcome p { margin-top: 6px; color: #718399; font-size: 12px; }
.portal-welcome-actions { display: flex; gap: 9px; flex: 0 0 auto; }
.portal-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.portal-metric { display: grid; grid-template-columns: 45px 1fr; gap: 13px; min-width: 0; padding: 18px; border: 1px solid var(--portal-line); border-radius: 14px; background: #fff; box-shadow: 0 7px 25px rgba(20, 57, 73, .035); color: inherit; }
.portal-metric:hover { border-color: #b7deea; box-shadow: 0 12px 28px rgba(20, 113, 145, .08); transform: translateY(-2px); }
.portal-metric-icon { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 12px; }
.portal-metric-icon svg { width: 21px; height: 21px; }
.portal-metric-icon.cyan { background: #e5f9fc; color: #0f9cc7; }
.portal-metric-icon.blue { background: #eaf2ff; color: #3b82f6; }
.portal-metric-icon.violet { background: #f2edff; color: #7c3aed; }
.portal-metric-icon.amber { background: #fff7df; color: #d97706; }
.portal-metric small, .portal-metric em { display: block; overflow: hidden; color: #8694a6; font-size: 10px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.portal-metric strong { display: block; margin: 4px 0; color: #172d40; font-size: 21px; }
.portal-dashboard-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.portal-span-2 { grid-column: span 2; }
.portal-panel { min-width: 0; padding: 21px; border: 1px solid var(--portal-line); border-radius: 15px; background: #fff; box-shadow: 0 8px 28px rgba(20, 57, 73, .035); }
.portal-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.portal-panel-head h2 { color: #24364a; font-size: 15px; }
.portal-panel-head p { margin-top: 4px; color: #93a0af; font-size: 10px; }
.portal-panel-head > a { display: inline-flex; align-items: center; gap: 3px; color: #1597c0; font-size: 11px; white-space: nowrap; }
.portal-panel-head > a svg { width: 15px; height: 15px; }
.portal-panel-head.portal-wrap { flex-wrap: wrap; }

.portal-service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.portal-service-grid.compact { gap: 12px; }
.portal-service-card { min-width: 0; padding: 20px; border: 1px solid #e1eaf0; border-radius: 14px; background: linear-gradient(155deg, #fff, #fbfdfe); }
.portal-service-card:hover { border-color: #abdbe8; box-shadow: 0 12px 30px rgba(22, 112, 143, .08); }
.portal-service-head { display: grid; grid-template-columns: 43px minmax(0,1fr) auto; align-items: center; gap: 11px; }
.portal-service-head h3 { overflow: hidden; color: #22364a; font-size: 14px; line-height: 1.35; text-overflow: ellipsis; white-space: normal; }
.portal-service-head p { overflow: hidden; margin-top: 3px; color: #8d9aaa; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.portal-flag { display: grid; place-items: center; width: 42px; height: 34px; border: 1px solid #e1e9ef; border-radius: 9px; background: #f8fafc; }
.portal-flag img { width: 30px; height: 20px; border-radius: 3px; object-fit: contain; background: #fff; box-shadow: 0 0 0 1px rgba(15,23,42,.08); }
.portal-flag.fallback { font-size: 18px; }
.portal-badge { display: inline-flex; align-items: center; gap: 5px; min-height: 23px; padding: 3px 8px; border-radius: 999px; font-size: 9px; font-weight: 700; white-space: nowrap; }
.portal-badge i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.portal-badge.success { background: #eafaf3; color: #07966d; }
.portal-badge.warning { background: #fff7df; color: #c47a0a; }
.portal-badge.danger { background: #fff0f0; color: #dc3f3f; }
.portal-badge.muted { background: #f1f4f7; color: #748194; }
.portal-service-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0 14px; }
.portal-service-meta span { padding: 10px 12px; border-radius: 9px; background: #f7fafc; }
.portal-service-meta small, .portal-service-meta strong { display: block; }
.portal-service-meta small { color: #97a4b3; font-size: 9px; }
.portal-service-meta strong { margin-top: 4px; color: #394c60; font-size: 12px; }
.portal-traffic-head { display: flex; justify-content: space-between; gap: 12px; color: #8896a6; font-size: 9px; }
.portal-traffic-head strong { color: #647487; font-weight: 600; }
.portal-progress { height: 6px; margin-top: 8px; overflow: hidden; border-radius: 999px; background: #eaf0f4; }
.portal-progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #44c0e5, #1596c0); }
.portal-progress.unlimited i { width: 100%; background: linear-gradient(90deg, #99dced, #42b7d8); }
.portal-card-actions { display: flex; gap: 8px; margin-top: 17px; }
.portal-card-actions .btn { min-height: 34px; padding: 6px 13px; font-size: 11px; }
.portal-dedicated-capacity { margin-top: 13px; color: #61798a; font-size: 11px; }
.portal-dedicated-hero { display: grid; grid-template-columns: 58px minmax(0,1fr) minmax(230px,.55fr); align-items: center; gap: 18px; padding: 25px 27px; border: 1px solid #c8e7f1; border-radius: 17px; background: linear-gradient(120deg,#f2fbfd,#fff 56%,#eaf9fd); box-shadow: 0 12px 35px rgba(16,102,132,.06); }
.portal-dedicated-hero > .portal-flag { width: 58px; height: 47px; }
.portal-dedicated-hero > .portal-flag img { width: 40px; height: 27px; }
.portal-dedicated-hero h2 { margin-top: 3px; color: #183449; font-size: 22px; }
.portal-dedicated-hero p:not(.portal-kicker) { margin-top: 5px; color: #73889a; font-size: 12px; }
.portal-dedicated-live { display: grid; grid-template-columns: 9px 1fr; gap: 4px 9px; padding: 15px; border: 1px solid #d8edf3; border-radius: 12px; background: rgba(255,255,255,.78); }
.portal-dedicated-live i { align-self: center; width: 8px; height: 8px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 5px rgba(16,185,129,.1); }
.portal-dedicated-live strong { color: #17637e; font-size: 13px; }
.portal-dedicated-live small { grid-column: 2; color: #8699a8; font-size: 10px; line-height: 1.55; }
.portal-dedicated-intro { padding: 3px 2px; }
.portal-dedicated-intro h2 { color: #1d384c; font-size: 18px; }
.portal-dedicated-intro p { margin-top: 6px; color: #768a9b; font-size: 12px; line-height: 1.7; }
.portal-dedicated-mode-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.portal-dedicated-mode-card { padding: 24px; border: 1px solid #dce9ef; border-radius: 16px; background: #fff; box-shadow: 0 10px 30px rgba(20,57,73,.04); }
.portal-dedicated-mode-card.flow { border-top: 4px solid #24b4da; }
.portal-dedicated-mode-card.unlimited { border-top: 4px solid #236c91; }
.portal-dedicated-mode-head { display: grid; grid-template-columns: 45px minmax(0,1fr) auto; align-items: center; gap: 12px; }
.portal-dedicated-mode-head > span:first-child { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 12px; background: #eaf9fd; color: #119ec8; }
.portal-dedicated-mode-head svg { width: 21px; height: 21px; }
.portal-dedicated-mode-head small { color: #159dc2; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.portal-dedicated-mode-head h2 { margin-top: 3px; color: #183348; font-size: 18px; }
.portal-dedicated-mode-card > p { min-height: 44px; margin-top: 14px; color: #708596; font-size: 12px; line-height: 1.7; }
.portal-dedicated-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 17px 0; }
.portal-dedicated-stats > div { padding: 12px; border-radius: 10px; background: #f5f9fb; }
.portal-dedicated-stats span,.portal-dedicated-stats strong { display: block; }
.portal-dedicated-stats span { color: #8b9aa8; font-size: 10px; }
.portal-dedicated-stats strong { margin-top: 5px; color: #29475b; font-size: 13px; }
.portal-dedicated-create { display: grid; grid-template-columns: repeat(auto-fit,minmax(150px,1fr)); align-items: end; gap: 11px; }
.portal-dedicated-create label > span { display: block; margin-bottom: 6px; color: #657b8c; font-size: 10px; }
.portal-dedicated-create label > div { display: grid; grid-template-columns: 1fr auto; overflow: hidden; border: 1px solid #d7e6ec; border-radius: 9px; background: #fff; }
.portal-dedicated-create input { min-width: 0; height: 39px; padding: 0 11px; border: 0; outline: 0; color: #17364a; font: inherit; font-weight: 700; }
.portal-dedicated-create em { display: grid; place-items: center; padding: 0 11px; color: #7890a0; font-size: 11px; font-style: normal; }
.portal-dedicated-create .btn { min-height: 41px; }
.portal-dedicated-foot { display: flex; justify-content: flex-start; }
.portal-renewal-grace { margin-top: 13px; padding: 9px 11px; border: 1px solid #f2d38e; border-radius: 9px; background: #fff9e9; color: #8b6421; font-size: 11px; line-height: 1.55; }
.portal-renewal-grace.detail { margin: 0; font-size: 13px; }
.portal-renewal-ended { align-self: center; color: #9a5b5b; font-size: 11px; }
.portal-disabled-summary { margin-top: 13px; padding: 11px 12px; border-radius: 9px; background: #f3f6f8; color: #758493; font-size: 12px; line-height: 1.55; }
.portal-disabled-label { display: inline-flex; align-items: center; min-height: 34px; padding: 6px 13px; border-radius: 8px; background: #edf1f4; color: #6f7e8c; font-size: 13px; font-weight: 700; }
.portal-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.portal-toolbar > div:first-child { min-width: 0; }
.portal-toolbar-title { color: #304357; font-size: 13px; }
.portal-toolbar-note { margin-left: 9px; color: #96a3b1; font-size: 10px; }
.portal-filters { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; border: 1px solid #e2ebf0; border-radius: 10px; background: #fff; }
.portal-filter { min-height: 30px; padding: 5px 12px; border: 0; border-radius: 7px; background: transparent; color: #748295; font-size: 10px; cursor: pointer; }
.portal-filter:hover { background: #f0f8fa; color: #168cb2; }
.portal-filter.active { background: #e7f7fb; color: #087ca7; font-weight: 700; }

.portal-list { display: grid; }
.portal-list-row { display: grid; grid-template-columns: 36px minmax(0,1fr) auto; align-items: center; gap: 11px; padding: 12px 2px; border-bottom: 1px solid #edf2f5; color: inherit; }
.portal-list-row:last-child { border-bottom: 0; }
.portal-list-row:hover .portal-list-main strong { color: #118eb7; }
.portal-list-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: #edf8fb; color: #1598c1; }
.portal-list-icon svg { width: 17px; height: 17px; }
.portal-list-main { min-width: 0; }
.portal-list-main strong, .portal-list-main small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.portal-list-main strong { color: #34475a; font-size: 11px; }
.portal-list-main small { margin-top: 4px; color: #98a4b2; font-size: 9px; }
.portal-list-side { text-align: right; }
.portal-list-side > strong { display: block; margin-bottom: 5px; color: #2f4154; font-size: 11px; }
.portal-notice-list { display: grid; }
.portal-notice-item { display: grid; grid-template-columns: 8px minmax(0,1fr); gap: 8px; padding: 9px 0; border-bottom: 1px solid #edf2f5; color: inherit; }
.portal-notice-item:last-child { border-bottom: 0; }
.portal-notice-item > i { width: 6px; height: 6px; margin-top: 5px; border-radius: 50%; background: #cbd5df; }
.portal-notice-item.unread > i { background: #1aa7d1; box-shadow: 0 0 0 4px #e8f8fc; }
.portal-notice-item strong, .portal-notice-item small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.portal-notice-item strong { color: #425469; font-size: 10px; }
.portal-notice-item small { margin-top: 3px; color: #a1acb8; font-size: 8px; }
.portal-quick-list { display: grid; gap: 7px; }
.portal-quick-list a { display: grid; grid-template-columns: 35px 1fr 16px; align-items: center; gap: 10px; padding: 11px; border: 1px solid #e8eef2; border-radius: 10px; color: inherit; }
.portal-quick-list a:hover { border-color: #b8dfeb; background: #f8fdfe; }
.portal-quick-list a > span:first-child { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: #eaf8fb; color: #1598c1; }
.portal-quick-list svg { width: 17px; height: 17px; }
.portal-quick-list strong, .portal-quick-list small { display: block; }
.portal-quick-list strong { color: #3a4d60; font-size: 11px; }
.portal-quick-list small { margin-top: 3px; color: #98a4b1; font-size: 9px; }
.portal-quick-list > a > svg { color: #aab5bf; }

.portal-breadcrumb { display: flex; align-items: center; gap: 8px; color: #95a2af; font-size: 10px; }
.portal-breadcrumb strong { color: #647487; }
.portal-service-hero { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px; border: 1px solid #cce8f1; border-radius: 16px; background: linear-gradient(120deg, #f0fbfd, #fff); }
.portal-service-identity { display: flex; align-items: center; gap: 13px; }
.portal-service-identity > .portal-flag { width: 53px; height: 43px; }
.portal-service-identity > .portal-flag img { width: 38px; height: 25px; }
.portal-service-identity span, .portal-service-identity p { color: #8d9baa; font-size: 9px; }
.portal-service-identity h2 { margin: 3px 0; color: #20364a; font-size: 19px; }
.portal-service-state { display: grid; justify-items: end; gap: 8px; }
.portal-service-state small { color: #78889a; font-size: 10px; }
.portal-detail-grid, .portal-account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.portal-info-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px; overflow: hidden; border: 1px solid #e8eef2; border-radius: 10px; background: #e8eef2; }
.portal-info-grid > div { padding: 12px; background: #fafcfd; }
.portal-info-grid small, .portal-info-grid strong { display: block; }
.portal-info-grid small { color: #99a5b2; font-size: 9px; }
.portal-info-grid strong { margin-top: 5px; overflow: hidden; color: #3d4f62; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.portal-panel > .portal-traffic { margin-top: 16px; }
.portal-credential { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 59px; padding: 10px 12px; border: 1px solid #e8eef2; border-radius: 10px; background: #fafcfd; }
.portal-credential + .portal-credential { margin-top: 9px; }
.portal-credential small, .portal-credential code { display: block; }
.portal-credential small { margin-bottom: 6px; color: #99a5b2; font-size: 9px; }
.portal-credential code { color: #34475b; font-size: 11px; word-break: break-all; }
.portal-credential > div { display: flex; align-items: center; gap: 5px; }
.portal-credential-form { margin-top: 13px; padding: 15px; border: 1px solid #d7e8ee; border-radius: 12px; background: #f7fbfc; }
.portal-credential-form[hidden] { display: none; }
.portal-credential-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.portal-credential-form-grid label:first-child { grid-column: 1 / -1; }
.portal-credential-form-grid label { display: grid; gap: 6px; color: #647789; }
.portal-credential-form-grid input { width: 100%; min-height: 40px; padding: 9px 11px; border: 1px solid #d6e3e9; border-radius: 9px; background: #fff; color: #2d4558; font: inherit; }
.portal-credential-warning { margin: 11px 0 0; color: #7b8997; line-height: 1.6; }
.portal-credential-form-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 13px; }
.portal-icon-btn, .portal-text-btn { border: 0; background: transparent; color: #168cb2; cursor: pointer; }
.portal-icon-btn { display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid #dbe8ee; border-radius: 8px; background: #fff; }
.portal-icon-btn:hover, .portal-icon-btn.copied { border-color: #8ed1e3; background: #edfafd; }
.portal-icon-btn svg { width: 15px; height: 15px; }
.portal-text-btn { padding: 5px; font-size: 10px; }
.portal-row-actions { display: flex; align-items: center; justify-content: flex-end; gap: 6px; min-width: 238px; }
.portal-refresh-btn { padding: 6px 9px; border: 1px solid #bfe3ed; border-radius: 8px; background: #f0fbfd; font-weight: 700; white-space: nowrap; }
.portal-refresh-btn:hover { border-color: #58bfd8; background: #e3f8fc; }
.portal-copy-refresh-btn { padding: 6px 9px; border: 1px solid #d7e4e9; border-radius: 8px; background: #fff; font-weight: 700; white-space: nowrap; }
.portal-copy-refresh-btn:hover, .portal-copy-refresh-btn.copied { border-color: #58bfd8; background: #edfafd; }
.portal-export { display: flex; align-items: flex-end; gap: 7px; }
.portal-export-format { display: grid; gap: 5px; color: #7b8999; font-size: 10px; font-weight: 700; }
.portal-export select, .portal-action-bar input { min-height: 35px; padding: 7px 10px; border: 1px solid #dce7ed; border-radius: 8px; background: #fff; color: #536579; font-size: 10px; }
.portal-dedicated-badge { display: inline-flex; align-items: center; width: max-content; margin-top: 7px; padding: 4px 9px; border: 1px solid #9edff0; border-radius: 999px; background: #eaf9fd; color: #087fa6; font-size: 10px; font-weight: 800; letter-spacing: .04em; }
.portal-proxy-pager { display: flex; align-items: center; justify-content: center; gap: 12px; padding-top: 16px; }
.portal-proxy-pager span { min-width: 150px; color: #647b8d; font-size: 12px; text-align: center; }
.portal-operation-export { margin-top: 15px; padding: 14px; border: 1px solid #cce8f1; border-radius: 12px; background: #f5fbfd; text-align: left; }
.portal-operation-export h3 { color: #183b50; font-size: 14px; }
.portal-operation-export p { margin: 5px 0 10px; color: #708697; font-size: 11px; line-height: 1.55; }
.portal-operation-export .portal-export-format { gap: 7px; font-size: 12px; }
.portal-operation-export .portal-export-format select { width: 100%; min-height: 42px; padding: 10px 12px; border-color: #c9dfe8; border-radius: 10px; color: #29485b; font-size: 13px; font-weight: 650; cursor: pointer; }
.portal-operation-export .portal-export-format select:focus { outline: 3px solid rgba(31,170,207,.12); border-color: #4cbad7; }
.portal-operation-export .purchase-modal-actions { margin-top: 10px; }
[data-proxy-row][hidden] { display: none; }
.portal-table-wrap { width: 100%; overflow-x: auto; }
.portal-table { width: 100%; border-collapse: collapse; font-size: 11px; }
.portal-table th { padding: 10px 12px; border-bottom: 1px solid #e5edf2; color: #8997a7; font-size: 9px; font-weight: 600; text-align: left; white-space: nowrap; }
.portal-table td { padding: 12px; border-bottom: 1px solid #edf2f5; color: #526477; vertical-align: middle; }
.portal-table tbody tr:last-child td { border-bottom: 0; }
.portal-table td code { color: #284257; font-family: "SFMono-Regular", Consolas, monospace; font-size: 10px; word-break: break-all; }
.portal-table td small { display: block; max-width: 340px; margin-top: 3px; overflow: hidden; color: #9aa6b3; text-overflow: ellipsis; white-space: nowrap; }
.portal-proxy-expiry { min-width: 160px; white-space: nowrap; }
.portal-proxy-expiry strong { display: block; color: #26445a; font-size: 12px; }
.portal-renew-proxy-btn { border-color: #8ed9ee; background: #eefbff; color: #0587ac; font-weight: 700; }
.portal-delete-proxy-btn { padding: 6px 9px; border: 1px solid #f1b7b7; border-radius: 8px; background: #fff7f7; color: #c63d3d; font-weight: 750; white-space: nowrap; }
.portal-delete-proxy-btn:hover { border-color: #e77373; background: #ffeded; color: #a92424; }
.portal-availability { display: inline-flex; align-items: center; gap: 5px; font-size: 9px; }
.portal-availability i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.portal-availability.online { color: #0c9a70; }
.portal-availability.offline { color: #dc3f3f; }
.portal-action-bar { display: flex; align-items: end; gap: 8px; flex-wrap: wrap; }
.portal-service-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.portal-service-action { min-width: 0; padding: 16px; border: 1px solid #e3edf2; border-radius: 12px; background: #f9fcfd; }
.portal-service-action .portal-action-bar { flex-wrap: nowrap; }
.portal-service-action .portal-action-bar label { min-width: 0; flex: 1; }
.portal-service-action .portal-action-bar input { width: 100%; }
.portal-service-action .portal-dedicated-ip { margin-top: 14px; padding-top: 14px; border-top: 1px solid #e4edf1; }
.portal-action-hint { margin-top: 9px; color: #6f8392; font-size: 12px; line-height: 1.65; }
.portal-action-bar label { display: grid; gap: 5px; color: #7b8999; font-size: 9px; }
.portal-action-bar input { width: 100px; }
.portal-form-message { margin-top: 12px; padding: 9px 11px; border-radius: 8px; font-size: 10px; }
.portal-form-message.success { background: #eafaf3; color: #07835f; }
.portal-form-message.error { background: #fff0f0; color: #c73535; }
.portal-form-message[hidden] { display: none; }

.portal-order-list { display: grid; gap: 10px; }
.portal-order-card { overflow: hidden; border: 1px solid var(--portal-line); border-radius: 13px; background: #fff; }
.portal-order-summary { display: grid; grid-template-columns: 38px minmax(0,1fr) auto 18px; align-items: center; gap: 11px; width: 100%; min-height: 74px; padding: 12px 16px; border: 0; background: #fff; text-align: left; cursor: pointer; }
.portal-order-summary:hover { background: #fbfdfe; }
.portal-order-summary > svg { width: 17px; height: 17px; color: #9aa7b4; transition: transform .2s; }
.portal-order-card.open .portal-order-summary > svg { transform: rotate(90deg); }
.portal-order-name strong, .portal-order-name small { display: block; }
.portal-order-name strong { color: #35495d; font-size: 12px; }
.portal-order-name small { margin-top: 5px; color: #97a4b2; font-size: 9px; }
.portal-order-amount { text-align: right; }
.portal-order-amount > strong { display: block; margin-bottom: 6px; color: #304456; font-size: 12px; }
.portal-order-detail { display: none; padding: 0 16px 17px 65px; border-top: 1px solid #edf2f5; }
.portal-order-card.open .portal-order-detail { display: block; padding-top: 15px; }
.portal-order-detail .portal-info-grid { max-width: 620px; margin-bottom: 12px; grid-template-columns: repeat(4, minmax(0,1fr)); }
.portal-alert { margin: 10px 0; padding: 10px 12px; border-radius: 8px; font-size: 10px; }
.portal-alert.error { background: #fff1f1; color: #c53b3b; }
.portal-alert.muted { background: #f4f7f9; color: #728195; }
.portal-pager { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 16px; color: #8492a2; font-size: 10px; }
.portal-pager .btn { min-height: 32px; padding: 5px 12px; font-size: 10px; }

.portal-recharge-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(240px, .7fr); gap: 18px; }
.portal-recharge-card { padding: 28px; }
.portal-panel-mark { color: #29a6cd; font-size: 8px; font-weight: 800; letter-spacing: 2px; }
.portal-recharge-card > h2 { margin-top: 8px; color: #263b4e; font-size: 20px; }
.portal-recharge-card > p { max-width: 620px; margin-top: 8px; color: #758699; font-size: 11px; line-height: 1.7; }
.portal-card-purchase { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 12px 13px; border: 1px solid #cceaf3; border-radius: 11px; background: linear-gradient(135deg, #f3fbfd, #eef9fc); }
.portal-card-purchase-icon { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border-radius: 9px; background: #d9f3fa; color: #139ec7; }
.portal-card-purchase-icon svg { width: 19px; height: 19px; }
.portal-card-purchase > span:nth-child(2) { min-width: 0; flex: 1; }
.portal-card-purchase strong, .portal-card-purchase small { display: block; }
.portal-card-purchase strong { color: #38536a; font-size: 10px; }
.portal-card-purchase small { margin-top: 3px; color: #7990a1; font-size: 9px; line-height: 1.45; }
.portal-card-purchase > a { display: inline-flex; align-items: center; gap: 4px; min-height: 34px; padding: 7px 12px; border-radius: 8px; background: #16a5ce; box-shadow: 0 7px 16px rgba(22, 165, 206, .18); color: #fff; font-size: 9px; font-weight: 750; white-space: nowrap; transition: transform .16s ease, background .16s ease; }
.portal-card-purchase > a:hover { background: #0c8fb6; transform: translateY(-1px); }
.portal-card-purchase > a svg { width: 14px; height: 14px; }
.portal-manual-recharge { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 11px 13px; border: 1px solid #f0dfb1; border-radius: 11px; background: linear-gradient(135deg, #fffcf3, #fff9e8); }
.portal-manual-recharge-icon { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border-radius: 9px; background: #fff0c7; color: #b87916; }
.portal-manual-recharge-icon svg { width: 18px; height: 18px; }
.portal-manual-recharge > span:nth-child(2) { min-width: 0; flex: 1; }
.portal-manual-recharge strong, .portal-manual-recharge small { display: block; }
.portal-manual-recharge strong { color: #654b23; font-size: 10px; }
.portal-manual-recharge small { margin-top: 3px; color: #8c7958; font-size: 9px; line-height: 1.45; }
.portal-manual-recharge code { padding: 5px 8px; border-radius: 7px; background: rgba(255,255,255,.76); color: #9a6412; font-size: 10px; font-weight: 800; }
.portal-manual-recharge .btn { min-height: 32px; padding: 6px 10px; font-size: 9px; }
.portal-manual-recharge > a { color: #9a6412; font-size: 9px; font-weight: 750; white-space: nowrap; }
.portal-code-input { display: grid; gap: 7px; margin-top: 22px; }
.portal-code-input > span, .portal-panel form label > span { color: #68798c; font-size: 10px; font-weight: 650; }
.portal-code-input > div { display: flex; gap: 8px; }
.portal-code-input input, .portal-panel form input, .portal-panel form select, .portal-panel form textarea, .portal-reply-box textarea { width: 100%; min-height: 40px; padding: 9px 11px; border: 1px solid #dce7ed; border-radius: 9px; background: #fff; color: #2f4357; font-size: 11px; outline: none; }
.portal-code-input input:focus, .portal-panel form input:focus, .portal-panel form select:focus, .portal-panel form textarea:focus, .portal-reply-box textarea:focus { border-color: #70c8df; box-shadow: 0 0 0 3px rgba(42, 172, 208, .1); }
.portal-code-input input { letter-spacing: 1.2px; text-transform: uppercase; }
.portal-safety-note { display: flex; gap: 9px; margin-top: 20px; padding: 11px; border-radius: 9px; background: #f6fafc; color: #8190a1; font-size: 9px; }
.portal-safety-note svg { width: 18px; height: 18px; flex: 0 0 auto; color: #1aa1ca; }
.portal-safety-note strong { display: block; margin-bottom: 2px; color: #526579; }
.portal-balance-box { display: flex; flex-direction: column; justify-content: center; min-height: 220px; padding: 28px; border-radius: 15px; background: linear-gradient(145deg, #173149, #0f789b); box-shadow: 0 16px 35px rgba(12, 93, 123, .16); color: #fff; }
.portal-balance-box > span { color: #b8dce7; font-size: 10px; }
.portal-balance-box > strong { margin: 10px 0 25px; font-size: 30px; }
.portal-balance-box a { display: inline-flex; align-items: center; gap: 3px; color: #d7f3fa; font-size: 10px; }
.portal-balance-box svg { width: 15px; height: 15px; }
.portal-amount { font-weight: 700; white-space: nowrap; }
.portal-amount.positive { color: #07966d; }
.portal-amount.negative { color: #dc3f3f; }
.portal-wallet-hero { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 25px 28px; border-radius: 15px; background: linear-gradient(120deg, #15344d, #147fa5); color: #fff; }
.portal-wallet-hero span, .portal-wallet-hero small { display: block; color: #b9dde8; font-size: 10px; }
.portal-wallet-hero strong { display: block; margin: 7px 0; font-size: 29px; }
.portal-wallet-hero .btn { background: #fff; color: #147b9e; box-shadow: none; }
.portal-tx-icon { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 8px; }
.portal-tx-icon.income { background: #e9faf3; color: #07966d; }
.portal-tx-icon.expense { background: #fff0f0; color: #dc3f3f; }
.portal-tx-icon svg { width: 15px; height: 15px; }

.portal-ticket-create form { display: grid; gap: 13px; padding-top: 16px; border-top: 1px solid #e8eef2; }
.portal-ticket-create form[hidden] { display: none; }
.portal-form-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; }
.portal-panel form label { display: grid; gap: 6px; }
.portal-panel form textarea { resize: vertical; line-height: 1.7; }
.portal-form-actions { display: flex; gap: 8px; }
.portal-ticket-list { display: grid; gap: 8px; }
.portal-ticket-card { display: grid; grid-template-columns: 37px minmax(0,1fr) auto 18px; align-items: center; gap: 11px; padding: 13px; border: 1px solid #e8eef2; border-radius: 10px; color: inherit; }
.portal-ticket-card:hover { border-color: #b5dfe9; background: #f9fdfe; }
.portal-ticket-icon { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 9px; background: #edf9fc; color: #1599c2; }
.portal-ticket-icon svg { width: 17px; height: 17px; }
.portal-ticket-main { min-width: 0; }
.portal-ticket-main strong, .portal-ticket-main small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.portal-ticket-main strong { color: #34485c; font-size: 11px; }
.portal-ticket-main small { margin-top: 4px; color: #98a5b2; font-size: 9px; }
.portal-ticket-card > svg { width: 16px; height: 16px; color: #a5b0bb; }
.portal-ticket-detail-head { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid #e8eef2; }
.portal-ticket-detail-head > div > span, .portal-ticket-detail-head p { color: #8e9cab; font-size: 9px; }
.portal-ticket-detail-head h2 { margin: 5px 0; color: #2e4357; font-size: 18px; }
.portal-message-thread { display: grid; gap: 20px; padding: 25px 0; }
.portal-message { display: flex; align-items: flex-start; gap: 10px; max-width: 78%; }
.portal-message.mine { flex-direction: row-reverse; justify-self: end; }
.portal-message-avatar { display: grid; place-items: center; width: 32px; height: 32px; flex: 0 0 auto; border-radius: 9px; background: #e6f7fb; color: #148eb5; font-size: 11px; font-weight: 800; }
.portal-message.support .portal-message-avatar { background: linear-gradient(135deg, #49bfe3, #1895bf); color: #fff; }
.portal-message-meta { display: flex; align-items: center; gap: 9px; margin-bottom: 5px; }
.portal-message.mine .portal-message-meta { justify-content: flex-end; }
.portal-message-meta strong { color: #526477; font-size: 10px; }
.portal-message-meta span { color: #a0abb6; font-size: 8px; }
.portal-message-bubble { padding: 11px 13px; border-radius: 4px 12px 12px 12px; background: #f1f5f8; color: #475a6e; font-size: 11px; line-height: 1.7; }
.portal-message.mine .portal-message-bubble { border-radius: 12px 4px 12px 12px; background: #e8f8fc; color: #266078; }
.portal-reply-box { display: grid; gap: 8px; padding-top: 16px; border-top: 1px solid #e8eef2; }
.portal-reply-box > div { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.portal-reply-box > div > span { color: #9aa6b2; font-size: 9px; }

.portal-notification-list { display: grid; gap: 9px; }
.portal-notification { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 16px; border: 1px solid var(--portal-line); border-radius: 12px; background: #fff; }
.portal-notification.unread { border-color: #bce3ed; background: linear-gradient(90deg, #f1fbfd, #fff); cursor: pointer; }
.portal-notification-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: #eaf8fb; color: #1599c2; }
.portal-notification-icon svg { width: 18px; height: 18px; }
.portal-notification-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.portal-notification-head strong { color: #34485c; font-size: 11px; }
.portal-notification-head time { color: #9ca7b3; font-size: 9px; white-space: nowrap; }
.portal-notification p { margin-top: 7px; color: #728296; font-size: 10px; line-height: 1.7; }

.portal-profile-card { display: grid; grid-template-columns: 60px minmax(0,1fr) auto; align-items: center; gap: 16px; padding: 23px; border: 1px solid #cce7f0; border-radius: 15px; background: linear-gradient(120deg, #f1fbfd, #fff); }
.portal-profile-avatar { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; background: linear-gradient(135deg, #50c4eb, #258fb9); box-shadow: 0 9px 20px rgba(31, 148, 188, .22); color: #fff; font-size: 22px; font-weight: 800; }
.portal-profile-card h2 { color: #263b4e; font-size: 18px; }
.portal-profile-card p { margin-top: 5px; color: #61758a; font-size: 11px; }
.portal-profile-card small { display: block; margin-top: 4px; color: #96a3b0; font-size: 9px; }
.portal-account-grid form { display: grid; gap: 11px; }
.portal-account-info { display: grid; gap: 1px; overflow: hidden; margin-bottom: 14px; border: 1px solid #e8eef2; border-radius: 9px; background: #e8eef2; }
.portal-account-info > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 11px; background: #fbfcfd; }
.portal-account-info span { color: #8b98a6; font-size: 9px; }
.portal-account-info strong { color: #46596d; font-size: 10px; text-align: right; }
.portal-full { width: 100%; }
.portal-session-list, .portal-security-list { display: grid; }
.portal-session { display: grid; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid #edf2f5; }
.portal-session:last-child { border-bottom: 0; }
.portal-session-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #edf8fb; color: #1696bf; }
.portal-session-icon svg { width: 18px; height: 18px; }
.portal-session strong, .portal-session small { display: block; }
.portal-session strong { color: #405367; font-size: 10px; }
.portal-session small { margin-top: 4px; color: #8f9caa; font-size: 9px; }
.portal-session .portal-ua { overflow: hidden; max-width: 700px; text-overflow: ellipsis; white-space: nowrap; }
.portal-session .btn { min-height: 31px; padding: 5px 10px; font-size: 9px; }
.portal-security-log { display: grid; grid-template-columns: 34px minmax(0,1fr) auto; align-items: center; gap: 11px; padding: 11px 0; border-bottom: 1px solid #edf2f5; }
.portal-security-log:last-child { border-bottom: 0; }
.portal-log-status { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; }
.portal-log-status.success { background: #eafaf3; color: #07966d; }
.portal-log-status.failed { background: #fff0f0; color: #dc3f3f; }
.portal-log-status svg { width: 15px; height: 15px; }
.portal-security-log strong, .portal-security-log small { display: block; }
.portal-security-log strong { color: #415469; font-size: 10px; }
.portal-security-log small { margin-top: 4px; color: #929fac; font-size: 9px; }
.portal-security-log time { color: #98a5b2; font-size: 9px; white-space: nowrap; }

.portal-empty { display: grid; justify-items: center; gap: 8px; min-height: 230px; padding: 38px 20px; text-align: center; }
.portal-empty-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #eaf8fb; color: #1599c2; }
.portal-empty-icon svg { width: 23px; height: 23px; }
.portal-empty h3 { color: #43566a; font-size: 13px; }
.portal-empty p { max-width: 390px; color: #909eac; font-size: 10px; }
.portal-empty .btn { margin-top: 5px; min-height: 34px; padding: 6px 14px; font-size: 10px; }
.portal-mini-empty { padding: 28px; color: #9aa6b2; font-size: 10px; text-align: center; }

/* 登录与注册：验证码注册流程 */
.auth-frame { display: grid; place-items: start center; min-height: calc(100vh - 72px); padding: 48px 20px 72px; background: radial-gradient(circle at 50% 0, rgba(53, 178, 217, .1), transparent 36%), #f5f8fb; }
.auth-card { width: min(100%, 560px); padding: 30px; border: 1px solid #dfe9ef; border-radius: 18px; background: #fff; box-shadow: 0 20px 55px rgba(20, 62, 82, .09); }
.auth-register-card { width: min(100%, 650px); }
.auth-heading { margin-bottom: 22px; }
.auth-heading > span { color: #1a9bc5; font-size: 8px; font-weight: 800; letter-spacing: 2px; }
.auth-heading h2 { margin-top: 7px; color: #20364a; font-size: 23px; }
.auth-heading p { margin-top: 7px; color: #8190a2; font-size: 11px; }
.auth-message { margin-bottom: 15px; padding: 10px 12px; border-radius: 9px; font-size: 11px; }
.auth-message[hidden] { display: none; }
.auth-message.success { background: #eafaf3; color: #07835f; }
.auth-message.error { background: #fff0f0; color: #c73535; }
.auth-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.auth-form-grid label, .auth-code-field { display: grid; gap: 6px; }
.auth-form-grid label > span, .auth-code-field > span { color: #627487; font-size: 10px; font-weight: 650; }
.auth-form-grid label em { color: #9aa6b2; font-size: 8px; font-style: normal; font-weight: 400; }
.auth-form-grid input, .auth-code-field input { width: 100%; min-height: 42px; padding: 9px 11px; border: 1px solid #d8e4ea; border-radius: 9px; color: #30465a; font-size: 11px; outline: none; }
.auth-form-grid input:focus, .auth-code-field input:focus { border-color: #65c5df; box-shadow: 0 0 0 3px rgba(42, 172, 208, .1); }
.auth-code-field { margin-top: 14px; }
.auth-code-field > div { display: grid; grid-template-columns: 1fr 128px; gap: 8px; }
.auth-code-field small { color: #96a3b0; font-size: 9px; }
.auth-code-field .btn { min-height: 42px; padding: 8px 12px; border-color: #aedce8; color: #1689ad; font-size: 10px; }
.auth-agreement { display: flex; align-items: center; gap: 8px; margin: 17px 0; color: #7b899a; font-size: 10px; cursor: pointer; }
.auth-agreement input { accent-color: #159fcd; }
.auth-submit { width: 100%; min-height: 43px; background: linear-gradient(100deg, #2cb2d9, #138db7); box-shadow: 0 9px 20px rgba(21, 145, 186, .18); }
.auth-switch { margin-top: 17px; color: #8794a4; font-size: 10px; text-align: center; }
.auth-closed { text-align: center; }
.auth-closed h2 { color: #293e52; }
.auth-closed p { margin: 10px 0 20px; color: #7d8c9d; font-size: 11px; }

/* 高清字体层：高分辨率屏幕保持清晰、可读的字号与标准字重 */
.portal-mode, .user-portal, .auth-frame { font-family: var(--font-ui); font-synthesis: none; text-rendering: optimizeLegibility; }
.portal-content { font-size: 14px; line-height: 1.55; }
.portal-user-card strong { font-size: 14px; }
.portal-user-card small { font-size: 12px; line-height: 1.4; }
.portal-nav-link { font-size: 14px; line-height: 1.4; }
.portal-nav-badge { font-size: 11px; }
.portal-sidebar-footer a, .portal-sidebar-footer button { font-size: 13px; }
.portal-kicker, .portal-panel-mark { font-size: 11px; line-height: 1.3; }
.portal-page-head h1 { font-size: 30px; line-height: 1.2; }
.portal-page-head p { font-size: 14px; line-height: 1.55; }
.portal-loading { font-size: 13px; }
.portal-welcome-tag { font-size: 12px; font-weight: 700; }
.portal-welcome h2 { font-size: 25px; line-height: 1.25; }
.portal-welcome p { font-size: 14px; line-height: 1.55; }
.portal-metric small, .portal-metric em { font-size: 12px; line-height: 1.4; }
.portal-metric strong { font-size: 23px; font-variant-numeric: tabular-nums; }
.portal-panel-head h2 { font-size: 17px; line-height: 1.35; }
.portal-panel-head p, .portal-panel-head > a { font-size: 13px; line-height: 1.5; }
.portal-content p { font-size: 13px; }
.portal-content small { font-size: 12px; line-height: 1.5; }
.portal-content .btn, .portal-content button { font-size: 13px; line-height: 1.35; }
.portal-service-head h3 { font-size: 15px; }
.portal-service-head p { font-size: 12px; }
.portal-badge { font-size: 11px; }
.portal-service-meta small, .portal-traffic-head { font-size: 12px; }
.portal-service-meta strong { font-size: 14px; }
.portal-card-actions .btn { font-size: 13px; }
.portal-toolbar-title { font-size: 14px; }
.portal-toolbar-note { font-size: 12px; }
.portal-filter { font-size: 13px; }
.portal-list-main strong, .portal-list-side > strong, .portal-notice-item strong, .portal-quick-list strong { font-size: 13px; }
.portal-list-main small, .portal-notice-item small, .portal-quick-list small { font-size: 12px; }
.portal-breadcrumb { font-size: 12px; }
.portal-service-identity span, .portal-service-identity p, .portal-service-state small { font-size: 12px; }
.portal-service-identity h2 { font-size: 21px; }
.portal-info-grid small, .portal-credential small { font-size: 12px; }
.portal-info-grid strong, .portal-credential code { font-size: 13px; }
.portal-text-btn { font-size: 12px; }
.portal-export select, .portal-action-bar input { font-size: 13px; }
.portal-table { font-size: 13px; line-height: 1.5; }
.portal-table th { font-size: 12px; }
.portal-table td code { font-size: 13px; }
.portal-availability, .portal-action-bar label { font-size: 12px; }
.portal-form-message { font-size: 13px; }
.portal-order-name strong, .portal-order-amount > strong { font-size: 14px; }
.portal-order-name small { font-size: 12px; }
.portal-alert, .portal-pager, .portal-pager .btn { font-size: 13px; }
.portal-recharge-card > h2 { font-size: 22px; }
.portal-recharge-card > p { font-size: 14px; line-height: 1.65; }
.portal-card-purchase strong { font-size: 13px; }
.portal-card-purchase small { font-size: 12px; line-height: 1.5; }
.portal-card-purchase > a { font-size: 13px; font-weight: 700; }
.portal-manual-recharge strong { font-size: 13px; }
.portal-manual-recharge small { font-size: 12px; }
.portal-manual-recharge code { font-size: 13px; }
.portal-manual-recharge .btn, .portal-manual-recharge > a { font-size: 12px; }
.portal-code-input > span, .portal-panel form label > span { font-size: 13px; font-weight: 600; }
.portal-code-input input, .portal-panel form input, .portal-panel form select, .portal-panel form textarea, .portal-reply-box textarea { font-size: 14px; line-height: 1.5; }
.portal-safety-note { font-size: 13px; line-height: 1.5; }
.portal-balance-box > span, .portal-balance-box a { font-size: 13px; }
.portal-balance-box > strong, .portal-wallet-hero strong, .portal-order-amount > strong, .portal-amount { font-variant-numeric: tabular-nums; }
.portal-wallet-hero span, .portal-wallet-hero small { font-size: 13px; }
.portal-ticket-main strong { font-size: 13px; }
.portal-ticket-main small { font-size: 12px; }
.portal-ticket-detail-head > div > span, .portal-ticket-detail-head p { font-size: 12px; }
.portal-ticket-detail-head h2 { font-size: 20px; }
.portal-message-avatar { font-size: 12px; }
.portal-message-meta strong { font-size: 13px; }
.portal-message-meta span { font-size: 12px; }
.portal-message-bubble { font-size: 13px; line-height: 1.7; }
.portal-reply-box > div > span { font-size: 12px; }
.portal-notification-head strong { font-size: 13px; }
.portal-notification-head time { font-size: 12px; }
.portal-notification p { font-size: 13px; }
.portal-profile-card h2 { font-size: 20px; }
.portal-profile-card p { font-size: 13px; }
.portal-profile-card small, .portal-account-info span { font-size: 12px; }
.portal-account-info strong, .portal-session strong, .portal-security-log strong { font-size: 13px; }
.portal-session small, .portal-security-log small, .portal-security-log time { font-size: 12px; }
.portal-session .btn { font-size: 12px; }
.portal-empty h3 { font-size: 15px; }
.portal-empty p, .portal-empty .btn, .portal-mini-empty { font-size: 13px; }
.auth-heading > span { font-size: 11px; }
.auth-heading h2 { font-size: 25px; line-height: 1.3; }
.auth-heading p, .auth-closed p { font-size: 14px; line-height: 1.6; }
.auth-message, .auth-form-grid label > span, .auth-code-field > span { font-size: 13px; }
.auth-form-grid label > span, .auth-code-field > span { font-weight: 600; }
.auth-form-grid label em, .auth-code-field small { font-size: 12px; }
.auth-form-grid input, .auth-code-field input { font-size: 14px; line-height: 1.5; }
.auth-code-field .btn, .auth-agreement, .auth-switch { font-size: 13px; }
.network-head small, .network-status, .network-label, .hero-country small, .marketing-home .stat span, .home-country-copy small, .mode-label, .status-updated, .status-country small, .status-metrics span, .status-checked, .status-note, .footer-bottom { font-size: 13px; line-height: 1.5; }

@media (max-width: 1120px) {
  .portal-metrics { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .portal-dashboard-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .portal-dashboard-grid > .portal-panel:not(.portal-span-2) { grid-column: span 2; }
}

@media (max-width: 900px) {
  .portal-shell { grid-template-columns: 1fr; }
  .portal-sidebar { position: fixed; top: 68px; bottom: 0; left: 0; z-index: 30; width: 250px; height: auto; box-shadow: 16px 0 40px rgba(15,48,65,.14); transform: translateX(-105%); transition: transform .22s ease; }
  .portal-sidebar.open { transform: translateX(0); }
  .portal-menu-btn { display: grid; }
  .portal-main { padding-inline: 22px; }
  .portal-detail-grid, .portal-account-grid, .portal-recharge-grid { grid-template-columns: 1fr; }
  .portal-balance-box { min-height: 180px; }
  .portal-dedicated-hero { grid-template-columns: 58px minmax(0,1fr); }
  .portal-dedicated-live { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .portal-mode .topbar { min-height: 62px; }
  .portal-mode #page-root, .user-portal, .portal-shell { min-height: calc(100vh - 62px); }
  .portal-sidebar { top: 62px; }
  .portal-main { padding: 24px 14px 45px; }
  .portal-page-head { align-items: center; margin-bottom: 18px; }
  .portal-page-head h1 { font-size: 23px; }
  .portal-page-head p { max-width: 250px; }
  .portal-welcome { display: block; padding: 22px; }
  .portal-welcome-actions { margin-top: 16px; }
  .portal-welcome-actions .btn { flex: 1; }
  .portal-metrics, .portal-dashboard-grid, .portal-service-grid { grid-template-columns: 1fr; }
  .portal-dedicated-mode-grid { grid-template-columns: 1fr; }
  .portal-dedicated-create { grid-template-columns: 1fr; }
  .portal-span-2, .portal-dashboard-grid > .portal-panel:not(.portal-span-2) { grid-column: auto; }
  .portal-toolbar { align-items: stretch; flex-direction: column; }
  .portal-toolbar > .btn { width: 100%; }
  .portal-filters { overflow-x: auto; flex-wrap: nowrap; }
  .portal-filter { white-space: nowrap; }
  .portal-service-hero, .portal-profile-card { align-items: flex-start; grid-template-columns: 52px minmax(0,1fr); }
  .portal-service-hero { display: grid; }
  .portal-service-state { grid-column: 1 / -1; justify-items: start; }
  .portal-profile-card > .btn { grid-column: 1 / -1; width: 100%; }
  .portal-order-summary { grid-template-columns: 35px minmax(0,1fr) 17px; }
  .portal-order-amount { grid-column: 2; text-align: left; }
  .portal-order-summary > svg { grid-column: 3; grid-row: 1; }
  .portal-order-detail { padding-left: 16px; }
  .portal-order-detail .portal-info-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .portal-panel { padding: 17px; }
  .portal-panel-head { align-items: flex-start; }
  .portal-panel-head.portal-wrap { display: block; }
  .portal-panel-head.portal-wrap .portal-filters { margin-top: 12px; }
  .portal-code-input > div, .portal-action-bar { align-items: stretch; flex-direction: column; }
  .portal-code-input .btn, .portal-action-bar .btn, .portal-action-bar label, .portal-action-bar input { width: 100%; }
  .portal-service-actions { grid-template-columns: 1fr; }
  .portal-card-purchase { align-items: flex-start; flex-wrap: wrap; }
  .portal-card-purchase > span:nth-child(2) { width: calc(100% - 44px); flex: none; }
  .portal-card-purchase > a { width: 100%; justify-content: center; }
  .portal-manual-recharge { align-items: flex-start; flex-wrap: wrap; }
  .portal-manual-recharge > span:nth-child(2) { width: calc(100% - 44px); flex: none; }
  .portal-manual-recharge code { margin-left: 44px; }
  .portal-form-grid { grid-template-columns: 1fr; }
  .portal-ticket-card { grid-template-columns: 36px minmax(0,1fr) 16px; }
  .portal-ticket-card .portal-badge { grid-column: 2; justify-self: start; }
  .portal-ticket-card > svg { grid-column: 3; grid-row: 1; }
  .portal-message { max-width: 94%; }
  .portal-reply-box > div { align-items: stretch; flex-direction: column; }
  .portal-notification-head { align-items: flex-start; flex-direction: column; gap: 4px; }
  .portal-session { grid-template-columns: 36px minmax(0,1fr); }
  .portal-session .btn { grid-column: 2; justify-self: start; }
  .portal-security-log { grid-template-columns: 32px minmax(0,1fr); }
  .portal-security-log time { grid-column: 2; }
  .portal-export { align-items: stretch; flex-direction: column; }
  .auth-frame { padding: 28px 14px 50px; }
  .auth-card { padding: 22px 18px; border-radius: 14px; }
  .auth-form-grid { grid-template-columns: 1fr; }
  .auth-code-field > div { grid-template-columns: 1fr 110px; }
}

/* 2026-08 动态套餐配置器 */
.purchase-page {
  --purchase-accent: #16a4ce;
  --purchase-accent-dark: #087ba5;
  --purchase-soft: #eaf9fe;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 52px 24px 72px;
  color: var(--navy);
}
.purchase-page button, .purchase-page input { font-family: var(--font-ui); }
.purchase-page svg { width: 21px; height: 21px; }
.purchase-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(380px, .8fr);
  gap: 38px;
  align-items: end;
  margin-bottom: 32px;
  padding: 40px;
  overflow: hidden;
  border: 1px solid #dbeaf1;
  border-radius: 24px;
  background:
    radial-gradient(circle at 91% 12%, rgba(22,164,206,.18), transparent 34%),
    linear-gradient(135deg, #fff 0%, #f4fbfe 100%);
  box-shadow: 0 20px 55px rgba(15, 78, 105, .08);
}
.purchase-eyebrow { margin-bottom: 12px; color: var(--purchase-accent-dark); font-size: 13px; font-weight: 800; letter-spacing: 1.5px; }
.purchase-hero h1 { margin: 0; font-size: clamp(34px, 4.3vw, 50px); line-height: 1.16; letter-spacing: -1.7px; }
.purchase-hero h1 em { color: var(--purchase-accent); font-style: normal; }
.purchase-hero > div > p:last-child { max-width: 650px; margin-top: 19px; color: #4e6275; font-size: 16px; font-weight: 500; line-height: 1.85; }
.purchase-platform-disclaimer { margin: -12px 0 24px; padding: 13px 16px; }
.purchase-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.purchase-trust > span { min-width: 0; padding: 16px 13px; border: 1px solid rgba(22,164,206,.14); border-radius: 14px; background: rgba(255,255,255,.82); }
.purchase-trust svg { display: block; margin-bottom: 12px; color: var(--purchase-accent); }
.purchase-trust strong, .purchase-trust small { display: block; }
.purchase-trust strong { font-size: 15px; }
.purchase-trust small { margin-top: 5px; color: #65778b; font-size: 13px; line-height: 1.5; }
.purchase-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.purchase-builder { display: grid; gap: 17px; }
.purchase-section { padding: 28px; border: 1px solid #e0e8ee; border-radius: 18px; background: #fff; box-shadow: 0 10px 35px rgba(15,48,65,.045); }
.purchase-section-title { display: flex; align-items: center; gap: 13px; margin-bottom: 21px; }
.purchase-section-title > b { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 11px; background: var(--purchase-soft); color: var(--purchase-accent-dark); font-size: 13px; font-weight: 800; letter-spacing: .4px; }
.purchase-section-title span, .purchase-section-title strong, .purchase-section-title small { display: block; }
.purchase-section-title strong { font-size: 19px; }
.purchase-section-title small { margin-top: 5px; color: #687a8d; font-size: 14px; font-weight: 500; line-height: 1.5; }
.purchase-countries { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
.purchase-resources { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.purchase-resource { position: relative; display: grid; grid-template-columns: 44px minmax(0,1fr); align-items: center; gap: 12px; min-width: 0; padding: 15px; border: 1px solid #e2e9ee; border-radius: 14px; background: #fff; color: var(--navy); cursor: pointer; text-align: left; transition: border-color .18s,box-shadow .18s,transform .18s; }
.purchase-resource:hover:not(:disabled) { border-color: #8bd4e9; transform: translateY(-2px); }
.purchase-resource.active { border-color: var(--purchase-accent); background: #f4fcff; box-shadow: 0 0 0 3px rgba(22,164,206,.09); }
.purchase-resource:disabled { opacity: .55; cursor: not-allowed; }
.purchase-resource-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--purchase-soft); color: var(--purchase-accent-dark); }
.purchase-resource-icon svg { width: 22px; height: 22px; }
.purchase-resource strong,.purchase-resource small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.purchase-resource strong { font-size: 15px; }
.purchase-resource small { margin-top: 4px; color: #718194; font-size: 12px; }
.purchase-resource > i { position: absolute; top: 9px; right: 9px; display: none; color: var(--purchase-accent); }
.purchase-resource > i svg { width: 15px; height: 15px; }
.purchase-resource.active > i { display: block; }
.purchase-country { position: relative; display: grid; grid-template-columns: 44px minmax(0,1fr); align-items: center; gap: 10px; min-width: 0; padding: 13px; border: 1px solid #e2e9ee; border-radius: 13px; background: #fff; color: var(--navy); cursor: pointer; text-align: left; transition: border-color .18s, box-shadow .18s, transform .18s; }
.purchase-country:hover { border-color: #8bd4e9; transform: translateY(-2px); }
.purchase-country.active { border-color: var(--purchase-accent); background: #f4fcff; box-shadow: 0 0 0 3px rgba(22,164,206,.09); }
.purchase-country-flag { display: grid; place-items: center; width: 44px; height: 33px; overflow: hidden; border: 1px solid #dce5eb; border-radius: 7px; background: #f8fafc; }
.purchase-country-flag img, .purchase-cart-flag img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.purchase-country strong, .purchase-country small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.purchase-country strong { font-size: 15px; }
.purchase-country small { margin-top: 4px; color: #718194; font-size: 12px; }
.purchase-country > i { position: absolute; top: 7px; right: 7px; display: none; color: var(--purchase-accent); }
.purchase-country > i svg { width: 15px; height: 15px; }
.purchase-country.active > i { display: block; }

.purchase-lines { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.purchase-line { position: relative; display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: 11px; min-width: 0; padding: 15px; border: 1px solid #e2e9ee; border-radius: 14px; background: #fff; color: var(--navy); cursor: pointer; text-align: left; transition: border-color .18s,box-shadow .18s,transform .18s; }
.purchase-line:hover:not(:disabled) { border-color: #8bd4e9; transform: translateY(-2px); }
.purchase-line.active { border-color: var(--purchase-accent); background: #f4fcff; box-shadow: 0 0 0 3px rgba(22,164,206,.09); }
.purchase-line:disabled { opacity: .62; cursor: not-allowed; }
.purchase-line-index { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--purchase-soft); color: var(--purchase-accent-dark); font-size: 13px; font-weight: 850; }
.purchase-line strong,.purchase-line small { display: block; }
.purchase-line strong { font-size: 15px; }
.purchase-line small { margin-top: 4px; color: #64788a; font-size: 12px; font-variant-numeric: tabular-nums; }
.purchase-line em { padding: 4px 7px; border-radius: 999px; background: #f1f5f7; color: #7b8a98; font-size: 11px; font-style: normal; font-weight: 750; white-space: nowrap; }
.purchase-line em.available { background: #e9fbf3; color: #0a9c66; }
.purchase-line > i { position: absolute; top: 7px; right: 7px; display: none; color: var(--purchase-accent); }
.purchase-line > i svg { width: 14px; height: 14px; }
.purchase-line.active > i { display: block; }
.purchase-lines-loading,.purchase-lines-empty { grid-column: 1/-1; padding: 22px; border: 1px dashed #cfe2e9; border-radius: 13px; background: #f8fcfd; color: #687c8e; font-size: 13px; text-align: center; }
.purchase-line-required { margin-top: 14px; padding: 10px 12px; border: 1px solid #fed7aa; border-radius: 10px; background: #fff8ed; color: #b45309; font-size: 13px; font-weight: 650; text-align: center; }
.purchase-flag-fallback { font-size: 12px; font-weight: 800; }
.purchase-modes { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.purchase-mode { position: relative; display: grid; grid-template-columns: 47px minmax(0,1fr) 22px; align-items: center; gap: 13px; padding: 18px; border: 1px solid #e1e8ed; border-radius: 14px; background: #fff; color: var(--navy); cursor: pointer; text-align: left; transition: border-color .18s, box-shadow .18s; }
.purchase-mode:hover { border-color: #8bd4e9; }
.purchase-mode.active { border-color: var(--purchase-accent); background: linear-gradient(135deg, #fff, #f0fbfe); box-shadow: 0 0 0 3px rgba(22,164,206,.08); }
.purchase-mode:disabled { opacity: .45; cursor: not-allowed; }
.purchase-mode-icon { display: grid; place-items: center; width: 47px; height: 47px; border-radius: 13px; background: var(--purchase-soft); color: var(--purchase-accent-dark); }
.purchase-mode strong, .purchase-mode small { display: block; }
.purchase-mode strong { font-size: 17px; }
.purchase-mode small { margin-top: 5px; color: #617487; font-size: 13px; line-height: 1.55; }
.purchase-mode > i { color: transparent; }
.purchase-mode.active > i { color: var(--purchase-accent); }
.purchase-calculator { padding: 21px; border: 1px solid #dfe8ed; border-radius: 15px; background: #fbfdfe; }
.purchase-quantity-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.purchase-quantity-head strong, .purchase-quantity-head small { display: block; }
.purchase-quantity-head strong { font-size: 16px; }
.purchase-quantity-head small { margin-top: 5px; color: #687a8d; font-size: 13px; }
.purchase-cycle { flex: 0 0 auto; padding: 7px 11px; border-radius: 999px; background: var(--purchase-soft); color: var(--purchase-accent-dark); font-size: 12px; font-weight: 700; }
.purchase-stepper { display: grid; grid-template-columns: 46px minmax(0,1fr) 46px; gap: 9px; }
.purchase-stepper > button { border: 1px solid #dbe4ea; border-radius: 11px; background: #fff; color: #345063; font-size: 23px; cursor: pointer; }
.purchase-stepper > button:hover { border-color: var(--purchase-accent); color: var(--purchase-accent-dark); }
.purchase-stepper label { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; overflow: hidden; border: 1px solid #cbdce5; border-radius: 11px; background: #fff; }
.purchase-stepper input { width: 100%; min-width: 0; padding: 13px 15px; border: 0; outline: 0; background: transparent; color: var(--navy); font-size: 19px; font-weight: 750; }
.purchase-stepper label:focus-within { border-color: var(--purchase-accent); box-shadow: 0 0 0 3px rgba(22,164,206,.1); }
.purchase-stepper label span { padding-right: 15px; color: #617486; font-size: 13px; font-weight: 700; }
.purchase-quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 11px; }
.purchase-quick button { padding: 7px 13px; border: 1px solid #dce5ea; border-radius: 8px; background: #fff; color: #566a7d; font-size: 13px; font-weight: 600; cursor: pointer; }
.purchase-quick button.active, .purchase-quick button:hover { border-color: #8bd4e9; background: var(--purchase-soft); color: var(--purchase-accent-dark); }
.purchase-price-box { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin-top: 20px; }
.purchase-price-box > div { padding: 14px; border: 1px solid #e3e9ed; border-radius: 11px; background: #fff; }
.purchase-price-box span, .purchase-price-box strong { display: block; }
.purchase-price-box span { color: #697b8d; font-size: 12px; }
.purchase-price-box strong { margin-top: 7px; font-size: 19px; }
.purchase-price-box strong small { color: #617487; font-size: 12px; font-weight: 600; }
.purchase-price-box .purchase-price-total { border-color: rgba(22,164,206,.28); background: var(--purchase-soft); }
.purchase-price-total strong { color: var(--purchase-accent-dark); font-size: 23px; }
.purchase-includes { display: flex; flex-wrap: wrap; gap: 9px 18px; margin: 18px 0; color: #486074; font-size: 13px; font-weight: 500; }
.purchase-includes span { display: inline-flex; align-items: center; gap: 5px; }
.purchase-includes svg { width: 15px; height: 15px; color: #10a779; }
.purchase-add { gap: 8px; width: 100%; min-height: 44px; background: var(--purchase-accent); font-weight: 700; }
.purchase-add:hover, .purchase-checkout:hover { background: var(--purchase-accent-dark); }
.purchase-add svg { width: 18px; height: 18px; }
.purchase-unavailable { padding: 34px 20px; border: 1px dashed #ccd9e0; border-radius: 13px; color: #718194; text-align: center; }
.purchase-summary { position: sticky; top: 94px; z-index: 8; align-self: start; max-height: calc(100vh - 112px); padding: 22px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #b9dce6 transparent; border: 1px solid #dce7ec; border-radius: 18px; background: #fff; box-shadow: 0 15px 42px rgba(15,48,65,.08); }
.purchase-summary::-webkit-scrollbar { width: 6px; }
.purchase-summary::-webkit-scrollbar-thumb { border-radius: 999px; background: #b9dce6; }
.purchase-summary-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 17px; }
.purchase-summary-head span small, .purchase-summary-head span strong { display: block; }
.purchase-summary-head small { color: var(--purchase-accent-dark); font-size: 12px; font-weight: 800; letter-spacing: 1px; }
.purchase-summary-head strong { margin-top: 5px; font-size: 19px; }
.purchase-summary-head > b { display: grid; place-items: center; min-width: 28px; height: 28px; padding: 0 8px; border-radius: 999px; background: var(--purchase-soft); color: var(--purchase-accent-dark); font-size: 12px; }
.purchase-cart-item { display: grid; grid-template-columns: 36px minmax(0,1fr) auto auto; align-items: center; gap: 9px; padding: 13px 0; border-bottom: 1px solid #edf1f3; }
.purchase-cart-flag { width: 36px; height: 27px; overflow: hidden; border: 1px solid #dbe4ea; border-radius: 6px; }
.purchase-cart-copy { min-width: 0; }
.purchase-cart-copy strong, .purchase-cart-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.purchase-cart-copy strong { font-size: 14px; }
.purchase-cart-copy small { margin-top: 4px; color: #6e8092; font-size: 12px; }
.purchase-cart-price { font-size: 14px; font-weight: 800; }
.purchase-cart-remove { min-height: 30px; padding: 4px 8px; border: 1px solid #fecaca; border-radius: 8px; background: #fff5f5; color: #d14343; font-family: var(--font-ui); font-size: 12px; font-weight: 750; white-space: nowrap; cursor: pointer; transition: color .16s, background .16s, border-color .16s, transform .16s; }
.purchase-cart-remove:hover { border-color: #ef4444; background: #ef4444; color: #fff; transform: translateY(-1px); }
.purchase-cart-remove:focus-visible { outline: 3px solid rgba(239,68,68,.2); outline-offset: 2px; }
.purchase-cart-empty { display: grid; place-items: center; min-height: 154px; padding: 20px; color: #8a98a6; text-align: center; }
.purchase-cart-empty svg { width: 30px; height: 30px; margin-bottom: 10px; color: #a8cbd6; }
.purchase-cart-empty strong { color: #506577; font-size: 15px; }
.purchase-cart-empty span { margin-top: 7px; font-size: 13px; }
.purchase-summary-total { display: flex; align-items: center; justify-content: space-between; }
.purchase-summary-total { margin-top: 16px; padding-top: 17px; border-top: 1px solid #e8eef1; }
.purchase-summary-total span { color: #566c7f; font-size: 15px; }
.purchase-summary-total strong { color: var(--purchase-accent-dark); font-size: 26px; letter-spacing: -.5px; }
.purchase-balance-preview { margin-top: 15px; padding: 15px; border: 1px solid #dce8ed; border-radius: 13px; background: #f8fbfc; }
.purchase-balance-preview-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 11px; padding-bottom: 10px; border-bottom: 1px solid #e5edf1; }
.purchase-balance-preview-head strong { color: #314a5d; font-size: 14px; }
.purchase-balance-preview-head small { color: #8392a1; font-size: 11px; }
.purchase-balance-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 29px; color: #687b8c; font-size: 13px; }
.purchase-balance-row strong { color: #354f62; font-size: 14px; font-variant-numeric: tabular-nums; }
.purchase-balance-row .purchase-deduction { color: #b25d35; }
.purchase-balance-remaining { margin-top: 7px; padding-top: 9px; border-top: 1px solid #e4ecef; }
.purchase-balance-remaining span { color: #263f52; font-weight: 700; }
.purchase-balance-remaining strong { color: #07815d; font-size: 17px; }
.purchase-balance-insufficient { border-color: #f3c8c8; background: #fff8f8; }
.purchase-balance-insufficient .purchase-balance-remaining strong { color: #c43636; }
.purchase-balance-warning { display: flex; align-items: center; justify-content: space-between; gap: 9px; margin-top: 10px; padding: 9px 10px; border-radius: 8px; background: #ffeded; color: #b73333; font-size: 12px; }
.purchase-balance-warning a { flex: 0 0 auto; color: #a92727; font-weight: 750; }
.purchase-login-tip { margin-top: 13px; padding: 11px; border-radius: 9px; background: #f5f8fa; color: #607487; font-size: 13px; line-height: 1.5; text-align: center; }
.purchase-checkout { gap: 7px; width: 100%; min-height: 46px; margin-top: 16px; background: var(--purchase-accent); font-weight: 750; }
.purchase-checkout svg { width: 17px; height: 17px; }
.purchase-summary-note { margin-top: 12px; color: #748596; font-size: 12px; line-height: 1.5; text-align: center; }
.purchase-assurance { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 22px; }
.purchase-assurance article, .service-assurance-grid article { display: grid; grid-template-columns: 43px minmax(0,1fr); gap: 13px; padding: 20px; border: 1px solid #e0e8ed; border-radius: 15px; background: #fff; }
.purchase-assurance article > span, .service-assurance-grid article > span { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 12px; background: var(--purchase-soft, #eaf9fe); color: var(--purchase-accent, #149fc8); }
.purchase-assurance strong, .purchase-assurance p, .service-assurance-grid h3, .service-assurance-grid p { display: block; }
.purchase-assurance strong, .service-assurance-grid h3 { margin: 0; font-size: 15px; }
.purchase-assurance p, .service-assurance-grid p { margin-top: 6px; color: #617487; font-size: 13px; line-height: 1.65; }
.service-assurance-copy { min-width: 0; }
.purchase-result { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; padding: 14px 17px; border: 1px solid; border-radius: 13px; font-size: 14px; }
.purchase-result.success { border-color: #bdebd8; background: #f0fdf7; color: #087b59; }
.purchase-result.error { border-color: #f4cccc; background: #fff6f6; color: #a83535; }
.purchase-result span { flex: 1; color: #607485; }
.purchase-result a { font-weight: 750; }
.purchase-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(9,31,43,.48); backdrop-filter: blur(5px); }
.purchase-modal-open { overflow: hidden; }
.purchase-modal-card { position: relative; width: min(430px,100%); padding: 34px; border-radius: 20px; background: #fff; box-shadow: 0 28px 80px rgba(6,37,52,.25); text-align: center; }
.purchase-modal-close { position: absolute; top: 13px; right: 15px; border: 0; background: transparent; color: #8b99a6; font-size: 24px; cursor: pointer; }
.purchase-modal-icon { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 15px; background: #eaf9fe; color: #149fc8; }
.purchase-modal-card h2 { margin: 0; font-size: 21px; }
.purchase-modal-card > p { margin-top: 9px; color: #5f7386; font-size: 14px; line-height: 1.6; }
.purchase-modal-total { display: block; margin: 13px 0; color: #087ba5; font-size: 31px; }
.purchase-modal-balance { margin: 15px 0; padding: 13px 15px; border: 1px solid #dfe9ee; border-radius: 11px; background: #f8fbfc; text-align: left; }
.purchase-modal-balance > div { display: flex; align-items: center; justify-content: space-between; min-height: 29px; color: #687b8d; font-size: 13px; }
.purchase-modal-balance strong { color: #344e61; font-variant-numeric: tabular-nums; }
.purchase-modal-balance > div:last-child { margin-top: 7px; padding-top: 8px; border-top: 1px solid #e2ebef; }
.purchase-modal-balance > div:last-child strong { color: #07815d; }
.purchase-modal-note { padding: 13px; border-radius: 10px; background: #f5f8fa; color: #607487; font-size: 13px; line-height: 1.65; }
.purchase-modal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.purchase-modal-actions .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 43px; text-decoration: none; }
.purchase-modal-actions > :only-child { grid-column: 1 / -1; }
.portal-remark-card, .portal-refresh-card, .portal-expansion-card, .portal-delete-proxy-card { width: min(500px,100%); }
.portal-delete-proxy-icon { background: #fff0f0; color: #c43e3e; }
.portal-delete-proxy-warning { display: grid; gap: 6px; margin-top: 18px; padding: 14px 15px; border: 1px solid #f1bdbd; border-radius: 11px; background: #fff5f5; color: #9f3030; text-align: left; }
.portal-delete-proxy-warning strong { font-size: 14px; }
.portal-delete-proxy-warning span { color: #9b5a5a; font-size: 12px; line-height: 1.6; }
.portal-delete-proxy-ack { display: flex; align-items: flex-start; gap: 9px; margin-top: 14px; color: #5f6f7e; font-size: 13px; line-height: 1.5; text-align: left; cursor: pointer; }
.portal-delete-proxy-ack input { width: 17px; height: 17px; margin: 1px 0 0; accent-color: #d94848; }
.portal-delete-proxy-card .btn.danger { border-color: #d94848; background: #d94848; color: #fff; }
.portal-delete-proxy-card .btn.danger:hover:not(:disabled) { border-color: #b92f2f; background: #b92f2f; }
.portal-delete-proxy-card .btn.danger:disabled { border-color: #edc7c7; background: #edc7c7; color: #fff; cursor: not-allowed; }
.portal-delete-spinner { border-color: #f8dddd; border-top-color: #d94848; }
.portal-modal-field { display: grid; gap: 8px; margin-top: 18px; color: #516879; font-size: 13px; font-weight: 750; text-align: left; }
.portal-modal-field textarea { width: 100%; min-height: 92px; resize: vertical; padding: 12px 13px; border: 1px solid #d7e6ec; border-radius: 10px; background: #fff; color: #29485b; font: inherit; font-weight: 500; line-height: 1.55; }
.portal-modal-field textarea:focus { outline: 3px solid rgba(31,170,207,.12); border-color: #4cbad7; }
.portal-modal-message { margin-top: 11px; padding: 10px 12px; border-radius: 9px; background: #fff0f0; color: #b43e3e; font-size: 13px; text-align: left; }
.portal-modal-message[hidden] { display: none; }
.portal-break-all { word-break: break-all; }
.purchase-payment-loading { padding: 8px 0 2px; }
.purchase-payment-loading > p { max-width: 330px; margin: 10px auto 0; color: #5f7386; font-size: 14px; line-height: 1.65; }
.purchase-payment-loading > small { display: block; margin-top: 18px; color: #81909d; font-size: 12px; }
.purchase-payment-spinner { display: block; width: 58px; height: 58px; margin: 0 auto 19px; border: 5px solid #dff5fb; border-top-color: #16a6ce; border-radius: 50%; animation: purchase-payment-spin .82s linear infinite; }
@keyframes purchase-payment-spin { to { transform: rotate(360deg); } }
.purchase-payment-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; margin-top: 23px; }
.purchase-payment-steps span { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; border-radius: 9px; background: #f3f7f9; color: #7d8c99; font-size: 12px; }
.purchase-payment-steps i { width: 7px; height: 7px; border-radius: 50%; background: #b9c7ce; }
.purchase-payment-steps span.active { background: #eaf9fe; color: #087da5; font-weight: 750; }
.purchase-payment-steps span.active i { background: #18afd7; box-shadow: 0 0 0 5px rgba(24,175,215,.12); animation: purchase-payment-pulse 1.15s ease-in-out infinite; }
@keyframes purchase-payment-pulse { 50% { box-shadow: 0 0 0 8px rgba(24,175,215,.04); } }
.purchase-modal-icon svg { width: 27px; height: 27px; }
.purchase-modal-icon-success { background: #e9fbf3; color: #07966a; }
.purchase-modal-icon-error { background: #fff0f0; color: #c33f3f; }
.purchase-modal-icon-pending { background: #fff7e7; color: #c47a16; }
.purchase-modal-card-success { border-top: 4px solid #18aa7b; }
.purchase-modal-card-error { border-top: 4px solid #df5b5b; }
.purchase-modal-card-pending { border-top: 4px solid #e6a23c; }
.purchase-payment-receipt { margin: 20px 0 3px; padding: 6px 15px; border: 1px solid #dfe9ee; border-radius: 12px; background: #f8fbfc; text-align: left; }
.purchase-payment-receipt > div { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 38px; border-bottom: 1px solid #e7eef1; color: #738493; font-size: 13px; }
.purchase-payment-receipt > div:last-child { border-bottom: 0; }
.purchase-payment-receipt strong { max-width: 68%; overflow-wrap: anywhere; color: #29465a; text-align: right; font-variant-numeric: tabular-nums; }
.purchase-modal-card-success .purchase-payment-receipt > div:nth-child(3) strong { color: #07815d; }
.purchase-modal-card-error .purchase-payment-receipt > div:nth-child(3) strong { color: #bd3e3e; }
.purchase-modal-card-pending .purchase-payment-receipt > div:nth-child(3) strong { color: #ad6f17; }
.portal-renew-card { width: min(480px,100%); }
.portal-renew-days { display: grid; gap: 8px; margin-top: 19px; color: #516879; font-size: 13px; font-weight: 750; text-align: left; }
.portal-renew-days > div { display: grid; grid-template-columns: 44px minmax(0,1fr) 44px; gap: 8px; }
.portal-renew-days button, .portal-renew-days input { min-height: 43px; border: 1px solid #d7e6ec; border-radius: 10px; background: #fff; color: #29485b; font: inherit; }
.portal-renew-days button { font-size: 19px; cursor: pointer; }
.portal-renew-days button:hover { border-color: #55bdd9; background: #effbfe; color: #0782aa; }
.portal-renew-days input { width: 100%; padding: 9px 13px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.portal-renew-quote { min-height: 184px; margin-top: 16px; padding: 16px; border: 1px solid #dce8ed; border-radius: 13px; background: #f8fbfc; }
.portal-renew-quote > p { margin-top: 10px; color: #6d7f8d; font-size: 13px; text-align: center; }
.portal-renew-quote .purchase-modal-total { margin: 14px 0 9px; }
.portal-renew-quote .purchase-modal-balance { margin: 10px 0; background: #fff; }
.portal-renew-quote.insufficient { border-color: #f0caca; background: #fffafa; }
.portal-renew-period { display: grid; grid-template-columns: minmax(0,1fr) 28px minmax(0,1fr); align-items: center; gap: 8px; text-align: left; }
.portal-renew-period > div { display: grid; gap: 4px; }
.portal-renew-period span { color: #8292a0; font-size: 11px; }
.portal-renew-period strong { color: #2b475a; font-size: 13px; font-variant-numeric: tabular-nums; }
.portal-renew-period > span { display: grid; place-items: center; color: #1ca8cd; }
.portal-renew-period svg { width: 18px; height: 18px; }
.portal-renew-entitlements { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.portal-renew-entitlements span { padding: 6px 9px; border: 1px solid #dcebf0; border-radius: 8px; background: #fff; color: #6c8190; font-size: 11px; }
.portal-renew-entitlements strong { color: #167fa2; font-variant-numeric: tabular-nums; }
.portal-renew-mini-spinner { display: block; width: 34px; height: 34px; margin: 40px auto 0; border: 3px solid #dff5fb; border-top-color: #16a6ce; border-radius: 50%; animation: purchase-payment-spin .82s linear infinite; }
.portal-renew-warning { padding: 12px 13px; border-radius: 9px; background: #ffeded; color: #ad3333; font-size: 13px; line-height: 1.55; text-align: left; }
.portal-renew-warning a { float: right; color: #a42727; font-weight: 800; }
.portal-renew-retry { margin-top: 14px; }
.service-assurance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }

/* Official support contact */
.contact-service-page { max-width: 1040px; padding-top: 54px; }
.contact-service-card { display: grid; grid-template-columns: minmax(0,1fr) 330px; overflow: hidden; border: 1px solid #dbe8ee; border-radius: 24px; background: #fff; box-shadow: 0 22px 60px rgba(19,74,98,.10); }
.contact-service-copy { min-width: 0; padding: 52px 54px; background: radial-gradient(circle at 0 0, rgba(70,190,224,.14), transparent 43%); }
.contact-service-copy .section-eyebrow { margin-bottom: 10px; color: #149fc8; font-size: 12px; font-weight: 850; letter-spacing: 1.7px; }
.contact-service-copy .page-title { margin-bottom: 10px; color: #123652; font-size: 34px; letter-spacing: -.8px; }
.contact-service-copy .page-sub { max-width: 570px; margin-bottom: 27px; color: #64798b; font-size: 15px; line-height: 1.75; }
.contact-wechat-id { display: flex; align-items: center; gap: 14px; padding: 15px 16px; border: 1px solid #caeaf3; border-radius: 14px; background: #f0fbfe; }
.contact-wechat-id span { color: #688092; font-size: 13px; }
.contact-wechat-id strong { margin-right: auto; color: #087da5; font-size: 23px; letter-spacing: .35px; }
.contact-wechat-id button { min-height: 37px; padding: 0 15px; border: 0; border-radius: 9px; background: #149fc8; color: #fff; font: inherit; font-size: 13px; font-weight: 750; cursor: pointer; transition: background .18s, transform .18s; }
.contact-wechat-id button:hover { background: #0d8db4; transform: translateY(-1px); }
.contact-wechat-id button.copied { background: #0f9f70; }
.contact-service-notes { display: grid; gap: 13px; margin-top: 27px; }
.contact-service-notes > div { display: grid; grid-template-columns: 76px minmax(0,1fr); gap: 13px; align-items: baseline; }
.contact-service-notes b { color: #2b475b; font-size: 13px; }
.contact-service-notes span { color: #748898; font-size: 13px; line-height: 1.65; }
.contact-qr-panel { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 33px; background: linear-gradient(155deg, #edfafe, #dff5fb); text-align: center; }
.contact-qr-frame { width: 264px; max-width: 100%; padding: 11px; border: 1px solid rgba(23,154,194,.16); border-radius: 20px; background: #fff; box-shadow: 0 16px 38px rgba(14,111,145,.12); }
.contact-qr-frame img { display: block; width: 100%; height: auto; border-radius: 11px; }
.contact-qr-panel > strong { margin-top: 19px; color: #173c54; font-size: 17px; }
.contact-qr-panel > span { margin-top: 7px; color: #668294; font-size: 12px; }
.contact-more { margin-top: 20px; padding: 25px; border: 1px solid #dfe9ee; border-radius: 18px; background: #fff; }
.contact-more-head { margin-bottom: 15px; }
.contact-more-head h2 { color: #203d52; font-size: 18px; }
.contact-more-head p { margin-top: 4px; color: #80909e; font-size: 13px; }

@media (max-width: 980px) {
  .purchase-hero { grid-template-columns: 1fr; }
  .purchase-layout { grid-template-columns: 1fr; }
  .purchase-summary { position: static; max-height: none; overflow: visible; }
}
@media (max-width: 720px) {
  .purchase-page { padding: 28px 14px 50px; }
  .purchase-hero { padding: 27px 22px; border-radius: 18px; }
  .purchase-hero h1 { font-size: 33px; }
  .purchase-trust { grid-template-columns: 1fr; }
  .purchase-trust > span { display: grid; grid-template-columns: 34px minmax(0,1fr); align-items: center; column-gap: 9px; padding: 11px 13px; }
  .purchase-trust svg { grid-row: 1 / 3; margin: 0; }
  .purchase-section { padding: 20px 16px; }
  .purchase-countries { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .purchase-lines { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .purchase-resources { grid-template-columns: 1fr; }
  .purchase-modes, .purchase-price-box, .purchase-assurance, .service-assurance-grid { grid-template-columns: 1fr; }
  .purchase-quantity-head { align-items: flex-start; flex-direction: column; }
  .purchase-result { align-items: flex-start; flex-direction: column; }
  .platform-disclaimer { align-items: flex-start; flex-wrap: wrap; }
  .platform-disclaimer span { flex: 1 0 calc(100% - 130px); }
  .platform-disclaimer a { margin-left: auto; }
  .contact-service-page { padding: 28px 14px 50px; }
  .contact-service-card { grid-template-columns: 1fr; border-radius: 19px; }
  .contact-service-copy { padding: 31px 23px; }
  .contact-service-copy .page-title { font-size: 28px; }
  .contact-qr-panel { padding: 28px 22px 32px; }
  .contact-wechat-id { align-items: flex-start; flex-wrap: wrap; }
  .contact-wechat-id strong { flex: 1 0 calc(100% - 92px); }
  .portal-credential-form-grid { grid-template-columns: 1fr; }
  .portal-credential-form-grid label:first-child { grid-column: auto; }
  .portal-credential-form-actions { flex-direction: column-reverse; }
  .portal-credential-form-actions .btn { width: 100%; }
}
@media (max-width: 420px) {
  .purchase-countries { grid-template-columns: 1fr; }
  .purchase-lines { grid-template-columns: 1fr; }
  .purchase-stepper { grid-template-columns: 42px minmax(0,1fr) 42px; }
  .purchase-modal-actions { grid-template-columns: 1fr; }
  .portal-renew-card { padding: 29px 19px; }
  .portal-renew-period { grid-template-columns: 1fr; text-align: center; }
  .portal-renew-period > span { transform: rotate(90deg); }
}

@media (max-width: 580px) {
  .top-user-balance { padding-inline: 10px; }
  .top-user-balance span { display: none; }
  .top-user-link > span:last-child { display: none; }
}

/* 宽屏阅读适配：按有效 CSS 视口渐进放大，不干扰系统 DPI 与浏览器缩放。 */
@media (min-width: 1600px) {
  .topbar { min-height: 82px; padding-inline: clamp(44px, 4vw, 82px); }
  .brand-logo { width: 49px; height: 49px; }
  .brand-copy strong { font-size: 22px; }
  .logo small { font-size: 11px; }
  .top-nav a { padding: 10px 14px; font-size: 16px; }
  .top-actions .btn { min-height: 42px; padding-inline: 20px; font-size: 15px; }
  .purchase-summary { top: 98px; max-height: calc(100vh - 118px); }

  .hero-inner,
  .marketing-home .section-inner,
  .status-page,
  .footer-grid,
  .footer-bottom { max-width: 1360px; }
  .marketing-home .hero .hero-lead { font-size: 18px; }
  .marketing-home .home-sub,
  .mode-desc,
  .footer-brand > p,
  .footer-grid a { font-size: 15px; }

  .purchase-page { max-width: 1460px; padding: 62px 32px 86px; }
  .purchase-hero { grid-template-columns: minmax(0, 1.18fr) minmax(430px, .82fr); gap: 48px; padding: 46px; }
  .purchase-layout { grid-template-columns: minmax(0, 1fr) 390px; gap: 26px; }
  .purchase-section { padding: 32px; }
  .purchase-eyebrow { font-size: 14px; }
  .purchase-hero > div > p:last-child { font-size: 18px; }
  .purchase-trust strong { font-size: 16px; }
  .purchase-trust small { font-size: 14px; }
  .purchase-section-title strong { font-size: 21px; }
  .purchase-section-title small { font-size: 15px; }
  .purchase-country strong { font-size: 16px; }
  .purchase-country small { font-size: 13px; }
  .purchase-mode strong { font-size: 18px; }
  .purchase-mode small { font-size: 14px; }
  .purchase-quantity-head strong { font-size: 17px; }
  .purchase-quantity-head small,
  .purchase-quick button,
  .purchase-includes,
  .purchase-cart-copy small,
  .purchase-balance-row,
  .purchase-balance-warning,
  .purchase-modal-balance > div,
  .purchase-login-tip,
  .purchase-assurance p,
  .service-assurance-grid p,
  .purchase-modal-note { font-size: 14px; }
  .purchase-price-box span,
  .purchase-price-box strong small,
  .purchase-summary-note { font-size: 13px; }
  .purchase-summary-head strong { font-size: 20px; }
  .purchase-cart-copy strong,
  .purchase-cart-price { font-size: 15px; }
  .purchase-assurance strong,
  .service-assurance-grid h3 { font-size: 16px; }
}

@media (min-width: 2300px) {
  .hero-inner,
  .marketing-home .section-inner,
  .status-page,
  .footer-grid,
  .footer-bottom { max-width: 1480px; }
  .purchase-page { max-width: 1580px; }
  .purchase-layout { grid-template-columns: minmax(0, 1fr) 420px; }
}
