.news-ticker{--nt-bg:var(--bg2,#fff);--nt-border:var(--brd,rgba(15,23,42,.1));margin:0 auto;padding:.7rem 1rem;background:var(--nt-bg);border-block:1px solid var(--nt-border);overflow:hidden}.news-ticker[hidden]{display:none}.nt-head{max-width:1200px;margin:0 auto .4rem;display:flex;align-items:center;justify-content:space-between;gap:.75rem}.nt-title{margin:0;font-size:.9rem;font-weight:750}.nt-updated,.nt-empty{font-size:.78rem;color:var(--slate-500,#64748b)}.nt-viewport{direction:ltr;overflow:hidden;mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent)}.nt-track{direction:ltr;display:flex;width:max-content;align-items:center;animation:nt-scroll 42s linear infinite}.news-ticker[data-dir="rtl"] .nt-track{animation-direction:reverse}.news-ticker:hover .nt-track,.news-ticker:focus-within .nt-track,.news-ticker[data-paused="true"] .nt-track{animation-play-state:paused}.nt-list{direction:inherit;flex-shrink:0;display:flex;align-items:center;gap:.8rem;padding:0;margin:0;list-style:none}.nt-item{display:flex;align-items:center;gap:.55rem;max-width:min(80vw,760px);padding:.35rem .65rem;border-inline-start:1px solid var(--nt-border);white-space:nowrap}.nt-item a{color:inherit;text-decoration:none}.nt-item a:hover{text-decoration:underline}.nt-category,.nt-status{font-size:.72rem;font-weight:700;border-radius:99px;padding:.18rem .5rem;background:rgba(249,115,22,.12);color:#9a3412}.nt-status{background:rgba(2,132,199,.1);color:#075985}.nt-summary{font-size:.84rem;color:var(--slate-600,#475569);overflow:hidden;text-overflow:ellipsis}.nt-control{border:1px solid var(--nt-border);border-radius:99px;padding:.28rem .65rem;background:transparent;color:inherit;font:inherit;font-size:.74rem;cursor:pointer}.nt-control:focus-visible,.nt-item a:focus-visible{outline:2px solid #f97316;outline-offset:2px}.nt-empty{max-width:1200px;margin:.3rem auto}@keyframes nt-scroll{to{transform:translateX(-50%)}}@media(max-width:600px){.news-ticker{padding:.65rem .75rem}.nt-head{align-items:flex-start}.nt-item{max-width:88vw;white-space:normal}.nt-summary{display:none}.nt-track{animation-duration:32s}}@media(prefers-reduced-motion:reduce){.nt-track{animation:none!important;width:100%;flex-wrap:wrap}.nt-list[aria-hidden="true"]{display:none}.nt-viewport{mask-image:none}}

/* Scope against article heading and list defaults. */
.news-ticker .nt-title{font-size:.9rem!important;line-height:1.5!important;margin:0!important;padding:0!important;letter-spacing:normal}
.news-ticker .nt-title:after{display:none!important}
.news-ticker .nt-list{padding:0!important;margin:0!important;list-style:none!important}
.news-ticker .nt-item{margin:0!important;flex-shrink:0;font-size:.9rem!important}
.news-ticker[data-dir="rtl"] .nt-item{direction:rtl}
.news-ticker[data-dir="ltr"] .nt-item{direction:ltr}
.news-ticker .nt-head{flex-wrap:wrap}
.news-ticker .nt-control{min-height:36px}
@media(max-width:600px),(prefers-reduced-motion:reduce){
 .news-ticker .nt-control{display:none}
 .news-ticker .nt-viewport{direction:inherit;overflow-x:auto;mask-image:none;scroll-snap-type:x proximity}
 .news-ticker .nt-track{animation:none;width:max-content;flex-wrap:nowrap;direction:inherit}
 .news-ticker .nt-list{direction:inherit;gap:.65rem}
 .news-ticker .nt-list[aria-hidden="true"]{display:none}
 .news-ticker .nt-item{display:flex;flex-wrap:wrap;align-content:flex-start;width:min(82vw,420px);max-width:420px;white-space:normal;scroll-snap-align:start;padding:.75rem;border:1px solid var(--nt-border);border-radius:16px}
 .news-ticker .nt-item a{flex-basis:100%;font-weight:650}
 .news-ticker .nt-summary{display:block;flex-basis:100%;overflow:visible;line-height:1.6}
}


/* Compact Apple-inspired news ticker */
.news-ticker{max-width:920px;width:calc(100% - 32px);margin:14px auto;display:grid;grid-template-columns:minmax(185px,235px) minmax(0,1fr);align-items:center;column-gap:14px;padding:9px 15px;border:1px solid rgba(255,255,255,.9);border-radius:17px;background:linear-gradient(135deg,#fff 0%,#f6f7f9 58%,#eef4fb 100%);box-shadow:0 8px 26px rgba(15,23,42,.075),inset 0 1px 0 rgba(255,255,255,.95);color:#1d1d1f;min-height:62px}
.news-ticker[hidden]{display:none}
.news-ticker .nt-head{margin:0;max-width:none;gap:6px;align-items:center}
.news-ticker .nt-title{font-size:.82rem!important;font-weight:750;color:#1d1d1f;white-space:nowrap}
.news-ticker .nt-title:before{content:"";display:inline-block;width:8px;height:8px;margin-inline-end:7px;border-radius:50%;background:linear-gradient(135deg,#0a84ff,#30d158);box-shadow:0 0 0 3px rgba(10,132,255,.09);vertical-align:1px}
.news-ticker .nt-updated{font-size:.66rem;color:#8a8a8e;white-space:nowrap}
.news-ticker .nt-viewport{min-width:0;mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent)}
.news-ticker .nt-track{animation-duration:38s}
.news-ticker .nt-item{gap:.48rem;max-width:min(72vw,680px);padding:.25rem .55rem;border-inline-start:1px solid rgba(60,60,67,.14)}
.news-ticker .nt-item a{font-size:.82rem;font-weight:650;color:#1d1d1f}
.news-ticker .nt-item a:hover{color:#007aff}
.news-ticker .nt-category,.news-ticker .nt-status{background:rgba(0,122,255,.09);color:#0066cc;font-size:.67rem}
.news-ticker .nt-status{background:rgba(48,209,88,.12);color:#188038}
.news-ticker .nt-summary{font-size:.77rem;color:#6e6e73}
.news-ticker .nt-control{border-color:rgba(60,60,67,.16);color:#007aff;background:rgba(255,255,255,.72);font-size:.68rem;padding:.2rem .55rem;min-height:28px}
.news-ticker .nt-empty{grid-column:2;margin:0;color:#8a8a8e;font-size:.78rem;line-height:1.4}
@media(max-width:700px){.news-ticker{grid-template-columns:1fr;row-gap:3px;width:calc(100% - 24px);padding:8px 12px;min-height:58px;border-radius:15px}.news-ticker .nt-head{gap:8px}.news-ticker .nt-title{font-size:.78rem!important}.news-ticker .nt-updated{margin-inline-start:auto}.news-ticker .nt-empty{grid-column:1;font-size:.74rem}.news-ticker .nt-item{max-width:84vw}.news-ticker .nt-summary{display:none}}
@media(prefers-reduced-motion:reduce){.news-ticker .nt-track{animation:none!important}}


/* Rotating ticker: one item at a time, 6 seconds each */
.news-ticker .nt-viewport.nt-rotator{direction:inherit;overflow:hidden;mask-image:none;position:relative;min-height:2.6rem}
.news-ticker .nt-rotator .nt-list{display:grid!important;gap:0}
.news-ticker .nt-rotator .nt-item{grid-area:1/1;display:flex;flex-wrap:wrap;align-items:center;max-width:none;width:auto;white-space:normal;border:0;border-radius:0;padding:.2rem .1rem;opacity:0;visibility:hidden;transform:translateY(.6rem);transition:opacity .25s ease,transform .25s ease,visibility 0s linear .25s}
.news-ticker .nt-rotator .nt-item.is-active{opacity:1;visibility:visible;transform:none;transition:opacity .4s ease .25s,transform .4s ease .25s,visibility 0s linear .25s}
.news-ticker .nt-rotator .nt-item a{flex:1 1 16rem;min-width:0;font-weight:650;line-height:1.45}
.news-ticker .nt-rotator .nt-summary{display:none}
.news-ticker .nt-rotator .nt-source{font-size:.66rem}
.news-ticker .nt-nav{display:inline-flex;align-items:center;gap:4px;margin-inline-start:auto}
.news-ticker .nt-counter{font-size:.68rem;color:#8a8a8e;min-width:2.6em;text-align:center;font-variant-numeric:tabular-nums}
.news-ticker .nt-arrow{min-width:30px;padding:0 .4rem;line-height:1;display:inline-flex!important;align-items:center;justify-content:center;font-size:1rem}
@media(max-width:600px){
 .news-ticker{grid-template-columns:1fr}
 .news-ticker .nt-control{display:inline-flex!important}
 .news-ticker .nt-rotator .nt-item{width:100%;max-width:none;padding:.5rem .1rem;border:0}
 .news-ticker .nt-rotator .nt-summary{display:block;flex-basis:100%;font-size:.76rem;line-height:1.55}
 .news-ticker .nt-rotator{min-height:6.5rem}
}
@media(prefers-reduced-motion:reduce){.news-ticker .nt-rotator .nt-item,.news-ticker .nt-rotator .nt-item.is-active{transition:none;transform:none}}
