/* Responsive overrides theo đúng thứ tự cascade cũ. */

@media (min-width: 641px) {
  .site-footer-links {
    display: none;
  }
}

@media (min-width: 961px) {
  .site-footer-card {
  padding: 30px 36px 32px;
      border-radius: 34px;
  }

  .site-footer-top {
  gap: 32px;
      padding-bottom: 26px;
  }

  .site-footer-brand {
  gap: 20px;
  }

  .site-footer-logo {
  width: 76px;
      height: 76px;
  }

  .site-footer-brand strong {
  font-size: clamp(27px, 2.1vw, 34px);
  }

  .site-footer-brand strong,
  .site-footer-brand p:last-child {
  white-space: nowrap;
  }

  .site-footer-bottom {
  grid-template-columns: minmax(0, 1fr);
      grid-template-rows: auto auto;
      row-gap: 12px;
      align-items: center;
      justify-items: center;
      padding-top: 24px;
  }

  .site-footer-links {
  grid-column: 1;
      grid-row: 1 / span 2;
      align-self: center;
      max-width: 660px;
      gap: 12px;
  }

  .site-footer-links a {
  padding: 11px 16px;
  }

  .site-footer-contact {
  grid-column: 1;
      grid-row: 1;
      justify-content: center;
      justify-self: center;
  }

  .site-footer-contact-link {
  min-height: 58px;
      padding: 9px 14px 9px 10px;
  }

  .site-footer-contact-link:first-child {
  min-width: 270px;
  }

  .site-footer-contact-link:last-child {
  min-width: 220px;
  }

  .site-footer-contact-icon {
  width: 40px;
      height: 40px;
      border-radius: 13px;
  }

  .site-footer-contact-copy strong {
  font-size: 14px;
  }

  .site-footer-legal-actions {
  grid-column: 1;
      grid-row: 2;
      justify-self: center;
      justify-content: center;
  }

  .site-footer-legal-actions .site-footer-support-trigger {
  justify-self: auto;
  }

  .hero-copy {
  grid-template-rows: auto auto minmax(0, 1fr);
  }

  .hero-support {
  display: grid;
      grid-template-rows: auto auto auto;
      align-content: space-evenly;
      gap: 16px;
      min-height: 0;
  }

  .hero-panel {
  gap: 24px;
  }

  .hero-copy {
  gap: 16px;
  }

  .hero-copy h1 {
  font-size: clamp(40px, 4.6vw, 56px);
      line-height: 1.22;
  }

  .hero-description {
  font-size: 16px;
      line-height: 1.55;
  }

  .hero-primary-link,
  .hero-secondary-link {
  min-height: 46px;
  }

  .hero-highlights {
  gap: 8px 18px;
  }

  .hero-highlights li {
  font-size: 13px;
  }

  .hero-card {
  gap: 12px;
      padding: 18px 20px;
      border-radius: 26px;
  }

  .hero-card-top {
  grid-template-columns: 52px minmax(0, 1fr);
      gap: 12px;
      padding-bottom: 12px;
  }

  .hero-card-logo {
  width: 52px;
      height: 52px;
  }

  .hero-card-top h2 {
  font-size: clamp(21px, 2vw, 24px);
  }

  .hero-lookup-form {
  gap: 11px;
  }

  .hero-lookup-form label,
  .hero-birth-grid label {
  gap: 6px;
  }

  .hero-lookup-form input {
  padding: 11px 13px;
  }

  .hero-name-field input {
  font-size: 16px;
  }

  .hero-birth-grid input {
  font-size: 18px;
  }

  .hero-submit-button {
  min-height: 48px;
      border-radius: 16px;
  }

  .hero-note {
  padding: 11px 14px;
      border-radius: 16px;
      font-size: 13px;
      line-height: 1.4;
  }

  .hero-preview-badge {
  gap: 14px;
      padding: 12px 14px;
      border-radius: 18px;
  }

  .hero-preview-caption {
  font-size: 13px;
      line-height: 1.4;
  }

  .hero-preview-values {
  gap: 20px;
  }

  .hero-preview-slot {
  min-height: 48px;
      font-size: 24px;
  }
}

@media (max-width: 960px) {
  .site-header {
  width: min(var(--public-shell-max-width), calc(100% - 24px));
  }

  .site-footer {
  width: min(var(--public-shell-max-width), calc(100% - var(--public-shell-inline-inset)));
  }

  .hero-panel,
  .insight-layout,
  .site-footer {
  grid-template-columns: 1fr;
  }

  .site-footer {
  display: grid;
      justify-content: stretch;
  }

  .site-nav .nav-label-full {
  display: none;
  }

  .site-nav .nav-label-compact {
  display: inline;
  }

  .site-footer-links {
  order: 1;
      justify-content: flex-start;
  }

  .site-footer-contact {
  grid-column: auto;
      grid-row: auto;
      order: 2;
      justify-content: flex-start;
  }

  .site-footer-legal-actions {
  grid-column: auto;
      grid-row: auto;
      order: 3;
      justify-self: start;
      justify-content: flex-start;
  }

  .hero-card {
  width: min(720px, 100%);
      justify-self: center;
  }

  .site-footer-top,
  .site-footer-bottom {
  display: grid;
      grid-template-columns: 1fr;
      justify-content: stretch;
  }

  .number-focus-banner {
  grid-template-columns: minmax(0, 1fr) clamp(155px, 24vw, 195px);
      gap: 18px;
  }

  .hero-preview-badge {
  grid-template-columns: 1fr;
  }

  .numbers-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-copy h1 {
  max-width: 12ch;
  }
}

@media (max-width: 640px) {
  body.public-home {
  font-family: "Be Vietnam Pro", system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
      font-size: 15px;
      text-rendering: optimizeLegibility;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
  }

  body.public-home {
  background:
        radial-gradient(circle at 12% 8%, rgba(212, 163, 63, 0.16), transparent 22%),
        radial-gradient(circle at 88% 10%, rgba(70, 103, 202, 0.14), transparent 20%),
        linear-gradient(180deg, #07111f 0, #0a1428 1360px, #f5f7fc 1360px, #f5f7fc 100%);
  }

  .site-header {
  width: calc(100% - var(--public-shell-inline-inset));
      grid-template-columns: minmax(0, 1fr);
      margin-top: 12px;
      gap: 12px;
      padding: 12px var(--mobile-content-gutter);
      border-radius: 24px;
  }

  .site-brand-logo {
  width: 42px;
      height: 42px;
  }

  .site-brand {
  gap: 10px;
      width: 100%;
  }

  .site-brand-copy {
  min-width: 0;
      gap: 5px;
  }

  .site-brand-copy strong {
  font-size: 15px;
      line-height: 1.2;
  }

  .site-brand-copy small {
  font-size: 11px;
      line-height: 1.4;
  }

  .site-nav {
  display: grid;
      grid-column: 1 / -1;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 6px;
      width: 100%;
      margin: 2px 0 0;
      padding: 2px 0 0;
      overflow: visible;
  }

  .site-nav a {
  display: flex;
      align-items: center;
      justify-content: center;
      min-height: 48px;
      padding: 8px 3px;
      font-size: clamp(10.5px, 3.2vw, 12px);
      line-height: 1.2;
      white-space: normal;
      text-align: center;
  }

  .site-nav .site-nav-login {
  min-height: 48px;
      padding-block: 6px;
      align-self: center;
  }

  .nav-label-full {
  display: none;
  }

  .nav-label-compact {
  display: inline;
  }

  body.public-home .app-shell {
  padding: 0 var(--public-page-gutter);
  }

  .landing-shell {
  padding-top: var(--public-section-gap);
  }

  .hero-panel,
  .content-section,
  body.public-home .auth-panel,
  body.public-home .dashboard-panel {
  padding: var(--mobile-content-gutter);
      border-radius: 24px;
  }

  .report-form-section {
  --report-section-gutter: 14px;
      width: 100%;
      padding: 18px var(--report-section-gutter);
  }

  #generate-button {
  flex-direction: column;
  }

  .tuvi-form-section:not(.is-expanded) {
  padding-block: 8px;
  }

  .generator-form .tuvi-section-toggle {
  gap: 7px;
      font-size: 17px;
  }

  .generator-form .tuvi-section-toggle > .tuvi-optional-badge {
  display: none;
  }

  .field-cache-control,
  .generator-form .field-cache-toggle,
  .generator-form .field-cache-toggle > span {
  font-size: 10.5px;
  }

  .generator-form .field-title {
  gap: 7px;
  }

  .numerology-form-grid,
  .tuvi-form-grid {
  grid-template-columns: minmax(0, 1fr);
      gap: 16px;
  }

  .tuvi-choice-row {
  align-items: flex-start;
      gap: 8px;
  }

  .tuvi-choice-row > span {
  flex-basis: 100%;
  }

  .generator-form .tuvi-choice-row > label {
  padding-inline: 12px;
  }

  .generator-form .tuvi-choice-row[aria-labelledby="birth-time-mode-label"] > label {
  flex: 1 1 100%;
  }

  .site-header.is-stuck {
  border-radius: 0 0 24px 24px;
  }

  .hero-panel {
  gap: 30px;
  }

  .hero-copy {
  align-content: start;
      gap: 0;
  }

  .hero-kicker {
  order: 1;
      margin-bottom: 18px;
  }

  .hero-copy h1 {
  order: 2;
      max-width: none;
      font-size: clamp(34px, 9.5vw, 42px);
      line-height: 1.28;
      text-wrap: balance;
  }

  .hero-description {
  order: 3;
      margin-top: 18px;
      font-size: 15px;
      line-height: 1.65;
  }

  .hero-actions {
  order: 5;
      display: grid;
      grid-template-columns: 1fr;
      align-items: stretch;
      gap: 10px;
  }

  .hero-primary-link,
  .hero-secondary-link {
  width: 100%;
      min-height: 54px;
      padding: 0 14px;
      text-align: center;
      white-space: normal;
  }

  .hero-primary-link {
  box-shadow: 0 16px 34px rgba(212, 163, 63, 0.3);
  }

  .hero-secondary-link {
  min-height: 48px;
      border-color: rgba(255, 255, 255, 0.12);
      background: transparent;
  }

  .hero-highlights {
  order: 4;
      display: grid;
      gap: 10px;
      justify-items: center;
      margin: 20px 0 22px;
      padding: 16px 0;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero-highlights li {
  display: flex;
      align-items: flex-start;
      justify-content: center;
      gap: 8px;
      width: 100%;
      font-size: 12px;
      line-height: 1.45;
      text-align: center;
  }

  .hero-highlights li::before {
  font-size: 15px;
  }

  .numbers-section {
  padding: 26px 24px;
  }

  .numbers-section .section-heading {
  --heading-kicker-gap: 8px;
      --heading-description-gap: 12px;
      margin-bottom: 30px;
  }

  .numbers-section .section-heading .eyebrow {
  font-size: 11px;
      letter-spacing: 0.035em;
  }

  .numbers-section .section-heading h2 {
  font-size: clamp(24px, 7vw, 28px);
      line-height: 1.3;
      letter-spacing: -0.02em;
  }

  .numbers-section .section-heading p:last-child {
  font-size: 14px;
      line-height: 1.72;
      text-wrap: pretty;
  }

  .insight-copy {
  display: none;
  }

  .hero-card {
  width: 100%;
      min-width: 0;
      padding: 20px;
      border-radius: 24px;
  }

  .hero-lookup-form {
  gap: 14px;
  }

  .hero-birth-grid {
  display: none;
  }

  .hero-birth-single {
  display: grid !important;
  }

  .hero-birth-single input {
  text-align: left;
      font-size: 16px;
      font-weight: 600;
      letter-spacing: 0;
      background: #ffffff;
  }

  .hero-card-top {
  grid-template-columns: 60px minmax(0, 1fr);
      align-items: center;
      gap: 14px;
      padding-bottom: 14px;
  }

  .hero-card-logo {
  width: 60px;
      height: 60px;
      margin-top: 0;
      padding: 0;
      border-radius: 999px;
      box-shadow:
        0 16px 34px rgba(21, 33, 61, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.96);
  }

  .hero-card-top h2 {
  font-size: clamp(21px, 6.2vw, 26px);
      line-height: 1.28;
  }

  .hero-card-top .eyebrow {
  font-size: 11px;
  }

  .hero-birth-grid {
  grid-template-columns: 1fr;
  }

  .numbers-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
  }

  .number-focus-banner {
  grid-template-columns: minmax(0, 1fr) clamp(112px, 34vw, 145px);
      gap: 12px;
      align-items: start;
      padding: 14px;
      border-radius: 20px;
  }

  .number-focus-copy {
  gap: 5px;
  }

  .number-focus-kicker {
  font-size: 10px;
  }

  .number-focus-value {
  font-size: 36px;
  }

  .number-focus-text {
  font-size: 13px;
      line-height: 1.55;
  }

  .number-focus-visual {
  border-radius: 16px;
  }

  .hero-preview-row {
  grid-template-columns: minmax(56px, 1fr) auto minmax(56px, 1fr);
  }

  .hero-preview-values {
  gap: 22px;
  }

  .insight-section .section-heading {
  --heading-kicker-gap: 6px;
      --heading-description-gap: 8px;
      margin-bottom: 18px;
  }

  .insight-section .section-heading h2 {
  font-size: clamp(24px, 7.1vw, 28px);
      line-height: 1.3;
      letter-spacing: -0.025em;
  }

  .insight-accordion {
  gap: 10px;
  }

  .insight-item {
  border-radius: 18px;
  }

  .insight-item summary {
  gap: 12px;
      min-height: 76px;
      padding: 14px 16px;
      font-size: clamp(14px, 4.2vw, 16px);
  }

  .insight-toggle-icon {
  width: 30px;
      height: 30px;
      flex-basis: 30px;
      border-radius: 10px;
      font-size: 21px;
  }

  .insight-title-mobile-hidden {
  display: none;
  }

  .insight-symbol {
  width: 42px;
      height: 42px;
      border-radius: 14px;
      font-size: 17px;
  }

  .insight-item p {
  padding: 0 16px 16px 70px;
      font-size: 13px;
      line-height: 1.55;
  }

  .hero-preview-slot {
  min-height: 50px;
      font-size: 24px;
  }

  .number-card {
  align-content: start;
      gap: 14px;
      min-height: 198px;
      padding: 16px;
      border-radius: 20px;
  }

  .number-card strong {
  padding-right: 42px;
      font-size: 36px;
  }

  .number-card p {
  font-size: 13px;
      line-height: 1.52;
  }

  .number-card-icon {
  top: 14px;
      right: 14px;
      width: 40px;
      height: 40px;
      border-radius: 14px;
      font-size: 18px;
  }

  .number-card.is-active::after {
  border-radius: 20px;
  }

  .site-footer {
  width: calc(100% - var(--public-shell-inline-inset));
      padding-top: var(--public-section-gap);
  }

  .site-footer-card {
  padding: 18px 14px;
      border-radius: 24px;
  }

  .site-footer-brand {
  --footer-mobile-logo-size: clamp(48px, 14.35vw, 56px);
      display: grid;
      grid-template-columns: var(--footer-mobile-logo-size) minmax(0, 1fr);
      align-items: center;
      gap: clamp(10px, 3vw, 12px);
  }

  .site-footer-brand > div {
      width: 100%;
      max-width: none;
  }

  .site-footer-logo {
      width: var(--footer-mobile-logo-size);
      height: var(--footer-mobile-logo-size);
  }

  .site-footer-brand p:last-child {
  display: none;
  }

  .site-footer-brand strong {
  font-size: clamp(16px, 5.15vw, 21px);
      line-height: 1.32;
  }

  .report-form-section {
  --form-section-divider-space: 14px;
  }

  .site-footer-links {
  display: grid;
      width: 100%;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
      justify-items: stretch;
  }

  .site-footer-links a {
      display: flex;
      min-width: 0;
      min-height: 42px;
      align-items: center;
      justify-content: center;
      padding: 8px 7px;
      font-size: 12px;
      line-height: 1.35;
      text-align: center;
  }

  .site-footer-contact {
  display: grid;
      width: 100%;
      max-width: 260px;
      grid-template-columns: minmax(0, 1fr);
      gap: 8px;
  }

  .site-footer-contact-link {
      width: 100%;
      min-height: 50px;
      padding: 7px 10px 7px 8px;
      border-radius: 15px;
  }

  .site-footer-contact-icon {
      width: 32px;
      height: 32px;
      border-radius: 10px;
  }

  .site-footer-contact-copy strong {
      font-size: 12.5px;
  }

  .site-footer-contact,
  .site-footer-legal-actions {
      justify-self: end;
  }

  .site-footer-support-trigger {
      min-height: 40px;
      padding: 8px 4px;
      font-size: 13px;
      text-align: left;
      white-space: normal;
  }

  .site-footer-legal-actions {
  display: grid;
      width: 100%;
      max-width: 260px;
      grid-template-columns: minmax(0, 1fr);
      gap: 2px;
      justify-items: end;
  }

  .site-footer-legal-actions .site-footer-support-trigger {
      justify-self: end;
      text-align: right;
  }

  .support-modal {
  align-items: end;
      padding: 0;
  }

  .support-dialog {
  width: 100%;
      height: min(92dvh, 820px);
      max-height: min(92dvh, 820px);
      border-radius: 24px 24px 0 0;
  }

  .support-dialog-header {
  padding: 22px 20px 18px;
  }

  .support-dialog-header h2 {
  font-size: 27px;
  }

  .support-form {
  padding: 0;
  }

  .support-form-scroll {
  gap: 16px;
      padding: 20px;
      scrollbar-gutter: auto;
  }

  .support-form textarea {
  min-height: 76px;
  }

  .support-field-grid,
  .support-detail-fields.is-payment,
  .support-payment-fields {
  grid-template-columns: minmax(0, 1fr);
  }

  .support-actions {
  display: grid;
      grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
      margin: 0;
      padding: 12px 20px max(14px, env(safe-area-inset-bottom));
      background: #ffffff;
      box-shadow: 0 -10px 24px rgba(21, 33, 61, 0.08);
  }

  .support-actions button {
  width: 100%;
      min-width: 0;
      padding-inline: 10px;
  }

  .auth-grid,
  .auth-choice,
  .plans-grid,
  .payment-box {
  grid-template-columns: 1fr;
  }

  .auth-choice {
  gap: 14px;
  }

  .auth-choice-card {
  grid-template-columns: 50px minmax(0, 1fr);
      gap: 16px;
      min-height: 132px;
      padding: 20px;
      border-radius: 20px;
  }

  .auth-choice-icon {
  width: 50px;
      height: 50px;
      border-radius: 17px;
  }

  .auth-choice-icon svg {
  width: 24px;
      height: 24px;
  }

  .auth-choice-copy {
  gap: 6px;
  }

  .auth-choice-copy > span {
  font-size: clamp(19px, 5.6vw, 22px);
  }

  .auth-choice-copy small {
  font-size: 14px;
      line-height: 1.45;
  }

  .tab-nav {
  grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 4px;
      padding: 4px;
      border-radius: 15px;
  }

  .tab-button {
  min-height: 42px;
      padding-inline: 6px;
      border-radius: 11px;
      font-size: 11.5px;
      line-height: 1.25;
      white-space: normal;
  }

  .history-table-panel {
      border-radius: 14px;
  }

  .history-table-header {
      padding: 14px 16px;
  }

  .history-table-title {
      padding: 0;
      font-size: 16px;
  }

  .history-title-icon {
      width: 30px;
      height: 30px;
      flex-basis: 30px;
  }

  .history-table th,
  .history-table td {
      padding: 12px 14px;
  }

  .history-payment-table {
      min-width: 1080px;
  }

  .history-report-table {
      min-width: 1660px;
  }

  .history-pagination {
      gap: 7px;
      padding: 12px;
  }

  .history-retry:not([hidden]) {
      flex-basis: 100%;
  }

  .history-page-list {
      gap: 5px;
  }

  .history-page-number {
      width: 32px;
      height: 32px;
  }

  #dashboard-view > .brand-row .heading-stack > h1 {
  font-size: clamp(16px, 5.6vw, 24px);
      line-height: 1.2;
      white-space: nowrap;
  }

  .status-pill {
  width: fit-content;
  }

  .dashboard-account-meta {
  width: 100%;
      justify-self: stretch;
      grid-template-areas:
        "notification welcome refresh logout"
        "notification credits refresh logout";
      grid-template-columns:
        var(--dashboard-account-action-size)
        minmax(0, 1fr)
        var(--dashboard-account-action-size)
        auto;
      grid-template-rows: auto auto;
      justify-content: stretch;
      column-gap: 8px;
      row-gap: 0;
      padding: 10px 0 0;
      border-top: 0;
  }

  .notification-center {
  grid-area: notification;
      align-self: center;
  }

  .welcome-pill {
  grid-area: welcome;
      align-self: end;
      max-width: none;
      text-align: left;
  }

  .dashboard-account-meta .status-pill {
  grid-area: credits;
      width: auto;
      min-height: 0;
      align-self: start;
      justify-self: start;
      padding: 1px 0 0;
      border: 0;
      border-radius: 0;
      background: transparent;
      font-size: 11.5px;
      line-height: 1.3;
  }

  .account-refresh-button {
  grid-area: refresh;
      align-self: center;
  }

  .dashboard-account-meta .dashboard-logout-button {
  grid-area: logout;
      align-self: center;
      padding: 0 2px 0 10px;
      white-space: nowrap;
  }

  @media (hover: none) {
    .account-refresh-button:hover:not(.refresh-success):not(.refresh-error) {
    color: var(--accent-strong);
          background: rgba(31, 49, 104, 0.055);
    }
  }

  #confirm-modal .confirm-report-dialog {
  --confirm-dialog-gutter: 16px;
      --confirm-dialog-section-gap: 12px;
      width: 100%;
      max-height: calc(100vh - 12px);
      max-height: calc(100dvh - 12px);
      border-bottom: 0;
      border-radius: 22px 22px 0 0;
  }

  .confirm-dialog-header h2 {
  font-size: 21px;
  }

  .confirm-dialog-header .confirm-help {
  font-size: 13px;
  }

  .confirm-report-dialog .confirm-summary {
  gap: 8px;
  }

  .confirm-report-dialog .confirm-summary div {
  gap: 3px;
      padding: 10px 12px;
  }

  .confirm-report-dialog .confirm-summary dt {
  font-size: 12px;
  }

  .confirm-report-dialog .confirm-summary dd {
  font-size: 15px;
      line-height: 1.4;
  }

  .confirm-report-dialog .confirm-actions {
  grid-template-columns: minmax(0, 1fr);
      padding-bottom: max(var(--confirm-dialog-section-gap), env(safe-area-inset-bottom));
  }
}

@media (max-width: 400px) {
  .auth-choice-card {
  grid-template-columns: 44px minmax(0, 1fr);
      gap: 12px;
      padding: 16px;
  }

  .auth-choice-icon {
  width: 44px;
      height: 44px;
      border-radius: 15px;
  }

  .auth-choice-copy > span {
  font-size: 17px;
      white-space: nowrap;
  }
}

@media (max-width: 960px) {
  .report-showcase-stage {
  height: clamp(
        calc(430px + var(--report-showcase-shadow-room)),
        calc(66vw + var(--report-showcase-shadow-room)),
        calc(520px + var(--report-showcase-shadow-room))
      );
  }

  .report-showcase-slide {
  width: min(72%, 590px);
  }
}

@media (max-width: 640px) {
  .report-showcase-heading {
  margin-bottom: 14px;
      text-align: left;
  }

  .report-showcase-heading h2 {
  font-size: clamp(25px, 7.4vw, 31px);
      line-height: 1.3;
  }

  .report-showcase-stage {
  --report-showcase-shadow-room: 24px;
      --report-showcase-fade-depth: 22px;
      --report-showcase-near-tilt: 24deg;
      --report-showcase-near-tilt-reversed: -24deg;
      height: clamp(
        calc(370px + var(--report-showcase-shadow-room)),
        calc(112vw + var(--report-showcase-shadow-room)),
        calc(430px + var(--report-showcase-shadow-room))
      );
      margin-inline: -12px;
  }

  .report-showcase-slide {
  width: 82%;
      height: calc(100% - 34px - var(--report-showcase-shadow-room));
      border-radius: 22px;
  }

  .report-showcase-slide[data-slide-offset="-1"] {
  opacity: 1;
      transform: translate3d(
        calc(-50% - clamp(104px, 32vw, 132px)),
        -50%,
        -90px
      ) rotateY(var(--report-showcase-near-tilt)) scale(0.76);
  }

  .report-showcase-slide[data-slide-offset="1"] {
  opacity: 1;
      transform: translate3d(
        calc(-50% + clamp(104px, 32vw, 132px)),
        -50%,
        -90px
      ) rotateY(var(--report-showcase-near-tilt-reversed)) scale(0.76);
  }

  .report-showcase-slide[data-slide-offset="-2"],
  .report-showcase-slide[data-slide-offset="2"] {
  opacity: 0;
      pointer-events: none;
  }

  .report-showcase-page-indicator {
  right: 12px;
      bottom: 12px;
      min-width: 54px;
      min-height: 28px;
  }

  .report-showcase-zoom-button {
  top: 10px;
      right: 10px;
      width: 36px;
      height: 36px;
  }

  .report-showcase-zoom-button svg {
  width: 18px;
      height: 18px;
  }

  .report-showcase-lightbox {
  max-width: calc(100vw - 24px);
      max-height: calc(100dvh - 24px);
      border-radius: 20px;
  }

  .report-showcase-lightbox > img {
  width: calc(100vw - 24px);
      height: calc(100dvh - 24px);
  }

  .report-showcase-lightbox-close {
  top: 10px;
      right: 10px;
      width: 42px;
      height: 42px;
  }

  .report-showcase-controls {
  gap: 14px;
  }

  .report-showcase-dots {
  gap: 7px;
  }

  .report-showcase-dots button[aria-pressed="true"] {
  width: 24px;
  }

  .report-showcase-cta {
  width: 100%;
      min-height: 54px;
      margin-top: 20px;
      padding-inline: 16px;
  }
}

@media (max-width: 400px) {
  .report-showcase-stage {
  height: calc(370px + var(--report-showcase-shadow-room));
  }

  .report-showcase-controls {
  gap: 10px;
  }

  .report-showcase-dots {
  gap: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .report-showcase-slide,
  .report-showcase-dots button,
  .report-showcase-cta {
  transition: none;
  }
}
