:root {
  --bg: #050505;
  --bg-soft: #0d0d0d;
  --panel: rgba(18, 18, 18, 0.94);
  --panel-strong: rgba(9, 9, 9, 0.96);
  --card: #141414;
  --card-soft: #1b1b1b;
  --ink: #f5f5f5;
  --muted: #b0b0b0;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #5cff2f;
  --accent-soft: #8bff6b;
  --accent-glow: rgba(92, 255, 47, 0.26);
  --success: #63d471;
  --danger: #ff6f61;
  --shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
  font-family: "Avenir Next", "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: #000;
}

html.preload-event #landing-screen {
  display: none;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(92, 255, 47, 0.12), transparent 24%),
    radial-gradient(circle at bottom right, rgba(92, 255, 47, 0.06), transparent 28%),
    linear-gradient(145deg, #020202 0%, #0a0a0a 46%, #050505 100%);
}

body.landing-mode .shell {
  display: none;
}

body.app-mode #landing-screen {
  display: none;
}

body.app-mode .shell {
  grid-template-columns: 1fr;
  width: min(100%, 1480px);
  margin: 0 auto;
}

body.app-mode .hero {
  border-right: none;
  border-bottom: 1px solid var(--line);
  padding: 28px 24px 22px;
  gap: 14px;
  align-items: center;
  text-align: center;
}

body.app-mode .hero h1 {
  max-width: none;
  font-size: clamp(38px, 5vw, 64px);
}

body.app-mode .hero__copy {
  max-width: 880px;
}

body.app-mode .content {
  padding: 20px 24px 32px;
}

body.app-mode .content > * {
  width: min(100%, 1240px);
  margin-inline: auto;
}

body.app-mode .logo-lockup,
body.app-mode .hero-highlights {
  align-items: center;
  justify-content: center;
}

body.app-mode #admin-panel,
body.app-mode #event-access-panel,
body.app-mode #event-access-fallback {
  display: none !important;
}

body.admin-mode #landing-screen {
  display: none;
}

body.admin-mode .shell {
  grid-template-columns: 1fr;
}

body.admin-mode .content {
  display: none;
}

body.admin-mode .hero {
  border-right: none;
  background: transparent;
  padding: 28px;
  width: min(100%, 1440px);
  margin: 0 auto;
}

body.admin-mode .hero__badge,
body.admin-mode .hero__copy,
body.admin-mode .hero-highlights,
body.admin-mode .hero-rating,
body.admin-mode #event-access-panel,
body.admin-mode .panel--selection:not(#admin-panel) {
  display: none;
}

body.admin-mode .logo-lockup {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

body.admin-mode .brand-logo {
  width: min(100%, 220px);
}

body.admin-mode .brand-submark {
  font-size: 14px;
  letter-spacing: 0.18em;
}

body.admin-mode .hero h1 {
  max-width: none;
  font-size: 40px;
  margin-top: 6px;
}

body.admin-mode .hero {
  gap: 14px;
}

body.admin-mode #admin-panel {
  display: block !important;
  width: 100%;
  padding: 28px;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(20, 20, 20, 0.98), rgba(10, 10, 10, 0.96)),
    rgba(10, 10, 10, 0.94);
}

body.admin-mode .admin-create {
  margin-bottom: 18px;
  padding: 20px;
}

body.admin-mode .admin-workspace {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

body.admin-mode .admin-sidebar,
body.admin-mode .admin-main {
  min-width: 0;
}

body.admin-locked .logo-lockup,
body.admin-locked .hero h1,
body.admin-locked #admin-panel > .panel__label,
body.admin-locked #admin-panel > h2,
body.admin-locked #admin-panel > .panel__copy {
  display: none;
}

body.admin-locked #admin-panel {
  max-width: 520px;
  margin: 8vh auto 0;
  padding: 28px;
}

body.admin-mode .admin-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.admin-mode .admin-events {
  display: grid;
  gap: 14px;
}

body.admin-mode .admin-event-item {
  border-top: none;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  padding: 18px;
}

body.admin-mode .admin-event-item.is-selected {
  background: rgba(92, 255, 47, 0.06);
  border-color: rgba(92, 255, 47, 0.18);
}

.landing-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.landing-layout {
  width: min(100%, 980px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: start;
}

.landing-card {
  width: 100%;
  background: linear-gradient(180deg, rgba(26, 26, 26, 0.98), rgba(15, 15, 15, 0.95));
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.landing-card--order {
  align-items: stretch;
  text-align: left;
}

.landing-layout .landing-card {
  max-width: 980px;
  margin-inline: auto;
}

.landing-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -35% auto;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(92, 255, 47, 0.2), transparent 70%);
  pointer-events: none;
}

.landing-logo {
  width: min(100%, 260px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(92, 255, 47, 0.16));
}

.landing-card h1 {
  max-width: 12ch;
}

.landing-card--order h2 {
  margin: 0;
}

.order-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

.order-flow__step {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  padding: 10px 12px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.order-flow__step.is-active {
  color: #fff;
  border-color: rgba(92, 255, 47, 0.28);
  background: rgba(92, 255, 47, 0.09);
}

.order-section {
  width: 100%;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  padding: 18px;
}

.order-section__title {
  margin: 4px 0 0;
  color: #fff;
}

.landing-access {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  width: 100%;
  align-items: end;
}

.landing-access .text-input {
  margin-top: 0;
}

.landing-feedback {
  min-height: 24px;
  color: var(--muted);
  font-size: 14px;
}

.landing-highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.landing-highlights--order {
  justify-content: flex-start;
}

.landing-lead {
  max-width: 52ch;
  color: #f0f0f0;
  font-size: 18px;
  line-height: 1.6;
  text-align: center;
}

.landing-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.landing-cta__hint {
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.landing-sales {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.landing-sales__item {
  border-radius: 22px;
  border: 1px solid rgba(92, 255, 47, 0.12);
  background: rgba(92, 255, 47, 0.05);
  padding: 18px;
  text-align: left;
}

.landing-sales__item strong {
  display: block;
  color: #fff;
  margin-bottom: 8px;
}

.landing-sales__item span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.landing-trust {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.landing-trust__item {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  padding: 16px;
  text-align: left;
}

.landing-trust__item strong {
  display: block;
  color: #fff;
  margin-bottom: 6px;
}

.landing-trust__item span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.landing-story {
  width: 100%;
  border-radius: 22px;
  border: 1px solid rgba(92, 255, 47, 0.14);
  background: rgba(92, 255, 47, 0.05);
  padding: 18px;
  text-align: left;
}

.landing-usecases {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.landing-usecases__title {
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  text-align: center;
}

.landing-usecases__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.landing-usecases__list span {
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.landing-proof {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.landing-proof__item {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  padding: 16px;
  text-align: left;
}

.landing-proof__item strong {
  display: block;
  color: #fff;
  margin-bottom: 6px;
}

.landing-proof__item span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.landing-card--access {
  align-items: stretch;
  text-align: left;
}

.landing-card--access h2,
.landing-card--access .hero__copy,
.landing-card--access .landing-feedback {
  text-align: center;
}

.landing-admin-link {
  width: 100%;
  text-align: center;
  padding-top: 2px;
}

.landing-admin-link a {
  color: rgba(255, 255, 255, 0.34);
  font-size: 11px;
  text-decoration: none;
}

.landing-admin-link a:hover {
  color: rgba(255, 255, 255, 0.58);
}

.landing-steps {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 4px;
}

.landing-step {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  padding: 14px;
  text-align: left;
}

.order-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
}

.order-grid .text-input {
  margin-top: 0;
}

.order-style-grid {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.order-package-grid {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.order-package-card {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(23, 23, 23, 0.96), rgba(13, 13, 13, 0.96));
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  transition: transform 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
}

.order-package-card:hover {
  transform: translateY(-1px);
  border-color: rgba(92, 255, 47, 0.2);
}

.order-package-card.is-selected {
  border-color: rgba(92, 255, 47, 0.45);
  box-shadow: 0 0 0 2px rgba(92, 255, 47, 0.18);
}

.order-package-card.is-featured {
  background:
    radial-gradient(circle at top right, rgba(92, 255, 47, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(23, 23, 23, 0.98), rgba(13, 13, 13, 0.96));
}

.order-package-card__top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: start;
}

.order-package-card__name {
  color: #fff;
  font-size: 20px;
  font-weight: 800;
}

.order-package-card__badge {
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(92, 255, 47, 0.12);
  color: var(--accent-soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.order-package-card__price {
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.order-package-card__sub {
  color: var(--muted);
  font-size: 13px;
}

.order-package-card__desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.order-package-summary {
  margin-top: 12px;
  min-height: 24px;
  color: var(--muted);
  font-size: 14px;
}

.order-package-select {
  display: none !important;
}

.order-style-toggle {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
}

.order-style-toggle input {
  display: none;
}

.order-style-toggle img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
}

.order-style-toggle span {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.order-style-toggle.is-selected {
  border-color: rgba(92, 255, 47, 0.4);
  box-shadow: 0 0 0 2px rgba(92, 255, 47, 0.18);
}

.order-result {
  margin-top: 8px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(92, 255, 47, 0.18);
  background: rgba(92, 255, 47, 0.06);
}

.order-result__top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
}

.order-result__qr {
  width: 160px;
  height: 160px;
  border-radius: 18px;
  background: #fff;
  padding: 10px;
  object-fit: contain;
}

.order-result__meta {
  margin-top: 12px;
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}

.landing-step strong,
.admin-stat strong {
  display: block;
  color: #fff;
  margin-bottom: 6px;
}

.landing-step span,
.admin-stat span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.shell {
  display: grid;
  grid-template-columns: 420px 1fr;
  min-height: 100vh;
}

.hero {
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.98), rgba(17, 17, 17, 0.94)),
    rgba(10, 10, 10, 0.92);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.logo-lockup {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.brand-logo {
  display: block;
  width: min(100%, 230px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(92, 255, 47, 0.16));
}

.brand-submark {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

.hero__badge,
.eyebrow,
.panel__label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  color: var(--accent-soft);
  font-weight: 700;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: 48px;
  line-height: 0.95;
  max-width: 12ch;
  color: #fff;
}

h2 {
  font-size: 28px;
  margin-top: 6px;
  color: #fff;
}

.hero__copy {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-chip {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(92, 255, 47, 0.08);
  border: 1px solid rgba(92, 255, 47, 0.2);
  color: #eaffea;
  font-size: 13px;
  font-weight: 700;
}

.hero-rating {
  color: #d8ffd0;
  font-weight: 800;
  font-size: 14px;
}

.content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.panel--selection-top {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

body.app-mode .topbar {
  text-align: center;
  flex-direction: column;
}

body.app-mode .topbar > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.health-pill {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(92, 255, 47, 0.08);
  border: 1px solid rgba(92, 255, 47, 0.18);
  color: #f2ffe9;
  font-weight: 700;
  white-space: nowrap;
}

.panel {
  background: linear-gradient(180deg, rgba(26, 26, 26, 0.98), rgba(15, 15, 15, 0.95));
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 18px;
}

.panel__copy {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.45;
  font-size: 14px;
}

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

.preview-status {
  color: var(--accent-soft);
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}

.flow-stage {
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(92, 255, 47, 0.12), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(92, 255, 47, 0.16);
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}

.flow-stage.ready {
  background: linear-gradient(135deg, rgba(92, 255, 47, 0.12), rgba(255, 255, 255, 0.03));
}

.flow-stage.waiting {
  background: linear-gradient(135deg, rgba(92, 255, 47, 0.18), rgba(122, 240, 84, 0.08));
}

.flow-stage.processing {
  background: linear-gradient(135deg, rgba(57, 255, 20, 0.2), rgba(92, 255, 47, 0.08));
}

.flow-stage.completed {
  background: linear-gradient(135deg, rgba(31, 199, 82, 0.26), rgba(92, 255, 47, 0.1));
}

.flow-stage.failed {
  background: linear-gradient(135deg, rgba(255, 111, 97, 0.22), rgba(255, 90, 90, 0.08));
}

.selected-card {
  min-height: 72px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
}

body.app-mode .selected-card {
  text-align: center;
  align-items: center;
}

.selected-card.empty {
  color: var(--muted);
}

.actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.actions--hidden {
  display: none;
}

.actions--result {
  flex-wrap: wrap;
}

.actions--stack {
  flex-direction: column;
}

.file-input {
  display: block;
  width: 100%;
  margin-top: 14px;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid rgba(92, 255, 47, 0.16);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
}

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

.upload-dropzone {
  margin-top: 14px;
  min-height: 164px;
  border-radius: 24px;
  border: 1px dashed rgba(92, 255, 47, 0.32);
  background:
    radial-gradient(circle at top right, rgba(92, 255, 47, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(22, 22, 22, 0.96), rgba(12, 12, 12, 0.96));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 20px;
  cursor: pointer;
  transition: transform 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
}

.upload-dropzone:hover {
  transform: translateY(-1px);
  border-color: rgba(92, 255, 47, 0.52);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
}

.upload-dropzone__icon {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(92, 255, 47, 0.14);
  border: 1px solid rgba(92, 255, 47, 0.2);
  color: var(--accent-soft);
  font-size: 30px;
  font-weight: 400;
}

.upload-dropzone__title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
}

.upload-dropzone__copy {
  max-width: 28ch;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.upload-file-name {
  margin-top: 10px;
  min-height: 20px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.auto-upload-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

.text-input,
select.text-input {
  display: block;
  width: 100%;
  margin-top: 14px;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid rgba(92, 255, 47, 0.16);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
}

.event-access {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: end;
}

.event-access .text-input {
  margin-top: 12px;
}

.event-card,
.admin-events {
  margin-top: 14px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  padding: 14px;
}

.event-card.empty,
.admin-events.empty {
  color: var(--muted);
}

.event-card strong,
.admin-event-item strong {
  display: block;
  color: #fff;
  margin-bottom: 4px;
}

.event-card span {
  display: block;
  margin-top: 2px;
}

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

.admin-grid .text-input {
  margin-top: 0;
}

.admin-event-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 16px;
}

.admin-login {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.admin-stat {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  padding: 14px;
}

.admin-event-item {
  align-items: flex-start;
}

.admin-event-item.is-selected {
  background: rgba(92, 255, 47, 0.05);
  border-radius: 18px;
  padding-left: 12px;
  padding-right: 12px;
}

.admin-event-item__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.05);
  color: #f3f3f3;
}

.admin-badge.is-paid {
  background: rgba(99, 212, 113, 0.14);
  color: #dfffe3;
}

.admin-badge.is-open {
  background: rgba(255, 207, 92, 0.12);
  color: #ffefbe;
}

.admin-event-meta {
  display: grid;
  gap: 4px;
}

.admin-editor {
  margin: 14px 0 16px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  padding: 16px;
}

.admin-editor.empty {
  color: var(--muted);
}

.admin-editor h3 {
  margin: 6px 0 4px;
  color: #fff;
}

.admin-editor__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.admin-editor__head > div:first-child {
  flex: 1 1 auto;
}

.admin-editor__section {
  margin-top: 18px;
}

.admin-look-actions {
  margin-top: 12px;
}

.admin-qr {
  width: 140px;
  height: 140px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: white;
  padding: 8px;
  flex: 0 0 auto;
}

.admin-qr img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.admin-look-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.admin-look-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  padding: 12px;
  color: #f3f3f3;
}

.custom-style-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.custom-style-card {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  padding: 14px;
}

.custom-style-card__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.custom-style-card__head strong {
  color: #fff;
}

.custom-style-card textarea.text-input {
  min-height: 132px;
  resize: vertical;
}

.admin-event-item:first-child {
  border-top: none;
  padding-top: 0;
}

.admin-event-item:last-child {
  padding-bottom: 0;
}

.admin-event-item a {
  color: var(--accent-soft);
  text-decoration: none;
}

body.admin-mode .admin-grid {
  grid-template-columns: 2fr 1fr 1fr 1fr;
}

body.admin-mode .admin-login {
  max-width: 480px;
}

body.admin-mode .admin-login[hidden],
body.admin-mode #admin-secure[hidden] {
  display: none !important;
}

body.admin-mode .admin-events {
  margin-top: 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

body.admin-mode .admin-event-item {
  padding: 18px;
}

.admin-event-group {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.admin-event-group__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.admin-event-group__head h4 {
  margin: 0;
  font-size: 16px;
  color: #fff;
}

.admin-event-group__list {
  padding: 0 18px;
}

.admin-event-group__list.is-empty {
  padding: 18px 20px;
}

.admin-empty {
  color: var(--muted);
  font-size: 14px;
}

body.admin-mode .admin-editor {
  padding: 22px;
  margin: 0;
}

body.app-mode #event-access-panel {
  display: none;
}

.upload-feedback {
  margin-top: 14px;
  border-radius: 18px;
  border: 1px solid rgba(92, 255, 47, 0.16);
  background: rgba(255, 255, 255, 0.03);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

body.app-mode .upload-feedback {
  justify-content: center;
  text-align: center;
  padding: 16px 18px;
}

.upload-feedback[data-state="completed"] {
  border-color: rgba(99, 212, 113, 0.26);
  background: rgba(99, 212, 113, 0.08);
}

.upload-feedback[data-state="failed"] {
  border-color: rgba(255, 111, 97, 0.28);
  background: rgba(255, 111, 97, 0.08);
}

.upload-feedback__spinner {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 3px solid rgba(255, 255, 255, 0.14);
  border-top-color: var(--accent);
  flex: 0 0 auto;
  animation: spin 0.9s linear infinite;
}

.upload-feedback[data-state="completed"] .upload-feedback__spinner {
  border: none;
  width: 24px;
  height: 24px;
  background: rgba(99, 212, 113, 0.18);
  display: grid;
  place-items: center;
  animation: none;
}

.upload-feedback[data-state="completed"] .upload-feedback__spinner::before {
  content: "✓";
  color: var(--success);
  font-size: 14px;
  font-weight: 800;
}

.upload-feedback[data-state="failed"] .upload-feedback__spinner {
  border: none;
  width: 24px;
  height: 24px;
  background: rgba(255, 111, 97, 0.18);
  display: grid;
  place-items: center;
  animation: none;
}

.upload-feedback[data-state="failed"] .upload-feedback__spinner::before {
  content: "!";
  color: var(--danger);
  font-size: 14px;
  font-weight: 800;
}

.upload-feedback__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

body.app-mode .upload-feedback__text {
  align-items: center;
}

.upload-feedback__text strong {
  font-size: 15px;
  color: #fff;
}

.upload-feedback__text span {
  font-size: 13px;
  color: var(--muted);
}

.button {
  border: none;
  border-radius: 16px;
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

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

.button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.button--primary {
  background: linear-gradient(135deg, #37d914, #74ff52);
  color: #061003;
  box-shadow: 0 16px 40px rgba(92, 255, 47, 0.24);
}

.button--ghost,
.button--small {
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.button--small {
  padding: 10px 14px;
}

.style-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.style-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0;
  background: linear-gradient(180deg, rgba(27, 27, 27, 0.98), rgba(14, 14, 14, 0.96));
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
  text-align: left;
  min-height: 204px;
}

.style-card:hover,
.style-card.is-selected {
  transform: translateY(-3px);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.5);
  border-color: rgba(92, 255, 47, 0.25);
}

.style-card.is-selected {
  outline: 2px solid rgba(92, 255, 47, 0.55);
}

.style-card__image {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}

.style-card__icon {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.74);
  color: #fff;
  font-size: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.32);
}

.style-card__name,
.style-card__model {
  display: block;
  padding: 0 13px;
}

.style-card__name {
  padding-top: 12px;
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
}

.style-card__model {
  padding-top: 5px;
  padding-bottom: 14px;
  color: #b4b4b4;
  font-size: 12px;
}

.status-list,
.jobs-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.status-item,
.job-item {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  padding: 12px 14px;
}

.session-log {
  margin-top: 10px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.35;
  color: #c8c8c8;
  max-height: 120px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

.session-log.empty {
  color: var(--muted);
}

.session-log-wrap {
  margin-top: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 10px;
}

.session-log-wrap summary {
  cursor: pointer;
  list-style: none;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-soft);
}

.session-log-wrap summary::-webkit-details-marker {
  display: none;
}

.status-item strong,
.job-item strong {
  display: block;
  margin-bottom: 2px;
  color: #fff;
}

.meta {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.job-status {
  font-weight: 700;
}

.job-status.completed {
  color: var(--success);
}

.job-status.failed {
  color: var(--danger);
}

.panel--preview {
  padding: 14px;
}

.result-preview {
  margin-top: 10px;
  min-height: 320px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.96), rgba(9, 9, 9, 0.96));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.result-preview.empty {
  color: var(--muted);
  font-weight: 700;
}

.result-preview img {
  display: block;
  width: 100%;
  max-height: 68vh;
  object-fit: contain;
  background: #050505;
}

@media (max-width: 1400px) {
  .style-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

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

  .hero {
    padding-bottom: 22px;
  }

  .content {
    padding-top: 18px;
  }

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

@media (max-width: 760px) {
  .hero {
    padding: 18px 16px;
    gap: 16px;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .brand-logo {
    width: min(100%, 190px);
  }

  .content {
    padding: 14px;
    gap: 16px;
  }

  h1 {
    font-size: 34px;
    max-width: none;
  }

  h2 {
    font-size: 22px;
  }

  .hero__copy {
    font-size: 15px;
  }

  .hero__badge,
  .hero-rating,
  .eyebrow {
    display: none;
  }

  .hero-highlights {
    gap: 8px;
  }

  .hero-chip {
    font-size: 12px;
    padding: 8px 10px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar h2 {
    margin: 0;
  }

  .panel {
    padding: 14px;
    border-radius: 20px;
  }

  .upload-dropzone {
    min-height: 146px;
    border-radius: 20px;
    padding: 18px;
  }

  .upload-dropzone__title {
    font-size: 19px;
  }

  .upload-dropzone__copy {
    font-size: 13px;
  }

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

  .event-access,
  .admin-grid,
  .landing-access {
    grid-template-columns: 1fr;
  }

  .landing-sales,
  .landing-steps,
  .landing-proof,
  .landing-trust,
  .admin-summary,
  .admin-look-grid {
    grid-template-columns: 1fr;
  }

  .custom-style-grid {
    grid-template-columns: 1fr;
  }

  body.admin-mode .admin-workspace {
    grid-template-columns: 1fr;
  }

  .admin-editor__head {
    flex-direction: column;
  }

  .admin-qr {
    width: 180px;
    height: 180px;
  }

  .style-card {
    min-height: 176px;
    border-radius: 18px;
  }

  .landing-card {
    padding: 24px 18px;
    border-radius: 24px;
  }

  .landing-lead {
    font-size: 16px;
  }

  .order-grid,
  .order-package-grid,
  .order-style-grid {
    grid-template-columns: 1fr 1fr;
  }

  body.admin-mode .hero {
    padding: 18px 14px;
  }

  body.admin-mode #admin-panel {
    padding: 18px;
    border-radius: 24px;
  }

  .style-card__image {
    height: 100px;
  }

  .style-card__icon {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .style-card__name {
    font-size: 15px;
    padding-top: 10px;
  }

  .style-card__model {
    font-size: 11px;
    padding-bottom: 12px;
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .result-preview {
    min-height: 240px;
    border-radius: 20px;
  }

  .result-preview img {
    max-height: 52vh;
  }

  .selected-card {
    min-height: 0;
  }

  .flow-stage {
    font-size: 16px;
    padding: 12px 14px;
  }

  .preview-status {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 16px 14px;
  }

  .content {
    padding: 12px;
  }

  h1 {
    font-size: 28px;
    line-height: 1;
  }

  .style-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .order-grid,
  .order-package-grid,
  .order-style-grid {
    grid-template-columns: 1fr;
  }

  .order-flow {
    grid-template-columns: 1fr 1fr;
  }

  .order-result__top {
    flex-direction: column;
  }

  .order-result__qr {
    width: 132px;
    height: 132px;
  }

  .brand-logo {
    width: min(100%, 168px);
  }

  .hero-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .hero-chip {
    text-align: center;
  }

  .content {
    padding: 10px;
    gap: 12px;
  }

  .panel {
    padding: 12px;
    border-radius: 18px;
  }

  .upload-dropzone {
    min-height: 132px;
    border-radius: 18px;
    gap: 6px;
  }

  .upload-dropzone__icon {
    width: 46px;
    height: 46px;
    font-size: 26px;
  }

  .upload-dropzone__title {
    font-size: 17px;
  }

  .selected-card,
  .status-item,
  .job-item {
    padding: 12px;
  }

  .style-card {
    min-height: 164px;
  }

  .style-card__image {
    height: 98px;
  }

  .style-card__name {
    font-size: 15px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .style-card__model {
    font-size: 11px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .result-preview {
    min-height: 210px;
  }
}
