:root {
  --accent: #7eb6ff;
  --accent-strong: #5a9cf5;
  --accent-soft: rgba(126, 182, 255, 0.14);
  --ink: #f2f4f8;
  --ink-secondary: rgba(242, 244, 248, 0.78);
  --bg: #05060a;
  --bg-elevated: #0c0e14;
  --card: rgba(255, 255, 255, 0.055);
  --card-solid: #12141c;
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.18);
  --muted: rgba(242, 244, 248, 0.58);
  --paying: #34c759;
  --waiting: #ffd60a;
  --problem: #ff9f0a;
  --scam: #ff453a;
  --radius: 20px;
  --radius-sm: 12px;
  --radius-pill: 980px;
  --shadow: 0 10px 36px rgba(0, 0, 0, 0.30);
  --shadow-soft: 0 4px 18px rgba(0, 0, 0, 0.20);
  --glass: blur(34px) saturate(1.85);
  --glass-fill: rgba(255, 255, 255, 0.09);
  --glass-fill-strong: rgba(18, 20, 28, 0.48);
  --specular: inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 -1px 0 rgba(255, 255, 255, 0.03);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "Helvetica Neue", sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "Helvetica Neue", sans-serif;
  --font-mono: "SF Mono", ui-monospace, "Cascadia Code", "IBM Plex Mono", monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; }
body {
  background:
    radial-gradient(1100px 620px at 12% -18%, rgba(90, 156, 245, 0.28), transparent 58%),
    radial-gradient(900px 560px at 88% 4%, rgba(168, 140, 255, 0.18), transparent 52%),
    radial-gradient(700px 480px at 48% 48%, rgba(52, 199, 89, 0.06), transparent 55%),
    radial-gradient(800px 500px at 70% 95%, rgba(90, 156, 245, 0.10), transparent 50%),
    linear-gradient(180deg, #10131c 0%, #07080d 45%, #030407 100%);
  background-attachment: fixed;
  color: var(--ink);
  font: 16px/1.5 var(--font);
  min-height: 100vh;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 40% at 50% -15%, rgba(255, 255, 255, 0.04), transparent 55%);
}
body > * { position: relative; z-index: 1; }

a { color: var(--accent); text-decoration: none; transition: color .2s var(--ease), opacity .2s var(--ease); }
a:hover { color: #fff; text-decoration: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 13px;
  line-height: 1.15;
  border: 1px solid transparent;
  padding: 0.45rem 1rem;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .15s var(--ease);
}
.btn-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.15;
  padding: 0.35rem 0.85rem;
  min-height: 32px;
}
.btn:active { transform: scale(0.98); }
.btn-accent {
  background: rgba(126, 182, 255, 0.92);
  color: #061018 !important;
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: var(--specular), 0 4px 18px rgba(90, 156, 245, 0.22);
}
.btn-accent:hover {
  background: #9cc6ff;
  color: #061018 !important;
}
.btn-dark.border-secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-strong) !important;
  color: var(--ink) !important;
  box-shadow: var(--specular);
  backdrop-filter: var(--glass);
  -webkit-backdrop-filter: var(--glass);
}
.btn-dark.border-secondary:hover {
  background: rgba(255, 255, 255, 0.10);
  color: #fff !important;
}
.text-accent { color: var(--accent); }
.text-success { color: var(--paying) !important; }
.text-danger { color: var(--scam) !important; }
.text-muted { color: var(--muted) !important; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* —— Shared glass surface —— */
.topbar,
.site-header,
.mainnav,
.subnav,
.widget,
.project-card,
.box,
.page-title,
.plist .row-item,
.tier {
  background: var(--glass-fill);
  border: 1px solid var(--line);
  box-shadow: var(--specular), var(--shadow-soft);
  backdrop-filter: var(--glass);
  -webkit-backdrop-filter: var(--glass);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .topbar, .site-header, .mainnav, .subnav,
  .widget, .project-card, .box, .page-title,
  .plist .row-item, .tier {
    background: var(--card-solid);
  }
}

.topbar {
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  font-size: 13px;
  padding: 8px 0;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  border-bottom-color: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}
.topbar-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.topbar a { color: var(--ink-secondary); }
.topbar a:hover { color: #fff; }
.topbar-auth { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.lang-select {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 11px;
  line-height: 1.15;
  padding: 0 10px;
  min-height: 30px;
  font-family: var(--font-mono);
  box-shadow: var(--specular);
  appearance: none;
  -webkit-appearance: none;
}
.topbar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  padding: 0 12px;
  min-height: 30px;
  line-height: 1.15;
  border-radius: var(--radius-pill);
  color: var(--ink) !important;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
  box-shadow: var(--specular);
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  cursor: pointer;
}
button.topbar-btn { margin: 0; }
.topbar-btn-accent {
  background: rgba(126, 182, 255, 0.16);
  border-color: rgba(126, 182, 255, 0.28);
  color: #cfe2ff !important;
}
.topbar-btn:hover { color: #fff !important; background: rgba(255, 255, 255, 0.10); }

.site-header {
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  border-bottom-color: rgba(255, 255, 255, 0.06);
  box-shadow: none;
  position: relative;
  overflow: visible;
}
.site-header::before,
.site-header::after { display: none; }
.site-header > .container-xl { position: relative; z-index: 1; }
.header-brand-row {
  display: grid;
  grid-template-columns: auto minmax(160px, 1fr) auto;
  align-items: center;
  gap: 14px 18px;
  padding: 14px 0 10px;
}
.header-brand-row .logo { flex-shrink: 0; min-width: 0; }
.header-hz-slot {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-hz-slot .hz-zone {
  width: 100%;
  margin: 0;
  justify-content: stretch;
}
.header-hz-slot .hz-open,
.header-hz-slot .hz-frame,
.header-hz-slot .hz-pic {
  width: 100% !important;
  max-width: 100% !important;
  height: 56px !important;
  min-height: 56px;
  border-radius: 14px;
}
.header-hz-slot .hz-open {
  padding: 0 14px;
  font-size: 12px;
  line-height: 1.2;
  color: rgba(242, 244, 248, 0.55);
}
.header-hz-slot .hz-open span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.header-hz-slot .hz-pic {
  background-size: contain;
}
.logo-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.15;
}
.logo-name::first-letter { color: inherit; }
.logo-tagline {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: -0.01em;
  font-weight: 500;
  text-transform: none;
  font-family: var(--font);
}
.social-row { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: space-between; }
.social-links { display: flex; flex-wrap: wrap; gap: 6px; }
.social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-secondary);
  font-size: 12px;
  font-weight: 550;
  line-height: 1.15;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  padding: 0 12px;
  min-height: 30px;
  border-radius: var(--radius-pill);
  letter-spacing: -0.01em;
  text-transform: none;
  box-shadow: var(--specular);
}
.social-row a:hover { color: #fff; border-color: var(--line-strong); background: rgba(255, 255, 255, 0.09); }
.stats-line {
  color: var(--muted);
  font-size: 12px;
  font-family: var(--font-mono);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
.stats-line b { color: var(--ink); font-weight: 600; }
.search-form {
  gap: 0;
  align-items: stretch;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  box-shadow: var(--specular);
  overflow: hidden;
  padding: 3px;
}
.search-form input {
  width: 220px;
  background: transparent;
  border: 0;
  color: var(--ink);
  border-radius: var(--radius-pill);
  font-family: var(--font);
  box-shadow: none;
  min-height: 34px;
}
.search-form input:focus {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  color: #fff;
  outline: none;
}
.search-form input::placeholder { color: rgba(242, 244, 248, 0.38); }
.search-form .btn {
  border-radius: var(--radius-pill);
  padding: 0;
  width: 34px;
  min-height: 34px;
  height: 34px;
  font-size: 15px;
  line-height: 1;
}

.mainnav {
  background: rgba(255, 255, 255, 0.07);
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  position: sticky;
  top: 0;
  z-index: 40;
}
.mainnav-toolbar { display: none; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; }
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: -0.01em;
  text-transform: none;
  font-family: var(--font);
  box-shadow: var(--specular);
}
.nav-toggle-bars {
  width: 16px; height: 11px; display: inline-block;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 100% 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) top / 100% 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) bottom / 100% 1.5px no-repeat;
}
.nav-links { display: flex; flex-wrap: wrap; }
.mainnav a {
  color: var(--ink-secondary);
  padding: 14px 16px;
  font-weight: 600;
  text-transform: none;
  font-size: 14px;
  letter-spacing: -0.015em;
  border-right: 0;
  transition: color .2s var(--ease), background .2s var(--ease);
  font-family: var(--font);
  position: relative;
}
.mainnav .nav-links > a:last-child { border-right: 0; }
.mainnav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}
.mainnav a.active {
  color: #fff;
  background: transparent;
}
.mainnav a.active::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 2px;
  border-radius: var(--radius-pill);
  background: rgba(126, 182, 255, 0.9);
}

.subnav {
  background: rgba(255, 255, 255, 0.045);
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  box-shadow: var(--specular);
}
.subnav-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.subnav-scroll { display: flex; flex-wrap: wrap; align-items: center; min-width: 0; flex: 1 1 auto; }
.subnav-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; padding: 6px 0; }
.subnav a {
  color: var(--muted);
  padding: 10px 12px;
  font-size: 13px;
  text-transform: none;
  font-weight: 550;
  letter-spacing: -0.01em;
  white-space: nowrap;
  border-radius: var(--radius-pill);
}
.subnav a:hover, .subnav a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}
.subnav .btn-sm { font-size: 12px; padding: 6px 14px; }

.layout { display: grid; grid-template-columns: 220px minmax(0, 1fr) 260px; gap: 16px; margin-top: 20px; margin-bottom: 40px; min-width: 0; }
@media (max-width: 1199px) {
  .layout { grid-template-columns: 200px minmax(0, 1fr); }
  .sidebar-right { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
}
.content { min-width: 0; }
.cabinet-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-bottom: 14px;
  padding: 12px 14px;
  font-weight: 650;
  border-radius: var(--radius-pill);
}

.widget {
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.085);
}
.widget-title {
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  font-size: 13px;
  text-transform: none;
  font-weight: 650;
  padding: 12px 16px;
  letter-spacing: -0.01em;
  font-family: var(--font-display);
  border-bottom: 1px solid var(--line);
}
.widget-title.accent {
  color: #d7e6ff;
  background: rgba(126, 182, 255, 0.08);
  border-bottom-color: rgba(126, 182, 255, 0.14);
}
.widget-list { list-style: none; margin: 0; padding: 0; }
.widget-list li {
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}
.widget-list li:last-child { border-bottom: 0; }
.widget-list li:hover { background: rgba(255, 255, 255, 0.035); }
.widget-list .meta { color: var(--muted); font-size: 12px; white-space: nowrap; font-family: var(--font-mono); }
.widget-insurance { text-align: center; padding-bottom: 14px; }
.insurance-amount {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--paying);
  padding: 14px 0 4px;
  letter-spacing: -0.03em;
}
.vote-item { display: block; padding: 10px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.045); font-size: 12px; color: inherit; }
.vote-item:hover { background: rgba(255, 255, 255, 0.035); }
.vote-item .vote-text { color: var(--muted); display: block; margin-top: 2px; line-height: 1.4; }

.status {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 650;
  text-transform: none;
  letter-spacing: -0.01em;
  white-space: nowrap;
  font-family: var(--font);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.status-paying { background: rgba(52, 199, 89, 0.16); color: #86f0a0; border: 1px solid rgba(52, 199, 89, 0.28); }
.status-waiting { background: rgba(255, 214, 10, 0.14); color: #ffe566; border: 1px solid rgba(255, 214, 10, 0.28); }
.status-problem { background: rgba(255, 159, 10, 0.14); color: #ffc266; border: 1px solid rgba(255, 159, 10, 0.28); }
.status-scam { background: rgba(255, 69, 58, 0.14); color: #ff8a82; border: 1px solid rgba(255, 69, 58, 0.28); }
.status-insured { background: rgba(126, 182, 255, 0.14); color: #c5dcff; border: 1px solid rgba(126, 182, 255, 0.28); }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 5px; }
.dot-paying { background: var(--paying); color: var(--paying); }
.dot-waiting { background: var(--waiting); color: var(--waiting); }
.dot-problem { background: var(--problem); color: var(--problem); }
.dot-scam { background: var(--scam); color: var(--scam); }

.tier {
  margin-bottom: 22px;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--tier-color, transparent) 12%, transparent), transparent 42%),
    rgba(255, 255, 255, 0.075);
}
.tier-head {
  display: flex;
  align-items: center;
  color: #fff;
  padding: 12px 18px;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  text-transform: none;
  font-weight: 650;
  font-size: 14px;
  text-transform: none;
  font-weight: 650;
  font-family: var(--font-display);
}
.tier-head .tier-count {
  color: var(--muted);
  font-weight: 500;
  margin-left: 8px;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  font-family: var(--font-mono);
}
.tier-body { min-width: 0; }
.tier .hz-zone {
  margin: 0;
  padding: 12px 14px;
  justify-content: stretch;
  border-bottom: 1px solid var(--line);
}
.tier .hz-open {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 52px;
  border-radius: 12px;
}
.tier .hz-frame {
  max-width: 100% !important;
  width: 100%;
}
.tier .project-card {
  margin: 0;
  border-radius: 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: none;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.tier .project-card:first-of-type { border-top: 0; }
.tier .hz-zone + .project-card { border-top: 0; }
.tier .project-card:hover {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}
.tier-empty {
  padding: 28px;
  color: var(--muted);
  text-align: center;
  border: 0;
  border-radius: 0;
  margin: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.project-card {
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.085);
  transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.project-card:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.11);
  transform: none;
  box-shadow: var(--specular), var(--shadow);
}
.pc-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  color: #fff;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--tier-color, #5a9cf5) 18%, transparent), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.pc-head .pc-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 650;
  color: #fff;
  letter-spacing: -0.02em;
}
.pc-head .pc-name:hover { opacity: .9; }
.pc-pin {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  color: #fff;
  font-family: var(--font-mono);
}
.pc-head .pc-lastpay { font-size: 12px; opacity: .75; margin-left: auto; white-space: nowrap; font-family: var(--font-mono); }
.pc-body { display: grid; grid-template-columns: 168px 1fr; gap: 18px; padding: 16px 18px; }
@media (max-width: 575px) {
  .pc-body { grid-template-columns: 1fr; }
  .pc-head { flex-wrap: wrap; }
  .pc-head .pc-lastpay { margin-left: 0; width: 100%; order: 3; }
  .pc-stats { grid-template-columns: repeat(2, 1fr); gap: 8px 10px; }
  .pc-shot { width: 100%; height: auto; aspect-ratio: 16 / 11; max-width: 100%; }
  .pc-foot a.go { margin-left: 0; flex: 1 1 100%; text-align: center; }
  .ext-monitors { text-align: left; max-width: 100%; }
}
.pc-shot {
  width: 168px;
  height: 116px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #0a1018 url("../img/placeholder.aa178886599c.svg") center / cover;
  display: block;
  box-shadow: var(--specular);
}
.pc-rating { text-align: center; font-size: 12px; color: var(--muted); margin-top: 8px; font-family: var(--font-mono); }
.pc-rating b { color: var(--accent); font-size: 14px; }
.stars { color: #ffd60a; letter-spacing: 1px; font-size: 13px; }
.stars .off { color: rgba(255, 255, 255, 0.16); }
.pc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 16px; }
.pc-stat { border-bottom: 1px solid rgba(255, 255, 255, 0.05); padding-bottom: 7px; }
.pc-stat .lbl { display: block; font-size: 12px; color: var(--muted); text-transform: none; letter-spacing: -0.01em; font-weight: 550; margin-bottom: 2px; }
.pc-stat .val { font-weight: 600; font-size: 16px; font-family: var(--font-mono); color: var(--ink); letter-spacing: -0.02em; }
.roi-bar { height: 4px; background: rgba(255, 255, 255, 0.08); border-radius: var(--radius-pill); margin-top: 6px; overflow: hidden; }
.roi-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent-strong), var(--paying)); border-radius: inherit; }
.pc-row { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; margin-top: 12px; font-size: 12px; }
.pc-row .lbl { color: var(--muted); text-transform: none; font-size: 11px; font-weight: 550; letter-spacing: -0.01em; }
.ps-badge { display: inline-block; font-size: 10px; padding: 2px 7px; border-radius: var(--radius-pill); color: #061018; font-weight: 700; }
.ps-icon { height: 18px; width: auto; vertical-align: middle; border-radius: 4px; }
.pc-plan {
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink-secondary);
  padding: 12px 18px;
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pc-plan b { color: var(--accent); font-weight: 650; }
.pc-desc { padding: 14px 18px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.pc-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  background: rgba(0, 0, 0, 0.18);
  border-top: 1px solid var(--line);
  padding: 4px 6px;
}
.pc-foot a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-secondary);
  font-size: 13px;
  font-weight: 550;
  line-height: 1.15;
  padding: 0 10px;
  min-height: 36px;
  border-radius: var(--radius-pill);
}
.pc-foot a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.pc-foot a.danger { color: #ff8a82; }
.pc-foot a.go {
  margin-left: auto;
  color: #061018;
  background: rgba(126, 182, 255, 0.92);
  font-weight: 650;
  padding: 0 16px;
  text-transform: none;
  letter-spacing: -0.01em;
  box-shadow: var(--specular);
  line-height: 1.15;
}
.pc-foot a.go:hover { background: #9cc6ff; color: #061018; }
.ext-monitors { max-width: 100%; text-align: right; }
.ext-monitors a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 550;
  line-height: 1.2;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 6px 12px;
  margin: 1px;
  color: var(--ink-secondary);
  box-shadow: var(--specular);
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ext-monitors a:hover { background: rgba(126, 182, 255, 0.12); color: #fff; border-color: rgba(126, 182, 255, 0.28); }

.plist .row-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius);
  margin-bottom: 8px;
}
.page-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 16px;
  padding: 14px 18px;
  border-radius: var(--radius);
  letter-spacing: -0.03em;
  text-transform: none;
  color: #fff;
}
.box {
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
}
.box h2, .box h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 650;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--ink);
}
.table {
  --bs-table-bg: transparent;
  --bs-table-color: var(--ink);
  --bs-table-border-color: rgba(255, 255, 255, 0.06);
  --bs-table-striped-bg: rgba(255, 255, 255, 0.025);
  --bs-table-hover-bg: rgba(126, 182, 255, 0.06);
}
.table-sm td, .table-sm th { font-size: 13px; }
.subtabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.subtabs a {
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 13px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-secondary);
  border: 1px solid var(--line);
  letter-spacing: -0.01em;
  text-transform: none;
  box-shadow: var(--specular);
}
.subtabs a.active, .subtabs a:hover {
  background: rgba(126, 182, 255, 0.14);
  border-color: rgba(126, 182, 255, 0.28);
  color: #fff;
}

.hz-zone { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 14px; }
.hz-frame { width: 100%; max-width: 100%; }
.hz-frame:empty { display: none; }
.hz-rotate .hz-item.is-hidden { display: none; }
.hz-item { display: block; line-height: 0; background: transparent; border: 0; box-shadow: none; overflow: hidden; }
.hz-pic {
  width: 100%;
  max-width: calc(var(--hz-w, 728) * 1px);
  aspect-ratio: var(--hz-w, 728) / var(--hz-h, 90);
  background-color: rgba(0, 8, 16, .35);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--specular);
}
.hz-open {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  line-height: 1.4;
  padding: 12px 16px;
  max-width: 100%;
  letter-spacing: -0.01em;
  text-transform: none;
  box-shadow: var(--specular), var(--shadow-soft);
  backdrop-filter: var(--glass);
  -webkit-backdrop-filter: var(--glass);
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.hz-open span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.hz-open span::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex: 0 0 auto;
  background:
    linear-gradient(var(--muted), var(--muted)) center / 10px 1.5px no-repeat,
    linear-gradient(var(--muted), var(--muted)) center / 1.5px 10px no-repeat,
    rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  box-shadow: var(--specular);
}
.hz-open:hover {
  border-color: var(--line-strong);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.09);
}
.hz-open:hover span::before {
  background:
    linear-gradient(#fff, #fff) center / 10px 1.5px no-repeat,
    linear-gradient(#fff, #fff) center / 1.5px 10px no-repeat,
    rgba(126, 182, 255, 0.18);
  border-color: rgba(126, 182, 255, 0.35);
}
.promo-slot-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--specular);
}
.promo-slot-card.free { border-color: rgba(52, 199, 89, 0.28); background: rgba(52, 199, 89, 0.06); }
.bars { display: flex; align-items: flex-end; gap: 2px; height: 90px; }
.bars .bar { flex: 1; background: var(--accent); border-radius: 3px 3px 0 0; min-height: 1px; opacity: .85; }
.bars .bar.views { background: #8e9cff; }
.checks { display: flex; flex-wrap: wrap; gap: 3px; }
.checks span { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.checks .up { background: var(--paying); }
.checks .down { background: var(--scam); }

.site-footer {
  background: rgba(6, 8, 12, 0.72);
  color: var(--muted);
  padding: 32px 0 36px;
  font-size: 13px;
  border-top: 1px solid var(--line);
  margin-top: 8px;
  backdrop-filter: var(--glass);
  -webkit-backdrop-filter: var(--glass);
}
.site-footer a { color: var(--ink-secondary); margin-right: 14px; font-weight: 550; }
.site-footer a:hover { color: #fff; }
.site-footer b { color: #fff; font-family: var(--font-display); font-size: 14px; letter-spacing: -0.02em; }
.footer-col { min-width: 160px; }
.counter {
  display: inline-block;
  background: rgba(255, 255, 255, 0.05);
  color: var(--paying);
  font-family: var(--font-mono);
  font-size: 14px;
  padding: 4px 10px;
  letter-spacing: 2px;
  border-radius: var(--radius-pill);
  margin-top: 8px;
  border: 1px solid rgba(52, 199, 89, 0.22);
  box-shadow: var(--specular);
}
.disclaimer { color: rgba(242, 244, 248, 0.38); margin-top: 10px; line-height: 1.55; }

.form-control, .form-select {
  border-radius: var(--radius-sm);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
  font-size: 14px;
  box-shadow: var(--specular);
}
.form-control:focus, .form-select:focus {
  border-color: rgba(126, 182, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow: 0 0 0 3px var(--accent-soft), var(--specular);
}
.form-control::placeholder { color: rgba(242, 244, 248, 0.35); }
.form-label { font-weight: 600; font-size: 13px; color: var(--ink-secondary); letter-spacing: -0.01em; text-transform: none; }
.form-text { font-size: 12px; color: var(--muted); }
.score-options label { display: inline-block; margin-right: 12px; cursor: pointer; }
.score-options input { margin-right: 4px; }
.code-box {
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  word-break: break-all;
  color: var(--accent);
  box-shadow: var(--specular);
}
.alert { border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.05); color: var(--ink); box-shadow: var(--specular); }
.alert-success { border-color: rgba(52, 199, 89, 0.24); background: rgba(52, 199, 89, 0.08); color: #c8ffdc; }
.alert-danger, .alert-warning { border-color: rgba(255, 69, 58, 0.24); background: rgba(255, 69, 58, 0.08); color: #ffd0d8; }
.pagination .page-link {
  border-radius: var(--radius-pill) !important;
  margin: 0 2px;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent);
  box-shadow: var(--specular);
}
.pagination .page-link:hover { background: rgba(255, 255, 255, 0.09); color: #fff; }
.pagination .page-item.active .page-link { background: rgba(126, 182, 255, 0.92); border-color: transparent; color: #061018; box-shadow: var(--specular); }
.pagination .page-item.disabled .page-link { background: transparent; color: rgba(242, 244, 248, 0.28); border-color: rgba(255, 255, 255, 0.05); box-shadow: none; }

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .5s var(--ease), transform .5s var(--ease);
  }
  .reveal.is-in { opacity: 1; transform: none; }
  .project-card.reveal { transition-delay: var(--reveal-delay, 0ms); }
}

@media (max-width: 991.98px) {
  .header-brand-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px 0 8px;
  }
  .header-brand-row .logo { order: 1; }
  .header-brand-row .search-form { order: 2; width: 100%; max-width: 100%; }
  .header-brand-row .search-form input { width: 100%; min-width: 0; flex: 1 1 auto; }
  .header-hz-slot { order: 3; width: 100%; }
  .header-hz-slot .hz-open,
  .header-hz-slot .hz-frame,
  .header-hz-slot .hz-pic {
    height: 52px !important;
    min-height: 52px;
  }
  .mainnav-toolbar { display: flex; }
  .mainnav-cta { display: inline-flex; }
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    padding-bottom: 8px;
  }
  .mainnav.is-open .nav-links { display: flex; }
  .mainnav .nav-links > a {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 14px 12px;
    width: 100%;
  }
  .mainnav a.active::after { display: none; }
  .subnav { overflow: hidden; }
  .subnav-inner {
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 8px;
    min-width: 0;
    max-width: 100%;
  }
  .subnav-scroll {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    gap: 4px;
    margin: 0;
    padding: 4px 2px 8px;
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
  .subnav-scroll a {
    flex: 0 0 auto;
  }
  .subnav-actions {
    margin-left: 0;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .subnav-actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 42px;
  }
  .layout { grid-template-columns: 1fr; gap: 14px; }
  .sidebar-left { order: 2; }
  .content { order: 1; min-width: 0; }
  .sidebar-right {
    order: 3;
    grid-column: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    min-width: 0;
  }
}

@media (max-width: 767.98px) {
  html, body { overflow-x: clip; }
  body { background-attachment: scroll; font-size: 15px; }
  .container-xl { padding-left: 12px; padding-right: 12px; max-width: 100%; }
  .logo-name { font-size: 18px; }
  .logo-tagline { display: none; }
  .stats-line { width: 100%; font-size: 11px; gap: 4px 10px; }
  .stats-new { display: none; }
  .social-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .topbar-inner { gap: 6px 8px; }
  .topbar-tg { max-width: 38vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .hz-zone { margin-bottom: 10px; max-width: 100%; }
  .hz-open {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 52px;
    font-size: 11px;
    padding: 10px 12px;
  }
  .header-hz-slot .hz-open {
    height: 48px !important;
    min-height: 48px;
    padding: 0 12px;
  }
  .hz-frame { max-width: 100% !important; }
  .table { display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .page-title { font-size: 18px; }
  .box { padding: 14px; }
  .tier { max-width: 100%; }
  .tier-head {
    padding: 10px 12px;
    font-size: 13px;
    gap: 8px;
    flex-wrap: wrap;
  }
  .tier-head .btn-sm {
    margin-left: 0 !important;
    width: 100%;
    justify-content: center;
  }
  .pc-plan { gap: 8px 14px; padding: 10px 12px; }
  .pc-head .pc-name {
    font-size: 15px;
    width: 100%;
    word-break: break-word;
  }
  .pc-head .pc-lastpay { width: 100%; margin-left: 0; }
  .pc-foot {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 8px;
  }
  .pc-foot a {
    padding: 0 8px;
    min-height: 40px;
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .pc-foot a.go {
    grid-column: 1 / -1;
    margin-left: 0;
    width: 100%;
  }
  .pc-row { gap: 6px; }
  .ext-monitors { width: 100%; }
  .ext-monitors a { width: 100%; max-width: 100%; }
  .site-footer .d-flex { flex-direction: column; }
  .footer-col { min-width: 0; width: 100%; }
  .form-label { font-size: 12px; }
  .btn { min-height: 40px; padding-top: 0; padding-bottom: 0; }
  .mainnav-cta { display: none; }
  .project-card:hover { transform: none; }
  .widget { max-width: 100%; }
}

@media (min-width: 992px) {
  .mainnav-toolbar { display: none !important; }
  .nav-links { display: flex !important; }
}

@media (prefers-reduced-transparency: reduce) {
  .topbar, .site-header, .mainnav, .subnav,
  .widget, .project-card, .box, .page-title,
  .plist .row-item, .tier, .site-footer {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--card-solid);
  }
}

/* —— Final polish —— */
::selection {
  background: rgba(126, 182, 255, 0.35);
  color: #fff;
}
:focus-visible {
  outline: 2px solid rgba(126, 182, 255, 0.55);
  outline-offset: 2px;
}
.btn:focus-visible,
.topbar-btn:focus-visible,
.lang-select:focus-visible {
  outline-offset: 1px;
}

.content > .hz-zone:first-child {
  margin-top: 2px;
  margin-bottom: 16px;
}
.content > .hz-zone:first-child .hz-open,
.content > .hz-zone:first-child .hz-pic {
  border-radius: 16px;
}

.widget-list a {
  color: var(--ink-secondary);
  font-weight: 550;
}
.widget-list a:hover { color: #fff; }
.widget-title + .widget-list li:first-child,
.widget-title + .p-3 { border-top: 0; }

.tier-head .btn-sm {
  min-height: 30px;
  padding: 0 12px;
  font-size: 12px;
  line-height: 1.15;
}
.tier .pc-head {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--tier-color, #5a9cf5) 14%, transparent), transparent 50%),
    rgba(255, 255, 255, 0.03);
}
.tier .pc-foot {
  background: rgba(0, 0, 0, 0.14);
}
.pc-head {
  flex-wrap: wrap;
  row-gap: 8px;
}
.pc-head .status { margin-left: 0; }
.ps-badge {
  font-size: 11px;
  padding: 3px 8px;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 600;
  box-shadow: var(--specular);
  filter: saturate(0.85) brightness(0.95);
}
.ps-icon {
  height: 20px;
  border-radius: 5px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.badge.text-bg-info,
.badge.bg-info {
  background: rgba(126, 182, 255, 0.14) !important;
  color: #c5dcff !important;
  border: 1px solid rgba(126, 182, 255, 0.28);
  border-radius: var(--radius-pill);
  font-weight: 650;
  font-size: 11px;
  padding: 4px 10px;
  line-height: 1.15;
  display: inline-flex;
  align-items: center;
}

.site-footer {
  background: rgba(6, 8, 12, 0.55);
  border-top-color: rgba(255, 255, 255, 0.07);
}
.site-footer a {
  display: inline-block;
  margin-bottom: 4px;
}
.footer-featured a {
  display: inline-block;
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.01em;
}
.footer-featured a:hover { color: #fff; }

.cabinet-btn {
  min-height: 44px;
  line-height: 1.15;
  padding: 0 14px;
}

@media (prefers-reduced-motion: no-preference) {
  .btn-accent,
  .topbar-btn,
  .cabinet-btn {
    transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease), transform .15s var(--ease);
  }
  .btn-accent:hover {
    box-shadow: var(--specular), 0 6px 22px rgba(90, 156, 245, 0.28);
  }
}
