/* AutoNews Publisher - single stylesheet for public site and admin */
:root {
  --accent: #1a56db;
  --accent-dark: #1341a8;
  --ink: #16202e;
  --ink-soft: #4d5a6d;
  --paper: #ffffff;
  --paper-alt: #f4f6fa;
  --line: #dde3ec;
  --ok: #1a7f3c;
  --warn: #a86a00;
  --err: #b3261e;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(22, 32, 46, 0.08);
}
* { box-sizing: border-box; }
html { font-size: 16px; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper-alt);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
code, pre { font-family: Consolas, "Courier New", monospace; font-size: 0.9em; }
pre { background: var(--ink); color: #e8edf4; padding: 0.9rem 1rem; border-radius: var(--radius); overflow-x: auto; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--accent); color: #fff; padding: 0.5rem 1rem; z-index: 100; }
.skip-link:focus { left: 0.5rem; top: 0.5rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 1rem; }

/* Public header/footer */
.site-header { background: var(--paper); border-bottom: 3px solid var(--accent); }
.header-inner { padding: 1rem 1rem 0.75rem; }
.brand { text-decoration: none; }
.brand-name { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.tagline { margin: 0.1rem 0 0.6rem; color: var(--ink-soft); font-size: 0.95rem; }
.site-nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; }
.site-nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.95rem; padding: 0.25rem 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { border-bottom-color: var(--accent); }
.search-form { display: flex; gap: 0.4rem; margin: 0.6rem 0 0; max-width: 420px; }
.search-form input[type="search"] { flex: 1; }
.site-footer { background: var(--paper); border-top: 1px solid var(--line); margin-top: 2.5rem; padding: 1.5rem 0; color: var(--ink-soft); font-size: 0.95rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; margin: 0.4rem 0; }
.site-footer nav a { color: var(--ink-soft); }
.fineprint { color: var(--ink-soft); font-size: 0.85rem; }

/* Public content */
main.container { padding-top: 1.25rem; }
.hero { display: grid; gap: 1rem; grid-template-columns: 2fr 1fr; margin-bottom: 1.75rem; }
.hero-card { background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.hero-card img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.hero-body { padding: 0.9rem 1.1rem 1.1rem; }
.hero-body h1, .hero-body h2 { margin: 0.2rem 0 0.4rem; line-height: 1.25; }
.hero-body h1 a, .hero-body h2 a { color: var(--ink); text-decoration: none; }
.hero-body h1 a:hover, .hero-body h2 a:hover { color: var(--accent); }
.hero-card-small .hero-body h2 { font-size: 1.05rem; }
.hero .hero-card:nth-child(3), .hero .hero-card:nth-child(4) { display: none; }
.kicker { display: inline-block; color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.75rem; text-decoration: none; }
.meta { color: var(--ink-soft); font-size: 0.85rem; margin: 0.25rem 0 0; }
.meta time { color: inherit; }
.excerpt { color: var(--ink-soft); margin: 0.5rem 0 0; }
.article-grid { display: grid; gap: 1rem; grid-template-columns: repeat(3, 1fr); }
.card { background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card-img { aspect-ratio: 16/9; object-fit: cover; }
.card-body { padding: 0.8rem 1rem 1rem; }
.card-title { font-size: 1.02rem; margin: 0.2rem 0; line-height: 1.35; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a:hover { color: var(--accent); }
.page-title { margin: 0.5rem 0 0.75rem; }
.lede { color: var(--ink-soft); max-width: 70ch; }
.pagination { display: flex; gap: 0.35rem; justify-content: center; margin: 1.75rem 0; flex-wrap: wrap; }
.pagination a, .pagination .current { padding: 0.35rem 0.75rem; border-radius: 8px; background: var(--paper); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); }
.pagination .current { background: var(--accent); color: #fff; }
.empty-state { background: var(--paper); padding: 2rem; border-radius: var(--radius); text-align: center; box-shadow: var(--shadow); }

.article-full { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.5rem 1.75rem 2rem; max-width: 820px; margin: 0 auto; }
.article-header h1 { line-height: 1.25; margin: 0.3rem 0 0.4rem; }
.article-figure { margin: 1rem 0; }
.article-body { font-size: 1.05rem; }
.article-body p { margin: 0.9rem 0; }
.article-body h2, .article-body h3 { line-height: 1.3; margin: 1.4rem 0 0.5rem; }
.article-body blockquote { border-left: 4px solid var(--accent); margin: 1rem 0; padding: 0.4rem 1rem; color: var(--ink-soft); background: var(--paper-alt); border-radius: 0 8px 8px 0; }
.article-body img { border-radius: 8px; }
.article-body a { word-break: break-word; }
.article-body table { border-collapse: collapse; width: 100%; margin: 1rem 0; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 0.45rem 0.6rem; text-align: left; }
.source-box { margin-top: 1.5rem; background: var(--paper-alt); border-radius: 8px; padding: 0.9rem 1.1rem; }
.related { max-width: 820px; margin: 1.5rem auto; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1rem 1.5rem; }
.related ul { padding-left: 1.1rem; }
.related li { margin: 0.4rem 0; }
.related time { color: var(--ink-soft); font-size: 0.85rem; margin-left: 0.4rem; }

/* Forms and buttons */
input[type="text"], input[type="email"], input[type="password"], input[type="url"], input[type="number"],
input[type="search"], input[type="datetime-local"], input[type="color"], select, textarea {
  font: inherit; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 8px; padding: 0.5rem 0.65rem; width: 100%;
}
textarea { resize: vertical; }
label { display: block; font-weight: 600; font-size: 0.92rem; }
label input, label select, label textarea { margin-top: 0.25rem; font-weight: 400; }
label.checkbox { display: flex; align-items: center; gap: 0.5rem; font-weight: 400; }
label.checkbox input { width: auto; margin: 0; }
.btn {
  display: inline-block; background: var(--accent); color: #fff; border: none; cursor: pointer;
  font: inherit; font-weight: 600; padding: 0.5rem 1.1rem; border-radius: 8px; text-decoration: none;
}
.btn:hover { background: var(--accent-dark); color: #fff; }
.btn-small { padding: 0.25rem 0.6rem; font-size: 0.85rem; }
.btn-danger { background: var(--err); }
.btn-danger:hover { background: #8f1e17; }
.stack-form { display: flex; flex-direction: column; gap: 0.8rem; max-width: 640px; }
.grid-form { display: grid; gap: 0.8rem; grid-template-columns: repeat(2, 1fr); align-items: start; }
.grid-form label { min-width: 0; }
.inline-form { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.search-page-form { display: flex; gap: 0.5rem; max-width: 480px; margin-bottom: 1rem; }

/* Alerts */
.alert { padding: 0.7rem 1rem; border-radius: 8px; margin: 0 0 1rem; font-size: 0.95rem; }
.alert-ok { background: #e5f5ea; color: var(--ok); border: 1px solid #bfe6cc; }
.alert-err { background: #fdeceb; color: var(--err); border: 1px solid #f3c1be; }
.pass { color: var(--ok); }
.fail { color: var(--err); }
.warn { color: var(--warn); }
.muted { color: var(--ink-soft); }

/* Admin */
.admin-body { background: var(--paper-alt); }
.admin-header { background: var(--ink); color: #fff; }
.admin-header-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.1rem; padding: 0.6rem 1rem; }
.admin-brand { color: #fff; font-weight: 800; text-decoration: none; font-size: 1.05rem; }
.admin-nav { display: flex; flex-wrap: wrap; gap: 0.15rem 0.15rem; flex: 1; }
.admin-nav a { color: #cfd8e6; text-decoration: none; padding: 0.3rem 0.55rem; border-radius: 6px; font-size: 0.9rem; }
.admin-nav a:hover, .admin-nav a.active { background: rgba(255, 255, 255, 0.14); color: #fff; }
.admin-user { display: flex; align-items: center; gap: 0.8rem; font-size: 0.9rem; color: #cfd8e6; }
.admin-user a { color: #fff; }
.admin-main { padding: 1.25rem 1rem 3rem; }
.admin-main h1 { margin: 0.2rem 0 0.9rem; }
.panel { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.1rem 1.25rem 1.3rem; margin-bottom: 1.25rem; }
.panel h2 { margin: 0 0 0.8rem; font-size: 1.1rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.25rem; }
.stat { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 0.9rem 1.1rem; display: flex; flex-direction: column; }
.stat-num { font-size: 1.6rem; font-weight: 800; }
.stat-label { color: var(--ink-soft); font-size: 0.85rem; }
.table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.table th { text-align: left; color: var(--ink-soft); font-weight: 600; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; }
.table th, .table td { padding: 0.55rem 0.6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: none; }
.table tbody tr:hover { background: #fafbfd; }
.badge { display: inline-block; padding: 0.12rem 0.55rem; border-radius: 999px; font-size: 0.78rem; font-weight: 600; background: var(--paper-alt); color: var(--ink-soft); }
.badge-published { background: #e5f5ea; color: var(--ok); }
.badge-new, .badge-waiting { background: #e3edff; color: var(--accent-dark); }
.badge-processing { background: #fff3d6; color: var(--warn); }
.badge-retry { background: #fff3d6; color: var(--warn); }
.badge-skipped, .badge-discarded, .badge-failed, .badge-rejected { background: #fdeceb; color: var(--err); }
.badge-draft { background: var(--paper-alt); }
.badge-scheduled { background: #e3edff; color: var(--accent-dark); }
.badge-archived { background: var(--paper-alt); color: var(--ink-soft); }
.actions { display: flex; flex-wrap: wrap; gap: 0.3rem; align-items: flex-start; }
.actions form { display: inline; }
.actions details { display: inline-block; }
.actions summary { list-style: none; }
.filter-form, .toolbar { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: end; margin-bottom: 0.8rem; }
.filter-form label { min-width: 160px; }
.provider-chain { margin: 0.2rem 0; padding-left: 1.3rem; }
.media-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.media-item { margin: 0; background: var(--paper-alt); border-radius: 8px; overflow: hidden; }
.media-item img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.media-item figcaption { padding: 0.5rem; display: flex; flex-direction: column; gap: 0.35rem; }
.log-view { max-height: 320px; overflow: auto; font-size: 0.78rem; }
.review-grid { display:grid; grid-template-columns:1fr 1fr; gap:1rem; margin:1rem 0; }
.source-preview { max-height:34rem; overflow:auto; border:1px solid var(--line); border-radius:8px; padding:1rem; background:var(--paper-alt); }
.correction-note { margin:1.5rem 0; padding:1rem; border-left:4px solid var(--warn); background:#fff8e6; }
.save-story { border:1px solid var(--line); background:var(--paper); color:var(--ink); border-radius:8px; padding:.4rem .75rem; cursor:pointer; margin-top:.75rem; }
.save-story[aria-pressed="true"] { border-color:var(--accent); color:var(--accent); }
.saved-page { max-width:820px; margin:0 auto; }
.saved-story { background:var(--paper); border-bottom:1px solid var(--line); padding:1rem; }
.saved-story h2 { font-size:1.1rem; margin:0 0 .25rem; }

/* Plain card (login/install) */
.plain-body { display: grid; place-items: center; min-height: 100vh; padding: 1.5rem; }
.plain-card { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.75rem 2rem; width: 100%; max-width: 560px; }
.plain-card h1 { margin-top: 0; }
.plain-card .pass::before { content: "\2713 "; font-weight: 700; }
.plain-card .fail::before { content: "\2717 "; font-weight: 700; }

/* Responsive */
@media (max-width: 960px) {
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .media-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .article-grid { grid-template-columns: 1fr; }
  .grid-form { grid-template-columns: 1fr; }
  .article-full { padding: 1.1rem 1rem 1.4rem; }
  .stat-row { grid-template-columns: 1fr 1fr; }
}

/* 1199333.xyz crypto wire */
html { color-scheme: dark; }
html[data-theme="light"] { color-scheme: light; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
body.crypto-site {
  --accent: #a3ff12;
  --accent-dark: #7bd400;
  --cyan: #55d7ff;
  --hot: #ffcf45;
  --ink: #f2f6f0;
  --ink-soft: #8f9b90;
  --paper: #0e131b;
  --paper-alt: #080b10;
  --panel: #0d1219;
  --panel-2: #111822;
  --line: #202a35;
  --line-strong: #2d3947;
  margin: 0;
  background: var(--paper-alt);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
html[data-theme="light"] body.crypto-site {
  --ink: #111710;
  --ink-soft: #667064;
  --paper: #ffffff;
  --paper-alt: #f3f6f1;
  --panel: #ffffff;
  --panel-2: #f7faf5;
  --line: #dce4da;
  --line-strong: #c7d1c4;
  background: var(--paper-alt);
  color: var(--ink);
}
body.crypto-site a { color: inherit; }
body.crypto-site .container { max-width: 1540px; padding-inline: clamp(.8rem, 2vw, 1.6rem); }
body.crypto-site .skip-link { background: var(--accent); color: #071000; font-weight: 800; }
body.crypto-site :focus-visible { outline-color: var(--accent); }
body.crypto-site .site-header { position: sticky; top: 0; z-index: 30; border: 0; background: rgba(8,11,16,.96); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(16px); }
html[data-theme="light"] body.crypto-site .site-header { background: rgba(255,255,255,.96); }
.signal-bar { border-bottom: 1px solid var(--line); background: #05070a; color: #89968c; font: 700 .72rem/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .035em; text-transform: uppercase; }
html[data-theme="light"] .signal-bar { background: #111710; color: #bec9bb; }
.signal-inner { min-height: 30px; display: flex; align-items: center; gap: 1rem; }
.live-signal { color: var(--accent); }
.live-signal i, .pulse-dot, .eyebrow span { display: inline-block; width: 7px; height: 7px; margin-right: .42rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(163,255,18,.1); }
.signal-time { margin-left: auto; color: #dce6da; }
body.crypto-site .header-inner { padding: 0; }
body.crypto-site .topbar { min-height: 70px; display: grid; grid-template-columns: auto minmax(260px, 620px) 1fr auto; align-items: center; gap: clamp(.65rem, 2vw, 1.5rem); }
body.crypto-site .brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--ink); text-decoration: none; }
.brand-glyph { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--accent); background: var(--accent); color: #081000; font: 950 .82rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; transform: skew(-7deg); }
body.crypto-site .brand-name { color: var(--ink); font-size: 1.28rem; font-weight: 900; letter-spacing: -.055em; }
body.crypto-site .brand-name span { color: var(--accent); }
body.crypto-site .search-form { position: relative; max-width: none; margin: 0; }
body.crypto-site .search-form input[type="search"] { height: 40px; padding: .5rem 4.3rem .5rem .85rem; border: 1px solid var(--line); border-radius: 5px; background: var(--panel-2); color: var(--ink); font-size: .9rem; }
body.crypto-site .search-form input[type="search"]::placeholder { color: #6f7a70; }
body.crypto-site .search-form button { position: absolute; inset: 4px 4px 4px auto; border: 0; border-radius: 3px; padding: 0 .8rem; background: var(--accent); color: #071000; font: 850 .76rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; text-transform: uppercase; cursor: pointer; }
.utility-nav { justify-self: end; display: flex; align-items: center; gap: 1rem; }
.utility-nav a { color: var(--ink-soft); font-size: .82rem; font-weight: 750; text-decoration: none; }
.utility-nav a:hover { color: var(--accent); }
body.crypto-site .theme-toggle, body.crypto-site .nav-toggle { min-height: 34px; border: 1px solid var(--line-strong); border-radius: 4px; background: var(--panel-2); color: var(--ink); }
body.crypto-site .nav-toggle { display: none; }
body.crypto-site .site-nav { min-height: 42px; display: flex; flex-wrap: nowrap; gap: 0; border-top: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
body.crypto-site .site-nav::-webkit-scrollbar { display: none; }
body.crypto-site .site-nav a { display: grid; place-items: center; min-height: 42px; padding: 0 .9rem; border: 0; border-right: 1px solid var(--line); color: var(--ink-soft); font: 750 .76rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .025em; text-decoration: none; text-transform: uppercase; white-space: nowrap; }
body.crypto-site .site-nav a:hover, body.crypto-site .site-nav .nav-home { background: rgba(163,255,18,.08); color: var(--accent); }
body.crypto-site main.container { padding-top: 1.15rem; }
.desk-intro { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin: .5rem 0 1.15rem; }
.desk-intro h1, .category-head h1 { margin: .15rem 0 .28rem; color: var(--ink); font-size: clamp(1.85rem, 3vw, 2.75rem); line-height: 1.05; letter-spacing: -.055em; }
.desk-intro > div > p:last-child, .category-head > div > p:last-child { margin: 0; color: var(--ink-soft); font-size: .92rem; }
body.crypto-site .eyebrow { margin: 0; color: var(--accent); font: 800 .68rem/1.3 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .11em; text-transform: uppercase; }
.desk-metric { display: grid; grid-template-columns: auto auto; align-items: center; gap: .65rem; min-width: 190px; padding: .65rem .8rem; border: 1px solid var(--line); background: var(--panel); }
.desk-metric strong { color: var(--accent); font: 900 1.65rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.desk-metric span { max-width: 90px; color: var(--ink-soft); font-size: .72rem; font-weight: 750; line-height: 1.25; text-transform: uppercase; }
.crypto-desk { display: grid; grid-template-columns: 218px minmax(0, 1fr) 264px; gap: 1rem; align-items: start; }
.topic-rail, .signal-rail, .article-sidebar { position: sticky; top: 158px; display: grid; gap: .85rem; }
.rail-panel, .headline-stream { border: 1px solid var(--line); border-radius: 5px; background: var(--panel); box-shadow: 0 14px 40px rgba(0,0,0,.08); }
.rail-panel { padding: .9rem; }
.rail-heading, .stream-toolbar { display: flex; align-items: center; justify-content: space-between; gap: .7rem; }
.rail-heading { padding-bottom: .65rem; border-bottom: 1px solid var(--line); }
.rail-heading h2 { margin: 0; color: var(--ink); font-size: .82rem; letter-spacing: .02em; text-transform: uppercase; }
.rail-heading > span, .rail-heading > a { color: var(--ink-soft); font: 700 .68rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; text-decoration: none; }
.topic-list { display: grid; margin-top: .35rem; }
.topic-list a { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-inline: -.35rem; padding: .55rem .4rem; border-bottom: 1px solid rgba(143,155,144,.12); color: var(--ink-soft); font-size: .82rem; font-weight: 700; text-decoration: none; }
.topic-list a:last-child { border-bottom: 0; }
.topic-list a:hover, .topic-list a.is-active { color: var(--accent); }
.topic-list a.is-active::before { content: ''; width: 3px; height: 16px; margin-left: -.4rem; background: var(--accent); }
.topic-list a.is-active span { margin-right: auto; }
.topic-list strong { color: inherit; font: 750 .66rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.source-note { background: linear-gradient(145deg, rgba(163,255,18,.09), transparent 70%), var(--panel); }
.rail-kicker { margin: 0 0 .35rem !important; color: var(--accent) !important; font: 800 .65rem/1 ui-monospace, SFMono-Regular, Consolas, monospace !important; letter-spacing: .08em; text-transform: uppercase; }
.source-note h2 { margin: 0; font-size: 1rem; }
.source-note p, .hot-panel > p { margin: .55rem 0 0; color: var(--ink-soft); font-size: .78rem; }
.headline-stream { min-width: 0; overflow: hidden; }
.stream-toolbar { min-height: 48px; padding: 0 .95rem; border-bottom: 1px solid var(--line); background: var(--panel-2); }
.stream-toolbar > div { display: flex; align-items: center; }
.stream-toolbar strong { color: var(--ink); font-size: .82rem; letter-spacing: .035em; text-transform: uppercase; }
.stream-toolbar > span { color: var(--ink-soft); font: 700 .68rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; text-transform: uppercase; }
.pulse-dot { width: 6px; height: 6px; animation: wire-pulse 1.8s infinite; }
@keyframes wire-pulse { 50% { opacity: .35; box-shadow: 0 0 0 7px rgba(163,255,18,0); } }
.stream-list { display: grid; }
.crypto-story { position: relative; display: grid; grid-template-columns: 70px minmax(0,1fr) 34px; gap: .7rem; min-height: 104px; padding: .85rem .9rem; border-bottom: 1px solid var(--line); transition: background .16s ease; }
.crypto-story:last-child { border-bottom: 0; }
.crypto-story:hover { background: rgba(163,255,18,.035); }
.crypto-story.is-fresh { box-shadow: inset 2px 0 0 var(--accent); }
.story-time { display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; padding-top: .2rem; }
.story-time time { color: var(--ink-soft); font: 750 .67rem/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: nowrap; }
.story-time span { padding: .18rem .28rem; border-radius: 2px; background: var(--accent); color: #091000; font: 900 .55rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .05em; }
.story-main { min-width: 0; }
.story-labels { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; }
.coin-tag, .source-chip { display: inline-flex; align-items: center; padding: .16rem .4rem; border: 1px solid rgba(85,215,255,.26); border-radius: 3px; background: rgba(85,215,255,.07); color: var(--cyan) !important; font: 800 .61rem/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .035em; text-decoration: none; text-transform: uppercase; }
.story-source { color: var(--ink-soft); font: 700 .65rem/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; }
.story-main h2 { margin: .33rem 0 .23rem; font-size: clamp(.94rem, 1.25vw, 1.08rem); line-height: 1.32; letter-spacing: -.014em; }
.story-main h2 a { color: var(--ink); text-decoration: none; }
.story-main h2 a:hover { color: var(--accent); }
.story-main > p { display: -webkit-box; margin: 0; overflow: hidden; color: var(--ink-soft); font-size: .76rem; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 1; }
.story-open { align-self: center; display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 3px; color: var(--ink-soft) !important; font-size: .88rem; text-decoration: none; }
.story-open:hover { border-color: var(--accent); background: var(--accent); color: #081000 !important; }
.online-label { color: var(--accent) !important; }
.online-label::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: .3rem; border-radius: 50%; background: var(--accent); }
.status-list { margin: .45rem 0 0; }
.status-list div { display: flex; align-items: center; justify-content: space-between; gap: .7rem; padding: .5rem 0; border-bottom: 1px solid rgba(143,155,144,.12); }
.status-list div:last-child { border: 0; }
.status-list dt { color: var(--ink-soft); font-size: .72rem; }
.status-list dd { margin: 0; color: var(--ink); font: 800 .68rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.hot-list, .side-headlines { margin: .45rem 0 0; padding: 0; list-style: none; counter-reset: hot; }
.hot-list li { position: relative; padding: .62rem 0 .62rem 1.55rem; border-bottom: 1px solid rgba(143,155,144,.12); counter-increment: hot; }
.hot-list li::before { content: counter(hot, decimal-leading-zero); position: absolute; left: 0; top: .67rem; color: var(--accent); font: 850 .62rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.hot-list li:last-child { border: 0; }
.hot-list a { display: block; color: var(--ink); font-size: .75rem; font-weight: 700; line-height: 1.35; text-decoration: none; }
.hot-list a:hover { color: var(--accent); }
.hot-list span { display: block; margin-top: .2rem; color: var(--ink-soft); font: 650 .6rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.market-disclaimer { margin: 0; color: #6f7a70; font-size: .67rem; line-height: 1.5; }
body.crypto-site .pagination { padding: .85rem; margin: 0; border-top: 1px solid var(--line); }
body.crypto-site .pagination a, body.crypto-site .pagination .current { border: 1px solid var(--line); border-radius: 3px; background: var(--panel-2); color: var(--ink); box-shadow: none; font: 750 .72rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
body.crypto-site .pagination .current { border-color: var(--accent); background: var(--accent); color: #071000; }
.breadcrumb { display: flex; align-items: center; gap: .45rem; margin: .3rem 0 .8rem; color: var(--ink-soft); font: 700 .68rem/1.3 ui-monospace, SFMono-Regular, Consolas, monospace; text-transform: uppercase; }
.breadcrumb a { color: var(--accent) !important; text-decoration: none; }
.category-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.rss-button { flex: none; padding: .55rem .8rem; border: 1px solid var(--line-strong); border-radius: 3px; color: var(--ink) !important; font: 800 .7rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; text-decoration: none; text-transform: uppercase; }
.rss-button:hover { border-color: var(--accent); color: var(--accent) !important; }
.category-stream { max-width: 1040px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 880px) 300px; justify-content: center; gap: 1rem; align-items: start; }
body.crypto-site .article-full { max-width: none; margin: 0; padding: clamp(1.15rem, 3vw, 2.4rem); border: 1px solid var(--line); border-radius: 5px; background: var(--panel); box-shadow: 0 14px 40px rgba(0,0,0,.08); }
.article-header h1 { margin: .65rem 0 .55rem; color: var(--ink); font-size: clamp(2rem, 4.3vw, 3.75rem); line-height: 1.04; letter-spacing: -.055em; }
.article-deck { margin: 0; color: var(--ink-soft); font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 1.5; }
.article-byline { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.1rem; padding-top: .85rem; border-top: 1px solid var(--line); }
.article-byline p { margin: 0; color: var(--ink-soft); font: 700 .7rem/1.35 ui-monospace, SFMono-Regular, Consolas, monospace; }
body.crypto-site .save-story { margin: 0; border: 1px solid var(--line-strong); border-radius: 3px; background: var(--panel-2); color: var(--ink); font: 800 .68rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; text-transform: uppercase; }
body.crypto-site .save-story[aria-pressed="true"] { border-color: var(--accent); background: rgba(163,255,18,.08); color: var(--accent); }
body.crypto-site .article-figure { margin: 1.4rem 0; }
body.crypto-site .article-figure img { width: 100%; border-radius: 4px; object-fit: cover; }
body.crypto-site .article-body { color: #d9e0d7; font-family: Georgia, "Times New Roman", serif; font-size: 1.08rem; line-height: 1.78; }
html[data-theme="light"] body.crypto-site .article-body { color: #252d23; }
body.crypto-site .article-body a { color: var(--accent); }
body.crypto-site .article-body h2, body.crypto-site .article-body h3 { color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, sans-serif; letter-spacing: -.025em; }
body.crypto-site .article-body blockquote { border-color: var(--accent); border-radius: 0; background: var(--panel-2); color: var(--ink-soft); }
body.crypto-site .source-box { display: grid; grid-template-columns: 1fr auto; gap: .55rem 1rem; align-items: center; margin-top: 1.6rem; padding: 1rem; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 3px; background: var(--panel-2); }
.source-box div { display: grid; gap: .25rem; }
.source-box div span { color: var(--accent); font: 850 .61rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .08em; }
.source-box div strong { font-size: .9rem; }
.source-box > a { color: var(--accent) !important; font-size: .78rem; font-weight: 800; text-decoration: none; }
.source-box > p { grid-column: 1 / -1; margin: .15rem 0 0; color: var(--ink-soft); font-size: .72rem; }
.article-disclaimer { margin-top: 1rem; }
.side-headlines li { display: grid; gap: .22rem; padding: .62rem 0; border-bottom: 1px solid rgba(143,155,144,.12); }
.side-headlines li:last-child { border: 0; }
.side-headlines time { color: var(--accent); font: 750 .6rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.side-headlines a { color: var(--ink); font-size: .75rem; font-weight: 700; line-height: 1.35; text-decoration: none; }
.side-headlines a:hover { color: var(--accent); }
body.crypto-site .empty-state { margin: 0; padding: 2.6rem 1rem; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
body.crypto-site .empty-state h2 { margin: 0 0 .35rem; color: var(--ink); }
body.crypto-site .empty-state p { margin: 0; color: var(--ink-soft); }
body.crypto-site .site-footer { margin-top: 2rem; padding: 0; border-top: 1px solid var(--line); background: #05070a; }
html[data-theme="light"] body.crypto-site .site-footer { background: #111710; }
body.crypto-site .footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3,1fr); gap: 2rem; padding: 2.2rem clamp(.8rem, 2vw, 1.6rem); }
body.crypto-site .footer-brand { color: #f2f6f0; font-weight: 900; letter-spacing: -.05em; text-decoration: none; }
body.crypto-site .footer-brand span { color: var(--accent); }
body.crypto-site .footer-grid h2 { color: #eef5eb; font: 800 .7rem/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .08em; text-transform: uppercase; }
body.crypto-site .footer-grid p, body.crypto-site .footer-grid a { color: #8d998e; }
body.crypto-site .footer-grid a:hover { color: var(--accent); }
body.crypto-site .plain-card, body.crypto-site .saved-page, body.crypto-site .article-grid, body.crypto-site .stack-form { color: var(--ink); }

@media (max-width: 1180px) {
  .crypto-desk { grid-template-columns: 200px minmax(0,1fr); }
  .signal-rail { display: none; }
  .article-layout { grid-template-columns: minmax(0, 820px) 270px; }
}
@media (max-width: 900px) {
  body.crypto-site .topbar { grid-template-columns: auto 1fr auto; }
  .utility-nav { display: none; }
  body.crypto-site .nav-toggle { display: inline-block; }
  body.crypto-site .site-nav { display: none; padding-bottom: .45rem; flex-wrap: wrap; }
  body.crypto-site .site-nav.is-open { display: flex; }
  .crypto-desk { grid-template-columns: 1fr; }
  .topic-rail { position: static; display: block; }
  .topic-rail .source-note { display: none; }
  .topic-list { display: flex; gap: .35rem; overflow-x: auto; padding-top: .45rem; }
  .topic-list a { flex: none; gap: .5rem; margin: 0; padding: .45rem .65rem; border: 1px solid var(--line); border-radius: 3px; }
  .topic-list a.is-active::before { display: none; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 650px) {
  .signal-inner > span:nth-child(2) { display: none; }
  body.crypto-site .topbar { min-height: 62px; grid-template-columns: auto 1fr auto; gap: .55rem; }
  body.crypto-site .brand-glyph { display: none; }
  body.crypto-site .brand-name { font-size: 1.08rem; }
  body.crypto-site .search-form input[type="search"] { min-width: 0; padding-right: .7rem; }
  body.crypto-site .search-form button { display: none; }
  .desk-intro, .category-head { align-items: flex-start; }
  .desk-metric { display: none; }
  .desk-intro h1, .category-head h1 { font-size: 1.85rem; }
  .rss-button { margin-top: .2rem; }
  .crypto-story { grid-template-columns: 58px minmax(0,1fr); gap: .55rem; padding: .78rem .72rem; }
  .story-open { display: none; }
  .story-main > p { display: none; }
  .story-main h2 { font-size: .91rem; }
  .story-source { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .article-header h1 { font-size: 2rem; }
  .article-byline { align-items: flex-start; flex-direction: column; }
  body.crypto-site .source-box { grid-template-columns: 1fr; }
  body.crypto-site .source-box > p { grid-column: auto; }
  .article-sidebar, body.crypto-site .footer-grid { grid-template-columns: 1fr; }
  body.crypto-site .footer-grid { gap: 1.25rem; }
}

/* ReadNOW newsroom admin */
.admin-body {
  --admin-sidebar: 248px;
  --admin-bg: #f4f7fb;
  --admin-ink: #172033;
  --admin-muted: #64718a;
  --admin-line: #e3e8f0;
  --admin-sidebar-bg: #101a2c;
  background: var(--admin-bg);
  color: var(--admin-ink);
  line-height: 1.45;
}
.admin-shell { min-height: 100vh; }
.admin-sidebar {
  position: fixed; inset: 0 auto 0 0; z-index: 50; width: var(--admin-sidebar);
  display: flex; flex-direction: column; overflow-y: auto; background: var(--admin-sidebar-bg);
  border-right: 1px solid rgba(255,255,255,.08); color: #fff;
}
.admin-sidebar-head { min-height: 74px; display: flex; align-items: center; justify-content: space-between; padding: 0 1rem; border-bottom: 1px solid rgba(255,255,255,.09); }
.admin-brand { display: flex; align-items: center; gap: .7rem; min-width: 0; color: #fff; font-size: .98rem; }
.admin-brand:hover { color: #fff; }
.admin-brand-mark { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 10px; background: var(--accent); font-size: 1.05rem; font-weight: 850; }
.admin-brand strong, .admin-brand small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-brand small { margin-top: .05rem; color: #94a4bd; font-size: .72rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
.admin-nav { display: block; flex: 1; padding: 1rem .75rem; }
.admin-nav-group { margin: 0 0 1.05rem; }
.admin-nav-group p { margin: 0 .7rem .35rem; color: #7f91ad; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.admin-nav-link { display: flex; align-items: center; min-height: 39px; margin: 2px 0; padding: .48rem .72rem; border-radius: 8px; color: #cbd5e5; font-size: .9rem; font-weight: 650; text-decoration: none; }
.admin-nav-link:hover { background: rgba(255,255,255,.07); color: #fff; }
.admin-nav-link.active { background: var(--accent); color: #fff; box-shadow: 0 5px 16px rgba(0,0,0,.16); }
.admin-sidebar-foot { display: grid; gap: .12rem; padding: .9rem 1rem 1.1rem; border-top: 1px solid rgba(255,255,255,.09); }
.admin-sidebar-foot span { color: #7f91ad; font-size: .72rem; }
.admin-sidebar-foot strong { overflow: hidden; color: #dce4f0; font-size: .82rem; text-overflow: ellipsis; white-space: nowrap; }
.admin-workspace { min-height: 100vh; margin-left: var(--admin-sidebar); }
.admin-topbar { position: sticky; top: 0; z-index: 35; min-height: 74px; display: flex; align-items: center; gap: 1rem; padding: .75rem clamp(1rem, 3vw, 2rem); background: rgba(255,255,255,.96); border-bottom: 1px solid var(--admin-line); backdrop-filter: blur(12px); }
.admin-topbar-title { display: grid; flex: 1; line-height: 1.2; }
.admin-topbar-title span { color: var(--admin-muted); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.admin-topbar-title strong { margin-top: .16rem; font-size: 1rem; }
.admin-user { gap: .9rem; color: var(--admin-muted); }
.admin-user a { color: var(--admin-ink); font-weight: 650; text-decoration: none; }
.admin-menu-button, .admin-nav-close { display: none; border: 1px solid var(--admin-line); background: #fff; color: var(--admin-ink); border-radius: 8px; padding: .45rem .65rem; font: inherit; font-weight: 700; cursor: pointer; }
.admin-nav-backdrop { position: fixed; inset: 0; z-index: 45; background: rgba(8,15,28,.52); }
.admin-main { max-width: none; padding: clamp(1.15rem, 2.5vw, 2rem) clamp(1rem, 3vw, 2rem) 4rem; }
.admin-content { width: 100%; max-width: 1500px; margin: 0 auto; }
.admin-main h1 { margin: 0; font-size: clamp(1.65rem, 3vw, 2.15rem); line-height: 1.12; letter-spacing: -.035em; }
.admin-main .page-intro { margin: .42rem 0 1.3rem; color: var(--admin-muted); max-width: 72ch; }
.admin-page-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.admin-page-head .page-intro { margin-bottom: 0; }
.admin-page-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .55rem; }
.admin-body .panel { border: 1px solid var(--admin-line); border-radius: 13px; box-shadow: 0 2px 8px rgba(18,32,55,.045); padding: 1.2rem 1.3rem 1.35rem; }
.admin-body .panel h2 { font-size: 1.02rem; letter-spacing: -.015em; }
.panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: .85rem; }
.panel-head h2 { margin: 0; }
.panel-head a { font-size: .82rem; font-weight: 700; text-decoration: none; }
.admin-body .btn { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; padding: .5rem .9rem; font-size: .9rem; font-weight: 700; }
.admin-body .btn-small { min-height: 32px; padding: .34rem .65rem; font-size: .8rem; }
.admin-body .btn-quiet { background: #fff; border: 1px solid var(--admin-line); color: var(--admin-ink); }
.admin-body .btn-quiet:hover { background: #f7f9fc; color: var(--accent); }
.admin-body input[type="text"], .admin-body input[type="email"], .admin-body input[type="password"], .admin-body input[type="url"], .admin-body input[type="number"], .admin-body input[type="search"], .admin-body input[type="datetime-local"], .admin-body select, .admin-body textarea {
  min-height: 42px; border-color: #d8dfe9; background: #fff;
}
.admin-body input:focus, .admin-body select:focus, .admin-body textarea:focus { border-color: var(--accent); outline: 3px solid color-mix(in srgb, var(--accent) 18%, transparent); }
.admin-body label { color: #344058; font-size: .84rem; }
.admin-body label.checkbox { min-height: 42px; padding: .65rem .75rem; border: 1px solid var(--admin-line); border-radius: 8px; background: #f9fafc; }
.admin-body label.checkbox input { width: 18px; height: 18px; }
.admin-body .grid-form { gap: 1rem 1.15rem; }
.admin-body .stack-form { max-width: 760px; }
.admin-body .stat-row { grid-template-columns: repeat(auto-fit, minmax(145px,1fr)); gap: .8rem; }
.provider-preset-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: .75rem; }
.provider-preset-card { display: flex; min-height: 120px; flex-direction: column; gap: .35rem; padding: 1rem; border: 1px solid var(--admin-line); border-radius: 10px; background: #fff; color: var(--admin-ink); text-decoration: none; }
.provider-preset-card:hover { border-color: var(--accent); box-shadow: 0 4px 14px rgba(15,34,68,.08); }
.provider-preset-card span { color: var(--accent); font-size: .82rem; overflow-wrap: anywhere; }
.provider-preset-card small { color: var(--admin-muted); line-height: 1.4; }
.provider-preset-picker { margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--admin-line); }
.admin-body .stat { min-height: 112px; justify-content: space-between; border: 1px solid var(--admin-line); border-radius: 12px; box-shadow: 0 2px 8px rgba(18,32,55,.04); padding: 1rem; }
.admin-body .stat-num { color: var(--admin-ink); font-size: 1.7rem; line-height: 1; letter-spacing: -.04em; }
.admin-body .stat-label { color: var(--admin-muted); font-size: .78rem; line-height: 1.3; }
.admin-body .stat a { color: inherit; text-decoration: none; }
.admin-body .table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--admin-line); border-radius: 10px; }
.admin-body .table-wrap .table { min-width: 720px; }
.admin-body .table { line-height: 1.4; }
.admin-body .table th { background: #f7f9fc; color: #69758b; font-size: .7rem; }
.admin-body .table th, .admin-body .table td { padding: .72rem .75rem; }
.admin-body .table tbody tr:hover { background: #f8faff; }
.admin-body .badge { padding: .2rem .55rem; font-size: .72rem; text-transform: capitalize; }
.admin-body .actions { min-width: 136px; }
.admin-body .toolbar { justify-content: space-between; padding: .8rem; border: 1px solid var(--admin-line); border-radius: 10px; background: #f8fafc; }
.admin-body .filter-form { flex: 1; margin: 0; }
.admin-body .alert { border-radius: 10px; padding: .85rem 1rem; }
.admin-body .grid-2 { gap: 1rem; }
.admin-disclosure { padding: 0 !important; overflow: hidden; }
.admin-disclosure > summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.25rem; cursor: pointer; list-style: none; font-weight: 750; }
.admin-disclosure > summary::-webkit-details-marker { display: none; }
.admin-disclosure > summary::after { content: "Open"; color: var(--accent); font-size: .8rem; }
.admin-disclosure[open] > summary { border-bottom: 1px solid var(--admin-line); }
.admin-disclosure[open] > summary::after { content: "Close"; }
.admin-disclosure > .disclosure-body { padding: 1.15rem 1.25rem 1.3rem; }
.admin-filter { max-width: 360px; margin-bottom: .85rem; }
.admin-filter label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.queue-counts { display: flex; flex-wrap: wrap; gap: .45rem; margin: .8rem 0 1rem; }
.queue-count { padding: .38rem .62rem; border: 1px solid var(--admin-line); border-radius: 999px; background: #fff; color: var(--admin-muted); font-size: .78rem; }
.queue-count strong { color: var(--admin-ink); }
.admin-empty { padding: 2.4rem 1rem; text-align: center; color: var(--admin-muted); }
.admin-empty strong { display: block; margin-bottom: .25rem; color: var(--admin-ink); font-size: 1rem; }
.settings-jump { position: sticky; top: 85px; z-index: 20; display: flex; gap: .35rem; margin: 0 0 1rem; padding: .45rem; overflow-x: auto; border: 1px solid var(--admin-line); border-radius: 10px; background: rgba(255,255,255,.96); }
.settings-jump a { flex: 0 0 auto; padding: .42rem .65rem; border-radius: 7px; color: var(--admin-muted); font-size: .8rem; font-weight: 700; text-decoration: none; }
.settings-jump a:hover { background: #f1f5fb; color: var(--accent); }
.section-help { margin: -.45rem 0 1rem; color: var(--admin-muted); font-size: .85rem; }
.plain-auth .plain-card { max-width: 440px; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 20px 50px rgba(18,32,55,.10); }
.login-brand { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.4rem; }
.login-brand .admin-brand-mark { color: #fff; }
.login-brand strong, .login-brand span { display: block; }
.login-brand span { color: var(--ink-soft); font-size: .8rem; }
.login-help { margin: -.35rem 0 1.15rem; color: var(--ink-soft); font-size: .9rem; }

@media (max-width: 1180px) {
  .admin-body .stat-row { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .provider-preset-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 820px) {
  .admin-body { --admin-sidebar: min(84vw, 290px); overflow-x: hidden; }
  .admin-workspace { margin-left: 0; }
  .admin-sidebar { transform: translateX(-102%); transition: transform .18s ease; box-shadow: 12px 0 30px rgba(7,14,27,.24); }
  .admin-menu-open .admin-sidebar { transform: translateX(0); }
  .admin-menu-open { overflow: hidden; }
  .admin-menu-button, .admin-nav-close { display: inline-flex; }
  .admin-nav-close { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.08); color: #fff; font-size: .78rem; }
  .admin-topbar { min-height: 64px; padding: .65rem 1rem; }
  .admin-topbar-title span { display: none; }
  .admin-main { padding-top: 1.25rem; }
  .admin-page-head { align-items: flex-start; }
  .admin-body .grid-2 { grid-template-columns: 1fr; }
  .admin-body .review-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .provider-preset-grid { grid-template-columns: 1fr; }
  .admin-user .btn { display: none; }
  .admin-main h1 { font-size: 1.7rem; }
  .admin-page-head { display: grid; }
  .admin-page-actions { justify-content: flex-start; }
  .admin-body .stat-row { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .admin-body .stat { min-height: 96px; }
  .admin-body .panel { padding: 1rem; border-radius: 11px; }
  .admin-body .grid-form { grid-template-columns: 1fr; }
  .admin-body .toolbar, .admin-body .filter-form { align-items: stretch; }
  .admin-body .filter-form label { min-width: 0; flex: 1 1 140px; }
  .admin-body .table-wrap { border: 0; overflow: visible; }
  .admin-body .table-wrap .table { min-width: 0; }
  .admin-body .table.responsive-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .admin-body .table.responsive-table, .admin-body .table.responsive-table tbody, .admin-body .table.responsive-table tr, .admin-body .table.responsive-table td { display: block; width: 100%; }
  .admin-body .table.responsive-table tr { margin-bottom: .7rem; padding: .35rem .8rem; border: 1px solid var(--admin-line); border-radius: 10px; background: #fff; }
  .admin-body .table.responsive-table td { display: grid; grid-template-columns: minmax(88px, 32%) 1fr; gap: .65rem; padding: .48rem 0; border-bottom: 1px solid #edf0f5; overflow-wrap: anywhere; }
  .admin-body .table.responsive-table td:last-child { border-bottom: 0; }
  .admin-body .table.responsive-table td::before { content: attr(data-label); color: #737e91; font-size: .67rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
  .admin-body .table.responsive-table td[colspan] { display: block; }
  .admin-body .table.responsive-table td[colspan]::before { display: none; }
  .admin-body .table.responsive-table .actions { min-width: 0; }
  .settings-jump { top: 74px; }
}

/* ReadNow newsroom redesign */
body:not(.admin-body):not(.plain-body) {
  --accent: #1769e8;
  --accent-dark: #0b52c8;
  --ink: #172033;
  --ink-soft: #62708a;
  --paper-alt: #f5f7fb;
  --line: #e1e6ef;
  background: #f7f9fc;
  line-height: 1.45;
}
body:not(.admin-body):not(.plain-body) .container { max-width: 1380px; }
body:not(.admin-body):not(.plain-body) .site-header {
  border: 0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(23, 32, 51, 0.1);
  position: sticky;
  top: 0;
  z-index: 20;
}
body:not(.admin-body):not(.plain-body) .header-inner { padding: 0; }
.topbar { min-height: 66px; display: grid; grid-template-columns: auto minmax(260px, 640px) auto auto auto auto; align-items: center; gap: 1rem; }
body:not(.admin-body):not(.plain-body) .brand { color: var(--ink); min-width: max-content; }
body:not(.admin-body):not(.plain-body) .brand-name { font-size: 1.65rem; letter-spacing: -0.045em; }
body:not(.admin-body):not(.plain-body) .brand-name span { color: var(--accent); }
.brand { display: inline-flex; align-items: center; text-decoration: none; font-weight: 800; }
body:not(.admin-body):not(.plain-body) .search-form { max-width: none; margin: 0; gap: 0.4rem; }
body:not(.admin-body):not(.plain-body) .search-form input[type="search"] { background: #f1f4f9; border-color: transparent; border-radius: 10px; padding: 0.65rem 0.9rem; }
body:not(.admin-body):not(.plain-body) .search-form input[type="search"]:focus { background: #fff; border-color: var(--accent); }
body:not(.admin-body):not(.plain-body) .search-form button { border: 0; border-radius: 9px; background: var(--accent); color: #fff; padding: 0.63rem 1rem; font: inherit; font-weight: 700; cursor: pointer; }
.header-rss { justify-self: end; text-decoration: none; font-weight: 700; color: var(--ink); font-size: 0.9rem; }
.header-saved { text-decoration:none; font-weight:700; color:var(--ink); font-size:.9rem; white-space:nowrap; }
.theme-toggle, .nav-toggle { border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 8px; font: inherit; font-weight: 700; cursor: pointer; min-height: 34px; padding: 0.35rem 0.6rem; }
.theme-toggle { font-size: 1.1rem; width: 38px; padding: 0; }
.nav-toggle { display: none; }
body:not(.admin-body):not(.plain-body) .site-nav { min-height: 46px; display: flex; flex-wrap: nowrap; align-items: stretch; gap: 0.15rem; overflow: visible; border-top: 1px solid var(--line); }
body:not(.admin-body):not(.plain-body) .site-nav a { color: #43516a; display: grid; place-items: center; white-space: nowrap; padding: 0 0.75rem; border-bottom: 3px solid transparent; font-size: 0.9rem; font-weight: 650; }
body:not(.admin-body):not(.plain-body) .site-nav a:hover, body:not(.admin-body):not(.plain-body) .site-nav .nav-home { color: var(--accent); border-bottom-color: var(--accent); }
.nav-more { position: relative; display: grid; place-items: center; }
.nav-more summary { cursor: pointer; list-style: none; color: #43516a; font-size: 0.9rem; font-weight: 650; padding: 0 0.8rem; }
.nav-more summary::-webkit-details-marker { display: none; }
.nav-more summary::after { content: '⌄'; margin-left: 0.32rem; }
.nav-more > div { position: absolute; top: 42px; right: 0; z-index: 40; width: 210px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 0.35rem; box-shadow: 0 12px 28px rgba(23,32,51,.14); }
.nav-more > div a { display: block !important; padding: .55rem .7rem !important; border: 0 !important; }
body:not(.admin-body):not(.plain-body) main.container { padding-top: 1.35rem; }
.news-desk { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 1.2rem; align-items: start; }
.news-stream, .sidebar-panel { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 1px 2px rgba(23, 32, 51, 0.035); }
.stream-heading { display: flex; justify-content: space-between; align-items: end; padding: 1rem 1.2rem 0.85rem; border-bottom: 1px solid var(--line); }
.stream-heading h1 { margin: 0.08rem 0 0; font-size: 1.45rem; letter-spacing: -0.03em; }
.stream-heading > p { color: var(--ink-soft); font-size: 0.82rem; margin: 0; }
.eyebrow { margin: 0; color: var(--accent); text-transform: uppercase; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; }
.lead-story { display: grid; grid-template-columns: minmax(180px, 32%) 1fr; gap: 1rem; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); }
.lead-story--no-image { grid-template-columns: minmax(0, 1fr); }
.lead-story > a, .lead-story > a img { display: block; width: 100%; height: 100%; }
.lead-story > a { min-height: 160px; }
.lead-story img { object-fit: cover; border-radius: 9px; }
body:not(.admin-body):not(.plain-body) .kicker { color: var(--accent); font-size: 0.7rem; letter-spacing: 0.08em; }
.lead-story h2 { font-size: clamp(1.18rem, 2vw, 1.55rem); line-height: 1.2; letter-spacing: -0.025em; margin: 0.22rem 0 0.45rem; }
.lead-story h2 a, .story-row h2 a { color: var(--ink); text-decoration: none; }
.lead-story h2 a:hover, .story-row h2 a:hover { color: var(--accent); }
.lead-excerpt { color: #526077; font-size: 0.93rem; line-height: 1.5; margin: 0.65rem 0 0; }
.story-list { padding: 0 1.2rem; }
.story-row { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 0.85rem; padding: 0.78rem 0; border-bottom: 1px solid var(--line); min-height: 105px; }
.story-row--no-image { grid-template-columns: minmax(0, 1fr); min-height: 0; }
.story-row:last-child { border-bottom: 0; }
.story-thumb, .story-thumb img { display: block; width: 120px; height: 82px; }
.story-thumb img { border-radius: 8px; object-fit: cover; }
.story-copy { align-self: center; min-width: 0; }
.story-row h2 { font-size: 1rem; line-height: 1.3; letter-spacing: -0.012em; margin: 0.15rem 0 0.2rem; }
body:not(.admin-body):not(.plain-body) .meta { font-size: 0.78rem; color: var(--ink-soft); margin: 0; }
.desk-sidebar { display: grid; gap: 1rem; position: sticky; top: 130px; }
.sidebar-panel { padding: 1rem; }
.panel-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--line); }
.panel-heading h2 { margin: 0; font-size: 1rem; letter-spacing: -0.02em; }
.panel-heading span, .panel-heading a { color: var(--accent); font-size: 0.78rem; font-weight: 700; text-decoration: none; }
.section-list { display: grid; margin-top: 0.45rem; }
.section-list a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.66rem 0.25rem; color: #34415a; border-bottom: 1px solid #eef1f5; text-decoration: none; font-size: 0.9rem; }
.section-list a:last-child { border-bottom: 0; }
.section-list a:hover { color: var(--accent); background: #f7faff; }
.section-list strong { color: var(--accent); font-size: 0.8rem; min-width: 1.6rem; text-align: right; }
.sidebar-panel p { color: var(--ink-soft); font-size: 0.88rem; line-height: 1.55; margin: 0.85rem 0 0; }
.live-panel { padding: 0.9rem 1rem; }
.live-panel .panel-heading { padding-bottom: 0.55rem; }
.headline-list { list-style: none; padding: 0; margin: 0.45rem 0 0; display: grid; gap: 0.35rem; }
.headline-list li { position: relative; display: grid; grid-template-columns: 4rem minmax(0, 1fr); align-items: baseline; gap: 0.35rem; }
.headline-list li::before { content: ''; position: absolute; top: 0.48rem; left: 0.14rem; width: 5px; height: 5px; border-radius: 99px; background: var(--accent); }
.headline-list time { grid-column: 1; color: var(--ink-soft); font-size: 0.72rem; padding-left: 0.72rem; white-space: nowrap; }
.headline-list a { grid-column: 2; color: #25324a; text-decoration: none; font-size: 0.82rem; line-height: 1.32; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.headline-list a:hover { color: var(--accent); }
body:not(.admin-body):not(.plain-body) .empty-state { border: 1px solid var(--line); box-shadow: none; border-radius: 12px; }
body:not(.admin-body):not(.plain-body) .site-footer { background: #fff; border-top: 1px solid var(--line); margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding: 2rem 0; }
.footer-grid h2 { margin: 0 0 .55rem; color: var(--ink); font-size: .9rem; }
.footer-grid p { color: var(--ink-soft); font-size: .86rem; margin: .35rem 0; }
.footer-grid nav { display: grid; gap: .4rem; }
.footer-grid nav a, .footer-grid p a { color: var(--ink-soft); font-size: .86rem; text-decoration: none; }
.footer-grid a:hover { color: var(--accent); }
.footer-brand { color: var(--ink); font-weight: 850; font-size: 1.2rem; text-decoration: none; }.footer-brand span { color: var(--accent); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 1.2rem; align-items: start; }.article-sidebar { display: grid; gap: 1rem; position: sticky; top: 130px; }

html[data-theme="dark"] body:not(.admin-body):not(.plain-body) { --ink: #edf3ff; --ink-soft: #aab8cf; --line: #29364d; --paper-alt: #162033; background: #0e1625; color: var(--ink); }
html[data-theme="dark"] body:not(.admin-body):not(.plain-body) .site-header, html[data-theme="dark"] body:not(.admin-body):not(.plain-body) .site-footer, html[data-theme="dark"] .news-stream, html[data-theme="dark"] .sidebar-panel, html[data-theme="dark"] .article-full, html[data-theme="dark"] .nav-more > div, html[data-theme="dark"] .theme-toggle, html[data-theme="dark"] .nav-toggle { background: #131e30; border-color: var(--line); }
html[data-theme="dark"] .lead-story h2 a, html[data-theme="dark"] .story-row h2 a, html[data-theme="dark"] .headline-list a, html[data-theme="dark"] .panel-heading h2, html[data-theme="dark"] .footer-grid h2, html[data-theme="dark"] .footer-brand, html[data-theme="dark"] .brand { color: var(--ink); }
html[data-theme="dark"] body:not(.admin-body):not(.plain-body) .search-form input[type="search"] { background: #1c2940; color: var(--ink); }
html[data-theme="dark"] body:not(.admin-body):not(.plain-body) .site-nav a, html[data-theme="dark"] .nav-more summary { color: #c7d4ea; }
html[data-theme="dark"] .pagination a { background: #1c2940; color: #eaf1ff; box-shadow: none; border: 1px solid #31415c; }
html[data-theme="dark"] .pagination a:hover { background: #263858; color: #fff; }
html[data-theme="dark"] .pagination .current { background: var(--accent); color: #fff; box-shadow: none; }

@media (max-width: 1040px) {
  .topbar { grid-template-columns: auto minmax(220px, 1fr) auto auto auto; gap: .65rem; }
  .news-desk { grid-template-columns: minmax(0, 1fr) 270px; }
}
@media (max-width: 820px) {
  .topbar { padding: 0 1rem; grid-template-columns: auto 1fr auto auto; }
  .header-rss { display: none; }
  .nav-toggle { display: inline-block; }
  body:not(.admin-body):not(.plain-body) .site-nav { display: none; padding: .45rem 1rem .7rem; min-height: 0; flex-wrap: wrap; overflow: visible; }
  body:not(.admin-body):not(.plain-body) .site-nav.is-open { display: flex; }
  body:not(.admin-body):not(.plain-body) .site-nav a { height: 34px; padding: 0 .6rem; }
  .nav-more > div { position: fixed; top: auto; right: 1rem; left: 1rem; width: auto; }
  .news-desk { grid-template-columns: 1fr; }
  .desk-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: 1fr; }.article-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .topbar { min-height: 58px; gap: 0.65rem; }
  body:not(.admin-body):not(.plain-body) .brand-name { font-size: 1.35rem; }
  body:not(.admin-body):not(.plain-body) .search-form button { display: none; }
  .stream-heading { padding: 0.85rem 0.95rem 0.7rem; }
  .stream-heading > p { display: none; }
  .lead-story { grid-template-columns: 1fr; padding: 0.85rem 0.95rem; }
  .lead-story > a { min-height: 175px; }
  .story-list { padding: 0 0.95rem; }
  .story-row { grid-template-columns: 90px minmax(0, 1fr); min-height: 85px; gap: 0.7rem; }
  .story-thumb, .story-thumb img { width: 90px; height: 64px; }
  .story-row h2 { font-size: 0.92rem; }
  .desk-sidebar { grid-template-columns: 1fr; }
  .article-sidebar, .footer-grid { grid-template-columns: 1fr; }.footer-grid { gap: 1.1rem; padding: 1.45rem 1rem; }
}

/* Keep the crypto theme authoritative over the legacy public-theme layer. */
body.crypto-site.crypto-site {
  --accent: #a3ff12;
  --accent-dark: #7bd400;
  --ink: #f2f6f0;
  --ink-soft: #8f9b90;
  --paper: #0e131b;
  --paper-alt: #080b10;
  --line: #202a35;
  background: #080b10;
  color: var(--ink);
}
html[data-theme="light"] body.crypto-site.crypto-site {
  --ink: #111710;
  --ink-soft: #667064;
  --paper: #fff;
  --paper-alt: #f3f6f1;
  --line: #dce4da;
  background: #f3f6f1;
}
body.crypto-site.crypto-site .container { max-width: 1540px; }
body.crypto-site.crypto-site .site-header { border: 0; background: rgba(8,11,16,.96); box-shadow: 0 1px 0 var(--line); }
html[data-theme="light"] body.crypto-site.crypto-site .site-header { background: rgba(255,255,255,.96); }
body.crypto-site.crypto-site .brand-name { color: var(--ink); font-size: 1.28rem; }
body.crypto-site.crypto-site .search-form input[type="search"] { background: var(--panel-2); border-color: var(--line); color: var(--ink); border-radius: 5px; }
body.crypto-site.crypto-site .site-nav { min-height: 42px; padding: 0; border-top: 1px solid var(--line); }
body.crypto-site.crypto-site .site-nav a { height: auto; min-height: 42px; padding: 0 .9rem; border-bottom: 0; border-right: 1px solid var(--line); color: var(--ink-soft); }
body.crypto-site.crypto-site .site-nav a:hover, body.crypto-site.crypto-site .site-nav .nav-home { color: var(--accent); border-bottom: 0; }
body.crypto-site.crypto-site main.container { padding-top: 1.15rem; }
body.crypto-site.crypto-site .site-footer { background: #05070a; border-top-color: var(--line); }
body.crypto-site.crypto-site .article-layout { grid-template-columns: minmax(0,880px) 300px; }
body.crypto-site.crypto-site .article-sidebar { position: sticky; top: 158px; }
@media (max-width: 900px) {
  body.crypto-site.crypto-site .site-nav { display: none; padding: 0 0 .45rem; }
  body.crypto-site.crypto-site .site-nav.is-open { display: flex; }
  body.crypto-site.crypto-site .article-layout { grid-template-columns: 1fr; }
  body.crypto-site.crypto-site .article-sidebar { position: static; }
}
@media (max-width: 650px) {
  body.crypto-site.crypto-site .brand-name { font-size: 1.08rem; }
  body.crypto-site.crypto-site .footer-grid { grid-template-columns: 1fr; gap: 1.25rem; padding: 1.6rem .8rem; }
}
.crypto-search { max-width: 760px; margin-bottom: 1rem; }
.crypto-search input { background: var(--panel); border-color: var(--line); color: var(--ink); border-radius: 3px; }
.crypto-search .btn { border-radius: 3px; background: var(--accent); color: #071000; font-weight: 850; }

/* 1199333 market board and final public-theme overrides */
html[data-theme="light"] body.crypto-site.crypto-site {
  --accent: #c84a00;
  --accent-dark: #9f3700;
  --cyan: #006f91;
}
html[data-theme="light"] body.crypto-site .search-form button,
html[data-theme="light"] body.crypto-site .pagination .current,
html[data-theme="light"] body.crypto-site .story-time span,
html[data-theme="light"] body.crypto-site .crypto-search .btn { color: #fff; }
.desk-market-link { flex: none; padding: .68rem .9rem; border: 1px solid var(--accent); color: var(--accent) !important; font: 800 .72rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; text-decoration: none; text-transform: uppercase; }
.market-tape .signal-inner { min-width: 0; }
.market-tape .live-signal { flex: none; color: var(--accent); text-decoration: none; white-space: nowrap; }
.ticker-window { min-width: 0; flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent); }
.ticker-track { display: flex; width: max-content; animation: market-scroll 52s linear infinite; }
.ticker-set { display: flex; align-items: center; flex: none; }
.ticker-set a { display: flex; align-items: center; gap: .35rem; padding: 0 1.05rem; border-right: 1px solid #26303b; color: #cbd3cc; text-decoration: none; white-space: nowrap; }
.ticker-set strong { color: #fff; }.ticker-set em { font-style: normal; }
.ticker-empty { display: block; padding-left: 1rem; color: #b1bbb2; }
@keyframes market-scroll { to { transform: translateX(-50%); } }
.market-up { color: #38d98b !important; }.market-down { color: #ff5d6c !important; }
.story-image, .story-image img { display: block; width: 104px; height: 70px; }
.story-image { align-self: center; overflow: hidden; border: 1px solid var(--line); border-radius: 3px; background: #080b10; }
.story-image img { object-fit: cover; }
.crypto-story { grid-template-columns: 70px 104px minmax(0,1fr) 34px; }
.market-page-head { display: flex; align-items: end; justify-content: space-between; gap: 1.2rem; margin: .45rem 0 1rem; }
.market-page-head h1 { margin: .15rem 0 .3rem; font-size: clamp(1.9rem, 4vw, 3.25rem); line-height: 1.05; letter-spacing: -.055em; }
.market-page-head p { max-width: 760px; margin: 0; color: var(--ink-soft); }
.market-updated { display: grid; gap: .2rem; color: var(--ink-soft); font: 700 .68rem/1.3 ui-monospace, SFMono-Regular, Consolas, monospace; text-align: right; white-space: nowrap; }
.market-updated span { color: var(--hot); }
.market-board, .coin-chart-panel, .coin-stats, .coin-hero { border: 1px solid var(--line); border-radius: 5px; background: var(--panel); }
.market-tools { display: flex; align-items: center; gap: .7rem; padding: .8rem .95rem; border-bottom: 1px solid var(--line); }
.market-tools label { color: var(--ink); font-size: .78rem; font-weight: 800; }.market-tools input { width: min(340px,55vw); margin: 0; background: var(--panel-2); color: var(--ink); border-color: var(--line); }.market-tools span { margin-left: auto; color: var(--ink-soft); font: 700 .68rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.market-table-scroll { overflow-x: auto; }.market-table { width: 100%; min-width: 1020px; border-collapse: collapse; }
.market-table th, .market-table td { padding: .7rem .8rem; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.market-table thead th { position: sticky; top: 143px; z-index: 2; background: var(--panel-2); color: var(--ink-soft); font: 800 .65rem/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; text-transform: uppercase; }
.market-table tbody tr:hover { background: color-mix(in srgb, var(--accent) 4%, transparent); }
.market-table .numeric { text-align: right; }.market-table .rank { color: var(--ink-soft); font: 700 .68rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.market-asset { display: flex; align-items: center; gap: .65rem; color: var(--ink) !important; text-decoration: none; }.market-asset img { border-radius: 50%; }.market-asset span { display: flex; align-items: baseline; gap: .4rem; }.market-asset small { color: var(--ink-soft); font: 700 .62rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.price-cell { color: var(--ink); font-weight: 800; }.spark-cell svg { display: block; width: 128px; height: 36px; }.spark-cell polyline { fill: none; stroke: currentColor; stroke-width: 2.2; vector-effect: non-scaling-stroke; }
.market-attribution { margin: .85rem 0; color: var(--ink-soft); font-size: .72rem; }.market-attribution a { color: var(--accent) !important; }
.coin-detail { max-width: 1120px; margin: 0 auto; }.coin-hero { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding: 1.2rem; }
.coin-identity { display: flex; align-items: center; gap: .85rem; }.coin-identity img { border-radius: 50%; }.coin-identity p { margin: 0 0 .15rem; color: var(--ink-soft); font-size: .72rem; }.coin-identity h1 { margin: 0; font-size: clamp(1.6rem,4vw,2.7rem); letter-spacing: -.045em; }.coin-identity h1 span { color: var(--ink-soft); font-size: .42em; letter-spacing: .02em; }
.coin-price { display: grid; justify-items: end; }.coin-price strong { font: 850 clamp(1.6rem,4vw,2.7rem)/1 ui-monospace, SFMono-Regular, Consolas, monospace; }.coin-price span { margin-top: .4rem; font-size: .82rem; font-weight: 800; }
.coin-chart-panel { margin-top: 1rem; padding: 1rem 1.1rem; }.coin-chart-panel > div { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }.coin-chart-panel h2 { margin: 0; font-size: 1rem; }.coin-chart-panel > div span { font-size: .78rem; font-weight: 800; }.coin-chart-panel svg { display: block; width: 100%; height: auto; margin-top: 1rem; }.coin-chart-panel line { stroke: var(--line); }.coin-chart-panel polyline { fill: none; stroke: currentColor; stroke-width: 3; vector-effect: non-scaling-stroke; }
.coin-stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-top: 1rem; }.coin-stats div { display: grid; gap: .25rem; padding: 1rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }.coin-stats div:nth-child(4n) { border-right: 0; }.coin-stats div:nth-last-child(-n+4) { border-bottom: 0; }.coin-stats span { color: var(--ink-soft); font-size: .68rem; }.coin-stats strong { overflow-wrap: anywhere; color: var(--ink); font: 800 .8rem/1.35 ui-monospace, SFMono-Regular, Consolas, monospace; }
@media (prefers-reduced-motion: reduce) { .ticker-track, .pulse-dot { animation: none; } .ticker-window { overflow-x: auto; } .ticker-set[aria-hidden="true"] { display: none; } }
@media (max-width: 900px) { .signal-time { display: none; }.market-page-head { align-items: flex-start; flex-direction: column; }.market-updated { text-align: left; }.coin-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }.coin-stats div:nth-child(4n) { border-right: 1px solid var(--line); }.coin-stats div:nth-child(2n) { border-right: 0; }.coin-stats div:nth-last-child(-n+4) { border-bottom: 1px solid var(--line); }.coin-stats div:nth-last-child(-n+2) { border-bottom: 0; } }
@media (max-width: 650px) { .desk-market-link { display: none; }.market-tape .live-signal { font-size: 0; }.market-tape .live-signal i { margin: 0; }.crypto-story { grid-template-columns: 52px 70px minmax(0,1fr); }.story-image,.story-image img { width: 70px; height: 52px; }.coin-hero { align-items: flex-start; flex-direction: column; }.coin-price { justify-items: start; }.coin-stats { grid-template-columns: 1fr; }.coin-stats div { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }.coin-stats div:last-child { border-bottom: 0 !important; } }
