

.gg-panel {
	border: 1px solid #6b5a3788;
	border-radius: 12px;
	background: linear-gradient(165deg, rgba(44, 32, 20, 0.55), rgba(14, 9, 5, 0.75));
	padding: 26px 28px;
	margin: 20px 0 28px;
}

@media (max-width: 600px) {
	.gg-panel {
		padding: 20px 18px;
	}
}



.bj-tabs {
	display: flex;
	gap: 8px;
	margin-bottom: 18px;
	flex-wrap: wrap;
}

.bj-tab {
	font-family: var(--font-sans);
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--tan);
	background: none;
	border: 1px solid #6b5a3766;
	border-radius: 16px;
	padding: 8px 18px;
	cursor: pointer;
	transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.bj-tab[aria-selected="true"] {
	color: var(--bg);
	background: linear-gradient(180deg, #eac26a, #a37f2e);
	border-color: transparent;
}

.bj-tab:hover:not([aria-selected="true"]) {
	border-color: #c9a24a99;
	color: var(--cream-2);
}

.bj-tab:focus-visible,
.rl-btn:focus-visible {
	outline: 2px solid var(--gold);
	outline-offset: 2px;
}

.bj-scroll {
	overflow-x: auto;
	border-radius: 8px;
}

table.bj-grid {
	border-collapse: collapse;
	width: 100%;
	min-width: 640px;
	font-family: var(--font-mono);
	font-size: 0.78rem;
}

table.bj-grid caption {
	caption-side: top;
	text-align: left;
	font-family: var(--font-sans);
	font-size: 0.72rem;
	color: var(--dim);
	margin-bottom: 8px;
	letter-spacing: 0.02em;
}

table.bj-grid th {
	font-family: var(--font-sans);
	font-size: 0.66rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--gold-2);
	font-weight: 700;
	padding: 9px 4px;
	text-align: center;
	border-bottom: 1px solid var(--line);
}

table.bj-grid th:first-child,
table.bj-grid td:first-child {
	text-align: left;
	padding-left: 10px;
	font-family: var(--font-sans);
	color: var(--cream-2);
	font-weight: 700;
	white-space: nowrap;
}

table.bj-grid td {
	text-align: center;
	padding: 0;
	border: 1px solid #100a0688;
}

table.bj-grid td span {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 34px;
	font-weight: 700;
}

table.bj-grid td.h span {
	color: var(--tan-2);
	background: var(--bg-2);
}

table.bj-grid td.s span {
	color: var(--bg);
	background: linear-gradient(160deg, #e8c778, #a3812f);
}

table.bj-grid td.d span {
	color: var(--bg);
	background: var(--cream-2);
}

table.bj-grid td.p span {
	color: var(--bg);
	background: #a9d894;
}

.bj-legend {
	display: flex;
	gap: 18px;
	flex-wrap: wrap;
	margin-top: 18px;
	font-family: var(--font-sans);
	font-size: 0.76rem;
	color: var(--tan);
}

.bj-legend b {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 5px;
	margin-right: 7px;
	font-family: var(--font-mono);
	font-size: 0.72rem;
}

.bj-legend b.h {
	color: var(--tan-2);
	background: var(--bg-2);
}

.bj-legend b.s {
	color: var(--bg);
	background: linear-gradient(160deg, #e8c778, #a3812f);
}

.bj-legend b.d {
	color: var(--bg);
	background: var(--cream-2);
}

.bj-legend b.p {
	color: var(--bg);
	background: #a9d894;
}

.bj-note {
	margin-top: 16px;
	font-family: var(--font-sans);
	font-size: 0.78rem;
	color: var(--dim);
	border-top: 1px dotted #6b5a3755;
	padding-top: 14px;
}

@media (max-width: 600px) {
	.bj-tab {
		padding: 7px 14px;
		font-size: 0.7rem;
	}
}



.rl-layout {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.rl-board {
	overflow-x: auto;
}

.rl-numgrid {
	display: grid;
	grid-template-columns: 44px repeat(12, 1fr);
	grid-template-rows: repeat(3, 40px);
	gap: 2px;
	min-width: 560px;
}

.rl-zero {
	grid-row: 1 / 4;
	grid-column: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #1c3d24;
	color: var(--cream);
	font-family: var(--font-mono);
	font-weight: 700;
	border-radius: 6px 0 0 6px;
	font-size: 0.86rem;
}

.rl-cell {
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-mono);
	font-weight: 700;
	font-size: 0.82rem;
	color: var(--cream-2);
	border-radius: 3px;
	transition: box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.rl-cell[data-color="red"] {
	background: #5c1c1c;
}

.rl-cell[data-color="black"] {
	background: #171310;
}

.rl-outside {
	display: grid;
	grid-template-columns: 44px repeat(12, 1fr);
	gap: 2px;
	min-width: 560px;
	margin-top: 2px;
}

.rl-col-bet {
	grid-column: 1 / 2;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.62rem;
	color: var(--dim);
	font-family: var(--font-sans);
}

.rl-outside .rl-bet {
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-sans);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--tan-2);
	background: #171310;
	border-radius: 3px;
	height: 36px;
}

.rl-hit {
	box-shadow: 0 0 0 2px var(--gold), 0 0 14px -2px rgba(232, 199, 120, 0.8);
	color: var(--bg) !important;
	background: var(--gold) !important;
	transform: scale(1.06);
	z-index: 2;
}

.rl-controls {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 8px;
}

.rl-btn {
	font-family: var(--font-sans);
	font-size: 0.76rem;
	font-weight: 700;
	text-align: left;
	color: var(--tan);
	background: none;
	border: 1px solid #6b5a3766;
	border-radius: 9px;
	padding: 11px 14px;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.rl-btn .pay {
	font-family: var(--font-mono);
	font-size: 0.72rem;
	color: var(--gold-2);
	font-variant-numeric: tabular-nums;
}

.rl-btn:hover {
	border-color: #c9a24a99;
	color: var(--cream-2);
}

.rl-btn[aria-pressed="true"] {
	background: linear-gradient(90deg, rgba(201, 162, 74, 0.16), rgba(201, 162, 74, 0.03));
	border-color: var(--gold-2);
	color: var(--cream);
}

.rl-btn[aria-pressed="true"] .pay {
	color: var(--gold);
}

.rl-info {
	margin-top: 16px;
	border: 1px solid #6b5a3788;
	border-radius: 10px;
	background: linear-gradient(90deg, rgba(201, 162, 74, 0.1), rgba(201, 162, 74, 0.02));
	padding: 14px 16px;
	font-family: var(--font-sans);
	font-size: 0.82rem;
	color: var(--tan);
	min-height: 64px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
}

.rl-info .name {
	color: var(--cream);
	font-weight: 700;
	font-size: 0.9rem;
}

.rl-info .pay-line {
	font-family: var(--font-mono);
	color: var(--gold);
	font-size: 0.86rem;
	font-variant-numeric: tabular-nums;
}



.he-scroll {
	overflow-x: auto;
}

.he-scale {
	position: relative;
	height: 110px;
	min-width: 640px;
	margin: 32px 10px 8px;
}

.he-track {
	position: absolute;
	top: 60px;
	left: 0;
	right: 0;
	height: 3px;
	border-radius: 2px;
	background: linear-gradient(90deg, #3a2c15, #6b5a37 8%, #6b5a37 92%, #3a2c15);
}

.he-band {
	position: absolute;
	top: 56px;
	height: 11px;
	border-radius: 6px;
	background: rgba(232, 199, 120, 0.16);
	border: 1px solid rgba(232, 199, 120, 0.4);
}

.he-pin {
	position: absolute;
	top: 44px;
	width: 26px;
	height: 26px;
	margin-left: -13px;
	border-radius: 50%;
	border: 2px solid var(--gold-2);
	background: radial-gradient(circle, rgba(201, 162, 74, 0.25), var(--bg-2) 70%);
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.he-pin:hover,
.he-pin[aria-pressed="true"] {
	transform: scale(1.18);
	box-shadow: 0 0 0 3px rgba(232, 199, 120, 0.25);
	background: linear-gradient(160deg, #e8c778, #a3812f);
}

.he-pin-pct {
	position: absolute;
	top: 32px;
	left: 50%;
	transform: translateX(-50%);
	white-space: nowrap;
	font-family: var(--font-mono);
	font-size: 0.62rem;
	font-weight: 700;
	color: var(--dim);
}


.he-pin-pct--offset {
	top: -20px;
}

.he-pin[aria-pressed="true"] .he-pin-pct {
	color: var(--gold);
}

.he-ticks {
	display: flex;
	justify-content: space-between;
	min-width: 640px;
	font-family: var(--font-mono);
	font-size: 0.68rem;
	color: var(--dim);
	margin-top: 6px;
}

.he-info {
	margin-top: 22px;
	border: 1px solid #6b5a3788;
	border-radius: 10px;
	background: linear-gradient(90deg, rgba(201, 162, 74, 0.1), rgba(201, 162, 74, 0.02));
	padding: 14px 16px;
	font-family: var(--font-sans);
	font-size: 0.84rem;
	min-height: 60px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 3px;
}

.he-info .name {
	color: var(--cream);
	font-weight: 700;
	font-size: 0.92rem;
}

.he-info .pct {
	font-family: var(--font-mono);
	color: var(--gold);
	font-size: 0.9rem;
}



.bt-doc {
	font-family: var(--font-serif);
	font-size: 1.05rem;
	line-height: 2;
	color: var(--cream-2);
	background: var(--bg-2);
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: 22px 26px;
	position: relative;
}

.bt-doc::before {
	content: "Example bonus terms — illustrative, not a real operator's actual offer";
	position: absolute;
	top: -11px;
	left: 20px;
	background: var(--bg);
	padding: 0 10px;
	font-family: var(--font-sans);
	font-size: 0.62rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--dim);
}

.bt-term {
	font-family: inherit;
	font-size: inherit;
	color: var(--gold);
	background: rgba(232, 199, 120, 0.08);
	border: none;
	border-bottom: 2px dotted var(--gold-2);
	padding: 1px 3px;
	cursor: pointer;
	font-weight: 600;
}

.bt-term:hover,
.bt-term[aria-pressed="true"] {
	background: rgba(232, 199, 120, 0.22);
	border-bottom-style: solid;
}

.bt-info {
	margin-top: 18px;
	border: 1px solid #6b5a3788;
	border-radius: 10px;
	background: linear-gradient(90deg, rgba(201, 162, 74, 0.1), rgba(201, 162, 74, 0.02));
	padding: 14px 16px;
	font-family: var(--font-sans);
	font-size: 0.84rem;
	min-height: 56px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 3px;
}

.bt-info .name {
	color: var(--cream);
	font-weight: 700;
	font-size: 0.9rem;
}



.sl-layout {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 28px;
	align-items: start;
}

@media (max-width: 760px) {
	.sl-layout {
		grid-template-columns: 1fr;
	}
}

.sl-machine-wrap {
	width: fit-content;
}

.sl-machine {
	width: fit-content;
	background: linear-gradient(180deg, #1a130a, #0d0906 65%);
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 14px;
	box-shadow: inset 0 3px 12px rgba(0, 0, 0, 0.65), inset 0 -1px 0 rgba(232, 199, 120, 0.08);
}

.sl-reel {
	position: relative;
	display: grid;
	grid-template-columns: repeat(5, 58px);
	grid-template-rows: repeat(3, 58px);
	width: 290px;
	background: var(--bg-2);
	border-radius: 8px;
	overflow: hidden;
}

.sl-divider {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 1px;
	background: rgba(107, 90, 55, 0.55);
	pointer-events: none;
}

.sl-cell {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1;
	transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.sl-cell svg {
	width: 30px;
	height: 30px;
	stroke: var(--tan-2);
	fill: none;
	stroke-width: 1.6;
}

.sl-cell .sl-glyph {
	font-family: var(--font-serif);
	font-weight: 700;
	color: var(--tan-2);
	font-size: 1.05rem;
	letter-spacing: 0.02em;
}

.sl-cell.sl-wild svg {
	stroke: none;
	fill: var(--gold);
}

.sl-cell.sl-on {
	transform: scale(1.14);
	background: rgba(232, 199, 120, 0.14);
	box-shadow: inset 0 0 0 1px rgba(232, 199, 120, 0.5);
}

.sl-cell.sl-on svg {
	stroke: var(--gold);
}

.sl-cell.sl-on .sl-glyph {
	color: var(--gold);
}

.sl-cell.sl-fading {
	transform: scale(0.15);
	opacity: 0;
}

.sl-payline-svg {
	position: absolute;
	inset: 0;
	pointer-events: none;
	overflow: visible;
	z-index: 2;
}

.sl-payline-svg path {
	fill: none;
	stroke: var(--gold);
	stroke-width: 3;
	stroke-linecap: round;
	stroke-linejoin: round;
	filter: drop-shadow(0 0 5px rgba(232, 199, 120, 0.75));
	stroke-dasharray: 520;
	stroke-dashoffset: 520;
	transition: stroke-dashoffset 0.6s ease;
}

.sl-payline-svg path.sl-line-on {
	stroke-dashoffset: 0;
}

.sl-wild-burst {
	position: absolute;
	top: 0;
	border-radius: 6px;
	background: linear-gradient(180deg, rgba(232, 199, 120, 0.3), rgba(163, 129, 47, 0.12));
	border: 2px solid var(--gold);
	opacity: 0;
	transform: scaleY(0.25);
	transform-origin: 50% 50%;
	z-index: 0;
	transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sl-wild-burst.sl-burst-on {
	opacity: 1;
	transform: scaleY(1);
}

.sl-caption {
	font-family: var(--font-sans);
	font-size: 0.66rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--dim);
	text-align: center;
	margin-top: 10px;
	max-width: 318px;
}

.sl-controls {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.sl-btn {
	font-family: var(--font-sans);
	font-size: 0.76rem;
	font-weight: 700;
	text-align: left;
	color: var(--tan);
	background: none;
	border: 1px solid #6b5a3766;
	border-radius: 9px;
	padding: 11px 14px;
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.sl-btn:hover {
	border-color: #c9a24a99;
	color: var(--cream-2);
}

.sl-btn[aria-pressed="true"] {
	background: linear-gradient(90deg, rgba(201, 162, 74, 0.16), rgba(201, 162, 74, 0.03));
	border-color: var(--gold-2);
	color: var(--cream);
}

.sl-info {
	margin-top: 18px;
	border: 1px solid #6b5a3788;
	border-radius: 10px;
	background: linear-gradient(90deg, rgba(201, 162, 74, 0.1), rgba(201, 162, 74, 0.02));
	padding: 14px 16px;
	font-family: var(--font-sans);
	font-size: 0.84rem;
	min-height: 56px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 3px;
	grid-column: 1 / -1;
}

.sl-info .name {
	color: var(--cream);
	font-weight: 700;
	font-size: 0.9rem;
}



.cr-pyramid {
	display: flex;
	align-items: flex-end;
	gap: 6px;
	height: 150px;
	padding: 0 4px;
}

.cr-col {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	height: 100%;
	cursor: pointer;
	gap: 5px;
}

.cr-bar {
	width: 100%;
	height: 0;
	border-radius: 4px 4px 2px 2px;
	background: linear-gradient(180deg, #e8c778, #a3812f);
	transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease, height 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.cr-col:hover .cr-bar,
.cr-col[aria-pressed="true"] .cr-bar {
	transform: scaleX(1.12);
	box-shadow: 0 0 14px -2px rgba(232, 199, 120, 0.7);
	filter: brightness(1.15);
}

.cr-col:not(:hover):not([aria-pressed="true"]) .cr-bar {
	opacity: 0.82;
}

.cr-total {
	font-family: var(--font-mono);
	font-weight: 700;
	font-size: 0.86rem;
	color: var(--cream-2);
}

.cr-count {
	font-family: var(--font-mono);
	font-size: 0.6rem;
	color: var(--dim);
}

.cr-info {
	margin-top: 22px;
	border: 1px solid #6b5a3788;
	border-radius: 10px;
	background: linear-gradient(90deg, rgba(201, 162, 74, 0.1), rgba(201, 162, 74, 0.02));
	padding: 14px 16px;
	font-family: var(--font-sans);
	font-size: 0.84rem;
	min-height: 60px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 3px;
}

.cr-info .name {
	color: var(--cream);
	font-weight: 700;
	font-size: 0.92rem;
}

.cr-info .pct {
	font-family: var(--font-mono);
	color: var(--gold);
	font-size: 0.9rem;
}


.icon {
	width: 15px;
	height: 15px;
	display: inline-block;
	vertical-align: -2px;
	stroke: currentColor;
	fill: none;
	stroke-width: 1.7;
	margin-right: 6px;
	flex-shrink: 0;
}

.icon-lg {
	width: 20px;
	height: 20px;
	vertical-align: -5px;
	margin-right: 8px;
}



.bc-groups {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 18px;
}

.bc-tab {
	font-family: var(--font-sans);
	font-size: 0.76rem;
	font-weight: 700;
	color: var(--tan);
	background: none;
	border: 1px solid #6b5a3766;
	border-radius: 16px;
	padding: 9px 18px;
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.bc-tab[aria-pressed="true"] {
	color: var(--bg);
	background: linear-gradient(180deg, #eac26a, #a37f2e);
	border-color: transparent;
}

.bc-tab:hover:not([aria-pressed="true"]) {
	border-color: #c9a24a99;
	color: var(--cream-2);
}

.bc-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
}

.bc-chip {
	font-family: var(--font-sans);
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--dim);
	border: 1px solid #6b5a3755;
	border-radius: 14px;
	padding: 7px 15px;
	transition: all 0.2s ease;
	opacity: 0.4;
}

.bc-chip.bc-active {
	opacity: 1;
	color: var(--cream);
	border-color: var(--gold-2);
	background: rgba(232, 199, 120, 0.1);
	box-shadow: 0 0 0 1px rgba(232, 199, 120, 0.15);
}



.info-box {
	margin-top: 18px;
	border: 1px solid #6b5a3788;
	border-radius: 10px;
	background: linear-gradient(90deg, rgba(201, 162, 74, 0.1), rgba(201, 162, 74, 0.02));
	padding: 14px 16px;
	font-family: var(--font-sans);
	font-size: 0.84rem;
	min-height: 56px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 3px;
}

.info-box .name {
	color: var(--cream);
	font-weight: 700;
	font-size: 0.9rem;
	display: flex;
	align-items: center;
}



.oc-slider-row {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 22px;
}

.oc-slider-row input[type="range"] {
	flex: 1;
	accent-color: var(--gold-2);
	height: 4px;
}

.oc-decimal {
	font-family: var(--font-mono);
	font-size: 1.3rem;
	font-weight: 700;
	color: var(--gold);
	min-width: 72px;
	text-align: right;
}

.oc-outputs {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 12px;
}

.oc-card {
	border: 1px solid #6b5a3766;
	border-radius: 10px;
	padding: 14px 16px;
	text-align: center;
}

.oc-card .label {
	font-family: var(--font-sans);
	font-size: 0.64rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--dim);
	display: flex;
	align-items: center;
	justify-content: center;
}

.oc-card .value {
	font-family: var(--font-mono);
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--cream);
	margin-top: 6px;
	font-variant-numeric: tabular-nums;
}



.ml-presets {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 20px;
}

.ml-preset {
	font-family: var(--font-mono);
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--tan);
	background: none;
	border: 1px solid #6b5a3766;
	border-radius: 9px;
	padding: 9px 16px;
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.ml-preset[aria-pressed="true"] {
	background: linear-gradient(90deg, rgba(201, 162, 74, 0.16), rgba(201, 162, 74, 0.03));
	border-color: var(--gold-2);
	color: var(--cream);
}

.ml-readout {
	display: flex;
	gap: 28px;
	align-items: center;
	flex-wrap: wrap;
}

.ml-payout {
	font-family: var(--font-serif);
	font-size: 2rem;
	color: var(--gold);
}

.ml-payout small {
	display: flex;
	align-items: center;
	font-family: var(--font-sans);
	font-size: 0.66rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--dim);
	margin-bottom: 4px;
}

.ml-meter-wrap {
	flex: 1;
	min-width: 200px;
}

.ml-meter-label {
	display: flex;
	justify-content: space-between;
	font-family: var(--font-sans);
	font-size: 0.7rem;
	color: var(--dim);
	margin-bottom: 5px;
}

.ml-meter {
	height: 10px;
	border-radius: 5px;
	background: #2a1f12;
	overflow: hidden;
}

.ml-meter-fill {
	height: 100%;
	border-radius: 5px;
	background: linear-gradient(90deg, #a3812f, #e8c778);
	width: 0;
	transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}



.sp-scenarios {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 22px;
}

.sp-scenario {
	font-family: var(--font-sans);
	font-size: 0.74rem;
	font-weight: 700;
	color: var(--tan);
	background: none;
	border: 1px solid #6b5a3766;
	border-radius: 9px;
	padding: 9px 14px;
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.sp-scenario[aria-pressed="true"] {
	background: linear-gradient(90deg, rgba(201, 162, 74, 0.16), rgba(201, 162, 74, 0.03));
	border-color: var(--gold-2);
	color: var(--cream);
}

.sp-line {
	position: relative;
	height: 70px;
	margin: 20px 6px 6px;
}

.sp-track {
	position: absolute;
	top: 34px;
	left: 0;
	right: 0;
	height: 3px;
	background: #3a2c15;
	border-radius: 2px;
}

.sp-threshold {
	position: absolute;
	top: 20px;
	width: 2px;
	height: 32px;
	background: var(--gold-2);
}

.sp-threshold-label {
	position: absolute;
	top: -16px;
	left: 50%;
	transform: translateX(-50%);
	white-space: nowrap;
	font-family: var(--font-mono);
	font-size: 0.62rem;
	color: var(--gold-2);
}

.sp-marker {
	position: absolute;
	top: 24px;
	width: 22px;
	height: 22px;
	margin-left: -11px;
	border-radius: 50%;
	border: 2px solid var(--gold);
	background: var(--bg);
	transition: left 0.5s cubic-bezier(0.22, 1, 0.36, 1);
	z-index: 2;
}

.sp-marker-label {
	position: absolute;
	top: 44px;
	left: 50%;
	transform: translateX(-50%);
	white-space: nowrap;
	font-family: var(--font-mono);
	font-size: 0.68rem;
	font-weight: 700;
	color: var(--cream);
}

.sp-badge {
	display: inline-flex;
	align-items: center;
	font-family: var(--font-sans);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 5px 14px;
	border-radius: 12px;
	margin-top: 26px;
}

.sp-badge.cover {
	background: rgba(169, 216, 148, 0.16);
	color: var(--pos);
	border: 1px solid rgba(169, 216, 148, 0.4);
}

.sp-badge.lose {
	background: rgba(207, 154, 109, 0.16);
	color: var(--neg);
	border: 1px solid rgba(207, 154, 109, 0.4);
}

.sp-badge.push {
	background: rgba(232, 199, 120, 0.14);
	color: var(--gold);
	border: 1px solid rgba(232, 199, 120, 0.4);
}



.pl-controls {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 22px;
	flex-wrap: wrap;
}

.pl-legs {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.pl-leg {
	width: 38px;
	height: 38px;
	border-radius: 8px;
	border: 1px solid var(--gold-2);
	background: linear-gradient(160deg, rgba(232, 199, 120, 0.2), rgba(163, 129, 47, 0.1));
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-mono);
	font-size: 0.68rem;
	color: var(--gold);
	font-weight: 700;
}

.pl-link {
	display: flex;
	align-items: center;
	color: var(--gold-2);
	opacity: 0.7;
}

.pl-link .icon {
	margin-right: 0;
	width: 13px;
	height: 13px;
}

.pl-btn {
	font-family: var(--font-sans);
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--bg);
	background: linear-gradient(180deg, #eac26a, #a37f2e);
	border: none;
	border-radius: 9px;
	padding: 9px 16px;
	cursor: pointer;
}

.pl-btn.pl-remove {
	background: none;
	color: var(--tan);
	border: 1px solid #6b5a3766;
}

.pl-btn:disabled {
	opacity: 0.35;
	cursor: default;
}

.pl-compare {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.pl-col {
	border: 1px solid #6b5a3766;
	border-radius: 10px;
	padding: 16px;
}

.pl-col .label {
	font-family: var(--font-sans);
	font-size: 0.64rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--dim);
}

.pl-col .value {
	font-family: var(--font-mono);
	font-size: 1.6rem;
	font-weight: 700;
	margin-top: 6px;
	font-variant-numeric: tabular-nums;
}

.pl-col.pl-real .value {
	color: var(--gold);
}

.pl-col.pl-true .value {
	color: var(--cream-2);
}

.pl-gap {
	margin-top: 14px;
	height: 8px;
	border-radius: 4px;
	background: #2a1f12;
	position: relative;
	overflow: hidden;
}

.pl-gap-fill {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	background: linear-gradient(90deg, #a3812f, #e8c778);
	width: 0;
	transition: width 0.5s ease;
	border-radius: 4px;
}



.fb-compare {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

.fb-col {
	text-align: center;
}

.fb-col .label {
	font-family: var(--font-sans);
	font-size: 0.72rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--dim);
	margin-bottom: 10px;
}

.fb-bar-wrap {
	height: 160px;
	display: flex;
	flex-direction: column-reverse;
	border: 1px dashed #6b5a3766;
	border-radius: 8px;
	overflow: hidden;
}

.fb-seg {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-mono);
	font-size: 0.78rem;
	font-weight: 700;
}

.fb-seg.stake {
	background: linear-gradient(180deg, #6b5a37, #3a2c15);
	color: var(--cream-2);
}

.fb-seg.winnings {
	background: linear-gradient(180deg, #e8c778, #a3812f);
	color: var(--bg);
}

.fb-seg.ghost {
	background: repeating-linear-gradient(45deg, #2a1f12, #2a1f12 6px, #1a1309 6px, #1a1309 12px);
	color: var(--dim);
	border-top: 1px dashed #6b5a3766;
}

.fb-total {
	margin-top: 10px;
	font-family: var(--font-mono);
	font-size: 1rem;
	color: var(--cream);
	font-weight: 700;
}



.cs-strip {
	display: flex;
	height: 64px;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid var(--line);
}

.cs-seg {
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-family: var(--font-sans);
	font-weight: 700;
	font-size: 0.78rem;
	color: var(--bg);
	background: var(--tan-2);
	border-right: 1px solid var(--bg);
	transition: filter 0.15s ease;
	position: relative;
}

.cs-seg:last-child {
	border-right: none;
}

.cs-seg:hover {
	filter: brightness(1.12);
}

.cs-seg.active {
	background: var(--gold);
	color: var(--bg);
	z-index: 1;
}

.cs-seg.active::after {
	content: "";
	position: absolute;
	bottom: -9px;
	left: 50%;
	transform: translateX(-50%);
	border: 6px solid transparent;
	border-top-color: var(--gold);
}

.cs-legend {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	margin-top: 14px;
	font-size: 0.74rem;
	color: var(--dim);
}

.cs-legend span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.cs-legend i {
	width: 10px;
	height: 10px;
	border-radius: 2px;
	background: var(--tan-2);
	display: inline-block;
}



.pz-ladder {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.pz-rung {
	display: grid;
	grid-template-columns: 120px 1fr 110px;
	align-items: center;
	gap: 14px;
	padding: 10px 14px;
	border-radius: 8px;
	border: 1px solid #6b5a3733;
	cursor: pointer;
	background: rgba(255, 255, 255, 0.015);
	transition: background 0.15s ease, border-color 0.15s ease;
}

.pz-rung:hover {
	background: rgba(232, 199, 120, 0.06);
}

.pz-rung.active {
	border-color: var(--gold-2);
	background: rgba(232, 199, 120, 0.1);
}

.pz-rung .pz-match {
	font-family: var(--font-mono);
	font-size: 0.8rem;
	color: var(--cream-2);
	font-weight: 600;
}

.pz-rung.jackpot .pz-match {
	color: var(--gold);
}

.pz-bar-track {
	display: block;
	height: 8px;
	background: #ffffff14;
	border: 1px solid #6b5a3755;
	border-radius: 4px;
	overflow: hidden;
}

.pz-bar-fill {
	display: block;
	height: 100%;
	background: linear-gradient(90deg, var(--gold-dark), var(--gold));
	border-radius: 4px;
	transition: width 0.4s ease;
}

.pz-rung .pz-odds {
	font-family: var(--font-mono);
	font-size: 0.72rem;
	color: var(--dim);
	text-align: right;
}

.pz-detail {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
}

.pz-detail div b {
	display: block;
	color: var(--gold-2);
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 3px;
}



.pr-grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 7px;
	margin: 0 auto 16px;
	max-width: 640px;
}

.pr-tix {
	aspect-ratio: 1;
	border-radius: 5px;
	cursor: pointer;
	position: relative;
	overflow: hidden;
	background: repeating-linear-gradient(135deg, #3a2f1c, #3a2f1c 3px, #342a19 3px, #342a19 6px);
	border: 1px solid var(--line);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.1s ease;
}

.pr-tix .icon {
	width: 13px;
	height: 13px;
	color: var(--dim);
	opacity: 0.6;
	margin-right: 0;
}

.pr-tix:hover {
	transform: scale(1.06);
}

.pr-tix.revealed {
	cursor: default;
}

.pr-tix.revealed:hover {
	transform: none;
}

.pr-tix.revealed.win {
	background: linear-gradient(145deg, var(--gold), var(--gold-dark));
	border-color: var(--gold);
}

.pr-tix.revealed.win .icon {
	color: var(--bg);
	opacity: 1;
}

.pr-tix.revealed.lose {
	background: #1a140c;
	border-color: #463a24;
}

.pr-tix.revealed.lose .icon {
	color: var(--dim);
	opacity: 0.5;
}

.pr-controls {
	display: flex;
	gap: 10px;
	align-items: center;
	flex-wrap: wrap;
	margin-bottom: 16px;
}

.pr-btn {
	font-family: var(--font-sans);
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--cream);
	background: linear-gradient(180deg, #2a2013, #1b140b);
	border: 1px solid var(--gold-2);
	border-radius: 16px;
	padding: 8px 18px;
	cursor: pointer;
}

.pr-btn:hover {
	filter: brightness(1.15);
}

.pr-stat {
	font-family: var(--font-mono);
	font-size: 0.78rem;
	color: var(--tan);
}

.pr-stat b {
	color: var(--gold);
}



.st-track {
	display: flex;
	align-items: flex-start;
	gap: 0;
	margin-bottom: 22px;
}

.st-step {
	flex: 1;
	text-align: center;
	cursor: pointer;
	position: relative;
	padding: 0 6px;
}

.st-step .st-line {
	position: absolute;
	top: 19px;
	left: -50%;
	width: 100%;
	height: 2px;
	background: var(--line);
	z-index: 0;
}

.st-step:first-child .st-line {
	display: none;
}

.st-step.done .st-line {
	background: var(--gold-2);
}

.st-num {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 2px solid var(--line);
	background: var(--bg-2);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 10px;
	position: relative;
	z-index: 1;
	color: var(--dim);
	font-family: var(--font-mono);
	font-weight: 700;
	transition: all 0.15s ease;
}

.st-step.active .st-num {
	border-color: var(--gold);
	color: var(--gold);
	background: rgba(232, 199, 120, 0.12);
}

.st-step.done .st-num {
	border-color: var(--gold-2);
	color: var(--gold-2);
}

.st-label {
	font-size: 0.76rem;
	color: var(--tan);
	font-weight: 600;
}

.st-step.active .st-label {
	color: var(--cream);
}



.fc-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.fc-card {
	perspective: 1000px;
	height: 190px;
	cursor: pointer;
}

.fc-inner {
	position: relative;
	width: 100%;
	height: 100%;
	transition: transform 0.5s;
	transform-style: preserve-3d;
}

.fc-card.flipped .fc-inner {
	transform: rotateY(180deg);
}

.fc-face {
	position: absolute;
	inset: 0;
	backface-visibility: hidden;
	border-radius: 10px;
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	border: 1px solid var(--line);
}

.fc-front {
	background: linear-gradient(160deg, #2a1710, #1b0f0a);
	color: var(--neg);
}

.fc-back {
	background: linear-gradient(160deg, #14200f, #0e1a0a);
	color: var(--pos);
	transform: rotateY(180deg);
}

.fc-tag {
	font-family: var(--font-mono);
	font-size: 0.65rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	opacity: 0.8;
}

.fc-text {
	font-size: 0.83rem;
	line-height: 1.4;
	color: var(--cream-2);
	flex: 1;
}

.fc-hint {
	font-size: 0.68rem;
	color: var(--dim);
	text-align: right;
}

@media (max-width: 600px) {
	.pl-compare,
	.fb-compare {
		grid-template-columns: 1fr;
	}

	.pz-rung {
		grid-template-columns: 100px 1fr 84px;
		gap: 8px;
	}

	.st-label {
		font-size: 0.68rem;
	}

	.fc-grid {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rl-cell,
	.bj-tab,
	.rl-btn,
	.he-pin,
	.bt-term,
	.sl-cell,
	.sl-payline-svg path,
	.sl-wild-burst,
	.sl-btn,
	.cr-bar,
	.cr-col,
	.bc-tab,
	.bc-chip,
	.oc-slider-row input,
	.ml-preset,
	.ml-meter-fill,
	.sp-scenario,
	.sp-marker,
	.pl-btn,
	.pl-gap-fill,
	.cs-seg,
	.pz-rung,
	.pz-bar-fill,
	.pr-tix,
	.st-num,
	.fc-inner {
		transition: none;
	}
}
