@font-face {
  font-family: Cinzel;
  src: url("Assets/fonts/cizel/cinzel-variablefont_wght-webfont.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --screen-height: 100vh;
  --scroll-distance: 100vh;
  --ink: #2e160c;
  scrollbar-width: none;
  scroll-snap-type: y mandatory;
}

@supports (height: 100svh) {
  :root {
    --screen-height: 100dvh;
    --scroll-distance: 100lvh;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #30261d;
  color: var(--ink);
  font-family: Cinzel, Georgia, serif;
}

img {
  display: block;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.invitation {
  width: min(100%, 480px);
  margin-inline: auto;
}

.opening {
  position: relative;
}

.opening-scroll-stop,
.blessing-scroll-stop,
.names-scroll-stop {
  position: absolute;
  top: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.blessing-scroll-stop {
  top: var(--scroll-distance);
}

.names-scroll-stop {
  top: calc(2 * var(--scroll-distance));
}

.opening:not(.is-open) :is(.blessing-scroll-stop, .names-scroll-stop) {
  display: none;
}

.opening-scroll-stop,
.blessing-scroll-stop,
.names-scroll-stop,
.haldi,
.sangeet-stop,
.finale-stop {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.opening.is-open {
  min-height: calc(var(--screen-height) + 2 * var(--scroll-distance));
}

.scene {
  position: sticky;
  top: 0;
  height: var(--screen-height);
  overflow: hidden;
  overflow: clip;
  container-type: size;
  background: #e0bd69;
}

.scene:focus,
#blessing:focus,
#details:focus,
.finale-stage > section:focus {
  outline: none;
}

.card,
.envelope,
.envelope-paper,
.flap-shadow,
.backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.card {
  background: linear-gradient(#ffdf9c 35%, #e88455 75%, #797136);
}

.backdrop,
.envelope-paper {
  object-fit: cover;
  pointer-events: none;
}

.envelope {
  z-index: 2;
  padding: 0;
  border: 0;
  background: transparent;
  perspective: 1050px;
  touch-action: pinch-zoom;
}

.envelope:focus-visible {
  outline: 2px solid #5c3116;
  outline-offset: -5px;
}

.flap-shadow {
  pointer-events: none;
  filter: drop-shadow(0 2px 3px rgb(69 38 8 / 32%));
}

.envelope-flap {
  transform-origin: center top;
}

.centered,
.open-label {
  position: absolute;
  left: 50%;
  translate: -50% 0;
  margin: 0;
  text-align: center;
}

.open-label {
  top: 63%;
  width: max-content;
  max-width: 90%;
  font-size: clamp(0.75rem, 3.1cqw, 0.875rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 1px 6px #f5dc85;
  -webkit-text-stroke: 0.55px currentColor;
}

.tree {
  position: absolute;
  bottom: 0;
  width: min(36.4%, calc(38.4cqh * 200 / 368));
  pointer-events: none;
}

.tree img {
  width: 100%;
  height: auto;
}

.tree-left {
  left: 0;
}

.tree-right {
  right: 0;
}

.ganesha {
  --ganesha-top: 30%;
  top: max(var(--ganesha-top), env(safe-area-inset-top));
  width: 26.5%;
  height: min(9cqh, 11.31cqw);
  object-fit: contain;
  transform-origin: center top;
}

.shlok {
  top: 45.5%;
  width: 64%;
  height: auto;
  max-height: 12.6%;
  object-fit: contain;
}

.hero-names {
  top: 27%;
  width: 92%;
  height: 28.8%;
}

.hero-names img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.details {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.message {
  top: 14.15%;
  width: 94%;
  font-size: clamp(0.8125rem, min(3.65cqw, 2.25cqh), 1.125rem);
  font-weight: 900;
  line-height: 1.18;
  text-transform: uppercase;
  -webkit-text-stroke: 0.35px currentColor;
}

.message-line {
  display: block;
}

.word {
  display: inline-block;
}

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

.family-list {
  top: 24.5%;
  display: grid;
  gap: 1.2cqh;
  width: 90%;
}

.family {
  display: grid;
  justify-items: center;
  gap: 0.65cqh;
}

.name {
  width: 31%;
  height: min(8.5cqh, 17cqw);
  object-fit: contain;
}

.parents {
  display: grid;
  gap: 0.45cqh;
  font-size: clamp(0.6875rem, min(3cqw, 1.9cqh), 0.9375rem);
  line-height: 1.25;
}

.parents p {
  margin: 0;
}

.ampersand {
  margin: 0;
  color: #641d10;
  font-size: clamp(1.1rem, min(6cqw, 3.5cqh), 1.65rem);
  line-height: 1;
}

.scroll-button {
  bottom: max(4%, calc(env(safe-area-inset-bottom) + 10px));
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  padding: 0.5rem 1rem;
  border: 1px solid rgb(255 238 178 / 58%);
  border-radius: 100px;
  background: rgb(53 43 20 / 78%);
  color: #fff1c4;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.scroll-button:focus-visible,
.music-button:focus-visible {
  outline: 2px solid #fff1c4;
  outline-offset: 4px;
}

.continue-button {
  position: fixed;
  z-index: 5;
  opacity: 0.4;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 0.625rem;
  line-height: 1.15;
  letter-spacing: 0.06em;
}

.continue-button span {
  padding: 0.25rem 0.45rem;
  border-radius: 100px;
  background: rgb(53 43 20 / 66%);
}

.music-button {
  position: fixed;
  top: calc(env(safe-area-inset-top) + 12px);
  left: max(calc((100% - 480px) / 2 + 12px), calc(env(safe-area-inset-left) + 12px));
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgb(255 238 178 / 58%);
  border-radius: 100px;
  background: rgb(53 43 20 / 85%);
  color: #fff1c4;
  font-size: 0.75rem;
  font-weight: 600;
}

.music-icon {
  font-family: system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1;
}

.continue-button[hidden],
.music-button[hidden] {
  display: none;
}

.scroll-icon {
  position: relative;
  width: 10px;
  height: 15px;
  border: 1px solid currentColor;
  border-radius: 8px;
}

.scroll-icon::after {
  position: absolute;
  inset: 3px 0 auto;
  width: 2px;
  height: 3px;
  margin-inline: auto;
  border-radius: 3px;
  background: currentColor;
  content: "";
}

.scroll-button:disabled {
  pointer-events: none;
}

.details:not([data-animated])[aria-hidden="true"],
.details:not([data-animated]) #details[aria-hidden="true"],
.details:not([data-animated]) .shlok[aria-hidden="true"] {
  visibility: hidden;
}

.scene[data-opening-stage="blessing"] .details:not([data-animated]) .ganesha {
  scale: 1.55;
}

.scene[data-opening-stage="names"] .details:not([data-animated]) .ganesha {
  --ganesha-top: 4.75%;
  scale: 0.88;
}

.scene[data-opening-stage]:not(:has(.details[data-animated])) :is(.hero-names, .scroll-button) {
  visibility: hidden;
}

.haldi,
.sangeet-stage,
.baraat-artwork {
  position: relative;
  height: var(--screen-height);
  overflow: hidden;
  container-type: size;
  isolation: isolate;
}

.haldi {
  background: #fbc332;
  color: #21190b;
}

.haldi-curtain {
  position: absolute;
  z-index: 3;
  inset: 0 0 auto;
  pointer-events: none;
}

.haldi-curtain img,
.haldi-title img {
  width: 100%;
  height: auto;
}

.haldi-curtain img {
  transform-origin: center top;
}

.haldi-tree {
  position: absolute;
  z-index: 2;
  bottom: 0;
  width: min(36.67%, calc(59.85cqh * 792 / 2298));
  height: auto;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.haldi-tree-left {
  left: 0;
}

.haldi-tree-right {
  right: 0;
}

.haldi-title,
.haldi-border,
.haldi-details {
  z-index: 4;
}

.haldi-title {
  top: 18%;
  width: min(37.6%, 22cqh);
}

.haldi-border {
  top: 24.95%;
  width: 36.2%;
  height: auto;
}

.haldi-details {
  position: absolute;
  inset: 0;
  font-size: clamp(0.875rem, min(4.7cqw, 3.4cqh), 1.625rem);
  line-height: 1.15;
  text-transform: uppercase;
}

.haldi-details p {
  width: 100%;
}

.haldi-date {
  top: 32.6%;
}

.haldi-time {
  top: 37.2%;
}

.haldi-divider {
  top: 42.75%;
  width: 8.5%;
  border-top: max(1px, 0.25cqw) solid currentColor;
}

.dress-code {
  width: 92%;
  font-size: clamp(0.8125rem, 3.65cqw, 1rem);
  line-height: 1.25;
}

.haldi-venue {
  top: 45.4%;
}

.haldi-dress-code {
  top: 50.8%;
}

.haldi-art {
  z-index: 2;
  bottom: 0;
  width: min(88.8%, 50cqh);
  height: auto;
  pointer-events: none;
}

.haldi-petals {
  z-index: 1;
  bottom: 11%;
  width: 100%;
  height: auto;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .haldi-petals {
    display: none;
  }
}

.sangeet-sequence {
  position: relative;
  min-height: calc(2 * var(--screen-height));
}

.sangeet-stop {
  position: absolute;
  inset: 0 0 auto;
  height: var(--screen-height);
  pointer-events: none;
}

.sangeet-second-stop {
  top: var(--screen-height);
}

.sangeet-stage {
  position: sticky;
  top: 0;
  background: linear-gradient(#393d87, #714872 52%, #bf814b);
}

.sangeet-program {
  position: absolute;
  inset: 0;
  outline: none;
  pointer-events: none;
}

.sangeet-program.mayra {
  opacity: var(--mayra-opacity, 1);
}

.sangeet-program.sangeet {
  opacity: var(--sangeet-opacity, 0);
}

.sangeet-stage img:not(.backdrop) {
  height: auto;
}

.sangeet-stage picture img,
.sangeet-stage h2 img,
.sangeet-stage time img {
  width: 100%;
}

.sangeet-stars {
  top: 0;
  width: 100%;
  max-height: 23%;
  overflow: hidden;
  mask-image: linear-gradient(#000 83%, transparent);
  pointer-events: none;
}

.sangeet-title,
.sangeet-border,
.sangeet-date,
.sangeet-time,
.sangeet-divider,
.sangeet-venue,
.sangeet-dress-code {
  z-index: 1;
}

.sangeet-title {
  top: 21%;
  width: min(51.8%, 29.2cqh);
}

.sangeet-border {
  top: 28.7%;
  width: 33.3%;
}

.sangeet-date {
  top: 35.25%;
  width: 48.3%;
}

.sangeet-time {
  top: 40.05%;
  width: 44.4%;
}

.mayra .sangeet-title {
  width: min(47%, 23cqh);
}

.mayra time,
.sangeet-venue {
  width: 64%;
  color: #ffeca8;
  font-size: clamp(0.875rem, min(4.65cqw, 2.8cqh), 1.375rem);
  line-height: 1.15;
  text-shadow: 0 1px 2px #42243f;
  text-transform: uppercase;
}

.sangeet-divider {
  top: 45.98%;
  width: 21.85%;
}

.sangeet-venue {
  top: 50.8%;
}

.sangeet-dress-code {
  top: 55.6%;
  color: #ffeca8;
  text-transform: uppercase;
  text-shadow: 0 1px 2px #42243f;
}

.sangeet-dress-code span {
  display: block;
}

.sangeet-left,
.sangeet-right,
.sangeet-bottom {
  position: absolute;
  pointer-events: none;
}

.sangeet-left {
  top: 30.15%;
  left: 0;
  width: min(28.84%, 16.23cqh);
}

.sangeet-right {
  top: 57.1%;
  right: 0;
  width: min(28.75%, 16.17cqh);
}

.sangeet-bottom {
  bottom: 0;
  left: 0;
  width: 100%;
  max-height: 32%;
  object-fit: cover;
  object-position: center bottom;
}

.finale {
  --stage-height: max(var(--screen-height), var(--measured-stage-height, 0px));
  position: relative;
  min-height: calc(var(--screen-height) + var(--stage-height));
  isolation: isolate;
  background: #7b231d;
}

.finale-stop {
  position: absolute;
  inset: 0 0 auto;
  height: var(--screen-height);
  pointer-events: none;
}

.finale-rsvp-stop {
  top: var(--screen-height);
  height: var(--stage-height);
}

.finale-end {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  scroll-snap-align: end;
  pointer-events: none;
}

.finale-stage {
  position: sticky;
  top: 0;
  display: grid;
  isolation: isolate;
  overflow: clip;
  container-type: inline-size;
}

.baraat,
.rsvp {
  grid-area: 1 / 1;
  align-self: start;
}

.baraat {
  position: relative;
  height: var(--screen-height);
  color: #ffeca8;
}

.baraat-artwork {
  opacity: var(--baraat-opacity, 1);
  will-change: opacity;
}

.baraat img:not(.backdrop) {
  height: auto;
}

.baraat h2 img,
.baraat time img {
  width: 100%;
}

.baraat-branch {
  position: absolute;
  top: -3cqw;
  z-index: 2;
  width: 21.2%;
  height: auto;
  pointer-events: none;
}

.baraat-branch-left {
  left: -3.1%;
  transform-origin: top left;
}

.baraat-branch-right {
  right: -2%;
  transform-origin: top right;
}

.baraat-title {
  top: 9.6%;
  width: min(51.7%, 29.1cqh);
}

.baraat-border {
  top: 18.38%;
  width: 33.5%;
}

.baraat-date {
  top: 24.28%;
  width: 48.3%;
}

.baraat-time {
  top: 29.66%;
  width: 44.68%;
}

.baraat-ceremony {
  top: 34.8%;
  width: 61.53%;
}

.baraat-divider {
  top: 40.72%;
  width: 23.57%;
}

.baraat-closing {
  top: 44.84%;
  z-index: 2;
  display: grid;
  gap: 0.9cqh;
  width: 90%;
}

.baraat-closing p {
  margin: 0;
}

.baraat-venue {
  font-size: clamp(0.875rem, min(4.65cqw, 2.8cqh), 1.375rem);
  line-height: 1.15;
  text-transform: uppercase;
}

.baraat-message {
  font-size: clamp(0.75rem, min(3.65cqw, 2.25cqh), 1rem);
  line-height: 1.25;
}

.baraat-mandap,
.baraat-hands {
  position: absolute;
  inset-inline: 0;
  pointer-events: none;
}

.baraat-mandap {
  bottom: 0;
  width: 100%;
  max-height: 42%;
  object-fit: cover;
  object-position: center bottom;
  transform-origin: center bottom;
}

.baraat-hands {
  top: max(calc(100% - 86.5cqw), calc(44.84% + 3.9rem));
  z-index: 1;
}

.baraat-shiv,
.baraat-parvati {
  position: absolute;
}

.baraat-shiv {
  top: 0;
  left: 0;
  width: 56.11%;
  z-index: 1;
}

.baraat-parvati {
  top: 6.25cqw;
  right: 0;
  width: 54.03%;
}

.rsvp {
  position: relative;
  color: #ffeca8;
}

.rsvp-content {
  position: relative;
  display: grid;
  align-items: start;
  justify-items: center;
  min-height: var(--screen-height);
  overflow: clip;
  padding-block: clamp(80px, 12svh, 128px) max(24px, calc(env(safe-area-inset-bottom) + 14px));
  opacity: var(--rsvp-opacity, 0);
  will-change: opacity;
}

.rsvp-card {
  position: relative;
  width: min(100%, 420px);
}

.rsvp-intro {
  padding: 0.9rem 0.35rem 1.45rem;
  text-align: center;
  font-family: Georgia, serif;
  text-shadow: 0 1px 3px #3a0f0b;
}

.rsvp-intro h2 {
  margin: 0 0 0.7rem;
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(1.23rem, 5.6vw, 1.7rem);
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
}

.rsvp-intro p {
  margin: 0;
  font-size: 0.65rem;
  line-height: 1.35;
}

.rsvp-intro .rsvp-deadline {
  margin-top: 0.7rem;
  font-size: 1.03rem;
  letter-spacing: 0.035em;
}

.rsvp-form {
  --form-border: #a08448;
  --field-fill: #fcf9f4;
  position: relative;
  display: grid;
  gap: 0.45rem;
  width: min(94%, 365px);
  margin-inline: auto;
  padding: 1rem 0.9rem;
  border: 1px solid var(--form-border);
  border-radius: 8px;
  background: #f5f0e9;
  color: #765307;
  font: 400 0.75rem/1.35 Roboto, Arial, sans-serif;
}

.rsvp-form::before {
  position: absolute;
  inset: 3px;
  border: 1px solid rgb(118 83 7 / 30%);
  border-radius: 6px;
  pointer-events: none;
  content: "";
}

.rsvp-attendance {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem;
  min-inline-size: 0;
  margin: 0;
  padding: 3% 0;
  border: 0;
}

.rsvp-attendance span,
.rsvp-field :is(input, select, textarea),
.rsvp-submit {
  min-height: 36px;
  border: 1px solid var(--form-border);
  border-radius: 8px;
}

.rsvp-attendance span {
  display: grid;
  place-content: center;
  padding: 0.3rem;
  font-size: 0.6875rem;
  text-align: center;
  cursor: pointer;
}

.rsvp-attendance input:checked + span,
.rsvp-submit {
  border-color: #84600e;
  background: #efdfb8;
}

.rsvp-prompt {
  margin: 0;
  padding: 0.2rem 0.1rem 0.35rem;
  text-align: center;
  font: italic 0.67rem/1.35 Georgia, serif;
}

.rsvp-fields:not([hidden]) {
  display: grid;
  gap: 1rem;
}

.rsvp-field label {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.6875rem;
}

.rsvp-field :is(input, select, textarea) {
  width: 100%;
  padding: 0.4rem 0.5rem;
  background: var(--field-fill);
  color: inherit;
  font: inherit;
}

.rsvp-select {
  position: relative;
}

.rsvp-select select {
  appearance: none;
  padding-right: 2rem;
}

.rsvp-select::after {
  position: absolute;
  top: 50%;
  right: 0.8rem;
  width: 0.46rem;
  height: 0.46rem;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
  content: "";
}

#rsvp-other-guests {
  margin-top: 0.45rem;
}

.rsvp-field textarea {
  display: block;
  min-height: 50px;
  resize: vertical;
}

.rsvp-field textarea::placeholder {
  color: #826d48;
  opacity: 1;
}

.rsvp-submit {
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.rsvp-submit:disabled {
  opacity: 0.65;
}

.rsvp-form :focus-visible,
.rsvp-attendance input:focus-visible + span {
  outline: 2px solid #765307;
  outline-offset: 2px;
}

.rsvp-status {
  margin: 0;
  font-size: 0.6875rem;
}

.rsvp-status:empty {
  position: absolute;
}

@media (max-height: 660px) {
  .rsvp-content {
    padding-block-start: max(72px, calc(env(safe-area-inset-top) + 60px));
  }

  .rsvp-intro {
    padding: 0.75rem 0.6rem 0.8rem;
  }

  .rsvp-intro h2 {
    font-size: clamp(1.13rem, 5.5vw, 1.5rem);
  }
}

.rsvp-confirmation[hidden] {
  display: none;
}

.rsvp-card:has(.rsvp-confirmation:not([hidden])) {
  display: grid;
  align-self: stretch;
}

.rsvp-confirmation {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: clamp(2.4rem, 5svh, 3.1rem) 0.75rem clamp(2rem, 6svh, 3.5rem);
  text-align: center;
  outline: none;
  margin: 10% 0 0 0;
}

.rsvp-confirmation h3 {
  display: grid;
  gap: 0.3rem;
  margin: 0;
  font: 500 1rem/1.2 Cinzel, Georgia, serif;
}

.rsvp-thanks-main {
  font-size: clamp(1.9rem, 9vw, 2.6rem);
}

.rsvp-thanks-subtitle {
  font-size: clamp(0.85rem, 3.8vw, 1rem);
}

.rsvp-confirmation p {
  margin: 0;
  font: 400 0.8125rem/1.35 Roboto, Arial, sans-serif;
}

.rsvp-confirmation-footer {
  justify-items: center;
  gap: 0.65rem;
  margin-top: 30%;
  padding-top: 1rem;
}

.rsvp-confirmation-footer:not([hidden]) {
  display: grid;
}

.rsvp-confirmation .rsvp-location {
  font: 500 clamp(1rem, 4.6vw, 1.25rem)/1.2 Cinzel, Georgia, serif;
}

.rsvp-confirmation-link {
  display: inline-grid;
  place-content: center;
  min-height: 44px;
  padding: 0.35rem 0.85rem;
  border: 1px solid #e8ca80;
  border-radius: 8px;
  background: #f5f0e9;
  color: #765307;
  font: 500 0.8125rem/1.3 Roboto, Arial, sans-serif;
  text-decoration: none;
}

.rsvp-confirmation-link:focus-visible {
  outline: 2px solid #ffe4a0;
  outline-offset: 3px;
}

:root.is-loading {
  overflow: hidden;
}

@supports selector(:has(*)) {
  :root:not(:has(.opening.is-open)) {
    overflow: hidden;
    scroll-snap-type: none;
  }
}

@supports not selector(:has(*)) {
  :root:not(.invitation-scroll-ready) {
    overflow: hidden;
    scroll-snap-type: none;
  }
}

.orientation-notice {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 20;
  padding: 1rem;
  background: #30261d;
  color: #fff1c4;
  text-align: center;
}

.orientation-notice h2 {
  margin: 0 0 0.5rem;
  font: 500 clamp(1.2rem, 4vw, 1.8rem)/1.25 Cinzel, Georgia, serif;
}

.orientation-notice p {
  margin: 0;
  font: 400 0.9375rem/1.4 system-ui, sans-serif;
}

@media (orientation: landscape) and (any-pointer: coarse) {
  :root {
    overflow: hidden;
  }

  .orientation-notice {
    display: grid;
    place-items: center;
  }
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  background: #30261d;
  color: #fff1c4;
  text-align: center;
}

.preloader[hidden] {
  display: none;
}

.preloader-panel {
  width: min(78%, 270px);
  font-family: Georgia, serif;
}

.preloader-title {
  margin: 0 0 0.9rem;
  font-size: clamp(1.55rem, 6vw, 2rem);
  font-weight: 400;
}

.preloader-status {
  margin: 0 0 0.55rem;
  font: 400 0.8125rem/1.4 system-ui, sans-serif;
}

.preloader-progress {
  display: block;
  width: 100%;
  height: 5px;
  appearance: none;
  overflow: hidden;
  border: 0;
  border-radius: 100px;
  background: #564537;
  color: #e8ca80;
}

.preloader-progress::-webkit-progress-bar {
  background: #564537;
}

.preloader-progress::-webkit-progress-value {
  border-radius: 100px;
  background: #e8ca80;
}

.preloader-progress::-moz-progress-bar {
  border-radius: 100px;
  background: #e8ca80;
}

.preloader-percent {
  display: inline-block;
  margin-top: 0.45rem;
  font: 400 0.75rem/1.4 system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
}

.preloader-retry {
  display: block;
  min-height: 44px;
  margin: 0.8rem auto 0;
  padding: 0.35rem 0.9rem;
  border: 1px solid #e8ca80;
  border-radius: 8px;
  background: transparent;
}

.preloader-retry[hidden] {
  display: none;
}
