.purchase-notice-bell{position:relative;display:inline-grid;place-items:center;flex:none;width:44px;height:44px;border:1px solid var(--line,#d7e4f6);border-radius:50%;background:var(--card,#fff);color:var(--text,#143358);cursor:pointer}
.purchase-notice-bell[hidden],.purchase-notice-panel[hidden],.purchase-notice-toast[hidden]{display:none!important}
.purchase-notice-bell svg{width:22px;height:22px}.purchase-notice-bell>span{position:absolute;right:-4px;top:-5px;background:#1260ec;color:white;border:2px solid white;border-radius:20px;min-width:22px;height:22px;padding:0 4px;font-size:12px;display:grid;place-items:center}
.purchase-notice-bell:focus-visible,.purchase-notice-dock button:focus-visible{outline:3px solid #75a4ff;outline-offset:3px}
.purchase-notice-panel,.purchase-notice-toast{--notice-muted:#60738d;--notice-soft:#f5f8fc;--notice-unread:#f0f6ff;position:fixed;right:24px;z-index:10020;background:var(--card,#fff);color:var(--text,#143358);border:1px solid var(--line,#d7e4f6);box-shadow:0 8px 20px #1028450a,0 24px 70px #10284524;border-radius:20px;text-align:left;box-sizing:border-box}
.purchase-notice-panel{top:100px;width:min(430px,calc(100vw - 32px));max-height:min(680px,calc(100dvh - 124px));display:flex;flex-direction:column;overflow:hidden}
.purchase-notice-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px 16px;border-bottom:1px solid var(--line,#e1eafa);flex:none}
.purchase-notice-heading-text{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0}.purchase-notice-heading h2{font-size:1.125rem;line-height:1.4;font-weight:750;letter-spacing:-.02em;margin:0;overflow-wrap:anywhere}.purchase-notice-count{font-size:.75rem;line-height:1.6;font-weight:700;color:#155bd6;background:#eaf2ff;border-radius:7px;padding:2px 7px;white-space:nowrap}
.purchase-notice-heading button,.purchase-notice-toast [data-dismiss]{display:grid;place-items:center;flex:none;border:0;border-radius:10px;background:var(--notice-soft);color:var(--notice-muted);width:36px;height:36px;font-size:24px;line-height:1;cursor:pointer}
.purchase-notice-list{overflow-y:auto;overscroll-behavior:contain;min-height:0;padding:8px;scrollbar-width:thin;scrollbar-color:#c6d4e7 transparent}
.purchase-notice-item{position:relative;display:grid;grid-template-columns:36px minmax(0,1fr);align-items:start;gap:12px;width:100%;box-sizing:border-box;padding:14px 12px;border:1px solid transparent;border-radius:12px;background:transparent;text-align:left;cursor:pointer;color:inherit;font:inherit;transition:background .15s,border-color .15s}
.purchase-notice-item+.purchase-notice-item{margin-top:4px}.purchase-notice-item.is-unread{background:var(--notice-unread)}.purchase-notice-item:hover{background:var(--notice-soft);border-color:var(--line,#d7e4f6)}.purchase-notice-item.is-unread:hover{border-color:#bad2fa}
.purchase-notice-icon{display:grid;place-items:center;width:36px;height:36px;flex:none;border-radius:11px;background:#eef3fa;color:#567397}.purchase-notice-icon svg{width:20px;height:20px}.purchase-notice-icon.is-purchase,.purchase-notice-icon.is-sale{background:#e9f7ef;color:#16734b}.purchase-notice-icon.is-invoice{background:#e7efff;color:#245fd5}.purchase-notice-icon.is-refund{background:#eef0fc;color:#6151b0}.purchase-notice-icon.is-cancellation{background:#fff4dd;color:#956615}
.purchase-notice-content{display:grid;gap:5px;min-width:0}.purchase-notice-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.purchase-notice-title strong{font-size:.9375rem;font-weight:700;line-height:1.4;overflow-wrap:anywhere}.purchase-notice-dot{width:7px;height:7px;flex:none;border-radius:50%;background:#2166e8}
.purchase-notice-product{font-size:.875rem;font-weight:600;line-height:1.45;color:var(--notice-muted);overflow-wrap:anywhere}.purchase-notice-body{font-size:.875rem;font-weight:400;line-height:1.5;overflow-wrap:anywhere}.purchase-notice-content time{margin-top:3px;font-size:.75rem;line-height:1.5;color:var(--notice-muted);font-variant-numeric:tabular-nums}
.purchase-notice-footer{padding:10px 16px;border-top:1px solid var(--line,#e1eafa);background:var(--notice-soft);flex:none}.purchase-notice-read,.purchase-notice-dock [data-retry]{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:10px;border:0;border-radius:10px;background:transparent;color:#155bd6;font:inherit;font-size:.875rem;font-weight:600;line-height:1.4;cursor:pointer}.purchase-notice-read:hover,.purchase-notice-dock [data-retry]:hover{background:#e8f0ff}.purchase-notice-read svg{width:18px;height:18px;flex:none}
.purchase-notice-empty{display:grid;justify-items:center;gap:12px;padding:32px 24px;text-align:center;color:var(--notice-muted);overflow:auto}.purchase-notice-empty p{margin:0;font-size:.9375rem;line-height:1.5}
.purchase-notice-panel:not([hidden])~.purchase-notice-toast{display:none!important}
.purchase-notice-toast{bottom:24px;width:min(380px,calc(100vw - 32px));padding:20px;border-left:3px solid #258758}.purchase-notice-toast>strong{display:block;font-size:1rem;padding-right:32px}.purchase-notice-toast p{font-size:.875rem;line-height:1.5;margin:8px 0 12px;overflow-wrap:anywhere}.purchase-notice-toast [data-dismiss]{position:absolute;right:10px;top:10px}.purchase-notice-toast [data-view]{border:0;border-radius:10px;padding:10px 16px;background:#1460ff;color:white;font-size:.875rem;font-weight:700;cursor:pointer}
.payment-return-banner button{margin-left:12px;border:1px solid #bfd3f5;border-radius:8px;padding:7px 10px;background:transparent;color:inherit;font:inherit;cursor:pointer}
@media(max-width:650px){.purchase-notice-panel{top:80px;right:12px;width:calc(100vw - 24px);max-height:calc(100dvh - 100px - env(safe-area-inset-bottom));border-radius:16px}.purchase-notice-heading{padding:14px 16px}.purchase-notice-item{padding:12px 10px;gap:10px}.purchase-notice-toast{right:16px;bottom:calc(85px + env(safe-area-inset-bottom))}.purchase-notice-bell{width:38px;height:38px}}
@media(prefers-reduced-motion:reduce){.purchase-notice-item{transition:none}}
body.dark .purchase-notice-panel,body.dark .purchase-notice-toast{--notice-muted:#b1c5e3;--notice-soft:#1d2c42;--notice-unread:#213755}
body.dark .purchase-notice-count,body.dark .purchase-notice-icon.is-invoice{background:#243b60;color:#a4c3ff}body.dark .purchase-notice-icon{background:#2a3850;color:#bdcde3}body.dark .purchase-notice-icon.is-purchase,body.dark .purchase-notice-icon.is-sale{background:#193f35;color:#a3e0bc}body.dark .purchase-notice-icon.is-refund{background:#36314f;color:#cdc2f5}body.dark .purchase-notice-icon.is-cancellation{background:#443a24;color:#f0d496}body.dark .purchase-notice-read,body.dark .purchase-notice-dock [data-retry]{color:#a4c3ff}body.dark .purchase-notice-read:hover{background:#243b60}
