.cst-wrap {
	--cst-accent: #5fd47a;
	--cst-accent-ink: #ffffff;
	--cst-ink: #18252a;
	--cst-muted: #56656b;
	--cst-line: #dbe3e2;
	--cst-soft: #eef3f2;
	--cst-ok: #15803d;
	--cst-ok-bg: #e5f5ea;
	--cst-few: #b45309;
	--cst-few-bg: #fcf1e1;
	--cst-full: #b91c1c;
	--cst-full-bg: #fcebeb;
	--cst-closed: #56656b;
	--cst-closed-bg: #e9eeef;
	color: var(--cst-ink);
	max-width: 1000px;
	margin: 0 auto;
	line-height: 1.6;
	font-family: Rubik, system-ui, -apple-system, "Segoe UI", sans-serif;
}
.cst-wrap * { box-sizing: border-box; }
.cst-hero { background: #0d0f0e; color: #fff; border-radius: 16px; padding: 30px 20px 26px; text-align: center; margin-bottom: 22px; }
.cst-live { display: inline-flex; align-items: center; gap: 6px; background: #e5484d; color: #fff; font-size: 11px; font-weight: 500; padding: 3px 10px; border-radius: 999px; letter-spacing: .5px; }
.cst-live i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: cst-blink 1.4s infinite; }
@keyframes cst-blink { 50% { opacity: .25; } }
.cst-title { font-family: Oswald, "Arial Narrow", sans-serif; font-size: 32px; text-transform: uppercase; margin: 12px 0 8px; font-weight: 600; line-height: 1.15; color: #fff; }
.cst-title b { color: var(--cst-accent); font-weight: 600; }
.cst-intro { font-size: 15px; line-height: 1.7; color: #d6dbd9; margin: 0 auto; max-width: 620px; }
.cst-h { font-family: Oswald, "Arial Narrow", sans-serif; font-size: 22px; text-transform: uppercase; font-weight: 600; margin: 1.6em 0 .4em; color: var(--cst-ink); }
.cst-muted { color: var(--cst-muted); margin: 0 0 1em; }

.cst-alert { border: 1px solid var(--cst-few); background: var(--cst-few-bg); border-radius: 12px; padding: 14px 16px; margin-bottom: 14px; }
.cst-alert p { margin: 4px 0 10px; }

.cst-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .9em; color: var(--cst-muted); }
.cst-meta-sep { opacity: .5; }
.cst-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cst-ok); animation: cst-pulse 2s infinite; }
.cst-dot.is-stale { background: var(--cst-few); animation: none; }
@keyframes cst-pulse { 0% { box-shadow: 0 0 0 0 rgba(21,128,61,.45); } 70% { box-shadow: 0 0 0 8px rgba(21,128,61,0); } 100% { box-shadow: 0 0 0 0 rgba(21,128,61,0); } }

.cst-empty { background: var(--cst-soft); border: 1px dashed #c9d4d2; border-radius: 12px; padding: 18px; }
.cst-empty p { margin: 6px 0 0; color: var(--cst-muted); }

.cst-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.cst-card { background: #0d0f0e; color: #fff; border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 6px; position: relative; overflow: hidden; animation: cst-up .5s both; }
.cst-card::after { content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.15), transparent); transform: skewX(-20deg); animation: cst-shine 4.5s infinite; pointer-events: none; }
@keyframes cst-shine { 0%, 70% { left: -80%; } 100% { left: 140%; } }
@keyframes cst-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.cst-card-top { display: flex; justify-content: space-between; align-items: center; }
.cst-seats { font-family: Oswald, "Arial Narrow", sans-serif; font-size: 26px; color: var(--cst-accent); font-weight: 600; line-height: 1; }
.cst-seats small { font-family: Rubik, sans-serif; font-size: 12px; color: #cbd2d9; font-weight: 500; margin-left: 4px; }
.cst-card-uni { font-weight: 500; margin: 4px 0; color: #fff; }
.cst-card-row { display: flex; justify-content: space-between; font-size: .9em; color: #aab5b1; }
.cst-card-row strong { color: #fff; font-weight: 500; }
.cst-card .cst-btn { margin-top: 8px; text-align: center; position: relative; z-index: 1; }

.cst-badge { display: inline-block; font-size: .8em; font-weight: 500; padding: 2px 10px; border-radius: 999px; white-space: nowrap; }
.cst-ok { color: var(--cst-ok); background: var(--cst-ok-bg); }
.cst-few { color: var(--cst-few); background: var(--cst-few-bg); }
.cst-full { color: var(--cst-full); background: var(--cst-full-bg); }
.cst-closed { color: var(--cst-closed); background: var(--cst-closed-bg); }

.cst-btn { display: inline-block; border: 0; cursor: pointer; background: var(--cst-accent); color: var(--cst-accent-ink) !important; padding: 10px 18px; border-radius: 10px; font-weight: 500; text-decoration: none !important; font-size: 1em; line-height: 1.3; }
.cst-btn:hover { filter: brightness(1.06); }
.cst-btn[disabled] { opacity: .6; cursor: default; }
.cst-btn-ghost { background: transparent; color: var(--cst-few) !important; border: 1px solid var(--cst-few); }

.cst-sub { margin-top: 1.6em; border: 1px solid var(--cst-line); border-radius: 14px; padding: 18px; background: #fff; }
.cst-sub .cst-h { margin-top: 0; font-size: 19px; }
.cst-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.cst-fields label span { display: block; font-size: .88em; font-weight: 500; margin-bottom: 4px; }
.cst-fields input { width: 100%; padding: 10px 12px; border: 1px solid var(--cst-line); border-radius: 10px; font-size: 1em; background: #f6f8f8; }
.cst-fields input:focus { outline: 2px solid var(--cst-accent); outline-offset: 1px; border-color: transparent; }
.cst-hp { position: absolute !important; left: -9999px !important; height: 0; width: 0; opacity: 0; }
.cst-fine { font-size: .82em; color: var(--cst-muted); margin: 10px 0 0; }
.cst-msg { margin: 8px 0 0; font-weight: 500; }
.cst-msg.is-ok { color: var(--cst-ok); }
.cst-msg.is-err { color: var(--cst-full); }

.cst-table-wrap { overflow-x: auto; border: 1px solid var(--cst-line); border-radius: 12px; background: #fff; }
.cst-table { width: 100%; border-collapse: collapse; margin: 0; font-size: .94em; }
.cst-table th, .cst-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid #e6ecea; border-left: 0; border-right: 0; border-top: 0; vertical-align: top; }
.cst-table th { background: var(--cst-soft); font-weight: 500; white-space: nowrap; }
.cst-table tr:last-child td { border-bottom: 0; }

.cst-details { margin-top: 1.4em; }
.cst-details summary { cursor: pointer; font-weight: 500; padding: 8px 0; }
.cst-source { font-size: .85em; color: var(--cst-muted); margin-top: 2em; }
.cst-source a { color: #0b8a43; }

@media (max-width: 640px) {
	.cst-title { font-size: 26px; }
	.cst-fields { grid-template-columns: 1fr; }
	.cst-table-wrap { border: 0; overflow: visible; background: transparent; }
	.cst-table thead { display: none; }
	.cst-table, .cst-table tbody, .cst-table tr, .cst-table td { display: block; width: 100%; }
	.cst-table tr { border: 1px solid var(--cst-line); border-radius: 12px; margin-bottom: 10px; padding: 6px 0; background: #fff; }
	.cst-table td { border: 0; display: flex; justify-content: space-between; gap: 12px; padding: 5px 12px; }
	.cst-table td::before { content: attr(data-l); color: var(--cst-muted); font-size: .9em; flex-shrink: 0; }
	.cst-table td:first-child { font-weight: 500; display: block; }
	.cst-table td:first-child::before { display: none; }
}
@media (prefers-reduced-motion: reduce) { .cst-dot, .cst-card, .cst-card::after, .cst-live i { animation: none; } }
