
:root,
[data-bs-theme="dark"] {
  --fs-bg: #000;
  --fs-panel: #0d0f14;
  --fs-edge: #1a1f2b;
  --fs-line: rgba(255, 255, 255, .07);
  --fs-muted: #8b93a3;
  --fs-sky: #38bdf8;
  --fs-blue: #2563eb;
  --fs-grad: linear-gradient(90deg, #38bdf8, #2563eb);
  --bs-body-bg: var(--fs-bg);
  --bs-body-color: #fff;
  --bs-body-font-family: "Manrope", system-ui, sans-serif;
  --bs-secondary-color: var(--fs-muted);
  --bs-border-color: var(--fs-line);
  --bs-link-color-rgb: 255, 255, 255;
  --bs-link-hover-color-rgb: 255, 255, 255;
  --bs-heading-color: #fff;
  --bs-emphasis-color: #fff;
}

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }
h1, h2, h3, .h1, .h2, .h3, .fs-nav .navbar-brand, .fs-foot .brand, .rank, .num, .facts dt, .not-found .big { font-family: "Outfit", system-ui, sans-serif; }
h1, h2, h3, .h1, .h2, .h3 { font-weight: 800; line-height: 1.08; letter-spacing: -.01em; }
.text-muted, .text-secondary { color: var(--fs-muted) !important; }
.text-grad { background: var(--fs-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.fs-nav { background: rgba(0, 0, 0, .85); backdrop-filter: blur(10px); border-bottom: 3px solid var(--fs-edge); }
.fs-nav .navbar-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: .06em; }
.fs-nav .navbar-brand b { background: var(--fs-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-mark { width: 26px; height: 26px; border-radius: 8px; background: var(--fs-grad); box-shadow: 0 3px 0 #1e3a8a; position: relative; flex: none; }
.brand-mark::after { content: ""; position: absolute; left: 10px; top: 7px; border-left: 9px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.fs-nav .nav-link { color: var(--fs-muted); font-weight: 500; border-radius: 10px; padding: 8px 12px !important; }
.fs-nav .nav-link:hover, .fs-nav .nav-link.active { color: #fff; background: var(--fs-panel); }
.fs-nav .navbar-toggler { border: 0; box-shadow: none; }

.hero { padding-block: 72px 56px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--fs-muted); font-size: 14px; font-weight: 500; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--fs-sky); box-shadow: 0 0 0 4px rgba(56, 189, 248, .2); }
.hero h1 { font-size: clamp(38px, 6.4vw, 72px); letter-spacing: -.02em; }
.lead { color: var(--fs-muted); font-weight: 500; max-width: 640px; }

.panel { border-radius: 18px; background: var(--fs-panel); border: 1px solid rgba(255, 255, 255, .06); box-shadow: 0 4px 0 var(--fs-edge); }
.facts { max-width: 860px; padding: 18px 8px; }
.facts .col + .col { border-left: 1px solid var(--fs-line); }
.facts dt { font-size: 22px; font-weight: 700; }
.facts dd { margin: 2px 0 0; color: var(--fs-muted); font-size: 13px; }

.section { padding-block: 28px 40px; }
.section h2 { font-size: clamp(26px, 3.6vw, 34px); margin-bottom: 22px; }

.sites { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.site { display: grid; grid-template-columns: 76px 1fr auto; align-items: center; gap: 20px; padding: 22px 24px; transition: transform .2s, box-shadow .2s; }
.site:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--fs-edge); }
.site.top-pick { border: 2px solid transparent; background: linear-gradient(var(--fs-panel), var(--fs-panel)) padding-box, var(--fs-grad) border-box; }
.rank { font-size: 64px; font-weight: 700; line-height: 1; text-align: center; color: var(--fs-bg); -webkit-text-stroke: 2px rgba(255, 255, 255, .85); }
.top-pick .rank { -webkit-text-stroke: 0; background: var(--fs-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.site h3 { font-size: 22px; margin: 0; }
.site h3 a { text-decoration: none; }
.site h3 a:hover { text-decoration: underline; text-decoration-color: var(--fs-sky); text-underline-offset: 4px; }
.host { margin: 2px 0 6px; color: var(--fs-muted); font-size: 13px; }
.about { margin: 0; color: #c7cede; font-size: 15px; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; }
.tags li { padding: 3px 10px; border-radius: 999px; background: var(--fs-edge); color: var(--fs-muted); font-size: 12px; font-weight: 500; }

.btn-visit { --bs-btn-bg: var(--fs-blue); --bs-btn-color: #fff; --bs-btn-hover-bg: #3b82f6; --bs-btn-hover-color: #fff; --bs-btn-active-bg: #1d4ed8; --bs-btn-active-color: #fff; --bs-btn-border-width: 0; --bs-btn-padding-x: 26px; --bs-btn-padding-y: 12px; --bs-btn-border-radius: 12px; --bs-btn-font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 4px 0 #1e3a8a; transition: transform .15s, box-shadow .15s; }
.btn-visit::after { content: ""; border-left: 7px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.btn-visit:hover { transform: translateY(-1px); box-shadow: 0 5px 0 #1e3a8a; }
.btn-visit:active { transform: translateY(3px); box-shadow: 0 1px 0 #1e3a8a; }

.step { padding: 24px; height: 100%; }
.num { display: inline-block; margin-bottom: 14px; font-weight: 700; font-size: 14px; letter-spacing: .1em; background: var(--fs-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { margin: 0; color: var(--fs-muted); font-size: 15px; }

.accordion { --bs-accordion-bg: transparent; --bs-accordion-border-color: var(--fs-line); --bs-accordion-btn-color: #fff; --bs-accordion-active-color: #fff; --bs-accordion-active-bg: transparent; --bs-accordion-btn-focus-box-shadow: none; --bs-accordion-btn-padding-x: 0; --bs-accordion-body-padding-x: 0; --bs-accordion-border-radius: 0; --bs-accordion-inner-border-radius: 0; }
.accordion-item { border-left: 0; border-right: 0; border-top: 0; }
.accordion-button { font-size: 18px; font-weight: 500; }
.accordion-button::after { background-image: none !important; content: "+"; color: var(--fs-sky); font-size: 24px; font-weight: 700; width: auto; height: auto; line-height: 1; }
.accordion-button:not(.collapsed)::after { transform: rotate(45deg); }
.accordion-body { color: var(--fs-muted); padding-top: 0; }

.page-head { padding-block: 64px 24px; }
.page-head h1 { font-size: clamp(34px, 5vw, 54px); }
.crumbs { --bs-breadcrumb-divider-color: var(--fs-muted); --bs-breadcrumb-item-active-color: var(--fs-muted); font-size: 14px; margin-bottom: 14px; }
.crumbs a { color: var(--fs-muted); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.prose { max-width: 760px; padding: 28px 32px; margin-bottom: 40px; }
.prose h2 { font-size: 22px; margin: 28px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #c7cede; }
.prose a { text-decoration-color: var(--fs-sky); text-underline-offset: 3px; }

.fs-foot { margin-top: 40px; padding: 36px 0 44px; border-top: 3px solid var(--fs-edge); }
.fs-foot .brand { font-weight: 700; letter-spacing: .06em; }
.fs-foot .brand b { background: var(--fs-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fs-foot .nav-link { color: var(--fs-muted); padding: 4px 10px; font-size: 14px; }
.fs-foot .nav-link:hover { color: #fff; }
.fs-foot .note { max-width: 620px; color: var(--fs-muted); font-size: 13px; }
.fs-foot .copy { color: #5b6273; font-size: 12px; }

.not-found { padding-block: 110px 80px; }
.not-found .big { font-size: clamp(90px, 18vw, 180px); font-weight: 700; line-height: 1; }

a:focus-visible, button:focus-visible { outline: 2px solid var(--fs-sky); outline-offset: 3px; border-radius: 8px; }

@media (max-width: 767.98px) {
  .hero { padding-block: 48px 36px; }
  .facts .col:nth-child(3) { border-left: 0; }
  .site { grid-template-columns: 52px 1fr; gap: 14px; padding: 18px; }
  .rank { font-size: 44px; }
  .site .btn-visit { grid-column: 1 / -1; }
  .prose { padding: 22px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

.site { grid-template-columns: 76px 210px 1fr auto; }
.shot { display: block; position: relative; border-radius: 12px; overflow: hidden; background: var(--fs-edge); aspect-ratio: 16 / 10; }
.shot img { position: relative; display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .3s; }
.site:hover .shot img { transform: scale(1.03); }

@media (max-width: 991.98px) {
  .site { grid-template-columns: 64px 160px 1fr; }
  .site .btn-visit { grid-column: 1 / -1; }
}
@media (max-width: 575.98px) {
  .site { grid-template-columns: 52px 1fr; }
  .shot { grid-column: 1 / -1; grid-row: 1; }
}
