/* kids — paper and one black marker. The faces are black lines on white; dark mode inverts them. */
:root {
  color-scheme: light;
  --paper: #fdfcf8; --card: #ffffff; --soft: #f3f1ea; --line: #e4e0d4; --ink: #111111; --ink-2: #3a3a3a; --muted: #6f6b63; --faint: #a8a39a;
  --accent: #1f6feb; --up: #1a8a4f; --down: #c62b3f; --good-bg: #dff5e8; --good-fg: #146b3c; --bad-bg: #ffe1e5; --bad-fg: #a3202f; --new-bg: #e8e3ff; --new-fg: #4a3a9c; --mid-bg: #fff2c4; --mid-fg: #7a5a00; --neutral-bg: #efece4; --neutral-fg: #3a3a3a;
  --hand: "Gaegu", "Comic Neue", cursive; --sans: "Inter", system-ui, sans-serif; --mono: ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wobble: 255px 15px 225px 15px / 15px 225px 15px 255px;
  --face-filter: none;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { color-scheme: dark; --paper: #15141a; --card: #1e1d24; --soft: #26252d; --line: #33323b; --ink: #f1efe8; --ink-2: #cfccc4; --muted: #9b978f; --faint: #6c6963; --accent: #7fb0ff; --up: #3ec27a; --down: #ff6b7d; --good-bg: #173c2b; --good-fg: #9be8bf; --bad-bg: #44202a; --bad-fg: #ffa3b0; --new-bg: #2d2650; --new-fg: #cdbeff; --mid-bg: #3a3118; --mid-fg: #f5d27a; --neutral-bg: #2a2931; --neutral-fg: #cfccc4; --face-filter: invert(1); } }
:root[data-theme="dark"] { color-scheme: dark; --paper: #15141a; --card: #1e1d24; --soft: #26252d; --line: #33323b; --ink: #f1efe8; --ink-2: #cfccc4; --muted: #9b978f; --faint: #6c6963; --accent: #7fb0ff; --up: #3ec27a; --down: #ff6b7d; --good-bg: #173c2b; --good-fg: #9be8bf; --bad-bg: #44202a; --bad-fg: #ffa3b0; --new-bg: #2d2650; --new-fg: #cdbeff; --mid-bg: #3a3118; --mid-fg: #f5d27a; --neutral-bg: #2a2931; --neutral-fg: #cfccc4; --face-filter: invert(1); }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 14px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
h1 { font-family: var(--hand); font-size: 40px; line-height: 1.05; font-weight: 700; }
h2 { font-family: var(--hand); font-size: 28px; margin: 24px 0 10px; font-weight: 700; }
h3 { font-family: var(--hand); font-size: 22px; margin: 18px 0 8px; }
h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 14px 0 6px; }
code { font-family: var(--mono); font-size: 12px; background: var(--soft); padding: 1px 5px; }
q { quotes: "“" "”"; font-family: var(--hand); font-size: 17px; }
.num { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); font-size: 12px; }
.muted { color: var(--muted); } .small { font-size: 12px; } .up { color: var(--up); } .down { color: var(--down); }
.face svg { display: block; filter: var(--face-filter); }
.face { display: inline-block; line-height: 0; }
img { max-width: 100%; }

/* ---- header */
.hdr { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(8px); border-bottom: 2px solid var(--ink); }
.hdr .in { max-width: 1180px; margin: 0 auto; padding: 0 16px; height: 58px; display: flex; align-items: center; gap: 18px; }
.logo { display: flex; align-items: center; gap: 8px; font-family: var(--hand); font-size: 28px; font-weight: 700; }
.logo img { filter: var(--face-filter); }
.nav { display: flex; gap: 2px; flex-wrap: wrap; }
.nav a { padding: 6px 10px; font-weight: 500; color: var(--ink-2); border-bottom: 2px solid transparent; }
.nav a.on { color: var(--ink); border-bottom-color: var(--ink); }
.nav a:hover { text-decoration: none; background: var(--soft); }
.hdr-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.hdr-stats { white-space: nowrap; }
@media (max-width: 900px) { .hdr .in { height: auto; padding: 8px 16px; flex-wrap: wrap; gap: 8px; } .hdr-stats { display: none; } .nav a { padding: 4px 8px; } }

.main { max-width: 1180px; margin: 0 auto; padding: 20px 16px 60px; }
.ftr { max-width: 1180px; margin: 0 auto; padding: 12px 16px 40px; border-top: 1px dashed var(--line); }

/* ---- buttons, chips, tiles */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; background: var(--ink); color: var(--paper); border: 2px solid var(--ink); border-radius: var(--wobble); font-weight: 600; cursor: pointer; font-family: var(--hand); font-size: 18px; line-height: 1; }
.btn:hover { text-decoration: none; transform: rotate(-1deg); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.small { padding: 4px 9px; font-size: 14px; font-family: var(--sans); font-weight: 600; }
.chip { display: inline-flex; align-items: center; height: 19px; padding: 0 7px; font-size: 11px; font-weight: 600; white-space: nowrap; border-radius: 10px; }
.chip.good { background: var(--good-bg); color: var(--good-fg); } .chip.bad { background: var(--bad-bg); color: var(--bad-fg); } .chip.new { background: var(--new-bg); color: var(--new-fg); } .chip.mid { background: var(--mid-bg); color: var(--mid-fg); } .chip.neutral { background: var(--neutral-bg); color: var(--neutral-fg); }
.chip.stage { background: var(--soft); color: var(--ink-2); border: 1px solid var(--line); }
.chip.s-newborn { background: #ffe9f1; color: #8a2a52; } .chip.s-teen { background: var(--new-bg); color: var(--new-fg); } .chip.s-adult { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip .x { margin-left: 6px; }
[data-tip] { cursor: help; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin: 18px 0; }
.tiles.four { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); margin: 14px 0; }
.tile { background: var(--card); border: 2px solid var(--ink); border-radius: var(--wobble); padding: 10px 14px; min-width: 0; }
.tile .k { font-size: 12px; color: var(--muted); } .tile .v { font-size: 22px; font-weight: 700; font-family: var(--hand); line-height: 1.1; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .tile .s { font-size: 12px; color: var(--muted); margin-top: 2px; }
.tip { position: fixed; z-index: 100; max-width: 320px; padding: 8px 10px; background: var(--ink); color: var(--paper); font-size: 12px; line-height: 1.45; pointer-events: none; white-space: pre-line; border-radius: 6px; }
.toasts { position: fixed; right: 16px; bottom: 16px; z-index: 110; display: flex; flex-direction: column; gap: 8px; }
.toast { background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: var(--wobble); font-family: var(--hand); font-size: 17px; max-width: 360px; }
.toast.bad { background: var(--down); }
.empty { padding: 30px; text-align: center; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.empty img { filter: var(--face-filter); }
.loading { padding: 40px; text-align: center; }

/* ---- the front page */
.hero { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; align-items: start; margin: 10px 0 20px; }
@media (max-width: 820px) { .hero { grid-template-columns: 1fr; } }
.ritual { position: relative; height: 340px; background: var(--card); border: 2px solid var(--ink); border-radius: var(--wobble); overflow: hidden; touch-action: none; user-select: none; }
.ritual img { filter: var(--face-filter); }
.ritual .egg { position: absolute; width: 170px; height: 170px; left: 60%; top: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.ritual .swimmer { position: absolute; width: 150px; height: 150px; left: 6%; top: 30%; cursor: grab; }
.ritual .swimmer img { width: 100%; height: 100%; animation: float 2s ease-in-out infinite, wiggle .4s ease-in-out 3; pointer-events: none; }
.ritual .swimmer.dragging { cursor: grabbing; } .ritual .swimmer.dragging img { animation: none; }
.ritual .swimmer.in img { animation: wiggle .2s ease-in-out 6; }
.ritual .banner { position: absolute; left: 58%; top: 14%; font-family: var(--hand); font-size: 44px; font-weight: 700; transform: rotate(-10deg); animation: bounce 1.2s infinite; z-index: 2; pointer-events: none; }
.ritual-hint { position: absolute; left: 12px; bottom: 8px; font-family: var(--hand); font-size: 16px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(3deg); } 75% { transform: rotate(-3deg); } }
@keyframes bounce { 0%, 100% { transform: rotate(-10deg) translateY(0); } 50% { transform: rotate(-10deg) translateY(-15px); } }
.hero-text h1 { font-size: 46px; margin-bottom: 12px; } .hero-text p { margin: 8px 0; font-size: 15px; color: var(--ink-2); }
.hero-cta { display: flex; gap: 10px; align-items: center; margin-top: 14px; flex-wrap: wrap; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; }
.two { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 900px) { .two { grid-template-columns: 1fr; } }
.addr { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 8px 0; }
.addr code { font-size: 12px; overflow-wrap: anywhere; text-align: left; }

/* ---- the walls */
.page-head { margin: 6px 0 14px; } .lead { color: var(--ink-2); max-width: 760px; margin-top: 6px; font-size: 15px; }
.filters { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 10px 0 16px; }
.filters select, .filters input { padding: 6px 8px; border: 2px solid var(--ink); background: var(--card); border-radius: 6px; }
.filters .search { min-width: 200px; }
.kid-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.kid-grid.small { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.kid-card { display: block; background: var(--card); border: 2px solid var(--ink); border-radius: var(--wobble); padding: 10px 10px 8px; text-align: center; transition: transform .12s; }
.kid-card:hover { text-decoration: none; transform: rotate(-1.2deg) scale(1.02); }
.kid-card.orphan { border-style: dashed; }
.kid-card .face { display: block; margin: 0 auto 4px; } .kid-card .face svg { margin: 0 auto; }
.kc-name { font-family: var(--hand); font-size: 20px; font-weight: 700; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kc-chips { display: flex; gap: 4px; justify-content: center; flex-wrap: wrap; margin: 4px 0 6px; }
.kc-row { display: flex; justify-content: space-between; font-size: 12px; padding: 1px 2px; }
.more { text-align: center; margin: 16px 0; }

/* ---- the feed */
.feed { display: flex; flex-direction: column; }
.ev { display: grid; grid-template-columns: 62px 78px 1fr 20px; gap: 8px; padding: 6px 4px; border-bottom: 1px dashed var(--line); align-items: baseline; font-size: 13px; }
.feed.compact .ev { grid-template-columns: 56px 1fr 18px; } .feed.compact .ev-kind { display: none; }
.ev-when { color: var(--faint); font-size: 11px; white-space: nowrap; } .ev-kind { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.ev-body { min-width: 0; overflow-wrap: anywhere; } .ev-to { color: var(--muted); }
.ev q { color: var(--ink); } .k-memo_home .ev-body, .k-memo_chat .ev-body { font-family: var(--hand); font-size: 17px; }
.k-orphan .ev-body { color: var(--down); } .k-born .ev-body, .k-baby .ev-body, .k-adopted .ev-body { font-weight: 500; } .k-error .ev-body { color: var(--muted); }
.k-snipe .ev-body { font-weight: 500; } .k-fee .ev-body, .k-college .ev-body { color: var(--ink-2); }
.tx { color: var(--muted); font-size: 12px; } .tx.sim { opacity: .4; }
.kidlink { font-weight: 600; } .wallet { font-family: var(--mono); font-size: 12px; color: var(--accent); }

/* ---- hover cards */
.hcard { position: fixed; z-index: 95; width: 300px; background: var(--card); color: var(--ink); border: 2px solid var(--ink); border-radius: 14px 4px 14px 4px; box-shadow: 4px 4px 0 var(--ink); padding: 12px; font-size: 13px; pointer-events: none; }
.hc-head { display: flex; gap: 10px; align-items: center; } .hc-name { font-family: var(--hand); font-size: 22px; font-weight: 700; line-height: 1; }
.hc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px; margin: 10px 0; } .hc-grid div { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--line); padding: 2px 0; }
.hc-pos div { padding: 2px 0; } .hc-quote { font-family: var(--hand); font-size: 16px; margin-top: 6px; } .hc-kids { display: flex; gap: 4px; margin-top: 6px; } .hc-kids .face { border: 1px solid var(--line); border-radius: 50%; }
.hc-go { margin-top: 8px; font-size: 12px; } .hc-pad { padding: 8px; }

/* ---- the kid's page */
.cert { display: grid; grid-template-columns: 300px 1fr; gap: 24px; background: var(--card); border: 3px solid var(--ink); border-radius: var(--wobble); padding: 22px; margin-bottom: 10px; }
@media (max-width: 760px) { .cert { grid-template-columns: 1fr; } }
.cert-face { text-align: center; } .cert-face .face svg { margin: 0 auto; } .cert-chips { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.cert-title h1 { font-size: 44px; }
.fam-row { display: flex; gap: 14px; flex-wrap: wrap; margin: 6px 0; }
.fam { display: flex; gap: 8px; align-items: center; color: inherit; } .fam .face { border: 2px solid var(--ink); border-radius: 50%; overflow: hidden; background: var(--card); } .fam .face svg { filter: var(--face-filter); }
.genes { display: flex; gap: 4px; flex-wrap: wrap; }
.pos { display: flex; flex-direction: column; gap: 8px; }
.pos-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; background: var(--card); border: 2px solid var(--ink); border-radius: var(--wobble); padding: 10px 12px; }
.pos.closed .pos-row { border-style: dashed; opacity: .85; }
.pos-coin { display: flex; gap: 10px; align-items: center; } .pos-coin img { width: 40px; height: 40px; object-fit: cover; border-radius: 8px; }
.pos-num { text-align: right; min-width: 150px; font-variant-numeric: tabular-nums; }
.pos-why { grid-column: 1 / -1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ratio { height: 6px; background: var(--soft); border-radius: 3px; margin-top: 4px; overflow: hidden; } .ratio i { display: block; height: 100%; background: var(--up); } .ratio i.down { background: var(--down); }
.talk { background: var(--card); border: 2px dashed var(--ink); border-radius: var(--wobble); padding: 12px; }
.cmd { display: flex; gap: 8px; margin: 10px 0 6px; } .cmd input { flex: 1; padding: 8px 10px; border: 2px solid var(--ink); background: var(--paper); border-radius: 6px; }
.reply { margin-top: 8px; font-size: 15px; } .reply.bad { color: var(--down); }
details summary { cursor: pointer; margin: 8px 0; }
ul.plain { list-style: none; padding: 0; margin: 0; } ul.plain li { padding: 3px 0; border-bottom: 1px dashed var(--line); }

/* ---- tables, tree, leaders, prose */
.tbl { width: 100%; border-collapse: collapse; } .tbl th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 6px 8px; border-bottom: 2px solid var(--ink); } .tbl td { padding: 7px 8px; border-bottom: 1px dashed var(--line); vertical-align: top; } .tbl .num { text-align: right; font-variant-numeric: tabular-nums; }
.tree { position: relative; padding: 10px 0; } .gen { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 60px; } .gen-label { width: 56px; padding-top: 24px; font-family: var(--hand); font-size: 18px; }
.gen-row { display: flex; gap: 18px; flex-wrap: wrap; } .node { text-align: center; width: 90px; position: relative; z-index: 2; } .node .face { border: 2px solid var(--ink); border-radius: 50%; background: var(--card); overflow: hidden; }
.tree-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; } .tree-lines path { fill: none; stroke: var(--ink); stroke-width: 2; stroke-dasharray: 4 3; opacity: .7; }
.lead-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px 28px; }
.lead-list { padding-left: 22px; margin: 0; } .lead-list li { display: flex; gap: 8px; align-items: center; padding: 4px 0; border-bottom: 1px dashed var(--line); } .lead-list .num { margin-left: auto; } .lead-list .face { border: 1px solid var(--line); border-radius: 50%; }
.prose { max-width: 780px; } .prose p, .prose ul { margin: 8px 0; font-size: 15px; color: var(--ink-2); } .prose pre { background: var(--soft); padding: 12px; overflow: auto; font-size: 12px; } .prose li { margin: 4px 0; }

/* ---- the front page: your own kid, the worlds, the steps */
.make { background: var(--card); border: 2px solid var(--ink); border-radius: var(--wobble); padding: 16px 18px; }
.make h3 { margin-top: 0; }
.make p { margin: 6px 0; font-size: 14px; color: var(--ink-2); }
.mine-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 8px; font-size: 13px; }
.mine-row .face { border: 1px solid var(--line); border-radius: 50%; }
.worlds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 6px 0 10px; }
@media (max-width: 820px) { .worlds { grid-template-columns: 1fr; } }
.world-card { display: block; background: var(--card); border: 2px solid var(--ink); border-radius: var(--wobble); padding: 12px 14px; min-height: 150px; }
.world-card:hover { text-decoration: none; transform: rotate(-.6deg); }
.wc-head { display: flex; justify-content: space-between; align-items: baseline; } .wc-head h3 { margin: 0; }
.wc-faces { display: flex; gap: 4px; margin: 8px 0; flex-wrap: wrap; } .wc-face .face { border: 1px solid var(--line); border-radius: 50%; }
.wc-say { font-family: var(--hand); font-size: 16px; color: var(--ink-2); }
.steps { margin: 6px 0 0; padding-left: 18px; font-size: 14px; color: var(--ink-2); } .steps li { margin: 4px 0; }

/* ---- a world: the chalkboard and the desks */
.room { display: flex; flex-direction: column; gap: 18px; }
.chalk { background: #2f4a3a; color: #f3efe4; border: 10px solid #6b4a2b; border-radius: 6px; padding: 16px 20px; font-family: var(--hand); font-size: 18px; box-shadow: inset 0 0 40px rgba(0,0,0,.25); }
.chalk a, .chalk .mono, .chalk .kidlink { color: #fff; } .chalk .tx { color: #cfe3d6; } .chalk .muted { color: #cfe3d6; }
.chalk-title { font-size: 24px; font-weight: 700; margin-bottom: 8px; text-decoration: underline wavy #cfe3d6; text-underline-offset: 6px; }
.chalk-sub { margin-top: 10px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: #cfe3d6; }
.chalk-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; } @media (max-width: 760px) { .chalk-cols { grid-template-columns: 1fr; } }
.chalk-list { margin: 4px 0 0; padding-left: 22px; } .chalk-list.plain { list-style: none; padding-left: 0; } .chalk-list li { padding: 2px 0; }
.chalk-dim { color: #cfe3d6; font-size: 15px; }
.chalk.porch { background: #4a3b2f; border-color: #2e241c; }
.desks { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 30px 12px; padding: 10px 0; }
.desk { display: flex; flex-direction: column; align-items: center; text-align: center; color: inherit; padding-top: 64px; position: relative; }
.desk:hover { text-decoration: none; } .desk:hover .face { transform: rotate(-3deg); }
.desk .face svg { margin: 0 auto; transition: transform .12s; }
.bubble { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 210px; max-height: 58px; overflow: hidden; background: var(--card); border: 2px solid var(--ink); border-radius: 14px 14px 14px 2px; padding: 5px 9px; font-size: 12px; line-height: 1.3; text-align: left; z-index: 2; }
.bubble::after { content: ""; position: absolute; left: 14px; bottom: -8px; width: 8px; height: 8px; background: var(--card); border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); }
.bubble q { font-family: var(--hand); font-size: 15px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; } .bubble.talk { background: var(--card); } .bubble.up { border-color: var(--up); } .bubble.up::after { border-color: var(--up); } .bubble.down { border-color: var(--down); } .bubble.down::after { border-color: var(--down); }
.plate { font-family: var(--hand); font-size: 19px; line-height: 1; margin-top: 2px; } .plate-sub { font-size: 11px; margin-top: 2px; }

/* ---- the setup panel */
.setup { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.setup-row { display: grid; grid-template-columns: 150px 1fr; gap: 8px; align-items: center; font-size: 13px; } @media (max-width: 600px) { .setup-row { grid-template-columns: 1fr; } }
.setup-row label { color: var(--muted); } .setup-row > div { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.setup input, .setup select { padding: 5px 8px; border: 2px solid var(--ink); background: var(--paper); border-radius: 6px; font-size: 13px; max-width: 100%; }
.setup input.short { width: 72px; } .setup input:not(.short) { flex: 1; min-width: 160px; }
.kid-card.old { border-style: double; border-width: 4px; }

/* ---- the world */
.tagline { font-size: 15px; color: var(--ink-2); margin: 4px 0 10px; max-width: 980px; }
.world-wrap { position: relative; }
.world { display: block; width: 100%; height: 540px; border: 3px solid var(--ink); border-radius: var(--wobble); background: var(--paper); touch-action: pan-y; }
@media (max-width: 760px) { .world { height: 380px; } }
.world-card { pointer-events: none; }
.strip { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 10px 2px 14px; font-size: 13px; color: var(--muted); } .strip b { color: var(--ink); font-family: var(--hand); font-size: 17px; }
.three { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 20px; align-items: start; } @media (max-width: 900px) { .three { grid-template-columns: 1fr; } }
.three h3 { margin: 0 0 6px; }
.prose.short p { margin: 10px 0; }
.hdr-search { width: 150px; padding: 5px 8px; border: 2px solid var(--ink); background: var(--card); border-radius: 6px; font-size: 13px; }
@media (max-width: 900px) { .hdr-search { width: 110px; } }

/* ---- the three worlds */
.places { display: flex; gap: 6px; margin: 0 0 8px; flex-wrap: wrap; }
.places button { padding: 6px 12px; background: var(--card); border: 2px solid var(--ink); border-radius: var(--wobble); cursor: pointer; font-family: var(--hand); font-size: 18px; line-height: 1; }
.places button[aria-pressed="true"] { background: var(--ink); color: var(--paper); } .places button[aria-pressed="true"] .muted { color: var(--paper); opacity: .8; }
.places button:hover { transform: rotate(-1deg); }
