/* "names without AI" blog post: page + interactive tools. Palette from ../../shared/tokens.css. */
* { box-sizing: border-box; }
html { color-scheme: dark; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--sans); }
a { color: var(--accent); }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }
header.top { padding: 36px 0 20px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #1c211d, var(--bg)); }
.kicker { margin: 0 0 6px; color: var(--accent); text-transform: uppercase; letter-spacing: .12em; font-size: 12px; }
.kicker a { color: inherit; text-decoration: none; }
h1 { margin: 0; font-size: 38px; line-height: 1.1; }
h1 .num { color: var(--accent); }
h2 { margin: 56px 0 12px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink); font-size: 30px; line-height: 1.15; letter-spacing: -0.01em; }
h2::before { content: ""; display: block; width: 48px; height: 4px; margin: -21px 0 17px; border-radius: 2px; background: var(--accent); }
.sig { margin: 28px 0 0; color: var(--muted); }
.sig b { display: block; color: var(--ink); font-size: 18px; }
article p { margin: 0 0 14px; }
ol.parts { margin: 0 0 14px; padding-left: 24px; }
ol.parts li { margin-bottom: 4px; }
.panel { margin: 16px 0 24px; padding: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
.tab { flex: none; padding: 5px 11px; border: 1px solid var(--line); border-radius: 4px; background: transparent; color: var(--muted); font: 13px var(--sans); cursor: pointer; white-space: nowrap; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-weight: 600; }
.tab .n { opacity: .7; margin-left: 4px; font-size: 11px; }
.group-label { margin: 10px 0 4px; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.view-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 10px 0 6px; }
.view-head h3 { margin: 0; font-size: 19px; }
.view-head .meta { color: var(--muted); font-size: 13px; }
.words { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: repeat(6, auto); grid-auto-flow: column; column-gap: 14px; min-height: 10.2em; font-size: 15px; line-height: 1.7; }
.words li { break-inside: avoid; overflow-wrap: anywhere; }
.pager { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 10px; font-size: 14px; color: var(--muted); }
button.btn { padding: 6px 12px; border: 1px solid var(--line); border-radius: 6px; background: #1d241e; color: var(--ink); font: 14px var(--sans); cursor: pointer; }
button.btn:hover:not(:disabled) { border-color: var(--accent); }
button.btn:disabled { opacity: .4; cursor: default; }
button.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-weight: 600; }
.used { margin: 0 0 10px; font-size: 15px; }
.used b { color: var(--accent); font-weight: 600; }
.formula { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 8px 0 10px; }
.seg { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.02); color: var(--ink); font: inherit; cursor: pointer; text-align: left; }
.seg.opt { border-style: dashed; }
.seg { transition: opacity .15s, color .15s, border-color .15s; }
.seg.missing { opacity: .45; color: var(--muted); }
.seg:hover { border-color: var(--accent); }
.seg[aria-expanded="true"] { border-color: var(--accent); border-style: solid; background: #1f3320; }
.seg-title { font-weight: 600; font-size: 15px; }
.seg-pct { font-size: 12px; color: var(--muted); }
.seg-detail { margin: 0 0 14px; padding: 10px 14px; border: 1px solid var(--accent); border-radius: 8px; background: rgba(255,255,255,.02); }
.detail h4 { margin: 0 0 4px; font-size: 15px; }
.conn-line { margin: 0 0 6px; font-size: 14px; color: var(--muted); }
.conn-line code { color: var(--gold); white-space: pre; }
.picks { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.picks li { padding: 2px 0; }
.picks .w { display: inline-block; min-width: 42px; color: var(--muted); font-size: 13px; }
.picks a { text-decoration: none; border-bottom: 1px dotted currentColor; }
.inline-words { display: block; margin: 2px 0 6px 42px; color: var(--muted); font-size: 14px; word-spacing: 4px; }
.plus { align-self: center; color: var(--muted); font-size: 18px; }
.examples { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 8px; }
.examples li.wide { grid-column: 1 / -1; }
@media (max-width: 520px) { .examples { grid-template-columns: 1fr; } }
.examples li { padding: 7px 10px; border-left: 3px solid var(--accent); margin-bottom: 6px; background: rgba(255,255,255,.03); white-space: pre-line; }
.legend { color: var(--muted); font-size: 13px; margin: 0 0 6px; }
.namegen { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 6px; list-style: none; margin: 10px 0; padding: 0; }
.namegen li { padding: 8px; text-align: center; font-weight: 600; font-size: 17px; background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 6px; }
.shot { display: grid; place-items: center; min-height: 220px; margin: 16px 0; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.bignum { margin: 8px 0 18px; font: 700 clamp(18px, 4.6vw, 30px)/1.2 var(--mono); color: var(--accent); overflow-wrap: anywhere; }
.facts { margin: 0 0 14px; padding-left: 22px; }
.facts li { margin-bottom: 8px; }
code.cmd { padding: 2px 6px; border: 1px solid var(--line); border-radius: 4px; background: #111511; color: var(--accent); font: 0.92em var(--mono); white-space: nowrap; }
.carousel { position: relative; margin: 16px 0 24px; }
.track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); scrollbar-width: none; }
.track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; position: relative; }
.slide img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.slide span { position: absolute; left: 10px; bottom: 10px; padding: 3px 9px; border-radius: 4px; background: rgba(0,0,0,.72); font-size: 14px; }
.carousel .nav { position: absolute; top: calc(50% - 30px); width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: rgba(0,0,0,.6); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; }
.carousel .nav:hover { border-color: var(--accent); }
.carousel .prev { left: 8px; } .carousel .next { right: 8px; }
.dots { display: flex; justify-content: center; gap: 6px; margin-top: 8px; }
.dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: var(--line); cursor: pointer; }
.dots button[aria-current="true"] { background: var(--accent); }
.intro { margin-top: 24px; }
.intro::after { content: ""; display: block; clear: both; }
.intro .name-stage { float: right; width: 300px; margin: 0 0 12px 24px; }
.name-stage { position: relative; height: 380px; }
.name-stage canvas { display: block; width: 100%; height: 100%; }
.name-stage .tags { position: absolute; inset: 0; pointer-events: none; }
.nametag { position: absolute; left: 50%; top: 8px; transform: translateX(-50%); width: max-content; max-width: calc(100% - 20px); padding: 2px 7px; background: rgba(0,0,0,.5); color: #fff; font-size: 15px; line-height: 1.35; text-align: center; white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 720px) { .intro .name-stage { float: none; width: auto; margin: 0 0 16px; height: 320px; } }
.stage-speeds[hidden] { display: none; }
/* Stage controls: quiet text links, not buttons */
.stage-filter, .stage-speeds { position: absolute; left: 0; right: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 2px 12px; }
.stage-filter { bottom: 6px; }
.stage-speeds { bottom: 30px; }
.stage-filter button, .stage-speeds button { padding: 2px 0; border: 0; background: none; color: var(--muted); font: 12px var(--sans); opacity: .7; cursor: pointer; }
.stage-filter button:hover, .stage-speeds button:hover { opacity: 1; }
.stage-filter[data-one] button[aria-pressed="true"], .stage-speeds button[aria-pressed="true"] { color: var(--ink); opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.stage-filter .speed-toggle[aria-expanded="true"] { color: var(--ink); opacity: 1; }
.stage-arrow { position: absolute; top: calc(50% - 30px); width: 28px; height: 28px; border: 0; background: none; color: var(--muted); opacity: .6; font-size: 24px; line-height: 1; cursor: pointer; }
.stage-arrow:hover { opacity: 1; }
.stage-arrow[hidden] { display: none; }
.stage-prev { left: 8px; } .stage-next { right: 8px; }
.cta { margin: 40px 0 8px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); text-align: center; }
.cta h2 { margin: 0 0 6px; padding: 0; border: 0; color: var(--ink); font-size: 24px; }
.cta h2::before { display: none; }
.cta p { margin: 0 auto 16px; max-width: 52ch; color: var(--muted); }
.cta-buttons { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.cta-btn { padding: 10px 20px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); font-weight: 600; text-decoration: none; }
.cta-btn:hover { border-color: var(--accent); }
.cta-btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.big { font-size: 20px; font-weight: 700; color: var(--accent); }
footer { padding: 30px 0 60px; color: var(--muted); font-size: 14px; }
@media (max-width: 520px) { h1 { font-size: 30px; } .plus { display: none; } }
.view-head h3.small { font-size: 16px; }
.foot { padding: 30px 0 50px; color: var(--muted); font-size: 14px; }
/* Name tool: click a name to see its parts */
.namegen li { padding: 0; }
.namegen button { width: 100%; padding: 8px; border: 0; border-radius: 6px; background: none; color: inherit; font: inherit; cursor: pointer; }
.namegen li:has(button:hover) { border-color: var(--accent); }
.namegen li:has(button[aria-pressed="true"]) { border-color: var(--accent); background: #1f3320; }
.tap-hint { text-align: center; }
.name-breakdown { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 4px 0 12px; padding: 12px 14px; border: 1px solid var(--accent); border-radius: 8px; background: rgba(255,255,255,.02); }
.name-breakdown[hidden] { display: none; }
.bd-name { margin: 0; font-size: 26px; font-weight: 700; letter-spacing: .02em; }
.bd-name span + span { margin-left: 3px; }
.bd-parts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.bd-parts .part { display: flex; flex-direction: column; gap: 1px; padding: 6px 10px; border: 1px solid var(--line); border-left-width: 3px; border-radius: 6px; font-size: 14px; }
.bd-parts .part-text { font-weight: 700; font-size: 17px; }
.bd-parts .part-label { color: var(--muted); font-size: 13px; text-decoration: none; }
.bd-parts a.part-label { border-bottom: 1px dotted currentColor; align-self: flex-start; }
.bd-parts a.part-label:hover { color: var(--ink); }
.bd-parts .sub-parts { color: var(--muted); font-size: 12px; }
.bd-parts .skipped { border-style: dashed; }
.bd-parts .skipped .part-label { text-decoration: line-through; }
.c0 { color: #8fd17a; border-left-color: #8fd17a !important; }
.c1 { color: #e6c35c; border-left-color: #e6c35c !important; }
.c2 { color: #e39a8a; border-left-color: #e39a8a !important; }
.c3 { color: #7cc3e0; border-left-color: #7cc3e0 !important; }
.c4 { color: #c39be6; border-left-color: #c39be6 !important; }
.c5 { color: #e6a35c; border-left-color: #e6a35c !important; }
.cstart { color: #ef8fc0; border-left-color: #ef8fc0 !important; }
.clink { color: #5fd0c6; border-left-color: #5fd0c6 !important; }
/* A link slot (a vowel that joins two endings): a smaller, dashed teal card so the main parts read first. */
.seg.link { padding-inline: 10px; border-style: dashed; color: #5fd0c6; }
.seg.link .seg-title { font-size: 13px; }
.bd-parts .part .part-label, .bd-parts .part .sub-parts { color: var(--muted); }
.formula-roll { margin-left: auto; }
.bd-parts .part-foot { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 8px; }
/* Update note under the facts: today's count, once it has moved on from the headline. */
.update { margin: 22px 0 8px; padding: 14px 18px; border-left: 3px solid var(--accent); background: var(--panel); border-radius: var(--radius); }
.update p { margin: 0 0 6px; }
.update .bignum { margin-bottom: 0; }
