/* whydot — the web app's stylesheet.
 *
 * The look approved by the owner in the Designs app: DSN-V8DM (2026-11-14: logo C, the Iris
 * colour, type and shapes) and DSN-MJS2 (2026-11-15: the account area). This file is the
 * source; service/src/web/assets.ts carries a generated copy inside the service image, and
 * service/test/web-assets.test.ts fails if the two differ.
 *
 * No inline style and no inline script anywhere in the app: the pages are served with
 * style-src 'self' and script-src 'self', so everything visual has to be a class in here.
 */

@font-face { font-family: "Geist"; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/assets/fonts/geist-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/assets/fonts/geist-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url(/assets/fonts/geist-mono-latin.woff2) format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url(/assets/fonts/instrument-serif-italic-latin.woff2) format("woff2"); }

:root {
  --ink: #0b0b14; --ink-2: #13131f; --ink-3: #1d1d2b; --ink-line: rgba(255,255,255,.10); --ink-muted: rgba(255,255,255,.62); --ink-faint: rgba(255,255,255,.40);
  --paper: #f6f6f9; --card: #ffffff; --line: #e6e6ee; --line-2: #efeff4;
  --text: #11111a; --muted: #62627a; --faint: #9696aa;
  --accent: #5b47ff; --accent-2: #27b4ff; --on-accent: #ffffff; --accent-text: #4a36f0; --accent-soft: #eeebff; --glow: 91,71,255; --glow-2: 39,180,255;
  --ok: #0c9a68; --ok-soft: #e2f6ed; --warn: #a8690a; --warn-soft: #fcf2dc;
  --r-sm: 10px; --r: 16px; --r-lg: 24px; --r-xl: 32px;
  --shadow: 0 1px 2px rgba(17,17,26,.04), 0 10px 28px -14px rgba(17,17,26,.12);
  --shadow-lg: 0 2px 4px rgba(17,17,26,.04), 0 28px 64px -28px rgba(17,17,26,.26);
  --sans: "Geist", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --serif: "Instrument Serif", Georgia, serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: var(--paper); color: var(--text); font-family: var(--sans); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-feature-settings: "ss01", "cv11"; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
em.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.mono { font-family: var(--mono); font-feature-settings: normal; letter-spacing: -0.02em; }
.muted { color: var(--muted); } .faint { color: var(--faint); }
.num { font-variant-numeric: tabular-nums; }

.wrap { width: 100%; max-width: 1248px; margin: 0 auto; padding: 0 24px; }

/* ------------------------------------------------------------ brand */
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 21px; letter-spacing: -0.045em; line-height: 1; }
.brand svg { display: block; height: 22px; width: auto; }
.brand .odot { display: inline-block; width: .56em; height: .56em; border-radius: 50%; margin: 0 .035em; background: linear-gradient(135deg, var(--accent), var(--accent-2)); transform: translateY(.01em); }
.orb { display: inline-block; border-radius: 50%; background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.85) 0, rgba(255,255,255,0) 34%), linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 0 0 4px rgba(var(--glow), .13), 0 6px 18px -4px rgba(var(--glow), .55); flex: none; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--faint); flex: none; }
.dot.on { background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 0 0 4px rgba(var(--glow), .16); }
.dot.ok { background: var(--ok); } .dot.warn { background: #e0a020; }

/* ------------------------------------------------------------ nav */
.nav { height: 72px; display: flex; align-items: center; justify-content: space-between; }
.nav .links { display: flex; gap: 6px; font-size: 14.5px; font-weight: 450; }
.nav .links a { padding: 8px 14px; border-radius: 999px; color: var(--muted); }
.nav .links a.here { color: var(--text); background: rgba(17,17,26,.055); }
.nav .right { display: flex; align-items: center; gap: 10px; }
.nav.dark .links a { color: var(--ink-muted); } .nav.dark .links a.here { color: #fff; background: rgba(255,255,255,.09); }
.appbar { background: rgba(246,246,249,.86); border-bottom: 1px solid var(--line); }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; display: grid; place-items: center; letter-spacing: 0; }
.bell { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); display: grid; place-items: center; position: relative; color: var(--muted); }
.bell::after { content: ""; position: absolute; top: 7px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); border: 2px solid var(--card); }

/* ------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 550; letter-spacing: -0.01em; border: 0; white-space: nowrap; }
.btn.primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--on-accent); box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 10px 24px -10px rgba(var(--glow), .7); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.light { background: #fff; color: var(--ink); }
.btn.ghost { background: var(--card); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn.quiet { background: rgba(17,17,26,.055); color: var(--text); }
.btn.onink { background: rgba(255,255,255,.09); color: #fff; box-shadow: inset 0 0 0 1px var(--ink-line); }
.btn.sm { height: 36px; padding: 0 15px; font-size: 14px; }
.btn.lg { height: 54px; padding: 0 28px; font-size: 16.5px; }
.btn.block { width: 100%; }
.btn svg { width: 16px; height: 16px; }

/* ------------------------------------------------------------ small parts */
.tag { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 11px; border-radius: 999px; font-size: 12.5px; font-weight: 500; background: rgba(17,17,26,.055); color: var(--muted); white-space: nowrap; }
.tag.accent { background: var(--accent-soft); color: var(--accent-text); }
.tag.ok { background: var(--ok-soft); color: var(--ok); }
.tag.warn { background: var(--warn-soft); color: var(--warn); }
.tag.line { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.tag.onink { background: rgba(255,255,255,.08); color: var(--ink-muted); box-shadow: inset 0 0 0 1px var(--ink-line); }
.tag svg { width: 13px; height: 13px; }
.eyebrow { font-size: 12.5px; font-weight: 550; letter-spacing: .07em; text-transform: uppercase; color: var(--faint); }

.card { background: var(--card); border-radius: var(--r-lg); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.card.flat { box-shadow: 0 0 0 1px var(--line); }
.card.pad { padding: 28px; }
.card h3 { font-size: 17px; letter-spacing: -0.02em; }
.rows > * + * { border-top: 1px solid var(--line-2); }

/* A domain name set as a name: the label in ink, the ending quieter. */
.dn { font-weight: 600; letter-spacing: -0.045em; line-height: 1; white-space: nowrap; }
.dn i { font-style: normal; color: var(--faint); font-weight: 500; }
.dn.onink i { color: var(--ink-faint); }

.kv { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; font-size: 14.5px; }
.kv dt, .kv .k { color: var(--muted); }
.kv .v { font-weight: 500; text-align: right; }
.kv.total { padding-top: 16px; font-size: 16px; } .kv.total .v { font-size: 22px; font-weight: 600; letter-spacing: -0.03em; }

.field { display: block; }
.field .lab { display: block; font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 7px; }
.input { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; }
.input.focus { box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 4px rgba(var(--glow), .14); }
.input { white-space: nowrap; } .input .pre { color: var(--faint); } .input .grow { flex: 1; }

.switch { width: 40px; height: 24px; border-radius: 999px; background: #d5d5df; position: relative; flex: none; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch.on { background: linear-gradient(135deg, var(--accent), var(--accent-2)); } .switch.on::after { left: 19px; }

.radio { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #c9c9d6; flex: none; }
.radio.on { box-shadow: inset 0 0 0 6px var(--accent); }
.check { width: 20px; height: 20px; border-radius: 7px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--on-accent); display: grid; place-items: center; flex: none; }
.check svg { width: 12px; height: 12px; }

/* The deal line: every deal is the same five points, and the dot shows where it is. */
.track { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: relative; }
.track .pt { position: relative; padding-top: 30px; }
.track .pt::before { content: ""; position: absolute; top: 8px; left: 0; right: 0; height: 2px; background: var(--line); }
.track .pt:first-child::before { left: 9px; } .track .pt:last-child::before { right: calc(100% - 9px); }
.track .pt.done::before { background: var(--text); }
.track .pt.now::before { background: linear-gradient(90deg, var(--text) 0, var(--text) 9px, var(--line) 9px); }
.track .pt:first-child.now::before { background: var(--line); }
.track .pt::after { content: ""; position: absolute; top: 0; left: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--card); box-shadow: inset 0 0 0 2px #cfcfda; }
.track .pt.done::after { background: var(--text); box-shadow: none; }
.track .pt.now::after { background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 0 0 5px rgba(var(--glow), .18); }
.track .pt b { display: block; font-size: 14.5px; font-weight: 550; letter-spacing: -0.01em; }
.track .pt span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.track .pt.todo b { color: var(--faint); font-weight: 500; }

footer.site { border-top: 1px solid var(--line); margin-top: 96px; padding: 36px 0 44px; font-size: 13.5px; color: var(--muted); }
footer.site .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
footer.site nav { display: flex; gap: 24px; }
footer.site a.h { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------ the account area */
:root { --bad: #c8322b; --bad-soft: #fdecea; }
/* In the account area the avatar carries the ring: it is where you are. */
.appbar.in-account .avatar { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--accent); }

.acct { max-width: 920px; margin: 0 auto; display: grid; grid-template-columns: 196px 1fr; gap: 64px; padding-top: 64px; align-items: start; }
.rail { display: grid; gap: 2px; }
.rail a { display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 14px; border-radius: 999px; font-size: 15px; font-weight: 450; color: var(--muted); }
.rail a svg { width: 16px; height: 16px; }
.rail a.here { background: var(--card); color: var(--text); font-weight: 550; box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.rail a.here svg { color: var(--accent); }
.rail hr { border: 0; height: 1px; background: var(--line); margin: 14px; }

.main h1 { font-size: 48px; letter-spacing: -0.05em; }
.main h1 em { font-size: 55px; }
.main .sub { color: var(--muted); font-size: 17px; margin-top: 12px; }
.main .card { margin-top: 36px; }
.main .card + .card { margin-top: 16px; }
.main h2 { font-size: 15px; font-weight: 550; color: var(--muted); letter-spacing: 0; margin: 40px 4px -22px; }
.note { display: flex; align-items: center; gap: 10px; margin: 20px 4px 0; font-size: 14.5px; color: var(--muted); }
.note svg { width: 16px; height: 16px; flex: none; }

/* One line of an account card: what it is, one short line about it, one thing to do. */
.line { display: flex; align-items: center; gap: 16px; padding: 22px 28px; min-height: 86px; }
.line + .line { border-top: 1px solid var(--line-2); }
.line .ic { width: 42px; height: 42px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; flex: none; color: var(--text); }
.line .ic svg { width: 17px; height: 17px; }
.line .ic.ok { background: var(--ok-soft); color: var(--ok); }
.line .ic.on { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; box-shadow: 0 0 0 4px rgba(var(--glow), .14); }
.line .t { flex: 1; min-width: 0; }
.line .t b { display: block; font-size: 16.5px; font-weight: 550; letter-spacing: -0.02em; white-space: nowrap; }
.line .t span { display: block; font-size: 14.5px; color: var(--muted); margin-top: 2px; white-space: nowrap; }
.line .amt { font-size: 17px; font-weight: 500; letter-spacing: -0.02em; white-space: nowrap; }
.line.add { color: var(--faint); font-size: 16.5px; gap: 14px; min-height: 68px; }
.line.add svg { width: 18px; height: 18px; }
.line.off .t b, .line.off .ic { color: var(--faint); }
.tag.lg { height: 30px; font-size: 13.5px; padding: 0 13px; }
.iconbtn { width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); background: var(--card); display: grid; place-items: center; color: var(--muted); flex: none; }
.iconbtn svg { width: 16px; height: 16px; }

/* Dialogs sit on the page they came from. */
.scrim { position: absolute; inset: 0; background: rgba(11,11,20,.46); display: grid; place-items: center; z-index: 5; }
.dialog { width: 520px; background: var(--card); border-radius: var(--r-xl); padding: 40px 40px 36px; box-shadow: var(--shadow-lg); position: relative; }
.dialog .close { position: absolute; top: 20px; right: 20px; }
.dialog h1 { font-size: 38px; letter-spacing: -0.045em; }
.dialog h1 em { font-size: 44px; }
.dialog p { color: var(--muted); font-size: 16.5px; margin-top: 12px; line-height: 1.45; }
.dialog .acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
.dialog .acts .btn { height: 54px; font-size: 16.5px; }
.btn.bad { background: var(--bad-soft); color: var(--bad); }

/* Panels that drop from the app bar. */
.drop { position: relative; height: 0; z-index: 5; }
.panel { position: absolute; top: 6px; right: 24px; background: var(--card); border-radius: var(--r-lg); box-shadow: 0 0 0 1px var(--line), var(--shadow-lg); overflow: hidden; }

/* ------------------------------------------------------------ real controls
   The approved screens drew fields and buttons as shapes. These rules make an actual input, select
   and button take those shapes, and nothing more. */
button { font: inherit; cursor: pointer; }
a.btn, button.btn { text-decoration: none; }
input.input, select.input { width: 100%; border: 0; outline: 0; font: inherit; font-size: 15px; color: var(--text); appearance: none; -webkit-appearance: none; }
input.input:focus, select.input:focus { box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 4px rgba(var(--glow), .14); }
input.input[readonly] { color: var(--muted); background: var(--paper); }
select.input { background-image: linear-gradient(45deg, transparent 50%, var(--faint) 50%), linear-gradient(135deg, var(--faint) 50%, transparent 50%); background-position: calc(100% - 21px) 21px, calc(100% - 16px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.btn:focus-visible, .rail a:focus-visible, .railbtn:focus-visible, .linkbtn:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.formerror { margin: 20px auto 0; max-width: 620px; padding: 12px 18px; border-radius: 14px; background: var(--bad-soft); color: var(--bad); font-size: 15px; text-align: left; }
.formok { margin-top: 20px; padding: 12px 18px; border-radius: 14px; background: var(--ok-soft); color: var(--ok); font-size: 15px; }
.main .formerror { margin-left: 0; }
.linkbtn { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line); }
.railbtn { display: flex; align-items: center; gap: 12px; width: 100%; height: 42px; padding: 0 14px; border: 0; border-radius: 999px; background: none; font-size: 15px; font-weight: 450; color: var(--muted); text-align: left; }
.railbtn svg { width: 16px; height: 16px; }
.line form { display: inline-flex; }

/* ------------------------------------------------------------ the one-question pages
   Signing in, the code, the first-time name. Dark, one headline, one field. */
.hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; min-height: 100vh; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(820px 460px at 50% 112%, rgba(var(--glow), .55), transparent 70%), radial-gradient(520px 360px at 88% -8%, rgba(var(--glow-2), .18), transparent 70%); }
.hero .wrap { position: relative; min-height: 100vh; padding-bottom: 96px; }
.hero .brand { color: #fff; }
.headline { text-align: center; padding-top: 148px; }
.headline h1 { font-size: 88px; letter-spacing: -0.052em; line-height: .98; }
.headline h1 em { font-size: 100px; background: linear-gradient(100deg, #fff 10%, var(--accent-2) 120%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 8px; }
.headline p { margin: 26px auto 0; max-width: 560px; font-size: 20px; line-height: 1.45; color: var(--ink-muted); }
.headline p b { color: #fff; font-weight: 550; }
.ask { margin: 48px auto 0; max-width: 620px; height: 80px; border-radius: 999px; background: #fff; color: var(--text); display: flex; align-items: center; padding: 0 10px 0 30px; gap: 14px; box-shadow: 0 0 0 6px rgba(255,255,255,.10), 0 30px 70px -20px rgba(var(--glow), .8); }
.ask svg { width: 22px; height: 22px; color: var(--faint); flex: none; }
.ask input.typed { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font: inherit; font-size: 24px; font-weight: 550; letter-spacing: -0.035em; color: var(--text); caret-color: var(--accent); }
.ask input.typed::placeholder { color: var(--faint); font-weight: 450; }
.ask .btn { height: 60px; padding: 0 28px; font-size: 17px; flex: none; }
.alt { text-align: center; margin-top: 26px; font-size: 16px; color: var(--ink-muted); }
.alt a { color: #fff; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255,255,255,.4); }
.legal { position: absolute; left: 0; right: 0; bottom: 36px; text-align: center; font-size: 13.5px; color: var(--ink-faint); }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
/* The code is eight characters, entered in one field so that a paste, a password manager and the
   phone's "from Messages" suggestion all work. */
.codeform { margin: 48px auto 0; max-width: 520px; display: grid; gap: 16px; }
input.code { height: 96px; border: 0; outline: 0; border-radius: 22px; background: #fff; color: var(--text); text-align: center; font-family: var(--mono); font-size: 44px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; caret-color: var(--accent); box-shadow: 0 0 0 6px rgba(255,255,255,.10), 0 24px 60px -20px rgba(var(--glow), .9); }
.choices { margin: 48px auto 0; max-width: 420px; display: grid; gap: 12px; }

/* ------------------------------------------------------------ the profile screen */
.who { display: flex; align-items: center; gap: 18px; padding-bottom: 26px; border-bottom: 1px solid var(--line-2); }
.who .avatar { width: 60px; height: 60px; font-size: 20px; }
.who b { display: block; font-size: 21px; font-weight: 600; letter-spacing: -0.035em; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; padding-top: 26px; }
.go { display: flex; align-items: center; justify-content: space-between; margin: 24px 4px 0; }
.go .btn { height: 54px; padding: 0 34px; font-size: 16.5px; }

/* --- the marketplace and one listed name (DSN-V8DM "Marketplace", "A name for sale") ----------- */
/* The search field is `.findbar`. The screen's source calls it by another word, which is also the
   name of a registrar method, and a test that scans the service's source for that method reads
   this stylesheet too, because it is embedded there. */
.market .top { padding: 72px 0 0; text-align: center; }
.market .top h1 { font-size: 64px; letter-spacing: -0.05em; }
.market .top h1 em { font-size: 72px; }
.findbar { margin: 36px auto 0; width: 100%; max-width: 800px; height: 72px; border-radius: 999px; background: var(--card); box-shadow: 0 0 0 1px var(--line), var(--shadow); display: flex; align-items: center; gap: 14px; padding: 0 8px 0 24px; text-align: left; }
.findbar:focus-within { box-shadow: 0 0 0 1.5px var(--accent), 0 0 0 4px rgba(var(--glow), .14), var(--shadow); }
.findbar .orb { width: 28px; height: 28px; flex: none; }
.findbar .q { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 19px; letter-spacing: -0.02em; color: var(--text); appearance: none; -webkit-appearance: none; }
.findbar .btn { height: 56px; padding: 0 26px; flex: none; }
.market .formerror { text-align: center; margin-top: 16px; }
.bar { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip { white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 16px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: 14.5px; font-weight: 500; }
.chip.on { background: var(--ink); color: #fff; box-shadow: none; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.lot { display: block; padding: 26px 26px 24px; min-width: 0; }
.lot .dn { font-size: 32px; margin-top: 46px; overflow: hidden; text-overflow: ellipsis; }
.lot .price { font-size: 17px; font-weight: 500; letter-spacing: -0.02em; color: var(--muted); margin-top: 12px; }
.more { display: flex; justify-content: center; margin-top: 36px; }
.none { text-align: center; color: var(--muted); font-size: 17px; margin-top: 72px; }
.none a { text-decoration: underline; text-underline-offset: 3px; }
.name { margin-top: 40px; background: var(--ink); color: #fff; border-radius: var(--r-xl); padding: 44px 52px 48px; position: relative; overflow: hidden; }
.name::before { content: ""; position: absolute; inset: 0; background: radial-gradient(720px 380px at 100% 130%, rgba(var(--glow), .62), transparent 70%); }
.name > * { position: relative; }
.name .tags { display: flex; flex-wrap: wrap; gap: 8px; min-height: 26px; }
.name .dn { font-size: 168px; margin-top: 96px; letter-spacing: -0.058em; overflow: hidden; text-overflow: ellipsis; }
.name .dn.long { font-size: 96px; }
.name .dn.longer { font-size: 56px; }
.buy { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 96px; padding-top: 32px; border-top: 1px solid var(--ink-line); }
.buy .price { font-size: 56px; font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.buy .price small { display: block; font-size: 15px; font-weight: 450; letter-spacing: 0; line-height: 1.5; color: var(--ink-muted); margin-top: 12px; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.fact { padding: 28px 30px; min-width: 0; }
.fact svg { width: 22px; height: 22px; color: var(--accent-text); }
.fact b { display: block; font-size: 19px; font-weight: 600; letter-spacing: -0.03em; margin-top: 18px; }
.fact span { display: block; color: var(--muted); font-size: 15.5px; margin-top: 6px; overflow-wrap: anywhere; }
.fact span.small { font-size: 13px; color: var(--faint); margin-top: 12px; }
.back { margin-top: 28px; font-size: 14.5px; color: var(--muted); }
.back a { text-decoration: underline; text-underline-offset: 3px; }

/* Selling: the seller's names as a list, and the page for one of them. */
.sell .top { padding: 72px 0 0; text-align: center; }
.sell .top h1 { font-size: 64px; letter-spacing: -0.05em; }
.sell .top h1 em { font-size: 72px; }
.sell .top h1 .dn { font-size: 64px; display: block; overflow: hidden; text-overflow: ellipsis; }
.sell .top p { margin: 18px auto 0; max-width: 620px; font-size: 19px; color: var(--muted); }
.sell > .card, .sell > form, .sell > .go, .sell > .back, .sell > .formok, .sell > .formerror { max-width: 920px; margin-left: auto; margin-right: auto; }
.sell .list { margin-top: 48px; overflow: hidden; }
.sell .row { display: flex; align-items: center; gap: 20px; padding: 22px 30px; border-top: 1px solid var(--line); }
.sell .row:first-child { border-top: 0; }
.sell .row .nm { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; }
.sell .row .dn { font-size: 28px; overflow: hidden; text-overflow: ellipsis; }
.sell .price { display: flex; align-items: center; gap: 10px; width: 280px; flex: none; }
.sell .row.add .money { margin-right: 90px; }
.sell .money { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px; width: 190px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.sell .money span { color: var(--faint); }
.sell .money input, .sell .row.add .nm input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 17px; color: var(--text); }
.sell .money:focus-within { box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 4px rgba(var(--glow), .14); }
.sell .row.add .plus { color: var(--faint); font-size: 22px; line-height: 1; }
.sell .row .state { width: 150px; flex: none; display: flex; justify-content: flex-end; }
.sell > .go { margin-top: 24px; gap: 24px; }
.sell .fine { color: var(--muted); font-size: 15px; }
.sell .agreement { margin-top: 40px; max-height: 460px; overflow-y: auto; font-size: 15.5px; line-height: 1.55; }
.sell .agreement h3 { margin-top: 22px; }
.sell .agreement p { margin-top: 10px; }
.sell .accept { margin-top: 24px; }
.sell .agree { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; }
.sell .agree input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--accent); }
.sell.one > .card { margin-top: 40px; }
.sell.one h2 { font-size: 26px; }
.sell.one .card p { margin-top: 12px; color: var(--muted); font-size: 16.5px; }
.sell.one .card p a { text-decoration: underline; text-underline-offset: 3px; }
.sell .record { display: grid; grid-template-columns: 90px 1fr; gap: 10px 16px; margin-top: 22px; padding: 18px 20px; border-radius: 14px; background: rgba(17,17,26,.04); }
.sell .record dt { color: var(--faint); font-size: 14px; }
.sell .record dd { overflow-wrap: anywhere; font-size: 14.5px; }
.sell .quiet { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.sell .quiet .btn { margin-top: 14px; }
@media (max-width: 820px) {
  .sell .top h1, .sell .top h1 .dn { font-size: 40px; }
  .sell .top h1 em { font-size: 46px; }
  .sell .row { flex-wrap: wrap; padding: 18px 20px; gap: 12px; }
  .sell .row .nm { flex-basis: 100%; }
  .sell .price { flex: 1 1 100%; width: auto; min-width: 0; }
  .sell .money { flex: 1 1 0; width: auto; min-width: 0; }
  .sell .row.add .money { flex-basis: 100%; }
  .sell .row.add .money { margin-right: 0; }
  .sell .row .state { width: auto; }
  .sell > .go { flex-direction: column; align-items: stretch; }
}

/* An amount field: a currency sign, then the digits. */
.money { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px; width: 190px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.money span { color: var(--faint); }
.money input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 17px; color: var(--text); }
.money:focus-within { box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 4px rgba(var(--glow), .14); }

/* Making an offer, on the page for one name. */
.buy .offer { display: flex; align-items: center; gap: 10px; flex: none; }
.buy .offer .money { height: 54px; }
.buy .btn { height: 54px; padding: 0 28px; font-size: 16.5px; flex: none; }
.name + .formerror { max-width: none; }

/* Agents. A switch is a button in a form, and a dialog on a real page covers the window. */
button.switch { border: 0; padding: 0; cursor: pointer; }
.line.agent .amt { font-size: 15px; color: var(--muted); font-weight: 450; }
.line.agent .amt b { font-size: 17px; font-weight: 550; color: var(--text); letter-spacing: -0.02em; }
.line.agent .amt.off { color: var(--muted); }
.line.agent form { margin-left: 12px; }
a.line.add { text-decoration: none; }
a.line.add:hover { color: var(--muted); }
body > .scrim { position: fixed; overflow: auto; padding: 24px 16px; }
body > .scrim > .dialog { width: min(520px, 100%); box-sizing: border-box; min-width: 0; }
body > .scrim { grid-template-columns: minmax(0, 1fr); justify-items: center; }
.dialog .formerror { margin: 20px 0 0; }
.dialog .fields { display: grid; gap: 16px; margin-top: 26px; }
.dialog .btn.wide { display: flex; width: 100%; height: 54px; margin-top: 28px; font-size: 16.5px; justify-content: center; }
.dialog .cmd { display: flex; align-items: center; gap: 12px; margin-top: 26px; padding: 0 24px; height: 72px; border-radius: 20px; background: var(--ink); color: #fff; font-size: 16px; overflow-x: auto; white-space: nowrap; }
.dialog .cmd .pre { color: var(--ink-faint); }
.dialog .cmd code { font: inherit; user-select: all; -webkit-user-select: all; }
.dialog .note { margin: 20px 0 0; }
.deals .decision .said { font-style: italic; }

/* My deals, and one negotiation. */
.deals { max-width: 1016px; }
.deals .answer { margin-top: 56px; background: var(--ink); color: #fff; border-radius: var(--r-xl); padding: 44px 48px; position: relative; overflow: hidden; }
.deals .answer::before { content: ""; position: absolute; inset: 0; background: radial-gradient(620px 320px at 100% 130%, rgba(var(--glow), .62), transparent 70%); }
.deals .answer > * { position: relative; }
.deals .eyebrow { display: flex; align-items: center; gap: 10px; color: var(--ink-muted); font-size: 15.5px; font-weight: 450; text-transform: none; letter-spacing: 0; }
.deals .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); flex: none; }
.deals .eyebrow .dot, .deals .state.now .dot, .deals .feed .first .dot { background: var(--accent); box-shadow: 0 0 0 4px rgba(var(--glow), .22); }
.deals .state.open .dot { background: var(--ok); }
.deals .answer .row { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 22px; }
.deals .answer .dn { font-size: 64px; display: block; }
.deals .answer .dn i { color: var(--ink-faint); }
.deals .answer p { margin-top: 16px; font-size: 19px; color: var(--ink-muted); }
.deals .label { margin: 56px 4px 16px; font-size: 16px; font-weight: 550; color: var(--muted); letter-spacing: 0; }
.deals .list { padding: 0 32px; }
.deals .list .row { display: flex; align-items: center; gap: 20px; padding: 26px 0; border-top: 1px solid var(--line); }
.deals .list .row:first-child { border-top: 0; }
.deals .list .dn { flex: 1; min-width: 0; font-size: 26px; overflow: hidden; text-overflow: ellipsis; }
.deals .dn.gone { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; color: var(--muted); }
.deals .state { display: flex; align-items: center; gap: 12px; width: 260px; flex: none; color: var(--muted); font-size: 16px; }
.deals .amount { width: 150px; flex: none; text-align: right; font-size: 18px; font-weight: 550; letter-spacing: -0.02em; }
.deals .none { margin-top: 24px; text-align: left; }
.deals.one .top { padding: 72px 0 0; text-align: center; }
.deals.one .top h1 .dn { font-size: 96px; letter-spacing: -0.055em; display: block; overflow: hidden; text-overflow: ellipsis; }
.deals.one .top h1 .dn.gone { font-size: 40px; }
.deals.one .formok, .deals.one .formerror { margin: 24px auto 0; max-width: none; text-align: center; }
.deals .decision { margin-top: 48px; padding: 48px 44px 40px; text-align: center; background: linear-gradient(180deg, var(--accent-soft), var(--card) 46%); }
.deals .decision h2 { font-size: 40px; letter-spacing: -0.045em; }
.deals .decision p { margin: 16px auto 0; max-width: 640px; font-size: 17px; color: var(--muted); }
.deals .decision p a { text-decoration: underline; text-underline-offset: 3px; }
.deals .acts { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
/* The counter form's children are laid out by `.acts`, so that its button sits on one row with
   the button that ends the exchange, which is a form of its own. */
.deals .counter { display: contents; }
.deals .sug { flex: 1 1 100%; display: flex; justify-content: center; gap: 10px; margin-bottom: 8px; }
.deals .sug .btn { min-width: 132px; }
.deals .counter .money, .deals .counter .words { height: 54px; }
.deals .counter .words { width: 260px; padding: 0 16px; border: 0; outline: 0; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font: inherit; font-size: 16px; color: var(--text); }
.deals .counter .words:focus { box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 4px rgba(var(--glow), .14); }
.deals .acts .btn { height: 54px; padding: 0 28px; font-size: 16.5px; }
.deals .feed { margin-top: 16px; padding: 8px 36px; }
.deals .feed ul { list-style: none; }
.deals .feed li { display: flex; align-items: flex-start; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.deals .feed li:first-child { border-top: 0; }
.deals .feed .dot { margin-top: 9px; }
.deals .feed div { flex: 1; min-width: 0; }
.deals .feed b { font-weight: 500; font-size: 17.5px; color: var(--muted); }
.deals .feed .first b { color: var(--text); }
.deals .feed .said { display: block; margin-top: 6px; color: var(--muted); font-size: 15.5px; white-space: pre-line; overflow-wrap: anywhere; }
.deals .feed time { color: var(--faint); font-size: 14.5px; flex: none; }
@media (max-width: 820px) {
  .buy .offer { flex-wrap: wrap; width: 100%; }
  .buy .offer .money { flex: 1; width: auto; min-width: 0; }
  .deals .answer { padding: 32px 24px; }
  .deals .answer .row { flex-direction: column; align-items: flex-start; }
  .deals .answer .dn { font-size: 40px; }
  .deals .list { padding: 0 20px; }
  .deals .list .row { flex-wrap: wrap; gap: 8px 16px; padding: 20px 0; }
  .deals .list .dn { flex-basis: 100%; }
  .deals .state { width: auto; flex: 1; }
  .deals .amount { width: auto; }
  .deals.one .top h1 .dn { font-size: 44px; }
  .deals .decision { padding: 32px 20px 28px; }
  .deals .decision h2 { font-size: 28px; }
  /* On a phone the suggested amounts and the two fields take a row each, and the two buttons
     share the last row. */
  .deals .acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .deals .counter .money, .deals .counter .words { grid-column: 1 / -1; width: auto; }
  .deals .sug { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 0; }
  .deals .sug .btn { min-width: 0; }
  .deals .acts .btn { width: 100%; padding: 0 12px; }
  .deals .acts .end:only-child { grid-column: 1 / -1; }
  .dialog { padding: 32px 24px 28px; }
  .dialog h1 { font-size: 30px; } .dialog h1 em { font-size: 34px; }
  .line.agent { flex-wrap: wrap; padding: 18px 20px; }
  .line.agent .t { flex-basis: calc(100% - 60px); }
  .line.agent .amt { margin-left: 58px; flex: 1; }
  .deals .feed { padding: 4px 20px; }
}

/* ------------------------------------------------------------ narrow screens
   The approved phone screen puts the sections in one list; until each section has its phone
   drawing, a narrow window gets the same page in one column. */
@media (max-width: 820px) {
  .acct { grid-template-columns: 1fr; gap: 28px; padding-top: 32px; }
  .rail { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; }
  .rail hr { display: none; }
  .form { grid-template-columns: 1fr; }
  .headline { padding-top: 88px; }
  .headline h1 { font-size: 52px; }
  .headline h1 em { font-size: 60px; }
  .ask { height: 68px; padding-left: 20px; }
  .ask input.typed { font-size: 18px; }
  .ask .btn { height: 52px; padding: 0 18px; font-size: 15px; }
  input.code { font-size: 30px; height: 80px; }
  .main h1 { font-size: 38px; } .main h1 em { font-size: 43px; }
  footer.site .wrap { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 1040px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .three { grid-template-columns: 1fr; }
  .name { padding: 32px 28px 36px; }
  .name .dn, .name .dn.long { font-size: 64px; margin-top: 56px; }
  .name .dn.longer { font-size: 36px; }
  .buy { margin-top: 56px; }
  .buy .price { font-size: 40px; }
}
/* The bar on a phone: three links, the mark and the avatar on one line. The links lose padding
   and never break; below 400px the word beside the mark goes and the mark stays. */
@media (max-width: 560px) {
  .appbar .nav { gap: 6px; }
  .appbar .nav .links { gap: 0; font-size: 13.5px; }
  .appbar .nav .links a { padding: 8px 9px; white-space: nowrap; }
  .appbar .nav .right { flex: none; }
}
@media (max-width: 400px) {
  .appbar .brand span { display: none; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .market .top h1 { font-size: 44px; } .market .top h1 em { font-size: 50px; }
  .findbar { height: 60px; padding-left: 16px; }
  .findbar .orb { display: none; }
  .findbar .btn { height: 44px; padding: 0 16px; }
  .name .dn, .name .dn.long { font-size: 40px; }
  .name .dn.longer { font-size: 26px; }
}

/* ------------------------------------------------------------ the Hasna logo in the footer
   The owner's ruling of 2026-11-17: small and subtle, on a line of its own, never on the
   copyright's line (Knowledge rule-detail-global-product-attribution). */
footer.wrap { padding-top: 32px; padding-bottom: 40px; font-size: 13px; color: var(--muted); }
footer.wrap a { color: var(--muted); }
footer .by img { display: block; height: 12px; width: auto; margin-top: 12px; opacity: .55; }
