body.news-frame { margin: 0; }
.news-ticker {
  color: #eaf0f2;
  background: #182d3c;
  border-bottom: 1px solid #45515a;
  font: 1rem/1.45 "Malgun Gothic", "Apple SD Gothic Neo", system-ui, sans-serif;
}
.news-ticker *, .news-ticker *::before, .news-ticker *::after { box-sizing: border-box; }
.news-inner {
  position: relative; display: flex; align-items: center; gap: .65rem;
  width: 88%; min-height: 3rem; margin-inline: auto;
}
.news-heading { display: flex; flex: none; align-items: center; gap: .5rem; }
.news-label {
  margin: 0; color: #f2d599;
  font-family: inherit; font-size: 1rem; font-weight: 750; line-height: 1.2;
  white-space: nowrap; letter-spacing: -.035em;
}
.news-state { color: #f0d9a7; font-size: .8rem; white-space: nowrap; }
.news-unavailable { margin: 0; border-left: 1px solid #657780; padding-left: .75rem; color: #d5e0e7; }
.news-window {
  order: 2; min-width: 0; flex: 1 1 0; overflow-x: auto; overflow-y: hidden;
  container-type: inline-size; border-left: 1px solid #657780; scrollbar-width: none; overscroll-behavior-x: contain;
}
.news-window::-webkit-scrollbar { display: none; }
.news-track { display: flex; width: max-content; animation: news-marquee var(--news-duration) linear infinite; }
.news-rate-short { --news-duration: 100s; }
.news-rate-medium { --news-duration: 205s; }
.news-rate-long { --news-duration: 350s; }
.news-rate-extended { --news-duration: 530s; }
.news-list { display: flex; width: max-content; min-width: 100cqw; margin: 0; padding: 0; list-style: none; }
.news-list li { display: flex; align-items: center; gap: .6rem; min-height: 44px; padding-inline: .8rem 1.1rem; white-space: nowrap; }
.news-list li + li, .news-copy li:first-child { box-shadow: inset 1px 0 #ffffff19; }
.news-source { color: #f0d59c; font-size: .88rem; }
.news-list a { display: inline-flex; align-items: center; min-height: 44px; color: #f5f8f9; font-weight: 630; text-decoration: none; text-underline-offset: .22em; }
.news-list a:hover, .news-list a:focus-visible { text-decoration: underline; color: #ffe2a8; }
.news-original { color: #d7c29c; font-size: .82rem; font-weight: 500; margin-inline: .35rem; }
.news-sr-original { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.news-list time { color: #c9d7df; font-size: .88rem; font-variant-numeric: tabular-nums; }
.news-pause { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
.news-control {
  order: 3; flex: none; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 6px; color: #e1c686; cursor: pointer;
}
.news-control > span { width: 10px; height: 13px; border-inline: 3px solid currentColor; }
.news-pause:checked + .news-control > span { width: 0; height: 0; border: 7px solid transparent; border-left: 11px solid currentColor; border-right: 0; }
.news-control:hover, .news-pause:focus-visible + .news-control { background: #ffffff14; }
.news-pause:focus-visible + .news-control, .news-window:focus-visible { outline: 2px solid #f2d599; outline-offset: -2px; }
.news-pause:checked ~ .news-window .news-track, .news-window:focus-within .news-track, .news-window:active .news-track {
  animation-play-state: paused;
}
@media (hover: hover) {
  .news-inner:hover .news-track { animation-play-state: paused; }
}
/* Keep the focused headline in normal scroll order for keyboard navigation. */
.news-window:has(a:focus-visible) .news-track, .news-window:focus-visible .news-track { animation: none; }
.news-window:has(a:focus-visible) .news-copy, .news-window:focus-visible .news-copy { display: none; }
@keyframes news-marquee { to { transform: translateX(-50%); } }
@media (max-width: 1120px) { .news-inner { width: calc(100% - 64px); } }
@media (max-width: 920px) { .news-inner { width: calc(100% - 48px); } }
@media (max-width: 680px) {
  .news-inner { width: calc(100% - 32px); min-height: 3.15rem; gap: .35rem; }
  .news-heading { flex-direction: column; gap: .05rem; align-items: flex-start; }
  .news-list li { padding-inline: .6rem .8rem; gap: .45rem; }
  .news-control { width: 36px; }
}
@media (prefers-reduced-motion: reduce), print {
  .news-track { animation: none; }
  .news-copy, .news-pause, .news-control { display: none; }
  .news-window { scrollbar-width: thin; }
  .news-window::-webkit-scrollbar { display: block; height: 4px; }
}
