:root {
  --bg: #121212;
  --surface: #1a1a1a;
  --surface-2: #222221;
  --line: #262626;
  --line-strong: #353534;
  --fg: #ebebe8;
  --body: #d9d9d5;
  --muted: #9a9a95;
  --dim: #6e6e6a;
  --edge: clamp(16px, 2.6vw, 32px);
  --radius: 6px;
  --read: 720px;
  --wide: 1120px;
  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
a { color: inherit; text-decoration: none; }
img, video, svg { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; border-radius: 3px; }

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--edge);
  border-bottom: 1px solid var(--line);
}
.wordmark { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; text-transform: uppercase; }
.bar nav a { font-size: 13px; color: var(--muted); transition: color .15s; }
.bar nav a:hover, .bar nav a[aria-current] { color: var(--fg); }

.kicker { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.meta { font-size: 12.5px; color: var(--dim); }

.thumb {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  aspect-ratio: 16 / 9;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
  pointer-events: none;
}
.thumb .badge {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 3px 7px 3px 6px;
  border-radius: 4px;
  background: rgba(10, 10, 10, .82);
  color: var(--fg);
  font: 600 11px/1.4 var(--sans);
}
.thumb .badge svg { width: 10px; height: 10px; }
a:hover .thumb img, a:focus-visible .thumb img { transform: scale(1.025); }

/* Home */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: var(--edge);
  align-items: end;
  padding: 28px var(--edge) 32px;
}
.hero h1 { font-size: 22px; line-height: 1.25; font-weight: 600; margin: 10px 0; }
.hero p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; max-width: 560px; }
.hero .meta { margin-top: 12px; }
.hero:hover h1 { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; }

.section-head { padding: 0 var(--edge) 12px; }
.section-head h2 { margin: 0; font-size: 13px; font-weight: 500; color: var(--muted); }

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px var(--edge);
  padding: 0 var(--edge) 30px;
}
.card .thumb { margin-bottom: 10px; }
.card h3 { margin: 0; font-size: 15px; line-height: 1.35; font-weight: 600; }
.card .meta { margin-top: 4px; }

.pager { display: flex; justify-content: center; gap: 10px; padding: 4px var(--edge) 36px; }
.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--fg);
  background: transparent;
  transition: background .15s, border-color .15s;
}
.button:hover { background: var(--surface); border-color: #4a4a48; }

/* All posts */
.index-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px var(--edge) 14px;
}
.index-head h1 { margin: 0; font-size: 15px; font-weight: 600; }
.search {
  width: min(320px, 55vw);
  font: 14px var(--sans);
  color: var(--fg);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 12px;
}
.search::placeholder { color: var(--dim); }
.year { padding: 18px var(--edge) 6px; font-size: 12px; color: var(--dim); border-bottom: 1px solid var(--line); }
.row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 12px var(--edge);
  border-bottom: 1px solid var(--line);
  transition: background .15s;
}
.row:hover { background: #161616; }
.row h3 { margin: 0 0 3px; font-size: 15px; font-weight: 600; line-height: 1.35; }
.row p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.row .meta { white-space: nowrap; }
.empty { padding: 30px var(--edge); color: var(--muted); font-size: 14px; }
.empty-home { display: grid; place-content: center; gap: 4px; min-height: 60vh; text-align: center; color: var(--muted); font-size: 15px; }
.empty-home p { margin: 0; }

/* Post */
.post-head { max-width: var(--read); margin: 0 auto; padding: 36px var(--edge) 24px; box-sizing: content-box; }
.post-head h1 { font-size: 22px; line-height: 1.25; font-weight: 600; margin: 10px 0 8px; }
.post-head .dek { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.post-head .meta { margin-top: 12px; }
.cover { max-width: var(--wide); margin: 0 auto 30px; padding: 0 var(--edge); box-sizing: content-box; }
.cover .thumb { aspect-ratio: 21 / 9; }

.prose {
  max-width: var(--read);
  margin: 0 auto;
  padding: 0 var(--edge) 12px;
  box-sizing: content-box;
  font-size: 17px;
  line-height: 1.75;
  color: var(--body);
}
.prose > * { margin: 0 0 18px; }
.prose h2 { font-size: 19px; line-height: 1.35; color: var(--fg); margin: 38px 0 10px; }
.prose h3 { font-size: 17px; color: var(--fg); margin: 28px 0 8px; }
.prose a { color: var(--fg); text-decoration: underline; text-decoration-color: #5a5a57; text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--fg); }
.prose strong { color: var(--fg); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: 4px 0; }
.prose blockquote { margin-left: 0; padding: 2px 0 2px 18px; border-left: 2px solid var(--line-strong); color: var(--muted); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 34px 0; }
.prose code { font: 0.86em var(--mono); background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 1px 5px; }
.prose pre {
  font: 13.5px/1.65 var(--mono);
  background: #161616;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  overflow-x: auto;
  color: #cfcfca;
}
.prose pre code { background: none; border: 0; padding: 0; font-size: inherit; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.prose th { color: var(--fg); font-weight: 600; }

/* Monochrome syntax colours: weight and lightness carry meaning instead of hue. */
.hljs-keyword, .hljs-built_in, .hljs-selector-tag { color: #f2f2ee; font-weight: 600; }
.hljs-string, .hljs-attr, .hljs-template-variable { color: #b9b4a6; }
.hljs-comment, .hljs-quote { color: #6e6e6a; font-style: italic; }
.hljs-number, .hljs-literal { color: #c9c6bd; }
.hljs-title, .hljs-section, .hljs-function .hljs-title { color: #ffffff; }
.hljs-meta, .hljs-variable { color: #a5a5a0; }

figure { margin: 26px 0; }
.prose figure.wide { width: min(var(--wide), 100vw - 2 * var(--edge)); margin-left: 50%; transform: translateX(-50%); }
figure img { width: 100%; height: auto; border-radius: var(--radius); background: var(--surface); }
figure img.zoomable { cursor: zoom-in; }
figcaption { margin-top: 9px; font-size: 13px; line-height: 1.5; color: var(--dim); text-align: center; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.gallery figure { margin: 0; }
.gallery { align-items: start; }

.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--edge);
  max-width: var(--wide);
  margin: 26px auto 0;
  padding: 26px var(--edge) 10px;
  box-sizing: content-box;
  border-top: 1px solid var(--line);
}
.post-nav a { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 14px; align-items: center; }
.post-nav a.next { grid-template-columns: minmax(0, 1fr) 128px; text-align: right; }
.post-nav .label { font-size: 12px; color: var(--dim); }
.post-nav h3 { margin: 3px 0 0; font-size: 14.5px; line-height: 1.35; font-weight: 600; }
.more { max-width: var(--wide); margin: 0 auto; box-sizing: content-box; padding-top: 30px; }
.more .section-head, .more .grid { padding-left: var(--edge); padding-right: var(--edge); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(8, 8, 8, .97);
  padding: 56px 16px 64px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; }
.lightbox .lb-caption { position: absolute; bottom: 20px; left: 16px; right: 16px; text-align: center; font-size: 13px; color: var(--muted); }
.lightbox button {
  position: absolute;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(26, 26, 26, .9);
  color: var(--fg);
  cursor: pointer;
}
.lightbox button svg { width: 18px; height: 18px; }
.lightbox .lb-close { top: 12px; right: 12px; }
.lightbox .lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

footer.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px var(--edge);
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--dim);
}
footer.foot .right { display: flex; align-items: center; gap: 16px; }
footer.foot a { display: inline-flex; color: var(--dim); transition: color .15s; }
footer.foot a:hover { color: var(--fg); }
footer.foot svg { width: 14px; height: 14px; }

@media (max-width: 1100px) and (min-width: 761px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; gap: 14px; padding-top: 18px; }
  .hero h1 { font-size: 20px; }
  .grid { grid-template-columns: 1fr; gap: 0; }
  .grid .card { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px 0; }
  .grid .card .thumb { margin: 0; }
  .grid .card h3 { font-size: 14.5px; }
  .grid .thumb .badge { right: 4px; bottom: 4px; padding: 2px 5px; }
  .row { grid-template-columns: 96px minmax(0, 1fr); }
  .row p, .row .meta-col { display: none; }
  .row .meta-inline { display: block; }
  .post-head { padding-top: 22px; }
  .post-head h1 { font-size: 20px; }
  .cover .thumb { aspect-ratio: 16 / 9; }
  .prose { font-size: 16.5px; }
  .post-nav { grid-template-columns: 1fr; gap: 14px; }
  .post-nav a, .post-nav a.next { grid-template-columns: 104px minmax(0, 1fr); text-align: left; }
  .post-nav a.next .thumb { order: -1; }
  .index-head { flex-direction: column; align-items: stretch; }
  .search { width: 100%; }
}
@media (min-width: 761px) { .row .meta-inline { display: none; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Video player */
.player {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #000;
  color: #f2f2ee;
  aspect-ratio: var(--ar, 16 / 9);
  user-select: none;
  -webkit-user-select: none;
  outline: none;
}
.player:focus-visible { box-shadow: 0 0 0 2px var(--fg); }
.player video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.player.ready:not(.active):not(.paused) { cursor: none; }
.player.is-full { border-radius: 0; aspect-ratio: auto; width: 100%; height: 100%; }
.player { container-type: inline-size; }
.p-captions {
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 5%;
  z-index: 2;
  text-align: center;
  pointer-events: none;
  font: 500 clamp(13px, 2cqi, 22px)/1.45 var(--sans);
  transition: bottom .22s;
}
.p-captions span { padding: 2px 8px; background: rgba(0, 0, 0, .78); color: #f2f2ee; border-radius: 3px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.player.active .p-captions, .player.paused:not(.fresh) .p-captions { bottom: max(5%, 66px); }

.p-btn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  opacity: .88;
  transition: opacity .15s, background .15s;
}
.p-btn:hover, .p-btn.on { opacity: 1; background: rgba(255, 255, 255, .1); }
.p-btn svg { width: 20px; height: 20px; }
.p-cc.on { box-shadow: inset 0 -2px 0 #f2f2ee; border-radius: 6px 6px 2px 2px; }

.p-big {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: -34px 0 0 -34px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  background: rgba(14, 14, 14, .72);
  color: #f2f2ee;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: scale(.92);
  transition: opacity .2s, transform .2s, background .2s;
}
.p-big svg { width: 28px; height: 28px; }
.p-big:hover { background: rgba(30, 30, 30, .9); }
.player.paused:not(.scrubbing) .p-big { opacity: 1; pointer-events: auto; transform: none; }

.p-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 26px 10px 6px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .72));
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .22s, transform .22s;
}
.player.active .p-controls, .player.paused:not(.fresh) .p-controls, .player:focus-within .p-controls { opacity: 1; transform: none; }
.player.fresh .p-controls { opacity: 0; pointer-events: none; }

.p-progress { position: relative; height: 18px; margin: 0 6px; cursor: pointer; touch-action: none; display: flex; align-items: center; }
.p-rail { position: relative; width: 100%; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .22); transition: height .12s; }
.p-progress:hover .p-rail, .player.scrubbing .p-rail { height: 5px; }
.p-buffered, .p-played, .p-hoverfill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: inherit; }
.p-buffered { background: rgba(255, 255, 255, .3); }
.p-hoverfill { background: rgba(255, 255, 255, .18); opacity: 0; }
.p-progress:hover .p-hoverfill { opacity: 1; }
.p-played { background: #f2f2ee; }
.p-gap { position: absolute; top: -1px; bottom: -1px; width: 3px; margin-left: -1.5px; background: rgba(0, 0, 0, .85); }
.p-handle {
  position: absolute;
  top: 50%;
  width: 13px;
  height: 13px;
  margin: -6.5px 0 0 -6.5px;
  border-radius: 50%;
  background: #f2f2ee;
  transform: scale(0);
  transition: transform .12s;
}
.p-progress:hover .p-handle, .player.scrubbing .p-handle, .p-progress:focus-visible .p-handle { transform: scale(1); }
.p-tip {
  position: absolute;
  bottom: 22px;
  transform: translateX(-50%);
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(14, 14, 14, .92);
  font: 600 12px/1.35 var(--sans);
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity .12s;
}
.p-tip b { display: block; font-weight: 500; color: #bdbdb8; }
.p-progress:hover .p-tip, .player.scrubbing .p-tip { opacity: 1; }

.p-row { display: flex; align-items: center; gap: 2px; }
.p-vol { display: flex; align-items: center; }
.p-volume {
  -webkit-appearance: none;
  appearance: none;
  width: 0;
  height: 18px;
  margin: 0;
  background: transparent;
  opacity: 0;
  cursor: pointer;
  transition: width .18s, opacity .18s, margin .18s;
}
.p-vol:hover .p-volume, .p-volume:focus-visible { width: 72px; opacity: 1; margin: 0 8px 0 2px; }
.p-volume::-webkit-slider-runnable-track { height: 3px; border-radius: 2px; background: linear-gradient(90deg, #f2f2ee var(--v, 100%), rgba(255, 255, 255, .25) var(--v, 100%)); }
.p-volume::-moz-range-track { height: 3px; border-radius: 2px; background: linear-gradient(90deg, #f2f2ee var(--v, 100%), rgba(255, 255, 255, .25) var(--v, 100%)); }
.p-volume::-webkit-slider-thumb { -webkit-appearance: none; width: 11px; height: 11px; margin-top: -4px; border-radius: 50%; background: #f2f2ee; border: 0; }
.p-volume::-moz-range-thumb { width: 11px; height: 11px; border-radius: 50%; background: #f2f2ee; border: 0; }
.p-time { padding: 0 8px; font: 500 12.5px var(--sans); font-variant-numeric: tabular-nums; white-space: nowrap; }
.p-time span { color: #a9a9a4; }
.p-chapter { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; color: #bdbdb8; }
.p-chapter:not(:empty)::before { content: "·"; margin-right: 8px; color: #77776f; }
.p-spacer { flex: 1; }

.p-menu {
  position: absolute;
  right: 10px;
  bottom: 56px;
  z-index: 4;
  min-width: 230px;
  max-height: calc(100% - 70px);
  overflow-y: auto;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  background: rgba(20, 20, 20, .97);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
  display: none;
}
.p-menu.open { display: block; }
.p-mi, .p-mh {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #f2f2ee;
  font: 13px var(--sans);
  text-align: left;
  cursor: pointer;
}
.p-mi:hover, .p-mi:focus-visible, .p-mh:hover { background: rgba(255, 255, 255, .08); outline: none; }
.p-mi-l { display: flex; align-items: center; gap: 8px; }
.p-mi-l svg { width: 15px; height: 15px; }
.p-mi[role="menuitemradio"]:not(.checked) .p-mi-l svg { visibility: hidden; }
.p-mi-v { display: flex; align-items: center; gap: 4px; color: #a9a9a4; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-mi-v svg { width: 14px; height: 14px; flex: none; }
.p-mh { justify-content: flex-start; gap: 6px; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, .08); border-radius: 5px 5px 0 0; margin-bottom: 4px; }
.p-mh svg { width: 15px; height: 15px; }
.p-ct { color: #a9a9a4; font-variant-numeric: tabular-nums; min-width: 38px; }

.p-spinner {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border: 3px solid rgba(255, 255, 255, .2);
  border-top-color: #f2f2ee;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  animation: p-spin .8s linear infinite;
  transition: opacity .2s .25s;
}
.player.loading:not(.paused) .p-spinner { opacity: 1; }
@keyframes p-spin { to { transform: rotate(360deg); } }

.p-flash {
  position: absolute;
  left: 50%;
  top: 22%;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 6px;
  background: rgba(14, 14, 14, .78);
  font: 600 14px var(--sans);
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
}
.p-flash svg { width: 18px; height: 18px; }
.p-flash.show { animation: p-fade .7s ease forwards; }
.p-seekhint {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 33%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font: 600 12px var(--sans);
  background: rgba(255, 255, 255, .08);
  opacity: 0;
  pointer-events: none;
}
.p-seekhint svg { width: 26px; height: 26px; }
.p-seekhint.left { left: 0; border-radius: 0 50% 50% 0 / 0 50% 50% 0; }
.p-seekhint.right { right: 0; border-radius: 50% 0 0 50% / 50% 0 0 50%; }
.p-seekhint.show { animation: p-fade .6s ease forwards; }
@keyframes p-fade { 0% { opacity: 0; } 15% { opacity: 1; } 70% { opacity: 1; } 100% { opacity: 0; } }

@media (max-width: 760px) {
  .p-back, .p-fwd, .p-pip, .p-chapter { display: none; }
  .p-volume { display: none; }
  .p-btn { width: 34px; height: 34px; }
  .p-menu { right: 6px; left: 6px; min-width: 0; bottom: 50px; }
}
@media (hover: none) {
  .p-big { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
}

/* Downloadable attachments */
.attachments { display: grid; gap: 10px; }
.attachment {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #161616;
  text-decoration: none !important;
  transition: background .15s, border-color .15s;
}
.attachment:hover { background: var(--surface); border-color: #4a4a48; }
.att-icon {
  display: grid;
  place-items: end center;
  height: 54px;
  padding-bottom: 7px;
  border: 1px solid var(--line-strong);
  border-radius: 3px 12px 3px 3px;
  background: var(--surface-2);
  color: var(--muted);
  font: 700 10px/1 var(--sans);
  letter-spacing: .06em;
}
.att-text { display: grid; gap: 2px; min-width: 0; }
.att-title { color: var(--fg); font-size: 15.5px; font-weight: 600; line-height: 1.35; }
.att-meta { color: var(--dim); font-size: 13px; line-height: 1.45; }
.att-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--fg);
  font-size: 13px;
  white-space: nowrap;
}
.att-action svg { width: 15px; height: 15px; }
@media (max-width: 760px) {
  .attachment { grid-template-columns: 40px minmax(0, 1fr); }
  .att-icon { height: 48px; }
  .att-action { grid-column: 2; justify-self: start; }
}
