/* gamingbroject.com s148 lab: release calendar, VERSION B "Release rail" (cal-b.css, design owner B).
 * Lab only: /testqq/upcoming-games/?gbcal=b, loaded by manifest part 55-calendar.json when the body has gbcal-b.
 *
 * LOOK (restyle s148, docs/restyle/SPEC.md "Keys in a lit tray"). The calendar is one physical object under one
 * overhead light. A recessed tray (the rail dock, the platform track, the picker's month track, the switch track) holds
 * matte keys. Elevation is information: days with releases stand up as raised keys (E1), past and empty days lie flat in
 * the tray, the chosen day lifts one level (E2) with a lit rim (Day: a 2 px ink bar on its lower edge), and what floats over content
 * (picker, sheet, rail arrows) is the highest level (E3). Depth = tone steps, a 1 px top highlight and y only contact
 * plus ambient shadows (x offset always 0). Covers are printed card stock: 16:9 with a glass edge in tiles, shown at
 * their own ratio on the hero's dark lit stage (the page's only blur). Red marks today only, gold marks our coverage
 * only (one bookmark ribbon on covers, the rail star, the gold key, the switch). No glow, no outline drawn for
 * decoration, no gradient on a surface, no text shadow. Radii: 4 covers and plates, 6 controls, 8 keys and groups,
 * 12 panels and tiles, 16 the sheet top.
 *
 * SCOPE. The transform puts "gbcal gbcal-b" on <body>, so no rule here is scoped by .gbcal-b (it would reach the whole
 * page: header, footer, consent banner). Every rule is scoped by .gbcal-b-app, the root cal-b.js mounts inside #gbcal,
 * or names a B class (gbcal-b-*, gbcal-ssr); only the token rules use .gbcal alone, and they set custom properties only.
 * tests/test_cal_b.js and tests/test_cal_b_dom.js check this.
 * CASCADE. index.php declares "@layer s145, gbl, gbu;". Everything here sits in @layer s145, as the contract asks, so
 * normal declarations lose to gbl, gbu and the unlayered theme (".gb-game-library a { color: inherit }",
 * ".gb-game-library h2 { font-size; color }", "img { max-width }"), and Day mode's catch-all (gbl, !important) paints
 * every text ink, every border one line and drops every shadow. So every colour, border, shadow, radius and heading
 * font below carries !important: an s145 !important beats gbl, gbu and unlayered !important. Layout stays normal
 * (no live rule names these classes). Colours come only from the --gbcal-b-* tokens, each with its Day value.
 * Where an outline went, the 1 px border width stays (transparent) so no box changes size: cal-b.js measures the dock.
 * Border OR shadow, never both. Shadow stacks of one family have the same layer count so states interpolate.
 * The hero is a dark island in both themes (a picture), like the site's room and video frames.
 * Focus ring: the s145.sys ring (cyan, 2 px) on every link and button; nothing here removes it.
 * Motion: hover only on fine pointers; press = travel 0 1px plus a lower shadow in 100 ms (never scale); every
 * translate lives inside prefers-reduced-motion: no-preference, and reduce turns travel, animation and transitions off. */

@layer s145 {

	/* ------------------------------------------------------------ 0. tokens ------------------------------------ */
	.gbcal {
		--gbcal-b-text: var(--font-sans, "Inter", "Inter Fallback", system-ui, sans-serif);
		--gbcal-b-display: "GB Barlow Condensed", "Barlow Condensed", "Inter", system-ui, sans-serif;
		--gbcal-b-ease: var(--s145-ease, cubic-bezier(.23, 1, .32, 1));
		--gbcal-b-r: 12px;
		--gbcal-b-r-s: 6px;
		--gbcal-b-r-k: 8px;
		--gbcal-b-r-c: 4px;
		--gbcal-b-s0: #0c0712;
		--gbcal-b-well: #08050c;
		--gbcal-b-e1: #171020;
		--gbcal-b-e2: #261d31;
		--gbcal-b-e3: #241b2f;
		--gbcal-b-card: #171020;
		--gbcal-b-raise: #171020;
		--gbcal-b-hover: #261d31;
		--gbcal-b-sel: #261d31;
		--gbcal-b-sheet: #241b2f;
		--gbcal-b-dock: #08050c;
		--gbcal-b-sh-well: inset 0 1px 3px rgba(0, 0, 0, .6), inset 0 -1px 0 rgba(255, 255, 255, .04);
		--gbcal-b-sh-flat: inset 0 0 0 0 transparent, inset 0 0 0 0 transparent, 0 0 0 0 transparent, 0 0 0 0 transparent;
		--gbcal-b-sh-1: inset 0 0 0 0 transparent, inset 0 1px 0 rgba(255, 255, 255, .06), 0 1px 1px rgba(0, 0, 0, .55), 0 3px 8px -2px rgba(0, 0, 0, .5);
		--gbcal-b-sh-2: inset 0 0 0 0 transparent, inset 0 1px 0 rgba(255, 255, 255, .09), 0 2px 3px rgba(0, 0, 0, .5), 0 10px 18px -6px rgba(0, 0, 0, .7);
		--gbcal-b-sh-sel: inset 0 0 0 1px rgba(255, 255, 255, .14), inset 0 1px 0 rgba(255, 255, 255, .16), 0 2px 3px rgba(0, 0, 0, .55), 0 6px 10px -6px rgba(0, 0, 0, .8);
		--gbcal-b-sh-down: inset 0 1px 2px rgba(0, 0, 0, .5), inset 0 0 0 0 transparent, 0 0 0 0 transparent, 0 0 0 0 transparent;
		--gbcal-b-sh-3: inset 0 1px 0 rgba(255, 255, 255, .08), 0 0 0 1px rgba(0, 0, 0, .6), 0 12px 24px -8px rgba(0, 0, 0, .6), 0 32px 64px -16px rgba(0, 0, 0, .75);
		--gbcal-b-sh-seg: inset 0 1px 0 rgba(255, 255, 255, .08), 0 1px 2px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 0, 0, .35);
		--gbcal-b-sh-stage: inset 0 1px 0 rgba(255, 255, 255, .1), 0 0 0 1px rgba(255, 255, 255, .06), 0 2px 4px rgba(0, 0, 0, .5), 0 28px 56px -24px rgba(0, 0, 0, .9);
		--gbcal-b-sh-print: 0 0 0 1px rgba(255, 255, 255, .08), 0 1px 2px rgba(0, 0, 0, .6), 0 16px 30px -12px rgba(0, 0, 0, .8);
		--gbcal-b-sh-gold: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -2px 0 rgba(122, 82, 0, .35), 0 1px 0 rgba(0, 0, 0, .45), 0 6px 14px -6px rgba(0, 0, 0, .6);
		--gbcal-b-sh-gold-down: inset 0 1px 2px rgba(122, 82, 0, .45), inset 0 0 0 0 transparent, 0 0 0 0 transparent, 0 0 0 0 transparent;
		--gbcal-b-glass: inset 0 0 0 1px rgba(255, 255, 255, .07), inset 0 1px 0 rgba(255, 255, 255, .1);
		--gbcal-b-plate: rgba(0, 0, 0, .32);
		--gbcal-b-sh-plate: inset 0 1px 1px rgba(0, 0, 0, .45);
		--gbcal-b-tick: rgba(255, 255, 255, .24);
		--gbcal-b-ink: #f7f5fb;
		--gbcal-b-ink-2: #c9c3d1;
		--gbcal-b-ink-3: #9a93a5;
		--gbcal-b-line: rgba(255, 255, 255, .1);
		--gbcal-b-line-2: rgba(255, 255, 255, .18);
		--gbcal-b-line-3: rgba(255, 255, 255, .32);
		--gbcal-b-red: #ff2948;
		--gbcal-b-red-text: #ff5c78;
		--gbcal-b-red-fill: #df1a3e;
		--gbcal-b-red-fill-2: #c8163a;
		--gbcal-b-red-line: rgba(255, 41, 72, .55);
		--gbcal-b-gold: #ffd35a;
		--gbcal-b-gold-text: #ffd35a;
		--gbcal-b-gold-fill: #ffd35a;
		--gbcal-b-gold-fill-2: #ffe08a;
		--gbcal-b-gold-ink: #1a1100;
		--gbcal-b-gold-line: rgba(255, 211, 90, .5);
		--gbcal-b-on: #f7f5fb;
		--gbcal-b-on-ink: #0c0712;
		--gbcal-b-link: #58e5f1;
		--gbcal-b-scrim: rgba(5, 2, 10, .62);
		--gbcal-b-scrim-pop: rgba(5, 2, 10, .32);
		--gbcal-b-shade: rgba(0, 0, 0, .75);
	}
	:root[data-gb-theme="light"] .gbcal {
		--gbcal-b-s0: #ffffff;
		--gbcal-b-well: #eeebf3;
		--gbcal-b-e1: #ffffff;
		--gbcal-b-e2: #ffffff;
		--gbcal-b-e3: #ffffff;
		--gbcal-b-card: #ffffff;
		--gbcal-b-raise: #ffffff;
		--gbcal-b-hover: #ffffff;
		--gbcal-b-sel: #ffffff;
		--gbcal-b-sheet: #ffffff;
		--gbcal-b-dock: #eeebf3;
		--gbcal-b-sh-well: inset 0 1px 2px rgba(21, 18, 27, .12), inset 0 -1px 0 #ffffff;
		--gbcal-b-sh-flat: inset 0 0 0 0 transparent, 0 0 0 0 transparent, 0 0 0 0 transparent, 0 0 0 0 transparent;
		--gbcal-b-sh-1: inset 0 0 0 0 transparent, 0 0 0 1px rgba(21, 18, 27, .08), 0 1px 2px rgba(21, 18, 27, .07), 0 3px 8px -3px rgba(21, 18, 27, .12);
		--gbcal-b-sh-2: inset 0 0 0 0 transparent, 0 0 0 1px rgba(21, 18, 27, .08), 0 2px 4px rgba(21, 18, 27, .08), 0 12px 22px -10px rgba(21, 18, 27, .24);
		--gbcal-b-sh-sel: inset 0 -2px 0 0 #15121b, 0 0 0 1px rgba(21, 18, 27, .1), 0 2px 4px rgba(21, 18, 27, .1), 0 6px 10px -6px rgba(21, 18, 27, .3);
		--gbcal-b-sh-down: inset 0 1px 2px rgba(21, 18, 27, .14), 0 0 0 1px rgba(21, 18, 27, .1), 0 0 0 0 transparent, 0 0 0 0 transparent;
		--gbcal-b-sh-3: inset 0 1px 0 #ffffff, 0 0 0 1px rgba(21, 18, 27, .08), 0 12px 24px -10px rgba(21, 18, 27, .18), 0 32px 64px -20px rgba(21, 18, 27, .28);
		--gbcal-b-sh-seg: inset 0 1px 0 #ffffff, 0 1px 3px rgba(21, 18, 27, .14), 0 0 0 1px rgba(21, 18, 27, .08);
		--gbcal-b-sh-stage: inset 0 1px 0 rgba(255, 255, 255, .1), 0 0 0 1px rgba(21, 18, 27, .1), 0 24px 48px -20px rgba(21, 18, 27, .35);
		--gbcal-b-sh-print: 0 0 0 1px rgba(255, 255, 255, .08), 0 1px 2px rgba(0, 0, 0, .6), 0 16px 30px -12px rgba(0, 0, 0, .8);
		--gbcal-b-sh-gold: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -2px 0 rgba(122, 82, 0, .3), 0 1px 0 rgba(21, 18, 27, .18), 0 6px 14px -6px rgba(21, 18, 27, .3);
		--gbcal-b-sh-gold-down: inset 0 1px 2px rgba(122, 82, 0, .45), inset 0 0 0 0 transparent, 0 0 0 0 transparent, 0 0 0 0 transparent;
		--gbcal-b-glass: inset 0 0 0 1px rgba(21, 18, 27, .08), inset 0 0 0 0 transparent;
		--gbcal-b-plate: #f1eff5;
		--gbcal-b-sh-plate: inset 0 1px 1px rgba(21, 18, 27, .1);
		--gbcal-b-tick: rgba(21, 18, 27, .22);
		--gbcal-b-ink: #15121b;
		--gbcal-b-ink-2: #4f4958;
		--gbcal-b-ink-3: #6a6474;
		--gbcal-b-line: rgba(21, 18, 27, .1);
		--gbcal-b-line-2: rgba(21, 18, 27, .18);
		--gbcal-b-line-3: rgba(21, 18, 27, .34);
		--gbcal-b-red: #d1123a;
		--gbcal-b-red-text: #b80d32;
		--gbcal-b-red-fill: #d1123a;
		--gbcal-b-red-fill-2: #b30f31;
		--gbcal-b-red-line: rgba(209, 18, 58, .45);
		--gbcal-b-gold: #9a6400;
		--gbcal-b-gold-text: #8a5a00;
		--gbcal-b-gold-fill: #ffcc3d;
		--gbcal-b-gold-fill-2: #ffd766;
		--gbcal-b-gold-ink: #1a1100;
		--gbcal-b-gold-line: rgba(154, 100, 0, .45);
		--gbcal-b-on: #15121b;
		--gbcal-b-on-ink: #ffffff;
		--gbcal-b-link: #007385;
		--gbcal-b-scrim: rgba(21, 18, 27, .35);
		--gbcal-b-scrim-pop: rgba(21, 18, 27, .16);
		--gbcal-b-shade: rgba(21, 18, 27, .22);
	}

	/* ------------------------------------------------------------ 1. mount ------------------------------------- */
	.gbcal.gbcal-b-on > .gbcal-ssr,
	.gbcal .gbcal-ssr[hidden] { display: none !important; }

	/* ------------------------------------------------------------ 2. base -------------------------------------- */
	/* First on purpose: every later rule that names a colour (two classes or more) wins over this inherit. */
	.gbcal-b-app :where(*) { color: inherit !important; }
	.gbcal-b-app {
		position: relative;
		margin: 6px 0 0;
		color: var(--gbcal-b-ink) !important;
		font: 400 15px/1.45 var(--gbcal-b-text);
		-webkit-tap-highlight-color: transparent;
	}
	.gbcal-b-app :where(*, *::before, *::after) { box-sizing: border-box; }
	.gbcal-b-app :where(ul, ol) { margin: 0; padding: 0; list-style: none; }
	.gbcal-b-app :where(li) { margin: 0; padding: 0; list-style: none; }
	.gbcal-b-app :where(li)::marker { content: ""; }
	.gbcal-b-app :where(h2, h3, h4, p) { margin: 0; }
	.gbcal-b-app :where(a) { text-decoration: none !important; }
	.gbcal-b-app :where(button) {
		-webkit-appearance: none;
		appearance: none;
		margin: 0;
		cursor: pointer;
		touch-action: manipulation;
		-webkit-tap-highlight-color: transparent;
		-webkit-user-select: none;
		user-select: none;
		text-transform: none !important;
		letter-spacing: 0 !important;
		text-shadow: none !important;
	}
	.gbcal-b-app :where(button:disabled) { cursor: default; }
	.gbcal-b-app .gbcal-b-i { display: block; flex: none; width: 1em; height: 1em; overflow: visible; }
	.gbcal-b-app .gbcal-b-vh {
		position: absolute !important;
		width: 1px !important;
		height: 1px !important;
		margin: -1px !important;
		padding: 0 !important;
		overflow: hidden !important;
		clip: rect(0 0 0 0) !important;
		clip-path: inset(50%) !important;
		white-space: nowrap !important;
		border: 0 !important;
	}

	/* ------------------------------------------------------------ 3. top: coverage key and platform track ------- */
	.gbcal-b-app .gbcal-b-top {
		display: flex;
		align-items: center;
		gap: 10px;
		margin: 0 calc(var(--gbcal-b-bleed, 0px) * -1) 6px;
		padding: 6px var(--gbcal-b-bleed, 0px) 10px;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scrollbar-width: none;
	}
	.gbcal-b-app .gbcal-b-top::-webkit-scrollbar { display: none; }
	/* the platform track: a recessed well, the chosen platform is the raised thumb */
	.gbcal-b-app .gbcal-b-filters {
		display: flex;
		flex: none;
		gap: 2px;
		padding: 2px;
		border-radius: 8px !important;
		background: var(--gbcal-b-well) !important;
		box-shadow: var(--gbcal-b-sh-well) !important;
	}
	.gbcal-b-app .gbcal-b-chip,
	.gbcal-b-app .gbcal-b-ours {
		display: inline-flex;
		flex: none;
		align-items: center;
		gap: 8px;
		min-height: 44px;
		padding: 0 14px;
		border: 1px solid transparent !important;
		font: 600 14px/1 var(--gbcal-b-text) !important;
		white-space: nowrap;
		transition: background-color .16s ease, box-shadow .16s var(--gbcal-b-ease), color .16s ease, translate .16s var(--gbcal-b-ease);
	}
	.gbcal-b-app .gbcal-b-chip {
		border-radius: 6px !important;
		background: transparent !important;
		box-shadow: none !important;
		color: var(--gbcal-b-ink-2) !important;
	}
	.gbcal-b-app .gbcal-b-chip[aria-pressed="true"] {
		border-color: transparent !important;
		background: var(--gbcal-b-e2) !important;
		color: var(--gbcal-b-ink) !important;
		box-shadow: var(--gbcal-b-sh-seg) !important;
	}
	.gbcal-b-app .gbcal-b-dot { display: none; }
	/* the coverage key: a raised E1 key that never fills; its switch carries the state */
	.gbcal-b-app .gbcal-b-ours {
		padding: 0 10px 0 12px;
		border-radius: 8px !important;
		background: var(--gbcal-b-e1) !important;
		color: var(--gbcal-b-ink-2) !important;
		box-shadow: var(--gbcal-b-sh-1) !important;
	}
	.gbcal-b-app .gbcal-b-ours > .gbcal-b-i { font-size: 16px; color: var(--gbcal-b-gold) !important; }
	.gbcal-b-app .gbcal-b-ours[aria-pressed="true"] {
		border-color: transparent !important;
		background: var(--gbcal-b-e1) !important;
		color: var(--gbcal-b-ink) !important;
	}
	.gbcal-b-app .gbcal-b-sw {
		position: relative;
		display: block;
		flex: none;
		width: 36px;
		height: 22px;
		margin-left: 2px;
		border: 1px solid transparent !important;
		border-radius: 999px !important;
		background: var(--gbcal-b-well) !important;
		box-shadow: inset 0 1px 2px rgba(0, 0, 0, .5), inset 0 -1px 0 rgba(255, 255, 255, .04) !important;
		transition: background-color .2s ease, box-shadow .2s ease;
	}
	.gbcal-b-app .gbcal-b-sw::after {
		content: "";
		position: absolute;
		top: 2px;
		left: 2px;
		width: 16px;
		height: 16px;
		border-radius: 50% !important;
		background: #f7f5fb !important;
		box-shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 2px 5px rgba(0, 0, 0, .25) !important;
		transition: transform .2s var(--gbcal-b-ease), background-color .2s ease;
	}
	.gbcal-b-app .gbcal-b-ours[aria-pressed="true"] .gbcal-b-sw {
		background: var(--gbcal-b-gold-fill) !important;
		box-shadow: inset 0 1px 2px rgba(122, 82, 0, .45) !important;
	}
	.gbcal-b-app .gbcal-b-ours[aria-pressed="true"] .gbcal-b-sw::after { transform: translateX(14px); background: #ffffff !important; }

	/* ------------------------------------------------------------ 4. month bar --------------------------------- */
	/* The month title is never cut: when it and the buttons do not fit on one line, the buttons go to the next. */
	.gbcal-b-app .gbcal-b-mbar {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 10px 16px;
		margin: 0 0 6px;
	}
	.gbcal-b-app .gbcal-b-mbtn {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		min-width: 0;
		min-height: 44px;
		padding: 0 4px 0 0;
		border: 0 !important;
		border-radius: 6px !important;
		background: transparent !important;
		color: var(--gbcal-b-ink) !important;
		font: 700 28px/1 var(--gbcal-b-display) !important;
		letter-spacing: 0 !important;
		transition: translate .16s var(--gbcal-b-ease);
	}
	/* a live rule resets the span to the body face: the condensed face is set on the span itself */
	.gbcal-b-app .gbcal-b-mbtn-t {
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
		font: 700 1em/1 var(--gbcal-b-display) !important;
		letter-spacing: 0 !important;
		font-variant-numeric: tabular-nums lining-nums;
	}
	.gbcal-b-app .gbcal-b-mbtn-i {
		display: grid;
		flex: none;
		place-items: center;
		width: 20px;
		height: 20px;
		border: 0 !important;
		border-radius: 0 !important;
		background: transparent !important;
		box-shadow: none !important;
		color: var(--gbcal-b-ink-3) !important;
		font-size: 16px;
		transition: transform .2s var(--gbcal-b-ease), color .16s ease;
	}
	.gbcal-b-app .gbcal-b-mbtn[aria-expanded="true"] .gbcal-b-mbtn-i { transform: rotate(180deg); }
	.gbcal-b-app .gbcal-b-mstat { display: none; }
	/* the nav rocker: one raised E1 group, three segments, dividers around Today */
	.gbcal-b-app .gbcal-b-mnav {
		display: flex;
		flex: none;
		gap: 0;
		margin-left: auto;
		border-radius: 8px !important;
		background: var(--gbcal-b-e1) !important;
		box-shadow: var(--gbcal-b-sh-1) !important;
	}
	.gbcal-b-app .gbcal-b-ib {
		display: inline-grid;
		flex: none;
		place-items: center;
		width: 44px;
		height: 44px;
		padding: 0;
		border: 1px solid transparent !important;
		border-radius: 6px !important;
		background: transparent !important;
		box-shadow: none !important;
		color: var(--gbcal-b-ink-2) !important;
		font-size: 20px;
		transition: background-color .16s ease, box-shadow .16s ease, color .16s ease;
	}
	.gbcal-b-app .gbcal-b-mnav > .gbcal-b-ib[data-act="prev"] { border-radius: 8px 0 0 8px !important; }
	.gbcal-b-app .gbcal-b-mnav > .gbcal-b-ib[data-act="next"] { border-radius: 0 8px 8px 0 !important; }
	.gbcal-b-app .gbcal-b-ib:disabled,
	.gbcal-b-app .gbcal-b-today:disabled { opacity: .38; }
	.gbcal-b-app .gbcal-b-today {
		min-height: 44px;
		padding: 0 16px;
		border: 1px solid transparent !important;
		border-radius: 0 !important;
		background: transparent !important;
		color: var(--gbcal-b-ink) !important;
		font: 600 14px/1 var(--gbcal-b-text) !important;
		box-shadow: inset 1px 0 0 var(--gbcal-b-line), inset -1px 0 0 var(--gbcal-b-line) !important;
		transition: background-color .16s ease, box-shadow .16s ease;
	}
	/* press inside the group: the segment drops into the well, no travel */
	.gbcal-b-app .gbcal-b-mnav > .gbcal-b-ib:active:not(:disabled) {
		background: var(--gbcal-b-well) !important;
		box-shadow: inset 0 1px 2px rgba(0, 0, 0, .45) !important;
		transition-duration: .1s;
	}
	.gbcal-b-app .gbcal-b-today:active:not(:disabled) {
		background: var(--gbcal-b-well) !important;
		box-shadow: inset 0 1px 2px rgba(0, 0, 0, .45), inset 1px 0 0 var(--gbcal-b-line), inset -1px 0 0 var(--gbcal-b-line) !important;
		transition-duration: .1s;
	}
	/* Phones up to 400 px: "September 2027" at 24 px, the chevron and the rocker share one line when they fit. */
	@media (max-width: 400px) {
		.gbcal-b-app .gbcal-b-mbar { column-gap: 10px; }
		.gbcal-b-app .gbcal-b-mbtn { font-size: 24px !important; }
		.gbcal-b-app .gbcal-b-today { padding: 0 12px; }
	}

	/* ------------------------------------------------------------ 5. the dock: the tray, month spine, day rail -- */
	.gbcal-b-app .gbcal-b-dock {
		position: -webkit-sticky;
		position: sticky;
		top: var(--header-h, 72px);
		z-index: 20;
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		align-items: stretch;
		gap: 4px;
		margin: 0 calc(var(--gbcal-b-bleed, 0px) * -1);
		padding: 4px max(4px, calc(var(--gbcal-b-bleed, 0px) - 12px));
		border-bottom: 1px solid transparent !important;
		background: var(--gbcal-b-dock) !important;
		box-shadow: var(--gbcal-b-sh-well) !important;
		transition: box-shadow .2s ease;
	}
	.gbcal-b-app .gbcal-b-dock.is-stuck {
		border-bottom-color: transparent !important;
		box-shadow: inset 0 1px 3px rgba(0, 0, 0, .6), inset 0 -1px 0 rgba(255, 255, 255, .04), 0 1px 0 rgba(0, 0, 0, .6), 0 16px 28px -16px rgba(0, 0, 0, .9) !important;
	}
	/* the month spine: a raised key at the tray's left end */
	.gbcal-b-app .gbcal-b-spine {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 3px;
		width: 48px;
		margin: 6px 0 12px;
		padding: 6px 0;
		border: 1px solid transparent !important;
		border-radius: 8px !important;
		background: var(--gbcal-b-e1) !important;
		color: var(--gbcal-b-ink) !important;
		box-shadow: var(--gbcal-b-sh-1) !important;
		transition: background-color .16s ease, box-shadow .16s var(--gbcal-b-ease), translate .16s var(--gbcal-b-ease);
	}
	.gbcal-b-app .gbcal-b-spine-m { font: 700 18px/1 var(--gbcal-b-display) !important; color: var(--gbcal-b-ink) !important; }
	.gbcal-b-app .gbcal-b-spine-y { font: 600 12px/1 var(--gbcal-b-text) !important; color: var(--gbcal-b-ink-3) !important; font-variant-numeric: tabular-nums; }
	.gbcal-b-app .gbcal-b-spine > .gbcal-b-i { margin-top: 5px; font-size: 16px; color: var(--gbcal-b-ink-3) !important; }
	.gbcal-b-app .gbcal-b-railbox { position: relative; min-width: 0; }
	/* the tray's lip: keys slide under a fade of the tray colour */
	.gbcal-b-app .gbcal-b-railbox::before,
	.gbcal-b-app .gbcal-b-railbox::after {
		content: "";
		position: absolute;
		top: 0;
		bottom: 0;
		z-index: 1;
		width: 40px;
		opacity: 0;
		pointer-events: none;
		transition: opacity .2s ease;
	}
	.gbcal-b-app .gbcal-b-railbox::before { left: 0; background: linear-gradient(90deg, var(--gbcal-b-dock), transparent) !important; }
	.gbcal-b-app .gbcal-b-railbox::after { right: 0; background: linear-gradient(270deg, var(--gbcal-b-dock), transparent) !important; }
	.gbcal-b-app .gbcal-b-railbox.can-back::before,
	.gbcal-b-app .gbcal-b-railbox.can-fwd::after { opacity: 1; }
	/* 6 px above and 12 px below: room for the keys' shadows and the chosen key's lift */
	.gbcal-b-app .gbcal-b-rail {
		position: relative;
		display: flex;
		gap: 6px;
		margin: 0;
		padding: 6px 4px 12px;
		overflow-x: auto;
		overflow-y: hidden;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: 4px;
		scrollbar-width: none;
	}
	.gbcal-b-app .gbcal-b-rail::-webkit-scrollbar { display: none; }
	.gbcal-b-app .gbcal-b-dli { display: flex; flex: none; scroll-snap-align: center; }

	/* a day key: weekday, day number, count, gold star, up to three ticks (one per top pick, gold when we cover it) */
	.gbcal-b-app .gbcal-b-dc {
		position: relative;
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		width: 64px;
		min-height: 88px;
		padding: 8px 7px;
		border: 1px solid transparent !important;
		border-radius: 8px !important;
		background: var(--gbcal-b-e1) !important;
		color: var(--gbcal-b-ink) !important;
		box-shadow: var(--gbcal-b-sh-1) !important;
		font: 500 12px/1.2 var(--gbcal-b-text) !important;
		text-align: left;
		transition: background-color .16s ease, box-shadow .2s var(--gbcal-b-ease), translate .2s var(--gbcal-b-ease);
	}
	.gbcal-b-app .gbcal-b-dc-wd { font: 600 12px/1.2 var(--gbcal-b-text) !important; color: var(--gbcal-b-ink-3) !important; }
	.gbcal-b-app .gbcal-b-dc-n {
		margin-top: 3px;
		font: 700 28px/.95 var(--gbcal-b-display) !important;
		font-variant-numeric: tabular-nums lining-nums;
		color: var(--gbcal-b-ink) !important;
	}
	.gbcal-b-app .gbcal-b-dc-c {
		margin-top: 4px;
		font: 600 12px/1.2 var(--gbcal-b-text) !important;
		font-variant-numeric: tabular-nums lining-nums;
		white-space: nowrap;
		color: var(--gbcal-b-ink-2) !important;
	}
	.gbcal-b-app .gbcal-b-dc .gbcal-b-dc-star {
		position: absolute;
		top: 8px;
		right: 5px;
		width: 12px;
		height: 12px;
		color: var(--gbcal-b-gold) !important;
	}
	.gbcal-b-app .gbcal-b-dc-strip { display: flex; gap: 3px; width: 100%; margin-top: auto; padding-top: 8px; }
	.gbcal-b-app .gbcal-b-mini {
		display: block;
		flex: 0 0 auto;
		width: 12px;
		height: 4px;
		border-radius: 1px !important;
		background: var(--gbcal-b-tick) !important;
		box-shadow: none !important;
	}
	.gbcal-b-app .gbcal-b-mini.is-ours { background: var(--gbcal-b-gold) !important; box-shadow: none !important; }
	.gbcal-b-app .gbcal-b-mini.is-none { display: none; }
	/* past days and days without releases lie flat in the tray */
	.gbcal-b-app .gbcal-b-dc.is-past:not([aria-pressed="true"]),
	.gbcal-b-app .gbcal-b-dc.is-empty:not([aria-pressed="true"]),
	.gbcal-b-app .gbcal-b-dc:disabled {
		background: transparent !important;
		box-shadow: var(--gbcal-b-sh-flat) !important;
	}
	.gbcal-b-app .gbcal-b-dc.is-past .gbcal-b-dc-n,
	.gbcal-b-app .gbcal-b-dc.is-empty .gbcal-b-dc-n,
	.gbcal-b-app .gbcal-b-dc.is-past .gbcal-b-dc-c,
	.gbcal-b-app .gbcal-b-dc.is-empty .gbcal-b-dc-c { color: var(--gbcal-b-ink-3) !important; }
	/* the chosen day: one level up with an ink bar on its lower edge */
	.gbcal-b-app .gbcal-b-dc[aria-pressed="true"] {
		border-color: transparent !important;
		background: var(--gbcal-b-e2) !important;
		box-shadow: var(--gbcal-b-sh-sel) !important;
	}
	.gbcal-b-app .gbcal-b-dc[aria-pressed="true"] .gbcal-b-dc-n { color: var(--gbcal-b-ink) !important; }
	/* today: red text only (the word and the numeral) */
	.gbcal-b-app .gbcal-b-dc.is-today .gbcal-b-dc-wd,
	.gbcal-b-app .gbcal-b-dc.is-today .gbcal-b-dc-n { font-weight: 700 !important; color: var(--gbcal-b-red-text) !important; }
	.gbcal-b-app .gbcal-b-dc:disabled { opacity: .4; }
	.gbcal-b-app.is-ours-only .gbcal-b-dc.has-ours .gbcal-b-dc-c { color: var(--gbcal-b-gold-text) !important; }

	/* the month before and after, printed on the tray at the rail's ends */
	.gbcal-b-app .gbcal-b-edge {
		position: relative;
		z-index: 2;
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: center;
		gap: 2px;
		width: 52px;
		padding: 0;
		border: 1px solid transparent !important;
		border-radius: 8px !important;
		background: transparent !important;
		color: var(--gbcal-b-ink-3) !important;
		box-shadow: var(--gbcal-b-sh-flat) !important;
		font: 700 18px/1 var(--gbcal-b-display) !important;
		transition: background-color .16s ease, box-shadow .16s var(--gbcal-b-ease), color .16s ease, translate .16s var(--gbcal-b-ease);
	}
	.gbcal-b-app .gbcal-b-edge > .gbcal-b-i { font-size: 14px; color: var(--gbcal-b-ink-3) !important; }

	/* desktop arrows over the rail's ends (mouse only) */
	.gbcal-b-app .gbcal-b-arrow { display: none; }

	/* Docked on a phone: weekday, day number and gold star only, about 77 px under the header instead of 114 px. The
	 * day keys stay 60 by 64 px. cal-b.js puts the saved height back as a bottom margin, so nothing below jumps. */
	@media (max-width: 760px) {
		.gbcal-b-app .gbcal-b-dock.is-stuck .gbcal-b-dc-strip,
		.gbcal-b-app .gbcal-b-dock.is-stuck .gbcal-b-dc-c,
		.gbcal-b-app .gbcal-b-dock.is-stuck .gbcal-b-spine > .gbcal-b-i { display: none; }
		.gbcal-b-app .gbcal-b-dock.is-stuck .gbcal-b-dc { min-height: 60px; }
		.gbcal-b-app .gbcal-b-dock.is-stuck .gbcal-b-rail { padding: 4px 4px 8px; }
		.gbcal-b-app .gbcal-b-dock.is-stuck .gbcal-b-spine { margin: 4px 0 8px; }
		/* the gold star sits on the numeral line, clear of "Today" */
		.gbcal-b-app .gbcal-b-dc .gbcal-b-dc-star { top: 30px; right: 7px; }
	}

	/* ------------------------------------------------------------ 6. the chosen day ---------------------------- */
	.gbcal-b-app .gbcal-b-day { margin-top: 20px; }
	.gbcal-b-app .gbcal-b-day.is-in { animation: gbcal-b-in .28s var(--gbcal-b-ease) both; }
	.gbcal-b-app .gbcal-b-dh {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
		margin: 0 0 16px;
		padding: 0;
		border-bottom: 0 !important;
	}
	/* "Out today" reads after the date, on its baseline (it wraps below on narrow phones) */
	.gbcal-b-app .gbcal-b-dh-l { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
	.gbcal-b-app .gbcal-b-dh-k { order: 2; margin: 0 !important; font: 600 16px/1.2 var(--gbcal-b-text) !important; color: var(--gbcal-b-ink-3) !important; }
	.gbcal-b-app .gbcal-b-dh-k.is-today { color: var(--gbcal-b-red-text) !important; }
	.gbcal-b-app .gbcal-b-dh-t {
		margin: 0 !important;
		font: 700 28px/1 var(--gbcal-b-display) !important;
		letter-spacing: 0 !important;
		text-transform: none !important;
		color: var(--gbcal-b-ink) !important;
	}
	.gbcal-b-app .gbcal-b-dh-s {
		margin: 0 !important;
		font: 500 14px/1.3 var(--gbcal-b-text) !important;
		font-variant-numeric: tabular-nums lining-nums;
		color: var(--gbcal-b-ink-3) !important;
	}

	/* covers: printed card stock. A flat field, the picture whole on it, a glass edge on top. Without a picture the
	 * stand-in is the game's hue, flat, with its initials in solid type. */
	.gbcal-b-app .gbcal-b-cover {
		position: relative;
		display: block;
		width: 100%;
		aspect-ratio: 16 / 9;
		overflow: hidden;
		container-type: inline-size;
		border-radius: 4px !important;
		background: hsl(var(--h, 330) 18% 9%) !important;
	}
	.gbcal-b-app .gbcal-b-cover::after {
		content: "";
		position: absolute;
		inset: 0;
		z-index: 1;
		border-radius: inherit;
		box-shadow: var(--gbcal-b-glass) !important;
		pointer-events: none;
	}
	.gbcal-b-app .gbcal-b-cover.is-blank::after { content: none; }
	.gbcal-b-app .gbcal-b-art {
		position: absolute;
		inset: 0;
		display: block;
		background: hsl(var(--h, 330) 22% 15%) !important;
	}
	.gbcal-b-app .gbcal-b-art::before { content: none; }
	.gbcal-b-app .gbcal-b-art::after {
		content: attr(data-i);
		position: absolute;
		right: auto;
		bottom: -14%;
		left: 8%;
		font: 700 64px/1 var(--gbcal-b-display);
		font-size: 46cqw;
		letter-spacing: -.02em;
		color: rgba(255, 255, 255, .16) !important;
		-webkit-text-stroke: 0;
	}
		.gbcal-b-app .gbcal-b-cover.has-img .gbcal-b-art::after { content: none; }
	.gbcal-b-app .gbcal-b-cover-bl { display: none; }
	.gbcal-b-app .gbcal-b-cover-im {
		position: absolute;
		inset: 0;
		width: 100% !important;
		max-width: none !important;
		height: 100% !important;
		object-fit: contain;
		object-position: 50% 50%;
	}
	/* behind a real picture: a neutral dark mat, like a printed letterbox (no per game hue) */
	.gbcal-b-app .gbcal-b-cover.has-img,
	.gbcal-b-app .gbcal-b-cover.has-img .gbcal-b-art { background: #050308 !important; }
	.gbcal-b-app .gbcal-b-cover.is-blank { background: var(--gbcal-b-well) !important; }

	/* the hero: the day's best release on a dark lit stage, in both themes */
	.gbcal-b-app .gbcal-b-hero {
		position: relative;
		isolation: isolate;
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
		overflow: hidden;
		padding: 16px 16px 20px;
		border: 1px solid transparent !important;
		border-radius: 12px !important;
		background: #171020 !important;
		color: #ffffff !important;
		box-shadow: var(--gbcal-b-sh-stage) !important;
	}
	.gbcal-b-app .gbcal-b-hero-bg { position: absolute; inset: 0; z-index: -1; display: block; overflow: hidden; }
	.gbcal-b-app .gbcal-b-hero-bg::after {
		content: "";
		position: absolute;
		inset: 0;
		background: linear-gradient(180deg, rgba(23, 16, 32, .3) 0%, rgba(23, 16, 32, .7) 55%, rgba(23, 16, 32, .88) 100%) !important;
	}
	.gbcal-b-app .gbcal-b-hero-bgim {
		position: absolute;
		top: -14%;
		left: -14%;
		width: 128%;
		max-width: none !important;
		height: 128%;
		object-fit: cover;
		filter: blur(36px) saturate(.9) brightness(.6);
		opacity: .5;
	}
	/* the stand-in (no picture) stays 16:9; a picture stands at its own ratio as a printed card, never cut */
	.gbcal-b-app .gbcal-b-hero > .gbcal-b-cover { box-shadow: var(--gbcal-b-sh-print) !important; }
	.gbcal-b-app .gbcal-b-hero > .gbcal-b-cover.has-img {
		display: flex;
		align-items: center;
		justify-content: center;
		aspect-ratio: auto;
		overflow: visible;
		container-type: normal;
		border-radius: 0 !important;
		background: none !important;
		box-shadow: none !important;
	}
	.gbcal-b-app .gbcal-b-hero > .gbcal-b-cover.has-img::after,
	.gbcal-b-app .gbcal-b-hero > .gbcal-b-cover.has-img .gbcal-b-art { display: none; }
	.gbcal-b-app .gbcal-b-hero .gbcal-b-cover.has-img .gbcal-b-cover-im {
		position: relative;
		inset: auto;
		width: auto !important;
		height: auto !important;
		max-width: 100% !important;
		max-height: 240px;
		object-fit: contain;
		border-radius: 4px !important;
		box-shadow: var(--gbcal-b-sh-print) !important;
	}
	.gbcal-b-app .gbcal-b-hero-bd { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 0; }
	.gbcal-b-app .gbcal-b-hero-t {
		order: 1;
		margin: 0 0 10px !important;
		font: 700 clamp(34px, 1.2rem + 2.6vw, 52px)/1 var(--gbcal-b-display) !important;
		letter-spacing: -.005em !important;
		text-transform: none !important;
		color: #ffffff !important;
		text-shadow: none !important;
		overflow-wrap: anywhere;
		text-wrap: balance;
	}
	.gbcal-b-app .gbcal-b-eyebrow {
		order: 2;
		display: inline-flex;
		align-items: center;
		gap: 6px;
		margin: 0 0 12px !important;
		padding: 0;
		border-radius: 0 !important;
		background: none !important;
		color: rgba(255, 255, 255, .72) !important;
		font: 600 14px/1.3 var(--gbcal-b-text) !important;
		letter-spacing: 0 !important;
	}
	.gbcal-b-app .gbcal-b-eyebrow.is-ours { background: none !important; color: #ffd35a !important; }
	.gbcal-b-app .gbcal-b-eyebrow > .gbcal-b-i { font-size: 14px; }
	.gbcal-b-app .gbcal-b-hero-m { order: 3; margin: 0 0 14px !important; font: 500 16px/1.45 var(--gbcal-b-text) !important; color: rgba(255, 255, 255, .8) !important; }
	.gbcal-b-app .gbcal-b-hero-m > span { display: block; }
	.gbcal-b-app .gbcal-b-hero-m > .gbcal-b-hero-g { color: rgba(255, 255, 255, .66) !important; font-size: 14px !important; }
	.gbcal-b-app .gbcal-b-hero-tags { order: 4; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0 0 20px; }
	.gbcal-b-app .gbcal-b-hero .gbcal-b-plat {
		background: rgba(0, 0, 0, .35) !important;
		color: rgba(255, 255, 255, .88) !important;
		box-shadow: inset 0 1px 1px rgba(0, 0, 0, .5) !important;
	}
	.gbcal-b-app .gbcal-b-hero .gbcal-b-type { color: rgba(255, 255, 255, .66) !important; }
	.gbcal-b-app .gbcal-b-hero-act { order: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
	.gbcal-b-app .gbcal-b-hero-art { flex-basis: 100%; margin: 0 !important; font: 500 13px/1.4 var(--gbcal-b-text) !important; color: rgba(255, 255, 255, .72) !important; }

	/* calls to action: the gold key (our article), the neutral key, the text action */
	.gbcal-b-app .gbcal-b-cta {
		display: inline-flex;
		align-items: center;
		gap: 10px;
		min-height: 48px;
		padding: 0 20px;
		border: 1px solid var(--gbcal-b-gold-fill) !important;
		border-radius: 6px !important;
		background: var(--gbcal-b-gold-fill) !important;
		color: var(--gbcal-b-gold-ink) !important;
		box-shadow: var(--gbcal-b-sh-gold) !important;
		font: 700 16px/1 var(--gbcal-b-text) !important;
		letter-spacing: 0 !important;
		text-decoration: none !important;
		-webkit-tap-highlight-color: transparent;
		transition: background-color .16s ease, border-color .16s ease, box-shadow .12s var(--gbcal-b-ease);
	}
	.gbcal-b-app .gbcal-b-cta > * { transition: translate .12s var(--gbcal-b-ease); }
	.gbcal-b-app .gbcal-b-cta > .gbcal-b-i { font-size: 18px; transition: transform .22s var(--gbcal-b-ease), translate .12s var(--gbcal-b-ease); }
	.gbcal-b-app .gbcal-b-hero .gbcal-b-cta {
		border-color: #ffd35a !important;
		background: #ffd35a !important;
		color: #1a1100 !important;
		box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -2px 0 rgba(122, 82, 0, .35), 0 1px 0 rgba(0, 0, 0, .45), 0 6px 14px -6px rgba(0, 0, 0, .6) !important;
	}
	/* an ours card or hero is one link: the gold key's layer covers it */
	.gbcal-b-app .gbcal-b-hero.is-ours .gbcal-b-cta::after,
	.gbcal-b-app .gbcal-b-card.is-ours .gbcal-b-cta::after,
	.gbcal-b-app .gbcal-b-lc.is-ours .gbcal-b-cta::after {
		content: "";
		position: absolute;
		inset: 0;
		z-index: 2;
	}
	.gbcal-b-app .gbcal-b-cta.is-sm { gap: 6px; min-height: 40px; padding: 0 12px; font-size: 14px !important; }
	.gbcal-b-app .gbcal-b-cta.is-sm > .gbcal-b-i { font-size: 16px; }
	.gbcal-b-app .gbcal-b-ghost {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		min-height: 44px;
		padding: 0 16px;
		border: 1px solid transparent !important;
		border-radius: 6px !important;
		background: rgba(255, 255, 255, .08) !important;
		color: #ffffff !important;
		box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 2px rgba(0, 0, 0, .5) !important;
		font: 600 14px/1 var(--gbcal-b-text) !important;
		transition: background-color .16s ease, translate .12s var(--gbcal-b-ease);
	}
	.gbcal-b-app .gbcal-b-ghost > .gbcal-b-i,
	.gbcal-b-app .gbcal-b-wiki > .gbcal-b-i { font-size: 14px; }
	.gbcal-b-app .gbcal-b-wiki {
		position: relative;
		z-index: 3;
		display: inline-flex;
		align-items: center;
		gap: 5px;
		min-height: 44px;
		padding: 0 2px;
		color: var(--gbcal-b-link) !important;
		font: 600 13px/1 var(--gbcal-b-text) !important;
	}

	/* platforms: debossed plates; type and region: plain text */
	.gbcal-b-app .gbcal-b-plats { display: flex; flex-wrap: wrap; gap: 4px; }
	.gbcal-b-app .gbcal-b-plat {
		display: inline-flex;
		align-items: center;
		padding: 3px 6px;
		border: 1px solid transparent !important;
		border-radius: 4px !important;
		background: var(--gbcal-b-plate) !important;
		color: var(--gbcal-b-ink-2) !important;
		box-shadow: var(--gbcal-b-sh-plate) !important;
		font: 600 13px/1.1 var(--gbcal-b-text) !important;
		white-space: nowrap;
	}
	.gbcal-b-app .gbcal-b-plat::before { content: none; }
	.gbcal-b-app .gbcal-b-type {
		display: inline-flex;
		align-items: center;
		padding: 3px 0;
		border: 1px solid transparent !important;
		background: none !important;
		color: var(--gbcal-b-ink-3) !important;
		font: 500 13px/1.1 var(--gbcal-b-text) !important;
		white-space: nowrap;
	}
	.gbcal-b-app .gbcal-b-type.is-region { border-color: transparent !important; color: var(--gbcal-b-ink-3) !important; }

	/* the rest of the day: horizontal media rows (cover left, text right), two columns from 761 px */
	.gbcal-b-app .gbcal-b-sub {
		display: flex;
		align-items: baseline;
		gap: 8px;
		margin: 32px 0 12px !important;
		font: 700 22px/1.05 var(--gbcal-b-display) !important;
		letter-spacing: 0 !important;
		text-transform: none !important;
		color: var(--gbcal-b-ink) !important;
	}
	.gbcal-b-app .gbcal-b-sub > span {
		display: inline;
		min-width: 0;
		height: auto;
		padding: 0;
		border: 0 !important;
		border-color: transparent !important;
		border-radius: 0 !important;
		background: none !important;
		box-shadow: none !important;
		color: var(--gbcal-b-ink-3) !important;
		font: 500 14px/1 var(--gbcal-b-text) !important;
		font-variant-numeric: tabular-nums lining-nums;
	}
	.gbcal-b-app .gbcal-b-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.gbcal-b-app .gbcal-b-card {
		position: relative;
		display: grid;
		grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
		align-items: start;
		column-gap: 14px;
		row-gap: 8px;
		padding: 8px;
		border: 1px solid transparent !important;
		border-radius: 12px !important;
		background: var(--gbcal-b-e1) !important;
		color: var(--gbcal-b-ink) !important;
		box-shadow: var(--gbcal-b-sh-1) !important;
		transition: background-color .16s ease, box-shadow .16s var(--gbcal-b-ease), translate .16s var(--gbcal-b-ease);
	}
	.gbcal-b-app .gbcal-b-card-cv { position: relative; display: block; }
	.gbcal-b-app .gbcal-b-card .gbcal-b-cover,
	.gbcal-b-app .gbcal-b-wt .gbcal-b-cover,
	.gbcal-b-app .gbcal-b-lc .gbcal-b-cover { border-radius: 4px !important; }
	/* the ribbon: one gold enamel bookmark hanging from the cover's top edge (we cover this game) */
	.gbcal-b-app .gbcal-b-flag,
	.gbcal-b-app .gbcal-b-wt .gbcal-b-wt-star {
		position: absolute;
		top: 0;
		right: auto;
		left: 10px;
		z-index: 2;
		display: block;
		width: 18px;
		height: 26px;
		padding: 4px 4px 12px;
		box-sizing: border-box;
		border-radius: 0 !important;
		background: #ffd35a !important;
		color: #1a1100 !important;
		clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 76%, 0 100%);
		box-shadow: inset 0 2px 0 rgba(122, 82, 0, .45), inset 1px 0 0 rgba(255, 255, 255, .45), inset -1px 0 0 rgba(122, 82, 0, .3) !important;
	}
	.gbcal-b-app .gbcal-b-wt .gbcal-b-wt-star { left: 8px; }
	.gbcal-b-app .gbcal-b-flag > .gbcal-b-i { display: block; width: 10px; height: 10px; margin: 0 auto; font-size: 10px; }
	.gbcal-b-app .gbcal-b-flag > span {
		position: absolute;
		width: 1px;
		height: 1px;
		margin: -1px;
		padding: 0;
		overflow: hidden;
		clip: rect(0 0 0 0);
		clip-path: inset(50%);
		white-space: nowrap;
	}
	.gbcal-b-app .gbcal-b-card-bd { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 2px 4px 0 0; }
	.gbcal-b-app .gbcal-b-card-t {
		margin: 0 !important;
		font: 700 18px/1.06 var(--gbcal-b-display) !important;
		letter-spacing: 0 !important;
		text-transform: none !important;
		color: var(--gbcal-b-ink) !important;
		overflow-wrap: anywhere;
	}
	.gbcal-b-app .gbcal-b-card-m {
		display: block;
		margin: 0 !important;
		font: 500 13px/1.35 var(--gbcal-b-text) !important;
		color: var(--gbcal-b-ink-3) !important;
	}
	.gbcal-b-app .gbcal-b-card-m > span { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
	.gbcal-b-app .gbcal-b-card-ft {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
		gap: 6px 10px;
		margin-top: auto;
		padding-top: 2px;
	}
	.gbcal-b-app .gbcal-b-card-tags,
	.gbcal-b-app .gbcal-b-lc-tags { display: flex; flex-wrap: wrap; gap: 4px 10px; }

	/* an empty day: a recessed panel, left aligned */
	.gbcal-b-app .gbcal-b-empty {
		display: grid;
		justify-items: start;
		gap: 14px;
		padding: 24px;
		border: 1px solid transparent !important;
		border-radius: 12px !important;
		background: var(--gbcal-b-well) !important;
		box-shadow: var(--gbcal-b-sh-well) !important;
		text-align: left;
	}
	.gbcal-b-app .gbcal-b-empty > .gbcal-b-i { display: none; }
	.gbcal-b-app .gbcal-b-empty-t { max-width: 44ch; margin: 0 !important; font: 600 16px/1.45 var(--gbcal-b-text) !important; color: var(--gbcal-b-ink-2) !important; }
	.gbcal-b-app .gbcal-b-empty-a { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 8px 16px; }
	.gbcal-b-app .gbcal-b-go,
	.gbcal-b-app .gbcal-b-clear {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		min-height: 44px;
		border: 1px solid transparent !important;
		border-radius: 6px !important;
		font: 600 14px/1 var(--gbcal-b-text) !important;
		transition: background-color .16s ease, box-shadow .16s var(--gbcal-b-ease), color .16s ease, translate .16s var(--gbcal-b-ease);
	}
	.gbcal-b-app .gbcal-b-go {
		padding: 0 16px;
		background: var(--gbcal-b-e1) !important;
		color: var(--gbcal-b-ink) !important;
		box-shadow: var(--gbcal-b-sh-1) !important;
	}
	.gbcal-b-app .gbcal-b-go > .gbcal-b-i { font-size: 16px; }
	.gbcal-b-app .gbcal-b-clear {
		padding: 0 4px;
		background: transparent !important;
		color: var(--gbcal-b-ink-2) !important;
		box-shadow: none !important;
	}

	/* ------------------------------------------------------------ 7. this week --------------------------------- */
	.gbcal-b-app .gbcal-b-week { margin-top: 48px; }
	.gbcal-b-app .gbcal-b-wk-h {
		display: flex;
		flex-wrap: wrap;
		align-items: baseline;
		justify-content: flex-start;
		gap: 4px 16px;
		margin: 0 0 16px;
		padding: 0;
		border-bottom: 0 !important;
	}
	.gbcal-b-app .gbcal-b-wk-t {
		margin: 0 !important;
		font: 700 28px/1 var(--gbcal-b-display) !important;
		letter-spacing: 0 !important;
		text-transform: none !important;
		color: var(--gbcal-b-ink) !important;
	}
	.gbcal-b-app .gbcal-b-wk-s { margin: 0 !important; font: 500 14px/1.3 var(--gbcal-b-text) !important; color: var(--gbcal-b-ink-3) !important; }
	.gbcal-b-app .gbcal-b-wk {
		display: flex;
		gap: 10px;
		margin: 0 calc(var(--gbcal-b-bleed, 0px) * -1);
		padding: 6px var(--gbcal-b-bleed, 0px) 16px;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: var(--gbcal-b-bleed, 0px);
		scrollbar-width: none;
	}
	.gbcal-b-app .gbcal-b-wk::-webkit-scrollbar { display: none; }
	.gbcal-b-app .gbcal-b-wk > li { display: flex; flex: 0 0 clamp(148px, 42vw, 200px); scroll-snap-align: start; }
	.gbcal-b-app .gbcal-b-wt {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
		width: 100%;
		padding: 8px;
		border: 1px solid transparent !important;
		border-radius: 12px !important;
		background: var(--gbcal-b-e1) !important;
		color: var(--gbcal-b-ink) !important;
		box-shadow: var(--gbcal-b-sh-1) !important;
		font: 500 13px/1.3 var(--gbcal-b-text) !important;
		text-align: left;
		transition: background-color .16s ease, box-shadow .16s var(--gbcal-b-ease), translate .16s var(--gbcal-b-ease);
	}
	.gbcal-b-app .gbcal-b-wt-d {
		font: 600 12px/1.2 var(--gbcal-b-text) !important;
		font-variant-numeric: tabular-nums lining-nums;
		color: var(--gbcal-b-ink-3) !important;
	}
	.gbcal-b-app .gbcal-b-wt.is-today .gbcal-b-wt-d { font-weight: 700 !important; color: var(--gbcal-b-red-text) !important; }
	.gbcal-b-app .gbcal-b-wt-cv { position: relative; display: block; }
	.gbcal-b-app .gbcal-b-wt-t {
		display: -webkit-box;
		overflow: hidden;
		font: 700 18px/1.08 var(--gbcal-b-display) !important;
		color: var(--gbcal-b-ink) !important;
		overflow-wrap: anywhere;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
	}
	.gbcal-b-app .gbcal-b-wt-m {
		margin-top: auto;
		font: 500 12px/1.2 var(--gbcal-b-text) !important;
		font-variant-numeric: tabular-nums lining-nums;
		color: var(--gbcal-b-ink-3) !important;
	}
	/* a day without releases: a recessed socket with the date and "No releases" only */
	.gbcal-b-app .gbcal-b-wt.is-empty {
		background: var(--gbcal-b-well) !important;
		box-shadow: var(--gbcal-b-sh-well) !important;
	}
	.gbcal-b-app .gbcal-b-wt.is-empty .gbcal-b-cover.is-blank,
	.gbcal-b-app .gbcal-b-wt.is-empty .gbcal-b-wt-m { display: none; }
	.gbcal-b-app .gbcal-b-wt.is-empty .gbcal-b-wt-t { color: var(--gbcal-b-ink-3) !important; }
	.gbcal-b-app .gbcal-b-wt.is-sel {
		border-color: transparent !important;
		background: var(--gbcal-b-e2) !important;
		box-shadow: var(--gbcal-b-sh-sel) !important;
	}
	.gbcal-b-app .gbcal-b-wt:disabled {
		background: transparent !important;
		box-shadow: var(--gbcal-b-sh-flat) !important;
		opacity: .4;
	}

	/* ------------------------------------------------------------ 7b. no exact day yet ------------------------- */
	.gbcal-b-app .gbcal-b-later { margin-top: 48px; }
	.gbcal-b-app .gbcal-b-later[hidden] { display: none !important; }
	.gbcal-b-app .gbcal-b-lt {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
		margin: 0;
		padding: 0;
		overflow: visible;
	}
	/* a media row: the cover in column 1, the text in columns 2 and 3; plates and type tags share one line */
	.gbcal-b-app .gbcal-b-lc {
		position: relative;
		display: grid;
		grid-template-columns: minmax(0, 42%) auto minmax(0, 1fr);
		grid-template-rows: auto auto auto auto auto 1fr;
		column-gap: 14px;
		row-gap: 6px;
		align-items: start;
		flex: none;
		padding: 8px;
		border: 1px solid transparent !important;
		border-radius: 12px !important;
		background: var(--gbcal-b-e1) !important;
		color: var(--gbcal-b-ink) !important;
		box-shadow: var(--gbcal-b-sh-1) !important;
		transition: background-color .16s ease, box-shadow .16s var(--gbcal-b-ease), translate .16s var(--gbcal-b-ease);
	}
	.gbcal-b-app .gbcal-b-lc > .gbcal-b-card-cv { grid-column: 1; grid-row: 1 / 7; }
	.gbcal-b-app .gbcal-b-lc > :not(.gbcal-b-card-cv) { grid-column: 2 / -1; }
	.gbcal-b-app .gbcal-b-lc > .gbcal-b-plats { grid-column: 2; }
	.gbcal-b-app .gbcal-b-lc > .gbcal-b-lc-tags { grid-column: 3; align-self: center; }
	.gbcal-b-app .gbcal-b-lc-w {
		padding-top: 2px;
		font: 600 12px/1.2 var(--gbcal-b-text) !important;
		font-variant-numeric: tabular-nums lining-nums;
		color: var(--gbcal-b-ink-3) !important;
	}
	.gbcal-b-app .gbcal-b-lc-t {
		display: -webkit-box;
		margin: 0 !important;
		overflow: hidden;
		font: 700 18px/1.08 var(--gbcal-b-display) !important;
		letter-spacing: 0 !important;
		text-transform: none !important;
		color: var(--gbcal-b-ink) !important;
		overflow-wrap: anywhere;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
	}
	.gbcal-b-app .gbcal-b-lc > .gbcal-b-cta,
	.gbcal-b-app .gbcal-b-lc > .gbcal-b-wiki { justify-self: start; margin-top: 4px; }
	.gbcal-b-app .gbcal-b-more { margin-top: 10px; }

	/* ------------------------------------------------------------ 8. month picker: sheet / popover ------------- */
	.gbcal-b-app .gbcal-b-pick { position: fixed; inset: 0; z-index: 1200; }
	.gbcal-b-app .gbcal-b-pick[hidden] { display: none !important; }
	.gbcal-b-app .gbcal-b-pick-scrim { position: absolute; inset: 0; background: var(--gbcal-b-scrim) !important; }
	.gbcal-b-app .gbcal-b-pick-box {
		position: absolute;
		right: 0;
		bottom: 0;
		left: 0;
		max-height: min(88vh, 640px);
		overflow: auto;
		overscroll-behavior: contain;
		padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
		border: 1px solid transparent !important;
		border-radius: 16px 16px 0 0 !important;
		background: var(--gbcal-b-e3) !important;
		color: var(--gbcal-b-ink) !important;
		box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 -1px 0 rgba(0, 0, 0, .6), 0 -24px 48px -12px rgba(0, 0, 0, .6) !important;
	}
	.gbcal-b-app .gbcal-b-pick.is-in .gbcal-b-pick-box { animation: gbcal-b-sheet .32s cubic-bezier(.32, .72, 0, 1) both; }
	.gbcal-b-app .gbcal-b-pick.is-in .gbcal-b-pick-scrim { animation: gbcal-b-fade .2s ease both; }
	.gbcal-b-app .gbcal-b-pick-hd { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 12px; }
	.gbcal-b-app .gbcal-b-pick-t {
		margin: 0 !important;
		font: 700 22px/1 var(--gbcal-b-display) !important;
		letter-spacing: 0 !important;
		text-transform: none !important;
		color: var(--gbcal-b-ink) !important;
	}
	.gbcal-b-app .gbcal-b-ib.is-x { width: 44px; height: 44px; border-radius: 6px !important; color: var(--gbcal-b-ink-2) !important; }
	/* the month track: a recessed well, the shown month is the raised thumb */
	.gbcal-b-app .gbcal-b-pick-ms {
		position: relative;
		display: flex;
		gap: 2px;
		margin: 0 0 14px;
		padding: 2px;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scrollbar-width: none;
		border-radius: 8px !important;
		background: var(--gbcal-b-well) !important;
		box-shadow: var(--gbcal-b-sh-well) !important;
	}
	.gbcal-b-app .gbcal-b-pick-ms::-webkit-scrollbar { display: none; }
	.gbcal-b-app .gbcal-b-pm {
		display: grid;
		flex: none;
		justify-items: center;
		gap: 3px;
		min-width: 56px;
		padding: 6px 6px 7px;
		border: 1px solid transparent !important;
		border-radius: 6px !important;
		background: transparent !important;
		color: var(--gbcal-b-ink-2) !important;
		box-shadow: none !important;
		transition: background-color .16s ease, box-shadow .16s var(--gbcal-b-ease), color .16s ease, translate .16s var(--gbcal-b-ease);
	}
	.gbcal-b-app .gbcal-b-pm-m { font: 700 18px/1 var(--gbcal-b-display) !important; color: var(--gbcal-b-ink) !important; }
	.gbcal-b-app .gbcal-b-pm-y { font: 600 12px/1 var(--gbcal-b-text) !important; font-variant-numeric: tabular-nums lining-nums; color: var(--gbcal-b-ink-3) !important; }
	.gbcal-b-app .gbcal-b-pm-c {
		display: inline-flex;
		align-items: center;
		gap: 3px;
		margin-top: 3px;
		font: 600 12px/1 var(--gbcal-b-text) !important;
		font-variant-numeric: tabular-nums lining-nums;
		color: var(--gbcal-b-ink-2) !important;
	}
	.gbcal-b-app .gbcal-b-pm-c > .gbcal-b-i { width: 10px; height: 10px; color: var(--gbcal-b-gold) !important; }
	.gbcal-b-app .gbcal-b-pm[aria-pressed="true"] {
		border-color: transparent !important;
		background: var(--gbcal-b-e2) !important;
		color: var(--gbcal-b-ink) !important;
		box-shadow: var(--gbcal-b-sh-seg) !important;
	}
	.gbcal-b-app .gbcal-b-pm.is-cur .gbcal-b-pm-m { color: var(--gbcal-b-red-text) !important; }
	.gbcal-b-app .gbcal-b-pick-cap {
		margin: 4px 0 8px !important;
		font: 700 22px/1 var(--gbcal-b-display) !important;
		font-variant-numeric: tabular-nums lining-nums;
		color: var(--gbcal-b-ink) !important;
	}
	.gbcal-b-app .gbcal-b-pick-wd,
	.gbcal-b-app .gbcal-b-pick-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
	.gbcal-b-app .gbcal-b-pick-wd { margin-bottom: 4px; padding: 0 4px; }
	/* the day grid sits in the same recessed tray as the rail: release days stand up from it */
	.gbcal-b-app .gbcal-b-pick-grid {
		padding: 4px;
		border-radius: 8px !important;
		background: var(--gbcal-b-well) !important;
		box-shadow: var(--gbcal-b-sh-well) !important;
	}
	.gbcal-b-app .gbcal-b-pick-wd > span { text-align: center; font: 600 12px/1.6 var(--gbcal-b-text) !important; color: var(--gbcal-b-ink-3) !important; }
	.gbcal-b-app .gbcal-b-pick-grid > li { display: flex; }
	/* day cells: flat in the sheet, release days are micro keys, the chosen day lifts with its ink bar */
	.gbcal-b-app .gbcal-b-pd {
		position: relative;
		display: grid;
		place-items: center;
		width: 100%;
		height: 46px;
		padding: 0;
		border: 1px solid transparent !important;
		border-radius: 6px !important;
		background: transparent !important;
		color: var(--gbcal-b-ink-3) !important;
		box-shadow: var(--gbcal-b-sh-flat) !important;
		font: 600 15px/1 var(--gbcal-b-text) !important;
		font-variant-numeric: tabular-nums lining-nums;
		transition: background-color .16s ease, box-shadow .16s var(--gbcal-b-ease), translate .16s var(--gbcal-b-ease);
	}
	.gbcal-b-app .gbcal-b-pd.has-rel {
		background: var(--gbcal-b-e1) !important;
		color: var(--gbcal-b-ink) !important;
		box-shadow: var(--gbcal-b-sh-1) !important;
	}
	.gbcal-b-app .gbcal-b-pd-dot {
		position: absolute;
		bottom: 7px;
		left: 50%;
		display: none;
		width: 5px;
		height: 5px;
		margin-left: -2.5px;
		border-radius: 50% !important;
		background: var(--gbcal-b-gold) !important;
	}
	.gbcal-b-app .gbcal-b-pd.has-ours .gbcal-b-pd-dot,
	.gbcal-b-app .gbcal-b-pd-dot.is-ours { display: block; background: var(--gbcal-b-gold) !important; }
	.gbcal-b-app .gbcal-b-pd.is-sel {
		border-color: transparent !important;
		background: var(--gbcal-b-e2) !important;
		color: var(--gbcal-b-ink) !important;
		box-shadow: var(--gbcal-b-sh-sel) !important;
	}
	.gbcal-b-app .gbcal-b-pd.is-today { font-weight: 700 !important; color: var(--gbcal-b-red-text) !important; }
	.gbcal-b-app .gbcal-b-pd:disabled {
		background: transparent !important;
		box-shadow: var(--gbcal-b-sh-flat) !important;
		opacity: .3;
	}
	.gbcal-b-app .gbcal-b-pick-key {
		display: flex;
		flex-wrap: wrap;
		gap: 8px 18px;
		margin: 14px 0 0 !important;
		font: 500 12px/1 var(--gbcal-b-text) !important;
		color: var(--gbcal-b-ink-3) !important;
	}
	.gbcal-b-app .gbcal-b-pick-key > span { display: inline-flex; align-items: center; gap: 7px; }
	.gbcal-b-app .gbcal-b-pick-key > span:first-child { display: none; }
	.gbcal-b-app .gbcal-b-pick-key .gbcal-b-pd-dot { position: static; margin: 0; }
	/* up to 380 px: 7 day columns of 46 px (44 px targets) */
	@media (max-width: 380px) {
		.gbcal-b-app .gbcal-b-pick-box { padding-right: 12px; padding-left: 12px; }
		.gbcal-b-app .gbcal-b-pick-wd,
		.gbcal-b-app .gbcal-b-pick-grid { gap: 2px; }
	}

	/* ------------------------------------------------------------ 9. Day mode ------------------------------------ */
	/* the switch track and knob */
	:root[data-gb-theme="light"] .gbcal-b-app .gbcal-b-sw { box-shadow: inset 0 1px 2px rgba(21, 18, 27, .16), inset 0 -1px 0 #ffffff !important; }
	:root[data-gb-theme="light"] .gbcal-b-app .gbcal-b-sw::after {
		background: #ffffff !important;
		box-shadow: 0 0 0 1px rgba(21, 18, 27, .08), 0 1px 3px rgba(21, 18, 27, .25) !important;
	}
	:root[data-gb-theme="light"] .gbcal-b-app .gbcal-b-ours[aria-pressed="true"] .gbcal-b-sw { box-shadow: inset 0 1px 2px rgba(122, 82, 0, .45) !important; }
	/* the rocker's pressed segment */
	:root[data-gb-theme="light"] .gbcal-b-app .gbcal-b-mnav > .gbcal-b-ib:active:not(:disabled) { box-shadow: inset 0 1px 2px rgba(21, 18, 27, .14) !important; }
	:root[data-gb-theme="light"] .gbcal-b-app .gbcal-b-today:active:not(:disabled) {
		box-shadow: inset 0 1px 2px rgba(21, 18, 27, .14), inset 1px 0 0 var(--gbcal-b-line), inset -1px 0 0 var(--gbcal-b-line) !important;
	}
	/* the docked tray */
	:root[data-gb-theme="light"] .gbcal-b-app .gbcal-b-dock.is-stuck {
		box-shadow: inset 0 1px 2px rgba(21, 18, 27, .12), inset 0 -1px 0 #ffffff, 0 1px 0 rgba(21, 18, 27, .08), 0 12px 24px -14px rgba(21, 18, 27, .35) !important;
	}
	/* covers and stand-in art on light cards */
	:root[data-gb-theme="light"] .gbcal-b-app .gbcal-b-cover { background: hsl(var(--h, 330) 16% 90%) !important; }
	:root[data-gb-theme="light"] .gbcal-b-app .gbcal-b-cover.is-blank { background: var(--gbcal-b-well) !important; }
	:root[data-gb-theme="light"] .gbcal-b-app .gbcal-b-art { background: hsl(var(--h, 330) 24% 90%) !important; }
	:root[data-gb-theme="light"] .gbcal-b-app .gbcal-b-art::after { color: hsl(var(--h, 330) 30% 30% / .22) !important; }
	:root[data-gb-theme="light"] .gbcal-b-app .gbcal-b-cover.has-img,
	:root[data-gb-theme="light"] .gbcal-b-app .gbcal-b-cover.has-img .gbcal-b-art { background: #15121b !important; }
	/* the hero stays dark: its covers and stand-in art keep the dark values */
	:root[data-gb-theme="light"] .gbcal-b-app .gbcal-b-hero .gbcal-b-cover:not(.has-img) { background: hsl(var(--h, 330) 18% 9%) !important; }
	:root[data-gb-theme="light"] .gbcal-b-app .gbcal-b-hero > .gbcal-b-cover.has-img { background: none !important; }
	:root[data-gb-theme="light"] .gbcal-b-app .gbcal-b-hero .gbcal-b-art { background: hsl(var(--h, 330) 22% 15%) !important; }
	:root[data-gb-theme="light"] .gbcal-b-app .gbcal-b-hero .gbcal-b-art::after { color: rgba(255, 255, 255, .16) !important; }
	/* the phone sheet */
	@media (max-width: 760px) {
		:root[data-gb-theme="light"] .gbcal-b-app .gbcal-b-pick-box {
			box-shadow: inset 0 1px 0 #ffffff, 0 -1px 0 rgba(21, 18, 27, .06), 0 -24px 48px -16px rgba(21, 18, 27, .22) !important;
		}
	}

	/* ------------------------------------------------------------ 10. wider screens ---------------------------- */
	@media (pointer: fine) {
		.gbcal-b-app .gbcal-b-chip { min-height: 36px; }
		.gbcal-b-app .gbcal-b-ours { min-height: 40px; }
		.gbcal-b-app .gbcal-b-wiki { min-height: 40px; }
		.gbcal-b-app .gbcal-b-ib.is-x { width: 36px; height: 36px; }
		.gbcal-b-app .gbcal-b-rail { scroll-snap-type: x proximity; }
	}
	@media (min-width: 761px) {
		.gbcal-b-app .gbcal-b-top { flex-wrap: wrap; margin: 0 0 10px; padding: 6px 0 10px; overflow: visible; }
		.gbcal-b-app .gbcal-b-filters { flex-wrap: wrap; }
		.gbcal-b-app .gbcal-b-mbar { margin-bottom: 8px; }
		.gbcal-b-app .gbcal-b-mbtn { gap: 12px; font-size: 36px !important; }
		.gbcal-b-app .gbcal-b-mstat {
			display: block;
			margin: 6px 0 0 !important;
			font: 500 14px/1.3 var(--gbcal-b-text) !important;
			font-variant-numeric: tabular-nums lining-nums;
			white-space: nowrap;
			color: var(--gbcal-b-ink-3) !important;
		}
		.gbcal-b-app .gbcal-b-dock {
			gap: 8px;
			padding: 6px 8px;
			border: 1px solid transparent !important;
			border-color: transparent !important;
			border-radius: 12px !important;
		}
		.gbcal-b-app .gbcal-b-spine { width: 58px; }
		.gbcal-b-app .gbcal-b-spine-m { font-size: 22px !important; }
		.gbcal-b-app .gbcal-b-rail { gap: 8px; }
		.gbcal-b-app .gbcal-b-dc { width: 84px; min-height: 112px; padding: 10px; }
		.gbcal-b-app .gbcal-b-dc-n { margin-top: 4px; font-size: 36px !important; }
		.gbcal-b-app .gbcal-b-dc-c { margin-top: 5px; }
		.gbcal-b-app .gbcal-b-dc .gbcal-b-dc-star { top: 10px; right: 9px; width: 14px; height: 14px; }
		.gbcal-b-app .gbcal-b-mini { width: 14px; }
		.gbcal-b-app .gbcal-b-edge { width: 62px; }
		.gbcal-b-app .gbcal-b-day { margin-top: 28px; }
		.gbcal-b-app .gbcal-b-dh-t { font-size: 36px !important; letter-spacing: -.005em !important; }
		.gbcal-b-app .gbcal-b-hero {
			grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
			align-items: center;
			gap: 34px;
			min-height: 340px;
			padding: 30px;
		}
		.gbcal-b-app .gbcal-b-hero-bg::after {
			background: linear-gradient(90deg, rgba(23, 16, 32, .92) 0%, rgba(23, 16, 32, .7) 50%, rgba(23, 16, 32, .42) 100%) !important;
		}
		.gbcal-b-app .gbcal-b-hero > .gbcal-b-cover { order: 2; }
		.gbcal-b-app .gbcal-b-hero .gbcal-b-cover.has-img .gbcal-b-cover-im { max-height: 280px; }
		.gbcal-b-app .gbcal-b-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
		.gbcal-b-app .gbcal-b-card-t { font-size: 22px !important; }
		.gbcal-b-app .gbcal-b-lt { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
		.gbcal-b-app .gbcal-b-lc-t { font-size: 22px !important; }
		/* the picker: a popover anchored to the calendar's left content edge, under the header */
		.gbcal-b-app .gbcal-b-pick-scrim { background: var(--gbcal-b-scrim-pop) !important; }
		.gbcal-b-app .gbcal-b-pick-box {
			top: calc(var(--header-h, 72px) + 12px);
			right: auto;
			bottom: auto;
			left: max(16px, calc(50% - 540px));
			width: 400px;
			max-height: calc(100vh - var(--header-h, 72px) - 40px);
			padding: 16px;
			border: 1px solid transparent !important;
			border-radius: 12px !important;
			transform: none;
			transform-origin: 0 0;
			box-shadow: var(--gbcal-b-sh-3) !important;
		}
		.gbcal-b-app .gbcal-b-pick.is-in .gbcal-b-pick-box { animation: gbcal-b-pop .18s var(--gbcal-b-ease) both; }
	}
	@media (min-width: 901px) {
		/* Scrolled, the site header bar shrinks to 56 px (gbu, html.gbu-scrolled) but its box keeps 72 px and takes the
		 * clicks there. So the docked rail stays at 72 px, below it, and paints the 16 px gap above itself instead. */
		html.gbu-scrolled .gbcal-b-app .gbcal-b-dock.is-stuck { border-top-left-radius: 0 !important; border-top-right-radius: 0 !important; }
		html.gbu-scrolled .gbcal-b-app .gbcal-b-dock.is-stuck::before {
			content: "";
			position: absolute;
			top: -17px;
			right: -1px;
			left: -1px;
			height: 16px;
			border: 1px solid transparent !important;
			border-top: 0 !important;
			border-bottom: 0 !important;
			border-color: transparent !important;
			background: var(--gbcal-b-dock) !important;
			pointer-events: none;
		}
	}
	@media (min-width: 1000px) {
		.gbcal-b-app .gbcal-b-wk { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); margin: 0; padding: 6px 0 4px; overflow: visible; }
		.gbcal-b-app .gbcal-b-wk > li { flex: none; }
	}
	@media (min-width: 1100px) {
		.gbcal-b-app .gbcal-b-dc { width: 90px; }
	}

	/* ------------------------------------------------------------ 11. mouse only: hover and rail arrows -------- */
	/* Hover = one level up (E2, shadow 2); only keys that choose a day (rail, week, picker) also lift 1 px; flat keys rise to rest. Rules that a press also styles
	 * carry :not(:active), so the press (section 12) always wins. */
	@media (hover: hover) and (pointer: fine) {
		.gbcal-b-app .gbcal-b-arrow {
			position: absolute;
			top: 50%;
			z-index: 3;
			display: grid;
			place-items: center;
			width: 32px;
			height: 32px;
			margin-top: -16px;
			padding: 0;
			border: 1px solid transparent !important;
			border-radius: 50% !important;
			background: var(--gbcal-b-e3) !important;
			color: var(--gbcal-b-ink) !important;
			box-shadow: var(--gbcal-b-sh-3) !important;
			font-size: 16px;
			opacity: 0;
			pointer-events: none;
			transition: opacity .16s ease, background-color .16s ease;
		}
		.gbcal-b-app .gbcal-b-arrow.is-prev { left: 6px; }
		.gbcal-b-app .gbcal-b-arrow.is-next { right: 6px; }
		.gbcal-b-app .gbcal-b-railbox.can-back:hover > .gbcal-b-arrow.is-prev,
		.gbcal-b-app .gbcal-b-railbox.can-fwd:hover > .gbcal-b-arrow.is-next { opacity: 1; pointer-events: auto; }
		.gbcal-b-app .gbcal-b-arrow:hover { background: var(--gbcal-b-e2) !important; }

		.gbcal-b-app .gbcal-b-chip:not([aria-pressed="true"]):hover { background: rgba(255, 255, 255, .05) !important; color: var(--gbcal-b-ink) !important; }
		:root[data-gb-theme="light"] .gbcal-b-app .gbcal-b-chip:not([aria-pressed="true"]):hover { background: rgba(21, 18, 27, .05) !important; }
		.gbcal-b-app .gbcal-b-ours:hover:not(:active) { background: var(--gbcal-b-e2) !important; box-shadow: var(--gbcal-b-sh-2) !important; }
		.gbcal-b-app .gbcal-b-mbtn:hover .gbcal-b-mbtn-i { color: var(--gbcal-b-ink) !important; }
		.gbcal-b-app .gbcal-b-mnav > .gbcal-b-ib:hover:not(:disabled):not(:active),
		.gbcal-b-app .gbcal-b-today:hover:not(:disabled):not(:active) { background: rgba(255, 255, 255, .05) !important; color: var(--gbcal-b-ink) !important; }
		:root[data-gb-theme="light"] .gbcal-b-app .gbcal-b-mnav > .gbcal-b-ib:hover:not(:disabled):not(:active),
		:root[data-gb-theme="light"] .gbcal-b-app .gbcal-b-today:hover:not(:disabled):not(:active) { background: rgba(21, 18, 27, .04) !important; }
		.gbcal-b-app .gbcal-b-ib.is-x:hover { background: var(--gbcal-b-e2) !important; color: var(--gbcal-b-ink) !important; }
		.gbcal-b-app .gbcal-b-spine:hover:not(:active),
		.gbcal-b-app .gbcal-b-go:hover:not(:active) { background: var(--gbcal-b-e2) !important; box-shadow: var(--gbcal-b-sh-2) !important; }
		.gbcal-b-app .gbcal-b-edge:hover:not(:active) { background: var(--gbcal-b-e1) !important; box-shadow: var(--gbcal-b-sh-1) !important; color: var(--gbcal-b-ink) !important; }
		.gbcal-b-app .gbcal-b-edge:hover > .gbcal-b-i { color: var(--gbcal-b-ink) !important; }
		.gbcal-b-app .gbcal-b-clear:hover { color: var(--gbcal-b-ink) !important; text-decoration: underline !important; text-underline-offset: 3px; }

		.gbcal-b-app .gbcal-b-dc:hover:not(:disabled):not(:active) { background: var(--gbcal-b-e2) !important; box-shadow: var(--gbcal-b-sh-2) !important; }
		.gbcal-b-app .gbcal-b-dc.is-past:not([aria-pressed="true"]):hover:not(:disabled):not(:active),
		.gbcal-b-app .gbcal-b-dc.is-empty:not([aria-pressed="true"]):hover:not(:disabled):not(:active) { background: var(--gbcal-b-e1) !important; box-shadow: var(--gbcal-b-sh-1) !important; }
		.gbcal-b-app .gbcal-b-dc[aria-pressed="true"]:hover:not(:active) { background: var(--gbcal-b-e2) !important; box-shadow: var(--gbcal-b-sh-sel) !important; }

		.gbcal-b-app .gbcal-b-card:hover:not(:active),
		.gbcal-b-app .gbcal-b-lc:hover:not(:active) { background: var(--gbcal-b-e2) !important; box-shadow: var(--gbcal-b-sh-2) !important; }
		.gbcal-b-app .gbcal-b-card.is-ours:hover .gbcal-b-cta,
		.gbcal-b-app .gbcal-b-lc.is-ours:hover .gbcal-b-cta,
		.gbcal-b-app .gbcal-b-cta:hover { border-color: var(--gbcal-b-gold-fill-2) !important; background: var(--gbcal-b-gold-fill-2) !important; }
		.gbcal-b-app .gbcal-b-hero.is-ours:hover .gbcal-b-cta,
		.gbcal-b-app .gbcal-b-hero .gbcal-b-cta:hover { border-color: #ffe08a !important; background: #ffe08a !important; }
		.gbcal-b-app .gbcal-b-ghost:hover { background: rgba(255, 255, 255, .14) !important; }
		.gbcal-b-app .gbcal-b-wiki:hover > span { text-decoration: underline !important; text-underline-offset: 3px; }

		.gbcal-b-app .gbcal-b-wt:hover:not(:disabled):not(.is-sel):not(:active) { background: var(--gbcal-b-e2) !important; box-shadow: var(--gbcal-b-sh-2) !important; }
		.gbcal-b-app .gbcal-b-wt.is-empty:hover:not(:disabled):not(.is-sel):not(:active) { background: var(--gbcal-b-e1) !important; box-shadow: var(--gbcal-b-sh-1) !important; }

		.gbcal-b-app .gbcal-b-pm:not([aria-pressed="true"]):hover { background: rgba(255, 255, 255, .05) !important; color: var(--gbcal-b-ink) !important; }
		:root[data-gb-theme="light"] .gbcal-b-app .gbcal-b-pm:not([aria-pressed="true"]):hover { background: rgba(21, 18, 27, .05) !important; }
		.gbcal-b-app .gbcal-b-pd:hover:not(:disabled):not(.is-sel):not(:active) { background: var(--gbcal-b-e2) !important; box-shadow: var(--gbcal-b-sh-2) !important; }

		@media (prefers-reduced-motion: no-preference) {
			.gbcal-b-app .gbcal-b-dc:not(.is-past):not(.is-empty):not([aria-pressed="true"]):hover:not(:disabled):not(:active),
			.gbcal-b-app .gbcal-b-wt:not(.is-empty):not(.is-sel):hover:not(:disabled):not(:active),
			.gbcal-b-app .gbcal-b-pd:not(.is-sel):hover:not(:disabled):not(:active) { translate: 0 -1px; }
			.gbcal-b-app .gbcal-b-hero.is-ours:hover .gbcal-b-cta > .gbcal-b-i,
			.gbcal-b-app .gbcal-b-card.is-ours:hover .gbcal-b-cta > .gbcal-b-i,
			.gbcal-b-app .gbcal-b-lc.is-ours:hover .gbcal-b-cta > .gbcal-b-i,
			.gbcal-b-app .gbcal-b-cta:hover > .gbcal-b-i { transform: translateX(3px); }
		}
	}

	/* ------------------------------------------------------------ 12. press and motion ------------------------- */
	/* Press = down one level: the lower shadow in 100 ms, then (motion allowed) 1 px of travel. Never scale. */
	.gbcal-b-app :is(.gbcal-b-ours, .gbcal-b-spine, .gbcal-b-edge, .gbcal-b-go, .gbcal-b-dc, .gbcal-b-wt, .gbcal-b-pd):active:not(:disabled),
	.gbcal-b-app .gbcal-b-chip[aria-pressed="true"]:active,
	.gbcal-b-app :is(.gbcal-b-card, .gbcal-b-lc).is-ours:active {
		box-shadow: var(--gbcal-b-sh-down) !important;
		transition-duration: .1s;
	}
	.gbcal-b-app .gbcal-b-cta:active,
	.gbcal-b-app .gbcal-b-hero .gbcal-b-cta:active {
		box-shadow: var(--gbcal-b-sh-gold-down) !important;
		transition-duration: .1s;
	}
	/* Press on the flat text controls: a tone, so it also shows without motion. */
	.gbcal-b-app :is(.gbcal-b-chip:not([aria-pressed="true"]), .gbcal-b-pm:not([aria-pressed="true"])):active {
		background: rgba(255, 255, 255, .08) !important;
		transition-duration: .1s;
	}
	:root[data-gb-theme="light"] .gbcal-b-app :is(.gbcal-b-chip:not([aria-pressed="true"]), .gbcal-b-pm:not([aria-pressed="true"])):active {
		background: rgba(21, 18, 27, .08) !important;
	}
	.gbcal-b-app .gbcal-b-mbtn:active .gbcal-b-mbtn-t { opacity: .72; transition: opacity .1s ease; }
	.gbcal-b-app .gbcal-b-ghost:active { background: rgba(255, 255, 255, .04) !important; transition-duration: .1s; }
	/* Keyboard focus: the site's ring; inside clipping tracks and scrollers it is drawn inward. */
	.gbcal-b-app :is(button, a):focus-visible { outline: 2px solid var(--gbcal-focus, #21eaff) !important; outline-offset: 2px; }
	.gbcal-b-app :is(.gbcal-b-dc, .gbcal-b-edge, .gbcal-b-chip, .gbcal-b-pm, .gbcal-b-pd):focus-visible { outline-offset: -2px; }
	@media (prefers-reduced-motion: no-preference) {
		/* the chosen day, week tile and picker day stand 2 px (1 px in the picker) above the others */
		.gbcal-b-app .gbcal-b-dc[aria-pressed="true"],
		.gbcal-b-app .gbcal-b-wt.is-sel { translate: 0 -2px; }
		.gbcal-b-app .gbcal-b-pd.is-sel { translate: 0 -1px; }
		.gbcal-b-app :is(.gbcal-b-chip, .gbcal-b-ours, .gbcal-b-mbtn, .gbcal-b-spine, .gbcal-b-edge, .gbcal-b-dc, .gbcal-b-wt,
			.gbcal-b-pm, .gbcal-b-pd, .gbcal-b-go, .gbcal-b-ghost):active:not(:disabled),
		.gbcal-b-app :is(.gbcal-b-card, .gbcal-b-lc).is-ours:active {
			translate: 0 1px;
			transition-duration: .1s;
		}
		/* The gold key's layer covers its card: moving the key itself would shrink that layer mid press, so in the hero
		 * only its label travels, and in a card the whole card does. */
		.gbcal-b-app .gbcal-b-hero .gbcal-b-cta:active > * { translate: 0 1px; transition-duration: .1s; }
	}
	@media (prefers-reduced-motion: no-preference) and (max-width: 760px) {
		/* docked on a phone the chosen key does not lift (the short tray has no room above it) */
		.gbcal-b-app .gbcal-b-dock.is-stuck .gbcal-b-dc[aria-pressed="true"] { translate: none; }
	}
	@media (prefers-reduced-motion: reduce) {
		.gbcal-b-app *,
		.gbcal-b-app *::before,
		.gbcal-b-app *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
		.gbcal-b-app :is(button, a, button > *, a > *),
		.gbcal-b-app :is(.gbcal-b-dc, .gbcal-b-wt, .gbcal-b-pd, .gbcal-b-pm, .gbcal-b-card, .gbcal-b-lc, .gbcal-b-chip, .gbcal-b-ours,
			.gbcal-b-spine, .gbcal-b-edge, .gbcal-b-go, .gbcal-b-ghost, .gbcal-b-mbtn) { translate: none !important; }
	}

	@keyframes gbcal-b-in { from { opacity: 0; transform: translateY(8px); } }
	@keyframes gbcal-b-sheet { from { transform: translateY(100%); } }
	@keyframes gbcal-b-fade { from { opacity: 0; } }
	@keyframes gbcal-b-pop { from { opacity: 0; transform: translateY(-4px) scale(.97); } }

	/* rebuild C1 (11/11): gold star before the title of the games we cover; the store-confirmed badge */
	.gbcal-b-app .gbcal-b-tstar { width: .85em; height: .85em; margin: 0 .3em .08em 0; vertical-align: middle; color: var(--gbcal-b-gold) !important; fill: currentColor; flex: none; }
	.gbcal-b-app .gbcal-b-conf {
		display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; padding: 2px 7px;
		border: 1px solid rgba(53, 196, 106, .45) !important; border-radius: 999px !important;
		color: #7be29a !important; background: rgba(53, 196, 106, .08) !important;
		font: 600 11px/1.4 var(--gbcal-b-text) !important; white-space: nowrap;
	}
	:root[data-gb-theme="light"] .gbcal-b-app .gbcal-b-conf { color: #157a3b !important; border-color: rgba(21, 122, 59, .35) !important; background: rgba(21, 122, 59, .06) !important; }
}
