/* The switch remains available in both the original and the new appearance. */
.appearance-switch { margin-top:10px; text-align:center; }
.appearance-switch [data-appearance-toggle] {
  display:inline-flex; align-items:center; gap:6px; width:auto; min-height:30px;
  margin:0; padding:4px 9px; border:1px solid var(--line,#71516d); border-radius:6px;
  background:transparent; color:var(--muted,#d1d1d1); font:400 12px/1.5 Arial,sans-serif;
  cursor:pointer; text-transform:none; transition:color .15s,background-color .15s;
}
.appearance-switch [data-appearance-toggle]::before { content:'◐'; font-size:14px; }
.appearance-switch [data-appearance-toggle]:hover { background:var(--soft,#372137); color:var(--ink,#fff); }
.appearance-switch [data-appearance-toggle]:focus-visible { outline:2px solid var(--accent,#e2aacd); outline-offset:3px; }
.appearance-switch [data-appearance-toggle][hidden] { display:none !important; }
:root:not([data-appearance-enabled='true']) .appearance-switch { display:none; }

/* Small compatibility rules for markup shared with the classic appearance. */
.story-actions { clear:both; }
.story-actions a { display:inline-block; margin:3px 6px 3px 0; }
.story-management { display:inline; }
.story-management > br { display:none; }
:root[data-appearance='classic'] .profile-heading h2 { display:inline; }
:root[data-appearance='classic'] .profile-heading > a { margin-left:8px; font-size:12px; }
:root[data-appearance='classic'] .captcha-fields { display:flex; align-items:center; gap:10px; }
:root[data-appearance='classic'] .site-stats { font:11px/1.5 Verdana,Arial,sans-serif; }
:root[data-appearance='classic'] .site-stats .stats-totals { margin:0 0 8px; }
:root[data-appearance='classic'] .stats-totals > div { display:flex; gap:5px; }
:root[data-appearance='classic'] .stats-totals dd { margin:0; font-weight:bold; }
:root[data-appearance='classic'] .stats-group { margin-top:12px; }
:root[data-appearance='classic'] .stats-group h3 { margin:0 0 5px; font:600 12px/1.5 Verdana,Arial,sans-serif; }
:root[data-appearance='classic'] .stats-entry { margin:4px 0; }
:root[data-appearance='classic'] .stats-detail { display:inline; }
:root[data-appearance='classic'] .stats-period { margin-right:5px; }
:root[data-appearance='classic'] .stats-value { margin-left:5px; }
