/**
 * Lil Red Wagon Pro — the feed.
 *
 * One screen, one verse. Everything here exists to keep the eye on the words:
 * chrome is small and low-contrast, the verse is large and centred, and the
 * only motion is the scroll itself.
 */

:root {
	--lrwp-brand: #c2362b;

	--lrwp-paper: #faf7f2;
	--lrwp-paper-2: #f3ede4;
	--lrwp-ink: #1b1613;
	--lrwp-ink-soft: #6e645c;
	--lrwp-line: rgba(27, 22, 19, 0.12);
	--lrwp-raise: #fff;

	--lrwp-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Charter, Georgia, serif;
	--lrwp-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, system-ui, sans-serif;

	--lrwp-gap: clamp(20px, 6vw, 40px);
	--lrwp-safe-t: env(safe-area-inset-top, 0px);
	--lrwp-safe-b: env(safe-area-inset-bottom, 0px);
}

@media (prefers-color-scheme: dark) {
	:root {
		--lrwp-paper: #12100f;
		--lrwp-paper-2: #1b1817;
		--lrwp-ink: #f2ede6;
		--lrwp-ink-soft: #9a8f86;
		--lrwp-line: rgba(242, 237, 230, 0.14);
		--lrwp-raise: #211d1b;
	}
}

*,
*::before,
*::after { box-sizing: border-box; }

/*
 * The UA rule for [hidden] is display:none at element specificity, so any
 * class here that sets display would quietly win and show a hidden element.
 * Half this interface is toggled with the hidden attribute; make it stick.
 */
[hidden] { display: none !important; }

html,
body {
	margin: 0;
	padding: 0;
	height: 100%;
	background: var(--lrwp-paper);
	color: var(--lrwp-ink);
	font-family: var(--lrwp-sans);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

body {
	/* The feed owns the scroll; the document must never bounce behind it. */
	overflow: hidden;
	overscroll-behavior: none;
	-webkit-tap-highlight-color: transparent;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

/* ---------------------------------------------------------------- Shell */

.lrwp-app {
	position: relative;
	height: 100dvh;
	height: 100svh;
}

.lrwp-top {
	position: absolute;
	inset: calc(var(--lrwp-safe-t) + 10px) 12px auto 12px;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	pointer-events: none;
}

.lrwp-top > * { pointer-events: auto; }

.lrwp-iconbtn {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--lrwp-ink-soft);
	cursor: pointer;
	transition: background .18s ease, color .18s ease;
}

.lrwp-iconbtn:hover,
.lrwp-iconbtn:focus-visible {
	background: var(--lrwp-paper-2);
	color: var(--lrwp-ink);
}

.lrwp-streak {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	height: 30px;
	padding: 0 11px 0 9px;
	border: 0;
	border-radius: 99px;
	background: var(--lrwp-paper-2);
	color: var(--lrwp-brand);
	font: 600 12px/1 var(--lrwp-sans);
	letter-spacing: .01em;
	cursor: default;
}

.lrwp-streak--new { animation: lrwp-pop .5s cubic-bezier(.2, 1.4, .4, 1); }

@keyframes lrwp-pop {
	0% { transform: scale(1); }
	45% { transform: scale(1.16); }
	100% { transform: scale(1); }
}

/* ----------------------------------------------------------------- Feed */

.lrwp-feed {
	height: 100%;
	overflow-y: auto;
	overscroll-behavior-y: contain;
	scroll-snap-type: y mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.lrwp-feed::-webkit-scrollbar { display: none; }

.lrwp-card {
	position: relative;
	display: grid;
	grid-template-rows: 1fr auto;
	height: 100dvh;
	height: 100svh;
	padding: calc(var(--lrwp-safe-t) + 62px) var(--lrwp-gap) calc(var(--lrwp-safe-b) + 18px);
	scroll-snap-align: start;
	scroll-snap-stop: always;
}

/*
 * A whisper of colour behind each card, keyed off the icon. Enough to make
 * consecutive verses feel distinct while scrolling; not enough to compete
 * with the text.
 */
.lrwp-card::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(120% 60% at 50% 0%, var(--lrwp-tint, transparent) 0%, transparent 70%);
	opacity: .55;
}

.lrwp-card__body {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 22px;
	min-height: 0;
	text-align: center;
}

.lrwp-card__icon {
	color: var(--lrwp-brand);
	opacity: .85;
	flex: 0 0 auto;
}

.lrwp-card__eyebrow {
	margin: 0;
	color: var(--lrwp-ink-soft);
	font: 600 11px/1.4 var(--lrwp-sans);
	letter-spacing: .1em;
	text-transform: uppercase;
}

.lrwp-card__text {
	margin: 0;
	max-width: 22em;
	font-family: var(--lrwp-serif);
	font-size: var(--lrwp-size, 27px);
	line-height: 1.46;
	letter-spacing: -0.004em;
	text-wrap: pretty;
	overflow-y: auto;
	scrollbar-width: none;
}

.lrwp-card__text::-webkit-scrollbar { display: none; }

body[data-typeface="sans"] .lrwp-card__text {
	font-family: var(--lrwp-sans);
	line-height: 1.5;
	letter-spacing: -0.011em;
}

/* Longer verses step down rather than overflowing. */
.lrwp-card--xl .lrwp-card__text { --lrwp-size: 18px; }
.lrwp-card--l  .lrwp-card__text { --lrwp-size: 21px; }
.lrwp-card--m  .lrwp-card__text { --lrwp-size: 24px; }
.lrwp-card--s  .lrwp-card__text { --lrwp-size: 30px; }
.lrwp-card--xs .lrwp-card__text { --lrwp-size: 34px; }

@media (min-width: 700px) {
	.lrwp-card--xl .lrwp-card__text { --lrwp-size: 21px; }
	.lrwp-card--l  .lrwp-card__text { --lrwp-size: 25px; }
	.lrwp-card--m  .lrwp-card__text { --lrwp-size: 29px; }
	.lrwp-card--s  .lrwp-card__text { --lrwp-size: 34px; }
	.lrwp-card--xs .lrwp-card__text { --lrwp-size: 40px; }
}

.lrwp-card__note {
	margin: 0;
	max-width: 26em;
	color: var(--lrwp-ink-soft);
	font: italic 400 14px/1.6 var(--lrwp-serif);
}

.lrwp-card__ref {
	margin: 0;
	color: var(--lrwp-ink-soft);
	font: 600 12px/1.4 var(--lrwp-sans);
	letter-spacing: .07em;
	text-transform: uppercase;
}

/* --------------------------------------------------------------- Actions */

.lrwp-card__foot {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding-top: 14px;
}

.lrwp-act {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	height: 42px;
	padding: 0 16px;
	border: 1px solid var(--lrwp-line);
	border-radius: 99px;
	background: transparent;
	color: var(--lrwp-ink-soft);
	font: 600 13px/1 var(--lrwp-sans);
	cursor: pointer;
	transition: color .16s ease, border-color .16s ease, background .16s ease, transform .16s ease;
}

.lrwp-act:active { transform: scale(.95); }

.lrwp-act:hover,
.lrwp-act:focus-visible {
	color: var(--lrwp-ink);
	border-color: var(--lrwp-ink-soft);
}

.lrwp-act--icon { width: 42px; padding: 0; justify-content: center; }

.lrwp-act--save[aria-pressed="true"] {
	color: var(--lrwp-brand);
	border-color: color-mix(in srgb, var(--lrwp-brand) 45%, transparent);
	background: color-mix(in srgb, var(--lrwp-brand) 8%, transparent);
}

.lrwp-act--save[aria-pressed="true"] svg { fill: currentColor; }

/* The heart that blooms in the middle on a double tap. */
.lrwp-burst {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	pointer-events: none;
	color: var(--lrwp-brand);
	opacity: 0;
}

.lrwp-burst--go { animation: lrwp-burst .72s ease-out; }

@keyframes lrwp-burst {
	0%   { opacity: 0; transform: scale(.4); }
	22%  { opacity: .92; transform: scale(1.06); }
	42%  { opacity: .92; transform: scale(.97); }
	100% { opacity: 0; transform: scale(1.28); }
}

/* ------------------------------------------------------------ Feed edges */

.lrwp-boot {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	height: 100dvh;
	height: 100svh;
}

.lrwp-boot__dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--lrwp-ink-soft);
	opacity: .3;
	animation: lrwp-breathe 1.3s ease-in-out infinite;
}

.lrwp-boot__dot:nth-child(2) { animation-delay: .16s; }
.lrwp-boot__dot:nth-child(3) { animation-delay: .32s; }

@keyframes lrwp-breathe {
	0%, 100% { opacity: .22; transform: translateY(0); }
	50%      { opacity: .75; transform: translateY(-4px); }
}

.lrwp-end {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 18px;
	height: 100dvh;
	height: 100svh;
	padding: var(--lrwp-gap);
	scroll-snap-align: start;
	text-align: center;
	color: var(--lrwp-ink-soft);
}

.lrwp-end p { margin: 0; max-width: 20em; font: 400 16px/1.6 var(--lrwp-serif); }

.lrwp-hint {
	position: absolute;
	left: 0;
	right: 0;
	bottom: calc(var(--lrwp-safe-b) + 72px);
	margin: 0;
	text-align: center;
	color: var(--lrwp-ink-soft);
	font: 500 12px/1 var(--lrwp-sans);
	letter-spacing: .04em;
	pointer-events: none;
	animation: lrwp-float 2.4s ease-in-out infinite;
}

@keyframes lrwp-float {
	0%, 100% { opacity: .32; transform: translateY(0); }
	50%      { opacity: .7;  transform: translateY(-5px); }
}

/* -------------------------------------------------------------- Settings */

.lrwp-sheet {
	position: fixed;
	inset: 0;
	z-index: 40;
}

.lrwp-sheet[hidden] { display: none; }

.lrwp-sheet__scrim {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .38);
	backdrop-filter: blur(2px);
	animation: lrwp-fade .2s ease;
}

@keyframes lrwp-fade { from { opacity: 0; } to { opacity: 1; } }

.lrwp-sheet__panel {
	position: absolute;
	inset: auto 0 0 0;
	max-height: 92dvh;
	display: flex;
	flex-direction: column;
	border-radius: 22px 22px 0 0;
	background: var(--lrwp-paper);
	box-shadow: 0 -12px 40px rgba(0, 0, 0, .22);
	animation: lrwp-rise .28s cubic-bezier(.22, .9, .3, 1);
}

@keyframes lrwp-rise { from { transform: translateY(14%); opacity: .4; } to { transform: none; opacity: 1; } }

@media (min-width: 720px) {
	.lrwp-sheet__panel {
		inset: 50% auto auto 50%;
		transform: translate(-50%, -50%);
		width: min(560px, 92vw);
		max-height: 86dvh;
		border-radius: 18px;
		animation: lrwp-fade .2s ease;
	}
}

.lrwp-sheet__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 16px 14px 12px 22px;
	border-bottom: 1px solid var(--lrwp-line);
}

.lrwp-sheet__head h2 {
	margin: 0;
	font: 600 17px/1.2 var(--lrwp-sans);
	letter-spacing: -0.01em;
}

.lrwp-sheet__body {
	overflow-y: auto;
	padding: 6px 22px calc(var(--lrwp-safe-b) + 22px);
	-webkit-overflow-scrolling: touch;
}

.lrwp-set { padding: 20px 0; border-bottom: 1px solid var(--lrwp-line); }
.lrwp-set:last-of-type { border-bottom: 0; }

.lrwp-set h3 {
	margin: 0 0 4px;
	font: 600 14px/1.3 var(--lrwp-sans);
	letter-spacing: .01em;
}

.lrwp-set__note {
	margin: 0 0 14px;
	color: var(--lrwp-ink-soft);
	font: 400 13px/1.5 var(--lrwp-sans);
}

/* Chips */

.lrwp-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 14px;
}

.lrwp-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 34px;
	padding: 0 13px;
	border: 1px solid var(--lrwp-line);
	border-radius: 99px;
	background: transparent;
	color: var(--lrwp-ink-soft);
	font: 500 13px/1 var(--lrwp-sans);
	cursor: pointer;
	transition: all .15s ease;
}

.lrwp-chip[aria-pressed="true"] {
	border-color: transparent;
	background: var(--lrwp-brand);
	color: #fff;
}

.lrwp-chip__x { opacity: .6; font-size: 15px; line-height: 1; }

/* Fields */

.lrwp-field { display: block; margin: 0 0 14px; }

.lrwp-field > span {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 6px;
	color: var(--lrwp-ink-soft);
	font: 500 12px/1.3 var(--lrwp-sans);
}

.lrwp-field > span b { color: var(--lrwp-brand); font-size: 14px; }

.lrwp-field input[type="text"],
.lrwp-field input[type="password"],
.lrwp-field input[type="time"] {
	width: 100%;
	height: 44px;
	padding: 0 13px;
	border: 1px solid var(--lrwp-line);
	border-radius: 11px;
	background: var(--lrwp-raise);
	color: var(--lrwp-ink);
	font: 400 16px/1 var(--lrwp-sans);
}

.lrwp-field input:focus-visible {
	outline: 2px solid var(--lrwp-brand);
	outline-offset: 1px;
}

.lrwp-field--inline { display: flex; align-items: flex-end; gap: 8px; }
.lrwp-field--inline input { flex: 1; }

.lrwp-field input[type="range"] {
	width: 100%;
	accent-color: var(--lrwp-brand);
}

.lrwp-window { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lrwp-window[hidden] { display: none; }

.lrwp-slots {
	margin: 2px 0 14px;
	color: var(--lrwp-ink-soft);
	font: 500 12px/1.6 var(--lrwp-sans);
}

/* Toggles */

.lrwp-toggles { margin: 0 0 6px; padding: 0; list-style: none; }

.lrwp-toggles label {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 11px 0;
	cursor: pointer;
}

.lrwp-toggles__label {
	flex: 1;
	font: 500 14px/1.3 var(--lrwp-sans);
}

.lrwp-toggles__label small {
	display: block;
	margin-top: 3px;
	color: var(--lrwp-ink-soft);
	font: 400 12px/1.45 var(--lrwp-sans);
}

.lrwp-toggles input { position: absolute; opacity: 0; pointer-events: none; }

.lrwp-switch {
	position: relative;
	flex: 0 0 auto;
	width: 44px;
	height: 26px;
	border-radius: 99px;
	background: var(--lrwp-line);
	transition: background .18s ease;
}

.lrwp-switch::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .28);
	transition: transform .18s cubic-bezier(.3, 1.3, .5, 1);
}

.lrwp-toggles input:checked + .lrwp-switch { background: var(--lrwp-brand); }
.lrwp-toggles input:checked + .lrwp-switch::after { transform: translateX(18px); }
.lrwp-toggles input:focus-visible + .lrwp-switch { outline: 2px solid var(--lrwp-brand); outline-offset: 2px; }

.lrwp-libs { margin-top: 10px; }
.lrwp-libs[hidden] { display: none; }

.lrwp-libs label {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 7px 0;
	color: var(--lrwp-ink-soft);
	font: 400 13px/1.3 var(--lrwp-sans);
	cursor: pointer;
}

.lrwp-libs input { accent-color: var(--lrwp-brand); width: 17px; height: 17px; }

/* Segmented */

.lrwp-seg {
	display: inline-flex;
	padding: 3px;
	border-radius: 11px;
	background: var(--lrwp-paper-2);
}

.lrwp-seg__opt {
	min-width: 92px;
	height: 36px;
	padding: 0 16px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--lrwp-ink-soft);
	font-size: 15px;
	cursor: pointer;
	transition: background .16s ease, color .16s ease;
}

.lrwp-seg__opt[aria-checked="true"] {
	background: var(--lrwp-raise);
	color: var(--lrwp-ink);
	box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
}

.lrwp-sheet__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 20px 0 4px;
}

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

.lrwp-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 46px;
	padding: 0 20px;
	border: 1px solid transparent;
	border-radius: 11px;
	font: 600 15px/1 var(--lrwp-sans);
	cursor: pointer;
	transition: filter .16s ease, background .16s ease;
}

.lrwp-button--primary { background: var(--lrwp-brand); color: #fff; }
.lrwp-button--primary:hover { filter: brightness(1.07); }

.lrwp-button--ghost {
	background: transparent;
	border-color: var(--lrwp-line);
	color: var(--lrwp-ink-soft);
	height: 42px;
	font-size: 14px;
}

.lrwp-button--ghost:hover { color: var(--lrwp-ink); border-color: var(--lrwp-ink-soft); }
.lrwp-button[disabled] { opacity: .5; cursor: default; }

.lrwp-textlink {
	color: var(--lrwp-brand);
	font: 500 14px/1 var(--lrwp-sans);
	text-decoration: none;
}

.lrwp-textlink:hover { text-decoration: underline; }
.lrwp-textlink--quiet { color: var(--lrwp-ink-soft); }

/* --------------------------------------------------------------- Install */

.lrwp-install {
	position: fixed;
	left: 12px;
	right: 12px;
	bottom: calc(var(--lrwp-safe-b) + 12px);
	z-index: 30;
	animation: lrwp-rise .3s cubic-bezier(.22, .9, .3, 1);
}

.lrwp-install[hidden] { display: none; }

.lrwp-install__inner {
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 520px;
	margin: 0 auto;
	padding: 11px 11px 11px 14px;
	border: 1px solid var(--lrwp-line);
	border-radius: 16px;
	background: var(--lrwp-raise);
	box-shadow: 0 10px 30px rgba(0, 0, 0, .16);
}

.lrwp-install img { border-radius: 10px; }

.lrwp-install__text { flex: 1; min-width: 0; }
.lrwp-install__text strong { display: block; font: 600 14px/1.3 var(--lrwp-sans); }

.lrwp-install__text span {
	display: block;
	margin-top: 2px;
	color: var(--lrwp-ink-soft);
	font: 400 12px/1.4 var(--lrwp-sans);
}

.lrwp-install .lrwp-button { height: 38px; padding: 0 14px; font-size: 14px; }

/* ----------------------------------------------------------------- Toast */

.lrwp-toast {
	position: fixed;
	left: 50%;
	bottom: calc(var(--lrwp-safe-b) + 26px);
	z-index: 50;
	transform: translateX(-50%);
	max-width: 88vw;
	padding: 11px 18px;
	border-radius: 99px;
	background: var(--lrwp-ink);
	color: var(--lrwp-paper);
	font: 500 13px/1.3 var(--lrwp-sans);
	text-align: center;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .24);
	animation: lrwp-rise .22s ease;
}

.lrwp-toast[hidden] { display: none; }

/* ------------------------------------------------------------ Sign-in */

.lrwp-body--gate { overflow: auto; }

.lrwp-gate {
	display: grid;
	place-items: center;
	min-height: 100dvh;
	padding: calc(var(--lrwp-safe-t) + 32px) 24px calc(var(--lrwp-safe-b) + 32px);
}

.lrwp-gate__inner { width: min(360px, 100%); text-align: center; }

.lrwp-gate__mark { border-radius: 18px; }

.lrwp-gate__title {
	margin: 18px 0 4px;
	font: 600 26px/1.2 var(--lrwp-serif);
	letter-spacing: -0.015em;
}

.lrwp-gate__tagline {
	margin: 0 0 30px;
	color: var(--lrwp-ink-soft);
	font: 400 15px/1.5 var(--lrwp-serif);
	font-style: italic;
}

.lrwp-gate__error {
	margin: 0 0 18px;
	padding: 11px 14px;
	border-radius: 11px;
	background: color-mix(in srgb, var(--lrwp-brand) 12%, transparent);
	color: var(--lrwp-brand);
	font: 500 13px/1.4 var(--lrwp-sans);
}

.lrwp-gate__form { text-align: left; }
.lrwp-gate__form .lrwp-button { width: 100%; margin-top: 6px; }

.lrwp-gate__note {
	margin: 20px 0 0;
	color: var(--lrwp-ink-soft);
	font: 400 12px/1.6 var(--lrwp-sans);
}

.lrwp-gate__note a { color: var(--lrwp-ink-soft); }

/* ------------------------------------------------------ Reduced motion */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
	}

	.lrwp-feed { scroll-behavior: auto; }
}

/* ============================================================
   Fitting the card to the screen, not the other way round
   ------------------------------------------------------------
   The actions row is the second row of the card's grid, so it
   already sits at the foot; what it lacked was room above it on
   short screens, and a way to show that a long verse continues.
   ============================================================ */

/* Never let the actions be squeezed or scrolled away. */
.lrwp-card__foot {
	flex: none;
	flex-wrap: wrap;
	row-gap: 8px;
}

.lrwp-card__body {
	min-height: 0;
}

/* The verse gets whatever is left, and scrolls only as a last resort. */
.lrwp-card__text {
	min-height: 0;
	flex: 0 1 auto;
}

/* When even the smallest step will not fit, fade the cut edge so it reads as
   "there is more" rather than as a broken layout. */
.lrwp-card.is-scrollable .lrwp-card__text {
	-webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
	mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
}

/* Short screens: claw back the padding and gaps for the text. An iPhone 12
   mini is 812px tall in CSS pixels, and the SE is shorter still. */
@media (max-height: 850px) {
	.lrwp-card {
		padding-top: calc(var(--lrwp-safe-t) + 52px);
		padding-bottom: calc(var(--lrwp-safe-b) + 12px);
	}

	.lrwp-card__body { gap: 14px; }
	.lrwp-card__icon { transform: scale(0.82); }
	.lrwp-card__foot { padding-top: 10px; }
}

@media (max-height: 700px) {
	.lrwp-card {
		padding-top: calc(var(--lrwp-safe-t) + 46px);
	}

	.lrwp-card__body { gap: 10px; }
	/* On a very short screen the icon is the first thing worth losing. */
	.lrwp-card__icon { display: none; }
}

/* Narrow screens: keep the three actions on one line by letting the labels
   shrink before the buttons wrap. */
@media (max-width: 380px) {
	.lrwp-card__foot { gap: 7px; }
	.lrwp-act { padding: 0 13px; font-size: 12.5px; }
	.lrwp-act--icon { width: 40px; padding: 0; }
}
