/* ==========================================================================
   Mochi Proxy

   1 tokens            7 shop bar and       13 notices and small shop pieces
   2 base                cart drawer        14 cart and checkout
   3 type              8 footer             15 account and order pages
   4 parts             9 home               16 a deck of the visitor's own
   5 buttons          10 deck tiles         17 small screens and motion
   6 forms            11 the stage          18 the shop's finish
                      12 the card list      19 sakura: the look over all of it
                      12b every card, pointed at; making it yours

   Lavender and cherry blossom. The page is white with a lavender mist, its
   type deep indigo, and the decks carry the colour. Violet is the brand's
   own colour and every main button wears it; soft pink is for the blossoms
   and the small joys; a warmer pink-red is for what is on sale. Corners are
   round and shadows are soft, like paper in morning light.

   The token names are older than the colours (the templates and the scripts
   know them): --teal and --violet are the violet, --gold the lavender rim,
   --pink the sale pink-red.

   Rules that have to out-rank WooCommerce's own stylesheet start with the
   body's ID, #insertdeck.
   ========================================================================== */

/* ---------- 1 tokens ---------- */
:root {
	--ink: #23203A;
	--cabinet: #3B2A84;
	--cream: #FFFFFF;
	--cream-deep: #EFE9FF;
	--violet: #6C4CE0;
	--violet-deep: #5236C4;
	--gold: #B79CF5;
	--gold-deep: #6C4CE0;
	--pink: #E0457B;
	--pink-deep: #B32D5E;
	--teal: #6C4CE0;
	--teal-deep: #5236C4;
	--blossom: #F6B6CF;
	--blossom-soft: #FDE8F0;
	--lilac: #EFE9FF;
	--white: #FFFFFF;
	--shine: rgba(255, 255, 255, .6);
	--screen-glow: #8C6FE0;
	--screen-mid: #6C4CE0;
	--scan: rgba(0, 0, 0, .1);

	/* what was gold metal is now a lavender sheen */
	--metal: linear-gradient(180deg, #FFFFFF 0%, #EFE9FF 40%, #D9CCFA 100%);
	--metal-side: linear-gradient(100deg, #EFE9FF 0%, #FDE8F0 50%, #EFE9FF 100%);
	--metal-line: #D9CCFA;
	/* the petals: a pale pattern for panels, and the scene of the banner */
	--facets: url("../img/petals.svg");
	--crystal: url("../img/hero-sakura.svg");
	--gem: linear-gradient(135deg, #8C6FE0 0%, #6C4CE0 55%, #5236C4 100%);
	--violet-fill: linear-gradient(135deg, #7A5CF0 0%, #6044D8 100%);

	--wood: #5236C4;
	--wood-hi: #8C6FE0;
	--wood-lo: #3B2A84;
	--grain: linear-gradient(transparent, transparent);
	--rivet: radial-gradient(circle, transparent 0, transparent);

	/* the game's own colours: pips only */
	--pip-w: #F6EFCF;
	--pip-u: #2E7BD6;
	--pip-b: #2A2433;
	--pip-r: #E0472E;
	--pip-g: #2F9E5A;
	--pip-c: #B9B4C4;

	--bg: #FFFFFF;
	--surface: #FFFFFF;
	--sunk: #F6F3FE;
	--fg: #23203A;
	--muted: #6E6A85;
	--line: #E7E1F7;
	--line-strong: #D9D1F0;
	--accent-text: #5B3FD1;
	--danger: #E0457B;
	--dot: rgba(0, 0, 0, .1);
	--grid: rgba(0, 0, 0, .04);
	--drop: rgba(76, 52, 170, .10);
	--map: none;

	--marquee-font: "Nunito", "Inter", system-ui, sans-serif;
	--hud-font: "Inter", system-ui, sans-serif;
	--body-font: "Inter", system-ui, sans-serif;
	--brand-font: "Nunito", "Inter", system-ui, sans-serif;
	--line-font: "Nunito", "Inter", system-ui, sans-serif;

	--bw: 1px;
	--travel: 0px;
	--radius: 14px;
	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 40px);
}

/* ---------- 2 base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--fg);
	font: 400 16px/1.6 var(--body-font);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent-text); text-underline-offset: 3px; }
a:hover { color: var(--fg); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
	word-wrap: normal !important;
}
.skip-link { position: absolute; left: -9999px; top: 12px; z-index: 100; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 999px; font-weight: 600; }
.skip-link:focus { left: 12px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.site-main { display: block; padding-block: clamp(26px, 4vw, 48px) clamp(52px, 8vw, 96px); }
.site-main--home { padding-top: 10px; display: grid; gap: clamp(40px, 6vw, 72px); }

/* ---------- 3 type ---------- */
h1, h2, h3, h4 { margin: 0; text-wrap: balance; font-family: var(--marquee-font); font-weight: 700; letter-spacing: -.01em; line-height: 1.15; }
h1 { font-size: clamp(34px, 5vw, 54px); letter-spacing: -.02em; }
h2 { font-size: clamp(24px, 3vw, 30px); }
h3 { font-size: 18px; }
.hud { font: 600 12px/1.6 var(--hud-font); letter-spacing: .08em; text-transform: uppercase; }
/* the small line above a title: a word in teal */
.eyebrow { justify-self: start; display: inline-block; margin: 0; color: var(--teal); }
.pagehead { display: grid; gap: 10px; margin-bottom: clamp(22px, 3vw, 36px); }
.pagehead p { margin: 0; max-width: 62ch; color: var(--muted); }
.pagehead--center { justify-items: center; text-align: center; }
.sec { display: grid; gap: 26px; }
.sec__head { display: grid; gap: 8px; justify-items: center; text-align: center; }
.sec__head .eyebrow { justify-self: center; }
.sec__line { margin: 0; max-width: 56ch; color: var(--muted); }
.sec__more { margin: 0; text-align: center; }
.entry--prose { max-width: 70ch; }
.entry > :last-child { margin-bottom: 0; }
.empty { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0; color: var(--muted); }
.post { margin-bottom: 34px; }
.post__title { font-size: 26px; margin-bottom: 8px; }
.post__title a { color: var(--fg); text-decoration: none; }

/* the wordmark: the shop's name cut in teal crystal and rimmed with gold */
.wordmark {
	display: inline-block;
	font: 900 40px/1 var(--brand-font);
	letter-spacing: .01em;
	color: transparent;
	background: var(--gem);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-stroke: .035em #C9B6F5;
	filter: drop-shadow(0 .04em 0 #3B2A84) drop-shadow(0 .06em .08em rgba(0, 0, 0, .35));
	padding: 0 .04em .06em;
}
.wordmark--hero { font-size: clamp(42px, 8.4vw, 116px); -webkit-text-stroke-width: .03em; filter: drop-shadow(0 .03em 0 #3B2A84) drop-shadow(0 .05em .12em rgba(0, 0, 0, .55)); }
.wordmark--bar { font-size: 22px; }
.wordmark--foot { font-size: 30px; }

/* ---------- 4 parts ---------- */
.px { display: inline-block; flex: none; vertical-align: middle; }
/* the icons: plain outlines in the colour of their text */
.icon { fill: none; stroke: var(--px-line, currentColor); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.icon .f, .icon .p, .icon .r, .icon .g { fill: none; }
.mark { display: block; flex: none; overflow: visible; }

/* a panel of pale crystal: what was a dark board is glass now */
.crt {
	position: relative;
	overflow: hidden;
	background: var(--facets) 0 0 / 520px 520px, #F8F5FF;
	color: var(--fg);
	border: 1px solid var(--line);
	border-radius: 16px;
}
.crt::after { content: none; }
.crt--clear { background: var(--sunk); border: 0; }
.carpet { display: none; }
.stripes { display: none; }

/* a tag: a word on a small coloured label */
.chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font: 600 11px/1 var(--body-font);
	letter-spacing: .04em;
	text-transform: uppercase;
	padding: 5px 8px;
	border: 0;
	border-radius: 4px;
	background: var(--c, var(--ink));
	color: #fff;
	white-space: nowrap;
}
.chip--pink { --c: var(--pink); }
.chip--teal { --c: var(--teal); }
.chip--cream { --c: var(--sunk); color: var(--fg); }
.chip--violet { --c: var(--violet); }

/* a frame: a thin gold rim */
.frame {
	position: relative;
	padding: 8px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 14px;
	box-shadow: 0 10px 30px var(--drop);
}

.pips { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.pip {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 1px solid rgba(0, 0, 0, .35);
	display: grid;
	place-items: center;
	font: 700 9px/1 var(--body-font);
	background: var(--c);
	color: var(--t, var(--white));
}
.pip--w { --c: var(--pip-w); --t: var(--ink); }
.pip--u { --c: var(--pip-u); }
.pip--b { --c: var(--pip-b); }
.pip--r { --c: var(--pip-r); }
.pip--g { --c: var(--pip-g); }
.pip--c { --c: var(--pip-c); --t: var(--ink); }

/* a price: plain figures; a sale shows the old price struck through and the new one in red */
.ticket {
	position: relative;
	display: inline-flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 8px;
	padding: 0;
	background: none;
	color: var(--fg);
	border: 0;
	font: 700 16px/1.2 var(--body-font);
	white-space: nowrap;
}
.ticket::before, .ticket::after { content: none; }
.ticket--lg { font-size: 26px; }
.ticket del { order: -1; color: var(--muted); font-weight: 500; font-size: .82em; opacity: 1; }
.ticket ins { text-decoration: none; color: var(--pink); }
.ticket del + ins, .ticket del ~ * { color: var(--pink); }

.stats { display: grid; gap: 6px; margin: 0; font-size: 13px; }
.stat { display: grid; grid-template-columns: 5.6em minmax(0, 1fr); gap: 8px; align-items: center; }
.stat dt { color: var(--muted); }
.stat dd { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) 2.4ch; gap: 8px; align-items: center; }
.stat b { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
/* a bar: a thin groove, filled as far as it goes */
.bar { position: relative; height: 6px; background: var(--sunk); border-radius: 6px; overflow: hidden; }
.bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 1%); border-radius: 6px; background: var(--c, var(--gold)); }
.bar--creatures { --c: var(--pink); }
.bar--lands { --c: var(--teal); }

.stages { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; }
.stages li { display: inline-flex; align-items: center; gap: 8px; }
.stages li[aria-current] { color: var(--fg); font-weight: 600; }
.lamp { width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--muted); background: var(--surface); }
.lamp.is-on { background: var(--teal); border-color: var(--teal); }
.lamp.is-now { background: var(--gold); border-color: var(--gold-deep); }

.fan { position: absolute; inset: 0; z-index: 2; }
.fan i {
	position: absolute;
	bottom: 14%;
	left: 50%;
	width: 26%;
	margin-left: -13%;
	aspect-ratio: 63 / 88;
	background: var(--gem);
	border: 2px solid #C9B6F5;
	border-radius: 8px;
	transform-origin: 50% 125%;
	transform: rotate(var(--r));
}
.fan i:nth-child(odd) { background: var(--facets) 0 0 / 200px 200px, #EEF6F3; }

.blink { animation: glow 2.4s ease-in-out infinite; color: var(--gold-deep); }
@keyframes glow { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
@keyframes blink { 0%, 55% { opacity: 1; } 56%, 100% { opacity: .35; } }

/* ---------- 5 buttons ---------- */
/* a button is a pill: black by default, teal or gold where the page asks for it */
.btn,
#insertdeck .button,
#insertdeck .wp-element-button,
#insertdeck .wc-block-components-button:not(.is-link) {
	--fill: var(--ink);
	--label: #FFFFFF;
	--rim: var(--ink);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55em;
	min-height: 46px;
	height: auto;
	margin: 0;
	padding: 0 26px;
	font: 500 15px/1.1 var(--body-font);
	letter-spacing: 0;
	text-transform: none;
	text-decoration: none;
	text-align: center;
	color: var(--label);
	background: var(--fill);
	border: 1px solid var(--rim);
	border-radius: 999px;
	box-shadow: none;
	cursor: pointer;
	opacity: 1;
	transition: transform .12s, box-shadow .12s, background-color .12s;
}
.btn:hover,
#insertdeck .button:hover,
#insertdeck .wp-element-button:hover,
#insertdeck .wc-block-components-button:not(.is-link):hover {
	color: var(--label);
	background: var(--fill);
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, .16);
}
.btn:active,
#insertdeck .button:active,
#insertdeck .wp-element-button:active,
#insertdeck .wc-block-components-button:not(.is-link):active { transform: none; box-shadow: none; }
.btn--dark { --fill: var(--ink); --rim: var(--ink); }
.btn--teal,
.btn--violet { --fill: var(--teal); --rim: var(--teal); }
.btn--cream { --fill: #FFFFFF; --label: var(--ink); --rim: var(--ink); }
/* gold: the metal of the shop bar, for the rare button that should shine */
.btn--gold { --label: #23203A; --rim: var(--metal-line); background: var(--metal-side) !important; font-weight: 700; text-shadow: 0 1px 0 rgba(255, 245, 210, .6); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 2px 4px rgba(80, 55, 10, .3); }
.btn--lg { min-height: 54px; padding: 0 32px; font-size: 16px; }
.btn--sm { min-height: 34px; padding: 0 14px; font-size: 13px; }
#insertdeck .button:disabled,
#insertdeck .button.disabled,
#insertdeck .wc-block-components-button:disabled {
	--fill: var(--sunk);
	--label: var(--muted);
	--rim: var(--line);
	box-shadow: none;
	transform: none;
	cursor: not-allowed;
}
#insertdeck .button.loading { opacity: .6; padding-right: 26px; }
#insertdeck .button.loading::after { position: static; margin-left: .5em; }
#insertdeck .button.added::after { margin-left: .5em; vertical-align: baseline; }

/* a round button: plus and minus, the close of a drawer */
.pad {
	--fill: #FFFFFF;
	width: 40px;
	height: 40px;
	padding: 0;
	display: grid;
	place-items: center;
	flex: none;
	border-radius: 50%;
	border: 1px solid var(--line);
	background: var(--fill);
	box-shadow: none;
	font: 500 18px/1 var(--body-font);
	color: var(--ink);
	cursor: pointer;
	transition: border-color .12s, background-color .12s;
}
.pad:hover { border-color: var(--violet); }
.pad:active { background: var(--sunk); }
.pad--teal { --fill: var(--teal); color: #fff; border-color: var(--teal); }
.pad--sm { width: 30px; height: 30px; font-size: 15px; }
.pad:disabled { color: var(--muted); cursor: not-allowed; background: var(--sunk); border-color: var(--line); }

/* ---------- 6 forms ---------- */
#insertdeck .input-text,
#insertdeck select:not([class*="wc-block"]),
#insertdeck textarea:not([class*="wc-block"]),
#insertdeck input[type="search"] {
	max-width: 100%;
	font: 400 16px/1.3 var(--body-font);
	color: var(--fg);
	background-color: #FFFFFF;
	border: 1px solid #D9D1F0;
	border-radius: 4px;
	padding: 14px 16px;
}
#insertdeck .input-text::placeholder,
#insertdeck textarea::placeholder { color: #8A9491; }
#insertdeck .input-text:focus-visible,
#insertdeck select:not([class*="wc-block"]):focus-visible,
#insertdeck textarea:not([class*="wc-block"]):focus-visible { outline: 2px solid var(--teal); outline-offset: 0; border-color: var(--teal); }
#insertdeck label { font-weight: 500; }
#insertdeck .required { color: var(--danger); text-decoration: none; }

/* the add-on switches */
.bonuses { margin: 0; padding: 0; border: 0; display: grid; gap: 10px; min-width: 0; }
.bonuses legend { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 0; margin-bottom: 10px; font-weight: 600; }
.bonus {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 14px;
	background: var(--surface);
	color: var(--fg);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	cursor: pointer;
	min-width: 0;
}
.bonus:hover { border-color: var(--violet); }
.bonus input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bonus__switch { flex: none; position: relative; width: 44px; height: 24px; border-radius: 999px; background: #CBD5D2; transition: background .12s; }
.bonus__switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .12s; }
.bonus input:checked + .bonus__switch { background: var(--teal); }
.bonus input:checked + .bonus__switch::after { transform: translateX(20px); }
.bonus input:focus-visible + .bonus__switch { outline: 2px solid var(--teal); outline-offset: 3px; }
.bonus__text { display: grid; flex: 1; min-width: 0; line-height: 1.35; }
.bonus__text b { font-weight: 600; }
.bonus__text small { color: var(--muted); font-size: 13px; }
.bonus__price { font: 600 15px/1 var(--body-font); white-space: nowrap; }

/* the papers: one of three tiles, each with a small card that shows what it is made of */
.papers { margin: 0; padding: 0; border: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; min-width: 0; }
.papers legend { padding: 0; margin-bottom: 10px; font-weight: 600; }
.paper { position: relative; z-index: 0; display: grid; grid-template-rows: auto 1fr auto; justify-items: start; gap: 10px; padding: 14px 12px 12px; color: var(--fg); cursor: pointer; min-width: 0; }
.paper input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.paper__frame { position: absolute; inset: 0; z-index: -1; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .12s, box-shadow .12s; }
.paper:hover .paper__frame { border-color: var(--violet); }
.paper input:checked ~ .paper__frame { border-color: var(--violet); box-shadow: inset 0 0 0 1px var(--violet); }
.paper input:focus-visible ~ .paper__frame { outline: 2px solid var(--teal); outline-offset: 3px; }
.paper__mark { position: absolute; top: 10px; right: 10px; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 1px solid #A9A3C0; }
.paper__mark::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--violet); transform: scale(0); transition: transform .12s; }
.paper input:checked ~ .paper__mark { border-color: var(--violet); }
.paper input:checked ~ .paper__mark::after { transform: scale(1); }
/* a card seen a little from below, so that its edge shows: paper, core, paper */
.paper__card {
	--edge: #FFFFFF;
	--core: #DCE5E2;
	--face: #F4F8F7;
	position: relative;
	display: block;
	width: 38px;
	height: 53px;
	margin: 0 0 10px 2px;
	border: 1px solid #8D88A6;
	border-radius: 4px;
	background:
		linear-gradient(#A9A3C0, #A9A3C0) 50% 5px / 26px 20px no-repeat,
		linear-gradient(#A9A3C0, #A9A3C0) 5px 31px / 26px 2px no-repeat,
		linear-gradient(#A9A3C0, #A9A3C0) 5px 36px / 18px 2px no-repeat,
		var(--face);
	box-shadow: 0 2px 0 var(--edge), 0 5px 0 var(--core), 0 7px 0 var(--edge), 0 8px 0 #8D88A6;
	transform: rotate(-4deg);
	overflow: hidden;
}
.paper--black-core .paper__card { --core: var(--ink); }
.paper--holo .paper__card { --face: linear-gradient(125deg, #F7C6D9 0%, #F6E7A6 30%, #E9DFFF 62%, #B9C7FF 100%); }
.paper--holo .paper__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 38%, var(--shine) 50%, transparent 62%) 120% 0 / 300% 100% no-repeat; transition: background-position .5s; }
.paper--holo:hover .paper__card::after,
.paper--holo input:checked ~ .paper__card::after { background-position: -20% 0; }
.paper__text { display: grid; gap: 2px; align-content: start; min-width: 0; line-height: 1.35; overflow-wrap: anywhere; }
.paper__text b { font-weight: 600; }
.paper__text small { color: var(--muted); font-size: 13px; }
.paper__price { font: 600 14px/1 var(--body-font); white-space: nowrap; }

/* ---------- 7 shop bar ---------- */
/* the shop bar: the gold announcement, then crystal with the crest, the gold links and the plain icons */
.shopbar { position: relative; z-index: 20; color: var(--fg); }
.announce {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 42px;
	padding: 6px var(--gutter);
	background: var(--metal-side);
	border-bottom: 1px solid var(--metal-line);
	color: #23203A;
	font: 500 14px/1.3 var(--body-font);
	text-align: center;
}
.announce__lines { display: grid; margin: 0; }
.announce__lines span { grid-area: 1 / 1; opacity: 0; transition: opacity .5s; }
.announce__lines span.is-on { opacity: 1; }
.shopbar__face {
	position: relative;
	background: var(--facets) 0 0 / 520px 520px, #F8F5FF;
	border-bottom: 1px solid var(--line-strong);
}
.shopbar__row { display: flex; align-items: center; gap: 22px; min-height: 130px; padding-block: 8px; }
/* the crest, and the name laid over it in crystal and gold */
.brand { position: relative; display: grid; place-items: center; flex: none; width: 128px; height: 120px; text-decoration: none; }
.brand__mark { grid-area: 1 / 1; width: 120px; height: 120px; filter: drop-shadow(0 3px 4px rgba(40, 30, 5, .35)); }
.brand__name { grid-area: 1 / 1; z-index: 1; font-size: 25px; line-height: .86; text-align: center; transform: rotate(-4deg); }
.shopbar__nav { flex: 1 1 auto; min-width: 0; }
.shopbar__nav ul { display: flex; flex-wrap: wrap; gap: 10px 8px; margin: 0; padding: 0; list-style: none; }
/* a link of the shop bar: a bar of polished gold */
.shopbar__nav a {
	display: grid;
	place-items: center;
	min-width: 112px;
	min-height: 32px;
	padding: 4px 18px;
	color: #23203A;
	font: 700 15px/1.1 var(--body-font);
	text-decoration: none;
	white-space: nowrap;
	background: var(--metal-side);
	border: 1px solid var(--metal-line);
	border-radius: 10px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -2px 3px rgba(110, 75, 10, .35), 0 2px 3px rgba(60, 40, 5, .35);
	text-shadow: 0 1px 0 rgba(255, 245, 210, .55);
	transition: transform .12s, filter .12s;
}
.shopbar__nav a:hover { color: #23203A; filter: brightness(1.07) saturate(1.1); transform: translateY(-1px); }
.shopbar__nav .current-menu-item > a { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -2px 3px rgba(110, 75, 10, .35), 0 0 0 2px rgba(108, 76, 224, .45), 0 2px 3px rgba(60, 40, 5, .35); }
.shopbar__tools { display: flex; align-items: center; gap: 4px; margin-left: auto; }
/* the icons at the end of the bar: plain gold-brown outlines */
.toolbtn {
	position: relative;
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	color: #7E5E17;
	background: none;
	border: 0;
	border-radius: 50%;
	text-decoration: none;
	cursor: pointer;
}
.toolbtn:hover { color: var(--ink); background: rgba(255, 255, 255, .6); }
.toolbtn[aria-current="page"],
.findpill[aria-expanded="true"] { color: var(--ink); background: rgba(255, 255, 255, .8); }
.acctpill.is-in::after { content: ""; position: absolute; top: 9px; right: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); border: 1.5px solid #fff; }
.cartpill__count {
	position: absolute;
	top: 4px;
	right: 2px;
	display: grid;
	place-items: center;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--ink);
	color: #fff;
	font: 600 11px/1 var(--body-font);
}
.cartpill__count.is-empty { display: none; }
.shopbar__burger { display: none; }

/* the cart drawer: the cart beside the page */
.cartdrawer:not([open]) { display: none; }
.cartdrawer {
	position: fixed;
	inset: 0 0 0 auto;
	width: min(100%, 460px);
	max-width: none;
	height: 100%;
	height: 100dvh;
	max-height: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
	background: #FFFFFF;
	color: var(--fg);
	border: 0;
	box-shadow: -20px 0 40px rgba(0, 0, 0, .12);
}
.cartdrawer::backdrop { background: rgba(30, 20, 60, .35); }
.cartdrawer[open] { animation: drawer-in .2s ease-out; }
.cartdrawer[open]::backdrop { animation: scrim-in .2s ease-out; }
.cartdrawer.is-leaving { animation: drawer-out .16s ease-in forwards; }
@keyframes drawer-in { from { transform: translateX(100%); } }
@keyframes drawer-out { to { transform: translateX(100%); } }
@keyframes scrim-in { from { opacity: 0; } }
html:has(.cartdrawer[open]) { overflow: hidden; scrollbar-gutter: stable; }
.cartdrawer__in { display: flex; flex-direction: column; height: 100%; }
.cartdrawer__in > .stripes { display: none; }
.cartdrawer__head { flex: none; display: flex; align-items: center; gap: 12px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
#insertdeck .cartdrawer__title { margin: 0; font: 700 20px/1 var(--marquee-font); }
.cartdrawer__head .cartpill__count { position: static; }
.cartdrawer__close { margin-left: auto; }
.cartdrawer__alert { flex: none; margin: 0; padding: 10px 24px; background: var(--sunk); color: var(--fg); font-size: 14px; border-bottom: 1px solid var(--line); }
.cartdrawer__body { flex: 1; display: flex; flex-direction: column; min-height: 0; transition: opacity .12s; }
.cartdrawer[aria-busy="true"] .cartdrawer__body { opacity: .55 !important; pointer-events: none; }
.cartdrawer__lines { flex: 1; min-height: 0; margin: 0; padding: 2px 24px; list-style: none; overflow-y: auto; overscroll-behavior: contain; }
.cartline {
	display: grid;
	grid-template-columns: 76px minmax(0, 1fr) auto;
	grid-template-areas: "art text price" "art qty remove";
	align-items: start;
	gap: 10px 14px;
	padding: 18px 0;
	border-top: 1px solid var(--line);
}
.cartline:first-child { border-top: 0; }
.cartline__art { grid-area: art; display: block; }
#insertdeck .cartline__art img { display: block; width: 76px; height: 76px; margin: 0; object-fit: cover; background: var(--sunk); border: 0; border-radius: 6px; }
.cartline__text { grid-area: text; min-width: 0; }
.cartline__name { display: block; font: 500 15px/1.3 var(--body-font); text-decoration: none; color: var(--fg); overflow-wrap: anywhere; }
a.cartline__name:hover { text-decoration: underline; color: var(--fg); }
#insertdeck .cartline dl.variation { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1px 6px; margin: 6px 0 0; padding: 0; border: 0; font-size: 13px; line-height: 1.4; color: var(--muted); }
#insertdeck .cartline dl.variation dt { float: none; clear: none; margin: 0; padding: 0; font-weight: 600; color: var(--fg); }
#insertdeck .cartline dl.variation dd { float: none; margin: 0; padding: 0; }
#insertdeck .cartline dl.variation p { margin: 0; }
.cartline__price { grid-area: price; font: 600 15px/1.3 var(--body-font); white-space: nowrap; }
.cartline__qty { grid-area: qty; display: inline-flex; align-items: center; gap: 10px; padding-bottom: 6px; }
.cartline__count { min-width: 1.6em; text-align: center; font: 600 15px/1 var(--body-font); font-variant-numeric: tabular-nums; }
.cartline__count b { font-weight: 600; }
.cartline__remove { grid-area: remove; align-self: center; justify-self: end; font-size: 13px; color: var(--muted); }
.cartline__remove:hover { color: var(--danger); }
.cartdrawer__foot { flex: none; display: grid; gap: 12px; padding: 18px 24px 28px; border-top: 1px solid var(--line); background: #FFFFFF; }
.cartdrawer__sum { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 0; font-weight: 600; }
.cartdrawer__sum--part { font-weight: 400; font-size: 14px; }
.cartdrawer__sum--part + .cartdrawer__sum--part { margin-top: -6px; }
.cartdrawer__sum--off { color: var(--pink); font-weight: 600; }
.cartdrawer__note { margin: 0; font-size: 13px; color: var(--muted); }
/* the free cards offer: where a cart stands with it, as a bar of two stretches (the cards to buy, the free ones) */
.freeplay { display: grid; gap: 8px; min-width: 0; padding: 12px 14px 14px; background: var(--facets) 0 0 / 520px 520px, #F8F5FF; border: 1px solid var(--line); border-radius: var(--radius); }
.freeplay[hidden], .freeplay [hidden] { display: none; }
.freeplay__go { margin-left: 4px; font-weight: 600; white-space: nowrap; }
#insertdeck .freeplay p { margin: 0; max-width: none; }
.freeplay__say { font-size: 14px; line-height: 1.45; }
.freeplay__say strong { margin-right: 4px; font-weight: 700; }
.freeplay.is-won .freeplay__say strong { padding: 2px 7px; background: var(--teal); color: #fff; border-radius: 4px; white-space: nowrap; }
.freeplay__meter { display: flex; gap: 6px; }
.freeplay__meter .bar { min-width: 0; height: 8px; background: #fff; }
.freeplay__bought { flex: var(--buy, 3) 1 0; }
.freeplay__given { flex: var(--free, 1) 1 0; --c: var(--teal); }
.freeplay.is-blocked { border-style: dashed; }
.freeplay.is-blocked .freeplay__meter { display: none; }
.freeplay--page { max-width: 720px; margin: 0 0 24px; padding: 14px 18px 16px; }
.freeplay--page .freeplay__say { font-size: 15px; }
#insertdeck .wc-block-components-chip__remove[aria-label*="cards free"],
#insertdeck .wc-block-components-chip__remove[aria-label*="card free"] { display: none; }
.cartdrawer__foot .btn { width: 100%; }
.cartdrawer__foot .btn + .btn { margin-top: 2px; }
.cartdrawer__empty { flex: 1; display: grid; gap: 10px; align-content: center; justify-items: center; padding: 30px 28px 60px; text-align: center; }
.cartdrawer__empty > .icon { display: none; }
.cartdrawer__empty p { margin: 0; max-width: 32ch; }
#insertdeck .cartdrawer__lead { font: 700 26px/1.15 var(--marquee-font); }
.cartdrawer__empty .btn { margin-top: 10px; }

/* ---------- 8 footer ---------- */
.sitefoot { background: var(--facets) 0 0 / 520px 520px, #F8F5FF; border-top: 1px solid var(--line); }
.sitefoot__in { display: grid; gap: 22px; padding-block: 28px 30px; }
.sitefoot__ask { margin: 0; text-align: center; }
.sitefoot__ask a { color: var(--fg); font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }
.sitefoot__nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 26px; margin: 0; padding: 0; list-style: none; }
.sitefoot__nav a { color: var(--fg); font-size: 14px; text-decoration: none; }
.sitefoot__nav a:hover { text-decoration: underline; }
.sitefoot__base { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 12px 30px; padding-top: 22px; border-top: 1px solid #E4DCF8; font-size: 13px; color: var(--muted); }
.sitefoot__base p { margin: 0; }
.sitefoot__note { max-width: 62ch; text-align: center; font-size: 12px; }
.sitefoot__line { justify-self: end; text-align: right; }

/* ---------- 9 home ---------- */
/* the banner: deep crystal dusted with gold, the newest decks fanned around the shop's name */
.hero__banner {
	position: relative;
	display: grid;
	place-items: center;
	min-height: clamp(300px, 36vw, 440px);
	overflow: hidden;
	background: var(--crystal) center / cover no-repeat, #0B4D50;
	isolation: isolate;
}
.hero__banner::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(60% 55% at 50% 52%, rgba(255, 240, 190, .28), transparent 70%);
}
.hero__name { position: relative; z-index: 3; display: grid; justify-items: center; gap: clamp(4px, 1vw, 12px); padding: 0 16px; text-align: center; }
.hero__name h1 { margin: 0; font-size: inherit; line-height: 1; }
.hero__line { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; margin: 0; }
.hero__line span {
	font: 700 clamp(11px, 1.5vw, 19px)/1.2 var(--line-font);
	letter-spacing: .16em;
	text-transform: uppercase;
	color: transparent;
	background: linear-gradient(180deg, #F3EDFF, #B79CF5 55%, #B98727);
	-webkit-background-clip: text;
	background-clip: text;
	filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .6));
}
.hero__line i { width: clamp(8px, 1vw, 12px); aspect-ratio: 1; transform: rotate(45deg); background: var(--gem); border: 1px solid #B79CF5; box-shadow: 0 0 8px rgba(255, 230, 160, .8); }
/* a deck on the banner: a card in a gold rim, tipped this way or that */
.hero__card {
	position: absolute;
	z-index: 2;
	width: clamp(64px, 10.5vw, 132px);
	aspect-ratio: 63 / 88;
	padding: 3px;
	background: var(--metal);
	border-radius: 9px;
	box-shadow: 0 10px 22px rgba(0, 0, 0, .45), 0 0 0 1px rgba(60, 40, 5, .6);
	transform: rotate(var(--r, 0deg));
	transition: transform .3s ease;
}
.hero__card:hover { transform: rotate(var(--r, 0deg)) translateY(-6px) scale(1.04); }
#insertdeck .hero__card img { display: block; width: 100%; height: 100%; margin: 0; object-fit: cover; border-radius: 6px; }
.hero__card--1 { left: 13%; top: 7%; --r: -14deg; }
.hero__card--2 { left: 30%; top: -4%; --r: -3deg; }
.hero__card--3 { right: 29%; top: -2%; --r: 5deg; }
.hero__card--4 { right: 12%; top: 9%; --r: 13deg; }
.hero__card--5 { left: 27%; bottom: -10%; --r: -9deg; }
.hero__card--6 { right: 32%; bottom: -12%; --r: 8deg; }
@media (max-width: 760px) {
	.hero__card--2, .hero__card--3, .hero__card--5, .hero__card--6 { display: none; }
	.hero__card--1 { left: 3%; top: 6%; }
	.hero__card--4 { right: 3%; top: auto; bottom: 6%; }
}

/* the welcome under the banner: a few words and the way into the shop */
.welcome { display: grid; justify-items: center; gap: 12px; max-width: 640px; text-align: center; }
.welcome h2 { font-size: clamp(22px, 2.6vw, 28px); }
.welcome p { margin: 0; color: #3A3654; font-size: 15px; max-width: 46ch; }
.welcome p:last-child { margin-top: 6px; }

/* a deck of one's own: a crystal panel that asks */
.wish__in {
	display: grid;
	justify-items: center;
	gap: 10px;
	max-width: 760px;
	margin-inline: auto;
	padding: clamp(28px, 4vw, 42px) clamp(18px, 4vw, 60px);
	text-align: center;
	background: var(--facets) 0 0 / 520px 520px, #F8F5FF;
	border: 1px solid #E4DCF8;
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(80, 50, 180, .08);
}
.wish__in h2 { color: var(--teal); font-size: clamp(24px, 3vw, 32px); margin-bottom: 6px; }
.wish__asks { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; font: 700 clamp(15px, 1.7vw, 18px)/1.35 var(--marquee-font); }
.wish__in p { margin: 8px 0 0; max-width: 60ch; font-size: 14px; color: #3A3654; }
.wish__in p:last-child { margin-top: 14px; }

/* a shelf: its title on the left, the way to all of it on the right, then the tiles */
.shelf { display: grid; gap: 18px; }
.shelf__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; }
.shelf__head h2 { font-size: clamp(24px, 2.6vw, 28px); }
.shelf__more { display: inline-flex; align-items: center; gap: 6px; color: var(--fg); font-size: 15px; font-weight: 500; text-decoration: none; }
.shelf__more:hover { color: var(--teal); }
.shelf__more .icon { transition: transform .15s; }
.shelf__more:hover .icon { transform: translateX(3px); }

/* the free cards offer: a crystal panel with a gold seal */
.bounty__in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px 34px; padding: clamp(22px, 3vw, 32px) clamp(20px, 4vw, 44px); background: var(--facets) 0 0 / 520px 520px, #F8F5FF; border: 1px solid var(--line); border-radius: 16px; }
.bounty__say { display: grid; gap: 6px; }
.bounty__say > * { margin: 0; }
.bounty__say h2 { font-size: clamp(20px, 2.4vw, 26px); }
.bounty__say p { color: #3A3654; font-size: 15px; max-width: 60ch; }
.bounty__go { margin: 0; }
.seal {
	display: grid;
	place-content: center;
	justify-items: center;
	width: 110px;
	aspect-ratio: 1;
	margin: 0;
	color: #fff;
	text-align: center;
	background: var(--gem);
	border: 4px solid transparent;
	border-radius: 50%;
	box-shadow: 0 0 0 3px #C9B6F5, 0 0 0 5px #6C4CE0, 0 8px 18px rgba(0, 0, 0, .2);
}
.seal b { font: 700 40px/.9 var(--marquee-font); text-shadow: 0 2px 2px rgba(0, 0, 0, .35); }
.seal span { font: 600 11px/1.1 var(--body-font); text-transform: uppercase; letter-spacing: .08em; }

/* how it works: four steps, each under a crystal medallion */
.how { display: grid; gap: 28px; }
.how > h2 { text-align: center; }
.pillars { display: grid; gap: 28px 26px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); margin: 0; padding: 0; list-style: none; counter-reset: step; }
.pillar { position: relative; display: grid; gap: 8px; align-content: start; justify-items: center; text-align: center; counter-increment: step; }
.medal {
	position: relative;
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	color: var(--teal-deep);
	background: var(--facets) 0 0 / 260px 260px, #F8F5FF;
	box-shadow: 0 0 0 2px #C9B6F5, 0 0 0 4px #FFFFFF, 0 0 0 5px #8C6FE0, 0 6px 14px rgba(0, 0, 0, .12);
}
.pillar .medal::after {
	content: counter(step);
	position: absolute;
	top: -6px;
	right: -8px;
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	font: 700 12px/1 var(--body-font);
	color: #fff;
	background: var(--teal);
	border-radius: 50%;
	box-shadow: 0 0 0 2px #fff;
}
.pillar > .icon:first-child { box-sizing: content-box; width: 30px; height: 30px; padding: 20px; border-radius: 50%; color: var(--teal-deep); background: var(--facets) 0 0 / 260px 260px, #F8F5FF; box-shadow: 0 0 0 2px #C9B6F5, 0 0 0 4px #FFFFFF, 0 0 0 5px #8C6FE0; }
.pillar h3 { margin-top: 12px; font-size: 17px; }
.pillar p { margin: 0; font-size: 14px; color: var(--muted); max-width: 30ch; }

/* (pieces of the old front page that other pages still use) */
.ledger { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 30px; margin: 0; padding: 0; list-style: none; color: var(--muted); }
.ledger b { color: var(--fg); }
.rip { height: 1px; margin-block: clamp(36px, 5vw, 56px); background: var(--line); }
.ways-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 270px)); justify-content: center; gap: 16px; margin: 0; padding: 0; list-style: none; }
.wayin a { display: grid; justify-items: center; gap: 8px; height: 100%; padding: 22px 16px 20px; text-align: center; color: var(--fg); text-decoration: none; background: var(--facets) 0 0 / 520px 520px, #F8F5FF; border: 1px solid var(--line); border-radius: 14px; transition: border-color .15s, transform .15s; }
.wayin a:hover { border-color: var(--teal); transform: translateY(-2px); }
.wayin b { font: 700 17px/1.2 var(--marquee-font); }
.wayin small { font-size: 14px; line-height: 1.45; color: var(--muted); }
.signpost { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 6px 16px; color: #23203A; font: 700 15px/1.1 var(--body-font); text-decoration: none; background: var(--metal-side); border: 1px solid var(--metal-line); border-radius: 10px; }
.mill { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.mill__paper { display: grid; justify-items: center; gap: 6px; padding: 26px 18px 22px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.mill__paper b { font: 700 18px/1.2 var(--marquee-font); }
.mill__paper small { font-size: 14px; color: var(--muted); max-width: 30ch; }
.mill__price { margin-top: 6px; padding: 5px 14px; font: 600 14px/1 var(--body-font); background: var(--sunk); border-radius: 999px; }

.gameover { border: 1px solid var(--line); border-radius: 16px; }
.gameover__in { position: relative; z-index: 2; display: grid; gap: 14px; justify-items: start; padding: clamp(28px, 6vw, 72px); }
.gameover__in p { margin: 0; }
.gameover__in p:last-child { margin-top: 8px; }

/* ---------- 10 deck tiles ---------- */
#insertdeck ul.products {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
	gap: 40px 24px;
	margin: 0;
	padding: 0 0 14px;
	list-style: none;
	clear: both;
}
#insertdeck ul.products::before,
#insertdeck ul.products::after { display: none; }
#insertdeck ul.products li.product { display: flex; width: auto; float: none; margin: 0; padding: 0; }
/* a tile: the picture on white, the name under it, then the price; no box around any of it */
.deck {
	position: relative;
	flex: 1;
	display: grid;
	grid-template-rows: auto 1fr auto;
	min-width: 0;
	background: none;
	color: var(--fg);
}
.deck__art { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--sunk); border-radius: 6px; }
#insertdeck .deck__art img { display: block; width: 100%; height: 100%; margin: 0; object-fit: cover; transition: transform .5s ease; }
.deck:hover .deck__art img { transform: scale(1.04); }
.deck__art .chip { position: absolute; top: 10px; left: 10px; z-index: 3; }
.deck__body { display: grid; gap: 6px; align-content: start; padding: 14px 0 0; min-width: 0; }
#insertdeck .deck__name { margin: 0; padding: 0; font: 400 16px/1.4 var(--body-font); letter-spacing: 0; overflow-wrap: anywhere; }
.deck__name a { color: var(--fg); text-decoration: none; }
.deck__name a::after { content: ""; position: absolute; inset: 0; z-index: 4; }
.deck:hover .deck__name a { text-decoration: underline; text-underline-offset: 3px; }
.deck__meta { margin: 0; font-size: 13px; color: var(--muted); }
.deck .stats { display: none; }
.deck__foot { position: relative; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding: 8px 0 0; }
.deck__foot .ticket { font-size: 15px; }
.deck__off { padding: 2px 6px; background: var(--pink); color: #fff; border-radius: 3px; font: 700 12px/1.3 var(--body-font); }
#insertdeck .deck__foot .button { min-height: 32px; margin: 0; padding: 0 14px; font-size: 13px; --fill: #FFFFFF; --label: var(--ink); --rim: var(--ink); }
#insertdeck .deck__foot .button:hover { --fill: var(--ink); --label: #FFFFFF; }
#insertdeck .deck__foot .added_to_cart { flex-basis: 100%; padding: 0; font-size: 13px; font-weight: 600; color: var(--teal); }

.shoptools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 26px; }
#insertdeck .woocommerce-result-count { margin: 0; color: var(--fg); font-size: 15px; }
#insertdeck .woocommerce-ordering { margin: 0; }
#insertdeck .woocommerce-ordering select { padding: 8px 32px 8px 12px; font-size: 15px; border-color: transparent; background-color: transparent; }
#insertdeck .woocommerce-breadcrumb { margin: 0 0 18px; font-size: 13px; color: var(--muted); }
#insertdeck .woocommerce-breadcrumb a { color: var(--muted); }
.crumb-sep { margin-inline: 8px; color: var(--muted); }
#insertdeck nav.woocommerce-pagination { margin-top: 42px; text-align: center; }
#insertdeck nav.woocommerce-pagination ul { display: inline-flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; border: 0; list-style: none; }
#insertdeck nav.woocommerce-pagination ul li { border: 0; float: none; margin: 0; overflow: visible; }
#insertdeck nav.woocommerce-pagination ul li a,
#insertdeck nav.woocommerce-pagination ul li span {
	display: grid;
	place-items: center;
	min-width: 40px;
	height: 40px;
	padding: 0 10px;
	background: none;
	color: var(--fg);
	border: 1px solid transparent;
	border-radius: 999px;
	font: 500 14px/1 var(--body-font);
	text-decoration: none;
}
#insertdeck nav.woocommerce-pagination ul li a:hover { border-color: var(--line); }
#insertdeck nav.woocommerce-pagination ul li span.current { background: var(--ink); color: #fff; }

/* ---------- 11 the stage ---------- */
#insertdeck div.product { display: grid; gap: clamp(34px, 5vw, 60px); }
#insertdeck div.product::before, #insertdeck div.product::after { display: none; }
.stage {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
	gap: clamp(18px, 3vw, 34px);
	align-items: start;
	padding: clamp(14px, 2.6vw, 30px);
	border: var(--bw) solid var(--line);
	border-radius: 20px;
	background-color: var(--surface);
	background-image: radial-gradient(120% 70% at 30% 0%, rgba(255, 250, 235, .5), transparent 70%);
	box-shadow: 0 10px 30px var(--drop);
}
.stage__screen { min-width: 0; }
#insertdeck div.product div.images { float: none; width: auto; margin: 0; }
#insertdeck div.product div.summary { float: none; width: auto; margin: 0; display: grid; gap: 16px; align-content: start; min-width: 0; container: summary / inline-size; }
#insertdeck div.product div.summary > * { margin: 0; }

/* the listing images play on a screen, with nothing laid over them */
#insertdeck .woocommerce-product-gallery { position: relative; }
#insertdeck .woocommerce-product-gallery .flex-viewport,
#insertdeck .woocommerce-product-gallery:not(:has(.flex-viewport)) .woocommerce-product-gallery__wrapper {
	position: relative;
	overflow: hidden;
	background: var(--sunk);
	border: 0;
	border-radius: 8px;
	box-shadow: none;
}
#insertdeck .woocommerce-product-gallery__image img { display: block; width: 100%; height: auto; }
#insertdeck .woocommerce-product-gallery__trigger { top: 14px; right: 14px; z-index: 5; border: var(--bw) solid var(--ink); }
#insertdeck .woocommerce-product-gallery .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 12px 0 0; padding: 0; overflow: visible; }
#insertdeck .woocommerce-product-gallery .flex-control-thumbs li { width: auto; float: none; margin: 0; list-style: none; }
#insertdeck .woocommerce-product-gallery .flex-control-thumbs img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border: var(--bw) solid var(--line);
	border-radius: 10px;
	opacity: .55;
	cursor: pointer;
}
#insertdeck .woocommerce-product-gallery .flex-control-thumbs img:hover,
#insertdeck .woocommerce-product-gallery .flex-control-thumbs img.flex-active { opacity: 1; }
#insertdeck .woocommerce-product-gallery .flex-control-thumbs img.flex-active { box-shadow: 0 0 0 3px var(--gold); }

.stage__chips { display: flex; flex-wrap: wrap; gap: 8px; }
#insertdeck .stage__name { font-size: clamp(24px, 3.4vw, 36px); line-height: 1.04; }
#insertdeck .woocommerce-product-details__short-description p { margin: 0; }

#insertdeck form.cart { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px 22px; align-items: center; margin: 4px 0 0; }
#insertdeck form.cart .papers,
#insertdeck form.cart .packs,
#insertdeck form.cart .packcost,
#insertdeck form.cart .bonuses { grid-column: 1 / -1; }
#insertdeck form.cart .ticket { justify-self: start; }
#insertdeck form.cart .quantity { display: inline-flex; align-items: center; gap: 10px; float: none; margin: 0; justify-self: end; padding-bottom: 8px; }
#insertdeck form.cart .quantity .qty {
	width: 2.6em;
	padding: 0;
	text-align: center;
	font: 400 22px/1 var(--marquee-font);
	color: var(--fg);
	background: transparent;
	border: 0;
	-moz-appearance: textfield;
	appearance: textfield;
}
#insertdeck form.cart .quantity .qty::-webkit-inner-spin-button,
#insertdeck form.cart .quantity .qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
#insertdeck form.cart .single_add_to_cart_button { grid-column: 1 / -1; float: none; min-height: 60px; font-size: 18px; --travel: 8px; border-radius: 16px; margin-bottom: 11px; }
#insertdeck .product_meta { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 13px; color: var(--muted); }
#insertdeck .product_meta a { color: var(--muted); }
#insertdeck .stock { margin: 0; font-weight: 700; color: var(--fg); }
#insertdeck .stock.out-of-stock { color: var(--danger); }

/* below the stage, the stat screen: how strong the deck is and how its costs are spread */
.statscreen { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(18px, 3vw, 34px); }
.statscreen--one { grid-template-columns: minmax(0, 1fr); }
.statpanel {
	display: grid;
	gap: 12px;
	align-content: start;
	justify-items: start;
	min-width: 0;
	padding: clamp(18px, 3vw, 32px);
	background: var(--surface);
	border: var(--bw) solid var(--line);
	border-radius: 18px;
}
.statpanel > * { margin: 0; }
#insertdeck .statpanel__title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; font-size: clamp(20px, 2.6vw, 26px); }
.statpanel__title span { color: var(--accent-text); }
.statpanel__list { font-size: 15px; }
.statpanel__note { font-size: 14px; color: var(--muted); }

.meter { display: inline-flex; align-items: flex-end; gap: 6px; }
.meter i { width: 30px; background: var(--sunk); border: 2px solid var(--line); border-radius: 4px; }
.meter i:nth-child(1) { height: 12px; }
.meter i:nth-child(2) { height: 18px; }
.meter i:nth-child(3) { height: 24px; }
.meter i:nth-child(4) { height: 30px; }
.meter i:nth-child(5) { height: 36px; }
.meter i.is-on { background: var(--teal); }
.meter i.is-now { background: var(--gold); }

.curve {
	justify-self: stretch;
	display: grid;
	grid-template-columns: repeat(8, minmax(0, 1fr));
	gap: clamp(4px, 1.4vw, 14px);
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: center;
}
.curve li { display: grid; gap: 8px; min-width: 0; }
.curve__track { display: flex; align-items: flex-end; justify-content: center; height: 164px; border-bottom: var(--bw) solid var(--line); background: repeating-linear-gradient(0deg, transparent 0 40px, var(--grid) 40px 41px); }
.curve__bar { position: relative; width: min(100%, 46px); height: var(--h); background: linear-gradient(90deg, rgba(255, 246, 225, .35), rgba(255, 246, 225, 0) 45%), var(--gold); border: 2px solid var(--ink); border-bottom: 0; border-radius: 8px 8px 0 0; }
.curve .is-empty .curve__bar { border: 0; }
.curve__bar b { position: absolute; left: 0; right: 0; bottom: calc(100% + 6px); font: 400 15px/1 var(--marquee-font); font-variant-numeric: tabular-nums; }
.curve .is-empty b { color: var(--muted); }
.curve__mv { color: var(--muted); }

/* ---------- 12 the card list, and the other tabs ---------- */
#insertdeck .woocommerce-tabs { margin: 0; padding: 0; }
#insertdeck .woocommerce-tabs ul.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 16px; padding: 0; border: 0; list-style: none; overflow: visible; }
#insertdeck .woocommerce-tabs ul.tabs::before,
#insertdeck .woocommerce-tabs ul.tabs li::before,
#insertdeck .woocommerce-tabs ul.tabs li::after { display: none; }
#insertdeck .woocommerce-tabs ul.tabs li { margin: 0; padding: 0; background: var(--surface); border: var(--bw) solid var(--line); border-radius: 999px; }
#insertdeck .woocommerce-tabs ul.tabs li a { display: block; padding: 8px 18px; font: 700 15px/1.2 var(--body-font); color: var(--fg); text-decoration: none; }
#insertdeck .woocommerce-tabs ul.tabs li.active { background: var(--violet); }
#insertdeck .woocommerce-tabs ul.tabs li.active a { color: #FFFFFF; }
#insertdeck .woocommerce-Tabs-panel {
	margin: 0;
	padding: clamp(18px, 3vw, 32px);
	background: var(--surface);
	border: var(--bw) solid var(--line);
	border-radius: 18px;
}
#insertdeck .woocommerce-Tabs-panel > h2 { font-size: clamp(20px, 2.6vw, 26px); margin-bottom: 18px; }
.is-deck #tab-description { columns: 3 220px; column-gap: 38px; }
.is-deck #tab-description > h2 { column-span: all; }
.is-deck #tab-description h3 {
	margin: 0 0 8px;
	padding-top: 6px;
	font: 800 11px/1.6 var(--hud-font);
	letter-spacing: .08em;
	
	color: var(--accent-text);
	break-after: avoid;
}
.is-deck #tab-description ul { margin: 0 0 18px; padding: 0; list-style: none; font-size: 15px; }
.is-deck #tab-description li { padding: 3px 0; border-bottom: 2px dotted var(--sunk); break-inside: avoid; }

/* ---------- 12b every card, pointed at; making it yours ---------- */
/* the list the theme draws in place of the description: the panel itself is no longer in columns, its groups are */
.is-deck #tab-description:has(.cardlist) { columns: auto; }
.cardlist { display: grid; gap: 22px; }
.cardlist__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
#insertdeck .cardlist__title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0; font-size: clamp(20px, 2.6vw, 26px); scroll-margin-top: 110px; }
.cardlist__groups { columns: 3 230px; column-gap: 38px; }
.cardgroup__title {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 10px;
	margin: 0 0 8px;
	padding-top: 6px;
	font: 800 11px/1.6 var(--hud-font);
	letter-spacing: .08em;
	
	color: var(--accent-text);
	break-after: avoid;
}
.cardgroup__count { color: var(--fg); }
.cardgroup__note { font: 500 12px/1 var(--body-font); letter-spacing: 0; text-transform: none; color: var(--muted); }
.cardgroup__list { margin: 0 0 18px; padding: 0; list-style: none; font-size: 15px; }
.cardrow {
	display: grid;
	grid-template-columns: 2.2ch minmax(0, 1fr) auto;
	align-items: center;
	gap: 8px;
	min-height: 30px;
	padding: 2px 0;
	border-bottom: 2px dotted var(--sunk);
	break-inside: avoid;
}
.cardrow__qty { font: 700 13px/1 var(--body-font); color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.cardrow__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--fg); text-decoration: none; cursor: zoom-in; }
.cardrow__name:hover,
.cardrow__name:focus-visible { color: var(--accent-text); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.cardlist__note { margin: 0; font-size: 13px; color: var(--muted); }

/* the same cards as pictures: each with how many of it, the bonus rounds after the deck */
.cardgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 18px 14px; margin: 0; padding: 0; list-style: none; }
.cardgrid[hidden], .cardlist__groups[hidden] { display: none; }
.cardgrid__item { position: relative; display: grid; gap: 6px; }
.cardgrid__pic { display: block; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 8px; }
.cardgrid__pic img { display: block; width: 100%; height: auto; aspect-ratio: 146 / 204; border-radius: 7px; background: var(--sunk); box-shadow: 0 0 0 2px var(--line); }
.cardgrid__pic:hover img, .cardgrid__pic:focus-visible img { box-shadow: 0 0 0 2px var(--line), 0 5px 0 var(--gold); }
.cardgrid__qty { position: absolute; top: -8px; left: -8px; z-index: 1; }
.cardgrid__name { font-size: 13px; line-height: 1.25; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cardgrid__head { grid-column: 1 / -1; margin: 6px 0 -6px; font: 800 11px/1.6 var(--hud-font); letter-spacing: .14em; color: var(--accent-text); }

/* two buttons as one switch: the one that is pressed is lit */
.seg { display: inline-flex; padding: 3px; gap: 3px; border: var(--bw) solid var(--line); border-radius: 999px; background: var(--surface); }
.seg[hidden] { display: none; }
.seg__btn { padding: 7px 14px; font: 700 13px/1 var(--body-font); color: var(--fg); background: transparent; border: 0; border-radius: 999px; cursor: pointer; }
.seg__btn[aria-pressed="true"] { color: var(--bg); background: var(--fg); }
.seg__btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* what a card costs: a coin for each symbol */
.mana { display: inline-flex; align-items: center; gap: 2px; flex: none; }
.ms {
	--c: var(--pip-c);
	--t: var(--ink);
	display: inline-grid;
	place-items: center;
	width: 17px;
	height: 17px;
	flex: none;
	border-radius: 50%;
	border: 1.5px solid var(--line);
	background: var(--c);
	color: var(--t);
	font: 800 9px/1 var(--body-font);
	font-style: normal;
	
}
.ms--w { --c: var(--pip-w); }
.ms--u { --c: var(--pip-u); --t: var(--white); }
.ms--b { --c: var(--pip-b); --t: var(--cream); }
.ms--r { --c: var(--pip-r); --t: var(--white); }
.ms--g { --c: var(--pip-g); --t: var(--white); }
.ms--n { --c: var(--sunk); --t: var(--fg); }
.ms--two { background: linear-gradient(135deg, var(--a) 0 50%, var(--b) 50% 100%); --t: var(--ink); }
.ms--life { box-shadow: inset 0 0 0 2px var(--shine); }
.mana__or { margin: 0 2px; color: var(--muted); font-size: 12px; }

/* the card itself, while its name is pointed at: beside the pointer, never under it */
.cardpeek {
	position: fixed;
	left: 0;
	top: 0;
	z-index: 100000;
	display: flex;
	gap: 10px;
	pointer-events: none;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity .12s, transform .12s;
}
.cardpeek.is-on { opacity: 1; transform: none; }
.cardpeek img {
	display: block;
	width: 244px;
	height: auto;
	aspect-ratio: 488 / 680;
	border-radius: 12px;
	background: var(--cabinet);
	box-shadow: 0 0 0 var(--bw) var(--ink), 0 8px 0 var(--ink);
}

/* tapped, or opened from the keyboard: the card large, over a dimmed page, with its back where it has one */
.cardsheet {
	max-width: none;
	max-height: none;
	margin: 0;
	padding: 0;
	inset: 0;
	width: 100%;
	height: 100%;
	display: grid;
	place-items: center;
	border: 0;
	background: transparent;
}
.cardsheet:not([open]) { display: none; }
.cardsheet::backdrop { background: rgba(30, 16, 6, .78); }
.cardsheet__in { display: grid; justify-items: center; gap: 16px; padding: 18px; }
.cardsheet__card { position: relative; perspective: 1400px; }
.cardsheet__card img {
	display: block;
	width: min(84vw, 380px);
	height: auto;
	aspect-ratio: 488 / 680;
	border-radius: 4.6% / 3.3%;
	background: var(--cabinet);
	box-shadow: 0 0 0 var(--bw) var(--ink), 0 10px 0 var(--ink), 0 24px 44px rgba(20, 10, 3, .5);
}
.cardsheet__tools { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cardsheet__tools [hidden] { display: none; } /* "Turn it over", for a card without a back */

/* beside the price: how many cards there are, and the way down to them */
.seeall { display: inline-flex; align-items: center; gap: 10px; justify-self: start; font: 800 11px/1.6 var(--hud-font); letter-spacing: .12em; color: var(--accent-text); text-decoration: none; }
.seeall:hover, .seeall:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.seeall__arrow { width: 10px; height: 10px; border-right: 3px solid currentColor; border-bottom: 3px solid currentColor; transform: translateY(-3px) rotate(45deg); animation: seeall 1.4s ease-in-out infinite; }
@keyframes seeall { 0%, 100% { translate: 0 0; } 50% { translate: 0 4px; } }

/* every card can be changed: said beside the price, and over the list as a screen that asks */
.makeit {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px 14px;
	padding: 12px 14px;
	border: var(--bw) dashed var(--violet);
	border-radius: 16px;
	background: color-mix(in srgb, var(--violet) 9%, var(--surface));
}
.makeit[hidden] { display: none; }
.makeit__icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 0;
	background: var(--facets) 0 0 / 200px 200px, #F8F5FF;
	color: var(--teal-deep);
	box-shadow: 0 0 0 2px #C9B6F5, 0 0 0 3px #8C6FE0;
}
.makeit__text { margin: 0; font-size: 14px; line-height: 1.4; color: var(--muted); }
.makeit__title { display: block; font: 400 16px/1.15 var(--marquee-font); color: var(--fg); margin-bottom: 2px; }
.makeit__go .px { margin-left: -4px; }
.makeit--wide {
	position: relative;
	overflow: hidden;
	padding: clamp(16px, 2.6vw, 24px) clamp(16px, 3vw, 28px);
	border: 1px solid var(--line);
	border-radius: 16px;
	background: var(--facets) 0 0 / 520px 520px, #F8F5FF;
	color: var(--fg);
	box-shadow: none;
	margin: 0 0 8px;
}
.makeit--wide .makeit__text { color: #3A3654; font-size: 15px; }
.makeit--wide .makeit__title { color: var(--gold); font-size: clamp(17px, 2vw, 21px); }
.makeit--wide .makeit__go { --fill: var(--gold); --deep: var(--gold-deep); --label: var(--ink); }

#insertdeck section.related, #insertdeck section.upsells { display: grid; gap: 22px; }
#insertdeck section.related > h2, #insertdeck section.upsells > h2 { font-size: clamp(22px, 3vw, 30px); }

/* reviews */
#insertdeck #reviews #comments ol.commentlist { margin: 0; padding: 0; list-style: none; }
#insertdeck #review_form #respond { margin-top: 18px; }
#insertdeck #review_form #respond textarea { width: 100%; }
#insertdeck .star-rating { color: var(--gold-deep); }
#insertdeck p.stars a { color: var(--gold-deep); }

/* ---------- 13 notices and small shop pieces ---------- */
#insertdeck .woocommerce-notices-wrapper:empty { display: none; }
#insertdeck .woocommerce-message,
#insertdeck .woocommerce-info,
#insertdeck .woocommerce-error,
#insertdeck .wc-block-components-notice-banner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	margin: 0 0 24px;
	padding: 14px 18px;
	background: #F8F5FF;
	color: var(--fg);
	border: 1px solid var(--line);
	border-radius: 14px;
	box-shadow: none;
	list-style: none;
	font-size: 16px;
}
#insertdeck .woocommerce-message::before,
#insertdeck .woocommerce-info::before,
#insertdeck .woocommerce-error::before { display: none; }
#insertdeck .woocommerce-info, #insertdeck .wc-block-components-notice-banner.is-info { background: #F6F3FE; }
#insertdeck .woocommerce-error, #insertdeck .wc-block-components-notice-banner.is-error { background: #FDEEF3; border-color: #F6C9D9; }
#insertdeck .woocommerce-message a:not(.button),
#insertdeck .woocommerce-info a:not(.button),
#insertdeck .woocommerce-error a:not(.button),
#insertdeck .wc-block-components-notice-banner a { color: var(--accent-text); }
#insertdeck .woocommerce-message .button,
#insertdeck .woocommerce-info .button,
#insertdeck .woocommerce-error .button { order: 2; float: none; margin-left: auto; min-height: 36px; padding: 0 16px; font-size: 13px; }
#insertdeck .woocommerce-error li { margin: 0; }
#insertdeck .wc-block-components-notice-banner > svg { background: none; fill: var(--teal); }
#insertdeck .wc-block-components-notice-banner__content { color: var(--fg); }

#insertdeck table.shop_table { width: 100%; border: var(--bw) solid var(--line); border-radius: 16px; border-collapse: separate; border-spacing: 0; background: var(--surface); overflow: hidden; }
#insertdeck table.shop_table th, #insertdeck table.shop_table td { padding: 12px 16px; border-top: 1px solid var(--line); text-align: left; }
#insertdeck table.shop_table thead th { border-top: 0; font: 800 11px/1.6 var(--hud-font); letter-spacing: .14em; color: var(--muted); border-bottom: var(--bw) solid var(--line); }
#insertdeck .col2-set { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; width: auto; }
#insertdeck .col2-set .col-1, #insertdeck .col2-set .col-2 { float: none; width: auto; }

/* ---------- 14 cart and checkout ---------- */
#insertdeck .wc-block-cart,
#insertdeck .wc-block-checkout { font-family: var(--body-font); color: var(--fg); }
#insertdeck .wc-block-cart-items,
#insertdeck .wc-block-cart .wc-block-components-sidebar .wc-block-components-totals-wrapper,
#insertdeck .wp-block-woocommerce-checkout-order-summary-block {
	background: var(--surface);
	border: var(--bw) solid var(--line);
	border-radius: 18px;
}
#insertdeck .wc-block-cart-items { border-collapse: separate; border-spacing: 0; overflow: hidden; }
#insertdeck .wc-block-cart-items th,
#insertdeck .wc-block-cart-items td { border: 0; }
#insertdeck .wc-block-cart-items th { padding: 14px 16px; font: 800 11px/1.6 var(--hud-font); letter-spacing: .14em; color: var(--muted); border-bottom: var(--bw) solid var(--line); visibility: visible; }
#insertdeck .wc-block-cart-items td { padding: 16px; border-top: 1px solid var(--line); }
#insertdeck .wc-block-cart-items .wc-block-cart-items__row:first-child td { border-top: 0; }
#insertdeck .wc-block-cart-item__image img { border: var(--bw) solid var(--ink); border-radius: 12px; }
#insertdeck .wc-block-components-product-name { font: 400 17px/1.15 var(--marquee-font); color: var(--fg); text-decoration: none; }
#insertdeck .wc-block-components-product-metadata,
#insertdeck .wc-block-components-product-details { color: var(--muted); font-size: 14px; }
#insertdeck .wc-block-components-product-details__name { font-weight: 700; color: var(--fg); }
#insertdeck .wc-block-cart-item__total .wc-block-components-product-price__value,
#insertdeck .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-family: var(--marquee-font); font-weight: 400; }
#insertdeck .wc-block-components-quantity-selector { border: var(--bw) solid var(--line); border-radius: 12px; background: var(--surface); overflow: hidden; }
#insertdeck .wc-block-components-quantity-selector::after { display: none; }
#insertdeck .wc-block-components-quantity-selector__input { color: var(--fg); font-weight: 700; background: transparent; }
#insertdeck .wc-block-components-quantity-selector__button { color: var(--fg); opacity: 1; min-width: 34px; }
#insertdeck .wc-block-components-quantity-selector__button:hover { background: var(--sunk); }
#insertdeck .wc-block-cart-item__remove-link { color: var(--muted); }
#insertdeck .wc-block-cart .wc-block-components-sidebar .wc-block-components-totals-wrapper { padding: 16px 18px; margin-bottom: 14px; }
#insertdeck .wc-block-checkout .wc-block-components-totals-wrapper { border-top: 1px solid var(--line); }
#insertdeck .wc-block-components-order-summary-item .wc-block-components-product-name { font: 700 15px/1.3 var(--body-font); text-transform: none; word-break: normal; overflow-wrap: break-word; }
#insertdeck .wc-block-components-order-summary-item__description { min-width: 0; }
#insertdeck .wc-block-cart__totals-title,
#insertdeck .wc-block-components-checkout-step__title,
#insertdeck .wc-block-components-checkout-order-summary__title-text { font: 400 18px/1.15 var(--marquee-font); letter-spacing: .01em; color: var(--fg); }
#insertdeck .wc-block-components-totals-item__label { font-weight: 500; }
#insertdeck .wc-block-components-panel__button { color: var(--fg); }
#insertdeck .wc-block-cart__submit-container { padding-bottom: 12px; }
#insertdeck .wc-block-components-button:not(.is-link) { width: 100%; min-height: 56px; font-size: 16px; }
#insertdeck .wc-block-components-button:not(.is-link) .wc-block-components-button__text { font: inherit; }
#insertdeck .wc-block-components-checkout-place-order-button { margin-bottom: 12px; }
#insertdeck .wc-block-checkout__actions_row { align-items: center; gap: 14px; }

#insertdeck .wc-block-components-text-input input,
#insertdeck .wc-block-components-textarea,
#insertdeck .wc-blocks-components-select .wc-blocks-components-select__select,
#insertdeck .wc-blocks-components-select .wc-blocks-components-select__container {
	background-color: var(--surface);
	color: var(--fg);
	border-radius: 12px;
}
#insertdeck .wc-block-components-text-input input,
#insertdeck .wc-block-components-textarea,
#insertdeck .wc-blocks-components-select .wc-blocks-components-select__container { border: var(--bw) solid var(--line); }
#insertdeck .wc-blocks-components-select .wc-blocks-components-select__select { border: 0; }
#insertdeck .wc-block-components-text-input label,
#insertdeck .wc-blocks-components-select .wc-blocks-components-select__label { color: var(--muted); }
#insertdeck .wc-block-components-text-input input:focus,
#insertdeck .wc-blocks-components-select .wc-blocks-components-select__select:focus { outline: 3px solid var(--gold); outline-offset: 2px; box-shadow: none; }
#insertdeck .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"] { border: var(--bw) solid var(--line); border-radius: 6px; background-color: var(--surface); }
#insertdeck .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked { background-color: var(--teal); }
#insertdeck .wc-block-components-checkbox .wc-block-components-checkbox__mark { fill: var(--ink); }
#insertdeck .wc-block-components-radio-control__input { border: var(--bw) solid var(--line); background: var(--surface); }
#insertdeck .wc-block-components-radio-control__input:checked::before { background: var(--violet); }
#insertdeck .wc-block-components-radio-control--highlight-checked,
#insertdeck .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option,
#insertdeck .wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option { border-radius: 12px; }
#insertdeck .wc-block-components-radio-control--highlight-checked::after { border: var(--bw) solid var(--line); border-radius: 14px; }
#insertdeck .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
#insertdeck .wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted { box-shadow: inset 0 0 0 3px var(--violet); }
#insertdeck .wp-block-woocommerce-checkout-order-summary-block { padding: 6px 18px; }
#insertdeck .wc-block-components-order-summary-item__image img { border: 2px solid var(--ink); border-radius: 8px; }
#insertdeck .wc-block-components-order-summary-item__quantity { background: var(--gold); color: var(--ink); border: 2px solid var(--ink); box-shadow: none; }
#insertdeck .wc-block-cart__empty-cart__title { font-family: var(--marquee-font); font-weight: 400; }
#insertdeck .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-title { font-family: var(--marquee-font); font-weight: 400; color: var(--fg); }
#insertdeck .wc-block-components-validation-error { color: var(--danger); }
#insertdeck .has-error input { border-color: var(--danger); }

/* ---------- 15 account and order pages ---------- */
/* WooCommerce clears its floats with two generated boxes. In a grid each of them would take a cell
   and push what the page holds into the wrong column. */
#insertdeck.woocommerce-account .woocommerce::before,
#insertdeck.woocommerce-account .woocommerce::after { display: none; }
#insertdeck.woocommerce-account .woocommerce:has(> .acctside) { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px 44px; align-items: start; }
#insertdeck .woocommerce-MyAccount-navigation, #insertdeck .woocommerce-MyAccount-content { float: none; width: auto; min-width: 0; }

/* beside every account page: the player's card, and under it the menu */
.acctside { display: grid; gap: 26px; min-width: 0; }
.playercard {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	column-gap: 14px;
	align-content: center;
	margin: 0 10px 0 0;
	padding: 16px;
	background: var(--surface);
	color: var(--fg);
	border: var(--bw) solid var(--line);
	border-radius: 18px;
	box-shadow: 0 10px 30px var(--drop);
}
.playercard p { margin: 0; min-width: 0; }
.playercard__face { grid-row: 1 / span 3; display: grid; place-items: center; width: 62px; height: 62px; border: var(--bw) solid var(--ink); border-radius: 14px; background: var(--grain), linear-gradient(var(--screen-glow), var(--cabinet)); }
.playercard__name { font: 400 18px/1.15 var(--marquee-font); overflow-wrap: anywhere; }
.playercard__mail { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
#insertdeck .woocommerce-MyAccount-navigation ul { display: grid; gap: 2px; margin: 0; padding: 6px; list-style: none; background: var(--surface); border: var(--bw) solid var(--line); border-radius: 18px; }
#insertdeck .woocommerce-MyAccount-navigation li { margin: 0; padding: 0; }
#insertdeck .woocommerce-MyAccount-navigation a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; color: var(--fg); border-radius: 11px; font-weight: 700; text-decoration: none; }
#insertdeck .woocommerce-MyAccount-navigation a:hover { background: var(--sunk); }
#insertdeck .woocommerce-MyAccount-navigation .is-active a { background: var(--fg); color: var(--bg); }
/* the cursor of a game's menu, at the page that is open */
#insertdeck .woocommerce-MyAccount-navigation a::after { content: ""; margin-left: auto; border-block: 6px solid transparent; border-right: 9px solid transparent; }
#insertdeck .woocommerce-MyAccount-navigation .is-active a::after { border-right-color: var(--gold); }
#insertdeck .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout { margin-top: 4px; padding-top: 6px; border-top: 1px solid var(--line); }

/* what an account page holds */
#insertdeck .woocommerce-MyAccount-content > p { max-width: 64ch; }
#insertdeck .woocommerce-MyAccount-content mark,
#insertdeck .woocommerce-order mark { background: none; color: inherit; font-weight: 700; }
/* the last order, as a ticket with its stub */
.lastorder { display: grid; gap: 12px; max-width: 660px; margin-top: 24px; padding: 20px 22px 22px; background: var(--surface); border: var(--bw) solid var(--line); border-radius: 18px; }
.lastorder p { margin: 0; }
#insertdeck .lastorder .lastorder__title { margin: 0; font: 400 clamp(22px, 3vw, 28px)/1.05 var(--marquee-font); }
.lastorder__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); gap: 12px 22px; margin: 4px 0; padding: 14px 0; border-block: 2px dashed var(--sunk); }
.lastorder__facts dt { font: 800 11px/1.6 var(--hud-font); letter-spacing: .14em; color: var(--muted); }
.lastorder__facts dd { display: flex; align-items: center; gap: 8px; margin: 4px 0 0; font-weight: 700; }
.lastorder__go { display: flex; flex-wrap: wrap; gap: 14px; padding-bottom: 9px; }
/* the decks the account's owner brought: the shop's tiles, and the way to bring another */
.mydecks { display: grid; gap: 20px; min-width: 0; }
#insertdeck .mydecks__note { margin: 0; max-width: 60ch; font-size: 15px; color: var(--muted); }
#insertdeck .mydecks__go { margin: 6px 0 0; padding-bottom: 9px; }
.mydecks__none { margin-top: 0; }
/* (a tile's name is a heading here too, and keeps the tile's own type among the account's headings) */
#insertdeck .woocommerce-MyAccount-content .deck__name { margin: 0; font: 400 19px/1.12 var(--marquee-font); }
.orderlamp { display: inline-flex; align-items: center; gap: 8px; }
.lamp { flex: none; }
#insertdeck .woocommerce-orders-table .button { min-height: 36px; padding: 0 16px; font-size: 13px; }
#insertdeck .woocommerce-orders-table__cell-order-number a { font-weight: 700; }
#insertdeck .woocommerce-pagination { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; padding-bottom: 9px; }
#insertdeck table.shop_table tfoot th { color: var(--muted); font-weight: 500; }
#insertdeck table.shop_table .product-total, #insertdeck table.shop_table tfoot td:has(.amount) { text-align: right; }
/* an amount stays in one piece; a buyer's note, which stands in the same column, reads as plain text and runs on as it needs */
#insertdeck table.shop_table .amount { white-space: nowrap; }
#insertdeck table.shop_table tfoot td { font-weight: 400; }
#insertdeck table.shop_table tfoot td .amount { font-weight: 700; }
#insertdeck table.shop_table .product-quantity { font-weight: 500; color: var(--muted); }
#insertdeck ul.wc-item-meta { margin: 4px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
#insertdeck ul.wc-item-meta li { display: flex; flex-wrap: wrap; gap: 0 6px; margin: 0; }
#insertdeck ul.wc-item-meta p { margin: 0; }
#insertdeck .wc-item-meta-label { font-weight: 700; color: var(--fg); }
#insertdeck p.order-again { margin: 18px 0 0; padding-bottom: 9px; }
/* the addresses, each a card with its own way in */
#insertdeck .woocommerce-Address { padding: 18px 20px 20px; background: var(--surface); border: var(--bw) solid var(--line); border-radius: 18px; }
#insertdeck .woocommerce-Address-title { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; margin: 0 0 12px; padding-bottom: 12px; border-bottom: 2px dashed var(--sunk); }
#insertdeck .woocommerce-Address-title::before, #insertdeck .woocommerce-Address-title::after { display: none; }
#insertdeck .woocommerce-Address .woocommerce-Address-title h2 { float: none; margin: 0; }
#insertdeck .woocommerce-Address-title .edit { float: none; padding: 6px 12px; background: var(--bg); color: var(--fg); border: var(--bw) solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 700; text-decoration: none; }
#insertdeck .woocommerce-Address-title .edit:hover { background: var(--sunk); }
#insertdeck .woocommerce-Address address { padding: 0; background: none; border: 0; border-radius: 0; }

/* forms: the login, and the ones that change an address or the account */
#insertdeck form.woocommerce-form-login,
#insertdeck form.woocommerce-form-register,
#insertdeck form.woocommerce-ResetPassword,
#insertdeck form.checkout_coupon,
#insertdeck .woocommerce-MyAccount-content > form { margin: 0; padding: 22px 22px 24px; background: var(--surface); border: var(--bw) solid var(--line); border-radius: 18px; }
#insertdeck form.woocommerce-ResetPassword,
#insertdeck form.checkout_coupon { max-width: 460px; }
#insertdeck .woocommerce-MyAccount-content > form { max-width: 660px; }
#insertdeck .woocommerce-MyAccount-content > form > h2:first-child,
#insertdeck .woocommerce-MyAccount-content > form > h3:first-child { margin-top: 0; }
#insertdeck .woocommerce form .form-row .input-text { width: 100%; }
#insertdeck .woocommerce form .form-row { float: none; width: auto; margin: 0 0 14px; padding: 0; }
#insertdeck .woocommerce form .form-row label { display: block; margin-bottom: 4px; line-height: 1.5; }
#insertdeck .woocommerce form .form-row::before, #insertdeck .woocommerce form .form-row::after { display: none; }
#insertdeck .woocommerce form .clear { display: none; }
#insertdeck .woocommerce form > p:last-child { margin-bottom: 0; }
/* a first and a last name stand side by side */
#insertdeck form.edit-account,
#insertdeck .woocommerce-address-fields__field-wrapper { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
#insertdeck form.edit-account > *,
#insertdeck .woocommerce-address-fields__field-wrapper > * { grid-column: 1 / -1; }
#insertdeck form.edit-account > .form-row-first,
#insertdeck .woocommerce-address-fields__field-wrapper > .form-row-first { grid-column: 1; }
#insertdeck form.edit-account > .form-row-last,
#insertdeck .woocommerce-address-fields__field-wrapper > .form-row-last { grid-column: 2; }
#insertdeck .woocommerce form fieldset { min-width: 0; margin: 10px 0 16px; padding: 16px 0 0; border: 0; border-top: 1px solid var(--line); }
#insertdeck .woocommerce form legend { padding: 0 10px 0 0; font: 400 16px/1.2 var(--marquee-font); }
#insertdeck .woocommerce form .form-row em { display: block; margin-top: 4px; font-size: 13px; font-style: normal; color: var(--muted); }
#insertdeck .woocommerce form button[type="submit"] { --fill: var(--gold); --deep: var(--gold-deep); margin-bottom: 9px; }
/* a tick box in the shop's own dress */
#insertdeck .woocommerce form .woocommerce-form__label-for-checkbox { display: inline-flex; align-items: center; gap: 10px; margin: 0; line-height: 1.2; cursor: pointer; }
#insertdeck .woocommerce-form__input-checkbox {
	-webkit-appearance: none;
	appearance: none;
	flex: none;
	display: inline-grid;
	place-content: center;
	width: 24px;
	height: 24px;
	margin: 0;
	background: var(--surface);
	border: var(--bw) solid var(--line);
	border-radius: 7px;
	cursor: pointer;
}
#insertdeck .woocommerce-form__input-checkbox:checked { background: var(--teal); }
#insertdeck .woocommerce-form__input-checkbox:checked::after { content: ""; width: 11px; height: 6px; border-left: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: translateY(-2px) rotate(-45deg); }
#insertdeck .woocommerce-password-strength { margin-top: 8px; padding: 6px 10px; border: 2px solid var(--line); border-radius: 8px; font-size: 14px; font-weight: 700; background: var(--sunk); color: var(--fg); }
#insertdeck .woocommerce-password-strength.strong, #insertdeck .woocommerce-password-strength.good { background: var(--teal); color: var(--ink); }
#insertdeck .woocommerce-password-hint { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }
/* a country, chosen from a list that can be searched */
#insertdeck .select2-container--default .select2-selection--single { height: auto; padding: 11px 40px 11px 14px; background: var(--surface); border: var(--bw) solid var(--line); border-radius: 12px; }
#insertdeck .select2-container--default .select2-selection--single .select2-selection__rendered { padding: 0; font: 500 16px/1.3 var(--body-font); color: var(--fg); }
#insertdeck .select2-container--default .select2-selection--single .select2-selection__placeholder { color: var(--muted); }
#insertdeck .select2-container--default .select2-selection--single .select2-selection__arrow { top: 50%; right: 12px; height: 20px; margin-top: -10px; }
#insertdeck .select2-container--default .select2-selection--single .select2-selection__arrow b { border-color: var(--fg) transparent transparent; }
#insertdeck .select2-container--default.select2-container--focus .select2-selection--single { outline: 3px solid var(--gold); outline-offset: 2px; }
#insertdeck .select2-dropdown { background: var(--surface); color: var(--fg); border: var(--bw) solid var(--line); border-radius: 12px; overflow: hidden; }
#insertdeck .select2-container--default .select2-search--dropdown .select2-search__field { padding: 8px 10px; background: var(--bg); color: var(--fg); border: 2px solid var(--line); border-radius: 8px; }
#insertdeck .select2-container--default .select2-results__option { padding: 8px 12px; }
#insertdeck .select2-container--default .select2-results__option--highlighted[aria-selected],
#insertdeck .select2-container--default .select2-results__option--highlighted[data-selected] { background: var(--violet); color: var(--cream); }
#insertdeck .select2-container--default .select2-results__option[aria-selected="true"],
#insertdeck .select2-container--default .select2-results__option[data-selected="true"] { background: var(--sunk); color: var(--fg); }

/* the login: the form, and beside it a word for whoever has no account yet */
.gate { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: 28px 40px; align-items: stretch; }
.gate:not(:has(.gate__word)) { grid-template-columns: minmax(0, 1fr); }
.gate__forms { min-width: 0; }
#insertdeck .gate__forms h2 { margin: 0 0 14px; font: 400 22px/1.1 var(--marquee-font); }
#insertdeck .gate__forms .col2-set { gap: 28px 40px; }
#insertdeck .woocommerce-form-login .form-row:has(.woocommerce-form-login__submit) { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 18px; margin-top: 18px; }
#insertdeck .woocommerce-form-login .lost_password { margin: 14px 0 0; font-size: 14px; }
.gate__word { display: grid; align-content: center; min-height: 260px; padding: clamp(22px, 4vw, 40px); border: var(--bw) solid var(--line); border-radius: 22px; }
.gate__word .carpet { opacity: .4; }
.gate__in { position: relative; z-index: 2; display: grid; gap: 12px; justify-items: start; max-width: 44ch; }
.gate__in p { margin: 0; }
.gate__in .eyebrow { color: var(--gold); }
#insertdeck .gate__title { margin: 0; font: 400 clamp(24px, 3.4vw, 34px)/1.05 var(--marquee-font); }
.gate__in p:last-child { margin-top: 8px; padding-bottom: 9px; }
/* the eye that shows a password as it is typed */
#insertdeck .password-input { position: relative; display: block; }
#insertdeck .password-input .input-text { padding-right: 48px; }
#insertdeck .show-password-input {
	position: absolute;
	top: 50%;
	right: 12px;
	width: 26px;
	height: 26px;
	margin-top: -13px;
	padding: 0;
	background: var(--muted);
	border: 0;
	cursor: pointer;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5C6.500 5 2.300 9.200 1 12c1.300 2.800 5.500 7 11 7s9.700-4.200 11-7c-1.300-2.800-5.500-7-11-7zm0 11.500a4.500 4.500 0 1 1 0-9 4.500 4.500 0 0 1 0 9zm0-2.500a2 2 0 1 0 0-4 2 2 0 0 0 0 4z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5C6.500 5 2.300 9.200 1 12c1.300 2.800 5.500 7 11 7s9.700-4.200 11-7c-1.300-2.800-5.500-7-11-7zm0 11.500a4.500 4.500 0 1 1 0-9 4.500 4.500 0 0 1 0 9zm0-2.500a2 2 0 1 0 0-4 2 2 0 0 0 0 4z'/%3E%3C/svg%3E") center / contain no-repeat;
}
#insertdeck .show-password-input.display-password { background: var(--accent-text); }
#insertdeck ul.order_details, #insertdeck ul.woocommerce-order-overview {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 30px;
	margin: 0 0 26px;
	padding: 18px 22px;
	list-style: none;
	background: var(--surface);
	border: var(--bw) solid var(--line);
	border-radius: 16px;
}
#insertdeck ul.order_details li { float: none; margin: 0; padding: 0; border: 0; font: 800 11px/1.6 var(--hud-font); letter-spacing: .14em; color: var(--muted); }
#insertdeck ul.order_details li strong { display: block; margin-top: 4px; font: 700 16px/1.3 var(--body-font); letter-spacing: 0; text-transform: none; color: var(--fg); }
#insertdeck .woocommerce-order h2, #insertdeck .woocommerce-MyAccount-content h2, #insertdeck .woocommerce-MyAccount-content h3 { font: 400 20px/1.15 var(--marquee-font); margin: 26px 0 14px; }
#insertdeck address { font-style: normal; padding: 16px 18px; background: var(--surface); border: var(--bw) solid var(--line); border-radius: 14px; }
/* at the checkout a saved address already stands in a card of WooCommerce's own */
#insertdeck .wc-block-components-address-card address { padding: 0; background: none; border: 0; border-radius: 0; }

/* ---------- 16 a deck of the visitor's own ---------- */
/* the page that takes its link: a screen, and beside it the slot the link goes into */
.insert {
	display: grid;
	grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
	gap: clamp(18px, 3vw, 38px);
	align-items: stretch;
	margin-bottom: clamp(44px, 7vw, 80px);
	padding: clamp(14px, 2.6vw, 30px);
	border: var(--bw) solid var(--line);
	border-radius: 20px;
	background-color: var(--surface);
	background-image: radial-gradient(120% 70% at 30% 0%, rgba(255, 250, 235, .5), transparent 70%);
	box-shadow: 0 10px 30px var(--drop);
}
.insert__screen { display: grid; grid-template-rows: auto minmax(200px, 1fr) auto; min-height: 400px; border: var(--bw) solid var(--ink); border-radius: 22px; }
.insert__screen .carpet { opacity: .26; }
.insert__hud { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; margin: 0; padding: 18px 20px 0; }
.insert__hud b { color: var(--gold); font-weight: 400; }
.insert__deck { position: relative; z-index: 2; }
.insert__say { position: relative; z-index: 2; margin: 0; padding: 0 20px 24px; font-size: 12px; text-align: center; }
/* while a deck is being read, the cards close to a stack and fan out again, one after the other */
.insert.is-reading .fan i { animation: shuffle 1.3s ease-in-out infinite; }
.insert.is-reading .fan i:nth-child(1) { animation-delay: 0s; }
.insert.is-reading .fan i:nth-child(2) { animation-delay: .09s; }
.insert.is-reading .fan i:nth-child(3) { animation-delay: .18s; }
.insert.is-reading .fan i:nth-child(4) { animation-delay: .27s; }
.insert.is-reading .fan i:nth-child(5) { animation-delay: .36s; }
@keyframes shuffle { 0%, 100% { transform: rotate(var(--r)); } 45%, 60% { transform: rotate(0deg) translateY(-9%); } }

.insert__panel { display: grid; gap: 14px; align-content: center; min-width: 0; padding: clamp(2px, 1.2vw, 14px) clamp(0px, 1vw, 10px); }
.insert__panel > * { margin: 0; }
.insert__panel > p { max-width: 56ch; }
#insertdeck .insert__title { font-size: clamp(24px, 3.2vw, 34px); line-height: 1.05; }
.insert__form { display: grid; gap: 8px; margin-top: 4px; }
#insertdeck .insert__form label { font-weight: 700; }
.insert__slot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: start; padding-bottom: 9px; }
#insertdeck .insert__slot .input-text { width: 100%; min-height: 48px; }
.insert__alert, .owntool__said--bad { padding: 11px 14px; background: #FBE6E9; color: var(--pink-deep); border: var(--bw) solid var(--line); border-radius: 12px; box-shadow: 4px 4px 0 var(--pink); font-size: 15px; }
#insertdeck .insert__alert { margin: 2px 4px 4px 0; }
.insert__wait, .owntool__said[data-wait] { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--muted); }
/* (a line that says nothing is not there at all, whatever lays it out when it speaks) */
.insert__wait[hidden], .insert__alert[hidden], .owntool__said[hidden] { display: none; }
.insert__wait::before, .owntool__said[data-wait]::before { content: ""; flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); border: 2px solid var(--line); animation: blink 1s steps(1, end) infinite; }
.insert__facts { display: grid; gap: 7px; padding: 0; list-style: none; font-size: 15px; }
.insert__facts li { position: relative; padding-left: 22px; }
.insert__facts li::before { content: ""; position: absolute; left: 0; top: .42em; width: 10px; height: 10px; background: var(--teal); border: 2px solid var(--line); }
.insert__price { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 4px; font-size: 15px; color: var(--muted); }
.insert__price .ticket { margin-left: 8px; }
.insert__go { padding-bottom: 9px; }
/* under the slot: the decks this visitor brought before */
.insert-made { margin-bottom: clamp(44px, 7vw, 80px); }
.insert-made__note { margin: 0; max-width: 60ch; font-size: 15px; color: var(--muted); }
.insert-made__more { margin: 0; padding-bottom: 9px; }
.insert-how { margin-bottom: 0; }
.btn:disabled { opacity: .72; cursor: progress; transform: none; }

/* in the shop's list, before the first deck: the tile that leads there */
.deck--own .deck__art .fan i { bottom: 16%; }
.deck__pitch { margin: 0; font-size: 14px; }
.ticket small { font: 500 12px/1 var(--body-font); }

/* on the home page: a screen that asks for it */
.ownpanel { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); align-items: stretch; border: var(--bw) solid var(--line); border-radius: 26px; }
.ownpanel .carpet { opacity: .3; }
.ownpanel__in { position: relative; z-index: 2; display: grid; gap: 14px; justify-items: start; padding: clamp(26px, 5vw, 56px); }
.ownpanel__in > * { margin: 0; }
.ownpanel__in > p { max-width: 54ch; }
.ownpanel__in .eyebrow { color: var(--gold); }
#insertdeck .ownpanel__go { margin-top: 6px; padding-bottom: 12px; }
.ownpanel__side { position: relative; z-index: 2; min-height: 240px; }

/* the page of such a deck: what its owner should know, and what can be done with it */
/* (beside a column this long the screen comes along, where the two stand side by side) */
@media (min-width: 821px) {
	.is-own .stage__screen { position: sticky; top: 18px; }
}
.ownnotes { display: grid; gap: 8px; padding: 12px 14px; background: var(--bg); border: var(--bw) dashed var(--line); border-radius: 14px; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.ownnotes p { margin: 0; }
.owntools { display: grid; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.owntool { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 18px; align-items: start; padding: 14px 16px 16px; background: var(--surface); border: var(--bw) solid var(--line); border-radius: 14px; }
.owntool__text { display: grid; gap: 5px; min-width: 0; font-size: 15px; line-height: 1.5; }
.owntool__text p { margin: 0; overflow-wrap: anywhere; }
#insertdeck .owntool__title { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; font: 800 16px/1.25 var(--body-font); text-transform: none; }
.owntool__hint { font-size: 13px; color: var(--muted); }
.owntool form { margin: 0; padding-bottom: 7px; }
.owntool__said { grid-column: 1 / -1; margin: 0; font-size: 14px; overflow-wrap: anywhere; }
.owntool__lamp { display: flex; align-items: flex-start; gap: 9px; }
.owntool__lamp .lamp { margin-top: 3px; }
/* while its pictures are being drawn, the deck's screen says so */
.ownscreen { position: relative; display: grid; align-content: start; justify-items: center; gap: 10px; aspect-ratio: 1; padding: 11% 22px 22px; text-align: center; }
.ownscreen .carpet { opacity: .26; }
.ownscreen__say, .ownscreen__note { position: relative; z-index: 3; margin: 0; }
.ownscreen__say { font-size: 12px; color: var(--gold); }
.ownscreen__note { max-width: 34ch; font-size: 14px; }

/* a deck brought as pictures (inc/own-pictures.php) */
/* a slot for each way in: the choice is made of radio buttons, and the slot whose button is on shows */
.ways, .way { display: grid; gap: 14px; min-width: 0; }
.ways > *, .way > * { margin: 0; }
.way > p { max-width: 56ch; }
.ways__pick { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ways__tabs { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 8px; }
.ways__tab {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 16px;
	font: 400 13px/1 var(--marquee-font);
	letter-spacing: .03em;
	
	color: var(--ink);
	background: #FFFFFF;
	border: 1px solid var(--line);
	border-radius: 999px;
	box-shadow: none;
	cursor: pointer;
	transition: transform .08s, box-shadow .08s;
}
#insertdeck .ways__tab { font-weight: 400; }
.ways__tab:hover { transform: translateY(-1px); }
.ways .way { display: none; }
#insert-way-moxfield:checked ~ .way--moxfield,
#insert-way-list:checked ~ .way--list,
#insert-way-mpcfill:checked ~ .way--mpcfill,
#insert-way-drive:checked ~ .way--drive,
#insert-way-scan:checked ~ .way--scan { display: grid; }
/* the button of the slot that shows is pressed in, and lit */
#insert-way-moxfield:checked ~ .ways__tabs [for="insert-way-moxfield"],
#insert-way-list:checked ~ .ways__tabs [for="insert-way-list"],
#insert-way-mpcfill:checked ~ .ways__tabs [for="insert-way-mpcfill"],
#insert-way-drive:checked ~ .ways__tabs [for="insert-way-drive"],
#insert-way-scan:checked ~ .ways__tabs [for="insert-way-scan"] { background: var(--violet); color: #FFFFFF; border-color: var(--violet); transform: none; box-shadow: none; }
#insert-way-moxfield:focus-visible ~ .ways__tabs [for="insert-way-moxfield"],
#insert-way-list:focus-visible ~ .ways__tabs [for="insert-way-list"],
#insert-way-mpcfill:focus-visible ~ .ways__tabs [for="insert-way-mpcfill"],
#insert-way-drive:focus-visible ~ .ways__tabs [for="insert-way-drive"],
#insert-way-scan:focus-visible ~ .ways__tabs [for="insert-way-scan"] { outline: 3px solid var(--gold); outline-offset: 3px; }

/* the deck itself, pasted as a list: a box as wide as its panel, tall enough for a hand of cards, that grows downward only */
#insertdeck .insert__list { display: block; width: 100%; min-width: 0; min-height: 216px; line-height: 1.5; resize: vertical; }
#insertdeck .insert__form--list > .input-text { width: 100%; }
#insertdeck .insert__form label small { font-weight: 500; color: var(--muted); }
/* what the shop says of a list that came back: the lines that name no card, and the box that leaves them out */
.insert__check { display: grid; gap: 10px; }
.insert__check:not(:has(> :not([hidden]))) { display: none; }
.insert__unmatched { display: grid; gap: 3px; max-height: 190px; margin: 0; padding: 10px 14px 10px 32px; overflow: auto; font-size: 14px; line-height: 1.45; background: var(--bg); border: var(--bw) dashed var(--line); border-radius: 12px; overflow-wrap: anywhere; }
.insert__unmatched[hidden], .insert__without[hidden] { display: none; }
.insert__without { display: flex; align-items: center; gap: 10px; cursor: pointer; }
#insertdeck .insert__form .insert__without { font-weight: 500; }
.insert__without input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--teal); }
.owntool__go { margin: 0; padding-bottom: 7px; }

/* the order file, and the choice of back that goes with it */
/* (as wide as its panel and no wider: left to itself, the field is as wide as its button and its words) */
.ways, .way, .way .insert__form { min-width: 0; }
.insert__file { width: 100%; min-width: 0; max-width: 100%; padding: 10px; font: 500 15px/1.3 var(--body-font); color: var(--fg); background: var(--surface); border: var(--bw) dashed var(--line); border-radius: 12px; }
.insert__file::file-selector-button { margin-right: 12px; padding: 9px 14px 8px; font: 400 12px/1 var(--marquee-font); letter-spacing: .03em; color: var(--ink); background: var(--cream); border: var(--bw) solid var(--ink); border-radius: 10px; cursor: pointer; }
.backs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; min-width: 0; margin: 6px 0 0; padding: 0; border: 0; }
.backs legend { padding: 0; margin-bottom: 8px; font-weight: 700; }
.back { position: relative; display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; background: var(--surface); border: var(--bw) solid var(--line); border-radius: 14px; cursor: pointer; }
#insertdeck .insert__form .back { font-weight: 500; }
.back input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.back__mark { flex: none; width: 20px; height: 20px; margin-top: 2px; border: var(--bw) solid var(--line); border-radius: 50%; background: var(--bg); }
.back input:checked ~ .back__mark { background: radial-gradient(circle, var(--ink) 0 34%, var(--teal) 38%); }
.back input:focus-visible ~ .back__mark { outline: 3px solid var(--gold); outline-offset: 3px; }
.back:has(input:checked) { box-shadow: 0 0 0 3px var(--teal), 0 5px 0 var(--line); }
.back__text { display: grid; gap: 2px; min-width: 0; line-height: 1.3; }
.back__text b { font-weight: 700; }
.back__text small { color: var(--muted); font-size: 13px; }
.insert__send { padding: 6px 0 9px; }

/* a deck in the making: what a folder holds, how far the fetching is */
.watch { display: grid; gap: 14px; min-width: 0; }
.watch > * { margin: 0; }
.watch > p { max-width: 56ch; }
.watch__files { display: grid; max-height: 344px; margin: 0; padding: 0; overflow: auto; list-style: none; background: var(--surface); border: var(--bw) solid var(--line); border-radius: 14px; }
.watch__file { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 10px; padding: 9px 12px; border-bottom: 2px dashed var(--sunk); font-size: 14px; line-height: 1.4; }
.watch__file:last-child { border-bottom: 0; }
.watch__file .lamp { grid-row: 1 / span 2; margin-top: 2px; }
.watch__file.is-out .lamp { background: var(--pink); }
.watch__name { font-weight: 700; overflow-wrap: anywhere; }
.watch__size, .watch__why { grid-column: 2; font-size: 13px; }
.watch__size { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; color: var(--muted); }
.watch__note { font-size: 14px; color: var(--muted); }
.watch__go { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; padding-bottom: 9px; }
.watch__go .ticket { margin-left: 8px; }
.watch__over { font-size: 15px; }
.watch__count { font: 400 clamp(26px, 4vw, 40px)/1 var(--marquee-font); }
.watch__count b { font-weight: 400; color: var(--accent-text); }
.watch__meter { padding: 5px; background: var(--surface); border: var(--bw) solid var(--line); border-radius: 12px; }
.watch__meter .bar { display: block; height: 18px; --c: var(--teal); }
.watch__meter .bar::after { transition: width .4s steps(8, end); }
/* the pictures of a scanned page, to choose from: each a card with a box to tick; what is unticked steps back */
.watch__from { font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.picks { display: grid; gap: 14px; min-width: 0; }
.picks > * { margin: 0; }
.picks__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.picks__count { font-weight: 700; }
.picks__all { padding: 6px 12px 5px; font: 400 12px/1 var(--marquee-font); letter-spacing: .03em; color: var(--ink); background: var(--cream); border: var(--bw) solid var(--ink); border-radius: 10px; cursor: pointer; }
.picks__all[hidden] { display: none; }
.picks__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 112px), 1fr)); gap: 16px 12px; max-height: 560px; margin: 0; padding: 12px; overflow: auto; list-style: none; background: var(--surface); border: var(--bw) solid var(--line); border-radius: 14px; }
.pick { min-width: 0; }
.pick label { position: relative; display: grid; gap: 4px; align-content: start; font-size: 13px; line-height: 1.35; cursor: pointer; }
#insertdeck .picks .pick label { font-weight: 500; }
.pick input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.pick__frame { position: relative; display: block; aspect-ratio: 63 / 88; overflow: hidden; background: var(--sunk); border: var(--bw) solid var(--line); border-radius: 9px; }
.pick__frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pick__mark { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; background: var(--bg); border: var(--bw) solid var(--line); border-radius: 6px; }
.pick input:checked ~ .pick__frame { box-shadow: 4px 4px 0 var(--teal); }
.pick input:checked ~ .pick__frame .pick__mark { background: var(--teal); }
.pick input:checked ~ .pick__frame .pick__mark::after { content: ""; position: absolute; left: 5px; top: 1px; width: 6px; height: 11px; border: solid var(--ink); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.pick input:not(:checked) ~ .pick__frame img { opacity: .35; filter: grayscale(1); }
.pick input:not(:checked) ~ .pick__name, .pick input:not(:checked) ~ .pick__size { color: var(--muted); }
.pick input:focus-visible ~ .pick__frame { outline: 3px solid var(--gold); outline-offset: 3px; }
.pick__name { overflow-wrap: anywhere; }
.pick__size { font-size: 12px; color: var(--muted); }
.pick.is-soft .pick__size { color: var(--danger); }
.watch__rest > summary { font-weight: 700; cursor: pointer; }
.watch__rest[open] > summary { margin-bottom: 10px; }

/* the page of a deck of pictures: what is left out, the back, and the pictures themselves */
.ownnotes__list { display: grid; gap: 4px; margin: 0; padding-left: 1.2em; }
.ownnotes__more summary { font-weight: 700; cursor: pointer; }
.ownnotes__more[open] summary { margin-bottom: 6px; }
.owntool__back { display: grid; gap: 4px; justify-items: center; width: 72px; margin: 0; font-size: 12px; color: var(--muted); }
.owntool__back img { display: block; width: 100%; height: auto; border: 2px solid var(--line); border-radius: 5px; }
.is-pictures #tab-description { columns: auto; }
.is-pictures #tab-description .ownpics { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 148px), 1fr)); gap: 20px 14px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.is-pictures #tab-description .ownpic { display: grid; gap: 4px; align-content: start; min-width: 0; padding: 0; border: 0; line-height: 1.35; }
.ownpic__frame { display: block; aspect-ratio: 63 / 88; overflow: hidden; background: var(--sunk); border: var(--bw) solid var(--line); border-radius: 9px; box-shadow: 4px 4px 0 var(--sunk); }
.ownpic__frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ownpic__name { overflow-wrap: anywhere; }
.ownpic__dpi { font-size: 12px; color: var(--muted); }
.ownpic.is-soft .ownpic__dpi { color: var(--danger); }

/* ---------- 16b a booster ---------- */
/* the pack laid open: every card of it face down in a tray, in the colour of what it can be */
.pack {
	display: grid;
	gap: 12px;
	padding: 16px 18px 14px;
	background: var(--sunk);
	border: var(--bw) solid var(--line);
	border-radius: 16px;
}
.pack > * { margin: 0; }
#insertdeck .pack__title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 18px; }
.pack__slots { display: flex; flex-wrap: wrap; gap: 14px 22px; padding: 0; list-style: none; }
.packslot { display: grid; gap: 7px; justify-items: start; min-width: 0; }
.packslot__cards { display: flex; padding-left: 9px; }
.packslot__cards i {
	position: relative;
	flex: none;
	width: 27px;
	aspect-ratio: 63 / 88;
	margin-left: -9px;
	/* a common is a plain card: paper in either room, like the colours of the others */
	background: var(--c, var(--cream));
	border: 2px solid var(--ink);
	border-radius: 4px;
	box-shadow: 2px 0 0 rgba(59, 38, 21, .16);
}
.packslot__label { font-size: 14px; font-weight: 700; line-height: 1.25; }
.packslot--uncommon { --c: var(--teal); }
.packslot--rare { --c: var(--gold); }
.packslot--land { --c: var(--cream-deep); }
.packslot--any { --c: var(--violet); }
.packslot--any-foil,
.packslot--common-foil,
.packslot--uncommon-foil,
.packslot--rare-foil,
.packslot--land-foil { --c: linear-gradient(125deg, var(--pink) 0%, var(--gold) 34%, var(--teal) 66%, var(--violet) 100%); }
/* a card that can be anything says so */
.packslot--any .packslot__cards i::after,
.packslot--any-foil .packslot__cards i::after {
	content: "?";
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	color: var(--cream);
	font: 400 13px/1 var(--marquee-font);
}
.packslot--any-foil .packslot__cards i::after { color: var(--ink); }
.pack__odds { font-size: 15px; }
.pack__note { font-size: 14px; color: var(--muted); }

/* how many packs: a button for each number players buy together; the one that is chosen stands on a sleeve */
.packs { margin: 0; padding: 0; border: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; min-width: 0; }
.packs legend { padding: 0; margin-bottom: 10px; font-weight: 700; }
.packbtn {
	display: grid;
	gap: 4px;
	align-content: start;
	min-width: 0;
	padding: 12px 14px 11px;
	text-align: left;
	font: inherit;
	color: var(--fg);
	background: var(--surface);
	border: var(--bw) solid var(--line);
	border-radius: 14px;
	cursor: pointer;
	transition: transform .12s, box-shadow .12s;
}
.packbtn b { font: 400 16px/1.1 var(--marquee-font); }
.packbtn small { color: var(--muted); font-size: 13px; line-height: 1.3; }
.packbtn:hover { box-shadow: 0 0 0 2px var(--teal); }
.packbtn[aria-pressed="true"] { transform: translate(-2px, -2px); box-shadow: 0 0 0 3px var(--teal), 0 6px 0 var(--line); }
.packcost { display: grid; gap: 2px; margin: 0; font-size: 14px; color: var(--muted); }
.packcost b { color: var(--fg); font-weight: 700; white-space: nowrap; }
.packcost [data-pack-total] { color: var(--fg); font-weight: 700; }

/* ---------- 16c finding: the search box, the filters, what a search found ---------- */
/* the box: a field with its button inside, and the answers that drop out under it */
.findbox { position: relative; min-width: 0; }
/* in the shop bar: a round button among the bar's buttons, and the field comes down under the bar when the
   button is pressed, over the page and not pushing it. (A field in the bar itself made the bar a crowd.) */
.shopbar__find {
	display: none;
	position: absolute;
	z-index: 5;
	top: 100%;
	left: 0;
	right: 0;
	justify-content: center;
	padding: 14px var(--gutter);
	background: var(--surface);
	border-block: var(--bw) solid var(--line);
}
.shopbar__find.is-open,
.shopbar__find:target { display: flex; }
.shopbar__find .findbox { flex: 0 1 560px; }
#insertdeck .shopbar .findbox__field { padding: 8px 50px 8px 18px; background: var(--bg); border-radius: 999px; }
.shopbar .findbox__go { width: auto; aspect-ratio: 1; border-radius: 50%; }
/* the button: a round one, like the account's */
.findpill {
	display: inline-grid;
	place-items: center;
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: 50%;
}
.findpill[aria-expanded="true"] { background: var(--gold); color: var(--ink); }
.findpill:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
#insertdeck .findbox__field { width: 100%; padding: 9px 12px; font-size: 15px; border-radius: 12px; }
#insertdeck .findbox__field:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
#insertdeck .findbox__field::-webkit-search-cancel-button { display: none; }
.findbox__go {
	position: absolute;
	top: 4px;
	right: 4px;
	bottom: 4px;
	width: 36px;
	display: grid;
	place-items: center;
	padding: 0;
	background: var(--gold);
	border: 2px solid var(--ink);
	border-radius: 9px;
	cursor: pointer;
	--px-line: var(--ink);
}
.findbox__go:hover { background: var(--teal); }
.findbox__go:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.findlist {
	position: absolute;
	z-index: 30;
	top: calc(100% + 10px);
	left: 0;
	width: max(100%, 340px);
	max-width: calc(100vw - 32px);
	max-height: min(70vh, 520px);
	overflow-y: auto;
	display: grid;
	gap: 2px;
	padding: 10px;
	background: var(--surface);
	color: var(--fg);
	border: var(--bw) solid var(--line);
	border-radius: 14px;
	box-shadow: 0 0 0 3px var(--teal), 0 6px 0 var(--line);
}
.findlist[hidden] { display: none; }
.findlist__choices,
.findlist__set,
.findlist__rest { display: grid; gap: 2px; }
.findlist__choices[hidden] { display: none; }
.findlist__group { margin: 2px 6px; color: var(--accent-text); }
.findlist__set + .findlist__set .findlist__group { margin-top: 8px; }
.findlist__item {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 10px;
	width: 100%;
	padding: 8px 10px;
	text-align: left;
	font: inherit;
	color: var(--fg);
	background: none;
	border: 0;
	border-radius: 9px;
	text-decoration: none;
	cursor: pointer;
}
.findlist__item b { font-weight: 700; }
.findlist__item small { color: var(--muted); font-size: 13px; }
.findlist__item .pip { width: 18px; height: 18px; font-size: 9px; border-width: 1.5px; }
.findlist__item .pips { gap: 3px; }
.findlist__item:hover,
.findlist__item.is-active { background: var(--sunk); }
.findlist__item.is-active { outline: 2px solid var(--line); outline-offset: -2px; }
.findlist__all { margin: 6px 4px 2px; padding: 8px 6px 2px; border-top: 2px dashed var(--line); font-weight: 700; color: var(--accent-text); }
.findlist__none { margin: 4px 6px; color: var(--muted); font-size: 14px; }

/* the filters: a strip of switches above the grid; what is on stands out by more than its colour */
.findbar {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 16px 30px;
	margin-bottom: 22px;
	padding: 16px 18px;
	background: var(--surface);
	border: var(--bw) solid var(--line);
	border-radius: 16px;
}
/* (where a filter's link lands: a little air above the strip) */
.findbar { scroll-margin-top: 16px; }
.findbar__set { display: grid; gap: 8px; align-content: start; min-width: 0; margin: 0; }
.findbar__label { color: var(--muted); }
.findbar__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.findbar__how { margin-top: 2px; }
.findpip { width: 34px; height: 34px; font-size: 13px; text-decoration: none; transition: transform .12s, box-shadow .12s; }
.findpip:hover { transform: translate(-1px, -1px); }
.findpip.is-on { transform: translate(-2px, -2px); box-shadow: 0 0 0 3px var(--gold), 4px 4px 0 3px var(--line); }
.findchip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 0 12px;
	font: 700 14px/1 var(--body-font);
	color: var(--fg);
	background: var(--surface);
	border: 2px solid var(--line);
	border-radius: 10px;
	text-decoration: none;
	white-space: nowrap;
}
a.findchip:hover { background: var(--sunk); }
.findchip--num { min-width: 34px; padding: 0 8px; }
.findchip.is-on { background: #EFE9FF; color: var(--violet-deep); border-color: var(--violet); box-shadow: 3px 3px 0 var(--line); }
.findpip:focus-visible,
.findchip:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.findbar__card { flex: 1 1 260px; }
#insertdeck .findbar__card .findbox__field { flex: 1 1 150px; width: auto; min-width: 0; }
.findbar__now { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin: 0; font-size: 15px; }
.findbar__said { font-weight: 700; }
.findbar__clear { color: var(--accent-text); font-weight: 700; }

/* what a search found beside the products */
.findcards { margin-bottom: 24px; }
#insertdeck .findcards__title { margin: 0 0 12px; font-size: 20px; }
.findcards__list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.findcard {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 16px;
	padding: 10px 14px;
	background: var(--surface);
	border: var(--bw) solid var(--line);
	border-radius: 12px;
}
.findcard__where { display: flex; flex-wrap: wrap; gap: 8px; }
.findmeant,
.findways { margin: 0 0 14px; font-size: 17px; }
.findmeant a,
.findways a { font-weight: 700; color: var(--accent-text); }

/* ---------- 16d the newsletter ---------- */
/* above the footer: a ticket that takes an address. Paper with the grid, on a stack of two sleeves. */
.newsband { margin-bottom: clamp(44px, 7vw, 80px); }
.newsband__in,
.newsbox {
	border: var(--bw) solid var(--line);
	border-radius: 20px;
	background-color: var(--surface);
	background-image: radial-gradient(120% 70% at 30% 0%, rgba(255, 250, 235, .5), transparent 70%);
	box-shadow: 0 10px 30px var(--drop);
}
.newsband__in {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(18px, 3vw, 44px);
	align-items: center;
	/* (the sleeves take room to the right and below: the ticket stays inside the page's width) */
	margin-right: 14px;
	padding: clamp(22px, 3.4vw, 40px);
}
.newsband__say { display: grid; gap: 10px; }
.newsband__say > * { margin: 0; }
.newsband__say h2 { font-size: clamp(22px, 2.8vw, 30px); }
.newsband__say > p:last-child { max-width: 46ch; }

.newsform { display: grid; gap: 8px; min-width: 0; }
.newsform__slot { padding-bottom: 9px; }
#insertdeck .newsform__slot .input-text { width: 100%; min-height: 48px; }
.newsform__note { margin: 0; font-size: 14px; color: var(--muted); }
.newsform__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.newsform__done { margin: 0; padding: 11px 14px; background: var(--teal); color: var(--ink); border: var(--bw) solid var(--ink); border-radius: 12px; font-weight: 700; }
/* (what the script takes away once an address is taken is gone, whatever lays it out while it is there) */
.newsform__done[hidden], .newsform__slot[hidden], .newsform__topics[hidden], .newsform__note[hidden] { display: none; }
#insertdeck .newsform .insert__alert { margin: 2px 4px 4px 0; }
/* which letters: tick boxes in a row, each as wide as its words */
.newsform__topics { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; border: 0; min-width: 0; }
.newsform__topics legend { padding: 0; margin-bottom: 8px; font-weight: 700; }
#insertdeck .newsform__topics label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; cursor: pointer; }
.newsform__topics input { width: 20px; height: 20px; margin: 0; accent-color: var(--violet); }

/* the newsletter's own page: the same ticket, as wide as a column of text */
.newsbox { display: grid; gap: 14px; max-width: 720px; margin: 0 14px 14px 0; padding: clamp(22px, 3.4vw, 40px); }
.newsbox > * { margin: 0; }
#insertdeck .newsbox__title { font-size: clamp(24px, 3.2vw, 34px); line-height: 1.05; }
.newsbox__said { padding: 11px 14px; background: var(--teal); color: var(--ink); border: var(--bw) solid var(--ink); border-radius: 12px; font-weight: 700; }
#insertdeck .newsbox .insert__alert { margin: 0; }
.newsbox__go { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 0; padding-bottom: 9px; }
.newsbox__manage { display: grid; gap: 14px; }
.newsbox__leave { display: grid; gap: 8px; padding-top: 14px; border-top: var(--bw) dotted var(--line); }
.newsbox__other { font-weight: 700; }

/* ---------- 17 small screens and motion ---------- */
@media (max-width: 1000px) {
	.shopbar__row { gap: 10px 12px; }
	.shopbar__logo { margin-right: auto; }
	.shopbar__nav { order: 5; flex-basis: 100%; }
	.shopbar__nav ul { flex-wrap: wrap; }
}
@media (max-width: 820px) {
	/* the opening: the frame above the signposts, which stand two by two */
	.hero__stage { grid-template-columns: minmax(0, 1fr); }
	.hero__pic { min-height: 0; aspect-ratio: 4 / 3; }
	.hero__ways { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
	.bounty { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
	.bounty__say { justify-items: center; }
	.pillars::before { display: none; }
	.hero__in { grid-template-columns: minmax(0, 1fr); }
	.hero__side { display: none; }
	.hero .carpet { opacity: .28; -webkit-mask-image: none; mask-image: none; }
	.stage { grid-template-columns: minmax(0, 1fr); }
	.statscreen { grid-template-columns: minmax(0, 1fr); }
	.sitefoot__in { grid-template-columns: minmax(0, 1fr); }
	/* the account: the card and the menu above what the page holds, the menu two to a row */
	#insertdeck.woocommerce-account .woocommerce:has(> .acctside) { grid-template-columns: minmax(0, 1fr); }
	#insertdeck .woocommerce-MyAccount-navigation ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	#insertdeck .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout { margin-top: 0; padding-top: 0; border-top: 0; }
	.gate { grid-template-columns: minmax(0, 1fr); }
	.gate__word { min-height: 0; }
	/* a deck of the visitor's own: the screen above the slot, and smaller */
	.insert { grid-template-columns: minmax(0, 1fr); }
	.insert__screen { min-height: 0; grid-template-rows: auto 190px auto; }
	.ownpanel { grid-template-columns: minmax(0, 1fr); }
	.ownpanel__side { display: none; }
	/* the newsletter's ticket: what it says above its form */
	.newsband__in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
	/* a list of orders as cards: every cell says what it is */
	#insertdeck table.shop_table_responsive thead { display: none; }
	#insertdeck table.shop_table_responsive tbody tr { display: block; padding: 8px 0; border-top: var(--bw) solid var(--line); }
	#insertdeck table.shop_table_responsive tbody tr:first-child { border-top: 0; }
	#insertdeck table.shop_table_responsive tbody th,
	#insertdeck table.shop_table_responsive tbody td { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 4px 6px; padding: 7px 16px; border-top: 0; text-align: right; }
	#insertdeck table.shop_table_responsive tbody th::before,
	#insertdeck table.shop_table_responsive tbody td::before { content: attr(data-title); margin-right: auto; padding-right: 12px; font: 800 11px/1.6 var(--hud-font); letter-spacing: .14em; color: var(--muted); text-align: left; }
}
@media (max-width: 560px) {
	.ledger { flex-direction: column; align-items: center; }
	.ledger li + li::before { display: none; }
	.sheet { padding-inline: 14px; }
	.signpost { font-size: 15px; min-height: 48px; }
	body { font-size: 16px; }
	.wordmark--bar { font-size: 19px; }
	/* two rows: the logo with the account and the cart, then the menu with the lights switch */
	.shopbar__row { gap: 10px; }
	.shopbar__nav { flex: 1 1 0; min-width: 55%; }
	.lights { order: 6; }
	.cartpill { gap: 6px; padding: 7px 10px; }
	/* still read out, no longer shown: the coin and the count say it */
	.cartpill__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
	#insertdeck ul.products { gap: 34px 0; padding-right: 20px; }
	#insertdeck form.cart { grid-template-columns: minmax(0, 1fr); }
	#insertdeck form.cart .quantity { justify-self: start; }
	.is-deck #tab-description { columns: 1; }
	/* the papers as rows, here too for a browser that does not know the rule below */
	.papers { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.paper { grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto; align-items: center; gap: 0 14px; padding: 10px 50px 10px 14px; }
	.paper__card { grid-row: 1 / span 2; width: 30px; height: 42px; margin: 0 0 9px; background-size: 18px 15px, 18px 2px, 12px 2px, auto; background-position: 50% 4px, 4px 24px, 4px 29px, 0 0; }
	.paper__text, .paper__price { grid-column: 2; }
	.paper__price { margin-top: 5px; }
	.paper__mark { top: 50%; right: 14px; margin-top: -11px; }
	/* the slot: the link above the button that sends it */
	.insert__slot { grid-template-columns: minmax(0, 1fr); }
	.insert__slot .btn { width: 100%; }
	.owntool { grid-template-columns: minmax(0, 1fr); }
	/* the two backs one under the other, and the button of a deck in the making as wide as its panel */
	.backs { grid-template-columns: minmax(0, 1fr); }
	.insert__send .btn, .watch__go .btn { width: 100%; }
	/* the newsletter's ticket: a thinner stack of sleeves, and buttons as wide as the ticket */
	.newsband__in { margin-right: 10px; }
	.newsbox { margin-right: 10px; }
	.newsbox__go .btn { width: 100%; }
}
@media (max-width: 400px) {
	/* the smaller phones: the logo, the account and the cart still share the first row */
	.shopbar__logo { gap: 8px; }
	.wordmark--bar { font-size: 16px; }
	.acctpill { width: 40px; height: 40px; }
	.cartpill { padding: 6px 9px; }
}
/* where the facts beside the screen are narrow, the papers are rows like the bonus rounds below them:
   the card, beside it what the paper is and, under that, what it costs extra */
@container summary (max-width: 430px) {
	.packs { grid-template-columns: minmax(0, 1fr); }
	.packbtn { grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 4px 12px; }
	.papers { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.paper { grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto; align-items: center; gap: 0 14px; padding: 10px 50px 10px 14px; }
	.paper__card { grid-row: 1 / span 2; width: 30px; height: 42px; margin: 0 0 9px; background-size: 18px 15px, 18px 2px, 12px 2px, auto; background-position: 50% 4px, 4px 24px, 4px 29px, 0 0; }
	.paper__text, .paper__price { grid-column: 2; }
	.paper__price { margin-top: 5px; }
	.paper__mark { top: 50%; right: 14px; margin-top: -11px; }
	.owntool { grid-template-columns: minmax(0, 1fr); }
}
/* where the visitor's own colours replace the page's, what is chosen and what is switched on still shows */
@media (max-width: 860px) {
	/* the answers are as wide as the box they hang under */
	.findlist { width: 100%; }
}
@media (max-width: 640px) {
	/* the search button and the lights switch go beside the links: the logo, the cart and the account fill the first row */
	.shopbar__row .shopbar__nav { flex: 1 1 0; min-width: 50%; }
	.lights,
	.findpill { order: 6; width: 38px; height: 38px; }
}
@media (forced-colors: active) {
	.findpip.is-on,
	.findchip.is-on,
	.findlist__item.is-active { outline: 3px solid Highlight; outline-offset: 2px; }
	.packbtn[aria-pressed="true"] { outline: 3px solid Highlight; outline-offset: 2px; }
	.paper input:checked ~ .paper__frame { border-width: 7px; }
	.paper input:checked ~ .paper__mark,
	.bonus input:checked + .bonus__switch { background: Highlight; }
	.paper input:checked ~ .paper__mark::after,
	.bonus input:checked + .bonus__switch::after { background: HighlightText; }
	.back input:checked ~ .back__mark { background: Highlight; }
	#insert-way-moxfield:checked ~ .ways__tabs [for="insert-way-moxfield"],
	#insert-way-list:checked ~ .ways__tabs [for="insert-way-list"],
	#insert-way-mpcfill:checked ~ .ways__tabs [for="insert-way-mpcfill"],
	#insert-way-drive:checked ~ .ways__tabs [for="insert-way-drive"],
	#insert-way-scan:checked ~ .ways__tabs [for="insert-way-scan"] { border-width: 6px; }
	.pick input:checked ~ .pick__frame { border-width: 6px; }
	.pick input:checked ~ .pick__frame .pick__mark { background: Highlight; }
}
@media (max-width: 640px) {
	/* the screen that asks: the words over the button, the button as wide as the screen */
	.makeit--wide { grid-template-columns: auto minmax(0, 1fr); }
	.makeit--wide .makeit__go { grid-column: 1 / -1; width: 100%; }
	.cardlist__groups { columns: 1; }
	.cardgrid { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 14px 10px; }
}
@container summary (max-width: 360px) {
	.makeit { grid-template-columns: auto minmax(0, 1fr); }
	.makeit .makeit__go { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.seeall__arrow, .cardpeek { animation: none; transition: none; }
	.blink, .marquee__run { animation: none; }
	.insert.is-reading .fan i, .insert__wait::before, .owntool__said[data-wait]::before { animation: none; }
	.cartdrawer[open], .cartdrawer[open]::backdrop, .cartdrawer.is-leaving { animation: none; }
	.cartdrawer__body { transition: none; }
	.paper__frame, .paper__mark, .paper__mark::after, .paper__card::after,
	.btn, .pad, .deck, .bonus__switch, .bonus__switch::after, .ways__tab, .watch__meter .bar::after,
	#insertdeck .button, #insertdeck .wc-block-components-button { transition: none; }
}

/* by candlelight the parchment boards keep a warm glow, not a pale one */
:root[data-theme="dark"] .sheet,
:root[data-theme="dark"] .stage,
:root[data-theme="dark"] .insert,
:root[data-theme="dark"] .newsband__in,
:root[data-theme="dark"] .newsbox { background-image: radial-gradient(120% 60% at 50% 0%, rgba(255, 170, 80, .08), transparent 70%); }
:root[data-theme="dark"] .sheet { box-shadow: 0 0 0 1px rgba(205, 176, 133, .14), 0 24px 40px var(--drop); }

/* ---------- 18 the crystal finish ---------- */
/* (what the sections above drew as a game's pieces, set in the crystal and gold look) */

/* the crest's name: larger than the crest, as a coin is struck */
.brand { width: 150px; }
.brand__name { font-size: 28px; -webkit-text-stroke-width: 1.2px; filter: drop-shadow(0 2px 0 #3A2905) drop-shadow(0 0 4px rgba(0, 0, 0, .45)); }
.hero__card--2 { top: 3%; }
.hero__card--3 { top: 4%; }

/* a tile's price and the share taken off stand together; the button keeps to the right */
.deck__foot .deck__off { margin-right: auto; }

/* the newsletter in the footer: the pitch on the left, the address in a long pill on the right */
.sitefoot .newsband { margin: 6px 0 0; }
.sitefoot .newsband__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 60px; align-items: center; margin: 0; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
.sitefoot .newsband__say { gap: 6px; }
.sitefoot .newsband__say h2 { font-size: clamp(22px, 2.4vw, 27px); }
.sitefoot .newsband__say p { color: #3A3654; font-size: 15px; }
.newsform__slot { position: relative; padding: 0; }
#insertdeck .newsform__slot .input-text { min-height: 60px; padding: 0 64px 0 28px; border: 1px solid #D9D1F0; border-radius: 999px; background: #FFFFFF; }
.newsform__go { position: absolute; top: 50%; right: 10px; display: grid; place-items: center; width: 44px; height: 44px; margin-top: -22px; padding: 0; color: var(--ink); background: none; border: 0; border-radius: 50%; cursor: pointer; }
.newsform__go:hover { background: var(--sunk); }
.newsform__go-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.sitefoot .newsform__note { padding-left: 28px; font-size: 12px; }
.newsform__done { padding: 12px 20px; background: var(--teal); color: #fff; border: 0; border-radius: 999px; font-weight: 600; }
.newsbox,
.newsband__in { box-shadow: none; }
.newsbox { margin: 0; border: 1px solid var(--line); border-radius: 16px; background: var(--facets) 0 0 / 520px 520px, #F8F5FF; }
.newsbox__said { background: var(--teal); color: #fff; border: 0; border-radius: var(--radius); }

/* the contact page: two fields side by side, then the phone and the message as wide as both */
.page--contact { max-width: 620px; margin-inline: auto; }
.page--contact .pagehead__title { font-size: clamp(40px, 5vw, 56px); }
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 14px; }
.contact p { margin: 0; }
.contact__field--wide, .contact__go { grid-column: 1 / -1; }
#insertdeck .contact .input-text, #insertdeck .contact textarea { width: 100%; }
#insertdeck .contact textarea { min-height: 200px; resize: vertical; }
.contact__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact__go .btn { min-width: 160px; }
.contact__said { margin: 0 0 18px; padding: 12px 18px; border-radius: var(--radius); font-weight: 500; }
.contact__said.is-ok { background: #EFE9FF; color: var(--teal-deep); }
.contact__said.is-bad { background: #FBE6E9; color: var(--pink-deep); }
.contact__more { margin-top: 34px; }

/* the shop bar on a phone: the menu behind its button, the crest in the middle */
@media (max-width: 900px) {
	.shopbar__row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; min-height: 104px; }
	.shopbar__burger { display: grid; align-content: center; gap: 6px; justify-self: start; width: 42px; height: 42px; padding: 0 10px; background: none; border: 0; cursor: pointer; }
	.shopbar__burger span:not(.screen-reader-text) { display: block; height: 1.6px; background: var(--ink); border-radius: 2px; }
	.brand { grid-column: 2; width: 120px; height: 96px; }
	.brand__mark { width: 96px; height: 96px; }
	.brand__name { font-size: 23px; }
	.shopbar__tools { grid-column: 3; justify-self: end; gap: 0; }
	.toolbtn { width: 38px; height: 38px; }
	.shopbar__nav { display: none; grid-column: 1 / -1; padding: 6px 0 12px; }
	.shopbar__nav.is-open { display: block; }
	.shopbar__nav ul { justify-content: center; }
	.sitefoot .newsband__in { grid-template-columns: 1fr; }
	.sitefoot__base { grid-template-columns: 1fr; justify-items: center; text-align: center; }
	.sitefoot__line { justify-self: center; text-align: center; }
	.bounty__in { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}
@media (max-width: 560px) {
	.contact { grid-template-columns: 1fr; }
	.announce { font-size: 13px; }
}

/* on a phone the shelves keep two decks to a row, as a shop window does */
@media (max-width: 600px) {
	#insertdeck ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
	#insertdeck .deck__name { font-size: 14px; }
	.deck__meta, .deck .pips { display: none; }
	#insertdeck .deck__foot .button { min-height: 30px; padding: 0 12px; font-size: 12px; }
}

/* a deck's page, the way a shop shows one thing for sale: the pictures large on the left, and beside them
   the name, the price, how many, and one wide button; no box around any of it */
.stage { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
#insertdeck .woocommerce-product-gallery .flex-viewport,
#insertdeck .woocommerce-product-gallery:not(:has(.flex-viewport)) .woocommerce-product-gallery__wrapper { background: #FFFFFF; border-radius: 4px; }
#insertdeck .woocommerce-product-gallery .flex-control-thumbs { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
#insertdeck .woocommerce-product-gallery .flex-control-thumbs img { border: 1px solid var(--line); border-radius: 4px; opacity: .7; }
#insertdeck .woocommerce-product-gallery .flex-control-thumbs img.flex-active { opacity: 1; border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
#insertdeck .woocommerce-product-gallery__trigger { background: #FFFFFF; border: 1px solid var(--line); border-radius: 50%; }
#insertdeck div.product div.summary { gap: 18px; padding-top: 6px; }
#insertdeck .stage__name { font-size: clamp(30px, 3.4vw, 40px); line-height: 1.12; letter-spacing: -.02em; }
.stage__chips .chip { font-size: 10px; padding: 4px 7px; }
#insertdeck .woocommerce-product-details__short-description { color: #3A3654; font-size: 15px; }
#insertdeck div.product div.summary > .stats { max-width: 360px; }
#insertdeck form.cart { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-top: 22px; border-top: 1px solid var(--line); }
.pricebox { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pricebox .ticket--lg { font: 600 24px/1.1 var(--body-font); }
.pricebox.is-sale .ticket { color: var(--pink); }
#insertdeck form.cart .quantity { justify-self: start; gap: 0; padding: 0; border: 1px solid #D9D1F0; border-radius: 10px; }
#insertdeck form.cart .quantity .pad { width: 48px; height: 54px; border: 0; border-radius: 10px; background: none; color: var(--ink); font-size: 20px; }
#insertdeck form.cart .quantity .pad:hover { background: var(--sunk); }
#insertdeck form.cart .quantity .qty { width: 2.4em; font: 500 17px/1 var(--body-font); }
#insertdeck form.cart .single_add_to_cart_button { width: 100%; min-height: 54px; margin: 0; font-size: 16px; font-weight: 500; border-radius: 10px; }
#insertdeck form.cart .single_add_to_cart_button::before { content: ""; width: 18px; height: 18px; margin-right: 4px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8.5h14l-1 11.5H6Z'/%3E%3Cpath d='M9 8.5V7a3 3 0 0 1 6 0v1.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8.5h14l-1 11.5H6Z'/%3E%3Cpath d='M9 8.5V7a3 3 0 0 1 6 0v1.5'/%3E%3C/svg%3E") center / contain no-repeat; }
#insertdeck .product_meta { padding-top: 14px; border-top: 1px solid var(--line); }
.statpanel { border-radius: 12px; }
.curve__bar { background: var(--gold); border: 0; border-radius: 4px 4px 0 0; }
#insertdeck .related > h2,
#insertdeck .upsells > h2 { margin-bottom: 22px; font-size: clamp(24px, 2.6vw, 28px); }

/* the bar that follows: a white pill at the foot of the window */
.buybar {
	position: fixed;
	left: 50%;
	bottom: 18px;
	z-index: 30;
	display: flex;
	align-items: center;
	gap: 16px;
	width: min(100% - 24px, 640px);
	padding: 8px 8px 8px 12px;
	background: #FFFFFF;
	border: 1px solid var(--line);
	border-radius: 18px;
	box-shadow: 0 12px 34px rgba(0, 0, 0, .16);
	transform: translateX(-50%);
	animation: buybar-in .2s ease-out;
}
.buybar[hidden] { display: none; }
@keyframes buybar-in { from { opacity: 0; transform: translate(-50%, 16px); } }
#insertdeck .buybar__pic { width: 44px; height: 44px; margin: 0; object-fit: cover; border-radius: 6px; }
.buybar__name { flex: 1; min-width: 0; overflow: hidden; font-size: 15px; white-space: nowrap; text-overflow: ellipsis; }
.buybar__price .ticket--lg { font: 600 16px/1 var(--body-font); }
.buybar__price .pricebox { gap: 6px; }
.buybar__go { flex: none; min-height: 46px; border-radius: 12px; }
@media (max-width: 900px) {
	.stage { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
	.buybar__name { display: none; }
	.buybar { justify-content: space-between; }
}
.pricebox__was { color: var(--muted); font-size: 15px; }
.buybar .pricebox__was { font-size: 13px; }

/* ---------- 19 sakura: the look over all of it ---------- */
/* (laid last, over the sections above: lavender, cherry blossom, round corners and soft shadows) */

body { background: #FFFFFF; }
h1, h2, h3, h4 { font-family: var(--marquee-font); font-weight: 800; letter-spacing: -.01em; }
a { color: var(--accent-text); }
:focus-visible { outline-color: var(--violet); }

/* the wordmark: the shop's name in round, heavy letters; deep indigo, the second word in violet */
.wordmark {
	font: 900 26px/1 var(--brand-font);
	letter-spacing: -.02em;
	color: var(--ink);
	background: none;
	-webkit-text-stroke: 0;
	filter: none;
	padding: 0;
}
.wordmark--hero { font-size: clamp(40px, 6vw, 72px); }

/* buttons: violet by default, white with a lavender rim beside it, deep indigo where the page asks */
.btn,
#insertdeck .button,
#insertdeck .wp-element-button,
#insertdeck .wc-block-components-button:not(.is-link) {
	--fill: var(--violet-fill);
	--label: #FFFFFF;
	--rim: transparent;
	font-weight: 600;
	border-radius: 999px;
}
.btn:hover,
#insertdeck .button:hover,
#insertdeck .wp-element-button:hover,
#insertdeck .wc-block-components-button:not(.is-link):hover { box-shadow: 0 10px 22px rgba(96, 68, 216, .28); }
.btn--dark { --fill: var(--ink); --rim: var(--ink); }
.btn--teal, .btn--violet { --fill: var(--violet-fill); --rim: transparent; }
.btn--cream { --fill: #FFFFFF; --label: var(--ink); --rim: var(--line-strong); }
.btn--cream:hover { box-shadow: 0 8px 18px rgba(76, 52, 170, .12) !important; }
.btn--gold { --label: var(--violet-deep); --rim: var(--line-strong); background: var(--metal-side) !important; text-shadow: none; box-shadow: none; }
.btn .icon { flex: none; }
.chip { --c: var(--violet); border-radius: 999px; padding: 5px 10px; letter-spacing: .03em; }
.chip--pink { --c: var(--pink); }
.chip--teal, .chip--violet { --c: var(--violet); }
.pad--teal { --fill: var(--violet); border-color: var(--violet); }

/* the strip above the bar: lavender, in violet letters */
.announce { min-height: 36px; background: linear-gradient(90deg, #F1ECFF, #FCEAF2 50%, #F1ECFF); border-bottom: 1px solid var(--line); color: var(--violet-deep); font: 600 13px/1.3 var(--body-font); }

/* the shop bar: white, the blossom and the name, the links in the middle */
.shopbar__face { background: rgba(255, 255, 255, .92); border-bottom: 1px solid var(--line); box-shadow: 0 4px 18px rgba(76, 52, 170, .05); }
.shopbar__row { min-height: 78px; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; width: auto; height: auto; place-items: initial; }
.brand__mark { grid-area: auto; width: 44px; height: 44px; filter: drop-shadow(0 3px 6px rgba(96, 68, 216, .25)); }
.brand__name { grid-area: auto; font-size: 24px; line-height: 1; text-align: left; transform: none; -webkit-text-stroke: 0; filter: none; white-space: nowrap; }
.shopbar__nav { display: flex; justify-content: center; }
.shopbar__nav ul { gap: 4px; justify-content: center; }
.shopbar__nav a {
	min-width: 0;
	min-height: 38px;
	padding: 6px 18px;
	color: var(--ink);
	font: 600 15px/1.1 var(--body-font);
	background: none;
	border: 0;
	border-radius: 999px;
	box-shadow: none;
	text-shadow: none;
}
.shopbar__nav a:hover { color: var(--violet-deep); background: var(--sunk); filter: none; transform: none; }
.shopbar__nav .current-menu-item > a { color: var(--violet-deep); background: #EFE9FF; box-shadow: none; }
.shopbar__tools { margin-left: 0; gap: 6px; }
.toolbtn { color: var(--ink); width: 42px; height: 42px; }
.toolbtn:hover { color: var(--violet-deep); background: var(--sunk); }
.toolbtn[aria-current="page"], .findpill[aria-expanded="true"] { color: var(--violet-deep); background: #EFE9FF; }
.acctpill.is-in::after { background: var(--violet); }
.cartpill__count { top: 2px; right: 0; background: var(--violet); }
.shopbar__find { background: #FFFFFF; }

/* the front page */
.site-main--home { padding-top: 0; gap: clamp(44px, 5.5vw, 68px); }

/* the banner: the promise on the left, and on the right the newest decks fanned on a mat under a branch */
.bloom { position: relative; overflow: hidden; background: var(--crystal) right center / cover no-repeat, #FBF8FF; isolation: isolate; }
.bloom::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #FCFAFF 0%, rgba(252, 250, 255, .94) 34%, rgba(252, 250, 255, 0) 62%); }
.bloom__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 24px; min-height: clamp(420px, 40vw, 520px); padding-block: 48px 76px; }
.bloom__say { position: relative; display: grid; gap: 18px; justify-items: start; }
.bloom__say h1 { position: relative; font: 900 clamp(36px, 4.4vw, 56px)/1.08 var(--marquee-font); letter-spacing: -.025em; color: var(--ink); }
.swash { position: relative; display: inline-block; white-space: nowrap; }
.swash::after {
	content: "";
	position: absolute;
	left: -2%;
	right: -4%;
	bottom: -.14em;
	height: .32em;
	z-index: -1;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath d='M4 16C70 6 170 4 296 10' fill='none' stroke='%23B79CF5' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.bloom__spark { position: absolute; fill: #C9B6F5; stroke: none; }
.bloom__spark--1 { top: -8px; right: 4%; }
.bloom__spark--2 { top: 26px; right: -2%; fill: #F4B8D0; }
.bloom__line { max-width: 46ch; margin: 0; color: #4A4664; font-size: 16.5px; line-height: 1.65; }
.bloom__go { display: flex; flex-wrap: wrap; gap: 14px; margin: 8px 0 0; }
.bloom__art { position: relative; height: clamp(300px, 30vw, 400px); }
.bloom__card {
	position: absolute;
	bottom: 16%;
	width: clamp(120px, 13.5vw, 184px);
	aspect-ratio: 63 / 88;
	padding: 6px;
	background: linear-gradient(160deg, #FFFFFF, #EDE4FF 60%, #F9D9E8);
	border: 1px solid #D9CCFA;
	border-radius: 14px;
	box-shadow: 0 24px 40px rgba(60, 40, 140, .25), 0 2px 0 rgba(255, 255, 255, .8) inset;
	transform: rotate(var(--r, 0deg));
	transition: transform .35s ease;
}
.bloom__card:hover { transform: rotate(var(--r, 0deg)) translateY(-10px); }
#insertdeck .bloom__card img { display: block; width: 100%; height: 100%; margin: 0; object-fit: cover; border-radius: 9px; }
.bloom__card--1 { left: 4%; --r: -12deg; z-index: 1; }
.bloom__card--2 { left: 27%; bottom: 24%; --r: -1deg; z-index: 3; width: clamp(132px, 15vw, 204px); }
.bloom__card--3 { left: 51%; --r: 11deg; z-index: 2; }
.bloom__box {
	position: absolute;
	right: 3%;
	bottom: 10%;
	z-index: 2;
	display: grid;
	place-items: center;
	width: clamp(92px, 9vw, 124px);
	aspect-ratio: 1 / 1.08;
	background: linear-gradient(160deg, #F4EFFF, #D9CCFA);
	border: 1px solid #FFFFFF;
	border-radius: 18px;
	box-shadow: 0 20px 34px rgba(60, 40, 140, .22), inset 0 -10px 0 rgba(120, 90, 220, .12);
}
.bloom__box::before { content: ""; position: absolute; inset: 8px 8px auto; height: 22%; border-radius: 10px 10px 4px 4px; background: rgba(255, 255, 255, .55); }

/* what every order gets: a white bar that rides on the banner's foot */
.perks { position: relative; z-index: 2; margin-top: calc(-1 * clamp(80px, 8vw, 110px)); }
.perks__in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 18px 8px; list-style: none; background: #FFFFFF; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 16px 40px rgba(76, 52, 170, .10); }
.perks__in li { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 6px 18px; }
.perks__in li + li { border-left: 1px solid var(--line); }
.perks__in .icon { color: var(--violet); flex: none; }
.perks__in span { display: grid; gap: 2px; }
.perks__in b { font: 700 14.5px/1.25 var(--body-font); color: var(--ink); }
.perks__in small { font-size: 12.5px; color: var(--muted); }

/* the head of a shelf */
.shelf { gap: 20px; }
.shelf__head h2 { font-size: clamp(22px, 2.3vw, 27px); font-weight: 800; }
.shelf__more { color: var(--violet-deep); font-size: 14px; font-weight: 600; }
.shelf__more:hover { color: var(--violet); }

/* the collections: four tinted tiles, the words on the left and a fanned picture on the right */
.kinds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.kind a {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 8px;
	height: 100%;
	min-height: 150px;
	padding: 20px 14px 18px 20px;
	overflow: hidden;
	color: var(--ink);
	text-decoration: none;
	background: var(--tint);
	border: 1px solid rgba(255, 255, 255, .8);
	border-radius: 20px;
	box-shadow: 0 8px 22px rgba(76, 52, 170, .08);
	transition: transform .2s, box-shadow .2s;
}
.kind a:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(76, 52, 170, .16); }
.kind--lilac { --tint: linear-gradient(140deg, #F4EFFF, #E2D7FD); }
.kind--peach { --tint: linear-gradient(140deg, #FFF4EC, #FBDCCB); }
.kind--sky { --tint: linear-gradient(140deg, #EFF3FF, #D7E1FC); }
.kind--rose { --tint: linear-gradient(140deg, #FFF0F6, #F8D3E3); }
.kind__say { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.kind__say b { font: 800 18px/1.2 var(--marquee-font); }
.kind__say small { font-size: 13px; line-height: 1.4; color: #5A5672; }
.kind__go { display: grid; place-items: center; width: 32px; height: 32px; margin-top: auto; border-radius: 50%; background: #FFFFFF; color: var(--ink); box-shadow: 0 3px 8px rgba(76, 52, 170, .14); transition: background-color .2s, color .2s; }
.kind a:hover .kind__go { background: var(--violet); color: #FFFFFF; }
.kind__art { position: relative; align-self: center; width: 92px; height: 116px; margin-right: -2px; }
#insertdeck .kind__art img { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; object-fit: cover; border: 3px solid #FFFFFF; border-radius: 10px; box-shadow: 0 10px 20px rgba(40, 20, 100, .22); transform: rotate(8deg); }
.kind__art::before { content: ""; position: absolute; inset: 4px; border-radius: 10px; background: rgba(255, 255, 255, .7); box-shadow: 0 6px 14px rgba(40, 20, 100, .12); transform: rotate(-6deg) translateX(-14px); }
.kind__own { position: absolute; inset: 0; }
.kind__own i { position: absolute; inset: 0; display: grid; place-items: center; border: 2px solid #FFFFFF; border-radius: 10px; background: linear-gradient(160deg, #FFFFFF, #F6D6E6); box-shadow: 0 8px 16px rgba(120, 40, 90, .14); }
.kind__own i:nth-child(1) { transform: rotate(-12deg) translateX(-16px); opacity: .7; }
.kind__own i:nth-child(2) { transform: rotate(-3deg) translateX(-6px); opacity: .85; }
.kind__own i:nth-child(3) { transform: rotate(8deg); color: #D05A8C; }

/* featured: four cards, the picture beside the words, the price and a round cart at the foot */
.picks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.pick { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 14px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 8px 22px rgba(76, 52, 170, .06); transition: box-shadow .2s, transform .2s; }
.pick:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(76, 52, 170, .14); }
.pick__art { display: block; align-self: start; aspect-ratio: 1; overflow: hidden; border-radius: 12px; background: var(--sunk); }
#insertdeck .pick__art img { display: block; width: 100%; height: 100%; margin: 0; object-fit: cover; }
.pick__say { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
#insertdeck .pick__name { margin: 0; font: 700 15px/1.3 var(--marquee-font); }
.pick__name a { color: var(--ink); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pick__name a:hover { color: var(--violet-deep); }
.pick__meta, .pick__rate { margin: 0; font-size: 12.5px; color: var(--muted); }
.pick__rate { display: flex; align-items: center; gap: 6px; }
.pick__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: auto 0 0; padding-top: 6px; }
.pick__foot .ticket { font-size: 17px; }
.pick__cart { position: relative; display: grid; place-items: center; flex: none; width: 38px; height: 38px; color: var(--violet-deep); background: #FFFFFF; border: 1px solid var(--line-strong); border-radius: 12px; transition: background-color .15s, color .15s; }
.pick__cart:hover { color: #FFFFFF; background: var(--violet); border-color: var(--violet); }
.pick__cart.loading { opacity: .5; }
.pick__cart.added { color: #FFFFFF; background: var(--violet); border-color: var(--violet); }
.pick__foot .added_to_cart { display: none; }

/* stars: gold, as every review site draws them */
.stars { display: inline-flex; gap: 2px; }
.stars i { width: 14px; height: 14px; background: #E3DDF3; -webkit-mask: var(--star) center / contain no-repeat; mask: var(--star) center / contain no-repeat; --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.8 2.7 5.6 6.1.8-4.4 4.3 1.1 6.1L12 16.7l-5.5 2.9 1.1-6.1-4.4-4.3 6.1-.8Z'/%3E%3C/svg%3E"); }
.stars i.is-on { background: #F5B83D; }

/* the tiles of the shelves: white cards with round corners */
#insertdeck ul.products { gap: 22px; }
.deck { padding: 10px 10px 14px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 8px 22px rgba(76, 52, 170, .06); transition: box-shadow .2s, transform .2s; }
.deck:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(76, 52, 170, .14); }
.deck__art { border-radius: 14px; }
.deck__body { padding: 12px 4px 0; }
#insertdeck .deck__name { font: 700 15.5px/1.35 var(--marquee-font); }
.deck:hover .deck__name a { text-decoration: none; color: var(--violet-deep); }
.deck__foot { padding: 10px 4px 0; }
.deck__foot .ticket { font-size: 16px; font-weight: 800; }
.deck__off { border-radius: 999px; padding: 2px 8px; }
#insertdeck .deck__foot .button { --fill: #FFFFFF; --label: var(--violet-deep); --rim: var(--line-strong); min-height: 34px; padding: 0 16px; font-weight: 600; }
#insertdeck .deck__foot .button:hover { --fill: var(--violet-fill); --label: #FFFFFF; --rim: transparent; }
#insertdeck .deck__foot .added_to_cart { color: var(--violet-deep); }

/* the story of the shop: a wide lavender band, a deck's art fading into it on the left */
.story__in {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr);
	min-height: 260px;
	overflow: hidden;
	background: var(--facets) 0 0 / 420px 420px, linear-gradient(100deg, #F1EBFF 0%, #F6EFFF 45%, #FCE8F1 100%);
	border: 1px solid var(--line);
	border-radius: 26px;
	isolation: isolate;
}
.story__in::after { content: ""; position: absolute; right: -60px; bottom: -40px; z-index: -1; width: 420px; height: 280px; background: var(--crystal) 92% 30% / 1100px auto no-repeat; opacity: .7; -webkit-mask: radial-gradient(closest-side, #000 50%, transparent); mask: radial-gradient(closest-side, #000 50%, transparent); }
.story__art { position: relative; min-height: 220px; }
#insertdeck .story__art img { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; object-fit: cover; -webkit-mask: linear-gradient(90deg, #000 45%, transparent 98%); mask: linear-gradient(90deg, #000 45%, transparent 98%); }
.story__say { display: grid; gap: 14px; align-content: center; padding: clamp(26px, 4vw, 44px) clamp(22px, 4vw, 48px) clamp(26px, 4vw, 44px) 8px; }
.story__say h2 { font-size: clamp(24px, 2.6vw, 32px); }
.story__say > p { margin: 0; max-width: 60ch; color: #4A4664; font-size: 15px; }
.story__points { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 4px 0 0; padding: 0; list-style: none; }
.story__points li { display: inline-flex; align-items: center; gap: 8px; font: 600 14px/1.2 var(--body-font); color: var(--ink); }
.story__points .icon { color: var(--violet); }
.story__go { margin: 4px 0 0; }

/* the free cards offer and how it works, in lavender */
.bounty__in { background: var(--facets) 0 0 / 420px 420px, linear-gradient(100deg, #F6F2FF, #FDF0F6); border-radius: 24px; }
.seal { background: var(--gem); box-shadow: 0 0 0 4px #FFFFFF, 0 0 0 6px #D9CCFA, 0 12px 24px rgba(96, 68, 216, .25); }
.how > h2 { font-size: clamp(22px, 2.3vw, 27px); }
.medal { color: var(--violet); background: linear-gradient(160deg, #FFFFFF, #EFE9FF); box-shadow: 0 0 0 6px #F7F3FF, 0 10px 20px rgba(76, 52, 170, .12); }
.pillar .medal::after { background: var(--violet); }
.pillar > .icon:first-child { color: var(--violet); background: #EFE9FF; box-shadow: none; }

/* what players said */
.voices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.voice { display: grid; gap: 12px; align-content: start; padding: 20px 22px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 8px 22px rgba(76, 52, 170, .06); }
.voice blockquote { margin: 0; }
.voice blockquote p { margin: 0; font-size: 14.5px; font-style: italic; color: #3A3654; }
.voice__who { display: flex; align-items: center; gap: 8px; margin: 0; font: 700 14px/1 var(--body-font); }
.voice__face { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(140deg, #F9C6DB, #B79CF5); color: #FFFFFF; font-size: 13px; }
.voice__ok { color: #FFFFFF; background: var(--violet); border-radius: 50%; padding: 2px; stroke-width: 2.6; }

/* the footer: a lavender mist with petals, the brand, three columns and the newsletter */
.sitefoot { margin-top: 0; background: var(--facets) 0 0 / 520px 520px, linear-gradient(180deg, #FBF9FF, #F3EEFF); border-top: 1px solid var(--line); }
.sitefoot__in { gap: 26px; padding-block: 44px 26px; }
.sitefoot__top { display: grid; grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, .8fr)) minmax(0, 1.7fr); gap: 28px; align-items: start; }
.sitefoot__brand { display: grid; gap: 12px; }
.sitefoot__brand p { margin: 0; max-width: 30ch; font-size: 14px; color: var(--muted); }
.brand--foot .brand__mark { width: 40px; height: 40px; }
.brand--foot .brand__name { font-size: 22px; }
.sitefoot__col h2 { margin: 0 0 12px; font: 800 15px/1.2 var(--marquee-font); color: var(--ink); }
.sitefoot__col ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sitefoot__col a { color: var(--muted); font-size: 14px; text-decoration: none; }
.sitefoot__col a:hover { color: var(--violet-deep); }
.sitefoot .newsband { margin: 0; }
.sitefoot .newsband__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.sitefoot .newsband__say { gap: 4px; }
.sitefoot .newsband__say h2 { font-size: 15px; font-weight: 800; }
.sitefoot .newsband__say p { margin: 0; font-size: 13.5px; color: var(--muted); }
#insertdeck .newsform__slot .input-text { min-height: 50px; padding: 0 58px 0 20px; border-color: var(--line-strong); font-size: 14px; }
.newsform__go { right: 6px; width: 40px; height: 40px; margin-top: -20px; color: #FFFFFF; background: var(--violet-fill); }
.newsform__go:hover { background: var(--violet-deep); }
.sitefoot .newsform__note { padding-left: 4px; font-size: 11.5px; color: var(--muted); }
.newsform__done { background: var(--violet); }
.sitefoot__base { border-top-color: var(--line-strong); }

/* the deck's own page: the name in the round face, violet where it was teal */
#insertdeck .stage__name { font-family: var(--marquee-font); font-weight: 800; }
#insertdeck form.cart .quantity { border-color: var(--line-strong); border-radius: 14px; }
#insertdeck form.cart .single_add_to_cart_button, .buybar__go { border-radius: 14px; }
.buybar { border-color: var(--line); border-radius: 20px; box-shadow: 0 14px 40px rgba(60, 40, 140, .18); }
.curve__bar { background: linear-gradient(180deg, #B79CF5, #F4B8D0); }
#insertdeck .woocommerce-product-gallery .flex-control-thumbs img.flex-active { border-color: var(--violet); box-shadow: inset 0 0 0 1px var(--violet); }
#insertdeck nav.woocommerce-pagination ul li span.current { background: var(--violet); }

@media (max-width: 1100px) {
	.picks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sitefoot__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.sitefoot__brand, .sitefoot__news { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
	.shopbar__row { min-height: 68px; }
	.brand { grid-column: 2; justify-self: center; width: auto; height: auto; }
	.brand__mark { width: 36px; height: 36px; }
	.brand__name { font-size: 20px; }
	.shopbar__nav { display: none; }
	.shopbar__nav.is-open { display: block; }
	.bloom__in { grid-template-columns: minmax(0, 1fr); padding-block: 36px 100px; }
	.bloom::before { background: linear-gradient(180deg, #FCFAFF 0%, rgba(252, 250, 255, .9) 45%, rgba(252, 250, 255, .2) 75%); }
	.bloom__art { height: 280px; }
	.perks__in { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; }
	.perks__in li { justify-content: flex-start; }
	.perks__in li:nth-child(3) { border-left: 0; }
	.kinds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.story__in { grid-template-columns: minmax(0, 1fr); }
	.story__art { min-height: 180px; }
	#insertdeck .story__art img { -webkit-mask: linear-gradient(180deg, #000 40%, transparent); mask: linear-gradient(180deg, #000 40%, transparent); }
	.story__say { padding: 0 24px 30px; }
	.voices { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
	.brand__name { font-size: 18px; }
	.bloom__line { font-size: 15px; }
	.bloom__card { width: 112px; }
	.bloom__card--2 { width: 124px; }
	.bloom__box { width: 80px; }
	.perks__in { grid-template-columns: minmax(0, 1fr); padding: 10px 6px; }
	.perks__in li { padding: 10px 14px; border-left: 0 !important; }
	.perks__in li + li { border-top: 1px solid var(--line); }
	.kinds, .picks { grid-template-columns: minmax(0, 1fr); }
	.sitefoot__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.deck { padding: 8px 8px 12px; border-radius: 16px; }
}
.bloom::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: -1; height: 90px; background: linear-gradient(180deg, rgba(255, 255, 255, 0), #FFFFFF); }
.kind__art { width: 84px; height: 108px; }

/* ---------- 19b closer to the picture: compact, light, and nothing drawn on one side only ---------- */
:root { --wrap: 1120px; }
.site-main--home { gap: clamp(30px, 3.4vw, 42px); }
h2 { font-size: clamp(20px, 2vw, 23px); }

/* the bar: a smaller blossom and name; Shop opens a small white card */
.shopbar__row { min-height: 70px; }
.brand__mark { width: 38px; height: 38px; }
.brand__name { font-size: 21px; }
.shopbar__nav a { min-height: 34px; padding: 6px 16px; font-size: 14px; font-weight: 500; }
.shopbar__nav .menu > li { position: relative; }
.shopbar__nav .menu-item-has-children > a { display: inline-flex; gap: 5px; }
.menu__chev { transition: transform .15s; }
.shopbar__nav .sub-menu {
	position: absolute;
	top: calc(100% + 6px);
	left: 50%;
	z-index: 40;
	display: grid;
	gap: 2px;
	min-width: 190px;
	margin: 0;
	padding: 8px;
	list-style: none;
	background: #FFFFFF;
	border: 1px solid var(--line);
	border-radius: 16px;
	box-shadow: 0 18px 40px rgba(60, 40, 140, .14);
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, -4px);
	transition: opacity .15s, transform .15s, visibility .15s;
}
.shopbar__nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.shopbar__nav li:hover > .sub-menu,
.shopbar__nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.shopbar__nav li:hover > a .menu__chev { transform: rotate(180deg); }
.shopbar__nav .sub-menu a { display: flex; justify-content: flex-start; width: 100%; padding: 9px 14px; border-radius: 10px; }
.cartpill__count { min-width: 17px; height: 17px; font-size: 10px; }

/* the banner: shorter, the promise smaller, the decks in gold rims lying on the mat */
.bloom__in { min-height: clamp(340px, 30vw, 410px); padding-block: 30px 64px; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.bloom__say { gap: 14px; }
.bloom__say h1 { font-size: clamp(32px, 3.3vw, 44px); line-height: 1.1; }
.bloom__line { max-width: 40ch; font-size: 15px; line-height: 1.6; }
.bloom__go { gap: 12px; margin-top: 4px; }
.bloom__go .btn--lg { min-height: 46px; padding: 0 24px; font-size: 15px; }
.bloom__go .btn--cream { --rim: #CFC4EE; }
.bloom__art { height: clamp(270px, 25vw, 340px); perspective: 1300px; }
.bloom__card {
	bottom: 14%;
	width: clamp(108px, 11vw, 152px);
	padding: 5px;
	background: linear-gradient(140deg, #FBEFC5 0%, #D9AE55 30%, #F7E4A8 55%, #B98A34 80%, #EBCB7C 100%);
	border: 0;
	border-radius: 12px;
	box-shadow: 0 22px 32px rgba(60, 40, 140, .28);
	transform: rotateX(16deg) rotate(var(--r, 0deg));
	transform-origin: 50% 100%;
}
.bloom__card:hover { transform: rotateX(8deg) rotate(var(--r, 0deg)) translateY(-8px); }
#insertdeck .bloom__card img { border-radius: 8px; }
.bloom__card--1 { left: 13%; --r: -13deg; }
.bloom__card--2 { left: 31%; bottom: 20%; width: clamp(118px, 12vw, 166px); --r: 0deg; }
.bloom__card--3 { left: 50%; --r: 12deg; }
.bloom__box { right: 0; bottom: 8%; width: clamp(130px, 13vw, 184px); aspect-ratio: auto; height: auto; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; filter: drop-shadow(0 16px 20px rgba(60, 40, 140, .18)); }
.bloom__box::before { content: none; }
.bloom__die { position: absolute; left: 1%; bottom: 10%; z-index: 4; width: clamp(54px, 5.4vw, 76px); height: auto; filter: drop-shadow(0 8px 10px rgba(60, 40, 140, .2)); }

/* what every order gets: a slim white bar */
.perks { margin-top: calc(-1 * clamp(52px, 5vw, 70px)); }
.perks__in { padding: 12px 6px; border-radius: 18px; box-shadow: 0 12px 30px rgba(76, 52, 170, .09); }
.perks__in li { gap: 12px; padding: 4px 14px; }
.perks__in .icon { width: 24px; height: 24px; }
.perks__in b { font-size: 13.5px; }
.perks__in small { font-size: 12px; }

/* the heads of the sections: small and plain */
.shelf { gap: 14px; }
.shelf__head h2 { font-size: clamp(19px, 1.8vw, 22px); }
.shelf__more { font-size: 13px; }
#insertdeck ul.products { gap: 18px; }

/* the collections: shorter tiles, a real fan of the newest pictures on the right; nothing beside them */
.kinds { gap: 16px; }
.kind a { min-height: 112px; padding: 16px 12px 14px 18px; border-radius: 18px; box-shadow: 0 6px 18px rgba(76, 52, 170, .07); border: 0; }
.kind__say b { font-size: 16px; }
.kind__say small { font-size: 12.5px; }
.kind__go { width: 28px; height: 28px; }
.kind__art { width: 104px; height: 92px; margin-right: 0; }
.kind__art::before { content: none; }
#insertdeck .kind__art img { left: auto; right: 6px; top: 4px; width: 60px; height: 84px; border: 2px solid #FFFFFF; border-radius: 7px; box-shadow: 0 8px 16px rgba(40, 20, 100, .2); transform: rotate(10deg); }
#insertdeck .kind__art img:nth-last-child(2) { right: 26px; top: 6px; transform: rotate(0deg); }
#insertdeck .kind__art img:nth-last-child(3) { right: 46px; top: 10px; transform: rotate(-10deg); }
.kind__own { inset: 4px 6px auto auto; width: 62px; height: 84px; }
.kind__own i { border-radius: 7px; }
.kind__own i:nth-child(1) { transform: rotate(-10deg) translateX(-38px); opacity: 1; }
.kind__own i:nth-child(2) { transform: rotate(0deg) translateX(-19px); opacity: 1; }
.kind__own i:nth-child(3) { transform: rotate(10deg); }

/* featured: compact cards */
.picks { gap: 16px; }
.pick { grid-template-columns: 92px minmax(0, 1fr); gap: 12px; padding: 12px; border-radius: 16px; }
#insertdeck .pick__name { font-size: 13.5px; }
.pick__meta, .pick__rate { font-size: 12px; }
.pick__foot .ticket { font-size: 16px; }
.pick__cart { width: 32px; height: 32px; border-radius: 9px; }
.pick__cart .icon { width: 17px; height: 17px; }

/* the tiles of the shelves: a little lighter */
.deck { padding: 8px 8px 12px; border-radius: 16px; }
.deck__art { border-radius: 12px; }
#insertdeck .deck__name { font-size: 14.5px; }
.deck__meta { font-size: 12px; }

/* the story: a slim band, the art fading in from the left, three points in a row */
.story__in { grid-template-columns: minmax(0, .75fr) minmax(0, 1.5fr); min-height: 0; border: 0; border-radius: 20px; }
.story__art { min-height: 150px; }
.story__say { gap: 8px; padding: 22px 34px 22px 4px; }
.story__say h2 { font-size: clamp(19px, 1.9vw, 23px); }
.story__say > p { max-width: 64ch; font-size: 13.5px; line-height: 1.55; }
.story__points { gap: 8px 30px; margin-top: 6px; }
.story__points li { font-size: 13px; }
.story__points .icon { width: 18px; height: 18px; }

/* the offer and how it works: slimmer too */
.bounty__in { padding: 20px 30px; border: 0; }
.seal { width: 92px; }
.seal b { font-size: 32px; }
.how { gap: 20px; }
.how > h2 { font-size: clamp(19px, 1.8vw, 22px); }
.medal { width: 60px; height: 60px; }
.pillar h3 { margin-top: 8px; font-size: 15px; }
.pillar p { font-size: 13px; }

/* players' words */
.voice { padding: 16px 18px; border-radius: 16px; gap: 10px; }
.voice blockquote p { font-size: 13.5px; }

/* the footer: tighter, the newsletter's button a violet pill */
.sitefoot__in { padding-block: 36px 22px; gap: 22px; }
.sitefoot__col h2 { font-size: 14px; margin-bottom: 10px; }
.sitefoot__col a, .sitefoot__brand p { font-size: 13px; }
.sitefoot__col ul { gap: 6px; }
#insertdeck .newsform__slot .input-text { min-height: 44px; padding: 0 74px 0 18px; font-size: 13px; }
.newsform__go { right: 4px; width: 58px; height: 36px; margin-top: -18px; border-radius: 999px; }
.newsform__go .icon { width: 18px; height: 18px; }
.sitefoot__base { padding-top: 16px; font-size: 12px; }

/* notices: a soft panel, no stripe */
#insertdeck .woocommerce-message, #insertdeck .woocommerce-info, #insertdeck .woocommerce-error { border-left-width: 1px; }

@media (max-width: 900px) {
	.shopbar__nav .sub-menu { position: static; display: grid; min-width: 0; padding: 0 0 0 14px; background: none; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
	.menu__chev { display: none; }
	.bloom__in { padding-block: 26px 80px; }
	.bloom__art { height: 240px; }
	.bloom__card--1 { left: 6%; }
	.bloom__card--2 { left: 27%; }
	.bloom__card--3 { left: 48%; }
	.story__say { padding: 0 22px 24px; }
}
@media (max-width: 600px) {
	.bloom__card { width: 96px; }
	.bloom__card--2 { width: 106px; }
	.bloom__box { width: 104px; }
	.bloom__die { width: 46px; }
}
.brand { place-items: normal; align-items: center; }
.brand__name { display: block; padding: 0; }
@media (max-width: 900px) {
	.bloom__in { grid-template-columns: minmax(0, 1fr); }
	.brand__mark { width: 32px; height: 32px; }
	.brand__name { font-size: 18px; }
}
@media (max-width: 600px) {
	.brand { gap: 6px; }
	.brand__mark { width: 28px; height: 28px; }
	.brand__name { font-size: 16px; }
	.toolbtn { width: 34px; height: 34px; }
	.shopbar__burger { width: 36px; padding: 0 6px; }
}
