/* YEL Crypto Hub — independent crypto news module v1.3.1 */
.crypto-news{margin-top:36px;padding:25px 25px 22px;border:1px solid #2d4057;border-radius:17px;background:linear-gradient(145deg,#122235 0%,#0b1625 85%);box-shadow:0 16px 50px #00000017;color:#eef3f8}
.crypto-news *{box-sizing:border-box}
.cn-top{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}
.cn-kicker{display:flex;align-items:center;gap:9px;color:#e7c87f;font:800 10px var(--display,system-ui,sans-serif);letter-spacing:.17em;margin:0 0 5px}
.cn-pulse{display:inline-block;width:8px;height:8px;border-radius:100%;background:#58d9a2;box-shadow:0 0 0 4px #58d9a21b,0 0 15px #58d9a255;flex:none}
.cn-pulse.is-stale{background:#e0a960;box-shadow:0 0 0 4px #e0a9601b}
.cn-pulse.is-offline{background:#9aabba;box-shadow:none}
.crypto-news h2{margin:0;font:800 clamp(23px,3vw,31px)/1.2 var(--display,system-ui,sans-serif);letter-spacing:-.045em}
.crypto-news h2 span{color:#e7c87f}
.cn-description{margin:6px 0 0;color:#a2b2c6;font-size:12px}
.cn-refresh{padding:8px 13px;white-space:nowrap;border:1px solid #4b6078;border-radius:9px;background:#17293c;color:#e9f0fb;font:700 12px var(--font,system-ui,sans-serif);cursor:pointer}
.cn-refresh:hover{background:#20394f;border-color:#dfc37f}
.cn-refresh:disabled{opacity:.5;cursor:wait}
.cn-controls{display:flex;flex-wrap:wrap;gap:8px;margin:21px 0 18px}
.cn-filter{padding:7px 14px;min-height:34px;border:1px solid #32465d;border-radius:999px;background:#0d1b2a;color:#aabbd0;font:700 12px var(--font,system-ui,sans-serif);cursor:pointer}
.cn-filter:hover{border-color:#9c895d;color:#fff}
.cn-filter[aria-pressed="true"]{background:#e7c87f;border-color:#e7c87f;color:#101b27}
.cn-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.cn-article{min-width:0;padding:16px;border:1px solid #293d52;background:#0b1929;border-radius:11px;display:flex;flex-direction:column;justify-content:space-between;gap:14px;transition:border-color .15s,background .15s}
.cn-article:hover{background:#12283c;border-color:#947c49}
.cn-article-title{display:block;color:#eef4fc;font:700 14px/1.45 var(--font,system-ui,sans-serif);overflow-wrap:anywhere}
.cn-article-title:hover{color:#f6da9e;text-decoration:underline;text-underline-offset:3px}
.cn-article-meta{display:flex;gap:7px;flex-wrap:wrap;align-items:center;color:#8fa4b9;font-size:10.5px}
.cn-source{font-weight:800;color:#edcd88}
.cn-tag{padding:1px 7px;border:1px solid #314960;border-radius:99px;color:#bcd0e4;font-weight:700;font-size:10px}
.cn-bottom{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #263b50;margin-top:18px;padding-top:14px;color:#91a5bb;font-size:11px}
.cn-bottom a{color:#e7c87f;text-decoration:underline;text-underline-offset:2px}
.cn-message{grid-column:1/-1;margin:0;padding:26px 14px;border:1px dashed #39506a;border-radius:10px;text-align:center;color:#9eb0c4;font-size:13px}
@media(max-width:700px){.crypto-news{margin-top:23px;padding:17px 13px;border-radius:12px}.cn-grid{grid-template-columns:1fr}.cn-top{gap:9px}.cn-refresh{padding:7px 9px;font-size:11px}.cn-controls{margin:15px 0 14px;gap:6px}.cn-filter{font-size:11px;padding:6px 11px;min-height:32px}.cn-article{padding:12px 13px;gap:11px}.cn-article-title{font-size:13px}.cn-bottom{align-items:flex-start}}
@media(prefers-reduced-motion:reduce){.cn-article{transition:none}}

/* Crypto Hub V1.3.1: news-first layout and unobtrusive header statistics. */
.site-width > .crypto-news:first-child{margin-top:26px;margin-bottom:29px}
.cn-top-main{min-width:0}
.cn-overview{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:14px}
.cn-overview-pill{display:inline-flex;align-items:center;gap:6px;min-height:28px;padding:5px 9px;border:1px solid #365069;border-radius:7px;background:#13283b;color:#b8cadd;font:600 11px/1.4 var(--font,system-ui,sans-serif);white-space:normal}
.cn-overview-pill > span:first-child{color:#e7c87f;font-size:15px;line-height:1}
.cn-overview-pill strong{color:#f4d18a;font-weight:800}
.cn-overview-pill time{color:#f4d18a;font-weight:700}
@media(max-width:700px){.site-width > .crypto-news:first-child{margin-top:17px;margin-bottom:22px}.cn-overview{gap:6px;margin-top:12px}.cn-overview-pill{font-size:10px;padding:5px 7px;min-height:27px}}

/* V1.3.2: compact news-first display; game styling is never changed. */
.site-width > .crypto-news:first-child{margin-top:21px;margin-bottom:24px}
.crypto-news{padding:19px 20px 17px}
.cn-kicker{margin-bottom:4px}
.crypto-news h2{font-size:clamp(23px,2.7vw,29px)}
.cn-description{margin-top:4px}
.cn-overview{margin-top:9px;gap:7px}
.cn-overview-pill{min-height:26px;padding:4px 8px}
.cn-controls{margin:12px 0 12px;gap:7px}
.cn-filter{min-height:32px;padding:6px 13px}
.cn-grid{gap:8px}
.cn-article{padding:12px 14px;gap:11px}
.cn-article-title{font-size:13.5px;line-height:1.42}
.cn-bottom{margin-top:13px;padding-top:11px}
.cn-actions{display:flex;justify-content:center;margin-top:13px}
.cn-actions[hidden]{display:none}
.cn-more{background:#192c40;border:1px solid #4a6179;border-radius:9px;color:#e7c87f;padding:10px 26px;min-width:176px;min-height:39px;font:800 12px var(--font,system-ui,sans-serif);cursor:pointer;transition:background .15s,border-color .15s}
.cn-more:hover{background:#223d53;border-color:#e7c87f}
.cn-more:focus-visible{outline:2px solid #e7c87f;outline-offset:3px}
@media(max-width:700px){
  .site-width > .crypto-news:first-child{margin-top:14px;margin-bottom:19px}
  .crypto-news{padding:14px 13px}
  .cn-overview{margin-top:8px;gap:6px}
  .cn-controls{margin:11px 0 11px;gap:6px}
  .cn-grid{gap:7px}
  .cn-article{padding:11px 12px;gap:9px}
  .cn-article-title{font-size:13px}
  .cn-actions{margin-top:11px}
  .cn-more{width:100%}
}
@media(prefers-reduced-motion:reduce){.cn-more{transition:none}}
