/* lameserver.net — BBS chrome, Dracula palette, GPU-ish glow.
   Structure: fonts → tokens → base → header → headings → body → ansi art →
   board → share/rails → footer → overlays → responsive → reduced motion. */

@font-face {
  font-family: 'Argon';
  src: url('/assets/fonts/argon.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Argon';
  src: url('/assets/fonts/argon-bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'VGA437';
  src: url('/assets/fonts/vga437.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'BrailleFree';
  src: url('/assets/fonts/braille.woff2') format('woff2');
  font-display: swap;
}

:root {
  --bg: #282a36;
  --bg-deep: #21222c;
  --line: #44475a;
  --fg: #f8f8f2;
  --comment: #6272a4;
  --cyan: #8be9fd;
  --green: #50fa7b;
  --orange: #ffb86c;
  --pink: #ff79c6;
  --purple: #bd93f9;
  --red: #ff5555;
  --yellow: #f1fa8c;
  --glow-pink: 0 0 8px rgba(255, 121, 198, 0.6), 0 0 24px rgba(255, 121, 198, 0.25);
  --glow-cyan: 0 0 8px rgba(139, 233, 253, 0.55), 0 0 22px rgba(139, 233, 253, 0.22);
  --glow-purple: 0 0 8px rgba(189, 147, 249, 0.55), 0 0 22px rgba(189, 147, 249, 0.22);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { background: var(--bg); scrollbar-color: var(--line) var(--bg-deep); }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Argon', ui-monospace, monospace;
  font-size: 15px;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* faint CRT scanlines over everything — static, cheap, GPU-composited */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  background: repeating-linear-gradient(0deg,
    rgba(0, 0, 0, 0.14) 0px, rgba(0, 0, 0, 0.14) 1px,
    transparent 1px, transparent 3px);
  opacity: 0.3;
}

::selection { background: var(--pink); color: var(--bg); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

a { color: var(--cyan); text-decoration: none;
    transition: background 0.14s ease, color 0.14s ease, box-shadow 0.14s ease; }
a:hover { background: var(--cyan); color: var(--bg);
          box-shadow: 0 0 14px rgba(139, 233, 253, 0.45); }

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus { left: 1rem; top: 1rem; z-index: 1000; background: var(--bg-deep); padding: 0.5rem; }

main {
  width: min(100% - 2.5rem, 88ch);
  margin-inline: auto;
  padding-block: 1.6rem 3rem;
  flex: 1;
}

/* ---------------- header ---------------- */

.site-header {
  width: min(100% - 2.5rem, 88ch);
  margin-inline: auto;
  padding-top: 0.8rem;
}

/* the banner: JS rebuilds the fallback logo into a dither curtain */
#banner { display: block; min-height: 108px; overflow: hidden; }
#banner .lb { margin: 1.2rem auto 0.6rem; }
#banner .bn {
  font-family: 'Argon', monospace;
  font-size: 12px;
  line-height: 1.05;
  text-align: center;
  overflow: hidden;
  cursor: crosshair;
}
#banner .g1 { color: #b6bac9; }
#banner .g2 { color: #7e8497; }
#banner .g3 { color: #565b6e; }
#banner .ap { color: var(--pink); }
#banner .ac { color: var(--cyan); }
#banner .cv {
  color: #dfe1e8;
  text-shadow: 0 0 12px rgba(248, 248, 242, 0.28);
}
#banner .lit {
  color: var(--fg);
  text-shadow: 0 0 8px rgba(248, 248, 242, 0.7), 0 0 18px rgba(255, 121, 198, 0.4);
}
#banner .cv.lit {
  color: var(--pink);
  text-shadow: 0 0 10px rgba(255, 121, 198, 0.8);
}

/* ---------------- lameblock: the hand-drawn font ---------------- */

.hue-pink   { --hue: var(--pink); }
.hue-purple { --hue: var(--purple); }
.hue-cyan   { --hue: var(--cyan); }
.hue-green  { --hue: var(--green); }
.hue-orange { --hue: var(--orange); }

/* letters alternate two shades of the piece's hue; bottom row and
   dust sink into shadow.  Gray (no hue class) = newsletter mono. */
.lb {
  font-family: 'Argon', monospace;
  font-size: min(13px, calc((100vw - 3rem) * 1.61 / var(--cols, 67)));
  line-height: 1.05;
  width: max-content;
  max-width: 100%;
  margin: 1.6rem auto 0.5rem;
  overflow: hidden;
}
.lb .hi { color: var(--hue, #c3c7d6); }
.lb .lo { color: color-mix(in srgb, var(--hue, #878da2) 62%, var(--bg)); }
.lb .sh { color: #4b4f63; }
.lb .hi { text-shadow: 0 0 14px color-mix(in srgb, var(--hue, #9aa) 30%, transparent); }

.masthead {
  display: flex;
  align-items: center;
  white-space: nowrap;
  color: var(--pink);
  text-shadow: var(--glow-pink);
  font-size: 0.95rem;
  overflow: hidden;
  margin-top: 0.2rem;
}
.masthead .rail { color: var(--comment); text-shadow: none; }
.masthead .cap { color: var(--pink); text-shadow: none; opacity: 0.75; }
.masthead .rail-fill {
  flex: 1;
  overflow: hidden;
  color: var(--comment);
  text-shadow: none;
  min-width: 2ch;
}
.masthead .rail-fill::before {
  content: '════════════════════════════════════════════════════════════════════════════════════════════════';
}

/* the menu is a solid status bar, Renegade-style */
.menu {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 1.4ch;
  margin-top: 0.3rem;
  padding: 0.3rem 1ch 0.4rem;
  background: var(--bg-deep);
  border: 1px solid var(--line);
  border-left: 4px solid var(--comment);
  border-right: 4px solid var(--comment);
  font-size: 0.95rem;
}
/* the BBS "current area" field: an inverse-video chip on the right */
.menu-loc {
  margin-left: auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: var(--line);
  color: var(--yellow);
  padding: 0 1ch;
  text-shadow: none;
}

.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.menu a { color: var(--fg); padding: 0 0.4ch; }
.menu a .hot { color: var(--pink); font-weight: 700;
               transition: text-shadow 0.14s ease, color 0.14s ease; }
.menu a:hover, .menu a.active {
  background: var(--purple);
  color: var(--bg);
  box-shadow: 0 0 16px rgba(189, 147, 249, 0.55), inset 0 0 6px rgba(40, 42, 54, 0.35);
  text-shadow: none;
}
.menu a:hover .hot, .menu a.active .hot { color: var(--bg); }
.menu a:not(:hover) .hot { text-shadow: 0 0 8px rgba(255, 121, 198, 0.7); }

/* ---------------- the phile-head diz box ---------------- */

/* the masthead is a framed file: a thin box in the piece's hue, its
   title set in lameblock straddling the top edge, the bottom melting
   into a file_id.diz drip. */
.phile-head {
  position: relative;
  border: 1px solid color-mix(in srgb, var(--hue) 40%, var(--line));
  border-bottom: none;
  padding: 0 1.8ch;
  margin: 3.6rem 0 2.6rem;
}
/* the block title, pulled up so it sits astride the top border;
   its own bg masks the border line it crosses */
.phile-head > .lb {
  width: max-content;
  max-width: calc(100% - 2ch);
  margin: -2.5rem auto 0.7rem;
  padding: 0.1rem 1.4ch;
  background: var(--bg);
}

/* the drip edge: solid mass along the top melting into faded hangers.
   one hue-dimmed color; the █▓▒░ density carries the fade. */
.drip {
  font-family: 'Argon', monospace;
  font-size: 12px;
  line-height: 0.9;
  white-space: pre;
  overflow: hidden;
  color: color-mix(in srgb, var(--hue, var(--comment)) 38%, var(--line));
}
.sec-drip {
  margin: 0.5rem -1.8ch 0;
  border-inline: 1px solid color-mix(in srgb, var(--hue) 40%, var(--line));
  overflow: hidden;
}

/* ---------------- sections: floated headers, text flows around ---------------- */

/* no box — each level-1 section's block title floats to an alternating
   side and the body wraps around it with a couple chars of air. the
   section is a BFC so its float never bleeds into the next one. */
.phile-sec { overflow: hidden; margin: 2.6rem 0 1.4rem; }
.phile-sec > .lb {
  font-size: 10px;
  margin: 0.4rem 0 0.5rem;
  max-width: 60%;
}
.phile-sec.float-left > .lb  { float: left;  margin-right: 2.5ch; }
.phile-sec.float-right > .lb { float: right; margin-left: 2.5ch; }
/* real heading kept for a11y + anchors; block logo is the visible title */
.phile-sec .outline-2 > h2 {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.phile-sec .outline-2, .phile-sec .outline-text-2 { margin: 0; }

.pre-quote {
  text-align: center;
  color: var(--comment);
  font-style: italic;
  font-size: 0.88rem;
  margin: 0.2rem 0 0.9rem;
}

/* ▌ phile 0xNN │ an official lameserver public transmission │ date ▐ */
.issue {
  display: flex;
  align-items: baseline;
  gap: 1ch;
  border-block: 1px solid var(--line);
  padding: 0.2rem 1ch;
  font-size: 0.88rem;
  color: #b6bac9;
}
.issue::before { content: '▌'; color: var(--hue, var(--comment)); }
.issue::after { content: '▐'; color: var(--hue, var(--comment)); }
.issue .i-cell { white-space: nowrap; }
.issue .i-mid {
  flex: 1;
  text-align: center;
  color: var(--comment);
  border-inline: 1px solid var(--line);
  padding-inline: 1ch;
  overflow: hidden;
  text-overflow: ellipsis;
}
.issue-sub {
  text-align: right;
  color: var(--comment);
  font-size: 0.8rem;
  margin: 0.35rem 0 0.4rem;
}

.tag { color: var(--orange); }
.tag:hover { background: var(--orange); color: var(--bg); }

.sig.ok { color: var(--green); }
.sig.ok:hover { background: var(--green); color: var(--bg); }
.sig.none { color: var(--red); }

/* sub-headings inside a section: letter-spaced whispers, infofile style */
.phile-body h3, .phile-body h4, .phile-body h5 {
  font-weight: 400;
  margin: 2rem 0 0.7rem;
  cursor: pointer;
  text-transform: lowercase;
}
.phile-body h3 {
  color: #b6bac9;
  font-size: 0.95rem;
  letter-spacing: 0.4em;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 0.2rem;
}
.phile-body h4 { color: var(--comment); font-size: 0.9rem; letter-spacing: 0.28em; }
.phile-body h5 { color: var(--comment); font-size: 0.85rem; }
.phile-body h5::before { content: '» '; }

.phile-body .section-number-2, .phile-body .section-number-3,
.phile-body .section-number-4, .phile-body .section-number-5 {
  color: inherit;
  margin-right: 0.6ch;
}

/* folding indicator added by phile.js */
.fold-btn { color: var(--comment); margin-right: 0.8ch; text-shadow: none; }
.folded-hint { color: var(--comment); font-style: italic; }

/* ---------------- body copy ---------------- */

/* newsletter body: justified monospace with first-line indents,
   a shade dimmer than pure white, like the infofiles */
.phile-body { max-width: 80ch; color: rgba(248, 248, 242, 0.84); }
.phile-body p {
  margin: 0 0 1rem;
  text-align: justify;
  text-indent: 5ch;
}
.phile-body li p { text-align: left; text-indent: 0; }
.phile-body ul, .phile-body ol { margin: 0 0 1rem 2.2ch; }
.phile-body li { margin-bottom: 0.2rem; }

.phile-body blockquote {
  border-left: 3px solid;
  border-image: linear-gradient(180deg, var(--purple), rgba(189, 147, 249, 0.1)) 1;
  background: linear-gradient(90deg, rgba(189, 147, 249, 0.07), transparent 65%);
  padding: 0.2rem 0 0.2rem 1.6ch;
  margin: 0 0 1rem;
  color: var(--comment);
  font-style: italic;
}

.phile-body code {
  color: var(--green);
  background: var(--bg-deep);
  padding: 0 0.5ch;
}

/* code blocks only — not the decorative pres (lameblock, drip, ansi) */
.phile-body pre:not(.lb):not(.drip):not(.ansi-art) {
  background: var(--bg-deep);
  border: 1px solid var(--line);
  padding: 0.9rem 1.1rem;
  margin: 0 0 1.2rem;
  overflow-x: auto;
  line-height: 1.5;
  font-family: 'Argon', monospace;
  font-size: 0.88rem;
  box-shadow: inset 0 0 22px rgba(0, 0, 0, 0.35);
}
.phile-body pre code { background: none; padding: 0; color: inherit; }

/* org src blocks arrive as <pre class="src src-LANG"> with a language chip */
.phile-body pre.src { position: relative; }
.phile-body pre.src::before {
  content: attr(class);
  display: none;
}
.phile-body pre.src[class*='src-']::after {
  content: '▓▒░';
  position: absolute;
  top: 0.3rem;
  right: 0.6rem;
  color: var(--line);
}

.phile-body table {
  border-collapse: collapse;
  border: 3px double var(--comment);
  margin: 0 0 1.2rem;
  font-size: 0.92rem;
}
.phile-body th, .phile-body td {
  border: 1px solid var(--line);
  padding: 0.3rem 1ch;
}
.phile-body th {
  background: var(--line);
  color: var(--yellow);
  font-weight: 400;
  text-align: left;
}

.phile-body hr {
  border: 0;
  margin: 1.8rem 0;
}
.phile-body hr::after {
  content: '▄▄█▓▒░ ·∙ .';
  display: block;
  text-align: center;
  color: var(--comment);
  line-height: 1;
}

/* ---------------- ANSI art ---------------- */

.ansi-art {
  line-height: 1;
  letter-spacing: 0;
  overflow-x: auto;
  background: var(--bg-deep);
}
.ansi-vga { font-family: 'VGA437', monospace; font-size: 13px; }
.ansi-argon { font-family: 'Argon', monospace; font-size: 12px; }
.ansi-braille { font-family: 'BrailleFree', monospace; font-size: 12px; line-height: 0.95; }

.ansi-img {
  border: 1px solid var(--line);
  padding: 0.6rem;
  margin: 0 0 1.2rem;
  max-width: max-content;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.4);
}

/* only running text wraps around a floated section title; wide block
   media (ansi art, frames, tables, code) drops below it instead of
   colliding when the intro text is too short to clear the float */
.phile-body .ansi-img,
.phile-body .ansi-frame,
.phile-body figure,
.phile-body table,
.phile-body pre:not(.lb):not(.drip) {
  clear: both;
}
.ansi-missing { color: var(--red); padding: 0.6rem; }
.share-fedi, .share-copy {
  font: inherit;
  font-size: 0.8rem;
  background: none;
  border: none;
  color: var(--comment);
  cursor: pointer;
  padding: 0;
}
.share-fedi:hover, .share-copy:hover { background: var(--comment); color: var(--bg); }

.emblem { border: none; background: none; font-size: 9px; }

.ansi-frame {
  border: 3px double var(--purple);
  padding: 0.5rem;
  margin: 0 0 1.2rem;
  max-width: max-content;
  box-shadow: var(--glow-purple);
}
.ansi-frame video, .ansi-frame audio { display: block; max-width: 100%; }

.divider {
  text-align: center;
  white-space: pre;             /* dividers can be multi-line ANSI pieces */
  line-height: 1.15;
  margin: 2.4rem 0 1.6rem;
  letter-spacing: 0.1em;
  /* stepped bands of the phile's hue marching in 3ch jumps */
  background: repeating-linear-gradient(90deg,
    var(--hue, var(--comment)) 0 3ch,
    color-mix(in srgb, var(--hue, var(--comment)) 55%, var(--bg)) 3ch 6ch,
    var(--comment) 6ch 9ch);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 8px rgba(189, 147, 249, 0.25));
  animation: march 2.4s steps(3) infinite;
}
@keyframes march {
  to { background-position-x: 9ch; }
}

/* ---------------- board listing ---------------- */

.lead { color: var(--comment); margin-bottom: 1rem; }

.board-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 2ch;
  margin: 1.4rem 0 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px dashed var(--line);
}
.search-prompt { color: var(--green); }
#board-search {
  font: inherit;
  color: var(--fg);
  background: transparent;
  border: none;
  border-bottom: 1px dashed var(--comment);
  width: 24ch;
  caret-color: var(--green);
}
#board-search:focus { outline: none; border-bottom-color: var(--green); }
.board-hint { color: var(--comment); font-size: 0.8rem; margin-left: auto; }
#filter-state { color: var(--orange); font-size: 0.85rem; }

/* the board is a pack view: thin single-line boxes with the phile
   number breaking the top border — the infofile box idiom.  Each
   card carries its phile's hue; hover is the modern layer: a lift,
   a glow, the border waking up. */
.board {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(36ch, 1fr));
  gap: 1.6rem 1.8ch;
}
.board .row {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  padding: 0.9rem 1.4ch 0;
  transition: border-color 0.18s ease, box-shadow 0.18s ease,
              transform 0.18s ease, background 0.18s ease;
}
.board .row-hex {
  position: absolute;
  top: 0;
  left: 2ch;
  transform: translateY(-50%);       /* center the ┤ ├ arms on the border */
  line-height: 1;
  background: var(--bg);
  padding: 0 0.5ch;
  color: var(--hue, var(--purple));
  font-size: 0.9rem;
}
.board .row-thumb {
  display: flex;
  justify-content: center;
  padding: 0.3rem 0 0.35rem;
}
.board .row-thumb .ansi-art {
  font-size: 6px;
  background: none;
  overflow: hidden;
  filter: saturate(0.85);
  transition: filter 0.18s ease;
}
.board .row-head { text-align: center; margin-bottom: 0.3rem; }
.board .row-link { color: var(--fg); }
.board .row-link:hover { background: none; box-shadow: none; }
/* the whole card is the click target */
.board .row-link::after { content: ''; position: absolute; inset: 0; }
.board .row-title { color: #b6bac9; }
.board .row-desc {
  display: block;
  text-align: center;
  color: var(--comment);
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
}
.board .row-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.2rem 2ch;
  margin-top: auto;
  color: var(--comment);
  font-size: 0.85rem;
  padding-bottom: 0.45rem;
}
.board .row-tags .tag { position: relative; z-index: 1; }
.board .row:hover, .board .row.sel {
  border-color: var(--hue, var(--pink));
  background: color-mix(in srgb, var(--hue, var(--pink)) 4%, transparent);
  box-shadow: 0 0 22px color-mix(in srgb, var(--hue, var(--pink)) 18%, transparent);
  transform: translateY(-2px);
}
.board .row:hover .row-thumb .ansi-art, .board .row.sel .row-thumb .ansi-art {
  filter: saturate(1.15);
}
.board .row:hover .row-title, .board .row.sel .row-title {
  color: var(--hue, var(--pink));
}

/* ---------------- share + rails ---------------- */

.share { margin: 2rem 0; text-align: center; }
.share-rail { color: var(--comment); margin-bottom: 0.5rem; }
.share-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 2ch; }
.share-links a, .share-links button { color: var(--yellow); font-size: 1rem; }
.share-links a:hover, .share-links button:hover { background: var(--yellow); color: var(--bg); }

.phile-rail {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem 2ch;
  margin-top: 2.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}
.phile-rail .dim { color: var(--comment); }

/* ---------------- footer ---------------- */

.site-footer {
  border-top: 3px double var(--line);
  margin-top: 2rem;
  padding: 1.2rem 1rem 1.6rem;
  text-align: center;
  color: var(--comment);
  font-size: 0.85rem;
}
.site-footer .foot-rail {
  font: inherit;
  border: none;
  cursor: pointer;
  display: inline-block;
  margin-bottom: 0.4rem;
  letter-spacing: 0.1em;
  background: linear-gradient(90deg,
    var(--pink), var(--purple), var(--cyan), var(--green),
    var(--yellow), var(--orange), var(--pink));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 8px rgba(255, 121, 198, 0.4));
  animation: railflow 14s linear infinite;
  transition: filter 0.2s ease;
}
.site-footer .foot-rail:hover {
  filter: drop-shadow(0 0 14px rgba(255, 121, 198, 0.8));
  animation-duration: 3s;
}
.site-footer .foot-rail.carrier {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  color: var(--red);
  animation: carrierblink 0.4s steps(2, jump-none) infinite;
  text-shadow: 0 0 12px rgba(255, 85, 85, 0.7);
}
@keyframes railflow {
  from { background-position: 0% 50%; }
  to   { background-position: 300% 50%; }
}
@keyframes carrierblink {
  50% { opacity: 0.3; }
}
.site-footer a { color: var(--purple); }
.site-footer a:hover { background: var(--purple); color: var(--bg); }
.foot-fine { margin-top: 0.3rem; font-size: 0.75rem; }

/* node status: inverse-video chips, the one BBS status bar that counts */
.foot-node {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.3rem 1.2ch;
  margin: 0.5rem 0 0.7rem;
  font-size: 0.78rem;
}
.foot-node .chip {
  background: var(--comment);
  color: var(--bg);
  padding: 0 1ch;
}
.foot-node .chip-ok { background: var(--green); }

/* ---------------- help overlay (injected by JS) ---------------- */

.help-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(33, 34, 44, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.help-overlay[hidden] { display: none; }
.help-panel {
  background: var(--bg-deep);
  border: 3px double var(--pink);
  box-shadow: var(--glow-pink);
  padding: 1.4rem 2rem;
  max-width: 60ch;
  width: 100%;
}
.help-panel h2 { color: var(--pink); font-size: 1rem; margin-bottom: 0.8rem; }
.help-panel table { width: 100%; font-size: 0.9rem; }
.help-panel td { padding: 0.15rem 1ch; }
.help-panel td:first-child { color: var(--green); white-space: nowrap; }
.help-panel .help-close { color: var(--comment); margin-top: 0.8rem; display: block; text-align: right; }

/* ---------------- responsive ---------------- */

@media (max-width: 640px) {
  body { font-size: 14px; }
  #banner { min-height: 64px; }
  .board { grid-template-columns: 1fr; }
  .board-hint { display: none; }
  .masthead { font-size: 0.8rem; }
  .issue .i-mid { display: none; }
  .phile-body p { text-indent: 3ch; }
  /* too narrow to wrap around a float — center the logo above the text */
  .phile-sec > .lb {
    float: none !important;
    margin: 0.4rem auto 0.6rem !important;
    max-width: 100%;
    font-size: 12px;
  }
  .phile-body p { text-align: left; }
}

/* ---------------- reduced motion ---------------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
