:root {
  --bg: #f7efe7;
  --bg-soft: #fffaf2;
  --card: rgba(255, 252, 246, 0.9);
  --card-solid: #fffaf5;
  --text: #33261f;
  --muted: #806d5e;
  --line: rgba(118, 86, 54, 0.18);
  --line-strong: rgba(138, 99, 53, 0.28);
  --gold: #b8894b;
  --gold-dark: #876236;
  --champagne: #ead5b8;
  --rose: #e7c7bd;
  --sage: #b8c5ad;
  --success: #517b62;
  --danger: #9e4a38;
  --shadow: 0 22px 64px rgba(83, 54, 35, 0.13);
  --shadow-soft: 0 12px 34px rgba(83, 54, 35, 0.08);
  --radius-xl: 14px;
  --radius-lg: 10px;
  --radius-md: 8px;
  --font-title: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 255, 255, 0.94) 0, transparent 24%),
    radial-gradient(circle at 90% 8%, rgba(224, 180, 139, 0.42) 0, transparent 27%),
    radial-gradient(circle at 70% 88%, rgba(184, 197, 173, 0.35) 0, transparent 28%),
    radial-gradient(circle at 14% 88%, rgba(231, 199, 189, 0.38) 0, transparent 30%),
    linear-gradient(135deg, #fff9f1 0%, #f4e6d9 48%, #efe0d4 100%);
  overflow-x: hidden;
}

body::before,
body::after {
  content: '';
  position: fixed;
  z-index: -2;
  pointer-events: none;
}

body::before {
  right: -118px;
  top: 76px;
  width: 340px;
  height: 340px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(184, 137, 75, 0.38), transparent 68%);
  filter: blur(10px);
  opacity: 0.56;
}

body::after {
  left: -130px;
  bottom: 5%;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(184, 197, 173, 0.38), transparent 68%);
  filter: blur(10px);
  opacity: 0.52;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-shell {
  width: min(100%, 940px);
  margin: 0 auto;
  padding: max(22px, env(safe-area-inset-top)) 16px 34px;
}

.hero-card,
.upload-card,
.storage-card,
.page-footer {
  position: relative;
  border: 1px solid rgba(145, 105, 67, 0.16);
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero-card {
  overflow: hidden;
  padding: 34px 18px 28px;
  text-align: center;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(255, 252, 246, 0.96), rgba(250, 239, 226, 0.9)),
    radial-gradient(circle at top left, rgba(184, 137, 75, 0.14), transparent 34%),
    radial-gradient(circle at bottom right, rgba(184, 197, 173, 0.22), transparent 38%);
}

.hero-card::before,
.hero-card::after {
  content: '';
  position: absolute;
  width: 118px;
  height: 118px;
  pointer-events: none;
  opacity: 0.42;
  background:
    linear-gradient(var(--gold), var(--gold)) left top / 62px 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) left top / 1px 62px no-repeat;
}

.hero-card::before {
  left: 16px;
  top: 16px;
}

.hero-card::after {
  right: 16px;
  bottom: 16px;
  transform: rotate(180deg);
}

.hero-ornament {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(184, 137, 75, 0.18);
  border-radius: 9px;
  pointer-events: none;
}

.hero-ornament::before,
.hero-ornament::after {
  content: '✦';
  position: absolute;
  left: 50%;
  color: rgba(138, 99, 53, 0.45);
  font-size: 0.82rem;
  transform: translateX(-50%);
}

.hero-ornament::before { top: -8px; }
.hero-ornament::after { bottom: -8px; }

.eyebrow,
.step-label {
  margin: 0 0 10px;
  color: var(--gold-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-card h1 {
  display: block;
  max-width: 100%;
  margin: 0 auto;
  font-family: var(--font-title);
  font-size: clamp(2.15rem, 10.2vw, 5.7rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
  color: #30231d;
  white-space: nowrap;
  text-wrap: nowrap;
}

.wedding-date {
  margin: 14px 0 0;
  color: var(--gold-dark);
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.soft-divider {
  position: relative;
  width: 118px;
  height: 1px;
  margin: 24px auto 22px;
  background: linear-gradient(90deg, transparent, rgba(184, 137, 75, 0.76), transparent);
}

.soft-divider::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  border: 1px solid rgba(184, 137, 75, 0.68);
  background: #fff8ee;
  transform: translate(-50%, -50%) rotate(45deg);
}

.hero-card h2,
.upload-card h2,
.storage-card h2 {
  margin: 0;
  font-size: clamp(1.35rem, 5.4vw, 2rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.hero-card h2 {
  font-family: var(--font-title);
  font-size: clamp(1.42rem, 6.2vw, 2.28rem);
  font-weight: 700;
}

.intro-text,
.section-heading p,
.storage-detail,
.page-footer p,
.closed-state p {
  color: var(--muted);
  line-height: 1.65;
}

.intro-text {
  max-width: 620px;
  margin: 12px auto 0;
  font-size: 1.01rem;
}

.upload-card,
.storage-card,
.page-footer {
  margin-top: 18px;
  border-radius: var(--radius-xl);
  padding: 22px;
}

.upload-card {
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.94), rgba(255, 248, 239, 0.9));
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading p:not(.step-label) {
  margin: 9px 0 0;
}

.section-heading.compact {
  margin: 30px 0 16px;
}

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

.person-chip {
  position: relative;
  min-height: 56px;
  padding: 13px 38px 13px 14px;
  border: 1px solid rgba(126, 99, 70, 0.24);
  border-radius: var(--radius-md);
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(255, 248, 239, 0.82));
  box-shadow: var(--shadow-soft);
  font-weight: 850;
  text-align: left;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, color 160ms ease;
  -webkit-tap-highlight-color: transparent;
}

.person-chip::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, rgba(184, 137, 75, 0.55), rgba(184, 197, 173, 0.38));
  opacity: 0;
  transition: opacity 160ms ease;
}

.person-chip span:first-child {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.person-chip:active {
  transform: scale(0.988);
}

.person-chip:hover,
.person-chip:focus-visible {
  border-color: rgba(184, 137, 75, 0.5);
  outline: none;
  box-shadow: 0 16px 32px rgba(80, 46, 28, 0.11);
}

.person-chip.is-selected {
  border-color: rgba(138, 99, 53, 0.72);
  background:
    linear-gradient(135deg, rgba(255, 249, 239, 0.98), rgba(234, 213, 184, 0.78)),
    radial-gradient(circle at 20% 20%, rgba(184, 197, 173, 0.28), transparent 46%);
  box-shadow: 0 17px 34px rgba(138, 99, 53, 0.18);
}

.person-chip.is-selected::before {
  opacity: 1;
}

.chip-check {
  position: absolute;
  right: 10px;
  top: 10px;
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 6px;
  background: rgba(138, 99, 53, 0.14);
  color: var(--gold-dark);
  font-size: 0.78rem;
  opacity: 0;
  transform: scale(0.78);
  transition: opacity 160ms ease, transform 160ms ease;
}

.person-chip.is-selected .chip-check {
  opacity: 1;
  transform: scale(1);
}

.upload-form {
  margin-top: 0;
}

.drop-zone {
  display: grid;
  position: relative;
  place-items: center;
  gap: 10px;
  min-height: 194px;
  padding: 24px;
  border: 1.5px dashed rgba(184, 137, 75, 0.42);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(255, 248, 239, 0.84)),
    radial-gradient(circle at center, rgba(184, 137, 75, 0.08), transparent 70%);
  text-align: center;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.drop-zone:hover,
.drop-zone.is-dragover {
  transform: translateY(-1px);
  border-color: rgba(184, 137, 75, 0.72);
  background: rgba(255, 250, 242, 0.92);
  box-shadow: inset 0 0 0 1px rgba(184, 137, 75, 0.08);
}

.drop-zone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.drop-icon {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(184, 137, 75, 0.18), rgba(184, 197, 173, 0.22));
  box-shadow: inset 0 0 0 1px rgba(138, 99, 53, 0.09);
}

.drop-icon svg {
  width: 34px;
  height: 34px;
  fill: var(--gold-dark);
}

.drop-zone strong {
  font-size: 1.18rem;
  letter-spacing: -0.03em;
}

.drop-zone small {
  max-width: 340px;
  color: var(--muted);
  line-height: 1.5;
}

.selected-panel {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.58);
}

.selected-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

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

.selected-summary span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}

.ghost-button {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.68);
  color: var(--gold-dark);
  font-weight: 850;
  padding: 9px 14px;
}

.file-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  max-height: 190px;
  overflow: auto;
}

.file-list li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: var(--radius-md);
  background: rgba(255, 250, 245, 0.82);
  color: var(--text);
  border: 1px solid rgba(126, 99, 70, 0.09);
}

.file-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 7px;
  background: rgba(184, 137, 75, 0.14);
  color: var(--gold-dark);
  font-weight: 900;
  font-size: 0.78rem;
}

.file-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 750;
}

.file-size {
  color: var(--muted);
  font-size: 0.82rem;
  white-space: nowrap;
}

.primary-button {
  width: 100%;
  min-height: 58px;
  margin-top: 18px;
  border: 0;
  border-radius: var(--radius-lg);
  color: #fffdf8;
  background: linear-gradient(135deg, #bd8d51, #856035);
  box-shadow: 0 18px 38px rgba(138, 99, 53, 0.26);
  font-weight: 950;
  letter-spacing: -0.015em;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.primary-button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 22px 44px rgba(138, 99, 53, 0.31);
}

.primary-button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
  box-shadow: none;
}

.message-box {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(158, 74, 56, 0.18);
  background: rgba(158, 74, 56, 0.08);
  color: var(--danger);
  line-height: 1.5;
  font-weight: 750;
}

.message-box.success {
  border-color: rgba(81, 123, 98, 0.20);
  background: rgba(81, 123, 98, 0.10);
  color: var(--success);
}

.notice.warning {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(184, 137, 75, 0.10);
  border: 1px solid rgba(184, 137, 75, 0.22);
  color: var(--gold-dark);
  line-height: 1.5;
  font-weight: 750;
}

.upload-progress {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
}

.upload-progress-top,
.storage-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.upload-progress-top span,
.upload-progress-top strong {
  font-weight: 900;
}

.upload-progress-bar,
.storage-bar {
  overflow: hidden;
  height: 10px;
  margin-top: 12px;
  border-radius: 999px;
  background: rgba(126, 99, 70, 0.13);
}

.upload-progress-bar span,
.storage-bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #b8c5ad, #d8b479, #a6733d);
  transition: width 360ms ease;
}

.upload-progress p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.storage-card {
  overflow: hidden;
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(255, 252, 246, 0.94), rgba(244, 232, 216, 0.86)),
    radial-gradient(circle at 95% 0%, rgba(184, 197, 173, 0.25), transparent 35%);
}

.storage-card::after {
  content: '';
  position: absolute;
  right: 18px;
  top: 18px;
  width: 64px;
  height: 64px;
  border-top: 1px solid rgba(184, 137, 75, 0.26);
  border-right: 1px solid rgba(184, 137, 75, 0.26);
  pointer-events: none;
}

.storage-percent {
  display: grid;
  flex: 0 0 auto;
  min-width: 58px;
  height: 58px;
  place-items: center;
  border-radius: var(--radius-lg);
  color: var(--gold-dark);
  background: rgba(184, 137, 75, 0.12);
  border: 1px solid rgba(184, 137, 75, 0.16);
  font-weight: 950;
}

.storage-detail {
  margin: 12px 0 0;
}

.closed-state {
  text-align: center;
  padding: 22px 8px;
}

.closed-icon {
  display: grid;
  width: 62px;
  height: 62px;
  margin: 0 auto 14px;
  place-items: center;
  border-radius: var(--radius-lg);
  background: rgba(81, 123, 98, 0.12);
  color: var(--success);
  font-weight: 900;
  font-size: 1.8rem;
}

.page-footer {
  margin-top: 18px;
  padding: 18px 20px;
  text-align: center;
  box-shadow: none;
  background: rgba(255, 252, 246, 0.72);
}

.page-footer p {
  margin: 0;
  font-size: 0.92rem;
}

.reveal {
  animation: reveal 520ms ease both;
}

.upload-card.reveal { animation-delay: 90ms; }
.storage-card.reveal { animation-delay: 160ms; }
.page-footer.reveal { animation-delay: 220ms; }

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

@media (min-width: 720px) {
  .page-shell {
    padding: 48px 28px 56px;
  }

  .hero-card {
    padding: 54px 54px 44px;
  }

  .upload-card,
  .storage-card {
    padding: 32px;
  }

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

@media (min-width: 960px) {
  .people-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 370px) {
  .hero-card h1 {
    font-size: clamp(1.92rem, 9.4vw, 2.2rem);
    letter-spacing: -0.06em;
  }

  .people-grid {
    grid-template-columns: 1fr;
  }
}

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


/* v1d visual polish */
:root {
  --shadow: 0 26px 68px rgba(83, 54, 35, 0.12);
  --shadow-soft: 0 14px 36px rgba(83, 54, 35, 0.08);
  --radius-sm: 6px;
}

.hero-card,
.upload-card,
.storage-card,
.page-footer {
  border-color: rgba(145, 105, 67, 0.18);
}

.upload-card,
.storage-card,
.page-footer {
  overflow: hidden;
}

.upload-card::before,
.storage-card::before,
.page-footer::before {
  content: '';
  position: absolute;
  left: 22px;
  right: 22px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 137, 75, 0.42), transparent);
  pointer-events: none;
}

.upload-card::after,
.storage-card::after {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(184, 137, 75, 0.11);
  border-radius: var(--radius-md);
  pointer-events: none;
}

.upload-card {
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.96), rgba(255, 248, 239, 0.92)),
    radial-gradient(circle at 0% 100%, rgba(184, 197, 173, 0.13), transparent 26%);
}

.storage-card {
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(255, 252, 246, 0.96), rgba(244, 232, 216, 0.9)),
    radial-gradient(circle at 95% 0%, rgba(184, 197, 173, 0.25), transparent 35%),
    radial-gradient(circle at 0% 100%, rgba(231, 199, 189, 0.18), transparent 34%);
}

.storage-top > div::after {
  content: '';
  display: block;
  width: 72px;
  height: 1px;
  margin-top: 12px;
  background: linear-gradient(90deg, rgba(184, 137, 75, 0.58), transparent);
}

.hero-card h1 {
  white-space: nowrap;
  text-wrap: nowrap;
}

.people-grid {
  gap: 12px;
}

.person-chip {
  min-height: 72px;
  padding: 15px 18px;
  border-color: rgba(126, 99, 70, 0.22);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(252, 244, 234, 0.98));
  text-align: center;
  box-shadow: var(--shadow-soft);
  isolation: isolate;
  overflow: hidden;
}

.person-chip::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(184, 137, 75, 0.16);
  border-radius: var(--radius-sm);
  opacity: 1;
  width: auto;
  top: 6px;
  bottom: 6px;
  left: 6px;
  background: none;
  transition: border-color 180ms ease, inset 180ms ease;
}

.person-chip::after {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 12px;
  height: 10px;
  background:
    radial-gradient(circle at center, rgba(184, 137, 75, 0.24) 0 26%, transparent 28%),
    linear-gradient(90deg, transparent, rgba(184, 137, 75, 0.4), transparent);
  background-size: 10px 10px, 100% 1px;
  background-repeat: no-repeat;
  background-position: center center, center center;
  pointer-events: none;
}

.person-chip span:first-child {
  position: relative;
  z-index: 1;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.person-chip:hover,
.person-chip:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(184, 137, 75, 0.5);
  box-shadow: 0 18px 36px rgba(80, 46, 28, 0.11);
}

.person-chip.is-selected {
  border-color: rgba(138, 99, 53, 0.68);
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 0.98), rgba(234, 213, 184, 0.92)),
    radial-gradient(circle at 14% 18%, rgba(184, 197, 173, 0.34), transparent 44%),
    radial-gradient(circle at 86% 18%, rgba(231, 199, 189, 0.22), transparent 42%);
  box-shadow: 0 20px 38px rgba(138, 99, 53, 0.16);
}

.person-chip.is-selected::before {
  inset: 5px;
  border-color: rgba(138, 99, 53, 0.26);
}

.chip-check {
  right: 11px;
  top: 11px;
  width: 22px;
  height: 22px;
  border-radius: 0;
  background: rgba(138, 99, 53, 0.12);
  font-size: 0.76rem;
  line-height: 1;
  transform: scale(0.8) rotate(45deg);
}

.chip-check::before {
  content: '';
  position: absolute;
  inset: 1px;
  border: 1px solid rgba(138, 99, 53, 0.25);
}

.person-chip.is-selected .chip-check {
  transform: scale(1) rotate(45deg);
}

.drop-zone {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 248, 239, 0.88)),
    radial-gradient(circle at center, rgba(184, 137, 75, 0.08), transparent 70%);
  overflow: hidden;
}

.drop-zone::before,
.drop-zone::after {
  content: '';
  position: absolute;
  pointer-events: none;
}

.drop-zone::before {
  inset: 9px;
  border: 1px solid rgba(184, 137, 75, 0.12);
  border-radius: var(--radius-md);
}

.drop-zone::after {
  width: 110px;
  height: 1px;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(184, 137, 75, 0.42), transparent);
}

.selected-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 249, 242, 0.78));
}

.ghost-button {
  border: 1px solid rgba(138, 99, 53, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 239, 229, 0.92));
  box-shadow: 0 10px 18px rgba(80, 46, 28, 0.06);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.ghost-button:hover,
.ghost-button:focus-visible {
  outline: none;
  transform: translateY(-1px);
  border-color: rgba(138, 99, 53, 0.34);
  box-shadow: 0 14px 22px rgba(80, 46, 28, 0.08);
}

.primary-button {
  position: relative;
  min-height: 60px;
  border: 1px solid rgba(104, 73, 41, 0.18);
  background: linear-gradient(135deg, #c09357, #8c6536 58%, #7d5a30 100%);
  box-shadow: 0 18px 38px rgba(138, 99, 53, 0.26), inset 0 1px 0 rgba(255,255,255,0.18);
  overflow: hidden;
}

.primary-button::before {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-sm);
  pointer-events: none;
}

.primary-button::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.14) 24%, transparent 48%);
  transform: translateX(-110%);
  transition: transform 420ms ease;
}

.primary-button:hover:not(:disabled),
.primary-button:focus-visible:not(:disabled) {
  outline: none;
  transform: translateY(-1px);
  box-shadow: 0 22px 44px rgba(138, 99, 53, 0.31), inset 0 1px 0 rgba(255,255,255,0.18);
  filter: saturate(1.03);
}

.primary-button:hover:not(:disabled)::after,
.primary-button:focus-visible:not(:disabled)::after {
  transform: translateX(110%);
}

.upload-progress-bar,
.storage-bar {
  height: 12px;
  margin-top: 14px;
  background: linear-gradient(180deg, rgba(126, 99, 70, 0.08), rgba(126, 99, 70, 0.14));
  box-shadow: inset 0 1px 2px rgba(64, 41, 27, 0.08);
}

@media (min-width: 720px) {
  .upload-card,
  .storage-card {
    padding: 32px;
  }
}


/* v1e targeted fix: remove conflicting storage decoration square */
.storage-card::after {
  content: none !important;
  display: none !important;
}
