:root {
  --navy-900: #10253b;
  --navy-700: #1e3f5f;
  --teal-500: #1f9c9e;
  --teal-350: #72cbca;
  --gray-050: #f4f7f9;
  --gray-100: #e8edf2;
  --gray-600: #4b5d6d;
  --white: #ffffff;
  --success: #0f6d50;
  --danger: #b6362a;
  --radius: 18px;
  --shadow: 0 18px 34px rgba(16, 37, 59, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--navy-900);
  background: var(--gray-050);
}

img,
svg {
  max-width: 100%;
}

main {
  overflow: clip;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.2;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(9px);
  border-bottom: 1px solid rgba(16, 37, 59, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.8rem;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(145deg, var(--navy-700), var(--teal-500));
  font-size: 0.8rem;
}

.brand-text {
  font-size: clamp(0.88rem, 2.2vw, 1rem);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-toggle {
  display: inline-flex;
  border-radius: 999px;
  padding: 0.2rem;
  background: var(--gray-100);
}

.lang-btn {
  border: none;
  background: transparent;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  font-weight: 700;
  color: var(--gray-600);
  cursor: pointer;
}

.lang-btn.active {
  background: var(--white);
  color: var(--navy-900);
  box-shadow: 0 2px 8px rgba(16, 37, 59, 0.2);
}

.btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.75rem 1.1rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.94rem;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  opacity: 0.95;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(145deg, var(--navy-700), var(--teal-500));
}

.btn-secondary {
  color: var(--navy-900);
  background: var(--white);
  border-color: rgba(16, 37, 59, 0.2);
}

.hero,
.journey,
.quick-check,
.about-teaser,
.about,
.faq {
  width: min(1120px, calc(100% - 1.5rem));
  margin-inline: auto;
}

.hero {
  padding: 2.2rem 0 1.8rem;
  display: grid;
  gap: 1rem;
}

.hero-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-top-row .eyebrow {
  margin-bottom: 0;
}

.eyebrow {
  color: var(--teal-500);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.hero h1 {
  font-size: clamp(1.8rem, 6.8vw, 3.1rem);
  max-width: 15ch;
}

.hero-sub {
  margin-top: 0.85rem;
  color: var(--gray-600);
  max-width: 62ch;
}

.bullet-list {
  margin: 1rem 0 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.5rem;
}

.hero-actions {
  display: flex;
  gap: 0.65rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
}

.trust-row span {
  background: var(--white);
  border: 1px solid rgba(16, 37, 59, 0.1);
  border-radius: 999px;
  padding: 0.35rem 0.72rem;
  font-size: 0.83rem;
  color: var(--gray-600);
}

.hero-card,
.card,
.scene {
  background: var(--white);
  border: 1px solid rgba(16, 37, 59, 0.09);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 1rem;
}

.hero-card h2 {
  margin-bottom: 0.45rem;
}

.hero-card p {
  color: var(--gray-600);
}

.hero-flip-card {
  width: 100%;
  perspective: 1000px;
  cursor: pointer;
}

.hero-flip-card:focus-visible {
  outline: 3px solid rgba(31, 156, 158, 0.45);
  outline-offset: 4px;
  border-radius: 12px;
}

.hero-flip-inner {
  display: block;
  min-height: 220px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.5s ease;
}

.hero-flip-card.flipped .hero-flip-inner {
  transform: rotateY(180deg);
}

.hero-flip-face {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: start;
  gap: 0.65rem;
  border: 1px solid rgba(16, 37, 59, 0.08);
  border-radius: 12px;
  padding: 0.95rem;
  background: linear-gradient(170deg, #ffffff, #f6fbfe);
  backface-visibility: hidden;
}

.hero-flip-back {
  transform: rotateY(180deg);
}

.hero-flip-face small {
  color: var(--gray-600);
}

.btn-inline {
  width: fit-content;
  margin-top: 0.35rem;
}

.section-head {
  margin-bottom: 1rem;
}

.section-head h2 {
  font-size: clamp(1.35rem, 4.4vw, 2.2rem);
}

.section-head p {
  color: var(--gray-600);
  margin-top: 0.5rem;
}

.journey {
  display: grid;
  gap: 0.9rem;
  align-items: start;
  padding: 0.5rem 0 1.6rem;
}

.journey-progress {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.38rem;
}

.progress-track {
  height: 10px;
  border-radius: 999px;
  background: rgba(16, 37, 59, 0.1);
  overflow: hidden;
}

.progress-track span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(145deg, var(--teal-500), var(--teal-350));
  transition: width 0.25s ease;
}

.journey-scenes {
  display: grid;
  gap: 1rem;
  scroll-snap-type: y proximity;
}

.scene {
  min-height: min(74vh, 620px);
  padding: clamp(1rem, 3.2vw, 1.5rem);
  display: grid;
  align-content: center;
  gap: 0.85rem;
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
}

.scene-step {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--teal-500);
  letter-spacing: 0.04em;
}

.scene h3 {
  font-size: clamp(1.35rem, 4vw, 2rem);
}

.scene p {
  color: var(--gray-600);
  max-width: 56ch;
}

.scene label {
  margin-top: 0.6rem;
  display: inline-flex;
  gap: 0.6rem;
  align-items: flex-start;
  background: rgba(244, 247, 249, 0.9);
  border: 1px solid rgba(16, 37, 59, 0.1);
  border-radius: 12px;
  padding: 0.65rem;
}

.scene input {
  margin-top: 0.15rem;
}

.quick-check {
  padding: 1.5rem 0 2rem;
}

.about-teaser,
.about,
.faq {
  margin-top: 1rem;
}

.about-teaser {
  display: grid;
  gap: 0.8rem;
  align-items: center;
  margin-bottom: 1rem;
}

.about-teaser-copy p {
  color: var(--gray-600);
}

.about-teaser-actions,
.section-cta-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.about .section-cta-row,
.faq .section-cta-row {
  margin-top: 1rem;
}

.about {
  padding: clamp(1rem, 2.8vw, 1.5rem);
}

.about-grid {
  display: grid;
  gap: 0.7rem;
}

.about-grid p {
  color: var(--gray-600);
}

.about-process-title {
  font-weight: 700;
}

.about-points {
  margin: 0.9rem 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.45rem;
}

.about-close {
  margin-top: 0.9rem;
  color: var(--gray-600);
}

.faq {
  padding: clamp(1rem, 2.8vw, 1.5rem);
}

.faq-list {
  display: grid;
  gap: 0.55rem;
}

.faq-list details {
  border: 1px solid rgba(16, 37, 59, 0.14);
  border-radius: 12px;
  background: #fbfeff;
  padding: 0.75rem 0.85rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 320ms ease, opacity 220ms ease;
}

.faq-answer-inner {
  padding-top: 0.6rem;
}

.faq-answer-inner p {
  margin-top: 0.6rem;
  color: var(--gray-600);
}

.faq-answer-inner p:first-child {
  margin-top: 0;
}

.faq-answer-inner ul {
  margin: 0.55rem 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.35rem;
  color: var(--gray-600);
}

.card {
  padding: clamp(1rem, 2.8vw, 1.5rem);
}

.wizard {
  min-height: clamp(360px, 52vh, 560px);
  display: grid;
  grid-template-rows: auto auto auto auto;
  align-content: start;
  gap: 0.5rem;
}

.wizard-top {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 0.2rem;
}

#wizard-step {
  font-weight: 700;
  color: var(--gray-600);
}

.wizard-body {
  padding-block: 0.35rem 0.55rem;
  display: block;
  min-height: 210px;
}

.wizard-body h3 {
  font-size: clamp(1.24rem, 3.6vw, 1.9rem);
  margin-bottom: 0.8rem;
}

.wizard-body p {
  color: var(--gray-600);
}

.wizard-pane {
  display: grid;
  gap: 0.85rem;
  animation: wizardPaneIn 0.22s ease;
}

.wizard-body input,
.wizard-body select,
.wizard-body textarea {
  width: 100%;
  border: 1px solid rgba(16, 37, 59, 0.24);
  border-radius: 14px;
  background: var(--white);
  padding: 0.85rem 0.95rem;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.wizard-body input:focus,
.wizard-body select:focus,
.wizard-body textarea:focus {
  border-color: rgba(30, 63, 95, 0.6);
  box-shadow: 0 0 0 4px rgba(114, 203, 202, 0.22);
  outline: 0;
  transform: translateY(-1px);
}

.choice-grid {
  display: grid;
  gap: 0.65rem;
}

.choice-grid label {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  border: 1px solid rgba(16, 37, 59, 0.14);
  border-radius: 14px;
  padding: 0.78rem 0.82rem;
  background: #fcfeff;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.choice-grid label:hover {
  border-color: rgba(16, 37, 59, 0.26);
  transform: translateY(-1px);
}

.choice-grid label:has(input:checked) {
  border-color: rgba(24, 96, 129, 0.55);
  background: #edf7fb;
  box-shadow: 0 8px 16px rgba(16, 37, 59, 0.08);
}

.choice-grid input {
  width: auto;
  margin-top: 0.18rem;
}

.wizard-actions,
.result-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.2rem;
}

.error {
  margin-top: 0.55rem;
  min-height: 1.2rem;
  color: var(--danger);
  font-size: 0.88rem;
}

.helper {
  color: var(--gray-600);
  font-size: 0.9rem;
}

@keyframes wizardPaneIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.upload-form {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.75rem;
}

.upload-form label {
  display: grid;
  gap: 0.4rem;
}

.site-footer {
  margin-top: 1.5rem;
  padding: 1.35rem 1rem 2rem;
  background: linear-gradient(160deg, var(--navy-900), #132e48);
  color: #e8f3f8;
  border-top: 1px solid rgba(16, 37, 59, 0.2);
}

.site-footer nav {
  margin-top: 0.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer a {
  color: #cfeaf1;
}

.hidden {
  display: none !important;
}

@media (max-width: 520px) {
  .hero {
    padding: 1rem 0 1.2rem;
    gap: 0.7rem;
  }

  .site-header {
    flex-wrap: wrap;
  }

  .header-right {
    width: 100%;
    justify-content: space-between;
  }

  .header-right .btn {
    flex: 1;
    text-align: center;
  }

  .hero-top-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }

  .trust-row {
    justify-content: flex-start;
  }

  .hero h1 {
    margin-top: 0.45rem;
  }

  .hero-card {
    display: none;
  }

  .about-teaser-actions .btn,
  .section-cta-row .btn {
    width: 100%;
    text-align: center;
  }
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }

  .journey {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 1.2rem;
  }

  .sticky-head {
    position: sticky;
    top: 5.7rem;
  }

  .about-teaser {
    grid-template-columns: 1.3fr 0.7fr;
  }
}
/* Advanced scrollytelling overrides */
.journey {
  padding-bottom: 2.4rem;
}

.journey-scenes {
  gap: 0;
}

.scene {
  min-height: 86vh;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  overflow: visible;
  display: block;
  align-content: normal;
}

.scene:first-child {
  min-height: 86vh;
}

.scene-inner {
  position: sticky;
  top: 5.8rem;
  min-height: 0;
  padding: clamp(1rem, 3vw, 1.45rem);
  border-radius: var(--radius);
  background: linear-gradient(170deg, #ffffff, #f7fbfd);
  border: 1px solid rgba(16, 37, 59, 0.08);
  box-shadow: 0 20px 34px rgba(16, 37, 59, 0.11);
  transform: translateY(26px) scale(0.985);
  opacity: 0.2;
  transition: transform 0.55s ease, opacity 0.55s ease;
}

.scene.active .scene-inner {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.scene [data-depth="1"] {
  transform: translateY(calc(var(--parallax, 0) * -18px));
  transition: transform 0.25s linear;
}

.scene [data-depth="2"] {
  transform: translateY(calc(var(--parallax, 0) * -34px));
  transition: transform 0.25s linear;
}

.scene-visual-wrap {
  margin-top: 0.85rem;
}

.scene label.scene-check {
  margin-top: 0.9rem;
  display: flex;
  gap: 0.6rem;
  align-items: center;
  background: #f3f7fb;
  border: 1px solid rgba(16, 37, 59, 0.1);
  border-radius: 12px;
  padding: 0.7rem;
}

.scene label.scene-check input {
  width: 20px;
  height: 20px;
  margin-top: 0;
  flex: 0 0 auto;
}

.scene-check.fly-out {
  animation: checkFly 0.35s ease;
}

@keyframes checkFly {
  0% { transform: translateX(0); opacity: 1; }
  100% { transform: translateX(32px); opacity: 0.55; }
}

.scene-interact {
  pointer-events: none;
  filter: saturate(0.8);
}

.scene.active .scene-interact {
  pointer-events: auto;
  filter: saturate(1);
}

.credit-cards {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.flip-box {
  background: transparent;
  border: 0;
  width: 100%;
  padding: 0;
  perspective: 900px;
}

.flip-inner {
  display: block;
  width: 100%;
  min-height: 238px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.5s ease;
}

.flip-box.flipped .flip-inner {
  transform: rotateY(180deg);
}

.flip-face {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  backface-visibility: hidden;
  border: 1px solid rgba(16, 37, 59, 0.1);
  background: #ffffff;
  padding: 0.65rem;
  overflow: hidden;
}

.flip-front {
  display: grid;
  gap: 0.18rem;
  align-content: start;
  text-align: center;
  grid-template-rows: auto auto auto;
}

.flip-front small {
  color: var(--gray-600);
}

.card-photo-frame {
  display: block;
  width: 100%;
  max-width: 240px;
  margin-inline: auto;
  aspect-ratio: 16 / 11;
  border-radius: 10px;
  overflow: hidden;
  border: 0;
  background: #f4f8fb;
  margin-bottom: 0.2rem;
}

.flip-front strong {
  line-height: 1.2;
  margin-top: 0.1rem;
}

.flip-front small {
  line-height: 1.1;
}

.card-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.flip-back {
  transform: rotateY(180deg);
  display: grid;
  place-items: center;
  text-align: center;
  line-height: 1.45;
  font-weight: 600;
  color: var(--navy-900);
  background: linear-gradient(145deg, #e7f7f8, #f5fbff);
}

.bank-scene {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: 1fr;
}

.bank-illustration svg,
.injury-scene svg {
  width: 100%;
}

.bank-illustration {
  width: 100%;
}

.img-scene {
  position: relative;
}

.scene-photo {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  border: 1px solid rgba(16, 37, 59, 0.12);
  display: block;
}

.photo-bank {
  object-position: 50% 50%;
}

.photo-injury {
  object-position: 50% 50%;
}

.photo-denied {
  object-position: 52% 50%;
}

.tick-fx {
  display: none;
  position: absolute;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 3px solid rgba(16, 132, 123, 0.85);
  background: rgba(31, 156, 158, 0.08);
  box-shadow: 0 8px 20px rgba(16, 37, 59, 0.16);
  right: 24%;
  top: 44%;
  opacity: 0;
  transform: scale(0.74) rotate(-8deg);
}

.tick-fx::before,
.tick-fx::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  height: 4px;
  border-radius: 999px;
  background: #0f7b71;
  opacity: 0;
  transform-origin: left center;
}

.tick-fx::before {
  width: 16px;
  margin-top: 9px;
  margin-left: -12px;
  transform: rotate(43deg) scaleX(0.2);
}

.tick-fx::after {
  width: 30px;
  margin-top: 5px;
  margin-left: -1px;
  transform: rotate(-46deg) scaleX(0.2);
}

.bank-scene.force-anim .tick-fx {
  animation: none;
  opacity: 1;
  transform: scale(1) rotate(-8deg);
}

.bank-scene.force-anim .tick-fx::before {
  animation: none;
  opacity: 1;
  transform: rotate(43deg) scaleX(1);
}

.bank-scene.force-anim .tick-fx::after {
  animation: none;
  opacity: 1;
  transform: rotate(-46deg) scaleX(1);
}

@keyframes tickBadgeIn {
  0% { opacity: 0; transform: scale(0.74) rotate(-10deg); }
  38% { opacity: 1; transform: scale(1.08) rotate(-8deg); }
  56% { opacity: 1; transform: scale(0.97) rotate(-8deg); }
  100% { opacity: 0; transform: scale(1) rotate(-8deg); }
}

@keyframes tickStrokeShort {
  0% { opacity: 0; transform: rotate(43deg) scaleX(0.2); }
  100% { opacity: 1; transform: rotate(43deg) scaleX(1); }
}

@keyframes tickStrokeLong {
  0% { opacity: 0; transform: rotate(-46deg) scaleX(0.2); }
  100% { opacity: 1; transform: rotate(-46deg) scaleX(1); }
}

.bank-zoom-art .choice-yes circle {
  transition: fill 0.25s ease, stroke 0.25s ease;
}

.bank-scene.force-anim .bank-zoom-art .assistant-arm {
  animation: assistantNudge 0.75s ease forwards;
}

.bank-scene.force-anim .bank-zoom-art .pen-tip {
  animation: penNudge 0.75s ease forwards;
}

.bank-scene.force-anim .bank-zoom-art .choice-yes circle {
  fill: #d8f4ef;
  stroke: #1f9c9e;
}

.yes-no-card {
  border: 1px solid rgba(16, 37, 59, 0.12);
  border-radius: 12px;
  padding: 0.75rem;
  background: #ffffff;
}

.yes-no-buttons {
  margin-top: 0.4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  position: relative;
}

.choice-btn {
  border-radius: 10px;
  border: 1px solid rgba(16, 37, 59, 0.2);
  background: #fff;
  padding: 0.55rem;
  font-weight: 800;
}

.choice-btn.selected {
  color: #fff;
  border-color: #275778;
  background: linear-gradient(145deg, #275778, #1e9a9b);
}

.push-hand {
  position: absolute;
  width: 34px;
  height: 22px;
  border-radius: 14px;
  background: #ffd6b8;
  left: 20%;
  top: -4px;
  box-shadow: 0 2px 8px rgba(16, 37, 59, 0.2);
}

.bank-scene.force-anim .push-hand {
  animation: pushYes 0.75s ease;
}

@keyframes pushYes {
  0% { transform: translateX(0); }
  65% { transform: translateX(165%); }
  100% { transform: translateX(165%); }
}

@keyframes assistantNudge {
  0% { transform: translateX(0); }
  65% { transform: translateX(-20px); }
  100% { transform: translateX(-18px); }
}

@keyframes penNudge {
  0% { transform: translateX(0); }
  65% { transform: translateX(78px); }
  100% { transform: translateX(76px); }
}

.statement-table {
  position: relative;
  padding: 0.5rem 0.4rem 0.85rem;
}

.table-top {
  height: 16px;
  border-radius: 8px;
  background: linear-gradient(90deg, #d3e4ee, #bfd6e3);
  border: 1px solid #9cb9ca;
}

.statement-paper {
  border: 1px solid rgba(16, 37, 59, 0.12);
  border-radius: 12px;
  padding: 0.75rem;
  background: #fff;
  margin-top: 0.45rem;
  box-shadow: 0 8px 16px rgba(16, 37, 59, 0.08);
}

.statement-head {
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.statement-paper ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.statement-paper li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  column-gap: 0.75rem;
  border-bottom: 1px dashed rgba(16, 37, 59, 0.15);
  padding-bottom: 0.3rem;
}

.statement-paper li strong {
  justify-self: end;
}

.mini-btn {
  margin-top: 0.65rem;
  border: 1px solid rgba(16, 37, 59, 0.2);
  border-radius: 10px;
  background: #fff;
  padding: 0.45rem 0.7rem;
  font-weight: 700;
}

.injury-scene {
  border: 1px solid rgba(16, 37, 59, 0.12);
  border-radius: 12px;
  padding: 0.6rem;
  background: #fff;
}

.injury-note {
  color: var(--gray-600);
  margin-top: 0.4rem;
}

.injury-scene.injury-live {
  animation: bump 1.4s ease-in-out infinite;
}

@keyframes bump {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.denied-scene {
  border: 1px solid rgba(16, 37, 59, 0.12);
  border-radius: 12px;
  padding: 0.75rem;
  background: #fff;
}

.denied-letter {
  position: relative;
  border: 1px dashed rgba(16, 37, 59, 0.2);
  border-radius: 10px;
  padding: 0.8rem;
  margin-top: 0.45rem;
  background: #fff;
}

.stamp {
  display: none;
  position: absolute;
  right: 10px;
  top: 8px;
  color: #b6362a;
  border: 3px solid #b6362a;
  border-radius: 6px;
  padding: 0.2rem 0.4rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translateY(-24px) rotate(-14deg) scale(0.72);
  filter: blur(1px);
  box-shadow: 0 0 0 rgba(182, 54, 42, 0);
}

.stamp::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 2px solid rgba(182, 54, 42, 0.32);
  border-radius: 10px;
  opacity: 0;
  transform: scale(0.84);
}

.denied-scene.denied-on .stamp {
  animation: none;
  opacity: 1;
  transform: translateY(0) rotate(-11deg) scale(1);
  filter: blur(0);
  box-shadow: 0 2px 6px rgba(182, 54, 42, 0.18);
}

.denied-scene.denied-on .stamp::after {
  animation: none;
  opacity: 0;
}

@keyframes stampDrop {
  0% { opacity: 0; transform: translateY(-24px) rotate(-14deg) scale(0.72); filter: blur(1px); box-shadow: 0 0 0 rgba(182, 54, 42, 0); }
  48% { opacity: 1; transform: translateY(4px) rotate(-11deg) scale(1.07); filter: blur(0); box-shadow: 0 10px 20px rgba(182, 54, 42, 0.26); }
  70% { opacity: 1; transform: translateY(-1px) rotate(-11deg) scale(0.97); box-shadow: 0 4px 10px rgba(182, 54, 42, 0.2); }
  100% { opacity: 1; transform: translateY(0) rotate(-11deg) scale(1); filter: blur(0); box-shadow: 0 2px 6px rgba(182, 54, 42, 0.18); }
}

@keyframes inkBloom {
  0% { opacity: 0; transform: scale(0.84); }
  70% { opacity: 0.55; transform: scale(1.05); }
  100% { opacity: 0; transform: scale(1.14); }
}

@media (min-width: 700px) {
  .flip-face {
    min-height: 0;
  }
}
