:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, "Hiragino Sans", "Yu Gothic", sans-serif;
  line-height: 1.5;
  color: #142b26;
  background: #f0f5ee;
  --ink: #142b26;
  --muted: #53665f;
  --link: #19614e;
  --accent: #d4eb8b;
  --edge: #dce6de;
  --soft: #f3f7f2;
  --paper: #fff;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 15px; }
[hidden] { display: none !important; }
button, input, select { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:active:not(:disabled) { filter: brightness(.93); }
button {
  cursor: pointer; padding: 8px 13px; border: 1px solid #c9d8ce; border-radius: 8px;
  background: #fff; color: var(--ink); font-weight: 700;
}
button:hover { background: #ebf3eb; }
button:disabled { cursor: default; opacity: .6; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #53947f; outline-offset: 2px; }
a { color: var(--link); text-underline-offset: 3px; }
input, select { padding: 8px 10px; background: #fff; border: 1px solid #c4d5ca; border-radius: 8px; min-width: 0; width: 100%; }
label { display: grid; gap: 4px; font-size: 13px; font-weight: 700; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 22px; letter-spacing: -.035em; }
h2 { font-size: 16px; }
h3 { font-size: 14px; }
img { max-width: 100%; display: block; }
.masthead { background: #18372f; color: #fff; }
.mast-inner { max-width: 1190px; margin: auto; display: flex; align-items: center; justify-content: space-between; padding: 12px 22px; gap: 12px; }
.wordmark { color: #fff; font-size: 25px; font-weight: 900; letter-spacing: -.09em; text-decoration: none; line-height: 1.15; white-space: nowrap; }
.panel { padding: 14px; background: #fff; border: 1px solid var(--edge); border-radius: 13px; min-width: 0; }
.panel h2 { padding-bottom: 6px; }
dialog { background: #fff; color: var(--ink); border: 1px solid var(--edge); border-radius: 14px; padding: 0; width: min(580px, calc(100% - 24px)); max-height: 90dvh; box-shadow: 0 12px 50px #122c2447; overflow: auto; }
dialog::backdrop { background: #18362ba6; }
.dialog-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; background: #f4f8f3; border-bottom: 1px solid var(--edge); padding: 8px 13px; }
.dialog-head button { width: 42px; height: 42px; padding: 0; font-size: 21px; }
.dialog-body { display: grid; gap: 11px; padding: 13px; }
.resident-choice { display: flex; align-items: center; text-align: left; gap: 10px; padding: 8px; }
.resident-choice[aria-pressed=true], .image-option[aria-pressed=true] { outline: 2px solid #36896d; outline-offset: -2px; background: #edf5e9; }
.filters { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 9px; }
.image-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 7px; max-height: 205px; overflow: auto; padding: 2px; }
.image-option { min-width: 0; padding: 4px; font-size: 11px; line-height: 1.33; }
.image-option img { width: 100%; aspect-ratio: 4/3; object-fit: cover; margin-bottom: 4px; border-radius: 5px; }
.preview { background: #f2f7ed; padding: 8px 10px; border: 1px solid #deeadc; border-radius: 8px; }
.preview-card { display: grid; grid-template-columns: 1fr minmax(80px, 38%); gap: 5px; align-items: center; }
.preview img { max-height: 120px; margin-left: auto; border-radius: 6px; }
#compose-error, .image-unavailable { color: #8c3535; font-size: 13px; padding: 4px; }
#toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: 15px; z-index: 5; background: #17392e; color: #fff; padding: 10px 15px; border-radius: 9px; width: max-content; max-width: calc(100% - 24px); }
.back-to-feed { color: #fff; font-size: 13px; }
.dashboard { max-width: 880px; margin: 20px auto 48px; padding: 0 15px; }
.dashboard h1 { margin-bottom: 10px; }
.dashboard .panel { margin: 0 0 12px; }
.dashboard #login { max-width: 440px; display: grid; gap: 8px; }
#status { background: #eef6d7; padding: 8px 12px; margin-bottom: 12px; border-radius: 8px; }
.form-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; }
.schedule { margin-top: 10px; }
details { margin: 8px 0; }
summary { cursor: pointer; font-weight: 700; color: var(--link); }
#signature-preview img { max-height: 260px; width: auto; margin-top: 8px; }
.admin-list { display: grid; gap: 8px; }
.moderation-row, .asset-row { display: flex; align-items: center; gap: 9px; justify-content: space-between; border-top: 1px solid var(--edge); padding: 8px 0; }
.draft { border: 1px solid var(--edge); border-radius: 9px; padding: 10px; }
.draft > img { max-height: 205px; object-fit: contain; margin-top: 8px; border-radius: 6px; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.asset-table { margin: 10px 0; }
.asset-row img, .hidden-indicator { flex: 0 0 62px; width: 62px; height: 48px; object-fit: cover; }
.asset-row > div { flex: 1; min-width: 0; }
.asset-row code { font-size: 10px; display: block; overflow-wrap: anywhere; }
.asset-row button, .moderation-row button { flex: 0 0 auto; font-size: 12px; }
#muse-switches { margin-top: 8px; }
#muse-switches button[aria-pressed=true] { border-color: #86b396; background: #e1efdc; }
.draft-image-review { margin: 8px 0; display: grid; justify-items: start; gap: 6px; }
.draft-image-review img { max-height: 280px; }
.review-check { display: flex; gap: 8px; align-items: start; }
.review-check input { flex: 0 0 16px; width: 16px; }
:root { --ink:#101d2b; --muted:#526371; --edge:#dbe1e5; --link:#135781; --blue:#08699e; color:var(--ink); background:#f6f8fa; }
.sr-only { position:absolute; width:1px; height:1px; margin:-1px; clip-path:inset(50%); overflow:hidden; }
.icon-sprite { position:absolute; }
.stream-shell { display:grid; grid-template-columns:205px minmax(0,610px); gap:26px; max-width:900px; margin:auto; padding:0 20px; align-items:start; }
.rail { position:sticky; top:0; padding:25px 8px; display:grid; gap:9px; }
.rail .wordmark { color:var(--ink); font-size:29px; margin:0 0 25px 9px; }
.glyph { width:23px; height:23px; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; fill:none; flex:none; }
.nav-item, .rail-post { display:flex; align-items:center; gap:14px; padding:12px; border:none; border-radius:24px; background:transparent; font-size:16px; }
.nav-item:hover, .text-button:hover { background:#eaf1f6; }
[data-act=home] { font-weight:800; }
.primary, .rail-post { background:var(--blue); color:white; border:0; }
.primary:hover { background:#06557f; }
.rail-post { justify-content:center; margin-top:14px; }
.admin-link { margin:24px 12px; font-size:12px; }
.mobile-nav { display:none; }
.timeline { min-height:100vh; min-width:0; background:white; border-inline:1px solid var(--edge); }
.stream-head { position:sticky; top:0; z-index:2; background:rgba(255,255,255,.97); border-bottom:1px solid var(--edge); }
.stream-title { display:flex; align-items:center; justify-content:space-between; padding:6px 16px 0; min-height:48px; }
.stream-title h1 { font-size:23px; font-weight:850; letter-spacing:-.07em; }
#timeline-home { display:inline-flex; align-items:center; gap:6px; min-height:44px; color:var(--blue); text-decoration:none; font-size:14px; }
#timeline-home:hover { text-decoration:underline; }
.missing-post { width:min(100%,540px); margin:14dvh auto; padding:24px; }
.missing-post p { color:var(--muted); margin-bottom:8px; }
.missing-post a { display:inline-flex; align-items:center; min-height:44px; margin-top:12px; }
#filter-toggle { display:grid; place-items:center; width:44px; height:44px; background:none; border:0; border-radius:50%; }
#filter-toggle:hover, #filter-toggle.filtered { color:var(--blue); background:#e7f3fa; }
#filter-toggle .glyph { width:20px; }
.tabs { display:grid; grid-template-columns:1fr 1fr; }
.tabs button { position:relative; border:0; background:none; min-height:44px; color:var(--muted); border-radius:0; }
.tabs button[aria-pressed=true] { color:var(--ink); }
.tabs button[aria-pressed=true]::after { content:""; position:absolute; left:calc(50% - 20px); bottom:0; width:40px; height:3px; border-radius:3px; background:var(--blue); }
.browse-filters { display:flex; overflow-x:auto; gap:6px; padding:7px 12px; border-bottom:1px solid var(--edge); }
.filter-chip { white-space:nowrap; min-height:40px; font-size:13px; border-radius:20px; }
.filter-chip[aria-pressed=true] { color:#fff; background:#273947; border-color:#273947; }
.card { padding:15px 18px 4px 70px; border-bottom:1px solid var(--edge); position:relative; }
.card-byline { display:flex; align-items:center; min-height:35px; gap:8px; }
.card-byline strong { font-size:15px; }
.avatar { width:38px; height:38px; flex:none; object-fit:cover; border-radius:50%; background:#e9f0f4; }
.card-byline > .avatar { position:absolute; top:15px; left:17px; }
.archive-avatar, .blank-avatar { display:grid; place-items:center; color:#fff; font-size:23px; font-weight:900; background:#276682; }
.meta, .muted, .post-link { color:var(--muted); font-size:12px; }
.post-link { text-decoration:none; }
.post-link:hover { text-decoration:underline; }
.post-body, .image-caption { margin:8px 0; overflow-wrap:anywhere; white-space:pre-wrap; line-height:1.6; }
.feed-image { display:block; max-width:100%; height:auto; max-height:clamp(270px,54dvh,480px); border-radius:13px; border:1px solid #17293a19; margin:8px 0 1px; object-fit:contain; }
.feed-image[role=button] { cursor:zoom-in; }
.feed-image:focus-visible { outline:3px solid var(--blue); outline-offset:2px; }
.card-actions, .reactions, .original-links { display:flex; align-items:center; gap:4px 12px; }
.card-actions { flex-wrap:wrap; justify-content:space-between; }
.original-links { flex-wrap:wrap; font-size:12px; }
.original-links a, .text-button { display:inline-flex; align-items:center; min-height:44px; }
.original-links a { color:var(--muted); text-decoration:none; }
.original-links a:hover { text-decoration:underline; }
.text-button { border:0; background:transparent; padding:0 7px; color:var(--muted); }
.like { min-width:44px; font-size:15px; }
.like[aria-pressed=true], .danger { color:#a52953; }
.post-menu { position:relative; margin:0; }
.post-menu summary { list-style:none; display:grid; width:44px; height:44px; place-items:center; color:var(--muted); }
.post-menu summary::-webkit-details-marker { display:none; }
.post-menu-items { position:absolute; z-index:2; left:0; bottom:calc(100% - 4px); padding:3px 6px; display:grid; min-width:100px; background:#fff; border:1px solid var(--edge); border-radius:12px; box-shadow:0 6px 22px #0d1c3020; }
.source-reaction { margin-left:auto; color:var(--muted); font-size:11px; }
.reply-card { margin:0 0 10px; padding:8px 0 0 12px; border-left:2px solid var(--edge); }
.reply-byline { display:flex; align-items:center; gap:7px; }
.reply-byline .avatar { width:24px; height:24px; }
.more-row, .empty { text-align:center; padding:28px 14px; color:var(--muted); }
.more-row { display:flex; justify-content:center; gap:8px; flex-wrap:wrap; }
.more-row button { border-radius:22px; color:var(--blue); min-height:44px; }
.refresh-row { display:flex; justify-content:center; padding:4px 0 10px; }
.refresh-row button { min-height:44px; border:0; background:transparent; color:var(--blue); font-size:13px; }
.refresh-row button::before { content:'↑'; margin-right:6px; }
.pull-indicator { position:fixed; z-index:4; bottom:calc(78px + env(safe-area-inset-bottom)); left:50%;
  display:flex; align-items:center; gap:8px; pointer-events:none; padding:7px 15px; border:1px solid var(--edge);
  border-radius:22px; color:var(--blue); background:#fff; box-shadow:0 2px 9px #132c421c; font-size:13px;
  transform:translate(-50%,calc(-20px * var(--pull-progress,0))); white-space:nowrap; }
.pull-indicator::before { content:'↑'; display:grid; place-items:center; color:white; background:var(--blue);
  border-radius:50%; width:21px; height:21px; transform:rotate(calc(180deg * var(--pull-progress,0))); }
@media(prefers-reduced-motion:reduce) { .pull-indicator {transform:translateX(-50%)} .pull-indicator::before {transform:none} }
html { overscroll-behavior-y:contain; touch-action:manipulation; }
@media (pointer:coarse) {
  body :is(input,select,textarea) { font-size:max(16px,1rem); }
}
.dialog-head { background:white; }
.preview { background:#f3f7fa; }
.dialog-body select, .dialog-body input { font-size:16px; }
@media(max-width:700px) {
  :root { background:#fff; }
  .stream-shell { display:block; max-width:540px; padding:0; margin:0 auto calc(72px + env(safe-area-inset-bottom)); }
  .rail { display:none; }
  .timeline { border:0; }
  .stream-title { padding: max(4px,env(safe-area-inset-top)) 12px 0 16px; }
  .card { padding:12px 12px 2px 56px; }
  .card-byline > .avatar { top:14px; left:10px; width:36px; height:36px; }
  .feed-image { max-height:48dvh; }
  .mobile-nav { position:fixed; z-index:4; bottom:0; left:0; right:0; display:flex; justify-content:space-evenly; background:#fffffff7; border-top:1px solid var(--edge); padding:3px 8px max(3px,env(safe-area-inset-bottom)); }
  .mobile-nav .nav-item { flex:1; justify-content:center; flex-direction:column; gap:1px; padding:4px 3px; min-height:48px; font-size:10px; }
  dialog { max-height:89dvh; }
  dialog#compose-dialog { width:100%; max-width:100%; margin:auto 0 0; border-radius:18px 18px 0 0; }
  .dialog-body { padding:12px 14px max(14px,env(safe-area-inset-bottom)); }
  .image-grid { max-height:clamp(110px,22dvh,180px); }
  #compose-form #publish { min-height:44px; }
  #toast { bottom:calc(72px + env(safe-area-inset-bottom)); }
}
.messages-dialog { width:min(660px,calc(100vw - 32px)); height:min(760px,88dvh); max-height:none;
  padding:0; overflow:hidden; border-color:var(--edge); border-radius:20px; box-shadow:0 20px 70px rgb(13 34 49 / .24); }
.messages-dialog[open] { display:flex; flex-direction:column; }
.messages-dialog::backdrop { background:#101d2b70; }
html:has(.messages-dialog[open]) { overflow:hidden; }
.messages-head, .messages-foot { flex:none; background:var(--paper); }
.messages-head { position:relative; z-index:2; display:flex; align-items:center; gap:8px; padding:7px 14px; min-height:64px; border-bottom:1px solid var(--edge); box-shadow:0 1px 8px rgb(13 34 49 / .06); }
.messages-head h2 { flex:1; min-width:0; line-height:1.35; font-size:18px; overflow-wrap:anywhere; }
.messages-head button { border:0; background:transparent; color:var(--blue); min-height:44px; padding:0 9px; border-radius:22px; white-space:nowrap; }
.messages-body { position:relative; flex:1; min-height:0; overflow-y:auto; overscroll-behavior:contain; overflow-anchor:none; scrollbar-gutter:stable; }
.messages-foot { position:relative; z-index:2; border-top:1px solid var(--edge); padding:10px 16px max(10px,env(safe-area-inset-bottom)); box-shadow:0 -1px 8px rgb(13 34 49 / .05); }
.messages-foot:empty { display:none; }
.messages-dialog button:focus-visible, .messages-dialog select:focus-visible, .messages-dialog input:focus-visible {
  outline:2px solid var(--blue); outline-offset:-2px; }
.messages-dialog :is(input,select) { font-size:16px; min-height:44px; border:1px solid var(--edge); }
.message-thread-row { display:flex; align-items:center; gap:12px; width:100%; min-height:76px; padding:12px 16px;
  border:0; border-bottom:1px solid var(--edge); border-radius:0; background:#fff; text-align:left; }
.message-thread-row { transition:background-color .16s ease; }
.message-thread-row:hover, .message-thread-row:focus-visible { background:#f5f8fa; }
.message-avatar { width:44px; height:44px; flex:0 0 44px; border-radius:50%; object-fit:cover; background:#eaf0f4; }
.messages-head .message-avatar { width:34px; height:34px; flex-basis:34px; }
.message-preview, .message-time { color:var(--muted); font-weight:400; }
.message-preview { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:14px; }
.message-time { white-space:nowrap; font-size:12px; }
.message-list { display:flex; flex-direction:column; padding:16px 18px 24px; }
.message-own,.message-other { width:fit-content; max-width:85%; margin:0 0 6px; padding:9px 13px; line-height:1.5;
  overflow-wrap:anywhere; white-space:pre-wrap; }
.message-own { margin-left:auto; border-radius:17px 17px 5px 17px; background:var(--blue); color:white; }
.message-other { margin-right:auto; border-radius:17px 17px 17px 5px; background:#eef2f5; }
.message-own + .message-own, .message-other + .message-other { margin-top:-2px; }
.message-older, .message-newer { display:block; margin:0 auto 12px; min-height:44px; border-radius:24px; color:var(--blue); }
.message-older { background:transparent; border:0; font-size:13px; }
.message-newer { background:#fff; border:1px solid var(--edge); box-shadow:0 2px 8px #17324815; }
.message-send { min-height:44px; border:0; border-radius:24px; background:var(--blue); color:#fff; padding-inline:18px; }
.message-send:not(:disabled):hover { background:#075a89; }
.messages-dialog .form-error { color:#973d48; font-size:14px; }
.messages-head .messages-close { width:44px; padding:0; font-size:25px; color:var(--muted); }
.messages-head .message-back { width:44px; font-size:22px; color:var(--ink); }
.message-thread-info { flex:1; min-width:0; }
.message-row-head { display:flex; align-items:baseline; justify-content:space-between; gap:8px; }
.message-row-head strong { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.message-preview { margin-top:3px; }
.message-empty { padding:clamp(38px,14dvh,115px) 24px; text-align:center; }
.message-empty h3 { font-size:19px; }
.message-empty p,.message-loading,.message-intro { margin:8px 0; color:var(--muted); font-size:14px; }
.message-intro,.message-loading { text-align:center; padding:16px; }
.message-compose,.message-own-code { padding:22px 18px; }
.message-compose { border-bottom:1px solid var(--edge); }
.message-compose label,.message-own-code h3 { font-size:15px; font-weight:700; margin-bottom:9px; }
.message-code-row,.message-reply-form { display:flex; align-items:center; gap:8px; }
.message-code-row button { flex:none; min-height:44px; border-radius:22px; }
.message-code-row input,.message-reply-form select { border-radius:12px; background:#f7f9fb; min-width:0; }
.message-lookup { color:var(--blue); }
.message-own-code .message-code-row { justify-content:space-between; }
.message-own-code code { user-select:all; overflow-wrap:anywhere; }
.message-login { display:inline-flex; align-items:center; margin:0 18px; min-height:44px; }
.message-day { margin:14px auto; text-align:center; font-size:12px; color:var(--muted); }
.bubble-time { display:inline-block; margin-left:8px; font-size:11px; white-space:nowrap; }
.message-other .bubble-time { color:var(--muted); }
.message-list:empty { display:none; }
.message-older { margin:4px auto 0; }
.message-newer { position:absolute; bottom:calc(100% + 8px); left:50%; transform:translateX(-50%); margin:0; }
.message-status { margin:0; padding:8px 16px; font-size:14px; }
.message-reply-form select { flex:1; }
/* Desktop keeps the inbox visible while a conversation is open. */
.desktop-messages-sidebar { display:none; }
@media (min-width:701px) {
  .messages-dialog[data-layout="split"] {
    display:grid;
    grid-template-columns:minmax(220px,270px) minmax(0,1fr);
    grid-template-rows:64px minmax(0,1fr) auto;
    width:min(900px,calc(100vw - 64px));
  }
  .messages-dialog[data-layout="split"] .messages-head {
    grid-column:2;
    grid-row:1;
    min-width:0;
  }
  .messages-dialog[data-layout="split"] .messages-body {
    grid-column:2;
    grid-row:2;
    min-width:0;
  }
  .messages-dialog[data-layout="split"] .messages-foot {
    grid-column:2;
    grid-row:3;
    min-width:0;
  }
  .messages-dialog[data-layout="split"] .message-status {
    position:absolute;
    z-index:3;
    top:64px;
    right:0;
    left:270px;
    background:var(--paper);
  }
  .messages-dialog[data-layout="split"] .desktop-messages-sidebar {
    display:block;
    grid-column:1;
    grid-row:1 / -1;
    min-width:0;
    overflow-y:auto;
    overscroll-behavior:contain;
    border-right:1px solid var(--edge);
    background:var(--paper);
  }
  .desktop-messages-sidebar h3 {
    position:sticky;
    top:0;
    z-index:1;
    margin:0;
    padding:18px 16px 12px;
    background:var(--paper);
    border-bottom:1px solid var(--edge);
    font-size:17px;
  }
  .desktop-messages-sidebar .message-thread-row {
    min-height:70px;
    padding:10px 12px;
  }
  .desktop-messages-sidebar .message-thread-row[aria-current="true"] {
    background:var(--soft);
  }
}
@media(max-width:700px) {
  .messages-dialog[open] { position:fixed; inset:var(--dm-top,0px) 0 auto; width:100%; max-width:100%; height:var(--dm-height,100dvh);
    margin:0; border:0; border-radius:0; padding-top:env(safe-area-inset-top); padding-bottom:env(safe-area-inset-bottom); }
  .messages-head { min-height:58px; padding-inline:10px; }
  .messages-body { scrollbar-width:none; }
  .messages-body::-webkit-scrollbar { display:none; }
  .messages-foot { padding-inline:12px; padding-bottom:10px; }
  .message-thread-row { min-height:72px; padding-inline:14px; }
  .message-list { padding-inline:12px; }
  .message-own, .message-other { max-width:min(82%,320px); }
}
.account-option { padding:10px 16px 14px; border-top:1px solid var(--edge); font-size:13px; color:var(--muted); }
.account-option a { display:inline-flex; align-items:center; min-height:44px; }
.image-viewer { width:100vw; max-width:none; height:100dvh; max-height:none; padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); border:0; border-radius:0; background:#000; overflow:hidden; place-items:center; }
.image-viewer::backdrop { background:#000; }
.image-viewer[open] { display:grid; }
.image-viewer img { display:block; max-width:100%; max-height:100%; width:auto; height:auto; object-fit:contain; touch-action:pinch-zoom; user-select:none; }
.image-viewer-close { position:absolute; z-index:1; top:max(12px,env(safe-area-inset-top)); right:max(12px,env(safe-area-inset-right)); display:grid; place-items:center; width:44px; height:44px; padding:0; border:0; border-radius:50%; color:#fff; background:#ffffff2b; font-size:30px; line-height:1; }
.image-viewer-close:hover, .image-viewer-close:focus-visible { background:#ffffff55; }
/* Keep attribution below the picture, including on a short landscape screen. */
.image-viewer[open] { grid-template-rows:minmax(0,1fr) auto; }
.image-viewer-sources { width:100%; max-height:30dvh; overflow:auto; padding:4px 12px max(4px,env(safe-area-inset-bottom)); color:white; }
.image-viewer-sources .original-links { justify-content:center; }
.image-viewer-sources .original-links a { display:inline-flex; align-items:center; min-height:44px; padding-inline:8px; color:white; text-decoration:underline; }
.caption-origin { display:block; font-size:.76em; color:var(--muted); }
.caption-origin a { color:inherit; text-decoration:none; }
.caption-origin a:hover { text-decoration:underline; }
.archive-caption { margin:3px 0 7px; }
.archive-caption .post-body { white-space:pre-wrap; overflow-wrap:anywhere; margin:2px 0; }

.desktop-topics {
  --featured-accent:var(--link);
  --featured-line:var(--photo-edge,var(--edge));
  --featured-muted:var(--photo-muted,var(--muted));
}
.featured-link {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:baseline;
  gap:4px 10px;
  min-height:48px;
  padding:9px 0 12px;
  color:inherit;
  text-decoration:none;
  overflow-wrap:anywhere;
}
.desktop-topics .featured-link + .featured-link { border-top:1px solid var(--featured-line); }
.featured-scene { grid-column:1 / -1; font-size:1.06rem; line-height:1.45; }
.featured-byline, .featured-count { color:var(--featured-muted); font-size:.81rem; }
.featured-count strong { color:inherit; font-variant-numeric:tabular-nums; }
.featured-action { grid-column:1 / -1; padding-top:3px; color:var(--featured-accent); font-size:.88rem; font-weight:650; }
.featured-link:is(:hover,:focus-visible) .featured-action { text-decoration:underline; }
.featured-link:focus-visible { outline:2px solid var(--featured-accent); outline-offset:3px; border-radius:4px; }
@media (max-width:359px) {
  .featured-link { grid-template-columns:minmax(0,1fr); }
}

original-post-embed { display:block; min-width:0; min-height:2px; }
original-post-embed + original-post-embed { margin-top:10px; }
original-post-embed iframe { display:block; width:100%; max-width:100%; border:0; }
.original-post-link {
  display:flex; align-items:center; gap:.35em; min-height:44px; width:fit-content;
  max-width:100%; color:var(--link); font-size:.9rem; text-underline-offset:.2em;
}
.original-post-link:focus-visible { outline:2px solid currentColor; outline-offset:2px; }
