:root {
  --bg: #fff8ea;
  --line: #cfc3a9;
  --line-dark: #8fa17e;
  --row: #fbf6e9;
  --header-height: 86px;
}

body { background: linear-gradient(180deg, #fffdf5 0, var(--bg) 260px); }
[hidden] { display: none !important; }
a, button, select, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid #bb9134;
  outline-offset: 3px;
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.forecast-page main { grid-template-columns: minmax(0, 1fr); padding-top: 16px; gap: 16px; }
.forecast-page main > * { min-width: 0; }
.forecast-page details:not([open]) > :not(summary) { display: none; }
.forecast-page .performance, .forecast-page .performance-block,
.forecast-page .bet-stats, .forecast-page .bet-period, .forecast-page .rank-stats { min-width: 0; max-width: 100%; }
.forecast-page #racePanel { min-width: 0; max-width: 100%; }
.forecast-page .topbar { min-height: 84px; }
.forecast-page .brand.has-logo .brand-title { display: none; }
.forecast-page .brand-image { height: 54px; }
.forecast-page .brand-link { height: 54px; }
.social-header { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; margin: 0 2px 0 0; border: 1px solid #ffffff55; border-radius: 50%; background: #000; text-decoration: none; }
.social-header img { display: block; width: 22px; height: 22px; object-fit: contain; }
.social-header:hover { box-shadow: 0 0 0 3px #ffffff55; }
.social-footer { white-space: nowrap; }
.forecast-page .site-notice { margin: 0; padding: 10px 14px; border: 2px solid #0f5b3f; border-radius: 0; box-shadow: none; background: #fff; }
.notice-label { font-weight: 800; color: #0f5b3f; }
.forecast-page .site-notice time { font-size: 12px; color: #52625a; }
.forecast-page .notice-history { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 6px 12px; }
.notice-track { position: relative; display: flex; margin: 0; padding: 0; min-width: 0; overflow-x: auto; scroll-snap-type: x mandatory; list-style: none; scrollbar-width: none; overscroll-behavior-x: contain; }
.notice-track::-webkit-scrollbar { display: none; }
.notice-item { flex: 0 0 100%; display: flex; align-items: center; gap: 14px; margin: 0; padding: 8px 2px; min-height: 48px; scroll-snap-align: start; scroll-snap-stop: always; }
.notice-item time { flex: 0 0 auto; white-space: nowrap; }
.notice-item p { margin: 0; font-size: 13px; line-height: 1.65; overflow-wrap: anywhere; }
.notice-pager { display: flex; align-items: center; gap: 4px; }
.notice-pager .icon-button { width: 30px; height: 30px; border: 0; }
.notice-pager .icon-button:hover:not(:disabled) { background: #eaf3ed; }
.notice-pager output { min-width: 40px; text-align: center; font-size: 11px; color: #607168; }
.notice-item p a { display: inline; color: #244b36; text-decoration: underline; text-decoration-color: #b4c9bb; text-underline-offset: 4px; }
.notice-item p a:hover { text-decoration-color: currentColor; }
.notice-item p svg { display: inline-block; width: 13px; height: 13px; vertical-align: -2px; margin-left: 5px; }
.notice-all { margin-right: 5px; padding: 5px 0; color: #0f5b3f; font-size: 11px; white-space: nowrap; text-underline-offset: 3px; }
.site-content-links { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 26px; padding: 3px 0 12px; border-bottom: 1px solid var(--line); }
.site-content-links a { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; color: #31543d; text-decoration: none; font-size: 12px; line-height: 1.5; }
.site-content-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-content-links svg { width: 16px; height: 16px; flex: 0 0 16px; color: #687b6c; }
.updates-page { background: #fff; }
.updates-page main { max-width: 1120px; margin: auto; padding: 22px 24px 38px; }
.updates-page .brand-image { max-width: 165px; height: 48px; object-fit: contain; }
.updates-heading { display: flex; align-items: baseline; gap: 18px; padding: 18px 0 20px; }
.updates-heading h1 { margin: 0; color: #163e2a; font-size: 28px; }
.updates-heading > span { color: #6d7a71; font-size: 12px; }
.updates-list { list-style: none; margin: 0 0 24px; padding: 0; border-top: 2px solid #315b40; }
.updates-list > li { display: grid; grid-template-columns: 105px minmax(0, 1fr); gap: 26px; padding: 24px 0; border-bottom: 1px solid #d6dfd8; scroll-margin-top: 20px; }
.updates-list time { padding-top: 3px; color: #6d7a71; font-size: 12px; font-variant-numeric: tabular-nums; }
.updates-list h2 { margin: 0 0 8px; color: #244b36; font-size: 17px; line-height: 1.7; overflow-wrap: anywhere; }
.updates-list p { margin: 0 0 12px; font-size: 13px; color: #53665a; line-height: 1.9; }
.updates-list .plain-link { display: inline-flex; align-items: center; gap: 6px; color: #0f5b3f; font-size: 12px; }
.updates-list .plain-link svg { width: 14px; height: 14px; }
.forecast-page .status { gap: 6px; }
.refresh-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 6px 10px; color: #fff; background: #ffffff16; border-color: #ffffff60; }
.refresh-button:hover { color: #073a27; background: #fff; }
.refresh-button svg { width: 16px; height: 16px; }
.status .refresh-button span { border: 0; padding: 0; background: none; }
.refresh-button:disabled { opacity: .6; cursor: wait; }
.refresh-button.is-loading svg { animation: refresh-spin 1s linear infinite; }
@keyframes refresh-spin { to { transform: rotate(360deg); } }

.entry-points { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.entry-link { display: flex; align-items: center; gap: 13px; min-width: 0; min-height: 103px; padding: 18px 16px; background: #fff; border: 1px solid var(--line); border-bottom: 3px solid var(--entry-color); border-radius: 4px; color: #263c31; text-decoration: none; transition: background .15s, border-color .15s; }
.entry-link:hover { background: #f7fbf9; border-color: var(--entry-color); }
.entry-link > span:not(.beginner-mark) { min-width: 0; }
.entry-link strong { display: block; font-size: 17px; line-height: 1.4; white-space: nowrap; }
.entry-link small { display: block; margin-top: 5px; font-size: 12px; color: #617168; }
.entry-link > svg:last-child { width: 16px; height: 16px; flex: 0 0 16px; margin-left: auto; color: #809188; }
.entry-link .entry-icon { width: 36px; height: 36px; flex: 0 0 36px; color: var(--entry-color); stroke-width: 1.65; }
.entry-beginner { --entry-color: #2d9460; }
.entry-archive { --entry-color: #29738b; }
.entry-ai { --entry-color: #667d62; }
.entry-graded { --entry-color: #b08a2d; }
.beginner-mark { position: relative; display: block; flex: 0 0 36px; width: 36px; height: 46px; filter: drop-shadow(0 1px 1px #00000020); }
.beginner-mark::before, .beginner-mark::after { content: ""; position: absolute; inset: 0; }
.beginner-mark::before { background: #f2d744; clip-path: polygon(0 0, 50% 20%, 50% 100%, 0 72%); }
.beginner-mark::after { background: #329965; clip-path: polygon(50% 20%, 100% 0, 100% 72%, 50% 100%); }
.forecast-page .live-workspace { align-items: start; }
.forecast-page main .race-nav { top: calc(var(--header-height) + 12px); max-height: calc(100dvh - var(--header-height) - 24px); }
.forecast-page .race-head h2 { font-size: 20px; }
.forecast-page .panel-title { border-color: #9a711b; border-width: 2px; }
.forecast-page .race-list, .forecast-page .race-head, .forecast-page .wide-strip { border-color: #0f5b3f; border-width: 2px; }
.forecast-page .race-list { border-top: 0; }
.forecast-page .race-nav > summary.panel-title { border-bottom: 0; }
.forecast-page .wide-strip { margin: 0 0 8px; }
.forecast-page .race-button.active { background: #fffdf4; border-left-color: #0f5b3f; }
.forecast-page .race-button:hover { background: #fffdf4; }
.forecast-page .performance-shell > summary { background: #fff; padding: 10px 12px; border: 2px solid #9a711b; }
.forecast-page .performance { border: 2px solid #0f5b3f; }
.performance-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px; border-bottom: 1px solid var(--line); }
.performance-toolbar .plain-link { margin-left: auto; }
.segmented-control { display: inline-flex; }
.segmented-control button { min-width: 70px; min-height: 34px; margin: 0; padding: 6px 12px; border: 1px solid #0f5b3f; border-radius: 0; background: #fff; color: #0f5b3f; }
.segmented-control button + button { border-left: 0; }
.segmented-control button[aria-pressed="true"] { background: #0f5b3f; color: #fff; }
.reference-rank-stats > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; padding: 10px 12px; font-size: 13px; border-bottom: 1px solid var(--line); }
.stats-empty { margin: 0; padding: 16px 12px; font-size: 13px; color: #626957; }
.display-context { margin: 0; padding: 3px 0 3px 10px; border-left: 3px solid #0f5b3f; color: #52624f; font-size: 13px; line-height: 1.65; }
.display-context:empty { display: none; }
.forecast-legend { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 16px; padding: 4px 0; color: #64705c; font-size: 11px; }
.forecast-legend a { color: #0f5b3f; }
.rank.rank-missing { min-width: 40px; font-size: 10px; padding: 0 3px; }
.forecast-page footer { margin-top: 16px; }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 12px; color: #6e7c74; }
.breadcrumb a { color: #0f5b3f; }
.page-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; padding: 0 0 12px; border-bottom: 1px solid var(--line); }
.page-heading h1 { margin: 3px 0 5px; color: #073a27; font-size: 28px; }
.page-heading p { margin: 0; color: #5b6b61; font-size: 14px; }
.page-heading .page-kicker { font-size: 11px; font-weight: 800; color: #9a711b; }
#archiveRange { display: flex; flex-wrap: wrap; gap: 4px 10px; }
#archiveRange > span { white-space: nowrap; }
.plain-link { display: inline-flex; align-items: center; gap: 5px; color: #0f5b3f; font-weight: 700; font-size: 13px; text-decoration: none; }
.plain-link svg { width: 15px; height: 15px; }
.week-toolbar { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 12px; padding: 16px 0; }
.archive-browser { flex: 1 1 380px; min-width: 0; border: 1px solid #0f5b3f; background: #fff; }
.archive-browser > summary { display: flex; align-items: center; gap: 10px; list-style: none; cursor: pointer; min-height: 44px; padding: 10px 12px; font-size: 12px; }
.archive-browser > summary::-webkit-details-marker { display: none; }
.archive-browser > summary::after { content: "+"; margin-left: auto; color: #0f5b3f; font-size: 18px; }
.archive-browser[open] > summary::after { content: "-"; }
.archive-browser > summary svg { flex: 0 0 18px; width: 18px; height: 18px; color: #0f5b3f; }
.archive-browser > summary strong { margin-left: 8px; font-size: 14px; color: #073a27; }
.archive-tree { max-height: 360px; overflow-y: auto; border-top: 1px solid var(--line); padding: 8px 12px; }
.archive-year, .archive-month { border: 0; }
.archive-year > summary, .archive-month > summary { padding: 8px 4px; font-size: 13px; font-weight: 700; cursor: pointer; }
.archive-year > summary .muted { margin-left: 10px; font-size: 11px; font-weight: 500; }
.archive-month { margin-left: 18px; padding-left: 10px; border-left: 1px solid var(--line); }
.archive-week { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 12px; width: 100%; padding: 9px 10px; margin: 0 0 2px; border: 0; border-radius: 0; background: #fff; color: #223d2d; text-align: left; font-size: 13px; }
.archive-week small { color: #65705b; font-size: 11px; }
.archive-week:hover { background: #edf5e8; }
.archive-week.active { background: #0f5b3f; color: #fff; }
.archive-week.active small { color: #e1eee1; }
.week-pager { display: flex; align-self: flex-start; gap: 6px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 42px; padding: 0; border: 1px solid #95ab9c; background: #fff; color: #0f5b3f; border-radius: 3px; cursor: pointer; }
.icon-button svg { width: 19px; height: 19px; }
.icon-button:disabled { color: #a7b2ab; border-color: #dce2de; cursor: default; }
.week-summary { margin: 10px 0 0 auto; font-size: 13px; color: #596c5f; }
.archive-missing-results { margin: 0; padding: 14px; color: #665c37; background: #faf6e8; font-size: 13px; }
.archive-evidence-note { margin: 0; padding: 12px 14px; color: #52665b; background: #f4f8f5; font-size: 12px; line-height: 1.65; }
.candidate-evidence-note { padding: 8px 10px; color: #5c6c61; font-size: 12px; line-height: 1.6; }
.archive-outcome { display: block; font-size: 12px; line-height: 1.6; color: #58655d; }
.archive-outcome.placed { color: #0f5b3f; font-weight: 800; }
.forecast-page.is-saved .hit-cell { min-width: 78px; }
.forecast-page.is-saved .refresh-button { display: none; }
.page-feedback { padding: 14px; background: #fff3e3; border-left: 4px solid #b0892a; color: #765a20; }
.no-script { padding: 14px; background: #fff; }
.graded-overview { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.graded-race { text-align: left; min-height: 98px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 12px; padding: 16px; border: 1px solid var(--line); background: #fff; border-radius: 4px; }
.graded-race strong { font-size: 16px; line-height: 1.5; color: #073a27; overflow-wrap: anywhere; }
.graded-race .graded-meta { grid-column: 2; font-size: 12px; color: #5d6b63; font-weight: 500; }
.graded-race.active { border-color: #0f5b3f; background: #eef6f0; color: #073a27; }
.grade-label { display: inline-flex; align-items: center; justify-content: center; align-self: start; vertical-align: middle; min-width: 34px; height: 23px; margin-right: 7px; font-size: 12px; font-weight: 900; padding: 2px 6px; color: #fff; border: 0; border-radius: 2px; white-space: nowrap; line-height: 1; }
/* Background fills from the JRA's official grade SVGs. */
.grade-g1 { background: #0d74d5; }
.grade-g2 { background: #e60100; }
.grade-g3 { background: #007853; }
.grade-other { background: #626c5d; }
.race-head h2 .grade-label { margin-bottom: 3px; }

.content-page main { max-width: 1120px; }
.content-page .content-article { border-top: 0; border-radius: 0; box-shadow: none; padding: 30px 32px; }
.content-page .content-article h1 { font-size: 30px; }
.content-page .page-lead { max-width: 900px; }
.section-tabs { display: flex; gap: 4px; flex-wrap: wrap; padding-top: 24px; }
.section-tabs a { color: #0f5b3f; font-size: 13px; font-weight: 700; padding: 7px 11px; border-bottom: 2px solid #c3d6c9; text-decoration: none; }
.guide-figure { margin: 28px 0; }
.guide-figure figcaption { color: #5d6e61; font-size: 12px; margin-top: 10px; }
.screen-scroll { overflow: auto; max-height: 620px; border: 1px solid #c2d2c7; background: #fff; scrollbar-width: thin; overscroll-behavior: contain; }
.content-page header { position: static; }
.content-page main { display: block; }
.content-page #racePanel.guide-demo { min-width: 930px; max-width: none; width: 100%; font-size: 14px; line-height: 1.58; }
.guide-demo .race-head, .guide-demo .wide-strip, .guide-demo .table-wrap { border: 0; border-bottom: 1px solid var(--line); margin: 0; }
.guide-demo .wide-strip { padding: 12px 14px; }
.guide-demo .race-head h2 { padding: 0; margin: 0; border: 0; font-size: 18px; }
.guide-demo .race-titlebar { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.guide-demo .sortbar { display: flex; min-width: 360px; width: auto; max-width: none; }
.guide-demo .race-table-wrap { display: block; max-height: none; overflow: visible; }
.guide-demo table { margin: 0; min-width: 930px; }
.guide-demo th, .guide-demo td { border: 0; border-bottom: 1px solid var(--line); padding: 9px 8px; }
.guide-demo th { position: sticky; top: 0; z-index: 1; font-size: 12px; }
.guide-demo .horse-name { font-size: 15px; }
.guide-demo .wide-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.guide-demo .sort-buttons { display: flex; width: auto; flex-wrap: nowrap; }
.guide-demo .sort-buttons button { width: auto; padding: 6px 8px; font-size: 12px; }
.screen-marker { display: inline-flex; align-items: center; justify-content: center; width: 23px; height: 23px; flex: 0 0 23px; margin-right: 5px; vertical-align: middle; background: #0f5b3f; color: #fff; border: 2px solid #fff; border-radius: 50%; text-decoration: none; font-size: 12px; font-weight: 900; }
.screen-marker:hover { background: #936d1e; }
.guide-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 30px; }
.guide-section { border-top: 1px solid var(--line); padding: 22px 0; scroll-margin-top: 20px; }
.guide-section h2 { margin: 0 0 10px; display: flex; align-items: center; gap: 9px; border-left: 0; padding-left: 0; font-size: 18px; }
.guide-section h2 .guide-number { display: inline-flex; align-items: center; justify-content: center; width: 27px; height: 27px; background: #0f5b3f; color: #fff; border-radius: 50%; font-size: 13px; flex: 0 0 27px; }
.guide-section p { font-size: 14px; margin: 8px 0; }
.mark-key { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 8px; margin: 10px 0; }
.mark-key dt { font-size: 19px; }
.mark-key dd { margin: 0; font-size: 14px; }
.guide-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 22px 0 8px; border-top: 2px solid #0f5b3f; }
.guide-actions a:first-child { padding: 10px 17px; background: #0f5b3f; color: #fff; text-decoration: none; border-radius: 3px; font-weight: 700; }
.guide-actions a { color: #0f5b3f; }

@media (max-width: 1080px) {
  .entry-points { gap: 8px; }
  .entry-link { gap: 8px; padding: 15px 12px; }
  .entry-link strong { font-size: 15px; }
  .entry-link .entry-icon { width: 30px; height: 30px; flex-basis: 30px; }
}
@media (max-width: 920px) {
  .forecast-page main .race-nav { position: static; max-height: none; }
  .entry-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .entry-link { min-height: 88px; }
  .entry-link strong { font-size: 16px; }
}
@media (max-width: 560px) {
  .forecast-page .topbar { padding: 8px 10px; gap: 5px; }
  .forecast-page .brand-image, .forecast-page .brand-link { height: 42px; }
  .forecast-page .status { display: grid; grid-template-columns: 24px minmax(0,1.4fr) minmax(0,1fr) minmax(0,1.2fr) 28px; overflow: visible; gap: 4px; }
  .forecast-page .status .social-header { width: 24px; height: 24px; }
  .forecast-page .status .social-header img { width: 16px; height: 16px; }
  .forecast-page .status > span { display: flex; flex-direction: column; gap: 2px; padding: 2px 0; font-size: 9px; border: 0; background: none; line-height: 1.2; }
  .forecast-page .status > span strong { font-size: 10px; }
  .forecast-page[data-page-mode="archive"] .status, .forecast-page.is-saved .status { grid-template-columns: 24px minmax(0,1.4fr) minmax(0,1fr) 28px; }
  .refresh-button { margin-left: auto; width: 28px; min-height: 28px; padding: 0; font-size: 11px; }
  .forecast-page .status .refresh-button span { display: none; }
  .refresh-button svg { width: 14px; height: 14px; }
  .forecast-page main { padding: 12px 10px 16px; gap: 12px; }
  .forecast-page .notice-history { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 8px; padding: 6px 10px; font-size: 12px; }
  .notice-pager { grid-column: 2; grid-row: 1; }
  .notice-track { grid-column: 1 / -1; grid-row: 2; }
  .notice-item { display: grid; align-content: start; align-items: start; gap: 3px; min-height: 90px; padding: 5px 1px; }
  .notice-item p { font-size: 12px; }
  .site-content-links { gap: 3px 16px; padding-bottom: 8px; }
  .site-content-links a { font-size: 11px; gap: 5px; }
  .site-content-links svg { width: 14px; height: 14px; flex-basis: 14px; }
  .updates-page main { padding: 15px 16px 28px; }
  .updates-heading h1 { font-size: 25px; }
  .updates-list > li { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 20px 0; }
  .updates-list time { font-size: 11px; }
  .updates-list h2 { font-size: 16px; }
  .entry-link { padding: 12px 10px; gap: 9px; min-height: 82px; }
  .entry-link strong { font-size: 14px; }
  .entry-link small { font-size: 10px; margin-top: 3px; }
  .entry-link > svg:last-child { display: none; }
  .entry-link .entry-icon { flex-basis: 28px; width: 28px; height: 28px; }
  .beginner-mark { flex-basis: 28px; width: 28px; height: 36px; }
  .forecast-page .race-head h2 { font-size: 18px; text-wrap: balance; }
  .forecast-page #racePanel .race-meta { text-wrap: pretty; }
  .forecast-page .performance-shell > summary,
  .forecast-page details.bet-stats > summary,
  .forecast-page details.bet-period > summary,
  .forecast-page details.rank-stats > summary { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 3px 8px; }
  .forecast-page .performance-shell > summary > span:first-child,
  .forecast-page details.bet-stats > summary > span:first-child,
  .forecast-page details.bet-period > summary > span:first-child,
  .forecast-page details.rank-stats > summary > span:first-child { grid-column: 1; }
  .forecast-page .performance-shell > summary .muted,
  .forecast-page details.bet-stats > summary .muted,
  .forecast-page details.bet-period > summary .muted,
  .forecast-page details.rank-stats > summary .muted { grid-column: 1; grid-row: 2; font-size: 11px; margin: 0; text-align: left; }
  .forecast-page .performance-shell > summary::after,
  .forecast-page details.bet-stats > summary::after,
  .forecast-page details.bet-period > summary::after,
  .forecast-page details.rank-stats > summary::after { grid-column: 2; grid-row: 1 / 3; }
  .forecast-page .performance-block .block-head,
  .forecast-page .current-wide-head { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
  .forecast-page .performance-block .block-head .muted,
  .forecast-page .current-wide-head .muted { margin-left: 0; font-size: 11px; text-align: left; }
  .page-heading { display: block; }
  .page-heading h1 { font-size: 25px; }
  .page-heading > a { margin-top: 10px; }
  .week-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; padding: 6px 0 12px; }
  .archive-browser { width: 100%; }
  .archive-browser > summary { align-items: flex-start; padding: 8px; gap: 7px; }
  .archive-browser > summary strong { display: block; margin: 2px 0 0; font-size: 12px; }
  .archive-tree { padding: 4px 8px; }
  .archive-month { margin-left: 8px; padding-left: 6px; }
  .archive-week { padding: 8px 6px; font-size: 12px; }
  .week-pager { align-self: flex-start; }
  .week-summary { grid-column: 1 / -1; margin: 0; }
  .content-page main { padding: 12px 10px; }
  .content-page .content-article { padding: 20px 16px; }
  .content-page .content-article h1 { font-size: 25px; }
  .performance-toolbar { gap: 7px; padding: 10px; }
  .performance-toolbar .plain-link { flex-basis: 100%; margin-left: 0; font-size: 12px; }
  .performance-toolbar > .muted { font-size: 11px; }
  .display-context { font-size: 12px; }
  .guide-sections { grid-template-columns: 1fr; }
}
@media (max-width: 360px) {
  .entry-link strong { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .refresh-button.is-loading svg { animation: none; } .entry-link { transition: none; } }
