.ym-body .ym-notice.panel{margin:0 0 14px;padding:0;overflow:visible;border:1px solid var(--ym-line);border-radius:8px;background:var(--ym-surface);color:var(--ym-text);box-shadow:none}
.ym-notice[hidden]{display:none!important}
.ym-notice-trigger{display:flex;width:100%;align-items:center;gap:9px;padding:12px 14px;border:0;border-radius:inherit;background:transparent;color:var(--ym-text);font:inherit;text-align:left;cursor:pointer}
.ym-notice-trigger svg{width:15px;height:15px;flex:0 0 auto;fill:none;stroke:var(--ym-accent);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.ym-notice-trigger strong{font-size:11px;white-space:nowrap}
.ym-notice-trigger span{min-width:0;flex:1;overflow:hidden;color:var(--ym-muted);font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.ym-notice-trigger b{flex:0 0 auto;color:var(--ym-accent);font-size:11px;font-weight:500;white-space:nowrap}
.ym-notice-trigger:focus-visible,.ym-notice-dialog [data-notice-close]:focus-visible{outline:2px solid var(--ym-accent);outline-offset:2px}
.ym-notice-dialog{box-sizing:border-box;width:calc(100% - 32px);max-width:440px;max-height:min(78vh,680px);padding:0;border:1px solid var(--ym-line);border-radius:16px;background:var(--ym-surface);color:var(--ym-text);box-shadow:0 22px 70px color-mix(in srgb,var(--ym-text) 24%,transparent)}
.ym-notice-dialog::backdrop{background:color-mix(in srgb,var(--ym-text) 48%,transparent);backdrop-filter:blur(2px)}
.ym-notice-dialog header{display:flex;height:52px;box-sizing:border-box;align-items:center;justify-content:space-between;padding:0 12px 0 18px;border-bottom:1px solid var(--ym-line)}
.ym-notice-dialog h2{margin:0;color:var(--ym-text);font-size:16px;font-weight:650}
.ym-notice-dialog [data-notice-close]{display:grid;width:34px;height:34px;padding:0;border:0;border-radius:50%;place-items:center;background:transparent;color:var(--ym-muted);font:400 24px/1 system-ui,sans-serif;cursor:pointer}
.ym-notice-dialog [data-notice-close]:hover{background:color-mix(in srgb,var(--ym-text) 7%,transparent);color:var(--ym-text)}
.ym-notice-dialog-body{box-sizing:border-box;max-height:calc(min(78vh,680px) - 52px);padding:18px;overflow-x:auto;overflow-y:auto;color:var(--ym-text);font-size:13px;line-height:1.75;overscroll-behavior:contain}
.ym-notice .shop-notice :where(img,video,iframe,svg,canvas){max-width:100%;height:auto}
.ym-notice .shop-notice :where(table,pre){max-width:100%;overflow-x:auto}
.ym-notice .shop-notice :where(a){color:var(--ym-accent);overflow-wrap:anywhere;text-decoration:underline;text-underline-offset:2px}
.ym-notice .shop-notice :where(th,td){border-color:var(--ym-line)}
.ym-notice .shop-notice :where(pre,code){white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:600px){.ym-notice-trigger{gap:7px;padding:10px}.ym-notice-trigger strong{display:none}.ym-notice-trigger span,.ym-notice-trigger b{font-size:10px}.ym-notice-dialog-body{padding:15px;font-size:12px}}
@media(prefers-reduced-motion:reduce){.ym-notice-dialog{scroll-behavior:auto}}
