/* LBH Word Finder. Colors and type follow localbingohalls.com: navy headings (#005295), site blue (#1D70B8),
   header green, Montserrat headings and Inter Tight interface text. Tile colors use the Wordle convention
   (green = right spot, gold = somewhere in the word, gray = not in the word). */
.lbhwf {
	--wf-navy: #005295;
	--wf-blue: #1d70b8;
	--wf-blue-soft: #f3f8fc;
	--wf-green: #1f8f3a;
	--wf-green-soft: #e8f7ec;
	--wf-gold: #c98a07;
	--wf-gold-soft: #fdf5e3;
	--wf-gray: #6b6f7b;
	--wf-gray-soft: #f1f2f4;
	--wf-ink: #313135;
	--wf-muted: #5f6270;
	--wf-line: #dadfe4;
	--wf-card: #fff;
	--wf-radius: 14px;
	--wf-head: Montserrat, "Inter Tight", system-ui, sans-serif;
	--wf-ui: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
	color: var(--wf-ink);
	font-family: var(--wf-ui);
	font-size: 17px;
	line-height: 1.6;
	max-width: 760px;
	margin: 0 auto;
}
.lbhwf *, .lbhwf *::before, .lbhwf *::after { box-sizing: border-box; }
.lbhwf.lbhwf h2 {
	font-family: var(--wf-head);
	font-size: 24px;
	line-height: 1.25;
	font-weight: 700;
	color: var(--wf-navy);
	margin: 36px 0 12px;
	letter-spacing: 0;
}
.lbhwf.lbhwf h3 {
	font-family: var(--wf-head);
	font-size: 17px;
	line-height: 1.35;
	font-weight: 700;
	color: var(--wf-ink);
	margin: 20px 0 6px;
}
.lbhwf.lbhwf p { margin: 0 0 12px; text-align: left; font-size: inherit; }
.lbhwf.lbhwf h3::after, .lbhwf.lbhwf h3::before { content: none; display: none; }
.lbhwf.lbhwf .lbhwf-intro { font-size: 18px; margin-bottom: 20px !important; }

/* ---------- Tool card ---------- */
.lbhwf.lbhwf .lbhwf-tool {
	background: var(--wf-card);
	border: 1px solid var(--wf-line);
	border-radius: var(--wf-radius);
	box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px rgba(16, 24, 40, .06);
	padding: 18px 20px 20px;
	margin: 0 0 8px;
	position: relative;
	overflow: hidden;
}
.lbhwf.lbhwf .lbhwf-tool::before { /* the site's green header band, echoed as a thin top strip */
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 5px;
	background: #63de67;
}
.lbhwf.lbhwf .lbhwf-tool-head {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px 12px;
	margin-bottom: 16px;
}
.lbhwf.lbhwf .lbhwf-balls { display: inline-flex; gap: 3px; }
.lbhwf.lbhwf .lbhwf-balls i { /* B-I-N-G-O ball colors from the logo */
	width: 12px;
	height: 12px;
	border-radius: 50%;
	display: block;
	box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .55);
}
.lbhwf.lbhwf .lbhwf-balls i:nth-child(1) { background: #e2453c; }
.lbhwf.lbhwf .lbhwf-balls i:nth-child(2) { background: #f2b418; }
.lbhwf.lbhwf .lbhwf-balls i:nth-child(3) { background: #1d70b8; }
.lbhwf.lbhwf .lbhwf-balls i:nth-child(4) { background: #3dbe4e; }
.lbhwf.lbhwf .lbhwf-balls i:nth-child(5) { background: #f28c28; }
.lbhwf.lbhwf .lbhwf-tool-title {
	font-family: var(--wf-head);
	font-weight: 700;
	font-size: 18px;
	color: var(--wf-navy);
	margin: 0 auto 0 0 !important;
}

/* Length picker */
.lbhwf.lbhwf .lbhwf-len { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; font-weight: 600; color: var(--wf-muted); }
.lbhwf.lbhwf .lbhwf-len select, .lbhwf.lbhwf .lbhwf-field--select select {
	appearance: none;
	-webkit-appearance: none;
	height: 38px;
	padding: 0 34px 0 12px;
	margin: 0;
	border: 1.5px solid var(--wf-line);
	border-radius: 999px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231d70b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center;
	font: 600 15px/1.2 var(--wf-ui);
	color: var(--wf-ink);
	cursor: pointer;
	box-shadow: none;
	min-width: 0;
	width: auto;
}
.lbhwf.lbhwf .lbhwf-field--select select { border-radius: 10px; height: 44px; width: 100%; }
.lbhwf.lbhwf .lbhwf-len select:focus, .lbhwf.lbhwf .lbhwf-field--select select:focus { outline: none; border-color: var(--wf-blue); box-shadow: 0 0 0 3px rgba(29, 112, 184, .2); }

/* Mode tabs (segmented control) */
.lbhwf.lbhwf .lbhwf-tabs {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 3px;
	padding: 3px;
	margin: 0 0 18px;
	background: var(--wf-gray-soft);
	border-radius: 12px;
}
.lbhwf.lbhwf .lbhwf-tab {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 6px 8px;
	border-radius: 9px;
	font: 600 14px/1.2 var(--wf-ui);
	color: var(--wf-muted);
	text-align: center;
	text-decoration: none;
	transition: background-color .15s, color .15s;
}
.lbhwf.lbhwf .lbhwf-tab:hover { color: var(--wf-ink); }
.lbhwf.lbhwf .lbhwf-tab[aria-current] { background: #fff; color: var(--wf-navy); box-shadow: 0 1px 2px rgba(16, 24, 40, .12), 0 1px 1px rgba(16, 24, 40, .06); }
.lbhwf.lbhwf .lbhwf-tab:focus-visible { outline: 3px solid rgba(29, 112, 184, .35); outline-offset: 1px; }
.lbhwf.lbhwf .lbhwf-panel[hidden], .lbhwf.lbhwf .lbhwf-more-opts[hidden], .lbhwf.lbhwf [hidden] { display: none !important; }

/* Letter tiles */
.lbhwf.lbhwf .lbhwf-tiles { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
.lbhwf.lbhwf legend, .lbhwf.lbhwf .lbhwf-field label {
	font-size: 14px;
	font-weight: 600;
	color: var(--wf-muted);
	padding: 0;
	margin: 0 0 8px;
	display: block;
}
.lbhwf.lbhwf .lbhwf-tilerow { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 56px)); gap: 8px; }
.lbhwf.lbhwf .lbhwf-tiles[data-len="9"] .lbhwf-tilerow, .lbhwf.lbhwf .lbhwf-tiles[data-len="10"] .lbhwf-tilerow,
.lbhwf.lbhwf .lbhwf-tiles[data-len="11"] .lbhwf-tilerow, .lbhwf.lbhwf .lbhwf-tiles[data-len="12"] .lbhwf-tilerow,
.lbhwf.lbhwf .lbhwf-tiles[data-len="13"] .lbhwf-tilerow, .lbhwf.lbhwf .lbhwf-tiles[data-len="14"] .lbhwf-tilerow,
.lbhwf.lbhwf .lbhwf-tiles[data-len="15"] .lbhwf-tilerow { gap: 5px; }
.lbhwf.lbhwf .lbhwf-tile {
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	min-width: 0;
	padding: 0;
	margin: 0;
	border: 2px solid #c9ced6;
	border-radius: 10px;
	background: #fff;
	text-align: center;
	font-family: var(--wf-head);
	font-size: min(26px, calc(250px / var(--n, 5)));
	font-weight: 700;
	text-transform: uppercase;
	color: var(--wf-ink);
	caret-color: var(--wf-blue);
	box-shadow: none;
	transition: background-color .12s, border-color .12s, transform .12s;
}
.lbhwf.lbhwf .lbhwf-tile::placeholder { color: #b6bbc4; font-size: 15px; font-weight: 600; }
.lbhwf.lbhwf .lbhwf-tile:focus { outline: none; border-color: var(--wf-blue); box-shadow: 0 0 0 3px rgba(29, 112, 184, .25); }
.lbhwf.lbhwf .lbhwf-tile.is-set { background: var(--wf-green); border-color: var(--wf-green); color: #fff; }
.lbhwf.lbhwf .lbhwf-tile.is-set:focus { box-shadow: 0 0 0 3px rgba(31, 143, 58, .3); }
.lbhwf.lbhwf .lbhwf-tile.pop { transform: scale(1.06); }
.lbhwf.lbhwf .lbhwf-tile[hidden] { display: none; }

/* Letter fields (become chip editors with JS) */
.lbhwf.lbhwf .lbhwf-field { margin: 0 0 12px; }
.lbhwf.lbhwf .lbhwf-letters, .lbhwf.lbhwf .lbhwf-chipbox {
	width: 100%;
	min-height: 46px;
	border: 1.5px solid var(--wf-line);
	border-radius: 10px;
	background: #fff;
	font: 600 16px/1.2 var(--wf-ui);
	color: var(--wf-ink);
	padding: 6px 10px;
	text-transform: uppercase;
	letter-spacing: .08em;
}
.lbhwf.lbhwf .lbhwf-chipbox {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	cursor: text;
	letter-spacing: 0;
}
.lbhwf.lbhwf .lbhwf-chipbox:focus-within { border-color: var(--wf-blue); box-shadow: 0 0 0 3px rgba(29, 112, 184, .2); }
.lbhwf.lbhwf .lbhwf-chipbox input {
	flex: 1 1 90px;
	min-width: 90px;
	border: 0 !important;
	outline: none;
	box-shadow: none !important;
	background: transparent !important;
	padding: 6px 2px !important;
	margin: 0;
	font: 600 16px/1.2 var(--wf-ui);
	text-transform: uppercase;
	color: var(--wf-ink);
}
.lbhwf.lbhwf .lbhwf-chipbox input::placeholder { text-transform: none; color: #9a9fa9; font-weight: 500; }
.lbhwf.lbhwf .lbhwf-lchip {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	height: 32px;
	padding: 0 4px 0 10px;
	border-radius: 8px;
	font: 700 16px/1 var(--wf-head);
}
.lbhwf.lbhwf .lbhwf-lchip button {
	border: 0;
	background: transparent;
	color: inherit;
	width: 26px;
	height: 26px;
	padding: 0;
	margin: 0;
	border-radius: 6px;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	opacity: .8;
	min-height: 0;
}
.lbhwf.lbhwf .lbhwf-lchip button:hover, .lbhwf.lbhwf .lbhwf-lchip button:focus-visible { opacity: 1; background: rgba(0, 0, 0, .1); outline: none; }
.lbhwf.lbhwf .lbhwf-field--in .lbhwf-lchip { background: var(--wf-gold); color: #fff; }
.lbhwf.lbhwf .lbhwf-field--mid .lbhwf-lchip { background: var(--wf-gold-soft); color: #7a5300; box-shadow: inset 0 0 0 1.5px var(--wf-gold); }
.lbhwf.lbhwf .lbhwf-field--out .lbhwf-lchip { background: var(--wf-gray); color: #fff; }
.lbhwf.lbhwf .lbhwf-field--out .lbhwf-lchip span { text-decoration: line-through; text-decoration-thickness: 2px; }
.lbhwf.lbhwf .lbhwf-field--in label::before, .lbhwf.lbhwf .lbhwf-field--mid label::before, .lbhwf.lbhwf .lbhwf-field--out label::before, .lbhwf.lbhwf legend::before {
	content: "";
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 3px;
	margin-right: 7px;
	vertical-align: 0;
	background: var(--wf-green);
}
.lbhwf.lbhwf .lbhwf-field--in label::before { background: var(--wf-gold); }
.lbhwf.lbhwf .lbhwf-field--mid label::before { background: var(--wf-gold-soft); box-shadow: inset 0 0 0 1.5px var(--wf-gold); }
.lbhwf.lbhwf .lbhwf-field--out label::before { background: var(--wf-gray); }
.lbhwf.lbhwf .lbhwf-help { font-size: 14px; color: var(--wf-muted); margin: 6px 0 0 !important; }
.lbhwf.lbhwf .lbhwf-text, .lbhwf.lbhwf .lbhwf-rack {
	width: 100%;
	height: 46px;
	border: 1.5px solid var(--wf-line);
	border-radius: 10px;
	background: #fff;
	padding: 0 12px;
	margin: 0;
	font: 700 17px/1 var(--wf-head);
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--wf-ink);
	box-shadow: none;
}
.lbhwf.lbhwf .lbhwf-rack { height: 56px; font-size: 24px; letter-spacing: .22em; }
.lbhwf.lbhwf .lbhwf-text::placeholder, .lbhwf.lbhwf .lbhwf-rack::placeholder { color: #a3a8b1; font-weight: 600; letter-spacing: .04em; font-size: 15px; font-family: var(--wf-ui); text-transform: none; }
.lbhwf.lbhwf .lbhwf-text:focus, .lbhwf.lbhwf .lbhwf-rack:focus { outline: none; border-color: var(--wf-blue); box-shadow: 0 0 0 3px rgba(29, 112, 184, .2); }

/* More options */
.lbhwf.lbhwf .lbhwf-more-opts { margin: 4px 0 12px; border-top: 1px solid var(--wf-line); padding-top: 10px; }
.lbhwf.lbhwf .lbhwf-more-opts summary {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	list-style: none;
	font: 600 15px/1.2 var(--wf-ui);
	color: var(--wf-blue);
	padding: 6px 0;
}
.lbhwf.lbhwf .lbhwf-more-opts summary::-webkit-details-marker { display: none; }
.lbhwf.lbhwf .lbhwf-more-opts summary::before {
	content: "";
	width: 8px;
	height: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(-45deg);
	transition: transform .15s;
}
.lbhwf.lbhwf .lbhwf-more-opts[open] summary::before { transform: rotate(45deg); }
.lbhwf.lbhwf .lbhwf-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 12px; padding-top: 10px; }
.lbhwf.lbhwf .lbhwf-opts .lbhwf-field--select { grid-column: span 1; }
.lbhwf.lbhwf .lbhwf-opts .lbhwf-field label { font-size: 13px; }

/* Wordle helper */
.lbhwf.lbhwf .lbhwf-guessrow { display: flex; gap: 8px; }
.lbhwf.lbhwf .lbhwf-guessrow .lbhwf-rack { flex: 1 1 auto; min-width: 0; }
.lbhwf.lbhwf .lbhwf-add {
	flex: 0 0 auto;
	border: 0;
	border-radius: 10px;
	background: var(--wf-blue);
	color: #fff;
	padding: 0 20px;
	font: 600 16px/1 var(--wf-ui);
	cursor: pointer;
}
.lbhwf.lbhwf .lbhwf-add:hover { background: var(--wf-navy); }
.lbhwf.lbhwf .lbhwf-board { display: grid; gap: 8px; margin: 4px 0 12px; }
.lbhwf.lbhwf .lbhwf-board:empty { display: none; }
.lbhwf.lbhwf .lbhwf-wrow { display: flex; align-items: center; gap: 6px; }
.lbhwf.lbhwf .lbhwf-wtile {
	width: auto;
	height: auto;
	aspect-ratio: 1;
	flex: 1 1 0;
	max-width: 52px;
	min-width: 0;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 8px;
	font: 700 24px/1 var(--wf-head);
	color: #fff;
	cursor: pointer;
	transition: background-color .15s, transform .1s;
}
.lbhwf.lbhwf .lbhwf-wtile.s0 { background: var(--wf-gray); }
.lbhwf.lbhwf .lbhwf-wtile.s1 { background: var(--wf-gold); }
.lbhwf.lbhwf .lbhwf-wtile.s2 { background: var(--wf-green); }
.lbhwf.lbhwf .lbhwf-wtile:active { transform: scale(.94); }
.lbhwf.lbhwf .lbhwf-wtile:focus-visible { outline: 3px solid rgba(29, 112, 184, .45); outline-offset: 2px; }
.lbhwf.lbhwf .lbhwf-wdel {
	width: 36px;
	height: 36px;
	flex: 0 0 auto;
	margin-left: 4px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--wf-muted);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}
.lbhwf.lbhwf .lbhwf-wdel:hover, .lbhwf.lbhwf .lbhwf-wdel:focus-visible { background: var(--wf-gray-soft); color: var(--wf-ink); outline: none; }

.lbhwf.lbhwf .lbhwf-hint { font-size: 13px; color: #a23b16; margin: 6px 0 0 !important; min-height: 0; }
.lbhwf.lbhwf .lbhwf-shake { animation: lbhwf-shake .3s; }
@keyframes lbhwf-shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

.lbhwf.lbhwf .lbhwf-actions { display: flex; align-items: center; gap: 16px; margin-top: 4px; }
.lbhwf.lbhwf .lbhwf-go {
	background: var(--wf-blue);
	color: #fff;
	border: 0;
	border-radius: 6px;
	padding: 10px 18px;
	font: 600 15px/1.2 var(--wf-ui);
	cursor: pointer;
}
.lbhwf.lbhwf.is-live .lbhwf-go { display: none; }
.lbhwf.lbhwf .lbhwf-clear { font-size: 15px; font-weight: 600; color: var(--wf-blue); text-decoration: none; }
.lbhwf.lbhwf .lbhwf-clear:hover { text-decoration: underline; }

/* ---------- Results ---------- */
.lbhwf.lbhwf .lbhwf-out { min-height: 120px; }
.lbhwf.lbhwf .lbhwf-bar {
	position: sticky;
	top: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	background: rgba(255, 255, 255, .96);
	backdrop-filter: blur(6px);
	border-bottom: 1px solid var(--wf-line);
	padding: 12px 2px;
	margin: 12px 0 0;
}
.lbhwf.lbhwf .lbhwf-count { margin: 0 !important; font-size: 15px; color: var(--wf-muted); }
.lbhwf.lbhwf .lbhwf-count strong { color: var(--wf-ink); font-size: 17px; }
.lbhwf.lbhwf .lbhwf-bartools { display: flex; align-items: center; gap: 14px; }
.lbhwf.lbhwf .lbhwf-copy {
	border: 1.5px solid var(--wf-line);
	background: #fff;
	border-radius: 999px;
	padding: 6px 12px;
	font: 600 14px/1.2 var(--wf-ui);
	color: var(--wf-blue);
	cursor: pointer;
	white-space: nowrap;
}
.lbhwf.lbhwf .lbhwf-copy:hover { border-color: var(--wf-blue); }
.lbhwf.lbhwf .lbhwf-out { transition: opacity .15s; }
.lbhwf.lbhwf .lbhwf-out.is-busy { opacity: .55; }
.lbhwf.lbhwf .lbhwf-pagelink { font-size: 14px; font-weight: 600; color: var(--wf-blue); text-decoration: none; }
.lbhwf.lbhwf .lbhwf-pagelink:hover { text-decoration: underline; }
.lbhwf.lbhwf .lbhwf-ghead { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px 12px; flex-wrap: wrap; margin: 36px 0 14px; }
.lbhwf.lbhwf .lbhwf-ghead h2 { margin: 0; }
.lbhwf.lbhwf .lbhwf-ghead .lbhwf-n { margin-bottom: 4px; white-space: nowrap; }
.lbhwf.lbhwf .lbhwf-n {
	font: 700 13px/1 var(--wf-ui);
	color: var(--wf-navy);
	background: var(--wf-blue-soft);
	border-radius: 999px;
	padding: 5px 9px;
}
.lbhwf.lbhwf .lbhwf-words {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
	gap: 6px;
}
.lbhwf.lbhwf .lbhwf-words li {
	margin: 0;
	padding: 7px 4px;
	text-align: center;
	background: var(--wf-blue-soft);
	border-radius: 8px;
	font: 600 15px/1.2 var(--wf-ui);
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--wf-ink);
	list-style: none;
}
.lbhwf.lbhwf .lbhwf-words li::before, .lbhwf.lbhwf .lbhwf-words li::marker { content: none; }
.lbhwf.lbhwf .lbhwf-words li { cursor: pointer; position: relative; transition: background-color .12s, box-shadow .12s; }
.lbhwf.lbhwf .lbhwf-words li:hover { box-shadow: inset 0 0 0 1.5px var(--wf-blue); }
.lbhwf.lbhwf .lbhwf-words li:focus-visible { outline: 3px solid rgba(29, 112, 184, .45); outline-offset: 1px; }
.lbhwf.lbhwf .lbhwf-words li.t2 { background: var(--wf-gray-soft); color: #45474f; font-weight: 500; }
.lbhwf.lbhwf .lbhwf-words li.t3 { background: #fff; color: #6b6f7b; font-weight: 500; box-shadow: inset 0 0 0 1px var(--wf-line); }
.lbhwf.lbhwf .lbhwf-words li.t3:hover { box-shadow: inset 0 0 0 1.5px var(--wf-blue); }
.lbhwf.lbhwf .lbhwf-words li i {
	font: 700 10px/1 var(--wf-ui);
	font-style: normal;
	letter-spacing: 0;
	color: var(--wf-navy);
	position: absolute;
	top: 3px;
	right: 4px;
	opacity: .75;
}
.lbhwf.lbhwf .lbhwf-words b { color: var(--wf-green); font-weight: 800; }
.lbhwf.lbhwf .lbhwf-more {
	margin-top: 10px;
	background: #fff;
	border: 1.5px solid var(--wf-line);
	border-radius: 8px;
	padding: 9px 14px;
	font: 600 15px/1.2 var(--wf-ui);
	color: var(--wf-blue);
	cursor: pointer;
}
.lbhwf.lbhwf .lbhwf-more:hover { border-color: var(--wf-blue); }
.lbhwf.lbhwf .lbhwf-note { font-size: 14px; color: var(--wf-muted); margin-top: 8px !important; }
.lbhwf.lbhwf .lbhwf-empty {
	background: var(--wf-blue-soft);
	border-radius: var(--wf-radius);
	padding: 18px 20px;
	margin-top: 16px;
}
.lbhwf.lbhwf .lbhwf-empty p:last-child { margin-bottom: 0; }
.lbhwf.lbhwf .lbhwf-examples { display: flex; flex-wrap: wrap; gap: 8px; }
.lbhwf.lbhwf .lbhwf-example {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	border: 1px solid var(--wf-line);
	border-radius: 999px;
	padding: 6px 12px 6px 6px;
	font-size: 14px;
	font-weight: 600;
	color: var(--wf-ink);
	text-decoration: none;
}
.lbhwf.lbhwf .lbhwf-example span {
	font: 700 13px/1 var(--wf-head);
	letter-spacing: .12em;
	background: var(--wf-green);
	color: #fff;
	border-radius: 999px;
	padding: 6px 9px;
}
.lbhwf.lbhwf .lbhwf-example:hover { border-color: var(--wf-blue); }

/* Active filters as removable chips (also offered when nothing matches) */
.lbhwf.lbhwf .lbhwf-active { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 12px 0 0; }
.lbhwf.lbhwf .lbhwf-empty .lbhwf-active { margin-top: 2px; }
.lbhwf.lbhwf .lbhwf-active-l { font-size: 13px; font-weight: 600; color: var(--wf-muted); margin-right: 2px; }
.lbhwf.lbhwf .lbhwf-achip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 32px;
	padding: 4px 8px 4px 12px;
	border: 1px solid var(--wf-line);
	border-radius: 999px;
	background: #fff;
	font: 600 14px/1.2 var(--wf-ui);
	color: var(--wf-ink);
	cursor: pointer;
}
.lbhwf.lbhwf .lbhwf-achip span { font-size: 17px; line-height: 1; color: var(--wf-muted); }
.lbhwf.lbhwf .lbhwf-achip:hover { border-color: var(--wf-blue); }
.lbhwf.lbhwf .lbhwf-achip:hover span { color: var(--wf-blue); }

/* Next-letter bars */
.lbhwf.lbhwf .lbhwf-bars { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; max-width: 460px; }
.lbhwf.lbhwf .lbhwf-bars li { display: grid; grid-template-columns: 24px 1fr 44px; align-items: center; gap: 10px; margin: 0; list-style: none; }
.lbhwf.lbhwf .lbhwf-bars li::before, .lbhwf.lbhwf .lbhwf-bars li::marker { content: none; }
.lbhwf.lbhwf .lbhwf-bars b { font: 700 16px/1 var(--wf-head); color: var(--wf-ink); text-align: center; }
.lbhwf.lbhwf .lbhwf-track { height: 10px; background: var(--wf-gray-soft); border-radius: 999px; overflow: hidden; }
.lbhwf.lbhwf .lbhwf-track span { display: block; height: 100%; background: var(--wf-blue); border-radius: 999px; }
.lbhwf.lbhwf .lbhwf-bars em { font-style: normal; font-size: 14px; color: var(--wf-muted); text-align: right; }

/* Related lists and directory */
.lbhwf.lbhwf .lbhwf-rowtitle { font-family: var(--wf-head); font-weight: 700; font-size: 15px; color: var(--wf-muted); margin: 16px 0 8px; }
.lbhwf.lbhwf .lbhwf-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.lbhwf.lbhwf .lbhwf-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 36px;
	padding: 0 11px;
	border-radius: 8px;
	border: 1px solid var(--wf-line);
	background: #fff;
	color: var(--wf-blue);
	font: 600 15px/1 var(--wf-ui);
	text-decoration: none;
}
.lbhwf.lbhwf a.lbhwf-chip:hover { border-color: var(--wf-blue); background: var(--wf-blue-soft); }
.lbhwf.lbhwf .lbhwf-chip.is-current { background: var(--wf-navy); border-color: var(--wf-navy); color: #fff; }
.lbhwf.lbhwf .lbhwf-hublink { margin-top: 20px !important; }
.lbhwf.lbhwf .lbhwf-hublink a { color: var(--wf-blue); font-weight: 600; }
.lbhwf.lbhwf .lbhwf-about p { color: var(--wf-ink); }

.lbhwf.lbhwf .screen-reader-text, .lbhwf.lbhwf .lbhwf-sr {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* Definition card: a bottom sheet on phones, a centered card on larger screens */
.lbhwf.lbhwf .lbhwf-sheet {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(17, 24, 39, 0);
	transition: background-color .16s;
}
.lbhwf.lbhwf .lbhwf-sheet.is-open { background: rgba(17, 24, 39, .45); }
.lbhwf.lbhwf .lbhwf-sheet-card {
	width: 100%;
	max-width: 460px;
	max-height: calc(100vh - 32px);
	overflow: auto;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 20px 50px rgba(16, 24, 40, .25);
	padding: 18px 20px 20px;
	transform: translateY(12px);
	opacity: 0;
	transition: transform .16s, opacity .16s;
}
.lbhwf.lbhwf .lbhwf-sheet.is-open .lbhwf-sheet-card { transform: none; opacity: 1; }
.lbhwf.lbhwf .lbhwf-sheet-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.lbhwf.lbhwf .lbhwf-sheet-word { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 !important; }
.lbhwf.lbhwf .lbhwf-sheet-word span {
	width: 34px;
	height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--wf-green);
	color: #fff;
	border-radius: 7px;
	font: 700 18px/1 var(--wf-head);
}
.lbhwf.lbhwf .lbhwf-sheet-close {
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--wf-gray-soft);
	color: var(--wf-ink);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}
.lbhwf.lbhwf .lbhwf-sheet-meta { font-size: 13px; font-weight: 600; color: var(--wf-muted); margin: 10px 0 8px !important; }
.lbhwf.lbhwf .lbhwf-sheet-body { font-size: 16px; line-height: 1.5; }
.lbhwf.lbhwf .lbhwf-sheet-body p { margin: 0 0 8px; }
.lbhwf.lbhwf .lbhwf-def-base { color: var(--wf-muted); }
.lbhwf.lbhwf .lbhwf-def-base strong { color: var(--wf-ink); text-transform: uppercase; letter-spacing: .04em; }
.lbhwf.lbhwf .lbhwf-def-list { margin: 0; padding: 0 0 0 20px; }
.lbhwf.lbhwf .lbhwf-def-list li { margin: 0 0 8px; padding-left: 2px; }
.lbhwf.lbhwf .lbhwf-def-list em { font-style: italic; color: var(--wf-navy); font-weight: 600; margin-right: 2px; }
.lbhwf.lbhwf .lbhwf-def-wait, .lbhwf.lbhwf .lbhwf-def-none { color: var(--wf-muted); }
.lbhwf.lbhwf .lbhwf-sheet-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.lbhwf.lbhwf .lbhwf-sheet-btn {
	display: inline-flex;
	align-items: center;
	height: 40px;
	padding: 0 14px;
	border: 1.5px solid var(--wf-line);
	border-radius: 10px;
	background: #fff;
	color: var(--wf-blue);
	font: 600 15px/1 var(--wf-ui);
	text-decoration: none;
	cursor: pointer;
}
.lbhwf.lbhwf .lbhwf-sheet-btn:hover { border-color: var(--wf-blue); }
.lbhwf.lbhwf .lbhwf-sheet-btn.is-primary { background: var(--wf-blue); border-color: var(--wf-blue); color: #fff; }
html.lbhwf-sheet-open { overflow: hidden; }

@media (max-width: 640px) {
	.lbhwf.lbhwf .lbhwf-opts { grid-template-columns: 1fr 1fr; }
	.lbhwf.lbhwf .lbhwf-opts .lbhwf-field--text:nth-child(3) { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
	.lbhwf.lbhwf .lbhwf-sheet { align-items: flex-end; padding: 0; }
	.lbhwf.lbhwf .lbhwf-sheet-card { max-width: none; border-radius: 18px 18px 0 0; padding: 16px 16px calc(18px + env(safe-area-inset-bottom)); transform: translateY(40px); }
	.lbhwf.lbhwf .lbhwf-opts { grid-template-columns: 1fr; }
	.lbhwf.lbhwf .lbhwf-tab { font-size: 13px; padding: 6px 4px; }
	.lbhwf.lbhwf .lbhwf-tilerow { grid-template-columns: repeat(var(--m, 5), minmax(0, 54px)); }
	.lbhwf.lbhwf .lbhwf-tile { font-size: min(24px, calc(150px / var(--m, 5))); }
	.lbhwf.lbhwf .lbhwf-wtile { font-size: 20px; }
	.lbhwf.lbhwf .lbhwf-wrow { gap: 5px; }
	.lbhwf.lbhwf .lbhwf-wdel { width: 32px; margin-left: 0; }
	.lbhwf.lbhwf .lbhwf-bartools { width: 100%; justify-content: space-between; }
	.lbhwf.lbhwf { font-size: 16px; }
	.lbhwf.lbhwf .lbhwf-intro { font-size: 17px; }
	.lbhwf.lbhwf .lbhwf-tool { padding: 16px 14px 16px; border-radius: 12px; }
	.lbhwf.lbhwf .lbhwf-tool-title { font-size: 17px; }
	.lbhwf.lbhwf .lbhwf-tilerow { gap: 6px; }
	.lbhwf.lbhwf h2 { font-size: 21px; }
	.lbhwf.lbhwf .lbhwf-words { grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); }
	.lbhwf.lbhwf .lbhwf-words li { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
	.lbhwf.lbhwf * { transition: none !important; animation: none !important; }
}
