/* =========================================================================
   French roulette (/french-roulette/). Loaded on that page only, after
   learn.css and wheels.css. Tool panels follow the light tools in tools.css:
   white panel, light inner cards, white buttons that turn black when chosen.
   ========================================================================= */

.fr .fr-h3 {
	margin: 44px 0 16px;
	color: var(--rw-ink);
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -.01em;
	line-height: 1.2;
}

/* ---------- Hero: a quiet real-money pick under the main button ---------- */

.fr-toppick {
	display: flex;
	gap: 12px;
	align-items: center;
	margin-top: 12px;
	padding: 10px 12px;
	background: var(--rw-ink-2);
	border: 1px solid var(--rw-ink-line);
	border-radius: 12px;
}

.fr-toppick .fr-toppick__logo {
	flex: 0 0 56px;
	width: 56px;
	height: 38px;
	border: 1px solid var(--rw-ink-line);
	border-radius: 8px;
	box-sizing: border-box;
}

.rw-home .fr-toppick__text {
	flex: 1 1 auto;
	min-width: 0;
	font-size: 12.5px;
	line-height: 1.35;
}

.fr-toppick__text span {
	display: block;
	color: var(--rw-on-dark-2);
	font-weight: 600;
}

.fr-toppick__text strong {
	display: block;
	color: #FFFFFF;
	font-size: 13.5px;
	font-weight: 800;
}

.rw-home a.fr-toppick__go {
	flex: 0 0 auto;
	padding: 7px 14px;
	border: 1px solid var(--rw-gold);
	border-radius: 999px;
	color: var(--rw-gold);
	font-size: 13px;
	font-weight: 800;
	text-decoration: none;
	transition: background-color .15s ease, color .15s ease;
}

.rw-home a.fr-toppick__go:hover,
.rw-home a.fr-toppick__go:focus-visible {
	background: var(--rw-gold);
	color: var(--rw-ink);
}

/* ---------- Call bet map ---------- */

.fr-map {
	margin-top: 28px;
	padding: 24px;
	background: var(--rw-white);
	border: 1px solid var(--rw-line);
	border-radius: 20px;
	box-shadow: var(--rwx-panel-shadow, 0 24px 48px -32px rgba(14, 16, 19, .3));
}

.fr-map__bar {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 32px;
	align-items: flex-end;
	justify-content: space-between;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--rw-line);
}

.fr-map__group {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

.fr-map__main {
	display: grid;
	grid-template-columns: minmax(0, 440px) minmax(0, 1fr);
	gap: 32px;
	align-items: center;
	margin-top: 24px;
}

.fr-map__wheel,
.fr-map__track,
.fr-map__board,
.fr-xl__board {
	margin: 0;
}

.fr-map__wheel figcaption,
.fr-map__track figcaption,
.fr-map__board figcaption {
	margin-top: 10px;
	color: var(--rw-muted);
	font-size: 13.5px;
	font-weight: 600;
	text-align: center;
}

.fr-map__felt figcaption {
	color: rgba(255, 255, 255, .78);
}

/* The wheel */

.fr-wheel {
	display: block;
	width: 100%;
	max-width: 440px;
	height: auto;
	margin: 0 auto;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
}

.fr-wheel__rim {
	fill: #0E1013;
}

.fr-wheel__hub {
	fill: #15181D;
}

.fr-wheel__ring {
	fill: none;
	stroke: #D4A84B;
	stroke-width: 1.5;
	opacity: .7;
}

.fr-wheel__big {
	fill: #FFFFFF;
	font-family: var(--rw-display);
	font-size: 72px;
	font-weight: 800;
	text-anchor: middle;
	dominant-baseline: central;
}

.fr-wheel__small {
	fill: #D4A84B;
	font-family: var(--rw-body);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .14em;
	text-anchor: middle;
	text-transform: uppercase;
}

.fr-band {
	fill: #262A31;
	transition: fill .2s ease;
}

.fr-band.is-lit {
	fill: #D4A84B;
}

.fr-band__t {
	fill: #8E95A0;
	font-family: var(--rw-body);
	font-size: 9.5px;
	font-weight: 800;
	letter-spacing: .16em;
	text-anchor: middle;
	text-transform: uppercase;
	dominant-baseline: central;
	pointer-events: none;
}

.fr-band__t.is-lit {
	fill: #0E1013;
}

.fr-p path,
.fr-tp path {
	stroke: #0E1013;
	stroke-width: 1.2;
	transition: opacity .2s ease, filter .2s ease;
}

.fr-p--red path,
.fr-tp.fr-p--red path {
	fill: #C8102E;
}

.fr-p--black path,
.fr-tp.fr-p--black path {
	fill: #22262D;
}

.fr-p--zero path,
.fr-tp.fr-p--zero path {
	fill: #1E7A52;
}

.fr-p text {
	fill: #FFFFFF;
	font-family: var(--rw-display);
	font-size: 14px;
	font-weight: 800;
	text-anchor: middle;
	dominant-baseline: central;
	pointer-events: none;
	transition: opacity .2s ease;
}

.fr-p {
	cursor: pointer;
}

.fr-p.is-off path {
	opacity: .28;
}

.fr-p.is-off text {
	opacity: .45;
}

/* On the felt, numbers outside the bet sink into the cloth. */
.fr-tp.is-off path {
	fill: rgba(8, 40, 26, .55);
	stroke: rgba(255, 255, 255, .28);
}

.fr-tp.is-off text {
	fill: rgba(255, 255, 255, .5);
}

.fr-p.is-on path {
	filter: brightness(1.12);
}

/* Results */

.fr-out {
	min-width: 0;
}

.rw-home .fr-out__en {
	color: var(--rw-gold-text);
	font-size: 14px;
	font-weight: 800;
}

.rw-home .fr-out__name {
	margin-top: 4px;
	color: var(--rw-ink);
	font-size: 32px;
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1.1;
}

.rw-home .fr-out__about {
	margin-top: 10px;
	color: var(--rw-text-2);
	font-size: 16px;
	line-height: 1.55;
}

.rw-home .fr-out__kpis {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin: 18px 0 0;
}

.fr-out__kpis > div {
	padding: 12px 14px;
	background: var(--rw-paper-2);
	border: 1px solid var(--rw-line);
	border-radius: 12px;
}

.rw-home .fr-out__kpis dt {
	color: var(--rw-muted);
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1.3;
}

.rw-home .fr-out__kpis dd {
	margin: 4px 0 0;
}

.fr-out__kpis strong {
	display: block;
	color: var(--rw-ink);
	font-family: var(--rw-display);
	font-size: 26px;
	font-weight: 800;
	line-height: 1.1;
}

.fr-out__kpis dd span {
	display: block;
	margin-top: 2px;
	color: var(--rw-muted);
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.35;
}

.rw-home .fr-out__label {
	margin-top: 20px;
	color: var(--rw-muted);
	font-size: 13px;
	font-weight: 800;
}

.rw-home .fr-out__hits {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: 8px;
}

.rw-home .fr-out__hits li {
	display: grid;
	grid-template-columns: 76px minmax(0, 1fr);
	gap: 12px;
	align-items: baseline;
	padding: 8px 12px;
	background: var(--rw-gold-soft);
	border-radius: 10px;
	font-size: 15px;
	line-height: 1.4;
}

.fr-out__hits strong {
	color: var(--rw-gold-ink);
	font-family: var(--rw-display);
	font-size: 17px;
	font-weight: 800;
}

.fr-out__hits span {
	color: var(--rw-text);
	font-weight: 600;
}

.rw-home .fr-out__hits li.is-miss {
	background: var(--rw-paper);
}

.fr-out__hits li.is-miss strong {
	color: var(--rw-text-2);
}

.fr-out__hits li.is-miss span {
	color: var(--rw-muted);
}

.rw-home .fr-out__place {
	margin-top: 16px;
	color: var(--rw-text-2);
	font-size: 15px;
	line-height: 1.55;
}

.fr-out__place strong {
	color: var(--rw-ink);
}

.rw-home .fr-out__links {
	margin-top: 12px;
	font-size: 15px;
	font-weight: 700;
}

.fr-out__links a {
	color: var(--rw-ink);
	text-decoration: underline;
	text-decoration-color: var(--rw-gold);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

/* The felt: racetrack and table */

.fr-map__felt {
	display: flex;
	flex-direction: column;
	gap: 22px;
	margin-top: 28px;
	padding: 22px 22px 18px;
	background: #145C3E;
	background: radial-gradient(120% 140% at 50% 0, #1E7A52 0, #145C3E 70%);
	border: 6px solid #3B2A17;
	border-radius: 20px;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.fr-map__track,
.fr-map__board {
	width: 100%;
	max-width: 900px;
	margin: 0 auto;
}

.fr-track,
.fr-table {
	display: block;
	width: 100%;
	height: auto;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
}

.fr-region path {
	fill: rgba(255, 255, 255, .05);
	stroke: rgba(255, 255, 255, .5);
	stroke-width: 1.2;
	transition: fill .2s ease;
}

.fr-region {
	cursor: pointer;
	outline: none;
}

.fr-region:hover path,
.fr-region:focus-visible path {
	fill: rgba(255, 255, 255, .12);
}

.fr-region.is-lit path {
	fill: rgba(212, 168, 75, .34);
	stroke: #E9CB82;
}

.fr-region:focus-visible path {
	stroke: #E9CB82;
	stroke-width: 3;
}

.fr-region__t {
	fill: rgba(255, 255, 255, .86);
	font-family: var(--rw-body);
	font-size: 15px;
	font-weight: 800;
	letter-spacing: .06em;
	text-anchor: middle;
	dominant-baseline: central;
	pointer-events: none;
}

.fr-region__t.is-lit {
	fill: #FFFFFF;
}

.fr-tp {
	cursor: pointer;
	outline: none;
}

.fr-tp path {
	stroke: rgba(255, 255, 255, .6);
	stroke-width: 1;
}

.fr-tp text {
	fill: #FFFFFF;
	font-family: var(--rw-display);
	font-size: 16px;
	font-weight: 800;
	text-anchor: middle;
	dominant-baseline: central;
	pointer-events: none;
}

.fr-tp:focus-visible path {
	stroke: #E9CB82;
	stroke-width: 3;
}

.fr-tp.is-on path {
	stroke: #E9CB82;
	stroke-width: 2;
}

/* The table */

.fr-table__rail {
	fill: #3B2A17;
}

.fr-table__felt {
	fill: #17633F;
}

.fr-map__felt .fr-table__rail,
.fr-map__felt .fr-table__felt {
	display: none;
}

.fr-cell rect,
.fr-cell path:first-child {
	stroke: rgba(255, 255, 255, .6);
	stroke-width: 1.4;
	transition: opacity .2s ease, fill .2s ease;
}

.fr-cell--red rect {
	fill: #C8102E;
}

.fr-cell--black rect {
	fill: #16191E;
}

.fr-cell--zero path {
	fill: #1E7A52;
}

.fr-cell--out rect {
	fill: rgba(255, 255, 255, .04);
}

.fr-cell text {
	fill: #FFFFFF;
	font-family: var(--rw-display);
	font-size: 20px;
	font-weight: 800;
	text-anchor: middle;
	dominant-baseline: central;
	pointer-events: none;
}

.fr-cell--out text {
	font-family: var(--rw-body);
	font-size: 17px;
	letter-spacing: .02em;
}

.fr-cell text.fr-cell__sm {
	font-size: 14px;
}

.fr-diamond {
	stroke: rgba(255, 255, 255, .85);
	stroke-width: 1.4;
	pointer-events: none;
}

.fr-cell--rouge .fr-diamond {
	fill: #C8102E;
}

.fr-cell--noir .fr-diamond {
	fill: #16191E;
}

.fr-map__board .fr-cell.is-off rect,
.fr-map__board .fr-cell.is-off path:first-child {
	fill: rgba(8, 40, 26, .55);
	stroke: rgba(255, 255, 255, .28);
}

.fr-map__board .fr-cell.is-off text {
	fill: rgba(255, 255, 255, .5);
}

.fr-chip circle {
	fill: #D4A84B;
	stroke: #FFFFFF;
	stroke-width: 2.5;
}

.fr-chip circle.fr-chip__ring {
	fill: none;
	stroke: rgba(14, 16, 19, .45);
	stroke-width: 1.5;
	stroke-dasharray: 3 3;
}

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

.fr-chip text {
	fill: #0E1013;
	font-family: var(--rw-display);
	font-size: 14px;
	font-weight: 800;
	text-anchor: middle;
	dominant-baseline: central;
}

/* Call bets table */

.fr-calls th span,
.fr-calls td span {
	display: block;
	margin-top: 3px;
	color: var(--rw-muted);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}

.fr-calls td span.fr-calls__hit {
	color: var(--rw-text);
	font-size: 14px;
}

.fr-calls td span.fr-calls__hit:first-child {
	margin-top: 0;
}

.fr-calls td:nth-child(4) {
	min-width: 220px;
	font-size: 14.5px;
	line-height: 1.5;
}

.fr-calls td:nth-child(2) {
	min-width: 170px;
}

/* ---------- When zero lands ---------- */

.fr-zero {
	margin-top: 28px;
	padding: 24px;
	background: var(--rw-white);
	border: 1px solid var(--rw-line);
	border-radius: 20px;
	box-shadow: var(--rwx-panel-shadow, 0 24px 48px -32px rgba(14, 16, 19, .3));
}

.fr-zero__panel {
	margin-top: 22px;
}

.fr-zero__panel[hidden] {
	display: none;
}

.rw-home .fr-steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 34px;
	counter-reset: none;
}

.rw-home .fr-step {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 18px 18px 16px;
	background: var(--rw-paper-2);
	border: 1px solid var(--rw-line);
	border-radius: 14px;
}

.rw-home .fr-step + .fr-step::before {
	content: "";
	position: absolute;
	top: 50%;
	left: -27px;
	width: 20px;
	height: 2px;
	background: var(--rw-muted);
}

.rw-home .fr-step + .fr-step::after {
	content: "";
	position: absolute;
	top: calc(50% - 5px);
	left: -12px;
	border: 6px solid transparent;
	border-left-color: var(--rw-muted);
	border-right-width: 0;
}

.fr-step__k {
	color: var(--rw-muted);
	font-size: 12.5px;
	font-weight: 800;
}

.fr-step strong {
	color: var(--rw-ink);
	font-family: var(--rw-display);
	font-size: 28px;
	font-weight: 800;
	line-height: 1.1;
}

.fr-step > span:last-child {
	color: var(--rw-text-2);
	font-size: 14.5px;
	line-height: 1.45;
}

.fr-step strong.fr-ball {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	background: #1E7A52;
	border: 3px solid #FFFFFF;
	border-radius: 50%;
	box-shadow: 0 0 0 2px #1E7A52;
	color: #FFFFFF;
	font-size: 22px;
}

.rw-home .fr-step--half {
	background: var(--rw-gold-soft);
	border-color: var(--rw-gold);
}

.fr-step--half strong {
	color: var(--rw-gold-ink);
}

.rw-home .fr-step--held {
	border-color: var(--rw-ink);
	box-shadow: inset 0 0 0 1px var(--rw-ink);
}

.rw-home .fr-step--lost strong {
	color: var(--rw-text-2);
}

.rw-home .fr-branches {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-top: 16px;
}

.rw-home .fr-branches li {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 14px 16px;
	border: 1px solid var(--rw-line);
	border-radius: 12px;
	background: var(--rw-white);
}

.fr-branches__k {
	color: var(--rw-muted);
	font-size: 12.5px;
	font-weight: 800;
}

.fr-branches strong {
	color: var(--rw-ink);
	font-family: var(--rw-display);
	font-size: 21px;
	font-weight: 800;
}

.fr-branches li > span:not(.fr-branches__k) {
	color: var(--rw-text-2);
	font-size: 14px;
	line-height: 1.4;
}

.fr-branches em {
	position: absolute;
	top: 12px;
	right: 14px;
	color: var(--rw-muted);
	font-size: 13px;
	font-style: normal;
	font-weight: 800;
}

.rw-home .fr-branches li.is-up {
	background: var(--rw-gold-soft);
	border-color: var(--rw-gold);
}

.fr-branches li.is-up strong {
	color: var(--rw-gold-ink);
}

.rw-home .fr-branches li.is-down {
	background: var(--rw-paper);
}

.rw-home .fr-branches li.is-wall {
	border-color: #E07A3F;
	border-style: dashed;
}

.fr-branches li.is-wall strong {
	color: var(--rwx-copper-ink, #A84E1F);
}

.rw-home .fr-zero__sum {
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid var(--rw-line);
	color: var(--rw-text-2);
	font-size: 16px;
	line-height: 1.55;
}

.fr-zero__sum strong {
	color: var(--rw-ink);
}

.fr-why {
	margin-top: 36px;
}

.rw-home .fr-why h3 {
	margin: 0 0 10px;
	color: var(--rw-ink);
	font-size: 20px;
	font-weight: 800;
}

.rw-home .fr-why h3 + p {
	margin-top: 0;
}

.rw-home .fr-why p + h3 {
	margin-top: 24px;
}

/* Cost ladder */

.fr-ladder {
	margin: 0;
	padding: 22px;
	background: var(--rw-white);
	border: 1px solid var(--rw-line);
	border-radius: 18px;
	box-shadow: var(--rwx-panel-shadow, 0 24px 48px -32px rgba(14, 16, 19, .3));
}

.fr-ladder figcaption {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-bottom: 16px;
}

.fr-ladder__k {
	color: var(--rw-gold-text);
	font-size: 12.5px;
	font-weight: 800;
}

.fr-ladder__t {
	color: var(--rw-ink);
	font-family: var(--rw-display);
	font-size: 22px;
	font-weight: 800;
	line-height: 1.2;
}

.rw-home .fr-ladder ol {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.rw-home .fr-ladder li {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 76px;
	gap: 14px;
	align-items: center;
	padding: 12px 14px;
	background: var(--rw-paper-2);
	border: 1px solid var(--rw-line);
	border-radius: 12px;
}

.fr-ladder__name strong,
.fr-ladder__out strong {
	display: block;
	color: var(--rw-ink);
	font-size: 15px;
	font-weight: 800;
	line-height: 1.25;
}

.fr-ladder__out strong {
	font-family: var(--rw-display);
	font-size: 20px;
	text-align: right;
}

.fr-ladder__name span,
.fr-ladder__out span {
	display: block;
	margin-top: 2px;
	color: var(--rw-muted);
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.3;
}

.fr-ladder__out span {
	text-align: right;
}

.fr-ladder__bar {
	height: 10px;
	background: var(--rwx-hair, #ECEDE9);
	border-radius: 999px;
	overflow: hidden;
}

.fr-ladder__bar span {
	display: block;
	height: 100%;
	background: var(--rwx-ramp, linear-gradient(90deg, #D4A84B, #E07A3F));
	border-radius: 999px;
}

.rw-home .fr-ladder li.is-best {
	background: var(--rw-gold-soft);
	border-color: var(--rw-gold);
}

.rw-home .fr-ladder__note {
	margin-top: 14px;
	color: var(--rw-muted);
	font-size: 13px;
	line-height: 1.5;
}

/* ---------- Real-money call to action (dark, like the hero pick box) ---------- */

.fr-cta {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(0, 1.5fr);
	gap: 24px 36px;
	align-items: center;
	margin-top: 44px;
	padding: 32px;
	overflow: hidden;
	background: var(--rw-ink);
	background: radial-gradient(520px 260px at 0 0, rgba(212, 168, 75, .14), transparent 70%), radial-gradient(520px 300px at 100% 100%, rgba(200, 16, 46, .14), transparent 70%), var(--rw-ink);
	border-radius: 22px;
	color: var(--rw-on-dark);
}

.rw-home .fr-cta__k {
	color: var(--rw-gold);
	font-size: 13px;
	font-weight: 800;
}

.rw-home .fr-cta__title {
	margin-top: 8px;
	color: #FFFFFF;
	font-size: 30px;
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1.15;
}

.rw-home .fr-cta__lead {
	margin-top: 12px;
	color: var(--rw-on-dark);
	font-size: 16px;
	line-height: 1.55;
}

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

.fr-cta__card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 18px;
	background: var(--rw-ink-2);
	border: 1px solid var(--rw-ink-line);
	border-radius: 16px;
}

.fr-cta__top {
	display: flex;
	gap: 12px;
	align-items: center;
}

.fr-cta__top .rw-logo--sm {
	flex: 0 0 80px;
	width: 80px;
	height: 56px;
}

.fr-cta__id {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	min-width: 0;
}

.rw-home .fr-cta__name {
	color: #FFFFFF;
	font-size: 21px;
	font-weight: 800;
	line-height: 1.1;
}

.rw-home .fr-cta__facts {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
}

.fr-cta__facts > div {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding-top: 8px;
	border-top: 1px solid var(--rw-ink-line);
}

.rw-home .fr-cta__facts dt {
	color: var(--rw-on-dark-2);
	font-size: 13px;
	font-weight: 700;
}

.rw-home .fr-cta__facts dd {
	margin: 0;
	color: #FFFFFF;
	font-size: 14px;
	font-weight: 800;
	text-align: right;
}

.fr-cta__facts dd span {
	display: block;
	margin-top: 2px;
	color: var(--rw-on-dark-2);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.35;
}

.rw-home .fr-cta__review {
	color: var(--rw-on-dark);
	font-size: 14px;
	font-weight: 700;
	text-align: center;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.rw-home .fr-cta__review:hover {
	color: #FFFFFF;
}

.rw-home .fr-cta__fine {
	grid-column: 1 / -1;
	color: var(--rw-on-dark-2);
	font-size: 12.5px;
	line-height: 1.5;
}

.fr-cta__fine a {
	color: var(--rw-on-dark);
}

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

@media (max-width: 640px) {
	.fr-cta {
		padding: 20px 16px;
		border-radius: 18px;
	}

	.rw-home .fr-cta__title {
		font-size: 25px;
	}

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

/* ---------- Table translator ---------- */

.fr-xl {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 24px;
	align-items: center;
	margin-top: 28px;
	padding: 24px;
	background: var(--rw-white);
	border: 1px solid var(--rw-line);
	border-radius: 20px;
	box-shadow: var(--rwx-panel-shadow, 0 24px 48px -32px rgba(14, 16, 19, .3));
}

.fr-xl .fr-cell {
	cursor: pointer;
	outline: none;
}

.fr-xl .fr-cell:hover rect,
.fr-xl .fr-cell:hover path:first-child {
	stroke: #FFFFFF;
	stroke-width: 2.5;
}

.fr-xl .fr-cell.is-sel rect,
.fr-xl .fr-cell.is-sel path:first-child,
.fr-xl .fr-cell:focus-visible rect,
.fr-xl .fr-cell:focus-visible path:first-child {
	stroke: #E9CB82;
	stroke-width: 4;
}

.fr-xl .fr-cell--out.is-sel rect {
	fill: rgba(212, 168, 75, .32);
}

.fr-xl__out {
	padding: 20px;
	background: var(--rw-paper-2);
	border: 1px solid var(--rw-line);
	border-radius: 16px;
}

.rw-home .fr-xl__fr {
	color: var(--rw-ink);
	font-family: var(--rw-display);
	font-size: 30px;
	font-weight: 800;
	letter-spacing: -.01em;
	line-height: 1.1;
}

.rw-home .fr-xl__en {
	margin-top: 4px;
	color: var(--rw-gold-text);
	font-size: 16px;
	font-weight: 800;
}

.rw-home .fr-xl__about {
	margin-top: 10px;
	color: var(--rw-text-2);
	font-size: 15px;
	line-height: 1.5;
}

.rw-home .fr-xl__facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin: 16px 0 0;
}

.fr-xl__facts > div {
	padding: 10px 12px;
	background: var(--rw-white);
	border: 1px solid var(--rw-line);
	border-radius: 10px;
}

.rw-home .fr-xl__facts dt {
	color: var(--rw-muted);
	font-size: 12.5px;
	font-weight: 700;
}

.rw-home .fr-xl__facts dd {
	margin: 2px 0 0;
	color: var(--rw-ink);
	font-family: var(--rw-display);
	font-size: 19px;
	font-weight: 800;
}

.rw-home .fr-xl__facts dd.is-good {
	color: var(--rw-gold-ink);
}

.rw-home .fr-xl__note {
	margin-top: 12px;
	color: var(--rw-text-2);
	font-size: 14px;
	line-height: 1.5;
}

.fr-say {
	margin-top: 28px;
	padding: 24px;
	background: var(--rw-white);
	border: 1px solid var(--rw-line);
	border-radius: 16px;
}

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

.rw-home .fr-say dl {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 14px 28px;
	margin: 16px 0 0;
}

.rw-home .fr-say dt {
	color: var(--rw-ink);
	font-size: 16px;
	font-weight: 800;
	font-style: italic;
}

.rw-home .fr-say dd {
	margin: 2px 0 0;
	color: var(--rw-text-2);
	font-size: 14.5px;
	line-height: 1.45;
}

/* ---------- Downloads ---------- */

.fr-dl {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin-top: 28px;
	align-items: start;
}

.fr-dl__card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--rw-white);
	border: 1px solid var(--rw-line);
	border-radius: 18px;
	box-shadow: var(--rwx-panel-shadow, 0 24px 48px -32px rgba(14, 16, 19, .3));
}

.fr-dl__img {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--rw-paper-2);
	border-bottom: 1px solid var(--rw-line);
}

.fr-dl__img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	transition: transform .3s ease;
}

.fr-dl__img--table img {
	object-fit: contain;
}

@media (hover: hover) {
	.fr-dl__img:hover img {
		transform: scale(1.03);
	}
}

.fr-dl__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 18px 20px 20px;
}

.rw-home .fr-dl__body h3 {
	color: var(--rw-ink);
	font-size: 20px;
	font-weight: 800;
	line-height: 1.2;
}

.rw-home .fr-dl__body p {
	color: var(--rw-text-2);
	font-size: 15px;
	line-height: 1.5;
}

.rw-home .fr-dl__size {
	color: var(--rw-muted);
	font-size: 13px;
	font-weight: 700;
}

.fr-dl__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin-top: 6px;
}

.rw-home .fr-dl__embed,
.rw-home .fr-dl__copy {
	min-height: 44px;
	margin: 0;
	padding: 10px 16px;
	background: var(--rw-white);
	border: 1px solid var(--rw-line);
	border-radius: 999px;
	color: var(--rw-ink);
	font-family: var(--rw-body);
	font-size: 14.5px;
	font-weight: 800;
	cursor: pointer;
}

.rw-home .fr-dl__embed:hover,
.rw-home .fr-dl__copy:hover,
.rw-home .fr-dl__embed[aria-expanded="true"] {
	border-color: var(--rw-ink);
}

.rw-home .fr-dl__embed:focus-visible,
.rw-home .fr-dl__copy:focus-visible {
	outline: 3px solid var(--rw-gold);
	outline-offset: 2px;
}

.fr-dl__code {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 8px;
}

.fr-dl__code[hidden] {
	display: none;
}

.fr-dl__code label {
	color: var(--rw-muted);
	font-size: 13px;
	font-weight: 700;
}

.rw-home .fr-dl__code textarea {
	width: 100%;
	padding: 10px 12px;
	background: var(--rw-paper-2);
	border: 1px solid var(--rw-line);
	border-radius: 10px;
	color: var(--rw-text);
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 12.5px;
	line-height: 1.5;
	resize: vertical;
}

.rw-home .fr-dl__copy {
	align-self: flex-start;
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
	.rw-home .fr-out__kpis {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 1023px) {
	.fr-map__main {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.fr-map__wheel {
		max-width: 420px;
		width: 100%;
		margin: 0 auto;
	}

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

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

	.rw-home .fr-branches {
		grid-template-columns: minmax(0, 1fr);
	}

	.rw-home .fr-branches em {
		position: static;
		order: 3;
	}
}

@media (max-width: 760px) {
	.rw-home .fr-steps {
		grid-template-columns: minmax(0, 1fr);
		gap: 26px;
	}

	.rw-home .fr-step + .fr-step::before {
		top: -20px;
		left: 28px;
		width: 2px;
		height: 14px;
	}

	.rw-home .fr-step + .fr-step::after {
		top: -9px;
		left: 23px;
		border: 6px solid transparent;
		border-top-color: var(--rw-muted);
		border-bottom-width: 0;
	}

	/* Wide drawings scroll sideways rather than shrink past reading size. */
	.fr-map__track,
	.fr-map__board,
	.fr-xl__board {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: thin;
	}

	.fr-map__track svg,
	.fr-map__board svg,
	.fr-xl__board svg {
		min-width: 640px;
	}

	.fr-map__track figcaption,
	.fr-map__board figcaption {
		position: sticky;
		left: 0;
		text-align: left;
	}
}

@media (max-width: 640px) {
	.fr-map,
	.fr-zero,
	.fr-xl {
		padding: 16px;
		border-radius: 16px;
	}

	.fr-map__felt {
		margin-top: 22px;
		padding: 14px 10px 12px;
		border-width: 4px;
		border-radius: 16px;
	}

	.rw-home .fr-out__name {
		font-size: 27px;
	}

	.rw-home .fr-out__hits li {
		grid-template-columns: 64px minmax(0, 1fr);
	}

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

	.rw-home .fr-ladder li {
		grid-template-columns: minmax(0, 1fr) 70px;
	}

	.fr-ladder__bar {
		grid-column: 1 / -1;
		grid-row: 2;
	}
}

@media (prefers-reduced-motion: reduce) {
	.fr-band,
	.fr-p path,
	.fr-p text,
	.fr-tp path,
	.fr-cell rect,
	.fr-region path,
	.fr-dl__img img {
		transition: none;
	}
}
