/* SisterSitesHub components. Colours come from the theme's --ssh-* tokens, with fallbacks. */
.ssh-tree, .ssh-facts, .ssh-shared, .ssh-compare, .ssh-quick, .ssh-cards, .ssh-best, .ssh-fam-grid, .ssh-search, .ssh-geo-notice {
	--ink: var(--ssh-ink, #FFFFFF);
	--text: var(--ssh-text, #CDD5EA);
	--muted: var(--ssh-muted, #8E98B8);
	--line: var(--ssh-card-line, #243150);
	--soft: var(--ssh-soft, rgba(255, 255, 255, .04));
	--chip: var(--ssh-chip, rgba(255, 255, 255, .08));
	--accent: var(--ssh-accent, #34D399);
	--accent-dark: var(--ssh-accent-dark, #2BC48A);
	--surface: var(--ssh-card, #141D32);
	margin: 0 0 32px;
	color: var(--ink);
}
.ssh-mono { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: .93em; }
.ssh-small { display: block; font-size: 12px; color: var(--ssh-muted, #8E98B8); }
.ssh-label { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ssh-muted, #8E98B8); }
.ssh-right { text-align: right; }
.ssh-missing { padding: 12px; border: 2px dashed #B7791F; background: #2A1E0A; color: #F6D79B; border-radius: 8px; }
.ssh-skel { display: inline-block; width: 90px; height: 12px; border-radius: 6px; background: rgba(255, 255, 255, .10); }

.ssh-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--ssh-chip, rgba(255, 255, 255, .08)); color: var(--ssh-chip-text, #D5DBF0); font-size: 13px; font-weight: 500; white-space: nowrap; }
.ssh-chip--ok { background: rgba(52, 211, 153, .14); color: #6EE7B7; }
.ssh-chip--warn { background: rgba(245, 158, 11, .14); color: #FCD34D; }
.ssh-chip--light { background: rgba(255, 255, 255, .10); }
.ssh-chips { display: flex; flex-wrap: wrap; gap: 6px; }

.ssh-tile { width: 48px; height: 48px; flex: none; border-radius: 12px; background: var(--ssh-tile-bg, #1E2A47); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; overflow: hidden; }
.ssh-tile--img { background: var(--logo-bg, #FFFFFF); }
.ssh-tile img { width: 100%; height: 100%; object-fit: contain; }
.ssh-tile--sm { width: 36px; height: 36px; font-size: 13px; border-radius: 9px; }

.ssh-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border-radius: 10px; background: var(--ssh-accent, #34D399); color: var(--ssh-cta-text, #04261A) !important; font-weight: 700; box-shadow: var(--ssh-cta-shadow, none); text-decoration: none !important; font-size: 15px; white-space: nowrap; }
.ssh-cta:hover { background: var(--ssh-accent-dark, #2BC48A); }
.ssh-cta--sm { min-height: 40px; padding: 0 16px; }
.ssh-ghost { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--ssh-line2, rgba(255, 255, 255, .22)); color: var(--ssh-ink, #FFFFFF) !important; font-weight: 600; text-decoration: none !important; font-size: 15px; background: transparent; }
.ssh-ghost:hover { border-color: var(--ssh-accent, #34D399); }
.ssh-go { color: var(--ssh-accent, #34D399); font-weight: 600; font-size: 14px; }


/* Shared / best for */
.ssh-shared { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.ssh-shared h2, .ssh-best h2, .ssh-cards h2, .ssh-compare h2 { margin: 0 0 16px; }
.ssh-shared__grid, .ssh-best__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.ssh-shared__grid > div, .ssh-best__grid > div { display: flex; flex-direction: column; gap: 6px; padding: 16px; background: var(--soft); border-radius: 12px; }
.ssh-best__grid > div { background: var(--surface); border: 1px solid var(--line); }
.ssh-shared__grid span, .ssh-best__grid span { color: var(--muted); font-size: 14px; }

/* UK notice */
.ssh-geo-notice { background: #2A1E0A; border: 1px solid #6B4E1B; border-radius: 14px; padding: 20px 24px; }
.ssh-geo-notice[hidden] { display: none; }
.ssh-geo-notice div { display: flex; flex-direction: column; gap: 4px; }
.ssh-geo-notice strong { color: #FCD34D; }
.ssh-geo-notice span { color: #F6D79B; font-size: 15px; }

/* Sister cards */
.ssh-cards { display: flex; flex-direction: column; gap: 16px; }
.ssh-cards[hidden] { display: none; }
.ssh-cards h2 { margin-bottom: 0; }
.ssh-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr) minmax(260px, 1fr); gap: 24px; align-items: center; }
.ssh-card__main { display: flex; flex-direction: column; gap: 12px; }
.ssh-card__id { display: flex; gap: 14px; align-items: center; }
.ssh-card__id h3 { margin: 0 0 4px; font-size: 22px; }
.ssh-card__diff span { font-size: 13px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.ssh-card__diff p { margin: 4px 0 0; font-size: 16px; line-height: 1.5; }
.ssh-card__facts { align-content: center; }
.ssh-offerbox { background: var(--soft); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.ssh-offerbox__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ssh-offerbox__offer { font-size: 22px; letter-spacing: -.01em; }
.ssh-offerbox__actions { display: flex; gap: 8px; }
.ssh-offerbox__actions .ssh-cta { flex: 1; }
.ssh-offerbox--warn { background: #2A1E0A; }
.ssh-offerbox--warn strong { color: #FCD34D; }
.ssh-offerbox--warn span, .ssh-offerbox--warn a { color: #F6D79B; font-size: 14px; }
.ssh-offerbox--warn a { font-weight: 600; }
@media (max-width: 900px) {
	.ssh-card { grid-template-columns: minmax(0, 1fr); padding: 20px; gap: 16px; }
}

/* Home: family grid and search */
.ssh-fam-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.ssh-fam { text-decoration: none !important; color: var(--ink) !important; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.ssh-fam:hover { border-color: var(--accent); }
.ssh-fam__top { display: flex; justify-content: space-between; align-items: center; }
.ssh-fam__tiles { display: flex; padding-left: 6px; }
.ssh-fam__tiles .ssh-tile { width: 40px; height: 40px; font-size: 15px; margin-left: -6px; border: 2px solid var(--surface); }
.ssh-fam > div:nth-child(2) { display: flex; flex-direction: column; gap: 4px; }
.ssh-fam strong { font-size: 19px; }
.ssh-fam > div:nth-child(2) span { color: var(--muted); font-size: 14px; }
.ssh-fam__foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 12px; font-size: 12px; color: var(--muted); }

.ssh-search { display: flex; flex-direction: column; gap: 10px; max-width: 720px; }
.ssh-search label { font-size: 14px; color: inherit; opacity: .8; }
.ssh-search__box { background: var(--ssh-card, #141D32); border: 1px solid var(--ssh-line2, rgba(255, 255, 255, .22)); border-radius: 14px; padding: 6px; display: flex; }
.ssh-search__box input { flex: 1; min-width: 0; border: 0 !important; outline: none; box-shadow: none !important; font: inherit; font-size: 18px; padding: 0 14px; height: 52px; color: #FFFFFF; background: transparent; }
.ssh-search__results { background: var(--ssh-card, #141D32); border: 1px solid var(--ssh-card-line, #243150); color: #FFFFFF; border-radius: 12px; padding: 8px; display: flex; flex-direction: column; }
.ssh-search__results[hidden] { display: none; }
.ssh-search__hit { display: flex; justify-content: space-between; gap: 12px; padding: 12px; border-radius: 8px; text-decoration: none !important; color: #FFFFFF !important; }
.ssh-search__hit:hover { background: rgba(255, 255, 255, .06); }
.ssh-search__hit span span { color: var(--ssh-muted, #8E98B8); }
.ssh-search__none { padding: 12px; color: var(--ssh-muted, #8E98B8); }

/* Tree + facts row */
.ssh-top { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; margin: 0 0 32px; }
.ssh-top > .ssh-tree { flex: 2 1 520px; min-width: 0; margin: 0; }
.ssh-top > .ssh-facts { flex: 1 1 280px; margin: 0; }
.ssh-ghost--sm { min-height: 40px; font-size: 14px; }

/* Offers at the top of a family page */
.ssh-quick { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; max-width: 760px; display: flex; flex-direction: column; gap: 10px; }
.ssh-quick[hidden] { display: none; }
.ssh-quick__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 15px; }
.ssh-quick__head a { font-size: 14px; font-weight: 600; white-space: nowrap; }
.ssh-quick ul { list-style: none; margin: 0; padding: 0; }
.ssh-quick li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); margin: 0; }
.ssh-quick__name { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.ssh-quick__name span { font-size: 14px; color: var(--muted); }

/* Compare: one card per brand. Logo | name | divider + offer text | Visit button. Cards stack on phones. */
.ssh-compare { background: var(--ssh-soft, rgba(255, 255, 255, .04)); border: 1px solid var(--ssh-line, rgba(255, 255, 255, .10)); border-radius: var(--ssh-r, 20px); padding: 24px; }
.ssh-compare__head h2 { margin: 0; }
.ssh-compare__sub { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.ssh-compare__sub strong { color: var(--ink); }
.ssh-xw { display: flex; flex-direction: column; gap: 14px; margin: 20px 0 16px; }
.ssh-xc { position: relative; display: grid; grid-template-columns: 60px minmax(150px, 220px) minmax(0, 1fr) 190px; gap: 22px; align-items: center; padding: 20px 22px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.ssh-xc.is-top { border-color: var(--accent); margin-top: 6px; }
.ssh-xc .ssh-tile { width: 60px; height: 60px; border-radius: 14px; font-size: 18px; }
.ssh-xc__name { display: flex; flex-direction: column; gap: 2px; align-items: flex-start; min-width: 0; }
.ssh-xc__name strong { font-size: 17px; color: var(--ink); line-height: 1.3; }
.ssh-xc__title { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.ssh-xc__name .ssh-chip { font-size: 12px; padding: 2px 8px; }
.ssh-xc__best { font-size: 13px; color: var(--muted); line-height: 1.4; }
.ssh-xc__offer { border-left: 1px solid var(--line); padding-left: 22px; min-width: 0; }
.ssh-xc__offer small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.ssh-xc__offer p { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.ssh-xc__offer p.is-muted { font-weight: 500; color: var(--muted); }
.ssh-xc__meta { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
.ssh-xc__cta .ssh-cta, .ssh-xc__cta .ssh-ghost { width: 100%; min-height: 48px; }
.ssh-xc__badge { position: absolute; top: -10px; left: 20px; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; background: var(--accent); color: var(--ssh-cta-text, #04261A); padding: 3px 9px; border-radius: 6px; line-height: 1.4; }
@media (max-width: 900px) {
	.ssh-xc { grid-template-columns: 60px minmax(0, 1fr) 160px; }
	.ssh-xc__offer { grid-column: 2 / 3; grid-row: 2; }
	.ssh-xc__cta { grid-column: 3; grid-row: 1 / 3; }
	.ssh-xc__logo { grid-row: 1 / 3; align-self: start; }
	.ssh-xc__offer { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 12px; }
}
@media (max-width: 700px) {
	.ssh-compare { padding: 16px; border-radius: 16px; }
	.ssh-xc { grid-template-columns: 52px minmax(0, 1fr); gap: 12px 14px; padding: 16px; }
	.ssh-xc .ssh-tile { width: 52px; height: 52px; border-radius: 12px; font-size: 16px; }
	.ssh-xc__logo { grid-row: auto; }
	.ssh-xc__offer, .ssh-xc__cta { grid-column: 1 / -1; grid-row: auto; }
}

/* Front page: top list, owners, A–Z */
.ssh-toplist, .ssh-owners, .ssh-az { --ink: var(--ssh-ink, #FFFFFF); --muted: var(--ssh-muted, #8E98B8); --line: var(--ssh-card-line, #243150); --accent: var(--ssh-accent, #34D399); --surface: var(--ssh-card, #141D32); margin: 0 0 48px; color: var(--ink); }
.ssh-compare.ssh-toplist { background: none; border: 0; padding: 0; border-radius: 0; }
.ssh-toplist[hidden] { display: none; }
.ssh-toplist .ssh-xw { margin-top: 18px; }
.ssh-toplist a.ssh-xc__best { color: var(--ssh-link, #9DB8FF); text-decoration: none; }
.ssh-owners h2, .ssh-az h2 { margin: 0 0 6px; }
.ssh-sec-sub { color: var(--muted); font-size: 15px; margin: 0 0 18px; }
.ssh-az__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.ssh-az__item { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 10px 12px; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; text-decoration: none !important; color: var(--ink) !important; font-weight: 600; font-size: 15px; }
.ssh-az__item span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ssh-az__item:hover { border-color: var(--accent); }
@media (max-width: 600px) {
	.ssh-az__grid { grid-template-columns: 1fr 1fr; }
	.ssh-az__item { font-size: 14px; padding: 8px; gap: 10px; }
}
/* Front page blocks always use the full content width, even inside a block or paragraph. */
.ssh-toplist, .ssh-owners, .ssh-az { width: 100%; max-width: none !important; }
.entry :is(p, div):has(> .ssh-toplist, > .ssh-owners, > .ssh-az) { max-width: none !important; }
.ssh-tile--img img { padding: 4px; }
.ssh-toplist, .ssh-owners, .ssh-az { scroll-margin-top: 16px; }
.ssh-search__btn { flex: none; border: 0; border-radius: 10px; background: var(--ssh-accent, #34D399); color: var(--ssh-cta-text, #04261A); font: 700 16px Inter, system-ui, sans-serif; padding: 0 26px; cursor: pointer; }
.ssh-search__btn:hover { background: var(--ssh-accent-dark, #2BC48A); }
@media (max-width: 700px) { .ssh-search__btn { padding: 0 14px; font-size: 15px; } }

/* Advertiser disclosure above lists, responsible gambling note below them (0.5.0). */
.ssh-disclosure { margin: 0 0 14px; padding: 0 0 10px; border-bottom: 1px dashed var(--line); font-size: 12px; line-height: 1.5; color: var(--muted); }
.ssh-disclosure strong { color: var(--ssh-text, #CDD5EA); font-weight: 600; }
.ssh-disclosure a, .ssh-rgnote a, .ssh-xc__meta a, .ssh-offerbox .ssh-small a { color: var(--ssh-link, #9DB8FF); }
.ssh-rgnote { margin: 14px 0 0; line-height: 1.5; }
.ssh-quick .ssh-rgnote { margin-top: 8px; }
.ssh-rgpage ul { padding-left: 20px; }

/* Mandatory ad warning in strict countries (Estonia): compact, but legible as the law asks (0.5.2). */
.ssh-rgwarn { margin: 14px 0 0; padding: 2px 0 2px 10px; border-left: 2px solid var(--line); font-size: 12px; line-height: 1.5; color: var(--muted); }
.ssh-rgwarn strong { color: var(--ssh-text, #CDD5EA); font-weight: 600; }
.ssh-rgwarn span { display: block; }
.ssh-rgwarn + .ssh-rgnote { margin-top: 6px; }

/* List header and foot (0.5.5): title left, disclosure right on the same row, one line under them.
   Under the list: the note line, then a box with the big age and the warning or play-responsibly text. */
.ssh-compare__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px 40px; padding-bottom: 20px; border-bottom: 1px solid var(--ssh-line, rgba(255, 255, 255, .12)); }
.ssh-compare__top .ssh-compare__head { min-width: 0; }
.ssh-compare__top .ssh-disclosure { flex: 0 1 380px; margin: 0; padding: 0; border: 0; text-align: right; font-size: 12.5px; line-height: 1.55; }
.ssh-compare__top + .ssh-xw, .ssh-toplist .ssh-compare__top + .ssh-xw { margin-top: 24px; }
@media (min-width: 901px) {
	.ssh-xc { padding: 22px 24px; gap: 24px; }
	.ssh-xc__offer { padding-left: 24px; }
}
.ssh-rgnote[data-noage] { margin: 14px 0 0; padding: 0 4px; font-size: 12.5px; line-height: 1.55; color: var(--muted); }
.ssh-rgbox { display: flex; align-items: stretch; margin: 20px 0 0; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); }
.ssh-rgbox__age { flex: none; display: grid; place-items: center; width: 72px; border-right: 1px solid var(--line); font: 800 18px/1 var(--ssh-display, Sora, Inter, system-ui, sans-serif); color: var(--ink); }
.ssh-rgbox__txt { margin: 0; padding: 14px 16px; min-width: 0; font-size: 12.5px; line-height: 1.55; }
.ssh-rgbox__txt strong { color: var(--ssh-text, #CDD5EA); font-weight: 600; }
.ssh-rgbox__txt a { color: var(--ssh-link, #9DB8FF); }
@media (max-width: 760px) {
	.ssh-compare__top { display: block; }
	.ssh-compare__top .ssh-disclosure { margin-top: 14px; text-align: left; }
	.ssh-rgbox__age { width: 56px; font-size: 15px; }
}

/* One-panel list (0.5.6, "G4"): the whole list sits in one panel. Header, tabs, rows split by hairlines,
   compliance bar at the foot. Shade instead of borders. Same on the front page and family pages. */
.ssh-compare, .ssh-compare.ssh-toplist { --hair: rgba(255, 255, 255, .07); background: var(--ssh-card, #161B22); border: 0; border-radius: 20px; padding: 0; overflow: hidden; }
.ssh-compare__top { padding: 24px 28px 18px; border-bottom: 0; }
.ssh-compare__top + .ssh-xw, .ssh-toplist .ssh-compare__top + .ssh-xw { margin-top: 0; }
.ssh-compare h2 { font-weight: 600; }
.ssh-compare__tools { display: flex; justify-content: space-between; align-items: center; gap: 12px 16px; padding: 0 28px 16px; }
.ssh-compare__count { color: var(--muted); font-size: 13px; }
.ssh-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 11px; background: var(--ssh-bg, #0D1117); max-width: 100%; }
.ssh-tabs a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 8px; color: var(--muted) !important; font-size: 14px; font-weight: 500; text-decoration: none !important; white-space: nowrap; }
.ssh-tabs a:hover { color: var(--ink) !important; }
.ssh-tabs a.is-on { background: var(--ssh-card2, #232B36); color: var(--ink) !important; }
.ssh-tabs em { font-style: normal; font-size: 12px; color: var(--muted); }
.ssh-xw, .ssh-toplist .ssh-xw { gap: 0; margin: 0; }
.ssh-xc { grid-template-columns: 56px minmax(140px, 1fr) minmax(0, 1.8fr) auto 170px; gap: 22px; padding: 18px 28px; border: 0; border-top: 1px solid var(--hair); border-radius: 0; background: transparent; }
.ssh-xc.is-top { border-color: var(--hair); margin-top: 0; background: rgba(16, 185, 129, .05); }
.ssh-xc .ssh-tile { width: 56px; height: 56px; border-radius: 12px; }
.ssh-xc__name strong { font-weight: 600; font-size: 16.5px; }
.ssh-xc__offer { border-left: 0; padding-left: 0; }
.ssh-xc__offer small { display: none; }
.ssh-xc__offer p { font-size: 15px; font-weight: 500; }
.ssh-xc__meta { font-size: 12.5px; margin-top: 3px; }
.ssh-xc__cta .ssh-cta, .ssh-xc__cta .ssh-ghost { min-height: 42px; font-size: 14.5px; font-weight: 600; }
.ssh-xc__badge { position: static; display: inline-block; font-size: 10.5px; padding: 2px 8px; border-radius: 999px; }
.ssh-lic { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px; background: rgba(16, 185, 129, .10); color: #34D399; font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.ssh-lic svg { flex: none; }
/* 0.6.3: licensee under the pill, and the facts row that applies in the visitor's country. */
.ssh-xc__lic { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.ssh-lic__co { color: var(--muted); font-size: 12px; line-height: 1.35; overflow-wrap: anywhere; }
.ssh-facts__here { display: block; color: #34D399; font-size: 12px; font-weight: 600; margin-top: 2px; }
.ssh-facts__lic.is-here dt { color: var(--ink); }
@media (min-width: 901px) {
	.ssh-xc { padding: 18px 28px; gap: 22px; }
	.ssh-xc__offer { padding-left: 0; }
}
/* Compliance bar */
.ssh-rgbar { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 300px); align-items: center; gap: 18px; padding: 14px 28px; background: var(--ssh-card2, #1C232D); font-size: 13px; line-height: 1.5; color: var(--muted); }
.ssh-rgbar__age { font: 700 15px/1 var(--ssh-display, Sora, Inter, system-ui, sans-serif); color: var(--ink); background: rgba(255, 255, 255, .07); border-radius: 8px; padding: 9px 10px; }
.ssh-rgbar p { margin: 0; }
.ssh-rgbar strong { color: var(--ssh-text, #C9D1DB); font-weight: 600; }
.ssh-rgbar__note { text-align: right; }
.ssh-rgbar a { color: var(--ssh-link, #9DB8FF); }
/* Search: one bar, icon, Casino/Owner toggle inside */
.ssh-search__box { align-items: center; gap: 6px; background: var(--ssh-card, #161B22); border: 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
.ssh-search__ic { flex: none; margin-left: 10px; color: var(--ssh-muted, #8B96A5); }
.ssh-search__box input { padding: 0 6px; font-size: 17px; }
.ssh-search__seg { display: flex; flex: none; padding: 3px; border-radius: 9px; background: var(--ssh-bg, #0D1117); }
.ssh-search__seg button { border: 0; background: transparent; color: var(--ssh-muted, #8B96A5); font: 500 13.5px Inter, system-ui, sans-serif; padding: 8px 12px; border-radius: 7px; cursor: pointer; }
.ssh-search__seg button.is-on { background: #232B36; color: var(--ssh-ink, #F3F6FA); }
.ssh-search__btn { align-self: stretch; font-weight: 600; font-size: 15px; padding: 0 22px; }
@media (max-width: 900px) {
	.ssh-xc { grid-template-columns: 56px minmax(0, 1fr) auto; }
	.ssh-xc__logo { grid-row: auto; align-self: center; }
	.ssh-xc__offer { grid-column: 2 / -1; grid-row: 2; border-top: 0; padding-top: 0; }
	.ssh-xc__lic { grid-column: 3; grid-row: 1; justify-self: end; align-self: start; align-items: flex-end; text-align: right; max-width: 170px; }
	.ssh-xc__cta { grid-column: 1 / -1; grid-row: 3; }
}
@media (max-width: 700px) {
	.ssh-compare, .ssh-compare.ssh-toplist { padding: 0; border-radius: 16px; }
	.ssh-compare__top { padding: 20px 16px 16px; }
	.ssh-compare__tools { flex-direction: column; align-items: flex-start; padding: 0 16px 14px; }
	.ssh-tabs { width: 100%; }
	.ssh-tabs a { padding: 8px 10px; font-size: 13.5px; }
	.ssh-xc { grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px 14px; padding: 16px; }
	.ssh-xc .ssh-tile { width: 52px; height: 52px; }
	.ssh-xc__offer { grid-column: 1 / -1; }
	.ssh-xc__lic { grid-column: 3; }
	.ssh-xc__cta { grid-column: 1 / -1; }
	.ssh-rgbar { grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding: 14px 16px; }
	.ssh-rgbar__note { grid-column: 1 / -1; text-align: left; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, .07); }
	.ssh-search__seg { display: none; }
	.ssh-search__btn { padding: 0 16px; }
}

/* Compliance foot, two rows (0.5.7): age chip + main text, then the country note full width under a hairline.
   Same shape in every country, whatever the length of the note. */
.ssh-rgbar { grid-template-columns: auto minmax(0, 1fr); gap: 0 16px; align-items: center; padding: 16px 28px; }
.ssh-rgbar__txt { grid-column: 2; }
.ssh-rgbar__note { grid-column: 2; margin-top: 12px !important; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .07); text-align: left; font-size: 12.5px; line-height: 1.6; }
.ssh-rgbar__note:empty { display: none; }
.ssh-rgbar__age { grid-row: 1; align-self: center; min-width: 44px; text-align: center; }
@media (max-width: 700px) {
	.ssh-rgbar { padding: 14px 16px; gap: 0 12px; }
	.ssh-rgbar__note { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .07); }
}
.ssh-nw { white-space: nowrap; }

/* Foot "help highlighted" (0.5.8): age ring + main text left; the country's terms as a list and the free help
   in a tinted box right. Everything visible; a longer note only makes the list longer. */
.ssh-rgbar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; padding: 20px 28px; }
.ssh-rgbar__l { display: flex; gap: 14px; align-items: flex-start; min-width: 0; }
.ssh-rgbar__age { flex: none; display: grid; place-items: center; width: 48px; height: 48px; min-width: 0; padding: 0; align-self: flex-start; border-radius: 50%; border: 2px solid var(--ink); background: transparent; font: 700 14px/1 var(--ssh-display, Sora, Inter, system-ui, sans-serif); color: var(--ink); }
.ssh-rgbar__txt { grid-column: auto; margin: 0; font-size: 13px; line-height: 1.55; color: var(--muted); }
.ssh-rgbar__txt strong { color: var(--ink); }
.ssh-rgbar__r { min-width: 0; padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .07); }
.ssh-rgbar__r:empty { display: none; }
.ssh-rgbar__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.ssh-rgbar__list li { position: relative; margin: 0; padding-left: 16px; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.ssh-rgbar__list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.ssh-rgbar__help { display: flex; gap: 12px; align-items: center; margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: rgba(16, 185, 129, .10); font-size: 12.5px; line-height: 1.5; color: var(--ssh-text, #C9D1DB); }
.ssh-rgbar__list:empty + .ssh-rgbar__help, .ssh-rgbar__help:first-child { margin-top: 0; }
.ssh-rgbar__help b { display: block; color: #34D399; font-weight: 600; font-size: 12px; }
.ssh-rgbar__ic { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: rgba(16, 185, 129, .16); color: #34D399; }
@media (max-width: 700px) {
	.ssh-rgbar { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 16px; }
	.ssh-rgbar__r { padding: 14px 0 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .07); }
}

/* Foot in three columns (0.5.9, "B"): warning | terms | free help side by side, so no column runs long
   and nothing leaves empty space. The right part's list and help box become columns of their own. */
.ssh-rgbar { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, .95fr); gap: 24px; }
.ssh-rgbar__r { display: contents; }
.ssh-rgbar__list { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .07); }
.ssh-rgbar__help { margin-top: 0; align-items: flex-start; }
.ssh-rgbar__ic { margin-top: 2px; }
@media (max-width: 700px) {
	.ssh-rgbar { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	.ssh-rgbar__list { padding: 14px 0 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .07); }
}
.ssh-card [data-ssh-lic-chip] { white-space: normal; }
.ssh-facts__group { display: block; margin-top: 2px; color: var(--ssh-muted, #8E98B8); font-size: 12px; font-weight: 400; }

/* 0.6.9 "Hiottu kaavio": owner tree with brand cards and thin lines, facts box with licences by country. */
.ssh-tree { --tl: #30363D; background: var(--ssh-card, #161B22); border: 1px solid rgba(255, 255, 255, .07); border-radius: 16px; padding: 32px 24px 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ssh-tree__op { display: flex; align-items: center; gap: 12px; background: #1C232D; border: 1px solid var(--tl); color: var(--ink); border-radius: 12px; padding: 12px 18px; text-align: left; }
.ssh-tree__op > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.ssh-tree__op small { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.ssh-tree__op strong { font-family: Sora, Inter, system-ui, sans-serif; font-size: 16px; font-weight: 600; color: var(--ink); }
.ssh-tree__ini { width: 36px; height: 36px; flex: none; border-radius: 9px; background: rgba(16, 185, 129, .12); color: #10B981; display: grid; place-items: center; font-family: Sora, Inter, system-ui, sans-serif; font-weight: 700; font-size: 13px; }
.ssh-tree__stem { width: 1px; height: 22px; background: var(--tl); }
.ssh-tree .ssh-tree__brands { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); position: relative; }
.ssh-tree__brands::before { content: ''; position: absolute; top: 0; left: calc(50% / var(--n)); right: calc(50% / var(--n)); border-top: 1px solid var(--tl); }
.ssh-tree .ssh-tree__brands li { margin: 0; position: relative; padding: 22px 8px 0; display: flex; justify-content: center; min-width: 0; }
.ssh-tree__brands li::before { content: ''; position: absolute; top: 0; left: 50%; width: 1px; height: 22px; background: var(--tl); }
.ssh-tree__card { width: 100%; max-width: 180px; box-sizing: border-box; border: 1px solid var(--tl); border-radius: 12px; padding: 16px 12px 14px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; background: var(--ssh-bg, #0D1117); color: var(--ink) !important; text-decoration: none !important; transition: border-color .15s; }
a.ssh-tree__card:hover, a.ssh-tree__card:focus-visible { border-color: #10B981; }
.ssh-tree__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ssh-tree__txt b { font-weight: 600; font-size: 15px; color: var(--ink); overflow-wrap: anywhere; }
.ssh-tree__txt small { font-size: 12px; color: var(--muted); }
.ssh-tree__brands li.is-current .ssh-tree__card { border-color: #10B981; }
.ssh-tree__brands li.is-current .ssh-tree__txt small { color: #10B981; font-weight: 600; }
.ssh-tree__brands .ssh-tile { width: 56px; height: 56px; border-radius: 12px; box-shadow: none; }
@media (max-width: 600px) {
	.ssh-tree { padding: 20px; align-items: stretch; }
	.ssh-tree__op { align-self: flex-start; }
	.ssh-tree__stem { margin-left: 28px; height: 14px; }
	.ssh-tree .ssh-tree__brands { display: flex; flex-direction: column; padding: 0 0 0 56px; }
	.ssh-tree__brands::before { display: none; }
	.ssh-tree .ssh-tree__brands li { padding: 6px 0; justify-content: flex-start; }
	.ssh-tree__brands li::before { top: 50%; left: -28px; width: 20px; height: 1px; }
	.ssh-tree__brands li::after { content: ''; position: absolute; top: 0; bottom: 0; left: -28px; width: 1px; background: var(--tl); }
	.ssh-tree__brands li:last-child::after { bottom: 50%; }
	.ssh-tree__card { max-width: none; flex-direction: row; text-align: left; padding: 10px 12px; }
	.ssh-tree__brands .ssh-tile { width: 40px; height: 40px; border-radius: 10px; }
}
.ssh-facts { background: var(--ssh-card, #161B22); border: 1px solid rgba(255, 255, 255, .07); border-radius: 16px; padding: 22px 24px; display: flex; flex-direction: column; gap: 0; font-size: 15px; }
.ssh-facts__title { font-family: Sora, Inter, system-ui, sans-serif; font-size: 15px; font-weight: 600; color: var(--ink); margin: 0 0 10px; }
.ssh-facts__list { margin: 0; display: flex; flex-direction: column; }
.ssh-facts__list > div { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding: 11px 0; border-top: 1px solid rgba(255, 255, 255, .07); }
.ssh-facts dt { color: var(--muted); display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ssh-facts dd { margin: 0; text-align: right; color: var(--ink); font-weight: 500; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; min-width: 0; overflow-wrap: anywhere; }
.ssh-facts .ssh-mono { font-family: inherit; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.ssh-facts__sub { display: block; font-size: 12px; font-weight: 400; color: var(--muted); }
.ssh-facts__lic.is-here dt { color: var(--ink); }
.ssh-facts__here { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.ssh-facts__here[hidden] { display: none; }
.ssh-facts .ssh-chip { font-size: 12px; font-weight: 600; padding: 3px 9px; }
.ssh-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.ssh-facts__group { display: block; margin-top: 0; color: var(--muted); font-size: 12px; font-weight: 400; }
@media (max-width: 600px) { .ssh-facts { padding: 18px 20px; } }

/* 0.7.0: each sister casino gets a keyword text link ("Spinz sister sites"); the whole card clicks through it. The link never wraps. */
.ssh-tree__card { position: relative; }
@media (min-width: 601px) {
	.ssh-tree:not(.ssh-tree--list) .ssh-tree__card { padding-left: 8px; padding-right: 8px; }
	.ssh-tree:not(.ssh-tree--list) .ssh-tree__brands li { padding-left: 6px; padding-right: 6px; }
}
.ssh-tree__link { font-size: 13px; font-weight: 600; white-space: nowrap; color: var(--ssh-link, #9DB8FF) !important; text-decoration: underline !important; text-decoration-color: rgba(157, 184, 255, .35) !important; text-underline-offset: 3px; }
.ssh-tree__link::after { content: ''; position: absolute; inset: 0; border-radius: 12px; }
.ssh-tree__link:hover { text-decoration-color: currentColor !important; }
.ssh-tree__card:has(.ssh-tree__link:hover) { border-color: #4A5568; }
.ssh-tree__link:focus-visible { outline: 2px solid #10B981; outline-offset: 2px; border-radius: 4px; }
.ssh-tree__brands li.is-current .ssh-tree__txt small { color: #10B981; font-weight: 600; }
/* Too many casinos for one row without breaking a link: ssh.js switches the tree to the list layout. */
.ssh-tree.ssh-tree--list { padding: 20px; align-items: stretch; }
.ssh-tree--list .ssh-tree__op { align-self: flex-start; }
.ssh-tree--list .ssh-tree__stem { margin-left: 28px; height: 14px; }
.ssh-tree.ssh-tree--list .ssh-tree__brands { display: flex; flex-direction: column; padding: 0 0 0 56px; }
.ssh-tree--list .ssh-tree__brands::before { display: none; }
.ssh-tree.ssh-tree--list .ssh-tree__brands li { padding: 6px 0; justify-content: flex-start; }
.ssh-tree--list .ssh-tree__brands li::before { top: 50%; left: -28px; width: 20px; height: 1px; }
.ssh-tree--list .ssh-tree__brands li::after { content: ''; position: absolute; top: 0; bottom: 0; left: -28px; width: 1px; background: var(--tl); }
.ssh-tree--list .ssh-tree__brands li:last-child::after { bottom: 50%; }
.ssh-tree--list .ssh-tree__card { max-width: none; flex-direction: row; text-align: left; padding: 10px 12px; }
.ssh-tree--list .ssh-tree__brands .ssh-tile { width: 40px; height: 40px; border-radius: 10px; }

/* 0.7.1: big families. The boxes beside a long list keep their own height; 6 casinos show, the rest open from a button. */
.ssh-top:has(.ssh-tree--list) { align-items: flex-start; }
.ssh-tree.ssh-tree--list { justify-content: flex-start; }
.ssh-tree--many .ssh-tree__card { padding: 8px 12px; }
.ssh-tree--many .ssh-tree__brands .ssh-tile { width: 36px; height: 36px; border-radius: 9px; }
.ssh-tree.ssh-tree--many .ssh-tree__brands li { padding: 4px 0; }
.ssh-tree--many:not(.is-open) .ssh-tree__extra { display: none !important; }
.ssh-tree--many:not(.is-open) .ssh-tree__cut::after { bottom: 50%; }
.ssh-tree__more { align-self: center; margin-top: 12px; background: #1C232D; border: 1px solid var(--tl); color: var(--ink); border-radius: 10px; padding: 9px 16px; font: 600 14px/1.2 Inter, system-ui, sans-serif; cursor: pointer; }
.ssh-tree__more:hover { border-color: #10B981; }
.ssh-tree__more:focus-visible { outline: 2px solid #10B981; outline-offset: 2px; }
