/* «Барбандос»: салун Дикого Запада. Дерево, бумага плаката, кирпично-красный. */
body.era-barbandos {
	/* Стены салуна: горизонтальные доски с волокнами, стыками и гвоздями. */
	background-color: #24170e;
	background-image: linear-gradient(rgba(20, 11, 5, 0.5), rgba(20, 11, 5, 0.5)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='480' height='120'%3E%3Crect y='0' width='480' height='40' fill='%235c3a21'/%3E%3Cpath d='M0 4.3 C120 1.5 240 5.5 360 2.6 S480 4.3 480 4.3' fill='none' stroke='%232e1b0d' stroke-opacity='0.38' stroke-width='0.9'/%3E%3Cpath d='M0 12.2 C120 12.3 240 8.5 360 12.0 S480 12.2 480 12.2' fill='none' stroke='%232e1b0d' stroke-opacity='0.27' stroke-width='0.7'/%3E%3Cpath d='M0 22.7 C120 25.3 240 19.7 360 21.6 S480 22.7 480 22.7' fill='none' stroke='%232e1b0d' stroke-opacity='0.41' stroke-width='1.4'/%3E%3Cpath d='M0 32.3 C120 31.5 240 36.1 360 30.5 S480 32.3 480 32.3' fill='none' stroke='%232e1b0d' stroke-opacity='0.46' stroke-width='0.8'/%3E%3Cellipse cx='113' cy='20' rx='10' ry='4' fill='%232e1b0d' fill-opacity='.55'/%3E%3Cline x1='200' y1='0' x2='200' y2='40' stroke='%231a0f07' stroke-width='2'/%3E%3Ccircle cx='192' cy='8' r='1.8' fill='%231f140b'/%3E%3Ccircle cx='191.5' cy='7.5' r='.7' fill='%23a98a5a'/%3E%3Ccircle cx='192' cy='32' r='1.8' fill='%231f140b'/%3E%3Ccircle cx='191.5' cy='31.5' r='.7' fill='%23a98a5a'/%3E%3Ccircle cx='208' cy='8' r='1.8' fill='%231f140b'/%3E%3Ccircle cx='207.5' cy='7.5' r='.7' fill='%23a98a5a'/%3E%3Ccircle cx='208' cy='32' r='1.8' fill='%231f140b'/%3E%3Ccircle cx='207.5' cy='31.5' r='.7' fill='%23a98a5a'/%3E%3Crect y='0' width='480' height='2.5' fill='%231a0f07'/%3E%3Crect y='2.5' width='480' height='1' fill='%238a6238' fill-opacity='.5'/%3E%3Crect y='40' width='480' height='40' fill='%2350321c'/%3E%3Cpath d='M0 45.2 C120 46.7 240 42.1 360 45.5 S480 45.2 480 45.2' fill='none' stroke='%232e1b0d' stroke-opacity='0.30' stroke-width='0.7'/%3E%3Cpath d='M0 54.8 C120 55.4 240 55.8 360 54.8 S480 54.8 480 54.8' fill='none' stroke='%232e1b0d' stroke-opacity='0.38' stroke-width='1.2'/%3E%3Cpath d='M0 62.9 C120 66.2 240 61.8 360 61.9 S480 62.9 480 62.9' fill='none' stroke='%232e1b0d' stroke-opacity='0.29' stroke-width='1.2'/%3E%3Cpath d='M0 70.3 C120 68.7 240 70.3 360 69.7 S480 70.3 480 70.3' fill='none' stroke='%232e1b0d' stroke-opacity='0.36' stroke-width='1.1'/%3E%3Cellipse cx='77' cy='55' rx='9' ry='3' fill='%232e1b0d' fill-opacity='.55'/%3E%3Cline x1='390' y1='40' x2='390' y2='80' stroke='%231a0f07' stroke-width='2'/%3E%3Ccircle cx='382' cy='48' r='1.8' fill='%231f140b'/%3E%3Ccircle cx='381.5' cy='47.5' r='.7' fill='%23a98a5a'/%3E%3Ccircle cx='382' cy='72' r='1.8' fill='%231f140b'/%3E%3Ccircle cx='381.5' cy='71.5' r='.7' fill='%23a98a5a'/%3E%3Ccircle cx='398' cy='48' r='1.8' fill='%231f140b'/%3E%3Ccircle cx='397.5' cy='47.5' r='.7' fill='%23a98a5a'/%3E%3Ccircle cx='398' cy='72' r='1.8' fill='%231f140b'/%3E%3Ccircle cx='397.5' cy='71.5' r='.7' fill='%23a98a5a'/%3E%3Crect y='40' width='480' height='2.5' fill='%231a0f07'/%3E%3Crect y='42.5' width='480' height='1' fill='%238a6238' fill-opacity='.5'/%3E%3Crect y='80' width='480' height='40' fill='%23634026'/%3E%3Cpath d='M0 86.0 C120 83.2 240 85.9 360 84.2 S480 86.0 480 86.0' fill='none' stroke='%232e1b0d' stroke-opacity='0.42' stroke-width='1.2'/%3E%3Cpath d='M0 94.3 C120 97.3 240 92.8 360 95.1 S480 94.3 480 94.3' fill='none' stroke='%232e1b0d' stroke-opacity='0.40' stroke-width='1.1'/%3E%3Cpath d='M0 102.8 C120 105.5 240 106.4 360 102.7 S480 102.8 480 102.8' fill='none' stroke='%232e1b0d' stroke-opacity='0.42' stroke-width='0.6'/%3E%3Cpath d='M0 112.8 C120 114.0 240 116.8 360 114.1 S480 112.8 480 112.8' fill='none' stroke='%232e1b0d' stroke-opacity='0.32' stroke-width='0.9'/%3E%3Cellipse cx='382' cy='98' rx='9' ry='4' fill='%232e1b0d' fill-opacity='.55'/%3E%3Cline x1='90' y1='80' x2='90' y2='120' stroke='%231a0f07' stroke-width='2'/%3E%3Ccircle cx='82' cy='88' r='1.8' fill='%231f140b'/%3E%3Ccircle cx='81.5' cy='87.5' r='.7' fill='%23a98a5a'/%3E%3Ccircle cx='82' cy='112' r='1.8' fill='%231f140b'/%3E%3Ccircle cx='81.5' cy='111.5' r='.7' fill='%23a98a5a'/%3E%3Ccircle cx='98' cy='88' r='1.8' fill='%231f140b'/%3E%3Ccircle cx='97.5' cy='87.5' r='.7' fill='%23a98a5a'/%3E%3Ccircle cx='98' cy='112' r='1.8' fill='%231f140b'/%3E%3Ccircle cx='97.5' cy='111.5' r='.7' fill='%23a98a5a'/%3E%3Crect y='80' width='480' height='2.5' fill='%231a0f07'/%3E%3Crect y='82.5' width='480' height='1' fill='%238a6238' fill-opacity='.5'/%3E%3C/svg%3E");
	background-size: auto, 480px 120px;
	color: #eadbc0;
	font-family: "PT Serif", serif;
}

body.era-barbandos a {
	color: #e3b65e;
}

body.era-barbandos a:hover {
	color: #f3d08c;
}

.era-barbandos .venue-bar__name {
	font-family: "Podkova", serif;
	font-weight: 800;
	font-size: 28px;
	color: #e3b65e;
}

.bar-hero {
	position: relative;
	overflow: hidden;
	perspective: 2600px;
	background-color: #3b2616;
	background-image: radial-gradient(90% 80% at 30% 40%, rgba(255, 196, 110, 0.18), transparent 70%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='480' height='120'%3E%3Crect y='0' width='480' height='40' fill='%235c3a21'/%3E%3Cpath d='M0 4.3 C120 1.5 240 5.5 360 2.6 S480 4.3 480 4.3' fill='none' stroke='%232e1b0d' stroke-opacity='0.38' stroke-width='0.9'/%3E%3Cpath d='M0 12.2 C120 12.3 240 8.5 360 12.0 S480 12.2 480 12.2' fill='none' stroke='%232e1b0d' stroke-opacity='0.27' stroke-width='0.7'/%3E%3Cpath d='M0 22.7 C120 25.3 240 19.7 360 21.6 S480 22.7 480 22.7' fill='none' stroke='%232e1b0d' stroke-opacity='0.41' stroke-width='1.4'/%3E%3Cpath d='M0 32.3 C120 31.5 240 36.1 360 30.5 S480 32.3 480 32.3' fill='none' stroke='%232e1b0d' stroke-opacity='0.46' stroke-width='0.8'/%3E%3Cellipse cx='113' cy='20' rx='10' ry='4' fill='%232e1b0d' fill-opacity='.55'/%3E%3Cline x1='200' y1='0' x2='200' y2='40' stroke='%231a0f07' stroke-width='2'/%3E%3Ccircle cx='192' cy='8' r='1.8' fill='%231f140b'/%3E%3Ccircle cx='191.5' cy='7.5' r='.7' fill='%23a98a5a'/%3E%3Ccircle cx='192' cy='32' r='1.8' fill='%231f140b'/%3E%3Ccircle cx='191.5' cy='31.5' r='.7' fill='%23a98a5a'/%3E%3Ccircle cx='208' cy='8' r='1.8' fill='%231f140b'/%3E%3Ccircle cx='207.5' cy='7.5' r='.7' fill='%23a98a5a'/%3E%3Ccircle cx='208' cy='32' r='1.8' fill='%231f140b'/%3E%3Ccircle cx='207.5' cy='31.5' r='.7' fill='%23a98a5a'/%3E%3Crect y='0' width='480' height='2.5' fill='%231a0f07'/%3E%3Crect y='2.5' width='480' height='1' fill='%238a6238' fill-opacity='.5'/%3E%3Crect y='40' width='480' height='40' fill='%2350321c'/%3E%3Cpath d='M0 45.2 C120 46.7 240 42.1 360 45.5 S480 45.2 480 45.2' fill='none' stroke='%232e1b0d' stroke-opacity='0.30' stroke-width='0.7'/%3E%3Cpath d='M0 54.8 C120 55.4 240 55.8 360 54.8 S480 54.8 480 54.8' fill='none' stroke='%232e1b0d' stroke-opacity='0.38' stroke-width='1.2'/%3E%3Cpath d='M0 62.9 C120 66.2 240 61.8 360 61.9 S480 62.9 480 62.9' fill='none' stroke='%232e1b0d' stroke-opacity='0.29' stroke-width='1.2'/%3E%3Cpath d='M0 70.3 C120 68.7 240 70.3 360 69.7 S480 70.3 480 70.3' fill='none' stroke='%232e1b0d' stroke-opacity='0.36' stroke-width='1.1'/%3E%3Cellipse cx='77' cy='55' rx='9' ry='3' fill='%232e1b0d' fill-opacity='.55'/%3E%3Cline x1='390' y1='40' x2='390' y2='80' stroke='%231a0f07' stroke-width='2'/%3E%3Ccircle cx='382' cy='48' r='1.8' fill='%231f140b'/%3E%3Ccircle cx='381.5' cy='47.5' r='.7' fill='%23a98a5a'/%3E%3Ccircle cx='382' cy='72' r='1.8' fill='%231f140b'/%3E%3Ccircle cx='381.5' cy='71.5' r='.7' fill='%23a98a5a'/%3E%3Ccircle cx='398' cy='48' r='1.8' fill='%231f140b'/%3E%3Ccircle cx='397.5' cy='47.5' r='.7' fill='%23a98a5a'/%3E%3Ccircle cx='398' cy='72' r='1.8' fill='%231f140b'/%3E%3Ccircle cx='397.5' cy='71.5' r='.7' fill='%23a98a5a'/%3E%3Crect y='40' width='480' height='2.5' fill='%231a0f07'/%3E%3Crect y='42.5' width='480' height='1' fill='%238a6238' fill-opacity='.5'/%3E%3Crect y='80' width='480' height='40' fill='%23634026'/%3E%3Cpath d='M0 86.0 C120 83.2 240 85.9 360 84.2 S480 86.0 480 86.0' fill='none' stroke='%232e1b0d' stroke-opacity='0.42' stroke-width='1.2'/%3E%3Cpath d='M0 94.3 C120 97.3 240 92.8 360 95.1 S480 94.3 480 94.3' fill='none' stroke='%232e1b0d' stroke-opacity='0.40' stroke-width='1.1'/%3E%3Cpath d='M0 102.8 C120 105.5 240 106.4 360 102.7 S480 102.8 480 102.8' fill='none' stroke='%232e1b0d' stroke-opacity='0.42' stroke-width='0.6'/%3E%3Cpath d='M0 112.8 C120 114.0 240 116.8 360 114.1 S480 112.8 480 112.8' fill='none' stroke='%232e1b0d' stroke-opacity='0.32' stroke-width='0.9'/%3E%3Cellipse cx='382' cy='98' rx='9' ry='4' fill='%232e1b0d' fill-opacity='.55'/%3E%3Cline x1='90' y1='80' x2='90' y2='120' stroke='%231a0f07' stroke-width='2'/%3E%3Ccircle cx='82' cy='88' r='1.8' fill='%231f140b'/%3E%3Ccircle cx='81.5' cy='87.5' r='.7' fill='%23a98a5a'/%3E%3Ccircle cx='82' cy='112' r='1.8' fill='%231f140b'/%3E%3Ccircle cx='81.5' cy='111.5' r='.7' fill='%23a98a5a'/%3E%3Ccircle cx='98' cy='88' r='1.8' fill='%231f140b'/%3E%3Ccircle cx='97.5' cy='87.5' r='.7' fill='%23a98a5a'/%3E%3Ccircle cx='98' cy='112' r='1.8' fill='%231f140b'/%3E%3Ccircle cx='97.5' cy='111.5' r='.7' fill='%23a98a5a'/%3E%3Crect y='80' width='480' height='2.5' fill='%231a0f07'/%3E%3Crect y='82.5' width='480' height='1' fill='%238a6238' fill-opacity='.5'/%3E%3C/svg%3E");
	background-size: auto, 480px 120px;
	border-bottom: 10px solid #1a0f07;
}

/* Распашные двери салуна: при загрузке распахиваются, по клику качаются снова. */
.bar-doors {
	position: absolute;
	inset: 14% 0 auto;
	z-index: 3;
	height: 62%;
	pointer-events: none;
	transform-style: preserve-3d;
}

.bar-doors__leaf {
	position: absolute;
	top: 0;
	width: 50%;
	height: 100%;
	pointer-events: auto;
	cursor: pointer;
	background:
		linear-gradient(180deg, transparent 0 16%, #3d2512 16% 21%, transparent 21% 76%, #3d2512 76% 81%, transparent 81%),
		repeating-linear-gradient(90deg, #9a6a38 0 26px, #6d4520 26px 30px),
		#7d522a;
	border: 10px solid #4a2c13;
	box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.45);
	animation: bar-swing-l 3s ease-in-out 0.4s both;
}

.bar-doors__leaf--l {
	left: 0;
	border-top-right-radius: 70% 26%;
	transform-origin: left center;
}

.bar-doors__leaf--r {
	right: 0;
	border-top-left-radius: 70% 26%;
	transform-origin: right center;
	animation-name: bar-swing-r;
}

@keyframes bar-swing-l {
	0% {
		transform: rotateY(0);
	}

	18% {
		transform: rotateY(88deg);
	}

	34% {
		transform: rotateY(40deg);
	}

	50% {
		transform: rotateY(80deg);
	}

	64% {
		transform: rotateY(60deg);
	}

	78% {
		transform: rotateY(84deg);
	}

	100% {
		transform: translateX(-34%) rotateY(84deg);
	}
}

@keyframes bar-swing-r {
	0% {
		transform: rotateY(0);
	}

	18% {
		transform: rotateY(-88deg);
	}

	34% {
		transform: rotateY(-40deg);
	}

	50% {
		transform: rotateY(-80deg);
	}

	64% {
		transform: rotateY(-60deg);
	}

	78% {
		transform: rotateY(-84deg);
	}

	100% {
		transform: translateX(34%) rotateY(-84deg);
	}
}

.bar-doors__leaf.is-swing {
	animation-duration: 2.2s;
	animation-delay: 0s;
}

.bar-doors__leaf--l.is-swing {
	animation-name: bar-reswing-l;
}

.bar-doors__leaf--r.is-swing {
	animation-name: bar-reswing-r;
}

@keyframes bar-reswing-l {
	0%,
	100% {
		transform: translateX(-34%) rotateY(84deg);
	}

	20% {
		transform: rotateY(30deg);
	}

	45% {
		transform: rotateY(88deg);
	}

	65% {
		transform: rotateY(62deg);
	}

	82% {
		transform: rotateY(84deg);
	}
}

@keyframes bar-reswing-r {
	0%,
	100% {
		transform: translateX(34%) rotateY(-84deg);
	}

	20% {
		transform: rotateY(-30deg);
	}

	45% {
		transform: rotateY(-88deg);
	}

	65% {
		transform: rotateY(-62deg);
	}

	82% {
		transform: rotateY(-84deg);
	}
}

/* Перекати-поле: раз в полминуты прокатывается по низу. */
.tumbleweed {
	position: absolute;
	bottom: 6px;
	left: 0;
	z-index: 2;
	width: 70px;
	height: 70px;
	pointer-events: none;
	animation: tumble 28s linear 5s infinite;
	transform: translateX(-120px);
}

@keyframes tumble {
	0% {
		transform: translate(-120px, 0) rotate(0);
	}

	5% {
		transform: translate(18vw, -26px) rotate(260deg);
	}

	10% {
		transform: translate(36vw, 0) rotate(520deg);
	}

	15% {
		transform: translate(54vw, -18px) rotate(780deg);
	}

	20% {
		transform: translate(72vw, 0) rotate(1040deg);
	}

	25% {
		transform: translate(90vw, -10px) rotate(1300deg);
	}

	30%,
	100% {
		transform: translate(calc(100vw + 120px), 0) rotate(1560deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	.bar-doors__leaf {
		animation: none !important;
	}

	.bar-doors__leaf--l {
		transform: translateX(-34%) rotateY(84deg);
	}

	.bar-doors__leaf--r {
		transform: translateX(34%) rotateY(-84deg);
	}

	.tumbleweed {
		display: none;
	}
}

.bar-hero__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	gap: 56px;
	align-items: center;
	padding-block: 72px 88px;
}

.bar-hero__text {
	flex: 1 1 420px;
}

.bar-hero h1 {
	margin: 0 0 22px;
	font-family: "Podkova", serif;
	font-weight: 800;
	font-size: clamp(64px, 9vw, 108px);
	line-height: 0.95;
	color: #f1e2c4;
}

.bar-hero__lead {
	max-width: 520px;
	font-size: 22px;
}

.bar-hero__hours {
	color: #c9b48e;
}

.bar-btn {
	display: inline-block;
	padding: 16px 30px;
	background: #9e2b1f;
	color: #f6e9cf !important;
	font-family: "Podkova", serif;
	font-weight: 800;
	font-size: 20px;
	text-decoration: none;
}

.bar-poster {
	display: flex;
	flex: 0 1 400px;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	margin: 0 auto;
	padding: 28px 28px 32px;
	background: #e8d3a6;
	color: #2b1d12;
	text-align: center;
	transform: rotate(-2deg);
	box-shadow: 0 18px 30px rgba(0, 0, 0, 0.45);
}

.bar-poster p {
	margin: 0;
}

.bar-poster__nail {
	width: 14px;
	height: 14px;
	margin-top: -14px;
	border-radius: 50%;
	background: #5a4632;
}

.bar-poster__head {
	font-family: "Podkova", serif;
	font-weight: 800;
	font-size: clamp(36px, 5vw, 52px);
	line-height: 1;
	letter-spacing: 0.04em;
}

.bar-poster__photo {
	width: 100%;
	height: 210px;
	object-fit: cover;
	filter: sepia(0.55) contrast(1.05);
	border: 3px solid #2b1d12;
}

.bar-poster__who {
	font-family: "Podkova", serif;
	font-weight: 800;
	font-size: 26px;
}

.bar-poster__signs {
	font-size: 17px;
	line-height: 1.45;
}

.bar-poster__reward {
	font-family: "Podkova", serif;
	font-weight: 800;
	font-size: 22px;
	color: #9e2b1f;
}

.bar-modes {
	padding-block: 80px;
}

.bar-modes__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 32px;
}

.bar-tab {
	min-height: 48px;
	padding: 12px 26px;
	border: 2px solid #e3b65e;
	background: transparent;
	color: #e3b65e;
	font-family: "Podkova", serif;
	font-weight: 800;
	font-size: 20px;
	cursor: pointer;
}

.bar-tab[aria-pressed="true"] {
	background: #e3b65e;
	color: #24170e;
}

.bar-mode {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	align-items: center;
}

.bar-mode[hidden] {
	display: none;
}

.bar-mode__text {
	flex: 1 1 420px;
}

.bar-mode h2 {
	margin: 0 0 16px;
	font-family: "Podkova", serif;
	font-weight: 800;
	font-size: clamp(36px, 5vw, 54px);
	line-height: 1.05;
	color: #f1e2c4;
}

.bar-mode__photo {
	flex: 1 1 420px;
	min-width: 0;
	width: 100%;
	height: 380px;
	object-fit: cover;
	border: 6px solid #3b2616;
}

.era-barbandos .venue-about {
	padding-bottom: 24px;
	font-size: 20px;
}

.era-barbandos .venue-gallery {
	padding-bottom: 56px;
}

.era-barbandos .venue-book {
	background: #e8d3a6;
	color: #2b1d12;
}

.era-barbandos .venue-book a {
	color: #9e2b1f;
}

.era-barbandos .booking h2 {
	margin-top: 0;
	font-family: "Podkova", serif;
	font-weight: 800;
	font-size: 56px;
	line-height: 1;
}

.era-barbandos .booking__field input,
.era-barbandos .booking__field select {
	background: #f6ebd3;
}

.era-barbandos .booking__consent input {
	accent-color: #9e2b1f;
}

.era-barbandos .booking__submit {
	background: #9e2b1f;
	color: #f6e9cf;
	font-family: "Podkova", serif;
	font-weight: 800;
	font-size: 21px;
}

.era-barbandos .venue-contacts {
	padding-block: 32px;
	color: #c9b48e;
}

.era-barbandos .site-footer {
	border-top: 1px solid #4a3220;
	color: #c9b48e;
}

.era-barbandos .site-footer__title {
	color: #f1e2c4;
}

/* Тир у стойки. */
.bar-range[hidden] {
	display: none;
}

.bar-range {
	padding-block: 24px 80px;
}

.bar-range__head h2 {
	margin: 0 0 8px;
	font-family: "Podkova", serif;
	font-weight: 800;
	font-size: clamp(36px, 5vw, 54px);
	color: #f1e2c4;
}

.bar-range__head p {
	margin: 0 0 24px;
	font-size: 19px;
}

.bar-range__wall {
	position: relative;
	overflow: hidden;
	padding: 48px 20px 0;
	background-color: #3b2616;
	background-image: radial-gradient(70% 90% at 50% 30%, rgba(255, 200, 120, 0.22), transparent 70%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='480' height='120'%3E%3Crect y='0' width='480' height='40' fill='%235c3a21'/%3E%3Cpath d='M0 4.3 C120 1.5 240 5.5 360 2.6 S480 4.3 480 4.3' fill='none' stroke='%232e1b0d' stroke-opacity='0.38' stroke-width='0.9'/%3E%3Cpath d='M0 12.2 C120 12.3 240 8.5 360 12.0 S480 12.2 480 12.2' fill='none' stroke='%232e1b0d' stroke-opacity='0.27' stroke-width='0.7'/%3E%3Cpath d='M0 22.7 C120 25.3 240 19.7 360 21.6 S480 22.7 480 22.7' fill='none' stroke='%232e1b0d' stroke-opacity='0.41' stroke-width='1.4'/%3E%3Cpath d='M0 32.3 C120 31.5 240 36.1 360 30.5 S480 32.3 480 32.3' fill='none' stroke='%232e1b0d' stroke-opacity='0.46' stroke-width='0.8'/%3E%3Cellipse cx='113' cy='20' rx='10' ry='4' fill='%232e1b0d' fill-opacity='.55'/%3E%3Cline x1='200' y1='0' x2='200' y2='40' stroke='%231a0f07' stroke-width='2'/%3E%3Ccircle cx='192' cy='8' r='1.8' fill='%231f140b'/%3E%3Ccircle cx='191.5' cy='7.5' r='.7' fill='%23a98a5a'/%3E%3Ccircle cx='192' cy='32' r='1.8' fill='%231f140b'/%3E%3Ccircle cx='191.5' cy='31.5' r='.7' fill='%23a98a5a'/%3E%3Ccircle cx='208' cy='8' r='1.8' fill='%231f140b'/%3E%3Ccircle cx='207.5' cy='7.5' r='.7' fill='%23a98a5a'/%3E%3Ccircle cx='208' cy='32' r='1.8' fill='%231f140b'/%3E%3Ccircle cx='207.5' cy='31.5' r='.7' fill='%23a98a5a'/%3E%3Crect y='0' width='480' height='2.5' fill='%231a0f07'/%3E%3Crect y='2.5' width='480' height='1' fill='%238a6238' fill-opacity='.5'/%3E%3Crect y='40' width='480' height='40' fill='%2350321c'/%3E%3Cpath d='M0 45.2 C120 46.7 240 42.1 360 45.5 S480 45.2 480 45.2' fill='none' stroke='%232e1b0d' stroke-opacity='0.30' stroke-width='0.7'/%3E%3Cpath d='M0 54.8 C120 55.4 240 55.8 360 54.8 S480 54.8 480 54.8' fill='none' stroke='%232e1b0d' stroke-opacity='0.38' stroke-width='1.2'/%3E%3Cpath d='M0 62.9 C120 66.2 240 61.8 360 61.9 S480 62.9 480 62.9' fill='none' stroke='%232e1b0d' stroke-opacity='0.29' stroke-width='1.2'/%3E%3Cpath d='M0 70.3 C120 68.7 240 70.3 360 69.7 S480 70.3 480 70.3' fill='none' stroke='%232e1b0d' stroke-opacity='0.36' stroke-width='1.1'/%3E%3Cellipse cx='77' cy='55' rx='9' ry='3' fill='%232e1b0d' fill-opacity='.55'/%3E%3Cline x1='390' y1='40' x2='390' y2='80' stroke='%231a0f07' stroke-width='2'/%3E%3Ccircle cx='382' cy='48' r='1.8' fill='%231f140b'/%3E%3Ccircle cx='381.5' cy='47.5' r='.7' fill='%23a98a5a'/%3E%3Ccircle cx='382' cy='72' r='1.8' fill='%231f140b'/%3E%3Ccircle cx='381.5' cy='71.5' r='.7' fill='%23a98a5a'/%3E%3Ccircle cx='398' cy='48' r='1.8' fill='%231f140b'/%3E%3Ccircle cx='397.5' cy='47.5' r='.7' fill='%23a98a5a'/%3E%3Ccircle cx='398' cy='72' r='1.8' fill='%231f140b'/%3E%3Ccircle cx='397.5' cy='71.5' r='.7' fill='%23a98a5a'/%3E%3Crect y='40' width='480' height='2.5' fill='%231a0f07'/%3E%3Crect y='42.5' width='480' height='1' fill='%238a6238' fill-opacity='.5'/%3E%3Crect y='80' width='480' height='40' fill='%23634026'/%3E%3Cpath d='M0 86.0 C120 83.2 240 85.9 360 84.2 S480 86.0 480 86.0' fill='none' stroke='%232e1b0d' stroke-opacity='0.42' stroke-width='1.2'/%3E%3Cpath d='M0 94.3 C120 97.3 240 92.8 360 95.1 S480 94.3 480 94.3' fill='none' stroke='%232e1b0d' stroke-opacity='0.40' stroke-width='1.1'/%3E%3Cpath d='M0 102.8 C120 105.5 240 106.4 360 102.7 S480 102.8 480 102.8' fill='none' stroke='%232e1b0d' stroke-opacity='0.42' stroke-width='0.6'/%3E%3Cpath d='M0 112.8 C120 114.0 240 116.8 360 114.1 S480 112.8 480 112.8' fill='none' stroke='%232e1b0d' stroke-opacity='0.32' stroke-width='0.9'/%3E%3Cellipse cx='382' cy='98' rx='9' ry='4' fill='%232e1b0d' fill-opacity='.55'/%3E%3Cline x1='90' y1='80' x2='90' y2='120' stroke='%231a0f07' stroke-width='2'/%3E%3Ccircle cx='82' cy='88' r='1.8' fill='%231f140b'/%3E%3Ccircle cx='81.5' cy='87.5' r='.7' fill='%23a98a5a'/%3E%3Ccircle cx='82' cy='112' r='1.8' fill='%231f140b'/%3E%3Ccircle cx='81.5' cy='111.5' r='.7' fill='%23a98a5a'/%3E%3Ccircle cx='98' cy='88' r='1.8' fill='%231f140b'/%3E%3Ccircle cx='97.5' cy='87.5' r='.7' fill='%23a98a5a'/%3E%3Ccircle cx='98' cy='112' r='1.8' fill='%231f140b'/%3E%3Ccircle cx='97.5' cy='111.5' r='.7' fill='%23a98a5a'/%3E%3Crect y='80' width='480' height='2.5' fill='%231a0f07'/%3E%3Crect y='82.5' width='480' height='1' fill='%238a6238' fill-opacity='.5'/%3E%3C/svg%3E");
	background-size: auto, 480px 120px;
	border: 10px solid #1a0f07;
	cursor: crosshair;
	touch-action: manipulation;
}

.bar-range__shelf {
	position: relative;
	z-index: 6;
	display: flex;
	align-items: flex-end;
	justify-content: space-around;
	gap: 8px;
	margin: 0;
	padding: 0 4px;
	list-style: none;
	border-bottom: 18px solid #2a1a0d;
	box-shadow: 0 10px 0 #120a04;
	pointer-events: none;
}

.bar-range__shelf li {
	display: flex;
}

.bottle {
	--c: #2f7a3a;
	--h: 150px;
	position: relative;
	width: clamp(40px, 9vw, 64px);
	height: var(--h);
	padding: 0;
	border: 0;
	background: transparent;
	cursor: crosshair;
	pointer-events: auto;
}

.bottle--h1 {
	--h: 128px;
}

.bottle--h2 {
	--h: 168px;
}

.bottle--brown {
	--c: #7a4a1d;
}

.bottle--clear {
	--c: rgba(196, 226, 236, 0.7);
}

.bottle--wine {
	--c: #6b1a24;
}

.bottle__glass {
	position: absolute;
	inset: 0;
	transition: opacity 0.05s;
}

.bottle__glass::before,
.bottle__glass::after {
	content: "";
	position: absolute;
	left: 50%;
	background:
		linear-gradient(90deg, rgba(255, 255, 255, 0) 15%, rgba(255, 255, 255, 0.45) 26%, rgba(255, 255, 255, 0) 38%),
		var(--c);
}

.bottle__glass::before {
	top: 0;
	width: 30%;
	height: 42%;
	margin-left: -15%;
	border-radius: 4px 4px 0 0;
	box-shadow: 0 -4px 0 #3b2616 inset, 0 3px 0 #c8a24c;
}

.bottle__glass::after {
	bottom: 0;
	width: 100%;
	height: 60%;
	margin-left: -50%;
	border-radius: 40% 40% 6px 6px / 22% 22% 6px 6px;
	box-shadow: inset 0 -26px 0 rgba(0, 0, 0, 0.18), inset 0 12px 0 -6px rgba(255, 255, 255, 0.12);
}

.bottle:focus-visible {
	outline: 3px solid #e3b65e;
	outline-offset: 4px;
}

.bottle.is-broken {
	pointer-events: none;
}

.bottle.is-broken .bottle__glass {
	opacity: 0;
}

.shard {
	position: absolute;
	width: var(--w, 10px);
	height: var(--w, 10px);
	background: var(--c, #2f7a3a);
	clip-path: polygon(50% 0, 100% 80%, 0 100%);
	animation: shard 0.9s cubic-bezier(0.2, 0.6, 0.4, 1) both;
}

@keyframes shard {
	50% {
		opacity: 1;
	}

	to {
		transform: translate(var(--dx), var(--dy)) rotate(var(--rot));
		opacity: 0;
	}
}

.bar-range__hud {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 20px;
	align-items: center;
	margin-top: 22px;
}

.cylinder {
	position: relative;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: radial-gradient(circle, #2a2a2a 0 7px, #8b8f94 8px 27px, #3f4246 28px);
	transition: transform 0.18s ease-out;
}

.cylinder i {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 13px;
	height: 13px;
	margin: -6.5px;
	border-radius: 50%;
	background: radial-gradient(circle, #f0c56a 0 3px, #b8892b 4px, #6d5020 6px);
	box-shadow: 0 0 0 1.5px #2a2a2a;
}

.cylinder i.is-spent {
	background: #151515;
}

.cylinder i:nth-child(1) { transform: rotate(0deg) translateY(-17px); }
.cylinder i:nth-child(2) { transform: rotate(60deg) translateY(-17px); }
.cylinder i:nth-child(3) { transform: rotate(120deg) translateY(-17px); }
.cylinder i:nth-child(4) { transform: rotate(180deg) translateY(-17px); }
.cylinder i:nth-child(5) { transform: rotate(240deg) translateY(-17px); }
.cylinder i:nth-child(6) { transform: rotate(300deg) translateY(-17px); }

.cylinder.is-spinning {
	transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.bar-range__status {
	flex: 1 1 220px;
	font-family: "Podkova", serif;
	font-weight: 800;
	font-size: 21px;
	color: #f1e2c4;
}

.bar-range__reload {
	min-height: 48px;
	padding: 12px 22px;
	border: 2px solid #e3b65e;
	background: transparent;
	color: #e3b65e;
	font-family: "Podkova", serif;
	font-weight: 800;
	font-size: 18px;
	cursor: pointer;
}

.bar-range__win {
	margin: 20px 0 0;
	padding: 18px 22px;
	background: #e8d3a6;
	color: #2b1d12;
	font-size: 20px;
}

.bar-range__win[hidden] {
	display: none;
}

.bar-range__win a {
	margin-left: 8px;
	color: #9e2b1f !important;
	font-weight: 700;
}

@media (max-width: 640px) {
	.bar-doors {
		inset: 22% 0 auto;
		height: 50%;
	}

	.bar-range__wall {
		padding: 36px 6px 0;
	}

	.bottle {
		--h: 118px;
	}

	.bottle--h1 {
		--h: 100px;
	}

	.bottle--h2 {
		--h: 134px;
	}
}
