:root {
  --bg: #0d0a14;
  --card: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.14);
  --text: #f4eefb;
  --muted: #b3a7c9;
  --accent: #ff5da2;
  --accent-2: #7c5cff;
  --ok: #2ee6a6;
  --danger: #ff6b6b;
}

* { box-sizing: border-box; }
body.app {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(50% 40% at 20% 0%, rgba(124, 92, 255, 0.25), transparent),
    radial-gradient(40% 35% at 90% 10%, rgba(255, 93, 162, 0.2), transparent),
    var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(13, 10, 20, 0.7);
}
.brand {
  font-family: Fraunces, serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text);
  text-decoration: none;
  line-height: 1.1;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.brand__mark {
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  object-fit: cover;
  flex: 0 0 auto;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.brand__name { line-height: 1; }
.brand-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  min-width: 0;
}
.brand-owned {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.72rem;
  line-height: 1;
  white-space: nowrap;
}
.brand-owned:hover {
  color: var(--text);
  text-decoration: none;
}
.brand-owned__logo {
  display: block;
  height: 0.78rem;
  width: auto;
  opacity: 0.95;
}
.brand-owned:hover .brand-owned__logo {
  opacity: 1;
}

@media (max-width: 720px) {
  .brand-owned span { display: none; }
  .brand-owned__logo { height: 0.7rem; }
  .app--marketing .topbar__nav a:not(.btn) { display: none; }
  .topbar__nav .btn--sm { padding: 0.4rem 0.7rem; font-size: 0.82rem; }
}

.onboard {
  margin-bottom: 1.25rem;
  padding: 1.15rem 1.25rem;
  border-color: rgba(255, 93, 162, 0.35);
  background: linear-gradient(135deg, rgba(255, 93, 162, 0.12), rgba(255, 255, 255, 0.03));
}
.onboard__title {
  font-family: Fraunces, serif;
  font-size: 1.25rem;
  margin: 0 0 0.75rem;
}
.onboard__steps {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.55;
}
.onboard__steps li { margin-bottom: 0.35rem; }
.onboard__steps strong { color: var(--text); }
.empty--onboard {
  text-align: left;
  padding: 1.75rem 1.5rem;
}
.empty--onboard h2 {
  font-family: Fraunces, serif;
  margin: 0 0 0.5rem;
}
.empty--onboard > p { margin: 0 0 1rem; color: var(--muted); }

.fx-studio {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 1rem;
  margin: 0 0 0.85rem;
  align-items: start;
}
.fx-mini {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: #120e1a;
  min-height: 220px;
  position: relative;
}
.fx-mini__label {
  position: absolute;
  top: 0.65rem;
  left: 0.75rem;
  z-index: 2;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.fx-mini__stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.fx-mini__stage .fx-balloon,
.fx-mini__stage .fx-butterfly,
.fx-mini__stage .fx-confetti,
.fx-mini__stage .fx-bubble,
.fx-mini__stage .fx-flower,
.fx-mini__stage .fx-bird,
.fx-mini__stage .fx-firework {
  /* keep animations contained in preview */
}
.fx-mini__stage .fx-balloon {
  bottom: -30%;
  animation-duration: 7s;
}
.fx-mini__stage .fx-confetti {
  top: -10%;
}
.fx-mini__stage .fx-flower {
  bottom: 0;
}

@media (max-width: 860px) {
  .fx-studio { grid-template-columns: 1fr; }
  .fx-mini { min-height: 180px; }
}

.mkt-quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.mkt-quotes blockquote {
  margin: 0;
  padding: 0;
  border: none;
}
.mkt-quotes p {
  font-family: Fraunces, serif;
  font-size: 1.15rem;
  line-height: 1.4;
  margin: 0 0 0.75rem;
  color: rgba(255,255,255,0.9);
}
.mkt-quotes footer {
  color: var(--muted);
  font-size: 0.88rem;
}
@media (max-width: 860px) {
  .mkt-quotes { grid-template-columns: 1fr; }
}

.mkt-device__hero--branded {
  background:
    radial-gradient(60% 80% at 70% 20%, rgba(255, 93, 162, 0.45), transparent 60%),
    linear-gradient(160deg, #2a1530 0%, #120e1a 55%, #1a1024 100%);
  display: flex;
  align-items: flex-end;
  padding: 0.85rem 1rem;
}

/* Hero uses Unsplash photos via <img> */
.mkt-hero__slide--a,
.mkt-hero__slide--b,
.mkt-hero__slide--c {
  background: #120e1a;
}
.mkt-hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.04);
  transition: transform 8s ease;
}
.mkt-hero__slide.is-active img {
  transform: scale(1);
}

.topbar__nav { display: flex; gap: 1rem; align-items: center; }
.topbar__nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.topbar__nav a:hover { color: var(--text); }

.wrap { width: min(980px, calc(100% - 2rem)); margin: 0 auto; padding: 2rem 0 4rem; }

.flash {
  width: min(980px, calc(100% - 2rem));
  margin: 1rem auto 0;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.flash--ok { background: rgba(46, 230, 166, 0.12); border-color: rgba(46, 230, 166, 0.35); }
.flash--err { background: rgba(255, 107, 107, 0.12); border-color: rgba(255, 107, 107, 0.35); }

.hero { padding: 2rem 0 1rem; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.hero h1 {
  font-family: Fraunces, serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}
.lead { color: var(--muted); font-size: 1.05rem; max-width: 42rem; line-height: 1.6; }
.hero__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.5rem; }

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.features article {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.25rem;
}
.features h2 { font-family: Fraunces, serif; font-size: 1.2rem; margin: 0 0 0.5rem; }
.features p { color: var(--muted); margin: 0; line-height: 1.5; font-size: 0.95rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 0.75rem 1.15rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { filter: brightness(1.05); text-decoration: none; color: #fff; }
.btn--sm { padding: 0.45rem 0.85rem; font-size: 0.9rem; }
.btn--ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.btn--ghost:hover { color: var(--text); }
.btn--danger { background: var(--danger); }

.auth-card, .panel, .empty, .event-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.35rem;
}
.auth-card { max-width: 420px; margin: 2rem auto; }
.auth-card h1, .panel h2 { font-family: Fraunces, serif; margin-top: 0; }

.stack { display: flex; flex-direction: column; gap: 0.9rem; }
label { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.9rem; color: var(--muted); }
input, textarea, select {
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  padding: 0.7rem 0.8rem;
  font: inherit;
}
textarea { resize: vertical; }
.muted { color: var(--muted); }
.inline-form { display: inline; }
.linkish {
  background: none; border: none; color: var(--muted); font: inherit; cursor: pointer; padding: 0;
}
.linkish:hover { color: var(--text); text-decoration: underline; }
.linkish.danger { color: var(--danger); }

.check-row {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}
.check-row input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  flex: 0 0 auto;
  accent-color: var(--accent);
}
.check-row a { color: var(--text); text-decoration: underline; }

.legal {
  max-width: 760px;
  margin: 0 auto 2rem;
  line-height: 1.55;
}
.legal h1 { font-family: Fraunces, serif; margin-top: 0; }
.legal h2 {
  font-family: Fraunces, serif;
  font-size: 1.15rem;
  margin: 1.6rem 0 0.55rem;
}
.legal ol, .legal ul { padding-left: 1.25rem; margin: 0.4rem 0 0.8rem; }
.legal li { margin: 0.35rem 0; }
.legal p { margin: 0.45rem 0; color: var(--muted); }
.legal li, .legal strong { color: var(--text); }
.legal p strong { color: var(--text); }

.site-footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }

.site-footer--mkt {
  max-width: none;
  border-top: 1px solid var(--border);
  margin: 0;
  padding: 1.75rem 1.25rem 2.5rem;
  background: #0a0810;
}
.site-footer__inner {
  width: min(1100px, calc(100% - 0rem));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
}
.site-footer__branding {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  margin-right: auto;
}
.site-footer__brand {
  font-family: Fraunces, serif;
  font-weight: 700;
  color: var(--text);
  margin-right: 0;
  line-height: 1.1;
}
.site-footer__owned {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  white-space: nowrap;
}
.site-footer__owned:hover {
  color: var(--text);
  text-decoration: none;
}
.site-footer__logo {
  display: block;
  height: 0.95rem;
  width: auto;
  opacity: 0.95;
}
.site-footer__owned:hover .site-footer__logo {
  opacity: 1;
}

.btn--lg {
  padding: 0.95rem 1.45rem;
  font-size: 1.02rem;
  border-radius: 14px;
}

/* ---------- Marketing homepage ---------- */
.app--marketing {
  background: #0a0810;
}
.app--marketing .topbar--over {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease;
}
.app--marketing .topbar--over .brand {
  font-size: 1.15rem;
  opacity: 0.95;
  letter-spacing: -0.01em;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}
.app--marketing .topbar--over .brand__mark {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28), 0 6px 18px rgba(0, 0, 0, 0.35);
}
.app--marketing .topbar--over .brand-owned {
  color: rgba(244, 238, 251, 0.62);
}
.app--marketing .topbar--over .brand-owned:hover {
  color: rgba(244, 238, 251, 0.9);
}

.mkt-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: clamp(5.5rem, 12vh, 7rem) clamp(1.25rem, 4vw, 3rem) clamp(3.5rem, 8vh, 5rem);
  overflow: hidden;
}
.mkt-hero__media { position: absolute; inset: 0; z-index: 0; }
.mkt-hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.35s ease, transform 8s ease;
}
.mkt-hero__slide.is-active { opacity: 1; transform: scale(1); }
.mkt-hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(10, 8, 16, 0.72) 0%, rgba(10, 8, 16, 0.35) 48%, rgba(10, 8, 16, 0.55) 100%),
    linear-gradient(180deg, rgba(10, 8, 16, 0.25) 0%, rgba(10, 8, 16, 0.5) 45%, rgba(10, 8, 16, 0.94) 100%),
    radial-gradient(55% 45% at 75% 35%, rgba(255, 93, 162, 0.22), transparent 70%);
}
.mkt-hero__copy {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  animation: mktRise 1s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.mkt-brand {
  font-family: Fraunces, serif;
  font-weight: 700;
  font-size: clamp(3rem, 10vw, 5.4rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  color: #fff;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.mkt-brand--sm {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  margin-bottom: 0.65rem;
  text-shadow: none;
}
.mkt-headline {
  font-family: Fraunces, serif;
  font-weight: 600;
  font-size: clamp(1.4rem, 3.4vw, 2rem);
  line-height: 1.22;
  margin: 0 0 0.85rem;
  color: rgba(255, 255, 255, 0.94);
  max-width: 24ch;
}
.mkt-headline--sm {
  max-width: 18ch;
  font-size: clamp(1.55rem, 3.6vw, 2.2rem);
  margin-left: auto;
  margin-right: auto;
}
.mkt-sub {
  color: rgba(244, 238, 251, 0.8);
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  line-height: 1.55;
  margin: 0;
  max-width: 36rem;
}
.mkt-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.65rem;
}
.mkt-cta--center { justify-content: center; margin-top: 2.5rem; }
.mkt-cta .btn--ghost {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  backdrop-filter: blur(6px);
}
.mkt-reassure {
  margin: 1rem 0 0;
  color: rgba(244, 238, 251, 0.62);
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}
.mkt-reassure--center { text-align: center; }
.mkt-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  z-index: 2;
  transform: translateX(-50%);
  width: 28px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 16px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  text-decoration: none;
}
.mkt-scroll span {
  width: 4px;
  height: 8px;
  border-radius: 4px;
  background: #fff;
  animation: mktScroll 1.6s ease-in-out infinite;
}

.mkt-section {
  width: min(1040px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: clamp(4rem, 10vw, 6.5rem) 0;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.mkt-section.is-in,
.mkt-finale.is-in,
.mkt-show.is-in,
.mkt-occasions-band.is-in,
.mkt-trust.is-in,
.mkt-mosaic.is-in {
  opacity: 1;
  transform: none;
}
.mkt-section--tight { padding-top: clamp(3rem, 7vw, 4.5rem); }
.mkt-kicker {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.mkt-kicker--light { color: #ff8fbd; }
.mkt-h2 {
  font-family: Fraunces, serif;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1.12;
  margin: 0 0 0.9rem;
  letter-spacing: -0.02em;
}
.mkt-h3 {
  font-family: Fraunces, serif;
  font-size: 1.35rem;
  margin: 0 0 0.75rem;
  line-height: 1.2;
}
.mkt-lead {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
  max-width: 40rem;
  margin: 0 0 2.25rem;
}
.mkt-lead--wide { max-width: 46rem; }

.mkt-split-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
  padding-top: 0.5rem;
}
.mkt-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.mkt-bullets li {
  position: relative;
  padding-left: 1.15rem;
  color: rgba(244, 238, 251, 0.88);
  line-height: 1.5;
}
.mkt-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
}
.mkt-bullets--mute li { color: var(--muted); }
.mkt-bullets--mute li::before { background: rgba(255, 255, 255, 0.28); }

.mkt-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem 2rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}
.mkt-feature h3 {
  font-family: Fraunces, serif;
  font-size: 1.3rem;
  margin: 0 0 0.55rem;
}
.mkt-feature p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.mkt-show {
  position: relative;
  width: 100%;
  margin: 0;
  padding: clamp(4rem, 9vw, 6rem) 0;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s ease, transform 0.75s ease;
  overflow: hidden;
}
.mkt-show__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 80% at 85% 50%, rgba(255, 93, 162, 0.14), transparent 65%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.mkt-show__inner {
  position: relative;
  width: min(1100px, calc(100% - 2.5rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.mkt-show .mkt-lead { margin-bottom: 1.25rem; }
.mkt-show .mkt-cta { margin-top: 1.5rem; }
.mkt-check {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.mkt-check li {
  padding-left: 1.4rem;
  position: relative;
  color: rgba(244, 238, 251, 0.85);
  line-height: 1.45;
}
.mkt-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.mkt-show__visual {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mkt-device {
  width: min(260px, 78%);
  padding: 0.65rem;
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  transform: rotate(-3deg);
  z-index: 1;
}
.mkt-device__screen {
  border-radius: 22px;
  overflow: hidden;
  background: #120e1a;
}
.mkt-device__hero {
  height: 140px;
  background: #1a1024;
  position: relative;
  overflow: hidden;
}
.mkt-device__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mkt-device__hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(18, 14, 26, 0.9));
  pointer-events: none;
}
.mkt-device__brand {
  font-family: Fraunces, serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  position: absolute;
  left: 0.85rem;
  bottom: 0.65rem;
  z-index: 1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}
.mkt-device__body { padding: 1rem 1.05rem 1.2rem; }
.mkt-device__eyebrow {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.35rem;
}
.mkt-device__title {
  font-family: Fraunces, serif;
  font-size: 1.3rem;
  margin: 0 0 0.35rem;
  line-height: 1.15;
}
.mkt-device__meta {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
}
.mkt-device__actions { display: grid; gap: 0.4rem; }
.mkt-device__actions span {
  display: block;
  text-align: center;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
}
.mkt-device__actions span:first-child {
  background: linear-gradient(100deg, var(--accent), #ff7eb8);
  color: #fff;
}
.mkt-device__actions span:last-child {
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.7);
}
.mkt-dash {
  position: absolute;
  right: 0;
  bottom: 8%;
  width: min(210px, 55%);
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: rgba(18, 14, 26, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  transform: rotate(2deg);
  z-index: 2;
}
.mkt-dash__label {
  margin: 0 0 0.75rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.mkt-dash__row {
  display: flex;
  justify-content: space-between;
  margin: 0 0 0.45rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
}
.mkt-dash__row strong {
  font-family: Fraunces, serif;
  color: #fff;
}
.mkt-dash__note {
  margin: 0.75rem 0 0;
  font-size: 0.78rem;
  color: var(--accent);
}

.mkt-mosaic {
  width: 100%;
  margin: 0;
  padding: 0.5rem 0 0;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.75s ease, transform 0.75s ease;
  overflow: hidden;
}
.mkt-mosaic__track {
  display: grid;
  grid-template-columns: repeat(6, minmax(160px, 1fr));
  gap: 0.55rem;
  width: min(1400px, 100%);
  margin: 0 auto;
  padding: 0 0.75rem;
}
.mkt-mosaic__shot {
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  overflow: hidden;
  background: #120e1a;
}
.mkt-mosaic__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mkt-mosaic__shot:nth-child(even) { transform: translateY(18px); }

.mkt-story {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  margin-bottom: clamp(2.75rem, 6vw, 4rem);
}
.mkt-story:last-child { margin-bottom: 0; }
.mkt-story--flip .mkt-story__media { order: 2; }
.mkt-story--flip .mkt-story__text { order: 1; }
.mkt-story__media {
  min-height: 280px;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border);
}
.mkt-story__text .mkt-bullets { margin-top: 1.1rem; }
.mkt-story__text p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 1.05rem;
}

.mkt-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.mkt-steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mkt-steps li {
  display: grid;
  gap: 0.85rem;
  align-content: start;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.mkt-steps__n {
  font-family: Fraunces, serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.mkt-steps h3 {
  font-family: Fraunces, serif;
  font-size: 1.2rem;
  margin: 0 0 0.4rem;
}
.mkt-steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.mkt-occasions-band {
  position: relative;
  width: 100%;
  margin: 0;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s ease, transform 0.75s ease;
  background: #0a0810;
  overflow: hidden;
}
.mkt-occasions-band__photo {
  position: absolute;
  inset: 0;
}
.mkt-occasions-band__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mkt-occasions-band__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 8, 16, 0.35) 0%, rgba(10, 8, 16, 0.88) 68%, #0a0810 100%),
    radial-gradient(50% 60% at 20% 80%, rgba(255, 93, 162, 0.2), transparent 70%);
}
.mkt-occasions-band__inner {
  position: relative;
  width: min(1100px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: clamp(4.5rem, 11vw, 7rem) 0 clamp(3.5rem, 7vw, 5rem);
}
.mkt-occasions-band .mkt-lead {
  color: rgba(244, 238, 251, 0.78);
  margin-bottom: 2rem;
}
.mkt-occasions {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.mkt-occasions li {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  font-weight: 500;
}
.mkt-occasion-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem 1.75rem;
}
.mkt-occasion-grid h3 {
  font-family: Fraunces, serif;
  font-size: 1.25rem;
  margin: 0 0 0.4rem;
  color: #fff;
}
.mkt-occasion-grid p {
  margin: 0;
  color: rgba(244, 238, 251, 0.7);
  line-height: 1.5;
  font-size: 0.98rem;
}

.mkt-inventory {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1.75rem;
}
.mkt-inventory li {
  position: relative;
  padding-left: 1.25rem;
  color: rgba(244, 238, 251, 0.88);
  line-height: 1.45;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 0.85rem;
}
.mkt-inventory li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
}

.mkt-price-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
  max-width: 720px;
}
.mkt-price-row--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: none;
}
.mkt-price {
  position: relative;
  padding: 1.45rem 1.4rem 1.55rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.mkt-price h3 {
  font-family: Fraunces, serif;
  font-size: 1.25rem;
  margin: 0;
}
.mkt-price__tag {
  position: absolute;
  top: 0.9rem;
  right: 1rem;
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.mkt-price__amount {
  font-family: Fraunces, serif;
  font-size: 2.35rem;
  font-weight: 700;
  margin: 0.15rem 0 0.35rem;
  line-height: 1;
}
.mkt-price__amount--sm {
  font-size: 1.45rem;
  line-height: 1.2;
  margin-top: 0.4rem;
}
.mkt-price__amount span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  margin-left: 0.2rem;
}
.mkt-price__desc {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}
.mkt-price__list {
  list-style: none;
  margin: 0 0 1.15rem;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.4;
  flex: 1;
}
.mkt-price__list li::before {
  content: "– ";
  color: var(--accent);
}
.mkt-price .btn {
  align-self: flex-start;
  margin-top: auto;
}
.mkt-price--accent {
  border-color: rgba(255, 93, 162, 0.5);
  background:
    linear-gradient(165deg, rgba(255, 93, 162, 0.16), rgba(255, 255, 255, 0.03) 55%);
}
.mkt-price-note {
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 40rem;
}

.mkt-trust {
  width: 100%;
  margin: 0;
  padding: clamp(3.5rem, 8vw, 5rem) 0;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s ease, transform 0.75s ease;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
}
.mkt-trust__inner {
  width: min(1040px, calc(100% - 2.5rem));
  margin: 0 auto;
}
.mkt-trust__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}
.mkt-trust__grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.mkt-faq {
  display: grid;
  gap: 0.7rem;
  max-width: 44rem;
}
.mkt-faq details {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.95rem 1.1rem;
  background: rgba(255, 255, 255, 0.03);
}
.mkt-faq summary {
  cursor: pointer;
  font-family: Fraunces, serif;
  font-size: 1.08rem;
  font-weight: 600;
  list-style: none;
}
.mkt-faq summary::-webkit-details-marker { display: none; }
.mkt-faq summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-weight: 700;
}
.mkt-faq details[open] summary::after { content: "–"; }
.mkt-faq details p {
  margin: 0.8rem 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0.75rem;
  z-index: 100;
  background: #fff;
  color: #111;
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  font-weight: 600;
}
.skip-link:focus { left: 0.75rem; }

.mkt-finale {
  text-align: center;
  padding: clamp(4.5rem, 12vw, 7.5rem) 1.25rem;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s ease, transform 0.75s ease;
  background:
    radial-gradient(55% 70% at 50% 100%, rgba(255, 93, 162, 0.2), transparent 72%);
}
.mkt-finale .mkt-sub {
  margin-left: auto;
  margin-right: auto;
}
.mkt-finale .mkt-cta { justify-content: center; }

@keyframes mktRise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}
@keyframes mktScroll {
  0%, 100% { opacity: 0.35; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(8px); }
}

@media (max-width: 960px) {
  .mkt-show__inner,
  .mkt-story,
  .mkt-features,
  .mkt-split-text,
  .mkt-inventory,
  .mkt-trust__grid,
  .mkt-occasion-grid,
  .mkt-price-row,
  .mkt-price-row--3,
  .mkt-steps,
  .mkt-steps--4 {
    grid-template-columns: 1fr;
  }
  .mkt-story--flip .mkt-story__media,
  .mkt-story--flip .mkt-story__text { order: initial; }
  .mkt-mosaic__track { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mkt-mosaic__shot:nth-child(n+4) { display: none; }
  .mkt-mosaic__shot:nth-child(even) { transform: none; }
  .mkt-device { transform: none; }
  .mkt-dash {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(260px, 100%);
    margin: 1rem auto 0;
    transform: none;
  }
  .mkt-show__visual {
    flex-direction: column;
    min-height: 0;
  }
  .mkt-hero { min-height: 92vh; }
  .mkt-headline { max-width: none; }
  .mkt-scroll { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .mkt-hero__copy { animation: none; }
  .mkt-hero__slide { transition: none; transform: none; }
  .mkt-scroll span { animation: none; }
  .mkt-section,
  .mkt-finale,
  .mkt-show,
  .mkt-occasions-band,
  .mkt-trust,
  .mkt-mosaic {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Admin analytics ---------- */
.admin-range { display: flex; gap: 0.45rem; flex-wrap: wrap; }
.admin-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.admin-kpi {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.admin-kpi__label {
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.admin-kpi strong {
  font-family: Fraunces, serif;
  font-size: 1.85rem;
  line-height: 1.1;
}
.admin-kpi small { color: var(--muted); font-size: 0.82rem; }

.admin-chart {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 160px;
  margin-top: 1rem;
  padding-top: 0.5rem;
}
.admin-chart__col {
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: flex-end;
}
.admin-chart__bars {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  gap: 1px;
}
.admin-chart__bar {
  flex: 1;
  min-height: 2px;
  border-radius: 3px 3px 0 0;
  display: block;
}
.admin-chart__bar--landing { background: rgba(124, 92, 255, 0.75); }
.admin-chart__bar--invite { background: rgba(255, 93, 162, 0.8); }

.admin-line-wrap {
  margin-top: 0.75rem;
  width: 100%;
  overflow-x: auto;
}
.admin-svg {
  width: 100%;
  height: auto;
  display: block;
  min-height: 200px;
}
.admin-svg__grid {
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 1;
}
.admin-svg__axis {
  fill: var(--muted);
  font-size: 11px;
  font-family: Inter, system-ui, sans-serif;
}
.admin-svg__hole { fill: var(--bg); }
.admin-svg__center {
  fill: var(--text);
  font-size: 18px;
  font-family: Fraunces, Georgia, serif;
  font-weight: 700;
}
.admin-svg--pie { min-height: 0; width: 180px; height: 180px; flex: 0 0 auto; }
.admin-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}
.admin-legend i {
  display: inline-block;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 2px;
  margin-right: 0.35rem;
  vertical-align: middle;
}
.admin-pie-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}
.admin-pie-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.admin-pie-legend strong { color: var(--text); margin-left: 0.35rem; }
.admin-swatch {
  display: inline-block;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 3px;
  margin-right: 0.4rem;
  vertical-align: middle;
}
.admin-funnel {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}
.admin-funnel__meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
}
.admin-funnel__meta strong {
  font-family: Fraunces, serif;
  font-size: 1.15rem;
}
.admin-funnel__bar {
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.admin-funnel__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
}
.admin-share {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 8rem;
}
.admin-share__bar {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  min-width: 2px;
  max-width: 7rem;
  flex: 1 1 auto;
}
.admin-checklist {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}
.admin-checklist li {
  padding-left: 1.4rem;
  position: relative;
}
.admin-checklist li::before {
  content: "·";
  position: absolute;
  left: 0.35rem;
  color: var(--muted);
}
.admin-checklist li.is-ok::before {
  content: "✓";
  color: var(--ok);
  font-weight: 700;
}
.admin-steps {
  margin: 0.75rem 0 1.25rem;
  padding-left: 1.25rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}
.admin-steps li { margin: 0.4rem 0; }
.admin-steps code {
  font-size: 0.82rem;
  background: rgba(255,255,255,0.06);
  padding: 0.1rem 0.35rem;
  border-radius: 6px;
  word-break: break-all;
}
.admin-seo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.admin-table-wrap { overflow-x: auto; margin-top: 0.75rem; }
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.admin-table th,
.admin-table td {
  text-align: left;
  padding: 0.65rem 0.55rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.admin-table th {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.admin-table code {
  font-size: 0.8rem;
  background: rgba(255,255,255,0.06);
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
}
.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (max-width: 860px) {
  .admin-grid { grid-template-columns: 1fr; }
}
.admin-search {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.admin-search input {
  flex: 1;
  min-width: 0;
}
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.stack-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.stack-form .field { margin: 0; }
.stack-form .check {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--muted);
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.85rem;
}
.plan-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.plan-card.is-current {
  border-color: rgba(255, 93, 162, 0.55);
  box-shadow: 0 0 0 1px rgba(255, 93, 162, 0.25);
}
.plan-card h2 {
  margin: 0;
  font-family: Fraunces, serif;
  font-size: 1.35rem;
}
.plan-card__price {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 700;
}
.plan-card__price span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  margin-left: 0.2rem;
}
.plan-card__list {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  font-size: 0.92rem;
  line-height: 1.45;
}
.plan-card__terms {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0 0 0.85rem;
  line-height: 1.4;
}
.plan-card__form .btn {
  width: 100%;
}
.plan-card--accent {
  box-shadow: 0 0 0 1px rgba(255, 93, 162, 0.35);
}

.video-studio {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 900px) {
  .video-studio {
    grid-template-columns: 1fr 1fr;
  }
}
.video-block {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}
.video-block h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}
.video-preview {
  width: 100%;
  max-height: 280px;
  border-radius: 12px;
  background: #000;
  margin-bottom: 0.75rem;
}
.video-upload-form {
  display: grid;
  gap: 0.65rem;
}
.video-recorder__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.video-recorder__timer {
  font-variant-numeric: tabular-nums;
}
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
}
.invoice-preview {
  background: #fff;
  color: #1a1520;
}
.invoice-preview h1 { color: #1a1520; }
.panel--danger {
  border-color: rgba(255, 107, 107, 0.35);
}
.panel--danger h2 { color: var(--danger); }
.layout-studio {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.15fr);
  gap: 1rem;
  align-items: start;
}
.layout-studio__controls {
  margin: 0;
}
.layout-studio__preview {
  margin: 0;
  position: sticky;
  top: 1rem;
  padding: 1rem;
}
.layout-subtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}
.layout-preview-head h2 {
  margin: 0 0 0.25rem;
}
.layout-preview-head .muted {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
}
.layout-preview-frame-wrap {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0b0613;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: min(68vh, 640px);
}
.layout-preview-frame {
  border: 0;
  display: block;
  background: #0b0613;
  width: 1440px;
  height: 900px;
  transform-origin: top left;
  pointer-events: none;
}
.layout-preview-empty {
  margin: 0;
  padding: 2rem 1.25rem;
  text-align: center;
}
@media (max-width: 980px) {
  .layout-studio {
    grid-template-columns: 1fr;
  }
  .layout-studio__preview {
    position: static;
    order: -1;
  }
  .layout-preview-frame-wrap {
    max-height: min(42vh, 360px);
  }
}

.theme-block {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.theme-block.is-locked {
  opacity: 0.95;
}
.theme-presets {
  border: 0;
  margin: 0.75rem 0 1rem;
  padding: 0;
}
.theme-presets legend {
  font-weight: 600;
  margin-bottom: 0.55rem;
}
.theme-preset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.6rem;
}
.theme-preset {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.65rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  background: rgba(255,255,255,0.03);
  font-size: 0.85rem;
}
.theme-preset:has(input:checked) {
  border-color: rgba(255, 93, 162, 0.55);
  box-shadow: 0 0 0 1px rgba(255, 93, 162, 0.25);
}
.theme-preset input { position: absolute; opacity: 0; pointer-events: none; }
.theme-preset__swatch {
  display: block;
  height: 42px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--sw-a), var(--sw-b)) 0 0 / 45% 100% no-repeat,
    var(--sw-bg);
  border: 1px solid rgba(255,255,255,0.12);
}
.theme-preset__swatch--custom {
  background:
    conic-gradient(from 180deg, #ff5da2, #7c5cff, #2ee6a6, #ff8a4c, #ff5da2);
}
.theme-custom {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.65rem;
  margin-bottom: 1rem;
}
.field--color input[type="color"] {
  width: 100%;
  height: 2.4rem;
  padding: 0.15rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
}

.dash-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.dash-head h1 { font-family: Fraunces, serif; margin: 0.2rem 0; }

.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.event-card { color: inherit; text-decoration: none; transition: transform 0.15s ease; }
.event-card:hover { transform: translateY(-2px); text-decoration: none; }
.event-card h2 { font-family: Fraunces, serif; font-size: 1.25rem; margin: 0 0 0.35rem; }
.stats { display: flex; gap: 1rem; flex-wrap: wrap; color: var(--muted); font-size: 0.9rem; }
.stats strong { color: var(--text); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.panel { margin-bottom: 1rem; }
.share-row { display: flex; gap: 0.6rem; }
.share-row input { flex: 1; }

.photo-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1rem;
}
.photo-row {
  display: grid;
  grid-template-columns: 2rem 72px 1fr;
  gap: 0.75rem;
  align-items: center;
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.5rem 0.65rem;
}
.photo-row__nr {
  font-weight: 700;
  color: var(--muted);
  text-align: center;
}
.photo-row img {
  width: 72px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.photo-row__actions {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  align-items: center;
}
.photo-row__actions form { display: inline; }
.photo-row__actions button:disabled { opacity: 0.35; cursor: not-allowed; }

/* ---------- Photos manager ---------- */
.photo-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.photo-head h2 { margin: 0; }
.danger-text { color: var(--danger) !important; border-color: rgba(255, 107, 107, 0.35) !important; }
.photo-meter {
  margin-bottom: 1.1rem;
}
.photo-meter__top {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}
.photo-meter__track {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.photo-meter__fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  min-width: 0;
}
.photo-upload { margin-bottom: 1.25rem; }
.photo-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.photo-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-align: center;
  padding: 1.6rem 1.2rem;
  border: 1.5px dashed rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.photo-drop:hover,
.photo-drop.is-drag {
  border-color: rgba(255, 93, 162, 0.55);
  background: rgba(255, 93, 162, 0.08);
}
.photo-drop.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}
.photo-drop__title {
  color: var(--text);
  font-weight: 600;
}
.photo-drop__hint {
  color: var(--muted);
  font-size: 0.85rem;
  max-width: 32rem;
  line-height: 1.4;
  margin-bottom: 0.35rem;
}
.photo-upload__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}
.photo-empty {
  text-align: center;
  padding: 1.5rem 1rem;
  color: var(--muted);
  border: 1px dashed var(--border);
  border-radius: 14px;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.85rem;
}
.photo-tile {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.photo-tile__media {
  position: relative;
  aspect-ratio: 3 / 4;
  background: rgba(0, 0, 0, 0.25);
  cursor: crosshair;
}
.photo-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.photo-tile__nr {
  position: absolute;
  left: 0.45rem;
  top: 0.45rem;
  min-width: 1.55rem;
  height: 1.55rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: rgba(10, 8, 16, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.photo-tile__focus {
  position: absolute;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: rgba(255, 93, 162, 0.85);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
  z-index: 2;
  pointer-events: none;
}
.photo-tile__hint {
  margin: 0;
  padding: 0.35rem 0.5rem 0;
  color: var(--muted);
  font-size: 0.72rem;
  text-align: center;
  line-height: 1.3;
}
.photo-tile__actions {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-top: 1px solid var(--border);
}
.photo-tile__actions form { margin: 0; }
.photo-tile__btn {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.55rem 0.2rem;
  cursor: pointer;
  border-right: 1px solid var(--border);
}
.photo-tile__actions form:last-child .photo-tile__btn { border-right: 0; }
.photo-tile__btn:hover { background: rgba(255, 255, 255, 0.06); }
.photo-tile__btn:disabled {
  opacity: 0.28;
  cursor: not-allowed;
}
.photo-tile__btn--danger { color: var(--danger); }
.photo-tile__btn--danger:hover { background: rgba(255, 107, 107, 0.12); }

/* ---------- Edit tabs ---------- */
.edit-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 1rem;
  padding: 0.35rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.edit-tabs__btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.55rem 0.9rem;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
}
.edit-tabs__btn:hover {
  color: var(--text);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
}
.edit-tabs__btn.is-active {
  color: var(--text);
  background: rgba(255, 93, 162, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 93, 162, 0.35);
}
.edit-panel h2 { margin-top: 0; }
.edit-subh {
  font-family: Fraunces, serif;
  font-size: 1.1rem;
  margin: 0.5rem 0 0;
}
.toggle-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0.35rem 0 0.75rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}
.toggle-row input {
  margin-top: 0.2rem;
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 auto;
}
.toggle-row span {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.toggle-row strong {
  font-size: 0.95rem;
}
.toggle-row small {
  font-size: 0.82rem;
  line-height: 1.35;
}
.mode-picker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 0 0 1rem;
}
.mode-option {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin: 0;
  padding: 0.95rem 1rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  position: relative;
}
.mode-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.mode-option strong {
  font-size: 1rem;
}
.mode-option small {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}
.mode-option:hover,
.mode-option.is-active,
.mode-option:has(input:checked) {
  border-color: rgba(255, 93, 162, 0.55);
  background: rgba(255, 93, 162, 0.1);
}
#inhoudForm.is-mode-simple .field-full-only {
  display: none !important;
}
#inhoudForm.is-mode-simple .grid-2 > label:first-child {
  grid-column: 1 / -1;
}
.mode-note {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 93, 162, 0.35);
  background: rgba(255, 93, 162, 0.08);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}
.mode-note strong { color: var(--text); }
@media (max-width: 700px) {
  .mode-picker { grid-template-columns: 1fr; }
}

.fx-picker {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.65rem;
  margin: 0 0 0.85rem;
}
.fx-option {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0;
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  position: relative;
}
.fx-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.fx-option strong {
  font-size: 0.95rem;
}
.fx-option small {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.35;
}
.fx-option:hover,
.fx-option.is-active,
.fx-option:has(input:checked) {
  border-color: rgba(255, 93, 162, 0.55);
  background: rgba(255, 93, 162, 0.1);
}
@media (max-width: 700px) {
  .fx-picker { grid-template-columns: 1fr; }
}

/* ---------- Guest list ---------- */
.guest-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.guest-head h2 { margin: 0; }
.guest-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.guest-stats--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.guest-stat {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.guest-stat__label {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.guest-stat strong {
  font-family: Fraunces, serif;
  font-size: 1.7rem;
  line-height: 1.1;
}
.guest-stat small { color: var(--muted); font-size: 0.82rem; }
.guest-stat--ja { border-color: rgba(46, 230, 166, 0.28); }
.guest-stat--ja strong { color: var(--ok); }
.guest-stat--nee { border-color: rgba(255, 107, 107, 0.28); }
.guest-stat--nee strong { color: var(--danger); }
.guest-empty {
  text-align: center;
  padding: 2rem 1rem;
  border: 1px dashed var(--border);
  border-radius: 16px;
  color: var(--muted);
}
.guest-empty .btn { margin-top: 0.85rem; }
.guest-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}
.guest-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.92rem;
  table-layout: auto;
}
.guest-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
}
.guest-table th,
.guest-table td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.guest-table th {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(0, 0, 0, 0.28);
}
.guest-table th:not(:last-child),
.guest-table td:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}
.guest-table tbody tr:last-child td { border-bottom: 0; }
.guest-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}
.guest-row--ja td { background: rgba(46, 230, 166, 0.05); }
.guest-row--nee td { background: rgba(255, 107, 107, 0.05); }
.guest-table__msg {
  display: inline-block;
  max-width: 28rem;
  line-height: 1.45;
  color: var(--text);
}
.guest-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
}
.guest-badge--ja {
  color: #06281c;
  background: rgba(46, 230, 166, 0.9);
}
.guest-badge--nee {
  color: #3a0d0d;
  background: rgba(255, 140, 140, 0.92);
}
.guest-card__time {
  color: var(--muted);
  font-size: 0.8rem;
  white-space: nowrap;
}
.guest-card__names {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.guest-name {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  font-weight: 600;
  font-size: 0.92rem;
}
.guest-card__meta {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

@media (max-width: 900px) {
  .guest-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .guest-stats { grid-template-columns: 1fr; }
}

.layout-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0.5rem 0 0.25rem;
}
.layout-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0;
  padding: 0.85rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.layout-card:hover {
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}
.layout-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.layout-card:has(input:checked) {
  border-color: rgba(255, 93, 162, 0.65);
  background: rgba(255, 93, 162, 0.1);
  box-shadow: 0 0 0 1px rgba(255, 93, 162, 0.25);
}
.layout-card__crown {
  display: none !important;
}
.layout-card--locked .layout-card__preview {
  opacity: 0.78;
}
.layout-card--locked:has(input:checked) {
  border-color: rgba(212, 160, 23, 0.7);
  background: rgba(212, 160, 23, 0.08);
  box-shadow: 0 0 0 1px rgba(212, 160, 23, 0.28);
}
.layout-upgrade {
  margin-top: 0.85rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(212, 160, 23, 0.45);
  border-radius: 14px;
  background: rgba(212, 160, 23, 0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}
.layout-upgrade--notice {
  margin-bottom: 0.85rem;
}
.layout-upgrade p {
  margin: 0;
  flex: 1 1 12rem;
}
.layout-card__preview {
  display: block;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #120e1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.layout-card__preview svg {
  display: block;
  width: 100%;
  height: auto;
}
.layout-card__meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0 0.15rem 0.15rem;
}
.layout-card__meta strong {
  color: var(--text);
  font-size: 1rem;
}
.layout-card__meta small {
  color: var(--muted);
  line-height: 1.4;
  font-size: 0.88rem;
}

/* legacy text options (fallback) */
.layout-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  cursor: pointer;
}
.layout-option:has(input:checked) {
  border-color: rgba(255, 93, 162, 0.55);
  background: rgba(255, 93, 162, 0.1);
}
.layout-option strong { display: block; color: var(--text); margin-bottom: 0.2rem; }
.layout-option small { color: var(--muted); line-height: 1.4; }

@media (max-width: 700px) {
  .layout-picker { grid-template-columns: 1fr; }
}

@media (max-width: 800px) {
  .features { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .share-row { flex-direction: column; }
}

/* ---------- Backend mobile ---------- */
.nav-drawer-check {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-left: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  flex: 0 0 auto;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-drawer-check:checked + .nav-toggle .nav-toggle__bars {
  background: transparent;
}
.nav-drawer-check:checked + .nav-toggle .nav-toggle__bars::before {
  top: 0;
  transform: rotate(45deg);
}
.nav-drawer-check:checked + .nav-toggle .nav-toggle__bars::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (max-width: 860px) {
  .topbar {
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
    padding: 0.75rem 0.9rem;
  }
  .nav-toggle { display: inline-flex; }
  .topbar__nav--app {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    width: 100%;
    order: 3;
    padding: 0.35rem 0 0.15rem;
    border-top: 1px solid var(--border);
    margin-top: 0.25rem;
  }
  .nav-drawer-check:checked ~ .topbar__nav--app {
    display: flex;
  }
  .topbar__nav--app a,
  .topbar__nav--app .linkish {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    padding: 0.55rem 0.75rem;
    border-radius: 10px;
    color: var(--text);
    font-weight: 600;
    text-decoration: none;
  }
  .topbar__nav--app a:hover,
  .topbar__nav--app .linkish:hover {
    background: rgba(255, 255, 255, 0.06);
    text-decoration: none;
  }
  .topbar__nav--app .inline-form {
    display: block;
    width: 100%;
  }
  .topbar__nav--app .linkish {
    width: 100%;
    text-align: left;
    color: var(--muted);
  }

  .wrap {
    width: min(980px, calc(100% - 1.25rem));
    padding: 1.15rem 0 3rem;
  }
  .flash {
    width: min(980px, calc(100% - 1.25rem));
    margin-top: 0.75rem;
  }
  .auth-card,
  .panel,
  .empty,
  .event-card {
    padding: 1.05rem;
    border-radius: 16px;
  }
  .dash-head {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }
  .dash-head h1 {
    font-size: 1.55rem;
    word-break: break-word;
  }
  .dash-head .admin-range,
  .dash-head > .btn,
  .dash-head > a.btn {
    width: 100%;
  }
  .dash-head .admin-range {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
  .dash-head .admin-range .btn:last-child {
    grid-column: 1 / -1;
  }
  .admin-range .btn {
    justify-content: center;
    min-height: 2.75rem;
  }

  input,
  textarea,
  select {
    font-size: 16px; /* voorkomt iOS-zoom */
    max-width: 100%;
  }
  .btn {
    min-height: 2.75rem;
  }
  .btn--sm {
    min-height: 2.35rem;
  }

  .edit-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.25rem;
    padding: 0.3rem;
  }
  .edit-tabs::-webkit-scrollbar { display: none; }
  .edit-tabs__btn {
    flex: 0 0 auto;
    white-space: nowrap;
    min-height: 2.5rem;
    padding: 0.55rem 0.85rem;
    font-size: 0.88rem;
  }

  .mode-picker { grid-template-columns: 1fr; }
  .layout-picker { grid-template-columns: 1fr; }
  .theme-preset-grid { grid-template-columns: 1fr 1fr; }
  .theme-custom {
    grid-template-columns: 1fr 1fr;
  }

  .share-row .btn {
    width: 100%;
  }

  .photo-head {
    flex-direction: column;
    align-items: stretch;
  }
  .photo-head .btn { width: 100%; justify-content: center; }
  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guest-head {
    flex-direction: column;
    align-items: stretch;
  }
  .guest-head .btn { width: 100%; justify-content: center; }
  .guest-stats,
  .guest-stats--3 {
    grid-template-columns: 1fr 1fr;
  }
  .guest-table-wrap {
    border: 0;
    background: transparent;
    overflow: visible;
  }
  .guest-table thead { display: none; }
  .guest-table,
  .guest-table tbody {
    display: block;
    width: 100%;
  }
  .guest-table tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem 0.85rem;
    margin-bottom: 0.75rem;
    padding: 0.95rem 1rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
  }
  .guest-table tbody tr:hover td { background: transparent; }
  .guest-table th,
  .guest-table td {
    border: 0 !important;
    padding: 0;
    display: block;
  }
  .guest-table td[data-label]::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.25rem;
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
  .guest-table td[data-label="Namen"],
  .guest-table td[data-label="Bericht"] {
    grid-column: 1 / -1;
  }

  .admin-kpis {
    grid-template-columns: 1fr 1fr;
  }
  .admin-search {
    flex-direction: column;
    align-items: stretch;
  }
  .admin-search .btn { width: 100%; }
  .admin-actions {
    flex-wrap: wrap;
  }
  .admin-actions .btn {
    flex: 1 1 auto;
    justify-content: center;
  }

  .layout-studio__preview {
    order: -1;
  }
  .layout-preview-frame-wrap {
    max-height: min(36vh, 280px);
  }
  .layout-upgrade {
    flex-direction: column;
    align-items: stretch;
  }
  .layout-upgrade .btn { width: 100%; justify-content: center; }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .site-footer__owned {
    white-space: normal;
  }
}

@media (max-width: 420px) {
  .dash-head .admin-range {
    grid-template-columns: 1fr;
  }
  .dash-head .admin-range .btn:last-child {
    grid-column: auto;
  }
  .guest-stats,
  .guest-stats--3,
  .admin-kpis {
    grid-template-columns: 1fr;
  }
  .photo-grid {
    grid-template-columns: 1fr 1fr;
  }
  .theme-preset-grid,
  .theme-custom {
    grid-template-columns: 1fr;
  }
}
