:root {
  color-scheme: dark;
  --night: #08090b;
  --panel: #101317;
  --raised: #181d23;
  --rule: #252b31;
  --text: #eef1f4;
  --muted: #9ca8b3;
  --acid: #1d9bf0;
  --pink: #f91880;
  --blue: #1d9bf0;
  --paper: #e4ebef;
  --ink: #08090b;
  --display: var(--body);

  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { background: var(--night); overflow-x: clip; }
body { margin: 0; overflow-x: clip; min-width: 300px; background: var(--night); color: var(--text); font: 16px/1.4 var(--body); -webkit-font-smoothing: antialiased; }
button, input, textarea { font: inherit; color: inherit; }
button, a { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
a { color: var(--blue); }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
h1, h2, p, blockquote { margin: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; top: -60px; left: 12px; z-index: 20; background: var(--paper); color: var(--ink); padding: 12px; }
.skip-link:focus { top: 8px; }

#nav-count:empty, #nav-count[data-empty] { display: none; }
button:disabled { cursor: default; opacity: .45; }
.voice-tag svg { width: 14px; height: 14px; color: var(--blue); }

/* One familiar timeline, with the account and tools one step away. */
.brandbar, .rail, .score, .bank-inline, .feed-note, .pop { display: none !important; }
.shell { display: grid; grid-template-columns: 220px minmax(0, 600px); justify-content: center; gap: 24px; max-width: 900px; margin: auto; padding: 0 20px; align-items: start; }
.side { position: sticky; top: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: 20px 0 16px; height: 100dvh; }
.wordmark { display: inline-flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; font: 730 23px/1 var(--body); letter-spacing: -.055em; }
.tabs-main { display: flex; flex-direction: column; gap: 4px; align-self: stretch; }
.tabs-main button { display: flex; align-items: center; gap: 18px; min-height: 52px; padding: 10px 16px; border-radius: 99px; font: 450 21px/1.2 var(--body); color: var(--text); text-align: left; }
.tabs-main button:hover { background: var(--panel); }
.tabs-main button[aria-current="page"] { font-weight: 750; }
.tabs-main svg { width: 25px; height: 25px; }
.tabs-main b { margin-left: auto; min-width: 21px; padding: 2px 6px; border-radius: 99px; background: var(--blue); color: white; text-align: center; font: 650 11px/1.5 var(--body); }
.compose-link, .paste-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; align-self: stretch; min-height: 48px; padding: 0 20px; border-radius: 99px; background: var(--blue); color: white; text-decoration: none; font: 750 16px/1 var(--body); }
.compose-link:hover, .paste-button:hover { background: #1a8cd8; }
.compose-link svg { width: 21px; height: 21px; }
.paste-button > span:first-child { font-size: 26px; line-height: 1; }
.profile-button { display: flex; align-items: center; gap: 10px; padding: 10px 12px; min-height: 48px; max-width: 100%; border-radius: 99px; color: var(--text); text-align: left; }
.profile-button:hover { background: var(--panel); }
.side > .profile-button, .side > .account-link { margin-top: auto; }
.profile-button .avatar { width: 38px; height: 38px; flex: none; }
.profile-button > span:not(.avatar) { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.profile-button svg { width: 22px; height: 22px; }
.account-link { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; padding: 10px; font-size: 15px; }
#account-status { display: block; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: var(--muted); }
main { min-width: 0; min-height: 100dvh; border-inline: 1px solid var(--rule); outline: 0; padding-bottom: 70px; }
.timeline-head { position: sticky; top: 0; z-index: 6; min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 16px; background: color-mix(in srgb, var(--night) 94%, transparent); backdrop-filter: blur(12px); }
.timeline-title { font: 750 20px/1.2 var(--body); letter-spacing: -.025em; }
.post-menu-button { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 36px; height: 36px; border-radius: 50%; color: var(--muted); }
.post-menu-button:hover { color: var(--blue); background: #1d9bf014; }
.post-menu-button svg { width: 20px; height: 20px; }
.own-author { display: flex; align-items: center; gap: 10px; min-width: 0; }
.own-author .avatar { flex: none; }
.own-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 1px 5px; min-width: 0; font-size: 15px; line-height: 1.35; }
.own-meta strong { font-weight: 750; overflow-wrap: anywhere; }
.own-meta span, .own-meta small { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.own-meta .compact-status { flex-basis: 100%; font-size: 12px; }
.compact-status { color: var(--muted); font: 400 12px/1.4 var(--body); overflow-wrap: anywhere; }
.timeline-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 8px 0 0; max-width: 440px; }
.timeline-actions .tap { justify-content: center; min-width: 40px; min-height: 40px; padding: 0; }
.timeline-actions .tap:hover { color: var(--blue); background: #1d9bf014; }
.timeline-actions .tap.heart:hover, .timeline-actions .tap.heart[aria-pressed="true"] { color: var(--pink); background: #f9188012; }
.timeline-actions .tap.heart[aria-pressed="true"] svg { fill: currentColor; }
.timeline-actions .tap.repost:hover, .timeline-actions .tap.repost[aria-pressed="true"] { color: #00ba7c; background: #00ba7c12; }
.timeline-actions svg { width: 21px; height: 21px; }
.overflow-actions { display: grid; gap: 3px; }
.overflow-actions > button, .overflow-actions > a { display: flex; align-items: center; justify-content: flex-start; gap: 12px; min-height: 48px; width: 100%; padding: 11px 12px; border-radius: 8px; color: var(--text); text-decoration: none; text-align: left; font-size: 15px; line-height: 1.4; }
.overflow-actions > button:hover, .overflow-actions > a:hover { background: var(--raised); }
.overflow-actions .danger { color: var(--pink); }
.overflow-actions svg { width: 21px; height: 21px; }

/* Feed tabs */
.feed-tabs { position: sticky; top: 54px; z-index: 4; display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); background: color-mix(in srgb, var(--night) 90%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.feed-tabs button { min-height: 50px; font-weight: 700; font-size: 15px; color: var(--muted); position: relative; }
.feed-tabs button:hover { background: var(--panel); }
.feed-tabs [aria-selected="true"] { color: var(--text); }
.feed-tabs [aria-selected="true"]::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 62px; height: 4px; margin-left: -31px; background: var(--blue); border-radius: 4px; }

/* Post */
.post { display: grid; grid-template-columns: 42px minmax(0,1fr); gap: 12px; padding: 19px 18px 18px; border-bottom: 1px solid var(--rule); }
.avatar { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; font: 650 13px/1 var(--body); color: #e5eaf0; background: #35414b; }
.avatar.acid { color: #bbd8e5; background: #293e49; }
.avatar.pink { color: #e8c3d3; background: #44313e; }
.avatar.blue { color: #c7cfe9; background: #343c51; }
.post-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 5px; font-size: 14.5px; line-height: 1.25; }
.post-head > span:not(.topic) { color: var(--muted); min-width: 0; overflow-wrap: anywhere; }
.topic { margin-left: auto; font-size: 12px; color: var(--muted); }
.post-text { margin-top: 5px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 16px; line-height: 1.45; }
.original { display: inline-block; margin-top: 5px; font-size: 13px; }
.post-actions { display: flex; align-items: center; gap: 4px; margin: 6px 0 9px -8px; }
.tap { display: inline-flex; align-items: center; gap: 5px; min-height: 40px; padding: 0 10px; border-radius: 99px; color: var(--muted); font-size: 13px; font-weight: 600; }
.tap b { font: 600 11px var(--mono); opacity: .75; }
.tap.heart:hover, .tap.heart[aria-pressed="true"] { color: var(--pink); }
.tap.heart[aria-pressed="true"] svg { fill: var(--pink); }
.tap.repost:hover, .tap.repost[aria-pressed="true"] { color: var(--acid); }
.tap.pass { margin-left: auto; }
.tap.pass:hover { color: var(--text); background: var(--panel); }

/* Proposal */
.proposal, .loaded { background: transparent; border: 0; border-radius: 0; padding: 0; }
.proposal-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.form-switch { display: inline-flex; background: var(--night); border-radius: 99px; padding: 2px; }
.form-switch button { min-height: 28px; padding: 0 11px; border-radius: 99px; font-size: 12px; font-weight: 600; color: var(--muted); }
.form-switch [aria-pressed="true"] { background: #2a3037; color: var(--text); }
.voice-tag { font: 500 12px/1 var(--body); color: var(--muted); display: inline-flex; gap: 5px; align-items: center; }
.proposal-text { margin-top: 10px; font-size: 15px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.row-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 11px; }
.fire { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 0 16px; background: var(--blue); color: white; border: 1px solid transparent; border-radius: 99px; font: 700 13px/1.2 var(--body); text-decoration: none; }
.fire:hover { background: #1a8cd8; }
.fire:active { background: #1682c9; }
.fire b { font: 600 11px var(--body); color: #a5c7dc; }
.fire.danger { background: #48292e; color: #f2c3c6; border-color: #77434d; }
.ghost { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 11px; border-radius: 99px; color: var(--text); font-size: 13.5px; font-weight: 600; text-decoration: none; }
.ghost:hover { background: var(--raised); }
.ghost svg { width: 16px; height: 16px; }
.ghost.danger { color: var(--pink); }
.ghost.square { width: 40px; padding: 0; }
.loaded { border-color: #354a56; }
.stamp { display: inline-block; margin-bottom: 4px; font: 650 12px/1.4 var(--body); color: var(--acid); }
.stamp.fresh { animation: stamp .3s steps(3); }
@keyframes stamp { from { transform: rotate(-12deg) scale(2.2); } to { transform: rotate(6deg) scale(1); } }
.loaded .proposal-text { margin-top: 2px; }
.loaded:has(.row-actions) .status-line { padding-right: 0; }
.status-line { margin-top: 7px; font: 500 11.5px/1.4 var(--mono); color: var(--muted); }
.loaded .row-actions { margin-top: 5px; margin-left: -9px; }
.pop { position: fixed; z-index: 30; pointer-events: none; font: 700 18px/1 var(--body); color: var(--acid); animation: pop .65s ease-out forwards; }
@keyframes pop { 0% { transform: translate(-50%, 0) scale(.4) rotate(-14deg); opacity: 1; } 30% { transform: translate(-50%, -34px) scale(1.25) rotate(8deg); } 100% { transform: translate(-50%, -96px) scale(1) rotate(-6deg); opacity: 0; } }

.held { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; padding: 10px 16px; background: var(--raised); border-bottom: 1px solid var(--rule); font-size: 14px; }
.held p { flex: 1 1 200px; min-width: 0; overflow-wrap: anywhere; }
.the-end { padding: 42px 22px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.the-end h2 { font: 700 23px/1.2 var(--body); letter-spacing: -.035em; }
.the-end p { color: var(--muted); max-width: 34ch; }

/* Ammo and Bank */
.view-head { position: relative; padding: 18px 16px 15px; border-bottom: 1px solid var(--rule); }
.view-head h1 { font: 700 25px/1.2 var(--body); letter-spacing: -.035em; }
.view-head p { margin-top: 6px; color: var(--muted); font-size: 14.5px; max-width: 46ch; }
.view-head > .ghost { position: absolute; top: 16px; right: 12px; }
.truth { padding: 10px 16px; background: var(--panel); border-bottom: 1px solid var(--rule); font-size: 13px; color: var(--muted); }
.ammo { padding: 13px 16px 11px; border-bottom: 1px solid var(--rule); }
.ammo-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font: 500 11.5px/1.4 var(--mono); color: var(--muted); }
.kind { font: 650 12px/1.4 var(--body); text-transform: capitalize; background: var(--raised); padding: 2px 7px; border-radius: 5px; color: var(--text); }
.ammo blockquote, .editor-context { margin-top: 9px; padding: 8px 11px; border: 1px solid var(--rule); border-radius: 10px; font-size: 13.5px; line-height: 1.35; color: var(--muted); overflow-wrap: anywhere; }
cite { display: block; margin-top: 3px; font: 600 11px var(--mono); }
.sub-head { padding: 18px 16px 6px; font: 700 19px/1.2 var(--body); }
.bank-inline { display: none; padding: 14px 16px; gap: 12px; border-bottom: 1px solid var(--rule); }
.bank-card { border: 1px solid var(--rule); border-radius: 17px; padding: 18px; }
.label { font: 700 18px/1.2 var(--body); letter-spacing: -.025em; }
.bank-points { display: flex; align-items: baseline; gap: 5px; margin-top: 13px; font: 670 38px/1 var(--body); letter-spacing: -.055em; color: var(--text); }
.bank-points span { font: 500 14px/1 var(--body); letter-spacing: 0; color: var(--muted); }
.rank { margin-top: 5px; font-size: 14px; color: var(--acid); }
.meter { height: 4px; margin-top: 14px; background: var(--raised); border-radius: 4px; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--acid); transition: width .2s; }
.fine { margin-top: 6px; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.taste { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 7px; }
.taste li { display: grid; grid-template-columns: 78px 1fr; align-items: center; gap: 8px; font-size: 12.5px; }
.taste span { overflow-wrap: anywhere; }
.taste i { display: block; height: 10px; background: var(--blue); }
.taste i.minus { background: var(--raised); }
.settings { padding: 18px 16px; border-bottom: 1px solid var(--rule); }
.settings .sub-head { padding: 0 0 8px; }
fieldset { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
legend, .field label { display: block; padding: 0; margin-bottom: 8px; font-size: 14px; font-weight: 700; }
.field { margin-bottom: 18px; }
.field input, .field textarea, .editor-input { width: 100%; background: var(--night); border: 1px solid var(--rule); border-radius: 6px; padding: 11px 12px; line-height: 1.45; font-size: 16px; }
.field textarea, .editor-input { resize: vertical; min-height: 120px; display: block; }
::placeholder { color: #919da8; }
.options { display: flex; flex-wrap: wrap; gap: 7px; }
.option { position: relative; }
.option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.option span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--rule); border-radius: 99px; cursor: pointer; font-size: 14px; font-weight: 600; }
.option input:checked + span { background: var(--acid); border-color: var(--acid); color: var(--ink); }
.option input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.clip-row { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid var(--rule); font-size: 14px; }
.clip-row span { flex: 1; min-width: 0; overflow-wrap: anywhere; }

/* Dialog and toast */
dialog { color: var(--text); background: var(--panel); border: 1px solid #404953; border-radius: 18px; padding: 0; width: min(540px, calc(100vw - 24px)); max-height: 88dvh; }
dialog::backdrop { background: #070806c9; }
body:has(dialog[open]) { overflow: hidden; }
#sheet-body { padding: 18px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.sheet-head h2 { font: 700 23px/1.15 var(--body); letter-spacing: -.03em; }
.sheet-copy { font-size: 16px; margin-bottom: 10px; }
.point-list { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 8px; font-size: 14.5px; }
.point-list b { display: inline-block; min-width: 34px; font: 18px/1 var(--display); color: var(--acid); }
.editor-context { margin: 0 0 12px; }
.editor-count { text-align: right; margin-top: 4px; font: 500 11.5px var(--mono); color: var(--muted); }
.editor-count.over { color: var(--pink); font-weight: 700; }
.form-error { color: var(--pink); font-size: 13.5px; line-height: 1.4; }
.form-error:not(:empty) { margin: 8px 0; }
.notification { position: fixed; z-index: 25; left: 50%; bottom: 22px; transform: translateX(-50%); width: max-content; max-width: calc(100vw - 24px); background: #e2eaf0; color: var(--ink); padding: 11px 16px; font-size: 14px; font-weight: 600; line-height: 1.4; border-radius: 12px; }
.notification:empty { display: none; }
.notification button { font-weight: 800; text-decoration: underline; padding: 2px 4px; }
.storage-warning { background: var(--pink); color: var(--ink); padding: 9px 14px; font-size: 13px; font-weight: 600; }

@media (max-width: 900px) and (min-width: 761px) {
  .shell { grid-template-columns: 190px minmax(0, 600px); gap: 16px; padding-inline: 12px; }
  .wordmark { font-size: 20px; }
  .wordmark img { width: 27px; height: 27px; }
}
@media (max-width: 760px) {
  .shell { display: block; padding: 0; max-width: 600px; }
  .side { position: fixed; z-index: 10; inset: auto 0 0; height: auto; display: flex; flex-direction: row; align-items: stretch; gap: 0; padding: 0 0 env(safe-area-inset-bottom); background: var(--night); border-top: 1px solid var(--rule); }
  .side .wordmark, .side > .profile-button, .side > .account-link { display: none; }
  .tabs-main { width: 100%; flex-direction: row; gap: 0; }
  .tabs-main button { flex: 1; flex-direction: column; justify-content: center; gap: 4px; min-height: 58px; padding: 7px 0 6px; border-radius: 0; font: 600 11px/1 var(--body); letter-spacing: 0; text-align: center; position: relative; }
  .tabs-main button:hover { background: none; }
  .tabs-main button[aria-current="page"] { color: var(--text); font-weight: 800; }
  .tabs-main svg { width: 24px; height: 24px; }
  .tabs-main b { position: absolute; top: 5px; left: calc(50% + 8px); margin: 0; min-width: 17px; padding: 1px 4px; font-size: 10px; }
  .brandbar { position: fixed; top: 0; left: max(0px, calc((100vw - 600px) / 2)); z-index: 8; display: flex !important; align-items: center; height: 54px; width: 58px; padding: 6px 8px; background: transparent; }
  .brandbar .wordmark { display: none; }
  .brandbar .profile-button { justify-content: center; min-height: 40px; width: 40px; padding: 0; }
  .brandbar .profile-button .avatar { width: 34px; height: 34px; }
  .brandbar .profile-button > span:not(.avatar) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .timeline-head { padding-left: 62px; }
  .compose-link, .paste-button { position: fixed; right: max(16px, calc((100vw - 568px) / 2)); bottom: calc(76px + env(safe-area-inset-bottom)); width: 56px; height: 56px; min-height: 0; padding: 0; border-radius: 50%; box-shadow: 0 3px 12px #0005; z-index: 11; }
  .compose-link svg { width: 24px; height: 24px; }
  .compose-link > span, .paste-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  main { border-inline: 1px solid var(--rule); padding-bottom: calc(140px + env(safe-area-inset-bottom)); min-height: 100dvh; }
  .feed-tabs button { min-height: 48px; }
  .post { grid-template-columns: 38px minmax(0, 1fr); gap: 9px; padding: 12px 12px 10px; }
  .avatar { width: 38px; height: 38px; font-size: 13px; }
  .post-text, .proposal-text { font-size: 15.5px; }
  .view-head { padding: 14px 12px 12px; }
  .view-head h1 { padding-right: 72px; }
  .view-head > .ghost { top: 7px; }
  .truth, .ammo, .settings, .held { padding-left: 12px; padding-right: 12px; }
  .notification { left: 12px; right: 12px; width: auto; max-width: 576px; margin-inline: auto; transform: none; bottom: calc(142px + env(safe-area-inset-bottom)); }
  dialog { margin: auto auto 0; width: 100vw; max-width: 100vw; border-radius: 18px 18px 0 0; border-width: 1px 0 0; box-shadow: none; max-height: 92dvh; }
  #sheet-body { padding: 16px 14px calc(16px + env(safe-area-inset-bottom)); }
}
@media (max-width: 430px) {
  .proposal .row-actions { gap: 2px; }
  .proposal .row-actions .fire { margin-right: 6px; padding: 0 11px; font-size: 13px; }
  .proposal .row-actions .ghost { padding: 0 8px; }
  .proposal .row-actions .ghost svg { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.following-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--rule); }
.following-tools p { color: var(--muted); font-size: 13px; }
.following-tools button { flex: none; }
.import-prompt:empty { display: none; }
.import-prompt { padding: 3px 16px; text-align: center; border-bottom: 1px solid var(--rule); background: var(--panel); }
.import-prompt button { color: var(--accent, #92c6ea); }

/* Each proposed quote and the original it refers to stay together in the feed. */
.x-post { position: relative; padding: 12px 16px 5px; border-bottom: 1px solid var(--rule); }
.x-draft-head, .x-original-head { display: flex; align-items: center; gap: 10px; }
.x-draft-head { justify-content: space-between; align-items: flex-start; min-height: 42px; }
.x-draft-head strong { color: var(--text); }
.x-draft-head .form-switch { border: 1px solid var(--rule); }
.x-draft-text, .x-draft-empty { margin: 7px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.x-draft-text { font-size: 15.5px; line-height: 1.45; }
.x-post > .x-draft-text, .x-post > .x-draft-empty, .x-post > .x-original, .x-post > .timeline-actions, .x-post > .compact-status { margin-left: 52px; }
.x-post > .x-draft-text { margin-top: 4px; margin-bottom: 10px; }
.x-draft-empty { color: var(--muted); font-size: 14px; }
.x-draft-actions { margin: 8px 0 12px; }
.x-original { border: 1px solid var(--rule); background: transparent; border-radius: 14px; overflow: hidden; }
.x-original-head { padding: 10px 12px 0; }
.x-original-head .avatar { width: 32px; height: 32px; font-size: 11px; flex: none; }
.x-original-head strong, .x-original-head span:not(.avatar) { display: block; font-size: 13px; line-height: 1.3; overflow-wrap: anywhere; }
.x-original-head span:not(.avatar) { color: var(--muted); font-size: 12px; }
.x-source-link { flex: none; margin-left: auto; min-width: 36px; min-height: 36px; display: grid; place-items: center; text-decoration: none; color: var(--muted); font-size: 18px; }
.x-source-link:hover { color: var(--accent, #92c6ea); }
.x-original > .post-text { margin: 0; padding: 7px 12px 12px; font-size: 14.5px; line-height: 1.45; }
.x-post > .post-actions { margin-block: 1px 0; }
.x-media-grid { display: grid; gap: 2px; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--rule); }
.x-media-item { display: block; position: relative; min-width: 0; color: var(--text); }
.x-media-item:only-child { grid-column: 1 / -1; }
.x-media-item img { display: block; width: 100%; height: 100%; max-height: 340px; object-fit: cover; }
.x-media-item:only-child img { height: auto; object-fit: contain; background: #090b0d; }
.x-media-kind { position: absolute; bottom: 8px; left: 8px; background: #080b0ddb; padding: 3px 8px; border-radius: 99px; font-size: 12px; font-weight: 650; }
@media (max-width: 760px) {
  .x-post { padding: 12px 12px 4px; }
  .x-post > .x-draft-text, .x-post > .x-draft-empty, .x-post > .x-original, .x-post > .timeline-actions, .x-post > .compact-status { margin-left: 48px; }
  .feed-tabs button { font-size: 13px; }
}

.excerpt { display: inline-block; font-size: 11px; line-height: 1; color: var(--muted); border: 1px solid var(--rule); border-radius: 4px; padding: 3px 5px; margin-right: 5px; vertical-align: 1px; }
.x-media-unavailable { grid-column: 1 / -1; background: var(--panel); padding: 9px 12px; font-size: 13px; }
.x-original-head + .x-media-grid { margin-top: 9px; }

/* Own posts share the feed rhythm; secondary tools stay inside the menu. */
.ammo { padding: 12px 16px 14px; }
.ammo > .post-text, .ammo > .proposal-text, .ammo > .x-original, .ammo > .compact-status, .ammo > .row-actions { margin-left: 52px; }
.ammo > .post-text, .ammo > .proposal-text { margin-top: 4px; margin-bottom: 8px; font-size: 15.5px; }
.ammo > .row-actions { margin-top: 10px; }
.ammo .row-actions { justify-content: space-between; }
.ammo .row-actions > .post-menu-button { margin-left: auto; }
.ammo .compact-status { margin-top: 5px; font-size: 12px; }
.ammo .x-original { margin-top: 9px; }
.own-author + .post-menu-button { margin-top: -2px; }
@media (max-width: 760px) {
  .ammo { padding: 12px; }
  .ammo > .post-text, .ammo > .proposal-text, .ammo > .x-original, .ammo > .compact-status, .ammo > .row-actions { margin-left: 48px; }
  .timeline-actions { gap: 4px; }
}

.x-original-head a:not(.x-source-link) { color: inherit; text-decoration: none; }
.x-original-head a:hover strong { text-decoration: underline; }
.ammo > .x-draft-text { margin: 4px 0 10px 52px; }
@media (max-width:760px) { .ammo > .x-draft-text { margin-left:48px; } }
