/*
Theme Name: RankedSkins
Theme URI: https://rankedskins.com
Author: RankedSkins
Author URI: https://rankedskins.com
Description: Conversion-focused CS2 skins comparison theme — gambling sites, case opening, free skins, marketplaces & trading platforms. Dark armory aesthetic with CS2 rarity tiers, built-in SEO (JSON-LD, FAQ schema, ItemList), auto page setup on activation.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rankedskins
Tags: dark, one-column, custom-menu
*/

/* ============================================================
   RANKEDSKINS — "The Armory" design system
   Display: Unbounded · Body: Archivo · Data: JetBrains Mono
   Rarity tiers: gold / covert / classified / restricted / milspec
   ============================================================ */

/* Self-hosted fonts (GDPR: no Google Fonts CDN, no third-party requests) */
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400; font-display: swap; src: url('archivo-400.woff2') format('woff2'); }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 500; font-display: swap; src: url('archivo-500.woff2') format('woff2'); }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 600; font-display: swap; src: url('archivo-600.woff2') format('woff2'); }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 700; font-display: swap; src: url('archivo-700.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('jetbrains-mono-500.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 700; font-display: swap; src: url('jetbrains-mono-700.woff2') format('woff2'); }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 500; font-display: swap; src: url('unbounded-500.woff2') format('woff2'); }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 700; font-display: swap; src: url('unbounded-700.woff2') format('woff2'); }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 900; font-display: swap; src: url('unbounded-900.woff2') format('woff2'); }

:root {
  --bg: #0a0d10;
  --bg-2: #0f141a;
  --bg-3: #141b23;
  --bg-4: #1a2330;
  --line: #212c3a;
  --line-2: #2c3a4c;
  --text: #e9eef5;
  --muted: #8fa0b3;
  --faint: #5c6b7d;

  --gold: #ffb648;
  --gold-2: #ff8a00;
  --gold-glow: rgba(255, 182, 72, 0.35);
  --covert: #eb4b4b;
  --classified: #d32ee6;
  --restricted: #8847ff;
  --milspec: #4b69ff;
  --win: #3ad178;

  --font-display: 'Unbounded', system-ui, sans-serif;
  --font-body: 'Archivo', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.55);
  --maxw: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  overflow-x: hidden;
}
/* layered atmosphere: grid + glows + grain */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(900px 500px at 85% -5%, rgba(136, 71, 255, 0.10), transparent 60%),
    radial-gradient(1000px 600px at 10% 0%, rgba(255, 138, 0, 0.08), transparent 55%),
    radial-gradient(800px 700px at 50% 110%, rgba(75, 105, 255, 0.07), transparent 60%);
}
body::after {
  content: '';
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(44, 58, 76, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(44, 58, 76, 0.16) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 0%, transparent 75%);
}

img { max-width: 100%; height: auto; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: #ffcf85; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3.3rem); font-weight: 900; }
h2 { font-size: clamp(1.4rem, 3vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.rs-wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--gold); color: #000;
  padding: 10px 18px; z-index: 999; font-weight: 700; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- header ---------- */
.rs-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 13, 16, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.rs-header.is-stuck { box-shadow: 0 10px 30px -10px rgba(0,0,0,.6); }
.rs-header__in { display: flex; align-items: center; gap: 28px; height: 68px; }
.rs-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 900; font-size: 1.05rem;
  color: var(--text) !important; letter-spacing: .01em; white-space: nowrap;
}
.rs-logo svg { width: 30px; height: 30px; flex: none; filter: drop-shadow(0 0 10px var(--gold-glow)); }
.rs-logo b { color: var(--gold); font-weight: 900; }
.rs-nav { margin-left: auto; }
.rs-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.rs-nav a {
  display: block; padding: 9px 13px; border-radius: 8px;
  color: var(--muted); font-weight: 600; font-size: .92rem;
}
.rs-nav a:hover, .rs-nav .current-menu-item a { color: var(--text); background: var(--bg-3); }
.rs-burger {
  display: none; margin-left: auto; background: var(--bg-3); border: 1px solid var(--line-2);
  color: var(--text); border-radius: 8px; padding: 9px 12px; font-size: 1rem; cursor: pointer;
}
@media (max-width: 920px) {
  .rs-burger { display: block; }
  .rs-nav { display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 10px 16px 16px; margin: 0; }
  .rs-nav.open { display: block; }
  .rs-nav ul { flex-direction: column; }
  .rs-nav a { font-size: 1.05rem; padding: 12px; }
}

/* ---------- hero ---------- */
.rs-hero { position: relative; padding: 84px 0 40px; text-align: left; }
.rs-hero__kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold);
  border: 1px solid rgba(255, 182, 72, .35); background: rgba(255, 182, 72, .07);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.rs-hero__kicker::before { content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--win); box-shadow: 0 0 10px var(--win); animation: rs-pulse 1.8s infinite; }
@keyframes rs-pulse { 50% { opacity: .35; } }
.rs-hero h1 { max-width: 21ch; }
.rs-hero h1 .grad {
  background: linear-gradient(100deg, var(--gold) 10%, var(--gold-2) 55%, var(--covert) 110%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.rs-hero__sub { max-width: 62ch; color: var(--muted); font-size: 1.08rem; margin-bottom: 30px; }
.rs-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 34px; }
.rs-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; list-style: none; }
.rs-trust li { display: flex; gap: 8px; align-items: center; color: var(--faint);
  font-size: .85rem; font-weight: 600; }
.rs-trust li::before { content: '✓'; color: var(--win); font-weight: 800; }
.rs-hero .rs-reveal { animation: rs-rise .7s cubic-bezier(.2,.7,.2,1) both; }
.rs-hero .rs-reveal:nth-child(2) { animation-delay: .08s; }
.rs-hero .rs-reveal:nth-child(3) { animation-delay: .16s; }
.rs-hero .rs-reveal:nth-child(4) { animation-delay: .24s; }
.rs-hero .rs-reveal:nth-child(5) { animation-delay: .32s; }
@keyframes rs-rise { from { opacity: 0; transform: translateY(22px); } }

/* ---------- buttons ---------- */
.rs-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  padding: 14px 26px; border-radius: 11px; border: 0; cursor: pointer;
  transition: transform .15s, box-shadow .15s, filter .15s; white-space: nowrap;
}
.rs-btn--gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #14100a !important; box-shadow: 0 8px 26px -6px var(--gold-glow), inset 0 1px 0 rgba(255,255,255,.35);
}
.rs-btn--gold:hover { transform: translateY(-2px); filter: brightness(1.06);
  box-shadow: 0 14px 34px -6px var(--gold-glow); }
.rs-btn--ghost {
  background: var(--bg-3); color: var(--text) !important; border: 1px solid var(--line-2);
}
.rs-btn--ghost:hover { background: var(--bg-4); transform: translateY(-2px); }
.rs-btn--sm { padding: 10px 18px; font-size: .92rem; border-radius: 9px; }

/* ---------- ticker ---------- */
.rs-ticker { border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; }
.rs-ticker__track {
  display: flex; gap: 40px; width: max-content; padding: 11px 0;
  animation: rs-marquee 42s linear infinite;
}
.rs-ticker:hover .rs-ticker__track { animation-play-state: paused; }
@keyframes rs-marquee { to { transform: translateX(-50%); } }
.rs-ticker__item { display: flex; gap: 9px; align-items: baseline; font-family: var(--font-mono);
  font-size: .8rem; white-space: nowrap; color: var(--muted); }
.rs-ticker__item strong { color: var(--text); font-weight: 700; }
.rs-ticker__item .up { color: var(--win); }
@media (prefers-reduced-motion: reduce) {
  .rs-ticker__track, .rs-hero .rs-reveal { animation: none !important; }
}

/* ---------- sections ---------- */
.rs-section { padding: 72px 0; position: relative; }
.rs-section--tight { padding: 48px 0; }
.rs-section__head { max-width: 720px; margin-bottom: 40px; }
.rs-eyebrow {
  font-family: var(--font-mono); font-size: .74rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 12px;
}
.rs-section__head p { color: var(--muted); }
.rs-updated { font-family: var(--font-mono); font-size: .78rem; color: var(--faint); }

/* scroll reveal */
.rs-io { opacity: 0; transform: translateY(26px); transition: opacity .6s, transform .6s cubic-bezier(.2,.7,.2,1); }
.rs-io.in { opacity: 1; transform: none; }

/* ---------- platform cards ---------- */
.rs-list { display: flex; flex-direction: column; gap: 18px; counter-reset: rank; }
.rs-card {
  position: relative; display: grid;
  grid-template-columns: 84px 1fr 250px; gap: 22px; align-items: center;
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px; overflow: hidden;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.rs-card:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: var(--shadow); }
.rs-card::before { /* tier stripe */
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--tier, var(--milspec));
  box-shadow: 0 0 18px 0 var(--tier, var(--milspec));
}
.rs-card--gold       { --tier: var(--gold); }
.rs-card--covert     { --tier: var(--covert); }
.rs-card--classified { --tier: var(--classified); }
.rs-card--restricted { --tier: var(--restricted); }
.rs-card--milspec    { --tier: var(--milspec); }
.rs-card--gold { border-color: rgba(255, 182, 72, .4); }
.rs-card--gold::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px 140px at 12% 0%, rgba(255,182,72,.10), transparent 70%);
}

.rs-card__rank { text-align: center; }
.rs-card__rank b {
  font-family: var(--font-display); font-weight: 900; font-size: 2rem; line-height: 1;
  display: block; color: transparent; -webkit-text-stroke: 1.5px var(--tier);
}
.rs-card--gold .rs-card__rank b { color: var(--gold); -webkit-text-stroke: 0; text-shadow: 0 0 22px var(--gold-glow); }
.rs-tier-chip {
  display: inline-block; margin-top: 8px; font-family: var(--font-mono); font-size: .6rem;
  font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--tier); border: 1px solid color-mix(in srgb, var(--tier) 55%, transparent);
  padding: 3px 8px; border-radius: 5px; background: color-mix(in srgb, var(--tier) 10%, transparent);
}

.rs-card__main { min-width: 0; }
.rs-card__top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 6px; }
.rs-ava {
  width: 46px; height: 46px; border-radius: 11px; flex: none;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 900; font-size: 1.15rem; color: #0b0d10;
  background: linear-gradient(135deg, var(--tier), color-mix(in srgb, var(--tier) 55%, #fff));
  box-shadow: 0 6px 18px -4px color-mix(in srgb, var(--tier) 55%, transparent);
}
.rs-ava--img { object-fit: cover; background: var(--bg-4); border: 1px solid var(--line-2);
  box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .5); }
.rs-card__name { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; margin: 0; }
.rs-card__name a { color: var(--text); }
.rs-badge {
  font-family: var(--font-mono); font-size: .66rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: #14100a;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  padding: 4px 9px; border-radius: 6px;
}
.rs-stars { display: inline-flex; align-items: center; gap: 7px; }
.rs-stars__row { color: var(--gold); letter-spacing: 2px; font-size: .85rem; }
.rs-stars__num { font-family: var(--font-mono); font-weight: 700; font-size: .85rem; color: var(--text); }
.rs-card__tag { color: var(--muted); font-size: .93rem; margin: 0 0 10px; }
.rs-feats { display: flex; flex-wrap: wrap; gap: 7px 16px; list-style: none; padding: 0; margin: 0; }
.rs-feats li { display: flex; gap: 7px; align-items: center; font-size: .85rem; color: var(--muted); }
.rs-feats li::before { content: '›'; color: var(--tier); font-weight: 800; }

.rs-card__cta { display: flex; flex-direction: column; gap: 10px; }
.rs-bonus {
  border: 1.5px dashed color-mix(in srgb, var(--tier) 45%, var(--line-2));
  background: color-mix(in srgb, var(--tier) 6%, transparent);
  border-radius: 10px; padding: 10px 14px; text-align: center;
}
.rs-bonus__label { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--faint); display: block; }
.rs-bonus__val { font-weight: 700; font-size: .95rem; }
.rs-code {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 6px;
  font-family: var(--font-mono); font-weight: 700; font-size: .85rem;
  background: var(--bg); border: 1px solid var(--line-2); border-radius: 7px;
  padding: 5px 10px; cursor: pointer; color: var(--gold); transition: border-color .15s;
}
.rs-code:hover { border-color: var(--gold); }
.rs-code[data-copied="1"] { color: var(--win); border-color: var(--win); }
.rs-card__meta { text-align: center; font-family: var(--font-mono); font-size: .72rem; color: var(--faint); }

@media (max-width: 860px) {
  .rs-card { grid-template-columns: 1fr; gap: 16px; padding: 20px; }
  .rs-card__rank { display: flex; align-items: center; gap: 12px; text-align: left; }
  .rs-card__rank b { font-size: 1.5rem; }
  .rs-tier-chip { margin-top: 0; }
}

/* ---------- category grid ---------- */
.rs-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.rs-cat {
  position: relative; display: block; padding: 26px 22px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line); overflow: hidden; color: var(--text) !important;
  transition: transform .2s, border-color .2s;
}
.rs-cat:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--tier) 50%, var(--line)); }
.rs-cat::after { content: '→'; position: absolute; right: 20px; top: 22px; color: var(--tier);
  font-weight: 800; transition: transform .2s; }
.rs-cat:hover::after { transform: translateX(4px); }
.rs-cat__icon { font-size: 1.6rem; display: block; margin-bottom: 14px;
  filter: drop-shadow(0 0 12px color-mix(in srgb, var(--tier) 60%, transparent)); }
.rs-cat h3 { margin-bottom: 6px; font-size: 1rem; }
.rs-cat p { color: var(--muted); font-size: .85rem; margin: 0 0 10px; }
.rs-cat__n { font-family: var(--font-mono); font-size: .7rem; color: var(--tier); letter-spacing: .1em; }

/* ---------- comparison table ---------- */
.rs-tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-2); }
.rs-table { width: 100%; border-collapse: collapse; min-width: 720px; font-size: .92rem; }
.rs-table th, .rs-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.rs-table thead th { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--faint); background: var(--bg-3); }
.rs-table tbody tr:last-child td { border-bottom: 0; }
.rs-table tbody tr:hover { background: rgba(255,255,255,.02); }
.rs-table .name { font-weight: 700; }
.rs-table .mono { font-family: var(--font-mono); font-size: .82rem; }
.rs-table .rating { color: var(--gold); font-weight: 700; font-family: var(--font-mono); }

/* ---------- how we rank ---------- */
.rs-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.rs-step { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; }
.rs-step__n { font-family: var(--font-display); font-weight: 900; font-size: 1.6rem;
  color: transparent; -webkit-text-stroke: 1.3px var(--gold); display: block; margin-bottom: 14px; }
.rs-step h3 { font-size: .98rem; }
.rs-step p { color: var(--muted); font-size: .88rem; margin: 0; }

/* ---------- FAQ ---------- */
.rs-faq { max-width: 820px; }
.rs-faq details { border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg-2); margin-bottom: 10px; overflow: hidden; }
.rs-faq summary { cursor: pointer; padding: 18px 22px; font-weight: 700; list-style: none;
  display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.rs-faq summary::-webkit-details-marker { display: none; }
.rs-faq summary::after { content: '+'; font-family: var(--font-mono); color: var(--gold);
  font-size: 1.2rem; transition: transform .2s; flex: none; }
.rs-faq details[open] summary::after { transform: rotate(45deg); }
.rs-faq .a { padding: 0 22px 18px; color: var(--muted); }
.rs-faq .a p { margin: 0 0 .6em; }

/* ---------- CTA band ---------- */
.rs-band { position: relative; border: 1px solid rgba(255,182,72,.35); border-radius: 18px;
  padding: 46px 40px; text-align: center; overflow: hidden;
  background:
    radial-gradient(600px 200px at 50% 0%, rgba(255,182,72,.14), transparent 70%),
    linear-gradient(180deg, var(--bg-3), var(--bg-2)); }
.rs-band h2 { margin-bottom: 10px; }
.rs-band p { color: var(--muted); max-width: 54ch; margin: 0 auto 24px; }

/* ---------- content pages / prose ---------- */
.rs-prose { max-width: 780px; color: #c6d0dc; }
.rs-prose h2 { margin-top: 1.6em; }
.rs-prose h3 { margin-top: 1.3em; }
.rs-prose ul { padding-left: 1.2em; }
.rs-prose li { margin-bottom: .4em; }
.rs-prose strong { color: var(--text); }
.rs-breadcrumb { font-family: var(--font-mono); font-size: .75rem; color: var(--faint);
  margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.rs-breadcrumb a { color: var(--muted); }
.rs-pagehero { padding: 64px 0 12px; }
.rs-pagehero .rs-hero__sub { margin-bottom: 8px; }

/* ---------- notice / disclaimer ---------- */
.rs-notice { display: flex; gap: 14px; align-items: flex-start;
  border: 1px solid var(--line-2); border-left: 3px solid var(--covert);
  background: var(--bg-2); border-radius: var(--radius-sm); padding: 16px 20px;
  color: var(--muted); font-size: .88rem; margin: 26px 0; }
.rs-notice b { color: var(--text); }

/* ---------- footer ---------- */
.rs-footer { border-top: 1px solid var(--line); background: var(--bg-2); margin-top: 60px; }
.rs-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; padding: 54px 0 34px; }
.rs-footer h4 { font-size: .8rem; font-family: var(--font-mono); letter-spacing: .14em;
  text-transform: uppercase; color: var(--faint); margin-bottom: 16px; }
.rs-footer ul { list-style: none; margin: 0; padding: 0; }
.rs-footer li { margin-bottom: 9px; }
.rs-footer a { color: var(--muted); font-size: .92rem; }
.rs-footer a:hover { color: var(--gold); }
.rs-footer__about { color: var(--faint); font-size: .88rem; }
.rs-footer__legal { border-top: 1px solid var(--line); padding: 22px 0 30px;
  color: var(--faint); font-size: .78rem; }
.rs-18 { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--covert); color: var(--covert); font-weight: 800; font-size: .8rem;
  margin-right: 12px; flex: none; }
.rs-footer__legalrow { display: flex; gap: 4px 14px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
@media (max-width: 860px) { .rs-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .rs-footer__grid { grid-template-columns: 1fr; } }

/* ---------- review page ---------- */
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.rs-tldr { border: 1px solid rgba(255,182,72,.3); border-left: 3px solid var(--gold);
  background: linear-gradient(180deg, rgba(255,182,72,.06), transparent), var(--bg-2);
  border-radius: var(--radius-sm); padding: 20px 24px; margin: 20px 0 8px; }
.rs-tldr h2 { font-size: .95rem; margin-bottom: 12px; }
.rs-tldr ul { list-style: none; margin: 0; padding: 0; }
.rs-tldr li { margin-bottom: 8px; color: var(--muted); font-size: .93rem; }
.rs-tldr li b { color: var(--text); }
.rs-toc { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 18px 0 26px; }
.rs-toc span { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--faint); margin-right: 4px; }
.rs-toc a { font-size: .84rem; font-weight: 600; color: var(--muted);
  background: var(--bg-3); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px;
  transition: color .15s, border-color .15s; }
.rs-toc a:hover { color: var(--gold); border-color: var(--gold); }
.rs-table--facts { min-width: 0; }
.rs-table--facts th { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--faint); width: 200px; }
.rs-table--facts td { font-weight: 600; }
.rs-review-hero { position: relative; border: 1px solid var(--line); border-radius: 18px;
  padding: 34px 36px; overflow: hidden;
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2)); }
.rs-review-hero::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--tier, var(--milspec)); box-shadow: 0 0 18px 0 var(--tier, var(--milspec)); }
.rs-review-hero__id { display: flex; gap: 18px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.rs-review-hero__id h1 { margin: 0 0 8px; font-size: clamp(1.5rem, 3.4vw, 2.4rem); }
.rs-review-hero__meta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.rs-ava--lg { width: 68px; height: 68px; font-size: 1.7rem; border-radius: 16px; }
.rs-review-hero__cta { display: flex; gap: 16px; align-items: stretch; flex-wrap: wrap; margin-top: 20px; }
.rs-review-hero__cta .rs-bonus { flex: 1 1 260px; }
.rs-review-hero__cta .rs-btn { align-self: center; }
.rs-proscons { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px;
  background: var(--bg-2); }
.rs-proscons h2 { font-size: 1rem; margin-bottom: 14px; }
.rs-proscons ul { list-style: none; margin: 0; padding: 0; }
.rs-proscons li { display: flex; gap: 10px; align-items: baseline; margin-bottom: 9px; color: var(--muted); }
.rs-proscons--pros { border-top: 3px solid var(--win); }
.rs-proscons--cons { border-top: 3px solid var(--covert); }
.rs-proscons--pros li::before { content: '✓'; color: var(--win); font-weight: 800; }
.rs-proscons--cons li::before { content: '✗'; color: var(--covert); font-weight: 800; }
.rs-related { list-style: none; margin: 0; padding: 0; display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.rs-related li { display: flex; justify-content: space-between; gap: 12px; align-items: center;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 16px; }
.rs-related a { font-weight: 600; font-size: .93rem; }



/* ---------- bonus codes page ---------- */
.rs-codegrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.rs-codecard { position: relative; background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  display: flex; flex-direction: column; gap: 12px; overflow: hidden;
  transition: transform .2s, border-color .2s; }
.rs-codecard:hover { transform: translateY(-3px); border-color: var(--line-2); }
.rs-codecard::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--tier, var(--milspec)); }
.rs-codecard__top { display: flex; gap: 12px; align-items: center; }
.rs-codecard__name { font-size: 1rem; margin: 0; }
.rs-codecard__bonus { color: var(--muted); font-size: .9rem; margin: 0; flex: 1; }
.rs-codecard__actions { display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.rs-codecard__review { font-family: var(--font-mono); font-size: .72rem; color: var(--faint); }
.rs-codecard__review:hover { color: var(--gold); }

/* ---------- author page ---------- */
.rs-author-hero { display: flex; gap: 24px; align-items: flex-start; margin-top: 8px;
  border: 1px solid var(--line); border-radius: 18px; padding: 30px 32px;
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2)); }
.rs-author-hero__ava { border-radius: 18px; border: 1px solid var(--line-2); flex: none;
  box-shadow: 0 10px 26px -8px rgba(0,0,0,.55); }
.rs-author-hero h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 4px; }
.rs-author-hero__role { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
.rs-author-hero__social { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.rs-author-cred { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px; margin-top: 20px; }
@media (max-width: 640px) { .rs-author-hero { flex-direction: column; } }

/* ---------- blog ---------- */
.rs-postlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.rs-post { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform .2s, border-color .2s; }
.rs-post:hover { transform: translateY(-3px); border-color: var(--line-2); }
.rs-post time { font-family: var(--font-mono); font-size: .72rem; color: var(--faint); }
.rs-post h2 { font-size: 1.05rem; margin: 10px 0; }
.rs-post h2 a { color: var(--text); }
.rs-single .rs-prose { margin-top: 20px; }

/* ---------- blog pagination ---------- */
.rs-pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  align-items: center; margin-top: 36px; font-family: var(--font-mono); }
.rs-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 16px;
  border-radius: 9px; border: 1px solid var(--line-2);
  background: var(--bg-3); color: var(--muted);
  font-weight: 700; font-size: .85rem; letter-spacing: .01em;
  transition: transform .15s, border-color .15s, background .15s, color .15s;
}
a.page-numbers.rs-pagination-link,
.rs-pagination a.page-numbers { text-decoration: none; }
.rs-pagination a.page-numbers:hover {
  color: var(--text); background: var(--bg-4); border-color: var(--gold); transform: translateY(-2px);
}
.rs-pagination .page-numbers.current {
  background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #14100a; border-color: transparent;
}
.rs-pagination .page-numbers.dots { background: transparent; border-color: transparent; color: var(--faint); }
.rs-pagination .page-numbers.prev, .rs-pagination .page-numbers.next { padding: 0 18px; }
@media (max-width: 480px) {
  .rs-pagination .page-numbers { min-width: 38px; height: 38px; padding: 0 11px; font-size: .78rem; }
  .rs-pagination .page-numbers.prev, .rs-pagination .page-numbers.next { padding: 0 12px; }
}

/* utility */
.rs-mt0 { margin-top: 0 !important; }
.rs-center { text-align: center; }
.rs-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 760px) { .rs-grid2 { grid-template-columns: 1fr; } }
