/* The style sheet of the web UI (ADR-0017, ADR-0059).

   Everything that a theme package may change is a token on :root. A token that has a light and a
   dark value uses light-dark(): the property `color-scheme` picks the value. `color-scheme` follows
   the device. The user can force `light` or `dark` with the attribute data-color-scheme on <html>.
   The attribute data-contrast="high" (or a device that asks for more contrast) makes the borders
   and the text stronger. A theme package (a file theme.css) loads after this file and sets tokens,
   and, when it needs to, rules. */
:root {
  color-scheme: light dark;

  /* Colours */
  --bg: light-dark(#f3f4fa, #0e1016);
  --bg-glow: light-dark(#e4defc, #1d1a3b);
  --surface: light-dark(#ffffff, #171a23);
  --surface-2: light-dark(#eef0f7, #1f2330);
  --text: light-dark(#191c26, #e9ebf2);
  --muted: light-dark(#5b6476, #a2abbc);
  --border: light-dark(#dcdfea, #2d3341);
  --accent: light-dark(#5b3df5, #a99bff);
  --accent-text: light-dark(#ffffff, #12101f);
  --accent-soft: light-dark(#ece8ff, #292552);
  --danger: light-dark(#b3261e, #ff8a80);
  --ok: light-dark(#1b7f3b, #6fd18a);
  --focus: light-dark(#1a73e8, #8ab4f8);
  --link-card-bg: var(--surface-2);

  /* Shape and depth */
  --radius: 0.75rem;
  --radius-sm: 0.5rem;
  --radius-pill: 999px;
  --radius-avatar: 50%;
  --shadow: 0 1px 2px light-dark(rgb(20 24 40 / 6%), rgb(0 0 0 / 40%)),
    0 6px 18px light-dark(rgb(20 24 40 / 6%), rgb(0 0 0 / 25%));
  --header-bg: color-mix(in srgb, var(--surface) 82%, transparent);

  /* Type and spacing */
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-heading: var(--font);
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --gap: 1rem;
  --measure: 44rem;
  --transition: 0.15s ease;
}

:root[data-color-scheme="light"] {
  color-scheme: light;
}

:root[data-color-scheme="dark"] {
  color-scheme: dark;
}

/* More contrast: the user asks for it, or the device does and the user did not choose. */
:root[data-contrast="high"] {
  --bg: light-dark(#ffffff, #000000);
  --bg-glow: var(--bg);
  --surface: light-dark(#ffffff, #000000);
  --surface-2: light-dark(#f0f0f0, #141414);
  --text: light-dark(#000000, #ffffff);
  --muted: var(--text);
  --border: var(--text);
  --accent: light-dark(#2a10c8, #cfc6ff);
  --accent-soft: light-dark(#e2dcff, #2a2060);
  --danger: light-dark(#8c1a14, #ffb3ad);
  --ok: light-dark(#0d5a26, #9be8b0);
  --shadow: none;
}

@media (prefers-contrast: more) {
  :root[data-contrast="auto"] {
    --bg: light-dark(#ffffff, #000000);
    --bg-glow: var(--bg);
    --surface: light-dark(#ffffff, #000000);
    --surface-2: light-dark(#f0f0f0, #141414);
    --text: light-dark(#000000, #ffffff);
    --muted: var(--text);
    --border: var(--text);
    --accent: light-dark(#2a10c8, #cfc6ff);
    --accent-soft: light-dark(#e2dcff, #2a2060);
    --danger: light-dark(#8c1a14, #ffb3ad);
    --ok: light-dark(#0d5a26, #9be8b0);
    --shadow: none;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(60rem 22rem at 50% -8rem, var(--bg-glow), transparent 70%);
  background-repeat: no-repeat;
}

a {
  color: var(--accent);
  text-underline-offset: 0.15em;
  transition: color var(--transition);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

::selection {
  background: var(--accent-soft);
}

.skip-link {
  position: absolute;
  left: -999px;
}

.skip-link:focus {
  left: var(--gap);
  top: var(--gap);
  background: var(--surface);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  z-index: 20;
}

/* The header and the navigation */
.site-header {
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

@media (min-width: 48rem) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 10;
  }
}

.site-header nav {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0.5rem var(--gap);
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.25rem;
  align-items: center;
}

.site-header .nav-links {
  display: flex;
  flex: 1 0 100%;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.1rem;
  margin: 0 -0.65rem;
}

.site-header nav a:not(.brand),
.site-header nav button.link {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
}

.site-header nav a:not(.brand):hover,
.site-header nav button.link:hover {
  background: var(--accent-soft);
  color: var(--text);
}

.site-header .brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--text);
  margin-right: auto;
}

.site-header .brand::before {
  content: "";
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 0.45rem;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 45%, #ff5ca8));
}

.site-header form {
  display: inline;
}

.site-header input[type="search"] {
  width: 10rem;
  max-width: 100%;
  padding: 0.3rem 0.8rem;
  font: inherit;
  font-size: 0.92rem;
  color: inherit;
  background: var(--surface-2);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  transition: border-color var(--transition), width var(--transition);
}

.site-header input[type="search"]:focus {
  border-color: var(--accent);
  outline: none;
  width: 14rem;
}

main {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 1.5rem var(--gap) 4rem;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 {
  font-size: 1.75rem;
  font-weight: 800;
  margin: 0 0 1rem;
}

h2 {
  font-size: 1.25rem;
  margin: 1.5rem 0 0.75rem;
}

h3 {
  font-size: 1.05rem;
}

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 1.5rem 0;
}

code,
pre,
kbd {
  font-family: var(--font-mono);
  font-size: 0.9em;
}

code,
kbd {
  background: var(--surface-2);
  border-radius: 0.3rem;
  padding: 0.1rem 0.35rem;
}

pre {
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  overflow-x: auto;
}

pre code {
  background: none;
  padding: 0;
}

dl {
  margin: 0.5rem 0;
}

dt {
  font-weight: 600;
  color: var(--muted);
  font-size: 0.9rem;
}

dd {
  margin: 0 0 0.6rem;
  overflow-wrap: anywhere;
}

blockquote {
  margin: 0.75rem 0;
  padding-left: 1rem;
  border-left: 3px solid var(--border);
}

/* Boxes */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--gap);
  margin-bottom: var(--gap);
}

.card > :first-child {
  margin-top: 0;
}

.card > :last-child {
  margin-bottom: 0;
}

.card:has(table) {
  overflow-x: auto;
}

/* A list of links in a box, with a line under each (the pages of the settings and of the staff). */
.card > ul:not([class]) {
  list-style: none;
  margin: 0;
  padding: 0;
}

.card > ul:not([class]) > li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
}

.card > ul:not([class]) > li:last-child {
  border-bottom: 0;
}

.card > ul:not([class]) > li > a:first-child {
  font-weight: 600;
  text-decoration: none;
}

.card > ul:not([class]) > li > a:first-child:hover {
  text-decoration: underline;
}

.stack > * + * {
  margin-top: var(--gap);
}

.flash {
  max-width: var(--measure);
  margin: var(--gap) auto 0;
  padding: 0.75rem var(--gap);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  border-left-width: 4px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.flash.error {
  border-color: var(--danger);
  background: color-mix(in srgb, var(--danger) 9%, var(--surface));
}

.flash.info {
  border-color: var(--ok);
  background: color-mix(in srgb, var(--ok) 9%, var(--surface));
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th,
td {
  text-align: left;
  padding: 0.5rem 0.75rem 0.5rem 0;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

tbody tr:hover {
  background: var(--surface-2);
}

/* Forms */
label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

fieldset {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin: 0 0 var(--gap);
  padding: 0.75rem var(--gap);
}

.card fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}

legend {
  font-weight: 700;
  padding: 0;
  margin-bottom: 0.5rem;
}

input:not([type="checkbox"], [type="radio"], [type="submit"], [type="button"], [type="hidden"], [type="file"], [type="range"], [type="color"]),
textarea,
select {
  width: 100%;
  padding: 0.55rem 0.8rem;
  font: inherit;
  color: inherit;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

input:not([type="checkbox"], [type="radio"], [type="submit"], [type="button"], [type="hidden"], [type="file"], [type="range"], [type="color"]):focus,
textarea:focus,
select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent);
  outline: none;
}

input[type="file"] {
  max-width: 100%;
  font: inherit;
  color: var(--muted);
}

input[type="file"]::file-selector-button {
  font: inherit;
  margin-right: 0.75rem;
  padding: 0.35rem 0.9rem;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  cursor: pointer;
}

input[type="file"]::file-selector-button:hover {
  border-color: var(--accent);
}

input[type="checkbox"],
input[type="radio"],
progress {
  accent-color: var(--accent);
}

::placeholder {
  color: var(--muted);
  opacity: 0.8;
}

textarea {
  min-height: 7rem;
  resize: vertical;
}

.field {
  margin-bottom: var(--gap);
}

.field .hint,
.muted {
  color: var(--muted);
  font-size: 0.9rem;
}

.errors {
  color: var(--danger);
  margin: 0 0 var(--gap);
  padding-left: 1.25rem;
}

.choice {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 400;
}

button,
.button {
  font: inherit;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  display: inline-block;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

button:hover,
.button:hover {
  background: var(--surface-2);
  border-color: var(--accent);
}

button:active,
.button:active {
  transform: translateY(1px);
}

button.primary,
.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-text);
  font-weight: 600;
}

button.primary:hover,
.button.primary:hover {
  background: color-mix(in srgb, var(--accent) 86%, var(--text));
  border-color: transparent;
}

button.danger,
.button.danger {
  color: var(--danger);
  border-color: var(--danger);
}

button.danger:hover,
.button.danger:hover {
  background: color-mix(in srgb, var(--danger) 12%, var(--surface));
  border-color: var(--danger);
}

button.link {
  border: 0;
  background: none;
  color: var(--accent);
  padding: 0;
  border-radius: 0;
  text-decoration: underline;
}

button.link:hover {
  background: none;
}

button[aria-pressed="true"] {
  background: var(--accent-soft);
  border-color: var(--accent);
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Statuses */
.status header {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.5rem;
}

.avatar {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-avatar);
  object-fit: cover;
  background: var(--border);
  flex: none;
}

.status .who {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}

.status .who a {
  text-decoration: none;
  color: var(--text);
  overflow-wrap: anywhere;
}

.status .name {
  font-weight: 700;
}

.status .content {
  overflow-wrap: anywhere;
  font-size: 1.02rem;
  line-height: 1.6;
}

.status .content p {
  margin: 0 0 0.6rem;
}

.status .content .invisible {
  display: none;
}

.status .content .ellipsis::after {
  content: "…";
}

.status details summary {
  cursor: pointer;
  font-weight: 600;
}

article.status {
  transition: border-color var(--transition);
}

article.status:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 0.5rem;
  margin: 0.5rem 0;
}

.media-grid img {
  width: 100%;
  max-height: 22rem;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--border);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--border);
}

.actions .button,
.actions button {
  font-size: 0.88rem;
  padding: 0.25rem 0.75rem;
  background: var(--surface-2);
  border-color: transparent;
}

.actions .button:hover,
.actions button:hover {
  background: var(--accent-soft);
  border-color: transparent;
}

.actions button[aria-pressed="true"] {
  border-color: transparent;
  color: var(--accent);
  font-weight: 600;
}

.boosted-by {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 0.5rem;
}

.status a.link-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--link-card-bg);
  color: inherit;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0.75rem 0 0;
  overflow: hidden;
  text-decoration: none;
  transition: border-color var(--transition);
}

.status a.link-card:hover {
  border-color: var(--accent);
}

.status a.link-card img {
  height: auto;
  max-height: 14rem;
  max-width: 100%;
  object-fit: cover;
  width: 100%;
}

.status a.link-card .link-card-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem 0.75rem;
}

.status blockquote.quote {
  margin: 0.75rem 0 0;
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--border);
  border-left: 0.25rem solid var(--accent);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
}

.status blockquote.quote p {
  margin: 0 0 0.25rem;
}

/* The profile: a wide picture, and the avatar on its lower edge. */
.profile-header {
  padding: 0;
  overflow: hidden;
}

.profile-header.stack > * + * {
  margin-top: 0;
}

.profile-header .header-image {
  display: block;
  width: 100%;
  height: 10rem;
  object-fit: cover;
  background: linear-gradient(135deg, var(--accent-soft), var(--surface-2));
}

.profile-header > .status {
  padding: 0 var(--gap) var(--gap);
}

.profile-header .status header {
  align-items: flex-end;
}

.profile-header .avatar {
  width: 5rem;
  height: 5rem;
  margin-top: -2.5rem;
  border: 4px solid var(--surface);
}

.profile-header h1 {
  font-size: 1.4rem;
  margin: 0;
}

.counts {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.92rem;
}

.pager {
  display: flex;
  justify-content: space-between;
}

/* The choice of a theme on the page of the settings. */
.theme-choices {
  display: grid;
  gap: 0.5rem;
}

.theme-choice {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  padding: 0.7rem 0.9rem;
  font-weight: 400;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}

.theme-choice:hover {
  border-color: var(--accent);
}

.theme-choice:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.theme-choice-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.theme-swatch {
  flex: none;
  display: inline-block;
  width: 4rem;
  height: 1rem;
  border-radius: 0.3rem;
  border: 1px solid var(--border);
  overflow: hidden;
}

@media (max-width: 40rem) {
  main {
    padding: 1rem 0.75rem 3rem;
  }

  .card {
    padding: 0.85rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  .site-header input[type="search"],
  .site-header input[type="search"]:focus {
    width: 8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* LiveView state */
.phx-connected .connection-lost,
.connection-lost {
  display: none;
}

/* The banner appears after 1.5 s. A page load or a short reconnect takes less, and a banner that
   flashes for a moment is worse than none. */
.phx-loading .connection-lost,
.phx-client-error .connection-lost,
.phx-server-error .connection-lost {
  display: block;
  opacity: 0;
  animation: connection-lost-in 0.2s ease 1.5s forwards;
  background: var(--danger);
  color: var(--accent-text);
  padding: 0.5rem var(--gap);
  text-align: center;
}

@keyframes connection-lost-in {
  to {
    opacity: 1;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Custom emoji in a post: about as high as the text. */
img.emoji {
  height: 1.2em;
  width: auto;
  vertical-align: middle;
}

/* Polls */
.poll fieldset {
  border: 0;
  margin: 0 0 0.5rem;
  padding: 0;
}

.poll-choice {
  display: block;
  padding: 0.25rem 0;
}

.poll-results {
  list-style: none;
  margin: 0 0 0.5rem;
  padding: 0;
}

.poll-results li {
  margin-bottom: 0.5rem;
}

.poll-bar {
  appearance: none;
  background: var(--border);
  border: 0;
  border-radius: 4px;
  display: block;
  height: 6px;
  overflow: hidden;
  width: 100%;
}

.poll-bar::-webkit-progress-bar {
  background: var(--border);
}

.poll-bar::-webkit-progress-value {
  background: var(--accent);
}

.poll-bar::-moz-progress-bar {
  background: var(--accent);
}

form.inline {
  display: inline;
}

li.inline-block {
  display: inline-block;
}

/* Posts that a filter hides behind a warning */
details.filtered {
  margin: 0.5rem 0;
}

details.filtered > summary {
  color: var(--muted);
  cursor: pointer;
}

/* The box to write a post: files */
.upload {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.upload img {
  border-radius: 4px;
  height: 96px;
  object-fit: cover;
  width: 96px;
}

/* The QR code of the two-factor setup: black on white, also in the dark theme, so scanners read it. */
.qr svg {
  display: block;
  width: 14rem;
  max-width: 100%;
  height: auto;
  margin: 0.5rem 0;
  border-radius: 0.25rem;
}

/* The attribute `hidden` wins over the display rules of components. */
[hidden] {
  display: none !important;
}

/* Suggestions and the picker in the box to write a post (ADR-0045). */
.composer-suggestions {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0;
  max-height: 14rem;
  overflow-y: auto;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.composer-suggestions li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
}

.composer-suggestions li[aria-selected="true"] {
  outline: 2px solid currentColor;
  outline-offset: -2px;
}

.composer-suggestions img {
  border-radius: var(--radius);
}

.composer-picker {
  margin-top: 0.25rem;
  padding: 0.5rem;
  max-height: 14rem;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.composer-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.composer-group strong {
  flex-basis: 100%;
  font-size: 0.85rem;
}

.emoji-button {
  min-width: 2.25rem;
  min-height: 2.25rem;
  padding: 0.15rem;
  font-size: 1.25rem;
  line-height: 1;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
}

.emoji-button:hover,
.emoji-button:focus-visible {
  border-color: var(--border);
}

/* Staff statistics: period links and a table that scrolls on a narrow screen. */
.tabs {
  display: flex;
  gap: var(--space-3, 0.75rem);
  margin-block: 0.5rem 1rem;
}

.tabs a {
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
}

.tabs a:hover {
  background: var(--accent-soft);
}

.tabs a[aria-current="page"] {
  font-weight: 700;
  background: var(--accent-soft);
}

.table-scroll {
  overflow-x: auto;
}

.preserve-lines {
  white-space: pre-wrap;
}

/* The emoji picker: search, skin tone, groups (ADR-0049). */
.emoji-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.emoji-search {
  flex: 1 1 10rem;
  min-width: 0;
}

.emoji-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
  margin-bottom: 0.5rem;
}

.emoji-tabs button[aria-pressed="true"] {
  font-weight: 700;
  text-decoration: none;
}

.emoji-note {
  margin: 0 0 0.5rem;
}

/* The thread of a post (the page of one post) */
.thread-reply {
  margin-left: calc(var(--depth, 0) * 1rem);
}

.thread-current > article.status {
  border-left: 4px solid var(--accent);
}

article.status {
  cursor: pointer;
}
