/* drughub.bestdarknetmarket.net */

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  size-adjust: 105%;
  ascent-override: 90%;
  descent-override: 20%;
  line-gap-override: 0%;
  src: url(fonts/inter-latin.woff2) format("woff2");
}

@font-face {
  font-family: Orbitron;
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  size-adjust: 110%;
  ascent-override: 85%;
  descent-override: 22%;
  line-gap-override: 0%;
  src: url(fonts/orbitron-latin.woff2) format("woff2");
}

:root {
  --bg: #000;
  --surface: #0a0a0a;
  --card: #111;
  --border: #1f1f1f;
  --accent: #3b82f6;
  --accent-dim: rgba(59, 130, 246, 0.12);
  --cyan: #06b6d4;
  --text: #f4f4f5;
  --text-2: #a1a1aa;
  --text-3: #71717a;
  --ok: #22c55e;
  --warn: #eab308;
  --bad: #ef4444;
  --r: 8px;
  --rl: 12px;
  --w: 1180px;
  --hdr: 68px;
  --font: Inter, system-ui, sans-serif;
  --display: Orbitron, var(--font);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: var(--hdr);
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.mobile-menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
svg { display: block; flex-shrink: 0; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--cyan); }

.container {
  width: 100%;
  max-width: var(--w);
  margin-inline: auto;
  padding-inline: 1.15rem;
}

.main { padding-block: 1.75rem 2.5rem; }

.matrix-bg { display: none !important; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.92);
  border-bottom: 1px solid var(--border);
}

.header .container { padding-block: 0.9rem; }

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-text {
  font-family: var(--display);
  font-size: clamp(0.9rem, 2.4vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text);
  text-transform: uppercase;
}

.logo-text:hover { color: var(--accent); }

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.3rem;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-2);
  border: 1px solid transparent;
  border-radius: var(--r);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: var(--accent-dim);
  border-color: rgba(59, 130, 246, 0.35);
}

.nav-icon { width: 16px; height: 16px; }
.dropdown-arrow { width: 12px; height: 12px; transition: transform 0.2s; }
.markets-dropdown.open .dropdown-arrow { transform: rotate(180deg); }

.markets-dropdown { position: relative; }

.markets-menu.dropdown-simple {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: min(300px, 90vw);
  padding: 0.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 200;
}

.markets-menu.dropdown-simple.show,
.markets-dropdown:focus-within .markets-menu.dropdown-simple {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.markets-list { list-style: none; }
.markets-list a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.65rem;
  font-size: 0.85rem;
  color: var(--text-2);
  border-radius: 6px;
}

.markets-list a:hover { background: var(--accent-dim); color: var(--text); }

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-dot.online { background: var(--ok); }
.status-dot.offline { background: var(--warn); }
.status-dot.closed { background: var(--bad); }

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--r);
  cursor: pointer;
}

.hamburger-line {
  width: 22px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
}

.mobile-menu-overlay.active { opacity: 1; visibility: visible; }

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 400;
  width: min(300px, 88vw);
  height: 100%;
  background: var(--card);
  border-left: 1px solid var(--border);
  transform: translateX(100%);
  transition: transform 0.22s ease;
}

.mobile-menu.active { transform: translateX(0); }

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid var(--border);
}

.mobile-menu-header h3 {
  font-family: var(--display);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.mobile-menu-close {
  padding: 0.35rem;
  background: none;
  border: none;
  color: var(--text-2);
  cursor: pointer;
}

.mobile-menu-content { padding: 0.75rem; overflow-y: auto; }

.mobile-nav-link {
  display: block;
  padding: 0.65rem 0.75rem;
  font-size: 0.9rem;
  color: var(--text-2);
  border-radius: 6px;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: var(--accent-dim);
  color: var(--text);
}

.mobile-menu-section { margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid var(--border); }

.mobile-section-title {
  padding: 0 0.75rem 0.4rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* Typography */
.page-header {
  padding: 1.5rem 0 1rem;
  margin-bottom: 1.25rem;
  text-align: center;
}

.page-header h1 {
  font-family: var(--display);
  font-size: clamp(1.2rem, 3.2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.page-header p {
  font-size: 1rem;
  color: var(--text-2);
  max-width: 40rem;
  margin-inline: auto;
}

.main > section > h2,
.market-advantages > h2,
.safety-tips > h2,
.faq-section > h2,
.steps-section > h2,
.prerequisites-section > h2,
.review-section > h2,
.product-categories-deep > h2,
.mirrors-section > h2,
.troubleshoot-section > h2,
.community-forum > h2,
.verification-section > h2,
.why-section > h2,
.related-markets > h3 {
  font-family: var(--display);
  font-size: clamp(0.95rem, 2.3vw, 1.1rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

/* Cards & grids */
.advantage,
.tip-item,
.detail-card,
.step-card,
.related-card,
.mirror-card,
.category-deep-card,
.faq-item,
.quick-link,
.security-item,
.market-info-card,
.prereq-item,
.feature-card,
.troubleshoot-item,
.forum-thread,
.verification-step,
.why-section > div > div {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  padding: 1.1rem;
}

.details-grid,
.advantages-grid,
.tips-list,
.categories-deep-grid,
.mirror-grid,
.quick-links-grid,
.security-grid,
.related-grid,
.feature-grid,
.troubleshoot-grid,
.verification-steps,
.forum-threads,
.prereq-list,
.pros-cons-grid {
  display: grid;
  gap: 0.85rem;
}

.details-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.advantages-grid,
.tips-list { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.categories-deep-grid,
.feature-grid,
.troubleshoot-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.mirror-grid,
.related-grid,
.quick-links-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.pros-cons-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.prereq-list { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.verification-steps { gap: 0.75rem; }

.market-overview,
.market-details,
.market-advantages,
.safety-tips,
.product-categories-deep,
.community-forum,
.related-markets,
.faq-section,
.steps-section,
.prerequisites-section,
.security-tips-section,
.review-section,
.mirrors-section,
.troubleshoot-section,
.verification-section,
.why-section {
  margin-bottom: 2rem;
}

/* Homepage market */
.market-hero { display: grid; gap: 1.25rem; }
.market-actions { order: -1; }

.market-links-container {
  padding: 1.1rem 1.2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--rl);
}

.market-links-title {
  font-family: var(--display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.onion-link-plain {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.onion-link-plain:last-child { border-bottom: none; padding-bottom: 0; }

.onion-link-plain .link-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.onion-link-plain .link-url {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text);
  word-break: break-all;
  user-select: text;
}

.market-info-card h2 {
  font-family: var(--display);
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  margin-bottom: 0.65rem;
}

.market-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
}

.market-status .status-link,
.market-status .rating-link {
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: #94a3b8;
  transition: color 0.2s, border-color 0.2s;
}

.market-status .status-link:hover,
.market-status .rating-link:hover {
  color: var(--accent, #3b82f6);
  border-color: rgba(59, 130, 246, 0.5);
}

.intent-routing-list {
  color: #94a3b8;
  line-height: 1.75;
  padding-left: 1.25rem;
  margin: 0;
}

.intent-routing-list li {
  margin-bottom: 0.5rem;
}

.intent-routing-list a {
  color: #3b82f6;
}

.mirror-note {
  color: #94a3b8;
  font-size: 0.85rem;
  margin: 0.5rem 0 0;
}

.meta-badge.status-ref {
  text-decoration: none;
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.35);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.8rem;
}

.meta-badge.status-ref:hover {
  background: rgba(59, 130, 246, 0.1);
}

.status {
  padding: 0.2rem 0.5rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 4px;
}

.status.online { color: var(--ok); background: rgba(34, 197, 94, 0.12); }
.rating { color: var(--warn); font-size: 0.88rem; }
.market-description { color: var(--text-2); margin-bottom: 0.85rem; line-height: 1.65; }
.market-photo { margin-top: 0.85rem; text-align: center; }

.market-screenshot {
  max-width: 480px;
  margin-inline: auto;
  border-radius: var(--r);
  border: 1px solid var(--border);
}

.detail-card h4,
.advantage h4,
.category-deep-card h4 {
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.advantage strong {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 0.3rem;
}

.advantage p,
.tip-item p { font-size: 0.88rem; color: var(--text-2); line-height: 1.6; }
.tip-item h4 { font-size: 0.92rem; margin-bottom: 0.3rem; }

.categories-list,
.payment-methods,
.security-features,
.shipping-info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.category-item,
.payment-method,
.security-feature,
.shipping-option {
  padding: 0.4rem 0.65rem;
  font-size: 0.82rem;
  color: var(--text-2);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.subcategories-list { list-style: none; margin: 0.4rem 0 0.6rem; }
.subcategories-list li { font-size: 0.82rem; color: var(--text-2); padding: 0.1rem 0; }
.product-count { font-size: 0.72rem; font-weight: 600; color: var(--accent); }
.category-deep-icon { font-size: 1.35rem; margin-bottom: 0.25rem; }

/* Boxes */
.warning-box {
  padding: 1.1rem 1.15rem;
  margin: 1.25rem 0;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--rl);
}

.warning-box h3,
.warning-box h4 { color: var(--bad); margin-bottom: 0.35rem; }
.warning-box p { font-size: 0.88rem; color: var(--text-2); line-height: 1.65; }

.bookmark-reminder {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1.1rem;
  margin: 1.25rem 0;
  background: var(--accent-dim);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--rl);
}

.bookmark-icon { flex-shrink: 0; color: var(--accent); }
.bookmark-icon svg { width: 28px; height: 28px; }
.bookmark-content h4 { margin-bottom: 0.3rem; }
.bookmark-content p { font-size: 0.88rem; color: var(--text-2); line-height: 1.6; }

.verification-section > p,
.why-section > p { color: var(--text-2); margin-bottom: 1rem; line-height: 1.65; }

.verification-step {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.verification-step .step-number,
.step-header .step-number {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  border-radius: 50%;
}

.verification-step h4 { font-size: 0.92rem; margin-bottom: 0.2rem; }
.verification-step p { font-size: 0.86rem; color: var(--text-2); line-height: 1.55; }

.why-section > div {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.85rem;
}

.why-section > div > div { padding: 1rem; }
.why-section > div > div h4 { font-size: 0.9rem; margin-bottom: 0.35rem; }
.why-section > div > div p { font-size: 0.86rem; color: var(--text-2); line-height: 1.55; }

/* Forum */
.thread-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.65rem;
  margin-bottom: 0.5rem;
  font-size: 0.78rem;
}

.thread-author { font-weight: 600; color: var(--text); }

.thread-badge {
  padding: 0.12rem 0.4rem;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 4px;
  background: var(--surface);
  color: var(--text-3);
}

.thread-badge.admin { color: var(--accent); background: var(--accent-dim); }
.thread-badge.verified { color: var(--ok); background: rgba(34, 197, 94, 0.12); }
.thread-badge.mod { color: var(--warn); background: rgba(234, 179, 8, 0.12); }
.thread-date { color: var(--text-3); margin-left: auto; }
.thread-title { font-size: 0.92rem; margin-bottom: 0.35rem; }
.thread-preview { font-size: 0.85rem; color: var(--text-2); margin-bottom: 0.5rem; line-height: 1.55; }
.thread-stats { font-size: 0.75rem; color: var(--text-3); }

/* FAQ */
.quick-links { margin-bottom: 1.75rem; }
.quick-links h3 { font-family: var(--display); font-size: 0.9rem; margin-bottom: 0.75rem; }

.quick-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
  color: var(--text);
}

.quick-link svg { width: 26px; height: 26px; color: var(--accent); }
.quick-link:hover { border-color: var(--accent); color: var(--text); }

.faq-item { padding: 0; overflow: hidden; margin-bottom: 0.5rem; }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.9rem 1rem;
  font: inherit;
  text-align: left;
  color: var(--text);
  background: transparent;
  border: none;
  cursor: pointer;
}

.faq-question:hover { background: var(--accent-dim); }
.faq-question h3 { font-size: 0.9rem; font-weight: 600; }
.faq-question .icon svg { width: 18px; height: 18px; color: var(--text-3); transition: transform 0.2s; }
.faq-item.active .faq-question .icon svg { transform: rotate(180deg); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.22s ease; }
.faq-item.active .faq-answer { max-height: 900px; }

.faq-answer-content {
  padding: 0 1rem 0.9rem;
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.6;
}

.faq-answer-content ul,
.faq-answer-content ol { margin: 0.4rem 0 0.4rem 1.15rem; }

/* Registration */
.registration-badge {
  display: inline-flex;
  padding: 0.35rem 0.75rem;
  margin-bottom: 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: 999px;
}

.prereq-item { display: flex; gap: 0.75rem; align-items: flex-start; }
.prereq-icon { font-size: 1.25rem; line-height: 1; }
.prereq-content h4 { font-size: 0.88rem; margin-bottom: 0.2rem; }
.prereq-content p { font-size: 0.84rem; color: var(--text-2); }

.step-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

.step-card { margin-bottom: 0.85rem; }

.step-title { font-size: 1rem; }
.step-content p,
.step-content li { font-size: 0.88rem; color: var(--text-2); }
.step-content ul,
.step-content ol { margin: 0.45rem 0 0.45rem 1.15rem; }

.step-tip {
  margin-top: 0.75rem;
  padding: 0.75rem;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.28);
  border-radius: var(--r);
}

.step-tip h5 { font-size: 0.82rem; color: var(--ok); margin-bottom: 0.2rem; }

.mnemonic-warning {
  padding: 1.1rem;
  margin: 1.25rem 0;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.28);
  border-radius: var(--rl);
}

.mnemonic-warning h3 { color: var(--bad); font-size: 0.95rem; margin-bottom: 0.4rem; }
.mnemonic-warning p,
.mnemonic-warning li { font-size: 0.88rem; color: var(--text-2); }
.mnemonic-warning ul { margin: 0.4rem 0 0.4rem 1.15rem; }

.security-item { display: flex; gap: 0.55rem; align-items: flex-start; }
.security-item svg { width: 20px; height: 20px; color: var(--ok); flex-shrink: 0; }
.security-item p { font-size: 0.84rem; color: var(--text-2); }

.cta-box {
  text-align: center;
  padding: 1.75rem 1rem;
  margin: 1.5rem 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--rl);
}

.cta-box p { color: var(--text-2); margin-bottom: 0.85rem; }

.cta-btn,
.verdict-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border-radius: var(--r);
}

.cta-btn:hover,
.verdict-cta:hover { background: #2563eb; color: #fff; }
.cta-btn svg,
.verdict-cta svg { width: 18px; height: 18px; }

/* Review */
.review-summary {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
  padding: 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--rl);
}

.review-info h2 {
  font-family: var(--display);
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.review-info > p { font-size: 0.88rem; color: var(--text-2); margin-bottom: 0.65rem; }
.review-meta { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.meta-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-2);
}

.meta-badge.online { color: var(--ok); border-color: rgba(34, 197, 94, 0.35); }

.rating-box {
  text-align: center;
  padding: 0.85rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
}

.rating-stars { font-size: 1.15rem; color: var(--warn); }
.rating-score { font-family: var(--display); font-size: 1.75rem; font-weight: 700; }
.rating-label { font-size: 0.75rem; color: var(--text-3); }

.pros-card,
.cons-card {
  padding: 1.1rem;
  border-radius: var(--rl);
  border: 1px solid var(--border);
}

.pros-card { background: rgba(34, 197, 94, 0.06); border-color: rgba(34, 197, 94, 0.25); }
.cons-card { background: rgba(239, 68, 68, 0.06); border-color: rgba(239, 68, 68, 0.25); }
.pros-card h3 { color: var(--ok); font-size: 0.9rem; margin-bottom: 0.6rem; }
.cons-card h3 { color: var(--bad); font-size: 0.9rem; margin-bottom: 0.6rem; }
.pros-card li,
.cons-card li { font-size: 0.86rem; color: var(--text-2); margin: 0 0 0.3rem 1rem; }

.feature-card h4,
.troubleshoot-item h4 { font-size: 0.88rem; margin-bottom: 0.3rem; }
.feature-card p,
.troubleshoot-item p,
.review-section > p { font-size: 0.88rem; color: var(--text-2); line-height: 1.6; margin-bottom: 0.75rem; }

.testimonial {
  padding: 0.9rem 1rem;
  margin-bottom: 0.65rem;
  background: var(--card);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--r) var(--r) 0;
}

.testimonial p { font-style: italic; color: var(--text-2); margin-bottom: 0.3rem; }
.testimonial .author { font-size: 0.78rem; color: var(--text-3); }

.comparison-table {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--rl);
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.comparison-table th,
.comparison-table td {
  padding: 0.55rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.comparison-table th { background: var(--surface); font-weight: 600; }
.comparison-table td { color: var(--text-2); }
.comparison-table td.highlight { color: var(--accent); font-weight: 600; }
.comparison-table tr:last-child td { border-bottom: none; }

.verdict-box {
  text-align: center;
  padding: 1.75rem 1.15rem;
  margin: 1.5rem 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--rl);
}

.verdict-rating { font-size: 1.35rem; color: var(--warn); margin-bottom: 0.6rem; }
.verdict-box p { color: var(--text-2); max-width: 38rem; margin: 0 auto 0.85rem; line-height: 1.65; }

/* Status */
.status-hero {
  text-align: center;
  padding: 1.5rem 1rem;
  margin-bottom: 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--rl);
}

.status-hero h2 { font-size: 1rem; margin-bottom: 0.4rem; }
.status-hero > p:not(.last-checked) { font-size: 0.88rem; color: var(--text-2); }

.status-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
}

.status-dot-large {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ok);
}

.status-indicator.online .status-text {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ok);
  letter-spacing: 0.08em;
}

.last-checked { font-size: 0.78rem; color: var(--text-3); margin-top: 0.4rem; }

.enhanced-status {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.uptime-display {
  text-align: center;
  padding: 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--rl);
}

.uptime-percentage {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--ok);
}

.uptime-label { font-size: 0.82rem; color: var(--text-3); }
.status-history h3 { font-size: 0.88rem; margin-bottom: 0.6rem; }

.status-bars {
  display: flex;
  gap: 3px;
  margin: 0.6rem 0;
}

.day-bar {
  flex: 1;
  min-height: 40px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 3px;
  border-radius: 3px;
  font-size: 0.5rem;
  color: var(--text-3);
}

.day-bar.online { background: rgba(34, 197, 94, 0.35); }
.day-bar.degraded { background: rgba(234, 179, 8, 0.35); }
.day-bar.down { background: rgba(239, 68, 68, 0.35); }

.status-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  font-size: 0.72rem;
  color: var(--text-2);
}

.legend-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 0.2rem;
}

.legend-dot.online { background: var(--ok); }
.legend-dot.degraded { background: var(--warn); }
.legend-dot.down { background: var(--bad); }

.incident {
  padding: 0.75rem;
  margin-bottom: 0.45rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
}

.incident-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}

.incident-date { font-size: 0.78rem; color: var(--text-3); }
.incident-status.resolved { font-size: 0.68rem; font-weight: 700; color: var(--ok); }
.incident-type { font-size: 0.82rem; color: var(--text-2); }

.mirror-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.mirror-name { font-weight: 600; font-size: 0.9rem; }
.mirror-status.online { font-size: 0.68rem; font-weight: 700; color: var(--ok); }

.mirror-url {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.76rem;
  line-height: 1.5;
  word-break: break-all;
  color: var(--text);
  user-select: text;
}

.info-box {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem;
  margin: 1.25rem 0;
  background: var(--accent-dim);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--rl);
}

.info-box-icon { font-size: 1.15rem; line-height: 1; }
.info-box-content p { font-size: 0.88rem; color: var(--text-2); line-height: 1.55; }

/* Footer & misc */
.breadcrumb-nav { margin: 1.5rem 0 0.4rem; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  list-style: none;
  font-size: 0.82rem;
  color: var(--text-2);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.3rem;
  color: var(--text-3);
}

.related-card {
  display: block;
  color: inherit;
}

.related-card:hover { border-color: var(--accent); color: inherit; }
.related-card h4 { font-size: 0.9rem; margin-bottom: 0.3rem; color: var(--text); }
.related-card p { font-size: 0.82rem; color: var(--text-2); }

.footer {
  margin-top: 1.5rem;
  padding: 2rem 0 1.25rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-section h4 {
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 0.6rem;
}

.footer-section p { font-size: 0.82rem; color: var(--text-2); }
.footer-nav { display: flex; flex-direction: column; gap: 0.3rem; }
.footer-nav a { font-size: 0.82rem; color: var(--text-2); }

.footer-bottom {
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-3);
}

.scroll-to-top {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 50;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.18s, visibility 0.18s, transform 0.18s;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover { background: #2563eb; }
.scroll-to-top svg { width: 18px; height: 18px; }

@media (min-width: 700px) {
  .review-summary {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

@media (min-width: 900px) {
  .market-hero {
    grid-template-columns: 1fr minmax(260px, 320px);
    align-items: start;
  }

  .market-actions {
    order: 0;
    position: sticky;
    top: calc(var(--hdr) + 0.75rem);
    align-self: start;
  }

  .enhanced-status {
    grid-template-columns: auto 1fr;
  }
}

@media (max-width: 768px) {
  .nav,
  .markets-dropdown { display: none; }

  .mobile-menu-toggle { display: flex; }
}

.research-disclaimer {
  margin: 0 0 1.5rem;
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #94a3b8;
  border-left: 3px solid rgba(59, 130, 246, 0.5);
  background: rgba(15, 23, 42, 0.4);
}

.research-disclaimer p {
  margin: 0;
}

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

  *, *::before, *::after {
    transition-duration: 0.01ms !important;
  }
}
