/* GENERATED FILE - DO NOT EDIT.
   Source: shared/recap.css - run `npm run sync:shared` after editing. */

/* Trip Recap — the full-screen sheet (js/recap-ui.js). One file for web
   (play.html) and mobile: edit shared/recap.css, run `npm run sync:shared`.
   Uses each app's own tokens; the few web doesn't define have fallbacks
   here. On wide screens every screen is one centred column.
   Motion: transform + opacity, first reveal only; none with reduced motion. */

/* The post-trip story uses the same paper, ink and handwritten type as the reflection. */
.rc-story { width: 100%; min-width: 0; color: var(--ink, #263b32); }
.rc-story .rc-sec { margin: 0; padding: 1.5rem .3rem; }
.rc-story .rc-hand { font-size: clamp(2rem, 6vw, 2.8rem); line-height: 1.1; }
.rc-story-cover, .rc-story-finale { position: relative; isolation: isolate; min-height: 620px; border-radius: 1.1rem; overflow: hidden; background: #304c42; color: #fffaf0; }
.rc-story-cover-photo, .rc-story-finale > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.rc-story-cover::before, .rc-story-finale::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #102b3020 5%, #102b3030 20%, #102b30bd 60%, #102b30eb); z-index: -1; }
.rc-story-cover-ink { display: flex; flex-direction: column; align-items: flex-start; min-height: 620px; padding: 1.6rem; gap: 1.2rem; }
.rc-story-brand { margin: 0 0 auto; font-weight: 700; font-size: .9rem; }
.rc-story-cover-title { margin-top: 6rem; }
.rc-story-cover-title h1 { margin: .65rem 0 1rem; font: 700 clamp(2.5rem, 9vw, 4rem)/1.02 var(--serif, Georgia, serif); overflow-wrap: anywhere; }
.rc-story-cover-title h1 em {
  font-style: italic;
  font-weight: 500;
}
.rc-story-cover-title > p { font-size: .92rem; line-height: 1.5; }
.rc-story-cover .rc-kick, .rc-story-finale .rc-kick { color: #fff1ce; }
.rc-story-rating { background: #f9edcf; color: #243a32; padding: .7rem 1.1rem; display: grid; gap: .2rem; box-shadow: 0 4px 15px #0002; transform: rotate(-3deg); }
.rc-story-rating strong { font: 700 2rem/1 var(--serif, Georgia, serif); }
.rc-story-rating span { font-size: .8rem; }
.rc-story-cover .rc-primary { width: 100%; border: 1px solid #fbf0d8aa; }
.rc-cover-tools { display: flex; gap: .75rem; flex-wrap: wrap; width: 100%; }
.rc-cover-pick, .rc-cover-tools button { position: relative; flex: 1 1 8rem; text-align: center; cursor: pointer; font: 600 .85rem/1.3 var(--sans, sans-serif); color: #fff; background: #ffffff14; border: 1px solid #ffffff80; padding: .65rem .8rem; border-radius: .4rem; }
.rc-cover-pick:focus-within { outline: 3px solid #efc96d; outline-offset: 3px; }
.rc-cover-pick input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; font-size: 16px; }
.rc-story-summary { background: radial-gradient(ellipse at top left, #dcc9a13b, transparent 60%); padding: 1.4rem .7rem; }
.rc-story-summary .rc-title { font-family: Caveat, var(--serif, Georgia, serif); font-size: 3rem; }
.rc-summary-photo { position: relative; margin: 2rem .5rem 1.5rem; padding: .65rem .65rem .9rem; background: #fffdf7; box-shadow: 0 5px 18px #46332124; transform: rotate(-3deg); }
.rc-summary-photo::before { content: ""; position: absolute; top: -.6rem; left: 35%; width: 30%; height: 1.4rem; background: #c6ad7680; transform: rotate(3deg); }
.rc-summary-photo img, .rc-summary-placeholder { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: #e5d9c4; }
.rc-summary-placeholder { display: grid; place-items: center; font-size: 4rem; color: #8b7655; }
.rc-summary-photo figcaption.rc-hand { font-size: 1.6rem; padding-top: .7rem; overflow-wrap: anywhere; }
.rc-summary-photo figcaption.rc-hand em { font-style: italic; }
.rc-summary-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; margin: 1rem auto 1.5rem; width: 100%; }
.rc-summary-stats div { display: grid; gap: .25rem; justify-items: center; }
.rc-summary-stats div > span { font-size: 1.5rem; }
.rc-summary-stats strong { font-size: 1.45rem; }
.rc-summary-stats small { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.rc-highlight-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .8rem; margin-top: 1.5rem; }
.rc-highlight { background: #fffdf7; border-radius: .6rem; overflow: hidden; box-shadow: 0 4px 12px #46332120; }
.rc-highlight--place { grid-column: 1 / -1; }
.rc-highlight img, .rc-highlight-placeholder { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.rc-highlight--place img, .rc-highlight--place .rc-highlight-placeholder { aspect-ratio: 16 / 10; }
.rc-highlight-placeholder { display: grid; place-items: center; background: #e6deca; font-size: 2.8rem; }
.rc-highlight-caption { padding: .9rem; }
.rc-highlight-caption p { font-size: .85rem; font-weight: 600; margin: 0 0 .45rem; }
.rc-highlight-caption h3 { font: 700 1.15rem/1.25 var(--sans, sans-serif); margin: 0 0 .6rem; overflow-wrap: anywhere; }
.rc-highlight-stars { color: #765211; font-weight: 700; }
.rc-highlight-stars small { color: #576057; font-weight: 400; font-size: .75rem; }
.rc-story-nav, .rc-memory-nav { display: flex; align-items: center; justify-content: space-between; gap: .7rem; padding: 1rem 0; }
.rc-story-nav { position: sticky; bottom: 0; background: var(--paper, #f7f1e5); border-top: 1px solid #b8a88670; z-index: 2; }
.rc-story-nav span, .rc-memory-nav span { font: 500 .85rem/1.4 var(--sans, sans-serif); text-align: center; }
.rc-story-nav button, .rc-memory-nav button { flex: 0 0 44px; min-height: 44px; border: 1px solid #b8a886; border-radius: 50%; background: #fffdf7; color: #263b32; font-size: 1.35rem; cursor: pointer; }
.rc-story-nav button:disabled { opacity: .3; cursor: default; }
.rc-story button:focus-visible, .rc-story-nav button:focus-visible { outline: 3px solid #97752c; outline-offset: 3px; }
.rc-story-finale { display: grid; align-items: end; padding: 2rem; }
.rc-story-finale .rc-hand { margin: 2rem 0; font-size: 3.4rem; }
.rc-story-finale .rc-primary { width: 100%; }
@media (max-width: 380px) { .rc-story-cover-ink { padding: 1.2rem; } .rc-highlight-caption { padding: .65rem; } .rc-highlight-grid { gap: .55rem; } }

body.rc-open {
  overflow: hidden;
}

/* Read-only showcase: tactile travel-journal pages, matching the recap mock. */
.rc-story--paper {
  min-height: 760px;
  padding: 100px 22px 95px;
  background: #f5eddd url("../assets/recap-scrapbook-bg.webp") center / 100% 100% no-repeat;
  border-radius: 7px;
  box-shadow: inset 0 0 0 1px #b29e722b, 0 4px 14px #5c442518;
}
.rc-story--paper .rc-sec { padding: 0; gap: 1.1rem; }
.rc-story--paper .rc-showcase-heading { text-align: center; padding: 0 8px 15px; }
.rc-story--paper .rc-showcase-heading h2 { margin: 0 0 12px; font: 600 2.65rem/1.02 "Caveat", cursive; color: #283332; }
.rc-showcase-heading > p { margin: 0; color: #544d40; font: 400 .9rem/1.5 var(--sans); }
.rc-award-wall { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 16px; padding: 9px 1px 30px; align-items: start; }
.rc-award-paper { position: relative; display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 17px 8px 16px; background: linear-gradient(125deg,#fffdf6,#f4ecd9); box-shadow: 1px 4px 6px #46352125; border: 1px solid #d5c6a64d; transform: rotate(-4deg); }
.rc-award-paper:nth-child(even) { transform: translateY(28px) rotate(4deg); }
.rc-award-paper:nth-child(3n) { transform: rotate(-6deg); }
.rc-award-paper::before, .rc-award-paper::after { content: "✧"; position: absolute; color: #ce9d3d; font-size: 1.1rem; }
.rc-award-paper::before { left: 6px; top: 9px; }
.rc-award-paper::after { bottom: 11px; right: 8px; }
.rc-award-emblem { font-size: 2rem; line-height: 1.2; filter: drop-shadow(1px 2px 0 #ac936c40); }
.rc-award-ribbon { align-self: stretch; margin: 0 -11px; padding: 4px 3px 5px; background: #224c60; color: #fff9e7; text-align: center; font: 700 1rem/1.1 "Caveat", cursive; clip-path: polygon(0 0,100% 0,96% 50%,100% 100%,0 100%,4% 50%); }
.rc-award-paper:nth-child(3n) .rc-award-ribbon { background: #876429; }
.rc-award-person { margin: 0; text-align: center; font: 600 1.1rem/1.15 "Caveat", cursive; color: #263b32; overflow-wrap: anywhere; }
.rc-award-paper .rc-av { width: 76px; height: 84px; border-radius: 48%; font-size: 1.5rem; border: 3px solid #fff9ea; box-shadow: 0 2px 4px #55412428; }
.rc-award-paper .rc-av img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.rc-award-joint { font: 500 .68rem/1.2 var(--sans); color: #746243; }
.rc-travel-doodle { color: #72a4ad; text-align: center; font: 400 2.1rem/1 "Caveat", cursive; transform: rotate(-9deg); margin: 10px 0; }
.rc-ink-stamps { display: grid; justify-items: center; gap: 30px; padding: 10px 7px; }
.rc-ink-stamp { --stamp-ink: #b5433c; width: 78%; max-width: 245px; display: grid; justify-items: center; gap: 3px; padding: 11px 12px; margin: 0 12% 0 0; border: 4px double var(--stamp-ink); border-radius: 13px 5px 14px 5px; outline: 1px solid var(--stamp-ink); outline-offset: 3px; color: var(--stamp-ink); transform: rotate(-12deg); background: #faf4e344; mix-blend-mode: multiply; text-align: center; }
.rc-ink-stamp--1 { --stamp-ink: #3d8159; transform: rotate(10deg); margin: 0 0 0 12%; border-radius: 7px; }
.rc-ink-stamp--2 { --stamp-ink: #3a80a5; transform: rotate(-9deg); border-radius: 20px 9px; }
.rc-ink-stamp > span { font-size: 1.75rem; line-height: 1; }
.rc-ink-stamp small { text-transform: uppercase; font: 600 .65rem/1.3 var(--sans); letter-spacing: .14em; }
.rc-ink-stamp strong { font: 800 clamp(1.5rem,6vw,2.2rem)/1.1 Georgia,serif; text-transform: uppercase; overflow-wrap: anywhere; max-width: 100%; letter-spacing: .035em; }
.rc-ink-stamp figcaption { font: 700 .72rem/1.4 ui-monospace,monospace; border-top: 1px dashed currentColor; padding-top: 4px; width: 100%; }
.rc-ink-stamps.is-ghost { opacity: .5; }
.rc-stamp-total { justify-self: end; width: 115px; height: 115px; display: flex; flex-direction: column; justify-content: center; text-align: center; margin: 20px 12px 0 0; border: 2px solid #b8a38080; border-radius: 50%; color: #74664f; font: 600 1.2rem/1.15 "Caveat",cursive; transform: rotate(-15deg); }
.rc-stamp-total span { font-size: 1rem; }
.rc-stamp-note, .rc-showcase-empty { text-align: center; font: 400 .9rem/1.6 var(--sans); color: #665c4a; }
.rc-tip-stack { display: grid; gap: 15px; padding: 4px 0; }
.rc-tip-postcard { display: flex; align-items: flex-start; gap: 13px; margin: 0; padding: 23px 17px; background: linear-gradient(140deg,#fffdf8,#f9f5ec); box-shadow: 1px 3px 6px #46352120; border: 1px solid #ded3be66; transform: rotate(-2deg); min-height: 120px; }
.rc-tip-postcard:nth-child(even) { transform: rotate(1.6deg); }
.rc-tip-postcard .rc-av { flex: 0 0 46px; width: 46px; height: 46px; border: 2px solid #e9dfcd; }
.rc-tip-postcard figcaption { min-width: 0; }
.rc-tip-postcard strong { font: 700 .8rem/1.3 var(--sans); color: #303932; }
.rc-tip-postcard p { margin: 7px 0 0; font: 500 1.2rem/1.3 "Caveat",cursive; color: #514636; overflow-wrap: anywhere; }
.rc-tips-photo { margin: 10px 0 0; padding: 7px 7px 18px; background: #fffdf7; box-shadow: 1px 3px 6px #46352130; transform: rotate(-3deg); }
.rc-tips-photo img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.rc-story--paper .rc-story-summary { background: none; padding: 0; }
@media (max-width: 380px) {
  .rc-story--paper { padding: 85px 15px 85px; }
  .rc-story--paper .rc-showcase-heading h2 { font-size: 2.35rem; }
  .rc-award-wall { gap: 23px 13px; }
  .rc-award-paper .rc-av { width: 62px; height: 70px; }
  .rc-tip-postcard { padding: 19px 11px; gap: 10px; }
  .rc-tip-postcard .rc-av { flex-basis: 38px; width: 38px; height: 38px; }
}

.rc {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  animation: rc-sheet-up 280ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.rc-screen {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: 34rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: calc(0.8rem + var(--safe-top, env(safe-area-inset-top, 0px))) 1.1rem calc(1rem + var(--safe-bot, env(safe-area-inset-bottom, 0px)));
  overflow-y: auto;
  overscroll-behavior: contain;
}

.rc-center {
  align-items: center;
  text-align: center;
}

.rc-grow {
  flex: 1 1 auto;
}

.rc-c {
  text-align: center;
}

.rc-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ——— bar, type, buttons ——— */

.rc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  min-height: 2.75rem;
}

.rc-kick {
  margin: 0;
  font: 600 0.72rem/1.2 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brick);
}

.rc-title {
  margin: 0;
  font: 700 1.65rem/1.12 var(--serif);
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.rc-title--xl {
  font-size: 2.15rem;
}

.rc-title--sm {
  font-size: 1.3rem;
}

.rc-sub {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.45;
}

.rc-count {
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}

.rc-x {
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink-soft);
  font-size: 1rem;
}

.rc-link {
  min-height: 2.75rem;
  padding: 0 0.25rem;
  border: 0;
  background: none;
  color: var(--ink-soft);
  font: 500 0.95rem/1 var(--sans);
}

.rc-actions {
  display: grid;
  gap: 0.35rem;
  width: 100%;
}

.rc-primary,
.rc-secondary,
.rc-quiet {
  min-height: 3.1rem;
  border-radius: 14px;
  font: 600 1rem/1 var(--sans);
}

.rc-primary {
  width: 100%;
  border: 0;
  background: var(--ink);
  color: var(--cream);
}

.rc-primary[aria-busy="true"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  cursor: progress;
}

.rc-spin {
  width: 1em;
  height: 1em;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-right-color: transparent;
  animation: rc-spin 0.8s linear infinite;
  flex: 0 0 auto;
}

@keyframes rc-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rc-spin {
    animation-duration: 2.4s;
  }
}

.rc-primary[disabled] {
  opacity: 0.35;
}

.rc-secondary {
  padding: 0 1.2rem;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink);
  justify-self: start;
}

.rc-quiet {
  border: 0;
  background: none;
  color: var(--ink-soft);
  font-weight: 500;
}

.rc-strong {
  color: var(--ink);
  font-weight: 600;
}

.rc-flash {
  margin: 0;
  color: var(--danger, #9b2c1f);
  font-size: 0.9rem;
  text-align: center;
}

.rc-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
}

.rc-dots i {
  width: 7px;
  height: 7px;
  border-radius: 4px;
  background: var(--line);
  transition: width 200ms ease, background 200ms ease;
}

.rc-dots i.on {
  width: 18px;
  background: var(--ink);
}

.rc-primary:focus-visible,
.rc-secondary:focus-visible,
.rc-quiet:focus-visible,
.rc-x:focus-visible,
.rc-link:focus-visible,
.rc-star:focus-visible,
.rc-person:focus-visible,
.rc-slide:focus-visible,
.rc-chip:focus-visible,
.rc-thumb:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* ——— cover ——— */

.rc-cover {
  gap: 0;
  padding-top: 0;
}

.rc-cover .rc-top {
  position: relative;
  z-index: 2;
  padding-top: calc(0.8rem + var(--safe-top, env(safe-area-inset-top, 0px)));
}

.rc-cover-art {
  margin: calc(-3.55rem - var(--safe-top, env(safe-area-inset-top, 0px))) -1.1rem 0;
  height: 38vh;
  min-height: 200px;
  background: radial-gradient(circle at 50% 70%, var(--gold-pale), var(--paper) 70%);
  overflow: hidden;
}

.rc-cover-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mask-image: linear-gradient(180deg, #000 55%, transparent);
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent);
}

.rc-cover-art.has-photo + .rc-cover-body {
  margin-top: -3.5rem;
}

.rc-cover-body {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  text-align: center;
  flex: 1 1 auto;
  align-content: start;
}

.rc-lakbi {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

/* ——— rating ——— */

.rc-stars {
  display: flex;
  gap: 0.2rem;
  justify-content: center;
}

.rc-star {
  width: 3.4rem;
  height: 3.6rem;
  border: 0;
  background: none;
  padding: 0;
  font-size: 2.7rem;
  line-height: 1;
  color: color-mix(in srgb, var(--ink) 22%, #d9d0c4);
  transition: color 120ms ease;
}

.rc-star.is-on {
  color: var(--gold);
}

.rc-star.is-tap {
  animation: rc-pop 200ms ease-out 1;
}

.rc-meaning {
  margin: 0;
  min-height: 1.4em;
  font-weight: 600;
  font-size: 1.05rem;
}

/* ——— scrapbook inputs ——— */

.rc-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

/* Lots of photos: three rows show, the rest scroll. */
.rc-thumbs.is-many {
  max-height: min(24rem, 60vh);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0.35rem;
  margin: -0.35rem;
}

.rc-thumb {
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--paper-2, #e4d8c2);
}

.rc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rc-thumb.is-on {
  box-shadow: 0 0 0 3px var(--paper), 0 0 0 6px var(--brick);
}

.rc-note {
  position: relative;
  display: block;
  margin-top: 0.6rem;
  padding: 0.9rem 0.9rem 0.7rem;
  border-radius: 6px;
  background: #fff8e6;
  box-shadow: 0 8px 18px -12px rgba(26, 20, 16, 0.45);
  rotate: -1deg;
}

.rc-note::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 50%;
  width: 64px;
  height: 18px;
  translate: -50% 0;
  rotate: 3deg;
  background: color-mix(in srgb, var(--lotus) 40%, transparent);
}

.rc-note--tip {
  background: #eef4ea;
  rotate: 0.8deg;
}

.rc-note textarea {
  width: 100%;
  border: 0;
  background: transparent;
  resize: none;
  font: 400 1.02rem/1.45 var(--serif);
  color: var(--ink);
}

.rc-note textarea:focus {
  outline: none;
}

.rc-note:focus-within {
  box-shadow: 0 0 0 2px var(--gold), 0 8px 18px -12px rgba(26, 20, 16, 0.45);
}

.rc-chips,
.rc-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
}

.rc-chip {
  min-height: 2.4rem;
  padding: 0 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  font: 500 0.88rem/1 var(--sans);
}

/* ——— awards voting ——— */

.rc-trophy {
  margin: 0;
  font-size: 3rem;
  line-height: 1;
}

.rc-award {
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  padding: 1.4rem 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--cream);
  text-align: center;
}

.rc-card-in {
  animation: rc-card-in 260ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.rc-award.is-leaving {
  animation: rc-card-out 220ms ease-in 180ms both;
}

.rc-award-ico {
  font-size: 2.6rem;
  line-height: 1;
}

.rc-award-name {
  margin: 0;
  font: 600 0.85rem/1.2 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.rc-top--end {
  justify-content: flex-end;
}

.rc-people {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem 0.5rem;
  width: 100%;
  margin-top: 0.4rem;
}

.rc-person {
  display: grid;
  justify-items: center;
  gap: 0.7rem; /* room for the gold ring when picked */
  padding: 0.4rem 0.2rem;
  border: 0;
  border-radius: 14px;
  background: none;
  color: var(--ink-soft);
  font: 500 0.85rem/1.2 var(--sans);
  min-width: 0;
}

.rc-person > span:last-child {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rc-person[disabled] {
  opacity: 0.4;
}

.rc-person.is-on {
  color: var(--ink);
  font-weight: 600;
}

.rc-person.is-on .rc-av {
  box-shadow: 0 0 0 3px var(--cream), 0 0 0 6px var(--gold);
  animation: rc-pop 220ms ease-out 1;
}

.rc-person.is-on .rc-av::after {
  content: "✓";
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 1.4rem;
  height: 1.4rem;
  display: grid;
  place-items: center;
  border: 2px solid var(--cream);
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.75rem;
}

/* ——— avatars ——— */

.rc-av {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 50%;
  background: var(--av-bg, var(--forest));
  color: var(--cream);
  font: 600 1rem/1 var(--sans);
}

.rc-av img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.rc-av--md {
  width: 2.75rem;
  height: 2.75rem;
}

.rc-av--lg {
  width: 3.9rem;
  height: 3.9rem;
  font-size: 1.2rem;
}

/* ——— recap ——— */

.rc-recap {
  padding: 0;
  gap: 0;
  overflow: hidden;
}

.rc-recap > .rc-top {
  padding: calc(0.6rem + var(--safe-top, env(safe-area-inset-top, 0px))) 1.1rem 0.4rem;
  background: var(--paper);
}

.rc-scroll {
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 1.1rem calc(1.5rem + var(--safe-bot, env(safe-area-inset-bottom, 0px)));
  display: grid;
  gap: 2.2rem;
  align-content: start;
}

.rc-hero {
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  padding-top: 0.6rem;
  text-align: center;
}

.rc-score {
  display: grid;
  justify-items: center;
  gap: 0.2rem;
  margin-top: 0.4rem;
}

.rc-score-num {
  font: 700 3.2rem/1 var(--serif);
  font-variant-numeric: tabular-nums;
}

.rc-score-stars {
  color: var(--gold);
  font-size: 1.3rem;
  letter-spacing: 0.1em;
}

.rc-jump {
  justify-content: flex-start;
  margin-bottom: -1rem;
}

.rc-sec {
  display: grid;
  gap: 0.6rem;
  scroll-margin-top: 0.5rem;
}

/* Memories: large photos, native swipe. */
.rc-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 86%;
  gap: 10px;
  margin: 0.3rem -1.1rem 0;
  padding: 0 1.1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 1.1rem;
  scrollbar-width: none;
}

.rc-carousel::-webkit-scrollbar {
  display: none;
}

.rc-slide {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 100%;
  padding: 0;
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  background: var(--paper-2, #e4d8c2);
  scroll-snap-align: start;
  text-align: left;
}

.rc-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rc-cap {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 0.2rem;
  padding: 3.5rem 1rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(20, 14, 10, 0.72));
  color: #fff;
}

.rc-cap strong {
  font: 600 1.3rem/1.15 var(--serif);
}

.rc-cap span {
  font-size: 0.85rem;
  opacity: 0.92;
}

.rc-more {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: rgba(20, 14, 10, 0.55);
  color: #fff;
  font-size: 0.75rem;
}

.rc-dots--carousel {
  margin-top: 0.3rem;
}

/* Award results: barkada superlatives. */
.rc-results {
  display: grid;
  gap: 0.8rem;
}

.rc-result {
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  padding: 1.4rem 1rem 1.2rem;
  border-radius: 22px;
  background: var(--tone);
  color: var(--cream);
  text-align: center;
}

.rc-result-ico {
  font-size: 2.2rem;
  line-height: 1;
}

.rc-result-name {
  margin: 0;
  font: 600 0.75rem/1.2 var(--sans);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.88;
}

.rc-result-people {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Initials on cream so they never vanish into the card's own colour. */
.rc-result .rc-av {
  background: var(--cream);
  color: var(--tone);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--cream) 70%, transparent);
}

.rc-result-who {
  margin: 0;
  font: 700 1.35rem/1.15 var(--serif);
}

.rc-result-line {
  margin: 0;
  max-width: 30ch;
  font: italic 400 0.95rem/1.4 var(--serif);
  opacity: 0.92;
}

.rc-result-votes {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  opacity: 0.8;
}

/* Passport: the real stamp artwork (.pp-stamp) on a passport page. */
.rc-passport {
  --pp-page: var(--cream);
  display: grid;
  gap: 0.8rem;
}

.rc-passport .pp-stamps {
  aspect-ratio: 1.15;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--cream)
    repeating-linear-gradient(0deg, transparent 0 26px, color-mix(in srgb, var(--gold) 10%, transparent) 26px 27px);
}

.rc-passport .pp-stamp {
  cursor: default;
}

.rc-passport.is-ghost .pp-stamp {
  opacity: 0.35;
  filter: grayscale(0.4);
}

.rc-stamp-plain {
  display: inline-block;
  margin: 0.5rem;
  padding: 0.4rem 0.6rem;
  border: 2px solid var(--brick);
  border-radius: 8px;
  color: var(--brick);
  font: 700 0.9rem/1 var(--serif);
  text-transform: uppercase;
}

/* Scrapbook: everyone's favourite moments and tips. */
.rc-scraps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 0.7rem;
  align-items: start;
}

.rc-scrap {
  margin: 0;
  padding: 0.6rem;
  border-radius: 6px;
  background: #fff8e6;
  box-shadow: 0 8px 18px -12px rgba(26, 20, 16, 0.45);
  rotate: -1.2deg;
  font-size: 0.88rem;
  line-height: 1.35;
}

.rc-scrap:nth-child(even) {
  rotate: 1.2deg;
}

.rc-scrap--tip {
  background: #eef4ea;
}

.rc-scrap img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 0.45rem;
  display: block;
}

.rc-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1rem;
}

/* Photos of one place. */
.rc-lightbox {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: calc(0.6rem + var(--safe-top, env(safe-area-inset-top, 0px))) 1.1rem calc(1rem + var(--safe-bot, env(safe-area-inset-bottom, 0px)));
  background: var(--paper);
  overflow-y: auto;
  animation: rc-sheet-up 220ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.rc-lightbox-list {
  display: grid;
  gap: 1.2rem;
}

.rc-lightbox figure {
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.rc-lightbox img {
  width: 100%;
  border-radius: 16px;
  display: block;
}

.rc-lightbox figcaption {
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--ink-soft);
}

.rc-lightbox figcaption strong {
  color: var(--ink);
}

.rc-lightbox figcaption span {
  color: var(--gold);
}

.rc-confetti {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 4;
}

/* The “Recap ready” card in a finished trip's workbook. */
.rc-ready {
  max-width: 34rem;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.35rem 0.8rem;
  margin-top: 0.7rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--cream);
  color: var(--ink);
}

.rc-ready[hidden] {
  display: none;
}

.rc-ready img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.rc-ready strong {
  display: block;
  font: 600 1.05rem/1.15 var(--serif);
}

.rc-ready span {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.rc-ready-btn {
  grid-column: 1 / -1;
  min-height: 2.75rem;
  border: 0;
  border-radius: 12px;
  background: var(--ink);
  color: var(--cream);
  font: 600 0.95rem/1 var(--sans);
}

/* Desktop: a mouse can't swipe, so the carousel keeps a thin scrollbar and
   buttons get hover states. The workbook card sits on one row. */
@media (hover: hover) and (pointer: fine) {
  .rc-carousel {
    scrollbar-width: thin;
    padding-bottom: 0.5rem;
  }

  .rc-carousel::-webkit-scrollbar {
    display: block;
    height: 6px;
  }

  .rc-carousel::-webkit-scrollbar-thumb {
    border-radius: 3px;
    background: var(--line);
  }

  .rc-primary:not([disabled]):hover,
  .rc-ready-btn:hover {
    background: color-mix(in srgb, var(--ink) 86%, var(--cream));
  }

  .rc-secondary:hover,
  .rc-chip:hover,
  .rc-x:hover {
    background: color-mix(in srgb, var(--gold) 14%, var(--cream));
  }

  .rc-quiet:hover,
  .rc-link:hover {
    color: var(--ink);
  }

  .rc-person:not([disabled]):hover .rc-av {
    box-shadow: 0 0 0 3px var(--cream), 0 0 0 5px var(--line);
  }
}

@media (min-width: 48rem) {
  .rc-ready {
    grid-template-columns: auto 1fr auto;
  }

  .rc-ready-btn {
    grid-column: auto;
    padding: 0 1.2rem;
  }
}

/* ——— motion ——— */

.rc-cover .rc-rise,
.is-revealing .rc-rise {
  animation: rc-rise 480ms cubic-bezier(0.2, 0.8, 0.2, 1) var(--d, 0ms) both;
}

.is-revealing .rc-sec {
  animation: rc-rise 520ms cubic-bezier(0.2, 0.8, 0.2, 1) 380ms both;
}

.is-revealing .rc-passport .pp-stamp {
  animation: rc-stamp-in 380ms cubic-bezier(0.3, 1.6, 0.5, 1) both;
  animation-delay: calc(620ms + var(--stamp-z, 1) * 120ms);
}

@keyframes rc-sheet-up {
  from {
    transform: translateY(24px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

@keyframes rc-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes rc-pop {
  0% {
    scale: 1;
  }
  45% {
    scale: 1.25;
  }
  100% {
    scale: 1;
  }
}

@keyframes rc-card-in {
  from {
    opacity: 0;
    transform: translateX(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes rc-card-out {
  to {
    opacity: 0;
    transform: translateX(-28px);
  }
}

/* Stamps keep their own rotate() in transform, so the press uses `scale`. */
@keyframes rc-stamp-in {
  0% {
    opacity: 0;
    scale: 1.6;
  }
  60% {
    opacity: 0.9;
  }
  100% {
    opacity: 0.9;
    scale: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rc,
  .rc-lightbox,
  .rc-card-in,
  .rc-award.is-leaving,
  .rc-star.is-tap,
  .rc-person.is-on .rc-av,
  .rc-cover .rc-rise,
  .is-revealing .rc-rise,
  .is-revealing .rc-sec,
  .is-revealing .rc-passport .pp-stamp {
    animation: none;
  }

  .rc-dots i {
    transition: none;
  }
}

/* ——— Recap tab: the recap inside the workbook (LakbayRecapUI.mountTab) ——— */

.rc-tab {
  display: grid;
  gap: 1.5rem;
  width: 100%;
  max-width: 40rem;
  margin-inline: auto;
  padding: 0.25rem 0 1.5rem;
  color: var(--ink);
  font-family: var(--sans);
}

.rc-tab--empty {
  padding: 2rem 0;
  text-align: center;
}

.rc-tab-head {
  display: grid;
  gap: 0.3rem;
  text-align: center;
}

/* Short workbook sheet: a sticky pager was cutting through the cover, so the
   rating and Open our story landed under the arrows. Keep them on the card. */
.rc-tab .rc-story-nav {
  position: static;
  z-index: auto;
  margin-top: 0.15rem;
  padding: 0.7rem 0 0.2rem;
  background: transparent;
  border-top: 0;
}

.rc-tab .rc-story-cover,
.rc-tab .rc-story-finale {
  min-height: 0;
}

.rc-tab .rc-story-cover-ink {
  min-height: 24rem;
  padding: 1.15rem 1.15rem 1.2rem;
  gap: 0.75rem;
}

.rc-tab .rc-story-cover-title {
  margin-top: 1.4rem;
}

.rc-tab .rc-story-cover-title h1 {
  margin: 0.4rem 0 0.55rem;
  font-size: clamp(1.85rem, 8vw, 2.7rem);
}

.rc-tab .rc-story-rating {
  margin: 0.35rem 0.15rem 0.1rem;
}

.rc-tab .rc-story-cover .rc-primary {
  margin-top: auto;
}

/* In the workbook the photo viewer covers the screen, not the tab. */
.rc-tab .rc-lightbox {
  position: fixed;
  z-index: 950;
}

.rc-tab-votes {
  display: grid;
  gap: 0.5rem;
}

.rc-tab-vote {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(9rem, 13rem);
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  background: color-mix(in srgb, var(--gold, #b0893a) 10%, transparent);
}

.rc-tab-vote-name {
  font-weight: 600;
  line-height: 1.3;
}

.rc-tab-vote select,
.rc-tab .rc-input {
  box-sizing: border-box;
  width: 100%;
  min-height: 42px;
  padding: 0 0.65rem;
  border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
  border-radius: 10px;
  background: var(--cream, #fffaf1);
  color: var(--ink);
  font: 500 0.95rem/1.3 var(--sans);
}

.rc-tab-vote select:focus-visible,
.rc-tab .rc-input:focus-visible {
  outline: 2px solid var(--gold, #b0893a);
  outline-offset: 1px;
}

.rc-tab-edit .rc-secondary {
  justify-self: start;
}

@media (max-width: 30rem) {
  .rc-tab-vote {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.4rem;
  }
}

/* ——— The Recap tab button: warm gold, a slow shine and a twinkle ———
   Web (.sheet-tabs [role="tab"].is-recap) and mobile (.mw-tab.is-recap).
   The !important beats web's phone-layout tab rules, which use it too. */

.sheet-tabs [role="tab"].is-recap,
.mw-tab.is-recap {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(115deg, #f6dc8e 0%, #e9a950 42%, #f9e3a1 72%, #e9a950 100%) !important;
  background-size: 240% 100% !important;
  color: #2b1a0b !important;
  font-weight: 750 !important;
  box-shadow: inset 0 0 0 1px rgba(255, 240, 190, 0.7), 0 6px 18px -8px rgba(233, 169, 80, 0.95);
  /* No entrance pop: the tab bar is rebuilt on every render, it would replay. */
  animation: rc-tab-flow 6s ease-in-out infinite;
}

.mw-tab.is-recap {
  border-radius: 10px 10px 0 0;
}

/* The shine sweeping across every few seconds. */
.sheet-tabs [role="tab"].is-recap::after,
.mw-tab.is-recap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(100deg, transparent 28%, rgba(255, 255, 255, 0.85) 50%, transparent 72%);
  transform: translateX(-130%);
  animation: rc-tab-shine 3.8s ease-in-out 900ms infinite;
}

.sheet-tabs [role="tab"].is-recap > *,
.mw-tab.is-recap > * {
  position: relative;
  z-index: 1;
}

.sheet-tabs [role="tab"].is-recap[aria-selected="true"],
.mw-tab.is-recap.is-on {
  color: #1a1006 !important;
  border-bottom-color: #fff3c9 !important;
  box-shadow: inset 0 0 0 2px #fff3c9, 0 8px 22px -8px rgba(233, 169, 80, 1);
}

.sheet-tabs [role="tab"].is-recap .tab-ico,
.mw-tab.is-recap .mw-tab-ico {
  opacity: 1;
  animation: rc-tab-twinkle 2.4s ease-in-out infinite;
}

.rc-tab-spark {
  display: inline-block;
  margin-right: 0.35rem;
  animation: rc-tab-twinkle 2.4s ease-in-out infinite;
}

@keyframes rc-tab-flow {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes rc-tab-shine {
  0% {
    transform: translateX(-130%);
  }
  45%,
  100% {
    transform: translateX(130%);
  }
}

@keyframes rc-tab-twinkle {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.22) rotate(14deg);
  }
}

/* Start card inside the tab (recap ready, not answered yet). */
.rc-tab--start {
  padding-top: 1rem;
}

.rc-tab-start {
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  padding: 1.5rem 1.25rem 1.4rem;
  border-radius: 20px;
  text-align: center;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(246, 220, 142, 0.55), transparent 70%),
    color-mix(in srgb, var(--gold, #b0893a) 8%, var(--cream, #fffaf1));
  box-shadow: 0 18px 40px -26px rgba(43, 26, 11, 0.55);
}

.rc-tab-start .rc-primary {
  max-width: 20rem;
  min-height: 48px;
  border-radius: 999px;
  font-weight: 700;
}

.rc-tab-lakbi {
  animation: rc-tab-bob 3.2s ease-in-out infinite;
}

.rc-tab-until {
  font-size: 0.85rem;
}

@keyframes rc-tab-bob {
  0%,
  100% {
    transform: translateY(0) rotate(-3deg);
  }
  50% {
    transform: translateY(-6px) rotate(3deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sheet-tabs [role="tab"].is-recap,
  .mw-tab.is-recap,
  .sheet-tabs [role="tab"].is-recap::after,
  .mw-tab.is-recap::after,
  .sheet-tabs [role="tab"].is-recap .tab-ico,
  .mw-tab.is-recap .mw-tab-ico,
  .rc-tab-spark,
  .rc-tab-lakbi {
    animation: none;
  }

  .sheet-tabs [role="tab"].is-recap::after,
  .mw-tab.is-recap::after {
    display: none;
  }
}

/* ——— First-view flow, v2: warm paper, handwritten headings, polaroids ———
   Buttons keep LakbayBook's ink; the paper colours follow the recap design. */

.rc {
  background:
    radial-gradient(120% 55% at 8% 0%, rgba(255, 255, 255, 0.6), transparent 62%),
    radial-gradient(90% 55% at 100% 100%, rgba(214, 186, 136, 0.38), transparent 62%),
    radial-gradient(60% 40% at 0% 100%, rgba(226, 204, 160, 0.3), transparent 70%),
    #f2e9d7;
}

.rc-flow {
  gap: 0.7rem;
}

.rc-fhead {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem;
  align-items: center;
  min-height: 2.75rem;
}

.rc-fback {
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.rc-ftitle {
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: 700 1rem/1.2 var(--sans);
  color: var(--ink);
}

.rc-fhead .rc-x {
  justify-self: end;
}

.rc-step {
  margin: -0.2rem 0 0;
  text-align: center;
  font: 500 0.82rem/1.2 var(--sans);
  color: color-mix(in srgb, var(--ink) 55%, transparent);
}

.rc-hand {
  margin: 0.1rem 0 0;
  text-align: center;
  font: 700 2.15rem/1.05 "Caveat", var(--serif), cursive;
  color: #2a1d12;
  text-wrap: balance;
}

.rc-hand--xl {
  font-size: 3rem;
}

.rc-flow-sub {
  margin: 0 auto;
  max-width: 26rem;
  text-align: center;
  font: 500 0.95rem/1.45 var(--sans);
  color: color-mix(in srgb, var(--ink) 72%, transparent);
}

/* Step 1: the trip's cover, the rating card overlapping its bottom edge. */
.rc-hero-photo {
  width: 100%;
  margin: 0.35rem auto 0;
  aspect-ratio: 4 / 3.3;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(160deg, #e9c98a, #b9794a);
  box-shadow: 0 18px 36px -22px rgba(42, 29, 18, 0.7);
}

.rc-hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rc-hero-photo-empty {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 1rem;
  text-align: center;
  font: 700 2.2rem/1.1 "Caveat", var(--serif), cursive;
  color: #fff8e8;
}

.rc-rate-card {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.3rem;
  width: calc(100% - 1.6rem);
  margin: -2.8rem auto 0;
  padding: 1rem 1rem 0.9rem;
  border-radius: 16px;
  text-align: center;
  background: #fffaf0;
  box-shadow: 0 14px 30px -18px rgba(42, 29, 18, 0.6);
}

.rc-rate-q {
  margin: 0;
  font: 700 1.1rem/1.3 var(--serif);
  color: #2a1d12;
}

.rc-rate-card .rc-star {
  width: 2.9rem;
  height: 3rem;
  font-size: 2.35rem;
}

.rc-rate-card .rc-star.is-on {
  color: #f2a91f;
}

.rc-rate-val {
  margin: 0;
  font: 600 0.95rem/1.2 var(--sans);
  color: color-mix(in srgb, var(--ink) 75%, transparent);
}

.rc-rate-note {
  position: relative;
  display: grid;
  gap: 0.35rem;
  width: 100%;
  margin-top: 0.35rem;
  text-align: left;
}

.rc-rate-note > span:first-child {
  text-align: center;
  font: 600 0.82rem/1.3 var(--sans);
  color: #2a1d12;
}

.rc-rate-note textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 4.6rem;
  max-height: 7.2rem;
  margin: 0;
  padding: 0.6rem 0.7rem 1.35rem;
  border: 1px solid color-mix(in srgb, #2a1d12 14%, transparent);
  border-radius: 12px;
  background: #fff;
  color: #2a1d12;
  font: 500 0.92rem/1.4 var(--sans);
  resize: none;
}

.rc-rate-note textarea:focus-visible {
  outline: 2px solid var(--gold, #b0893a);
  outline-offset: 1px;
}

.rc-rate-note .rc-count {
  position: absolute;
  right: 0.7rem;
  bottom: 0.45rem;
}

/* Step 2: a polaroid you can drop a photo into. */
.rc-polaroid-stack {
  position: relative;
  display: grid;
  place-items: center;
  padding: 0.5rem 0 0.3rem;
}

.rc-polaroid-stack::before {
  content: "";
  position: absolute;
  width: min(74%, 17rem);
  aspect-ratio: 0.84;
  border-radius: 6px;
  background: #fbf5ea;
  transform: rotate(6deg) translate(12px, 8px);
  box-shadow: 0 10px 22px -16px rgba(42, 29, 18, 0.6);
}

.rc-polaroid input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
  font-size: 16px;
}

.rc-polaroid {
  position: relative;
  display: grid;
  gap: 0.55rem;
  width: min(76%, 17.5rem);
  padding: 0.7rem 0.7rem 0.9rem;
  border-radius: 6px;
  background: #fffdf8;
  transform: rotate(-3deg);
  box-shadow: 0 18px 32px -18px rgba(42, 29, 18, 0.75);
  cursor: pointer;
}

.rc-polaroid:focus-within {
  outline: 2px solid var(--gold, #b0893a);
  outline-offset: 3px;
}

.rc-polaroid-photo {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 2px;
  background: repeating-linear-gradient(135deg, #efe5d2 0 10px, #f6eedf 10px 20px);
}

.rc-polaroid-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rc-polaroid-add {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.25rem;
  height: 100%;
  text-align: center;
  font: 600 0.95rem/1.2 var(--sans);
  color: #6b5840;
}

.rc-polaroid-add span {
  font-size: 1.9rem;
}

.rc-polaroid-add small {
  font-weight: 500;
  opacity: 0.7;
}

.rc-polaroid-cap {
  display: -webkit-box;
  min-height: 1.4em;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  text-align: center;
  font: 600 1.3rem/1.12 "Caveat", var(--serif), cursive;
  color: #3a2a1c;
}

.rc-photo-tools {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
}

.rc-mini {
  margin: 0;
  text-align: center;
  font-size: 0.82rem;
  color: color-mix(in srgb, var(--ink) 60%, transparent);
}

.rc-field {
  position: relative;
  display: block;
}

.rc-field textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 6rem;
  padding: 0.8rem 0.9rem 1.7rem;
  border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
  border-radius: 14px;
  background: #fffdf8;
  color: var(--ink);
  font: 500 0.98rem/1.45 var(--sans);
  resize: vertical;
}

.rc-field textarea:focus-visible {
  outline: 2px solid var(--gold, #b0893a);
  outline-offset: 1px;
}

.rc-count {
  position: absolute;
  right: 0.85rem;
  bottom: 0.55rem;
  font: 500 0.75rem/1 var(--sans);
  color: color-mix(in srgb, var(--ink) 45%, transparent);
  pointer-events: none;
}

/* Step 3: a pinned notepad over the trip photo. */
.rc-notepad-wrap {
  position: relative;
  overflow: hidden;
  padding: 1.2rem 0.9rem;
  border-radius: 18px;
}

.rc-notepad-wrap.has-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--rc-note-bg) center / cover no-repeat;
}

.rc-notepad {
  position: relative;
  width: min(88%, 20rem);
  margin: 0 auto;
  padding: 1.1rem 1rem 0.8rem 1.25rem;
  border-radius: 4px;
  background: repeating-linear-gradient(to bottom, #fffbef 0 1.55rem, #e4dcc6 1.55rem calc(1.55rem + 1px));
  transform: rotate(-2deg);
  box-shadow: 0 16px 30px -18px rgba(0, 0, 0, 0.6);
}

.rc-notepad-pin {
  position: absolute;
  top: -0.85rem;
  left: -0.7rem;
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: #ffd66b;
  font-size: 1.1rem;
  box-shadow: 0 6px 12px -6px rgba(0, 0, 0, 0.5);
}

.rc-notepad-list {
  margin: 0;
  padding-left: 1rem;
  font: 600 1.25rem/1.55rem "Caveat", var(--serif), cursive;
  color: #2f2418;
}

.rc-notepad-list li.is-sample {
  opacity: 0.45;
}

/* Awards: a card with the award's emoji and a ribbon. */
.rc-award-card {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  width: min(100%, 22rem);
  margin: 2.2rem auto 0.3rem;
  padding: 0 1rem 1.1rem;
  border-radius: 14px;
  text-align: center;
  background: #fffaf0;
  box-shadow: 0 18px 34px -22px rgba(42, 29, 18, 0.7);
}

.rc-award-emoji {
  display: grid;
  place-items: center;
  width: 5rem;
  height: 5rem;
  margin-top: -2.4rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff3d0, #f3d9a3);
  font-size: 2.6rem;
  box-shadow: 0 10px 20px -12px rgba(42, 29, 18, 0.6);
}

.rc-ribbon {
  display: inline-block;
  padding: 0.38rem 1.5rem;
  background: linear-gradient(180deg, #f7b733, #f09a18);
  color: #2a1606;
  font: 700 1.5rem/1.1 "Caveat", var(--serif), cursive;
  transform: rotate(-2deg);
  clip-path: polygon(0 0, 100% 0, 95% 50%, 100% 100%, 0 100%, 5% 50%);
}

.rc-award-line {
  max-width: 18rem;
  margin: 0;
  font: 500 0.95rem/1.4 var(--sans);
  color: color-mix(in srgb, var(--ink) 75%, transparent);
}

/* Flow buttons: ink primary, a quiet "Skip" link beside it. */
.rc-flow .rc-actions {
  margin-top: auto;
  padding-top: 0.4rem;
}

.rc-actions--split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.rc-actions--split .rc-primary {
  flex: 1 1 auto;
  width: auto;
  max-width: 16rem;
}

.rc-actions--split .rc-link {
  flex: 0 0 auto;
  font-weight: 600;
  color: color-mix(in srgb, var(--ink) 70%, transparent);
}

.rc-input--area {
  min-height: 6rem;
  padding: 0.65rem 0.75rem 1.6rem;
  resize: vertical;
}

/* Award picker: travellers centred under the card, like the design. */
.rc-flow .rc-people {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem 0.6rem;
}

.rc-flow .rc-person {
  width: 5.4rem;
}

/* ——— Memories: each traveller's favourite moment, a swipeable row of polaroids ——— */

.rc-hand--sec {
  font-size: 1.75rem;
  text-align: left;
}

.rc-polaroids {
  display: flex;
  gap: 1rem;
  margin: 0 -1.1rem;
  padding: 0.9rem 1.1rem 1.2rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 1.1rem;
  scrollbar-width: none;
}

.rc-polaroids::-webkit-scrollbar {
  display: none;
}

.rc-mpol {
  flex: 0 0 min(72%, 15.5rem);
  display: grid;
  gap: 0.5rem;
  padding: 0.65rem 0.65rem 0.8rem;
  border: 0;
  border-radius: 6px;
  background: #fffdf8;
  color: #3a2a1c;
  text-align: center;
  scroll-snap-align: center;
  transform: rotate(var(--tilt, -2deg));
  box-shadow: 0 16px 30px -18px rgba(42, 29, 18, 0.7);
  cursor: pointer;
  transition: transform 180ms ease;
}

.rc-mpol:focus-visible {
  outline: 2px solid var(--gold, #b0893a);
  outline-offset: 3px;
}

.rc-mpol-photo {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 2px;
  background: #efe5d2;
}

.rc-mpol-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* A memory with words but no photo: a big quote mark on warm paper. */
.rc-mpol-quote {
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #f6e3b4, #e9c98a);
  font: 700 5rem/1 var(--serif);
  color: rgba(255, 255, 255, 0.85);
}

.rc-mpol-cap {
  display: -webkit-box;
  min-height: 1.2em;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  font: 600 1.2rem/1.12 "Caveat", var(--serif), cursive;
}

.rc-mpol-who {
  font: 600 0.8rem/1.2 var(--sans);
  color: color-mix(in srgb, #3a2a1c 60%, transparent);
}

/* Opened: the whole caption, a bigger photo. */
.rc-mpol--big {
  width: min(100%, 26rem);
  margin: 0.4rem auto 0;
  transform: rotate(-1.5deg);
  cursor: default;
}

.rc-mpol--big figcaption {
  display: grid;
  gap: 0.35rem;
}

.rc-mpol--big .rc-mpol-cap {
  display: block;
  -webkit-line-clamp: unset;
  font-size: 1.45rem;
}

@media (prefers-reduced-motion: reduce) {
  .rc-mpol {
    transition: none;
  }
}

/* ——— Story player: the finished recap as a slideshow over a darkened page ——— */

.rc.rc--player {
  display: grid;
  place-items: center;
  padding: calc(12px + var(--safe-top, env(safe-area-inset-top, 0px))) 12px calc(12px + var(--safe-bot, env(safe-area-inset-bottom, 0px)));
  background: rgba(14, 10, 7, 0.78);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  animation: rc-player-fade 220ms ease both;
}

@keyframes rc-player-fade {
  from {
    opacity: 0;
  }
}

/* Every slide is the same size; a long one scrolls inside it. */
.rc-player {
  --rc-top-h: 3.6rem;
  --rc-nav-h: 3.6rem;
  --rc-player-h: min(100dvh - 24px - var(--safe-top, env(safe-area-inset-top, 0px)) - var(--safe-bot, env(safe-area-inset-bottom, 0px)), 50rem);
  --rc-slide-h: calc(var(--rc-player-h) - var(--rc-top-h) - var(--rc-nav-h));
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(100%, 30rem);
  height: var(--rc-player-h);
  overflow: hidden;
  border-radius: 22px;
  background: var(--paper, #f7f1e5);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7);
}

.rc-player-top {
  flex: 0 0 var(--rc-top-h);
  display: grid;
  align-content: center;
  gap: 0.45rem;
  padding: 0.55rem 0.8rem 0.3rem;
}

.rc-progress {
  display: flex;
  gap: 4px;
}

.rc-progress i {
  flex: 1;
  height: 3px;
  overflow: hidden;
  border-radius: 99px;
  background: color-mix(in srgb, var(--ink, #263b32) 16%, transparent);
}

.rc-progress b {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--ink, #263b32);
}

.rc-progress i.is-done b,
.rc-progress i.is-on b:not([data-rc-progress]) {
  width: 100%;
}

.rc-progress b[data-rc-progress] {
  animation: rc-progress-fill var(--rc-slide-ms, 8000ms) linear forwards;
}

.rc-player.is-paused .rc-progress b[data-rc-progress],
.rc-player.is-held .rc-progress b[data-rc-progress] {
  animation-play-state: paused;
}

@keyframes rc-progress-fill {
  to {
    width: 100%;
  }
}

.rc-player-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.rc-player-bar .rc-kick {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rc-player-pause {
  flex: 0 0 auto;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ink, #263b32) 8%, transparent);
  color: var(--ink, #263b32);
  font: 700 0.8rem/1 var(--sans, sans-serif);
  cursor: pointer;
}

.rc-player-slide {
  position: relative;
  flex: 0 0 var(--rc-slide-h);
  height: var(--rc-slide-h);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 0.8rem;
}

.rc-player .rc-story {
  min-height: var(--rc-slide-h);
}

/* Cover and last slide fill the slide exactly. */
.rc-player .rc-story-cover,
.rc-player .rc-story-finale,
.rc-player .rc-story-cover-ink {
  min-height: var(--rc-slide-h);
}

.rc-player-slide:has(.rc-story-cover, .rc-story-finale) {
  padding: 0;
}

.rc-player .rc-story-cover,
.rc-player .rc-story-finale {
  border-radius: 0;
}

.rc-player .rc-story-nav {
  position: static;
  flex: 0 0 var(--rc-nav-h);
  height: var(--rc-nav-h);
  padding: 0 0.8rem;
}

.rc-player .rc-lightbox {
  border-radius: inherit;
}

/* Last slide: read again, share, edit. */
.rc-finale-actions {
  display: grid;
  gap: 0.6rem;
  width: 100%;
  margin-top: 1.2rem;
}

.rc-finale-actions .rc-primary,
.rc-finale-actions .rc-secondary {
  width: 100%;
}

.rc-story-finale .rc-finale-share {
  border-color: #fbf0d8aa;
  background: #fffaf01f;
  color: #fffaf0;
}

.rc-story-finale .rc-finale-edit {
  justify-self: center;
  color: #fff1ce;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rc-finale-note {
  margin: 0;
  text-align: center;
  font-size: 0.8rem;
  color: #fff1cecc;
}

@media (prefers-reduced-motion: reduce) {
  .rc.rc--player,
  .rc-player {
    animation: none;
  }
}

/* Each slide fades in; the card itself stays put between slides. */
.rc-player-slide > .rc-story {
  animation: rc-slide-in 260ms ease both;
}

@keyframes rc-slide-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

.rc-story-finale .rc-hand {
  color: #fffaf0;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  .rc-player-slide > .rc-story {
    animation: none;
  }
}

/* ——— Story player canvas: every slide is drawn at 360×600 and scaled to fit ——— */

.rc-player {
  --rc-chrome: 7.2rem;
  --rc-max-h: min(100dvh - 24px - var(--safe-top, env(safe-area-inset-top, 0px)) - var(--safe-bot, env(safe-area-inset-bottom, 0px)), 54rem);
  width: min(100%, 30rem, calc((var(--rc-max-h) - var(--rc-chrome)) * 0.6));
  height: auto;
}

/* Engines without dvh (older Android WebView): the custom properties above would go invalid
   and the player would lose its size — use vh there. */
@supports not (height: 1dvh) {
  .rc-player {
    --rc-player-h: min(100vh - 24px - var(--safe-top, env(safe-area-inset-top, 0px)) - var(--safe-bot, env(safe-area-inset-bottom, 0px)), 50rem);
    --rc-max-h: min(100vh - 24px - var(--safe-top, env(safe-area-inset-top, 0px)) - var(--safe-bot, env(safe-area-inset-bottom, 0px)), 54rem);
  }
}

.rc-player-slide {
  flex: 0 0 auto;
  height: auto;
  aspect-ratio: 3 / 5;
  overflow: hidden;
  padding: 0;
}

.rc-canvas {
  width: 360px;
  height: 600px;
  transform: scale(var(--rc-scale, 1));
  transform-origin: 0 0;
}

.rc-canvas > .rc-story {
  width: 360px;
  height: 600px;
  min-height: 0;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
  animation: rc-slide-in 260ms ease both;
}

.rc-canvas .rc-story-cover,
.rc-canvas .rc-story-finale,
.rc-canvas .rc-story-cover-ink {
  height: 600px;
  min-height: 0;
}

.rc-canvas .rc-story-finale {
  padding: 1.6rem;
}

.rc-player .rc-flash {
  position: absolute;
  top: 8px;
  left: 12px;
  right: 12px;
  z-index: 3;
  margin: 0;
}

/* Paper slides: the heading always starts on clean paper, below the torn map. */
.rc-canvas .rc-story--paper {
  padding: 120px 18px 16px;
  background-size: 100% 100%;
}

.rc-canvas .rc-story--paper .rc-sec {
  display: grid;
  gap: 8px;
}

.rc-canvas .rc-showcase-heading {
  padding: 0 0 4px;
}

.rc-canvas .rc-story--paper .rc-showcase-heading h2 {
  margin: 0 0 3px;
  font-size: 2.2rem;
  line-height: 1;
}

.rc-canvas .rc-showcase-heading > p {
  font-size: 0.8rem;
}

/* Summary. */
.rc-canvas .rc-story-summary {
  display: grid;
  justify-items: center;
  gap: 4px;
  text-align: center;
}

.rc-canvas .rc-story-summary .rc-kick {
  margin: 0;
}

.rc-canvas .rc-story-summary .rc-title {
  margin: 0;
  font-size: 2.6rem;
  line-height: 1;
}

.rc-canvas .rc-story-summary .rc-sub {
  margin: 0;
  font-size: 0.85rem;
}

.rc-canvas .rc-summary-photo {
  width: 64%;
  margin: 8px auto 2px;
  padding: 6px 8px 8px;
}

.rc-canvas .rc-summary-photo figcaption.rc-hand {
  padding-top: 2px;
  font-size: 1rem;
  line-height: 1.05;
  white-space: normal;
}

.rc-canvas .rc-summary-stats {
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin: 6px 0 0;
}

.rc-canvas .rc-summary-stats div > span {
  font-size: 1rem;
}

.rc-canvas .rc-summary-stats strong {
  font-size: 1.1rem;
}

.rc-canvas .rc-summary-stats small {
  font-size: 0.6rem;
}

.rc-canvas .rc-score {
  margin: 2px 0 0;
  padding: 0;
  gap: 0;
}

.rc-canvas .rc-score-num {
  font-size: 2rem;
  line-height: 1.1;
}

/* Highlights. */
.rc-canvas .rc-story-highlights .rc-kick {
  margin: 0;
}

.rc-canvas .rc-story-highlights .rc-hand {
  margin: 0;
  font-size: 2rem;
}

.rc-canvas .rc-story-highlights .rc-sub {
  margin: 0;
  font-size: 0.75rem;
}

.rc-canvas .rc-highlight-grid {
  margin-top: 6px;
  gap: 8px;
}

.rc-canvas .rc-highlight-caption p {
  margin: 0;
  font-size: 0.68rem;
}

/* Memories. */
.rc-canvas #rc-memories .rc-kick {
  margin: 0;
}

.rc-canvas #rc-memories .rc-hand--sec {
  margin: 0;
  font-size: 1.7rem;
  line-height: 1.05;
}

.rc-canvas .rc-polaroids {
  margin: 0 -18px;
  padding: 10px 18px 12px;
}

.rc-canvas .rc-mpol {
  flex-basis: 220px;
}

.rc-canvas .rc-mpol-cap {
  -webkit-line-clamp: 2;
}

.rc-canvas .rc-memory-nav {
  padding: 2px 0 0;
}

.rc-canvas .rc-dots--carousel {
  display: none;
}

/* Awards: five a slide, as a list of paper strips. */
.rc-award-list {
  display: grid;
  gap: 9px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.rc-award-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  padding: 7px 12px;
  border: 1px solid #d5c6a64d;
  background: linear-gradient(125deg, #fffdf6, #f4ecd9);
  box-shadow: 1px 3px 6px #46352122;
  transform: rotate(var(--tilt, 0deg));
}

.rc-award-row .rc-award-emblem {
  font-size: 1.65rem;
  text-align: center;
}

.rc-award-copy {
  min-width: 0;
}

.rc-award-row .rc-award-ribbon {
  display: inline-block;
  align-self: auto;
  margin: 0;
  padding: 2px 12px 3px;
  font-size: 0.95rem;
}

.rc-award-row:nth-child(even) .rc-award-ribbon {
  background: #876429;
}

.rc-award-row .rc-award-line {
  margin: 4px 0 0;
  font: 500 0.8rem/1.35 var(--sans, system-ui, sans-serif);
  color: #5d5140;
  text-wrap: pretty;
}

.rc-award-row .rc-award-person {
  margin: 3px 0 0;
  overflow: hidden;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1.2rem;
}

.rc-award-faces {
  display: flex;
}

.rc-award-faces .rc-av {
  width: 40px;
  height: 40px;
  border: 2px solid #fff9ea;
  box-shadow: 0 1px 3px #55412430;
}

.rc-award-faces .rc-av + .rc-av {
  margin-left: -12px;
}

.rc-award-faces .rc-av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

/* Barkada MVP: its own slide. */
.rc-mvp-stage {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 18px 14px 20px;
  border: 1px solid #d9bf7a80;
  background: radial-gradient(circle at 50% 28%, #fff7dc, #f4e6c2 72%);
  box-shadow: 0 6px 16px #4635212a;
  transform: rotate(-1deg);
}

.rc-mvp-stage::before,
.rc-mvp-stage::after {
  content: "✦";
  position: absolute;
  color: #c9962f;
  font-size: 1.3rem;
}

.rc-mvp-stage::before {
  top: 12px;
  left: 16px;
}

.rc-mvp-stage::after {
  right: 18px;
  bottom: 16px;
}

.rc-mvp-trophy {
  font-size: 3.2rem;
  line-height: 1;
  filter: drop-shadow(0 3px 0 #b8903a55);
  animation: rc-mvp-bob 2.6s ease-in-out infinite;
}

@keyframes rc-mvp-bob {
  50% {
    transform: translateY(-5px) rotate(-4deg);
  }
}

.rc-mvp-faces {
  display: flex;
  justify-content: center;
}

.rc-mvp-faces .rc-av {
  width: 112px;
  height: 112px;
  border: 4px solid #fff9ea;
  box-shadow: 0 0 0 3px #d4a53f, 0 6px 14px #4635213a;
  font-size: 2rem;
}

.rc-mvp-faces .rc-av + .rc-av {
  margin-left: -26px;
}

.rc-mvp-faces .rc-av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.rc-mvp-name {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
  text-align: center;
  color: #263b32;
  font: 700 2.1rem/1.05 "Caveat", cursive;
}

.rc-mvp-ribbon {
  padding: 5px 20px 6px;
  background: #876429;
  color: #fff9e7;
  font: 700 1.05rem/1.1 "Caveat", cursive;
  clip-path: polygon(0 0, 100% 0, 95% 50%, 100% 100%, 0 100%, 5% 50%);
}

.rc-mvp-votes {
  margin: 0;
  color: #6b5d44;
  font: 500 0.78rem/1.3 var(--sans, sans-serif);
}

/* Stamps: six a slide, two columns. */
.rc-canvas .rc-ink-stamps {
  grid-template-columns: 1fr 1fr;
  gap: 18px 12px;
  padding: 8px 4px;
}

.rc-canvas .rc-ink-stamp {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 8px 6px;
}

.rc-canvas .rc-ink-stamp > span {
  font-size: 1.2rem;
}

.rc-canvas .rc-ink-stamp strong {
  font-size: 1.15rem;
}

.rc-canvas .rc-stamp-total {
  width: 84px;
  height: 84px;
  margin: 8px 8px 0 auto;
  font-size: 1rem;
}

/* Tips: one postcard per traveller, five a slide. */
.rc-tip-postcard {
  width: 100%;
  font: inherit;
  text-align: left;
  color: inherit;
  cursor: pointer;
}

.rc-tip-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.rc-tip-lines {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  color: #514636;
  font: 500 1.15rem/1.2 "Caveat", cursive;
  overflow-wrap: anywhere;
}

.rc-tip-lines span + span::before {
  content: " · ";
  color: #b09a70;
}

.rc-canvas .rc-tip-stack {
  gap: 8px;
}

.rc-canvas .rc-tip-postcard {
  align-items: center;
  gap: 10px;
  min-height: 0;
  height: 70px;
  padding: 8px 12px;
}

.rc-canvas .rc-tip-postcard .rc-av {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
}

.rc-canvas .rc-tip-lines {
  -webkit-line-clamp: 2;
  font-size: 1.08rem;
}

.rc-tip-full {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rc-tip-full li {
  padding: 12px 14px;
  border: 1px solid #ded3be66;
  background: #fffdf8;
  box-shadow: 1px 3px 6px #46352118;
  color: #3d3326;
  font: 500 1.35rem/1.25 "Caveat", cursive;
}

/* The inline Recap tab: keep the paper's torn edge at the top (not stretched). */
.rc-tab .rc-story--paper {
  padding-top: max(100px, 30%);
  background-size: 100% auto;
  background-position: top center;
}

@media (prefers-reduced-motion: reduce) {
  .rc-canvas > .rc-story,
  .rc-mvp-trophy {
    animation: none;
  }
}

/* Highlights fit the page: wider, shorter photos. */
.rc-canvas .rc-highlight img,
.rc-canvas .rc-highlight-placeholder {
  aspect-ratio: 16 / 10;
}

.rc-canvas .rc-highlight-caption h3 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rc-canvas .rc-highlight--place img,
.rc-canvas .rc-highlight--place .rc-highlight-placeholder {
  aspect-ratio: 12 / 5;
}

.rc-canvas .rc-highlight-caption {
  padding: 5px 8px 6px;
}

.rc-canvas .rc-highlight-caption h3 {
  margin: 1px 0;
  font-size: 0.88rem;
  line-height: 1.2;
}

.rc-canvas .rc-highlight-stars {
  display: block;
  font-size: 0.76rem;
  line-height: 1.2;
}

/* Music on/off (story player bar and the first-time answer screens). */
.rc-music {
  flex: 0 0 auto;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ink, #263b32) 8%, transparent);
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
}

.rc-music[aria-pressed="false"] {
  opacity: 0.6;
}

.rc-fhead:has(.rc-music) {
  grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem 2.75rem;
}

.rc-fhead .rc-music {
  justify-self: center;
}

/* Stamps: laid out by how many there are, centred under the heading. */
.rc-canvas .rc-stamp-showcase {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.rc-canvas .rc-stamp-showcase .rc-ink-stamps {
  margin-top: auto;
}

.rc-canvas .rc-stamp-showcase > :last-child {
  margin-bottom: auto;
}

.rc-canvas .rc-stamp-showcase > .rc-showcase-heading:last-child {
  margin-bottom: 0;
}

/* One stamp: big, centred; the count sits just below it. */
.rc-ink-stamps--n1,
.rc-ink-stamps--n2,
.rc-canvas .rc-ink-stamps--n1,
.rc-canvas .rc-ink-stamps--n2 {
  grid-template-columns: 1fr;
}

.rc-canvas .rc-ink-stamps--n1 .rc-ink-stamp {
  justify-self: center;
  width: 82%;
  padding: 16px 12px;
  transform: rotate(-8deg);
}

.rc-canvas .rc-ink-stamps--n1 .rc-ink-stamp > span {
  font-size: 2rem;
}

.rc-canvas .rc-ink-stamps--n1 .rc-ink-stamp strong {
  font-size: 2.1rem;
}

.rc-canvas .rc-ink-stamps--n1 .rc-ink-stamp small,
.rc-canvas .rc-ink-stamps--n1 .rc-ink-stamp figcaption {
  font-size: 0.8rem;
}

.rc-canvas .rc-ink-stamps--n1 ~ .rc-stamp-total {
  margin: -6px 26px 0 auto;
}

/* Two: staggered down the page. */
.rc-canvas .rc-ink-stamps--n2 {
  gap: 26px;
}

.rc-canvas .rc-ink-stamps--n2 .rc-ink-stamp {
  width: 72%;
  padding: 12px 10px;
}

.rc-canvas .rc-ink-stamps--n2 .rc-ink-stamp:first-child {
  justify-self: start;
  transform: rotate(-7deg);
}

.rc-canvas .rc-ink-stamps--n2 .rc-ink-stamp:last-child {
  justify-self: end;
  transform: rotate(6deg);
}

.rc-canvas .rc-ink-stamps--n2 .rc-ink-stamp strong {
  font-size: 1.65rem;
}

/* Three: two across, the third centred under them. */
.rc-canvas .rc-ink-stamps--n3 .rc-ink-stamp:last-child {
  grid-column: 1 / -1;
  justify-self: center;
  width: 55%;
}

/* Three to six: slightly bigger names when there's room. */
.rc-canvas .rc-ink-stamps--n3 .rc-ink-stamp strong,
.rc-canvas .rc-ink-stamps--n4 .rc-ink-stamp strong {
  font-size: 1.3rem;
}

/* Two: the count fills the empty corner beside the second stamp. */
.rc-canvas .rc-ink-stamps--n2 ~ .rc-stamp-total {
  margin: -118px auto 0 14px;
}

/* Five or six: a little more compact so the count still fits. */
.rc-canvas .rc-ink-stamps--n5,
.rc-canvas .rc-ink-stamps--n6 {
  gap: 12px;
  padding: 4px;
}

.rc-canvas .rc-ink-stamps--n5 .rc-ink-stamp,
.rc-canvas .rc-ink-stamps--n6 .rc-ink-stamp {
  padding: 5px 6px;
}

.rc-canvas .rc-ink-stamps--n5 .rc-ink-stamp > span,
.rc-canvas .rc-ink-stamps--n6 .rc-ink-stamp > span {
  font-size: 1rem;
}

.rc-canvas .rc-ink-stamps--n5 .rc-ink-stamp strong,
.rc-canvas .rc-ink-stamps--n6 .rc-ink-stamp strong {
  font-size: 1.05rem;
}

.rc-canvas .rc-ink-stamps--n5 ~ .rc-stamp-total,
.rc-canvas .rc-ink-stamps--n6 ~ .rc-stamp-total {
  width: 74px;
  height: 74px;
  margin: 2px 10px 0 auto;
  font-size: 0.9rem;
}

.rc-canvas .rc-ink-stamps--n5 ~ .rc-stamp-total,
.rc-canvas .rc-ink-stamps--n6 ~ .rc-stamp-total {
  position: relative;
  z-index: 1;
  margin: -40px 2px 0 auto;
  background: #f6efdecc;
}

/* Four: the count tucks into the last row. */
.rc-canvas .rc-ink-stamps--n4 ~ .rc-stamp-total {
  position: relative;
  z-index: 1;
  margin: -34px 4px 0 auto;
  background: #f6efdecc;
}

.rc-canvas .rc-ink-stamps--n3 .rc-ink-stamp:last-child {
  justify-self: start;
  margin-left: 14px;
}

.rc-canvas .rc-ink-stamps--n3 ~ .rc-stamp-total {
  margin: -104px 18px 0 auto;
}

/* ——— Passport stamps: the round LakBi stamp from the virtual passport / trip header ——— */
.rc-pp-stamps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.4rem 0.2rem;
  padding: 0.6rem 0.2rem;
}

.rc-pp-stamps.is-ghost {
  opacity: 0.55;
}

.rc-pp-stamp {
  --stamp-ink: #c4543f;
  --pp-page: #fbf5e8;
  --pp-size: 9.5rem;
  position: relative;
  flex: 0 0 auto;
  width: var(--pp-size);
  height: var(--pp-size);
  margin: 0;
  border-radius: 50%;
  color: var(--stamp-ink);
  transform: rotate(var(--stamp-turn, -10deg));
  mix-blend-mode: multiply;
  opacity: 0.9;
  -webkit-mask-image: radial-gradient(circle at 30% 26%, transparent 0 2px, #000 3px), radial-gradient(circle at 72% 68%, transparent 0 3px, #000 4px), radial-gradient(circle at 60% 18%, transparent 0 1.5px, #000 2.5px), radial-gradient(circle at 20% 70%, transparent 0 2px, #000 3px);
  -webkit-mask-composite: source-in;
  mask-image: radial-gradient(circle at 30% 26%, transparent 0 2px, #000 3px), radial-gradient(circle at 72% 68%, transparent 0 3px, #000 4px), radial-gradient(circle at 60% 18%, transparent 0 1.5px, #000 2.5px), radial-gradient(circle at 20% 70%, transparent 0 2px, #000 3px);
  mask-composite: intersect;
}

/* Staggered like a passport page. */
.rc-pp-stamp:nth-child(even) {
  margin-top: 1.4rem;
}

.rc-pp-ring {
  position: absolute;
  inset: 0;
  border: 3px solid currentColor;
  border-radius: 50%;
  box-shadow: inset 0 0 0 5px transparent, inset 0 0 0 6.5px currentColor;
}

.rc-pp-ring::after {
  content: "";
  position: absolute;
  inset: 0.85rem;
  border: 1.5px dashed currentColor;
  border-radius: 50%;
  opacity: 0.8;
}

.rc-pp-face {
  position: relative;
  z-index: 1;
  height: 100%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.1rem;
  padding: 1.25rem 1rem;
  text-align: center;
}

.rc-pp-brand {
  font: 700 0.72rem/1 var(--sans, system-ui, sans-serif);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.rc-pp-lakbi {
  width: 1.5rem;
  height: 1.5rem;
}

.rc-pp-face strong {
  max-width: 94%;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font: 700 1.05rem/1.05 Georgia, "Times New Roman", serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.rc-pp-stamp.is-long .rc-pp-face strong {
  font-size: 0.86rem;
}

.rc-pp-face small {
  max-width: 90%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: 600 0.6rem/1.2 var(--sans, system-ui, sans-serif);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.rc-pp-face figcaption {
  margin-top: 0.1rem;
  padding: 0.05rem 0.4rem;
  border-top: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  font: 700 0.6rem/1.4 ui-monospace, "SFMono-Regular", monospace;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

/* One or two stamps: bigger. Player slides (narrow): a bit smaller so six fit. */
.rc-pp-stamps--n1 .rc-pp-stamp {
  --pp-size: 12rem;
}

.rc-pp-stamps--n1 .rc-pp-face strong {
  font-size: 1.35rem;
}

.rc-canvas .rc-pp-stamps {
  gap: 0.2rem 0;
}

.rc-canvas .rc-pp-stamp {
  --pp-size: 8.6rem;
}

.rc-canvas .rc-pp-stamps--n1 .rc-pp-stamp {
  --pp-size: 11.5rem;
}

.rc-canvas .rc-stamp-showcase .rc-pp-stamps {
  margin-top: auto;
}

/* Itinerary tab (web + app): the crew's itinerary reviews, folded into one card at the top. */
.lb-itin-host { margin: 0 0 0.85rem; }
.lb-itin-host[hidden] { display: none !important; }
.lb-itin-rv {
  border: 1px solid #ece4d3;
  border-radius: 16px;
  background: #fffcf6;
  box-shadow: 0 1px 2px rgba(26, 20, 16, 0.04);
  overflow: hidden;
}
.lb-itin-rv > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.2rem 0.75rem;
  padding: 0.75rem 0.95rem;
  list-style: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.lb-itin-rv > summary::-webkit-details-marker { display: none; }
.lb-itin-rv-kick {
  grid-column: 1 / -1;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9a7a3a;
}
.lb-itin-rv-score {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.2rem 0.5rem;
  min-width: 0;
}
.lb-itin-rv-score b {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1;
  color: #1f3d30;
}
.lb-itin-rv-stars { color: #d9a53a; font-size: 0.95rem; letter-spacing: 0.06em; }
.lb-itin-rv-score small { font-size: 0.78rem; color: #6f7a70; }
.lb-itin-rv-toggle {
  font-size: 0.78rem;
  font-weight: 700;
  color: #8a5a14;
  white-space: nowrap;
}
.lb-itin-rv-toggle::after { content: " ›"; display: inline-block; transition: transform 0.18s ease; }
.lb-itin-rv[open] .lb-itin-rv-toggle::after { transform: rotate(90deg); }
.lb-itin-rv[open] > summary { border-bottom: 1px solid #efe8da; }
.lb-itin-rv-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0.85rem 0.95rem 0.95rem;
  list-style: none;
}
.lb-itin-rv-list .rc-itin-note { margin: 0; }
@media (prefers-reduced-motion: reduce) {
  .lb-itin-rv-toggle::after { transition: none; }
}
/* The note items outside the recap page (same look as .rc-page .rc-itin-note). */
.lb-itin-rv-list .rc-itin-note {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid #ece4d3;
  border-left: 3px solid #e8cf94;
  border-radius: 12px;
  background: #fff;
}
.lb-itin-rv-list .rc-itin-note .rc-av { flex: 0 0 auto; width: 2.3rem; height: 2.3rem; }
.lb-itin-rv-list .rc-itin-note-copy { min-width: 0; flex: 1; }
.lb-itin-rv-list .rc-itin-note-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2rem 0.6rem;
  font-size: 0.86rem;
  color: #263b32;
}
.lb-itin-rv-list .rc-itin-note-stars { color: #b08a3e; font-size: 0.8rem; letter-spacing: 0.08em; }
.lb-itin-rv-list .rc-itin-note p,
.lb-itin-rv-list .rc-itin-note summary {
  margin: 0.2rem 0 0;
  color: #5c5a52;
  font-style: italic;
  font-size: 0.88rem;
  line-height: 1.5;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.lb-itin-rv-list .rc-itin-note summary { cursor: pointer; list-style: none; }
.lb-itin-rv-list .rc-itin-note summary::-webkit-details-marker { display: none; }
.lb-itin-rv-list .rc-itin-note-toggle { font-style: normal; font-weight: 700; color: #2d5a45; }
.lb-itin-rv-list .rc-itin-note-more[open] summary { display: none; }
/* Favourite moment + tips from travellers who rated without an itinerary note. */
.lb-itin-rv-label {
  font-style: normal;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: #9a7a3a;
  margin-right: 0.2rem;
}
.lb-itin-rv-tips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.45rem 0 0;
  padding: 0;
  list-style: none;
}
.lb-itin-rv-tips li {
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: #f4efe3;
  color: #4d4a42;
  font-size: 0.76rem;
  line-height: 1.35;
}

/* Trip-photo picker: square tiles whose rows can never collapse. aspect-ratio + overflow:hidden
   inside a height-capped scroller let rows shrink below the tile, so tiles piled onto each other;
   a padding spacer gives every row its real height. */
.rc-thumbs {
  grid-auto-rows: auto;
  align-content: start;
}
.rc-thumbs.is-many {
  max-height: min(22rem, 55dvh);
  padding: 0.4rem 0.5rem 0.4rem 0.4rem;
  margin: -0.4rem;
  border-radius: 14px;
  scrollbar-width: thin;
  scrollbar-color: rgba(58, 47, 31, 0.28) transparent;
}
.rc-thumbs.is-many::-webkit-scrollbar { width: 6px; }
.rc-thumbs.is-many::-webkit-scrollbar-thumb { border-radius: 999px; background: rgba(58, 47, 31, 0.28); }
.rc-thumbs.is-many::-webkit-scrollbar-track { background: transparent; }
.rc-thumb {
  position: relative;
  display: block;
  aspect-ratio: auto;
  height: auto;
  min-height: 0;
  cursor: pointer;
  transition: transform 0.15s ease;
}
.rc-thumb::before {
  content: "";
  display: block;
  padding-top: 100%;
}
.rc-thumb img {
  position: absolute;
  inset: 0;
}
.rc-thumb:hover { transform: translateY(-1px); }
.rc-thumb.is-on {
  box-shadow: 0 0 0 3px var(--paper, #fffdf8), 0 0 0 5.5px var(--brick, #b5452b);
}
.rc-thumb.is-on::after {
  content: "✓";
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: var(--brick, #b5452b);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}
@media (prefers-reduced-motion: reduce) {
  .rc-thumb { transition: none; }
  .rc-thumb:hover { transform: none; }
}

/* ——— Story player: slides turn like a book page (same feel as the app's passport pages) ———
   recap-ui.js startPageTurn: next = the old slide (.rc-canvas--ghost) turns away over its left
   edge onto the new one; back = the new slide turns in from the left over the old one. Only the
   slide turns — the header and the ← n / N → bar stay put. The progress bar waits for the turn. */
.rc-player {
  --rc-turn-ms: 680ms;
  --rc-turn-ease: cubic-bezier(0.645, 0.045, 0.355, 1);
}

.rc-player-slide {
  perspective: 1800px;
}

.rc-canvas.is-flip-in > .rc-story {
  animation: none;
}

.rc-canvas--ghost {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}

/* The page that turns away is a still picture: no animations inside it. */
.rc-canvas--ghost * {
  animation: none !important;
  transition: none !important;
}

.rc-canvas.is-turn-under {
  position: relative;
  z-index: 1;
}

.rc-canvas.is-turn-fwd,
.rc-canvas.is-turn-back {
  position: relative;
  z-index: 2;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform;
  box-shadow: 12px 0 28px rgba(19, 37, 30, 0.28);
}

.rc-canvas--ghost.is-turn-fwd,
.rc-canvas--ghost.is-turn-under {
  position: absolute;
}

.rc-canvas.is-turn-fwd {
  animation: rc-turn-fwd var(--rc-turn-ms) var(--rc-turn-ease) both;
}

.rc-canvas.is-turn-back {
  animation: rc-turn-back var(--rc-turn-ms) var(--rc-turn-ease) both;
}

@keyframes rc-turn-fwd {
  from {
    transform: rotateY(0deg) scale(var(--rc-scale, 1));
  }
  to {
    transform: rotateY(-180deg) scale(var(--rc-scale, 1));
  }
}

@keyframes rc-turn-back {
  from {
    transform: rotateY(-180deg) scale(var(--rc-scale, 1));
  }
  to {
    transform: rotateY(0deg) scale(var(--rc-scale, 1));
  }
}

/* The turning page: spine shadow, a light band sweeping across it (the curl), darker at the free edge. */
.rc-canvas.is-turn-fwd::after,
.rc-canvas.is-turn-back::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(19, 37, 30, 0.18),
    transparent 12%,
    rgba(255, 255, 255, 0) 34%,
    rgba(255, 255, 255, 0.3) 47%,
    rgba(255, 255, 255, 0) 60%,
    rgba(19, 37, 30, 0.26)
  );
  background-size: 240% 100%;
  animation: rc-turn-sheen var(--rc-turn-ms) var(--rc-turn-ease) both;
}

.rc-canvas.is-turn-back::after {
  animation-direction: reverse;
}

@keyframes rc-turn-sheen {
  from {
    background-position: 100% 0;
    opacity: 0.25;
  }
  to {
    background-position: 0 0;
    opacity: 1;
  }
}

/* The page underneath sits in the turning page's shadow: fades as a page turns off it (next),
   deepens as a page comes down over it (back). */
.rc-canvas.is-turn-under::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(19, 37, 30, 0.34), rgba(19, 37, 30, 0.1) 55%, rgba(19, 37, 30, 0.2));
  animation: rc-turn-shade var(--rc-turn-ms) var(--rc-turn-ease) both;
}

.rc-player.is-turn-prev .rc-canvas.is-turn-under::after {
  animation-direction: reverse;
}

@keyframes rc-turn-shade {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

/* The new slide's time starts once the page has turned; its own motion waits too. */
.rc-player.is-turning .rc-progress b[data-rc-progress],
.rc-player.is-turning .rc-canvas[data-rc-canvas] * {
  animation-play-state: paused;
}

/* Low-end phones (≤ 4 cores or ≤ 2 GB): the same turn, no shadow or shading layers. */
.rc-player.is-turn-lite .rc-canvas.is-turn-fwd,
.rc-player.is-turn-lite .rc-canvas.is-turn-back {
  box-shadow: none;
  will-change: auto;
}

.rc-player.is-turn-lite .rc-canvas::after {
  content: none;
}

@media (prefers-reduced-motion: reduce) {
  .rc-canvas.is-turn-fwd,
  .rc-canvas.is-turn-back,
  .rc-canvas::after {
    animation: none;
  }
}

/* A traveller's name / face → their profile (recap-ui profileLinkHtml; same rules in itinerary-ratings.css). */
.lb-plink {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-align: inherit;
  text-decoration: none;
  cursor: pointer;
  border-radius: 4px;
}
.lb-plink:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.lb-plink:focus-visible { outline: 2px solid #2d5a45; outline-offset: 2px; }
.lb-plink--face { display: inline-flex; flex: none; align-self: flex-start; border-radius: 999px; }
.lb-plink--face:hover { text-decoration: none; filter: brightness(1.06); }
.rc-award-faces .lb-plink--face + .lb-plink--face,
.rc-award-faces .lb-plink--face + .rc-av,
.rc-award-faces .rc-av + .lb-plink--face { margin-left: -12px; }
.rc-mvp-faces .lb-plink--face + .lb-plink--face,
.rc-mvp-faces .lb-plink--face + .rc-av,
.rc-mvp-faces .rc-av + .lb-plink--face { margin-left: -26px; }
/* Recap tab (owner 2026-10-14): Trip recap (the official trip video) above Trip story (the group story) */
.rc-sec-h { margin: 0 0 10px; font: 700 1.05rem var(--rc-display, Georgia, serif); color: #1f2a22; }
.rc-sec-h small { margin-left: 6px; font: 600 0.72rem system-ui, sans-serif; letter-spacing: 0.06em; text-transform: uppercase; color: #7b7464; }
.rc-tripvideo { margin: 0 0 18px; padding: 14px; border-radius: 16px; background: #fffdf8; border: 1px solid #e4dccb; }
/* the trip recap beside "That’s a wrap!" (owner 2026-10-14): a phone-shaped poster (the group photo, ▶) that plays in place */
.rc-summary-player { width: min(100%, 300px); margin: 1rem auto; }
.rc-tvp { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 100%; aspect-ratio: 9 / 16; padding: 18px; border: 6px solid #0f1a15; border-radius: 26px; overflow: hidden; background: #f3ecdc; color: #fff; cursor: pointer; font: inherit; box-shadow: 0 14px 30px -12px rgba(15, 26, 21, 0.45); }
.rc-tvp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rc-tvp-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 26, 21, 0.15), rgba(15, 26, 21, 0.62)); }
.rc-tvp > span:not(.rc-tvp-shade) { position: relative; text-align: center; }
.rc-tvp-kick { font: 700 0.7rem system-ui, sans-serif; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.92; }
.rc-tvp-title { font: italic 700 1.35rem var(--rc-display, Georgia, serif); line-height: 1.2; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35); }
.rc-tvp-play { display: grid; place-items: center; width: 64px; height: 64px; margin: 10px 0 4px; border-radius: 50%; background: rgba(255, 253, 248, 0.95); color: #12673d; font-size: 1.5rem; padding-left: 4px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3); }
.rc-tvp-sub { font-size: 0.8rem; opacity: 0.9; }
.rc-tvp.is-busy .rc-tvp-play { animation: rc-tvp-pulse 0.9s ease-in-out infinite; }
@keyframes rc-tvp-pulse { 50% { transform: scale(0.88); opacity: 0.7; } }
.rc-tv-play[hidden], .rc-tv-meta[hidden] { display: none; }
/* the official recap plays live (no file): one big play button opens it */
.rc-tv-play { display: block; width: 100%; max-width: 360px; margin: 0 auto; padding: 18px 16px; border: 0; border-radius: 14px; background: linear-gradient(160deg, #1f3d30, #12673d); color: #fff; font: 700 1.02rem inherit; cursor: pointer; box-shadow: 0 6px 18px rgba(18, 103, 61, 0.22); }
.rc-tv-play:disabled { opacity: 0.7; cursor: progress; }
.rc-tv-acts .rc-tv-btn.rc-tv-quiet { background: transparent; color: #1f3d30; }
.rc-tv-meta { margin: 8px 0 0; text-align: center; font-size: 0.78rem; color: #7b7464; }
.rc-tv-acts { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 10px; }
.rc-tv-acts.is-inwrap { margin: 12px 0 4px; }
.rc-tv-btn { border: 0; border-radius: 999px; padding: 9px 16px; background: #1f3d30; color: #fff; font: 700 0.88rem inherit; cursor: pointer; }
.rc-tv-quiet { border: 1px solid #e4dccb; border-radius: 999px; padding: 8px 14px; background: transparent; color: #8a4b3c; font: 600 0.85rem inherit; cursor: pointer; }
