/* /ask: the answer page, in the home template's language — sky and lawn above, the glass box, results on the dark
   "command center" sections, lime for what matters. Tokens are AVRA's own colours. */
@font-face { font-family: Satoshi; src: url(/img/satoshi-var.woff2) format('woff2'); font-weight: 300 900; font-display: swap; }
:root {
  --ink: rgb(10, 12, 16); --panel: rgb(16, 18, 23); --panel2: rgb(27, 30, 38); --line: rgb(42, 46, 59); --line2: rgb(45, 49, 61);
  --text: rgb(232, 234, 237); --muted: rgb(154, 161, 172); --dim: rgb(91, 98, 109);
  --lime: rgb(198, 255, 78); --lime2: rgb(168, 230, 58); --warn: rgb(255, 181, 71); --down: rgb(255, 120, 100);
  --glass: rgba(232, 234, 237, .94); --glass-ink: rgb(16, 18, 23); --glass-muted: rgb(91, 98, 109); --glass-line: rgb(208, 212, 219);
  font-family: Satoshi, ui-sans-serif, system-ui, -apple-system, sans-serif; color: var(--text); background: var(--ink);
  -webkit-font-smoothing: antialiased; font-feature-settings: 'tnum' 1;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { min-height: 100vh; display: flex; flex-direction: column; background: var(--ink); }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
img { display: block; }
[hidden] { display: none !important; }

/* ---------- top ---------- */
.top { position: absolute; z-index: 5; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 16px clamp(16px, 3vw, 32px); }
.mark img { height: 30px; width: auto; }
.nav { display: flex; gap: 28px; font-size: 14px; font-weight: 500; }
.nav a { text-decoration: none; color: rgba(255, 255, 255, .92); }
.nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.top-right { display: flex; align-items: center; gap: 10px; }
.ourcoin { font-weight: 600; font-size: 14px; text-decoration: none; color: #fff; padding: 9px 12px; border-radius: 10px; }
.btn { border: 0; border-radius: 10px; padding: 11px 16px; font-weight: 600; font-size: 14px; line-height: 1; transition: transform .12s ease, background .15s, opacity .15s; }
.btn:active { transform: scale(.97); }
.btn.lime { background: var(--lime); color: var(--ink); }
.btn.lime:hover { background: var(--lime2); }
.btn.dark { background: var(--ink); color: var(--text); box-shadow: inset 0 0 0 1px var(--line2); }
.btn.dark:hover { background: var(--panel2); }
.btn.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line2); }
.btn.ghost:hover { background: var(--panel2); }
.btn[disabled] { opacity: .5; cursor: default; }

/* ---------- sky ---------- */
.sky { position: relative; overflow: hidden; min-height: 560px; display: flex; align-items: flex-end; justify-content: center; padding: 120px 16px 70px; transition: min-height .4s ease; }
.sky.small { min-height: 420px; }
.sky-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.sky-lawn { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 170px; object-fit: cover; object-position: center top; }
.sky::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 60px; background: linear-gradient(180deg, rgba(10, 12, 16, 0), var(--ink)); }
.sky-in { position: relative; z-index: 2; width: 100%; max-width: 760px; text-align: center; }
.sky h1 { margin: 0 0 26px; font-weight: 500; font-size: clamp(44px, 7vw, 76px); letter-spacing: -.045em; line-height: .98; color: #fff; text-shadow: 0 2px 30px rgba(10, 30, 60, .25); }
.sky h1 em { font-style: normal; color: var(--lime); }
.sky.small h1 { font-size: clamp(34px, 5vw, 52px); margin-bottom: 20px; }

.ask { text-align: left; background: var(--glass); color: var(--glass-ink); border-radius: 16px; padding: 16px 16px 14px; box-shadow: 0 30px 70px -30px rgba(10, 20, 40, .55), 0 0 0 1px rgba(255, 255, 255, .5) inset; backdrop-filter: blur(18px); }
.ask-top { display: flex; gap: 10px; align-items: flex-start; min-height: 64px; }
.ask-top svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--glass-ink); }
.ask textarea { flex: 1; border: 0; outline: 0; resize: none; background: transparent; font: 500 16px/1.45 Satoshi, sans-serif; color: var(--glass-ink); padding: 0; min-height: 48px; }
.ask textarea::placeholder { color: var(--glass-muted); }
.ask-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.ask-acts { display: flex; gap: 8px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--glass-line); background: rgba(255, 255, 255, .4); font-size: 13.5px; font-weight: 500; color: var(--glass-ink); cursor: pointer; }
.pill:hover { background: #fff; }
.pill svg { width: 15px; height: 15px; }
.go { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border: 0; border-radius: 9px; background: var(--ink); color: #fff; font-size: 13.5px; font-weight: 600; }
.go svg { width: 15px; height: 15px; }
.go:hover { background: #222632; }
.try { margin: 16px 0 0; color: rgba(255, 255, 255, .9); font-size: 14px; text-shadow: 0 1px 12px rgba(0, 0, 0, .25); }
.try button { border: 0; background: none; padding: 0; margin: 0 4px; font-weight: 600; color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .5); text-underline-offset: 3px; }

/* ---------- answer ---------- */
.dark { flex: 1; width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px) 40px; }
.answer { max-width: 860px; margin: 22px auto 0; }
.verdict { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin: 0 0 20px; }
.verdict strong { font-weight: 500; font-size: clamp(42px, 6.5vw, 68px); letter-spacing: -.045em; line-height: 1; color: var(--text); }
.verdict strong.yes { color: var(--lime); }
.verdict span { font-size: 18px; font-weight: 400; color: var(--muted); max-width: 560px; }
.thinking { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 17px; padding: 34px 0; }
.thinking i { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid var(--line2); border-top-color: var(--lime); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.err { color: var(--down); font-weight: 600; font-size: 17px; padding: 24px 0; }

.tweet { display: flex; gap: 14px; padding: 16px; border-radius: 16px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 14px; text-decoration: none; }
.tweet img.av { width: 42px; height: 42px; border-radius: 50%; flex: none; background: var(--panel2); }
.tweet .who { font-weight: 600; font-size: 15px; }
.tweet .who em { font-style: normal; font-weight: 400; color: var(--muted); margin-left: 6px; }
.tweet p { margin: 6px 0 0; font-size: 15.5px; line-height: 1.45; color: var(--text); opacity: .9; white-space: pre-wrap; overflow-wrap: anywhere; }
.tweet img.ph { width: 92px; height: 92px; border-radius: 12px; object-fit: cover; flex: none; margin-left: auto; background: var(--panel2); }

.one { position: relative; padding: 22px; border-radius: 20px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line2), 0 30px 60px -40px rgba(198, 255, 78, .35); }
.one::before { content: ''; position: absolute; inset: 0; border-radius: 20px; padding: 1px; background: linear-gradient(160deg, rgba(198, 255, 78, .7), rgba(198, 255, 78, 0) 45%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.one .label, .sub-h { font-size: 13px; font-weight: 500; color: var(--muted); margin: 0 0 12px; }
.coin { display: flex; align-items: center; gap: 14px; min-width: 0; }
.coin .logo { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; flex: none; background: var(--panel2); box-shadow: 0 0 0 1px var(--line); }
.coin .nm { min-width: 0; }
.coin .tk { font-weight: 600; font-size: 30px; letter-spacing: -.03em; line-height: 1.05; overflow-wrap: anywhere; }
.coin .full { color: var(--muted); font-size: 15px; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 18px 0 14px; }
.stats div { padding: 12px 14px; border-radius: 12px; background: var(--panel2); }
.stats b { display: block; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.stats small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.why { margin: 0; font-size: 15px; color: var(--text); opacity: .88; }
.why + .why { margin-top: 4px; }
.why.bad { color: var(--warn); opacity: 1; }
.fine { margin: 12px 0 0; font-size: 13px; color: var(--text); opacity: .6; }
.acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.amt { display: inline-flex; align-items: center; padding: 4px; border-radius: 12px; background: var(--panel2); }
.amt button { border: 0; background: transparent; border-radius: 9px; padding: 9px 12px; font-weight: 600; font-size: 14px; color: var(--muted); }
.amt button.on { background: var(--ink); color: var(--text); box-shadow: inset 0 0 0 1px var(--line2); }
.amt span { padding: 0 10px 0 6px; font-weight: 600; font-size: 13px; color: var(--dim); }
.buy { min-width: 150px; height: 42px; }
.lnk { font-weight: 500; font-size: 14px; color: var(--muted); text-decoration: none; padding: 10px 8px; border: 0; background: none; }
.lnk:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

.first { margin-top: 14px; padding: 14px 16px 6px; border-radius: 16px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.first .row { border: 0 !important; }

.list { margin-top: 26px; }
.rows { display: flex; flex-direction: column; }
.row { display: grid; grid-template-columns: 40px minmax(0, 1fr) 96px 84px auto; align-items: center; gap: 12px; padding: 11px 6px; border-top: 1px solid var(--line); }
.row:last-child { border-bottom: 1px solid var(--line); }
.row img { width: 40px; height: 40px; border-radius: 11px; object-fit: cover; background: var(--panel2); }
.row .n b { font-weight: 600; font-size: 16px; }
.row .n span { color: var(--muted); font-size: 14px; margin-left: 6px; }
.row .n small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .n small.bad { color: var(--warn); }
.row .mc { font-weight: 600; text-align: right; }
.row .age { color: var(--muted); font-size: 14px; text-align: right; }
.row .ra { display: flex; gap: 6px; justify-content: flex-end; }
.row .ra .btn { padding: 9px 12px; font-size: 13px; border-radius: 9px; text-decoration: none; }
.more { margin-top: 10px; border: 0; background: none; font-weight: 600; color: var(--muted); padding: 8px 0; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- live ---------- */
.live { display: grid; grid-template-columns: 1.25fr 1fr; gap: 36px; margin: 34px 0 30px; }
.live h2 { font-size: 15px; font-weight: 500; color: var(--muted); margin: 0 0 14px; }
.hot { display: flex; flex-direction: column; gap: 10px; }
.hcard { display: block; width: 100%; text-align: left; border: 0; padding: 14px 16px; border-radius: 16px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); transition: box-shadow .15s, transform .15s; }
.hcard:hover { box-shadow: inset 0 0 0 1px var(--lime2); transform: translateY(-1px); }
.hcard .who { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.hcard .who img { width: 22px; height: 22px; border-radius: 50%; }
.hcard .who em { font-style: normal; color: var(--muted); font-weight: 400; }
.hcard p { margin: 7px 0 10px; font-size: 15px; line-height: 1.4; opacity: .88; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hcard .res { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.hcard .res img { width: 22px; height: 22px; border-radius: 6px; }
.hcard .res b { color: var(--lime); font-weight: 600; }
.live .row { grid-template-columns: 36px minmax(0, 1fr) 84px; cursor: pointer; }
.live .row img { width: 36px; height: 36px; }
.live .row:hover { background: rgba(255, 255, 255, .03); }

/* ---------- misc ---------- */
.drop { position: fixed; inset: 0; z-index: 30; background: rgba(10, 12, 16, .7); backdrop-filter: blur(6px); display: grid; place-items: center; }
.drop div { font-weight: 600; font-size: clamp(30px, 5vw, 52px); letter-spacing: -.03em; padding: 50px 70px; border: 2px dashed var(--lime); border-radius: 26px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 40; max-width: min(92vw, 560px); padding: 13px 17px; border-radius: 12px;
  background: var(--panel2); color: var(--text); font-size: 15px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .7), inset 0 0 0 1px var(--line2); }
.toast a { color: var(--lime); font-weight: 600; }
.foot { text-align: center; color: var(--dim); font-size: 13px; padding: 30px 16px 36px; border-top: 1px solid var(--line); }
.foot p { margin: 4px 0; }
.foot a { color: var(--muted); }

@media (max-width: 760px) {
  .nav { display: none; }
  .mark img { height: 24px; }
  .sky { min-height: 500px; padding-top: 100px; }
  .live { grid-template-columns: 1fr; gap: 30px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row { grid-template-columns: 36px minmax(0, 1fr) auto; }
  .row .age { display: none; }
  .row .ra { grid-column: 2 / 4; justify-content: flex-start; }
  .coin .tk { font-size: 24px; }
  .ask-bottom { flex-wrap: wrap; }
  .ask-acts { margin-left: auto; }
  .amt { width: 100%; justify-content: space-between; }
  .amt button { flex: 1; }
  .buy { flex: 1 1 100%; height: 48px; }
  .tweet img.ph { width: 64px; height: 64px; }
}
