/* RaffMaster - front-end styles for dynamic blocks
   Most styling lives in theme.json. This handles motion + things theme.json can't express. */

:root {
	--rm-card-radius: 16px;

	/* -- Type scale --------------------------------------------------
	   UI sizes are fixed; display sizes are fluid so headings breathe
	   on small screens without per-component media queries. */
	--rm-text-xs: 12px;
	--rm-text-sm: 14px;
	--rm-text-base: 16px;
	--rm-text-md: 18px;
	--rm-text-lg: 20px;
	--rm-text-xl: 24px;
	--rm-text-2xl: clamp(26px, 3.2vw, 32px);
	--rm-text-3xl: clamp(28px, 4vw, 36px);
	--rm-text-4xl: clamp(30px, 4.6vw, 40px);

	/* -- Spacing scale ---------------------------------------------- */
	--rm-space-1: 4px;
	--rm-space-2: 8px;
	--rm-space-3: 12px;
	--rm-space-4: 16px;
	--rm-space-5: 24px;
	--rm-space-6: 32px;
	--rm-space-7: 48px;
	--rm-space-8: 64px;

	/* -- Semantic status colours (dark canvas) ----------------------
	   Game identity colours stay hardcoded on purpose - they are brand,
	   not status. These tokens flip per mode for contrast on white. */
	--rm-success: #22c55e;
	--rm-success-strong: #16a34a;
	--rm-warning: #f59e0b;
	--rm-danger: #ef4444;
	--rm-danger-strong: #dc2626;

	/* -- Motion system ----------------------------------------------
	   One easing/timing language for the whole theme. Widgets reference
	   these instead of hand-rolling durations, so motion feels authored,
	   not accidental. ease-out for entrances, spring for playful pops. */
	--rm-ease: cubic-bezier(.4, 0, .2, 1);
	--rm-ease-out: cubic-bezier(.16, 1, .3, 1);
	--rm-ease-spring: cubic-bezier(.34, 1.4, .5, 1);
	--rm-dur-1: .12s;
	--rm-dur-2: .2s;
	--rm-dur-3: .32s;
	--rm-dur-4: .5s;

	/* -- Elevation system (dark canvas) -----------------------------
	   Layered, physically-plausible shadows plus a top rim-light for the
	   "expensive" lifted look. One scale so depth reads consistently. */
	--rm-shadow-1: 0 1px 2px rgba(0,0,0,.40);
	--rm-shadow-2: 0 4px 12px -4px rgba(0,0,0,.48), 0 1px 2px rgba(0,0,0,.35);
	--rm-shadow-3: 0 14px 32px -14px rgba(0,0,0,.55), 0 2px 6px rgba(0,0,0,.32);
	--rm-shadow-4: 0 28px 60px -26px rgba(0,0,0,.62), 0 4px 10px rgba(0,0,0,.30);
	--rm-rim: inset 0 1px 0 rgba(255,255,255,.06);
	/* Accent-tinted glow, for hero/CTA lifts only. */
	--rm-glow: 0 18px 44px -22px color-mix(in srgb, var(--rm-accent) 55%, transparent);
}
:root[data-rm-mode="light"] {
	--rm-success: #16a34a;
	--rm-success-strong: #15803d;
	--rm-warning: #b45309;
	--rm-danger: #dc2626;
	--rm-danger-strong: #b91c1c;

	/* Light canvas builds depth from soft cool shadows, not glow. */
	--rm-shadow-1: 0 1px 2px rgba(15,23,42,.06);
	--rm-shadow-2: 0 1px 2px rgba(15,23,42,.05), 0 4px 14px -6px rgba(15,23,42,.11);
	--rm-shadow-3: 0 2px 4px rgba(15,23,42,.05), 0 14px 30px -14px rgba(15,23,42,.15);
	--rm-shadow-4: 0 4px 8px rgba(15,23,42,.05), 0 28px 60px -28px rgba(15,23,42,.20);
	--rm-rim: inset 0 1px 0 rgba(255,255,255,.75);
	--rm-glow: 0 16px 40px -22px color-mix(in srgb, var(--rm-accent) 40%, transparent);
}
@media (prefers-reduced-motion: reduce) {
	:root { --rm-dur-1: 0s; --rm-dur-2: 0s; --rm-dur-3: 0s; --rm-dur-4: 0s; }
}

.rm-section-header { margin-block: 32px 16px; }
.rm-section-title  { margin: 0; font-size: var(--rm-text-2xl); }
.rm-eyebrow        {
	margin: 0 0 8px;
	font-size: var(--rm-text-sm);
	color: var(--rm-accent);
	text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600;
}

.rm-grid {
	display: grid;
	grid-template-columns: repeat( var(--rm-cols, 3), minmax(0, 1fr) );
	gap: 24px;
}
@media (max-width: 900px) { .rm-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .rm-grid { grid-template-columns: 1fr; } }

.rm-card { background: var(--rm-surface); border-radius: var(--rm-card-radius); overflow: hidden; border: 1px solid var(--rm-border); box-shadow: var(--rm-rim), var(--rm-shadow-2); transition: transform var(--rm-dur-3) var(--rm-ease-spring), border-color var(--rm-dur-2) var(--rm-ease), box-shadow var(--rm-dur-3) var(--rm-ease); }
.rm-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--rm-accent) 60%, var(--rm-border)); box-shadow: var(--rm-rim), var(--rm-shadow-3); }
.rm-card--density-spacious .rm-card__body { padding: 22px; }.rm-card--density-spacious .rm-card__title { font-size: 22px; }.rm-card--density-compact .rm-card__body { padding: 12px; }.rm-card--density-compact .rm-card__title { font-size: 17px; }.rm-card--density-compact .rm-card__sub { margin-bottom: 10px; font-size: var(--rm-text-xs); }
.rm-card--price-highlight .rm-card__pricebar { display:flex; align-items:baseline; gap:6px; margin-top:14px; padding:10px 12px; border-radius:var(--rm-radius-md); background:color-mix(in srgb,var(--rm-accent) 12%,var(--rm-surface)); }.rm-card--price-highlight .rm-card__price-now { color:var(--rm-accent); font-family:var(--rm-font-display); font-size:1.3em; font-weight:700; }
.rm-card__link { display: block; color: inherit; text-decoration: none; }
.rm-card__media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.rm-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rm-card__tag { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: var(--rm-radius-button, 999px); background: var(--rm-accent); color: var(--rm-on-accent); font-size: var(--rm-text-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.rm-card__body { padding: 16px; }
.rm-card__title { margin: 0 0 0.25rem; font-size: var(--rm-text-lg); font-family: var(--rm-font-display); }
.rm-card__sub { margin: 0 0 16px; color: var(--rm-fg-muted); font-size: var(--rm-text-sm); }
.rm-card__progress { height: 4px; border-radius: var(--rm-radius-button, 999px); background: var(--rm-border); overflow: hidden; margin-bottom: 12px; }
.rm-card__progress > span { display: block; height: 100%; background: var(--rm-accent); transition: width .8s ease; }
.rm-card__meta { display: flex; justify-content: space-between; align-items: center; font-size: var(--rm-text-sm); }
.rm-card__price { font-weight: 600; }

.rm-countdown { display: flex; gap: 6px; font-variant-numeric: tabular-nums; }
.rm-countdown--inline { display: inline; color: var(--rm-fg-muted); font-family: var(--rm-font-display); }
.rm-countdown__cell { display: inline-flex; flex-direction: column; align-items: center; min-width: 48px; padding: 6px 8px; background: var(--rm-surface); border: 1px solid var(--rm-border); border-radius: var(--rm-radius-sm, 4px); }
.rm-countdown__cell b { font-size: var(--rm-text-lg); font-weight: 700; }
.rm-countdown__cell i { font-style: normal; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--rm-fg-muted); }
.rm-countdown.is-over { opacity: 0.5; }

.rm-empty { padding: 32px; text-align: center; color: var(--rm-fg-muted); border: 1px dashed var(--rm-border); border-radius: var(--rm-card-radius); }

/* -----------------------------------------------------------------
   Block styles for the rest of the catalogue.
   Style variations in theme.json override colours/fonts; layout
   stays consistent across variations.
   ----------------------------------------------------------------- */

/* Categories */
.rm-categories__grid { display: grid; grid-template-columns: repeat( auto-fill, minmax(160px, 1fr) ); gap: 16px; }
.rm-category-tile { background: var(--rm-surface); border: 1px solid var(--rm-border); border-radius: var(--rm-radius-lg, 16px); padding: 16px; text-align: center; color: inherit; text-decoration: none; transition: transform .15s, border-color .15s; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.rm-category-tile:hover { transform: translateY(-2px); border-color: var(--rm-accent); }
.rm-category-tile__media img { width: 64px; height: 64px; object-fit: cover; border-radius: 50%; }
.rm-category-tile__name { font-weight: 600; }
.rm-category-tile__count { font-size: var(--rm-text-sm); color: var(--rm-fg-muted); }

/* Winners strip */
.rm-winners-strip__rail { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.rm-winner-card { flex: 0 0 240px; scroll-snap-align: start; background: var(--rm-surface); border: 1px solid var(--rm-border); border-radius: var(--rm-radius-lg, 16px); padding: 16px; display: flex; gap: 12px; align-items: center; color: inherit; text-decoration: none; transition: transform .15s, border-color .15s; }
.rm-winner-card:hover { transform: translateY(-2px); border-color: var(--rm-accent); }
.rm-winner-card__media img { width: 56px; height: 56px; object-fit: cover; border-radius: 50%; }
.rm-winner-card__body { display: flex; flex-direction: column; gap: 2px; }
.rm-winner-card__prize { font-size: var(--rm-text-sm); color: var(--rm-fg-muted); }
.rm-winner-card__name { font-weight: 700; }
.rm-winner-card__ticket { font-size: var(--rm-text-xs); font-family: var(--rm-font-display); color: var(--rm-accent); }

/* How it works */
.rm-howitworks__grid { display: grid; grid-template-columns: repeat( 3, 1fr ); gap: 24px; }
@media (max-width: 720px) { .rm-howitworks__grid { grid-template-columns: 1fr; } }
.rm-howitworks__step { padding: 16px; }
.rm-howitworks__num { display: block; font-family: var(--rm-font-display); color: var(--rm-accent); font-size: var(--rm-text-lg); margin-bottom: 6px; }
.rm-howitworks__title { font-size: var(--rm-text-lg); margin: 0 0 4px; font-family: var(--rm-font-display); }
.rm-howitworks__body { color: var(--rm-fg-muted); margin: 0; }

/* Stats */
.rm-stats__grid { display: grid; grid-template-columns: repeat( 3, 1fr ); gap: 24px; text-align: center; }
@media (max-width: 720px) { .rm-stats__grid { grid-template-columns: 1fr; } }
.rm-stat { padding: 24px 16px; background: var(--rm-surface); border: 1px solid var(--rm-border); border-radius: var(--rm-radius-lg, 16px); }
.rm-stat__num { display: block; font-family: var(--rm-font-display); font-size: var(--rm-text-4xl); font-weight: 700; line-height: 1; }
.rm-stat__label { display: block; margin-top: 8px; color: var(--rm-fg-muted); font-size: var(--rm-text-sm); }

/* Newsletter */
.rm-newsletter { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: 48px; background: var(--rm-surface); border-radius: var(--rm-radius-lg, 16px); }
@media (max-width: 720px) { .rm-newsletter { grid-template-columns: 1fr; } }
.rm-newsletter__title { font-family: var(--rm-font-display); font-size: var(--rm-text-2xl); margin: 0 0 8px; }
.rm-newsletter__sub { color: var(--rm-fg-muted); margin: 0; }
.rm-newsletter__form { display: flex; gap: 8px; }
.rm-newsletter__form input[type=email] { flex: 1; padding: 12px 14px; border-radius: var(--rm-radius-md, 8px); border: 1px solid var(--rm-border); background: var(--rm-bg); color: inherit; }
.rm-newsletter__msg { margin: 8px 0 0; font-size: var(--rm-text-sm); color: var(--rm-accent); min-height: 1.4em; }

/* Single product blocks */
.rm-gallery { display: grid; gap: 12px; }
.rm-gallery__main { position: relative; aspect-ratio: 4/3; background: var(--rm-surface); border-radius: var(--rm-radius-lg, 16px); overflow: hidden; }
.rm-gallery__main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rm-gallery__badge { position: absolute; top: 12px; left: 12px; padding: 6px 12px; border-radius: var(--rm-radius-button, 999px); background: var(--rm-accent); color: var(--rm-on-accent); font-weight: 700; font-size: var(--rm-text-sm); }
.rm-gallery__thumbs { display: grid; grid-template-columns: repeat( auto-fill, minmax(72px, 1fr) ); gap: 8px; }
.rm-gallery__thumb { padding: 0; border: 2px solid transparent; border-radius: var(--rm-radius-sm, 4px); background: none; cursor: pointer; aspect-ratio: 1; overflow: hidden; }
.rm-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rm-gallery__thumb:hover, .rm-gallery__thumb[aria-selected="true"] { border-color: var(--rm-accent); }

.rm-product-countdown { padding: 16px; background: var(--rm-surface); border: 1px solid var(--rm-border); border-radius: var(--rm-radius-lg, 16px); text-align: center; }
.rm-product-countdown__label { color: var(--rm-fg-muted); margin: 0 0 12px; font-weight: 600; }

.rm-ticket-selector { padding: 24px; background: var(--rm-surface); border: 1px solid var(--rm-border); border-radius: var(--rm-radius-lg, 16px); display: grid; gap: 16px; }
.rm-ticket-selector__price-row, .rm-ticket-selector__total-row { display: flex; justify-content: space-between; align-items: baseline; }
.rm-ticket-selector__price-label, .rm-ticket-selector__total-label { color: var(--rm-fg-muted); font-size: var(--rm-text-sm); }
.rm-ticket-selector__price-value { font-weight: 600; }
.rm-ticket-selector__total-value { font-family: var(--rm-font-display); font-size: var(--rm-text-2xl); font-weight: 700; }
.rm-ticket-selector__qty-row { display: flex; align-items: center; gap: 8px; }
.rm-ticket-selector__qty-row label { flex: 1; font-weight: 600; }
.rm-ticket-selector__step { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--rm-border); background: var(--rm-bg); cursor: pointer; font-size: var(--rm-text-lg); line-height: 1; }
.rm-ticket-selector__input { width: 80px; text-align: center; padding: 8px; border-radius: var(--rm-radius-sm, 4px); border: 1px solid var(--rm-border); background: var(--rm-bg); color: inherit; }
.rm-ticket-selector__quick { display: flex; gap: 8px; flex-wrap: wrap; }
.rm-ticket-selector__preset { padding: 6px 14px; border-radius: var(--rm-radius-button, 999px); border: 1px solid var(--rm-border); background: var(--rm-bg); cursor: pointer; }
.rm-ticket-selector__preset:hover { border-color: var(--rm-accent); color: var(--rm-accent); }
.rm-ticket-selector__submit { padding: 14px 24px; border-radius: var(--rm-radius-md, 8px); border: 0; background: var(--rm-accent); color: var(--rm-on-accent); font-weight: 700; cursor: pointer; font-size: var(--rm-text-base); }
.rm-ticket-selector__note { margin: 0; text-align: center; font-size: var(--rm-text-xs); color: var(--rm-fg-muted); }

/* Progress bar (shortcode + block) */
.rm-progress { display: grid; gap: 4px; }
.rm-progress__text { font-size: var(--rm-text-sm); color: var(--rm-fg-muted); }
.rm-progress__track { height: 8px; border-radius: var(--rm-radius-button, 999px); background: var(--rm-border); overflow: hidden; position: relative; }
.rm-progress__bar-parent { width: 100%; height: 100%; position: relative; }
.rm-progress__bar { height: 100%; background: var(--rm-accent); transition: width .8s ease; border-radius: var(--rm-radius-button, 999px); }
.rm-progress__handle { display: none; }
.rm-progress__count { font-size: var(--rm-text-sm); text-align: right; color: var(--rm-fg-muted); }
.rm-progress--half .rm-progress__bar { background: var(--rm-warning); }
.rm-progress--full .rm-progress__bar { background: var(--rm-danger); }

/* Prize specs */
.rm-prize-specs { padding: 16px; }
.rm-prize-specs__title { font-family: var(--rm-font-display); font-size: var(--rm-text-xl); margin: 0 0 16px; }
.rm-prize-specs__list { display: grid; gap: 0; margin: 0; }
.rm-prize-specs__row { display: grid; grid-template-columns: minmax(140px, 30%) 1fr; padding: 10px 0; border-bottom: 1px solid var(--rm-border); }
.rm-prize-specs__row:last-child { border-bottom: 0; }
.rm-prize-specs__row dt { color: var(--rm-fg-muted); margin: 0; }
.rm-prize-specs__row dd { margin: 0; }

/* FAQ */
.rm-faq { padding: 16px; }
.rm-faq__title { font-family: var(--rm-font-display); font-size: var(--rm-text-xl); margin: 0 0 16px; }
.rm-faq__list { display: grid; gap: 8px; }
.rm-faq__item { background: var(--rm-surface); border: 1px solid var(--rm-border); border-radius: var(--rm-radius-md, 8px); }
.rm-faq__item summary { padding: 16px; cursor: pointer; font-weight: 600; list-style: none; }
.rm-faq__item summary::after { content: "+"; float: right; font-weight: 400; }
.rm-faq__item[open] summary::after { content: "\2212"; }
.rm-faq__answer { padding: 0 16px 16px; color: var(--rm-fg-muted); }

/* Top bar (marquee) */
.rm-top-bar { display: flex; gap: 16px; overflow: hidden; padding: 6px 0; background: var(--rm-accent); color: var(--rm-on-accent); white-space: nowrap; }
.rm-top-bar p { animation: rm-marquee 35s linear infinite; margin: 0; flex-shrink: 0; font-size: var(--rm-text-sm); font-weight: 600; }
@keyframes rm-marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.rm-top-bar__track { animation-duration:var(--rm-topbar-speed,28s) !important; }
.rm-heading-slash-tall .rm-section-title::before { width:8px; height:1.25em; transform:skewX(-11deg); border-radius:0; }
.rm-heading-slash-line .rm-section-title::before { width:28px; height:4px; transform:none; border-radius:999px; box-shadow:none; }

/* Insights row + draw date */
.rm-insights { display: flex; gap: 16px; flex-wrap: wrap; padding: 16px; background: var(--rm-surface); border: 1px solid var(--rm-border); border-radius: var(--rm-radius-md, 8px); font-size: var(--rm-text-sm); }
.rm-draw-date { font-weight: 600; color: var(--rm-accent); }
.rm-draw-date.competition_is_today { background: var(--rm-accent); color: var(--rm-on-accent); padding: 4px 10px; border-radius: var(--rm-radius-button, 999px); display: inline-block; }
.rm-auto-draw-banner { display: inline-block; margin-top: 6px; font-size: var(--rm-text-xs); color: var(--rm-fg-muted); }
.rm-cash-alt { display: block; margin-top: 6px; font-size: var(--rm-text-sm); color: var(--rm-fg-muted); }
.rm-free-entries { font-size: var(--rm-text-sm); text-decoration: underline; }

/* Winner display on closed competitions */
.rm-winner-display { padding: 16px; background: var(--rm-surface); border: 1px solid var(--rm-accent); border-radius: var(--rm-radius-lg, 16px); text-align: center; }
.rm-winner-display__row { display: block; padding: 4px 0; font-weight: 600; }

/* Next draw container */
.rm-next-draw { padding: 16px; background: var(--rm-surface); border-radius: var(--rm-radius-lg, 16px); text-align: center; }
.rm-next-draw h3 { font-size: var(--rm-text-sm); color: var(--rm-fg-muted); text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 8px; }
.rm-next-draw--empty { display: none; }

/* Confetti (thank-you) */
.rm-thankyou-confetti { position: fixed; inset: 0; z-index: 9999; pointer-events: none; }
.rm-thankyou-confetti canvas { width: 100%; height: 100%; }

/* Countdown - boxes mode (used by [countdown_now]) */
.countdown-timer { display: flex; gap: 8px; justify-content: center; font-variant-numeric: tabular-nums; }
.countdown-timer > div { display: flex; flex-direction: column; align-items: center; min-width: 56px; padding: 8px; background: var(--rm-surface); border: 1px solid var(--rm-border); border-radius: var(--rm-radius-sm, 4px); }
.countdown-timer .countdown-value { font-size: var(--rm-text-lg); font-weight: 700; }
.countdown-timer .countdown-label { font-size: var(--rm-text-xs); color: var(--rm-fg-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.countdown-timer .excess-timer { display: none; }
@media (min-width: 721px) { .countdown-timer .excess-timer { display: inline; } }

/* Ticket selector disclaimer (settings-driven) */
.rm-ticket-selector__disclaimer { margin: 4px 0 0; text-align: center; font-size: var(--rm-text-xs); color: var(--rm-fg-muted); line-height: 1.4; }

/* Footer social */
.rm-footer-social { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 16px; }
.rm-footer-social__list { display: flex; gap: 16px; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; justify-content: center; }
.rm-footer-social__list a { color: var(--rm-fg-muted); text-decoration: none; font-size: var(--rm-text-sm); transition: color .15s; }
.rm-footer-social__list a:hover { color: var(--rm-accent); }
.rm-footer-social__email { color: var(--rm-fg-muted); font-size: var(--rm-text-sm); text-decoration: none; }
.rm-footer-social__email:hover { color: var(--rm-accent); }

/* -----------------------------------------------------------------
   V3 - Classic theme shell (header, footer, page wrappers, layout).
   ----------------------------------------------------------------- */

/* Reset & base */
*, *::before, *::after { box-sizing: border-box; }
.rm-body { margin: 0; padding: 0; background: var(--rm-bg); color: var(--rm-fg); font-family: var(--rm-font-body); line-height: 1.55; -webkit-font-smoothing: antialiased; }
.rm-body a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }

/* Layout containers */
.rm-page { min-height: 60vh; }
.rm-page__inner { max-width: 1180px; margin: 0 auto; padding: 48px 24px; }
.rm-page--home > section, .rm-page--product > section { max-width: 1180px; margin: 0 auto; padding: 48px 24px; }
.rm-page__inner,.rm-page--home > section,.rm-page--product > section,.rm-product-hero,.rm-site-header__inner,.rm-site-footer__inner,.rm-footer-state__inner,.rm-footer-rows { max-width:var(--rm-site-width,1280px); }
.rm-page--home > section + section { margin-top: 0; }

/* Site header */
.rm-site-header { background: var(--rm-bg); border-bottom: 1px solid var(--rm-border); position: sticky; top: 0; z-index: 50; backdrop-filter: blur(8px); }
.rm-site-header__inner { max-width: 1180px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 24px; }
.rm-site-header__brand { flex: 0 0 auto; }
.rm-site-header__title { font-family: var(--rm-font-display); font-weight: 700; font-size: var(--rm-text-lg); text-decoration: none; color: var(--rm-fg); }
.custom-logo { max-height: 40px; width: auto; }
.rm-site-header__nav { flex: 1 1 auto; }
.rm-site-header__menu { list-style: none; padding: 0; margin: 0; display: flex; gap: 24px; }
.rm-site-header__menu a { text-decoration: none; font-size: var(--rm-text-sm); font-weight: 500; color: var(--rm-fg-muted); transition: color .15s; }
.rm-site-header__menu a:hover, .rm-site-header__menu .current-menu-item a { color: var(--rm-fg); }
.rm-site-header__actions { flex: 0 0 auto; display: flex; gap: 12px; align-items: center; }
.rm-site-header__account, .rm-site-header__cart { font-size: var(--rm-text-sm); text-decoration: none; padding: 8px 14px; border-radius: var(--rm-radius-button, 999px); border: 1px solid var(--rm-border); color: var(--rm-fg); transition: border-color .15s, background .15s; }
.rm-site-header__account:hover, .rm-site-header__cart:hover { border-color: var(--rm-accent); }
.rm-site-header__cart-count { display: inline-block; margin-left: 6px; padding: 2px 7px; border-radius: var(--rm-radius-button, 999px); background: var(--rm-accent); color: var(--rm-on-accent); font-size: 11px; font-weight: 700; min-width: 18px; text-align: center; }
/* Wallet balance chip in the header actions row. Aligns the [mini-wallet]
   shortcode output with the account/cart controls; the plugin owns its inner styling. */
/* Wallet balance pill — themed to match the account/cart controls, with the
   balance figure emphasised and the wallet glyph in the accent colour. Targets
   the woo-wallet plugin markup ([mini-wallet]) inside our header wrapper. */
.rm-site-header__wallet { display: inline-flex; align-items: center; white-space: nowrap; }
.rm-site-header__wallet .woo-wallet-menu-contents,
.rm-site-header__wallet > a {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 8px 14px;
	border-radius: var(--rm-radius-button, 999px);
	border: 1px solid color-mix(in srgb, var(--rm-accent) 34%, var(--rm-border));
	background: color-mix(in srgb, var(--rm-accent) 10%, var(--rm-surface));
	color: var(--rm-fg);
	font-size: var(--rm-text-sm); font-weight: 700; line-height: 1;
	text-decoration: none; font-variant-numeric: tabular-nums;
	box-shadow: var(--rm-rim);
	transition: border-color var(--rm-dur-2, .2s) var(--rm-ease, ease),
		background var(--rm-dur-2, .2s) var(--rm-ease, ease),
		transform var(--rm-dur-2, .2s) var(--rm-ease, ease);
}
.rm-site-header__wallet .woo-wallet-menu-contents:hover,
.rm-site-header__wallet > a:hover {
	border-color: var(--rm-accent);
	background: color-mix(in srgb, var(--rm-accent) 17%, var(--rm-surface));
	transform: translateY(-1px);
}
.rm-site-header__wallet .woo-wallet-icon-wallet {
	color: var(--rm-accent); font-size: var(--rm-text-md); line-height: 1;
}
.rm-site-header__wallet .woocommerce-Price-amount { color: var(--rm-fg); }
.rm-site-header__wallet .woocommerce-Price-currencySymbol { opacity: .72; margin-right: 1px; }
/* The plugin drops a stray &nbsp; between glyph and amount; gap already spaces
   them, so collapse it to avoid a double gap. */
.rm-site-header__wallet .woo-wallet-menu-contents { word-spacing: -0.25em; }
.rm-header-actions-compact .rm-site-header__wallet .woo-wallet-menu-contents,
.rm-header-actions-compact .rm-site-header__wallet > a { padding-block: 6px; }

@media (max-width: 720px) {
	.rm-site-header__inner { flex-wrap: wrap; gap: 12px; }
	.rm-site-header__nav { order: 3; flex-basis: 100%; }
	.rm-site-header__menu { gap: 14px; flex-wrap: wrap; }
}

/* Site footer */
.rm-site-footer { background: var(--rm-surface); border-top: 1px solid var(--rm-border); margin-top: 80px; }
.rm-site-footer__inner { max-width: 1180px; margin: 0 auto; padding: 48px 24px; display: flex; flex-direction: column; gap: 24px; align-items: center; text-align: center; }
.rm-site-footer__social-list { list-style: none; padding: 0; margin: 0; display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.rm-site-footer__social-list a { color: var(--rm-fg-muted); text-decoration: none; font-size: var(--rm-text-sm); transition: color .15s; }
.rm-site-footer__social-list a:hover { color: var(--rm-accent); }
.rm-site-footer__email { color: var(--rm-fg-muted); font-size: var(--rm-text-sm); text-decoration: none; }
.rm-site-footer__email:hover { color: var(--rm-accent); }
.rm-site-footer__menu { list-style: none; padding: 0; margin: 0; display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.rm-site-footer__menu a { font-size: var(--rm-text-sm); color: var(--rm-fg-muted); text-decoration: none; }
.rm-site-footer__menu a:hover { color: var(--rm-fg); }
.rm-site-footer__copy { color: var(--rm-fg-muted); font-size: 13px; margin: 0; }

/* Headings */
.rm-section-title { font-family: var(--rm-font-display); font-size: var(--rm-text-2xl); font-weight: 700; letter-spacing: -0.02em; margin: 0 0 24px; }
.rm-section-header { margin-bottom: 24px; }
.rm-eyebrow { font-size: var(--rm-text-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rm-accent); margin: 0 0 8px; }

/* Card grid */
.rm-grid { display: grid; gap: 24px; grid-template-columns: repeat(var(--rm-cols, 3), minmax(0, 1fr)); }
@media (max-width: 900px) { .rm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .rm-grid { grid-template-columns: 1fr; } }

.rm-empty { color: var(--rm-fg-muted); padding: 32px; text-align: center; grid-column: 1 / -1; }

/* Hero slider */
.rm-hero-slider { position: relative; max-width: 1180px; margin: 0 auto; padding: 24px; overflow: hidden; }
.rm-hero-slider__track { position: relative; }
.rm-hero-slide {
	display: none;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: 48px; align-items: center;
	animation: rm-hero-fade .5s ease;
}
.rm-hero-slide.is-active { display: grid; }
@keyframes rm-hero-fade { from { opacity: 0; } to { opacity: 1; } }
/* Keep the copy (and countdown) clear of the overlaid slider arrows */
.rm-hero-slide__copy { padding-left: 44px; }
@media (max-width: 720px) {
	.rm-hero-slide { grid-template-columns: 1fr; gap: 24px; }
	.rm-hero-slide__copy { padding-left: 0; }
	/* Image above the copy on mobile */
	.rm-hero-slide__media { order: -1; }
}
.rm-hero-slide__eyebrow { font-size: var(--rm-text-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rm-accent); margin: 0 0 12px; }
.rm-hero-slide__title { font-family: var(--rm-font-display); font-size: 52px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 16px; }
@media (max-width: 720px) { .rm-hero-slide__title { font-size: var(--rm-text-3xl); } }
.rm-hero-slide__sub { font-size: var(--rm-text-md); color: var(--rm-fg-muted); margin: 0 0 24px; }
.rm-hero-slide__cta { display: inline-block; padding: 14px 28px; background: var(--rm-accent); color: var(--rm-on-accent); font-weight: 700; border-radius: var(--rm-radius-button, 999px); text-decoration: none; transition: transform .15s, filter .15s; }
.rm-hero-slide__cta:hover { transform: translateY(-2px); filter: brightness(1.05); }
.rm-hero-slide__media { aspect-ratio: 4/3; background: var(--rm-surface); border-radius: var(--rm-radius-lg, 16px); overflow: hidden; }
.rm-hero-slide__media img { width: 100%; height: 100%; object-fit: cover; }
.rm-hero-slide .rm-countdown-boxes { margin: 0 0 24px; max-width: 380px; }

/* Arrows */
.rm-hero-slider__arrow {
	position: absolute; top: 50%; transform: translateY(-50%);
	width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
	background: color-mix(in srgb, var(--rm-surface) 85%, transparent);
	border: 1px solid var(--rm-border); border-radius: 50%;
	color: var(--rm-fg); cursor: pointer; z-index: 3;
	backdrop-filter: blur(6px);
	transition: background .15s, border-color .15s, transform .15s;
}
.rm-hero-slider__arrow:hover { border-color: var(--rm-accent); color: var(--rm-accent); }
.rm-hero-slider__arrow--prev { left: 16px; }
.rm-hero-slider__arrow--next { right: 16px; }
@media (max-width: 720px) { .rm-hero-slider__arrow { width: 36px; height: 36px; } .rm-hero-slider__arrow--prev { left: 6px; } .rm-hero-slider__arrow--next { right: 6px; } }

/* Dots */
.rm-hero-slider__dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.rm-hero-slider__dot {
	width: 9px; height: 9px; border-radius: 999px; padding: 0;
	background: var(--rm-border); border: 0; cursor: pointer;
	transition: width .2s, background .2s;
}
.rm-hero-slider__dot.is-active { width: 28px; background: var(--rm-accent); }

/* Buttons */
.wp-element-button, .rm-page button[type="submit"] { background: var(--rm-accent); color: var(--rm-on-accent); border: 0; border-radius: var(--rm-radius-button, 999px); padding: 12px 24px; font-weight: 600; cursor: pointer; }

/* Single product hero */
.rm-product-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; padding: 48px 24px; max-width: 1180px; margin: 0 auto; }
.rm-content-width-compact .rm-page--home > section,.rm-content-width-compact .rm-page--product > section,.rm-content-width-compact .rm-product-hero { max-width:980px; }
.rm-content-width-wide .rm-page--home > section,.rm-content-width-wide .rm-page--product > section,.rm-content-width-wide .rm-product-hero { max-width:1400px; }
.rm-product-layout-immersive .rm-product-hero { grid-template-columns:minmax(0,1.45fr) minmax(360px,.8fr); gap:28px; padding-top:28px; }.rm-product-layout-immersive .rm-product-hero__media { border-radius:var(--rm-radius-lg); overflow:hidden; box-shadow:0 22px 54px -35px color-mix(in srgb,var(--rm-accent) 55%,transparent); }.rm-product-layout-immersive .rm-product-hero__copy { align-self:center; padding:clamp(18px,3vw,38px); border:1px solid var(--rm-border); border-radius:var(--rm-radius-lg); background:color-mix(in srgb,var(--rm-surface) 92%,transparent); }
.rm-product-layout-immersive .rm-product-hero__media { max-width:780px; justify-self:end; width:100%; }
.rm-product-layout-editorial .rm-product-hero { max-width:900px; grid-template-columns:1fr; gap:28px; padding-top:72px; text-align:center; }.rm-product-layout-editorial .rm-product-hero__media { order:2; max-width:760px; width:100%; margin:auto; }.rm-product-layout-editorial .rm-product-hero__copy { max-width:660px; margin:auto; }.rm-product-layout-editorial .rm-product-hero__title { font-size:clamp(42px,6vw,68px); }.rm-product-layout-editorial .rm-product-hero__tag { margin-inline:auto; }
@media (max-width:900px) { .rm-product-layout-immersive .rm-product-hero { grid-template-columns:1fr; }.rm-product-layout-editorial .rm-product-hero { padding-top:32px; text-align:left; }.rm-product-layout-editorial .rm-product-hero__tag { margin-inline:0; } }
@media (max-width: 900px) { .rm-product-hero { grid-template-columns: 1fr; } }
.rm-product-hero__title { font-family: var(--rm-font-display); font-size: var(--rm-text-3xl); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 24px; }
.rm-product-hero__copy > * + * { margin-top: 16px; }

/* Pre-buy zone: under the progress bar, directly above the buy box in the
   product hero. Holds woocommerce_before_add_to_cart_form / minigame output. */
.rm-product-prebuy { margin: 0 0 16px; }
.rm-product-prebuy:empty { display: none; }

/* Standard pages */
.rm-page--standard { background: var(--rm-bg); }
.rm-article__title { font-family: var(--rm-font-display); font-size: var(--rm-text-4xl); font-weight: 700; letter-spacing: -0.02em; margin: 0 0 24px; }
.rm-article__content { font-size: 17px; line-height: 1.7; }

/* Archive */
.rm-archive-header { margin-bottom: 32px; }
.rm-archive-title { font-family: var(--rm-font-display); font-size: var(--rm-text-4xl); font-weight: 700; letter-spacing: -0.02em; margin: 0 0 12px; }
.rm-archive-desc { color: var(--rm-fg-muted); }

/* Card */
.rm-card { background: var(--rm-surface); border: 1px solid var(--rm-border); border-radius: var(--rm-radius-lg, 16px); overflow: hidden; transition: transform .15s, border-color .15s; }
.rm-card:hover { transform: translateY(-2px); border-color: var(--rm-accent); }
.rm-card__link { display: block; text-decoration: none; color: var(--rm-fg); }
.rm-card__media { aspect-ratio: 4/3; position: relative; overflow: hidden; background: var(--rm-bg); }
.rm-card__media img { width: 100%; height: 100%; object-fit: cover; }
.rm-card__tag { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: var(--rm-radius-button, 999px); background: var(--rm-accent); color: var(--rm-on-accent); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.rm-card__body { padding: 16px; display: grid; gap: 8px; }
.rm-card__title { font-family: var(--rm-font-display); font-size: var(--rm-text-md); font-weight: 700; margin: 0; line-height: 1.25; }
.rm-card__sub { color: var(--rm-fg-muted); font-size: var(--rm-text-sm); margin: 0; }
.rm-card__progress { height: 4px; border-radius: var(--rm-radius-button, 999px); background: var(--rm-border); overflow: hidden; margin: 8px 0; }
.rm-card__progress span { display: block; height: 100%; background: var(--rm-accent); border-radius: inherit; transition: width .8s ease; }
.rm-card__meta { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.rm-card__price { font-weight: 600; }
.rm-countdown--inline { font-family: var(--rm-font-display); font-variant-numeric: tabular-nums; color: var(--rm-fg-muted); }


/* =================================================================
   V5 - Modern site shell, polished cart/checkout, expanded chrome
   ================================================================= */

/* Topbar */
.rm-top-bar {
	display: flex; align-items: center;
	background: var(--rm-accent); color: var(--rm-on-accent);
	padding: 8px 0; overflow: hidden;
	font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
	position: relative;
	text-decoration: none;
}
.rm-top-bar__track {
	display: flex; gap: 40px; flex: 1;
	animation: rm-marquee 35s linear infinite;
	white-space: nowrap;
}
.rm-top-bar__item { flex-shrink: 0; }
.rm-top-bar__close {
	flex: 0 0 auto;
	background: transparent; border: 0; color: inherit;
	width: 32px; height: 32px; cursor: pointer; font-size: 22px; line-height: 1;
	margin-right: 8px; opacity: 0.7;
}
.rm-top-bar__close:hover { opacity: 1; }
@keyframes rm-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
html.rm-topbar-hidden .rm-top-bar { display: none !important; }

/* Header */
.rm-site-header {
	background: var(--rm-bg); border-bottom: 1px solid var(--rm-border);
	position: relative; /* Anchor the mobile and mega-menu panels even when sticky is disabled. */
	z-index: 50;
	transition: background .2s, border-color .2s;
}
.rm-site-header.is-sticky { position: sticky; top: 0; backdrop-filter: blur(10px); background: color-mix(in srgb, var(--rm-bg) 80%, transparent); }
.rm-site-header.is-transparent { background: transparent; border-bottom-color: transparent; }
.rm-site-header__inner {
	max-width: 1280px; margin: 0 auto; padding: 12px 24px;
	display: grid;
	grid-template-columns: auto auto 1fr auto;
	align-items: center; gap: 16px;
}
.rm-site-header__hamburger {
	display: none; background: transparent; border: 0; cursor: pointer;
	width: 40px; height: 40px;
	flex-direction: column; justify-content: center; align-items: center; gap: 4px;
	padding: 0;
}
.rm-site-header__hamburger span {
	width: 22px; height: 2px; background: var(--rm-fg); border-radius: 2px;
	transition: transform .15s, opacity .15s;
}
.rm-site-header__title { font-family: var(--rm-font-display); font-weight: 700; font-size: var(--rm-text-lg); text-decoration: none; color: var(--rm-fg); letter-spacing: -0.02em; }

.rm-site-header__nav { min-width: 0; }
.rm-site-header__menu {
	list-style: none; padding: 0; margin: 0;
	display: flex; gap: 28px;
}
.rm-site-header__menu a {
	text-decoration: none; font-size: var(--rm-text-sm); font-weight: 500;
	color: var(--rm-fg-muted); transition: color .12s;
}
.rm-site-header__menu a:hover, .rm-site-header__menu .current-menu-item > a { color: var(--rm-fg); }

.rm-site-header__actions { display: flex; gap: 6px; align-items: center; justify-content: flex-end; }
.rm-header-actions-compact .rm-site-header__actions { gap: 2px; }
.rm-header-actions-compact .rm-site-header__icon-btn { width: 34px; height: 34px; }
.rm-header-actions-compact .rm-site-header__cart { height: 34px; padding-inline: 10px; }
.rm-site-header__icon-btn {
	width: 38px; height: 38px;
	display: inline-flex; align-items: center; justify-content: center;
	background: transparent; border: 1px solid transparent;
	border-radius: 50%; cursor: pointer; color: var(--rm-fg);
	text-decoration: none;
	transition: background .12s, color .12s, border-color .12s;
}
.rm-site-header__icon-btn:hover { background: var(--rm-surface); color: var(--rm-accent); }
.rm-site-header__icon-btn .dashicons { font-size: var(--rm-text-md); }

.rm-site-header__cart {
	width: auto; padding: 0 14px; gap: 6px; font-size: 13px; font-weight: 600;
	background: transparent; border: 1px solid var(--rm-border); border-radius: var(--rm-radius-button, 999px);
	height: 38px; display: inline-flex; align-items: center; color: var(--rm-fg);
	text-decoration: none; transition: border-color .12s;
}
.rm-site-header__cart:hover { border-color: var(--rm-accent); color: var(--rm-accent); }
.rm-site-header__cart .dashicons { font-size: var(--rm-text-base); }
.rm-site-header__cart-count {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 18px; height: 18px; padding: 0 5px;
	background: var(--rm-accent); color: var(--rm-on-accent);
	border-radius: 999px; font-size: 11px; font-weight: 700;
}

.rm-mode-icon { font-size: var(--rm-text-base); }
:root[data-rm-mode="dark"]  .rm-mode-icon--light,
:root[data-rm-mode="light"] .rm-mode-icon--dark { display: none; }

.rm-site-header__cta {
	height: 38px; padding: 0 18px; display: inline-flex; align-items: center;
	font-size: 13px; font-weight: 600; text-decoration: none;
	border-radius: var(--rm-radius-button, 999px);
	transition: transform .12s, background .12s;
}
.rm-site-header__cta.is-solid { background: var(--rm-accent); color: var(--rm-on-accent); border: 1px solid var(--rm-accent); }
.rm-site-header__cta.is-solid:hover { transform: translateY(-1px); }
.rm-site-header__cta.is-outline { background: transparent; color: var(--rm-fg); border: 1px solid var(--rm-fg); }
.rm-site-header__cta.is-outline:hover { background: var(--rm-fg); color: var(--rm-bg); }

/* Search tray */
.rm-site-header__search-tray {
	border-top: 1px solid var(--rm-border);
	padding: 16px 24px;
	background: var(--rm-bg);
}
.rm-search-form {
	max-width: 640px; margin: 0 auto;
	display: flex; gap: 8px;
}
.rm-search-form input[type=search] {
	flex: 1; height: 44px;
	padding: 0 16px; border: 1px solid var(--rm-border);
	border-radius: var(--rm-radius-md, 8px);
	background: var(--rm-surface); color: var(--rm-fg);
	font-size: 15px;
}
.rm-search-form button {
	height: 44px; padding: 0 20px;
	background: var(--rm-accent); color: var(--rm-on-accent);
	border: 0; border-radius: var(--rm-radius-button, 999px);
	font-weight: 600; cursor: pointer;
}

/* Mobile */
@media (max-width: 900px) {
	.rm-site-header__hamburger { display: inline-flex; }
	.rm-site-header__inner { grid-template-columns: auto 1fr auto; gap: 12px; padding: 10px 16px; }
	.rm-site-header.has-mobile-menu-left .rm-site-header__hamburger { order: -1; }
	.rm-site-header__nav {
		position: absolute; top: 100%; left: 0; right: 0;
		background: var(--rm-bg); border-bottom: 1px solid var(--rm-border);
		display: none; padding: 16px 24px; max-height: calc(100vh - 80px); overflow-y: auto;
	}
	.rm-site-header__nav.is-open { display: block; }
	.rm-site-header__menu { flex-direction: column; gap: 8px; }
	.rm-site-header__menu a { padding: 10px 0; display: block; font-size: var(--rm-text-base); border-bottom: 1px solid var(--rm-border); }
	.rm-site-header__cta { display: none; }
	.rm-site-header__actions { min-width: 0; gap: 2px; }
	.rm-site-header__cart { width: 38px; padding: 0; justify-content: center; }
	.rm-site-header__cart-count { position: absolute; margin: -22px 0 0 25px; }
	.rm-site-header__actions > .rm-header-custom-btn { display: none; }
}

html.rm-no-scroll body { overflow: hidden; }

/* Footer */
.rm-site-footer { background: var(--rm-surface); border-top: 1px solid var(--rm-border); margin-top: 80px; }
.rm-site-footer--bg { background: var(--rm-bg); }
.rm-site-footer--accent { background: var(--rm-accent); color: var(--rm-on-accent); }
.rm-site-footer--accent .rm-site-footer__copy,
.rm-site-footer--accent .rm-site-footer__email,
.rm-site-footer--accent .rm-site-footer__social-list a { color: var(--rm-on-accent); }

.rm-site-footer__inner { max-width: 1280px; margin: 0 auto; padding: 56px 24px 32px; }

/* Footer columns (widget areas) */
.rm-site-footer__cols {
	display: grid;
	grid-template-columns: repeat(var(--rm-footer-cols, 4), minmax(0, 1fr));
	gap: 40px;
	margin-bottom: 48px;
	padding-bottom: 32px;
	border-bottom: 1px solid var(--rm-border);
}
@media (max-width: 900px) { .rm-site-footer__cols { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .rm-site-footer__cols { grid-template-columns: 1fr; } }

.rm-footer-widget { margin-bottom: 24px; }
.rm-footer-widget__title { font-family: var(--rm-font-display); font-size: var(--rm-text-sm); font-weight: 600; margin: 0 0 12px; letter-spacing: -0.01em; }
.rm-footer-widget__text { color: var(--rm-fg-muted); font-size: var(--rm-text-sm); margin: 0 0 12px; }
.rm-footer-widget ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.rm-footer-widget ul a { color: var(--rm-fg-muted); text-decoration: none; font-size: var(--rm-text-sm); }
.rm-footer-widget ul a:hover { color: var(--rm-accent); }

/* Newsletter strip */
.rm-footer-newsletter { background: var(--rm-bg); border-top: 1px solid var(--rm-border); border-bottom: 1px solid var(--rm-border); padding: 32px 24px; }
.rm-footer-newsletter__inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px; }
@media (max-width: 720px) { .rm-footer-newsletter__inner { grid-template-columns: 1fr; gap: 16px; } }
.rm-footer-newsletter__title { font-family: var(--rm-font-display); font-size: 22px; margin: 0 0 4px; letter-spacing: -0.01em; }
.rm-footer-newsletter__sub { color: var(--rm-fg-muted); font-size: var(--rm-text-sm); margin: 0; }
.rm-footer-newsletter__form { display: flex; gap: 8px; min-width: 320px; }
.rm-footer-newsletter__form input { flex: 1; height: 44px; padding: 0 16px; border: 1px solid var(--rm-border); border-radius: var(--rm-radius-md, 8px); background: var(--rm-surface); color: var(--rm-fg); }
.rm-footer-newsletter__form button { height: 44px; padding: 0 20px; background: var(--rm-accent); color: var(--rm-on-accent); border: 0; border-radius: var(--rm-radius-button, 999px); font-weight: 600; cursor: pointer; }

/* Footer bottom row */
.rm-site-footer__bottom {
	display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center;
	margin-bottom: 24px;
}
.rm-site-footer__bottom-left { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.rm-site-footer__social-list { list-style: none; padding: 0; margin: 0; display: flex; gap: 14px; }
.rm-site-footer__social-list a { color: var(--rm-fg-muted); text-decoration: none; font-size: 13px; transition: color .12s; }
.rm-site-footer__social-list a:hover { color: var(--rm-accent); }
.rm-site-footer__email { color: var(--rm-fg-muted); font-size: 13px; text-decoration: none; }
.rm-site-footer__email:hover { color: var(--rm-accent); }

/* Payment icons */
.rm-site-footer__payments { display: flex; gap: 8px; flex-wrap: wrap; }
.rm-payment-icon {
	height: 28px;
	width: auto;
	display: inline-block;
	border-radius: 4px;
}

.rm-site-footer__nav { margin-bottom: 16px; }
.rm-site-footer__menu { list-style: none; padding: 0; margin: 0; display: flex; gap: 20px; flex-wrap: wrap; }
.rm-site-footer__menu a { font-size: 13px; color: var(--rm-fg-muted); text-decoration: none; }
.rm-site-footer__menu a:hover { color: var(--rm-fg); }

.rm-site-footer__copy { color: var(--rm-fg-muted); font-size: var(--rm-text-xs); margin: 0; padding-top: 16px; border-top: 1px solid var(--rm-border); }

/* =================================================================
   Cart page (V5 redesign)
   ================================================================= */

.rm-cart-page { max-width: 1280px; margin: 0 auto; padding: 56px 24px 80px; }
.rm-cart-page__header { margin-bottom: 32px; }
.rm-cart-page__title { font-family: var(--rm-font-display); font-size: var(--rm-text-3xl); font-weight: 700; letter-spacing: -0.02em; margin: 0 0 6px; }
.rm-cart-page__sub { color: var(--rm-fg-muted); margin: 0; font-size: 15px; }

.rm-cart-page__empty {
	text-align: center; padding: 80px 32px;
	background: var(--rm-surface); border: 1px solid var(--rm-border);
	border-radius: var(--rm-radius-lg, 16px);
}
.rm-cart-page__empty-icon { font-size: 48px; margin-bottom: 16px; }
.rm-cart-page__empty h2 { font-family: var(--rm-font-display); margin: 0 0 8px; font-size: var(--rm-text-xl); }
.rm-cart-page__empty p { color: var(--rm-fg-muted); margin: 0 0 24px; }

.rm-cart-page__layout {
	display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(320px, 1fr);
	gap: 32px; align-items: start;
}
@media (max-width: 900px) { .rm-cart-page__layout { grid-template-columns: 1fr; } }

.rm-cart-page__items { display: grid; gap: 12px; }

.rm-cart-line {
	display: grid;
	grid-template-columns: 96px 1fr auto auto auto;
	gap: 20px;
	align-items: center;
	background: var(--rm-surface);
	border: 1px solid var(--rm-border);
	border-radius: var(--rm-radius-lg, 16px);
	padding: 16px;
	transition: border-color .15s;
}
.rm-cart-line:hover { border-color: color-mix(in srgb, var(--rm-accent) 30%, var(--rm-border)); }
@media (max-width: 720px) {
	.rm-cart-line {
		grid-template-columns: 80px 1fr auto;
		grid-template-areas: "media main remove" "qty qty subtotal";
	}
	.rm-cart-line__media { grid-area: media; }
	.rm-cart-line__main { grid-area: main; }
	.rm-cart-line__qty { grid-area: qty; }
	.rm-cart-line__subtotal { grid-area: subtotal; align-self: end; }
	.rm-cart-line__remove { grid-area: remove; align-self: start; }
}

.rm-cart-line__media img { width: 96px; height: 96px; object-fit: cover; border-radius: var(--rm-radius-md, 8px); display: block; }
@media (max-width: 720px) { .rm-cart-line__media img { width: 80px; height: 80px; } }
.rm-cart-line__title { font-family: var(--rm-font-display); font-size: 17px; font-weight: 600; margin: 0 0 4px; line-height: 1.3; }
.rm-cart-line__title a { color: var(--rm-fg); text-decoration: none; }
.rm-cart-line__title a:hover { color: var(--rm-accent); }
.rm-cart-line__meta { font-size: var(--rm-text-xs); color: var(--rm-fg-muted); }
.rm-cart-line__unit-price { font-size: 13px; color: var(--rm-fg-muted); margin-top: 4px; }
.rm-cart-line__subtotal { font-family: var(--rm-font-display); font-weight: 700; font-size: var(--rm-text-md); min-width: 90px; text-align: right; }
.rm-cart-line__qty-fixed { font-weight: 600; font-size: 15px; padding: 0 8px; }
.rm-cart-line__remove {
	width: 32px; height: 32px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	background: transparent; border: 1px solid var(--rm-border); color: var(--rm-fg-muted);
	font-size: var(--rm-text-md); line-height: 1; text-decoration: none;
	transition: border-color .12s, color .12s;
}
.rm-cart-line__remove:hover { border-color: var(--rm-accent); color: var(--rm-accent); }

.rm-cart-page__row-actions {
	display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
	padding-top: 16px;
}
.rm-cart-page__coupon { display: flex; gap: 8px; flex: 1; min-width: 240px; }
.rm-cart-page__coupon input {
	flex: 1; height: 40px; padding: 0 14px;
	background: var(--rm-bg); color: var(--rm-fg);
	border: 1px solid var(--rm-border); border-radius: var(--rm-radius-md, 8px);
}

.rm-cart-page__totals {
	background: var(--rm-surface); border: 1px solid var(--rm-border);
	border-radius: var(--rm-radius-lg, 16px); padding: 24px;
	position: sticky; top: 100px;
}
.rm-cart-page__totals-title { font-family: var(--rm-font-display); font-size: var(--rm-text-md); font-weight: 700; margin: 0 0 16px; }
.rm-cart-page__totals table.shop_table { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.rm-cart-page__totals table.shop_table th, .rm-cart-page__totals table.shop_table td { padding: 12px 0; border-bottom: 1px solid var(--rm-border); text-align: left; vertical-align: top; }
.rm-cart-page__totals table.shop_table th { color: var(--rm-fg-muted); font-weight: 500; font-size: 13px; }
.rm-cart-page__totals table.shop_table td { text-align: right; font-weight: 600; font-size: var(--rm-text-sm); }
.rm-cart-page__totals .order-total td, .rm-cart-page__totals .order-total th { font-size: var(--rm-text-md); font-weight: 700; border-bottom: 0; padding-top: 16px; font-family: var(--rm-font-display); }
.rm-cart-page__totals .checkout-button {
	display: block; text-align: center; padding: 16px 24px;
	background: var(--rm-accent); color: var(--rm-on-accent);
	border-radius: var(--rm-radius-button, 999px); font-weight: 700;
	text-decoration: none; transition: transform .12s, box-shadow .12s;
	font-size: 15px;
}
.rm-cart-page__totals .checkout-button:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.rm-cart-page__reassure {
	display: flex; align-items: center; gap: 8px;
	margin: 16px 0 0; padding-top: 16px; border-top: 1px solid var(--rm-border);
	font-size: var(--rm-text-xs); color: var(--rm-fg-muted);
}
.rm-cart-page__reassure .dashicons { font-size: var(--rm-text-sm); color: var(--rm-accent); }

/* =================================================================
   Checkout (V5 - two-column layout)
   ================================================================= */

.rm-checkout { max-width: 1280px; margin: 0 auto; padding: 56px 24px 80px; }
.rm-checkout__layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(360px, 1fr); gap: 40px; align-items: start; }
@media (max-width: 900px) { .rm-checkout__layout { grid-template-columns: 1fr; gap: 24px; } }

.rm-checkout__header { margin-bottom: 32px; }
.rm-checkout__title { font-family: var(--rm-font-display); font-size: var(--rm-text-3xl); font-weight: 700; letter-spacing: -0.02em; margin: 0 0 6px; }
.rm-checkout__sub { color: var(--rm-fg-muted); margin: 0; }

.rm-checkout__panel {
	background: var(--rm-surface); border: 1px solid var(--rm-border);
	border-radius: var(--rm-radius-lg, 16px); padding: 24px;
	margin-bottom: 24px;
}
.rm-checkout__panel-title { font-family: var(--rm-font-display); font-size: var(--rm-text-md); font-weight: 700; margin: 0 0 16px; letter-spacing: -0.01em; }

.rm-checkout__customer .form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.rm-checkout__customer .form-row label { font-size: 13px; font-weight: 600; color: var(--rm-fg); }
.rm-checkout__customer .form-row input[type=text],
.rm-checkout__customer .form-row input[type=email],
.rm-checkout__customer .form-row input[type=tel],
.rm-checkout__customer .form-row input[type=password],
.rm-checkout__customer .form-row textarea,
.rm-checkout__customer .form-row select,
.rm-checkout__customer .form-row .select2-selection {
	height: 44px; padding: 0 14px;
	background: var(--rm-bg) !important; color: var(--rm-fg) !important;
	border: 1px solid var(--rm-border) !important;
	border-radius: var(--rm-radius-md, 8px) !important;
	font-size: 15px;
	transition: border-color .12s, box-shadow .12s;
}
.rm-checkout__customer .form-row textarea { height: auto; padding-top: 12px; padding-bottom: 12px; min-height: 80px; }
.rm-checkout__customer .form-row input:focus, .rm-checkout__customer .form-row textarea:focus, .rm-checkout__customer .form-row select:focus {
	outline: 0; border-color: var(--rm-accent) !important;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--rm-accent) 25%, transparent);
}
.rm-checkout__customer .form-row.form-row-first, .rm-checkout__customer .form-row.form-row-last {
	display: inline-flex; width: calc(50% - 6px);
}
.rm-checkout__customer .form-row.form-row-first { margin-right: 12px; }
.rm-checkout__customer .form-row.dob-day, .rm-checkout__customer .form-row.dob-month, .rm-checkout__customer .form-row.dob-year { display: inline-flex; width: calc(33.333% - 8px); margin-right: 12px; }
.rm-checkout__customer .form-row.dob-year { margin-right: 0; }
.rm-checkout__customer .required { color: var(--rm-accent); }

.rm-checkout__aside { min-width: 0; }
.rm-checkout__aside-sticky { position: sticky; top: 100px; }

/* Checkout review (refined) */
.rm-checkout-review {
	background: var(--rm-surface); border: 1px solid var(--rm-border);
	border-radius: var(--rm-radius-lg, 16px); padding: 24px; overflow: hidden;
}
.rm-checkout-review__header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.rm-checkout-review__title { font-family: var(--rm-font-display); font-size: var(--rm-text-md); font-weight: 700; margin: 0; letter-spacing: -0.01em; }
.rm-checkout-review__edit { font-size: 13px; color: var(--rm-accent); text-decoration: none; }
.rm-checkout-review__edit:hover { text-decoration: underline; }

.rm-checkout-review__items { display: grid; gap: 10px; margin-bottom: 16px; }
.rm-checkout-line {
	display: grid;
	grid-template-columns: 56px 1fr auto;
	gap: 12px;
	align-items: center;
	padding: 12px;
	background: var(--rm-bg);
	border-radius: var(--rm-radius-md, 8px);
}
.rm-checkout-line__media img { width: 56px; height: 56px; object-fit: cover; border-radius: var(--rm-radius-sm, 4px); display: block; }
.rm-checkout-line__title { font-size: var(--rm-text-sm); font-weight: 600; margin: 0 0 6px; line-height: 1.3; }
.rm-checkout-line__meta { font-size: 11px; color: var(--rm-fg-muted); margin-bottom: 8px; line-height: 1.4; }
.rm-checkout-line__subtotal { font-family: var(--rm-font-display); font-weight: 700; font-size: 15px; min-width: 70px; text-align: right; }

.rm-checkout-review__totals {
	display: grid; grid-template-columns: auto 1fr;
	gap: 8px 16px; padding: 16px 0; margin: 0 0 16px;
	border-top: 1px solid var(--rm-border); border-bottom: 1px solid var(--rm-border);
}
.rm-checkout-review__totals dt { color: var(--rm-fg-muted); margin: 0; font-size: 13px; }
.rm-checkout-review__totals dd { margin: 0; text-align: right; font-weight: 600; font-size: var(--rm-text-sm); }
.rm-checkout-review__total-row { font-family: var(--rm-font-display); font-size: var(--rm-text-md) !important; font-weight: 700 !important; padding-top: 8px; }

.rm-checkout-review__payment-title { font-family: var(--rm-font-display); font-size: var(--rm-text-sm); font-weight: 600; margin: 0 0 12px; letter-spacing: -0.01em; padding: 1em; padding-bottom: 0; margin-bottom: 0; }
.rm-checkout-review__payment .wc_payment_methods { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.rm-checkout-review__payment .wc_payment_method {
	background: var(--rm-bg); border: 1px solid var(--rm-border);
	border-radius: var(--rm-radius-md, 8px); padding: 12px 16px; font-size: var(--rm-text-sm);
}
.rm-checkout-review__payment .wc_payment_method label { font-weight: 500; cursor: pointer; }
.rm-checkout-review__payment .payment_box {
	margin-top: 8px; padding: 12px;
	background: color-mix(in srgb, var(--rm-fg-muted) 10%, transparent);
	border-radius: var(--rm-radius-sm, 4px); font-size: 13px;
}

.rm-checkout-review__submit {
	display: flex; align-items: center; justify-content: center; gap: 8px;
	width: 100%; padding: 18px 24px;
	background: var(--rm-accent); color: var(--rm-on-accent);
	border: 0; border-radius: var(--rm-radius-button, 999px);
	font-family: var(--rm-font-display); font-weight: 700; font-size: var(--rm-text-base);
	cursor: pointer; transition: transform .12s, box-shadow .12s;
}
.rm-checkout-review__submit:hover { transform: translateY(-1px); box-shadow: 0 8px 24px color-mix(in srgb, var(--rm-accent) 35%, transparent); }
.rm-checkout-review__submit .dashicons { font-size: var(--rm-text-md); transition: transform .12s; }
.rm-checkout-review__submit:hover .dashicons { transform: translateX(4px); }

/* Quantity stepper (shared) */
.rm-qty {
	display: inline-flex; align-items: center;
	border: 1px solid var(--rm-border);
	border-radius: var(--rm-radius-md, 8px);
	overflow: hidden; background: var(--rm-bg);
}
.rm-qty__step {
	width: 36px; height: 36px; background: transparent; border: 0; cursor: pointer;
	font-size: var(--rm-text-base); line-height: 1; color: var(--rm-fg);
	transition: background .12s;
}
.rm-qty__step:hover:not(:disabled) { background: color-mix(in srgb, var(--rm-accent) 15%, transparent); color: var(--rm-accent); }
.rm-qty__step:disabled { opacity: 0.3; cursor: not-allowed; }
.rm-qty__input {
	width: 48px; height: 36px; text-align: center; background: transparent;
	border: 0; border-left: 1px solid var(--rm-border); border-right: 1px solid var(--rm-border);
	color: inherit; font-weight: 600;
	-moz-appearance: textfield;
}
.rm-qty__input::-webkit-outer-spin-button, .rm-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
span.rm-qty__input { display: inline-flex; align-items: center; justify-content: center; user-select: none; font-family: var(--rm-font-display); }
.rm-qty--checkout { transform: scale(0.9); transform-origin: left center; margin-top: 4px; }

/* Buttons */
.rm-button {
	display: inline-flex; align-items: center; gap: 8px;
	height: 44px; padding: 0 22px;
	border: 1px solid var(--rm-border); border-radius: var(--rm-radius-button, 999px);
	background: transparent; color: var(--rm-fg); cursor: pointer;
	font-weight: 600; font-size: var(--rm-text-sm); text-decoration: none;
	transition: background .12s, border-color .12s, transform .12s;
}
.rm-button:hover { border-color: var(--rm-accent); color: var(--rm-accent); }
.rm-button--primary { background: var(--rm-accent); color: var(--rm-on-accent); border-color: var(--rm-accent); }
.rm-button--primary:hover { transform: translateY(-1px); color: var(--rm-fg); }
.rm-button--ghost { border-color: var(--rm-border); }

/* WC notices */
.woocommerce-error, .woocommerce-info, .woocommerce-message {
	background: var(--rm-surface); border: 1px solid var(--rm-border); border-left-width: 4px;
	border-radius: var(--rm-radius-md, 8px); padding: 14px 18px; margin-bottom: 16px;
	color: var(--rm-fg);
	display: flex; align-items: center; gap: 10px;
	list-style: none;
}
.woocommerce-error { border-left-color: var(--rm-accent); }
.woocommerce-message { border-left-color: var(--rm-accent-2, var(--rm-accent)); }
.woocommerce-info { border-left-color: var(--rm-fg-muted); }
.woocommerce-error a, .woocommerce-info a, .woocommerce-message a { color: var(--rm-accent); }


/* =================================================================
   V5.1 - Competition card variants (driven by Competition Card configurator)
   ================================================================= */

/* Aspect ratios */
.rm-card--aspect-4-3  .rm-card__media { aspect-ratio: 4 / 3; }
.rm-card--aspect-1-1  .rm-card__media { aspect-ratio: 1 / 1; }
.rm-card--aspect-16-9 .rm-card__media { aspect-ratio: 16 / 9; }

/* Layout: image-led (default) - already covered by .rm-card defaults */

/* Layout: compact - smaller image, info denser */
.rm-card--compact { display: flex; flex-direction: column; }
.rm-card--compact .rm-card__media { aspect-ratio: 16 / 9; }
.rm-card--compact .rm-card__title { font-size: 15px; }
.rm-card--compact .rm-card__body { padding: 12px 14px; gap: 6px; }

/* Layout: minimal - no image, text-only */
.rm-card--minimal .rm-card__media { display: none; }
.rm-card--minimal .rm-card__body { padding: 20px; gap: 10px; }
.rm-card--minimal .rm-card__title { font-size: var(--rm-text-md); }

/* Hover effects */
.rm-card--hover-lift:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.rm-card--hover-zoom .rm-card__media { overflow: hidden; }
.rm-card--hover-zoom .rm-card__media img { transition: transform .3s ease; }
.rm-card--hover-zoom:hover .rm-card__media img { transform: scale(1.05); }
.rm-card--hover-none { transition: none; }

/* CTA - bottom (block button) */
.rm-card__cta-bottom {
	display: flex; align-items: center; justify-content: center; gap: 6px;
	margin-top: 12px; padding: 10px 18px;
	border-radius: var(--rm-radius-button, 999px);
	font-weight: 600; font-size: 13px;
	transition: transform .12s, box-shadow .12s;
}
.rm-card__cta-bottom .dashicons { font-size: var(--rm-text-base); transition: transform .15s; }
.rm-card__cta-bottom.rm-card__cta--solid {
	background: var(--rm-accent); color: var(--rm-on-accent); border: 1px solid var(--rm-accent);
}
.rm-card__cta-bottom.rm-card__cta--outline {
	background: transparent; color: var(--rm-fg); border: 1px solid var(--rm-border);
}
.rm-card:hover .rm-card__cta-bottom .dashicons { transform: translateX(3px); }
.rm-card:hover .rm-card__cta-bottom.rm-card__cta--outline { border-color: var(--rm-accent); color: var(--rm-accent); }

/* CTA - overlay (only visible on hover) */
.rm-card--cta-overlay .rm-card__media { position: relative; }
.rm-card__cta-overlay {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) translateY(8px);
	padding: 10px 22px; font-weight: 700; font-size: var(--rm-text-sm);
	border-radius: var(--rm-radius-button, 999px);
	opacity: 0; transition: opacity .15s, transform .15s;
	pointer-events: none;
	white-space: nowrap;
}
.rm-card__cta-overlay.rm-card__cta--solid {
	background: var(--rm-accent); color: var(--rm-on-accent);
}
.rm-card__cta-overlay.rm-card__cta--outline {
	background: var(--rm-bg); color: var(--rm-fg); border: 1px solid var(--rm-fg);
}
.rm-card:hover .rm-card__cta-overlay {
	opacity: 1;
	transform: translate(-50%, -50%) translateY(0);
}
.rm-card--cta-overlay .rm-card__media::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.4));
	opacity: 0; transition: opacity .15s;
}
.rm-card--cta-overlay:hover .rm-card__media::after { opacity: 1; }

/* =================================================================
   V5.2 - My Account
   ================================================================= */

.rm-account {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 32px;
	max-width: 1280px; margin: 0 auto;
	padding: 56px 24px 80px;
	min-height: 60vh;
}
@media (max-width: 900px) { .rm-account { grid-template-columns: 1fr; gap: 24px; } }

.rm-account__nav {
	background: var(--rm-surface); border: 1px solid var(--rm-border);
	border-radius: var(--rm-radius-lg, 16px); padding: 20px 16px;
	position: sticky; top: 100px; align-self: start;
}
.rm-account__nav-header {
	display: flex; gap: 12px; align-items: center;
	padding: 0 8px 16px; margin-bottom: 12px;
	border-bottom: 1px solid var(--rm-border);
}
.rm-account__avatar img { border-radius: 50%; }
.rm-account__greeting-label { display: block; font-size: 11px; color: var(--rm-fg-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.rm-account__greeting-name { display: block; font-weight: 600; font-size: var(--rm-text-sm); }

.rm-account__nav-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.rm-account__nav-list li a {
	display: flex; align-items: center; gap: 10px;
	padding: 10px 12px; border-radius: var(--rm-radius-md, 8px);
	text-decoration: none; color: var(--rm-fg-muted);
	font-size: var(--rm-text-sm); font-weight: 500;
	transition: background .12s, color .12s;
}
.rm-account__nav-list li a:hover {
	background: color-mix(in srgb, var(--rm-fg) 5%, transparent);
	color: var(--rm-fg);
}
.rm-account__nav-list li.is-active a,
.rm-account__nav-list li a[aria-current="page"] {
	background: color-mix(in srgb, var(--rm-accent) 12%, transparent);
	color: var(--rm-accent); font-weight: 600;
}

.rm-account__content { min-width: 0; }

/* Dashboard */
.rm-account__welcome { margin-bottom: 24px; }
.rm-account__welcome-title { font-family: var(--rm-font-display); font-size: 28px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 6px; }
.rm-account__welcome-sub { color: var(--rm-fg-muted); margin: 0; }

.rm-account__stats {
	display: grid; grid-template-columns: 1fr 1fr 1fr;
	gap: 12px; margin-bottom: 32px;
}
@media (max-width: 560px) { .rm-account__stats { grid-template-columns: 1fr 1fr; } }
.rm-account__stat {
	background: var(--rm-surface); border: 1px solid var(--rm-border);
	border-radius: var(--rm-radius-lg, 16px); padding: 24px;
	display: flex; flex-direction: column; justify-content: center; gap: 4px;
}
.rm-account__stat-num { font-family: var(--rm-font-display); font-size: var(--rm-text-2xl); font-weight: 700; line-height: 1; }
.rm-account__stat-label { color: var(--rm-fg-muted); font-size: 13px; }
.rm-account__stat-link { color: var(--rm-accent); text-decoration: none; font-weight: 600; align-self: center; }
.rm-account__stat-link:hover { text-decoration: underline; }

.rm-account__panel {
	background: var(--rm-surface); border: 1px solid var(--rm-border);
	border-radius: var(--rm-radius-lg, 16px); padding: 24px; margin-bottom: 24px;
}
.rm-account__panel-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.rm-account__panel-title { font-family: var(--rm-font-display); font-size: var(--rm-text-md); font-weight: 700; margin: 0; }
.rm-account__panel-link { color: var(--rm-accent); font-size: 13px; text-decoration: none; }
.rm-account__panel-link:hover { text-decoration: underline; }
.rm-account__panel-empty { color: var(--rm-fg-muted); margin: 0; font-size: var(--rm-text-sm); }

.rm-account__order-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rm-account__order {
	display: grid; grid-template-columns: auto 1fr auto auto;
	gap: 16px; align-items: center;
	padding: 12px 16px;
	background: var(--rm-bg); border-radius: var(--rm-radius-md, 8px);
	font-size: var(--rm-text-sm);
}
@media (max-width: 560px) {
	.rm-account__order { grid-template-columns: 1fr 1fr; gap: 8px; }
	.rm-account__order-status { grid-column: 1; }
	.rm-account__order-total { grid-column: 2; text-align: right; }
}
.rm-account__order-id a { font-weight: 600; color: var(--rm-fg); text-decoration: none; }
.rm-account__order-id a:hover { color: var(--rm-accent); }
.rm-account__order-date { color: var(--rm-fg-muted); font-size: 13px; }
.rm-account__status-pill {
	display: inline-block; padding: 3px 10px;
	background: color-mix(in srgb, var(--rm-fg-muted) 15%, transparent);
	color: var(--rm-fg-muted);
	border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
}
.rm-account__status-pill--completed,
.rm-account__status-pill--processing {
	background: color-mix(in srgb, var(--rm-success-strong) 18%, transparent); color: var(--rm-success-strong);
}
.rm-account__status-pill--pending,
.rm-account__status-pill--on-hold { background: color-mix(in srgb, var(--rm-warning) 18%, transparent); color: var(--rm-warning); }
.rm-account__status-pill--cancelled,
.rm-account__status-pill--failed,
.rm-account__status-pill--refunded { background: color-mix(in srgb, var(--rm-accent) 18%, transparent); color: var(--rm-accent); }
.rm-account__order-total { font-weight: 700; }

.rm-account__quick-grid {
	display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
@media (max-width: 560px) { .rm-account__quick-grid { grid-template-columns: 1fr; } }
.rm-account__quick-card {
	display: flex; flex-direction: column; gap: 4px;
	padding: 24px;
	background: var(--rm-surface); border: 1px solid var(--rm-border);
	border-radius: var(--rm-radius-lg, 16px);
	text-decoration: none; color: var(--rm-fg);
	transition: border-color .12s, transform .12s;
}
.rm-account__quick-card:hover { border-color: var(--rm-accent); transform: translateY(-1px); }
.rm-account__quick-card .dashicons { font-size: var(--rm-text-lg); color: var(--rm-accent); margin-bottom: 4px; }
.rm-account__quick-card strong { font-size: var(--rm-text-sm); }
.rm-account__quick-card span:not(.dashicons) { color: var(--rm-fg-muted); font-size: 13px; }

/* WC default account content polish (orders table, address blocks, etc.) */
.rm-account__content .woocommerce-MyAccount-content { background: transparent; padding: 0; }
.rm-account__content table.woocommerce-orders-table,
.rm-account__content table.shop_table {
	width: 100%; border-collapse: collapse;
	background: var(--rm-surface); border: 1px solid var(--rm-border);
	border-radius: var(--rm-radius-lg, 16px); overflow: hidden;
}
.rm-account__content table.shop_table th,
.rm-account__content table.shop_table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--rm-border); }
.rm-account__content table.shop_table th { background: var(--rm-bg); font-weight: 600; font-size: 13px; color: var(--rm-fg-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.rm-account__content table.shop_table tr:last-child td { border-bottom: 0; }
.rm-account__content .woocommerce-Address {
	background: var(--rm-surface); border: 1px solid var(--rm-border);
	border-radius: var(--rm-radius-lg, 16px); padding: 24px; margin-bottom: 16px;
}
.rm-account__content .woocommerce-Address-title { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.rm-account__content .woocommerce-Address-title h2 { font-family: var(--rm-font-display); font-size: var(--rm-text-md); margin: 0; }
.rm-account__content .button {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 8px 16px; background: var(--rm-accent); color: var(--rm-on-accent);
	border-radius: var(--rm-radius-button, 999px); border: 0;
	font-weight: 600; text-decoration: none; cursor: pointer; font-size: var(--rm-text-sm);
}
.rm-account__content .button:hover { transform: translateY(-1px); }
.rm-account__content form .form-row { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.rm-account__content form input[type=text],
.rm-account__content form input[type=email],
.rm-account__content form input[type=password],
.rm-account__content form input[type=tel],
.rm-account__content form select,
.rm-account__content form textarea {
	padding: 10px 14px; background: var(--rm-bg); color: var(--rm-fg);
	border: 1px solid var(--rm-border); border-radius: var(--rm-radius-md, 8px);
}

/* My account: text-align overrides for table cells */
.rm-account__content table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions,
.rm-account__content table.woocommerce-orders-table .woocommerce-orders-table__cell-order-total { text-align: right; }

/* =================================================================
   V5.3 - Boxed countdown + refined card design
   ================================================================= */

/* Boxed countdown */
.rm-countdown-boxes {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 6px;
	margin: 12px 0;
}

.rm-countdown-boxes__cell {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 8px 4px;
	background: var(--rm-bg);
	border: 1px solid var(--rm-border);
	border-radius: var(--rm-radius-md, 8px);
	gap: 2px;
	min-width: 0;
}

.rm-countdown-boxes__num {
	font-family: var(--rm-font-display);
	font-weight: 700;
	font-size: var(--rm-text-lg);
	line-height: 1;
	color: var(--rm-fg);
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.02em;
}

.rm-countdown-boxes__lbl {
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--rm-fg-muted);
	line-height: 1;
}

@media (max-width: 480px) {
	.rm-countdown-boxes__num { font-size: 17px; }
	.rm-countdown-boxes__lbl { font-size: 9px; }
}

/* Narrow two-column rails: keep ticket perforations inside the cards instead
   of allowing the desktop stubs to bleed into the viewport. */
@media (max-width: 560px) {
	.rm-mgrid-2.rm-card-style-ticket .rm-card {
		overflow: hidden !important;
	}
	.rm-mgrid-2.rm-card-style-ticket .rm-card__rail::before,
	.rm-mgrid-2.rm-card-style-ticket .rm-card__rail::after {
		display: none !important;
	}
}

/* Card progress with label */
.rm-card__progress {
	position: relative;
	height: 6px;
	background: var(--rm-bg);
	border-radius: 999px;
	overflow: hidden;
	margin: 0;
}

.rm-card__progress > span {
	display: block;
	height: 6px;
	background: linear-gradient(90deg, var(--rm-accent), var(--rm-accent-2, var(--rm-accent)));
	border-radius: 999px;
	transition: width .3s ease;
}

.rm-card__progress-label {
	display: block;
	margin-top: 6px;
	font-size: 11px;
	font-weight: 600;
	color: var(--rm-fg-muted);
	letter-spacing: 0.04em;
}

/* Card meta - price prefix + amount */
.rm-card__price-prefix {
	font-size: 11px;
	color: var(--rm-fg-muted);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.rm-card__price-amount {
	font-family: var(--rm-font-display);
	font-weight: 700;
	font-size: var(--rm-text-md);
	color: var(--rm-fg);
}
.rm-card__price-amount .woocommerce-Price-amount { color: inherit; }

/* Refined card body spacing */
.rm-card__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 16px;
}

.rm-card__body > * { margin: 0; }

.rm-card__title {
	font-family: var(--rm-font-display);
	font-size: 17px;
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.3;
	color: var(--rm-fg);
}

.rm-card__sub {
	font-size: 13px;
	color: var(--rm-fg-muted);
	line-height: 1.4;
}

.rm-card__meta {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
}

/* =================================================================
   V5.4 - Bug fixes
   - My Account: make WooCommerce's own container the 2-col grid
   - My Account: title/heading colours honour brand tokens
   - Checkout/cart buttons: override WooCommerce purple with brand accent
   ================================================================= */

/* -- My Account: two-column grid on WC's real markup ----------- */
/*
 * WooCommerce outputs:
 *   <div class="woocommerce">
 *     <nav class="woocommerce-MyAccount-navigation">...</nav>
 *     <div class="woocommerce-MyAccount-content">...</div>
 *   </div>
 * See the V5.5 flex layout block below for the actual layout rules.
 * Scoped to body.rm-account-page so it never affects cart/checkout/shop.
 */

/* The nav column */
body.rm-account-page .woocommerce-MyAccount-navigation {
	background: var(--rm-surface);
	border: 1px solid var(--rm-border);
	border-radius: var(--rm-radius-lg, 16px);
	padding: 20px 16px;
	position: sticky;
	top: 100px;
	align-self: start;
}
body.rm-account-page .woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 2px;
}
body.rm-account-page .woocommerce-MyAccount-navigation li a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border-radius: var(--rm-radius-md, 8px);
	text-decoration: none;
	color: var(--rm-fg-muted);
	font-size: var(--rm-text-sm);
	font-weight: 500;
	transition: background .12s, color .12s;
}
body.rm-account-page .woocommerce-MyAccount-navigation li a:hover {
	background: color-mix(in srgb, var(--rm-fg) 6%, transparent);
	color: var(--rm-fg);
}
body.rm-account-page .woocommerce-MyAccount-navigation li.is-active a {
	background: color-mix(in srgb, var(--rm-accent) 14%, transparent);
	color: var(--rm-accent);
	font-weight: 600;
}

/* The content column */
body.rm-account-page .woocommerce-MyAccount-content {
	min-width: 0;
	color: var(--rm-fg);
}

/* -- My Account: heading + text colours honour brand tokens ---- */
body.rm-account-page,
body.rm-account-page .woocommerce-MyAccount-content,
body.rm-account-page .woocommerce-MyAccount-content p,
body.rm-account-page .rm-account__welcome-title,
body.rm-account-page .rm-account__panel-title,
body.rm-account-page .rm-account__stat-num,
body.rm-account-page .rm-account__order-id a,
body.rm-account-page h1,
body.rm-account-page h2,
body.rm-account-page h3,
body.rm-account-page h4 {
	color: var(--rm-fg);
}
body.rm-account-page .woocommerce-MyAccount-content a:not(.button) {
	color: var(--rm-accent);
}
body.rm-account-page .rm-account__welcome-sub,
body.rm-account-page .rm-account__stat-label,
body.rm-account-page .rm-account__panel-empty,
body.rm-account-page .rm-account__order-date,
body.rm-account-page .woocommerce-MyAccount-content .woocommerce-message,
body.rm-account-page address {
	color: var(--rm-fg-muted);
}

/* -- Checkout / cart buttons: kill WooCommerce purple ---------- */
/*
 * WooCommerce ships .button.alt with its own purple (#a46497 etc).
 * These selectors are more specific + cover the common WC button
 * classes so the brand accent always wins. Applies site-wide.
 */
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce .checkout-button,
.woocommerce #place_order,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
a.checkout-button.button.alt.wc-forward {
	background: var(--rm-accent) !important;
	color: var(--rm-on-accent) !important;
	border: 0 !important;
	border-radius: var(--rm-radius-button, 999px) !important;
	font-weight: 700;
	text-decoration: none;
	transition: transform .12s, box-shadow .12s, background .12s;
}
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce .checkout-button:hover,
.woocommerce #place_order:hover,
a.checkout-button.button.alt.wc-forward:hover {
	background: var(--rm-accent) !important;
	color: var(--rm-on-accent) !important;
	transform: translateY(-1px);
	box-shadow: 0 6px 20px color-mix(in srgb, var(--rm-accent) 30%, transparent);
}

/* Secondary WC buttons (e.g. "Update cart", "Apply coupon") - outline */
.woocommerce button.button[name="update_cart"],
.woocommerce button.button[name="apply_coupon"],
.woocommerce a.button.wc-backward {
	background: transparent !important;
	color: var(--rm-fg) !important;
	border: 1px solid var(--rm-border) !important;
}
.woocommerce button.button[name="update_cart"]:hover,
.woocommerce button.button[name="apply_coupon"]:hover,
.woocommerce a.button.wc-backward:hover {
	border-color: var(--rm-accent) !important;
	color: var(--rm-accent) !important;
}

/* =================================================================
   V5.5 - Fixes
   ================================================================= */

/* Card meta: top spacing so it doesn't overlap the "% sold" label */
.rm-card__meta {
	margin-top: 8px;
}

/* Winners strip: top padding so hover-lift doesn't clip the top edge */
.rm-winners-strip__rail {
	padding-top: 10px;
}

/* Payment icons: proper image sizing, subtle card look */
.rm-site-footer__payments {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	align-items: center;
}
.rm-payment-icon {
	height: 28px;
	width: auto;
	display: inline-block;
	border-radius: 4px;
	background: #fff;
	padding: 0;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
}

/* -- My Account: FLEX layout (grid wasn't working), wrap on mobile -- */
body.rm-account-page .woocommerce {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	gap: 32px;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0;
	align-items: flex-start;
}

body.rm-account-page .woocommerce-MyAccount-navigation {
	flex: 0 0 280px;
	max-width: 280px;
	background: var(--rm-surface);
	border: 1px solid var(--rm-border);
	border-radius: var(--rm-radius-lg, 16px);
	padding: 20px 16px;
	position: sticky;
	top: 100px;
	align-self: flex-start;
}

body.rm-account-page .woocommerce-MyAccount-content {
	flex: 1 1 auto;
	min-width: 0;
	color: var(--rm-fg);
}

/* Mobile: stack, wrap, and stop the sidebar being sticky */
@media (max-width: 900px) {
	body.rm-account-page .woocommerce {
		flex-wrap: wrap;
		gap: 20px;
		padding: 0;
	}
	body.rm-account-page .woocommerce-MyAccount-navigation {
		flex: 1 1 100%;
		max-width: 100%;
		position: static;
		top: auto;
	}
	body.rm-account-page .woocommerce-MyAccount-content {
		flex: 1 1 100%;
	}
}

/* Accordion headers use the same composure as the site's tabs and cards. */
.rm-product-ticket-accordion .standard_info_accordion_header,
.rm-product-instants .standard_info_accordion_header {
	display: flex !important;
	align-items: center;
	justify-content: space-between !important;
	gap: 16px;
	min-height: 54px;
	margin: 0 0 12px !important;
	padding: 14px 16px !important;
	background: color-mix(in srgb, var(--rm-accent) 5%, var(--rm-surface)) !important;
	border: 1px solid color-mix(in srgb, var(--rm-accent) 26%, var(--rm-border)) !important;
	border-radius: var(--rm-radius-md, 12px) !important;
	box-shadow: inset 0 1px 0 color-mix(in srgb, var(--rm-fg) 5%, transparent);
	color: var(--rm-fg) !important;
	font-family: var(--rm-font-display);
	font-size: var(--rm-text-base) !important;
	font-weight: 800 !important;
	line-height: 1.2;
	text-align: left !important;
	transition: background .16s ease, border-color .16s ease;
}
.rm-product-ticket-accordion .standard_info_accordion_header:focus-visible,
.rm-product-instants .standard_info_accordion_header:focus-visible {
	background: color-mix(in srgb, var(--rm-accent) 9%, var(--rm-surface)) !important;
	border-color: color-mix(in srgb, var(--rm-accent) 56%, var(--rm-border)) !important;
}
.rm-product-ticket-accordion .standard_info_accordion_header::after,
.rm-product-instants .standard_info_accordion_header::after {
	display: block !important;
	flex: 0 0 auto;
	width: 9px;
	height: 9px;
	margin-left: auto;
	content: "";
	border-right: 2px solid var(--rm-fg-muted);
	border-bottom: 2px solid var(--rm-fg-muted);
	transform: rotate(45deg) translate(-2px, -2px);
	transition: transform .18s ease, border-color .18s ease;
}
.rm-product-ticket-accordion .standard_info_accordion_header:focus-visible::after,
.rm-product-instants .standard_info_accordion_header:focus-visible::after {
	border-color: var(--rm-accent);
}
.rm-product-ticket-accordion .standard_info_accordion_header:is(.active, .is-open, [aria-expanded="true"])::after,
.rm-product-instants .standard_info_accordion_header:is(.active, .is-open, [aria-expanded="true"])::after {
	transform: rotate(-135deg) translate(-1px, -1px);
}

/* The feature CTA starts on the exact same content edge as its heading. */
.rm-featured__qa {
	padding-left: 0 !important;
}

/* Purchase cards need one confident column on narrow handsets.
   Two columns leave no room for a usable quantity and add-to-basket row. */
@media (max-width: 560px) {
	.rm-mgrid-2 .rm-grid {
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 16px !important;
	}
	.rm-mgrid-2 .rm-card:not(.rm-card--minimal) .rm-card__body {
		padding: 16px !important;
		gap: 12px !important;
	}
	.rm-mgrid-2 .rm-card__title { font-size: var(--rm-text-md) !important; }
	.rm-mgrid-2 .rm-card__sub { display: block !important; }
	.rm-mgrid-2 .rm-card__pill { font-size: 11px; padding: 5px 9px; }
	.rm-mgrid-2 .rm-card__rail { padding: 8px 12px; }
	.rm-mgrid-2 .rm-card__rail-cat,
	.rm-mgrid-2 .rm-card__gauge-left,
	.rm-mgrid-2 .rm-card__gauge-gone { font-size: 11px; }
	.rm-mgrid-2 .rm-card__timer-digits { font-size: 13px; }
	.rm-mgrid-2 .rm-card__pricebar {
		min-height: 52px !important;
		padding: 11px 14px !important;
	}
	.rm-mgrid-2 .rm-card__price-now { font-size: var(--rm-text-xl) !important; }
	.rm-mgrid-2 .rm-card__price-prefix,
	.rm-mgrid-2 .rm-card__price-per { font-size: 11px; }
	.rm-mgrid-2 .rm-card__qa { padding: 0 16px 14px !important; }
	.rm-mgrid-2 .rm-card__quickbuy { padding: 0 16px 16px !important; }
}

/* Mobile navigation is a panel of menu rows, not stretched desktop pills. */
@media (max-width: 1024px) {
	.rm-site-header__nav.is-open {
		padding: 10px 12px 12px !important;
		background: color-mix(in srgb, var(--rm-bg) 96%, var(--rm-surface)) !important;
		border-top: 1px solid color-mix(in srgb, var(--rm-fg) 5%, var(--rm-border));
		border-bottom: 1px solid var(--rm-border) !important;
		box-shadow: 0 20px 40px -30px rgba(0, 0, 0, .75);
	}
	.rm-site-header__nav .rm-site-header__menu {
		gap: 3px !important;
	}
	.rm-site-header__nav .rm-site-header__menu > li {
		margin: 0 !important;
		border: 0 !important;
	}
	.rm-site-header__nav .rm-site-header__menu > li > a {
		display: flex !important;
		align-items: center;
		min-height: 46px;
		padding: 11px 12px !important;
		border: 1px solid transparent !important;
		border-radius: var(--rm-radius-sm, 10px) !important;
		background: transparent !important;
		color: var(--rm-fg) !important;
		font-size: 15px !important;
		font-weight: 700 !important;
		line-height: 1.2;
	}
	.rm-site-header__nav .rm-site-header__menu > li > a:hover {
		background: color-mix(in srgb, var(--rm-accent) 7%, var(--rm-surface)) !important;
		border-color: color-mix(in srgb, var(--rm-accent) 26%, var(--rm-border)) !important;
		color: var(--rm-accent) !important;
	}
	.rm-site-header__nav .rm-site-header__menu > li.current-menu-item > a,
	.rm-site-header__nav .rm-site-header__menu > li.current_page_item > a {
		background: color-mix(in srgb, var(--rm-accent) 10%, var(--rm-surface)) !important;
		border-color: color-mix(in srgb, var(--rm-accent) 34%, var(--rm-border)) !important;
		box-shadow: inset 3px 0 0 var(--rm-accent);
		color: var(--rm-accent) !important;
	}
	.rm-menu-style-dropdown .rm-site-header__menu > li > .sub-menu {
		margin: 2px 0 4px !important;
		padding: 2px 0 2px 14px !important;
		border-left: 1px solid var(--rm-border) !important;
	}
	.rm-menu-style-dropdown .rm-site-header__menu > li > .sub-menu a {
		padding: 9px 10px !important;
		border: 0 !important;
		border-radius: 8px !important;
		font-size: var(--rm-text-sm) !important;
	}
}

/* The shortcode reuses .ticket-container for both prize rows and ticket tiles.
   Restore its nested ticket grid as purpose-built numbered selection cells. */
.rm-product-ticket-accordion .ticket-looper-grid {
	display: grid !important;
	grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
	gap: 10px !important;
	margin: 0 !important;
	padding: 16px !important;
	background: color-mix(in srgb, var(--rm-bg) 62%, var(--rm-surface)) !important;
	border-top: 1px solid var(--rm-border) !important;
}
.rm-product-ticket-accordion .ticket-looper-grid > .ticket-container {
	position: static !important;
	display: flex !important;
	flex-direction: column;
	align-items: center !important;
	justify-content: center !important;
	gap: 4px !important;
	min-height: 64px !important;
	margin: 0 !important;
	padding: 9px 7px !important;
	background: var(--rm-surface) !important;
	border: 1px solid var(--rm-border) !important;
	border-radius: var(--rm-radius-sm, 9px) !important;
	box-shadow: none !important;
	text-align: center !important;
	transform: none !important;
}
.rm-product-ticket-accordion .ticket-looper-grid > .ticket-container::after {
	display: none !important;
}
.rm-product-ticket-accordion .ticket-looper-grid > .ticket-container:hover {
	background: color-mix(in srgb, var(--rm-accent) 7%, var(--rm-surface)) !important;
	border-color: color-mix(in srgb, var(--rm-accent) 55%, var(--rm-border)) !important;
	transform: translateY(-1px) !important;
}
.rm-product-ticket-accordion .ticket-looper-grid > .ticket-container > .number-container,
.rm-product-ticket-accordion .ticket-looper-grid > .ticket-container > .ticket-available {
	display: block !important;
	grid-area: auto !important;
	width: auto !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	color: var(--rm-fg) !important;
	font-family: var(--rm-font-body);
	text-align: center !important;
}
.rm-product-ticket-accordion .ticket-looper-grid .ticket-number {
	color: var(--rm-fg) !important;
	font-family: var(--rm-font-display);
	font-size: 17px !important;
	font-weight: 800 !important;
	font-variant-numeric: tabular-nums;
	line-height: 1 !important;
}
.rm-product-ticket-accordion .ticket-looper-grid .ticket-available {
	color: var(--rm-success) !important;
	font-size: 10px !important;
	font-weight: 800 !important;
	letter-spacing: .05em;
	line-height: 1.1 !important;
	text-transform: uppercase;
}
.rm-product-ticket-accordion .ticket-looper-grid > .ticket-container:not(.available) {
	opacity: .48;
}
.rm-product-ticket-accordion .ticket-looper-grid > .ticket-container:not(.available) .ticket-available {
	color: var(--rm-fg-muted) !important;
}
@media (max-width: 900px) {
	.rm-product-ticket-accordion .ticket-looper-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}
@media (max-width: 560px) {
	.rm-product-ticket-accordion .ticket-looper-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		gap: 8px !important;
		padding: 12px !important;
	}
}
@media (max-width: 360px) {
	.rm-product-ticket-accordion .ticket-looper-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

/* Pagination arrows are Font Awesome glyphs, so preserve their icon face. */
.rm-product-ticket-accordion :is(.pagination-tickets, .maximum-pagination, .pagination-entry-list) > i.ticket-page-arrow.fas,
.rm-product-ticket-accordion :is(.pagination-tickets, .maximum-pagination, .pagination-entry-list) > i.ticket-page-arrow.fa {
	font-family: "Font Awesome 6 Free" !important;
	font-style: normal;
	font-weight: 900 !important;
}
@media (max-width: 480px) {
	.rm-product-ticket-accordion :is(.pagination-tickets, .maximum-pagination, .pagination-entry-list) {
		gap: 4px !important;
		padding: 8px !important;
		flex-wrap: nowrap !important;
	}
	.rm-product-ticket-accordion :is(.pagination-tickets, .maximum-pagination, .pagination-entry-list) > :is(a, button, span, .pagination-tickets-page, .prev-ticket-page, .next-ticket-page) {
		flex-basis: 30px !important;
		width: 30px !important;
		height: 30px !important;
		min-width: 30px !important;
		border-radius: 8px !important;
		font-size: var(--rm-text-xs) !important;
	}
	.rm-product-ticket-accordion :is(.pagination-tickets, .maximum-pagination, .pagination-entry-list) > :is(.prev-ticket-page, .next-ticket-page, .prev, .next, [class*="prev"], [class*="next"]) {
		flex-basis: 30px !important;
		width: 30px !important;
		min-width: 30px !important;
		font-size: var(--rm-text-sm) !important;
	}
}

/* On compact phones, a footer form needs its own row rather than a squeezed
   desktop field. This keeps the CTA usable and inside the viewport. */
@media (max-width: 440px) {
	.rm-footer-cta__inner {
		padding: 32px 18px;
	}
	.rm-footer-cta__field {
		flex-direction: column;
		border-radius: var(--rm-radius-md, 12px);
	}
	.rm-footer-cta__field input,
	.rm-footer-cta__field button {
		width: 100%;
	}
	.rm-footer-cta__note {
		margin-left: 0;
		text-align: center;
	}
	.rm-footer-newsletter {
		padding: 24px 18px;
	}
	.rm-footer-newsletter__form {
		width: 100%;
		min-width: 0;
		flex-wrap: wrap;
	}
	.rm-footer-newsletter__form input {
		min-width: 0;
	}
	.rm-footer-newsletter__form button {
		width: 100%;
	}
}

/* A compact hero keeps its visual energy without wasting mobile space. */
@media (max-width: 560px) {
	.rm-featured__inner,
	.rm-featured--standard .rm-featured__inner {
		padding: 20px 16px !important;
		gap: 18px !important;
	}
	.rm-featured__eyebrow { margin-bottom: 10px; }
	.rm-featured__title { margin-bottom: 8px; }
	.rm-featured__chips { margin-bottom: 14px; }
	.rm-featured__actions { margin-top: 16px; gap: 12px; }
}

/* Two columns remain available on mobile. Each buying flow stacks inside its card. */
@media (max-width: 560px) {
	.rm-mgrid-2 .rm-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 10px !important;
	}
	.rm-mgrid-2 .rm-card:not(.rm-card--minimal) .rm-card__body {
		padding: 12px !important;
		gap: 8px !important;
	}
	.rm-mgrid-2 .rm-card__title { font-size: var(--rm-text-sm) !important; }
	.rm-mgrid-2 .rm-card__sub { display: none !important; }
	.rm-mgrid-2 .rm-card__pill { font-size: 10px; padding: 3px 7px; }
	.rm-mgrid-2 .rm-card__rail { padding: 6px 9px; }
	.rm-mgrid-2 .rm-card__rail-cat,
	.rm-mgrid-2 .rm-card__gauge-left,
	.rm-mgrid-2 .rm-card__gauge-gone { font-size: 10px; }
	.rm-mgrid-2 .rm-card__timer-digits { font-size: var(--rm-text-xs); }
	.rm-mgrid-2 .rm-card__pricebar {
		grid-template-columns: max-content minmax(0, 1fr) !important;
		min-height: 40px !important;
		padding: 8px 9px !important;
		gap: 4px !important;
	}
	.rm-mgrid-2 .rm-card__price-now { font-size: 19px !important; }
	.rm-mgrid-2 .rm-card__price-prefix,
	.rm-mgrid-2 .rm-card__price-per { font-size: 9px; }
	.rm-mgrid-2 .rm-card__price-was { display: none; }
	.rm-mgrid-2 .rm-card__price-per { grid-column: 2; grid-row: 1; }
	.rm-mgrid-2 .rm-card__qa {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr);
		gap: 7px !important;
		padding: 0 12px 12px !important;
	}
	.rm-mgrid-2 .rm-card__qa-step {
		justify-content: center;
		width: 100%;
		min-height: 38px;
	}
	.rm-mgrid-2 .rm-card__qa-btn { width: 32px; height: 38px; }
	.rm-mgrid-2 .rm-card__qa-add {
		width: 100%;
		min-width: 0;
		min-height: 40px !important;
		padding: 0 7px;
		font-size: 10px;
		letter-spacing: .025em;
	}
	.rm-mgrid-2 .rm-card__quickbuy { padding: 0 12px 12px !important; }
	.rm-mgrid-2 .rm-card__quickbuy .rm-card__cta-bottom { min-height: 40px; font-size: var(--rm-text-xs); }
}

/* Home characters are a small, contained layer of preset-specific icon life. */
:is(.rm-home-motif-garage, .rm-home-motif-lucky, .rm-home-motif-trophy, .rm-home-motif-luxury, .rm-home-motif-playful, .rm-home-motif-sunshine) .rm-page--home::before,
:is(.rm-home-motif-garage, .rm-home-motif-lucky, .rm-home-motif-trophy, .rm-home-motif-luxury, .rm-home-motif-playful, .rm-home-motif-sunshine) .rm-page--home::after {
	content: none !important;
	animation: none !important;
}
.rm-home-motifs {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	height: auto;
	z-index: 0 !important;
	overflow: hidden;
	pointer-events: none;
}
.rm-page--home > .rm-home-motifs {
	position: absolute !important;
	z-index: 0 !important;
}
.rm-home-motif-item {
	position: absolute;
	display: grid;
	place-items: center;
	width: clamp(30px, 3.5vw, 52px);
	height: clamp(30px, 3.5vw, 52px);
	border: 1px solid color-mix(in srgb, var(--rm-accent) 18%, transparent);
	border-radius: 50%;
	background: color-mix(in srgb, var(--rm-accent) 5%, transparent);
	box-shadow: 0 12px 30px -22px color-mix(in srgb, var(--rm-accent) 76%, transparent);
	color: color-mix(in srgb, var(--rm-accent) 72%, transparent);
	font-size: clamp(13px, 1.45vw, 20px);
	opacity: .42;
	will-change: transform;
}
.rm-home-motif-item--1 { top: 6%; left: 7%; transform: rotate(-12deg); }
.rm-home-motif-item--2 { top: 12%; right: 10%; transform: rotate(9deg); color: color-mix(in srgb, var(--rm-accent-2) 72%, transparent); }
.rm-home-motif-item--3 { top: 31%; left: 18%; transform: rotate(15deg); }
.rm-home-motif-item--4 { top: 38%; right: 17%; transform: rotate(-8deg); color: color-mix(in srgb, var(--rm-accent-2) 72%, transparent); }
.rm-home-motif-item--5 { top: 57%; left: 5%; transform: rotate(8deg); }
.rm-home-motif-item--6 { top: 68%; right: 7%; transform: rotate(-16deg); color: color-mix(in srgb, var(--rm-accent-2) 72%, transparent); }
.rm-home-motif-item--7 { top: 76%; left: 28%; transform: rotate(-7deg); color: color-mix(in srgb, var(--rm-accent-2) 72%, transparent); }
.rm-home-motif-item--8 { top: 82%; right: 24%; transform: rotate(12deg); }
.rm-home-motif-item--9 { top: 90%; left: 8%; transform: rotate(9deg); }
.rm-home-motif-item--10 { top: 94%; right: 6%; transform: rotate(-11deg); color: color-mix(in srgb, var(--rm-accent-2) 72%, transparent); }
.rm-home-motif-motion-drift .rm-home-motif-item--1 { animation: rm-home-character-drift-a 18s ease-in-out infinite alternate; }
.rm-home-motif-motion-drift .rm-home-motif-item--2 { animation: rm-home-character-drift-b 21s ease-in-out infinite alternate; }
.rm-home-motif-motion-drift .rm-home-motif-item--3 { animation: rm-home-character-drift-c 19s ease-in-out infinite alternate; }
.rm-home-motif-motion-drift .rm-home-motif-item--4 { animation: rm-home-character-drift-a 23s ease-in-out infinite alternate-reverse; }
.rm-home-motif-motion-drift .rm-home-motif-item--5 { animation: rm-home-character-drift-b 20s ease-in-out infinite alternate-reverse; }
.rm-home-motif-motion-drift .rm-home-motif-item--6 { animation: rm-home-character-drift-c 24s ease-in-out infinite alternate; }
.rm-home-motif-motion-drift .rm-home-motif-item--7 { animation: rm-home-character-drift-a 22s ease-in-out infinite alternate-reverse; }
.rm-home-motif-motion-drift .rm-home-motif-item--8 { animation: rm-home-character-drift-b 18s ease-in-out infinite alternate; }
.rm-home-motif-motion-drift .rm-home-motif-item--9 { animation: rm-home-character-drift-c 23s ease-in-out infinite alternate-reverse; }
.rm-home-motif-motion-drift .rm-home-motif-item--10 { animation: rm-home-character-drift-a 20s ease-in-out infinite alternate; }
.rm-home-motif-motion-float .rm-home-motif-item--1,
.rm-home-motif-motion-float .rm-home-motif-item--4 { animation: rm-home-character-float-a 8s ease-in-out infinite; }
.rm-home-motif-motion-float .rm-home-motif-item--2,
.rm-home-motif-motion-float .rm-home-motif-item--5 { animation: rm-home-character-float-b 10s ease-in-out infinite; }
.rm-home-motif-motion-float .rm-home-motif-item--3,
.rm-home-motif-motion-float .rm-home-motif-item--6,
.rm-home-motif-motion-float .rm-home-motif-item--9 { animation: rm-home-character-float-c 9s ease-in-out infinite; }
.rm-home-motif-motion-float .rm-home-motif-item--7,
.rm-home-motif-motion-float .rm-home-motif-item--10 { animation: rm-home-character-float-a 11s ease-in-out infinite; }
.rm-home-motif-motion-float .rm-home-motif-item--8 { animation: rm-home-character-float-b 12s ease-in-out infinite; }
@keyframes rm-home-character-drift-a { to { transform: translate3d(38px, 62px, 0) rotate(8deg); } }
@keyframes rm-home-character-drift-b { to { transform: translate3d(-46px, 44px, 0) rotate(-10deg); } }
@keyframes rm-home-character-drift-c { to { transform: translate3d(30px, -36px, 0) rotate(13deg); } }
@keyframes rm-home-character-float-a { 50% { transform: translate3d(15px, -16px, 0) rotate(8deg); } }
@keyframes rm-home-character-float-b { 50% { transform: translate3d(-13px, 18px, 0) rotate(-10deg); } }
@keyframes rm-home-character-float-c { 50% { transform: translate3d(10px, 13px, 0) rotate(11deg); } }
:root[data-rm-mode="light"] .rm-home-motif-item { opacity: .28; }
@media (max-width: 720px) {
	.rm-home-motifs { height: auto; }
	.rm-home-motif-item { opacity: .30; }
	.rm-home-motif-item--1 { top: 4%; left: 5%; }
	.rm-home-motif-item--2 { top: 14%; right: 5%; }
	.rm-home-motif-item--3 { top: 34%; left: 8%; }
	.rm-home-motif-item--4 { top: 46%; right: 7%; }
	.rm-home-motif-item--5 { top: 63%; left: 6%; }
	.rm-home-motif-item--6 { top: 72%; right: 6%; }
	.rm-home-motif-item--7 { top: 85%; left: 16%; }
	.rm-home-motif-item--8,
	.rm-home-motif-item--9,
	.rm-home-motif-item--10 { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.rm-home-motif-item { animation: none !important; }
}

/* Mobile home rhythm: compact cards, framed CTAs and no redundant hero gap. */
@media (max-width: 560px) {
	.rm-mgrid-2 .rm-card__price-now {
		font-size: 17px !important;
	}
	.rm-page--home .rm-cta-banner {
		width: auto;
		margin-right: 12px !important;
		margin-left: 12px !important;
	}
	.rm-page--home > .rm-featured.rm-featured--standard.rm-featured--layout-classic {
		margin-top: 0 !important;
	}
	.rm-page--home > section:first-child {
		padding-top: 14px;
	}
}

/* The prize disclosure is one composed surface, including its open state. */
.rm-product-ticket-accordion .standard_info_accordion_header {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	margin: 0 !important;
	padding: 18px 20px !important;
	border: 1px solid color-mix(in srgb, var(--rm-accent) 30%, var(--rm-border)) !important;
	border-bottom: 1px solid color-mix(in srgb, var(--rm-accent) 30%, var(--rm-border)) !important;
	border-radius: var(--rm-radius-md, 12px) !important;
	background: color-mix(in srgb, var(--rm-accent) 6%, var(--rm-surface)) !important;
	box-shadow: inset 0 1px 0 color-mix(in srgb, var(--rm-fg) 5%, transparent), 0 10px 22px -22px rgba(0, 0, 0, .8) !important;
}
.rm-product-ticket-accordion .standard_info_accordion_header > * {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}
.rm-product-ticket-accordion .standard_info_accordion_header:is(.active, .is-open, [aria-expanded="true"]) {
	border-color: color-mix(in srgb, var(--rm-accent) 68%, var(--rm-border)) !important;
	background: color-mix(in srgb, var(--rm-accent) 12%, var(--rm-surface)) !important;
	border-bottom-left-radius: 0 !important;
	border-bottom-right-radius: 0 !important;
}
.rm-product-ticket-accordion .standard_info_accordion_header:is(.active, .is-open, [aria-expanded="true"]) + * {
	margin-top: 0 !important;
	border-top-left-radius: 0 !important;
	border-top-right-radius: 0 !important;
}

/* Product media uses a frame glow, never a padded content shell. */
.rm-product-hero__media > .rm-shell,
.rm-product-hero__media > .rm-shell--glow {
	position: relative;
	isolation: isolate;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border-radius: 0 !important;
	overflow: visible !important;
}
.rm-product-hero__media > .rm-shell--glow::before {
	position: absolute;
	z-index: 0;
	inset: 6% -4%;
	content: "";
	border-radius: var(--rm-radius-lg, 20px);
	background: radial-gradient(58% 62% at 50% 40%, color-mix(in srgb, var(--rm-accent) 40%, transparent), transparent 72%);
	filter: blur(28px);
	opacity: .55;
	pointer-events: none;
}
.rm-product-hero__media > .rm-shell--glow > .rm-gallery {
	position: relative;
	z-index: 1;
	max-width: none;
	margin: 0;
}
.rm-product-hero__media > .rm-shell--glow .rm-gallery__main {
	box-shadow: 0 22px 48px -30px color-mix(in srgb, var(--rm-accent) 62%, transparent), 0 16px 34px -26px rgba(0, 0, 0, .75);
}
:root[data-rm-mode="light"] .rm-product-hero__media > .rm-shell--glow::before {
	opacity: .34;
}

/* Desktop header: brand and navigation are separate groups, not one cluster. */
@media (min-width: 1025px) {
	.rm-site-header:not(.rm-header-style-split) .rm-site-header__nav {
		margin-left: clamp(24px, 3vw, 46px);
	}
	.rm-site-header:not(.rm-header-style-split) .rm-site-header__menu {
		gap: clamp(10px, 1.25vw, 18px);
	}
}

/* Dense home characters create a textured field without competing with copy. */
.rm-home-motifs .rm-home-motif-item {
	top: var(--rm-motif-y) !important;
	left: var(--rm-motif-x) !important;
	right: auto !important;
	width: clamp(32px, 2.75vw, 48px);
	height: clamp(32px, 2.75vw, 48px);
	border-color: color-mix(in srgb, var(--rm-accent) 20%, transparent);
	background: color-mix(in srgb, var(--rm-accent) 5%, transparent);
	box-shadow: 0 12px 28px -18px color-mix(in srgb, var(--rm-accent) 78%, transparent);
	font-size: clamp(16px, 1.35vw, 24px);
	opacity: .40;
	transform: rotate(var(--rm-motif-rot)) !important;
	animation: none !important;
}
.rm-home-motif-motion-drift .rm-home-motifs .rm-home-motif-item {
	animation: rm-home-character-dense-drift var(--rm-motif-duration) ease-in-out var(--rm-motif-delay) infinite alternate !important;
}
.rm-home-motif-motion-float .rm-home-motifs .rm-home-motif-item {
	animation: rm-home-character-dense-float var(--rm-motif-duration) ease-in-out var(--rm-motif-delay) infinite !important;
}
@keyframes rm-home-character-dense-drift {
	from { transform: translate3d(0, 0, 0) rotate(var(--rm-motif-rot)); }
	to { transform: translate3d(18px, -24px, 0) rotate(calc(var(--rm-motif-rot) + 12deg)); }
}
@keyframes rm-home-character-dense-float {
	0%, 100% { transform: translate3d(0, 0, 0) rotate(var(--rm-motif-rot)); }
	50% { transform: translate3d(-10px, 14px, 0) rotate(calc(var(--rm-motif-rot) - 8deg)); }
}
:root[data-rm-mode="light"] .rm-home-motifs .rm-home-motif-item { opacity: .29; }
@media (max-width: 720px) {
	.rm-home-motifs .rm-home-motif-item {
		width: 25px;
		height: 25px;
		font-size: var(--rm-text-xs);
		opacity: .32;
	}
	.rm-home-motifs .rm-home-motif-item:nth-child(n + 41) { display: none; }
}

.rm-featured--standard .rm-featured__inner {
	min-height: 420px;
	padding: 36px 48px;
	padding-top: 0 !important;
	margin-top: 0;
}
@media (max-width: 560px) {
	.rm-featured--standard .rm-featured__inner {
		padding: 0 16px 20px !important;
	}
}

/* Suppress WooCommerce's default ::before icons on notices
   (the theme styles notices without them). */
.woocommerce-info::before,
.woocommerce-message::before,
.woocommerce-error::before {
	display: none !important;
}
.woocommerce-info,
.woocommerce-message,
.woocommerce-error {
	padding-left: 18px !important;
}

/* =================================================================
   V5.6 - Winners list shortcode + finished-card winner + fixes
   ================================================================= */

/* [winners_list] output */
.winner-entry-list-parent { display: grid; gap: 24px; max-width: 760px; margin: 0 auto; }
.winner-loop-box {
	background: var(--rm-surface);
	border: 1px solid var(--rm-border);
	border-radius: var(--rm-radius-lg, 16px);
	padding: 20px 24px;
}
.winners-date-loop {
	font-family: var(--rm-font-display);
	font-size: 15px;
	font-weight: 700;
	color: var(--rm-accent);
	margin: 0 0 12px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--rm-border);
	letter-spacing: 0.02em;
}
.winner-loop-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.winner-loop-box li { font-size: var(--rm-text-sm); color: var(--rm-fg); line-height: 1.5; }
.winner-loop-box li strong { color: var(--rm-fg); font-weight: 700; }
.no-winners-found-dr { text-align: center; color: var(--rm-fg-muted); padding: 40px 0; }
.draw_results_pagination { display: flex; gap: 10px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.draw_results_pagination a {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 36px; height: 36px; padding: 0 10px;
	background: var(--rm-surface); border: 1px solid var(--rm-border);
	border-radius: var(--rm-radius-md, 8px);
	color: var(--rm-fg); text-decoration: none; font-weight: 600; font-size: var(--rm-text-sm);
	transition: border-color .12s, color .12s;
}
.draw_results_pagination a:hover { border-color: var(--rm-accent); color: var(--rm-accent); }
.draw_results_pagination a.active { background: var(--rm-accent); color: var(--rm-on-accent); border-color: var(--rm-accent); }

/* Finished-competition card: winner display replacing countdown */
.rm-card__winner {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 12px 0;
	padding: 10px 14px;
	background: color-mix(in srgb, var(--rm-accent) 10%, transparent);
	border: 1px solid color-mix(in srgb, var(--rm-accent) 30%, transparent);
	border-radius: var(--rm-radius-md, 8px);
}
.rm-card__winner-label {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--rm-accent);
	flex: 0 0 auto;
}
.rm-card__winner-name {
	font-family: var(--rm-font-display);
	font-weight: 700;
	font-size: 15px;
	color: var(--rm-fg);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.rm-card__winner-ticket {
	margin-left: auto;
	font-size: var(--rm-text-xs);
	color: var(--rm-fg-muted);
	flex: 0 0 auto;
}
.rm-card--finished { position: relative; }
.rm-card--finished .rm-card__ended-badge {
	position: absolute; top: 12px; right: 12px; z-index: 2;
	padding: 4px 10px;
	background: rgba(0,0,0,0.7); color: #fff;
	border-radius: 999px; font-size: 11px; font-weight: 700;
	text-transform: uppercase; letter-spacing: 0.06em;
}

/* Card meta: bump top spacing to 15px */
.rm-card__meta { margin-top: 15px; }

/* Footer payments: never wrap, keep cards in a row, give the bottom bar room */
.rm-site-footer__bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
}
.rm-site-footer__payments {
	display: flex;
	flex-wrap: nowrap;
	flex-shrink: 0;
	gap: 8px;
	align-items: center;
}
.rm-site-footer__payments .rm-payment-icon {
	flex: 0 0 auto;
}


/* =================================================================
   V5.8 - Footer redesign (brand-left / columns-right, premium)
   Fully token-based; adapts across all brand presets.
   ================================================================= */

.rm-site-footer {
	position: relative;
	background: var(--rm-surface);
	border-top: 1px solid var(--rm-border);
	margin-top: 100px;
}

/* Reset the old centered inner; new footer is left-aligned structured */
.rm-site-footer__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px 40px;
	display: block;
	text-align: left;
}

/* -- Newsletter CTA band (prominent, full-width, sits at the top) -- */
.rm-footer-cta {
	background:
		radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--rm-accent) 22%, transparent), transparent 60%),
		radial-gradient(120% 140% at 100% 100%, color-mix(in srgb, var(--rm-accent-2, var(--rm-accent)) 20%, transparent), transparent 60%),
		var(--rm-bg);
	border-bottom: 1px solid var(--rm-border);
}
.rm-footer-cta__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 48px 24px;
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 40px;
}
@media (max-width: 900px) {
	.rm-footer-cta__inner { grid-template-columns: 1fr; gap: 24px; padding: 40px 24px; }
}
.rm-footer-cta__title {
	font-family: var(--rm-font-display);
	font-size: 30px;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.1;
	margin: 0 0 8px;
	color: var(--rm-fg);
}
@media (max-width: 900px) { .rm-footer-cta__title { font-size: var(--rm-text-xl); } }
.rm-footer-cta__sub {
	font-size: var(--rm-text-base);
	color: var(--rm-fg-muted);
	margin: 0;
	max-width: 42ch;
}
.rm-footer-cta__form { width: 100%; max-width: 440px; justify-self: end; }
@media (max-width: 900px) { .rm-footer-cta__form { justify-self: stretch; max-width: none; } }
.rm-footer-cta__field {
	display: flex;
	gap: 8px;
	background: var(--rm-surface);
	border: 1px solid var(--rm-border);
	border-radius: var(--rm-radius-button, 999px);
	padding: 6px;
	transition: border-color .15s, box-shadow .15s;
}
.rm-footer-cta__field:focus-within {
	border-color: var(--rm-accent);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--rm-accent) 18%, transparent);
}
.rm-footer-cta__field input {
	flex: 1;
	min-width: 0;
	height: 44px;
	padding: 0 18px;
	background: transparent;
	border: 0;
	color: var(--rm-fg);
	font-size: 15px;
}
.rm-footer-cta__field input:focus { outline: 0; }
.rm-footer-cta__field button {
	flex: 0 0 auto;
	height: 44px;
	padding: 0 26px;
	background: var(--rm-accent);
	color: var(--rm-on-accent);
	border: 0;
	border-radius: var(--rm-radius-button, 999px);
	font-weight: 700;
	font-size: 15px;
	cursor: pointer;
	transition: transform .12s, box-shadow .12s, filter .12s;
}
.rm-footer-cta__field button:hover {
	transform: translateY(-1px);
	filter: brightness(1.05);
	box-shadow: 0 8px 20px -6px color-mix(in srgb, var(--rm-accent) 50%, transparent);
}
.rm-footer-cta__note {
	margin: 10px 0 0 18px;
	font-size: var(--rm-text-xs);
	color: var(--rm-fg-muted);
}

/* -- Main row: brand left, link columns right -- */
.rm-footer-main {
	display: grid;
	grid-template-columns: minmax(260px, 1.4fr) 2.6fr;
	gap: 64px;
	padding: 64px 0 48px;
}
@media (max-width: 900px) {
	.rm-footer-main { grid-template-columns: 1fr; gap: 40px; }
}

/* Brand block */
.rm-footer-brand { max-width: 340px; }
@media (max-width: 900px) { .rm-footer-brand { max-width: none; } }
.rm-footer-brand__logo img,
.rm-footer-brand__logo .custom-logo {
	max-height: 44px;
	width: auto;
	margin-bottom: 16px;
}
.rm-footer-brand__name {
	display: inline-block;
	font-family: var(--rm-font-display);
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--rm-fg);
	text-decoration: none;
	margin-bottom: 16px;
}
.rm-footer-brand__tagline {
	font-size: var(--rm-text-sm);
	line-height: 1.6;
	color: var(--rm-fg-muted);
	margin: 0 0 20px;
}
.rm-footer-brand__social {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.rm-footer-brand__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 34px;
	padding: 0 16px;
	border: 1px solid var(--rm-border);
	border-radius: var(--rm-radius-button, 999px);
	color: var(--rm-fg-muted);
	text-decoration: none;
	font-size: 13px;
	font-weight: 500;
	transition: border-color .12s, color .12s, background .12s, transform .12s;
}
.rm-footer-brand__social a:hover {
	border-color: var(--rm-accent);
	color: var(--rm-accent);
	background: color-mix(in srgb, var(--rm-accent) 8%, transparent);
	transform: translateY(-1px);
}
.rm-footer-brand__email {
	display: inline-block;
	font-size: var(--rm-text-sm);
	font-weight: 600;
	color: var(--rm-fg);
	text-decoration: none;
	border-bottom: 1px solid var(--rm-accent);
	padding-bottom: 2px;
	transition: color .12s;
}
.rm-footer-brand__email:hover { color: var(--rm-accent); }

/* Link columns */
.rm-footer-links {
	display: grid;
	grid-template-columns: repeat(var(--rm-footer-cols, 4), minmax(0, 1fr));
	gap: 32px;
}
@media (max-width: 720px) {
	.rm-footer-links { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
}
.rm-footer-links__col .rm-footer-widget__title,
.rm-footer-links__col .widget-title,
.rm-footer-links__col h4,
.rm-footer-links__col h3 {
	font-family: var(--rm-font-body);
	font-size: var(--rm-text-xs);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--rm-fg);
	margin: 0 0 16px;
}
.rm-footer-links__col ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}
.rm-footer-links__col ul a,
.rm-footer-links__col a {
	font-size: var(--rm-text-sm);
	color: var(--rm-fg-muted);
	text-decoration: none;
	transition: color .12s, transform .12s;
	display: inline-block;
}
.rm-footer-links__col ul a:hover {
	color: var(--rm-accent);
	transform: translateX(3px);
}

/* -- Bottom bar -- */
.rm-footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
	padding-top: 28px;
	border-top: 1px solid var(--rm-border);
}
.rm-footer-bottom__left {
	display: flex;
	align-items: center;
	gap: 8px 20px;
	flex-wrap: wrap;
}
.rm-footer-bottom__copy {
	margin: 0;
	font-size: 13px;
	color: var(--rm-fg-muted);
}
.rm-footer-bottom__legal {
	font-size: var(--rm-text-xs);
	color: var(--rm-fg-muted);
	padding: 4px 10px;
	background: color-mix(in srgb, var(--rm-fg-muted) 12%, transparent);
	border-radius: var(--rm-radius-button, 999px);
	font-weight: 600;
}
.rm-footer-bottom__nav { display: inline-flex; }
.rm-footer-bottom__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}
.rm-footer-bottom__menu a {
	font-size: 13px;
	color: var(--rm-fg-muted);
	text-decoration: none;
	transition: color .12s;
}
.rm-footer-bottom__menu a:hover { color: var(--rm-fg); }

.rm-footer-bottom__payments {
	display: flex;
	flex-wrap: nowrap;
	flex-shrink: 0;
	gap: 8px;
	align-items: center;
}
.rm-footer-bottom__payments .rm-payment-icon {
	height: 30px;
	width: auto;
	flex: 0 0 auto;
	border-radius: 5px;
	background: #fff;
	box-shadow: 0 0 0 1px rgba(0,0,0,0.06);
	transition: transform .12s;
}
.rm-footer-bottom__payments .rm-payment-icon:hover { transform: translateY(-2px); }

/* -- Accent-background footer variant readability -- */
.rm-site-footer--accent { background: var(--rm-accent); }
.rm-site-footer--accent .rm-footer-brand__name,
.rm-site-footer--accent .rm-footer-cta__title,
.rm-site-footer--accent .rm-footer-links__col h3,
.rm-site-footer--accent .rm-footer-links__col h4,
.rm-site-footer--accent .rm-footer-links__col .rm-footer-widget__title,
.rm-site-footer--accent .rm-footer-brand__email { color: var(--rm-on-accent); }
.rm-site-footer--accent .rm-footer-brand__tagline,
.rm-site-footer--accent .rm-footer-cta__sub,
.rm-site-footer--accent .rm-footer-links__col a,
.rm-site-footer--accent .rm-footer-bottom__copy,
.rm-site-footer--accent .rm-footer-bottom__menu a { color: color-mix(in srgb, var(--rm-on-accent) 80%, transparent); }
.rm-site-footer--accent .rm-footer-links__col a:hover,
.rm-site-footer--accent .rm-footer-brand__social a:hover { color: var(--rm-on-accent); }
.rm-site-footer--accent .rm-footer-brand__social a { border-color: color-mix(in srgb, var(--rm-on-accent) 30%, transparent); color: color-mix(in srgb, var(--rm-on-accent) 80%, transparent); }
.rm-site-footer--accent .rm-footer-main,
.rm-site-footer--accent .rm-footer-bottom { border-color: color-mix(in srgb, var(--rm-on-accent) 20%, transparent); }
.rm-site-footer--accent .rm-footer-bottom { border-top-color: color-mix(in srgb, var(--rm-on-accent) 20%, transparent); }

/* Background variant: bg instead of surface */
.rm-site-footer--bg { background: var(--rm-bg); }

/* Footer link fallback menu (when no widgets set) */
.rm-footer-links--menu .rm-footer-menu-fallback {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}
.rm-footer-links--menu .rm-footer-menu-fallback a {
	font-size: var(--rm-text-sm);
	color: var(--rm-fg-muted);
	text-decoration: none;
	transition: color .12s, transform .12s;
	display: inline-block;
}
.rm-footer-links--menu .rm-footer-menu-fallback a:hover {
	color: var(--rm-accent);
	transform: translateX(3px);
}

/* Current rewards table: borderless cells */
#current-rewards-container th,
#current-rewards-container td {
	border: none !important;
}

/* =================================================================
   V5.9.1 - My Account content column sizing
   my-account.php renders .rm-account__content in place of
   WooCommerce's .woocommerce-MyAccount-content, so the flex sizing
   and colour rules never matched and the column collapsed to its
   content width. Target both class names.
   ================================================================= */

body.rm-account-page .rm-account__content {
	flex: 1 1 auto;
	min-width: 0;
	color: var(--rm-fg);
}

/* Desktop: fill the space left by the 280px sidebar, with a sane floor.
   min() keeps it from ever overflowing a narrow container. */
@media (min-width: 901px) {
	body.rm-account-page .rm-account__content,
	body.rm-account-page .woocommerce-MyAccount-content {
		min-width: min(560px, 100%);
	}
}

@media (max-width: 900px) {
	body.rm-account-page .rm-account__content {
		flex: 1 1 100%;
		min-width: 0;
	}
}

/* Colour rules that were also stranded on the WooCommerce class */
body.rm-account-page .rm-account__content p,
body.rm-account-page .rm-account__content h1,
body.rm-account-page .rm-account__content h2,
body.rm-account-page .rm-account__content h3,
body.rm-account-page .rm-account__content h4 { color: var(--rm-fg); }
body.rm-account-page .rm-account__content a:not(.button) { color: var(--rm-accent); }

/* =================================================================
   V6 - Premium conversion sections + quick-buy cards + product page
   All token-based; adapts across every brand preset.
   ================================================================= */

/* -- Live stats bar ------------------------------------------- */
.rm-stats-bar {
	background: linear-gradient(90deg,
		color-mix(in srgb, var(--rm-accent) 14%, var(--rm-surface)),
		var(--rm-surface) 40%,
		var(--rm-surface) 60%,
		color-mix(in srgb, var(--rm-accent-2, var(--rm-accent)) 14%, var(--rm-surface)));
	border-top: 1px solid var(--rm-border);
	border-bottom: 1px solid var(--rm-border);
}
.rm-stats-bar__inner {
	max-width: 1280px; margin: 0 auto; padding: 14px 24px;
	display: grid; grid-template-columns: repeat(4, 1fr);
	gap: 8px; align-items: center;
}
@media (max-width: 720px) {
	.rm-stats-bar__inner { grid-template-columns: 1fr 1fr; gap: 16px 8px; padding: 16px; }
}
.rm-stats-bar__item {
	display: flex; flex-direction: column; align-items: center; gap: 2px;
	text-align: center; position: relative;
}
.rm-stats-bar__item:not(:last-child)::after {
	content: ""; position: absolute; right: -4px; top: 50%; transform: translateY(-50%);
	width: 1px; height: 28px; background: var(--rm-border);
}
@media (max-width: 720px) { .rm-stats-bar__item::after { display: none !important; } }
.rm-stats-bar__value {
	font-family: var(--rm-font-display); font-weight: 700; font-size: var(--rm-text-lg);
	color: var(--rm-fg); line-height: 1; font-variant-numeric: tabular-nums;
}
.rm-stats-bar__value--timer { font-size: 17px; letter-spacing: 0.02em; }
.rm-stats-bar__label {
	font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em;
	color: var(--rm-fg-muted); font-weight: 600;
}
.rm-stats-bar__pulse {
	width: 7px; height: 7px; border-radius: 50%; background: var(--rm-success-strong);
	box-shadow: 0 0 0 0 rgba(22,163,74,0.5); animation: rm-pulse 1.8s infinite;
	margin-bottom: 2px;
}
@keyframes rm-pulse {
	0%   { box-shadow: 0 0 0 0 rgba(22,163,74,0.5); }
	70%  { box-shadow: 0 0 0 8px rgba(22,163,74,0); }
	100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); }
}

/* -- Live winners feed (scrolling ticker) --------------------- */
.rm-winfeed {
	max-width: 1280px; margin: 0 auto; padding: 40px 0;
	overflow: hidden;
}
.rm-winfeed__head { padding: 0 24px; margin-bottom: 20px; }
.rm-winfeed__eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: var(--rm-text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
	color: var(--rm-accent);
}
.rm-winfeed__dot {
	width: 8px; height: 8px; border-radius: 50%; background: var(--rm-danger);
	animation: rm-pulse-red 1.6s infinite;
}
@keyframes rm-pulse-red {
	0% { box-shadow: 0 0 0 0 rgba(239,68,68,0.5); }
	70% { box-shadow: 0 0 0 7px rgba(239,68,68,0); }
	100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); }
}
.rm-winfeed__title {
	font-family: var(--rm-font-display); font-size: 26px; font-weight: 700;
	letter-spacing: -0.02em; margin: 6px 0 0; color: var(--rm-fg);
}
.rm-winfeed__rail-wrap {
	position: relative;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.rm-winfeed__rail {
	display: flex; gap: 12px; width: max-content;
	animation: rm-winfeed-scroll 60s linear infinite;
}
.rm-winfeed__rail-wrap:hover .rm-winfeed__rail,
.rm-winfeed__rail-wrap:focus-within .rm-winfeed__rail { animation-play-state: paused; }
@keyframes rm-winfeed-scroll {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}
/* mobile: swipe it by hand - the moving transform fights touch-scroll, so drop it */
@media (max-width: 560px) {
	.rm-winfeed__rail-wrap {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		-webkit-mask-image: none; mask-image: none;
	}
	.rm-winfeed__rail { animation: none; }
}
/* accessibility: honour reduced-motion */
@media (prefers-reduced-motion: reduce) {
	.rm-winfeed__rail { animation: none; }
}
.rm-winfeed__item {
	display: flex; align-items: center; gap: 12px;
	flex: 0 0 auto; width: 260px;
	padding: 12px 16px;
	background: var(--rm-surface); border: 1px solid var(--rm-border);
	border-radius: var(--rm-radius-lg, 16px);
	text-decoration: none; color: var(--rm-fg);
	transition: border-color .12s, transform .12s;
}
.rm-winfeed__item:hover { border-color: var(--rm-accent); transform: translateY(-2px); }
.rm-winfeed__thumb img {
	width: 44px; height: 44px; border-radius: 10px; object-fit: cover; display: block;
}
.rm-winfeed__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rm-winfeed__prize {
	font-weight: 700; font-size: var(--rm-text-sm); color: var(--rm-fg);
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 180px;
}
.rm-winfeed__meta { font-size: var(--rm-text-xs); color: var(--rm-fg-muted); }

/* -- Trust row ------------------------------------------------ */
.rm-trust { max-width: 1280px; margin: 0 auto; padding: 32px 24px; }
.rm-trust__inner {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
@media (max-width: 900px) { .rm-trust__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .rm-trust__inner { grid-template-columns: 1fr; } }
.rm-trust__badge {
	display: flex; flex-direction: column; align-items: center; gap: 4px;
	padding: 24px 16px; text-align: center;
	background: var(--rm-surface); border: 1px solid var(--rm-border);
	border-radius: var(--rm-radius-lg, 16px); text-decoration: none;
	transition: border-color .12s, transform .12s;
}
a.rm-trust__badge:hover { border-color: var(--rm-accent); transform: translateY(-2px); }
.rm-trust__stars { color: #f5b301; font-size: var(--rm-text-md); letter-spacing: 2px; }
.rm-trust__icon { font-size: 26px; color: var(--rm-accent); width: auto; height: auto; }
.rm-trust__badge-title { font-family: var(--rm-font-display); font-weight: 700; font-size: 15px; color: var(--rm-fg); }
.rm-trust__badge-sub { font-size: var(--rm-text-xs); color: var(--rm-fg-muted); line-height: 1.4; }

/* -- Card quick-buy row --------------------------------------- */
.rm-card__quickbuy {
	display: flex; align-items: center; gap: 8px;
	padding: 0 16px 16px;
}
/* The existing bottom CTA now sits in the action row, flexing to fill
   the space left of the cart icon. */
.rm-card__quickbuy .rm-card__cta-bottom {
	flex: 1 1 auto; margin-top: 0;
	text-decoration: none;
}
.rm-card__quickbuy-cart {
	flex: 0 0 auto; width: 44px; height: 44px;
	display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid color-mix(in srgb, var(--rm-accent) 35%, var(--rm-border));
	border-radius: var(--rm-radius-md, 8px);
	background: color-mix(in srgb, var(--rm-accent) 10%, transparent);
	color: var(--rm-fg); cursor: pointer; font-size: var(--rm-text-base);
	transition: border-color .12s, color .12s, background .12s, transform .1s;
}
.rm-card__quickbuy-cart:hover {
	border-color: var(--rm-accent); color: var(--rm-on-accent);
	background: var(--rm-accent);
}
.rm-card__quickbuy-cart:active { transform: scale(0.94); }

/* -- Product page premium hero -------------------------------- */
.rm-product-hero__tag {
	display: inline-block; margin-bottom: 12px;
	padding: 5px 12px; border-radius: var(--rm-radius-button, 999px);
	background: color-mix(in srgb, var(--rm-accent) 12%, transparent);
	color: var(--rm-accent); font-size: 11px; font-weight: 700;
	text-transform: uppercase; letter-spacing: 0.06em;
}
.rm-product-hero__sub {
	font-size: 17px; color: var(--rm-fg-muted); margin: 0 0 20px; line-height: 1.5;
}
.rm-product-hero__cashalt {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 8px 14px; margin-bottom: 20px;
	background: color-mix(in srgb, var(--rm-success-strong) 12%, transparent);
	border: 1px solid color-mix(in srgb, var(--rm-success-strong) 30%, transparent);
	border-radius: var(--rm-radius-md, 8px);
	color: var(--rm-success-strong); font-weight: 600; font-size: var(--rm-text-sm);
}
.rm-product-hero__cashalt .dashicons { font-size: var(--rm-text-md); }

/* -- Product instant-wins accordion wrapper ------------------- */
.rm-product-instants {
	max-width: 1180px; margin: 48px auto; padding: 0 24px;
}
.rm-product-instants__head { text-align: center; margin-bottom: 24px; }
.rm-product-instants__eyebrow {
	display: inline-flex; align-items: center; gap: 6px;
	font-size: var(--rm-text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
	color: var(--rm-accent);
}
.rm-product-instants__bolt { font-size: 15px; }
.rm-product-instants__title {
	font-family: var(--rm-font-display); font-size: 28px; font-weight: 700;
	letter-spacing: -0.02em; margin: 8px 0 6px; color: var(--rm-fg);
}
.rm-product-instants__sub { color: var(--rm-fg-muted); margin: 0; font-size: 15px; }
.rm-product-instants__body {
	margin-top: 24px;
	background: var(--rm-surface); border: 1px solid var(--rm-border);
	border-radius: var(--rm-radius-lg, 16px); padding: 8px 20px;
}

/* =================================================================
   V6.1 - WoodMart tab restyle + card sold-count
   ================================================================= */

/* Card progress meta: "Sold: 29%" + raw count, Easy Living style */
.rm-card__progress-meta {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin: 6px 0 0;
	font-size: var(--rm-text-xs);
}
.rm-card__progress-pct {
	font-weight: 700;
	color: var(--rm-fg);
	letter-spacing: 0.02em;
}
.rm-card__progress-count {
	color: var(--rm-fg-muted);
	font-variant-numeric: tabular-nums;
	font-weight: 600;
}

/* -- WoodMart instant-wins / main-prizes tabs (wd-nav-tabs) ------
   This markup is generated by WoodMart / the instant-wins plugin,
   not by RaffMaster, so we style the exact classes it outputs and
   scope to the product page so nothing else is affected. Token-based
   so it follows the active preset. */
.rm-page--product .wd-nav-tabs,
.rm-product-instants .wd-nav-tabs,
.woocommerce-tabs .wd-nav-tabs {
	display: inline-flex;
	gap: 4px;
	list-style: none;
	margin: 0 auto 24px;
	padding: 5px;
	background: var(--rm-bg);
	border: 1px solid var(--rm-border);
	border-radius: var(--rm-radius-button, 999px);
	width: auto;
}
.rm-page--product .wd-nav-tabs > li,
.rm-product-instants .wd-nav-tabs > li,
.woocommerce-tabs .wd-nav-tabs > li {
	margin: 0;
	border: 0;
	background: transparent;
}
.rm-page--product .wd-nav-tabs > li > a,
.rm-page--product .wd-nav-tabs .wd-nav-link,
.rm-product-instants .wd-nav-tabs .wd-nav-link,
.woocommerce-tabs .wd-nav-tabs .wd-nav-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 22px;
	border: 0 !important;
	border-radius: var(--rm-radius-button, 999px);
	background: transparent;
	color: var(--rm-fg-muted);
	font-family: var(--rm-font-display);
	font-weight: 700;
	font-size: var(--rm-text-sm);
	text-decoration: none;
	letter-spacing: 0.01em;
	transition: background .15s, color .15s, box-shadow .15s;
}
.rm-page--product .wd-nav-tabs .wd-nav-link:hover,
.woocommerce-tabs .wd-nav-tabs .wd-nav-link:hover {
	color: var(--rm-fg);
}
.rm-page--product .wd-nav-tabs .wd-nav-link .nav-link-text,
.rm-page--product .wd-nav-tabs .wd-tabs-title {
	color: inherit;
}
/* Active tab - WoodMart toggles .active on the <li> or the <a> */
.rm-page--product .wd-nav-tabs > li.active > a,
.rm-page--product .wd-nav-tabs .wd-nav-link.active,
.rm-page--product .wd-nav-tabs > li.wd-active > a,
.woocommerce-tabs .wd-nav-tabs > li.active > a {
	background: var(--rm-accent);
	color: var(--rm-on-accent);
	box-shadow: 0 4px 14px -4px color-mix(in srgb, var(--rm-accent) 55%, transparent);
}
.rm-page--product .wd-nav-tabs > li.active .nav-link-text,
.rm-page--product .wd-nav-tabs .wd-nav-link.active .nav-link-text {
	color: var(--rm-on-accent);
}
/* Center the tab strip above the instant-wins accordion */
.rm-product-instants .wd-nav-tabs,
.rm-page--product .woocommerce-tabs .wd-nav-tabs {
	display: flex;
	justify-content: center;
}

/* =================================================================
   V6.3 - Theme-match the instant-wins accordion / ticket picker
   Targets the real shortcode classes (ticket-container, pagination-
   tickets, standard_info_accordion_header, etc.) so the white boxes
   pick up the brand tokens. Scoped to the product page + instant
   section so nothing else is affected. Token-based -> follows preset.
   ================================================================= */

.rm-product-instants,
.rm-page--product {
	/* local aliases so bare descendant rules below stay readable */
}

/* Kill stray white backgrounds inside the instants section and the
   WooCommerce tab panels that host the accordion. */
.rm-product-instants,
.rm-product-instants .woocommerce-Tabs-panel,
.rm-product-instants .wc-tab,
.rm-product-instants .wd-accordion,
.rm-product-instants .accordion,
.rm-product-instants .panel,
.rm-product-instants [class*="accordion"],
.rm-product-instants [class*="ticket"] {
	background-color: transparent;
	color: var(--rm-fg);
}

/* Accordion header row */
.rm-product-instants .standard_info_accordion_header,
.standard_info_accordion_header {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 16px;
	background: var(--rm-surface);
	border: 1px solid var(--rm-border);
	border-radius: var(--rm-radius-md, 8px);
	color: var(--rm-fg);
	font-family: var(--rm-font-display);
	font-weight: 700;
	cursor: pointer;
	transition: border-color .12s, background .12s;
}
.rm-product-instants .standard_info_accordion_header:hover {
	border-color: var(--rm-accent);
}

/* Ticket container + rows */
.rm-product-instants .ticket-container,
.rm-product-instants .instant_prize_loop_tickets,
.rm-product-instants .ticket-row,
.rm-product-instants li.ticket-container {
	background: var(--rm-bg);
	border: 1px solid var(--rm-border);
	border-radius: var(--rm-radius-md, 8px);
	color: var(--rm-fg);
}

/* Any generic light backgrounds the plugin inlines: repaint them */
.rm-product-instants [style*="background: #fff"],
.rm-product-instants [style*="background:#fff"],
.rm-product-instants [style*="background-color: #fff"],
.rm-product-instants [style*="background-color:#fff"],
.rm-product-instants [style*="background: white"],
.rm-product-instants [style*="background-color: white"] {
	background: var(--rm-surface) !important;
	color: var(--rm-fg) !important;
}

/* Pagination controls */
.rm-product-instants .pagination-tickets,
.rm-product-instants .maximum-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	flex-wrap: wrap;
	margin-top: 16px;
	color: var(--rm-fg);
}
.rm-product-instants .pagination-tickets-page {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	background: var(--rm-surface);
	border: 1px solid var(--rm-border);
	border-radius: var(--rm-radius-md, 8px);
	color: var(--rm-fg);
	font-weight: 600;
	cursor: pointer;
	transition: border-color .12s, color .12s, background .12s;
}
.rm-product-instants .pagination-tickets-page:hover,
.rm-product-instants .pagination-tickets-page.active,
.rm-product-instants .pagination-tickets-page.selected {
	background: color-mix(in srgb, var(--rm-accent) 14%, var(--rm-surface)) !important;
	border-color: var(--rm-accent) !important;
	color: var(--rm-accent) !important;
}
.rm-product-instants .pagination-tickets-page.active,
.rm-product-instants .pagination-tickets-page.selected {
	background: var(--rm-accent) !important;
	border-color: var(--rm-accent) !important;
	color: var(--rm-on-accent) !important;
}
.rm-product-instants .prev-ticket-page,
.rm-product-instants .next-ticket-page {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: var(--rm-radius-md, 8px);
	background: var(--rm-surface);
	border: 1px solid var(--rm-border);
	color: var(--rm-fg);
	cursor: pointer;
	vertical-align: middle;
	transition: border-color .12s, color .12s;
}
.rm-product-instants .prev-ticket-page:hover,
.rm-product-instants .next-ticket-page:hover {
	border-color: var(--rm-accent);
	color: var(--rm-accent);
}
.rm-product-instants .next-ticket-page { margin-left: 10px; }
.rm-product-instants .prev-ticket-page { margin-right: 10px; }

/* Inputs inside the ticket picker (search box, number field) */
.rm-product-instants input[type="text"],
.rm-product-instants input[type="number"],
.rm-product-instants input[type="search"],
.rm-product-instants select {
	background: var(--rm-bg);
	border: 1px solid var(--rm-border);
	border-radius: var(--rm-radius-md, 8px);
	color: var(--rm-fg);
	padding: 10px 14px;
}
.rm-product-instants input::placeholder { color: var(--rm-fg-muted); }

/* Text nodes that inherit dark-on-dark or default black */
.rm-product-instants h1, .rm-product-instants h2, .rm-product-instants h3,
.rm-product-instants h4, .rm-product-instants h5, .rm-product-instants p,
.rm-product-instants span, .rm-product-instants li, .rm-product-instants td,
.rm-product-instants th, .rm-product-instants label, .rm-product-instants strong {
	color: inherit;
}

/* Tables (entry lists) inside the section */
.rm-product-instants table {
	width: 100%;
	border-collapse: collapse;
	background: var(--rm-surface);
	border: 1px solid var(--rm-border);
	border-radius: var(--rm-radius-lg, 16px);
	overflow: hidden;
}
.rm-product-instants table th,
.rm-product-instants table td {
	padding: 12px 16px;
	border-bottom: 1px solid var(--rm-border);
	color: var(--rm-fg);
	text-align: left;
}
.rm-product-instants table th {
	background: var(--rm-bg);
	font-size: var(--rm-text-xs);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--rm-fg-muted);
}
.rm-product-instants table tr:last-child td { border-bottom: 0; }

/* =================================================================
   V6.4 - Comprehensive theme-match for the ticket-accordion tree
   The instant-wins plugin ships its own stylesheet with hardcoded
   #ffffff backgrounds on classes like .number-container. Rather than
   chase them one at a time, repaint the whole .ticket-accordion tree
   with brand tokens. Scoped to .ticket-accordion so it only touches
   the plugin's markup. Token-based -> follows the active preset.
   ================================================================= */

/* Base: the accordion container itself */
.ticket-accordion {
	color: var(--rm-fg);
	background: transparent;
}

/* Every structural box inside the accordion -> surface/bg, not white.
   This is the broad catch that stops the whack-a-mole: any div/li/
   section/header the plugin renders gets a themed background. */
.ticket-accordion,
.ticket-accordion div,
.ticket-accordion li,
.ticket-accordion ul,
.ticket-accordion section,
.ticket-accordion header,
.ticket-accordion article,
.ticket-accordion .number-container,
.ticket-accordion .ticket-container,
.ticket-accordion .standard_info_accordion_header,
.ticket-accordion .instant_prize_loop_tickets,
.ticket-accordion [class*="container"],
.ticket-accordion [class*="accordion"],
.ticket-accordion [class*="ticket"],
.ticket-accordion [class*="number"],
.ticket-accordion [class*="row"],
.ticket-accordion [class*="box"],
.ticket-accordion [class*="header"],
.ticket-accordion [class*="body"],
.ticket-accordion [class*="panel"] {
	background-color: transparent;
	border-color: var(--rm-border);
	color: var(--rm-fg);
}

/* The number/ticket tiles specifically - give them a themed surface
   so they read as cards, not white chips. */
.ticket-accordion .number-container,
.ticket-accordion .ticket-container,
.ticket-accordion [class*="number-container"] {
	background-color: var(--rm-surface) !important;
	border: 1px solid var(--rm-border) !important;
	border-radius: var(--rm-radius-md, 8px);
	color: var(--rm-fg) !important;
}

/* Hardcoded white backgrounds anywhere in the tree, whatever the class,
   whether set inline or via the plugin stylesheet's #fff / white. */
.ticket-accordion [style*="#fff"],
.ticket-accordion [style*="#FFF"],
.ticket-accordion [style*="white"],
.ticket-accordion [style*="rgb(255"] {
	background-color: var(--rm-surface) !important;
	color: var(--rm-fg) !important;
}

/* Accordion header */
.ticket-accordion .standard_info_accordion_header {
	background: var(--rm-surface) !important;
	border: 1px solid var(--rm-border) !important;
	border-radius: var(--rm-radius-md, 8px);
	color: var(--rm-fg) !important;
	font-family: var(--rm-font-display);
	font-weight: 700;
}

/* Text nodes default to the theme foreground */
.ticket-accordion h1, .ticket-accordion h2, .ticket-accordion h3,
.ticket-accordion h4, .ticket-accordion h5, .ticket-accordion h6,
.ticket-accordion p, .ticket-accordion span, .ticket-accordion strong,
.ticket-accordion b, .ticket-accordion label, .ticket-accordion td,
.ticket-accordion th, .ticket-accordion a {
	color: var(--rm-fg);
}
.ticket-accordion a:hover { color: var(--rm-accent); }

/* Inputs / number fields inside the accordion */
.ticket-accordion input[type="text"],
.ticket-accordion input[type="number"],
.ticket-accordion input[type="search"],
.ticket-accordion select {
	background: var(--rm-bg) !important;
	border: 1px solid var(--rm-border) !important;
	color: var(--rm-fg) !important;
	border-radius: var(--rm-radius-md, 8px);
}
.ticket-accordion input::placeholder { color: var(--rm-fg-muted); }

/* Pagination inside the accordion (matches the V6.3 selectors too) */
.ticket-accordion .pagination-tickets-page {
	background: var(--rm-surface) !important;
	border: 1px solid var(--rm-border) !important;
	color: var(--rm-fg) !important;
	border-radius: var(--rm-radius-md, 8px);
}
.ticket-accordion .pagination-tickets-page:hover,
.ticket-accordion .pagination-tickets-page.active,
.ticket-accordion .pagination-tickets-page.selected {
	background: color-mix(in srgb, var(--rm-accent) 14%, var(--rm-surface)) !important;
	border-color: var(--rm-accent) !important;
	color: var(--rm-accent) !important;
}
.ticket-accordion .pagination-tickets-page.active,
.ticket-accordion .pagination-tickets-page.selected {
	background: var(--rm-accent) !important;
	border-color: var(--rm-accent) !important;
	color: var(--rm-on-accent) !important;
}

/* Status pills the plugin may colour (won / unclaimed) - leave greens
   and reds alone but ensure any neutral/white pill is themed. */
.ticket-accordion [class*="status"][style*="#fff"],
.ticket-accordion [class*="badge"][style*="#fff"] {
	background: color-mix(in srgb, var(--rm-fg-muted) 16%, transparent) !important;
	color: var(--rm-fg) !important;
}

/* =================================================================
   V6.6 - Instant-wins accordion, CORRECT structure (matches Easy Living)
   Structure per the live plugin:
     .standard_info_accordion_header  -> "All Instant Wins" bar
     prize row (image + "GBP X Cash - Tickets Left: N of M")
       - grid of .number-container chips (ticket numbers, Available/taken)
       - pagination for prizes with many tickets
   So .number-container is a TICKET NUMBER chip, not a prize tile.
   ================================================================= */

/* Outer body panel */
.rm-product-instants__body {
	background: var(--rm-surface);
	border: 1px solid var(--rm-border);
	border-radius: var(--rm-radius-lg, 16px);
	padding: 4px 4px 12px;
	margin-top: 24px;
}

/* Flatten the plugin's pointless nested boxes + green borders */
.rm-product-instants .ticket-accordion,
.rm-product-instants .ticket-accordion > div,
.rm-product-instants .instant_prize_loop_tickets {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

/* "All Instant Wins" header bar */
.rm-product-instants .standard_info_accordion_header,
.ticket-accordion .standard_info_accordion_header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 16px 20px;
	margin: 0;
	background: transparent !important;
	border: 0 !important;
	color: var(--rm-fg) !important;
	font-family: var(--rm-font-display);
	font-weight: 700;
	font-size: var(--rm-text-md);
	letter-spacing: -0.01em;
	cursor: pointer;
}
.rm-product-instants .standard_info_accordion_header::after {
	content: "";
	width: 10px; height: 10px;
	border-right: 2px solid var(--rm-fg-muted);
	border-bottom: 2px solid var(--rm-fg-muted);
	transform: rotate(45deg);
	transition: transform .2s;
	flex: 0 0 auto;
}
.rm-product-instants .standard_info_accordion_header.active::after,
.rm-product-instants .standard_info_accordion_header.is-open::after {
	transform: rotate(-135deg);
}

/* -- PRIZE ROW --------------------------------------------------
   Each prize sits in its own card: image + name + "Tickets Left"
   badge as a header, then the ticket-number chips below.
   The plugin wraps each prize differently per install, so we target
   the heading (h3) the plugin outputs and the image next to it, and
   give the whole prize block breathing room. */
.rm-product-instants .instant_prize_loop_tickets {
	/* No display:!important here - your shortcode's JS toggles this
	   panel open/closed. Forcing display would make it stuck open. */
	padding: 8px 12px 4px;
}
.rm-product-instants .instant_prize_loop_tickets > * {
	margin-bottom: 20px;
}

/* Prize heading (### GBP 2000 Cash  Tickets Left: 4 of 4) */
.rm-product-instants .instant_prize_loop_tickets h3,
.rm-product-instants .instant_prize_loop_tickets h4,
.ticket-accordion h3 {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 12px;
	padding: 12px 0 0;
	border-bottom: none;
	font-family: var(--rm-font-display);
	font-weight: 700;
	font-size: 17px;
	color: var(--rm-fg);
}

/* Prize thumbnail image */
.rm-product-instants .instant_prize_loop_tickets img {
	width: 40px;
	height: 40px;
	border-radius: 8px;
	object-fit: cover;
	vertical-align: middle;
	border: 1px solid var(--rm-border);
}

/* "Tickets Left: N of M" badge - pull it to the right of the prize name */
.rm-product-instants .tickets-left-of-section,
.rm-product-instants [class*="tickets-left"] {
	display: inline-flex !important;
	align-items: center;
	gap: 6px;
	margin-left: auto;
	padding: 5px 12px;
	background: color-mix(in srgb, var(--rm-accent) 14%, transparent);
	border-radius: var(--rm-radius-button, 999px);
	color: var(--rm-accent);
	font-family: var(--rm-font-body);
	font-size: var(--rm-text-xs);
	font-weight: 700;
	white-space: nowrap;
}

/* -- TICKET NUMBER CHIPS ----------------------------------------
   .number-container is a single ticket number + "Available". Lay them
   out in a tight responsive grid of small chips. */
.rm-product-instants .number-container,
.ticket-accordion .number-container {
	display: inline-flex !important;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	min-height: 0 !important;
	padding: 8px 6px !important;
	background: var(--rm-bg) !important;
	border: 1px solid var(--rm-border) !important;
	border-radius: var(--rm-radius-sm, 6px) !important;
	color: var(--rm-fg) !important;
	font-variant-numeric: tabular-nums;
	font-size: 13px;
	font-weight: 700;
	text-align: center;
	transition: border-color .1s, transform .1s;
}

/* Ticket-number chips grid - the real wrapper is .ticket-looper-grid.
   4 columns on desktop, 2 on mobile. */
.rm-product-instants .ticket-looper-grid,
.ticket-accordion .ticket-looper-grid,
.rm-product-instants .ticket-numbers,
.rm-product-instants .numbers-container {
	display: grid !important;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	gap: 8px;
	margin-bottom: 20px;
}
@media (max-width: 767px) {
	.rm-product-instants .ticket-looper-grid,
	.ticket-accordion .ticket-looper-grid,
	.rm-product-instants .ticket-numbers,
	.rm-product-instants .numbers-container {
		grid-template-columns: 1fr 1fr;
		gap: 10px;
		margin: 0 0 20px;
	}
}

/* The "Available" sub-label inside each chip */
.rm-product-instants .number-container > *:last-child {
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--rm-success);
}
.rm-product-instants .number-container:hover {
	border-color: var(--rm-accent) !important;
	transform: translateY(-1px);
}

/* Taken / unavailable chips */
.rm-product-instants .number-container.taken,
.rm-product-instants .number-container.unavailable,
.rm-product-instants .number-container.sold {
	opacity: 0.4;
}
.rm-product-instants .number-container.taken > *:last-child,
.rm-product-instants .number-container.sold > *:last-child {
	color: var(--rm-fg-muted);
}

/* -- PAGINATION --------------------------------------------------- */
.rm-product-instants .pagination-tickets,
.rm-product-instants .maximum-pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 4px;
	padding: 4px 0 16px;
}
.rm-product-instants .pagination-tickets-page,
.rm-product-instants .prev-ticket-page,
.rm-product-instants .next-ticket-page {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	height: 32px;
	padding: 0 8px;
	background: var(--rm-surface) !important;
	border: 1px solid var(--rm-border) !important;
	border-radius: var(--rm-radius-sm, 6px);
	color: var(--rm-fg) !important;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: border-color .1s, color .1s, background .1s;
}
.rm-product-instants .pagination-tickets-page:hover,
.rm-product-instants .prev-ticket-page:hover,
.rm-product-instants .next-ticket-page:hover {
	background: color-mix(in srgb, var(--rm-accent) 14%, var(--rm-surface)) !important;
	border-color: var(--rm-accent) !important;
	color: var(--rm-accent) !important;
}
.rm-product-instants .pagination-tickets-page.active,
.rm-product-instants .pagination-tickets-page.selected,
.rm-product-instants .pagination-tickets-page.current {
	background: var(--rm-accent) !important;
	border-color: var(--rm-accent) !important;
	color: var(--rm-on-accent) !important;
}

/* Accordion outer wrapper: full width */
.standard_info_accordion,
.rm-product-instants .standard_info_accordion {
	margin-right: 0;
	width: 100%;
}

/* Accordion main title left padding */
.accordion-main-title {
	padding-left: 20px;
}

/* =================================================================
   V6.14 - Theme-match the quick-buy popup
   The popup markup + CSS is the site's own (hardcoded #fff / #000 and
   Elementor --e-global-color-* vars). Override scoped to .quick_add_popup
   so it inherits the brand tokens. Token-based -> follows the preset.
   ================================================================= */

/* Overlay */
.quick_add_popup {
	background-color: color-mix(in srgb, #000 65%, transparent) !important;
	backdrop-filter: blur(4px);
}

/* Dialog */
.quick_add_popup_content {
	background-color: var(--rm-surface) !important;
	border: 1px solid var(--rm-border);
	border-radius: var(--rm-radius-lg, 16px) !important;
	color: var(--rm-fg);
	box-shadow: 0 24px 60px -12px rgba(0,0,0,0.6);
	overflow: hidden;
}

/* Close button */
.quick_add_popup .quick_add_close {
	color: var(--rm-fg-muted) !important;
	transition: color .12s;
}
.quick_add_popup .quick_add_close:hover { color: var(--rm-accent) !important; }

/* Title */
.quick_add_popup .quick-add-title {
	font-family: var(--rm-font-display);
	font-weight: 700;
	color: var(--rm-fg);
	padding: 18px 20px 0;
}
.quick_add_popup hr {
	border: 0;
	border-top: 1px solid var(--rm-border);
	margin: 14px 0 0;
}

/* Prize banner (image + title + price) */
.quick_add_popup .ticket-title-quick-add { color: var(--rm-fg) !important; }
.quick_add_popup .ticket-price-quick-add { color: var(--rm-fg-muted) !important; }
.quick_add_popup .highlight-quick-add-banner img {
	border: 1px solid var(--rm-border);
}

/* Quick-pick chips (5 / 10 / 50) */
.quick_add_popup .quick-buy-easy-select span {
	background-color: var(--rm-bg) !important;
	border: 1px solid var(--rm-border) !important;
	color: var(--rm-fg) !important;
	border-radius: var(--rm-radius-md, 8px) !important;
	width: auto !important;
	min-width: 40px;
	padding: 8px 12px !important;
	font-weight: 700;
	transition: border-color .12s, color .12s, background .12s;
}
.quick_add_popup .quick-buy-easy-select span:hover {
	border-color: var(--rm-accent) !important;
	color: var(--rm-on-accent) !important;
	background: var(--rm-accent) !important;
}

/* Bottom section (holds qty + confirm) */
.quick_add_popup .quick-buy-bottom {
	background-color: var(--rm-bg) !important;
	border-top: 1px solid var(--rm-border);
}

/* Qty stepper */
.quick_add_popup .quantity-loop {
	background-color: var(--rm-surface) !important;
	border: 1px solid var(--rm-border) !important;
	border-radius: var(--rm-radius-md, 8px) !important;
}
.quick_add_popup .quick_qty_btn {
	background-color: transparent !important;
	color: var(--rm-fg) !important;
	transition: color .12s, background .12s;
}
.quick_add_popup .quick_qty_btn:hover {
	color: var(--rm-accent) !important;
	background: color-mix(in srgb, var(--rm-accent) 12%, transparent) !important;
}
.quick_add_popup .quantity-loop .qty,
.quick_add_popup input.qty_quick_buy {
	background-color: transparent !important;
	color: var(--rm-fg) !important;
	border: 0 !important;
	font-weight: 700;
	-moz-appearance: textfield;
}
.quick_add_popup input.qty_quick_buy::-webkit-outer-spin-button,
.quick_add_popup input.qty_quick_buy::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* "Tickets / Max" details line */
.quick_add_popup .qty-select-details,
.quick_add_popup .qty-select-details .qb-no-tickets {
	color: var(--rm-fg-muted) !important;
}

/* Add to cart button */
.quick_add_popup .quick-add-button-confirm {
	background-color: var(--rm-accent) !important;
	color: var(--rm-on-accent) !important;
	border-radius: var(--rm-radius-button, 999px) !important;
	font-family: var(--rm-font-display);
	font-weight: 700;
	transition: transform .12s, filter .12s;
}
.quick_add_popup .quick-add-button-confirm:hover {
	background-color: var(--rm-accent) !important;
	filter: brightness(1.08);
	transform: translateY(-1px);
}

/* View-cart redirect link */
.quick_add_popup .checkout_redirect_qb a {
	background-color: color-mix(in srgb, var(--rm-fg) 10%, transparent) !important;
	color: var(--rm-fg) !important;
	border-radius: var(--rm-radius-md, 8px) !important;
}
.quick_add_popup .checkout_redirect_qb a:hover {
	background-color: var(--rm-accent) !important;
	color: var(--rm-on-accent) !important;
}
.quick_add_popup .checkout_redirect_qb hr { border-color: var(--rm-border) !important; }

/* Questions (if the comp has a skill question) */
.quick_add_popup .quick-buy-questions { border-top-color: var(--rm-border) !important; }
.quick_add_popup #questions-quick-add-loop li {
	background-color: var(--rm-bg) !important;
	border: 1px solid var(--rm-border) !important;
	color: var(--rm-fg) !important;
	border-radius: var(--rm-radius-md, 8px) !important;
	transition: border-color .12s, background .12s;
	cursor: pointer;
}
.quick_add_popup #questions-quick-add-loop li:hover,
.quick_add_popup #questions-quick-add-loop li.selected {
	border-color: var(--rm-accent) !important;
	background: color-mix(in srgb, var(--rm-accent) 12%, transparent) !important;
}

/* Cart totals table: borderless */
.rm-cart-page__totals table,
.rm-cart-page__totals table.shop_table,
.rm-cart-page__totals table th,
.rm-cart-page__totals table td {
	border: none !important;
}

/* Questions loop container: no padding */
.quick_add_popup #questions-quick-add-loop {
	padding: 0 !important;
}

/* =================================================================
   V6.19 - Neon preset treatments (scoped to .rm-preset-neon)
   Glow buttons, uppercase display type, ghost CTAs, glowing nav,
   ticker pills. Modeled on the premium neon reference. Everything
   still token-driven, so recolouring the accent recolours the glow.
   ================================================================= */

/* Display type: uppercase, wide tracking */
.rm-preset-neon h1,
.rm-preset-neon h2,
.rm-preset-neon .rm-hero-slide__title,
.rm-preset-neon .rm-winfeed__title,
.rm-preset-neon .rm-product-hero__title,
.rm-preset-neon .rm-product-instants__title,
.rm-preset-neon .rm-card__cta-bottom,
.rm-preset-neon .rm-hero-slide__cta {
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.rm-preset-neon .rm-eyebrow,
.rm-preset-neon .rm-hero-slide__eyebrow,
.rm-preset-neon .rm-winfeed__eyebrow,
.rm-preset-neon .rm-product-instants__eyebrow {
	letter-spacing: 0.18em;
}

/* Primary (solid) CTAs: filled accent with outer glow */
.rm-preset-neon .rm-card__cta--solid,
.rm-preset-neon .rm-hero-slide__cta,
.rm-preset-neon .quick-add-button-confirm,
.rm-preset-neon .rm-card__quickbuy-cart:hover {
	box-shadow:
		0 0 0 1px color-mix(in srgb, var(--rm-accent) 60%, transparent),
		0 0 18px -2px color-mix(in srgb, var(--rm-accent) 65%, transparent);
}
.rm-preset-neon .rm-card__cta--solid:hover,
.rm-preset-neon .rm-hero-slide__cta:hover {
	box-shadow:
		0 0 0 1px var(--rm-accent),
		0 0 26px 0 color-mix(in srgb, var(--rm-accent) 80%, transparent);
}

/* Ghost buttons: transparent, accent border + text, soft glow.
   Applied to outline CTAs and header actions. */
.rm-preset-neon .rm-card__cta--outline,
.rm-preset-neon .rm-site-header__icon-btn,
.rm-preset-neon .rm-hero-slider__arrow,
.rm-preset-neon .rm-card__quickbuy-cart {
	background: transparent;
	border: 1px solid color-mix(in srgb, var(--rm-accent) 55%, transparent);
	color: var(--rm-fg);
	box-shadow:
		0 0 12px -4px color-mix(in srgb, var(--rm-accent) 50%, transparent),
		inset 0 0 12px -8px color-mix(in srgb, var(--rm-accent) 40%, transparent);
}
.rm-preset-neon .rm-card__cta--outline:hover,
.rm-preset-neon .rm-hero-slider__arrow:hover,
.rm-preset-neon .rm-card__quickbuy-cart:hover {
	border-color: var(--rm-accent);
	color: var(--rm-accent);
	box-shadow:
		0 0 18px -2px color-mix(in srgb, var(--rm-accent) 70%, transparent),
		inset 0 0 14px -8px color-mix(in srgb, var(--rm-accent) 55%, transparent);
}

/* Nav: active/hover items glow */
.rm-preset-neon .rm-site-header__nav a:hover,
.rm-preset-neon .rm-site-header__nav .current-menu-item > a {
	color: var(--rm-accent);
	text-shadow: 0 0 12px color-mix(in srgb, var(--rm-accent) 70%, transparent);
}

/* Countdown boxes: surface cells with accent-tinted border */
.rm-preset-neon .rm-countdown-boxes__cell {
	background: var(--rm-surface);
	border: 1px solid color-mix(in srgb, var(--rm-accent) 25%, var(--rm-border));
	box-shadow: inset 0 0 14px -10px color-mix(in srgb, var(--rm-accent) 60%, transparent);
	padding-top: 15px;
	padding-bottom: 15px;
}
.rm-preset-neon .rm-countdown-boxes__num {
	color: var(--rm-fg);
	text-shadow: 0 0 10px color-mix(in srgb, var(--rm-accent) 45%, transparent);
}

/* Winners ticker: price pills like the reference */
.rm-preset-neon .rm-winfeed__item {
	border-color: color-mix(in srgb, var(--rm-accent) 22%, var(--rm-border));
}
.rm-preset-neon .rm-winfeed__prize {
	color: var(--rm-accent);
}

/* Stats bar: glow the live dot + timer */
.rm-preset-neon .rm-stats-bar {
	border-color: color-mix(in srgb, var(--rm-accent) 25%, var(--rm-border));
}
.rm-preset-neon .rm-stats-bar__value--timer {
	color: var(--rm-accent);
	text-shadow: 0 0 12px color-mix(in srgb, var(--rm-accent) 50%, transparent);
}

/* Section titles: two-tone - the last word takes the accent.
   Requires the .rm-title-accent span the theme wraps on titles. */
.rm-preset-neon .rm-title-accent {
	color: var(--rm-accent);
	text-shadow: 0 0 16px color-mix(in srgb, var(--rm-accent) 45%, transparent);
}

/* Cards: accent-tinted borders + hover glow */
.rm-preset-neon .rm-card {
	border-color: color-mix(in srgb, var(--rm-accent) 16%, var(--rm-border));
}
.rm-preset-neon .rm-card:hover {
	border-color: color-mix(in srgb, var(--rm-accent) 45%, var(--rm-border));
	box-shadow: 0 0 24px -6px color-mix(in srgb, var(--rm-accent) 35%, transparent);
}

/* =================================================================
   V6.21 - PAGE DEPTH PASS (home page polish)
   Kills the single flat background: layered ambient glows + faint
   grid texture on the body, the hero on a proper "stage" panel,
   elevated cards, glowing hairline separators between home sections,
   richer bands. All token-driven; dark presets get the full effect,
   light presets stay clean (glows keyed to accent at low opacity).
   ================================================================= */

/* -- Ambient page background: glows + faint grid ----------------- */
.rm-body {
	background-color: var(--rm-bg);
	background-image:
		radial-gradient(55% 38% at 12% -4%, color-mix(in srgb, var(--rm-accent) 11%, transparent), transparent 62%),
		radial-gradient(45% 32% at 92% 6%, color-mix(in srgb, var(--rm-accent-2, var(--rm-accent)) 9%, transparent), transparent 60%),
		radial-gradient(70% 45% at 50% 104%, color-mix(in srgb, var(--rm-accent) 7%, transparent), transparent 65%),
		repeating-linear-gradient(0deg, transparent 0 47px, color-mix(in srgb, var(--rm-fg) 2.5%, transparent) 47px 48px),
		repeating-linear-gradient(90deg, transparent 0 47px, color-mix(in srgb, var(--rm-fg) 2.5%, transparent) 47px 48px);
	background-attachment: fixed, fixed, fixed, fixed, fixed;
}

/* -- Home section rhythm + glowing hairline separators ----------- */
.rm-page--home > section { position: relative; }
.rm-page--home > section + section::before {
	content: "";
	position: absolute;
	top: 0; left: 50%;
	transform: translateX(-50%);
	width: min(1180px, 92%);
	height: 1px;
	background: linear-gradient(90deg,
		transparent,
		color-mix(in srgb, var(--rm-accent) 35%, var(--rm-border)) 50%,
		transparent);
	pointer-events: none;
}

/* -- Hero slider: a stage, not a floating block ------------------ */
.rm-hero-slider {
	background:
		radial-gradient(80% 120% at 18% 0%, color-mix(in srgb, var(--rm-accent) 16%, transparent), transparent 58%),
		radial-gradient(70% 110% at 100% 100%, color-mix(in srgb, var(--rm-accent-2, var(--rm-accent)) 13%, transparent), transparent 55%),
		var(--rm-surface);
	border: 1px solid color-mix(in srgb, var(--rm-accent) 18%, var(--rm-border));
	border-radius: 24px;
	margin-top: 20px;
	margin-bottom: 8px;
	padding: 40px 32px 32px;
	box-shadow:
		inset 0 1px 0 color-mix(in srgb, var(--rm-fg) 6%, transparent),
		0 30px 80px -40px rgba(0, 0, 0, 0.7);
}
.rm-hero-slide__media {
	border: 1px solid color-mix(in srgb, var(--rm-accent) 20%, var(--rm-border));
	box-shadow: 0 20px 50px -22px rgba(0, 0, 0, 0.75);
}
.rm-hero-slide__media img { display: block; }

/* -- Cards: elevation + surface depth ---------------------------- */
.rm-card {
	background:
		linear-gradient(180deg,
			color-mix(in srgb, var(--rm-fg) 3.5%, var(--rm-surface)),
			var(--rm-surface) 55%);
	box-shadow:
		inset 0 1px 0 color-mix(in srgb, var(--rm-fg) 5%, transparent),
		0 14px 34px -20px rgba(0, 0, 0, 0.65);
}
.rm-card:hover {
	box-shadow:
		inset 0 1px 0 color-mix(in srgb, var(--rm-fg) 6%, transparent),
		0 22px 44px -20px rgba(0, 0, 0, 0.75);
}
.rm-card__media { position: relative; }
.rm-card__media::after {
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 45%;
	background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--rm-bg) 55%, transparent));
	pointer-events: none;
}

/* -- Stats bar: richer band -------------------------------------- */
.rm-stats-bar {
	background:
		radial-gradient(60% 140% at 8% 50%, color-mix(in srgb, var(--rm-accent) 14%, transparent), transparent 55%),
		radial-gradient(60% 140% at 92% 50%, color-mix(in srgb, var(--rm-accent-2, var(--rm-accent)) 12%, transparent), transparent 55%),
		color-mix(in srgb, var(--rm-surface) 88%, transparent);
	box-shadow:
		inset 0 1px 0 color-mix(in srgb, var(--rm-fg) 4%, transparent),
		inset 0 -1px 0 color-mix(in srgb, var(--rm-fg) 3%, transparent);
	backdrop-filter: blur(6px);
}

/* -- Trust badges + winfeed items: surface depth ----------------- */
.rm-trust__badge,
.rm-winfeed__item {
	background:
		linear-gradient(180deg,
			color-mix(in srgb, var(--rm-fg) 3%, var(--rm-surface)),
			var(--rm-surface) 60%);
	box-shadow:
		inset 0 1px 0 color-mix(in srgb, var(--rm-fg) 4%, transparent),
		0 10px 26px -18px rgba(0, 0, 0, 0.6);
}

/* -- Newsletter band: make it a feature, not a strip ------------- */
.rm-newsletter {
	background:
		radial-gradient(70% 130% at 50% 0%, color-mix(in srgb, var(--rm-accent) 14%, transparent), transparent 60%),
		var(--rm-surface);
	border: 1px solid color-mix(in srgb, var(--rm-accent) 20%, var(--rm-border));
	border-radius: 24px;
	box-shadow: inset 0 1px 0 color-mix(in srgb, var(--rm-fg) 5%, transparent);
}

/* -- Footer: glowing top hairline -------------------------------- */
.rm-site-footer {
	position: relative;
}
.rm-site-footer::before {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 1px;
	background: linear-gradient(90deg,
		transparent,
		color-mix(in srgb, var(--rm-accent) 45%, transparent) 50%,
		transparent);
	pointer-events: none;
}

/* =================================================================
   V6.22 - Overlay hero variant + volume widgets
   (members bar, FAQ accordion, CTA banner)
   ================================================================= */

/* -- Hero: overlay layout - full-width image, copy on a scrim ---- */
.rm-hero-slider--overlay {
	padding: 0;
	overflow: hidden;
}
.rm-hero-slide--overlay {
	position: relative;
	display: none;
	grid-template-columns: 1fr;
	min-height: clamp(420px, 56vw, 620px);
	align-items: center;
}
.rm-hero-slide--overlay.is-active { display: grid; }
.rm-hero-slide--overlay .rm-hero-slide__media {
	position: absolute;
	inset: 0;
	aspect-ratio: auto;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	z-index: 0;
}
.rm-hero-slide--overlay .rm-hero-slide__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
/* scrim so the copy always reads */
.rm-hero-slide--overlay::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(90deg,
			color-mix(in srgb, var(--rm-bg) 88%, transparent) 0%,
			color-mix(in srgb, var(--rm-bg) 55%, transparent) 42%,
			transparent 75%),
		linear-gradient(0deg,
			color-mix(in srgb, var(--rm-bg) 70%, transparent),
			transparent 45%);
	pointer-events: none;
}
.rm-hero-slide--overlay .rm-hero-slide__copy {
	position: relative;
	z-index: 2;
	padding: 48px 56px;
	max-width: 640px;
}
@media (max-width: 720px) {
	.rm-hero-slide--overlay { min-height: 480px; align-items: flex-end; }
	.rm-hero-slide--overlay .rm-hero-slide__copy { padding: 24px 20px 56px; }
	.rm-hero-slide--overlay .rm-hero-slide__media { order: 0; }
}
/* dots float over the image in overlay mode */
.rm-hero-slider--overlay .rm-hero-slider__dots {
	position: absolute;
	left: 0; right: 0; bottom: 16px;
	margin: 0;
	z-index: 3;
}

/* -- Members bar ------------------------------------------------- */
.rm-members-bar {
	max-width: 1180px;
	margin: 20px auto;
	padding: 0 24px;
}
.rm-members-bar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	padding: 14px 20px;
	background:
		linear-gradient(90deg,
			color-mix(in srgb, var(--rm-accent) 10%, var(--rm-surface)),
			var(--rm-surface) 55%);
	border: 1px solid color-mix(in srgb, var(--rm-accent) 22%, var(--rm-border));
	border-radius: var(--rm-radius-lg, 16px);
	box-shadow: inset 0 1px 0 color-mix(in srgb, var(--rm-fg) 4%, transparent);
}
.rm-members-bar__title {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-family: var(--rm-font-display);
	font-weight: 700;
	font-size: var(--rm-text-base);
	color: var(--rm-fg);
}
.rm-members-bar__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px; height: 38px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--rm-accent) 14%, transparent);
	color: var(--rm-accent);
	font-size: 15px;
}
.rm-members-bar__actions {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}
.rm-members-bar__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 42px;
	padding: 0 18px;
	border-radius: var(--rm-radius-button, 999px);
	font-weight: 700;
	font-size: var(--rm-text-sm);
	text-decoration: none;
	transition: transform .12s, filter .12s, border-color .12s, color .12s, box-shadow .12s;
}
.rm-members-bar__btn--ghost {
	border: 1px solid color-mix(in srgb, var(--rm-accent) 50%, transparent);
	color: var(--rm-fg);
	background: transparent;
}
.rm-members-bar__btn--ghost:hover { border-color: var(--rm-accent); color: var(--rm-accent); }
.rm-members-bar__btn--solid {
	background: var(--rm-accent);
	color: var(--rm-on-accent);
	border: 0;
}
.rm-members-bar__btn--solid:hover { filter: brightness(1.06); transform: translateY(-1px); }
.rm-members-bar__btn--wa {
	width: 42px;
	padding: 0;
	justify-content: center;
	background: #25d366;
	color: #fff;
	font-size: 19px;
}
.rm-members-bar__btn--wa:hover { filter: brightness(1.08); }
@media (max-width: 720px) {
	.rm-members-bar__inner { justify-content: center; text-align: center; }
}

/* -- FAQ accordion ----------------------------------------------- */
.rm-faq {
	max-width: 860px;
	margin: 0 auto;
	padding: 48px 24px;
}
.rm-faq .rm-section-header { text-align: center; }
.rm-faq__list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.rm-faq__item {
	background:
		linear-gradient(180deg,
			color-mix(in srgb, var(--rm-fg) 3%, var(--rm-surface)),
			var(--rm-surface) 60%);
	border: 1px solid var(--rm-border);
	border-radius: var(--rm-radius-md, 10px);
	overflow: hidden;
	transition: border-color .15s;
}
.rm-faq__item[open] { border-color: color-mix(in srgb, var(--rm-accent) 40%, var(--rm-border)); }
.rm-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 20px;
	cursor: pointer;
	list-style: none;
	font-family: var(--rm-font-display);
	font-weight: 700;
	font-size: 15.5px;
	color: var(--rm-fg);
}
.rm-faq__q::-webkit-details-marker { display: none; }
.rm-faq__a {
	padding: 0 20px 18px;
	color: var(--rm-fg-muted);
	font-size: 14.5px;
	line-height: 1.6;
}

/* -- CTA banner -------------------------------------------------- */
.rm-cta-banner {
	position: relative;
	max-width: 1180px;
	margin: 24px auto;
	border-radius: 24px;
	overflow: hidden;
	background:
		radial-gradient(80% 140% at 15% 0%, color-mix(in srgb, var(--rm-accent) 22%, transparent), transparent 60%),
		radial-gradient(70% 130% at 95% 100%, color-mix(in srgb, var(--rm-accent-2, var(--rm-accent)) 18%, transparent), transparent 58%),
		var(--rm-surface);
	border: 1px solid color-mix(in srgb, var(--rm-accent) 22%, var(--rm-border));
	box-shadow:
		inset 0 1px 0 color-mix(in srgb, var(--rm-fg) 5%, transparent),
		0 30px 70px -40px rgba(0, 0, 0, 0.7);
}
.rm-cta-banner__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}
.rm-cta-banner__bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rm-cta-banner.has-image::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(90deg,
		color-mix(in srgb, var(--rm-bg) 85%, transparent),
		color-mix(in srgb, var(--rm-bg) 45%, transparent) 60%,
		transparent);
}
.rm-cta-banner__inner {
	position: relative;
	z-index: 2;
	padding: clamp(36px, 6vw, 64px) clamp(24px, 5vw, 56px);
	max-width: 640px;
}
.rm-cta-banner__title {
	font-family: var(--rm-font-display);
	font-size: clamp(28px, 4vw, 42px);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.08;
	margin: 0 0 12px;
	color: var(--rm-fg);
}
.rm-cta-banner__sub {
	font-size: 16.5px;
	color: var(--rm-fg-muted);
	margin: 0 0 24px;
	line-height: 1.55;
}
.rm-cta-banner__btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 50px;
	padding: 0 26px;
	background: var(--rm-accent);
	color: var(--rm-on-accent);
	border-radius: var(--rm-radius-button, 999px);
	font-family: var(--rm-font-display);
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
	transition: transform .12s, filter .12s, box-shadow .12s;
}
.rm-cta-banner__btn:hover {
	transform: translateY(-1px);
	filter: brightness(1.06);
	box-shadow: 0 8px 22px -8px color-mix(in srgb, var(--rm-accent) 60%, transparent);
	color: var(--rm-on-accent);
}

/* =================================================================
   V6.23 - Overlay hero: true full-bleed image, copy aligned to the
   1180px content column. The slide stays full width (image spans the
   viewport); only the copy's padding is computed so its left edge
   lines up with the rest of the page content.
   ================================================================= */

.rm-hero-slider--overlay {
	max-width: 100%;
	border: none;
	background: none;
	padding: 0;
	border-radius: 0;
	margin: 0 0 8px;
	box-shadow: none;
}

/* Copy: full-width block, side padding lands on the content column */
.rm-hero-slide--overlay .rm-hero-slide__copy {
	width: 100%;
	max-width: none;
	padding: 48px max(24px, calc((100% - 1180px) / 2 + 24px));
}
/* Keep the text itself at a readable measure */
.rm-hero-slide--overlay .rm-hero-slide__copy > * {
	max-width: 620px;
}

/* Dots + arrows stay inside the content column too */
.rm-hero-slider--overlay .rm-hero-slider__arrow--prev { left: max(16px, calc((100% - 1180px) / 2 - 6px)); }
.rm-hero-slider--overlay .rm-hero-slider__arrow--next { right: max(16px, calc((100% - 1180px) / 2 - 6px)); }

@media (max-width: 720px) {
	.rm-hero-slide--overlay .rm-hero-slide__copy { padding: 24px 20px 56px; }
}

/* =================================================================
   V6.24 - Overlay full-bleed enforced + split slider margins
   ================================================================= */

/* Overlay: guarantee full-bleed regardless of earlier rules */
.rm-hero-slider.rm-hero-slider--overlay {
	max-width: 100% !important;
	padding: 0 !important;
	border: none;
	background: none;
	border-radius: 0;
	margin: 0 0 8px;
	box-shadow: none;
}

/* Split: 25px top on desktop (kept centred), 25px top + 10px sides
   and bottom on mobile */
.rm-hero-slider.rm-hero-slider--split {
	margin: 25px auto 8px;
}
@media (max-width: 720px) {
	.rm-hero-slider.rm-hero-slider--split {
		margin: 25px 10px 10px;
	}
}

/* ================================================================
   V6.26 - Overlay hero: push arrows outside the content column so
   they never overlap the copy. Sits ~54px left/right of the 1180px
   column on wide screens, falls back to the viewport edge below.
   ================================================================ */
.rm-hero-slider--overlay .rm-hero-slider__arrow--prev {
	left: max(10px, calc((100% - 1180px) / 2 - 60px));
}
.rm-hero-slider--overlay .rm-hero-slider__arrow--next {
	right: max(10px, calc((100% - 1180px) / 2 - 60px));
}

/* ================================================================
   V6.27 - Overlay hero: hide arrows on mobile (swipe handles it)
   ================================================================ */
@media (max-width: 720px) {
	.rm-hero-slider--overlay .rm-hero-slider__arrow {
		display: none;
	}
}

/* ================================================================
   V6.30 - Payment icons: uniform chips (identical size, radius,
   subtle ring) so the row reads as one consistent set
   ================================================================ */
.rm-payment-icon,
.rm-site-footer__payments .rm-payment-icon,
.rm-footer-bottom__payments .rm-payment-icon {
	width: 48px;
	height: 32px;
	flex: 0 0 auto;
	border-radius: 5px;
	background: #fff;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
	object-fit: cover;
	display: block;
}

/* V6.32 - Apple Pay chip is self-coloured (black); no white base */
.rm-payment-icon--applepay {
	background: none !important;
	box-shadow: none !important;
}

/* ================================================================
   V6.34 - Mobile optimisation: cart collapse + checkout padding
   ================================================================ */

/* Cart line: allow the flexible column to actually shrink. Without
   min-width:0 a long title forces the grid wider than the viewport,
   which is why rows would not collapse on mobile. */
.rm-cart-line__main {
	min-width: 0;
}
.rm-cart-line__title,
.rm-cart-line__meta {
	overflow-wrap: break-word;
	word-break: break-word;
}

@media (max-width: 720px) {
	/* Tighter card */
	.rm-cart-line {
		gap: 10px 12px;
		padding: 12px;
		grid-template-columns: 64px minmax(0, 1fr) auto;
		grid-template-areas:
			"media main remove"
			"qty   qty  subtotal";
		align-items: start;
	}
	.rm-cart-line__media img { width: 64px; height: 64px; }
	.rm-cart-line__title { font-size: 15px; margin: 0 0 2px; }
	.rm-cart-line__meta { font-size: var(--rm-text-xs); }
	.rm-cart-line__unit-price { font-size: 12.5px; }
	.rm-cart-line__subtotal { font-size: 15px; font-weight: 700; align-self: center; }
	.rm-cart-line__remove { align-self: start; justify-self: end; }

	/* Keep the qty stepper compact instead of stretching full width */
	.rm-cart-line__qty { justify-self: start; }
	.rm-cart-line__qty .rm-qty { max-width: 132px; }
	.rm-cart-line__qty .rm-qty__step { width: 36px; height: 36px; }
	.rm-cart-line__qty .rm-qty__input { height: 36px; }

	/* Page chrome tighter */
	.rm-cart-page__header { margin-bottom: 16px; }
	.rm-cart-page__title { font-size: 26px; }
	.rm-cart-page__items { gap: 10px; }
}

/* Checkout: reduce padding on mobile */
@media (max-width: 720px) {
	.rm-checkout { padding: 20px 12px 48px; }
	.rm-checkout__header { margin-bottom: 16px; }
	.rm-checkout__title { font-size: 26px; }
	.rm-checkout__layout { gap: 16px; }
	.rm-checkout__panel { padding: 16px 14px; margin-bottom: 14px; border-radius: var(--rm-radius-md, 12px); }
	.rm-checkout__panel-title { font-size: var(--rm-text-base); margin: 0 0 12px; }
	.rm-checkout .form-row { margin-bottom: 10px; }
	.rm-checkout input[type="text"],
	.rm-checkout input[type="email"],
	.rm-checkout input[type="tel"],
	.rm-checkout input[type="password"],
	.rm-checkout select,
	.rm-checkout textarea { padding: 10px 12px; }
	.rm-checkout table.shop_table th,
	.rm-checkout table.shop_table td,
	.rm-checkout .woocommerce-checkout-review-order-table th,
	.rm-checkout .woocommerce-checkout-review-order-table td { padding: 8px 10px; }
}
/* Very small screens: shave a little more */
@media (max-width: 400px) {
	.rm-checkout { padding: 16px 10px 40px; }
	.rm-checkout__panel { padding: 14px 12px; }
	.rm-cart-line { grid-template-columns: 56px minmax(0, 1fr) auto; }
	.rm-cart-line__media img { width: 56px; height: 56px; }
}

/* V6.35 - Cart page: drop the wrapper padding (inner elements carry
   their own spacing) */
.rm-cart-page {
	padding: 0;
}

/* ================================================================
   V6.36 - Cart mobile overflow guards
   Something inside the cart (number input min-width, WC table, long
   strings) was pushing past the viewport. Clamp everything to width.
   ================================================================ */
.rm-cart-page,
.rm-cart-page__form,
.rm-cart-page__layout,
.rm-cart-page__items,
.rm-cart-line {
	max-width: 100%;
	min-width: 0;
}
.rm-cart-page * { min-width: 0; }
/* number inputs have an intrinsic min width that ignores the grid */
.rm-cart-line__qty .rm-qty__input {
	width: 100%;
	min-width: 0;
	max-width: 56px;
}
@media (max-width: 720px) {
	/* absolute belt-and-braces: never let the cart cause a sideways scroll */
	.rm-cart-page,
	.rm-cart-page__form { overflow-x: hidden; }
	.rm-cart-line__qty .rm-qty { max-width: 120px; }
	.rm-cart-line__remove { margin: 0; }
}

/* V6.37 - Coupon field minimum width */
.rm-cart-page__coupon {
	min-width: 180px;
}

/* ================================================================
   V6.38 - Checkout line: top-align + kill variation <p> margins so
   the skill-answer (Answer: London) sits inline
   ================================================================ */
.rm-checkout-line {
	align-items: start;
}
.rm-checkout-line__meta p {
	margin: 0;
}
/* WooCommerce variation list (Answer: London) inline */
.rm-checkout-line__meta .variation,
.rm-checkout-review__items .variation {
	margin: 2px 0 0;
}
.rm-checkout-line__meta .variation dt,
.rm-checkout-line__meta .variation dd,
.rm-checkout-review__items .variation dt,
.rm-checkout-review__items .variation dd {
	display: inline;
	margin: 0;
}
.rm-checkout-line__meta .variation dd::after {
	content: "";
	display: block;
}

/* ================================================================
   V6.39 - Hide page title on cart/checkout + AJAX cart loading state
   ================================================================ */
.woocommerce-cart .rm-article__title,
.woocommerce-checkout .rm-article__title {
	display: none;
}
.rm-cart--loading { opacity: 0.55; pointer-events: none; transition: opacity .15s; }

/* ================================================================
   V6.40 - Winners tabs (.rm-winners-tabs) - plain-HTML pill tabs
   ================================================================ */
.rm-winners-tabs {
	max-width: 1180px;
	margin: 32px auto;
	padding: 0 24px;
}
.rm-winners-tabs .wd-nav-wrapper {
	display: flex;
	justify-content: center;
	margin-bottom: 24px;
}
.rm-winners-tabs .wd-nav-tabs {
	display: inline-flex;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 5px;
	background: var(--rm-bg);
	border: 1px solid var(--rm-border);
	border-radius: var(--rm-radius-button, 999px);
}
.rm-winners-tabs .wd-nav-tabs > li { margin: 0; border: 0; background: none; }
.rm-winners-tabs .wd-nav-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 24px;
	border: 0;
	border-radius: var(--rm-radius-button, 999px);
	background: transparent;
	color: var(--rm-fg-muted);
	font-family: var(--rm-font-display);
	font-weight: 700;
	font-size: var(--rm-text-sm);
	text-decoration: none;
	letter-spacing: 0.01em;
	transition: background .15s, color .15s, box-shadow .15s;
}
.rm-winners-tabs .wd-nav-link:hover { color: var(--rm-fg); }
.rm-winners-tabs .wd-nav-link .nav-link-text { color: inherit; }
.rm-winners-tabs .wd-nav-tabs > li.active .wd-nav-link {
	background: var(--rm-accent);
	color: var(--rm-on-accent);
	box-shadow: 0 4px 14px -4px color-mix(in srgb, var(--rm-accent) 55%, transparent);
}
.rm-winners-tabs .wd-nav-tabs > li.active .wd-nav-link .nav-link-text { color: var(--rm-on-accent); }

/* Panels */
.rm-winners-tabs__panel { display: none; animation: rm-hero-fade .3s ease; }
.rm-winners-tabs__panel.is-active { display: block; }

/* V6.41 - Checkout mobile tweaks */
@media (max-width: 720px) {
	.rm-checkout-line__subtotal { margin-left: -60px; }
	.rm-checkout-review { padding: 12px; }
}

/* ============================================================
   V6.43 premium competition card
   Corner ribbon, category/draw rail, pill row, timer chip,
   striped gauge, price bar, inline quick-add.
   ============================================================ */

.rm-card { position: relative; border-radius: var(--rm-radius-lg, 18px); }
.rm-card:hover { border-color: var(--rm-accent); box-shadow: 0 10px 30px -12px rgba(0,0,0,.45); }

/* Corner ribbon (instant wins) */
.rm-card__corner {
	position: absolute; top: 0; right: 14px; z-index: 2;
	display: inline-flex; align-items: center; gap: 6px;
	padding: 7px 11px 8px;
	background: var(--rm-accent); color: var(--rm-on-accent);
	font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
	border-radius: 0 0 10px 10px;
	box-shadow: 0 4px 12px -4px rgba(0,0,0,.5);
}
.rm-card__corner .fas { font-size: 10px; }

/* Category / draw rail */
.rm-card__rail {
	display: flex; align-items: center; justify-content: space-between; gap: 10px;
	padding: 10px 16px;
	border-bottom: 1px dashed var(--rm-border);
	font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
}
.rm-card__rail-cat { color: var(--rm-fg-muted); }
.rm-card__rail-draw { display: inline-flex; align-items: center; gap: 6px; color: var(--rm-fg); white-space: nowrap; }
.rm-card__rail-draw .fas { font-size: 10px; color: var(--rm-fg-muted); }
.rm-card__rail-dot {
	width: 7px; height: 7px; border-radius: 50%;
	background: var(--rm-accent);
	box-shadow: 0 0 8px var(--rm-accent);
	animation: rm-rail-pulse 1.4s ease-in-out infinite;
}
@keyframes rm-rail-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* Pill row */
.rm-card__pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 2px; }
.rm-card__pill {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 5px 11px; border-radius: 999px;
	background: var(--rm-accent); color: var(--rm-on-accent);
	font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
}
.rm-card__pill .fas { font-size: 10px; }

/* Title treatment */
.rm-card__title { text-transform: uppercase; font-weight: 800; letter-spacing: .01em; font-size: 17px; }

/* Timer chip */
.rm-card__timer {
	display: flex; align-items: center; justify-content: space-between; gap: 10px;
	padding: 10px 14px; margin: 4px 0 2px;
	background: var(--rm-bg); border: 1px solid var(--rm-border);
	border-radius: 12px;
	transition: border-color .2s, background .2s;
}
.rm-card__timer-tag {
	display: inline-flex; align-items: center; gap: 6px;
	font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
	color: var(--rm-fg-muted); white-space: nowrap;
}
.rm-card__timer-tag .fas { font-size: 11px; }
.rm-card__timer-today { display: none; }
.rm-card__timer-digits { display: inline-flex; align-items: baseline; gap: 2px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rm-card__timer-digits b { font-weight: 800; font-size: 15px; color: var(--rm-fg); }
.rm-card__timer-digits i { font-style: normal; font-size: 10px; font-weight: 700; color: var(--rm-fg-muted); margin-right: 5px; }
.rm-card__timer-digits i:last-child { margin-right: 0; }
.rm-card__timer.rm-ends-today { border-color: var(--rm-accent); background: color-mix(in srgb, var(--rm-accent) 10%, var(--rm-bg)); }
.rm-card__timer.rm-ends-today .rm-card__timer-closes { display: none; }
.rm-card__timer.rm-ends-today .rm-card__timer-today { display: inline; color: var(--rm-accent); }
.rm-card__timer.rm-ends-today .rm-card__timer-tag .fas { color: var(--rm-accent); }

/* Striped gauge */
.rm-card__gauge { margin: 4px 0 2px; }
.rm-card__gauge-bar {
	height: 9px; border-radius: 999px; overflow: hidden;
	background: var(--rm-bg); border: 1px solid var(--rm-border);
}
.rm-card__gauge-bar span {
	display: block; height: 100%; border-radius: inherit;
	background:
		repeating-linear-gradient(
			-45deg,
			rgba(0,0,0,.28) 0 6px,
			transparent 6px 12px
		),
		var(--rm-accent);
	background-size: 24px 100%, 100% 100%;
	animation: rm-gauge-stripes 1.2s linear infinite;
	transition: width .8s ease;
}
@keyframes rm-gauge-stripes { from { background-position: 0 0, 0 0; } to { background-position: 24px 0, 0 0; } }
.rm-card__gauge-stats {
	display: flex; align-items: center; justify-content: space-between; gap: 10px;
	margin-top: 7px;
	font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
	color: var(--rm-fg-muted);
}
.rm-card__gauge-left b { color: var(--rm-fg); font-weight: 800; }

/* Price bar */
.rm-card__pricebar { display: flex; align-items: baseline; gap: 9px; margin-top: 2px; }
.rm-card__price-prefix { font-size: var(--rm-text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--rm-fg-muted); }
.rm-card__price-now { font-family: var(--rm-font-display); font-size: var(--rm-text-xl); font-weight: 800; color: var(--rm-accent); line-height: 1; }
.rm-card__price-now .woocommerce-Price-amount { color: inherit; }
.rm-card__price-was { font-size: var(--rm-text-sm); font-weight: 600; color: var(--rm-fg-muted); text-decoration: line-through; }
.rm-card__price-was .woocommerce-Price-amount { color: inherit; }
.rm-card__price-per { margin-left: auto; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--rm-fg-muted); }

/* Quick add */
.rm-card__qa { display: flex; align-items: stretch; gap: 10px; padding: 4px 16px 16px; }
.rm-card__qa-step {
	display: inline-flex; align-items: center;
	border: 1px solid var(--rm-border); border-radius: 999px;
	background: var(--rm-bg);
}
.rm-card__qa-btn {
	width: 38px; height: 44px; border: 0; background: transparent;
	color: var(--rm-fg); font-size: var(--rm-text-xs); cursor: pointer;
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 999px; transition: color .15s;
	touch-action: manipulation;
}
.rm-card__qa-btn:hover:not(:disabled) { color: var(--rm-accent); }
.rm-card__qa-btn:disabled { opacity: .3; cursor: default; }
.rm-card__qa-n { min-width: 2.2ch; text-align: center; font-weight: 800; font-size: 15px; font-variant-numeric: tabular-nums; }
.rm-card__qa-add {
	flex: 1; min-height: 44px; border: 0; cursor: pointer;
	border-radius: 999px;
	background: var(--rm-accent); color: var(--rm-on-accent);
	font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
	box-shadow: 0 4px 0 color-mix(in srgb, var(--rm-accent) 60%, #000);
	transition: transform .08s, box-shadow .08s, filter .15s;
	touch-action: manipulation;
}
.rm-card__qa-add:hover { filter: brightness(1.06); }
.rm-card__qa-add:active { transform: translateY(3px); box-shadow: 0 1px 0 color-mix(in srgb, var(--rm-accent) 60%, #000); }
.rm-card__qa-add b { font-weight: 800; }
.rm-card__qa-state--busy, .rm-card__qa-state--done { display: none; }
.rm-card__qa.is-busy  .rm-card__qa-state--idle  { display: none; }
.rm-card__qa.is-busy  .rm-card__qa-state--busy  { display: inline; }
.rm-card__qa.is-added .rm-card__qa-state--idle  { display: none; }
.rm-card__qa.is-added .rm-card__qa-state--busy  { display: none; }
.rm-card__qa.is-added .rm-card__qa-state--done  { display: inline; }
.rm-card__qa.is-added .rm-card__qa-add { background: var(--rm-success-strong); box-shadow: 0 4px 0 #0d6b31; }
.rm-card__qa.is-busy  .rm-card__qa-add { filter: saturate(.7) brightness(.9); cursor: wait; }

/* Finished cards mute the extras */
.rm-card--finished .rm-card__rail-dot { animation: none; opacity: .4; box-shadow: none; }
.rm-card--finished .rm-card__pills, .rm-card--finished .rm-card__qa { display: none; }

@media (prefers-reduced-motion: reduce) {
	.rm-card__rail-dot { animation: none; }
	.rm-card__gauge-bar span { animation: none; }
}

/* ============================================================
   V6.44 corner variants + per-game colours + homepage polish
   ============================================================ */

/* Corner ribbon variants */
.rm-card__corner--sale    { background: #f97316; color: #fff; }
.rm-card__corner--instant { background: var(--rm-accent); color: var(--rm-on-accent); }
.rm-card__corner--game    { background: linear-gradient(135deg, #6d28d9, #4f46e5); color: #fff; }

/* Per-game corner colours: every minigame gets its own identity so a
   grid of mixed games reads instantly. */
.rm-card__corner[data-game="bubble_pop"]       { background: linear-gradient(135deg, #0ea5e9, #2563eb); }
.rm-card__corner[data-game="honey_shapes"]     { background: linear-gradient(135deg, #f59e0b, #d97706); }
.rm-card__corner[data-game="scratch_cards"]    { background: linear-gradient(135deg, #64748b, #334155); }
.rm-card__corner[data-game="new_spinner_game"],
.rm-card__corner[data-game="spinner_game"]     { background: linear-gradient(135deg, #ec4899, #a21caf); }
.rm-card__corner[data-game="coin_drop"]        { background: linear-gradient(135deg, #eab308, #b45309); }
.rm-card__corner[data-game="dart_board"]       { background: linear-gradient(135deg, #dc2626, #7f1d1d); }
.rm-card__corner[data-game="mystery_box"]      { background: linear-gradient(135deg, #7c3aed, #4c1d95); }
.rm-card__corner[data-game="pack_rip"]         { background: linear-gradient(135deg, #06b6d4, #0e7490); }
.rm-card__corner[data-game="snap"]             { background: linear-gradient(135deg, #f43f5e, #be123c); }
.rm-card__corner[data-game="pinata"]           { background: linear-gradient(135deg, #f472b6, #f59e0b); }
.rm-card__corner[data-game="fruit_slice"]      { background: linear-gradient(135deg, #84cc16, #15803d); }
.rm-card__corner[data-game="pop_balloon"]      { background: linear-gradient(135deg, #fb7185, #e11d48); }
.rm-card__corner[data-game="magic_ball"]       { background: linear-gradient(135deg, #312e81, #6d28d9); }
.rm-card__corner[data-game="safe_crank"]       { background: linear-gradient(135deg, #475569, #111827); }
.rm-card__corner[data-game="fishing_game"]     { background: linear-gradient(135deg, #0891b2, #164e63); }
.rm-card__corner[data-game="penalty_shootout"] { background: linear-gradient(135deg, #16a34a, #14532d); }
.rm-card__corner[data-game="hook_duck"]        { background: linear-gradient(135deg, #fbbf24, #f97316); }
.rm-card__corner[data-game="frog_catch"]       { background: linear-gradient(135deg, #22c55e, #166534); }
.rm-card__corner[data-game="cork_bottle"]      { background: linear-gradient(135deg, #a16207, #713f12); }
.rm-card__corner[data-game="coconut_shy"]      { background: linear-gradient(135deg, #92400e, #451a03); }
.rm-card__corner[data-game="door_game"]        { background: linear-gradient(135deg, #0f766e, #134e4a); }
.rm-card__corner[data-game="slot_machine"]     { background: linear-gradient(135deg, #b91c1c, #eab308); }
.rm-card__corner[data-game="gem_mine"]         { background: linear-gradient(135deg, #10b981, #1e40af); }

/* Card hover choreography */
.rm-card { will-change: transform; }
.rm-card:hover .rm-card__corner { animation: rm-corner-pop .45s cubic-bezier(.34,1.56,.64,1); }
@keyframes rm-corner-pop {
	0%   { transform: scale(1); }
	45%  { transform: scale(1.09) rotate(-2deg); }
	100% { transform: scale(1); }
}
.rm-card:hover .rm-card__gauge-bar span { filter: brightness(1.12) saturate(1.1); }
.rm-card:hover .rm-card__price-now { text-shadow: 0 0 18px color-mix(in srgb, var(--rm-accent) 55%, transparent); }
.rm-card .rm-card__media img { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.rm-card:hover .rm-card__media img { transform: scale(1.045); }

/* Add-button shine sweep on hover */
.rm-card__qa-add { position: relative; overflow: hidden; }
.rm-card__qa-add::after {
	content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
	background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
	transform: skewX(-18deg);
	transition: left .5s ease;
	pointer-events: none;
}
.rm-card__qa-add:hover::after { left: 120%; }

/* Scroll-reveal stagger for grids and sections */
.rm-reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s cubic-bezier(.2,.7,.2,1); }
.rm-reveal.is-inview { opacity: 1; transform: none; }
.rm-grid > *:nth-child(1)  { transition-delay: .00s; }
.rm-grid > *:nth-child(2)  { transition-delay: .07s; }
.rm-grid > *:nth-child(3)  { transition-delay: .14s; }
.rm-grid > *:nth-child(4)  { transition-delay: .21s; }
.rm-grid > *:nth-child(5)  { transition-delay: .28s; }
.rm-grid > *:nth-child(6)  { transition-delay: .35s; }
.rm-grid > *:nth-child(n+7){ transition-delay: .42s; }

/* Section headers: accent kicker bar + title polish */
.rm-section-header { position: relative; }
.rm-section-title { letter-spacing: -0.01em; }
.rm-section-title::after {
	content: ""; display: block; width: 44px; height: 4px; margin-top: 10px;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--rm-accent), color-mix(in srgb, var(--rm-accent) 30%, transparent));
	transition: width .35s cubic-bezier(.2,.7,.2,1);
}
section:hover > .rm-section-header .rm-section-title::after,
.rm-section-header:hover .rm-section-title::after { width: 84px; }

/* Hero: Ken Burns on the active slide, copy entrance, CTA nudge */
.rm-hero-slide__media img { transition: transform 7s linear; }
.rm-hero-slide.is-active .rm-hero-slide__media img { transform: scale(1.06); }
.rm-hero-slide__copy > * { opacity: 0; transform: translateY(14px); }
.rm-hero-slide.is-active .rm-hero-slide__copy > * {
	opacity: 1; transform: none;
	transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1);
}
.rm-hero-slide.is-active .rm-hero-slide__eyebrow { transition-delay: .05s; }
.rm-hero-slide.is-active .rm-hero-slide__title   { transition-delay: .14s; }
.rm-hero-slide.is-active .rm-hero-slide__sub     { transition-delay: .23s; }
.rm-hero-slide.is-active .rm-hero-slide__cta     { transition-delay: .32s; }
.rm-hero-slide__cta { transition: transform .15s ease, filter .15s ease; }
.rm-hero-slide__cta:hover { transform: translateY(-2px); filter: brightness(1.07); }

/* Trust / members / CTA banner: gentle lift + accent edge on hover */
.rm-trust, .rm-members-bar, .rm-cta-banner { transition: border-color .25s, box-shadow .25s; }
.rm-trust:hover, .rm-members-bar:hover { border-color: var(--rm-accent); }
.rm-cta-banner { position: relative; overflow: hidden; }
.rm-cta-banner::before {
	content: ""; position: absolute; inset: -40%;
	background: radial-gradient(closest-side, color-mix(in srgb, var(--rm-accent) 22%, transparent), transparent 70%);
	opacity: 0; transition: opacity .4s ease;
	pointer-events: none;
}
.rm-cta-banner:hover::before { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
	.rm-reveal { opacity: 1; transform: none; transition: none; }
	.rm-card:hover .rm-card__corner { animation: none; }
	.rm-card:hover .rm-card__media img,
	.rm-hero-slide.is-active .rm-hero-slide__media img { transform: none; }
	.rm-card__qa-add::after { display: none; }
	.rm-hero-slide__copy > * { opacity: 1; transform: none; }
}

/* ============================================================
   V6.45 showcase: featured hero, ending rail, games band,
   stats count-up, media shimmer, ambient page depth
   ============================================================ */

/* --- Featured competition hero --- */
.rm-featured {
	position: relative; overflow: hidden;
	border-radius: var(--rm-radius-lg, 18px);
	border: 1px solid var(--rm-border);
	background:
		radial-gradient(900px 420px at 85% 0%, color-mix(in srgb, var(--rm-accent) 16%, transparent), transparent 65%),
		radial-gradient(700px 380px at 0% 100%, color-mix(in srgb, var(--rm-accent) 9%, transparent), transparent 60%),
		var(--rm-surface);
	margin-bottom: 8px;
}
.rm-featured__glow {
	position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none;
	background: color-mix(in srgb, var(--rm-accent) 30%, transparent);
	opacity: .5;
}
.rm-featured__glow--a { width: 420px; height: 420px; top: -160px; right: -100px; animation: rm-glow-drift 11s ease-in-out infinite alternate; }
.rm-featured__glow--b { width: 320px; height: 320px; bottom: -140px; left: -80px; animation: rm-glow-drift 13s ease-in-out infinite alternate-reverse; }
@keyframes rm-glow-drift { from { transform: translate(0,0) scale(1); } to { transform: translate(24px,18px) scale(1.12); } }

.rm-featured__inner {
	position: relative; z-index: 1;
	display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
	padding: 48px;
}
.rm-featured--tall .rm-featured__inner { min-height: 560px; }
.rm-featured--standard .rm-featured__inner { min-height: 420px; padding: 36px 48px; }

.rm-featured__eyebrow {
	display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px;
	font-size: var(--rm-text-xs); font-weight: 800; text-transform: uppercase; letter-spacing: .14em;
	color: var(--rm-accent);
}
.rm-featured__eyebrow-dot {
	width: 8px; height: 8px; border-radius: 50%;
	background: var(--rm-accent); box-shadow: 0 0 10px var(--rm-accent);
	animation: rm-rail-pulse 1.4s ease-in-out infinite;
}
.rm-featured__title {
	margin: 0 0 10px;
	font-family: var(--rm-font-display);
	font-size: clamp(34px, 4.6vw, 58px);
	line-height: 1.04; font-weight: 800; letter-spacing: -0.015em;
	text-transform: uppercase;
}
.rm-featured__sub { margin: 0 0 18px; color: var(--rm-fg-muted); font-size: var(--rm-text-base); max-width: 46ch; }

.rm-featured__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.rm-featured__chip {
	display: inline-flex; align-items: center; gap: 7px;
	padding: 8px 14px; border-radius: 999px;
	border: 1px solid var(--rm-border); background: var(--rm-bg);
	font-size: 13px; font-weight: 700; color: var(--rm-fg);
}
.rm-featured__chip i { font-style: normal; color: var(--rm-fg-muted); font-weight: 600; }
.rm-featured__chip b { font-weight: 800; }
.rm-featured__chip--price {
	border-color: color-mix(in srgb, var(--rm-accent) 45%, var(--rm-border));
	color: var(--rm-accent); font-weight: 800; font-size: 15px;
}
.rm-featured__chip--game { background: linear-gradient(135deg, #6d28d9, #4f46e5); border: 0; color: #fff; }
.rm-featured__chip--game .fas { color: rgba(255,255,255,.85); }

.rm-featured__timer { max-width: 420px; }
.rm-featured__gauge { max-width: 420px; margin-top: 10px; }
.rm-featured__actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 20px; }
.rm-featured__qa { padding: 0; max-width: 420px; flex: 1 1 300px; }
.rm-featured__view {
	display: inline-flex; align-items: center; gap: 8px;
	color: var(--rm-fg); font-weight: 700; font-size: var(--rm-text-sm); text-decoration: none;
	border-bottom: 2px solid color-mix(in srgb, var(--rm-accent) 55%, transparent);
	padding-bottom: 2px; transition: color .15s, border-color .15s, gap .15s;
}
.rm-featured__view:hover { color: var(--rm-accent); border-color: var(--rm-accent); gap: 12px; }

.rm-featured__media { position: relative; }
.rm-featured__frame {
	position: relative; border-radius: 22px; overflow: hidden;
	border: 1px solid color-mix(in srgb, var(--rm-accent) 30%, var(--rm-border));
	box-shadow:
		0 30px 80px -30px color-mix(in srgb, var(--rm-accent) 45%, transparent),
		0 12px 30px -12px rgba(0,0,0,.5);
	animation: rm-featured-float 7s ease-in-out infinite;
	aspect-ratio: 4 / 3; background: var(--rm-bg);
}
.rm-featured__frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes rm-featured-float { 0%, 100% { transform: translateY(0) rotate(0.2deg); } 50% { transform: translateY(-12px) rotate(-0.2deg); } }

@media (max-width: 900px) {
	.rm-featured__inner { grid-template-columns: 1fr; padding: 28px 20px; gap: 26px; }
	.rm-featured--tall .rm-featured__inner { min-height: 0; }
	.rm-featured__media { order: -1; }
	.rm-featured__frame { animation: none; }
}

/* --- Ending soon rail --- */
.rm-ending-rail__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
/* rm-rail__nav retired in V6.96: arrows flank the track via rm-rail-shell. */
.rm-rail__arrow {
	width: 42px; height: 42px; border-radius: 50%;
	border: 1px solid var(--rm-border); background: var(--rm-surface);
	color: var(--rm-fg); cursor: pointer; font-size: 13px;
	display: inline-flex; align-items: center; justify-content: center;
	transition: border-color .15s, color .15s, transform .1s;
}
.rm-rail__arrow:hover { border-color: var(--rm-accent); color: var(--rm-accent); }
.rm-rail__arrow:active { transform: scale(.94); }
.rm-rail {
	display: flex; gap: 16px;
	overflow-x: auto; scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	padding: 6px 4px 14px;
	scrollbar-width: none;
}
.rm-rail::-webkit-scrollbar { display: none; }
.rm-rail__item { flex: 0 0 320px; max-width: 84vw; scroll-snap-align: start; }

/* Final-day urgency: any railed card whose timer says today pulses. */
.rm-rail__item .rm-card:has(.rm-ends-today) {
	border-color: color-mix(in srgb, var(--rm-accent) 70%, transparent);
	animation: rm-urgent-pulse 1.6s ease-in-out infinite;
}
@keyframes rm-urgent-pulse {
	0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--rm-accent) 35%, transparent); }
	50%      { box-shadow: 0 0 0 6px color-mix(in srgb, var(--rm-accent) 0%, transparent), 0 0 24px -4px color-mix(in srgb, var(--rm-accent) 55%, transparent); }
}

/* --- Games showcase band --- */
.rm-games-band {
	position: relative; overflow: hidden;
	border-radius: var(--rm-radius-lg, 18px);
	padding: 36px 32px 40px;
	background:
		radial-gradient(800px 300px at 50% -80px, color-mix(in srgb, var(--rm-accent) 14%, transparent), transparent 70%),
		color-mix(in srgb, var(--rm-bg) 88%, #000);
	border: 1px solid var(--rm-border);
}
.rm-games-band__head { margin-bottom: 22px; }
.rm-games-band__grid { display: grid; gap: 22px; }
.rm-games-band__grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.rm-games-band__grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.rm-games-band__grid--cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .rm-games-band__grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 720px) { .rm-games-band__grid { grid-template-columns: 1fr !important; } }

.rm-games-band__item { position: relative; }
.rm-games-band__item::before {
	content: ""; position: absolute; inset: 8% 6% -2% 6%;
	border-radius: 24px; filter: blur(26px); opacity: .35;
	background: var(--rm-game-glow, var(--rm-accent));
	transition: opacity .3s ease;
	pointer-events: none;
}
.rm-games-band__item:hover::before { opacity: .6; }
.rm-games-band__item .rm-card { position: relative; z-index: 1; }

/* Per-game glow colours */
.rm-games-band__item[data-game="bubble_pop"]       { --rm-game-glow: #2563eb; }
.rm-games-band__item[data-game="honey_shapes"]     { --rm-game-glow: #f59e0b; }
.rm-games-band__item[data-game="scratch_cards"]    { --rm-game-glow: #64748b; }
.rm-games-band__item[data-game="new_spinner_game"],
.rm-games-band__item[data-game="spinner_game"]     { --rm-game-glow: #ec4899; }
.rm-games-band__item[data-game="coin_drop"]        { --rm-game-glow: #eab308; }
.rm-games-band__item[data-game="dart_board"]       { --rm-game-glow: #dc2626; }
.rm-games-band__item[data-game="mystery_box"]      { --rm-game-glow: #7c3aed; }
.rm-games-band__item[data-game="pack_rip"]         { --rm-game-glow: #06b6d4; }
.rm-games-band__item[data-game="snap"]             { --rm-game-glow: #f43f5e; }
.rm-games-band__item[data-game="pinata"]           { --rm-game-glow: #f472b6; }
.rm-games-band__item[data-game="fruit_slice"]      { --rm-game-glow: #84cc16; }
.rm-games-band__item[data-game="pop_balloon"]      { --rm-game-glow: #fb7185; }
.rm-games-band__item[data-game="magic_ball"]       { --rm-game-glow: #6d28d9; }
.rm-games-band__item[data-game="safe_crank"]       { --rm-game-glow: #94a3b8; }
.rm-games-band__item[data-game="fishing_game"]     { --rm-game-glow: #0891b2; }
.rm-games-band__item[data-game="penalty_shootout"] { --rm-game-glow: #16a34a; }
.rm-games-band__item[data-game="hook_duck"]        { --rm-game-glow: #fbbf24; }
.rm-games-band__item[data-game="frog_catch"]       { --rm-game-glow: #22c55e; }
.rm-games-band__item[data-game="cork_bottle"]      { --rm-game-glow: #a16207; }
.rm-games-band__item[data-game="coconut_shy"]      { --rm-game-glow: #b45309; }
.rm-games-band__item[data-game="door_game"]        { --rm-game-glow: #0f766e; }
.rm-games-band__item[data-game="slot_machine"]     { --rm-game-glow: #ef4444; }
.rm-games-band__item[data-game="gem_mine"]         { --rm-game-glow: #10b981; }

/* --- Stats count-up presentation --- */
.rm-stat__num { font-variant-numeric: tabular-nums; }

/* --- Media shimmer while images load --- */
.rm-card__media, .rm-featured__frame { position: relative; }
.rm-card__media::before, .rm-featured__frame::before {
	content: ""; position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(100deg,
		color-mix(in srgb, var(--rm-fg) 4%, transparent) 30%,
		color-mix(in srgb, var(--rm-fg) 10%, transparent) 50%,
		color-mix(in srgb, var(--rm-fg) 4%, transparent) 70%);
	background-size: 220% 100%;
	animation: rm-shimmer 1.3s linear infinite;
	pointer-events: none;
	opacity: 1; transition: opacity .35s ease;
}
.rm-card__media:has(img.is-loaded)::before,
.rm-featured__frame:has(img.is-loaded)::before { opacity: 0; animation: none; }
@keyframes rm-shimmer { from { background-position: 200% 0; } to { background-position: -20% 0; } }

/* --- Ambient page depth --- */
body {
	background-image:
		radial-gradient(1000px 500px at 90% -6%, color-mix(in srgb, var(--rm-accent) 7%, transparent), transparent 60%),
		radial-gradient(800px 460px at -6% 30%, color-mix(in srgb, var(--rm-accent) 4%, transparent), transparent 55%);
	background-attachment: fixed;
}

@media (prefers-reduced-motion: reduce) {
	.rm-featured__glow--a, .rm-featured__glow--b,
	.rm-featured__frame,
	.rm-rail__item .rm-card:has(.rm-ends-today),
	.rm-card__media::before, .rm-featured__frame::before { animation: none; }
	.rm-featured__eyebrow-dot { animation: none; }
}

/* ============================================================
   V6.46 tabbed buy box: Online / Free Postal Entry
   ============================================================ */

.rm-buybox { background: var(--rm-surface); border: 1px solid var(--rm-border); border-radius: var(--rm-radius-lg, 18px); overflow: hidden; }

.rm-buybox__tabs { display: flex; gap: 8px; padding: 10px; background: color-mix(in srgb, var(--rm-bg) 70%, var(--rm-surface)); }
.rm-buybox__tab {
	flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 12px 14px; border: 0; border-radius: 10px; cursor: pointer;
	background: transparent; color: var(--rm-fg-muted);
	font-size: var(--rm-text-sm); font-weight: 700;
	transition: background .15s, color .15s;
}
.rm-buybox__tab:hover { color: var(--rm-fg); }
.rm-buybox__tab.is-active { background: var(--rm-surface); color: var(--rm-fg); box-shadow: inset 0 0 0 1px var(--rm-border), 0 4px 14px -8px rgba(0,0,0,.6); }
.rm-buybox__tab .fas { font-size: var(--rm-text-xs); }

.rm-buybox__panel { display: none; padding: 20px; }
.rm-buybox__panel.is-active { display: block; animation: rm-panel-in .25s ease; }
@keyframes rm-panel-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Preset circles */
.rm-buybox__presets { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.rm-buybox__preset {
	width: 54px; height: 48px; border-radius: 999px; cursor: pointer;
	background: var(--rm-bg); color: var(--rm-fg);
	border: 3px solid var(--rm-border);
	font-weight: 800; font-size: var(--rm-text-sm); font-variant-numeric: tabular-nums;
	transition: border-color .15s, transform .12s, background .15s;
}
.rm-buybox__preset:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--rm-accent) 55%, var(--rm-border)); }
.rm-buybox__preset.is-active {
	border-color: var(--rm-accent);
	background: color-mix(in srgb, var(--rm-accent) 14%, var(--rm-bg));
	box-shadow: 0 0 14px -4px color-mix(in srgb, var(--rm-accent) 70%, transparent);
}

/* Odds badge */
.rm-buybox__odds-wrap { display: flex; justify-content: center; margin: 12px 0; }
.rm-buybox__odds {
	min-width: 200px; text-align: center;
	padding: 9px 18px; border-radius: 12px;
	background: var(--rm-accent); color: var(--rm-on-accent);
	font-weight: 800; font-size: var(--rm-text-sm); letter-spacing: .02em;
	box-shadow: 0 6px 20px -8px color-mix(in srgb, var(--rm-accent) 80%, transparent);
	font-variant-numeric: tabular-nums;
}

/* Range slider */
.rm-buybox__slider-row { padding: 6px 2px 2px; margin-bottom: 8px; }
.rm-buybox__slider { -webkit-appearance: none; appearance: none; width: 100%; height: 10px; border-radius: 999px; background: var(--rm-bg); border: 1px solid var(--rm-border); outline: none; }
.rm-buybox__slider::-webkit-slider-thumb {
	-webkit-appearance: none; appearance: none;
	width: 26px; height: 26px; border-radius: 50%;
	background: var(--rm-accent); border: 3px solid #fff;
	box-shadow: 0 2px 12px -2px color-mix(in srgb, var(--rm-accent) 90%, transparent);
	cursor: grab;
}
.rm-buybox__slider::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.08); }
.rm-buybox__slider::-moz-range-thumb {
	width: 22px; height: 22px; border-radius: 50%;
	background: var(--rm-accent); border: 3px solid #fff;
	box-shadow: 0 2px 12px -2px color-mix(in srgb, var(--rm-accent) 90%, transparent);
	cursor: grab;
}
.rm-buybox__slider-scale { display: flex; justify-content: space-between; margin-top: 6px; font-size: 11px; font-weight: 700; color: var(--rm-fg-muted); font-variant-numeric: tabular-nums; }

/* Postal panel */
.rm-buybox__postal { color: var(--rm-fg); font-size: var(--rm-text-sm); line-height: 1.6; }
.rm-buybox__postal-title { margin: 0 0 8px; font-family: var(--rm-font-display); font-size: var(--rm-text-md); }
.rm-buybox__postal p { margin: 0 0 12px; color: var(--rm-fg-muted); }
.rm-buybox__postal-link { color: var(--rm-accent); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.rm-buybox__postal-note { font-size: 13px; padding: 10px 14px; border-radius: 10px; background: var(--rm-bg); border: 1px dashed var(--rm-border); }
.rm-buybox__postal-back {
	margin-top: 6px; padding: 11px 18px; border: 0; border-radius: 10px; cursor: pointer;
	background: var(--rm-accent); color: var(--rm-on-accent); font-weight: 700; font-size: 13px;
	transition: filter .15s;
}
.rm-buybox__postal-back:hover { filter: brightness(1.08); }

@media (prefers-reduced-motion: reduce) { .rm-buybox__panel.is-active { animation: none; } }

/* V6.47 buy box question block */
.rm-buybox__question { border: 0; padding: 0; margin: 0 0 16px; }
.rm-buybox__question-title { font-family: var(--rm-font-display); font-size: var(--rm-text-base); font-weight: 700; padding: 0; margin: 0 0 10px; }
.rm-buybox__answers { display: grid; gap: 8px; }
.rm-buybox__answer { position: relative; display: block; cursor: pointer; }
.rm-buybox__answer input { position: absolute; opacity: 0; pointer-events: none; }
.rm-buybox__answer span {
	display: block; padding: 12px 16px; border-radius: 11px;
	background: var(--rm-bg); border: 2px solid var(--rm-border);
	font-size: var(--rm-text-sm); font-weight: 600; color: var(--rm-fg);
	transition: border-color .15s, background .15s, transform .1s;
}
.rm-buybox__answer:hover span { border-color: color-mix(in srgb, var(--rm-accent) 50%, var(--rm-border)); }
.rm-buybox__answer input:checked + span {
	border-color: var(--rm-accent);
	background: color-mix(in srgb, var(--rm-accent) 12%, var(--rm-bg));
	box-shadow: 0 0 14px -6px color-mix(in srgb, var(--rm-accent) 80%, transparent);
}
.rm-buybox__answer input:focus-visible + span { outline: 2px solid var(--rm-accent); outline-offset: 2px; }

/* ============================================================
   V6.48 custom content section + aurora backdrop
   ============================================================ */

.rm-custom--align-center { text-align: center; }
.rm-custom--align-center .rm-section-title::after { margin-left: auto; margin-right: auto; }
.rm-custom__body { color: var(--rm-fg); }
.rm-custom__body > :first-child { margin-top: 0; }
.rm-custom__body > :last-child { margin-bottom: 0; }

.rm-custom--panel .rm-custom__body,
.rm-custom--glass .rm-custom__body,
.rm-custom--band .rm-custom__body { padding: 26px; border-radius: var(--rm-radius-lg, 18px); }
.rm-custom--panel .rm-custom__body { background: var(--rm-surface); border: 1px solid var(--rm-border); }
.rm-custom--glass .rm-custom__body {
	background: color-mix(in srgb, var(--rm-surface) 65%, transparent);
	border: 1px solid color-mix(in srgb, var(--rm-accent) 25%, var(--rm-border));
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	box-shadow: 0 20px 60px -30px color-mix(in srgb, var(--rm-accent) 40%, transparent);
}
.rm-custom--band .rm-custom__body {
	background:
		radial-gradient(600px 200px at 15% 0%, color-mix(in srgb, var(--rm-accent) 22%, transparent), transparent 70%),
		linear-gradient(120deg, color-mix(in srgb, var(--rm-accent) 16%, var(--rm-surface)), var(--rm-surface));
	border: 1px solid color-mix(in srgb, var(--rm-accent) 40%, var(--rm-border));
}

/* Aurora backdrop: a slow, subtle accent-driven glow drifting behind the
   whole page. Sits under everything, costs one composited layer. */
body::before {
	content: ""; position: fixed; inset: -25%; z-index: -1; pointer-events: none;
	background:
		radial-gradient(38% 30% at 22% 24%, color-mix(in srgb, var(--rm-accent) 11%, transparent), transparent 70%),
		radial-gradient(34% 28% at 80% 12%, color-mix(in srgb, var(--rm-accent) 8%, transparent), transparent 70%),
		radial-gradient(40% 34% at 68% 86%, color-mix(in srgb, var(--rm-accent) 7%, transparent), transparent 70%);
	filter: blur(46px);
	animation: rm-aurora 26s ease-in-out infinite alternate;
}
@keyframes rm-aurora {
	from { transform: translate3d(-2%, -1%, 0) scale(1); }
	to   { transform: translate3d(2%, 2%, 0) scale(1.06); }
}
@media (prefers-reduced-motion: reduce) { body::before { animation: none; } }

/* ============================================================
   V6.49 hero carousel layout: three slides, centre focused
   ============================================================ */
.rm-hero-slider--carousel { overflow: visible; }
.rm-hero-slider--carousel .rm-hero-slider__track {
	position: relative; perspective: 1400px;
	min-height: 440px;
}
.rm-hero-slider--carousel .rm-hero-slide {
	position: absolute; inset: 0;
	display: grid;
	opacity: 0; pointer-events: none;
	transform: translateX(0) scale(.8);
	transition: transform .55s cubic-bezier(.2,.7,.2,1), opacity .45s ease, filter .45s ease;
	will-change: transform, opacity;
	border-radius: var(--rm-radius-lg, 18px);
}
.rm-hero-slider--carousel .rm-hero-slide.is-active {
	opacity: 1; pointer-events: auto; z-index: 3;
	transform: translateX(0) scale(1);
	filter: none;
}
.rm-hero-slider--carousel .rm-hero-slide.is-prev,
.rm-hero-slider--carousel .rm-hero-slide.is-next {
	opacity: .55; z-index: 2; pointer-events: auto; cursor: pointer;
	filter: saturate(.7) brightness(.75) blur(1px);
}
.rm-hero-slider--carousel .rm-hero-slide.is-prev { transform: translateX(-72%) scale(.82) rotateY(7deg); }
.rm-hero-slider--carousel .rm-hero-slide.is-next { transform: translateX(72%)  scale(.82) rotateY(-7deg); }
.rm-hero-slider--carousel .rm-hero-slide.is-prev:hover,
.rm-hero-slider--carousel .rm-hero-slide.is-next:hover { opacity: .8; filter: saturate(.9) brightness(.9); }
/* Side slides are teasers: hide their interactive copy so the page has
   one hero CTA at a time. */
.rm-hero-slider--carousel .rm-hero-slide.is-prev .rm-hero-slide__cta,
.rm-hero-slider--carousel .rm-hero-slide.is-next .rm-hero-slide__cta { visibility: hidden; }
@media (max-width: 900px) {
	.rm-hero-slider--carousel .rm-hero-slide.is-prev { transform: translateX(-88%) scale(.9); }
	.rm-hero-slider--carousel .rm-hero-slide.is-next { transform: translateX(88%)  scale(.9); }
}
@media (prefers-reduced-motion: reduce) {
	.rm-hero-slider--carousel .rm-hero-slide { transition: opacity .3s ease; }
}

/* ============================================================
   V6.50 content tabs: four display styles
   ============================================================ */
.rm-tabs__panel { display: none; color: var(--rm-fg); }
.rm-tabs__panel.is-active { display: block; animation: rm-panel-in .25s ease; }
.rm-tabs__panel > :first-child { margin-top: 0; }
.rm-tabs__tab {
	border: 0; background: transparent; cursor: pointer;
	font-family: inherit; font-size: var(--rm-text-sm); font-weight: 700;
	color: var(--rm-fg-muted); padding: 12px 16px;
	transition: color .15s, background .15s, border-color .15s;
}
.rm-tabs__tab:hover { color: var(--rm-fg); }
.rm-tabs__tab.is-active { color: var(--rm-fg); }
.rm-tabs__tab:focus-visible { outline: 2px solid var(--rm-accent); outline-offset: 2px; border-radius: 8px; }

/* Underline */
.rm-tabs--underline .rm-tabs__bar { display: flex; gap: 4px; border-bottom: 1px solid var(--rm-border); margin-bottom: 18px; overflow-x: auto; }
.rm-tabs--underline .rm-tabs__tab { position: relative; white-space: nowrap; }
.rm-tabs--underline .rm-tabs__tab::after {
	content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px;
	border-radius: 3px 3px 0 0; background: var(--rm-accent);
	transform: scaleX(0); transition: transform .2s ease;
}
.rm-tabs--underline .rm-tabs__tab.is-active::after { transform: scaleX(1); }

/* Pills */
.rm-tabs--pills .rm-tabs__bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.rm-tabs--pills .rm-tabs__tab { border-radius: 999px; background: var(--rm-bg); border: 1px solid var(--rm-border); }
.rm-tabs--pills .rm-tabs__tab.is-active {
	background: var(--rm-accent); border-color: var(--rm-accent); color: var(--rm-on-accent);
	box-shadow: 0 6px 18px -8px color-mix(in srgb, var(--rm-accent) 80%, transparent);
}

/* Boxed segment control */
.rm-tabs--boxed .rm-tabs__bar {
	display: flex; gap: 6px; padding: 6px; margin-bottom: 18px;
	background: color-mix(in srgb, var(--rm-bg) 75%, var(--rm-surface));
	border: 1px solid var(--rm-border); border-radius: 12px;
}
.rm-tabs--boxed .rm-tabs__tab { flex: 1; border-radius: 8px; text-align: center; }
.rm-tabs--boxed .rm-tabs__tab.is-active { background: var(--rm-surface); box-shadow: inset 0 0 0 1px var(--rm-border), 0 4px 12px -8px rgba(0,0,0,.6); }

/* Vertical */
.rm-tabs--vertical { display: grid; grid-template-columns: 200px 1fr; gap: 22px; align-items: start; }
.rm-tabs--vertical .rm-tabs__bar { display: flex; flex-direction: column; gap: 6px; position: sticky; top: 90px; }
.rm-tabs--vertical .rm-tabs__tab { text-align: left; border-radius: 10px; border-left: 3px solid transparent; }
.rm-tabs--vertical .rm-tabs__tab.is-active { background: var(--rm-surface); border-left-color: var(--rm-accent); }
@media (max-width: 720px) {
	.rm-tabs--vertical { grid-template-columns: 1fr; }
	.rm-tabs--vertical .rm-tabs__bar { flex-direction: row; overflow-x: auto; position: static; }
	.rm-tabs--vertical .rm-tabs__tab { white-space: nowrap; border-left: 0; border-bottom: 3px solid transparent; }
	.rm-tabs--vertical .rm-tabs__tab.is-active { border-bottom-color: var(--rm-accent); }
}
@media (prefers-reduced-motion: reduce) { .rm-tabs__panel.is-active { animation: none; } }

/* ============================================================
   V6.50.1 light mode refinement
   Glows, scrims and shadows are tuned for dark surfaces; in light
   mode they read heavy. Everything below softens, never removes.
   ============================================================ */

/* Hero overlay scrim: a light bg mixed at 88% is a thick white wash.
   Thin it right down so the image shows through. */
:root[data-rm-mode="light"] .rm-hero-slide--overlay::before {
	background:
		linear-gradient(90deg,
			color-mix(in srgb, var(--rm-bg) 72%, transparent) 0%,
			color-mix(in srgb, var(--rm-bg) 30%, transparent) 42%,
			transparent 68%);
}

/* Accent text glows: neon halos look like blur on white. Soften hard. */
:root[data-rm-mode="light"] .rm-card:hover .rm-card__price-now { text-shadow: none; }
:root[data-rm-mode="light"] .rm-preset-neon .rm-countdown-boxes__num,
:root[data-rm-mode="light"] [class*="rm-preset"] .rm-countdown-boxes__num {
	text-shadow: 0 0 6px color-mix(in srgb, var(--rm-accent) 18%, transparent);
}

/* Deep black drop shadows become soft grey ambience. */
:root[data-rm-mode="light"] .rm-card:hover { box-shadow: 0 10px 26px -14px rgba(15, 23, 42, .18); }
:root[data-rm-mode="light"] .rm-featured__frame {
	box-shadow:
		0 24px 60px -30px color-mix(in srgb, var(--rm-accent) 28%, transparent),
		0 10px 24px -14px rgba(15, 23, 42, .16);
}
:root[data-rm-mode="light"] .rm-buybox__tab.is-active,
:root[data-rm-mode="light"] .rm-tabs--boxed .rm-tabs__tab.is-active {
	box-shadow: inset 0 0 0 1px var(--rm-border), 0 3px 10px -6px rgba(15, 23, 42, .14);
}
:root[data-rm-mode="light"] .rm-card__corner { box-shadow: 0 3px 10px -4px rgba(15, 23, 42, .25); }

/* Ambient layers: aurora and featured glows drop to a whisper. */
:root[data-rm-mode="light"] body::before { opacity: .5; filter: blur(60px); }
:root[data-rm-mode="light"] .rm-featured__glow { opacity: .22; }

/* Games band: mixing the light bg toward black muddies it; keep it a
   gently tinted panel instead. */
:root[data-rm-mode="light"] .rm-games-band {
	background:
		radial-gradient(800px 300px at 50% -80px, color-mix(in srgb, var(--rm-accent) 9%, transparent), transparent 70%),
		color-mix(in srgb, var(--rm-bg) 96%, #000);
}
:root[data-rm-mode="light"] .rm-games-band__item::before { opacity: .18; }
:root[data-rm-mode="light"] .rm-games-band__item:hover::before { opacity: .32; }

/* Gauge stripes: dark bands over accent are harsher on light pages. */
:root[data-rm-mode="light"] .rm-card__gauge-bar span {
	background:
		repeating-linear-gradient(-45deg, rgba(0,0,0,.14) 0 6px, transparent 6px 12px),
		var(--rm-accent);
	background-size: 24px 100%, 100% 100%;
}

/* V6.51 ends flair */
.rm-ends-flair {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 6px 12px; border-radius: 999px;
	font-size: var(--rm-text-xs); font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
	background: var(--rm-bg); border: 1px solid var(--rm-border); color: var(--rm-fg);
}
.rm-ends-flair--today    { background: color-mix(in srgb, var(--rm-accent) 14%, var(--rm-bg)); border-color: var(--rm-accent); color: var(--rm-accent); }
.rm-ends-flair--tomorrow { border-color: color-mix(in srgb, var(--rm-accent) 50%, var(--rm-border)); }
.rm-ends-flair--ended    { color: var(--rm-fg-muted); }

/* ============================================================
   V6.51.1 modern entry list: theme skin (frontend only)
   The plugin ships utilitarian defaults; these align it with the
   theme's inputs, buttons, tables and the unified pagination.
   ============================================================ */

/* Search input matches theme fields */
body:not(.wp-admin) #search-tickets-lite-entry {
	width: 100%; max-width: 420px;
	background: var(--rm-bg);
	border: 1px solid var(--rm-border);
	border-radius: 11px;
	padding: 12px 16px;
	color: var(--rm-fg);
	font-family: inherit; font-size: var(--rm-text-sm);
	transition: border-color .15s, box-shadow .15s;
}
body:not(.wp-admin) #search-tickets-lite-entry::placeholder { color: var(--rm-fg-muted); }
body:not(.wp-admin) #search-tickets-lite-entry:focus {
	outline: none;
	border-color: var(--rm-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--rm-accent) 22%, transparent);
}

/* My Tickets / All Tickets / All Instants buttons -> theme pills */
body:not(.wp-admin) #entry-list-actions button {
	background: var(--rm-bg);
	color: var(--rm-fg);
	border: 1px solid var(--rm-border);
	border-radius: 999px;
	padding: 9px 16px;
	font-size: 13px; font-weight: 700;
	cursor: pointer;
	transition: border-color .15s, color .15s, background .15s;
}
body:not(.wp-admin) #entry-list-actions button:hover {
	background: color-mix(in srgb, var(--rm-accent) 14%, var(--rm-surface));
	border-color: var(--rm-accent);
	color: var(--rm-accent);
}

/* Table: theme surface, soft dividers, sticky-feeling head */
body:not(.wp-admin) .modern-entry-list-table {
	width: 100%;
	background: var(--rm-surface);
	border: 1px solid var(--rm-border);
	border-radius: var(--rm-radius-lg, 14px);
	overflow: hidden;
	box-shadow: none;
}
body:not(.wp-admin) .modern-entry-list-table thead {
	border-bottom: 1px solid var(--rm-border) !important;
}
body:not(.wp-admin) .modern-entry-list-table th {
	font-size: 11px; font-weight: 800;
	text-transform: uppercase; letter-spacing: .07em;
	color: var(--rm-fg-muted);
	padding-top: 14px; padding-bottom: 14px;
}
body:not(.wp-admin) #output-lite-entry-list .modern-entry-list-table td {
	padding-top: 11px; padding-bottom: 11px;
	border-bottom: 1px solid color-mix(in srgb, var(--rm-border) 55%, transparent);
	color: var(--rm-fg); font-size: var(--rm-text-sm);
}
body:not(.wp-admin) #output-lite-entry-list .modern-entry-list-table tr:last-child td { border-bottom: none; }
body:not(.wp-admin) #output-lite-entry-list .modern-entry-list-table tr:hover td {
	background: color-mix(in srgb, var(--rm-accent) 5%, transparent) !important;
}

/* Pagination follows the unified pattern: tint hover, solid accent active */
body:not(.wp-admin) .pagination-entry-list > span {
	background: var(--rm-surface);
	border: 1px solid var(--rm-border);
	color: var(--rm-fg);
	border-radius: 9px;
	font-weight: 700;
	transition: border-color .12s, background .12s, color .12s;
}
body:not(.wp-admin) .pagination-entry-list > span:hover {
	background: color-mix(in srgb, var(--rm-accent) 14%, var(--rm-surface));
	border-color: var(--rm-accent);
	color: var(--rm-accent);
}
body:not(.wp-admin) .pagination-entry-list > span.active {
	background: var(--rm-accent);
	border-color: var(--rm-accent);
	color: var(--rm-on-accent);
}

/* Instant-win ticket popup -> accent bubble */
body:not(.wp-admin) .ticket-cell .ticket-number .popup {
	background: var(--rm-accent);
	color: var(--rm-on-accent);
	font-weight: 700;
}
body:not(.wp-admin) .ticket-cell .ticket-number .popup::after {
	border-color: var(--rm-accent) transparent transparent transparent;
}

/* Feedback lines */
body:not(.wp-admin) .entry-feedback-error {
	padding: 22px 0; text-align: center; color: var(--rm-fg-muted);
}

/* ============================================================
   V6.52 header + footer styles, product page polish, tab spacing
   ============================================================ */

/* --- Tab / rules content breathing room --- */
.rm-tabs__panel { line-height: 1.75; }
.rm-tabs__panel p { margin: 0 0 18px; }
.rm-tabs__panel p:last-child { margin-bottom: 0; }
.rm-tabs__panel ul, .rm-tabs__panel ol { margin: 0 0 18px; padding-left: 22px; }
.rm-tabs__panel li { margin-bottom: 8px; }

/* --- Header scroll state (all styles) --- */
.rm-site-header { transition: box-shadow .25s ease, background .25s ease, backdrop-filter .25s ease; }
.rm-site-header.is-sticky.is-scrolled {
	background: color-mix(in srgb, var(--rm-surface) 82%, transparent);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	box-shadow: 0 8px 30px -18px rgba(0, 0, 0, .5);
}
.rm-site-header.is-scrolled .rm-site-header__inner { padding-top: 8px; padding-bottom: 8px; }
.rm-site-header__inner { transition: padding .25s ease; }

/* --- Header style: Centred logo --- */
.rm-header-style-centered .rm-site-header__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	grid-template-areas: "nav brand actions";
	align-items: center;
}
.rm-header-style-centered .rm-site-header__brand   { grid-area: brand; justify-self: center; }
.rm-header-style-centered .rm-site-header__nav     { grid-area: nav; justify-self: start; }
.rm-header-style-centered .rm-site-header__actions { grid-area: actions; justify-self: end; }
@media (max-width: 900px) {
	.rm-header-style-centered .rm-site-header__inner { display: flex; }
}

/* --- Header style: Floating glass --- */
.rm-header-style-glass {
	margin: 12px clamp(10px, 3vw, 28px) 0;
	border-radius: 16px;
	border: 1px solid color-mix(in srgb, var(--rm-accent) 18%, var(--rm-border));
	background: color-mix(in srgb, var(--rm-surface) 72%, transparent);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	box-shadow: 0 14px 40px -24px rgba(0, 0, 0, .55);
}
.rm-header-style-glass.is-sticky { top: 10px; }
.rm-header-style-glass.is-scrolled {
	border-color: color-mix(in srgb, var(--rm-accent) 38%, var(--rm-border));
}
@media (max-width: 900px) {
	.rm-header-style-glass { margin: 6px 8px 0; border-radius: 12px; }
	.rm-header-style-glass .rm-site-header__nav { top: calc(100% + 6px); border-radius: 0 0 12px 12px; }
	.rm-header-style-centered .rm-site-header__brand { min-width: 0; }
	.rm-header-style-centered .custom-logo { max-width: 150px; }
}

/* Nav link hover: soft accent bubble (all header styles) */
.rm-site-header__nav a {
	padding: 8px 14px;
	border-radius: 999px;
	transition: background .18s ease, color .18s ease;
}
.rm-site-header__nav a:hover {
	background: color-mix(in srgb, var(--rm-accent) 13%, transparent);
	color: var(--rm-accent);
}
.rm-site-header__nav .current-menu-item > a {
	background: color-mix(in srgb, var(--rm-accent) 18%, transparent);
	color: var(--rm-accent);
}

/* Dropdown menus are deliberately contained; without this, child links render as
   a stray bullet list in centred preset headers. */
.rm-menu-style-dropdown .rm-site-header__menu > li { position: relative; }
.rm-menu-style-dropdown .rm-site-header__menu > li > .sub-menu { position:absolute; z-index:960; top:calc(100% + 8px); left:0; display:none; min-width:190px; margin:0; padding:8px; list-style:none; background:var(--rm-surface); border:1px solid var(--rm-border); border-radius:12px; box-shadow:0 20px 42px -24px rgba(0,0,0,.55); }
.rm-menu-style-dropdown .rm-site-header__menu > li:hover > .sub-menu,.rm-menu-style-dropdown .rm-site-header__menu > li:focus-within > .sub-menu { display:block; }
.rm-menu-style-dropdown .rm-site-header__menu > li > .sub-menu a { display:block; padding:9px 10px; white-space:nowrap; }

/* Presets must collapse before centred branding and header actions compete for space. */
@media (max-width:1024px) {
	.rm-site-header__hamburger { display:inline-flex; }
	.rm-site-header__inner,.rm-header-style-centered .rm-site-header__inner { display:grid; grid-template-columns:auto minmax(0,1fr) auto; grid-template-areas:none; gap:10px; padding:10px 16px; }
	.rm-header-style-centered .rm-site-header__brand,.rm-header-style-centered .rm-site-header__nav,.rm-header-style-centered .rm-site-header__actions { grid-area:auto; justify-self:auto; }
	.rm-site-header__brand { min-width:0; }.rm-site-header .custom-logo { max-width:150px; }
	.rm-site-header__nav { position:absolute; top:100%; left:0; right:0; z-index:955; display:none; padding:14px 20px; max-height:calc(100vh - 76px); overflow-y:auto; background:var(--rm-bg); border-bottom:1px solid var(--rm-border); box-shadow:0 18px 32px -24px rgba(0,0,0,.55); }
	.rm-site-header__nav.is-open { display:block; }.rm-site-header__menu { flex-direction:column; gap:3px; }.rm-site-header__menu a { display:block; padding:10px 8px; font-size: var(--rm-text-base); border-bottom:1px solid var(--rm-border); }
	.rm-menu-style-dropdown .rm-site-header__menu > li > .sub-menu { position:static; display:block; min-width:0; padding:0 0 0 14px; border:0; border-radius:0; box-shadow:none; background:transparent; }.rm-menu-style-dropdown .rm-site-header__menu > li > .sub-menu a { white-space:normal; font-size: var(--rm-text-sm); }
	.rm-site-header__cta,.rm-site-header__actions > .rm-header-custom-btn { display:none; }.rm-site-header__actions { min-width:0; gap:2px; }.rm-site-header__cart { width:38px; padding:0; justify-content:center; }.rm-site-header__cart-count { position:absolute; margin:-22px 0 0 25px; }
}

/* --- Footer style: Minimal centred --- */
.rm-footer-style-minimal .rm-site-footer__inner { text-align: center; }
.rm-footer-style-minimal .rm-footer-widget { display: none; }
.rm-footer-style-minimal .rm-site-footer__inner > * { justify-content: center; }

/* --- Footer style: Bold accent --- */
.rm-footer-style-bold { position: relative; }
.rm-footer-style-bold::before {
	content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
	background: linear-gradient(90deg, var(--rm-accent), color-mix(in srgb, var(--rm-accent) 20%, transparent), var(--rm-accent));
	background-size: 200% 100%;
	animation: rm-footer-sheen 6s linear infinite;
}
@keyframes rm-footer-sheen { from { background-position: 0 0; } to { background-position: 200% 0; } }
.rm-footer-style-bold {
	background:
		radial-gradient(700px 260px at 12% 0%, color-mix(in srgb, var(--rm-accent) 12%, transparent), transparent 65%),
		var(--rm-surface);
}
.rm-footer-density-compact .rm-site-footer__inner { padding-top: 30px; padding-bottom: 30px; }
.rm-footer-density-compact .rm-footer-state__inner { padding-top: 34px; padding-bottom: 34px; }
.rm-footer-density-spacious .rm-site-footer__inner { padding-top: 72px; padding-bottom: 72px; }
.rm-footer-density-spacious .rm-footer-state__inner { padding-top: 76px; padding-bottom: 76px; }
.rm-footer-style-bold .rm-footer-widget__title {
	color: var(--rm-accent);
	text-transform: uppercase; letter-spacing: .08em; font-size: 13px;
}

/* --- Product page: sticky media + premium image frame --- */
@media (min-width: 901px) {
	.rm-product-hero__media {
		position: sticky;
		top: 96px;
		align-self: start;
	}
	.rm-header-style-glass ~ * .rm-product-hero__media,
	.rm-header-style-glass + main .rm-product-hero__media { top: 108px; }
}
.rm-gallery__main {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
}
.rm-gallery__main::before {
	content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
	border-radius: inherit;
	padding: 1px;
	background: linear-gradient(135deg,
		color-mix(in srgb, var(--rm-accent) 55%, transparent),
		transparent 38%,
		transparent 62%,
		color-mix(in srgb, var(--rm-accent) 35%, transparent));
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
}
.rm-gallery__main img {
	display: block; width: 100%;
	transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.rm-gallery__main:hover img { transform: scale(1.03); }
.rm-gallery__thumb {
	border-radius: 12px; overflow: hidden;
	border: 2px solid var(--rm-border);
	transition: border-color .15s, transform .15s, opacity .15s;
	opacity: .75;
}
.rm-gallery__thumb:hover { transform: translateY(-3px); opacity: 1; }
.rm-gallery__thumb[aria-selected="true"] {
	border-color: var(--rm-accent); opacity: 1;
	box-shadow: 0 6px 18px -8px color-mix(in srgb, var(--rm-accent) 70%, transparent);
}

@media (prefers-reduced-motion: reduce) {
	.rm-footer-style-bold::before { animation: none; }
	.rm-gallery__main:hover img { transform: none; }
}

/* ============================================================
   V6.52.1 instant prizes skin + light mode round 2
   ============================================================ */

/* Instant prizes list (product tabs + my account): theme grid of win pills */
body:not(.wp-admin) .my-instant-prizes {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	max-height: 420px;
	overflow: auto;
	padding: 4px;
	scrollbar-width: thin;
	scrollbar-color: var(--rm-border) transparent;
}
body:not(.wp-admin) .winning-ticket-instant {
	width: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 14px 12px;
	border-radius: 12px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.45;
	color: var(--rm-fg);
	background: color-mix(in srgb, var(--rm-success) 13%, var(--rm-surface));
	border: 1px solid color-mix(in srgb, var(--rm-success) 45%, var(--rm-border));
}
@media (max-width: 720px) {
	body:not(.wp-admin) .my-instant-prizes { grid-template-columns: 1fr 1fr; }
}

/* Instant-prize detail belongs with product proof, before the tabbed copy. */
.rm-product-essentials > .rm-product-ticket-accordion {
	margin-block: clamp(18px, 3vw, 30px);
	padding: clamp(14px, 2.4vw, 22px);
	border: 1px solid color-mix(in srgb, var(--rm-accent) 18%, var(--rm-border));
	border-radius: var(--rm-radius-md);
	background: color-mix(in srgb, var(--rm-accent) 4%, var(--rm-surface));
}
.rm-product-leaderboard + .rm-product-ticket-accordion { margin-top: 0; }
body:not(.wp-admin) .not-won-instants-no-click {
	background: var(--rm-bg);
	color: var(--rm-fg-muted);
	border: 1px dashed var(--rm-border);
	border-radius: 12px;
	padding: 14px;
}
body:not(.wp-admin) .iw-generic-banner { font-size: 22px; font-family: var(--rm-font-display); }
body:not(.wp-admin) #instant_history_search {
	background: var(--rm-bg); border: 1px solid var(--rm-border); border-radius: 11px;
	padding: 11px 14px; color: var(--rm-fg); font-family: inherit;
}
body:not(.wp-admin) #instant_history_search:focus {
	outline: none; border-color: var(--rm-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--rm-accent) 22%, transparent);
}
body:not(.wp-admin) .instant-history-action-buttons .button {
	background: var(--rm-bg); color: var(--rm-fg);
	border: 1px solid var(--rm-border); border-radius: 999px;
	padding: 8px 18px; font-weight: 700; font-size: 13px;
	transition: border-color .15s, color .15s, background .15s;
}
body:not(.wp-admin) .instant-history-action-buttons .button:hover {
	background: color-mix(in srgb, var(--rm-accent) 14%, var(--rm-surface));
	border-color: var(--rm-accent); color: var(--rm-accent);
}
body:not(.wp-admin) .payouts-thank-you-banner {
	background: var(--rm-surface); color: var(--rm-fg) !important;
	border: 1px solid color-mix(in srgb, var(--rm-accent) 40%, var(--rm-border));
}
body:not(.wp-admin) .instant-loader-ellipsis { color: var(--rm-accent); }

/* --- Light mode round 2: softer shadows, scrims, contrast --- */
:root[data-rm-mode="light"] .rm-site-header.is-sticky.is-scrolled {
	box-shadow: 0 6px 22px -16px rgba(15, 23, 42, .16);
	background: color-mix(in srgb, var(--rm-surface) 88%, transparent);
}
:root[data-rm-mode="light"] .rm-header-style-glass {
	box-shadow: 0 10px 30px -22px rgba(15, 23, 42, .18);
	background: color-mix(in srgb, var(--rm-surface) 82%, transparent);
}
:root[data-rm-mode="light"] .rm-hero-slide--overlay::before {
	background:
		linear-gradient(90deg,
			color-mix(in srgb, var(--rm-bg) 60%, transparent) 0%,
			color-mix(in srgb, var(--rm-bg) 22%, transparent) 42%,
			transparent 66%);
}
:root[data-rm-mode="light"] .rm-card__qa-add {
	box-shadow: 0 3px 0 color-mix(in srgb, var(--rm-accent) 75%, #7a7a7a);
}
:root[data-rm-mode="light"] .rm-buybox__odds {
	box-shadow: 0 4px 14px -8px color-mix(in srgb, var(--rm-accent) 55%, transparent);
}
:root[data-rm-mode="light"] .rm-footer-style-bold {
	background:
		radial-gradient(700px 260px at 12% 0%, color-mix(in srgb, var(--rm-accent) 7%, transparent), transparent 65%),
		var(--rm-surface);
}
:root[data-rm-mode="light"] .rm-hero-slider--carousel .rm-hero-slide.is-prev,
:root[data-rm-mode="light"] .rm-hero-slider--carousel .rm-hero-slide.is-next {
	opacity: .7; filter: saturate(.85) brightness(.96);
}
:root[data-rm-mode="light"] .rm-card__timer.rm-ends-today {
	background: color-mix(in srgb, var(--rm-accent) 6%, var(--rm-bg));
}
:root[data-rm-mode="light"] .winning-ticket-instant {
	background: color-mix(in srgb, var(--rm-success) 9%, var(--rm-surface));
}

/* V6.53 light mode: ambient glows stay, the faint grid goes. A 2.5%
   near-black line on white reads as a visible grid; on dark it was
   texture. */
:root[data-rm-mode="light"] .rm-body {
	background-image:
		radial-gradient(55% 38% at 12% -4%, color-mix(in srgb, var(--rm-accent) 7%, transparent), transparent 62%),
		radial-gradient(45% 32% at 92% 6%, color-mix(in srgb, var(--rm-accent-2, var(--rm-accent)) 5%, transparent), transparent 60%),
		radial-gradient(70% 45% at 50% 104%, color-mix(in srgb, var(--rm-accent) 4%, transparent), transparent 65%);
	background-attachment: fixed, fixed, fixed;
}

/* Product description block (tabs / custom content) */
.rm-product-description { line-height: 1.75; }
.rm-product-description p { margin: 0 0 16px; }
.rm-product-description p:last-child { margin-bottom: 0; }
.rm-product-description--short { color: var(--rm-fg-muted); }

/* ============================================================
   V6.54 themed inner scrollbars + tab bar overflow fix
   Inner overflow areas match the theme; the window scrollbar is
   left native on purpose.
   ============================================================ */
.rm-body * { scrollbar-width: thin; scrollbar-color: var(--rm-border) transparent; }
.rm-body ::-webkit-scrollbar { width: 9px; height: 9px; }
.rm-body ::-webkit-scrollbar-track { background: transparent; }
.rm-body ::-webkit-scrollbar-thumb {
	background: var(--rm-border);
	border-radius: 999px;
	border: 2px solid transparent;
	background-clip: padding-box;
}
.rm-body ::-webkit-scrollbar-thumb:hover {
	background: color-mix(in srgb, var(--rm-accent) 55%, var(--rm-border));
	background-clip: padding-box;
}
.rm-body ::-webkit-scrollbar-corner { background: transparent; }

/* Horizontal tab bars: no stray vertical scrollbar */
.rm-tabs--underline .rm-tabs__bar { overflow-y: hidden; }
@media (max-width: 720px) {
	.rm-tabs--vertical .rm-tabs__bar { overflow-y: hidden; }
}

/* ============================================================
   V6.55 minigame card auras, gallery labels, account theming,
   Elementor colour bridge
   ============================================================ */

/* --- Minigame cards get a living aura in their game colour --- */
.rm-card:has(.rm-card__corner[data-game="bubble_pop"]) { --rm-game-glow: #2563eb; }
.rm-card:has(.rm-card__corner[data-game="honey_shapes"]) { --rm-game-glow: #f59e0b; }
.rm-card:has(.rm-card__corner[data-game="scratch_cards"]) { --rm-game-glow: #64748b; }
.rm-card:has(.rm-card__corner[data-game="new_spinner_game"]) { --rm-game-glow: #ec4899; }
.rm-card:has(.rm-card__corner[data-game="spinner_game"]) { --rm-game-glow: #ec4899; }
.rm-card:has(.rm-card__corner[data-game="coin_drop"]) { --rm-game-glow: #eab308; }
.rm-card:has(.rm-card__corner[data-game="dart_board"]) { --rm-game-glow: #dc2626; }
.rm-card:has(.rm-card__corner[data-game="mystery_box"]) { --rm-game-glow: #7c3aed; }
.rm-card:has(.rm-card__corner[data-game="pack_rip"]) { --rm-game-glow: #06b6d4; }
.rm-card:has(.rm-card__corner[data-game="snap"]) { --rm-game-glow: #f43f5e; }
.rm-card:has(.rm-card__corner[data-game="pinata"]) { --rm-game-glow: #f472b6; }
.rm-card:has(.rm-card__corner[data-game="fruit_slice"]) { --rm-game-glow: #84cc16; }
.rm-card:has(.rm-card__corner[data-game="pop_balloon"]) { --rm-game-glow: #fb7185; }
.rm-card:has(.rm-card__corner[data-game="magic_ball"]) { --rm-game-glow: #6d28d9; }
.rm-card:has(.rm-card__corner[data-game="safe_crank"]) { --rm-game-glow: #94a3b8; }
.rm-card:has(.rm-card__corner[data-game="fishing_game"]) { --rm-game-glow: #0891b2; }
.rm-card:has(.rm-card__corner[data-game="penalty_shootout"]) { --rm-game-glow: #16a34a; }
.rm-card:has(.rm-card__corner[data-game="hook_duck"]) { --rm-game-glow: #fbbf24; }
.rm-card:has(.rm-card__corner[data-game="frog_catch"]) { --rm-game-glow: #22c55e; }
.rm-card:has(.rm-card__corner[data-game="cork_bottle"]) { --rm-game-glow: #a16207; }
.rm-card:has(.rm-card__corner[data-game="coconut_shy"]) { --rm-game-glow: #b45309; }
.rm-card:has(.rm-card__corner[data-game="door_game"]) { --rm-game-glow: #0f766e; }
.rm-card:has(.rm-card__corner[data-game="slot_machine"]) { --rm-game-glow: #ef4444; }
.rm-card:has(.rm-card__corner[data-game="gem_mine"]) { --rm-game-glow: #10b981; }

.rm-gallery__chip[data-game="bubble_pop"] { background: #2563eb; }
.rm-gallery__chip[data-game="honey_shapes"] { background: #f59e0b; }
.rm-gallery__chip[data-game="scratch_cards"] { background: #64748b; }
.rm-gallery__chip[data-game="new_spinner_game"] { background: #ec4899; }
.rm-gallery__chip[data-game="spinner_game"] { background: #ec4899; }

.rm-card:has(.rm-card__corner--game) {
	--rm-game-glow: var(--rm-accent);
}
.rm-card:has(.rm-card__corner--game)::after {
	content: ""; position: absolute; inset: -1px; z-index: -1;
	border-radius: inherit;
	background: var(--rm-game-glow);
	filter: blur(22px);
	opacity: .18;
	animation: rm-aura-breathe 3.6s ease-in-out infinite;
	pointer-events: none;
}
.rm-card:has(.rm-card__corner--game):hover::after { opacity: .38; }
@keyframes rm-aura-breathe {
	0%, 100% { transform: scale(.985); opacity: .14; }
	50%      { transform: scale(1.015); opacity: .26; }
}
.rm-card:has(.rm-card__corner--game) .rm-card__corner--game {
	animation: rm-corner-sway 4.5s ease-in-out infinite;
}
@keyframes rm-corner-sway {
	0%, 100% { transform: rotate(0deg); }
	30%      { transform: rotate(-1.6deg) translateY(1px); }
	65%      { transform: rotate(1.4deg); }
}

/* --- Product gallery labels --- */
.rm-gallery__labels {
	position: absolute; z-index: 2;
	display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
}
.rm-gallery__labels--tl { top: 14px; left: 14px; }
.rm-gallery__labels--tr { top: 14px; right: 14px; align-items: flex-end; }
.rm-gallery__chip {
	display: inline-flex; align-items: center; gap: 7px;
	padding: 8px 13px; border-radius: 999px;
	font-size: var(--rm-text-xs); font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
	color: #fff; background: var(--rm-accent);
	box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .55);
	backdrop-filter: blur(4px);
}
.rm-gallery__chip--instant { background: var(--rm-accent); color: var(--rm-on-accent); }
.rm-gallery__chip--sale    { background: #f97316; }
.rm-gallery__chip[data-game="bubble_pop"] { background: #2563eb; }
.rm-gallery__chip[data-game="honey_shapes"] { background: #f59e0b; }
.rm-gallery__chip[data-game="scratch_cards"] { background: #64748b; }
.rm-gallery__chip[data-game="new_spinner_game"] { background: #ec4899; }
.rm-gallery__chip[data-game="spinner_game"] { background: #ec4899; }
.rm-gallery__chip[data-game="coin_drop"] { background: #eab308; }
.rm-gallery__chip[data-game="dart_board"] { background: #dc2626; }
.rm-gallery__chip[data-game="mystery_box"] { background: #7c3aed; }
.rm-gallery__chip[data-game="pack_rip"] { background: #06b6d4; }
.rm-gallery__chip[data-game="snap"] { background: #f43f5e; }
.rm-gallery__chip[data-game="pinata"] { background: #f472b6; }
.rm-gallery__chip[data-game="fruit_slice"] { background: #84cc16; }
.rm-gallery__chip[data-game="pop_balloon"] { background: #fb7185; }
.rm-gallery__chip[data-game="magic_ball"] { background: #6d28d9; }
.rm-gallery__chip[data-game="safe_crank"] { background: #94a3b8; }
.rm-gallery__chip[data-game="fishing_game"] { background: #0891b2; }
.rm-gallery__chip[data-game="penalty_shootout"] { background: #16a34a; }
.rm-gallery__chip[data-game="hook_duck"] { background: #fbbf24; }
.rm-gallery__chip[data-game="frog_catch"] { background: #22c55e; }
.rm-gallery__chip[data-game="cork_bottle"] { background: #a16207; }
.rm-gallery__chip[data-game="coconut_shy"] { background: #b45309; }
.rm-gallery__chip[data-game="door_game"] { background: #0f766e; }
.rm-gallery__chip[data-game="slot_machine"] { background: #ef4444; }
.rm-gallery__chip[data-game="gem_mine"] { background: #10b981; }
.rm-gallery__labels .rm-ends-flair {
	background: color-mix(in srgb, #0b0f1e 72%, transparent);
	border-color: transparent; color: #fff;
	backdrop-filter: blur(4px);
}
.rm-gallery__labels .rm-ends-flair--today { color: #fff; background: var(--rm-accent); }
.rm-gallery__badge { display: none; }

/* --- My Account: theme alignment --- */
body:not(.wp-admin) .woocommerce-MyAccount-content mark {
	background: transparent;
	color: var(--rm-accent);
	font-weight: 700;
}
body:not(.wp-admin) #ticket-loop-container-woocommerce {
	background: var(--rm-surface);
	border: 1px solid var(--rm-border);
	border-radius: 0 14px 14px 14px;
}
body:not(.wp-admin) .woocommerce-MyAccount-content input[type="text"],
body:not(.wp-admin) .woocommerce-MyAccount-content input[type="email"],
body:not(.wp-admin) .woocommerce-MyAccount-content input[type="password"],
body:not(.wp-admin) .woocommerce-MyAccount-content input[type="tel"],
body:not(.wp-admin) .woocommerce-MyAccount-content select,
body:not(.wp-admin) .woocommerce-MyAccount-content textarea {
	background: var(--rm-bg);
	border: 1px solid var(--rm-border);
	border-radius: 11px;
	padding: 11px 14px;
	color: var(--rm-fg);
	font-family: inherit;
}
body:not(.wp-admin) .woocommerce-MyAccount-content input:focus,
body:not(.wp-admin) .woocommerce-MyAccount-content select:focus,
body:not(.wp-admin) .woocommerce-MyAccount-content textarea:focus {
	outline: none; border-color: var(--rm-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--rm-accent) 22%, transparent);
}
body:not(.wp-admin) .my-payouts-action-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
body:not(.wp-admin) .my-payouts-action-bar .portal-site-credit-vis,
body:not(.wp-admin) .my-payouts-action-bar a {
	display: inline-flex; align-items: center;
	padding: 9px 16px; border-radius: 999px; cursor: pointer;
	background: var(--rm-bg); color: var(--rm-fg);
	border: 1px solid var(--rm-border);
	font-size: 13px; font-weight: 700; text-decoration: none;
	transition: border-color .15s, color .15s, background .15s;
}
body:not(.wp-admin) .my-payouts-action-bar .portal-site-credit-vis:hover,
body:not(.wp-admin) .my-payouts-action-bar a:hover {
	background: color-mix(in srgb, var(--rm-accent) 14%, var(--rm-surface));
	border-color: var(--rm-accent); color: var(--rm-accent);
}

/* Payout popup */
body:not(.wp-admin) .popup_container_payout { background: rgba(5, 8, 18, .6); backdrop-filter: blur(4px); }
body:not(.wp-admin) .popup_container_payout_child {
	background: var(--rm-surface);
	border: 1px solid var(--rm-border);
	border-radius: 16px;
	color: var(--rm-fg);
	box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .6);
}
body:not(.wp-admin) .popup_container_payout_child p { color: var(--rm-fg-muted) !important; }
body:not(.wp-admin) .popup_container_payout_child hr { border-color: var(--rm-border); }
body:not(.wp-admin) .popup_container_payout_child input[type="text"],
body:not(.wp-admin) .popup_container_payout_child select,
body:not(.wp-admin) .popup_container_payout_child textarea {
	width: 100%;
	background: var(--rm-bg);
	border: 1px solid var(--rm-border);
	border-radius: 10px;
	padding: 10px 13px;
	color: var(--rm-fg);
	font-family: inherit;
}
body:not(.wp-admin) .popup_container_payout_child input:focus,
body:not(.wp-admin) .popup_container_payout_child select:focus,
body:not(.wp-admin) .popup_container_payout_child textarea:focus {
	outline: none; border-color: var(--rm-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--rm-accent) 22%, transparent);
}
body:not(.wp-admin) #save_manual_payout_email {
	width: 100%;
	background: var(--rm-accent); color: var(--rm-on-accent);
	border: 0; border-radius: 999px;
	padding: 13px 18px; margin-top: 12px;
	font-weight: 800; font-size: var(--rm-text-sm); cursor: pointer;
	transition: filter .15s;
}
body:not(.wp-admin) #save_manual_payout_email:hover:not(:disabled) { filter: brightness(1.08); }
body:not(.wp-admin) #save_manual_payout_email:disabled { opacity: .45; cursor: not-allowed; }
body:not(.wp-admin) .payout-check-row { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0 0; font-size: 13px; color: var(--rm-fg-muted); }

/* --- Elementor colour bridge: plugin CSS written against Elementor
   globals inherits the theme palette automatically. --- */
:root {
	--e-global-color-primary: var(--rm-accent);
	--e-global-color-secondary: var(--rm-accent-2, var(--rm-accent));
	--e-global-color-accent: var(--rm-accent);
	--e-global-color-text: var(--rm-fg);
}

@media (prefers-reduced-motion: reduce) {
	.rm-card:has(.rm-card__corner--game)::after,
	.rm-card:has(.rm-card__corner--game) .rm-card__corner--game { animation: none; }
}

/* ============================================================
   V6.55.1 account round 2: WC form variable bridge, ticket loop,
   payout confirmation, referral dashboard
   ============================================================ */

/* WooCommerce forms read these vars natively: one mapping themes every
   WC input across account, checkout and login. */
:root {
	--wc-form-color-background: var(--rm-bg);
	--wc-form-color-text: var(--rm-fg);
	--wc-form-border-color: var(--rm-border);
	--wc-form-border-width: 1px;
	--wc-form-border-radius: 11px;
}

/* Footer: additional editorial variations */
.rm-footer-style-split .rm-footer-main { grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 8vw, 120px); }
.rm-footer-style-split .rm-footer-brand { padding-right: clamp(0px, 5vw, 72px); border-right: 1px solid var(--rm-border); }
.rm-footer-style-landing .rm-footer-main { display: block; text-align: center; }
.rm-footer-style-landing .rm-footer-brand { max-width: 620px; margin: 0 auto; }
.rm-footer-style-landing .rm-footer-brand__social { justify-content: center; }
.rm-footer-style-landing .rm-footer-links { margin-top: 32px; justify-content: center; }

/* Theme-native compatibility polish */
body:not(.wp-admin) #tamper-proof-badge { background: var(--rm-surface) !important; color: var(--rm-fg) !important; border: 1px solid var(--rm-border); border-radius: var(--rm-radius-md, 10px); box-shadow: 0 8px 24px color-mix(in srgb, var(--rm-fg) 10%, transparent); }
body:not(.wp-admin) #tamper-proof-badge * { color: inherit !important; }
 .rm-popup__contact { display: grid; gap: 12px; margin-top: 18px; }
 .rm-popup__contact label { display: grid; gap: 6px; color: var(--rm-fg); font-size: 13px; font-weight: 700; }
 .rm-popup__contact input, .rm-popup__contact textarea { width: 100%; box-sizing: border-box; padding: 11px 12px; color: var(--rm-fg); background: var(--rm-bg); border: 1px solid var(--rm-border); border-radius: var(--rm-radius-sm, 8px); font: inherit; }
 .rm-popup__contact textarea { resize: vertical; }
 .rm-popup__contact .rm-popup__btn { justify-self: start; border: 0; cursor: pointer; }
 .rm-popup__form-status { min-height: 1.2em; margin: 0; color: var(--rm-fg-muted); font-size: 13px; }
body:not(.wp-admin) .woocommerce-order-details mark.order-number,
body:not(.wp-admin) .woocommerce-order-details mark.order-date,
body:not(.wp-admin) .woocommerce-order-details mark.order-status,
body:not(.wp-admin) .woocommerce-MyAccount-content mark { background: transparent; color: var(--rm-fg); padding: 0; }

/* Optional end marker on the live sold gauge */
.rm-progress__track { overflow: visible; }
.rm-progress__bar-parent { overflow: visible; }
.rm-progress__end-icon { position: absolute; right: -10px; top: 50%; display: grid; place-items: center; width: 22px; height: 22px; transform: translateY(-50%); border-radius: 999px; background: var(--rm-accent); color: var(--rm-on-accent); font-size: 10px; box-shadow: 0 3px 10px color-mix(in srgb, var(--rm-accent) 42%, transparent); }
.rm-progress__end-icon i { color: inherit; }

/* Ticket boxes in the loop */
body:not(.wp-admin) .ticket-box-ticket-loop {
	background: var(--rm-bg);
	border: 1px solid var(--rm-border);
	color: var(--rm-fg);
	border-radius: 9px;
}
body:not(.wp-admin) .ticket-box-ticket-loop:hover {
	border-color: var(--rm-accent);
	color: var(--rm-accent);
}

/* Ticket search input */
body:not(.wp-admin) .search-loop-tickets {
	background: var(--rm-bg) !important;
	border: 1px solid var(--rm-border) !important;
	border-radius: 9px !important;
	color: var(--rm-fg);
}
body:not(.wp-admin) .search-loop-tickets:focus {
	border-color: var(--rm-accent) !important;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--rm-accent) 22%, transparent);
}

/* Payout confirmation popup */
body:not(.wp-admin) .popup-prize-name { color: var(--rm-fg) !important; }
body:not(.wp-admin) .payout-decision-claim-info { color: var(--rm-fg-muted); }
body:not(.wp-admin) .disclaimer-payout-conf-confirm-label { color: var(--rm-fg-muted); font-family: inherit; }
body:not(.wp-admin) .alternative_payout_actions.highlight_wallet::before {
	background: var(--rm-surface);
	color: var(--rm-fg-muted);
}
body:not(.wp-admin) #manual_payout_type_choice,
body:not(.wp-admin) #manual_payout_variant_choice,
body:not(.wp-admin) #manual_payout_alt_physical_choice {
	background: var(--rm-bg);
	border: 1px solid var(--rm-border);
	color: var(--rm-fg);
	border-radius: 10px;
}
body:not(.wp-admin) #payout_confirm_check { accent-color: var(--rm-accent); }
body:not(.wp-admin) .pop_out_payout_actions button {
	border: 0; border-radius: 999px; cursor: pointer;
	padding: 12px 18px; font-weight: 800; font-size: var(--rm-text-sm); font-family: inherit;
	background: var(--rm-accent); color: var(--rm-on-accent);
	transition: filter .15s, border-color .15s, color .15s, background .15s;
}
body:not(.wp-admin) .pop_out_payout_actions button:hover { filter: brightness(1.08); }
body:not(.wp-admin) .pop_out_payout_actions .manual_payout_action {
	background: var(--rm-bg); color: var(--rm-fg);
	border: 1px solid var(--rm-border); filter: none;
}
body:not(.wp-admin) .pop_out_payout_actions .manual_payout_action:hover {
	background: color-mix(in srgb, var(--rm-accent) 14%, var(--rm-surface));
	border-color: var(--rm-accent); color: var(--rm-accent);
}
body:not(.wp-admin) .pop_out_payout_actions.disabled { opacity: .5; pointer-events: none; }
body:not(.wp-admin) .response-feedback-payout { color: var(--rm-fg-muted); }

/* Referral dashboard */
body:not(.wp-admin) .referral-dashboard .section {
	background: var(--rm-surface);
	border: 1px solid var(--rm-border);
	box-shadow: none;
	color: var(--rm-fg);
}
body:not(.wp-admin) .missing-rewards-referral {
	background: var(--rm-bg);
	border: 1px dashed var(--rm-border);
	color: var(--rm-fg-muted);
}
body:not(.wp-admin) .my-referral-link { color: var(--rm-accent); }
body:not(.wp-admin) #referral-list table th { color: var(--rm-fg); }
body:not(.wp-admin) #referral-list td { color: var(--rm-fg-muted); }
body:not(.wp-admin) #referral-list p { color: var(--rm-fg-muted); }
body:not(.wp-admin) #current-rewards-container { color: var(--rm-on-accent); }
body:not(.wp-admin) #current-rewards-container * { color: var(--rm-on-accent); }
body:not(.wp-admin) #current-rewards-container .title {
	border-bottom-color: color-mix(in srgb, var(--rm-on-accent) 25%, transparent);
}
body:not(.wp-admin) #current-rewards-container .pulsing-dot { background-color: var(--rm-on-accent); }
body:not(.wp-admin) #added-referral-link {
	background: color-mix(in srgb, var(--rm-success) 16%, var(--rm-surface));
	border: 1px solid color-mix(in srgb, var(--rm-success) 45%, var(--rm-border));
	color: var(--rm-fg);
	border-radius: 10px;
}

/* ============================================================
   V6.56 minigame animated colour border + effects toggles
   ============================================================ */

/* Rotating colour border on minigame cards, in the game's colour.
   Uses a registered custom property so the conic angle animates. */
@property --rm-ring-angle {
	syntax: '<angle>';
	initial-value: 0deg;
	inherits: false;
}
.rm-card:has(.rm-card__corner--game) { border-color: transparent; }
.rm-card:has(.rm-card__corner--game)::before {
	content: ""; position: absolute; inset: 0; z-index: 3;
	border-radius: inherit;
	padding: 1.5px;
	background: conic-gradient(from var(--rm-ring-angle),
		var(--rm-game-glow),
		color-mix(in srgb, var(--rm-game-glow) 25%, transparent) 25%,
		var(--rm-game-glow) 50%,
		color-mix(in srgb, var(--rm-game-glow) 25%, transparent) 75%,
		var(--rm-game-glow));
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	animation: rm-ring-spin 7s linear infinite;
	pointer-events: none;
}
.rm-card:has(.rm-card__corner--game):hover::before { animation-duration: 2.8s; }
@keyframes rm-ring-spin { to { --rm-ring-angle: 360deg; } }

/* Browsers without @property (no angle animation) still get a static
   gradient ring; nothing breaks. */
@supports not (background: paint(x)) {
	.rm-card:has(.rm-card__corner--game)::before { animation: none; }
}

/* --- Effects toggles: site-wide off switches --- */
body.rm-fx-no-aurora::before { display: none; }
body.rm-fx-no-reveal .rm-reveal { opacity: 1; transform: none; transition: none; }
body.rm-fx-no-game-aura .rm-card:has(.rm-card__corner--game)::after { display: none; }
body.rm-fx-no-game-aura .rm-card:has(.rm-card__corner--game) .rm-card__corner--game { animation: none; }
body.rm-fx-no-game-border .rm-card:has(.rm-card__corner--game) { border-color: var(--rm-border); }
body.rm-fx-no-game-border .rm-card:has(.rm-card__corner--game)::before { display: none; }

@media (prefers-reduced-motion: reduce) {
	.rm-card:has(.rm-card__corner--game)::before { animation: none; }
}

/* ============================================================
   V6.57 footer builder blocks
   ============================================================ */
.rm-footer-state { border-bottom: 1px solid var(--rm-border); }
.rm-footer-state__inner {
	max-width: 1180px; margin: 0 auto; padding: 56px 24px;
	display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.rm-footer-state__title {
	margin: 0; font-family: var(--rm-font-display);
	font-size: clamp(34px, 5vw, 60px); font-weight: 800;
	font-style: italic; text-transform: uppercase; letter-spacing: -0.01em; line-height: 1.02;
}
.rm-footer-state__title span { display: block; }
.rm-footer-state__accent {
	color: var(--rm-accent);
	text-shadow: 0 0 24px color-mix(in srgb, var(--rm-accent) 45%, transparent);
}
.rm-footer-state__action { text-align: right; }
.rm-footer-state__btn {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 15px 26px; border-radius: 13px;
	background: transparent; color: var(--rm-fg);
	border: 2px solid var(--rm-accent);
	box-shadow: 0 0 22px -6px color-mix(in srgb, var(--rm-accent) 70%, transparent), inset 0 0 18px -10px color-mix(in srgb, var(--rm-accent) 60%, transparent);
	font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: .05em; text-decoration: none;
	transition: transform .14s, box-shadow .14s, background .14s;
}
.rm-footer-state__btn:hover {
	transform: translateY(-2px);
	background: color-mix(in srgb, var(--rm-accent) 14%, transparent);
	box-shadow: 0 0 34px -6px color-mix(in srgb, var(--rm-accent) 85%, transparent);
}
.rm-footer-state__note { margin: 12px 2px 0; font-size: var(--rm-text-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--rm-fg-muted); }
@media (max-width: 720px) { .rm-footer-state__action { text-align: left; } }

.rm-footer-rows { max-width: 1180px; margin: 0 auto; padding: 6px 24px; }
.rm-footer-rows__row {
	display: grid; grid-template-columns: 190px 1fr; gap: 18px; align-items: center;
	padding: 18px 0; border-bottom: 1px solid var(--rm-border);
}
.rm-footer-rows__row:last-child { border-bottom: none; }
.rm-footer-rows__label {
	display: inline-flex; align-items: center; gap: 9px;
	font-size: var(--rm-text-xs); font-weight: 800; text-transform: uppercase; letter-spacing: .12em;
	color: var(--rm-fg-muted);
}
.rm-footer-rows__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--rm-accent); box-shadow: 0 0 8px var(--rm-accent); }
.rm-footer-rows__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 26px; }
.rm-footer-rows__links a { color: var(--rm-fg); font-size: var(--rm-text-sm); font-weight: 600; text-decoration: none; transition: color .15s; }
.rm-footer-rows__links a:hover { color: var(--rm-accent); }
@media (max-width: 720px) { .rm-footer-rows__row { grid-template-columns: 1fr; gap: 8px; } }

.rm-footer-wordmark {
	text-align: center;
	font-family: var(--rm-font-display);
	font-size: clamp(58px, 13vw, 170px);
	font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .01em;
	line-height: 1; padding: 30px 0 34px; user-select: none; white-space: nowrap; overflow: hidden;
}
.rm-footer-wordmark--outline {
	color: transparent;
	-webkit-text-stroke: 2px var(--rm-accent);
	text-shadow: 0 0 34px color-mix(in srgb, var(--rm-accent) 40%, transparent);
}
.rm-footer-wordmark--solid { color: color-mix(in srgb, var(--rm-fg) 7%, transparent); }

.rm-footer-badges { display: inline-flex; align-items: center; gap: 10px; margin-left: 12px; }
.rm-footer-badge--18 {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 34px; padding: 4px 7px; border-radius: 7px;
	background: var(--rm-fg); color: var(--rm-bg);
	font-size: 11px; font-weight: 800;
}
.rm-footer-badge__text { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--rm-fg-muted); }

.rm-footer-powered { text-align: center; margin: 6px 0 0; padding-bottom: 10px; font-size: 13px; color: var(--rm-fg-muted); }
.rm-footer-powered a, .rm-footer-powered span { color: var(--rm-accent); font-weight: 700; text-decoration: none; }

:root[data-rm-mode="light"] .rm-footer-state__accent { text-shadow: none; }
:root[data-rm-mode="light"] .rm-footer-wordmark--outline { text-shadow: 0 0 18px color-mix(in srgb, var(--rm-accent) 20%, transparent); }

/* ============================================================
   V6.58 sticky bottom bar, mega menu panel, bespoke pages
   ============================================================ */

/* --- Sticky bottom bar --- */
.rm-bottom-bar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
	padding: 10px clamp(10px, 3vw, 24px);
	padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
	pointer-events: none;
}
.rm-bottom-bar__inner {
	pointer-events: auto;
	max-width: 1180px; margin: 0 auto;
	display: flex; align-items: center; justify-content: space-between; gap: 14px;
	padding: 10px 12px 10px 16px;
	border-radius: 16px;
	background: color-mix(in srgb, var(--rm-surface) 82%, transparent);
	border: 1px solid color-mix(in srgb, var(--rm-accent) 22%, var(--rm-border));
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	box-shadow: 0 -8px 40px -18px rgba(0, 0, 0, .55), 0 10px 30px -18px rgba(0, 0, 0, .5);
}
.rm-bottom-bar__text {
	display: inline-flex; align-items: center; gap: 12px;
	font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
	color: var(--rm-fg);
}
.rm-bottom-bar__icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 36px; height: 36px; border-radius: 50%;
	background: color-mix(in srgb, var(--rm-accent) 16%, transparent);
	color: var(--rm-accent); font-size: 15px;
	box-shadow: 0 0 14px -4px color-mix(in srgb, var(--rm-accent) 60%, transparent);
}
.rm-bottom-bar__actions { display: inline-flex; align-items: center; gap: 8px; }
.rm-bottom-bar__btn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 10px 18px; border-radius: 999px;
	font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
	text-decoration: none; transition: transform .12s, filter .15s, background .15s, border-color .15s;
}
.rm-bottom-bar__btn:hover { transform: translateY(-1px); }
.rm-bottom-bar__btn--ghost {
	color: var(--rm-fg);
	border: 2px solid var(--rm-accent);
	box-shadow: 0 0 16px -6px color-mix(in srgb, var(--rm-accent) 70%, transparent);
}
.rm-bottom-bar__btn--ghost:hover { background: color-mix(in srgb, var(--rm-accent) 14%, transparent); }
.rm-bottom-bar__btn--solid {
	background: var(--rm-bg); color: var(--rm-fg);
	border: 1px solid var(--rm-border);
}
.rm-bottom-bar__btn--solid:hover { border-color: var(--rm-accent); color: var(--rm-accent); }
.rm-bottom-bar__btn--wa {
	width: 42px; height: 42px; padding: 0; justify-content: center;
	border: 2px solid var(--rm-success); color: var(--rm-success); font-size: 19px;
	position: relative;
	box-shadow: 0 0 16px -6px rgba(34, 197, 94, .7);
}
.rm-bottom-bar__btn--wa::after {
	content: ""; position: absolute; top: 2px; right: 2px;
	width: 8px; height: 8px; border-radius: 50%;
	background: var(--rm-success); box-shadow: 0 0 6px var(--rm-success);
}
body:has(.rm-bottom-bar) { padding-bottom: 84px; }
@media (max-width: 720px) {
	.rm-bottom-bar__text { font-size: 11px; gap: 8px; }
	.rm-bottom-bar__icon { width: 30px; height: 30px; font-size: 13px; }
	.rm-bottom-bar__btn { padding: 9px 13px; font-size: var(--rm-text-xs); }
}
@media (min-width: 721px) {
	.rm-bottom-bar--mobile-only { display: none; }
	body:has(.rm-bottom-bar--mobile-only) { padding-bottom: 0; }
}

/* --- Mega menu panel --- */
.rm-menu-style-mega .rm-site-header__menu > li { position: relative; }
.rm-menu-style-mega .rm-site-header__menu > li > .rm-mega {
	position: absolute; top: calc(100% + 10px); left: -20px; z-index: 950;
	display: grid; grid-template-columns: 1fr;
	min-width: 340px;
	background: color-mix(in srgb, var(--rm-surface) 96%, transparent);
	border: 1px solid var(--rm-border);
	border-radius: 16px;
	padding: 20px;
	box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .65);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.rm-menu-style-mega .rm-site-header__menu > li > .rm-mega:has(.rm-mega__promo) {
	grid-template-columns: 1.15fr 1fr;
	gap: 20px;
	min-width: 560px;
}
.rm-menu-style-mega .rm-site-header__menu > li:hover > .rm-mega,
.rm-menu-style-mega .rm-site-header__menu > li:focus-within > .rm-mega {
	opacity: 1; visibility: visible; transform: translateY(0);
}
.rm-mega__tiles {
	list-style: none; margin: 0; padding: 0;
	display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px;
	position: static !important; opacity: 1 !important; visibility: visible !important;
	background: transparent !important; border: 0 !important; box-shadow: none !important; transform: none !important;
}
.rm-mega__tiles li a {
	display: flex; align-items: center; gap: 11px;
	padding: 11px 12px; border-radius: 11px !important;
	font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
	color: var(--rm-fg); background: transparent;
	transition: background .15s, color .15s;
}
.rm-mega__tiles li a::before {
	content: "\f091"; font-family: "Font Awesome 6 Free"; font-weight: 900;
	display: inline-flex; align-items: center; justify-content: center;
	width: 34px; height: 34px; flex: 0 0 34px; border-radius: 9px;
	background: color-mix(in srgb, var(--rm-accent) 13%, transparent);
	color: var(--rm-accent); font-size: 13px;
}
.rm-mega__tiles li a:hover { background: color-mix(in srgb, var(--rm-accent) 10%, transparent); color: var(--rm-accent); }
.rm-mega__promo {
	display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
	padding: 18px;
	border-radius: 13px;
	background:
		radial-gradient(240px 130px at 85% 0%, color-mix(in srgb, var(--rm-accent) 16%, transparent), transparent 70%),
		color-mix(in srgb, var(--rm-bg) 80%, var(--rm-surface));
	border: 1px solid color-mix(in srgb, var(--rm-accent) 22%, var(--rm-border));
}
.rm-mega__promo-eyebrow {
	display: inline-flex; align-items: center; gap: 7px;
	font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em;
	color: var(--rm-fg-muted);
}
.rm-mega__promo-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--rm-accent); box-shadow: 0 0 8px var(--rm-accent); }
.rm-mega__promo-title {
	font-family: var(--rm-font-display);
	font-size: 17px; font-weight: 800; text-transform: uppercase; line-height: 1.25;
	color: var(--rm-fg);
}
.rm-mega__promo-title b, .rm-mega__promo-title strong { color: var(--rm-accent); }
.rm-mega__promo-note { font-size: 12.5px; color: var(--rm-fg-muted); }
.rm-mega__promo-btn {
	margin-top: 4px; align-self: stretch;
	display: inline-flex; align-items: center; justify-content: space-between; gap: 10px;
	padding: 13px 16px; border-radius: 11px;
	border: 2px solid var(--rm-accent);
	color: var(--rm-fg); text-decoration: none;
	font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
	box-shadow: 0 0 18px -6px color-mix(in srgb, var(--rm-accent) 70%, transparent);
	transition: background .15s, transform .12s;
}
.rm-mega__promo-btn:hover { background: color-mix(in srgb, var(--rm-accent) 13%, transparent); transform: translateY(-1px); }

/* Mobile menu: mega collapses to a plain list, promo hidden */
@media (max-width: 900px) {
	.rm-menu-style-mega .rm-site-header__menu > li > .rm-mega {
		position: static; min-width: 0; opacity: 1; visibility: visible; transform: none;
		display: block; padding: 0 0 0 12px; border: 0; box-shadow: none; background: transparent;
	}
	.rm-mega__tiles { grid-template-columns: 1fr; }
	.rm-mega__promo { display: none; }
}

/* --- Bespoke pages: full-bleed canvas --- */
.rm-page--bespoke { padding: 0; max-width: none; }
.rm-bespoke { width: 100%; }
.rm-bespoke img { max-width: 100%; height: auto; }
.rm-bespoke > .rm-custom:first-child { margin-top: 0; }

/* ============================================================
   V6.58.1 mobile polish pass
   ============================================================ */

/* Accordions: kill the native disclosure triangle everywhere so custom
   arrows are the only arrows (iOS shows both without this). */
.rm-faq__item summary::-webkit-details-marker,
.ticket-accordion summary::-webkit-details-marker,
.rm-body details summary::-webkit-details-marker { display: none; }
.ticket-accordion summary,
.rm-body details summary { list-style: none; }
.ticket-accordion img { max-width: 100%; height: auto; }

/* Pagination breathing room (all viewports) */
.pagination-entry-list { margin-top: 16px; }

@media (max-width: 900px) {
	/* Section rhythm: 48px paddings stack into ~96px gaps between the
	   image, instant prizes, and spinner blocks; halve them on mobile. */
	.rm-page--home > section,
	.rm-page--product > section { padding: 22px 16px; }
	.rm-product-hero { padding: 22px 16px; gap: 24px; }
}

@media (max-width: 720px) {
	/* Gallery labels: compact chips that never overflow the image */
	.rm-gallery__labels--tl { top: 10px; left: 10px; }
	.rm-gallery__labels--tr { top: 10px; right: 10px; }
	.rm-gallery__labels { gap: 6px; max-width: 48%; }
	.rm-gallery__chip {
		font-size: 10px; padding: 5px 9px; gap: 5px;
		max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
	}
	.rm-gallery__labels .rm-ends-flair {
		font-size: 10px; padding: 5px 9px;
		max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
	}

	/* Entry list action buttons: one line each */
	body:not(.wp-admin) #entry-list-actions { gap: 6px; }
	body:not(.wp-admin) #entry-list-actions button {
		padding: 7px 12px; font-size: var(--rm-text-xs); white-space: nowrap;
	}

	/* Buy box tabs: Online / Free Postal Entry on one line */
	.rm-buybox__tabs { gap: 6px; padding: 8px; }
	.rm-buybox__tab { padding: 9px 10px; font-size: 12.5px; gap: 6px; white-space: nowrap; }
	.rm-buybox__panel { padding: 14px; }
}

/* ============================================================
   V6.59 popups, marquee ticker, header custom buttons
   ============================================================ */

/* --- Popups --- */
.rm-popup { position: fixed; inset: 0; z-index: 1200; pointer-events: none; }
.rm-popup__panel {
	pointer-events: auto;
	position: absolute;
	background: var(--rm-surface);
	border: 1px solid var(--rm-border);
	color: var(--rm-fg);
	box-shadow: 0 30px 80px -25px rgba(0, 0, 0, .65);
	opacity: 0; transition: opacity .25s ease, transform .25s ease;
}
.rm-popup__title { margin: 0 0 10px; font-family: var(--rm-font-display); font-size: var(--rm-text-lg); font-weight: 800; }
.rm-popup__content { color: var(--rm-fg-muted); font-size: 14.5px; line-height: 1.6; }
.rm-popup__content p { margin: 0 0 10px; }
.rm-popup__content p:last-child { margin-bottom: 0; }
.rm-popup__btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	margin-top: 14px; padding: 12px 20px; border-radius: 999px;
	background: var(--rm-accent); color: var(--rm-on-accent);
	font-weight: 800; font-size: var(--rm-text-sm); text-decoration: none;
	transition: filter .15s, transform .12s;
}
.rm-popup__btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.rm-popup__close {
	position: absolute; top: 10px; right: 10px;
	width: 32px; height: 32px; border-radius: 50%;
	border: 1px solid var(--rm-border); background: var(--rm-bg); color: var(--rm-fg-muted);
	font-size: var(--rm-text-md); line-height: 1; cursor: pointer;
	transition: color .15s, border-color .15s;
}
.rm-popup__close:hover { color: var(--rm-accent); border-color: var(--rm-accent); }

/* Centre modal */
.rm-popup--center { background: rgba(4, 7, 16, 0); transition: background .25s ease; }
.rm-popup--center.is-open { background: rgba(4, 7, 16, .62); backdrop-filter: blur(4px); }
.rm-popup--center .rm-popup__panel {
	left: 50%; top: 50%; transform: translate(-50%, -46%) scale(.96);
	width: min(480px, calc(100vw - 36px));
	border-radius: 18px; padding: 26px;
}
.rm-popup--center.is-open .rm-popup__panel { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* Slide-in corner card */
.rm-popup--slide .rm-popup__panel {
	right: 18px; bottom: 18px; transform: translateY(14px);
	width: min(360px, calc(100vw - 36px));
	border-radius: 16px; padding: 20px;
}
.rm-popup--slide.is-open .rm-popup__panel { opacity: 1; transform: translateY(0); }

/* Bottom banner */
.rm-popup--banner .rm-popup__panel {
	left: 0; right: 0; bottom: 0; transform: translateY(100%);
	border-radius: 0; border-left: 0; border-right: 0; border-bottom: 0;
	padding: 16px clamp(16px, 4vw, 40px);
	display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.rm-popup--banner.is-open .rm-popup__panel { opacity: 1; transform: translateY(0); }
.rm-popup--banner .rm-popup__title { margin: 0; font-size: var(--rm-text-base); }
.rm-popup--banner .rm-popup__content { flex: 1; min-width: 200px; }
.rm-popup--banner .rm-popup__btn { margin-top: 0; }
.rm-popup--banner .rm-popup__close { position: static; flex: 0 0 auto; order: 9; }

/* --- Marquee ticker --- */
.rm-marquee { display: block; overflow: hidden; text-decoration: none; padding: 14px 0; }
.rm-marquee__track { display: flex; width: max-content; animation: rm-marquee-scroll 30s linear infinite; }
.rm-marquee--slow .rm-marquee__track { animation-duration: 48s; }
.rm-marquee--fast .rm-marquee__track { animation-duration: 16s; }
.rm-marquee:hover .rm-marquee__track { animation-play-state: paused; }
.rm-marquee__run { display: flex; align-items: center; flex: 0 0 auto; }
.rm-marquee__item {
	font-family: var(--rm-font-display);
	font-size: clamp(18px, 2.6vw, 28px); font-weight: 800;
	text-transform: uppercase; letter-spacing: .02em; font-style: italic;
	padding: 0 22px; white-space: nowrap;
}
.rm-marquee__star { color: var(--rm-accent); font-size: clamp(18px, 2.6vw, 28px); font-weight: 800; }
.rm-marquee--band { background: var(--rm-accent); }
.rm-marquee--band .rm-marquee__item { color: var(--rm-on-accent); }
.rm-marquee--band .rm-marquee__star { color: color-mix(in srgb, var(--rm-on-accent) 55%, transparent); }
.rm-marquee--outline .rm-marquee__item {
	color: transparent; -webkit-text-stroke: 1.5px var(--rm-accent);
}
.rm-marquee--ghost .rm-marquee__item { color: color-mix(in srgb, var(--rm-fg) 16%, transparent); }
@keyframes rm-marquee-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .rm-marquee__track { animation: none; } }

/* --- Header custom buttons --- */
.rm-header-btn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 9px 16px; border-radius: 999px;
	font-size: 13px; font-weight: 800; text-decoration: none;
	transition: transform .12s, filter .15s, background .15s, border-color .15s, color .15s;
}
.rm-header-btn:hover { transform: translateY(-1px); }
.rm-header-btn--solid { background: var(--rm-accent); color: var(--rm-on-accent); }
.rm-header-btn--solid:hover { filter: brightness(1.08); }
.rm-header-btn--outline {
	color: var(--rm-fg);
	border: 2px solid var(--rm-accent);
	box-shadow: 0 0 14px -6px color-mix(in srgb, var(--rm-accent) 65%, transparent);
}
.rm-header-btn--outline:hover { background: color-mix(in srgb, var(--rm-accent) 13%, transparent); color: var(--rm-accent); }
.rm-header-btn--icon {
	width: 38px; height: 38px; padding: 0; justify-content: center;
	border: 1px solid var(--rm-border); color: var(--rm-fg); font-size: 15px;
}
.rm-header-btn--icon:hover { border-color: var(--rm-accent); color: var(--rm-accent); }
@media (max-width: 900px) {
	.rm-header-btn span { display: none; }
	.rm-header-btn { width: 38px; height: 38px; padding: 0; justify-content: center; }
	.rm-header-btn--solid, .rm-header-btn--outline { border-radius: 50%; }
}

/* ============================================================
   V6.60 card skins: poster, ticket stub, minimal
   Premium is the existing default; skins override via body class.
   ============================================================ */

/* ---------- POSTER: full-bleed image, text overlaid ---------- */
.rm-card-style-poster .rm-card { position: relative; }
.rm-card-style-poster .rm-card__media { aspect-ratio: 3/4; }
.rm-card-style-poster .rm-card__media::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, transparent 30%, rgba(6, 9, 18, .38) 58%, rgba(6, 9, 18, .92) 100%);
}
.rm-card-style-poster .rm-card__rail {
	position: absolute; top: 10px; left: 10px; right: 10px; z-index: 3;
	background: color-mix(in srgb, #070b14 55%, transparent);
	backdrop-filter: blur(6px);
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 999px; padding: 6px 12px;
}
.rm-card-style-poster .rm-card__rail-cat,
.rm-card-style-poster .rm-card__rail-draw { color: #e8ecf6; }
.rm-card-style-poster .rm-card__body {
	position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
	padding: 18px 16px 16px;
	background: transparent;
}
.rm-card-style-poster .rm-card__title { color: #fff; font-size: 21px; text-shadow: 0 2px 12px rgba(0, 0, 0, .55); }
.rm-card-style-poster .rm-card__sub { color: rgba(232, 236, 246, .82); }
.rm-card-style-poster .rm-card__timer-closes,
.rm-card-style-poster .rm-card__timer-digits,
.rm-card-style-poster .rm-card__gauge-left,
.rm-card-style-poster .rm-card__gauge-gone { color: rgba(232, 236, 246, .9); }
.rm-card-style-poster .rm-card__gauge-bar { background: rgba(255, 255, 255, .22); }
.rm-card-style-poster .rm-card__pill {
	background: rgba(255, 255, 255, .14); color: #fff;
	backdrop-filter: blur(4px); border-color: transparent;
}
.rm-card-style-poster .rm-card:hover { transform: translateY(-4px); }

/* ---------- TICKET STUB: perforated raffle ticket ---------- */
.rm-card-style-ticket .rm-card {
	border-radius: 14px;
	border-style: solid;
	overflow: visible;
}
.rm-card-style-ticket .rm-card__media {
	border-radius: 13px 13px 0 0;
}
.rm-card-style-ticket .rm-card__body { position: relative; }
.rm-card-style-ticket .rm-card__body::before {
	content: ""; position: absolute; left: 10px; right: 10px; top: 0;
	border-top: 2px dashed color-mix(in srgb, var(--rm-fg) 22%, transparent);
}
/* punched notches at the perforation line */
.rm-card-style-ticket .rm-card__rail { position: relative; }
.rm-card-style-ticket .rm-card__rail::before,
.rm-card-style-ticket .rm-card__rail::after {
	content: ""; position: absolute; bottom: -11px; z-index: 4;
	width: 18px; height: 18px; border-radius: 50%;
	background: var(--rm-bg);
	border: 1px solid var(--rm-border);
}
.rm-card-style-ticket .rm-card__rail::before { left: -26px; clip-path: inset(0 0 0 50%); }
.rm-card-style-ticket .rm-card__rail::after { right: -26px; clip-path: inset(0 50% 0 0); }
.rm-card-style-ticket .rm-card__pricebar {
	font-variant-numeric: tabular-nums;
	letter-spacing: .02em;
}
.rm-card-style-ticket .rm-card__price-now { font-family: var(--rm-font-display); }
.rm-card-style-ticket .rm-card:hover { border-color: var(--rm-accent); border-style: dashed; }

/* ---------- MINIMAL: borderless editorial ---------- */
.rm-card-style-minimal .rm-card {
	background: transparent; border-color: transparent; overflow: visible;
}
.rm-card-style-minimal .rm-card__media {
	border-radius: var(--rm-radius-lg, 16px);
	border: 1px solid var(--rm-border);
}
.rm-card-style-minimal .rm-card__corner { display: none; }
.rm-card-style-minimal .rm-card__rail {
	background: transparent; border: 0; padding: 12px 2px 0;
}
.rm-card-style-minimal .rm-card__body { padding: 8px 2px 4px; }
.rm-card-style-minimal .rm-card__title { font-weight: 600; letter-spacing: -0.01em; }
.rm-card-style-minimal .rm-card__gauge-bar {
	height: 3px; background-image: none;
	background: color-mix(in srgb, var(--rm-fg) 12%, transparent);
}
.rm-card-style-minimal .rm-card__pill {
	background: transparent; border: 1px solid var(--rm-border); color: var(--rm-fg-muted);
}
.rm-card-style-minimal .rm-card:hover { transform: none; }
.rm-card-style-minimal .rm-card:hover .rm-card__media { border-color: var(--rm-accent); }
.rm-card-style-minimal .rm-card:hover .rm-card__title { color: var(--rm-accent); }
/* keep game auras/borders quiet on minimal */
.rm-card-style-minimal .rm-card:has(.rm-card__corner--game)::before,
.rm-card-style-minimal .rm-card:has(.rm-card__corner--game)::after { display: none; }
.rm-card-style-minimal .rm-card:has(.rm-card__corner--game) { border-color: transparent; }

/* ============================================================
   V6.61 countdown skins, heading styles, section bands,
   hero billboard + mosaic layouts
   ============================================================ */

/* --- Countdown: FLIP (split-flap panels) --- */
.rm-countdown-style-flip .countdown-timer .countdown-value,
.rm-countdown-style-flip [data-rm-countdown-boxes] [data-rm-countdown-d],
.rm-countdown-style-flip [data-rm-countdown-boxes] [data-rm-countdown-h],
.rm-countdown-style-flip [data-rm-countdown-boxes] [data-rm-countdown-m],
.rm-countdown-style-flip [data-rm-countdown-boxes] [data-rm-countdown-s] {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	min-width: 2.1em; padding: .32em .18em;
	background: transparent;
	border: 0;
	border-radius: 0;
	font-family: var(--rm-font-display); font-weight: 800; font-variant-numeric: tabular-nums;
	box-shadow: none;
	transform-style: preserve-3d;
}
.rm-countdown-style-flip .countdown-timer .countdown-value::after,
.rm-countdown-style-flip [data-rm-countdown-boxes] [data-rm-countdown-d]::after,
.rm-countdown-style-flip [data-rm-countdown-boxes] [data-rm-countdown-h]::after,
.rm-countdown-style-flip [data-rm-countdown-boxes] [data-rm-countdown-m]::after,
.rm-countdown-style-flip [data-rm-countdown-boxes] [data-rm-countdown-s]::after {
	content: none;
}
.rm-countdown-style-flip .rm-tick { animation: rm-flip-tick .38s cubic-bezier(.35, 1.4, .5, 1); }
@keyframes rm-flip-tick {
	0%   { transform: perspective(220px) rotateX(-88deg); filter: brightness(1.5); }
	100% { transform: perspective(220px) rotateX(0deg); filter: brightness(1); }
}

/* --- Countdown: RING (circular unit dials) --- */
.rm-countdown-style-ring .countdown-timer .countdown-value,
.rm-countdown-style-ring [data-rm-countdown-boxes] [data-rm-countdown-d],
.rm-countdown-style-ring [data-rm-countdown-boxes] [data-rm-countdown-h],
.rm-countdown-style-ring [data-rm-countdown-boxes] [data-rm-countdown-m],
.rm-countdown-style-ring [data-rm-countdown-boxes] [data-rm-countdown-s] {
	--rm-pct: 1;
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	width: 2.9em; height: 2.9em; border-radius: 50%;
	background: var(--rm-surface);
	font-family: var(--rm-font-display); font-weight: 800; font-variant-numeric: tabular-nums;
}
.rm-countdown-style-ring .countdown-timer .countdown-value::before,
.rm-countdown-style-ring [data-rm-countdown-boxes] [data-rm-countdown-d]::before,
.rm-countdown-style-ring [data-rm-countdown-boxes] [data-rm-countdown-h]::before,
.rm-countdown-style-ring [data-rm-countdown-boxes] [data-rm-countdown-m]::before,
.rm-countdown-style-ring [data-rm-countdown-boxes] [data-rm-countdown-s]::before {
	content: ""; position: absolute; inset: -3px; border-radius: 50%;
	/* The empty track must stay clearly visible: with a near-invisible track,
	   a low dial (0 days) looks broken next to a nearly-full minutes dial.
	   Accent-tinted track = every dial reads as a deliberate ring. */
	background: conic-gradient(var(--rm-accent) calc(var(--rm-pct) * 360deg), color-mix(in srgb, var(--rm-accent) 26%, color-mix(in srgb, var(--rm-fg) 10%, transparent)) 0);
	-webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3.5px), #000 calc(100% - 3px));
	mask: radial-gradient(farthest-side, transparent calc(100% - 3.5px), #000 calc(100% - 3px));
	transition: background .3s linear;
}

/* --- Section heading styles --- */
.rm-heading-style-kicker .rm-section-title { position: relative; padding-top: 14px; }
.rm-heading-style-kicker .rm-section-title::before {
	content: ""; position: absolute; top: 0; left: 0;
	width: 44px; height: 4px; border-radius: 999px;
	background: linear-gradient(90deg, var(--rm-accent), var(--rm-accent-2, var(--rm-accent)));
}
.rm-heading-style-slash .rm-section-title { display: flex; align-items: center; gap: 12px; }
.rm-heading-style-slash .rm-section-title::before {
	content: ""; flex: 0 0 auto;
	width: 14px; height: 1em; transform: skewX(-16deg);
	background: var(--rm-accent);
	box-shadow: 0 0 16px -4px var(--rm-accent);
	border-radius: 3px;
}
.rm-heading-style-pill .rm-section-title {
	display: inline-flex; align-self: flex-start;
	padding: 8px 18px; border-radius: 999px;
	border: 1px solid color-mix(in srgb, var(--rm-accent) 40%, var(--rm-border));
	background: color-mix(in srgb, var(--rm-accent) 9%, transparent);
	font-size: .8em;
	text-transform: uppercase; letter-spacing: .06em;
}

/* --- Section bands --- */
.rm-bands-alternate .rm-page--home > section:nth-child(even) {
	background: color-mix(in srgb, var(--rm-fg) 3.5%, transparent);
	border-radius: 22px;
}
.rm-bands-glow .rm-page--home > section:nth-child(even) {
	background:
		radial-gradient(60% 70% at 50% 0%, color-mix(in srgb, var(--rm-accent) 8%, transparent), transparent 70%),
		color-mix(in srgb, var(--rm-fg) 2.5%, transparent);
	border-radius: 22px;
}
@media (max-width: 900px) {
	.rm-bands-alternate .rm-page--home > section:nth-child(even),
	.rm-bands-glow .rm-page--home > section:nth-child(even) { border-radius: 0; }
}

/* --- Hero: BILLBOARD --- */
.rm-featured--layout-billboard .rm-featured__inner {
	grid-template-columns: 1fr; text-align: center;
	justify-items: center; max-width: 900px;
}
.rm-featured--layout-billboard .rm-featured__eyebrow { justify-content: center; }
.rm-featured--layout-billboard .rm-featured__title {
	font-size: clamp(44px, 7.5vw, 92px);
	line-height: .98; letter-spacing: -0.02em;
	font-style: italic; text-transform: uppercase;
}
.rm-featured--layout-billboard .rm-featured__chips { justify-content: center; }
.rm-featured--layout-billboard .rm-featured__media { display: none; }
.rm-featured--layout-billboard .rm-featured__glow--a { opacity: 1.4; }

/* --- Hero: MOSAIC --- */
.rm-featured--layout-mosaic .rm-featured__mosaic {
	max-width: 1180px; margin: 0 auto; padding: 0 24px 34px;
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.rm-featured__tile {
	display: flex; align-items: center; gap: 12px;
	padding: 10px; border-radius: 14px;
	background: color-mix(in srgb, var(--rm-surface) 80%, transparent);
	border: 1px solid var(--rm-border);
	text-decoration: none;
	transition: border-color .15s, transform .15s, background .15s;
}
.rm-featured__tile:hover {
	transform: translateY(-2px);
	border-color: var(--rm-accent);
	background: color-mix(in srgb, var(--rm-accent) 8%, var(--rm-surface));
}
.rm-featured__tile img {
	width: 54px; height: 54px; flex: 0 0 54px;
	border-radius: 10px; object-fit: cover;
}
.rm-featured__tile-body { display: grid; gap: 2px; min-width: 0; }
.rm-featured__tile-title {
	font-size: 13px; font-weight: 700; color: var(--rm-fg);
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rm-featured__tile-price { font-size: 12.5px; font-weight: 800; color: var(--rm-accent); }
@media (max-width: 900px) { .rm-featured--layout-mosaic .rm-featured__mosaic { grid-template-columns: 1fr 1fr; } }

@media (prefers-reduced-motion: reduce) { .rm-countdown-style-flip .rm-tick { animation: none; } }

/* ============================================================
   V6.62 section dividers + per-section background shells
   ============================================================ */

/* --- Dividers between home sections --- */
.rm-dividers-angle .rm-page--home > *,
.rm-dividers-glowline .rm-page--home > * { position: relative; }
.rm-dividers-angle .rm-page--home > * + *::before {
	content: ""; position: absolute; top: 0; left: 24px; right: 24px;
	height: 2px; border-radius: 999px;
	background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--rm-accent) 55%, transparent), transparent);
	transform: skewY(-0.9deg);
	transform-origin: left center;
}
.rm-dividers-glowline .rm-page--home > * + *::before {
	content: ""; position: absolute; top: 0; left: 24px; right: 24px;
	height: 1px;
	background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--rm-accent) 60%, transparent), transparent);
	box-shadow: 0 0 14px 0 color-mix(in srgb, var(--rm-accent) 35%, transparent);
}

/* --- Per-section shells --- */
/* Wrapped sections sit one level deeper, so restore the page rhythm. */
.rm-shell > section,
.rm-shell > div,
.rm-shell > .rm-marquee { max-width: 1180px; margin: 0 auto; }
.rm-shell > section { padding: 48px 24px; }
.rm-shell--band {
	background: color-mix(in srgb, var(--rm-fg) 3.5%, transparent);
	border-radius: 22px;
}
.rm-shell--glow {
	background:
		radial-gradient(60% 70% at 50% 0%, color-mix(in srgb, var(--rm-accent) 9%, transparent), transparent 70%),
		color-mix(in srgb, var(--rm-fg) 2.5%, transparent);
	border-radius: 22px;
}
.rm-shell--plain { background: none !important; }
/* A shell override wins over the site-wide alternating band. */
.rm-bands-alternate .rm-page--home > .rm-shell--plain,
.rm-bands-glow .rm-page--home > .rm-shell--plain { background: none !important; }
@media (max-width: 900px) {
	.rm-shell > section { padding: 22px 16px; }
	.rm-shell--band, .rm-shell--glow { border-radius: 0; }
}

/* ============================================================
   V6.63 corner styles, card border styles, mobile grid columns
   ============================================================ */

/* --- Corner styles: override the radius tokens site-wide --- */
.rm-corners-sharp {
	--rm-radius-sm: 2px; --rm-radius-md: 3px; --rm-radius-lg: 4px;
	--rm-radius-button: 4px; --rm-card-radius: 4px;
}
.rm-corners-pill {
	--rm-radius-sm: 10px; --rm-radius-md: 16px; --rm-radius-lg: 24px;
	--rm-radius-button: 999px; --rm-card-radius: 24px;
}
.rm-corners-sharp .rm-card,
.rm-corners-pill .rm-card { border-radius: var(--rm-card-radius); }
.rm-corners-sharp .rm-buybox,
.rm-corners-sharp .rm-gallery__main,
.rm-corners-sharp .rm-popup__panel { border-radius: var(--rm-radius-lg); }
.rm-corners-pill .rm-buybox,
.rm-corners-pill .rm-gallery__main { border-radius: var(--rm-radius-lg); }

/* One radius contract for every part of a competition card. This prevents the
   thin background seams that can appear when a preset swaps card skins. */
.rm-card { --rm-card-inner-radius: max(0px, calc(var(--rm-card-radius) - 1px)); }
.rm-card:not(.rm-card--minimal) > .rm-card__link > .rm-card__media { border-radius: var(--rm-card-inner-radius) var(--rm-card-inner-radius) 0 0; }
.rm-card > .rm-card__qa:last-child,
.rm-card > .rm-card__quickbuy:last-child { border-radius: 0 0 var(--rm-card-inner-radius) var(--rm-card-inner-radius); }
.rm-card-style-ticket .rm-card { border-radius:var(--rm-card-radius); overflow:visible; }
.rm-card-style-ticket .rm-card__media { border-radius:var(--rm-card-inner-radius) var(--rm-card-inner-radius) 0 0; }
.rm-card-style-poster .rm-card { border-radius:var(--rm-card-radius); }
.rm-card-style-poster .rm-card__media { border-radius:var(--rm-card-inner-radius); }
.rm-card-style-minimal .rm-card__media { border-radius:var(--rm-card-radius); }

/* Plugin compatibility layer: external account, ticket and payout widgets
   inherit the active RaffMaster theme instead of hard-coded white panels. */
h4.woocommerce-products-header__title.page-title.mytickets.active,
.all-tickets-loop-buttons,
.rm-account__content form .form-row,
#spending-controls-parent-wrapper.scv2 .scv2-card,
.missing-rewards-referral,
.referral-dashboard .section {
	background:var(--rm-surface) !important; color:var(--rm-fg) !important;
	border:1px solid var(--rm-border) !important; border-radius:var(--rm-radius-md) !important;
}
.all-tickets-loop-buttons { padding:8px 14px; cursor:pointer; }
.all-tickets-loop-buttons:hover { border-color:var(--rm-accent) !important; color:var(--rm-accent) !important; }
#banking_details_manual_payout input[type="text"],#banking_details_manual_payout input[type="number"],#banking_details_manual_payout input[type="email"],#delivery_address_manual_payout input[type="text"],#delivery_address_manual_payout input[type="number"],#delivery_address_manual_payout input[type="email"],#bank_details_input_payout input[type="text"],#bank_details_input_payout input[type="number"],#bank_details_input_payout input[type="email"],#manual_payout_email input[type="text"],#manual_payout_email input[type="email"],#manual_payout_email textarea,.rm-account__content form .form-row input,.rm-account__content form .form-row select { background:var(--rm-bg) !important; color:var(--rm-fg) !important; border-color:var(--rm-border) !important; border-radius:var(--rm-radius-sm) !important; }
#banking_details_manual_payout input:focus,#delivery_address_manual_payout input:focus,#bank_details_input_payout input:focus,#manual_payout_email input:focus,#manual_payout_email textarea:focus { border-color:var(--rm-accent) !important; box-shadow:0 0 0 3px color-mix(in srgb,var(--rm-accent) 18%,transparent) !important; }
.referral-dashboard .section { padding:22px; box-shadow:0 14px 34px -28px rgba(0,0,0,.55); }.referral-dashboard .title { color:var(--rm-fg) !important; font-family:var(--rm-font-display); }.my-referral-link { color:var(--rm-accent) !important; }.missing-rewards-referral { color:var(--rm-fg-muted) !important; }
#current-rewards-container { background:linear-gradient(135deg,color-mix(in srgb,var(--rm-accent) 92%,var(--rm-surface)),color-mix(in srgb,var(--rm-accent-2) 65%,var(--rm-surface))) !important; border-radius:var(--rm-radius-lg) !important; border:1px solid color-mix(in srgb,var(--rm-accent) 50%,var(--rm-border)); }.referral-dashboard #current-rewards-container table th,.referral-dashboard #current-rewards-container table td { color:var(--rm-on-accent) !important; }
.my-winning-comps-wrap { overflow-x:auto; padding:18px; background:var(--rm-surface); border:1px solid var(--rm-border); border-radius:var(--rm-radius-lg); }.my-winning-comps { min-width:620px; color:var(--rm-fg); }.my-winning-comps th { color:var(--rm-fg-muted); border-bottom-color:var(--rm-border); }.my-winning-comps td { border-bottom-color:var(--rm-border); }.my-winning-comps tbody tr:hover td { background:color-mix(in srgb,var(--rm-accent) 7%,transparent); }.my-winning-comps td:nth-child(3) { color:var(--rm-accent); }.my-winning-comps td:last-child { color:var(--rm-fg-muted); }
@media (max-width: 560px) { .my-winning-comps-wrap { margin-inline:-4px; padding:12px; }.my-winning-comps { min-width:520px; }.my-winning-comps th,.my-winning-comps td { padding:9px; }.my-winning-comps td img { width:42px !important; height:42px; }.two-grid-referral { grid-template-columns:1fr; gap:14px; } }

/* Card countdowns: keep urgency visible without forcing narrow cards wider. */
@media (max-width: 560px) {
	.rm-card__timer { flex-wrap:wrap; gap:7px; }
	.rm-card__timer-tag { flex:1 0 100%; }
	.rm-card__timer-digits { min-width:0; display:flex; flex-wrap:wrap; gap:4px; }
	.rm-card__timer-digits i { display:none; }
	.rm-card__timer-digits b { min-width:2.15ch; text-align:center; }
}

/* V6.80: account, wallet and responsible-play components speak the active theme. */
body:not(.wp-admin) .rm-account__content form .form-row { background:transparent !important; color:inherit !important; border:0 !important; border-radius:0 !important; padding:0 !important; }
body:not(.wp-admin) .rm-account__content fieldset,
body:not(.wp-admin) .woocommerce-MyAccount-content fieldset,
body:not(.wp-admin) #spending-controls-parent-wrapper.scv2 fieldset { border:1px solid var(--rm-border) !important; border-radius:var(--rm-radius-md) !important; }
body:not(.wp-admin) .rm-account__content legend { color:var(--rm-fg); font-family:var(--rm-font-display); font-weight:700; padding:0 8px; }

body:not(.wp-admin) #manual_email_payout_popup .email_manual_title,
body:not(.wp-admin) #manual_email_payout_popup strong { color:var(--rm-fg) !important; }
body:not(.wp-admin) #manual_email_payout_popup,
body:not(.wp-admin) #manual_email_payout_popup .popup-content { background:var(--rm-surface) !important; color:var(--rm-fg) !important; border-color:var(--rm-border) !important; }

body:not(.wp-admin) #spending-controls-parent-wrapper.scv2,
body:not(.wp-admin) .competition-spend-limit-container.scv2-break-modal {
	--scv2-accent:var(--rm-accent); --scv2-accent-soft:color-mix(in srgb,var(--rm-accent) 12%,var(--rm-surface)); --scv2-accent-deep:var(--rm-accent);
	--scv2-text:var(--rm-fg); --scv2-muted:var(--rm-fg-muted); --scv2-border:var(--rm-border); background:var(--rm-surface); color:var(--rm-fg); border:1px solid var(--rm-border); border-radius:var(--rm-radius-lg);
}
body:not(.wp-admin) #spending-controls-parent-wrapper.scv2 button.scv2-chip { color:var(--rm-fg) !important; background:transparent !important; border:1px solid var(--rm-border) !important; border-radius:var(--rm-radius-button,999px) !important; font-weight:700; }
body:not(.wp-admin) #spending-controls-parent-wrapper.scv2 button.scv2-chip:hover,
body:not(.wp-admin) #spending-controls-parent-wrapper.scv2 button.scv2-chip.is-active { color:var(--rm-on-accent) !important; background:var(--rm-accent) !important; border-color:var(--rm-accent) !important; }
body:not(.wp-admin) .scv2-break-modal .scv2-break-modal-sub,
body:not(.wp-admin) .scv2-break-modal .scv2-break-modal-date,
body:not(.wp-admin) .scv2-break-modal a.scv2-break-modal-secondary { color:var(--rm-fg-muted) !important; }

body:not(.wp-admin) .global-instant-title { margin:0 0 14px; font-family:var(--rm-font-display); font-size:clamp(22px,3vw,36px); line-height:1.08; letter-spacing:-.035em; }
body:not(.wp-admin) .global-instant-title a { color:var(--rm-fg); text-decoration:none; display:inline-flex; align-items:center; gap:10px; }
body:not(.wp-admin) .global-instant-title a::after { content:'\2192'; color:var(--rm-accent); font-family:inherit; font-size:.8em; transition:transform .16s ease; }
body:not(.wp-admin) .global-instant-title a:hover { color:var(--rm-accent); }
body:not(.wp-admin) .global-instant-title a:hover::after { transform:translateX(5px); }

body:not(.wp-admin) .woocommerce a.button,
body:not(.wp-admin) .woocommerce button.button,
body:not(.wp-admin) .woocommerce input.button,
body:not(.wp-admin) .woocommerce .checkout-button,
body:not(.wp-admin) .woocommerce #place_order { min-height:44px; display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:11px 18px !important; box-shadow:0 8px 18px -12px color-mix(in srgb,var(--rm-accent) 80%,transparent); }
body:not(.wp-admin) .woocommerce a.button:hover,
body:not(.wp-admin) .woocommerce button.button:hover,
body:not(.wp-admin) .woocommerce .checkout-button:hover,
body:not(.wp-admin) .woocommerce #place_order:hover { transform:translateY(-2px); box-shadow:0 14px 24px -14px color-mix(in srgb,var(--rm-accent) 92%,transparent); filter:brightness(1.04); }

body:not(.wp-admin) .referral-dashboard table { font-size:15px; }
body:not(.wp-admin) .woo-wallet-content,
body:not(.wp-admin) .woo-wallet-content .card,
body:not(.wp-admin) .woo-wallet-content .wallet-card { color:var(--rm-fg); }
body:not(.wp-admin) .woo-wallet-content input,
body:not(.wp-admin) .woo-wallet-content select,
body:not(.wp-admin) .woo-wallet-content textarea { background:var(--rm-bg) !important; color:var(--rm-fg) !important; border:1px solid var(--rm-border) !important; border-radius:var(--rm-radius-sm) !important; }

/* A consistent vertical rhythm prevents widgets and sections from visually
   colliding, including third-party blocks placed in the page builder. */
.rm-page--home > section + section,
.rm-page--product > section + section { margin-top:clamp(28px,4vw,64px); }
.rm-page--home > section > * + *,
.rm-page--product > section > * + * { margin-top:clamp(18px,2vw,32px); }
.rm-section-header { margin-block:0 clamp(18px,2vw,28px); }
.rm-section-title::after { content:""; display:block; width:44px; height:4px; margin-top:10px; border-radius:999px; background:var(--rm-accent); transition:width .35s cubic-bezier(.2,.7,.2,1); }
.rm-heading-rule-gradient .rm-section-title::after { width:64px; background:linear-gradient(90deg,var(--rm-accent),color-mix(in srgb,var(--rm-accent-2) 55%,transparent)); }
.rm-heading-rule-double .rm-section-title::after { width:52px; height:7px; border-radius:0; background:linear-gradient(to bottom,var(--rm-accent) 0 2px,transparent 2px 5px,var(--rm-accent) 5px 7px); }
.rm-heading-rule-none .rm-section-title::after { display:none; }
.rm-section-header:hover .rm-section-title::after { width:78px; }

/* Force the two-column product story to remain a coherent composition. */
@media (min-width:901px) {
	.rm-product-layout-immersive .rm-product-hero { display:grid !important; grid-template-columns:minmax(0,1.2fr) minmax(360px,.8fr) !important; align-items:start; }
	.rm-product-layout-immersive .rm-product-hero__media { grid-column:1; grid-row:1; width:100%; max-width:none; justify-self:stretch; }
	.rm-product-layout-immersive .rm-product-hero__copy { grid-column:2; grid-row:1; min-width:0; }
	.rm-product-layout-immersive .rm-gallery__main { aspect-ratio:1 / 1; }
}

/* V6.81: poster cards retain the visual impact, but the decision-making UI
   now lives on a deliberate surface rather than fighting the prize image. */
.rm-card-style-poster .rm-card { display:flex; flex-direction:column; background:var(--rm-surface); }
.rm-card-style-poster .rm-card__media { aspect-ratio:4 / 3; flex:0 0 auto; }
.rm-card-style-poster .rm-card__media::after { background:linear-gradient(180deg,transparent 48%,rgba(6,9,18,.38) 100%); }
.rm-card-style-poster .rm-card__body { position:static; display:grid; gap:12px; padding:18px 16px 16px; background:var(--rm-surface); color:var(--rm-fg); }
.rm-card-style-poster .rm-card__title { color:var(--rm-fg); font-size:clamp(18px,1.5vw,22px); line-height:1.1; text-transform:none; letter-spacing:-.025em; }
.rm-card-style-poster .rm-card__timer { margin:0; background:var(--rm-bg); }
.rm-card-style-poster .rm-card__gauge { margin:0; }
.rm-card-style-poster .rm-card__pricebar { margin:0; padding-top:2px; }
.rm-card-style-poster .rm-card__rail { top:12px; left:12px; right:12px; }
.rm-card-style-poster .rm-card__corner { right:22px; }
@media (max-width: 560px) {
	.rm-card-style-poster .rm-card__media { aspect-ratio:1 / .86; }
	.rm-card-style-poster .rm-card__body { padding:15px 14px 14px; gap:10px; }
	.rm-card-style-poster .rm-card__rail { font-size:9px; padding:6px 10px; }
}

/* Signature home-page atmospheres for the playful preset family. */
.rm-site-preset-bubblegum_pop .rm-page--home { position:relative; isolation:isolate; overflow:hidden; }
.rm-site-preset-bubblegum_pop .rm-page--home::before,
.rm-site-preset-bubblegum_pop .rm-page--home::after { content:""; position:absolute; z-index:-1; width:260px; height:260px; border-radius:50%; filter:blur(2px); opacity:.22; pointer-events:none; animation:rm-bubble-float 9s ease-in-out infinite; }
.rm-site-preset-bubblegum_pop .rm-page--home::before { background:var(--rm-accent); left:-80px; top:180px; }
.rm-site-preset-bubblegum_pop .rm-page--home::after { background:var(--rm-accent-2); right:-80px; top:680px; animation-delay:-4s; }
@keyframes rm-bubble-float { 50% { transform:translateY(-38px) translateX(18px) scale(1.08); } }
.rm-site-preset-green_grass .rm-page--home { background-image:radial-gradient(circle at 12% 20%,color-mix(in srgb,var(--rm-accent-2) 14%,transparent) 0 2px,transparent 3px),linear-gradient(180deg,transparent,color-mix(in srgb,var(--rm-accent) 4%,transparent)); background-size:34px 34px,100% 100%; }
.rm-site-preset-firestarter .rm-page--home { background-image:radial-gradient(ellipse at 50% 0%,color-mix(in srgb,var(--rm-accent) 18%,transparent),transparent 52%); }
.rm-site-preset-firestarter .rm-card:hover { box-shadow:0 18px 44px -28px var(--rm-accent); }
@media (prefers-reduced-motion:reduce) { .rm-site-preset-bubblegum_pop .rm-page--home::before,.rm-site-preset-bubblegum_pop .rm-page--home::after { animation:none; } }

/* Editorial is a composed desktop spread. It only stacks below tablet width. */
@media (min-width:901px) {
	.rm-product-layout-editorial .rm-product-hero { max-width:1240px; grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr); gap:clamp(36px,5vw,76px); padding-top:clamp(42px,6vw,88px); text-align:left; align-items:center; }
	.rm-product-layout-editorial .rm-product-hero__media { order:0; max-width:none; width:100%; margin:0; }
	.rm-product-layout-editorial .rm-product-hero__copy { max-width:560px; margin:0; }
	.rm-product-layout-editorial .rm-product-hero__title { font-size:clamp(42px,4.5vw,66px); }
	.rm-product-layout-editorial .rm-product-hero__tag { margin-inline:0; }
}

/* Home sections share one consistent spatial scale, regardless of which
   widgets a preset chooses. */
.rm-page--home > .rm-section-shell { margin-block:clamp(36px,6vw,88px); }
.rm-page--home > .rm-section-shell > section { padding-block:clamp(8px,1.2vw,20px); }
.rm-page--home > section.rm-ending-soon,
.rm-page--home > section.rm-live-grid,
.rm-page--home > section.rm-categories,
.rm-page--home > section.rm-recent { margin-block:clamp(40px,6vw,88px); }
.rm-page--home .rm-grid,
.rm-page--home .rm-categories__grid { row-gap:clamp(20px,2.5vw,36px); }

/* Layout contract: title systems have one controlled rhythm, without
   inherited margins competing with their decorative treatments. */
.rm-section-header { display:flex; flex-direction:column; align-items:flex-start; gap:5px; margin:0 0 clamp(18px,2vw,28px); }
.rm-section-header .rm-eyebrow { margin:0; }
.rm-section-header .rm-section-title { margin:0; }
.rm-heading-style-pill .rm-section-title { gap:5px; align-items:center; }
.rm-heading-style-pill .rm-section-title::after { margin-top:0; margin-left:5px; }

/* Poster card hierarchy: game labels live at the top, one compact draw rail
   lives at the bottom of the media, and neither may cover the other. */
.rm-card-style-poster .rm-card__media { isolation:isolate; }
.rm-card-style-poster .rm-card__media > .rm-card__rail { position:absolute; top:auto; bottom:12px; left:12px; right:auto; max-width:calc(100% - 24px); min-width:min(236px,calc(100% - 24px)); z-index:4; }
.rm-card-style-poster .rm-card__corner { top:0; right:18px; z-index:5; }
.rm-card-style-poster .rm-card__media .rm-card__corner + * { position:relative; z-index:5; }
.rm-card-style-poster .rm-card__media .rm-card__corner ~ .rm-card__rail { z-index:4; }
.rm-card-style-poster .rm-card__rail-cat { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
@media (max-width: 560px) {
	.rm-card-style-poster .rm-card__media > .rm-card__rail { bottom:9px; left:9px; max-width:calc(100% - 18px); min-width:0; }
	.rm-card-style-poster .rm-card__corner { right:14px; }
}

/* Every card collection follows the same vertical rhythm. Individual skins
   may change tone, never the fundamental spacing or readable hierarchy. */
.rm-card__body { display:flex; flex-direction:column; gap:12px; }
.rm-card__body > * { margin-top:0 !important; margin-bottom:0 !important; }
.rm-card__body .rm-card__pills + .rm-card__title { margin-top:2px !important; }
.rm-card__body .rm-card__title + .rm-card__sub { margin-top:-4px !important; }
.rm-card__body .rm-card__timer { margin-top:2px !important; }
.rm-card__body .rm-card__gauge { margin-top:0 !important; }
.rm-card__pricebar { min-height:28px; }

/* Preset-specific motion stays atmospheric, never moves the layout. */
.rm-site-preset-bubblegum_pop .rm-section-header,
.rm-site-preset-green_grass .rm-section-header,
.rm-site-preset-firestarter .rm-section-header,
.rm-site-preset-cloud_nine .rm-section-header { position:relative; }
.rm-site-preset-firestarter .rm-section-title { text-shadow:0 0 22px color-mix(in srgb,var(--rm-accent) 28%,transparent); }
.rm-site-preset-cloud_nine .rm-card { box-shadow:0 14px 32px -28px color-mix(in srgb,var(--rm-accent) 36%,transparent); }

/* Payout portal actions: protect the active theme palette from portal CSS. */
body:not(.wp-admin) .my-payouts-action-bar .portal-site-credit-vis,
body:not(.wp-admin) .my-payouts-action-bar a {
	display:inline-flex; align-items:center; padding:9px 16px;
	border-radius:var(--rm-radius-button,999px); cursor:pointer;
	background:var(--rm-bg) !important; color:var(--rm-fg) !important;
	border:1px solid var(--rm-border) !important; font-size:13px; font-weight:700;
	text-decoration:none; transition:border-color .15s,color .15s,background .15s;
}
body:not(.wp-admin) .my-payouts-action-bar .portal-site-credit-vis:hover,
body:not(.wp-admin) .my-payouts-action-bar a:hover { border-color:var(--rm-accent) !important; color:var(--rm-accent) !important; background:color-mix(in srgb,var(--rm-accent) 9%,var(--rm-bg)) !important; }

/* --- Card border styles --- */
.rm-borders-glow .rm-card {
	border-color: color-mix(in srgb, var(--rm-accent) 35%, var(--rm-border));
	box-shadow: 0 0 22px -10px color-mix(in srgb, var(--rm-accent) 55%, transparent);
}
.rm-borders-glow .rm-card:hover {
	border-color: var(--rm-accent);
	box-shadow: 0 0 30px -8px color-mix(in srgb, var(--rm-accent) 75%, transparent);
}
.rm-borders-none .rm-card { border-color: transparent; }
.rm-borders-none .rm-card:hover { border-color: color-mix(in srgb, var(--rm-accent) 40%, transparent); }
/* Animated sweep on every card, using the accent (minigame cards keep
   their own game colour ring, which takes precedence). */
.rm-borders-animated .rm-card { border-color: transparent; }
.rm-borders-animated .rm-card::before {
	content: ""; position: absolute; inset: 0; z-index: 3;
	border-radius: inherit;
	padding: 1.5px;
	background: conic-gradient(from var(--rm-ring-angle),
		var(--rm-accent),
		color-mix(in srgb, var(--rm-accent) 18%, transparent) 30%,
		color-mix(in srgb, var(--rm-accent) 18%, transparent) 70%,
		var(--rm-accent));
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	animation: rm-ring-spin 9s linear infinite;
	pointer-events: none;
}
.rm-borders-animated .rm-card:hover::before { animation-duration: 3.2s; }
.rm-borders-animated.rm-card-style-minimal .rm-card::before { display: none; }
.rm-borders-animated.rm-card-style-minimal .rm-card:hover .rm-gallery__main { border-color: var(--rm-accent); }
@media (prefers-reduced-motion: reduce) { .rm-borders-animated .rm-card::before { animation: none; } }

/* --- Mobile grid columns for competition loops --- */
@media (max-width: 560px) {
	.rm-mgrid-2 .rm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.rm-mgrid-2 .rm-card__body { padding: 10px; gap: 5px; }
	.rm-mgrid-2 .rm-card__title { font-size: var(--rm-text-sm); }
	.rm-mgrid-2 .rm-card__sub { display: none; }
	.rm-mgrid-2 .rm-card__pill { font-size: 10px; padding: 3px 7px; }
	.rm-mgrid-2 .rm-card__rail { padding: 6px 10px; }
	.rm-mgrid-2 .rm-card__rail-cat { font-size: 10px; }
	.rm-mgrid-2 .rm-card__gauge-left,
	.rm-mgrid-2 .rm-card__gauge-gone { font-size: 10.5px; }
	.rm-mgrid-2 .rm-card__pricebar { font-size: 13px; }
	.rm-mgrid-2 .rm-card__timer-digits { font-size: var(--rm-text-xs); }
	.rm-mgrid-2.rm-card-style-poster .rm-card__title { font-size: 15px; }
}

/* V6.89: product pages use a deliberately quiet information layer after the
   purchase hero. The design keeps every preset distinct through its tokens,
   while hierarchy, spacing and legibility stay dependable. */
.rm-page--product > .rm-tabs {
	position: relative;
	margin-top: clamp(34px, 5vw, 72px);
	padding: clamp(22px, 3.2vw, 42px);
	background: linear-gradient(135deg, color-mix(in srgb, var(--rm-surface) 98%, var(--rm-accent) 2%), var(--rm-surface));
	border: 1px solid var(--rm-border);
	border-radius: var(--rm-radius-lg);
	box-shadow: 0 20px 48px -42px color-mix(in srgb, var(--rm-fg) 68%, transparent);
}
.rm-page--product > .rm-tabs::before {
	content: "";
	position: absolute;
	inset: 0 auto auto clamp(22px, 3.2vw, 42px);
	width: 54px;
	height: 3px;
	border-radius: 999px;
	background: var(--rm-accent);
}
.rm-page--product > .rm-tabs + .rm-prize-specs,
.rm-page--product > .rm-tabs + .rm-related,
.rm-page--product > .rm-prize-specs + .rm-related,
.rm-page--product > .rm-related + .rm-product-faq { margin-top: clamp(24px, 3vw, 44px); }
.rm-page--product > .rm-prize-specs,
.rm-page--product > .rm-product-faq {
	padding: clamp(22px, 3vw, 36px);
	background: var(--rm-surface);
	border: 1px solid var(--rm-border);
	border-radius: var(--rm-radius-lg);
}
.rm-tabs .rm-product-instants { max-width: none; margin: 0; padding: 0; }
.rm-tabs .rm-product-instants__body { margin-top: 16px; }
.rm-tabs .rm-product-description > :last-child { margin-bottom: 0; }
@media (max-width: 720px) {
	.rm-page--product > .rm-tabs { margin-top: 26px; padding: 20px 16px; }
	.rm-page--product > .rm-tabs::before { left: 16px; }
}

/* ============================================================
   V6.65 winners wall, draw day banner, seasonal skins
   ============================================================ */

/* --- Winners wall --- */
.rm-winners-wall__grid {
	display: grid; gap: 14px;
	grid-template-columns: repeat(var(--rm-wall-cols, 4), minmax(0, 1fr));
}
@media (max-width: 900px) { .rm-winners-wall__grid { grid-template-columns: 1fr 1fr; } }
.rm-winner-tile {
	display: flex; flex-direction: column;
	background: var(--rm-surface);
	border: 1px solid var(--rm-border);
	border-radius: var(--rm-radius-lg, 16px);
	overflow: hidden; text-decoration: none;
	transition: transform .15s, border-color .15s, box-shadow .15s;
}
.rm-winner-tile:hover {
	transform: translateY(-3px);
	border-color: color-mix(in srgb, var(--rm-accent) 55%, var(--rm-border));
	box-shadow: 0 14px 34px -18px color-mix(in srgb, var(--rm-accent) 45%, transparent);
}
.rm-winner-tile__media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.rm-winner-tile__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rm-winner-tile__won {
	position: absolute; top: 10px; left: 10px;
	display: inline-flex; align-items: center; gap: 6px;
	padding: 5px 11px; border-radius: 999px;
	background: var(--rm-accent); color: var(--rm-on-accent);
	font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
	box-shadow: 0 4px 14px -6px color-mix(in srgb, var(--rm-accent) 80%, transparent);
}
.rm-winner-tile__body { display: grid; gap: 4px; padding: 12px 14px 14px; }
.rm-winner-tile__prize { font-size: 13.5px; font-weight: 700; color: var(--rm-fg); line-height: 1.3; }
.rm-winner-tile__name { font-family: var(--rm-font-display); font-size: 15px; font-weight: 800; color: var(--rm-accent); }
.rm-winner-tile__meta { display: flex; align-items: center; gap: 10px; margin-top: 2px; }
.rm-winner-tile__ticket {
	padding: 2px 9px; border-radius: 7px;
	background: color-mix(in srgb, var(--rm-fg) 7%, transparent);
	border: 1px dashed var(--rm-border);
	font-size: 11.5px; font-weight: 800; font-variant-numeric: tabular-nums;
	color: var(--rm-fg);
}
.rm-winner-tile__date { font-size: 11.5px; color: var(--rm-fg-muted); }

/* --- Draw day banner --- */
.rm-draw-banner {
	display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
	padding: 11px clamp(14px, 4vw, 28px);
	background:
		linear-gradient(90deg, color-mix(in srgb, var(--rm-accent) 88%, #000), var(--rm-accent), color-mix(in srgb, var(--rm-accent) 88%, #000));
	color: var(--rm-on-accent);
	font-size: 13.5px; font-weight: 800;
}
.rm-draw-banner__dot {
	width: 9px; height: 9px; border-radius: 50%;
	background: var(--rm-on-accent);
	animation: rm-draw-pulse 1.4s ease-in-out infinite;
}
@keyframes rm-draw-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.75); } }
.rm-draw-banner__timer {
	padding: 3px 10px; border-radius: 999px;
	background: color-mix(in srgb, #000 22%, transparent);
	font-variant-numeric: tabular-nums;
}
.rm-draw-banner__link {
	display: inline-flex; align-items: center; gap: 7px;
	color: var(--rm-on-accent); text-decoration: none;
	padding: 5px 13px; border-radius: 999px;
	border: 2px solid color-mix(in srgb, var(--rm-on-accent) 70%, transparent);
	transition: background .15s;
}
.rm-draw-banner__link:hover { background: color-mix(in srgb, var(--rm-on-accent) 16%, transparent); }

/* --- Seasonal skins --- */
.rm-season-fx { position: fixed; inset: 0; z-index: 5; pointer-events: none; overflow: hidden; }
.rm-season-fx__layer { position: absolute; inset: -20% 0 0 0; }

/* Christmas: two parallax snow layers + festive ambience */
.rm-season-fx--christmas .rm-season-fx__layer--a {
	background-image:
		radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,.9), transparent 55%),
		radial-gradient(2px 2px at 70% 60%, rgba(255,255,255,.75), transparent 55%),
		radial-gradient(1.5px 1.5px at 40% 80%, rgba(255,255,255,.8), transparent 55%),
		radial-gradient(2px 2px at 90% 20%, rgba(255,255,255,.7), transparent 55%);
	background-size: 240px 240px;
	animation: rm-snow-a 11s linear infinite;
}
.rm-season-fx--christmas .rm-season-fx__layer--b {
	background-image:
		radial-gradient(3px 3px at 10% 10%, rgba(255,255,255,.95), transparent 55%),
		radial-gradient(2.5px 2.5px at 55% 45%, rgba(255,255,255,.85), transparent 55%),
		radial-gradient(3px 3px at 85% 75%, rgba(255,255,255,.8), transparent 55%);
	background-size: 340px 340px;
	animation: rm-snow-b 7s linear infinite;
}
@keyframes rm-snow-a { to { transform: translateY(240px); } }
@keyframes rm-snow-b { to { transform: translateY(340px) translateX(24px); } }
.rm-season-christmas .rm-body {
	background-image:
		radial-gradient(50% 34% at 8% -4%, rgba(220, 38, 38, .10), transparent 62%),
		radial-gradient(45% 30% at 94% 4%, rgba(22, 163, 74, .09), transparent 60%);
}

/* Halloween: drifting fog + ember ambience */
.rm-season-fx--halloween .rm-season-fx__layer--a {
	background: radial-gradient(60% 30% at 30% 90%, rgba(148, 113, 255, .12), transparent 70%);
	animation: rm-fog-a 16s ease-in-out infinite alternate;
}
.rm-season-fx--halloween .rm-season-fx__layer--b {
	background: radial-gradient(55% 26% at 75% 95%, rgba(249, 115, 22, .12), transparent 70%);
	animation: rm-fog-b 12s ease-in-out infinite alternate;
}
@keyframes rm-fog-a { from { transform: translateX(-6%); } to { transform: translateX(6%); } }
@keyframes rm-fog-b { from { transform: translateX(5%); } to { transform: translateX(-5%); } }
.rm-season-halloween .rm-body {
	background-image:
		radial-gradient(50% 36% at 10% -4%, rgba(249, 115, 22, .12), transparent 62%),
		radial-gradient(46% 30% at 92% 4%, rgba(124, 58, 237, .12), transparent 60%);
}

/* Summer: warm sunlight wash, static */
.rm-season-fx--summer .rm-season-fx__layer--a {
	background: radial-gradient(70% 45% at 85% -10%, rgba(251, 191, 36, .14), transparent 65%);
}
.rm-season-fx--summer .rm-season-fx__layer--b {
	background: radial-gradient(55% 34% at 8% -6%, rgba(56, 189, 248, .10), transparent 65%);
}

@media (prefers-reduced-motion: reduce) { .rm-season-fx__layer { animation: none; } }

/* V6.90: the quality floor. Presets may change character, but never basic
   hierarchy, breathing room or the legibility of the countdown. */
.rm-page--home > section { padding-block: clamp(34px, 4.6vw, 68px); }
.rm-page--home > section:first-child { padding-top: clamp(20px, 3vw, 44px); }
.rm-page--home > .rm-shell { margin-block: clamp(18px, 3vw, 42px); }
.rm-page--home > .rm-shell > section { padding-block: clamp(28px, 4vw, 60px); }
.rm-page--home .rm-section-header { margin-bottom: clamp(18px, 2.4vw, 30px); }
.rm-page--home .rm-grid { gap: clamp(18px, 2.2vw, 32px); }

/* Ring timers are measured instruments, not generic circular borders. */
.rm-countdown-style-ring .rm-countdown-boxes,
.rm-countdown-style-ring .countdown-timer { gap: clamp(7px, 1.2vw, 13px); }
.rm-countdown-style-ring .rm-countdown-boxes__cell,
.rm-countdown-style-ring .countdown-timer > div {
	position: relative;
	aspect-ratio: 1;
	min-width: 0;
	min-height: 0;
	padding: clamp(8px, 1.5vw, 15px) 4px;
	border: 1px solid color-mix(in srgb, var(--rm-accent) 36%, var(--rm-border));
	border-radius: 50%;
	background:
		radial-gradient(circle at 50% 45%, var(--rm-surface) 0 56%, transparent 57%),
		conic-gradient(from 205deg, var(--rm-accent), color-mix(in srgb, var(--rm-accent-2, var(--rm-accent)) 72%, var(--rm-accent)) 46%, color-mix(in srgb, var(--rm-border) 65%, transparent) 47% 100%);
	box-shadow: inset 0 0 0 4px var(--rm-surface), 0 10px 22px -18px color-mix(in srgb, var(--rm-accent) 86%, transparent);
	overflow: hidden;
}
.rm-countdown-style-ring .rm-countdown-boxes__num,
.rm-countdown-style-ring .countdown-timer .countdown-value { font-size: clamp(17px, 2vw, 25px); color: var(--rm-fg); }
.rm-countdown-style-ring .rm-countdown-boxes__lbl,
.rm-countdown-style-ring .countdown-timer .countdown-label { margin-top: 3px; font-size: 9px; letter-spacing: .1em; }
.rm-countdown-style-ring .rm-countdown-boxes__cell .rm-countdown-boxes__num,
.rm-countdown-style-ring .rm-countdown-boxes__cell [data-rm-countdown-d],
.rm-countdown-style-ring .rm-countdown-boxes__cell [data-rm-countdown-h],
.rm-countdown-style-ring .rm-countdown-boxes__cell [data-rm-countdown-m],
.rm-countdown-style-ring .rm-countdown-boxes__cell [data-rm-countdown-s],
.rm-countdown-style-ring .countdown-timer > div .countdown-value {
	width: auto; height: auto; min-width: 0; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none;
}
.rm-countdown-style-ring .rm-countdown-boxes__cell .rm-countdown-boxes__num::before,
.rm-countdown-style-ring .rm-countdown-boxes__cell [data-rm-countdown-d]::before,
.rm-countdown-style-ring .rm-countdown-boxes__cell [data-rm-countdown-h]::before,
.rm-countdown-style-ring .rm-countdown-boxes__cell [data-rm-countdown-m]::before,
.rm-countdown-style-ring .rm-countdown-boxes__cell [data-rm-countdown-s]::before,
.rm-countdown-style-ring .countdown-timer > div .countdown-value::before { display: none; }
.rm-countdown-style-flip .rm-countdown-boxes__cell,
.rm-countdown-style-flip .countdown-timer > div {
	position: relative; overflow: hidden; border-radius: 12px;
	background: linear-gradient(180deg, color-mix(in srgb, var(--rm-surface) 88%, var(--rm-accent) 12%) 0 49%, var(--rm-surface) 50% 100%);
	border-color: color-mix(in srgb, var(--rm-accent) 25%, var(--rm-border));
	box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 20%, transparent), 0 12px 22px -20px color-mix(in srgb, var(--rm-fg) 72%, transparent);
}
.rm-countdown-style-flip .rm-countdown-boxes__cell::after,
.rm-countdown-style-flip .countdown-timer > div::after { content:""; position:absolute; left:0; right:0; top:50%; border-top:1px solid color-mix(in srgb, var(--rm-fg) 20%, transparent); }
.rm-countdown-style-chips .rm-countdown-boxes__cell,
.rm-countdown-style-chips .countdown-timer > div { padding-block: 12px; border-radius: var(--rm-radius-md); background: color-mix(in srgb, var(--rm-surface) 93%, var(--rm-accent) 7%); }

/* Magazine uses a finely ruled editorial grid. Club is the bolder, complete
   members-space ending used by the high-energy Surprise Me directions. */
.rm-footer-style-magazine { background: linear-gradient(135deg, color-mix(in srgb, var(--rm-surface) 96%, var(--rm-accent) 4%), var(--rm-surface)); }
.rm-footer-style-magazine .rm-footer-main { grid-template-columns: minmax(260px, .9fr) minmax(0, 1.5fr); gap: clamp(36px, 7vw, 112px); padding-block: clamp(52px, 7vw, 92px) clamp(34px, 5vw, 64px); }
.rm-footer-style-magazine .rm-footer-brand { padding-right: clamp(0px, 4vw, 58px); border-right: 1px solid var(--rm-border); }
.rm-footer-style-magazine .rm-footer-links { grid-template-columns: repeat(var(--rm-footer-cols, 2), minmax(0, 1fr)); gap: 28px 54px; }
.rm-footer-style-magazine .rm-footer-widget__title,
.rm-footer-style-magazine .rm-footer-links__col h3,
.rm-footer-style-magazine .rm-footer-links__col h4 { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--rm-accent); }
.rm-footer-style-club { overflow: hidden; background: radial-gradient(70% 110% at 4% 0%, color-mix(in srgb, var(--rm-accent) 20%, transparent), transparent 62%), var(--rm-bg); }
.rm-footer-style-club .rm-footer-state { position: relative; border-bottom-color: color-mix(in srgb, var(--rm-accent) 30%, var(--rm-border)); }
.rm-footer-style-club .rm-footer-state::after { content:""; position:absolute; inset:auto -8% -1px auto; width:38vw; height:1px; background:linear-gradient(90deg,transparent,var(--rm-accent),transparent); }
.rm-footer-style-club .rm-footer-main { grid-template-columns: minmax(260px, 1.15fr) minmax(0, 1.85fr); gap: clamp(38px, 8vw, 128px); padding-top: clamp(50px, 7vw, 94px); }
.rm-footer-style-club .rm-footer-brand__name { font-size: clamp(28px, 3.3vw, 46px); letter-spacing: -.045em; }
.rm-footer-style-club .rm-footer-links { gap: 34px; }
.rm-footer-style-club .rm-footer-bottom { padding-top: 24px; border-top: 1px solid color-mix(in srgb, var(--rm-accent) 18%, var(--rm-border)); }
.rm-footer-style-club .rm-footer-wordmark { margin-top: -10px; opacity: .32; }
@media (max-width: 900px) {
	.rm-footer-style-magazine .rm-footer-main,
	.rm-footer-style-club .rm-footer-main { grid-template-columns: 1fr; gap: 36px; }
	.rm-footer-style-magazine .rm-footer-brand { padding-right: 0; padding-bottom: 28px; border-right: 0; border-bottom: 1px solid var(--rm-border); }
	.rm-footer-style-magazine .rm-footer-links { gap: 22px; }
}
@media (max-width: 480px) {
	.rm-countdown-style-ring .rm-countdown-boxes,
	.rm-countdown-style-ring .countdown-timer { gap: 6px; }
	.rm-countdown-style-ring .rm-countdown-boxes__lbl,
	.rm-countdown-style-ring .countdown-timer .countdown-label { font-size: 8px; letter-spacing: .05em; }
}

/* V6.91: cards are compact products, so their information has one clear
   rhythm. This layer deliberately wins over older poster and timer rules. */
.rm-card__media::after {
	inset: 0;
	height: 100%;
	background: linear-gradient(180deg, transparent 32%, color-mix(in srgb, var(--rm-bg) 60%, transparent) 100%);
}

.rm-stats-bar__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 14px 24px;
	display: flex;
	justify-content: space-between;
	gap: 8px;
	align-items: center;
}
.rm-stats-bar__item { flex: 1 1 0; }
@media (max-width: 720px) {
	.rm-stats-bar__inner { flex-wrap: wrap; padding: 16px; gap: 16px 8px; }
	.rm-stats-bar__item { flex-basis: calc(50% - 4px); }
}

/* Poster rail is a small media label, never a second footer trapped over the
   prize image. It sits at the top edge with one calm, legible line. */
.rm-card-style-poster .rm-card__media > .rm-card__rail {
	position: absolute;
	top: 10px;
	bottom: auto;
	left: 12px;
	right: auto;
	max-width: calc(100% - 24px);
	min-width: min(236px, calc(100% - 24px));
	z-index: 4;
	gap: 0;
	padding: 7px 10px;
	border: 1px solid color-mix(in srgb, #fff 16%, transparent);
	border-radius: 999px;
	background: color-mix(in srgb, #07111d 72%, transparent);
	box-shadow: 0 8px 18px -14px rgba(0,0,0,.9);
}
.rm-card-style-poster .rm-card__media > .rm-card__rail > span { min-width: 0; }
.rm-card-style-poster .rm-card__rail-cat { padding-right: 9px; }
.rm-card-style-poster .rm-card__rail-draw { padding-left: 9px; border-left: 1px solid rgba(255,255,255,.18); }
@media (max-width: 560px) {
	.rm-card-style-poster .rm-card__media > .rm-card__rail { top: 9px; left: 9px; max-width: calc(100% - 18px); min-width: 0; padding: 6px 9px; }
}

/* Units are structurally contained with their number. Ring labels now live
   inside their own dial instead of hanging awkwardly between circles. */
.rm-card__timer-digits { align-items: center; gap: 5px; }
.rm-card__timer-unit { display: inline-flex; align-items: baseline; gap: 1px; min-width: 0; }
.rm-card__timer-unit i { font-style: normal; font-size: 10px; font-weight: 700; color: var(--rm-fg-muted); margin: 0; }
.rm-countdown-style-ring .rm-card__timer { gap: 8px; padding: 8px 10px; }
.rm-countdown-style-ring .rm-card__timer-digits { gap: 4px; }
.rm-countdown-style-ring .rm-card__timer-unit {
	width: 31px;
	height: 31px;
	flex: 0 0 31px;
	align-items: center;
	justify-content: center;
	gap: 0;
	border-radius: 50%;
	border: 1px solid color-mix(in srgb, var(--rm-accent) 56%, var(--rm-border));
	background: radial-gradient(circle, var(--rm-surface) 57%, transparent 59%), conic-gradient(from 215deg, var(--rm-accent), color-mix(in srgb, var(--rm-accent-2, var(--rm-accent)) 74%, var(--rm-accent)) 52%, var(--rm-border) 53% 100%);
	box-shadow: inset 0 0 0 3px var(--rm-surface);
}
.rm-countdown-style-ring .rm-card__timer-unit b { position: relative; z-index: 1; font-size: var(--rm-text-xs); line-height: 1; }
.rm-countdown-style-ring .rm-card__timer-unit i { position: relative; z-index: 1; margin-left: 1px; font-size: 8px; line-height: 1; }
@media (max-width: 560px) {
	.rm-card__timer { padding: 8px 9px; }
	.rm-card__timer-digits { width: 100%; justify-content: space-between; gap: 3px; }
	.rm-card__timer-unit { justify-content: center; }
	.rm-countdown-style-ring .rm-card__timer-unit { width: 28px; height: 28px; flex-basis: 28px; }
	.rm-countdown-style-ring .rm-card__timer-unit b { font-size: 11px; }
	.rm-countdown-style-ring .rm-card__timer-unit i { display: inline; font-size: 7px; }
}
@media (max-width: 420px) {
	.rm-mgrid-2 .rm-card__timer-digits { gap: 2px; }
	.rm-mgrid-2 .rm-card__timer-unit:last-child { display: none; }
	.rm-mgrid-2 .rm-countdown-style-ring .rm-card__timer-unit { width: 25px; height: 25px; flex-basis: 25px; }
}

/* Product countdowns are balanced tiles rather than oversized bubbles. */
.rm-product-countdown .countdown-timer { gap: 8px; }
.rm-product-countdown .countdown-timer > div { min-width: 0; padding: 10px; }
.rm-product-countdown .countdown-value { line-height: 1; }

/* Odds become a considered status badge, with enough contrast on every
   preset without looking like a generic button. */
.rm-buybox__odds {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 0;
	padding: 10px 16px;
	border: 1px solid color-mix(in srgb, var(--rm-accent) 52%, var(--rm-border));
	border-radius: 999px;
	background: linear-gradient(135deg, color-mix(in srgb, var(--rm-accent) 18%, var(--rm-surface)), var(--rm-surface));
	color: var(--rm-fg);
	box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 14%, transparent), 0 12px 24px -22px color-mix(in srgb, var(--rm-accent) 95%, transparent);
	letter-spacing: .045em;
	text-transform: uppercase;
}
.rm-buybox__odds::before { content: "\2605"; color: var(--rm-accent); font-size: var(--rm-text-xs); }

/* Four progress treatments share the same geometry. The optional icon is a
   genuine end marker, not decoration floating beside the bar. */
.rm-card__gauge-bar { position: relative; overflow: visible; }
.rm-card__gauge-bar > span { overflow: hidden; }
.rm-card__gauge-icon {
	display: none;
	position: absolute;
	top: 50%;
	right: -6px;
	width: 18px;
	height: 18px;
	align-items: center;
	justify-content: center;
	transform: translateY(-50%);
	border: 2px solid var(--rm-surface);
	border-radius: 50%;
	background: var(--rm-accent);
	color: var(--rm-on-accent);
	font-size: 8px;
	box-shadow: 0 4px 10px -6px color-mix(in srgb, var(--rm-accent) 92%, transparent);
	z-index: 2;
}
.rm-progress-style-marker .rm-card__gauge-bar.has-end-icon .rm-card__gauge-icon { display: inline-flex; }
.rm-progress-style-solid .rm-card__gauge-bar span { background: var(--rm-accent); animation: none; }
.rm-progress-style-segments .rm-card__gauge-bar span {
	background: repeating-linear-gradient(90deg, var(--rm-accent) 0 calc(20% - 3px), color-mix(in srgb, var(--rm-surface) 75%, transparent) calc(20% - 3px) 20%);
	animation: none;
}
.rm-progress-style-marker .rm-card__gauge-bar span { background: linear-gradient(90deg, var(--rm-accent), var(--rm-accent-2, var(--rm-accent))); animation: none; }
@media (prefers-reduced-motion: reduce) { .rm-card__gauge-bar span { animation: none; } }

/* Product essentials are a deliberate proof-and-information chapter. */
.rm-product-essentials { max-width: var(--rm-content-width, 1200px); margin: clamp(34px, 5vw, 72px) auto 0; }
.rm-product-leaderboard { margin: 0 0 clamp(22px, 3vw, 36px); }
.rm-product-essentials > .rm-tabs { margin-top: 0; }

/* V6.93: light mode has a different material language. It uses fine rules,
   calm surfaces and restrained lift instead of carrying dark-mode shadows
   onto white. */
:root[data-rm-mode="light"] .rm-card,
:root[data-rm-mode="light"] .rm-winner-tile,
:root[data-rm-mode="light"] .rm-product-layout-immersive .rm-product-hero__copy,
:root[data-rm-mode="light"] .rm-product-essentials > .rm-tabs,
:root[data-rm-mode="light"] .rm-page--product > .rm-prize-specs,
:root[data-rm-mode="light"] .rm-page--product > .rm-product-faq {
	box-shadow: inset 0 1px 0 rgba(255,255,255,.82);
	border-color: color-mix(in srgb, var(--rm-border) 88%, var(--rm-fg) 3%);
}
:root[data-rm-mode="light"] .rm-card:hover,
:root[data-rm-mode="light"] .rm-winner-tile:hover {
	border-color: color-mix(in srgb, var(--rm-accent) 38%, var(--rm-border));
	box-shadow: 0 14px 26px -27px rgba(21, 31, 48, .34), inset 0 1px 0 rgba(255,255,255,.84);
}
:root[data-rm-mode="light"] .rm-featured__frame,
:root[data-rm-mode="light"] .rm-product-layout-immersive .rm-product-hero__media {
	box-shadow: 0 20px 42px -38px rgba(21, 31, 48, .32);
}
:root[data-rm-mode="light"] .rm-card__corner,
:root[data-rm-mode="light"] .rm-winner-tile__won,
:root[data-rm-mode="light"] .rm-card__gauge-icon {
	box-shadow: 0 6px 13px -11px color-mix(in srgb, var(--rm-accent) 78%, transparent);
}
:root[data-rm-mode="light"] .rm-card__qa-add { box-shadow: none; }
:root[data-rm-mode="light"] .rm-card__media::after {
	background: linear-gradient(180deg, transparent 50%, color-mix(in srgb, var(--rm-bg) 36%, transparent) 100%);
}
:root[data-rm-mode="light"] .rm-site-header,
:root[data-rm-mode="light"] .rm-stats-bar {
	box-shadow: inset 0 -1px 0 color-mix(in srgb, var(--rm-border) 88%, transparent);
}
:root[data-rm-mode="light"] .rm-countdown-style-ring .rm-card__timer-unit,
:root[data-rm-mode="light"] .rm-countdown-style-ring .rm-countdown-boxes__cell,
:root[data-rm-mode="light"] .rm-countdown-style-ring .countdown-timer > div {
	box-shadow: inset 0 0 0 3px var(--rm-surface), 0 8px 16px -17px color-mix(in srgb, var(--rm-accent) 72%, transparent);
}
:root[data-rm-mode="light"] .rm-buybox__odds {
	box-shadow: inset 0 1px 0 rgba(255,255,255,.86), 0 10px 22px -24px color-mix(in srgb, var(--rm-accent) 88%, transparent);
}
:root[data-rm-mode="light"] .rm-footer-style-club,
:root[data-rm-mode="light"] .rm-footer-style-magazine {
	background: linear-gradient(180deg, color-mix(in srgb, var(--rm-accent) 3%, var(--rm-surface)), var(--rm-surface));
}

/* Mandatory product information keeps the same refined panel treatment now
   that it sits inside the essentials wrapper. */
.rm-product-essentials > .rm-tabs {
	position: relative;
	padding: clamp(22px, 3.2vw, 42px);
	background: linear-gradient(135deg, color-mix(in srgb, var(--rm-surface) 98%, var(--rm-accent) 2%), var(--rm-surface));
	border: 1px solid var(--rm-border);
	border-radius: var(--rm-radius-lg);
	box-shadow: 0 20px 48px -42px color-mix(in srgb, var(--rm-fg) 68%, transparent);
}
.rm-product-essentials > .rm-tabs::before {
	content: "";
	position: absolute;
	inset: 0 auto auto clamp(22px, 3.2vw, 42px);
	width: 54px;
	height: 3px;
	border-radius: 999px;
	background: var(--rm-accent);
}

/* Editorial is a composed two-column product story on desktop. It only
   collapses into one column when the viewport genuinely needs it. */
@media (min-width: 901px) {
	.rm-product-layout-editorial .rm-product-hero {
		max-width: 1180px;
		grid-template-columns: minmax(0, 1.08fr) minmax(360px, .86fr);
		gap: clamp(36px, 5vw, 76px);
		padding-top: clamp(42px, 5vw, 72px);
		text-align: left;
	}
	.rm-product-layout-editorial .rm-product-hero__media { order: 0; max-width: none; margin: 0; }
	.rm-product-layout-editorial .rm-product-hero__copy { max-width: none; margin: 0; align-self: center; }
	.rm-product-layout-editorial .rm-product-hero__tag { margin-inline: 0; }
	.rm-product-layout-editorial .rm-product-hero__title { font-size: clamp(42px, 4.5vw, 62px); }
}
@media (max-width: 720px) {
	.rm-product-essentials > .rm-tabs { padding: 20px 16px; }
	.rm-product-essentials > .rm-tabs::before { left: 16px; }
}

/* V6.94: a light flip clock is a quiet information component, not a dark
   arcade control dropped onto a white card. */
:root[data-rm-mode="light"] .rm-countdown-style-flip .countdown-timer > div,
:root[data-rm-mode="light"] .rm-countdown-style-flip .rm-countdown-boxes__cell {
	background: var(--rm-surface);
	border: 1px solid color-mix(in srgb, var(--rm-accent) 28%, var(--rm-border));
	box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}
:root[data-rm-mode="light"] .rm-countdown-style-flip .countdown-timer > div::after,
:root[data-rm-mode="light"] .rm-countdown-style-flip .rm-countdown-boxes__cell::after {
	display: none;
}
:root[data-rm-mode="light"] .rm-countdown-style-flip .countdown-timer .countdown-value,
:root[data-rm-mode="light"] .rm-countdown-style-flip [data-rm-countdown-boxes] [data-rm-countdown-d],
:root[data-rm-mode="light"] .rm-countdown-style-flip [data-rm-countdown-boxes] [data-rm-countdown-h],
:root[data-rm-mode="light"] .rm-countdown-style-flip [data-rm-countdown-boxes] [data-rm-countdown-m],
:root[data-rm-mode="light"] .rm-countdown-style-flip [data-rm-countdown-boxes] [data-rm-countdown-s] {
	min-width: 0;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: var(--rm-fg);
}
:root[data-rm-mode="light"] .rm-countdown-style-flip .countdown-timer .countdown-value::after,
:root[data-rm-mode="light"] .rm-countdown-style-flip [data-rm-countdown-boxes] [data-rm-countdown-d]::after,
:root[data-rm-mode="light"] .rm-countdown-style-flip [data-rm-countdown-boxes] [data-rm-countdown-h]::after,
:root[data-rm-mode="light"] .rm-countdown-style-flip [data-rm-countdown-boxes] [data-rm-countdown-m]::after,
:root[data-rm-mode="light"] .rm-countdown-style-flip [data-rm-countdown-boxes] [data-rm-countdown-s]::after { display: none; }
:root[data-rm-mode="light"] .rm-countdown-style-flip .rm-card__timer {
	background: color-mix(in srgb, var(--rm-surface) 92%, var(--rm-accent) 2%);
	border-color: var(--rm-border);
}
:root[data-rm-mode="light"] .rm-countdown-style-flip .rm-card__timer-digits { gap: 4px; }
:root[data-rm-mode="light"] .rm-countdown-style-flip .rm-card__timer-unit {
	width: 36px;
	height: 32px;
	flex: 0 0 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 1px;
	border: 1px solid color-mix(in srgb, var(--rm-accent) 22%, var(--rm-border));
	border-radius: 7px;
	background: var(--rm-surface);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.92);
}
:root[data-rm-mode="light"] .rm-countdown-style-flip .rm-card__timer-unit b { font-size: 13px; }
:root[data-rm-mode="light"] .rm-countdown-style-flip .rm-card__timer-unit i { font-size: 8px; color: var(--rm-fg-muted); }
:root[data-rm-mode="light"] .rm-card__timer-tag,
:root[data-rm-mode="light"] .rm-card__gauge-stats,
:root[data-rm-mode="light"] .rm-card__price-prefix,
:root[data-rm-mode="light"] .rm-card__price-per { color: var(--rm-fg-muted); }
:root[data-rm-mode="light"] .rm-card--price-highlight .rm-card__pricebar {
	padding: 10px 0 0;
	border-top: 1px solid var(--rm-border);
	border-radius: 0;
	background: transparent;
}
:root[data-rm-mode="light"] .rm-card__title { text-shadow: none; }
@media (max-width: 560px) {
	:root[data-rm-mode="light"] .rm-mgrid-2.rm-countdown-style-flip .rm-card__timer-unit:last-child { display: none; }
}

/* ============================================================
   V6.95 hover variations, countdown urgency, light mode round 5,
   alignment polish
   ============================================================ */

/* --- Card hover variations (lift is the existing default) --- */
.rm-hover-static .rm-card,
.rm-hover-static .rm-card:hover { transform: none !important; }
.rm-hover-glow .rm-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 44px -18px color-mix(in srgb, var(--rm-accent) 55%, transparent);
	border-color: color-mix(in srgb, var(--rm-accent) 55%, var(--rm-border));
}
.rm-hover-scale .rm-card { transition: transform .18s ease, border-color .18s, box-shadow .18s; }
.rm-hover-scale .rm-card:hover { transform: scale(1.025); z-index: 2; }
.rm-hover-scale .rm-card-style-minimal .rm-card:hover { transform: scale(1.015); }
@media (prefers-reduced-motion: reduce) {
	.rm-hover-glow .rm-card:hover, .rm-hover-scale .rm-card:hover { transform: none; }
}

/* --- Countdown urgency: the final hour reads as the final hour --- */
.rm-cd-urgent [data-rm-countdown-m],
.rm-cd-urgent [data-rm-countdown-s],
.rm-cd-urgent .countdown-minutes .countdown-value,
.rm-cd-urgent .countdown-seconds .countdown-value {
	color: var(--rm-danger);
	animation: rm-urgent-pulse 1.6s ease-in-out infinite;
}
.rm-countdown-style-flip .rm-cd-urgent [data-rm-countdown-m],
.rm-countdown-style-flip .rm-cd-urgent [data-rm-countdown-s],
.rm-countdown-style-flip .rm-cd-urgent .countdown-minutes .countdown-value,
.rm-countdown-style-flip .rm-cd-urgent .countdown-seconds .countdown-value {
	color: #fca5a5;
	border-color: color-mix(in srgb, var(--rm-danger) 55%, var(--rm-border));
}
.rm-countdown-style-ring .rm-cd-urgent [data-rm-countdown-m]::before,
.rm-countdown-style-ring .rm-cd-urgent [data-rm-countdown-s]::before,
.rm-countdown-style-ring .rm-cd-urgent .countdown-minutes .countdown-value::before,
.rm-countdown-style-ring .rm-cd-urgent .countdown-seconds .countdown-value::before {
	background: conic-gradient(var(--rm-danger) calc(var(--rm-pct) * 360deg), color-mix(in srgb, var(--rm-fg) 12%, transparent) 0);
}
@media (prefers-reduced-motion: reduce) { .rm-cd-urgent [data-rm-countdown-s], .rm-cd-urgent .countdown-seconds .countdown-value { animation: none; } }

/* --- Light mode round 5: soften the dark-tuned chrome --- */
:root[data-rm-mode="light"] .rm-bottom-bar__inner {
	background: color-mix(in srgb, #ffffff 86%, transparent);
	box-shadow: 0 -6px 28px -18px rgba(15, 23, 42, .25), 0 8px 24px -16px rgba(15, 23, 42, .22);
}
:root[data-rm-mode="light"] .rm-bottom-bar__icon { box-shadow: none; }
:root[data-rm-mode="light"] .rm-bottom-bar__btn--ghost,
:root[data-rm-mode="light"] .rm-header-btn--outline,
:root[data-rm-mode="light"] .rm-footer-state__btn { box-shadow: none; }
:root[data-rm-mode="light"] .rm-menu-style-mega .rm-site-header__menu > li > .rm-mega {
	box-shadow: 0 24px 50px -28px rgba(15, 23, 42, .28);
}
:root[data-rm-mode="light"] .rm-mega__promo {
	background:
		radial-gradient(240px 130px at 85% 0%, color-mix(in srgb, var(--rm-accent) 9%, transparent), transparent 70%),
		color-mix(in srgb, var(--rm-accent) 3%, #ffffff);
}
:root[data-rm-mode="light"] .rm-popup__panel { box-shadow: 0 24px 60px -24px rgba(15, 23, 42, .3); }
:root[data-rm-mode="light"] .rm-popup--center.is-open { background: rgba(15, 23, 42, .38); }
:root[data-rm-mode="light"] .rm-winner-tile:hover {
	box-shadow: 0 12px 28px -16px color-mix(in srgb, var(--rm-accent) 35%, rgba(15, 23, 42, .2));
}
:root[data-rm-mode="light"] .rm-marquee--ghost .rm-marquee__item { color: color-mix(in srgb, var(--rm-fg) 12%, transparent); }
:root[data-rm-mode="light"] .rm-footer-rows__dot,
:root[data-rm-mode="light"] .rm-mega__promo-dot { box-shadow: none; }
:root[data-rm-mode="light"] .rm-draw-banner { box-shadow: inset 0 -1px 0 rgba(15, 23, 42, .12); }
:root[data-rm-mode="light"] .rm-countdown-style-ring .countdown-timer .countdown-value,
:root[data-rm-mode="light"] .rm-countdown-style-ring [data-rm-countdown-boxes] [data-rm-countdown-d],
:root[data-rm-mode="light"] .rm-countdown-style-ring [data-rm-countdown-boxes] [data-rm-countdown-h],
:root[data-rm-mode="light"] .rm-countdown-style-ring [data-rm-countdown-boxes] [data-rm-countdown-m],
:root[data-rm-mode="light"] .rm-countdown-style-ring [data-rm-countdown-boxes] [data-rm-countdown-s] {
	background: #ffffff;
	box-shadow: inset 0 0 0 1px var(--rm-border);
}
:root[data-rm-mode="light"] .rm-season-fx--christmas .rm-season-fx__layer--a,
:root[data-rm-mode="light"] .rm-season-fx--christmas .rm-season-fx__layer--b { filter: invert(1) opacity(.45); }
:root[data-rm-mode="light"] .rm-gallery__labels .rm-ends-flair {
	background: color-mix(in srgb, #ffffff 78%, transparent);
	color: var(--rm-fg);
	border: 1px solid var(--rm-border);
}
:root[data-rm-mode="light"] .rm-gallery__labels .rm-ends-flair--today { background: var(--rm-accent); color: var(--rm-on-accent); border-color: transparent; }

/* --- Alignment polish --- */
.rm-buybox__tabs { align-items: stretch; }
.rm-buybox__tab { display: inline-flex; align-items: center; justify-content: center; text-align: center; }
.rm-winner-tile__meta { min-height: 22px; align-items: center; }
.rm-section-header { display: flex; flex-direction: column; gap: 6px; margin-bottom: 22px; }
.rm-footer-rows__links a { line-height: 1.9; }
.rm-mega__tiles li a:focus-visible { outline: 2px solid var(--rm-accent); outline-offset: 2px; }
.rm-bottom-bar__btn:focus-visible, .rm-header-btn:focus-visible { outline: 2px solid var(--rm-accent); outline-offset: 2px; }

/* ============================================================
   V6.96 screenshot fixes + premium pass + spotlight + menu polish
   ============================================================ */

/* --- Rail arrows flank the track (glass circles, vertically centred) --- */
.rm-rail-shell { position: relative; }
.rm-rail-shell .rm-rail__arrow {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 6;
	width: 46px; height: 46px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	background: color-mix(in srgb, var(--rm-surface) 82%, transparent);
	border: 1px solid var(--rm-border);
	color: var(--rm-fg);
	backdrop-filter: blur(8px);
	box-shadow: 0 10px 26px -14px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .07);
	cursor: pointer; font-size: var(--rm-text-sm);
	transition: border-color .15s, color .15s, transform .15s, box-shadow .15s;
}
.rm-rail-shell .rm-rail__arrow:hover {
	border-color: var(--rm-accent); color: var(--rm-accent);
	transform: translateY(-50%) scale(1.06);
	box-shadow: 0 12px 30px -12px color-mix(in srgb, var(--rm-accent) 45%, rgba(0, 0, 0, .5));
}
.rm-rail-shell .rm-rail__arrow--prev { left: -10px; }
.rm-rail-shell .rm-rail__arrow--next { right: -10px; }
@media (max-width: 720px) {
	.rm-rail-shell .rm-rail__arrow { width: 38px; height: 38px; font-size: var(--rm-text-xs); }
	.rm-rail-shell .rm-rail__arrow--prev { left: -4px; }
	.rm-rail-shell .rm-rail__arrow--next { right: -4px; }
}
:root[data-rm-mode="light"] .rm-rail-shell .rm-rail__arrow {
	background: rgba(255, 255, 255, .88);
	box-shadow: 0 8px 22px -14px rgba(15, 23, 42, .3);
}

/* --- Poster skin: rail no longer collides with corner ribbons --- */
.rm-card-style-poster .rm-card:has(.rm-card__corner) .rm-card__rail { right: 92px; }
.rm-card-style-poster .rm-card__corner { z-index: 4; }

/* --- Ring countdown: rooms of their own (image 2 + 3) --- */
/* Card units become stacked columns: circle above, unit letter below. */
.rm-countdown-style-ring .rm-card__timer-digits { display: inline-flex; gap: 10px; align-items: flex-start; }
.rm-countdown-style-ring .rm-card__timer-unit { display: inline-flex; flex-direction: column; align-items: center; gap: 3px; }
.rm-countdown-style-ring .rm-card__timer-unit b[data-rm-countdown-d],
.rm-countdown-style-ring .rm-card__timer-unit b[data-rm-countdown-h],
.rm-countdown-style-ring .rm-card__timer-unit b[data-rm-countdown-m],
.rm-countdown-style-ring .rm-card__timer-unit b[data-rm-countdown-s] {
	width: 40px; height: 40px; flex: 0 0 40px;
	font-size: 13px;
}
.rm-countdown-style-ring .rm-card__timer-unit i {
	font-style: normal; font-size: 9px; font-weight: 800;
	text-transform: uppercase; letter-spacing: .08em;
	color: var(--rm-fg-muted);
}
/* Product page dials: guaranteed size, breathing space, premium depth. */
.rm-countdown-style-ring .countdown-timer { display: inline-flex; gap: 16px; }
.rm-countdown-style-ring .countdown-timer .countdown-value {
	min-width: 64px; min-height: 64px; width: 64px; height: 64px;
	font-size: 19px;
	background:
		radial-gradient(120% 120% at 30% 22%, color-mix(in srgb, var(--rm-fg) 6%, transparent), transparent 55%),
		var(--rm-surface);
	box-shadow: inset 0 2px 6px rgba(0, 0, 0, .28), 0 6px 18px -10px rgba(0, 0, 0, .45);
}
.rm-countdown-style-ring .countdown-timer .countdown-value::before {
	inset: -4px;
	-webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4.5px), #000 calc(100% - 4px));
	mask: radial-gradient(farthest-side, transparent calc(100% - 4.5px), #000 calc(100% - 4px));
}
:root[data-rm-mode="light"] .rm-countdown-style-ring .countdown-timer .countdown-value {
	box-shadow: inset 0 0 0 1px var(--rm-border), 0 6px 16px -12px rgba(15, 23, 42, .25);
	background: #ffffff;
}
@media (max-width: 720px) {
	.rm-countdown-style-ring .countdown-timer { gap: 10px; }
	.rm-countdown-style-ring .countdown-timer .countdown-value { min-width: 52px; min-height: 52px; width: 52px; height: 52px; font-size: var(--rm-text-base); }
}

/* --- Winner row levelling (image 4) --- */
/* Winner row levelling: the original boxed row is the design; the label
   becomes a crisp pill and every element locks to the centre line. */
.rm-card__winner-label {
	display: inline-flex; align-items: center; line-height: 1;
	padding: 4px 9px; border-radius: 999px;
	background: color-mix(in srgb, var(--rm-accent) 16%, transparent);
}
.rm-card__winner-name { line-height: 1.2; }
.rm-card__winner-ticket { font-variant-numeric: tabular-nums; font-weight: 700; line-height: 1; }

/* --- Premium pass: depth, light and material on every surface --- */
.rm-card {
	box-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 10px 30px -18px rgba(0, 0, 0, .5);
}
.rm-card:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 22px 44px -20px rgba(0, 0, 0, .55); }
:root[data-rm-mode="light"] .rm-card { box-shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 10px 26px -20px rgba(15, 23, 42, .18); }
:root[data-rm-mode="light"] .rm-card:hover { box-shadow: 0 2px 4px rgba(15, 23, 42, .06), 0 18px 38px -18px rgba(15, 23, 42, .24); }

.rm-card__pricebar b, .rm-card__price-now { letter-spacing: -0.01em; }
.rm-card__gauge-bar { position: relative; overflow: hidden; }
.rm-card__gauge-bar::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .28) 50%, transparent 58%);
	transform: translateX(-120%);
	animation: rm-gauge-shine 4.5s ease-in-out infinite;
}
@keyframes rm-gauge-shine { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(140%); } }
@media (prefers-reduced-motion: reduce) { .rm-card__gauge-bar::after { animation: none; } }

/* Buttons across the theme: gradient body + top light, the house language */
.rm-spotlight__cta,
.rm-footer-state__btn:hover,
.rm-buybox .wp-element-button,
.rm-page button[type="submit"].wp-element-button,
.rm-bottom-bar__btn--solid:hover {
	background-image: linear-gradient(145deg,
		color-mix(in srgb, var(--rm-accent) 85%, #ffffff),
		var(--rm-accent) 45%,
		color-mix(in srgb, var(--rm-accent) 85%, #000000));
}
.rm-buybox .wp-element-button,
.rm-page button[type="submit"].wp-element-button {
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 10px 24px -12px color-mix(in srgb, var(--rm-accent) 60%, transparent);
	color: var(--rm-on-accent);
	transition: filter .15s, transform .12s, box-shadow .15s;
}
.rm-buybox .wp-element-button:hover,
.rm-page button[type="submit"].wp-element-button:hover { filter: brightness(1.06); transform: translateY(-1px); }
.rm-buybox .wp-element-button:active,
.rm-page button[type="submit"].wp-element-button:active { transform: translateY(0) scale(.99); }

/* --- Prize spotlight --- */
.rm-spotlight {
	display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 54px); align-items: center;
}
.rm-spotlight--media-right .rm-spotlight__media { order: 2; }
.rm-spotlight__media { position: relative; }
.rm-spotlight__media img {
	position: relative; z-index: 1; width: 100%; display: block;
	border-radius: var(--rm-radius-lg, 18px);
	border: 1px solid var(--rm-border);
	box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .6);
}
.rm-spotlight__halo {
	position: absolute; inset: -8% -6%;
	background: radial-gradient(55% 55% at 50% 50%, color-mix(in srgb, var(--rm-accent) 26%, transparent), transparent 70%);
	filter: blur(28px);
	animation: rm-aura-breathe 5s ease-in-out infinite;
}
.rm-spotlight__title {
	margin: 8px 0 14px;
	font-family: var(--rm-font-display);
	font-size: clamp(30px, 4.2vw, 52px); font-weight: 800; line-height: 1.04; letter-spacing: -0.015em;
}
.rm-spotlight__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.rm-spotlight__chip {
	display: inline-flex; align-items: center; gap: 7px;
	padding: 7px 13px; border-radius: 999px;
	background: color-mix(in srgb, var(--rm-accent) 12%, transparent);
	border: 1px solid color-mix(in srgb, var(--rm-accent) 35%, transparent);
	color: var(--rm-accent); font-size: var(--rm-text-xs); font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
}
.rm-spotlight__timer { margin-bottom: 20px; }
.rm-spotlight__timer .rm-card__timer-unit b { font-size: 17px; }
.rm-spotlight__actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.rm-spotlight__cta {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 16px 30px; border-radius: var(--rm-radius-button, 999px);
	color: var(--rm-on-accent); text-decoration: none;
	font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 14px 30px -12px color-mix(in srgb, var(--rm-accent) 65%, transparent);
	transition: transform .14s, box-shadow .14s, filter .14s;
}
.rm-spotlight__cta:hover { transform: translateY(-2px); filter: brightness(1.05); }
.rm-spotlight__price { display: inline-flex; align-items: baseline; gap: 7px; font-family: var(--rm-font-display); font-size: 22px; font-weight: 800; color: var(--rm-fg); }
.rm-spotlight__price em { font-style: normal; font-size: var(--rm-text-xs); font-weight: 600; color: var(--rm-fg-muted); text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 860px) {
	.rm-spotlight { grid-template-columns: 1fr; }
	.rm-spotlight--media-right .rm-spotlight__media { order: 0; }
}

/* --- Menus: polish + per-item icons --- */
.rm-menu-style-dropdown .rm-site-header__menu > li > .sub-menu {
	padding: 10px;
	background: color-mix(in srgb, var(--rm-surface) 94%, transparent);
	backdrop-filter: blur(10px);
	box-shadow: 0 24px 54px -26px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.rm-menu-style-dropdown .rm-site-header__menu > li > .sub-menu a {
	display: flex; align-items: center; gap: 9px;
	border-radius: 9px;
	transition: background .14s, color .14s, padding-left .14s;
}
.rm-menu-style-dropdown .rm-site-header__menu > li > .sub-menu a::after {
	content: "\f061"; font-family: "Font Awesome 6 Free"; font-weight: 900;
	margin-left: auto; font-size: 10px; opacity: 0; transform: translateX(-4px);
	transition: opacity .15s, transform .15s;
	color: var(--rm-accent);
}
.rm-menu-style-dropdown .rm-site-header__menu > li > .sub-menu a:hover {
	background: color-mix(in srgb, var(--rm-accent) 10%, transparent);
	color: var(--rm-accent);
	padding-left: 13px;
}
.rm-menu-style-dropdown .rm-site-header__menu > li > .sub-menu a:hover::after { opacity: 1; transform: translateX(0); }

/* Menu item icons: add class rm-ico-<name> to any menu item (mega tiles
   and dropdown links both honour it). */
.rm-mega__tiles li a::before, .rm-menu-style-dropdown .sub-menu li a::before {
	font-family: "Font Awesome 6 Free"; font-weight: 900;
}
.rm-menu-style-dropdown .sub-menu li[class*="rm-ico-"] a::before {
	content: "\f091";
	display: inline-flex; align-items: center; justify-content: center;
	width: 26px; height: 26px; flex: 0 0 26px; border-radius: 7px; font-size: 11px;
	background: color-mix(in srgb, var(--rm-accent) 12%, transparent);
	color: var(--rm-accent);
}
li.rm-ico-bolt a::before    { content: "\f0e7" !important; }
li.rm-ico-star a::before    { content: "\f005" !important; }
li.rm-ico-gift a::before    { content: "\f06b" !important; }
li.rm-ico-trophy a::before  { content: "\f091" !important; }
li.rm-ico-fire a::before    { content: "\f06d" !important; }
li.rm-ico-crown a::before   { content: "\f521" !important; }
li.rm-ico-gem a::before     { content: "\f3a5" !important; }
li.rm-ico-ticket a::before  { content: "\f145" !important; }
li.rm-ico-clock a::before   { content: "\f017" !important; }
li.rm-ico-heart a::before   { content: "\f004" !important; }
li.rm-ico-car a::before     { content: "\f1b9" !important; }
li.rm-ico-cash a::before    { content: "\f51e" !important; }
.rm-mega__promo { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
.rm-mega__tiles li a { transition: background .15s, color .15s, transform .15s; }
.rm-mega__tiles li a:hover { transform: translateX(3px); }

/* ============================================================
   V6.97 system polish: feedback, finished states, typographic
   rhythm, micro-interactions
   ============================================================ */

/* --- Selection, focus and scroll: the invisible premium layer --- */
.rm-body ::selection { background: color-mix(in srgb, var(--rm-accent) 30%, transparent); color: var(--rm-fg); }
.rm-body a:focus-visible,
.rm-body button:focus-visible,
.rm-body input:focus-visible,
.rm-body select:focus-visible,
.rm-body [tabindex]:focus-visible {
	outline: 2px solid var(--rm-accent);
	outline-offset: 2px;
	border-radius: 4px;
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* --- Finished competitions read as finished --- */
.rm-card--finished .rm-card__media img { filter: grayscale(.55) brightness(.82); transition: filter .25s; }
.rm-card--finished:hover .rm-card__media img { filter: grayscale(.25) brightness(.92); }
.rm-card--finished .rm-card__ended-badge {
	background: color-mix(in srgb, #0b0f1e 62%, transparent);
	border: 1px solid rgba(255, 255, 255, .18);
	backdrop-filter: blur(6px);
	box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .6);
}
:root[data-rm-mode="light"] .rm-card--finished .rm-card__ended-badge {
	background: rgba(255, 255, 255, .82);
	color: var(--rm-fg);
	border-color: var(--rm-border);
}

/* --- Typographic rhythm: one scale for every section --- */
.rm-section-title { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.15; letter-spacing: -0.015em; }
.rm-eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 11.5px; font-weight: 800;
	text-transform: uppercase; letter-spacing: .14em;
	color: var(--rm-fg-muted);
}
.rm-eyebrow::before {
	content: ""; width: 16px; height: 2px; border-radius: 999px;
	background: linear-gradient(90deg, var(--rm-accent), color-mix(in srgb, var(--rm-accent) 30%, transparent));
}
.rm-heading-style-pill .rm-eyebrow::before,
.rm-heading-style-slash .rm-eyebrow::before { display: none; }

/* --- Buy box: tabs and controls join the button language --- */
.rm-buybox__tab.is-active {
	background-image: linear-gradient(145deg,
		color-mix(in srgb, var(--rm-accent) 85%, #ffffff),
		var(--rm-accent) 45%,
		color-mix(in srgb, var(--rm-accent) 85%, #000000));
	color: var(--rm-on-accent);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 6px 16px -8px color-mix(in srgb, var(--rm-accent) 55%, transparent);
}
.rm-buybox__preset {
	transition: border-color .14s, color .14s, transform .12s, background .14s;
}
.rm-buybox__preset:hover { transform: translateY(-1px); border-color: var(--rm-accent); color: var(--rm-accent); }
.rm-buybox input[type="number"] {
	-moz-appearance: textfield; appearance: textfield;
	font-variant-numeric: tabular-nums;
}
.rm-buybox input[type="number"]::-webkit-outer-spin-button,
.rm-buybox input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.rm-buybox input[type="range"]::-webkit-slider-thumb {
	box-shadow: 0 2px 8px -2px color-mix(in srgb, var(--rm-accent) 70%, transparent), inset 0 1px 0 rgba(255, 255, 255, .35);
	transition: transform .12s;
}
.rm-buybox input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }

/* --- Mobile menu: give the overlay list the same care --- */
@media (max-width: 900px) {
	.rm-site-header__nav .rm-site-header__menu > li { border-bottom: 1px solid color-mix(in srgb, var(--rm-border) 60%, transparent); }
	.rm-site-header__nav .rm-site-header__menu > li:last-child { border-bottom: 0; }
	.rm-site-header__nav .rm-site-header__menu > li > a { display: block; padding: 13px 2px; font-weight: 700; }
}

/* --- Reduced-motion safety net for every V6.9x animation --- */
@media (prefers-reduced-motion: reduce) {
	.rm-spotlight__halo,
	.rm-draw-banner__dot,
	.rm-card__gauge-bar::after,
	.rm-marquee__track,
	.rm-hover-scale .rm-card,
	.rm-buybox input[type="range"]:active::-webkit-slider-thumb { animation: none; transition: none; transform: none; }
	html { scroll-behavior: auto; }
}

/* Accent word in section titles: a hand-drawn underline swoosh that
   inherits any palette. */
.rm-section-title .rm-title-accent {
	color: var(--rm-accent);
	background-image: linear-gradient(90deg,
		color-mix(in srgb, var(--rm-accent) 55%, transparent),
		color-mix(in srgb, var(--rm-accent-2, var(--rm-accent)) 55%, transparent));
	background-repeat: no-repeat;
	background-size: 100% 3px;
	background-position: 0 96%;
	padding-bottom: 2px;
}
.rm-heading-style-pill .rm-section-title .rm-title-accent { background-image: none; padding-bottom: 0; }

/* ============================================================
   V6.98.1 ring countdown rebuilt + poster rail collision +
   light contrast on tinted surfaces
   ============================================================ */

/* --- Ring dials, take three: one element, two background layers.
   The conic ring sits underneath; a radial face covers the centre.
   Nothing is positioned, so nothing can drift: the ring IS the box. --- */
.rm-countdown-style-ring .countdown-timer .countdown-value,
.rm-countdown-style-ring .rm-card__timer-unit b[data-rm-countdown-d],
.rm-countdown-style-ring .rm-card__timer-unit b[data-rm-countdown-h],
.rm-countdown-style-ring .rm-card__timer-unit b[data-rm-countdown-m],
.rm-countdown-style-ring .rm-card__timer-unit b[data-rm-countdown-s] {
	position: static !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-sizing: border-box !important;
	padding: 0 !important;
	margin: 0 !important;
	line-height: 1 !important;
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.02em;
	border: 0 !important;
	border-radius: 50% !important;
	background:
		radial-gradient(closest-side, var(--rm-surface) calc(100% - 4.5px), transparent calc(100% - 4px)),
		conic-gradient(var(--rm-accent) calc(var(--rm-pct, 1) * 360deg), color-mix(in srgb, var(--rm-fg) 14%, transparent) 0) !important;
	box-shadow: inset 0 0 0 0 transparent;
}
.rm-countdown-style-ring .countdown-timer .countdown-value::before,
.rm-countdown-style-ring [data-rm-countdown-boxes] [data-rm-countdown-d]::before,
.rm-countdown-style-ring [data-rm-countdown-boxes] [data-rm-countdown-h]::before,
.rm-countdown-style-ring [data-rm-countdown-boxes] [data-rm-countdown-m]::before,
.rm-countdown-style-ring [data-rm-countdown-boxes] [data-rm-countdown-s]::before { display: none !important; content: none !important; }
/* Sizes per context: product dials large, card units compact. */
.rm-countdown-style-ring .countdown-timer .countdown-value {
	width: 64px !important; height: 64px !important;
	min-width: 64px !important; flex: 0 0 64px;
	font-size: var(--rm-text-md) !important; font-weight: 800 !important;
}
.rm-countdown-style-ring .countdown-timer { display: inline-flex !important; gap: 14px !important; flex-wrap: wrap; }
.rm-countdown-style-ring .rm-card__timer-unit b[data-rm-countdown-d],
.rm-countdown-style-ring .rm-card__timer-unit b[data-rm-countdown-h],
.rm-countdown-style-ring .rm-card__timer-unit b[data-rm-countdown-m],
.rm-countdown-style-ring .rm-card__timer-unit b[data-rm-countdown-s] {
	width: 42px !important; height: 42px !important; flex: 0 0 42px;
	font-size: 13px !important; font-weight: 800 !important;
}
.rm-countdown-style-ring .rm-card__timer-digits { gap: 12px !important; }
.rm-countdown-style-ring .rm-card__timer-unit { gap: 4px; }
:root[data-rm-mode="light"] .rm-countdown-style-ring .countdown-timer .countdown-value,
:root[data-rm-mode="light"] .rm-countdown-style-ring .rm-card__timer-unit b[data-rm-countdown-d],
:root[data-rm-mode="light"] .rm-countdown-style-ring .rm-card__timer-unit b[data-rm-countdown-h],
:root[data-rm-mode="light"] .rm-countdown-style-ring .rm-card__timer-unit b[data-rm-countdown-m],
:root[data-rm-mode="light"] .rm-countdown-style-ring .rm-card__timer-unit b[data-rm-countdown-s] {
	background:
		radial-gradient(closest-side, #ffffff calc(100% - 4.5px), transparent calc(100% - 4px)),
		conic-gradient(var(--rm-accent) calc(var(--rm-pct, 1) * 360deg), color-mix(in srgb, var(--rm-fg) 16%, transparent) 0) !important;
}
/* Urgency keeps working with the new technique. */
.rm-countdown-style-ring .rm-cd-urgent [data-rm-countdown-m],
.rm-countdown-style-ring .rm-cd-urgent [data-rm-countdown-s],
.rm-countdown-style-ring .rm-cd-urgent .countdown-minutes .countdown-value,
.rm-countdown-style-ring .rm-cd-urgent .countdown-seconds .countdown-value {
	background:
		radial-gradient(closest-side, var(--rm-surface) calc(100% - 4.5px), transparent calc(100% - 4px)),
		conic-gradient(var(--rm-danger) calc(var(--rm-pct, 1) * 360deg), color-mix(in srgb, var(--rm-fg) 14%, transparent) 0) !important;
}

/* --- Poster rail: the left side is the rail's, the right is the
   corner's. No shared territory, no collision (image 2). --- */
.rm-card-style-poster .rm-card:has(.rm-card__corner) .rm-card__rail {
	left: 10px; right: auto;
	max-width: calc(100% - 126px);
}
.rm-card-style-poster .rm-card:has(.rm-card__corner) .rm-card__rail-cat {
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* --- Light mode: quiet text must still be readable on tinted
   surfaces (image 3). --- */
:root[data-rm-mode="light"] .rm-card__gauge-left,
:root[data-rm-mode="light"] .rm-card__gauge-gone,
:root[data-rm-mode="light"] .rm-card__timer-closes,
:root[data-rm-mode="light"] .rm-card__timer-unit i {
	color: color-mix(in srgb, var(--rm-fg) 68%, transparent);
}
:root[data-rm-mode="light"] .rm-card__gauge-left b,
:root[data-rm-mode="light"] .rm-card__gauge-gone b { color: var(--rm-fg); }

/* ============================================================
   V6.98.2 instants are data-driven: on comps without instant
   prizes, every instants surface disappears, including plugin
   output the theme does not render itself.
   ============================================================ */
.rm-no-instants .standard_info_accordion,
.rm-no-instants .standard_info_accordion_header,
.rm-no-instants .my-instant-prizes,
.rm-no-instants #my-instant-prizes,
.rm-no-instants .rm-product-instants,
.rm-no-instants .global-instant-title { display: none !important; }

/* ============================================================
   V6.99 quality guardrails
   Presets may change the character, never the structural rhythm.
   ============================================================ */

/* A focused card should feel responsive without scaling into the next card. */
.rm-hover-scale .rm-card:hover {
	transform: translateY(-4px);
	position: relative;
	z-index: 2;
	border-color: color-mix(in srgb, var(--rm-accent) 58%, var(--rm-border));
	box-shadow: 0 18px 42px -22px color-mix(in srgb, var(--rm-accent) 56%, transparent);
}
.rm-hover-scale .rm-card-style-minimal .rm-card:hover { transform: translateY(-3px); }
@media (max-width: 900px) {
	.rm-hover-scale .rm-card:hover,
	.rm-hover-scale .rm-card-style-minimal .rm-card:hover { transform: translateY(-2px); }
}

/* Poster rails belong to the image and keep a clear, predictable reading edge. */
.rm-card-style-poster .rm-card__media > .rm-card__rail,
.rm-card-style-poster .rm-card:has(.rm-card__corner) .rm-card__rail {
	position: absolute;
	top: 10px;
	bottom: auto;
	left: 12px;
	right: auto;
	max-width: calc(100% - 24px);
	min-width: min(236px, calc(100% - 24px));
	z-index: 4;
	gap: 0;
}
.rm-card-style-poster .rm-card__rail-cat {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
@media (max-width: 560px) {
	.rm-card-style-poster .rm-card__media > .rm-card__rail,
	.rm-card-style-poster .rm-card:has(.rm-card__corner) .rm-card__rail {
		top: 9px;
		left: 9px;
		max-width: calc(100% - 18px);
		min-width: 0;
	}
}

/* Light clocks use crisp ink numerals and urgency stays readable, not washed out. */
:root[data-rm-mode="light"] .rm-countdown-style-flip .rm-cd-urgent [data-rm-countdown-m],
:root[data-rm-mode="light"] .rm-countdown-style-flip .rm-cd-urgent [data-rm-countdown-s],
:root[data-rm-mode="light"] .rm-countdown-style-flip .rm-cd-urgent .countdown-minutes .countdown-value,
:root[data-rm-mode="light"] .rm-countdown-style-flip .rm-cd-urgent .countdown-seconds .countdown-value {
	color: #b42318;
	border-color: color-mix(in srgb, #b42318 34%, var(--rm-border));
	animation: none;
}
:root[data-rm-mode="light"] .rm-cd-urgent [data-rm-countdown-m],
:root[data-rm-mode="light"] .rm-cd-urgent [data-rm-countdown-s],
:root[data-rm-mode="light"] .rm-cd-urgent .countdown-minutes .countdown-value,
:root[data-rm-mode="light"] .rm-cd-urgent .countdown-seconds .countdown-value {
	color: #b42318;
	animation: none;
}

/* Strong local rhythm stops headings, card grids and buying panels touching. */
.rm-section-header { gap: 8px; margin-bottom: 24px; }
.rm-section-header .rm-section-title { margin: 0; }
.rm-heading-style-pill .rm-section-title { margin-bottom: 5px; }
.rm-card-grid, .rm-rail { row-gap: 24px; }
.rm-buybox__tabs { margin-bottom: 16px; }
.rm-product-hero__copy { min-width: 0; }

/* Respect the requested full media overlay regardless of the active card skin. */
.rm-card__media::after { height: 100%; }

/* ============================================================
   V6.99.1 spending controls
   Account safety controls inherit the active RaffMaster system.
   ============================================================ */
body:not(.wp-admin) #spending-controls-parent-wrapper.scv2,
body:not(.wp-admin) .competition-spend-limit-container.scv2-break-modal {
	--scv2-accent: var(--rm-accent);
	--scv2-accent-deep: color-mix(in srgb, var(--rm-accent) 78%, var(--rm-fg));
	--scv2-accent-soft: color-mix(in srgb, var(--rm-accent) 10%, var(--rm-surface));
	--scv2-card: var(--rm-surface);
	--scv2-text: var(--rm-fg);
	--scv2-muted: var(--rm-fg-muted);
	--scv2-border: var(--rm-border);
	--scv2-amber-bg: color-mix(in srgb, var(--rm-warning) 13%, var(--rm-surface));
	--scv2-amber-text: color-mix(in srgb, #b45309 72%, var(--rm-fg));
	--scv2-blue-bg: color-mix(in srgb, #3b82f6 11%, var(--rm-surface));
	--scv2-blue-text: color-mix(in srgb, #1d4ed8 72%, var(--rm-fg));
	color: var(--rm-fg);
}
body:not(.wp-admin) #spending-controls-parent-wrapper.scv2 .scv2-card {
	padding: clamp(18px, 3vw, 26px);
	border-radius: var(--rm-radius-lg) !important;
	box-shadow: 0 16px 38px -32px rgba(15, 23, 42, .58);
}
body:not(.wp-admin) #spending-controls-parent-wrapper.scv2 .scv2-card-head { margin-bottom: 8px; }
body:not(.wp-admin) #spending-controls-parent-wrapper.scv2 .scv2-card-head-left svg,
body:not(.wp-admin) #spending-controls-parent-wrapper.scv2 .scv2-break-active svg { color: var(--rm-accent); }
body:not(.wp-admin) #spending-controls-parent-wrapper.scv2 .scv2-pill {
	background: color-mix(in srgb, var(--rm-fg) 5%, var(--rm-surface));
	color: var(--rm-fg-muted);
	border-color: var(--rm-border);
}
body:not(.wp-admin) #spending-controls-parent-wrapper.scv2 .scv2-pill-active {
	background: var(--scv2-accent-soft);
	color: var(--scv2-accent-deep);
	border-color: color-mix(in srgb, var(--rm-accent) 24%, var(--rm-border)) !important;
}
body:not(.wp-admin) #spending-controls-parent-wrapper.scv2 input#spending-limit-amount,
body:not(.wp-admin) #spending-controls-parent-wrapper.scv2 select#spending-limit-interval-select {
	min-height: 46px;
	border: 1px solid var(--rm-border) !important;
	border-radius: var(--rm-radius-sm) !important;
	background-color: var(--rm-bg) !important;
	color: var(--rm-fg) !important;
	box-shadow: inset 0 1px 0 color-mix(in srgb, #ffffff 10%, transparent);
	font: 700 15px/1 var(--rm-font-body);
	transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
body:not(.wp-admin) #spending-controls-parent-wrapper.scv2 input#spending-limit-amount { padding-left: 32px; }
body:not(.wp-admin) #spending-controls-parent-wrapper.scv2 select#spending-limit-interval-select {
	appearance: auto;
	min-width: 160px;
	padding-inline: 13px 34px;
	background-image: linear-gradient(45deg, transparent 50%, var(--rm-fg-muted) 50%), linear-gradient(135deg, var(--rm-fg-muted) 50%, transparent 50%);
	background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%;
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
}
body:not(.wp-admin) #spending-controls-parent-wrapper.scv2 .scv2-amount-wrap label { color: var(--rm-fg-muted); font-weight: 700; }
body:not(.wp-admin) #spending-controls-parent-wrapper.scv2 input#spending-limit-amount:focus,
body:not(.wp-admin) #spending-controls-parent-wrapper.scv2 select#spending-limit-interval-select:focus {
	outline: none;
	border-color: var(--rm-accent) !important;
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--rm-accent) 16%, transparent);
}
body:not(.wp-admin) #spending-controls-parent-wrapper.scv2 button.scv2-chip,
body:not(.wp-admin) #spending-controls-parent-wrapper.scv2 button.scv2-break-opt {
	border-radius: var(--rm-radius-sm) !important;
	border-color: var(--rm-border) !important;
	background: var(--rm-bg) !important;
	color: var(--rm-fg) !important;
	transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
body:not(.wp-admin) #spending-controls-parent-wrapper.scv2 button.scv2-chip:hover,
body:not(.wp-admin) #spending-controls-parent-wrapper.scv2 button.scv2-break-opt:hover {
	transform: translateY(-1px);
	border-color: color-mix(in srgb, var(--rm-accent) 55%, var(--rm-border)) !important;
	box-shadow: 0 9px 18px -15px color-mix(in srgb, var(--rm-accent) 55%, transparent);
}
body:not(.wp-admin) #spending-controls-parent-wrapper.scv2 button.scv2-chip.scv2-selected,
body:not(.wp-admin) #spending-controls-parent-wrapper.scv2 button.scv2-break-opt.scv2-selected {
	border-color: var(--rm-accent) !important;
	background: var(--scv2-accent-soft) !important;
	box-shadow: inset 0 0 0 1px var(--rm-accent);
}
body:not(.wp-admin) #spending-controls-parent-wrapper.scv2 button.spending-control-button,
body:not(.wp-admin) .scv2-break-modal a.scv2-break-modal-cta {
	background: linear-gradient(135deg, var(--rm-accent), color-mix(in srgb, var(--rm-accent) 78%, var(--rm-accent-2))) !important;
	color: var(--rm-on-accent) !important;
	border: 0 !important;
	border-radius: var(--rm-radius-button, 999px) !important;
	min-height: 46px;
	padding: 12px 20px !important;
	font-weight: 800 !important;
	box-shadow: 0 12px 24px -17px color-mix(in srgb, var(--rm-accent) 80%, transparent);
}
body:not(.wp-admin) .competition-spend-limit-container.scv2-break-modal {
	padding: clamp(28px, 5vw, 40px);
	border: 1px solid color-mix(in srgb, var(--rm-accent) 20%, var(--rm-border)) !important;
	border-radius: var(--rm-radius-lg) !important;
	background:
		radial-gradient(260px 170px at 50% 0%, color-mix(in srgb, var(--rm-accent) 13%, transparent), transparent 72%),
		var(--rm-surface) !important;
	color: var(--rm-fg) !important;
	box-shadow: 0 28px 80px -32px rgba(0, 0, 0, .72);
}
body:not(.wp-admin) .competition-spend-limit-container.scv2-break-modal h3 { color: var(--rm-fg) !important; font-family: var(--rm-font-display); font-size: 21px; letter-spacing: -.025em; }
body:not(.wp-admin) .scv2-break-modal .scv2-break-modal-icon {
	width: 58px;
	height: 58px;
	background: var(--scv2-accent-soft);
	border: 1px solid color-mix(in srgb, var(--rm-accent) 25%, var(--rm-border));
	box-shadow: 0 12px 24px -18px color-mix(in srgb, var(--rm-accent) 70%, transparent);
}
body:not(.wp-admin) .scv2-break-modal .scv2-break-modal-icon svg { color: var(--rm-accent); }
body:not(.wp-admin) .scv2-break-modal .scv2-break-modal-sub { color: var(--rm-fg-muted) !important; }
body:not(.wp-admin) .scv2-break-modal .scv2-break-modal-date { color: var(--rm-fg) !important; font-weight: 800; }
body:not(.wp-admin) .competition-maximum-spend-limit { background: color-mix(in srgb, #05070b 76%, transparent); backdrop-filter: blur(7px); }

/* Alternate widget treatments configured in Design -> Visual system. */
.rm-account-controls-soft #spending-controls-parent-wrapper.scv2 .scv2-card { background: color-mix(in srgb, var(--rm-accent) 5%, var(--rm-surface)) !important; }
.rm-account-controls-outline #spending-controls-parent-wrapper.scv2 .scv2-card { background: transparent !important; box-shadow: none; }
@media (max-width: 560px) {
	body:not(.wp-admin) #spending-controls-parent-wrapper.scv2 .scv2-card { padding: 18px; }
	body:not(.wp-admin) #spending-controls-parent-wrapper.scv2 select#spending-limit-interval-select { width: 100%; }
	body:not(.wp-admin) .competition-spend-limit-container.scv2-break-modal { width: calc(100% - 24px); padding: 28px 22px; }
}

/* ============================================================
   V6.99.2 card precision
   Game colour is a local cue, not a blurred section backdrop.
   ============================================================ */
.rm-card:has(.rm-card__corner--game) {
	isolation: isolate;
	box-shadow: 0 14px 30px -28px color-mix(in srgb, var(--rm-game-glow, var(--rm-accent)) 62%, transparent);
}
.rm-card:has(.rm-card__corner[data-game="bubble_pop"]) { --rm-game-glow: #2563eb; }
.rm-card:has(.rm-card__corner[data-game="honey_shapes"]) { --rm-game-glow: #f59e0b; }
.rm-card:has(.rm-card__corner[data-game="scratch_cards"]) { --rm-game-glow: #64748b; }
.rm-card:has(.rm-card__corner[data-game="coin_drop"]) { --rm-game-glow: #eab308; }
.rm-card:has(.rm-card__corner[data-game="dart_board"]) { --rm-game-glow: #dc2626; }
.rm-card:has(.rm-card__corner[data-game="mystery_box"]) { --rm-game-glow: #7c3aed; }
.rm-card:has(.rm-card__corner[data-game="pack_rip"]) { --rm-game-glow: #06b6d4; }
.rm-card:has(.rm-card__corner[data-game="snap"]) { --rm-game-glow: #f43f5e; }
.rm-card:has(.rm-card__corner[data-game="fruit_slice"]) { --rm-game-glow: #84cc16; }
.rm-card:has(.rm-card__corner[data-game="slot_machine"]) { --rm-game-glow: #ef4444; }
.rm-card:has(.rm-card__corner[data-game="gem_mine"]) { --rm-game-glow: #10b981; }
.rm-card:has(.rm-card__corner--game)::after {
	inset: auto 14% -8px;
	height: 14px;
	z-index: -1;
	border-radius: 999px;
	filter: blur(13px);
	opacity: .14;
	animation: none;
}
.rm-card:has(.rm-card__corner--game):hover::after { opacity: .27; }
.rm-games-band__item::before {
	inset: auto 16% -8px;
	height: 14px;
	border-radius: 999px;
	filter: blur(14px);
	opacity: .12;
}
.rm-games-band__item:hover::before { opacity: .22; }

/* One shared edge and baseline for price, quantity and primary actions. */
.rm-card__body { gap: 10px; }
.rm-card__pricebar {
	box-sizing: border-box;
	min-height: 44px;
	margin: 0;
	padding: 8px 12px;
	align-items: center;
	gap: 8px;
	border-radius: var(--rm-radius-sm);
	background: color-mix(in srgb, var(--rm-accent) 9%, var(--rm-bg));
}
.rm-card--price-highlight .rm-card__pricebar { margin-top: 0; }
.rm-card__price-prefix,
.rm-card__price-per { line-height: 1.1; }
.rm-card__price-now { line-height: 1; white-space: nowrap; }
.rm-card__price-was { line-height: 1.1; white-space: nowrap; }
.rm-card__qa { box-sizing: border-box; min-height: 48px; gap: 10px; padding: 0 16px 10px; background: transparent; }
.rm-card__quickbuy { box-sizing: border-box; min-height: 48px; padding: 0 16px 16px; background: transparent; }
.rm-card__qa-step,
.rm-card__qa-add,
.rm-card__quickbuy .rm-card__cta-bottom { min-height: 46px; }
.rm-card__qa-add {
	box-shadow: 0 8px 16px -13px color-mix(in srgb, var(--rm-accent) 90%, transparent);
	transition: transform .14s ease, box-shadow .14s ease, filter .15s;
}
.rm-card__qa-add:active { transform: translateY(1px); box-shadow: 0 3px 8px -6px color-mix(in srgb, var(--rm-accent) 76%, transparent); }
@media (max-width: 720px) {
	.rm-mgrid-2 .rm-card__pricebar { min-height: 38px; padding: 7px 9px; gap: 5px; }
	.rm-mgrid-2 .rm-card__price-now { font-size: 19px; }
	.rm-mgrid-2 .rm-card__price-prefix,
	.rm-mgrid-2 .rm-card__price-per { font-size: 9px; letter-spacing: .04em; }
	.rm-mgrid-2 .rm-card__price-was { font-size: 11px; }
}

/* Price is the decision point, so it gets its own calm panel and room. */
.rm-card:not(.rm-card--minimal) .rm-card__body { padding: 18px; gap: 14px; }
.rm-card-style-ticket .rm-card__body { padding: 20px 18px 18px; }
.rm-card__body .rm-card__gauge + .rm-card__pricebar { margin-top: 2px; }
.rm-card__pricebar {
	display: grid;
	grid-template-columns: max-content max-content minmax(0, 1fr) max-content;
	min-height: 54px;
	padding: 12px 14px;
	column-gap: 8px;
	border: 1px solid color-mix(in srgb, var(--rm-accent) 12%, var(--rm-border));
	background: color-mix(in srgb, var(--rm-accent) 8%, var(--rm-bg));
}
.rm-card__price-prefix { align-self: center; }
.rm-card__price-now { align-self: center; font-size: 25px; }
.rm-card__price-was { align-self: center; }
.rm-card__price-per { align-self: center; justify-self: end; text-align: right; }
.rm-card__qa { padding: 0 18px 12px; }
.rm-card__quickbuy { padding: 0 18px 18px; }
@media (max-width: 720px) {
	.rm-mgrid-2 .rm-card:not(.rm-card--minimal) .rm-card__body { padding: 12px; gap: 8px; }
	.rm-mgrid-2 .rm-card__pricebar { min-height: 42px; padding: 8px 10px; }
	.rm-mgrid-2 .rm-card__qa { padding: 0 12px 10px; }
	.rm-mgrid-2 .rm-card__quickbuy { padding: 0 12px 12px; }
}

/* A winner rail is only a marquee once it genuinely needs to move. */
.rm-winfeed__rail-wrap {
	overflow: hidden;
	padding-block: 3px;
	-webkit-mask-image: none;
	mask-image: none;
}
.rm-winfeed__rail { width: max-content; padding: 0 24px; animation: none; }
.rm-winfeed__rail-wrap.is-scrollable {
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.rm-winfeed__rail-wrap.is-scrollable .rm-winfeed__rail { animation: rm-winfeed-scroll 60s linear infinite; }
@media (max-width: 560px) {
	.rm-winfeed__rail-wrap.is-scrollable { overflow-x: auto; }
	.rm-winfeed__rail-wrap.is-scrollable .rm-winfeed__rail { animation: none; }
}

/* The break-modal CTA shares the exact content edge with its message. */
body:not(.wp-admin) .competition-spend-limit-container.scv2-break-modal {
	display: flex !important;
	flex-direction: column;
	align-items: stretch;
	box-sizing: border-box;
}
body:not(.wp-admin) .scv2-break-modal .scv2-break-modal-icon { align-self: center; }
body:not(.wp-admin) .scv2-break-modal h3,
body:not(.wp-admin) .scv2-break-modal .scv2-break-modal-sub,
body:not(.wp-admin) .scv2-break-modal .scv2-break-modal-date { max-width: 100%; }
body:not(.wp-admin) .scv2-break-modal a.scv2-break-modal-cta {
	display: flex !important;
	width: 100% !important;
	box-sizing: border-box;
	align-items: center;
	justify-content: center;
	align-self: stretch;
	margin: 22px 0 0 !important;
}

/* ============================================================
   V7.0 header and footer signatures
   Distinct structures, with semantic navigation iconography.
   ============================================================ */
li.rm-ico-house a::before   { content: "\f015" !important; }
li.rm-ico-check a::before   { content: "\f00c" !important; }
li.rm-ico-wallet a::before  { content: "\f555" !important; }
li.rm-ico-user a::before    { content: "\f2bd" !important; }
li.rm-ico-message a::before { content: "\f075" !important; }
li.rm-ico-info a::before    { content: "\f05a" !important; }

/* The same icon logic can read as badges, discs, or bare glyphs. */
.rm-menu-icons-discs .rm-mega__tiles li a::before,
.rm-menu-icons-discs .rm-menu-style-dropdown .sub-menu li[class*="rm-ico-"] a::before { border-radius: 50%; }
.rm-menu-icons-minimal .rm-mega__tiles li a::before,
.rm-menu-icons-minimal .rm-menu-style-dropdown .sub-menu li[class*="rm-ico-"] a::before {
	width: 20px; height: 20px; flex-basis: 20px;
	background: transparent; border: 0; border-radius: 0;
	font-size: 13px;
}
.rm-menu-icons-minimal .rm-mega__tiles li a,
.rm-menu-icons-minimal .rm-menu-style-dropdown .sub-menu li a { gap: 8px; }

/* Pill navigation keeps brand and conversion actions distinct from browsing. */
@media (min-width: 1025px) {
	.rm-header-style-split { border-bottom: 1px solid var(--rm-border); }
	.rm-header-style-split .rm-site-header__inner { min-height: 78px; gap: clamp(16px, 3vw, 42px); }
	.rm-header-style-split .rm-site-header__brand { padding-right: clamp(16px, 2.5vw, 34px); border-right: 1px solid var(--rm-border); }
	.rm-header-style-split .rm-site-header__nav { margin-inline: auto; }
	.rm-header-style-split .rm-site-header__menu {
		gap: 2px; padding: 4px;
		background: color-mix(in srgb, var(--rm-fg) 5%, var(--rm-surface));
		border: 1px solid var(--rm-border); border-radius: 999px;
	}
	.rm-header-style-split .rm-site-header__menu > li > a { padding: 9px 13px; border-radius: 999px; }
	.rm-header-style-split .rm-site-header__menu > li > a:hover,
	.rm-header-style-split .rm-site-header__menu > li.current-menu-item > a { background: var(--rm-accent); color: var(--rm-on-accent); }
	.rm-header-style-split .rm-site-header__actions { padding-left: clamp(12px, 2vw, 24px); border-left: 1px solid var(--rm-border); }

	/* Studio frame is an editorial baseline with a more deliberate logo moment. */
	.rm-header-style-studio { border-bottom: 1px solid var(--rm-border); background: var(--rm-surface); }
	.rm-header-style-studio .rm-site-header__inner { min-height: 86px; }
	.rm-header-style-studio .rm-site-header__brand { padding-right: clamp(18px, 3vw, 42px); }
	.rm-header-style-studio .rm-site-header__menu { gap: clamp(12px, 2vw, 26px); }
	.rm-header-style-studio .rm-site-header__menu > li > a { padding: 13px 0 11px; letter-spacing: .055em; text-transform: uppercase; font-size: var(--rm-text-xs); position: relative; }
	.rm-header-style-studio .rm-site-header__menu > li > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; transform: scaleX(0); transform-origin: left; background: var(--rm-accent); transition: transform .18s ease; }
	.rm-header-style-studio .rm-site-header__menu > li:hover > a::after,
	.rm-header-style-studio .rm-site-header__menu > li.current-menu-item > a::after { transform: scaleX(1); }
}

/* Cinematic stage gives high-energy brands a dramatic close without noise. */
.rm-footer-style-cinema {
	position: relative; overflow: hidden;
	background:
		radial-gradient(68% 90% at 4% 0%, color-mix(in srgb, var(--rm-accent) 28%, transparent), transparent 68%),
		radial-gradient(46% 76% at 100% 100%, color-mix(in srgb, var(--rm-accent-2) 19%, transparent), transparent 72%),
		var(--rm-bg);
}
.rm-footer-style-cinema::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--rm-fg) 5%, transparent) 50%, transparent); opacity: .55; }
.rm-footer-style-cinema .rm-site-footer__inner { position: relative; }
.rm-footer-style-cinema .rm-footer-main { grid-template-columns: minmax(250px, 1fr) minmax(0, 1.55fr); gap: clamp(42px, 9vw, 144px); padding-block: clamp(58px, 8vw, 104px) clamp(36px, 5vw, 62px); }
.rm-footer-style-cinema .rm-footer-brand__name { font-size: clamp(30px, 4vw, 54px); letter-spacing: -.055em; }
.rm-footer-style-cinema .rm-footer-widget__title { color: var(--rm-accent); letter-spacing: .11em; text-transform: uppercase; font-size: 11px; }
.rm-footer-style-cinema .rm-footer-bottom { border-top: 1px solid color-mix(in srgb, var(--rm-accent) 22%, var(--rm-border)); }

/* Studio index is an airy, rule-led layout for calmer premium brands. */
.rm-footer-style-studio { border-top: 3px solid var(--rm-accent); background: var(--rm-surface); }
.rm-footer-style-studio .rm-footer-main { grid-template-columns: minmax(230px, .72fr) minmax(0, 1.65fr); gap: clamp(34px, 7vw, 112px); padding-block: clamp(48px, 7vw, 82px) 32px; }
.rm-footer-style-studio .rm-footer-brand { align-self: start; }
.rm-footer-style-studio .rm-footer-links { gap: 30px 48px; }
.rm-footer-style-studio .rm-footer-links__col { border-top: 1px solid var(--rm-border); padding-top: 14px; }
.rm-footer-style-studio .rm-footer-widget__title { color: var(--rm-fg); letter-spacing: .08em; text-transform: uppercase; font-size: 11px; }
.rm-footer-style-studio .rm-footer-bottom { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--rm-border); }
@media (max-width: 900px) {
	.rm-footer-style-cinema .rm-footer-main,
	.rm-footer-style-studio .rm-footer-main { grid-template-columns: 1fr; gap: 34px; }
}
:root[data-rm-mode="light"] .rm-footer-style-cinema { background: linear-gradient(160deg, color-mix(in srgb, var(--rm-accent) 7%, var(--rm-surface)), var(--rm-surface)); }

/* ============================================================
   V7.0.1 visual system pass
   The page breathes in consistent units and every reusable surface
   inherits the same edge, focus, and small-screen discipline.
   ============================================================ */

/* Only real content sections get this rhythm. Hero and utility bars retain
   their intentional compact treatment. */
.rm-page--home > :is(.rm-ending-soon, .rm-live-grid, .rm-recent, .rm-categories,
.rm-winners-strip, .rm-howitworks, .rm-stats, .rm-newsletter, .rm-prize-specs,
.rm-related, .rm-faq, .rm-trust, .rm-cta-banner, .rm-featured, .rm-ending-rail,
.rm-games-band, .rm-custom, .rm-tabs, .rm-winners-wall, .rm-spotlight) {
	margin-top: clamp(48px, 6vw, 88px);
}
.rm-page--home > :is(.rm-hero, .rm-hero-slider, .rm-hero-split):first-child + * { margin-top: clamp(42px, 5vw, 72px); }
.rm-shell { padding-block: clamp(42px, 5.5vw, 80px); }
.rm-shell > :is(.rm-ending-soon, .rm-live-grid, .rm-recent, .rm-categories,
.rm-winners-strip, .rm-howitworks, .rm-stats, .rm-newsletter, .rm-prize-specs,
.rm-related, .rm-faq, .rm-trust, .rm-cta-banner, .rm-featured, .rm-ending-rail,
.rm-games-band, .rm-custom, .rm-tabs, .rm-winners-wall, .rm-spotlight) { margin-top: 0; }

/* A title, its kicker, and its content are one deliberate composition. */
.rm-section-header {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 7px;
	margin: 0 0 clamp(20px, 2.7vw, 32px);
}
.rm-section-header > :is(.rm-eyebrow, .rm-section-title) { margin: 0; }
.rm-section-header .rm-eyebrow { line-height: 1.2; }
.rm-section-title { line-height: 1.08; text-wrap: balance; }
.rm-section-title::after { margin-top: 9px; }
.rm-section-header:has(.rm-heading-style-pill) { gap: 8px; }

/* Repeated cards cannot force a grid wider than the page. */
.rm-grid,
.rm-categories__grid,
.rm-howitworks__grid,
.rm-stats__grid,
.rm-prize-specs__grid,
.rm-winners-wall__grid,
.rm-footer-main,
.rm-footer-links { min-width: 0; }
.rm-card,
.rm-card__body,
.rm-card__content,
.rm-card__title,
.rm-winner-card__body,
.rm-category-tile,
.rm-howitworks__step,
.rm-newsletter > * { min-width: 0; }
.rm-card__title,
.rm-card__title a,
.rm-winner-card__prize,
.rm-winner-card__name { overflow-wrap: anywhere; }

/* Every input uses the same quiet surface until it receives focus. */
body:not(.wp-admin) :is(.rm-newsletter, .rm-account__content, .woocommerce, .rm-tabs) :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
	border: 1px solid var(--rm-border);
	border-radius: var(--rm-radius-sm);
	background: var(--rm-bg);
	color: var(--rm-fg);
	box-shadow: none;
	transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
body:not(.wp-admin) :is(.rm-newsletter, .rm-account__content, .woocommerce, .rm-tabs) :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea):focus {
	outline: 0;
	border-color: var(--rm-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--rm-accent) 16%, transparent);
}
.rm-newsletter {
	border: 1px solid var(--rm-border);
	box-shadow: 0 18px 38px -36px rgba(15, 23, 42, .55);
}
.rm-newsletter__form { align-items: stretch; }
.rm-newsletter__form input[type=email] { min-height: 46px; }
.rm-newsletter__form :is(button, .button, input[type=submit]) { min-height: 46px; white-space: nowrap; }

/* Keep information dense but never visually cramped. */
.rm-card__rail { line-height: 1.2; }
.rm-card__gauge { margin-block: 1px 0; }
.rm-card__qa-step,
.rm-card__qa-add,
.rm-card__quickbuy .rm-card__cta-bottom { border-radius: var(--rm-radius-button, 999px); }
.rm-card__progress-labels,
.rm-card__pricebar { font-variant-numeric: tabular-nums; }
.rm-winner-card,
.rm-category-tile,
.rm-howitworks__step,
.rm-prize-specs__item,
.rm-faq__item { border-color: var(--rm-border); }

/* Focus is visible everywhere, including card links and rail controls. */
body:not(.wp-admin) a:focus-visible,
body:not(.wp-admin) button:focus-visible,
body:not(.wp-admin) input:focus-visible,
body:not(.wp-admin) select:focus-visible,
body:not(.wp-admin) textarea:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--rm-accent) 48%, transparent);
	outline-offset: 3px;
}

/* Light themes use elevation sparingly. The boundary does the work. */
:root[data-rm-mode="light"] :is(.rm-card, .rm-winner-card, .rm-category-tile, .rm-howitworks__step, .rm-newsletter, .rm-faq__item) {
	box-shadow: 0 12px 28px -28px rgba(15, 23, 42, .38);
}
:root[data-rm-mode="light"] .rm-card:hover { box-shadow: 0 18px 34px -27px rgba(15, 23, 42, .42); }

@media (max-width: 720px) {
	.rm-page--home > :is(.rm-ending-soon, .rm-live-grid, .rm-recent, .rm-categories,
	.rm-winners-strip, .rm-howitworks, .rm-stats, .rm-newsletter, .rm-prize-specs,
	.rm-related, .rm-faq, .rm-trust, .rm-cta-banner, .rm-featured, .rm-ending-rail,
	.rm-games-band, .rm-custom, .rm-tabs, .rm-winners-wall, .rm-spotlight) { margin-top: 48px; }
	.rm-shell { padding-block: 42px; }
	.rm-section-header { margin-bottom: 20px; }
	.rm-newsletter { padding: 26px 20px; gap: 20px; }
	.rm-newsletter__form { flex-wrap: wrap; }
	.rm-newsletter__form input[type=email],
	.rm-newsletter__form :is(button, .button, input[type=submit]) { flex: 1 1 100%; width: 100%; }
}
@media (max-width: 480px) {
	.rm-section-title { font-size: clamp(25px, 8vw, 34px); }
	.rm-card__pricebar { grid-template-columns: max-content minmax(0, 1fr); row-gap: 3px; }
	.rm-card__price-per { grid-column: 2; grid-row: 1 / span 2; }
	.rm-card__price-was { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* V7.1 widget language. A preset can now tune its reusable components as a
   family instead of leaving winners, timers and trust widgets as leftovers. */
.rm-widget-surfaces-soft :is(.rm-countdown, .rm-winner-card, .rm-prize-specs__item, .rm-howitworks__step, .rm-trust__item) {
	background: color-mix(in srgb, var(--rm-accent) 6%, var(--rm-surface));
	border-color: color-mix(in srgb, var(--rm-accent) 18%, var(--rm-border));
}
.rm-widget-surfaces-outline :is(.rm-countdown, .rm-winner-card, .rm-prize-specs__item, .rm-howitworks__step, .rm-trust__item) {
	background: transparent;
	box-shadow: none;
}
.rm-widget-density-compact :is(.rm-winner-card, .rm-prize-specs__item, .rm-howitworks__step) { padding: 12px; }
.rm-widget-density-compact .rm-countdown__cell { min-width: 42px; padding: 5px 6px; }
.rm-widget-density-generous :is(.rm-winner-card, .rm-prize-specs__item, .rm-howitworks__step) { padding: clamp(18px, 2.3vw, 26px); }
.rm-widget-density-generous .rm-countdown { gap: 9px; }
.rm-widget-density-generous .rm-countdown__cell { min-width: 54px; padding: 8px 10px; }

/* Metadata can be a confident rail, friendly chips, or almost disappear. */
.rm-card-meta-chips .rm-card__rail {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 7px;
	margin: -2px 0 2px;
	padding: 0;
	background: transparent;
}
.rm-card-meta-chips .rm-card__rail :is(.rm-card__rail-cat, .rm-card__rail-draw) {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	padding: 0 8px;
	border: 1px solid color-mix(in srgb, var(--rm-accent) 18%, var(--rm-border));
	border-radius: 999px;
	background: color-mix(in srgb, var(--rm-accent) 7%, var(--rm-bg));
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .035em;
}
.rm-card-meta-chips .rm-card__rail-dot { margin-right: 4px; }
.rm-card-meta-quiet .rm-card__rail { min-height: auto; padding: 0; background: transparent; border: 0; }
.rm-card-meta-quiet .rm-card__rail-draw { font-size: 10px; color: var(--rm-fg-muted); }
.rm-card-meta-quiet .rm-card__rail-dot { width: 5px; height: 5px; box-shadow: none; }
@media (max-width: 560px) {
	.rm-card-meta-chips .rm-card__rail { align-items: flex-start; flex-wrap: wrap; }
	.rm-widget-density-generous .rm-countdown__cell { min-width: 46px; padding: 6px; }
}

/* V7.3 home character layer. These are deliberately quiet Font Awesome
   symbols, not decorative content or a particle effect. They add personality
   in the negative space while every real section stays above the layer. */
.rm-home-motif-none .rm-page--home::before,
.rm-home-motif-none .rm-page--home::after { content: none; }
.rm-home-motif-garage .rm-page--home::before { content: "\f1b9\00a0\f013\00a0\f0e7"; }
.rm-home-motif-garage .rm-page--home::after { content: "\f135\00a0\f1b9\00a0\f013"; }
.rm-home-motif-lucky .rm-page--home::before { content: "\f145\00a0\f522\00a0\f005"; }
.rm-home-motif-lucky .rm-page--home::after { content: "\f005\00a0\f145\00a0\f522"; }
.rm-home-motif-trophy .rm-page--home::before { content: "\f091\00a0\f521\00a0\f005"; }
.rm-home-motif-trophy .rm-page--home::after { content: "\f521\00a0\f091\00a0\f005"; }
.rm-home-motif-luxury .rm-page--home::before { content: "\f3a5\00a0\f521\00a0\f005"; }
.rm-home-motif-luxury .rm-page--home::after { content: "\f004\00a0\f3a5\00a0\f521"; }
.rm-home-motif-playful .rm-page--home::before { content: "\f11b\00a0\f06b\00a0\f118"; }
.rm-home-motif-playful .rm-page--home::after { content: "\f005\00a0\f11b\00a0\f06b"; }
.rm-home-motif-sunshine .rm-page--home::before { content: "\f185\00a0\f5ca\00a0\f005"; }
.rm-home-motif-sunshine .rm-page--home::after { content: "\f185\00a0\f004\00a0\f5ca"; }
.rm-home-motif-garage .rm-page--home,
.rm-home-motif-lucky .rm-page--home,
.rm-home-motif-trophy .rm-page--home,
.rm-home-motif-luxury .rm-page--home,
.rm-home-motif-playful .rm-page--home,
.rm-home-motif-sunshine .rm-page--home { position: relative; isolation: isolate; overflow: clip; }
.rm-home-motif-garage .rm-page--home > *,
.rm-home-motif-lucky .rm-page--home > *,
.rm-home-motif-trophy .rm-page--home > *,
.rm-home-motif-luxury .rm-page--home > *,
.rm-home-motif-playful .rm-page--home > *,
.rm-home-motif-sunshine .rm-page--home > * { position: relative; z-index: 1; }
.rm-home-motif-garage .rm-page--home::before,
.rm-home-motif-lucky .rm-page--home::before,
.rm-home-motif-trophy .rm-page--home::before,
.rm-home-motif-luxury .rm-page--home::before,
.rm-home-motif-playful .rm-page--home::before,
.rm-home-motif-sunshine .rm-page--home::before,
.rm-home-motif-garage .rm-page--home::after,
.rm-home-motif-lucky .rm-page--home::after,
.rm-home-motif-trophy .rm-page--home::after,
.rm-home-motif-luxury .rm-page--home::after,
.rm-home-motif-playful .rm-page--home::after,
.rm-home-motif-sunshine .rm-page--home::after {
	position: absolute;
	z-index: 0;
	pointer-events: none;
	font-family: "Font Awesome 6 Free";
	font-size: clamp(92px, 12vw, 220px);
	font-weight: 900;
	line-height: 1;
	letter-spacing: .14em;
	white-space: nowrap;
	color: color-mix(in srgb, var(--rm-accent) 58%, transparent);
	opacity: .12;
	filter: saturate(.9);
}
.rm-home-motif-garage .rm-page--home::before,
.rm-home-motif-lucky .rm-page--home::before,
.rm-home-motif-trophy .rm-page--home::before,
.rm-home-motif-luxury .rm-page--home::before,
.rm-home-motif-playful .rm-page--home::before,
.rm-home-motif-sunshine .rm-page--home::before { top: 7%; left: -13%; transform: rotate(-11deg); }
.rm-home-motif-garage .rm-page--home::after,
.rm-home-motif-lucky .rm-page--home::after,
.rm-home-motif-trophy .rm-page--home::after,
.rm-home-motif-luxury .rm-page--home::after,
.rm-home-motif-playful .rm-page--home::after,
.rm-home-motif-sunshine .rm-page--home::after { right: -18%; bottom: 10%; transform: rotate(12deg); color: color-mix(in srgb, var(--rm-accent-2) 56%, transparent); opacity: .09; }
:root[data-rm-mode="light"] :is(.rm-home-motif-garage,.rm-home-motif-lucky,.rm-home-motif-trophy,.rm-home-motif-luxury,.rm-home-motif-playful,.rm-home-motif-sunshine) .rm-page--home::before { opacity: .10; }
:root[data-rm-mode="light"] :is(.rm-home-motif-garage,.rm-home-motif-lucky,.rm-home-motif-trophy,.rm-home-motif-luxury,.rm-home-motif-playful,.rm-home-motif-sunshine) .rm-page--home::after { opacity: .075; }
.rm-home-motif-motion-drift .rm-page--home::before { animation: rm-home-motif-drift-a 26s ease-in-out infinite alternate; }
.rm-home-motif-motion-drift .rm-page--home::after { animation: rm-home-motif-drift-b 31s ease-in-out infinite alternate; }
.rm-home-motif-motion-float .rm-page--home::before { animation: rm-home-motif-float-a 10s ease-in-out infinite; }
.rm-home-motif-motion-float .rm-page--home::after { animation: rm-home-motif-float-b 13s ease-in-out infinite; }
@keyframes rm-home-motif-drift-a { to { transform: translate3d(11vw, 26vh, 0) rotate(-3deg); } }
@keyframes rm-home-motif-drift-b { to { transform: translate3d(-12vw, -18vh, 0) rotate(4deg); } }
@keyframes rm-home-motif-float-a { 50% { transform: translate3d(4vw, 20px, 0) rotate(-7deg); } }
@keyframes rm-home-motif-float-b { 50% { transform: translate3d(-4vw, -24px, 0) rotate(6deg); } }
@media (max-width: 720px) {
	.rm-home-motif-garage .rm-page--home::before,
	.rm-home-motif-lucky .rm-page--home::before,
	.rm-home-motif-trophy .rm-page--home::before,
	.rm-home-motif-luxury .rm-page--home::before,
	.rm-home-motif-playful .rm-page--home::before,
	.rm-home-motif-sunshine .rm-page--home::before { top: 5%; left: -42%; font-size: 112px; }
	.rm-home-motif-garage .rm-page--home::after,
	.rm-home-motif-lucky .rm-page--home::after,
	.rm-home-motif-trophy .rm-page--home::after,
	.rm-home-motif-luxury .rm-page--home::after,
	.rm-home-motif-playful .rm-page--home::after,
	.rm-home-motif-sunshine .rm-page--home::after { right: -56%; bottom: 7%; font-size: 112px; }
}

/* ============================================================
   V7.3.3 Instant prize accordion
   The plugin's prize rows are now treated as one clear, compact
   interactive item: artwork, left-aligned information, then control.
   This is deliberately scoped to the product shortcode instance.
   ============================================================ */
.rm-product-ticket-accordion .ticket-accordion {
	width: 100%;
	color: var(--rm-fg);
}
.rm-product-ticket-accordion .standard_info_accordion_header {
	display: flex !important;
	align-items: center;
	justify-content: flex-start !important;
	min-height: 0;
	margin: 0 0 10px !important;
	padding: 5px 4px 10px !important;
	background: transparent !important;
	border: 0 !important;
	border-bottom: 1px solid var(--rm-border) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: var(--rm-fg) !important;
	font-size: var(--rm-text-base) !important;
	font-weight: 800 !important;
	line-height: 1.25;
	text-align: left !important;
}
.rm-product-ticket-accordion .standard_info_accordion_header::after {
	display: none !important;
}

/* The prize card is a row, never two disconnected halves. */
.rm-product-ticket-accordion .ticket-container {
	position: relative;
	display: grid !important;
	grid-template-columns: 64px minmax(0, 1fr) auto !important;
	grid-template-areas: "art details control";
	align-items: center !important;
	column-gap: 16px;
	min-height: 96px;
	margin: 10px 0 !important;
	padding: 15px 18px !important;
	background: color-mix(in srgb, var(--rm-surface) 94%, var(--rm-bg)) !important;
	border: 1px solid var(--rm-border) !important;
	border-radius: var(--rm-radius-md, 12px) !important;
	box-shadow: 0 8px 24px -24px rgba(0, 0, 0, .7);
	text-align: left !important;
	transition: border-color .16s ease, background .16s ease, transform .16s ease;
}
.rm-product-ticket-accordion .ticket-container:hover {
	border-color: color-mix(in srgb, var(--rm-accent) 52%, var(--rm-border)) !important;
	background: color-mix(in srgb, var(--rm-accent) 5%, var(--rm-surface)) !important;
	transform: translateY(-1px);
}
.rm-product-ticket-accordion .ticket-container > img {
	grid-area: art;
	width: 64px !important;
	height: 64px !important;
	margin: 0 !important;
	object-fit: cover;
	border: 1px solid color-mix(in srgb, var(--rm-accent) 32%, var(--rm-border));
	border-radius: calc(var(--rm-radius-md, 12px) - 3px) !important;
	background: var(--rm-bg);
}
.rm-product-ticket-accordion .ticket-container > :not(img):not(.ticket-looper-grid):not(.ticket-numbers):not(.numbers-container):not(.pagination-tickets):not(.maximum-pagination):not(.pagination-entry-list):not(.prev-ticket-page):not(.next-ticket-page) {
	grid-area: details;
	min-width: 0;
	max-width: 100%;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	text-align: left !important;
}
.rm-product-ticket-accordion .ticket-container :is(h1, h2, h3, h4, h5, h6) {
	margin: 0 0 5px !important;
	color: var(--rm-fg) !important;
	font-family: var(--rm-font-display);
	font-size: clamp(15px, 1.2vw, 18px) !important;
	font-weight: 800 !important;
	line-height: 1.25 !important;
	text-align: left !important;
}
.rm-product-ticket-accordion .ticket-container :is(p, span, small, .tickets-left-of-section, [class*="tickets-left"]) {
	color: var(--rm-fg-muted) !important;
	font-size: var(--rm-text-xs) !important;
	font-weight: 700 !important;
	line-height: 1.4;
	text-align: left !important;
}
.rm-product-ticket-accordion .ticket-container :is(.tickets-left-of-section, [class*="tickets-left"]) {
	display: inline-flex !important;
	align-items: center;
	width: fit-content;
	margin-top: 4px !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
}

/* Keep the disclosure affordance on the right, with a reliable fallback. */
.rm-product-ticket-accordion .ticket-container > :is(button, [class*="toggle"], [class*="arrow"], [class*="chevron"], .dashicons, svg, i) {
	grid-area: control;
	align-self: center;
	justify-self: end;
	margin: 0 !important;
	color: var(--rm-fg) !important;
}
.rm-product-ticket-accordion .ticket-container::after {
	grid-area: control;
	justify-self: end;
	width: 10px;
	height: 10px;
	content: "";
	border-right: 2px solid var(--rm-fg-muted);
	border-bottom: 2px solid var(--rm-fg-muted);
	transform: rotate(45deg) translate(-2px, -2px);
	pointer-events: none;
}
.rm-product-ticket-accordion .ticket-container:has(> :is([class*="toggle"], [class*="arrow"], [class*="chevron"], svg, i))::after {
	display: none;
}
.rm-product-ticket-accordion .ticket-container > :is(.ticket-looper-grid, .ticket-numbers, .numbers-container, .pagination-tickets, .maximum-pagination, .pagination-entry-list) {
	grid-column: 1 / -1;
	margin-top: 14px !important;
}

@media (max-width: 720px) {
	.rm-product-ticket-accordion .ticket-container {
		grid-template-columns: 52px minmax(0, 1fr) 18px !important;
		column-gap: 12px;
		min-height: 82px;
		padding: 14px !important;
	}
	.rm-product-ticket-accordion .ticket-container > img {
		width: 52px !important;
		height: 52px !important;
	}
	.rm-product-ticket-accordion .ticket-container :is(h1, h2, h3, h4, h5, h6) {
		font-size: 15px !important;
	}
}

/* Instant prize pagination is a real control, not a thin text row. */
.rm-product-ticket-accordion :is(.pagination-tickets, .maximum-pagination, .pagination-entry-list) {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 7px;
	width: 100%;
	margin: 16px 0 0 !important;
	padding: 12px !important;
	background: color-mix(in srgb, var(--rm-bg) 74%, var(--rm-surface)) !important;
	border: 1px solid var(--rm-border) !important;
	border-radius: var(--rm-radius-md, 12px) !important;
	box-shadow: inset 0 1px 0 color-mix(in srgb, var(--rm-fg) 5%, transparent);
}
.rm-product-ticket-accordion :is(.pagination-tickets, .maximum-pagination, .pagination-entry-list) > :is(a, button, span, .pagination-tickets-page, .prev-ticket-page, .next-ticket-page) {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	flex: 0 0 38px;
	width: 38px;
	height: 38px;
	min-width: 38px !important;
	margin: 0 !important;
	padding: 0 !important;
	background: var(--rm-surface) !important;
	border: 1px solid var(--rm-border) !important;
	border-radius: 10px !important;
	box-shadow: 0 4px 10px -9px rgba(0, 0, 0, .75);
	color: var(--rm-fg) !important;
	font-family: var(--rm-font-body);
	font-size: 13px !important;
	font-weight: 800 !important;
	font-variant-numeric: tabular-nums;
	line-height: 1 !important;
	text-decoration: none !important;
	cursor: pointer;
	transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.rm-product-ticket-accordion :is(.pagination-tickets, .maximum-pagination, .pagination-entry-list) > :is(a, button, span, .pagination-tickets-page, .prev-ticket-page, .next-ticket-page):hover {
	background: color-mix(in srgb, var(--rm-accent) 11%, var(--rm-surface)) !important;
	border-color: color-mix(in srgb, var(--rm-accent) 68%, var(--rm-border)) !important;
	color: var(--rm-accent) !important;
	transform: translateY(-1px);
	box-shadow: 0 8px 18px -14px color-mix(in srgb, var(--rm-accent) 70%, transparent);
}
.rm-product-ticket-accordion :is(.pagination-tickets, .maximum-pagination, .pagination-entry-list) > :is(.active, .selected, .current, [aria-current="page"]) {
	background: var(--rm-accent) !important;
	border-color: var(--rm-accent) !important;
	box-shadow: 0 7px 16px -11px color-mix(in srgb, var(--rm-accent) 90%, transparent) !important;
	color: var(--rm-on-accent) !important;
}
.rm-product-ticket-accordion :is(.pagination-tickets, .maximum-pagination, .pagination-entry-list) > :is(.prev-ticket-page, .next-ticket-page, .prev, .next, [class*="prev"], [class*="next"]) {
	flex-basis: 42px;
	width: 42px;
	min-width: 42px !important;
	font-size: var(--rm-text-lg) !important;
}
.rm-product-ticket-accordion :is(.pagination-tickets, .maximum-pagination, .pagination-entry-list) > :is(.ellipsis, .dots, [class*="ellipsis"]) {
	flex-basis: auto;
	width: auto;
	min-width: 18px !important;
	background: transparent !important;
	border-color: transparent !important;
	box-shadow: none !important;
	color: var(--rm-fg-muted) !important;
	cursor: default;
}
@media (max-width: 480px) {
	.rm-product-ticket-accordion :is(.pagination-tickets, .maximum-pagination, .pagination-entry-list) {
		gap: 5px;
		padding: 10px !important;
	}
	.rm-product-ticket-accordion :is(.pagination-tickets, .maximum-pagination, .pagination-entry-list) > :is(a, button, span, .pagination-tickets-page, .prev-ticket-page, .next-ticket-page) {
		flex-basis: 34px;
		width: 34px;
		height: 34px;
		min-width: 34px !important;
		border-radius: 9px !important;
	}
}

/* Homepage composition: content sections breathe as a single sequence,
   rather than combining an arbitrary outer margin with their own padding. */
.rm-page--home {
	--rm-home-section-gap: clamp(24px, 3.6vw, 52px);
	--rm-home-section-pad: clamp(30px, 4vw, 60px);
}
.rm-page--home > :is(.rm-ending-soon, .rm-live-grid, .rm-recent, .rm-categories,
.rm-winners-strip, .rm-howitworks, .rm-stats, .rm-newsletter, .rm-prize-specs,
.rm-related, .rm-faq, .rm-trust, .rm-cta-banner, .rm-featured, .rm-ending-rail,
.rm-games-band, .rm-custom, .rm-tabs, .rm-winners-wall, .rm-spotlight) {
	margin-top: var(--rm-home-section-gap);
	padding-block: var(--rm-home-section-pad);
	scroll-margin-top: 32px;
}
.rm-page--home > :is(.rm-hero, .rm-hero-slider, .rm-hero-split):first-child + :is(.rm-ending-soon, .rm-live-grid, .rm-recent, .rm-categories,
.rm-winners-strip, .rm-howitworks, .rm-stats, .rm-newsletter, .rm-prize-specs,
.rm-related, .rm-faq, .rm-trust, .rm-cta-banner, .rm-featured, .rm-ending-rail,
.rm-games-band, .rm-custom, .rm-tabs, .rm-winners-wall, .rm-spotlight) {
	margin-top: clamp(28px, 4.2vw, 64px);
}
/* A short accent glint gives each content transition a purposeful edge
   without creating a heavy divider or competing with the preset artwork. */
.rm-page--home > :is(.rm-ending-soon, .rm-live-grid, .rm-recent, .rm-categories,
.rm-winners-strip, .rm-howitworks, .rm-stats, .rm-newsletter, .rm-prize-specs,
.rm-related, .rm-faq, .rm-trust, .rm-cta-banner, .rm-featured, .rm-ending-rail,
.rm-games-band, .rm-custom, .rm-tabs, .rm-winners-wall, .rm-spotlight) + :is(.rm-ending-soon, .rm-live-grid, .rm-recent, .rm-categories,
.rm-winners-strip, .rm-howitworks, .rm-stats, .rm-newsletter, .rm-prize-specs,
.rm-related, .rm-faq, .rm-trust, .rm-cta-banner, .rm-featured, .rm-ending-rail,
.rm-games-band, .rm-custom, .rm-tabs, .rm-winners-wall, .rm-spotlight)::before {
	width: min(176px, 22%);
	background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--rm-accent) 68%, var(--rm-border)), transparent);
}
@media (max-width: 720px) {
	.rm-page--home {
		--rm-home-section-gap: 26px;
		--rm-home-section-pad: 28px;
	}
	.rm-page--home > :is(.rm-ending-soon, .rm-live-grid, .rm-recent, .rm-categories,
	.rm-winners-strip, .rm-howitworks, .rm-stats, .rm-newsletter, .rm-prize-specs,
	.rm-related, .rm-faq, .rm-trust, .rm-cta-banner, .rm-featured, .rm-ending-rail,
	.rm-games-band, .rm-custom, .rm-tabs, .rm-winners-wall, .rm-spotlight) {
		margin-top: var(--rm-home-section-gap);
		padding-block: var(--rm-home-section-pad);
		scroll-margin-top: 20px;
	}
}

/* ================================================================
   V7 - Light-mode refinement
   Dark canvases build depth from accent glow; light canvases need
   soft physical shadows and firmer edges instead. Everything here
   is scoped to light mode and layered ON TOP of the base styles.
   ================================================================ */
:root[data-rm-mode="light"] .rm-card,
:root[data-rm-mode="light"] .rm-winner-card,
:root[data-rm-mode="light"] .rm-category-tile {
	box-shadow: var(--rm-rim), var(--rm-shadow-2);
}
:root[data-rm-mode="light"] .rm-card:hover,
:root[data-rm-mode="light"] .rm-winner-card:hover,
:root[data-rm-mode="light"] .rm-category-tile:hover {
	box-shadow: var(--rm-rim), var(--rm-shadow-3);
}
:root[data-rm-mode="light"] .rm-buybox,
:root[data-rm-mode="light"] .rm-checkout-review {
	box-shadow: var(--rm-rim), var(--rm-shadow-3);
}
:root[data-rm-mode="light"] .rm-countdown__cell {
	box-shadow: inset 0 -2px 0 rgba(15, 23, 42, .05);
}
:root[data-rm-mode="light"] .rm-site-header:not(.is-transparent) {
	box-shadow: 0 1px 0 rgba(15, 23, 42, .04), 0 6px 18px -14px rgba(15, 23, 42, .10);
}
/* Accent glow borders tuned for dark smear on white - keep the accent,
   soften the halo and let a physical shadow carry the depth. */
:root[data-rm-mode="light"] .rm-borders-glow .rm-card {
	box-shadow: 0 1px 2px rgba(15, 23, 42, .05),
		0 0 0 1px color-mix(in srgb, var(--rm-accent) 24%, transparent),
		0 10px 24px -16px color-mix(in srgb, var(--rm-accent) 30%, transparent);
}
:root[data-rm-mode="light"] .rm-borders-glow .rm-card:hover {
	box-shadow: 0 2px 4px rgba(15, 23, 42, .06),
		0 0 0 1px color-mix(in srgb, var(--rm-accent) 45%, transparent),
		0 14px 30px -16px color-mix(in srgb, var(--rm-accent) 38%, transparent);
}
/* Muted text on tinted light surfaces drifts toward 4.5:1 - nudge it. */
:root[data-rm-mode="light"] .rm-card__sub,
:root[data-rm-mode="light"] .rm-winner-card__prize {
	color: color-mix(in srgb, var(--rm-fg-muted) 82%, var(--rm-fg));
}

/* ================================================================
   V7 - Three new card styles: split / frame / console.
   Pure skins over the shared card markup, like poster/ticket/minimal.
   ================================================================ */

/* --- Split: horizontal editorial-commerce panel ----------------- */
.rm-card-style-split .rm-card__link {
	display: grid;
	grid-template-columns: minmax(0, 46%) minmax(0, 1fr);
	align-items: stretch;
}
.rm-card-style-split .rm-card__media {
	aspect-ratio: auto;
	height: 100%;
	min-height: 190px;
}
.rm-card-style-split .rm-card__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: var(--rm-space-5);
}
.rm-card-style-split .rm-card__title { font-size: var(--rm-text-lg); }
.rm-card-style-split .rm-card:hover { transform: none; }
.rm-card-style-split .rm-card:hover .rm-card__media img { transform: scale(1.04); }
.rm-card-style-split .rm-card__media img { transition: transform .35s ease; }
@media (max-width: 720px) {
	.rm-card-style-split .rm-card__link { grid-template-columns: 1fr; }
	.rm-card-style-split .rm-card__media { aspect-ratio: 16/10; height: auto; min-height: 0; }
	.rm-card-style-split .rm-card__body { padding: var(--rm-space-4); }
}

/* --- Frame: gallery frame with caption plate -------------------- */
.rm-card-style-frame .rm-card {
	background: var(--rm-surface);
	padding: var(--rm-space-3) var(--rm-space-3) 0;
}
.rm-card-style-frame .rm-card__media {
	border-radius: calc(var(--rm-card-radius) - 6px);
	box-shadow: inset 0 0 0 1px var(--rm-border);
}
.rm-card-style-frame .rm-card__body { padding: var(--rm-space-4) var(--rm-space-2) var(--rm-space-4); }
.rm-card-style-frame .rm-card__title {
	font-size: var(--rm-text-md);
	letter-spacing: -0.01em;
}
.rm-card-style-frame .rm-card__tag {
	top: auto; left: auto; right: 20px; bottom: -10px;
	box-shadow: 0 4px 14px -6px rgba(0, 0, 0, .35);
}
.rm-card-style-frame .rm-card:hover { transform: translateY(-2px) rotate(-0.4deg); }

/* --- Console: arcade cabinet ------------------------------------ */
.rm-card-style-console .rm-card {
	border-width: 2px;
	border-color: color-mix(in srgb, var(--rm-accent) 55%, var(--rm-border));
	box-shadow:
		0 0 0 1px color-mix(in srgb, var(--rm-accent) 25%, transparent),
		0 10px 30px -18px color-mix(in srgb, var(--rm-accent) 60%, transparent);
}
.rm-card-style-console .rm-card__media { position: relative; }
.rm-card-style-console .rm-card__media::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .14) 0 1px, transparent 1px 3px);
	mix-blend-mode: overlay;
}
.rm-card-style-console .rm-card__body { position: relative; }
.rm-card-style-console .rm-card__body::before {
	content: ""; position: absolute; top: 0; left: var(--rm-space-4); right: var(--rm-space-4);
	height: 2px;
	background: linear-gradient(90deg, var(--rm-accent), var(--rm-accent-2, var(--rm-accent)));
	box-shadow: 0 0 12px -2px var(--rm-accent);
}
.rm-card-style-console .rm-card__title { font-family: var(--rm-font-display); text-transform: uppercase; letter-spacing: .03em; font-size: var(--rm-text-md); }
.rm-card-style-console .rm-card:hover {
	transform: translateY(-3px);
	box-shadow:
		0 0 0 1px color-mix(in srgb, var(--rm-accent) 45%, transparent),
		0 16px 38px -18px color-mix(in srgb, var(--rm-accent) 80%, transparent);
}
@media (prefers-reduced-motion: reduce) {
	.rm-card-style-frame .rm-card:hover { transform: none; }
	.rm-card-style-console .rm-card:hover { transform: none; }
}
/* Light mode: the console glow softens, the frame gets a paper shadow. */
:root[data-rm-mode="light"] .rm-card-style-console .rm-card {
	box-shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 0 0 1px color-mix(in srgb, var(--rm-accent) 22%, transparent), 0 10px 24px -16px color-mix(in srgb, var(--rm-accent) 35%, transparent);
}
:root[data-rm-mode="light"] .rm-card-style-frame .rm-card {
	box-shadow: 0 1px 3px rgba(15, 23, 42, .07), 0 10px 26px -18px rgba(15, 23, 42, .16);
}

/* ================================================================
   V7 - Product layouts: showcase / dossier + buy-box variants.
   ================================================================ */

/* --- Showcase: full-bleed cinematic banner ---------------------- */
.rm-product-layout-showcase .rm-product-hero {
	grid-template-columns: 1fr;
	max-width: none;
	padding: 0 0 var(--rm-space-6);
	gap: 0;
}
.rm-product-layout-showcase .rm-product-hero__media {
	max-width: none;
	width: 100%;
}
.rm-product-layout-showcase .rm-product-hero__media img { width: 100%; }
.rm-product-layout-showcase .rm-product-hero__copy {
	max-width: min(680px, calc(100% - 2 * var(--rm-space-4)));
	margin: calc(-1 * clamp(48px, 8vw, 120px)) auto 0;
	position: relative; z-index: 2;
	padding: clamp(20px, 3vw, 40px);
	background: color-mix(in srgb, var(--rm-surface) 94%, transparent);
	border: 1px solid var(--rm-border);
	border-radius: var(--rm-radius-lg);
	box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .45);
	backdrop-filter: blur(14px);
	text-align: center;
}
.rm-product-layout-showcase .rm-product-hero__tag { margin-inline: auto; }
@media (max-width: 720px) {
	.rm-product-layout-showcase .rm-product-hero__copy { margin-top: -24px; text-align: left; }
}

/* --- Dossier: compact sticky media, info-dense sheet ------------ */
.rm-product-layout-dossier .rm-product-hero {
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
	gap: var(--rm-space-6);
	align-items: start;
}
.rm-product-layout-dossier .rm-product-hero__media {
	position: sticky; top: 96px;
	border: 1px solid var(--rm-border);
	border-radius: var(--rm-radius-md);
	overflow: hidden;
}
.rm-product-layout-dossier .rm-product-hero__title {
	font-size: var(--rm-text-2xl);
	padding-bottom: var(--rm-space-3);
	border-bottom: 2px solid var(--rm-fg);
}
@media (max-width: 900px) {
	.rm-product-layout-dossier .rm-product-hero { grid-template-columns: 1fr; }
	.rm-product-layout-dossier .rm-product-hero__media { position: static; }
}

/* --- Buy-box variants ------------------------------------------- */
/* Contrast: accent-charged conversion panel. */
.rm-buybox-style-contrast .rm-buybox {
	border: 2px solid color-mix(in srgb, var(--rm-accent) 65%, var(--rm-border));
	background:
		linear-gradient(180deg, color-mix(in srgb, var(--rm-accent) 10%, var(--rm-surface)), var(--rm-surface) 55%);
	box-shadow: 0 14px 38px -22px color-mix(in srgb, var(--rm-accent) 60%, transparent);
}
.rm-buybox-style-contrast .rm-ticket-selector__submit {
	font-size: var(--rm-text-md);
	padding-block: 16px;
	box-shadow: 0 8px 22px -10px color-mix(in srgb, var(--rm-accent) 80%, transparent);
}
/* Naked: borderless, blends into the page for luxury directions. */
.rm-buybox-style-naked .rm-buybox {
	background: transparent;
	border: 0;
	border-radius: 0;
	overflow: visible;
}
.rm-buybox-style-naked .rm-buybox__tabs { background: transparent; padding-inline: 0; }
.rm-buybox-style-naked .rm-buybox__panel { padding-inline: 0; }
:root[data-rm-mode="light"] .rm-buybox-style-naked .rm-buybox { box-shadow: none; }

/* ================================================================
   AAA foundation — consistent elevation, focus, motion.
   Appended last so it sets the baseline; specific widgets still win.
   ================================================================ */
/* Secondary surfaces get resting depth in BOTH modes (dark had none). */
.rm-winner-card, .rm-category-tile {
	box-shadow: var(--rm-rim), var(--rm-shadow-1);
	transition: transform var(--rm-dur-3) var(--rm-ease-spring),
		border-color var(--rm-dur-2) var(--rm-ease),
		box-shadow var(--rm-dur-3) var(--rm-ease);
}
.rm-winner-card:hover, .rm-category-tile:hover { box-shadow: var(--rm-rim), var(--rm-shadow-2); }

/* One accessible, on-brand focus ring for anything the theme didn't
   already style. Outline doesn't shift layout, so it's safe as a baseline. */
.rm-body a:focus-visible,
.rm-body button:focus-visible,
.rm-body [tabindex]:focus-visible,
.rm-body summary:focus-visible {
	outline: 2px solid color-mix(in srgb, var(--rm-accent) 82%, #fff);
	outline-offset: 3px;
	border-radius: 3px;
}
.rm-body input:focus-visible,
.rm-body select:focus-visible,
.rm-body textarea:focus-visible {
	outline: 2px solid color-mix(in srgb, var(--rm-accent) 70%, transparent);
	outline-offset: 1px;
}

/* Buttons and links share one press micro-interaction — a subtle, tactile
   settle on click. Scoped to CTA-style buttons ONLY (by class), not a broad
   `button` selector, so widget buttons with their own :active press (buy-box
   steppers, submit) keep their intended animation instead of being overridden. */
.rm-body .wp-element-button:active,
.rm-body .rm-cta:active,
.rm-body .rm-site-header__cta:active {
	transform: translateY(1px) scale(.99);
	transition-duration: var(--rm-dur-1);
}

/* ================================================================
   AAA-2 — Buy box craft pass.
   The conversion moment: resting depth, a total that pops, tactile
   steppers, and a premium CTA with a one-shot hover sheen.
   ================================================================ */
.rm-buybox { box-shadow: var(--rm-rim), var(--rm-shadow-2); }

/* Running total is the emotional hook — accent, tabular figures, and it
   animates a subtle pop when the JS rewrites it (class toggled by frontend.js
   is optional; the transition alone smooths value swaps). */
.rm-ticket-selector__total-row {
	margin-top: var(--rm-space-3);
	padding-top: var(--rm-space-3);
	border-top: 1px solid var(--rm-border);
}
.rm-ticket-selector__total-value {
	color: var(--rm-accent);
	font-variant-numeric: tabular-nums;
	transition: transform var(--rm-dur-2) var(--rm-ease-spring);
}

/* Steppers: circular, fill with accent tint on hover, tactile press. */
.rm-ticket-selector__step {
	display: inline-flex; align-items: center; justify-content: center;
	color: var(--rm-fg);
	transition: background var(--rm-dur-2) var(--rm-ease),
		border-color var(--rm-dur-2) var(--rm-ease),
		transform var(--rm-dur-1) var(--rm-ease);
}
.rm-ticket-selector__step:hover {
	border-color: color-mix(in srgb, var(--rm-accent) 55%, var(--rm-border));
	background: color-mix(in srgb, var(--rm-accent) 12%, var(--rm-bg));
	color: var(--rm-accent);
}
.rm-ticket-selector__step:active { transform: scale(.9); }

/* Qty input reads as the primary number in the row. */
.rm-ticket-selector__input {
	font-family: var(--rm-font-display);
	font-size: var(--rm-text-lg);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	transition: border-color var(--rm-dur-2) var(--rm-ease);
}
.rm-ticket-selector__input:hover { border-color: color-mix(in srgb, var(--rm-accent) 40%, var(--rm-border)); }

/* Premium CTA: full-width, confident height, one-shot sheen on hover,
   spring settle on press. Builds on the existing house-gradient body. */
.rm-ticket-selector__submit {
	position: relative; isolation: isolate; overflow: hidden;
	width: 100%;
	min-height: 54px;
	margin-top: var(--rm-space-4);
	letter-spacing: .01em;
	box-shadow: var(--rm-rim), var(--rm-glow);
	transition: filter var(--rm-dur-2) var(--rm-ease),
		transform var(--rm-dur-2) var(--rm-ease-spring),
		box-shadow var(--rm-dur-2) var(--rm-ease);
}
.rm-ticket-selector__submit::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
	transform: translateX(-120%);
}
.rm-ticket-selector__submit:hover { transform: translateY(-2px); filter: brightness(1.05); }
.rm-ticket-selector__submit:hover::after { transform: translateX(120%); transition: transform var(--rm-dur-4) var(--rm-ease); }
.rm-ticket-selector__submit:active { transform: translateY(0) scale(.985); }

/* Preset chips: clearer selected state, subtle lift. */
.rm-buybox__preset.is-active,
.rm-ticket-selector__preset.is-active {
	background: color-mix(in srgb, var(--rm-accent) 16%, var(--rm-bg));
	border-color: var(--rm-accent);
	color: var(--rm-accent);
	font-weight: 700;
}

/* ================================================================
   AAA-2b — Card internals craft.
   ================================================================ */
/* Media gets a slow, premium zoom as the card lifts. */
.rm-card__media img { transition: transform var(--rm-dur-4) var(--rm-ease-out); }
.rm-card:hover .rm-card__media img { transform: scale(1.045); }

/* Tag chip: legible on any image via depth + a hairline rim. */
.rm-card__tag {
	box-shadow: var(--rm-rim), 0 4px 12px -4px rgba(0,0,0,.4);
	backdrop-filter: saturate(1.2);
}

/* Sold gauge: gradient fill with an animated sheen, taller and rounder. */
.rm-card__progress { height: 6px; }
.rm-card__progress > span {
	background: linear-gradient(90deg, var(--rm-accent), var(--rm-accent-2, var(--rm-accent)));
	position: relative; overflow: hidden;
}
.rm-card__progress > span::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.45) 50%, transparent 80%);
	transform: translateX(-100%);
	animation: rm-gauge-sheen 2.6s var(--rm-ease) infinite;
}
@keyframes rm-gauge-sheen { 0%,55% { transform: translateX(-100%); } 100% { transform: translateX(220%); } }
@media (prefers-reduced-motion: reduce) { .rm-card__progress > span::after { animation: none; display: none; } }

/* ================================================================
   AAA-3 — Live widgets: countdown, progress, stats bar, winners feed.
   ================================================================ */
/* Countdown cells: real depth, accent numerals, tabular figures. */
.rm-countdown__cell {
	box-shadow: var(--rm-rim), var(--rm-shadow-1);
	min-width: 52px; padding: 8px 10px;
}
.rm-countdown__cell b { font-variant-numeric: tabular-nums; letter-spacing: -.01em; }

/* Home progress bar: gradient + moving sheen for the sweep style. */
.rm-progress__bar { background: linear-gradient(90deg, var(--rm-accent), var(--rm-accent-2, var(--rm-accent))); position: relative; overflow: hidden; }
.rm-progress__bar::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.4) 50%, transparent 80%);
	transform: translateX(-100%); animation: rm-gauge-sheen 3s var(--rm-ease) infinite;
}
@media (prefers-reduced-motion: reduce) { .rm-progress__bar::after { animation: none; display: none; } }

/* Stats bar: a hairline accent lip on top, and the live pulse tracks the
   success token so it recolours per mode. Timer numerals stay tabular. */
.rm-stats-bar { box-shadow: inset 0 1px 0 color-mix(in srgb, var(--rm-accent) 22%, transparent); }
.rm-stats-bar__value { letter-spacing: -.01em; }
.rm-stats-bar__value--timer { color: var(--rm-accent); font-variant-numeric: tabular-nums; }
.rm-stats-bar__pulse {
	background: var(--rm-success);
	box-shadow: 0 0 0 0 color-mix(in srgb, var(--rm-success) 55%, transparent);
	animation: rm-pulse-token 1.9s var(--rm-ease) infinite;
}
@keyframes rm-pulse-token {
	0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--rm-success) 55%, transparent); }
	70%  { box-shadow: 0 0 0 9px color-mix(in srgb, var(--rm-success) 0%, transparent); }
	100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--rm-success) 0%, transparent); }
}

/* Winners ticker: resting depth, spring lift, accent-rimmed thumbnails. */
.rm-winfeed__item {
	box-shadow: var(--rm-rim), var(--rm-shadow-1);
	transition: border-color var(--rm-dur-2) var(--rm-ease),
		transform var(--rm-dur-3) var(--rm-ease-spring),
		box-shadow var(--rm-dur-3) var(--rm-ease);
}
.rm-winfeed__item:hover {
	transform: translateY(-3px);
	border-color: color-mix(in srgb, var(--rm-accent) 55%, var(--rm-border));
	box-shadow: var(--rm-rim), var(--rm-shadow-2);
}
.rm-winfeed__thumb img { box-shadow: 0 0 0 1px var(--rm-border); }
.rm-winfeed__prize .rm-winfeed__ticket, .rm-winfeed__meta { font-variant-numeric: tabular-nums; }

/* ================================================================
   AAA-4 — Hero/section rhythm, entrance choreography, empty states.
   ================================================================ */
/* Entrance: unify on the motion language, add a whisper of scale so
   elements settle in rather than just slide. Reduced-motion still wins
   (handled by existing rm-fx-no-reveal + the token zeroing at :root). */
.rm-reveal {
	opacity: 0;
	transform: translateY(20px) scale(.985);
	transition: opacity var(--rm-dur-4) var(--rm-ease-out),
		transform var(--rm-dur-4) var(--rm-ease-out);
}
.rm-reveal.is-inview { opacity: 1; transform: none; }

/* Empty states read as designed, not broken: soft surface, calmer dashed
   rule, comfortable type. Applies to both empty variants. */
.rm-empty {
	background: color-mix(in srgb, var(--rm-fg) 3%, var(--rm-surface));
	border: 1px dashed color-mix(in srgb, var(--rm-border) 70%, var(--rm-fg-muted));
	border-radius: var(--rm-radius-lg, 16px);
	padding: clamp(28px, 5vw, 48px);
	font-size: var(--rm-text-sm);
	letter-spacing: .01em;
}

/* CTA banner: give it real presence — resting depth and a rim so it lifts
   off the page as a closing statement. */
.rm-cta-banner { box-shadow: var(--rm-rim), var(--rm-shadow-3); }

/* Section headers breathe on the spacing scale, consistent everywhere. */
.rm-section-header { margin-block: var(--rm-space-6) var(--rm-space-4); }
.rm-eyebrow { letter-spacing: .1em; }

/* Category tiles get the same premium media zoom as cards. */
.rm-category-tile__media img { transition: transform var(--rm-dur-4) var(--rm-ease-out); }
.rm-category-tile:hover .rm-category-tile__media img { transform: scale(1.06); }

/* Rail scroll arrows: tactile, on-brand, consistent with the button language. */
.rm-rail__arrow {
	box-shadow: var(--rm-rim), var(--rm-shadow-2);
	transition: transform var(--rm-dur-2) var(--rm-ease-spring),
		background var(--rm-dur-2) var(--rm-ease),
		border-color var(--rm-dur-2) var(--rm-ease);
}
.rm-rail__arrow:hover {
	border-color: color-mix(in srgb, var(--rm-accent) 55%, var(--rm-border));
	background: color-mix(in srgb, var(--rm-accent) 10%, var(--rm-surface));
	color: var(--rm-accent);
}

/* ================================================================
   Audit fixes — shadow parity, reduced-motion, status-colour light flip.
   ================================================================ */
/* Trust badge shares the winfeed token shadow (was a dark-only hardcoded
   shadow that didn't flip in light mode, splitting a formerly-unified pair). */
.rm-trust__badge {
	box-shadow: var(--rm-rim), var(--rm-shadow-1);
}
:root[data-rm-mode="light"] .rm-trust__badge { box-shadow: var(--rm-rim), var(--rm-shadow-1); }

/* A few infinite decorative animations lacked a reduced-motion guard. */
@media (prefers-reduced-motion: reduce) {
	.rm-stats-bar__pulse,
	.rm-winfeed__dot,
	.rm-featured__frame,
	[class*="rm-featured"][style*="float"] { animation: none !important; }
}

/* =================================================================
   7.8.2 fixes
   ================================================================= */
.rm-sr-only {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
/* Top bar: track is exactly two groups wide and scrolls one (-50%). */
.rm-top-bar__track--loop { gap: 0; flex: 0 0 auto; width: max-content; }
.rm-top-bar__track--loop > .rm-top-bar__group { display: flex; flex: 0 0 auto; align-items: center; gap: 40px; padding-right: 40px; }
.rm-top-bar:hover .rm-top-bar__track--loop { animation-play-state: paused; }
.rm-top-bar:has(.rm-top-bar__track--loop) .rm-top-bar__close {
	position: absolute; right: 0; top: 50%; transform: translateY(-50%); z-index: 1; margin: 0; background: inherit;
}
@media (prefers-reduced-motion: reduce) { .rm-top-bar__track--loop { animation: none; } }
.rm-price-free { font-weight: 800; letter-spacing: .02em; }

/* 7.8.4: rows from woocommerce_review_order_after_order_total (TeraWallet partial payment etc.) */
.rm-checkout-review__extras { width: 100%; margin: 12px 0 0; border: 0; border-collapse: collapse; background: transparent; }
.rm-checkout-review__extras th,
.rm-checkout-review__extras td { padding: 10px 0; border: 0; border-top: 1px solid rgba(255,255,255,.08); background: transparent; color: inherit; font-size: 14px; font-weight: 600; text-align: left; vertical-align: middle; }
.rm-checkout-review__extras td { text-align: right; width: 1%; white-space: nowrap; }
.rm-checkout-review__extras th[colspan] { font-weight: 500; line-height: 1.5; }
/* Checkboxes in the extras table (TeraWallet "Pay by wallet" etc.) render as a switch. */
html body .rm-checkout-review__extras input[type="checkbox"] {
	-webkit-appearance: none !important;
	appearance: none !important;
	position: relative;
	display: inline-block;
	flex: none;
	width: 46px !important;
	height: 26px !important;
	min-width: 46px;
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid rgba(255, 255, 255, .16) !important;
	border-radius: 999px !important;
	background: rgba(255, 255, 255, .08) !important;
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, .35) !important;
	cursor: pointer;
	vertical-align: middle !important;
	transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
	outline: none;
}
html body .rm-checkout-review__extras input[type="checkbox"]::before {
	content: "";
	position: absolute;
	top: 2px;
	left: 2px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .35);
	transition: transform .22s cubic-bezier(.3, 1.4, .6, 1);
}
html body .rm-checkout-review__extras input[type="checkbox"]::after { content: none !important; display: none !important; }
html body .rm-checkout-review__extras input[type="checkbox"]:checked {
	background: var(--rm-accent, #3858e9) !important;
	border-color: var(--rm-accent, #3858e9) !important;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--rm-accent, #3858e9) 22%, transparent), inset 0 1px 2px rgba(0, 0, 0, .2) !important;
}
html body .rm-checkout-review__extras input[type="checkbox"]:checked::before { transform: translateX(20px); }
html body .rm-checkout-review__extras input[type="checkbox"]:focus-visible { box-shadow: 0 0 0 3px color-mix(in srgb, var(--rm-accent, #3858e9) 45%, transparent) !important; }
html body .rm-checkout-review__extras input[type="checkbox"]:disabled { opacity: .45; cursor: not-allowed; }
:root[data-rm-mode="light"] .rm-checkout-review__extras input[type="checkbox"]:not(:checked) { background: rgba(0, 0, 0, .1) !important; border-color: rgba(0, 0, 0, .14) !important; }
:root[data-rm-mode="light"] .rm-checkout-review__extras th,
:root[data-rm-mode="light"] .rm-checkout-review__extras td { border-top-color: rgba(0,0,0,.08); }
.rm-checkout-review__extras--before { margin: 8px 0; }
.rm-checkout-review__totals--grand { margin-top: 0; padding-top: 0; border-top: 0; }
.rm-checkout-line__extra { margin-top: 4px; font-size: 12px; opacity: .85; }
.rm-cart-page__collaterals { margin-top: 24px; }
