/*
 * PokePad. The visual language of the Pokédex pages: a striped grey ground, one white square-edged column, a charcoal
 * search band with a green callout, 5px-radius buttons in blue / orange / green, grey tile figures with a number and
 * type pills, a blue attribute panel. No logos, artwork or trademarked letterforms are copied; a card is drawn as a
 * slab (and, when the operator allows it, shown by the photograph its own NFT carries).
 * One committed light world; every colour is painted explicitly.
 */
:root {
  --ground-a: #eeeeee; --ground-b: #f7f7f7; --paper: #ffffff; --tile: #f2f2f2;
  --ink: #212121; --ink-2: #313131; --grey-dk: #616161; --grey: #919191; --grey-lt: #a4a4a4; --rule: #e0e0e0;
  --blue: #30a7d7; --blue-dk: #1b82b1; --orange: #ee6b2f; --orange-dk: #da471b; --green: #4dad5b; --green-dk: #3a8f47;
  --red: #e3350d; --yellow: #ffcb05; --navy: #2a75bb;
  --t-electric: #eed535; --t-fire: #fd7d24; --t-water: #4592c4; --t-grass: #9bcc50; --t-psychic: #f366b9; --t-ghost: #7b62a3;
  --t-normal: #a4acaf; --t-dark: #707070; --t-dragon: #53a4cf; --t-fighting: #d56723; --t-ice: #51c4e7; --t-fairy: #fdb9e9;
  color-scheme: light;
}
html { box-sizing: border-box; scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: inherit; }
body {
  margin: 0; color: var(--ink); font-family: Figtree, "Trebuchet MS", Arial, sans-serif; font-size: 15px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; background-color: var(--ground-b);
  background-image: repeating-linear-gradient(-45deg, var(--ground-a) 0 46px, var(--ground-b) 46px 92px); background-attachment: fixed;
}
img { max-width: 100%; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--blue-dk); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.mono { font-family: "Roboto Mono", ui-monospace, Menlo, monospace; font-variant-numeric: tabular-nums; font-size: .92em; overflow-wrap: anywhere; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--grey-dk); }
.small { font-size: 12.5px; }

/* header */
.util { background: var(--paper); border-bottom: 1px solid var(--rule); }
.util-in { max-width: 1280px; margin: 0 auto; padding: 7px 16px; display: flex; align-items: center; gap: 18px; font-size: 12px; font-weight: 600; color: var(--ink-2); flex-wrap: wrap; }
.util-in .sep { width: 1px; height: 16px; background: var(--rule); }
.util-in .spacer { margin-left: auto; }
.livedot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--grey-lt); margin-right: 6px; vertical-align: 1px; }
.livedot.ok { background: var(--green); } .livedot.warn { background: var(--orange); }
.walletpill { display: inline-flex; align-items: center; gap: 6px; border: 0; background: var(--tile); border-radius: 100px; padding: 5px 13px; font-size: 12px; font-weight: 700; cursor: pointer; }
.walletpill:hover { background: #e6e6e6; }
.walletpill.on { background: var(--green); color: #fff; }
header.nav { background: var(--paper); box-shadow: 0 2px 6px rgba(0,0,0,.08); position: sticky; top: 0; z-index: 30; }
.nav-in { max-width: 1280px; margin: 0 auto; padding: 0 16px; display: flex; align-items: center; gap: 22px; }
.wordmark { font-family: "Lilita One", Figtree, sans-serif; font-size: 30px; line-height: 1; letter-spacing: .5px; color: var(--yellow); -webkit-text-stroke: 5px var(--navy); paint-order: stroke fill; padding: 9px 0 11px; flex: none; text-decoration: none; transform: rotate(-2deg); }
.tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.tab { position: relative; padding: 22px 12px 24px; font-size: 14px; font-weight: 600; color: var(--ink-2); white-space: nowrap; text-decoration: none; }
.tab:hover, .tab.on { color: var(--red); }
.tab.on::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--red); box-shadow: inset 0 -6px 0 rgba(0,0,0,.14); }

/* column */
.column { max-width: 1024px; margin: 0 auto; background: var(--paper); min-height: 62vh; padding-bottom: 30px; }
.pagetitle { font-size: 30px; font-weight: 400; color: var(--grey); margin: 0; padding: 22px 24px 14px; line-height: 1.2; }
.lead { font-size: 17px; line-height: 1.5; max-width: 68ch; margin: 0 24px 18px; }
.sub2 { font-size: 20px; font-weight: 500; color: var(--ink-2); margin: 26px 24px 10px; }
.note { margin: 0 24px 16px; font-size: 13.5px; color: var(--ink); background: var(--tile); border-radius: 5px; padding: 10px 13px; }
.note.warn { background: #fff4d6; } .note.bad { background: #fde3dc; } .note.good { background: #e3f4e6; }
.note.inline { margin: 10px 0 0; }

/* buttons */
.btn { border: 0; border-radius: 5px; padding: 11px 20px; font-size: 16px; font-weight: 700; cursor: pointer; color: #fff; background: var(--grey-lt); line-height: 1.2; transition: background .12s; text-decoration: none; display: inline-block; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.blue { background: var(--blue); } .btn.blue:hover:not(:disabled) { background: var(--blue-dk); }
.btn.orange { background: var(--orange); } .btn.orange:hover:not(:disabled) { background: var(--orange-dk); }
.btn.green { background: var(--green); } .btn.green:hover:not(:disabled) { background: var(--green-dk); }
.btn.dark { background: var(--grey-dk); } .btn.dark:hover:not(:disabled) { background: var(--ink-2); }
.btn.wide { width: 100%; padding-block: 14px; }
.btn.sm { font-size: 13px; padding: 7px 12px; }

/* search band */
.band { background: var(--ink-2); color: #fff; padding: 22px 24px 26px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 32px; align-items: center; }
.band h2 { font-size: 24px; font-weight: 500; margin: 0 0 10px; }
.searchrow { display: flex; gap: 12px; }
.searchrow input { flex: 1; min-width: 0; border: 3px solid #fff; border-radius: 5px; padding: 8px 12px; font-size: 17px; background: #fff; color: var(--ink); }
.searchrow .btn { padding: 0 14px; display: grid; place-items: center; }
.band .hint { font-size: 13px; font-weight: 600; margin: 9px 0 0; }
.greenbox { background: var(--green); border-radius: 5px; padding: 18px 20px; font-size: 18px; line-height: 1.4; font-weight: 500; }
.greenbox strong { font-weight: 800; }

/* pills + picks */
.pill { display: inline-block; border-radius: 5px; padding: 2px 10px; text-align: center; font-size: 12.5px; font-weight: 600; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.pills { display: flex; flex-wrap: wrap; gap: 5px; }
.pill.stage-bond { background: var(--blue); color: #fff; } .pill.stage-grad { background: var(--ink-2); color: #fff; }
.pill.grade { background: var(--tile); color: var(--ink); box-shadow: inset 0 0 0 1px #d0d0d0; }
.pickgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 7px; }
.pick { border: 0; border-radius: 5px; padding: 8px 6px; font-size: 13.5px; font-weight: 700; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 1px; line-height: 1.15; opacity: .78; transition: opacity .12s, transform .06s; }
.pick small { font-size: 10.5px; font-weight: 600; opacity: .9; letter-spacing: .02em; }
.pick:hover { opacity: 1; }
.pick[aria-pressed="true"] { opacity: 1; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--ink-2); }
.gradechips { display: flex; flex-wrap: wrap; gap: 7px; }
.gchip { border: 2px solid var(--rule); background: #fff; color: var(--ink); border-radius: 5px; padding: 7px 12px; font-size: 14px; font-weight: 700; cursor: pointer; text-align: left; line-height: 1.2; }
.gchip small { display: block; font-size: 11px; font-weight: 600; color: var(--grey-dk); }
.gchip[aria-pressed="true"] { border-color: var(--blue); background: #e8f5fb; }

/* figures strip */
.figures { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); margin: 22px 24px 0; background: var(--tile); border-radius: 5px; }
.figures > div { padding: 12px 16px; }
.figures > div + div { box-shadow: inset 1px 0 0 #fff; }
.figures b { display: block; font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.2; }
.figures span { font-size: 12.5px; color: var(--grey-dk); font-weight: 500; }

/* coin grid */
.toolbar { display: flex; align-items: center; gap: 16px; padding: 22px 24px 6px; flex-wrap: wrap; }
.toolbar .spacer { margin-left: auto; }
.sortlab { font-size: 18px; color: var(--grey); display: inline-flex; align-items: center; gap: 12px; }
.sortlab select { background: var(--ink-2); color: #fff; border: 0; border-radius: 5px; padding: 9px 36px 9px 14px; font-size: 14px; font-weight: 600; appearance: none; background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; cursor: pointer; }
.resultline { padding: 4px 24px 0; font-size: 13px; color: var(--grey-dk); min-height: 20px; }
.dex { list-style: none; margin: 0; padding: 12px 24px 8px; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px 18px; }
.dexbtn { display: block; width: 100%; border-radius: 5px; text-decoration: none; color: inherit; }
.dexbtn figure { margin: 0; background: var(--tile); border-radius: 5px; padding: 14px 18px; display: grid; place-items: center; transition: transform .15s; }
.dexbtn:hover figure { transform: translateY(-3px); }
.dexinfo { padding: 8px 2px 0; }
.dexno { font-size: 12.8px; font-weight: 700; color: var(--grey); }
.dexname { font-size: 22px; font-weight: 600; margin: 0 0 6px; line-height: 1.2; color: var(--ink); overflow-wrap: anywhere; }
.dexsub { font-size: 12.5px; color: var(--grey-dk); margin-top: 6px; font-variant-numeric: tabular-nums; }
.empty { grid-column: 1 / -1; background: var(--tile); border-radius: 5px; padding: 26px; text-align: center; color: var(--grey-dk); font-weight: 600; }

/* a graded slab, drawn: label strip on top, a window below painted in the type colour (or showing the card's own photo) */
.slab { width: 100%; max-width: 150px; aspect-ratio: 5 / 7.4; background: linear-gradient(160deg, #fdfdfd, #e2e5e8); border-radius: 7px; padding: 6px; box-shadow: 0 1px 0 #fff inset, 0 0 0 1px #cfd3d6, 0 6px 14px -8px rgba(0,0,0,.35); display: flex; flex-direction: column; gap: 5px; }
.slab .lab { background: #fff; border-radius: 3px; box-shadow: 0 0 0 1px #d8d8d8; padding: 4px 6px; display: flex; justify-content: space-between; align-items: center; gap: 4px; font-size: 9.5px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; color: var(--ink-2); line-height: 1.1; }
.slab .lab span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slab .lab b { flex: none; font-size: 13px; font-weight: 900; color: var(--red); }
.slab .win { flex: 1; border-radius: 4px; position: relative; overflow: hidden; display: grid; place-items: center; text-align: center; padding: 6px; box-shadow: inset 0 0 0 3px rgba(255,255,255,.55); min-height: 0; }
.slab .win::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(255,255,255,.14) 0 8px, transparent 8px 16px); }
.slab .win::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.45) 46%, transparent 60%); pointer-events: none; }
.slab .win strong { position: relative; z-index: 1; font-size: 19px; font-weight: 900; line-height: 1; letter-spacing: -.01em; overflow-wrap: anywhere; }
.slab .win em { position: relative; z-index: 1; display: block; font-style: normal; font-size: 10px; font-weight: 700; margin-top: 4px; opacity: .85; }
.slab .win img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
/* a coin's own picture fills the window; what it collects sits on a band across the bottom */
.slab .win.has-img { padding: 0; background: #d9dcdf; }
.slab .win.has-img::before { display: none; }
.slab .win.has-img::after { z-index: 3; }
.slab .win.has-img .cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; background: rgba(20,20,20,.62); color: #fff; padding: 4px 4px 5px; line-height: 1.1; }
.slab .win.has-img .cap strong { display: block; font-size: 12.5px; font-weight: 800; letter-spacing: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slab .win.has-img .cap em { margin-top: 1px; font-size: 9.5px; opacity: .9; }
.slab.big { max-width: 210px; }
.slab.big .win.has-img .cap strong { font-size: 15px; } .slab.big .win.has-img .cap em { font-size: 11px; }

/* one coin */
.entrytitle { text-align: center; padding: 18px 16px 6px; }
.entrytitle h2 { margin: 0; font-size: 34px; font-weight: 500; line-height: 1.15; overflow-wrap: anywhere; }
.entrytitle h2 span { color: var(--grey-dk); font-weight: 400; }
.entrygrid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 24px; padding: 18px 24px 8px; align-items: start; }
.blurb { font-size: 17px; line-height: 1.5; margin: 0 0 14px; }
.infopanel { background: var(--blue); border-radius: 10px; padding: 16px 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
.infopanel .k { display: block; color: #fff; font-size: 15px; font-weight: 500; }
.infopanel .v { display: block; color: var(--ink); font-size: 19px; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.25; overflow-wrap: anywhere; }
.attrhead { font-size: 18px; font-weight: 500; margin: 16px 0 8px; color: var(--ink-2); }
.panel { background: var(--tile); border-radius: 10px; padding: 16px 18px; }
.panel h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; }
.panel + .panel { margin-top: 16px; }
.bignum { font-size: 38px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.1; }
.stream { height: 12px; background: #fff; border-radius: 6px; overflow: hidden; margin: 10px 0 5px; }
.stream i { display: block; height: 100%; background: var(--green); max-width: 100%; }
.streamcap { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; color: var(--grey-dk); font-weight: 600; }
.kv > div { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid #e6e6e6; font-size: 14px; }
.kv > div:last-child { border-bottom: 0; }
.kv .k { color: var(--grey-dk); flex: none; }
.kv .v { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; overflow-wrap: anywhere; min-width: 0; }
.feebar { display: flex; height: 12px; border-radius: 6px; overflow: hidden; margin: 8px 0 6px; }
.feebar i { display: block; }
.swatch { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 7px; vertical-align: -1px; }
.chain { margin: 22px 24px 0; background: var(--grey-dk); border-radius: 10px; padding: 16px 20px 22px; color: #fff; }
.chain h3 { margin: 0 0 14px; font-size: 18px; font-weight: 600; }
.chain ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.chain li { position: relative; text-align: center; }
.chain li + li::before { content: "\203A"; position: absolute; left: -12px; top: 30px; font-size: 36px; line-height: 1; color: #fff; opacity: .8; }
.orb { width: 84px; height: 84px; margin: 0 auto; border-radius: 50%; background: var(--tile); border: 5px solid #fff; box-shadow: 0 4px 5px rgba(0,0,0,.35); display: grid; place-items: center; color: var(--ink); font-size: 15px; font-weight: 800; }
.chain .cn { display: block; font-size: 15px; font-weight: 600; margin-top: 9px; }
.chain .cd { display: block; font-size: 12.5px; color: #e6e6e6; margin: 3px auto 0; max-width: 26ch; }

/* tables */
.tablewrap { margin: 0 24px; overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th { background: var(--ink-2); color: #fff; font-weight: 600; text-align: left; padding: 9px 12px; white-space: nowrap; font-size: 13px; }
th:first-child { border-radius: 5px 0 0 0; } th:last-child { border-radius: 0 5px 0 0; }
td { padding: 9px 12px; border-bottom: 1px solid var(--rule); vertical-align: middle; }
tbody tr:nth-child(even) td { background: #fafafa; }
td.n, th.n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
tr.next td { background: #fff8dc !important; font-weight: 600; }

/* binder of cards */
.binder { list-style: none; margin: 0; padding: 0 24px; display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 22px 16px; }
.binder li { min-width: 0; }
.binder figure { margin: 0; background: var(--tile); border-radius: 5px; padding: 12px; display: grid; place-items: center; }
.binder .cap { padding: 7px 2px 0; font-size: 12.5px; line-height: 1.35; }
.binder .cap b { display: block; font-size: 13.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* forms */
.two { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 20px; margin: 0 24px; align-items: start; }
.launchform { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field > label, .fieldlabel { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.inputrow { display: flex; align-items: center; background: #fff; border: 2px solid #d6d6d6; border-radius: 5px; }
.inputrow:focus-within { border-color: var(--blue); }
.inputrow input, .inputrow textarea { flex: 1; min-width: 0; border: 0; background: transparent; padding: 9px 11px; font-size: 16px; font-weight: 600; resize: vertical; }
.inputrow input:focus, .inputrow textarea:focus { outline: none; }
.inputrow .unit { padding-right: 11px; font-size: 13px; font-weight: 700; color: var(--grey); flex: none; }
select.unit { border: 0; border-left: 2px solid #e6e6e6; background: #f4f4f4; padding: 9px 8px 9px 10px; align-self: stretch; border-radius: 0 3px 3px 0; color: #313131; cursor: pointer; font-family: inherit; }
select.unit:focus { outline: none; background: #e9f4fb; }
.row2 { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 14px; }
.pickhead { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pickhead small { font-size: 12.5px; color: var(--grey-dk); }
.fixedrow { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 14px; background: var(--tile); border-radius: 5px; padding: 12px 14px; }
.fixedrow span { display: block; font-size: 12px; font-weight: 600; color: var(--grey-dk); }
.fixedrow b { display: block; font-size: 21px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.3; }
.fixedrow small { font-size: 11.5px; color: var(--grey); }
.locknote { background: #fff4d6; border-radius: 5px; padding: 10px 12px; font-size: 13.5px; }
.preview { position: sticky; top: 84px; }
.err { color: var(--red); font-size: 13px; font-weight: 600; min-height: 18px; }
.darkbox { margin: 0 24px; background: var(--ink-2); color: #fff; border-radius: 5px; padding: 16px 18px; font-size: 14.5px; line-height: 1.55; }
.darkbox strong { color: var(--yellow); font-weight: 700; }
.prose { margin: 0 24px; max-width: 72ch; }
.prose h3 { font-size: 19px; font-weight: 600; margin: 24px 0 6px; color: var(--ink-2); }
.prose li { margin: 5px 0; }

/* setup */
.checks { list-style: none; margin: 0 24px; padding: 0; }
.checks li { display: grid; grid-template-columns: 26px minmax(0,1fr); gap: 4px 8px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.checks .mark { font-weight: 900; font-size: 16px; }
.checks .ok .mark { color: var(--green-dk); } .checks .bad .mark { color: var(--red); }
.checks .fix { grid-column: 2; font-size: 13px; background: #fde3dc; border-radius: 5px; padding: 7px 10px; }
.checks .detail { grid-column: 2; font-size: 12.5px; color: var(--grey-dk); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 24px; align-items: center; }
pre.out { margin: 0 24px 12px; background: var(--ink-2); color: #e8e8e8; border-radius: 5px; padding: 12px; font-size: 12px; overflow-x: auto; max-height: 360px; font-family: "Roboto Mono", ui-monospace, monospace; }

footer.foot { max-width: 1024px; margin: 0 auto; background: var(--ink-2); color: #d6d6d6; padding: 22px 24px 26px; font-size: 13px; display: flex; flex-direction: column; gap: 6px; }
footer.foot strong { color: #fff; }
footer.foot code { font-family: "Roboto Mono", monospace; font-size: 12px; color: #fff; overflow-wrap: anywhere; }
.toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); background: var(--ink-2); color: #fff; font-weight: 700; font-size: 14px; padding: 11px 20px; border-radius: 5px; box-shadow: 0 6px 18px rgba(0,0,0,.3); z-index: 60; max-width: calc(100% - 32px); }

@media (prefers-reduced-motion: reduce) { .dexbtn figure, .pick { transition: none; } html { scroll-behavior: auto; } }
@media (max-width: 900px) {
  .band, .entrygrid, .two { grid-template-columns: minmax(0,1fr); }
  .dex { grid-template-columns: repeat(3, minmax(0,1fr)); } .binder { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .preview { position: static; }
}
@media (max-width: 640px) {
  .band, .entrygrid, .toolbar { padding-inline: 16px; }
  .pagetitle { padding-inline: 16px; font-size: 26px; }
  .note, .figures, .lead, .sub2, .darkbox, .tablewrap, .two, .chain, .prose, .checks, .actions, pre.out { margin-inline: 16px; }
  .dex, .binder { padding-inline: 16px; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px 12px; }
  .figures { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .figures > div:nth-child(3) { box-shadow: inset 0 1px 0 #fff; } .figures > div:nth-child(4) { box-shadow: inset 1px 0 0 #fff, inset 0 1px 0 #fff; }
  .dexname { font-size: 18px; }
  .wordmark { font-size: 24px; -webkit-text-stroke-width: 4px; }
  .nav-in { gap: 8px; } .tab { padding-inline: 9px; font-size: 13px; }
  .entrytitle h2 { font-size: 26px; }
  .infopanel { padding: 14px; }
  .chain ol { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .chain li + li::before { content: "\2304"; left: 50%; top: -24px; transform: translateX(-50%); font-size: 26px; }
  .row2 { grid-template-columns: minmax(0,1fr); }
  .greenbox { font-size: 16px; }
}
