/* Rim Spin - Miami "Sunset Drive" wheel page. Always dark (it is a night scene). */
.fmrr {
	--fmrr-ink: #f3e9ff;
	--fmrr-soft: #e3d9f5;
	--fmrr-muted: #c9b8e6;
	--fmrr-pink: #ff3fa0;
	--fmrr-pink2: #ff5c9e;
	--fmrr-gold: #ffd36b;
	--fmrr-teal: #3ee6d6;
	--fmrr-orange: #ff9a3c;
	--fmrr-red: #ff5c7a;
	--fmrr-sea: #07020f;
	--fmrr-glass: rgba(18, 6, 36, 0.74);
	--fmrr-line: rgba(255, 120, 190, 0.28);
	--fmrr-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
	--fmrr-display: 'Anton', 'Rajdhani', Impact, 'Arial Narrow', sans-serif;
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--fmrr-sea);
	color: var(--fmrr-ink);
	line-height: 1.4;
}
.fmrr *, .fmrr *::before, .fmrr *::after { box-sizing: border-box; }
.fmrr-main { padding: 0 !important; margin: 0 !important; max-width: none !important; }
/* Mobile theme header is sticky at top:100px under the promo bar while it sits at 50px in the flow. */
@media (max-width: 1023px) { body.has-promo-bar .fmrr-main { padding-top: 50px !important; } }

/* Scene */
.fmrr-scene { position: absolute; inset: 0; z-index: -1; background: var(--fmrr-sea); pointer-events: none; }
.fmrr-scene img {
	position: absolute; top: 0; left: 50%;
	width: max(100%, 1180px); max-width: none; height: auto;
	transform: translateX(-50%);
	-webkit-mask-image: linear-gradient(#000 82%, transparent 100%);
	mask-image: linear-gradient(#000 82%, transparent 100%);
}

.fmrr-wrap { max-width: 1360px; margin: 0 auto; padding: 40px 40px 64px; }

/* Header */
.fmrr-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.fmrr-brand { display: flex; flex-direction: column; min-width: 0; }
.fmrr-sign {
	font-family: 'FMRR Monoton', var(--fmrr-display); font-size: clamp(32px, 5vw, 70px); line-height: 1.05; letter-spacing: 0.06em;
	color: #ffe3f1; white-space: nowrap;
	text-shadow: 0 0 4px #fff, 0 0 12px #ff3fa0, 0 0 26px #ff3fa0, 0 0 52px #ff3fa0, 0 0 90px #ff2e88;
	animation: fmrr-flick 6s linear infinite;
}
.fmrr-titlerow { display: flex; align-items: baseline; gap: 8px 20px; margin-top: 2px; flex-wrap: wrap; }
.fmrr .fmrr-head h1.fmrr-script {
	margin: 0; padding: 0; border: 0; background: none;
	font-family: 'FMRR Yellowtail', cursive; font-weight: 400; font-style: normal; text-transform: none; letter-spacing: 0;
	font-size: clamp(46px, 4.6vw, 66px); line-height: 1; color: #e9fffc;
	text-shadow: 0 0 4px #fff, 0 0 12px #3ee6d6, 0 0 28px #3ee6d6, 0 0 56px #11b8aa;
	animation: fmrr-buzz 2.4s ease-in-out infinite;
}
.fmrr-season { font-family: var(--fmrr-mono); font-size: 13px; font-weight: 700; letter-spacing: 0.3em; color: var(--fmrr-gold); text-shadow: 0 0 10px rgba(255, 180, 60, 0.8); }
.fmrr-preview {
	align-self: flex-start; margin-top: 12px; padding: 5px 10px; border-radius: 8px;
	border: 1px dashed rgba(255, 211, 107, 0.7); background: rgba(40, 24, 8, 0.75);
	font-family: var(--fmrr-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; color: var(--fmrr-gold);
}

.fmrr-glass {
	background: var(--fmrr-glass);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	border: 1px solid var(--fmrr-line);
	box-shadow: 0 10px 40px rgba(10, 0, 30, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.fmrr-stats { display: flex; gap: 12px; margin-top: 14px; }
.fmrr-stat { padding: 12px 18px; border-radius: 16px; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; min-width: 112px; }
.fmrr-k { font-family: var(--fmrr-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.18em; color: var(--fmrr-muted); }
.fmrr-k--gold { color: var(--fmrr-gold); }
.fmrr-v { font-family: var(--fmrr-display); font-size: 34px; line-height: 1; color: #fff; white-space: nowrap; }
.fmrr-v--gold { color: var(--fmrr-gold); text-shadow: 0 0 14px rgba(255, 190, 70, 0.7); }
.fmrr-v--teal { color: var(--fmrr-teal); }
.fmrr-v--dim { color: #8f7fae; }

/* Layout */
.fmrr-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 600px); gap: 48px; margin-top: 30px; align-items: start; }
.fmrr-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }

/* Wheel */
.fmrr-play { min-width: 0; }
.fmrr-wheel { position: relative; width: min(100%, 580px); aspect-ratio: 1 / 1; margin: 18px auto 0; }
.fmrr-wheel__svg { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 28px rgba(255, 63, 160, 0.55)) drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6)); }
.fmrr-rotor { transform-origin: 200px 200px; transition: transform 4.6s cubic-bezier(0.12, 0.8, 0.1, 1); will-change: transform; }
.fmrr-seg { font-family: var(--fmrr-display); font-size: 20px; letter-spacing: 0.04em; fill: #fff; paint-order: stroke; stroke: #2a0620; stroke-width: 4px; stroke-linejoin: round; }
.fmrr-seg--gold { fill: #3a1600; stroke: none; }
.fmrr-logo { filter: drop-shadow(0 0 4px #ff3fa0) drop-shadow(0 0 10px rgba(255, 63, 160, 0.7)); }
.fmrr-pointer { filter: drop-shadow(0 0 8px #ff3fa0) drop-shadow(0 0 18px #ff3fa0); }
.fmrr-bulbs circle { fill: #6a2a5a; }
.fmrr-bulbs .bA { animation: fmrr-blink 0.9s linear infinite; }
.fmrr-bulbs .bB { animation: fmrr-blink 0.9s linear infinite; animation-delay: -0.45s; }
.fmrr-bulbs.is-fast .bA, .fmrr-bulbs.is-fast .bB { animation-duration: 0.18s; }
.fmrr-bulbs.is-fast .bB { animation-delay: -0.09s; }

.fmrr-confetti { position: absolute; inset: -40px; pointer-events: none; overflow: hidden; }
.fmrr-cf { position: absolute; top: 0; border-radius: 2px; animation: fmrr-fall var(--dur) cubic-bezier(0.2, 0.6, 0.4, 1) forwards; }

/* Actions */
.fmrr-actions { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 24px; }
.fmrr .fmrr-spin {
	display: inline-flex; align-items: center; justify-content: center; text-align: center;
	min-width: min(380px, 100%); min-height: 64px; padding: 6px 32px; margin: 0;
	border: 2px solid rgba(255, 255, 255, 0.85); border-radius: 999px;
	background: linear-gradient(90deg, #ff2e88 0%, #ff6a5c 50%, #ff9a3c 100%);
	color: #fff; font-family: var(--fmrr-display); font-weight: 400; font-size: 26px; line-height: 1.1; letter-spacing: 0.08em; text-transform: none;
	text-shadow: 0 2px 0 rgba(80, 0, 40, 0.6); text-decoration: none; cursor: pointer;
	transition: transform 0.15s ease, filter 0.15s ease;
}
.fmrr .fmrr-spin:hover:not(:disabled) { transform: translateY(-2px) scale(1.02); color: #fff; }
.fmrr .fmrr-spin:focus-visible { outline: 3px solid var(--fmrr-teal); outline-offset: 4px; }
.fmrr .fmrr-spin.is-live { animation: fmrr-pulse 1.8s ease-in-out infinite; }
.fmrr .fmrr-spin:disabled { background: linear-gradient(90deg, #4a2340, #3a1d4a); border-color: rgba(255, 255, 255, 0.4); cursor: not-allowed; animation: none; }

.fmrr-req { display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; }
.fmrr .fmrr-pill {
	display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 999px;
	border: 1px solid; color: #fff; font-size: 13px; font-weight: 700; text-decoration: none;
	transition: filter 0.15s ease;
}
.fmrr .fmrr-pill:hover { filter: brightness(1.2); color: #fff; }
.fmrr .fmrr-pill:focus-visible { outline: 2px solid var(--fmrr-teal); outline-offset: 3px; }
.fmrr-pill.is-ok { border-color: var(--fmrr-teal); background: rgba(62, 230, 214, 0.14); }
.fmrr-pill.is-ok .fmrr-mark { color: var(--fmrr-teal); }
.fmrr-pill.is-no { border-color: var(--fmrr-red); background: rgba(255, 92, 122, 0.14); }
.fmrr-pill.is-no .fmrr-mark { color: var(--fmrr-red); }

.fmrr-note { margin: 0; font-size: 13px; color: var(--fmrr-soft); text-align: center; max-width: 460px; }
.fmrr-note--ok { color: var(--fmrr-teal); }
.fmrr-entry { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; max-width: 460px; }
.fmrr-free { width: 100%; text-align: center; }
.fmrr-free summary { display: inline-block; cursor: pointer; font-size: 13px; color: #ffb8dc; text-decoration: underline; text-underline-offset: 3px; list-style: none; padding: 4px 6px; border-radius: 6px; }
.fmrr-free summary::-webkit-details-marker { display: none; }
.fmrr-free summary:focus-visible { outline: 2px solid var(--fmrr-teal); outline-offset: 2px; }
.fmrr-free__form { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; padding: 14px; border-radius: 14px; background: rgba(10, 2, 22, 0.85); border: 1px solid var(--fmrr-line); text-align: left; }
.fmrr-free__form label { font-size: 13px; color: var(--fmrr-soft); }
.fmrr .fmrr-free__form textarea { width: 100%; min-height: 72px; padding: 10px 12px; border-radius: 10px; border: 1px solid #4a4068; background: #120a20; color: #fff; font: inherit; font-size: 14px; resize: vertical; }
.fmrr .fmrr-btn { align-self: flex-start; min-height: 40px; padding: 0 18px; border-radius: 10px; border: none; background: linear-gradient(90deg, #ff2e88, #ff9a3c); color: #fff; font-family: var(--fmrr-display); font-weight: 400; font-size: 16px; letter-spacing: 0.06em; cursor: pointer; }
.fmrr .fmrr-btn:focus-visible { outline: 2px solid var(--fmrr-teal); outline-offset: 3px; }

.fmrr-result { min-height: 128px; display: flex; justify-content: center; width: 100%; }
.fmrr-res { padding: 14px 34px; border-radius: 20px; display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; max-width: 100%; animation: fmrr-pop 0.55s cubic-bezier(0.2, 1.4, 0.4, 1) both; }
.fmrr-res__k { font-family: var(--fmrr-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.3em; color: var(--fmrr-gold); }
.fmrr-res__v { font-family: var(--fmrr-display); font-size: 48px; line-height: 1.05; }
.fmrr-res__n { font-size: 13px; color: var(--fmrr-soft); }
.fmrr-res__n a { color: var(--fmrr-gold); }
.fmrr-res--err .fmrr-res__v { font-size: 22px; color: #ffb8c6; }

/* Cards */
.fmrr-card { padding: 20px 22px; border-radius: 20px; display: flex; flex-direction: column; gap: 12px; }
.fmrr-card__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.fmrr .fmrr-h { margin: 0; padding: 0; font-family: var(--fmrr-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.2em; line-height: 1.3; text-transform: none; }
.fmrr-h--pink { color: #ff8fc4; }
.fmrr-h--gold { color: var(--fmrr-gold); }
.fmrr-h--teal { color: var(--fmrr-teal); }
.fmrr-small { font-family: var(--fmrr-mono); font-size: 11px; color: var(--fmrr-muted); }
.fmrr-mono { font-family: var(--fmrr-mono); }
.fmrr .fmrr-link { align-self: flex-start; font-size: 13px; color: #ffb8dc; text-underline-offset: 3px; }

.fmrr-tablewrap { overflow-x: auto; }
.fmrr .fmrr-tiers { width: 100%; margin: 0; border-collapse: separate; border-spacing: 6px 4px; border: 0; background: none; table-layout: fixed; }
.fmrr .fmrr-tiers th, .fmrr .fmrr-tiers td { border: 0; background: none; }
.fmrr .fmrr-tiers thead th { padding: 0 2px 4px; text-align: center; font-family: var(--fmrr-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; }
.fmrr .fmrr-tiers thead th:first-child { width: 132px; }
.fmrr .fmrr-tiers thead th.is-you { text-shadow: 0 0 10px currentColor; }
.fmrr .fmrr-tiers tbody th { padding: 0; text-align: left; font-size: 14px; font-weight: 400; color: var(--fmrr-ink); }
.fmrr .fmrr-tiers td { padding: 9px 4px; text-align: center; border-radius: 8px; background: rgba(255, 255, 255, 0.04); font-family: var(--fmrr-mono); font-size: 13px; font-weight: 700; color: var(--fmrr-soft); }
.fmrr .fmrr-tiers td.is-you { background: rgba(255, 63, 160, 0.26); color: #fff; }

.fmrr-chal__group { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.fmrr-chal { display: grid; grid-template-columns: 22px minmax(0, 1fr) 54px 50px; gap: 10px; align-items: center; margin-top: 10px; }
.fmrr-chk { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.35); display: inline-flex; align-items: center; justify-content: center; }
.fmrr-chk--ok { border: 0; background: var(--fmrr-teal); color: #08201e; font-size: 12px; font-weight: 700; }
.fmrr-chal__main { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.fmrr-chal__name { font-size: 14px; color: var(--fmrr-ink); }
.fmrr-chal.is-ok .fmrr-chal__name { color: #9f93b8; }
.fmrr-bar { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.fmrr-bar__fill { height: 6px; border-radius: 999px; background: linear-gradient(90deg, #ff2e88, #ff9a3c); box-shadow: 0 0 8px rgba(255, 63, 160, 0.6); }
.fmrr-chal.is-ok .fmrr-bar__fill { background: var(--fmrr-teal); }
.fmrr-chal__n { font-family: var(--fmrr-mono); font-size: 12px; color: var(--fmrr-muted); text-align: right; white-space: nowrap; }
.fmrr-chal__r { font-family: var(--fmrr-mono); font-size: 14px; font-weight: 700; color: var(--fmrr-gold); text-align: right; }
.fmrr-also { margin: 4px 0 0; font-family: inherit; font-size: 12px; }

.fmrr .fmrr-odds { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 28px; }
.fmrr-odds li { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 0; font-size: 14px; }
.fmrr-odds__l { display: inline-flex; align-items: center; gap: 8px; min-width: 0; font-weight: 700; color: #fff; white-space: nowrap; }
.fmrr-odds__p { color: var(--fmrr-soft); }
.fmrr-dot { width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; }

.fmrr-fine { margin: 0; padding: 12px 16px; border-radius: 14px; background: rgba(10, 2, 22, 0.8); border: 1px dashed rgba(255, 160, 210, 0.4); font-size: 12.5px; line-height: 1.55; color: var(--fmrr-soft); }

/* Toast */
.fmrr-toast {
	position: fixed; right: 20px; bottom: 20px; z-index: 99999; max-width: 420px;
	display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 16px;
	background: rgba(24, 10, 40, 0.96); border: 1px solid rgba(255, 92, 158, 0.6); box-shadow: 0 0 30px rgba(255, 63, 160, 0.35);
	color: var(--fmrr-ink); animation: fmrr-slide 0.6s cubic-bezier(0.2, 1.2, 0.4, 1) both;
}
.fmrr-toast[hidden] { display: none; }
.fmrr-toast__icon { width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; background: linear-gradient(135deg, #ff2e88, #ff9a3c); display: flex; align-items: center; justify-content: center; font-family: var(--fmrr-display); font-size: 18px; color: #fff; }
.fmrr-toast__t { font-size: 14px; }
.fmrr-toast__t a { color: var(--fmrr-gold); font-weight: 700; }
.fmrr-toast__x { margin-left: auto; align-self: flex-start; background: none; border: 0; color: var(--fmrr-muted); font-size: 18px; line-height: 1; cursor: pointer; padding: 2px 4px; }

.fmrr .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Animations */
@keyframes fmrr-flick { 0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; } 20%, 24%, 55% { opacity: 0.35; } }
@keyframes fmrr-buzz { 0%, 100% { opacity: 1; } 50% { opacity: 0.92; } }
@keyframes fmrr-blink { 0%, 49.9% { fill: #fff6c4; filter: drop-shadow(0 0 4px #ffd36b); } 50%, 100% { fill: #6a2a5a; filter: none; } }
@keyframes fmrr-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 63, 160, 0), 0 0 26px rgba(255, 63, 160, 0.55); } 50% { box-shadow: 0 0 0 8px rgba(255, 63, 160, 0.18), 0 0 46px rgba(255, 140, 60, 0.75); } }
@keyframes fmrr-fall { 0% { transform: translate3d(0, -60px, 0) rotate(0deg); opacity: 1; } 100% { transform: translate3d(var(--dx), 640px, 0) rotate(900deg); opacity: 0; } }
@keyframes fmrr-pop { 0% { transform: scale(0.4); opacity: 0; } 60% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }
@keyframes fmrr-slide { 0% { transform: translateX(30px); opacity: 0; } 100% { transform: translateX(0); opacity: 1; } }

/* Responsive */
@media (max-width: 1180px) {
	.fmrr-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 32px; }
	.fmrr-wrap { padding: 32px 28px 56px; }
}
@media (max-width: 980px) {
	.fmrr-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.fmrr-side { width: 100%; max-width: 640px; margin: 0 auto; }
	.fmrr-wheel { width: min(100%, 540px); }
	.fmrr-head { flex-direction: column; align-items: stretch; }
	.fmrr-stats { margin-top: 4px; }
}
@media (max-width: 600px) {
	.fmrr-wrap { padding: 24px 16px 48px; }
	.fmrr-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.fmrr-stat { min-width: 0; padding: 10px 10px; align-items: flex-start; border-radius: 14px; }
	.fmrr-k { font-size: 9.5px; letter-spacing: 0.1em; }
	.fmrr-v { font-size: 24px; }
	.fmrr-season { font-size: 11px; letter-spacing: 0.2em; }
	.fmrr .fmrr-spin { font-size: 21px; min-height: 58px; padding: 6px 20px; width: 100%; }
	.fmrr-card { padding: 16px 14px; }
	.fmrr .fmrr-tiers { border-spacing: 3px 3px; }
	.fmrr .fmrr-tiers thead th { font-size: 9px; letter-spacing: 0.02em; }
	.fmrr .fmrr-tiers thead th:first-child { width: 76px; }
	.fmrr .fmrr-tiers tbody th { font-size: 12px; }
	.fmrr .fmrr-tiers td { font-size: 11px; padding: 7px 2px; }
	.fmrr-chal { grid-template-columns: 20px minmax(0, 1fr) 42px 34px; gap: 8px; }
	.fmrr-chal__name { font-size: 13px; }
	.fmrr-chal__n { font-size: 11px; }
	.fmrr-chal__r { font-size: 13px; }
	.fmrr .fmrr-odds { gap: 8px 14px; }
	.fmrr-odds li { font-size: 12.5px; }
	.fmrr-res { padding: 12px 18px; }
	.fmrr-res__v { font-size: 38px; }
	.fmrr-toast { left: 16px; right: 16px; bottom: 16px; max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
	.fmrr-sign, .fmrr .fmrr-head h1.fmrr-script, .fmrr .fmrr-spin.is-live, .fmrr-bulbs .bA, .fmrr-bulbs .bB, .fmrr-res, .fmrr-toast { animation: none !important; }
	.fmrr-bulbs .bA { fill: #fff6c4; }
	.fmrr-bulbs .bB { fill: #6a2a5a; }
	.fmrr-rotor { transition: none !important; }
	.fmrr-confetti { display: none; }
	.fmrr .fmrr-spin:hover:not(:disabled) { transform: none; }
}
.fmrr-fine a { color: #ffd36b; text-decoration: underline; }
