#ticket-root {
  font-family: "Bitter", Georgia, serif;
  background: #0D0E0A;
  color: #F3EFE3;
  min-height: 100vh;
  padding: 24px 16px;
  box-sizing: border-box;
}

#ticket-root *, #ticket-root *::before, #ticket-root *::after {
  box-sizing: border-box;
}

.tk-container {
  max-width: 560px;
  margin: 0 auto;
  background: #14150F;
  border: 1px solid #2A2B24;
  overflow: hidden;
}

.tk-header {
  background: #5DBA63;
  padding: 8px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tk-header-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 2.5px;
  color: #0D0E0A;
  font-weight: 800;
  text-transform: uppercase;
}

.tk-header-code {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: #0D0E0A;
  font-weight: 700;
}

.tk-body {
  display: flex;
}

.tk-flyer {
  width: 42%;
  background: #0D0E0A;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-right: 1px dashed #2A2B24;
}

.tk-flyer img {
  width: 100%;
  height: auto;
  display: block;
}

.tk-details {
  width: 58%;
  padding: 20px;
}

.tk-eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: #5DBA63;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.tk-city {
  font-family: "Archivo Black", sans-serif;
  font-size: 28px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 4px;
}

.tk-venue {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: #FF5B1F;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.tk-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: #54524A;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.tk-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 2px;
}

.tk-guests {
  font-size: 12px;
  color: #A8A393;
  margin-bottom: 14px;
}

.tk-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.tk-grid-val {
  font-size: 13px;
  color: #F3EFE3;
}

.tk-grid-val.time {
  color: #FF5B1F;
  font-weight: 700;
}

.tk-qr-row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-top: 14px;
  border-top: 1px dashed #2A2B24;
}

.tk-qr {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  background: #F3EFE3;
}

.tk-qr-text {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: #A8A393;
  line-height: 1.4;
}

.tk-address {
  background: #0D0E0A;
  padding: 10px 16px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: #54524A;
  letter-spacing: 1px;
  text-align: center;
  border-top: 1px solid #2A2B24;
}

.tk-donate {
  background: #14150F;
  padding: 18px 20px;
  border-top: 2px solid #5DBA63;
  text-align: center;
}

.tk-donate-msg {
  font-size: 13px;
  color: #A8A393;
  margin-bottom: 12px;
  line-height: 1.5;
}

.tk-donate-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #5DBA63;
  color: #0D0E0A;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.tk-donate-btn:hover {
  background: #4ea854;
}

.tk-donate-legal {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  color: #54524A;
  letter-spacing: 1px;
  margin-top: 8px;
}

.tk-error {
  max-width: 480px;
  margin: 80px auto;
  text-align: center;
  padding: 40px 20px;
  background: #14150F;
  border: 1px solid #2A2B24;
}

.tk-error h1 {
  font-family: "Archivo Black", sans-serif;
  font-size: 24px;
  margin-bottom: 12px;
}

.tk-error p {
  color: #A8A393;
  margin-bottom: 20px;
}

.tk-error a {
  color: #5DBA63;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
}

/* Mobile: stack flyer on top */
@media (max-width: 600px) {
  .tk-body {
    flex-direction: column;
  }
  .tk-flyer {
    width: 100%;
    border-right: none;
    border-bottom: 1px dashed #2A2B24;
    padding: 12px;
  }
  .tk-flyer img {
    max-width: 280px;
    margin: 0 auto;
  }
  .tk-details {
    width: 100%;
  }
  .tk-qr {
    width: 80px;
    height: 80px;
  }
}
