/* League of Shattap tickets (includes/tickets.php): My Account → Tickets and the Contact Us page.
   Uses accounts.css's colours (.los-acc). */

.los-tk { --tk-raised: #2a1a37; --tk-deep: #160b1d; --tk-wait: #ffd166; --tk-red: #fd3147; --tk-display: Rajdhani, "Arial Narrow", sans-serif; }
.los-tk-lead { margin: 0 0 18px; max-width: 66ch; }
.los-tk-back { font-weight: 600; text-decoration: none; }
.los-tk-label { display: block; margin: 0 0 6px; font-weight: 600; color: #fff; }
.los-acc-field label small, .los-tk-label small { font-weight: 400; color: var(--los-muted); }

/* list */
.los-tk-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.los-tk-filter { display: flex; gap: 4px; }
.los-acc .los-tk-filter a { padding: 5px 12px; font: 700 13px var(--tk-display); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--los-muted); border: 1px solid var(--los-line); }
.los-acc .los-tk-filter a[aria-current] { color: #fff; border-color: var(--los-accent-2); background: var(--los-card); }
.los-tk-h { margin: 18px 0 6px; font: 700 12px var(--tk-display); letter-spacing: .14em; text-transform: uppercase; color: var(--los-muted); }
.los-tk-list { display: flex; flex-direction: column; gap: 4px; }
.los-acc a.los-tk-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding: 12px 14px; text-decoration: none; color: var(--los-text); background: var(--los-card); border-left: 3px solid var(--los-accent-2); }
.los-acc a.los-tk-row:hover { background: var(--tk-raised); color: var(--los-text); }
.los-tk-row.is-member { border-left-color: var(--tk-wait); }
.los-tk-row.is-closed { border-left-color: var(--los-line); opacity: .8; }
.los-tk-row.is-partner { border-left-color: var(--los-line); }
.los-tk-logo { width: 30px; height: 30px; object-fit: contain; flex: 0 0 auto; }
span.los-tk-logo.is-none { display: grid; place-items: center; font: 700 11px var(--tk-display); color: #fff; background: linear-gradient(135deg, #8b6bd8, #3b2370); }
.los-tk-main { min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.los-tk-t { color: #fff; font-weight: 600; overflow-wrap: anywhere; }
.los-tk-s { font-size: 13px; color: var(--los-muted); }
.los-tk-s b { font: 700 12px var(--tk-display); letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.los-tk-id { font: 700 13px var(--tk-display); color: var(--los-accent-2); margin-right: 5px; }
.los-tk-when, .los-tk-where { font-size: 13px; color: var(--los-muted); white-space: nowrap; }
.los-tk-empty { padding: 16px; color: var(--los-muted); background: var(--los-card); }
.los-tk-chip { display: inline-block; padding: 1px 8px; font: 700 12px/1.6 var(--tk-display); letter-spacing: .08em; text-transform: uppercase; border: 1px solid currentColor; border-radius: 2px; white-space: nowrap; }
.los-tk-chip.is-wait { color: var(--tk-wait); } .los-tk-chip.is-ok { color: var(--los-ok); } .los-tk-chip.is-open { color: var(--los-accent-2); } .los-tk-chip.is-muted { color: var(--los-muted); }

/* forms */
.los-tk-box { padding: 22px; background: var(--los-card); border: 1px solid var(--los-line); border-top: 3px solid var(--los-accent); border-radius: 6px; }
.los-tk-box h3 { margin: 0 0 4px; font-size: 24px; color: #fff; }
.los-tk-box .los-acc-help { margin: 0 0 16px; }
.los-tk input[type="text"], .los-tk input[type="email"], .los-tk textarea { width: 100%; padding: 10px 12px; font: inherit; color: #fff; background: var(--los-bg); border: 1px solid var(--los-line); border-radius: 4px; }
.los-tk textarea { resize: vertical; }
.los-tk input:focus, .los-tk textarea:focus { outline: none; border-color: var(--los-accent-2); }
.los-tk-types { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 6px; }
.los-tk-type { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 10px 12px; cursor: pointer; background: var(--los-bg); border: 1px solid var(--los-line); }
.los-tk-type:has(input:checked) { border-color: var(--los-accent-2); background: var(--tk-raised); }
.los-tk-type input { margin: 4px 0 0; accent-color: var(--los-accent-2); }
.los-tk-type b { display: block; color: #fff; font-weight: 600; }
.los-tk-type small { display: block; color: var(--los-muted); font-size: 13px; line-height: 1.4; }
.los-tk-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 18px; }
.los-tk-actions .los-acc-btn { width: auto; }

/* a ticket */
.los-tk-head { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: flex-start; margin: 0 0 16px; }
.los-tk-head-main { flex: 1; min-width: 0; }
.los-tk-head h3 { margin: 2px 0 0; font-size: 26px; line-height: 1.15; color: #fff; overflow-wrap: anywhere; }
.los-tk-meta { font-size: 13px; color: var(--los-muted); }
.los-tk-convo { display: flex; flex-direction: column; gap: 10px; }
.los-tk-msg { padding: 12px 14px; background: var(--los-card); border-left: 3px solid var(--los-line); }
.los-tk-msg.is-admin { background: linear-gradient(90deg, rgba(107,84,182,.22), rgba(107,84,182,.06)); border-left-color: var(--los-accent-2); }
.los-tk-who { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; margin: 0 0 4px; font-size: 13px; color: var(--los-muted); }
.los-tk-who b { color: #fff; font-weight: 600; font-size: 14px; }
.los-tk-body { overflow-wrap: anywhere; }
.los-tk-shots { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.los-tk-shots img { display: block; max-width: 160px; max-height: 110px; border: 1px solid var(--los-line); }
.los-tk-sys { font-size: 13px; color: var(--los-muted); text-align: center; padding: 4px; }
.los-tk-reply { margin-top: 16px; }
.los-tk-closed { margin-top: 14px; padding: 14px; color: var(--los-muted); background: var(--los-card); }
.los-tk-inline { display: inline; margin: 0; }
.los-tk-linkbtn { padding: 0; font: inherit; font-weight: 600; color: var(--los-accent-2); background: none; border: 0; cursor: pointer; }
.los-tk-linkbtn:hover { color: #fff; }
.los-tk-private { margin: 0 0 16px; padding: 10px 12px; font-size: 13px; color: var(--los-muted); background: var(--tk-deep); border-left: 3px solid var(--tk-wait); }
.los-tk-private b { color: #fff; }

/* on-theme "are you sure" */
.los-tk-pop { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 16px; background: rgba(12, 6, 17, .72); }
.los-tk-pop[hidden] { display: none; }
.los-tk-popbox { width: 420px; max-width: 100%; padding: 24px; background: var(--tk-raised); border-top: 3px solid var(--los-accent-2); clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px)); }
.los-tk-popbox h3 { margin: 0 0 8px; font: 700 22px var(--tk-display); text-transform: uppercase; color: #fff; }
.los-tk-popbox p { margin: 0; color: var(--los-muted); }

/* Contact Us */
.los-acc.los-tk-contact { max-width: 1040px; padding: 40px 20px 0; }
.los-tk-lead-big { font-size: 18px; color: #fff; }
.los-tk-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 28px; align-items: start; }
.los-tk-h1 { margin: 0 0 12px; font: 700 clamp(36px, 7vw, 58px)/.95 var(--tk-display); text-transform: uppercase; color: #fff; }
.los-tk-h1 span { color: var(--los-accent-2); }
.los-tk-facts { display: flex; flex-direction: column; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--los-muted); }
.los-tk-facts li { margin: 0; padding: 0; }
.los-tk-facts b { display: block; color: #fff; font-weight: 600; }
.los-tk-me { display: flex; gap: 10px; align-items: center; margin: 0 0 16px; padding: 10px 12px; font-size: 14px; background: var(--tk-deep); border-left: 3px solid var(--los-ok); }
.los-tk-me .los-acc-avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.los-tk-me b { color: #fff; }
.los-tk-done { max-width: 720px; padding: 22px; background: var(--los-card); border-left: 3px solid var(--los-ok); }
.los-tk-done h2 { margin: 0 0 8px; font: 700 26px var(--tk-display); text-transform: uppercase; color: #fff; }
.los-tk-done p { margin: 0 0 10px; }
.los-tk-done b { color: #fff; }
.los-acc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 720px) {
	.los-acc a.los-tk-row { grid-template-columns: auto minmax(0, 1fr) auto; }
	.los-tk-row .los-tk-when { grid-column: 2 / -1; }
	.los-tk-hero { grid-template-columns: 1fr; }
}
