/* YSAN floating updates panel v1.1: compact, viewport-fixed, movable, collapsible. */
.ysan-updates,.ysan-updates-tab{box-sizing:border-box;position:fixed!important;z-index:9998;right:var(--ysan-side,18px);top:var(--ysan-top,145px);left:auto;bottom:auto;font-family:inherit}
.ysan-updates[data-side="left"],.ysan-updates-tab[data-side="left"]{left:var(--ysan-side,18px);right:auto}
.ysan-updates{width:min(var(--ysan-width,320px),calc(100vw - 30px));color:var(--ysan-ink,#063e43);background:var(--ysan-bg,rgba(248,246,240,.92));border:1px solid rgba(211,190,154,.65);border-top:3px solid var(--ysan-accent,#c99836);border-radius:11px;box-shadow:0 12px 38px rgba(0,25,30,.18);backdrop-filter:blur(12px);overflow:hidden;text-align:left;max-height:calc(100dvh - var(--ysan-top,145px) - 18px);overflow-y:auto}
.ysan-updates *,.ysan-updates-tab *{box-sizing:border-box}
.ysan-updates[hidden],.ysan-updates-tab[hidden]{display:none!important}
.ysan-updates-top{display:flex;align-items:center;gap:8px;padding:12px 12px 2px 15px}
.ysan-updates-pulse{height:7px;width:7px;flex:0 0 7px;background:var(--ysan-accent,#c99836);border-radius:50%}
.ysan-updates-caption{font-size:10px;font-weight:800;letter-spacing:.14em;color:var(--ysan-ink,#063e43)}
.ysan-updates-count{margin-left:auto;font-size:10px;opacity:.65;font-weight:700;white-space:nowrap}
.ysan-updates-close{border:1px solid currentColor;background:transparent;color:var(--ysan-ink,#063e43);font-size:17px;line-height:1;width:29px;height:29px;border-radius:6px;cursor:pointer}
.ysan-updates-body{padding:9px 15px 13px}
.ysan-updates-type{font-size:10px;letter-spacing:.06em;opacity:.7;font-weight:700;display:block;margin-bottom:7px}
.ysan-updates-headline,.ysan-updates-static-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:var(--ysan-ink,#063e43)!important;font-size:17px!important;line-height:1.35!important;font-weight:800!important;text-decoration:none!important;overflow-wrap:anywhere}
.ysan-updates-headline[hidden],.ysan-updates-static-title[hidden]{display:none!important}
.ysan-updates-desc{font-size:12px!important;line-height:1.5!important;color:var(--ysan-ink,#063e43)!important;opacity:.78;margin:8px 0 0!important;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.ysan-updates-bottom{border-top:1px solid rgba(127,127,127,.2);padding:9px 12px 10px 15px;display:flex;align-items:center;justify-content:space-between;gap:8px}
.ysan-updates-more{font-size:11px!important;font-weight:750;color:var(--ysan-ink,#063e43)!important;text-decoration:none!important}
.ysan-updates-controls{display:flex;gap:4px;align-items:center}
.ysan-updates-arrow,.ysan-updates-pause{cursor:pointer;background:transparent;border:1px solid rgba(127,127,127,.4);color:var(--ysan-ink,#063e43);min-width:27px;height:27px;border-radius:5px;font-size:16px;line-height:1;padding:0 5px}
.ysan-updates-pause{font-size:10px;font-weight:700;padding:0 7px}
.ysan-updates-tab{background:var(--ysan-bg,rgba(248,246,240,.92));border:1px solid var(--ysan-accent,#c99836);color:var(--ysan-ink,#063e43);border-radius:9px 0 0 9px;padding:13px 9px;box-shadow:0 8px 30px rgba(0,25,30,.14);cursor:pointer;font-weight:800;letter-spacing:.08em;font-size:11px;writing-mode:vertical-rl;transform:none;max-height:180px}
.ysan-updates-tab[data-side="left"]{border-radius:0 9px 9px 0;writing-mode:vertical-lr}
.ysan-updates :focus-visible,.ysan-updates-tab:focus-visible{outline:3px solid var(--ysan-accent,#c99836);outline-offset:2px}
@media(max-width:700px){.ysan-updates,.ysan-updates-tab{top:auto!important;bottom:16px;right:10px;left:auto}.ysan-updates[data-side="left"],.ysan-updates-tab[data-side="left"]{left:10px;right:auto}.ysan-updates{width:min(310px,calc(100vw - 44px));max-height:55dvh}.ysan-updates-body{padding-top:8px;padding-bottom:8px}.ysan-updates-desc{-webkit-line-clamp:1}}
@media(prefers-reduced-motion:reduce){.ysan-updates,.ysan-updates-tab{animation:none!important;transition:none!important}}

/* v1.2: bottom corner by default, preserving adjustable side, colours and opacity. */
.ysan-updates[data-vertical="bottom"],.ysan-updates-tab[data-vertical="bottom"]{top:auto!important;bottom:var(--ysan-bottom,24px)!important;}
.ysan-updates[data-vertical="bottom"]{max-height:calc(100dvh - var(--ysan-bottom,24px) - 65px)!important;}
.ysan-updates-body.ysan-updates-reveal{animation:ysan-notice-arrive .6s cubic-bezier(.18,.66,.22,1) both;}
@keyframes ysan-notice-arrive{from{opacity:.1;transform:translateY(10px);filter:blur(2px)}to{opacity:1;transform:translateY(0);filter:blur(0)}}
.ysan-updates-pulse{animation:ysan-pulse 2.8s ease-in-out infinite;}
@keyframes ysan-pulse{0%,100%{box-shadow:0 0 0 0 rgba(201,152,54,0.22)}50%{box-shadow:0 0 0 6px rgba(201,152,54,0)}}
.ysan-updates:not([hidden]){animation:ysan-panel-enter .4s ease-out both;}
@keyframes ysan-panel-enter{from{opacity:0;transform:translateX(12px)}to{opacity:1;transform:translateX(0)}}
.ysan-updates[data-side="left"]:not([hidden]){animation-name:ysan-panel-enter-left;}
@keyframes ysan-panel-enter-left{from{opacity:0;transform:translateX(-12px)}to{opacity:1;transform:translateX(0)}}
@media(max-width:700px){.ysan-updates[data-vertical="bottom"],.ysan-updates-tab[data-vertical="bottom"]{bottom:16px!important}.ysan-updates[data-vertical="bottom"]{max-height:55dvh!important}}
@media(prefers-reduced-motion:reduce){.ysan-updates-body.ysan-updates-reveal,.ysan-updates-pulse{animation:none!important}}

/* v1.3: visible initial and single-notice reveal; only content animates. */
.ysan-updates-body.ysan-updates-reveal{animation:ysan-notice-arrive-13 1s cubic-bezier(.2,.72,.2,1) both!important}
@keyframes ysan-notice-arrive-13{0%{opacity:0;transform:translateY(15px)}65%{opacity:1}100%{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.ysan-updates-body.ysan-updates-reveal{animation:none!important}}
