.rsb-bar {
	--rsb-h: 44px;
	position: relative;
	z-index: 99990;
	width: 100%;
	background: var(--rsb-bg, #0f2a44);
	color: var(--rsb-fg, #fff);
	font: 500 14px/1.3 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	box-sizing: border-box;
	box-shadow: 0 1px 0 rgba(0, 0, 0, .08);
}
.rsb-bar *, .rsb-bar *::before { box-sizing: border-box; }
.rsb-bar.rsb-fixed { position: fixed; top: 0; left: 0; right: 0; }
.rsb-bar.is-hidden { display: none !important; }

.rsb-inner {
	display: flex;
	align-items: center;
	gap: 14px;
	max-width: 1280px;
	height: var(--rsb-h);
	margin: 0 auto;
	padding: 0 14px;
}

.rsb-headline {
	flex: 0 0 auto;
	font-weight: 700;
	letter-spacing: .02em;
	text-transform: uppercase;
	font-size: 12px;
	opacity: .9;
	padding-right: 14px;
	border-right: 1px solid rgba(255, 255, 255, .25);
}

.rsb-track { position: relative; flex: 1 1 auto; height: 100%; min-width: 0; overflow: hidden; }

.rsb-item {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	color: inherit !important;
	text-decoration: none !important;
	white-space: nowrap;
	opacity: 0;
	transform: translateY(60%);
	transition: opacity .45s ease, transform .45s ease;
	pointer-events: none;
}
.rsb-item.is-active { opacity: 1; transform: none; pointer-events: auto; }
.rsb-item.is-leaving { opacity: 0; transform: translateY(-60%); }
a.rsb-item:hover .rsb-text, a.rsb-item:focus-visible .rsb-text,
a.rsb-item:hover .rsb-count, a.rsb-item:focus-visible .rsb-count { text-decoration: underline; }

.rsb-badge {
	flex: 0 0 auto;
	padding: 3px 8px;
	border-radius: 4px;
	background: var(--rsb-pc);
	color: #fff;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .01em;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, .25);
}

.rsb-score { flex: 0 0 auto; font-weight: 800; font-size: 16px; }
.rsb-score small { font-weight: 500; font-size: 11px; opacity: .75; margin-left: 1px; }

.rsb-stars {
	flex: 0 0 auto;
	position: relative;
	display: inline-block;
	font-size: 14px;
	letter-spacing: 1px;
	line-height: 1;
}
.rsb-stars::before {
	content: "★★★★★";
	background: linear-gradient(90deg, var(--rsb-accent, #f5b301) var(--rsb-pct, 100%), rgba(255, 255, 255, .3) var(--rsb-pct, 100%));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

.rsb-count { flex: 0 0 auto; opacity: .85; font-size: 13px; }
.rsb-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-style: italic; }
.rsb-author { flex: 0 0 auto; opacity: .75; font-size: 13px; }

.rsb-nav { flex: 0 0 auto; display: flex; gap: 2px; }
.rsb-bar button {
	all: unset;
	cursor: pointer;
	display: inline-grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	font-size: 20px;
	line-height: 1;
	color: inherit;
	opacity: .7;
	transition: opacity .2s, background .2s;
}
.rsb-bar button:hover, .rsb-bar button:focus-visible { opacity: 1; background: rgba(255, 255, 255, .15); }
.rsb-bar button:focus-visible { outline: 2px solid var(--rsb-accent); }
.rsb-close { flex: 0 0 auto; font-size: 22px !important; }

.rsb-inline { margin: 0 0 1em; }

@media (max-width: 782px) {
	.rsb-bar { --rsb-h: 40px; font-size: 13px; }
	.rsb-headline, .rsb-nav, .rsb-author { display: none; }
	.rsb-inner { gap: 8px; padding: 0 8px; }
	.rsb-item { justify-content: flex-start; gap: 7px; }
	.rsb-badge { font-size: 10.5px; padding: 2px 6px; }
	.rsb-stars { font-size: 12px; }
	.rsb-review .rsb-stars { display: none; }
	.rsb-hide-mobile { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
	.rsb-item { transition: opacity .2s linear; transform: none !important; }
}

/* Combined layout */
.rsb-combined .rsb-score { font-size: 17px; }
.rsb-combined .rsb-count strong { font-weight: 800; }
.rsb-lbl-short { display: none; }
.rsb-platforms { display: inline-flex; gap: 5px; min-width: 0; overflow: hidden; }
.rsb-platforms .rsb-badge { font-size: 10.5px; padding: 2px 6px; }
@media (max-width: 782px) {
	.rsb-combined { justify-content: center; }
	.rsb-platforms, .rsb-lbl-full { display: none; }
	.rsb-lbl-short { display: inline; }
}
.rsb-main { display: inline-flex; align-items: center; gap: 9px; color: inherit !important; text-decoration: none !important; }
a.rsb-main:hover .rsb-count, a.rsb-main:focus-visible .rsb-count { text-decoration: underline; }
a.rsb-badge { text-decoration: none !important; color: #fff !important; transition: transform .15s, box-shadow .15s; }
a.rsb-badge:hover, a.rsb-badge:focus-visible { transform: translateY(-1px); box-shadow: 0 0 0 2px var(--rsb-accent, #f5b301); outline: none; }

/* Second row: rotating reviews under the combined score */
.rsb-sub {
	--rsb-h: 36px;
	background: rgba(0, 0, 0, .18);
	border-top: 1px solid rgba(255, 255, 255, .08);
	font-size: 13.5px;
}
.rsb-sub .rsb-inner { height: var(--rsb-h); }
.rsb-sub .rsb-item { gap: 8px; }
.rsb-sub .rsb-badge { font-size: 10.5px; padding: 2px 6px; }
.rsb-sub .rsb-stars { font-size: 12px; }
@media (max-width: 782px) {
	.rsb-sub { --rsb-h: 34px; font-size: 12.5px; }
	.rsb-sub .rsb-item { justify-content: flex-start; }
}
