:root {
	--space: 14px;
	--bg: #f7f8fa;
	--fg: #101318;
	--muted: #5d6677;
	--card: #fff;
	--ring: #e4e7ee;
	--bar: #fff;
	--red: #8f0f10;
	--navy: #0a1b3d;
}
* {
	box-sizing: border-box;
}
html,
body {
	height: 100%;
}
body {
	margin: 0;
	background: var(--bg);
	color: var(--fg);
	font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Shell */
.wrap {
	min-height: 100svh;
	display: flex;
	flex-direction: column;
	gap: var(--space);
	padding: var(--space) 0 calc(112px + var(--space));
	margin: 0 auto;
	width: 85vw;
	max-width: 920px;
}
#app {
	min-height: 60svh;
}
.page {
	display: block;
}
.section {
	display: flex;
	flex-direction: column;
	gap: var(--space);
}

/* Reusable blocks */
.logo {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 216px;
	border-radius: 16px;
	background: var(--card);
	border: 1px solid var(--ring);
}
.logo img {
	max-height: 180px;
	height: auto;
}
.meta {
	text-align: center;
	color: var(--fg);
	font-weight: 800;
	line-height: 1.25;
	font-size: 16px;
}

.stack1 {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space);
}
.grid2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space);
}
.btn {
	appearance: none;
	border: 1px solid var(--ring);
	border-radius: 12px;
	padding: 14px;
	background: var(--navy);
	color: #fff;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-weight: 700;
}
.btn.pri {
	background: var(--red);
	border-color: transparent;
}

/* Socials */
.social {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}
.sbtn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	border-radius: 999px;
	background: var(--card);
	border: 1px solid var(--ring);
	text-decoration: none;
	color: var(--fg);
	min-width: 120px;
	justify-content: center;
}
.sbtn img {
	width: 18px;
	height: 18px;
	display: block;
}

/* Carousel */
.carousel {
	position: relative;
	background: var(--card);
	border: 1px solid var(--ring);
	border-radius: 16px;
	padding: 12px;
}
.carousel h3 {
	margin: 0 0 8px 0;
	text-align: center;
	font-size: 14px;
	color: var(--muted);
}
.s-viewport {
	position: relative;
	height: 12.5vh;
	max-height: 140px;
	border-radius: 12px;
	background: #fff;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scroll-behavior: smooth;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
}
.s-viewport::-webkit-scrollbar {
	display: none;
}
.s-track {
	display: flex;
	height: 100%;
}
.s-slide {
	flex: 0 0 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	scroll-snap-align: center;
}
.s-slide a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}
.s-slide img {
	max-height: 100%;
	max-width: 90%;
	object-fit: contain;
}
.s-dots {
	display: flex;
	gap: 8px;
	justify-content: center;
	margin-top: 10px;
}
.s-dot {
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: #d7dbe6;
}
.s-dot.active {
	background: #667085;
}

/* Footer */
.footer {
	margin-top: 8px;
	text-align: center;
	color: var(--muted);
	font-size: 12px;
	opacity: 0.75;
}

/* Bottom nav */
.bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	background: var(--bar);
	border-top: 1px solid var(--ring);
	display: flex;
	justify-content: center;
	padding: 10px 8px;
}
.bar-inner {
	width: 85vw;
	max-width: 920px;
	display: flex;
	justify-content: space-around;
}
.nav {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	color: var(--fg);
	text-decoration: none;
	font-size: 11px;
}
.nav img {
	width: 22px;
	height: 22px;
	display: block;
	opacity: 0.7;
}
.nav.active img {
	opacity: 1;
}
.nav.active {
	font-weight: 800;
}

/* Venues sheet */
.backdrop {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s ease;
}
.sheet {
	position: fixed;
	left: 50%;
	bottom: 0;
	transform: translate(-50%, 100%);
	width: 85vw;
	max-width: 920px;
	background: var(--card);
	border: 1px solid var(--ring);
	border-bottom: 0;
	border-radius: 16px 16px 0 0;
	box-shadow: 0 -12px 24px rgba(16, 19, 24, 0.15);
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
	display: flex;
	flex-direction: column;
	max-height: 90svh;
}
.sheet-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 16px;
	border-bottom: 1px solid var(--ring);
}
.sheet-title {
	font-weight: 800;
}
.close {
	appearance: none;
	border: 1px solid var(--ring);
	background: var(--card);
	border-radius: 10px;
	padding: 8px 12px;
	font-weight: 700;
	cursor: pointer;
}
.sheet-body {
	padding: 14px 16px;
	overflow: auto;
	display: flex;
	flex-direction: column;
	gap: var(--space);
}
.venues-search {
	display: flex;
	gap: var(--space);
}
.venues-search input {
	flex: 1;
	border: 1px solid var(--ring);
	border-radius: 12px;
	padding: 10px 12px;
}
.venues-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space);
}
.venue-card {
	background: var(--card);
	border: 1px solid var(--ring);
	border-radius: 12px;
	padding: 10px;
}
.panel-open .backdrop {
	opacity: 0.45;
	pointer-events: auto;
}
.panel-open .sheet {
	transform: translate(-50%, 0);
}
.no-scroll {
	overflow: hidden;
	touch-action: none;
}

/* Page fade */
#app > .page {
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.28s ease, transform 0.28s ease;
}
#app > .page.show {
	opacity: 1;
	transform: none;
}

/* Exhibitors */
.ex-controls {
	display: grid;
	gap: 12px;
}
.ex-row {
	display: flex;
	gap: 10px;
}
.ex-row > * {
	flex: 1;
}
input.ex {
	width: 100%;
	border: 1px solid var(--ring);
	border-radius: 12px;
	padding: 10px 12px;
	background: #fff;
}

.typechips {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
}
@media (max-width: 640px) {
	.typechips {
		grid-template-columns: repeat(2, 1fr);
	}
}
.typechip {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	padding: 10px 12px;
	border-radius: 12px;
	border: 1px solid var(--ring);
	background: #fff;
	cursor: pointer;
	user-select: none;
	font-weight: 800;
	font-size: 12px;
}
.typechip img {
	width: 16px;
	height: 16px;
	display: block;
}
.typechip.on {
	background: #0a1b3d;
	color: #fff;
	border-color: #0a1b3d;
}

.daychips {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
}
.daychip {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	gap: 6px;
	padding: 10px 12px;
	border-radius: 12px;
	border: 1px solid var(--ring);
	background: #fff;
	cursor: pointer;
	user-select: none;
	font-weight: 800;
	font-size: 12px;
}
.daychip.on {
	background: #0a1b3d;
	color: #fff;
	border-color: #0a1b3d;
}

.chips {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding: 4px 2px 8px;
	scroll-snap-type: x proximity;
	-webkit-overflow-scrolling: touch;
}
.chips::-webkit-scrollbar {
	height: 0;
}
.chip {
	scroll-snap-align: center;
	white-space: nowrap;
	padding: 8px 12px;
	border-radius: 999px;
	border: 1px solid transparent;
	background: #f3f4f7;
	color: #111827;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	user-select: none;
}
.chip.on {
	background: #0a1b3d;
	color: #fff;
}

.exgrid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}
@media (max-width: 640px) {
	.exgrid {
		grid-template-columns: 1fr;
	}
}

.ex-card {
	background: var(--card);
	border: 1px solid var(--ring);
	border-radius: 16px;
	padding: 14px;
	display: grid;
	gap: 10px;
}
.ex-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}
.ex-title {
	flex: 1;
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 800;
	font-size: 16px;
}
.ex-type {
	width: 18px;
	height: 18px;
	display: block;
}
.ex-meta {
	white-space: nowrap;
	opacity: 0.9;
	display: flex;
	align-items: center;
	gap: 8px;
}
.ex-meta .badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	border-radius: 999px;
	background: #f2f4f7;
	border: 1px solid #e5e7eb;
	font-size: 12px;
}

.ex-time {
	color: #475467;
	font-size: 13px;
}
.ex-desc {
	line-height: 1.35;
}
.ex-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 2px;
}
.ex-tag {
	font-size: 11px;
	padding: 5px 9px;
	border-radius: 999px;
	background: #eef2f7;
	color: #475467;
	border: 0;
}

.ex-actions {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.ex-btn {
	border: 1px solid var(--ring);
	background: #fff;
	border-radius: 10px;
	padding: 8px 10px;
	text-decoration: none;
	color: var(--fg);
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
}
.ex-btn.map {
	font-weight: 800;
	background: #0a1b3d;
	color: #fff;
	border-color: #0a1b3d;
}

.ex-empty {
	color: var(--muted);
	text-align: center;
	padding: 24px;
}
.ex-more {
	display: flex;
	justify-content: center;
	margin-top: 8px;
}
#exSentinel {
	height: 1px;
}

/* Fav star */
.ex-fav {
	border: 0;
	background: transparent;
	padding: 0;
	cursor: pointer;
}
.ex-fav img {
	width: 18px;
	height: 18px;
	display: inline-block;
}

/* Exhibitors tip */
.ex-tip {
	padding: 10px 12px;
	border: 1px dashed var(--ring);
	border-radius: 12px;
	background: #ffffffcc;
	color: #475467;
	font-size: 13px;
}
.ex-tip .badge {
	margin-left: 6px;
}

/* Map — search bar redesigned */
.map-top {
	display: grid;
	gap: 10px;
	margin: 10px 0;
}
.map-search {
	position: sticky;
	top: 8px;
	z-index: 5;
	display: flex;
	align-items: center;
	gap: 10px;
	background: #fff;
	border: 1px solid var(--ring);
	border-radius: 24px;
	padding: 12px 14px;
	box-shadow: 0 6px 24px rgba(16, 19, 24, 0.06);
}
.map-search--enhanced.active {
	box-shadow: 0 8px 28px rgba(10, 27, 61, 0.18);
	border-color: #cfd6e4;
}
.map-search input {
	flex: 1;
	border: 0;
	outline: 0;
	font-size: 16px;
}
.map-ico {
	width: 18px;
	height: 18px;
	opacity: 0.85;
}
.map-clear {
	border: 0;
	background: #eef2f7;
	color: #334155;
	border-radius: 999px;
	width: 24px;
	height: 24px;
	font-weight: 900;
	cursor: pointer;
	display: grid;
	place-items: center;
}

/* Map filter chips + icons */
.map-filters {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding: 2px 0;
}
.mchip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 10px;
	border-radius: 999px;
	border: 1px solid var(--ring);
	background: #fff;
	font-weight: 700;
	font-size: 12px;
	cursor: pointer;
	user-select: none;
	white-space: nowrap;
}
.mchip img {
	width: 16px;
	height: 16px;
	display: block;
}
.mchip.on {
	background: #0a1b3d;
	color: #fff;
	border-color: #0a1b3d;
}

/* Map container + attribution hidden */
#map {
	height: 55vh;
	border: 1px solid var(--ring);
	border-radius: 12px;
	overflow: hidden;
}
.leaflet-container {
	font: inherit;
}
.leaflet-control-attribution {
	display: none !important;
}

/* Count pin */
.count-pin {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: #0a1b3d;
	color: #fff;
	border: 2px solid #fff;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
	font-weight: 900;
	line-height: 1;
	overflow: hidden;
	padding: 0;
	letter-spacing: 0.2px;
}
.count-pin.big {
	width: 48px;
	height: 48px;
	font-size: 13px;
}
.count-pin.small {
	width: 24px;
	height: 24px;
	font-size: 11px;
}
.count-pin.big::after {
	content: "";
	position: absolute;
	bottom: -7px;
	left: 50%;
	transform: translateX(-50%) rotate(45deg);
	width: 12px;
	height: 12px;
	background: #0a1b3d;
	border-right: 2px solid #fff;
	border-bottom: 2px solid #fff;
}
.count-pin.small::after {
	content: "";
	position: absolute;
	bottom: -5px;
	left: 50%;
	transform: translateX(-50%) rotate(45deg);
	width: 8px;
	height: 8px;
	background: #0a1b3d;
	border-right: 2px solid #fff;
	border-bottom: 2px solid #fff;
}

/* Popup */
.map-pop {
	min-width: 246px;
}
.map-pop-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
}
.map-pop-title {
	font-weight: 900;
}
.map-pop-sub {
	color: #667085;
	font-size: 12px;
	margin: 4px 0;
}
.map-pop-actions {
	display: flex;
	gap: 8px;
	margin-top: 6px;
	align-items: center;
}

/* Map list */
.map-list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
	margin-top: 12px;
}
.map-card {
	background: var(--card);
	border: 1px solid var(--ring);
	border-radius: 14px;
	padding: 12px;
	display: grid;
	gap: 10px;
	transition: box-shadow 0.2s, transform 0.08s;
}
.map-card:hover {
	box-shadow: 0 8px 24px rgba(16, 19, 24, 0.08);
}
.map-card.is-focus {
	border-color: #0a1b3d;
	box-shadow: 0 8px 28px rgba(10, 27, 61, 0.2);
}
.map-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	font-weight: 800;
}
.map-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 24px;
	padding: 0 8px;
	border-radius: 999px;
	background: #0a1b3d;
	color: #fff;
	font-weight: 900;
	font-size: 12px;
}
.map-sub {
	color: var(--muted);
	font-size: 13px;
	line-height: 1.3;
}
.map-icons {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.map-icons img {
	width: 18px;
	height: 18px;
}
.map-actions {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.map-btn {
	border: 1px solid var(--ring);
	background: #fff;
	border-radius: 12px;
	padding: 9px 12px;
	font-weight: 800;
	text-decoration: none;
	color: #0a1b3d;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.map-btn img {
	width: 16px;
	height: 16px;
}
.map-btn.pri {
	background: #0a1b3d;
	color: #fff;
	border-color: transparent;
}

/* Modal */
#exModal {
	width: min(92vw, 760px);
	border: 0;
	border-radius: 18px;
	overflow: hidden;
}
#exModal::backdrop {
	background: rgba(0, 0, 0, 0.5);
}
#exModal article {
	padding: 0;
	max-height: 78svh;
	overflow: auto;
}
.modal-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px;
	border-bottom: 1px solid var(--ring);
	background: #fff;
}
.modal-title {
	font-weight: 900;
	font-size: 18px;
	display: flex;
	align-items: center;
	gap: 10px;
}
.modal-body {
	padding: 16px;
	display: grid;
	gap: 12px;
}
.modal-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
}
.modal-kv {
	display: flex;
	gap: 8px;
	align-items: center;
	color: #475467;
}
.modal-kv .badge {
	padding: 6px 10px;
	border-radius: 999px;
	border: 1px solid var(--ring);
	background: #f8fafc;
	font-size: 12px;
}
.modal-section {
	padding: 12px;
	border: 1px solid var(--ring);
	border-radius: 12px;
	background: #fff;
}
.modal-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
