/* ════════════════════════════════════════════════════════════════════
   Propagate: probability.media/p/

   The hub's dark and its three lights, with one idea of its own: a post
   is a signal, and the listing is the line it travels along. Every card
   hangs off that line by a node, and the node takes the colour of the
   project the post belongs to (--pc), so a mixed feed can be read by
   colour before a word of it is.

   --accent is the page's colour: the brand violet on the home feed, the
   project's own colour inside a project. Set on <html> by propagate.js.
   ════════════════════════════════════════════════════════════════════ */
@font-face{font-family:"Instrument Serif";src:url("/fonts/instrument-serif-regular.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Instrument Serif";src:url("/fonts/instrument-serif-italic.woff2") format("woff2");font-weight:400;font-style:italic;font-display:swap}

:root{
  --bg:#06080b;
  --panel:rgba(16,20,27,.78);
  --panel-solid:#0f131a;
  --raise:rgba(255,255,255,.035);
  --line:rgba(255,255,255,.085);
  --line-2:rgba(255,255,255,.14);
  --text:#e6eef0;
  --body:#c3d0d5;
  --muted:#93a6ad;
  --faint:#5d6e75;
  --violet:#c183e7;
  --brand:#8024b7;
  --gold:#e8b23c;
  --teal:#4fd1c4;
  --rose:#e08a9e;
  --accent:#c183e7;
  --pc:var(--accent);
  --sans:ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --serif:"Instrument Serif",Georgia,"Times New Roman",serif;
  --mono:ui-monospace,"SF Mono","Cascadia Mono",Consolas,monospace;
  --ease:cubic-bezier(.2,.7,.2,1);
  --bar:58px;
}
*{box-sizing:border-box}
html{background:var(--bg);scroll-padding-top:calc(var(--bar) + 12px)}
body{
  margin:0;min-height:100vh;display:flex;flex-direction:column;
  background:var(--bg);color:var(--text);
  font:15px/1.55 var(--sans);
  -webkit-font-smoothing:antialiased;
  overflow-x:clip;
}
a{color:inherit}
button{font:inherit;color:inherit}
[hidden]{display:none !important}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:6px}

/* ── The field behind everything ───────────────────────────────────── */
/* As tall as the screen at its TALLEST (100lvh), not as it happens to be now.
   A phone's browser hides its address bar as you scroll, and the screen
   grows by that much; a layer pinned to all four edges (inset:0) is only
   re-fitted afterwards, so a fast scroll showed a bare strip at the bottom
   where the glow stopped. Sized to the large screen, the layer is already
   there when the bar goes. 100vh is the same thing for older browsers. */
.pg-field{position:fixed;top:0;left:0;right:0;height:100vh;height:100lvh;z-index:0;pointer-events:none}
.pg-field::before{
  content:"";position:absolute;inset:0;
  background:
    radial-gradient(60% 42% at 50% -10%,color-mix(in srgb,var(--accent) 22%,transparent),transparent 70%),
    radial-gradient(40% 34% at 4% 96%,rgba(79,209,196,.07),transparent 70%),
    radial-gradient(36% 30% at 97% 72%,rgba(232,178,60,.06),transparent 70%);
  transition:background .6s var(--ease);
}
.pg-field canvas{position:absolute;inset:0;width:100%;height:100%;opacity:.5}

/* ── The bar ───────────────────────────────────────────────────────── */
.pg-bar{
  position:sticky;top:0;z-index:30;height:var(--bar);
  background:rgba(6,8,11,.72);
  -webkit-backdrop-filter:blur(14px) saturate(1.3);backdrop-filter:blur(14px) saturate(1.3);
  border-bottom:1px solid var(--line);
}
.pg-bar-in{
  height:100%;max-width:1320px;margin:0 auto;padding:0 clamp(12px,3vw,28px);
  display:flex;align-items:center;gap:12px;
}
.pg-home{display:flex;flex:none;border-radius:8px;opacity:.9;transition:opacity .2s,transform .3s var(--ease)}
.pg-home:hover{opacity:1;transform:rotate(-8deg) scale(1.06)}
.pg-home img{display:block;width:30px;height:30px}
.pg-mark{display:flex;align-items:center;gap:8px;text-decoration:none;color:var(--text);flex:none}
.pg-glyph{width:30px;height:18px;color:var(--accent);transition:color .5s var(--ease)}
.pg-word{font:italic 400 27px/1 var(--serif);letter-spacing:-.01em;padding-bottom:3px}
.pg-crumb{
  display:flex;align-items:center;gap:8px;min-width:0;
  font:500 13px/1 var(--mono);color:var(--muted);
}
.pg-crumb::before{content:"";width:0;height:20px;border-left:1px solid var(--line-2);margin:0 4px}   /* a border, not a 1px box: see .pg-feed::before */
.pg-crumb:empty{display:none}
/* line-height: the bar's own is 1, and a box that hides its overflow (for
   the ellipsis) at that height cuts the tails off g, p and y. */
.pg-crumb a{color:var(--accent);text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.4}
.pg-crumb a:hover{text-decoration:underline}
.pg-bar-end{margin-left:auto;display:flex;align-items:center;gap:10px;min-width:0;flex:0 1 auto}
.pg-bar-end .pg-btn{flex:none}

.pg-me{
  display:flex;align-items:center;gap:8px;min-width:0;
  padding:4px 12px 4px 4px;border:1px solid var(--line);border-radius:999px;
  background:var(--raise);text-decoration:none;font-size:13.5px;color:var(--text);
  transition:border-color .2s,background .2s;
}
.pg-me:hover{border-color:var(--line-2);background:rgba(255,255,255,.06)}
.pg-me span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}

/* ── Buttons ───────────────────────────────────────────────────────── */
.pg-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:38px;padding:0 16px;border-radius:999px;cursor:pointer;
  border:1px solid color-mix(in srgb,var(--accent) 55%,transparent);
  background:color-mix(in srgb,var(--accent) 16%,transparent);
  color:var(--text);font:600 13.5px/1 var(--sans);text-decoration:none;white-space:nowrap;
  transition:background .2s,border-color .2s,transform .15s var(--ease),box-shadow .2s;
}
.pg-btn:hover{background:color-mix(in srgb,var(--accent) 26%,transparent);border-color:var(--accent);box-shadow:0 0 22px -6px var(--accent)}
.pg-btn:active{transform:scale(.97)}
.pg-btn[disabled]{opacity:.5;cursor:default;box-shadow:none}
.pg-btn.quiet{border-color:var(--line-2);background:var(--raise);font-weight:500}
.pg-btn.quiet:hover{border-color:var(--muted);background:rgba(255,255,255,.07);box-shadow:none}
.pg-btn.small{min-height:32px;padding:0 13px;font-size:13px}
.pg-btn.danger{border-color:rgba(224,138,158,.55);background:rgba(224,138,158,.12)}
.pg-btn.danger:hover{border-color:var(--rose);background:rgba(224,138,158,.2);box-shadow:none}
.pg-btn svg{width:15px;height:15px;flex:none}
.pg-icon{
  display:inline-grid;place-items:center;width:36px;height:36px;flex:none;
  border:1px solid transparent;border-radius:10px;background:none;color:var(--muted);cursor:pointer;
  transition:color .2s,background .2s,border-color .2s;
}
.pg-icon:hover{color:var(--text);background:var(--raise);border-color:var(--line)}
.pg-icon svg{width:18px;height:18px}
.pg-link{background:none;border:0;padding:0;color:var(--accent);cursor:pointer;text-decoration:underline;text-underline-offset:2px}

/* ── The three columns ─────────────────────────────────────────────── */
.pg-shell{
  position:relative;z-index:1;flex:1 0 auto;width:100%;max-width:1320px;margin:0 auto;
  padding:26px clamp(12px,3vw,28px) 70px;
  display:grid;grid-template-columns:216px minmax(0,1fr) 300px;gap:34px;align-items:start;
}
.pg-rail,.pg-side{position:sticky;top:calc(var(--bar) + 26px);max-height:calc(100vh - var(--bar) - 40px);overflow-y:auto;scrollbar-width:thin}
.pg-main{min-width:0;max-width:720px;width:100%;justify-self:center}

/* The rail: where you can go. */
.pg-rail-h{font:600 10.5px/1 var(--mono);letter-spacing:.16em;text-transform:uppercase;color:var(--faint);margin:20px 10px 8px}
.pg-rail-h:first-child{margin-top:4px}
.pg-nav{
  display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:10px;
  color:var(--body);text-decoration:none;font-size:14px;min-width:0;
  transition:background .18s,color .18s;
}
.pg-nav:hover{background:var(--raise);color:var(--text)}
.pg-nav[aria-current="page"]{background:color-mix(in srgb,var(--pc) 13%,transparent);color:var(--text)}
.pg-nav svg{width:17px;height:17px;flex:none;color:var(--muted)}
.pg-nav[aria-current="page"] svg{color:var(--pc)}
.pg-nav .pg-dot{flex:none}
.pg-nav b{font:500 13.5px/1.2 var(--mono);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pg-nav small{margin-left:auto;font:11px/1 var(--mono);color:var(--faint)}
.pg-dot{width:9px;height:9px;border-radius:50%;background:var(--pc);box-shadow:0 0 10px -1px var(--pc)}

/* The side: what this place is. */
.pg-card{
  background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:18px;
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
}
.pg-side .pg-card+.pg-card{margin-top:14px}
.pg-card h3{margin:0 0 8px;font:600 10.5px/1 var(--mono);letter-spacing:.16em;text-transform:uppercase;color:var(--faint)}
.pg-card p{margin:0 0 10px;color:var(--body);font-size:14px}
.pg-card p:last-child{margin-bottom:0}
/* Who moderates a project (migration 77). */
.pg-mods[hidden]{display:none}
.pg-modlist{list-style:none;margin:0 0 10px;padding:0;display:grid;gap:7px}
.pg-modlist li{display:flex;align-items:baseline;justify-content:space-between;gap:10px;font-size:14px;min-width:0}
.pg-modlist a{color:var(--text);font-weight:600;text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pg-modlist a:hover{color:var(--pc)}
.pg-modlist .pg-linkbtn{flex:none;font-size:12.5px;color:var(--muted)}
.pg-modlist .pg-linkbtn:hover{color:var(--text)}
.pg-card p.pg-modnote{font-size:12.5px;color:var(--faint)}
.pg-mods .pg-btn{margin-top:10px}
.pg-stats{display:flex;gap:22px;margin:14px 0 2px}
.pg-stats div{display:flex;flex-direction:column;gap:3px}
.pg-stats b{font:400 26px/1 var(--serif);color:var(--text)}
.pg-stats span{font:10.5px/1 var(--mono);letter-spacing:.12em;text-transform:uppercase;color:var(--faint)}
.pg-rules{margin:0;padding:0;list-style:none;counter-reset:r}
.pg-rules li{counter-increment:r;position:relative;padding:7px 0 7px 26px;color:var(--body);font-size:13.5px;border-top:1px solid var(--line)}
.pg-rules li:first-child{border-top:0}
.pg-rules li::before{content:counter(r);position:absolute;left:0;top:8px;font:11px/1.5 var(--mono);color:var(--pc)}

/* ── A project's head ──────────────────────────────────────────────── */
.pg-head{position:relative;margin:0 0 20px;padding:22px 22px 18px;border:1px solid var(--line);border-radius:20px;background:var(--panel);overflow:hidden;
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.pg-head::before{content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(70% 120% at 0% 0%,color-mix(in srgb,var(--pc) 20%,transparent),transparent 62%)}
.pg-head>*{position:relative}
.pg-head .pg-addr{font:500 13px/1 var(--mono);color:var(--pc);letter-spacing:.02em}
.pg-head h1{margin:8px 0 6px;font:400 clamp(34px,6vw,46px)/1.02 var(--serif);letter-spacing:-.015em}
.pg-head h1 em{font-style:italic;color:var(--pc)}
.pg-head .pg-tag{margin:0;color:var(--body);max-width:56ch}
.pg-head-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;margin-top:16px}
.pg-head-row .pg-count{font:12px/1 var(--mono);color:var(--muted)}
.pg-head-row .pg-count b{color:var(--text);font-weight:600}
.pg-head-row .pg-push{margin-left:auto;display:flex;gap:8px}

/* ── Filters ───────────────────────────────────────────────────────── */
/* One row in three parts. The order of the listing sits in the middle of
   it, whatever is beside it: equal columns either side keep it centred
   whether or not they hold anything. */
.pg-tools{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:10px;margin:0 0 14px;min-width:0}
.pg-tools-l{display:flex;justify-self:start;min-width:0}
/* Search: the outline of a chip with a field in it, at the end of the row.
   Its results are the listing itself (?q= on the address), so there is no
   second page to draw. On a phone it takes a line of its own. */
.pg-search{display:flex;align-items:center;gap:8px;justify-self:end;width:100%;max-width:230px;min-width:0;height:36px;padding:0 13px;
  border:1px solid var(--line-2);border-radius:999px;color:var(--muted);transition:border-color .2s,color .2s}
.pg-search svg{width:15px;height:15px;flex:none}
.pg-search input{flex:1;min-width:0;height:100%;padding:0;border:0;outline:0;background:none;color:var(--text);font:14px/1 var(--sans);
  -webkit-appearance:none;appearance:none}
.pg-search input::placeholder{color:var(--faint)}
.pg-search:focus-within{border-color:var(--accent);color:var(--text)}
.pg-found{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 16px;margin:0 0 14px;color:var(--muted);font-size:14px}
.pg-found span{margin-right:auto;overflow-wrap:anywhere}
.pg-found b{color:var(--text);font-weight:600}
.pg-linkbtn{padding:0;border:0;background:none;color:var(--accent);font:inherit;cursor:pointer}
.pg-linkbtn:hover{text-decoration:underline}
.pg-post mark{padding:0 2px;border-radius:3px;background:color-mix(in srgb,var(--pc,var(--accent)) 28%,transparent);color:inherit}
/* The order of the listing: three words, and a short line under the one in
   force. No box round them and no filled shape behind the chosen one. Both
   were tried: a pill inside a pill drifts off-centre at fractional display
   scaling, and filled segments read as heavy for a control this small. A
   line under a word has nothing to be centred in. */
.pg-seg{display:flex;flex:none;align-items:center;gap:2px}
.pg-seg button{
  position:relative;min-height:32px;padding:0 10px;border:0;border-radius:8px;background:none;cursor:pointer;
  font:500 13.5px/1 var(--sans);color:var(--muted);transition:color .2s;
}
.pg-seg button::after{
  content:"";position:absolute;left:10px;right:10px;bottom:2px;height:2px;border-radius:2px;
  background:var(--accent);opacity:0;transform:scaleX(.4);transition:opacity .2s,transform .25s var(--ease);
}
.pg-seg button:hover{color:var(--text)}
.pg-seg button[aria-pressed="true"]{color:var(--text)}
.pg-seg button[aria-pressed="true"]::after{opacity:1;transform:none}
.pg-chips{display:flex;gap:7px;min-width:0;overflow-x:auto;scrollbar-width:none;padding:2px 0;
  -webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 28px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 28px),transparent)}
.pg-chips::-webkit-scrollbar{display:none}
.pg-chip{
  flex:none;min-height:32px;padding:0 13px;border:1px solid var(--line);border-radius:999px;background:none;cursor:pointer;
  font:500 13px/1 var(--sans);color:var(--muted);white-space:nowrap;text-decoration:none;display:inline-flex;align-items:center;gap:6px;
  transition:color .2s,border-color .2s,background .2s;
}
.pg-chip:hover{color:var(--text);border-color:var(--line-2)}
.pg-chip[aria-pressed="true"]{color:var(--text);border-color:color-mix(in srgb,var(--pc) 70%,transparent);background:color-mix(in srgb,var(--pc) 14%,transparent)}
.pg-chips:last-child{padding-right:28px}
.pg-chips:empty{display:none}
/* A project's topics, all in view, as a grid of equal cells in the middle of
   the column. They used to wrap as chips of their own widths, which ended
   each row wherever the words ran out. The page works out how many go
   across (--cols) and how far "All" stretches to fill a gap (--span), so
   every row is full. The grid answers to the width of its own column, not
   the window's: under 600px of column it is two across, and "All" takes a
   whole row when the count is odd. A name too long for its cell is cut
   with an ellipsis; its full description is in the title. */
.pg-topicwrap{container-type:inline-size;margin:0 0 16px}
.pg-topics{display:grid;grid-template-columns:repeat(var(--cols,4),minmax(0,176px));justify-content:center;gap:8px}
.pg-topics .pg-chip{display:block;min-width:0;min-height:0;height:34px;padding:0 10px;line-height:32px;text-align:center;overflow:hidden;text-overflow:ellipsis}
.pg-topics .pg-chip:first-child{grid-column:span var(--span,1)}
.pg-topics .pg-chip svg{vertical-align:-1px;margin-right:5px}
@container (max-width:600px){
  .pg-topics{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pg-topics .pg-chip{height:38px;line-height:36px}
  .pg-topics .pg-chip:first-child{grid-column:auto}
  .pg-topics.odd .pg-chip:first-child{grid-column:1 / -1}
}
.pg-chip.staff{border-style:dashed;color:var(--rose)}
.pg-chip.staff svg{width:12px;height:12px}
.pg-chip.staff:hover{border-color:var(--rose);color:#f3c2cd}
.pg-chip.staff[aria-pressed="true"]{border-style:solid;border-color:rgba(224,138,158,.7);background:rgba(224,138,158,.14);color:#f3c2cd}

/* The phone's strip of projects, in place of the rail. */
.pg-strip{display:none;margin:0 0 16px}

/* ── The line and the cards on it ──────────────────────────────────── */
.pg-feed{position:relative;padding-left:26px}
/* The line is a BORDER, not a box one pixel wide. With the browser zoomed
   out (Ctrl and minus, 90% and under) a 1px box comes to less than one
   screen pixel and Chrome rounds it away: the whole line vanished while the
   nodes stayed. A border is always given at least one screen pixel. The
   same goes for every other hairline here that used to be a 1px box. */
.pg-feed::before{
  content:"";position:absolute;left:8px;top:6px;bottom:6px;width:0;
  border-left:1px solid var(--line-2);
  border-image:linear-gradient(180deg,transparent,var(--line-2) 28px,var(--line-2) calc(100% - 60px),transparent) 1;
}
.pg-post{
  position:relative;display:block;margin:0 0 12px;padding:16px 18px 12px;
  background:var(--panel);border:1px solid var(--line);border-radius:16px;cursor:pointer;
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  transition:border-color .25s,transform .25s var(--ease),background .25s;
}
/* The node sits ON the line and the link leaves from its edge, at its middle.
   The sizes say so outright: the line is 1px at 8px (middle 8.5), the node is
   15px across its border from 1px to 16px (middle 8.5, and 29.5 down), and the
   link runs from 16px to the card at 29px down. box-sizing is written here
   because the page's "*" rule does not reach ::before and ::after: without it
   the border was added to the width, the node sat 2px right of the line and
   the link began inside the ring. */
.pg-post::before{                      /* the node */
  content:"";position:absolute;box-sizing:border-box;left:-25px;top:22px;width:15px;height:15px;border-radius:50%;
  background:var(--bg);border:2px solid var(--pc);
  transition:background .25s,box-shadow .25s;
}
.pg-post::after{                       /* its link to the card */
  content:"";position:absolute;left:-10px;top:29px;width:10px;height:0;border-top:1px solid color-mix(in srgb,var(--pc) 55%,transparent);
}
.pg-post:hover{border-color:color-mix(in srgb,var(--pc) 45%,var(--line));background:rgba(20,25,33,.86)}
.pg-post:hover::before{background:var(--pc);box-shadow:0 0 14px var(--pc)}
.pg-post.is-new{animation:pg-in .5s var(--ease) both}
@keyframes pg-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}

.pg-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;font-size:12.5px;color:var(--muted);min-width:0}
.pg-meta .pg-where{font:600 12px/1 var(--mono);color:var(--pc);text-decoration:none}
.pg-meta .pg-where:hover{text-decoration:underline}
.pg-who{display:inline-flex;align-items:center;gap:6px;color:var(--body);text-decoration:none;min-width:0}
.pg-who:hover span{text-decoration:underline}
.pg-who span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:20ch}
.pg-sep{color:var(--faint)}
.pg-av{width:20px;height:20px;border-radius:50%;object-fit:cover;flex:none;background:#1a2028;display:block}
.pg-av.big{width:28px;height:28px}
.pg-badge{
  display:inline-flex;align-items:center;gap:5px;height:21px;padding:0 9px;border-radius:999px;
  font:600 10.5px/1 var(--mono);letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;
  color:var(--pc);background:color-mix(in srgb,var(--pc) 13%,transparent);border:1px solid color-mix(in srgb,var(--pc) 30%,transparent);
}
.pg-badge.plain{color:var(--muted);background:var(--raise);border-color:var(--line)}
.pg-badge.star{color:var(--gold);background:rgba(232,178,60,.12);border-color:rgba(232,178,60,.34)}
.pg-badge.warn{color:var(--rose);background:rgba(224,138,158,.1);border-color:rgba(224,138,158,.3)}
.pg-badge svg{width:11px;height:11px}
.pg-post h2{margin:9px 0 5px;font:400 24px/1.16 var(--serif);letter-spacing:-.005em;color:var(--text);overflow-wrap:anywhere;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.pg-post h2 a{color:inherit;text-decoration:none}
.pg-excerpt{margin:0;color:var(--body);font-size:14.5px;overflow-wrap:anywhere;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.pg-refs{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}
.pg-ref{font:11.5px/1 var(--mono);color:var(--muted);padding:5px 8px;border:1px dashed var(--line-2);border-radius:7px}
.pg-foot-row{display:flex;align-items:center;gap:8px;margin-top:12px;color:var(--muted);font-size:13px}
.pg-foot-row .pg-end{margin-left:auto;display:flex;align-items:center;gap:4px}
.pg-replies{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 10px;border-radius:999px;color:var(--muted);text-decoration:none}
.pg-replies:hover{color:var(--text);background:var(--raise)}
.pg-replies svg{width:15px;height:15px}

/* Agree and disagree. Two tallies, never one score: a claim with ten of each
   is not a claim with none. */
.pg-vote{display:inline-flex;align-items:stretch;gap:0;padding:0;border:1px solid var(--line);border-radius:999px;background:var(--raise)}
/* Your own vote is shown by colour and a heavier arrow, with nothing lit
   behind it: teal for agree, rose for disagree. */
.pg-vote button:first-child{padding-left:12px}
.pg-vote button:last-child{padding-right:12px}
.pg-vote button{
  display:inline-flex;align-items:center;gap:5px;min-height:30px;padding:0 10px;border:0;border-radius:0;background:none;cursor:pointer;
  font:600 12.5px/1 var(--mono);color:var(--muted);transition:color .18s,background .18s;
}
.pg-vote button svg{width:13px;height:13px}
.pg-vote button.a:hover:not([disabled]){color:var(--teal)}
.pg-vote button.d:hover:not([disabled]){color:var(--rose)}
.pg-vote button[disabled]{cursor:default}
.pg-vote button.a[aria-pressed="true"]{color:var(--teal)}
.pg-vote button.d[aria-pressed="true"]{color:var(--rose)}
.pg-vote button[aria-pressed="true"] svg{stroke-width:3}
.pg-vote button[aria-pressed="true"] span{font-weight:700}
.pg-vote.frozen{opacity:.75}

.pg-empty{margin:8px 0 0;padding:44px 24px;text-align:center;border:1px dashed var(--line-2);border-radius:16px;color:var(--muted)}
.pg-empty strong{display:block;margin-bottom:6px;font:400 26px/1.1 var(--serif);color:var(--text)}
.pg-more{display:flex;justify-content:center;padding:14px 0 0;min-height:60px}
.pg-end-note{text-align:center;color:var(--faint);font:11px/1 var(--mono);letter-spacing:.14em;text-transform:uppercase;padding:22px 0 0}
.pg-loading{padding:40px 0;text-align:center;color:var(--muted);font:12px/1 var(--mono);letter-spacing:.14em;text-transform:uppercase}
.pg-loading::before{content:"";display:inline-block;width:8px;height:8px;margin-right:10px;border-radius:50%;background:var(--accent);animation:pg-pulse 1.1s ease-in-out infinite}
@keyframes pg-pulse{0%,100%{opacity:.25;transform:scale(.8)}50%{opacity:1;transform:scale(1.15)}}

.pg-note{margin:0 0 14px;padding:12px 14px;border-radius:12px;border:1px solid var(--line-2);background:var(--raise);color:var(--body);font-size:14px}
.pg-note.err{border-color:rgba(224,138,158,.45);background:rgba(224,138,158,.09);color:#f0c4cf}
.pg-note.ok{border-color:rgba(79,209,196,.4);background:rgba(79,209,196,.08);color:#bfeee8}
.pg-note.warn{border-color:rgba(232,178,60,.4);background:rgba(232,178,60,.08);color:#f0dcae}
.pg-note b{color:var(--text)}
.pg-note .pg-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}

/* ── A thread ──────────────────────────────────────────────────────── */
.pg-back{display:inline-flex;align-items:center;gap:6px;margin:0 0 14px;color:var(--muted);text-decoration:none;font-size:13.5px}
.pg-back:hover{color:var(--text)}
.pg-back svg{width:16px;height:16px}
.pg-thread{position:relative;padding:20px 22px 14px;background:var(--panel);border:1px solid var(--line);border-radius:20px;
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.pg-thread::before{content:"";position:absolute;left:0;top:24px;bottom:24px;width:3px;border-radius:0 3px 3px 0;background:var(--pc);opacity:.8}
.pg-thread h1{margin:12px 0 10px;font:400 clamp(28px,5vw,38px)/1.1 var(--serif);letter-spacing:-.01em;overflow-wrap:anywhere}
.pg-text{margin:0;color:var(--text);font-size:15.5px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}
.pg-text.gone{color:var(--muted);font-style:italic}
.pg-label{display:block;margin:20px 0 6px;font:600 10.5px/1 var(--mono);letter-spacing:.16em;text-transform:uppercase;color:var(--faint)}
.pg-file{margin-top:18px;padding:14px;border:1px solid var(--line);border-radius:12px;background:var(--raise);display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px}
.pg-file div{min-width:0;flex:1 1 200px}
.pg-file b{display:block;font:500 13px/1.3 var(--mono);overflow-wrap:anywhere}
.pg-file small{color:var(--muted);font-size:12.5px}
.pg-thread .pg-foot-row{margin-top:14px}
.pg-thread .pg-vote button{min-height:30px;font-size:12.5px}

.pg-rhead{display:flex;align-items:center;gap:10px;margin:22px 0 10px}
.pg-rhead h2{margin:0;font:400 26px/1 var(--serif)}
.pg-rhead h2 span{color:var(--muted);font-size:20px}
.pg-rhead select{margin-left:auto}
select.pg-select,.pg-field-in select{
  min-height:36px;padding:0 30px 0 12px;border:1px solid var(--line-2);border-radius:10px;cursor:pointer;
  background:var(--panel-solid) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2393a6ad' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 11px center/10px;
  color:var(--text);font:13.5px/1 var(--sans);-webkit-appearance:none;appearance:none;
}

.pg-write{padding:12px;border:1px solid var(--line);border-radius:16px;background:var(--panel);transition:border-color .2s}
.pg-write:focus-within{border-color:color-mix(in srgb,var(--accent) 60%,transparent)}
.pg-write textarea{
  display:block;width:100%;min-height:44px;max-height:320px;padding:6px 4px;border:0;outline:0;resize:none;background:none;
  color:var(--text);font:15px/1.5 var(--sans);
}
.pg-write textarea::placeholder{color:var(--faint)}
.pg-write-foot{display:flex;align-items:center;gap:10px;margin-top:6px}
.pg-write-foot .pg-count-n{font:11.5px/1 var(--mono);color:var(--faint)}
.pg-write-foot .pg-count-n.near{color:var(--gold)}
.pg-write-foot .pg-push{margin-left:auto;display:flex;gap:8px}

/* ── Replies: the thread and its connectors ──────────────────────────
   Carried over from the forum and kept as it was. Every connector in a
   thread is one SVG overlay on the thread's container, drawn by
   propagate.js (layoutThread): each connection a single stroke, down the
   spine, round the bend, into the header box. Nothing here may change the
   SIZE of a header box on hover or on a mark, or the lines measured
   against it would move.

   --thread-line is a solid colour, not the translucent --line: the
   gradients that fade a spine toward a peer's turn need a concrete colour
   to fade, and a see-through stroke over another compounds at every
   junction. */
.pg-tree{position:relative;margin-top:4px;padding-left:14px;--thread-line:#27313c;--node:#0e1319}
.pg-lines{position:absolute;left:0;top:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:0}
.pg-lines path{fill:none;stroke:var(--thread-line);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
/* Ordinary connectors end flat, not round: a round cap runs half the stroke
   past its end, two meeting caps overlap, and while the stroke is
   translucent (a peer lane beneath it) the overlap shows as a dark knot. */
.pg-lines path.rung{stroke-linecap:butt}
/* The lower deck: the spine carrying on past a peer's turn. */
.pg-lines path.through{stroke-opacity:.78}
/* Grey spine with a peer lane running under it: it stays on top, and drops
   enough for the lane to read through, the whole connector together. */
.pg-lines path.lane,.pg-lines path.through.lane{stroke-opacity:.55}
/* ONE GLOW FOR THE WHOLE DECK, not one per lane. Two lanes leaving the same
   header are collinear until they part; a shadow each would compound on the
   shared stretch and read as a dash. Filtering the group glows the union
   once. The pulse moves with it for the same reason. */
.pg-lines path.peer{stroke:url(#pg-peerspark)}
.pg-lines .peerdeck{filter:drop-shadow(0 0 4px #7a9bd8aa)}
@keyframes pg-peerpulse{0%,100%{opacity:1}50%{opacity:.55}}
@media (prefers-reduced-motion:no-preference){
  .pg-lines .peerdeck{animation:pg-peerpulse 3.4s ease-in-out infinite}
}
/* A filter re-rasterised on every frame of an animation with no end, on a
   surface several times its native size (an ultrawide zoomed far out). */
@media (min-width:3600px){
  .pg-lines .peerdeck{filter:none;animation:none}
}

/* A reply has no left padding of its own: the header starts at its left edge
   and the BODY is indented, so a row is never wider than the box around it. */
/* Compact: a reply is its header row and its words, nothing else. Reply sits
   with the votes on the header row, and the gap between two replies is one
   margin, so a screen holds two to three times what it did. */
.pg-c{--pad:26px;position:relative;padding:0;margin-top:10px}
.pg-tree > .pg-c{margin-top:16px}
.pg-tree > .pg-c:first-of-type{margin-top:8px}
.pg-c-meta{position:relative;z-index:1;display:flex;align-items:center;flex-wrap:nowrap;gap:0;min-height:26px;font-size:12px;color:var(--muted)}
/* The header box. Opaque: a connector ends underneath it, and the line down
   to this reply's own replies comes out from beneath it. */
.pg-idbox{display:inline-flex;align-items:center;gap:7px;flex:0 1 auto;min-width:0;overflow:hidden;padding:3px 9px 3px 7px;
  border:1px solid var(--thread-line);border-radius:8px;background:var(--node);transition:border-color .2s,box-shadow .2s}
/* The avatar is a mask as well as a portrait: the point where the line
   arriving at a reply meets the line leaving it is always under it. */
.pg-idbox .pg-av{width:18px;height:18px;border-radius:50%;background:var(--node);box-shadow:0 0 0 1px var(--thread-line)}
.pg-idbox .pg-av.blank{display:grid;place-items:center;color:var(--faint);font-size:11px}
.pg-idbox .nm{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600;font-size:12.5px;color:var(--text);text-decoration:none}
.pg-idbox a.nm:hover{text-decoration:underline}
.pg-idbox .nm.gone{font-weight:500;font-style:italic;color:var(--faint)}
.pg-idbox .when{flex:none}
/* The fold button, where the header box meets the long rule. */
.pg-foldbtn{flex:none;display:grid;place-items:center;width:20px;height:20px;margin-left:7px;padding:0;cursor:pointer;
  border:1px solid var(--thread-line);border-radius:6px;background:#0e1319b3;color:var(--muted);font:12px/1 var(--mono);
  transition:color .18s,border-color .18s}
.pg-foldbtn:hover{color:var(--teal);border-color:var(--teal)}
.pg-foldbtn .chev{display:block;transition:transform .22s ease}
.pg-foldbtn[aria-expanded="false"] .chev{transform:rotate(-90deg)}
.pg-hid{font:10px/1 var(--mono);letter-spacing:.1em;text-transform:uppercase;color:var(--faint);padding:0 8px;white-space:nowrap}
/* Fills what is left, so the line always reaches the controls. */
.pg-metarule{flex:1 1 auto;min-width:10px;height:2px;border-radius:2px;background:var(--thread-line);margin:0 8px;
  transition:background .2s ease,box-shadow .2s ease}
.pg-metaright{flex:none;display:inline-flex;align-items:stretch;gap:0;padding:0;border-radius:999px;
  background:linear-gradient(180deg,#ffffff0f,#ffffff05);border:1px solid #ffffff14;box-shadow:inset 0 1px 0 #ffffff12}
.pg-metaright .pg-vote{border:0;background:none;padding:0}
.pg-metaright .pg-vote{gap:0;align-items:stretch}
.pg-metaright .pg-menu-wrap{align-items:stretch}
.pg-metaright button,.pg-metaright .pg-vote button:first-child,.pg-metaright .pg-vote button:last-child{min-height:26px}
.pg-metaright .pg-vote button{padding:0 6px;gap:3px;font-size:11.5px}
.pg-metaright .pg-vote button svg{width:11px;height:11px}
.pg-metaright .pg-act{padding:0 7px}
.pg-metaright > :first-child:not(.pg-vote),.pg-metaright > .pg-vote:first-child > button:first-child{padding-left:9px}
.pg-metaright > .pg-act:last-child,.pg-metaright > .pg-menu-wrap:last-child > .pg-act{padding-right:9px}
.pg-metaright .pg-act:hover{background:none}
.pg-act.pg-replyact{display:inline-flex;align-items:center;gap:5px;font-size:12px;white-space:nowrap}
.pg-act.pg-replyact svg{width:13px;height:13px;flex:none}
.pg-act.pg-replyact:hover{color:var(--teal)}
.pg-act{min-height:30px;padding:0 9px;border:0;border-radius:999px;background:none;cursor:pointer;font:500 12.5px/1 var(--sans);color:var(--muted);display:inline-grid;place-items:center}
.pg-act:hover{color:var(--text);background:var(--raise)}

/* A peer exchange. Three things light up, and each maps to exactly one pair.
   The PATH of a reply is its own connection back to what it answered (drawn
   in the overlay). The BOX and the reply's own rule light on BOTH accounts
   in the exchange, the one who replied and the one replied to: a connection
   is not directional, so the spark is not either. */
.pg-c.sparked > .pg-c-meta .pg-metarule{background:linear-gradient(90deg,#4fd1c4,#a98ce8);box-shadow:0 0 8px #7a9bd866}
.pg-c.sparked > .pg-c-meta .pg-idbox{border-color:#4fd1c455;box-shadow:0 0 10px -2px #7a9bd855}

/* A reply that cost its author something. Colour carries the difference: a
   ban reads red, a mute amber. Both glow rather than fill, so a marked node
   still looks like a node on the thread. */
.pg-c.marked-ban > .pg-c-meta .pg-idbox{border-color:#7d3346;background:#1a1014;box-shadow:0 0 16px -3px rgba(224,138,158,.42),0 0 3px rgba(224,138,158,.3)}
.pg-c.marked-ban > .pg-c-meta .nm.gone{color:var(--rose);font-style:normal;letter-spacing:.06em}
.pg-c.marked-ban > .pg-cbody > .pg-cbody-in > .pg-c-body.gone{color:#c9808f}
.pg-c.marked-mute > .pg-c-meta .pg-idbox{border-color:#7a5a1e;background:#191408;box-shadow:0 0 16px -3px rgba(232,178,60,.38),0 0 3px rgba(232,178,60,.26)}
.pg-c.marked-mute > .pg-c-meta .nm.gone{color:var(--gold);font-style:normal;letter-spacing:.06em}
.pg-c.marked-mute > .pg-cbody > .pg-cbody-in > .pg-c-body.gone{color:#c2a05c}
/* The mark outranks the peer spark on the same box. */
.pg-c.marked-ban.sparked > .pg-c-meta .pg-idbox{border-color:#7d3346}
.pg-c.marked-mute.sparked > .pg-c-meta .pg-idbox{border-color:#7a5a1e}

/* The reply you have just written. Border and shadow only: nothing here
   changes the box's size, so it cannot move the connectors. */
@keyframes pg-justposted{
  0%,22%{border-color:var(--teal);box-shadow:0 0 0 4px rgba(79,209,196,.20)}
  100%{border-color:var(--thread-line);box-shadow:0 0 0 4px rgba(79,209,196,0)}
}
.pg-c.justposted > .pg-c-meta > .pg-idbox{animation:pg-justposted 2.8s ease-out 1}

/* Folding upward. The 0fr to 1fr grid trick animates to the content's real
   height without measuring it. The body's indent lives here, not on the
   reply, so the header above can start where the connector meets it. */
.pg-cbody{display:grid;grid-template-rows:1fr;padding-left:var(--pad);
  transition:grid-template-rows .3s cubic-bezier(.2,.7,.3,1),opacity .22s ease}
.pg-cbody > .pg-cbody-in{overflow:hidden;min-height:0}
/* A nested reply lives inside its parent's folding box, which clips. The
   clip is lifted for as long as a menu inside it is open. */
.pg-cbody > .pg-cbody-in.menuclip{overflow:visible}
/* A menu hangs below its row, over the rows that follow. Those are layers of
   their own and come later in the page, so the row with the open menu is
   lifted above them for as long as it is open. */
.pg-c-meta.menuopen{z-index:40}
.pg-c.folded > .pg-cbody{grid-template-rows:0fr;opacity:0}
.pg-c.folded{padding-bottom:0}
.pg-c-body{margin:4px 0 0;color:var(--body);font-size:14.5px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}
.pg-c-body.gone{color:var(--faint);font-style:italic}
.pg-kids{margin-left:2px}
.pg-slot:not(:empty){margin-top:8px}
.pg-morekids{display:inline-flex;align-items:center;gap:8px;margin:8px 0 0;min-height:28px;padding:0 12px;border:1px dashed var(--line-2);border-radius:999px;background:none;cursor:pointer;font:500 12.5px/1 var(--sans);color:var(--accent)}
.pg-morekids:hover{border-color:var(--accent)}
.pg-morekids em{font-style:normal;color:var(--faint)}
.pg-branchbar{position:relative;z-index:1;display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;margin:6px 0 4px -14px;color:var(--muted);font-size:13px}
.pg-mention{color:var(--teal);text-decoration:none}
.pg-mention:hover{text-decoration:underline}

/* ── Menus, dialogs, toasts ────────────────────────────────────────── */
.pg-menu-wrap{position:relative;display:inline-flex}
.pg-menu{
  position:absolute;right:0;top:calc(100% + 6px);z-index:20;min-width:210px;padding:6px;
  background:var(--panel-solid);border:1px solid var(--line-2);border-radius:12px;box-shadow:0 18px 50px -12px rgba(0,0,0,.8);
}
.pg-menu button{display:block;width:100%;padding:9px 11px;border:0;border-radius:8px;background:none;cursor:pointer;text-align:left;font-size:13.5px;color:var(--body)}
.pg-menu button:hover{background:var(--raise);color:var(--text)}
.pg-menu button.danger{color:#f0b4c2}
.pg-menu hr{border:0;border-top:1px solid var(--line);margin:5px 2px}
.pg-veil{position:fixed;inset:0;z-index:60;display:grid;place-items:center;padding:16px;background:rgba(3,4,6,.72);
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);animation:pg-fade .18s ease-out}
@keyframes pg-fade{from{opacity:0}}
/* While a dialog is open the page behind it stays where it is: the wheel or
   a finger over the veil, or past the end of a long dialog, used to scroll
   the thread underneath. The gutter is kept so that the page does not jump
   sideways when its scrollbar goes. */
html:has(.pg-veil){overflow:hidden;scrollbar-gutter:stable}
.pg-dialog{width:100%;max-width:460px;max-height:calc(100vh - 32px);overflow:auto;overscroll-behavior:contain;padding:22px;background:var(--panel-solid);border:1px solid var(--line-2);border-radius:18px;box-shadow:0 30px 90px -20px #000}
.pg-dialog h2{margin:0 0 8px;font:400 28px/1.1 var(--serif)}
.pg-dialog p{margin:0 0 14px;color:var(--body);font-size:14.5px;overflow-wrap:anywhere}
.pg-dialog .pg-row{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}
/* The window a narrow screen opens from a project's head, in place of the
   side column: about, the rules, the moderators. Its title and its Close
   stay at the top, and the rest scrolls under them however long the rules. */
.pg-infobtn{display:none}
.pg-infobtn i{flex:none;width:0;height:12px;border-left:1px solid var(--line-2)}
.pg-dialog.pg-info{display:flex;flex-direction:column;padding:0;overflow:hidden}
.pg-info-head{flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 14px 14px 22px;border-bottom:1px solid var(--line)}
.pg-info-x{flex:none;display:grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid var(--line-2);border-radius:50%;background:var(--raise);color:var(--muted);cursor:pointer;transition:color .2s,border-color .2s,background .2s}
.pg-info-x:hover{color:var(--text);border-color:var(--muted);background:rgba(255,255,255,.07)}
.pg-info-x svg{width:16px;height:16px}
.pg-info-body{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;padding:18px 22px 22px}
.pg-info h2{margin:0;min-width:0;overflow-wrap:anywhere}
.pg-info h2 em{font-style:italic;color:var(--pc)}
.pg-info section{margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}
.pg-info section[hidden]{display:none}
.pg-info h3{margin:0 0 8px;font:600 10.5px/1 var(--mono);letter-spacing:.16em;text-transform:uppercase;color:var(--faint)}
.pg-info p:last-child{margin-bottom:0}
.pg-info p.pg-modnote{font-size:12.5px;color:var(--faint)}

/* The report form. A reason is a row that lights and takes a tick at its
   right edge when chosen; the browser's own radio circle is hidden (still
   there for the keyboard). The two gravest reasons light rose. */
.pg-report{max-width:500px}
.pg-reasons{border:0;margin:0 0 4px;padding:0;min-width:0;display:grid;gap:7px}
.pg-reasons legend{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.pg-reason{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 18px;column-gap:12px;align-items:center;padding:10px 14px;
  border:1px solid var(--line);border-radius:12px;background:var(--raise);cursor:pointer;transition:border-color .2s,background .2s}
.pg-reason:hover{border-color:var(--line-2)}
.pg-reason input{position:absolute;width:1px;height:1px;margin:0;opacity:0;pointer-events:none}
.pg-reason b{display:block;font-size:14px;font-weight:600;color:var(--text)}
.pg-reason span span{display:block;margin-top:2px;font-size:12.5px;line-height:1.45;color:var(--muted)}
.pg-reason::after{content:"";justify-self:end;font:700 15px/1 var(--sans);color:var(--accent)}
.pg-reason:has(input:checked){border-color:color-mix(in srgb,var(--accent) 60%,transparent);background:color-mix(in srgb,var(--accent) 7%,transparent)}
.pg-reason:has(input:checked)::after{content:"\2713"}
.pg-reason:has(input[value="abuse"]:checked),.pg-reason:has(input[value="child"]:checked){border-color:rgba(224,138,158,.55);background:rgba(224,138,158,.07)}
.pg-reason:has(input[value="abuse"]:checked)::after,.pg-reason:has(input[value="child"]:checked)::after{color:var(--rose)}
.pg-reason:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:2px}
.pg-reason:has(input[value="other"]){margin-top:7px}
.pg-rmore{margin-top:16px}
.pg-rmore[hidden],.pg-rcopy[hidden]{display:none}
.pg-report .pg-field-in textarea{min-height:84px}
.pg-report .pg-two{gap:0 12px}
.pg-hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.pg-rfoot{display:block;margin-top:14px;color:var(--faint);font-size:12.5px;line-height:1.55}
.pg-rfoot a{color:var(--muted)}
@media (max-width:520px){
  .pg-report .pg-two{grid-template-columns:minmax(0,1fr)}
  .pg-reason{padding:9px 12px}
}
.pg-toast{position:fixed;left:50%;bottom:22px;z-index:80;transform:translate(-50%,20px);opacity:0;pointer-events:none;max-width:min(92vw,460px);transition:transform .3s var(--ease),opacity .3s}
.pg-toast.show{transform:translate(-50%,0);opacity:1}
.pg-toast .pg-note{margin:0;background:var(--panel-solid);box-shadow:0 14px 40px -10px #000}

/* ── Forms ─────────────────────────────────────────────────────────── */
.pg-form{padding:22px;background:var(--panel);border:1px solid var(--line);border-radius:20px;
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.pg-form h1{margin:0 0 4px;font:400 34px/1.05 var(--serif)}
.pg-form h1 em{font-style:italic;color:var(--pc)}
.pg-form>p{margin:0 0 18px;color:var(--muted)}
.pg-field-in{display:block;margin:0 0 16px}
.pg-field-in>span{display:flex;justify-content:space-between;gap:10px;margin-bottom:6px;font:600 10.5px/1.2 var(--mono);letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.pg-field-in>span i{font-style:normal;color:var(--faint);letter-spacing:.04em;text-transform:none}
.pg-field-in input[type=text],.pg-field-in input[type=email],.pg-field-in input[type=url],.pg-field-in input[type=number],.pg-field-in textarea,.pg-field-in select{
  display:block;width:100%;min-height:42px;padding:10px 12px;border:1px solid var(--line-2);border-radius:10px;outline:0;
  background-color:rgba(0,0,0,.28);color:var(--text);font:15px/1.5 var(--sans);transition:border-color .2s;
}
.pg-field-in textarea{resize:vertical;min-height:130px}
.pg-field-in input:focus,.pg-field-in textarea:focus,.pg-field-in select:focus{border-color:var(--accent)}
.pg-field-in small{display:block;margin-top:6px;color:var(--faint);font-size:12.5px}
.pg-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.pg-check{display:flex;align-items:flex-start;gap:10px;margin:0 0 16px;color:var(--body);font-size:14px;cursor:pointer}
.pg-check input{width:18px;height:18px;margin:2px 0 0;accent-color:var(--accent);flex:none}
.pg-form-foot{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:6px}
.pg-form-foot .pg-push{margin-left:auto;display:flex;gap:8px}
.pg-kinds{display:flex;gap:8px;margin:0 0 16px;flex-wrap:wrap}

/* ── Foot ──────────────────────────────────────────────────────────── */
.pg-foot{position:relative;z-index:1;flex:none;padding:26px 16px 30px;border-top:1px solid var(--line);text-align:center;color:var(--faint);font-size:12.5px}
.pg-motto{margin:0 0 8px;font:11px/1 var(--mono);letter-spacing:.2em;text-transform:uppercase;color:var(--muted)}
.pg-motto i{font-style:normal;color:var(--accent);margin:0 .5em}
.pg-legal{display:flex;justify-content:center;gap:8px;margin-bottom:8px}
.pg-legal a{color:var(--muted);text-decoration:none}
.pg-legal a:hover{color:var(--text)}
.pg-rights{margin:0}

/* ── Narrower ──────────────────────────────────────────────────────── */
@media (max-width:1140px){
  .pg-shell{grid-template-columns:200px minmax(0,1fr);gap:26px}
  .pg-side{display:none}
  .pg-main{justify-self:start;max-width:760px}
  .pg-infobtn{display:inline-flex;order:-1}   /* the side column's three cards, behind one button */
}
@media (max-width:820px){
  :root{--bar:54px}
  .pg-shell{display:block;padding-top:16px}
  .pg-rail{display:none}
  .pg-main{max-width:none}
  .pg-strip{display:block}
  .pg-crumb{display:none}
  .pg-word{font-size:25px}
  .pg-head{padding:18px 16px 14px;border-radius:18px}
  .pg-head-row .pg-push{margin-left:0;width:100%;flex-wrap:wrap}
  .pg-head-row .pg-push .pg-btn{flex:1}
  .pg-head-row .pg-push .pg-infobtn{order:0;flex:1 1 100%}   /* a row of its own, under Join and New post */
  .pg-feed{padding-left:18px}
  .pg-feed::before{left:4px}
  .pg-post{padding:14px 14px 10px;border-radius:14px}
  .pg-post::before{left:-20px;width:13px;height:13px;top:21px}   /* line middle 4.5: node from -2px to 11px */
  .pg-post::after{left:-7px;width:7px;top:27px}
  .pg-post h2{font-size:22px}
  .pg-thread{padding:18px 16px 12px;border-radius:18px}
  .pg-form{padding:18px 16px}
  .pg-two{grid-template-columns:1fr}
  .pg-tree{padding-left:10px}
  .pg-c{--pad:24px}
  .pg-kids{margin-left:0}
  .pg-metarule{min-width:6px;margin:0 6px}
  .pg-replyact span{display:none}
  .pg-foldbtn{margin-left:6px}
  .pg-branchbar{margin-left:-10px}
  .pg-btn.wide-only span{display:none}
  .pg-btn.wide-only{padding:0;width:38px}
  .pg-search{height:40px}
  .pg-search input{font-size:16px}   /* under 16px an iPhone zooms the page on focus */
  /* Solid glass on a phone: a blurred backdrop repaints on every scroll. */
  .pg-post,.pg-card,.pg-head,.pg-thread,.pg-form{-webkit-backdrop-filter:none;backdrop-filter:none;background:rgba(15,19,26,.94)}
}
@media (max-width:620px){
  .pg-tools{grid-template-columns:minmax(0,1fr);justify-items:center;gap:12px}
  .pg-tools-l:empty{display:none}
  .pg-search{justify-self:stretch;max-width:none}
}
@media (max-width:420px){
  .pg-idbox .when{display:none}
}
@media (prefers-reduced-motion:reduce){
  *{animation:none !important;transition:none !important}
}

/* ── Touch: no rectangle on tap (2026-11-23) ──────────────────────────────
   A phone's browser flashes its own highlight over whatever is tapped, and
   draws it as a plain rectangle over the element's box: on a rounded button
   or chip the square corners stick out past the button's own. It is turned
   off for the whole page (the property is inherited, so one line on <html>
   reaches every link and button, including ones added later), and what is
   pressed says so in its own shape instead, by dimming while the finger is
   down. Only where there is no mouse: a pointer already has :hover. */
html{-webkit-tap-highlight-color:transparent}
@media (hover:none){
  a:active,button:active,summary:active,[role="button"]:active,[role="tab"]:active{opacity:.7}
}
