/*
 * Lemonade Stand Tycoon: faces, the character builder and stand scenes.
 * Used on the game page and on the character edit screen in wp-admin, so
 * nothing here depends on the game's own stylesheet.
 */

/* ---------- Face portraits: stacked 48px layers, scaled by --k ---------- */

.lst-face {
	--k: 1;
	position: relative;
	display: inline-block;
	flex: none;
	width: calc( 48px * var(--k) );
	height: calc( 48px * var(--k) );
	overflow: hidden;
	vertical-align: middle;
	image-rendering: pixelated;
}

/* A face the player has made bigger or smaller, or moved off centre. --fx and --fy are in the portrait's own pixels. */
.lst-face-moved {
	transform: translate( calc( var(--fx, 0) * var(--k) * 1px ), calc( var(--fy, 0) * var(--k) * 1px ) ) scale( var(--fz, 1) );
}

.lst-face i {
	position: absolute;
	inset: 0;
	background-repeat: no-repeat;
	background-position: 0 0;
	background-size: calc( 480px * var(--k) ) calc( 48px * var(--k) );
}

/* Each portrait sheet holds a ten-frame blink. Play it once every few seconds. */
.lst-face-live i {
	animation: lst-blink 4.2s steps( 1 ) infinite;
}

@keyframes lst-blink {
	0%, 86% { background-position-x: 0; }
	87% { background-position-x: calc( -48px * var(--k) ); }
	88.5% { background-position-x: calc( -96px * var(--k) ); }
	90% { background-position-x: calc( -144px * var(--k) ); }
	91.5% { background-position-x: calc( -192px * var(--k) ); }
	93% { background-position-x: calc( -240px * var(--k) ); }
	94.5% { background-position-x: calc( -288px * var(--k) ); }
	96% { background-position-x: calc( -336px * var(--k) ); }
	97.5% { background-position-x: calc( -384px * var(--k) ); }
	99% { background-position-x: calc( -432px * var(--k) ); }
}

/* A front-facing whole character: one 32x48 frame cut from the layer sheets. */
.lst-bodythumb {
	--k: 2;
	position: relative;
	display: inline-block;
	flex: none;
	width: calc( 32px * var(--k) );
	height: calc( 40px * var(--k) );
	overflow: hidden;
	vertical-align: middle;
	image-rendering: pixelated;
}

.lst-bodythumb i {
	position: absolute;
	inset: 0;
	background-repeat: no-repeat;
	background-size: calc( 768px * var(--k) ) calc( 96px * var(--k) );
	background-position: calc( -576px * var(--k) ) calc( -8px * var(--k) );
}

/* ---------- Character builder ---------- */

.lst-look {
	display: grid;
	grid-template-columns: minmax( 0, 1fr );
	gap: 14px;
	color: #17302b;
	font-family: "LST Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 15px;
	line-height: 1.4;
}

.lst-look-preview {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px 20px;
	padding: 14px;
	border: 2px solid #17302b;
	border-radius: 12px;
	background: #cfebf7;
}

.lst-look-face {
	cursor: grab;
	touch-action: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 88px;
	height: 88px;
	border: 2px solid #17302b;
	border-radius: 50%;
	background: #fffef8;
	overflow: hidden;
}

.lst-look-body {
	width: 64px;
	height: 96px;
	image-rendering: pixelated;
}

.lst-look .lst-look-random {
	min-height: 44px;
	margin: 0;
	padding: 8px 16px;
	border: 2px solid #17302b;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 3px 0 #17302b;
	color: #17302b;
	font: inherit;
	font-weight: 800;
	letter-spacing: normal;
	text-transform: none;
	cursor: pointer;
}

.lst-look .lst-look-random:hover {
	background: #fff7d1;
	color: #17302b;
}

.lst-look .lst-look-group {
	min-width: 0;
	margin: 0 0 10px;
	padding: 0;
	border: 0;
}

.lst-look .lst-look-group legend {
	margin: 0 0 4px;
	padding: 0;
	color: #17302b;
	font-size: 15px;
	font-weight: 800;
}

.lst-look-opts {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

/* Long lists scroll inside their own box so the dialog stays a sensible height. */
.lst-look-scroll {
	max-height: 132px;
	padding: 4px;
	border: 1px solid #d6e3de;
	border-radius: 10px;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.lst-look .lst-look-opt {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 52px;
	min-height: 52px;
	margin: 0;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 10px;
	background: #eef3f1;
	box-shadow: none;
	color: #17302b;
	font: inherit;
	line-height: 1;
	cursor: pointer;
}

.lst-look .lst-look-opt:hover {
	border-color: #8ea09b;
	background: #fff;
}

.lst-look .lst-look-opt[aria-pressed="true"] {
	border-color: #17302b;
	background: #ffd23f;
}

.lst-look .lst-look-opt:focus-visible,
.lst-look .lst-look-random:focus-visible {
	outline: 3px solid #0b6fb8;
	outline-offset: 2px;
}

.lst-look-none {
	padding: 0 10px;
	font-size: 14px;
	font-weight: 800;
}

/* Sliders: hair tone, and where the face sits in the portrait. */
.lst-look .lst-look-slider {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	max-width: 420px;
	min-height: 40px;
	margin: 0;
	color: #50645f;
	font-size: 13px;
	font-weight: 700;
}

.lst-look .lst-look-slider input[type="range"] {
	flex: 1 1 auto;
	min-width: 0;
	height: 28px;
	margin: 0;
	padding: 0;
	accent-color: #1f7a4d;
	cursor: pointer;
}

.lst-look .lst-look-slider input[type="range"]:focus-visible {
	outline: 3px solid #0b6fb8;
	outline-offset: 2px;
}

.lst-look-end {
	flex: 0 0 4.2em;
}

.lst-look-end:last-child {
	text-align: right;
}

.lst-look .lst-look-hint {
	width: 100%;
	margin: 2px 0 0;
	color: #50645f;
	font-size: 13px;
}

.lst-look .lst-look-reset {
	min-height: 0;
	margin: 0 0 0 4px;
	padding: 2px 4px;
	border: 0;
	border-radius: 4px;
	background: none;
	box-shadow: none;
	color: #1f7a4d;
	font: inherit;
	font-weight: 800;
	letter-spacing: normal;
	text-decoration: underline;
	text-transform: none;
	cursor: pointer;
}

.lst-look .lst-look-reset[disabled] {
	color: #8ea09b;
	text-decoration: none;
	cursor: default;
}

.lst-look .lst-look-reset:focus-visible {
	outline: 3px solid #0b6fb8;
	outline-offset: 2px;
}

/* A colour to go behind the face. */
.lst-look-swatch {
	display: block;
	width: 34px;
	height: 34px;
	border: 2px solid #17302b;
	border-radius: 50%;
}

@media ( min-width: 720px ) {
	.lst-look-wide {
		grid-template-columns: 200px minmax( 0, 1fr );
		align-items: start;
	}

	.lst-look-wide .lst-look-preview {
		flex-direction: column;
		position: sticky;
		top: 40px;
	}
}

/* ---------- Stand scene ---------- */

.lst-scene {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 448 / 256;
	border-bottom: 2px solid #17302b;
	background: #9fc8a0;
	image-rendering: pixelated;
}

.lst-credits {
	margin: 6px 4px 0;
	color: #50645f;
	font-size: 12px;
	text-align: right;
}

@media ( prefers-reduced-motion: reduce ) {
	.lst-face-live i {
		animation: none;
	}
}

/* ---------- Sales rising from the counter ---------- */

.lst-scene-wrap {
	position: relative;
	display: block;
	line-height: 0;
}

.lst-scene-fx {
	position: absolute;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	line-height: 1.2;
}

.lst-float {
	position: absolute;
	padding: 1px 8px;
	border: 2px solid #17302b;
	border-radius: 999px;
	background: #ffd23f;
	color: #17302b;
	font-family: "LST Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 15px;
	font-weight: 900;
	white-space: nowrap;
	transform: translate( -50%, -100% );
	animation: lst-float 1.8s cubic-bezier( 0.2, 0.7, 0.3, 1 ) both;
}

.lst-float-tip {
	background: #c9f0d6;
	font-size: 13px;
}

/* What a visiting friend says at the counter. */
.lst-scene-say {
	position: absolute;
	max-width: 62%;
	padding: 5px 10px 6px;
	border: 2px solid #17302b;
	border-radius: 12px;
	background: #fffdf5;
	color: #17302b;
	box-shadow: 0 2px 0 #17302b;
	font-family: "LST Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.25;
	text-align: left;
	white-space: normal;
	transform: translate( -50%, -100% );
	animation: lst-say 8s ease both;
}

.lst-scene-say strong {
	display: block;
	color: #b4501a;
	font-size: 12px;
	font-weight: 900;
}

.lst-scene-say::after {
	content: "";
	position: absolute;
	left: var( --tail, 50% );
	bottom: -8px;
	width: 10px;
	height: 10px;
	border-right: 2px solid #17302b;
	border-bottom: 2px solid #17302b;
	background: #fffdf5;
	transform: translateX( -50% ) rotate( 45deg );
}

@keyframes lst-say {
	0% { opacity: 0; transform: translate( -50%, -80% ) scale( 0.9 ); }
	5% { opacity: 1; transform: translate( -50%, -100% ) scale( 1 ); }
	90% { opacity: 1; }
	100% { opacity: 0; }
}

@media ( prefers-reduced-motion: reduce ) {
	.lst-scene-say {
		animation: none;
	}
}

@keyframes lst-float {
	0% { opacity: 0; transform: translate( -50%, -40% ) scale( 0.7 ); }
	12% { opacity: 1; transform: translate( -50%, -100% ) scale( 1.08 ); }
	22% { transform: translate( -50%, -110% ) scale( 1 ); }
	75% { opacity: 1; }
	100% { opacity: 0; transform: translate( -50%, -290% ) scale( 1 ); }
}

/* ---------- The shift: working the counter ---------- */

.lst-shift {
	display: grid;
	gap: 10px;
	color: #17302b;
	font-family: "LST Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 15px;
	line-height: 1.35;
}

.lst-shift-hud {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr 1fr;
	gap: 6px;
}

.lst-shift-stat {
	position: relative;
	min-width: 0;
	padding: 5px 8px 7px;
	border: 2px solid #17302b;
	border-radius: 10px;
	background: #fff;
	overflow: hidden;
}

.lst-shift-stat span {
	display: block;
	color: #50645f;
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
}

.lst-shift-stat b {
	display: block;
	font-size: 17px;
	font-weight: 900;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.lst-shift-timebar {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 5px;
	background: #d6e3de;
}

.lst-shift-timebar i {
	display: block;
	width: 100%;
	height: 100%;
	background: #1f7a4d;
}

.lst-shift-stage {
	border: 2px solid #17302b;
	border-radius: 12px;
	overflow: hidden;
	background: #9fc8a0;
}

.lst-shift-canvas {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 448 / 256;
	image-rendering: pixelated;
	touch-action: none;
	cursor: pointer;
}

.lst-shift .lst-shift-stage .lst-shift-say {
	position: absolute;
	right: 8px;
	bottom: 8px;
	left: 8px;
	margin: 0;
	padding: 7px 12px;
	border: 2px solid #17302b;
	border-radius: 12px;
	background: #fffef8;
	color: #17302b;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	opacity: 0;
	transform: translateY( 6px );
	transition: opacity 200ms ease, transform 200ms ease;
	pointer-events: none;
}

.lst-shift .lst-shift-stage .lst-shift-say-on {
	opacity: 1;
	transform: none;
}

.lst-shift .lst-shift-order {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 10px;
	min-height: 24px;
	margin: 0;
	font-size: 15px;
}

.lst-shift-pips {
	display: inline-flex;
	gap: 4px;
}

/* One little cup per pour in the order; filled in once poured. */
.lst-shift-pips i {
	display: block;
	width: 14px;
	height: 17px;
	border: 2px solid #17302b;
	border-radius: 2px 2px 5px 5px;
	background: #fff;
}

.lst-shift-pips .lst-shift-pip-done {
	background: #ffd23f;
}

.lst-shift-cup {
	color: #50645f;
	font-weight: 700;
}

.lst-shift-meter {
	position: relative;
	height: 30px;
	border: 2px solid #17302b;
	border-radius: 8px;
	background: #fff;
	overflow: hidden;
}

.lst-shift-zone-good,
.lst-shift-zone-perfect {
	position: absolute;
	top: 0;
	bottom: 0;
}

/* Positions are shares of the brim (1.02): good from 0.6, perfect from 0.85. */
.lst-shift-zone-good {
	left: 58.8%;
	right: 16.7%;
	background: #bfe8c9;
}

.lst-shift-zone-perfect {
	left: 83.3%;
	right: 0;
	background: #1f7a4d;
}

.lst-shift-fill {
	position: absolute;
	z-index: 1;
	top: 0;
	bottom: 0;
	left: 0;
	width: 0;
	border-right: 3px solid #17302b;
	background: rgba( 255, 210, 63, 0.82 );
}

.lst-shift-flash {
	position: absolute;
	z-index: 2;
	top: 50%;
	left: 12px;
	font-size: 15px;
	font-weight: 900;
	line-height: 1;
	opacity: 0;
	transform: translateY( -50% );
}

.lst-shift-flash-on {
	opacity: 1;
}

.lst-shift-flash-bad {
	color: #b3202e;
}

.lst-shift .lst-shift-pour {
	width: 100%;
	min-height: 60px;
	border-radius: 16px;
	font-size: 19px;
	touch-action: none;
	-webkit-user-select: none;
	user-select: none;
	-webkit-touch-callout: none;
}

/* Nobody at the counter: it stops looking like a button until there is someone to pour for. */
.lst-shift .lst-shift-pour.lst-shift-idle {
	border-style: dashed;
	border-color: #8ea09b;
	background: #eef3f1;
	box-shadow: none;
	color: #50645f;
	font-size: 16px;
	transform: none;
	cursor: default;
}

.lst-shift-meter-idle {
	opacity: 0.45;
}

.lst-shift .lst-shift-help {
	margin: 0;
	color: #50645f;
	font-size: 13px;
}

/* ---------- Squeeze, shake and mix ---------- */

.lst-shift kbd {
	display: inline-block;
	margin-left: 4px;
	padding: 0 4px;
	border: 1px solid #8ea09b;
	border-radius: 4px;
	background: #fffef8;
	color: #50645f;
	font-family: inherit;
	font-size: 11px;
	font-weight: 800;
	line-height: 1.4;
	vertical-align: middle;
}

/* Key hints are for keyboards. A phone or tablet has none. */
@media ( hover: none ) {
	.lst-shift kbd,
	.lst-shift .lst-shift-keys {
		display: none;
	}
}

.lst-shift .lst-shift-station {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 6px;
	min-height: 28px;
	margin: 0;
	font-size: 14px;
}

.lst-shift-chips {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 4px;
}

.lst-shift-chip {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	padding: 1px 9px;
	border: 2px solid #17302b;
	border-radius: 999px;
	background: #fff;
	font-size: 14px;
	font-weight: 800;
	white-space: nowrap;
}

.lst-shift-chip-ok {
	border-color: #1f7a4d;
	background: #c9f0d6;
	color: #135235;
}

.lst-shift-chip-ok::after {
	content: "✓";
	margin-left: 2px;
}

.lst-shift-chip-next {
	background: #ffd23f;
	box-shadow: 0 0 0 3px rgba( 255, 210, 63, 0.45 );
}

.lst-shift-then {
	color: #50645f;
	font-weight: 900;
}

.lst-shift-dots {
	display: inline-flex;
	gap: 4px;
	margin-right: 6px;
}

.lst-shift-dots i {
	display: block;
	width: 14px;
	height: 14px;
	border: 2px solid #17302b;
	border-radius: 50%;
	background: #fff;
}

.lst-shift-dots .lst-shift-dot-on {
	background: #1f7a4d;
}

.lst-shift-misses .lst-shift-dot-on {
	background: #d9303f;
}

/* Shaking: no fill, a marker sweeping across with a zone in the middle. */
.lst-shift-is-shake .lst-shift-fill,
.lst-shift-is-shake .lst-shift-zone-good,
.lst-shift-is-shake .lst-shift-zone-perfect,
.lst-shift-is-mix .lst-shift-zone-good,
.lst-shift-is-mix .lst-shift-zone-perfect {
	display: none;
}

.lst-shift-zone-shake {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 36%;
	right: 36%;
	border-right: 2px solid #135235;
	border-left: 2px solid #135235;
	background: #7fcf98;
}

.lst-shift-marker {
	position: absolute;
	z-index: 1;
	top: 2px;
	bottom: 2px;
	left: 0;
	width: 8px;
	margin-left: -4px;
	border: 2px solid #17302b;
	border-radius: 4px;
	background: #ffd23f;
}

.lst-shift-is-shake .lst-shift-flash {
	left: auto;
	right: 10px;
}

.lst-shift-is-mix .lst-shift-canvas {
	cursor: default;
}

.lst-shift-is-mix .lst-shift-fill {
	background: rgba( 127, 207, 152, 0.9 );
}

/* Mixing: a tray of flavours instead of one big button. */
.lst-shift-tray {
	display: grid;
	grid-template-columns: repeat( var(--n, 5), minmax( 0, 1fr ) );
	gap: 6px;
}

/* Five or six ingredients: two rows on a narrow screen. */
@container lst-app ( max-width: 520px ) {
	.lst-shift-tray-many {
		grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
	}
}

.lst-shift-add-icon .lst-ico-2x {
	display: block;
	width: 32px;
	height: 32px;
	margin: 0 auto 2px;
	image-rendering: pixelated;
}

.lst-shift .lst-shift-tweak {
	display: inline-block;
	padding: 1px 8px;
	border: 2px solid #b3202e;
	background: #ffe6e3;
	color: #8f1a24;
	font-weight: 900;
	white-space: nowrap;
}

.lst-shift .lst-shift-tweak-extra {
	border-color: #1f7a4d;
	background: #dff3e4;
	color: #135235;
}

.lst-shift-chip .lst-ico {
	width: 16px;
	height: 16px;
	vertical-align: -3px;
	image-rendering: pixelated;
}

.lst-shift .lst-shift-tray .lst-shift-add {
	flex-direction: column;
	gap: 0;
	min-width: 0;
	min-height: 64px;
	padding: 6px 2px;
	border-radius: 14px;
	font-size: 14px;
	touch-action: manipulation;
	-webkit-user-select: none;
	user-select: none;
}

.lst-shift-add-icon {
	font-size: 24px;
	line-height: 1.1;
}

.lst-shift .lst-shift-tray .lst-shift-add kbd {
	margin: 2px 0 0;
}

.lst-shift .lst-shift-tray .lst-shift-add.lst-shift-idle {
	border-style: dashed;
	border-color: #8ea09b;
	background: #eef3f1;
	box-shadow: none;
	color: #50645f;
	transform: none;
	cursor: default;
}

/* ---------- Rush hour ---------- */

.lst-shift-rush .lst-shift-hud {
	grid-template-columns: 1.3fr 1fr 1fr 1fr 1.15fr;
}

.lst-shift-combo b {
	color: #17302b;
}

.lst-shift-hot .lst-shift-combo {
	border-color: #d9303f;
	background: #fff1c2;
	animation: lst-combo 900ms ease-in-out infinite alternate;
}

.lst-shift-hot .lst-shift-combo b {
	color: #b3202e;
}

@keyframes lst-combo {
	from { box-shadow: 0 0 0 0 rgba( 217, 48, 63, 0.0 ); }
	to { box-shadow: 0 0 0 4px rgba( 217, 48, 63, 0.3 ); }
}

.lst-shift-ticket {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 0;
	padding: 8px 10px;
	border: 2px dashed #17302b;
	border-radius: 10px;
	background: #fffef8;
}

.lst-shift-ticket-done {
	border-style: solid;
	border-color: #1f7a4d;
	background: #eaf8ee;
}

.lst-shift-tk-label {
	color: #50645f;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.lst-shift-tk-group {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin-right: 10px;
}

.lst-shift .lst-shift-ticket .lst-shift-tk {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	min-height: 40px;
	margin: 0;
	padding: 4px 12px;
	border: 2px solid #17302b;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 2px 0 #17302b;
	color: #17302b;
	font-family: inherit;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.2;
	cursor: pointer;
	touch-action: manipulation;
}

.lst-shift .lst-shift-ticket .lst-shift-tk[aria-pressed="true"] {
	background: #ffd23f;
	box-shadow: 0 0 0 #17302b;
	transform: translateY( 2px );
}

.lst-shift .lst-shift-ticket .lst-shift-tk:disabled {
	opacity: 0.5;
	cursor: default;
}

.lst-shift .lst-shift-ticket .lst-shift-tk:focus-visible {
	outline: 3px solid #2271b1;
	outline-offset: 2px;
}

.lst-float-lost {
	background: #ffd9dc;
	color: #b3202e;
}

/* A phone: everything a little tighter so the button stays near the picture. */
@media ( max-width: 520px ) {
	.lst-shift {
		gap: 8px;
	}

	.lst-shift-hud {
		gap: 4px;
	}

	.lst-shift-stat {
		padding: 4px 5px 6px;
	}

	.lst-shift-stat span {
		font-size: 11px;
	}

	.lst-shift-stat b {
		font-size: 15px;
	}

	.lst-shift-rush .lst-shift-hud {
		grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
	}

	.lst-shift-ticket {
		gap: 4px;
		padding: 6px;
	}

	.lst-shift .lst-shift-ticket .lst-shift-tk {
		min-height: 38px;
		padding: 3px 9px;
		font-size: 14px;
	}

	.lst-shift-tk-group {
		gap: 4px;
		margin-right: 4px;
	}

	.lst-shift .lst-shift-tray .lst-shift-add {
		font-size: 12px;
	}
}

@media ( prefers-reduced-motion: reduce ) {
	.lst-shift-hot .lst-shift-combo {
		animation: none;
	}
}

.lst-shift-host.lst-shift-host .lst-shift-wait {
	margin: 10px 0 0;
	font-weight: 800;
	text-align: center;
}

/* Something the player does not have yet. It can still be tried on. */
.lst-look .lst-look-locked {
	position: relative;
	padding-bottom: 14px;
	background: #e3e8e6;
}

.lst-look .lst-look-locked > .lst-face,
.lst-look .lst-look-locked > .lst-bodythumb {
	opacity: 0.6;
}

.lst-look .lst-look-locked[aria-pressed="true"] > .lst-face,
.lst-look .lst-look-locked[aria-pressed="true"] > .lst-bodythumb {
	opacity: 1;
}

.lst-look-lock {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 3px;
	padding: 2px 2px 3px;
	border-radius: 0 0 8px 8px;
	background: #17302b;
	color: #fff;
	font-size: 10px;
	font-weight: 800;
	line-height: 1;
	white-space: nowrap;
	overflow: hidden;
}

/* A little padlock, drawn so it looks the same everywhere. */
.lst-look-padlock {
	position: relative;
	flex: none;
	width: 7px;
	height: 5px;
	margin-top: 3px;
	border-radius: 1px;
	background: #ffd23f;
}

.lst-look-padlock::before {
	content: "";
	position: absolute;
	bottom: 100%;
	left: 1px;
	width: 5px;
	height: 4px;
	box-sizing: border-box;
	border: 1.5px solid #ffd23f;
	border-bottom: 0;
	border-radius: 3px 3px 0 0;
}
