/* =========================================================================
   Roulette calculator (/roulette-calculator/). Loaded on that page only.
   ========================================================================= */

.rw-hero--calc .rw-hero__inner {
	padding-top: 24px;
	padding-bottom: 128px;
}

.rwc-intro {
	max-width: 880px;
	margin-top: 28px;
}

.rw-home .rw-hero--calc .rw-hero__title {
	max-width: 900px;
	font-size: clamp(32px, 4.2vw, 52px);
}

.rw-home .rw-hero--calc .rw-hero__lead {
	max-width: 780px;
}

.rwc-stage {
	position: relative;
	z-index: 1;
	margin-top: -96px;
	padding-bottom: 64px;
	background: linear-gradient(180deg, transparent 0, transparent 96px, var(--rw-paper) 96px);
}

/* ---------- The calculator shell ---------- */

.rwc {
	padding: 20px;
	background: radial-gradient(900px 380px at 100% 0, rgba(200, 16, 46, .14), transparent 60%), radial-gradient(700px 300px at 0 100%, rgba(212, 168, 75, .08), transparent 60%), var(--rw-ink);
	border: 1px solid #23272E;
	border-radius: 22px;
	box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .75);
	color: var(--rw-on-dark);
}

.rwc button {
	font-family: var(--rw-body);
	cursor: pointer;
}

.rwc-top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px 24px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--rw-ink-line);
}

.rwc-seg {
	display: inline-flex;
	padding: 4px;
	background: #0A0C0F;
	border: 1px solid var(--rw-ink-line);
	border-radius: 14px;
}

.rw-home .rwc-seg button {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 110px;
	padding: 8px 14px;
	background: transparent;
	border: 0;
	border-radius: 10px;
	color: var(--rw-on-dark);
	font-size: 15px;
	font-weight: 800;
	line-height: 1.2;
	text-align: left;
}

.rwc-seg button span {
	color: var(--rw-on-dark-3);
	font-size: 11px;
	font-weight: 600;
}

.rw-home .rwc-seg button[aria-pressed="true"] {
	background: var(--rw-gold);
	color: var(--rw-ink);
}

.rwc-seg button[aria-pressed="true"] span {
	color: var(--rw-gold-ink);
}

.rwc-presets {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
}

.rwc-presets > span {
	margin-right: 4px;
	color: var(--rw-on-dark-3);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.rw-home .rwc-presets button {
	padding: 7px 12px;
	background: transparent;
	border: 1px solid var(--rw-ink-line);
	border-radius: 999px;
	color: var(--rw-on-dark);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
}

.rw-home .rwc-presets button:hover {
	border-color: var(--rw-gold);
	color: var(--rw-gold);
}

.rwc-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	align-items: start;
	gap: 20px;
	margin-top: 18px;
}

.rwc-main {
	min-width: 0;
}

.rw-home .rwc-hint {
	display: flex;
	align-items: center;
	min-height: 22px;
	margin-bottom: 10px;
	color: var(--rw-on-dark-2);
	font-size: 14px;
	font-weight: 600;
}

/* On a phone a hint can run to two lines. Keeping room for both stops the
   table jumping when a short hint replaces a long one. */
@media (max-width: 599px) {
	.rw-home .rwc-hint {
		min-height: 3.2em;
	}
}

/* ---------- The table (SVG) ---------- */

.rwc-board {
	position: relative;
	min-height: 200px;
}

.rwc-svg {
	display: block;
	width: 100%;
	height: auto;
	-webkit-user-select: none;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
}

.rwc-svg--v {
	max-width: 420px;
	margin: 0 auto;
}

.rwc-felt {
	fill: #0C3A27;
	stroke: #1C5A3D;
	stroke-width: 2;
}

.rwc-cell {
	stroke: rgba(212, 168, 75, .55);
	stroke-width: 1.2;
	cursor: pointer;
	transition: stroke .12s ease;
}

.rwc-cell:focus {
	outline: none;
}

.rwc-cell:hover,
.rwc-cell:focus-visible {
	stroke: #F3D27A;
	stroke-width: 2.4;
}

.rwc-red {
	fill: #A8132A;
}

.rwc-black {
	fill: #15181C;
}

.rwc-green {
	fill: #1E7A52;
}

.rwc-out {
	fill: rgba(255, 255, 255, 0);
}

.rwc-out:hover {
	fill: rgba(255, 255, 255, .06);
}

.rwc-cell-t {
	fill: #FFFFFF;
	font-family: var(--rw-display);
	font-size: 19px;
	font-weight: 800;
	pointer-events: none;
}

.rwc-cell-t--out {
	fill: #EADFC0;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .04em;
}

.rwc-diamond {
	pointer-events: none;
}

.rwc-diamond--red {
	fill: #C8102E;
}

.rwc-diamond--black {
	fill: #0B0D10;
	stroke: rgba(212, 168, 75, .6);
}

.rwc-spot {
	fill: rgba(243, 210, 122, 0);
	stroke: rgba(243, 210, 122, 0);
	stroke-width: 2;
	cursor: pointer;
}

.rwc-spot:hover,
.rwc-spot:focus {
	fill: rgba(243, 210, 122, .32);
	stroke: #F3D27A;
	outline: none;
}

.rwc-l-heat,
.rwc-l-net,
.rwc-l-chips {
	pointer-events: none;
}

.rwc-heat {
	fill: transparent;
	stroke: transparent;
	transition: fill .15s ease;
}

.rwc-heat.is-win {
	fill: rgba(61, 220, 151, .16);
	stroke: #3DDC97;
	stroke-width: 2.4;
}

.rwc-heat.is-down {
	fill: rgba(240, 180, 60, .16);
	stroke: #F0B43C;
	stroke-width: 2.4;
}

.rwc-heat.is-lose {
	fill: rgba(5, 7, 9, .55);
}

.rwc-net {
	font-family: var(--rw-body);
	font-size: 10.5px;
	font-weight: 800;
	fill: rgba(255, 255, 255, .5);
}

.rwc-net.is-win {
	fill: #8CF2C6;
}

.rwc-net.is-down {
	fill: #F8D07D;
}

.rwc-net.is-lose {
	fill: rgba(255, 255, 255, .42);
}

.rwc-chip {
	filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .55));
}

.rwc-chip-b {
	stroke: rgba(255, 255, 255, .92);
	stroke-width: 3.2;
	stroke-dasharray: 4.2 3.2;
}

.rwc-chip-i {
	stroke: rgba(255, 255, 255, .55);
	stroke-width: 1;
}

.rwc-chip-t {
	fill: #FFFFFF;
	font-family: var(--rw-body);
	font-size: 10px;
	font-weight: 800;
}

.rwc-chip--c1 .rwc-chip-b,
.rwc-chip--c1 .rwc-chip-i {
	fill: #ECE8DC;
}

.rwc-chip--c1 .rwc-chip-b {
	stroke: #5A606A;
}

.rwc-chip--c1 .rwc-chip-t {
	fill: #0E1013;
}

.rwc-chip--c5 .rwc-chip-b,
.rwc-chip--c5 .rwc-chip-i {
	fill: #C8102E;
}

.rwc-chip--c25 .rwc-chip-b,
.rwc-chip--c25 .rwc-chip-i {
	fill: #1E7A52;
}

.rwc-chip--c100 .rwc-chip-b,
.rwc-chip--c100 .rwc-chip-i {
	fill: #1A1C20;
}

.rwc-chip--c100 .rwc-chip-b {
	stroke: #D4A84B;
}

.rwc-chip--c500 .rwc-chip-b,
.rwc-chip--c500 .rwc-chip-i {
	fill: #6B3FA0;
}

.rwc-removing .rwc-cell,
.rwc-removing .rwc-spot {
	cursor: crosshair;
}

.rwc-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	margin-top: 10px;
	color: var(--rw-on-dark-2);
	font-size: 12.5px;
	font-weight: 600;
	opacity: .45;
	transition: opacity .2s ease;
}

.rwc-has-bets .rwc-legend {
	opacity: 1;
}

.rwc-legend__i {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.rwc-legend__i::before {
	content: "";
	width: 14px;
	height: 14px;
	border: 2px solid;
	border-radius: 4px;
}

.rwc-legend__i--win::before {
	background: rgba(61, 220, 151, .2);
	border-color: #3DDC97;
}

.rwc-legend__i--down::before {
	background: rgba(240, 180, 60, .2);
	border-color: #F0B43C;
}

.rwc-legend__i--lose::before {
	background: #0A0C0F;
	border-color: #3A3F47;
}

.rw-home .rwc-noscript {
	padding: 40px 20px;
	color: var(--rw-on-dark-2);
	text-align: center;
}

/* ---------- Chips and buttons ---------- */

.rwc-tray {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-top: 16px;
	padding: 14px;
	background: #0A0C0F;
	border: 1px solid var(--rw-ink-line);
	border-radius: 16px;
}

.rwc-chips {
	display: flex;
	gap: 10px;
}

.rw-home .rwc-chipbtn {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 4px dashed rgba(255, 255, 255, .9);
	border-radius: 50%;
	box-shadow: inset 0 0 0 3px rgba(0, 0, 0, .25), 0 3px 0 rgba(0, 0, 0, .45);
	color: #FFFFFF;
	font-size: 13px;
	font-weight: 800;
	transition: transform .12s ease, box-shadow .12s ease;
}

.rwc-chipbtn span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border: 1px solid rgba(255, 255, 255, .6);
	border-radius: 50%;
}

.rw-home .rwc-chipbtn--c1 {
	background: #ECE8DC;
	border-color: #5A606A;
	color: #0E1013;
}

.rw-home .rwc-chipbtn--c5 {
	background: #C8102E;
}

.rw-home .rwc-chipbtn--c25 {
	background: #1E7A52;
}

.rw-home .rwc-chipbtn--c100 {
	background: #1A1C20;
	border-color: #D4A84B;
}

.rw-home .rwc-chipbtn--c500 {
	background: #6B3FA0;
}

.rw-home .rwc-chipbtn[aria-pressed="true"] {
	box-shadow: 0 0 0 3px #0A0C0F, 0 0 0 5px var(--rw-gold), 0 6px 14px rgba(0, 0, 0, .5);
	transform: translateY(-3px);
}

.rwc-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.rw-home .rwc-act {
	min-height: 40px;
	padding: 8px 14px;
	background: var(--rw-ink-2);
	border: 1px solid var(--rw-ink-line);
	border-radius: 10px;
	color: var(--rw-on-dark);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
}

.rw-home .rwc-act:hover:not(:disabled) {
	border-color: var(--rw-on-dark-3);
}

.rw-home .rwc-act:disabled {
	cursor: default;
	opacity: .4;
}

.rw-home .rwc-act[aria-pressed="true"] {
	background: #3A1218;
	border-color: var(--rw-red);
	color: #FFFFFF;
}

.rw-home .rwc-act--share {
	border-color: rgba(212, 168, 75, .55);
	color: var(--rw-gold);
}

.rwc-picker {
	margin-top: 12px;
	color: var(--rw-on-dark-2);
	font-size: 14px;
}

.rwc-picker summary {
	display: inline-block;
	color: var(--rw-on-dark-2);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.rwc-picker__row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 10px;
	margin-top: 10px;
}

.rwc-picker label {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 12px;
	font-weight: 700;
}

.rw-home .rwc-picker select {
	min-height: 40px;
	padding: 6px 10px;
	background: var(--rw-ink-2);
	border: 1px solid var(--rw-ink-line);
	border-radius: 10px;
	color: #FFFFFF;
	font-family: var(--rw-body);
	font-size: 14px;
}

.rw-home .rwc-act--add {
	background: var(--rw-gold);
	border-color: var(--rw-gold);
	color: var(--rw-ink);
}

/* ---------- Results panel ---------- */

.rwc-side {
	position: sticky;
	top: 90px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 18px;
	background: var(--rw-ink-2);
	border: 1px solid var(--rw-ink-line);
	border-radius: 18px;
}

.rwc-total {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 10px;
}

.rwc-total span {
	flex: 1 0 100%;
	color: var(--rw-on-dark-3);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.rwc-total strong {
	color: #FFFFFF;
	font-family: var(--rw-display);
	font-size: 34px;
	font-weight: 800;
	line-height: 1.05;
}

.rwc-total em {
	color: var(--rw-on-dark-2);
	font-size: 13px;
	font-style: normal;
}

.rwc-kpis {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.rwc-kpi {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 12px;
	background: #111418;
	border: 1px solid #23272E;
	border-radius: 12px;
}

.rwc-kpi--main {
	grid-column: 1 / -1;
	background: linear-gradient(135deg, rgba(212, 168, 75, .14), rgba(212, 168, 75, .03)), #111418;
	border-color: rgba(212, 168, 75, .35);
}

.rwc-kpi span {
	color: var(--rw-on-dark-3);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .05em;
	line-height: 1.3;
	text-transform: uppercase;
}

.rwc-kpi strong {
	color: #FFFFFF;
	font-family: var(--rw-display);
	font-size: 22px;
	font-weight: 800;
	line-height: 1.1;
}

.rwc-kpi--main strong {
	color: var(--rw-gold);
	font-size: 40px;
}

.rwc-kpi--pair {
	display: grid;
	grid-column: 1 / -1;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.rwc-kpi--pair div {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.rwc-kpi--pair div + div {
	padding-left: 10px;
	border-left: 1px solid #23272E;
}

.rwc-kpi .rwc-good {
	color: #8CF2C6;
}

.rwc-kpi .rwc-bad {
	color: #FF8A98;
}

.rwc-kpi em {
	color: var(--rw-on-dark-2);
	font-size: 12px;
	font-style: normal;
}

.rw-home .rwc-insight {
	padding: 12px 14px;
	background: rgba(255, 255, 255, .03);
	border-left: 3px solid var(--rw-gold);
	border-radius: 0 10px 10px 0;
	color: var(--rw-on-dark);
	font-size: 14px;
	line-height: 1.55;
}

.rwc-casino {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px;
	background: #111418;
	border: 1px solid #2C3139;
	border-radius: 14px;
}

.rwc-casino__logo {
	display: flex;
	flex: 0 0 72px;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 48px;
	overflow: hidden;
	border-radius: 9px;
}

.rw-home .rwc-casino__logo img {
	width: auto;
	max-width: 88%;
	height: auto;
	max-height: 84%;
	object-fit: contain;
}

.rwc-casino__text {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	line-height: 1.3;
}

.rwc-casino__text strong {
	color: #FFFFFF;
	font-size: 15px;
}

.rwc-casino__text span {
	color: var(--rw-on-dark-2);
	font-size: 12.5px;
}

.rw-home .rwc-casino__text a {
	color: var(--rw-on-dark-2);
	font-size: 12.5px;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.rw-home a.rwc-casino__go {
	flex: 0 0 auto;
	padding: 10px 14px;
	background: var(--rw-red);
	border-radius: 10px;
	color: #FFFFFF;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;
}

.rw-home a.rwc-casino__go:hover {
	background: var(--rw-red-dark);
	color: #FFFFFF;
}

.rwc-casino--compact {
	border-color: rgba(212, 168, 75, .4);
}

.rw-home a.rwc-free {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--rw-on-dark-2);
	font-size: 13.5px;
	font-weight: 700;
	text-decoration: none;
}

.rw-home a.rwc-free:hover {
	color: var(--rw-gold);
}

/* ---------- Cards under the table ---------- */

.rwc-card--outs {
	margin-top: 16px;
}

.rwc-cards {
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(0, 1fr) minmax(0, 1fr);
	gap: 16px;
	margin-top: 20px;
}

.rwc-card--where {
	margin-top: 16px;
	background: linear-gradient(120deg, rgba(200, 16, 46, .1), transparent 55%), var(--rw-ink-2);
	border-color: rgba(212, 168, 75, .3);
}

.rwc-where__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 4px 24px;
	margin-bottom: 14px;
}

.rw-home .rwc-where__head .rwc-card__title {
	margin-bottom: 0;
}

.rw-home .rwc-where__head .rwc-card__note {
	flex: 1 1 360px;
	max-width: 620px;
	margin-top: 0;
}

.rwc-card {
	min-width: 0;
	padding: 18px;
	background: var(--rw-ink-2);
	border: 1px solid var(--rw-ink-line);
	border-radius: 18px;
}

.rw-home .rwc-card__title {
	margin-bottom: 14px;
	color: #FFFFFF;
	font-family: var(--rw-display);
	font-size: 18px;
	font-weight: 800;
	line-height: 1.2;
}

.rw-home .rwc-card__note {
	margin-top: 12px;
	color: var(--rw-on-dark-3);
	font-size: 12.5px;
	line-height: 1.5;
}

.rw-home .rwc-card__note a {
	color: var(--rw-on-dark-2);
	font-weight: 700;
}

.rw-home .rwc-empty {
	color: var(--rw-on-dark-3);
	font-size: 14px;
}

.rw-home .rwc-outs {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.rwc-out__top {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
}

.rwc-out__top strong {
	font-family: var(--rw-display);
	font-size: 17px;
	font-weight: 800;
}

.rwc-out__top span {
	color: var(--rw-on-dark-2);
	font-size: 12.5px;
	white-space: nowrap;
}

.rwc-out__bar {
	height: 6px;
	margin-top: 6px;
	overflow: hidden;
	background: #23272E;
	border-radius: 999px;
}

.rwc-out__bar span {
	display: block;
	height: 100%;
	border-radius: 999px;
}

.rw-home .rwc-out__nums {
	margin-top: 5px;
	color: var(--rw-on-dark-3);
	font-size: 12px;
	line-height: 1.45;
}

.rwc-out--win strong {
	color: #8CF2C6;
}

.rwc-out--win .rwc-out__bar span {
	background: #2E9E6A;
}

.rwc-out--down strong {
	color: #F8D07D;
}

.rwc-out--down .rwc-out__bar span {
	background: #E0A93A;
}

.rwc-out--lose strong {
	color: #FF8A98;
}

.rwc-out--lose .rwc-out__bar span {
	background: #A8132A;
}

.rwc-wheelbox {
	max-width: 260px;
	margin: 0 auto;
}

.rwc-wheel {
	display: block;
	width: 100%;
	height: auto;
}

.rwc-wheel__rim {
	fill: #0A0C0F;
	stroke: #D4A84B;
	stroke-width: 1.5;
}

.rwc-wheel__base--r {
	fill: #C8102E;
}

.rwc-wheel__base--b {
	fill: #2B3038;
}

.rwc-wheel__base--g {
	fill: #1E7A52;
}

.rwc-wheel__out {
	stroke: #0A0C0F;
	stroke-width: .8;
}

.rwc-wheel__out--none {
	fill: #1B1F25;
}

.rwc-wheel__out--win {
	fill: #2E9E6A;
}

.rwc-wheel__out--down {
	fill: #D69B2D;
}

.rwc-wheel__out--lose {
	fill: #1B1F25;
}

.rwc-wheel__n {
	fill: #FFFFFF;
	font-family: var(--rw-body);
	font-size: 8px;
	font-weight: 800;
}

.rwc-wheel__hub {
	fill: #0E1013;
	stroke: #3A3F47;
}

.rwc-wheel__big {
	fill: var(--rw-gold);
	font-family: var(--rw-display);
	font-size: 30px;
	font-weight: 800;
}

.rwc-wheel__of {
	fill: var(--rw-on-dark-3);
	font-size: 16px;
}

.rwc-wheel__small {
	fill: var(--rw-on-dark-2);
	font-family: var(--rw-body);
	font-size: 11px;
	font-weight: 700;
}

.rw-home .rwc-bets {
	display: flex;
	flex-direction: column;
	gap: 8px;
	max-height: 380px;
	overflow-y: auto;
}

.rwc-bet {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 12px;
	background: #111418;
	border: 1px solid #23272E;
	border-radius: 12px;
}

.rwc-bet__main {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	line-height: 1.35;
}

.rwc-bet__main strong {
	color: #FFFFFF;
	font-size: 14px;
}

.rwc-bet__main span {
	color: var(--rw-on-dark-3);
	font-size: 12px;
}

.rwc-bet__stake {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 6px;
	color: #FFFFFF;
	font-size: 14px;
	font-weight: 800;
}

.rw-home .rwc-bet__btn,
.rw-home .rwc-bet__x {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	padding: 0;
	background: var(--rw-ink-2);
	border: 1px solid var(--rw-ink-line);
	border-radius: 8px;
	color: #FFFFFF;
	font-size: 16px;
	line-height: 1;
}

.rw-home .rwc-bet__x {
	color: var(--rw-on-dark-3);
}

.rwc-card--dark {
	background: linear-gradient(160deg, rgba(212, 168, 75, .07), transparent 60%), var(--rw-ink-2);
}

.rwc-spins {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.rw-home .rwc-spins button {
	padding: 7px 12px;
	background: transparent;
	border: 1px solid var(--rw-ink-line);
	border-radius: 999px;
	color: var(--rw-on-dark-2);
	font-size: 13px;
	font-weight: 700;
}

.rw-home .rwc-spins button[aria-pressed="true"] {
	border-color: var(--rw-gold);
	color: var(--rw-gold);
}

.rw-home .rwc-sess {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-top: 14px;
}

.rwc-sess div {
	padding: 12px;
	background: #111418;
	border: 1px solid #23272E;
	border-radius: 12px;
}

.rwc-sess dt {
	color: var(--rw-on-dark-3);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
}

.rwc-sess dd {
	margin: 4px 0 0;
	color: #FFFFFF;
	font-family: var(--rw-display);
	font-size: 20px;
	font-weight: 800;
	line-height: 1.15;
}

.rwc-where {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.rwc-where .rwc-empty {
	grid-column: 1 / -1;
}

/* ---------- Content sections ---------- */

.rw-home .rwc-table {
	min-width: 860px;
}

/* Keeps hidden header labels inside the scroll box on small screens */
.rw-calc .rw-table-wrap {
	position: relative;
}

.rwc-table tbody th span,
.rwc-table .rwc-sub {
	display: block;
	margin-top: 3px;
	color: var(--rw-muted);
	font-family: var(--rw-body);
	font-size: 12.5px;
	font-weight: 500;
	line-height: 1.4;
}

.rwc-table td strong {
	color: var(--rw-ink);
}

.rwc-table .rwc-bad {
	color: var(--rw-bad);
	font-weight: 700;
}

.rwc-table .rwc-good {
	color: var(--rw-green-ink);
	font-weight: 700;
}

.rwc-table--systems tbody th {
	width: 34%;
}

.rw-home .rwc-load {
	padding: 8px 14px;
	background: var(--rw-ink);
	border: 0;
	border-radius: 10px;
	color: #FFFFFF;
	font-family: var(--rw-body);
	font-size: 13.5px;
	font-weight: 800;
	white-space: nowrap;
	cursor: pointer;
}

.rw-home .rwc-load:hover {
	background: var(--rw-red);
}

.rwc-examples {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin-top: 26px;
}

.rwc-example {
	overflow: hidden;
	background: var(--rw-white);
	border: 1px solid var(--rw-line);
	border-radius: var(--rw-radius);
}

.rwc-example img {
	display: block;
	width: 100%;
	height: auto;
}

.rwc-example figcaption {
	padding: 16px 18px 18px;
}

.rw-home .rwc-example h3 {
	color: var(--rw-ink);
	font-size: 19px;
	font-weight: 800;
}

.rwc-example dl {
	margin: 10px 0 0;
}

.rwc-example dl div {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 7px 0;
	border-top: 1px solid var(--rw-line);
	font-size: 15px;
}

.rwc-example dt {
	color: var(--rw-muted);
}

.rwc-example dd {
	margin: 0;
	color: var(--rw-ink);
	font-weight: 800;
}

.rw-home .rwc-example p {
	margin-top: 8px;
	color: var(--rw-text-2);
	font-size: 14.5px;
	line-height: 1.55;
}

.rwc-overlap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 28px;
	margin-top: 22px;
	padding: 22px 24px;
	background: var(--rw-gold-soft);
	border-left: 4px solid var(--rw-gold);
	border-radius: 0 var(--rw-radius) var(--rw-radius) 0;
}

.rwc-overlap > div {
	flex: 1 1 520px;
}

.rw-home .rwc-overlap h3 {
	color: var(--rw-ink);
	font-size: 20px;
	font-weight: 800;
}

.rw-home .rwc-overlap p {
	margin-top: 6px;
	color: var(--rw-text);
	font-size: 16px;
	line-height: 1.6;
}

.rw-home .rwc-overlap .rw-btn {
	border: 0;
	cursor: pointer;
}

.rwc-calls {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin-top: 26px;
}

.rwc-call {
	display: grid;
	grid-template-columns: 150px minmax(0, 1fr);
	align-items: center;
	gap: 20px;
	padding: 20px;
	background: var(--rw-paper);
	border: 1px solid var(--rw-line);
	border-radius: var(--rw-radius);
}

.rwc-miniwheel {
	display: block;
	width: 100%;
	height: auto;
	filter: drop-shadow(0 10px 16px rgba(14, 16, 19, .22));
}

.rwc-miniwheel__n {
	fill: #FFFFFF;
	font-family: var(--rw-body);
	font-size: 8px;
	font-weight: 800;
}

.rwc-miniwheel__big {
	fill: var(--rw-gold);
	font-family: var(--rw-display);
	font-size: 34px;
	font-weight: 800;
}

.rwc-miniwheel__small {
	fill: #A9AFB8;
	font-family: var(--rw-body);
	font-size: 12px;
	font-weight: 700;
}

.rw-home .rwc-call h3 {
	color: var(--rw-ink);
	font-size: 21px;
	font-weight: 800;
}

.rw-home .rwc-call p {
	margin-top: 6px;
	color: var(--rw-text-2);
	font-size: 14.5px;
	line-height: 1.55;
}

.rw-home .rwc-call__stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
	margin: 12px 0 14px;
	padding: 10px 0;
	border-top: 1px solid var(--rw-line);
	border-bottom: 1px solid var(--rw-line);
}

.rwc-call__stats dt {
	color: var(--rw-muted-2);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.rwc-call__stats dd {
	margin: 2px 0 0;
	color: var(--rw-ink);
	font-size: 15px;
	font-weight: 800;
}

.rwc-wheels {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin-top: 26px;
}

.rwc-wheelcard {
	padding: 22px;
	background: var(--rw-paper);
	border: 1px solid var(--rw-line);
	border-top: 4px solid var(--rw-ink);
	border-radius: var(--rw-radius);
}

.rwc-wheelcard--bad {
	border-top-color: var(--rw-red);
}

.rwc-wheelcard--good {
	border-top-color: var(--rw-green);
}

.rw-home .rwc-wheelcard__name {
	color: var(--rw-muted-2);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.rw-home .rwc-wheelcard__big {
	margin: 4px 0 8px;
	color: var(--rw-ink);
	font-family: var(--rw-display);
	font-size: 40px;
	font-weight: 800;
	line-height: 1;
}

.rw-home .rwc-wheelcard p:last-child {
	color: var(--rw-text-2);
	font-size: 15px;
	line-height: 1.55;
}

.rw-home .rwc-formulas {
	margin-top: 20px;
}

.rwc-formulas div {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 20px;
	padding: 13px 0;
	border-bottom: 1px solid var(--rw-line);
}

.rwc-formulas div:first-child {
	border-top: 1px solid var(--rw-line);
}

.rwc-formulas dt {
	color: var(--rw-ink);
	font-weight: 800;
}

.rwc-formulas dd {
	margin: 0;
	color: var(--rw-text-2);
}

.rw-calc .rw-fineprint {
	margin-top: 14px;
}

.rw-calc .rw-fineprint a,
.rw-calc .rw-section__intro a {
	color: var(--rw-red-dark);
	font-weight: 700;
}

@media (max-width: 1100px) {
	.rwc-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.rwc-side {
		position: static;
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
		align-items: start;
	}

	.rwc-side > .rwc-total,
	.rwc-side > .rwc-insight,
	.rwc-side > .rwc-cta,
	.rwc-side > .rwc-free {
		grid-column: 1;
	}

	.rwc-side > .rwc-kpis {
		grid-column: 2;
		grid-row: 1 / span 4;
	}

	.rwc-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rwc-cards > .rwc-card--dark {
		grid-column: 1 / -1;
	}

	.rwc-calls,
	.rwc-examples {
		grid-template-columns: minmax(0, 1fr);
	}

	.rwc-examples {
		max-width: 560px;
	}
}

@media (max-width: 760px) {
	.rwc-side {
		display: flex;
		align-items: stretch;
	}

	.rwc-cards,
	.rwc-where {
		grid-template-columns: minmax(0, 1fr);
	}

	.rwc-wheels {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 640px) {
	.rw-hero--calc .rw-hero__inner {
		padding-top: 18px;
		padding-bottom: 104px;
	}

	.rwc-intro {
		margin-top: 20px;
	}

	.rw-home .rw-hero--calc .rw-hero__lead {
		font-size: 17px;
	}

	.rwc-stage {
		margin-top: -80px;
		padding-bottom: 44px;
		background: linear-gradient(180deg, transparent 0, transparent 80px, var(--rw-paper) 80px);
	}

	.rwc {
		margin-right: -8px;
		margin-left: -8px;
		padding: 12px;
		border-radius: 18px;
	}

	.rwc-top {
		gap: 12px;
	}

	.rwc-seg {
		display: flex;
		width: 100%;
	}

	.rw-home .rwc-seg button {
		flex: 1 1 0;
		min-width: 0;
		padding: 8px 10px;
		font-size: 14px;
	}

	.rwc-presets {
		flex-wrap: nowrap;
		margin-right: -12px;
		padding-right: 12px;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.rwc-presets::-webkit-scrollbar {
		display: none;
	}

	.rw-home .rwc-presets button {
		flex: 0 0 auto;
	}

	.rwc-presets > span {
		display: none;
	}

	.rwc-tray {
		padding: 12px;
	}

	.rwc-chips {
		justify-content: space-between;
		width: 100%;
	}

	.rwc-actions {
		width: 100%;
	}

	.rw-home .rwc-act {
		flex: 1 1 auto;
		padding: 8px 10px;
		font-size: 13px;
	}

	.rwc-side {
		padding: 14px;
	}

	.rwc-kpi--main strong {
		font-size: 34px;
	}

	.rwc-card {
		padding: 14px;
	}

	.rwc-casino {
		flex-wrap: wrap;
	}

	.rwc-casino__text {
		flex-basis: calc(100% - 90px);
	}

	.rw-home a.rwc-casino__go {
		flex: 1 1 100%;
		text-align: center;
	}

	.rwc-call {
		grid-template-columns: 96px minmax(0, 1fr);
		gap: 14px;
		padding: 16px;
	}

	.rw-home .rwc-call__stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rwc-formulas div {
		grid-template-columns: minmax(0, 1fr);
		gap: 4px;
	}
}

/* =========================================================================
   Shorter results: no duplicate box, the wheel view and the many-spin
   simulation fold away, and on smaller screens your result comes straight
   after the table.
   ========================================================================= */

.rwc [hidden] {
	display: none !important;
}

/* With "Chance something pays" hidden, the cost box takes the full row. */
.rwc-kpis [data-rwc-paidbox][hidden] + .rwc-kpi {
	grid-column: 1 / -1;
}

.rwc-cards {
	align-items: start;
}

.rwc-fold > summary {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding-right: 28px;
	cursor: pointer;
	list-style: none;
}

.rwc-fold > summary::-webkit-details-marker {
	display: none;
}

.rwc-fold > summary::after {
	content: "";
	position: absolute;
	top: 6px;
	right: 4px;
	width: 8px;
	height: 8px;
	border-right: 2px solid var(--rw-gold);
	border-bottom: 2px solid var(--rw-gold);
	transform: rotate(45deg);
	transition: transform .15s ease;
}

.rwc-fold[open] > summary::after {
	top: 10px;
	transform: rotate(-135deg);
}

.rwc-fold > summary:focus-visible {
	outline: 3px solid var(--rw-gold);
	outline-offset: 4px;
	border-radius: 6px;
}

.rw-home .rwc-fold > summary .rwc-card__title {
	margin-bottom: 0;
}

.rwc-fold__hint {
	color: var(--rw-on-dark-3);
	font-size: 13px;
	line-height: 1.4;
}

.rwc-fold[open] > summary {
	margin-bottom: 14px;
}

.rwc-fold[open] .rwc-fold__hint {
	display: none;
}

@media (max-width: 1100px) {
	.rwc-grid {
		row-gap: 0;
	}

	.rwc-main {
		display: contents;
	}

	.rwc-side {
		order: 1;
		margin-top: 16px;
	}

	.rwc-card--outs {
		order: 2;
	}
}
