/* ==========================================================================
   Countmate design system (v1.0.122)

   One set of rules that every screen follows, loaded after app.css.

   Colour has a meaning
     · Colour fills are for content only: countdowns and shop items.
     · Everything else is neutral: panels, lists, cards, buttons.
     · Pink   = you / on        (your day, your device, switches that are on)
     · Gold   = coins           (balance, prices, rewards)
     · Teal   = done            ("Van jou", saved, success)
     · Coral  = careful         (almost gone, errors)

   Three buttons
     · Primary    white pill   — the one main action on a screen or panel
     · Secondary  grey pill    — every other action
     · Text       plain text   — small, low-key actions

   One panel
     · Floats above the content, 32px corners, close button top right,
       title in Open Sans, no kicker line, no grab handle.

   Two typefaces, one rule
     · Devant Horgen only for page titles, countdown numbers and collection names.
     · Open Sans for everything else.
   ========================================================================== */

:root {
	--cm-surface-1: #18181b;
	--cm-surface-2: #27272a;
	--cm-surface-3: #3f3f46;
	--cm-line: rgba(255, 255, 255, 0.08);
	--cm-text-1: #ffffff;
	--cm-text-2: #a1a1aa;
	--cm-text-3: #71717a;

	--cm-role-you: var(--cm-brand-pink, #fd0558);
	--cm-role-you-text: var(--cm-accent-text, #ff8db0);
	--cm-role-coin: #facc15;
	--cm-role-coin-text: #fef3c7;
	--cm-role-done: var(--cm-brand-teal, #4bb9b9);
	--cm-role-done-text: #b5ecea;
	--cm-role-careful: var(--cm-brand-coral, #ff592d);
	--cm-role-careful-text: #ffb59f;

	--cm-btn-height: 52px;
	--cm-btn-height-compact: 40px;
	--cm-panel-radius: 32px;
	--cm-panel-inset: 8px;
	--cm-panel-shadow: 0 24px 70px rgba(0, 0, 0, 0.6);
	--cm-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
	--cm-ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

/* Primary: white pill */
.cm-btn--primary,
.material-you-content .material-you-notification-settings__primary.material-you-notification-settings__primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: var(--cm-btn-height);
	padding: 0 22px;
	border: 0;
	border-radius: 999px;
	background: #ffffff;
	color: #09090b;
	font: inherit;
	font-size: 16px;
	font-weight: 800;
	box-shadow: none;
	text-decoration: none;
	cursor: pointer;
}

/* Secondary: grey pill, no outline */
.cm-btn--secondary,
.material-you-content .material-you-event-overflow__item.material-you-event-overflow__item,
.material-you-content .material-you-shop-refresh__button.material-you-shop-refresh__button:not(.is-primary),
.cm-sheet .cm-sheet__button:not(.cm-sheet__button--primary),
.cm-sheet .cm-input-group__button,
.material-you-content .material-you-notification-settings__secondary.material-you-notification-settings__secondary,
.material-you-content .material-you-device-sessions button[type="submit"],
.material-you-auth-shell a.material-you-auth-secondary.material-you-auth-secondary,
.material-you-content button.cm-coin-days__more.cm-coin-days__more,
.material-you-shop .material-you-shop-sheet button.material-you-shop-sheet__save.material-you-shop-sheet__save:not(.is-saved) {
	border: 1px solid transparent;
	background: var(--cm-surface-2);
	color: var(--cm-text-1);
	box-shadow: none;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

.cm-btn--secondary:hover,
.material-you-content .material-you-event-overflow__item.material-you-event-overflow__item:hover,
.material-you-content .material-you-shop-refresh__button.material-you-shop-refresh__button:not(.is-primary):hover,
.cm-sheet .cm-sheet__button:not(.cm-sheet__button--primary):hover,
.cm-sheet .cm-input-group__button:hover,
.material-you-content .material-you-device-sessions button[type="submit"]:hover,
.material-you-auth-shell a.material-you-auth-secondary.material-you-auth-secondary:hover,
.material-you-content button.cm-coin-days__more.cm-coin-days__more:hover {
	border-color: transparent;
	background: var(--cm-surface-3);
	transform: none;
}

.cm-btn--secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: var(--cm-btn-height);
	padding: 0 22px;
	border-radius: 999px;
	font: inherit;
	font-size: 16px;
	font-weight: 800;
	cursor: pointer;
}

/* Text: plain, white, underlined on focus/hover only */
.cm-sheet .cm-sheet__text-button,
.material-you-auth-shell .material-you-auth-inline-link,
.cm-week-more summary,
.cm-week-drawer__quiet {
	color: var(--cm-text-1);
	font-weight: 700;
	text-decoration: none;
}

.cm-sheet .cm-sheet__text-button:hover,
.material-you-auth-shell .material-you-auth-inline-link:hover,
.cm-week-more summary:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Buttons that only make sense when they work: hidden when disabled (push card) */
.material-you-notification-settings:not(.is-busy) .material-you-notification-settings__device-actions button:disabled {
	display: none;
}

/* --------------------------------------------------------------------------
   Panels: one floating sheet everywhere
   -------------------------------------------------------------------------- */

.cm-use-sheet__panel,
.material-you-event-overflow__surface,
.material-you-shop .material-you-shop-sheet .material-you-shop-sheet__panel,
.cm-week-drawer__panel {
	box-sizing: border-box;
	width: min(calc(100% - var(--cm-panel-inset) * 2), 480px) !important;
	max-width: 480px;
	margin: 0 auto calc(var(--cm-panel-inset) + env(safe-area-inset-bottom, 0px)) !important;
	border: 1px solid var(--cm-line) !important;
	border-radius: var(--cm-panel-radius) !important;
	box-shadow: var(--cm-panel-shadow) !important;
}

.cm-use-sheet__panel,
.material-you-event-overflow__surface,
.material-you-shop .material-you-shop-sheet .material-you-shop-sheet__panel {
	background: var(--cm-surface-1) !important;
}

.cm-use-sheet__panel,
.material-you-event-overflow__surface {
	padding: 20px 20px 22px !important;
}

.cm-week-drawer__panel {
	padding-bottom: 20px;
}

/* Safe area lives in the outer margin now. */
.material-you-event-overflow__surface,
.cm-use-sheet__panel {
	padding-bottom: 22px !important;
}

/* One way to close: the button top right. */
.cm-use-sheet__handle,
.material-you-event-sheet__handle,
.cm-week-drawer__grab {
	display: none !important;
}

.cm-use-sheet__close,
.material-you-event-sheet__close,
.material-you-shop .material-you-shop-sheet .material-you-shop-sheet__close,
.cm-week-drawer__x {
	display: grid !important;
	width: 36px !important;
	min-width: 36px !important;
	height: 36px !important;
	min-height: 36px !important;
	padding: 0 !important;
	place-items: center;
	border: 0 !important;
	border-radius: 50% !important;
	background: rgba(255, 255, 255, 0.08) !important;
	color: #d4d4d8 !important;
	box-shadow: none !important;
	-webkit-backdrop-filter: none !important;
	backdrop-filter: none !important;
}

.cm-use-sheet__close svg,
.material-you-event-sheet__close svg,
.material-you-shop .material-you-shop-sheet .material-you-shop-sheet__close svg,
.cm-week-drawer__x svg {
	width: 18px !important;
	height: 18px !important;
}

.cm-week-drawer__x {
	top: 16px;
	right: 16px;
}

/* Panel header: title + close, no kicker, no rule */
.cm-use-sheet__head,
.cm-sheet__head {
	padding-bottom: 0 !important;
	border-bottom: 0 !important;
}

.cm-use-sheet__heading small {
	display: none !important;
}

.cm-use-sheet__heading h2,
.cm-sheet .cm-use-sheet__heading h2,
.material-you-event-sheet__title {
	font-family: var(--material-you-body-font) !important;
	font-size: 22px !important;
	font-weight: 800 !important;
	line-height: 1.2 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
}

.cm-sheet__body {
	padding-top: 16px;
}

/* Scrims: one dim for every panel */
.cm-use-sheet__scrim,
.cm-week-drawer__scrim,
.material-you-shop-sheet__scrim {
	background: rgba(0, 0, 0, 0.6) !important;
}

/* --------------------------------------------------------------------------
   Type: Devant Horgen only for titles, countdown numbers, collection names
   -------------------------------------------------------------------------- */

.material-you-content .cm-profile__name,
.cm-profile__name,
.cm-profile__avatar span,
.material-you-shop-refresh__mystery em,
.material-you-content .material-you-shop .material-you-shop-refresh p.material-you-shop-refresh__done-title {
	font-family: var(--material-you-body-font) !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
}

.material-you-content .cm-profile__name,
.cm-profile__name {
	font-size: 22px !important;
	font-weight: 800 !important;
	line-height: 1.2 !important;
}

.cm-profile__avatar span {
	font-size: 26px !important;
	font-weight: 800 !important;
}

/* --------------------------------------------------------------------------
   Colour roles
   -------------------------------------------------------------------------- */

/* Neutral hints instead of pink/red boxes */
.cm-install-hint {
	background: var(--cm-surface-1) !important;
	box-shadow: inset 0 0 0 1px var(--cm-line) !important;
}

.material-you-content .cm-install-hint p {
	margin: 0 0 10px !important;
	color: var(--cm-text-1) !important;
}

/* Profile stats: one neutral tile */
.material-you-content a.cm-profile__stat,
.cm-profile__stat {
	background: rgba(255, 255, 255, 0.04) !important;
}

/* Auth: the same pink/purple glow as the panels */
body.material-you-auth-page:not(.material-you-auth-page--password_reset) {
	background:
		radial-gradient(90% 55% at 100% 0%, rgba(253, 5, 88, 0.28), transparent 70%),
		radial-gradient(90% 55% at 0% 100%, rgba(139, 54, 227, 0.3), transparent 70%),
		var(--material-you-bg);
}

/* --------------------------------------------------------------------------
   Shop
   -------------------------------------------------------------------------- */

/* Mijn items: everything there is yours, so no checkmarks */
.material-you-locker-card__owned {
	display: none !important;
}

/* The refresh card: one line and one button */
.material-you-content .material-you-shop .material-you-shop-refresh__glow,
.material-you-content .material-you-shop .material-you-shop-refresh__moment,
.material-you-content .material-you-shop .material-you-shop-refresh__teaser,
.material-you-content .material-you-shop .material-you-shop-refresh__lead,
.material-you-content .material-you-shop .material-you-shop-refresh__leaving {
	display: none !important;
}

.material-you-content .material-you-shop .material-you-shop-refresh {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 6px 12px;
	padding: 16px 18px !important;
	border-radius: 20px !important;
	background: var(--cm-surface-1) !important;
	text-align: left !important;
}

.material-you-content .material-you-shop .material-you-shop-refresh__kicker {
	grid-column: 1 / -1;
	white-space: nowrap;
	justify-content: flex-start !important;
	margin: 0 !important;
	color: var(--cm-text-2) !important;
	font-size: 13px !important;
	font-weight: 700 !important;
}

.material-you-content .material-you-shop .material-you-shop-refresh__kicker svg {
	color: var(--cm-text-2) !important;
}

.material-you-content .material-you-shop .material-you-shop-refresh__clock {
	grid-column: 1;
	grid-row: 2;
	display: flex !important;
	justify-content: flex-start !important;
	gap: 6px !important;
	margin: 0 !important;
}

.material-you-content .material-you-shop .material-you-shop-refresh__unit {
	flex: 0 0 auto !important;
	width: 52px !important;
	min-width: 52px !important;
	min-height: 0 !important;
	padding: 6px 0 !important;
}

.material-you-content .material-you-shop .material-you-shop-refresh__unit b {
	font-size: 22px !important;
}

.material-you-content .material-you-shop .material-you-shop-refresh__unit small {
	font-size: 10px !important;
}

.material-you-content .material-you-shop .material-you-shop-refresh__footer {
	grid-column: 2;
	grid-row: 2;
	align-self: center;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}

.material-you-content .material-you-shop .material-you-shop-refresh__button {
	width: auto !important;
	min-height: var(--cm-btn-height-compact) !important;
	padding: 0 14px !important;
	font-size: 14px !important;
}

/* --------------------------------------------------------------------------
   Munten
   -------------------------------------------------------------------------- */

.cm-coin-days {
	display: grid;
	gap: 18px;
}

.cm-coin-day[hidden] {
	display: none;
}

.material-you-content .cm-coin-day__title {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin: 0 4px 8px;
	color: var(--cm-text-2);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.cm-coin-day__total {
	font-variant-numeric: tabular-nums;
	letter-spacing: 0;
}

.cm-coin-day__total.is-positive {
	color: var(--cm-role-coin-text);
}

.cm-coin-day .material-you-coin-history__list {
	margin: 0 !important;
}

.cm-coin-day .material-you-coin-history__item {
	min-height: 56px !important;
	padding-block: 10px !important;
}

.cm-coin-day .material-you-coin-history__copy span {
	color: var(--cm-text-3) !important;
	font-size: 13px !important;
}

.cm-coin-day .material-you-coin-history__amount {
	display: inline-flex !important;
	align-items: center;
	gap: 6px !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	box-shadow: none !important;
	font-size: 16px !important;
	font-weight: 800 !important;
	font-variant-numeric: tabular-nums;
}

.cm-coin-day .is-positive .material-you-coin-history__amount {
	color: var(--cm-role-coin-text) !important;
}

.cm-coin-day .is-negative .material-you-coin-history__amount {
	color: var(--cm-text-2) !important;
}

.cm-coin-day .is-negative .material-you-coin-history__amount-icon {
	filter: grayscale(1);
	opacity: 0.6;
}

.cm-coin-day .material-you-coin-history__amount-icon {
	width: 18px !important;
	height: 18px !important;
}

.material-you-content button.cm-coin-days__more.cm-coin-days__more {
	width: 100%;
}

/* --------------------------------------------------------------------------
   Meldingen: lean rows
   -------------------------------------------------------------------------- */

.material-you-notification-settings__row-copy span {
	color: var(--cm-text-2) !important;
	font-size: 13px !important;
	line-height: 1.4 !important;
}

.material-you-notification-settings__device-copy p {
	margin: 2px 0 0 !important;
	color: var(--cm-text-2) !important;
}

.material-you-content .material-you-notification-settings__device-actions {
	display: grid;
	gap: 8px;
}

.material-you-content .material-you-notification-settings__device-actions button {
	min-height: var(--cm-btn-height-compact) !important;
	font-size: 15px !important;
}

/* --------------------------------------------------------------------------
   Feedback: the counter shows up only near the limit
   -------------------------------------------------------------------------- */

.cm-field__count:not(.is-near) {
	visibility: hidden;
	height: 0;
	margin: 0 !important;
}

/* --------------------------------------------------------------------------
   Motion: shared pieces (see assets/js/motion.js)
   -------------------------------------------------------------------------- */

/* Rolling countdown numbers */
.cm-roll {
	display: inline-flex;
	overflow: hidden;
	height: 1em;
	line-height: 1;
	vertical-align: top;
}

.cm-roll__digit {
	display: inline-block;
	height: 1em;
	overflow: hidden;
}

.cm-roll__strip {
	display: flex;
	flex-direction: column;
	line-height: 1;
	will-change: transform;
}

.cm-roll__strip > span {
	display: block;
	height: 1em;
}

/* Tab bar: the icon springs when you land on its page */
.material-you-bottom-tabs a.cm-tab-spring svg,
.material-you-bottom-tabs a.cm-tab-spring img,
.material-you-bottom-tabs a.cm-tab-spring .material-you-bottom-tabs__icon {
	animation: cm-tab-spring 520ms var(--cm-ease-spring);
}

.material-you-bottom-tabs a.cm-tab-press svg,
.material-you-bottom-tabs a.cm-tab-press img,
.material-you-bottom-tabs a.cm-tab-press .material-you-bottom-tabs__icon {
	transform: scale(0.84);
	transition: transform 120ms ease;
}

@keyframes cm-tab-spring {
	0% { transform: scale(0.84); }
	55% { transform: scale(1.14); }
	100% { transform: scale(1); }
}

/* Mijn items tab bumps when a bought item lands */
.cm-landing-bump {
	animation: cm-landing-bump 460ms var(--cm-ease-spring);
}

@keyframes cm-landing-bump {
	40% { transform: scale(1.12); }
}

@media (prefers-reduced-motion: reduce) {
	.material-you-bottom-tabs a.cm-tab-spring svg,
	.material-you-bottom-tabs a.cm-tab-spring img,
	.material-you-bottom-tabs a.cm-tab-spring .material-you-bottom-tabs__icon,
	.cm-landing-bump {
		animation: none !important;
	}

	.material-you-bottom-tabs a.cm-tab-press svg,
	.material-you-bottom-tabs a.cm-tab-press img {
		transform: none;
	}
}

/* Secondary buttons in the countdown panel: no outline */
.material-you-event-overflow .material-you-event-overflow__item {
	border-color: transparent !important;
	background: var(--cm-surface-2) !important;
}

/* Home install tip: neutral surface like every other card */
.cm-install-tip {
	background: var(--cm-surface-1) !important;
	box-shadow: inset 0 0 0 1px var(--cm-line) !important;
}

/* Refresh card: clock left, a round bell right */
.material-you-content .material-you-shop .material-you-shop-refresh__kicker {
	justify-self: start;
}

.material-you-content .material-you-shop .material-you-shop-refresh__unit b,
.material-you-content .material-you-shop .material-you-shop-refresh__unit.is-tick b {
	color: var(--cm-text-1) !important;
}

.material-you-content .material-you-shop .material-you-shop-refresh__button:not(.is-primary) {
	width: 44px !important;
	min-width: 44px !important;
	height: 44px !important;
	min-height: 44px !important;
	padding: 0 !important;
	border-radius: 50% !important;
	font-size: 0 !important;
	gap: 0 !important;
}

.material-you-content .material-you-shop .material-you-shop-refresh__button:not(.is-primary) svg {
	width: 20px !important;
	height: 20px !important;
	margin: 0 !important;
}

.material-you-content .material-you-shop .material-you-shop-refresh__clock {
	justify-self: start !important;
	width: auto !important;
}

/* --------------------------------------------------------------------------
   Sheets: one motion everywhere. A sheet rises from the bottom edge of the
   screen, settles without bouncing, and goes back down the same way. You can
   also pull it down to close it.
   -------------------------------------------------------------------------- */

:root {
	--cm-sheet-ease: cubic-bezier(0.32, 0.72, 0, 1);
	--cm-sheet-in: 460ms;
	--cm-sheet-out: 300ms;
	--cm-sheet-away: translate3d(0, calc(100% + 48px), 0);
}

/* Closed: below the screen. */
.cm-picker__panel,
.material-you-shop .material-you-shop-sheet .material-you-shop-sheet__panel,
.material-you-shop-sheet__panel,
.cm-use-sheet__panel,
.cm-week-drawer__panel {
	opacity: 1 !important;
	transform: var(--cm-sheet-away) !important;
	transition: transform var(--cm-sheet-out) var(--cm-sheet-ease) !important;
	will-change: transform;
}

/* Open: in place. */
.cm-picker.is-open .cm-picker__panel,
.material-you-shop .material-you-shop-sheet.is-open .material-you-shop-sheet__panel,
.material-you-shop-sheet.is-open .material-you-shop-sheet__panel,
.cm-use-sheet.is-open .cm-use-sheet__panel,
.cm-week-drawer.is-open .cm-week-drawer__panel {
	transform: translate3d(0, 0, 0) !important;
	transition-duration: var(--cm-sheet-in) !important;
}

/* Stay visible while sliding away. */
.cm-picker,
.material-you-shop-sheet {
	transition: visibility 0s linear var(--cm-sheet-out);
}

.cm-picker.is-open,
.material-you-shop-sheet.is-open {
	transition-delay: 0s;
}

.cm-picker__scrim,
.material-you-shop-sheet__scrim,
.cm-use-sheet__scrim,
.cm-week-drawer__scrim {
	transition: opacity var(--cm-sheet-out) ease, background var(--cm-sheet-out) ease !important;
}

/* Actiemenu: rises from the bottom edge (it hides at once, so the way out is in JS). */
.material-you-event-overflow__surface {
	animation: cm-sheet-rise var(--cm-sheet-in) var(--cm-sheet-ease) both !important;
}

.material-you-event-overflow {
	animation: cm-sheet-scrim var(--cm-sheet-in) ease both !important;
}

@keyframes cm-sheet-rise {
	from {
		transform: translate3d(0, calc(100% + 48px), 0);
	}

	to {
		transform: translate3d(0, 0, 0);
	}
}

@keyframes cm-sheet-scrim {
	from {
		background-color: rgba(0, 0, 0, 0);
	}
}

/* While your finger holds it, the sheet follows exactly. */
.cm-sheet-dragging {
	transition: none !important;
	animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
	.cm-picker__panel,
	.material-you-shop-sheet__panel,
	.material-you-shop .material-you-shop-sheet .material-you-shop-sheet__panel,
	.cm-use-sheet__panel,
	.cm-week-drawer__panel,
	.material-you-event-overflow__surface,
	.material-you-event-overflow {
		transition-duration: 1ms !important;
		animation-duration: 1ms !important;
	}
}

/* Sheets sit on the bottom edge of the screen: no gap below, rounded only on
   top, and the home bar area is part of the sheet. */
.cm-picker__panel,
.cm-use-sheet__panel,
.material-you-event-overflow__surface,
.material-you-shop-sheet__panel,
.material-you-shop .material-you-shop-sheet .material-you-shop-sheet__panel,
.cm-week-drawer__panel {
	margin-bottom: 0 !important;
	border-bottom: 0 !important;
	width: min(100%, 520px) !important;
	max-width: 520px !important;
	border-radius: var(--cm-panel-radius, 32px) var(--cm-panel-radius, 32px) 0 0 !important;
	padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px)) !important;
}

.cm-picker,
.cm-use-sheet,
.material-you-event-overflow,
.material-you-shop-sheet,
.cm-week-drawer {
	align-items: flex-end !important;
	padding-bottom: 0 !important;
}

.cm-picker__panel {
	max-height: calc(100dvh - 40px);
}

/* --------------------------------------------------------------------------
   Visual pass v1.0.137 (found on beta.countmate.nl)
   -------------------------------------------------------------------------- */

/* Grouped lists (Account, Nieuwe afteller): a hairline between rows, like Menu. */
.material-you-content .cm-editor__group > .cm-editor__row + .cm-editor__row,
.material-you-content .cm-editor__group > .cm-editor__name + .cm-editor__row {
	border-top: 1px solid var(--cm-line) !important;
}

/* Menu: buttons (Handig) and links line up the same way. */
.material-you-content .material-you-menu-list button.material-you-menu-list__item {
	column-gap: 12px !important;
	gap: 12px !important;
}

/* Uitloggen is not the main thing to do here: grey, not white. */
.material-you-content .material-you-menu-logout.material-you-menu-logout {
	border: 1px solid var(--cm-line);
	background: var(--cm-surface-1);
	color: var(--cm-text-1);
	box-shadow: none;
}

.material-you-content .material-you-menu-logout.material-you-menu-logout:hover {
	background: var(--cm-surface-2);
}

/* Ontdekken chips: fade only on the side where more chips are. */
.material-you-event-filter {
	-webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 34px), transparent) !important;
	mask-image: linear-gradient(90deg, #000 calc(100% - 34px), transparent) !important;
}

.material-you-event-filter.is-scrolled {
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 34px, #000 calc(100% - 34px), transparent) !important;
	mask-image: linear-gradient(90deg, transparent, #000 34px, #000 calc(100% - 34px), transparent) !important;
}

.material-you-event-filter.is-end {
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 34px) !important;
	mask-image: linear-gradient(90deg, transparent, #000 34px) !important;
}

/* Shop: the Collecties / Mijn items bar keeps a solid backdrop while it sticks. */
.material-you-shop-tools {
	isolation: isolate;
}

.material-you-shop-tools::before {
	content: "";
	position: absolute;
	inset: -10px -16px -18px;
	z-index: -1;
	background: linear-gradient(180deg, var(--material-you-bg, #09090b) 72%, rgba(9, 9, 11, 0));
	pointer-events: none;
}

/* Shop tiles: one flat square per item. A symbol has its own square already,
   so it fills the tile; no tilt, no unreadable mini card. */
.material-you-shop-hub .material-you-shop-card .material-you-shop-card__icon-slab,
.material-you-shop-hub .material-you-locker-grid .material-you-shop-card__icon-slab,
.material-you-shop-hub .material-you-shop-card--background .material-you-shop-card__background,
.material-you-content .material-you-shop-hub .material-you-shop .material-you-shop-card--background .material-you-shop-card__background,
.material-you-shop-hub .material-you-locker-card__background {
	width: 100% !important;
	height: 100% !important;
	border-radius: inherit !important;
	box-shadow: none !important;
	transform: none !important;
}

.material-you-shop-hub .material-you-shop-card .material-you-shop-card__icon-slab img,
.material-you-content .material-you-shop-hub .material-you-shop .material-you-shop-card__icon-slab img {
	object-fit: cover !important;
	filter: none !important;
	border-radius: 0 !important;
}

.material-you-shop-hub .material-you-shop-card--background .material-you-shop-card__background,
.material-you-shop-hub .material-you-locker-card__background {
	background-size: cover !important;
}

.material-you-shop-hub .material-you-shop-card .material-you-shop-card__background-sample {
	display: none !important;
}

.material-you-shop-hub button.material-you-shop-card:hover .material-you-shop-card__preview,
.material-you-shop-hub button.material-you-shop-card:focus-visible .material-you-shop-card__preview {
	transform: scale(1.02);
}

.material-you-shop-hub .material-you-shop-card__preview {
	overflow: hidden;
	transition: transform 0.18s ease;
}

/* Shop item sheet: the preview is the real countdown card. */
.material-you-shop-sheet__preview.material-you-shop-sheet__preview--card {
	display: block !important;
	width: 100% !important;
	height: auto !important;
	aspect-ratio: auto !important;
	margin: 8px 0 0 !important;
	padding: 0 !important;
	border-radius: 0 !important;
	background: none !important;
	box-shadow: none !important;
	overflow: visible !important;
}

.material-you-shop-sheet__preview--card::after {
	display: none !important;
}

.material-you-shop-sheet__preview--card .cm-shop-preview-card {
	width: 100% !important;
	pointer-events: none;
}

.material-you-shop-sheet__preview--card .material-you-event-card__icon.is-empty {
	background: rgba(255, 255, 255, 0.18);
}

/* Archief: past countdowns step back a little. */
.material-you-event-card.is-past {
	filter: saturate(0.55) brightness(0.85);
}


/* Meldingen: the time label stays on one line. */
.material-you-notification-settings__time span {
	white-space: nowrap;
}

/* The shop's old preview sized every span; the real card sizes itself. */
.material-you-shop-sheet__preview--card .cm-shop-preview-card span:not(.material-you-event-card__icon) {
	width: auto !important;
	height: auto !important;
	min-height: 0 !important;
	transform: none !important;
	background: none;
	box-shadow: none !important;
	border-radius: 0;
}

.material-you-shop-sheet__preview--card .cm-shop-preview-card .material-you-event-card__copy {
	display: grid !important;
	gap: 2px;
}

.material-you-shop-sheet__preview--card .cm-shop-preview-card .material-you-event-card__countdown {
	display: grid !important;
	justify-items: center;
}
