/* Settings page (/account), owner decision 2026-11-24: three sections with a short menu on the left (Account,
   Content, Notifications), only the chosen one shown; on a narrow window the menu is a row of tabs on top.
   Mockup: design-refs/settings-mockup.html ("In sections"). Theme tokens only. */
main.st-page { max-width: 1000px; margin: 28px auto 60px; padding: 0 16px; }
.st-title { font-weight: 300; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-size: 20px; margin: 0 0 16px; }
.st-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; align-items: start; }
.st-menu { display: flex; flex-direction: column; gap: 4px; position: sticky; top: calc(var(--hdr-h, 0px) + 12px); transition: top .22s ease; }
.st-menu button { text-align: left; background: transparent; color: var(--muted); border: 0; border-left: 3px solid transparent; border-radius: 9px;
  padding: 10px 14px; font-weight: 500; font-size: 15px; width: 100%; }
.st-menu button:hover { color: var(--text); }
.st-menu button[aria-selected="true"] { background: var(--panel); color: var(--gold); border-left-color: var(--gold); }
.st-menu button:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.st-sections { min-width: 0; }
.st-sec .card { padding: 20px 22px; margin-bottom: 14px; min-width: 0; }
.st-sec .card h2 { margin-bottom: 6px; }
.st-sec .card > .muted:first-of-type { margin-top: 0; }
.st-sec .primary { width: auto; padding: 10px 18px; }
.st-line a { color: var(--gold); margin-left: 4px; }
.st-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.st-list { margin: 0 0 14px; padding-left: 20px; font-size: 14px; line-height: 1.5; }
.st-list li { margin: 4px 0; }
.st-list b { color: var(--text); }
.st-danger { border-color: color-mix(in srgb, var(--danger) 45%, var(--bg)); }
.st-danger h2 { color: var(--danger); }
.st-delete { background: var(--danger-strong); color: var(--on-danger); }
.st-delete:hover { opacity: .9; }

/* Download my data */
.st-dl { display: flex; flex-direction: column; gap: 10px; }
.st-dl .st-row { margin-top: 0; }
.st-bar { height: 8px; border-radius: 999px; background: var(--field); border: 1px solid var(--line); overflow: hidden; }
.st-bar i { display: block; height: 100%; width: 0; background: var(--gold); transition: width .3s; }
@media (prefers-reduced-motion: reduce) { .st-bar i { transition: none; } }
.st-dl a.st-btn { display: inline-block; text-decoration: none; background: var(--gold); color: var(--on-gold); font-weight: 600; font-size: 14px; border-radius: 8px; padding: 10px 18px; }

/* Blocked creators: the list and the search */
.st-people { display: flex; flex-direction: column; }
.st-person { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); min-width: 0; }
.st-person:first-child { border-top: 0; }
.st-av { width: 38px; height: 38px; border-radius: 50%; flex: none; overflow: hidden; border: 1px solid var(--line-strong); background: var(--card); }
.st-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.st-who { flex: 1; min-width: 0; }
.st-who b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.st-who b a { color: inherit; text-decoration: none; }
.st-who b a:hover { color: var(--gold); }
.st-who small { color: var(--muted); font-size: 12.5px; }
.st-person button { flex: none; padding: 7px 14px; font-size: 13px; }
.st-find { margin-top: 10px; }
.st-find input { max-width: 420px; }
.st-results { max-width: 420px; }
.st-results:not(:empty) { margin-top: 6px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; background: var(--card); }

/* Notifications: the always-on line */
.st-locked { opacity: .75; }
.st-kind small { display: block; color: var(--muted); font-size: 12.5px; }

@media (max-width: 760px) {
  main.st-page { margin-top: 18px; }
  .st-layout { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .st-menu { flex-direction: row; position: static; overflow-x: auto; border-bottom: 1px solid var(--line); gap: 0; }
  .st-menu button { border-left: 0; border-bottom: 3px solid transparent; border-radius: 0; white-space: nowrap; width: auto; padding: 10px 14px; }
  .st-menu button[aria-selected="true"] { background: none; border-bottom-color: var(--gold); }
  .st-sec .card { padding: 16px; }
}
