/* Self-hosted fonts (no Google Fonts or Fontshare requests, so visitor IPs stay with this host).
   Inconsolata, Titan One: SIL OFL 1.1. Satoshi: ITF Free Font License (Fontshare). */
@font-face { font-family: "Inconsolata"; src: url("assets/fonts/inconsolata-latin.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inconsolata"; src: url("assets/fonts/inconsolata-latin-ext.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Titan One"; src: url("assets/fonts/titan-one-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Titan One"; src: url("assets/fonts/titan-one-latin-ext.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Satoshi"; src: url("assets/fonts/satoshi-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("assets/fonts/satoshi-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("assets/fonts/satoshi-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("assets/fonts/satoshi-900.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }

/* Shared by both pages. Palette switches on <html data-theme>. */

/* Octochan: near-black exchange UI (Kraken Pro / Tsunami), lavender accent.
   The character carries the violet; the page stays neutral. */
:root,
[data-theme="octochan"] {
  /* Ink look (inkonchain.com): #0f0e12 ground, #f7f5fa text, Ink Light lavender, Satoshi. */
  --hero: #0F0E12;
  --hero-ink: #F7F5FA;
  --bg: #0F0E12;
  --bg-alt: #151419;
  --surface: #1C1B22;
  --ink: #F7F5FA;
  --muted: #9A97A8;
  --line: rgb(255 255 255 / 0.1);
  --accent: #AE86FF;
  --btn: #AE86FF;
  --btn-ink: #0F0E12;
  --nav-bg: rgb(15 14 18 / 0.7);
  --nav-hover: rgb(174 134 255 / 0.16);
  --font-body: "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "Inconsolata", ui-monospace, Menlo, monospace;
  --wm-top: #9C86FF;
  --wm-bot: #FFC4EE;
  --wm-left: #4FC3F7;
  --wm-mid: #B9A6FF;
  --wm-right: #FF9FEA;
  --wm-ring: #fff;
  --wm-line: #2A0F68;
  --wm-edge: #0F0E12;
  --wm-depth: #7B22C4;
  --lockup-ink: #fff;
  --lockup-edge: #0F0E12;
}

[data-theme="satsuma"] {
  --hero: #FFF6E8;
  --hero-ink: #F7931A;
  --bg: #1A120C;
  --bg-alt: #FFF6E8;
  --surface: #2A1E15;
  --ink: #FFF6E8;
  --muted: #A8927C;
  --line: rgb(255 246 232 / 0.14);
  --accent: #F7931A;
  --btn: #F7931A;
  --btn-ink: #1A120C;
  --nav-bg: rgb(26 18 12 / 0.06);
  --nav-hover: rgb(26 18 12 / 0.1);
  --wm-top: #FFA531;
  --wm-bot: #FFE2B3;
  --wm-ring: #fff;
  --wm-edge: #1A120C;
  --wm-depth: #F7931A;
  --lockup-ink: #1A120C;
  --lockup-edge: #FFF6E8;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body, "Inconsolata", ui-monospace, Menlo, monospace);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.wrap {
  width: min(100% - 32px, 960px);
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

h2 {
  margin: 0;
  font-size: clamp(36px, 7vw, 64px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

/* 1. Hero */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 8px 16px 0;
  background: var(--hero);
  color: var(--hero-ink);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.nav {
  position: sticky;
  top: 16px;
  z-index: 2;
  display: flex;
  gap: 4px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--nav-bg);
  color: var(--ink);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

[data-theme="satsuma"] .nav { color: var(--bg); }

.nav a {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.nav a:hover { background: var(--nav-hover); }

.wordmark {
  position: relative;
  margin: 64px 0 0;
  font-family: "Titan One", "Inconsolata", sans-serif;
  font-size: min(12vw, 112px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.03em;
  transform: rotate(-2deg);
}


/* three stacked copies: outline + extrusion, light inner ring, gradient fill */
.wm { display: block; }

.wm-back,
.wm-ring {
  position: absolute;
  inset: 0;
  pointer-events: none;
  stroke-linejoin: round;
  paint-order: stroke fill;
}

/* Extrusion: chained drop-shadows (they follow the stroked outline, unlike
   text-shadow, which ignores -webkit-text-stroke). Colors step from light
   magenta-violet at the face to deep indigo at the back. */
.wm-back {
  color: var(--wm-edge);
  -webkit-text-stroke: 0.26em var(--wm-edge);
  filter: drop-shadow(0.015em 0.015em 0 var(--wm-edge)) drop-shadow(0.015em 0.015em 0 var(--wm-edge)) drop-shadow(0.015em 0.015em 0 var(--wm-edge)) drop-shadow(0.015em 0.015em 0 var(--wm-edge)) drop-shadow(0.015em 0.015em 0 var(--wm-edge)) drop-shadow(0.015em 0.015em 0 var(--wm-edge)) drop-shadow(0.015em 0.015em 0 var(--wm-edge)) drop-shadow(0.015em 0.015em 0 var(--wm-edge)) drop-shadow(0.015em 0.015em 0 var(--wm-edge)) drop-shadow(0.1em 0.14em 0.07em rgb(0 0 0 / 0.5));
}

/* white band; carries the purple extrusion. The indigo keyline (.wm-line) sits inside it */
.wm-ring {
  color: var(--wm-ring);
  -webkit-text-stroke: 0.17em var(--wm-ring);
  filter: drop-shadow(0.015em 0.015em 0 #A545E8) drop-shadow(0.015em 0.015em 0 #9A3FE0) drop-shadow(0.015em 0.015em 0 #8F39D8) drop-shadow(0.015em 0.015em 0 #8433CF) drop-shadow(0.015em 0.015em 0 #792DC5) drop-shadow(0.015em 0.015em 0 #6E28BA) drop-shadow(0.015em 0.015em 0 #6323AF) drop-shadow(0.015em 0.015em 0 #581EA3) drop-shadow(0.015em 0.015em 0 #4D1A97);
}

.wm-line {
  position: absolute;
  inset: 0;
  pointer-events: none;
  stroke-linejoin: round;
  paint-order: stroke fill;
  color: var(--wm-line);
  -webkit-text-stroke: 0.09em var(--wm-line);
}

.wm-fill {
  position: relative;
  color: transparent;
  -webkit-text-fill-color: transparent;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.4) 0%, rgb(255 255 255 / 0) 48%, rgb(80 20 160 / 0.18) 100%),
    linear-gradient(90deg, var(--wm-left) 0%, var(--wm-mid) 50%, var(--wm-right) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.lockup {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 18px 0 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--muted);
}

.lockup strong {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.mascot {
  width: min(100%, 720px);
  flex: 1;
  min-height: 320px;
  margin-top: 0;
  object-fit: cover;
  object-position: 50% 40%;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 28px 28px 0 0;
}

.brand {
  position: relative;
  margin-bottom: 44px;
}

.brand .lockup,
.brand .lockup strong { color: var(--lockup-ink); }

.brand .lockup {
  position: absolute;
  right: -6px;
  bottom: -30px;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  -webkit-text-stroke: 0.3em var(--lockup-edge);
  paint-order: stroke fill;
  stroke-linejoin: round;
  transform: rotate(-3deg);
  z-index: 2;
}

/* 2. Official links */

.links {
  padding: 36px 0;
  background: var(--bg);
}

.links ul {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.links a,
.links .off {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  transition: background 0.15s, color 0.15s;
}

.links a:hover {
  background: var(--accent);
  color: var(--btn-ink);
}

.links .off { opacity: 0.35; }
.links svg { width: 24px; height: 24px; }

/* 3. Marquee */

.marquee {
  overflow: hidden;
  padding: 14px 0;
  border-block: 1px solid var(--line);
  background: var(--bg-alt);
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

[data-theme="satsuma"] .marquee { color: var(--bg); }

.marquee-track {
  display: inline-flex;
  animation: slide 30s linear infinite;
}

.marquee-track span { padding-right: 48px; }
.marquee-track span:nth-child(even) { color: var(--accent); }

@keyframes slide {
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
}

/* 4. Buy */

.buy {
  padding: clamp(72px, 12vw, 128px) 0;
  border-block: 1px solid var(--line);
  background: var(--bg-alt);
}

.contract {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 620px;
  margin: 32px 0 0;
  padding: 8px 8px 8px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  text-align: left;
}

.contract code {
  flex: 1;
  min-width: 0;
  padding: 10px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: inherit;
  font-size: 16px;
}

.contract code.empty { color: var(--muted); }

.supply { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 16px 0 0; font-size: 16px; color: var(--muted); }
.supply strong { font-size: 20px; font-weight: 900; color: var(--ink); font-variant-numeric: tabular-nums; }
.supply span:last-child { flex-basis: 100%; }

.contract button {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.button {
  display: inline-block;
  margin-top: 20px;
  padding: 18px 36px;
  border-radius: 999px;
  background: var(--btn);
  color: var(--btn-ink);
  font-size: 20px;
  font-weight: 900;
  text-decoration: none;
  transition: background 0.15s;
}

.button:hover { background: var(--accent); }

.textlink {
  display: inline-block;
  margin: 0 0 0 24px;
  font-size: 15px;
  color: var(--muted);
}

.textlink:hover { color: var(--ink); }

/* Mission */

.mission {
  padding: clamp(72px, 12vw, 128px) 0;
  background: var(--bg);
}

.mission .lead {
  max-width: 640px;
  margin: 20px 0 0;
  font-size: clamp(19px, 2.6vw, 24px);
  font-weight: 700;
  line-height: 1.4;
}

.mission .goals {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.mission .goals li {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  color: var(--muted);
  line-height: 1.5;
}

.mission .goals strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
  color: var(--ink);
}

@media (max-width: 640px) {
  .mission .goals { grid-template-columns: 1fr; }
}

/* 5. Story */

.story {
  padding: clamp(72px, 12vw, 128px) 0;
  border-block: 1px solid var(--line);
  background: var(--bg-alt);
}

[data-theme="satsuma"] .story { color: var(--bg); }

.story ol {
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.story li {
  position: relative;
  display: grid;
  grid-template-columns: 130px 1fr 24px;
  gap: 8px 24px;
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.story time {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
}

.story p {
  margin: 0;
  font-size: clamp(19px, 2.6vw, 24px);
  font-weight: 700;
  line-height: 1.35;
}

.story li a {
  font-size: 0;
  color: var(--muted);
  text-align: right;
  text-decoration: none;
}

.story li a::before { content: ""; position: absolute; inset: 0; }
.story li a::after { content: "\2197"; font-size: 20px; }
.story li p { transition: color 0.15s; }
.story li:hover p,
.story li:hover a { color: var(--accent); }
.story li a:focus-visible { outline: none; }
.story li:has(a:focus-visible) { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }

@media (max-width: 640px) {
  .story li { grid-template-columns: 1fr 24px; }
  .story time { grid-column: 1 / -1; }
  .art-row { grid-template-columns: repeat(2, 1fr); }
}

/* 6. Art + footer */

.art {
  padding: clamp(72px, 12vw, 128px) 0 0;
  background: var(--bg);
}

.art-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.art-row a { display: block; }

.art-row img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 16px;
}

footer {
  padding: 56px 0 48px;
  background: var(--bg);
  text-align: center;
}

footer p { margin: 0; }

.signoff {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 900;
}

.sibling {
  margin-top: 18px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sibling a { color: var(--accent); text-decoration: none; }
.sibling a:hover { text-decoration: underline; }

.disclaimer {
  max-width: 46ch;
  margin: 14px auto 0;
  font-size: 13px;
  color: var(--muted);
}

/* Satsuma: portrait hero, earn section */

[data-theme="satsuma"] .mascot {
  width: min(100%, 440px);
  object-position: 50% 18%;
}

.earn {
  padding: clamp(72px, 12vw, 128px) 0;
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
  color: var(--bg);
  text-align: center;
}

.earn h2 { margin-bottom: 0; }

.earn ul {
  display: grid;
  gap: 12px;
  max-width: 560px;
  margin: 32px auto 0;
  padding: 0;
  list-style: none;
  font-size: clamp(17px, 2.2vw, 20px);
  font-weight: 700;
  line-height: 1.4;
}

.earn .contract {
  border-color: rgb(26 18 12 / 0.18);
  background: #fff;
  color: var(--bg);
}

.earn .contract code.empty { color: #8a7a68; }

.earn .button[aria-disabled="true"] {
  opacity: 0.45;
  pointer-events: none;
}

.earn .fine {
  max-width: 46ch;
  margin: 24px auto 0;
  font-size: 13px;
  color: #6f5f4e;
}


/* Learn pages */

.learn-top { display: flex; justify-content: center; padding: 8px 16px 0; }
.learn-top .nav { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.learn-top .nav::-webkit-scrollbar { display: none; }
.nav a[aria-current="page"] { background: var(--nav-hover); }

.learn-head { padding: clamp(56px, 9vw, 96px) 0 24px; }
.learn-head h1 {
  margin: 0;
  font-size: clamp(36px, 7vw, 64px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.learn-head .lead, .lsec .sub { max-width: 640px; margin: 20px 0 0; font-size: clamp(18px, 2.4vw, 22px); line-height: 1.45; }

.lsec { padding: clamp(40px, 7vw, 72px) 0; }
.lsec.alt { border-block: 1px solid var(--line); background: var(--bg-alt); }
.lsec h2 { font-size: clamp(26px, 4.5vw, 40px); margin-bottom: 24px; }
.lsec p { max-width: 680px; }
.lsec .sub { margin: 0 0 20px; font-size: 18px; color: var(--muted); }
.lsec .sub a, .gl a, .steps a { color: var(--accent); }

.rgrid, .tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.tiles { grid-template-columns: repeat(4, 1fr); margin: 40px 0 0; }
.lsec .tiles { margin: 0 0 32px; }

.rcard, .tiles a {
  display: flex; flex-direction: column; gap: 10px;
  padding: 24px; border: 1px solid var(--line); border-radius: 20px;
  background: var(--surface); color: var(--muted); line-height: 1.5;
}
.rcard p, .rcard h3 { margin: 0; }
.rc-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.rcard h3 { font-size: 22px; color: var(--ink); }
.tag { flex: none; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.rc-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: auto; padding-top: 6px; }
.ext { font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--accent); }
.ext:hover { color: var(--accent); }
.lsec > .wrap > p > .ext { margin-right: 18px; }

.tiles a { height: 100%; text-decoration: none; transition: background 0.15s; }
.tiles a:hover { background: #2a2a36; }
.tiles strong { font-size: 20px; color: var(--ink); }

.steps, .bul { margin: 0; padding-left: 1.3em; max-width: 680px; }
.steps li, .bul li { margin-bottom: 12px; padding-left: 4px; }
.steps li::marker { font-weight: 900; color: var(--accent); }
.bul li::marker { color: var(--accent); }

.net, .gl { display: grid; gap: 12px; margin: 0 0 24px; }
.net { grid-template-columns: 1fr; max-width: 680px; }
.gl { grid-template-columns: repeat(2, 1fr); }
.net > div, .gl > div { padding: 16px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.net dt, .gl dt { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.net dd, .gl dd { margin: 4px 0 0; word-break: break-all; }
.gl dd { word-break: normal; color: var(--muted); }

.pn { display: flex; justify-content: space-between; gap: 16px; padding: 40px 0 56px; font-weight: 700; }
.pn a { color: var(--accent); text-decoration: none; }
.pn a:hover { text-decoration: underline; }

@media (max-width: 720px) {
  .rgrid, .gl { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
}


/* Ink look: framed hero panel, pill chips, mono labels, lavender primary button */

[data-theme="octochan"] .hero {
  margin: 12px;
  min-height: calc(100svh - 24px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: radial-gradient(120% 60% at 50% 0%, rgb(174 134 255 / 0.14), transparent 60%), var(--hero);
}

[data-theme="octochan"] .nav a,
[data-theme="octochan"] .tag,
[data-theme="octochan"] .eyebrow,
[data-theme="octochan"] .button,
[data-theme="octochan"] .textlink,
[data-theme="octochan"] .story time,
[data-theme="octochan"] .contract code { font-family: var(--font-mono); }

[data-theme="octochan"] .eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 13px;
  letter-spacing: 0.14em;
}

[data-theme="octochan"] .button { font-size: 18px; letter-spacing: 0.02em; box-shadow: 0 0 32px rgb(174 134 255 / 0.3); }
[data-theme="octochan"] .button:hover { background: #C4A6FF; }

[data-theme="octochan"] h2,
[data-theme="octochan"] .learn-head h1 { letter-spacing: -0.03em; }

.tiles { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
@media (max-width: 720px) { .tiles { grid-template-columns: repeat(2, 1fr); } }

/* Built on INK badge */

.ink-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 36px 0 24px;
  padding: 9px 18px 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.ink-badge:hover { border-color: var(--accent); box-shadow: 0 0 24px color-mix(in srgb, var(--accent) 28%, transparent); }
.ink-badge svg { width: 20px; height: 20px; flex: none; }
.ink-badge .bo { font-family: var(--font-mono, ui-monospace, Menlo, monospace); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.ink-badge strong { font-size: 16px; font-weight: 900; letter-spacing: 0.04em; }


/* Nav call to action */

.nav a.nav-cta {
  background: var(--btn);
  color: var(--btn-ink);
}
.nav a.nav-cta:hover { background: #C4A6FF; }

@media (max-width: 560px) {
  .hero .nav { flex-wrap: wrap; justify-content: center; max-width: 100%; border-radius: 26px; }
  .hero .nav a { padding: 8px 14px; font-size: 14px; white-space: nowrap; }
}


/* Mission icons and color (after inkonchain.com/builders): outline icons in tinted chips */

.ico {
  --c: var(--accent);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border: 1px solid color-mix(in srgb, var(--c) 38%, transparent);
  border-radius: 14px;
  background: color-mix(in srgb, var(--c) 14%, transparent);
  color: var(--c);
}
.ico svg { width: 22px; height: 22px; }
.ico.c1 { --c: #AE86FF; }
.ico.c2 { --c: #7DEFFF; }
.ico.c3 { --c: #FF8AE8; }
.ico.c4 { --c: #FFD641; }
.ico.c5 { --c: #7DE08A; }


.mission .goals li { position: relative; background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 7%, var(--surface)), var(--surface) 60%); }
.tiles a .ico { margin-bottom: 4px; width: 40px; height: 40px; }

.mission .tiles { margin-bottom: 16px; }
.mission .button { margin-top: 12px; }

/* Profile: "about me" in her own words, with a portrait from her posts (scripts/refresh-lore.py) */

.profile { padding: clamp(72px, 12vw, 128px) 0; background: var(--bg); color: var(--ink); }
.profile-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 72px); align-items: center; }
.profile-photo { margin: 0; }
.profile-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border: 1px solid var(--line); border-radius: 24px; transition: transform 0.25s; }
.profile-photo a:hover img { transform: rotate(-1deg) scale(1.01); }
.profile .lead { max-width: 640px; margin: 20px 0 0; font-size: clamp(18px, 2.4vw, 22px); line-height: 1.45; font-weight: 700; }
.lore { max-width: 620px; margin-top: 24px; }
.lore p { margin: 0 0 16px; color: var(--muted); line-height: 1.6; }
.lore p:last-child { margin-bottom: 0; }
@media (max-width: 760px) {
  .profile-grid { grid-template-columns: 1fr; }
  .profile-photo img { aspect-ratio: 16 / 10; }
}
@media (prefers-reduced-motion: reduce) { .profile-photo a:hover img { transform: none; } }

/* Brand kit page */

.brand-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 0 0 24px; }
.bprev { margin: 0; padding: 40px 28px 20px; border: 1px solid var(--line); border-radius: 20px; text-align: center; }
.bprev.dark { background: #0F0E12; }
.bprev.violet { background: #7132F5; }
.bprev img { width: 100%; max-width: 420px; height: auto; margin: 0 auto; }
.bprev figcaption { margin-top: 20px; font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.08em; color: var(--muted); }
.bprev.violet figcaption { color: rgb(255 255 255 / 0.8); }
.dl { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 32px; }
.button.small { margin-top: 0; padding: 12px 24px; font-size: 16px; box-shadow: none; }
.button.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.button.ghost:hover { background: var(--surface); }
.lsec code { font-family: var(--font-mono); padding: 1px 6px; border-radius: 6px; background: var(--surface); }
.swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.sw { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: border-color 0.15s; }
.sw:hover { border-color: var(--accent); }
.sw .chip { width: 100%; height: 56px; margin-bottom: 8px; border: 1px solid var(--line); border-radius: 10px; }
.sw code { padding: 0; background: none; font-family: var(--font-mono); color: var(--accent); }
.sw .note { font-size: 14px; color: var(--muted); }
.brand-art { grid-template-columns: repeat(4, 1fr); margin: 32px 0 20px; }
.rgrid.two { grid-template-columns: repeat(2, 1fr); }
.rcard h3 { font-size: 22px; }
.badge-demo { margin-top: 8px; }
.badge-demo .ink-badge { margin: 0; }
@media (max-width: 720px) {
  .brand-grid, .rgrid.two { grid-template-columns: 1fr; }
  .swatches { grid-template-columns: repeat(2, 1fr); }
  .brand-art { grid-template-columns: repeat(2, 1fr); }
}


/* Guide menu: one tidy list of rows, like an app menu */

.tiles {
  display: block;
  max-width: 640px;
  margin: 40px 0 16px;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  overflow: hidden;
}
.lsec .tiles { margin: 0 0 32px; }
.tiles li + li { border-top: 1px solid var(--line); }
.tiles a {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  grid-template-areas: "ico title go" "ico sub go";
  column-gap: 16px;
  row-gap: 0;
  align-items: center;
  height: auto;
  padding: 14px 20px;
  border: 0;
  border-radius: 0;
  background: none;
  text-decoration: none;
  transition: background 0.15s;
}
.tiles a:hover { background: color-mix(in srgb, var(--accent) 9%, transparent); }
.tiles a .ico { grid-area: ico; width: 44px; height: 44px; margin: 0; }
.tiles a strong { grid-area: title; font-size: 18px; line-height: 1.3; }
.tiles a > span:not(.ico) { grid-area: sub; font-size: 15px; color: var(--muted); }
.tiles a::after { content: "\2192"; grid-area: go; color: var(--muted); font-size: 20px; transition: transform 0.15s, color 0.15s; }
.tiles a:hover::after { color: var(--accent); transform: translateX(3px); }
@media (max-width: 720px) { .tiles { grid-template-columns: none; } }
@media (prefers-reduced-motion: reduce) { .tiles a:hover::after { transform: none; } }

.legal { max-width: 60ch; margin: 12px auto 0; font-size: 12px; line-height: 1.5; color: var(--muted); opacity: 0.85; }


/* Site nav: fixed to the viewport, scrolls with the page, one row on every width.
   .nav-fixed sits before the hero in index.html. Learn/stats pages keep their own .nav. */

[data-theme="octochan"] { --nav-solid: rgb(13 14 20 / 0.82); --nav-ink: #F1EEE4; }
[data-theme="satsuma"] { --nav-solid: rgb(26 18 12 / 0.88); --nav-ink: #FFF6E8; }

.nav.nav-fixed {
  position: fixed;
  top: 12px;
  left: 50%;
  translate: -50% 0;
  z-index: 50;
  width: max-content;
  max-width: calc(100vw - 24px);
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.16);
  background: var(--nav-solid);
  color: var(--nav-ink);
  box-shadow: 0 6px 24px rgb(0 0 0 / 0.25);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.nav.nav-fixed::-webkit-scrollbar { display: none; }
.nav.nav-fixed a { flex: none; padding: 8px 16px; font-size: 15px; white-space: nowrap; text-align: center; }
.nav.nav-fixed a:hover { background: rgb(255 255 255 / 0.12); }
.nav.nav-fixed a[aria-current="location"] { background: rgb(255 255 255 / 0.18); }
.nav.nav-fixed a.nav-cta:hover { background: #C4A6FF; }
.nav.nav-fixed a.nav-app { margin-left: 4px; }
.nav.nav-fixed a.nav-app:hover { background: var(--btn-ink); color: var(--accent); }
.nav.nav-fixed a:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

.nav-fixed + .hero { padding-top: 66px; }
section[id] { scroll-margin-top: 76px; }

@media (max-width: 640px) {
  .nav.nav-fixed { top: 8px; padding: 4px; }
  .nav.nav-fixed a { padding: 8px 12px; font-size: 14px; }
  .nav-fixed + .hero { padding-top: 60px; }
}


/* Nav dropdown. The menu sits outside the scrolling bar so the bar cannot clip it. */
.nav.nav-fixed button.nav-drop {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px 8px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.nav.nav-fixed button.nav-drop:hover,
.nav.nav-fixed button.nav-drop[aria-expanded="true"] { background: rgb(255 255 255 / 0.12); }
.nav.nav-fixed button.nav-drop[aria-current] { background: rgb(255 255 255 / 0.18); }
.nav.nav-fixed button.nav-drop:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.nav-drop svg { transition: rotate 0.15s; }
.nav-drop[aria-expanded="true"] svg { rotate: 180deg; }

.nav-menu {
  position: fixed;
  z-index: 60;
  display: flex;
  flex-direction: column;
  min-width: 160px;
  padding: 5px;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 20px;
  background: var(--nav-solid);
  color: var(--nav-ink);
  box-shadow: 0 10px 30px rgb(0 0 0 / 0.35);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.nav-menu[hidden] { display: none; }
.nav-menu a { padding: 10px 16px; border-radius: 14px; font-weight: 700; text-decoration: none; }
.nav-menu a:hover { background: rgb(255 255 255 / 0.12); }
.nav-menu a[aria-current="location"] { background: rgb(255 255 255 / 0.18); }
.nav-menu a:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
[data-theme="octochan"] .nav-menu,
[data-theme="octochan"] .nav.nav-fixed button.nav-drop { font-family: var(--font-mono); }

/* Phones: keep the whole bar on screen, no clipped or half-visible items. */
@media (max-width: 480px) {
  .nav.nav-fixed { gap: 0; padding: 3px; max-width: calc(100vw - 16px); }
  .nav.nav-fixed a { padding: 8px 10px; font-size: 13px; }
  .nav.nav-fixed button.nav-drop { padding: 8px 9px 8px 10px; font-size: 13px; gap: 4px; }
  .nav-menu a { padding: 12px 16px; }
}
@media (max-width: 350px) {
  .nav.nav-fixed a { padding: 8px 7px; font-size: 12px; }
  .nav.nav-fixed button.nav-drop { padding: 8px 6px 8px 7px; font-size: 12px; }
}


/* Learn portal: app shell (sidebar, top bar), dashboard panels */

body.learn { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.app-side {
  position: sticky; top: 0; align-self: start;
  display: flex; flex-direction: column; gap: 20px;
  height: 100vh; padding: 20px 14px;
  border-right: 1px solid var(--line);
  background: var(--bg-alt);
}
.app-brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px; color: var(--ink); font-weight: 900; letter-spacing: 0.06em; text-decoration: none; }
.app-brand em { margin-left: auto; padding: 3px 8px; border: 1px solid var(--line); border-radius: 999px; font: 700 11px var(--font-mono); font-style: normal; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.app-logo { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--accent); color: var(--bg); font-weight: 900; }
.app-nav { display: flex; flex-direction: column; gap: 2px; }
.app-nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--muted); font-weight: 700; text-decoration: none; }
.app-nav a:hover { background: rgb(255 255 255 / 0.06); color: var(--ink); }
.app-nav a[aria-current="page"] { background: rgb(167 155 255 / 0.14); color: var(--ink); box-shadow: inset 2px 0 0 var(--accent); }
.app-nav svg { width: 20px; height: 20px; flex: none; }
.app-nav a[aria-current="page"] svg { color: var(--accent); }
.app-back { margin-top: auto; padding: 10px 12px; color: var(--muted); font: 700 14px var(--font-mono); text-decoration: none; }
.app-back:hover { color: var(--ink); }

.app-main { min-width: 0; }
.app-top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 12px;
  padding: 12px clamp(16px, 3vw, 32px);
  border-bottom: 1px solid var(--line);
  background: rgb(11 11 15 / 0.82);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.crumbs { margin: 0 auto 0 0; font: 700 14px var(--font-mono); color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover, .crumbs span { color: var(--ink); }
.net-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font: 700 13px var(--font-mono); }
.net-pill i { width: 8px; height: 8px; border-radius: 50%; background: #3DDC97; box-shadow: 0 0 8px #3DDC97; }
.app-cta { padding: 8px 18px; border-radius: 999px; background: var(--btn); color: var(--btn-ink); font: 900 14px var(--font-mono); text-decoration: none; }
.app-cta:hover { background: #C4A6FF; }

.app-main .wrap { width: auto; max-width: 1040px; margin-inline: auto; padding-inline: clamp(16px, 3vw, 32px); }
.app-main .learn-head { padding: clamp(32px, 5vw, 56px) 0 8px; }
.app-main .learn-head h1 { font-size: clamp(32px, 5vw, 48px); }
.app-main .lsec { padding: clamp(28px, 4vw, 44px) 0; }
.app-main .lsec h2 { font-size: clamp(22px, 3vw, 28px); }
.app-main .lsec.alt { border-inline: 0; }
.app-main footer { border-top: 1px solid var(--line); }

.head-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.btn-p, .btn-s { padding: 12px 22px; border-radius: 12px; font: 900 15px var(--font-mono); text-decoration: none; }
.btn-p { background: var(--btn); color: var(--btn-ink); }
.btn-p:hover { background: #C4A6FF; }
.btn-s { border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.btn-s:hover { border-color: var(--accent); }

.stats { padding: 20px 0 8px; }
.statgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.statgrid li { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.statgrid .k { font: 700 12px var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.statgrid strong { font-size: 28px; font-weight: 900; line-height: 1.1; }
.statgrid .s { font-size: 14px; color: var(--muted); line-height: 1.35; }
.statgrid a { color: var(--accent); }

.panelrow { padding: 12px 0 8px; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.panel { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.panel-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.panel-h h2, .panel h2 { margin: 0; font-size: 20px; }
.lsec .panel-h h2 { margin: 0; }
.count { font: 700 14px var(--font-mono); color: var(--accent); }
.bar { height: 6px; margin-bottom: 18px; border-radius: 99px; background: rgb(255 255 255 / 0.08); overflow: hidden; }
.bar i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--accent); transition: width 0.25s; }
.note { margin: 14px 0 0; font-size: 14px; color: var(--muted); }

.checklist { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.checklist label { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); cursor: pointer; line-height: 1.4; }
.checklist label:has(input:checked) { border-color: rgb(167 155 255 / 0.5); color: var(--muted); }
.checklist label:has(input:checked) span { text-decoration: line-through; text-decoration-color: rgb(255 255 255 / 0.3); }
.checklist input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); }
.checklist a { color: var(--accent); }
.panel .bul { max-width: none; padding-left: 1.2em; margin: 0; font-size: 16px; }
.panel .bul li { margin-bottom: 10px; }

.app-main .tiles { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin: 0; }
.app-main .tiles a { flex-direction: row; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; }
.app-main .tiles a:hover { border-color: rgb(167 155 255 / 0.6); background: #262633; }
.app-main .tiles .ico { flex: none; margin: 0; }
.t-body { display: flex; flex-direction: column; min-width: 0; }
.t-body span { font-size: 14px; }
.tiles .arr { margin-left: auto; color: var(--accent); transition: translate 0.15s; }
.tiles a:hover .arr { translate: 4px 0; }

.search input { width: min(240px, 100%); padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--ink); font: 700 14px var(--font-mono); }
.search input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.gl > div[hidden] { display: none; }

.resrows { display: grid; margin: 0; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow: hidden; }
.resrows li { display: flex; align-items: center; gap: 16px; padding: 14px 20px; }
.resrows li + li { border-top: 1px solid var(--line); }
.resrows li > div { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.resrows strong { font-size: 17px; }
.resrows div span { font-size: 14px; color: var(--muted); }
.open { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font: 700 13px var(--font-mono); text-decoration: none; }
.open:hover { border-color: var(--accent); color: var(--accent); }

/* Guide pages inside the shell: lighter cards, same panel look */
.app-main .rcard { border-radius: 16px; }
.app-main .rcard:hover { border-color: rgb(167 155 255 / 0.5); }

@media (max-width: 860px) {
  body.learn { display: block; }
  .app-side {
    position: sticky; top: 0; z-index: 20; flex-direction: row; align-items: center; gap: 8px;
    height: auto; padding: 8px 12px; border-right: 0; border-bottom: 1px solid var(--line);
    background: rgb(18 18 24 / 0.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  }
  .app-brand span:not(.app-logo), .app-brand em, .app-back { display: none; }
  .app-nav { flex-direction: row; gap: 4px; overflow-x: auto; scrollbar-width: none; }
  .app-nav::-webkit-scrollbar { display: none; }
  .app-nav a { flex: none; padding: 8px 12px; font-size: 14px; }
  .app-nav svg { display: none; }
  .app-top { position: static; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; flex-wrap: wrap; }
  .crumbs { flex: 1 0 100%; order: 3; }
  .net-pill { margin-right: auto; }
  .statgrid { grid-template-columns: repeat(2, 1fr); }
  .two { grid-template-columns: 1fr; }
  .resrows li { flex-wrap: wrap; }
  .resrows .tag { order: 3; }
}


/* Built on Ink badge: centered in the footer, icon and text on one centerline */
.ink-badge { display: flex; width: fit-content; margin-inline: auto; align-items: center; justify-content: center; line-height: 1; }
.ink-badge .bo, .ink-badge strong { display: block; line-height: 1; }

/* Academy brand in the sidebar: plain text, not a pill */
.app-brand em { margin-left: 0; padding: 0; border: 0; border-radius: 0; font: 700 15px var(--font-mono); letter-spacing: 0.06em; text-transform: none; }

/* Numbered steps (was a checklist) */
.steps-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps-list li { display: flex; align-items: flex-start; gap: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); line-height: 1.4; counter-increment: s; }
.steps-list li::before { content: counter(s); flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgb(167 155 255 / 0.16); color: var(--accent); font: 900 13px var(--font-mono); }
.steps-list a { color: var(--accent); }


/* Octochan silhouette stands in for the O in the wordmark */
.app-brand { gap: 0; }
.app-logo {
  width: 34px; height: 36px; margin: -4px 2px -4px 0; border-radius: 0; background: var(--accent);
  -webkit-mask: url(assets/octochan-silhouette.svg) center / contain no-repeat;
  mask: url(assets/octochan-silhouette.svg) center / contain no-repeat;
}
.app-brand em { margin-left: 10px; }
@media (max-width: 860px) {
  .app-brand .app-txt, .app-brand em { display: none; }
  .app-logo { width: 30px; height: 32px; margin: 0; }
}

.app-logo { margin: -4px 8px -4px 0; }


/* Silhouette is an inline SVG (a CSS mask from a file fails over file:// in Chrome and needs a second request) */
svg.app-logo {
  display: block; flex: none; width: 34px; height: 36px; margin: -4px 8px -4px 0;
  border-radius: 0; background: none; color: var(--accent);
  -webkit-mask: none; mask: none;
}
@media (max-width: 860px) { svg.app-logo { width: 30px; height: 32px; margin: 0; } }

/* Brand: Academy stacked under OCTOCHAN, silhouette on the left */
.app-brand { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; align-items: center; column-gap: 10px; }
.app-brand svg.app-logo { grid-row: 1 / span 2; margin: 0; width: 38px; height: 40px; }
.app-brand .app-txt { grid-column: 2; align-self: end; line-height: 1.1; }
.app-brand em { grid-column: 2; grid-row: 2; align-self: start; margin: 2px 0 0; line-height: 1.1; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
@media (max-width: 860px) { .app-brand svg.app-logo { width: 30px; height: 32px; } }

/* Selected sidebar item: glow all the way around, not just the left edge */
.app-nav a[aria-current="page"] {
  background: rgb(167 155 255 / 0.14);
  box-shadow: 0 0 0 1px rgb(167 155 255 / 0.55), 0 0 14px 1px rgb(167 155 255 / 0.4), inset 0 0 12px rgb(167 155 255 / 0.12);
}
@media (max-width: 860px) { .app-nav { padding: 8px 10px; margin: -8px -10px; } }

/* Silhouette is now head and shoulders: wider than tall */
.app-brand svg.app-logo { width: 46px; height: 42px; }
@media (max-width: 860px) { .app-brand svg.app-logo { width: 38px; height: 34px; } }
