/* The post page, rebuilt from its foundations on 2 October 2026 (views/post.js writes it; docs/design/FAMILY.md
   has the rules). The page is for reading one post, checking its source and reacting to it.

   One reading column in the middle of the page card, 680 px wide at most (about 65 characters a line at 19 px), and nothing
   beside it: what there is more to read comes after the text (the reading pass of 27 October 2026).
   The cover and the title are the loud thing; everything else stays quiet. No card inside a card: the only
   surfaces are the source row, the player and the bar of actions, which floats at the foot of the reading
   column while the text moves under it. Tokens only (family.css), so light and dark follow the theme. */

/* the page card is the reading surface (post.js puts the app's side column away while a post is open) */
@media (min-width: 1024px) {
  #main-content > [data-viewpanel="post"] { max-width: 1056px !important; margin-left: auto; margin-right: auto; }
}

.pp { display: grid; grid-template-columns: minmax(0, 680px); justify-content: center; row-gap: 40px; padding-bottom: 40px; color: var(--color-foreground); }
:where(.pp) :where(h1, h2, p, ul, figure) { margin: 0; }
.pp ul { padding: 0; list-style: none; }
.pp-main { min-width: 0; }
.pp :is(.pp-back, .pp-chip--topic, .pp-by__name, .pp-src, .pp-act, .pp-send, .pp-row, .pp-report, .pp-c button):focus-visible,
.pp-by__av:focus-visible { outline: 2px solid var(--color-ring); outline-offset: 2px; }

/* ── back ── */
.pp-back { display: inline-flex; align-items: center; gap: 7px; height: 36px; min-height: 0; margin: 0 0 10px -12px; padding: 0 14px 0 12px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--color-muted-foreground); transition: color .15s var(--ease-out), background-color .15s var(--ease-out); }
.pp-back:hover { color: var(--color-foreground); background: var(--oryn-surface-hover); }
.pp-back i { font-size: 16px; }

/* ── the cover: the post's picture, its video or its album; with none, the cover drawn from its field and topic ── */
.pp-cover { position: relative; overflow: hidden; border-radius: 24px; background: var(--color-muted); }
.pp-cover > img { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.pp-cover::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--frost-line); pointer-events: none; }
/* A10: the site's own preview image carries its credit and opens the article */
.pp-cover--preview > a { display: block; position: relative; }
.pp-cover--preview > a > img { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.pp-credit { position: absolute; right: 12px; bottom: 12px; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; line-height: 1.4; color: var(--color-card); background: color-mix(in srgb, var(--color-foreground) 72%, transparent); backdrop-filter: blur(6px); max-width: 70%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-cover--video { background: var(--frost-ink); }
.pp-cover--video video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; }
.pp-cover--album [data-album] { margin: 0; border: 0; border-radius: 0; }
.pp-cover--drawn::after { display: none; }
.pp-cover .dx-cover.pp-cover__art { display: block; width: 100%; aspect-ratio: 5 / 2; border-radius: inherit; }
.pp-cover .dx-cover__badge { display: none; }
.pp-cover .dx-cover__word { left: 4.5%; bottom: 11%; font-size: clamp(26px, 9cqw, 60px); }

/* ── the chips, the title, who wrote it ── */
.pp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 24px; }
.pp-chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border: 1px solid transparent; border-radius: 999px; background: color-mix(in srgb, var(--color-foreground) 6%, transparent); font-size: 12.5px; font-weight: 500; line-height: 1; color: var(--oryn-text-2); white-space: nowrap; }
.pp-chip i { font-size: 14px; }
.pp-chip--kind { background: var(--brand-soft); color: var(--color-brand-ink); font-weight: 600; }
.pp-chip--alert { background: color-mix(in srgb, var(--color-alert) 12%, transparent); color: var(--color-alert); font-weight: 600; }
.pp-chip--topic { border-color: var(--frost-line); background: transparent; cursor: pointer; transition: border-color .18s var(--ease-out), background-color .18s var(--ease-out), color .18s var(--ease-out); }
.pp-chip--topic:hover { border-color: var(--oryn-border-hover); background: var(--oryn-surface-hover); color: var(--color-foreground); }

.pp-title { margin-top: 18px; font-size: clamp(32px, 2.6vw, 38px); font-weight: 600; letter-spacing: -.022em; line-height: 1.14; text-wrap: balance; overflow-wrap: anywhere; }

.pp-by { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.pp-by__av { position: relative; flex: none; border-radius: 50%; cursor: pointer; }
/* the link to the author's page lies over the portrait: it takes no room and paints nothing */
.pp-by__av > .pp-by__link { position: absolute; inset: 0; border-radius: 50%; }
.pp-by__who { flex: 1; min-width: 0; }
.pp-by__name { display: inline-flex; max-width: 100%; align-items: center; gap: 5px; border-radius: 6px; font-size: 15px; font-weight: 600; letter-spacing: -.005em; line-height: 1.3; color: var(--color-foreground); text-align: left; cursor: pointer; }
.pp-by__name > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color .15s var(--ease-out); }
.pp-by__name:hover { color: var(--color-foreground); }
.pp-by__name:hover > span { text-decoration-color: currentColor; }
.pp-by__seal { flex: none; font-size: 15px; color: var(--color-brand); }
.pp-by__meta { margin-top: 1px; overflow: hidden; font-size: 13px; line-height: 1.4; color: var(--color-muted-foreground); text-overflow: ellipsis; white-space: nowrap; }
.pp-by__meta time { font-variant-numeric: tabular-nums; }
.pp-by__edited { margin-left: 10px; }   /* "Edited", as quiet as the line it is on */
.pp-by .pp-follow { flex: none; }

/* ── the spoken version: the app's player, as one pill ── */
.pp-listen { margin-top: 22px; }
.pp-listen .audio-player { display: flex; flex-wrap: wrap; align-items: center; column-gap: 12px; margin: 0; padding: 8px 12px 8px 8px; border: 1px solid var(--frost-line); border-radius: 32px; background: var(--frost-strong); box-shadow: var(--frost-rim), var(--frost-shadow); }
.pp-listen .audio-player > div:not(.ap-transcript) { display: contents; }
.pp-listen .ap-toggle { order: 1; width: 46px; height: 46px; background: var(--color-brand); background-image: none; color: var(--color-primary-foreground); box-shadow: inset 0 1px 0 color-mix(in srgb, var(--color-primary-foreground) 26%, transparent), 0 8px 18px -10px var(--color-brand); }
.pp-listen .audio-player.is-playing .ap-toggle { box-shadow: inset 0 1px 0 color-mix(in srgb, var(--color-primary-foreground) 26%, transparent), 0 0 0 4px var(--brand-soft), 0 10px 20px -10px var(--color-brand); }
.pp-listen .ap-wave { order: 2; flex: 1 1 0; min-width: 0; height: 38px; border-radius: 8px; }
.pp-listen .ap-time { order: 3; min-width: 0; font-family: inherit; font-size: 12.5px; }
.pp-listen .ap-speed { order: 4; height: 32px; min-width: 42px; padding: 0 10px; border-radius: 999px; background: var(--brand-soft); font-family: inherit; font-size: 12.5px; color: var(--color-brand-ink); }
.pp-listen .ap-speed:hover { background: color-mix(in srgb, var(--color-brand) 20%, transparent); }
.pp-listen .audio-player > div:not(.ap-transcript) > span:not(.ap-time) { order: 5; padding-right: 6px; font-size: 12.5px; color: var(--color-muted-foreground); white-space: nowrap; }
/* the transcript button keeps its words for a screen reader and shows its icon */
.pp-listen .ap-transcript-toggle { order: 5; width: 32px; height: 32px; justify-content: center; border-radius: 50%; font-size: 0; color: var(--oryn-text-2); transition: background-color .15s var(--ease-out), color .15s var(--ease-out); }
.pp-listen .ap-transcript-toggle:hover { background: var(--oryn-surface-hover); color: var(--color-foreground); }
.pp-listen .ap-transcript { order: 9; flex: 0 0 100%; margin: 8px 0 0; padding: 12px 10px 8px; font-size: 15px; }
.pp-listen .audio-player:has(.ap-transcript:not(.hidden)) { border-radius: 26px; }
/* the transcript button stays lit while the words are open; a file that will not play says so on a line of its own */
.pp-listen .ap-transcript-toggle[aria-expanded="true"] { background: var(--brand-soft); color: var(--color-brand-ink); }
.pp-listen .ap-note { order: 8; flex: 0 0 100%; margin: 8px 0 0; padding: 0 10px 4px; }
.pp-listen .audio-player:has(.ap-note:not([hidden])) { border-radius: 24px; }
.pp-listen .ap-transcript { border-top: 1px solid var(--frost-line); }

/* ── the text ── */
.pp-text { margin-top: 26px; }
.pp-sum p { font-size: 19px; line-height: 1.66; color: color-mix(in srgb, var(--color-foreground) 92%, transparent); text-wrap: pretty; overflow-wrap: anywhere; }
.pp-sum p + p { margin-top: 1.15em; }
.pp-sum b, .pp-find li span b { font-weight: 600; color: var(--color-foreground); }
.pp-find { margin-top: 28px; padding: 2px 0 2px 20px; border-left: 2px solid var(--color-brand); }
.pp-find h2 { font-size: 19px; font-weight: 600; letter-spacing: -.012em; }
.pp-find ul { display: grid; gap: 14px; margin-top: 12px; }
.pp-find li > b { display: block; font-size: 13px; font-weight: 600; color: var(--color-muted-foreground); }
.pp-find li > span { display: block; margin-top: 3px; font-size: 17px; line-height: 1.62; color: color-mix(in srgb, var(--color-foreground) 86%, transparent); text-wrap: pretty; }
.pp-files { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.pp-files a { display: inline-flex; max-width: 100%; align-items: center; gap: 7px; height: 36px; padding: 0 14px 0 12px; border: 1px solid var(--frost-line); border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--oryn-text-2); transition: border-color .18s var(--ease-out), color .18s var(--ease-out); }
.pp-files a:hover { border-color: var(--oryn-border-hover); color: var(--color-foreground); }
.pp-files a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-files i { font-size: 15px; }

/* ── the source: one row, and one quiet line about how the summary was written ── */
.pp-src { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 14px; width: 100%; margin-top: 30px; padding: 12px 20px 12px 12px; border: 1px solid var(--frost-line); border-radius: 20px; background: var(--frost); box-shadow: var(--frost-rim), var(--frost-shadow); color: var(--color-foreground); text-align: left; text-decoration: none; cursor: pointer; transition: border-color .18s var(--ease-out), box-shadow .32s var(--ease-out); }
.pp-src:hover { border-color: var(--oryn-border-hover); box-shadow: var(--frost-rim), var(--frost-shadow-up); }
.pp-src__ic { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 14px; background: var(--brand-soft); font-size: 20px; color: var(--color-brand); }
.pp-src__what { min-width: 0; }
.pp-src__what b { display: block; overflow: hidden; font-size: 15px; font-weight: 600; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.pp-src__what span { display: block; margin-top: 2px; overflow: hidden; font-size: 13px; color: var(--color-muted-foreground); text-overflow: ellipsis; white-space: nowrap; }
.pp-src__go { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--color-brand-ink); white-space: nowrap; }
.pp-src__go i { font-size: 15px; transition: translate .22s var(--ease-out); }
.pp-src:hover .pp-src__go i { translate: 2px -2px; }
.pp-note { display: flex; align-items: flex-start; gap: 7px; margin-top: 12px; padding: 0 2px; font-size: 12.5px; line-height: 1.5; color: var(--color-muted-foreground); }
.pp-note i { flex: none; margin-top: 2px; font-size: 14px; }
.pp-note--video { margin-top: 10px; }
.pp-text + .pp-note { margin-top: 20px; }

/* ── the actions: one bar of glass at the foot of the reading column ── */
.pp-bar { position: sticky; bottom: 20px; z-index: 5; display: flex; align-items: center; gap: 2px; width: fit-content; max-width: 100%; margin: 30px auto 0; padding: 5px; border: 1px solid var(--frost-line); border-radius: 999px; background: var(--frost-float); box-shadow: var(--frost-rim), var(--frost-pop); -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6); }
.pp .pp-bar .pp-act { display: inline-flex; flex: none; align-items: center; justify-content: center; gap: 7px; width: auto; min-width: 44px; height: 44px; min-height: 0; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 550; line-height: 1; color: var(--oryn-text-2); white-space: nowrap; cursor: pointer; transition: background-color .16s var(--ease-out), color .16s var(--ease-out); }
.pp-act > i, .pp-act .dl-ic i { font-size: 19px; }
.pp-act .dl-ic { display: inline-flex; }
.pp .pp-bar .pp-act:hover { background: var(--oryn-surface-hover); color: var(--color-foreground); }
/* on: the same icon, filled, in the accent */
.pp .pp-bar .pp-act[aria-pressed="true"], .pp .pp-bar .pp-act[aria-pressed="true"]:hover { color: var(--color-brand); }
.pp-act__on, .pp-act[aria-pressed="true"] .pp-act__off { display: none; }
.pp-act[aria-pressed="true"] .pp-act__on { display: inline; }
.pp-bar__rule { flex: none; width: 1px; height: 22px; margin: 0 4px; background: var(--color-border); }
.pp .pp-bar .pp-act--ask { margin-left: 4px; padding: 0 18px 0 15px; background: var(--color-brand); font-weight: 600; color: var(--color-primary-foreground); box-shadow: inset 0 1px 0 color-mix(in srgb, var(--color-primary-foreground) 28%, transparent), 0 8px 18px -10px var(--color-brand); }
.pp .pp-bar .pp-act--ask:hover { background: var(--color-brand-hover); color: var(--color-primary-foreground); }

/* ── the comments: a field, then a thread with hairlines ── */
.pp-cm { margin-top: 48px; scroll-margin-top: calc(var(--top-h, 68px) + 28px); }
.pp-cm > h2, .pp-list h2 { font-size: 19px; font-weight: 600; letter-spacing: -.012em; }
.pp-write { display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: start; gap: 12px; margin-top: 16px; }
.pp-write__me { display: grid; width: 36px; height: 36px; margin-top: 5px; place-items: center; overflow: hidden; border-radius: 50%; background: var(--brand-soft); font-size: 13px; font-weight: 600; color: var(--color-brand-ink); }
.pp-field { display: flex; align-items: flex-end; gap: 8px; min-height: 46px; padding: 4px 4px 4px 18px; border: 1px solid var(--frost-line); border-radius: 23px; background: var(--frost-strong); box-shadow: var(--frost-rim); transition: border-color .22s var(--ease-out), box-shadow .32s var(--ease-out), background-color .22s var(--ease-out); }
.pp-field:focus-within { border-color: color-mix(in srgb, var(--color-brand) 70%, transparent); background: var(--color-card); box-shadow: var(--frost-rim), 0 0 0 4px var(--brand-soft); }
.pp-field textarea { flex: 1; min-width: 0; height: 36px; max-height: 220px; padding: 8px 0; border: 0; outline: 0; background: transparent; box-shadow: none; resize: none; font: inherit; font-size: 15px; line-height: 20px; color: var(--color-foreground); }
.pp-field textarea::placeholder { color: var(--color-muted-foreground); }
.pp .pp-field .pp-send { display: grid; flex: none; width: 36px; height: 36px; min-height: 0; place-items: center; border-radius: 50%; background: var(--color-brand); font-size: 16px; color: var(--color-primary-foreground); box-shadow: inset 0 1px 0 color-mix(in srgb, var(--color-primary-foreground) 26%, transparent), 0 6px 14px -8px var(--color-brand); cursor: pointer; transition: background-color .16s var(--ease-out), box-shadow .32s var(--ease-out); }
.pp .pp-field .pp-send:hover { background: var(--color-brand-hover); box-shadow: inset 0 1px 0 color-mix(in srgb, var(--color-primary-foreground) 26%, transparent), 0 0 0 4px var(--brand-soft), 0 8px 16px -8px var(--color-brand); }

.pp-thread { margin-top: 22px; border-top: 1px solid var(--color-border); }
.pp-thread__none { padding: 26px 0 6px; font-size: 14.5px; color: var(--color-muted-foreground); }
.pp-thread > [data-all-comments] { margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--color-brand-ink); }
.pp-c { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; padding: 18px 0; }
.pp-c + .pp-c { border-top: 1px solid var(--color-border); }
.pp-c__main { min-width: 0; }
.pp-c__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; min-height: 22px; }
.pp-c__name { font-size: 14.5px; letter-spacing: -.005em; }
/* who wrote a comment or a reply leads to their page, as the author of the post does: the name is a link that
   underlines when pointed at, and a link lies over the portrait (it takes no room and paints nothing) */
a.pp-c__name { border-radius: 6px; cursor: pointer; }
a.pp-c__name > span { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color .15s var(--ease-out); }
a.pp-c__name:hover > span { text-decoration-color: currentColor; }
.pp-c__av { position: relative; display: block; width: fit-content; height: fit-content; border-radius: 50%; cursor: pointer; }
.pp-c__av > .pp-c__link { position: absolute; inset: 0; border-radius: 50%; }
.pp-c__meta { font-size: 12.5px; color: var(--color-muted-foreground); }
.pp-c__tools { display: inline-flex; gap: 2px; margin-left: auto; opacity: 0; transition: opacity .15s var(--ease-out); }
.pp-c:hover .pp-c__tools, .pp-reply:hover .pp-c__tools, .pp-c__tools:focus-within { opacity: 1; }
.pp-c__tools button { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; font-size: 14px; color: var(--color-muted-foreground); transition: background-color .15s var(--ease-out), color .15s var(--ease-out); }
.pp-c__tools button:hover { background: var(--oryn-surface-hover); color: var(--color-foreground); }
.pp-c__tools [data-del-comment]:hover, .pp-c__tools [data-cm-delreply]:hover { color: var(--color-alert); }
.pp-c__text { margin-top: 3px; font-size: 15px; line-height: 1.6; color: color-mix(in srgb, var(--color-foreground) 90%, transparent); overflow-wrap: anywhere; }
.pp-c__acts { display: flex; align-items: center; gap: 16px; margin-top: 8px; font-size: 12.5px; font-weight: 550; color: var(--color-muted-foreground); }
.pp-c__acts button { display: inline-flex; align-items: center; gap: 5px; min-height: 24px; border-radius: 6px; transition: color .15s var(--ease-out); }
.pp-c__acts button:hover { color: var(--color-foreground); }
.pp .pp-c__acts [data-cm-like][aria-pressed="true"] { color: var(--color-brand); }
.pp-c__replybox { margin-top: 10px; }
.pp-c__replies { margin-top: 10px; padding-left: 14px; border-left: 1px solid var(--color-border); }
.pp-reply { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; padding: 8px 0; }
.pp-reply .pp-c__name { font-size: 13.5px; }
.pp-reply .pp-c__text { font-size: 14px; }
.pp-field--reply { min-height: 42px; padding: 3px 3px 3px 16px; border-radius: 21px; }
.pp-field--reply textarea { font-size: 14px; }
.pp-field.is-tall { border-radius: 22px; }

.pp-foot { margin-top: 26px; }
.pp-report { display: inline-flex; align-items: center; gap: 7px; height: 32px; margin-left: -10px; padding: 0 12px 0 10px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--color-muted-foreground); cursor: pointer; transition: color .15s var(--ease-out), background-color .15s var(--ease-out); }
.pp-report:hover { background: var(--oryn-surface-hover); color: var(--color-foreground); }
.pp-report i { font-size: 15px; }

/* ── more to read: plain rows ── */
.pp-side { display: grid; align-content: start; gap: 36px; min-width: 0; }
.pp-list ul { margin: 10px -10px 0; }
.pp-row { display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: center; gap: 14px; width: 100%; min-height: 0; padding: 10px; border-radius: 16px; text-align: left; cursor: pointer; transition: background-color .18s var(--ease-out); }
.pp-row:hover { background: var(--oryn-surface-hover); }
.pp-row .dx-thumb.dx-cover { width: 72px; aspect-ratio: 4 / 3; border-radius: 11px; }
.pp-row:hover .dx-cover img { scale: 1.05; }
.pp-row__body { min-width: 0; }
.pp-row__title { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 14.5px; font-weight: 550; letter-spacing: -.005em; line-height: 1.32; color: var(--color-foreground); }
.pp-row__meta { display: flex; gap: 8px; margin-top: 4px; overflow: hidden; font-size: 12.5px; color: var(--color-muted-foreground); white-space: nowrap; }
.pp-row__meta span:first-child { overflow: hidden; text-overflow: ellipsis; }
.pp-row__meta span + span { flex: none; font-variant-numeric: tabular-nums; }

/* ── more to read comes after the text on every width (the reading pass of 27 October 2026): nothing sits beside the column ── */
.pp-side { margin-top: 8px; padding-top: 32px; border-top: 1px solid var(--frost-line); }
.pp-list h2 { font-size: 16px; letter-spacing: -.008em; }

/* ── phones and narrow windows: one column, the bar docks above the bottom navigation ── */
@media (max-width: 1023.98px) {
  .pp { row-gap: 36px; padding-bottom: 12px; }
  .pp-back { margin-bottom: 6px; }
  .pp-cover { border-radius: 20px; }
  .pp-cover > img { aspect-ratio: 16 / 9; }
  .pp-cover .dx-cover.pp-cover__art { aspect-ratio: 2 / 1; }
  .pp-chips { margin-top: 18px; }
  .pp-title { margin-top: 12px; font-size: 28px; line-height: 1.16; }
  .pp-by { margin-top: 18px; }
  /* a phone has room for one number: how long the recording is before it is played, where it is once it has started */
  .pp-listen .ap-time { min-width: 30px; text-align: right; }
  .pp-listen .ap-of, .pp-listen .audio-player.is-started .ap-total, .pp-listen .audio-player:not(.is-started) .ap-now { display: none; }
  /* a narrow wave draws one bar in two, so each has a width to be seen with */
  .pp-listen .ap-bar:nth-child(even) { display: none; }
  .pp-sum p { font-size: 17.5px; line-height: 1.62; }
  .pp-src { grid-template-columns: 44px minmax(0, 1fr); row-gap: 10px; padding-right: 14px; }
  .pp-src__go { grid-column: 1 / -1; justify-content: center; height: 40px; border-radius: 999px; background: var(--brand-soft); }
  .pp-bar { bottom: calc(82px + env(safe-area-inset-bottom)); width: 100%; justify-content: space-between; }
  .pp .pp-bar .pp-act { padding: 0 12px; }
  .pp .pp-bar .pp-act--save, .pp .pp-bar .pp-act[data-detail-share] { width: 44px; padding: 0; }
  .pp-act__off, .pp-act__word, .pp-act[aria-pressed="true"] .pp-act__on { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .pp-act--save, .pp-act[data-detail-share] { position: relative; }
  .pp .pp-bar .pp-act--ask { padding: 0 16px 0 13px; }
  .pp .pp-field .pp-send { width: 40px; height: 40px; }
  .pp-field { min-height: 50px; }
  .pp-field textarea { height: 40px; padding: 10px 0; }
  /* the button that returns to the top keeps clear of the bar */
  html.is-post-open #backTop { bottom: calc(146px + env(safe-area-inset-bottom)); }
}
@media (max-width: 439.98px) {
  .pp .pp-bar .pp-act { padding: 0 9px; }
  .pp .pp-bar .pp-act--ask { padding: 0 16px 0 13px; }
  .pp-act__rest { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .pp *, .pp *::before, .pp *::after { transition: none !important; }
  .pp-row:hover .dx-cover img { scale: 1; }
}
html.a11y-reduce-motion .pp *, html.a11y-reduce-motion .pp *::before, html.a11y-reduce-motion .pp *::after { transition: none !important; }

/* vertical rhythm, second pass: chips, title, byline, player, text, source and its note each get their own breath */
.pp-chips { margin-top: 28px; }
.pp-title { margin-top: 20px; }
.pp-by { margin-top: 26px; }
.pp-listen { margin-top: 26px; }
.pp-text { margin-top: 32px; }
.pp-src { margin-top: 36px; }
.pp-note, .pp-text + .pp-note { margin-top: 16px; }
.pp-bar { margin-top: 40px; }

/* ── a touch screen: 44px to the finger, the look unchanged (an ::after nobody sees takes the press) ── */
@media (pointer: coarse) {
  .pp-chip--topic, .pp-report, .pp .pp-field .pp-send, .pp-by__name, .pp-c__tools button, .pp-listen .ap-speed, .pp-listen .ap-transcript-toggle, .pp-listen .ap-wave { position: relative; }
  .pp-chip--topic::after, .pp-report::after, .pp .pp-field .pp-send::after, .pp-by__name::after, .pp-c__tools button::after, .pp-listen .ap-speed::after, .pp-listen .ap-transcript-toggle::after, .pp-listen .ap-wave::after { content: ''; position: absolute; }
  .pp-chip--topic::after { inset: -8px 0; }
  .pp-report::after { inset: -6px 0; }
  .pp .pp-field .pp-send::after { inset: -2px; }
  .pp-by__name::after { inset: -13px -6px; }
  .pp-listen .ap-speed::after { inset: -6px -1px; }
  .pp-listen .ap-transcript-toggle::after { inset: -6px; }
  .pp-listen .ap-wave::after { inset: -3px 0; }
  /* Edit and Delete on your own comment: a little larger and apart, so a finger does not take one for the other */
  .pp-c__tools { gap: 8px; margin-block: -7px; }
  .pp-c__tools button { width: 36px; height: 36px; }
  .pp-c__tools button::after { inset: -4px; }
}
/* with no pointer to hover, Edit and Delete on your own comment are always shown (they only appeared under a mouse) */
@media (hover: none) { .pp-c__tools { opacity: 1; } }


/* ── an editorial post's parts (3 October 2026): quiet headings, no boxes, and the question last ── */
.pp-part { margin-top: 28px; }
.pp-part h2, .pp-ask h2 { font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--color-muted-foreground); }
.pp-part p { margin-top: 6px; font-size: 16.5px; line-height: 1.68; color: color-mix(in srgb, var(--color-foreground) 86%, transparent); text-wrap: pretty; overflow-wrap: anywhere; }
.pp-part p b { font-weight: 600; color: var(--color-foreground); }
.pp-ask { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--frost-line); }
.pp-ask p { margin-top: 8px; font-size: 20px; font-weight: 550; letter-spacing: -.012em; line-height: 1.4; color: var(--color-foreground); text-wrap: balance; overflow-wrap: anywhere; }
.pp .pp-ask__go { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 16px; padding: 0 18px 0 15px; border: 1px solid var(--frost-line); border-radius: 999px; background: var(--frost); font-size: 14.5px; font-weight: 600; color: var(--color-brand-ink); cursor: pointer; transition: border-color .18s var(--ease-out), background-color .18s var(--ease-out); }
.pp .pp-ask__go:hover { border-color: var(--oryn-border-hover); background: var(--brand-soft); }
.pp .pp-ask__go:focus-visible { outline: 2px solid var(--color-brand); outline-offset: 2px; }
.pp-ask__go i { font-size: 18px; }
@media (max-width: 767.98px) {
  .pp-part p { font-size: 16px; }
  .pp-ask p { font-size: 18.5px; }
}

/* ── the links a doctor pasted into a written update (20 October 2026): the card the composer showed ── */
.pp-links { display: grid; gap: 10px; margin-top: 22px; }
.pp-link { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border: 1px solid var(--frost-line); border-radius: 18px; background: var(--frost-well); color: inherit; text-decoration: none; transition: border-color .16s var(--ease-out), box-shadow .2s var(--ease-out); }
.pp-link:hover { border-color: var(--oryn-border-hover); box-shadow: var(--frost-rim), var(--frost-shadow-up); }
.pp-link__ic { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 13px; background: var(--brand-soft); font-size: 18px; color: var(--color-brand); }
.pp-link__what { min-width: 0; }
.pp-link__what b { display: block; overflow: hidden; font-size: 15px; font-weight: 600; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.pp-link__what span { display: block; margin-top: 2px; overflow: hidden; font-size: 13px; color: var(--color-muted-foreground); text-overflow: ellipsis; white-space: nowrap; }
.pp-link__go { display: inline-flex; align-items: center; gap: 6px; max-width: 160px; overflow: hidden; font-size: 13.5px; font-weight: 600; color: var(--color-brand-ink); text-overflow: ellipsis; white-space: nowrap; }
.pp-link__go i { flex: none; font-size: 15px; transition: translate .22s var(--ease-out); }
.pp-link:hover .pp-link__go i { translate: 2px -2px; }
.pp-sum .pp-url { color: var(--color-brand-ink); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--color-brand) 35%, transparent); text-underline-offset: 3px; overflow-wrap: anywhere; }
.pp-sum .pp-url:hover { text-decoration-color: currentColor; }
.pp :is(.pp-link, .pp-url):focus-visible { outline: 2px solid var(--color-ring); outline-offset: 2px; border-radius: 6px; }
@media (max-width: 560px) { .pp-link__go { display: none; } .pp-link { grid-template-columns: 40px minmax(0, 1fr); } }

/* ── the author's voice note without its words (20 October 2026): one row under the player ── */
.pp-transcribe { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 0 4px; font-size: 13.5px; color: var(--color-muted-foreground); }
.pp-transcribe > i { font-size: 16px; color: var(--color-brand); }
.pp-transcribe > span { min-width: 0; flex: 1; }
.pp-transcribe__btn { display: inline-flex; flex: none; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--brand-soft); font-size: 13px; font-weight: 600; color: var(--color-brand-ink); transition: background-color .16s var(--ease-out); }
.pp-transcribe__btn:hover { background: color-mix(in srgb, var(--color-brand) 22%, transparent); }
.pp-transcribe__btn:disabled { opacity: .7; cursor: progress; }
.pp .pp-transcribe__btn:focus-visible { outline: 2px solid var(--color-ring); outline-offset: 2px; }

/* ── the reading pass (27 October 2026): what is not the text steps back ── */
/* a drawn cover is a band, not a poster: the topic's word stays, at a quarter of the height */
.pp-cover .dx-cover.pp-cover__art { aspect-ratio: 5 / 1; }
.pp-cover .dx-cover__word { bottom: 14%; font-size: clamp(20px, 3.6cqw, 30px); }
/* the chips, after the text: smaller and quieter */
.pp-text ~ .pp-chips, .pp-find ~ .pp-chips, .pp-part ~ .pp-chips { margin-top: 30px; }
.pp-chip { height: 26px; padding: 0 10px; font-size: 12px; }
/* the bar floats quieter: the ask is a soft pill, the same family as the others */
.pp .pp-bar .pp-act--ask { background: var(--brand-soft); color: var(--color-brand-ink); box-shadow: none; }
.pp .pp-bar .pp-act--ask:hover { background: color-mix(in srgb, var(--color-brand) 18%, transparent); color: var(--color-brand-ink); }
/* the comments start under a rule, with air, so the text ends before they begin */
.pp-cm { margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--frost-line); }
/* the byline keeps to one quiet line */
.pp-by { margin-top: 22px; }
.pp-by .pp-follow { font-size: 13px; }
@media (max-width: 1023.98px) {
  .pp-cover .dx-cover.pp-cover__art { aspect-ratio: 3 / 1; }
  .pp-cover .dx-cover__word { font-size: clamp(20px, 6cqw, 26px); }
  .pp-cm { margin-top: 48px; padding-top: 22px; }
}
/* on a phone the app's bottom bar steps away while a post is open: the page's own bar docks at the foot, and Home at the top left is the way back */
@media (max-width: 1023.98px) {
  html.is-post-open .pp-bar { bottom: calc(14px + env(safe-area-inset-bottom)); }
  html.is-post-open #backTop { bottom: calc(78px + env(safe-area-inset-bottom)); }
}
