/* Shared announcement presentation: popup, archive and publishing preview. */
#announcement-popup-dialog.announcement-popup,
:root.luxe body.account-app.atelier-v2.champagne dialog#announcement-popup-dialog.announcement-popup {
 --an-gold:#d4b06a;--an-text:#ededee;--an-muted:#b3b3b8;
 box-sizing:border-box;width:min(800px,calc(100vw - 40px));max-width:calc(100vw - 40px);max-height:min(850px,calc(100dvh - 48px));
 margin:auto;padding:0;overflow:hidden;border:1px solid #ffffff16!important;border-radius:18px;
 color:var(--an-text);background:#1c1c1f!important;box-shadow:0 24px 70px #0007,inset 0 1px #ffffff06!important;
 backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
#announcement-popup-dialog[data-announcement-kind="text"],
:root.luxe body.account-app.atelier-v2.champagne dialog#announcement-popup-dialog[data-announcement-kind="text"] {width:min(640px,calc(100vw - 40px))}
#announcement-popup-dialog[open]{display:flex;flex-direction:column;animation:an-enter .18s ease-out}
#announcement-popup-dialog::backdrop{background:#08080bb8;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
#announcement-popup-dialog .announcement-popup-header{flex:none;padding:20px 24px 16px;border-bottom:1px solid #ffffff12}
#announcement-popup-dialog .announcement-popup-kicker{display:flex;align-items:center;gap:8px;margin-bottom:10px;flex-wrap:wrap}
#announcement-popup-dialog .announcement-popup-icon{width:17px;height:19px;display:grid;place-items:center;color:var(--an-gold)}
#announcement-popup-dialog .announcement-popup-icon svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7}
#announcement-popup-dialog .modal-eyebrow{margin:0;color:var(--an-gold);font:500 12px/1.5 'Microsoft YaHei','PingFang SC',sans-serif;letter-spacing:.04em}
#announcement-popup-dialog time{margin-left:auto;color:#94949c;font:400 12px/1.5 'Segoe UI','Microsoft YaHei',sans-serif;letter-spacing:0;white-space:nowrap;font-variant-numeric:tabular-nums}
#announcement-popup-dialog #announcement-popup-title{margin:0;padding:0;background:none;color:var(--an-text);font:700 23px/1.35 'Microsoft YaHei','PingFang SC',sans-serif;letter-spacing:.02em;overflow-wrap:anywhere}
#announcement-popup-dialog .announcement-popup-summary{margin:7px 0 0;font-size:12px;line-height:1.6;color:#aaaab2}
#announcement-popup-dialog .announcement-popup-summary[hidden],#announcement-popup-dialog .announcement-popup-rule{display:none}
#announcement-popup-dialog .announcement-popup-content{flex:1 1 auto;min-height:0;max-height:none;margin:0;padding:18px 24px 22px;overflow-y:auto;overscroll-behavior:contain;white-space:normal;scrollbar-width:thin;scrollbar-color:#d4b06a55 transparent}
#announcement-popup-dialog .announcement-popup-actions{flex:none;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0;padding:14px 24px;border:0!important;border-image:none!important;background:#1c1c1f;box-shadow:inset 0 1px #ffffff12}
#announcement-popup-dialog .announcement-popup-hint{font-size:12px;line-height:1.6;color:#96969d;letter-spacing:0}
#announcement-popup-dialog [data-announcement-ack]{min-width:146px;min-height:42px;padding:0 24px;border:1px solid #e9cc9155;border-radius:10px;background:linear-gradient(180deg,#e3c488,#cda45e)!important;color:#2a2110;font:700 13px/1.3 'Microsoft YaHei','PingFang SC',sans-serif;letter-spacing:.08em;cursor:pointer;box-shadow:inset 0 1px #fff4!important;transition:filter .15s}
#announcement-popup-dialog [data-announcement-ack]:hover{filter:brightness(1.06)}
#announcement-popup-dialog [data-announcement-ack]:focus-visible{outline:2px solid #f3dfb6;outline-offset:3px}
.ann-body{--ann-line:#ffffff14;--ann-gold:#d4b06a;--ann-text:#ededee;--ann-muted:#b3b3b8;display:grid;align-content:start;gap:18px;min-width:0;font-family:'Segoe UI','Microsoft YaHei','PingFang SC',sans-serif;color:var(--ann-text);font-size:13px;line-height:1.7;text-align:left;letter-spacing:0}
.ann-body *{box-sizing:border-box}
.ann-body .ann-group,.ann-body .ann-section{display:grid;align-content:start;gap:10px;min-width:0}
.ann-body .ann-section-head{display:flex;align-items:baseline;gap:9px;min-width:0;flex-wrap:wrap}
.ann-body .ann-section-title{margin:0;font-size:14px;font-weight:700;line-height:1.5;color:#ededee;letter-spacing:.02em}
.ann-body .ann-section-count{color:#96969e;font-size:11px;font-weight:400;line-height:1.5;white-space:nowrap}
.ann-body .ann-section-rule{flex:1;min-width:20px;height:1px;background:var(--ann-line);align-self:center}
.ann-body .ann-price-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,216px),1fr));gap:11px;min-width:0}
.ann-body .ann-price-card{display:flex;flex-direction:column;min-width:0;gap:0;padding:15px;border:1px solid var(--ann-line);border-radius:12px;background:#252529;overflow:hidden;transition:border-color .15s,background .15s}
.ann-body .ann-price-card:hover{background:#2a2a2f;border-color:#ffffff24}
.ann-body .ann-price-card:only-child{max-width:calc(50% - 5.5px);width:100%}
.ann-body .ann-price-card.is-off{background:#222225}
.ann-body .ann-price-card.is-off .ann-price-name,.ann-body .ann-price-card.is-off .ann-price{color:#b6b5ba}
.ann-body .ann-price-card.is-danger{border-color:#de6a5e38}
.ann-body .ann-price-card.is-limited{border-color:#d4b06a45}
.ann-body .ann-price-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;align-self:stretch;min-width:0}
.ann-body .ann-price-name{min-width:0;overflow-wrap:anywhere;font-size:14px;font-weight:700;line-height:1.55;color:#ededee}
.ann-body .ann-offer{flex:none;display:inline-flex;align-items:center;padding:3px 8px;border-radius:99px;border:1px solid #8f8f963d;background:#8f8f961c;color:#c0bfc6;font-size:10px;font-weight:600;line-height:1.5;white-space:nowrap}
.ann-body .ann-offer.is-ok{background:#63c08e18;border-color:#63c08e48;color:#86d1a8}
.ann-body .ann-offer.is-danger{background:#de6a5e1b;border-color:#de6a5e55;color:#ed958c}
.ann-body .ann-offer.is-off{background:#8f8f961c;border-color:#8f8f9644;color:#b5b5bd}
.ann-body .ann-offer.is-sale,.ann-body .ann-offer.is-warn{background:#e2a4581b;border-color:#e2a45855;color:#e7b87f}
.ann-body .ann-resolution{display:block;margin-top:4px;font-size:12px;line-height:1.5;color:#a5a5ae;overflow-wrap:anywhere}
.ann-body .ann-resolution:empty{display:none}
.ann-body .ann-price{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px;margin:13px 0 12px;line-height:1;color:var(--ann-gold);font-variant-numeric:tabular-nums}
.ann-body .ann-currency{font:600 14px/1 'Segoe UI',sans-serif;color:inherit}
.ann-body .ann-amount{font:750 28px/1.08 'Segoe UI',sans-serif;letter-spacing:-.5px;color:inherit}
.ann-body .ann-unit{font-size:12px;line-height:1.5;color:#a6a6ad;margin-left:2px;letter-spacing:0}
.ann-body .ann-card-foot{display:grid;gap:5px;margin-top:auto;padding-top:10px;border-top:1px solid var(--ann-line);align-self:stretch;color:var(--ann-muted)}
.ann-body .ann-price-time{display:flex;align-items:flex-start;gap:6px;font-size:12px;line-height:1.6;color:#b3b3bb}
.ann-body .ann-price-time::before{content:'';flex:none;width:12px;height:12px;margin-top:4px;border:1px solid #9999a2;border-radius:50%;background:linear-gradient(#9999a2,#9999a2) 5px 2px/1px 4px no-repeat,linear-gradient(#9999a2,#9999a2) 5px 5px/3px 1px no-repeat}
.ann-body .ann-card-foot svg{width:13px;height:13px;margin-top:3px;flex:none;color:#9b9ba4;fill:none;stroke:currentColor;stroke-width:1.7}
.ann-body .ann-price-note{margin:0;font-size:12px;line-height:1.7;color:#b3b3bb;overflow-wrap:anywhere;white-space:pre-wrap}
.ann-body .ann-alert{display:flex;align-items:flex-start;gap:10px;padding:11px 13px;border:1px solid #e2a45845;border-radius:10px;background:#e2a45813;color:#e2a458;min-width:0}
.ann-body .ann-alert.is-danger{border-color:#de6a5e4d;background:#de6a5e16;color:#e28b80}
.ann-body .ann-alert.is-info{border-color:#63c08e38;background:#63c08e10;color:#80cba0}
.ann-body .ann-alert-icon{flex:none;display:grid;place-items:center;width:17px;height:17px;margin-top:3px;border:1.4px solid currentColor;border-radius:50%;font-size:11px;font-weight:700;line-height:14px}
.ann-body .ann-alert-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8}
.ann-body .ann-alert-copy{min-width:0;margin:0;color:#c9c7c9;font-size:13px;line-height:1.75;overflow-wrap:anywhere;white-space:pre-wrap}
.ann-body .ann-alert-copy strong{color:#efeced;font-weight:650}
.ann-body .ann-tips{padding:14px 16px;border:1px solid #d4b06a3b;border-radius:12px;background:#d4b06a10;min-width:0}
.ann-body .ann-tips-title{display:flex;align-items:center;gap:7px;margin:0 0 9px;font-size:13px;font-weight:700;line-height:1.6;color:var(--ann-gold)}
.ann-body .ann-tips-title::before{content:'✦';font-size:15px;line-height:1}
.ann-body .ann-tips-title svg{width:15px;height:15px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8}
.ann-body .ann-tips-list{display:grid;gap:7px;list-style:none;margin:0;padding:0}
.ann-body .ann-tips-list li{position:relative;min-width:0;padding-left:13px;color:#c3c0ba;font-size:13px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere}
.ann-body .ann-tips-list li::before{content:'';position:absolute;left:0;top:.7em;width:4px;height:4px;background:var(--ann-gold);border-radius:50%}
.ann-body .ann-row{display:grid;grid-template-columns:24px minmax(0,1fr);gap:7px;padding:12px 14px;border:1px solid var(--ann-line);border-radius:10px;background:#252529}
.ann-body .ann-index{font:500 12px/1.8 'Segoe UI',sans-serif;color:var(--ann-gold)}
.ann-body .ann-row-main{display:grid;gap:4px;min-width:0}
.ann-body .ann-name{font-size:14px;font-weight:650;line-height:1.6;color:#ededee;overflow-wrap:anywhere}
.ann-body .ann-detail{font-size:13px;line-height:1.7;color:var(--ann-muted);overflow-wrap:anywhere}
.ann-body .ann-figure{font-style:normal;font-weight:600;color:#dfbd7d}
.ann-body .ann-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:2px}
.ann-body .ann-tag{padding:2px 7px;border-radius:6px;background:#d4b06a10;color:#cdbb98;font-size:11px;line-height:1.6;overflow-wrap:anywhere}
.ann-body .ann-note{margin:0;font-size:13px;line-height:1.85;color:#c5c3ca;white-space:pre-wrap;overflow-wrap:anywhere}
/* The archive and administrator preview use the same body renderer. */
#announcement-dialog.announcement-modal,
:root.luxe body.account-app.atelier-v2.champagne dialog#announcement-dialog{box-sizing:border-box;width:min(800px,calc(100vw - 40px));max-width:calc(100vw - 40px);max-height:calc(100dvh - 48px);padding:24px;border:1px solid #ffffff16!important;border-radius:18px;background:#1c1c1f!important;color:#ededee;overflow-y:auto}
#announcement-dialog .modal-eyebrow{color:#d4b06a}
#announcement-dialog #announcement-dialog-title{font-size:23px;line-height:1.4;color:#ededee}
#announcement-dialog .announcement-dialog-intro{font-size:13px;color:#a5a5ad}
#announcement-dialog .announcement-item{border:1px solid #ffffff13;border-radius:12px;padding:0 16px;background:#202023;overflow:hidden}
#announcement-dialog .announcement-item-heading{padding:15px 0}
#announcement-dialog .announcement-item-title{font-size:14px;color:#e9e8eb}
#announcement-dialog .announcement-item-time{font-size:11px;color:#a2a2aa}
#announcement-dialog .announcement-content.ann-body{white-space:normal;padding:4px 0 18px}
.operator-app #announcement-preview-content.ann-body{max-height:55vh;overflow:auto;margin-top:12px;padding:0 2px 2px 0;scrollbar-width:thin}
.operator-app .announcement-preview-body{background:#1c1c1f;border-color:#ffffff16}
@keyframes an-enter{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media(max-width:600px){
 .ann-body .ann-price-grid{grid-template-columns:minmax(0,1fr)}
 .ann-body .ann-price-card:only-child{max-width:none}
 .ann-body .ann-price-card{padding:14px}
 .ann-body .ann-price{margin:10px 0}
 .ann-body .ann-price-name{font-size:14px}
 .ann-body .ann-amount{font-size:27px}
}
@media(max-width:540px){
 #announcement-popup-dialog.announcement-popup,:root.luxe body.account-app.atelier-v2.champagne dialog#announcement-popup-dialog.announcement-popup{width:calc(100vw - 24px);max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:14px}
 #announcement-popup-dialog .announcement-popup-header{padding:17px 16px 14px}
 #announcement-popup-dialog .announcement-popup-kicker{gap:6px;margin-bottom:8px}
 #announcement-popup-dialog .modal-eyebrow{font-size:11px;letter-spacing:0}
 #announcement-popup-dialog time{font-size:11px}
 #announcement-popup-dialog #announcement-popup-title{font-size:21px}
 #announcement-popup-dialog .announcement-popup-content{padding:14px 16px 17px}
 #announcement-popup-dialog .announcement-popup-actions{padding:12px 16px;gap:10px}
 #announcement-popup-dialog .announcement-popup-hint{max-width:120px;font-size:11px}
 #announcement-popup-dialog [data-announcement-ack]{min-width:128px;min-height:42px;font-size:13px;padding:0 16px}
 .ann-body{gap:16px}
 .ann-body .ann-alert{padding:10px 11px;gap:8px}
 .ann-body .ann-tips{padding:13px}
 #announcement-dialog.announcement-modal,:root.luxe body.account-app.atelier-v2.champagne dialog#announcement-dialog{width:calc(100vw - 24px);max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:19px 16px;border-radius:14px}
 #announcement-dialog .announcement-item{padding:0 12px}
}
@media(prefers-reduced-motion:reduce){#announcement-popup-dialog[open]{animation:none}#announcement-popup-dialog [data-announcement-ack],.ann-body .ann-price-card{transition:none}}

.announcement-popup-control{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 22px;margin:0 0 18px;border:1px solid var(--line,#ffffff18);border-radius:12px;background:var(--panel,#151518);}
.announcement-popup-control h3{margin:0 0 6px;font-size:14px;font-weight:500;}
.announcement-popup-control p{margin:0;color:var(--muted,#aaa397);font-size:12px;line-height:1.7;}
.announcement-popup-switch{position:relative;display:flex;align-items:center;gap:9px;white-space:nowrap;background:transparent;border:0;color:inherit;font:inherit;cursor:pointer;padding:10px 0 10px 10px;}
.announcement-popup-switch::before{content:'';width:36px;height:20px;border-radius:20px;background:#37373d;box-shadow:inset 0 0 0 1px #ffffff18;}
.announcement-popup-switch::after{content:'';position:absolute;width:14px;height:14px;border-radius:50%;background:#bbb;transform:translateX(3px);transition:transform .16s,background .16s;}
.announcement-popup-switch[aria-checked=true]::before{background:#bba071;}
.announcement-popup-switch[aria-checked=true]::after{background:#1b1812;transform:translateX(19px);}
.announcement-popup-switch:disabled{opacity:.55;cursor:wait;}
.announcement-popup-switch:focus-visible{outline:2px solid #c9a96a;outline-offset:4px;border-radius:5px;}
@media(max-width:540px){.announcement-popup-control{padding:16px;gap:12px}.announcement-popup-content{font-size:13px}.announcement-popup-actions{gap:10px}.announcement-popup-switch span{font-size:12px}}
@media(prefers-reduced-motion:reduce){.announcement-popup-switch::after{transition:none}}

