/* /c/ coin page styles, moved out of coin_info.php on 2026-10-30 (text-to-HTML ratio work). */
/* The same two-column arrangement the pair pages use: a rail carrying identity
   and the figures, a main column carrying the writing. A directory coin holds
   less than a traded pair does, so each block is conditional and simply is not
   drawn when the coin has nothing to put in it. */
*{box-sizing:border-box}
:root{--bg:#0A0D14;--panel:#FFFFFF;--panel2:#121724;--border:#232B40;--text:#E9EEF8;
  --muted:#8E99B0;--green:#087E51;--red:#D12A3D;--accent:#F0A500;
  --accent-ink:#FFC84D;--purple:#6D4AE0}
body{margin:0;background:var(--bg);color:var(--text);font-size:14px;line-height:1.6;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  -webkit-font-smoothing:antialiased}
a{color:inherit}
.wrap{max-width:1180px;margin:0 auto;padding:20px 16px 70px}
.crumb{font-size:11.5px;color:var(--muted);margin-bottom:16px}
.crumb a{color:var(--muted);text-decoration:none}.crumb a:hover{color:var(--accent-ink)}

/* The main column comes FIRST in the source so the h1 is the first heading on
   the page; the rail's "Official links" h2 was landing above it. Grid places
   them back the way they read: rail left, main right. */
.ci-grid{display:grid;grid-template-columns:320px minmax(0,1fr);gap:22px;align-items:start}
.ci-rail{grid-column:1;grid-row:1;display:flex;flex-direction:column;gap:14px;
  position:sticky;top:16px}
.ci-main{grid-column:2;grid-row:1;display:flex;flex-direction:column;gap:14px;min-width:0}

.card{background:var(--panel);border:1px solid var(--border);border-radius:14px;padding:18px 20px}
.card h2{font-size:14px;margin:0 0 12px;letter-spacing:-.01em}
.card h3{font-size:13px;margin:16px 0 5px;letter-spacing:-.005em}
.card h3:first-of-type{margin-top:0}
.card p{color:var(--muted);font-size:13.5px;line-height:1.75;margin:0 0 10px}
.card p:last-child{margin-bottom:0}

.ci-id{display:flex;align-items:center;gap:12px}
.ci-idname{font-size:17px;font-weight:800;letter-spacing:-.02em;line-height:1.2}
.ci-idmeta{display:flex;align-items:center;gap:6px;margin-top:5px;flex-wrap:wrap}
.ci-tick{background:var(--panel2);border:1px solid var(--border);border-radius:5px;
  padding:2px 7px;font-size:10.5px;font-weight:800;color:var(--muted);letter-spacing:.06em}
.ci-rank{background:rgba(139,92,246,.14);border:1px solid rgba(139,92,246,.35);color:#4C34A8;
  border-radius:5px;padding:2px 7px;font-size:10.5px;font-weight:700}

.ci-rows{display:flex;flex-direction:column;margin:0}
.ci-row{display:flex;justify-content:space-between;align-items:baseline;gap:12px;
  padding:11px 0;border-bottom:1px solid var(--border)}
.ci-row:last-child{border-bottom:0;padding-bottom:0}
.ci-row:first-child{padding-top:0}
.ci-row dt{font-size:10.5px;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}
.ci-row dd{font-size:14.5px;font-weight:700;font-variant-numeric:tabular-nums;text-align:right;margin:0}

.ci-links h2{font-size:13px;margin:0 0 10px}
.ci-links ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:1px}
.ci-links li{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.ci-links a{display:flex;justify-content:space-between;align-items:baseline;gap:10px;
  width:100%;padding:7px 9px;border-radius:7px;text-decoration:none}
.ci-links a:hover{background:var(--panel2)}
.ci-links .ll{font-size:12.5px;color:var(--muted);white-space:nowrap}
.ci-links .lh{font-size:12.5px;color:var(--purple);text-align:right;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:60%}

/* Circulating against maximum supply. The traded pages show a 14-day price
   range here; a directory coin has one recorded price and no range, so this
   shows the one proportion it does know. */
.ci-band dt{font-size:10.5px;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}
.ci-bandbar{height:6px;border-radius:4px;margin:9px 0 7px;position:relative;background:var(--panel2);
  overflow:hidden}
.ci-bandbar i{position:absolute;left:0;top:0;bottom:0;border-radius:4px;
  background:linear-gradient(90deg,#8a8f2f,var(--green))}
.ci-bandends{display:flex;justify-content:space-between;font-size:11.5px;color:var(--muted);
  font-variant-numeric:tabular-nums}

.ci-hero h1{font-size:21px;line-height:1.3;font-weight:800;letter-spacing:-.02em;margin:0}
.ci-hero h1 .sym{color:var(--accent-ink)}
.ci-sub{color:var(--muted);font-size:13px;margin-top:6px}
.ci-priceline{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin-top:14px}
.ci-price{font-size:34px;font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:-.03em}
.ci-asof{font-size:12px;color:var(--muted);font-weight:600}

.note{border-radius:10px;padding:11px 13px;margin:14px 0 0;font-size:13px;
  background:var(--panel2);border:1px solid var(--border);border-left:3px solid var(--accent)}
.note.live{border-left-color:var(--green)}

.tags{display:flex;flex-wrap:wrap;gap:7px;margin:0;padding:0;list-style:none}
.tags li{background:var(--panel2);border:1px solid var(--border);border-radius:999px;
  padding:4px 11px;font-size:12px;color:var(--muted)}

.rel{display:grid;grid-template-columns:repeat(auto-fill,minmax(148px,1fr));gap:8px}
.rel a{background:var(--panel2);border:1px solid var(--border);border-radius:10px;padding:10px 12px;
  font-size:12.5px;text-decoration:none;display:flex;flex-direction:column;gap:2px}
.rel a:hover{border-color:var(--accent-ink)}
.rel a b{font-weight:800;font-size:13px}
.rel a span{color:var(--muted);font-size:11.5px;font-variant-numeric:tabular-nums}

.faq details{border-bottom:1px solid var(--border);padding:12px 0}
.faq details:last-of-type{border-bottom:0;padding-bottom:0}
.faq summary{font-weight:700;font-size:13.5px;cursor:pointer;list-style:none;
  display:flex;justify-content:space-between;gap:12px;align-items:center}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";color:var(--muted);font-weight:400;font-size:17px;flex:none}
.faq details[open] summary::after{content:"\2212"}
.faq p{margin-top:8px}

.disclaim{font-size:11.5px;color:var(--muted);line-height:1.7;margin-top:18px;
  border-top:1px solid var(--border);padding-top:14px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0,0,0,0);white-space:nowrap;border:0}

@media(max-width:940px){
  .ci-grid{grid-template-columns:1fr}
  .ci-rail{grid-column:1;grid-row:2;position:static}
  .ci-main{grid-column:1;grid-row:1}
}
@media(max-width:560px){
  .ci-price{font-size:27px}
  .ci-hero h1{font-size:18px}
  .wrap{padding:16px 12px 60px}
  /* nothing under 12px on a phone */
  .crumb{font-size:12px}
  .ci-row dt{font-size:11.5px}
  .rel a span{font-size:12px}
}
/* price chart */
.ci-chart{background:#fff;border:1px solid #232B40;border-radius:12px;padding:15px 17px;margin:18px 0}
.ci-chart-h{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:10px}
.ci-lbl{font-size:10px;letter-spacing:.12em;color:#8E99B0;display:block}
.ci-chart-h b{font-size:22px;letter-spacing:-.4px}
.ci-live{font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
  color:#087E51;background:#E4F5EC;border-radius:999px;padding:2px 8px;margin-left:7px}
.ci-range button{background:#121724;border:1px solid #232B40;border-radius:7px;
  padding:5px 11px;font-size:12px;font-weight:600;color:#8E99B0;cursor:pointer;margin-left:4px}
.ci-range button.on{background:#F0A500;border-color:#F0A500;color:#1a1a1a}
#ci-svg{width:100%;height:190px;display:block}
.ci-note{font-size:11.5px;color:#8E99B0;margin:8px 0 0}
