/* Compact search history and truthful update states in both existing themes. */
.search-chips.suggestions{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-start;margin-bottom:24px}
.search-chips.suggestions>button{flex:0 1 auto;max-width:100%;width:auto;min-height:34px;padding:6px 11px;border:1px solid var(--line);border-radius:7px;font-size:12px;line-height:1.7;text-align:left;overflow-wrap:anywhere;background:var(--surface)}
.search-history-section .section-head{margin-bottom:12px}.search-history-section h2{font-size:17px}.search-refresh{margin-bottom:16px;min-height:36px}
.home-update-status{font-size:12px;margin-top:25px;color:var(--muted);border-top:1px solid var(--line);padding-top:12px}
.home-update-status summary{cursor:pointer;min-height:36px;line-height:36px}.home-update-status>div{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid var(--line)}
.home-update-status strong{font-weight:500;color:var(--ink)}.home-update-status p{font-size:11px;line-height:1.9}.home-update-status span{text-align:right}
#refreshHome.refreshing svg{animation:spin 1s linear infinite}.aside-heading{flex-wrap:wrap}.aside-heading h2{flex:1}#rematchSources,#reprobe{min-height:36px}
@media(max-width:600px){.search-chips.suggestions>button{font-size:11px;min-height:32px;padding:5px 10px}.home-update-status>div{flex-direction:column;gap:3px}.home-update-status span{text-align:left}}

/* Keep complete episode labels readable in the sidebar and player dialog. */
.episodes,.episodeDialog .episodes{grid-template-columns:repeat(auto-fill,minmax(min(100%,3.25rem),1fr));gap:8px;padding:2px 2px 8px;align-items:stretch}
.episodes.long-labels,.episodeDialog .episodes.long-labels{grid-template-columns:repeat(auto-fill,minmax(min(100%,7.25rem),1fr))}
.episodes button{display:flex;align-items:center;justify-content:center;min-width:0;min-height:44px;height:auto;padding:10px 8px;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;word-break:normal;line-height:1.65;text-align:center}
.episodes button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}

.episodes:not(.long-labels) button{padding-inline:4px}
