/* ==========================================================================
   pages/reveal.css: the Reveal (/p/:id)
   Concept: design/eli/Concepts/reveal result option 2 (mvp icon should change).png
   Everything is scoped under .pg-reveal, except the scenario sheet (.rv-sheet),
   which the bottom sheet draws outside <main>.

   Layout budget: the phone view is tuned to land complete in one screenshot at
   ~390x844 below the header (spec, "Reveal"): head ~130, score ~150, five cards
   at ~62, tiles ~54, buttons 56.
   ========================================================================== */

.pg-reveal .rv-page { max-width: calc(920px + 2 * var(--gutter)); padding-top: var(--s-7); }

/* ---- the card that is the screenshot ------------------------------------- */
.pg-reveal .rv {
  position: relative;
  background: linear-gradient(180deg, #131418 0%, var(--page) 100%);
  border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 36px 44px 32px;
  box-shadow: var(--shadow-2);
}

/* head: pill + date, View scenario, title, blurb */
.pg-reveal .rv-head {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start;
  column-gap: var(--s-4);
}
.pg-reveal .rv-meta, .rv-sheet .rv-meta { display: flex; align-items: center; gap: 14px; min-height: 36px; flex-wrap: wrap; }
.pg-reveal .rv-meta .mode-pill, .rv-sheet .rv-meta .mode-pill { height: 30px; padding: 0 16px; letter-spacing: .16em; }
.pg-reveal .rv-date, .rv-sheet .rv-date {
  font: 500 var(--fs-xs)/1 var(--font-label); letter-spacing: .16em; text-transform: uppercase; color: var(--text-2);
}
.pg-reveal .rv-scn { grid-column: 2; grid-row: 1; min-height: 44px; padding: 8px 16px 8px 18px; font-weight: 500; }
.pg-reveal .rv-scn .btn-title { font-weight: 500; font-size: var(--fs-base); gap: 10px; }
.pg-reveal .rv-scn .i { width: 18px; height: 18px; }
.pg-reveal .rv-title {
  grid-column: 1 / -1; margin: 14px 0 0;
  font: 800 clamp(28px, 5vw, 46px)/1.05 var(--font-ui); letter-spacing: -.02em; color: var(--text);
}
.pg-reveal .rv-blurb {
  grid-column: 1 / -1; margin: 12px 0 0; max-width: 62ch;
  color: var(--text-2); font-size: clamp(14px, 1.9vw, 18.5px); line-height: 1.55;
}

/* ---- the score ------------------------------------------------------------ */
.pg-reveal .rv-score { margin: 26px auto 22px; text-align: center; cursor: default; }
.pg-reveal .rv-score-k { display: flex; justify-content: center; align-items: center; gap: 4px; min-height: 22px; }
.pg-reveal .rv-score-k .eyebrow { letter-spacing: .26em; font-size: var(--fs-xs); padding-left: 34px; }
.pg-reveal .rv-score-k .m-spk { width: 30px; height: 30px; color: var(--text-muted); }
.pg-reveal .rv-num {
  display: flex; justify-content: center; align-items: baseline; gap: 6px; margin-top: 2px;
  font-variant-numeric: tabular-nums; line-height: .9;
}
.pg-reveal .rv-n {
  font: 900 clamp(76px, 15vw, 132px)/.9 var(--font-ui); letter-spacing: -.045em; color: var(--text);
  text-shadow: 0 6px 40px rgba(255,255,255,.08);
}
.pg-reveal .rv-of { font: 600 clamp(22px, 3.4vw, 36px)/1 var(--font-label); color: var(--text-2); letter-spacing: -.01em; }
.pg-reveal .rv-bar { width: min(360px, 72%); height: 10px; margin: 14px auto 0; }
.pg-reveal .rv-bar > i { transition: none; }
.pg-reveal .rv-stand {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 20px;
  padding: 12px 28px; border: 1px solid var(--border); border-radius: var(--r-md);
  background: rgba(255,255,255,.015); color: var(--text); font-size: var(--fs-base);
}
.pg-reveal .rv-stand .i { width: 28px; height: 28px; color: var(--green); flex: 0 0 auto; }
.pg-reveal .rv-stand b { color: var(--green-soft); font-size: 1.4em; font-weight: 800; letter-spacing: -.01em; margin: 0 2px; }

/* ---- the crew ------------------------------------------------------------- */
.pg-reveal .rv-crew { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pg-reveal .rv-card {
  --tone: #8B5CF6; --tone-rgb: 139,92,246;
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 128px; display: flex; align-items: center;
  padding: 14px 40% 14px 32px;
  border-radius: 10px; border: 1px solid var(--border);
  background: linear-gradient(90deg, #121317 0%, #141519 55%, rgba(var(--tone-rgb), .07) 100%);
}
/* the accent bar */
.pg-reveal .rv-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  background: var(--tone); box-shadow: 0 0 14px rgba(var(--tone-rgb), .55); z-index: 2;
}
.pg-reveal .rv-txt { position: relative; z-index: 3; min-width: 0; flex: 1; }
.pg-reveal .rv-role { display: flex; align-items: center; gap: 12px; min-height: 20px; white-space: nowrap; min-width: 0; }
.pg-reveal .rv-role > * { flex: 0 0 auto; }
.pg-reveal .rv-role .rv-role-k { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.pg-reveal .rv-role-k {
  font: 600 var(--fs-sm)/1 var(--font-label); letter-spacing: .16em; text-transform: uppercase; color: var(--tone);
}
.pg-reveal .rv-role .result-tag.is-mini { min-height: 24px; font-size: 12px; }
.pg-reveal .rv-role .result-tag.is-mini.is-first { color: var(--gold-strong); gap: 8px; }
.pg-reveal .rv-role .result-tag.is-mini.is-first .i { width: 17px; height: 17px; }
.pg-reveal .rv-role .result-tag.is-mini.is-mvp { padding: 3px 12px; box-shadow: 0 0 16px rgba(34,197,94,.45); }
.pg-reveal .rv-role .result-tag.is-mini.is-mvp .i { width: 15px; height: 15px; }
.pg-reveal .rv-void {
  font: 600 10.5px/1 var(--font-label); letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-2); border: 1px solid var(--hover); border-radius: var(--r-pill); padding: 4px 9px;
}
.pg-reveal .rv-name {
  margin-top: 6px; font: 500 clamp(21px, 3.3vw, 31px)/1.12 var(--font-serif); color: var(--text); letter-spacing: -.005em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pg-reveal .rv-who {
  margin: 8px 0 0; color: var(--text-2); font-size: clamp(12.5px, 1.7vw, 16px); line-height: 1.38; letter-spacing: .02em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* the portrait: greyscale, bleeding in from the right, a glow in the card colour */
.pg-reveal .rv-face { position: absolute; right: 0; top: 0; bottom: 0; width: 44%; z-index: 1; }
/* the glow behind the face, in the card colour */
.pg-reveal .rv-face::before {
  content: ""; position: absolute; inset: -30% -20% -30% 8%; z-index: 0;
  background: radial-gradient(closest-side, rgba(var(--tone-rgb), .38), rgba(var(--tone-rgb), 0) 100%);
}
/* the face itself: greyscale, toned toward the card colour (white takes the
   tone, black stays black), and faded out at every edge so it bleeds in */
.pg-reveal .rv-ph {
  position: absolute; inset: 0; z-index: 1; overflow: hidden;
  /* A left-to-right fade, so a plate with its own frame or a hard crop still
     bleeds into the card rather than sitting on it as a box. */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.1) 22%, rgba(0,0,0,.55) 46%, #000 72%);
          mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.1) 22%, rgba(0,0,0,.55) 46%, #000 72%);
}
.pg-reveal .rv-ph img {
  position: absolute; right: 0; top: 0; height: 100%; width: 100%; object-fit: cover; object-position: 50% 20%;
  filter: grayscale(1) contrast(1.25) brightness(.8);
  opacity: 0; transition: opacity 360ms var(--ease-out);
}
.pg-reveal .rv-face.is-in .rv-ph img { opacity: 1; }
/* The tone is laid over the face only once it has loaded: over an empty box a
   multiply layer is just a pale blob. */
.pg-reveal .rv-face.is-in .rv-ph::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: color-mix(in srgb, var(--tone) 30%, #fff); mix-blend-mode: multiply;
}
.pg-reveal .rv-face.is-mono { display: grid; place-items: center end; }
.pg-reveal .rv-mono {
  position: relative; z-index: 1; margin-right: 12%;
  font: 600 clamp(44px, 7vw, 76px)/1 var(--font-serif); letter-spacing: -.02em;
  color: rgba(var(--tone-rgb), .5); text-shadow: 0 0 30px rgba(var(--tone-rgb), .45);
}
.pg-reveal .rv-face.is-empty::before { opacity: .35; }
/* Under a stamp the monogram sits where the stamp lands and steps back, so the
   stamp reads as pressed onto a plate rather than jostling two letters. */
.pg-reveal .rv-card.has-stamp .rv-mono { margin-right: 24%; color: rgba(var(--tone-rgb), .32); }

/* the stamp over the portrait */
.pg-reveal .rv-stamp { position: absolute; right: 5%; top: 50%; transform: translateY(-50%); z-index: 4; }
.pg-reveal .rv-stamp .stamp:not(.is-cost) {
  font-size: clamp(15px, 2.5vw, 25px); padding: 4px 12px 3px; border-width: 3px;
  color: #3EDC77; background: rgba(6, 36, 18, .55);
  /* ink that did not quite take: a grain mask over the whole stamp */
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='60'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.6 0 0 0 1.95'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='60'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.6 0 0 0 1.95'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  -webkit-mask-size: 160px 60px; mask-size: 160px 60px;
}
.pg-reveal .rv-stamp .stamp.is-cost {
  font-size: clamp(12px, 1.6vw, 15px); letter-spacing: .2em; color: #FF5A5A;
  text-shadow: 0 0 12px rgba(239,68,68,.6), 0 1px 3px rgba(0,0,0,.9);
  /* a bright photo behind it would eat red text: a dark wash keeps it legible */
  background: radial-gradient(closest-side, rgba(10,6,8,.72), rgba(10,6,8,.4) 70%, rgba(10,6,8,0));
  padding: 8px 12px;
}

/* status cards */
.pg-reveal .rv-card.is-mvp {
  border: 1.5px solid var(--green); box-shadow: 0 0 0 1px rgba(34,197,94,.25), 0 0 30px -6px rgba(34,197,94,.55);
  background: linear-gradient(90deg, rgba(20,60,34,.55) 0%, rgba(22,90,44,.55) 55%, rgba(34,197,94,.42) 100%);
}
.pg-reveal .rv-card.is-mvp .rv-face.is-in .rv-ph::after { background: color-mix(in srgb, var(--green) 85%, #fff); }
.pg-reveal .rv-card.is-mvp .rv-face.is-in .rv-ph img { filter: grayscale(1) contrast(1.3) brightness(.95); }
.pg-reveal .rv-card.is-mvp .rv-face::before { background: radial-gradient(closest-side, rgba(34,197,94,.75), rgba(34,197,94,0)); }
.pg-reveal .rv-card.is-first .rv-face.is-in .rv-ph::after { background: color-mix(in srgb, var(--gold-strong) 45%, #fff); }
.pg-reveal .rv-card.is-cost .rv-face.is-in .rv-ph::after { background: color-mix(in srgb, var(--red) 40%, #fff); }
.pg-reveal .rv-card.is-first {
  border: 1.5px solid var(--gold-strong); box-shadow: 0 0 22px -8px rgba(245,181,61,.55);
  background: linear-gradient(90deg, #1B1507 0%, #2A1F08 60%, rgba(245,181,61,.18) 100%);
}
.pg-reveal .rv-card.is-cost { background: linear-gradient(90deg, #141216 0%, #1E1114 55%, rgba(239,68,68,.20) 100%); }
/* A seat that did not count sits back: a dimmer face, a darker tone. */
.pg-reveal .rv-card.is-void .rv-face.is-in .rv-ph img { opacity: .55; filter: grayscale(1) contrast(1.2) brightness(.6); }
.pg-reveal .rv-card.is-void .rv-face.is-in .rv-ph::after { background: color-mix(in srgb, var(--tone) 55%, #000); }
.pg-reveal .rv-card.is-void .rv-face::before { opacity: .45; }

/* ---- summary tiles and the way on -------------------------------------- */
.pg-reveal .rv-tiles {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
  margin-top: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--border);
}
.pg-reveal .tag-tile { background: #141519; }
.pg-reveal .tag-tile.is-none .tt-v { color: var(--text-muted); font-style: italic; }
.pg-reveal .tag-tile.is-none .tt-icon { filter: saturate(.35); opacity: .75; }

.pg-reveal .rv-go {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 16px; margin-top: 22px;
}
.pg-reveal .rv-go .btn { min-height: 76px; }
.pg-reveal .rv-share { justify-content: center; }
.pg-reveal .rv-next .btn-title { font-size: var(--fs-md); }
.pg-reveal .rv-next .btn-sub { font-size: var(--fs-xs); }

/* image credits sit under the card, outside the screenshot */
.pg-reveal .rv-credits { margin-top: var(--s-4); }
.pg-reveal .rv-credits .credits { font-size: var(--fs-xs); color: var(--text-muted); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.pg-reveal .rv-credits .credits-k { font: 600 10.5px/1.5 var(--font-label); letter-spacing: .14em; text-transform: uppercase; }
.pg-reveal .rv-credits a { color: var(--text-muted); }
.pg-reveal .rv-credits a:hover { color: var(--text-2); }

/* ---- motion: rise in turn, thump on --------------------------------------- */
.pg-reveal .rv-anim .rv-card { opacity: 0; transform: translateY(14px); transition: opacity 380ms var(--ease-out), transform 420ms var(--ease-out); }
.pg-reveal .rv-anim .rv-card.is-in { opacity: 1; transform: none; }
.pg-reveal .rv-anim .rv-card:not(.is-stamped) .rv-stamp { visibility: hidden; }
.pg-reveal .rv-anim .rv-tiles, .pg-reveal .rv-anim .rv-go, .pg-reveal .rv-anim .rv-stand {
  opacity: 0; transition: opacity 420ms var(--ease-out) 200ms;
}
.pg-reveal .rv-anim.is-landed .rv-tiles, .pg-reveal .rv-anim.is-landed .rv-go, .pg-reveal .rv-anim.is-landed .rv-stand { opacity: 1; }
.pg-reveal .rv-stamp .stamp.is-thump { animation: rv-thump 380ms cubic-bezier(.3,1.6,.5,1) both; }
.pg-reveal .rv-stamp .stamp.is-cost.is-thump { animation: rv-cost 420ms var(--ease-out) both; }
@keyframes rv-thump {
  0%   { opacity: 0; transform: rotate(-16deg) scale(2.1); }
  55%  { opacity: 1; transform: rotate(-16deg) scale(.92); }
  100% { opacity: 1; transform: rotate(-16deg) scale(1); }
}
@keyframes rv-cost {
  0% { opacity: 0; letter-spacing: .6em; }
  100% { opacity: 1; letter-spacing: .2em; }
}
.pg-reveal .rv-card.is-mvp.is-stamped { animation: rv-glow 1.2s var(--ease-out) 1; }
@keyframes rv-glow {
  0% { box-shadow: 0 0 0 1px rgba(34,197,94,.25), 0 0 0 0 rgba(34,197,94,0); }
  40% { box-shadow: 0 0 0 1px rgba(34,197,94,.5), 0 0 44px 2px rgba(34,197,94,.6); }
  100% { box-shadow: 0 0 0 1px rgba(34,197,94,.25), 0 0 30px -6px rgba(34,197,94,.55); }
}
@media (prefers-reduced-motion: reduce) {
  .pg-reveal .rv-anim .rv-card, .pg-reveal .rv-anim .rv-tiles, .pg-reveal .rv-anim .rv-go, .pg-reveal .rv-anim .rv-stand { opacity: 1; transform: none; }
  .pg-reveal .rv-anim .rv-card .rv-stamp { visibility: visible; }
}

/* ---- tablet --------------------------------------------------------------- */
@media (max-width: 900px) {
  .pg-reveal .rv { padding: 28px 28px 26px; }
  .pg-reveal .rv-card { min-height: 104px; padding-left: 26px; }
}

/* ---- phone: one screenshot ------------------------------------------------ */
@media (max-width: 600px) {
  .pg-reveal .rv-page { padding-top: 10px; padding-bottom: var(--s-7); }
  .pg-reveal .rv { padding: 0; border: 0; background: none; box-shadow: none; border-radius: 0; }
  .pg-reveal .rv-meta { gap: 10px; min-height: 30px; }
  .pg-reveal .rv-meta .mode-pill { height: 24px; padding: 0 10px; font-size: 10.5px; }
  .pg-reveal .rv-date { font-size: 10.5px; }
  .pg-reveal .rv-scn { min-height: 30px; padding: 4px 10px 4px 12px; border-radius: var(--r-sm); }
  .pg-reveal .rv-scn .btn-title { font-size: var(--fs-xs); gap: 6px; }
  .pg-reveal .rv-scn .i { width: 14px; height: 14px; }
  .pg-reveal .rv-title { margin-top: 8px; font-size: 27px; }
  .pg-reveal .rv-blurb {
    margin-top: 6px; font-size: 13px; line-height: 1.45;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  }
  .pg-reveal .rv-score { margin: 12px auto 12px; }
  .pg-reveal .rv-score-k { min-height: 18px; }
  .pg-reveal .rv-score-k .eyebrow { font-size: 10.5px; padding-left: 30px; }
  .pg-reveal .rv-score-k .m-spk { width: 26px; height: 26px; }
  .pg-reveal .rv-n { font-size: 72px; }
  .pg-reveal .rv-of { font-size: 21px; }
  .pg-reveal .rv-bar { height: 8px; margin-top: 8px; width: 62%; }
  .pg-reveal .rv-stand { margin-top: 10px; padding: 7px 14px; gap: 10px; font-size: 13px; }
  .pg-reveal .rv-stand .i { width: 20px; height: 20px; }
  .pg-reveal .rv-crew { gap: 6px; }
  .pg-reveal .rv-card { min-height: 62px; padding: 8px 36% 8px 16px; border-radius: 8px; }
  .pg-reveal .rv-card::before { width: 4px; }
  .pg-reveal .rv-role { gap: 8px; min-height: 16px; }
  .pg-reveal .rv-role-k { font-size: 10px; letter-spacing: .14em; }
  .pg-reveal .rv-role .result-tag.is-mini { min-height: 18px; font-size: 9.5px; padding: 1px 7px; gap: 4px; }
  .pg-reveal .rv-role .result-tag.is-mini.is-first { padding-left: 0; }
  .pg-reveal .rv-role .result-tag.is-mini .i { width: 11px; height: 11px; }
  .pg-reveal .rv-void { font-size: 9px; padding: 2px 6px; }
  .pg-reveal .rv-name { margin-top: 2px; font-size: 19.5px; }
  .pg-reveal .rv-who { margin-top: 2px; font-size: 12px; letter-spacing: .01em; -webkit-line-clamp: 1; }
  .pg-reveal .rv-card.is-both .is-first .rt-t { display: none; }
  .pg-reveal .rv-card { padding-top: 7px; padding-bottom: 7px; }
  .pg-reveal .rv-role-k { font-size: 9.5px; letter-spacing: .12em; }
  .pg-reveal .rv-role .result-tag.is-mini { min-height: 16px; line-height: 1; }
  .pg-reveal .rv-role .result-tag.is-mini.is-first { gap: 4px; }
  .pg-reveal .rv-role .result-tag.is-mini.is-first .i { width: 12px; height: 12px; }
  .pg-reveal .rv-role .result-tag.is-mini.is-mvp { padding: 1px 7px; }
  .pg-reveal .rv-role .result-tag.is-mini.is-mvp .i { width: 11px; height: 11px; }
  .pg-reveal .rv-role .rt-t { font-size: 9px; letter-spacing: .08em; }
  .pg-reveal .rv-name { margin-top: 1px; }
  .pg-reveal .rv-who { margin-top: 1px; line-height: 1.3; }
  .pg-reveal .rv-face { width: 42%; }
  .pg-reveal .rv-score { margin: 10px auto; }
  .pg-reveal .rv-stand { margin-top: 8px; padding: 6px 14px; }

  .pg-reveal .rv-mono { font-size: 34px; margin-right: 16%; }
  .pg-reveal .rv-card.has-stamp .rv-mono { margin-right: 26%; }
  .pg-reveal .rv-stamp { right: 3%; }
  .pg-reveal .rv-stamp .stamp:not(.is-cost) { font-size: 13px; padding: 2px 7px 1px; border-width: 2px; }
  .pg-reveal .rv-stamp .stamp.is-cost { font-size: 10.5px; letter-spacing: .16em; }
  /* Three across does not fit "First Discovery" beside an icon at 390, so on a
     phone each tile stands up: icon, label, name, centred. */
  .pg-reveal .rv-tiles { gap: 6px; margin-top: 10px; padding-bottom: 0; border-bottom: 0; }
  .pg-reveal .tag-tile { flex-direction: column; gap: 2px; padding: 6px 4px; border-radius: var(--r-sm); text-align: center; }
  .pg-reveal .tag-tile .tt-icon { width: 22px; height: 22px; flex: 0 0 22px; background: none; border-radius: 0; }
  .pg-reveal .tag-tile .tt-icon .i { width: 20px; height: 20px; }
  .pg-reveal .tag-tile .tt-text { width: 100%; }
  .pg-reveal .tag-tile .tt-k { font: 600 9.5px/1.2 var(--font-label); letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
  .pg-reveal .tag-tile .tt-v { font-size: 12.5px; font-weight: 600; color: var(--text); margin-top: 1px; }
  .pg-reveal .tag-tile.is-none .tt-v { font-weight: 400; }
  .pg-reveal .rv-go { grid-template-columns: 56px minmax(0, 1fr); gap: 8px; margin-top: 10px; }
  .pg-reveal .rv-go .btn { min-height: 56px; }
  .pg-reveal .rv-share { padding: 0; }
  .pg-reveal .rv-share .btn-icon .i { width: 24px; height: 24px; }
  .pg-reveal .rv-share .btn-text {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }
  .pg-reveal .rv-next { padding: 8px 12px; }
  .pg-reveal .rv-next .btn-title { font-size: 15px; }
  .pg-reveal .rv-next .btn-sub { display: none; }
}
@media (max-width: 350px) {
  .pg-reveal .tag-tile .tt-k { font-size: 8.5px; letter-spacing: .04em; }
}

/* ---- the scenario sheet (drawn in the bottom sheet, outside <main>) -------- */
.rv-sheet h2 { margin: 12px 0 6px; font: 800 26px/1.1 var(--font-ui); letter-spacing: -.015em; }
.rv-sheet .rv-sheet-blurb { color: var(--text-2); margin: 0 0 18px; line-height: 1.5; }
.rv-sheet .rv-sseats { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; }
.rv-sheet .rv-sseat { padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); }
.rv-sheet .rv-sseat-h { font: 600 var(--fs-sm)/1.2 var(--font-label); letter-spacing: .14em; text-transform: uppercase; color: var(--mode-primary); }
.rv-sheet .rv-sseat p { margin: 6px 0 10px; color: var(--text-2); font-size: var(--fs-sm); line-height: 1.45; }
.rv-sheet .constraints { display: flex; flex-wrap: wrap; gap: 8px; }
