/* ANSR Review Box. Doubled class beats theme content styles (SWELL decorates h2/h3/li/a in posts). */

.ansr-rb.ansr-rb {
	--rb-accent: #cb7a96;
	--rb-ink: #985c71;
	--rb-tint: #f4e6eb;
	--rb-off: #eddee3;
	--rb-neg: #9fcbdc;
	--rb-neg-ink: #007bbb;
	--rb-text: #111111;
	--rb-muted: #5a4650;
	box-sizing: border-box;
	margin: 2em 0;
	color: var(--rb-text);
	font-size: 14px;
	line-height: 1.6;
	text-align: left;
}

.ansr-rb.ansr-rb *,
.ansr-rb.ansr-rb *::before,
.ansr-rb.ansr-rb *::after {
	box-sizing: border-box;
}

/* Theme resets inside the box. */
.ansr-rb.ansr-rb h2,
.ansr-rb.ansr-rb h3,
.ansr-rb.ansr-rb p,
.ansr-rb.ansr-rb ol,
.ansr-rb.ansr-rb ul {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
	color: inherit;
	font-size: inherit;
	line-height: inherit;
	letter-spacing: normal;
}

.ansr-rb.ansr-rb h2::before,
.ansr-rb.ansr-rb h2::after,
.ansr-rb.ansr-rb h3::before,
.ansr-rb.ansr-rb h3::after,
.ansr-rb.ansr-rb li::before,
.ansr-rb.ansr-rb li::after {
	content: none;
	display: none;
}

.ansr-rb.ansr-rb ol,
.ansr-rb.ansr-rb ul {
	list-style: none;
}

.ansr-rb.ansr-rb li {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
}

.ansr-rb.ansr-rb a {
	text-decoration: none;
	box-shadow: none;
	border: 0;
}

.ansr-rb.ansr-rb img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0;
}

/* Shared pieces. */
.ansr-rb.ansr-rb .ansr-rb__dots {
	display: inline-flex;
	gap: 4px;
	flex-shrink: 0;
}

.ansr-rb.ansr-rb .ansr-rb__dot {
	display: block;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--rb-off);
}

.ansr-rb.ansr-rb .ansr-rb__dot.is-on {
	background: var(--rb-accent);
}

.ansr-rb.ansr-rb .ansr-rb__dot.is-half {
	background: linear-gradient(90deg, var(--rb-accent) 50%, var(--rb-off) 50%);
}

.ansr-rb.ansr-rb .ansr-rb__dots.is-neg .ansr-rb__dot.is-on {
	background: var(--rb-neg);
}

.ansr-rb.ansr-rb .ansr-rb__dots.is-neg .ansr-rb__dot.is-half {
	background: linear-gradient(90deg, var(--rb-neg) 50%, var(--rb-off) 50%);
}

.ansr-rb.ansr-rb .ansr-rb__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 10px;
}

.ansr-rb.ansr-rb .ansr-rb__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 8px 16px;
	border-radius: 10px;
	font-weight: 700;
	font-size: 14px;
	line-height: 1.35;
	text-align: center;
}

.ansr-rb.ansr-rb .ansr-rb__btn--primary {
	flex: 1 1 260px;
	background: var(--rb-ink);
	color: #fff;
}

.ansr-rb.ansr-rb .ansr-rb__btn--primary:hover,
.ansr-rb.ansr-rb .ansr-rb__btn--primary:focus-visible {
	background: var(--rb-text);
	color: #fff;
}

.ansr-rb.ansr-rb .ansr-rb__btn--secondary {
	flex: 0 1 auto;
	background: #fff;
	color: var(--rb-ink);
	border: 1.5px solid var(--rb-ink);
}

.ansr-rb.ansr-rb .ansr-rb__btn--secondary:hover,
.ansr-rb.ansr-rb .ansr-rb__btn--secondary:focus-visible {
	background: var(--rb-tint);
	color: var(--rb-ink);
}

.ansr-rb.ansr-rb .ansr-rb__textlinks {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 16px;
	margin-top: 8px;
	font-size: 13px;
}

.ansr-rb.ansr-rb .ansr-rb__textlinks a {
	color: var(--rb-ink);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ansr-rb.ansr-rb .ansr-rb__textlinks a::after {
	content: " ›";
}

.ansr-rb.ansr-rb .ansr-rb__btn:focus-visible,
.ansr-rb.ansr-rb .ansr-rb__textlinks a:focus-visible {
	outline: 2px solid var(--rb-accent);
	outline-offset: 2px;
}

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

.ansr-rb.ansr-rb .ansr-rb__pc-title {
	font-weight: 900;
	font-size: 13px;
	margin-bottom: 2px;
}

.ansr-rb.ansr-rb .ansr-rb__pros .ansr-rb__pc-title {
	color: var(--rb-ink);
}

.ansr-rb.ansr-rb .ansr-rb__cons .ansr-rb__pc-title {
	color: var(--rb-neg-ink);
}

/* Pros/cons come from the WP editor: lists or paragraphs. */
.ansr-rb.ansr-rb .ansr-rb__pros ul,
.ansr-rb.ansr-rb .ansr-rb__cons ul,
.ansr-rb.ansr-rb .ansr-rb__pros ol,
.ansr-rb.ansr-rb .ansr-rb__cons ol {
	list-style: disc;
	padding-left: 1.2em;
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.ansr-rb.ansr-rb .ansr-rb__pros ol,
.ansr-rb.ansr-rb .ansr-rb__cons ol {
	list-style: decimal;
}

.ansr-rb.ansr-rb .ansr-rb__pros li,
.ansr-rb.ansr-rb .ansr-rb__cons li {
	display: list-item;
	font-size: 13px;
}

.ansr-rb.ansr-rb .ansr-rb__pros p + p,
.ansr-rb.ansr-rb .ansr-rb__cons p + p,
.ansr-rb.ansr-rb .ansr-rb__desc p + p {
	margin-top: 4px;
}

@media (max-width: 600px) {
	.ansr-rb.ansr-rb .ansr-rb__proscons {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ---------- Layout F · 圓點膠囊 ---------- */

.ansr-rb--f.ansr-rb--f {
	background: var(--rb-tint);
	border-radius: 18px;
	padding: 16px;
}

.ansr-rb--f.ansr-rb--f .ansr-rb__heading {
	font-size: 13px;
	font-weight: 700;
	color: var(--rb-ink);
	margin-bottom: 8px;
}

.ansr-rb--f.ansr-rb--f .ansr-rb__card {
	background: #fff;
	border-radius: 12px;
	padding: 12px 14px;
}

.ansr-rb--f.ansr-rb--f .ansr-rb__head {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 10px;
}

.ansr-rb--f.ansr-rb--f .ansr-rb__head-row {
	display: flex;
	align-items: center;
	gap: 12px;
}

.ansr-rb--f.ansr-rb--f .ansr-rb__total {
	display: flex;
	align-items: baseline;
	gap: 2px;
	flex-shrink: 0;
	padding: 6px 12px;
	border-radius: 8px;
	background: var(--rb-ink);
	color: #fff;
}

.ansr-rb--f.ansr-rb--f .ansr-rb__total-num {
	font-weight: 900;
	font-size: 26px;
	line-height: 1;
}

.ansr-rb--f.ansr-rb--f .ansr-rb__total-max {
	font-size: 12px;
}

.ansr-rb--f.ansr-rb--f .ansr-rb__title {
	flex: 1;
	min-width: 0;
}

.ansr-rb--f.ansr-rb--f .ansr-rb__name {
	font-size: 16px;
	font-weight: 900;
	line-height: 1.35;
}

.ansr-rb--f.ansr-rb--f .ansr-rb__verdict {
	font-size: 13px;
	font-weight: 700;
	color: var(--rb-ink);
}

.ansr-rb--f.ansr-rb--f .ansr-rb__logo {
	flex-shrink: 0;
	max-width: 120px;
}

.ansr-rb--f.ansr-rb--f .ansr-rb__logo img {
	max-height: 32px;
	width: auto;
}

.ansr-rb--f.ansr-rb--f .ansr-rb__intro {
	font-size: 13px;
	color: var(--rb-muted);
}

.ansr-rb--f.ansr-rb--f .ansr-rb__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 14px;
	font-size: 12px;
	color: var(--rb-muted);
}

.ansr-rb--f.ansr-rb--f .ansr-rb__rows {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.ansr-rb--f.ansr-rb--f .ansr-rb__row {
	display: grid;
	grid-template-columns: 26px 5.6em auto 2.4em 2.6em minmax(0, 1fr);
	align-items: center;
	column-gap: 8px;
	padding: 6px 14px 6px 6px;
	background: #fff;
	border-radius: 999px;
	font-size: 14px;
}

.ansr-rb--f.ansr-rb--f .ansr-rb__no {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--rb-tint);
	color: var(--rb-ink);
	font-weight: 900;
	font-size: 12px;
}

.ansr-rb--f.ansr-rb--f .ansr-rb__cat {
	font-weight: 700;
	white-space: nowrap;
}

.ansr-rb--f.ansr-rb--f .ansr-rb__score {
	font-weight: 900;
	text-align: right;
}

.ansr-rb--f.ansr-rb--f .ansr-rb__grade {
	font-size: 12px;
	font-weight: 700;
	text-align: center;
	color: var(--rb-ink);
	white-space: nowrap;
}

.ansr-rb--f.ansr-rb--f .ansr-rb__note {
	font-size: 13px;
	color: var(--rb-muted);
	min-width: 0;
}

.ansr-rb--f.ansr-rb--f .ansr-rb__sign {
	font-weight: 900;
	color: var(--rb-ink);
}

.ansr-rb--f.ansr-rb--f .ansr-rb__row.is-neg .ansr-rb__sign {
	color: var(--rb-neg-ink);
}

.ansr-rb--f.ansr-rb--f .ansr-rb__subhead {
	margin: 14px 0 6px;
	font-size: 15px;
	font-weight: 900;
}

.ansr-rb--f.ansr-rb--f .ansr-rb__desc {
	background: #fff;
	border-radius: 12px;
	padding: 10px 14px;
	margin-bottom: 8px;
	font-size: 13px;
	color: var(--rb-muted);
}

.ansr-rb--f.ansr-rb--f .ansr-rb__pros,
.ansr-rb--f.ansr-rb--f .ansr-rb__cons {
	background: #fff;
	border-radius: 12px;
	padding: 10px 14px;
}

/* Phones: the comment drops under the scores. */
@media (max-width: 600px) {
	.ansr-rb--f.ansr-rb--f {
		padding: 12px;
		border-radius: 14px;
	}

	.ansr-rb--f.ansr-rb--f .ansr-rb__row {
		grid-template-columns: 26px minmax(0, 1fr) auto 2.4em 2.6em;
		border-radius: 14px;
		row-gap: 2px;
		padding-right: 10px;
	}

	.ansr-rb--f.ansr-rb--f .ansr-rb__note {
		grid-column: 2 / -1;
	}

	.ansr-rb--f.ansr-rb--f .ansr-rb__head-row {
		flex-wrap: wrap;
	}

	.ansr-rb--f.ansr-rb--f .ansr-rb__btn--secondary {
		flex: 1 1 40%;
	}
}

/* ---------- Layout A · 比價站風 ---------- */

.ansr-rb--a.ansr-rb--a {
	border: 1px solid #bdbdbd;
	background: #fff;
	font-size: 13px;
	color: #222;
}

.ansr-rb--a.ansr-rb--a .ansr-rb__heading {
	padding: 7px 12px;
	background: #eee;
	border-bottom: 1px solid #bdbdbd;
	font-size: 14px;
	font-weight: 700;
}

.ansr-rb--a.ansr-rb--a .ansr-rb__head {
	display: flex;
	gap: 16px;
	padding: 12px;
	border-bottom: 1px dotted #bdbdbd;
}

.ansr-rb--a.ansr-rb--a .ansr-rb__totalbox {
	flex: 0 0 132px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 8px 6px;
	border: 1px solid #e3e3e3;
	background: #fafafa;
	text-align: center;
}

.ansr-rb--a.ansr-rb--a .ansr-rb__label {
	font-size: 11px;
	color: #595959;
}

.ansr-rb--a.ansr-rb--a .ansr-rb__total-num {
	font-size: 34px;
	font-weight: 700;
	line-height: 1.1;
	color: var(--rb-ink);
}

.ansr-rb--a.ansr-rb--a .ansr-rb__total-num small {
	font-size: 13px;
	color: #595959;
}

.ansr-rb--a.ansr-rb--a .ansr-rb__tag {
	padding: 1px 8px;
	background: var(--rb-ink);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
}

.ansr-rb--a.ansr-rb--a .ansr-rb__info {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.ansr-rb--a.ansr-rb--a .ansr-rb__name {
	font-size: 15px;
	font-weight: 700;
}

.ansr-rb--a.ansr-rb--a .ansr-rb__intro {
	font-size: 12px;
	color: #444;
}

.ansr-rb--a.ansr-rb--a .ansr-rb__logo img {
	max-height: 28px;
	width: auto;
}

.ansr-rb--a.ansr-rb--a .ansr-rb__table {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
	border: 0;
	font-size: 12px;
}

.ansr-rb--a.ansr-rb--a .ansr-rb__table th,
.ansr-rb--a.ansr-rb--a .ansr-rb__table td {
	padding: 6px 8px;
	border: 0;
	border-bottom: 1px solid #ececec;
	background: none;
	text-align: left;
	vertical-align: top;
	font-weight: 400;
}

.ansr-rb--a.ansr-rb--a .ansr-rb__table thead th {
	background: #f6f6f6;
	color: #595959;
	font-size: 11px;
	border-bottom-color: #d9d9d9;
}

.ansr-rb--a.ansr-rb--a .ansr-rb__table tbody th {
	font-weight: 700;
	white-space: nowrap;
}

.ansr-rb--a.ansr-rb--a .ansr-rb__table tbody tr:nth-child(even) td,
.ansr-rb--a.ansr-rb--a .ansr-rb__table tbody tr:nth-child(even) th {
	background: #fafafa;
}

.ansr-rb--a.ansr-rb--a .ansr-rb__no {
	display: inline-block;
	min-width: 16px;
	background: #6b6b6b;
	color: #fff;
	font-size: 11px;
	text-align: center;
}

.ansr-rb--a.ansr-rb--a .ansr-rb__meter-wrap {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
}

.ansr-rb--a.ansr-rb--a .ansr-rb__dots {
	gap: 2px;
}

.ansr-rb--a.ansr-rb--a .ansr-rb__dot {
	width: 14px;
	height: 9px;
	border-radius: 0;
}

.ansr-rb--a.ansr-rb--a .ansr-rb__grade {
	font-weight: 700;
	color: var(--rb-ink);
	white-space: nowrap;
}

.ansr-rb--a.ansr-rb--a .ansr-rb__sign {
	font-weight: 700;
	color: var(--rb-ink);
}

.ansr-rb--a.ansr-rb--a tr.is-neg .ansr-rb__sign {
	color: var(--rb-neg-ink);
}

.ansr-rb--a.ansr-rb--a .ansr-rb__body {
	padding: 10px 12px 12px;
}

.ansr-rb--a.ansr-rb--a .ansr-rb__subhead {
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: 700;
}

.ansr-rb--a.ansr-rb--a .ansr-rb__desc {
	margin-bottom: 8px;
	font-size: 12px;
}

.ansr-rb--a.ansr-rb--a .ansr-rb__proscons {
	gap: 0;
}

.ansr-rb--a.ansr-rb--a .ansr-rb__pros {
	padding-right: 12px;
	border-right: 1px dotted #bdbdbd;
}

.ansr-rb--a.ansr-rb--a .ansr-rb__cons {
	padding-left: 12px;
}

.ansr-rb--a.ansr-rb--a .ansr-rb__btn {
	border-radius: 0;
	min-height: 40px;
}

@media (max-width: 600px) {
	.ansr-rb--a.ansr-rb--a .ansr-rb__head {
		flex-direction: column;
	}

	.ansr-rb--a.ansr-rb--a .ansr-rb__totalbox {
		flex-basis: auto;
	}

	.ansr-rb--a.ansr-rb--a .ansr-rb__table thead {
		display: none;
	}

	.ansr-rb--a.ansr-rb--a .ansr-rb__table tr {
		display: grid;
		grid-template-columns: auto 1fr auto auto;
		gap: 2px 8px;
		padding: 6px 8px;
		border-bottom: 1px solid #ececec;
	}

	.ansr-rb--a.ansr-rb--a .ansr-rb__table th,
	.ansr-rb--a.ansr-rb--a .ansr-rb__table td {
		padding: 0;
		border: 0;
		background: none !important;
	}

	.ansr-rb--a.ansr-rb--a .ansr-rb__table td.ansr-rb__note {
		grid-column: 1 / -1;
	}

	.ansr-rb--a.ansr-rb--a .ansr-rb__pros {
		padding: 0 0 8px;
		border: 0;
	}

	.ansr-rb--a.ansr-rb--a .ansr-rb__cons {
		padding: 0;
	}
}

/* ---------- Layout B · 入口網站風 ---------- */

.ansr-rb--b.ansr-rb--b {
	border: 2px solid var(--rb-ink);
	border-radius: 4px;
	overflow: hidden;
	background: #fff;
	color: #222;
}

.ansr-rb--b.ansr-rb--b .ansr-rb__top {
	display: flex;
	align-items: baseline;
	gap: 10px;
	padding: 12px 16px 10px;
	border-bottom: 1px solid #ddd;
}

.ansr-rb--b.ansr-rb--b .ansr-rb__badge {
	padding: 1px 6px;
	border-radius: 2px;
	background: var(--rb-ink);
	color: #fff;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 1px;
}

.ansr-rb--b.ansr-rb--b .ansr-rb__heading {
	font-size: 16px;
	font-weight: 900;
}

.ansr-rb--b.ansr-rb--b .ansr-rb__head {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 14px 16px;
	background: var(--rb-tint);
	border-bottom: 1px solid #ddd;
}

.ansr-rb--b.ansr-rb--b .ansr-rb__ring {
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100px;
	height: 100px;
	border: 6px solid var(--rb-ink);
	border-radius: 50%;
	background: #fff;
}

.ansr-rb--b.ansr-rb--b .ansr-rb__ring b {
	font-size: 32px;
	line-height: 1;
	color: var(--rb-ink);
}

.ansr-rb--b.ansr-rb--b .ansr-rb__ring small {
	font-size: 11px;
	color: #666;
}

.ansr-rb--b.ansr-rb--b .ansr-rb__info {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.ansr-rb--b.ansr-rb--b .ansr-rb__verdict {
	font-size: 15px;
	font-weight: 900;
	color: var(--rb-ink);
}

.ansr-rb--b.ansr-rb--b .ansr-rb__name {
	font-weight: 700;
}

.ansr-rb--b.ansr-rb--b .ansr-rb__intro {
	font-size: 12px;
	color: #444;
}

.ansr-rb--b.ansr-rb--b .ansr-rb__logo img {
	max-height: 30px;
	width: auto;
}

.ansr-rb--b.ansr-rb--b .ansr-rb__section {
	padding: 12px 16px;
}

.ansr-rb--b.ansr-rb--b .ansr-rb__section + .ansr-rb__section {
	border-top: 1px solid #eee;
}

.ansr-rb--b.ansr-rb--b .ansr-rb__subhead {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: 900;
}

.ansr-rb--b.ansr-rb--b .ansr-rb__subhead::before {
	content: "";
	display: inline-block;
	width: 3px;
	height: 13px;
	background: var(--rb-ink);
}

.ansr-rb--b.ansr-rb--b .ansr-rb__row {
	display: grid;
	grid-template-columns: 22px minmax(4.5em, 6.5em) minmax(0, 1fr) 2.4em 3.4em;
	align-items: center;
	gap: 2px 10px;
	padding: 7px 0;
	border-bottom: 1px dashed #ddd;
}

.ansr-rb--b.ansr-rb--b .ansr-rb__no {
	color: #666;
	font-size: 15px;
}

.ansr-rb--b.ansr-rb--b .ansr-rb__cat {
	font-weight: 700;
}

.ansr-rb--b.ansr-rb--b .ansr-rb__bar {
	display: block;
	height: 8px;
	border-radius: 4px;
	background: var(--rb-off);
	overflow: hidden;
}

.ansr-rb--b.ansr-rb--b .ansr-rb__bar span {
	display: block;
	height: 100%;
	background: var(--rb-ink);
}

.ansr-rb--b.ansr-rb--b .ansr-rb__row.is-neg .ansr-rb__bar span {
	background: var(--rb-neg);
}

.ansr-rb--b.ansr-rb--b .ansr-rb__score {
	font-weight: 700;
	text-align: right;
}

.ansr-rb--b.ansr-rb--b .ansr-rb__tag {
	justify-self: end;
	padding: 0 6px;
	border: 1px solid var(--rb-ink);
	border-radius: 2px;
	color: var(--rb-ink);
	font-size: 11px;
	font-weight: 700;
	white-space: nowrap;
}

.ansr-rb--b.ansr-rb--b .ansr-rb__note {
	grid-column: 3 / -1;
	font-size: 12px;
	color: #444;
}

.ansr-rb--b.ansr-rb--b .ansr-rb__sign {
	font-weight: 900;
	color: var(--rb-ink);
}

.ansr-rb--b.ansr-rb--b .ansr-rb__row.is-neg .ansr-rb__sign {
	color: var(--rb-neg-ink);
}

.ansr-rb--b.ansr-rb--b .ansr-rb__pros,
.ansr-rb--b.ansr-rb--b .ansr-rb__cons {
	padding: 8px 12px;
	border: 1px solid var(--rb-off);
	border-radius: 3px;
	background: var(--rb-tint);
}

.ansr-rb--b.ansr-rb--b .ansr-rb__desc {
	margin-bottom: 8px;
	font-size: 13px;
}

.ansr-rb--b.ansr-rb--b .ansr-rb__btn {
	border-radius: 3px;
}

@media (max-width: 600px) {
	.ansr-rb--b.ansr-rb--b .ansr-rb__head {
		flex-wrap: wrap;
	}

	.ansr-rb--b.ansr-rb--b .ansr-rb__row {
		grid-template-columns: 22px minmax(0, 1fr) 2.4em 3.4em;
	}

	.ansr-rb--b.ansr-rb--b .ansr-rb__bar {
		grid-column: 2 / -1;
		grid-row: 2;
	}

	.ansr-rb--b.ansr-rb--b .ansr-rb__note {
		grid-column: 2 / -1;
	}
}

/* ---------- Layout C · 雜誌風 ---------- */

.ansr-rb--c.ansr-rb--c {
	padding: 18px 22px;
	background: #f7f4ee;
	border-top: 3px solid #2b2724;
	border-bottom: 1px solid #2b2724;
	color: #2b2724;
}

.ansr-rb--c.ansr-rb--c .ansr-rb__head {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	padding-bottom: 12px;
	border-bottom: 1px solid #2b2724;
}

.ansr-rb--c.ansr-rb--c .ansr-rb__info {
	flex: 1;
	min-width: 0;
}

.ansr-rb--c.ansr-rb--c .ansr-rb__kicker {
	font-size: 11px;
	letter-spacing: 3px;
	color: #6b635b;
}

.ansr-rb--c.ansr-rb--c .ansr-rb__heading {
	margin: 2px 0 4px;
	font-family: "Noto Serif TC", "Songti TC", serif;
	font-size: 21px;
	font-weight: 900;
	line-height: 1.35;
}

.ansr-rb--c.ansr-rb--c .ansr-rb__name {
	font-weight: 700;
}

.ansr-rb--c.ansr-rb--c .ansr-rb__intro {
	font-size: 12.5px;
	color: #4d4640;
}

.ansr-rb--c.ansr-rb--c .ansr-rb__stamp {
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 96px;
	height: 96px;
	border: 2px solid var(--rb-ink);
	border-radius: 50%;
	color: var(--rb-ink);
	transform: rotate(-6deg);
}

.ansr-rb--c.ansr-rb--c .ansr-rb__stamp b {
	font-size: 34px;
	line-height: 1;
}

.ansr-rb--c.ansr-rb--c .ansr-rb__stamp small {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 2px;
}

.ansr-rb--c.ansr-rb--c .ansr-rb__row {
	display: grid;
	grid-template-columns: 36px minmax(0, 1fr) 2.6em 3em;
	align-items: baseline;
	gap: 0 12px;
	padding: 8px 0;
	border-bottom: 1px solid #d8d1c6;
}

.ansr-rb--c.ansr-rb--c .ansr-rb__no {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 20px;
	color: #6b635b;
}

.ansr-rb--c.ansr-rb--c .ansr-rb__main {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.ansr-rb--c.ansr-rb--c .ansr-rb__line {
	display: flex;
	align-items: baseline;
	gap: 8px;
}

.ansr-rb--c.ansr-rb--c .ansr-rb__cat {
	font-family: "Noto Serif TC", "Songti TC", serif;
	font-weight: 700;
	white-space: nowrap;
}

.ansr-rb--c.ansr-rb--c .ansr-rb__leader {
	flex: 1;
	border-bottom: 1px dotted #a39a8f;
	transform: translateY(-4px);
}

.ansr-rb--c.ansr-rb--c .ansr-rb__note {
	font-size: 12px;
	color: #4d4640;
}

.ansr-rb--c.ansr-rb--c .ansr-rb__sign {
	font-weight: 700;
	color: var(--rb-ink);
}

.ansr-rb--c.ansr-rb--c .ansr-rb__row.is-neg .ansr-rb__sign {
	color: var(--rb-neg-ink);
}

.ansr-rb--c.ansr-rb--c .ansr-rb__score {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 19px;
	font-weight: 700;
	text-align: right;
}

.ansr-rb--c.ansr-rb--c .ansr-rb__grade {
	font-size: 12px;
	font-weight: 700;
	color: var(--rb-ink);
	text-align: center;
}

.ansr-rb--c.ansr-rb--c .ansr-rb__subhead {
	margin: 14px 0 6px;
	font-family: "Noto Serif TC", "Songti TC", serif;
	font-weight: 700;
}

.ansr-rb--c.ansr-rb--c .ansr-rb__desc {
	margin-bottom: 8px;
	font-size: 13px;
}

.ansr-rb--c.ansr-rb--c .ansr-rb__proscons {
	gap: 22px;
}

.ansr-rb--c.ansr-rb--c .ansr-rb__btn {
	border-radius: 0;
}

/* ---------- Layout D · 深色側欄 ---------- */

.ansr-rb--d.ansr-rb--d {
	display: flex;
	border: 1px solid #d9dce3;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	color: #1f2430;
}

.ansr-rb--d.ansr-rb--d .ansr-rb__side {
	flex: 0 0 200px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 18px 16px;
	background: #1f2430;
	color: #fff;
}

.ansr-rb--d.ansr-rb--d .ansr-rb__heading {
	font-size: 12px;
	color: #b8bfcc;
}

.ansr-rb--d.ansr-rb--d .ansr-rb__name {
	font-size: 15px;
	font-weight: 900;
	line-height: 1.35;
}

.ansr-rb--d.ansr-rb--d .ansr-rb__total b {
	font-size: 48px;
	line-height: 1;
	color: var(--rb-accent);
}

.ansr-rb--d.ansr-rb--d .ansr-rb__total small {
	font-size: 12px;
	color: #b8bfcc;
}

.ansr-rb--d.ansr-rb--d .ansr-rb__tag {
	align-self: flex-start;
	padding: 1px 10px;
	border-radius: 10px;
	background: var(--rb-accent);
	color: #1f2430;
	font-size: 12px;
	font-weight: 700;
}

.ansr-rb--d.ansr-rb--d .ansr-rb__intro {
	font-size: 12px;
	color: #d5dae3;
}

.ansr-rb--d.ansr-rb--d .ansr-rb__logo {
	margin-top: auto;
	padding: 6px 8px;
	border-radius: 6px;
	background: #fff;
	align-self: flex-start;
}

.ansr-rb--d.ansr-rb--d .ansr-rb__logo img {
	max-height: 24px;
	width: auto;
}

.ansr-rb--d.ansr-rb--d .ansr-rb__main {
	flex: 1;
	min-width: 0;
	padding: 12px 16px 14px;
}

.ansr-rb--d.ansr-rb--d .ansr-rb__row {
	display: grid;
	grid-template-columns: 22px minmax(4.5em, 6em) minmax(0, 1fr) 2.2em 3.2em;
	align-items: center;
	gap: 0 8px;
	padding: 6px 0;
	border-bottom: 1px solid #eceef2;
}

.ansr-rb--d.ansr-rb--d .ansr-rb__no {
	font-size: 11px;
	font-weight: 800;
	color: #6b7280;
}

.ansr-rb--d.ansr-rb--d .ansr-rb__cat {
	font-weight: 700;
}

.ansr-rb--d.ansr-rb--d .ansr-rb__bar {
	display: block;
	height: 6px;
	border-radius: 3px;
	background: #eceef2;
	overflow: hidden;
}

.ansr-rb--d.ansr-rb--d .ansr-rb__bar span {
	display: block;
	height: 100%;
	background: #1f2430;
}

.ansr-rb--d.ansr-rb--d .ansr-rb__row.is-neg .ansr-rb__bar span {
	background: var(--rb-neg);
}

.ansr-rb--d.ansr-rb--d .ansr-rb__score {
	font-weight: 800;
	text-align: right;
}

.ansr-rb--d.ansr-rb--d .ansr-rb__grade {
	padding: 0 4px;
	border-radius: 9px;
	background: #1f2430;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	text-align: center;
	white-space: nowrap;
}

.ansr-rb--d.ansr-rb--d .ansr-rb__note {
	grid-column: 2 / -1;
	font-size: 12px;
	color: #4a5160;
}

.ansr-rb--d.ansr-rb--d .ansr-rb__sign {
	font-weight: 900;
	color: #9a3412;
}

.ansr-rb--d.ansr-rb--d .ansr-rb__row.is-neg .ansr-rb__sign {
	color: var(--rb-neg-ink);
}

.ansr-rb--d.ansr-rb--d .ansr-rb__subhead {
	margin: 12px 0 6px;
	font-weight: 900;
}

.ansr-rb--d.ansr-rb--d .ansr-rb__desc {
	margin-bottom: 8px;
	font-size: 13px;
}

.ansr-rb--d.ansr-rb--d .ansr-rb__btn--primary {
	background: #1f2430;
}

.ansr-rb--d.ansr-rb--d .ansr-rb__btn--secondary {
	color: #1f2430;
	border-color: #1f2430;
}

@media (max-width: 600px) {
	.ansr-rb--d.ansr-rb--d {
		flex-direction: column;
	}

	.ansr-rb--d.ansr-rb--d .ansr-rb__side {
		flex-basis: auto;
	}
}

/* Category ranking badge ("English for Kids 兒童英文 第 1 名"). */
.ansr-rb.ansr-rb .ansr-rb__rank {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0 4px;
	margin-top: 4px;
	padding: 1px 8px;
	border-radius: 6px;
	background: var(--rb-tint);
	color: var(--rb-text);
	font-size: 12px;
	line-height: 1.6;
	text-decoration: none;
}

.ansr-rb.ansr-rb .ansr-rb__rank strong {
	color: var(--rb-ink);
	font-weight: 900;
}

.ansr-rb.ansr-rb .ansr-rb__rank.is-first {
	background: var(--rb-ink);
	color: #fff;
}

.ansr-rb.ansr-rb .ansr-rb__rank.is-first strong {
	color: #fff;
}

.ansr-rb.ansr-rb .ansr-rb__rank:hover .ansr-rb__rank-term {
	text-decoration: underline;
}
