:root {
  --red: #ee0000;
  --red-dark: #a60000;
  --bg: #0b0b0c;
  --bg-2: #151517;
  --bg-3: #1f1f22;
  --line: #2c2c30;
  --text: #f2f2f2;
  --muted: #a3a3a8;
  --ga: #3fb950;
  --tp: #d29922;
  --radius: 18px;
  --display: "Red Hat Display", system-ui, sans-serif;
  --body: "Red Hat Text", system-ui, sans-serif;
  --mono: "Red Hat Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); line-height: 1.55; }
a { color: #ff6b6b; }
kbd { font-family: var(--mono); font-size: .8em; padding: 1px 6px; border: 1px solid var(--line); border-radius: 5px; background: var(--bg-3); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 0 6vw 72px; border-bottom: 1px solid var(--line); }
.hero-glow { position: absolute; inset: -40% -10% auto auto; width: 70vw; height: 70vw; background: radial-gradient(circle, rgba(238,0,0,.35), transparent 60%); filter: blur(30px); pointer-events: none; }
.topnav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 28px; padding: 14px 6vw; background: rgba(11,11,12,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,.06); }
.navlinks { display: flex; align-items: center; gap: 6px; padding-left: 28px; border-left: 1px solid var(--line); }
html { scroll-padding-top: 76px; }
.brand { font-family: var(--display); font-weight: 700; display: flex; gap: 10px; align-items: center; color: inherit; text-decoration: none; }
.brand img { border-radius: 7px; display: block; }
.brand-cmd { font: 500 1rem var(--mono); }
.brand-cmd .prompt { color: var(--red); }
.brand-cmd b { font-weight: 500; color: #fff; }
.cursor { display: inline-block; width: .55em; height: 1.05em; margin-left: 3px; vertical-align: -2px; background: var(--red); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cursor { animation: none; } }
.navlinks a { color: var(--muted); text-decoration: none; font-weight: 500; padding: 6px 12px; border-radius: 999px; }
.navlinks a:hover { background: var(--bg-3); }
.navlinks a:hover { color: var(--text); }
.navlinks a.nav-switch { color: var(--text); border: 1px solid var(--line); margin-left: 6px; }
.navlinks a.nav-switch:hover { border-color: var(--red, #e00); }
.lede code { font-family: "Red Hat Mono", monospace; font-size: .9em; color: var(--text); }
.hero-content { position: relative; max-width: 960px; padding-top: 6vh; }
.eyebrow { color: var(--red); font-family: var(--mono); letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; }
h1 { font-family: var(--display); font-weight: 900; font-size: clamp(2.3rem, 6vw, 4.6rem); line-height: 1.02; margin: .2em 0; }
.accent { color: var(--red); }
.dim { color: var(--muted); font-weight: 400; margin: 0 .15em; }
.lede { color: var(--muted); font-size: 1.2rem; max-width: 640px; }
.stats { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.stat { background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 14px; padding: 12px 18px; min-width: 140px; }
.stat b { display: block; font-family: var(--display); font-size: 1.6rem; }
.stat span { color: var(--muted); font-size: .85rem; }

/* Sections */
main { max-width: 1180px; margin: 0 auto; padding: 0 5vw; }
.section { padding: 72px 0 24px; }
h2 { font-family: var(--display); font-size: 2.2rem; margin: 0; }
.section-sub { color: var(--muted); margin-top: 6px; }

/* Product switch */
.product-switch { display: inline-flex; background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; padding: 5px; }
.product-tab { font: 600 1rem var(--display); color: var(--muted); background: none; border: 0; border-radius: 999px; padding: 10px 22px; cursor: pointer; transition: .2s; }
.product-tab[aria-selected="true"] { background: var(--red); color: #fff; box-shadow: 0 6px 24px rgba(238,0,0,.35); }
.product-blurb { color: var(--muted); max-width: 820px; }

/* Timeline */
.timeline { display: flex; align-items: flex-start; gap: 0; overflow-x: auto; padding: 26px 4px 18px; position: relative; scrollbar-width: none; }
.timeline::-webkit-scrollbar { display: none; }
.tl-item { flex: 1 0 84px; position: relative; text-align: center; background: none; border: 0; color: var(--muted); cursor: pointer; padding: 26px 6px 0; font-family: var(--display); }
.tl-item::before { content: ""; position: absolute; top: 9px; left: 0; right: 0; height: 2px; background: var(--line); }
.tl-item::after { content: ""; position: absolute; top: 3px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--bg-3); border: 2px solid var(--line); transition: .2s; }
.tl-item b { display: block; font-size: 1.25rem; color: var(--text); }
.tl-item small { font-family: var(--mono); font-size: .72rem; }
.tl-item:hover::after { border-color: var(--red); }
.tl-item[aria-selected="true"]::after { background: var(--red); border-color: var(--red); box-shadow: 0 0 0 6px rgba(238,0,0,.2); }
.tl-item[aria-selected="true"] b { color: var(--red); }
.tl-latest { display: inline-block; margin-top: 4px; font: 700 .6rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--red); border-radius: 999px; padding: 1px 7px; }
.tl-item .tl-latest { display: table; margin: 5px auto 0; }

/* Deck */
.deck { position: relative; background: linear-gradient(160deg, var(--bg-2), #0f0f11); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; outline: none; }
.deck:focus-visible { box-shadow: 0 0 0 2px var(--red); }
.deck-progress { height: 3px; background: var(--bg-3); }
.deck-progress span { display: block; height: 100%; width: 0; background: var(--red); transition: width .35s ease; }
.slides { position: relative; min-height: 470px; }
.slide { position: absolute; inset: 0; padding: 44px 52px 24px; opacity: 0; transform: translateX(40px); transition: opacity .45s ease, transform .45s ease; pointer-events: none; overflow-y: auto; }
.slide.active { opacity: 1; transform: none; pointer-events: auto; position: relative; }
.slide.leaving { transform: translateX(-40px); }
.slide-kicker { font-family: var(--mono); color: var(--red); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.slide h3 { font-family: var(--display); font-size: clamp(1.6rem, 3.2vw, 2.4rem); margin: .25em 0 .4em; line-height: 1.1; }
.slide .why { color: #d8d8dc; font-size: 1.1rem; max-width: 760px; }
.why-label { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; font-family: var(--mono); }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; }
.badge { display: inline-flex; align-items: center; font: 600 .72rem var(--mono); padding: 4px 10px; border-radius: 999px; letter-spacing: .04em; border: 1px solid var(--line); color: #d0d0d4; background: var(--bg-2); white-space: nowrap; }
.badge.area { color: #fff; background: rgba(238,0,0,.14); border-color: rgba(238,0,0,.45); }
.badge.how { color: var(--muted); }
.badge.warn { color: #79c0ff; border-color: #388bfd; background: rgba(56,139,253,.1); }
.badge.mini { font-size: .62rem; padding: 1px 7px; margin-left: 8px; }
.badge.ga { color: var(--ga); border-color: var(--ga); background: rgba(63,185,80,.1); }
.badge.tp { color: var(--tp); border-color: var(--tp); background: rgba(210,153,34,.1); }

.cover { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.cover-version { font-family: var(--display); font-weight: 900; font-size: clamp(5rem, 13vw, 10rem); line-height: .9; color: var(--red); text-shadow: 0 10px 60px rgba(238,0,0,.35); }
.cover-meta { display: grid; gap: 10px; }
.cover-meta div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line); padding: 6px 0; }
.cover-meta dt { color: var(--muted); }
.cover-meta dd { margin: 0; font-family: var(--mono); text-align: right; }
.cover-theme { font-size: 1.25rem; color: #e6e6ea; }
.cover-list { margin: 10px 0 0; padding: 0; list-style: none; }
.cover-list li { padding: 4px 0 4px 22px; position: relative; color: #d0d0d4; display: flex; align-items: baseline; }
.cover-jump { all: unset; cursor: pointer; }
.cover-jump:hover, .cover-jump:focus-visible { color: #fff; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }
.cover-list li::before { content: ""; position: absolute; left: 0; top: 13px; width: 10px; height: 2px; background: var(--red); }

/* Enable panel */
.enable { margin-top: 22px; background: #0a0a0b; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; max-width: 900px; }
.enable-tabs { display: flex; border-bottom: 1px solid var(--line); background: var(--bg-3); }
.enable-tabs button { font: 500 .85rem var(--mono); color: var(--muted); background: none; border: 0; padding: 9px 16px; cursor: pointer; border-bottom: 2px solid transparent; }
.enable-tabs button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--red); }
.enable-tabs .copy { margin-left: auto; }
.enable pre { margin: 0; padding: 16px 18px; font: .88rem/1.55 var(--mono); color: #e8e8e8; overflow-x: auto; white-space: pre; }
.enable pre .c { color: #7d7d85; }
.enable pre .k { color: #ff7b72; }
.enable pre .s { color: #a5d6ff; }
.no-enable { color: var(--muted); font-style: italic; margin-top: 18px; }
.source { margin-top: 16px; font-size: .8rem; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.source-label { font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; margin-right: 4px; }
.src-chip { color: #d0d0d4; text-decoration: none; border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px; transition: .15s; }
.src-chip:hover { border-color: var(--red); color: #fff; }
.sources .source { margin-top: 6px; }
.tidbit-src { display: inline-block; margin-top: 12px; font: .72rem var(--mono); color: var(--muted); text-decoration: none; }
.tidbit-src:hover { color: var(--red); }
.product-tab .star { color: #ffd33d; margin-right: 6px; }
.product-tab[aria-selected="true"] .star { color: #fff; }
.latest { font: 600 .6rem var(--mono); text-transform: uppercase; letter-spacing: .08em; margin-left: 8px; padding: 2px 6px; border-radius: 999px; background: rgba(255,255,255,.18); vertical-align: 2px; }
.product-tab:not([aria-selected="true"]) .latest { background: rgba(238,0,0,.2); color: #ff6b6b; }
.dim-accent { opacity: .55; }
.dim-accent.faint { opacity: .35; }

.deck-controls { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--line); }
.ctl { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg-3); color: var(--text); cursor: pointer; font-size: 1rem; transition: .2s; }
.ctl:hover { border-color: var(--red); background: rgba(238,0,0,.15); }
.ctl.on { background: var(--red); border-color: var(--red); }
.dots { flex: 1; display: flex; justify-content: center; gap: 7px; flex-wrap: wrap; }
.dot { width: 9px; height: 9px; border-radius: 50%; border: 0; background: var(--line); cursor: pointer; padding: 0; transition: .2s; }
.dot.active { background: var(--red); width: 26px; border-radius: 6px; }
.deck-hint { text-align: center; color: var(--muted); font-size: .8rem; margin: 0 0 14px; }

/* Quiz */
.quiz { margin-top: 26px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; max-width: 820px; }
.quiz-top { display: flex; justify-content: space-between; color: var(--muted); font-family: var(--mono); font-size: .85rem; }
.quiz-bar { height: 4px; background: var(--bg-3); border-radius: 4px; margin: 10px 0 24px; overflow: hidden; }
.quiz-bar span { display: block; height: 100%; background: var(--red); transition: width .3s; }
.quiz h3 { font-family: var(--display); font-size: 1.45rem; margin: 0 0 18px; }
.opts { display: grid; gap: 10px; }
.opt { text-align: left; font: 500 1rem var(--body); color: var(--text); background: var(--bg-3); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; cursor: pointer; transition: .15s; }
.opt:hover:not(:disabled) { border-color: var(--red); }
.opt.right { border-color: var(--ga); background: rgba(63,185,80,.12); }
.opt.wrong { border-color: var(--red); background: rgba(238,0,0,.12); }
.opt:disabled { cursor: default; }
.explain { margin-top: 16px; color: #d0d0d4; border-left: 3px solid var(--red); padding-left: 12px; }
.btn { font: 600 1rem var(--display); background: var(--red); color: #fff; border: 0; border-radius: 999px; padding: 11px 24px; cursor: pointer; margin-top: 20px; }
.btn:hover { background: var(--red-dark); }
.score-big { font-family: var(--display); font-weight: 900; font-size: 4rem; color: var(--red); margin: 0; }

/* Tidbits */
.tidbits { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; margin-top: 26px; }
.tidbit { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 20px; position: relative; overflow: hidden; transition: transform .2s, border-color .2s; }
.tidbit:hover { transform: translateY(-3px); border-color: var(--red); }
.tidbit .emoji { font-size: 1.6rem; }
.tidbit h4 { font-family: var(--display); margin: 8px 0 6px; font-size: 1.05rem; }
.tidbit p { margin: 0; color: var(--muted); font-size: .95rem; }

.footer { border-top: 1px solid var(--line); margin-top: 80px; padding: 30px 6vw; color: var(--muted); font-size: .85rem; text-align: center; }

@media (max-width: 760px) {
  .slide { padding: 30px 22px 16px; }
  .cover { grid-template-columns: 1fr; }
  .topnav { gap: 12px; padding: 10px 4vw; }
  .brand-cmd { display: none; }
  .navlinks { padding-left: 12px; gap: 2px; font-size: .9rem; }
  .navlinks a { padding: 6px 8px; }
  .quiz { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* Also in this release */
.more { margin-top: 28px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 30px; }
.more-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 8px; }
.more-head h3 { margin: 0; font: 700 1.35rem var(--display); }
.more-head h3 span { color: var(--muted); font: 400 .85rem var(--mono); margin-left: 10px; }
.more-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.kchip { font: 500 .75rem var(--mono); color: var(--muted); background: var(--bg-3); border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; cursor: pointer; }
.kchip b { color: var(--text); font-weight: 600; margin-left: 4px; }
.kchip:hover { color: var(--text); }
.kchip[aria-pressed="true"] { color: var(--text); border-color: var(--red); background: rgba(238,0,0,.14); }
.more-list { list-style: none; margin: 0; padding: 0; }
.more-list li { display: grid; grid-template-columns: 190px 1fr auto; gap: 18px; align-items: start; padding: 16px 0; border-top: 1px solid var(--line); }
.more-list li:first-child { border-top: 0; }
.more-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.more-body h4 { margin: 0 0 4px; font: 600 1rem var(--display); }
.more-body p { margin: 0; color: var(--muted); font-size: .92rem; }
.more-list .src-chip { font-size: .72rem; white-space: nowrap; }
.badge.kind { color: #fff; }
.k-enhancement { --k: #58a6ff; }
.k-security { --k: #ff5c5c; }
.k-bug-fix { --k: #3fb950; }
.k-version-update { --k: #bc8cff; }
.k-tech-preview { --k: #d29922; }
.k-deprecated { --k: #f0883e; }
.k-removed { --k: #8b949e; }
.badge.kind[class*="k-"] { border-color: var(--k); background: color-mix(in srgb, var(--k) 16%, transparent); color: var(--k); }
.kchip[class*="k-"]::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--k); margin-right: 6px; vertical-align: 1px; }
@media (max-width: 760px) { .more-list li { grid-template-columns: 1fr; gap: 8px; } .more { padding: 20px; } }

/* ---------- Timeline page ---------- */
.hero-slim { padding-top: 0; padding-bottom: 36px; min-height: 0; }
.hero-slim .hero-content { padding-top: 32px; }
.hero-slim h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.tlp-fams { display: inline-flex; gap: 4px; padding: 4px; margin: 4px 0 18px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; }
.tlp-fam { font: 500 .95rem var(--display); color: var(--muted); background: none; border: 0; padding: 7px 18px; border-radius: 999px; cursor: pointer; }
.tlp-fam:hover { color: var(--text); }
.tlp-fam[aria-selected="true"] { background: var(--red); color: #fff; }
.tlp-filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.tlp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tlp-toggle { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-size: .92rem; cursor: pointer; user-select: none; }
.tlp-toggle small { color: var(--muted); }
.tlp-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.tlp-toggle .sw { width: 38px; height: 22px; border-radius: 999px; background: var(--bg-3); border: 1px solid var(--line); position: relative; transition: background .2s; flex: none; }
.tlp-toggle .sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--muted); transition: transform .2s, background .2s; }
.tlp-toggle input:checked + .sw { background: var(--red); border-color: var(--red); }
.tlp-toggle input:checked + .sw::after { transform: translateX(16px); background: #fff; }
.tlp-toggle input:focus-visible + .sw { outline: 2px solid var(--red); outline-offset: 2px; }

.tlp-lanes { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px 6px; margin-bottom: 34px; }
.lane { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 10px; height: 48px; }
.lane b { font: 700 .8rem var(--mono); text-align: right; padding-top: 14px; }
.lane-track { position: relative; height: 100%; border-bottom: 1px dashed var(--line); }
.lane-track .dot { position: absolute; bottom: 4px; width: 0; height: 0; text-decoration: none; z-index: 1; }
.lane-track .dot i { position: absolute; left: -3.5px; top: -7px; width: 7px; height: 7px; border-radius: 50%; background: var(--c); opacity: .7; box-shadow: 0 0 0 2px var(--bg-2); transition: transform .15s; }
.lane-track .dot.major i { left: -6px; top: -12px; width: 12px; height: 12px; opacity: 1; }
.lane-track .dot.latest i { left: -7px; top: -14px; width: 14px; height: 14px; opacity: 1; box-shadow: 0 0 0 2px var(--bg-2), 0 0 0 4px var(--c), 0 0 14px 2px var(--c); }
.lane-track .dot.old i { opacity: .55; }
.lane-track .dot.old.major i, .lane-track .dot.old.latest i { opacity: .85; box-shadow: 0 0 0 2px var(--bg-2); }
.lane-track .dot em { position: absolute; bottom: 14px; left: 0; transform: translateX(-50%); font: 700 .68rem var(--mono); font-style: normal; color: var(--c); white-space: nowrap; pointer-events: none; }
.lane-track .dot.old em { color: var(--muted); font-weight: 500; }
.lane-track .dot.latest:not(.old) em { color: #fff; background: var(--c); padding: 0 5px; border-radius: 999px; bottom: 16px; }
.lane-track .dot:hover { z-index: 3; }
.lane-track .dot:hover i { transform: scale(1.5); }
.lane-legend { display: flex; flex-wrap: wrap; gap: 18px; padding: 10px 0 6px 54px; font-size: .78rem; color: var(--muted); }
.lane-legend span { display: inline-flex; align-items: center; gap: 7px; }
.lg { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); display: inline-block; }
.lg.major { width: 12px; height: 12px; background: var(--text); }
.lg.latest { width: 12px; height: 12px; background: var(--red); box-shadow: 0 0 0 2px var(--bg-2), 0 0 0 4px var(--red); }
.lane-axis { height: 26px; }
.lane-axis b { padding: 0; }
.lane-axis .lane-track { border: 0; }
.lane-axis span { position: absolute; top: 6px; transform: translateX(-50%); font: .72rem var(--mono); color: var(--muted); }

.tlp { list-style: none; margin: 0; padding: 0; position: relative; }
.tlp::before { content: ""; position: absolute; left: 87px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.tlp-year { font: 900 1.6rem var(--display); margin: 26px 0 10px; padding-left: 110px; color: var(--text); }
.tlp-year:first-child { margin-top: 0; }
.tlp-row { display: grid; grid-template-columns: 72px 32px 1fr; align-items: start; margin-bottom: 14px; }
.tlp-row time { font: .85rem var(--mono); color: var(--muted); text-align: right; padding-top: 16px; }
.tlp-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--c); margin: 19px 0 0 9px; box-shadow: 0 0 0 4px var(--bg); position: relative; z-index: 1; }
.tlp-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.tlp-card { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; background: var(--bg-2); border: 1px solid var(--line); border-left: 4px solid var(--c); border-radius: var(--radius); color: var(--text); text-decoration: none; transition: transform .15s, border-color .15s; }
a.tlp-card:hover { transform: translateY(-2px); border-color: var(--c); }
.tlp-ver { font: 700 1.25rem var(--display); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tlp-ver small { font: 500 .8rem var(--body); color: var(--muted); }
.tlp-theme { margin: 0; color: var(--text); font-size: .95rem; }
.tlp-body ul { margin: 6px 0 0; padding-left: 18px; color: var(--muted); font-size: .86rem; }
.tlp-body li { margin: 2px 0; }
.tlp-body .more-n { list-style: none; margin-left: -18px; font-style: italic; }
.tlp-go { font: 500 .82rem var(--display); color: var(--c); align-self: flex-end; }
.tlp-final { font: 500 .7rem var(--mono); text-transform: uppercase; letter-spacing: .05em; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--c); color: var(--c); }
.tlp-card.legacy { padding: 8px 14px; flex-direction: row; align-items: baseline; gap: 12px; opacity: .85; }
.tlp-card.legacy .tlp-ver { font-size: 1rem; }
.tlp-sub { margin: 0; color: var(--muted); font-size: .84rem; }
.tlp-src { margin-left: auto; font-size: .76rem; color: var(--muted); }
.tlp-row.old { margin-bottom: 6px; }
.tlp-row.old time, .tlp-row.old .tlp-dot { padding-top: 0; margin-top: 10px; }
.tlp-row.old time { padding-top: 6px; margin-top: 0; }
.tlp-row.old .tlp-cards { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 6px; }
.tlp-empty { color: var(--muted); padding: 30px 0 30px 110px; }
@media (max-width: 640px) {
  .tlp::before { left: 61px; }
  .tlp-row { grid-template-columns: 50px 24px 1fr; }
  .tlp-year { padding-left: 76px; }
  .tlp-dot { margin-left: 5px; }
  .tlp-cards { grid-template-columns: 1fr; }
  .lane { grid-template-columns: 36px 1fr; }
}

/* API & feeds page */
.api h2 { font: 700 1.6rem var(--display); margin: 40px 0 10px; display: flex; align-items: center; gap: 10px; }
.api h2:first-child { margin-top: 0; }
.api-note { color: var(--muted); margin: 0 0 18px; }
.api code { font-family: var(--mono); font-size: .88em; }
.api-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.api-card { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); color: var(--text); text-decoration: none; transition: border-color .2s, transform .2s; }
.api-card:hover { border-color: var(--red); transform: translateY(-2px); }
.api-card .badge { align-self: flex-start; }
.api-card code { color: var(--muted); word-break: break-all; }
.api-table { width: 100%; border-collapse: collapse; background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.api-table th, .api-table td { text-align: left; padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.api-table th { border-top: 0; color: var(--muted); font: 600 .75rem var(--mono); text-transform: uppercase; letter-spacing: .06em; background: var(--bg-3); }
.api-table td:first-child { white-space: nowrap; }
.api-table a { color: var(--text); }
.api-table a:hover { color: var(--red); }
.api-pre { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; overflow-x: auto; font: 400 .85rem/1.6 var(--mono); color: #e6e6e6; margin: 0 0 14px; }
.api-pre .c { color: #7d7d85; }
@media (max-width: 700px) { .api-table td:first-child { white-space: normal; } }

/* Search palette */
.search-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--bg-2); border: 1px solid var(--line); color: var(--muted); border-radius: 999px; padding: 6px 8px 6px 12px; font: 500 .85rem var(--body); cursor: pointer; transition: border-color .2s, color .2s; }
.search-btn:hover { border-color: var(--red); color: var(--text); }
kbd { font: 600 .66rem var(--mono); color: var(--muted); background: var(--bg-3); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; padding: 1px 6px; }
body.sp-open { overflow: hidden; }
.sp { position: fixed; inset: 0; z-index: 100; background: rgba(5,5,6,.72); backdrop-filter: blur(6px); display: flex; justify-content: center; align-items: flex-start; padding: 12vh 16px 16px; }
.sp[hidden] { display: none; }
.sp-box { width: min(720px, 100%); max-height: 72vh; display: flex; flex-direction: column; background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(238,0,0,.15); overflow: hidden; }
.sp-box input { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line); color: var(--text); font: 500 1.05rem var(--body); padding: 18px 20px; outline: none; }
.sp-box input::-webkit-search-cancel-button { display: none; }
#spList { list-style: none; margin: 0; padding: 6px; overflow-y: auto; }
#spList a { display: grid; grid-template-columns: 92px 1fr auto; gap: 12px; align-items: start; padding: 10px 12px; border-radius: 10px; color: var(--text); text-decoration: none; }
#spList li[aria-selected="true"] a, #spList a:hover { background: var(--bg-3); box-shadow: inset 3px 0 0 var(--red); }
.sp-tag { font: 600 .72rem var(--mono); color: #ff6b6b; padding-top: 3px; white-space: nowrap; }
.sp-main b { display: block; font: 600 .95rem var(--display); }
.sp-main small { display: block; color: var(--muted); font-size: .82rem; margin-top: 3px; line-height: 1.45; }
.sp-type { font: 500 .66rem var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
#spList mark { background: rgba(238,0,0,.3); color: #fff; border-radius: 3px; padding: 0 1px; }
.sp-empty { color: var(--muted); padding: 18px 14px; }
.sp-empty b { color: var(--text); }
.sp-foot { display: flex; flex-wrap: wrap; gap: 16px; padding: 10px 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
.sp-foot kbd { margin-right: 3px; }
#spCount { margin-left: auto; font-family: var(--mono); }
@media (max-width: 700px) {
  .search-btn span, .search-btn kbd { display: none; }
  #spList a { grid-template-columns: 1fr; gap: 4px; }
  .sp-type { justify-self: start; }
}

.footer-meta { margin-top: 10px; font-size: .82rem; color: var(--muted); }
.footer-meta kbd { margin: 0 2px; }
