:root {
  --ink: #111111;
  --ink-soft: #2c2c2c;
  --muted: #696661;
  --faint: #9a9690;
  --line: #ded9d2;
  --line-dark: #c8c2ba;
  --paper: #fbfaf8;
  --paper-warm: #f4f0eb;
  --white: #ffffff;
  --success: #2f7a3f;
  --success-bg: #e8f4ea;
  --shadow-soft: 0 18px 50px rgba(20, 16, 12, 0.12);
  --shadow-card: 0 12px 30px rgba(20, 16, 12, 0.10);
  --shadow-tight: 0 8px 18px rgba(20, 16, 12, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: Arial, Helvetica, sans-serif;
  --container: 1280px;
  --header-h: 68px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  color-scheme: light;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(17, 17, 17, 0.35);
  outline-offset: 3px;
}

.serif {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0;
}

.brand {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.event-brand {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

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

.mobile-only {
  display: none !important;
}

.icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex: 0 0 auto;
}

.icon-fill {
  fill: currentColor;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-btn:hover {
  background: rgba(17, 17, 17, 0.06);
}

.btn {
  min-height: 48px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--ink);
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  color: var(--ink);
  background: var(--white);
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-tight);
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
}

.btn-primary:hover {
  background: #000000;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.86);
}

.btn-full {
  width: 100%;
}

.privacy-note {
  color: var(--muted);
  display: grid;
  justify-items: center;
  gap: 4px;
  text-align: center;
  font-size: 14px;
}

.privacy-note strong {
  color: var(--ink-soft);
  font-weight: 500;
}

.app-footer {
  border-top: 1px solid rgba(222, 217, 210, 0.8);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 24px;
  font-size: 12px;
}

.app-footer a {
  text-decoration: underline;
}

.app-frame {
  min-height: 100vh;
  background: var(--paper);
}

.app-card-frame {
  min-height: 100vh;
  background: var(--paper);
  display: flex;
  flex-direction: column;
}

.app-header {
  min-height: var(--header-h);
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 248, 0.92);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 20;
}

.app-header-center {
  justify-content: center;
}

.header-side {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 80px;
}

.header-side:last-child {
  justify-content: flex-end;
}

.header-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
}

.mobile-status {
  height: 30px;
  padding: 8px 16px 0;
  display: none;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 13px;
}

.status-icons {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.signal {
  width: 18px;
  height: 10px;
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
}

.signal span {
  width: 3px;
  background: currentColor;
  border-radius: 2px;
}

.signal span:nth-child(1) { height: 4px; }
.signal span:nth-child(2) { height: 6px; }
.signal span:nth-child(3) { height: 8px; }
.signal span:nth-child(4) { height: 10px; }

.battery {
  width: 23px;
  height: 11px;
  border: 2px solid currentColor;
  border-radius: 3px;
  position: relative;
}

.battery::before {
  content: "";
  position: absolute;
  right: 2px;
  top: 2px;
  bottom: 2px;
  width: 13px;
  border-radius: 1px;
  background: currentColor;
}

.battery::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 3px;
  width: 2px;
  height: 5px;
  border-radius: 0 2px 2px 0;
  background: currentColor;
}

.site-shell {
  padding: 0;
  background: var(--paper);
}

.browser-frame {
  width: 100%;
  margin: 0 auto;
  background: var(--white);
  border: 0;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}

.browser-bar {
  display: none;
}

.marketing-header {
  height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 0 46px;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 248, 0.94);
  position: sticky;
  top: 0;
  z-index: 30;
}

.marketing-nav,
.marketing-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
  font-weight: 600;
}

.marketing-actions {
  justify-content: flex-end;
}

.hamburger {
  border: 0;
  background: transparent;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

.hamburger span,
.hamburger::before,
.hamburger::after {
  content: "";
  width: 19px;
  height: 1.5px;
  background: currentColor;
  border-radius: 10px;
  display: block;
  position: absolute;
}

.hamburger {
  position: relative;
}

.hamburger::before {
  transform: translateY(-7px);
}

.hamburger::after {
  transform: translateY(7px);
}

.marketing-menu {
  display: none;
}

.hero-marketing {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  min-height: 480px;
  background: linear-gradient(90deg, #fffdf9 0%, #fffdf9 45%, rgba(255,255,255,0) 70%);
  position: relative;
  overflow: hidden;
}

.hero-copy {
  padding: 66px 0 54px 62px;
  max-width: 620px;
  z-index: 2;
}

.hero-copy h1 {
  font-family: var(--serif);
  font-size: 60px;
  line-height: 0.98;
  font-weight: 400;
  margin: 0 0 24px;
}

.hero-copy p {
  color: var(--ink-soft);
  font-size: 17px;
  max-width: 500px;
  margin: 0 0 28px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
}

.hero-point {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-media {
  position: relative;
  min-height: 480px;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -120px;
  width: 260px;
  background: linear-gradient(90deg, #fffdf9 0%, rgba(255,253,249,0.86) 45%, rgba(255,253,249,0) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-media > img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  object-position: 48% 52%;
}

.live-card {
  position: absolute;
  right: 36px;
  bottom: 54px;
  width: 210px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 10px;
  box-shadow: var(--shadow-card);
  padding: 12px;
  z-index: 3;
}

.live-card h3 {
  margin: 0 0 8px;
  font-size: 13px;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.mini-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
}

.live-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
}

.avatar-row {
  display: flex;
  align-items: center;
}

.avatar-row img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--white);
  margin-left: -7px;
}

.avatar-row img:first-child {
  margin-left: 0;
}

.marketing-section {
  padding: 28px 52px;
  border-top: 1px solid var(--line);
}

.section-title {
  text-align: center;
  margin: 0 auto 20px;
}

.section-title h2 {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.05;
  font-weight: 400;
  margin: 0 0 4px;
}

.section-title p {
  color: var(--muted);
  margin: 0;
  font-size: 13px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step-card,
.feature-card,
.pricing-card,
.upload-card,
.memory-tile,
.queue-card,
.complete-action,
.action-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  border-radius: var(--radius-sm);
}

.step-card {
  padding: 22px;
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 16px;
}

.step-icon,
.feature-icon,
.round-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--paper-warm);
  border: 1px solid var(--line);
  color: var(--ink);
}

.step-icon {
  width: 54px;
  height: 54px;
}

.step-card h3,
.feature-card h3,
.pricing-card h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

.step-card p,
.feature-card p,
.pricing-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.feature-card {
  padding: 16px;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  min-height: 108px;
}

.feature-icon {
  width: 44px;
  height: 44px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 940px;
  margin: 0 auto;
}

.pricing-card {
  padding: 26px;
  position: relative;
  min-height: 160px;
}

.pricing-card.popular {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 700;
}

.price {
  font-size: 36px;
  line-height: 1;
  font-weight: 800;
  margin: 20px 0 12px;
}

.price small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.marketing-footer {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 0.8fr) 1.4fr;
  gap: 34px;
  padding: 26px 52px 36px;
  border-top: 1px solid var(--line);
  background: var(--paper);
  font-size: 12px;
  color: var(--muted);
}

.marketing-footer h2,
.marketing-footer h3 {
  color: var(--ink);
  margin: 0 0 10px;
}

.marketing-footer h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 25px;
}

.marketing-footer h3 {
  font-size: 12px;
}

.footer-links {
  display: grid;
  gap: 6px;
}

.signup-form {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.signup-form input {
  min-width: 0;
  flex: 1;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 12px;
  background: var(--white);
}

.signup-form button {
  width: 42px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 0;
  background: var(--ink);
  color: var(--white);
}

.social-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  color: var(--ink-soft);
  font-size: 12px;
}

.guest-landing {
  min-height: 100vh;
  color: var(--white);
  background: #1c1916;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.guest-bg-hero {
  --guest-bg: url("../../stock-images/wedding-stock-pictures/4.png");
}

.guest-landing::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(17, 17, 17, 0.45), rgba(17, 17, 17, 0.14) 42%, rgba(17, 17, 17, 0.44)), var(--guest-bg);
  background-size: cover;
  background-position: center;
  transform: scale(1.01);
}

.guest-landing-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr;
}

.desktop-browser-top {
  display: none;
}

.guest-landing-content {
  min-height: calc(100vh - 30px);
  display: grid;
  align-content: start;
  justify-items: center;
  text-align: center;
  padding: 80px 18px 34px;
}

.heart-mark {
  color: currentColor;
  margin-bottom: 18px;
}

.guest-landing-title {
  font-family: var(--serif);
  font-size: 50px;
  line-height: 0.95;
  font-weight: 400;
  letter-spacing: 0.06em;
  margin: 0 0 14px;
}

.guest-kicker {
  font-size: 12px;
  letter-spacing: 0.2em;
  font-weight: 700;
  margin: 0 0 8px;
}

.guest-subtitle {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.guest-action-card {
  width: min(100%, 520px);
  margin-top: min(28vh, 260px);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 20px 24px;
}

.guest-action {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  gap: 16px;
  text-align: left;
  padding: 12px 0;
}

.guest-action .round-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #090909;
  color: var(--white);
  border: 0;
}

.guest-action h2 {
  margin: 0 0 3px;
  font-size: 17px;
  font-family: var(--sans);
}

.guest-action strong {
  display: block;
  margin: 0 0 3px;
  font-size: 17px;
}

.guest-action p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.guest-action strong + span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.divider {
  height: 1px;
  background: var(--line);
  margin: 4px 0;
}

.guest-action-card .privacy-note {
  padding: 18px 0 6px;
}

.gallery-main,
.complete-main,
.loading-main {
  width: min(100%, 1280px);
  margin: 0 auto;
  flex: 1;
}

.tabs {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 60px;
  height: 100%;
}

.tab {
  border: 0;
  background: transparent;
  height: var(--header-h);
  padding: 0 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  position: relative;
  text-transform: uppercase;
}

.tab.is-active {
  color: var(--ink);
}

.tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--ink);
}

.gallery-top {
  display: grid;
  gap: 18px;
  padding: 20px;
}

.upload-card {
  padding: 24px 22px;
  display: grid;
  gap: 14px;
  justify-items: center;
  text-align: center;
}

.upload-card .round-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 0;
}

.upload-card h1,
.upload-card h2 {
  margin: 0;
  font-size: 21px;
  font-family: var(--sans);
}

.upload-card p {
  color: var(--ink-soft);
  margin: -6px 0 6px;
}

.featured-photo {
  border-radius: var(--radius-sm);
  overflow: hidden;
  min-height: 170px;
}

.featured-photo img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  object-position: center 48%;
}

.gallery-section {
  padding: 0 20px 26px;
}

.gallery-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.gallery-toolbar h1,
.gallery-toolbar h2 {
  margin: 0;
  font-size: 17px;
}

.gallery-toolbar p {
  color: var(--muted);
  margin: 0;
  font-size: 12px;
}

.toolbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
}

.sort-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

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

.media-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: #ddd7cf;
  color: var(--white);
}

.media-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 0.72;
  object-fit: cover;
  transition: transform 180ms ease;
}

.media-card:hover img {
  transform: scale(1.035);
}

.media-card.tall img {
  aspect-ratio: 1 / 1.25;
}

.media-card.square img {
  aspect-ratio: 1;
}

.play-badge,
.duration-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.play-badge {
  left: 12px;
  bottom: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
}

.duration-badge {
  right: 10px;
  bottom: 12px;
  gap: 4px;
  padding: 3px 5px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.48);
  color: var(--white);
  font-size: 12px;
  line-height: 1;
}

.floating-upload,
.mobile-bottom-nav {
  display: none;
}

.complete-main {
  padding: 54px 20px 30px;
  text-align: center;
}

.success-icon {
  width: 62px;
  height: 62px;
  border: 3px solid var(--success);
  border-radius: 50%;
  color: var(--success);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.complete-main h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 44px;
  line-height: 1.08;
  margin: 0 0 12px;
}

.complete-copy {
  margin: 0 auto 24px;
  max-width: 560px;
  color: var(--ink-soft);
  font-size: 17px;
}

.upload-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  margin-bottom: 32px;
  font-size: 14px;
}

.complete-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  max-width: 740px;
  margin: 0 auto 22px;
}

.complete-grid .media-card img {
  aspect-ratio: 1.2 / 1;
}

.check-badge {
  position: absolute;
  z-index: 3;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--success-bg);
  border: 2px solid rgba(47, 122, 63, 0.2);
  color: var(--success);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.complete-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1120px;
  margin: 0 auto 30px;
}

.complete-action {
  min-height: 56px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 700;
}

.complete-action.primary {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.loading-main {
  padding: 48px 20px 28px;
}

.loading-layout {
  display: grid;
  gap: 28px;
}

.loading-content {
  display: grid;
  justify-items: center;
  text-align: center;
}

.loading-icon {
  width: 62px;
  height: 62px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.loading-content h1 {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1.1;
  font-weight: 400;
  margin: 0 0 10px;
}

.loading-content > p {
  margin: 0 0 38px;
  color: var(--ink-soft);
}

.progress-block {
  width: 100%;
  max-width: 600px;
}

.progress-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-weight: 700;
}

.progress-label span:last-child {
  font-weight: 500;
}

.progress {
  height: 8px;
  border-radius: 999px;
  background: #ddd9d3;
  overflow: hidden;
}

.progress span {
  display: block;
  height: 100%;
  width: var(--progress, 75%);
  background: var(--ink);
  border-radius: inherit;
}

.p-0 { --progress: 0%; }
.p-60 { --progress: 60%; }
.p-62 { --progress: 62%; }
.p-75 { --progress: 75%; }
.p-95 { --progress: 95%; }
.p-100 { --progress: 100%; }

.notice-card {
  width: 100%;
  max-width: 600px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.74);
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  text-align: left;
  padding: 18px;
  margin: 28px 0 28px;
}

.notice-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.notice-card strong {
  display: block;
  color: var(--ink-soft);
  margin-bottom: 2px;
}

.uploading-title {
  width: 100%;
  max-width: 760px;
  margin: 0 auto 14px;
  font-size: 15px;
}

.queue-grid {
  width: 100%;
  display: grid;
  gap: 12px;
}

.queue-card {
  padding: 0;
  overflow: hidden;
  text-align: left;
}

.queue-card img {
  width: 100%;
  aspect-ratio: 1.18 / 1;
  object-fit: cover;
}

.queue-info {
  padding: 10px 10px 12px;
}

.queue-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.queue-name {
  font-weight: 700;
  font-size: 13px;
}

.queue-state {
  color: var(--muted);
  font-size: 12px;
}

.queue-progress {
  height: 4px;
  background: #ddd9d3;
  border-radius: 999px;
  overflow: hidden;
}

.queue-progress span {
  display: block;
  height: 100%;
  width: var(--progress, 75%);
  background: var(--ink);
  border-radius: inherit;
}

.queue-complete {
  color: var(--success);
}

.loading-sidebar {
  display: none;
}

.summary-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.7);
  padding: 28px;
}

.summary-card h2 {
  font-size: 17px;
  margin: 0 0 20px;
}

.summary-list {
  display: grid;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.summary-list div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.loading-buttons {
  display: grid;
  gap: 12px;
  width: 100%;
}

.media-viewer {
  min-height: 100vh;
  background: #050505;
  color: var(--white);
  overflow: hidden;
}

.viewer-shell {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr;
  position: relative;
}

.viewer-header {
  height: 62px;
  padding: 0 18px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.36);
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
}

.viewer-header .event-brand {
  color: var(--white);
}

.viewer-desktop-brand,
.viewer-close-desktop {
  display: none;
}

.viewer-back-link {
  display: inline-flex;
}

.viewer-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.viewer-header .icon-btn {
  color: var(--white);
}

.favorite-toggle.is-active {
  color: #ffffff;
}

.favorite-toggle.is-active .heart-path {
  fill: currentColor;
}

.viewer-stage {
  position: relative;
  min-height: 100vh;
}

.viewer-image {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: center;
}

.viewer-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 15;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.42);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.viewer-nav.prev {
  left: 28px;
}

.viewer-nav.next {
  right: 28px;
}

.viewer-info {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 26px;
  z-index: 16;
  min-height: 98px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
  padding: 16px;
  display: grid;
  grid-template-columns: 78px 1fr auto;
  align-items: center;
  gap: 18px;
}

.viewer-info img,
.viewer-sheet img {
  width: 70px;
  height: 70px;
  border-radius: 6px;
  object-fit: cover;
}

.viewer-info h1,
.viewer-sheet h1 {
  margin: 0 0 6px;
  font-family: var(--sans);
  font-size: 16px;
}

.viewer-info p,
.viewer-sheet p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.viewer-count {
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
}

.thumb-strip {
  display: none;
}

.viewer-sheet {
  display: none;
}

@media (max-width: 1199px) {
  .browser-frame {
    width: 100%;
  }

  .browser-bar,
  .marketing-nav,
  .marketing-actions .login-link {
    display: none;
  }

  .marketing-header {
    grid-template-columns: 48px 1fr auto;
    height: 64px;
    padding: 0 22px;
  }

  .marketing-menu {
    display: inline-flex;
  }

  .marketing-header .brand {
    justify-self: center;
  }

  .hero-marketing {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-copy {
    padding: 26px 22px 20px;
    text-align: center;
    justify-self: center;
  }

  .hero-copy h1 {
    font-size: 38px;
  }

  .hero-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    display: grid;
    margin-bottom: 22px;
  }

  .hero-points {
    justify-content: center;
    gap: 16px 22px;
  }

  .hero-media {
    min-height: 310px;
  }

  .hero-media::before {
    display: none;
  }

  .hero-media > img {
    min-height: 310px;
    height: 310px;
  }

  .live-card {
    right: 24px;
    bottom: 28px;
  }

  .marketing-section {
    padding: 28px 22px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .step-card {
    grid-template-columns: 46px 34px 1fr auto;
    padding: 14px;
  }

  .step-card .step-number {
    order: 2;
    color: var(--muted);
  }

  .step-card .step-copy {
    order: 3;
  }

  .step-card .step-icon {
    width: 42px;
    height: 42px;
    order: 1;
  }

  .step-card .arrow {
    order: 4;
  }

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

  .pricing-grid {
    grid-template-columns: repeat(3, minmax(190px, 1fr));
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .marketing-footer {
    grid-template-columns: repeat(2, 1fr);
    padding: 24px 22px;
  }

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

  .tabs {
    gap: 50px;
  }

  .app-header.mobile-grid {
    display: grid;
    grid-template-columns: 52px 1fr auto;
  }

  .app-header.mobile-grid > .event-brand.mobile-only,
  .app-header.mobile-grid .header-side:first-child .mobile-only,
  .app-header.mobile-grid .header-side:last-child .mobile-only {
    display: inline-flex !important;
  }

  .app-header.mobile-grid .header-side:first-child .desktop-only,
  .app-header.mobile-grid .header-side:last-child .desktop-only,
  .app-header.mobile-grid .tabs.desktop-only {
    display: none !important;
  }

  .app-header.mobile-grid .header-link span {
    display: none;
  }

  .tabs.mobile-only {
    display: flex !important;
    border-bottom: 1px solid var(--line);
  }

  .gallery-top {
    padding: 18px 26px 14px;
  }

  .upload-card {
    grid-template-columns: 120px 1fr;
    justify-items: stretch;
    text-align: left;
    align-items: center;
    padding: 20px 26px;
  }

  .upload-card .round-icon {
    grid-row: span 3;
    justify-self: center;
  }

  .upload-card .btn {
    width: 100%;
  }

  .featured-photo img {
    aspect-ratio: 16 / 5.3;
  }

  .gallery-section {
    padding: 0 26px 30px;
  }

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

  .complete-actions {
    max-width: 680px;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .complete-main {
    padding-top: 42px;
  }

  .complete-main h1 {
    font-size: 34px;
  }

  .loading-main {
    padding-top: 28px;
  }

  .loading-content > p {
    margin-bottom: 32px;
  }

  .queue-grid {
    max-width: 640px;
    margin: 0 auto;
  }

  .queue-card {
    display: grid;
    grid-template-columns: 100px 1fr 42px;
    align-items: center;
    padding: 8px;
  }

  .queue-card img {
    width: 88px;
    height: 74px;
    border-radius: 6px;
    aspect-ratio: auto;
  }

  .queue-info {
    padding: 0 10px;
  }

  .loading-buttons {
    max-width: 640px;
    margin: 18px auto 0;
    grid-template-columns: repeat(2, 1fr);
  }

  .loading-main .privacy-note {
    margin-top: 24px;
  }

  .viewer-header {
    grid-template-columns: 1fr auto 1fr;
  }

  .viewer-image {
    object-fit: contain;
    background: #050505;
  }

  .thumb-strip {
    position: absolute;
    z-index: 17;
    left: 24px;
    right: 24px;
    bottom: 118px;
    display: flex;
    gap: 8px;
    overflow: hidden;
    padding: 8px;
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, 0.5);
  }

  .thumb-strip button {
    border: 0;
    background: transparent;
    padding: 0;
    border-radius: 4px;
  }

  .thumb-strip img {
    width: 70px;
    height: 58px;
    object-fit: cover;
    border-radius: 4px;
    opacity: 0.72;
    border: 1px solid transparent;
  }

  .thumb-strip button.is-active img {
    opacity: 1;
    border-color: var(--white);
  }

  .viewer-info {
    border: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    left: 26px;
    right: 26px;
    bottom: 24px;
    min-height: 0;
    padding: 0;
    grid-template-columns: 1fr auto;
  }

  .viewer-info img {
    display: none;
  }
}

@media (min-width: 1200px) {
  .browser-bar {
    display: none;
  }

  .browser-dots {
    display: flex;
    gap: 10px;
  }

  .browser-dots span {
    width: 15px;
    height: 15px;
    border-radius: 50%;
  }

  .browser-dots span:nth-child(1) { background: #ee7d3e; }
  .browser-dots span:nth-child(2) { background: #eec64a; }
  .browser-dots span:nth-child(3) { background: #6abb69; }

  .address-bar {
    justify-self: center;
    width: min(700px, 100%);
    height: 28px;
    border-radius: 7px;
    background: #dfdcd8;
    color: #67635d;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
  }

  .app-card-frame {
    min-height: 100vh;
    width: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
  }

  .gallery-top {
    grid-template-columns: 0.78fr 1.12fr;
    padding: 38px 38px 26px;
  }

  .upload-card {
    min-height: 310px;
    align-content: center;
  }

  .featured-photo {
    min-height: 310px;
  }

  .featured-photo img {
    aspect-ratio: 16 / 8;
  }

  .gallery-section {
    padding: 0 38px 38px;
  }

  .media-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }

  .complete-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    max-width: 1120px;
  }

  .loading-layout {
    grid-template-columns: 1fr 320px;
    align-items: start;
  }

  .loading-content {
    justify-items: stretch;
    text-align: left;
  }

  .loading-content .loading-icon,
  .loading-content h1,
  .loading-content > p {
    justify-self: center;
    text-align: center;
  }

  .progress-block,
  .notice-card,
  .uploading-title {
    max-width: 700px;
  }

  .queue-grid {
    grid-template-columns: repeat(4, 1fr);
    max-width: 840px;
  }

  .loading-sidebar {
    display: grid;
    gap: 26px;
    position: sticky;
    top: 96px;
  }

  .loading-main .privacy-note.mobile-only,
  .loading-main .loading-buttons.mobile-only {
    display: none;
  }

  .viewer-desktop-brand,
  .viewer-close-desktop {
    display: inline-flex;
  }

  .viewer-back-link,
  .viewer-center-brand {
    display: none;
  }
}

@media (max-width: 767px) {
  body {
    background: var(--paper);
    font-size: 14px;
  }

  .mobile-status {
    display: flex;
  }

  .site-shell {
    padding: 0;
  }

  .browser-frame {
    width: 100%;
    min-height: 100vh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .marketing-header {
    height: 58px;
    padding: 0 14px;
    grid-template-columns: 44px 1fr 44px;
  }

  .marketing-actions .btn {
    display: none;
  }

  .brand {
    font-size: 22px;
  }

  .hero-copy {
    padding: 18px 20px 20px;
  }

  .hero-copy h1 {
    font-size: 31px;
  }

  .hero-copy p {
    font-size: 14px;
  }

  .hero-media {
    min-height: 230px;
  }

  .hero-media > img {
    height: 230px;
    min-height: 230px;
  }

  .hero-points {
    display: grid;
    justify-content: stretch;
    text-align: left;
  }

  .live-card {
    width: 150px;
    right: 18px;
    bottom: 16px;
    padding: 8px;
  }

  .live-card h3 {
    font-size: 11px;
  }

  .features-grid,
  .pricing-grid,
  .marketing-footer {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 92px;
  }

  .pricing-grid {
    overflow: visible;
  }

  .marketing-section {
    padding: 24px 18px;
  }

  .marketing-footer {
    gap: 20px;
  }

  .desktop-browser-top {
    display: none;
  }

  .guest-landing-shell {
    grid-template-rows: auto 1fr;
  }

  .guest-landing-content {
    min-height: calc(100vh - 30px);
    padding: 52px 16px 22px;
  }

  .guest-landing-title {
    font-size: 42px;
  }

  .guest-action-card {
    margin-top: min(24vh, 190px);
    padding: 14px 16px;
  }

  .guest-action {
    grid-template-columns: 48px 1fr auto;
    gap: 13px;
  }

  .guest-action .round-icon {
    width: 44px;
    height: 44px;
  }

  .guest-action h2 {
    font-size: 14px;
  }

  .guest-action strong {
    font-size: 14px;
  }

  .guest-action p {
    font-size: 11px;
  }

  .guest-action strong + span {
    font-size: 11px;
  }

  .app-card-frame {
    min-height: 100vh;
    padding-bottom: 86px;
  }

  .app-card-frame.no-bottom-pad {
    padding-bottom: 0;
  }

  .app-header {
    min-height: 58px;
    padding: 0 12px;
    grid-template-columns: 44px 1fr 44px;
  }

  .app-header.mobile-grid {
    display: grid;
  }

  .event-brand {
    font-size: 17px;
    justify-self: center;
  }

  .header-side {
    min-width: 0;
  }

  .header-link span,
  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: initial !important;
  }

  a.mobile-only,
  button.mobile-only,
  .icon-btn.mobile-only {
    display: inline-flex !important;
  }

  .privacy-note.mobile-only,
  .loading-buttons.mobile-only {
    display: grid !important;
  }

  .tabs.mobile-only {
    display: flex !important;
  }

  .tabs {
    height: 50px;
    justify-content: stretch;
    gap: 0;
    border-bottom: 1px solid var(--line);
  }

  .tab {
    flex: 1;
    height: 50px;
    font-size: 12px;
  }

  .gallery-top {
    display: none;
  }

  .gallery-section {
    padding: 0 0 0;
  }

  .gallery-toolbar {
    display: none;
  }

  .media-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
  }

  .media-card {
    border-radius: 0;
  }

  .media-card img,
  .media-card.tall img,
  .media-card.square img {
    aspect-ratio: 1 / 1.28;
  }

  .play-badge {
    left: 7px;
    bottom: 7px;
    width: 23px;
    height: 23px;
  }

  .duration-badge {
    right: 5px;
    bottom: 7px;
    font-size: 10px;
    padding: 2px 4px;
  }

  .floating-upload {
    display: inline-flex;
    position: fixed;
    left: 50%;
    bottom: 76px;
    z-index: 50;
    transform: translateX(-50%);
    width: 62px;
    height: 62px;
    border-radius: 50%;
    border: 1px solid var(--line-dark);
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow-card);
    align-items: center;
    justify-content: center;
  }

  .mobile-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 54px;
    background: rgba(251, 250, 248, 0.94);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(14px);
  }

  .complete-main {
    padding: 28px 16px 24px;
  }

  .success-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
  }

  .complete-main h1 {
    font-size: 28px;
  }

  .complete-copy {
    font-size: 14px;
    max-width: 310px;
    margin-bottom: 18px;
  }

  .upload-count {
    margin-bottom: 20px;
  }

  .complete-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    margin-bottom: 18px;
  }

  .complete-grid .media-card {
    border-radius: 7px;
  }

  .complete-grid .media-card img {
    aspect-ratio: 1 / 0.88;
  }

  .check-badge {
    width: 22px;
    height: 22px;
    top: 5px;
    right: 5px;
  }

  .complete-actions {
    margin-bottom: 24px;
  }

  .complete-action {
    min-height: 48px;
    justify-content: space-between;
  }

  .complete-action.primary {
    justify-content: center;
  }

  .loading-main {
    padding: 22px 16px 24px;
  }

  .loading-content h1 {
    font-size: 26px;
  }

  .loading-icon {
    width: 54px;
    height: 54px;
  }

  .loading-content > p {
    margin-bottom: 30px;
    font-size: 13px;
  }

  .notice-card,
  .uploading-title {
    display: none;
  }

  .queue-grid {
    gap: 8px;
  }

  .queue-card {
    grid-template-columns: 76px 1fr 36px;
  }

  .queue-card img {
    width: 66px;
    height: 58px;
  }

  .queue-name {
    font-size: 12px;
  }

  .queue-state {
    font-size: 11px;
  }

  .loading-buttons {
    grid-template-columns: 1fr;
  }

  .app-footer {
    padding: 12px 14px;
    font-size: 10px;
  }

  .viewer-shell {
    display: block;
  }

  .media-viewer .mobile-status {
    position: fixed;
    z-index: 30;
    left: 0;
    right: 0;
    color: var(--white);
  }

  .viewer-header {
    top: 30px;
    height: 54px;
    padding: 0 10px;
    background: transparent;
  }

  .viewer-header .event-brand {
    font-size: 14px;
  }

  .viewer-actions {
    gap: 0;
  }

  .viewer-actions .icon-btn,
  .viewer-header .icon-btn {
    width: 35px;
    height: 35px;
  }

  .viewer-image {
    height: 100vh;
    object-fit: cover;
    object-position: center;
  }

  .viewer-nav {
    width: 40px;
    height: 40px;
    background: transparent;
  }

  .viewer-nav.prev {
    left: 10px;
  }

  .viewer-nav.next {
    right: 10px;
  }

  .thumb-strip,
  .viewer-info {
    display: none;
  }

  .mobile-counter {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 158px;
    z-index: 16;
    text-align: center;
    color: var(--white);
    font-size: 13px;
  }

  .mobile-counter::after {
    content: "";
    display: block;
    width: 72px;
    height: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    margin: 12px auto 0;
    box-shadow: 34px 0 0 rgba(255, 255, 255, 0.28);
  }

  .viewer-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 22;
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 14px;
    align-items: center;
    min-height: 128px;
    padding: 30px 22px 24px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--ink);
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -18px 45px rgba(0, 0, 0, 0.2);
  }

  .viewer-sheet::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 58px;
    height: 4px;
    border-radius: 999px;
    background: #d4d0ca;
  }

  .viewer-sheet p {
    color: var(--muted);
    font-size: 12px;
  }
}

@media (min-width: 768px) {
  .guest-landing {
    padding: 0;
    background: #1c1916;
  }

  .guest-landing-shell {
    width: 100%;
    min-height: 100vh;
    border: 0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
  }

  .guest-landing-content {
    min-height: 100vh;
  }

  .guest-landing-title {
    font-size: 70px;
  }
}

@media (min-width: 1200px) {
  .guest-landing {
    padding: 0;
  }

  .guest-landing-shell {
    width: 100%;
    grid-template-rows: 1fr;
  }

  .guest-landing::before {
    inset: 0;
    border-radius: 0;
    background-position: center 46%;
  }

  .desktop-browser-top {
    display: none;
  }

  .guest-landing-content {
    min-height: 100vh;
    padding-top: 70px;
  }

  .guest-landing-title {
    font-size: 76px;
  }

  .guest-action-card {
    margin-top: min(24vh, 250px);
  }
}
