/* phone notifications (tf-push.js) */
.tfp-bell { position: relative; width: 44px; height: 44px; margin-right: 6px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .05); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.tfp-bell:active { transform: scale(.95); }
.tfp-dot { position: absolute; top: 7px; right: 7px; width: 9px; height: 9px; border-radius: 50%; background: #ff4d6d; box-shadow: 0 0 0 2px #0b1730; }
.tfp-bg { position: fixed; inset: 0; z-index: 120; background: rgba(0, 0, 0, .55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.tfp-box { width: min(440px, 100%); max-height: 88vh; overflow: auto; background: #101d38; border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; padding: 14px 16px 16px; color: #e8eefc; box-shadow: 0 16px 40px rgba(0, 0, 0, .5); }
.tfp-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-size: 17px; }
.tfp-state { padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .06); font-size: 13px; margin-bottom: 10px; }
.tfp-state.on { background: rgba(46, 160, 90, .2); color: #9df0bd; }
.tfp-rows { display: flex; flex-direction: column; gap: 6px; }
.tfp-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .05); cursor: pointer; min-height: 52px; }
.tfp-row span { display: flex; flex-direction: column; gap: 2px; }
.tfp-row small { color: #9fb0d0; font-size: 11.5px; }
.tfp-row input { width: 22px; height: 22px; accent-color: #d4a53c; flex: none; }
.tfp-steps { margin: 8px 0 8px 20px; padding: 0; line-height: 1.8; }
.tfp-note { color: #9fb0d0; font-size: 12px; margin: 8px 0; }
.tfp-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tfp-btns .btn { min-height: 44px; flex: 1 1 auto; }
.tfp-btns .btn.big { font-size: 16px; }
.tfp-msg { margin-top: 10px; padding: 8px 10px; border-radius: 10px; font-size: 13px; }
.tfp-msg.ok { background: rgba(46, 160, 90, .18); color: #9df0bd; }
.tfp-msg.ng { background: rgba(220, 60, 80, .18); color: #ffb3c0; }
body:has(.app.phone-p) .tfp-bg { align-items: flex-end; padding: 0; }
body:has(.app.phone-p) .tfp-box { width: 100%; border-radius: 16px 16px 0 0; padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
