﻿:root {
  --momentyo-purple: #7c3aed;
  --momentyo-purple-dark: color-mix(in srgb, var(--momentyo-purple) 78%, #111827);
  --momentyo-purple-soft: color-mix(in srgb, var(--momentyo-purple) 8%, #ffffff);
  --momentyo-purple-surface: color-mix(in srgb, var(--momentyo-purple) 5%, #ffffff);
  --momentyo-purple-surface-strong: color-mix(in srgb, var(--momentyo-purple) 12%, #ffffff);
  --momentyo-purple-border: color-mix(in srgb, var(--momentyo-purple) 28%, #ffffff);
  --momentyo-purple-ring: color-mix(in srgb, var(--momentyo-purple) 22%, transparent);
  --momentyo-text: #241437;
  --momentyo-font-sans: "Inter", "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --momentyo-font-display: "Inter", "Segoe UI Variable Display", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --momentyo-primary: var(--momentyo-purple);
  --momentyo-primary-dark: color-mix(in srgb, var(--momentyo-primary) 78%, #111827);
  --momentyo-primary-soft: color-mix(in srgb, var(--momentyo-primary) 8%, #ffffff);
  --momentyo-primary-surface: color-mix(in srgb, var(--momentyo-primary) 5%, #ffffff);
  --momentyo-primary-surface-strong: color-mix(in srgb, var(--momentyo-primary) 12%, #ffffff);
  --momentyo-primary-border: color-mix(in srgb, var(--momentyo-primary) 28%, #ffffff);
  --momentyo-primary-ring: color-mix(in srgb, var(--momentyo-primary) 22%, transparent);
  --bs-primary: var(--momentyo-primary);
  --bs-primary-rgb: 124, 58, 237;
  --bs-link-color: var(--momentyo-primary);
  --bs-link-hover-color: var(--momentyo-primary-dark);
  --bs-focus-ring-color: var(--momentyo-primary-ring);
}

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--momentyo-primary-ring);
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  font-family: var(--momentyo-font-sans);
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--momentyo-text);
  background:
    radial-gradient(circle at 12% 0%, color-mix(in srgb, var(--momentyo-purple) 8%, transparent), transparent 32%),
    linear-gradient(180deg, #fbf8ff 0%, #ffffff 38%);
}

button,
input,
select,
textarea,
.btn,
.form-control,
.form-select {
  font-family: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--momentyo-font-display);
  letter-spacing: 0;
}

body.dashboard-layout {
  --dashboard-theme-color: var(--momentyo-primary);
  color: color-mix(in srgb, var(--momentyo-text) 86%, var(--dashboard-theme-color));
  background:
    radial-gradient(circle at 8% 12%, color-mix(in srgb, var(--dashboard-theme-color) 18%, transparent), transparent 34%),
    radial-gradient(circle at 92% 18%, color-mix(in srgb, var(--dashboard-theme-color) 13%, transparent), transparent 36%),
    linear-gradient(180deg, color-mix(in srgb, var(--dashboard-theme-color) 9%, #ffffff) 0%, #ffffff 48%, color-mix(in srgb, var(--dashboard-theme-color) 5%, #ffffff) 100%);
  background-attachment: fixed;
}

body.dashboard-layout .navbar {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--dashboard-theme-color) 5%, #ffffff), rgba(255, 255, 255, 0.96)) !important;
  border-bottom-color: color-mix(in srgb, var(--dashboard-theme-color) 18%, transparent) !important;
  box-shadow: 0 10px 28px color-mix(in srgb, var(--dashboard-theme-color) 7%, transparent);
}

body.guest-layout {
  --event-theme-color: var(--momentyo-primary);
  color: color-mix(in srgb, var(--momentyo-text) 86%, var(--event-theme-color));
  background:
    radial-gradient(circle at 10% 8%, color-mix(in srgb, var(--event-theme-color) 16%, transparent), transparent 35%),
    radial-gradient(circle at 92% 12%, color-mix(in srgb, var(--event-theme-color) 11%, transparent), transparent 34%),
    linear-gradient(180deg, color-mix(in srgb, var(--event-theme-color) 9%, #ffffff) 0%, #ffffff 48%, color-mix(in srgb, var(--event-theme-color) 5%, #ffffff) 100%);
  background-attachment: fixed;
}

body.event-slide-layout {
  background: #050509;
}

a {
  color: var(--momentyo-primary);
}

a:hover {
  color: var(--momentyo-primary-dark);
}

.navbar {
  border-color: var(--momentyo-primary-border) !important;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--momentyo-primary) 5%, #ffffff), rgba(255, 255, 255, 0.96)) !important;
  box-shadow: 0 12px 34px color-mix(in srgb, var(--momentyo-primary) 8%, transparent);
}

.navbar-brand,
.navbar-brand:hover,
.navbar-brand:focus {
  color: var(--momentyo-primary) !important;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  padding: 7px 13px;
  border: 1px solid color-mix(in srgb, var(--momentyo-primary) 18%, #ffffff);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), color-mix(in srgb, var(--momentyo-primary) 9%, #ffffff));
  box-shadow:
    0 10px 24px color-mix(in srgb, var(--momentyo-primary) 12%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.navbar-brand__logo {
  display: block;
  width: auto;
  height: 36px;
  max-width: 218px;
  filter: none;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--momentyo-primary) !important;
}

.btn-primary {
  --bs-btn-bg: var(--momentyo-primary);
  --bs-btn-border-color: var(--momentyo-primary);
  --bs-btn-hover-bg: var(--momentyo-primary-dark);
  --bs-btn-hover-border-color: var(--momentyo-primary-dark);
  --bs-btn-active-bg: var(--momentyo-primary-dark);
  --bs-btn-active-border-color: var(--momentyo-primary-dark);
  --bs-btn-disabled-bg: var(--momentyo-primary);
  --bs-btn-disabled-border-color: var(--momentyo-primary);
}

.btn-outline-primary {
  --bs-btn-color: var(--momentyo-primary);
  --bs-btn-border-color: var(--momentyo-primary);
  --bs-btn-hover-bg: var(--momentyo-primary);
  --bs-btn-hover-border-color: var(--momentyo-primary);
  --bs-btn-active-bg: var(--momentyo-primary-dark);
  --bs-btn-active-border-color: var(--momentyo-primary-dark);
  --bs-btn-disabled-color: var(--momentyo-primary);
  --bs-btn-disabled-border-color: var(--momentyo-primary);
}

.text-primary {
  color: var(--momentyo-primary) !important;
}

.text-bg-primary {
  background-color: var(--momentyo-primary) !important;
}

.border-primary {
  border-color: var(--momentyo-primary) !important;
}

.bg-light {
  background-color: var(--momentyo-primary-soft) !important;
}

.form-control:focus {
  border-color: var(--momentyo-primary);
}

.form-check-input:checked {
  background-color: var(--momentyo-primary);
  border-color: var(--momentyo-primary);
}

.footer {
  border-color: var(--momentyo-primary-border) !important;
}

.footer--centered {
  text-align: center;
}

.home-landing-layout {
  margin-bottom: 0;
  background: #f8f3ff;
  overflow-x: hidden;
}

.home-landing-layout > .container {
  max-width: none;
  padding-right: 0;
  padding-left: 0;
}

.home-landing-layout .navbar {
  min-height: 62px;
  margin-bottom: 0 !important;
  border-bottom-color: rgba(124, 58, 237, 0.16) !important;
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 10px 30px rgba(38, 11, 79, 0.08);
  backdrop-filter: blur(18px);
}

.home-landing-layout .navbar .container-fluid {
  flex-wrap: nowrap;
  gap: 0.7rem;
}

.home-landing-layout .navbar-collapse {
  min-width: 0;
}

.home-landing-layout .navbar-nav {
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.1rem;
  min-width: 0;
}

.home-landing-layout .navbar .nav-link,
.home-landing-layout .navbar .btn-link.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
  min-height: 38px;
  padding: 0.42rem 0.58rem;
  border-radius: 999px;
  color: color-mix(in srgb, var(--momentyo-primary) 70%, #201032) !important;
  font-size: 0.93rem;
  font-weight: 780;
  line-height: 1;
  white-space: nowrap;
}

.home-landing-layout .navbar .nav-link i,
.home-landing-layout .navbar .btn-link.nav-link i {
  margin-right: 0 !important;
  color: var(--momentyo-primary);
  font-size: 0.95em;
}

.home-landing-layout .navbar .nav-link:hover,
.home-landing-layout .navbar .nav-link:focus,
.home-landing-layout .navbar .btn-link.nav-link:hover,
.home-landing-layout .navbar .btn-link.nav-link:focus {
  background: color-mix(in srgb, var(--momentyo-primary) 9%, transparent);
  color: var(--momentyo-primary-dark) !important;
}

.home-landing-layout .navbar .text-muted {
  max-width: 190px;
  overflow: hidden;
  color: color-mix(in srgb, var(--momentyo-primary) 50%, #201032) !important;
  font-size: 0.88rem;
  text-overflow: ellipsis;
}

.home-landing-layout .navbar-brand {
  flex: 0 0 auto;
  padding: 5px 10px;
  border-color: rgba(124, 58, 237, 0.18);
  background:
    linear-gradient(135deg, #ffffff, rgba(250, 245, 255, 0.96));
  box-shadow:
    0 8px 22px rgba(124, 58, 237, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.home-landing-layout .navbar-brand__logo {
  height: 30px;
  max-width: 150px;
}

.home-landing-layout .navbar .btn-primary.btn-sm {
  min-height: 36px;
  padding: 0.42rem 0.7rem;
  border-radius: 9px;
  font-size: 0.9rem;
  font-weight: 760;
}

.home-landing-layout .navbar-toggler {
  border-color: rgba(124, 58, 237, 0.22);
  background: rgba(124, 58, 237, 0.06);
}

.home-landing-layout .footer {
  position: static;
  background: #090016;
  border-top-color: rgba(196, 181, 253, 0.18) !important;
  color: rgba(255, 255, 255, 0.66) !important;
}

.home-page {
  width: 100%;
  margin-left: 0;
  padding-bottom: 132px;
  overflow: hidden;
  background: #f8f3ff;
}

.home-hero {
  position: relative;
  overflow: hidden;
  min-height: 660px;
  color: #ffffff;
  background:
    radial-gradient(circle at 70% 25%, rgba(168, 85, 247, 0.42), transparent 28%),
    radial-gradient(circle at 86% 78%, rgba(217, 70, 239, 0.32), transparent 30%),
    linear-gradient(125deg, #070012 0%, #120028 42%, #3b0872 100%);
}

.home-hero::before,
.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.home-hero::before {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px) 0 0 / 42px 42px,
    radial-gradient(ellipse at 52% 18%, rgba(255, 255, 255, 0.08), transparent 38%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 88%);
}

.home-hero::after {
  opacity: 0.72;
  background:
    radial-gradient(circle at 83% 18%, rgba(244, 114, 182, 0.95) 0 3px, transparent 4px),
    radial-gradient(circle at 91% 38%, rgba(251, 191, 36, 0.9) 0 3px, transparent 4px),
    radial-gradient(circle at 74% 63%, rgba(34, 211, 238, 0.9) 0 2px, transparent 3px),
    radial-gradient(circle at 58% 22%, rgba(216, 180, 254, 0.92) 0 2px, transparent 3px),
    radial-gradient(circle at 48% 78%, rgba(244, 114, 182, 0.8) 0 2px, transparent 3px),
    linear-gradient(100deg, transparent 0 78%, rgba(236, 72, 153, 0.18) 78% 79%, transparent 80%),
    linear-gradient(70deg, transparent 0 68%, rgba(34, 211, 238, 0.12) 68% 69%, transparent 70%);
}

.home-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  min-height: 660px;
  margin: 0 auto;
  padding: 74px 24px 112px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(410px, 0.98fr);
  gap: 56px;
  align-items: center;
}

.home-hero__copy {
  max-width: 650px;
}

.home-hero-title {
  max-width: 680px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(3rem, 5.1vw, 5.3rem);
  font-weight: 950;
  line-height: 1.02;
  letter-spacing: 0;
}

.home-brand-word,
.home-hero-title__accent {
  color: transparent;
  background: linear-gradient(135deg, #a78bfa 0%, #d946ef 50%, #f472b6 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.home-brand-word {
  text-transform: uppercase;
}

.home-hero-text {
  max-width: 580px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.05rem;
  line-height: 1.74;
  font-weight: 540;
}

.home-hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 560px;
  margin-top: 34px;
}

.home-hero-metrics div {
  min-height: 96px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.065);
  display: grid;
  gap: 6px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.home-hero-metrics i {
  color: #c084fc;
  font-size: 1.32rem;
}

.home-hero-metrics strong {
  color: #ffffff;
  font-size: 0.9rem;
}

.home-hero-metrics span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
}

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

.home-hero-actions .btn {
  min-height: 54px;
  padding: 0.9rem 1.55rem;
  border-radius: 8px;
  font-weight: 880;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.home-hero-actions .btn-primary {
  border-color: transparent;
  background: linear-gradient(135deg, #8b5cf6, #d946ef 58%, #f472b6);
  box-shadow: 0 18px 42px rgba(217, 70, 239, 0.34);
}

.home-hero-actions .btn-outline-light {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.home-hero__visual {
  position: relative;
  min-height: 565px;
}

.home-glow {
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(18px);
}

.home-glow--one {
  width: 360px;
  height: 360px;
  left: 12%;
  top: 8%;
  background: rgba(168, 85, 247, 0.32);
}

.home-glow--two {
  width: 240px;
  height: 240px;
  right: 2%;
  bottom: 12%;
  background: rgba(236, 72, 153, 0.24);
}

.home-phone {
  position: relative;
  z-index: 3;
  width: min(340px, 72vw);
  min-height: 548px;
  margin: 0 auto;
  padding: 18px;
  border: 10px solid #0c0b15;
  border-radius: 42px;
  background: linear-gradient(180deg, #16052d, #05020c);
  box-shadow:
    0 38px 88px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 0 68px rgba(168, 85, 247, 0.52);
}

.home-phone::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 100px;
  height: 22px;
  border-radius: 0 0 16px 16px;
  background: #0c0b15;
  transform: translateX(-50%);
  z-index: 6;
}

.home-phone__top,
.home-phone__brand,
.home-phone__photo,
.home-phone__contest,
.home-phone__gallery {
  position: relative;
  z-index: 5;
}

.home-phone__top {
  display: flex;
  justify-content: space-between;
  padding: 4px 10px 12px;
}

.home-phone__top span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
}

.home-phone__brand img {
  display: block;
  width: 110px;
  height: auto;
  filter: drop-shadow(0 0 16px rgba(168, 85, 247, 0.36));
}

.home-phone__photo {
  height: 246px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #16052d;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.home-phone__photo::after,
.home-usecase-grid article::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 0, 24, 0.04), rgba(10, 0, 24, 0.34));
  pointer-events: none;
}

.home-phone__photo img,
.home-phone__gallery img,
.home-step__mock--gallery img,
.home-usecase-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-phone__contest {
  margin: -30px 18px 0;
  padding: 14px 42px 14px 16px;
  border-radius: 8px;
  background: rgba(9, 0, 22, 0.86);
  color: #ffffff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26);
}

.home-phone__contest strong,
.home-phone__contest span {
  display: block;
  font-size: 0.84rem;
}

.home-phone__contest span {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 2px;
}

.home-phone__contest i {
  position: absolute;
  right: 16px;
  top: 18px;
  color: #f472b6;
}

.home-phone__gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 18px;
}

.home-phone__gallery img {
  height: 88px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.home-floating-card {
  position: absolute;
  z-index: 5;
  left: 2%;
  bottom: 156px;
  width: 190px;
  padding: 16px 42px 16px 16px;
  border-radius: 10px;
  color: #ffffff;
  background: rgba(9, 0, 22, 0.84);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(16px);
}

.home-floating-card strong,
.home-floating-card span {
  display: block;
  font-size: 0.88rem;
}

.home-floating-card span {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

.home-floating-card i {
  position: absolute;
  right: 16px;
  top: 18px;
  color: #f472b6;
}

.home-orbit {
  position: absolute;
  z-index: 4;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(168, 85, 247, 0.96), rgba(217, 70, 239, 0.92));
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 1.55rem;
  box-shadow: 0 18px 42px rgba(168, 85, 247, 0.42);
}

.home-orbit--camera {
  left: 5%;
  top: 31%;
}

.home-orbit--audio {
  right: 3%;
  top: 30%;
}

.home-orbit--play {
  right: 17%;
  top: 14%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #f5d0fe;
  box-shadow: 0 18px 42px rgba(217, 70, 239, 0.18);
}

.home-qr-card {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 78px;
  width: 170px;
  padding: 14px 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 242, 255, 0.94));
  color: #241437;
  box-shadow:
    0 28px 62px rgba(0, 0, 0, 0.28),
    0 0 34px rgba(217, 70, 239, 0.16);
  display: grid;
  gap: 11px;
  justify-items: center;
  text-align: center;
}

.home-qr-image {
  display: block;
  width: 112px;
  height: 112px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  box-shadow: none;
}

.home-qr-card strong {
  color: #2a1740;
  font-size: 0.86rem;
  line-height: 1.35;
}

.home-section {
  padding: 78px 24px;
}

.home-section--light,
.home-section--features {
  background:
    radial-gradient(circle at 50% 0%, rgba(168, 85, 247, 0.08), transparent 34%),
    #fbf7ff;
}

.home-section--features {
  padding-top: 38px;
}

.home-section-heading {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.home-section-heading span {
  display: inline-flex;
  margin-bottom: 10px;
  color: #8b5cf6;
  font-size: 0.75rem;
  font-weight: 950;
  text-transform: uppercase;
}

.home-section-heading h2 {
  margin: 0;
  color: #241437;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 950;
  line-height: 1.12;
}

.home-steps {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.home-step {
  position: relative;
  min-height: 360px;
  padding: 8px 6px 0;
}

.home-step__number {
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #8b5cf6, #d946ef);
  color: #ffffff;
  font-weight: 950;
  box-shadow: 0 14px 30px rgba(139, 92, 246, 0.24);
}

.home-step h3 {
  margin: 0 0 8px;
  color: #241437;
  font-size: 1.08rem;
  font-weight: 920;
}

.home-step p {
  max-width: 285px;
  margin: 0;
  color: rgba(36, 20, 55, 0.66);
  font-size: 0.9rem;
  line-height: 1.6;
}

.home-step__mock {
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 0;
  height: 172px;
  overflow: hidden;
  border: 1px solid rgba(168, 85, 247, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 24px 48px rgba(82, 42, 125, 0.1);
}

.home-step__mock--dashboard {
  padding: 18px;
  display: grid;
  gap: 12px;
}

.home-step__mock--dashboard div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.home-step__mock--dashboard img,
.home-step-dashboard__add {
  height: 92px;
  border-radius: 9px;
}

.home-step__mock--dashboard img {
  display: block;
  width: 100%;
  object-fit: cover;
  background: linear-gradient(145deg, #ede9fe, #a78bfa);
}

.home-step-dashboard__add {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #7c3aed, #d946ef);
  color: #ffffff;
  font-size: 2rem;
  font-weight: 950;
}

.home-step__mock--dashboard strong {
  color: #6d28d9;
  font-size: 0.9rem;
}

.home-step__mock--qr {
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 12px;
}

.home-step__mock--qr > span:first-child {
  color: #241437;
  font-size: 0.78rem;
  font-weight: 900;
}

.home-step__mock--qr .home-qr-image {
  width: 104px;
  height: 104px;
}

.home-step__mock--qr em {
  color: #8b5cf6;
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 900;
}

.home-step__mock--gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr 44px;
  gap: 8px;
  padding: 14px;
}

.home-step__mock--gallery img,
.home-step__mock--gallery span {
  border-radius: 8px;
}

.home-step__mock--gallery span {
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, #8b5cf6, #d946ef);
}

.home-step__mock--gallery span:last-child {
  grid-column: span 2;
}

.home-feature-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.home-feature-grid article {
  min-height: 222px;
  padding: 28px 20px;
  border: 1px solid rgba(168, 85, 247, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 22px 54px rgba(82, 42, 125, 0.08);
  text-align: center;
}

.home-feature-grid i {
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  border-radius: 18px;
  display: inline-grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, #8b5cf6, #d946ef);
  font-size: 1.55rem;
  box-shadow: 0 14px 34px rgba(139, 92, 246, 0.22);
}

.home-feature-grid h3 {
  margin: 0 0 10px;
  color: #241437;
  font-size: 1rem;
  font-weight: 920;
  line-height: 1.25;
}

.home-feature-grid p {
  margin: 0;
  color: rgba(36, 20, 55, 0.62);
  font-size: 0.86rem;
  line-height: 1.55;
}

.home-pricing-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(217, 70, 239, 0.22), transparent 30%),
    radial-gradient(circle at 82% 76%, rgba(124, 58, 237, 0.28), transparent 34%),
    linear-gradient(135deg, #0a0018 0%, #180032 52%, #2c0758 100%);
  color: #ffffff;
}

.home-pricing-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px) 0 0 / 42px 42px,
    radial-gradient(ellipse at 52% 10%, rgba(255, 255, 255, 0.08), transparent 40%);
}

.home-pricing-card {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  margin: 0 auto;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.06);
  box-shadow:
    0 34px 86px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 34px;
  align-items: stretch;
  backdrop-filter: blur(18px);
}

.home-pricing-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.14);
  color: #fde68a;
  font-size: 0.82rem;
  font-weight: 920;
}

.home-pricing-card h3 {
  margin: 20px 0 10px;
  color: #ffffff;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 950;
}

.home-pricing-card p {
  max-width: 640px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1rem;
  line-height: 1.72;
}

.home-pricing-features {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.home-pricing-features span {
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.86);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 760;
}

.home-pricing-features i {
  color: #86efac;
}

.home-pricing-card__price {
  min-height: 100%;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 0%, rgba(244, 114, 182, 0.22), transparent 42%),
    rgba(255, 255, 255, 0.1);
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 10px;
}

.home-pricing-card__price span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
}

.home-pricing-card__price strong {
  color: #ffffff;
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1;
  font-weight: 950;
}

.home-pricing-card__price em {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
  font-style: normal;
}

.home-pricing-card__business-note {
  width: 100%;
  margin: 4px 0 12px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
  font-weight: 680;
  line-height: 1.45;
}

.home-pricing-card__price .btn {
  width: 100%;
  min-height: 50px;
  border-color: transparent;
  border-radius: 10px;
  background: linear-gradient(135deg, #8b5cf6, #d946ef 58%, #f472b6);
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 18px 42px rgba(217, 70, 239, 0.32);
}

.home-section--dark {
  background:
    radial-gradient(circle at 20% 10%, rgba(168, 85, 247, 0.2), transparent 30%),
    radial-gradient(circle at 78% 72%, rgba(217, 70, 239, 0.18), transparent 34%),
    linear-gradient(135deg, #090016 0%, #13002f 52%, #080013 100%);
  color: #ffffff;
}

.home-section-heading--dark h2 {
  color: #ffffff;
}

.home-section-heading--dark span {
  color: #d8b4fe;
}

.home-usecase-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.home-usecase-grid article {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: #16052d;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.25);
}

.home-usecase-grid img {
  position: absolute;
  inset: 0;
}

.home-usecase-grid span {
  position: absolute;
  z-index: 2;
  left: 13px;
  right: 13px;
  bottom: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 880;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.home-usecase-grid i {
  color: #f0abfc;
}

.home-contact-section {
  max-width: 1120px;
  margin: -34px auto 0;
  padding: 34px;
  scroll-margin-top: 96px;
  border: 1px solid rgba(168, 85, 247, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(250, 245, 255, 0.92));
  box-shadow: 0 28px 72px rgba(82, 42, 125, 0.13);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.home-contact-section span {
  display: inline-flex;
  margin-bottom: 8px;
  color: #8b5cf6;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.home-contact-section h2 {
  margin: 0;
  color: #241437;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 950;
}

.home-contact-section p {
  margin: 8px 0 0;
  color: rgba(36, 20, 55, 0.64);
  font-weight: 600;
}

.home-contact-section .btn {
  min-height: 52px;
  padding: 0.8rem 1.35rem;
  border-color: transparent;
  border-radius: 10px;
  background: linear-gradient(135deg, #8b5cf6, #d946ef 58%, #f472b6);
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

@media (max-width: 860px) {
  .home-hero__inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 58px;
  }

  .home-hero__copy {
    max-width: 760px;
  }

  .home-hero__visual {
    min-height: 520px;
  }

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

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

  .home-steps {
    gap: 22px;
  }
}

@media (max-width: 767.98px) {
  .home-hero__inner {
    padding: 44px 18px 92px;
  }

  .home-hero-title {
    font-size: 2.72rem;
  }

  .home-hero-metrics,
  .home-steps,
  .home-feature-grid,
  .home-pricing-features,
  .home-usecase-grid {
    grid-template-columns: 1fr;
  }

  .home-phone {
    width: min(310px, 82vw);
  }

  .home-floating-card {
    left: 0;
    bottom: 118px;
  }

  .home-qr-card {
    right: 8px;
    bottom: 18px;
    width: 146px;
    padding: 12px 11px 13px;
  }

  .home-orbit--audio {
    right: 0;
  }

  .home-step {
    min-height: 330px;
  }

  .home-contact-section {
    margin-right: 18px;
    margin-bottom: 64px;
    margin-left: 18px;
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand__logo {
    height: 30px;
    max-width: 160px;
  }

  .navbar-brand {
    padding: 5px 9px;
  }

  .home-hero-title {
    font-size: 2.18rem;
  }

  .home-hero-text {
    font-size: 0.98rem;
  }

  .home-hero-actions .btn {
    flex: 1 1 170px;
  }

  .home-hero__visual {
    min-height: 468px;
  }

  .home-phone {
    min-height: 480px;
    border-radius: 34px;
  }

  .home-phone__photo {
    height: 190px;
  }

  .home-phone__gallery img {
    height: 70px;
  }

  .home-floating-card {
    display: none;
  }

  .home-orbit {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    font-size: 1.2rem;
  }

  .home-qr-card {
    width: 132px;
  }

  .home-qr-image {
    width: 94px;
    height: 94px;
  }

  .home-section {
    padding-right: 18px;
    padding-left: 18px;
  }
}

.event-slide-layout {
  margin-bottom: 0;
  background: #101010;
}

.event-slide-layout .footer {
  position: static;
  background: #ffffff;
  line-height: 60px;
}

.event-slide-page {
  position: relative;
  min-height: calc(100vh - 60px);
  background: #101010;
}

.guest-event-page,
.event-slide-page,
.invitation-designer {
  --momentyo-primary-dark: color-mix(in srgb, var(--momentyo-primary) 78%, #111827);
  --momentyo-primary-soft: color-mix(in srgb, var(--momentyo-primary) 8%, #ffffff);
  --momentyo-primary-surface: color-mix(in srgb, var(--momentyo-primary) 5%, #ffffff);
  --momentyo-primary-surface-strong: color-mix(in srgb, var(--momentyo-primary) 12%, #ffffff);
  --momentyo-primary-border: color-mix(in srgb, var(--momentyo-primary) 28%, #ffffff);
  --momentyo-primary-ring: color-mix(in srgb, var(--momentyo-primary) 22%, transparent);
  --bs-link-hover-color: var(--momentyo-primary-dark);
  --bs-focus-ring-color: var(--momentyo-primary-ring);
}

.event-slide-close {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 20;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.26);
  backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.76);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.05rem;
  opacity: 0.72;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}

.event-slide-close:hover,
.event-slide-close:focus {
  background: rgba(20, 20, 20, 0.56);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  opacity: 1;
}

.event-slide-close:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.28);
  outline-offset: 3px;
}

.event-photo-slideshow,
.event-photo-slideshow .carousel-inner,
.event-photo-slideshow .carousel-item {
  height: calc(100vh - 60px);
  min-height: 420px;
}

.event-photo-slide__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #101010;
}

.event-photo-slideshow .carousel-control-prev,
.event-photo-slideshow .carousel-control-next {
  width: 11%;
}

.event-photo-slideshow .carousel-control-prev-icon,
.event-photo-slideshow .carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background-color: rgba(0, 0, 0, 0.48);
  background-size: 55%;
}

.event-slide-empty {
  min-height: calc(100vh - 60px);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 24px;
}

.event-slide-empty i {
  color: var(--momentyo-primary-border);
  font-size: 2.5rem;
}

.event-slide-empty p {
  margin: 0;
  font-weight: 600;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.event-camera {
  aspect-ratio: 1 / 1;
  max-height: 420px;
  border-color: var(--momentyo-primary-border) !important;
  background:
    radial-gradient(circle at 50% 20%, color-mix(in srgb, var(--momentyo-primary) 9%, transparent), transparent 42%),
    linear-gradient(145deg, var(--momentyo-primary-surface), #ffffff);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--momentyo-primary) 8%, transparent);
}

.event-camera__video,
.event-camera__preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.event-camera__video.is-mirrored {
  transform: scaleX(-1);
}

.event-camera__empty {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: color-mix(in srgb, var(--momentyo-text) 84%, var(--momentyo-primary));
}

.event-mode-button {
  border: 1px solid color-mix(in srgb, var(--momentyo-primary) 18%, #d7dde6);
  border-radius: 8px;
  background: linear-gradient(145deg, #fff, var(--momentyo-primary-surface));
  min-height: 92px;
  padding: 12px 8px;
  color: var(--momentyo-text);
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.event-mode-button:hover,
.event-mode-button:focus {
  border-color: var(--momentyo-primary);
  box-shadow: 0 0 0 0.18rem var(--momentyo-primary-ring);
  outline: none;
}

.event-mode-button.is-active {
  border-color: var(--momentyo-primary);
  background:
    linear-gradient(145deg, #ffffff, var(--momentyo-primary-soft));
  box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--momentyo-primary) 18%, transparent);
}

.event-background-preview {
  width: 100%;
  aspect-ratio: 16 / 7;
  border: 1px solid var(--bs-border-color);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.event-background-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.event-background-preview--compact {
  max-width: 280px;
  aspect-ratio: 16 / 7;
}

.dashboard-page {
  --dashboard-theme-color: var(--momentyo-primary);
  --dashboard-panel-bg: color-mix(in srgb, var(--dashboard-theme-color) 7%, #ffffff);
  --dashboard-panel-strong: color-mix(in srgb, var(--dashboard-theme-color) 14%, #ffffff);
  --dashboard-panel-border: color-mix(in srgb, var(--dashboard-theme-color) 20%, transparent);
  --dashboard-panel-shadow: color-mix(in srgb, var(--dashboard-theme-color) 11%, transparent);
}

.dashboard-hero {
  border: 1px solid var(--dashboard-panel-border);
  border-radius: 8px;
  background:
    radial-gradient(circle at 0 0, color-mix(in srgb, var(--dashboard-theme-color) 16%, transparent), transparent 34%),
    linear-gradient(105deg, var(--dashboard-panel-strong), rgba(255, 255, 255, 0.96) 58%),
    #fff;
  box-shadow: 0 14px 34px var(--dashboard-panel-shadow);
  padding: 18px 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.dashboard-hero h1 {
  margin: 0;
  font-size: clamp(1.35rem, 1.8vw, 1.85rem);
  font-weight: 800;
  line-height: 1.2;
}

.dashboard-create-button {
  min-height: 44px;
  border-radius: 8px;
  padding-inline: 18px;
  font-weight: 800;
  box-shadow: 0 10px 22px color-mix(in srgb, var(--dashboard-theme-color) 22%, transparent);
}

.dashboard-hero__action {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.dashboard-empty-state {
  border: 1px solid var(--dashboard-panel-border);
  border-radius: 8px;
  background: var(--dashboard-panel-bg);
  padding: 24px;
}

.dashboard-event-card {
  --event-theme-color: var(--momentyo-primary);
  --event-theme-surface: color-mix(in srgb, var(--event-theme-color) 6%, #ffffff);
  --event-theme-surface-strong: color-mix(in srgb, var(--event-theme-color) 12%, #ffffff);
  --event-theme-border: color-mix(in srgb, var(--event-theme-color) 24%, transparent);
  --event-theme-shadow: color-mix(in srgb, var(--event-theme-color) 12%, transparent);
  border: 1px solid var(--event-theme-border);
  border-top: 5px solid var(--event-theme-color);
  border-radius: 8px;
  background:
    radial-gradient(circle at 0 0, color-mix(in srgb, var(--event-theme-color) 13%, transparent), transparent 30%),
    radial-gradient(circle at 100% 0, color-mix(in srgb, var(--event-theme-color) 8%, transparent), transparent 32%),
    linear-gradient(145deg, var(--event-theme-surface), #ffffff 64%);
  padding: 24px;
  box-shadow: 0 20px 46px var(--event-theme-shadow);
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 1.05fr);
  gap: 20px 24px;
  align-items: start;
}

.dashboard-event-card__header {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 0 0 16px;
  border-bottom: 1px solid color-mix(in srgb, var(--event-theme-color) 17%, transparent);
}

.dashboard-event-heading {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.dashboard-event-kicker {
  width: fit-content;
  color: var(--event-theme-color);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.dashboard-event-title {
  margin: 0;
  color: var(--momentyo-text);
  font-size: clamp(1.28rem, 1.8vw, 1.65rem);
  font-weight: 850;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.dashboard-event-meta {
  color: var(--bs-secondary-color);
  font-size: 0.93rem;
  font-weight: 600;
}

.dashboard-status-badge {
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: 0 8px 18px rgba(47, 31, 31, 0.1);
}

.dashboard-event-card .btn-primary {
  --bs-btn-bg: var(--event-theme-color);
  --bs-btn-border-color: var(--event-theme-color);
  --bs-btn-hover-bg: var(--event-theme-color);
  --bs-btn-hover-border-color: var(--event-theme-color);
  --bs-btn-active-bg: var(--event-theme-color);
  --bs-btn-active-border-color: var(--event-theme-color);
}

.dashboard-event-entry {
  grid-row: 2 / span 3;
  min-width: 0;
  min-height: 100%;
  border: 1px solid color-mix(in srgb, var(--event-theme-color) 28%, transparent);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 22%, color-mix(in srgb, var(--event-theme-color) 18%, transparent), transparent 34%),
    radial-gradient(circle at 96% 100%, color-mix(in srgb, var(--event-theme-color) 10%, transparent), transparent 34%),
    linear-gradient(135deg, color-mix(in srgb, var(--event-theme-color) 10%, #ffffff), rgba(255, 255, 255, 0.94) 68%);
  padding: 20px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.dashboard-event-entry--notice {
  align-items: start;
}

.dashboard-event-entry__icon {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--event-theme-color) 5%, #ffffff);
  color: var(--event-theme-color);
  border: 1px solid color-mix(in srgb, var(--event-theme-color) 18%, transparent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.dashboard-qr-frame {
  border: 1px solid color-mix(in srgb, var(--event-theme-color) 18%, transparent);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  padding: 14px;
  box-shadow: 0 16px 34px color-mix(in srgb, var(--event-theme-color) 11%, transparent);
}

.dashboard-qr-frame img {
  width: 148px;
  height: 148px;
  display: block;
}

.dashboard-event-entry__content {
  min-width: 0;
}

.dashboard-event-label {
  width: fit-content;
  border-radius: 8px;
  background: color-mix(in srgb, var(--event-theme-color) 6%, #ffffff);
  color: var(--event-theme-color);
  border: 1px solid color-mix(in srgb, var(--event-theme-color) 26%, transparent);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 6px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.dashboard-event-entry__content p {
  margin: 0 0 8px;
  color: var(--bs-secondary-color);
}

.dashboard-event-link {
  color: var(--event-theme-color);
  font-size: 0.875rem;
  font-weight: 800;
  text-decoration: none;
  overflow-wrap: anywhere;
  display: inline-block;
  border-radius: 8px;
  background: color-mix(in srgb, var(--event-theme-color) 6%, #ffffff);
  border: 1px solid color-mix(in srgb, var(--event-theme-color) 22%, transparent);
  padding: 7px 9px;
}

.dashboard-event-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
  gap: 10px;
  margin-top: 16px;
  min-width: 0;
}

.dashboard-event-actions .btn {
  min-height: 44px;
  border-radius: 8px;
  padding: 0.55rem 0.72rem;
  font-weight: 800;
  line-height: 1.15;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
  box-shadow: 0 8px 18px rgba(47, 31, 31, 0.06);
}

.dashboard-event-actions .btn i {
  width: 18px;
  flex: 0 0 18px;
  margin-right: 0 !important;
  text-align: center;
}

.dashboard-event-actions .btn-outline-secondary {
  --bs-btn-color: #4b5563;
  --bs-btn-border-color: rgba(47, 31, 31, 0.14);
  --bs-btn-hover-bg: #f8fafc;
  --bs-btn-hover-border-color: color-mix(in srgb, var(--event-theme-color) 35%, transparent);
  --bs-btn-hover-color: var(--momentyo-text);
}

.dashboard-event-actions .btn-outline-primary {
  --bs-btn-color: var(--event-theme-color);
  --bs-btn-border-color: color-mix(in srgb, var(--event-theme-color) 44%, transparent);
  --bs-btn-hover-bg: var(--event-theme-color);
  --bs-btn-hover-border-color: var(--event-theme-color);
}

.dashboard-event-action-form {
  display: contents;
}

.dashboard-event-action-form .btn {
  width: 100%;
}

.dashboard-event-ended-note {
  min-height: 44px;
  border-radius: 8px;
  background: rgba(17, 24, 39, 0.06);
  color: #374151;
  padding: 0.55rem 0.72rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
}

.dashboard-event-card > form {
  min-width: 0;
  border: 1px solid color-mix(in srgb, var(--event-theme-color) 18%, transparent) !important;
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0, color-mix(in srgb, var(--event-theme-color) 9%, transparent), transparent 36%),
    linear-gradient(180deg, color-mix(in srgb, var(--event-theme-color) 5%, #ffffff), rgba(255, 255, 255, 0.94)),
    #fff;
  padding: 18px !important;
  margin-top: 0 !important;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--event-theme-color) 6%, transparent);
}

.dashboard-event-card > form .form-label {
  color: var(--momentyo-text);
  font-size: 0.83rem;
  font-weight: 850 !important;
  letter-spacing: 0;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
}

.dashboard-event-card > form .form-label i {
  color: var(--event-theme-color);
}

.dashboard-event-card > form .btn {
  border-radius: 8px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(47, 31, 31, 0.05);
}

.dashboard-event-card > form .btn-outline-primary {
  --bs-btn-color: var(--event-theme-color);
  --bs-btn-border-color: color-mix(in srgb, var(--event-theme-color) 42%, transparent);
  --bs-btn-hover-bg: var(--event-theme-color);
  --bs-btn-hover-border-color: var(--event-theme-color);
}

.dashboard-event-card > form .form-control {
  border-radius: 8px;
}

.event-card-background-form {
  display: block;
}

.event-theme-form {
  --event-theme-color: inherit;
}

.event-theme-picker {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.event-theme-picker .form-control-color {
  width: 48px;
  height: 46px;
  padding: 5px;
  border-radius: 8px;
  border-color: color-mix(in srgb, var(--event-theme-color) 24%, transparent);
}

.event-theme-accordion {
  min-width: 0;
  margin-top: 0;
}

.event-theme-toggle {
  width: 100%;
  min-height: 42px;
  border: 1px solid color-mix(in srgb, var(--event-theme-color) 22%, transparent);
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--event-theme-color) 7%, #ffffff), rgba(255, 255, 255, 0.96));
  color: color-mix(in srgb, var(--momentyo-text) 82%, var(--event-theme-color));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  font-size: 0.86rem;
  font-weight: 850;
  text-align: left;
  list-style: none;
  cursor: pointer;
  user-select: none;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--event-theme-color) 5%, transparent);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.event-theme-toggle::marker,
.event-theme-toggle::-webkit-details-marker {
  display: none;
  content: "";
}

.event-theme-toggle > span {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.event-theme-toggle i:not(.event-theme-toggle__icon) {
  color: var(--event-theme-color);
}

.event-theme-toggle:hover,
.event-theme-toggle:focus {
  border-color: color-mix(in srgb, var(--event-theme-color) 48%, transparent);
  box-shadow: 0 0 0 0.18rem color-mix(in srgb, var(--event-theme-color) 12%, transparent), 0 10px 22px color-mix(in srgb, var(--event-theme-color) 7%, transparent);
}

.event-theme-toggle__icon {
  color: var(--event-theme-color);
  font-size: 0.78rem;
  transition: transform 0.18s ease;
}

.event-theme-accordion[open] .event-theme-toggle__icon {
  transform: rotate(180deg);
}

.event-theme-form.is-saving .event-theme-toggle {
  opacity: 0.72;
  pointer-events: none;
}

.event-theme-accordion > .event-theme-swatches {
  border: 1px solid color-mix(in srgb, var(--event-theme-color) 14%, transparent);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: rgba(255, 255, 255, 0.72);
}

.event-theme-swatches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
  gap: 8px;
  margin-top: 0;
  padding: 12px;
}

.event-theme-swatch {
  min-width: 0;
  min-height: 38px;
  border: 1px solid rgba(47, 31, 31, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--swatch-color) 8%, #ffffff), #ffffff);
  color: var(--momentyo-text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: left;
  box-shadow: 0 6px 14px rgba(47, 31, 31, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.event-theme-swatch:hover,
.event-theme-swatch:focus,
.event-theme-swatch.is-active {
  border-color: var(--swatch-color);
  box-shadow: 0 0 0 0.18rem color-mix(in srgb, var(--swatch-color) 18%, transparent), 0 8px 18px rgba(47, 31, 31, 0.08);
  transform: translateY(-1px);
}

.event-theme-swatch__color {
  width: 22px;
  height: 22px;
  border: 1px solid rgba(47, 31, 31, 0.16);
  border-radius: 999px;
  background: var(--swatch-color);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.78);
  flex: 0 0 22px;
}

.event-card-cover-uploader {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.event-card-cover-uploader__picker {
  min-width: 0;
  min-height: 84px;
  border: 1px dashed color-mix(in srgb, var(--event-theme-color) 42%, transparent);
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--event-theme-color) 8%, #ffffff), rgba(255, 255, 255, 0.94));
  color: var(--momentyo-text);
  cursor: pointer;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.event-card-cover-uploader__picker:hover,
.event-card-cover-uploader__picker:focus-within {
  border-color: var(--event-theme-color);
  background: #fff;
  box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--event-theme-color) 11%, transparent);
}

.event-card-cover-uploader__icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 999px;
  background: #fff;
  color: var(--event-theme-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--event-theme-color) 22%, transparent);
  box-shadow: 0 8px 16px rgba(47, 31, 31, 0.06);
}

.event-card-cover-uploader__content {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.event-card-cover-uploader__title {
  font-weight: 700;
  font-size: 0.92rem;
}

.event-card-cover-uploader__hint {
  color: var(--bs-secondary-color);
  font-size: 0.78rem;
  line-height: 1.3;
}

.event-card-cover-uploader__filename {
  width: fit-content;
  max-width: 100%;
  color: var(--event-theme-color);
  font-size: 0.78rem;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-card-cover-uploader__save {
  min-width: 88px;
  height: 44px;
}

.invitation-designer {
  --event-theme-color: var(--momentyo-primary);
}

.invitation-control-panel,
.invitation-preview-shell {
  border: 1px solid var(--momentyo-primary-border);
  border-radius: 8px;
  background: #fff;
  padding: 22px;
  box-shadow: 0 14px 34px rgba(47, 31, 31, 0.06);
}

.invitation-template-strip {
  border: 1px solid color-mix(in srgb, var(--event-theme-color) 22%, var(--momentyo-primary-border));
  border-radius: 8px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--event-theme-color) 7%, #fff) 0%, #fff 72%);
  padding: 18px;
  box-shadow: 0 14px 34px rgba(47, 31, 31, 0.06);
}

.invitation-template-strip__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.invitation-control-panel--top {
  padding: 18px;
}

.invitation-designer-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.invitation-output-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.invitation-fields-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(300px, 1.1fr);
  grid-template-areas:
    "image title"
    "image subtitle"
    "image note";
  gap: 14px 18px;
  align-items: start;
}

.invitation-field-card {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 8px;
}

.invitation-field-card .form-label {
  margin-bottom: 0;
}

.invitation-field-card--image {
  grid-area: image;
}

.invitation-field-card--title {
  grid-area: title;
}

.invitation-field-card--subtitle {
  grid-area: subtitle;
}

.invitation-field-card--note {
  grid-area: note;
}

.invitation-field-card textarea {
  min-height: 82px;
  resize: vertical;
}

.invitation-field-card--subtitle textarea {
  min-height: 88px;
}

.invitation-preview-layout {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.invitation-template-rail {
  border: 1px solid color-mix(in srgb, var(--event-theme-color) 22%, var(--momentyo-primary-border));
  border-radius: 8px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--event-theme-color) 6%, #fff) 0%, #fff 100%);
  padding: 10px;
  display: grid;
  gap: 10px;
  box-shadow: 0 14px 34px rgba(47, 31, 31, 0.06);
  position: sticky;
  top: 82px;
}

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

.invitation-template-grid--top {
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 10px;
}

.invitation-template-option {
  min-height: 76px;
  border: 1px solid var(--bs-border-color);
  border-radius: 8px;
  background: #fff;
  padding: 10px;
  color: var(--momentyo-text);
  font-weight: 700;
  display: grid;
  justify-items: start;
  gap: 8px;
}

.invitation-template-grid--top .invitation-template-option {
  min-height: 88px;
}

.invitation-template-option--rail {
  min-height: 0;
  padding: 6px;
  display: block;
}

.invitation-template-option--rail .invitation-template-option__swatch {
  height: 54px;
}

.invitation-template-option--custom-upload {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--event-theme-color) 10%, #fff), #fff);
}

.invitation-template-option:hover,
.invitation-template-option:focus,
.invitation-template-option.is-active {
  border-color: var(--event-theme-color);
  box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--event-theme-color) 14%, transparent);
}

.invitation-template-option__swatch {
  width: 100%;
  height: 46px;
  border-radius: 6px;
  display: block;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(47, 31, 31, 0.08);
}

.invitation-template-option__swatch::before,
.invitation-template-option__swatch::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.invitation-template-option__swatch--custom {
  color: #fff;
  background:
    radial-gradient(circle at 72% 18%, rgba(255, 255, 255, 0.42) 0 10px, transparent 11px),
    linear-gradient(135deg, #7c3aed 0%, #d946ef 58%, #f472b6 100%);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}

.invitation-template-option__swatch--custom::before {
  inset: 8px;
  border: 1px dashed rgba(255, 255, 255, 0.72);
  border-radius: 6px;
}

.invitation-template-option__swatch--custom::after {
  right: 10px;
  bottom: 8px;
  width: 30px;
  height: 22px;
  border-radius: 999px 999px 6px 6px;
  background: rgba(255, 255, 255, 0.25);
}

.invitation-template-option__swatch--classic {
  background:
    linear-gradient(135deg, #fff 0 58%, var(--momentyo-primary-soft) 58% 100%);
}

.invitation-template-option__swatch--classic::before {
  inset: 7px;
  border: 1px solid color-mix(in srgb, var(--event-theme-color) 34%, transparent);
}

.invitation-template-option__swatch--classic::after {
  right: 9px;
  bottom: 9px;
  width: 34px;
  height: 18px;
  border-right: 3px solid var(--event-theme-color);
  border-bottom: 3px solid var(--event-theme-color);
}

.invitation-template-option__swatch--party {
  background:
    linear-gradient(135deg, #111827 0 28%, #7c3aed 28% 54%, #be123c 54% 78%, #f59e0b 78% 100%);
}

.invitation-template-option__swatch--party::before {
  inset: 8px 10px;
  border: 1px solid #06b6d4;
  box-shadow: 0 0 0 1px rgba(236, 72, 153, 0.8);
}

.invitation-template-option__swatch--party::after {
  right: 10px;
  top: 8px;
  width: 34px;
  height: 28px;
  background:
    linear-gradient(45deg, transparent 45%, #fff 46% 53%, transparent 54%),
    linear-gradient(-45deg, transparent 45%, #fbbf24 46% 53%, transparent 54%);
}

.invitation-template-option__swatch--minimal {
  background: linear-gradient(90deg, #111827 0 28%, #f8fafc 28% 100%);
}

.invitation-template-option__swatch--minimal::before {
  inset: 9px 9px 9px 32px;
  border: 1px solid #d1d5db;
}

.invitation-template-option__swatch--minimal::after {
  left: 12px;
  top: 9px;
  bottom: 9px;
  width: 8px;
  background: repeating-linear-gradient(to bottom, #fff 0 4px, transparent 4px 8px);
}

.invitation-template-option__swatch--elegant {
  background: linear-gradient(135deg, #111827, #312e81 62%, #1f2937);
}

.invitation-template-option__swatch--elegant::before {
  inset: 8px;
  border: 1px solid #f7d774;
  clip-path: polygon(12% 0, 88% 0, 100% 18%, 100% 82%, 88% 100%, 12% 100%, 0 82%, 0 18%);
}

.invitation-template-option__swatch--elegant::after {
  inset: 14px 20px;
  border-top: 2px solid rgba(247, 215, 116, 0.8);
  border-bottom: 2px solid rgba(247, 215, 116, 0.8);
}

.invitation-template-option__swatch--photo {
  background: #f8fafc;
}

.invitation-template-option__swatch--photo::before {
  inset: 6px;
  border-radius: 6px 6px 22px 6px;
  background:
    linear-gradient(135deg, rgba(17, 24, 39, 0.62), rgba(17, 24, 39, 0.1)),
    linear-gradient(135deg, #f9a8d4, #93c5fd);
}

.invitation-template-option__swatch--photo::after {
  right: 10px;
  bottom: 10px;
  width: 38px;
  height: 14px;
  border-radius: 999px;
  background: #fff;
}

.invitation-template-option__swatch--floral {
  background: linear-gradient(135deg, #fff, var(--momentyo-primary-soft));
}

.invitation-template-option__swatch--floral::before {
  inset: 8px;
  border: 1px solid #f9a8d4;
  border-radius: 999px;
}

.invitation-template-option__swatch--floral::after {
  top: 4px;
  left: 8px;
  width: 50px;
  height: 26px;
  background:
    radial-gradient(circle at 12px 14px, #f472b6 0 7px, transparent 8px),
    radial-gradient(circle at 25px 8px, #fb7185 0 8px, transparent 9px),
    radial-gradient(circle at 39px 15px, #86efac 0 6px, transparent 7px);
}

.invitation-template-option__swatch--ticket {
  background: linear-gradient(90deg, #111827 0 64%, var(--event-theme-color) 64% 100%);
}

.invitation-template-option__swatch--ticket::before {
  top: 7px;
  bottom: 7px;
  right: 34%;
  border-left: 1px dashed rgba(255, 255, 255, 0.72);
}

.invitation-template-option__swatch--ticket::after {
  left: 10px;
  top: 14px;
  width: 54px;
  height: 9px;
  background: #fff;
  box-shadow: 0 15px 0 rgba(255, 255, 255, 0.62);
}

.invitation-image-uploader {
  display: grid;
  gap: 8px;
}

.invitation-image-uploader__picker {
  min-height: 82px;
  border: 1px dashed color-mix(in srgb, var(--event-theme-color) 48%, transparent);
  border-radius: 8px;
  background: var(--momentyo-primary-soft);
  cursor: pointer;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.invitation-image-uploader__picker:hover,
.invitation-image-uploader__picker:focus-within {
  border-color: var(--event-theme-color);
  background: #fff;
  box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--event-theme-color) 12%, transparent);
}

.invitation-image-uploader__icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 999px;
  color: var(--event-theme-color);
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--event-theme-color) 24%, transparent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.invitation-image-uploader__content {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.invitation-image-uploader__title {
  font-weight: 800;
}

.invitation-image-uploader__hint {
  color: var(--bs-secondary-color);
  font-size: 0.78rem;
  line-height: 1.3;
}

.invitation-image-uploader__filename {
  width: fit-content;
  max-width: 100%;
  color: var(--event-theme-color);
  font-size: 0.78rem;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.invitation-image-adjustments {
  border: 1px solid color-mix(in srgb, var(--event-theme-color) 18%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--event-theme-color) 5%, #fff);
  padding: 10px;
  display: grid;
  gap: 8px;
}

.invitation-image-adjustments[hidden] {
  display: none;
}

.invitation-image-adjustments .form-range {
  margin: 0;
}

.invitation-preview-shell {
  display: grid;
  place-items: center;
  min-height: 720px;
  background:
    linear-gradient(135deg, rgba(255, 241, 242, 0.55), rgba(255, 255, 255, 0.95)),
    #fff;
}

.invitation-preview {
  width: min(100%, 520px);
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  padding: 44px;
  color: #2f1f1f;
  background: #fff;
  box-shadow: 0 24px 60px rgba(47, 31, 31, 0.16);
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto;
  gap: 22px;
}

.invitation-preview::before,
.invitation-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.invitation-preview__image {
  position: absolute;
  z-index: 2;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
  user-select: none;
  background: rgba(255, 255, 255, 0.86);
  border: 2px solid color-mix(in srgb, var(--event-theme-color) 28%, transparent);
  box-shadow: 0 16px 34px rgba(47, 31, 31, 0.16);
}

.invitation-preview__image.is-dragging {
  cursor: grabbing;
}

.invitation-preview__image.is-adjustable {
  outline: 2px solid color-mix(in srgb, var(--event-theme-color) 48%, transparent);
  outline-offset: 3px;
}

.invitation-preview__image img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  pointer-events: none;
  user-select: none;
  display: block;
}

.invitation-preview__image-resize {
  position: absolute;
  right: 7px;
  bottom: 7px;
  z-index: 3;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--event-theme-color) 34%, transparent);
  background: rgba(255, 255, 255, 0.92);
  color: var(--event-theme-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: nwse-resize;
  box-shadow: 0 6px 16px rgba(47, 31, 31, 0.16);
  font-size: 0.76rem;
}

.invitation-custom-upload-prompt {
  display: none;
}

.invitation-preview__body {
  position: relative;
  z-index: 2;
  align-self: center;
}

.invitation-preview h2 {
  margin: 0 0 14px;
  font-size: 3rem;
  line-height: 1;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.invitation-preview__body p {
  max-width: 360px;
  margin: 0;
  color: rgba(47, 31, 31, 0.78);
  font-size: 1.04rem;
}

.invitation-preview__details {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.invitation-preview__details div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.invitation-preview__details i {
  color: var(--event-theme-color);
}

.invitation-preview__qr {
  position: relative;
  z-index: 2;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid color-mix(in srgb, var(--event-theme-color) 18%, transparent);
  padding: 14px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.invitation-preview__qr img,
.invitation-preview__qr-placeholder {
  width: 112px;
  height: 112px;
  border-radius: 6px;
  background: #fff;
}

.invitation-preview__qr img {
  display: block;
  padding: 8px;
  border: 1px solid rgba(47, 31, 31, 0.1);
}

.invitation-preview__qr-placeholder {
  border: 1px dashed color-mix(in srgb, var(--event-theme-color) 35%, transparent);
  color: var(--event-theme-color);
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 800;
  font-size: 0.8rem;
}

.invitation-preview__qr-placeholder i {
  font-size: 2rem;
}

.invitation-preview__qr p {
  margin: 0;
  color: rgba(47, 31, 31, 0.74);
  font-size: 0.92rem;
  font-weight: 700;
}

.invitation-preview__qr-resize {
  display: none;
}

.invitation-template-custom {
  padding: 0;
  color: #241437;
  background:
    radial-gradient(circle at 30% 22%, color-mix(in srgb, var(--event-theme-color) 16%, transparent), transparent 32%),
    linear-gradient(145deg, color-mix(in srgb, var(--event-theme-color) 7%, #fff), #fff);
  display: block;
}

.invitation-template-custom::before {
  inset: 28px;
  border: 1px dashed color-mix(in srgb, var(--event-theme-color) 38%, transparent);
  border-radius: 10px;
}

.invitation-template-custom::after {
  display: none;
}

.invitation-template-custom.has-invitation-image::before {
  display: none;
}

.invitation-template-custom:not(.has-invitation-image) .invitation-custom-upload-prompt {
  position: absolute;
  left: 50%;
  top: 43%;
  z-index: 4;
  width: min(78%, 360px);
  min-height: 144px;
  padding: 20px;
  border: 1px dashed color-mix(in srgb, var(--event-theme-color) 48%, transparent);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.84);
  color: #241437;
  cursor: pointer;
  transform: translate(-50%, -50%);
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
  box-shadow: 0 18px 42px rgba(124, 58, 237, 0.12);
  backdrop-filter: blur(12px);
}

.invitation-template-custom:not(.has-invitation-image) .invitation-custom-upload-prompt:hover,
.invitation-template-custom:not(.has-invitation-image) .invitation-custom-upload-prompt:focus-within,
.invitation-template-custom:not(.has-invitation-image) .invitation-custom-upload-prompt.is-highlighted {
  border-color: var(--event-theme-color);
  box-shadow:
    0 18px 42px rgba(124, 58, 237, 0.16),
    0 0 0 0.2rem color-mix(in srgb, var(--event-theme-color) 14%, transparent);
}

.invitation-custom-upload-prompt__icon {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--event-theme-color), #d946ef);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.invitation-custom-upload-prompt__title {
  color: color-mix(in srgb, var(--event-theme-color) 78%, #241437);
  font-size: 1rem;
  font-weight: 900;
}

.invitation-custom-upload-prompt__hint {
  max-width: 260px;
  color: rgba(36, 20, 55, 0.62);
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.35;
}

.invitation-template-custom .invitation-preview__image {
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.invitation-template-custom .invitation-preview__image.is-adjustable {
  outline: 2px solid color-mix(in srgb, var(--event-theme-color) 44%, transparent);
  outline-offset: -8px;
}

.invitation-template-custom .invitation-preview__image-resize {
  right: 16px;
  bottom: 16px;
}

.invitation-template-custom .invitation-preview__body,
.invitation-template-custom .invitation-preview__details {
  display: none;
}

.invitation-template-custom .invitation-preview__qr {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 4;
  width: min(70%, 340px);
  grid-template-columns: auto minmax(0, 1fr);
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  cursor: grab;
  touch-action: none;
  user-select: none;
  overflow: visible;
}

.invitation-template-custom .invitation-preview__qr.is-dragging {
  cursor: grabbing;
}

.invitation-template-custom .invitation-preview__qr.is-adjustable {
  outline: 2px dashed color-mix(in srgb, var(--event-theme-color) 58%, transparent);
  outline-offset: 5px;
}

.invitation-template-custom .invitation-preview__qr img,
.invitation-template-custom .invitation-preview__qr-placeholder {
  width: 98px;
  height: 98px;
}

.invitation-template-custom .invitation-preview__qr p {
  color: rgba(36, 20, 55, 0.78);
  font-size: 0.82rem;
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.72);
}

.invitation-template-custom .invitation-preview__qr-resize {
  position: absolute;
  right: -14px;
  bottom: -14px;
  z-index: 5;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--event-theme-color) 34%, transparent);
  background: rgba(255, 255, 255, 0.94);
  color: var(--event-theme-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: nwse-resize;
  box-shadow: 0 8px 18px rgba(47, 31, 31, 0.18);
  font-size: 0.72rem;
}

.invitation-template-classic {
  background:
    linear-gradient(145deg, #ffffff 0 70%, color-mix(in srgb, var(--event-theme-color) 14%, #fff) 70% 100%);
}

.invitation-template-classic::before {
  inset: 24px;
  border: 1px solid color-mix(in srgb, var(--event-theme-color) 32%, transparent);
  box-shadow:
    inset 0 0 0 12px rgba(255, 255, 255, 0.42),
    inset 0 0 0 14px color-mix(in srgb, var(--event-theme-color) 16%, transparent);
}

.invitation-template-classic::after {
  inset: 38px;
  background:
    linear-gradient(var(--event-theme-color), var(--event-theme-color)) top left / 88px 2px no-repeat,
    linear-gradient(var(--event-theme-color), var(--event-theme-color)) top left / 2px 88px no-repeat,
    linear-gradient(var(--event-theme-color), var(--event-theme-color)) right bottom / 88px 2px no-repeat,
    linear-gradient(var(--event-theme-color), var(--event-theme-color)) right bottom / 2px 88px no-repeat;
  opacity: 0.5;
}

.invitation-template-classic .invitation-preview__image {
  top: 56px;
  right: 56px;
  width: 138px;
  height: 138px;
  border-radius: 50%;
}

.invitation-template-party {
  color: #fff;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 2px, transparent 2px 18px),
    linear-gradient(110deg, transparent 0 64%, rgba(6, 182, 212, 0.34) 64% 72%, transparent 72% 100%),
    linear-gradient(135deg, #7c3aed, #be123c 52%, #111827);
}

.invitation-template-party::before {
  inset: 28px;
  border: 2px solid rgba(6, 182, 212, 0.86);
  box-shadow:
    inset 0 0 0 1px rgba(236, 72, 153, 0.55),
    0 0 22px rgba(6, 182, 212, 0.2);
}

.invitation-template-party::after {
  right: 38px;
  top: 34px;
  width: 150px;
  height: 120px;
  background:
    linear-gradient(45deg, transparent 46%, #fbbf24 47% 53%, transparent 54%),
    linear-gradient(-45deg, transparent 46%, #ec4899 47% 53%, transparent 54%),
    linear-gradient(90deg, transparent 0 42%, #06b6d4 42% 46%, transparent 46% 100%);
  opacity: 0.78;
}

.invitation-template-party .invitation-preview__image {
  top: 58px;
  right: 60px;
  width: 138px;
  height: 138px;
  border-radius: 22px;
  border-color: #06b6d4;
  box-shadow: 0 0 0 5px rgba(236, 72, 153, 0.38), 0 0 30px rgba(6, 182, 212, 0.4);
  transform: rotate(3deg);
}

.invitation-template-party .invitation-preview__body p,
.invitation-template-party .invitation-preview__qr p {
  color: rgba(255, 255, 255, 0.86);
}

.invitation-template-party .invitation-preview__details i {
  color: #fbbf24;
}

.invitation-template-party .invitation-preview__qr {
  background: rgba(17, 24, 39, 0.56);
  border-color: rgba(255, 255, 255, 0.22);
}

.invitation-template-minimal {
  background:
    linear-gradient(90deg, #111827 0 18%, #f8fafc 18% 100%);
  color: #111827;
  padding-left: 126px;
}

.invitation-template-minimal::before {
  inset: 28px 28px 28px 96px;
  border: 1px solid #d1d5db;
}

.invitation-template-minimal::after {
  left: 44px;
  top: 60px;
  bottom: 60px;
  width: 28px;
  background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.86) 0 12px, transparent 12px 24px);
}

.invitation-template-minimal .invitation-preview__image {
  top: 62px;
  right: 56px;
  width: 158px;
  height: 118px;
  border-radius: 4px;
  border-color: #d1d5db;
  box-shadow: none;
}

.invitation-template-minimal .invitation-preview__details i {
  color: #111827;
}

.invitation-template-elegant {
  color: #f9fafb;
  background:
    linear-gradient(90deg, rgba(247, 215, 116, 0.12) 0 1px, transparent 1px 46px),
    linear-gradient(0deg, rgba(247, 215, 116, 0.08) 0 1px, transparent 1px 46px),
    linear-gradient(145deg, #111827, #312e81 55%, #1f2937);
}

.invitation-template-elegant::before {
  inset: 28px;
  border: 1px solid rgba(247, 215, 116, 0.7);
  clip-path: polygon(9% 0, 91% 0, 100% 11%, 100% 89%, 91% 100%, 9% 100%, 0 89%, 0 11%);
}

.invitation-template-elegant::after {
  inset: 52px;
  background:
    linear-gradient(rgba(247, 215, 116, 0.74), rgba(247, 215, 116, 0.74)) top center / 58% 2px no-repeat,
    linear-gradient(rgba(247, 215, 116, 0.74), rgba(247, 215, 116, 0.74)) bottom center / 58% 2px no-repeat,
    linear-gradient(135deg, transparent 0 45%, rgba(247, 215, 116, 0.72) 45% 48%, transparent 48% 100%) top left / 88px 88px no-repeat,
    linear-gradient(225deg, transparent 0 45%, rgba(247, 215, 116, 0.72) 45% 48%, transparent 48% 100%) top right / 88px 88px no-repeat,
    linear-gradient(45deg, transparent 0 45%, rgba(247, 215, 116, 0.72) 45% 48%, transparent 48% 100%) bottom left / 88px 88px no-repeat,
    linear-gradient(315deg, transparent 0 45%, rgba(247, 215, 116, 0.72) 45% 48%, transparent 48% 100%) bottom right / 88px 88px no-repeat;
  opacity: 0.76;
}

.invitation-template-elegant .invitation-preview__image {
  top: 68px;
  left: 50%;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  border-color: #f7d774;
  box-shadow: 0 0 0 5px rgba(247, 215, 116, 0.14), 0 18px 36px rgba(0, 0, 0, 0.24);
  transform: translateX(-50%);
}

.invitation-template-photo {
  color: #111827;
  background:
    linear-gradient(180deg, #f8fafc 0 44%, #ffffff 44% 100%);
}

.invitation-template-photo::before {
  inset: 28px;
  border: 1px solid #d1d5db;
}

.invitation-template-photo::after {
  left: 58px;
  right: 58px;
  top: 74px;
  height: 180px;
  border-radius: 16px 16px 90px 16px;
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.12), color-mix(in srgb, var(--event-theme-color) 8%, transparent));
}

.invitation-template-photo .invitation-preview__image {
  top: 58px;
  left: 58px;
  right: 58px;
  height: 200px;
  border-radius: 16px 16px 100px 16px;
  border-color: #fff;
  box-shadow: 0 18px 38px rgba(17, 24, 39, 0.18);
}

.invitation-template-photo.has-invitation-image .invitation-preview__body {
  align-self: end;
  margin-top: 170px;
}

.invitation-template-photo .invitation-preview__details i {
  color: var(--event-theme-color);
}

.invitation-template-floral {
  color: #3f1d1d;
  background:
    radial-gradient(circle at 14% 12%, rgba(244, 114, 182, 0.28) 0 8%, transparent 9%),
    radial-gradient(circle at 24% 8%, rgba(251, 113, 133, 0.22) 0 7%, transparent 8%),
    radial-gradient(circle at 86% 88%, rgba(134, 239, 172, 0.24) 0 9%, transparent 10%),
    linear-gradient(155deg, #fff, var(--momentyo-primary-soft));
}

.invitation-template-floral::before {
  inset: 26px;
  border: 1px solid rgba(244, 114, 182, 0.42);
  border-radius: 22px 22px 150px 22px;
}

.invitation-template-floral::after {
  top: 38px;
  left: 42px;
  width: 168px;
  height: 94px;
  background:
    radial-gradient(circle at 30px 48px, #f472b6 0 21px, transparent 22px),
    radial-gradient(circle at 70px 30px, #fb7185 0 24px, transparent 25px),
    radial-gradient(circle at 115px 52px, #f9a8d4 0 20px, transparent 21px),
    radial-gradient(circle at 142px 28px, #86efac 0 15px, transparent 16px);
  opacity: 0.82;
}

.invitation-template-floral .invitation-preview__image {
  top: 76px;
  right: 68px;
  width: 126px;
  height: 126px;
  border-radius: 999px;
  border-color: #fb7185;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.78), 0 18px 34px rgba(244, 114, 182, 0.22);
}

.invitation-template-floral .invitation-preview__details i {
  color: #be123c;
}

.invitation-template-ticket {
  color: #f9fafb;
  background:
    linear-gradient(90deg, #111827 0 72%, var(--event-theme-color) 72% 100%);
}

.invitation-template-ticket::before {
  top: 30px;
  bottom: 30px;
  right: 28%;
  border-left: 2px dashed rgba(255, 255, 255, 0.55);
}

.invitation-template-ticket::after {
  inset: 36px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  box-shadow:
    inset -130px 0 0 color-mix(in srgb, var(--event-theme-color) 22%, transparent),
    inset 0 0 0 10px rgba(255, 255, 255, 0.04);
}

.invitation-template-ticket .invitation-preview__image {
  top: 70px;
  left: 62px;
  width: 168px;
  height: 118px;
  border-radius: 8px;
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.invitation-template-ticket .invitation-preview__body p,
.invitation-template-ticket .invitation-preview__qr p {
  color: rgba(255, 255, 255, 0.82);
}

.invitation-template-ticket .invitation-preview__details i {
  color: #fca5a5;
}

.invitation-template-ticket .invitation-preview__qr {
  background: rgba(17, 24, 39, 0.76);
  border-color: rgba(255, 255, 255, 0.24);
}

.invitation-template-elegant .invitation-preview__body p,
.invitation-template-elegant .invitation-preview__qr p {
  color: rgba(249, 250, 251, 0.78);
}

.invitation-template-elegant .invitation-preview__details i {
  color: #f7d774;
}

.invitation-template-elegant .invitation-preview__qr {
  background: rgba(17, 24, 39, 0.72);
  border-color: rgba(247, 215, 116, 0.28);
}

.guest-event-page {
  position: relative;
  min-height: calc(100vh - 150px);
  background:
    radial-gradient(circle at 18% 10%, color-mix(in srgb, var(--momentyo-primary) 7%, transparent), transparent 30%),
    radial-gradient(circle at 86% 18%, color-mix(in srgb, var(--momentyo-primary) 5%, transparent), transparent 34%),
    #ffffff;
}

.guest-event-page__content {
  position: relative;
}

.guest-event-cover {
  width: 100%;
  aspect-ratio: 16 / 7;
  border: 1px solid var(--momentyo-primary-border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--momentyo-primary-surface-strong);
  box-shadow: 0 14px 34px color-mix(in srgb, var(--momentyo-primary) 13%, transparent);
}

.guest-event-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.guest-event-summary {
  border-bottom: 1px solid var(--momentyo-primary-border);
  padding: 0 4px 16px;
}

.guest-event-summary__title {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 8px;
}

.guest-event-summary__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  color: var(--bs-secondary-color);
  font-size: 0.925rem;
}

.guest-event-summary__meta span {
  display: inline-flex;
  align-items: center;
}

.guest-event-summary__separator {
  color: var(--bs-secondary-color);
  opacity: 0.75;
}

.guest-event-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.guest-event-actions .btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.guest-tool-panel {
  border: 1px solid var(--momentyo-primary-border);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0, color-mix(in srgb, var(--momentyo-primary) 11%, transparent), transparent 34%),
    linear-gradient(145deg, var(--momentyo-primary-surface-strong), #ffffff 72%);
  padding: 24px;
  min-width: 0;
  box-shadow: 0 14px 34px color-mix(in srgb, var(--momentyo-primary) 9%, transparent);
}

.guest-join-form .form-control,
.guest-tool-panel .form-control {
  border-color: color-mix(in srgb, var(--momentyo-primary) 24%, #d7dde6);
  background-color: color-mix(in srgb, var(--momentyo-primary) 3%, #ffffff);
}

.guest-join-form .form-control:focus,
.guest-tool-panel .form-control:focus {
  border-color: var(--momentyo-primary);
  box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--momentyo-primary) 15%, transparent);
}

.guest-tool-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.wheel-results-panel {
  padding: 20px;
}

.wheel-results-list {
  display: grid;
  gap: 10px;
}

.wheel-results-list.is-empty {
  display: block;
}

.wheel-results-empty {
  min-height: 86px;
  border: 1px dashed color-mix(in srgb, var(--momentyo-primary) 34%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--momentyo-primary) 6%, #ffffff);
  color: var(--bs-secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  text-align: center;
  font-weight: 650;
}

.wheel-result-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: flex-start;
  gap: 12px;
  border: 1px solid color-mix(in srgb, var(--momentyo-primary) 18%, var(--bs-border-color));
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, color-mix(in srgb, var(--momentyo-primary) 5%, #ffffff));
  padding: 12px;
  box-shadow: 0 10px 22px color-mix(in srgb, var(--momentyo-primary) 7%, transparent);
}

.wheel-result-card.is-new {
  animation: wheel-result-pop 0.35s ease both;
}

.wheel-result-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: var(--momentyo-primary-soft);
  color: var(--momentyo-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}

.wheel-result-card__body {
  min-width: 0;
}

.wheel-result-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}

.wheel-result-card__meta strong {
  color: var(--momentyo-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wheel-result-card__meta span {
  color: var(--bs-secondary-color);
  font-size: 0.8125rem;
  white-space: nowrap;
}

.wheel-result-card p {
  margin: 0;
  color: var(--momentyo-text);
  font-weight: 750;
  line-height: 1.35;
}

@keyframes wheel-result-pop {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.event-ended-panel {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.event-ended-panel__icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--momentyo-primary-soft);
  color: var(--momentyo-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
}

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

.guest-upload-dropzone {
  min-height: 138px;
  border: 1px dashed color-mix(in srgb, var(--momentyo-primary) 45%, transparent);
  border-radius: 8px;
  background:
    linear-gradient(145deg, #ffffff, var(--momentyo-primary-surface));
  cursor: pointer;
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-align: center;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.guest-upload-dropzone:hover,
.guest-upload-dropzone:focus-within {
  border-color: var(--momentyo-primary);
  box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--momentyo-primary) 13%, transparent);
}

.guest-upload-dropzone__icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--momentyo-primary-soft);
  color: var(--momentyo-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.guest-upload-dropzone__title {
  font-weight: 700;
}

.guest-upload-dropzone__hint {
  color: var(--bs-secondary-color);
  font-size: 0.875rem;
}

.guest-upload-dropzone__filename {
  max-width: 100%;
  border: 1px solid var(--bs-border-color);
  border-radius: 999px;
  color: var(--bs-secondary-color);
  font-size: 0.8125rem;
  padding: 5px 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.guest-upload-selected-files {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.guest-upload-selected-files__title {
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--momentyo-primary);
  text-transform: uppercase;
}

.guest-upload-selected-file {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 10px;
  border: 1px solid color-mix(in srgb, var(--momentyo-primary) 18%, var(--bs-border-color));
  border-radius: 8px;
  background: color-mix(in srgb, #ffffff 88%, var(--momentyo-primary));
  padding: 8px 10px;
}

.guest-upload-selected-file > i {
  color: var(--momentyo-primary);
}

.guest-upload-selected-file__details {
  display: grid;
  min-width: 0;
}

.guest-upload-selected-file__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
}

.guest-upload-selected-file__size {
  color: var(--bs-secondary-color);
  font-size: 0.8125rem;
}

.guest-upload-selected-file__remove {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--momentyo-primary) 10%, #ffffff);
  color: var(--momentyo-primary);
}

.guest-upload-selected-file__remove:hover,
.guest-upload-selected-file__remove:focus {
  background: var(--momentyo-primary);
  color: #ffffff;
}

.event-wheel {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 16px;
  min-width: 0;
}

.event-wheel__stage {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(47, 31, 31, 0.13);
}

.event-wheel__canvas {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  display: block;
  transition: transform 4.6s cubic-bezier(0.12, 0.74, 0.16, 1);
}

.event-wheel__pointer {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: #fff;
  color: var(--momentyo-primary);
  border: 1px solid var(--momentyo-primary-border);
  box-shadow: 0 10px 24px rgba(47, 31, 31, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: -38px;
  z-index: 3;
}

.event-wheel__spin {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 104px;
  height: 104px;
  border: 8px solid #fff;
  border-radius: 999px;
  background: var(--momentyo-primary);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(47, 31, 31, 0.22);
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.event-wheel__spin:hover,
.event-wheel__spin:focus {
  background: var(--momentyo-primary-dark);
}

.event-wheel__spin:active {
  transform: translate(-50%, -50%) scale(0.96);
}

.event-wheel__spin:disabled {
  opacity: 0.78;
}

.event-wheel__result {
  min-height: 52px;
  width: min(100%, 420px);
  border: 1px solid var(--momentyo-primary-border);
  border-radius: 8px;
  background: #fff;
  color: var(--momentyo-text);
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 16px;
}

.event-wheel__result.has-result {
  display: flex;
}

.event-wheel-modal .modal-content {
  position: relative;
  border: 1px solid var(--momentyo-primary-border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 22px 60px rgba(47, 31, 31, 0.18);
}

.event-wheel-modal .modal-body {
  padding: 32px 24px 24px;
  background: #fff;
}

.event-wheel-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  opacity: 0.55;
}

.event-wheel-modal__close:hover,
.event-wheel-modal__close:focus {
  opacity: 0.9;
}

.event-wheel-modal__panel {
  min-width: 0;
}

.event-wheel-modal .event-wheel__stage {
  width: min(100%, 440px);
}

.contest-category-list {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.contest-category {
  border: 1px solid var(--bs-border-color);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.contest-category__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.contest-category__header h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}

.contest-category__header span {
  color: var(--bs-secondary-color);
  font-size: 0.8125rem;
}

.contest-entry-strip {
  display: flex;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 2px 10px;
  scroll-snap-type: x mandatory;
  scrollbar-color: color-mix(in srgb, var(--momentyo-primary) 42%, transparent) transparent;
}

.contest-entry-strip::-webkit-scrollbar {
  height: 8px;
}

.contest-entry-strip::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: color-mix(in srgb, var(--momentyo-primary) 38%, transparent);
}

.contest-feature-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(154px, 172px));
  gap: 12px;
  align-items: stretch;
}

.contest-entry-card,
.contest-upload-card {
  width: 172px;
  flex: 0 0 172px;
  scroll-snap-align: start;
}

.contest-entry-card {
  border: 1px solid var(--bs-border-color);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.contest-entry-card.is-winner {
  border-color: #d4af37;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.26);
}

.contest-entry-card.is-selected {
  border-color: var(--momentyo-primary);
}

.contest-entry-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--momentyo-primary-soft);
}

.contest-entry-card__media-button {
  width: 100%;
  border: 0;
  border-radius: 0;
  cursor: zoom-in;
  padding: 0;
  text-align: inherit;
}

.contest-entry-card__media-button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--momentyo-primary) 35%, transparent);
  outline-offset: -3px;
}

.contest-entry-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contest-crown,
.contest-vote-count {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contest-crown {
  top: 8px;
  left: 8px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #d4af37;
  color: #fff;
  box-shadow: 0 2px 8px rgba(47, 31, 31, 0.2);
}

.contest-vote-count {
  right: 8px;
  bottom: 8px;
  border-radius: 999px;
  background: rgba(47, 31, 31, 0.78);
  color: #fff;
  font-size: 0.8125rem;
  line-height: 1;
  padding: 6px 8px;
}

.contest-entry-card__body {
  display: grid;
  gap: 8px;
  padding: 10px;
}

.contest-uploader {
  font-size: 0.875rem;
  font-weight: 600;
  min-width: 0;
}

.contest-card-hint {
  color: var(--bs-secondary-color);
  font-size: 0.8125rem;
}

.contest-upload-card {
  border: 1px dashed color-mix(in srgb, var(--momentyo-primary) 45%, transparent);
  border-radius: 8px;
  background: #fff;
  padding: 10px;
  display: grid;
  align-content: space-between;
  gap: 10px;
  min-height: 234px;
}

.contest-upload-card__picker {
  min-height: 164px;
  border-radius: 8px;
  background: var(--momentyo-primary-soft);
  color: var(--momentyo-primary);
  cursor: pointer;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  font-weight: 700;
}

.contest-upload-card__picker span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contest-photo-modal .modal-content {
  border: 0;
  border-radius: 8px;
  overflow: hidden;
}

.contest-photo-modal .modal-header {
  border-bottom-color: var(--momentyo-primary-border);
}

.contest-photo-modal .modal-body {
  background: #151515;
  padding: 0;
}

.contest-modal-photo-frame {
  position: relative;
  min-height: 58vh;
  max-height: 76vh;
  background: #151515;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contest-modal-photo-frame img {
  width: 100%;
  height: 100%;
  max-height: 76vh;
  object-fit: contain;
  display: block;
}

.contest-modal-vote-form,
.contest-modal-own-badge,
.contest-modal-votes,
.contest-modal-crown {
  position: absolute;
  z-index: 2;
}

.contest-modal-vote-form {
  right: 22px;
  bottom: 22px;
}

.contest-modal-heart {
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--momentyo-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.contest-modal-heart:hover,
.contest-modal-heart:focus {
  background: #fff;
  color: var(--momentyo-primary-dark);
}

.contest-modal-heart.is-selected,
.contest-modal-heart:disabled {
  background: var(--momentyo-primary);
  color: #fff;
  opacity: 1;
}

.contest-modal-own-badge {
  right: 22px;
  bottom: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--momentyo-primary);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 9px 12px;
}

.contest-modal-votes {
  right: 22px;
  top: 22px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  font-weight: 700;
  padding: 8px 12px;
}

.contest-modal-crown {
  left: 22px;
  top: 22px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #d4af37;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
}

.contest-modal-caption {
  min-height: 54px;
  background: #fff;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.contest-photo-modal .carousel-control-prev,
.contest-photo-modal .carousel-control-next {
  width: 12%;
}

.contest-photo-modal .carousel-control-prev-icon,
.contest-photo-modal .carousel-control-next-icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  background-color: rgba(0, 0, 0, 0.48);
  background-size: 55%;
}

.guest-empty-state {
  border: 1px solid var(--bs-border-color);
  border-radius: 8px;
  background: #fff;
  color: var(--bs-secondary-color);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.guest-quiz-question {
  background: #fff;
}

.guest-quiz-question label {
  display: block;
}

.guest-quiz-results {
  border-top: 1px solid var(--momentyo-primary-border);
  padding-top: 18px;
}

.guest-quiz-results__header,
.guest-quiz-result-group__header,
.guest-quiz-answer__meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.guest-quiz-results__header {
  margin-bottom: 14px;
}

.guest-quiz-result-list,
.guest-quiz-answer-list {
  display: grid;
  gap: 10px;
}

.guest-quiz-result-group {
  border: 1px solid var(--bs-border-color);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.guest-quiz-result-group__header {
  border-bottom: 1px solid var(--bs-border-color);
  padding: 12px 14px;
}

.guest-quiz-result-group__header span,
.guest-quiz-answer__meta span:last-child {
  color: var(--bs-secondary-color);
  font-size: 0.8125rem;
  white-space: nowrap;
}

.guest-quiz-answer-list {
  padding: 12px;
}

.guest-quiz-answer {
  border: 1px solid var(--momentyo-primary-border);
  border-radius: 8px;
  background: var(--momentyo-primary-soft);
  padding: 12px;
}

.guest-quiz-answer p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.event-cover-cropper__stage {
  width: 100%;
  max-width: 820px;
  min-height: 260px;
  margin: 0 auto;
  border: 1px solid var(--bs-border-color);
  border-radius: 8px;
  background: #191919;
  overflow: hidden;
  position: relative;
  touch-action: none;
}

.event-cover-cropper__image {
  position: absolute;
  display: block;
  max-width: none;
  user-select: none;
  pointer-events: none;
}

.event-cover-cropper__box {
  position: absolute;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.48), 0 0 0 1px color-mix(in srgb, var(--momentyo-primary) 80%, transparent);
  cursor: move;
  touch-action: none;
}

.event-cover-cropper__box::before,
.event-cover-cropper__box::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.event-cover-cropper__box::before {
  background-image:
    linear-gradient(to right, transparent 33.333%, rgba(255, 255, 255, 0.72) 33.333%, rgba(255, 255, 255, 0.72) calc(33.333% + 1px), transparent calc(33.333% + 1px), transparent 66.666%, rgba(255, 255, 255, 0.72) 66.666%, rgba(255, 255, 255, 0.72) calc(66.666% + 1px), transparent calc(66.666% + 1px)),
    linear-gradient(to bottom, transparent 33.333%, rgba(255, 255, 255, 0.72) 33.333%, rgba(255, 255, 255, 0.72) calc(33.333% + 1px), transparent calc(33.333% + 1px), transparent 66.666%, rgba(255, 255, 255, 0.72) 66.666%, rgba(255, 255, 255, 0.72) calc(66.666% + 1px), transparent calc(66.666% + 1px));
}

.event-cover-cropper__box::after {
  border: 2px solid var(--momentyo-primary);
  inset: -2px;
}

.event-cover-cropper__handle {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: var(--momentyo-primary);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.28);
  z-index: 2;
}

.event-cover-cropper__handle--nw {
  top: -10px;
  left: -10px;
  cursor: nwse-resize;
}

.event-cover-cropper__handle--ne {
  top: -10px;
  right: -10px;
  cursor: nesw-resize;
}

.event-cover-cropper__handle--sw {
  bottom: -10px;
  left: -10px;
  cursor: nesw-resize;
}

.event-cover-cropper__handle--se {
  right: -10px;
  bottom: -10px;
  cursor: nwse-resize;
}

.event-cover-crop-result .event-background-preview {
  max-width: 320px;
}

.media-page {
  max-width: 1180px;
  margin: 0 auto;
}

.media-uploader-panel {
  overflow: hidden;
}

.media-zip-button {
  min-height: 38px;
  border-radius: 8px;
  font-weight: 800;
  box-shadow: 0 10px 22px color-mix(in srgb, var(--momentyo-primary) 18%, transparent);
}

.media-uploader-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #fff;
}

.media-counts {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.media-counts span {
  border: 1px solid var(--bs-border-color);
  border-radius: 999px;
  color: var(--bs-secondary-color);
  font-size: 0.8125rem;
  line-height: 1;
  padding: 6px 9px;
  white-space: nowrap;
}

.media-category-board {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: start;
}

.media-type-section {
  border: 1px solid var(--bs-border-color);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.media-type-section + .media-type-section {
  margin-top: 0;
  padding-top: 12px;
}

.media-type-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--bs-border-color);
}

.media-type-section__header h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
}

.media-type-section__header span {
  color: var(--bs-secondary-color);
  font-size: 0.8125rem;
  white-space: nowrap;
}

.media-compact-grid,
.media-message-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.media-compact-card,
.media-audio-row,
.media-message-card {
  border: 1px solid var(--bs-border-color);
  border-radius: 8px;
  background: #fff;
}

.media-compact-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 92px;
  padding: 8px;
}

.media-compact-thumb {
  width: 92px;
  height: 76px;
  border-radius: 6px;
  background: var(--momentyo-primary-soft);
  display: block;
}

video.media-compact-thumb {
  object-fit: cover;
}

.media-compact-body {
  min-width: 0;
}

.media-audio-list {
  display: grid;
  gap: 10px;
}

.media-audio-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px;
}

.media-audio-icon {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--momentyo-primary-soft);
  color: var(--momentyo-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.media-audio-content {
  min-width: 0;
}

.media-message-card {
  padding: 12px;
}

.media-delete-button {
  width: 36px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.admin-event-delete-button {
  width: 34px;
  height: 32px;
  padding: 0;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.admin-event-delete-button i {
  margin: 0;
  font-size: 0.9rem;
}

.admin-event-delete-button:hover,
.admin-event-delete-button:focus {
  box-shadow: 0 10px 22px rgba(220, 53, 69, 0.18);
}

@media (max-width: 991.98px) {
  .dashboard-event-card {
    grid-template-columns: 1fr;
  }

  .dashboard-event-entry {
    grid-row: auto;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .invitation-preview-layout {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 12px;
  }

  .invitation-template-rail {
    padding: 8px;
    gap: 8px;
  }

  .invitation-template-option--rail .invitation-template-option__swatch {
    height: 46px;
  }

  .invitation-preview-shell {
    min-height: auto;
  }
}

@media (max-width: 767.98px) {
  .invitation-designer-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .invitation-fields-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "image"
      "title"
      "subtitle"
      "note";
  }

  .invitation-output-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .invitation-preview-layout {
    grid-template-columns: 1fr;
  }

  .invitation-template-rail {
    position: static;
    grid-template-columns: repeat(8, minmax(68px, 1fr));
    overflow-x: auto;
  }

  .invitation-template-option--rail {
    min-width: 68px;
  }
}

@media (max-width: 575.98px) {
  .invitation-template-grid {
    grid-template-columns: 1fr;
  }

  .invitation-template-strip {
    padding: 14px;
  }

  .invitation-template-strip__header {
    display: grid;
    gap: 4px;
  }

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

  .invitation-control-panel,
  .invitation-preview-shell {
    padding: 16px;
  }

  .invitation-preview {
    padding: 28px;
  }

  .invitation-preview h2 {
    font-size: 2.15rem;
  }

  .invitation-preview__qr {
    grid-template-columns: 1fr;
  }

  .invitation-template-custom .invitation-preview__qr {
    right: 16px;
    bottom: 16px;
    width: calc(100% - 32px);
    grid-template-columns: auto minmax(0, 1fr);
  }

  .dashboard-hero {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .dashboard-hero__action {
    justify-content: flex-start;
  }

  .event-theme-picker {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .event-theme-picker .btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  .dashboard-event-card {
    padding: 18px;
  }

  .dashboard-event-card__header {
    flex-direction: column;
    align-items: stretch;
  }

  .dashboard-event-entry {
    grid-template-columns: 1fr;
  }

  .dashboard-event-actions {
    grid-template-columns: 1fr;
  }

  .dashboard-qr-frame {
    width: fit-content;
  }

  .guest-tool-panel {
    padding: 16px;
  }

  .guest-event-actions,
  .guest-media-mode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guest-event-actions .btn {
    white-space: normal;
  }

  .guest-tool-panel__header,
  .contest-category__header {
    align-items: stretch;
    flex-direction: column;
  }

  .contest-entry-card,
  .contest-upload-card {
    width: 154px;
    flex-basis: 154px;
  }

  .contest-upload-card {
    min-height: 218px;
  }

  .contest-upload-card__picker {
    min-height: 148px;
  }

  .media-uploader-panel__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .media-counts {
    justify-content: flex-start;
  }

  .media-category-board {
    grid-template-columns: 1fr;
  }

  .event-card-cover-uploader {
    grid-template-columns: 1fr;
  }

  .event-card-cover-uploader__save {
    width: 100%;
  }

  .media-compact-card {
    grid-template-columns: 76px minmax(0, 1fr) auto;
  }

  .media-compact-thumb {
    width: 76px;
    height: 64px;
  }

  .media-audio-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .media-audio-icon {
    display: none;
  }
}

