* { box-sizing: border-box; }
:root { color-scheme: dark; font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif; background: #000; color: #fff; }
body { min-height: 100vh; margin: 0; padding: 20px 14px 32px; background: #000; }
.screen { width: 100%; max-width: 390px; margin: auto; }
.hero { padding: 12px 2px 22px; text-align: left; }
.eyebrow { display: block; color: #c9c9c9; font-size: 11px; font-weight: 700; letter-spacing: .12em; }
h1 { margin: 8px 0 5px; font-size: 32px; line-height: 1.05; }
h2 { margin: 8px 0 18px; font-size: 24px; }
p { margin: 0; color: #c9c9c9; line-height: 1.45; }
.panel { padding: 18px 0 0; }
.design-section { margin-top: 16px; }
.design-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: center; margin-top: 16px; }
.design-fields > label { grid-column: 1 / -1; width: 100%; margin-top: 8px; }
.design-fields > label textarea { width: 100%; min-height: 96px; }
.design-fields .color-field { position: relative; display: block; width: 100%; height: 48px; margin: 0; }
.design-fields .color-field input[type="color"] { display: block; width: 100%; height: 48px; min-height: 48px; margin: 0; padding: 4px; border: 1px solid #8e8e8e; border-radius: 5px; background: #3f3f3f; appearance: none; -webkit-appearance: none; }
.design-fields .color-field > span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 0 8px; color: #fff; font-size: 13px; line-height: 1; text-align: center; text-shadow: 0 1px 2px #000; pointer-events: none; }
.design-fields input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
.design-fields input[type="color"]::-webkit-color-swatch { border: 0; border-radius: 4px; }
label { display: block; margin: 16px 0 0; color: #d4d4d4; font-size: 13px; text-align: left; }
input, select, textarea, button, .primary-link { width: 100%; min-height: 48px; margin-top: 7px; border: 1px solid #8e8e8e; border-radius: 5px; padding: 12px; color: #fff; background: #3f3f3f; font: inherit; font-size: 16px; }
[data-type="eventTicket"] input[type="datetime-local"] { display: block; width: 500px; max-width: 100%; min-width: 0; height: 48px; min-height: 48px; box-sizing: border-box; margin-left: 0; margin-right: 0; padding: 12px; text-align: left !important; direction: ltr; }
.field-invalid { border-color: #ff5a5f !important; box-shadow: 0 0 0 1px #ff5a5f; }
textarea { resize: vertical; }
input[type="file"] { padding: 9px; font-size: 14px; }
.asset-row { display: grid; grid-template-columns: 76px minmax(0, 1fr) 42px; gap: 8px; align-items: center; margin-top: 16px; }
.asset-row label { margin: 0; }
.asset-row input { min-width: 0; margin-top: 0; }
.asset-row .asset-remove { width: 42px; min-height: 42px; margin-top: 0; padding: 8px 0; }
button, .primary-link { display: block; cursor: pointer; text-align: center; text-decoration: none; background: #292929; font-weight: 700; }
button[type="submit"], .primary-link { margin-top: 22px; background: #fff; color: #292929; border-color: #fff; }
.scanner { margin-top: 12px; }
.scanner video { display: block; width: 100%; min-height: 220px; border: 1px solid #8e8e8e; border-radius: 5px; background: #171717; object-fit: cover; }
.scanner p { margin-top: 8px; font-size: 13px; }
.secondary-button { margin-top: 10px; }
.asset-remove { min-height: 38px; padding: 8px 12px; font-size: 13px; }
.hidden { display: none; }
.error { min-height: 22px; margin-top: 18px; color: #ffb3b3; font-size: 14px; }
@media (min-width: 480px) { body { display: flex; justify-content: center; } }
