:root{--tp-notice-danger: #ff3b30;--tp-notice-warn: #ff9500;--tp-notice-info: #007aff}html.tp-has-notice #app{padding-top:calc(52px + var(--tp-notice-h, 40px))}html.tp-has-notice .page-header{top:calc(52px + var(--tp-notice-h, 40px))}.tp-notice-bar{position:fixed;top:52px;left:0;right:0;z-index:999;display:flex;align-items:center;gap:10px;min-height:40px;padding:8px 24px;font-size:13px;line-height:1.5;color:var(--text-primary, #1d1d1f);background:var(--bg-secondary, #f5f5f7);border-bottom:1px solid var(--border-subtle, rgba(0, 0, 0, .06));box-sizing:border-box;cursor:pointer}.tp-notice-bar:focus-visible{outline:2px solid var(--accent-blue, #0071e3);outline-offset:-2px}.tp-notice-bar--danger{background:#ff3b3014;border-bottom-color:#ff3b3038}.tp-notice-bar--warn{background:#ff95001a;border-bottom-color:#ff95003d}.tp-notice-bar--info{background:#007aff12;border-bottom-color:#007aff2e}html[data-theme=dark] .tp-notice-bar--danger{background:#ff453a29}html[data-theme=dark] .tp-notice-bar--warn{background:#ff9f0a29}html[data-theme=dark] .tp-notice-bar--info{background:#0a84ff29}.tp-notice-bar__dot{flex-shrink:0;width:7px;height:7px;border-radius:50%;background:var(--tp-notice-info, #007aff)}.tp-notice-bar--danger .tp-notice-bar__dot{background:var(--tp-notice-danger, #ff3b30);box-shadow:0 0 0 3px #ff3b302e}.tp-notice-bar--warn .tp-notice-bar__dot{background:var(--tp-notice-warn, #ff9500)}.tp-notice-bar__text{flex:1 1 auto;min-width:0;display:flex;align-items:baseline;gap:8px;overflow:hidden}.tp-notice-bar__title{flex-shrink:0;font-weight:600;font-size:13px}.tp-notice-bar__desc{min-width:0;color:var(--text-secondary, #86868b);font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tp-notice-bar__link{flex-shrink:0;font-size:12.5px;color:var(--text-primary, #1d1d1f);text-decoration:underline;text-underline-offset:2px;opacity:.85}.tp-notice-bar__link:hover{opacity:1}.tp-notice-bar__more{flex-shrink:0;padding:3px 8px;font-family:inherit;font-size:12px;color:var(--text-secondary, #86868b);background:transparent;border:1px solid var(--border-color, #e0e0e6);border-radius:6px;cursor:pointer;transition:color .15s,border-color .15s}.tp-notice-bar__more:hover{color:var(--text-primary, #1d1d1f);border-color:var(--text-tertiary, #acacb0)}.tp-notice-bar__close{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;color:var(--text-secondary, #86868b);background:transparent;border:none;border-radius:6px;cursor:pointer;transition:color .15s,background .15s}.tp-notice-bar__close:hover{color:var(--text-primary, #1d1d1f);background:var(--bg-hover, #f0f0f2)}.tp-header__notice-btn{position:relative;display:flex;align-items:center;justify-content:center;gap:0;flex-shrink:0;order:9;width:28px;height:28px;padding:0;font-family:inherit;font-size:13px;line-height:1;color:var(--text-secondary, #86868b);background:var(--bg-secondary, #f5f5f7);border:none;border-radius:8px;cursor:pointer;transition:color .2s,background .2s}.tp-header__notice-btn:hover{color:var(--text-primary, #1d1d1f);background:var(--bg-hover, #f0f0f2)}.tp-header__notice-btn svg{flex-shrink:0}.tp-header__notice-badge{position:absolute;top:-5px;right:-6px;min-width:15px;height:15px;padding:0 4px;font-size:10px;font-style:normal;font-weight:600;line-height:15px;text-align:center;color:#fff;background:var(--tp-notice-danger, #ff3b30);border-radius:8px;box-sizing:border-box;box-shadow:0 0 0 2px var(--bg-primary, #fff)}.tp-header__notice-badge.is-hidden{display:none}.tp-notice-mask{position:fixed;inset:0;z-index:1099;background:#0000005c;opacity:0;visibility:hidden;transition:opacity .2s var(--ease-out, ease),visibility .2s}.tp-notice-mask.is-open{opacity:1;visibility:visible}.tp-notice-panel{position:fixed;top:0;right:0;bottom:0;z-index:1100;display:flex;flex-direction:column;width:380px;max-width:92vw;background:var(--bg-card, #fff);border-left:1px solid var(--border-subtle, rgba(0, 0, 0, .06));box-shadow:-8px 0 32px #0000001f;transform:translate(100%);transition:transform .24s var(--ease-out, cubic-bezier(.25, .1, .25, 1))}.tp-notice-panel.is-open{transform:translate(0)}.tp-notice-panel__head{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;height:52px;padding:0 16px 0 20px;border-bottom:1px solid var(--border-subtle, rgba(0, 0, 0, .06))}.tp-notice-panel__title{margin:0;font-size:15px;font-weight:600;color:var(--text-primary, #1d1d1f)}.tp-notice-panel__close{display:flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;color:var(--text-secondary, #86868b);background:transparent;border:none;border-radius:6px;cursor:pointer;transition:color .15s,background .15s}.tp-notice-panel__close:hover{color:var(--text-primary, #1d1d1f);background:var(--bg-hover, #f0f0f2)}.tp-notice-list{flex:1;min-height:0;overflow-y:auto;padding:4px 20px 24px}.tp-notice-item{padding:16px 0;border-bottom:1px solid var(--border-subtle, rgba(0, 0, 0, .06))}.tp-notice-item:last-child{border-bottom:none}.tp-notice-item__meta{display:flex;align-items:center;gap:8px;margin-bottom:6px}.tp-notice-item__tag{padding:1px 7px;font-size:11px;line-height:16px;border-radius:4px;color:var(--text-secondary, #86868b);background:var(--bg-secondary, #f5f5f7)}.tp-notice-item__tag--system{color:var(--tp-notice-danger, #ff3b30);background:#ff3b301a}.tp-notice-item__tag--update{color:var(--tp-notice-info, #007aff);background:#007aff1a}.tp-notice-item__tag--promo{color:var(--tp-notice-warn, #ff9500);background:#ff95001f}.tp-notice-item__time{font-size:11px;color:var(--text-muted, #acacb0)}.tp-notice-item__title{margin:0 0 6px;font-size:14px;font-weight:600;line-height:1.5;color:var(--text-primary, #1d1d1f)}.tp-notice-item__body{margin:0;font-size:13px;line-height:1.7;color:var(--text-secondary, #86868b);white-space:pre-wrap;word-break:break-word}.tp-notice-item__link{display:inline-block;margin-top:8px;font-size:12.5px;color:var(--text-primary, #1d1d1f);text-decoration:underline;text-underline-offset:2px}.tp-notice-empty{margin:48px 0 0;text-align:center;font-size:13px;color:var(--text-muted, #acacb0)}html.tp-notice-locked{overflow:hidden}@media(max-width:768px){.tp-notice-bar{padding:8px 12px;gap:8px}.tp-notice-bar__desc{display:none}.tp-header__notice-btn{width:28px;height:28px}}
