/* ============================================================
   DomainVibe (domainvibe.bid) - glass light (locked 2026-09-05
   via sketches/004-theme-lab). Shared skeleton ported from the
   theme lab with the body.th-glass tokens promoted to :root.
   UI copy rule: no em dashes anywhere.
   ============================================================ */
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #dbe3f0;
  --panel: rgba(255,255,255,.6);
  --masthead: rgba(255,255,255,.6);
  --ink: #1d1d1f;
  --ink-2: #5d5d63;
  --accent: #0071e3;
  --accent-hi: #2485f0;
  --hairline: rgba(0,0,0,.08);
  --hairline-light: rgba(255,255,255,.65);
  --hover: rgba(255,255,255,.5);
  --radius: 18px;
  --shadow: 0 18px 50px rgba(31,38,135,.16);
  --glow-sm: 0 6px 20px rgba(31,38,135,.1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, monospace;
  --gold: #b8860b;
  --silver: #8e8e93;
  --bronze: #a05a2c;
}
html, body { height: 100%; }
body {
  font-family: var(--font); -webkit-font-smoothing: antialiased;
  color: var(--ink); line-height: 1.5; min-height: 100vh;
  background-color: var(--bg);
  background-image: radial-gradient(900px 620px at 12% -5%, rgba(70,130,255,.38), transparent 60%),
    radial-gradient(760px 540px at 88% 4%, rgba(255,120,190,.3), transparent 62%),
    radial-gradient(820px 620px at 82% 92%, rgba(60,215,200,.3), transparent 60%),
    radial-gradient(700px 520px at 6% 96%, rgba(150,110,255,.26), transparent 60%);
  background-attachment: fixed;
  display: flex; flex-direction: column; align-items: center;
  width: 100%;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* For-sale strip (demo mode): sits above the shell, full width. */
.sale-strip {
  width: 100%; background: linear-gradient(90deg, #1d1d1f, #3a3a3e);
  color: #fff; display: flex; justify-content: center; align-items: center;
  gap: 12px; padding: 9px 16px; font-size: 13px; font-weight: 600;
  text-align: center; flex-wrap: wrap;
}
.sale-strip .sale-txt { letter-spacing: .2px; }
.sale-strip .sale-note {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.2px; color: #ffd60a;
  border: 1px solid rgba(255,214,10,.5); border-radius: 980px; padding: 2px 10px;
}
/* Demo mode: interactive-looking but inert controls get a clear not-allowed cursor. */
[aria-disabled="true"].btn, [aria-disabled="true"].outbid-sm { cursor: not-allowed; opacity: .75; }
[aria-disabled="true"].btn:hover, [aria-disabled="true"].outbid-sm:hover { background: var(--accent); color: #fff; text-decoration: none; }

.shell { width: min(1120px, calc(100% - 28px)); margin: 22px auto 6px; }
.panel {
  background: var(--panel);
  -webkit-backdrop-filter: blur(26px) saturate(1.7); backdrop-filter: blur(26px) saturate(1.7);
  border: 1px solid var(--hairline-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Masthead */
.masthead { display: flex; align-items: center; gap: 18px; padding: 16px 20px; flex-wrap: wrap; }
.logo { font-size: 19px; font-weight: 800; letter-spacing: -.6px; color: var(--ink); }
.logo:hover { text-decoration: none; }
.logo .vibe { background: linear-gradient(90deg, #0071e3, #af52de); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tagline { flex: 1; min-width: 180px; font-size: 13px; color: var(--ink-2); font-weight: 500; }
.tagline b { color: var(--accent); font-weight: 700; }
.mast-nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* Buttons */
.btn {
  appearance: none; border: 0; cursor: pointer; font-family: inherit; font-weight: 600;
  font-size: 13.5px; border-radius: 980px; padding: 9px 18px; display: inline-block;
  transition: transform .08s ease, background .15s, box-shadow .2s, border-color .15s;
  text-decoration: none; text-align: center;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--glow-sm); }
.btn-primary:hover { background: var(--accent-hi); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid rgba(0,0,0,.12); padding: 8px 16px; }
.btn-ghost:hover { background: var(--hover); text-decoration: none; }
.btn-txt { border-color: transparent; color: var(--ink-2); padding: 8px 10px; }
.btn-sm { padding: 5px 12px; font-size: 12px; }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; }

/* Board grid */
.grid { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 14px; margin-top: 14px; align-items: start; width: 100%; }
.grid-narrow { grid-template-columns: minmax(0, 560px); justify-content: center; }
.grid-wide { grid-template-columns: minmax(0, 1fr); }
.left { display: flex; flex-direction: column; gap: 14px; min-width: 0; }

/* Hero (#1 / Domain of the Day) */
.hero { padding: 22px 24px; border-color: rgba(255,255,255,.7); position: relative; z-index: 20; }
/* z-index on the hero: backdrop-filter seals descendants into the hero's
   stacking context, so the info popover's own z-index cannot escape it.
   Lifting the hero above later-sibling panels lets the popover paint over
   the board below (Lee: 'the hover info text displays underneath The
   board', 2026-09-06). */
.hero-empty { border-color: rgba(255,255,255,.7); }
.hero-top { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: var(--accent); }
.hero-top .crown { font-size: 14px; }
.hero-main { display: flex; align-items: flex-end; gap: 18px; margin-top: 14px; flex-wrap: wrap; }
.hero-domain { flex: 1; min-width: 240px; }
.hero-domain h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; letter-spacing: -1.2px; word-break: break-word; }
/* The hero vibe uses the full column width - the old 48ch cap forced
   wraps far short of the available space (Lee 2026-09-06). */
.hero-domain p { color: var(--ink-2); font-size: 14.5px; margin-top: 6px; }
.hero-price { text-align: right; flex: none; }
.hero-price .amt { font-size: 30px; font-weight: 800; letter-spacing: -.6px; font-variant-numeric: tabular-nums; text-shadow: 0 2px 12px rgba(0,113,227,.15); }
.hero-price .lbl { font-size: 10.5px; color: var(--ink-2); font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; margin-top: 2px; }
.hero .outbid { margin-top: 16px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.rule { position: relative; display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--ink-2); font-weight: 500; border-top: 1px solid var(--hairline); margin-top: 16px; padding-top: 11px; }
.rule-txt { flex: 1 1 auto; min-width: 0; }
.rule b { color: var(--ink); font-weight: 600; }
.info-tip { flex: none; appearance: none; border: 0; background: transparent; cursor: pointer; color: var(--ink-2); padding: 3px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; transition: background .15s, color .15s; }
.info-tip:hover, .info-tip:focus-visible, .info-tip.tip-open { background: rgba(0,113,227,.12); color: var(--accent); outline: none; }
.info-tip svg { width: 15px; height: 15px; display: block; }
.info-pop { position: absolute; top: calc(100% + 10px); right: 0; z-index: 60; width: min(330px, calc(100vw - 44px)); background: rgba(255,255,255,.85); -webkit-backdrop-filter: blur(26px) saturate(1.7); backdrop-filter: blur(26px) saturate(1.7); border: 1px solid rgba(255,255,255,.7); border-radius: 16px; box-shadow: 0 18px 50px rgba(31,38,135,.22); padding: 14px 16px; display: none; text-align: left; font-size: 12.5px; color: var(--ink-2); font-weight: 500; }
.info-pop.open { display: block; animation: info-in .16s ease; }
@keyframes info-in { from { opacity: 0; transform: translateY(-4px); } }
.info-pop h4 { font-size: 13px; font-weight: 800; color: var(--ink); margin: 0 0 8px; letter-spacing: -.1px; }
.info-pop ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.info-pop li { padding-left: 14px; position: relative; }
.info-pop li::before { content: ""; position: absolute; left: 0; top: .55em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.info-pop b { color: var(--ink); font-weight: 700; }

/* Panels + rows */
.panel-head { display: flex; align-items: baseline; gap: 10px; padding: 15px 20px 11px; }
.panel-head .t { font-size: 14px; font-weight: 700; letter-spacing: -.1px; }
.panel-head .sub { font-size: 12px; color: var(--ink-2); font-weight: 500; margin-left: auto; }
.row { display: flex; align-items: center; gap: 14px; padding: 12px 20px; border-top: 1px solid var(--hairline); transition: background .15s; }
.row:hover { background: var(--hover); }
/* Podium washes: whole-row tints for the top bidders under the hero
   (#2 gold, #3 silver, #4 bronze - Lee 2026-09-06). Sits over the glass
   panel, so the hover states re-tint rather than wash out. */
.row-gold { background: rgba(184,134,11,.10); }
.row-gold:hover { background: rgba(184,134,11,.18); }
.row-silver { background: rgba(142,142,147,.13); }
.row-silver:hover { background: rgba(142,142,147,.22); }
.row-bronze { background: rgba(160,90,44,.11); }
.row-bronze:hover { background: rgba(160,90,44,.19); }
.row-empty { justify-content: center; color: var(--ink-2); font-size: 13.5px; }
.rank { width: 46px; flex: none; text-align: center; font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.rank.gold { color: var(--gold); font-weight: 700; }
.rank.silver { color: var(--silver); font-weight: 700; }
.rank.bronze { color: var(--bronze); font-weight: 700; }
.rbody { flex: 1; min-width: 0; }
.rbody .d { font-size: 15px; font-weight: 700; letter-spacing: -.1px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; word-break: break-word; }
/* Domain names are links to the real site (Lee 2026-09-06): keep the
   name's own strong ink, underline on hover - the accent-blue link style
   would fight the podium washes and make every row a sea of blue. */
.domain-link { color: inherit; text-decoration: none; }
.domain-link:hover { text-decoration: underline; text-underline-offset: 3px; }
/* Board-row one-liners: full text on every viewport - no ellipsis
   truncation. The flex row keeps the vibe box clear of the Paid column,
   so a long line just wraps within its own space (Lee 2026-09-06: 'no
   need to truncate unless hitting the Paid column boundary'). */
.rbody .v { font-size: 13px; color: var(--ink-2); white-space: normal; }
.you { font-size: 9.5px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--accent); border: 1px solid rgba(0,113,227,.4); border-radius: 5px; padding: 1.5px 6px; }
.paid { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.paid small { display: block; font-size: 9.5px; font-weight: 600; color: var(--ink-2); text-transform: uppercase; letter-spacing: .8px; }
.row-actions { flex: none; display: flex; align-items: center; gap: 6px; }
.outbid-sm { border: 1px solid rgba(0,113,227,.5); font-family: inherit; font-weight: 700; font-size: 12px; color: var(--accent); background: transparent; border-radius: 980px; padding: 5px 13px; text-decoration: none; transition: background .15s, color .15s, box-shadow .2s; }
.outbid-sm:hover { background: var(--accent); color: #fff; box-shadow: 0 4px 14px rgba(0,113,227,.3); text-decoration: none; }
.report-sm { color: var(--ink-2); font-size: 13px; opacity: .6; text-decoration: none; }
.report-sm:hover { opacity: 1; color: var(--accent); }

/* Feed */
.feed { align-self: start; position: sticky; top: 16px; overflow: hidden; }
.feed-head { display: flex; align-items: center; gap: 8px; padding: 15px 18px 10px; }
.feed-head .t { font-size: 13.5px; font-weight: 700; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px rgba(0,113,227,.7); animation: p 1.9s infinite; }
@keyframes p { 70% { box-shadow: 0 0 0 6px rgba(0,113,227,0); } 100% { box-shadow: 0 0 0 0 rgba(0,113,227,0); } }
.fitem { display: flex; gap: 10px; padding: 10px 18px; border-top: 1px solid var(--hairline); font-size: 13px; }
.fitem .t { color: var(--ink-2); min-width: 0; }
.fitem .t b { color: var(--ink); font-weight: 700; }
.fitem time { color: var(--ink-2); font-size: 11px; opacity: .75; white-space: nowrap; }

/* Forms (list / topup / report / terms) */
.form-panel { overflow: hidden; }
.form-body { padding: 4px 24px 24px; }
.form-intro { font-size: 13.5px; color: var(--ink-2); margin: 6px 0 14px; }
.form-intro b { color: var(--ink); }
.form-note { font-size: 11.5px; color: var(--ink-2); margin-top: 12px; }
label { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--ink-2); margin: 16px 0 7px; }
input[type=text], input[type=email], input[type=number], select, textarea {
  width: 100%; font-family: inherit; font-size: 15px; font-weight: 600; padding: 10px 14px;
  border-radius: 10px; border: 1px solid rgba(0,0,0,.12); outline: none;
  background: rgba(255,255,255,.8); color: var(--ink);
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,113,227,.14); }
.amount-row { display: flex; align-items: center; gap: 8px; }
.amount-prefix { font-size: 18px; font-weight: 700; color: var(--ink); }
.sheet-actions { display: flex; gap: 10px; margin-top: 20px; }
.sheet-actions .btn { flex: 1; padding: 12px 16px; font-size: 14px; }
.notice { font-size: 13px; color: var(--ink-2); background: rgba(255,255,255,.55); border: 1px solid rgba(0,0,0,.08); border-radius: 12px; padding: 10px 14px; margin: 14px 0 4px; }
.notice-accent { color: var(--ink); background: rgba(0,113,227,.08); border-color: rgba(0,113,227,.25); }
.notice-test { color: #6b3a00; background: rgba(255,149,0,.14); border-color: rgba(255,149,0,.4); }
.notice b { color: var(--accent); }

/* Prose (terms) */
.prose h2 { font-size: 17px; font-weight: 700; margin: 22px 0 8px; letter-spacing: -.2px; }
.prose p { font-size: 14px; color: var(--ink-2); margin: 0 0 12px; max-width: 60ch; }
.prose h2:first-child { margin-top: 8px; }

/* Flashes */
.flash { padding: 10px 16px; margin: 14px 0 0; border-radius: 12px; font-size: 13.5px; font-weight: 600; border: 1px solid; transition: opacity .4s ease, transform .4s ease; }
.flash-out { opacity: 0; transform: translateY(-6px); pointer-events: none; }
.flash-ok { background: rgba(0,113,227,.1); border-color: rgba(0,113,227,.3); color: #003a7a; }
.flash-err { background: rgba(255,59,48,.1); border-color: rgba(255,59,48,.35); color: #8a150c; }

/* "Writing your one-liner" interstitial */
.work-card { overflow: visible; }
.work-body { text-align: center; padding: 28px 24px 24px; }
.work-domain { font-size: 22px; font-weight: 800; letter-spacing: -.4px; word-break: break-word; }
.work-line { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 16px; font-size: 14px; color: var(--ink-2); font-weight: 600; }
.spinner-orb { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(0,113,227,.2); border-top-color: var(--accent); animation: work-spin .7s linear infinite; flex: none; }
@keyframes work-spin { to { transform: rotate(360deg); } }
.work-timer { font-family: var(--font-mono); font-size: 26px; font-weight: 700; color: var(--accent); margin-top: 8px; font-variant-numeric: tabular-nums; }
.work-done { margin-top: 14px; }
.work-vibe { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.45; }
.work-note { font-size: 12.5px; color: var(--ink-2); margin-top: 6px; }
.work-done .btn { margin-top: 14px; }
#work-stall { margin-top: 16px; }

/* Admin */
.admin-tabs { display: flex; gap: 4px; padding: 2px 20px 12px; flex-wrap: wrap; border-bottom: 1px solid var(--hairline); }
.atab { font-size: 12px; font-weight: 600; color: var(--ink-2); padding: 6px 12px; border-radius: 980px; }
.atab:hover { background: var(--hover); text-decoration: none; }
.atab.on { background: var(--accent); color: #fff; }
.atable { overflow-x: auto; }
.arow { display: grid; grid-template-columns: 40px 1.1fr 90px 80px 1.6fr 70px auto; gap: 10px; align-items: center; padding: 9px 16px; border-top: 1px solid var(--hairline); font-size: 12.5px; min-width: 860px; }
.arow-head { font-weight: 700; color: var(--ink-2); font-size: 11px; text-transform: uppercase; letter-spacing: .6px; }
.strong { font-weight: 700; }
.mono { font-family: var(--font-mono); font-size: 11.5px; word-break: break-all; }
.small { font-size: 10.5px; }
.vibe-cell { color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; padding: 2px 8px; border-radius: 980px; }
.b-live { background: rgba(52,199,89,.15); color: #1a6b2e; }
.b-review { background: rgba(255,149,0,.18); color: #8a4b00; }
.b-pending { background: rgba(142,142,147,.18); color: #4a4a50; }
.b-rejected { background: rgba(255,59,48,.12); color: #8a150c; }
.b-removed { background: rgba(255,59,48,.12); color: #8a150c; }
.b-domain { background: rgba(255,59,48,.12); color: #8a150c; }
.b-email { background: rgba(255,149,0,.18); color: #8a4b00; }
.b-succeeded { background: rgba(52,199,89,.15); color: #1a6b2e; }
.b-refunded { background: rgba(142,142,147,.18); color: #4a4a50; }
.act-form { display: flex; gap: 6px; align-items: center; }
.act-form select { width: auto; padding: 5px 8px; font-size: 12px; font-weight: 600; border-radius: 8px; }
.act-form input[type=text] { width: auto; padding: 5px 8px; font-size: 11.5px; border-radius: 8px; }
.admin-forms { padding-top: 16px; }
.ban-form { margin-bottom: 18px; }
.ban-form label { margin-top: 0; }
.ban-row { display: flex; gap: 8px; align-items: center; }
.ban-row input[type=text] { flex: 0 1 260px; }

/* Footers */
.shell-foot { padding: 14px 4px 6px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 11.5px; color: var(--ink-2); font-weight: 500; }
.page-foot { padding: 4px 4px 30px; text-align: center; font-size: 11px; color: rgba(93,93,99,.8); }
.page-foot a { color: rgba(93,93,99,.8); }

@media (max-width: 900px) {
  .grid { grid-template-columns: 1fr; }
  .feed { position: static; }
}
@media (max-width: 560px) {
  .shell { width: calc(100% - 14px); margin-top: 10px; }
  .masthead { padding: 13px 15px; gap: 12px; }
  .hero { padding: 17px 16px; }
  .hero-price { text-align: left; }
  .row { gap: 10px; padding: 11px 14px; }
  .rank { width: 38px; }
  .form-body { padding: 4px 16px 20px; }
  .panel-head { padding: 13px 16px 10px; }
}
