:root {
  --paper: #000000;
  --paper-2: #0a0000;
  --ink: #ffffff;
  --muted: #b5b5b5;
  --line: #7a0000;
  --accent: #cc0000;
  --accent-hot: #ff1a1a;
  --chrome: #ffffff;
  --gold: #e10600;
  --steel: #080000;
  --font-oswald: "Oswald", Inter, sans-serif;
  --font-fraktur: "UnifrakturMaguntia", serif;
  --font-metal: "Metal Mania", Impact, serif;
  --font-rocker: "New Rocker", serif;
  --font-inter: Inter, sans-serif;
  --font-playfair: "Playfair Display", serif;
  --font-space: "Space Grotesk", sans-serif;
}

html,
body {
  background: var(--paper);
  color: var(--ink);
}

body {
  font-family: var(--font-oswald), Inter, sans-serif;
  background-color: #090909;
  background-image: none;
  background-attachment: scroll;
}

body::before {
  display: none;
}

h1,
h2,
.display {
  font-family: var(--font-oswald), Oswald, sans-serif;
  letter-spacing: 0.01em;
  line-height: 1.08;
  color: #ffffff;
  text-shadow: none;
}

.product-title,
.product-h2,
.event-card-title,
.ticket-face,
.ticket-face *,
.legal-title,
.legal h2,
.legal h3 {
  text-shadow: none;
}

.product-title,
.product-h2,
.legal-title,
.legal h2,
.legal h3 {
  font-family: var(--font-oswald), Oswald, sans-serif;
  letter-spacing: 0.02em;
}

h3 {
  font-family: var(--font-oswald), sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

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

button,
input,
select,
textarea {
  font-family: inherit;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  line-height: 1;
  color: #fff;
  text-decoration: none;
}
.wordmark-name {
  font-size: 0.92rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
}

.hazard {
  height: 10px;
  background: repeating-linear-gradient(
    -45deg,
    #cc0000 0 12px,
    #000000 12px 24px
  );
  border-bottom: 2px solid #cc0000;
}

.steel-panel {
  background:
    linear-gradient(180deg, rgba(204, 0, 0, 0.16), transparent 34%),
    linear-gradient(#120000, #000000);
  border: 1px solid #cc0000;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 0 1px #000,
    0 18px 40px rgba(204, 0, 0, 0.18);
}

.btn-metal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e10600;
  color: #ffffff;
  border: 0;
  border-radius: 2px;
  padding: 0.85rem 1.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

.btn-metal:hover { background: #ff1a1a; }

.btn-metal:disabled {
  opacity: 0.4;
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 2px;
  padding: 0.8rem 1.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  background: transparent;
}

.chrome-text {
  color: #ffffff;
  text-shadow: 2px 2px 0 #cc0000;
}

.field-input {
  width: 100%;
  border: 1px solid #7a0000;
  border-radius: 0;
  padding: 10px 12px;
  background: #0a0000;
  color: var(--ink);
  outline: none;
}

.field-input:focus {
  border-color: #cc0000;
}

.field-input option {
  background: #0a0000;
}

.label-metal {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.event-ticker-bar {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #1a0000 0%, #5a0000 38%, #cc0000 72%, #5a0000 100%);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 0 22px rgba(204, 0, 0, 0.35);
}

.event-ticker-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.14) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: ticker-shine 5s ease-in-out infinite;
}

.event-ticker-bar.is-eventday {
  background: linear-gradient(90deg, #3a0000 0%, #8a0000 42%, #ff1a1a 78%, #8a0000 100%);
}

.event-ticker-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 42px;
  width: 100%;
  padding: 0 18px;
}

.event-ticker-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.16em;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.55), 0 0 14px rgba(255, 80, 80, 0.45);
}

.event-ticker-label::before {
  content: "";
  width: 8px;
  height: 8px;
  background: #fff;
  transform: rotate(45deg);
  box-shadow: 0 0 6px #fff, 0 0 12px #ff4d4d;
  animation: ticker-diamond 1.6s ease-in-out infinite;
}

.event-ticker-bar.is-eventday .event-ticker-label {
  text-shadow: 0 0 10px rgba(255, 80, 80, 0.7);
}

.event-ticker {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.event-ticker-viewport {
  overflow: hidden;
  min-width: 0;
  flex: 1 1 0%;
  mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 18px), transparent);
}

.event-ticker-track {
  display: flex;
  width: max-content;
  animation: event-ticker 32s linear infinite;
}

.event-ticker:hover .event-ticker-track,
.event-ticker-viewport:hover .event-ticker-track {
  animation-play-state: paused;
}

.event-ticker-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.event-ticker-item {
  white-space: nowrap;
  padding: 8px 0 8px 36px;
  text-decoration: none;
  text-shadow: 0 0 10px rgba(80, 0, 0, 0.35);
}

.event-ticker-item::before {
  content: "◆";
  margin-right: 36px;
  font-size: 0.62rem;
  color: #fff;
  vertical-align: middle;
  text-shadow: 0 0 6px #fff, 0 0 12px #ff4d4d;
  animation: ticker-diamond 1.8s ease-in-out infinite;
}

.event-ticker-item.is-today {
  color: #fff;
  padding-left: 18px;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.45), 0 0 16px rgba(255, 60, 60, 0.55);
}

.event-ticker-item.is-today::before {
  content: none;
  margin: 0;
}

.eventtag-chip,
.eventtag-btn,
.eventtag-badge,
.rest-chip {
  display: inline-block;
  background: #e10600;
  color: #fff;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: 0 0 10px rgba(225, 6, 0, 0.7);
}

.eventtag-chip {
  margin-right: 10px;
  padding: 2px 8px 1px;
  font-size: 0.72rem;
  vertical-align: middle;
  animation: ticker-live 1.1s ease-in-out infinite;
}

.rest-chip {
  margin-right: 10px;
  padding: 2px 8px 1px;
  font-size: 0.72rem;
  vertical-align: middle;
  font-weight: 700;
  animation: rest-pulse 1.2s ease-in-out infinite;
}

.event-ticker-item.is-low {
  color: #fff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.4), 0 0 16px rgba(255, 60, 60, 0.5);
}

.eventtag-btn {
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  padding: 4px 10px;
  border: 1px solid #ff5a5a;
  font-size: 0.78rem;
  text-decoration: none;
}

.eventtag-btn.is-hot {
  animation: ticker-live 1.1s ease-in-out infinite;
}

.event-ticker-actions {
  display: flex;
  align-items: center;
}

.event-ticker-actions a {
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.35);
}

.event-ticker-actions a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.event-card.is-today,
.event-card-today {
  scroll-margin-top: 96px;
  animation: event-today-glow 1.6s ease-in-out infinite;
}

.eventtag-badge {
  position: absolute;
  z-index: 3;
  right: 1rem;
  top: 1rem;
  padding: 4px 10px;
  font-size: 10px;
  border-radius: 999px;
  animation: ticker-live 1.1s ease-in-out infinite;
}

@keyframes event-ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes ticker-shine {
  0%, 55%, 100% { transform: translateX(-100%); }
  70% { transform: translateX(100%); }
}

@keyframes ticker-diamond {
  0%, 100% { opacity: 0.7; filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.4)); }
  50% { opacity: 1; filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.95)); }
}

@keyframes ticker-live {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

@keyframes rest-pulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 10px rgba(225, 6, 0, 0.55), 0 8px 24px rgba(0, 0, 0, 0.35);
  }
  50% {
    opacity: 0.78;
    box-shadow: 0 0 28px rgba(255, 70, 70, 0.95), 0 8px 24px rgba(0, 0, 0, 0.35);
  }
}

@keyframes event-today-glow {
  0%, 100% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 0 0 1px #000, 0 0 22px rgba(225, 6, 0, 0.38); }
  50% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 0 0 1px #ff1a1a, 0 0 36px rgba(255, 26, 26, 0.7); }
}

@media (max-width: 980px) {
  .event-ticker-label {
    display: none;
  }
}

@media (max-width: 700px) {
  .event-ticker-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 0 10px;
    gap: 8px;
  }
  .event-ticker-actions a {
    padding: 4px 8px;
    font-size: 0.68rem;
  }
}

@media (max-width: 420px) {
  .event-ticker-actions {
    display: none;
  }
  .event-ticker-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .event-ticker-track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
  }
  .event-ticker-bar::after,
  .event-ticker-label::before,
  .event-ticker-item::before,
  .eventtag-chip,
  .eventtag-btn.is-hot,
  .eventtag-badge,
  .rest-chip,
  .rest-banner,
  .event-card-today {
    animation: none;
  }
  .event-ticker-group:last-child {
    display: none;
  }
  .event-ticker-item {
    padding: 4px 18px 4px 0;
    white-space: normal;
  }
}

.scan-app {
  min-height: 100%;
}

.scan-stage {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #120000;
  border: 1px solid #cc0000;
}

.scan-video {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.scan-reticle {
  pointer-events: none;
  position: absolute;
  inset: 18% 14%;
  border: 2px solid rgba(255, 26, 26, 0.85);
  box-shadow: 0 0 0 999px rgba(0, 0, 0, 0.35), 0 0 24px rgba(255, 26, 26, 0.35);
}

.scan-camera-hint {
  position: absolute;
  inset: auto 12px 12px;
  background: rgba(0, 0, 0, 0.72);
  padding: 10px 12px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

.scan-result {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
}

.scan-result-kicker {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.scan-result h2 {
  margin-top: 0.35rem;
  font-size: 3rem;
}

.scan-result.is-ok {
  background: #06280f;
  border-color: #22c55e;
  box-shadow: 0 0 28px rgba(34, 197, 94, 0.35);
}

.scan-result.is-ok h2,
.scan-result.is-ok .scan-result-kicker {
  color: #4ade80;
  text-shadow: none;
}

.scan-result.is-used,
.scan-result.is-wrong_event,
.scan-result.is-cancelled,
.scan-result.is-not_found,
.scan-result.is-unpaid,
.scan-result.is-pass {
  background: #2a0000;
  border-color: #ff1a1a;
  box-shadow: 0 0 28px rgba(255, 26, 26, 0.4);
}

.red-frame {
  border: 2px solid #cc0000;
  box-shadow: inset 0 0 0 1px #000;
}

@media print {
  .no-print {
    display: none !important;
  }
  .print-ticket {
    box-shadow: none !important;
  }
  .concert-pass {
    box-shadow: none;
  }
  body::before {
    display: none;
  }
  h1,
  h2 {
    text-shadow: none;
  }
  .admin-sidebar,
  .admin-topbar,
  .admin-filter,
  .admin-sale-actions,
  .admin-menu-btn,
  .admin-nav-foot,
  .admin-drawer {
    display: none !important;
  }
  .admin-shell,
  .admin-main,
  .admin-content,
  .admin-card,
  .admin-table-wrap,
  .admin-sales,
  .admin-kpi {
    background: #fff !important;
    color: #111 !important;
    box-shadow: none !important;
    border-color: #ccc !important;
  }
  .admin-shell {
    display: block;
  }
  .admin-main {
    width: 100%;
  }
  .admin-content {
    padding: 0;
  }
  .admin-money,
  .admin-sale-sum {
    color: #b00000 !important;
  }
}

.admin-shell {
  position: relative;
  z-index: 90;
  display: flex;
  min-height: 100dvh;
  background: #000;
  color: #fff;
  font-family: var(--font-oswald), Inter, sans-serif;
  font-size: 14px;
  line-height: 1.4;
}
.admin-shell .label-metal {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
}

.admin-shell h1,
.admin-shell h2,
.admin-shell h3 {
  font-family: var(--font-oswald), Inter, sans-serif;
  text-shadow: none;
  letter-spacing: 0.02em;
}

.admin-sidebar {
  display: none;
  width: 248px;
  flex-shrink: 0;
  flex-direction: column;
  border-right: 1px solid #1a1a1a;
  background: #0a0a0a;
}

@media (min-width: 960px) {
  .admin-sidebar {
    display: flex;
  }
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 18px 18px;
  border-bottom: 1px solid #1a1a1a;
}

.admin-brand img {
  height: 32px;
  max-width: 92px;
  object-fit: contain;
  object-position: left;
}

.admin-brand strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-brand span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ff4d4d;
}

.admin-nav {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 18px;
  padding: 18px 12px;
}

.admin-nav-group p {
  margin: 0 10px 8px;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6f6f6f;
}

.admin-nav a,
.admin-nav-foot a,
.admin-nav-foot button {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 7px 8px;
  color: #cfcfcf;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: left;
  text-decoration: none;
}

.admin-nav a:hover,
.admin-nav-foot a:hover,
.admin-nav-foot button:hover {
  background: #111;
  color: #fff;
}

.admin-nav a.is-active {
  background: rgba(225, 6, 0, 0.16);
  color: #fff;
  box-shadow: inset 3px 0 0 #e10600;
}

.admin-nav-foot {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  border-top: 1px solid #1a1a1a;
}

.admin-drawer {
  position: fixed;
  inset: 0;
  z-index: 40;
}

.admin-drawer-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.55);
}

.admin-sidebar.is-drawer {
  position: relative;
  display: flex;
  height: 100%;
  z-index: 1;
}

.admin-main {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.admin-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 16px;
  border-bottom: 1px solid #1a1a1a;
  background: #0a0a0a;
}

.admin-menu-btn {
  display: inline-flex;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 6px;
}

.admin-shop-link {
  margin-left: auto;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b5b5b5;
}

.admin-content {
  flex: 1;
  padding: 16px 16px 36px;
}

@media (min-width: 960px) {
  .admin-content {
    padding: 18px 22px 40px;
  }
  .admin-topbar {
    display: none;
  }
}

.admin-page-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.admin-kicker {
  margin: 0 0 4px;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ff4d4d;
}

.admin-page-header h1 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  text-transform: uppercase;
}

.admin-page-header > div > p:not(.admin-kicker) {
  margin-top: 4px;
  max-width: 42rem;
  color: #bdbdbd;
  font-size: 0.82rem;
}

.admin-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-btn,
.admin-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 2px;
  padding: 0.38rem 0.72rem;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.admin-btn {
  border: 0;
  background: #e10600;
  color: #fff;
}

.admin-btn:hover {
  background: #ff1a1a;
}

.admin-btn:disabled {
  opacity: 0.4;
}

.admin-btn-ghost {
  border: 1px solid #2a2a2a;
  background: transparent;
  color: #eee;
}

.admin-btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.admin-btn-block {
  width: 100%;
  justify-content: center;
}

.admin-poster {
  display: grid;
  gap: 10px;
}

.admin-poster-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 16px;
}

.admin-poster-preview,
.admin-poster-ph {
  width: 92px;
  height: 132px;
  flex-shrink: 0;
  background: #1a0000;
  border: 1px solid #7a0000;
}

.admin-poster-preview {
  display: block;
  object-fit: cover;
}

.admin-poster-ph {
  display: grid;
  place-items: center;
  padding: 8px;
  border-style: dashed;
  color: #8d8d8d;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
}

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

.admin-poster-hint {
  margin: 0;
  width: 100%;
  color: #8d8d8d;
  font-size: 0.78rem;
}

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

@media (min-width: 1100px) {
  .admin-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1400px) {
  .admin-kpis {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.admin-kpi,
.admin-card {
  border: 1px solid #1a1a1a;
  border-radius: 0;
  background: #0a0a0a;
}

.admin-kpi {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
}

.admin-kpi-icon {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  background: rgba(225, 6, 0, 0.16);
  color: #ff5a5a;
}

.admin-kpi-label {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8d8d8d;
}

.admin-kpi strong {
  font-size: 1.2rem;
}

.admin-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 16px;
}

.admin-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #2a2a2a;
  border-radius: 0;
  padding: 4px 8px;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #cfcfcf;
}

.admin-pill.is-ok {
  border-color: #1f6b3a;
  color: #7ddea3;
}

.admin-pill.is-warn {
  border-color: #5a3a00;
  color: #f0c56e;
}

.admin-split {
  display: grid;
  gap: 10px;
}

@media (min-width: 960px) {
  .admin-split {
    grid-template-columns: 1fr 1fr;
  }
}

.admin-card {
  overflow: hidden;
}

.admin-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 10px 6px;
}

.admin-card-head h2 {
  font-size: 0.92rem;
}

.admin-card-head p,
.admin-card-head a {
  color: #9a9a9a;
  font-size: 0.75rem;
}

.admin-card-head a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.admin-list {
  margin: 0;
  padding: 0 6px 6px;
  list-style: none;
}

.admin-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 0;
  padding: 8px 10px;
}

.admin-list a:hover {
  background: #151515;
}

.admin-list strong {
  display: block;
}

.admin-list em {
  display: block;
  margin-top: 3px;
  font-style: normal;
  color: #8d8d8d;
  font-size: 0.82rem;
}

.admin-money {
  color: #ff6b6b;
  white-space: nowrap;
}

.admin-badge {
  border-radius: 0;
  padding: 3px 7px;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #1a1a1a;
  color: #b5b5b5;
  white-space: nowrap;
}

.admin-badge.is-live {
  background: rgba(34, 197, 94, 0.14);
  color: #86efac;
}
.admin-badge.is-cancelled {
  background: rgba(225, 6, 0, 0.18);
  color: #ff8a8a;
}
.admin-badge.is-wait {
  background: rgba(245, 158, 11, 0.16);
  color: #fbbf24;
}
.admin-card.pad {
  padding: 0.9rem 1rem;
}
.admin-card.pad h2 {
  margin: 0 0 0.55rem;
  font-size: 0.92rem;
}
.admin-paymix {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.6rem;
}
.admin-paymix div {
  display: grid;
  gap: 0.35rem;
}
.admin-paymix span {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #bdbdbd;
}
.admin-paymix b {
  display: block;
  height: 8px;
  max-width: 100%;
  background: #e10600;
  box-shadow: 0 0 12px rgba(225, 6, 0, 0.45);
}
.admin-btn-sm {
  padding: 0.32rem 0.62rem;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}
.admin-actions-cell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.9rem;
}

.admin-empty {
  padding: 16px;
  color: #8d8d8d;
}

.admin-table-wrap,
.admin-stack {
  overflow: auto;
}

.admin-table-wrap {
  border: 1px solid #1a1a1a;
  border-radius: 0;
  background: #0a0a0a;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.82rem;
}

.admin-table th {
  padding: 6px 10px;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8d8d8d;
  background: #101010;
}

.admin-table td {
  padding: 6px 10px;
  border-top: 1px solid #1c1c1c;
}

.admin-table a {
  color: #fff;
}

.admin-table tr:hover td {
  background: #121212;
}

.admin-alert,
.admin-ok {
  border-radius: 0;
  padding: 10px 12px;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.admin-alert {
  background: rgba(225, 6, 0, 0.12);
  color: #ff8a8a;
}

.admin-ok {
  background: rgba(34, 197, 94, 0.12);
  color: #86efac;
}

.admin-order {
  padding: 10px 12px;
}

.admin-order-top,
.admin-order-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

.admin-order h2 {
  font-size: 0.95rem;
  text-transform: uppercase;
}

.admin-order p,
.admin-order-meta span {
  color: #9a9a9a;
  font-size: 0.78rem;
}

.admin-order-meta {
  text-align: right;
}

.admin-order-meta strong {
  display: block;
  margin-bottom: 2px;
}

.admin-order-ref {
  margin-top: 2px;
  font-family: ui-monospace, monospace;
  color: #ff8a8a !important;
  font-size: 0.72rem;
}

.admin-order-foot {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #1f1f1f;
}

.admin-sales {
  border: 1px solid #1a1a1a;
  background: #0a0a0a;
}

.admin-sale {
  display: grid;
  grid-template-columns: minmax(12rem, 1.15fr) minmax(12rem, 1.4fr) 5.6rem 9.4rem minmax(7rem, 1fr) auto;
  gap: 4px 12px;
  align-items: center;
  padding: 6px 12px;
  border-bottom: 1px solid #1a1a1a;
}

.admin-sale:last-child {
  border-bottom: 0;
}

.admin-sale:hover {
  background: #111;
}

.admin-sale-who,
.admin-sale-event {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.admin-sale-who strong,
.admin-sale-event strong {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-sale-who span,
.admin-sale-event span {
  color: #8d8d8d;
  font-size: 0.72rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-sale-sum {
  font-size: 0.9rem;
  color: #ff6b6b;
  text-align: right;
  white-space: nowrap;
}

.admin-sale .admin-codes {
  gap: 4px;
}

.admin-sale-actions {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 4px;
}

.admin-sale-actions .admin-btn,
.admin-sale-actions .admin-btn-ghost {
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .admin-sale {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 8px 10px;
  }
  .admin-sale-event,
  .admin-sale-sum,
  .admin-sale .admin-badge,
  .admin-sale .admin-codes,
  .admin-sale-actions {
    grid-column: 1 / -1;
  }
  .admin-sale-sum {
    text-align: left;
  }
}

.admin-codes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-codes a {
  border-radius: 0;
  background: #151515;
  padding: 2px 6px;
  font-family: ui-monospace, monospace;
  font-size: 0.72rem;
}

.admin-design-grid {
  display: grid;
  gap: 16px;
}

.admin-ticket-preview {
  overflow: auto;
  border-radius: 0;
  background: #101010;
  padding: 16px;
}

.admin-search-row {
  display: flex;
  gap: 8px;
  padding: 8px 10px;
}

.admin-input,
.admin-shell .field-input {
  width: 100%;
  border: 1px solid #7a0000;
  border-radius: 0;
  padding: 6px 8px;
  background: #0a0000;
  color: #fff;
  outline: none;
  font-size: 0.82rem;
  line-height: 1.3;
  min-height: 32px;
}

.admin-input:focus,
.admin-shell .field-input:focus {
  border-color: #e10600;
}

.admin-login {
  position: relative;
  z-index: 90;
  display: grid;
  min-height: 100dvh;
  place-items: center;
  padding: 24px;
  background: #000;
}

.admin-login-card {
  width: min(420px, 100%);
  border: 1px solid #cc0000;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(204, 0, 0, 0.16), transparent 34%),
    linear-gradient(#120000, #000000);
  padding: 28px 24px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 0 1px #000,
    0 18px 40px rgba(204, 0, 0, 0.18);
}

.admin-login-card img {
  height: 48px;
  width: auto;
}

.admin-login-card > p {
  margin-top: 14px;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ff4d4d;
}

.admin-login-card h1 {
  margin: 6px 0 18px;
  font-family: var(--font-oswald), Inter, sans-serif;
  font-size: 1.8rem;
  text-transform: uppercase;
  text-shadow: none;
}

.admin-login-card label {
  display: block;
  margin-top: 12px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9a9a9a;
}

.admin-login-card .admin-input {
  margin-top: 6px;
}

.admin-login-card .admin-btn {
  margin-top: 20px;
}
.admin-login-shop {
  display: block;
  margin-top: 1rem;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d2d2d2;
  text-decoration: none;
}
.admin-login-shop:hover {
  color: #ff1a1a;
}
