/* CE Shows — matches the ntl- design language from ce-events. */

.ce-shows {
	--ntl-red: #D0342C;
	--ntl-teal: #008aa4;
	--ntl-ink: #111111;
	--ntl-border: #E8E8E8;
	--ntl-bg-soft: #F5F5F5;
}
.ce-shows *, .ce-shows *::before, .ce-shows *::after { box-sizing: border-box; }

/* The [hidden] attribute sets display:none, but any explicit display rule
   beats it on specificity. Several elements here are display:flex, so make
   hidden win outright. */
.ce-shows [hidden], .ntl-filter-overlay[hidden] { display: none !important; }

.ce-shows .ntl-icon, .ce-shows .ntl-icon-search {
	width:18px; height:18px; flex-shrink:0;
	fill:none; stroke:currentColor; stroke-width:2;
	stroke-linecap:round; stroke-linejoin:round;
}

/* ── Search bar ───────────────────────────────────────────────────────── */

.ntl-searchbar {
	display:flex; align-items:center; gap:10px; flex-wrap:wrap;
	background:#fff; border-radius:60px; padding:10px 12px;
	box-shadow:0 2px 14px rgba(0,0,0,.10);
}
.ntl-searchbar-input {
	flex:1; min-width:220px; display:flex; align-items:center; gap:10px;
	padding:0 6px 0 12px;
}
.ntl-searchbar-input .ntl-icon-search { color:#9a9a9a; }
.ntl-search {
	flex:1; border:0; outline:0; background:transparent;
	font-size:17px; color:var(--ntl-ink); padding:10px 0; min-width:0;
}
.ntl-search::placeholder { color:#9a9a9a; }
.ntl-search.is-loading { opacity:.5; }
.ntl-search-clear {
	border:0; background:transparent; font-size:22px; line-height:1;
	color:#9a9a9a; cursor:pointer; padding:0 4px;
}

.ntl-bar-btn {
	display:inline-flex; align-items:center; gap:8px;
	padding:12px 20px; border:1px solid var(--ntl-border); background:#fff;
	border-radius:50px; cursor:pointer; white-space:nowrap;
	font-size:13px; font-weight:800; letter-spacing:.04em; text-transform:uppercase;
	color:var(--ntl-ink); transition:background .12s, border-color .12s, color .12s;
}
.ntl-bar-btn:hover { border-color:#bbb; background:#FAFAFA; }
.ntl-bar-btn[disabled] { opacity:.5; cursor:default; }
.ntl-bar-btn-filter { background:#FDEEEE; border-color:#FDEEEE; color:var(--ntl-teal); }
.ntl-bar-btn-filter:hover { background:#FBE3E3; border-color:#FBE3E3; }
.ntl-filter-count {
	font-style:normal; background:var(--ntl-red); color:#fff;
	border-radius:50px; padding:1px 7px; font-size:11px;
}

@media (max-width:640px) {
	.ntl-searchbar { border-radius:18px; }
	.ntl-searchbar-input { flex-basis:100%; }
	.ntl-bar-btn { flex:1; justify-content:center; padding:12px 10px; }
}

/* ── Results bar ─────────────────────────────────────────────────────── */

.ntl-results-bar {
	display:flex; justify-content:space-between; align-items:baseline;
	padding:16px 4px 10px; font-size:15px; color:#555;
}
.ntl-results-count strong { color:var(--ntl-ink); font-weight:800; }
.ntl-results-sort { color:var(--ntl-red); font-weight:700; font-size:14px; }

/* ── Layout ──────────────────────────────────────────────────────────── */

.ntl-layout { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
@media (max-width:900px) { .ntl-layout { grid-template-columns:1fr; } }

.ntl-map {
	height:var(--ntl-h,620px);
	border:1px solid var(--ntl-border); border-radius:12px; overflow:hidden;
}
.ntl-list-wrap {
	height:var(--ntl-h,620px); overflow-y:auto;
	border:1px solid var(--ntl-border); border-radius:12px; background:#fff;
}

.ntl-map-note {
	display:flex; align-items:center; justify-content:center; gap:10px;
	padding:10px; margin-top:10px; font-size:13px; color:#666;
	background:var(--ntl-bg-soft); border-radius:8px;
}
.ntl-clear-bounds {
	border:0; background:transparent; color:var(--ntl-red);
	font-weight:700; cursor:pointer; font-size:13px; text-decoration:underline;
}

/* ── Cards ───────────────────────────────────────────────────────────── */

.ntl-card {
	padding:12px 16px; display:flex; gap:12px; align-items:flex-start;
	border-bottom:1px solid #F5F5F5; cursor:pointer; background:#fff;
	border-left:3px solid transparent; transition:background .1s;
}
.ntl-card:hover { background:#FAFAFA; }
.ntl-card:focus { outline:none; border-left-color:var(--ntl-red); background:#FAFAFA; }
.ntl-card:last-child { border-bottom:none; }

.ntl-card-thumb {
	width:54px; height:54px; flex-shrink:0;
	display:flex; align-items:center; justify-content:center;
}
.ntl-card-thumb img { width:54px; height:54px; object-fit:contain; }
.ntl-card-thumb-fallback {
	width:54px; height:54px; border-radius:10px;
	display:flex; align-items:center; justify-content:center;
	color:#fff; font-size:20px; font-weight:800;
}

.ntl-card-body { flex:1; min-width:0; }
.ntl-card-title {
	font-size:15px; font-weight:800; color:var(--ntl-ink); margin-bottom:1px;
	white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.ntl-card-venue-row { display:flex; align-items:center; gap:5px; margin-bottom:2px; min-width:0; }
.ntl-card-venue-logo { width:18px; height:18px; border-radius:3px; object-fit:cover; flex-shrink:0; }
.ntl-card-venue {
	font-size:20px; color:#000; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.ntl-card-venue:hover { color:var(--ntl-red); }
.ntl-card-address {
	font-size:14px; color:#000; margin-bottom:5px;
	white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.ntl-card-date-row { margin-bottom:3px; }
.ntl-card-date-pill {
	font-size:14px; font-weight:700; color:var(--ntl-red); background:#FFF0F0;
	padding:2px 8px; border-radius:50px; display:inline-block;
}
.ntl-card-date-pill-today { color:#fff; background:var(--ntl-red); }
.ntl-card-schedule { font-size:14px; color:#000; margin-top:1px; }
.ntl-card-dist { font-size:14px; color:#000; margin-top:3px; }
.ntl-card-cancelled-label {
	font-size:11px; font-weight:700; text-transform:uppercase;
	color:var(--ntl-red); margin-bottom:3px;
}
.ntl-card-cancelled { background:#F3F3F3; }
.ntl-card-cancelled .ntl-card-date-pill,
.ntl-card-cancelled .ntl-card-schedule { text-decoration:line-through; }
.ntl-card-chevron { color:#ccc; font-size:18px; align-self:center; flex-shrink:0; }

.ntl-empty-state { padding:40px 16px; text-align:center; color:#888; font-size:14px; }

/* ── Map pins ────────────────────────────────────────────────────────── */

.ntl-pin { width:36px; height:55px; position:relative; }
.ntl-pin img {
	position:absolute; top:0; left:0; width:100%; height:100%;
	object-fit:contain; transition:opacity 1.1s ease-in-out;
	filter:drop-shadow(0 2px 3px rgba(0,0,0,.3));
}
.ntl-pin-multi .ntl-pin-badge {
	position:absolute; top:-2px; right:-4px;
	background:var(--ntl-ink); color:#fff; font-size:10px; font-weight:800;
	line-height:1; padding:3px 5px; border-radius:50px;
	border:1.5px solid #fff;
}
.ntl-pin-wrap.is-cancelled .ntl-pin { opacity:.5; }

.ntl-origin-dot {
	display:block; width:16px; height:16px; border-radius:50%;
	background:var(--ntl-teal); border:2.5px solid #fff;
	box-shadow:0 0 0 2px rgba(0,138,164,.35);
}

/* ── Popups ──────────────────────────────────────────────────────────── */

.ntl-pop-wrap .leaflet-popup-content-wrapper { border-radius:12px; }
.ntl-pop-wrap .leaflet-popup-content { margin:14px 16px; }
.ntl-pop-venue-row { display:flex; align-items:center; gap:7px; }
.ntl-pop-venue-logo { width:22px; height:22px; border-radius:4px; object-fit:cover; }
.ntl-pop-venue { font-size:16px; font-weight:800; color:#000; }
.ntl-pop-addr { font-size:12px; color:#777; margin:2px 0 8px; }
.ntl-pop-shows { display:flex; flex-direction:column; gap:10px; }
.ntl-pop-show {
	display:flex; gap:9px; align-items:flex-start;
	padding-top:9px; border-top:1px solid #EFEFEF;
}
.ntl-pop-shows .ntl-pop-show:first-child { border-top:0; padding-top:0; }
.ntl-pop-game { width:34px; height:34px; object-fit:contain; flex-shrink:0; }
.ntl-pop-label {
	font-size:11px; font-weight:800; text-transform:uppercase;
	letter-spacing:.04em; color:var(--ntl-ink);
}
.ntl-pop-meta { font-size:13px; color:#555; }
.ntl-pop-next { font-size:13px; font-weight:700; color:var(--ntl-red); margin-top:2px; }
.ntl-pop-next.is-cancelled { text-decoration:line-through; opacity:.8; }
.ntl-pop-link {
	display:inline-block; margin-top:4px; font-size:12px; font-weight:800;
	color:var(--ntl-teal); text-decoration:none;
}
.ntl-pop-link:hover { text-decoration:underline; }

/* ── Filter sheet ────────────────────────────────────────────────────── */

.ntl-filter-overlay {
	position:fixed; inset:0; z-index:10000;
	background:rgba(0,0,0,.45);
	display:flex; align-items:center; justify-content:center; padding:20px;
}
.ntl-filter-sheet {
	background:#fff; border-radius:18px; width:100%; max-width:560px;
	max-height:86vh; display:flex; flex-direction:column; overflow:hidden;
	box-shadow:0 20px 60px rgba(0,0,0,.3);
}
.ntl-filter-head {
	display:flex; align-items:center; justify-content:space-between;
	padding:18px 22px; border-bottom:1px solid #F0F0F0;
}
.ntl-filter-close {
	border:0; background:transparent; font-size:28px; line-height:1;
	color:#666; cursor:pointer; padding:0; width:32px; text-align:left;
}
.ntl-filter-title-main { font-size:17px; font-weight:700; color:var(--ntl-ink); }
.ntl-filter-clear {
	border:0; background:transparent; color:#999; cursor:pointer;
	font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.05em;
}
.ntl-filter-clear:hover { color:var(--ntl-red); }

.ntl-filter-body { padding:8px 22px 22px; overflow-y:auto; }
.ntl-filter-section { padding:20px 0; border-bottom:1px solid #F0F0F0; }
.ntl-filter-section:last-child { border-bottom:0; }
.ntl-filter-row { display:flex; align-items:center; justify-content:space-between; }
.ntl-filter-title { font-size:18px; font-weight:800; color:var(--ntl-ink); margin:0 0 14px; }
.ntl-filter-row .ntl-filter-title { margin-bottom:0; }
.ntl-filter-value { font-size:18px; font-weight:700; color:var(--ntl-ink); }

.ntl-chiprow { display:flex; flex-wrap:wrap; gap:10px; }
.ntl-chip {
	display:inline-flex; align-items:center; gap:9px;
	padding:9px 18px 9px 10px; border:2px solid var(--ntl-border);
	background:#fff; border-radius:50px; cursor:pointer;
	font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.03em;
	color:var(--ntl-ink); transition:background .12s, border-color .12s, color .12s;
}
.ntl-chip-icon { width:30px; height:30px; object-fit:contain; }
.ntl-chip-all { padding:9px 22px; }
.ntl-chip:hover { border-color:#bbb; }
.ntl-chip.is-on { background:var(--ntl-red); border-color:var(--ntl-red); color:#fff; }

.ntl-range {
	width:100%; margin-top:18px; accent-color:var(--ntl-teal);
}
.ntl-filter-select {
	width:100%; padding:12px 14px; border:2px solid var(--ntl-border);
	border-radius:10px; font-size:15px; font-weight:600; background:#fff;
}

.ntl-filter-foot { padding:16px 22px; border-top:1px solid #F0F0F0; }
.ntl-filter-apply {
	width:100%; padding:15px; border:0; border-radius:50px;
	background:var(--ntl-red); color:#fff; cursor:pointer;
	font-size:14px; font-weight:800; text-transform:uppercase; letter-spacing:.05em;
}
.ntl-filter-apply:hover { background:#B82A23; }

@media (max-width:640px) {
	.ntl-filter-overlay { padding:0; align-items:flex-end; }
	.ntl-filter-sheet { border-radius:18px 18px 0 0; max-height:92vh; }
}
