/* === arbmate-site.css ===============================================
 * The pages on layouts.modern (body.os-modern): OSDS components and
 * tokens only, no Bootstrap. What OSDS has (.btn, .card, .pill, .input,
 * .os-pagination, .hero, .page) is used as it is; this file lays the
 * pages out with the tokens. Light and dark both come from the tokens.
 * ================================================================== */

/* ---- Page frame --------------------------------------------------- */
.am-page {
	max-width: 1200px;
	margin: 0 auto;
	padding: 48px clamp(16px, 4vw, 24px) 64px;
}
.am-page-narrow { max-width: 860px; }
/* A post's own h1 (inside .am-legacy-island) keeps Bootstrap's: :where() adds no specificity. */
.am-page h1:not(:where(.am-legacy-island *)) {
	margin: 0 0 24px;
	color: var(--text);
	font-size: clamp(26px, 5vw, 36px);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.3px;
}
.am-center { text-align: center; }

/* ---- Flash messages (includes/_messages: Bootstrap's alert classes; not a post's own alerts) ---- */
.os-modern .alert:not(:where(.am-legacy-island *)) {
	margin: 0 0 20px;
	padding: 12px 16px;
	border: 1px solid var(--border-strong);
	border-radius: var(--shape-md);
	background: var(--surface-container);
	color: var(--text);
	font-size: 14px;
}
.os-modern .alert:not(:where(.am-legacy-island *)) ul { margin: 6px 0 0; padding-left: 20px; }
.os-modern .alert-success:not(:where(.am-legacy-island *)) {
	border-color: color-mix(in srgb, var(--status-ok) 45%, transparent);
	background: color-mix(in srgb, var(--status-ok) 12%, var(--surface-container));
}
.os-modern .alert-success:not(:where(.am-legacy-island *)) strong { color: var(--status-ok-text); }
.os-modern .alert-danger:not(:where(.am-legacy-island *)) {
	border-color: color-mix(in srgb, var(--status-err) 45%, transparent);
	background: color-mix(in srgb, var(--status-err) 10%, var(--surface-container));
}
.os-modern .alert-danger:not(:where(.am-legacy-island *)) strong { color: var(--status-err-text); }

/* ---- Legal text (terms, privacy): the same paragraphs, set for reading ---- */
.am-legal p {
	margin: 0 0 14px;
	color: var(--text-muted);
	font-size: 15px;
	line-height: 1.7;
}
.am-legal p strong,
.am-legal h1 strong,
.am-legal h2 strong { color: var(--text); }
.am-legal h1,
.am-legal h2 { text-align: center; }
.am-legal h2 { margin: 32px 0 16px; font-size: 22px; }
.am-legal a { color: var(--primary-soft); text-decoration: underline; text-underline-offset: 3px; }

/* ---- 404 --------------------------------------------------------- */
.am-error {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	text-align: center;
}
.am-error img { max-width: 100%; height: auto; }
.am-error h1 { margin: 0; }
.am-error form {
	display: flex;
	gap: 8px;
	width: min(560px, 100%);
}
.am-error form .input { flex: 1 1 auto; }

/* ---- Contact ------------------------------------------------------ */
.am-contact > p { color: var(--text-muted); line-height: 1.6; }
.am-contact > p a { color: var(--primary-soft); text-decoration: underline; text-underline-offset: 3px; }
.am-form {
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin-top: 28px;
}
.am-form label {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.am-form .lbl-text { color: var(--text); font-size: 14px; font-weight: 600; }
.am-form .lbl-req { color: var(--status-err-text); font-style: normal; }
.am-form .am-message { min-height: 220px; resize: vertical; }
.am-security-help { font-size: 13px; }
/* The texts name the RED box in every language and colour that word inline (style="color:#F54C44", 3.3:1 on the
   light page): the word and the box keep a red that reads in both themes. White on #c8322a is 5.3:1. */
.os-modern { --am-red: #f54c44; }
html.light .os-modern { --am-red: #b52a22; } /* 5.2:1 on a light card, 5.8:1 on the light page */
.am-security-help strong { color: var(--am-red) !important; }
.am-security-options { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.am-security-boxes { display: flex; width: min(420px, 100%); }
.am-security-boxes span {
	flex: 1 1 0;
	padding: 10px;
	background: var(--surface-container-high);
	color: var(--text-muted);
	font-size: 18px;
	font-weight: 800;
	text-align: center;
}
.am-security-boxes span.is-answer { background: #c8322a; color: #fff; }
.am-submit { align-self: stretch; }

/* ---- Segmented tabs (OSDS 03-components: sliding indicator, FLIP in arbmate-site.js) ---- */
.am-tabs {
	position: relative;
	display: inline-flex;
	flex-wrap: wrap;
	gap: 4px;
	padding: 4px;
	border: 1px solid var(--border);
	border-radius: var(--shape-xl);
	background: var(--surface-container);
}
.am-tab-indicator {
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	height: 0;
	transform: translate(0, 0) scale(1, 1);
	transform-origin: left top;
	border-radius: var(--shape-pill);
	background: var(--primary-fill);            /* solid, never the gradient; bright in both themes (dark text on it) */
	box-shadow: var(--elev-1);
	transition: transform 380ms var(--ease-emphasized);
	pointer-events: none;
	z-index: 0;
	will-change: transform;
	visibility: hidden;
}
.am-tabs.has-indicator .am-tab-indicator { visibility: visible; }
.am-tabs .pill {
	position: relative;
	z-index: 1;
	justify-content: center;
	border: 0;
	background: transparent;
	white-space: nowrap;
}
.am-tabs .pill::before { display: none; }
.am-tabs .pill:hover { background: var(--surface-container-high); color: var(--text); }
.am-tabs .pill[aria-selected="true"] { color: var(--on-primary); }
.am-tabs.has-indicator .pill[aria-selected="true"],
.am-tabs.has-indicator .pill[aria-selected="true"]:hover { background: transparent; box-shadow: none; }
.am-tabs:not(.has-indicator) .pill[aria-selected="true"] { background: var(--primary-fill); }
/* A phone cannot hold five tabs in a row, and a clipped tab is not a destination
   (16-lessons, mobile tabs): the pills fill the bar in equal rows instead. */
@media (max-width: 560px) {
	.am-tabs { display: grid; grid-template-columns: repeat(2, 1fr); width: 100%; }
	.am-tabs .pill { width: 100%; }
	.am-tabs .pill:last-child:nth-child(even) { grid-column: 1 / -1; } /* the indicator is child 1: an odd tab count ends alone, full width */
}

/* ---- Bookmakers, clones and mirrors ---- */
.am-bookies-intro {
	max-width: 900px;
	margin: 0 auto 24px;
	color: var(--text-muted);
	line-height: 1.7;
	text-align: center;
}
.am-bookies-intro a, .am-bookies-note a { color: var(--primary-soft); text-decoration: underline; text-underline-offset: 3px; }
.am-bookies-search { display: block; width: min(320px, 100%); margin: 0 0 20px; }
.am-tab-panel { margin-top: 24px; }
.am-bookies-note p { color: var(--text-muted); line-height: 1.7; }
.am-bookie-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.am-bookie {
	display: grid;
	grid-template-columns: 120px 1fr;
	gap: 16px;
	align-items: start;
	padding: 16px;
	border: 1px solid var(--border);
	border-radius: var(--shape-md);
	background: var(--surface-container-low);
}
.am-bookie-logo { display: block; border-radius: var(--shape-xs); overflow: hidden; }
.am-bookie-logo img { display: block; width: 120px; height: 60px; object-fit: contain; background: #fff; }
.am-bookie-name {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 6px;
	margin: 0 0 10px;
	color: var(--text);
	font-size: 17px;
	font-weight: 700;
}
.am-bookie-name small { color: var(--text-muted); font-weight: 500; }
.am-bookie-price {
	padding: 1px 8px;
	border-radius: var(--shape-pill);
	background: color-mix(in srgb, var(--status-ok) 14%, transparent);
	color: var(--status-ok-text);
	font-size: 13px;
	font-weight: 700;
	text-transform: lowercase;
}
.am-bookie-facts { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.am-bookie-facts div {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 4px 10px;
	border-radius: var(--shape-sm);
	background: var(--surface-container);
}
.am-bookie-facts dt { color: var(--text-muted); font-size: 13px; font-weight: 600; letter-spacing: 0.5px; }
.am-bookie-facts dd { display: flex; margin: 0; }
.am-bookie-facts .ic { width: 20px; height: 20px; }
.am-yes { color: var(--status-ok-text); }
.am-no { color: var(--status-err-text); }
.am-clones-toggle {
	display: inline-flex;
	padding: 2px 6px;
	border: 0;
	border-radius: var(--shape-pill);
	background: transparent;
	color: var(--status-ok-text);
	cursor: pointer;
}
.am-clones-toggle:hover, .am-clones-toggle[aria-expanded="true"] { background: var(--surface-container-high); }
.am-bookie-clones {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 6px;
	margin: 0;
	padding: 10px;
	list-style: none;
	border-radius: var(--shape-sm);
	background: var(--surface-container);
}
.am-bookie-clones li {
	padding: 4px 10px;
	border-radius: var(--shape-xs);
	background: var(--surface-container-high);
	color: var(--text);
	font-size: 14px;
}
@media (max-width: 420px) {
	.am-bookie { grid-template-columns: 1fr; }
}

/* ---- Home --------------------------------------------------------
 * The hero keeps the ArbMate photo under a dark scrim, so its text is
 * light in both themes; everything under it follows the theme. */
.am-hero {
	position: relative;
	padding: clamp(48px, 9vw, 96px) clamp(16px, 4vw, 24px);
	background: #0c0c0c url('../img/home/arbmate-background.jpg') center / cover no-repeat;
	color: #fff;
	text-align: center;
	isolation: isolate;
}
.am-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(to right, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.92));
}
.am-hero-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	max-width: 860px;
	margin: 0 auto;
}
.am-hero h1 {
	margin: 0;
	color: #fff;
	font-weight: 800;
	letter-spacing: -0.3px;
	overflow-wrap: anywhere;
}
.am-hero p {
	max-width: 620px;
	margin: 0;
	color: rgba(255, 255, 255, 0.86);
	font-size: clamp(16px, 2.4vw, 20px);
	line-height: 1.55;
}
.am-hero .btn { margin-top: 8px; }
.am-home { padding-top: 32px; }
.am-home h2 { margin: 0 0 12px; color: var(--text); font-size: clamp(20px, 3vw, 26px); font-weight: 800; line-height: 1.25; }
.am-home-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-bottom: 48px;
}
.am-home-links .btn { justify-content: center; text-align: center; }
@media (max-width: 480px) {
	.am-home-links { grid-template-columns: minmax(0, 1fr); }
}
.am-arb-types {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin-bottom: 64px;
}
@media (max-width: 860px) {
	.am-arb-types { grid-template-columns: minmax(0, 1fr); }
}
.am-arb-types h2 { text-align: center; }
.am-arb-types p,
.am-navigator-promo p { margin: 0 0 12px; color: var(--text-muted); line-height: 1.65; overflow-wrap: anywhere; }
.am-arb-types strong,
.am-navigator-promo strong { color: var(--text); }
.am-navigator-promo {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 32px;
	align-items: center;
	margin-bottom: 64px;
	padding-bottom: 64px;
	border-bottom: 1px solid var(--border);
}
.am-navigator-promo img { display: block; width: 100%; max-width: 555px; height: auto; margin: 0 auto; }
.am-navigator-promo .btn { margin-top: 8px; }
@media (max-width: 860px) {
	.am-navigator-promo { grid-template-columns: minmax(0, 1fr); }
}

/* Reviews: stars are decoration (each row says its rating in aria-label). */
.am-reviews-section > h2,
.am-reviews-section > p { text-align: center; }
.am-reviews-section > p { margin: 0 0 8px; color: var(--text-muted); }
.am-reviews-section > p strong { color: var(--text); }
.am-stars { display: inline-flex; gap: 2px; color: #f3bf23; vertical-align: middle; }
.am-stars svg { width: 16px; height: 16px; }
.am-stars-lg { display: flex; justify-content: center; margin: 0 0 12px; }
.am-stars-lg svg { width: 30px; height: 30px; }
.am-reviews {
	display: flex;
	flex-direction: column;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
	scroll-margin-top: 80px;
}
.am-review { padding: 22px 0; border-top: 1px solid var(--border); }
.am-review-head { display: flex; align-items: flex-start; gap: 16px; }
.am-review-avatar {
	position: relative;
	flex: 0 0 50px;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: var(--surface-container-highest);
	color: var(--text);
	font-size: 17px;
	font-weight: 700;
	line-height: 50px;
	text-align: center;
}
.am-review-avatar .flag { position: absolute; right: -4px; bottom: -4px; }
.am-review-who { flex: 1 1 auto; min-width: 0; }
.am-review-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; color: var(--text); font-size: 17px; }
.am-review-name small { display: inline-flex; align-items: center; gap: 4px; color: var(--status-ok-text); font-size: 12px; }
.am-review-name small .ic { width: 14px; height: 14px; }
.am-review-date { flex: 0 0 auto; color: var(--text-dim); font-size: 13px; }
.am-review h3 {
	margin: 12px 0 4px 66px;
	color: var(--text);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.3px;
	text-transform: uppercase;
	overflow-wrap: anywhere;
}
.am-review p { margin: 0 0 0 66px; color: var(--text-muted); font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
@media (max-width: 480px) {
	.am-review-head { flex-wrap: wrap; }
	.am-review-date { flex-basis: 100%; order: 3; padding-left: 66px; }
	.am-review h3, .am-review p { margin-left: 0; }
}
.am-reviews-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	padding-top: 20px;
	border-top: 1px solid var(--border);
}
.am-reviews-bar[hidden] { display: none; }
.am-reviews-bar .os-pagination { margin-top: 0; justify-items: end; }
.am-reviews-size { display: inline-flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 14px; }
.am-reviews-size[hidden] { display: none; }
.am-reviews-size .os-select { width: 84px; }
.am-page-word .ic { display: none; width: 16px; height: 16px; }
.am-page-word:disabled { opacity: 0.45; cursor: default; }
.am-page-word:disabled::before { display: none; }
@media (max-width: 480px) {
	.am-page-word .am-page-word-text { display: none; }
	.am-page-word .ic { display: block; }
}
@media (max-width: 700px) {
	.am-reviews-bar { justify-content: center; }
	.am-reviews-bar .os-pagination { justify-items: center; }
}

/* ---- Blog list: the posts, and the follow / best posts / Odds Navigator column ---- */
.am-blog {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 32px;
	align-items: start;
}
@media (max-width: 991px) {
	.am-blog { grid-template-columns: minmax(0, 1fr); }
}
.am-blog-head {
	margin-bottom: 24px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--border);
}
.am-blog-head h1 { margin-bottom: 8px; }
.am-blog-head p { margin: 0; color: var(--text-muted); line-height: 1.6; }
.am-blog-search {
	margin: 0 0 20px;
	color: var(--text);
	font-size: 20px;
	font-weight: 700;
	overflow-wrap: anywhere;
}
/* A search that found nothing (OSDS 10-states, empty state: icon, title, message, the next step). */
.am-blog-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 48px 24px;
	border: 1px dashed var(--border-strong);
	border-radius: var(--shape-md);
	color: var(--text-muted);
	text-align: center;
}
.am-blog-empty-icon { width: 48px; height: 48px; margin-bottom: 16px; opacity: 0.5; }
.am-blog-empty-title { margin: 0 0 6px; color: var(--text); font-size: 16px; font-weight: 700; }
.am-blog-empty-msg { max-width: 360px; margin: 0 0 16px; font-size: 14px; line-height: 1.5; }
.am-blog-posts { display: flex; flex-direction: column; gap: 24px; }
.am-post-card {
	display: flex;
	flex-direction: column;
	padding: 0;
	overflow: hidden;
}
.am-post-card-image {
	display: block;
	aspect-ratio: 1180 / 400;
	overflow: hidden;
	background: var(--surface-container-high);
}
.am-post-card-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--dur-long) var(--ease-out);
}
.am-post-card-image:hover img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) {
	.am-post-card-image img { transition: none; }
	.am-post-card-image:hover img { transform: none; }
}
.am-post-card-body {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 20px clamp(16px, 3vw, 24px) 24px;
}
.am-post-card-title {
	margin: 0;
	font-size: clamp(19px, 2.4vw, 24px);
	font-weight: 800;
	line-height: 1.3;
}
.am-post-card-title a { color: var(--text); text-decoration: none; }
.am-post-card-title a:hover { color: var(--primary-soft); }
.am-post-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 12px;
	color: var(--text-muted);
	font-size: 13px;
}
.am-post-meta img { width: 32px; height: 32px; border-radius: 50%; }
.am-post-meta strong { color: var(--text); }
.am-post-meta time { margin-left: auto; }
.am-post-card-desc {
	margin: 0;
	color: var(--text-muted);
	line-height: 1.65;
	overflow-wrap: anywhere;
}
.am-post-card-more { align-self: flex-end; }
.am-blog-aside { display: flex; flex-direction: column; gap: 16px; }
.am-blog-aside .card { padding: 16px 18px; }
.am-blog-aside h2,
.am-blog-aside h3 { margin: 0 0 12px; color: var(--text); font-size: 16px; font-weight: 700; line-height: 1.35; }
.am-blog-aside p { margin: 0; color: var(--text-muted); font-size: 14px; line-height: 1.6; }
.am-blog-aside a { color: var(--primary-soft); }
.am-blog-aside p a { text-decoration: underline; text-underline-offset: 3px; }
.am-blog-follow .twitter-follow-button { display: inline-block; margin-top: 10px; }
.am-best-posts {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
	line-height: 1.45;
}
.am-navigator { text-align: center; }
.am-navigator img { display: block; width: 100%; height: auto; border-radius: var(--shape-sm); }

/* ---- Blog post: the legacy island -------------------------------------
 * The post keeps its Bootstrap 3 + styles.css look inside .am-legacy-island
 * (scoped copies built in the image). Its root takes Bootstrap's body: a
 * light sheet with dark text in both themes, so the post reads as before. */
.am-legacy-island {
	padding: 24px clamp(12px, 3vw, 32px) 32px;
	border-radius: var(--shape-md);
	background: #fff;
	color: #333;
	font: 14px/1.42857143 "Helvetica Neue", Helvetica, Arial, sans-serif;
	color-scheme: light;
	-webkit-font-smoothing: auto;
}
.am-post { padding-top: 32px; }
.am-post-nav {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin-top: 24px;
}
.am-post-nav a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	max-width: 48%;
	padding: 10px 14px;
	border: 1px solid var(--border);
	border-radius: var(--shape-md);
	background: var(--surface-container-low);
	color: var(--text);
	font-weight: 600;
	text-decoration: none;
}
.am-post-nav a:hover { border-color: var(--border-strong); background: var(--surface-container); }
.am-post-nav a.next { margin-left: auto; text-align: right; }

/* ---- Field errors (OSDS 09-forms: aria-invalid on the field, .lbl-err under it) ---- */
.lbl-err { color: var(--status-err-text); font-size: 13px; line-height: 1.4; }
.input[aria-invalid="true"] {
	border-color: var(--status-err);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--status-err) 18%, transparent);
}
.am-form .am-check {
	flex-direction: row;
	align-items: center;
	gap: 10px;
	color: var(--text-muted);
	font-size: 14px;
	cursor: pointer;
}
.am-form .am-check input { width: 18px; height: 18px; margin: 0; }
.am-form small, .am-form .lbl-help { color: var(--text-muted); font-size: 13px; line-height: 1.5; }
.am-form small a, .am-form .lbl-help a { color: var(--primary-soft); text-decoration: underline; text-underline-offset: 3px; }
.am-form select.input { appearance: auto; }
/* Two short fields side by side from 640 px (register: name and surname, city and postal code ...). */
.am-form-pair { display: grid; gap: 18px; }
@media (min-width: 640px) {
	.am-form-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- Account forms: login, register, passwords, verification ---- */
.am-auth { max-width: 520px; padding-top: clamp(32px, 7vw, 72px); }
.am-auth-wide { max-width: 760px; }
.am-auth .card { padding: clamp(20px, 4vw, 32px); }
.am-auth h1 { font-size: clamp(24px, 4vw, 30px); }
.am-auth .am-form { margin-top: 8px; }
.am-auth-links {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid var(--border);
	font-size: 14px;
}
.am-auth-links a { color: var(--primary-soft); }
.am-auth-message { padding: clamp(48px, 10vw, 120px) 0; text-align: center; }
.am-auth-message h1 { margin-bottom: 12px; }
.am-auth-message p { color: var(--text-muted); }

/* ---- Checkout steps (includes/_checkout_steps; also on the legacy subscribe and payment pages) ---- */
.os-modern .multi-steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
	counter-reset: am-step;
}
.os-modern .multi-steps li {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	color: var(--text-dim);
	font-size: 13px;
	text-align: center;
	counter-increment: am-step;
}
.os-modern .multi-steps li::before {
	content: counter(am-step);
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border: 1px solid var(--border-strong);
	border-radius: 50%;
	background: var(--surface-container);
	color: var(--text-muted);
	font-weight: 700;
}
.os-modern .multi-steps li + li::after {
	content: "";
	position: absolute;
	top: 16px;
	right: 50%;
	width: 100%;
	height: 1px;
	background: var(--border-strong);
}
.os-modern .multi-steps li.is-active { color: var(--text); font-weight: 700; }
.os-modern .multi-steps li.is-active::before { border-color: transparent; background: var(--primary-fill); color: var(--on-primary); }
.os-modern .multi-steps li.is-completed::before { content: "\2713"; border-color: var(--primary-fill); color: var(--text); }

/* ---- Prices: the plans, the notices, the FAQ ---- */
.am-plans {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
	gap: 16px;
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
}
.am-plan {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	padding: 28px 18px 24px;
	text-align: center;
}
.am-plan h2 { margin: 0; color: var(--text); font-size: 20px; font-weight: 700; }
/* The badge sits on the card's top edge, centred, so it never covers the title. */
/* Not a .pill: a label, not a control (a .pill takes the 44 px touch floor on a phone). */
.am-plan-badge {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%, -50%);
	padding: 4px 12px;
	border-radius: var(--shape-pill);
	background: var(--brand-gradient);
	box-shadow: var(--elev-1);
	color: var(--on-primary);
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
}
.am-plan-price { display: flex; flex-direction: column; align-items: center; gap: 2px; margin: 0; }
.am-plan-price strong { color: var(--text); font-size: 44px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.am-plan-price span { color: var(--text-muted); font-size: 13px; }
.am-plan-paid {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 8px;
	border: 0;
	border-radius: var(--shape-pill);
	background: transparent;
	color: var(--text-muted);
	font: inherit;
	font-size: 14px;
	cursor: pointer;
}
.am-plan-paid:hover, .am-plan-paid[aria-expanded="true"] { background: var(--surface-container-high); color: var(--text); }
.am-plan-paid .ic { width: 16px; height: 16px; }
.am-plan-old { color: var(--text-dim); text-decoration: line-through; }
.am-plan-note { margin: 0; color: var(--text-muted); font-size: 13px; line-height: 1.5; }
.am-plan .btn { align-self: stretch; justify-content: center; margin-top: auto; }
.am-notices { margin: 0 0 28px; padding: 0; list-style: none; color: var(--text-muted); font-size: 14px; line-height: 1.6; }
.am-notices li { display: flex; gap: 10px; margin-bottom: 8px; }
.am-notices .ic { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 2px; color: var(--primary-soft); }
.am-notices a, .am-faq a { color: var(--primary-soft); text-decoration: underline; text-underline-offset: 3px; }
.am-faq { border-top: 1px solid var(--border); }
.am-faq h2 { margin: 24px 0 12px; font-size: 20px; }
.am-faq details { border-bottom: 1px solid var(--border); }
.am-faq summary {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 4px;
	color: var(--text);
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}
.am-faq summary::-webkit-details-marker { display: none; }
.am-faq summary .ic { flex: 0 0 18px; width: 18px; height: 18px; color: var(--text-dim); transition: transform var(--t-fast); }
.am-faq details[open] summary .ic { transform: rotate(90deg); }
.am-faq details > div { padding: 0 4px 16px 32px; color: var(--text-muted); line-height: 1.65; }

/* ---- Affiliate: the program, the application, the dashboard ---- */
.am-aff-perks {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
	gap: 16px;
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
}
.am-aff-perks li { padding: 20px; color: var(--text); font-weight: 600; line-height: 1.5; text-align: center; }
/* The old page's pictures, one 150x100 cell each of the same sprite. */
.am-aff-icon { display: block; width: 150px; height: 100px; margin: 0 auto 12px; background: url("../img/affiliate/affiliate-icons.png") no-repeat; }
.am-aff-steps .am-aff-icon { margin: 0 0 12px -20px; }
.am-aff-icon.razer { background-position: -37px -9px; }
.am-aff-icon.thirty-percent { background-position: -218px -14px; }
.am-aff-icon.people { background-position: -431px -9px; }
.am-aff-icon.settings-key { background-position: -625px -14px; }
.am-aff-icon.step-one { background-position: -818px -10px; }
.am-aff-icon.step-two { background-position: -998px -6px; }
.am-aff-icon.step-three { background-position: -1190px -6px; }
.am-aff-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; margin: 0 0 32px; }
.am-aff-steps .card { padding: 20px; }
.am-aff-steps h3 { margin: 0 0 8px; color: var(--text); font-size: 18px; }
.am-aff-steps p, .am-affiliate > p { color: var(--text-muted); line-height: 1.6; }
.am-affiliate > p a { color: var(--primary-soft); text-decoration: underline; text-underline-offset: 3px; }
.am-table-wrap { overflow-x: auto; margin: 0 0 24px; border: 1px solid var(--border); border-radius: var(--shape-md); }
.am-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.am-table th, .am-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); text-align: left; white-space: nowrap; }
.am-table th { background: var(--surface-container); color: var(--text-muted); font-size: 12px; font-weight: 700; letter-spacing: 0.3px; }
.am-table tbody tr:last-child td { border-bottom: 0; }
.am-table td { color: var(--text); }
.am-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.am-table .mid { text-align: center; }
.am-table .is-strong { color: var(--status-ok-text); font-weight: 700; }
.am-aff-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 16px; }
.am-aff-banners { display: flex; flex-direction: column; gap: 28px; }
.am-aff-banners figure { margin: 0; }
.am-aff-banners figcaption { margin-bottom: 10px; color: var(--text); font-weight: 600; }
.am-aff-banners img { display: block; max-width: 100%; height: auto; }
.am-aff-banners pre {
	margin: 10px 0 0;
	padding: 12px;
	overflow-x: auto;
	border-radius: var(--shape-sm);
	background: var(--surface-container);
	color: var(--text-muted);
	font-size: 12px;
	white-space: pre-wrap;
	word-break: break-all;
}
.am-aff-filters { display: grid; gap: 16px; margin-bottom: 24px; }
.am-aff-filters fieldset { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; border: 0; }
.am-aff-filters legend { margin-bottom: 8px; padding: 0; color: var(--text); font-size: 14px; font-weight: 600; }
.am-aff-filter-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ==== Stage 3b: the account pages with money ==== */

/* ---- Shared: icon buttons, busy buttons, inline forms, status labels, empty states ---- */
.am-icon-btn {
	display: inline-grid;
	place-items: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--text-muted);
	cursor: pointer;
}
.am-icon-btn:hover { background: var(--surface-container-high); color: var(--text); }
.am-icon-btn .ic { width: 20px; height: 20px; }
@media (pointer: coarse) { .am-icon-btn { width: 44px; height: 44px; } }
.am-info-btn {
	display: inline-grid;
	place-items: center;
	width: 22px;
	height: 22px;
	margin-left: 2px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--text-dim);
	vertical-align: middle;
	cursor: pointer;
}
.am-info-btn:hover, .am-info-btn[aria-expanded="true"] { background: var(--surface-container-high); color: var(--text); }
.am-info-btn .ic { width: 16px; height: 16px; }
/* A busy button keeps its size: the spinner alone, centred (arbmate-site.js setBusy). */
.btn[aria-busy="true"] { justify-content: center; }
.am-inline-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.am-inline-form .input { flex: 1 1 220px; min-width: 0; }
.am-inline-field { display: flex; flex-wrap: wrap; gap: 10px; }
.am-inline-field .input { flex: 1 1 220px; min-width: 0; }
.am-status {
	display: inline-block;
	margin-top: 4px;
	padding: 2px 8px;
	border-radius: var(--shape-pill);
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
}
.am-status.is-err { background: color-mix(in srgb, var(--status-err) 16%, transparent); color: var(--status-err-text); }
.am-status.is-warn { background: color-mix(in srgb, var(--status-warn) 16%, transparent); color: var(--status-warn-text); }
.am-status.is-ok { background: color-mix(in srgb, var(--status-ok) 16%, transparent); color: var(--status-ok-text); }
.am-tag {
	display: inline-block;
	padding: 1px 8px;
	border: 1px solid var(--border-strong);
	border-radius: var(--shape-pill);
	color: var(--text-muted);
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
}
.am-empty { padding: clamp(56px, 12vw, 120px) 0; text-align: center; }
.am-empty h1 { margin-bottom: 20px; }
.am-empty[hidden] { display: none; }
.am-done { color: var(--status-ok-text); font-weight: 700; }
/* A select inside a table row: the row's height, not a form field's. */
.am-table select.input { width: auto; min-width: 84px; padding: 6px 10px; font-size: 14px; }
@media (pointer: coarse) { .am-table select.input { font-size: 16px; } }
/* A phone gets every column: the table scrolls in its frame, the first column stays. */
.am-table-sticky th:first-child,
.am-table-sticky td:first-child {
	position: sticky;
	left: 0;
	z-index: 1;
	background: var(--surface-container-low);
}
.am-table-sticky th:first-child { background: var(--surface-container); }
.am-table tbody tr[hidden] { display: none; }

/* ---- Dialogs (OSDS <dialog> + .dialog-body): the close button in the corner, the payment methods ---- */
.am-dialog { width: min(560px, calc(100vw - 32px)); }
.am-dialog .dialog-body { position: relative; }
.am-dialog h3 { padding-right: 40px; }
.am-dialog-close { position: absolute; top: 14px; right: 14px; }
.am-pay-list { display: flex; flex-direction: column; gap: 10px; margin: 0 0 18px; }
.am-pay-option {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 14px 16px;
	border: 1px solid var(--border);
	border-radius: var(--shape-md);
	background: var(--surface-container);
	cursor: pointer;
}
.am-pay-option:hover { border-color: var(--border-strong); }
.am-pay-option:has(input:checked) { border-color: var(--primary-soft); background: var(--surface-container-high); }
.am-pay-option input { flex: 0 0 18px; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--primary-soft); }
.am-pay-option span { display: flex; flex-direction: column; gap: 4px; }
.am-pay-option strong { color: var(--text); }
.am-pay-option small { color: var(--text-muted); font-size: 13px; line-height: 1.5; }
.am-dialog .modal-actions { display: flex; }
.am-dialog .modal-actions .btn { flex: 1 1 auto; justify-content: center; }

/* ---- Cart ---- */
.am-cart { padding-top: 32px; }
.am-cart-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 28px;
	align-items: start;
}
@media (max-width: 900px) { .am-cart-grid { grid-template-columns: minmax(0, 1fr); } }
.am-cart h1 { display: flex; align-items: center; gap: 12px; }
.am-cart h1 .ic { flex: 0 0 auto; width: 28px; height: 28px; color: var(--primary-soft); }
.am-cart-table td { vertical-align: middle; }
.am-cart-table .product-remove { width: 1%; padding-right: 0; }
.am-cart-table .product-title { white-space: normal; font-weight: 600; }
.am-cart-totals { display: flex; flex-direction: column; gap: 16px; padding: 22px; }
.am-cart-totals h2 { margin: 0; font-size: 20px; }
.am-totals { margin: 0; }
.am-totals > div {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 6px 12px;
	padding: 10px 0;
	border-bottom: 1px solid var(--border);
}
.am-totals > div[hidden] { display: none; }
.am-totals dt { display: flex; align-items: center; gap: 4px; color: var(--text-muted); font-size: 14px; font-weight: 600; }
.am-totals dd { margin: 0; color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; }
.am-totals .am-totals-note { flex: 1 1 100%; color: var(--text-muted); font-size: 13px; font-weight: 400; line-height: 1.5; }
.am-totals > .am-totals-sum { border-bottom: 0; }
.am-totals-sum dt { color: var(--text); font-size: 16px; }
.am-totals-sum dd { font-size: 20px; }
.am-cart .coupon-code { margin-top: 4px; }
.am-cart .coupon-code[hidden] { display: none; }

/* ---- Checkout: details and payment (the steps come from .multi-steps) ---- */
.am-checkout { max-width: 820px; padding-top: 32px; }
.am-checkout-for { margin: 0 0 20px; color: var(--text-muted); text-align: center; }
.am-checkout-card { padding: clamp(20px, 4vw, 32px); }
.am-checkout-card h2 { margin: 0 0 16px; font-size: 20px; }
/* Skrill's own page: tall enough for its whole form, no second scroll bar (measured 2026-10-24 with Skrill's test
   merchant: 868-874 px on a desktop, up to 1011 px at 316 px wide; the old 800 px cut its last option off). */
.am-pay-frame { display: block; width: 100%; height: 920px; border: 0; border-radius: var(--shape-sm); background: #fff; }
@media (max-width: 600px) {
	.am-pay-frame { height: 1100px; }
	.am-checkout-card:has(.am-pay-frame) { padding: 14px 10px; }
	.am-checkout-card:has(.am-pay-frame) h2 { padding: 0 6px; }
}
.am-pay-methods { margin: 0; padding: 0; border: 0; }
.am-pay-methods legend { margin-bottom: 12px; padding: 0; color: var(--text); font-size: 14px; font-weight: 600; }
.am-pay-methods legend h2 { margin: 0; font-size: 20px; }
.am-pay-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 12px; }
.am-form label.am-pay-method,
.am-pay-method {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 16px 12px;
	border: 1px solid var(--border);
	border-radius: var(--shape-md);
	background: var(--surface-container);
	text-align: center;
	cursor: pointer;
}
.am-pay-method:hover { border-color: var(--border-strong); }
.am-pay-method:has(input:checked) { border-color: var(--primary-soft); background: var(--surface-container-high); }
/* The payment logos are drawn for a white page: they keep a white plate in both themes. */
.am-pay-method img { display: block; width: 100%; max-width: 140px; height: 56px; padding: 6px; object-fit: contain; border-radius: var(--shape-sm); background: #fff; }
.am-pay-method span { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; }
.am-pay-method input { width: 18px; height: 18px; margin: 0; accent-color: var(--primary-soft); }
.am-checkout .am-check a { color: var(--primary-soft); text-decoration: underline; text-underline-offset: 3px; }

/* ---- My bookmakers ---- */
.am-my-bookies { padding-top: 32px; }
.am-swap { padding: clamp(18px, 3vw, 26px); margin-bottom: 28px; }
.am-swap h2 { margin: 0 0 14px; font-size: 20px; }
.am-swap-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 16px; align-items: end; }
.am-swap-form label { display: flex; flex-direction: column; gap: 6px; }
.am-swap-form .lbl-text { color: var(--text); font-size: 14px; font-weight: 600; }
@media (max-width: 760px) { .am-swap-form { grid-template-columns: minmax(0, 1fr); } }
.am-swap-note { display: flex; gap: 10px; margin: 16px 0 0; color: var(--text-muted); font-size: 13px; line-height: 1.6; }
.am-swap-note .ic { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 2px; color: var(--status-warn-text); }
.am-swap-note strong { color: var(--text); }
.am-bookies-table td { vertical-align: middle; }
.am-bookies-table td strong { color: var(--text); }
.am-bookies-table .mid .am-status { display: block; width: max-content; margin: 4px auto 0; }
.am-table-bar { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; margin: 0 0 16px; }
.am-table-bar .am-bookies-search { margin: 0; }
.am-tz { display: inline-flex; flex-wrap: wrap; gap: 10px; align-items: center; color: var(--text-muted); font-size: 14px; font-weight: 600; }
.am-tz .input { width: auto; }

/* ---- Notifications ---- */
.am-notes { display: flex; flex-direction: column; gap: 14px; margin: 0 0 28px; padding: 0; list-style: none; }
.am-note { padding: 18px 20px; }
.am-note.is-unread { border-left: 3px solid var(--primary-soft); }
.am-note-time { margin: 0 0 8px; color: var(--text-dim); font-size: 13px; text-align: right; }
.am-note-body { color: var(--text); line-height: 1.6; overflow-wrap: anywhere; }
.am-note-body a { color: var(--primary-soft); text-decoration: underline; text-underline-offset: 3px; }
.am-note-body img { max-width: 100%; height: auto; }
.am-note .notification-footer { margin-top: 12px; text-align: right; }

/* ---- Profile ---- */
.am-profile { padding-top: 28px; }
.am-profile-tabs { margin-bottom: 8px; }
.am-profile-tabs .pill { gap: 8px; }
/* The five pictures of the old sidebar, one 20 px cell each of the same sprite. */
.am-profile-icon {
	display: inline-block;
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	background: url("../img/profile/profile-icons.png") no-repeat;
	background-size: 36px 2718px;
}
.am-profile-icon.profile-img { background-position: 0 -1206px; }
.am-profile-icon.orders-img { background-position: 0 -1712px; }
.am-profile-icon.promocode-img { background-position: 0 -1625px; }
.am-profile-icon.nav-key-img { background-position: 0 -942px; }
.am-profile-icon.review-img { background-position: 0 -876px; }
.am-profile .am-tab-panel h1 { margin-top: 16px; }
.am-profile-id { margin: 0 0 18px; color: var(--text-muted); font-weight: 600; }
.am-profile-card { margin-bottom: 20px; padding: clamp(18px, 3vw, 26px); }
.am-profile-card .am-form, .am-checkout-card .am-form { margin-top: 0; }
.am-profile-card h2 { margin: 0 0 16px; font-size: 20px; }
.am-form.am-picture-form { flex-direction: row; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.am-avatar { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 0; color: var(--text-dim); font-size: 12px; }
.am-avatar img { display: block; width: 80px; height: 80px; border-radius: var(--shape-sm); object-fit: cover; box-shadow: 0 0 0 1px var(--border-strong); }
.am-picture-field { display: flex; flex: 1 1 260px; flex-direction: column; gap: 12px; align-items: flex-start; }
.am-picture-field label { align-self: stretch; }
.am-form-end { align-self: flex-end; }
/* The newsletter switch: a checkbox drawn as a switch. */
.am-form .am-switch input {
	appearance: none;
	position: relative;
	flex: 0 0 40px;
	width: 40px;
	height: 22px;
	border-radius: var(--shape-pill);
	background: var(--surface-container-highest);
	box-shadow: inset 0 0 0 1px var(--border-strong);
	cursor: pointer;
	transition: background var(--dur-short) var(--ease-emphasized);
}
.am-form .am-switch input::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--text-muted);
	transition: transform var(--dur-short) var(--ease-emphasized), background var(--dur-short) var(--ease-emphasized);
}
.am-form .am-switch input:checked { background: var(--primary-fill); box-shadow: none; }
.am-form .am-switch input:checked::after { transform: translateX(18px); background: var(--on-primary); }
.am-form .am-switch input:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.am-form .am-switch span { color: var(--text); }
.am-orders td { vertical-align: top; }
.am-order-detail { margin-top: 10px; }
.am-order-detail[hidden] { display: none; }
.am-order-detail .am-table { border: 1px solid var(--border); border-radius: var(--shape-sm); }
.am-order-rec { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; color: var(--text-muted); font-size: 13px; }
.am-profile-help { margin-top: 24px; }
.am-profile-help details > div { white-space: normal; }
.am-profile-note { margin-top: 20px; color: var(--text-muted); font-size: 14px; line-height: 1.6; }
.am-profile-note a, .am-navkey-text a { color: var(--primary-soft); text-decoration: underline; text-underline-offset: 3px; }
.am-navkey-text { margin-bottom: 20px; color: var(--text-muted); line-height: 1.7; overflow-wrap: anywhere; }
.am-navkey-text img { max-width: 100%; height: auto; }
.am-navkey { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.am-navkey-expire { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0; color: var(--text); }
.am-navkey-expire small { color: var(--text-dim); }
.am-navkey-expire .am-status { margin: 0; }
.am-days-field { display: inline-flex; align-items: center; gap: 10px; color: var(--text-muted); font-weight: 600; }
.am-days-field .input { width: 90px; text-align: center; -moz-appearance: textfield; }
.am-days-field .input::-webkit-inner-spin-button, .am-days-field .input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.am-step-btn {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--border-strong);
	border-radius: var(--shape-sm);
	background: var(--surface-container-high);
	color: var(--text);
	font: 700 20px/1 var(--font-body);
	cursor: pointer;
}
.am-step-btn:hover { background: var(--surface-container-highest); }
.am-navkey-total { margin: 0; color: var(--text); font-size: 20px; }
.am-navkey .am-submit { align-self: stretch; justify-content: center; }
.am-rating { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; border: 0; }
.am-rating legend { flex: 0 0 100%; margin-bottom: 6px; padding: 0; }
.am-form .am-rating label, .am-rating label { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: var(--shape-sm); color: #f3bf23; cursor: pointer; }
.am-rating label:hover { background: var(--surface-container-high); }
.am-rating input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.am-rating .ic { width: 28px; height: 28px; fill: transparent; }
.am-rating label:has(input:focus-visible) { box-shadow: var(--focus-ring); }
/* Filled up to the chosen star (or the one under the pointer); a review already sent shows its stars. */
.am-rating label.is-rated .ic,
.am-rating:has(input:checked) label:has(~ label input:checked) .ic,
.am-rating label:has(input:checked) .ic { fill: currentColor; }
.am-rating:not(:disabled):has(label:hover) label .ic { fill: transparent; }
.am-rating:not(:disabled) label:has(~ label:hover) .ic,
.am-rating:not(:disabled) label:hover .ic { fill: currentColor; }
.am-rating:disabled label { cursor: default; }
.am-rating:disabled label:hover { background: transparent; }
.am-review-done { margin: 0; color: var(--status-err-text); font-weight: 700; }
/* The file field's own button as an OSDS secondary button (profile picture). */
.input[type="file"] { padding: 6px; cursor: pointer; }
.input[type="file"]::file-selector-button {
	margin-right: 12px;
	padding: 8px 16px;
	border: 1px solid var(--border-strong);
	border-radius: var(--shape-pill);
	background: var(--surface-container-high);
	color: var(--text);
	font: 600 14px var(--font-body);
	cursor: pointer;
}
.input[type="file"]::file-selector-button:hover { background: var(--surface-container-highest); }
/* My bookmakers fits a desktop: headings may take two lines, a long clone name ends in an ellipsis in its list. */
.am-bookies-table th { white-space: normal; vertical-align: bottom; }
.am-bookies-table th, .am-bookies-table td { padding: 10px 10px; }
.am-bookies-table .am-clones { max-width: 190px; text-overflow: ellipsis; }
/* A long label in another language (Greek "add more bookmakers") wraps instead of leaving a phone screen. */
.am-empty .btn { max-width: 100%; white-space: normal; justify-content: center; text-align: center; }
