/* SeibFIT 3.2: avatar clipping, stable controls, and recovery panel */
.avatar,.avatar-large{position:relative;isolation:isolate;overflow:hidden!important;display:grid;place-items:center;min-width:0;padding:0!important;clip-path:inset(0 round 14px)}
.avatar{border-radius:14px!important;clip-path:inset(0 round 14px)}
.avatar-large{border-radius:24px!important;clip-path:inset(0 round 24px)}
.avatar img,.avatar-large img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-width:100%;min-height:100%;max-width:100%;max-height:100%;object-fit:cover!important;object-position:center center!important;border-radius:inherit!important;display:block!important;pointer-events:none}
.day-row{overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scroll-behavior:auto}
.day-chip{flex-shrink:0;transition:background-color .15s ease,border-color .15s ease,color .15s ease,box-shadow .15s ease}
.editor-save-footer{margin:22px 0 7px;padding:18px 12px 13px;border:1px solid #6f2e40;background:linear-gradient(135deg,#261217,#121114);border-radius:18px;text-align:center}
.editor-save-footer .button{min-height:52px;font-size:15px}
.editor-save-footer .small-copy{margin:10px 5px 0}
.detail-add-button{margin:15px 0 12px;min-height:50px}
.catalog-row-actions .already-added{background:#3b222b;border-color:#633542;color:#ffc2c9}
.auto-backups{margin-top:17px;padding:14px;background:#100f13;border:1px solid #4a303b;border-radius:16px}
.auto-backups>b{font-size:13px}.backup-entry{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:12px;padding:12px 0;border-bottom:1px solid #392934}.backup-entry:last-child{border-bottom:none;padding-bottom:0}.backup-entry strong,.backup-entry small{display:block}.backup-entry strong{font-size:12px;color:#f5edf0}.backup-entry small{color:#aaa0a7;font-size:11px;margin-top:3px}.backup-entry .button{flex-shrink:0;min-height:40px}
.delete-overview{display:flex;flex-wrap:wrap;gap:9px;margin:18px 0;padding:14px;border:1px solid #743140;background:#27171d;border-radius:13px}.delete-overview span{font-size:12px;color:#f0dce1}.delete-overview b{color:#ff96a4}
.modal input#deleteConfirmText{width:100%;background:#171319;color:#fff;border:1px solid #7e384a}
.modal .modal-footer{display:flex;gap:9px;flex-wrap:wrap}.modal .modal-footer .button{min-height:44px}
@media(prefers-reduced-motion:no-preference){.modal{animation:seibfitModalEnter .15s ease-out both}@keyframes seibfitModalEnter{from{opacity:.55;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}}
