/* 원본 1080×1920 이미지 위의 절대 위치입니다. */
.seat-form {
	position: absolute;
	left: 11.94%;
	top: 30.73%;
	width: 76.11%;
	height: 5.26%;
	border-radius: 3.1cqw;
	background: #b8b6b2;
	box-shadow: 0 1.3cqw 1.8cqw rgba(0, 0, 0, .45);
}
.seat-form input {
	position: absolute;
	left: 3.6%;
	top: 12%;
	width: 63%;
	height: 76%;
	min-width: 0;
	border: 0;
	border-radius: 8px;
	padding: 0 2%;
	background: #b8b6b2;
	color: #111;
	font-size: clamp(13px, 3.8vw, 29px);
	font-size: 3.6cqw;
	text-align: center;
	appearance: none;
}
.seat-form input::placeholder {
	color: #111;
	opacity: 1;
}
.seat-form input:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 0;
}
.seat-form button {
	position: absolute;
	left: 68.8%;
	top: 16%;
	width: 28%;
	height: 66%;
	padding: 0;
	border: 0;
	border-radius: 1.7cqw;
	background: #ffe126;
	color: #000;
	font-size: clamp(14px, 4.5vw, 34px);
	font-size: 4.3cqw;
	font-weight: 900;
	cursor: pointer;
}
.seat-form button:disabled {
	opacity: .65;
	cursor: wait;
}
.seat-status {
	position: absolute;
	left: 7%;
	top: 36.7%;
	width: 86%;
	margin: 0;
	color: #fff;
	font-size: clamp(10px, 2.5vw, 18px);
	font-size: 2.35cqw;
	line-height: 1.5;
	text-align: center;
	text-shadow: 0 1px 3px #000;
}
.seat-status.is-error {
	color: #ffdf99;
}
.seat-result {
	position: absolute;
	left: 25.74%;
	top: 39.79%;
	width: 45.83%;
	height: 5.27%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .35em;
	padding: 0 2%;
	border: 0;
	border-radius: 0;
	background: #ffe126;
	color: #000;
	font-size: clamp(13px, 3.8vw, 29px);
	font-size: 3.7cqw;
	font-weight: 900;
	opacity: 1;
}
.seat-result:enabled {
	cursor: pointer;
}
.seat-result strong {
	max-width: 55%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.seat-result.has-custom-label {
	left: 11.94%;
	width: 76.11%;
}
.table-label {
	position: absolute;
	width: 7.15%;
	height: 4.02%;
	display: flex;
	align-items: center;
	justify-content: center;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	background: #fff;
	color: #356c8a;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(12px, 3.8vw, 28px);
	font-size: 3.6cqw;
	font-weight: 700;
	text-align: center;
	transition: box-shadow .18s, background-color .18s;
}
.table-label > span {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	max-width: 94%;
	overflow: hidden;
	overflow-wrap: anywhere;
	line-height: 1.1;
}
.table-label.is-custom {
	font-family: Arial, "Malgun Gothic", sans-serif;
	font-size: clamp(8px, 2.3vw, 17px);
	font-size: 2.1cqw;
}
.table-label.is-active {
	z-index: 2;
	background: #ffe126;
	color: #15120d;
	box-shadow: 0 0 0 .6cqw #ffe126, 0 0 0 1.2cqw rgba(255, 225, 38, .32);
}
.seat-dialog {
	width: min(88%, 440px);
	max-height: 80vh;
	padding: 28px;
	border: 2px solid #e6be39;
	border-radius: 16px;
	background: #fffdf6;
	color: #1a1711;
	line-height: 1.7;
}
.seat-dialog::backdrop {
	background: rgba(0, 0, 0, .7);
}
.seat-dialog h2 {
	margin: 0 0 12px;
	font-size: 22px;
}
.seat-dialog p {
	font-size: 15px;
}
.seat-dialog ul {
	display: grid;
	gap: 8px;
	padding: 0;
	list-style: none;
}
.seat-dialog li {
	padding: 10px 14px;
	border: 1px solid #e5d69b;
	border-radius: 8px;
	background: #fff2ba;
	font-weight: 700;
	overflow-wrap: anywhere;
}
.seat-dialog button {
	width: 100%;
	margin-top: 12px;
	padding: 12px;
	border: 0;
	border-radius: 8px;
	background: #ffe126;
	color: #111;
	font-weight: 700;
	cursor: pointer;
}
.no-script {
	position: absolute;
	top: 36.7%;
	left: 5%;
	width: 90%;
	margin: 0;
	background: #17130e;
	font-size: 2.5cqw;
	text-align: center;
}
@media (prefers-reduced-motion: reduce) {
	.table-label {
		transition: none;
	}
}
