.price-alert-center-btn { position:relative; width:34px; height:34px; margin:0; border:1px solid var(--eye-border); border-radius:50%; background:var(--eye-surface-soft); color:#38557d; cursor:pointer; font-size:16px; }
.price-alert-unread-badge { position:absolute; top:-5px; right:-5px; min-width:17px; height:17px; padding:0 4px; border:2px solid #fff; border-radius:9px; background:#e53935; color:#fff; font-size:10px; font-weight:700; line-height:13px; box-sizing:border-box; }
.price-alert-mask { position:fixed; inset:0; z-index:10010; display:none; align-items:center; justify-content:center; padding:18px; background:rgba(6,20,42,.38); }
.price-alert-mask.open { display:flex; }
.price-alert-modal { display:flex; flex-direction:column; width:min(520px,92vw); max-height:78vh; overflow:hidden; border:1px solid #e5e9f0; border-radius:8px; background:#fff; box-shadow:0 18px 48px rgba(6,20,42,.18); }
.price-alert-center-modal { width:min(760px,94vw); }
.stock-monitor-plan-modal { width:min(720px,94vw); }
.price-alert-modal-head { display:flex; align-items:center; justify-content:space-between; padding:10px 14px; border-bottom:1px solid #e5e9f0; background:#fbfcff; }
.price-alert-modal-head button { border:0; background:transparent; color:#6f7f95; font-size:1.3rem; cursor:pointer; }
.price-alert-center-tabs { display:flex; align-items:center; gap:4px; }
.price-alert-center-tabs button { padding:5px 12px; border-radius:6px; color:#66758a; font-size:.82rem; }
.price-alert-center-tabs button.active { background:#253a62; color:#fff; }
.price-alert-modal-body { padding:14px; }
.price-alert-section-title { margin:0 0 8px; color:#5f6f86; font-size:.78rem; font-weight:700; }
.price-alert-existing { margin-bottom:16px; border:1px solid #e8edf4; border-radius:6px; overflow:hidden; }
.price-alert-condition { display:flex; justify-content:space-between; gap:12px; padding:9px 10px; border-bottom:1px solid #edf1f6; color:#33425a; font-size:.84rem; }
.price-alert-condition:last-child { border-bottom:0; }
.price-alert-condition .triggered { color:#d43b3b; font-weight:700; }
.price-alert-add-tools { display:flex; gap:8px; margin-bottom:9px; }
.price-alert-add-tools button { padding:5px 9px; border:1px solid #d8e0eb; border-radius:6px; background:#fbfcff; color:#33425a; cursor:pointer; font-size:.8rem; }
.price-alert-settings { display:grid; gap:7px; }
.stock-monitor-plan-modal .price-alert-modal-body { min-height:0; overflow-y:auto; }
.price-alert-plan { display:grid; gap:9px; padding:11px; border:1px solid #e3e9f1; border-radius:7px; background:#fbfcff; }
.price-alert-plan-condition { display:grid; grid-template-columns:96px 92px 116px minmax(150px,1fr) 28px; align-items:center; gap:8px; }
.price-alert-plan-condition select,.price-alert-plan-condition input { box-sizing:border-box; width:100%; min-width:0; border:1px solid #d8e0eb; border-radius:6px; background:#fff; color:#33425a; font:inherit; }
.price-alert-plan-condition select,.price-alert-plan-condition input { height:32px; padding:5px 8px; }
.price-alert-plan-condition select { font-size:.74rem; }
.price-alert-status-switch { position:relative; display:grid; grid-template-columns:1fr 1fr; width:116px; height:30px; padding:2px; box-sizing:border-box; border:1px solid #d8e0eb; border-radius:16px; background:#eef2f7; overflow:hidden; }
.price-alert-status-switch::before { content:""; position:absolute; top:2px; bottom:2px; left:2px; width:calc(50% - 2px); border-radius:13px; background:#2fbf71; transition:transform .18s ease,background-color .18s ease; }
.price-alert-status-switch.is-triggered::before { transform:translateX(100%); background:#d9534f; }
.price-alert-status-switch button { position:relative; z-index:1; min-width:0; padding:0 4px; border:0; background:transparent; color:#6f7f95; cursor:pointer; font-size:.72rem; font-weight:400; line-height:24px; white-space:nowrap; }
.price-alert-status-switch button.active { color:#fff; }
.price-alert-plan-logic { display:grid; grid-template-columns:54px minmax(0,1fr); align-items:center; gap:6px; color:#5f6f86; font-size:.72rem; white-space:nowrap; }
.price-alert-plan-logic input { font-size:.78rem; }
.price-alert-plan-records { margin-left:74px; color:#708097; font-size:.76rem; }
.price-alert-plan-records summary { cursor:pointer; font-weight:700; }
.price-alert-plan-records div { display:grid; grid-template-columns:138px 82px minmax(0,1fr); gap:8px; margin-top:5px; }
.price-alert-plan-records time { color:#8a96a8; }
.price-alert-plan-summary { display:grid; grid-template-columns:128px 9px 78px minmax(0,1fr); align-items:center; justify-content:start; border-bottom:0; }
.price-alert-plan-summary-condition { white-space:nowrap; }
.price-alert-state-light { width:9px; gap:0; }
.price-alert-plan-date { color:#8a96a8; font-size:.72rem; white-space:nowrap; }
.price-alert-plan-summary small { min-width:0; overflow:hidden; color:#7d899b; font-size:.74rem; font-weight:400; text-overflow:ellipsis; white-space:nowrap; }
.price-alert-setting { display:grid; grid-template-columns:82px minmax(0,1fr) auto; align-items:center; gap:8px; color:#43516a; font-size:.84rem; }
.price-alert-setting input { min-width:0; padding:7px 9px; border:1px solid #d8e0eb; border-radius:6px; font:inherit; }
.price-alert-setting-remove { width:28px; height:28px; padding:0; border:1px solid #e4caca; border-radius:5px; background:#fff7f7; color:#a64b4b; cursor:pointer; }
.price-alert-status { min-height:20px; margin-top:8px; color:#708097; font-size:.78rem; }
.price-alert-actions { display:flex; flex:0 0 auto; justify-content:flex-end; gap:8px; padding:10px 14px 14px; border-top:1px solid #edf1f6; background:#fff; }
.price-alert-actions button,.stock-price-alert-trigger { padding:6px 12px; border:1px solid #d8e0eb; border-radius:6px; background:#fbfcff; color:#33425a; cursor:pointer; }
.price-alert-actions button.primary { border-color:#253a62; background:#253a62; color:#fff; }
.stock-price-alert-panel.active { display:flex; align-items:center; }
.price-alert-event-list { max-height:62vh; overflow-y:auto; }
.price-alert-event { display:grid; grid-template-columns:minmax(100px,.7fr) minmax(180px,1.25fr) minmax(120px,1fr) auto; gap:12px; padding:11px 14px; border-bottom:1px solid #edf1f6; color:#43516a; text-decoration:none; font-size:.82rem; }
.price-alert-all-head,.price-alert-all-row { grid-template-columns:minmax(100px,1fr) 76px minmax(130px,180px) 64px 142px; gap:8px; }
.price-alert-all-head { display:grid; gap:8px; padding:8px 14px; border-bottom:1px solid #e5e9f0; background:#f7f9fc; color:#8290a4; font-size:.74rem; font-weight:400; }
.price-alert-event.unread { background:#fff4f3; }
.price-alert-event-name { color:#253a62; font-weight:700; }
.price-alert-state { display:inline-flex; align-items:center; gap:5px; white-space:nowrap; }
.price-alert-signal { width:9px; height:9px; flex:0 0 9px; border-radius:50%; box-shadow:0 0 0 2px rgba(47,191,113,.14); }
.price-alert-signal.monitoring { background:#2fbf71; }
.price-alert-signal.triggered { background:#d9534f; box-shadow:0 0 0 2px rgba(217,83,79,.14); }
.price-alert-signal.completed { background:#6f7f95; box-shadow:0 0 0 2px rgba(111,127,149,.14); }
.price-alert-signal.invalid { background:#a8b0bc; box-shadow:none; }
.price-alert-current-price { white-space:nowrap; }
.price-alert-event-logic { min-width:0; overflow:hidden; color:#708097; text-overflow:ellipsis; white-space:nowrap; }
.price-alert-event time { color:#8290a4; white-space:nowrap; }
.price-alert-empty { padding:14px; color:#8995a7; font-size:.82rem; text-align:center; }
body.dark .price-alert-center-btn,body.dark .price-alert-modal { background:#121212; border-color:#252525; color:#e3e3e3; }
body.dark .price-alert-unread-badge { border-color:#121212; }
body.dark .price-alert-modal-head { background:#1e1e1e; border-color:#252525; }
body.dark .price-alert-actions { background:#121212; border-color:#252525; }
body.dark .price-alert-all-head { background:#1e1e1e; border-color:#252525; color:#858585; }
body.dark .price-alert-condition,body.dark .price-alert-event { color:#e3e3e3; }
body.dark .price-alert-existing,body.dark .price-alert-condition,body.dark .price-alert-event { border-color:#252525; }
body.dark .price-alert-setting input { background:#000000; border-color:#252525; color:#e3e3e3; }
body.dark .price-alert-add-tools button,body.dark .price-alert-setting-remove { background:#1e1e1e; border-color:#252525; color:#e3e3e3; }
body.dark .price-alert-plan { background:#121212; border-color:#252525; }
body.dark .price-alert-plan-condition select,body.dark .price-alert-plan-condition input { background:#000000; border-color:#252525; color:#e3e3e3; }
body.dark .price-alert-status-switch { border-color:#252525; background:#1e1e1e; }
body.dark .price-alert-status-switch button { color:#858585; }
body.dark .price-alert-status-switch button.active { color:#fff; }
body.dark .price-alert-event.unread { background:#352327; }
body.dark .price-alert-event-name { color:#9db7dc; }
@media (max-width:720px) { .price-alert-event { grid-template-columns:1fr; gap:3px; } .price-alert-all-head { display:none; } .stock-monitor-plan-modal { width:96vw; } .price-alert-plan { overflow-x:auto; } .price-alert-plan-condition { min-width:610px; } .price-alert-plan-records { margin-left:0; } }

.price-alert-notification-head,.price-alert-notification-row {grid-template-columns:minmax(80px,.7fr) minmax(130px,1fr) minmax(80px,1fr) 142px 82px;gap:8px;}
.price-alert-record-head {color:#8290a4;font-weight:400;}
@media (max-width:720px) {.price-alert-notification-row {grid-template-columns:1fr;gap:3px;} .price-alert-plan-records>div {min-width:450px;}}
