/* Quantum Canary v0.7 "Chirpy": a cuter layer over the v0.5 forest site.
   Same structure, same content. Rounder everything (pill buttons, 22-32px cards), a soft plum ink instead
   of black, pastel accents (sky, pink, mint, lilac), a rounded display face (Fredoka), springy motion,
   drifting clouds, twinkles and hearts. Loaded after style.css; everything here is an override. */
:root {
  --paper: #FFF8E6;
  --paper-2: #FFF0CC;
  --card: #FFFFFF;
  --ink: #2A2140;
  --bg: #2A2140;
  --line: rgba(42, 33, 64, .12);
  --line-2: rgba(42, 33, 64, .24);
  --text: #2A2140;
  --text-2: #4E4568;
  --muted: #8A80A0;
  --blue: #6F7BFF;
  --ultra: #6F7BFF;
  --peri: #6F7BFF;
  --pink: #FFB6D3;
  --mint: #8FE9C3;
  --sky: #C4E6FF;
  --lilac: #DCD0FF;
  --canary: #FFD84A;
  --radius: 22px;
  --display: "Fredoka", "Figtree", ui-rounded, sans-serif;
  --logo: "Fredoka", var(--sans);
  --hard: 0 6px 0 var(--ink);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}
body { background: var(--paper); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; font-stretch: 100%; }
::selection { background: var(--pink); color: var(--ink); }
:focus-visible { outline-color: var(--blue); border-radius: 10px; }
em { background: linear-gradient(transparent 58%, var(--pink) 58%, var(--pink) 92%, transparent 92%); }
code { border-radius: 6px; }

/* ---- announce + nav ---- */
.announce { background: var(--ink); }
.announce b { border-radius: 999px; padding: 2px 9px; }
.nav { border-bottom-width: 3px; background: rgba(255, 248, 230, .98); }
.wordmark { font: 600 18px var(--logo); }
.wordmark b { border-radius: 999px; padding: 1px 10px 1px 8px; font-weight: 700; background: #E8423A; color: #fff; }
.wordmark b::before { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 5px 2px 0; border-radius: 50%; background: #fff; vertical-align: middle; animation: alive-beat 1.4s ease-in-out infinite; }
@keyframes alive-beat { 0%, 40%, 100% { transform: scale(1); } 12% { transform: scale(1.5); } 24% { transform: scale(1.15); } }
@media (prefers-reduced-motion: reduce) { .wordmark b::before { animation: none; } }
.links a:hover { text-decoration: underline wavy var(--pink); text-decoration-thickness: 2px; }
.status-pill { border-radius: 999px; padding: 5px 12px; }
.status-pill i { border-radius: 50%; animation: cute-pulse 1.8s ease-in-out infinite; }
.nav-cta { border-radius: 999px; padding: 9px 18px; box-shadow: 0 4px 0 var(--blue); transition: translate .25s var(--spring), box-shadow .25s var(--spring); }
.nav-cta:hover { translate: 0 -3px; box-shadow: 0 7px 0 var(--blue); }
.topics { background: var(--canary); }
.topics a { border-radius: 999px; transition: background .2s, scale .25s var(--spring); }
.topics a:hover { scale: 1.06; }

/* ---- hero ---- */
.hero { background: linear-gradient(180deg, #FDE3EA 0, #FFEEF2 260px, #FFF5F0 620px, #EAF2C9 900px, #7CC47A 1000px, #6CB86A 100%); }
.kicker span { border-radius: 999px; padding: 5px 14px; rotate: -3deg; }
.hero h1 { font-weight: 700; text-transform: none; letter-spacing: -.02em; line-height: 1.0; font-size: clamp(46px, 6.4vw, 90px); }
.hero h1 em { border-radius: 28px; border-width: 4px; box-shadow: 0 8px 0 var(--ink); padding: 0 .2em .04em; rotate: -3deg; animation: cute-wiggle 3.4s ease-in-out infinite; }
.lede { font-size: 18.5px; }
.hero-tag { border-radius: 999px; padding: 6px 16px; background: rgba(255, 255, 255, .85); }
.btn { border-radius: 999px; box-shadow: 0 5px 0 var(--ink); transition: translate .28s var(--spring), box-shadow .28s var(--spring), background .2s; }
.btn:hover { translate: 0 -4px; box-shadow: 0 9px 0 var(--ink); }
.btn:active { translate: 0 4px; box-shadow: 0 1px 0 var(--ink); transition-duration: .08s; }
.btn.primary:hover { background: #FFE476; }
.btn.ghost:hover { background: var(--sky); }
.sticker { border-radius: 999px; padding: 8px 16px; box-shadow: 0 4px 0 var(--ink); font-family: var(--display); font-weight: 600; font-size: 16px; }
.sticker.s2 { background: var(--pink); }
.sticker.s3 { background: var(--mint); color: var(--ink); }
.hero-mascot { width: 248px; top: -214px; }
.mascot:hover .m-bird { animation: cute-squish .55s var(--spring); }
.m-bubble { border-radius: 20px 20px 4px 20px; font: 600 15px/1.3 var(--display); padding: 10px 15px; }
.mascot.face-right .m-bubble { border-radius: 20px 20px 20px 4px; }

/* Exhibit A: same specimen box, softened */
.stage { border-radius: 34px; box-shadow: 0 12px 0 var(--ink); background-color: var(--canary); }
.stage-port { background: radial-gradient(circle at 50% 42%, #5B4CC9 0%, #362A8C 58%, #241B62 100%); box-shadow: 0 0 0 9px #FFF3B0, 0 0 0 12px #241B62, inset 0 0 40px rgba(0, 0, 0, .35); }
.stage-caption { border-radius: 20px; rotate: -2deg; box-shadow: 0 5px 0 #241B62; border-color: #241B62; }
.stage-caption .tag { border-radius: 999px; }
.stage-stats li { border-radius: 18px; }
.stage-stats li:first-child { background: #241B62; }

/* ---- ticker bands ---- */
.tk-a { border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.tk-b { background: var(--pink); color: var(--ink); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.tk-b .tk-bird { color: var(--ink); }
.tk-track span { font-family: var(--display); font-weight: 700; letter-spacing: .01em; }

/* ---- proof numbers ---- */
.proof-in { border-radius: 30px; overflow: hidden; box-shadow: 0 10px 0 var(--ink); }
.pf b { font-family: var(--display); font-weight: 700; font-stretch: 100%; letter-spacing: -.02em; }
.pf:nth-child(1) { background: #FFFFFF; } .pf:nth-child(2) { background: #F3F0FF; } .pf:nth-child(3) { background: #EAFBF3; }

/* ---- section heads: bubbly filled numerals ---- */
.sec-head::before { font: 700 104px/0.82 var(--display); font-stretch: 100%; color: var(--canary); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; letter-spacing: -.02em; text-shadow: 0 6px 0 var(--ink); }
.sec-head h2 { letter-spacing: -.02em; }
.sec-head .asof { color: var(--blue); }

/* ---- cards ---- */
.card, .featured, .panel, .tl-row, .tablewrap, .chip-panel { border-radius: var(--radius); box-shadow: var(--hard); }
.card { transition: translate .35s var(--spring), rotate .35s var(--spring), box-shadow .35s var(--spring); }
.card:hover { translate: 0 -8px; rotate: 0deg; box-shadow: 0 14px 0 var(--ink); }
.art { background-color: #4A3DB8; background-image: radial-gradient(rgba(255, 255, 255, .12) 1.1px, transparent 1.5px), linear-gradient(160deg, #6A5AE0, #3A2E99); background-size: 12px 12px, 100% 100%; }
.count, .pill, .chip { border-radius: 999px; }
.count { padding: 1px 8px; }
.more { color: var(--blue); }
.gauge { border-radius: 20px; }
.chips a { border-radius: 999px; transition: background .2s, scale .25s var(--spring); }
.chips a:hover { scale: 1.06; }
.chip-panel { background: var(--canary); }

/* ---- for-everyone tiles + join-the-flock ---- */
.tile { border-radius: 30px; box-shadow: 0 7px 0 var(--ink); transition: translate .35s var(--spring), box-shadow .35s var(--spring), rotate .35s var(--spring); }
.tile:hover { translate: 0 -8px; rotate: -1.2deg; box-shadow: 0 15px 0 var(--ink); }
.tile h3 { text-transform: none; font-weight: 700; font-stretch: 100%; letter-spacing: -.02em; line-height: 1.0; }
.t-num { font-family: var(--display); font-weight: 700; font-stretch: 100%; }
.t-blue, .a-blue { background: #A9B1FF; color: var(--ink); }
.t-pink, .a-pink { background: var(--pink); }
.t-green, .a-green { background: var(--mint); }
.t-paper { background: #FFFFFF; }
.act { border-radius: 24px; transition: translate .35s var(--spring), box-shadow .35s var(--spring); }
.act:hover { translate: 0 -6px; box-shadow: 0 12px 0 var(--ink); }
.act-top span { border-radius: 999px; padding: 2px 10px; }
.act-top b { font-family: var(--display); font-weight: 700; }

/* ---- footer ---- */
.foot h4 { font-family: var(--display); font-weight: 700; font-stretch: 100%; text-transform: none; font-size: 17px; }
.foot-grid a:hover { background: var(--pink); border-radius: 6px; }

/* ---- cute extras (cute.js) ---- */
.cloud { position: absolute; z-index: 0; left: 0; width: var(--w); opacity: .95; animation: cloud-drift var(--d) linear infinite; animation-delay: var(--dl); pointer-events: none; }
.cloud svg { display: block; width: 100%; overflow: visible; }
@keyframes cloud-drift { from { transform: translateX(-260px); } to { transform: translateX(calc(100vw + 260px)); } }
.twinkle { position: absolute; z-index: 1; width: var(--z); height: var(--z); pointer-events: none; animation: twinkle var(--t) ease-in-out infinite; animation-delay: var(--dl); }
.twinkle svg { display: block; width: 100%; height: 100%; }
@keyframes twinkle { 0%, 100% { opacity: 0; scale: .4; rotate: 0deg; } 50% { opacity: 1; scale: 1; rotate: 45deg; } }
.heart { position: fixed; z-index: 60; pointer-events: none; width: 22px; height: 22px; translate: -50% -50%; animation: heart-up 1.1s cubic-bezier(.2, .7, .3, 1) forwards; }
.heart svg { display: block; width: 100%; height: 100%; }
@keyframes heart-up { 0% { opacity: 0; transform: translate(0, 0) scale(.3) rotate(0deg); } 18% { opacity: 1; transform: translate(calc(var(--hx) * .2), -14px) scale(1.15) rotate(var(--hr)); } 100% { opacity: 0; transform: translate(var(--hx), var(--hy)) scale(.8) rotate(var(--hr)); } }
.pop-in { opacity: 0; transform: translateY(22px) scale(.96); }
.pop-in.popped { opacity: 1; transform: none; transition: opacity .5s ease, transform .7s var(--spring); transition-delay: var(--pd, 0s); }
@keyframes cute-wiggle { 0%, 100% { rotate: -3deg; } 50% { rotate: 1.5deg; } }
@keyframes cute-squish { 0% { transform: scale(1, 1); } 35% { transform: scale(1.08, .9); } 65% { transform: scale(.95, 1.06); } 100% { transform: scale(1, 1); } }
@keyframes cute-pulse { 0%, 100% { scale: 1; } 50% { scale: 1.35; } }
@media (prefers-reduced-motion: reduce) {
  .cloud, .twinkle, .hero h1 em, .status-pill i { animation: none; }
  .pop-in { opacity: 1; transform: none; }
}
/* ---- hero risk gauge: the risk an investor feels vs. what the protocol measures and does ----
   --rk (set by app.js) is the gauge's height; the sky gradient and forest slide down by it so the scene stays intact. */
.hero { background: linear-gradient(180deg, #FDE3EA 0, #FFEEF2 260px, #FFF5F0 calc(620px + var(--rk, 0px)), #EAF2C9 calc(900px + var(--rk, 0px)), #7CC47A calc(1000px + var(--rk, 0px)), #6CB86A 100%); }
.forest .trees { top: var(--rk, 0px); }
.forest .sun { position: absolute; top: 18px; right: 18px; width: clamp(96px, 11vw, 168px); height: auto; display: block; overflow: visible; }
.sky-candles { position: absolute; left: 0; top: 0; z-index: 1; pointer-events: none; }
.hero-copy { z-index: 2; }
.sky-candles.front { z-index: 3; }
.forest .sun .rays { transform-origin: 92px 92px; animation: sun-spin 40s linear infinite; }
@keyframes sun-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .sky-candles { position: absolute; left: 0; top: 0; z-index: 1; pointer-events: none; }
.hero-copy { z-index: 2; }
.sky-candles.front { z-index: 3; }
.forest .sun .rays { animation: none; } }
@media (min-width: 761px) { .hero { padding-top: 58px; } }
/* room for the perched mascot below the gauge */
.hero .stage-wrap { margin-top: 156px; } /* collapses with .hero-copy's bottom margin, so it must beat it */
@media (min-width: 761px) { .hero .stage-wrap { margin-top: 220px; } }
.rk { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 340px) 1fr; align-items: center; gap: 8px 28px; max-width: 940px; margin: 28px auto 0; padding: 20px 28px 20px 22px; text-align: left; color: var(--ink); text-decoration: none; background: #fff; border: 3px solid var(--ink); border-radius: 30px; box-shadow: 0 8px 0 var(--ink); transition: translate .3s var(--spring), box-shadow .3s var(--spring); }
.rk:hover { translate: 0 -4px; box-shadow: 0 12px 0 var(--ink); }
.rk-dial svg { display: block; width: 100%; height: auto; overflow: visible; }
.rk-ticks text { font-family: var(--mono); font-weight: 700; fill: var(--text-2); }
.rk-bz { font: 700 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; fill: var(--ink); }
.ndl { transform-box: view-box; transform-origin: 160px 170px; }
.ndl path, .ndl circle { stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; }
.ndl.fear { fill: var(--pink); rotate: calc(var(--f) * 1.8deg); animation: ndl-in 1.5s var(--spring) .2s both; }
.ndl.fear .jit { transform-box: view-box; transform-origin: 160px 170px; animation: ndl-jitter .16s ease-in-out 1.7s infinite alternate; } /* fear twitches, threat holds still */
.ndl.threat { fill: var(--canary); rotate: calc(var(--t) * 1.8deg); animation: ndl-in 1.5s var(--spring) .45s both; }
@keyframes ndl-in { from { rotate: 0deg; } }
@keyframes ndl-jitter { from { transform: rotate(-1.6deg); } to { transform: rotate(1.6deg); } }
.rk-tag { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--ink); color: var(--canary); font: 700 11.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; rotate: -2deg; }
.rk-title { margin: 10px 0 0; font: 700 clamp(22px, 2.6vw, 31px)/1.1 var(--display); letter-spacing: -.01em; }
.rk-reads { display: flex; gap: 12px; margin: 14px 0 14px; }
.rd { flex: 1; display: flex; align-items: center; gap: 10px; padding: 8px 12px; border: 2.5px solid var(--ink); border-radius: 18px; box-shadow: 0 4px 0 var(--ink); }
.rd b { font: 700 34px/1 var(--display); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.rd span { display: flex; flex-direction: column; font: 700 15px/1.15 var(--display); }
.rd small { font: 600 11.5px var(--sans); color: var(--text-2); }
.rd.fear { background: var(--pink); }
.rd.threat { background: var(--canary); }
.rk-chain { display: flex; flex-wrap: wrap; gap: 8px 17px; margin: 0; padding: 0; list-style: none; }
.rk-chain li { position: relative; display: flex; align-items: center; gap: 5px; padding: 4px 9px 4px 6px; border-radius: 999px; background: var(--paper-2); font: 600 13px var(--display); white-space: nowrap; }
.rk-chain li span { font-size: 15px; }
.rk-chain li:not(:last-child)::after { content: "→"; position: absolute; right: -14px; font: 700 13px var(--display); }
.rk-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 14px; margin: 12px 0 0; font: 600 14px var(--display); color: var(--text-2); }
.rk-foot i { font-style: normal; color: var(--blue); }
@media (prefers-reduced-motion: reduce) { .ndl.fear, .ndl.threat, .ndl.fear .jit { animation: none; } }
@media (max-width: 760px) {
  .rk { grid-template-columns: 1fr; margin-top: 26px; padding: 16px 16px 16px; border-radius: 24px; }
  .rk-dial { max-width: 320px; margin: 0 auto; width: 100%; }
  .rd b { font-size: 28px; }
}
@media (max-width: 760px) {
  .hero-mascot { width: 170px; top: -150px; }
  .sec-head::before { font-size: 64px; text-shadow: 0 4px 0 var(--ink); }
  .stage { border-radius: 24px; }
  .tile, .proof-in { border-radius: 22px; }
}

/* ---- calm layout (v1.1): one clear headline, fewer words on the first screen, more air ---- */
.hero { padding-top: 128px; padding-bottom: 120px; }
.hero .sticker, .hero .hero-tag { display: none; }               /* decorative chatter */
.hero .kicker { font-size: 0; margin: 0 0 40px; }                 /* keep only the dispatch pill */
.hero .kicker span { font-size: 13px; }
.hero h1 { position: relative; isolation: isolate; font-size: clamp(56px, 8.2vw, 128px); line-height: 1; letter-spacing: -.045em; margin: 0 auto 40px; text-wrap: balance; }
.hero h1::before { content: ""; position: absolute; z-index: -1; inset: -18% -8%; background: radial-gradient(closest-side, rgba(255, 244, 246, .95), rgba(255, 244, 246, .8) 60%, rgba(255, 244, 246, 0)); pointer-events: none; }
.hero .lede { font-size: 20px; line-height: 1.75; max-width: 44ch; margin: 0 auto 48px; }
.hero .btn.big { padding-inline: 30px; }
.modules, .everyone, .readings, .vault, .ladder, .ledger, .dev, .flock, .limits { padding-top: 140px !important; padding-bottom: 140px !important; }
.wrap > p.meta, .section-head p { line-height: 1.75; }

/* ---- Fuji dusk (v1.4): a pink sunset sky over layered ridges and a snow-capped Fuji, all sitting behind the forest ---- */
.hero { position: relative; background:
  linear-gradient(180deg, #FFB3CC 0, #FFC6D8 160px, #FFD9E4 360px, #FFE7EC calc(560px + var(--rk, 0px)),
    #FFF0E8 calc(760px + var(--rk, 0px)), #F9EAD6 calc(940px + var(--rk, 0px)), #7CC47A calc(1000px + var(--rk, 0px)), #6CB86A 100%); }
.hero::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: calc(900px + var(--rk, 0px)); z-index: 0; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cg opacity='.5'%3E%3Ccircle cx='14' cy='22' r='1.3' fill='%23fff'/%3E%3Ccircle cx='92' cy='8' r='1' fill='%23FFE7A0'/%3E%3Ccircle cx='170' cy='40' r='1.4' fill='%23fff'/%3E%3Ccircle cx='58' cy='96' r='1.1' fill='%23FFE7A0'/%3E%3Ccircle cx='132' cy='118' r='1.2' fill='%23fff'/%3E%3Ccircle cx='26' cy='170' r='1.2' fill='%23fff'/%3E%3Ccircle cx='104' cy='196' r='1.3' fill='%23FFE7A0'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 220px 220px;
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 45%, transparent 75%); mask-image: linear-gradient(180deg, #000 0, #000 45%, transparent 75%); }
.hero .forest { z-index: 0; }
.fuji { position: absolute; left: 0; top: -90px; width: 100%; height: 1000px; pointer-events: none; overflow: visible; } /* the near ridge runs on down behind the tree line, so no flat edge cuts the treetops */
.cloud { filter: drop-shadow(0 6px 0 rgba(42, 33, 64, .12)); }
.hero h1::before { background: radial-gradient(closest-side, rgba(255, 236, 242, .92), rgba(255, 236, 242, .6) 60%, rgba(255, 236, 242, 0)); }
/* scroll performance: the decorative hero layers never repaint while scrolling */
.fuji, .hero::before, .forest svg.trees { will-change: transform; }
.fly svg { filter: none; }
/* wide screens: the tree SVG used to scale up and slice its top off (pine tips cut flat). Grow its box with the width instead,
   upward from a fixed ground line, so the whole forest always fits. 72.23vw = 1040/1440. */
.forest .trees { height: max(1040px, 72.23vw); top: calc(var(--rk, 0px) + 1040px - max(1040px, 72.23vw)); }

/* bigger top-left logo (v1.5.3) */
.nav .brand { gap: 12px; }
.nav .brand img { width: 46px; height: 46px; }
.nav .brand .wordmark { font-size: 21px; }
@media (max-width: 760px) { .nav .brand img { width: 38px; height: 38px; } .nav .brand .wordmark { font-size: 17px; } }

/* v1.5.4: proof strip on a pink Fujin-wind ground (wind.svg) */
.proof { padding: 56px 0 84px; background: url(wind-l.svg?v=1) left center / auto 100% no-repeat, url(wind-r.svg?v=1) right center / auto 100% no-repeat, url(wind-m.svg?v=1) center / auto 100% no-repeat, #FFCFE0; }
@media (max-width: 760px) { .proof { padding: 40px 0 56px; } }

/* v1.5.6: everything below the mine sits on the pink Fujin-wind ground; gusts run down both edges */
body { background: url(wind-l.svg?v=1) left top / 460px auto repeat-y, url(wind-r.svg?v=1) right top / 460px auto repeat-y, #FFCFE0; }
.proof { background: url(wind-m.svg?v=1) center / auto 100% no-repeat; }
.readings, .ladder, .flock, .foot { background-color: rgba(255, 150, 190, .2); }
@media (max-width: 760px) { body { background-size: 300px auto, 300px auto, auto; } }
/* v1.5.7: the verify panel sits midway between sections 07 and 08, its contents centred */
.verify-strip { padding: 72px 0; }
.verify-strip .chip-panel { text-align: center; }
.verify-strip .chips { justify-content: center; }
.verify-strip .meta { margin-left: auto; margin-right: auto; }
/* v1.5.7: bigger top-left logo; the wordmark reads as one name, Samurai in red ink instead of a red pill */
.nav .brand { gap: 14px; }
.nav .brand img { width: 60px; height: 60px; }
.nav .brand .wordmark { font-size: 24px; }
@media (max-width: 760px) { .nav .brand img { width: 46px; height: 46px; } .nav .brand .wordmark { font-size: 19px; } }
.wordmark b { background: none; border: 0; border-radius: 0; padding: 0; margin-left: .28em; color: #E8423A; font-weight: 700; }
.wordmark b::before { content: none; }
/* v1.5.8: wordmark in Shojumaru (brush-cut latin) with a red 侍 hanko stamp */
.wordmark { font-family: "Shojumaru", var(--logo); font-weight: 400; letter-spacing: .01em; display: inline-flex; align-items: center; }
.wordmark b { font-weight: 400; }
.wordmark::after { content: "侍"; display: inline-flex; align-items: center; justify-content: center; width: 1.25em; height: 1.25em; margin-left: .4em; border-radius: .2em; background: #D9363E; color: #fff; font: 400 .78em/1 "Yuji Syuku", serif; transform: rotate(-8deg); box-shadow: inset 0 0 0 .08em rgba(255,255,255,.25); }.nav .brand .wordmark { font-size: 22px; }
@media (max-width: 960px) { .nav .brand .wordmark { font-size: 18px; } }
@media (max-width: 760px) { .nav .brand .wordmark { font-size: 16px; } }
/* v1.6.0: wordmark in Reggae One (manga sound-effect type) with カナリア侍 riding above it; no stamp */
.wordmark { font-family: "Reggae One", var(--logo); position: relative; }
.wordmark::after { content: none; }
.wordmark::before { content: "カナリア侍"; position: absolute; left: 0; right: 0; top: -.78em; text-align: center; font: 400 .4em/1 "Reggae One", sans-serif; letter-spacing: .45em; color: #E8423A; }
.brand.small .wordmark::before { content: none; }
.nav .brand { padding-top: 6px; }.nav .brand .wordmark { font-size: 26px; }
@media (max-width: 960px) { .nav .brand .wordmark { font-size: 22px; } }
@media (max-width: 760px) { .nav .brand .wordmark { font-size: 18px; } }
.wordmark::before { font-size: .44em; top: -.82em; }
/* X link in the nav: hidden on narrow phones, footer keeps the link */
@media (max-width:560px){ .nav .x-link { display:none !important; } }

/* Roomier top bar: taller, logo set apart from the links, links never wrap */
@media (min-width: 761px) {
  .nav-in { height: 82px; gap: 34px; }
  .topics { top: 82px; }
  html { scroll-padding-top: 140px; }
}
.nav .brand { flex: none; margin-right: 14px; }
.links { flex: none; gap: 26px; }
.links a { white-space: nowrap; }
.nav .status-pill { display: none; }
.nav .x-link { margin-left: auto; }
