:root {
  --bg: #eef2e8;
  --panel: #f6f8f2;
  --panel-alt: #ffffff;
  --panel-soft: #edf2e8;
  --text: #1f2823;
  --muted: #6f7b73;
  --line: rgba(43, 56, 47, 0.1);
  --accent: #8ac63f;
  --accent-soft: rgba(138, 198, 63, 0.16);
  --danger: #f48b8b;
  --body-glow: rgba(138, 198, 63, 0.14);
  --body-start: #f9fbf5;
  --body-end: #edf2e7;
  --body-sheen: rgba(25, 37, 28, 0.018);
  --hero-bubble-fill: rgba(183, 221, 116, 0.12);
  --hero-bubble-fill-soft: rgba(204, 233, 153, 0.06);
  --hero-bubble-ring: rgba(147, 188, 79, 0.08);
  --hero-bubble-shadow: rgba(138, 198, 63, 0.1);
  --hero-bubble-highlight: rgba(255, 255, 255, 0.22);
  --hero-bubble-logo-opacity: 0.95;
  --hero-bubble-logo-filter: saturate(1) contrast(1) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.04));
  --topbar-bg: rgba(248, 250, 244, 0.88);
  --topbar-border: rgba(43, 56, 47, 0.08);
  --nav-link: #5c6861;
  --control-bg: #f2f5ee;
  --control-bg-hover: #e8eee2;
  --control-text: #5f6963;
  --search-bg: #ffffff;
  --search-shell-bg: rgba(255, 255, 255, 0.34);
  --search-shell-border: rgba(255, 255, 255, 0.3);
  --search-shell-shadow: 0 14px 30px rgba(103, 129, 74, 0.09);
  --search-placeholder: #93a098;
  --switch-bg-start: rgba(255, 255, 255, 0.88);
  --switch-bg-end: rgba(241, 246, 237, 0.94);
  --switch-border: rgba(43, 56, 47, 0.07);
  --tab-bg: rgba(255, 255, 255, 0.4);
  --tab-border: rgba(255, 255, 255, 0.22);
  --tab-hover-bg: rgba(255, 255, 255, 0.56);
  --tab-text: #667169;
  --tab-hover-text: #253128;
  --tab-active-text: #233028;
  --section-header-bg: #f7faf4;
  --panel-grad-start: #ffffff;
  --panel-grad-end: #f4f7f1;
  --panel-grad-hover-start: #ffffff;
  --panel-grad-hover-end: #eef3e9;
  --hover-panel-bg: rgba(247, 250, 244, 0.98);
  --hover-panel-title: #223126;
  --hover-panel-copy: #4f5e55;
  --tag-bg: rgba(43, 56, 47, 0.06);
  --tag-text: #68736b;
  --feature-tab-bg: #edf1e7;
  --feature-tab-border: rgba(43, 56, 47, 0.08);
  --feature-tab-text: #56625a;
  --feature-tab-hover-bg: #e4eadb;
  --feature-tab-hover-text: #203025;
  --feature-tab-active-text: #2b4711;
  --feature-tab-active-bg-start: #ecf9d7;
  --feature-tab-active-bg-end: #deefbb;
  --feature-tab-active-border: rgba(138, 198, 63, 0.42);
  --feature-tab-active-shadow: rgba(138, 198, 63, 0.2);
  --rail-fade-solid: rgba(238, 242, 232, 0.96);
  --footer-bg: rgba(248, 250, 244, 0.7);
  --footer-border: rgba(255, 255, 255, 0.44);
  --footer-text: #253028;
  --footer-muted: rgba(67, 82, 72, 0.76);
  --footer-link: #2e392f;
  --footer-soft: rgba(255, 255, 255, 0.42);
  --footer-soft-strong: rgba(43, 56, 47, 0.1);
  --footer-chip-bg: rgba(138, 198, 63, 0.14);
  --footer-chip-text: #466220;
  --footer-shadow: 0 24px 46px rgba(103, 129, 74, 0.12);
  --dialog-bg: #f8faf5;
  --dialog-backdrop: rgba(24, 30, 26, 0.28);
  --radius-xl: 18px;
  --radius-lg: 14px;
  --radius-md: 12px;
  --shadow: 0 18px 40px rgba(62, 79, 68, 0.14);
}

[data-theme="dark"] {
  --bg: #1f2527;
  --panel: #272d30;
  --panel-alt: #31383c;
  --panel-soft: #242a2d;
  --text: #edf1ef;
  --muted: #9aa49f;
  --line: rgba(255, 255, 255, 0.08);
  --body-glow: rgba(138, 198, 63, 0.1);
  --body-start: #262c2f;
  --body-end: #1f2527;
  --body-sheen: rgba(255, 255, 255, 0.015);
  --hero-bubble-fill: rgba(126, 167, 64, 0.14);
  --hero-bubble-fill-soft: rgba(143, 181, 79, 0.08);
  --hero-bubble-ring: rgba(138, 198, 63, 0.09);
  --hero-bubble-shadow: rgba(138, 198, 63, 0.12);
  --hero-bubble-highlight: rgba(255, 255, 255, 0.08);
  --hero-bubble-logo-opacity: 0.94;
  --hero-bubble-logo-filter: saturate(0.98) contrast(1) brightness(0.99) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
  --topbar-bg: rgba(35, 40, 43, 0.88);
  --topbar-border: rgba(255, 255, 255, 0.05);
  --nav-link: #d5d9dd;
  --control-bg: #2d3337;
  --control-bg-hover: #343a3e;
  --control-text: #a9b1b8;
  --search-bg: #2a2f33;
  --search-shell-bg: rgba(40, 46, 49, 0.3);
  --search-shell-border: rgba(255, 255, 255, 0.06);
  --search-shell-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  --search-placeholder: #7f878e;
  --switch-bg-start: rgba(40, 45, 48, 0.96);
  --switch-bg-end: rgba(31, 35, 38, 0.96);
  --switch-border: rgba(255, 255, 255, 0.05);
  --tab-bg: rgba(255, 255, 255, 0.05);
  --tab-border: rgba(255, 255, 255, 0.08);
  --tab-hover-bg: rgba(255, 255, 255, 0.09);
  --tab-text: #c1c8ce;
  --tab-hover-text: #edf6dc;
  --tab-active-text: #edf6dc;
  --section-header-bg: #2a2f33;
  --panel-grad-start: #2f3438;
  --panel-grad-end: #292e31;
  --panel-grad-hover-start: #33383c;
  --panel-grad-hover-end: #2c3134;
  --hover-panel-bg: rgba(12, 14, 16, 0.98);
  --hover-panel-title: #dcebc1;
  --hover-panel-copy: #abb2b8;
  --tag-bg: rgba(255, 255, 255, 0.04);
  --tag-text: #8a9198;
  --feature-tab-bg: rgba(255, 255, 255, 0.05);
  --feature-tab-border: rgba(255, 255, 255, 0.04);
  --feature-tab-text: #b8c0c7;
  --feature-tab-hover-bg: rgba(255, 255, 255, 0.08);
  --feature-tab-hover-text: #edf6dc;
  --feature-tab-active-text: #edf6dc;
  --feature-tab-active-bg-start: rgba(138, 198, 63, 0.24);
  --feature-tab-active-bg-end: rgba(138, 198, 63, 0.12);
  --feature-tab-active-border: rgba(138, 198, 63, 0.24);
  --feature-tab-active-shadow: rgba(138, 198, 63, 0.16);
  --rail-fade-solid: rgba(31, 37, 39, 0.94);
  --footer-bg: #24292c;
  --footer-border: rgba(255, 255, 255, 0.06);
  --footer-text: #edf1ef;
  --footer-muted: rgba(237, 241, 239, 0.64);
  --footer-link: #f2f6f3;
  --footer-soft: rgba(255, 255, 255, 0.04);
  --footer-soft-strong: rgba(255, 255, 255, 0.07);
  --footer-chip-bg: rgba(138, 198, 63, 0.15);
  --footer-chip-text: #d8ebb8;
  --footer-shadow: 0 26px 50px rgba(14, 18, 16, 0.16);
  --dialog-bg: #202325;
  --dialog-backdrop: rgba(0, 0, 0, 0.58);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

#core,
#social,
#news,
#feature-shelves-section {
  scroll-margin-top: 112px;
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top center, var(--body-glow), transparent 24%),
    linear-gradient(180deg, var(--body-start) 0%, var(--body-end) 100%);
  color: var(--text);
  font-family: "IBM Plex Sans", sans-serif;
  transition:
    background 220ms ease,
    color 220ms ease;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: linear-gradient(transparent, var(--body-sheen));
}

body[data-market-view="vpn"] {
  --accent: #39b88f;
  --accent-soft: rgba(57, 184, 143, 0.16);
  --body-glow: rgba(57, 184, 143, 0.12);
  --body-start: #f8fbf7;
  --body-end: #edf5f0;
  --section-header-bg: #f7fbf8;
  --panel-grad-start: #ffffff;
  --panel-grad-end: #f4faf6;
  --panel-grad-hover-start: #ffffff;
  --panel-grad-hover-end: #eef8f2;
}

[data-theme="dark"] body[data-market-view="vpn"] {
  --accent: #56d5ad;
  --accent-soft: rgba(86, 213, 173, 0.16);
  --body-glow: rgba(86, 213, 173, 0.1);
  --body-start: #252c2c;
  --body-end: #1f2526;
  --section-header-bg: #2a3233;
  --panel-grad-start: #303839;
  --panel-grad-end: #2a3132;
  --panel-grad-hover-start: #343c3d;
  --panel-grad-hover-end: #2d3435;
}

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

button,
input {
  font: inherit;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1280px, calc(100vw - 20px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 0 14px;
  background: var(--topbar-bg);
  border-bottom: 1px solid var(--topbar-border);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-logo {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(138, 198, 63, 0.22), rgba(138, 198, 63, 0.08));
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  overflow: hidden;
}

.brand-logo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-name,
.section-header h2,
.hero h1 {
  font-family: "Sora", sans-serif;
}

.brand-name {
  font-size: 0.96rem;
  font-weight: 600;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.main-nav a {
  position: relative;
  padding: 18px 2px 16px;
  color: var(--nav-link);
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
}

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

.main-nav a.is-active,
.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--accent);
}

.main-nav a.is-active::after,
.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--accent);
}

.theme-toggle,
.nav-search {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--control-bg);
  color: var(--control-text);
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
}

.theme-toggle:hover,
.theme-toggle:focus-visible,
.nav-search:hover,
.nav-search:focus-visible {
  transform: translateY(-1px);
  background: var(--control-bg-hover);
  border-color: rgba(138, 198, 63, 0.18);
}

.theme-toggle:focus-visible,
.nav-search:focus-visible {
  outline: none;
}

.theme-toggle-icon {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.96rem;
  line-height: 1;
}

.theme-toggle-label {
  font-size: 0.88rem;
  font-weight: 600;
}

.page-main {
  padding: 12px 0 36px;
}

.hero {
  position: relative;
  padding: 28px 16px 18px;
  min-height: 296px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 28%, rgba(179, 219, 104, 0.08), transparent 20%),
    radial-gradient(circle at 82% 24%, rgba(179, 219, 104, 0.08), transparent 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 55%);
}

.hero-bubble-cloud {
  position: absolute;
  inset: 6px 0 0;
  pointer-events: none;
  z-index: 0;
}

.token-bubble {
  --bubble-size: 94px;
  --icon-scale: 0.44;
  --bubble-visual-opacity: 0.96;
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: var(--bubble-size);
  height: var(--bubble-size);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, var(--hero-bubble-highlight), transparent 26%),
    radial-gradient(circle at center, var(--hero-bubble-fill) 0%, var(--hero-bubble-fill) 62%, var(--hero-bubble-fill-soft) 80%, transparent 100%);
  box-shadow:
    inset 0 0 0 0.7px var(--hero-bubble-ring),
    0 0 34px var(--hero-bubble-shadow);
  opacity: var(--bubble-visual-opacity);
  transform: translate3d(0, 0, 0);
  transition:
    opacity 280ms ease,
    box-shadow 320ms ease;
  will-change: transform;
}

.token-bubble-image {
  position: relative;
  z-index: 1;
  width: calc(var(--bubble-size) * var(--icon-scale));
  height: calc(var(--bubble-size) * var(--icon-scale));
  object-fit: contain;
  opacity: var(--bubble-logo-opacity, var(--hero-bubble-logo-opacity));
  filter: var(--hero-bubble-logo-filter);
}

.token-bubble::before,
.token-bubble::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.token-bubble::before {
  inset: 9%;
  border: 0.75px solid rgba(255, 255, 255, 0.06);
  opacity: 0.58;
}

.token-bubble::after {
  inset: auto 20% 16% 20%;
  height: 12%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  filter: blur(8px);
  opacity: 0.85;
}

.token-bubble-btc {
  --bubble-size: 186px;
  --bubble-left: calc(50% - 93px);
  --bubble-top: 92px;
  --float-x: 9px;
  --float-y: 10px;
  --bubble-duration: 7.2s;
  --icon-scale: 0.64;
}

.token-bubble-eth {
  --bubble-size: 142px;
  --bubble-left: calc(32% - 71px);
  --bubble-top: 114px;
  --float-x: -8px;
  --float-y: 10px;
  --bubble-duration: 7.8s;
  --icon-scale: 0.6;
}

.token-bubble-usdt {
  --bubble-size: 140px;
  --bubble-left: calc(68% - 70px);
  --bubble-top: 112px;
  --float-x: 6px;
  --float-y: 7px;
  --bubble-duration: 6.1s;
  --icon-scale: 0.82;
}

.token-bubble-usdc {
  --bubble-size: 92px;
  --bubble-left: calc(50% - 46px);
  --bubble-top: 178px;
  --float-x: -5px;
  --float-y: 7px;
  --bubble-duration: 6.5s;
  --icon-scale: 0.76;
}

.token-bubble-trx {
  --bubble-size: 66px;
  --bubble-left: 5%;
  --bubble-top: 34px;
  --float-x: 7px;
  --float-y: 8px;
  --bubble-duration: 6.7s;
  --icon-scale: 0.74;
}

.token-bubble-sol {
  --bubble-size: 74px;
  --bubble-left: 10%;
  --bubble-top: 186px;
  --float-x: 9px;
  --float-y: 10px;
  --bubble-duration: 7.4s;
  --icon-scale: 0.72;
}

.token-bubble-bnb {
  --bubble-size: 72px;
  --bubble-left: calc(100% - 6% - 72px);
  --bubble-top: 30px;
  --float-x: -6px;
  --float-y: 8px;
  --bubble-duration: 6.3s;
  --icon-scale: 0.76;
}

.token-bubble-xrp {
  --bubble-size: 72px;
  --bubble-left: calc(100% - 11% - 72px);
  --bubble-top: 184px;
  --float-x: 8px;
  --float-y: -6px;
  --bubble-duration: 6.8s;
  --icon-scale: 0.76;
}

.token-bubble-doge {
  --bubble-size: 70px;
  --bubble-left: 76%;
  --bubble-top: 188px;
  --float-x: -7px;
  --float-y: -7px;
  --bubble-duration: 6.2s;
  --icon-scale: 0.76;
}

@keyframes heroBubbleFloat {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(var(--float-x), calc(var(--float-y) * -1), 0);
  }
  100% {
    transform: translate3d(calc(var(--float-x) * -0.72), var(--float-y), 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .token-bubble {
    animation: none;
  }
}

.hero-search {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}

.search-tabs {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 14px;
}

.search-tab {
  position: relative;
  padding: 0 0 10px;
  border: 0;
  background: transparent;
  color: #bfc5cb;
  cursor: pointer;
  font-weight: 600;
}

.search-tab.is-active {
  color: var(--text);
}

.search-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--text);
}

.search-form {
  display: flex;
  gap: 10px;
  padding: 7px;
  border: 1px solid var(--search-shell-border);
  border-radius: 18px;
  background: var(--search-shell-bg);
  box-shadow: var(--search-shell-shadow);
  backdrop-filter: blur(16px) saturate(1.08);
  -webkit-backdrop-filter: blur(16px) saturate(1.08);
}

.search-form input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  outline: none;
}

.search-form input::placeholder {
  color: var(--search-placeholder);
}

.search-form input:focus {
  border-color: rgba(138, 198, 63, 0.34);
  background: rgba(255, 255, 255, 0.05);
}

.search-form button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--accent);
  color: #101111;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(138, 198, 63, 0.18);
}

.search-meta {
  margin: 10px 0 0;
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted);
}

.market-switch-wrap {
  padding: 0 10px 6px;
}

.market-switch {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--search-shell-border);
  background: var(--search-shell-bg);
  box-shadow: var(--search-shell-shadow);
  backdrop-filter: blur(16px) saturate(1.08);
  -webkit-backdrop-filter: blur(16px) saturate(1.08);
  overflow-x: auto;
  scrollbar-width: none;
}

.market-switch::-webkit-scrollbar {
  display: none;
}

.market-tab {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--tab-border);
  border-radius: 12px;
  background: var(--tab-bg);
  color: var(--tab-text);
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.market-tab:hover,
.market-tab:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(138, 198, 63, 0.18);
  background: var(--tab-hover-bg);
  color: var(--tab-hover-text);
}

.market-tab.is-active {
  border-color: rgba(138, 198, 63, 0.28);
  background: linear-gradient(180deg, rgba(138, 198, 63, 0.22), rgba(138, 198, 63, 0.12));
  color: var(--tab-active-text);
  box-shadow: inset 0 0 0 1px rgba(138, 198, 63, 0.08);
}

.market-tab:focus-visible {
  outline: none;
}

.portal-section {
  margin-top: 14px;
  padding: 0 0 10px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 10px;
  margin-bottom: 12px;
  border-radius: var(--radius-lg);
  background: var(--section-header-bg);
}

.section-header h2 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.section-more {
  color: var(--muted);
  font-size: 0.9rem;
}

.section-header-side {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-width: 0;
}

.section-header-side-social {
  justify-self: end;
}

.section-link-more {
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.section-link-more:hover,
.section-link-more:focus-visible {
  color: var(--text);
  transform: translateY(-1px);
  outline: none;
}

.section-note {
  margin: 10px 4px 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.section-note a {
  color: var(--accent);
  font-weight: 600;
}

.section-note a:hover,
.section-note a:focus-visible {
  color: var(--text);
  outline: none;
}

.social-section-header {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.social-section-header h2 {
  justify-self: start;
}

.social-filter-tabs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-self: center;
}

.social-filter-tabs:empty {
  display: none;
}

.social-section-header .section-more {
  justify-self: end;
  text-align: right;
}

.social-filter-tab {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-grad-start);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.social-filter-tab:hover,
.social-filter-tab:focus-visible {
  transform: translateY(-1px);
  color: var(--text);
  border-color: rgba(138, 198, 63, 0.24);
  background: var(--control-bg-hover);
}

.social-filter-tab.is-active {
  color: var(--feature-tab-active-text);
  border-color: var(--feature-tab-active-border);
  background: linear-gradient(180deg, var(--feature-tab-active-bg-start), var(--feature-tab-active-bg-end));
  box-shadow: 0 10px 24px -18px var(--feature-tab-active-shadow);
}

.social-filter-tab:focus-visible {
  outline: none;
}

.core-grid,
.core-page-grid,
.entry-grid,
.directory-grid {
  display: grid;
  gap: 12px;
  grid-auto-rows: 1fr;
}

.core-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.core-page-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.entry-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.directory-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
  max-height: 560px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 6px;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(138, 198, 63, 0.26) rgba(255, 255, 255, 0.04);
}

.directory-grid::-webkit-scrollbar {
  width: 10px;
}

.directory-grid::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
}

.directory-grid::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(138, 198, 63, 0.28), rgba(138, 198, 63, 0.14));
  border-radius: 999px;
  border: 2px solid rgba(0, 0, 0, 0);
  background-clip: padding-box;
}

.news-rail,
.core-rail,
.social-rail {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  gap: 10px;
  align-items: center;
}

.news-viewport,
.core-viewport,
.social-viewport {
  position: relative;
  min-width: 0;
}

.core-viewport {
  overflow-x: auto;
  overflow-y: visible;
  padding: 2px 2px 10px;
  scrollbar-width: none;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.core-viewport::-webkit-scrollbar {
  display: none;
}

.core-pages {
  display: flex;
  gap: 14px;
}

.core-page {
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: start;
}

.core-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding-top: 8px;
}

.core-page-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--tag-bg);
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.core-page-dot:hover,
.core-page-dot:focus-visible {
  transform: scale(1.08);
  background: rgba(220, 239, 179, 0.38);
}

.core-page-dot.is-active {
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(138, 198, 63, 0.12);
}

.core-page-dot:focus-visible {
  outline: none;
}

.news-grid {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 2px 8px;
  scrollbar-width: none;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
}

.news-grid::-webkit-scrollbar {
  display: none;
}

.social-grid {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: visible;
  padding: 2px 2px 10px;
  scrollbar-width: none;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
}

.social-grid::-webkit-scrollbar {
  display: none;
}

.news-fade,
.social-fade {
  position: absolute;
  top: 0;
  bottom: 8px;
  width: 72px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms ease;
  z-index: 1;
}

.news-viewport.is-left-fade-visible .news-fade-left,
.social-viewport.is-left-fade-visible .social-fade-left,
.news-viewport.is-right-fade-visible .news-fade-right,
.social-viewport.is-right-fade-visible .social-fade-right {
  opacity: 1;
}

.news-fade-left,
.social-fade-left {
  left: 0;
  background: linear-gradient(90deg, var(--rail-fade-solid), rgba(0, 0, 0, 0));
}

.news-fade-right,
.social-fade-right {
  right: 0;
  background: linear-gradient(270deg, var(--rail-fade-solid), rgba(0, 0, 0, 0));
}

.news-rail-button,
.core-rail-button,
.social-rail-button {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel-grad-start);
  color: var(--control-text);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    background 180ms ease,
    opacity 180ms ease;
}

.news-rail-button span,
.core-rail-button span,
.social-rail-button span {
  font-size: 1.3rem;
  line-height: 1;
}

.news-rail-button:hover,
.news-rail-button:focus-visible,
.core-rail-button:hover,
.core-rail-button:focus-visible,
.social-rail-button:hover,
.social-rail-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(138, 198, 63, 0.28);
  color: var(--accent);
  background: var(--control-bg-hover);
}

.news-rail-button:focus-visible,
.core-rail-button:focus-visible,
.social-rail-button:focus-visible {
  outline: none;
}

.news-rail-button:disabled,
.core-rail-button:disabled,
.social-rail-button:disabled {
  opacity: 0.38;
  cursor: default;
  transform: none;
}

.portal-card,
.news-card,
.directory-card,
.social-card,
.social-empty-card {
  height: 100%;
}

.news-card-link {
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.news-card-link:hover,
.news-card-link:focus-visible {
  transform: translateY(-2px) scale(1.012);
  border-color: rgba(138, 198, 63, 0.26);
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.34);
}

.news-card-link:focus-visible {
  outline: none;
}

.portal-card {
  position: relative;
  display: block;
  overflow: visible;
  cursor: pointer;
}

.portal-frame,
.news-card,
.directory-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--panel-grad-start) 0%, var(--panel-grad-end) 100%);
  box-shadow: var(--shadow);
}

.portal-frame {
  min-height: 146px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.portal-card:hover .portal-frame,
.portal-card:focus-visible .portal-frame {
  border-color: rgba(138, 198, 63, 0.28);
  transform: translateY(-1px);
  background: linear-gradient(180deg, var(--panel-grad-hover-start) 0%, var(--panel-grad-hover-end) 100%);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.32);
}

.portal-card:focus-visible {
  outline: none;
}

.portal-head {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.portal-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--text);
  font-weight: 700;
  font-size: 1rem;
  background: var(--brand-soft, rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.portal-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 8px;
  display: block;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.04));
}

.portal-icon.is-avatar {
  border-radius: 999px;
  padding: 0;
  background: var(--panel-soft);
}

.portal-icon.is-avatar .portal-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  filter: none;
}

.portal-fallback {
  display: none;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.portal-icon.is-fallback .portal-fallback {
  display: block;
}

.portal-icon.is-fallback .portal-logo {
  display: none;
}

.portal-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
}

.portal-main {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.portal-meta,
.news-meta {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  align-items: center;
  min-width: 0;
  overflow: hidden;
}

.portal-title {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.portal-subtitle,
.directory-card p,
.news-desc,
.site-footer p,
.dialog-card p,
.dialog-list li {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.portal-subtitle,
.news-title,
.news-desc {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.portal-subtitle {
  font-size: 0.84rem;
  line-height: 1.45;
  -webkit-line-clamp: 2;
}

.portal-divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.portal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.portal-go {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--tag-bg);
  color: var(--tag-text);
  font-size: 1.05rem;
  flex: 0 0 auto;
  transition:
    transform 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.portal-card:hover .portal-go,
.portal-card:focus-visible .portal-go {
  transform: translateX(1px);
  color: var(--accent);
  border-color: rgba(138, 198, 63, 0.24);
}

.vpn-card-frame {
  min-height: 248px;
  height: 100%;
  gap: 14px;
}

.vpn-card-head {
  grid-template-columns: 52px minmax(0, 1fr);
}

.vpn-card-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.vpn-card-price {
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(57, 184, 143, 0.1);
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.vpn-card-highlights,
.vpn-card-plan-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-start;
}

.vpn-highlight,
.vpn-plan-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  line-height: 1.2;
}

.vpn-highlight {
  background: rgba(43, 56, 47, 0.05);
  color: var(--text);
}

.vpn-plan-pill {
  background: rgba(57, 184, 143, 0.08);
  color: var(--muted);
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  color: var(--muted);
  background: var(--tag-bg);
}

.pill-accent {
  color: var(--accent);
  background: var(--accent-soft);
}

.portal-note {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--tag-bg);
  color: var(--tag-text);
  font-size: 0.72rem;
  white-space: nowrap;
}

.portal-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  background: rgba(138, 198, 63, 0.12);
  color: #d8efb3;
  font-size: 0.82rem;
  font-weight: 600;
}

.portal-meta .pill {
  white-space: nowrap;
}

.news-page-shell {
  width: min(1240px, calc(100vw - 24px));
}

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

.subpage-hero {
  position: relative;
  overflow: hidden;
  display: block;
  padding: 24px 24px 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(138, 198, 63, 0.18), transparent 32%),
    radial-gradient(circle at left center, rgba(63, 140, 255, 0.14), transparent 28%),
    radial-gradient(circle at bottom left, rgba(243, 186, 47, 0.1), transparent 22%),
    linear-gradient(180deg, var(--panel-grad-start) 0%, var(--panel-grad-end) 100%);
  box-shadow: var(--shadow);
}

.subpage-hero-kicker {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 10px;
}

.subpage-hero h1 {
  margin: 0;
  font-family: "Sora", "IBM Plex Sans", sans-serif;
  max-width: 100%;
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  line-height: 1.16;
  letter-spacing: -0.01em;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.subpage-hero p {
  margin: 10px 0 0;
  max-width: none;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.news-page-switch-wrap {
  padding-top: 0;
}

.news-page-section {
  gap: 16px;
}

.news-page-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.social-page-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.social-page-search-form {
  width: min(420px, 100%);
}

.news-page-search-form {
  width: min(620px, 100%);
}

.news-page-refresh,
.news-page-home-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--panel-bg);
  color: var(--text);
  text-decoration: none;
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}

.news-page-refresh:hover,
.news-page-refresh:focus-visible,
.news-page-home-link:hover,
.news-page-home-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(138, 198, 63, 0.24);
  background: var(--control-bg-hover);
}

.news-page-status {
  min-height: 24px;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.news-page-grid .news-card {
  min-width: 0;
}

.news-page-empty {
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel-bg);
}

.news-page-empty strong,
.news-page-empty p {
  margin: 0;
}

.start-page-shell {
  width: min(1240px, calc(100vw - 24px));
}

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

.legal-page-shell {
  width: min(1360px, calc(100vw - 24px));
}

.legal-page-main {
  display: grid;
  gap: 22px;
}

.legal-hero {
  padding: 22px 18px 8px;
}

.legal-hero-copy {
  max-width: 1080px;
  display: grid;
  gap: 12px;
}

.legal-hero-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.legal-hero h1 {
  margin: 0;
  font-family: "Sora", "IBM Plex Sans", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.06;
}

.legal-hero p {
  margin: 0;
  max-width: 1040px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.9;
}

.start-section {
  display: grid;
  gap: 14px;
}

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


.legal-article {
  max-width: 1080px;
  padding: 0 18px;
}

.legal-copy {
  max-width: 1040px;
}

.legal-copy p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.9;
}

.legal-copy p:last-child {
  margin-bottom: 0;
}

.legal-copy strong {
  color: var(--text);
}

.sitemap-copy a {
  color: var(--text);
  text-decoration: none;
}

.sitemap-copy a:hover,
.sitemap-copy a:focus-visible {
  color: var(--accent);
  outline: none;
}

.start-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.start-card-shell {
  height: 100%;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--panel-grad-start) 0%, var(--panel-grad-end) 100%);
  box-shadow: var(--shadow);
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.start-card:hover .start-card-shell,
.start-card:focus-visible .start-card-shell {
  border-color: rgba(138, 198, 63, 0.28);
  transform: translateY(-1px);
  background: linear-gradient(180deg, var(--panel-grad-hover-start) 0%, var(--panel-grad-hover-end) 100%);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.32);
}

.start-card:focus-visible {
  outline: none;
}

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

.start-card-head-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.start-card-logo {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  object-fit: contain;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
  padding: 3px;
}

.start-card-tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 600;
}

.start-card-body {
  display: grid;
  gap: 8px;
}

.start-card-body h3,
.start-card-body p {
  margin: 0;
}

.start-card-body h3 {
  font-size: 1rem;
  line-height: 1.35;
}

.start-card-body p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.9rem;
}

.related-section {
  padding-top: 8px;
}

.topic-notes-panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--panel-grad-start) 0%, var(--panel-grad-end) 100%);
  box-shadow: var(--shadow);
}

.topic-notes-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

.topic-notes-panel a {
  color: var(--text);
  text-decoration: none;
}

.topic-notes-panel a:hover,
.topic-notes-panel a:focus-visible {
  color: var(--accent);
  outline: none;
}

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

.tools-topic-card {
  display: block;
  color: inherit;
  text-decoration: none;
}

.tools-topic-shell {
  --topic-accent: var(--accent);
  min-height: 286px;
  height: 100%;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--topic-accent) 18%, transparent), transparent 34%),
    linear-gradient(180deg, var(--panel-grad-start) 0%, var(--panel-grad-end) 100%);
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.tools-topic-card:hover .tools-topic-shell,
.tools-topic-card:focus-visible .tools-topic-shell {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--topic-accent) 34%, var(--line));
  box-shadow: 0 24px 42px rgba(0, 0, 0, 0.2);
}

.tools-topic-card:focus-visible {
  outline: none;
}

.tools-topic-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tools-topic-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--topic-accent) 16%, transparent);
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tools-topic-copy {
  display: grid;
  gap: 8px;
}

.tools-topic-copy h3 {
  margin: 0;
  font-size: 1.16rem;
  font-family: "Sora", sans-serif;
}

.tools-topic-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.tools-topic-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tools-topic-logo {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.56);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.tools-topic-logo.is-image img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.tools-topic-logo.is-text {
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.42)),
    color-mix(in srgb, var(--topic-accent) 14%, transparent);
}

.tools-topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tools-topic-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.44);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.tools-topic-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  width: fit-content;
  padding: 0 16px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--topic-accent) 18%, transparent);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
}

.floating-tooltip {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  width: min(340px, calc(100vw - 28px));
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(138, 198, 63, 0.2);
  background: var(--hover-panel-bg);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.24);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, 8px, 0) scale(0.985);
  transition:
    opacity 160ms ease,
    transform 180ms ease,
    visibility 180ms ease;
}

.floating-tooltip.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0) scale(1);
}

.floating-tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 12px;
  height: 12px;
  background: var(--hover-panel-bg);
  border-right: 1px solid rgba(138, 198, 63, 0.2);
  border-bottom: 1px solid rgba(138, 198, 63, 0.2);
  transform: translateX(-50%) rotate(45deg);
}

.floating-tooltip[data-placement="top"]::after {
  bottom: -7px;
}

.floating-tooltip[data-placement="bottom"]::after {
  top: -7px;
  transform: translateX(-50%) rotate(225deg);
}

.floating-tooltip-title {
  display: block;
  margin-bottom: 6px;
  color: var(--hover-panel-title);
  font-size: 0.8rem;
  font-weight: 700;
}

.floating-tooltip-copy {
  margin: 0;
  color: var(--hover-panel-copy);
  font-size: 0.92rem;
  line-height: 1.55;
  word-break: break-word;
}

.portal-hover {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  width: min(280px, calc(100% - 16px));
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--hover-panel-bg);
  border: 1px solid rgba(138, 198, 63, 0.18);
  opacity: 0;
  transform: translate(-50%, 8px);
  pointer-events: none;
  z-index: 6;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.36);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.portal-hover::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 12px;
  height: 12px;
  background: var(--hover-panel-bg);
  border-right: 1px solid rgba(138, 198, 63, 0.18);
  border-bottom: 1px solid rgba(138, 198, 63, 0.18);
  transform: translateX(-50%) rotate(45deg);
}

.portal-card:hover .portal-hover,
.portal-card:focus-visible .portal-hover,
.social-card:hover .portal-hover,
.social-card:focus-visible .portal-hover {
  opacity: 1;
  transform: translate(-50%, 0);
}

.portal-hover-title {
  display: block;
  margin-bottom: 4px;
  color: var(--hover-panel-title);
  font-size: 0.78rem;
  font-weight: 600;
}

.portal-hover-copy {
  margin: 0;
  color: var(--hover-panel-copy);
  font-size: 0.8rem;
  line-height: 1.5;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.news-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 0 0 286px;
  height: 312px;
  scroll-snap-align: start;
}

.vpn-guide-card {
  height: 334px;
}

.news-cover {
  position: relative;
  display: block;
  height: 170px;
  padding: 0;
  background: linear-gradient(135deg, var(--cover-start, #4b5d2f), var(--cover-end, #232628));
  overflow: hidden;
}

.social-card {
  position: relative;
  display: block;
  overflow: visible;
  flex: 0 0 258px;
  scroll-snap-align: start;
  cursor: pointer;
}

.vpn-type-card {
  flex: 0 0 336px;
}

.social-grid .vpn-type-overview {
  min-width: 100%;
}

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

.social-page-section-header {
  align-items: center;
}

.social-card-shell,
.social-empty-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--panel-grad-start) 0%, var(--panel-grad-end) 100%);
  box-shadow: var(--shadow);
}

.social-card-shell {
  min-height: 126px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.social-card:hover .social-card-shell,
.social-card:focus-visible .social-card-shell {
  border-color: rgba(138, 198, 63, 0.28);
  transform: translateY(-1px) scale(1.01);
  background: linear-gradient(180deg, var(--panel-grad-hover-start) 0%, var(--panel-grad-hover-end) 100%);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28);
}

.social-card:focus-visible {
  outline: none;
}

.social-card-head {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.social-card-avatar {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  object-fit: cover;
  display: block;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
}

.social-card-main {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.social-card-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.social-card-title {
  margin: 0;
  min-width: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.social-card-handle,
.social-card-copy,
.social-empty-card p {
  margin: 0;
  color: var(--muted);
}

.social-card-handle {
  font-size: 0.78rem;
  line-height: 1.35;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.social-card-copy {
  font-size: 0.86rem;
  line-height: 1.55;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.social-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.vpn-type-card-shell {
  min-height: 240px;
  gap: 14px;
}

.vpn-type-overview {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--panel-grad-start) 0%, var(--panel-grad-end) 100%);
  box-shadow: var(--shadow);
  padding: 20px;
}

.vpn-type-overview-head {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.vpn-type-overview-head h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.45;
}

.vpn-type-overview-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.vpn-type-overview-mark {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  padding: 0 12px;
  align-items: center;
  border-radius: 999px;
  background: rgba(57, 184, 143, 0.12);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
}

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

.vpn-type-panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.38);
  padding: 16px;
}

.vpn-type-panel-head {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-bottom: 12px;
}

.vpn-type-panel-copy h4 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.vpn-type-panel-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.vpn-type-bullets {
  display: grid;
  gap: 8px;
}

.vpn-type-bullet {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.social-empty-card {
  flex: 0 0 min(420px, 100%);
  min-height: 168px;
  padding: 18px;
  display: grid;
  align-content: center;
  gap: 12px;
}

.social-empty-mark {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.social-empty-card h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.45;
}

.social-empty-card p {
  font-size: 0.86rem;
  line-height: 1.6;
}

.news-cover-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 320ms ease;
}

.news-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 7, 9, 0.1), rgba(5, 7, 9, 0.18) 34%, rgba(5, 7, 9, 0.74));
}

.news-cover.has-image::after {
  background: linear-gradient(180deg, rgba(6, 8, 10, 0.04), rgba(6, 8, 10, 0.12) 28%, rgba(6, 8, 10, 0.84));
}

.news-cover > * {
  position: relative;
  z-index: 1;
}

.news-cover-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.news-cover-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.5;
}

.news-cover-fallback-orb {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.02) 68%, transparent 72%);
  filter: blur(0.2px);
  opacity: 0.72;
}

.news-cover-fallback-sign {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 8px;
}

.news-cover-fallback-text {
  font-family: "Sora", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.22);
  transition: transform 320ms ease;
}

.news-cover-fallback-label {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-kicker {
  display: inline-flex;
  align-items: center;
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 0 8px;
  min-height: 22px;
  border-radius: 999px;
  background: rgba(12, 14, 16, 0.52);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.72rem;
}

.news-cover-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 52px 14px 14px;
  background: linear-gradient(180deg, rgba(4, 6, 8, 0) 0%, rgba(4, 6, 8, 0.18) 18%, rgba(4, 6, 8, 0.76) 58%, rgba(4, 6, 8, 0.94) 100%);
}

.news-cover h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.42);
  color: #f6f8fb;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  max-width: 100%;
  transition: color 180ms ease;
}

.news-body {
  padding: 12px 14px 14px;
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  gap: 8px;
  overflow: hidden;
}

.news-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  -webkit-line-clamp: 2;
}

.news-meta {
  justify-content: space-between;
  font-size: 0.8rem;
  gap: 10px;
}

.news-time,
.news-source {
  color: var(--muted);
}

.news-card-link:hover .news-cover h3,
.news-card-link:focus-visible .news-cover h3 {
  color: #d6efab;
}

.news-card-link:hover .news-cover-image,
.news-card-link:focus-visible .news-cover-image,
.news-card-link:hover .news-cover-fallback-text,
.news-card-link:focus-visible .news-cover-fallback-text {
  transform: scale(1.05);
}

.directory-card {
  padding: 16px;
  display: flex;
  flex-direction: column;
  min-height: 240px;
}

.directory-card h3 {
  margin: 0;
  font-size: 1rem;
}

.directory-card ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  flex: 1;
}

.directory-card li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

.directory-card li:first-child {
  padding-top: 0;
  border-top: 0;
}

.directory-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.directory-link img {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  object-fit: contain;
  flex: 0 0 auto;
}

.directory-link-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.directory-card li > span {
  color: #7f878e;
  font-size: 0.78rem;
  white-space: nowrap;
}

.feature-section {
  margin-top: 16px;
}

.feature-shelves {
  display: grid;
  gap: 16px;
}

.feature-shelf {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--panel-grad-start), var(--panel-grad-end));
  box-shadow: var(--shadow);
}

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

.feature-shelf-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: max-content;
}

.feature-shelf-mark {
  color: #b9c0c6;
  font-size: 1rem;
}

.feature-shelf-title h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 1rem;
}

.feature-tabs-wrap {
  min-width: 0;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  gap: 8px;
  align-items: center;
}

.feature-tabs {
  display: flex;
  gap: 10px;
  min-width: 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.feature-tabs::-webkit-scrollbar {
  display: none;
}

.feature-tabs-nav,
.feature-shelf-more {
  min-height: 34px;
  border-radius: 11px;
  border: 1px solid var(--feature-tab-border);
  background: var(--feature-tab-bg);
  color: var(--feature-tab-text);
  font-weight: 600;
  cursor: pointer;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease,
    opacity 180ms ease;
}

.feature-tabs-nav {
  width: 34px;
  padding: 0;
  font-size: 1.08rem;
  line-height: 1;
}

.feature-tab {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--feature-tab-border);
  border-radius: 11px;
  background: var(--feature-tab-bg);
  color: var(--feature-tab-text);
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.feature-tab:hover,
.feature-tabs-nav:hover,
.feature-shelf-more:hover,
.feature-tab:focus-visible {
  background: var(--feature-tab-hover-bg);
  color: var(--feature-tab-hover-text);
  transform: translateY(-1px);
}

.feature-tabs-nav:focus-visible,
.feature-shelf-more:focus-visible {
  outline: none;
  background: var(--feature-tab-hover-bg);
  color: var(--feature-tab-hover-text);
  transform: translateY(-1px);
}

.feature-tab.is-active {
  color: var(--feature-tab-active-text);
  border-color: var(--feature-tab-active-border);
  background: linear-gradient(180deg, var(--feature-tab-active-bg-start), var(--feature-tab-active-bg-end));
  box-shadow: 0 10px 24px -18px var(--feature-tab-active-shadow);
}

.feature-tab:focus-visible {
  outline: none;
}

.feature-shelf-more {
  padding: 0 14px;
  color: var(--feature-tab-text);
  font-size: 0.84rem;
  white-space: nowrap;
}

.feature-tabs-nav:disabled,
.feature-shelf-more:disabled {
  opacity: 0.42;
  cursor: default;
  transform: none;
}

.feature-links-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(244px, 1fr));
  gap: 10px;
}

.feature-links-rail {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  gap: 10px;
  align-items: center;
}

.feature-links-nav {
  width: 38px;
  min-height: 96px;
  padding: 0;
  border-radius: 16px;
  border: 1px solid var(--feature-tab-border);
  background: var(--feature-tab-bg);
  color: var(--feature-tab-text);
  font-size: 1.18rem;
  line-height: 1;
  cursor: pointer;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease,
    opacity 180ms ease;
}

.feature-links-nav:hover,
.feature-links-nav:focus-visible {
  outline: none;
  background: var(--feature-tab-hover-bg);
  color: var(--feature-tab-hover-text);
  transform: translateY(-1px);
}

.feature-links-nav:disabled {
  opacity: 0.42;
  cursor: default;
  transform: none;
}

.feature-links-grid-horizontal {
  margin-top: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(244px, 26vw, 308px);
  grid-template-columns: none;
  overflow-x: auto;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.feature-links-grid-horizontal::-webkit-scrollbar {
  display: none;
}

.feature-links-grid-horizontal .feature-link {
  min-width: 0;
}

.feature-link {
  min-height: 88px;
  padding: 14px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--panel-soft);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.feature-link:hover,
.feature-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(138, 198, 63, 0.16);
  background: var(--panel);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.18);
}

.feature-link:focus-visible {
  outline: none;
}

.feature-link-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--tag-bg);
  color: var(--text);
  overflow: hidden;
  flex: 0 0 auto;
}

.feature-link-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 6px;
}

.feature-link-fallback {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.feature-link-copy {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.feature-link-copy strong,
.feature-link-copy span {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.feature-link-copy strong {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text);
  -webkit-line-clamp: 1;
}

.feature-link-copy span {
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.45;
  -webkit-line-clamp: 2;
}

.is-hidden {
  display: none !important;
}

.site-footer {
  margin-top: 26px;
  padding: 0 10px 28px;
}

.site-footer-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.95fr);
  gap: 32px;
  padding: 30px 28px;
  border-radius: 26px;
  border: 1px solid var(--footer-border);
  background:
    radial-gradient(circle at top right, rgba(138, 198, 63, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 48%),
    var(--footer-bg);
  box-shadow: var(--footer-shadow);
  backdrop-filter: blur(14px) saturate(1.06);
  -webkit-backdrop-filter: blur(14px) saturate(1.06);
}

.footer-brand-block {
  display: grid;
  gap: 18px;
  align-content: start;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
}

.footer-brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(138, 198, 63, 0.24), rgba(138, 198, 63, 0.08));
  color: var(--accent);
  font-family: "Sora", sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  overflow: hidden;
}

.footer-brand-logo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.footer-brand-copy {
  display: grid;
  gap: 4px;
}

.footer-brand-copy strong {
  color: var(--footer-text);
  font-family: "Sora", sans-serif;
  font-size: 1.38rem;
  line-height: 1;
}

.footer-brand-copy span {
  color: var(--footer-muted);
  font-size: 0.9rem;
}

.footer-description {
  max-width: 620px;
  margin: 0;
  color: var(--footer-muted);
  font-size: 0.98rem;
  line-height: 1.9;
}

.footer-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--footer-chip-bg);
  color: var(--footer-chip-text);
  font-size: 0.84rem;
  font-weight: 600;
}

.footer-links-panel {
  display: grid;
  gap: 24px;
  align-content: start;
}

.footer-utility-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.footer-utility-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--footer-soft-strong);
  background: var(--footer-soft);
  color: var(--footer-link);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}

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

.footer-column {
  display: grid;
  gap: 12px;
  align-content: start;
}

.footer-link-cluster {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}

.footer-column-title {
  color: var(--footer-text);
  font-size: 0.96rem;
  font-weight: 700;
}

.footer-column a,
.footer-placeholder {
  color: var(--footer-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.footer-column a {
  transition: color 180ms ease, transform 180ms ease;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: var(--accent);
  transform: translateX(2px);
}

.footer-placeholder {
  cursor: default;
}

.outbound-dialog {
  width: min(520px, calc(100vw - 24px));
  border: 0;
  padding: 0;
  background: transparent;
}

.outbound-dialog::backdrop {
  background: var(--dialog-backdrop);
  backdrop-filter: blur(5px);
}

.dialog-card {
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--dialog-bg);
}

.dialog-eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dialog-card h2 {
  margin: 0 0 12px;
  font-family: "Sora", sans-serif;
  font-size: 1.45rem;
}

.dialog-list {
  margin: 14px 0 0;
  padding-left: 18px;
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.dialog-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 600;
}

.dialog-button-muted {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.dialog-button-primary {
  background: var(--accent);
  color: #111312;
}

@media (max-width: 1180px) {
  .news-card {
    flex-basis: 272px;
  }

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

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

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

  .directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 620px;
  }
}

@media (max-width: 860px) {
  .page-shell {
    width: min(100vw - 12px, 100%);
  }

  .topbar {
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 10px 12px 10px;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .main-nav a {
    flex: 0 0 auto;
    font-size: 0.86rem;
    padding: 14px 1px 12px;
  }

  .topbar-actions {
    order: 2;
    width: auto;
    justify-content: flex-end;
  }

  .hero {
    min-height: 266px;
    padding-top: 20px;
  }

  .hero-bubble-cloud {
    inset: 12px 0 0;
  }

  .token-bubble {
    --icon-scale: 0.42;
  }

  .token-bubble-btc {
    --bubble-size: 132px;
    --bubble-left: calc(50% - 66px);
    --bubble-top: 120px;
    --icon-scale: 0.64;
  }

  .token-bubble-eth {
    --bubble-size: 100px;
    --bubble-left: calc(28% - 50px);
    --bubble-top: 142px;
    --icon-scale: 0.6;
  }

  .token-bubble-sol {
    --bubble-size: 64px;
    --bubble-left: 6%;
    --bubble-top: 176px;
    --icon-scale: 0.7;
  }

  .token-bubble-usdt {
    --bubble-size: 98px;
    --bubble-left: calc(72% - 49px);
    --bubble-top: 140px;
    --icon-scale: 0.82;
  }

  .token-bubble-usdc {
    --bubble-size: 72px;
    --bubble-left: calc(50% - 36px);
    --bubble-top: 192px;
    --icon-scale: 0.76;
  }

  .token-bubble-trx {
    --bubble-size: 54px;
    --bubble-left: 7%;
    --bubble-top: 38px;
  }

  .token-bubble-bnb {
    --bubble-size: 58px;
    --bubble-left: calc(100% - 8% - 58px);
    --bubble-top: 34px;
    --icon-scale: 0.76;
  }

  .token-bubble-doge {
    display: none;
  }

  .token-bubble-xrp {
    display: none;
  }

  .market-switch {
    gap: 8px;
    padding: 8px;
  }

  .market-tab {
    min-height: 38px;
    padding: 0 14px;
  }

  .search-form,
  .dialog-actions {
    flex-direction: column;
  }

  .search-form button {
    width: 100%;
  }

  .news-rail,
  .core-rail,
  .social-rail {
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    gap: 8px;
  }

  .news-rail-button,
  .core-rail-button,
  .social-rail-button {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .news-fade,
  .social-fade {
    width: 48px;
  }

  .news-card,
  .social-card {
    flex-basis: min(282px, calc(100vw - 120px));
  }

  .vpn-type-overview-grid {
    grid-template-columns: 1fr;
  }

  .core-grid,
  .core-page-grid,
  .entry-grid,
  .directory-grid {
    grid-template-columns: 1fr;
  }

  .directory-grid {
    max-height: 680px;
    padding-right: 2px;
  }

  .feature-shelf-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .feature-tabs-wrap {
    grid-template-columns: 30px minmax(0, 1fr) 30px;
  }

  .feature-shelf-more {
    justify-self: end;
  }

  .feature-links-grid {
    grid-template-columns: 1fr;
  }

  .feature-links-rail {
    grid-template-columns: 1fr;
  }

  .feature-links-nav {
    display: none;
  }

  .feature-links-grid-horizontal {
    display: grid;
    grid-auto-flow: row;
    grid-auto-columns: unset;
    grid-template-columns: 1fr;
    overflow-x: visible;
    scroll-behavior: auto;
    overscroll-behavior-x: auto;
    scrollbar-width: auto;
    padding-bottom: 0;
  }

  .feature-links-grid-horizontal .feature-link {
    width: 100%;
  }

  .portal-card {
    overflow: visible;
  }

  .portal-frame {
    min-height: 142px;
  }

  .subpage-hero {
    padding: 16px 14px 14px;
    border-radius: 22px;
  }

  .subpage-hero-kicker {
    margin-bottom: 6px;
    font-size: 0.74rem;
  }

  .subpage-hero h1 {
    font-size: clamp(1.22rem, 5.2vw, 1.72rem);
    line-height: 1.16;
  }

  .subpage-hero p {
    margin-top: 8px;
    font-size: 0.92rem;
    line-height: 1.58;
  }

  .news-page-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .social-page-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .news-page-search-form {
    width: 100%;
  }

  .social-page-search-form {
    width: 100%;
  }

  .news-page-grid {
    grid-template-columns: 1fr;
  }

  .legal-hero {
    padding: 18px 8px 2px;
  }

  .legal-article {
    padding: 0 8px;
  }

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

  .section-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px;
    gap: 10px;
  }

  .section-header h2 {
    width: 100%;
    white-space: nowrap;
  }

  .section-header-side {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .section-more {
    min-width: 0;
    font-size: 0.84rem;
  }

  .social-section-header {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .social-section-header h2 {
    justify-self: start;
  }

  .social-section-header .section-more {
    justify-self: center;
    text-align: center;
  }

  .section-header-side-social {
    justify-self: stretch;
  }

  .site-footer-shell {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 18px;
  }

  .footer-utility-row {
    justify-content: flex-start;
  }

  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .tools-topic-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
