/*
 * Bridge: Casino License Lookup → the NordChecker component language.
 * Loads after cll.css (registered with that dependency), so these one-class
 * rules win. Tokens and shared components live in nordchecker.css.
 */

/* ---------------------------------------------------------------- tokens */
.cll-app,
.cll-app--light,
.cll-app--auto {
	--cll-ink: var(--nc-text);
	--cll-slate: var(--nc-muted);
	--cll-hairline: var(--nc-line);
	--cll-paper: var(--nc-paper);
	--cll-wash: var(--nc-soft);
	--cll-accent: var(--nc-navy);
	--cll-valid: var(--nc-good);
	--cll-warn: var(--nc-warn-text);
	--cll-void: var(--nc-bad);
	--cll-radius: var(--nc-radius-control) !important;
	/* Site font everywhere; the few identifiers get --nc-mono explicitly. */
	--cll-mono: inherit;
	--cll-font: inherit;
	max-width: none;
	--cll-width: none;
}

/* Identifiers only. */
.cll-app .cll-licence__number,
.cll-app .cll-entry__domain,
.cll-app .cll-feed__domain,
.cll-app .cll-row__domain,
.cll-app .cll-suggest__domain {
	font-family: var(--nc-mono);
}

/* ---------------------------------------------------------------- labels */
.cll-app .cll-search__label,
.cll-app .cll-list__title,
.cll-app .cll-section__title,
.cll-app .cll-meta__label,
.cll-app .cll-stats__label,
.cll-app .cll-entry__eyebrow,
.cll-app .cll-licence__facts b {
	font-family: inherit;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--nc-muted);
}
.cll-app .cll-search__label {
	margin-bottom: 8px;
}
.cll-app .cll-list__title,
.cll-app .cll-section__title {
	margin-bottom: 12px;
}

/* ---------------------------------------------------------------- search */
.cll-app .cll-search__input {
	padding: 14px 44px 14px 16px;
	font: inherit;
	font-size: 17px;
	line-height: 1.3;
	color: var(--nc-text);
	background: var(--nc-paper);
	border: 1px solid var(--nc-line);
	border-radius: var(--nc-radius-control);
	box-shadow: var(--nc-shadow);
}
.cll-app .cll-search__input:focus {
	outline: none;
	border-color: var(--nc-navy);
	box-shadow: var(--nc-focus);
}
.cll-app .cll-search__hint,
.cll-app .cll-intro {
	font-family: inherit;
	font-size: 14px;
	line-height: 1.55;
	color: var(--nc-muted);
	max-width: none;
}
.cll-app .cll-suggest {
	border: 1px solid var(--nc-line);
	border-radius: var(--nc-radius-control);
	box-shadow: 0 8px 24px rgba(31, 41, 55, .10);
}

/* ---------------------------------------------------------------- cards */
.cll-app .cll-entry,
.cll-app .cll-panel {
	border: 1px solid var(--nc-line);
	border-radius: var(--nc-radius-card);
	background: var(--nc-paper);
	overflow: hidden;
}
.cll-app .cll-entry__head,
.cll-app .cll-section,
.cll-app .cll-meta__cell {
	padding: 18px 24px;
}
.cll-app .cll-entry__brand {
	font-family: inherit;
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -.01em;
}
.cll-app .cll-lists {
	border-top: 1px solid var(--nc-line);
}
.cll-app .cll-list__item + .cll-list__item,
.cll-app .cll-feed__item,
.cll-app .cll-section {
	border-color: var(--nc-line);
}

/* ---------------------------------------------------------------- pills */
.cll-app .cll-status,
.cll-app .cll-row__status,
.cll-app .cll-row__status--valid,
.cll-app .cll-row__status--warn,
.cll-app .cll-row__status--void {
	display: inline-flex;
	align-items: center;
	gap: 0;
	padding: 3px 10px;
	border: 0;
	border-radius: 999px;
	font-family: inherit;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
	line-height: 1.4;
	background: var(--nc-unknown-soft);
	color: var(--nc-muted);
}
.cll-app .cll-status::before {
	content: none;
}
.cll-app .cll-status--valid,
.cll-app .cll-row__status--valid { background: var(--nc-good-soft); color: var(--nc-good); }
.cll-app .cll-status--warn,
.cll-app .cll-row__status--warn { background: var(--nc-warn-soft); color: var(--nc-warn-text); }
.cll-app .cll-status--void,
.cll-app .cll-row__status--void { background: var(--nc-bad-soft); color: var(--nc-bad); }
.cll-app .cll-row__verified {
	font-family: inherit;
	letter-spacing: 0;
	text-transform: none;
}

/* ---------------------------------------------------------------- lists */
.cll-app .cll-row__rank,
.cll-app .cll-row__meta,
.cll-app .cll-row__reg,
.cll-app .cll-row__aside {
	font-family: inherit;
	font-size: 13px;
	letter-spacing: 0;
	text-transform: none;
	color: var(--nc-muted);
}
.cll-app .cll-row__name {
	font-family: inherit;
	font-weight: 700;
}
.cll-app .cll-panel__open {
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	color: #fff;
	background: var(--nc-navy);
	border: 0;
	border-radius: var(--nc-radius-control);
	padding: 10px 16px;
	cursor: pointer;
}

/* ---------------------------------------------------------------- feeds */
.cll-app.cll-feed {
	max-width: none;
}
.cll-app .cll-feed__items {
	margin: 0;
}
.cll-app .cll-feed__item {
	grid-template-columns: 112px minmax(0, 1fr);
	gap: 2px 16px;
	padding: 12px 0;
	align-items: start;
}
.cll-app .cll-feed__date {
	font-family: inherit;
	font-size: 13px;
	line-height: 1.6;
	letter-spacing: 0;
	color: var(--nc-muted);
	white-space: nowrap;
}
.cll-app .cll-feed__site {
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
}
.cll-app .cll-feed__domain {
	font-size: 12px;
	color: var(--nc-muted);
}
.cll-app .cll-feed__meta,
.cll-app .cll-feed__headline {
	font-family: inherit;
	font-size: 14px;
	letter-spacing: 0;
	text-transform: none;
	color: var(--nc-muted);
}
.cll-app .cll-feed__number {
	font-family: var(--nc-mono);
	font-size: .95em;
}
.cll-app .cll-feed__more {
	display: inline-block;
	margin-top: 14px;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	color: var(--nc-navy);
	text-decoration: underline;
	text-underline-offset: 3px;
}
/* No heading: nothing above the first row. */
.cll-app.cll-feed > .cll-feed__items:first-child .cll-feed__item:first-child {
	padding-top: 0;
	border-top: 0;
}
@media (max-width: 480px) {
	.cll-app .cll-feed__item {
		grid-template-columns: 1fr;
		gap: 0;
	}
	.cll-app .cll-feed__date {
		margin-bottom: 2px;
	}
}

/* ---------------------------------------------------------------- stats */
.cll-app .cll-stats {
	gap: 8px 40px;
}
.cll-app .cll-stats__number {
	font-family: inherit;
	font-size: 36px;
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1.15;
	color: var(--nc-navy);
}
.cll-app .cll-provenance,
.cll-app .cll-provenance__date {
	font-family: inherit;
	font-size: 13px;
	color: var(--nc-muted);
}

/* ---------------------------------------------------------------- dark sections */
.nc-section--dark .cll-app {
	background: var(--nc-paper);
	color: var(--nc-text);
	border-radius: var(--nc-radius-card);
	padding: 24px;
}
.nc-section--dark .cll-app a {
	color: var(--nc-navy);
}

/* ---------------------------------------------------------------- list rows */
/* Blocksy styles every <button> as a centred inline-flex pill; the row's
   main area is a button, so undo that and keep the row a three-column grid. */
.cll-app .cll-row {
	display: grid;
	grid-template-columns: 26px minmax(0, 1fr) auto;
	align-items: start;
}
.cll-app.cll-app--norank .cll-row {
	grid-template-columns: minmax(0, 1fr) auto;
}
.cll-app .cll-row__main {
	display: block;
	width: 100%;
	min-height: 0;
	margin: 0;
	padding: 0;
	text-align: left;
	background: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: inherit;
	font: inherit;
	cursor: pointer;
	--theme-button-min-height: 0;
	--theme-button-padding: 0;
}
.cll-app .cll-row__main:hover .cll-row__name {
	text-decoration: underline;
	text-underline-offset: 3px;
}
.cll-app .cll-row__name,
.cll-app .cll-row__domain,
.cll-app .cll-row__meta {
	display: block;
	text-align: left;
}
.cll-app .cll-row__aside {
	text-align: right;
	white-space: nowrap;
	font-size: 13px;
	color: var(--nc-muted);
}
/* rank="0" makes the row two columns, but the server-rendered lists still
   print the rank number, which then takes the wide first column. */
.cll-app.cll-app--norank .cll-row__rank {
	display: none;
}
