:root {
  --bg: #f6f7fb;
  --panel: #ffffff;
  --text: #1b1f2a;
  --muted: #6b7385;
  --line: #e4e7ef;
  --brand: #014db2;
  --brand-2: #001645;
  --brand-soft: #e8f0fc;
  --ok: #12a150;
  --ok-soft: #e6f6ed;
  --warn: #c27a00;
  --warn-soft: #fff4dc;
  --err: #d93a3a;
  --err-soft: #fdeaea;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(20, 30, 60, .05), 0 4px 16px rgba(20, 30, 60, .05);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--text); font: 15px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Roboto, sans-serif; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: 26px; } h2 { font-size: 20px; } h3 { font-size: 16px; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
.mt { margin-top: 16px; } .mb { margin-bottom: 16px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }

/* top nav */
.topbar { background: var(--panel); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.topbar .container { display: flex; align-items: center; gap: 28px; height: 64px; position: relative; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none !important; flex-shrink: 0; }
/* wordmark: navy "35" · cyan dot · "LINK" + cyan tagline (views/partials/logo.ejs) */
.brand { display: block; height: 46px; width: auto; aspect-ratio: 152 / 58; overflow: visible; }
.brand.notag { aspect-ratio: 152 / 42; height: 34px; }
.brand .b-num, .brand .b-word { fill: #0d1b3e; }
.brand .b-dot, .brand .b-tag { fill: #014db2; }
.brand.dark .b-num, .brand.dark .b-word { fill: #fff; }
.brand.dark .b-dot, .brand.dark .b-tag { fill: #7fb2ff; }
footer .brand { height: 52px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 9px; cursor: pointer; font-size: 14px; background: #fff; }
.seg label:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); font-weight: 600; }
.code-row { display: flex; gap: 8px; }
.code-row input { flex: 1; min-width: 0; letter-spacing: 3px; font-family: Consolas, Menlo, monospace; }
.code-row .btn { flex: none; min-width: 112px; justify-content: center; }
.auth-logo { display: flex; justify-content: center; margin: 8px 0 22px; }
.auth-logo .brand { height: 56px; }
@media (max-width: 560px) { .topbar .brand { height: 40px; } }
.logo-sub { font-size: 13px; color: #9aa3bb; padding-left: 10px; border-left: 1px solid rgba(255, 255, 255, .18); }
.nav { display: flex; gap: 26px; align-items: center; font-size: 16.5px; font-weight: 500; }
.nav a { color: var(--text); }
.topbar .right-nav { font-size: 15.5px; }
.topbar .right-nav .btn.sm { font-size: 15px; padding: 6px 14px; }
.nav a.active { color: var(--brand); font-weight: 600; }
.nav > a, .nav .dropdown > a { white-space: nowrap; }
.nav-soon-link { position: relative; }
.nav-soon { position: absolute; top: -13px; right: -20px; padding: 0 6px; border-radius: 8px 8px 8px 2px; background: linear-gradient(90deg, #ff8a3d, #f5487a); color: #fff; font-size: 10px; font-style: normal; font-weight: 600; line-height: 16px; white-space: nowrap; pointer-events: none; }
@media (max-width: 760px) { .nav-soon { position: static; margin-left: 4px; vertical-align: 2px; } }
.topbar .right-nav { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.inline { display: inline; margin: 0; }
.linkbtn { background: none; border: 0; color: var(--muted); cursor: pointer; font: inherit; padding: 0; }
.linkbtn:hover { color: var(--text); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 16px; border-radius: 9px; border: 1px solid var(--line); background: var(--panel); color: var(--text); font: inherit; font-weight: 500; cursor: pointer; text-decoration: none !important; white-space: nowrap; }
.btn:hover { border-color: #cdd2df; }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn.primary:hover { filter: brightness(1.07); }
.btn.danger { color: var(--err); border-color: #f2c9c9; }
.btn.danger:hover { background: var(--err-soft); }
.btn.sm { padding: 4px 10px; font-size: 13px; border-radius: 7px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* cards */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.card + .card { margin-top: 16px; }
.card h2 { font-size: 17px; }
.grid { display: grid; gap: 16px; }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid.c3, .grid.c4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid.c2, .grid.c3, .grid.c4 { grid-template-columns: 1fr; } }
.stat .label { color: var(--muted); font-size: 13px; }
.stat .value { font-size: 26px; font-weight: 700; margin-top: 4px; letter-spacing: -.5px; }

/* hero */
.hero { background: radial-gradient(1200px 400px at 20% -10%, #dbe8fb, transparent), radial-gradient(800px 400px at 90% 0%, #dff6f3, transparent); padding: 64px 0 48px; }
.hero h1 { font-size: 40px; letter-spacing: -1px; max-width: 720px; }
.hero p { color: var(--muted); font-size: 17px; max-width: 720px; }
@media (max-width: 600px) { .hero h1 { font-size: 30px; } .hero { padding: 40px 0 32px; } }
.notice { background: var(--warn-soft); border: 1px solid #f3dfb0; color: #6b4b00; padding: 10px 14px; border-radius: 10px; }

/* product cards */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.pcard { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .12s, box-shadow .12s; }
.pcard:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(20, 30, 60, .09); }
.pcard .cat { font-size: 12px; color: var(--brand); font-weight: 600; text-transform: uppercase; letter-spacing: .4px; }
.pcard h3 { margin: 6px 0 10px; font-size: 17px; }
.pcard .desc { color: var(--muted); font-size: 13.5px; white-space: pre-line; flex: 1; margin-bottom: 14px; max-height: 9.5em; overflow: hidden; }
.price { font-size: 26px; font-weight: 800; letter-spacing: -.5px; }
.price small { font-size: 13px; font-weight: 500; color: var(--muted); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 20px; }
.chip { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--text); font-size: 14px; }
.chip.active { background: var(--brand); border-color: var(--brand); color: #fff; text-decoration: none; }

/* forms */
label { display: block; font-weight: 500; margin-bottom: 6px; font-size: 14px; }
.field { margin-bottom: 14px; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], select, textarea {
  width: 100%; padding: 9px 12px; border: 1px solid var(--line); border-radius: 9px; font: inherit; background: #fff; color: var(--text);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand-soft); border-color: var(--brand); }
textarea { min-height: 90px; resize: vertical; }
.check { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.check input { width: auto; }
.cycles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.cycle { position: relative; }
.cycle input { position: absolute; opacity: 0; }
.cycle span { display: block; border: 1.5px solid var(--line); border-radius: 10px; padding: 12px; cursor: pointer; background: #fff; }
.cycle span b { display: block; font-size: 18px; }
.cycle input:checked + span { border-color: var(--brand); background: var(--brand-soft); }
.hint { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* auth */
.auth { max-width: 420px; margin: 56px auto; }

/* tables */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: 14px; }
th { color: var(--muted); font-weight: 500; font-size: 13px; background: #fafbfd; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
.kv { display: grid; grid-template-columns: 160px 1fr; gap: 8px 16px; }
.kv > div:nth-child(odd) { color: var(--muted); }
@media (max-width: 600px) { .kv { grid-template-columns: 1fr; } .kv > div:nth-child(odd) { margin-top: 8px; } }

/* badges */
.badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #eef0f5; color: #555d70; white-space: nowrap; }
.badge.ok { background: var(--ok-soft); color: var(--ok); }
.badge.warn { background: var(--warn-soft); color: var(--warn); }
.badge.err { background: var(--err-soft); color: var(--err); }
.badge.info { background: var(--brand-soft); color: var(--brand); }

/* flash */
.flash { padding: 10px 14px; border-radius: 10px; margin: 16px 0 0; font-size: 14px; word-break: break-word; }
.flash.ok { background: var(--ok-soft); color: #0b6b36; border: 1px solid #c5e9d4; }
.flash.err { background: var(--err-soft); color: #9b2020; border: 1px solid #f3caca; }

/* member / admin shell */
.shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; padding: 24px 0 48px; }
.side { position: sticky; top: 84px; align-self: start; }
.side a { display: block; padding: 9px 12px; border-radius: 9px; color: var(--text); margin-bottom: 2px; }
.side a:hover { background: #eef0f6; text-decoration: none; }
.side a.active { background: var(--brand-soft); color: var(--brand); font-weight: 600; }
.side .group { font-size: 12px; color: var(--muted); padding: 14px 12px 4px; text-transform: uppercase; letter-spacing: .5px; }
/* "My services" drop-down: type sub-menu */
.side-dd { margin-bottom: 2px; }
.side-dd > summary { list-style: none; display: flex; align-items: center; border-radius: 9px; cursor: pointer; }
.side-dd > summary::-webkit-details-marker { display: none; }
.side-dd > summary > a { flex: 1; margin: 0; }
.side-dd > summary:hover { background: #eef0f6; }
.side-dd > summary > a:hover { background: transparent; }
.side-dd > summary.active { background: var(--brand-soft); }
.side-dd > summary.active > a { color: var(--brand); font-weight: 600; }
.side-dd .caret { width: 34px; height: 36px; display: flex; align-items: center; justify-content: center; flex: none; }
.side-dd .caret::before { content: ""; width: 7px; height: 7px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translate(-2px, -2px); transition: transform .15s; }
.side-dd[open] .caret::before { transform: rotate(-135deg) translate(-2px, -2px); }
.side-sub { padding: 2px 0 4px 12px; margin-left: 12px; border-left: 2px solid var(--line, #e3e6ee); }
.side-sub a { display: flex; align-items: center; padding: 7px 10px; font-size: 14px; color: var(--muted); }
.side-sub a em { margin-left: auto; font-style: normal; font-size: 12px; background: #eef0f6; color: var(--muted); border-radius: 10px; padding: 0 7px; line-height: 18px; }
.side-sub a.on { color: var(--brand); font-weight: 600; background: var(--brand-soft); }
.side-sub a.on em { background: #fff; color: var(--brand); }
.back-btn { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 16px 0 12px; border-radius: 18px; border: 1px solid var(--brand); background: var(--brand-soft); color: var(--brand); font-size: 15px; font-weight: 600; line-height: 1; flex: none; white-space: nowrap; transition: background .15s, color .15s; }
.back-btn .arr { font-size: 18px; transition: transform .15s; }
.back-btn:hover { background: var(--brand); color: #fff; text-decoration: none; }
.back-btn:hover .arr { transform: translateX(-3px); }
@media (max-width: 860px) {
  .side-dd { display: contents; }
  .side-dd > summary { flex: none; }
  .side-dd .caret, .side-sub { display: none; }
  .shell { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .shell > * { min-width: 0; }
  .side { position: static; display: flex; gap: 4px; overflow-x: auto; padding-bottom: 4px; }
  .side a { white-space: nowrap; }
  .side .group { display: none; }
}
.page-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.page-head h1 { margin: 0; font-size: 22px; }
.pager { display: flex; gap: 6px; margin-top: 16px; flex-wrap: wrap; }
.empty { text-align: center; color: var(--muted); padding: 32px 0; }
.admin-body .topbar { background: #001645; border-bottom-color: #001645; }
.admin-body .topbar .logo, .admin-body .topbar a, .admin-body .topbar .linkbtn { color: #e7eaf3; }
/* payment methods */
.pay-block { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.pay-title { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.pay-methods { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.pm { position: relative; display: flex; align-items: center; gap: 9px; padding: 10px 11px; margin: 0; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; font-weight: 400; transition: border-color .15s, background .15s; }
.pm:hover { border-color: #a9c3ec; }
.pm input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.pm-ico { flex: none; width: 26px; height: 26px; }
.pm-ico svg { display: block; width: 100%; height: 100%; }
.pm-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.pm-txt b { font-size: 14px; font-weight: 600; color: var(--text); }
.pm-txt small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pm.active { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 1px var(--brand) inset; }
.pm.active .pm-txt b { color: #013f93; }
.pm:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }
.pm.off { cursor: not-allowed; background: #f7f8fa; }
.pm.off .pm-ico { filter: grayscale(1); opacity: .45; }
.pm.off .pm-txt b { color: #9aa2b4; }
.pm.off:hover { border-color: var(--line); }
@media (max-width: 380px) { .pay-methods { grid-template-columns: 1fr; } }

/* confirm dialog */
.cm-overlay { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(15, 23, 42, .45); }
.cm-overlay.open { display: flex; animation: cmFade .15s ease-out; }
.cm-box { width: 100%; max-width: 420px; background: #fff; border-radius: 16px; padding: 22px 22px 18px; box-shadow: 0 24px 60px rgba(15, 23, 42, .28); animation: cmPop .18s ease-out; }
.cm-title { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.cm-msg { white-space: pre-line; color: #4b5263; font-size: 14.5px; line-height: 1.75; max-height: 50vh; overflow: auto; }
.cm-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.cm-actions .btn { min-width: 96px; justify-content: center; }
.btn.danger-solid { background: var(--err); border-color: var(--err); color: #fff; }
.btn.danger-solid:hover { background: #c22f2f; border-color: #c22f2f; }
body.cm-lock { overflow: hidden; }
@keyframes cmFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes cmPop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }

.stat-cta { display: block; text-align: center; margin-top: 12px; font-size: 16px; font-weight: 700; padding: 9px 12px; letter-spacing: 2px; }
.stat-cta:hover { text-decoration: none; }
.usdt-pay { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; margin-top: 12px; }
.usdt-qr { flex: none; width: 180px; text-align: center; }
.usdt-qr .qr { width: 180px; height: 180px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.usdt-qr .qr svg { display: block; width: 100%; height: 100%; }
.usdt-qr .small { margin-top: 6px; }
.usdt-info { flex: 1; min-width: 240px; }
.addr { font-size: 15px; background: #f3f4f8; padding: 12px; border-radius: 10px; word-break: break-all; }
.big { font-size: 30px; font-weight: 800; }
.vm { border: 1px solid var(--line); border-radius: 10px; padding: 14px; margin-top: 12px; }
footer { border-top: 1px solid var(--line); padding: 24px 0; color: var(--muted); font-size: 13px; margin-top: 40px; }
details summary { cursor: pointer; color: var(--muted); }
/* nav dropdown */
.dropdown { position: relative; }
.dropdown > a .caret { font-size: 11px; color: var(--muted); }
.dropdown .menu { display: none; position: absolute; top: 100%; left: -12px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 30px rgba(20, 30, 60, .12); padding: 6px; min-width: 170px; z-index: 20; }
.dropdown .menu a { display: block; padding: 8px 12px; border-radius: 7px; white-space: nowrap; }
.dropdown .menu a:hover { background: var(--brand-soft); text-decoration: none; }
.dropdown:hover .menu, .dropdown:focus-within .menu { display: block; }
.dropdown::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }
.right-nav .linkbtn, .right-nav a { white-space: nowrap; }
.svc-list td.svc-name { min-width: 170px; }
.svc-list td { white-space: nowrap; }
.svc-list td.svc-name { white-space: normal; }
.hn-form { display: flex; gap: 8px; margin-top: 8px; }
.hn-form[hidden] { display: none; }
.hn-form input[type=text] { flex: 1; min-width: 0; max-width: 260px; padding: 6px 10px; }
.svc-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.svc-tabs a { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--text); font-size: 14.5px; }
.svc-tabs a:hover { text-decoration: none; border-color: #a9c3ec; }
.svc-tabs a em { font-style: normal; font-size: 12px; min-width: 20px; text-align: center; padding: 0 6px; border-radius: 999px; background: #eef0f5; color: var(--muted); }
.svc-tabs a.active { border-color: var(--brand); background: var(--brand); color: #fff; font-weight: 600; }
.svc-tabs a.active em { background: rgba(255, 255, 255, .25); color: #fff; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--text); font: inherit; font-size: 14.5px; cursor: pointer; }
.lang-btn svg { width: 17px; height: 17px; color: var(--brand); }
.lang-btn .caret { font-size: 11px; color: var(--muted); }
.lang-dd:hover .lang-btn, .lang-dd:focus-within .lang-btn { border-color: #a9c3ec; background: var(--brand-soft); }
.dropdown .menu.menu-right { left: auto; right: 0; min-width: 150px; }
.dropdown .menu a.cur { color: var(--brand); font-weight: 600; }
.dropdown .menu a i { float: right; font-style: normal; margin-left: 12px; }
@media (max-width: 760px) {
  .lang-btn span:not(.caret) { display: none; }
  .topbar .container { height: auto; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; gap: 10px; }
  .nav { order: 3; width: 100%; overflow-x: auto; gap: 14px; }
  .dropdown .menu { left: 0; }
}

/* listing filters */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 14px; overflow-x: auto; }
.tab { padding: 10px 16px; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.tab.active { color: var(--brand); border-bottom-color: var(--brand); font-weight: 600; text-decoration: none; }
.filter { display: flex; gap: 12px; align-items: flex-start; }
.filter .flabel { padding-top: 7px; color: var(--muted); font-size: 14px; min-width: 36px; }
.filter .chips { margin: 0 0 12px; }
a.pcard { color: var(--text); text-decoration: none; }
.pcard.soldout { opacity: .6; }
.pcard.soldout:hover { transform: none; }
.pcard .tags { gap: 6px; margin-bottom: 4px; }
/* network badges: one brand hue, outlined so they read apart from the (filled) region badge */
.badge.net-cn2, .badge.net-cn, .badge.net-bgp { background: #fff; color: #013f93; box-shadow: inset 0 0 0 1px #c4d6f2; }
.section-card { color: var(--text); text-decoration: none !important; transition: transform .12s, box-shadow .12s; }
.section-card:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(20, 30, 60, .09); }

/* configurator */
.cfg-layout { display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: start; }
@media (max-width: 900px) { .cfg-layout { grid-template-columns: 1fr; } }
.summary { position: sticky; top: 84px; }
.spec { white-space: pre-line; font-size: 14px; }
.opt { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.opt:last-child { border-bottom: 0; }
.opt-title { font-weight: 600; font-size: 14px; padding-top: 8px; }
@media (max-width: 600px) { .opt { grid-template-columns: 1fr; gap: 6px; } .opt-title { padding-top: 0; } }
.opt-body select { max-width: 420px; }
.opt-price { color: var(--brand); font-size: 13px; }
.cycle span small { display: block; font-size: 12px; }
.os-tiles, .net-tiles { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.os-tile { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; font: inherit; color: var(--text); }
.os-tile svg { width: 24px; height: 24px; }
.os-tile.active { border-color: var(--brand); background: var(--brand-soft); font-weight: 600; }
.net-tile { display: flex; align-items: center; gap: 6px; padding: 9px 14px; border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; font-weight: 400; margin: 0; }
.net-tile input { width: auto; margin: 0; }
.net-tile.active { border-color: var(--brand); background: var(--brand-soft); font-weight: 600; }
.slider-row { display: flex; align-items: center; gap: 12px; max-width: 520px; }
.slider-row input[type=range] { flex: 1; accent-color: var(--brand); }
.slider-row .num { width: 96px; }
.slider-row .unit { color: var(--muted); font-size: 14px; min-width: 40px; }
.qty { width: 90px !important; display: inline-block; margin-left: 4px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.sum-row.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; align-items: baseline; }
.conf > div { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; }
.conf > div span:last-child { text-align: right; }
.conf { border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 8px; }
.conf:empty { display: none; }
#cfg.pending #pFinal { color: var(--muted); }

pre { background: #f3f4f8; padding: 12px; border-radius: 10px; overflow: auto; font-size: 12px; max-height: 420px; }

/* ---------- site footer ---------- */
footer.site-foot { background: #f4f6fb; color: var(--muted); border-top: 1px solid var(--line); padding: 44px 0 22px; margin-top: 0; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h4 { color: var(--text); font-size: 14px; margin: 4px 0 14px; font-weight: 600; }
.foot-grid > div:not(.foot-brand) > a, .foot-grid > div:not(.foot-brand) > span { display: block; color: var(--muted); margin-bottom: 9px; }
.foot-grid > div:not(.foot-brand) > a:hover { color: var(--brand); text-decoration: none; }
.foot-brand p { max-width: 320px; margin: 14px 0 0; line-height: 1.7; }
.foot-bottom { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 18px; font-size: 13px; color: #8a91a3; display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; margin-left: auto; }
.foot-links a { color: var(--muted); }
.foot-links a:hover { color: var(--brand); text-decoration: none; }
.foot-pay { width: 100%; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.foot-pay span { border: 1px solid var(--line); background: #fff; border-radius: 6px; padding: 2px 8px; color: var(--muted); font-size: 12px; }

/* help / legal pages */
.doc-wrap { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding-top: 32px; align-items: start; }
.doc-nav { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 2px; }
.doc-nav-title { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; padding: 0 12px 8px; }
.doc-nav a { padding: 8px 12px; border-radius: 8px; color: var(--text); }
.doc-nav a:hover { background: #eef0f6; text-decoration: none; }
.doc-nav a.active { background: var(--brand-soft); color: var(--brand); font-weight: 600; }
.doc { padding: 32px 40px; line-height: 1.85; max-width: 860px; }
.doc h1 { font-size: 28px; margin-bottom: 18px; }
.doc h2 { font-size: 19px; margin: 28px 0 10px; }
.doc h3 { font-size: 16px; margin: 20px 0 8px; }
.doc p { margin: 0 0 12px; color: #2d3446; }
.doc ul { margin: 0 0 14px; padding-left: 22px; }
.doc li { margin: 4px 0; color: #2d3446; }
@media (max-width: 760px) {
  .doc-wrap { grid-template-columns: 1fr; padding-top: 16px; }
  .doc-nav { position: static; flex-direction: row; overflow-x: auto; }
  .doc-nav-title { display: none; }
  .doc-nav a { white-space: nowrap; }
  .doc { padding: 22px 18px; }
}
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
main + footer.site-foot, .shell + footer.site-foot { margin-top: 48px; }

/* ---------- home ---------- */
.btn.lg { padding: 12px 22px; font-size: 15px; border-radius: 10px; }
.btn.ghost { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .22); color: #fff; }
.btn.ghost:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .35); }
.is-home .topbar { background: rgba(255, 255, 255, .86); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); }

/* hero: light, compact */
.h-hero { position: relative; overflow: hidden; color: var(--text); border-bottom: 1px solid var(--line); background:
  radial-gradient(760px 380px at 82% 40%, rgba(1, 77, 178, .14), transparent 70%),
  linear-gradient(180deg, #f8faff 0%, #eef2fd 100%); }
.h-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(1, 77, 178, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(1, 77, 178, .06) 1px, transparent 1px);
  background-size: 40px 40px; -webkit-mask-image: radial-gradient(ellipse 80% 75% at 50% 35%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 80% 75% at 50% 35%, #000 30%, transparent 75%); }
.h-hero-in { position: relative; display: grid; grid-template-columns: 1.4fr .6fr; gap: 24px; align-items: center; padding-top: 26px; padding-bottom: 22px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #013f93; background: rgba(255, 255, 255, .8); border: 1px solid #d9e0fb; padding: 5px 13px; border-radius: 999px; }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(1, 77, 178, .14); }
.h-copy h1 { font-size: 32px; line-height: 1.18; letter-spacing: -.8px; margin: 12px 0 8px; font-weight: 800; color: #0f172a; }
.h-copy h1 .grad { background: linear-gradient(110deg, #014db2, #0a8ee6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h-copy > p { color: #4b5468; font-size: 16px; line-height: 1.7; max-width: 560px; margin: 0 0 22px; }
.h-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.h-stats { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 36px; margin-top: 16px; padding-top: 12px; border-top: 1px solid #dfe5f4; }
.h-stats b { display: block; font-size: 19px; font-weight: 700; letter-spacing: -.4px; color: #0f172a; }
.h-stats span { font-size: 13px; color: var(--muted); }
.h-visual { position: relative; }
.h-visual svg { width: 100%; height: auto; display: block; }
.arcs path { stroke-dasharray: 6 10; animation: flow 3s linear infinite; opacity: .9; }
.h-visual { max-width: 220px; justify-self: end; width: 100%; }
.nodes .dot { fill: var(--brand); }
.nodes .pulse { fill: none; stroke: var(--brand); stroke-width: 1.5; animation: pulse 2.8s ease-out infinite; animation-delay: inherit; transform-box: fill-box; transform-origin: center; }
.nodes text { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .5px; opacity: .8; }
.h-float { position: absolute; display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; background: rgba(255, 255, 255, .92); border: 1px solid #e1e6f5; box-shadow: 0 8px 24px rgba(30, 50, 120, .12); backdrop-filter: blur(8px); font-size: 13px; color: #1b2340; animation: bob 6s ease-in-out infinite; }
.h-float b { font-weight: 600; }
.h-float.f1 { left: 0; bottom: 16%; }
.h-float.f2 { right: 2%; top: 10%; animation-delay: -3s; }
.dot-ok { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px rgba(1, 77, 178, .15); flex-shrink: 0; }
@keyframes flow { to { stroke-dashoffset: -32; } }
@keyframes pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(4.2); opacity: 0; } }
@keyframes bob { 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .arcs path, .nodes .pulse, .h-float { animation: none; } }
@media (max-width: 960px) {
  .h-hero-in { grid-template-columns: 1fr; padding-top: 32px; padding-bottom: 32px; }
  .h-visual { display: none; }
  .h-copy h1 { font-size: 34px; }
}
@media (max-width: 560px) {
  .h-copy h1 { font-size: 28px; letter-spacing: -.6px; }
  .h-copy > p { font-size: 15px; }
  .h-stats { grid-template-columns: repeat(4, auto); gap: 18px; margin-top: 20px; }
  .h-stats b { font-size: 18px; }
  .h-float { display: none; }
}

.h-sec { padding: 64px 0; background: #fff; }
.h-sec.soft { background: #f6f8fc; }
.h-head { margin-bottom: 32px; align-items: flex-end; }
.h-head h2 { font-size: 30px; letter-spacing: -.6px; margin: 0 0 8px; font-weight: 750; }
.h-head p { color: var(--muted); margin: 0; font-size: 15.5px; }
@media (max-width: 600px) { .h-sec { padding: 48px 0; } .h-head h2 { font-size: 24px; } }

.lines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lines.two { grid-template-columns: repeat(2, 1fr); }
.line { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 28px; color: var(--text); text-decoration: none !important; position: relative; overflow: hidden; transition: transform .15s, box-shadow .15s, border-color .15s; }
.line::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--brand); opacity: 0; transition: opacity .15s; }
.line:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(20, 30, 60, .1); border-color: #d5dbef; }
.line:hover::after { opacity: 1; }
.line-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: var(--brand); background: var(--brand-soft); margin-bottom: 18px; }
.line-ico svg, .why-ico svg { width: 24px; height: 24px; }
.line h3 { font-size: 19px; margin: 0 0 8px; }
.line p { color: var(--muted); font-size: 14px; margin: 0 0 16px; line-height: 1.7; }
.line ul { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.line li { font-size: 14px; padding: 4px 0 4px 22px; position: relative; }
.line li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 10px; height: 6px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
.line-foot { display: flex; align-items: baseline; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 16px; }
.line-foot b { font-size: 22px; letter-spacing: -.4px; }
.line-foot small { color: var(--muted); font-size: 13px; }
.line-foot .go { color: var(--brand); font-weight: 600; font-size: 14px; }
@media (max-width: 900px) { .lines { grid-template-columns: 1fr; } }

.picks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.picks > .pick { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 1100px) { .picks { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .picks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .picks { grid-template-columns: minmax(0, 1fr); } }
.pick { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 20px; color: var(--text); text-decoration: none !important; transition: transform .15s, box-shadow .15s, border-color .15s; }
.pick:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(20, 30, 60, .1); border-color: #cfd6ee; }
.pick-top { display: flex; align-items: center; gap: 6px; }
.pick-tag { font-size: 12px; font-weight: 600; color: var(--brand); background: var(--brand-soft); padding: 2px 9px; border-radius: 6px; white-space: nowrap; }
.pick-tag.hot { color: #fff; background: var(--brand); }
.pick h3 { font-size: 17px; margin: 14px 0 12px; line-height: 1.35; min-height: 2.7em; }
.specs { margin: 0 0 16px; flex: 1; }
.specs div { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px dashed #e8ebf3; font-size: 13.5px; }
.specs div:last-child { border-bottom: 0; }
.specs dt { color: var(--muted); flex-shrink: 0; }
.specs dd { margin: 0; text-align: right; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pick-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding-top: 14px; }
.pick-foot .price { font-size: 24px; color: var(--text); }

.nets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.net { display: block; border: 1px solid var(--line); border-radius: 16px; padding: 26px; color: var(--text); text-decoration: none !important; background: var(--panel); transition: transform .15s, box-shadow .15s; }
.net:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(20, 30, 60, .08); }
.net:hover { border-color: #c4d6f2; }
.net h3 { font-size: 21px; margin: 14px 0 8px; }
.net p { color: #4b5468; font-size: 14px; line-height: 1.75; margin: 0 0 14px; }
@media (max-width: 860px) { .nets { grid-template-columns: 1fr; } }

.regions { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.region { display: block; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; color: var(--text); text-decoration: none !important; transition: border-color .15s, box-shadow .15s; }
.region:hover { border-color: #b9c4f5; box-shadow: 0 8px 24px rgba(20, 30, 60, .07); }
.region-name { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; }
.region-meta { display: flex; gap: 6px; align-items: center; margin-top: 10px; font-size: 12px; }
.region-meta span { background: #eef1f8; color: #4b5468; padding: 1px 8px; border-radius: 5px; }
.region-meta em { font-style: normal; color: var(--muted); margin-left: auto; }

.whys { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.why-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--brand); background: var(--brand-soft); margin-bottom: 16px; }
.why h3 { font-size: 17px; margin: 0 0 8px; }
.why p { color: var(--muted); font-size: 14px; line-height: 1.75; margin: 0; }
@media (max-width: 900px) { .whys { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .whys { grid-template-columns: 1fr; } }

.h-cta { background: radial-gradient(700px 260px at 85% 0%, rgba(1, 77, 178, .10), transparent 70%), #eef2fd; color: var(--text); padding: 48px 0; border-top: 1px solid #e1e7f8; }
.h-cta-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.h-cta h2 { font-size: 26px; margin: 0 0 8px; letter-spacing: -.5px; }
.h-cta p { color: var(--muted); margin: 0; }
.is-home main + footer.site-foot { margin-top: 0; }

/* sale */
:root { --sale: #e5383b; --sale-deep: #c9252f; --sale-soft: #fff0ef; --sale-line: #fbd3d1; }
.promo { position: relative; overflow: hidden; color: var(--text); border-bottom: 1px solid var(--sale-line); background:
  radial-gradient(620px 320px at 92% -10%, rgba(229, 56, 59, .12), transparent 70%),
  radial-gradient(500px 300px at 0% 110%, rgba(255, 255, 255, .7), transparent 70%),
  linear-gradient(120deg, #fff7f6 0%, #ffeeec 55%, #ffe6e4 100%); }
.promo::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .6;
  background-image: linear-gradient(rgba(229, 56, 59, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(229, 56, 59, .06) 1px, transparent 1px);
  background-size: 36px 36px; mask-image: linear-gradient(90deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); }
.promo-in { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; padding-top: 48px; padding-bottom: 48px; }
.promo-badge { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .5px; padding: 4px 12px; border-radius: 999px; color: #fff; background: var(--sale); }
.promo h2 { font-size: 22px; font-weight: 600; margin: 14px 0 12px; letter-spacing: -.2px; }
.promo h2 span { display: inline-block; margin-top: 4px; font-size: 40px; font-weight: 800; letter-spacing: -1px; line-height: 1.1; color: var(--sale); }
.promo p { margin: 0 0 18px; font-size: 15px; line-height: 1.75; color: #5d6476; max-width: 520px; }
.promo-count { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.promo-count .lbl { font-size: 14px; color: #5d6476; }
.promo-count .cd { display: inline-flex; align-items: center; gap: 4px; }
.promo-count b { min-width: 38px; text-align: center; font: 700 20px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #fff; background: var(--sale); border-radius: 8px; padding: 8px 6px; }
.promo-count i { font-style: normal; font-weight: 700; color: var(--sale); margin: 0 2px; }
.promo .h-actions { margin: 0; }
.btn.promo-btn { background: var(--sale); color: #fff; border-color: var(--sale); font-weight: 700; }
.btn.promo-btn:hover { background: var(--sale-deep); border-color: var(--sale-deep); text-decoration: none; }
.btn.promo-ghost { background: #fff; color: var(--sale-deep); border-color: var(--sale-line); }
.btn.promo-ghost:hover { background: var(--sale-soft); text-decoration: none; }
.deals { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.deal { display: flex; flex-direction: column; background: #fff; color: var(--text); border-radius: 14px; padding: 16px 18px; border: 1px solid var(--sale-line); box-shadow: 0 6px 20px rgba(229, 56, 59, .08); transition: transform .15s, box-shadow .15s; }
.deal:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(229, 56, 59, .16); }
.deal-top { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; margin-bottom: 8px; }
.deal-type { font-weight: 700; color: var(--sale-deep); background: var(--sale-soft); padding: 2px 8px; border-radius: 6px; }
.deal-region { color: var(--muted); padding-top: 2px; }
.deal h3 { font-size: 15px; margin: 0 0 4px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.deal-specs { font-size: 12.5px; color: var(--muted); margin-bottom: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.deal-price { margin-top: auto; display: flex; align-items: baseline; gap: 6px; }
.deal-price .now { font-size: 26px; font-weight: 800; color: var(--sale); letter-spacing: -.5px; }
.deal-price small { font-size: 12px; color: var(--muted); }
.deal-price s { margin-left: auto; font-size: 13px; color: #9aa2b4; }
@media (max-width: 960px) { .promo-in { grid-template-columns: 1fr; } .promo h2 span { font-size: 32px; } }
@media (max-width: 520px) { .deals { grid-template-columns: 1fr; } .promo h2 span { font-size: 28px; } }

s.was { font-size: 13px; font-weight: 500; color: #9aa2b4; }
.sale-tag { display: inline-block; vertical-align: middle; margin-right: 8px; font-size: 12px; font-weight: 700; color: #fff; background: var(--sale); padding: 1px 7px; border-radius: 5px; letter-spacing: 0; }
.pick-tag.sale { color: #fff; background: var(--sale); }
.badge.sale { color: #fff; background: var(--sale); box-shadow: none; font-weight: 600; }
.promo-strip { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; padding: 8px 16px; font-size: 14px; color: var(--sale-deep); background: linear-gradient(90deg, #fff4f3, #ffe9e7, #fff4f3); border-bottom: 1px solid var(--sale-line); }
.promo-strip:hover { text-decoration: none; color: var(--sale-deep); }
.promo-strip b { font-weight: 700; }
.promo-strip span { color: #5d6476; }
.promo-strip em { font-style: normal; font-weight: 600; padding: 1px 10px; border-radius: 999px; color: #fff; background: var(--sale); }
.promo-note { margin: -4px 0 14px; padding: 10px 12px; border-radius: 10px; background: var(--sale-soft); border: 1px solid var(--sale-line); color: #8a2a2e; font-size: 13px; line-height: 1.6; }
.promo-note b { display: block; font-size: 14px; color: var(--sale-deep); }
.sum-row.promo-row { color: var(--sale); font-weight: 600; }

/* login details */
.login-card .kv.cred { padding: 10px 0; border-top: 1px dashed var(--line); }
.login-card .kv.cred:first-of-type { border-top: 0; padding-top: 0; }
.login-card .cv { user-select: all; }
.login-card .linkbtn { margin-left: 6px; color: var(--brand); }
.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.amt { padding: 12px 8px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--text); font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.amt:hover { border-color: #a9c3ec; }
.amt.active { border-color: var(--brand); background: var(--brand); color: #fff; }
.amt-other { position: relative; margin-top: 10px; }
.amt-other[hidden] { display: none; }
.amt-other .amt-cur { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; }
.amt-other input { padding-left: 26px; }
.srv-sub { font-size: 13px; color: var(--muted); margin: 16px 0 8px; }
.srv-rebuild .os-version { max-width: 280px; flex: 1; }
.svc-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 16px; align-items: stretch; }
.svc-layout > .card { margin: 0; display: flex; flex-direction: column; }
.svc-layout > .card > .kv { margin-bottom: 16px; }
.svc-layout .svc-renew { margin-top: auto; }
@media (max-width: 900px) { .svc-layout { grid-template-columns: 1fr; } }
.srv + .srv { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.srv-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.srv-head b { font-size: 16px; }
.srv .kv.cred { background: #f8f9fc; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.srv-ops { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.srv-rebuild { margin-top: 10px; }
.srv-rebuild select { max-width: 320px; flex: 1; }
.svc-renew { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.svc-renew:empty { display: none; }
.cred-note { white-space: pre-wrap; background: #f6f8fc; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font-size: 13px; margin-top: 8px; }

/* ---------- Telegram support tab (right edge) ---------- */
.tgs { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 900; }
.tgs-tab { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 9px 16px 11px; border: 0; cursor: pointer;
  color: #fff; background: linear-gradient(160deg, #37bbfe 0%, #229ed9 55%, #1b86c4 100%); border-radius: 16px 0 0 16px;
  box-shadow: -4px 6px 22px rgba(34, 158, 217, .38), inset 0 1px 0 rgba(255, 255, 255, .25); transition: padding .2s, box-shadow .2s; font: inherit; }
.tgs-tab:hover, .tgs.open .tgs-tab { padding-right: 14px; box-shadow: -6px 8px 28px rgba(34, 158, 217, .5), inset 0 1px 0 rgba(255, 255, 255, .25); }
.tgs-ico { width: 30px; height: 30px; border-radius: 50%; background: #fff; color: #229ed9; display: grid; place-items: center; box-shadow: 0 2px 6px rgba(0, 0, 0, .12); }
.tgs-ico svg { width: 18px; height: 18px; margin-left: -2px; }
.tgs-txt { writing-mode: vertical-rl; font-size: 13.5px; font-weight: 700; letter-spacing: 3px; line-height: 1; }
html:not([lang=en]) .tgs-txt { text-orientation: upright; letter-spacing: 2px; }
html[lang=en] .tgs-txt { letter-spacing: 1px; }
.tgs-panel { position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%); width: 290px; background: #fff; border-radius: 16px;
  box-shadow: 0 18px 50px rgba(15, 42, 74, .22), 0 2px 6px rgba(15, 42, 74, .08); overflow: hidden; animation: tgsIn .18s ease-out; }
.tgs-panel[hidden] { display: none; }
@keyframes tgsIn { from { opacity: 0; transform: translate(8px, -50%); } }
.tgs-head { display: flex; align-items: center; gap: 10px; padding: 14px 14px 14px 16px; color: #fff; background: linear-gradient(135deg, #2aabee, #1b86c4); }
.tgs-head b { display: block; font-size: 15px; }
.tgs-head small { display: block; font-size: 12px; opacity: .88; margin-top: 2px; }
.tgs-head > div { flex: 1; min-width: 0; }
.tgs-hico { width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .2); display: grid; place-items: center; flex: none; }
.tgs-hico svg { width: 19px; height: 19px; margin-left: -2px; }
.tgs-x { border: 0; background: rgba(255, 255, 255, .16); color: #fff; width: 28px; height: 28px; border-radius: 50%; font-size: 19px; line-height: 1; cursor: pointer; flex: none; }
.tgs-x:hover { background: rgba(255, 255, 255, .3); }
.tgs-list { padding: 8px; max-height: 60vh; overflow-y: auto; }
.tgs-item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; color: var(--text); text-decoration: none; transition: background .15s; }
.tgs-item:hover { background: #eef7fd; text-decoration: none; }
.tgs-av { position: relative; width: 42px; height: 42px; border-radius: 50%; color: #fff; font-weight: 700; font-size: 17px; display: grid; place-items: center; flex: none; }
.tgs-av i { position: absolute; right: 0; bottom: 1px; width: 11px; height: 11px; border-radius: 50%; background: #22c55e; border: 2px solid #fff; }
.tgs-info { flex: 1; min-width: 0; }
.tgs-info b { display: block; font-size: 14.5px; }
.tgs-info small { display: block; color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tgs-go { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #229ed9; background: #e8f5fd; flex: none; transition: background .15s, color .15s; }
.tgs-go svg { width: 16px; height: 16px; margin-left: -2px; }
.tgs-item:hover .tgs-go { background: #229ed9; color: #fff; }

/* ---------- live chat (bottom-right) ---------- */
.lc { position: fixed; right: 22px; bottom: 22px; z-index: 950; font-size: 14px; }
.lc-launch { position: relative; width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer; color: #fff; display: grid; place-items: center;
  background: linear-gradient(145deg, #1aa7e6 0%, #014db2 45%, #001645 130%); box-shadow: 0 10px 28px rgba(20, 154, 214, .45); transition: transform .2s, box-shadow .2s; margin-left: auto; }
.lc-launch:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 14px 34px rgba(20, 154, 214, .55); }
.lc-launch svg { width: 28px; height: 28px; grid-area: 1 / 1; transition: transform .25s, opacity .2s; }
.lc-launch .i-close { width: 24px; height: 24px; opacity: 0; transform: rotate(-90deg); }
.lc.open .lc-launch .i-chat { opacity: 0; transform: rotate(90deg) scale(.6); }
.lc.open .lc-launch .i-close { opacity: 1; transform: none; }
.lc:not(.open) .lc-launch::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #014db2; animation: lcPulse 2.4s ease-out infinite; }
@keyframes lcPulse { 0% { opacity: .6; transform: scale(1); } 100% { opacity: 0; transform: scale(1.45); } }
.lc-badge { position: absolute; top: -3px; right: -3px; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 11px; background: #ef4444; color: #fff; font-size: 12px; font-weight: 700; line-height: 21px; text-align: center; border: 2px solid #fff; }
.lc-badge[hidden] { display: none; }
.lc-panel { position: absolute; right: 0; bottom: 76px; width: 370px; height: min(560px, calc(100vh - 120px)); display: flex; flex-direction: column; background: #fff;
  border-radius: 18px; box-shadow: 0 24px 60px rgba(15, 42, 74, .28), 0 2px 8px rgba(15, 42, 74, .08); overflow: hidden; transform-origin: bottom right; animation: lcIn .22s cubic-bezier(.2, .8, .3, 1); }
.lc-panel[hidden] { display: none; }
@keyframes lcIn { from { opacity: 0; transform: translateY(12px) scale(.96); } }
.lc-head { display: flex; align-items: center; gap: 12px; padding: 16px 14px 16px 18px; color: #fff; background: radial-gradient(120% 140% at 0% 0%, #1f5f98 0%, #001645 60%, #0b1f38 100%); }
.lc-avatar { position: relative; width: 42px; height: 42px; border-radius: 12px; background: #fff; color: #001645; font-weight: 800; font-size: 17px; letter-spacing: -.5px; display: grid; place-items: center; flex: none; }
.lc-avatar::after { content: ''; position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #014db2; right: 6px; top: 12px; }
.lc-avatar i { position: absolute; right: -3px; bottom: -3px; width: 12px; height: 12px; border-radius: 50%; background: #22c55e; border: 2px solid #001645; }
.lc-title { flex: 1; min-width: 0; }
.lc-title b { display: block; font-size: 15.5px; }
.lc-title small { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: #b9d3ea; margin-top: 3px; }
.lc-title small i { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .25); }
.lc-min { border: 0; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; display: grid; place-items: center; flex: none; }
.lc-min:hover { background: rgba(255, 255, 255, .24); }
.lc-min svg { width: 18px; height: 18px; }
.lc-body { flex: 1; overflow-y: auto; padding: 18px 16px 8px; background: #f4f7fb; display: flex; flex-direction: column; gap: 12px; overscroll-behavior: contain; }
.lc-msg { display: flex; flex-direction: column; max-width: 82%; }
.lc-msg.me { align-self: flex-end; align-items: flex-end; }
.lc-msg.staff { align-self: flex-start; }
.lc-bubble { padding: 10px 13px; border-radius: 16px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.lc-msg.staff .lc-bubble { background: #fff; color: var(--text); border-top-left-radius: 5px; box-shadow: 0 1px 2px rgba(15, 42, 74, .08); }
.lc-msg.me .lc-bubble { background: linear-gradient(135deg, #1aa7e6, #1386c2); color: #fff; border-top-right-radius: 5px; }
.lc-msg.pending { opacity: .6; }
.lc-meta { font-size: 11.5px; color: #8a94a6; margin-top: 4px; padding: 0 4px; }
.lc-meta:empty { display: none; }
.lc-form { border-top: 1px solid #e8ecf3; padding: 10px 12px 12px; background: #fff; }
.lc .lc-contact { width: 100%; border: 1px solid #e3e8f0; border-radius: 10px; padding: 8px 11px; font: inherit; font-size: 13px; margin-bottom: 8px; background: #f8fafc; }
.lc .lc-contact:focus, .lc .lc-input:focus { outline: none; border-color: #014db2; background: #fff; box-shadow: 0 0 0 3px rgba(20, 154, 214, .14); }
.lc-contact[hidden] { display: none; }
.lc-row { display: flex; align-items: flex-end; gap: 8px; }
.lc .lc-input { flex: 1; width: auto; min-width: 0; resize: none; border: 1px solid #e3e8f0; border-radius: 12px; padding: 10px 12px; font: inherit; line-height: 1.45; min-height: 42px; height: 42px; max-height: 120px; background: #f8fafc; }
body.lc-open .tgs { opacity: 0; pointer-events: none; }
.tgs { transition: opacity .2s; }
.lc-send { width: 42px; height: 42px; border-radius: 12px; border: 0; cursor: pointer; color: #fff; background: linear-gradient(135deg, #1aa7e6, #1386c2); display: grid; place-items: center; flex: none; transition: filter .15s; }
.lc-send:hover { filter: brightness(1.08); }
.lc-send svg { width: 20px; height: 20px; }
.lc-err { color: var(--err); font-size: 12.5px; margin-top: 6px; }
.lc-err[hidden] { display: none; }
.lc-teaser { position: absolute; right: 0; bottom: 74px; width: 230px; background: #fff; border-radius: 14px; padding: 12px 30px 12px 14px; cursor: pointer;
  box-shadow: 0 12px 34px rgba(15, 42, 74, .22); animation: lcIn .25s ease-out; }
.lc-teaser[hidden] { display: none; }
.lc-teaser::after { content: ''; position: absolute; right: 22px; bottom: -6px; width: 12px; height: 12px; background: #fff; transform: rotate(45deg); }
.lc-teaser b { display: block; font-size: 14px; }
.lc-teaser span { display: block; color: var(--muted); font-size: 12.5px; margin-top: 3px; }
.lc-teaser-x { position: absolute; top: 6px; right: 6px; border: 0; background: none; color: #9aa3b5; font-size: 18px; line-height: 1; cursor: pointer; padding: 2px 5px; }
@media (max-width: 560px) {
  .lc { right: 14px; bottom: 14px; }
  .lc-launch { width: 54px; height: 54px; }
  .lc-panel { position: fixed; inset: auto 0 0 0; width: auto; height: 100%; height: 100dvh; border-radius: 0; z-index: 1001; }
  .tgs-tab { padding: 10px 6px 12px 8px; gap: 6px; }
  .tgs-tab:hover, .tgs.open .tgs-tab { padding-right: 8px; }
  .tgs-ico { width: 26px; height: 26px; }
  .tgs-txt { font-size: 12.5px; letter-spacing: 2px; }
  .tgs-panel { width: min(290px, calc(100vw - 70px)); }
}
@media print { .lc, .tgs { display: none; } }

/* ---------- admin: live chat ---------- */
.nav-count { display: inline-block; min-width: 18px; padding: 0 5px; margin-left: 6px; border-radius: 9px; background: var(--err); color: #fff; font-size: 11px; font-style: normal; font-weight: 700; line-height: 18px; text-align: center; }
.lcs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.lcs-item { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; min-width: 0; }
.lcs-item span { display: block; font-size: 12px; color: var(--muted); }
.lcs-item b { display: block; margin-top: 3px; font-size: 14px; overflow-wrap: anywhere; }
.lcs-item b.ok { color: var(--ok); } .lcs-item b.err { color: var(--err); } .lcs-item b.warn { color: var(--warn); } .lcs-item b.off { color: var(--muted); }
.lcs-item small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; overflow-wrap: anywhere; }
@media (max-width: 800px) { .lcs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lcs-guide { margin-top: 14px; background: #f6f8fc; border-radius: 10px; padding: 10px 14px; }
.lcs-guide summary { cursor: pointer; font-weight: 600; }
.lcs-guide ol { margin: 10px 0 4px; padding-left: 20px; line-height: 1.75; font-size: 13.5px; }
.lcs-snip { display: block; max-width: 420px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); }
.agents-tbl input[type=text] { width: 100%; }
.agents-tbl td.center { text-align: center; }
.at-input { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; background: #fff; overflow: hidden; }
.at-input span { padding: 0 4px 0 10px; color: var(--muted); }
.at-input input[type=text] { border: 0 !important; box-shadow: none !important; padding-left: 2px; }
.lcv-thread { display: flex; flex-direction: column; gap: 12px; max-height: 60vh; overflow-y: auto; padding: 6px 4px 12px; }
.lcv-msg { max-width: 78%; display: flex; flex-direction: column; }
.lcv-msg.visitor { align-self: flex-start; }
.lcv-msg.staff { align-self: flex-end; align-items: flex-end; }
.lcv-bubble { padding: 9px 13px; border-radius: 14px; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.55; }
.lcv-msg.visitor .lcv-bubble { background: #f1f4f9; border-top-left-radius: 4px; }
.lcv-msg.staff .lcv-bubble { background: #e3f3fc; border-top-right-radius: 4px; }
.lcv-meta { font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.lcv-reply { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; }
.lcv-reply textarea { width: 100%; }
.lcv-info { width: 100%; font-size: 13.5px; }
.lcv-info th { text-align: left; color: var(--muted); font-weight: 400; white-space: nowrap; padding-right: 12px; vertical-align: top; width: 70px; }

/* ---------- cross-border lines (coming soon) ---------- */
.xb-hero { min-height: 62vh; display: flex; align-items: center; }
.xb-in { position: relative; width: 100%; text-align: center; padding-top: 72px; padding-bottom: 80px; max-width: 680px; }
.xb-ico { width: 92px; height: 92px; margin: 26px auto 8px; border-radius: 26px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #4f6bff, #6a3bfd); box-shadow: 0 18px 40px rgba(1, 77, 178, .28); }
.xb-ico svg { width: 56px; height: 56px; }
.xb-line { stroke-dasharray: 4 5; animation: flow 1.6s linear infinite; }
.xb-in h1 { font-size: 38px; font-weight: 800; letter-spacing: -1px; color: #0f172a; margin: 18px 0 12px; }
.xb-in > p { color: #4b5468; font-size: 16px; line-height: 1.8; margin: 0 auto 26px; }
.xb-actions { justify-content: center; }
@media (max-width: 560px) { .xb-in { padding-top: 48px; padding-bottom: 56px; } .xb-in h1 { font-size: 30px; } }
/* ---------- login / register / forgot: one simple centered card ---------- */
.auth-page { display: flex; align-items: center; padding: 40px 0 56px; min-height: calc(100vh - 110px); }
.auth-page > .container { width: 100%; }
.auth-shell { max-width: 420px; margin: 0 auto; }
.auth-main { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 34px 32px 28px; }
.auth-main h1 { font-size: 24px; font-weight: 700; letter-spacing: -.3px; margin: 0 0 22px; text-align: center; }
.auth-sub { color: var(--muted); font-size: 14px; margin: -12px 0 20px; text-align: center; }
.auth-back { display: inline-block; font-size: 13.5px; color: var(--muted); margin-bottom: 10px; }
.auth-form input[type=text], .auth-form input[type=email], .auth-form input[type=password] { height: 44px; font-size: 15px; }
.label-row { display: flex; align-items: baseline; justify-content: space-between; }
.label-row label { margin-bottom: 6px; }
.opt-tag { font-weight: 400; color: #a0a7b8; font-size: 12px; margin-left: 4px; }
.input-affix { position: relative; }
.input-affix input { padding-right: 112px !important; }
.input-affix:has(.eye) input { padding-right: 46px !important; }
.affix-btn { position: absolute; top: 5px; right: 5px; bottom: 5px; padding: 0 12px; border: 0; border-radius: 7px; background: var(--brand-soft); color: var(--brand); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.affix-btn:disabled { color: var(--muted); background: #f1f3f8; cursor: default; }
.affix-btn.eye { width: 36px; padding: 0; background: transparent no-repeat center / 20px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a93a8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
.affix-btn.eye.on { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233b5bfd' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M3 3l18 18'/%3E%3C/svg%3E"); }
.pw-meter { display: flex; align-items: center; gap: 4px; margin-top: 7px; }
.pw-meter[hidden] { display: none; }
.pw-meter i { flex: 1; height: 4px; border-radius: 2px; background: #e6e9f1; }
.pw-meter span { font-size: 12px; color: var(--muted); margin-left: 6px; min-width: 36px; }
.pw-meter[data-s="1"] i:nth-child(-n+1) { background: var(--err); }
.pw-meter[data-s="2"] i:nth-child(-n+2) { background: var(--warn); }
.pw-meter[data-s="3"] i { background: var(--ok); }
.auth-terms { font-size: 12.5px; color: var(--muted); margin: 4px 0 16px; line-height: 1.6; }
.auth-form .btn.lg { margin-top: 6px; }
.auth-switch { text-align: center; font-size: 14px; color: var(--muted); margin: 18px 0 0; }
@media (max-width: 520px) { .auth-page { display: block; min-height: 0; padding: 28px 0 40px; } .auth-main { padding: 26px 20px 22px; border-radius: 14px; } }
/* ---------- product listing: cards (vertical) / table (horizontal) ---------- */
.plist .ptools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; margin-bottom: 18px; }
.plist .ptools select { width: auto; min-width: 120px; padding: 7px 30px 7px 10px; font-size: 14px; }
.vtoggle { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.vtoggle button { width: 38px; height: 34px; display: grid; place-items: center; border: 0; background: #fff; color: var(--muted); cursor: pointer; }
.vtoggle button + button { border-left: 1px solid var(--line); }
.vtoggle button svg { width: 18px; height: 18px; }
.vtoggle button.on { background: var(--brand); color: #fff; }
.plist[data-view="grid"] .ptable-wrap, .plist[data-view="list"] .pgrid { display: none; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; }
.pc { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; color: var(--text); text-decoration: none; transition: box-shadow .15s, transform .15s; }
.pc:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(1, 30, 80, .10); }
.pc-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.pc-head h3 { margin: 0; font-size: 16.5px; font-weight: 600; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.rc { flex: none; display: inline-grid; place-items: center; min-width: 28px; height: 20px; padding: 0 5px; border-radius: 5px; background: #014db2; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .5px; }
.pc-specs { margin: 0 0 10px; }
.pc-specs > div { display: grid; grid-template-columns: 78px 1fr; gap: 8px; align-items: center; padding: 9px 0; border-bottom: 1px solid #eef0f5; }
.pc-specs dt { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #4b5468; text-transform: uppercase; letter-spacing: .3px; }
.pc-specs dd { margin: 0; font-size: 13px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #1b1f2a; overflow-wrap: anywhere; }
.ic { width: 15px; height: 15px; flex: none; color: #6b7385; }
.ln { display: inline-flex; align-items: center; gap: 3px; padding: 1px 7px; margin: 1px 4px 1px 0; border-radius: 5px; background: #f1f4fa; font-size: 12px; font-family: inherit; white-space: nowrap; }
.ln.main { background: #e8f0fc; color: #013f93; }
.ln.net-cn2 { color: #b45309; } .ln.net-cn { color: #013f93; } .ln.net-bgp { color: #0f8a6c; }
.ln.main.net-cn2 { background: #fff3e0; } .ln.main.net-bgp { background: #e3f6f0; }
.ln-opt { display: flex; flex-wrap: wrap; align-items: center; margin-top: 4px; }
.ln-opt em { font-style: normal; font-size: 11px; color: var(--muted); margin-right: 6px; }
.pc-feats { text-align: center; margin: 4px 0 14px; }
.pc-feats > div { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 6px; }
.feat { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 6px; background: #f1f4fa; font-size: 12.5px; color: #2d3446; }
.feat .ic { color: #014db2; width: 16px; height: 16px; }
.pc-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.pc-price { font-size: 22px; font-weight: 700; color: #014db2; line-height: 1.2; white-space: nowrap; }
.pc-price small { font-size: 12px; font-weight: 500; color: var(--muted); margin-left: 2px; }
.btn.oos { background: #c99a9a; border-color: #c99a9a; color: #fff; }
.pc.soldout, .ptable tr.soldout { opacity: .62; }
.pc.soldout:hover { transform: none; box-shadow: none; }
.ptable-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); }
.ptable { width: 100%; border-collapse: collapse; min-width: 900px; }
.ptable th { background: #001645; color: #fff; font-size: 13px; font-weight: 600; text-align: left; padding: 13px 14px; }
.ptable th.right, .ptable td.right { text-align: right; }
.ptable td { padding: 14px; border-top: 1px solid #eef0f5; font-size: 14px; vertical-align: middle; }
.ptable tbody tr { cursor: pointer; }
.ptable tbody tr:nth-child(even) { background: #fafbfd; }
.ptable tbody tr:hover { background: #eef4fd; }
.pt-name { display: flex; align-items: center; gap: 8px; }
.pt-name b { font-weight: 600; }
.pt-feats .feat { padding: 3px 5px; background: transparent; }
.pt-price .pc-price { font-size: 17px; margin-bottom: 6px; }
@media (max-width: 760px) {
  .plist .ptools select { min-width: 0; flex: 1 1 40%; }
  .pc-specs > div { grid-template-columns: 70px 1fr; }
}
/* Header nav centered on the page (desktop); logo left, account links right. */
@media (min-width: 901px) {
  .topbar .nav { position: absolute; left: 50%; transform: translateX(-50%); }
}
.h-copy p { margin: 0 0 14px; }
.h-copy .h-actions .btn.lg { padding-top: 10px; padding-bottom: 10px; }
.h-float { padding: 6px 11px; font-size: 12px; }footer .brand.notag { height: 38px; }
.auth-logo .brand.notag { height: 44px; }
@media (max-width: 560px) { .topbar .brand.notag { height: 30px; } }
