/* ------------------------------------------------------------------
   rocode-vs-rebirth.css: page-only rules for /rocode-vs-rebirth
   (2026-10-15, v3). Loaded after /seo-landing.css (homepage look,
   body.sl), /game-maker.css (the hero wall .gm-wall / .gm-tile and the
   chip list .gm-chiplist) and /media.css. Every page class is .vrb-.
   Sections: hero (wall of six guide loops with the match card in
   front), verdict (two VS tiles of pick chips), four differences,
   reach outside Studio (icon tiles beside a chip list), feature loops,
   connect, pricing (two plan ladders), FAQ (sources + related), start.
   Static apart from hover; reduced motion removes the movement.
   ------------------------------------------------------------------ */

/* ---------- hero: keyword headline with the domain under it, then the wall ---------- */
.vrb-hero h1 { max-width: none; }
.vrb-hero .sl-mark { margin: 0 .04em; }
.vrb-h1-domain {
  display: block; margin-top: .95em; font-size: .36em; font-weight: 500; font-style: normal; line-height: 1.2;
  letter-spacing: -.01em; color: #8f84a3;
}
.vrb-hero .sl-lead { max-width: 70ch; margin-top: 24px; }
.vrb-hero .sl-answer, .vrb-hero details.more { width: 100%; text-align: left; }
.vrb-hero .sl-answer { max-width: 760px; margin-top: 48px; }
.vrb-hero .sl-answer > p:not(.sl-answer-label):not(.sl-answer-date) { font-size: 16px; line-height: 1.6; }
.vrb-hero .sl-answer > p.sl-answer-date { font-size: 13px; }
.vrb-hero details.more { max-width: 760px; margin: 24px auto 0; }

/* the wall sits a little lower than on /roblox-ai-game-maker, so the match card has room in front of it */
.vrb-wall { margin-top: 34px; padding-bottom: 56px; }

/* ---------- the match card: RoCode, VS, Rebirth, in front of the wall ---------- */
.vrb-match {
  position: absolute; left: 50%; bottom: 0; z-index: 2; translate: -50% 0;
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 4px;
  width: min(740px, 92%); padding: 8px; text-align: left;
  border: 1px solid rgba(167, 139, 250, .42); border-radius: 22px; background: rgba(21, 16, 31, .95);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 0 0 6px rgba(139, 92, 246, .08), 0 0 60px -12px rgba(139, 92, 246, .7), 0 30px 60px -24px rgba(0, 0, 0, .95);
}
.vrb-match-side { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 10px 14px; border-radius: 15px; }
.vrb-match-side.is-rocode { background: linear-gradient(90deg, rgba(139, 92, 246, .2), rgba(139, 92, 246, .03)); }
.vrb-match-side.is-other { flex-direction: row-reverse; text-align: right; }
.vrb-match-logo {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; color: #e6def3;
  border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .05); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}
.vrb-match-side.is-rocode .vrb-match-logo { border-color: rgba(167, 139, 250, .5); background: rgba(139, 92, 246, .16); box-shadow: 0 0 16px 2px rgba(139, 92, 246, .22); }
.vrb-match-logo img { display: block; width: 26px; height: 26px; }
.vrb-match-txt { min-width: 0; margin: 0; }
.vrb-match-name { display: block; font-size: 18px; font-weight: 650; line-height: 1.2; letter-spacing: -.02em; color: #f6f1ff; }
.vrb-match-sub { display: block; margin-top: 2px; font-size: 13px; line-height: 1.35; color: #9d92b1; text-wrap: balance; }
.vrb-match-vs {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(167, 139, 250, .5); background: radial-gradient(circle at 50% 30%, #2a1a4d, #120b1f 70%);
  box-shadow: 0 0 30px -6px rgba(139, 92, 246, .75);
  font-size: 15px; font-weight: 800; font-style: italic; letter-spacing: .02em; color: #f6f1ff;
}
/* tablet: both sub lines wrap to two balanced lines, so the two names sit level */
@media (min-width: 641px) and (max-width: 900px) { .vrb-match-sub { max-width: 16ch; } }
@media (max-width: 640px) {
  .vrb-wall { margin-top: 30px; padding-bottom: 64px; }
  .vrb-match { width: 96%; gap: 2px; padding: 6px; border-radius: 18px; }
  /* phones: logo and name on one line, the sub line under both */
  .vrb-match-side, .vrb-match-side.is-other {
    flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 6px 8px; padding: 9px 6px 10px; text-align: center;
  }
  .vrb-match-txt { display: contents; }
  .vrb-match-sub { flex: 0 0 100%; margin-top: 0; font-size: 12px; text-wrap: balance; }
  .vrb-match-side.is-rocode { background: linear-gradient(180deg, rgba(139, 92, 246, .2), rgba(139, 92, 246, .03)); }
  .vrb-match-logo { width: 30px; height: 30px; border-radius: 9px; }
  .vrb-match-logo img { width: 18px; height: 18px; }
  .vrb-match-logo svg { width: 18px; height: 18px; }
  .vrb-match-name { font-size: 16px; }
  .vrb-wall .gm-tile-name { height: 22px; font-size: 11.5px; }
  .vrb-match-vs { width: 36px; height: 36px; font-size: 12.5px; }
  .vrb-hero .sl-answer { margin-top: 36px; }
}

/* ---------- verdict: two VS tiles, each a list of pick chips (title, then one quiet line) ---------- */
.vrb-pick { max-width: 1080px; }
.vrb-pick .sl-vs-tile { padding: 34px 26px 26px; }
.vrb-pick .sl-vs-logo { margin-bottom: 10px; }
.vrb-pick-head { margin: 0; font-size: 21px; font-weight: 500; line-height: 1.3; letter-spacing: -.015em; color: #b7abc8; }
.vrb-pick-name { font-weight: 650; color: #f6f1ff; }
.vrb-pick .is-rocode .vrb-pick-name { color: #c4b5fd; }
.vrb-picks { display: grid; gap: 10px; width: 100%; margin: 22px 0 0; padding: 0; list-style: none; text-align: left; }
.vrb-picks li {
  position: relative; display: grid; gap: 2px; padding: 13px 16px 14px 50px;
  border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px; background: rgba(255, 255, 255, .025);
}
.vrb-picks li::before {
  content: "\2713"; position: absolute; left: 15px; top: 14px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  font-family: var(--rc-font); font-size: 11px; font-weight: 800; line-height: 1; color: #34d399; background: rgba(52, 211, 153, .16);
}
.vrb-picks strong { font-size: 15.5px; font-weight: 600; line-height: 1.4; color: #f6f1ff; }
.vrb-picks li > span { font-size: 14px; line-height: 1.45; color: var(--rc-text-2); text-wrap: pretty; }
.vrb-pick .is-rocode .vrb-picks li { border-color: rgba(167, 139, 250, .2); background: rgba(139, 92, 246, .08); }
.vrb-nw { white-space: nowrap; }
@media (min-width: 761px) {
  .vrb-picks { flex: 1; grid-auto-rows: 1fr; }
  .vrb-picks li { align-content: center; }
  .vrb-picks li::before { top: 50%; translate: 0 -50%; }
}
@media (max-width: 760px) {
  .vrb-pick .sl-vs-tile { padding: 30px 18px 20px; }
  .vrb-pick .sl-vs-tile + .sl-vs-badge + .sl-vs-tile { padding-top: 44px; }
  .vrb-pick .sl-vs-logo { width: 52px; height: 52px; border-radius: 15px; }
  .vrb-pick .sl-vs-logo img { width: 28px; height: 28px; }
  .vrb-pick .sl-vs-logo svg { width: 26px; height: 26px; }
  .vrb-pick-head { font-size: 19px; }
}
@media (max-width: 420px) {
  .vrb-picks li { padding: 12px 14px 13px 46px; }
  .vrb-picks li::before { left: 13px; top: 13px; }
  .vrb-picks strong { font-size: 15px; }
  .vrb-picks li > span { font-size: 13.5px; }
}

/* ---------- the four differences: a touch more air in the big answers ---------- */
.vrb-pairs .sl-pair-big { font-size: 24px; }
.vrb-pairs .sl-pair-cell:not(.is-rocode) .sl-pair-big { color: #d9d0e8; }
@media (max-width: 420px) {
  .vrb-pairs .sl-pair-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .vrb-pairs .sl-pair-cell { padding: 12px 12px 14px; }
  .vrb-pairs .sl-pair-big { font-size: 19px; }
  .vrb-pairs .sl-pair-cell p { font-size: 13px; }
}

/* ---------- reach outside Studio: Rebirth's four optional powers as icon tiles, RoCode's limits as chips ---------- */
.vrb-reach .sl-duo-card { display: flex; flex-direction: column; }
.vrb-reach .sl-duo-title { margin-bottom: 20px; }
.vrb-ico {
  display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; color: #e6def3;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08);
}
.vrb-ico img { display: block; width: 22px; height: 22px; }
.is-rocode .vrb-ico { background: rgba(139, 92, 246, .15); border-color: rgba(167, 139, 250, .45); box-shadow: 0 0 16px 2px rgba(139, 92, 246, .18); }
.vrb-reach-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.vrb-reach-grid li {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-width: 0; padding: 16px 16px 17px;
  border: 1px solid rgba(255, 255, 255, .08); border-radius: 16px; background: rgba(255, 255, 255, .025);
  font-size: 14.5px; font-weight: 500; line-height: 1.4; color: #e6def3; text-wrap: pretty;
}
.vrb-reach-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; color: #e6def3; background: rgba(255, 255, 255, .06); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
.vrb-off.gm-chiplist li::before { content: "\2212"; font-size: 13px; color: #c4b5fd; background: rgba(139, 92, 246, .2); }
.vrb-reach .is-rocode .gm-chiplist { grid-auto-rows: 1fr; }
.vrb-reach .is-rocode .gm-chiplist li { min-height: 56px; border-color: rgba(167, 139, 250, .18); background: rgba(139, 92, 246, .07); }
@media (max-width: 860px) { .vrb-reach .is-rocode .gm-chiplist li { min-height: 46px; } }
@media (min-width: 861px) {
  .vrb-reach .gm-chiplist { grid-template-columns: minmax(0, 1fr); }
  .vrb-reach .is-rocode .gm-chiplist { flex: 1; }
}
.vrb-reach-note { display: flex; align-items: flex-start; gap: 10px; margin: auto 0 0; padding-top: 18px; font-size: 13.5px; line-height: 1.5; color: #9d92b1; text-wrap: pretty; }
.vrb-reach-note svg { flex: none; margin-top: 1px; color: #a78bfa; }
@media (max-width: 480px) {
  .vrb-reach-grid { gap: 8px; }
  .vrb-reach-grid li { gap: 10px; padding: 14px 12px 15px; font-size: 14px; }
  .vrb-reach-ico { width: 34px; height: 34px; }
}

/* ---------- feature loops: three cards in a row down to tablet width (no orphan card) ---------- */
@media (min-width: 641px) { .vrb-feats.exg { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 641px) and (max-width: 900px) {
  body.sl .vrb-feats .exg-body { padding: 14px 14px 16px; }
  body.sl .vrb-feats .exg-prompt { font-size: 13px; }
}
.vrb-feats .exg-card { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 40px 90px -50px rgba(124, 58, 237, .5); }

@media (hover: none) { .vrb-hover-hint { display: none; } }

/* ---------- how each connects: RoCode's diagram, Rebirth as one row of chips, then the walkthrough ---------- */
.vrb-flows { display: grid; gap: 40px; max-width: 1040px; margin: 0 auto; }
.vrb-flow-label {
  display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 18px;
  font-size: 12px; font-weight: 600; line-height: 1.2; letter-spacing: .14em; text-transform: uppercase; color: #8f84a3;
}
.vrb-flow-label img { display: block; width: 18px; height: 18px; }
.vrb-flow-label.is-rocode { color: #c4b5fd; }
.vrb-flow-label::before, .vrb-flow-label::after { content: ""; flex: 0 1 72px; border-top: 1px solid rgba(255, 255, 255, .08); }
.vrb-flow .v3-node { padding: 26px 18px 22px; }
.vrb-other .vrb-flow-label { margin-bottom: 14px; }
.vrb-other-chips.v3-chips { margin: 0; }
.vrb-other-chips.v3-chips li { color: #cfc3e0; }
.vrb-other-chips.v3-chips svg { color: #b7abc8; }
.vrb-other-chips.v3-chips li.is-unknown { border-style: dashed; color: #9d92b1; }
.vrb-walk { position: relative; max-width: 1040px; margin: 56px auto 0; }
.vrb-walk::before {
  content: ""; position: absolute; inset: -10% -6% 6%; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(124, 58, 237, .10), rgba(124, 58, 237, .03) 55%, transparent 75%);
}
.vrb-walk .sl-frame > video { object-fit: contain; background: #0d0a14; }
/* the walkthrough's glow stays inside the page (it pushed the page wider at 390 and 1024) */
body.sl main > #connect { overflow-x: clip; }
@media (max-width: 1023px) {
  .vrb-flow .v3-link::before { border-top: 0; }
  .vrb-flow .v3-node { padding: 20px 16px 18px; }
  .vrb-flow .v3-link { height: 48px; }
}
@media (max-width: 768px) { .vrb-walk::before { left: 0; right: 0; } }
@media (max-width: 640px) {
  .vrb-walk { margin-top: 40px; }
  .vrb-flows { gap: 32px; }
  /* phones: the diagram as compact rows (icon left) */
  .vrb-flow .v3-flow { max-width: none; }
  .vrb-flow .v3-node { grid-template-columns: 44px minmax(0, 1fr); justify-items: start; align-items: center; gap: 2px 14px; padding: 14px 16px; text-align: left; }
  .vrb-flow .v3-node-ico { grid-row: 1 / span 2; width: 44px; height: 44px; margin: 0; border-radius: 12px; }
  .vrb-flow .v3-node-ico svg { width: 22px; height: 22px; }
  .vrb-flow .v3-node-title { font-size: 16px; }
  .vrb-flow .v3-node-text { font-size: 13.5px; }
  .vrb-flow .v3-link { height: 40px; }
  .vrb-flow .v3-link::before { left: 38px; top: 4px; bottom: 4px; }
  .vrb-flow .v3-link span { justify-self: start; margin-left: 56px; }
  .vrb-other-chips.v3-chips { gap: 8px; }
  .vrb-other-chips.v3-chips li { min-height: 40px; padding: 0 12px; font-size: 13.5px; }
}

/* ---------- pricing: two plan ladders, four rungs each, so the $29.99 plans sit on the same row ---------- */
.vrb-ladders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 980px; margin: 0 auto; padding: 0; list-style: none; }
.vrb-ladder {
  display: flex; flex-direction: column; min-width: 0; padding: 26px 24px 24px;
  border: 1px solid rgba(255, 255, 255, .08); border-radius: 24px; background: #15101f; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}
.vrb-ladder.is-rocode {
  border-color: rgba(167, 139, 250, .32); background: linear-gradient(180deg, rgba(139, 92, 246, .14), #15101f 55%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 60px 120px -50px rgba(124, 58, 237, .6);
}
.vrb-ladder-head { display: flex; align-items: center; gap: 12px; }
.vrb-ladder-head > div { min-width: 0; }
.vrb-ladder-head .mb-tag { position: static; flex: none; margin-left: auto; white-space: nowrap; }
.vrb-ladder:not(.is-rocode) .mb-ico { color: #cfc3e0; background: rgba(255, 255, 255, .05); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
.vrb-ladder-name { font-size: 18px; font-weight: 650; line-height: 1.25; letter-spacing: -.015em; color: #f6f1ff; }
.vrb-ladder-sub { margin-top: 2px; font-size: 13px; line-height: 1.4; color: var(--rc-text-3); }
.vrb-rungs { display: grid; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.vrb-rungs li {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 64px; padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, .07); border-radius: 14px; background: rgba(255, 255, 255, .025);
}
.vrb-rungs li > div { min-width: 0; }
.vrb-rung-name { font-size: 15px; font-weight: 600; line-height: 1.3; color: #f2f0f7; }
.vrb-rung-note { margin-top: 2px; font-size: 13px; line-height: 1.4; color: var(--rc-text-2); text-wrap: pretty; }
.vrb-rung-price { flex: none; font-size: 22px; font-weight: 650; line-height: 1; letter-spacing: -.03em; color: #f6f1ff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.vrb-rung-price span { margin-left: 2px; font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--rc-text-3); }
.vrb-rungs li.is-free .vrb-rung-price { color: #6ee7b7; }
.vrb-ladder.is-rocode .vrb-rungs li { border-color: rgba(167, 139, 250, .16); background: rgba(139, 92, 246, .06); }
.vrb-ladder-foot { margin: 16px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--rc-text-3); }
.vrb-ladder:not(.is-rocode) .vrb-ladder-foot { margin-top: auto; padding-top: 16px; }
/* side by side: Rebirth's footnote sits level with RoCode's Start free button */
@media (min-width: 761px) { .vrb-ladder:not(.is-rocode) .vrb-ladder-foot { display: flex; align-items: center; min-height: 64px; } }
.vrb-ladder-btn { width: 100%; min-height: 46px; margin-top: 18px; border-radius: 12px; font-weight: 600; }
.vrb-ladders + .mb-foot { margin-top: 26px; }
@media (max-width: 760px) { .vrb-ladders { grid-template-columns: minmax(0, 1fr); max-width: 520px; } }
@media (max-width: 420px) {
  .vrb-ladder { padding: 22px 16px 18px; border-radius: 20px; }
  .vrb-rungs li { padding: 10px 14px; }
  .vrb-rung-price { font-size: 20px; }
}

/* ---------- lists inside the expanders ---------- */
body.sl details.more .vs-list { margin-top: 0; }
body.sl details.more .vs-list li { font-size: 15px; color: var(--rc-text-2); }
body.sl details.more .more-title { margin-top: 4px; }
body.sl details.more .vs-list + .more-title { margin-top: 20px; }
body.sl details.more .compare-card { border-top: 0; }
body.sl details.more .more-body > p + .sl-sources { margin-top: 12px; }
.vrb-more-note { margin-top: 14px; font-size: 13.5px !important; color: var(--rc-text-3) !important; }

/* ---------- FAQ footer: related pages as pills ---------- */
body.sl main > #faq > .container > details.more { max-width: 880px; }
.vrb-related { max-width: 880px; margin: 40px auto 0; text-align: center; }
.vrb-related-label { margin: 0 0 14px; font-size: 12px; font-weight: 600; line-height: 1.2; letter-spacing: .16em; text-transform: uppercase; color: #8f84a3; }

/* ---------- closing cards: the prompt is two lines, so its card is wider and the screen card sits lower ---------- */
.vrb-fa-shot { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-bottom: 1px solid var(--rc-line); background: var(--rc-bg-sunken); }
.vrb-fa-shot { background-position: center; background-size: cover; background-repeat: no-repeat; }
.vrb-fa-shot > video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.vrb-fa-shot .sl-art-tag { left: 10px; right: auto; top: 10px; }
.vrb-fa-ico { flex: none; color: #a78bfa; }
.vrb-final .fa-prompt-text { font-size: 14.5px; }
@media (min-width: 1024px) {
  .vrb-final .fa-prompt { width: 66%; }
  .sl .vrb-final .final-art .fa-game { position: absolute; top: 96px; right: 0; }
}
/* On phones the recording's interface text is too small to read; the pairing list carries the setup. */
@media (max-width: 640px) { .vrb-walk { display: none; } }
