/* Reading controls belong to the content toolbar, independent of the sidebar. */
.brand-row { display:flex; flex-direction:column; gap:6px; }
.brand { width:100%; max-width:100%; gap:0; }
.brand-name { display:block; white-space:nowrap; overflow-wrap:normal; font-size:clamp(17px,1.8vw,30px); }
.brand-row .header-tools { align-self:center; }
.site-tools { display:flex; align-items:center; justify-content:flex-end; gap:4px; margin:-16px 0 18px; position:relative; z-index:5; color:var(--heading); }
.site-tools .reading-controls { display:flex; gap:4px; width:auto; margin:0; color:inherit; }
.site-tools .reading-choice>summary { width:40px; height:40px; min-height:40px; padding:8px; justify-content:center; border-radius:50%; }
.reading-symbol { font-family:var(--sans); font-size:16px; font-weight:600; }
.site-tools .reading-choice-panel { position:absolute; top:calc(100% + 8px); bottom:auto; left:auto; right:0; width:max-content; min-width:170px; max-width:calc(100vw - 40px); padding:10px; margin:0; background:var(--paper, #fff); border:1px solid var(--line); border-radius:8px; box-shadow:0 8px 24px #0002; z-index:20; }
[data-theme="dark"] .site-tools .reading-choice-panel { background:var(--field-bg,#252930); }
.site-tools .theme-toggle { border-radius:50%; }
.stats-overview { display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:16px; margin:28px 0 20px; }
.stats-overview>div { padding:20px; border:1px solid var(--line); border-radius:8px; }
.stats-overview dt { color:var(--muted); font-size:13px; }
.stats-overview dd { margin:8px 0 0; color:var(--heading); font-size:25px; font-variant-numeric:tabular-nums; }
.stats-sorts { display:flex; flex-wrap:wrap; gap:8px; margin:24px 0 16px; }
.stats-sorts a { padding:7px 12px; border:1px solid var(--line); border-radius:20px; font-size:13px; }
.stats-sorts a[aria-current] { background:var(--link); color:var(--paper,#fff); border-color:var(--link); }
.stats-table-wrap { overflow:auto; max-width:100%; }
.stats-table { width:100%; border-collapse:collapse; font-size:14px; }
.stats-table th,.stats-table td { padding:14px 10px; border-bottom:1px solid var(--line); text-align:right; font-variant-numeric:tabular-nums; white-space:nowrap; }
.stats-table th:nth-child(2) { text-align:left; white-space:normal; min-width:180px; width:60%; font-weight:400; }
.stats-table small { display:block; color:var(--muted); font-size:11px; margin-top:4px; }
.prose .vt-post-card { display:flex; gap:18px; align-items:center; }
.prose .vt-post-card:after { display:none; }
.prose .vt-hs-post-cover { float:none; flex:0 0 110px; width:110px; max-width:30%; height:85px; margin:0; object-fit:cover; }
.vt-post-card-text { min-width:0; }
.prose .vt-post-card-text p { margin:6px 0 0; font-size:.85em; line-height:1.65; color:var(--muted); }
@media(max-width:760px) {
  .brand-row { flex-direction:row; gap:8px; }
  .brand { width:auto; flex:1; justify-content:flex-start; }
  .brand-name { font-size:clamp(17px,4.7vw,25px); }
  .site-tools { margin:-14px 0 12px; }
  .site-tools .reading-choice>summary { width:36px; height:36px; min-height:36px; }
  .stats-overview { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .stats-overview>div { padding:14px; }
  .stats-overview dd { font-size:20px; }
}
@media print { .site-tools { display:none!important; } }
