/* xora dashboard (/app) and the legal pages. Black room, one sheet of white paper: the post.
   Builds on styles.css tokens. --coin is the coin's own color, set from its picture. */
.app-page { --paper: #f3f3f5; --ink: #0a0a0b; --ink-2: #66666d; --coin: #f4f4f2; min-height: 100svh; display: flex; flex-direction: column; font-size: 16px; }
.app-main { position: relative; z-index: 1; flex: 1; padding: 112px 0 88px; }

/* her: full bleed behind the top of the page, dissolving into the room */
.her { position: absolute; z-index: 0; top: 0; right: 0; width: min(100vw, 1180px); aspect-ratio: 3 / 2; overflow: hidden; pointer-events: none; -webkit-mask-image: linear-gradient(#000 62%, transparent 97%); mask-image: linear-gradient(#000 62%, transparent 97%); }
.her img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 100% 30%; opacity: 0; transform: translate(var(--px, 0), var(--py, 0)) scale(1.02); transition: opacity 1s var(--ease), transform .6s cubic-bezier(.2, .7, .2, 1); }
.her img.on { opacity: 1; }
body[data-mood="writing"] .her, body[data-mood="reading"] .her { animation: lit 3.2s ease-in-out infinite; }
body[data-mood="asleep"] .her { filter: brightness(1.7); }
@keyframes lit { 50% { filter: brightness(1.28); } }

.stage { min-height: 520px; display: flex; flex-direction: column; align-items: flex-start; padding: 10px 0 34px; }
.stage.small { min-height: 250px; }
.stage-id { display: flex; align-items: center; gap: 12px; font-size: 16px; color: var(--muted); }
.stage-id img { display: block; width: 40px; height: 40px; border-radius: 12px; object-fit: cover; }
.stage-id b { color: var(--text); font-weight: 600; }
.stage-id .textlink { margin-left: 4px; }
.app-page .stage h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(58px, 8vw, 118px); line-height: .92; letter-spacing: -0.03em; max-width: 7.2em; margin: auto 0 26px -0.03em; padding-top: 34px; overflow-wrap: anywhere; }
.stage-next { display: grid; gap: 4px; margin: 0; }
.stage-next b { font-size: 30px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stage-next > span { color: var(--muted); font-size: 16px; }
.stage .paces { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.stage .paces button { height: 42px; padding: 0 16px; border-radius: 99px; background: rgba(0,0,0,.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.stage .paces button[aria-pressed="true"] { background: #f4f4f2; }
.stage-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin-top: 18px; width: 100%; max-width: 400px; }
.stage-row .mode { flex: 1 1 320px; max-width: 360px; }
.stage-row .perday { margin: 0; flex: none; }
.stage > .hint { max-width: 36em; margin: 14px 0 0; }
.app-container { max-width: calc(1080px + var(--gutter) * 2); }
.app-loading { color: var(--muted); padding: 80px 0; text-align: center; }
body.is-busy { cursor: progress; }
body.is-busy [data-action], body.is-busy [type=submit] { pointer-events: none; }
.app-page h1, .app-page h2, .app-page h3 { font-family: var(--sans); margin: 0; letter-spacing: -0.035em; }
.app-page :focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 6px; }
.app-page .btn { border-radius: 99px; height: 44px; padding: 0 20px; font-size: 15px; }
.app-page .btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }
.app-page .btn-lg { height: 56px; padding: 0 30px; font-size: 17px; font-weight: 600; }
.app-page .btn-light { box-shadow: none; }
.app-page .btn-light:hover { box-shadow: none; background: #fff; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hint, .field small, .set-row small { color: var(--muted); font-size: 14px; line-height: 1.45; }
.err { color: var(--bad); font-size: 15px; margin: 10px 0 0; }
.textlink { background: none; border: 0; padding: 0; font: inherit; font-size: 14px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-3); cursor: pointer; }
.textlink:hover { color: #fff; text-decoration-color: currentColor; }
.side a:not(.quoted):not(.textlink), .fine a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-3); }
.acct { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: 14px; }
.acct img { width: 28px; height: 28px; border-radius: 50%; }

.app-banner { display: grid; gap: 10px; margin-bottom: 22px; }
.app-banner[hidden] { display: none; }
.banner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px 18px; border-radius: 14px; background: #2a1212; color: #ffd9d9; font-size: 15px; }
.toast { position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 80; max-width: min(520px, calc(100vw - 32px)); padding: 14px 22px; border-radius: 99px; background: var(--paper); color: var(--ink); font-size: 15px; font-weight: 500; animation: toastIn .35s var(--ease); }
.toast[hidden] { display: none; }
.toast.bad { background: #ffdcdc; color: #3a0000; border-radius: 18px; }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 8px); } }

/* before there's a project */
.gate, .setup { max-width: 560px; margin: 34px 0 0; }
.app-page .gate h1, .app-page .setup h1 { font-family: var(--serif); font-size: clamp(64px, 10vw, 128px); font-weight: 400; line-height: .9; letter-spacing: -0.03em; margin: 0 0 28px -0.03em; }
.gate p, .setup .lead { font-size: 18px; line-height: 1.5; color: var(--muted); margin: 0 0 26px; max-width: 34em; }
.gate b, .lead b { color: var(--text); font-weight: 500; }
.gate-list { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 14px; font-size: 16px; line-height: 1.5; color: var(--muted); }
.gate-list li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; }
.gate-list svg { width: 18px; height: 18px; margin-top: 4px; color: var(--text); }
.gate .fine { font-size: 14px; color: var(--dim); margin: 22px 0 0; }

/* the coin */
.coin { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; }
.coin-pic img { display: block; width: 72px; height: 72px; border-radius: 18px; object-fit: cover; }
.coin-name { min-width: 0; }
.coin-name h1 { font-size: clamp(30px, 5vw, 46px); font-weight: 900; line-height: 1; letter-spacing: -0.05em; overflow-wrap: anywhere; }
.coin-name p { margin: 8px 0 0; color: var(--muted); font-size: 15px; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); margin: 0 5px 1px 6px; }
.coin-name p > .dot:first-child { margin-left: 0; }
.dot.off { background: var(--warn); }
.tabs { display: flex; gap: 28px; margin: 30px 0 34px; border-bottom: 1px solid var(--line-2); }
.tabs a { position: relative; padding: 0 0 14px; font-size: 17px; font-weight: 500; color: var(--muted); letter-spacing: -0.01em; }
.tabs a:hover { color: var(--text); }
.tabs a[aria-current] { color: var(--text); }
.tabs a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--coin); }
.tabs b { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 8px; border-radius: 99px; background: var(--paper); color: var(--ink); font-size: 12px; font-weight: 700; vertical-align: 2px; }

.cols { display: grid; grid-template-columns: minmax(0, 620px) minmax(0, 1fr); gap: 56px; align-items: start; }
aside { display: grid; gap: 40px; min-width: 0; }
.also { font-size: 22px; font-weight: 800; margin: 52px 0 18px !important; }

/* the post, as paper */
.draft { margin-bottom: 34px; }
.paper { background: var(--paper); color: var(--ink); border-radius: 26px; padding: 24px 26px 26px; }
.draft:not(.lead) .paper { border-radius: 20px; padding: 20px 22px 22px; }
.paper-head { display: flex; align-items: center; gap: 12px; }
.paper-head img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.paper-head div { flex: 1; min-width: 0; line-height: 1.25; }
.paper-head b { display: block; font-weight: 700; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.paper-head span { color: var(--ink-2); font-size: 15px; }
.paper-head em { font-style: normal; font-size: 13px; font-weight: 600; padding: 6px 13px; border-radius: 99px; background: var(--ink); color: #fff; white-space: nowrap; }
.paper textarea { display: block; width: 100%; margin: 16px 0 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; font-size: 18px; line-height: 1.42; letter-spacing: -0.008em; resize: none; overflow: hidden; }
.draft.lead .paper textarea { font-size: clamp(20px, 2.6vw, 25px); line-height: 1.32; letter-spacing: -0.018em; }
.paper textarea:focus { outline: none; }
.paper:focus-within { box-shadow: 0 0 0 3px rgba(255,255,255,.28); }
.paper-pic { display: block; width: 100%; height: auto; margin-top: 18px; border-radius: 16px; background: #dedee3; }
.quoted { display: block; margin-top: 12px; padding: 12px 15px; border-radius: 14px; border: 1px solid rgba(0,0,0,.14); font-size: 15px; line-height: 1.4; color: inherit; white-space: pre-line; overflow-wrap: anywhere; }
.side .quoted { border-color: var(--line-2); color: var(--muted); margin-top: 8px; font-size: 14px; }
.side .quoted b { color: var(--text); }
.draft-foot { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; margin-top: 16px; }
.count, .when { color: var(--dim); font-size: 14px; font-variant-numeric: tabular-nums; }
.count.over { color: var(--bad); }
.btn-post { padding: 0 28px !important; font-weight: 700; }
.looks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; align-items: center; }
.look { padding: 0; border: 0; background: #111; border-radius: 10px; overflow: hidden; cursor: pointer; width: 96px; height: 54px; opacity: .62; transition: opacity .15s; }
.look img { display: block; width: 100%; height: 100%; object-fit: cover; }
.look:hover, .look.on { opacity: 1; }
.look.on { box-shadow: 0 0 0 2px #000, 0 0 0 4px #fff; }
.look.none { width: auto; padding: 0 14px; color: var(--muted); font: inherit; font-size: 14px; opacity: 1; background: none; }
.look.none:hover { color: #fff; }
.alts { margin-top: 28px; }
.alts h3 { font-size: 16px; font-weight: 600; color: var(--muted); letter-spacing: -0.01em; margin-bottom: 4px !important; }
.alts button { display: block; width: 100%; text-align: left; padding: 14px 0; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--text); font: inherit; font-size: 17px; line-height: 1.42; white-space: pre-line; cursor: pointer; overflow-wrap: anywhere; }
.alts button:hover { color: #fff; padding-left: 8px; transition: padding .18s var(--ease); }
.draft > .textlink { margin-top: 14px; }

.nothing { padding: 56px 0 44px; max-width: 30em; }
.nothing p { font-size: 22px; line-height: 1.35; letter-spacing: -0.015em; color: var(--muted); margin: 0; }
.ask { margin-top: 34px; padding: 20px 22px 18px; border-radius: 24px; background: #111113; box-shadow: inset 0 0 0 1px var(--line-2); }
.ask label { display: block; font-weight: 600; font-size: 17px; }
.ask-row { display: flex; gap: 12px; align-items: flex-end; margin-top: 12px; }
.ask textarea { flex: 1; min-width: 0; padding: 13px 16px; border: 0; border-radius: 14px; background: #000; color: var(--text); font: inherit; font-size: 16px; line-height: 1.4; resize: none; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line-2); }
.ask textarea:focus { outline: none; box-shadow: inset 0 0 0 1px #fff; }
.ask textarea::placeholder { color: var(--dim); }
.ask small { display: block; margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.4; }
.side .next-in { color: var(--text); font-size: 34px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; margin: 12px 0 8px; font-variant-numeric: tabular-nums; }
.paces { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 16px; }
.paces button { height: 44px; padding: 0 4px; border: 0; border-radius: 14px; background: #111113; color: var(--muted); font: inherit; font-size: 15px; white-space: nowrap; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line-2); transition: background .15s, color .15s; }
.paces button:hover { color: #fff; }
.paces button[aria-pressed="true"] { background: #f4f4f2; color: #050505; font-weight: 600; box-shadow: none; }
.paces button:last-child { grid-column: span 2; }
.paces button:disabled { opacity: .4; cursor: default; }
.perday { display: flex; align-items: center; gap: 10px; margin-top: 14px; color: var(--muted); font-size: 15px; }
.perday b { color: var(--text); font-size: 18px; min-width: 1.6em; text-align: center; font-variant-numeric: tabular-nums; }
.perday button { width: 38px; height: 38px; border: 0; border-radius: 50%; background: #111113; color: var(--text); font: inherit; font-size: 20px; line-height: 1; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line-2); }
.perday button:hover { background: #1c1c1f; }
@media (max-width: 480px) { .ask-row { flex-direction: column; align-items: stretch; } }
.make { display: grid; grid-template-columns: 1fr; gap: 12px; align-items: start; margin-top: 10px; }
.own { border: 1px solid var(--line-2); border-radius: 22px; padding: 11px 18px; }
.own:focus-within { border-color: var(--line-3); }
.own textarea { display: block; width: 100%; border: 0; background: none; color: var(--text); font: inherit; font-size: 16px; line-height: 1.4; padding: 0; resize: none; overflow: hidden; min-height: 22px; }
.own textarea:focus { outline: none; }
.own-foot { display: none; justify-content: space-between; align-items: center; margin-top: 12px; }
.own:focus-within .own-foot, .own:has(textarea:not(:placeholder-shown)) .own-foot { display: flex; }

.row-post { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.row-post:not(:has(> .grow)) { display: block; }
.row-post > img { width: 120px; height: 68px; object-fit: cover; border-radius: 10px; flex: none; }
.row-post .grow { flex: 1; min-width: 0; }
.row-post p { margin: 0; font-size: 17px; line-height: 1.4; white-space: pre-line; overflow-wrap: anywhere; }
.row-post p + div { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 8px; color: var(--dim); font-size: 14px; }
.stats b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; margin-left: 10px; }
.stats b:first-child { margin-left: 0; }

/* the side */
.side h2 { font-size: 19px; font-weight: 700; letter-spacing: -0.025em; margin-bottom: 14px; }
.side-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.side > p { color: var(--muted); font-size: 15px; line-height: 1.5; margin: 0; }
.side .hint { margin-top: 12px; }
.knows .gist { color: var(--text); font-size: 17px; line-height: 1.42; letter-spacing: -0.01em; margin-bottom: 18px; }
.knows > ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.knows > ul > li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; font-size: 15px; }
.knows > ul > li > svg { width: 18px; height: 18px; margin-top: 2px; }
.knows .no > svg { color: var(--dim); }
.knows .no b { color: var(--muted); font-weight: 500; }
.knows li b { font-weight: 500; }
.knows small { display: block; color: var(--muted); font-size: 14px; line-height: 1.45; margin-top: 2px; overflow-wrap: anywhere; }
.thumbs { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.thumbs img { width: 52px; height: 52px; object-fit: cover; border-radius: 10px; }
details { margin-top: 18px; font-size: 15px; color: var(--muted); }
summary { cursor: pointer; color: var(--muted); }
summary:hover { color: var(--text); }
details p { line-height: 1.5; margin: 12px 0 0; }
.plainlist { padding-left: 18px; margin: 10px 0 0; display: grid; gap: 8px; line-height: 1.45; font-size: 14px; }
.facts { margin: 0; display: grid; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts div:last-child { border: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; font-variant-numeric: tabular-nums; text-align: right; }

/* review or run: the one object in the room */
.mode { position: relative; display: grid; grid-template-columns: 1fr 1fr; transition: grid-template-columns .4s var(--ease); height: 74px; border-radius: 99px; background: #070707; box-shadow: inset 0 0 0 1px rgba(255,255,255,.16), inset 0 10px 22px rgba(0,0,0,.9), inset 0 -1px 0 rgba(255,255,255,.22); user-select: none; }
.mode label { position: relative; display: grid; place-items: center; cursor: pointer; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: var(--dim); text-align: center; transition: color .25s; z-index: 1; }
.mode label:first-child { padding-left: 74px; padding-right: 2px; }
.mode label:nth-child(2) { padding-right: 74px; padding-left: 2px; }
.mode[data-mode="auto"] label:first-child { padding-left: 18px; }
.mode[data-mode="approve"] label:nth-child(2) { padding-right: 18px; }
.mode[data-mode="auto"] label:nth-child(2) { padding-right: 78px; }
.mode input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.mode[data-mode="approve"] label:first-child, .mode[data-mode="auto"] label:nth-child(2) { color: var(--text); }
.mode:has(:focus-visible) { outline: 2px solid #fff; outline-offset: 3px; }
.ball { position: absolute; top: 8px; left: 8px; width: 58px; height: 58px; border-radius: 50%; transition: left .5s cubic-bezier(.5, 1.35, .5, 1);
  background:
    radial-gradient(ellipse 34% 20% at 40% 17%, rgba(255,255,255,.95) 0 40%, transparent 72%),
    radial-gradient(circle at 66% 50%, rgba(255,255,255,.9) 0 2.5%, transparent 6%),
    radial-gradient(ellipse 62% 24% at 50% 88%, rgba(255,255,255,.34), transparent 70%),
    linear-gradient(180deg, transparent 46%, rgba(255,255,255,.2) 49%, transparent 56%),
    radial-gradient(circle at 42% 34%, #6d6d70 0, #2a2a2c 34%, #0b0b0c 66%, #4a4a4d 97%);
  box-shadow: 0 8px 18px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.14); }
.mode[data-mode="approve"] { grid-template-columns: 1.45fr 1fr; }
.mode[data-mode="auto"] { grid-template-columns: 1fr 1.25fr; }
.mode[data-mode="auto"] .ball { left: calc(100% - 66px); }

/* setup and settings */
.set { padding: 34px 0; border-top: 1px solid var(--line-2); display: grid; gap: 20px; }
.setup .set:first-of-type { margin-top: 34px; }
.set h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.04em; }
.set > p { margin: 0; color: var(--muted); }
.settings { max-width: 680px; }
.settings .set:first-child { border-top: 0; padding-top: 0; }
.settings + .set, .set.admin { max-width: 680px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field > label { font-size: 15px; font-weight: 500; }
.app-page input:not([type=radio]):not([type=checkbox]), .field textarea, .app-page select { width: 100%; border: 1px solid var(--line-2); border-radius: 14px; background: #0a0a0a; color: var(--text); font: inherit; font-size: 16px; padding: 13px 16px; }
.field textarea { resize: vertical; line-height: 1.5; }
.app-page input::placeholder, .app-page textarea::placeholder { color: var(--dim); }
.app-page input:focus, .field textarea:focus, .app-page select:focus { outline: none; border-color: rgba(255,255,255,.55); }
.inline { display: flex; gap: 10px; align-items: center; }
.inline input { flex: 1; min-width: 0; }
.set-row { display: flex; justify-content: space-between; align-items: center; gap: 22px; }
.set-row b { display: block; font-size: 16px; font-weight: 500; }
.set-row small { display: block; margin-top: 2px; }
.set-row select { display: inline-block; width: auto !important; padding: 4px 10px !important; border-radius: 99px !important; font-size: 14px !important; margin-left: 2px; }
.app-page input.num { width: 84px; text-align: center; }
.switch { position: relative; display: inline-block; width: 50px; height: 30px; flex: none; }
.switch input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.switch i { position: absolute; inset: 0; border-radius: 99px; background: #1b1b1d; transition: background .2s; }
.switch i::after { content: ""; position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 50%; background: #77777c; transition: transform .25s var(--ease), background .2s; }
.switch input:checked + i { background: var(--paper); }
.switch input:checked + i::after { transform: translateX(20px); background: var(--ink); }
.switch input:disabled + i { opacity: .4; }
.switch input:focus-visible + i { outline: 2px solid #fff; outline-offset: 3px; }
.voices { display: grid; gap: 10px; }
.voices label { position: relative; cursor: pointer; }
.voices input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.voices span { display: grid; grid-template-columns: 92px 1fr; gap: 2px 18px; padding: 16px 20px; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line-2); }
.voices b { font-size: 18px; font-weight: 800; letter-spacing: -0.03em; grid-row: span 2; align-self: center; }
.voices small { font-size: 14px; color: var(--muted); }
.voices q { quotes: none; font-size: 16px; line-height: 1.4; }
.voices input:checked + span { background: var(--paper); color: var(--ink); box-shadow: none; }
.voices input:checked + span small { color: var(--ink-2); }
.voices input:focus-visible + span { outline: 2px solid #fff; outline-offset: 3px; }
.found { display: flex; align-items: center; gap: 14px; padding: 12px 0 2px; }
.found img { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; }
.found small { display: block; color: var(--muted); font-size: 14px; }
.save { position: sticky; bottom: 0; padding: 18px 0 22px; background: linear-gradient(180deg, transparent, #000 30%); z-index: 3; }
.setup > .btn { margin-top: 8px; }
.btn.danger:hover { border-color: var(--bad); color: var(--bad); }

/* results */
.totals { display: flex; flex-wrap: wrap; gap: 18px 56px; align-items: flex-end; }
.totals div { display: grid; gap: 4px; }
.totals b { font-size: 34px; font-weight: 800; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.totals span { color: var(--muted); font-size: 15px; }
.totals .big b { font-size: clamp(64px, 11vw, 124px); font-weight: 900; letter-spacing: -0.055em; line-height: .86; padding-bottom: .14em; }
.bars { display: grid; grid-template-columns: repeat(14, 1fr); gap: 6px; height: 190px; margin: 44px 0 0; position: relative; padding-bottom: 30px; }
.bars div { display: flex; align-items: flex-end; border-bottom: 1px solid var(--line-2); }
.bars i { display: block; width: 100%; background: var(--coin); border-radius: 5px 5px 0 0; min-height: 0; }
.bars figcaption { position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; color: var(--dim); font-size: 14px; }
.reading { font-size: 22px; letter-spacing: -0.02em; line-height: 1.35; margin: 46px 0 0; }
.ranked h2 { font-size: 22px; font-weight: 800; margin: 54px 0 8px; }
.ranked-row { position: relative; }
.meter { height: 3px; background: none; margin-top: 4px; }
.meter i { display: block; height: 100%; background: var(--coin); border-radius: 2px; }
.ranked-row .row-post { padding-top: 14px; }

@media (max-width: 940px) {
  .cols { grid-template-columns: minmax(0, 1fr); gap: 52px; }
  aside { max-width: 620px; }
}
/* whose account it is */
.choose button { display: grid; gap: 6px; width: 100%; margin-top: 14px; padding: 24px 26px; text-align: left; border: 0; border-radius: 24px; background: rgba(17, 17, 19, .82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--text); font: inherit; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line-2); transition: background .2s, color .2s; }
.choose button b { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.choose button span { color: var(--muted); font-size: 16px; line-height: 1.4; transition: color .2s; }
.choose button:hover { background: #f4f4f2; color: #050505; }
.choose button:hover span { color: #55555a; }
.topics { display: flex; flex-wrap: wrap; gap: 9px; }
.topics label { position: relative; cursor: pointer; }
.topics input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.topics span { display: block; padding: 11px 18px; border-radius: 99px; font-size: 16px; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line-2); transition: background .15s, color .15s; }
.topics label:hover span { color: #fff; }
.topics input:checked + span { background: #f4f4f2; color: #050505; font-weight: 500; box-shadow: none; }
.topics label:has(:focus-visible) span { outline: 2px solid #fff; outline-offset: 2px; }
.more-voice summary { cursor: pointer; color: var(--muted); font-size: 15px; }
.more-voice .voices { margin-top: 16px; }
.setup > .textlink { margin: -8px 0 22px; }
.stories ul { list-style: none; margin: 14px 0 0; padding: 0; }
.stories li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.stories li p { margin: 0; font-size: 16px; line-height: 1.4; color: var(--text); }
.stories li small { display: block; margin-top: 6px; color: var(--dim); font-size: 14px; }
.stories li .textlink { margin-top: 10px; color: var(--text); }
.stories li em { display: block; margin-top: 8px; font-style: normal; font-size: 14px; color: var(--dim); }
.stories li.used p { color: var(--dim); }

@media (max-width: 940px) {
  .her { width: 100vw; aspect-ratio: auto; height: 520px; }
  .her img { object-position: 88% 20%; }
  .stage { min-height: 600px; }
}
@media (max-width: 640px) {
  .her { height: 430px; }
  .her img { width: 178%; left: auto; right: -4%; object-position: 100% 0; }
  .stage { min-height: 0; padding-top: 292px; position: relative; }
  .stage.small { min-height: 0; padding-top: 190px; }
  .stage-id { position: absolute; top: 0; left: 0; right: 0; }
  .app-page .stage h1 { margin: 0 0 18px; padding-top: 0; font-size: clamp(52px, 15.5vw, 74px); text-shadow: 0 0 34px #000; }
  .stage .paces { display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; }
  .stage .paces button { padding: 0 4px; }
  .stage-row .mode { flex-basis: 100%; max-width: none; }
  .gate, .setup { margin-top: 0; padding-top: 250px; }
}
@media (prefers-reduced-motion: reduce) {
  .her img { transition: none; }
  body[data-mood] .her { animation: none; }
}
@media (max-width: 640px) {
  .app-main { padding: 96px 0 64px; }
  .acct span { display: none; }
  .coin { grid-template-columns: auto 1fr; gap: 14px; }
  .coin-pic img { width: 56px; height: 56px; border-radius: 15px; }
  .coin > .btn { grid-column: 1 / -1; }
  .tabs { gap: 24px; margin: 24px 0 26px; }
  .paper { padding: 18px 18px 20px; border-radius: 22px; }
  .draft-foot { grid-template-columns: auto 1fr; }
  .draft-foot .when { text-align: right; }
  .draft-foot .row { grid-column: 1 / -1; flex-wrap: wrap; }
  .draft-foot .btn { padding: 0 16px; }
  .draft-foot .btn-post { flex: 1; }
  .looks { flex-wrap: nowrap; overflow-x: auto; margin-right: calc(var(--gutter) * -1); padding: 4px var(--gutter) 6px 4px; scrollbar-width: none; }
  .look { flex: none; }
  .make { grid-template-columns: minmax(0, 1fr); }
  .row-post > img { width: 84px; height: 48px; }
  .voices span { grid-template-columns: 1fr; }
  .voices b { grid-row: auto; }
  .totals { gap: 18px 36px; }
  .totals .big { flex-basis: 100%; }
  .bars { gap: 3px; height: 150px; }
  .save .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .ball, .switch i, .switch i::after { transition: none; }
}

/* legal pages */
.legal { max-width: 720px; margin: 0 auto; }
.legal h1 { font-size: clamp(44px, 6vw, 68px); margin-bottom: 10px; }
.legal h2 { font-family: var(--serif); font-weight: 400; font-size: 28px; margin: 40px 0 10px; }
.legal p, .legal li { color: var(--muted); font-size: 16px; line-height: 1.65; }
.legal li { margin-bottom: 6px; }
.legal b { color: var(--text); font-weight: 500; }
.legal a { color: var(--text); border-bottom: 1px solid var(--line-3); }

/* asked once: may the homepage show them? */
.ask-wall { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 0 0 34px; padding: 16px 20px; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; }
.ask-wall p { flex: 1 1 300px; margin: 0; line-height: 1.45; }

/* the first comment under every post, as it will read */
.comment-eg { margin: 0 0 18px; padding: 14px 18px; border-left: 2px solid rgba(255,255,255,.22); font: inherit; font-size: 15px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; color: #c9c9c6; }

/* the Live tab */
.live-lead { max-width: 44em; margin: 0 0 16px; color: #c9c9c6; line-height: 1.5; }
.live-list { display: grid; gap: 14px; margin: 26px 0 34px; max-width: 760px; }
.live { padding: 18px 20px; border: 1px solid rgba(255,255,255,.16); border-radius: 16px; }
.live header { display: flex; align-items: center; gap: 12px; }
.live header img { border-radius: 50%; }
.live header div { flex: 1; min-width: 0; }
.live header b { display: block; }
.live header span, .live time { color: #8b8b86; font-size: 14px; }
.live .theirs { margin: 12px 0 14px; color: #c9c9c6; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; overflow: hidden; }
.live textarea { width: 100%; padding: 12px 16px; border: 0; border-left: 3px solid #f4f4f2; border-radius: 0 10px 10px 0; background: rgba(255,255,255,.05); color: #fff; font: inherit; font-size: 18px; line-height: 1.4; resize: none; }
.live .row { margin-top: 14px; }
.live-who summary { cursor: pointer; }
.live-follow { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 26px; }
.live-follow a { padding: 8px 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 99px; font-size: 14.5px; }
.live-follow a:hover { border-color: #fff; }
.live-follow a:visited { color: #77776f; }

/* how she should post: the owner's own words, if they want to say */
.direct { margin-top: 14px; }
.direct label span { margin-left: 8px; font-weight: 400; font-size: 14px; color: var(--muted); }
.direct .btn-ghost { flex: none; }
