/* =====================================================================
 * 42-legibility.css — the measured contrast failures and the smallest
 * text, 2026-11-28 (fb2/mobile/metrics/*.json, 390px, logged in)
 * ---------------------------------------------------------------------
 * Not in here: the Ultimate Member profile/account failures (2.53:1 and
 * 3.28:1 on .um-name, .um-field-label, .um-account-nav). The community
 * build spec puts those in css/33-ultimate-member.css; this file only
 * adds the two UM states that spec does not cover.
 * ===================================================================== */

/* ---- 1. text below 12px on a phone ----------------------------------
   Raised to a floor, not a new scale: these are the smallest labels on the
   site, not the "everything is huge" sizes, which stay gated on Al's
   screenshots. */
@media (max-width: 640px) {
	body .fb-hero-episode .fb-eyebrow { font-size: 12px; }        /* 11px measured */
	body .fb-foot-head { font-size: 12px !important; }           /* 11.2px measured; 19-footer.css uses !important */
	body .fb-foot-cta { font-size: 12.5px; }                      /* 11.52px measured */
	body .fb-rc-head,
	body .fb-rc-on { font-size: 13px; }                           /* 12.48px measured */
	body .fb-hero-meta { font-size: 13.5px; }                     /* 12.8px measured */
}

/* ---- 2. Ultimate Member states outside 33-ultimate-member.css -------- */
/* /login/ while logged in (UM templates/logout.php): the name measured
   3.28:1 and UM draws a 3px #eee rule under it. */
body .um .um-misc-with-img {
	border-bottom: 1px solid var(--fb-hairline);
}
body .um .um-misc-with-img strong {
	color: var(--fb-text);
}
body .um .um-misc-ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
body .um .um-misc-ul li {
	margin: 0 0 .5rem;
}
body .um .um-misc-ul a {
	color: var(--awb-color5);
}
/* /members/ empty state measured 3.28:1. Moot if the directory is
   switched off (community spec D2); harmless if it is not. */
body .um-members-none p {
	color: var(--awb-color2);
}

/* ---- 3. wpDiscuz thread toolbar -------------------------------------- */
/* "Oldest" sort label: plugin #777 on the dark ground measured 4.21:1 at
   14px. Plugin rule is #wpdcom .wpd-thread-filter .wpdf-sorting (1,2,0),
   set in "Arial Hebrew", Arial. */
body #wpdcom .wpd-thread-filter .wpdf-sorting,
body #wpdcom .wpd-thread-filter .wpdf-sorting .wpdiscuz-sort-button {
	color: var(--awb-color2);
	font-family: inherit;
}
/* The sort dropdown is a white box in the plugin (#fff, 1px #ccc). Not
   seen rendered on 28 Nov; read from wpdiscuz/themes/default/style.css. */
body #wpdcom .wpdiscuz-sort-buttons {
	background-color: var(--fb-surface-2);
	border-color: var(--awb-color3);
}
body #wpdcom .wpdiscuz-sort-buttons .wpdiscuz-sort-button:hover {
	background-color: rgba(255, 255, 255, .05);
}
/* "Most reacted" and "hottest" tabs: plugin orange #ffa600 and red
   #fc5844, the only off-palette colours left on an episode page. */
body #wpdcom .wpd-thread-filter .wpdf-reacted,
body #wpdcom .wpd-thread-filter .wpdf-hottest {
	color: var(--awb-color6);
	border-bottom-color: var(--awb-color3);
}
body #wpdcom .wpd-thread-filter .wpdf-reacted:hover,
body #wpdcom .wpd-thread-filter .wpdf-hottest:hover,
body #wpdcom .wpd-thread-filter .wpd-filter.wpdf-active {
	color: var(--fb-violet-lit);
	border-bottom-color: var(--fb-violet-lit);
}
