/* TO THE BEATZ v21.6.0 — account password dialog */
#ttb-v216-password-root{position:fixed;inset:0;z-index:100090;color:#f6fbff;font-family:inherit}
.ttb-v216-security-backdrop{position:absolute;inset:0;background:rgba(1,7,15,.82);backdrop-filter:blur(6px)}
.ttb-v216-security-panel{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:min(440px,calc(100vw - 28px));max-height:calc(100dvh - 28px);overflow:auto;background:linear-gradient(150deg,#142c40,#080e18);border:1px solid rgba(77,208,234,.4);border-radius:20px;padding:20px;box-shadow:0 22px 80px #000a}
.ttb-v216-security-panel header{display:flex;justify-content:space-between;align-items:center;gap:12px}
.ttb-v216-security-panel h2{font-size:19px;letter-spacing:.05em;margin:0}
.ttb-v216-security-panel header button{color:#fff;background:transparent;border:0;font-size:28px;cursor:pointer}
.ttb-v216-security-panel p{font-size:12px;color:#b8cbd8;line-height:1.5}
.ttb-v216-security-panel label{display:block;margin-top:13px;color:#deedf7;font-size:11px;font-weight:800;letter-spacing:.04em}
.ttb-v216-security-panel input{display:block;box-sizing:border-box;width:100%;min-height:44px;border-radius:10px;border:1px solid #3b5c71;background:#091827;color:white;padding:11px;margin-top:6px;font-size:15px}
.ttb-v216-security-panel output{display:block;margin:12px 0 0;color:#7ff5be;font-size:12px;min-height:17px}
.ttb-v216-security-panel output[data-error="1"]{color:#ffa8a8}
.ttb-v216-security-save{width:100%;min-height:44px;border:0;border-radius:10px;margin-top:14px;background:#52d7ec;color:#062231;font-weight:900;cursor:pointer}
.ttb-v216-security-save:disabled{opacity:.65;cursor:wait}
#ttb-v216-change-password{background:#193749;color:#eafcff;border:1px solid #40758a;border-radius:10px;padding:10px 15px;font-weight:850;cursor:pointer}

/* Social v21.6: azioni personali */
.ttb-v216-cancel-friend{background:#6d1b27!important;border-color:#fa6575!important;color:#fff!important}
.ttb-v216-delete-msg{margin-left:9px;border:0;background:transparent;color:#ff9eaa;font-weight:900;font-size:16px;cursor:pointer}
.ttb-v216-clear-chat{font-size:10px;font-weight:900;color:#fff;background:#62212c;border:1px solid #e86b7d;border-radius:8px;padding:7px;cursor:pointer;max-width:120px;line-height:1.2}

#ttb-v198-root{z-index:100110!important}
#ttb-v198-root .ttb-chat-popup{z-index:2;isolation:isolate}
#ttb-v198-root .ttb-chat-msgs{position:relative;overflow-y:auto;min-height:120px;overscroll-behavior:contain;touch-action:pan-y}
#ttb-v198-root .ttb-chat-bubble{position:relative;padding-right:44px;overflow:visible}
#ttb-v198-root .ttb-v216-delete-msg{position:absolute;top:5px;right:5px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:9px;background:#6e2437;border:1px solid #ff9ead;color:white;font-size:20px;z-index:3;pointer-events:auto;touch-action:manipulation;opacity:1}
#ttb-v198-root .ttb-v216-clear-chat{flex:0 0 auto;min-height:36px;touch-action:manipulation;pointer-events:auto}
#ttb-v198-root .ttb-chat-form{z-index:3;position:relative}
#ttb-v2042-root .v2042-item{pointer-events:auto!important;cursor:pointer;touch-action:manipulation}

/* v21.6.1 — usable touch targets on narrow screens */
#ttb-v198-root .ttb-chat-bubble{position:relative;padding-right:38px}
#ttb-v198-root .ttb-v216-delete-msg{position:absolute;right:3px;top:3px;min-width:36px;min-height:36px;display:grid;place-items:center;color:#ffb0bd;background:#561f2d;border:1px solid #b95d6c;border-radius:50%;font-size:21px;touch-action:manipulation;z-index:2}
#ttb-v198-root .ttb-v216-clear-chat{flex-shrink:0;min-width:65px;max-width:100px;min-height:43px;line-height:1.2;touch-action:manipulation}
#ttb-v198-root .ttb-chat-head{gap:7px;padding:10px}
#ttb-v198-root .ttb-chat-avatar{width:35px;height:35px;flex-basis:35px}
#ttb-v198-root .ttb-chat-heading strong{font-size:13px}
#ttb-v198-root .ttb-chat-close{flex-shrink:0;min-width:38px}
