/* Public event page (U-011): one column, phone first. Colours come from the app's tokens (styles.css). */
.tn{max-width:560px;margin:0 auto;padding:20px 16px 48px;display:grid;gap:16px}
.tn-brand{display:flex;align-items:center;gap:10px;font-weight:600}
.tn-brand .brand-mark{width:32px;height:32px;font-size:19px;border-radius:9px}
.light .tn-brand .brand-mark{background:#ffd08a;color:#141416}
.tn-event h1{font-size:30px;letter-spacing:-.8px;margin:4px 0 8px}
.tn-event p{color:var(--muted);font-size:13px}
.tn-event .tn-club{color:var(--accent);font-weight:600;font-size:12px;letter-spacing:.3px;text-transform:uppercase}
.tn-ref{margin-top:6px}
/* The event's sheet (V-02, N-10): poster, description, music, dress code, where and a phone. */
.tn-poster{display:block;width:100%;max-width:360px;aspect-ratio:1;object-fit:cover;border-radius:14px;margin:0 0 14px;background:var(--panel)}
.tn-age{display:inline-block;padding:1px 7px;border:1px solid var(--line);border-radius:999px;color:var(--text);font-weight:600}
.tn-sheet{display:grid;gap:6px;margin-top:10px}
.tn-sheet p{margin:0}
.tn-event .tn-desc{color:var(--text);white-space:pre-line}
.tn-tags{list-style:none;margin:2px 0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.tn-tags li{padding:3px 10px;border:1px solid var(--line);border-radius:999px;font-size:12px;color:var(--muted)}
.tn-tags .tn-artist{color:var(--text);font-weight:600}
.tn-card{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:18px;display:grid;gap:14px}
.tn-card h2{font-size:18px}
.tn-zones{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.tn-zones li{display:flex;align-items:center;gap:12px;padding:10px 12px;border:1px solid var(--line);border-radius:10px}
.tn-zones li>div{flex:1;min-width:0;display:grid;gap:2px}
.tn-zones small{color:var(--muted)}
.tn-zones b{font-size:12px;white-space:nowrap}
.tn-zones b.tn-full{color:var(--danger)}
.tn-dot{width:10px;height:10px;border-radius:50%;background:var(--zone,var(--accent));flex:none}
.tn-form{display:grid;gap:12px}
.tn-form .field input,.tn-form .field select{width:100%;font-size:15px}
.tn-check{display:flex;gap:10px;align-items:flex-start;font-size:13px}
.tn-check input{width:18px;height:18px;margin-top:2px;accent-color:var(--accent);flex:none}
.tn-check span,.tn-help,.tn-foot{color:var(--muted);font-size:12px}
.tn-conditions{font-size:12px;color:var(--muted)}
.tn-form .form-error{margin:0;min-height:0}
.tn-form .form-error:empty{display:none}
.tn-done{border-color:var(--accent);text-align:center}
.tn-done h2:focus{outline:none}
.tn-qr{display:grid;place-items:center}
.tn-qr svg{width:180px;height:180px;background:#fff;padding:10px;border-radius:10px}
.tn-code{font-size:22px;letter-spacing:3px;font-weight:650;color:var(--accent)}
/* Club page and table picker (U-016) */
.tn-events{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.tn-event-link{display:flex;align-items:center;gap:14px;text-decoration:none;color:inherit}
.tn-event-link:hover{border-color:var(--accent)}
.tn-event-link small{display:block;color:var(--muted);margin-top:2px}
.tn-date{display:grid;place-items:center;min-width:52px;padding:6px 0;border-radius:10px;background:var(--raised);font-size:11px;text-transform:uppercase;color:var(--muted)}
.tn-date b{font-size:20px;color:var(--text);line-height:1.1}
.tn-link{border:0;background:none;padding:0;color:var(--accent);text-decoration:underline;font:inherit;cursor:pointer}
.tn-plan{display:grid;gap:8px}
.tn-map{position:relative;aspect-ratio:3/3.6;width:100%;background:#111113;border:1px solid var(--line);border-radius:12px}
.tn-spot{position:absolute;border:0;padding:0;background:var(--zone);color:#141416;border-radius:4px;font-size:11px;font-weight:700;display:grid;place-items:center;min-width:24px;min-height:24px}
.tn-spot.h{width:12%;height:6%}
.tn-spot.v{width:7%;height:10%}
.tn-spot.round{width:9%;height:7.5%;border-radius:50%}
.tn-spot.square{width:9%;height:7.5%}
.tn-spot.long{width:16%;height:6%}
.tn-spot.off{background:#3a3a40;color:#d4d4d8;opacity:1}
/* The map is dark in both themes, so the rings use a fixed light amber: about 13:1 against it. */
/* Selected: inverted fill and an amber border, so it differs from a free table by more than colour alone. */
.tn-spot.on{background:#141416;color:#ffd08a;border:2px solid #ffd08a;box-shadow:0 0 0 2px #ffd08a}
.tn-spot:focus-visible{outline:3px solid #ffd08a;outline-offset:3px}
.tn-wait{border-top:1px solid var(--line);padding-top:14px;margin-top:4px}
.tn-wait h3{font-size:15px}

/* Anti-bot widget (antibot.mjs): room for it so the form does not jump when it loads. */
.tn-antibot{margin:10px 0;min-height:65px}

/* Inside a club's website (N-11): compact, without Velador's brand bar and footer. */
body.embed .tn-brand,body.embed .tn-foot{display:none}
body.embed .tn{padding-top:8px}

/* Help with a ticket (soporte.mjs): folded until the customer needs it. */
.tn-support summary{display:flex;align-items:center;min-height:32px;cursor:pointer;font-weight:600}
.tn-support[open] summary{margin-bottom:10px}
.tn-support textarea{width:100%;font:inherit}
