/* UNSAID · the site. Mono + serif on dark. Tones: ink = a fact that holds; dim = settled or secondary;
   faint = absent, hints; red = only what the AIs said (and what got struck); amber = fix one input, or MOCK.
   Motion only for what is happening now: names landing, a strike drawing, a hold in progress. */
:root {
  --bg: #0b0b0b; --panel: #111110; --ink: #ecebe5; --white: #f2efe6; --dim: #8e8c85; --faint: #807e78;
  --rule: #24231f; --rule2: #34332e; --red: #ff2d3d; --amber: #e2a336;
  --mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace;
  --serif: 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --pad: 24px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body { font: 12px/1.5 var(--mono); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
button, input, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
.dim { color: var(--dim); } .faint { color: var(--faint); } .red { color: var(--red); } .amber { color: var(--amber); }
.ph { color: var(--amber); font-style: normal; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--pad); }
[hidden] { display: none !important; }

/* ---------- top bar ---------- */
.top { display: flex; align-items: center; gap: 16px; min-height: 52px; border-bottom: 1px solid var(--rule2); flex-wrap: wrap; padding: 8px 0; }
.mark { font: 700 13px/1 var(--mono); letter-spacing: .32em; text-decoration: none; white-space: nowrap; }
.mark s { text-decoration: none; position: relative; }
.mark s::after { content: ''; position: absolute; left: -1px; right: .25em; top: 52%; height: 2px; background: var(--ink); }
.slug { color: var(--dim); letter-spacing: .14em; text-transform: uppercase; font-size: 10px; white-space: nowrap; }
.grow { flex: 1; }
.mock { display: inline-flex; align-items: center; gap: 7px; height: 20px; padding: 0 8px; border: 1px dashed var(--amber); color: var(--amber);
  font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.mock::before { content: ''; width: 5px; height: 5px; background: var(--amber); border-radius: 50%; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: baseline; gap: 7px; min-height: 22px; padding: 3px 8px; border: 1px solid var(--rule2); font-size: 11px; max-width: 100%; }
.chip i { font-style: normal; color: var(--dim); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; }
.chip.dead { color: var(--faint); }

/* ---------- section grammar ---------- */
.sec { margin: 28px 0; }
.sh { display: flex; align-items: baseline; gap: 14px; padding-bottom: 7px; border-bottom: 1px solid var(--ink); flex-wrap: wrap; }
.sh h2 { margin: 0; font: 700 11px/1.2 var(--mono); letter-spacing: .2em; text-transform: uppercase; }
.sh .sub { color: var(--dim); }
.sh .tr { margin-left: auto; text-align: right; }
.cap { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 36px; padding: 0 18px; border: 1px solid var(--ink);
  font: 700 11px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.btn.solid { background: var(--ink); color: var(--bg); }
.btn[disabled], .btn.off { border-color: var(--faint); color: var(--faint); background: none; cursor: default; }
.link { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule2); padding-bottom: 1px; }
.link:hover { border-color: var(--ink); }

/* ---------- S1 input ---------- */
.s1 { padding: 56px 0 24px; max-width: 760px; }
.s1 h1 { font: 400 44px/1.1 var(--serif); margin: 0 0 6px; letter-spacing: -.01em; }
.s1 h1 s { text-decoration: none; position: relative; color: var(--dim); }
.s1 h1 s::after { content: ''; position: absolute; left: -.03em; right: -.03em; top: 55%; height: .07em; background: var(--ink); }
.fields { margin-top: 36px; display: grid; gap: 0; }
.fld { border-bottom: 1px solid var(--rule2); padding: 10px 0 8px; display: grid; grid-template-columns: 28px 1fr; align-items: start; gap: 0 10px; }
.fld .n { color: var(--faint); padding-top: 8px; }
.fld input { width: 100%; background: none; border: 0; outline: 0; font: 400 22px/1.4 var(--serif); padding: 2px 0; color: var(--ink); }
.fld input::placeholder { color: var(--faint); }
.fld select { width: 100%; background: none; border: 0; outline: 0; font: 400 22px/1.4 var(--serif); padding: 2px 0; color: var(--ink); appearance: none; -webkit-appearance: none; cursor: pointer; }
.fld select option { color: #111; }
.fld .res { grid-column: 2; min-height: 18px; margin-top: 2px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: 11px; }
.fld .res .t { color: var(--dim); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; }
.fld .res button { color: var(--dim); border-bottom: 1px dotted var(--faint); }
.need { display: inline-flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; border: 1px solid var(--amber); color: var(--amber); padding: 5px 9px; }
.need button { color: var(--amber); border: 0; border-bottom: 1px dotted var(--amber); }
.alts { display: flex; gap: 6px; flex-wrap: wrap; }
.alts button { border: 1px solid var(--rule2); padding: 2px 7px; color: var(--ink); }
.helper { color: var(--dim); margin: 8px 0 0 38px; }
.go { display: flex; gap: 14px; align-items: center; margin-top: 26px; flex-wrap: wrap; }
.try { margin-top: 48px; }
.try h3 { margin: 0 0 10px; font: 400 12px/1.4 var(--mono); color: var(--dim); }
.try ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.try li { border-bottom: 1px solid var(--rule); }
.try a, .try span.row { display: flex; gap: 4px 14px; align-items: baseline; padding: 10px 0; text-decoration: none; flex-wrap: wrap; }
@media (max-width: 720px) { .try a, .try span.row { flex-direction: column; align-items: flex-start; } }
.try a:hover b { text-decoration: underline; }
.try b { font: 400 17px/1.3 var(--serif); }
.try .when { color: var(--dim); }
.try .off b { color: var(--faint); }
.legal { color: var(--faint); font-size: 10px; margin-top: 28px; max-width: 640px; }

/* ---------- S2: map header ---------- */
.maphead { position: relative; margin-top: 10px; }
.maphead .lab { position: absolute; white-space: nowrap; line-height: 1; text-shadow: 0 0 3px #0b0b0b, 0 0 6px #0b0b0b, 0 0 10px #0b0b0b; pointer-events: none; }
.lab.red { font-family: var(--serif); }
.lab.red .n { position: relative; color: #cfccc3; }
.lab.red .n::after { content: ''; position: absolute; left: -2px; right: -2px; top: 54%; height: 2px; background: var(--red); }
.lab.red .t { display: block; font-family: var(--mono); color: var(--red); font-size: 11px; margin-top: 5px; }
.lab.num { font: 600 11px/1 var(--mono); color: var(--white); }
.lab.num.x { color: var(--red); text-decoration: line-through; text-decoration-thickness: 2px; }
.lab.num.xi { color: var(--ink); text-decoration: line-through; text-decoration-thickness: 2px; }
.status { display: flex; gap: 10px; align-items: baseline; min-height: 20px; color: var(--dim); font-size: 11px; margin: 10px 0 0; }
.status .live { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); flex: 0 0 6px; align-self: center; }
.status.busy .live { background: var(--ink); animation: pulse 1.2s ease-in-out infinite; }  /* only while Qloo calls are in flight */
@keyframes pulse { 50% { opacity: .25; } }
.note { color: var(--dim); font-size: 11px; margin-top: 4px; }

/* ---------- S2: the field ---------- */
.counter { font: 600 28px/1 var(--mono); letter-spacing: -.01em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.counter .w { color: var(--red); }
.counter .ar { color: var(--faint); margin: 0 .25em; }
.counter-cap { color: var(--dim); font-size: 10.5px; margin-top: 6px; }
.field { display: flex; flex-wrap: wrap; gap: 4px 16px; line-height: 19px; font-size: 12px; margin-top: 14px; }
.nm { position: relative; color: #a9a69e; white-space: nowrap; }
.nm.live { animation: land .35s var(--ease) both; }   /* only names asked just now land; dated ones are simply there */
@keyframes land { from { opacity: 0; transform: translateY(-4px); } }
.nm::after { content: ''; position: absolute; left: -2px; right: -2px; top: 54%; height: 1.5px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .38s var(--ease); }
.nm.x::after { transform: scaleX(1); }
.nm.x { color: var(--dim); }
.nm.dimmed { color: var(--faint); }
.nm sup { font-size: 8.5px; letter-spacing: .08em; margin-left: 4px; color: var(--faint); text-transform: uppercase; vertical-align: 2px; }
.nm.live { color: var(--ink); }
.nm button { all: unset; cursor: pointer; }
.fieldwrap.collapsed .field { display: none; }
.fieldwrap { position: relative; }
.fieldwrap.clipped .field { max-height: 214px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.showall { display: none; color: var(--dim); margin-top: 6px; border-bottom: 1px solid var(--rule2); }
.fieldwrap.clipped .showall { display: inline-block; }
.showrow { display: none; border-top: 1px solid var(--rule2); border-bottom: 1px solid var(--rule2); padding: 13px 0; margin-top: 14px; justify-content: space-between; width: 100%; text-align: left; }
.fieldwrap.collapsed .showrow { display: flex; }
.burnline { margin-top: 16px; min-height: 18px; font-size: 11.5px; color: var(--dim); }
.burnline .red { color: var(--red); }
.dots::after { content: '…'; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }

/* ---------- S2: cards ---------- */
.lead { display: flex; align-items: baseline; gap: 12px; padding-top: 10px; flex-wrap: wrap; }
.lead .n { font: 600 28px/1 var(--mono); }
.lead .c { color: var(--dim); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 10px; margin-top: 16px; }
.card { position: relative; border: 1px solid var(--rule2); background: var(--panel); padding: 12px 12px 12px; cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: manipulation;
  display: flex; flex-direction: column; gap: 6px; min-height: 236px; text-align: left; animation: land .4s var(--ease) both; }
.card:hover { border-color: var(--dim); }
.card .row1 { display: flex; justify-content: space-between; color: var(--dim); font-size: 10.5px; }
.card .hood { color: var(--dim); font-size: 10.5px; letter-spacing: .04em; }
.card .name { position: relative; font: 400 19px/1.18 var(--serif); color: var(--white); align-self: flex-start; }
.card .name::after { content: ''; position: absolute; left: -2px; right: -2px; top: 55%; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; }
.card.holding .name::after { transform: scaleX(1); transition: transform .9s linear; background: var(--ink); }
.card.byyou .name::after { background: var(--ink); }      /* your strike is ink; red is only for what the AIs said */
.card.byyou .tag { color: var(--ink); }
.card.struck .name::after { display: none; }
.card.struck .name { text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.card.struck.byyou .name { text-decoration-color: var(--ink); }
.card.struck { border-color: var(--rule); background: none; }
.card.struck .name, .card.struck .what, .card.struck .rk, .card.struck .because { color: var(--faint); }
.card .what { color: #b9b6ad; font-size: 11px; }
.card .rk { margin-top: auto; font-size: 11px; color: var(--dim); }
.card .rk b { font: 600 24px/1 var(--mono); color: var(--ink); margin-right: 4px; }
.card .rk .any { display: block; margin-top: 3px; color: var(--dim); }
.card .fitwhy { font: 400 13px/1.3 var(--serif); color: var(--ink); }
.card.struck .fitwhy { color: var(--faint); }
.cards.prov .card { cursor: default; }
.card .because { border-top: 1px solid var(--rule2); padding-top: 7px; color: var(--dim); font-size: 10.5px; }
.card .because b { display: block; color: var(--ink); font-weight: 400; font-size: 11px; }
.card .tag { font-size: 10px; color: var(--red); }
.card .tag.rose { color: var(--dim); }
.card.risen { border-color: var(--dim); }
.known .card { min-height: 0; cursor: default; }
.known .card .name::after { transform: scaleX(1); }
.empty { font: 400 22px/1.3 var(--serif); margin: 18px 0 6px; max-width: 760px; }

/* ---------- dare box ---------- */
.dare { margin-top: 26px; border: 1px solid var(--rule2); padding: 14px; }
.dare label { display: block; font: 400 17px/1.35 var(--serif); margin-bottom: 10px; }
.dare textarea { width: 100%; min-height: 84px; resize: vertical; background: #0e0e0d; border: 1px solid var(--rule2); outline: 0; padding: 10px; font: 12px/1.5 var(--mono); color: var(--ink); }
.dare textarea:focus { border-color: var(--dim); }
.dare .out { margin-top: 8px; min-height: 18px; color: var(--dim); font-size: 11.5px; }
.dare .out p { margin: 6px 0 0; }
.dare .out .big { font: 400 24px/1.3 var(--serif); color: var(--white); margin-top: 12px; }
.links { display: flex; gap: 22px; margin-top: 18px; flex-wrap: wrap; }

/* ---------- sheets (S3 card back, S4, share) ---------- */
.veil { position: fixed; inset: 0; background: rgba(0, 0, 0, .62); z-index: 20; }
.sheet { position: fixed; top: 0; right: 0; bottom: 0; width: min(720px, 100%); background: var(--bg); border-left: 1px solid var(--rule2); z-index: 21; overflow-y: auto; overflow-x: hidden; padding: 18px var(--pad) 40px; }
.sheet .close { position: absolute; top: 14px; right: var(--pad); color: var(--dim); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.sheet h1 { font: 400 40px/1.08 var(--serif); margin: 26px 0 6px; letter-spacing: -.01em; }
.sheet h1 .any { color: var(--dim); }
.sheet .sub { color: var(--dim); }
.blk { margin-top: 24px; }
.blk .sh { border-bottom-color: var(--rule2); }
.blk p { margin: 10px 0 0; }
.slider { position: relative; height: 54px; margin-top: 12px; }
.slider .track { position: absolute; left: 0; right: 0; top: 30px; height: 2px; background: var(--rule2); }
.slider .tick { position: absolute; top: 22px; width: 2px; height: 18px; background: var(--ink); }
.slider .tick.any { background: var(--dim); }
.slider .tl { position: absolute; top: 0; font-size: 11px; white-space: nowrap; transform: translateX(-50%); }
.slider .tl.any { color: var(--dim); }
.slider .end { position: absolute; top: 44px; font-size: 9.5px; color: var(--faint); }
.big1 { font: 400 22px/1.25 var(--serif); margin-top: 10px; }
details.log { margin-top: 24px; border-top: 1px solid var(--rule2); padding-top: 10px; }
details.log summary { cursor: pointer; font: 700 11px/1.2 var(--mono); letter-spacing: .2em; text-transform: uppercase; list-style: none; }
details.log summary::after { content: ' ›'; color: var(--dim); }
details.log[open] summary::after { content: ' ⌄'; }
.logbody { margin-top: 10px; font-size: 10.5px; line-height: 1.6; color: var(--dim); overflow-wrap: anywhere; }
.logbody div { padding: 1px 0; }
.logbody .k { color: var(--faint); }
.logbody .v { color: var(--ink); }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 14px; }
.cols ul { list-style: none; margin: 8px 0 0; padding: 0; }
.cols li { padding: 4px 0; border-bottom: 1px solid var(--rule); font: 400 15px/1.3 var(--serif); }
.cols li.x span { position: relative; }
.cols li.x span::after { content: ''; position: absolute; left: -2px; right: -2px; top: 55%; height: 1.5px; background: var(--red); }
.sharecv { width: 100%; height: auto; border: 1px solid var(--rule2); display: block; margin-top: 16px; }

/* result: the seven above the wall at every width (§2.1 phone order, now everywhere) */
.res.done, .res.hascards { display: flex; flex-direction: column; }
.res.done #maphead, .res.hascards #maphead { order: 0; } .res.done #status, .res.hascards #status { order: 1; } .res.done #notes, .res.hascards #notes { order: 2; }
.res.done #s-left, .res.hascards #s-left { order: 3; } .res.done #s-wall, .res.hascards #s-wall { order: 4; }
.above { color: var(--dim); margin: 12px 0 0; }
.copyrow { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; margin: -2px 0 10px; font-size: 11px; }

/* ---------- landing (S1) ---------- */
.land { display: grid; grid-template-columns: minmax(0, 760px) minmax(0, 1fr); gap: 56px; align-items: start; }
.subhead { font: 400 21px/1.4 var(--serif); color: #cfccc3; margin: 14px 0 0; max-width: 680px; }
.hook { font: 400 17px/1.45 var(--serif); color: var(--dim); margin: 14px 0 0; max-width: 680px; }
.hook .gx, .gx { position: relative; color: var(--red); white-space: nowrap; }
.gx::after { content: ''; position: absolute; left: -.04em; right: -.04em; top: 56%; height: .07em; min-height: 1.5px; background: var(--red); }
.cityopts { display: flex; gap: 10px; flex-wrap: wrap; padding: 4px 0 2px; }
.cityopts button { font: 400 20px/1.2 var(--serif); padding: 8px 16px; border: 1px solid var(--rule2); color: var(--dim); }
.cityopts button:hover { border-color: var(--dim); color: var(--ink); }
.cityopts button.on { border-color: var(--ink); color: var(--bg); background: var(--ink); }
.landcard { padding-top: 64px; position: sticky; top: 12px; }
.landcard .sharecv { margin-top: 0; }
.landcard p { margin: 10px 0 0; }
@media (max-width: 1100px) { .land { grid-template-columns: 1fr; } .landcard { display: none; } }
.landcard-m { display: none; }
@media (max-width: 1100px) { .landcard-m { display: block; margin: 18px 0 4px; max-width: 300px; } .landcard-m .sharecv { margin-top: 0; } .landcard-m p { margin: 6px 0 0; } }
.presets { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.pchip { border: 1px solid var(--rule2); padding: 6px 10px; text-decoration: none; font: 400 15px/1.2 var(--serif); }
.pchip:hover { border-color: var(--ink); }
.pchip.more { color: var(--dim); font: 400 11px/1.2 var(--mono); align-self: center; border: 0; }
.xstrip { margin: 4px 0 14px; }
.xnames { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font: 400 13px/1.6 var(--serif); color: var(--dim); }
.xn { position: relative; white-space: nowrap; margin-right: .6em; }
.xn::after { content: ''; position: absolute; left: -1px; right: -1px; top: 55%; height: 1.5px; background: var(--red); }
.xstrip .link { font-size: 11px; color: var(--dim); margin-top: 4px; display: inline-block; }
.sheetsub { color: #c4c1b8; margin: 6px 0 0; }
.placeimg { display: block; max-width: 100%; margin-top: 14px; border: 1px solid var(--rule2); }

/* ---------- result: lead, hint, cards extras, map legend, agent block ---------- */
.lead2 { font: 400 34px/1.1 var(--serif); margin: 6px 0 0; letter-spacing: -.01em; }
.lead2 .n { font: 600 34px/1 var(--mono); }
.leadsub { color: var(--dim); margin: 8px 0 0; }
.hint { color: var(--ink); border-left: 2px solid var(--ink); padding: 2px 0 2px 10px; margin: 14px 0 0; }
.xbtn { margin-left: 10px; color: var(--dim); font-size: 13px; line-height: 1; padding: 2px 4px; margin-top: -3px; border: 1px solid var(--rule2); }
.xbtn:hover { color: var(--ink); border-color: var(--ink); }
.card .row1 > span:last-child { display: inline-flex; align-items: center; }
.card .why { display: block; color: var(--dim); margin-top: 4px; font-size: 10.5px; }
.card .whyl { display: block; margin-top: 6px; color: #b9b6ad; font-size: 10.5px; }
.card .addr { color: var(--dim); font-size: 10.5px; line-height: 1.45; }
.card .maps { display: flex; gap: 10px; margin-top: 3px; flex-wrap: wrap; font-size: 10px; }
.card .maps a { white-space: nowrap; }
.card .maps a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule2); }
.card .maps a:hover { border-color: var(--ink); }
.card.flash { animation: flash 1.6s var(--ease) 1; }
@keyframes flash { 0%, 30% { box-shadow: 0 0 0 2px var(--red); background: #2a1012; } 100% { box-shadow: 0 0 0 0 transparent; } }
.nm.inpool { color: var(--ink); }
.maplegend { display: flex; flex-wrap: wrap; gap: 4px 16px; color: var(--dim); font-size: 10.5px; padding-top: 4px; }
.maplegend .k { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 0; }
.maplegend .k.g { background: #6a6a6a; } .maplegend .k.r { background: var(--red); } .maplegend .k.w { background: var(--white); box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px rgba(242,239,230,.35); }
.agentblk { margin-top: 34px; }
table.k12 { width: 100%; border-collapse: collapse; margin: 8px 0 6px; font-size: 12px; }
table.k12 th { text-align: left; font-weight: 400; color: var(--dim); font-size: 10.5px; padding: 0 8px 6px 0; border-bottom: 1px solid var(--rule2); vertical-align: bottom; }
table.k12 td { padding: 7px 8px 7px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
table.k12 td:nth-child(n+2), table.k12 th:nth-child(n+2) { text-align: right; white-space: nowrap; }
table.k12 th:nth-child(2) { white-space: normal; }
table.k12 tr.us td { color: var(--white); font-weight: 600; }
.agentblk .q { font: 400 17px/1.4 var(--serif); margin: 12px 0 8px; }
.agentblk pre { background: var(--panel); border: 1px solid var(--rule2); padding: 10px 12px; font: 11px/1.5 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; }
.agentblk .a { font: 400 22px/1.35 var(--serif); color: var(--white); margin: 14px 0 14px; max-width: 760px; }
.agentblk .a .who { display: block; font: 11px/1.4 var(--mono); color: var(--dim); margin-bottom: 4px; }
.counter .counting { color: var(--faint); }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--rule2); margin-top: 48px; padding: 14px 0 28px; color: var(--faint); font-size: 10.5px; display: flex; gap: 8px 18px; flex-wrap: wrap; }

/* ---------- /agents ---------- */
.doc { max-width: 820px; padding: 40px 0; }
.doc h1 { font: 400 40px/1.1 var(--serif); margin: 0 0 8px; }
.doc h2 { font: 700 11px/1.2 var(--mono); letter-spacing: .2em; text-transform: uppercase; margin: 34px 0 10px; padding-bottom: 7px; border-bottom: 1px solid var(--ink); }
.doc pre { background: var(--panel); border: 1px solid var(--rule2); padding: 12px; overflow-x: auto; font: 11.5px/1.55 var(--mono); color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; max-width: 100%; }
.doc p { color: #c4c1b8; max-width: 680px; }

/* ---------- phone ---------- */
@media (max-width: 720px) {
  :root { --pad: 16px; }
  .s1 { padding-top: 34px; }
  .s1 h1 { font-size: 32px; }
  .fld input, .fld select { font-size: 19px; }
  .counter { font-size: 24px; }
  .sh .tr { margin-left: 0; text-align: left; width: 100%; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .card .rk { margin-top: 6px; }
  .sheet { padding-top: 14px; border-left: 0; }
  /* top bar in two rows at most: mark, city, MOCK; then the loves on one line, each shortened if it must */
  .top { gap: 8px 12px; }
  .top .slug .rest { display: none; }
  .top .chips { order: 9; flex: 1 0 100%; flex-wrap: wrap; min-width: 0; }
  .top .chip { font-size: 10.5px; }
  .top .chip i { display: none; }
  .res.done #s-left { order: 0; } .res.done #maphead { order: 1; margin-top: 26px; } .res.done #status { order: 2; } .res.done #notes { order: 3; }
  .res.done #s-left { margin-top: 14px; }
  /* streaming on a phone: the status, then the cards as they arrive, then the map; the wall stays below */
  .res.hascards:not(.done) #maphead { order: 0; } .res.hascards:not(.done) #status { order: 1; }
  .res.hascards:not(.done) #notes { order: 1; } .res.hascards:not(.done) #s-left { order: 2; }
  .lead2 { font-size: 28px; } .lead2 .n { font-size: 28px; }
  .dare .out .big { font-size: 21px; } .agentblk .a { font-size: 19px; }
  .subhead { font-size: 18px; } .hook { font-size: 15.5px; }
  .cityopts button { font-size: 18px; }
  .sheet h1 { font-size: 30px; }
  .cols { grid-template-columns: 1fr; }
  .field { font-size: 11.5px; gap: 3px 12px; }
  .doc pre { white-space: pre-wrap; overflow-wrap: anywhere; overflow-x: hidden; }
  .card { padding: 10px 12px; gap: 4px; }
  .card .rk b { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.sheet > .cap:first-of-type { padding-right: 84px; }

/* ---------- round 5: less, bigger, cleaner (photo-first cards, compact hero, collapsed paste box) ---------- */
[hidden] { display: none !important; }
.land { display: block; }
.s1 { padding-top: 44px; max-width: 720px; }
.hook { font: 400 19px/1.4 var(--serif); color: #cfccc3; margin: 14px 0 18px; }
.legal { margin-top: 12px; }
.go { margin-top: 20px; }
.try { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.try .dim { margin-right: 4px; }
.pchip { font-size: 14px; padding: 5px 10px; }
.thumbs { margin-top: 26px; }
.thumbs:empty { display: none; }
.thumbs .thead { display: flex; justify-content: space-between; gap: 12px; text-decoration: none; font-size: 11px; margin-bottom: 8px; }
.thumbs .trow { display: flex; gap: 8px; overflow-x: auto; text-decoration: none; scrollbar-width: none; padding-bottom: 2px; }
.thumbs .trow::-webkit-scrollbar { display: none; }
.thumbs figure { margin: 0; flex: 0 0 132px; }
.thumbs img { width: 132px; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: var(--panel); }
.thumbs figcaption { font: 400 13px/1.25 var(--serif); margin-top: 5px; color: var(--ink); }

/* hero: desktop keeps the map; phone gets the struck gem in one block */
.herom { padding: 14px 0 2px; }
.herom .hq { font: 400 16px/1.3 var(--serif); color: #cfccc3; }
.herom .hg { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.herom .gx { font: 400 30px/1.1 var(--serif); }
.herom .red { font-size: 11px; }
.res .xstrip { margin: 8px 0 0; display: flex; align-items: baseline; gap: 12px; }
.res .xnames { -webkit-line-clamp: 1; flex: 1 1 auto; min-width: 0; }
.res .xstrip .link { flex: 0 0 auto; margin: 0; white-space: nowrap; }
.wallbox .field { margin-top: 16px; }
.lead2 { margin-top: 26px; font-size: 40px; } .lead2 .n { font-size: 40px; }
.leadsub { margin: 6px 0 0; font-size: 12px; }

/* the seven: photo first, generous; 2-3 per row on desktop, full width on a phone */
.cards { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; margin-top: 20px; }
.card { padding: 0; gap: 0; min-height: 0; overflow: hidden; background: var(--panel); }
.card .pic { position: relative; aspect-ratio: 16 / 10; background: #171614; overflow: hidden; }
.card .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.card .pic .fb { display: none; }
.card .pic.none .fb { display: flex; position: absolute; inset: 0; align-items: center; justify-content: center; padding: 0 24px; text-align: center; color: var(--faint); font: 400 18px/1.3 var(--serif); }
.card .pic .no { position: absolute; left: 10px; top: 10px; background: rgba(11, 11, 11, .72); color: var(--white); font: 600 11px/1 var(--mono); padding: 5px 7px; }
.card .xbtn { position: absolute; right: 10px; top: 10px; margin: 0; width: 34px; height: 34px; font-size: 15px; color: var(--white); background: rgba(11, 11, 11, .72); border: 1px solid rgba(242, 239, 230, .28); }
.card .xbtn:hover { border-color: var(--white); }
.card .body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.card .name { font: 400 26px/1.15 var(--serif); }
.card .meta { color: var(--dim); font-size: 11.5px; }
.card .blurb { margin: 2px 0 0; font: 400 15px/1.4 var(--serif); color: #cfccc3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .order { font-size: 11.5px; color: #b9b6ad; }
.card .because { border-top: 0; padding-top: 2px; font-size: 11.5px; color: var(--dim); }
.card .because b { display: inline; font-size: 11.5px; color: var(--ink); }
.card .tag { font-size: 11px; }
.card.struck { background: none; }
.card.struck .pic img { filter: grayscale(1) brightness(.45); }
.card.struck .blurb, .card.struck .order, .card.struck .meta { color: var(--faint); }

/* the paste box: one line until opened */
details.dare { margin-top: 28px; padding: 0; border: 1px solid var(--rule2); }
details.dare summary { list-style: none; cursor: pointer; padding: 14px 16px; font: 400 18px/1.3 var(--serif); }
details.dare summary::-webkit-details-marker { display: none; }
details.dare[open] summary { border-bottom: 1px solid var(--rule); }
details.dare > :not(summary) { margin-left: 16px; margin-right: 16px; }
details.dare .copyrow { margin-top: 12px; }
details.dare textarea { width: calc(100% - 32px); }
details.dare .out { margin-bottom: 14px; }
.res .links { margin-top: 22px; gap: 26px; }
.res .links .link { font-size: 12px; }

.toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 60; max-width: calc(100% - 32px); background: var(--ink); color: var(--bg); padding: 10px 14px; font-size: 12px; box-shadow: 0 6px 24px rgba(0, 0, 0, .5); transition: opacity .6s; }
.toast.out { opacity: 0; }
.sheet .lede { font: 400 18px/1.4 var(--serif); color: var(--white); }
.sheet .placeimg { width: calc(100% + 0px); aspect-ratio: 16 / 10; object-fit: cover; margin: 0 0 14px; border: 0; }

@media (max-width: 720px) {
  .s1 { padding-top: 26px; }
  .s1 h1 { font-size: 34px; }
  .hook { font-size: 17px; margin-bottom: 8px; }
  .fld { padding: 6px 0 4px; }
  .cards { grid-template-columns: 1fr; gap: 16px; }
  .card { padding: 0; gap: 0; }
  .card .name { font-size: 24px; }
  .lead2 { margin-top: 18px; font-size: 32px; } .lead2 .n { font-size: 32px; }
  .res.done #s-left { order: 3; } .res.done #maphead { order: 0; margin-top: 0; } .res.done #status { order: 2; } .res.done #notes { order: 2; }
  .res.done #s-left { margin-top: 0; }
  .res.hascards:not(.done) #maphead { margin-top: 0; }
}
.how .big { font: 400 26px/1.3 var(--serif); color: var(--white); margin: 22px 0 8px; }
.how .steps { padding-left: 1.4em; margin: 0; max-width: 680px; }
.how .steps li { font: 400 17px/1.45 var(--serif); color: #cfccc3; margin: 0 0 12px; }
.how .steps b { color: var(--white); font-weight: 400; }
.how table.k12 { max-width: 680px; font-size: 13px; }
.s1 .fields + .fields { margin-top: 0; }
.try .pchip { font-size: 13px; padding: 4px 9px; }
@media (max-width: 720px) { .thumbs .thead { flex-direction: column; gap: 2px; } }
.sheet .close { background: rgba(11, 11, 11, .8); padding: 6px 8px; z-index: 2; }
.herom .ho { font-size: 11px; margin-top: 4px; }
.card .blurb { -webkit-line-clamp: 3; }   /* a condensed line (<= 9 words) always shows whole, on one or two lines */

/* ---------- round 6 (judge cuts) ---------- */
/* Cedric's seven: whole tiles only, one row (rows that don't fit collapse to nothing) */
.thumbs .trow { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 8px; }
.thumbs figure { flex: none; min-width: 0; overflow: hidden; }
.thumbs img { width: 100%; }
.tagline { font: 400 16px/1.4 var(--serif); color: #cfccc3; margin-top: 14px; max-width: 560px; }
.lovechip { font-size: 11px; }
/* the card: name, then the love (the payoff), then where and when */
.card .because { font: 400 17px/1.3 var(--serif); color: var(--white); padding-top: 0; margin-top: -2px; }
.card.struck .because { color: var(--faint); }
/* results header: desktop puts "7 for you" beside the map; phone has one line linking to the list */
.maplead .lead2 { margin-top: 0; font-size: 48px; } .maplead .lead2 .n { font-size: 48px; }
.maplead .leadsub { font-size: 13px; margin-top: 10px; }
.res.leadmap .leadhere { display: none; }
.mapfade { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 88%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 88%, transparent 100%); }
.res .xstrip { margin: 6px 0 0; justify-content: flex-end; }
.ph-only { display: none; } .dt-only { display: inline; }
.res .links .btn { font-size: 11px; }
@media (max-width: 720px) {
  .ph-only { display: inline; } .dt-only { display: none; }
  .res .xstrip { justify-content: flex-start; margin-top: 14px; }
  .res .xstrip .link { white-space: normal; font-size: 12px; flex: 1 1 auto; text-align: left; }
  .maphead { margin-top: 0; }
}
.doc .q { font: 400 19px/1.4 var(--serif); color: var(--white); }
/* landing hero: one idea, said once */
.s1 h1 .gx { color: var(--red); }
.receipt { font: 12px/1.4 var(--mono); color: var(--red); margin: 10px 0 0; letter-spacing: .02em; }
.subline { font: 400 19px/1.4 var(--serif); color: #cfccc3; margin: 14px 0 18px; max-width: 560px; }
@media (max-width: 720px) { .subline { font-size: 17px; } }

/* ---------- round 7: presets by their loves; seven cards with no orphan ---------- */
.pchip { white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.thumbs .thead .tl { min-width: 0; }
@media (max-width: 720px) {
  .pchip .lmid, .thumbs .thead .lmid { display: inline-block; max-width: 7.5em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
}
/* desktop: three across; card 1 (and a 7th that would sit alone) span two columns, laid out photo-beside-text */
@media (min-width: 1000px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards > .card:first-child:not(:last-child), .cards > .card:nth-child(7):last-child { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
  .cards > .card:first-child:not(:last-child) .pic, .cards > .card:nth-child(7):last-child .pic { aspect-ratio: auto; height: 100%; min-height: 300px; }
  .cards > .card:first-child:not(:last-child) .name, .cards > .card:nth-child(7):last-child .name { font-size: 32px; }
  .cards > .card:first-child:not(:last-child) .body, .cards > .card:nth-child(7):last-child .body { justify-content: center; padding: 22px 24px; }
}
/* in between: two across, card 1 spans both, the other six fill three rows */
@media (min-width: 721px) and (max-width: 999px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards > .card:first-child:not(:last-child) { grid-column: span 2; }
}
.try a.pchip { display: inline-block; flex-direction: row; padding: 4px 9px; }
/* no photo (missing or failed): no empty box; a thin bar keeps the number and the strike button */
.card .pic.none { aspect-ratio: auto !important; height: 50px !important; min-height: 0 !important; background: none; border-bottom: 1px solid var(--rule); }
.card .pic.none .fb { display: none !important; }
@media (min-width: 1000px) { .cards > .card:has(.pic.none) { display: flex !important; flex-direction: column; } }
.res .xstrip { justify-content: flex-start; }
.res .xstrip .link { white-space: normal; text-align: left; flex: 1 1 auto; }
.doc .answer { background: var(--panel); border: 1px solid var(--rule2); padding: 14px 16px; font: 400 15px/1.55 var(--serif); color: #dcd9d0; white-space: pre-wrap; overflow-wrap: anywhere; max-width: 760px; }
.doc .answer b { color: var(--white); font-weight: 600; }
.receipt .ri { white-space: nowrap; }

/* ---------- accessibility and layout stability (audit, 30 Oct) ---------- */
.res { min-height: 100svh; }   /* the results only: the landing ends at its content */
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.fld:focus-within { border-bottom-color: var(--ink); }
.card .xbtn { width: 44px; height: 44px; }
.foot a, .mark, .pchip, .cityopts button, .res .links .btn, .xstrip .link { min-height: 44px; display: inline-flex; align-items: center; }
.foot a { padding: 0 4px; }
.how .census { min-height: 260px; }
@media (min-width: 600px) { .res .maphead { min-height: 410px; } }
@media (max-width: 720px) {
  .slug, .cap, .chip i, .foot, .maplegend, .logbody, .legal, .counter-cap, .card .tag, .slider .end, .need, .fld .n { font-size: 11px; }
}
