/* Shared announcement component: admin preview, Chinese and English home. */
.notice-ticker{font-family:"YouYuan","幼圆","Yuanti SC","圆体-简","PingFang SC",system-ui,sans-serif;margin:0 0 12px;min-width:0;color:#6558cc}
.notice-ticker[hidden],.notice-ticker [hidden]{display:none!important}
.notice-ticker *{box-sizing:border-box}
.notice-ticker .nt-bar{display:flex;align-items:center;gap:10px;background:#f5f3fc;border:1px solid #e4def5;border-radius:10px;padding:10px 12px;min-height:43px;font-size:13px;line-height:20px;overflow:hidden}
.notice-ticker .nt-label{display:flex;align-items:center;gap:5px;white-space:nowrap;flex:none;font-weight:700;font-size:12px;color:#6558cc}
.notice-ticker .nt-label svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.notice-ticker .nt-window{flex:1;min-width:0;overflow:hidden;white-space:nowrap;border-left:1px solid #ded8f1;padding-left:9px}
.notice-ticker .nt-copy{display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;color:#51468f;line-height:20px;width:max-content}
.notice-ticker .nt-group{display:inline-flex;align-items:center;flex:none;white-space:nowrap}
.notice-ticker .nt-item{display:inline-flex;align-items:center;flex:none;white-space:nowrap}
.notice-ticker .nt-item+.nt-item::before,.notice-ticker .nt-loop-group .nt-item:first-child::before{content:"";width:4px;height:4px;border-radius:50%;background:#a89ad9;margin:0 15px;flex:none}
.notice-ticker .nt-copy.nt-scroll{animation:nt-slide var(--nt-duration,10s) linear infinite}
@keyframes nt-slide{from{transform:translateX(0)}to{transform:translateX(var(--nt-distance,0px))}}
.notice-ticker .nt-buttons{display:flex;align-items:center;gap:7px;flex:none}
.notice-ticker .nt-button{appearance:none;display:inline-flex;align-items:center;justify-content:center;min-height:28px;min-width:28px;padding:3px 5px;margin:0;background:transparent;border:0;border-radius:5px;color:#6558cc;font:inherit;font-size:12px;line-height:18px;white-space:nowrap;cursor:pointer;font-weight:650}
.notice-ticker .nt-button.nt-pause[hidden]{display:inline-flex!important;visibility:hidden;pointer-events:none}.notice-ticker .nt-button:hover{background:#eae5f9}.notice-ticker .nt-button:focus-visible{outline:2px solid #8b83e7;outline-offset:1px}
.notice-ticker .nt-dialog{width:min(540px,calc(100% - 28px));max-height:calc(100% - 28px);padding:20px;border:1px solid #e3e8f0;border-radius:14px;color:#20263a;background:white;box-shadow:0 12px 42px #1d254128;overflow:auto;text-align:left}
.notice-ticker .nt-dialog::backdrop{background:#18203465}
.notice-ticker .nt-dialog-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}
.notice-ticker .nt-dialog-head h2{font:700 18px/1.4 "YouYuan","幼圆","Yuanti SC","圆体-简","PingFang SC",system-ui,sans-serif;margin:0;color:#20263a}
.notice-ticker .nt-dialog-content article{padding:14px 0;border-top:1px solid #edf0f5;margin:0}
.notice-ticker .nt-dialog-content strong{font-size:15px;overflow-wrap:anywhere;color:#20263a;line-height:1.6;display:block}
.notice-ticker .nt-dialog-content time{display:block;color:#69758c;font-size:12px;margin:3px 0 7px}
.notice-ticker .nt-dialog-content p{color:#46516b;font:inherit;font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75;margin:0}
@media(max-width:420px){.notice-ticker .nt-bar{gap:6px;padding:8px 9px;font-size:12px}.notice-ticker .nt-buttons{gap:1px}.notice-ticker .nt-window{padding-left:6px}}
@media(prefers-reduced-motion:reduce){.notice-ticker .nt-copy.nt-scroll{animation:none}}
