/* News and long-form reading */
.news-list-layout > section > .h1,
.issue-header .h1,
.my-news-heading .h1 {
  max-width: 30ch;
  margin-block: 8px;
  font-size: clamp(27px, 3.1vw, 40px);
  line-height: 1.24;
  letter-spacing: -.045em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.news-list-layout > section > .lead,
.issue-header .lead,
.my-news-heading .lead {
  max-width: 65ch;
  margin-block: 9px 14px;
  color: var(--text-2);
  line-height: 1.65;
}
.news-list-layout .news-shortcuts {
  gap: 4px 16px;
  padding: 0;
  border-block: 1px solid var(--line);
}
.news-list-layout .news-shortcuts > a { min-height: 44px; padding-inline: 0; border: 0; border-radius: 0 }
.news-list-layout .news-shortcuts > a:hover { background: transparent; text-decoration: underline; text-underline-offset: 4px }
.news-timezone { white-space: nowrap; font-size: .85em; color: var(--muted) }
.news-list-layout .nf-controls button { min-width: 44px; height: 44px }
.news-list-layout .nf-stage { border-inline-start: 0 }
.page:has(.card.article) { max-width: 1220px }
.grid2:has(> .article) { align-items: start; grid-template-columns: minmax(0, 1fr) 290px; gap: clamp(20px, 3vw, 44px) }
.card.article {
  min-width: 0;
  padding: clamp(22px, 3.25vw, 48px);
  border: 0;
  border-top: 2px solid var(--text);
  border-radius: 0;
  background: var(--surface);
}
.article > h1 {
  max-width: 32ch;
  margin-block: 12px 18px;
  font-size: clamp(27px, 3vw, 42px);
  line-height: 1.29;
  letter-spacing: -.043em;
  overflow-wrap: anywhere;
}
.article > .summary {
  padding: 0 0 20px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--text-2);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.article > .meta { gap: 4px 12px; padding-bottom: 12px; margin-bottom: 18px }
.article > .meta time { margin-left: 0 }
.article > .body { overflow-wrap: anywhere }
.article > .body:not(.brief) h2 { margin-block: 1.55em .5em; font-size: clamp(20px, 1.9vw, 25px); letter-spacing: -.035em }
.article > .acts .btn, .my-view-switch .btn, .my-news [data-add-coin], .my-news [data-my-refresh] { min-height: 44px }
.issue-header .news-eyebrow { font-size: 12px; letter-spacing: .025em }
.issue-next a { min-height: 44px; display: inline-flex; align-items: center }

/* Board search and threads */
.cu-board { margin-inline: auto }
.cu-list-page > .cu-search {
  justify-content: start;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-block: 4px 12px;
}
.cu-list-page > .cu-search .input, .cu-list-page > .cu-search .btn { min-height: 44px }
.cu-list-page > .cu-search input[type=search] { flex: 1 1 120px; max-width: 360px }
.cu-foot:empty { display: none }
.cu-side .cu-hot a, .cu-side .cu-lounges a, .cu-neighbours a, .cu-pages a { min-height: 44px }
.cu-auth-info > summary, .cu-auth-links a { min-height: 44px; align-content: center }
.cu-auth-links a { display: inline-flex; align-items: center }
.cu-post .cu-post-head h1 { text-wrap: pretty; overflow-wrap: anywhere }
.cu-account, .cu-write { min-width: 0 }

/* Broadcaster profiles, wallets and live video */
.trader-profile, .traders-page, .hodoo-page,
.st-page.wh-page, .st-page.yl-page { width: 100%; max-width: 1168px; margin-inline: auto }
.trader-profile .profile-title, .traders-page .traders-heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-block: 9px 18px;
}
.trader-profile .profile-title h1, .traders-page .traders-heading h1, .hodoo-page-heading h1,
.st-page.wh-page > h1, .st-page.yl-page > h1 {
  margin-block: 0;
  font-size: clamp(27px, 3.15vw, 42px);
  line-height: 1.25;
  letter-spacing: -.045em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.profile-title a, .wh-jumps a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 650 }
.profile-title a { margin-inline-start: auto; color: var(--accent-ink) }
.trader-profile:has([data-wedom-map]) .profile-title a{display:none}
.wedom-map-link{display:inline-flex;align-items:center;gap:6px;min-height:44px;color:var(--accent-ink);font-size:14px;font-weight:650}
/* The embedded card is also polled from its public endpoint. The surrounding profile already is its detail view. */
.trader-profile :is(.wedom-detail-link, .jadoodoo-detail-link, .zzapgu-detail-link) { display: none }
.trader-profile :is(.wedom-header, .jadoodoo-header, .zzapgu-header) { min-height: 56px; padding-inline: clamp(14px, 2vw, 24px) }
.trader-profile :is(.wedom-profile, .jadoodoo-profile, .zzapgu-profile) { min-height: 44px }
.trader-profile :is(.wedom-values, .jadoodoo-values, .zzapgu-values) > div > strong { font-size: clamp(16px, 1.75vw, 23px) }
.traders-page .traders-heading h1 { flex: 1 0 auto }
.traders-page .traders-heading p { order: 1; flex-basis: 100%; margin: 0; color: var(--text-2) }
.traders-page .traders-heading .btn { min-height: 44px }
.wh-jumps {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 20px;
  margin-block: 12px 20px;
  border-block: 1px solid var(--line);
}
.wh-jumps a { color: var(--text-2); font-size: 14px }
.wh-jumps a:last-child, .wh-jumps a:hover { color: var(--accent-ink) }
.wh-page :is(#wh-accounts, #wh-trades) { scroll-margin-top: calc(var(--header-h,60px) + 20px) }
.wh-page .wh-events { gap: 0 }
.wh-page .wh-events li {
  display: grid;
  grid-template-columns: 6.4rem minmax(6rem, 1fr) minmax(8rem, 1fr) auto;
  gap: 5px 14px;
  align-items: center;
  padding-block: 8px;
  border-top: 1px solid var(--line-soft);
}
.wh-events li > a { min-height: 36px; align-content: center; overflow-wrap: anywhere }
.wh-events li > small { text-align: end; font-size: 14px; font-weight: 650 }
.wh-page .wh-card { gap: 12px; padding: 16px }
.wh-page .wh-head b { font-size: 17px }
.wh-page .st-lead code { overflow-wrap: anywhere }
.yl-page .yl-tabs, .my-news .my-view-switch {
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}
.yl-tabs button { min-height: 44px; font-weight: 600 }
.yl-page .yl-tabs button { border: 0; border-radius: 7px; white-space: nowrap }
.yl-page .yl-tabs [aria-pressed=true] { background: var(--accent-soft); color: var(--accent-ink) }
.yl-page [data-yl-group][hidden], .yl-page .yl-empty[hidden] { display: none }
.yl-page .yl-empty { padding: 18px 0; border-block: 1px solid var(--line) }
.yl-list a { min-width: 0 }
.yl-channels a, .yl-others a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-2) }

/* Settings, event terms and reference pages */
body:is([data-section=about],[data-section=editorial],[data-section=terms],[data-section=privacy]) .page { max-width: 860px }
body:is([data-section=about],[data-section=editorial],[data-section=terms],[data-section=privacy]) .page > .prose {
  padding: clamp(20px, 3vw, 40px);
  overflow-wrap: anywhere;
  line-height: 1.8;
}
.set-page { width: 100%; margin-inline: auto }
.set-page h1 { font-size: clamp(28px, 3.1vw, 40px); letter-spacing: -.04em }
.set-page .set-opt { min-height: 48px }
.set-page .set-card { border-radius: 12px }
.chat-page .chat-nick input, .chat-page .chat-form :is(input,button) { min-height: 44px }
.chat-page .chat-msg { line-height: 1.6 }
.chat-page .chat-msg .nick { color: var(--text) }
.chat-page .chat-msg.me .nick { color: var(--accent-ink) }
.ev-card h3 { font-size: clamp(18px, 1.6vw, 23px); line-height: 1.42; letter-spacing: -.025em }
.ev-card .ev-dates { border-top: 1px solid var(--line-soft); padding-top: 10px; font-variant-numeric: tabular-nums }
.benefit-rates .benefit-rate { min-width: 0; padding: clamp(14px, 2vw, 24px) }
.benefit-rates .benefit-rate strong { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.05; letter-spacing: -.04em }
.benefit-rates .benefit-rate strong small { font-size: .5em; font-weight: 650; white-space: nowrap; letter-spacing: -.015em }
.ad-page .ad-sec .btn, .ft-page .ft-sec-head a, .ft-page .ft-cta a { min-height: 44px; display: inline-flex; align-items: center }
.ft-page .ft-zrow-head h2 > a { color: var(--text); text-decoration: underline; text-decoration-color: var(--control-line); text-underline-offset: 4px }
.ft-page .ft-zrow-head h2 > a:hover { text-decoration-color: currentColor }
.ft-page .ft-zrow { position: relative; border-radius: 10px }
.ft-zrow-head h2 a::after { content: ''; position: absolute; inset: 0; border-radius: 10px }
.ft-zrow:focus-within { outline: 2px solid var(--focus); outline-offset: 2px }
.ft-page .ft-form-row select { min-height: 44px }
@media (max-width: 900px) {
  .grid2:has(> .article) { grid-template-columns: minmax(0, 1fr) }
}
@media (max-width: 640px) {
  .news-list-layout > section > .lead { font-size: 14px; margin-bottom: 10px }
  .news-list-layout .news-shortcuts { gap: 0 12px; min-height: 44px }
  .news-list-layout .news-shortcuts > a { font-size: 12px }
  .article.card { padding: 16px 0; background: transparent }
  .article > .summary { padding-bottom: 15px; margin-bottom: 16px }
  .article > .body { line-height: 1.8 }
  .cu-list-page > .cu-search { display: grid; grid-template-columns: auto minmax(0, 1fr) auto }
  .cu-list-page > .cu-search input[type=search] { width: 100%; font-size: 16px }
  .cu-list-page > .cu-search select { font-size: 14px; max-width: 100px }
  .cu-board .cu-sort a { min-width: 44px; min-height: 44px }
  .traders-page .traders-heading { align-items: start; gap: 6px 14px }
  .traders-page .traders-heading p { order: 0 }
  .wh-jumps { column-gap: 13px; margin-bottom: 14px }
  .wh-jumps a { font-size: 13px }
  .wh-page .wh-events li {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: 'wallet value' 'trade time';
  }
  .wh-events li > a { grid-area: wallet; min-height: 0; font-weight: 650 }
  .wh-events li > span { grid-area: trade; color: var(--text-2) }
  .wh-events li > time { grid-area: time; text-align: end }
  .wh-events li > small { grid-area: value }
  .yl-list a { grid-template-columns: minmax(90px, 34%) minmax(0, 1fr) }
  .yl-page .yl-title { font-size: 15px; line-height: 1.5 }
  .benefit-rates { gap: 8px }
  .benefit-rates .benefit-rate p { font-size: 13px; line-height: 1.6 }
}
@media (min-width: 375px) and (max-width: 560px) {
  .benefit-rates { grid-template-columns: repeat(2, minmax(0, 1fr)) }
}
