[hidden] {
  display: none !important;
}

.detail-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.detail-back {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  margin: 2rem 0 1.25rem;
  color: var(--purple, #4c2287);
  font-weight: 800;
  text-decoration: none;
}

.detail-back:hover,
.detail-back:focus-visible {
  text-decoration: underline;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(350px, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 4.75rem);
  border: 1px solid #ded4ec;
  border-radius: 30px;
  background: linear-gradient(135deg, #f8f4fc 0%, #fff 62%, #edf8f0 100%);
  box-shadow: 0 20px 55px rgba(55, 28, 92, 0.09);
}

.detail-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  margin-bottom: 1.2rem;
}

.detail-meta-row > span,
.detail-meta-row > a {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: #eee6f7;
  color: #3d1c6d;
  font-size: 0.82rem;
  font-weight: 800;
}

.detail-meta-row > a {
  text-decoration: none;
}

.detail-meta-row > a:hover,
.detail-meta-row > a:focus-visible {
  background: #4c2287;
  color: #fff;
}

.detail-meta-row .checked {
  background: #e5f5e9;
  color: #15572d;
}

.detail-hero h1 {
  max-width: 15ch;
  margin: 0;
  color: #2d164e;
  font-size: clamp(2.45rem, 6vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.detail-place {
  margin: 1.25rem 0 0;
  color: #5f4b73;
  font-weight: 800;
}

.detail-place span {
  color: #73a643;
}

.detail-summary {
  max-width: 60ch;
  margin: 1.35rem 0 0;
  color: #4b3d58;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.button-outline {
  border: 2px solid #4c2287;
  background: transparent;
  color: #4c2287;
}

.button-outline:hover,
.button-outline:focus-visible {
  background: #eee6f7;
}

.detail-media {
  margin: 0;
}

.detail-image-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  background: #ddd4e8;
  box-shadow: 0 16px 34px rgba(45, 22, 78, 0.18);
}

.detail-image-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-logo {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  width: min(42%, 190px);
  min-height: 76px;
  place-items: center;
  padding: 0.8rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 7px 22px rgba(0, 0, 0, 0.16);
}

.detail-logo.dark {
  background: rgba(39, 31, 48, 0.94);
}

.detail-logo img {
  display: block;
  width: 100%;
  max-height: 58px;
  object-fit: contain;
}

.detail-media figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.75rem;
  color: #665a70;
  font-size: 0.78rem;
}

.detail-media figcaption a {
  color: #4c2287;
  font-weight: 700;
}

.jarvis-status-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1.3rem, 4vw, 2.4rem);
  align-items: start;
  margin-top: 1.5rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 2px solid #c8b7d7;
  border-left-width: 9px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(55, 28, 92, 0.07);
}

.jarvis-status-card.is-green { border-left-color: #168447; }
.jarvis-status-card.is-amber { border-left-color: #d79000; }
.jarvis-status-card.is-red { border-left-color: #c92d32; }
.jarvis-status-card.is-unrated { border-left-color: #746a7c; }

.jarvis-traffic-signal {
  display: grid;
  flex: 0 0 auto;
  gap: 0.55rem;
  padding: 0.72rem;
  border: 3px solid #211a26;
  border-radius: 20px;
  background: #352c3b;
  box-shadow: 0 8px 18px rgba(31, 22, 37, 0.2);
}

.jarvis-signal-lamp,
.jarvis-key-light {
  display: inline-grid;
  place-items: center;
  border: 3px solid #171319;
  border-radius: 50%;
  font-weight: 950;
  line-height: 1;
}

.jarvis-signal-lamp {
  width: 54px;
  height: 54px;
  opacity: 0.2;
  filter: grayscale(0.75);
  box-shadow: inset 0 -8px 10px rgba(0, 0, 0, 0.35);
}

.jarvis-signal-lamp.active {
  opacity: 1;
  filter: none;
  box-shadow: inset 0 -8px 10px rgba(0, 0, 0, 0.25), 0 0 0 4px #fff, 0 0 0 7px #211a26;
}

.jarvis-signal-lamp.is-red,
.jarvis-key-light.is-red { background: #c92d32; color: #fff; }
.jarvis-signal-lamp.is-amber,
.jarvis-key-light.is-amber { background: #f2b824; color: #281d00; }
.jarvis-signal-lamp.is-green,
.jarvis-key-light.is-green { background: #168447; color: #fff; }

.jarvis-status-content { min-width: 0; }
.jarvis-status-title-row { display: flex; align-items: center; flex-wrap: wrap; gap: 0.65rem 1rem; }
.jarvis-status-title-row h2 { margin: 0; color: #2d164e; font-size: clamp(1.65rem, 3vw, 2.45rem); letter-spacing: -0.035em; }
.jarvis-status-pilot { padding: 0.38rem 0.65rem; border-radius: 999px; background: #eee6f7; color: #4c2287; font-size: 0.7rem; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; }
.jarvis-status-summary { max-width: 78ch; margin: 0.85rem 0 0; color: #46394f; font-size: 1.02rem; font-weight: 720; line-height: 1.6; }
.jarvis-status-reason { margin-top: 1.1rem; padding: 1rem 1.1rem; border-radius: 14px; background: #f8f5fa; }
.jarvis-status-reason strong { color: #2d164e; }
.jarvis-status-reason p { margin: 0.35rem 0 0; color: #51465a; line-height: 1.65; }
.jarvis-status-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 0.55rem 1.1rem; margin-top: 1rem; color: #655970; font-size: 0.78rem; font-weight: 750; }
.jarvis-status-meta a { color: #4c2287; font-weight: 850; }

.jarvis-status-key { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid #ddd3e4; }
.jarvis-status-key summary { color: #4c2287; font-weight: 850; cursor: pointer; }
.jarvis-status-key ul { display: grid; gap: 0.7rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.jarvis-status-key li { display: grid; grid-template-columns: 29px 62px minmax(0, 1fr); gap: 0.65rem; align-items: center; color: #51465a; font-size: 0.84rem; line-height: 1.45; }
.jarvis-key-light { width: 27px; height: 27px; border-width: 2px; font-size: 0.72rem; }
.jarvis-status-key > p { margin: 1rem 0 0; color: #665a70; font-size: 0.78rem; line-height: 1.55; }

.rap-update-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1.2rem, 4vw, 2.2rem);
  align-items: start;
  margin-top: 1.5rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid #cdbbe2;
  border-left: 9px solid #55258f;
  border-radius: 24px;
  background: linear-gradient(135deg, #f7f1fc 0%, #fff 74%);
  box-shadow: 0 14px 35px rgba(55, 28, 92, 0.08);
}

.rap-update-mark {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border: 3px solid #2d164e;
  border-radius: 50%;
  background: #55258f;
  color: #fff;
  font-size: 1rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.rap-update-content h2 {
  margin: 0;
  color: #2d164e;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  letter-spacing: -0.035em;
}

.rap-update-status {
  margin: 0.7rem 0 0;
  color: #55258f;
  font-size: 1.05rem;
  font-weight: 880;
}

.rap-update-content > p:not(.section-kicker):not(.rap-update-status) {
  max-width: 90ch;
  color: #51465a;
  line-height: 1.68;
}

.rap-update-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.rap-update-details > div {
  min-width: 0;
  padding: 1.05rem 1.15rem;
  border: 1px solid #d9cce7;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
}

.rap-update-details h3 { margin: 0; color: #3b205e; font-size: 1rem; }
.rap-update-details p { margin: 0.55rem 0 0; color: #574c60; font-size: 0.9rem; line-height: 1.62; }

.rap-update-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.1rem;
  color: #665a70;
  font-size: 0.76rem;
  font-weight: 730;
}

.rap-update-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.5rem 1rem; }
.rap-update-footer a { color: #4c2287; font-weight: 840; }

.sensory-notice-card {
  margin-top: 1.5rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 2px solid #d9b45f;
  border-left: 9px solid #c92d32;
  border-radius: 24px;
  background: linear-gradient(135deg, #fff8e8 0%, #fff 74%);
  box-shadow: 0 14px 35px rgba(55, 28, 92, 0.08);
}

.sensory-notice-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.sensory-notice-mark {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 3px solid #5f181b;
  border-radius: 50%;
  background: #c92d32;
  color: #fff;
  font-size: 1.7rem;
  font-weight: 950;
}

.sensory-notice-card h2 {
  margin: 0;
  color: #421a1d;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  letter-spacing: -0.035em;
}

.sensory-notice-status {
  margin: 0.45rem 0 0;
  color: #7b292d;
  font-weight: 880;
}

.sensory-notice-summary {
  max-width: 90ch;
  margin: 1.2rem 0 0;
  color: #4f4142;
  line-height: 1.68;
}

.sensory-ride-lists,
.sensory-notice-evidence {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.sensory-ride-lists > div,
.sensory-notice-evidence > div {
  min-width: 0;
  padding: 1.05rem 1.15rem;
  border: 1px solid #e2c984;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.84);
}

.sensory-notice-card h3 {
  margin: 0;
  color: #4a2325;
  font-size: 1rem;
}

.sensory-ride-lists ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
}

.sensory-ride-lists li {
  padding: 0.4rem 0.6rem;
  border-radius: 999px;
  background: #f7e9bd;
  color: #5b4310;
  font-size: 0.76rem;
  font-weight: 790;
}

.sensory-notice-evidence p {
  margin: 0.55rem 0 0;
  color: #57494a;
  font-size: 0.9rem;
  line-height: 1.62;
}

.sensory-planning-advice {
  margin: 1.2rem 0 0;
  padding: 1rem 1.1rem;
  border-radius: 13px;
  background: #4c2287;
  color: #fff;
  line-height: 1.6;
}

.sensory-notice-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.1rem;
  color: #6a5a5b;
  font-size: 0.76rem;
  font-weight: 730;
}

.sensory-notice-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem 1rem;
}

.sensory-notice-footer a {
  color: #4c2287;
  font-weight: 840;
}

.lift-availability-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1.2rem, 4vw, 2.2rem);
  align-items: start;
  margin-top: 1.5rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid #decda4;
  border-left: 9px solid #d79000;
  border-radius: 24px;
  background: linear-gradient(135deg, #fffaf0 0%, #fff 72%);
  box-shadow: 0 14px 35px rgba(55, 28, 92, 0.07);
}

.lift-availability-card.no-closures {
  border-color: #b9d7c1;
  border-left-color: #168447;
  background: linear-gradient(135deg, #f2faf4 0%, #fff 72%);
}

.lift-availability-mark {
  display: grid;
  width: 72px;
  min-height: 88px;
  place-items: center;
  align-content: center;
  border: 3px solid #2d2431;
  border-radius: 14px;
  background: #403647;
  color: #fff;
  box-shadow: 0 8px 18px rgba(31, 22, 37, 0.18);
}

.lift-availability-mark span {
  font-size: 2rem;
  font-weight: 950;
  line-height: 1;
}

.lift-availability-mark strong {
  margin-top: 0.35rem;
  font-size: 0.67rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lift-availability-content h2 {
  margin: 0;
  color: #2d164e;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  letter-spacing: -0.035em;
}

.lift-availability-status {
  margin: 0.7rem 0 0;
  color: #4d3d28;
  font-size: 1.05rem;
  font-weight: 850;
}

.lift-availability-content h3 {
  margin: 1.25rem 0 0.65rem;
  color: #3f273f;
  font-size: 1rem;
}

.unavailable-lift-list {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.unavailable-lift-list li,
.no-lifts-listed {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  margin: 0;
  padding: 0.75rem 0.9rem;
  border: 1px solid #efc4c4;
  border-radius: 12px;
  background: #fff4f4;
  color: #69292c;
  font-weight: 800;
}

.unavailable-lift-list li span,
.no-lifts-listed span {
  display: inline-grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: #c92d32;
  color: #fff;
  font-weight: 950;
}

.no-lifts-listed {
  margin-top: 1rem;
  border-color: #b9d7c1;
  background: #eef8f1;
  color: #245633;
}

.no-lifts-listed span {
  background: #168447;
}

.lift-observation-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.6rem;
  margin: 1.15rem 0 0;
}

.lift-observation-dates div {
  display: grid;
  gap: 0.15rem;
}

.lift-observation-dates dt {
  color: #6a5c70;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lift-observation-dates dd {
  margin: 0;
  color: #352b3d;
  font-size: 0.9rem;
  font-weight: 850;
}

.lift-availability-note {
  max-width: 82ch;
  margin: 1rem 0 0;
  color: #5d5263;
  font-size: 0.88rem;
  line-height: 1.6;
}

.lift-availability-content > a {
  display: inline-flex;
  gap: 0.35rem;
  margin-top: 0.85rem;
  color: #4c2287;
  font-weight: 850;
}

.detail-information {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 1.25rem;
  margin: 1.5rem 0 clamp(4rem, 8vw, 7rem);
}

.detail-main-card,
.detail-ticket-card {
  padding: clamp(1.7rem, 4vw, 2.8rem);
  border: 1px solid #e4ddea;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(55, 28, 92, 0.07);
}

.section-kicker {
  margin: 0 0 0.4rem;
  color: #6f3ca6;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.detail-main-card h2,
.reviews-section h2,
.review-contribute h2 {
  margin: 0;
  color: #2d164e;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  letter-spacing: -0.035em;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}

.detail-tags li {
  border: 1px solid #d8c8e8;
  border-radius: 999px;
  background: #f8f3fc;
  overflow: hidden;
}

.detail-tags a {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  padding: 0.58rem 0.8rem;
  color: #4c2287;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.detail-tags li:hover,
.detail-tags li:focus-within {
  border-color: #4c2287;
  background: #eee6f7;
}

.detail-tags a:focus-visible {
  outline: 3px solid #f5b940;
  outline-offset: -3px;
}

.detail-category-help {
  margin: 0.65rem 0 0;
  color: #5f526b;
  line-height: 1.55;
}

.important-note {
  padding: 1.25rem 1.35rem;
  border-left: 5px solid #81ad54;
  border-radius: 0 14px 14px 0;
  background: #f0f8eb;
  color: #304328;
}

.important-note strong {
  color: #214218;
}

.important-note p {
  margin: 0.35rem 0 0;
  line-height: 1.65;
}

.detail-ticket-card {
  border-color: #d9cae9;
  background: #4c2287;
  color: #fff;
}

.detail-ticket-card .ticket-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  background: #fff;
  color: #4c2287;
  font-size: 1.3rem;
  font-weight: 900;
}

.detail-ticket-card > p:first-of-type {
  margin: 1.2rem 0 0.25rem;
  color: #ded1ee;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.detail-ticket-card h2 {
  margin: 0;
  color: #fff;
  font-size: 1.5rem;
}

.detail-ticket-card > p:last-of-type {
  line-height: 1.6;
}

.detail-ticket-card a {
  color: #fff;
  font-weight: 800;
}

.carer-booking-guidance {
  margin-top: 1.25rem;
  padding: 1rem;
  border: 3px solid #f3c94d;
  border-radius: 14px;
  background: #fff;
  color: #24172e;
}

.carer-booking-guidance.is-advice {
  border-color: #6bc39a;
}

.carer-booking-guidance.is-stop {
  border-color: #d3363f;
}

.carer-booking-guidance .carer-booking-kicker {
  margin: 0 0 .3rem;
  color: #5c286e;
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.carer-booking-guidance h3 {
  margin: 0;
  color: #271431;
  font-size: 1.12rem;
  line-height: 1.3;
}

.carer-booking-guidance > p:not(.carer-booking-kicker) {
  margin: .7rem 0 0;
  color: #34273e;
  font-size: .88rem;
  line-height: 1.55;
}

.carer-booking-guidance .carer-overpayment-warning {
  padding: .7rem .75rem;
  border-left: 5px solid #d3363f;
  background: #fff0f1;
}

.carer-booking-guidance .carer-evidence {
  padding: .65rem .75rem;
  border-radius: 8px;
  background: #f1ebf7;
}

.carer-booking-guidance .carer-policy-note {
  color: #55475f;
}

.carer-booking-guidance .carer-last-checked {
  color: #66596e;
  font-size: .76rem;
}

.carer-booking-actions {
  display: grid;
  gap: .65rem;
  margin-top: .9rem;
}

.detail-ticket-card .carer-direct-button {
  width: 100%;
  min-height: 46px;
  margin: 0;
  border: 2px solid #4c2287;
  background: #4c2287;
  color: #fff;
  text-align: center;
}

.detail-ticket-card .carer-direct-button:hover,
.detail-ticket-card .carer-direct-button:focus-visible {
  background: #351461;
  text-decoration: none;
}

.detail-ticket-card .carer-policy-link {
  color: #4c2287;
  font-size: .84rem;
}

.affiliate-booking {
  margin-top: 1.25rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgb(255 255 255 / 28%);
}

.affiliate-booking.is-demoted {
  opacity: .92;
}

.affiliate-booking.is-demoted .affiliate-booking-button {
  background: transparent;
  color: #fff;
}

.affiliate-booking .affiliate-disclosure {
  margin: 0;
  padding: .75rem .8rem;
  border: 1px solid rgb(255 255 255 / 44%);
  border-radius: 10px;
  background: rgb(255 255 255 / 12%);
  color: #fff;
  font-size: .78rem;
  line-height: 1.55;
}

.affiliate-booking h3 {
  margin: .9rem 0 .7rem;
  color: #fff;
  font-size: 1rem;
}

.detail-ticket-card .affiliate-booking-button {
  width: 100%;
  min-height: 46px;
  margin: 0;
  border: 2px solid #fff;
  background: #fff;
  color: #3c0f7c;
  text-align: center;
}

.detail-ticket-card .affiliate-booking-button:hover,
.detail-ticket-card .affiliate-booking-button:focus-visible {
  background: #eee5f5;
  text-decoration: none;
}

.affiliate-booking .affiliate-independence {
  margin: .65rem 0 0;
  color: rgb(255 255 255 / 82%);
  font-size: .72rem;
  line-height: 1.5;
}

.reviews-section {
  margin-bottom: clamp(4rem, 8vw, 7rem);
  scroll-margin-top: 7rem;
}

.reviews-heading-row {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #ddd4e6;
}

.reviews-heading-row > div:first-child > p:last-child {
  max-width: 70ch;
  margin-bottom: 0;
  color: #63556e;
  line-height: 1.6;
}

.review-summary {
  flex: 0 0 auto;
  min-width: 190px;
  padding: 1rem 1.2rem;
  border-radius: 16px;
  background: #eee6f7;
  text-align: center;
}

.review-summary strong,
.review-summary span {
  display: block;
}

.review-summary strong {
  color: #3d1c6d;
  font-size: 1.45rem;
}

.review-summary span {
  margin-top: 0.15rem;
  color: #655474;
  font-size: 0.8rem;
  font-weight: 700;
}

.reviews-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
  margin-top: 2rem;
}

.reviews-list {
  display: grid;
  gap: 1rem;
}

.review-loading,
.review-empty,
.review-load-error {
  padding: 2rem;
  border: 1px dashed #cdbddd;
  border-radius: 18px;
  background: #faf8fc;
  color: #63556e;
  text-align: center;
}

.visitor-review {
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid #e1d9e8;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(55, 28, 92, 0.06);
}

.visitor-review-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.visitor-review h3 {
  margin: 0.3rem 0 0;
  color: #2d164e;
  font-size: 1.2rem;
}

.review-author {
  margin: 0;
  color: #554464;
  font-weight: 800;
}

.review-stars {
  color: #8d6410;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.review-body {
  margin: 1rem 0;
  color: #44384e;
  line-height: 1.72;
  white-space: pre-line;
}

.review-visit-meta {
  margin: 0;
  color: #74677e;
  font-size: 0.82rem;
}

.review-contribute {
  position: sticky;
  top: 1.25rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid #d8cce3;
  border-radius: 22px;
  background: #f8f4fb;
  box-shadow: 0 15px 36px rgba(55, 28, 92, 0.09);
}

.review-contribute h2 {
  font-size: 1.7rem;
}

.review-intro {
  color: #5f5169;
  line-height: 1.55;
}

.review-message {
  margin: 1rem 0;
  padding: 0.85rem 1rem;
  border: 1px solid #a9d0b4;
  border-radius: 12px;
  background: #eaf6ed;
  color: #214d2d;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
}

.review-message.error {
  border-color: #dfa9ad;
  background: #fff0f1;
  color: #7c2027;
}

.review-auth-form,
.visitor-review-form {
  display: grid;
  gap: 1rem;
}

.review-field {
  display: grid;
  gap: 0.38rem;
}

.review-field label,
.review-label {
  color: #352244;
  font-size: 0.9rem;
  font-weight: 850;
}

.review-field label span {
  color: #75677e;
  font-weight: 600;
}

.rating-help {
  color: #6d6175;
  font-size: 0.76rem;
  line-height: 1.45;
}

.review-field input,
.review-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.76rem 0.82rem;
  border: 1px solid #bcaec8;
  border-radius: 10px;
  background: #fff;
  color: #291b33;
  font: inherit;
}

.review-field textarea {
  resize: vertical;
}

.review-field input:focus,
.review-field textarea:focus {
  border-color: #4c2287;
  outline: 3px solid rgba(76, 34, 135, 0.15);
}

.review-field small {
  color: #6d6175;
  font-size: 0.74rem;
  line-height: 1.4;
}

.review-auth-form .button,
.visitor-review-form .button {
  width: 100%;
  justify-content: center;
  margin-top: 0.15rem;
}

.verification-help {
  color: #55485f;
  line-height: 1.55;
}

.review-text-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #4c2287;
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
}

.signed-in-panel {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin: 0 0 1rem;
  padding: 0.8rem 0.95rem;
  border-radius: 12px;
  background: #e9f5ec;
}

.signed-in-panel p {
  margin: 0;
  color: #244b2d;
  font-size: 0.87rem;
}

.visitor-review-form fieldset {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 1rem 0 0;
  border: 0;
  border-top: 1px solid #d8cce3;
}

.visitor-review-form legend {
  padding: 0 0.5rem 0 0;
  color: #352244;
  font-size: 1rem;
  font-weight: 900;
}

.visitor-review-form fieldset:disabled {
  opacity: 0.48;
}

.rating-input {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 0.18rem;
  width: 100%;
  padding: 0.38rem;
  border: 1px solid #c9bcd3;
  border-radius: 12px;
  background: #fff;
}

.rating-input input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.rating-input label {
  display: grid;
  flex: 1 1 0;
  min-width: 0;
  max-width: 52px;
  min-height: 46px;
  place-items: center;
  border: 2px solid #d4c8dc;
  border-radius: 9px;
  background: #faf8fc;
  color: #7c7085;
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.rating-star::before {
  content: '☆';
}

.rating-input .rating-star {
  color: inherit;
  font-weight: inherit;
}

.rating-input input:checked ~ label,
.rating-input label:hover,
.rating-input label:hover ~ label {
  border-color: #9a6a0d;
  background: #fff5d9;
  color: #9a6a0d;
}

.rating-input input:checked ~ label .rating-star::before,
.rating-input label:hover .rating-star::before,
.rating-input label:hover ~ label .rating-star::before {
  content: '★';
}

.rating-input label:hover {
  transform: translateY(-1px);
}

.rating-input input:focus-visible + label {
  border-color: #4c2287;
  outline: 3px solid rgba(76, 34, 135, 0.28);
  outline-offset: 2px;
}

.rating-selection {
  min-height: 1.35em;
  margin: 0;
  color: #675a71;
  font-size: 0.78rem;
  font-weight: 720;
  line-height: 1.45;
}

.rating-selection.has-selection {
  color: #694600;
}

.rating-selection.error {
  color: #8a2529;
}

.review-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  color: #55485f;
  font-size: 0.78rem;
  line-height: 1.45;
}

.review-consent input {
  width: 18px;
  height: 18px;
  margin-top: 0.1rem;
  accent-color: #4c2287;
}

.detail-not-found {
  min-height: 58vh;
  display: grid;
  place-items: center;
  padding: 4rem 0;
  text-align: center;
}

.detail-not-found h1 {
  margin: 0.5rem 0;
  color: #2d164e;
  font-size: clamp(2.2rem, 6vw, 4.5rem);
}

.detail-not-found p:not(.eyebrow) {
  color: #62546d;
}

@media (max-width: 900px) {
  .detail-hero,
  .detail-information,
  .reviews-layout {
    grid-template-columns: 1fr;
  }

  .detail-hero-copy {
    order: 1;
  }

  .detail-media {
    order: 0;
  }

  .review-contribute {
    position: static;
  }
}

@media (max-width: 640px) {
  .detail-shell {
    width: min(100% - 24px, 1180px);
  }

  .detail-back {
    margin-top: 1.2rem;
  }

  .detail-hero {
    gap: 1.5rem;
    padding: 1.05rem;
    border-radius: 20px;
  }

  .detail-image-frame {
    border-radius: 15px;
  }

  .detail-hero h1 {
    font-size: clamp(2.35rem, 14vw, 3.8rem);
  }

  .detail-actions,
  .detail-actions .button {
    width: 100%;
  }

  .detail-actions .button {
    justify-content: center;
  }

  .detail-media figcaption,
  .reviews-heading-row,
  .visitor-review-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .detail-information {
    margin-bottom: 4rem;
  }

  .detail-main-card,
  .detail-ticket-card,
  .review-contribute {
    border-radius: 18px;
  }

  .jarvis-status-card { grid-template-columns: 1fr; border-radius: 18px; }
  .jarvis-traffic-signal { grid-template-columns: repeat(3, 46px); justify-self: start; }
  .jarvis-signal-lamp { width: 46px; height: 46px; }
  .jarvis-status-key li { grid-template-columns: 29px minmax(0, 1fr); }
  .jarvis-status-key li > span:last-child { grid-column: 2; }
  .rap-update-card { grid-template-columns: 1fr; border-radius: 18px; }
  .rap-update-mark { width: 62px; height: 62px; }
  .rap-update-details { grid-template-columns: 1fr; }
  .rap-update-footer { flex-direction: column; }
  .rap-update-footer nav { justify-content: flex-start; }
  .lift-availability-card { grid-template-columns: 1fr; border-radius: 18px; }
  .lift-availability-mark { width: 64px; min-height: 72px; }
  .sensory-notice-card { border-radius: 18px; }
  .sensory-notice-header { grid-template-columns: 1fr; }
  .sensory-ride-lists, .sensory-notice-evidence { grid-template-columns: 1fr; }
  .sensory-notice-footer { flex-direction: column; }
  .sensory-notice-footer nav { justify-content: flex-start; }

  .review-summary {
    width: 100%;
  }
}
