:root {
  --viewport-height: 100dvh;

  --background: #f8f5f7;
  --background-cream: #f7f3ed;
  --background-lavender: #f6f1fa;
  --background-deep: #eee8f3;

  --surface: rgba(255, 255, 255, 0.94);
  --surface-strong: rgba(255, 255, 255, 0.98);
  --surface-solid: #ffffff;
  --surface-muted: #faf8fc;
  --surface-purple: rgba(124, 58, 237, 0.08);

  --text: #171821;
  --text-soft: #6f6b78;
  --text-faint: #918c98;
  --text-on-dark: #ffffff;

  --line: rgba(79, 68, 96, 0.1);
  --line-strong: rgba(79, 68, 96, 0.17);
  --line-purple: rgba(124, 58, 237, 0.18);

  --accent: #7c3aed;
  --accent-dark: #6427e8;
  --accent-light: #a855f7;
  --accent-soft: rgba(124, 58, 237, 0.1);
  --accent-softer: rgba(124, 58, 237, 0.06);
  --accent-gradient: linear-gradient(
    135deg,
    #6427e8 0%,
    #7c3aed 48%,
    #a855f7 100%
  );

  --success: #239967;
  --success-soft: rgba(35, 153, 103, 0.11);
  --warning: #a96b2e;
  --warning-soft: rgba(169, 107, 46, 0.11);
  --danger: #b64550;
  --danger-soft: rgba(182, 69, 80, 0.1);

  --shadow-xs: 0 2px 8px rgba(39, 27, 57, 0.035);
  --shadow-sm: 0 14px 36px rgba(52, 37, 74, 0.07);
  --shadow-md: 0 24px 64px rgba(52, 37, 74, 0.11);
  --shadow-lg: 0 30px 80px rgba(52, 37, 74, 0.15);
  --shadow-purple: 0 16px 34px rgba(124, 58, 237, 0.25);

  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 34px;

  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);

  --font-system:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Display",
    "SF Pro Text",
    "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--background);
}

html {
  overscroll-behavior: none;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  color: var(--text);
  font-family: var(--font-system);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overscroll-behavior: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
}

button,
a,
[role="button"] {
  touch-action: manipulation;
}

button:not(:disabled),
a {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

img {
  display: block;
  max-width: 100%;
  -webkit-user-drag: none;
  user-select: none;
}

svg {
  display: block;
  width: 1em;
  height: 1em;
  fill: currentColor;
}

::selection {
  color: var(--text);
  background: rgba(124, 58, 237, 0.18);
}

input::selection,
textarea::selection {
  background: rgba(124, 58, 237, 0.22);
}

[hidden] {
  display: none !important;
}

.noscript-message {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 28px;
  color: var(--text);
  text-align: center;
  background:
    radial-gradient(
      circle at 15% 0%,
      rgba(255, 255, 255, 0.95),
      transparent 38%
    ),
    radial-gradient(
      circle at 95% 10%,
      rgba(237, 225, 250, 0.72),
      transparent 35%
    ),
    linear-gradient(
      160deg,
      var(--background-cream),
      var(--background-lavender)
    );
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.app-shell {
  position: relative;
  width: 100%;
  height: var(--viewport-height);
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: none;
  touch-action: pan-y;
  background:
    radial-gradient(
      circle at 9% -2%,
      rgba(255, 255, 255, 0.98),
      transparent 34%
    ),
    radial-gradient(
      circle at 94% 4%,
      rgba(230, 218, 247, 0.68),
      transparent 33%
    ),
    radial-gradient(
      circle at 10% 92%,
      rgba(248, 235, 229, 0.68),
      transparent 38%
    ),
    linear-gradient(
      180deg,
      #faf8f8 0%,
      var(--background) 45%,
      var(--background-lavender) 100%
    );
  scrollbar-width: none;
}

.app-shell::-webkit-scrollbar {
  display: none;
}

.app-shell::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(
      circle at 78% 22%,
      rgba(124, 58, 237, 0.045),
      transparent 22%
    ),
    radial-gradient(
      circle at 18% 62%,
      rgba(168, 85, 247, 0.025),
      transparent 24%
    );
}

.connection-banner {
  position: sticky;
  top: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: calc(40px + var(--safe-top));
  padding:
    calc(9px + var(--safe-top))
    max(16px, var(--safe-right))
    9px
    max(16px, var(--safe-left));
  color: #8a4b53;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  background: rgba(255, 244, 246, 0.94);
  border-bottom: 1px solid rgba(182, 69, 80, 0.12);
  box-shadow: 0 8px 24px rgba(62, 38, 68, 0.04);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.connection-banner svg {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
}

.topbar {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: calc(78px + var(--safe-top));
  padding:
    calc(18px + var(--safe-top))
    max(18px, calc(18px + var(--safe-right)))
    14px
    max(18px, calc(18px + var(--safe-left)));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  min-height: 44px;
  color: var(--text);
  font-size: clamp(15px, 4vw, 18px);
  font-weight: 750;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.brand > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand strong {
  color: var(--accent);
  font-weight: 820;
}

.brand-mark {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: 16px;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
}

.auth-badge {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 9px 14px;
  color: #4e4b59;
  font-size: 12px;
  font-weight: 680;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.67);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  box-shadow:
    0 10px 26px rgba(52, 37, 74, 0.075),
    inset 0 1px rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #b7adbe;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(145, 140, 152, 0.11);
}

.auth-badge.is-ready .status-dot {
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(35, 153, 103, 0.12);
}

.auth-badge.is-error .status-dot {
  background: var(--danger);
  box-shadow: 0 0 0 5px rgba(182, 69, 80, 0.11);
}

.app-main {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  min-height: calc(100dvh - 156px);
  margin: 0 auto;
  padding:
    4px
    max(16px, calc(16px + var(--safe-right)))
    38px
    max(16px, calc(16px + var(--safe-left)));
}

.screen {
  width: 100%;
  animation: screen-in 360ms cubic-bezier(0.2, 0.72, 0.2, 1) both;
}

.screen:not(.is-active) {
  animation: none;
}

.surface-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: var(--radius-lg);
  box-shadow:
    var(--shadow-sm),
    inset 0 1px rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(24px) saturate(145%);
  -webkit-backdrop-filter: blur(24px) saturate(145%);
}

.hero-card {
  position: relative;
  width: 100%;
  height: clamp(290px, 68vw, 390px);
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
  background: #d9c6b4;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.event-cover,
.cover-skeleton,
.cover-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.event-cover {
  z-index: 1;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.02);
  transition:
    opacity 480ms ease,
    transform 900ms ease;
}

.event-cover.is-loaded {
  opacity: 1;
  transform: scale(1);
}

.cover-skeleton {
  z-index: 0;
  background:
    linear-gradient(
      110deg,
      transparent 20%,
      rgba(255, 255, 255, 0.45) 34%,
      transparent 48%
    ) 0 0 / 220% 100%,
    linear-gradient(
      145deg,
      #d5c5b8,
      #eee4dc 56%,
      #c6b09e
    );
  animation: skeleton 1.5s linear infinite;
}

.cover-overlay {
  z-index: 2;
  background:
    radial-gradient(
      circle at 50% 54%,
      rgba(8, 12, 20, 0.08) 0%,
      rgba(8, 12, 20, 0.22) 48%,
      rgba(8, 12, 20, 0.34) 100%
    ),
    linear-gradient(
      180deg,
      rgba(13, 19, 29, 0.04) 0%,
      rgba(10, 15, 24, 0.2) 42%,
      rgba(7, 9, 15, 0.78) 100%
    );
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  color: var(--text-on-dark);
  text-align: center;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.15em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-content .eyebrow {
  width: 100%;
  margin-bottom: 11px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 10px;
  font-weight: 780;
  letter-spacing: 0.18em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.34);
}

.hero-content h1,
.section-heading h1,
.success-card h1 {
  margin: 0;
  color: inherit;
  font-size: clamp(35px, 10vw, 58px);
  font-weight: 790;
  letter-spacing: -0.06em;
  line-height: 0.98;
  text-wrap: balance;
}

.hero-content h1 {
  width: 100%;
  max-width: 620px;
  font-size: clamp(31px, 8.5vw, 50px);
  text-shadow: 0 5px 24px rgba(0, 0, 0, 0.28);
}

.hero-subtitle {
  width: 100%;
  max-width: 520px;
  margin: 12px auto 16px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(14px, 3.8vw, 17px);
  letter-spacing: -0.02em;
  text-align: center;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.28);
}

.event-date-row {
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: 8px;
  min-height: 36px;
  padding: 7px 13px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 12.5px;
  font-weight: 660;
  letter-spacing: -0.01em;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  box-shadow:
    0 8px 22px rgba(4, 7, 12, 0.16),
    inset 0 1px rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
}

.event-date-row svg {
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.82);
}

.welcome-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  margin-top: 18px;
  padding: 26px;
}

.welcome-card h2,
.picker-card h2,
.preview-card h2,
.progress-card h2,
.dialog-card h2,
.form-card h2 {
  margin: 0;
  color: var(--text);
  font-size: 22px;
  font-weight: 790;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.welcome-card p {
  margin: 8px 0 0;
  color: var(--text-soft);
  font-size: 14px;
}

.welcome-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 60px;
  height: 60px;
  color: var(--accent-dark);
  background: linear-gradient(
    145deg,
    rgba(124, 58, 237, 0.13),
    rgba(168, 85, 247, 0.07)
  );
  border: 1px solid rgba(124, 58, 237, 0.06);
  border-radius: 20px;
}

.welcome-icon svg {
  width: 29px;
  height: 29px;
}

.welcome-card .button-large,
.welcome-card .microcopy {
  grid-column: 1 / -1;
}

.microcopy {
  margin: -1px 0 0 !important;
  color: var(--text-faint) !important;
  font-size: 12px !important;
  text-align: center;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 49px;
  padding: 12px 17px;
  overflow: hidden;
  color: var(--text);
  font-weight: 780;
  letter-spacing: -0.018em;
  border-radius: 17px;
  transition:
    transform 120ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    opacity 180ms ease;
  user-select: none;
  -webkit-user-select: none;
}

.button::after,
.picker-button::after,
.icon-button::after,
.photo-remove::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: rgba(255, 255, 255, 0.17);
  opacity: 0;
  transition: opacity 140ms ease;
}

.button:active:not(:disabled),
.picker-button:active:not(:disabled),
.icon-button:active:not(:disabled),
.photo-remove:active:not(:disabled) {
  transform: scale(0.975);
}

.button:active:not(:disabled)::after,
.picker-button:active:not(:disabled)::after,
.icon-button:active:not(:disabled)::after,
.photo-remove:active:not(:disabled)::after {
  opacity: 1;
}

.button:focus-visible,
.picker-button:focus-visible,
.icon-button:focus-visible,
.photo-remove:focus-visible {
  outline: 3px solid rgba(124, 58, 237, 0.18);
  outline-offset: 2px;
}

.button:disabled {
  opacity: 0.58;
}

.button svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
}

.button-primary {
  color: #ffffff;
  background: var(--accent-gradient);
  box-shadow:
    var(--shadow-purple),
    inset 0 1px rgba(255, 255, 255, 0.24);
}

.button-primary:active:not(:disabled) {
  box-shadow:
    0 9px 22px rgba(124, 58, 237, 0.21),
    inset 0 1px rgba(255, 255, 255, 0.18);
}

.button-primary:disabled {
  color: rgba(255, 255, 255, 0.93);
  background: linear-gradient(
    135deg,
    #b9a5e9 0%,
    #c5adeb 50%,
    #d0b8ed 100%
  );
  box-shadow: none;
  opacity: 0.68;
}

.button-secondary {
  color: var(--accent-dark);
  background: linear-gradient(
    135deg,
    rgba(124, 58, 237, 0.12),
    rgba(168, 85, 247, 0.08)
  );
  border: 1px solid rgba(124, 58, 237, 0.08);
}

.button-warning {
  color: #ffffff;
  background: linear-gradient(135deg, #b46d36, #934719);
  box-shadow: 0 12px 25px rgba(147, 71, 25, 0.18);
}

.button-ghost {
  color: var(--text-soft);
  background: transparent;
}

.button-ghost:active:not(:disabled) {
  background: rgba(124, 58, 237, 0.06);
}

.button-large {
  width: 100%;
  min-height: 60px;
  border-radius: 20px;
  font-size: 17px;
}

.button-compact {
  min-height: 44px;
  padding: 9px 14px;
  font-size: 13px;
  border-radius: 15px;
}

.upload-intro {
  width: 100%;
  margin-bottom: 8px;
}

.section-heading,
.upload-heading-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 10px 2px 20px;
}

.upload-heading-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.section-heading h1,
.upload-heading-copy h1 {
  max-width: 560px;
  margin: 0;
  color: var(--text);
  font-size: clamp(34px, 9.6vw, 52px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.98;
  text-wrap: balance;
}

.upload-subtitle {
  max-width: 540px;
  margin: 14px 0 0;
  color: var(--text-soft);
  font-size: clamp(15px, 4vw, 18px);
  line-height: 1.48;
  letter-spacing: -0.015em;
}

.icon-button {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-top: 2px;
  overflow: hidden;
  color: var(--text);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 18px;
  box-shadow:
    var(--shadow-xs),
    inset 0 1px rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition:
    transform 120ms ease,
    background-color 160ms ease;
}

.icon-button svg {
  width: 23px;
  height: 23px;
}

#uploadForm {
  display: grid;
  gap: 14px;
}

.form-card,
.picker-card,
.preview-card,
.progress-card {
  padding: 24px;
}

.identity-card,
.photo-picker-card,
.preview-card,
.progress-card {
  overflow: hidden;
}

.identity-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 19px;
}

.identity-heading-icon {
  display: grid;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--accent);
  background: linear-gradient(
    135deg,
    rgba(124, 58, 237, 0.12),
    rgba(168, 85, 247, 0.07)
  );
  border: 1px solid rgba(124, 58, 237, 0.06);
  border-radius: 17px;
}

.identity-heading-icon svg {
  width: 23px;
  height: 23px;
}

.identity-heading h2 {
  margin-top: 2px;
  font-size: 20px;
}

.identity-kicker {
  margin: 0;
  color: var(--accent);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.field-label {
  display: block;
  margin-bottom: 9px;
  color: var(--text);
  font-size: 14px;
  font-weight: 760;
}

.text-field {
  display: flex;
  align-items: center;
  min-height: 62px;
  padding: 0 17px;
  color: var(--text-soft);
  background: rgba(250, 248, 252, 0.96);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  box-shadow: inset 0 1px 2px rgba(52, 37, 74, 0.025);
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease;
}

.text-field:focus-within {
  color: var(--accent);
  background: #ffffff;
  border-color: rgba(124, 58, 237, 0.4);
  outline: none;
  box-shadow:
    0 0 0 4px rgba(124, 58, 237, 0.085),
    inset 0 1px 2px rgba(52, 37, 74, 0.025);
}

.text-field.is-invalid {
  color: var(--danger);
  background: rgba(255, 248, 249, 0.98);
  border-color: rgba(182, 69, 80, 0.34);
  box-shadow: 0 0 0 4px rgba(182, 69, 80, 0.07);
}

.text-field > svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
}

.text-field input {
  width: 100%;
  min-width: 0;
  height: 60px;
  padding: 0 12px;
  color: var(--text);
  font-size: 16px;
  background: transparent;
  border: 0;
  border-radius: 0;
  outline: 0;
  user-select: text;
  -webkit-user-select: text;
}

.text-field input::placeholder {
  color: #a09aa6;
}

.field-valid-icon {
  color: var(--success);
}

.field-valid-icon svg {
  width: 22px;
  height: 22px;
}

.field-help,
.field-error {
  margin: 9px 3px 0;
  font-size: 12px;
  line-height: 1.42;
}

.field-help {
  color: var(--text-faint);
}

.field-error {
  color: var(--danger);
  font-weight: 680;
}

.photo-picker-heading {
  display: block;
  margin-bottom: 19px;
}

.photo-picker-heading-copy {
  min-width: 0;
}

.photo-picker-heading h2 {
  font-size: 22px;
}

.photo-picker-subtitle {
  margin: 8px 0 0;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.45;
}

.picker-actions,
.photo-picker-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 0;
}

.picker-button,
.photo-picker-option {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 150px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 17px 12px;
  overflow: hidden;
  color: var(--text);
  text-align: center;
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.96),
    rgba(249, 246, 252, 0.94)
  );
  border: 1px solid var(--line);
  border-radius: 23px;
  box-shadow:
    0 8px 20px rgba(52, 37, 74, 0.035),
    inset 0 1px rgba(255, 255, 255, 0.96);
  transition:
    transform 120ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
  user-select: none;
  -webkit-user-select: none;
}

.picker-button:hover:not(:disabled),
.photo-picker-option:hover:not(:disabled) {
  background: #ffffff;
  border-color: rgba(124, 58, 237, 0.26);
  box-shadow:
    0 12px 26px rgba(76, 47, 112, 0.07),
    inset 0 1px rgba(255, 255, 255, 0.98);
}

.picker-button:disabled,
.photo-picker-option:disabled {
  opacity: 0.46;
}

.picker-icon,
.photo-picker-option-icon {
  display: grid;
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  place-items: center;
  color: var(--accent);
  background: linear-gradient(
    135deg,
    rgba(124, 58, 237, 0.14),
    rgba(168, 85, 247, 0.08)
  );
  border: 1px solid rgba(124, 58, 237, 0.05);
  border-radius: 22px;
}

.picker-icon svg,
.photo-picker-option-icon svg {
  width: 31px;
  height: 31px;
}

.picker-button strong,
.picker-button small,
.photo-picker-option-copy strong,
.photo-picker-option-copy small {
  display: block;
}

.photo-picker-option-copy {
  display: block;
  width: 100%;
  min-width: 0;
}

.picker-button strong,
.photo-picker-option-copy strong {
  color: var(--text);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.picker-button small,
.photo-picker-option-copy small {
  margin-top: 5px;
  color: var(--text-faint);
  font-size: 12px;
  line-height: 1.3;
}

.picker-hint {
  margin: 14px 0 0;
  color: var(--text-faint);
  font-size: 12px;
  text-align: center;
}

.photo-picker-count {
  display: flex;
  align-items: center;
  min-height: 48px;
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px dashed rgba(79, 68, 96, 0.17);
}

.photo-picker-count-copy {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.photo-picker-count-copy strong {
  color: var(--text);
  font-size: 15px;
  font-weight: 830;
  letter-spacing: -0.02em;
}

.photo-picker-count-copy strong.is-full,
#selectionLimitBadge.is-full {
  color: var(--warning);
}

.photo-picker-count-copy span {
  color: var(--text-soft);
  font-size: 13px;
}

.card-heading-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 32px;
  padding: 6px 10px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 820;
  background: var(--accent-soft);
  border-radius: 999px;
}

.count-badge.is-full {
  color: var(--warning);
  background: var(--warning-soft);
}

.preview-card {
  background: rgba(255, 255, 255, 0.95);
}

.preview-heading {
  align-items: center;
  margin-bottom: 20px;
}

.preview-heading .eyebrow {
  margin-bottom: 7px;
}

.preview-heading h2 {
  font-size: 23px;
  font-weight: 820;
}

.preview-heading .field-help {
  margin-top: 5px;
}

.preview-heading .button-secondary {
  min-height: 46px;
  padding: 10px 15px;
  border-radius: 16px;
  box-shadow: none;
}

.preview-heading .button-secondary svg {
  width: 18px;
  height: 18px;
}

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

.photo-card {
  min-width: 0;
}

.photo-thumb-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #f1edf7;
  border: 1px solid rgba(124, 58, 237, 0.08);
  border-radius: 18px;
  box-shadow:
    0 9px 22px rgba(52, 37, 74, 0.07),
    inset 0 1px rgba(255, 255, 255, 0.82);
  isolation: isolate;
}

.photo-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-fallback {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px;
  color: var(--text-faint);
  font-size: 9px;
  text-align: center;
}

.photo-fallback svg {
  width: 25px;
  height: 25px;
  color: var(--accent);
}

.photo-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  overflow: hidden;
  color: #ffffff;
  background: rgba(27, 24, 33, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  box-shadow: 0 7px 18px rgba(20, 18, 24, 0.18);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  transition:
    transform 120ms ease,
    opacity 160ms ease;
}

.photo-remove:disabled {
  opacity: 0.35;
}

.photo-remove svg {
  width: 17px;
  height: 17px;
}

.photo-status-badge {
  position: absolute;
  right: 8px;
  bottom: 8px;
  left: 8px;
  z-index: 3;
  min-height: 28px;
  padding: 6px 8px;
  overflow: hidden;
  color: #ffffff;
  font-size: 10px;
  font-weight: 820;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: linear-gradient(
    135deg,
    rgba(100, 39, 232, 0.92),
    rgba(168, 85, 247, 0.92)
  );
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(76, 32, 160, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.photo-status-badge.is-completed {
  background: rgba(35, 153, 103, 0.92);
}

.photo-status-badge.is-error {
  background: rgba(182, 69, 80, 0.93);
}

.photo-meta {
  min-width: 0;
  padding: 9px 3px 0;
}

.photo-meta strong,
.photo-meta span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.photo-meta strong {
  color: #4c4854;
  font-size: 10px;
  font-weight: 760;
}

.photo-meta span {
  margin-top: 3px;
  color: var(--text-faint);
  font-size: 9px;
}

.progress-card {
  border-color: rgba(124, 58, 237, 0.08);
}

.progress-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 15px;
}

.progress-header > strong {
  color: var(--accent);
  font-size: 25px;
  font-weight: 820;
  letter-spacing: -0.045em;
}

.progress-track {
  height: 11px;
  margin-top: 19px;
  overflow: hidden;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.04);
  border-radius: 999px;
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--accent-gradient);
  border-radius: inherit;
  box-shadow: 0 0 14px rgba(124, 58, 237, 0.28);
  transition: width 180ms linear;
}

.progress-text {
  margin: 11px 0 0;
  color: var(--text-soft);
  font-size: 13px;
}

.file-progress-list {
  display: grid;
  gap: 8px;
  max-height: 268px;
  padding: 0;
  margin: 17px 0 0;
  overflow-y: auto;
  list-style: none;
  overscroll-behavior: contain;
}

.file-progress-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 10px 11px;
  background: var(--surface-muted);
  border: 1px solid rgba(79, 68, 96, 0.07);
  border-radius: 16px;
}

.file-state-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--text-faint);
  background: #ffffff;
  border-radius: 11px;
}

.file-state-icon svg {
  width: 18px;
  height: 18px;
}

.file-progress-item[data-status="compressing"] .file-state-icon,
.file-progress-item[data-status="uploading"] .file-state-icon {
  color: var(--accent);
  background: var(--accent-soft);
}

.file-progress-item[data-status="completed"] .file-state-icon {
  color: var(--success);
  background: var(--success-soft);
}

.file-progress-item[data-status="error"] .file-state-icon {
  color: var(--danger);
  background: var(--danger-soft);
}

.file-progress-copy {
  min-width: 0;
}

.file-progress-copy strong,
.file-progress-copy span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-progress-copy strong {
  color: var(--text);
  font-size: 11px;
}

.file-progress-copy span {
  margin-top: 2px;
  color: var(--text-faint);
  font-size: 10px;
}

.file-progress-percent {
  color: var(--text-soft);
  font-size: 10px;
  font-weight: 820;
}

.action-spacer {
  height: calc(102px + var(--safe-bottom));
}

.bottom-action-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 50;
  padding:
    12px
    max(12px, calc(12px + var(--safe-right)))
    calc(12px + var(--safe-bottom))
    max(12px, calc(12px + var(--safe-left)));
  background: linear-gradient(
    180deg,
    rgba(248, 245, 247, 0) 0%,
    rgba(248, 245, 247, 0.82) 30%,
    rgba(246, 241, 250, 0.98) 74%
  );
  pointer-events: none;
}

.bottom-action-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(100%, 712px);
  min-height: 78px;
  padding: 10px 10px 10px 18px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.96);
  border-radius: 27px;
  box-shadow:
    0 20px 52px rgba(52, 37, 74, 0.15),
    inset 0 1px rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(28px) saturate(150%);
  -webkit-backdrop-filter: blur(28px) saturate(150%);
  pointer-events: auto;
}

.bottom-summary {
  flex: 1 1 auto;
  min-width: 0;
}

.bottom-summary strong,
.bottom-summary span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bottom-summary strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 820;
  letter-spacing: -0.02em;
}

.bottom-summary span {
  margin-top: 3px;
  color: var(--text-faint);
  font-size: 11px;
}

.bottom-upload-button {
  flex: 0 0 auto;
  min-width: 215px;
  min-height: 56px;
  padding-right: 18px;
  padding-left: 18px;
  border-radius: 19px;
  font-size: 14px;
}

.button-spinner {
  width: 19px;
  height: 19px;
  border: 2px solid rgba(255, 255, 255, 0.34);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 750ms linear infinite;
}

.success-screen {
  display: grid;
  min-height: min(720px, calc(100dvh - 122px));
  place-items: center;
  padding: 26px 0 46px;
}

.success-card {
  width: 100%;
  padding: 36px 25px 27px;
  text-align: center;
}

.success-orbit {
  position: relative;
  display: grid;
  width: 120px;
  height: 120px;
  place-items: center;
  margin: 0 auto 23px;
}

.success-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(35, 153, 103, 0.22);
  border-radius: 50%;
  animation: success-ring 1.8s ease-out infinite;
}

.success-icon {
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(145deg, #37ad7b, #20875d);
  border-radius: 50%;
  box-shadow:
    0 18px 38px rgba(35, 153, 103, 0.25),
    inset 0 1px rgba(255, 255, 255, 0.22);
  animation: success-pop 520ms cubic-bezier(0.2, 1.25, 0.4, 1) both;
}

.success-icon svg {
  width: 41px;
  height: 41px;
}

.success-card h1 {
  max-width: 540px;
  margin: 0 auto;
  color: var(--text);
  font-size: clamp(31px, 8vw, 49px);
}

.success-card > p:not(.eyebrow) {
  max-width: 490px;
  margin: 15px auto 0;
  color: var(--text-soft);
}

.success-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 26px 0 20px;
}

.success-summary > div {
  min-width: 0;
  padding: 17px 13px;
  text-align: left;
  background: linear-gradient(
    155deg,
    rgba(250, 248, 252, 0.98),
    rgba(247, 243, 250, 0.96)
  );
  border: 1px solid var(--line);
  border-radius: 18px;
}

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

.success-summary span {
  color: var(--text-faint);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.success-summary strong {
  margin-top: 5px;
  overflow: hidden;
  color: var(--text);
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.success-card .button-ghost {
  width: 100%;
  margin-top: 6px;
}

.app-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 18px calc(30px + var(--safe-bottom));
  color: var(--text-faint);
  font-size: 11px;
  text-align: center;
}

.app-footer strong {
  color: var(--accent);
}

.initial-loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding:
    calc(24px + var(--safe-top))
    calc(24px + var(--safe-right))
    calc(24px + var(--safe-bottom))
    calc(24px + var(--safe-left));
  color: var(--text);
  background:
    radial-gradient(
      circle at 50% 28%,
      rgba(255, 255, 255, 0.98),
      transparent 33%
    ),
    radial-gradient(
      circle at 88% 10%,
      rgba(226, 211, 245, 0.64),
      transparent 36%
    ),
    linear-gradient(
      160deg,
      var(--background-cream),
      var(--background-lavender)
    );
  transition:
    opacity 320ms ease,
    visibility 320ms ease;
}

.initial-loader.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.loader-brand {
  display: grid;
  width: 116px;
  height: 116px;
  place-items: center;
  padding: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.96);
  border-radius: 32px;
  box-shadow:
    0 22px 52px rgba(52, 37, 74, 0.14),
    inset 0 1px rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.loader-brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 22px;
}

.loader-copy {
  text-align: center;
}

.loader-copy strong,
.loader-copy span {
  display: block;
}

.loader-copy strong {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.loader-copy span {
  margin-top: 5px;
  color: var(--text-soft);
  font-size: 13px;
}

.loader-spinner {
  width: 25px;
  height: 25px;
  border: 2px solid rgba(124, 58, 237, 0.14);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 800ms linear infinite;
}

.toast-region {
  position: fixed;
  top: calc(82px + var(--safe-top));
  right: max(14px, calc(14px + var(--safe-right)));
  left: max(14px, calc(14px + var(--safe-left)));
  z-index: 1200;
  display: grid;
  justify-items: center;
  gap: 8px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 9px;
  width: min(100%, 520px);
  min-height: 50px;
  padding: 12px 14px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 690;
  background: rgba(35, 31, 41, 0.91);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 17px;
  box-shadow: 0 18px 44px rgba(24, 18, 31, 0.22);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  animation: toast-in 260ms ease both;
}

.toast.is-success {
  background: rgba(30, 128, 86, 0.95);
}

.toast.is-warning {
  background: rgba(157, 91, 36, 0.95);
}

.toast.is-error {
  background: rgba(166, 55, 68, 0.95);
}

.toast svg {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
}

.toast.is-leaving {
  animation: toast-out 220ms ease both;
}

.dialog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: grid;
  place-items: center;
  padding:
    calc(22px + var(--safe-top))
    calc(18px + var(--safe-right))
    calc(22px + var(--safe-bottom))
    calc(18px + var(--safe-left));
  background: rgba(31, 24, 39, 0.42);
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
  animation: fade-in 180ms ease both;
}

.dialog-card {
  width: min(100%, 430px);
  padding: 26px;
  text-align: center;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  animation: dialog-in 240ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.dialog-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin: 0 auto 16px;
  color: var(--danger);
  background: var(--danger-soft);
  border-radius: 19px;
}

.dialog-icon svg {
  width: 29px;
  height: 29px;
}

.dialog-card p {
  margin: 11px 0 21px;
  color: var(--text-soft);
  font-size: 14px;
}

.dialog-card .button {
  width: 100%;
}

@media (min-width: 620px) {
  .topbar {
    padding-right: max(30px, calc(30px + var(--safe-right)));
    padding-left: max(30px, calc(30px + var(--safe-left)));
  }

  .brand {
    font-size: 20px;
  }

  .brand-mark {
    width: 52px;
    height: 52px;
  }

  .auth-badge {
    min-height: 46px;
    padding-right: 17px;
    padding-left: 17px;
    font-size: 14px;
  }

  .app-main {
    padding-right: max(24px, calc(24px + var(--safe-right)));
    padding-left: max(24px, calc(24px + var(--safe-left)));
  }

  .hero-card {
    height: 400px;
  }

  .hero-content {
    padding: 38px 36px;
  }

  .welcome-card,
  .form-card,
  .picker-card,
  .preview-card,
  .progress-card {
    padding: 28px;
  }

  .welcome-card {
    gap: 20px;
    margin-top: 20px;
  }

  .preview-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px;
  }
}

@media (max-width: 430px) {
  .topbar {
    gap: 10px;
    min-height: calc(72px + var(--safe-top));
    padding-top: calc(15px + var(--safe-top));
  }

  .brand {
    gap: 8px;
    font-size: 15px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand > span:last-child {
    max-width: 150px;
  }

  .auth-badge {
    max-width: 128px;
    min-height: 38px;
    gap: 7px;
    padding: 8px 11px;
    font-size: 11px;
  }

  #authBadgeText {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero-card {
    height: clamp(280px, 72vw, 310px);
    border-radius: 28px;
  }

  .hero-content {
    padding: 24px 17px;
  }

  .hero-content .eyebrow {
    margin-bottom: 9px;
    font-size: 9px;
  }

  .hero-content h1 {
    font-size: clamp(30px, 8.7vw, 40px);
  }

  .hero-subtitle {
    margin-top: 11px;
    margin-bottom: 16px;
    font-size: 14px;
  }

  .event-date-row {
    min-height: 34px;
    padding: 6px 12px;
    font-size: 11.5px;
  }

  .welcome-card {
    gap: 15px;
    padding: 22px 20px;
  }

  .welcome-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
  }

  .welcome-card h2,
  .picker-card h2,
  .preview-card h2,
  .progress-card h2,
  .form-card h2 {
    font-size: 20px;
  }

  .button-large {
    min-height: 58px;
    font-size: 16px;
  }

  .upload-heading-row {
    gap: 13px;
    padding-top: 8px;
    padding-bottom: 18px;
  }

  .section-heading h1,
  .upload-heading-copy h1 {
    font-size: clamp(32px, 10vw, 43px);
  }

  .upload-subtitle {
    margin-top: 12px;
    font-size: 15px;
  }

  .icon-button {
    width: 48px;
    height: 48px;
    border-radius: 17px;
  }

  .form-card,
  .picker-card,
  .preview-card,
  .progress-card {
    padding: 22px 20px;
  }

  .identity-heading {
    gap: 12px;
  }

  .identity-heading-icon {
    width: 45px;
    height: 45px;
  }

  .identity-heading h2 {
    font-size: 18px;
  }

  .photo-picker-heading h2 {
    font-size: 20px;
  }

  .picker-actions,
  .photo-picker-actions {
    gap: 10px;
  }

  .picker-button,
  .photo-picker-option {
    min-height: 140px;
    padding: 15px 9px;
    border-radius: 21px;
  }

  .picker-icon,
  .photo-picker-option-icon {
    width: 58px;
    height: 58px;
    border-radius: 20px;
  }

  .picker-icon svg,
  .photo-picker-option-icon svg {
    width: 29px;
    height: 29px;
  }

  .picker-button strong,
  .photo-picker-option-copy strong {
    font-size: 16px;
  }

  .preview-heading {
    gap: 10px;
  }

  .preview-heading h2 {
    font-size: 21px;
  }

  .preview-heading .button-secondary {
    padding-right: 12px;
    padding-left: 12px;
    font-size: 12px;
  }

  .preview-grid {
    gap: 10px;
  }

  .bottom-action-inner {
    gap: 10px;
    padding-left: 15px;
  }

  .bottom-upload-button {
    min-width: 188px;
    min-height: 54px;
    padding-right: 12px;
    padding-left: 12px;
    font-size: 13px;
  }
}

@media (max-width: 365px) {
  .topbar {
    padding-right: max(14px, calc(14px + var(--safe-right)));
    padding-left: max(14px, calc(14px + var(--safe-left)));
  }

  .brand > span:last-child {
    max-width: 125px;
  }

  .auth-badge {
    max-width: 112px;
  }

  .app-main {
    padding-right: max(13px, calc(13px + var(--safe-right)));
    padding-left: max(13px, calc(13px + var(--safe-left)));
  }

  .hero-card {
    height: 270px;
    border-radius: 26px;
  }

  .hero-content h1 {
    font-size: 29px;
  }

  .hero-subtitle {
    margin-bottom: 14px;
    font-size: 13px;
  }

  .event-date-row {
    padding-right: 11px;
    padding-left: 11px;
    font-size: 11px;
  }

  .welcome-card {
    grid-template-columns: 1fr;
  }

  .welcome-icon {
    width: 52px;
    height: 52px;
  }

  .welcome-card .button-large,
  .welcome-card .microcopy {
    grid-column: 1;
  }

  .picker-actions,
  .photo-picker-actions {
    grid-template-columns: 1fr;
  }

  .picker-button,
  .photo-picker-option {
    min-height: 116px;
    flex-direction: row;
    justify-content: flex-start;
    gap: 14px;
    padding: 15px;
    text-align: left;
  }

  .photo-picker-option-copy {
    width: auto;
  }

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

  .bottom-summary {
    display: none;
  }

  .bottom-upload-button {
    width: 100%;
    min-width: 0;
  }

  .success-summary {
    grid-template-columns: 1fr;
  }
}

@media (hover: none) {
  .picker-button:hover:not(:disabled),
  .photo-picker-option:hover:not(:disabled) {
    background: linear-gradient(
      155deg,
      rgba(255, 255, 255, 0.96),
      rgba(249, 246, 252, 0.94)
    );
    border-color: var(--line);
    box-shadow:
      0 8px 20px rgba(52, 37, 74, 0.035),
      inset 0 1px rgba(255, 255, 255, 0.96);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@keyframes screen-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes skeleton {
  to {
    background-position: -220% 0, 0 0;
  }
}

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

@keyframes success-pop {
  0% {
    opacity: 0;
    transform: scale(0.7);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes success-ring {
  0% {
    opacity: 0.65;
    transform: scale(0.72);
  }

  80%,
  100% {
    opacity: 0;
    transform: scale(1.12);
  }
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes toast-out {
  to {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}/* Ocultar el detalle individual de cada fotografía durante la carga */
#fileProgressList {
  display: none !important;
}
