/* News desk: a clear reading column, contained market context and useful density. */
.page:has(.news-home-heading),.page:has(.news-list-layout){max-width:1280px;padding-top:24px}
.news-home-heading{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 18px;margin-bottom:20px}
.news-home-heading .h1{font-size:24px;letter-spacing:-.035em;margin:0;font-weight:750}
.news-home-heading .lead{font-size:13px;line-height:1.6;margin:0;color:var(--text-2)}
.home-news-layout,.news-list-layout{grid-template-columns:minmax(0,1fr) 300px;gap:22px}
.home-news-layout>section,.news-list-layout>section{min-width:0}
.home-news-layout .side,.news-list-layout .side{gap:18px}

/* Navigation is separate from article content; every item remains tappable. */
.news-shortcuts{display:flex;flex-wrap:wrap;gap:4px 6px;margin:0 0 12px;padding:4px 0;min-height:48px}
.news-shortcuts>a{display:inline-flex;align-items:center;min-height:40px;padding:8px 12px;font-size:13px;font-weight:650;color:var(--text-2);text-decoration:none;border:1px solid transparent;border-radius:6px;background:transparent;line-height:1.5}
.news-shortcuts>a:hover{color:var(--accent-ink);background:var(--hover-surface);border-color:var(--accent-ink)}
.home-news-layout .news-shortcuts>a:first-child{background:var(--surface);border-color:var(--line);color:var(--text)}
.news-shortcuts>a:focus-visible{outline-offset:2px}
.home-news-layout [data-feed],.news-list-layout [data-feed]{border:1px solid var(--line);border-radius:10px;background:var(--surface)}
.home-news-layout .feed-h,.news-list-layout .feed-h{padding:16px 20px;border-bottom:1px solid var(--line);border-radius:10px 10px 0 0;background:var(--surface)}
.home-news-layout .feed-h h2{font-size:18px;letter-spacing:-.025em;font-weight:750}
.home-news-layout .feed-h .telegram-cta{font-size:12px;min-height:38px;padding:7px 10px}
.news-list-layout .feed-status{display:flex;justify-content:flex-end;padding:12px 18px 4px;border-bottom:0}
.news-list-layout [data-feed]>.tabs{padding:0 18px;gap:18px;border-bottom:1px solid var(--line)}
.news-list-layout [data-feed]>.tabs>a{min-height:44px;font-size:13px;display:inline-flex;align-items:center}

.latest-breaking{background:var(--surface-2);border:1px solid var(--line);border-radius:6px;margin:14px 18px}
.latest-breaking>summary{min-height:44px;display:list-item;padding:11px 14px;font-size:13px;font-weight:600;color:var(--text-2)}
.latest-breaking[open]>summary{color:var(--text);border-bottom:1px solid var(--line)}
.latest-breaking .featured{padding:12px;gap:10px}
.latest-breaking .feat{background:var(--surface);border:1px solid var(--line);border-radius:6px}
.home-news-layout .day,.news-list-layout .day{padding:11px 20px;font-size:12px;font-weight:650;color:var(--text-2);border-block:1px solid var(--line);background:var(--surface-2);border-radius:0}
.home-news-layout .tl,.news-list-layout .tl{padding:0}
.home-news-layout .tl:before,.news-list-layout .tl:before{display:none}
.home-news-layout .item,.news-list-layout .item{padding:20px;grid-template-columns:44px minmax(0,1fr);gap:0 16px;border-bottom:1px solid var(--line-soft)}
.home-news-layout .item:last-child,.news-list-layout .item:last-child{border-bottom:0}
.home-news-layout .item:focus-within,.news-list-layout .item:focus-within{background:var(--hover-surface);box-shadow:inset 3px 0 0 var(--accent-ink)}
.home-news-layout .item h3 a:hover,.news-list-layout .item h3 a:hover{color:var(--accent-ink);text-decoration:underline;text-underline-offset:4px}
.home-news-layout .item:before,.news-list-layout .item:before{display:none}
.home-news-layout .item time,.news-list-layout .item time{font-size:12px;font-weight:600;padding-top:4px;color:var(--muted)}
.home-news-layout .item h3,.news-list-layout .item h3{font-size:17px;line-height:1.55;font-weight:700;letter-spacing:-.025em;margin:0 0 8px;word-break:keep-all;overflow-wrap:anywhere}
.home-news-layout .item.breaking h3 a,.news-list-layout .item.breaking h3 a{color:var(--text)}
.home-news-layout .item.breaking time,.news-list-layout .item.breaking time{color:var(--breaking);font-weight:700}
.home-news-layout .item .sum,.news-list-layout .item .sum{font-size:14px;line-height:1.8;color:var(--text-2);margin-bottom:11px;overflow-wrap:anywhere}
.home-news-layout .item .foot,.news-list-layout .item .foot{gap:6px 8px;font-size:12px;line-height:1.6}
.home-news-layout .item .tag,.news-list-layout .item .tag{font-size:11px;min-height:28px;padding:3px 7px;border-radius:4px}
.home-news-layout .item .act,.news-list-layout .item .act{font-size:12px;min-height:32px;padding:5px 7px}
.home-news-layout .item .badge,.news-list-layout .item .badge{border-radius:4px;font-size:11px;font-weight:650;padding:3px 6px}
.home-news-layout .fold-btn:last-child,.news-list-layout .feed-more{border-radius:0 0 10px 10px;min-height:48px}

/* Market context: an actual panel, with two independently readable metric cells. */
.home-pulse{border:1px solid var(--line);border-radius:10px;background:var(--surface);margin:0 0 20px;overflow:hidden}
.home-pulse .pulse-main{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:16px 18px;gap:14px 16px;align-items:stretch}
.home-pulse .pulse-heading{grid-column:1;grid-row:1;display:flex;align-items:center;flex-wrap:wrap;gap:4px 14px;min-width:0}
.home-pulse .pulse-heading h2{font-size:16px;font-weight:750;color:var(--text);margin:0;letter-spacing:-.025em}
.home-pulse .pulse-heading a{display:inline-flex;align-items:center;min-height:36px;font-size:12px;color:var(--accent-ink);font-weight:600}
.home-pulse .pulse-alert{grid-column:2;grid-row:1;justify-self:end;align-self:center;min-height:36px;border:1px solid var(--line);border-radius:6px;background:var(--surface-2);font-size:12px;padding:7px 12px;height:auto}
.home-pulse .pulse-quote{grid-row:2;display:grid;grid-template-columns:auto minmax(0,1fr);gap:5px 12px;align-items:baseline;border:1px solid var(--line);border-radius:7px;padding:13px 16px;background:var(--surface-2);min-width:0}
.home-pulse .pulse-quote:nth-child(2){grid-column:1}
.home-pulse .pulse-quote:nth-child(3){grid-column:2}
.home-pulse .pulse-quote:hover{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 5%,var(--surface-2))}
.home-pulse .pulse-quote small{font-size:12px;grid-column:1/-1;color:var(--text-2);white-space:normal;line-height:1.6}
.home-pulse .pulse-quote strong{font-size:25px;letter-spacing:-.025em;line-height:1.3}
.home-pulse .pulse-quote span{font-size:11px;color:var(--muted);line-height:1.6;white-space:normal;overflow-wrap:anywhere}
.home-pulse .pulse-brief{padding:13px 18px;border-top:1px solid var(--line);gap:8px 12px;background:var(--surface)}
.home-pulse .pulse-label{color:var(--accent-ink);font-size:11px;background:var(--accent-soft);padding:4px 7px;border-radius:4px;line-height:1.6}
.home-pulse .pulse-brief>a{font-size:13px;font-weight:650;line-height:1.7;white-space:normal;overflow-wrap:anywhere}
.home-pulse .pulse-brief time{font-size:11px;line-height:1.6}
.home-pulse .pulse-links{display:flex;flex-wrap:wrap;align-items:center;gap:0 18px;padding:5px 18px;border-top:1px solid var(--line);background:var(--surface-2)}
.home-pulse .pulse-coins{display:flex;flex-wrap:wrap;gap:0 18px;margin-right:auto;overflow:visible}
.home-pulse .pulse-coins a{min-height:36px;font-size:12px;color:var(--text-2)}
.home-pulse .pulse-guide,.home-pulse .pulse-cost{display:inline-flex;align-items:center;min-height:36px;padding:4px 0;border:0;font-size:12px;line-height:1.6;font-weight:650;white-space:normal}
.home-pulse .pulse-cost{color:var(--accent-ink)}

.home-news-layout+.learning-entry{margin-top:28px;border-top:1px solid var(--line);padding-top:22px}
.learning-links>a{border-radius:8px;background:var(--surface)}
.news-list-layout>.side .news-channel{display:block;padding:18px;margin:0;border-radius:10px}
.news-list-layout>.side .news-channel p{font-size:12px;color:var(--text-2)}
.news-list-layout>.side .news-channel .telegram-cta{margin-top:12px;width:100%;min-height:40px}
@media(min-width:1024px){.home-news-layout>.side-right{position:sticky;top:calc(var(--header-h) + 18px)}}
@media(max-width:1023px){
  .home-news-layout,.news-list-layout{grid-template-columns:minmax(0,1fr)}
  .home-news-layout>.side-right,.news-list-layout>.side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
  .home-news-layout>.side-right>:last-child:nth-child(odd){grid-column:1/-1}
}
@media(max-width:760px){
  .news-home-heading{display:block;margin-bottom:18px}.news-home-heading .h1{font-size:22px}.news-home-heading .lead{margin:6px 0 0;font-size:13px}
  .home-pulse .pulse-main{padding:14px;gap:12px}
  .home-pulse .pulse-heading{display:block}.home-pulse .pulse-heading h2{font-size:15px}
  .home-pulse .pulse-heading a{font-size:12px;min-height:32px}
  .home-pulse .pulse-alert{font-size:12px;min-height:44px;padding:9px 10px}
  .home-pulse .pulse-quote{display:flex;flex-direction:column;align-items:flex-start;gap:5px;padding:13px 12px}
  .home-pulse .pulse-quote strong{font-size:23px}.home-pulse .pulse-quote small{font-size:11px}
  .home-pulse .pulse-brief{display:grid;grid-template-columns:minmax(0,1fr);gap:7px;padding:14px}
  .home-pulse .pulse-label{justify-self:start}.home-pulse .pulse-brief>a{grid-column:1;grid-row:auto;font-size:13px}
  .home-pulse .pulse-brief time{text-align:left;white-space:normal;font-size:11px}
  .home-pulse .pulse-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px;padding:4px 14px}
  .home-pulse .pulse-coins{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 8px;width:100%;margin:0;border-bottom:1px solid var(--line)}
  .home-pulse .pulse-coins a{min-height:44px;font-size:11px;white-space:normal;line-height:1.5}
  .home-pulse .pulse-guide,.home-pulse .pulse-cost{min-height:44px;font-size:12px}
  .news-shortcuts>a{min-height:44px;padding:8px 10px;font-size:12px}
}
@media(max-width:600px){
  .home-news-layout>.side-right,.news-list-layout>.side{grid-template-columns:minmax(0,1fr)}
  .home-news-layout .feed-h,.news-list-layout .feed-h{padding:14px;gap:10px;grid-template-columns:minmax(0,1fr) auto}
  .home-news-layout .feed-h .telegram-cta{grid-column:1/-1;width:100%;min-height:44px;font-size:12px}
  .latest-breaking{margin:12px}.latest-breaking>summary{padding:12px;font-size:12px}
  .latest-breaking .featured{grid-template-columns:1fr}
  .home-news-layout .day,.news-list-layout .day{padding:10px 14px;font-size:12px}
  .home-news-layout .item,.news-list-layout .item{grid-template-columns:36px minmax(0,1fr);gap:0 10px;padding:17px 14px}
  .home-news-layout .item time,.news-list-layout .item time{font-size:11px}
  .home-news-layout .item h3,.news-list-layout .item h3{font-size:16px;line-height:1.6}
  .home-news-layout .item .sum,.news-list-layout .item .sum{font-size:14px;line-height:1.75}
  .home-news-layout [data-mode=home] .item p.sum{-webkit-line-clamp:2}
  .home-news-layout [data-mode=home] .item p.sum.open{-webkit-line-clamp:unset}
  .home-news-layout .item .foot,.news-list-layout .item .foot{gap:5px 7px;font-size:11px}
  .home-news-layout .item .foot .acts,.news-list-layout .item .foot .acts{margin-left:0;width:auto}
  .home-news-layout .item .act,.news-list-layout .item .act{min-height:44px;padding:8px}
  .home-news-layout .item .tag,.news-list-layout .item .tag{min-height:36px}
  .news-list-layout [data-feed]>.tabs{padding:0 14px;gap:16px}
}
@media(max-width:360px){
  .home-pulse .pulse-main{gap:10px;padding:12px}.home-pulse .pulse-heading h2{font-size:14px}
  .home-pulse .pulse-quote{padding:11px 9px}.home-pulse .pulse-quote strong{font-size:21px}
  .home-news-layout .item,.news-list-layout .item{grid-template-columns:1fr;gap:5px;padding:16px 13px}
  .home-news-layout .item time,.news-list-layout .item time{padding:0;font-size:12px}
}
