/**
 * LRL — mobilais slānis (no Claude Design "Canvas Mobile").
 *
 * VISS šajā failā ir @media iekšienē — datora skats netiek aiztikts.
 * Slāņi:  ≤860px = galva + burgeris (sakrīt ar vietu, kur pazūd site-nav)
 *         ≤767px = telefona izkārtojums (18px malas, 1 kolonna, kompaktas tabulas)
 *
 * Ielāde: functions.php pēc 'lrl-rbfront', lai vērtības uzvar bez !important.
 */

/* ═══════════════ Galva + izbīdāmā izvēlne (≤860px) ═══════════════ */
@media ( max-width: 860px ) {
	.site-head__inner { min-height: 58px; gap: 12px; }
	.site-head .cb-container { padding-inline: 18px; }
	.brand__mark { font-size: 1.25rem; padding: 4px 7px; }
	.brand--logo .custom-logo { max-height: 30px; }

	/* Ienākt/Reģistrēties pārceļas izvēlnē — galvā tikai logo + burgeris */
	.site-head__cta { display: none; }

	.site-burger {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 5px;
		width: 46px;
		height: 44px;
		flex: none;
		margin-inline-start: auto;
		padding: 0;
		background: none;
		border: 1px solid color-mix( in srgb, var( --cb-text-inverse ) 20%, transparent );
		border-radius: var( --cb-radius-sm );
		cursor: pointer;
	}
	.site-burger span {
		display: block;
		width: 20px;
		height: 2px;
		background: var( --cb-text-inverse );
		transition: transform 180ms ease, opacity 140ms ease;
	}
	.site-burger.is-open span:nth-child( 1 ) { transform: translateY( 7px ) rotate( 45deg ); }
	.site-burger.is-open span:nth-child( 2 ) { opacity: 0; }
	.site-burger.is-open span:nth-child( 3 ) { transform: translateY( -7px ) rotate( -45deg ); }

	.site-drawer {
		background: var( --cb-surface-dark );
		border-top: 1px solid color-mix( in srgb, var( --cb-text-inverse ) 8%, transparent );
		border-bottom: 1px solid color-mix( in srgb, var( --cb-text-inverse ) 8%, transparent );
		padding: 8px 18px 18px;
		display: flex;
		flex-direction: column;
	}
	.site-drawer[hidden] { display: none; }
	.site-drawer__nav { display: flex; flex-direction: column; }
	.site-drawer__nav a {
		font-family: var( --rb-font-data );
		font-weight: 500;
		font-size: 13px;
		letter-spacing: 0.1em;
		text-transform: uppercase;
		text-decoration: none;
		color: var( --cb-text-inverse-muted );
		padding: 15px 0;
		border-bottom: 1px solid color-mix( in srgb, var( --cb-text-inverse ) 7%, transparent );
	}
	.site-drawer__nav a:hover { color: var( --cb-text-inverse ); }
	.site-drawer__cta { width: 100%; margin-top: 16px; padding: 16px; }
}

/* Virs 860px izbīdnis un burgeris neeksistē */
@media ( min-width: 861px ) {
	.site-burger, .site-drawer { display: none; }
}

/* ═══════════════════ Telefona izkārtojums (≤767px) ═══════════════════ */
@media ( max-width: 767px ) {

	/* ── Pamats: malas, sekciju gaiss, tipogrāfija ── */
	.rbf-wrap { padding-inline: 18px; }
	.rbf-sec { padding-block: 34px 40px; }
	.rbf-h2 { font-size: 38px; }
	.rbf-h2--big { font-size: 42px; }
	.rbf-eyebrow { font-size: 11px; }
	.rbf-sechead { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
	.rbf-tag, .rbf-tag-l { font-size: 11px; padding: 7px 11px; letter-spacing: 0.08em; }

	/* Pogas, kas mobilajā ir pilnā platumā (touch mērķis ≥48px) */
	.rbf-hero__cta .rbf-btn,
	.rbf-join__btns .rbf-btn,
	.rbf-join2-hero__buttons .rbf-btn,
	.rbf-sechead .rbf-btn,
	.rbf-drivers .rbf-btn,
	.rbf-media__vidbtn { width: 100%; box-sizing: border-box; }
	.rbf-btn { font-size: 13px; padding: 16px 20px; }
	.rbf-btn--sm { font-size: 12px; padding: 12px 16px; width: auto; }

	/* ── HERO (nākošais posms) ── */
	.rbf-hero { min-height: 0; }
	.rbf-hero__grid { gap: 24px; padding-block: 28px 32px; }
	.rbf-hero__main { gap: 18px; }
	.rbf-hero__name { font-size: clamp( 54px, 19vw, 78px ); }
	.rbf-hero__when .rbf-pill--ghost { font-size: 13px; padding: 10px 13px; }
	.rbf-hero__sessions { display: grid; grid-template-columns: 1fr 1fr; max-width: none; width: 100%; }
	.rbf-hero__sessions::before, .rbf-hero__sessions::after { width: 100%; background: color-mix( in srgb, var( --rbf-on-dark ) 18%, transparent ); }
	.rbf-hero__session { padding: 14px 14px; border-bottom: 1px solid color-mix( in srgb, var( --rbf-on-dark ) 16%, transparent ); }
	.rbf-hero__session + .rbf-hero__session { border-left: 0; }
	.rbf-hero__session:nth-child( 2n ) { border-left: 1px solid color-mix( in srgb, var( --rbf-on-dark ) 16%, transparent ); padding-left: 18px; }
	.rbf-hero__session:nth-child( 2n + 1 ) { padding-left: 0; }
	.rbf-sessval { font-size: 18px; }
	.rbf-hero__cta { flex-direction: column; gap: 10px; width: 100%; }
	.rbf-hero__join { padding: 26px 20px; gap: 14px; }
	.rbf-hero__jointitle { font-size: 30px; }
	.rbf-hero__jointext { font-size: 15px; }

	/* ── MEDIJI: video & highlights ── */
	.rbf-media__inner { gap: 22px; }
	.rbf-media__head { flex-direction: column; align-items: flex-start; gap: 16px; }
	.rbf-media__h { font-size: 38px; }
	.rbf-media__actions { width: 100%; flex-direction: column; align-items: stretch; gap: 12px; }
	.rbf-media__actions .rbf-btn { width: 100%; box-sizing: border-box; }
	.rbf-media__socials { width: 100%; gap: 10px; }
	.rbf-media__soc { flex: 1; width: auto; height: 48px; }
	.rbf-media__grid { grid-template-columns: 1fr; gap: 26px; }
	.rbf-media__clipshead { gap: 10px; }
	.rbf-media__arrow { width: 44px; height: 44px; }
	.rbf-clip { grid-template-columns: 118px 1fr; gap: 12px; }
	.rbf-clip__thumb { width: 118px; }
	.rbf-clip__title { font-size: 17px; }
	.rbf-media__divider { flex-direction: column; align-items: flex-start; gap: 10px; padding-top: 20px; }
	.rbf-media__subh { font-size: 28px; }

	/* Sākumlapā recap kartītes → horizontāls "velc uz sāniem" karuselis.
	   Arhīvā (visi raksti) tās paliek vertikālā sarakstā — sk. zemāk.
	   direction: rtl — jaunākais raksts stāv PA LABI, vecākie aiziet pa kreisi,
	   tāpēc pirkstu velk uz labo pusi (kartīšu saturs paliek ltr). */
	.rbf-media .rbf-recaps__grid {
		display: flex;
		direction: rtl;
		gap: 12px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		margin-inline: -18px;
		padding: 0 18px 6px;
		scrollbar-width: none;
	}
	.rbf-media .rbf-recaps__grid::-webkit-scrollbar { display: none; }
	.rbf-media .rbf-recap { direction: ltr; flex: 0 0 86%; scroll-snap-align: center; }
	.rbf-recaps__grid { grid-template-columns: 1fr; gap: 14px; }
	.rbf-recap__body { padding: 16px 16px 18px; gap: 9px; }
	.rbf-recap__title { font-size: 22px; }
	.rbf-recap__excerpt { font-size: 14px; line-height: 1.5; }

	/* ── Podiumi (posma + čempionāta) ── */
	.rbf-podium, .rbf-cpodium { grid-template-columns: 1fr; gap: 12px; margin-bottom: 26px; }
	.rbf-pcard, .rbf-ccard { padding: 18px 20px; gap: 12px; }
	.rbf-pcard.is-lift, .rbf-ccard.is-lift { margin-bottom: 0; }
	.rbf-pcard__pos, .rbf-ccard__pos { font-size: 34px; }
	.rbf-pcard__name, .rbf-ccard__name { font-size: 26px; }
	.rbf-pcard__poslab, .rbf-ccard__poslab { font-size: 10px; }
	.rbf-pcard__pts, .rbf-ccard__pts { font-size: 12px; padding: 7px 10px; }
	.rbf-pcard__facts dd, .rbf-ccard__stats dd { font-size: 15px; }
	.rbf-pcard__facts dt, .rbf-ccard__stats dt { font-size: 9px; }

	.rbf-results__more { padding: 16px 18px; font-size: 12px; letter-spacing: 0.08em; }

	/* ── Tabulas: kompaktas, bez horizontālās ritināšanas ──
	   Rāda tikai POZ · BRAUCĒJS · GAP/laiks · PUNKTI; pārējais slēpts. */
	.rbf-standings__head, .rbf-standings__row,
	.rbf-res-table__head--season, .rbf-res-row--season {
		grid-template-columns: 34px 30px 1fr 54px;
		min-width: 0;
		padding: 12px 14px;
		gap: 6px;
	}
	.rbf-standings__head > :nth-child( 4 ), .rbf-standings__head > :nth-child( 5 ),
	.rbf-standings__row > :nth-child( 4 ), .rbf-standings__row > :nth-child( 5 ),
	.rbf-res-table__head--season > :nth-child( 4 ), .rbf-res-table__head--season > :nth-child( 5 ), .rbf-res-table__head--season > :nth-child( 6 ),
	.rbf-res-row--season > :nth-child( 4 ), .rbf-res-row--season > :nth-child( 5 ), .rbf-res-row--season > :nth-child( 6 ) { display: none; }

	/* iRacing sacīkšu tabula: poz · braucējs · laiks/gap · punkti */
	.rbf-res-table__head--race, .rbf-res-row--race {
		grid-template-columns: 34px 1fr 76px 46px;
		min-width: 0;
		padding: 12px 14px;
		gap: 6px;
	}
	.rbf-res-table__head--race > :nth-child( 2 ), .rbf-res-row--race > :nth-child( 2 ),
	.rbf-res-table__head--race > :nth-child( 4 ), .rbf-res-row--race > :nth-child( 4 ),
	.rbf-res-table__head--race > :nth-child( 6 ), .rbf-res-row--race > :nth-child( 6 ),
	.rbf-res-table__head--race > :nth-child( 7 ), .rbf-res-row--race > :nth-child( 7 ),
	.rbf-res-table__head--race > :nth-child( 8 ), .rbf-res-row--race > :nth-child( 8 ) { display: none; }

	/* LMU tabulā nav karoga kolonnas — šūnu numuri pabīdās par vienu */
	.rbf-res-table__head--race.rbf-res-table--lmu, .rbf-res-row--race.rbf-res-table--lmu {
		grid-template-columns: 34px 1fr 76px 46px;
	}
	.rbf-res-table--lmu > :nth-child( 2 ) { display: flex; }
	.rbf-res-table__head--race.rbf-res-table--lmu > :nth-child( 3 ), .rbf-res-row--race.rbf-res-table--lmu > :nth-child( 3 ),
	.rbf-res-table__head--race.rbf-res-table--lmu > :nth-child( 5 ), .rbf-res-row--race.rbf-res-table--lmu > :nth-child( 5 ),
	.rbf-res-table__head--race.rbf-res-table--lmu > :nth-child( 6 ), .rbf-res-row--race.rbf-res-table--lmu > :nth-child( 6 ),
	.rbf-res-table__head--race.rbf-res-table--lmu > :nth-child( 7 ), .rbf-res-row--race.rbf-res-table--lmu > :nth-child( 7 ) { display: none; }
	.rbf-res-table__head--race.rbf-res-table--lmu > :nth-child( 4 ), .rbf-res-row--race.rbf-res-table--lmu > :nth-child( 4 ) { display: block; }
	.rbf-res-table__head--race.rbf-res-table--lmu > :nth-child( 8 ), .rbf-res-row--race.rbf-res-table--lmu > :nth-child( 8 ) { display: block; }

	.rbf-standings__name, .rbf-res-name, .rbf-restable__name { font-size: 17px; }
	.rbf-res-driver { padding-left: 6px; gap: 8px; }
	.rbf-res-sub { font-size: 10px; }
	.rbf-standings__row, .rbf-res-row { font-size: 12px; }
	.rbf-standings__head, .rbf-res-table__head { font-size: 9px; letter-spacing: 0.1em; }
	.rbf-standings__flag .lrl-flag--svg svg, .rbf-res-flag .lrl-flag--svg svg { width: 22px; height: 15px; }
	.rbf-restable__head, .rbf-restable__row { grid-template-columns: 40px 1fr 78px 54px; min-width: 0; padding: 12px 14px; }
	.rbf-restable__head > :nth-child( 4 ), .rbf-restable__row > :nth-child( 4 ),
	.rbf-restable__head > :nth-child( 5 ), .rbf-restable__row > :nth-child( 5 ) { display: none; }

	/* ── Rezultātu lapa: cilnes, filtri, sesijas ── */
	.rbf-res-tabs__row { overflow-x: auto; scrollbar-width: none; }
	.rbf-res-tabs__row::-webkit-scrollbar { display: none; }
	.rbf-res-tab { padding: 16px 18px; font-size: 17px; white-space: nowrap; }
	.rbf-res-ctrl { padding-block: 26px 28px; }
	.rbf-res-ctrl__inner { gap: 22px; }
	.rbf-res-ctrl__head { flex-direction: column; align-items: flex-start; gap: 16px; }
	.rbf-res-title { font-size: 34px; }
	.rbf-res-title--season { font-size: 38px; }
	.rbf-res-nav { gap: 12px; }
	.rbf-res-arrow { width: 44px; height: 44px; flex: none; }
	.rbf-res-filters { flex-direction: column; align-items: stretch; gap: 16px; }
	.rbf-res-field { min-width: 0; }
	.rbf-res-select { width: 100%; box-sizing: border-box; padding: 14px; }
	.rbf-res-sims { display: grid; grid-template-columns: repeat( 3, 1fr ); gap: 8px; }
	.rbf-res-sim { padding: 13px 6px; text-align: center; font-size: 12px; letter-spacing: 0.06em; }
	.rbf-res-podwrap { padding-block: 28px 32px; }
	.rbf-res-podlabel { margin-bottom: 16px; }
	.rbf-res-sessbar { padding-block: 20px; }
	.rbf-res-sessbar__row { gap: 8px; }
	.rbf-res-sess { padding: 12px 16px; font-size: 12px; }
	.rbf-res-tablewrap { padding-bottom: 40px; }

	/* ── Kalendāra lapa ── */
	.rbf-cal-head { padding-block: 28px 30px; }
	.rbf-cal-head__inner { gap: 20px; }
	.rbf-cal-head__top { flex-direction: column; align-items: flex-start; gap: 14px; }
	.rbf-cal-h1 { font-size: 38px; }
	.rbf-cal-metacell { padding: 14px 16px; gap: 5px; }
	.rbf-cal-metalab { font-size: 10px; }
	.rbf-cal-metaval { font-size: 18px; }
	.rbf-cal-hero__grid { gap: 22px; padding-block: 28px 32px; }
	.rbf-cal-hero__main { gap: 16px; }
	.rbf-cal-hero__name { font-size: clamp( 54px, 19vw, 78px ); }
	.rbf-cal-hero__badges { gap: 8px; }
	.rbf-cal-hero__sessions { display: grid; grid-template-columns: 1fr 1fr; max-width: none; width: 100%; border-bottom: 0; }
	.rbf-cal-hero__session { padding: 14px; border-bottom: 1px solid color-mix( in srgb, var( --rbf-on-dark ) 18%, transparent ); }
	.rbf-cal-hero__session + .rbf-cal-hero__session { border-left: 0; }
	.rbf-cal-hero__session:nth-child( 2n ) { border-left: 1px solid color-mix( in srgb, var( --rbf-on-dark ) 18%, transparent ); padding-left: 18px; }
	.rbf-cal-hero__session:nth-child( 2n + 1 ) { padding-left: 0; }
	.rbf-cal-hero__cta { width: 100%; }
	.rbf-cal-upnext__body, .rbf-cal-row__body { padding: 18px; gap: 20px; grid-template-columns: 1fr; }
	.rbf-cal-list { padding-block: 30px 40px; }
	.rbf-cal-list__head { flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 16px; }
	/* Rinda: [R2] [datums] ......... [▾]  /  otrā rindā trases nosaukums */
	.rbf-cal-row__sum { grid-template-columns: auto 1fr auto; gap: 10px 12px; padding: 16px; align-items: center; }
	.rbf-cal-row__sum > .rbf-badge { grid-area: 1 / 1; }
	.rbf-cal-row__sum > .rbf-pill--l { grid-area: 1 / 2; justify-self: start; }
	.rbf-cal-row__end { grid-area: 1 / 3; }
	.rbf-cal-row__track { grid-area: 2 / 1 / 3 / 4; font-size: 30px; }
	.rbf-cal-row__end { gap: 10px; }
	.rbf-cal-row__btns .rbf-btn { flex: 1; }

	/* ── Dalībnieku lapa ── */
	.rbf-mem-head { padding-block: 28px 30px; }
	.rbf-mem-head__inner { flex-direction: column; align-items: flex-start; gap: 14px; }
	.rbf-mem-admins { grid-template-columns: 1fr; gap: 12px; margin-top: 14px; }
	.rbf-mem-admincard { padding: 16px; }
	.rbf-mem-admincard__sim { font-size: 22px; }
	.rbf-mem-drivers__head { margin-bottom: 16px; }
	.rbf-mem-drivers__grid { grid-template-columns: 1fr; gap: 14px; }
	.rbf-drv__name { font-size: 24px; }

	/* ── Kā pievienoties + sākumlapas "Pievienoties" ── */
	.rbf-join__grid, .rbf-join2-hero__grid, .rbf-join2-facts__grid { grid-template-columns: 1fr; gap: 28px; }
	.rbf-join__grid { margin-bottom: 28px; }
	.rbf-join__p, .rbf-join2-lead { font-size: 15px; line-height: 1.55; }
	.rbf-join__btns, .rbf-join2-hero__buttons { flex-direction: column; gap: 10px; width: 100%; }
	/* Sākumlapā simulatoru kartītes telefonā prom — teksts blakus jau nosauc
	   visus trīs simulatorus, kartītes ir tikai lieli tukši logo laukumi. */
	.rbf-join .rbf-sims { display: none; }
	.rbf-sims__grid, .rbf-join2-sims__grid { grid-template-columns: 1fr; gap: 10px; }
	.rbf-sim, .rbf-simcard { display: grid; grid-template-columns: 1fr 90px; gap: 14px; align-items: center; padding: 14px 16px; }
	.rbf-sim__name, .rbf-simcard__name { text-align: right; }
	.rbf-steps, .rbf-join2-steps { grid-template-columns: 1fr; gap: 0; }
	.rbf-step { padding: 20px 0 20px 20px; border-bottom: 1px solid color-mix( in srgb, var( --rbf-on-dark ) 10%, transparent ); gap: 8px; }
	.rbf-step__dot { top: 24px; }
	.rbf-step__title { font-size: 23px; }
	.rbf-step__text { font-size: 14px; line-height: 1.5; }
	.rbf-fact { padding: 16px 18px; }
	.rbf-fact__value { font-size: 22px; }

	/* ── Kopiena (sākumlapa) ── */
	.rbf-community__count { white-space: normal; font-size: 11px; }
	.rbf-community__admins { margin-bottom: 24px; }
	.rbf-drivers { grid-template-columns: 1fr; gap: 20px; padding: 22px 20px; }

	/* ── Raksts (recap) ── */
	.rbf-article__title { font-size: 34px; }
	.rbf-article__body { font-size: 16px; }

	/* ── Konti: ienākt / reģistrēties / profils ── */
	.rbf-auth__card { padding: 26px 20px; }
	.rbf-auth__title { font-size: 34px; }
	.rbf-prof-head__inner { flex-direction: column; align-items: flex-start; gap: 14px; }
	.rbf-prof-h1 { font-size: 34px; }
	.rbf-prof-card { padding: 20px 18px; }

	/* ── Kājene ── */
	.rbf-foot { padding-top: 34px; }
	.rbf-foot__grid { grid-template-columns: 1fr; gap: 24px; padding-bottom: 26px; }
	/* Saites plūst rindā (kā dizainā), lai kājene nav bezgalīgi gara.
	   VISS scopots ar :not(.rbf-foot__joincol) — pievienošanās kolonna paliek
	   vertikāla, un tajā ir pogas, nevis saišu saraksts. */
	.rbf-foot__col { gap: 12px; }
	.rbf-foot__nav { display: flex; flex-direction: row; flex-wrap: wrap; gap: 10px 18px; align-items: baseline; }
	.rbf-foot__col:not( .rbf-foot__joincol ) { flex-direction: row; flex-wrap: wrap; gap: 10px 18px; align-items: baseline; }
	.rbf-foot__col:not( .rbf-foot__joincol ) a { display: inline; flex: 0 0 auto; }
	.rbf-foot__col:not( .rbf-foot__joincol ) .rbf-foot__coltitle { flex: 0 0 100%; margin: 0; }
	.rbf-foot__joincol { gap: 12px; }
	.rbf-foot__joincol .rbf-btn { width: 100%; box-sizing: border-box; }
	.rbf-foot__tag { margin-bottom: 14px; }
	.rbf-foot__bottom { flex-direction: column; align-items: flex-start; gap: 12px; padding: 18px 0 26px; }
	.rbf-foot__legal { gap: 18px; }
}

/* Simulatoru izvēle un cilnes telefonā */
@media ( max-width: 767px ) {
	.rbf-simpick { grid-template-columns: 1fr; gap: 8px; }
	.rbf-simtabs { display: grid; grid-template-columns: repeat( 3, 1fr ); gap: 8px; margin-bottom: 18px; }
	.rbf-simtab { padding: 13px 6px; justify-content: center; gap: 6px; font-size: 12px; letter-spacing: 0.04em; }
	.rbf-mem-empty { padding: 24px 18px; }
	.rbf-mem-empty__h { font-size: 22px; }
}

/* Garage 61 Time Attack telefonā: kompakta tabula bez ritināšanas sāņus */
@media ( max-width: 767px ) {
	.rbf-g61__lead { font-size: 14px; margin: -6px 0 18px; }
	.rbf-g61__grid { grid-template-columns: 1fr; gap: 16px; }
	.rbf-g61-row { grid-template-columns: 30px 1fr 92px; padding: 11px 14px; gap: 8px; font-size: 12px; }
	.rbf-g61-row > :nth-child( 4 ), .rbf-g61-row > :nth-child( 5 ) { display: none; }
	.rbf-g61-name { font-size: 17px; }
	.rbf-g61-time { font-size: 14px; }
	.rbf-g61__side { padding: 16px; }
}

/* Garage 61 brīdinājums telefonā */
@media ( max-width: 767px ) {
	.rbf-g61-notice { padding: 14px 16px; margin-bottom: 14px; }
	.rbf-g61-notice__h { font-size: 13px; }
	.rbf-g61-notice__p { font-size: 13px; }
}

/* Garage 61 kopsavilkums telefonā — 2 kolonnas */
@media ( max-width: 767px ) {
	.rbf-g61-stats { grid-template-columns: 1fr 1fr; }
	.rbf-g61-stat { padding: 14px 16px; }
	.rbf-g61-stat__val { font-size: 24px; }
}

/* Nobrauktais darbs telefonā */
@media ( max-width: 767px ) {
	.rbf-g61-work__head { flex-direction: column; align-items: flex-start; gap: 4px; }
	.rbf-g61-wrow { grid-template-columns: 30px 1fr 56px 62px; padding: 11px 14px; gap: 8px; font-size: 12px; }
}

@media ( max-width: 767px ) { .rbf-g61-wrow.has-dirty { grid-template-columns: 28px 1fr 52px 52px 56px; } }

/* ══ Garage 61 lapa telefonā ══ */
@media ( max-width: 767px ) {
	.rbf-lg { display: none; }
	.rbf-sm { display: inline; }

	/* Posmu izvēle — ritinās sāņus, nevis lūzt vairākās rindās */
	.rbf-g61page .rbf-simtabs {
		display: flex;
		flex-wrap: nowrap;
		overflow-x: auto;
		gap: 8px;
		margin-inline: -18px;
		padding: 0 18px 4px;
		scrollbar-width: none;
	}
	.rbf-g61page .rbf-simtabs::-webkit-scrollbar { display: none; }
	.rbf-g61page .rbf-simtab { flex: 0 0 auto; white-space: nowrap; padding: 11px 14px; }

	/* Žetoni kompaktāki, lai neaizņem trīs rindas */
	.rbf-g61page .rbf-res-tags { gap: 8px; }
	.rbf-g61page .rbf-tag-l { font-size: 10px; padding: 6px 9px; letter-spacing: 0.06em; }

	/* Kopsavilkums: trīs šūnas vienā rindā, bez tukša ceturtā lauka */
	.rbf-g61-stats { grid-template-columns: repeat( 3, 1fr ); }
	.rbf-g61-stat { padding: 12px 10px; gap: 4px; }
	.rbf-g61-stat__lab { font-size: 9px; letter-spacing: 0.1em; }
	.rbf-g61-stat__val { font-size: 22px; }

	/* Paziņojums un tabulas */
	.rbf-g61-notice__f { font-size: 11px; }
	.rbf-g61-wrow { grid-template-columns: 26px 1fr 46px 56px; padding: 11px 12px; gap: 8px; font-size: 12px; }
	.rbf-g61-wrow--head { font-size: 9px; letter-spacing: 0.08em; }
	.rbf-g61-work { margin-top: 20px; }
	.rbf-g61-row { grid-template-columns: 26px 1fr 92px; padding: 11px 12px; }
	.rbf-g61-row--head { font-size: 9px; letter-spacing: 0.08em; }
}

/* "Vēl nav pievienoti" telefonā */
@media ( max-width: 767px ) {
	.rbf-soon { padding: 26px 18px; }
	.rbf-soon__h { font-size: 24px; }
	.rbf-soon__p { font-size: 14px; }
	.rbf-soon .rbf-btn { width: 100%; box-sizing: border-box; }
}
