/* required styles */

.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
	position: absolute;
	left: 0;
	top: 0;
	}
.leaflet-container {
	overflow: hidden;
	}
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
	-webkit-user-select: none;
	   -moz-user-select: none;
	        user-select: none;
	  -webkit-user-drag: none;
	}
/* Prevents IE11 from highlighting tiles in blue */
.leaflet-tile::selection {
	background: transparent;
}
/* Safari renders non-retina tile on retina better with this, but Chrome is worse */
.leaflet-safari .leaflet-tile {
	image-rendering: -webkit-optimize-contrast;
	}
/* hack that prevents hw layers "stretching" when loading new tiles */
.leaflet-safari .leaflet-tile-container {
	width: 1600px;
	height: 1600px;
	-webkit-transform-origin: 0 0;
	}
.leaflet-marker-icon,
.leaflet-marker-shadow {
	display: block;
	}
/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */
/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */
.leaflet-container .leaflet-overlay-pane svg {
	max-width: none !important;
	max-height: none !important;
	}
.leaflet-container .leaflet-marker-pane img,
.leaflet-container .leaflet-shadow-pane img,
.leaflet-container .leaflet-tile-pane img,
.leaflet-container img.leaflet-image-layer,
.leaflet-container .leaflet-tile {
	max-width: none !important;
	max-height: none !important;
	width: auto;
	padding: 0;
	}

.leaflet-container img.leaflet-tile {
	/* See: https://bugs.chromium.org/p/chromium/issues/detail?id=600120 */
	mix-blend-mode: plus-lighter;
}

.leaflet-container.leaflet-touch-zoom {
	-ms-touch-action: pan-x pan-y;
	touch-action: pan-x pan-y;
	}
.leaflet-container.leaflet-touch-drag {
	-ms-touch-action: pinch-zoom;
	/* Fallback for FF which doesn't support pinch-zoom */
	touch-action: none;
	touch-action: pinch-zoom;
}
.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
	-ms-touch-action: none;
	touch-action: none;
}
.leaflet-container {
	-webkit-tap-highlight-color: transparent;
}
.leaflet-container a {
	-webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);
}
.leaflet-tile {
	filter: inherit;
	visibility: hidden;
	}
.leaflet-tile-loaded {
	visibility: inherit;
	}
.leaflet-zoom-box {
	width: 0;
	height: 0;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	z-index: 800;
	}
/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */
.leaflet-overlay-pane svg {
	-moz-user-select: none;
	}

.leaflet-pane         { z-index: 400; }

.leaflet-tile-pane    { z-index: 200; }
.leaflet-overlay-pane { z-index: 400; }
.leaflet-shadow-pane  { z-index: 500; }
.leaflet-marker-pane  { z-index: 600; }
.leaflet-tooltip-pane   { z-index: 650; }
.leaflet-popup-pane   { z-index: 700; }

.leaflet-map-pane canvas { z-index: 100; }
.leaflet-map-pane svg    { z-index: 200; }

.leaflet-vml-shape {
	width: 1px;
	height: 1px;
	}
.lvml {
	behavior: url(#default#VML);
	display: inline-block;
	position: absolute;
	}


/* control positioning */

.leaflet-control {
	position: relative;
	z-index: 800;
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}
.leaflet-top,
.leaflet-bottom {
	position: absolute;
	z-index: 1000;
	pointer-events: none;
	}
.leaflet-top {
	top: 0;
	}
.leaflet-right {
	right: 0;
	}
.leaflet-bottom {
	bottom: 0;
	}
.leaflet-left {
	left: 0;
	}
.leaflet-control {
	float: left;
	clear: both;
	}
.leaflet-right .leaflet-control {
	float: right;
	}
.leaflet-top .leaflet-control {
	margin-top: 10px;
	}
.leaflet-bottom .leaflet-control {
	margin-bottom: 10px;
	}
.leaflet-left .leaflet-control {
	margin-left: 10px;
	}
.leaflet-right .leaflet-control {
	margin-right: 10px;
	}


/* zoom and fade animations */

.leaflet-fade-anim .leaflet-popup {
	opacity: 0;
	-webkit-transition: opacity 0.2s linear;
	   -moz-transition: opacity 0.2s linear;
	        transition: opacity 0.2s linear;
	}
.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
	opacity: 1;
	}
.leaflet-zoom-animated {
	-webkit-transform-origin: 0 0;
	    -ms-transform-origin: 0 0;
	        transform-origin: 0 0;
	}
svg.leaflet-zoom-animated {
	will-change: transform;
}

.leaflet-zoom-anim .leaflet-zoom-animated {
	-webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);
	   -moz-transition:    -moz-transform 0.25s cubic-bezier(0,0,0.25,1);
	        transition:         transform 0.25s cubic-bezier(0,0,0.25,1);
	}
.leaflet-zoom-anim .leaflet-tile,
.leaflet-pan-anim .leaflet-tile {
	-webkit-transition: none;
	   -moz-transition: none;
	        transition: none;
	}

.leaflet-zoom-anim .leaflet-zoom-hide {
	visibility: hidden;
	}


/* cursors */

.leaflet-interactive {
	cursor: pointer;
	}
.leaflet-grab {
	cursor: -webkit-grab;
	cursor:    -moz-grab;
	cursor:         grab;
	}
.leaflet-crosshair,
.leaflet-crosshair .leaflet-interactive {
	cursor: crosshair;
	}
.leaflet-popup-pane,
.leaflet-control {
	cursor: auto;
	}
.leaflet-dragging .leaflet-grab,
.leaflet-dragging .leaflet-grab .leaflet-interactive,
.leaflet-dragging .leaflet-marker-draggable {
	cursor: move;
	cursor: -webkit-grabbing;
	cursor:    -moz-grabbing;
	cursor:         grabbing;
	}

/* marker & overlays interactivity */
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-image-layer,
.leaflet-pane > svg path,
.leaflet-tile-container {
	pointer-events: none;
	}

.leaflet-marker-icon.leaflet-interactive,
.leaflet-image-layer.leaflet-interactive,
.leaflet-pane > svg path.leaflet-interactive,
svg.leaflet-image-layer.leaflet-interactive path {
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}

/* visual tweaks */

.leaflet-container {
	background: #ddd;
	outline-offset: 1px;
	}
.leaflet-container a {
	color: #0078A8;
	}
.leaflet-zoom-box {
	border: 2px dotted #38f;
	background: rgba(255,255,255,0.5);
	}


/* general typography */
.leaflet-container {
	font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1.5;
	}


/* general toolbar styles */

.leaflet-bar {
	box-shadow: 0 1px 5px rgba(0,0,0,0.65);
	border-radius: 4px;
	}
.leaflet-bar a {
	background-color: #fff;
	border-bottom: 1px solid #ccc;
	width: 26px;
	height: 26px;
	line-height: 26px;
	display: block;
	text-align: center;
	text-decoration: none;
	color: black;
	}
.leaflet-bar a,
.leaflet-control-layers-toggle {
	background-position: 50% 50%;
	background-repeat: no-repeat;
	display: block;
	}
.leaflet-bar a:hover,
.leaflet-bar a:focus {
	background-color: #f4f4f4;
	}
.leaflet-bar a:first-child {
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	}
.leaflet-bar a:last-child {
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
	border-bottom: none;
	}
.leaflet-bar a.leaflet-disabled {
	cursor: default;
	background-color: #f4f4f4;
	color: #bbb;
	}

.leaflet-touch .leaflet-bar a {
	width: 30px;
	height: 30px;
	line-height: 30px;
	}
.leaflet-touch .leaflet-bar a:first-child {
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
	}
.leaflet-touch .leaflet-bar a:last-child {
	border-bottom-left-radius: 2px;
	border-bottom-right-radius: 2px;
	}

/* zoom control */

.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
	font: bold 18px 'Lucida Console', Monaco, monospace;
	text-indent: 1px;
	}

.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out  {
	font-size: 22px;
	}


/* layers control */

.leaflet-control-layers {
	box-shadow: 0 1px 5px rgba(0,0,0,0.4);
	background: #fff;
	border-radius: 5px;
	}
.leaflet-control-layers-toggle {
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);
	width: 36px;
	height: 36px;
	}
.leaflet-retina .leaflet-control-layers-toggle {
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);
	background-size: 26px 26px;
	}
.leaflet-touch .leaflet-control-layers-toggle {
	width: 44px;
	height: 44px;
	}
.leaflet-control-layers .leaflet-control-layers-list,
.leaflet-control-layers-expanded .leaflet-control-layers-toggle {
	display: none;
	}
.leaflet-control-layers-expanded .leaflet-control-layers-list {
	display: block;
	position: relative;
	}
.leaflet-control-layers-expanded {
	padding: 6px 10px 6px 6px;
	color: #333;
	background: #fff;
	}
.leaflet-control-layers-scrollbar {
	overflow-y: scroll;
	overflow-x: hidden;
	padding-right: 5px;
	}
.leaflet-control-layers-selector {
	margin-top: 2px;
	position: relative;
	top: 1px;
	}
.leaflet-control-layers label {
	display: block;
	font-size: 13px;
	font-size: 1.08333em;
	}
.leaflet-control-layers-separator {
	height: 0;
	border-top: 1px solid #ddd;
	margin: 5px -10px 5px -6px;
	}

/* Default icon URLs */
.leaflet-default-icon-path { /* used only in path-guessing heuristic, see L.Icon.Default */
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=);
	}


/* attribution and scale controls */

.leaflet-container .leaflet-control-attribution {
	background: #fff;
	background: rgba(255, 255, 255, 0.8);
	margin: 0;
	}
.leaflet-control-attribution,
.leaflet-control-scale-line {
	padding: 0 5px;
	color: #333;
	line-height: 1.4;
	}
.leaflet-control-attribution a {
	text-decoration: none;
	}
.leaflet-control-attribution a:hover,
.leaflet-control-attribution a:focus {
	text-decoration: underline;
	}
.leaflet-attribution-flag {
	display: inline !important;
	vertical-align: baseline !important;
	width: 1em;
	height: 0.6669em;
	}
.leaflet-left .leaflet-control-scale {
	margin-left: 5px;
	}
.leaflet-bottom .leaflet-control-scale {
	margin-bottom: 5px;
	}
.leaflet-control-scale-line {
	border: 2px solid #777;
	border-top: none;
	line-height: 1.1;
	padding: 2px 5px 1px;
	white-space: nowrap;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	background: rgba(255, 255, 255, 0.8);
	text-shadow: 1px 1px #fff;
	}
.leaflet-control-scale-line:not(:first-child) {
	border-top: 2px solid #777;
	border-bottom: none;
	margin-top: -2px;
	}
.leaflet-control-scale-line:not(:first-child):not(:last-child) {
	border-bottom: 2px solid #777;
	}

.leaflet-touch .leaflet-control-attribution,
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	box-shadow: none;
	}
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	border: 2px solid rgba(0,0,0,0.2);
	background-clip: padding-box;
	}


/* popup */

.leaflet-popup {
	position: absolute;
	text-align: center;
	margin-bottom: 20px;
	}
.leaflet-popup-content-wrapper {
	padding: 1px;
	text-align: left;
	border-radius: 12px;
	}
.leaflet-popup-content {
	margin: 13px 24px 13px 20px;
	line-height: 1.3;
	font-size: 13px;
	font-size: 1.08333em;
	min-height: 1px;
	}
.leaflet-popup-content p {
	margin: 17px 0;
	margin: 1.3em 0;
	}
.leaflet-popup-tip-container {
	width: 40px;
	height: 20px;
	position: absolute;
	left: 50%;
	margin-top: -1px;
	margin-left: -20px;
	overflow: hidden;
	pointer-events: none;
	}
.leaflet-popup-tip {
	width: 17px;
	height: 17px;
	padding: 1px;

	margin: -10px auto 0;
	pointer-events: auto;

	-webkit-transform: rotate(45deg);
	   -moz-transform: rotate(45deg);
	    -ms-transform: rotate(45deg);
	        transform: rotate(45deg);
	}
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
	background: white;
	color: #333;
	box-shadow: 0 3px 14px rgba(0,0,0,0.4);
	}
.leaflet-container a.leaflet-popup-close-button {
	position: absolute;
	top: 0;
	right: 0;
	border: none;
	text-align: center;
	width: 24px;
	height: 24px;
	font: 16px/24px Tahoma, Verdana, sans-serif;
	color: #757575;
	text-decoration: none;
	background: transparent;
	}
.leaflet-container a.leaflet-popup-close-button:hover,
.leaflet-container a.leaflet-popup-close-button:focus {
	color: #585858;
	}
.leaflet-popup-scrolled {
	overflow: auto;
	}

.leaflet-oldie .leaflet-popup-content-wrapper {
	-ms-zoom: 1;
	}
.leaflet-oldie .leaflet-popup-tip {
	width: 24px;
	margin: 0 auto;

	-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
	filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
	}

.leaflet-oldie .leaflet-control-zoom,
.leaflet-oldie .leaflet-control-layers,
.leaflet-oldie .leaflet-popup-content-wrapper,
.leaflet-oldie .leaflet-popup-tip {
	border: 1px solid #999;
	}


/* div icon */

.leaflet-div-icon {
	background: #fff;
	border: 1px solid #666;
	}


/* Tooltip */
/* Base styles for the element that has a tooltip */
.leaflet-tooltip {
	position: absolute;
	padding: 6px;
	background-color: #fff;
	border: 1px solid #fff;
	border-radius: 3px;
	color: #222;
	white-space: nowrap;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	pointer-events: none;
	box-shadow: 0 1px 3px rgba(0,0,0,0.4);
	}
.leaflet-tooltip.leaflet-interactive {
	cursor: pointer;
	pointer-events: auto;
	}
.leaflet-tooltip-top:before,
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	position: absolute;
	pointer-events: none;
	border: 6px solid transparent;
	background: transparent;
	content: "";
	}

/* Directions */

.leaflet-tooltip-bottom {
	margin-top: 6px;
}
.leaflet-tooltip-top {
	margin-top: -6px;
}
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-top:before {
	left: 50%;
	margin-left: -6px;
	}
.leaflet-tooltip-top:before {
	bottom: 0;
	margin-bottom: -12px;
	border-top-color: #fff;
	}
.leaflet-tooltip-bottom:before {
	top: 0;
	margin-top: -12px;
	margin-left: -6px;
	border-bottom-color: #fff;
	}
.leaflet-tooltip-left {
	margin-left: -6px;
}
.leaflet-tooltip-right {
	margin-left: 6px;
}
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	top: 50%;
	margin-top: -6px;
	}
.leaflet-tooltip-left:before {
	right: 0;
	margin-right: -12px;
	border-left-color: #fff;
	}
.leaflet-tooltip-right:before {
	left: 0;
	margin-left: -12px;
	border-right-color: #fff;
	}

/* Printing */

@media print {
	/* Prevent printers from removing background-images of controls. */
	.leaflet-control {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
		}
	}
:root {
  color-scheme: dark;
  font-family:
    Manrope, Helvetica, Arial, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #0c102a;
  color: #f8fafc;
}

/* Clevio LCGN AI 2026 visual pass */
:root {
  --lcgn-bg: #0c102a;
  --lcgn-bg-2: #111c42;
  --lcgn-primary: #1f4ee9;
  --lcgn-lime: #a3ff00;
  --lcgn-text: #ffffff;
  --lcgn-muted: rgba(255, 255, 255, 0.75);
  --lcgn-soft: rgba(255, 255, 255, 0.12);
  --lcgn-panel: rgba(17, 28, 66, 0.72);
  --lcgn-panel-strong: rgba(12, 16, 42, 0.86);
  --lcgn-border: rgba(255, 255, 255, 0.16);
  --lcgn-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
  --lcgn-radius: 10px;
}

html,
body {
  overflow-x: hidden;
  background: var(--lcgn-bg);
}

body {
  background:
    radial-gradient(circle at 12% 8%, rgba(31, 78, 233, 0.34), transparent 24rem),
    radial-gradient(circle at 84% 4%, rgba(163, 255, 0, 0.16), transparent 20rem),
    linear-gradient(180deg, #0c102a 0%, #111c42 46%, #0c102a 100%);
  color: var(--lcgn-text);
  font-family: Manrope, Helvetica, Arial, sans-serif;
  font-weight: 500;
}

button,
input,
select,
textarea {
  font-family: Manrope, Helvetica, Arial, sans-serif;
}

.vote-app {
  color: var(--lcgn-text);
}

.vote-lobby,
.vote-confirm-page,
.admin-login-page,
.vote-admin {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 10% 10%, rgba(31, 78, 233, 0.22), transparent 26rem),
    radial-gradient(circle at 92% 4%, rgba(163, 255, 0, 0.13), transparent 22rem),
    var(--lcgn-bg);
  background-size: 72px 72px, 72px 72px, auto, auto, auto;
}

.vote-lobby {
  padding: clamp(18px, 3vw, 34px);
}

.lobby-hero,
.lobby-layout,
.admin-topbar,
.admin-stats-grid,
.admin-workspace {
  max-width: 1240px;
}

.lobby-hero {
  min-height: 470px;
  align-items: center;
  gap: clamp(22px, 4vw, 46px);
}

.hero-copy {
  padding: 44px 0;
}

.brand-row {
  align-items: center;
  color: var(--lcgn-muted);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.event-mark {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(163, 255, 0, 0.42);
  border-radius: var(--lcgn-radius);
  background:
    linear-gradient(145deg, rgba(163, 255, 0, 0.2), rgba(31, 78, 233, 0.22)),
    rgba(12, 16, 42, 0.86);
  color: var(--lcgn-lime);
  box-shadow: 0 18px 45px rgba(31, 78, 233, 0.24);
}

.hero-copy h1,
.vote-confirm-top h1,
.phone-gate-card h1 {
  max-width: 760px;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-copy h1 {
  font-size: clamp(46px, 7.3vw, 96px);
  line-height: 0.95;
}

.hero-copy p,
.notice-panel p,
.section-head p,
.leader-row span,
.game-card p,
.vote-rules,
.admin-panel-head p,
.admin-login-card p,
.phone-gate-card p,
.confirm-body p {
  color: var(--lcgn-muted);
}

.hero-copy p {
  max-width: 620px;
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  gap: 14px;
}

.secondary-action,
.admin-primary,
.primary-vote-button,
.admin-login-card button[type="submit"],
.phone-gate-card button,
.vote-modal button {
  min-height: 46px;
  border: 1px solid var(--lcgn-primary);
  border-radius: 999px;
  background: var(--lcgn-primary);
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: 0 16px 44px rgba(31, 78, 233, 0.38);
}

.secondary-action:hover,
.admin-primary:hover,
.primary-vote-button:hover,
.admin-login-card button[type="submit"]:hover,
.phone-gate-card button:hover,
.vote-modal button:hover {
  border-color: var(--lcgn-lime);
  background: var(--lcgn-lime);
  color: var(--lcgn-bg) !important;
  text-shadow: none;
}

.ghost-action,
.back-link,
.category-tabs button,
.row-actions button,
.admin-topbar-actions button {
  border: 1px solid var(--lcgn-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
}

.ghost-action:hover,
.back-link:hover,
.category-tabs button:hover,
.row-actions button:hover,
.admin-topbar-actions button:hover {
  border-color: rgba(163, 255, 0, 0.7);
  color: var(--lcgn-lime);
}

.hero-visual,
.stats-strip > div,
.notice-panel,
.leaderboard,
.admin-panel,
.admin-stat,
.phone-gate-card,
.admin-login-card,
.vote-modal,
.confirm-card {
  border: 1px solid var(--lcgn-border);
  border-radius: var(--lcgn-radius);
  background: var(--lcgn-panel);
  box-shadow: var(--lcgn-shadow);
  backdrop-filter: blur(14px);
}

.hero-visual {
  background:
    linear-gradient(180deg, rgba(12, 16, 42, 0.18), rgba(12, 16, 42, 0.76)),
    var(--lcgn-bg-2);
}

.hero-visual::after {
  z-index: 0;
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 44%, rgba(12, 16, 42, 0.92));
  content: "";
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 380px;
  padding: 54px 52px 92px;
  object-fit: contain;
}

.hero-visual img,
.game-image img,
.confirm-image img,
.table-game-cell img {
  filter: saturate(1.06) contrast(1.04);
}

.signal-card {
  z-index: 1;
  border-color: rgba(163, 255, 0, 0.35);
  border-radius: var(--lcgn-radius);
  background: rgba(12, 16, 42, 0.76);
  color: #ffffff;
}

.signal-card svg,
.stats-strip svg,
.notice-panel svg,
.vote-count svg,
.leaderboard .section-head svg,
.phone-gate-card > svg {
  color: var(--lcgn-lime);
}

.stats-strip > div,
.notice-panel,
.leaderboard {
  color: #ffffff;
}

.stats-strip strong,
.admin-stat strong,
.vote-count,
.status-open {
  color: var(--lcgn-lime);
}

.notice-panel {
  background:
    linear-gradient(135deg, rgba(31, 78, 233, 0.22), rgba(163, 255, 0, 0.08)),
    var(--lcgn-panel);
}

.lobby-layout {
  gap: 24px;
}

.games-section {
  color: #ffffff;
}

.section-head h2,
.admin-panel-head h2,
.admin-topbar h1,
.confirm-body h2,
.admin-login-card h1 {
  color: #ffffff;
  font-weight: 800;
}

.search-box,
.admin-form input,
.admin-form textarea,
.admin-form select,
.admin-login-card input,
.admin-table-tools input {
  border: 1px solid var(--lcgn-border);
  border-radius: var(--lcgn-radius);
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
}

.search-box:focus-within,
.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus,
.admin-login-card input:focus,
.admin-table-tools input:focus {
  border-color: var(--lcgn-lime);
  box-shadow: 0 0 0 3px rgba(163, 255, 0, 0.16);
}

.search-box input,
.admin-table-tools input {
  color: #ffffff;
}

.search-box input::placeholder,
.admin-table-tools input::placeholder,
.admin-form input::placeholder,
.admin-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.category-tabs button.active {
  border-color: var(--lcgn-lime);
  background: var(--lcgn-lime);
  color: var(--lcgn-bg);
  font-weight: 800;
}

.game-grid {
  gap: 18px;
}

.game-card {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--lcgn-radius);
  background: rgba(17, 28, 66, 0.78);
  color: #ffffff;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
}

.game-card h3 {
  color: #ffffff;
  font-weight: 800;
}

.game-card p {
  color: var(--lcgn-muted);
}

.vote-count {
  font-weight: 800;
}

.leader-row {
  border-color: var(--lcgn-border);
  background: rgba(255, 255, 255, 0.055);
}

.leader-row:first-child {
  border-color: rgba(163, 255, 0, 0.38);
  background: rgba(163, 255, 0, 0.1);
}

.rank {
  background: var(--lcgn-lime);
  color: var(--lcgn-bg);
  font-weight: 800;
}

.state-banner {
  border: 1px solid var(--lcgn-border);
  border-radius: var(--lcgn-radius);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  backdrop-filter: blur(10px);
}

.state-banner.success {
  border-color: rgba(163, 255, 0, 0.45);
  background: rgba(163, 255, 0, 0.12);
  color: var(--lcgn-lime);
}

.state-banner.error,
.status-closed {
  color: #ff9b9b;
}

.vote-confirm-shell {
  color: #ffffff;
}

.confirm-card {
  background: rgba(17, 28, 66, 0.76);
}

.confirm-body {
  color: #ffffff;
}

.vote-rules {
  border-color: var(--lcgn-border);
  background: rgba(255, 255, 255, 0.06);
}

.lobby-invite-modal {
  text-align: center;
}

.lobby-invite-modal > svg {
  color: var(--lcgn-lime);
}

.vote-result-card {
  display: grid;
  justify-items: center;
  gap: 12px;
  width: 100%;
  padding: 28px 22px;
  border: 1px solid var(--lcgn-border);
  border-radius: 22px;
  background: rgba(17, 28, 66, 0.82);
  box-shadow: var(--lcgn-shadow);
  text-align: center;
}

.vote-result-card > svg {
  width: 54px;
  height: 54px;
}

.vote-result-card.success > svg {
  color: var(--lcgn-lime);
}

.vote-result-card.error > svg {
  color: #ff9b9b;
}

.vote-result-card span {
  color: #67e8f9;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.vote-result-card h2 {
  margin: 0;
  color: #ffffff;
  font-size: 34px;
  line-height: 1;
}

.vote-result-card p {
  margin: 0;
  color: var(--lcgn-muted);
  line-height: 1.55;
}

.vote-result-card button {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--lcgn-primary);
  border-radius: 999px;
  background: var(--lcgn-primary);
  color: #ffffff;
  font-weight: 800;
}

.admin-login-page {
  place-items: center;
}

.vote-admin {
  background-color: var(--lcgn-bg);
  color: #ffffff;
}

.admin-topbar,
.admin-stats-grid,
.admin-workspace {
  margin-right: auto;
  margin-left: auto;
}

.admin-topbar {
  border: 1px solid var(--lcgn-border);
  border-radius: var(--lcgn-radius);
  background: rgba(17, 28, 66, 0.68);
  box-shadow: var(--lcgn-shadow);
  backdrop-filter: blur(14px);
}

.admin-panel,
.admin-stat,
.admin-login-card {
  color: #ffffff;
}

.admin-form label,
.admin-login-card label,
.upload-row,
.check-row {
  color: rgba(255, 255, 255, 0.86);
}

.admin-table {
  color: #ffffff;
}

.admin-table th {
  color: var(--lcgn-lime);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-table td,
.admin-table th {
  border-color: var(--lcgn-border);
}

.admin-table tr:hover {
  background: rgba(255, 255, 255, 0.055);
}

.table-game-cell strong {
  color: #ffffff;
}

.upload-row {
  border-color: var(--lcgn-border);
  background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 860px) {
  .lobby-hero {
    min-height: 0;
  }

  .hero-copy {
    padding: 22px 0 8px;
  }

  .hero-copy h1 {
    font-size: clamp(40px, 13vw, 62px);
  }

  .hero-visual img {
    min-height: 240px;
    padding: 38px 26px 78px;
  }

  .brand-row {
    font-size: 12px;
    letter-spacing: 2px;
  }

  .stats-strip > div,
  .notice-panel,
  .leaderboard,
  .admin-panel,
  .admin-stat,
  .phone-gate-card,
  .admin-login-card,
  .vote-modal,
  .confirm-card {
    border-radius: 9px;
  }
}

.coming-soon-mode {
  display: grid;
  align-content: start;
  min-height: 100vh;
}

.coming-soon-mode .lobby-hero {
  min-height: min(68vh, 680px);
}

.coming-soon-mode .secondary-action:disabled {
  cursor: default;
  opacity: 1;
}

.coming-soon-panel {
  display: grid;
  gap: 10px;
  width: min(760px, 100%);
  margin: 24px auto 48px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(163, 255, 0, 0.34);
  border-radius: var(--lcgn-radius);
  background:
    linear-gradient(135deg, rgba(31, 78, 233, 0.24), rgba(163, 255, 0, 0.08)),
    rgba(12, 16, 42, 0.9);
  box-shadow: var(--lcgn-shadow);
  text-align: center;
}

.coming-soon-panel > span {
  color: var(--lcgn-lime);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.coming-soon-panel h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1.15;
}

.coming-soon-panel p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--lcgn-muted);
  line-height: 1.7;
}

.preview-back-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 18px;
}

@media (max-width: 860px) {
  .coming-soon-mode .lobby-hero {
    min-height: 0;
  }

  .coming-soon-panel {
    margin-bottom: 24px;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 15% 0%, rgba(34, 211, 238, 0.14), transparent 30rem),
    linear-gradient(180deg, #07111f 0%, #0a1424 52%, #f8fafc 52%, #eef6ff 100%);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
}

.vote-app {
  min-height: 100vh;
  color: #f8fafc;
}

.vote-app button,
.vote-app a {
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    opacity 0.18s ease;
}

.vote-app button:not(:disabled):hover,
.vote-app a:hover {
  transform: translateY(-1px);
}

.vote-app button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.vote-lobby {
  padding: 28px;
}

.lobby-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 28px;
  align-items: stretch;
  max-width: 1240px;
  margin: 0 auto;
  min-height: 430px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 36px 0;
}

.brand-row,
.admin-topbar,
.table-game-cell,
.leader-row,
.hero-actions,
.admin-topbar-actions,
.row-actions,
.vote-count,
.back-link,
.upload-row {
  display: flex;
  align-items: center;
}

.brand-row {
  gap: 12px;
  margin-bottom: 22px;
}

.brand-row strong,
.admin-topbar strong {
  display: block;
  font-size: 15px;
  letter-spacing: 0;
}

.brand-row span,
.admin-topbar span {
  display: block;
  margin-top: 3px;
  color: #9fb6c9;
  font-size: 13px;
}

.event-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(103, 232, 249, 0.35);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(8, 47, 73, 0.92), rgba(14, 165, 233, 0.2));
  color: #67e8f9;
  box-shadow: 0 18px 45px rgba(8, 145, 178, 0.2);
}

.hero-copy h1,
.vote-confirm-top h1,
.phone-gate-card h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 92px);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy p {
  width: min(620px, 100%);
  margin: 24px 0 0;
  color: #c8d8e7;
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.secondary-action,
.ghost-action,
.vote-app button {
  border-radius: 12px;
  min-height: 42px;
  padding: 0 16px;
  cursor: pointer;
  text-decoration: none;
}

.secondary-action,
.admin-primary,
.primary-vote-button,
.admin-login-card button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: linear-gradient(135deg, #22d3ee, #38bdf8);
  color: #02111c;
  font-weight: 800;
  box-shadow: 0 16px 36px rgba(34, 211, 238, 0.24);
}

.ghost-action,
.admin-topbar-actions button,
.admin-panel-head button,
.row-actions button,
.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(148, 163, 184, 0.26);
  background: rgba(15, 23, 42, 0.74);
  color: #e2e8f0;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(103, 232, 249, 0.22);
  border-radius: 18px;
  background: #081525;
  box-shadow: 0 28px 80px rgba(2, 8, 23, 0.42);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  display: block;
}

.signal-card {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: min(330px, calc(100% - 36px));
  padding: 14px 16px;
  border: 1px solid rgba(103, 232, 249, 0.28);
  border-radius: 16px;
  background: rgba(2, 8, 23, 0.82);
  color: #e0faff;
  backdrop-filter: blur(10px);
}

.stats-strip,
.notice-panel,
.lobby-layout {
  width: min(1240px, 100%);
  margin: 22px auto 0;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.stats-strip > div,
.notice-panel,
.leaderboard,
.admin-panel,
.admin-stat,
.confirm-card,
.phone-gate-card,
.admin-login-card {
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.82);
  box-shadow: 0 18px 48px rgba(2, 8, 23, 0.22);
}

.stats-strip > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  padding: 18px;
  min-width: 0;
}

.stats-strip svg,
.notice-panel svg,
.vote-count svg,
.leaderboard .section-head svg {
  color: #67e8f9;
}

.stats-strip span {
  color: #9fb6c9;
  font-size: 13px;
}

.stats-strip strong {
  grid-column: 2;
  font-size: 26px;
}

.status-open {
  color: #86efac !important;
}

.status-closed {
  color: #fca5a5 !important;
}

.notice-panel {
  display: flex;
  gap: 15px;
  padding: 18px;
  background: rgba(8, 47, 73, 0.72);
}

.notice-panel strong {
  display: block;
  margin-bottom: 4px;
}

.notice-panel p,
.section-head p,
.leader-row span,
.game-card p,
.vote-rules,
.admin-panel-head p,
.admin-login-card p,
.phone-gate-card p,
.confirm-body p {
  margin: 0;
  color: #9fb6c9;
  line-height: 1.55;
}

.lobby-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: start;
  gap: 22px;
}

.games-section {
  min-width: 0;
  color: #07111f;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.section-head.compact {
  align-items: center;
}

.section-head h2,
.admin-panel-head h2 {
  margin: 0;
  color: inherit;
  font-size: 24px;
  line-height: 1.1;
}

.toolbar,
.admin-table-tools {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 220px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: 12px;
  background: #ffffff;
  color: #0f172a;
}

.search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #0f172a;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-tabs button {
  min-height: 38px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  background: #ffffff;
  color: #334155;
  font-weight: 700;
}

.category-tabs button.active {
  border-color: #0891b2;
  background: #083344;
  color: #ecfeff;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.game-card {
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 18px;
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.game-image,
.confirm-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #0f172a;
}

.game-image img,
.confirm-image img,
.leader-row img,
.table-game-cell img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-image span,
.confirm-image span,
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.game-image span,
.confirm-image span {
  position: absolute;
  top: 12px;
  left: 12px;
  min-height: 28px;
  padding: 0 10px;
  background: rgba(236, 254, 255, 0.94);
  color: #075985;
}

.game-card-body {
  padding: 16px;
}

.game-card h3,
.confirm-body h2 {
  margin: 0 0 8px;
  color: inherit;
  line-height: 1.18;
}

.game-card strong,
.confirm-body strong {
  display: block;
  color: #0e7490;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.game-card p {
  display: -webkit-box;
  min-height: 66px;
  margin-top: 10px;
  overflow: hidden;
  color: #475569;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.vote-count {
  gap: 8px;
  margin-top: 14px;
  color: #0369a1;
  font-weight: 800;
}

.leaderboard {
  position: sticky;
  top: 16px;
  padding: 18px;
  color: #f8fafc;
}

.leader-list {
  display: grid;
  gap: 10px;
}

.leader-row {
  gap: 10px;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 14px;
  background: rgba(2, 8, 23, 0.36);
}

.leader-row img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
}

.leader-row div {
  min-width: 0;
  flex: 1;
}

.leader-row strong,
.leader-row div span,
.table-game-cell strong,
.table-game-cell span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.leader-row b {
  color: #67e8f9;
}

.rank {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 10px;
  background: #0e7490;
  color: #ecfeff !important;
  font-weight: 900;
}

.empty-state,
.state-banner {
  border-radius: 14px;
  padding: 14px 16px;
}

.empty-state {
  margin-top: 18px;
  background: #ffffff;
  color: #475569;
}

.state-banner {
  border: 1px solid rgba(103, 232, 249, 0.18);
  background: rgba(8, 47, 73, 0.72);
  color: #e0faff;
}

.state-banner.error {
  border-color: rgba(248, 113, 113, 0.3);
  background: rgba(127, 29, 29, 0.22);
  color: #fecaca;
}

.state-banner.success {
  border-color: rgba(134, 239, 172, 0.32);
  background: rgba(20, 83, 45, 0.28);
  color: #bbf7d0;
}

.vote-phone-gate,
.admin-login-page,
.vote-confirm-page {
  display: grid;
  place-items: center;
  padding: 22px;
  background:
    radial-gradient(circle at 50% 0%, rgba(34, 211, 238, 0.14), transparent 22rem),
    #07111f;
  overflow-x: hidden;
}

.phone-gate-card,
.admin-login-card {
  width: min(440px, 100%);
  padding: 28px;
  text-align: center;
}

.phone-gate-card > svg {
  color: #67e8f9;
  font-size: 42px;
}

.vote-gate-logo {
  display: block;
  width: min(280px, 84%);
  height: auto;
  margin: 0 auto 18px;
}

.phone-gate-card h1 {
  margin-top: 16px;
  font-size: 34px;
  line-height: 1.05;
}

.phone-gate-card button {
  margin-top: 20px;
  background: #67e8f9;
  color: #02111c;
  font-weight: 900;
}

.vote-confirm-page {
  align-items: start;
}

.back-link {
  justify-self: start;
  width: auto;
  margin-bottom: 18px;
}

.vote-confirm-shell {
  width: calc(100vw - 44px);
  max-width: 470px;
  min-width: 0;
}

.vote-confirm-top {
  margin-bottom: 16px;
  text-align: center;
}

.vote-confirm-logo {
  display: grid;
  width: min(300px, 82%);
  min-height: 96px;
  margin: 0 auto 14px;
  padding: 12px 16px;
  place-items: center;
  border: 1px solid rgba(103, 232, 249, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

.vote-confirm-logo img {
  display: block;
  width: 100%;
  max-height: 110px;
  object-fit: contain;
}

.vote-confirm-top span {
  display: block;
  color: #67e8f9;
  font-size: 13px;
  font-weight: 800;
}

.vote-confirm-top h1 {
  margin-top: 8px;
  font-size: 42px;
}

.confirm-card {
  overflow: hidden;
  width: 100%;
}

.confirm-body {
  padding: 20px;
}

.confirm-body p {
  margin-top: 12px;
  color: #cbd5e1;
}

.primary-vote-button {
  width: 100%;
  max-width: 100%;
  min-height: 54px;
  margin-top: 18px;
  font-size: 16px;
  white-space: normal;
}

.vote-progress {
  margin-top: 12px;
  color: #67e8f9;
  text-align: center;
}

.vote-rules {
  display: grid;
  gap: 6px;
  margin-top: 16px;
  font-size: 13px;
}

.vote-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(2, 8, 23, 0.78);
  backdrop-filter: blur(8px);
}

.vote-modal {
  width: min(420px, 100%);
  padding: 24px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 18px;
  background: #0f172a;
  text-align: center;
  box-shadow: 0 30px 90px rgba(2, 8, 23, 0.45);
}

.vote-modal > svg {
  font-size: 44px;
}

.vote-modal.success > svg {
  color: #86efac;
}

.vote-modal.error > svg {
  color: #fca5a5;
}

.vote-modal h2 {
  margin: 12px 0 8px;
}

.vote-modal p {
  color: #cbd5e1;
  line-height: 1.55;
}

.vote-modal button {
  margin-top: 10px;
  background: #67e8f9;
  color: #02111c;
  font-weight: 900;
}

.vote-admin {
  padding: 18px;
  background: #eef6ff;
  color: #0f172a;
}

.admin-topbar {
  justify-content: space-between;
  gap: 16px;
  width: min(1440px, 100%);
  margin: 0 auto 16px;
  padding: 14px 16px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 16px;
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
}

.admin-topbar span {
  color: #64748b;
}

.admin-topbar-actions {
  gap: 8px;
  flex-wrap: wrap;
}

.admin-topbar-actions button,
.admin-panel-head button,
.row-actions button {
  min-height: 36px;
  border-color: rgba(15, 23, 42, 0.12);
  background: #f8fafc;
  color: #0f172a;
  font-weight: 700;
}

.admin-stats-grid,
.admin-workspace,
.games-table-panel,
.vote-admin > .state-banner {
  width: min(1440px, 100%);
  margin: 0 auto 16px;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.admin-stat,
.admin-panel,
.admin-login-card {
  background: #ffffff;
  color: #0f172a;
}

.admin-stat {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3px 11px;
  padding: 16px;
}

.admin-stat svg {
  grid-row: span 2;
  color: #0891b2;
  margin-top: 3px;
}

.admin-stat span {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-stat strong {
  font-size: 24px;
}

.admin-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 16px;
  align-items: start;
}

.admin-panel {
  padding: 16px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
}

.admin-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.admin-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-form label,
.admin-login-card label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
}

.admin-form input,
.admin-form select,
.admin-form textarea,
.admin-table-tools select,
.admin-login-card input {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 10px;
  background: #f8fafc;
  color: #0f172a;
  outline: none;
}

.admin-form input,
.admin-form select,
.admin-table-tools select,
.admin-login-card input {
  height: 40px;
  padding: 0 11px;
}

.admin-form textarea {
  min-height: 92px;
  padding: 10px 11px;
  resize: vertical;
}

.span-2 {
  grid-column: span 2;
}

.check-row {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 10px !important;
  min-height: 40px;
}

.check-row input {
  width: 18px;
  height: 18px;
}

.upload-row {
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border: 1px dashed rgba(8, 145, 178, 0.38);
  border-radius: 12px;
  color: #075985 !important;
  cursor: pointer;
}

.upload-row input {
  display: none;
}

.admin-primary {
  min-height: 42px;
}

.danger-lite {
  color: #991b1b !important;
}

.admin-table-tools {
  min-width: min(520px, 100%);
  margin-bottom: 0;
}

.admin-table-tools .search-box {
  border-color: rgba(15, 23, 42, 0.14);
  background: #f8fafc;
}

.admin-table-wrap {
  overflow: auto;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 14px;
}

.admin-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  font-size: 14px;
}

.admin-table th,
.admin-table td {
  padding: 11px 12px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  text-align: left;
  vertical-align: middle;
}

.admin-table th {
  background: #f8fafc;
  color: #475569;
  font-size: 12px;
  text-transform: uppercase;
}

.table-game-cell {
  gap: 10px;
  min-width: 0;
  max-width: 360px;
}

.table-game-cell img {
  flex: 0 0 auto;
  width: 58px;
  height: 38px;
  border-radius: 8px;
  background: #0f172a;
}

.table-game-cell div {
  min-width: 0;
}

.table-game-cell span {
  color: #64748b;
  font-size: 12px;
}

.pill {
  min-height: 24px;
  padding: 0 9px;
}

.pill.active {
  background: #dcfce7;
  color: #166534;
}

.pill.archived {
  background: #fee2e2;
  color: #991b1b;
}

.row-actions {
  gap: 7px;
}

.row-actions button {
  width: 36px;
  padding: 0;
}

.admin-login-page {
  background:
    radial-gradient(circle at 50% -20%, rgba(34, 211, 238, 0.18), transparent 24rem),
    #07111f;
}

.admin-login-card {
  display: grid;
  gap: 14px;
  text-align: left;
}

.admin-login-card .event-mark {
  margin: 0 auto;
}

.admin-login-card h1 {
  margin: 0;
  text-align: center;
}

.admin-login-card p {
  text-align: center;
  color: #64748b;
}

.admin-login-card button {
  width: 100%;
}

@media (max-width: 1040px) {
  .lobby-hero,
  .lobby-layout,
  .admin-workspace {
    grid-template-columns: 1fr;
  }

  .leaderboard {
    position: static;
  }

  .admin-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body {
    background:
      radial-gradient(circle at 50% 0%, rgba(34, 211, 238, 0.12), transparent 18rem),
      linear-gradient(180deg, #07111f 0%, #0a1424 44%, #eef6ff 44%, #eef6ff 100%);
  }

  .vote-lobby,
  .vote-admin {
    padding: 14px;
  }

  .lobby-hero {
    gap: 16px;
    min-height: auto;
  }

  .hero-copy {
    padding: 12px 0 0;
  }

  .hero-copy h1 {
    font-size: 52px;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .hero-visual img {
    min-height: 240px;
  }

  .signal-card {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }

  .stats-strip,
  .game-grid,
  .admin-stats-grid,
  .admin-form {
    grid-template-columns: 1fr;
  }

  .span-2 {
    grid-column: auto;
  }

  .toolbar,
  .admin-table-tools,
  .admin-topbar {
    align-items: stretch;
    flex-direction: column;
  }

  .search-box {
    width: 100%;
    min-width: 0;
  }

  .category-tabs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .category-tabs button {
    min-width: 0;
    padding: 0 8px;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .admin-panel-head.table-head {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-topbar-actions {
    width: 100%;
  }

  .admin-topbar-actions button {
    flex: 1;
  }

  .vote-confirm-page {
    padding: 14px;
  }

  .vote-confirm-shell {
    width: calc(100vw - 28px);
    max-width: 362px;
  }
}

@media (max-width: 430px) {
  .category-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-copy h1 {
    font-size: 44px;
  }

  .vote-confirm-top h1 {
    font-size: 36px;
  }

  .confirm-body,
  .phone-gate-card,
  .admin-login-card {
    padding: 18px;
  }
}

/* Final Clevio theme override. Kept last so legacy responsive rules cannot win. */
:root {
  --lcgn-bg: #0c102a;
  --lcgn-bg-2: #111c42;
  --lcgn-primary: #1f4ee9;
  --lcgn-lime: #a3ff00;
  --lcgn-text: #ffffff;
  --lcgn-muted: rgba(255, 255, 255, 0.75);
  --lcgn-panel: rgba(17, 28, 66, 0.72);
  --lcgn-border: rgba(255, 255, 255, 0.16);
  --lcgn-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
  --lcgn-radius: 10px;
}

html,
body {
  overflow-x: hidden;
  background: var(--lcgn-bg);
}

body {
  background:
    radial-gradient(circle at 12% 8%, rgba(31, 78, 233, 0.34), transparent 24rem),
    radial-gradient(circle at 84% 4%, rgba(163, 255, 0, 0.16), transparent 20rem),
    linear-gradient(180deg, #0c102a 0%, #111c42 46%, #0c102a 100%);
  color: var(--lcgn-text);
  font-family: Manrope, Helvetica, Arial, sans-serif;
  font-weight: 500;
}

button,
input,
select,
textarea {
  font-family: Manrope, Helvetica, Arial, sans-serif;
}

.vote-app {
  color: var(--lcgn-text);
}

.vote-lobby,
.vote-confirm-page,
.admin-login-page,
.vote-admin {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 10% 10%, rgba(31, 78, 233, 0.22), transparent 26rem),
    radial-gradient(circle at 92% 4%, rgba(163, 255, 0, 0.13), transparent 22rem),
    var(--lcgn-bg);
  background-size: 72px 72px, 72px 72px, auto, auto, auto;
}

.vote-lobby {
  padding: clamp(18px, 3vw, 34px);
}

.lobby-hero,
.lobby-layout,
.admin-topbar,
.admin-stats-grid,
.admin-workspace {
  max-width: 1240px;
}

.lobby-hero {
  min-height: 470px;
  align-items: center;
  gap: clamp(22px, 4vw, 46px);
}

.hero-copy {
  padding: 44px 0;
}

.brand-row {
  align-items: center;
  color: var(--lcgn-muted);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.event-mark {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(163, 255, 0, 0.42);
  border-radius: var(--lcgn-radius);
  background:
    linear-gradient(145deg, rgba(163, 255, 0, 0.2), rgba(31, 78, 233, 0.22)),
    rgba(12, 16, 42, 0.86);
  color: var(--lcgn-lime);
  box-shadow: 0 18px 45px rgba(31, 78, 233, 0.24);
}

.hero-copy h1,
.vote-confirm-top h1,
.phone-gate-card h1 {
  max-width: 760px;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-copy h1 {
  font-size: clamp(46px, 7.3vw, 96px);
  line-height: 0.95;
}

.hero-copy p,
.notice-panel p,
.section-head p,
.leader-row div span,
.game-card p,
.vote-rules,
.admin-panel-head p,
.admin-login-card p,
.phone-gate-card p,
.confirm-body p {
  color: var(--lcgn-muted);
}

.hero-copy p {
  max-width: 620px;
  font-size: 18px;
  line-height: 1.75;
}

.secondary-action,
.admin-primary,
.primary-vote-button,
.admin-login-card button[type="submit"],
.phone-gate-card button,
.vote-modal button {
  min-height: 46px;
  border: 1px solid var(--lcgn-primary);
  border-radius: 999px;
  background: var(--lcgn-primary);
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: 0 16px 44px rgba(31, 78, 233, 0.38);
}

.secondary-action:hover,
.admin-primary:hover,
.primary-vote-button:hover,
.admin-login-card button[type="submit"]:hover,
.phone-gate-card button:hover,
.vote-modal button:hover {
  border-color: var(--lcgn-lime);
  background: var(--lcgn-lime);
  color: var(--lcgn-bg) !important;
  text-shadow: none;
}

.ghost-action,
.back-link,
.category-tabs button,
.row-actions button,
.admin-topbar-actions button {
  border: 1px solid var(--lcgn-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
}

.ghost-action:hover,
.back-link:hover,
.category-tabs button:hover,
.row-actions button:hover,
.admin-topbar-actions button:hover {
  border-color: rgba(163, 255, 0, 0.7);
  color: var(--lcgn-lime);
}

.hero-visual,
.stats-strip > div,
.notice-panel,
.leaderboard,
.admin-panel,
.admin-stat,
.phone-gate-card,
.admin-login-card,
.vote-modal,
.confirm-card {
  border: 1px solid var(--lcgn-border);
  border-radius: var(--lcgn-radius);
  background: var(--lcgn-panel);
  box-shadow: var(--lcgn-shadow);
  backdrop-filter: blur(14px);
}

.hero-visual {
  background:
    linear-gradient(145deg, rgba(31, 78, 233, 0.18), rgba(12, 16, 42, 0.92)),
    var(--lcgn-bg-2);
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 44%, rgba(12, 16, 42, 0.9));
  content: "";
}

.signal-card {
  z-index: 1;
  border-color: rgba(163, 255, 0, 0.35);
  border-radius: var(--lcgn-radius);
  background: rgba(12, 16, 42, 0.76);
  color: #ffffff;
}

.signal-card svg,
.stats-strip svg,
.notice-panel svg,
.vote-count svg,
.leaderboard .section-head svg,
.phone-gate-card > svg {
  color: var(--lcgn-lime);
}

.stats-strip > div,
.notice-panel,
.leaderboard,
.games-section,
.admin-panel,
.admin-stat,
.admin-login-card,
.confirm-body,
.vote-confirm-shell {
  color: #ffffff;
}

.stats-strip strong,
.admin-stat strong,
.vote-count,
.status-open {
  color: var(--lcgn-lime);
}

.notice-panel {
  background:
    linear-gradient(135deg, rgba(31, 78, 233, 0.22), rgba(163, 255, 0, 0.08)),
    var(--lcgn-panel);
}

.section-head h2,
.admin-panel-head h2,
.admin-topbar h1,
.confirm-body h2,
.admin-login-card h1 {
  color: #ffffff;
  font-weight: 800;
}

.search-box,
.admin-form input,
.admin-form textarea,
.admin-form select,
.admin-login-card input,
.admin-table-tools input {
  border: 1px solid var(--lcgn-border);
  border-radius: var(--lcgn-radius);
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
}

.search-box:focus-within,
.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus,
.admin-login-card input:focus,
.admin-table-tools input:focus {
  border-color: var(--lcgn-lime);
  box-shadow: 0 0 0 3px rgba(163, 255, 0, 0.16);
}

.search-box input,
.admin-table-tools input {
  color: #ffffff;
}

.search-box input::placeholder,
.admin-table-tools input::placeholder,
.admin-form input::placeholder,
.admin-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.category-tabs button.active {
  border-color: var(--lcgn-lime);
  background: var(--lcgn-lime);
  color: var(--lcgn-bg);
  font-weight: 800;
}

.game-card {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--lcgn-radius);
  background: rgba(255, 255, 255, 0.96);
  color: #111c42;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.game-card h3 {
  color: #0c102a;
  font-weight: 800;
}

.game-card p {
  color: rgba(12, 16, 42, 0.68);
}

.game-card .vote-count {
  width: max-content;
  max-width: 100%;
  min-height: 34px;
  gap: 7px;
  margin-top: 16px;
  padding: 7px 11px 7px 9px;
  border: 1px solid rgba(103, 232, 249, 0.28);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(9, 20, 48, 0.95), rgba(20, 45, 99, 0.86)),
    rgba(12, 16, 42, 0.9);
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 10px 22px rgba(0, 0, 0, 0.2);
  font-weight: 800;
  line-height: 1;
}

.game-card .vote-count svg {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 226, 74, 0.13);
  color: #ffe24a;
  filter: drop-shadow(0 0 8px rgba(255, 226, 74, 0.45));
}

.vote-count-number {
  color: #ffffff;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  font-weight: 900;
}

.vote-count-label {
  color: rgba(220, 238, 255, 0.72);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.leader-row {
  border-color: var(--lcgn-border);
  background: rgba(255, 255, 255, 0.055);
}

.leader-row:first-child {
  border-color: rgba(163, 255, 0, 0.38);
  background: rgba(163, 255, 0, 0.1);
}

.rank {
  background: var(--lcgn-lime);
  color: var(--lcgn-bg);
  font-weight: 800;
}

.leader-row .rank {
  display: inline-grid;
  place-items: center;
  flex: 0 0 32px;
  width: 32px;
  min-width: 32px;
  height: 32px;
  border-radius: 999px;
  color: #07111f !important;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  overflow: visible;
  text-align: center;
  text-overflow: clip;
  white-space: normal;
}

.state-banner {
  border: 1px solid var(--lcgn-border);
  border-radius: var(--lcgn-radius);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  backdrop-filter: blur(10px);
}

.state-banner.success {
  border-color: rgba(163, 255, 0, 0.45);
  background: rgba(163, 255, 0, 0.12);
  color: var(--lcgn-lime);
}

.state-banner.error,
.status-closed {
  color: #ff9b9b;
}

.confirm-card {
  background: rgba(17, 28, 66, 0.76);
}

.vote-rules {
  border-color: var(--lcgn-border);
  background: rgba(255, 255, 255, 0.06);
}

.admin-login-page {
  place-items: center;
}

.vote-admin {
  background-color: var(--lcgn-bg);
}

.admin-topbar,
.admin-stats-grid,
.admin-workspace {
  margin-right: auto;
  margin-left: auto;
}

.admin-topbar {
  border: 1px solid var(--lcgn-border);
  border-radius: var(--lcgn-radius);
  background: rgba(17, 28, 66, 0.68);
  box-shadow: var(--lcgn-shadow);
  backdrop-filter: blur(14px);
}

.admin-form label,
.admin-login-card label,
.upload-row,
.check-row {
  color: rgba(255, 255, 255, 0.86);
}

.admin-table {
  color: #ffffff;
}

.admin-table th {
  color: var(--lcgn-lime);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-table td,
.admin-table th {
  border-color: var(--lcgn-border);
}

.admin-table tr:hover {
  background: rgba(255, 255, 255, 0.055);
}

.table-game-cell strong {
  color: #ffffff;
}

.upload-row {
  border-color: var(--lcgn-border);
  background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 860px) {
  .lobby-hero {
    min-height: 0;
  }

  .hero-copy {
    padding: 22px 0 8px;
  }

  .hero-copy h1 {
    font-size: clamp(40px, 13vw, 62px);
  }

  .brand-row {
    font-size: 12px;
    letter-spacing: 2px;
  }

  .hero-visual,
  .stats-strip > div,
  .notice-panel,
  .leaderboard,
  .admin-panel,
  .admin-stat,
  .phone-gate-card,
  .admin-login-card,
  .vote-modal,
  .confirm-card {
    border-radius: 9px;
  }
}

.hero-visual {
  background:
    linear-gradient(180deg, rgba(12, 16, 42, 0.18), rgba(12, 16, 42, 0.76)),
    var(--lcgn-bg-2);
}

.hero-logo-panel {
  display: grid;
  min-height: 430px;
  place-items: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(103, 232, 249, 0.16), transparent 20rem),
    linear-gradient(145deg, rgba(31, 78, 233, 0.18), rgba(12, 16, 42, 0.96)),
    var(--lcgn-bg-2) !important;
}

.hero-visual::after {
  z-index: 0;
  background: linear-gradient(180deg, transparent 44%, rgba(12, 16, 42, 0.92));
}

.hero-logo-panel::after {
  display: none;
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 380px;
  padding: 54px 52px 92px;
  object-fit: contain;
}

.hero-logo-panel img {
  width: min(92%, 760px);
  height: auto;
  min-height: 0;
  padding: 36px;
  object-fit: contain;
}

.game-card {
  background: rgba(17, 28, 66, 0.78);
  color: #ffffff;
  backdrop-filter: blur(14px);
}

.game-card h3 {
  color: #ffffff;
}

.game-card p {
  color: var(--lcgn-muted);
}

@media (max-width: 860px) {
  .hero-visual img {
    min-height: 240px;
    padding: 38px 26px 78px;
  }
}

/* Admin QR and readability polish */
.admin-qr-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(4, 7, 22, 0.78);
  backdrop-filter: blur(12px);
}

.admin-qr-modal {
  width: min(460px, 100%);
  overflow: hidden;
  border: 1px solid rgba(163, 255, 0, 0.34);
  border-radius: var(--lcgn-radius);
  background: rgba(17, 28, 66, 0.96);
  color: #ffffff;
  box-shadow: var(--lcgn-shadow);
}

.admin-qr-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 20px 0;
}

.admin-qr-head span {
  color: var(--lcgn-lime);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.admin-qr-head h2 {
  margin: 6px 0 4px;
  color: #ffffff;
  font-size: 24px;
  line-height: 1.1;
}

.admin-qr-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.admin-qr-head button,
.admin-qr-actions button,
.admin-qr-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  border: 1px solid var(--lcgn-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.admin-qr-actions a {
  border-color: var(--lcgn-primary);
  background: var(--lcgn-primary);
}

.admin-qr-head button:hover,
.admin-qr-actions button:hover,
.admin-qr-actions a:hover {
  border-color: var(--lcgn-lime);
  background: var(--lcgn-lime);
  color: var(--lcgn-bg);
}

.admin-qr-body {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.admin-qr-body img {
  width: min(280px, 100%);
  margin: 0 auto;
  border: 10px solid #ffffff;
  border-radius: 12px;
  background: #ffffff;
}

.admin-qr-link {
  overflow-wrap: anywhere;
  border: 1px solid var(--lcgn-border);
  border-radius: var(--lcgn-radius);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  padding: 12px;
  font-size: 13px;
  line-height: 1.5;
}

.admin-qr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-table {
  color: rgba(255, 255, 255, 0.92);
}

.admin-table th {
  color: var(--lcgn-lime);
}

.admin-table td {
  color: rgba(255, 255, 255, 0.86);
}

.table-game-cell span,
.admin-panel-head p,
.admin-topbar span {
  color: rgba(255, 255, 255, 0.74);
}

.admin-topbar strong {
  color: #ffffff;
}

.admin-table th {
  background: rgba(163, 255, 0, 0.11) !important;
  color: var(--lcgn-lime) !important;
}

.admin-table-tools .search-box,
.admin-table-tools select {
  border-color: var(--lcgn-border) !important;
  background: rgba(255, 255, 255, 0.07) !important;
  color: #ffffff !important;
}

.admin-table-tools input {
  color: #ffffff !important;
}

.admin-table-tools .search-box input {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.admin-table-tools .search-box input::placeholder,
.search-box input::placeholder,
.admin-form input::placeholder,
.admin-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.68) !important;
}

.upload-row,
.upload-row input {
  color: #ffffff !important;
}

.upload-row {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

.upload-row * {
  color: inherit !important;
}

.upload-row svg {
  color: var(--lcgn-lime) !important;
}

.admin-map-field {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--lcgn-border);
  border-radius: var(--lcgn-radius);
  background: rgba(255, 255, 255, 0.055);
}

.admin-map-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-map-head span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-map-head strong {
  display: block;
  margin-top: 2px;
  color: #ffffff;
  font-size: 14px;
}

.admin-map-head button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(163, 255, 0, 0.34);
  border-radius: 999px;
  background: rgba(163, 255, 0, 0.1);
  color: var(--lcgn-lime);
  font-weight: 900;
  white-space: nowrap;
}

.admin-map-picker {
  overflow: hidden;
  height: 320px;
  min-height: 280px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: #10223b;
}

.admin-map-picker .leaflet-tile {
  filter: saturate(0.72) brightness(0.78) contrast(1.08);
}

.admin-map-picker .leaflet-control-attribution {
  background: rgba(12, 16, 42, 0.74);
  color: rgba(255, 255, 255, 0.72);
}

.admin-map-picker .leaflet-control-attribution a {
  color: #67e8f9;
}

.admin-map-picker .leaflet-control-zoom a {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(12, 16, 42, 0.88);
  color: #ffffff;
}

.admin-map-pin {
  background: transparent;
  border: 0;
}

.admin-map-pin span {
  position: relative;
  display: block;
  width: 28px;
  height: 28px;
  border: 4px solid #07111f;
  border-radius: 999px 999px 999px 0;
  background: var(--lcgn-lime);
  box-shadow: 0 12px 28px rgba(2, 8, 23, 0.38);
  transform: rotate(-45deg);
}

.admin-map-pin span::after {
  position: absolute;
  inset: 7px;
  border-radius: 999px;
  background: #07111f;
  content: "";
}

.admin-map-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-map-meta span {
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 800;
}

.row-actions {
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 6px;
}

.row-actions button {
  position: relative;
  width: 36px;
  min-width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 0;
  border-radius: 10px;
  color: #ffffff;
}

.row-actions button span {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  white-space: nowrap;
}

.danger-lite {
  white-space: nowrap;
}

@media (max-width: 700px) {
  .admin-table-wrap {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .admin-table {
    display: block;
    min-width: 0;
    width: 100%;
  }

  .admin-table thead {
    display: none;
  }

  .admin-table tbody {
    display: grid;
    gap: 12px;
  }

  .admin-table tr {
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--lcgn-border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.045);
  }

  .admin-table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
    padding: 0;
    border-bottom: 0;
    text-align: right;
  }

  .admin-table td::before {
    content: attr(data-label);
    flex: 0 0 92px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0;
    text-align: left;
    text-transform: uppercase;
  }

  .admin-table td:first-child {
    display: block;
    text-align: left;
  }

  .admin-table td:first-child::before {
    display: none;
  }

  .admin-table .actions-cell {
    display: block;
    text-align: left;
  }

  .admin-table .actions-cell::before {
    display: block;
    margin-bottom: 8px;
  }

  .table-game-cell {
    max-width: none;
    width: 100%;
  }

  .table-game-cell strong,
  .table-game-cell span {
    overflow-wrap: anywhere;
  }

  .row-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
  }

  .row-actions button {
    width: 100%;
    min-width: 0;
    justify-content: center;
    border-radius: 10px;
  }

  .admin-map-head {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-map-head button {
    width: 100%;
  }

  .admin-map-picker {
    height: 260px;
    min-height: 240px;
  }
}

@media (max-width: 640px) {
  .admin-qr-head {
    flex-direction: column;
  }

  .admin-qr-head button,
  .admin-qr-actions button,
  .admin-qr-actions a {
    width: 100%;
  }
}

/* Vote QR page logo polish */
.vote-confirm-page {
  justify-items: center;
  padding-right: 18px;
  padding-left: 18px;
}

.vote-confirm-shell {
  justify-self: center;
  width: min(100%, 430px);
  max-width: calc(100vw - 48px);
}

.vote-confirm-top h1 {
  max-width: min(100%, 310px);
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(28px, 7.2vw, 32px);
  line-height: 1.02;
  overflow-wrap: break-word;
  text-wrap: balance;
}

@media (max-width: 430px) {
  .vote-confirm-logo {
    width: min(286px, 86%);
    min-height: 86px;
    padding: 10px 14px;
  }

  .vote-confirm-top h1 {
    max-width: 284px;
    font-size: clamp(27px, 7.4vw, 30px);
  }
}

@media (max-width: 640px) {
  .vote-confirm-shell {
    width: min(100%, 330px);
    max-width: 330px;
  }
}

.vote-confirm-logo {
  width: min(330px, 94%);
  min-height: 0;
  margin-bottom: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.vote-confirm-logo img {
  max-height: 128px;
  filter: drop-shadow(0 20px 34px rgba(0, 0, 0, 0.38));
}

.vote-gate-logo {
  width: min(320px, 92%);
  filter: drop-shadow(0 20px 34px rgba(0, 0, 0, 0.38));
}

@media (max-width: 430px) {
  .vote-confirm-logo {
    width: min(318px, 96%);
    padding: 0;
  }

  .vote-confirm-logo img {
    max-height: 118px;
  }
}

/* Main lobby logo should read as the event mark, not as a card. */
.hero-logo-panel {
  min-height: clamp(260px, 37vw, 500px);
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.hero-logo-panel::after {
  display: none !important;
}

.hero-logo-panel img {
  width: min(112%, 920px);
  max-width: none;
  min-height: 0;
  padding: 0;
  filter: drop-shadow(0 30px 54px rgba(0, 0, 0, 0.42));
}

@media (max-width: 860px) {
  .hero-logo-panel {
    min-height: 230px;
  }

  .hero-logo-panel img {
    width: min(118%, 560px);
    padding: 0;
  }
}

@keyframes lcgn-ambient-grid {
  0% {
    background-position:
      0 0,
      0 0,
      0% 0%,
      100% 0%,
      0 0;
  }
  50% {
    background-position:
      0 0,
      0 0,
      8% 5%,
      88% 8%,
      0 0;
  }
  100% {
    background-position:
      0 0,
      0 0,
      0% 0%,
      100% 0%,
      0 0;
  }
}

@keyframes lcgn-ambient-soft {
  0% {
    background-position:
      50% 0%,
      0 0;
  }
  50% {
    background-position:
      58% 6%,
      0 0;
  }
  100% {
    background-position:
      50% 0%,
      0 0;
  }
}

.vote-lobby,
.vote-confirm-page,
.admin-login-page,
.vote-admin {
  animation: lcgn-ambient-grid 34s ease-in-out infinite;
  will-change: background-position;
}

.vote-phone-gate {
  animation: lcgn-ambient-soft 32s ease-in-out infinite;
  will-change: background-position;
}

@media (prefers-reduced-motion: reduce) {
  .vote-lobby,
  .vote-confirm-page,
  .admin-login-page,
  .vote-admin,
  .vote-phone-gate {
    animation: none;
    will-change: auto;
  }
}

@keyframes lcgn-ambient-drift {
  0% {
    opacity: 0.7;
    background-position: 4% 0%, 96% 8%, 50% 100%;
  }
  25% {
    opacity: 0.86;
    background-position: 10% 18%, 88% 0%, 56% 82%;
  }
  50% {
    opacity: 0.9;
    background-position: 0% 34%, 100% 22%, 44% 68%;
  }
  75% {
    opacity: 0.82;
    background-position: 8% 14%, 90% 30%, 52% 92%;
  }
  100% {
    opacity: 0.7;
    background-position: 4% 0%, 96% 8%, 50% 100%;
  }
}

.vote-lobby,
.vote-confirm-page,
.admin-login-page,
.vote-admin,
.vote-phone-gate {
  position: relative;
  isolation: isolate;
}

.vote-lobby::before,
.vote-confirm-page::before,
.admin-login-page::before,
.vote-admin::before,
.vote-phone-gate::before {
  position: fixed;
  inset: -18%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 18%, rgba(31, 78, 233, 0.34), transparent 28rem),
    radial-gradient(circle at 78% 12%, rgba(163, 255, 0, 0.18), transparent 24rem),
    radial-gradient(circle at 48% 78%, rgba(103, 232, 249, 0.16), transparent 26rem);
  background-position: 4% 0%, 96% 8%, 50% 100%;
  background-repeat: no-repeat;
  background-size: 130% 130%, 118% 118%, 140% 140%;
  content: "";
  filter: blur(1px);
  mix-blend-mode: screen;
  animation: lcgn-ambient-drift 12s ease-in-out infinite;
  will-change: background-position, opacity;
}

.vote-lobby > *,
.vote-confirm-page > *,
.admin-login-page > *,
.vote-admin > *,
.vote-phone-gate > * {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .vote-lobby::before,
  .vote-confirm-page::before,
  .admin-login-page::before,
  .vote-admin::before,
  .vote-phone-gate::before {
    animation: none;
    opacity: 0.54;
    transform: none;
    will-change: auto;
  }
}

.print-qr-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  border: 1px solid rgba(163, 255, 0, 0.52);
  border-radius: 999px;
  background: rgba(163, 255, 0, 0.13);
  color: #ffffff;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.print-qr-button:hover {
  background: var(--lcgn-lime);
  color: var(--lcgn-bg);
}

.print-qr-button:disabled {
  cursor: not-allowed;
  opacity: 0.56;
}

.print-qr-sheet {
  display: none;
}

@media (max-width: 700px) {
  .print-qr-button {
    width: 100%;
  }
}

@media print {
  @page {
    size: A4 portrait;
    margin: 10mm;
  }

  html,
  body {
    width: 210mm;
    min-height: 297mm;
    background: #ffffff !important;
  }

  body * {
    visibility: hidden !important;
  }

  .vote-admin {
    display: block !important;
    min-height: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
  }

  .vote-admin::before {
    display: none !important;
  }

  .print-qr-sheet,
  .print-qr-sheet * {
    visibility: visible !important;
  }

  .print-qr-sheet {
    position: absolute;
    top: 0;
    left: 0;
    display: block !important;
    width: 190mm;
    color: #0f172a;
    font-family: Arial, sans-serif;
  }

  .print-qr-page {
    display: grid;
    width: 190mm;
    height: 277mm;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: 5mm;
    page-break-after: always;
    break-after: page;
  }

  .print-qr-page:last-child {
    page-break-after: auto;
    break-after: auto;
  }

  .print-qr-card {
    display: grid;
    height: 89mm;
    min-height: 89mm;
    max-height: 89mm;
    align-content: space-between;
    gap: 2mm;
    overflow: hidden;
    break-inside: avoid;
    border: 0.35mm solid #cbd5e1;
    border-radius: 3mm;
    background: #ffffff;
    padding: 3.5mm;
  }

  .print-qr-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4mm;
    color: #475569;
    font-size: 7.5pt;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .print-qr-card-head strong {
    display: inline-grid;
    width: 8mm;
    height: 8mm;
    place-items: center;
    border-radius: 999px;
    background: #a3ff00;
    color: #07111f;
    font-size: 8pt;
    letter-spacing: 0;
  }

  .print-qr-card img {
    width: 37mm;
    height: 37mm;
    margin: 0 auto;
    border: 1mm solid #ffffff;
    object-fit: contain;
  }

  .print-qr-copy {
    display: grid;
    gap: 0.75mm;
    text-align: center;
  }

  .print-qr-label {
    color: #64748b;
    font-size: 5.5pt;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
  }

  .print-qr-copy h3 {
    margin: 0;
    overflow-wrap: anywhere;
    color: #0f172a;
    font-size: 10.5pt;
    line-height: 1.08;
  }

  .print-qr-copy p {
    margin: 0;
    overflow-wrap: anywhere;
    color: #334155;
    font-size: 7.6pt;
    font-weight: 700;
    line-height: 1.12;
  }

  .print-qr-copy small {
    display: block;
    overflow-wrap: anywhere;
    color: #64748b;
    font-size: 5.3pt;
    line-height: 1.14;
  }
}

/* FTC 2026 neon festival redesign */
* {
  box-sizing: border-box;
}

:root {
  --ftc-navy: #061d6b;
  --ftc-blue: #064be8;
  --ftc-blue-2: #0199ff;
  --ftc-violet: #6b24d9;
  --ftc-magenta: #d84dff;
  --ftc-yellow: #ffd928;
  --ftc-orange: #ff8717;
  --ftc-white: #ffffff;
  --ftc-ink: #07112f;
  --ftc-panel: rgba(5, 27, 111, 0.86);
  --ftc-panel-2: rgba(28, 17, 116, 0.9);
  --ftc-line: rgba(105, 210, 255, 0.74);
  --ftc-radius: 8px;
  --ftc-shadow: 0 22px 60px rgba(0, 19, 93, 0.48);
}

html,
body,
#root {
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, #0b74e8 0%, #0736a0 28%, #06145b 72%, #030b31 100%);
  background-size: 54px 54px, 54px 54px, auto;
}

.vote-app {
  width: 100%;
  min-width: 0;
  overflow-x: clip;
}

.vote-lobby,
.vote-confirm-page,
.vote-phone-gate {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(10, 122, 245, 0.94) 0%, rgba(7, 45, 151, 0.95) 30%, #071562 70%, #02092d 100%);
  background-size: 54px 54px, 54px 54px, auto;
}

.vote-lobby::before,
.vote-confirm-page::before,
.vote-phone-gate::before {
  z-index: -1;
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 217, 40, 0.18), transparent 16%, transparent 84%, rgba(216, 77, 255, 0.2)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 18%, transparent 80%, rgba(0, 0, 0, 0.42));
  content: "";
}

.vote-lobby {
  padding: 22px;
}

.lobby-hero,
.festival-info-panels,
.festival-info-link,
.stats-strip,
.notice-panel,
.lobby-layout {
  width: min(100%, 1240px);
  margin-right: auto;
  margin-left: auto;
}

.lobby-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  min-height: 0;
  gap: 48px;
  align-items: stretch;
  padding: 0;
}

.hero-copy,
.hero-visual {
  min-width: 0;
}

.hero-copy {
  display: grid;
  align-content: center;
  justify-items: start;
  min-height: 620px;
  padding: 46px 0;
}

.brand-row {
  gap: 11px;
  margin-bottom: 12px;
  color: var(--ftc-white);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.42);
}

.brand-row span {
  color: rgba(255, 255, 255, 0.68);
}

.event-mark {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 217, 40, 0.72);
  border-radius: var(--ftc-radius);
  background: rgba(3, 23, 102, 0.62);
  color: var(--ftc-yellow);
  box-shadow: 0 0 18px rgba(255, 217, 40, 0.24);
}

.festival-title {
  display: grid;
  width: 100%;
  max-width: 780px;
  margin: 0;
  color: var(--ftc-white);
  font-family: Impact, Haettenschweiler, "Arial Black", Manrope, sans-serif;
  font-size: 5.6rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.86;
  text-transform: uppercase;
  text-shadow:
    0 4px 0 #153481,
    0 8px 0 #040b30,
    0 0 20px rgba(0, 153, 255, 0.92);
}

.festival-title span {
  display: block;
  width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
}

.festival-title span:nth-child(1) {
  font-size: 0.66em;
}

.festival-title span:nth-child(2) {
  color: var(--ftc-yellow);
  text-shadow:
    0 4px 0 #c33a17,
    0 8px 0 #07112f,
    0 0 22px rgba(255, 217, 40, 0.58);
}

.festival-title em {
  color: var(--ftc-yellow);
  font-style: normal;
  text-shadow:
    0 4px 0 #c33a17,
    0 8px 0 #07112f,
    0 0 22px rgba(255, 217, 40, 0.58);
}

.festival-title-logo {
  width: min(100%, 620px);
  max-width: none;
  filter: drop-shadow(0 12px 18px rgba(0, 8, 61, 0.48));
  text-shadow: none;
}

.festival-title-logo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.theme-ribbon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 18px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: linear-gradient(180deg, #5d41ff 0%, #1d1a9c 100%);
  color: var(--ftc-white);
  padding: 0 30px;
  font-size: 1.4rem;
  font-weight: 900;
  box-shadow: 0 0 20px rgba(105, 210, 255, 0.7), inset 0 0 18px rgba(255, 255, 255, 0.24);
}

.theme-ribbon-asset {
  display: block;
  width: min(100%, 340px);
  height: auto;
  margin-top: 18px;
  filter: drop-shadow(0 0 16px rgba(105, 210, 255, 0.78));
}

.hero-copy p {
  max-width: 560px;
  margin: 12px 0 24px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.55;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.46);
}

.hero-actions {
  display: grid;
  gap: 14px;
  width: min(100%, 480px);
}

.secondary-action,
.primary-vote-button,
.vote-modal button,
.phone-gate-card button {
  min-height: 58px;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  background: linear-gradient(180deg, #126bff 0%, #152aa5 100%);
  color: var(--ftc-white);
  padding: 0 24px;
  font-size: 1.12rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.34);
  box-shadow:
    0 0 0 3px rgba(1, 153, 255, 0.34),
    0 0 24px rgba(1, 153, 255, 0.78),
    inset 0 0 18px rgba(255, 255, 255, 0.2);
}

.secondary-action {
  gap: 10px;
  width: fit-content;
  min-width: min(100%, 300px);
  justify-content: center;
}

.hero-scan-note {
  display: flex;
  gap: 10px;
  align-items: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.45;
}

.hero-scan-note svg {
  flex: 0 0 auto;
  color: var(--ftc-yellow);
  font-size: 1rem;
}

.secondary-action svg {
  color: var(--ftc-yellow);
  filter: drop-shadow(0 0 8px rgba(255, 217, 40, 0.92));
}

.secondary-action:hover,
.primary-vote-button:hover,
.vote-modal button:hover,
.phone-gate-card button:hover {
  border-color: #ffffff;
  background: linear-gradient(180deg, #fff06a 0%, #ff981f 100%);
  color: var(--ftc-ink) !important;
  text-shadow: none;
}

.festival-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 620px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 50% 54%, rgba(109, 222, 255, 0.34), transparent 34%),
    radial-gradient(circle at 58% 48%, rgba(137, 64, 255, 0.28), transparent 47%);
  box-shadow: none;
}

.festival-stage::before {
  position: absolute;
  inset: auto 7% 6%;
  height: 29%;
  background:
    linear-gradient(90deg, rgba(1, 153, 255, 0.08), rgba(255, 255, 255, 0.18), rgba(216, 77, 255, 0.12)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.13) 0 2px, transparent 2px 20px);
  clip-path: polygon(8% 0, 92% 0, 100% 100%, 0 100%);
  content: "";
}

.festival-stage::after {
  position: absolute;
  inset: auto 13% 6%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ftc-blue-2), var(--ftc-magenta));
  box-shadow: 0 0 24px rgba(0, 153, 255, 0.82);
  content: "";
}

.festival-stage .stage-crew {
  z-index: 3;
  position: absolute;
  bottom: 8%;
  left: 50%;
  width: min(108%, 720px);
  height: auto;
  min-height: 0;
  padding: 0;
  object-fit: contain;
  transform: translateX(-50%);
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.38));
}

.stage-intro {
  z-index: 2;
  position: absolute;
  top: 54px;
  left: 30px;
  display: grid;
  gap: 3px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.stage-intro strong {
  color: var(--ftc-white);
  font-size: 1.2rem;
  line-height: 1.2;
  text-transform: none;
}

.festival-stage .stage-theme {
  z-index: 2;
  position: absolute;
  top: 42px;
  right: 24px;
  display: block;
  width: min(44%, 250px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(105, 210, 255, 0.58));
}

.stage-disciplines {
  z-index: 4;
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.stage-disciplines span + span::before {
  margin-right: 16px;
  color: var(--ftc-yellow);
  content: "/";
}

.stage-sign {
  z-index: 2;
  position: absolute;
  top: 38px;
  display: grid;
  gap: 10px;
  width: 116px;
  border: 2px solid rgba(255, 217, 40, 0.82);
  border-radius: var(--ftc-radius);
  background: linear-gradient(180deg, rgba(5, 35, 145, 0.92), rgba(7, 16, 82, 0.94));
  color: var(--ftc-white);
  padding: 14px 12px;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 0 20px rgba(1, 153, 255, 0.72);
}

.stage-sign svg {
  justify-self: center;
  color: var(--ftc-yellow);
  font-size: 1.5rem;
}

.stage-sign img {
  justify-self: center;
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(1, 153, 255, 0.92));
}

.stage-sign.left {
  left: 20px;
}

.stage-sign.right {
  right: 20px;
  border-color: rgba(216, 77, 255, 0.86);
  background: linear-gradient(180deg, rgba(99, 28, 205, 0.92), rgba(25, 14, 91, 0.94));
}

.festival-info-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.festival-info-panels.single-location {
  grid-template-columns: 1fr;
}

.single-location .festival-info-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(220px, 0.7fr) minmax(260px, 1fr);
  gap: 24px;
  align-items: center;
}

.single-location .festival-location-title {
  margin-bottom: 0;
}

.single-location .festival-info-card p {
  margin: 0;
}

.games-banner {
  display: block;
  width: min(100%, 410px);
  height: auto;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 12px rgba(105, 210, 255, 0.65));
}

.festival-info-card,
.festival-info-link,
.stats-strip > div,
.notice-panel,
.leaderboard,
.game-card,
.confirm-card,
.phone-gate-card,
.vote-modal {
  border: 3px solid var(--ftc-line);
  border-radius: var(--ftc-radius);
  background:
    linear-gradient(135deg, rgba(0, 153, 255, 0.22), transparent 34%),
    linear-gradient(180deg, var(--ftc-panel) 0%, rgba(4, 14, 70, 0.94) 100%);
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.09),
    0 0 28px rgba(0, 153, 255, 0.55),
    var(--ftc-shadow);
  backdrop-filter: blur(12px);
}

.festival-info-card {
  min-width: 0;
  padding: 22px;
}

.festival-info-card.cibubur {
  border-color: rgba(216, 77, 255, 0.88);
  background:
    linear-gradient(135deg, rgba(216, 77, 255, 0.28), transparent 34%),
    linear-gradient(180deg, var(--ftc-panel-2) 0%, rgba(22, 10, 76, 0.95) 100%);
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.09),
    0 0 28px rgba(216, 77, 255, 0.58),
    var(--ftc-shadow);
}

.festival-location-title {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 14px;
  margin-bottom: 14px;
}

.festival-location-title svg {
  flex: 0 0 auto;
  color: var(--ftc-white);
  font-size: 2rem;
  filter: drop-shadow(0 0 12px currentColor);
}

.festival-location-title h2 {
  min-width: 0;
  margin: 0;
  color: var(--ftc-white);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.festival-info-card p {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
  margin: 10px 0 0;
  color: var(--ftc-white);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.festival-info-card p svg {
  flex: 0 0 auto;
}

.festival-info-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  gap: 12px;
  margin-top: 18px;
  border-color: rgba(105, 210, 255, 0.92);
  background: linear-gradient(90deg, rgba(4, 41, 154, 0.94), rgba(70, 18, 172, 0.94));
  color: var(--ftc-white);
  padding: 10px 18px;
  font-size: 1.24rem;
  font-weight: 900;
  text-align: center;
  overflow-wrap: anywhere;
}

.festival-info-link strong {
  color: var(--ftc-yellow);
}

.stats-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.stats-strip > div {
  min-width: 0;
  min-height: 124px;
  align-items: flex-start;
  padding: 18px;
}

.stats-strip svg,
.notice-panel svg,
.vote-count svg,
.leaderboard .section-head svg {
  color: var(--ftc-yellow);
}

.stats-strip span,
.notice-panel p,
.section-head p,
.leader-row span,
.game-card p,
.confirm-body p,
.vote-rules {
  color: rgba(255, 255, 255, 0.84);
}

.stats-strip strong {
  max-width: 100%;
  color: var(--ftc-white);
  font-size: 1.9rem;
  overflow-wrap: anywhere;
}

.notice-panel {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 16px;
  margin-top: 18px;
  padding: 18px 20px;
}

.notice-panel strong,
.section-head h2,
.leaderboard h2 {
  color: var(--ftc-white);
  font-weight: 900;
}

.notice-panel p {
  margin-top: 4px;
  font-weight: 700;
}

.lobby-layout {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: 18px;
  margin-top: 18px;
}

.games-section,
.leaderboard {
  min-width: 0;
}

.section-head {
  min-width: 0;
}

.section-head h2 {
  font-size: 2rem;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.toolbar {
  align-items: stretch;
  min-width: 0;
  gap: 12px;
}

.search-box,
.category-tabs {
  min-width: 0;
}

.search-box {
  border: 2px solid rgba(105, 210, 255, 0.56);
  border-radius: var(--ftc-radius);
  background: rgba(3, 13, 63, 0.7);
  box-shadow: inset 0 0 18px rgba(1, 153, 255, 0.2);
}

.search-box input {
  min-width: 0;
  color: var(--ftc-white);
  font-weight: 800;
}

.category-tabs button {
  border: 2px solid rgba(105, 210, 255, 0.5);
  border-radius: var(--ftc-radius);
  color: var(--ftc-white);
  font-weight: 900;
}

.category-tabs button.active {
  border-color: var(--ftc-yellow);
  background: linear-gradient(180deg, #fff06a, #ff981f);
  color: var(--ftc-ink);
}

.game-grid {
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
}

.game-card {
  min-width: 0;
  overflow: hidden;
}

.game-image {
  aspect-ratio: 16 / 10;
  min-height: 0;
  border-bottom: 2px solid rgba(105, 210, 255, 0.5);
}

.game-image img,
.confirm-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-image span,
.confirm-image span {
  border: 2px solid rgba(255, 255, 255, 0.66);
  border-radius: var(--ftc-radius);
  background: linear-gradient(180deg, #fff06a, #ff981f);
  color: var(--ftc-ink);
  font-weight: 900;
}

.game-card-body {
  min-width: 0;
  padding: 16px;
}

.game-card h3,
.confirm-body h2,
.leader-row strong {
  color: var(--ftc-white);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.game-card h3 {
  font-size: 1.2rem;
  line-height: 1.12;
}

.game-card strong,
.confirm-body strong {
  color: var(--ftc-yellow);
  overflow-wrap: anywhere;
}

.game-card p {
  display: -webkit-box;
  min-height: 3.75em;
  overflow: hidden;
  font-weight: 700;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.vote-count {
  border: 2px solid rgba(105, 210, 255, 0.46);
  border-radius: var(--ftc-radius);
  background: rgba(2, 10, 50, 0.58);
  color: var(--ftc-white);
  font-weight: 900;
}

.leaderboard {
  position: sticky;
  top: 18px;
  align-self: start;
  padding: 18px;
}

.leader-list {
  gap: 10px;
}

.leader-row {
  grid-template-columns: 38px 48px minmax(0, 1fr) auto;
  gap: 10px;
  border: 2px solid rgba(105, 210, 255, 0.38);
  border-radius: var(--ftc-radius);
  background: rgba(2, 10, 50, 0.5);
}

.leader-row img {
  width: 48px;
  height: 48px;
}

.rank {
  border-radius: var(--ftc-radius);
  background: linear-gradient(180deg, #fff06a, #ff981f);
  color: var(--ftc-ink);
}

.leader-row b {
  color: var(--ftc-yellow);
}

.vote-confirm-page,
.vote-phone-gate {
  display: grid;
  min-height: 100vh;
  justify-items: center;
  padding: 22px;
}

.vote-confirm-shell,
.phone-gate-card {
  width: min(100%, 760px);
}

.vote-confirm-shell {
  border: 3px solid var(--ftc-line);
  border-radius: var(--ftc-radius);
  background:
    linear-gradient(135deg, rgba(0, 153, 255, 0.24), transparent 34%),
    linear-gradient(180deg, var(--ftc-panel) 0%, rgba(4, 14, 70, 0.96) 100%);
  box-shadow: 0 0 32px rgba(0, 153, 255, 0.62), var(--ftc-shadow);
}

.vote-confirm-logo {
  width: min(100%, 330px);
  margin-right: auto;
  margin-left: auto;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.vote-confirm-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(105, 210, 255, 0.72));
}

.vote-confirm-logo .vote-confirm-theme {
  width: min(100%, 330px);
  margin: -6px auto 4px;
}

.vote-gate-illustration {
  display: block;
  width: min(100%, 420px);
  height: auto;
  margin: 0 auto -34px;
  object-fit: contain;
  filter: drop-shadow(0 20px 34px rgba(0, 0, 0, 0.35));
}

.vote-result-asset {
  display: block;
  width: min(46%, 150px);
  height: 132px;
  margin: -6px auto 2px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(255, 217, 40, 0.54));
}

.vote-confirm-top span {
  display: block;
  color: var(--ftc-yellow);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.vote-confirm-top h1,
.phone-gate-card h1 {
  color: var(--ftc-white);
  font-family: Impact, Haettenschweiler, "Arial Black", Manrope, sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.95;
  text-transform: uppercase;
  text-shadow:
    0 4px 0 #153481,
    0 8px 0 #040b30,
    0 0 20px rgba(0, 153, 255, 0.92);
}

.confirm-card {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 0;
  overflow: hidden;
}

.confirm-image {
  min-width: 0;
  min-height: 100%;
}

.confirm-body {
  min-width: 0;
}

.primary-vote-button {
  width: 100%;
}

.vote-rules {
  border: 2px solid rgba(105, 210, 255, 0.42);
  border-radius: var(--ftc-radius);
  background: rgba(2, 10, 50, 0.58);
}

.back-link {
  border: 2px solid rgba(105, 210, 255, 0.58);
  border-radius: var(--ftc-radius);
  background: rgba(2, 10, 50, 0.62);
  color: var(--ftc-white);
  font-weight: 900;
}

.vote-modal-backdrop {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9999 !important;
  display: grid !important;
  width: 100vw;
  height: 100dvh;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 36%, rgba(1, 153, 255, 0.24), transparent 28rem),
    rgba(1, 6, 37, 0.78) !important;
  padding: 18px;
  backdrop-filter: blur(10px);
}

.vote-modal {
  width: min(100%, 430px);
  max-height: calc(100dvh - 36px);
  overflow-y: auto;
  border-color: rgba(105, 210, 255, 0.92);
  background:
    linear-gradient(135deg, rgba(0, 153, 255, 0.28), transparent 34%),
    linear-gradient(180deg, rgba(5, 27, 111, 0.98) 0%, rgba(4, 14, 70, 0.98) 100%);
}

.vote-modal > svg {
  color: var(--ftc-yellow);
  filter: drop-shadow(0 0 12px rgba(255, 217, 40, 0.85));
}

.vote-modal h2 {
  color: var(--ftc-white);
  font-weight: 900;
}

.vote-modal p {
  color: rgba(255, 255, 255, 0.84);
  font-weight: 700;
}

@media (max-width: 1040px) {
  .lobby-hero,
  .lobby-layout {
    grid-template-columns: 1fr;
  }

  .lobby-hero {
    gap: 0;
  }

  .hero-copy {
    min-height: 0;
    padding: 24px 0 8px;
  }

  .festival-stage {
    min-height: 500px;
  }

  .leaderboard {
    position: static;
  }
}

@media (max-width: 760px) {
  .vote-lobby,
  .vote-confirm-page,
  .vote-phone-gate {
    padding: 14px;
  }

  .festival-title {
    font-size: 3.9rem;
  }

  .festival-title-logo {
    width: min(100%, 600px);
  }

  .festival-title span:nth-child(1) {
    font-size: 0.72em;
  }

  .theme-ribbon {
    min-height: 42px;
    padding: 0 20px;
    font-size: 1.08rem;
  }

  .hero-copy p {
    font-size: 1rem;
  }

  .hero-actions {
    gap: 12px;
  }

  .secondary-action {
    width: 100%;
    min-width: 0;
    padding: 0 14px;
    font-size: 0.98rem;
  }

  .festival-stage {
    min-height: 340px;
  }

  .stage-intro {
    display: none;
  }

  .festival-stage .stage-theme {
    top: 14px;
    right: auto;
    left: 50%;
    width: min(70%, 280px);
    transform: translateX(-50%);
  }

  .festival-stage .stage-crew {
    bottom: 11%;
    width: min(108%, 620px);
  }

  .stage-disciplines {
    gap: 10px;
    font-size: 0.6rem;
  }

  .stage-disciplines span + span::before {
    margin-right: 10px;
  }

  .stage-sign {
    top: 14px;
    width: 94px;
    padding: 10px 8px;
    font-size: 0.62rem;
  }

  .stage-sign.left {
    left: 10px;
  }

  .stage-sign.right {
    right: 10px;
  }

  .festival-info-panels,
  .stats-strip,
  .confirm-card {
    grid-template-columns: 1fr;
  }

  .single-location .festival-info-card {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .single-location .festival-location-title {
    margin-bottom: 14px;
  }

  .single-location .festival-info-card p {
    margin-top: 10px;
  }

  .festival-location-title h2,
  .section-head h2 {
    font-size: 1.55rem;
  }

  .festival-info-link {
    flex-wrap: wrap;
    font-size: 1rem;
  }

  .toolbar {
    flex-direction: column;
  }

  .game-grid {
    grid-template-columns: 1fr;
  }

  .vote-confirm-top h1,
  .phone-gate-card h1 {
    font-size: 2.55rem;
  }
}

@media (max-width: 430px) {
  .festival-title {
    font-size: 3rem;
  }

  .festival-stage {
    min-height: 300px;
  }

  .festival-stage .stage-crew {
    bottom: 12%;
    width: min(112%, 440px);
  }

  .stage-sign {
    width: 78px;
    font-size: 0.55rem;
  }

  .stage-sign img {
    width: 26px;
    height: 26px;
  }

  .festival-stage .stage-theme {
    top: 10px;
    width: min(76%, 270px);
  }

  .stage-disciplines {
    bottom: 2px;
  }

  .vote-gate-illustration {
    margin-bottom: -18px;
  }

  .festival-info-card,
  .notice-panel,
  .leaderboard {
    padding: 14px;
  }

  .leader-row {
    grid-template-columns: 34px 42px minmax(0, 1fr);
  }

  .leader-row b {
    grid-column: 3;
    justify-self: start;
  }
}
