/* Reader-only visual layer. Shared admin styles and all data contracts stay upstream. */
.site-title .brand:has(.brand-mark) { display: inline-flex; align-items: center; gap: 10px; color: #20334d; vertical-align: middle; }
.brand-mark { display: block; width: 36px; height: 36px; flex: 0 0 36px; }
.site-title .brand > span { white-space: nowrap; }
.site-header:has(.brand-mark) .site-subtitle { color: #66758a; }
.reader-icon { display: inline-block; flex-shrink: 0; vertical-align: -.12em; }
#root:has(> .home) { display: block; min-height: 100dvh; }
.site-header:has(+ .home) > div:first-child, .home .calendar-panel .section-heading > div { display: block; }
html[data-reader-theme] {
  font-family: "Segoe UI", "Noto Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  --reader-bg: #fafbfc;
  --reader-panel: #ffffff;
  --reader-soft: #f5f7fa;
  --reader-ink: #101828;
  --reader-muted: #65738c;
  --reader-line: #e5e9f0;
  --reader-outside: #f0f2f5;
  --reader-outside-ink: #929caf;
  --reader-green: #007c66;
  --reader-green-soft: #e3f6ef;
  --reader-blue: #006edb;
  --reader-blue-soft: #eef7ff;
  --reader-amber: #956800;
  --reader-amber-soft: #fff5d7;
  --reader-red: #c62c41;
  --reader-red-soft: #fff4f5;
  --reader-red-label: #ffe5e9;
  --reader-red-line: #ffd6dd;
  --reader-shadow: 0 3px 16px rgb(27 43 72 / 2%);
  color: var(--reader-ink);
  background: var(--reader-bg);
  color-scheme: light;
}
html[data-reader-theme="dark"] {
  --reader-bg: #101722;
  --reader-panel: #182231;
  --reader-soft: #202d3f;
  --reader-ink: #edf2fa;
  --reader-muted: #a2b0c8;
  --reader-line: #2d3c50;
  --reader-outside: #1d293a;
  --reader-outside-ink: #8897ae;
  --reader-green: #50d7b3;
  --reader-green-soft: #173e39;
  --reader-blue: #75baff;
  --reader-blue-soft: #1b344d;
  --reader-amber: #f3c962;
  --reader-amber-soft: #3e3420;
  --reader-red: #ff919b;
  --reader-red-soft: #352731;
  --reader-red-label: #4c2c39;
  --reader-red-line: #72404e;
  --reader-shadow: 0 3px 16px rgb(0 0 0 / 7%);
  color-scheme: dark;
}
.site-header:has(+ .home), .home {
  --muted: var(--reader-muted);
  --line: var(--reader-line);
  --panel: var(--reader-panel);
  max-width: 1480px;
  padding-left: 48px;
  padding-right: 48px;
  color: var(--reader-ink);
}
.site-header:has(+ .home) { padding-top: 18px; padding-bottom: 16px; align-items: center; }
.site-header:has(+ .home) .site-title { font-size: 40px; line-height: 1.2; font-weight: 750; letter-spacing: -.025em; margin: 0 0 8px; }
.site-header:has(+ .home) .brand { color: var(--reader-ink); }
.site-header:has(+ .home) .site-subtitle { font-size: 20px; line-height: 1.5; color: var(--reader-muted); }
.site-header:has(+ .home) .header-meta { font-size: 17px; gap: 22px; white-space: nowrap; }
.site-header:has(+ .home) .timezone { display: inline; }
.theme-toggle { position: relative; display: inline-grid; grid-template-columns: repeat(2, 1fr); align-items: center; justify-items: center; flex-shrink: 0; width: 82px; height: 44px; min-height: 44px; padding: 4px; border-radius: 999px; background: var(--reader-soft); color: var(--reader-muted); border: 1px solid var(--reader-line); transition: background-color 180ms, border-color 180ms; }
.theme-toggle-thumb { position: absolute; top: 4px; left: 5px; width: 34px; height: 34px; border-radius: 50%; background: var(--reader-panel); box-shadow: 0 1px 5px rgb(18 32 55 / 14%); transition: transform 220ms cubic-bezier(.22, 1, .36, 1), background-color 180ms; }
.theme-toggle .reader-icon { position: relative; width: 17px; height: 17px; transition: color 180ms; }
.theme-toggle[aria-pressed="false"] .theme-toggle-sun { color: #b7780d; }
.theme-toggle[aria-pressed="true"] .theme-toggle-thumb { transform: translateX(36px); background: #35465f; }
.theme-toggle[aria-pressed="true"] .theme-toggle-moon { color: #e2ecff; }
.theme-toggle:hover { background: var(--reader-soft); border-color: var(--reader-muted); }
.home { display: block; margin: 0 auto; font-size: 18px; line-height: 1.7; padding-bottom: 36px; }
.home a { color: var(--reader-blue); }
.home :is(a, button, summary):focus-visible, .theme-toggle:focus-visible { outline: 3px solid var(--reader-green); outline-offset: 3px; }
.home button { color: var(--reader-ink); background: var(--reader-panel); border-color: var(--reader-line); }
.home .latest, .home .calendar-panel, .home .daily-panel { background: var(--reader-panel); border: 1px solid var(--reader-line); border-radius: 14px; box-shadow: var(--reader-shadow); }
.home .latest { display: block; padding: 16px 26px 13px; margin-bottom: 18px; min-height: 208px; }
.home .section-kicker { color: var(--reader-ink); font-size: 20px; font-weight: 650; line-height: 1.5; margin-bottom: 4px; }
.home .latest-content { display: flex; align-items: center; flex-wrap: nowrap; gap: 30px; }
.home .latest .source-author { gap: 16px; margin: 0; }
.home .latest .tibo-avatar { width: 82px; height: 98px; border-radius: 10px; }
.home .source-author strong { font-size: 20px; font-weight: 700; color: var(--reader-ink); }
.home .author-handle { font-size: 17px; color: var(--reader-muted); }
.home .latest-copy { min-width: 0; flex: 1; overflow-wrap: anywhere; }
.home .latest h2 { font-size: 23px; margin: 8px 0 4px; }
.home .latest-message { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; white-space: pre-line; font-size: 22px; font-weight: 500; line-height: 1.55; margin: 6px 0 2px; }
.home .latest-copy > p.small { font-size: 16px; margin-bottom: 5px; }
.home .latest-copy > p.small:last-child { margin-top: 10px; margin-bottom: 0; }
.home .badge { gap: 5px; font-size: 15px; font-weight: 500; line-height: 1.55; padding: 6px 11px; border-radius: 7px; }
.home .badge .reader-icon { width: 17px; height: 17px; }
.home .badge.confirmed { color: var(--reader-green); background: var(--reader-green-soft); }
.home .badge.announced { color: var(--reader-amber); background: var(--reader-amber-soft); }
.home .latest-confirmed { flex: 0 0 235px; border-top: 0; border-left: 1px solid var(--reader-line); padding: 0 0 0 28px; margin-top: 0; line-height: 1.5; }
.home .latest-confirmed h3 { font-size: 17px; font-weight: 500; color: var(--reader-muted); margin: 0 0 5px; }
.home .confirmed-date { color: var(--reader-ink); font-size: 36px; font-weight: 750; line-height: 1.3; letter-spacing: -.02em; }
.home .latest-confirmed .confirmed-date-label { font-size: 16px; color: var(--reader-muted); margin: 3px 0; }
.home .latest-confirmed .confirmed-type { display: flex; align-items: center; gap: 6px; color: var(--reader-green); font-size: 17px; margin: 2px 0 0; }
.home .confirmed-type .reader-icon { width: 19px; height: 19px; }
.home .calendar-workspace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "calendar daily"; gap: 14px; align-items: start; background: transparent; border: 0; border-radius: 0; }
.home .calendar-panel, .home .daily-panel { min-width: 0; padding: 20px 22px; }
.home .calendar-panel { align-self: start; }
.home .section-heading { gap: 14px; margin-bottom: 10px; }
.home .section-heading h2 { font-size: 32px; font-weight: 700; line-height: 1.4; }
.home .calendar-subtitle { font-size: 18px; line-height: 1.5; color: var(--reader-muted); margin: 4px 0 0; }
.home .quiet-button { flex-shrink: 0; min-height: 46px; padding: 8px 15px; color: var(--reader-muted); font-size: 17px; border-radius: 10px; box-shadow: 0 2px 4px rgb(20 35 60 / 4%); }
.home .month-nav { margin: 0 0 12px; }
.home .month-nav h3 { font-size: 27px; font-weight: 700; line-height: 1.4; }
.home .month-nav button { display: flex; align-items: center; justify-content: center; width: 52px; min-height: 48px; border-radius: 10px; padding: 8px; background: var(--reader-bg); }
.home .month-nav .reader-icon { width: 21px; height: 21px; }
.home .weekdays, .home .calendar-grid { gap: 6px; }
.home .weekdays { font-size: 18px; line-height: 1.5; color: var(--reader-muted); margin-bottom: 10px; }
.home .calendar-grid { grid-template-rows: none; grid-auto-rows: minmax(82px, auto); }
.home .day { width: 100%; aspect-ratio: auto; min-height: 82px; padding: 6px 1px; gap: 3px; justify-content: flex-start; background: var(--reader-panel); border: 1px solid var(--reader-line); border-radius: 9px; color: var(--reader-ink); overflow: visible; }
.home .day-number { font-size: 22px; line-height: 1.4; font-weight: 500; }
.home .day-number i { width: 6px; height: 6px; top: 5px; right: -18px; background: var(--reader-red); }
.home .day.outside { background: var(--reader-outside); color: var(--reader-outside-ink); border-color: transparent; }
.home .day.outside::after { display: none; }
.home .day.has-reset { background: var(--reader-green-soft); }
.home .day.has-credit { background: var(--reader-blue-soft); }
.home .day.has-announcement { background: var(--reader-amber-soft); color: var(--reader-amber); }
.home .day.today:not(.has-reset):not(.has-announcement) { background: var(--reader-red-soft); border-color: var(--reader-red-line); }
.home .day-marks { gap: 2px; min-height: 24px; justify-content: center; }
.home .today-label { display: inline-flex; justify-content: center; min-width: 52px; padding: 1px 8px; background: var(--reader-red-label); color: var(--reader-red); border-radius: 7px; font-size: 14px; line-height: 1.8; }
.home .day-event { font-size: 13px; font-weight: 500; gap: 3px; line-height: 1.5; white-space: nowrap; }
.home .day-event b { display: flex; align-items: center; }
.home .day-event .reader-icon { width: 15px; height: 15px; }
.home .day-event.confirmed { color: var(--reader-green); }
.home .day-event.reset_credit.confirmed { color: var(--reader-blue); }
.home .day-event.announced { color: var(--reader-amber); background: var(--reader-amber-soft); padding: 0 2px; }
.home .day-event > span { min-width: 0; }
.home .more-count { position: absolute; right: 4px; bottom: 2px; font-size: 11px; color: var(--reader-muted); }
.home .day:hover:not(:disabled) { background: var(--reader-green-soft); color: var(--reader-green); border-color: var(--reader-green); }
.home .day.selected, .home .day.selected:hover:not(:disabled) { border-color: var(--reader-green); box-shadow: inset 0 0 0 1px var(--reader-green); color: var(--reader-green); }
.home .day.has-announcement:hover:not(:disabled), .home .day.has-announcement.selected { background: var(--reader-amber-soft); color: var(--reader-amber); border-color: var(--reader-amber); }
.home .day.has-announcement.selected, .home .day.has-announcement.selected:hover:not(:disabled) { border-color: var(--reader-amber); box-shadow: inset 0 0 0 1px var(--reader-amber); }
.home .day.selected .day-number { font-weight: 700; }
.home .month-nav button:hover:not(:disabled), .home .quiet-button:hover:not(:disabled) { background: var(--reader-soft); color: var(--reader-ink); border-color: var(--reader-muted); }
.home .legend { display: flex; gap: 12px 28px; margin-top: 16px; padding: 0; border: 0; color: var(--reader-ink); font-size: 16px; line-height: 1.7; }
.home .legend > span { gap: 10px; white-space: nowrap; }
.home .legend-symbol { display: inline-flex; align-items: center; width: 19px; height: 22px; padding: 0; background: none; border-radius: 0; color: var(--reader-green); }
.home .legend-symbol .reader-icon { width: 17px; height: 17px; }
.home .legend .credit-symbol { color: var(--reader-blue); }
.home .legend .credit-symbol .reader-icon { width: 21px; height: 21px; }
.home .legend .announcement-symbol { color: #f5a400; width: 17px; height: 17px; }
.home .daily-panel { scroll-margin-top: 24px; }
.home .daily-panel .eyebrow { font-size: 20px; line-height: 1.4; color: var(--reader-ink); margin-bottom: 4px; }
.home .daily-panel .section-heading h2 { font-size: 36px; line-height: 1.25; font-weight: 750; }
.home .daily-panel .event-detail { padding: 0; border: 0; }
.home .daily-panel .event-detail + .event-detail { margin-top: 18px; }
.home .daily-panel .event-detail h3 { font-size: 22px; }
.home .daily-panel .event-detail dl { font-size: 17px; }
.home .daily-panel .posts { border: 0; margin: 0; padding: 0; }
.home .daily-panel .posts .post-card { margin: 0 0 14px; padding: 24px 22px 10px; border: 1px solid var(--reader-line); border-radius: 12px; background: var(--reader-panel); color: var(--reader-ink); font-size: 18px; line-height: 1.8; }
.home .daily-panel .posts .post-card:last-child { margin-bottom: 0; }
.home .post-heading { margin-bottom: 20px; }
.home .posts .post-heading:has(.badge) { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 12px; }
.home .posts .tibo-avatar { width: 64px; height: 70px; border-radius: 9px; }
.home .posts .source-author { gap: 16px; }
.home .post-status-meta { gap: 3px; }
.home .post-meta { color: var(--reader-muted); font-size: 16px; line-height: 1.5; }
.home .post-translation { margin: 18px 0; font-size: 22px; line-height: 1.75; font-weight: 500; }
.home .post-context { margin: 18px 0 24px; padding: 16px 18px; border-left: 5px solid var(--reader-line); border-radius: 7px; background: var(--reader-soft); font-size: 17px; line-height: 1.85; }
.home .post-context > p:first-child { font-size: 15px; margin-bottom: 12px; }
.home .post-context > p:first-child span { margin-left: 8px; }
.home .post-context > p:last-child { margin: 0; }
.home .small, .home .post-original .small { font-size: 15px; color: var(--reader-muted); }
.home .source-time-note { margin: 20px 0 8px; line-height: 1.65; }
.home .post-footer { display: block; margin-top: 12px; font-size: 16px; }
.home .post-links { display: flex; justify-content: space-between; align-items: center; gap: 8px 14px; flex-wrap: wrap; }
.home .post-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; font-weight: 500; }
.home .primary-source-link { margin-left: auto; }
.home .source-originals { position: relative; margin-top: 20px; padding-top: 52px; border-top: 1px solid var(--reader-line); }
.home .source-disclosure { display: block; width: 100%; min-width: 0; }
.home .source-disclosure > summary { position: absolute; top: 8px; left: 0; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 4px 0; font-size: 16px; color: var(--reader-muted); list-style: none; }
.home .source-disclosure > summary::-webkit-details-marker { display: none; }
.home .source-disclosure > summary::before { display: none; }
.home .quote-disclosure > summary { left: 148px; }
.home .quote-disclosure:first-child > summary { left: 0; }
.home .source-disclosure > summary .reader-icon { width: 15px; height: 15px; transition: transform 180ms ease; }
.home .source-disclosure[data-expanded="true"] > summary { color: var(--reader-green); font-weight: 600; }
.home .source-disclosure[data-expanded="true"] > summary .reader-icon { transform: rotate(180deg); }
.home .source-original-body { padding: 15px 18px; background: var(--reader-soft); border-radius: 8px; margin-bottom: 10px; }
.home .source-original-body .original { color: var(--reader-ink); white-space: pre-wrap; overflow-wrap: anywhere; font-size: 17px; line-height: 1.7; margin: 3px 0 0; }
.home .source-original-body .original-label { margin: 0 0 3px; }
.home .source-original-body .original-meta { margin: 4px 0 0; font-size: 14px; }
.home .quote-original { border: 0; margin: 0; padding: 0; }
.home .empty { color: var(--reader-muted); }
.home .empty h2, .home .empty h3 { color: var(--reader-ink); }
.home .day-empty { min-height: 290px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 36px 10px; }
.home .day-empty > span { color: var(--reader-muted); }
.home .day-empty h3 { font-size: 20px; margin-bottom: 8px; }
.home .empty p, .home .event-scope, .home .date-label { font-size: 16px; color: var(--reader-muted); }
.home .notice, .home .alert { background: var(--reader-amber-soft); border-color: var(--reader-amber); color: var(--reader-amber); font-size: 15px; }
.home .local-note { background: var(--reader-soft); color: var(--reader-ink); font-size: 15px; }
.home .local-note strong { color: var(--reader-green); }
.home .pending-heading { margin-bottom: 14px; }
@media (min-width: 1024px) and (max-height: 850px) {
  .site-header:has(+ .home) { padding-top: 16px; padding-bottom: 16px; }
  .site-header:has(+ .home) .site-title { font-size: 32px; margin-bottom: 5px; }
  .site-header:has(+ .home) .site-subtitle { font-size: 16px; }
  .home .latest { min-height: 0; padding: 14px 24px 16px; }
  .home .section-kicker { font-size: 17px; margin-bottom: 2px; }
  .home .latest .tibo-avatar { width: 68px; height: 82px; }
  .home .latest-copy > p.small:last-child { margin-top: 4px; }
  .home .latest-message { font-size: 20px; }
  .home .calendar-panel, .home .daily-panel { padding: 16px 20px; }
  .home .section-heading h2 { font-size: 28px; }
  .home .calendar-subtitle { font-size: 16px; }
  .home .section-heading { margin-bottom: 10px; }
  .home .month-nav { margin-bottom: 10px; }
  .home .month-nav button { min-height: 42px; width: 46px; }
  .home .month-nav h3 { font-size: 25px; }
  .home .weekdays { font-size: 16px; margin-bottom: 6px; }
  .home .calendar-grid { grid-auto-rows: minmax(64px, auto); }
  .home .day { min-height: 64px; padding: 3px 1px; }
  .home .day-number { font-size: 20px; }
  .home .legend { margin-top: 12px; font-size: 14px; }
}
@media (min-width: 1024px) and (max-width: 1230px) {
  .site-header:has(+ .home), .home { padding-left: 28px; padding-right: 28px; }
  .site-header:has(+ .home) .header-meta { gap: 12px; font-size: 14px; }
  .home .latest-content { gap: 22px; }
  .home .latest-confirmed { flex-basis: 200px; padding-left: 20px; }
  .home .calendar-panel, .home .daily-panel { padding-left: 16px; padding-right: 16px; }
  .home .calendar-subtitle { font-size: 15px; }
  .home .day-event-full { display: none; }
  .home .post-heading .source-author { gap: 10px; }
  .home .post-heading .tibo-avatar { width: 48px; height: 56px; }
  .home .post-heading .badge { font-size: 13px; padding: 5px 8px; }
  .home .post-heading .author-handle { font-size: 14px; }
  .home .post-links a { font-size: 14px; }
}
@media (min-width: 1024px) and (max-height: 600px) {
  .site-header:has(+ .home) { padding-top: 10px; padding-bottom: 12px; }
  .site-header:has(+ .home) > div:first-child { display: flex; align-items: baseline; gap: 18px; }
  .site-header:has(+ .home) .site-title { font-size: 28px; margin: 0; }
  .site-header:has(+ .home) .site-subtitle { font-size: 14px; }
  .home .latest { padding: 10px 20px; margin-bottom: 12px; }
  .home .latest .tibo-avatar { width: 52px; height: 64px; }
  .home .latest h2 { font-size: 19px; margin: 4px 0; }
  .home .latest-message { -webkit-line-clamp: 2; font-size: 17px; line-height: 1.4; margin: 4px 0; }
  .home .latest .badge { font-size: 12px; padding: 3px 8px; }
  .home .latest-copy > p.small { font-size: 12px; margin-bottom: 2px; }
  .home .section-kicker { font-size: 15px; }
  .home .calendar-panel .section-heading > div { display: flex; align-items: baseline; gap: 12px; }
  .home .calendar-panel .section-heading h2 { font-size: 25px; }
  .home .calendar-subtitle { font-size: 13px; }
  .home .quiet-button { min-height: 40px; font-size: 14px; }
  .home .month-nav { margin-bottom: 5px; }
  .home .month-nav button { min-height: 36px; }
  .home .weekdays { font-size: 14px; margin-bottom: 4px; }
}
@media (max-width: 1023px) {
  .site-header:has(+ .home), .home { padding-left: 28px; padding-right: 28px; }
  .site-header:has(+ .home) { align-items: flex-start; padding-top: 26px; }
  .site-header:has(+ .home) .site-title { font-size: 32px; }
  .site-header:has(+ .home) .site-subtitle { font-size: 17px; }
  .site-header:has(+ .home) .header-meta { flex-direction: column-reverse; align-items: flex-end; gap: 10px; font-size: 13px; }
  .home .latest-content { flex-wrap: wrap; gap: 20px 26px; }
  .home .latest-confirmed { flex: 0 0 100%; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 3px 16px; border-left: 0; border-top: 1px solid var(--reader-line); padding: 16px 0 0; }
  .home .latest-confirmed h3 { margin: 0; }
  .home .latest-confirmed .confirmed-date { grid-column: 2; grid-row: 1 / 3; font-size: 30px; }
  .home .latest-confirmed .confirmed-date-label { grid-column: 1; grid-row: 2; margin: 0; font-size: 14px; }
  .home .latest-confirmed .confirmed-type { grid-column: 1; font-size: 15px; }
  .home .calendar-workspace { grid-template-columns: minmax(0,1fr); grid-template-areas: "calendar" "daily"; gap: 18px; }
  .home .calendar-panel, .home .daily-panel { padding: 24px; }
}
@media (max-width: 600px) {
  .site-title .brand:has(.brand-mark) { gap: 8px; font-size: clamp(20px,6.2vw,26px); }
  .brand-mark { width: 30px; height: 30px; flex-basis: 30px; }
  .site-header:has(+ .home), .home { padding-left: 14px; padding-right: 14px; }
  .site-header:has(+ .home) { display: grid; grid-template-columns: 1fr; gap: 14px; padding-top: 22px; padding-bottom: 18px; }
  .site-header:has(+ .home) .site-title { font-size: clamp(25px,7.2vw,32px); margin-bottom: 7px; }
  .site-header:has(+ .home) .site-subtitle { font-size: 14px; }
  .site-header:has(+ .home) .header-meta { flex-direction: row; justify-content: space-between; align-items: center; font-size: 13px; }
  .home { font-size: 16px; padding-bottom: 24px; }
  .home .latest { min-height: 0; padding: 18px; margin-bottom: 14px; }
  .home .section-kicker { font-size: 17px; margin-bottom: 14px; }
  .home .latest-content { display: grid; grid-template-columns: minmax(0,1fr); gap: 16px; }
  .home .latest .source-author { gap: 12px; }
  .home .latest .tibo-avatar { width: 48px; height: 56px; border-radius: 8px; }
  .home .source-author strong { font-size: 18px; }
  .home .author-handle { font-size: 14px; }
  .home .latest h2 { font-size: 20px; }
  .home .latest-message { font-size: 19px; line-height: 1.6; margin-top: 8px; }
  .home .latest-copy > p.small { font-size: 14px; }
  .home .latest-copy > p.small:last-child { margin-top: 8px; }
  .home .latest-confirmed { padding-top: 14px; }
  .home .latest-confirmed h3 { font-size: 14px; }
  .home .latest-confirmed .confirmed-date { font-size: 27px; }
  .home .latest-confirmed .confirmed-type { font-size: 14px; }
  .home .badge { font-size: 13px; padding: 5px 9px; }
  .home .calendar-workspace { gap: 14px; }
  .home .calendar-panel { padding: 18px 12px; }
  .home .daily-panel { padding: 18px 14px; }
  .home .section-heading { gap: 10px; margin-bottom: 16px; align-items: flex-start; }
  .home .section-heading h2 { font-size: 25px; }
  .home .calendar-subtitle { font-size: 12px; }
  .home .quiet-button { font-size: 13px; padding: 7px 10px; min-height: 44px; }
  .home .month-nav { margin-bottom: 12px; }
  .home .month-nav h3 { font-size: 23px; }
  .home .month-nav button { width: 44px; min-height: 44px; }
  .home .weekdays { font-size: 14px; margin-bottom: 8px; }
  .home .weekdays, .home .calendar-grid { gap: 4px; }
  .home .calendar-grid { grid-auto-rows: minmax(64px, auto); }
  .home .day { min-height: 64px; padding: 4px 0; gap: 3px; border-radius: 7px; }
  .home .day-number { font-size: 18px; line-height: 1.4; }
  .home .day-number i { width: 4px; height: 4px; right: -7px; top: 3px; }
  .home .day-marks { min-height: 22px; gap: 1px; }
  .home .day-event { font-size: clamp(9px,2.5vw,11px); line-height: 1.35; gap: 1px; }
  .home .day-event .reader-icon { width: 10px; height: 10px; }
  .home .day-event-full { display: none; }
  .home .today-label { min-width: 0; padding: 1px 6px; border-radius: 5px; font-size: 11px; line-height: 1.65; }
  .home .more-count { font-size: 9px; right: 1px; bottom: 0; }
  .home .legend { gap: 8px 16px; font-size: 12px; margin-top: 16px; }
  .home .legend > span { gap: 7px; }
  .home .legend-symbol, .home .legend-symbol .reader-icon, .home .legend .announcement-symbol { width: 14px; height: 14px; }
  .home .legend .credit-symbol .reader-icon { width: 17px; height: 17px; }
  .home .daily-panel .eyebrow { font-size: 17px; margin-bottom: 6px; }
  .home .daily-panel .section-heading h2 { font-size: 30px; }
  .home .daily-panel .posts .post-card { padding: 16px 14px 6px; }
  .home .posts .post-heading:has(.badge) { display: flex; flex-wrap: wrap; gap: 12px; }
  .home .posts .tibo-avatar { width: 46px; height: 52px; border-radius: 7px; }
  .home .posts .source-author { gap: 10px; }
  .home .post-status-meta { flex-basis: 100%; flex-direction: row; justify-content: space-between; align-items: center; gap: 8px; }
  .home .post-status-meta .badge { font-size: 12px; padding: 4px 7px; text-align: left; }
  .home .post-meta { font-size: 12px; }
  .home .post-translation { font-size: 18px; line-height: 1.75; margin: 16px 0; }
  .home .post-context { font-size: 15px; padding: 12px; margin: 16px 0; border-left-width: 4px; }
  .home .post-context > p:first-child { font-size: 12px; margin-bottom: 8px; }
  .home .post-context > p:first-child span { margin-left: 3px; }
  .home .small, .home .post-original .small { font-size: 13px; }
  .home .source-time-note { margin: 16px 0 6px; }
  .home .post-footer { margin-top: 6px; }
  .home .post-links { gap: 2px 8px; }
  .home .post-links a { font-size: 13px; min-height: 40px; }
  .home .source-originals { margin-top: 14px; padding-top: 48px; }
  .home .source-disclosure > summary { top: 4px; font-size: 14px; min-height: 40px; }
  .home .quote-disclosure > summary { left: 130px; }
  .home .source-original-body { padding: 12px; }
  .home .source-original-body .original { font-size: 15px; }
  .home .source-original-body .original-meta { font-size: 12px; }
  .home .day-empty { min-height: 230px; }
  .home .day-empty h3 { font-size: 17px; }
  .home .empty p { font-size: 14px; }
}
@media (max-width: 359px) {
  .site-header:has(+ .home), .home { padding-left: 10px; padding-right: 10px; }
  .home .calendar-panel { padding-left: 8px; padding-right: 8px; }
  .home .calendar-subtitle { font-size: 11px; }
  .home .quiet-button { font-size: 12px; padding: 7px 8px; }
  .home .legend { gap: 8px 11px; }
  .home .post-links { justify-content: flex-start; }
  .home .primary-source-link { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .theme-toggle, .theme-toggle-thumb, .theme-toggle .reader-icon, .home .source-disclosure > summary .reader-icon { transition: none; }
}
