
/* ============================================================
   R.John Lab — design system (redesign, 2026-11-24)
   One stylesheet, built from tokens up. Rules of the house:
   - Color has grammar: white = assertion, gray = explanation,
     gold = money & the primary action, blue = pressable,
     red = John's signature color (heading bars, page titles,
     the hero tagline, sale) — his article art carries the same
     red bar (John, 2026-11-29: "赤は俺の色").
   - Type hierarchy is made by size steps, never by shouting
     with color or weight alone.
   - Spacing comes only from the --s* tokens (4pt grid).
   - The content grid is defined ONCE (see .bleed); components
     never hand-roll viewport math again.
   ============================================================ */

/* ---------- tokens ---------- */
:root{
  /* color */
  --bg:#050505;
  --surface:#0e0e0e;
  --surface2:#151515;
  --white:#fff;
  --fg:#f3efe6;
  --sub:#a89f8d;            /* the one explanation gray: readable on --bg */
  --gold:#c9a35f;
  --gold2:#e3c07f;
  --link:#8ab4f8;           /* pressable: Google Search's standard link blue (dark). The steel blue read as too watery (John, 2026-11-26). */
  --red:#e5484d;
  --sep:rgba(201,163,95,.22);
  --fill:rgba(201,163,95,.07);
  /* type scale (fixed steps; hierarchy = the gaps between them) */
  --fs-h1:29px;             /* page titles */
  --fs-h2:27px;             /* section headings */
  --fs-lead:21px;           /* sub-headings */
  --fs-desc:19px;           /* descriptive headings (e.g. results title) */
  --fs-title:16.5px;        /* card / row titles */
  --fs-body:17px;           /* base size; components set their own */
  --fs-sm:13.5px;
  --fs-meta:12.5px;
  --lh-tight:1.35;
  --lh-title:1.45;
  --lh-body:1.7;
  --lh-sub:1.5;
  --lh-loose:1.8;
  /* spacing (Apple HIG 4/8pt rhythm) */
  --s1:4px; --s2:8px; --s3:12px; --s4:16px; --s5:24px; --s6:32px; --s7:48px;
  /* shape */
  --r-sm:10px; --r-md:14px; --r-lg:18px;
  /* layout */
  --header-h:60px;
  --ease:cubic-bezier(.22,1,.36,1);
  --sans:-apple-system,BlinkMacSystemFont,"Hiragino Sans","Hiragino Kaku Gothic ProN","Yu Gothic UI","Yu Gothic",Meiryo,"Noto Sans JP",sans-serif;
}

/* ---------- base ---------- */
*{box-sizing:border-box}
html{
  scroll-behavior:smooth;background:var(--bg);
  scroll-padding-top:calc(var(--header-h) + var(--s4));
}
/* iOS's native bounce stays (John, 2026-11-24: he dislikes the
   dead-stop feel of overscroll-behavior:none). The hero is kept
   safe by its clipped box + scroll-driven effects instead. */
html,body{overflow-x:hidden;overflow-x:clip}
body{
  margin:0;color:var(--fg);
  background:radial-gradient(1100px 480px at 50% -60px,rgba(201,163,95,.08),rgba(5,5,5,0) 62%),var(--bg);
  font-family:var(--sans);font-size:var(--fs-body);line-height:var(--lh-body);
  line-break:strict;overflow-wrap:break-word;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
  -webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent;
}
button{font-family:inherit}
a{color:inherit}
:focus-visible{outline:2px solid var(--link);outline-offset:2px;border-radius:2px}
::selection{background:rgba(201,163,95,.38);color:#fff}
/* JP typesetting: headings get proportional fitting (palt), body
   stays full-width; figures line up with tabular numbers; opening
   punctuation is trimmed at line starts where supported. */
h1,h2,h3,.ttl,.ent-name,.aname,.vtitle{font-feature-settings:"palt"}
.ycount,.mb-num,.fcount,.facts,.cmeta,.dmeta{font-variant-numeric:tabular-nums}
body{text-spacing-trim:trim-start}
/* Cross-document view transitions (progressive enhancement):
   a short fade between pages; static fallback elsewhere. */
@view-transition{navigation:auto}
::view-transition-old(root),::view-transition-new(root){animation-duration:.18s;animation-timing-function:ease-out}
@media (prefers-reduced-motion: reduce){
  ::view-transition-old(root),::view-transition-new(root){animation:none}
  .think-line,.skl i,#semlist.reveal li{animation:none !important}
}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.hidden{display:none !important}

/* ---------- the grid (defined once) ----------
   Content lives in a column: 720px, widening to 1120px at
   >=900px, always inset by --s4. A .bleed element breaks out to
   the full viewport width while its content stays on the grid:
   the padding formula resolves % against the column's content
   width, which is exactly the inset — no extra token is added
   (adding one was the 16px drift bug of the old stylesheet). */
main{display:block;max-width:720px;margin:0 auto;padding:0 var(--s4)}
@media (min-width:900px){ main{max-width:1120px} }
.bleed{
  margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);
  padding-left:calc(50vw - 50%);padding-right:calc(50vw - 50%);
}

/* ---------- header (one, everywhere) ---------- */
.topbar{
  position:sticky;top:0;z-index:30;height:var(--header-h);
  display:flex;align-items:center;gap:var(--s4);
  max-width:720px;margin:0 auto;padding:0 var(--s4);
  background:var(--bg);
}
@media (min-width:900px){ .topbar{max-width:1120px} }
/* the bar's background and hairline run edge to edge, including
   the strip above it that overscroll used to expose */
.topbar::before{
  content:"";position:absolute;left:calc(50% - 50vw);right:calc(50% - 50vw);
  top:-100svh;bottom:0;background:var(--bg);
  border-bottom:1px solid var(--sep);z-index:-1;
}
@font-face{font-family:'Marcellus';src:url('marcellus.woff2') format('woff2');font-display:swap}
.topbar .brand{
  font-family:'Marcellus',serif;font-size:18px;font-weight:400;color:var(--white);text-decoration:none;
  letter-spacing:.06em;white-space:nowrap;flex:none;
}
@media (min-width:900px){ .topbar .brand{font-size:22px} }
.topbar .brand .betamark{
  font-size:.6em;color:var(--gold);margin-left:7px;letter-spacing:.05em;vertical-align:.5em;
}
.topnav{
  margin-left:auto;display:flex;gap:var(--s2);align-items:center;
  overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;
}
.topnav::-webkit-scrollbar{display:none}
.topnav a{
  display:inline-flex;align-items:center;min-height:44px;padding:0 var(--s2);
  font-size:13.5px;font-weight:600;color:var(--fg);text-decoration:none;white-space:nowrap;
}
.topnav a:active{opacity:.6}
/* the one money action sits in the header as a gold pill
   (color grammar: gold = money & the primary action) */
.joinbtn{
  margin-left:var(--s3);flex:none;
  display:inline-flex;align-items:center;height:38px;padding:0 var(--s4);
  background:var(--gold);border-radius:999px;
  color:#0a0b10;font-size:13px;font-weight:700;letter-spacing:.02em;text-decoration:none;
  white-space:nowrap;
}
.joinbtn:active{opacity:.7}
/* phones: the header is brand + join only; the menu lives in
   the footer nav and in each page's own routes (TOP's cards,
   breadcrumbs, bottom navs) */
@media (max-width:899px){
  .topnav{display:none}
  .joinbtn{margin-left:auto}
}

/* ---------- headings ---------- */
h1.dtitle{
  font-size:var(--fs-h1);font-weight:800;color:var(--white);
  line-height:var(--lh-tight);letter-spacing:.01em;margin:var(--s4) 0 var(--s2);
  padding-left:var(--s3);border-left:4px solid var(--red);
}
.ddeck{font-size:var(--fs-body);line-height:var(--lh-body);color:var(--sub);margin:0 0 var(--s4)}
h2.vtitle{
  font-size:var(--fs-h2);font-weight:800;color:var(--white);
  line-height:var(--lh-tight);letter-spacing:.02em;margin:var(--s2) 0;
}
/* a heading that only describes (search results, filter states)
   steps down: page title > descriptive heading > article title */
#restitle{font-size:var(--fs-desc)}
.sec-head{display:flex;align-items:baseline;gap:var(--s1) var(--s3);margin:var(--s6) 0 var(--s3);flex-wrap:wrap}
.zone > .sec-head:first-child{margin-top:0}
.sec-head h2{
  font-size:var(--fs-h2);font-weight:800;color:var(--white);
  line-height:var(--lh-tight);letter-spacing:.02em;margin:0;
  padding-left:var(--s3);border-left:4px solid var(--red);
}
.sec-head .more{
  margin-left:auto;flex:none;font-size:var(--fs-sm);font-weight:600;
  color:var(--link);text-decoration:none;display:inline-flex;align-items:center;min-height:44px;
}
h2.grp{
  font-size:var(--fs-h2);font-weight:800;color:var(--white);line-height:var(--lh-tight);
  letter-spacing:.02em;margin:var(--s6) 0 var(--s3);padding-left:var(--s3);border-left:4px solid var(--red);
}
.grp-desc{color:var(--sub);font-size:var(--fs-sm);line-height:var(--lh-sub);margin:0 0 var(--s4)}
h3.sec{
  font-size:var(--fs-title);font-weight:700;color:var(--gold2);
  letter-spacing:.03em;line-height:var(--lh-title);margin:var(--s5) 0 var(--s1);
}
.dsec-h{
  font-size:var(--fs-lead);font-weight:800;color:var(--white);line-height:var(--lh-tight);
  margin:var(--s6) 0 var(--s3);padding-left:var(--s3);border-left:4px solid var(--red);
}

/* ---------- hero ----------
   The photo is a <div> (a long-press must not offer to save the
   person) holding John's own pixels, confined to this box by
   overflow:clip. Scroll effects are CSS scroll-driven: they sync
   to the scroll position itself, so nothing can lag or repaint
   late on iPhone inertial scrolling. Browsers without scroll
   timelines get the static hero — no animation is assigned at
   all outside the @supports block. */
header.top{
  position:relative;max-width:none;margin:0;
  min-height:470px;display:flex;overflow:clip;background:transparent;
}
.hero-img{
  position:absolute;left:0;top:0;width:100%;height:100%;
  background:url('persona-hero-john-mid.jpg') 0 0 / cover no-repeat;
  -webkit-touch-callout:none;
  --hr:540px; /* effect range: hero height x 0.9, per breakpoint */
}
@media (max-width:759px){ .hero-img{--hr:calc(90svh - 54px)} }
@media (min-width:760px) and (max-width:899px){ .hero-img{--hr:432px} }
@media (min-width:1400px){ .hero-img{--hr:594px} }
@keyframes herofx{
  0%{opacity:1;filter:blur(0) brightness(1);transform:translateY(0) scale(1)}
  45%{opacity:1;filter:blur(1.4px) brightness(.92);transform:translateY(calc(var(--hr)*.45)) scale(1.014)}
  100%{opacity:0;filter:blur(3px) brightness(.82);transform:translateY(var(--hr)) scale(1.03)}
}
@supports (animation-timeline: scroll()){
  .hero-img{animation:herofx linear both;animation-timeline:scroll();animation-range:0 var(--hr)}
}
.hero-in{
  position:relative;margin-left:36%;width:64%;text-align:right;
  display:flex;flex-direction:column;justify-content:flex-end;
  padding:var(--s5) var(--s4) var(--s6) 0;
}
@keyframes heroin{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.hero-in>*{animation:heroin .7s ease-out both}
.hero-in>.eyebrow{animation-delay:.05s}
.hero-in>.tagline{animation-delay:.14s}
.hero-in>.herodesc{animation-delay:.24s}
.eyebrow{
  font-family:"Bradley Hand","Segoe Script",cursive;color:#eed493;
  text-shadow:0 2px 12px rgba(3,4,8,.9),0 0 3px rgba(3,4,8,.95);
  font-size:16px;letter-spacing:.05em;line-height:1.5;margin:0 0 var(--s2);
  transform:rotate(-1.3deg);transform-origin:right center;
}
.tagline{
  font-size:30px;font-weight:800;color:var(--white);letter-spacing:.02em;
  line-height:1.35;margin:0;
  text-shadow:0 2px 14px rgba(3,4,8,.85),0 0 3px rgba(3,4,8,.9);
}

h1.tagline{margin-top:0}
.herodesc{
  font-size:13.5px;line-height:1.75;color:#ccd1da;max-width:32em;margin:var(--s3) 0 0 auto;
  text-shadow:0 2px 14px rgba(3,4,8,.85),0 0 3px rgba(3,4,8,.9);
}
.herosign{width:150px;height:auto;margin:var(--s4) 0 0 auto;opacity:.95}
p.author{display:flex;align-items:center;gap:var(--s3);margin:var(--s3) 0 0}
.aicon{width:40px;height:40px;border-radius:50%;border:1.5px solid var(--gold);flex:none;object-fit:cover}
.atext{display:flex;flex-direction:column;line-height:var(--lh-title)}
.aname{font-weight:700;font-size:16px}
.abio{font-size:13.5px;color:var(--sub)}
@media (min-width:760px){
  header.top{min-height:480px}
  .hero-in{margin-left:46%;width:54%}
}
@media (max-width:759px){
  header.top{min-height:calc(100svh - var(--header-h))}
  .hero-img{background-position:26% 0}
  .hero-in{margin-left:0;width:100%;padding:0 var(--s4) calc(4% + 20px)}
  .hero-in .tagline{margin-left:15%}
  .tagline{font-size:32px}
  .herodesc{max-width:none;line-height:1.8;margin-top:var(--s3)}
    .herosign{margin-top:var(--s4)}
}
@media (min-width:900px){
  header.top{min-height:600px}
  .hero-in{margin-left:44%;width:56%;padding-right:max(var(--s4), calc(50vw - 544px))}
  .tagline{font-size:50px}
  .herosign{width:190px}
  .eyebrow{font-size:21px}
  .herodesc{font-size:15.5px}
}
@media (min-width:1400px){
  header.top{min-height:660px}
  .tagline{font-size:60px}
}
@media (prefers-reduced-motion: reduce){
  .hero-in>*{animation:none}
  .hero-img{animation:none}
}

/* ---------- search (the front door) ---------- */
.bar{
  position:relative;background:var(--bg);
  margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);
  padding-left:calc(50vw - 50%);padding-right:calc(50vw - 50%);
  padding-top:var(--s5);padding-bottom:var(--s5);
}
.sdesc{font-size:15px;color:var(--sub);line-height:var(--lh-sub);margin:0 0 var(--s3)}
.sdesc strong{color:var(--gold2);font-weight:800;letter-spacing:.04em;font-size:var(--fs-lead)}
form.search.allsearch{margin:var(--s3) 0 var(--s2)}
form.search{margin:0}
.search{position:relative}
.search input{
  width:100%;min-height:58px;border-radius:16px;
  background:var(--surface2);border:1.5px solid rgba(201,163,95,.55);
  box-shadow:0 0 28px rgba(201,163,95,.20);
  padding:13px 16px 13px 92px;
  font-size:16px;color:var(--fg);outline:none;font-family:inherit;
  transition:border-color .18s ease,box-shadow .18s ease;
}
.inlabel{position:absolute;left:16px;top:50%;transform:translateY(-50%);color:var(--gold2);font-weight:800;font-size:15px;letter-spacing:.04em;pointer-events:none}
.search input::placeholder{color:var(--sub)}
.search input::-webkit-search-cancel-button,.search input::-webkit-search-decoration{-webkit-appearance:none;appearance:none;display:none}
.search input:focus{border-color:var(--gold);box-shadow:0 0 0 4px rgba(201,163,95,.16)}
.search .clear{
  position:absolute;right:6px;top:50%;transform:translateY(-50%);
  width:44px;height:44px;border:none;background:none;color:var(--sub);
  font-size:17px;cursor:pointer;padding:0;
}
.search .clear:active{opacity:.5}
/* example chips: one horizontal scroll line at every width */
.dwrap a#hit{font-size:13px;color:var(--sub);margin-top:var(--s3);min-height:1.2em;line-height:var(--lh-sub);font-variant-numeric:tabular-nums}
#mode{font-size:12.5px;color:var(--sub);margin-top:2px;line-height:var(--lh-sub)}
#hit{font-size:13px;color:var(--sub);margin-top:var(--s3);line-height:var(--lh-sub)}
#restitle{margin:var(--s4) 0 var(--s1)}
#semtitle{margin-top:var(--s4)}

/* ---------- navigation cards (記事を探す) ---------- */
.navgrid{display:grid;grid-template-columns:1fr 1fr;gap:var(--s2);margin-top:var(--s3)}
a.navcard{
  position:relative;display:flex;flex-direction:column;gap:2px;
  min-height:78px;padding:var(--s3) var(--s4) var(--s3) var(--s3);
  background:var(--surface);border:1px solid var(--sep);border-radius:var(--r-md);
  text-decoration:none;
}
a.navcard:active{border-color:var(--gold)}
.nc-name{font-size:16px;font-weight:700;color:var(--fg);line-height:var(--lh-title)}
.nc-sub{font-size:12px;color:var(--sub);line-height:var(--lh-sub)}
.nc-arrow{position:absolute;top:var(--s2);right:var(--s3);color:var(--link);font-size:18px;font-weight:700;line-height:1}
@media (min-width:760px){ .navgrid{grid-template-columns:repeat(3,1fr)} }

/* ---------- zones (TOP scene changes) ----------
   Sections connect by background swaps only — no gaps, no
   peeking layers. A zone is a .bleed block (full-viewport
   background, content back on the grid) plus vertical rhythm. */
.zone{
  margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);
  padding-left:calc(50vw - 50%);padding-right:calc(50vw - 50%);
  padding-top:var(--s6);padding-bottom:var(--s6);
}
.zone > :first-child{margin-top:0}
.z1{padding-top:0;padding-bottom:var(--s5);background:var(--bg)}
.z1b{padding-top:var(--s5);background:var(--surface2)}
.z2{background-color:#0a0a0a;
  background-image:radial-gradient(rgba(230,225,210,.075) 1px, transparent 1.4px);
  background-size:22px 22px}
.z3{background-color:var(--bg);
  background-image:linear-gradient(180deg, rgba(201,163,95,.09), rgba(201,163,95,.02))}
header.top, main{position:relative;z-index:1}
.viewsec{scroll-margin-top:calc(var(--header-h) + var(--s3))}
section.blk{scroll-margin-top:calc(var(--header-h) + var(--s3))}
h2.grp{scroll-margin-top:calc(var(--header-h) + var(--s3))}

/* ---------- entrance rows (TOP) ---------- */
p.grpnote{color:var(--sub);font-size:13.5px;line-height:var(--lh-sub);margin:0 0 var(--s3)}
ul.entrances{
  list-style:none;margin:0;padding:0;border-top:1px solid var(--sep);
}
ul.entrances li{border-bottom:1px solid var(--sep)}
a.ent{display:flex;align-items:center;gap:var(--s3);padding:var(--s4) var(--s2);min-height:56px;text-decoration:none}
a.ent .chev{align-self:center}
.ent-main{flex:1;min-width:0}
.ent-name{display:block;font-size:17px;font-weight:700;color:var(--white);line-height:var(--lh-title)}
.ent-desc{display:block;color:var(--sub);font-size:13.5px;line-height:var(--lh-sub);margin-top:2px}
.chev{flex:none;color:var(--gold);font-size:19px;line-height:1}
a.ent:active{background:var(--fill)}
@media (min-width:720px){
  ul.entrances{display:grid;grid-template-columns:1fr 1fr;column-gap:var(--s7)}
  /* A single-row entrance list (TOP's archive row, TOP's theme
     row) must stay full width: the two-column grid would squeeze
     it into the left half on wide screens (John's iPad reports,
     2026-11-28). */
  ul.entrances:has(> li:only-child){grid-template-columns:1fr}
}

/* ---------- feature cards ---------- */
ul.featcards{
  list-style:none;margin:0;padding:2px 0 var(--s3);
  display:flex;flex-wrap:wrap;gap:var(--s3);
}
ul.featcards li{flex:none;width:calc(50% - var(--s2));background:var(--surface);border:1px solid var(--sep);border-radius:16px;overflow:hidden}
a.featcard{display:flex;flex-direction:column;height:100%;text-decoration:none}
a.featcard:active{opacity:.8}
.fcbody{display:flex;flex-direction:column;gap:var(--s1);padding:var(--s3) var(--s4) var(--s4);flex:1}
.fcname{display:block;font-size:16.5px;font-weight:700;line-height:var(--lh-title)}
.fcdesc{
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  color:var(--sub);font-size:13px;line-height:var(--lh-sub);min-height:3em;
}
.fcmeta{display:block;margin-top:auto;padding-top:var(--s2);color:var(--link);font-size:13px;font-weight:700}
@media (min-width:720px){ ul.featcards li{width:calc(50% - var(--s2))} }
@media (min-width:900px){ ul.featcards li{width:calc(33.333% - var(--s3))} }
ul.featcards.stack{display:grid;grid-template-columns:1fr;gap:var(--s3);overflow:visible;margin:var(--s4) 0 0;padding:0;scroll-snap-type:none}
ul.featcards.stack li{width:auto}
@media (min-width:760px){ ul.featcards.stack{grid-template-columns:1fr 1fr} }

/* ---------- chips ---------- */
.chips{display:flex;gap:var(--s2);overflow-x:auto;padding:var(--s2) 0;-webkit-overflow-scrolling:touch}
.chips a{
  flex:none;display:inline-flex;align-items:center;min-height:44px;
  font-size:13.5px;color:var(--fg);text-decoration:none;
  background:var(--surface);border:1px solid var(--sep);border-radius:999px;padding:8px 14px;
}
.chips a:active{border-color:var(--link);color:var(--link)}
/* Year tabs: a single horizontal row that slides sideways,
   Notion-tab style (John, 2026-11-26): no counts, the active
   year is white with a gold underline. */
nav.chips{display:flex;flex-wrap:nowrap;gap:2px;margin:var(--s3) 0 0;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;border-bottom:1px solid var(--sep)}
nav.chips::-webkit-scrollbar{display:none}
nav.chips a{
  flex:none;display:inline-flex;align-items:center;min-height:44px;padding:8px 13px;
  color:var(--sub);font-size:14.5px;text-decoration:none;
  border:none;border-bottom:2px solid transparent;border-radius:0;background:none;
  margin-bottom:-1px;
}
nav.chips a.on{color:var(--white);border-bottom-color:var(--gold);font-weight:600}
nav.chips.mtabs{border-bottom:none;margin-top:2px}
nav.chips.mtabs a{border-bottom:none;min-height:40px;padding:6px 10px;font-size:13.5px}
nav.chips.mtabs span{flex:none;display:inline-flex;align-items:center;min-height:40px;padding:6px 10px;font-size:13.5px;color:#55524b}
.mhead{list-style:none;border:none;color:var(--gold);font-size:13px;font-weight:700;letter-spacing:.06em;padding:var(--s4) 0 var(--s1);scroll-margin-top:10px}
.tagchips{display:flex;flex-wrap:wrap;gap:var(--s2);align-items:center;padding:var(--s1) 0 var(--s2)}
.tag-label{font-size:13px;color:var(--sub)}
.tagchip{
  display:inline-flex;align-items:center;min-height:44px;
  font-size:13.5px;color:var(--sub);background:transparent;
  border:1px dashed var(--sep);border-radius:999px;padding:8px 14px;cursor:pointer;
}
.tagchip:active{color:var(--link);border-color:var(--link)}
a.tagchip{text-decoration:none}
.chiplabel{font-size:12.5px;color:var(--sub);margin:var(--s4) 0 0}

/* ---------- article cards & rows ----------
   One component family. Tiles (.hrow) are for browsing on TOP;
   rows (.lrow) are for finding — search results, the flat list,
   feature grids. The title link stretches over the whole card;
   the platform links sit above it and stay directly tappable. */
ul.articles{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
ul.articles>li{min-width:0}
ul.articles:not(.hrow)>li{border-bottom:1px solid var(--sep);padding:var(--s4) 2px}
ul.articles:not(.hrow)>li:active{background:var(--fill)}
/* (A contained-card variant for list rows was tried 2026-11-28
   and John found it 変 — flat list kept; only the rhythm and
   thumbnail balance were tightened.) */
article.card{display:flex;flex-direction:column;gap:var(--s2);height:100%}
a.cardlink{display:block;text-decoration:none;color:inherit}
a.cardlink .ctext{margin-top:var(--s2)}
a.cardlink:active{opacity:.75}
.ttl{
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;
  font-size:var(--fs-title);line-height:var(--lh-title);font-weight:600;letter-spacing:.01em;margin:0;
}
.cmedia{width:100%;aspect-ratio:1920/1005}
.cmedia img,.cmedia .ph{
  display:block;width:100%;height:100%;object-fit:cover;
  border-radius:var(--r-sm);border:1px solid var(--sep);background:var(--surface2);
}
.cmedia .ph{
  display:flex;align-items:center;justify-content:center;text-align:center;
  background:linear-gradient(135deg,#151515,#0b0b0b);
  color:var(--gold);font-size:11px;font-weight:700;letter-spacing:.04em;
  line-height:var(--lh-title);padding:var(--s2);
}
.cmain{flex:1;min-width:0;display:flex;flex-direction:column}
.cmeta{
  display:flex;flex-wrap:wrap;align-items:center;gap:6px var(--s2);
  color:var(--sub);font-size:var(--fs-meta);margin:var(--s2) 0 0;line-height:var(--lh-sub);
  font-variant-numeric:tabular-nums;
}
.badge{display:inline-block;font-size:11.5px;font-weight:700;line-height:1.3;border-radius:999px;padding:2px 8px}
.badge-sale{background:var(--red);color:#fff}
.badge-mem{background:var(--surface2);color:var(--gold2);border:1px solid var(--sep)}
.badge-free{background:var(--surface2);color:var(--sub);border:1px solid var(--sep)}
.badge-grp{background:transparent;color:var(--sub);border:1px dashed var(--sep)}
.badge-upd{background:transparent;color:var(--gold2);border:1px solid var(--gold)}
/* platform links: pressable = blue. A platform that does not
   carry the article keeps its slot, grayed, with the reason. */
.links{display:flex;flex-wrap:wrap;align-items:flex-start;gap:2px 6px;margin-top:var(--s2)}
.links a{
  display:inline-flex;align-items:center;min-height:44px;
  font-size:13.5px;font-weight:600;color:var(--link);
  text-decoration:underline;text-underline-offset:3px;
  padding:10px var(--s2);line-height:1.2;white-space:nowrap;
}
.links a:active{opacity:.55}
.links .offlink{
  display:inline-flex;align-items:center;min-height:44px;
  font-size:13.5px;font-weight:600;color:var(--sub);
}
.links .offtag{
  font-style:normal;font-size:11px;font-weight:600;color:var(--sub);
  border:1px solid var(--sep);border-radius:999px;padding:1px 7px;margin-left:6px;white-space:nowrap;
}
/* rows */
article.card.lrow{flex-direction:row;gap:var(--s3);height:auto;position:relative;align-items:flex-start}
.lmain{flex:1;min-width:0;display:flex;flex-direction:column}
.lrow .cmedia{width:120px;flex:none;align-self:flex-start;margin-top:3px}
/* updates (changelog): quiet strip on TOP, dated log page */
.z-upd{padding-top:var(--s5);padding-bottom:var(--s5)}
.upd-strip-h{font-size:15px;font-weight:700;margin:0 0 var(--s3)}
.upd-strip-row{margin:0 0 var(--s2);color:var(--sub);font-size:13.5px;line-height:var(--lh-sub)}
.upd-strip-date{color:var(--gold2);font-weight:700;margin-right:var(--s2);font-variant-numeric:tabular-nums}
.upd-strip-more{margin:var(--s3) 0 0;font-size:13.5px}
.upd-strip-more a{color:var(--link)}
.upd{border-top:1px solid var(--sep);padding:var(--s4) 0}
.upd-date{color:var(--gold2);font-size:var(--fs-meta);font-weight:700;margin:0;font-variant-numeric:tabular-nums}
.upd-text{margin:var(--s1) 0 0;line-height:var(--lh-body)}
.upd-links{margin:var(--s2) 0 0;padding-left:var(--s4);line-height:var(--lh-loose)}
.upd-links a{color:var(--link)}
.lrow .cmedia .ph{font-size:10px;padding:var(--s1)}
.lrow .cardlink::after{content:"";position:absolute;inset:0;z-index:1}
.lrow .links{position:relative;z-index:2;margin-top:0}
.lrow .ttl{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
ul.articles .ttl{font-size:15px;line-height:var(--lh-title)}
ul.articles .links{gap:2px var(--s1);flex-wrap:nowrap;padding-top:0}
ul.articles .links a{padding:1px var(--s2) 13px;align-items:flex-start;font-size:12.5px;min-height:44px;line-height:1.5}
ul.articles .links .offlink{padding:1px var(--s2) 13px;align-items:flex-start;font-size:12.5px;line-height:1.5}
/* Rows: the link box shrinks to the text rhythm and the divider
   rises with it; the 44px tap area is kept as an invisible
   extension of the anchor (John, 2026-11-29: if the links move
   up, the line below must move up too). */
ul.articles .lrow .links a{padding:1px var(--s2) 3px 0;min-height:0;position:relative}
ul.articles .lrow .links a::after{content:"";position:absolute;left:-8px;right:0;top:-6px;bottom:-15px}
ul.articles .lrow .links .offlink{padding:1px var(--s2) 3px 0;align-items:flex-start}
.lrow .cmeta,ul.hrow .cmeta{flex-wrap:nowrap;overflow:hidden;height:22px;align-items:center}
.lrow .cmeta{margin-top:var(--s1);height:22px}
.lrow .cmeta>*,ul.hrow .cmeta>*{flex:none}
.lrow .cmeta .csec,ul.hrow .cmeta .csec{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lrow .csec-line{height:auto;overflow:visible;margin-top:var(--s1)}
.lrow .csec-line .csec{white-space:normal;overflow:visible;text-overflow:clip;line-height:var(--lh-sub)}
ul.hrow .cmain .cmeta{margin-top:auto}
ul.articles .cmain .links{margin-top:var(--s2)}
ul.articles .cmain .csec-line{margin-top:var(--s1)}
/* tiles */
ul.articles.hrow{
  display:flex;flex-direction:row;overflow-x:auto;gap:var(--s3);
  margin:0 calc(-1 * var(--s4));padding:2px var(--s4) var(--s3);
  scrollbar-width:none;-webkit-overflow-scrolling:touch;
  scroll-snap-type:x proximity;scroll-padding-left:var(--s4);
}
ul.articles.hrow::-webkit-scrollbar{display:none}
ul.articles.hrow>li{
  flex:none;width:64%;scroll-snap-align:start;
  background:var(--surface);border:1px solid var(--sep);border-radius:16px;
  padding:var(--s3);
}
@media (min-width:720px){ ul.articles.hrow>li{width:31.8%} }
ul.hrow .ttl{min-height:0}
ul.articles>li.grouphead{
  padding:var(--s2) var(--s3);margin:var(--s2) 0 var(--s1);
  background:var(--fill);border:none;border-radius:var(--r-sm);
  font-size:13px;font-weight:700;color:var(--gold2);letter-spacing:.03em;
}
/* feature pages: big-card grid */
ul.fgrid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr;gap:var(--s3)}
ul.fgrid>li{background:var(--surface);border:1px solid var(--sep);border-radius:16px;padding:var(--s3)}
@media (min-width:760px){ ul.fgrid{grid-template-columns:1fr 1fr} }
.today-date{color:var(--sub);font-size:13px;font-variant-numeric:tabular-nums;white-space:nowrap;flex:none}
#pool li[data-idx]{scroll-margin-top:208px}
.pooldata{display:none}

/* ---------- browse headers ---------- */
.listhead{padding-top:var(--s4)}
.backbtn{
  display:inline-flex;align-items:center;min-height:44px;
  background:none;border:none;color:var(--link);
  font-size:15px;font-weight:600;cursor:pointer;padding:8px 8px 8px 0;text-decoration:none;
}
.backbtn:active{opacity:.55}
p.vdesc{color:var(--sub);font-size:14.5px;line-height:var(--lh-body);margin:0 0 var(--s2);max-width:40em}
p.desc{color:var(--sub);font-size:14.5px;line-height:var(--lh-body);margin:0 0 var(--s2);max-width:40em}
h2.part{font-size:var(--fs-lead);font-weight:700;line-height:var(--lh-tight);margin:var(--s6) 0 0}

/* ---------- article detail ---------- */
.dwrap{max-width:720px;margin:0 auto;padding:0 var(--s4) var(--s2)}
@media (min-width:900px){ .dwrap{max-width:1120px} }
.crumb{display:flex;flex-wrap:wrap;gap:2px var(--s2);align-items:center;margin:var(--s4) 0 0;font-size:13.5px;color:var(--sub)}
.crumb a{color:var(--link);font-weight:600;text-decoration:none;display:inline-flex;align-items:center;min-height:44px}
.crumb a:active{opacity:.55}
.dmeta{display:flex;flex-wrap:wrap;align-items:center;gap:6px var(--s2);color:var(--sub);font-size:13px;margin:var(--s2) 0 0;line-height:var(--lh-sub);font-variant-numeric:tabular-nums}
.readbtns{display:flex;flex-wrap:wrap;gap:var(--s2);margin:var(--s4) 0 var(--s2)}
.readbtn{
  flex:1 1 150px;display:inline-flex;align-items:center;justify-content:center;
  min-height:52px;padding:var(--s3) var(--s4);
  border:1px solid var(--sep);border-radius:12px;background:var(--surface2);
  font-size:15.5px;font-weight:700;color:var(--fg);text-decoration:none;text-align:center;
}
.readbtn.primary{background:var(--gold);border-color:var(--gold);color:#0a0b10;box-shadow:0 6px 28px rgba(201,163,95,.38)}
.readbtn:active{opacity:.65}
.readbtn.off{background:var(--surface2);border-color:var(--sep);color:var(--sub);box-shadow:none;cursor:default;border-style:solid}
.readbtn .offtag{font-style:normal;font-size:11px;font-weight:600;color:var(--sub);
  border:1px solid var(--sep);border-radius:999px;padding:1px 7px;margin-left:var(--s2);white-space:nowrap}
.dmedia{margin-top:var(--s4)}
.dstairs{margin-top:var(--s6);border:1px solid var(--sep);border-radius:var(--r-lg);padding:var(--s4);background:var(--surface)}
.dstairs p{margin:0;font-size:14.5px;line-height:var(--lh-body)}
.dstairs .memband-more{margin-top:var(--s2)}
.abouthero{margin:var(--s4) 0}
.abouthero img{width:100%;height:auto;border-radius:var(--r-lg);display:block}
.polist{margin:0;padding-left:1.3em;font-size:15px;line-height:var(--lh-loose)}
.polist li{margin:var(--s2) 0}
.ycount{color:var(--sub);font-size:12px;margin-left:2px}
.fnote{color:var(--sub);font-size:13px;line-height:var(--lh-body);margin:var(--s2) 0 0}
.fnote a{color:var(--link);font-weight:600}
.ddeck{font-size:16.5px;line-height:var(--lh-loose);margin:0}
.ddeck-mt{margin-top:var(--s4)}
.ddeck.sintro{font-size:15.5px;line-height:var(--lh-body)}
.drefs{color:var(--sub);font-size:14px;line-height:var(--lh-body);margin:0}
ul.rels{list-style:none;margin:0;padding:0}
ul.rels li{border-bottom:1px solid var(--sep)}
ul.rels a{display:block;padding:var(--s3) 2px;min-height:44px;text-decoration:none}
ul.rels a:active{opacity:.6}
.rel-ttl{display:block;font-size:15.5px;font-weight:600;line-height:var(--lh-title)}
.rel-meta{display:block;color:var(--sub);font-size:12.5px;margin-top:2px;font-variant-numeric:tabular-nums}
.dnav{display:flex;flex-wrap:wrap;gap:2px var(--s4);margin:var(--s6) 0 var(--s2)}
.dnav a{display:inline-flex;align-items:center;min-height:44px;color:var(--link);font-weight:600;font-size:14.5px;text-decoration:none}
.dnav a:active{opacity:.55}

/* ---------- about / facts ---------- */
.about-card{background:var(--surface);border:1px solid var(--sep);border-radius:16px;padding:var(--s4)}
.about-card p.author{margin-top:0}
dl.facts{margin:var(--s3) 0 0;display:grid;gap:var(--s2)}
dl.facts>div{display:flex;gap:var(--s3);align-items:baseline}
dl.facts dt{flex:none;width:7.5em;white-space:nowrap;color:var(--sub);font-size:13px}
dl.facts dd{margin:0;font-size:14.5px;line-height:var(--lh-sub)}
dl.facts dd a{color:var(--link);font-weight:600}
p.policy{color:var(--sub);font-size:14px;line-height:var(--lh-body);margin:var(--s3) 0 0}
section.about{background:var(--bg);padding-top:var(--s6)}
section.about > h2.grp{margin-top:0}

/* ---------- membership band ---------- */
.memband{position:relative;margin:var(--s7) 0 0;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw)}
.memband-bg{position:sticky;top:0;height:100svh;overflow:hidden;background:url('memband-bg.jpg') center/cover no-repeat}
.memband-bg::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(5,7,13,.52),rgba(5,7,13,.82))}
.memband-body{position:relative;margin-top:-100svh;padding:34svh var(--s4) 26svh}
@media (min-width:760px){
  .memband-body{padding-left:max(var(--s4), calc(50vw - 344px));padding-right:max(var(--s4), calc(50vw - 344px))}
}
@media (min-width:900px){
  .memband-body{padding-left:max(var(--s4), calc(50vw - 544px));padding-right:max(var(--s4), calc(50vw - 544px))}
}
.memband-kicker{color:var(--gold);font-size:13px;font-weight:700;letter-spacing:.14em;margin:0 0 var(--s4)}
.memband-title{font-size:32px;font-weight:800;color:var(--white);line-height:var(--lh-title);margin:0 0 var(--s5);letter-spacing:.01em}
.mb-num{font-size:56px;color:var(--gold2);font-weight:800;letter-spacing:0;vertical-align:-7px;white-space:nowrap;text-shadow:0 0 26px rgba(227,192,127,.45),0 0 70px rgba(201,163,95,.28)}
.memband-desc{font-size:15.5px;line-height:var(--lh-body);color:#e8e6df;margin:0 0 var(--s6);max-width:34em}
.memband-btns{display:flex;flex-direction:column;gap:var(--s3)}
.memband-btns .readbtn{margin:0;flex:none;min-height:56px}
.memband-more{margin-top:var(--s4)}
.memband-more a{color:var(--link);font-weight:600;text-decoration:none}

/* ---------- join page ---------- */
.joinhero{height:34svh;min-height:210px;border-radius:var(--r-lg);margin:var(--s4) 0;background:url('memband-bg.jpg') center/cover no-repeat}
.price-row{display:flex;align-items:baseline;gap:var(--s2);margin:var(--s3) 0 var(--s2)}
.price-big{font-size:40px;font-weight:800;color:var(--gold2);letter-spacing:.01em;line-height:1}
.price-per{color:var(--sub);font-size:15px}
.price-note{color:var(--sub);font-size:13.5px;line-height:var(--lh-sub);margin:0 0 var(--s3)}
.join-lede{font-size:19px;font-weight:700;color:var(--fg);line-height:var(--lh-title);margin:var(--s4) 0 var(--s2)}
.bignum{font-size:64px;font-weight:800;color:var(--gold2);letter-spacing:0;vertical-align:-9px;line-height:1;text-shadow:0 0 26px rgba(227,192,127,.45),0 0 70px rgba(201,163,95,.28)}
.vs{margin:var(--s6) 0}
.vs-panel{border:1px solid var(--sep);border-radius:var(--r-lg);padding:var(--s4);background:var(--surface)}
.vs-panel.bad{border-left:4px solid var(--red)}
.vs-panel.good{border-left:4px solid var(--gold)}
.vs-panel h3{font-size:16px;font-weight:800;color:var(--white);margin:0 0 var(--s3);line-height:var(--lh-title)}
.vs-panel ul{list-style:none;margin:0;padding:0}
.vs-panel li{padding:var(--s1) 0;line-height:var(--lh-body);color:var(--fg)}
.vs-panel li b{color:var(--white)}
.vs-panel .vs-amt{display:inline-block;font-size:40px;font-weight:800;color:var(--gold2);letter-spacing:.01em;line-height:1.3;text-shadow:0 0 22px rgba(227,192,127,.45),0 0 60px rgba(201,163,95,.28)}
.vs-panel.on .vs-amt{animation:amtpop .6s ease-out .15s both}
@keyframes amtpop{0%{transform:scale(.86);opacity:0}60%{transform:scale(1.06);opacity:1}100%{transform:scale(1);opacity:1}}
.vs-mark{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:var(--red);color:#fff;font-weight:800;font-size:15px;letter-spacing:.04em;margin:var(--s3) auto}
.faq{margin:0 0 var(--s4)}
.faq dt{font-weight:700;color:var(--fg);margin:var(--s4) 0 var(--s1);line-height:var(--lh-title)}
.faq dd{margin:0;color:var(--sub);line-height:var(--lh-body)}
ul.joinpoints{list-style:none;margin:var(--s3) 0;padding:0}
ul.joinpoints li{position:relative;padding:var(--s2) 0 var(--s2) 30px;line-height:var(--lh-body)}
ul.joinpoints li::before{content:"✓";position:absolute;left:2px;top:var(--s2);color:var(--gold);font-weight:700}
.joinbtns{display:flex;flex-direction:column;gap:var(--s3);margin:var(--s4) 0}
.joinbtns .readbtn{flex:none;width:100%;min-height:56px;margin:0}
@media (min-width:760px){
  .joinbtns{flex-direction:row}
  .joinbtns .readbtn{flex:1 1 150px;width:auto}
}

/* ---------- all-page filter bar ---------- */
.allbar{
  /* not sticky: the year chips and title filter sit at the top and
     scroll away with the page (John, 2026-11-25: no follow-along
     menus on the article list). */
  background:var(--bg);
  padding:var(--s2) var(--s4) var(--s3);margin:0 calc(-1 * var(--s4));
}
.ffilter{position:relative;margin-top:var(--s2)}
.ffilter input{
  width:100%;min-height:48px;border-radius:12px;
  background:var(--surface2);border:1px solid var(--sep);
  padding:10px 96px 10px 14px;font-size:15px;color:var(--fg);
  outline:none;font-family:inherit;
}
.ffilter input:focus{border-color:var(--gold)}
.ffilter button{
  position:absolute;right:6px;top:50%;transform:translateY(-50%);
  min-height:40px;padding:0 var(--s3);border:none;background:none;
  color:var(--link);font-size:14px;font-weight:700;cursor:pointer;font-family:inherit;
}
.ffilter button:active{opacity:.55}
.fcount{font-size:13px;color:var(--sub);margin-top:var(--s2);min-height:1.2em;line-height:var(--lh-sub)}

/* ---------- states ---------- */
p.empty{color:var(--sub);font-size:14px;padding:var(--s4) 0;margin:0;line-height:var(--lh-body)}
/* AI thinking state on the search page (John, 2026-11-26): a gold
   shimmer sweeps the status line and skeleton rows while the
   semantic search runs, Google-style; results then rise in with a
   short stagger. Kept quiet — gold and grey only, no rainbow. */
.think-line{
  margin:var(--s2) 0 var(--s4);font-size:15px;font-weight:700;letter-spacing:.02em;
  background:linear-gradient(100deg,var(--sub) 35%,var(--gold2) 50%,var(--sub) 65%);
  background-size:200% 100%;-webkit-background-clip:text;background-clip:text;
  color:transparent;animation:sweep 1.3s linear infinite;
}
@keyframes sweep{to{background-position:-200% 0}}
.skl{padding:15px 0;border-bottom:1px solid var(--sep)}
.skl i{
  display:block;height:14px;border-radius:6px;
  background:linear-gradient(100deg,rgba(230,225,210,.05) 35%,rgba(230,225,210,.13) 50%,rgba(230,225,210,.05) 65%);
  background-size:200% 100%;animation:sweep 1.3s linear infinite;
}
.skl i + i{height:10px;margin-top:9px}
.skl .w45{width:45%}.skl .w55{width:55%}.skl .w70{width:70%}.skl .w85{width:85%}
#semlist.reveal li{animation:fadeUp .5s cubic-bezier(.2,.7,.3,1) both;animation-delay:calc(var(--i,0)*45ms)}
@keyframes fadeUp{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.nores{padding:var(--s5) 0}
.nores p{color:var(--sub);font-size:14.5px;line-height:var(--lh-body);margin:0 0 var(--s3)}
.nores a{color:var(--link);font-weight:600}

/* ---------- footer ---------- */
footer{
  position:relative;z-index:1;max-width:720px;margin:0 auto;
  padding:var(--s6) var(--s4) var(--s7);
  color:var(--sub);font-size:12.5px;line-height:var(--lh-body);text-align:center;background:var(--bg);
}
@media (min-width:900px){ footer{max-width:1120px} }
footer .sign{display:block;font-size:19px;font-style:italic;color:var(--gold);margin-bottom:var(--s2)}
footer .sign .betamark{font-size:.6em;color:var(--gold2);margin-left:7px;letter-spacing:.05em;vertical-align:.5em;font-style:normal}
.fsns{display:flex;justify-content:center;gap:var(--s2);margin:var(--s3) 0}
.fsns a{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;color:var(--fg);border:1px solid var(--sep);border-radius:50%}
.fsns a svg{width:19px;height:19px}
.fsns a:active{color:var(--link);border-color:var(--link)}
footer .copy{margin:0;font-size:12px;color:var(--sub)}

/* ---------- scroll reveal ----------
   Elements start hidden only when JS runs (.jsrv is set by the
   reveal script itself), so no-JS visitors and crawlers always
   see the full page. The reveal is a fade + 14px rise only. */
.jsrv .rv{opacity:0;transform:translateY(14px);transition:opacity .7s ease,transform .7s ease}
.jsrv .on{opacity:1;transform:none}
.jsrv ul.featcards.rv,.jsrv ul.hrow.rv{opacity:1;transform:none;transition:none}
.jsrv ul.featcards.rv li,.jsrv ul.hrow.rv li{opacity:0;transform:translateY(14px);transition:opacity .5s ease-out,transform .5s ease-out}
.jsrv ul.featcards.rv.on li,.jsrv ul.hrow.rv.on li{opacity:1;transform:none}
.jsrv ul.featcards.rv.on li:nth-child(2),.jsrv ul.hrow.rv.on li:nth-child(2){transition-delay:.07s}
.jsrv ul.featcards.rv.on li:nth-child(3),.jsrv ul.hrow.rv.on li:nth-child(3){transition-delay:.14s}
.jsrv ul.featcards.rv.on li:nth-child(4),.jsrv ul.hrow.rv.on li:nth-child(4){transition-delay:.21s}
.jsrv ul.featcards.rv.on li:nth-child(5),.jsrv ul.hrow.rv.on li:nth-child(5){transition-delay:.28s}
.jsrv ul.featcards.rv.on li:nth-child(n+6),.jsrv ul.hrow.rv.on li:nth-child(n+6){transition-delay:.35s}
@media (prefers-reduced-motion: reduce){
  .jsrv .rv{opacity:1;transform:none;transition:none}
}

/* ---------- hover (fine pointers only) ---------- */
@media (hover:hover) and (pointer:fine){
  a.ent,.ent-name,.chev,.ttl{transition:color .18s ease,transform .18s var(--ease),border-color .18s ease}
  a.ent:hover .ent-name{color:var(--link)}
  a.ent:hover .chev{transform:translateX(3px);color:var(--link)}
  article.card:hover .ttl{color:var(--link)}
  .tagchip:hover{color:var(--link);border-color:var(--link)}
  .links a:hover{color:#a9cbe6}
  a.cardlink:hover .ttl{color:var(--link)}
  ul.rels a:hover .rel-ttl{color:var(--link)}
  .readbtn:hover{border-color:var(--gold)}
}
a.ent:active,.links a:active,.chips a:active{transform:scale(.985)}
.tagchip:active{transform:scale(.96)}
