/*
 * Lemonade Stand Tycoon: the pixel look.
 *
 * Loaded only when the art pack has interface pieces (frames, buttons) and the
 * site owner has not chosen the plain look. The pieces themselves live in the
 * art pack; the page points at them through the --px-* custom properties that
 * are printed next to this stylesheet. Everything here is scoped under
 * .lst-pixel, so taking the class away gives back the game's own look.
 *
 * Pieces are drawn at twice their size (one art pixel is two screen pixels)
 * and stretched with border-image, so the frames stay crisp at any width.
 */

/* Tiny5, a pixel font with clear numbers (SIL Open Font License, fonts/tiny5-OFL.txt). One weight. */
@font-face {
	font-family: "LST Pixel";
	src: url(fonts/tiny5.woff2) format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "LST Pixel";
	src: url(fonts/tiny5-ext.woff2) format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/*
 * Retro Gaming, by Daymarius, when the art pack has it and the site owner has
 * not chosen Tiny5 (Settings > Game look). The art pack holds the font; the
 * page gets it through the @font-face printed next to this stylesheet. It is
 * drawn on an 11 pixel grid, so its sizes are multiples of 11 (see the end).
 */
.lst-app.lst-pixel.lst-font-retro {
	--lst-sign: "LST Retro", "LST Pixel", "LST Chewy", system-ui, sans-serif;
	--lst-num: "LST Retro", "LST Pixel", "LST Nunito", system-ui, sans-serif;
}

/* Retro Gaming's figures are wider than Tiny5's: the profit box gets more room. */
.lst-app.lst-pixel.lst-font-retro .lst-sum {
	grid-template-columns: minmax( 0, 1fr ) minmax( 0, 1.3fr ) minmax( 0, 1.2fr );
	column-gap: 10px;
}

/* "Level 10" and "20 of 20" stay on one line each in a phone's narrow header, which shares the row out to fit them. */
.lst-app.lst-pixel.lst-font-retro .lst-level-name,
.lst-app.lst-pixel.lst-font-retro .lst-energy-amount {
	white-space: nowrap;
}

@container lst-app ( max-width: 520px ) {
	.lst-app.lst-pixel.lst-font-retro .lst-header {
		grid-template-columns: minmax( 0, 0.9fr ) minmax( 0, 1.1fr );
		column-gap: 12px;
	}
}

/* A stand card narrow enough to be a phone's (four stands across): the phone's tighter layout inside it. */
@container lst-card ( max-width: 459px ) {
	.lst-app.lst-pixel .lst-stand .lst-sum-item {
		padding: 4px 5px;
	}

	.lst-app.lst-pixel .lst-stand .lst-sum {
		grid-template-columns: minmax( 0, 1fr ) minmax( 0, 1.3fr ) minmax( 0, 1.15fr );
		column-gap: 8px;
	}

	.lst-app.lst-pixel .lst-stand .lst-sum strong {
		overflow-wrap: anywhere;
		font-size: 16px;
	}

	.lst-app.lst-pixel.lst-font-retro .lst-stand .lst-sum strong {
		font-size: 11px;
	}

	.lst-app.lst-pixel .lst-stand .lst-sum strong small {
		display: inline-block;
	}

	.lst-app.lst-pixel .lst-stand .lst-stand-body {
		padding-left: 12px;
		padding-right: 12px;
	}
}

/* The feed's "share something" line looks like a box to write in (it opens the list of things to share). */
.lst-app.lst-pixel .lst-feed-prompt {
	border-style: solid;
	border-width: 4px;
	border-radius: 0;
	border-image: var(--px-inset) 4 fill / 4px stretch;
	background: none;
}

.lst-app.lst-pixel .lst-feed-prompt:hover {
	border-image-source: var(--px-inset);
	background: none;
	color: var(--lst-ink);
}

/* The books in pictures: the pack's palette, square bars, charts on a light inset. */
.lst-app.lst-pixel {
	--lst-c-sales: #f8d239;
	--lst-c-profit: #2e6a3a;
	--lst-c-loss: #c4302e;
	--lst-c-cogs: #de7010;
	--lst-c-wages: #4a7fb0;
	--lst-c-rent: #7b5aa6;
	--lst-c-other: #8f8a80;
}

.lst-app.lst-pixel.lst-pixel .lst-chart {
	border-style: solid;
	border-width: 4px;
	border-radius: 0;
	border-image: var(--px-inset) 4 fill / 4px stretch;
	background: none;
}

.lst-app.lst-pixel.lst-pixel .lst-stand-pics .lst-chart {
	border: 0;
	padding: 0;
}

.lst-app.lst-pixel .lst-split,
.lst-app.lst-pixel .lst-legend i,
.lst-app.lst-pixel .lst-days .lst-dbar,
.lst-app.lst-pixel .lst-hbar-bar,
.lst-app.lst-pixel .lst-picture {
	border-radius: 0;
}

.lst-app.lst-pixel .lst-split {
	border-width: 3px;
}

.lst-app.lst-pixel .lst-split-part + .lst-split-part {
	border-left-color: var(--px-cream);
}

.lst-app.lst-pixel .lst-legend i {
	border: 2px solid var(--lst-ink);
}

.lst-app.lst-pixel .lst-days .lst-dbar:not(.lst-dbar-gap),
.lst-app.lst-pixel .lst-hbar-bar {
	box-shadow: inset 0 0 0 2px var(--lst-ink);
}

/* The feed's filters fit on one line in its column. */
.lst-app.lst-pixel .lst-feed-filters {
	gap: 6px;
}

.lst-app.lst-pixel .lst-feed-filters .lst-chip {
	padding-left: 7px;
	padding-right: 7px;
}

/* Retro Gaming's big cash figure gets a little more of the header's width. */
@container lst-app ( min-width: 760px ) {
	.lst-app.lst-pixel.lst-font-retro .lst-header {
		grid-template-columns: 1.45fr 1.15fr 1fr 1.3fr;
	}
}

/* The tools at the end of the tab row, in pixel buttons. */
.lst-app.lst-pixel .lst-cols-btn {
	border-style: solid;
	border-width: 8px 6px;
	border-radius: 0;
	border-image: var(--px-btn-tan) 8 6 fill / 8px 6px stretch;
	background: none;
	min-height: 40px;
	padding: 0 4px;
}

@media ( hover: hover ) {
	.lst-app.lst-pixel .lst-cols-btn:hover {
		border-image-source: var(--px-btn-light);
		background: none;
	}
}

.lst-app.lst-pixel .lst-cols-btn[aria-pressed="true"] {
	border-image-source: var(--px-btn-lemon);
	color: var(--lst-ink);
}

.lst-app.lst-pixel .lst-cols-pic i {
	border-radius: 0;
}

/* ---------- Colours and type ---------- */

.lst-app.lst-pixel {
	--lst-sky: #a8d4d6;
	--lst-paper: #efe3c9;
	--lst-ink: #3a3a50;
	--lst-muted: #5b4749;
	--lst-line: #d3bd96;
	--lst-leaf: #2e6a3a;
	--lst-lemon: #f8d239;
	--lst-rind: #de7010;
	--lst-cherry: #c4302e;
	--lst-chalk: #2c4a42;
	--lst-wood: #b5754d;
	--lst-sign: "LST Pixel", "LST Chewy", system-ui, sans-serif;
	--lst-num: "LST Pixel", "LST Nunito", system-ui, sans-serif;
	--px-cream: #f7eedb;
	--px-tan: #d0be9c;
	--px-brown: #b5754d;
	--px-shade: #b18a74;

	border-style: solid;
	border-width: 14px;
	border-radius: 0;
	border-image: var(--px-frame) 14 fill / 14px stretch;
	background: none;
	image-rendering: pixelated;
}

/* The game's own box sits on the sky; the frame's light inside would hide it. */
.lst-app.lst-pixel:not(.lst-board-only) {
	border-image: none;
	border: 0;
	background: var(--lst-sky);
	box-shadow: inset 0 0 0 2px var(--lst-ink), inset 0 0 0 6px #7fb7ba;
	padding: 18px;
}

.lst-app.lst-pixel .lst-ico {
	display: inline-block;
	width: 16px;
	height: 16px;
	vertical-align: -3px;
	image-rendering: pixelated;
}

.lst-app.lst-pixel .lst-ico-2x {
	width: 32px;
	height: 32px;
	vertical-align: middle;
}

.lst-app.lst-pixel .lst-ico + .lst-ico {
	margin-left: 1px;
}

.lst-app.lst-pixel.lst-pixel .lst-h,
.lst-app.lst-pixel .lst-loading,
.lst-app.lst-pixel .lst-guest-title,
.lst-app.lst-pixel .lst-sec-title,
.lst-app.lst-pixel .lst-stand-name,
.lst-app.lst-pixel .lst-post-big,
.lst-app.lst-pixel .lst-brand-name {
	font-family: var(--lst-sign);
	font-weight: 400;
	font-synthesis: none;
	letter-spacing: 0;
}

.lst-app.lst-pixel.lst-pixel .lst-h {
	font-size: 24px;
	line-height: 1.1;
}

/* Numbers that matter are in the pixel face too. */
.lst-app.lst-pixel .lst-cash-amount,
.lst-app.lst-pixel .lst-level-name,
.lst-app.lst-pixel .lst-energy-amount,
.lst-app.lst-pixel .lst-stats dd,
.lst-app.lst-pixel .lst-sum strong,
.lst-app.lst-pixel .lst-how-part dd:not(.lst-how-note),
.lst-app.lst-pixel .lst-board-input,
.lst-app.lst-pixel .lst-board-dollar,
.lst-app.lst-pixel .lst-shift-stat b,
.lst-app.lst-pixel .lst-card-nums dd,
.lst-app.lst-pixel .lst-goal-count,
.lst-app.lst-pixel .lst-tab-count {
	font-family: var(--lst-num);
	font-weight: 400;
	font-synthesis: none;
	letter-spacing: 0;
}

/* The pixel font is crisp at multiples of 8px. */
.lst-app.lst-pixel .lst-stats dd,
.lst-app.lst-pixel .lst-sum strong,
.lst-app.lst-pixel .lst-how-part dd:not(.lst-how-note),
.lst-app.lst-pixel .lst-level-name,
.lst-app.lst-pixel .lst-energy-amount,
.lst-app.lst-pixel .lst-shift-stat b {
	font-size: 24px;
}

.lst-app.lst-pixel .lst-tab-count,
.lst-app.lst-pixel .lst-goal-count {
	font-size: 16px;
}

@container lst-app ( max-width: 520px ) {
	.lst-app.lst-pixel .lst-shift-stat b,
	.lst-app.lst-pixel .lst-sum strong {
		font-size: 16px;
	}
}




/* ---------- Generated: light boxes in the plain look become cream ---------- */

.lst-app.lst-pixel .lst-btn,
.lst-app.lst-pixel .lst-btn[disabled],
.lst-app.lst-pixel .lst-tab:hover,
.lst-app.lst-pixel .lst-round:hover,
.lst-app.lst-pixel .lst-pitcher,
.lst-app.lst-pixel .lst-seg,
.lst-app.lst-pixel .lst-seg-tag.lst-fit-lo,
.lst-app.lst-pixel .lst-field input,
.lst-app.lst-pixel .lst-thread-log,
.lst-app.lst-pixel .lst-bubble,
.lst-app.lst-pixel .lst-msg-friend-down,
.lst-app.lst-pixel .lst-msg-goal,
.lst-app.lst-pixel .lst-chip:hover,
.lst-app.lst-pixel .lst-chip[aria-pressed="true"],
.lst-app.lst-pixel .lst-paper,
.lst-app.lst-pixel .lst-details,
.lst-app.lst-pixel .lst-brand-lemon,
.lst-app.lst-pixel .lst-fold,
.lst-app.lst-pixel .lst-ad-option,
.lst-app.lst-pixel .lst-ad-test-bar,
.lst-app.lst-pixel .lst-ad-score-bar,
.lst-app.lst-pixel .lst-ad-lesson,
.lst-app.lst-pixel .lst-how,
.lst-app.lst-pixel .lst-how-part,
.lst-app.lst-pixel .lst-sec-btn,
.lst-app.lst-pixel .lst-ada,
.lst-app.lst-pixel .lst-ada-says,
.lst-app.lst-pixel .lst-advice,
.lst-app.lst-pixel .lst-crewstand-limit,
.lst-app.lst-pixel .lst-move,
.lst-app.lst-pixel .lst-react,
.lst-app.lst-pixel .lst-snap,
.lst-app.lst-pixel .lst-stage-opts .lst-chip,
.lst-app.lst-pixel .lst-stage-opts select,
.lst-app.lst-pixel .lst-mood-btn,
.lst-app.lst-pixel .lst-mood-grid .lst-chip,
.lst-app.lst-pixel .lst-brand-opts .lst-chip,
.lst-app.lst-pixel .lst-btn.lst-following,
.lst-app.lst-pixel .lst-look-face,
.lst-app.lst-pixel .lst-look .lst-look-random,
.lst-app.lst-pixel .lst-look .lst-look-opt,
.lst-app.lst-pixel .lst-look .lst-look-opt:hover,
.lst-app.lst-pixel .lst-shift-stat,
.lst-app.lst-pixel .lst-shift .lst-shift-stage .lst-shift-say,
.lst-app.lst-pixel .lst-shift-pips i,
.lst-app.lst-pixel .lst-shift-meter,
.lst-app.lst-pixel .lst-shift .lst-shift-pour.lst-shift-idle,
.lst-app.lst-pixel .lst-shift kbd,
.lst-app.lst-pixel .lst-shift-chip,
.lst-app.lst-pixel .lst-shift-dots i,
.lst-app.lst-pixel .lst-shift .lst-shift-tray .lst-shift-add.lst-shift-idle,
.lst-app.lst-pixel .lst-shift-ticket,
.lst-app.lst-pixel .lst-shift .lst-shift-ticket .lst-shift-tk {
	background-color: var(--px-cream);
}

/* ---------- End generated ---------- */

/* ---------- Panels ---------- */

.lst-app.lst-pixel .lst-stand,
.lst-app.lst-pixel .lst-paper,
.lst-app.lst-pixel .lst-loc,
.lst-app.lst-pixel .lst-post,
.lst-app.lst-pixel .lst-chat,
.lst-app.lst-pixel .lst-table-wrap,
.lst-app.lst-pixel .lst-applicant,
.lst-app.lst-pixel .lst-crewstand,
.lst-app.lst-pixel .lst-ad,
.lst-app.lst-pixel .lst-ad-live,
.lst-app.lst-pixel .lst-advice,
.lst-app.lst-pixel .lst-richest,
.lst-app.lst-pixel .lst-goal,
.lst-app.lst-pixel .lst-crew-card,
.lst-app.lst-pixel .lst-entry,
.lst-app.lst-pixel .lst-note,
.lst-app.lst-pixel .lst-snap,
.lst-app.lst-pixel .lst-choice,
.lst-app.lst-pixel .lst-ad-option,
.lst-app.lst-pixel .lst-ad-lesson,
.lst-app.lst-pixel .lst-sign-mine {
	border-style: solid;
	border-width: 8px 6px 6px;
	border-radius: 0;
	border-image: var(--px-card) 8 6 6 fill / 8px 6px 6px stretch;
	background: none;
	box-shadow: none;
}

.lst-app.lst-pixel .lst-loc {
	border-left-width: 6px;
}

/* A wider border keeps cards apart from the sky behind them. */
.lst-app.lst-pixel .lst-stands,
.lst-app.lst-pixel .lst-locs,
.lst-app.lst-pixel .lst-posts {
	gap: 18px;
}

.lst-app.lst-pixel .lst-notice,
.lst-app.lst-pixel .lst-event,
.lst-app.lst-pixel .lst-ad-tag {
	border-style: solid;
	border-width: 8px 6px 6px;
	border-radius: 0;
	border-image: var(--px-card-hi) 8 6 6 fill / 8px 6px 6px stretch;
	background: none;
	box-shadow: none;
}

.lst-app.lst-pixel .lst-dialog {
	border-style: solid;
	border-width: 14px;
	border-radius: 0;
	border-image: var(--px-frame) 14 fill / 14px stretch;
	background: none;
	box-shadow: 0 10px 0 rgba( 23, 20, 36, 0.25 );
}

.lst-app.lst-pixel .lst-dialog::backdrop {
	background: rgba( 30, 26, 44, 0.55 );
}

/* The tour's card in the same frame as the dialogs, and a square ring. */
.lst-app.lst-pixel .lst-tour-card {
	border-style: solid;
	border-width: 14px;
	border-radius: 0;
	border-image: var(--px-frame) 14 fill / 14px stretch;
	background: none;
	box-shadow: 0 8px 0 rgba( 23, 20, 36, 0.25 );
}

.lst-app.lst-pixel .lst-tour-ring {
	border-radius: 0;
	box-shadow: 0 0 0 3px var(--lst-ink), 0 0 0 9999px rgba( 30, 26, 44, 0.4 );
}

.lst-app.lst-pixel .lst-tour-title {
	font-family: var(--lst-sign);
}

/* The close button as a small pixel button. */
.lst-app.lst-pixel .lst-dialog-xbtn {
	width: 38px;
	height: 38px;
	margin: -6px -6px 0 0;
	border-style: solid;
	border-width: 8px 6px;
	border-radius: 0;
	border-image: var(--px-btn-tan) 8 6 fill / 8px 6px stretch;
	background: none;
	font-size: 20px;
}

@media ( hover: hover ) {
	.lst-app.lst-pixel .lst-dialog-xbtn:hover {
		border-image-source: var(--px-btn-light);
		background: none;
	}
}

.lst-app.lst-pixel .lst-header,
.lst-app.lst-pixel .lst-board {
	border-style: solid;
	border-width: 14px;
	border-radius: 0;
	border-image: var(--px-frame-dark) 14 fill / 14px stretch;
	background: none;
}

.lst-app.lst-pixel .lst-header {
	padding: 6px 8px;
}

/* Boxes inside a panel: a sunken cream tray. */
.lst-app.lst-pixel .lst-how-part,
.lst-app.lst-pixel .lst-supply,
.lst-app.lst-pixel .lst-sum-item,
.lst-app.lst-pixel .lst-stage,
.lst-app.lst-pixel .lst-bubble,
.lst-app.lst-pixel .lst-talk-row,
.lst-app.lst-pixel .lst-thread-item,
.lst-app.lst-pixel .lst-details,
.lst-app.lst-pixel .lst-post .lst-snap,
.lst-app.lst-pixel .lst-crewstand .lst-crew-card,
.lst-app.lst-pixel .lst-shift-stat {
	border-style: solid;
	border-width: 4px;
	border-radius: 0;
	border-image: var(--px-inset) 4 fill / 4px stretch;
	background: none;
	box-shadow: none;
}

.lst-app.lst-pixel .lst-msg-me .lst-bubble {
	border-image: var(--px-card-hi) 8 6 6 fill / 4px 3px 3px stretch;
}

/* ---------- Buttons ---------- */

.lst-app.lst-pixel .lst-btn,
.lst-app.lst-pixel .lst-tab,
.lst-app.lst-pixel .lst-seg,
.lst-app.lst-pixel .lst-fold,
.lst-app.lst-pixel .lst-chip,
.lst-app.lst-pixel .lst-sec-btn,
.lst-app.lst-pixel .lst-react,
.lst-app.lst-pixel .lst-shift-tk {
	border-style: solid;
	border-width: 8px 6px;
	border-radius: 0;
	border-image: var(--px-btn-tan) 8 6 fill / 8px 6px stretch;
	background: none;
	box-shadow: none;
	transform: none;
	color: var(--lst-ink);
	transition: none;
}

.lst-app.lst-pixel .lst-btn {
	min-height: 44px;
	padding: 2px 12px;
}

.lst-app.lst-pixel .lst-btn-small {
	min-height: 38px;
	padding: 0 10px;
}

@media ( hover: hover ) {
	.lst-app.lst-pixel .lst-btn:not([disabled]):hover,
	.lst-app.lst-pixel .lst-tab:hover,
	.lst-app.lst-pixel .lst-seg:not([disabled]):hover,
	.lst-app.lst-pixel .lst-fold:hover,
	.lst-app.lst-pixel .lst-chip:not([disabled]):hover {
		border-image-source: var(--px-btn-light);
		background: none;
	}
}

.lst-app.lst-pixel .lst-btn:not([disabled]):active,
.lst-app.lst-pixel .lst-tab:active,
.lst-app.lst-pixel .lst-seg:not([disabled]):active,
.lst-app.lst-pixel .lst-fold:active,
.lst-app.lst-pixel .lst-chip:not([disabled]):active,
.lst-app.lst-pixel .lst-sec-btn:active {
	border-image-source: var(--px-btn-tan-down);
	transform: translateY( 1px );
}

.lst-app.lst-pixel .lst-btn-primary,
.lst-app.lst-pixel .lst-btn-primary:not([disabled]):hover,
.lst-app.lst-pixel .lst-tab[aria-selected="true"],
.lst-app.lst-pixel .lst-seg[aria-pressed="true"],
.lst-app.lst-pixel .lst-chip[aria-pressed="true"],
.lst-app.lst-pixel .lst-react[aria-pressed="true"] {
	border-image-source: var(--px-btn-lemon);
}

.lst-app.lst-pixel .lst-btn-primary:not([disabled]):active,
.lst-app.lst-pixel .lst-seg[aria-pressed="true"]:active {
	border-image-source: var(--px-btn-lemon-down);
}

.lst-app.lst-pixel .lst-btn-danger,
.lst-app.lst-pixel .lst-btn-danger:not([disabled]):hover {
	border-image-source: var(--px-btn-red);
	color: #fff;
}

.lst-app.lst-pixel .lst-btn-rush,
.lst-app.lst-pixel .lst-btn-rush:not([disabled]):hover {
	border-image-source: var(--px-btn-orange);
}

.lst-app.lst-pixel .lst-btn-rush:not([disabled]):active {
	border-image-source: var(--px-btn-orange-down);
}

.lst-app.lst-pixel .lst-btn.lst-following {
	border-image-source: var(--px-btn-green);
}

.lst-app.lst-pixel .lst-btn[disabled],
.lst-app.lst-pixel .lst-seg[disabled],
.lst-app.lst-pixel .lst-chip[disabled],
.lst-app.lst-pixel .lst-shift-tk:disabled {
	border-image-source: var(--px-btn-grey);
	background: none;
	color: #6f6a76;
	opacity: 1;
}

.lst-app.lst-pixel .lst-tab {
	min-height: 44px;
	padding: 2px 9px;
}

.lst-app.lst-pixel .lst-seg {
	min-height: 40px;
	padding: 0 10px;
}

.lst-app.lst-pixel .lst-fold {
	min-height: 36px;
	padding: 0 10px;
}

.lst-app.lst-pixel .lst-seg-tag,
.lst-app.lst-pixel .lst-tag,
.lst-app.lst-pixel .lst-tab-count {
	border-radius: 0;
	box-shadow: 0 0 0 2px var(--lst-ink);
}

.lst-app.lst-pixel .lst-tag {
	border: 0;
	background: var(--px-cream);
}

/* Round price buttons on the chalkboard: square pixel ones. */
.lst-app.lst-pixel .lst-round {
	border-radius: 0;
	border-width: 2px;
	box-shadow: 2px 2px 0 rgba( 0, 0, 0, 0.35 );
}

/* Links: a plain underline in the darker green. */
.lst-app.lst-pixel .lst-link {
	color: var(--lst-leaf);
	text-decoration-thickness: 2px;
}

/* Fields */
.lst-app.lst-pixel .lst-field input,
.lst-app.lst-pixel .lst-field select,
.lst-app.lst-pixel .lst-field textarea,
.lst-app.lst-pixel .lst-stage-opts select {
	border: 2px solid var(--lst-ink);
	border-radius: 0;
	background: var(--px-cream);
	box-shadow: inset 0 2px 0 #dccaa6;
}

/* ---------- Bars ---------- */

.lst-app.lst-pixel .lst-pitcher,
.lst-app.lst-pixel .lst-bar,
.lst-app.lst-pixel .lst-goal-bar,
.lst-app.lst-pixel .lst-ad-score-bar,
.lst-app.lst-pixel .lst-shift-meter {
	border: 2px solid var(--lst-ink);
	border-radius: 0;
	background: var(--px-shade);
	box-shadow: inset 0 2px 0 #916662;
}

.lst-app.lst-pixel .lst-pitcher-fill,
.lst-app.lst-pixel .lst-bar-fill,
.lst-app.lst-pixel .lst-goal-bar span,
.lst-app.lst-pixel .lst-ad-score-bar span {
	border-radius: 0;
	border-right: 2px solid var(--lst-ink);
	background: #f8d239;
	box-shadow: inset 0 2px 0 #ffe57b, inset 0 -2px 0 #de7010;
}

.lst-app.lst-pixel .lst-bar-fill {
	background: #9bc246;
	box-shadow: inset 0 2px 0 #b8d040, inset 0 -2px 0 #568d61;
}

/* ---------- Stars, faces and other small pictures ---------- */

.lst-app.lst-pixel .lst-stars-ico,
.lst-app.lst-pixel .lst-stars {
	display: inline-flex;
	gap: 1px;
	align-items: center;
	vertical-align: -3px;
}

.lst-app.lst-pixel .lst-brand-lemon .lst-ico-2x {
	width: 32px;
	height: 32px;
}

.lst-app.lst-pixel .lst-ico-cash {
	width: 24px;
	height: 24px;
	margin-right: 6px;
	vertical-align: -4px;
}

.lst-app.lst-pixel .lst-ico-mood {
	width: 20px;
	height: 16px;
	object-fit: contain;
}

.lst-app.lst-pixel .lst-btn-note .lst-ico {
	margin-right: 2px;
}

/* ---------- Header details ---------- */

.lst-app.lst-pixel .lst-brand,
.lst-app.lst-app.lst-pixel .lst-cash-rate {
	border-radius: 0;
}

.lst-app.lst-pixel .lst-brand {
	border: 2px solid rgba( 255, 255, 255, 0.3 );
	background: rgba( 0, 0, 0, 0.15 );
}

.lst-app.lst-pixel .lst-sum {
	border: 0;
	background: none;
	padding: 0;
}

/* ---------- Toasts (outside the game box) ---------- */

.lst-toasts-pixel .lst-toast {
	border-style: solid;
	border-width: 14px;
	border-radius: 0;
	border-image: var(--px-frame-dark) 14 fill / 14px stretch;
	background: none;
	padding: 4px 8px;
	box-shadow: 0 6px 0 rgba( 23, 20, 36, 0.25 );
	image-rendering: pixelated;
}

.lst-toasts-pixel .lst-toast-error {
	border-image-source: var(--px-btn-red);
	border-width: 8px 6px;
	border-image-slice: 8 6 fill;
	padding: 6px 12px;
}

/* ---------- Working a shift ---------- */

.lst-app.lst-pixel .lst-shift-stage,
.lst-app.lst-pixel .lst-shift-ticket,
.lst-app.lst-pixel .lst-shift-chip,
.lst-app.lst-pixel .lst-shift-pips i,
.lst-app.lst-pixel .lst-shift-dots i,
.lst-app.lst-pixel .lst-shift-marker,
.lst-app.lst-pixel .lst-shift kbd {
	border-radius: 0;
}

.lst-app.lst-pixel .lst-shift .lst-shift-say {
	border-radius: 0;
	box-shadow: 3px 3px 0 rgba( 0, 0, 0, 0.25 );
}

.lst-app.lst-pixel .lst-shift-zone-good {
	background: #c7dd6a;
}

.lst-app.lst-pixel .lst-shift-zone-perfect,
.lst-app.lst-pixel .lst-shift-zone-shake {
	background: #64a43b;
}

.lst-app.lst-pixel .lst-shift-fill {
	background: rgba( 248, 210, 57, 0.9 );
	border-right-width: 2px;
}

.lst-app.lst-pixel .lst-shift-timebar i {
	background: #64a43b;
}

.lst-app.lst-pixel .lst-shift-ticket {
	border-style: solid;
	border-width: 4px;
	border-image: var(--px-inset) 4 fill / 4px stretch;
	background: none;
}

.lst-app.lst-pixel .lst-shift .lst-shift-pour {
	border-radius: 0;
	min-height: 60px;
}

.lst-app.lst-pixel .lst-shift .lst-shift-pour.lst-shift-idle,
.lst-app.lst-pixel .lst-shift .lst-shift-tray .lst-shift-add.lst-shift-idle {
	border-style: solid;
	border-image-source: var(--px-btn-grey);
	background: none;
	color: #6f6a76;
}

.lst-app.lst-pixel .lst-shift .lst-shift-tray .lst-shift-add {
	border-radius: 0;
}

.lst-app.lst-pixel .lst-shift-hot .lst-shift-combo {
	border-image-source: var(--px-card-hi);
	border-image-slice: 8 6 6 fill;
	animation: none;
}

/* ---------- Corners: square, as pixel art is ---------- */

/* Faces, dots and the like stay round. */
.lst-app.lst-pixel *:not(.lst-mug):not(.lst-me):not(.lst-avatar):not(.lst-friend-dot):not(.lst-dot):not(.lst-mood-dot):not(.lst-mood-btn):not(.lst-react-n):not(.lst-swatch):not(.lst-shift-dots i) {
	border-radius: 0;
}

.lst-app.lst-pixel select,
.lst-app.lst-pixel input[type="text"],
.lst-app.lst-pixel input[type="number"],
.lst-app.lst-pixel input[type="email"],
.lst-app.lst-pixel input[type="password"],
.lst-app.lst-pixel textarea {
	border-radius: 0;
	border-color: var(--lst-ink);
	background-color: var(--px-cream);
}

.lst-app.lst-pixel .lst-statement {
	border: 2px solid var(--px-shade);
	background: var(--px-cream);
}

.lst-app.lst-pixel .lst-statement td,
.lst-app.lst-pixel .lst-statement th {
	padding-left: 8px;
	padding-right: 8px;
}

/* ---------- Narrow screens: thinner frames, more room inside ---------- */

@media ( max-width: 600px ) {
	.lst-app.lst-pixel:not(.lst-board-only) {
		padding: 10px;
	}

	.lst-app.lst-pixel .lst-header,
	.lst-app.lst-pixel .lst-board {
		border-width: 10px;
		border-image-width: 10px;
	}

	.lst-app.lst-pixel .lst-dialog {
		border-width: 10px;
		border-image-width: 10px;
	}
}

@container lst-app ( max-width: 520px ) {
	.lst-app.lst-pixel .lst-sum-item {
		padding: 4px 5px;
	}

	.lst-app.lst-pixel .lst-sum strong {
		overflow-wrap: anywhere;
	}

	/* "/hr" goes to the next line on its own rather than splitting the number,
	   and the price and profit get a little more room. */
	.lst-app.lst-pixel .lst-sum strong small {
		display: inline-block;
	}

	.lst-app.lst-pixel .lst-sum {
		grid-template-columns: minmax( 0, 1fr ) minmax( 0, 1.3fr ) minmax( 0, 1.15fr );
		column-gap: 8px;
	}

	.lst-app.lst-pixel .lst-stand-body {
		padding-left: 12px;
		padding-right: 12px;
	}
}

/* The sign's paint pots keep their own colours. */
.lst-app.lst-pixel .lst-logo-ink {
	border-color: var(--lst-ink);
	box-shadow: 2px 2px 0 rgba( 0, 0, 0, 0.25 );
}

.lst-app.lst-pixel .lst-look-preview {
	background-color: var(--px-cream);
}

/* The price on the chalkboard is written in chalk, not in a box. */
.lst-app.lst-pixel .lst-board .lst-board-input {
	border: 0;
	border-bottom: 2px dashed rgba( 255, 255, 255, 0.45 );
	background: transparent;
	box-shadow: none;
	color: #fff;
}

/* ---------- Generated: the pixel font at sizes it is crisp at ---------- */

.lst-app.lst-pixel.lst-pixel .lst-h {
	font-weight: 400;
	font-synthesis: none;
	letter-spacing: 0;
	font-size: 24px;
}

.lst-app.lst-pixel.lst-pixel .lst-loading {
	font-weight: 400;
	font-synthesis: none;
	letter-spacing: 0;
	font-size: 24px;
}

.lst-app.lst-pixel.lst-pixel .lst-cash-amount {
	font-weight: 400;
	font-synthesis: none;
	letter-spacing: 0;
	font-size: 40px;
}

.lst-app.lst-pixel.lst-pixel .lst-level-name,
.lst-app.lst-pixel.lst-pixel .lst-energy-amount,
.lst-app.lst-pixel.lst-pixel .lst-weather-now {
	font-weight: 400;
	font-synthesis: none;
	letter-spacing: 0;
	font-size: 24px;
}

.lst-app.lst-pixel.lst-pixel .lst-stand-name {
	font-weight: 400;
	font-synthesis: none;
	letter-spacing: 0;
	font-size: 32px;
}

.lst-app.lst-pixel.lst-pixel .lst-board-dollar {
	font-weight: 400;
	font-synthesis: none;
	letter-spacing: 0;
	font-size: 32px;
}

.lst-app.lst-pixel.lst-pixel .lst-board .lst-board-input {
	font-weight: 400;
	font-synthesis: none;
	letter-spacing: 0;
	font-size: 32px;
}

.lst-app.lst-pixel.lst-pixel .lst-stats dd:not(.lst-how-note) {
	font-weight: 400;
	font-synthesis: none;
	letter-spacing: 0;
	font-size: 24px;
}

.lst-app.lst-pixel.lst-pixel .lst-msg-chapter {
	font-weight: 400;
	font-synthesis: none;
	letter-spacing: 0;
	font-size: 16px;
}

.lst-app.lst-pixel.lst-pixel .lst-statement .lst-line-head th {
	font-weight: 400;
	font-synthesis: none;
	letter-spacing: 0;
	font-size: 16px;
}

.lst-app.lst-pixel.lst-pixel .lst-guest-title {
	font-weight: 400;
	font-synthesis: none;
	letter-spacing: 0;
}

.lst-app.lst-pixel.lst-pixel .lst-brand-name {
	font-weight: 400;
	font-synthesis: none;
	letter-spacing: 0;
	font-size: 24px;
}

.lst-app.lst-pixel.lst-pixel .lst-event-text strong {
	font-weight: 400;
	font-synthesis: none;
	letter-spacing: 0;
	font-size: 16px;
}

.lst-app.lst-pixel.lst-pixel .lst-how-part dd:not(.lst-how-note) {
	font-weight: 400;
	font-synthesis: none;
	letter-spacing: 0;
	font-size: 24px;
}

.lst-app.lst-pixel.lst-pixel .lst-richest-label {
	font-weight: 400;
	font-synthesis: none;
	letter-spacing: 0;
	font-size: 16px;
}

.lst-app.lst-pixel.lst-pixel .lst-mug-plain {
	font-weight: 400;
	font-synthesis: none;
	letter-spacing: 0;
	font-size: 16px;
}

.lst-app.lst-pixel.lst-pixel .lst-post-title {
	font-weight: 400;
	font-synthesis: none;
	letter-spacing: 0;
	font-size: 24px;
}

.lst-app.lst-pixel.lst-pixel .lst-post-big {
	font-weight: 400;
	font-synthesis: none;
	letter-spacing: 0;
	font-size: 32px;
}

.lst-app.lst-pixel.lst-pixel .lst-snap-cap {
	font-weight: 400;
	font-synthesis: none;
	letter-spacing: 0;
	font-size: 24px;
}

.lst-app.lst-pixel.lst-pixel .lst-card-nums dd:not(.lst-how-note) {
	font-weight: 400;
	font-synthesis: none;
	letter-spacing: 0;
	font-size: 24px;
}

/* ---------- End generated font sizes ---------- */

/* ---------- Generated: Retro Gaming sizes ---------- */

.lst-app.lst-pixel.lst-font-retro.lst-pixel .lst-h {
	font-size: 22px;
}

.lst-app.lst-pixel.lst-font-retro .lst-stats dd,
.lst-app.lst-pixel.lst-font-retro .lst-sum strong,
.lst-app.lst-pixel.lst-font-retro .lst-how-part dd:not(.lst-how-note),
.lst-app.lst-pixel.lst-font-retro .lst-level-name,
.lst-app.lst-pixel.lst-font-retro .lst-energy-amount,
.lst-app.lst-pixel.lst-font-retro .lst-shift-stat b {
	font-size: 22px;
}

.lst-app.lst-pixel.lst-font-retro .lst-tab-count,
.lst-app.lst-pixel.lst-font-retro .lst-goal-count {
	font-size: 11px;
}

@container lst-app ( max-width: 520px ) {
	.lst-app.lst-pixel.lst-font-retro .lst-shift-stat b,
	.lst-app.lst-pixel.lst-font-retro .lst-sum strong {
		font-size: 11px;
	}
}

.lst-app.lst-pixel.lst-font-retro.lst-pixel .lst-h {
	font-size: 22px;
}

.lst-app.lst-pixel.lst-font-retro.lst-pixel .lst-loading {
	font-size: 22px;
}

.lst-app.lst-pixel.lst-font-retro.lst-pixel .lst-cash-amount {
	font-size: 33px;
}

.lst-app.lst-pixel.lst-font-retro.lst-pixel .lst-level-name,
.lst-app.lst-pixel.lst-font-retro.lst-pixel .lst-energy-amount,
.lst-app.lst-pixel.lst-font-retro.lst-pixel .lst-weather-now {
	font-size: 22px;
}

.lst-app.lst-pixel.lst-font-retro.lst-pixel .lst-stand-name {
	font-size: 22px;
}

.lst-app.lst-pixel.lst-font-retro.lst-pixel .lst-board-dollar {
	font-size: 33px;
}

.lst-app.lst-pixel.lst-font-retro.lst-pixel .lst-board .lst-board-input {
	font-size: 33px;
}

.lst-app.lst-pixel.lst-font-retro.lst-pixel .lst-stats dd:not(.lst-how-note) {
	font-size: 22px;
}

.lst-app.lst-pixel.lst-font-retro.lst-pixel .lst-msg-chapter {
	font-size: 11px;
}

.lst-app.lst-pixel.lst-font-retro.lst-pixel .lst-statement .lst-line-head th {
	font-size: 11px;
}

.lst-app.lst-pixel.lst-font-retro.lst-pixel .lst-brand-name {
	font-size: 22px;
}

.lst-app.lst-pixel.lst-font-retro.lst-pixel .lst-event-text strong {
	font-size: 11px;
}

.lst-app.lst-pixel.lst-font-retro.lst-pixel .lst-how-part dd:not(.lst-how-note) {
	font-size: 22px;
}

.lst-app.lst-pixel.lst-font-retro.lst-pixel .lst-richest-label {
	font-size: 11px;
}

.lst-app.lst-pixel.lst-font-retro.lst-pixel .lst-mug-plain {
	font-size: 11px;
}

.lst-app.lst-pixel.lst-font-retro.lst-pixel .lst-post-title {
	font-size: 22px;
}

.lst-app.lst-pixel.lst-font-retro.lst-pixel .lst-post-big {
	font-size: 33px;
}

.lst-app.lst-pixel.lst-font-retro.lst-pixel .lst-snap-cap {
	font-size: 22px;
}

.lst-app.lst-pixel.lst-font-retro.lst-pixel .lst-card-nums dd:not(.lst-how-note) {
	font-size: 22px;
}

/* ---------- End Retro Gaming sizes ---------- */

/* ---------- Guest games ---------- */

.lst-app.lst-pixel .lst-guestbar {
	background: none;
}

.lst-app.lst-pixel.lst-app .lst-guide-guest,
.lst-app.lst-pixel.lst-app .lst-dialog .lst-join-risk {
	border-style: solid;
	border-width: 4px;
	border-radius: 0;
	border-image: var(--px-inset) 4 fill / 4px stretch;
	background: none;
}

/* ---------- Shop and bringing friends ---------- */

.lst-app.lst-pixel .lst-shop-item,
.lst-app.lst-pixel .lst-shop-banner {
	border-style: solid;
	border-width: 8px 6px 6px;
	border-radius: 0;
	border-image: var(--px-card) 8 6 6 fill / 8px 6px 6px stretch;
	background: none;
	box-shadow: none;
	transform: none;
}

.lst-app.lst-pixel .lst-shop-banner,
.lst-app.lst-pixel .lst-shop-item-have {
	border-image-source: var(--px-card-hi);
}

@media ( hover: hover ) {
	.lst-app.lst-pixel .lst-shop-item:hover,
	.lst-app.lst-pixel .lst-shop-banner:hover {
		border-image-source: var(--px-card-hi);
		background: none;
	}
}

.lst-app.lst-pixel .lst-shop-item:active,
.lst-app.lst-pixel .lst-shop-banner:active {
	transform: translateY( 1px );
}

.lst-app.lst-pixel .lst-shop-pic,
.lst-app.lst-pixel .lst-tier-place-icon {
	border-radius: 0;
	box-shadow: 0 0 0 2px var(--lst-ink);
}

.lst-app.lst-pixel .lst-tier-pic {
	border: 0;
	border-radius: 0;
}

.lst-app.lst-pixel .lst-shop-tag,
.lst-app.lst-pixel .lst-tier-n {
	border-radius: 0;
	box-shadow: 0 0 0 2px var(--lst-ink);
}

.lst-app.lst-pixel .lst-tier-n {
	border: 0;
}

.lst-app.lst-pixel.lst-app .lst-tier,
.lst-app.lst-pixel.lst-app .lst-tier-done {
	border-style: solid;
	border-width: 4px;
	border-radius: 0;
	border-image: var(--px-inset) 4 fill / 4px stretch;
	background: none;
}

.lst-app.lst-pixel.lst-app .lst-tier-done {
	box-shadow: inset 0 0 0 2px var(--lst-leaf);
}

.lst-app.lst-pixel .lst-friends-bar {
	border-radius: 0;
}

.lst-app.lst-pixel .lst-friends-link .lst-field input {
	font-family: inherit;
}

.lst-app.lst-pixel.lst-app .lst-guest-body .lst-guest-invite {
	border-radius: 0;
}
