/* =====================================================================
   OurDream AI — review pages, "Orchid Night" edition
   Loaded after /css/style.css and reuses its tokens (--grad-cta, --orchid…).
   Everything is scoped to <body class="rv-od">.
   Motifs: match card verdict, compatibility bars, swipe cards (pros/cons),
   chat-bubble notes, card-deck similar reviews.
   ===================================================================== */

@property --v { syntax: '<percentage>'; inherits: false; initial-value: 0%; }

.rv-od {
  --rv-heart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20.6s-7.4-4.5-9.4-9C1.2 8.4 3 4.7 6.6 4.4c2.1-.2 3.9 1 5.4 2.9 1.5-1.9 3.3-3.1 5.4-2.9 3.6.3 5.4 4 4 7.2-2 4.5-9.4 9-9.4 9z' fill='white'/%3E%3C/svg%3E");
  --rv-heart-red: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20.6s-7.4-4.5-9.4-9C1.2 8.4 3 4.7 6.6 4.4c2.1-.2 3.9 1 5.4 2.9 1.5-1.9 3.3-3.1 5.4-2.9 3.6.3 5.4 4 4 7.2-2 4.5-9.4 9-9.4 9z' fill='%23FF4556'/%3E%3C/svg%3E");
  --rv-cross: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 6.5l11 11M17.5 6.5l-11 11' fill='none' stroke='%23BFB2D9' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E");
  --rv-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h13M13 6l6 6-6 6' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --rv-text: #DDD2EF;
}
.rv-od [data-go] { cursor: pointer; user-select: none; }
.rv-od .nav-actions .btn-pink { white-space: nowrap; }

/* ---------- Hero ---------- */
.rv-hero {
  isolation: isolate;
  padding: clamp(118px, 13vw, 150px) 0 clamp(40px, 6vw, 72px);
}
.rv-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(40% 50% at 78% 42%, rgba(157, 78, 221, 0.24), transparent 70%),
    radial-gradient(26% 30% at 90% 78%, rgba(225, 29, 46, 0.12), transparent 70%);
}
.rv-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: center;
  gap: clamp(36px, 5vw, 80px);
}
.rv-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin-bottom: 18px;
  color: var(--faint);
  font-size: 13px;
  font-weight: 500;
}
.rv-crumbs a { color: var(--muted); border-bottom: 1px solid var(--line-2); transition: color .2s, border-color .2s; }
.rv-crumbs a:hover { color: var(--text); border-color: var(--orchid); }
.rv-crumbs span[aria-hidden] { width: 9px; height: 9px; background: var(--star-red) center / contain no-repeat; font-size: 0; }
.rv-hero .hero-badge { margin-bottom: 22px; }
.rv-hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(38px, 4.3vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--text);
  text-wrap: balance;
  margin-bottom: 24px;
}
.gradient-text {
  font-family: var(--font-display);
  font-style: italic;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  padding-inline-end: 0.06em;
}
.rv-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.rv-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13.5px;
}
.rv-meta > span::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--star) center / 10px no-repeat, rgba(157, 78, 221, 0.28);
}
.rv-meta > span:first-child::before { background: var(--rv-heart) center / 10px no-repeat, var(--grad-cta); }
.rv-meta b { color: var(--text); font-weight: 600; }
.rv-hero .hero-description { margin-bottom: 0; max-width: 600px; }

/* ---------- Verdict = match card ---------- */
.rv-verdict {
  position: relative; /* no z-index / transform here: the deck card (::after) must sit behind */
  width: min(100%, 430px);
  justify-self: center;
  padding: 34px 26px 24px;
  border-radius: 30px;
  border: 1px solid transparent;
  background:
    linear-gradient(165deg, rgba(44, 23, 74, 0.97), rgba(22, 12, 38, 0.98)) padding-box,
    linear-gradient(135deg, rgba(255, 69, 86, 0.9), rgba(199, 125, 255, 0.55) 40%, rgba(199, 125, 255, 0.1) 70%, rgba(139, 43, 226, 0.75)) border-box;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.02), 0 44px 90px -40px rgba(0, 0, 0, 0.95), 0 30px 110px -30px rgba(157, 78, 221, 0.6);
}
/* story segments, like the homepage match card */
.rv-verdict::before {
  content: "";
  position: absolute;
  top: 14px;
  inset-inline: 22px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg,
    #fff 0 18.4%, transparent 18.4% 20.4%,
    rgba(255, 255, 255, 0.3) 20.4% 38.8%, transparent 38.8% 40.8%,
    rgba(255, 255, 255, 0.3) 40.8% 59.2%, transparent 59.2% 61.2%,
    rgba(255, 255, 255, 0.3) 61.2% 79.6%, transparent 79.6% 81.6%,
    rgba(255, 255, 255, 0.3) 81.6% 100%);
}
/* the next card of the deck, peeking out behind */
.rv-verdict::after {
  content: "";
  position: absolute;
  inset: 18px -6px -10px 22px;
  z-index: -1;
  border-radius: 30px;
  background: linear-gradient(170deg, rgba(90, 24, 154, 0.55), rgba(36, 20, 64, 0.7));
  border: 1px solid var(--line-2);
  transform: rotate(6deg);
  transform-origin: 30% 100%;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
}
.rv-match { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; margin-bottom: 18px; }
.rv-avatar {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 24px;
  color: #fff;
  background: radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.3), transparent 55%), var(--grad-cta);
  box-shadow: 0 0 0 3px rgba(18, 10, 31, 0.9), 0 0 0 5px rgba(199, 125, 255, 0.45), 0 12px 30px -10px rgba(225, 29, 46, 0.8);
}
.rv-match-name { font-family: var(--font-display); font-size: 25px; line-height: 1.05; color: var(--text); }
.rv-match-sub { margin-top: 4px; color: var(--faint); font-size: 12.5px; }
.rv-score {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(10, 4, 20, 0.45);
  animation: rv-fill 1.6s var(--ease-out) 0.25s backwards;
}
.rv-score::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(#E11D2E 0%, #C77DFF var(--v), rgba(255, 255, 255, 0.09) 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 5px));
  filter: drop-shadow(0 0 6px rgba(199, 125, 255, 0.55));
}
.rv-score strong { font-family: var(--font-display); font-weight: 400; font-size: 32px; line-height: 0.9; color: #fff; }
.rv-score span { color: var(--faint); font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; }
.rv-verdict-line {
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: 18px 18px 18px 6px;
  background: rgba(157, 78, 221, 0.14);
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  line-height: 1.3;
  color: var(--orchid-2);
}
.rv-verdict-label {
  margin-bottom: 12px;
  color: var(--orchid);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.rv-bars { display: grid; gap: 11px; margin-bottom: 20px; }
.rv-bars li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 12px;
  color: var(--rv-text);
  font-size: 14px;
  line-height: 1.3;
}
.rv-bars b { color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.rv-bars i {
  grid-column: 1 / -1;
  height: 7px;
  border-radius: 99px;
  background:
    linear-gradient(90deg, #E11D2E, #9D4EDD 70%, #C77DFF) 0 0 / var(--v) 100% no-repeat,
    rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5);
  animation: rv-fill 1.5s var(--ease-out) 0.35s backwards;
}
.rv-bars li:nth-child(2) i { animation-delay: 0.45s; }
.rv-bars li:nth-child(3) i { animation-delay: 0.55s; }
.rv-bars li:nth-child(4) i { animation-delay: 0.65s; }
.rv-bars li:nth-child(5) i { animation-delay: 0.75s; }
@keyframes rv-fill { from { --v: 0%; } }
.rv-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.rv-tags li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px 5px 8px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
}
.rv-tags li::before { content: ""; width: 12px; height: 12px; flex-shrink: 0; background: center / contain no-repeat; }
.rv-tags .yes { color: #FFD3D8; background: rgba(225, 29, 46, 0.14); border: 1px solid rgba(255, 69, 86, 0.38); }
.rv-tags .yes::before { background-image: var(--rv-heart-red); }
.rv-tags .no { color: var(--muted); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-2); }
.rv-tags .no::before { background-image: var(--rv-cross); }
.rv-verdict .btn { width: 100%; }
.rv-fine { margin-top: 12px; text-align: center; color: var(--faint); font-size: 12px; }

/* ---------- Body layout: sticky TOC rail + article ---------- */
.rv-body { padding-block: clamp(24px, 4vw, 48px) clamp(56px, 7vw, 96px); }
.rv-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 760px);
  justify-content: center;
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}
.rv-toc { position: sticky; top: 104px; }
.rv-toc-box {
  padding: 22px 20px 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
}
.rv-toc-title { font-family: var(--font-display); font-style: italic; font-size: 22px; color: var(--orchid-2); margin-bottom: 12px; }
.rv-toc ol { position: relative; display: grid; counter-reset: toc; }
.rv-toc ol::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  inset-inline-start: 13px;
  width: 1px;
  background: linear-gradient(180deg, rgba(255, 69, 86, 0.8), rgba(157, 78, 221, 0.6) 45%, rgba(199, 125, 255, 0.08));
}
.rv-toc li { counter-increment: toc; }
.rv-toc a {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 4px 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.3;
  transition: color .2s;
}
.rv-toc a::before {
  content: counter(toc, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  color: var(--orchid);
  font-size: 10.5px;
  font-weight: 700;
  transition: background .25s, color .25s, border-color .25s;
}
.rv-toc a:hover { color: var(--text); }
.rv-toc a:hover::before { background: var(--grad-cta); color: #fff; border-color: transparent; }
.rv-toc-cta {
  margin-top: 14px;
  padding: 18px 18px 16px;
  border-radius: 22px;
  background: radial-gradient(90% 80% at 10% 0%, rgba(225, 29, 46, 0.2), transparent 60%), rgba(26, 15, 46, 0.86);
  border: 1px solid var(--line-2);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.9), 0 0 36px -14px rgba(157, 78, 221, 0.7);
}
.rv-toc-cta p { font-family: var(--font-display); font-size: 19px; line-height: 1.2; margin-bottom: 12px; }
.rv-toc-cta .btn { width: 100%; }

/* ---------- Article sections ---------- */
.rv-article { min-width: 0; }
.rv-sec { counter-increment: sec; padding-bottom: clamp(48px, 6vw, 72px); }
.rv-sec + .rv-sec { padding-top: clamp(8px, 2vw, 16px); }
.rv-sec::before {
  content: counter(sec, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(64px, 7vw, 96px);
  line-height: 0.8;
  background: linear-gradient(180deg, rgba(214, 160, 255, 0.8), rgba(157, 78, 221, 0.25) 60%, rgba(157, 78, 221, 0) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  margin-bottom: -0.12em;
  pointer-events: none;
  user-select: none;
}
.rv-sec .section-label { margin-bottom: 12px; }
.rv-sec .section-label::after { content: ""; width: 48px; height: 1px; background: linear-gradient(90deg, var(--orchid), transparent); }
.rv-sec h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.06;
  color: var(--text);
  text-wrap: balance;
  margin-bottom: 22px;
}
.rv-sec h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(23px, 2.2vw, 28px);
  line-height: 1.15;
  color: var(--orchid-2);
  margin: 36px 0 12px;
}
.rv-sec p { color: var(--rv-text); font-size: 17px; line-height: 1.78; }
.rv-sec p + p { margin-top: 18px; }
.rv-sec p a, .rv-sec li a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 69, 86, 0.7);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  transition: text-decoration-color .2s, color .2s;
}
.rv-sec p a:hover, .rv-sec li a:hover { color: var(--orchid-2); text-decoration-color: var(--orchid); }
.rv-sec ul.rv-list { display: grid; gap: 10px; margin: 18px 0; }
.rv-sec ul.rv-list li { position: relative; padding-inline-start: 26px; color: var(--rv-text); }
.rv-sec ul.rv-list li::before { content: ""; position: absolute; top: 0.45em; inset-inline-start: 2px; width: 12px; height: 12px; background: var(--star) center / contain no-repeat; }

/* figures: framed like a profile photo */
.rv-fig {
  margin: 32px 0;
  padding: 10px;
  border-radius: 26px;
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(36, 20, 64, 0.9), rgba(22, 12, 38, 0.92)) padding-box,
    linear-gradient(140deg, rgba(199, 125, 255, 0.5), rgba(199, 125, 255, 0.08) 45%, rgba(255, 69, 86, 0.45)) border-box;
  box-shadow: 0 40px 70px -40px rgba(0, 0, 0, 0.95), 0 20px 70px -40px rgba(157, 78, 221, 0.6);
}
.rv-fig img { width: 100%; height: auto; border-radius: 18px; background: var(--bg-3); }
.rv-fig figcaption {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 12px 8px 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.rv-fig figcaption::before { content: ""; flex-shrink: 0; width: 10px; height: 10px; background: var(--star-red) center / contain no-repeat; }
.rv-fig--narrow { max-width: 560px; margin-inline: auto; }

/* tables */
.rv-table-wrap {
  margin: 28px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 22px;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018));
}
.rv-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.rv-table th, .rv-table td { padding: 15px 18px; text-align: start; border-bottom: 1px solid var(--line); vertical-align: top; }
.rv-table th {
  background: rgba(157, 78, 221, 0.14);
  color: var(--orchid);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.rv-table td { color: var(--rv-text); }
.rv-table td:first-child { color: var(--text); font-weight: 500; }
.rv-table td.n { font-family: var(--font-display); font-size: 21px; line-height: 1.1; color: #fff; white-space: nowrap; font-variant-numeric: lining-nums; }
.rv-table tbody tr:last-child td { border-bottom: 0; }
.rv-table tbody tr:hover td { background: rgba(199, 125, 255, 0.05); }

/* note = chat bubble */
.rv-note {
  position: relative;
  margin: 28px 0;
  padding: 18px 20px 18px 62px;
  border-radius: 24px 24px 24px 6px;
  background: linear-gradient(135deg, rgba(157, 78, 221, 0.22), rgba(90, 24, 154, 0.12));
  border: 1px solid rgba(199, 125, 255, 0.36);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  box-shadow: 0 24px 50px -30px rgba(139, 43, 226, 0.8);
}
.rv-note::before {
  content: "";
  position: absolute;
  top: 16px;
  inset-inline-start: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--star) center / 15px no-repeat, var(--grad-cta);
  box-shadow: 0 8px 20px -6px rgba(225, 29, 46, 0.8);
}
.rv-note strong { color: #fff; }

/* blockquote = pull quote */
.rv-sec blockquote {
  position: relative;
  margin: 36px 0;
  padding: 6px 0 6px 26px;
  border-inline-start: 2px solid transparent;
  border-image: linear-gradient(180deg, var(--red-2), var(--orchid), transparent) 1;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.22;
  color: #F5E9FF;
  text-shadow: 0 0 28px rgba(199, 125, 255, 0.45);
}
.rv-sec blockquote::before {
  content: "\201C";
  position: absolute;
  top: -0.42em;
  inset-inline-end: 0;
  font-size: 120px;
  line-height: 1;
  color: var(--orchid);
  opacity: 0.35;
}

/* pros / cons = swipe cards */
.rv-pc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 34px 0 10px; }
.rv-pc > div {
  position: relative;
  padding: 26px 24px 24px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  transition: rotate .5s var(--ease-out), border-color .3s;
}
.rv-pc .pro {
  rotate: -1deg;
  border-color: rgba(255, 69, 86, 0.35);
  background: radial-gradient(90% 60% at 0% 0%, rgba(225, 29, 46, 0.16), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}
.rv-pc .con { rotate: 1deg; }
.rv-pc > div:hover { rotate: 0deg; border-color: var(--line-2); }
.rv-pc h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; color: var(--text); font-size: 24px; }
.rv-pc h3::before {
  content: "";
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
}
.rv-pc .pro h3::before {
  background: var(--rv-heart) center / 20px no-repeat, var(--grad-cta);
  box-shadow: 0 12px 28px -8px rgba(225, 29, 46, 0.85), 0 0 24px -6px rgba(157, 78, 221, 0.8);
}
.rv-pc .con h3::before { background: var(--rv-cross) center / 18px no-repeat, rgba(26, 15, 46, 0.9); border: 1px solid var(--line-2); }
.rv-pc ul { display: grid; gap: 11px; }
.rv-pc li { position: relative; padding-inline-start: 24px; color: var(--rv-text); font-size: 15.5px; line-height: 1.5; }
.rv-pc li::before { content: ""; position: absolute; top: 0.3em; inset-inline-start: 0; width: 13px; height: 13px; background: center / contain no-repeat; }
.rv-pc .pro li::before { background-image: var(--rv-heart-red); }
.rv-pc .con li::before { background-image: var(--rv-cross); }

/* in-article CTA strip (same star rule as the homepage strips) */
.rv-cta { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 36px; }
.rv-cta::before, .rv-cta::after {
  content: "";
  flex: 1;
  height: 14px;
  background:
    var(--star) center / 12px no-repeat,
    linear-gradient(90deg, transparent, rgba(199, 125, 255, 0.5) 50%, transparent) center / 100% 1px no-repeat;
  opacity: 0.8;
}
.rv-cta .btn { flex-shrink: 0; }

/* ---------- Similar reviews = card deck ---------- */
.rv-similar { padding-block: clamp(56px, 7vw, 96px); }
.rv-similar .section-header { margin-bottom: clamp(32px, 4vw, 48px); }
.rv-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px 18px;
  counter-reset: none;
}
.rv-grid a {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 228px;
  padding: 28px 18px 60px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(170deg, rgba(44, 23, 74, 0.9), rgba(22, 12, 38, 0.95));
  border: 1px solid var(--line);
  box-shadow: 0 30px 50px -30px rgba(0, 0, 0, 0.95);
  rotate: -1.6deg;
  transition: rotate .5s var(--ease-out), translate .5s var(--ease-out), border-color .3s, box-shadow .4s;
}
.rv-grid a:nth-child(even) { rotate: 1.6deg; translate: 0 8px; }
.rv-grid a:nth-child(3n) { rotate: -0.6deg; }
.rv-grid a::before {
  content: "";
  position: absolute;
  top: 12px;
  inset-inline: 16px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.85) 0 31%, transparent 31% 34.5%, rgba(255, 255, 255, 0.22) 34.5% 65.5%, transparent 65.5% 69%, rgba(255, 255, 255, 0.22) 69% 100%);
}
.rv-grid a::after {
  content: "";
  position: absolute;
  bottom: 14px;
  inset-inline-end: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--rv-arrow) center / 16px no-repeat, rgba(157, 78, 221, 0.3);
  border: 1px solid var(--line-2);
  transition: background-color .3s, box-shadow .3s;
}
.rv-grid i {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 6px 0 8px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 22px;
  color: #fff;
  background: radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.25), transparent 55%), linear-gradient(135deg, #9D4EDD, #5A189A);
  box-shadow: 0 0 0 3px rgba(18, 10, 31, 0.9), 0 0 0 4px rgba(199, 125, 255, 0.35);
}
.rv-grid a:nth-child(3n+1) i { background: radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.3), transparent 55%), var(--grad-cta); }
.rv-grid b { font-family: var(--font-display); font-weight: 400; font-size: 23px; line-height: 1.08; color: var(--text); }
.rv-grid span { color: var(--muted); font-size: 14px; line-height: 1.45; }
.rv-grid a:hover, .rv-grid a:focus-visible {
  rotate: 0deg;
  translate: 0 -8px;
  z-index: 2;
  border-color: rgba(199, 125, 255, 0.55);
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.95), 0 0 50px -14px rgba(157, 78, 221, 0.85);
}
.rv-grid a:hover::after { background-color: transparent; background-image: var(--rv-arrow), var(--grad-cta); box-shadow: 0 8px 20px -6px rgba(225, 29, 46, 0.8); }

/* ---------- FAQ (homepage markup) ---------- */
.rv-od .faq { padding-top: clamp(40px, 6vw, 80px); }
.rv-od .faq-answer p a { color: var(--orchid-2); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.rv-od .footer-bottom p:last-child { white-space: nowrap; }
.rv-od .footer-disclosure { max-width: 640px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .rv-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .rv-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .rv-layout { grid-template-columns: minmax(0, 1fr); max-width: 760px; margin-inline: auto; gap: 8px; }
  .rv-toc { position: static; margin-bottom: 36px; }
  .rv-toc-cta { display: none; }
  .rv-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .rv-od .nav-actions .desktop-only { display: none; }
  .rv-hero { padding-top: 104px; }
  .rv-meta > span { font-size: 13px; }
  .rv-verdict { padding: 32px 18px 20px; }
  .rv-verdict::after { inset: 14px 2px -8px 18px; transform: rotate(3.5deg); }
  .rv-match { gap: 12px; }
  .rv-score { width: 76px; height: 76px; }
  .rv-score strong { font-size: 29px; }
  .rv-avatar { width: 50px; height: 50px; font-size: 21px; }
  .rv-match-name { font-size: 22px; }
  .rv-sec p { font-size: 16.5px; }
  .rv-pc { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .rv-pc > div { padding: 22px 18px 20px; }
  .rv-pc .pro { rotate: -0.8deg; }
  .rv-pc .con { rotate: 0.8deg; }
  .rv-note { padding: 16px 16px 16px 56px; }
  .rv-note::before { top: 14px; inset-inline-start: 12px; }
  .rv-table th, .rv-table td { padding: 13px 14px; }
  .rv-cta::before, .rv-cta::after { display: none; }
  .rv-cta .btn { width: 100%; white-space: normal; }
  .rv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .rv-grid a { min-height: 210px; padding: 26px 14px 56px; rotate: -1deg; }
  .rv-grid a:nth-child(even) { rotate: 1deg; translate: 0 6px; }
  .rv-grid b { font-size: 20px; }
  .rv-grid span { font-size: 13.5px; }
  .rv-od .footer-bottom p:last-child { white-space: normal; }
}
@media (max-width: 380px) {
  .rv-match { grid-template-columns: minmax(0, 1fr) auto; }
  .rv-avatar { display: none; }
}
[dir="rtl"] .rv-pc .pro, [dir="rtl"] .rv-grid a { rotate: 1.4deg; }
@media (prefers-reduced-motion: reduce) {
  .rv-pc > div, .rv-grid a, .rv-grid a:nth-child(n) { rotate: 0deg; }
}
@media print {
  .rv-toc, .rv-cta, .rv-verdict .btn, .rv-verdict::after { display: none !important; }
}
