.sonoscan .hero-visual {
  display: flex;
  align-items: stretch;
  justify-content: center;
  height: 100%;
  padding: 28px 12px;
  overflow: hidden;
}

.sonoscan .ticket-stack {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 460px;
  height: 100%;
  min-height: 100%;
}

.sonoscan .ticket-mega {
  font-family: 'Oswald', var(--sc-sans);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: #fff;
  pointer-events: none;
  user-select: none;
  width: 100%;
  flex-shrink: 0;
}

.sonoscan .ticket-mega span {
  display: block;
  font-size: clamp(3.25rem, 11vw, 6.5rem);
  white-space: nowrap;
}

.sonoscan .ticket-mega--top {
  align-self: flex-start;
  padding-top: 4px;
}

.sonoscan .ticket-mega--bottom {
  align-self: flex-end;
  text-align: right;
  padding-bottom: 4px;
}

.sonoscan .ticket-mega--bottom span {
  font-size: clamp(3rem, 10vw, 6rem);
  letter-spacing: -0.06em;
}

.sonoscan #sonoscan-canvas {
  display: none;
}

.sonoscan .hero-visual .canvas-label,
.sonoscan .hero-visual .visual-indicators {
  display: none;
}

.sonoscan .ticket-wrap {
  width: 100%;
  max-width: 420px;
  align-self: center;
  margin: clamp(24px, 4vh, 48px) 0;
  perspective: 1000px;
  flex-shrink: 0;
}

.sonoscan .ticket-lift {
  position: relative;
  border-radius: 2px;
  transform: rotate(-1deg);
  transition: transform 0.5s ease;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), 0 4px 12px rgba(0, 0, 0, 0.25);
}

.sonoscan .ticket-lift:hover {
  transform: rotate(0deg) scale(1.02);
}

.sonoscan .ticket-shape {
  position: relative;
  display: flex;
  min-height: 220px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 3px;
  overflow: hidden;
  background: #fff;
  background-image:
    radial-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 4px 4px;
}

.sonoscan .paper-wear {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.5), transparent 45%, rgba(0, 0, 0, 0.02) 100%);
  z-index: 1;
}

.sonoscan .paper-lighting {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, transparent 30%);
  z-index: 2;
}

.sonoscan .ticket-stub {
  width: 28%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 16px 8px;
  position: relative;
  z-index: 10;
}

.sonoscan .ticket-vertical {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--sc-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-align: center;
  width: 100%;
  margin-top: 8px;
  color: #1a1b26;
}

.sonoscan .ticket-stub-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-bottom: 8px;
}

.sonoscan .font-ticket {
  font-family: var(--sc-sans);
}

.sonoscan .font-mono {
  font-family: 'Space Mono', 'JetBrains Mono', monospace;
}

.sonoscan .ink-stamp {
  color: #1a1b26;
}

.sonoscan .ink-stamp-faded {
  color: rgba(26, 27, 38, 0.55);
}

.sonoscan .ticket-ga-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.8), 0 1px 3px rgba(0, 0, 0, 0.12);
  font-size: 10px;
  font-weight: 700;
}

.sonoscan .perf-line {
  width: 2px;
  flex-shrink: 0;
  z-index: 10;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.35) 0,
    rgba(0, 0, 0, 0.35) 4px,
    transparent 4px,
    transparent 8px
  );
}

.sonoscan .ticket-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px 16px 16px 20px;
  position: relative;
  z-index: 10;
}

.sonoscan .ticket-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}

.sonoscan .ticket-auth {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
}

.sonoscan .ticket-auth-silver {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #d8d8d8, #9a9a9a);
}

.sonoscan .ticket-auth-foil {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.65) 45%, transparent 70%);
  animation: ticket-foil 4s ease-in-out infinite;
}

.sonoscan .ticket-auth span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 700;
  color: #fff;
  mix-blend-mode: overlay;
}

.sonoscan .ticket-main {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  flex-grow: 1;
}

.sonoscan .cd-surface {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transform: rotate(-12deg);
  background: conic-gradient(from 200deg, #2a2a2a, #666, #1a1a1a, #888, #2a2a2a);
}

.sonoscan .cd-hole {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.sonoscan .cd-shine {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: rotate(45deg);
  pointer-events: none;
}

.sonoscan .ticket-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.sonoscan .ticket-footer {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sonoscan .ticket-seating {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 8px;
}

.sonoscan .ticket-seats {
  display: flex;
  gap: 16px;
}

.sonoscan .ticket-seat-col {
  display: flex;
  flex-direction: column;
}

.sonoscan .ticket-seat-col span:first-child {
  font-size: 6px;
  color: rgba(0, 0, 0, 0.5);
  letter-spacing: 0.08em;
}

.sonoscan .ticket-seat-col span:last-child {
  font-size: 12px;
  font-weight: 700;
}

.sonoscan .ticket-stamp {
  padding: 4px 8px;
  border: 1.5px solid rgba(0, 0, 0, 0.8);
  border-radius: 3px;
  display: flex;
  align-items: center;
  gap: 4px;
  opacity: 0.8;
  transform: rotate(-2deg);
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
}

.sonoscan .barcode-pattern {
  width: 100%;
  height: 24px;
  opacity: 0.8;
  margin-top: 4px;
  background: repeating-linear-gradient(
    90deg,
    #1a1b26 0,
    #1a1b26 2px,
    transparent 2px,
    transparent 4px,
    #1a1b26 4px,
    #1a1b26 5px,
    transparent 5px,
    transparent 9px
  );
}

.sonoscan .ticket-barcode-id {
  font-size: 6px;
  text-align: center;
  width: 100%;
  letter-spacing: 0.3em;
}

@keyframes ticket-foil {
  0%, 100% { transform: translateX(-30%); opacity: 0.6; }
  50% { transform: translateX(30%); opacity: 1; }
}
