.compact-section-header { position: relative; overflow: visible; }
.compact-section-row { display: flex; align-items: center; gap: 12px; padding: 16px 20px; min-height: 72px; box-sizing: border-box; }
.compact-section-row h1 { margin: 0; min-width: 0; flex: 1; font-size: 24px; }
.compact-section-row h1 > span { display: flex; align-items: center; gap: 10px; }
.compact-section-actions { display: flex; gap: 8px; flex-shrink: 0; margin-left: auto; }
.compact-section-button { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 12px; background: var(--accent-soft, #e1efff); color: var(--accent, #1976d2); cursor: pointer; flex-shrink: 0; font-size: 19px; text-decoration: none; }
.compact-section-button:hover, .compact-section-button[aria-expanded="true"] { box-shadow: inset 0 0 0 1px currentColor; }
.compact-section-button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.compact-section-input { display: flex; align-items: center; flex: 1; min-width: 0; gap: 6px; padding: 3px 5px 3px 14px; border: 1px solid var(--line); border-radius: 13px; background: var(--card); transition: border-color .16s ease, box-shadow .16s ease; animation: section-input-in .18s ease-out; }
.compact-section-input:focus-within { border-color: var(--focus-border, var(--blue)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 10%, transparent); }
.compact-section-input input[type="search"] { appearance: none; -webkit-appearance: none; flex: 1; width: 100%; min-width: 0; height: 34px; margin: 0; padding: 0; border: 0; border-radius: 0; outline: none; box-shadow: none; background: transparent; color: var(--ink); font: inherit; }
.compact-section-input input[type="search"]:focus-visible { outline: none; box-shadow: none; }
.compact-section-input input::placeholder { color: var(--muted); opacity: 1; }
.compact-section-input input::-webkit-search-decoration,
.compact-section-input input::-webkit-search-cancel-button { -webkit-appearance: none; }
.compact-section-input .compact-section-button { width: 30px; height: 30px; border-radius: 8px; background: transparent; color: var(--blue); font-size: 16px; }
.compact-section-input .compact-section-button:hover { background: var(--selected); box-shadow: none; }
.compact-section-header.is-searching h1 { display: none; }
.compact-search-tabs { display: flex; gap: 6px; padding: 0 20px 12px; }
.compact-search-tabs button { padding: 7px 14px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font: inherit; cursor: pointer; }
.compact-search-tabs button[aria-pressed="true"] { background: var(--selected); color: var(--accent-ink); }
.compact-search-tabs button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.section-overview > summary h1 > .feed-overview-plus { display: inline-flex; flex: 0 0 40px; }
.compact-section-results { position: absolute; z-index: 50; top: calc(100% + 8px); left: 0; right: 0; padding: 14px; border-radius: 16px; background: var(--surface, #fff); color: var(--text, #172238); border: 1px solid var(--border, #d7e5f5); max-height: min(60vh, 460px); overflow-y: auto; box-shadow: 0 12px 32px #0002; }
.compact-section-results[hidden] { display: none; }
.compact-section-results > a { display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: 10px; color: inherit; text-decoration: none; }
.compact-section-results > a:hover { background: var(--accent-soft, #e1efff); }
.compact-section-results small { color: var(--muted, #71829c); }
.compact-section-button { background: var(--selected); color: var(--accent-ink); }
.compact-section-results { background: var(--card); color: var(--ink); border-color: var(--line); }
.compact-section-results > a:hover { background: var(--selected); }
.music-playlist-create > .library-create-button { width: 40px; height: 40px; box-sizing: border-box; }
.music-playlist-create[open] > .library-create-button { box-shadow: inset 0 0 0 1px currentColor; }
@media (max-width: 760px) {
  .music-playlist-library__heading { flex-direction: row; align-items: center; flex-wrap: wrap; }
  .music-playlist-library__heading > .music-playlist-create:not([open]) { width: auto; margin-left: auto; }
}
@keyframes section-input-in { from { opacity: 0; transform: translateX(15px); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) {
  .compact-section-row { padding: 12px; gap: 8px; min-height: 64px; }
  .compact-section-row h1 { font-size: 19px; }
  .compact-section-row h1 > span { gap: 6px; }
  .compact-section-actions { gap: 5px; }
  .compact-section-button { width: 36px; height: 36px; border-radius: 10px; }
}
@media (prefers-reduced-motion: reduce) { .compact-section-input { animation: none; } }
