/* ==========================================================================
   VLS — VILLAGE LIFE SHORTS (PAPER-CUT CONSTRUCTION-PAPER UI)
   ========================================================================== */

@font-face {
	font-family: 'Kunstraub';
	src: url('assets/fonts/Kunstraub.ttf') format('truetype');
	font-display: swap;
}

@font-face {
	font-family: 'LilitaOne';
	src: url('assets/fonts/LilitaOne-Regular.ttf') format('truetype');
	font-display: swap;
}

@font-face {
	font-family: 'Boogaloo';
	src: url('assets/fonts/Boogaloo-Regular.ttf') format('truetype');
	font-display: swap;
}

* {
	box-sizing: border-box;
	-webkit-tap-highlight-color: transparent;
}

html,
body {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background: #080a12;
	font-family: 'LilitaOne', system-ui, -apple-system, sans-serif;
	color: #18181f;
	user-select: none;
	-webkit-user-select: none;
}

[hidden] {
	display: none !important;
}

#vls-canvas {
	position: fixed;
	inset: 0;
	width: 100vw;
	height: 100dvh;
	display: block;
	cursor: pointer;
	touch-action: none;
}

/* ==========================================================================
   1. SIGNATURE EIN.INK LOADER
   ========================================================================== */
.vls-loader {
	position: fixed;
	inset: 0;
	z-index: 9000;
	background: radial-gradient(circle at 50% 45%, #151b30 0%, #080a12 76%);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	transition: opacity 0.42s ease, visibility 0.42s ease;
}

.vls-loader.is-fading {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.vls-loader__brand {
	text-align: center;
	margin-bottom: 24px;
	animation: vls-float 2.6s ease-in-out infinite alternate;
}

.vls-loader__title {
	margin: 0;
	font-family: 'Kunstraub', sans-serif;
	font-size: clamp(36px, 9vmin, 64px);
	letter-spacing: 0.08em;
	color: #ffe666;
	text-shadow: 0 4px 0 #04060d, 0 0 24px rgba(255, 214, 70, 0.55);
}

.vls-loader__dot {
	color: #ff1337;
	text-shadow: 0 4px 0 #04060d, 0 0 18px #ff1337;
}

.vls-loader__sub {
	margin-top: 8px;
	font-family: 'Kunstraub', sans-serif;
	font-size: clamp(12px, 2.5vmin, 17px);
	letter-spacing: 0.24em;
	color: #5eead4;
}

.vls-loader__bar-shell {
	width: min(280px, 72vw);
	height: 10px;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.9);
	border: 2px solid rgba(255, 19, 55, 0.65);
	overflow: hidden;
	box-shadow: 0 0 18px rgba(255, 19, 55, 0.3);
}

.vls-loader__bar-fill {
	height: 100%;
	background: linear-gradient(90deg, #ff1337 0%, #ffd43b 100%);
	transition: width 0.18s ease;
}

.vls-loader__pct {
	margin-top: 12px;
	font-size: 13px;
	letter-spacing: 0.14em;
	color: rgba(241, 245, 249, 0.78);
}

/* ==========================================================================
   SHARED CARTOON PAPER-CUTOUT PILLS & BUTTONS
   ========================================================================== */
.vls-cutout-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 15px;
	font-family: 'LilitaOne', sans-serif;
	font-size: clamp(13px, 1.8vmin, 16px);
	letter-spacing: 0.04em;
	text-decoration: none;
	color: #ffffff;
	background: #232733;
	border: 3.5px solid #12131a;
	border-radius: 12px;
	box-shadow: 4px 4px 0 #12131a;
	cursor: pointer;
	transform: rotate(-0.6deg);
	transition: transform 0.12s cubic-bezier(0.2, 0.9, 0.3, 1.3), box-shadow 0.12s ease;
}

.vls-cutout-pill:hover {
	transform: translate(-2px, -2px) rotate(0.6deg) scale(1.04);
	box-shadow: 6px 6px 0 #12131a;
}

.vls-cutout-pill:active {
	transform: translate(2px, 2px);
	box-shadow: 2px 2px 0 #12131a;
}

.vls-cutout-pill--yt {
	background: #ff1337;
}

.vls-cutout-pill--green {
	background: #2b9e44;
}

.vls-cutout-pill--blue {
	background: #1971c2;
}

.vls-cutout-pill--gold {
	background: #ffd43b;
	color: #16161d;
}

.vls-cutout-pill--skip {
	position: fixed;
	top: max(16px, env(safe-area-inset-top));
	right: max(18px, env(safe-area-inset-right));
	background: #ffd43b;
	color: #16161d;
	z-index: 65;
}

/* ==========================================================================
   2. CARTOON PAPER-CUT MAIN MENU
   ========================================================================== */
.vls-menu {
	position: fixed;
	inset: 0;
	z-index: 40;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	background: radial-gradient(circle at 50% 48%, rgba(10, 15, 26, 0.22) 0%, rgba(6, 9, 18, 0.68) 100%);
	padding: max(14px, env(safe-area-inset-top)) 18px max(22px, env(safe-area-inset-bottom));
}

.vls-menu__topbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
}

.vls-menu__center {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: clamp(4px, 1.4vh, 14px);
	max-height: calc(100dvh - 70px);
}

.vls-menu__logo-wrap {
	animation: vls-paper-bob 2.8s ease-in-out infinite alternate;
	filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.48));
}

.vls-menu__logo {
	display: block;
	width: min(440px, 78vw);
	max-height: 36dvh;
	object-fit: contain;
}

.vls-menu__hero-char {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	cursor: pointer;
	transform-origin: bottom center;
	animation: vls-sp-idle 1.4s steps(2, end) infinite;
}

.vls-menu__hero-char.is-bouncing {
	animation: vls-sp-hop 0.36s ease-out;
}

.vls-menu__speech-tag {
	background: #fffbeb;
	color: #16161d;
	border: 3.5px solid #14141c;
	border-radius: 14px;
	padding: 5px 14px;
	font-size: clamp(12px, 1.8vmin, 15px);
	box-shadow: 4px 4px 0 #14141c;
	margin-bottom: 4px;
	transform: rotate(-1.5deg);
}

.vls-menu__sj {
	display: block;
	height: clamp(145px, 27dvh, 235px);
	width: auto;
	object-fit: contain;
	filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.4));
}

.vls-start-btn {
	position: relative;
	min-width: min(290px, 74vw);
	padding: 15px 42px;
	font-family: 'LilitaOne', sans-serif;
	font-size: clamp(28px, 4.6vmin, 42px);
	letter-spacing: 0.06em;
	color: #ffffff;
	background: #ff1337;
	border: 5px solid #121218;
	border-radius: 16px;
	box-shadow: 0 8px 0 #121218, 0 14px 26px rgba(0, 0, 0, 0.48);
	cursor: pointer;
	transform: rotate(-1deg);
	transition: transform 0.12s cubic-bezier(0.2, 0.9, 0.3, 1.4), box-shadow 0.12s ease, background 0.12s ease;
}

.vls-start-btn:hover {
	background: #ff2949;
	transform: translateY(-4px) rotate(0.8deg) scale(1.05);
	box-shadow: 0 12px 0 #121218, 0 18px 30px rgba(255, 19, 55, 0.45);
}

.vls-start-btn:active {
	transform: translateY(5px) rotate(0deg);
	box-shadow: 0 3px 0 #121218;
}

.vls-start-btn__label {
	text-shadow: 3px 3px 0 #121218;
}

/* ==========================================================================
   3. ENGLISH INTRO CUTSCENE (SPLASH + ROBOT & SJ DIALOGUE)
   ========================================================================== */
.vls-intro {
	position: fixed;
	inset: 0;
	z-index: 60;
	pointer-events: auto;
}

.vls-intro__splash {
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 50% 45%, rgba(28, 34, 54, 0.94) 0%, rgba(9, 12, 20, 0.97) 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	animation: vls-pop-in 0.38s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.vls-intro__splash-card {
	text-align: center;
	background: #fff9db;
	border: 6px solid #14141c;
	border-radius: 24px;
	padding: clamp(20px, 4vmin, 36px) clamp(24px, 6vmin, 54px);
	box-shadow: 10px 10px 0 #14141c;
	transform: rotate(-1.2deg);
	max-width: 640px;
}

.vls-intro__kicker {
	display: inline-block;
	background: #ff1337;
	color: #ffffff;
	padding: 5px 14px;
	border: 3px solid #14141c;
	border-radius: 999px;
	font-size: clamp(12px, 2vmin, 15px);
	letter-spacing: 0.08em;
}

.vls-intro__splash-logo {
	display: block;
	width: min(380px, 72vw);
	margin: 14px auto;
}

.vls-intro__splash-sub {
	margin: 6px 0 0;
	font-size: clamp(18px, 3vmin, 26px);
	color: #181820;
}

.vls-intro__stage {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 18px max(16px, env(safe-area-inset-left)) max(18px, env(safe-area-inset-bottom));
	background: linear-gradient(to top, rgba(8, 11, 20, 0.72) 0%, rgba(8, 11, 20, 0.0) 52%);
}

.vls-intro__presenter {
	display: flex;
	align-items: flex-end;
	gap: clamp(10px, 2.2vw, 24px);
	max-width: 980px;
	width: 100%;
	margin: 0 auto;
}

.vls-intro__robot-wrap {
	flex: 0 0 auto;
	transform-origin: bottom center;
}

.vls-intro__robot-wrap.is-talking-robot {
	animation: vls-sp-talk 0.22s steps(2, end) infinite;
}

.vls-intro__robot-wrap.is-talking-sj {
	animation: none;
}

.vls-intro__robot {
	display: block;
	height: clamp(150px, 29dvh, 265px);
	width: auto;
	filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.55));
}

.vls-intro__bubble {
	flex: 1;
	background: #fffdf2;
	border: 5px solid #14141c;
	border-radius: 22px;
	padding: clamp(14px, 2.4vmin, 22px) clamp(16px, 2.8vmin, 28px);
	box-shadow: 8px 8px 0 #14141c;
	transform: rotate(-0.5deg);
}

.vls-intro__speaker {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 8px;
	border: 3px solid #14141c;
	background: #ffd43b;
	color: #14141c;
	font-size: clamp(12px, 1.9vmin, 15px);
	letter-spacing: 0.05em;
	margin-bottom: 8px;
}

.vls-intro__speaker.is-robot {
	background: #38f2ff;
}

.vls-intro__text {
	margin: 0;
	font-family: 'Boogaloo', 'LilitaOne', sans-serif;
	font-size: clamp(19px, 3vmin, 27px);
	line-height: 1.26;
	color: #15151d;
}

.vls-intro__controls {
	margin-top: 12px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.vls-intro__dots {
	font-size: 14px;
	color: #525866;
	letter-spacing: 0.06em;
}

.vls-mini-btn {
	padding: 7px 16px;
	font-family: 'LilitaOne', sans-serif;
	font-size: 15px;
	background: #ff1337;
	color: #ffffff;
	border: 3px solid #14141c;
	border-radius: 10px;
	box-shadow: 3px 3px 0 #14141c;
	cursor: pointer;
}

/* ==========================================================================
   4. PLAYABLE WORLD TOP HUD & BOTTOM BAR
   ========================================================================== */
.vls-hud {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 35;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
	padding: max(10px, env(safe-area-inset-top)) 14px 8px;
	pointer-events: none;
}

.vls-hud__panel {
	display: contents;
}

.vls-hud-mobile-toggle {
	display: none;
}

.vls-hud__left,
.vls-hud__right {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	pointer-events: auto;
}

.vls-bottom-hint {
	position: fixed;
	left: 50%;
	bottom: max(12px, env(safe-area-inset-bottom));
	transform: translateX(-50%);
	z-index: 35;
	background: rgba(20, 22, 30, 0.92);
	color: #f8fafc;
	border: 3px solid #111218;
	border-radius: 999px;
	padding: 7px 18px;
	font-family: 'Boogaloo', sans-serif;
	font-size: clamp(13px, 1.9vmin, 17px);
	letter-spacing: 0.03em;
	box-shadow: 4px 4px 0 #111218;
	pointer-events: none;
	white-space: nowrap;
	max-width: 94vw;
	overflow: hidden;
	text-overflow: ellipsis;
}

.vls-bottom-hint strong {
	color: #ffd43b;
}

.vls-toast {
	position: fixed;
	bottom: max(20px, env(safe-area-inset-bottom));
	left: 50%;
	transform: translateX(-50%) rotate(-0.8deg);
	z-index: 80;
	background: #ffd43b;
	color: #14141c;
	border: 4px solid #14141c;
	border-radius: 14px;
	padding: 9px 20px;
	font-size: 16px;
	box-shadow: 5px 5px 0 #14141c;
	pointer-events: none;
	white-space: nowrap;
	max-width: 92vw;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* ==========================================================================
   5. MODALS (SHORTS PLAYER, PLOT OFFER SLIDER & LORE INFO)
   ========================================================================== */
.vls-modal-backdrop {
	position: fixed;
	inset: 0;
	z-index: 100;
	background: rgba(8, 10, 18, 0.80);
	backdrop-filter: blur(4px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px;
	overflow-y: auto;
}

.vls-modal-card {
	width: 100%;
	background: #fffdf4;
	border: 5px solid #14141c;
	border-radius: 22px;
	box-shadow: 10px 10px 0 #14141c;
	overflow: hidden;
	animation: vls-pop-in 0.22s cubic-bezier(0.18, 0.89, 0.32, 1.25);
	user-select: text;
	-webkit-user-select: text;
}

.vls-modal-card--short {
	max-width: min(460px, 94vw);
	background: #0b0d14;
}

.vls-modal-card--plot {
	max-width: 620px;
}

.vls-modal-card--info {
	max-width: 500px;
}

.vls-modal-card__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 18px;
	border-bottom: 4px solid #14141c;
	color: #ffffff;
}

.vls-modal-card__header--red {
	background: #ff1337;
}

.vls-modal-card__header--gold {
	background: #ffd43b;
	color: #14141c;
}

.vls-modal-card__header--blue {
	background: #1971c2;
}

.vls-modal-card__title {
	margin: 3px 0 0;
	font-size: clamp(20px, 3vmin, 26px);
	line-height: 1.1;
}

.vls-modal-card__title--dark {
	color: #14141c;
}

.vls-badge {
	display: inline-block;
	padding: 2px 9px;
	font-size: 12px;
	border-radius: 6px;
	background: rgba(0, 0, 0, 0.28);
	color: #ffffff;
	letter-spacing: 0.06em;
}

.vls-badge--dark {
	background: #14141c;
	color: #ffd43b;
}

.vls-close-x {
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	border: 3.5px solid #14141c;
	background: #232733;
	color: #ffffff;
	font-family: 'LilitaOne', sans-serif;
	font-size: 28px;
	line-height: 1;
	padding: 0 0 2px;
	cursor: pointer;
	box-shadow: 3px 3px 0 #14141c;
}

.vls-close-x--dark {
	background: #ffffff;
	color: #14141c;
}

.vls-short-player-shell {
	background: #0b0d14;
	padding: 10px 10px 6px;
	display: flex;
	justify-content: center;
}

.vls-short-iframe-mount {
	width: 100%;
	max-width: 430px;
	aspect-ratio: 9 / 16;
	max-height: min(79dvh, 740px);
	border-radius: 14px;
	overflow: hidden;
	background: #05060a;
	border: 3px solid #1e2330;
	position: relative;
}

.vls-short-iframe-mount iframe {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

.vls-short-preview-card {
	width: 100%;
	height: 100%;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	background: #0b0d14;
}

.vls-short-preview-card img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vls-short-preview-card__overlay {
	position: relative;
	z-index: 2;
	padding: 18px 16px;
	background: linear-gradient(180deg, rgba(8, 10, 18, 0) 0%, rgba(8, 10, 18, 0.92) 55%);
	color: #ffffff;
	text-align: center;
}

.vls-modal-card__footer.vls-modal-card__footer--short {
	background: #141720;
	border-top: 2px solid rgba(255, 255, 255, 0.08);
	justify-content: center;
	align-items: center;
	padding: 12px 14px 14px;
}

/* Plot Form & Game-Based Slider */
.vls-plot-form {
	padding: 16px 20px 18px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.vls-hp {
	position: absolute;
	left: -9999px;
	opacity: 0;
	pointer-events: none;
}

.vls-plot-form__intro {
	margin: 0;
	font-family: 'Boogaloo', sans-serif;
	font-size: 18px;
	line-height: 1.3;
	color: #262936;
}

.vls-field {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.vls-field__label {
	font-size: 14px;
	letter-spacing: 0.04em;
	color: #181820;
}

.vls-field__textarea,
.vls-field__input {
	width: 100%;
	font-family: 'Boogaloo', sans-serif;
	font-size: 18px;
	padding: 10px 12px;
	border: 3.5px solid #14141c;
	border-radius: 12px;
	background: #ffffff;
	color: #14141c;
	box-shadow: inset 0 2px 0 rgba(0, 0, 0, 0.06);
}

.vls-field__textarea:focus,
.vls-field__input:focus {
	outline: none;
	border-color: #ff1337;
	background: #fffef8;
}

.vls-slider-card {
	background: #fff3bf;
	border: 4px solid #14141c;
	border-radius: 16px;
	padding: 12px 15px 14px;
	box-shadow: 5px 5px 0 #14141c;
}

.vls-slider-card.is-direct-buy {
	background: linear-gradient(135deg, #fff3bf 0%, #ffe066 100%);
}

.vls-slider-card__top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
}

.vls-slider-card__title {
	font-size: 15px;
	color: #14141c;
}

.vls-currency-switch {
	display: inline-flex;
	border: 3px solid #14141c;
	border-radius: 9px;
	overflow: hidden;
	background: #ffffff;
}

.vls-curr-btn {
	border: 0;
	padding: 4px 10px;
	font-family: 'LilitaOne', sans-serif;
	font-size: 13px;
	background: transparent;
	color: #14141c;
	cursor: pointer;
}

.vls-curr-btn.is-active {
	background: #14141c;
	color: #ffd43b;
}

.vls-slider-readout-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 10px;
}

.vls-offer-amount-pill {
	font-size: 25px;
	background: #14141c;
	color: #ffd43b;
	padding: 4px 14px;
	border-radius: 12px;
	letter-spacing: 0.03em;
	min-width: 124px;
	text-align: center;
}

.vls-offer-amount-pill.is-patreon {
	background: #f96854;
	color: #ffffff;
	border: 3px solid #14141c;
}

.vls-tier-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.vls-tier-btn {
	padding: 6px 11px;
	font-family: 'LilitaOne', sans-serif;
	font-size: 12.5px;
	background: #ffffff;
	color: #14141c;
	border: 3px solid #14141c;
	border-radius: 10px;
	box-shadow: 2.5px 2.5px 0 #14141c;
	cursor: pointer;
	transition: transform 0.12s cubic-bezier(0.22, 1.35, 0.36, 1), background 0.12s ease;
}

.vls-tier-btn:hover {
	transform: translateY(-2px);
}

.vls-tier-btn[data-snap-tier="free"].is-active {
	background: #2b9e44;
	color: #ffffff;
}

.vls-tier-btn[data-snap-tier="patreon"].is-active {
	background: #f96854;
	color: #ffffff;
}

.vls-tier-btn[data-snap-tier="direct_buy"].is-active {
	background: #ff1337;
	color: #ffffff;
}

.vls-game-slider {
	position: relative;
	height: 54px;
	display: flex;
	align-items: center;
	margin: 2px 10px;
}

.vls-game-slider__track {
	width: 100%;
	height: 22px;
	background: #2b303c;
	border: 3.5px solid #14141c;
	border-radius: 999px;
	overflow: hidden;
}

.vls-game-slider__fill {
	height: 100%;
	background: linear-gradient(90deg, #2b9e44 0%, #f96854 50%, #ff1337 100%);
	transition: width 0.22s cubic-bezier(0.22, 1.35, 0.36, 1);
}

.vls-game-slider__ticks {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 2;
}

.vls-tick {
	position: absolute;
	top: 50%;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #fffdf4;
	border: 3px solid #14141c;
	transform: translate(-50%, -50%);
}

.vls-tick--left { left: 4%; }
.vls-tick--mid { left: 50%; }
.vls-tick--right { left: 96%; }

.vls-game-slider__input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
	z-index: 4;
}

.vls-game-slider__knob {
	position: absolute;
	top: 50%;
	width: 52px;
	height: 52px;
	transform: translate(-50%, -50%);
	pointer-events: none;
	z-index: 3;
	transition: left 0.22s cubic-bezier(0.22, 1.35, 0.36, 1), transform 0.12s ease;
}

.vls-game-slider__knob img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.35));
}

.vls-slider-stops-labels {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 11.5px;
	color: #334155;
	padding: 0 4px;
	margin-top: 2px;
	letter-spacing: 0.03em;
}

.vls-slider-stops-labels span.is-active {
	color: #14141c;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.vls-offer-tier-status {
	margin-top: 8px;
	font-family: 'Boogaloo', sans-serif;
	font-size: 17.5px;
	color: #1e293b;
}

.vls-offer-tier-status.is-direct {
	color: #b91c1c;
	font-weight: 700;
}

.vls-offer-tier-status.is-patreon {
	color: #9a3412;
	font-weight: 700;
}

.vls-plot-feedback {
	padding: 10px 14px;
	border-radius: 12px;
	border: 3px solid #14141c;
	font-family: 'Boogaloo', sans-serif;
	font-size: 18px;
}

.vls-plot-feedback.is-ok {
	background: #d3f9d8;
	color: #14532d;
}

.vls-plot-feedback.is-err {
	background: #ffe3e3;
	color: #7f1d1d;
}

.vls-reserved-view,
.vls-plot-reserved-view {
	padding: 18px 20px;
}

.vls-reserved-banner {
	display: flex;
	align-items: center;
	gap: 16px;
	background: #fff3bf;
	border: 3.5px solid #14141c;
	border-radius: 16px;
	padding: 14px;
	margin-bottom: 16px;
}

.vls-reserved-banner__img {
	width: 112px;
	height: auto;
	flex-shrink: 0;
}

.vls-reserved-banner__id {
	font-size: 20px;
	color: #b45309;
	margin-bottom: 4px;
}

.vls-reserved-banner__desc {
	margin: 0;
	font-family: 'Boogaloo', sans-serif;
	font-size: 18px;
	line-height: 1.3;
}

.vls-info-body {
	padding: 18px 20px;
	display: flex;
	align-items: center;
	gap: 16px;
}

.vls-info-body__img {
	width: 96px;
	height: auto;
	flex-shrink: 0;
}

.vls-info-body__text {
	margin: 0;
	font-family: 'Boogaloo', sans-serif;
	font-size: 20px;
	line-height: 1.32;
}

.vls-modal-card__footer {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 10px;
	padding: 12px 18px 16px;
	border-top: 3px dashed rgba(20, 20, 28, 0.18);
}

.vls-action-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 11px 20px;
	font-family: 'LilitaOne', sans-serif;
	font-size: 16px;
	letter-spacing: 0.04em;
	text-decoration: none;
	color: #ffffff;
	background: #232733;
	border: 3.5px solid #14141c;
	border-radius: 12px;
	box-shadow: 4px 4px 0 #14141c;
	cursor: pointer;
}

.vls-action-btn--red {
	background: #ff1337;
}

.vls-action-btn--green {
	background: #2b9e44;
}

.vls-action-btn--wide {
	flex: 1;
}

@keyframes vls-float {
	0% { transform: translateY(0px); }
	100% { transform: translateY(-5px); }
}

@keyframes vls-paper-bob {
	0% { transform: translateY(0px) rotate(-1deg); }
	100% { transform: translateY(-6px) rotate(1deg); }
}

@keyframes vls-sp-idle {
	0% { transform: translateY(0px) rotate(-0.8deg); }
	100% { transform: translateY(-3px) rotate(0.8deg); }
}

@keyframes vls-sp-talk {
	0% { transform: translateY(0px) rotate(-1.5deg) scaleY(1); }
	100% { transform: translateY(-5px) rotate(1.5deg) scaleY(1.03); }
}

@keyframes vls-sp-hop {
	0% { transform: translateY(0) scale(1); }
	45% { transform: translateY(-20px) rotate(-4deg) scale(1.06); }
	100% { transform: translateY(0) scale(1); }
}

@keyframes vls-pop-in {
	0% { transform: scale(0.86) rotate(-2deg); opacity: 0; }
	100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

@media (max-width: 680px) {
	.vls-intro__presenter {
		flex-direction: column;
		align-items: center;
	}
	.vls-intro__robot {
		height: 138px;
	}
	.vls-bottom-hint {
		font-size: 12px;
		padding: 6px 12px;
	}
}

/* ==========================================================================
   6. SVG INFINITY SYMBOL & CUSTOM HUMAN CHECKER (RUNNER + CHARACTER PUZZLE)
   ========================================================================== */
.vls-plots-pill-inner {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.vls-inf-svg {
	width: 24px;
	height: 13px;
	display: inline-block;
	vertical-align: middle;
	margin-top: -1px;
}

.vls-modal-card--captcha {
	max-width: 540px;
}

.vls-captcha-tabs {
	display: flex;
	gap: 8px;
	padding: 12px 18px 0;
}

.vls-cap-tab {
	flex: 1;
	padding: 8px 10px;
	font-family: 'LilitaOne', sans-serif;
	font-size: 13px;
	background: #e2e8f0;
	color: #14141c;
	border: 3px solid #14141c;
	border-radius: 10px;
	cursor: pointer;
}

.vls-cap-tab.is-active {
	background: #ffd43b;
	box-shadow: 3px 3px 0 #14141c;
}

.vls-captcha-pane {
	padding: 12px 18px 16px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.vls-captcha-hint {
	margin: 0;
	font-family: 'Boogaloo', sans-serif;
	font-size: 18px;
	color: #1e293b;
}

.vls-captcha-canvas {
	width: 100%;
	height: auto;
	border: 4px solid #14141c;
	border-radius: 14px;
	background: #8bd3f7;
	cursor: pointer;
	display: block;
}

.vls-captcha-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.vls-captcha-score {
	font-size: 17px;
	color: #14141c;
}

.vls-puzzle-slider-wrap {
	padding: 4px 2px;
}

.vls-puzzle-range {
	width: 100%;
	height: 14px;
	accent-color: #ff1337;
	cursor: grab;
}

.vls-hud-pill-inner {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.vls-hud-svg {
	width: 18px;
	height: 18px;
	display: inline-block;
	flex-shrink: 0;
}

.vls-hud-svg--yt {
	width: 24px;
	height: 19px;
}

.vls-intro__robot-wrap.is-hyped {
	animation: vlsRobotHyped 0.34s ease-in-out infinite alternate !important;
}

@keyframes vlsRobotHyped {
	0% { transform: translateY(0) rotate(-3deg) scale(1.0); }
	50% { transform: translateY(-14px) rotate(3.5deg) scale(1.05); }
	100% { transform: translateY(-4px) rotate(-2deg) scale(1.02); }
}

/* ==========================================================================
   7. MOBILE HUD: SINGLE BOTTOM-CENTERED MENU BUTTON + ORDERLY UPWARD DRAWER
   ========================================================================== */
@keyframes vls-drawer-up {
	0% {
		opacity: 0;
		transform: translateY(14px) scale(0.95);
	}
	100% {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@media (max-width: 820px), (max-height: 500px) {
	.vls-hud {
		top: auto;
		bottom: max(14px, env(safe-area-inset-bottom));
		left: 0;
		right: 0;
		flex-direction: column;
		flex-wrap: nowrap;
		align-items: center;
		justify-content: flex-end;
		gap: 10px;
		padding: 0 12px;
		pointer-events: none;
		z-index: 45;
	}

	.vls-hud-mobile-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		pointer-events: auto;
		padding: 11px 30px;
		min-width: 148px;
		font-size: 17px;
		letter-spacing: 0.06em;
		border-width: 4px;
		border-radius: 14px;
		box-shadow: 4px 4px 0 #12131a;
		transform: rotate(0deg);
	}

	.vls-hud-mobile-toggle:hover {
		transform: translateY(-2px);
		box-shadow: 5px 5px 0 #12131a;
	}

	.vls-hud-svg--close {
		display: none;
	}

	.vls-hud.is-mobile-open .vls-hud-svg--burger {
		display: none;
	}

	.vls-hud.is-mobile-open .vls-hud-svg--close {
		display: inline-block;
	}

	.vls-hud.is-mobile-open .vls-hud-mobile-toggle {
		background: #ff1337;
		color: #ffffff;
	}

	.vls-hud__panel {
		display: none;
		width: min(94vw, 372px);
		max-height: calc(100dvh - 110px);
		overflow-y: auto;
		padding: 12px;
		background: rgba(20, 22, 30, 0.96);
		border: 4px solid #12131a;
		border-radius: 18px;
		box-shadow: 6px 6px 0 #12131a;
		pointer-events: auto;
	}

	.vls-hud.is-mobile-open .vls-hud__panel {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
		animation: vls-drawer-up 0.16s cubic-bezier(0.2, 0.9, 0.3, 1.15);
	}

	.vls-hud__left,
	.vls-hud__right {
		display: contents;
	}

	.vls-hud__panel .vls-cutout-pill {
		width: 100%;
		justify-content: center;
		text-align: center;
		padding: 10px 10px;
		font-size: 13.5px;
		line-height: 1.15;
		border-width: 3px;
		box-shadow: 3px 3px 0 #0d0e14;
		transform: none;
		white-space: nowrap;
	}

	.vls-hud__panel .vls-cutout-pill:hover {
		transform: translateY(-1px);
		box-shadow: 4px 4px 0 #0d0e14;
	}

	#vls-hud-patreon-btn {
		grid-column: 1 / -1;
	}

	.vls-toast {
		top: max(12px, env(safe-area-inset-top));
		bottom: auto;
		font-size: 14px;
		padding: 8px 16px;
		transform: translateX(-50%);
	}
}

@media (max-height: 500px) and (min-width: 560px) {
	.vls-hud__panel {
		width: min(92vw, 560px);
	}

	.vls-hud.is-mobile-open .vls-hud__panel {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	#vls-hud-patreon-btn {
		grid-column: span 2;
	}
}

