/* src/styles.css */
@keyframes tixora-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes tixora-scanline {
  0% {
    transform: translateY(0);
    opacity: 0.9;
  }
  50% {
    transform: translateY(calc(var(--scan-h, 320px) - 4px));
    opacity: 0.6;
  }
  100% {
    transform: translateY(0);
    opacity: 0.9;
  }
}
@keyframes tixora-pulse-frame {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 90, 60, 0.4);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(255, 90, 60, 0);
  }
}
.scan-stage {
  position: relative;
  width: 100%;
  min-height: 320px;
  border-radius: 12px;
  overflow: hidden;
  background: #1a1714;
  --scan-h: 320px;
}
.scan-stage > video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}
.scan-stage .scan-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: grid;
  place-items: center;
}
.scan-stage .scan-reticle {
  position: relative;
  width: 65%;
  max-width: 260px;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  animation: tixora-pulse-frame 1.6s ease-out infinite;
}
.scan-stage .scan-reticle::before,
.scan-stage .scan-reticle::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  border: 3px solid #FF5A3C;
  border-radius: 4px;
}
.scan-stage .scan-reticle::before {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
}
.scan-stage .scan-reticle::after {
  bottom: 0;
  right: 0;
  border-left: none;
  border-top: none;
}
.scan-stage .scan-corner-tr,
.scan-stage .scan-corner-bl {
  position: absolute;
  width: 28px;
  height: 28px;
  border: 3px solid #FF5A3C;
  border-radius: 4px;
}
.scan-stage .scan-corner-tr {
  top: 0;
  right: 0;
  border-left: none;
  border-bottom: none;
}
.scan-stage .scan-corner-bl {
  bottom: 0;
  left: 0;
  border-right: none;
  border-top: none;
}
.manage-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.stat-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.stat-card .stat-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 90, 60, 0.08);
  color: var(--accent);
  flex-shrink: 0;
}
.stat-card > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.stat-card strong.num {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
}
.stat-card .stat-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.stat-card .stat-sub {
  font-size: 12px;
  line-height: 1.3;
}
.stat-card-forest .stat-icon {
  background: rgba(14, 77, 63, 0.1);
  color: var(--forest);
}
.stat-card-coral .stat-icon {
  background: rgba(255, 90, 60, 0.12);
  color: var(--accent);
}
.filter-pills {
  display: inline-flex;
  gap: 6px;
  flex-wrap: wrap;
}
.filter-pill {
  padding: 7px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: transparent;
  color: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 9999px;
  cursor: pointer;
  transition: all 160ms ease;
}
.filter-pill:hover {
  border-color: var(--ink-2);
}
.filter-pill.active {
  background: var(--ink);
  color: var(--paper-bg);
  border-color: var(--ink);
}
.attendee-list {
  display: grid;
  gap: 8px;
}
.attendee-row {
  display: grid;
  grid-template-columns: auto minmax(180px, 1.5fr) minmax(96px, 0.8fr) minmax(96px, 0.8fr) auto auto;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper-bg);
}
.attendee-status {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 9999px;
  flex-shrink: 0;
}
.attendee-status.in {
  background: rgba(14, 77, 63, 0.12);
  color: var(--forest);
}
.attendee-status.out {
  background: rgba(107, 102, 96, 0.12);
  color: var(--muted);
}
.attendee-info {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.attendee-info strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.attendee-info .muted {
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.attendee-meta {
  display: grid;
  gap: 2px;
  font-size: 13px;
}
.attendee-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.attendee-badge.scanned {
  background: rgba(14, 77, 63, 0.12);
  color: var(--forest);
}
.attendee-badge.pending {
  background: rgba(245, 184, 46, 0.16);
  color: #8a6510;
}
.attendee-actions {
  display: flex;
  justify-content: flex-end;
  min-width: 132px;
}
.attendee-actions .muted {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
@media (max-width: 720px) {
  .attendee-row {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "status info badge" "status meta1 meta2" "actions actions actions";
    row-gap: 8px;
  }
  .attendee-status {
    grid-area: status;
  }
  .attendee-info {
    grid-area: info;
  }
  .attendee-meta:nth-of-type(1) {
    grid-area: meta1;
  }
  .attendee-meta:nth-of-type(2) {
    grid-area: meta2;
    text-align: right;
  }
  .attendee-badge {
    grid-area: badge;
    align-self: start;
  }
  .attendee-actions {
    grid-area: actions;
    justify-content: stretch;
  }
  .attendee-actions > * {
    width: 100%;
    justify-content: center;
  }
}
.scan-stage .scan-line {
  position: absolute;
  top: 0;
  left: 6%;
  right: 6%;
  height: 2px;
  background:
    linear-gradient(
      90deg,
      transparent,
      #FF5A3C,
      transparent);
  box-shadow: 0 0 12px rgba(255, 90, 60, 0.8);
  animation: tixora-scanline 2.2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
:root {
  color-scheme: light;
  --paper-bg: #FAF7F2;
  --surface: #FFFFFF;
  --ink: #1A1714;
  --ink-2: #3A332C;
  --muted: #6B6660;
  --line: #E8E2D8;
  --line-strong: #D7CFC1;
  --accent: #FF5A3C;
  --accent-press: #E64829;
  --accent-soft: rgba(255, 90, 60, 0.10);
  --forest: #0E4D3F;
  --amber: #F5B82E;
  --danger: #B83A2F;
  --paper-grain: rgba(26, 23, 20, 0.03);
  --font-display:
    "Cabinet Grotesk",
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  --font-body:
    "Geist",
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  --font-mono:
    "Geist Mono",
    ui-monospace,
    "JetBrains Mono",
    monospace;
  --r-sm: 4px;
  --r-md: 12px;
  --r-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(26, 23, 20, 0.04), 0 1px 1px rgba(26, 23, 20, 0.03);
  --shadow-md: 0 4px 16px rgba(26, 23, 20, 0.06), 0 2px 4px rgba(26, 23, 20, 0.04);
  --shadow-lg: 0 24px 48px -12px rgba(26, 23, 20, 0.12), 0 8px 16px rgba(26, 23, 20, 0.05);
  --shadow-xl: 0 32px 64px -16px rgba(26, 23, 20, 0.18), 0 12px 24px rgba(26, 23, 20, 0.08);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.2, 0.8, 0.2, 1);
  --t-short: 200ms;
  --t-medium: 350ms;
  font-family: var(--font-body);
  font-feature-settings: "ss01", "cv11";
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
[data-theme=dark] {
  color-scheme: dark;
  --paper-bg: #15110D;
  --surface: #201B16;
  --ink: #FAF7F2;
  --ink-2: #D4CCC0;
  --muted: #8E8780;
  --line: #2D261F;
  --line-strong: #3D3528;
  --accent: #FF6E54;
  --accent-press: #FF8770;
  --accent-soft: rgba(255, 110, 84, 0.14);
  --forest: #4FB39A;
  --paper-grain: rgba(250, 247, 242, 0.025);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4), 0 1px 1px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5), 0 2px 4px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 48px -12px rgba(0, 0, 0, 0.6), 0 8px 16px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 32px 64px -16px rgba(0, 0, 0, 0.7), 0 12px 24px rgba(0, 0, 0, 0.5);
}
[data-theme=dark] body {
  background: var(--paper-bg);
}
[data-theme=dark] .site-header {
  background: rgba(21, 17, 13, 0.85);
}
[data-theme=dark] .ticket {
  background: var(--surface);
  color: var(--ink);
}
[data-theme=dark] .ticket-name,
[data-theme=dark] .ticket-meta strong,
[data-theme=dark] .ticket-code {
  color: var(--ink);
}
[data-theme=dark] .ticket-meta div {
  color: var(--muted);
}
[data-theme=dark] .ticket-perf {
  border-top-color: var(--line);
}
[data-theme=dark] .ticket-qr {
  background: #FAF7F2;
}
[data-theme=dark] .ticket-qr canvas {
  filter: none;
}
[data-theme=dark] .ticket-code small {
  color: var(--muted);
}
[data-theme=dark] .detail-hero::before {
  background:
    linear-gradient(
      180deg,
      transparent 0%,
      rgba(0, 0, 0, 0.8) 100%);
}
[data-theme=dark] .featured-badge {
  background: rgba(32, 27, 22, 0.95);
  color: var(--ink);
}
[data-theme=dark] .date-chip {
  background: rgba(32, 27, 22, 0.95);
}
[data-theme=dark] .chip:not(.chip-forest):not(.chip-accent):not(.chip-ghost) {
  background: #1A1714;
  color: #FAF7F2;
}
[data-theme=dark] .chip-ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}
[data-theme=dark] .auth-page::before {
  background:
    radial-gradient(
      circle at 20% 30%,
      rgba(255, 110, 84, 0.10) 0%,
      transparent 50%),
    radial-gradient(
      circle at 80% 70%,
      rgba(79, 179, 154, 0.08) 0%,
      transparent 50%);
}
[data-theme=dark] .danger-button {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: rgba(255, 110, 84, 0.25);
}
[data-theme=dark] .form-error {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: rgba(255, 110, 84, 0.25);
}
[data-theme=dark] .success-text,
[data-theme=dark] .success-banner {
  background: rgba(79, 179, 154, 0.12);
  color: var(--forest);
  border-color: rgba(79, 179, 154, 0.25);
}
[data-theme=dark] .icon-button.danger {
  color: var(--accent);
}
[data-theme=dark] select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 7' width='12' height='7'><path fill='%238E8780' d='M1 1l5 5 5-5'/></svg>");
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--paper-bg);
  background-image: radial-gradient(var(--paper-grain) 1px, transparent 1px), radial-gradient(var(--paper-grain) 1px, transparent 1px);
  background-size: 24px 24px, 16px 16px;
  background-position: 0 0, 12px 12px;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
img {
  max-width: 100%;
  display: block;
}
::selection {
  background: var(--accent);
  color: #FFFFFF;
}
.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
}
.container {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}
.display {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  font-weight: 600;
}
.mono {
  font-family: var(--font-mono);
}
.num {
  font-variant-numeric: tabular-nums;
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0;
}
h1 {
  font-size: clamp(48px, 7vw, 84px);
  letter-spacing: -0.04em;
  line-height: 0.95;
}
h2 {
  font-size: clamp(32px, 4.5vw, 52px);
  letter-spacing: -0.035em;
}
h3 {
  font-size: clamp(22px, 2.3vw, 28px);
  letter-spacing: -0.03em;
}
h4 {
  font-size: 20px;
  letter-spacing: -0.025em;
}
h5 {
  font-size: 16px;
  letter-spacing: -0.02em;
}
p {
  margin: 0;
  line-height: 1.55;
  color: var(--ink-2);
}
em.accent,
.text-accent {
  font-style: normal;
  color: var(--accent);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.045em;
  color: var(--ink);
}
.brand-mark {
  display: none;
}
.brand .brand-dot {
  color: var(--accent);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  justify-content: flex-end;
}
.nav-primary {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links .primary-button.nav-cta {
  border-radius: 9999px;
  color: #fff;
  padding: 9px 18px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--t-short) var(--ease-out);
  position: relative;
}
.nav-links a:hover {
  color: var(--accent);
}
.nav-links a.active {
  color: var(--ink);
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  background: var(--accent);
}
.auth-actions {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  transition: border-color var(--t-short) var(--ease-out);
}
.icon-button:hover {
  border-color: var(--ink);
}
.nav-toggle {
  display: none;
}
.header-strip {
  display: none;
}
.primary-button,
.secondary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--t-short) var(--ease-out);
  white-space: nowrap;
}
.primary-button {
  background: var(--accent);
  color: #FFFFFF;
}
.primary-button:hover {
  background: var(--accent-press);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(255, 90, 60, 0.3);
}
.primary-button:active {
  transform: translateY(0);
}
.secondary-button {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}
.secondary-button:hover {
  border-color: var(--ink);
}
.ghost-button {
  background: transparent;
  color: var(--ink);
}
.ghost-button:hover {
  background: var(--surface);
}
.primary-button.compact,
.secondary-button.compact,
.ghost-button.compact {
  padding: 8px 14px;
  font-size: 13px;
  border-radius: var(--r-sm);
}
.primary-button.large,
.secondary-button.large {
  padding: 16px 28px;
  font-size: 15px;
}
.hero {
  padding: clamp(48px, 8vw, 96px) 0 clamp(48px, 7vw, 80px);
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero-copy h1 {
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 24px;
}
.hero-copy p {
  font-size: clamp(16px, 1.4vw, 18px);
  max-width: 480px;
  margin-bottom: 32px;
  color: var(--ink-2);
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-meta {
  display: flex;
  gap: clamp(20px, 3vw, 36px);
  margin-top: 48px;
}
.hero-meta > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-meta strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.hero-meta span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
}
.hero-panel {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
}
.hero-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05);
}
.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      transparent 50%,
      rgba(26, 23, 20, 0.55) 100%);
  pointer-events: none;
}
.floating-ticket {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--surface);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px);
  z-index: 2;
}
.floating-ticket svg {
  color: var(--accent);
  flex-shrink: 0;
}
.floating-ticket strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.floating-ticket span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.section-block {
  padding: clamp(48px, 7vw, 80px) 0;
  border-top: 1px solid var(--line);
}
.section-block:first-of-type {
  border-top: none;
}
.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.section-heading h2 {
  font-family: var(--font-display);
  font-weight: 600;
}
.section-heading > a,
.section-heading > .ghost-button {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--ink-2);
  transition: color var(--t-short) var(--ease-out);
}
.section-heading > a:hover {
  color: var(--accent);
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0 0 clamp(32px, 5vw, 56px);
}
.stats-row > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color var(--t-short) var(--ease-out);
}
.stats-row > div:hover {
  border-color: var(--line-strong);
}
.stats-row svg {
  color: var(--accent);
  margin-bottom: 4px;
}
.stats-row strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 32px;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}
.stats-row span {
  font-size: 13px;
  color: var(--muted);
}
.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.event-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--t-medium) var(--ease-soft);
  display: flex;
  flex-direction: column;
}
.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--ink);
}
.event-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    linear-gradient(
      160deg,
      var(--accent) 0%,
      #FFB99A 100%);
}
.event-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-medium) var(--ease-soft);
}
.event-card:hover .event-card-media img {
  transform: scale(1.04);
}
.date-chip {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(250, 247, 242, 0.95);
  color: var(--ink);
  padding: 8px 12px;
  border-radius: var(--r-sm);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-align: center;
  line-height: 1.1;
  backdrop-filter: blur(6px);
  text-transform: uppercase;
}
.date-chip strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.035em;
  color: var(--accent);
  margin-top: 1px;
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--paper-bg);
  white-space: nowrap;
}
.chip.chip-forest {
  background: var(--forest);
  color: var(--paper-bg);
}
.chip.chip-accent {
  background: var(--accent);
  color: #FFFFFF;
}
.chip.chip-ghost {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
}
.event-card-media .chip {
  position: absolute;
  top: 12px;
  right: 12px;
  backdrop-filter: blur(6px);
}
.event-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.event-card-body h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.event-card-body p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.event-facts {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 4px 0 12px;
}
.event-facts span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-2);
}
.event-facts svg {
  color: var(--muted);
  flex-shrink: 0;
}
.event-card-body .card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  margin-top: auto;
  border-top: 1px solid var(--line);
}
.event-card-body .card-meta .price {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.event-card-body .card-meta .price small {
  color: var(--muted);
  font-weight: 400;
  margin-left: 2px;
}
.featured-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.featured-card .featured-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(
      135deg,
      rgba(255, 90, 60, 0.85) 0%,
      rgba(14, 77, 63, 0.7) 100%),
    radial-gradient(
      circle at 30% 40%,
      #FFB99A 0%,
      transparent 50%),
    radial-gradient(
      circle at 70% 70%,
      #4FB39A 0%,
      transparent 50%),
    #2A1F1A;
  overflow: hidden;
}
.featured-card .featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: luminosity;
  opacity: 0.95;
}
.featured-card .featured-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 4px 4px;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.featured-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  padding: 6px 12px;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.featured-card-body {
  padding: 24px 28px 28px;
}
.featured-date {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.featured-card-body h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 8px;
}
.featured-venue {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 20px;
}
.featured-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.featured-price {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.featured-price small {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  margin-left: 4px;
}
.featured-deck {
  position: relative;
  display: grid;
  grid-template: 1fr / 1fr;
  padding: 0 72px 80px;
  isolation: isolate;
}
.featured-deck > .deck-card {
  grid-column: 1;
  grid-row: 1;
  transition:
    transform 700ms var(--ease-soft),
    box-shadow 500ms var(--ease-out),
    opacity 400ms var(--ease-out);
  transform-origin: 50% 100%;
  cursor: pointer;
  will-change: transform;
}
.featured-deck > .deck-card[data-pos="0"] {
  transform: translate(0, 0) rotate(0deg) scale(1);
  z-index: 3;
  box-shadow: var(--shadow-xl);
}
.featured-deck > .deck-card[data-pos="1"] {
  transform: translate(-62px, 18px) rotate(-7deg) scale(0.94);
  z-index: 2;
  box-shadow: var(--shadow-lg);
  opacity: 0.96;
}
.featured-deck > .deck-card[data-pos="2"] {
  transform: translate(62px, 20px) rotate(7deg) scale(0.94);
  z-index: 1;
  box-shadow: var(--shadow-lg);
  opacity: 0.92;
}
.featured-deck > .deck-card[data-pos="0"]:hover {
  transform: translate(0, -6px) rotate(0deg) scale(1);
}
.deck-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
  padding: 6px 12px;
  background: rgba(250, 247, 242, 0.8);
  border: 1px solid var(--line);
  border-radius: 9999px;
  backdrop-filter: blur(8px);
}
[data-theme=dark] .deck-dots {
  background: rgba(32, 27, 22, 0.85);
}
.deck-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all var(--t-short) var(--ease-out);
}
.deck-dot:hover {
  background: var(--muted);
}
.deck-dot.active {
  background: var(--accent);
  width: 22px;
  border-radius: 9999px;
}
@media (prefers-reduced-motion: reduce) {
  .featured-deck > .deck-card[data-pos="1"],
  .featured-deck > .deck-card[data-pos="2"] {
    display: none;
  }
}
@media (max-width: 900px) {
  .featured-deck {
    padding: 0 20px 64px;
  }
  .featured-deck > .deck-card[data-pos="1"] {
    transform: translate(-16px, 20px) rotate(-4deg) scale(0.95);
  }
  .featured-deck > .deck-card[data-pos="2"] {
    transform: translate(16px, 38px) rotate(4deg) scale(0.9);
  }
}
.compact-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.compact-list > a {
  display: grid;
  grid-template-columns: 1.6fr 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 20px 24px;
  background: var(--surface);
  transition: background var(--t-short) var(--ease-out);
}
.compact-list > a:hover {
  background: var(--paper-bg);
}
.compact-list strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.compact-list span {
  color: var(--muted);
  font-size: 13px;
}
.compact-list span:last-child {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-2);
}
input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=submit]):not([type=button]),
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--paper-bg);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  transition: all var(--t-short) var(--ease-out);
  -webkit-appearance: none;
  appearance: none;
}
select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 7' width='12' height='7'><path fill='%236B6660' d='M1 1l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  background: var(--surface);
}
label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.alert {
  padding: 14px 16px;
  border-radius: var(--r-md);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alert-success {
  background: rgba(14, 77, 63, 0.08);
  color: var(--forest);
  border: 1px solid rgba(14, 77, 63, 0.18);
}
.alert-error {
  background: var(--accent-soft);
  color: var(--accent-press);
  border: 1px solid rgba(255, 90, 60, 0.22);
}
.alert-info {
  background: rgba(26, 23, 20, 0.04);
  color: var(--ink-2);
  border: 1px solid var(--line);
}
.alert-warn {
  background: rgba(245, 184, 46, 0.10);
  color: #8A6510;
  border: 1px solid rgba(245, 184, 46, 0.3);
}
.ticket {
  --notch: 14px;
  background: var(--ink);
  color: var(--paper-bg);
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  min-height: 360px;
  -webkit-mask:
    radial-gradient(
      var(--notch) at var(--notch) 50%,
      transparent 98%,
      #000 100%) left / 51% 100% no-repeat,
    radial-gradient(
      var(--notch) at calc(100% - var(--notch)) 50%,
      transparent 98%,
      #000 100%) right / 51% 100% no-repeat;
  mask:
    radial-gradient(
      var(--notch) at var(--notch) 50%,
      transparent 98%,
      #000 100%) left / 51% 100% no-repeat,
    radial-gradient(
      var(--notch) at calc(100% - var(--notch)) 50%,
      transparent 98%,
      #000 100%) right / 51% 100% no-repeat;
}
.ticket-top {
  position: relative;
  padding: 32px 36px 28px;
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
}
.ticket-top::before {
  content: "";
  position: absolute;
  top: 32px;
  bottom: 24px;
  left: 0;
  width: 3px;
  background: var(--accent);
}
.ticket-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.ticket-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 32px;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--paper-bg);
  margin-bottom: 20px;
}
.ticket-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.ticket-meta > div {
  color: rgba(250, 247, 242, 0.55);
  font-size: 12px;
}
.ticket-meta strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: var(--paper-bg);
  margin-bottom: 2px;
}
.ticket-perf {
  border-top: 1px dashed rgba(250, 247, 242, 0.22);
}
.ticket-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 36px 28px;
  gap: 20px;
  flex: 1 1 50%;
}
.ticket-qr {
  background: #FAF7F2;
  padding: 10px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ticket-code {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--paper-bg);
  text-align: right;
}
.ticket-code small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.5);
  margin-bottom: 4px;
}
.site-footer {
  margin-top: clamp(64px, 8vw, 96px);
  padding: 56px 0 32px;
  border-top: 1px solid var(--line);
  background: var(--paper-bg);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(24px, 5vw, 64px);
  margin-bottom: 40px;
}
.site-footer h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.045em;
  color: var(--ink);
  margin-bottom: 12px;
}
.site-footer h3 .brand-dot {
  color: var(--accent);
}
.site-footer h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 16px;
}
.site-footer p {
  font-size: 14px;
  color: var(--ink-2);
  max-width: 320px;
}
.footer-grid > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-grid a {
  color: var(--ink-2);
  font-size: 14px;
  transition: color var(--t-short) var(--ease-out);
}
.footer-grid a:hover {
  color: var(--accent);
}
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.page {
  padding: clamp(48px, 7vw, 80px) 0;
}
.page-header {
  margin-bottom: clamp(32px, 5vw, 56px);
  max-width: 720px;
}
.page-header h1 {
  font-size: clamp(40px, 5.5vw, 64px);
  margin-bottom: 16px;
}
.page-header p {
  font-size: 17px;
  color: var(--ink-2);
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--shadow-sm);
}
@keyframes pageEnter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes cardEnter {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes ticketEnter {
  from {
    opacity: 0;
    transform: translateY(24px) rotate(-1.5deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}
@keyframes stampIn {
  0% {
    opacity: 0;
    transform: scale(2.4) rotate(-18deg);
  }
  50% {
    opacity: 1;
  }
  60% {
    transform: scale(0.92) rotate(-12deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(-12deg);
  }
}
@keyframes shimmer {
  0% {
    background-position: -400px 0;
  }
  100% {
    background-position: 400px 0;
  }
}
@keyframes pulseRing {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 90, 60, 0.45);
  }
  100% {
    box-shadow: 0 0 0 18px rgba(255, 90, 60, 0);
  }
}
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes toastIn {
  from {
    opacity: 0;
    transform: translate(16px, -8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
}
main > section {
  animation: pageEnter 450ms var(--ease-out) both;
}
.hero .eyebrow {
  animation: pageEnter 700ms var(--ease-out) 80ms both;
}
.hero .hero-copy > h1 {
  animation: pageEnter 900ms var(--ease-soft) 180ms both;
}
.hero .hero-copy > h1 em {
  display: inline-block;
  animation: pageEnter 800ms var(--ease-soft) 380ms both;
}
.hero .hero-copy > p {
  animation: pageEnter 700ms var(--ease-out) 320ms both;
}
.hero .hero-actions {
  animation: pageEnter 700ms var(--ease-out) 460ms both;
}
.hero .hero-meta {
  animation: pageEnter 700ms var(--ease-out) 580ms both;
}
.hero .hero-meta > div:nth-child(1) {
  animation: pageEnter 700ms var(--ease-out) 600ms both;
}
.hero .hero-meta > div:nth-child(2) {
  animation: pageEnter 700ms var(--ease-out) 700ms both;
}
.hero .hero-meta > div:nth-child(3) {
  animation: pageEnter 700ms var(--ease-out) 800ms both;
}
.hero .hero-grid > .featured-card,
.hero .featured-deck,
.hero .hero-panel {
  animation: ticketEnter 900ms var(--ease-soft) 260ms both;
}
.event-grid > * {
  animation: cardEnter 500ms var(--ease-soft) both;
}
.event-grid > *:nth-child(1) {
  animation-delay: 60ms;
}
.event-grid > *:nth-child(2) {
  animation-delay: 120ms;
}
.event-grid > *:nth-child(3) {
  animation-delay: 180ms;
}
.event-grid > *:nth-child(4) {
  animation-delay: 240ms;
}
.event-grid > *:nth-child(5) {
  animation-delay: 300ms;
}
.event-grid > *:nth-child(6) {
  animation-delay: 360ms;
}
.compact-list > * {
  animation: fadeIn 500ms var(--ease-out) both;
}
.compact-list > *:nth-child(1) {
  animation-delay: 100ms;
}
.compact-list > *:nth-child(2) {
  animation-delay: 180ms;
}
.compact-list > *:nth-child(3) {
  animation-delay: 260ms;
}
.compact-list > *:nth-child(4) {
  animation-delay: 340ms;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
.page-section {
  padding: clamp(48px, 7vw, 80px) 0;
}
.page-heading {
  margin-bottom: clamp(32px, 5vw, 56px);
  max-width: 720px;
}
.page-heading h1 {
  margin-bottom: 14px;
}
.page-heading p {
  font-size: 17px;
  color: var(--ink-2);
}
.content-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.content-panel > h1,
.content-panel > h2 {
  margin-bottom: 4px;
}
.content-panel .eyebrow {
  margin-bottom: 0;
}
.muted {
  color: var(--muted);
}
.full-width {
  width: 100%;
  justify-content: center;
}
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 640px) {
  .two-column {
    grid-template-columns: 1fr;
  }
}
form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
form label input,
form label select,
form label textarea {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  font-size: 14px;
  color: var(--ink);
}
form textarea {
  min-height: 120px;
  resize: vertical;
}
.checkbox-row {
  flex-direction: row !important;
  align-items: center;
  gap: 10px;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 14px !important;
  color: var(--ink-2) !important;
  font-weight: 500 !important;
}
.checkbox-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}
.form-error {
  padding: 12px 14px;
  background: var(--accent-soft);
  color: var(--accent-press);
  border: 1px solid rgba(255, 90, 60, 0.22);
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 500;
}
.success-text,
.success-banner {
  padding: 12px 14px;
  background: rgba(14, 77, 63, 0.08);
  color: var(--forest);
  border: 1px solid rgba(14, 77, 63, 0.18);
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.toast-region {
  position: fixed;
  top: calc(24px + env(safe-area-inset-top));
  right: calc(24px + env(safe-area-inset-right));
  z-index: 120;
  display: grid;
  gap: 10px;
  width: min(360px, calc(100vw - 32px));
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 14px 14px 14px 16px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-left: 4px solid var(--ink);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(14px);
  animation: toastIn 240ms var(--ease-out) both;
}
.toast svg {
  margin-top: 2px;
}
.toast strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 3px;
}
.toast span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}
.toast button {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}
.toast button:hover {
  background: var(--paper-bg);
  color: var(--ink);
}
.toast-success {
  border-left-color: var(--forest);
}
.toast-success > svg {
  color: var(--forest);
}
.toast-error {
  border-left-color: var(--accent-press);
}
.toast-error > svg {
  color: var(--accent-press);
}
.toast-info {
  border-left-color: var(--amber);
}
.toast-info > svg {
  color: var(--amber);
}
[data-theme=dark] .toast {
  background: rgba(32, 27, 22, 0.96);
  border-color: var(--line);
}
@media (max-width: 720px) {
  .toast-region {
    top: calc(12px + env(safe-area-inset-top));
    right: 12px;
    left: 12px;
    width: auto;
  }
}
.danger-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--accent-soft);
  color: var(--accent-press);
  border: 1px solid rgba(255, 90, 60, 0.22);
  border-radius: var(--r-md);
  font-weight: 500;
  font-size: 14px;
  transition: all var(--t-short) var(--ease-out);
}
.danger-button:hover {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
}
.icon-button.danger {
  color: var(--accent-press);
}
.icon-button.danger:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  transition: all var(--t-short) var(--ease-out);
}
.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.theme-toggle:active {
  transform: scale(0.92);
}
.filter-bar {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 32px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.filter-bar label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  background: var(--paper-bg);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  flex-direction: row;
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
  color: var(--muted);
  transition: border-color var(--t-short) var(--ease-out);
}
.filter-bar label:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.filter-bar label svg {
  color: var(--muted);
  flex-shrink: 0;
}
.filter-bar input,
.filter-bar select {
  border: none;
  background: transparent;
  padding: 12px 0;
  width: 100%;
  font-size: 14px;
  color: var(--ink);
}
.filter-bar input:focus,
.filter-bar select:focus {
  box-shadow: none;
}
.filter-bar select {
  appearance: none;
  cursor: pointer;
  padding-right: 16px;
}
@media (max-width: 720px) {
  .filter-bar {
    grid-template-columns: 1fr;
  }
}
.detail-page {
  padding-bottom: 64px;
}
.detail-hero {
  position: relative;
  min-height: clamp(280px, 48vh, 420px);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  margin-bottom: 48px;
}
.detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      transparent 0%,
      rgba(26, 23, 20, 0.7) 100%);
  pointer-events: none;
}
.detail-hero-content {
  position: relative;
  padding: 64px 37px;
  color: #FAF7F2;
  max-width: none;
}
.detail-hero-content .eyebrow {
  color: rgba(250, 247, 242, 0.8);
}
.detail-hero-content h1 {
  color: #FAF7F2;
  margin-bottom: 16px;
  font-size: clamp(36px, 5.5vw, 64px);
}
.detail-hero-content p {
  color: rgba(250, 247, 242, 0.88);
  font-size: 17px;
  max-width: 580px;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  align-items: start;
}
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.info-grid span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
}
.info-grid svg {
  color: var(--accent);
  flex-shrink: 0;
}
.booking-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 100px;
}
.booking-panel h2 {
  font-size: 36px;
  letter-spacing: -0.035em;
}
.quantity-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: var(--paper-bg);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
}
.quantity-control button {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  transition: all var(--t-short) var(--ease-out);
}
.quantity-control button:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.quantity-control strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.summary-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-2);
}
.summary-row strong {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.summary-row.total {
  border-bottom: none;
  border-top: 1px solid var(--ink);
  margin-top: 8px;
  padding-top: 16px;
  font-size: 16px;
}
.summary-row.total strong {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.checkout-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
}
.summary-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--r-sm);
  margin: 12px 0 16px;
}
.confirm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 23, 20, 0.65);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn 280ms var(--ease-out);
}
.confirm-stage {
  position: relative;
  animation: ticketEnter 600ms var(--ease-soft) 60ms both;
}
.confirm-stage .ticket {
  animation: ticketEnter 600ms var(--ease-soft) 60ms both;
}
.stamp {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--accent);
  color: var(--accent);
  border-radius: 50%;
  background: rgba(255, 90, 60, 0.10);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 5;
  animation: stampIn 520ms var(--ease-soft) 400ms both;
  text-align: center;
  line-height: 0.95;
}
.ticket-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
  gap: 48px;
  padding: 16px 0;
}
.ticket-grid > .ticket {
  animation: ticketEnter 600ms var(--ease-soft) both;
}
.ticket-grid > .ticket:nth-child(2) {
  animation-delay: 120ms;
}
.ticket-grid > .ticket:nth-child(3) {
  animation-delay: 240ms;
}
.ticket-grid > .ticket:nth-child(4) {
  animation-delay: 360ms;
}
.ticket-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(14, 77, 63, 0.18);
  color: #7BCFB8;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
  width: max-content;
}
.ticket-status::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #7BCFB8;
  border-radius: 50%;
  display: inline-block;
}
@media (max-width: 640px) {
  .ticket-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
.auth-page {
  min-height: calc(100vh - 80px);
  padding: 48px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.auth-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 20% 30%,
      rgba(255, 90, 60, 0.08) 0%,
      transparent 50%),
    radial-gradient(
      circle at 80% 70%,
      rgba(14, 77, 63, 0.06) 0%,
      transparent 50%);
  pointer-events: none;
}
.auth-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: cardEnter 500ms var(--ease-soft);
}
.auth-card h1 {
  font-size: clamp(36px, 4vw, 44px);
  margin-bottom: 4px;
}
.auth-card p:last-child {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  padding-top: 8px;
  margin-top: 8px;
  border-top: 1px solid var(--line);
}
.auth-card p:last-child a {
  color: var(--accent);
  font-weight: 500;
}
.auth-card p:last-child a:hover {
  color: var(--accent-press);
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: start;
}
.dashboard-form {
  gap: 14px;
}
.admin-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 720px;
  overflow-y: auto;
  padding: 4px 6px 4px 4px;
  margin: -4px;
}
.admin-list > article {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 12px;
  background: var(--paper-bg);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: all var(--t-short) var(--ease-out);
}
.admin-list > article:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}
.admin-list img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--r-sm);
}
.admin-list h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.025em;
  margin-bottom: 2px;
}
.admin-list p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 4px;
}
.admin-list > article > div > span {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
}
.row-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.profile-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: start;
}
.profile-stats {
  grid-template-columns: repeat(3, 1fr);
  padding: 0;
}
.profile-stats > div {
  padding: 20px;
}
.settings-panel {
  max-width: 560px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.feature-grid > article {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all var(--t-medium) var(--ease-soft);
}
.feature-grid > article:hover {
  transform: translateY(-4px);
  border-color: var(--ink);
  box-shadow: var(--shadow-md);
}
.feature-grid svg {
  color: var(--accent);
  margin-bottom: 8px;
}
.feature-grid h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.025em;
}
.feature-grid p {
  font-size: 14px;
  color: var(--muted);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
  align-items: start;
}
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-list span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
}
.contact-list svg {
  color: var(--accent);
}
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 80px 24px;
  text-align: center;
}
.empty-state h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 5vw, 60px);
  letter-spacing: -0.035em;
  color: var(--ink);
}
.empty-state p {
  color: var(--muted);
  max-width: 420px;
}
.skeleton-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}
.skeleton-card > div {
  width: 100%;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(
      90deg,
      var(--line) 0%,
      rgba(232, 226, 216, 0.5) 50%,
      var(--line) 100%);
  background-size: 800px 100%;
  border-radius: var(--r-sm);
  animation: shimmer 1.4s linear infinite;
}
.skeleton-card > span {
  height: 12px;
  background:
    linear-gradient(
      90deg,
      var(--line) 0%,
      rgba(232, 226, 216, 0.5) 50%,
      var(--line) 100%);
  background-size: 800px 100%;
  border-radius: 6px;
  animation: shimmer 1.4s linear infinite;
}
.skeleton-card > span:nth-child(2) {
  width: 70%;
}
.skeleton-card > span:nth-child(3) {
  width: 50%;
}
.skeleton-card > span:nth-child(4) {
  width: 30%;
}
.org-shell {
  display: flex;
  min-height: 100vh;
  background: var(--paper-bg);
}
.org-mobilebar {
  display: none;
}
.org-backdrop {
  display: none;
}
.org-sidebar {
  position: sticky;
  top: 0;
  align-self: flex-start;
  width: 220px;
  flex-shrink: 0;
  height: 100vh;
  border-right: 1px solid var(--line);
  background: var(--surface);
  padding: 22px 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow-y: auto;
}
.org-brand {
  padding: 0 10px 18px;
  font-size: 22px;
}
.org-group-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  padding: 14px 10px 6px;
}
.org-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 9px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--t-short) var(--ease-out);
}
.org-nav-link:hover {
  background: var(--paper-bg);
  color: var(--ink);
}
.org-nav-link.active {
  background: var(--accent-soft);
  color: var(--accent);
}
.org-nav-link svg {
  flex-shrink: 0;
  opacity: 0.9;
}
.org-sidebar-spacer {
  flex: 1;
  min-height: 20px;
}
.org-viewsite {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
  padding: 9px 11px;
  border: 1px dashed var(--line);
  border-radius: 9px;
  margin-bottom: 10px;
  transition: all var(--t-short) var(--ease-out);
}
.org-viewsite:hover {
  border-color: var(--ink-2);
  color: var(--ink);
}
.org-sidebar-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.org-avatar {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background:
    linear-gradient(
      135deg,
      var(--accent),
      #ff9472);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
}
.org-whoami {
  min-width: 0;
  flex: 1;
  display: grid;
}
.org-whoami strong {
  font-size: 13px;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.org-whoami span {
  font-size: 11px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.org-sidebar-foot .theme-toggle {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.org-logout {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 9999px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all var(--t-short) var(--ease-out);
}
.org-logout:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.org-main {
  flex: 1;
  min-width: 0;
}
.org-main > section {
  animation: pageEnter 450ms var(--ease-out) both;
}
[data-theme=dark] .org-mobilebar {
  background: rgba(21, 17, 13, 0.9);
}
@media (max-width: 900px) {
  .org-shell {
    flex-direction: column;
  }
  .org-mobilebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 55;
    padding: 14px 20px;
    background: rgba(250, 247, 242, 0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
  }
  .org-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    height: 100vh;
    width: 250px;
    transform: translateX(-100%);
    transition: transform 280ms var(--ease-soft);
    z-index: 60;
    box-shadow: var(--shadow-xl);
  }
  .org-shell.drawer-open .org-sidebar {
    transform: translateX(0);
  }
  .org-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(26, 23, 20, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 240ms var(--ease-out);
    z-index: 58;
  }
  .org-shell.drawer-open .org-backdrop {
    opacity: 1;
    pointer-events: auto;
  }
}
@media (max-width: 900px) {
  .detail-grid,
  .checkout-grid,
  .dashboard-grid,
  .profile-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .booking-panel {
    position: static;
  }
  .info-grid {
    grid-template-columns: 1fr;
  }
  .admin-list > article {
    grid-template-columns: 64px 1fr auto;
  }
  .admin-list img {
    width: 64px;
    height: 64px;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 16px;
    right: 16px;
    flex: none;
    justify-content: flex-start;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-primary {
    position: static;
    transform: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: 100%;
  }
  .nav-links a {
    padding: 12px 14px;
    border-radius: var(--r-sm);
  }
  .nav-links a:hover {
    background: var(--paper-bg);
  }
  .nav-links a.active::after {
    display: none;
  }
  .auth-actions {
    padding-top: 8px;
    border-top: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .auth-actions a,
  .auth-actions > button:not(.theme-toggle) {
    width: 100%;
    justify-content: center;
  }
  .auth-actions .theme-toggle {
    align-self: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-panel {
    aspect-ratio: 4 / 3;
  }
  .stats-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .compact-list > a {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
.overview-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.overview-head h1 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1;
}
.overview-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}
.kpi-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 14px;
}
.kpi-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.kpi-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(26, 23, 20, 0.05);
  color: var(--ink-2);
  flex-shrink: 0;
}
.kpi-coral .kpi-icon {
  background: var(--accent-soft);
  color: var(--accent);
}
.kpi-forest .kpi-icon {
  background: rgba(14, 77, 63, 0.10);
  color: var(--forest);
}
.kpi-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.1;
}
.kpi-label {
  font-size: 12.5px;
  color: var(--ink-2);
  margin-top: 2px;
}
.kpi-sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted);
  margin-top: 7px;
}
.overview-events-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}
.ov-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--t-medium) var(--ease-soft);
  display: flex;
  flex-direction: column;
}
.ov-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--ink);
}
.ov-media {
  position: relative;
  height: 120px;
  background-size: cover;
  background-position: center;
  background-color: var(--accent);
}
.ov-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      transparent 40%,
      rgba(26, 23, 20, 0.35));
}
.ov-media .date-chip {
  z-index: 2;
}
.ov-media .chip {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  backdrop-filter: blur(6px);
}
.ov-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.ov-body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.ov-loc {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 3px;
}
.ov-bar {
  height: 6px;
  border-radius: 9999px;
  background: var(--line);
  overflow: hidden;
  margin: 14px 0 6px;
}
.ov-bar i {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: 9999px;
  transition: width var(--t-medium) var(--ease-soft);
}
.ov-barmeta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted);
}
.ov-actions {
  display: flex;
  gap: 7px;
  margin-top: 16px;
}
.ov-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--paper-bg);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 500;
  transition: all var(--t-short) var(--ease-out);
}
.ov-btn:hover {
  border-color: var(--ink);
}
.ov-btn.primary {
  flex: 1;
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.ov-btn.primary:hover {
  background: var(--accent-press);
}
.ov-btn.danger:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(26, 23, 20, 0.55);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
  animation: fadeIn 200ms var(--ease-out);
}
.modal-card {
  width: min(640px, 100%);
  max-height: calc(100vh - 48px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xl);
  animation: cardEnter 320ms var(--ease-soft);
}
.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.modal-head h2 {
  font-size: 26px;
}
.modal-form {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
  overflow: hidden;
}
.modal-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 28px;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}
.modal-foot {
  flex-shrink: 0;
  position: sticky;
  bottom: 0;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 28px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}
@media (max-width: 720px) {
  .overview-kpis {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .modal-foot {
    flex-direction: column-reverse;
  }
  .modal-foot .primary-button,
  .modal-foot .secondary-button {
    width: 100%;
    justify-content: center;
  }
}
.door-progress {
  display: flex;
  align-items: center;
  gap: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  margin-top: 16px;
}
.progress-ring {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  position: relative;
}
.progress-ring::before {
  content: "";
  position: absolute;
  inset: 11px;
  border-radius: 50%;
  background: var(--surface);
}
.progress-ring span {
  position: relative;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.progress-meta {
  flex: 1;
  min-width: 0;
}
.progress-meta h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.02em;
}
.progress-bars {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}
.pbar {
  display: grid;
  grid-template-columns: 96px 1fr 72px;
  gap: 12px;
  align-items: center;
}
.pbar-lab {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.pbar-track {
  height: 8px;
  border-radius: 9999px;
  background: var(--line);
  overflow: hidden;
}
.pbar-track i {
  display: block;
  height: 100%;
  border-radius: 9999px;
  transition: width var(--t-medium) var(--ease-soft);
}
.pbar-track i.c {
  background: var(--accent);
}
.pbar-track i.f {
  background: var(--forest);
}
.pbar-val {
  font-family: var(--font-mono);
  font-size: 11px;
  text-align: right;
  color: var(--ink);
}
.manage-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.manage-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.manage-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--paper-bg);
  border: 1px solid var(--line);
  border-radius: 9999px;
  padding: 0 14px;
  transition: border-color var(--t-short) var(--ease-out);
}
.manage-search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.manage-search svg {
  color: var(--muted);
  flex-shrink: 0;
}
.manage-search input {
  border: none;
  background: transparent;
  padding: 9px 0;
  width: 180px;
  font-size: 13.5px;
}
.manage-search input:focus {
  box-shadow: none;
}
@media (max-width: 600px) {
  .door-progress {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .manage-controls {
    width: 100%;
  }
  .manage-search {
    flex: 1;
  }
  .manage-search input {
    width: 100%;
  }
  .pbar {
    grid-template-columns: 80px 1fr 64px;
  }
}
.scope-picker {
  display: grid;
  gap: 12px;
  max-width: 620px;
}
.scope-card {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--t-short) var(--ease-out);
}
.scope-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.scope-media {
  width: 64px;
  height: 48px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  background-color: var(--accent);
}
.scope-info {
  flex: 1;
  display: grid;
  gap: 2px;
  min-width: 0;
}
.scope-info strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.scope-info span {
  font-size: 12.5px;
  color: var(--muted);
}
.scope-card > svg {
  color: var(--accent);
  flex-shrink: 0;
}
.scan-topline {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.scan-topactions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.secondary-button.active {
  border-color: var(--accent);
  color: var(--accent);
}
.scan-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 20px;
  align-items: start;
}
.scan-col {
  min-width: 0;
}
.scan-placeholder {
  width: 100%;
  min-height: 360px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--surface);
  display: grid;
  place-items: center;
  padding: 28px;
  text-align: center;
}
.scan-hint {
  color: var(--muted);
  font-size: 14px;
  max-width: 280px;
}
.scan-placeholder.r-valid {
  border-color: rgba(14, 77, 63, 0.4);
}
.scan-placeholder.r-used {
  border-color: rgba(245, 184, 46, 0.5);
}
.scan-placeholder.r-forbidden,
.scan-placeholder.r-wrongdoor,
.scan-placeholder.r-invalid {
  border-color: rgba(255, 90, 60, 0.4);
}
.result-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.result-badge strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.03em;
  margin-top: 6px;
}
.result-badge .rb-name {
  font-size: 15px;
  color: var(--ink);
}
.result-badge .rb-msg {
  font-size: 13px;
  color: var(--muted);
  max-width: 300px;
}
.result-badge.ok {
  color: var(--forest);
}
.result-badge.dup {
  color: #8a6510;
}
.result-badge.bad {
  color: var(--accent-press);
}
.result-badge.ok .rb-name,
.result-badge.dup .rb-name,
.result-badge.bad .rb-name {
  color: var(--ink);
}
[data-theme=dark] .result-badge.dup {
  color: var(--amber);
}
.door-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.door-count {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  padding: 22px;
  text-align: center;
}
.door-count strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 52px;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--forest);
}
.door-count span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-top: 8px;
  display: block;
}
.door-feed {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.door-feed-head {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.door-feed-empty {
  padding: 18px 16px;
  font-size: 13px;
  color: var(--muted);
}
.door-feed-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.door-feed-item:last-child {
  border-bottom: none;
}
.door-feed-item strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.door-feed-item .fmeta {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  flex-shrink: 0;
}
.fdot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.fdot.ok {
  background: var(--forest);
}
.fdot.dup {
  background: var(--amber);
}
.fdot.bad {
  background: var(--accent);
}
body.tixora-door-mode .org-sidebar,
body.tixora-door-mode .org-mobilebar,
body.tixora-door-mode .org-backdrop {
  display: none !important;
}
.scan-layout.door {
  grid-template-columns: 1fr;
  max-width: 560px;
  margin: 0 auto;
}
.scan-layout.door .door-side {
  flex-direction: row;
}
.scan-layout.door .door-count {
  flex: 1;
}
.scan-layout.door .door-feed {
  flex: 2;
}
@media (max-width: 860px) {
  .scan-layout {
    grid-template-columns: 1fr;
  }
  .scan-layout .door-side {
    flex-direction: row;
  }
  .scan-layout .door-count {
    flex: 1;
  }
  .scan-layout .door-feed {
    flex: 2;
  }
}
@media (max-width: 560px) {
  .scan-layout .door-side,
  .scan-layout.door .door-side {
    flex-direction: column;
  }
}
.auth-split {
  display: grid;
  grid-template-columns: 5fr 6fr;
  min-height: 100vh;
}
.auth-brand {
  position: relative;
  overflow: hidden;
  padding: 44px 40px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  background:
    linear-gradient(
      150deg,
      #241a14 0%,
      #3a1d12 55%,
      var(--accent) 130%);
}
[data-theme=dark] .auth-brand {
  background:
    linear-gradient(
      150deg,
      #0f0b08 0%,
      #2a1410 55%,
      var(--accent) 130%);
}
.ab-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.04em;
  color: #fff;
  position: relative;
  z-index: 2;
}
.ab-brand span {
  color: #fff;
}
.ab-headline {
  position: relative;
  z-index: 2;
}
.ab-headline h2 {
  color: #fff;
  font-size: clamp(30px, 3.4vw, 42px);
  letter-spacing: -0.035em;
  line-height: 1.04;
}
.ab-blurb {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  margin-top: 14px;
  max-width: 340px;
}
.ab-proof {
  display: flex;
  gap: 24px;
  position: relative;
  z-index: 2;
}
.ab-proof b {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  display: block;
  color: #fff;
}
.ab-proof span {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
}
.ab-ticket {
  position: absolute;
  right: -46px;
  top: 40%;
  width: 240px;
  height: 138px;
  background: #1a1714;
  border-radius: 14px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
  transform: rotate(-8deg);
  border-left: 5px solid var(--accent);
  z-index: 1;
}
.ab-ticket::before {
  content: "ADMIT 1 \b7  GA";
  position: absolute;
  top: 16px;
  left: 18px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.ab-ticket::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 52%;
  border-top: 2px dashed rgba(250, 247, 242, 0.25);
}
.ab-qr {
  position: absolute;
  right: 26px;
  bottom: 64px;
  width: 48px;
  height: 48px;
  border-radius: 7px;
  z-index: 2;
  background-color: #FAF7F2;
  background-image:
    repeating-linear-gradient(
      0deg,
      #1a1714 0 4px,
      transparent 4px 8px),
    repeating-linear-gradient(
      90deg,
      #1a1714 0 4px,
      transparent 4px 8px);
  background-size: 8px 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.auth-form-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 44px clamp(28px, 4vw, 56px);
  background: var(--surface);
  position: relative;
}
.auth-inner {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
}
.auth-tabs {
  display: inline-flex;
  background: var(--paper-bg);
  border: 1px solid var(--line);
  border-radius: 9999px;
  padding: 4px;
  margin-bottom: 24px;
  width: fit-content;
}
.auth-tabs a {
  font-size: 13px;
  padding: 7px 18px;
  border-radius: 9999px;
  color: var(--muted);
  font-weight: 500;
}
.auth-tabs a.on {
  background: var(--ink);
  color: var(--paper-bg);
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}
.auth-form h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 3vw, 32px);
  letter-spacing: -0.03em;
}
.auth-sub {
  color: var(--muted);
  font-size: 13.5px;
  margin-bottom: 8px;
}
.auth-or {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.auth-or::before,
.auth-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.google-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--ink);
  font-weight: 500;
  font-size: 14px;
  transition: all var(--t-short) var(--ease-out);
}
.google-button:hover {
  border-color: var(--ink);
  background: var(--paper-bg);
}
.auth-hatch {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-top: 18px;
  padding: 11px 14px;
  background: var(--paper-bg);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-size: 12.5px;
  color: var(--ink-2);
}
.auth-hatch svg {
  color: var(--accent);
  flex-shrink: 0;
}
.auth-hatch a {
  color: var(--accent);
  font-weight: 500;
  margin-left: auto;
  white-space: nowrap;
}
@media (max-width: 820px) {
  .auth-split {
    grid-template-columns: 1fr;
  }
  .auth-brand {
    display: none;
  }
  .auth-form-wrap {
    padding: 40px 24px;
    min-height: 100vh;
  }
  .auth-inner {
    max-width: 440px;
  }
}
.profile-hero {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}
.profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background:
    linear-gradient(
      135deg,
      var(--accent),
      #ff9472);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  flex-shrink: 0;
}
.profile-hero h1 {
  font-size: clamp(28px, 3.6vw, 40px);
}
.profile-email {
  color: var(--muted);
  font-size: 14px;
  margin-top: 2px;
}
.profile-rolebadge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(14, 77, 63, 0.12);
  color: var(--forest);
  padding: 5px 11px;
  border-radius: 9999px;
}
.profile-rolebadge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--forest);
}
.profile-cols {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 18px;
  align-items: start;
}
.detail-rows {
  display: flex;
  flex-direction: column;
}
.detail-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.detail-row:last-child {
  border-bottom: none;
}
.detail-row .k {
  color: var(--muted);
}
.detail-row .v {
  font-weight: 500;
  color: var(--ink);
}
.profile-stat-list {
  display: flex;
  flex-direction: column;
}
.profile-stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.profile-stat:last-child {
  border-bottom: none;
}
.profile-stat span {
  font-size: 13px;
  color: var(--muted);
}
.profile-stat strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.025em;
  color: var(--ink);
}
@media (max-width: 760px) {
  .profile-cols {
    grid-template-columns: 1fr;
  }
}
.nav-org-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--muted);
  border: 1px dashed var(--line);
  padding: 7px 13px;
  border-radius: 9999px;
  transition: all var(--t-short) var(--ease-out);
}
.nav-org-pill:hover {
  border-color: var(--ink-2);
  color: var(--ink);
}
.nav-org-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 9999px;
  transition: all var(--t-short) var(--ease-out);
}
.nav-org-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.home-org-cta {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: #1A1714;
  border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 44px);
}
.home-org-cta-text {
  position: relative;
  z-index: 2;
}
.home-org-cta h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: -0.03em;
  color: #FAF7F2;
}
.home-org-cta p {
  color: rgba(250, 247, 242, 0.7);
  font-size: 15px;
  margin-top: 10px;
  max-width: 420px;
}
.home-org-cta .primary-button {
  position: relative;
  z-index: 2;
}
.home-org-cta::before {
  content: "";
  position: absolute;
  right: -34px;
  top: 50%;
  transform: translateY(-50%) rotate(-8deg);
  width: 220px;
  height: 120px;
  background: #221b16;
  border-left: 5px solid var(--accent);
  border-radius: 12px;
  z-index: 1;
}
@media (max-width: 640px) {
  .home-org-cta {
    flex-direction: column;
    align-items: flex-start;
  }
  .home-org-cta .primary-button {
    width: 100%;
    justify-content: center;
  }
  .home-org-cta::before {
    display: none;
  }
}
[data-theme=dark] .home-org-cta {
  background: #FAF7F2;
}
[data-theme=dark] .home-org-cta h2 {
  color: #1A1714;
}
[data-theme=dark] .home-org-cta p {
  color: rgba(26, 23, 20, 0.6);
}
[data-theme=dark] .home-org-cta::before {
  background: #ECE4D8;
}
