:root {
  color-scheme: light;
  --cream: #fff9ee;
  --paper: #ffffff;
  --ink: #14284b;
  --slate: #4f6282;
  --blue: #2f6bff;
  --blue-dark: #1b4fd6;
  --sky: #dcebff;
  --coral: #ff7a6b;
  --peach: #ffe3d6;
  --sun: #ffc94d;
  --mint: #bff0d8;
  --lilac: #e6dcff;
  --line: #14284b;
  --soft-line: #d9e2f1;
  --font: "Avenir Next Rounded", "Nunito", "Hiragino Maru Gothic ProN", "Segoe UI Variable Display", "Segoe UI", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  --pop: 4px 4px 0 var(--ink);
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  font-synthesis: none;
}
/* Japanese rounded fonts lack many simplified characters; Chinese pages use a Chinese font first to avoid mixed glyphs. */
html[lang="zh-CN"] { --font: "Avenir Next Rounded", "Nunito", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-size: 16px; line-height: 1.6; min-height: 100vh;
  background-color: var(--cream);
  background-image: radial-gradient(circle at 1px 1px, rgba(20, 40, 75, .13) 1.4px, transparent 1.6px);
  background-size: 26px 26px;
}
a { color: var(--blue-dark); text-underline-offset: .2em; text-decoration-thickness: 2px; }
a:hover { color: var(--coral); }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
[hidden] { display: none !important; }
.shell { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: absolute; top: 10px; left: 16px; z-index: 10; padding: 12px 16px; background: white; border: 2px solid var(--ink); border-radius: 12px; transform: translateY(-180%); }
.skip:focus { transform: none; }

/* Header */
.site-header { min-height: 96px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-size: 20px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.brand:hover { color: var(--ink); }
.brand img { width: 56px; height: 56px; flex-shrink: 0; object-fit: contain; padding: 3px; background: var(--sky); border: 2px solid var(--ink); border-radius: 18px; box-shadow: 3px 3px 0 var(--ink); transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }
.header-links { display: flex; gap: 8px; align-items: center; padding: 6px; background: var(--paper); border: 2px solid var(--ink); border-radius: 999px; box-shadow: 3px 3px 0 var(--ink); }
.header-links > a { padding: 6px 15px; border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 700; }
.header-links > a:hover { background: var(--sky); color: var(--ink); }
.languages { display: flex; align-items: center; gap: 2px; margin-left: 4px; padding: 3px; background: var(--cream); border-radius: 999px; font-size: 13px; font-weight: 700; }
.languages a, .languages span { min-width: 40px; padding: 4px 10px; text-align: center; line-height: 1.5; border-radius: 999px; }
.languages a { color: var(--slate); text-decoration: none; }
.languages a:hover { color: var(--ink); background: var(--sky); }
.languages [aria-current] { color: #fff; background: var(--ink); }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr); gap: 32px; align-items: center; padding: 40px 0 56px; }
.hero-copy { min-width: 0; }
h1 { margin: 0; max-width: 700px; font-size: clamp(46px, 6vw, 84px); line-height: 1.02; letter-spacing: -.045em; font-weight: 900; text-wrap: balance; }
h1 em { font-style: normal; color: var(--blue); }
html[lang="zh-CN"] h1 { font-size: clamp(42px, 5.2vw, 72px); line-height: 1.15; letter-spacing: -.03em; }
/* The landing headline is a short hook, smaller than a poster title so the URL stays in the first view. */
.hero h1 { font-size: clamp(36px, 4.2vw, 54px); line-height: 1.12; letter-spacing: -.035em; }
html[lang="zh-CN"] .hero h1 { font-size: clamp(34px, 3.9vw, 50px); line-height: 1.25; letter-spacing: -.02em; }
.hero-lead { margin: 18px 0 26px; max-width: 560px; color: var(--slate); font-size: 17px; line-height: 1.7; font-weight: 600; text-wrap: pretty; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.address-label { display: block; margin: 0 0 8px 6px; font-size: 14px; font-weight: 800; }
.address-bar { display: flex; align-items: center; gap: 10px; padding: 6px; background: var(--paper); border: 2px solid var(--ink); border-radius: 22px; box-shadow: var(--pop); }
.address-bar textarea { min-width: 0; flex: 1; width: 100%; height: 54px; padding: 12px 8px 12px 50px; resize: none; overflow: hidden; border: 0; border-radius: 14px; color: var(--ink); font-family: var(--font); font-size: clamp(17px, 1.75vw, 22px); font-weight: 800; letter-spacing: -.01em; line-height: 30px; white-space: nowrap; text-overflow: ellipsis; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 24 24' fill='none' stroke='%232f6bff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7 0l3-3a5 5 0 0 0-7-7l-1 1'/%3E%3Cpath d='M14 11a5 5 0 0 0-7 0l-3 3a5 5 0 0 0 7 7l1-1'/%3E%3C/svg%3E") no-repeat 14px center; }
.address-bar textarea:focus-visible { outline-offset: -2px; }
.address-bar textarea { cursor: pointer; }
.copy-button { display: inline-flex; gap: 10px; justify-content: center; align-items: center; flex-shrink: 0; min-width: 128px; padding: 11px 18px; border: 2px solid var(--ink); border-radius: 15px; background: var(--coral); color: var(--ink); font-size: 16px; font-weight: 900; box-shadow: 0 4px 0 var(--ink); transition: transform .12s, box-shadow .12s, background .2s; }
.copy-button:hover { background: #ff9084; transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.copy-button:active { transform: translateY(4px); box-shadow: 0 0 0 var(--ink); }
.copy-button svg { width: 20px; height: 20px; }
.copy-status { margin: 10px 0 0 6px; min-height: 22px; color: var(--slate); font-size: 14px; font-weight: 600; }
.stats { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 0; padding: 0; list-style: none; }
.stats li { padding: 4px 14px; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); font-size: 13px; font-weight: 700; color: var(--slate); }
.stats strong { color: var(--ink); font-size: 16px; font-weight: 900; font-variant-numeric: tabular-nums; }
.stats li:nth-child(1) { background: var(--sky); }
.stats li:nth-child(2) { background: var(--mint); }
.stats li:nth-child(3) { background: var(--peach); }

.hero-art { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 480px; width: 100%; justify-self: center; }
.art-blob { position: absolute; inset: 6%; background: var(--sky); border: 2px solid var(--ink); border-radius: 46% 54% 52% 48% / 52% 44% 56% 48%; box-shadow: 8px 8px 0 var(--ink); animation: blob 9s ease-in-out infinite alternate; }
.hero-art img { position: relative; z-index: 1; width: 92%; height: auto; filter: drop-shadow(0 8px 0 rgba(20, 40, 75, .12)); animation: bob 4.6s ease-in-out infinite; }
.sticker { position: absolute; z-index: 2; padding: 6px 15px; border: 2px solid var(--ink); border-radius: 999px; box-shadow: 3px 3px 0 var(--ink); font-size: 14px; font-weight: 800; white-space: nowrap; animation: pop .6s cubic-bezier(.3, 1.8, .5, 1) both; }
.sticker-1 { top: 8%; right: -2%; background: var(--sun); transform: rotate(6deg); animation-delay: .35s; }
.sticker-2 { bottom: 20%; left: -4%; background: var(--mint); transform: rotate(-6deg); animation-delay: .5s; }
.sticker-3 { bottom: 4%; right: 2%; background: var(--lilac); transform: rotate(3deg); animation-delay: .65s; }
@keyframes bob { 50% { transform: translateY(-12px) rotate(1.2deg); } }
@keyframes blob { to { border-radius: 52% 48% 44% 56% / 46% 56% 44% 54%; transform: rotate(3deg); } }
@keyframes pop { from { opacity: 0; scale: .4; } }

/* Connection steps, right under the index URL */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; list-style: none; padding: 0; margin: 18px 0 0; counter-reset: steps; }
.steps li { position: relative; padding: 14px 16px 16px; counter-increment: steps; background: var(--paper); border: 2px solid var(--ink); border-radius: 20px; box-shadow: 3px 3px 0 var(--ink); }
.steps li:nth-child(1) { background: var(--sky); }
.steps li:nth-child(2) { background: var(--peach); }
.steps li:nth-child(3) { background: var(--mint); }
.steps li::before { content: counter(steps); display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: 8px; border: 2px solid var(--ink); border-radius: 10px; background: var(--paper); font-size: 14px; font-weight: 900; }
.steps h3 { margin: 0 0 2px; font-size: 16px; line-height: 1.4; font-weight: 800; }
.steps p { margin: 0; color: var(--slate); font-size: 13.5px; line-height: 1.55; font-weight: 700; }

/* Directory */
.directory-surface { position: relative; margin-top: 8px; padding-top: 6px; background: var(--paper); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.directory-surface::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 14px; background: radial-gradient(circle at 14px 14px, var(--paper) 13px, transparent 14px) 0 0 / 28px 14px repeat-x; filter: drop-shadow(0 -2px 0 var(--ink)); }
.directory { padding-block: 52px 68px; }
.directory-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
h2 { margin: 0; font-size: clamp(28px, 3.2vw, 38px); letter-spacing: -.03em; line-height: 1.2; font-weight: 900; }
.result-count { margin: 0; padding: 4px 15px; border: 2px solid var(--ink); border-radius: 999px; background: var(--sun); font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; }
.directory .stats { margin: 0 0 12px; }
.stars-note { margin: 0 0 24px; max-width: 800px; color: var(--slate); font-size: 13px; font-weight: 600; }
.filters { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 30px; padding: 16px; background: var(--cream); border: 2px solid var(--ink); border-radius: 24px; }
.filters > .field { min-width: 0; }
.field-label { padding-left: 6px; font-size: 13px; font-weight: 800; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 4px 8px 4px 15px; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); color: var(--ink); font-size: 14px; font-weight: 800; transition: transform .15s cubic-bezier(.3, 1.6, .5, 1), background .15s; }
.chip small { min-width: 26px; padding: 0 7px; border-radius: 999px; background: var(--cream); color: var(--slate); font-size: 12px; font-weight: 800; line-height: 22px; text-align: center; font-variant-numeric: tabular-nums; }
.chip:hover { transform: translateY(-2px) rotate(-1deg); background: var(--sky); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: 2px 2px 0 var(--coral); }
.chip[aria-pressed="true"] small { background: var(--sun); color: var(--ink); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { padding-left: 6px; font-size: 13px; font-weight: 800; }
.field input, .field select { height: 50px; padding: 10px 16px; border: 2px solid var(--ink); border-radius: 16px; color: var(--ink); background-color: white; font-size: 15px; font-weight: 600; }
.field select { appearance: none; padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2314284b' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m3 6 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; }
.field input { padding-left: 46px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%2314284b' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='8.5' cy='8.5' r='5.5'/%3E%3Cpath d='m13 13 4 4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: 16px center; }
.field input::placeholder { color: #70819f; opacity: 1; }
.plugin-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 22px; list-style: none; padding: 0; margin: 0; }
.plugin { --tone: var(--sky); display: flex; min-width: 0; }
.plugin[data-tone="0"] { --tone: var(--sky); }
.plugin[data-tone="1"] { --tone: var(--peach); }
.plugin[data-tone="2"] { --tone: var(--mint); }
.plugin[data-tone="3"] { --tone: var(--lilac); }
.plugin[data-tone="4"] { --tone: #fff0b8; }
.plugin[data-tone="5"] { --tone: #ffd9e8; }
.plugin-main { display: flex; flex-direction: column; width: 100%; min-width: 0; padding: 20px 20px 16px; background: var(--paper); border: 2px solid var(--ink); border-radius: 24px; box-shadow: var(--pop); transition: transform .18s cubic-bezier(.3, 1.5, .5, 1), box-shadow .18s; }
.plugin-main:hover { transform: translate(-2px, -4px); box-shadow: 6px 8px 0 var(--ink); }
.plugin-heading { display: flex; align-items: center; gap: 14px; }
.plugin-heading > div { min-width: 0; }
.plugin-avatar { display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; flex-shrink: 0; overflow: hidden; border: 2px solid var(--ink); border-radius: 18px; background: var(--tone); color: var(--ink); font-size: 24px; font-weight: 900; transform: rotate(-4deg); }
.plugin-avatar img { display: block; width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.plugin-title { margin: 0; font-size: 19px; letter-spacing: -.02em; line-height: 1.3; font-weight: 800; overflow-wrap: anywhere; }
.package-name { margin: 2px 0 0; font-size: 12px; font-family: var(--mono); font-weight: 600; color: var(--slate); overflow-wrap: anywhere; }
.package-name.is-title { margin: 0; color: var(--ink); font-size: 17px; font-weight: 800; line-height: 1.35; font-family: var(--font); }
.plugin-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; }
.plugin-tag, .publisher-badge, .signal-badge { padding: 1px 11px; border: 2px solid var(--ink); border-radius: 999px; background: var(--tone); color: var(--ink); font-size: 12px; font-weight: 800; line-height: 1.7; }
.publisher-badge { background: var(--sun); }
.signal-badge[data-signal="verified"] { background: var(--sky); }
.signal-badge[data-signal="trending"] { background: var(--peach); }
.signal-badge[data-signal="active"] { background: var(--lilac); }
.plugin-description { flex: 1; margin: 12px 0 14px; color: var(--slate); font-size: 15px; font-weight: 600; line-height: 1.6; overflow-wrap: anywhere; }
.plugin-detail { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 12px; }
.github-stars, .npm-downloads, .plugin-detail time { display: inline-flex; align-items: center; gap: 5px; min-height: 0; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; line-height: 20px; font-variant-numeric: tabular-nums; text-decoration: none; }
.github-stars { background: #fff0b8; color: #6b4a00; }
.npm-downloads { background: var(--mint); color: #0d5a38; }
.plugin-detail time { background: var(--lilac); color: #4a3a85; }
.github-stars:hover, .npm-downloads:hover { text-decoration: underline; color: inherit; }
.github-stars svg { width: 14px; height: 14px; fill: currentColor; }
.stars-group { display: inline-flex; flex-direction: column; }
.stars-label { display: none; }
.stars-unavailable { color: var(--slate); font-size: 11px; font-weight: 600; }
.plugin-foot { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 2px dashed var(--soft-line); }
.plugin-links { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; font-weight: 800; }
.plugin-links a { text-decoration-thickness: 2px; }
.plugin-facts { max-width: 60%; color: var(--slate); font-size: 12px; font-weight: 700; text-align: right; }
.plugin-facts summary { margin-left: auto; width: fit-content; cursor: pointer; padding: 0 4px; border-radius: 8px; }
.plugin-facts summary:hover { background: var(--sky); color: var(--ink); }
.plugin-facts p { margin: 6px 0 0; overflow-wrap: anywhere; }
.version { color: var(--ink); font-weight: 800; }
.empty { padding: 48px 24px; text-align: center; border: 2px dashed var(--ink); border-radius: 26px; background: var(--cream); }
.empty h3 { margin: 0 0 7px; font-size: 22px; font-weight: 900; }
.empty p { margin: 0 0 18px; color: var(--slate); font-weight: 600; }
.text-button { min-height: 46px; padding: 9px 20px; color: var(--ink); background: var(--sun); border: 2px solid var(--ink); border-radius: 15px; box-shadow: 0 3px 0 var(--ink); font-weight: 800; }
.text-button:active { transform: translateY(3px); box-shadow: none; }
.no-js { color: var(--slate); font-size: 14px; font-weight: 600; }
.more { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 36px; }
.more-progress { margin: 0; color: var(--slate); font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.more-bar { width: min(260px, 70%); height: 12px; overflow: hidden; border: 2px solid var(--ink); border-radius: 999px; background: var(--cream); }
.more-bar i { display: block; height: 100%; width: 0; background: var(--blue); border-right: 2px solid var(--ink); transition: width .4s ease; }
.more-button { min-height: 54px; padding: 10px 34px; border: 2px solid var(--ink); border-radius: 18px; background: var(--sun); color: var(--ink); font-size: 16px; font-weight: 900; box-shadow: 0 4px 0 var(--ink); transition: transform .12s, box-shadow .12s; }
.more-button:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.more-button:active { transform: translateY(4px); box-shadow: 0 0 0 var(--ink); }
.more-sentinel { height: 1px; width: 100%; }

/* Contribute + footer */
.contribute { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px; margin-block: 64px 48px; padding: 36px 40px; background: var(--ink); color: #fff; border: 2px solid var(--ink); border-radius: 32px; box-shadow: 8px 8px 0 var(--coral); }
.contribute h2 { margin-bottom: 6px; font-size: clamp(24px, 2.6vw, 32px); }
.contribute p { margin: 0; color: #c9d6ee; font-size: 16px; font-weight: 600; }
.contribute-links { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 800; }
.contribute-links a { color: #fff; }
.contribute-links a:hover { color: var(--sun); }
.submit-link { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 10px 24px; border: 2px solid var(--ink); border-radius: 16px; background: var(--sun); color: var(--ink) !important; text-decoration: none; font-weight: 900; box-shadow: 0 4px 0 #b88a00; transition: transform .12s, box-shadow .12s; }
.submit-link:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #b88a00; }
.footer { padding: 0 0 40px; color: var(--slate); font-size: 13px; font-weight: 600; }
.footer-top { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.footer p { margin: 0 0 8px; }
.footer .scope { max-width: 800px; }
.footer a { color: var(--slate); }
.footer a:hover { color: var(--coral); }

/* Responsive */
@media (max-width: 1000px) {
  .shell { width: calc(100% - 48px); }
  .hero { grid-template-columns: 1fr; gap: 28px; padding-top: 24px; }
  .hero-art { max-width: 220px; order: -1; justify-self: start; margin-left: 0; }
  .steps { grid-template-columns: 1fr; gap: 10px; }
  .steps li { display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; align-items: start; padding: 12px 14px; }
  .steps li::before { margin: 0; }
  .contribute { grid-template-columns: 1fr; gap: 22px; padding: 28px; }
}
@media (max-width: 620px) {
  .shell { width: calc(100% - 32px); }
  .site-header { min-height: 78px; gap: 10px; }
  .brand { font-size: 16px; gap: 8px; }
  .brand img { width: 44px; height: 44px; border-radius: 14px; }
  .header-links { gap: 0; padding: 4px; }
  .header-links > a { display: none; }
  .hero-art { max-width: 170px; margin-left: 0; justify-self: center; }
  .sticker { font-size: 12px; padding: 3px 11px; }
  h1, .hero h1 { font-size: clamp(32px, 9vw, 42px); }
  html[lang="zh-CN"] h1, html[lang="zh-CN"] .hero h1 { font-size: clamp(30px, 8.6vw, 40px); }
  .hero-lead { font-size: 16px; margin: 14px 0 20px; }
  .address-bar { flex-direction: column; align-items: stretch; gap: 4px; padding: 6px; border-radius: 20px; }
  .address-bar textarea { height: 50px; padding: 12px 8px 12px 46px; font-size: 16px; line-height: 23px; letter-spacing: -.01em; white-space: normal; overflow-wrap: anywhere; background-position: 12px center; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: -4px; padding: 2px 4px 8px; scrollbar-width: thin; }
  .chip { flex-shrink: 0; white-space: nowrap; }
  .copy-button { min-height: 50px; }
  .copy-status { min-height: 20px; font-size: 13px; }
  .directory { padding: 40px 0 48px; }
  .directory-heading { flex-direction: column; align-items: flex-start; gap: 10px; }
  .filters { grid-template-columns: 1fr; gap: 12px; padding: 12px; }
  .plugin-list { grid-template-columns: 1fr; gap: 18px; }
  .plugin-foot { flex-direction: column; gap: 8px; }
  .plugin-facts { max-width: none; text-align: left; }
  .plugin-facts summary { margin-left: 0; }
  .contribute { margin-block: 48px 36px; padding: 24px 20px; border-radius: 26px; box-shadow: 5px 5px 0 var(--coral); }
  .contribute-links { flex-wrap: wrap; gap: 16px; }
  .footer-top { flex-direction: column; gap: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
/* A small nudge toward the directory, shown only before the visitor scrolls. */
.scroll-hint { position: fixed; left: 50%; bottom: 22px; z-index: 5; display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); box-shadow: 3px 3px 0 var(--ink); color: var(--ink); font-size: 14px; font-weight: 800; text-decoration: none; transform: translateX(-50%); transition: opacity .3s, transform .3s; animation: nudge 1.8s ease-in-out infinite; }
.scroll-hint svg { width: 18px; height: 18px; }
.scroll-hint.is-hidden { opacity: 0; pointer-events: none; transform: translate(-50%, 12px); animation: none; }
@keyframes nudge { 0%, 100% { translate: 0 0; } 50% { translate: 0 5px; } }
@media (prefers-reduced-motion: reduce) { .scroll-hint { animation: none; } }
/* Narrow screens scroll naturally, and a fixed chip would cover the steps. */
@media (max-width: 1000px) { .scroll-hint { display: none; } }
