/* =========================================================
   The Alamo Republican — public site
   Each section is a Texas wildflower; its color travels with every story.
   ========================================================= */

:root {
    --ink: #1B2A4E;          /* deep navy: headlines, masthead */
    --text: #232838;         /* body copy */
    --muted: #5A6278;
    --paper: #FFFFFF;
    --sky: #EEF2FA;          /* big-sky tint for bands and widgets */
    --line: #DCE1EC;
    --night: #13203F;        /* footer */
    --bluebonnet: #3B4FB3;
    --paintbrush: #D9482B;
    --susan: #FBF1D6;        /* black-eyed Susan tint */
    --good: #E6F2E8;
    --accent: var(--bluebonnet);
    --slab: "Zilla Slab", Rockwell, "Roboto Slab", Georgia, serif;
    --serif: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
    --wrap: 1200px;
    --text-w: 680px;
    --r: 4px;
    color-scheme: light;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --ink: #E8ECF6; --text: #D9DEEA; --muted: #A1A9BF; --paper: #0F1830; --sky: #18233F;
        --line: #2A3758; --night: #0A1226; --susan: #2A2615; --good: #15301E; color-scheme: dark;
    }
}
:root[data-theme="dark"] {
    --ink: #E8ECF6; --text: #D9DEEA; --muted: #A1A9BF; --paper: #0F1830; --sky: #18233F;
    --line: #2A3758; --night: #0A1226; --susan: #2A2615; --good: #15301E; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0; background: var(--paper); color: var(--text);
    font: 400 17px/1.55 var(--serif); font-optical-sizing: auto;
    -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--slab); color: var(--ink); line-height: 1.15; margin: 0; font-weight: 700; }
p { margin: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--bluebonnet); outline-offset: 2px; border-radius: 2px; }
code { font-size: .9em; background: var(--sky); padding: .1em .35em; border-radius: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap-text { max-width: var(--text-w); margin-left: auto; margin-right: auto; padding: 0 20px; box-sizing: content-box; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--paper); padding: 10px 14px; z-index: 100; border-radius: var(--r); }
.skip:focus { top: 12px; }

/* ---------- buttons & forms ---------- */
.btn, button[type="submit"], .subscribe button {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    background: var(--ink); color: var(--paper); border: 0; border-radius: 6px;
    font: 600 16px/1 var(--slab); padding: 13px 20px; cursor: pointer; text-decoration: none;
    transition: background .15s;
}
.btn:hover, button[type="submit"]:hover { background: var(--bluebonnet); color: #fff; }
.btn-light { background: #fff; color: #1B2A4E; }
.btn-light:hover { background: var(--susan); color: #1B2A4E; }

input:not([type="hidden"]), textarea, select {
    width: 100%; background: var(--paper); border: 1px solid var(--line); border-radius: 6px;
    padding: 11px 13px; font-size: 16px; line-height: 1.4; font-family: var(--serif);
}
input:focus, textarea:focus { border-color: var(--bluebonnet); outline: 2px solid color-mix(in srgb, var(--bluebonnet) 25%, transparent); outline-offset: 0; }
label { display: block; font: 600 15px/1.3 var(--slab); color: var(--ink); }
label > input, label > textarea { margin-top: 6px; font-weight: 400; }
.opt { font-weight: 500; color: var(--muted); font-size: 13px; margin-left: 4px; }
.form-msg { font: 600 15px/1.4 var(--slab); min-height: 1.4em; margin-top: 8px; }
.form-msg.is-ok { color: #2E7D46; }
.form-msg.is-err { color: var(--paintbrush); }

/* ---------- topline ---------- */
.topline { background: var(--sky); font: 500 14px/1 var(--slab); color: var(--muted); }
.topline-inner { display: flex; align-items: center; gap: 22px; min-height: 44px; }
.topline-count { color: var(--ink); }
.topline-count::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3E7B4C; margin-right: 8px; vertical-align: 1px; }
.topline-links { display: flex; gap: 18px; margin-left: auto; }
.topline-links a { text-decoration: none; color: var(--ink); }
.topline-links a:hover { text-decoration: underline; }
.topline-search input { width: 170px; padding: 7px 11px; font: 500 14px var(--slab); border-radius: 99px; }
.theme-toggle { background: none; border: 0; padding: 6px; cursor: pointer; color: var(--ink); display: grid; place-items: center; }
.theme-toggle svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- masthead ---------- */
.masthead { background: var(--paper); }
.masthead > .wrap { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-top: 26px; padding-bottom: 18px; }
.wordmark {
    font: 700 clamp(2.3rem, 7.2vw, 5.1rem)/.95 var(--slab); color: var(--ink);
    text-decoration: none; letter-spacing: -.015em;
}
.wordmark .tm { font-size: .28em; vertical-align: super; margin-left: .08em; font-weight: 600; }
.tagline { font: italic 400 clamp(1rem, 1.6vw, 1.25rem)/1.3 var(--serif); color: var(--muted); max-width: 22ch; text-align: right; padding-bottom: .35em; }

/* The bloom bar: section navigation as a row of wildflower colors */
.bloom { border-bottom: 1px solid var(--line); }
.bloom-inner { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.bloom-item {
    display: flex; flex-direction: column; gap: 9px; padding-top: 4px; text-decoration: none;
    font: 600 15px/1.2 var(--slab); color: var(--ink); white-space: nowrap;
}
.bloom-bar {
    height: 7px; background: var(--c); border-radius: 2px 2px 0 0;
    transform-origin: left; transition: height .18s ease;
    animation: bloom .7s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * 80ms + 120ms);
}
.bloom-item:hover .bloom-bar, .bloom-item.is-on .bloom-bar { height: 12px; }
.bloom-item.is-on { color: var(--c); }
@keyframes bloom { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- ticker ---------- */
.ticker { background: var(--sky); border-bottom: 1px solid var(--line); }
.ticker-inner { display: flex; align-items: center; gap: 16px; height: 42px; }
.ticker-label { flex: none; font: 700 15px/1 var(--slab); color: var(--paintbrush); }
.ticker-window { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 40px), transparent); }
.ticker-track { display: flex; width: max-content; animation: tick 70s linear infinite; }
.ticker-window:hover .ticker-track, .ticker-window:focus-within .ticker-track { animation-play-state: paused; }
.ticker-track a { font: 500 15px/42px var(--slab); color: var(--ink); text-decoration: none; padding-right: 38px; white-space: nowrap; }
.ticker-track a::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--c); transform: rotate(45deg); margin-right: 12px; vertical-align: 2px; }
.ticker-track a:hover { text-decoration: underline; }
@keyframes tick { to { transform: translateX(-50%); } }

.notice { background: var(--good); color: var(--ink); font: 600 16px/1.4 var(--slab); padding: 14px 0; }

/* ---------- story cards ---------- */
.story { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.story-media { display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 2; background: var(--sky); }
.story-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.story:hover .story-media img { transform: scale(1.025); }
.story-text { display: flex; flex-direction: column; gap: 7px; }
.story-title { font-weight: 700; font-size: 1.32rem; line-height: 1.17; text-wrap: balance; }
.story-title a { text-decoration: none; background-image: linear-gradient(var(--c), var(--c)); background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .2s; }
.story-title a:hover { background-size: 100% 2px; }
.story-dek { color: var(--muted); font-size: 1rem; line-height: 1.5; }
.story-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font: 500 13.5px/1.3 var(--slab); color: var(--muted); }

.kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font: 600 14px/1.2 var(--slab); }
.kicker a { text-decoration: none; }
.kicker > a:first-child { color: var(--c); display: inline-flex; align-items: center; gap: 7px; }
.kicker > a:first-child::before { content: ""; width: 14px; height: 4px; border-radius: 2px; background: var(--c); }
.kicker-region { color: var(--muted); font-weight: 500; }
.kicker a:hover { text-decoration: underline; }
:root[data-theme="dark"] .kicker > a:first-child, :root[data-theme="dark"] .bloom-item.is-on { color: color-mix(in srgb, var(--c) 60%, white); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .kicker > a:first-child, :root:not([data-theme="light"]) .bloom-item.is-on { color: color-mix(in srgb, var(--c) 60%, white); } }

.story-lead .story-title { font-size: clamp(1.9rem, 3.5vw, 2.85rem); line-height: 1.06; letter-spacing: -.01em; }
.story-lead .story-dek { font-size: 1.18rem; color: var(--text); }
.story-lead .story-media { aspect-ratio: 16 / 9; }

.story-compact { padding-left: 14px; border-left: 3px solid var(--c); }
.story-compact .story-title { font-size: 1.14rem; }

.story-row { flex-direction: row; gap: 16px; align-items: flex-start; }
.story-row .story-media { flex: none; width: 120px; aspect-ratio: 1; }
.story-row .story-title { font-size: 1.06rem; }
.story-row .kicker { font-size: 13px; }

/* Placeholder art when a story has no photo */
.ph { position: relative; display: grid; place-items: center; width: 100%; height: 100%; background: var(--c); overflow: hidden; }
.ph .star { width: 46%; max-width: 160px; fill: none; stroke: rgba(255,255,255,.55); stroke-width: .7; }
.ph-flower { position: absolute; left: 12px; bottom: 9px; font: 600 13px var(--slab); color: rgba(255,255,255,.9); }
.story-row .ph-flower { display: none; }

/* ---------- front page ---------- */
.front { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); gap: 40px; padding-top: 34px; padding-bottom: 10px; }
.front-side { display: flex; flex-direction: column; gap: 22px; }
.side-heading { font-size: 1.05rem; color: var(--muted); font-weight: 600; padding-bottom: 10px; border-bottom: 1px solid var(--line); }

.home-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; padding-top: 30px; padding-bottom: 60px; }
.home-main { display: flex; flex-direction: column; gap: 52px; min-width: 0; }

.rail-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.rail-title { font-size: 1.6rem; display: flex; align-items: center; gap: 10px; }
.rail-head .rail-title { margin: 0; }
section > .rail-title { margin-bottom: 20px; }
.rail-more { font: 600 15px var(--slab); color: var(--c, var(--bluebonnet)); text-decoration: none; white-space: nowrap; }
.rail-more:hover { text-decoration: underline; }
.rail-flower { width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 22%, transparent); }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 26px; }
.home-main .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.section-rail-body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 26px; }
.section-rail-body.is-single { grid-template-columns: 1fr; }
.section-rail-body.is-single .story { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 26px; align-items: center; }
.stack { display: flex; flex-direction: column; gap: 22px; }

.region-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.region { display: flex; flex-direction: column; gap: 3px; padding: 14px 16px; background: var(--sky); border-radius: 6px; text-decoration: none; transition: background .15s; }
.region:hover { background: color-mix(in srgb, var(--bluebonnet) 14%, var(--sky)); }
.region-name { font: 600 16px/1.2 var(--slab); color: var(--ink); }
.region-count { font: 500 13.5px var(--slab); color: var(--muted); }
.region.is-quiet .region-count { color: var(--paintbrush); }

/* ---------- sidebar widgets ---------- */
.home-side { display: flex; flex-direction: column; gap: 28px; }
.widget-title { font-size: 1.05rem; margin-bottom: 12px; }
.verse { margin: 0; padding: 22px 22px 18px; background: var(--sky); border-radius: 8px; }
.verse blockquote { margin: 0; font: italic 400 1.14rem/1.55 var(--serif); color: var(--ink); }
.verse figcaption { margin-top: 12px; font: 600 14px var(--slab); color: var(--bluebonnet); }
.kjv { color: var(--muted); font-weight: 500; margin-left: 4px; }

.poll-q { font: 600 1.15rem/1.3 var(--slab); color: var(--ink); margin-bottom: 12px; }
.poll-form { display: flex; flex-direction: column; gap: 8px; }
.poll-form .poll-opt {
    position: relative; display: flex; justify-content: space-between; gap: 10px; text-align: left;
    padding: 11px 14px; border: 1px solid var(--line); border-radius: 6px; cursor: pointer;
    background: linear-gradient(90deg, color-mix(in srgb, var(--bluebonnet) 18%, transparent) var(--pct), transparent var(--pct)) var(--paper);
    font: 500 15px/1.3 var(--slab); color: var(--ink); transition: border-color .15s, background .6s;
}
.poll-form .poll-opt:hover:not(:disabled) { border-color: var(--bluebonnet); background-color: var(--sky); color: var(--ink); }
.poll-form .poll-opt:disabled { cursor: default; color: var(--ink); }
.poll-form .poll-opt.is-mine { border-color: var(--bluebonnet); font-weight: 700; }
.poll-pct { font-weight: 700; }
.poll-total { font: 500 13px var(--slab); color: var(--muted); }

.loved-list { list-style: none; margin: 0; padding: 0; counter-reset: loved; display: flex; flex-direction: column; gap: 14px; }
.loved-list li { counter-increment: loved; display: grid; grid-template-columns: 30px 1fr; column-gap: 8px; }
.loved-list li::before { content: counter(loved); grid-row: span 2; font: 700 1.5rem/1 var(--slab); color: var(--c); }
.loved-list a { font: 600 15.5px/1.25 var(--slab); color: var(--ink); text-decoration: none; }
.loved-list a:hover { text-decoration: underline; }
.loved-list span { font: 500 13px var(--slab); color: var(--muted); }

.fact { padding: 18px 20px; background: var(--susan); border-radius: 8px; }
.fact p { font-size: 1.02rem; line-height: 1.5; color: var(--ink); }

.sponsor { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; text-decoration: none; border-top: 1px solid var(--line); }   /* TAR's own sponsors: text only */
.sponsor-name { font: 600 15px var(--slab); color: var(--ink); }
.sponsor-line { font-size: 14px; color: var(--muted); }

.subscribe label { font-size: 1.05rem; margin-bottom: 10px; }
.subscribe-row { display: flex; gap: 8px; }
.subscribe-row input { flex: 1; min-width: 0; }
.subscribe button { padding: 11px 16px; flex: none; }

/* ---------- recruit band ---------- */
.recruit { background: #1B2A4E; color: #E8ECF6; position: relative; }
.recruit::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: linear-gradient(90deg, #3B4FB3 0 16.66%, #D9482B 0 33.33%, #3E7B4C 0 50%, #8A5A35 0 66.66%, #7E2C6E 0 83.33%, #C98A0E 0); }
.recruit-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.recruit h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.05; margin-bottom: 16px; text-wrap: balance; }
.recruit p { font-size: 1.12rem; line-height: 1.6; margin-bottom: 26px; color: #C9D1E6; max-width: 54ch; }
.recruit-faces { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 14px; }
.face { display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; text-align: center; font: 600 14px/1.2 var(--slab); color: #fff; }

/* ---------- avatars ---------- */
.avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.avatar-lg { width: 72px; height: 72px; }
.avatar-xl { width: 128px; height: 128px; }
.avatar-initials { display: inline-grid; place-items: center; color: #fff; font: 700 16px var(--slab); }
.avatar-lg.avatar-initials { font-size: 24px; }
.avatar-xl.avatar-initials { font-size: 44px; }

/* ---------- share-a-story band ---------- */
.share-band { background: var(--sky); padding: 56px 0; scroll-margin-top: 20px; }
.share-band-inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.share-band h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 12px; }
.share-band p { font-size: 1.1rem; color: var(--muted); max-width: 42ch; }
.tip-form, .apply-form { display: flex; flex-direction: column; gap: 14px; }
.tip-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tip-form button, .apply-form button { align-self: flex-start; }
.share-band.is-flash { animation: flash 1.2s ease; }
@keyframes flash { 30% { background: color-mix(in srgb, var(--bluebonnet) 16%, var(--sky)); } }

/* ---------- footer ---------- */
.footer { background: var(--night); color: #C3CBE0; padding: 56px 0 26px; font: 500 15px/1.5 var(--slab); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.footer h2 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.footer nav a { display: block; color: #C3CBE0; text-decoration: none; padding: 3px 0; }
.footer nav a:hover { color: #fff; text-decoration: underline; }
.footer-section::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--c); transform: rotate(45deg); margin-right: 10px; vertical-align: 1px; }
.wordmark-sm { font-size: 1.8rem; color: #fff; display: inline-block; margin-bottom: 12px; }
.footer-brand > p { font-family: var(--serif); margin-bottom: 22px; max-width: 40ch; }
.footer .subscribe label { color: #fff; }
.footer .subscribe input { background: #0B1430; border-color: #2E3B5E; color: #fff; }
.footer .subscribe button { background: #fff; color: #13203F; }
.footer-base { display: flex; justify-content: space-between; gap: 20px; margin-top: 44px; padding-top: 20px; border-top: 1px solid #2A3757; font-size: 14px; }
.footer-base a { color: #C3CBE0; }

/* ---------- article ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 4px; z-index: 50; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.article { padding-top: 40px; }
.preview-banner { max-width: 900px; margin: 0 auto 24px; padding: 12px 16px; background: var(--susan); border-radius: 6px; font: 500 15px var(--slab); color: var(--ink); }
.article-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 30px; }
.article-title { font-size: clamp(2.1rem, 5.2vw, 3.5rem); line-height: 1.04; letter-spacing: -.012em; text-wrap: balance; }
.article-dek { font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.45; color: var(--muted); }
.byline { display: flex; align-items: center; gap: 14px; padding-top: 6px; }
.byline-name { font: 600 16px var(--slab); color: var(--ink); }
.byline-name a { text-decoration: none; color: inherit; }
.byline-name a:hover { text-decoration: underline; }
.byline-meta { display: flex; flex-wrap: wrap; gap: 2px 14px; font: 500 14px var(--slab); color: var(--muted); margin-top: 2px; }
.article-hero { max-width: 1080px; margin: 0 auto 34px; padding: 0 20px; }
.article-hero img { width: 100%; border-radius: var(--r); }
.article-hero figcaption, .article-body figcaption { font: 400 14.5px/1.45 var(--serif); color: var(--muted); margin-top: 10px; padding: 0; }

.article-body { font-size: 1.2rem; line-height: 1.75; color: var(--text); }
.article-body > * + * { margin-top: 1.15em; }
.article-body h2 { font-size: 1.65rem; margin-top: 1.7em; }
.article-body h3 { font-size: 1.3rem; margin-top: 1.5em; }
.article-body a { color: var(--bluebonnet); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-body blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--c, var(--accent)); }
.article-body blockquote p { font: 600 1.45rem/1.4 var(--slab); color: var(--ink); }
.article-body cite { display: block; margin-top: 10px; font: italic 400 1rem var(--serif); color: var(--muted); }
.article-body cite::before { content: "— "; }
.article-body figure { margin: 1.8em 0; }
.article-body figure img, .article-body p img { border-radius: var(--r); width: 100%; }
.article-body ul, .article-body ol { padding-left: 1.3em; }
.article-body li + li { margin-top: .4em; }
.article-body hr { border: 0; height: 18px; margin: 2em 0; background: radial-gradient(circle, var(--c, var(--accent)) 3px, transparent 4px) center / 26px 18px repeat-x; max-width: 110px; margin-left: auto; margin-right: auto; }
.embed { position: relative; aspect-ratio: 16 / 9; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: var(--r); }

.article-foot { margin-top: 40px; display: flex; flex-direction: column; gap: 28px; padding-bottom: 50px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { font: 500 14px var(--slab); color: var(--ink); background: var(--sky); padding: 6px 12px; border-radius: 99px; text-decoration: none; }
.tags a:hover { background: color-mix(in srgb, var(--c) 18%, var(--sky)); }

.react-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.react {
    display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px 11px 14px;
    border: 2px solid var(--c); border-radius: 99px; background: transparent; color: var(--ink);
    font: 600 16px/1 var(--slab); cursor: pointer; transition: background .2s, color .2s;
}
.react-star { width: 22px; height: 22px; fill: none; stroke: var(--c); stroke-width: 1.8; stroke-linejoin: round; transition: fill .2s, transform .3s; }
.react:hover .react-star { transform: rotate(-12deg) scale(1.08); }
.react.is-on { background: var(--c); color: #fff; }
.react.is-on .react-star { fill: #F6C445; stroke: #F6C445; }
.react.is-pop .react-star { animation: pop .55s cubic-bezier(.3,1.6,.5,1); }
@keyframes pop { 0% { transform: scale(.6) rotate(-30deg); } 100% { transform: scale(1) rotate(0); } }
.react-count:empty { display: none; }
.react-count { padding-left: 10px; border-left: 1px solid currentColor; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font: 600 15px var(--slab); }
.share-label { color: var(--muted); font-weight: 500; }
.share a, .share button { color: var(--ink); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; text-decoration-thickness: 2px; font: inherit; }
.share a:hover, .share button:hover { text-decoration-color: var(--c); }

.author-box { display: flex; gap: 18px; align-items: flex-start; padding: 22px; background: var(--sky); border-radius: 8px; }
.author-box h2 { font-size: 1.25rem; margin-bottom: 6px; }
.author-box h2 a { text-decoration: none; }
.author-box p { font-size: 1rem; color: var(--text); margin-bottom: 8px; }
.author-more { font: 600 15px var(--slab); color: var(--bluebonnet); }
.nudge { font-size: 1.05rem; color: var(--muted); }
.nudge a { color: var(--ink); }
.related { padding-bottom: 64px; }

/* ---------- listings ---------- */
.listing-head { background: var(--sky); padding: 44px 0 38px; }
.listing-head.has-accent { box-shadow: inset 0 -7px 0 var(--c); }
.listing-head h1 { font-size: clamp(2.2rem, 5.4vw, 3.8rem); line-height: 1; letter-spacing: -.012em; }
.listing-head.has-accent h1 { color: var(--c); }
:root[data-theme="dark"] .listing-head.has-accent h1 { color: color-mix(in srgb, var(--c) 60%, white); }
.listing-flower { display: flex; align-items: center; gap: 8px; font: 600 15px var(--slab); color: var(--muted); margin-bottom: 12px; }
.star-sm { width: 15px; height: 15px; fill: var(--c, var(--paintbrush)); }
.listing-blurb { margin-top: 12px; font-size: 1.18rem; color: var(--muted); max-width: 60ch; }
.listing { padding-top: 40px; padding-bottom: 64px; }
.listing-top { margin-bottom: 44px; }
.listing-top .story-lead { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: center; }
.empty { padding: 40px 0; max-width: 56ch; }
.empty h2 { font-size: 1.5rem; margin-bottom: 10px; }
.empty p { font-size: 1.1rem; color: var(--muted); }
.empty a { color: var(--bluebonnet); }
.pager { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font: 600 15px var(--slab); }
.pager a { color: var(--bluebonnet); }
.pager a[rel="next"] { justify-self: end; }
.pager-count { color: var(--muted); font-weight: 500; }

.search-big { display: flex; gap: 10px; margin-top: 18px; max-width: 640px; }
.search-big input { font-size: 1.1rem; }
.result-count { font: 500 15px var(--slab); color: var(--muted); margin-bottom: 22px; }
.results { display: flex; flex-direction: column; gap: 26px; max-width: 760px; }

.author-head { background: var(--sky); padding: 48px 0 40px; }
.author-head-inner { display: flex; gap: 30px; align-items: center; }
.author-head h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
.author-stats { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; margin-top: 14px; font: 600 15px var(--slab); color: var(--ink); }
.author-stats span { display: inline-flex; align-items: center; gap: 6px; }
.author-stats a { color: var(--bluebonnet); }

/* ---------- writers page ---------- */
.writers-hero { background: #1B2A4E; color: #DDE3F2; padding: 76px 0 0; }
.writers-hero-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.writers-hero h1 { color: #fff; font-size: clamp(2.4rem, 6.4vw, 4.6rem); line-height: 1; max-width: 15ch; letter-spacing: -.015em; }
.writers-hero p { font-size: 1.22rem; line-height: 1.6; max-width: 58ch; }
.writers-hero .btn { background: #fff; color: #1B2A4E; }
.bloom-mini { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; width: 100%; margin-top: 40px; }
.bloom-mini span { height: 10px; background: var(--c); border-radius: 2px 2px 0 0; }
.writers-body { display: flex; flex-direction: column; gap: 64px; padding-top: 60px; padding-bottom: 72px; }
.perk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 30px; }
.perk h3 { font-size: 1.3rem; margin-bottom: 8px; }
.perk p { color: var(--muted); font-size: 1.05rem; line-height: 1.55; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.steps li { counter-increment: step; padding-top: 14px; border-top: 4px solid var(--ink); }
.steps li::before { content: counter(step); display: block; font: 700 2.6rem/1 var(--slab); color: var(--bluebonnet); margin-bottom: 10px; }
.steps h3 { font-size: 1.2rem; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 1rem; }
.idea-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 30px; }
.idea-list li { position: relative; padding-left: 26px; font-size: 1.1rem; line-height: 1.45; color: var(--ink); }
.idea-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; background: var(--c); transform: rotate(45deg); }
.guidelines { max-width: 70ch; font-size: 1.05rem; color: var(--muted); padding: 18px 20px; background: var(--sky); border-radius: 8px; }
.writer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 30px 20px; }
.writer { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-decoration: none; }
.writer .avatar { margin-bottom: 6px; }
.writer-name { font: 700 1.1rem var(--slab); color: var(--ink); }
.writer-town { font: 500 14px var(--slab); color: var(--muted); }
.writer-stats { font-size: 14px; color: var(--muted); }
.apply { max-width: 720px; scroll-margin-top: 20px; }

/* ---------- about & empty front ---------- */
.about { padding-top: 40px; padding-bottom: 60px; }
.about-body { max-width: var(--text-w); }
.empty-front { text-align: center; padding-top: 80px; padding-bottom: 90px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.empty-front h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
.empty-front p { font-size: 1.15rem; color: var(--muted); max-width: 52ch; }
.empty-front .search-big { width: 100%; max-width: 480px; }
.empty-star { width: 64px; height: 64px; fill: var(--paintbrush); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
    .home-grid { grid-template-columns: 1fr; }
    .home-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
    .front { grid-template-columns: 1fr; gap: 28px; }
    .grid-3, .home-main .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bloom-inner { display: flex; overflow-x: auto; gap: 4px; scrollbar-width: none; }
    .bloom-inner::-webkit-scrollbar { display: none; }
    .bloom-item { flex: 1 0 auto; min-width: 118px; }
    .recruit-inner, .share-band-inner { grid-template-columns: 1fr; gap: 30px; }
    .perk-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .listing-top .story-lead { grid-template-columns: 1fr; gap: 14px; }
    .tagline { display: none; }
    .topline-count { display: none; }
}
@media (max-width: 640px) {
    body { font-size: 16.5px; }
    .section-rail-body.is-single .story { grid-template-columns: 1fr; gap: 12px; }
    .grid-3, .home-main .grid-3, .section-rail-body, .region-list, .perk-grid, .steps, .idea-list, .tip-row { grid-template-columns: 1fr; }
    .region-list { grid-template-columns: repeat(2, 1fr); }
    .home-side { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .topline-date, .topline-links a:not(.topline-games):not(.topline-my) { display: none; }
    .topline-links { margin-left: 0; }
    .topline-search { margin-left: auto; }
    .topline-search input { width: 130px; }
    .masthead > .wrap { padding-top: 20px; padding-bottom: 14px; }
    .grid-3 .story { display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: start; }
    .grid-3 .story .story-media { aspect-ratio: 1; }
    .grid-3 .story .story-dek { display: none; }
    .grid-3 .story .story-title { font-size: 1.1rem; }
    .story-row .story-media { width: 96px; }
    .article-body { font-size: 1.12rem; }
    .author-head-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
    .avatar-xl { width: 96px; height: 96px; }
    .react-row { flex-direction: column; align-items: flex-start; }
    .search-big { flex-direction: column; }
    .footer-base { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition: none !important; scroll-behavior: auto !important; }
    .ticker-track { animation: none !important; }
    .ticker-window { overflow-x: auto; }
}

@media print {
    .topline, .bloom, .ticker, .share-band, .footer, .react-row, .related, .progress, .nudge { display: none !important; }
    body { font-size: 12pt; }
}

/* ---------- Today's Pick from Plotpourri (wears Plotpourri's colors on purpose) ---------- */
.pick { background: #20211C; color: #E8E3D3; border-radius: 8px; padding: 22px 22px 20px; }
.pick-head { font: 600 1.45rem/1.15 var(--slab); color: #EFEADB; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 2px solid #A7B48F; }
.pick-head span { display: block; margin-top: 4px; font: 500 14px var(--slab); color: #A9A593; }
.pick-cover { position: relative; display: block; aspect-ratio: 3 / 4; background: #F1ECDC; padding: 6% 6% 6%; overflow: hidden; text-decoration: none; }
.pick-cover img, .pick-blank { display: block; width: 100%; height: 100%; object-fit: cover; }
.pick-blank { background: radial-gradient(circle at 70% 30%, color-mix(in srgb, var(--g) 70%, #fff), var(--g) 70%); }
.pick-title {
    position: absolute; left: 6%; right: 6%; top: 6%; padding: 10px 12px 34px;
    font: 500 1.2rem/1.2 var(--slab); color: #FBF8EE; text-wrap: balance;
    background: linear-gradient(rgba(20,20,16,.82), rgba(20,20,16,.45) 65%, transparent);
}
.pick-cover:hover .pick-title { text-decoration: underline; text-underline-offset: 3px; }
.pick-genre { display: flex; align-items: center; gap: 10px; margin-top: 14px; font: 500 15px/1.2 system-ui, sans-serif; color: #CFCAB8; }
.pick-genre span { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.pick-hook { margin-top: 10px; font: italic 400 1rem/1.5 var(--serif); color: #B9B4A2; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.pick-read { display: inline-block; margin-top: 14px; font: 600 15px var(--slab); color: #EFEADB; text-decoration: underline; text-decoration-color: #A7B48F; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.pick-read:hover { color: #fff; text-decoration-color: #fff; }
.pick-note { margin-top: 10px; font: 400 13px/1.4 var(--slab); color: #8F8B7B; }

/* ---------- beats (topics inside a section) ---------- */
.beats { display: flex; flex-wrap: wrap; gap: 8px; margin: -6px 0 20px; }
.beats a { font: 500 14px/1 var(--slab); color: var(--ink); text-decoration: none; padding: 7px 12px; border-radius: 99px; background: color-mix(in srgb, var(--c, var(--bluebonnet)) 10%, var(--paper)); border: 1px solid color-mix(in srgb, var(--c, var(--bluebonnet)) 28%, transparent); }
.beats a:hover, .beats a.is-on { background: var(--c, var(--bluebonnet)); border-color: var(--c, var(--bluebonnet)); color: #fff; }
.beats-head { margin: 20px 0 0; }
.listing-flower a { color: inherit; }

.know-one { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 28px; padding: 16px 20px; border-left: 5px solid var(--c); background: var(--sky); border-radius: 0 8px 8px 0; }
.know-one p { font-size: 1.08rem; color: var(--ink); max-width: 70ch; }
.know-one a { font: 600 15px var(--slab); color: #fff; background: var(--c); padding: 10px 16px; border-radius: 6px; text-decoration: none; white-space: nowrap; }
.know-one a:hover { filter: brightness(1.1); }
.share-band select { margin-top: 6px; font-weight: 400; }

/* ---------- The Teachers' Lounge ---------- */
.lounge { padding: 20px 20px 18px; border-radius: 8px; background: #22432F; color: #E4EEE6; }
.lounge .widget-title { color: #fff; font-size: 1.25rem; }
.lounge-lede { font-size: .98rem; line-height: 1.5; color: #C9DACD; margin-bottom: 14px; }
.lounge-list { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.lounge-list a { font: 600 15px/1.3 var(--slab); color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 3px; }
.lounge-form { display: flex; flex-direction: column; gap: 8px; }
.lounge-form textarea, .lounge-form input { background: #1A3424; border-color: #3C6149; color: #fff; font-size: 15px; }
.lounge-form textarea::placeholder, .lounge-form input::placeholder { color: #9DB6A4; }
.lounge-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lounge-form button[type="submit"] { background: #F2EFE4; color: #22432F; align-self: flex-start; }
.lounge-form button[type="submit"]:hover { background: #fff; color: #22432F; }
.lounge .form-msg.is-ok { color: #BFE5C9; }
.lounge-more { display: inline-block; margin-top: 6px; font: 600 14px var(--slab); color: #C9DACD; }

/* ---------- writers page: teachers callout ---------- */
.chalk { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px 44px; padding: 34px 36px; background: #22432F; color: #DCE8DF; border-radius: 10px; }
.chalk h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }
.chalk p { font-size: 1.08rem; line-height: 1.6; }
.chalk p + p { margin-top: 12px; }
.chalk a { color: #fff; }
.chalk-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; align-self: center; }
.chalk-list a { display: block; padding: 12px 16px; border: 1px solid #4B7559; border-radius: 6px; font: 600 16px var(--slab); text-decoration: none; }
.chalk-list a:hover { background: #2C5640; }
@media (max-width: 900px) { .chalk { grid-template-columns: 1fr; padding: 26px 22px; } }

/* =========================================================
   Daily games
   ========================================================= */
.topline-games { font-weight: 700; color: var(--paintbrush) !important; }

/* front-page box */
.games-box { padding: 20px 20px 16px; border-radius: 8px; background: var(--sky); }
.games-box-lede { font-size: .98rem; color: var(--muted); margin-bottom: 12px; }
.games-box-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.games-box-list a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 6px; background: var(--paper); border-left: 4px solid var(--g); text-decoration: none; font: 600 15.5px var(--slab); color: var(--ink); }
.games-box-list a:hover { background: color-mix(in srgb, var(--g) 10%, var(--paper)); }
.games-box-status { font: 600 13px var(--slab); color: var(--g); font-style: normal; }
.games-box-list a.is-done .games-box-status::before, .game-others a.is-done .games-box-status::before { content: "✓ "; }
.games-box-streak, .games-streak { margin-top: 10px; font: 600 14px var(--slab); color: var(--paintbrush); }

/* hub */
.games-head { background: var(--sky); padding: 44px 0 36px; }
.games-head h1 { font-size: clamp(2.2rem, 5.4vw, 3.6rem); line-height: 1; }
.game-head { box-shadow: inset 0 -7px 0 var(--g); }
.game-head h1 { color: var(--g); }
:root[data-theme="dark"] .game-head h1 { color: color-mix(in srgb, var(--g) 55%, white); }
.games-head .listing-flower { gap: 14px; }
.games-head .listing-flower a { color: inherit; }
.games-search { margin-top: 20px; }
.games-hub { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding-top: 34px; padding-bottom: 60px; }
.game-card { display: grid; grid-template-columns: 110px 1fr; min-height: 132px; border-radius: 10px; overflow: hidden; text-decoration: none; background: var(--paper); border: 1px solid var(--line); transition: border-color .15s, transform .15s; }
.game-card:hover { border-color: var(--g); transform: translateY(-2px); }
.game-card.is-off { opacity: .55; pointer-events: none; }
.game-card-art { display: grid; place-items: center; background: var(--g); }
.game-card-art svg { width: 64px; height: 64px; }
.game-card-text { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; }
.game-card-name { font: 700 1.35rem/1.1 var(--slab); color: var(--ink); }
.game-card-blurb { color: var(--muted); font-size: 1rem; line-height: 1.45; }
.game-card-status { margin-top: auto; font: 600 14px var(--slab); color: var(--g); }
.game-card.is-done .game-card-status::before { content: "✓ "; }
.games-hub .games-streak { grid-column: 1 / -1; }
.games-search-note { margin-bottom: 18px; padding: 12px 16px; border-radius: 8px; background: var(--susan); font: 500 15px var(--slab); color: var(--ink); }

/* single game page */
.game-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; padding-top: 30px; padding-bottom: 70px; align-items: start; }
.game { min-width: 0; }
.game-side { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 16px; }
.game-side .games-search { margin: 0; flex-direction: column; align-items: stretch; }
.game-side .games-search label { margin-bottom: 8px; }
.games-search-row { display: flex; gap: 8px; }
.games-search-row input { flex: 1; min-width: 0; }
.game-others { display: flex; flex-direction: column; gap: 6px; }
.game-others a { display: flex; justify-content: space-between; padding: 11px 13px; border-radius: 6px; background: var(--sky); border-left: 4px solid var(--g); text-decoration: none; font: 600 15px var(--slab); color: var(--ink); }
.game-lede { font-size: 1.1rem; color: var(--text); margin-bottom: 14px; }
.game-lede strong { color: var(--g); }

.game-end:empty { display: none; }
.game-end { margin-top: 26px; padding: 22px; border-radius: 10px; background: var(--sky); display: flex; flex-direction: column; gap: 14px; }
.game-end h2 { font-size: 1.6rem; }
.game-story { padding: 16px 18px; border-radius: 8px; background: var(--paper); border-left: 4px solid var(--g); }
.game-story-label { font: 600 13px var(--slab); color: var(--muted); margin-bottom: 4px; }
.game-story-title { font: 700 1.2rem/1.25 var(--slab); color: var(--ink); }
.game-story-meta { font: 500 14px var(--slab); color: var(--muted); margin: 4px 0 10px; }
.game-story-link, .game-search-link { font: 600 15px var(--slab); color: var(--bluebonnet); }
.game-share-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.game-share { background: var(--g) !important; color: #fff !important; }
.game-share-msg { font: 600 14px var(--slab); color: var(--muted); }
.game-stats { font: 500 14px var(--slab); color: var(--muted); }
.game-toast { position: fixed; left: 50%; top: 18%; transform: translate(-50%, -8px); background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 6px; font: 600 15px var(--slab); opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; z-index: 60; }
.game-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.shake { animation: shake .35s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

/* Headline Hunt */
.hunt-hints ul { margin: 0 0 12px; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.hunt-hints q { font-style: italic; }
.hint-btn { background: transparent !important; color: var(--bluebonnet) !important; border: 1px solid var(--line) !important; padding: 8px 14px !important; font-size: 14px !important; margin-bottom: 16px; }
.hunt-grid { display: grid; gap: 6px; width: min(100%, calc(var(--n) * 62px)); margin: 0 0 18px; }
.hunt-row { display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 6px; }
.tile { aspect-ratio: 1; display: grid; place-items: center; border: 2px solid var(--line); border-radius: 4px; font: 700 clamp(1.3rem, 5vw, 1.9rem)/1 var(--slab); color: var(--ink); text-transform: uppercase; }
.tile.is-typed { border-color: var(--muted); animation: pop-in .1s; }
.tile.is-correct { background: #3E7B4C; border-color: #3E7B4C; color: #fff; }
.tile.is-present { background: #C98A0E; border-color: #C98A0E; color: #fff; }
.tile.is-absent { background: #7C8396; border-color: #7C8396; color: #fff; }
@keyframes pop-in { 50% { transform: scale(1.08); } }
.hunt-kb { display: flex; flex-direction: column; gap: 6px; max-width: 520px; }
.hunt-kb.is-done { display: none; }
.kb-row { display: flex; gap: 5px; justify-content: center; }
.key { flex: 1; min-width: 0; height: 52px; padding: 0 !important; background: var(--sky) !important; color: var(--ink) !important; border-radius: 5px !important; font: 700 16px var(--slab) !important; }
.key-wide { flex: 1.6; font-size: 13px !important; }
.key.is-correct { background: #3E7B4C !important; color: #fff !important; }
.key.is-present { background: #C98A0E !important; color: #fff !important; }
.key.is-absent { background: #7C8396 !important; color: #fff !important; opacity: .75; }

/* Fill the Headline */
.fh-clue { font: 700 clamp(1.6rem, 4vw, 2.4rem)/1.2 var(--slab); color: var(--ink); text-wrap: balance; margin-bottom: 10px; }
.fh-blank { display: inline-block; min-width: 3ch; padding: 0 .2em; margin: 0 .1em; border-bottom: 4px solid var(--g); color: var(--g); letter-spacing: .12em; }
.fh-blank.is-solved { background: color-mix(in srgb, var(--g) 15%, transparent); letter-spacing: 0; }
.fh-meta { font: 500 15px var(--slab); color: var(--muted); margin-bottom: 18px; }
.fh-form { display: flex; gap: 10px; max-width: 460px; }
.fh-input { flex: 1; min-width: 0; font: 700 1.2rem var(--slab) !important; text-transform: uppercase; letter-spacing: .06em; }
.fh-tries { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fh-tries li { padding: 6px 12px; border-radius: 99px; font: 600 15px var(--slab); text-transform: uppercase; }
.fh-tries .is-wrong { background: color-mix(in srgb, var(--paintbrush) 15%, var(--paper)); color: var(--paintbrush); text-decoration: line-through; }
.fh-tries .is-right { background: #3E7B4C; color: #fff; }
.fh-hints { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; font-size: 1.02rem; }

/* Weekly Quiz */
.quiz-count { font: 600 14px var(--slab); color: var(--muted); margin-bottom: 8px; }
.quiz-q { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 12px; text-wrap: balance; }
.quiz-clue { font: 600 1.2rem/1.35 var(--slab); color: var(--ink); padding: 14px 16px; background: var(--sky); border-radius: 8px; margin-bottom: 16px; }
.quiz-opts { display: flex; flex-direction: column; gap: 10px; max-width: 640px; }
.quiz-opt { justify-content: flex-start !important; text-align: left; background: var(--paper) !important; color: var(--ink) !important; border: 2px solid var(--line) !important; padding: 14px 16px !important; font: 600 16px/1.3 var(--slab) !important; }
.quiz-opt:hover:not(:disabled) { border-color: var(--g) !important; }
.quiz-opt.is-right { border-color: #3E7B4C !important; background: color-mix(in srgb, #3E7B4C 14%, var(--paper)) !important; }
.quiz-opt.is-wrong { border-color: var(--paintbrush) !important; background: color-mix(in srgb, var(--paintbrush) 12%, var(--paper)) !important; }
.quiz-opt:disabled { cursor: default; }
.quiz-after { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 18px; }
.quiz-verdict { font: 700 1.2rem var(--slab); }
.quiz-verdict.is-right { color: #3E7B4C; }
.quiz-verdict.is-wrong { color: var(--paintbrush); }
.quiz-next { margin-left: auto; background: var(--g) !important; }
.quiz-score { font-size: 3rem; color: var(--g); }
.quiz-review { margin: 10px 0 18px; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.quiz-review li.is-right::marker { color: #3E7B4C; }
.quiz-review li.is-wrong::marker { color: var(--paintbrush); }

/* Crossword */
.cw-bar { min-height: 3.2em; padding: 12px 14px; margin-bottom: 14px; border-radius: 8px; background: color-mix(in srgb, var(--g) 12%, var(--paper)); border-left: 4px solid var(--g); font: 600 16px/1.35 var(--slab); color: var(--ink); position: sticky; top: 4px; z-index: 3; }
.cw-layout { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: start; }
.cw-grid { display: grid; grid-template-columns: repeat(var(--w), var(--cell, 40px)); grid-auto-rows: var(--cell, 40px); gap: 0; background: var(--ink); border: 2px solid var(--ink); width: max-content; --cell: min(40px, calc((100vw - 48px) / var(--w))); }
.cw-block { background: var(--ink); }
.cw-cell { position: relative; background: var(--paper); outline: 1px solid color-mix(in srgb, var(--ink) 35%, transparent); }
.cw-cell.is-word { background: color-mix(in srgb, var(--g) 16%, var(--paper)); }
.cw-cell.is-pos { background: color-mix(in srgb, #F6C445 55%, var(--paper)); }
.cw-cell.is-bad .cw-in { color: var(--paintbrush); text-decoration: line-through; }
.cw-num { position: absolute; top: 1px; left: 3px; font: 600 10px/1 var(--slab); color: var(--muted); pointer-events: none; }
.cw-in { width: 100% !important; height: 100% !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; padding: 8px 0 0 !important; text-align: center; font: 700 calc(var(--cell, 40px) * .5)/1 var(--slab) !important; color: var(--ink); text-transform: uppercase; caret-color: transparent; cursor: pointer; outline: none !important; }
.cw-grid.is-done .cw-in { color: #2E6B3E; }
.cw-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.cw-tools button { background: var(--sky) !important; color: var(--ink) !important; padding: 9px 13px !important; font-size: 14px !important; }
.cw-clues { display: grid; grid-template-columns: 1fr; gap: 18px; }
.cw-clues h2 { font-size: 1.15rem; margin-bottom: 8px; }
.cw-clues ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.cw-clues li { display: grid; grid-template-columns: 26px 1fr; padding: 6px 8px; border-radius: 6px; cursor: pointer; font-size: .98rem; line-height: 1.4; }
.cw-clues li:hover { background: var(--sky); }
.cw-clues li.is-on { background: color-mix(in srgb, var(--g) 14%, var(--paper)); }
.cw-n { font: 700 14px var(--slab); color: var(--g); }
.cw-src { grid-column: 2; font-size: 14px; }

@media (max-width: 1000px) {
    .game-wrap { grid-template-columns: 1fr; }
    .game-side { position: static; }
    .cw-layout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .games-hub { grid-template-columns: 1fr; }
    .game-card { grid-template-columns: 84px 1fr; }
    .game-card-art svg { width: 48px; height: 48px; }
    .key { height: 48px; }
    .kb-row { gap: 4px; }
}
.game button:not(.key):not(.quiz-opt):not(.hint-btn):not(.ls-cell):not(.ls-btn):not(.hl-btn):not(.wt-go) { display: inline-flex; align-items: center; justify-content: center; background: var(--ink); color: var(--paper); border: 0; border-radius: 6px; font: 600 15px/1 var(--slab); padding: 12px 18px; cursor: pointer; }
.game .quiz-next { background: var(--g); color: #fff; }
@media (max-width: 640px) {
    .game-head { padding: 22px 0 20px; }
    .game-head h1 { font-size: 2.1rem; }
    .game-head .listing-blurb { font-size: .95rem; margin-top: 8px; }
    .game-wrap { padding-top: 18px; }
}

/* =========================================================
   My Texas and regions
   ========================================================= */
.topline-my { font-weight: 700; color: var(--bluebonnet) !important; }
.region.is-mine { box-shadow: inset 4px 0 0 var(--bluebonnet); }
.region-mine { font: 700 11px system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--bluebonnet); margin-left: 6px; vertical-align: 2px; }

/* This week in Texas (front page) */
.cal-box { padding: 20px 20px 16px; border-radius: 8px; background: var(--sky); }
.cal-box-list { list-style: none; margin: 0 0 10px; padding: 0; }
.cal-box-list li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.cal-box-list strong { display: block; font: 600 15px/1.3 var(--slab); color: var(--ink); }
.cal-box-list span { font-size: 13.5px; color: var(--muted); }
.cal-box-more { font: 700 14px var(--slab); color: var(--bluebonnet); }

/* ---------- Texas this morning (the roundup) ---------- */
.roundup { padding-top: 26px; }
.roundup-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding-bottom: 10px; border-bottom: 3px solid var(--ink); }
.roundup-title { display: flex; align-items: center; gap: 10px; font-size: 1.35rem; }
.roundup-title .star-sm { width: 18px; height: 18px; fill: var(--paintbrush); }
.roundup-date { font: 500 14px var(--slab); color: var(--muted); white-space: nowrap; }
.roundup-list { list-style: none; margin: 0; padding: 14px 0 4px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 26px; }
.roundup-list li { display: flex; flex-direction: column; gap: 5px; padding-left: 12px; border-left: 4px solid var(--c); }
.roundup-list a { font: 600 15.5px/1.3 var(--slab); color: var(--ink); text-decoration: none; }
.roundup-list a:hover { text-decoration: underline; }
.roundup-list span { font: 500 12.5px var(--slab); color: var(--muted); }
@media (max-width: 1080px) { .roundup-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .roundup-list { grid-template-columns: 1fr; gap: 12px; } .roundup-date { display: none; } }

/* ---------- Texan of the Week ---------- */
.texan { padding: 20px 20px 18px; background: var(--susan); border-radius: 8px; border-top: 5px solid var(--c); }
.texan .widget-title { color: var(--c); }
.texan-pick { display: grid; gap: 10px; text-decoration: none; color: var(--ink); }
.texan-pick img, .texan-pick .ph { aspect-ratio: 16 / 10; width: 100%; border-radius: var(--r); object-fit: cover; }
.texan-pick strong { font: 700 1.2rem/1.25 var(--slab); }
.texan-pick span { font: 400 15px/1.45 var(--serif); color: var(--muted); }
.texan-pick:hover strong { text-decoration: underline; }
.texan-nominate, .texan-lede { margin-top: 12px; font: 500 14.5px/1.5 var(--slab); color: var(--muted); }
.texan-lede { margin-top: 0; color: var(--text); font: 400 15.5px/1.5 var(--serif); }
.texan-nominate a { color: var(--ink); }
.texan-btn { margin-top: 14px; background: var(--c); }
:root[data-theme="dark"] .texan .widget-title { color: color-mix(in srgb, var(--c) 60%, white); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .texan .widget-title { color: color-mix(in srgb, var(--c) 60%, white); } }

/* ---------- a network story on TAR ---------- */
.netstory-body { padding-top: 6px; padding-bottom: 36px; }
.netstory-go { display: inline-block; font-size: 1.05rem; padding: 14px 22px; background: var(--c); }
.netstory-go:hover { background: var(--ink); }
.netstory-note { margin: 14px 0 22px; font: 400 15px/1.5 var(--serif); color: var(--muted); }
.netstory .share { padding-top: 18px; border-top: 1px solid var(--line); }
.netstory .article-hero img { max-height: 560px; object-fit: cover; }

/* ---------- Data Center Watch ---------- */
.dc-wrap { padding-top: 26px; padding-bottom: 60px; --c: #8A5A35; }
.dc-counts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.dc-count { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; background: var(--sky); border-radius: 8px; border-top: 4px solid var(--line); text-decoration: none; color: var(--text); }
.dc-count b { font: 700 2.1rem/1 var(--slab); color: var(--ink); }
.dc-count span { font: 500 14px var(--slab); color: var(--muted); }
.dc-count.dc-suspended { border-top-color: var(--paintbrush); }
.dc-count.dc-suspended b { color: var(--paintbrush); }
.dc-count.dc-pending { border-top-color: #C98A0E; }
.dc-count.dc-active { border-top-color: #3E7B4C; }
.dc-filter { display: flex; align-items: center; gap: 10px; margin: 22px 0 6px; font: 600 15px var(--slab); }
.dc-filter select { width: auto; font: 500 15px var(--slab); padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); color: var(--text); max-width: 100%; }
.dc-block { margin-top: 30px; }
.dc-note { margin: 6px 0 14px; max-width: 70ch; font: 400 16px/1.55 var(--serif); color: var(--muted); }
.dc-list, .dc-changes { list-style: none; margin: 0; padding: 0; }
.dc-row { display: grid; grid-template-columns: 104px minmax(0, 1fr) auto; gap: 4px 16px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.dc-status { justify-self: start; font: 700 12px/1 var(--slab); text-transform: uppercase; letter-spacing: .04em; padding: 6px 8px; border-radius: 4px; background: var(--sky); color: var(--ink); }
.dc-status.dc-suspended { background: var(--paintbrush); color: #fff; }
.dc-status.dc-pending { background: #FBF1D6; color: #7A5300; }
.dc-status.dc-active { background: var(--good); color: #2C5A37; }
.dc-status.dc-cancelled, .dc-status.dc-denied, .dc-status.dc-withdrawn { background: var(--line); color: var(--muted); }
.dc-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.dc-main strong { font: 600 16.5px/1.3 var(--slab); color: var(--ink); }
.dc-where { font: 500 14px var(--slab); color: var(--muted); }
.dc-who { font: 400 14px/1.4 var(--serif); color: var(--muted); }
.dc-date { font: 500 14px var(--slab); color: var(--muted); white-space: nowrap; }
.dc-changes li { padding: 8px 0; border-bottom: 1px solid var(--line); font: 400 16px/1.5 var(--serif); }
.dc-changes time { font: 600 14px var(--slab); color: var(--muted); margin-right: 6px; }
.dc-source { margin-top: 30px; font: 400 14.5px/1.55 var(--serif); color: var(--muted); max-width: 80ch; }
.dc-box { padding: 20px; background: var(--sky); border-radius: 8px; border-top: 5px solid #8A5A35; }
.dc-box-lede { font: 500 15px/1.5 var(--slab); color: var(--text); }
.dc-box-lede b { color: var(--ink); }
.dc-box-lede b:first-child { color: var(--paintbrush); }
.dc-box-list { list-style: none; margin: 10px 0 12px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.dc-box-list li { display: flex; flex-direction: column; }
.dc-box-list strong { font: 600 15px/1.3 var(--slab); color: var(--ink); }
.dc-box-list span { font: 500 13px var(--slab); color: var(--muted); }
:root[data-theme="dark"] .dc-status.dc-pending { background: #3A2E10; color: #F2D58A; }
:root[data-theme="dark"] .dc-status.dc-active { color: #A8D8B2; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .dc-status.dc-pending { background: #3A2E10; color: #F2D58A; } :root:not([data-theme="light"]) .dc-status.dc-active { color: #A8D8B2; } }
@media (max-width: 760px) {
    .dc-counts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dc-row { grid-template-columns: minmax(0, 1fr) auto; }
    .dc-status { grid-column: 1 / -1; }
}

/* ---------- the dashboard front page ---------- */
.dash { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 330px; gap: 30px; padding-top: 28px; padding-bottom: 20px; align-items: start; }
.dash-cap { font: 700 .75rem/1 var(--slab); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.dash-cap-gap { margin-top: 26px; }
.dash-news .story-lead .story-title { font-size: clamp(1.45rem, 2.4vw, 2rem); }
.dash-list, .sec-list, .hard-list, .desk-list, .vote-news { list-style: none; margin: 0; padding: 0; }
.dash-list li { padding: 10px 0 10px 12px; border-bottom: 1px solid var(--line); border-left: 4px solid var(--c); }
.dash-list a, .sec-list a, .hard-list a, .desk-list a, .vote-news a { font: 600 16px/1.3 var(--slab); color: var(--ink); text-decoration: none; }
.dash-list a:hover, .sec-list a:hover, .hard-list a:hover, .desk-list a:hover, .vote-news a:hover { text-decoration: underline; }
.dash-list span, .sec-list span, .hard-list span, .vote-news span { display: block; margin-top: 4px; font: 500 13px var(--slab); color: var(--muted); }
.dash-list span b { font-weight: 700; color: var(--text); }
.dash-data { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.dash-data .tx-today { margin: 0; }

/* Texas votes */
.vote { border: 1px solid var(--line); border-top: 6px solid var(--paintbrush); border-radius: 8px; padding: 18px 18px 16px; background: var(--paper); }
.vote-cap { font: 700 .75rem/1.2 var(--slab); letter-spacing: .14em; text-transform: uppercase; color: var(--paintbrush); margin: 0 0 8px; }
.vote-big { font: 800 1.7rem/1.1 var(--slab); color: var(--ink); margin: 0 0 6px; }
.vote-small { font: 400 15.5px/1.45 var(--serif); color: var(--text); margin: 0 0 14px; }
.vote-dates { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vote-dates li { padding: 10px 12px; border-radius: 6px; background: var(--sky); display: flex; flex-direction: column; gap: 3px; }
.vote-dates b { font: 800 16px/1.1 var(--slab); color: var(--ink); }
.vote-dates span { font: 500 13px/1.3 var(--slab); color: var(--muted); }
.vote-dates .is-now { background: var(--bluebonnet); }
.vote-dates .is-now b, .vote-dates .is-now span { color: #fff; }
.vote-dates .is-done { opacity: .55; }
.vote-actions { margin: 0 0 12px; }
.vote-btn { display: block; text-align: center; background: var(--paintbrush); }
.vote-btn:hover { background: var(--ink); }
.vote-links { list-style: none; margin: 0; padding: 0; }
.vote-links li { padding: 7px 0; border-top: 1px solid var(--line); font: 600 14.5px/1.35 var(--slab); }
.vote-links a { color: var(--bluebonnet); text-decoration: none; }
.vote-links a:hover { text-decoration: underline; }
.vote-links small { color: var(--muted); font-weight: 500; }
.vote-note { color: var(--muted); font-weight: 500 !important; }
.vote-county { margin: 10px 0 0; font: 500 13.5px/1.4 var(--slab); color: var(--muted); }
.vote-county a { color: var(--ink); }
.vote-sub { font: 700 .75rem/1 var(--slab); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 18px 0 4px; }
.vote-news li { padding: 9px 0; border-bottom: 1px solid var(--line); }
.vote-news a { font-size: 15px; }

/* Data Center Watch tile */
.dc-tile { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--paper); }
.dc-tile-head { margin: 0; padding: 12px 14px; background: #8A5A35; color: #fff; font: 700 .8rem/1.2 system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.dc-tile-nums { display: grid; grid-template-columns: repeat(3, 1fr); }
.dc-tile-nums a { padding: 10px 6px; text-align: center; text-decoration: none; border-right: 1px solid var(--line); }
.dc-tile-nums a:last-child { border-right: 0; }
.dc-tile-nums b { display: block; font: 800 1.5rem/1 var(--slab); color: var(--ink); }
.dc-tile-nums a:first-child b { color: var(--paintbrush); }
.dc-tile-nums span { font: 600 12px var(--slab); color: var(--muted); }
.dc-tile .dc-box-list, .dc-tile .cal-box-more { margin: 0; padding: 0 14px; }
.dc-tile .cal-box-more { display: block; padding: 10px 14px 12px; }

/* From our newsrooms */
.desks { padding-top: 30px; }
.desk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; }
.desk { border: 1px solid var(--line); border-top: 5px solid var(--c); border-radius: 8px; padding: 14px 16px 12px; display: flex; flex-direction: column; background: var(--paper); min-width: 0; }
.desk-name { font-size: 1.15rem; margin: 0; }
.desk-name a { color: var(--ink); text-decoration: none; }
.desk-what { margin: 3px 0 8px; font: 500 13px/1.35 var(--slab); color: var(--muted); }
.desk-list li { padding: 8px 0; border-top: 1px solid var(--line); }
.desk-list a { font-size: 15px; }
.desk-list li.is-top a { font-size: 17px; }
.desk-list p { margin: 4px 0 0; font: 400 14px/1.4 var(--serif); color: var(--text); }
.desk-list time { display: block; margin-top: 3px; font: 500 12.5px var(--slab); color: var(--muted); }
.desk-more { margin-top: auto; padding-top: 8px; font: 700 14px var(--slab); color: var(--c); text-decoration: none; }

/* By section */
.secs { padding-top: 40px; }
.sec-tabs { display: none; }
.sec-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 28px; }
.sec-col { min-width: 0; }
.sec-name { margin: 0 0 6px; padding-bottom: 6px; border-bottom: 3px solid var(--c); font-size: 1.2rem; }
.sec-name a { color: var(--ink); text-decoration: none; }
.sec-list li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.sec-list a { font-size: 15.5px; }
.sec-list li.is-ours a { color: var(--c); }
.sec-more { display: inline-block; margin-top: 8px; font: 700 14px var(--slab); color: var(--c); text-decoration: none; }
:root[data-theme="dark"] .sec-list li.is-ours a, :root[data-theme="dark"] .sec-more, :root[data-theme="dark"] .desk-more { color: color-mix(in srgb, var(--c) 60%, white); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sec-list li.is-ours a, :root:not([data-theme="light"]) .sec-more, :root:not([data-theme="light"]) .desk-more { color: color-mix(in srgb, var(--c) 60%, white); } }

.wrap.regions, .wrap.ours { padding-top: 40px; }
.hardnews { padding-top: 40px; }
.hard-list { columns: 2; column-gap: 34px; }
.hard-list li { break-inside: avoid; padding: 9px 0; border-bottom: 1px solid var(--line); }
.hard-list a { font-size: 15px; }

.home-widgets { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 26px; align-items: start; padding-top: 44px; padding-bottom: 60px; }

@media (max-width: 1080px) {
    .dash { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
    .dash-data { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
    .sec-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .dash { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 18px; }
    .dash-data { grid-template-columns: minmax(0, 1fr); }
    .dash-data > * { min-width: 0; }
    .vote-big { font-size: 1.45rem; }
    .hard-list { columns: 1; }
    /* sections become swipeable panels with tabs */
    .secs .rail-title::after { content: "Swipe ›"; margin-left: auto; font: 600 13px var(--slab); color: var(--muted); }
    .sec-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 10px; margin: 0 -20px 4px; padding-left: 20px; padding-right: 20px; scrollbar-width: none; }
    .sec-tabs::-webkit-scrollbar { display: none; }
    .sec-tabs a { flex: none; padding: 7px 13px; border-radius: 99px; border: 2px solid var(--c); font: 700 14px var(--slab); color: var(--ink); text-decoration: none; }
    .sec-cols { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; margin: 0 -20px; padding: 0 20px 8px; scrollbar-width: none; }
    .sec-cols::-webkit-scrollbar { display: none; }
    .sec-col { flex: 0 0 86%; scroll-snap-align: start; scroll-margin-left: 20px; }
    /* voting first on a phone, a shorter roundup, and our sites as swipeable cards */
    .dash-vote { order: -1; }
    .roundup-list li:nth-child(n+6) { display: none; }
    .desk-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 -20px; padding: 0 20px 8px; scrollbar-width: none; }
    .desk-grid::-webkit-scrollbar { display: none; }
    .desk { flex: 0 0 84%; scroll-snap-align: start; scroll-margin-left: 20px; }
    .desks .rail-head::after { content: "Swipe for more ›"; font: 600 13px var(--slab); color: var(--muted); }
    .desks .rail-more { display: none; }
}
.netstory-brief { padding-bottom: 6px; }
.netstory-brief p { font: 400 1.15rem/1.65 var(--serif); color: var(--text); margin: 0 0 1em; }
.lean-tag { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 99px; border: 1px solid var(--line); font: 600 12.5px var(--slab); color: var(--muted) !important; text-decoration: none; vertical-align: 1px; }

/* ---------- Lone Star Letters ---------- */
.ls-meter { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.ls-meter strong { font: 800 1.25rem var(--slab); color: var(--g); }
.ls-meter span { font: 500 14px var(--slab); color: var(--muted); }
.ls-word { min-height: 48px; text-align: center; font: 800 2rem/1.4 var(--slab); letter-spacing: .06em; color: var(--ink); margin-bottom: 10px; word-break: break-all; }
.ls-word .is-center { color: var(--g); }
.ls-word .is-bad { color: var(--muted); opacity: .6; }
.ls-placeholder { font: 500 1rem var(--slab); color: var(--muted); letter-spacing: 0; }
.ls-hive { position: relative; width: 252px; height: 270px; margin: 0 auto 16px; }
.ls-cell { position: absolute; width: 84px; height: 76px; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); background: var(--sky); border: 0; font: 800 1.6rem var(--slab); color: var(--ink); cursor: pointer; padding: 0; }
.ls-cell:active { transform: scale(.94); }
.ls-cell.is-center { background: var(--g); color: #fff; }
.ls-cell:nth-child(1) { left: 84px; top: 97px; }
.ls-cell:nth-child(2) { left: 84px; top: 18px; }
.ls-cell:nth-child(3) { left: 147px; top: 57px; }
.ls-cell:nth-child(4) { left: 147px; top: 137px; }
.ls-cell:nth-child(5) { left: 84px; top: 176px; }
.ls-cell:nth-child(6) { left: 21px; top: 137px; }
.ls-cell:nth-child(7) { left: 21px; top: 57px; }
.ls-hive.is-done { opacity: .5; pointer-events: none; }
.ls-tools { display: flex; justify-content: center; gap: 10px; margin-bottom: 20px; }
.ls-btn { padding: 10px 18px; border-radius: 99px; border: 2px solid var(--line); background: var(--paper); color: var(--ink); font: 700 15px var(--slab); cursor: pointer; }
.ls-btn.ls-enter { border-color: var(--g); background: var(--g); color: #fff; }
.ls-giveup { margin-top: 16px; font-size: 13.5px; color: var(--muted); }
.ls-head { font-size: 1rem; margin: 0 0 8px; }
.ls-found { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font: 600 15px var(--slab); color: var(--text); }
.ls-found .is-pan { color: var(--g); font-weight: 800; }
.ls-missed { font: 500 15px/1.6 var(--slab); color: var(--muted); }

/* ---------- Where in Texas? ---------- */
.wt-clue { font-size: 1.45rem; line-height: 1.25; margin: 4px 0 12px; }
.wt-mapbox { background: var(--sky); border-radius: 10px; padding: 8px; }
.wt-map { display: block; width: 100%; max-width: 620px; margin: 0 auto; cursor: crosshair; touch-action: manipulation; }
.wt-dot { fill: color-mix(in srgb, var(--ink) 45%, transparent); }
.wt-dot.is-pick { fill: var(--g); r: 1.6; }
.wt-you { fill: var(--g); }
.wt-answer { fill: var(--paintbrush); stroke: #fff; stroke-width: .5; }
.wt-line { stroke: var(--paintbrush); stroke-width: .5; stroke-dasharray: 1.2 .8; }
.wt-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 12px 0; flex-wrap: wrap; }
.wt-picked { font: 700 1.05rem var(--slab); color: var(--ink); margin: 0; }
.wt-go { background: var(--g); color: #fff; border: 0; border-radius: 6px; padding: 11px 18px; font: 700 15px var(--slab); cursor: pointer; }
.wt-go:disabled { opacity: .45; cursor: default; }
.wt-after { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.wt-real { font: 600 1.05rem/1.35 var(--slab); color: var(--ink); margin: 0; }

/* ---------- Higher or Lower ---------- */
.hl-label { font: 800 1.35rem/1.25 var(--slab); color: var(--ink); margin: 6px 0 12px; }
.hl-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.hl-card { padding: 16px; border-radius: 10px; background: var(--sky); display: flex; flex-direction: column; gap: 6px; }
.hl-card span { font: 600 14px var(--slab); color: var(--muted); }
.hl-card b { font: 800 1.9rem/1.1 var(--slab); color: var(--ink); }
.hl-card.is-next { background: color-mix(in srgb, var(--g) 14%, var(--paper)); border: 2px dashed var(--g); }
.hl-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 10px; }
.hl-btn { padding: 14px; border: 0; border-radius: 8px; font: 800 1.1rem var(--slab); color: #fff; cursor: pointer; }
.hl-up { background: #3E7B4C; } .hl-down { background: #D9482B; }
.hl-btn:disabled { opacity: .5; cursor: default; }
.hl-src { font: 500 13.5px var(--slab); color: var(--muted); }
.hl { display: flex; flex-direction: column; gap: 6px; align-items: stretch; }
.hl .quiz-next, .hl .game-story-link { align-self: flex-start; }

/* Moving to Texas & voting (numbers from Karen (California) Comes to Texas) */
.kr-tile { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--paper); margin-top: 14px; }
.kr-head { margin: 0; padding: 12px 14px; background: #1F3A5F; color: #fff; font: 700 .8rem/1.2 system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.kr-nums { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.kr-nums a { padding: 10px 6px; text-align: center; text-decoration: none; border-right: 1px solid var(--line); min-width: 0; }
.kr-nums a:last-child { border-right: 0; }
.kr-nums b { display: block; font: 800 1.25rem/1 var(--slab); color: var(--ink); }
.kr-nums a:last-child b { color: #3E7B4C; }
.kr-nums span { font: 600 11.5px var(--slab); color: var(--muted); }
.kr-chart { margin: 10px 14px 4px; }
.kr-chart svg { display: block; width: 100%; height: auto; }
.kr-axis { stroke: var(--line); stroke-width: 1; }
.kr-in, .kr-out { fill: none; stroke: #1F3A5F; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.kr-out { stroke: #B4532A; stroke-dasharray: 5 4; }
.kr-chart figcaption { display: flex; justify-content: space-between; gap: 6px; font: 500 11.5px var(--slab); color: var(--muted); margin-top: 4px; }
.kr-key i { display: inline-block; width: 16px; height: 0; border-top: 2.5px solid #1F3A5F; vertical-align: middle; margin: 0 3px 0 6px; }
.kr-key i.kr-k-out { border-top: 2.5px dashed #B4532A; }
.kr-race { padding: 8px 14px 4px; border-top: 1px solid var(--line); }
.kr-race-title { margin: 0 0 6px; font: 700 13px var(--slab); color: var(--ink); }
.kr-race-title span { font-weight: 500; color: var(--muted); }
.kr-bar { display: flex; height: 12px; border-radius: 6px; overflow: hidden; background: var(--line); }
.kr-bar i { display: block; height: 100%; }
.kr-r { background: #C0392B; } .kr-d { background: #2E5EA8; }
.kr-race-names { display: flex; justify-content: space-between; gap: 8px; margin: 5px 0 0; font: 500 12px/1.3 var(--slab); color: var(--text); }
.kr-race-names span:last-child { text-align: right; }
.kr-line { margin: 0; padding: 8px 14px 0; font: 400 13.5px/1.45 var(--serif); color: var(--text); }
.kr-find { font-style: italic; }
.kr-tile .cal-box-more { display: block; padding: 10px 14px 12px; }

/* "From our newsrooms": each card wears its own site's colors and type (light or dark, following TAR's own setting). */
.desk.th { --t-bg: var(--tl-bg); --t-ink: var(--tl-ink); --t-mute: var(--tl-mute); --t-line: var(--tl-line); --t-bar: var(--tl-bar); --t-link: var(--tl-link);
    background: var(--t-bg); color: var(--t-ink); border-color: var(--t-line); border-top-color: var(--t-bar); font-family: var(--t-body); }
:root[data-theme="dark"] .desk.th { --t-bg: var(--td-bg); --t-ink: var(--td-ink); --t-mute: var(--td-mute); --t-line: var(--td-line); --t-bar: var(--td-bar); --t-link: var(--td-link); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .desk.th { --t-bg: var(--td-bg); --t-ink: var(--td-ink); --t-mute: var(--td-mute); --t-line: var(--td-line); --t-bar: var(--td-bar); --t-link: var(--td-link); } }
.desk.th .desk-name, .desk.th .desk-name a { font-family: var(--t-head); color: var(--t-ink); }
.desk.th .desk-what, .desk.th .desk-list time { font-family: var(--t-body); color: var(--t-mute); }
.desk.th .desk-list li { border-top-color: var(--t-line); }
.desk.th .desk-list a { font-family: var(--t-body); color: var(--t-ink); }
.desk.th .desk-list p { font-family: var(--t-body); color: var(--t-ink); opacity: .9; }
.desk.th .desk-more, :root[data-theme="dark"] .desk.th .desk-more { font-family: var(--t-body); color: var(--t-link); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .desk.th .desk-more { color: var(--t-link); } }
.desk.th a:focus-visible { outline: 2px solid var(--t-link); outline-offset: 2px; }
.desk.th-grid { background-image: linear-gradient(rgba(234,242,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(234,242,255,.07) 1px, transparent 1px); background-size: 22px 22px; }

/* The Porch (daily comic strip) */
.comic-wrap { padding-top: 8px; padding-bottom: 40px; }
.comic { margin: 0 0 28px; }
.comic-title { font: 700 1.6rem var(--slab); margin: 0 0 12px; }
.comic-panels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; background: #2a2622; padding: 12px; border-radius: 6px; }
.comic-panel svg { display: block; width: 100%; height: auto; }
@media (max-width: 760px) { .comic-panels { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; } }
.comic-about { margin: 10px 0 0; font-size: .95rem; color: var(--muted); }
.comic-votes { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 14px 0 0; font: 600 15px var(--slab); }
.comic-votes button { font: 600 16px var(--slab); padding: 6px 14px; border-radius: 999px; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); cursor: pointer; }
.comic-votes button:disabled { opacity: .55; cursor: default; }
.comic-voted { font-weight: 400; color: var(--muted); }
.comic-kill { margin-top: 16px; padding: 12px; border: 2px dashed #c0262d; border-radius: 6px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: .9rem; color: var(--muted); }
.comic-kill button { background: #c0262d; color: #fff; border: 0; border-radius: 4px; padding: 8px 12px; font-weight: 700; cursor: pointer; }
.comic-killed { padding: 10px 12px; background: #fde2e2; color: #7a1420; border-radius: 6px; font-weight: 700; }
.comic-none { font-size: 1.1rem; padding: 20px; border: 2px dashed var(--line, #ccc); border-radius: 6px; }
.comic-cast { max-width: var(--text-w, 720px); margin: 10px 0 28px; line-height: 2; }
.comic-archive h2 { font: 700 1.25rem var(--slab); margin: 0 0 8px; }
.comic-chip { display: inline-block; padding: 0 8px; border-radius: 4px; background: var(--b); color: #15120f; font-weight: 700; border: 2px solid #15120f; }
.comic-archive ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.comic-archive a { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; padding: 10px 12px; border-left: 4px solid #e8a33a; background: var(--paper); text-decoration: none; color: var(--ink); border-radius: 4px; }
.comic-archive time { font: 600 13px var(--slab); color: var(--muted); min-width: 52px; }
.comic-archive span { color: var(--muted); font-size: .9rem; }
.comic-box { padding: 16px 16px 12px; border-radius: 8px; background: #2a2622; color: #f1e9d6; }
.comic-box .widget-title { color: #f6d77a; }
.comic-box-strip svg { display: block; width: 100%; height: auto; max-width: 360px; margin: 0 auto; }
.comic-box-lede { margin: 10px 0 0; font-size: .95rem; }
.comic-box-lede a { color: #f6d77a; }

/* Front page: today's comic at the top, three panels side by side; on a phone, swipe through them */
.hero-comic { margin-top: 18px; margin-bottom: 8px; }
.hc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.hc-title { font: 700 1.3rem var(--slab); margin: 0; }
.hc-title span { display: inline-block; background: #f6d77a; color: #15120f; border: 2px solid #15120f; border-radius: 4px; padding: 0 8px; margin-right: 6px; font-size: .95rem; letter-spacing: 1px; text-transform: uppercase; vertical-align: 2px; }
.hc-more { font: 600 14px var(--slab); white-space: nowrap; }
.hc-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; background: #2a2622; padding: 10px; border-radius: 6px; }
.hc-panel { margin: 0; }
.hc-panel svg { display: block; width: 100%; height: auto; }
.hc-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 8px; font-size: .9rem; color: var(--muted); }
.hc-dots, .hc-swipe { display: none; }
@media (max-width: 760px) {
    .hc-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; gap: 10px; }
    .hc-track::-webkit-scrollbar { display: none; }
    .hc-panel { flex: 0 0 88%; scroll-snap-align: center; }
    .hc-dots { display: inline-flex; gap: 6px; }
    .hc-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); opacity: .4; cursor: pointer; }
    .hc-dots i.on { opacity: 1; background: #e8a33a; }
    .hc-swipe { display: inline; font: 600 13px var(--slab); color: #e8a33a; }
    .hc-about { flex-basis: 100%; }
}

/* Front page: one daily game between each pair of sections, with a hook from today's puzzle */
.game-strip { display: flex; align-items: center; gap: 14px; margin-top: 22px; margin-bottom: 22px; padding-top: 12px; padding-bottom: 12px; text-decoration: none; color: var(--ink);
    border-top: 3px solid var(--g); border-bottom: 1px solid color-mix(in srgb, var(--g) 35%, transparent); background: color-mix(in srgb, var(--g) 7%, transparent); }
.game-strip:hover { background: color-mix(in srgb, var(--g) 13%, transparent); }
.game-strip-art { flex: 0 0 52px; width: 52px; height: 52px; background: var(--g); border-radius: 10px; padding: 6px; box-sizing: border-box; }
.game-strip-art svg { width: 100%; height: 100%; display: block; }
.game-strip-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.game-strip-name { align-self: flex-start; font: 700 12px var(--slab); text-transform: uppercase; letter-spacing: 1px; color: #fff; background: var(--g); padding: 2px 8px; border-radius: 4px; }
.game-strip-hook { font: 600 1.05rem/1.35 var(--slab); }
.game-strip-go { flex: 0 0 auto; font: 700 15px var(--slab); color: #fff; background: var(--g); padding: 8px 14px; border-radius: 999px; }
@media (max-width: 600px) { .game-strip { flex-wrap: wrap; gap: 10px; } .game-strip-art { flex-basis: 40px; width: 40px; height: 40px; } .game-strip-text { flex-basis: calc(100% - 54px); } .game-strip-go { margin-left: 54px; } }

/* Courts, crime & public safety page */
.crime-page { padding-top: 10px; padding-bottom: 48px; }
.crime-day { font: 700 1.05rem var(--slab); margin: 26px 0 6px; padding-bottom: 6px; border-bottom: 2px solid var(--line, #ccc); }

/* "Notify me" */
.notify-btn { font: 700 15px var(--slab); padding: 8px 16px; border-radius: 999px; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); cursor: pointer; }
.notify-btn[aria-pressed="true"] { background: #3E7B4C; border-color: #3E7B4C; color: #fff; }
.topline-notify { font-size: 13px; padding: 3px 10px; border-width: 1.5px; }
.notify-card { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 16px; margin-bottom: 4px; padding-top: 14px; padding-bottom: 14px; border: 2px dashed color-mix(in srgb, var(--ink) 30%, transparent); border-radius: 8px; }
.notify-card[hidden] { display: none; }
.notify-card p { margin: 0; flex: 1 1 320px; }
.notify-ios { flex-basis: 100%; font-size: .95rem; }

/* Earl's take, under the top story */
.take { margin: 14px 0 6px; padding: 12px 14px 12px 16px; border-left: 5px solid #e8a33a; background: color-mix(in srgb, #f6d77a 18%, transparent); border-radius: 0 6px 6px 0; }
.take-head { margin: 0 0 6px; font: 600 .9rem var(--slab); color: var(--muted); }
.take-head a { color: inherit; }
.take-badge { display: inline-block; background: #f6d77a; color: #15120f; border: 2px solid #15120f; border-radius: 4px; padding: 0 7px; font-weight: 700; letter-spacing: .5px; margin-right: 4px; }
.take blockquote { margin: 0; font: 600 1.08rem/1.45 var(--slab); color: var(--ink); }

/* Opinion */
.ed { max-width: 760px; padding-top: 24px; padding-bottom: 24px; }
.ed-head { font: 800 clamp(1.8rem, 4.5vw, 2.6rem)/1.15 var(--slab); margin: 6px 0 10px; }
.ed-dek { font-size: 1.2rem; color: var(--muted); margin: 0 0 10px; }
.ed-by { font: 600 .9rem var(--slab); color: var(--muted); border-bottom: 2px solid var(--line, #ccc); padding-bottom: 12px; margin-bottom: 18px; }
.ed-body p { font-size: 1.12rem; line-height: 1.7; margin: 0 0 1.1em; }
.ed-cite { font-size: .75em; vertical-align: super; text-decoration: none; padding: 0 1px; }
.ed-earl { margin: 26px 0; }
.ed-sources { margin-top: 26px; font-size: .95rem; }
.ed-sources h2, .ed-list h2 { font: 700 1.15rem var(--slab); }
.ed-sources li { margin-bottom: 6px; }
.ed-sources span { color: var(--muted); }
.ed-sources li:target { background: color-mix(in srgb, #f6d77a 35%, transparent); }
.ed-list { padding-bottom: 40px; }
.ed-list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ed-list a { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-left: 4px solid #8b1a2b; background: var(--paper); text-decoration: none; color: var(--ink); border-radius: 4px; }
.ed-list a span { color: var(--muted); font-size: .95rem; }
.ed-list time { font: 600 12px var(--slab); color: var(--muted); }
.op-tile { display: flex; flex-direction: column; gap: 4px; margin: 12px 0 6px; padding: 14px 16px; border: 2px solid var(--ink); border-radius: 6px; text-decoration: none; color: var(--ink); background: var(--paper); }
.op-tile:hover { background: color-mix(in srgb, #8b1a2b 6%, var(--paper)); }
.op-label { align-self: flex-start; font: 700 12px var(--slab); text-transform: uppercase; letter-spacing: 1px; color: #fff; background: #8b1a2b; padding: 2px 8px; border-radius: 3px; }
.op-head { font: 800 1.25rem/1.25 var(--slab); }
.op-dek { color: var(--muted); }
.op-by { font: 600 .8rem var(--slab); color: var(--muted); }

/* Phones: the top bar keeps only My Texas and Games; the Notify card under the comic does the asking */
@media (max-width: 640px)  { .topline-notify { display: none; } }

/* Opinion: op-eds, Point / Counterpoint, the op-ed form */
.ed-intro { color: var(--muted); max-width: 46rem; }
.ed-about { font-style: italic; color: var(--muted); margin: -8px 0 16px; }
.ed-note { font-size: .95rem; color: var(--muted); border-top: 1px solid var(--line, #ccc); padding-top: 10px; }
.ed-oped .listing-flower { color: #1f4e79; }
.ed-list a em { font: 700 11.5px var(--slab); letter-spacing: .06em; text-transform: uppercase; color: #8b1a2b; font-style: normal; }
.ed-list a.is-oped { border-left-color: #1f4e79; }
.ed-list a.is-oped em { color: #1f4e79; }
.pc { margin-top: 34px; border-top: 4px double var(--ink); padding-top: 16px; }
.pc-label { font: 800 12px var(--slab); letter-spacing: .12em; text-transform: uppercase; margin: 0; }
.pc-q { font: 800 clamp(1.4rem, 3.4vw, 1.9rem)/1.2 var(--slab); margin: 6px 0 6px; }
.pc-why { color: var(--muted); font-size: .95rem; margin: 0 0 16px; }
.pc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.pc-col { background: var(--paper); border-radius: 6px; padding: 14px 16px; border-top: 5px solid #2e6b3a; min-width: 0; }
.pc-against { border-top-color: #8b1a2b; }
.pc-side { font: 800 12px var(--slab); letter-spacing: .1em; text-transform: uppercase; margin: 0; color: #2e6b3a; }
.pc-against .pc-side { color: #8b1a2b; }
.pc-col h3 { font: 700 1.2rem/1.25 var(--slab); margin: 4px 0 10px; }
.pc-col .ed-body p { font-size: 1.02rem; line-height: 1.6; }
.pc-sources summary { cursor: pointer; font: 700 1rem var(--slab); margin-top: 14px; }
@media (max-width: 760px) { .pc-cols { grid-template-columns: 1fr; } }
.oped-form, .oped-review { padding-bottom: 40px; max-width: 760px; }
.oped-form h2, .oped-review h2 { font: 800 1.5rem var(--slab); }
.oped-form label, .oped-card label { display: flex; flex-direction: column; gap: 4px; font: 600 14px var(--slab); margin-bottom: 12px; min-width: 0; }
.oped-form input, .oped-form textarea, .oped-card input, .oped-card textarea { font: 400 16px/1.5 inherit; padding: 9px 10px; border: 1px solid var(--line, #bbb); border-radius: 4px; background: #fff; color: #111; width: 100%; box-sizing: border-box; }
.oped-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 640px) { .oped-row { grid-template-columns: 1fr; gap: 0; } }
.oped-btns { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.oped-btns button { font: 700 15px var(--slab); padding: 10px 18px; border: 0; border-radius: 4px; background: #8b1a2b; color: #fff; cursor: pointer; }
.oped-btns .oped-no { background: #666; }
.oped-count { color: var(--muted); font: 600 13px var(--slab); }
.oped-err { background: #fde8e8; color: #7a1010; padding: 10px 12px; border-radius: 4px; }
.oped-ok { background: #e6f4ea; color: #1d5a2c; padding: 12px 14px; border-radius: 4px; font-weight: 600; }
.oped-card { background: var(--paper); border-left: 4px solid #1f4e79; border-radius: 4px; padding: 14px 16px; margin-bottom: 18px; }
.oped-meta { font-size: .92rem; margin: 0 0 12px; overflow-wrap: anywhere; }
.oped-orig { margin-top: 16px; font-size: .95rem; color: var(--muted); }
.oped-orig summary { cursor: pointer; font-weight: 700; }

/* Local Pros ads (shared image/text ads from matthewcoley.site/localpros/ad.js), in TAR's colors */
:root { --lp-ink: var(--ink); --lp-muted: var(--muted); --lp-line: var(--line); --lp-accent: var(--ink); --lp-bg: var(--paper); --lp-ui: var(--slab); }
.lp-top { padding-top: 10px; }
.lp-top .lp-slot { margin: 0 auto 4px; }
.lp-lower { max-width: 760px; padding-top: 18px; padding-bottom: 8px; }
.home-widgets > .lp-side { margin: 0; }
.lp-slot img { max-width: 100%; height: auto; display: block; border-radius: 6px; }
