/* R37 unified CSP-safe contact, settings and composer CSS. */
/* R24: fresh Orbit contact-picker visual language. Scope ALL rules to this dialog. */
#dialog.cc-r24-contacts-dialog[open]{display:flex!important;flex-direction:column!important;box-sizing:border-box!important;width:min(94vw,520px)!important;max-width:calc(100vw - 20px)!important;height:min(90dvh,780px)!important;max-height:calc(100dvh - 20px)!important;padding:0!important;overflow:hidden!important;border:1px solid rgba(119,204,206,.28)!important;border-radius:26px!important;background:#061e2b!important;background-image:none!important;box-shadow:0 28px 85px rgba(0,0,0,.56)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
#dialog.cc-r24-contacts-dialog .dialog-head{box-sizing:border-box!important;flex:0 0 auto!important;position:relative!important;display:flex!important;justify-content:space-between!important;width:100%!important;gap:16px!important;min-height:86px!important;align-items:center!important;margin:0!important;padding:19px 22px 15px!important;background:#082a37!important;background-image:none!important;border:0!important;border-bottom:1px solid rgba(146,217,220,.1)!important;box-shadow:none!important}
#dialog.cc-r24-contacts-dialog #dialogSub{font-size:10px!important;letter-spacing:2.2px!important;font-weight:700!important;color:#73d4c8!important}
#dialog.cc-r24-contacts-dialog #dialogTitle{margin:4px 0 0!important;font-size:26px!important;line-height:1.14!important;font-weight:720!important;color:#f4ffff!important;text-shadow:none!important}
#dialog.cc-r24-contacts-dialog #closeDialog{display:grid!important;place-items:center!important;flex:0 0 42px!important;width:42px!important;height:42px!important;padding:0!important;border:1px solid rgba(169,222,223,.22)!important;border-radius:50%!important;background:rgba(186,235,235,.06)!important;color:#e8ffff!important;box-shadow:none!important}
#dialog.cc-r24-contacts-dialog #dialogBody{display:flex!important;flex:1 1 auto!important;min-height:0!important;max-height:none!important;overflow:hidden!important;padding:0!important;margin:0!important;background:#061e2b!important;background-image:none!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
#dialog.cc-r24-contacts-dialog .cc-r24-sheet{box-sizing:border-box;display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-height:0!important;width:100%!important;padding:0 17px!important;background:transparent!important;color:#e8f6fa!important;font:400 14px/1.4 system-ui,'Segoe UI',sans-serif!important}
#dialog.cc-r24-contacts-dialog .cc-r24-sheet *,#dialog.cc-r24-contacts-dialog .cc-r24-sheet *:before,#dialog.cc-r24-contacts-dialog .cc-r24-sheet *:after{box-sizing:border-box!important}
#dialog.cc-r24-contacts-dialog .cc-r24-search{display:flex!important;flex:0 0 auto!important;align-items:center!important;gap:9px!important;height:48px!important;min-width:0!important;margin:17px 2px 12px!important;padding:0 13px!important;border:1px solid rgba(142,213,219,.16)!important;border-radius:15px!important;background:#123440!important;box-shadow:none!important}
#dialog.cc-r24-contacts-dialog .cc-r24-search-icon{display:block!important;font:400 27px/1 system-ui,sans-serif!important;color:#8cbbbf!important;transform:rotate(-18deg)}
#dialog.cc-r24-contacts-dialog #ccR19Query{display:block!important;flex:1 1 auto!important;width:100%!important;min-width:0!important;height:44px!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#f6ffff!important;font-size:16px!important;font-weight:400!important;outline:none!important;-webkit-appearance:none!important;appearance:none!important;backdrop-filter:none!important}
#dialog.cc-r24-contacts-dialog #ccR19Query::placeholder{color:#9ab6bf!important;opacity:1!important}
#dialog.cc-r24-contacts-dialog .cc-r24-search:focus-within{border-color:rgba(107,218,216,.6)!important;outline:1px solid rgba(107,218,216,.25)!important}
#dialog.cc-r24-contacts-dialog .cc-r24-overview{display:flex!important;align-items:center!important;justify-content:space-between!important;flex:0 0 auto!important;gap:7px!important;min-height:34px!important;padding:0 1px 9px!important;background:transparent!important}
#dialog.cc-r24-contacts-dialog .cc-r24-summary{display:block!important;flex:1 1 auto!important;min-width:0!important;margin:0!important;color:#9abdc7!important;font-size:12px!important;font-weight:500!important;line-height:1.4!important}
#dialog.cc-r24-contacts-dialog .cc-r24-tools{display:flex!important;align-items:center!important;flex:0 0 auto!important;gap:6px!important;background:transparent!important}
#dialog.cc-r24-contacts-dialog .cc-r24-tools button{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:0!important;height:32px!important;margin:0!important;padding:3px 8px!important;border:0!important;border-radius:9px!important;background:transparent!important;box-shadow:none!important;color:#74d8d4!important;font:650 12px/1.3 system-ui,sans-serif!important;white-space:nowrap!important;cursor:pointer!important;transform:none!important;text-shadow:none!important}
#dialog.cc-r24-contacts-dialog .cc-r24-tools button[hidden]{display:none!important}
#dialog.cc-r24-contacts-dialog #ccR19Read{font-size:23px!important;width:32px!important;padding:0!important;font-weight:400!important}
#dialog.cc-r24-contacts-dialog .cc-r24-list{display:block!important;flex:1 1 auto!important;min-height:60px!important;max-height:none!important;width:100%!important;margin:0!important;padding:0 2px!important;overflow-y:auto!important;overflow-x:hidden!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;overscroll-behavior:contain!important;scrollbar-width:thin!important;scrollbar-color:rgba(138,214,213,.25) transparent!important}
#dialog.cc-r24-contacts-dialog .cc-r24-entry{display:block!important;width:100%!important;min-width:0!important;background:transparent!important;border-bottom:1px solid rgba(137,207,211,.10)!important;margin:0!important;padding:0!important}
#dialog.cc-r24-contacts-dialog .cc-r24-entry:last-child{border-bottom:0!important}
#dialog.cc-r24-contacts-dialog .cc-r24-hit{display:grid!important;grid-template-columns:46px minmax(0,1fr) 16px!important;align-items:center!important;column-gap:13px!important;width:100%!important;min-width:0!important;max-width:100%!important;min-height:73px!important;padding:11px 5px!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;transform:none!important;color:#f3fcff!important;text-align:left!important;cursor:pointer!important;font:inherit!important;white-space:normal!important;text-shadow:none!important;animation:none!important;filter:none!important}
#dialog.cc-r24-contacts-dialog .cc-r24-hit:active{background:rgba(108,201,201,.09)!important;border-radius:10px!important}
#dialog.cc-r24-contacts-dialog .cc-r24-hit:focus-visible{outline:2px solid #77d8dd!important;outline-offset:-3px!important;border-radius:12px!important}
#dialog.cc-r24-contacts-dialog .cc-r24-avatar{display:grid!important;place-items:center!important;flex:none!important;width:46px!important;height:46px!important;min-width:46px!important;border-radius:50%!important;overflow:hidden!important;background:var(--cc-r24-avatar,#215b71)!important;color:#f4ffff!important;font:650 19px/1 system-ui,sans-serif!important}
#dialog.cc-r24-contacts-dialog .cc-r24-avatar img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;border-radius:50%!important}
#dialog.cc-r24-contacts-dialog .cc-r24-copy{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:4px!important;min-width:0!important;width:100%!important;overflow:visible!important;background:transparent!important}
#dialog.cc-r24-contacts-dialog .cc-r24-name{display:block!important;min-width:0!important;width:100%!important;max-width:100%!important;white-space:normal!important;overflow:visible!important;overflow-wrap:anywhere!important;text-overflow:clip!important;color:#f5fdff!important;font:620 15px/1.27 system-ui,sans-serif!important;letter-spacing:0!important}
#dialog.cc-r24-contacts-dialog .cc-r24-status{display:block!important;min-width:0!important;color:#89aeba!important;font:400 12px/1.3 system-ui,sans-serif!important;white-space:normal!important}
#dialog.cc-r24-contacts-dialog .cc-r24-online{color:#67dbbf!important}
#dialog.cc-r24-contacts-dialog .cc-r24-tail{display:grid!important;place-items:center!important;color:#688d98!important;font:300 24px/1 system-ui,sans-serif!important}
#dialog.cc-r24-contacts-dialog .cc-r24-tail-chat{color:#59d9b6!important;font-size:11px!important}
#dialog.cc-r24-contacts-dialog .cc-r24-empty{padding:24px 8px!important;margin:0!important;color:#9dbcc4!important;text-align:center!important;font-size:14px!important}
#dialog.cc-r24-contacts-dialog .cc-r24-footer{display:flex!important;justify-content:space-between!important;flex:0 0 auto!important;gap:10px!important;padding:10px 2px 7px!important;border-top:1px solid rgba(137,207,211,.13)!important;background:transparent!important}
#dialog.cc-r24-contacts-dialog .cc-r24-footer button{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:0!important;max-width:75%!important;min-height:38px!important;margin:0!important;padding:7px 8px!important;border:0!important;border-radius:9px!important;background:transparent!important;box-shadow:none!important;color:#81cdd0!important;font:560 12px/1.35 system-ui,sans-serif!important;white-space:normal!important;text-align:center!important}
#dialog.cc-r24-contacts-dialog .cc-r24-privacy{display:block!important;flex:0 0 auto!important;margin:0 0 10px!important;padding:0 3px!important;color:#7e9da6!important;font:400 11px/1.45 system-ui,sans-serif!important}
#dialog.cc-r24-contacts-dialog .cc-r24-privacy summary{padding:6px 0!important;cursor:pointer!important;color:#6d9ba6!important}
#dialog.cc-r24-contacts-dialog .cc-r24-privacy p{margin:1px 0 9px!important;color:#9bb5bd!important}
#dialog.cc-r24-invite-dialog .cc-r24-invite{padding:12px 2px 20px!important;color:#e8f9ff!important;text-align:center!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:13px!important}
#dialog.cc-r24-invite-dialog .cc-r24-invite-symbol{display:grid;place-items:center;align-self:center;width:66px;height:66px;border-radius:50%;background:#113e4d;color:#88e9df;font-size:29px}
#dialog.cc-r24-invite-dialog .cc-r24-invite h3{margin:0!important;color:#f4ffff!important;font:650 20px/1.3 system-ui,sans-serif!important;overflow-wrap:anywhere!important}
#dialog.cc-r24-invite-dialog .cc-r24-invite p{margin:0 12px 7px!important;color:#a1c4cb!important;font:400 14px/1.5 system-ui,sans-serif!important}
#dialog.cc-r24-invite-dialog .cc-r24-invite-actions{display:flex!important;flex-direction:column!important;gap:8px!important;min-width:0!important}
#dialog.cc-r24-invite-dialog .cc-r24-invite-actions button{display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;min-height:49px!important;width:100%!important;border:1px solid rgba(151,215,218,.20)!important;border-radius:13px!important;background:#123847!important;color:#e5ffff!important;box-shadow:none!important;padding:11px!important;font:550 15px/1.3 system-ui,sans-serif!important}
#dialog.cc-r24-invite-dialog .cc-r24-invite-actions button:first-child{background:#1b6670!important;border-color:#378e94!important}
#dialog.cc-r24-invite-dialog .cc-r24-invite-actions button span{font-size:19px}
@media(max-width:360px){#dialog.cc-r24-contacts-dialog .cc-r24-sheet{padding:0 12px!important}#dialog.cc-r24-contacts-dialog .cc-r24-hit{column-gap:9px!important;grid-template-columns:42px minmax(0,1fr) 12px!important}#dialog.cc-r24-contacts-dialog .cc-r24-avatar{width:42px!important;height:42px!important;min-width:42px!important}#dialog.cc-r24-contacts-dialog #dialogTitle{font-size:23px!important}}

#dialog.cc-r24-invite-dialog[open]{display:flex!important;flex-direction:column!important;box-sizing:border-box!important;width:min(92vw,460px)!important;max-width:calc(100vw - 20px)!important;max-height:calc(100dvh - 24px)!important;min-height:0!important;padding:0!important;overflow:hidden!important;border-radius:24px!important;border:1px solid rgba(119,204,206,.30)!important;background:#061e2b!important;box-shadow:0 28px 85px rgba(0,0,0,.58)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
#dialog.cc-r24-invite-dialog .dialog-head{box-sizing:border-box!important;position:relative!important;display:flex!important;justify-content:space-between!important;align-items:center!important;gap:16px!important;width:100%!important;min-height:84px!important;margin:0!important;padding:18px 22px!important;background:#082a37!important;border:0!important;border-bottom:1px solid rgba(146,217,220,.11)!important;box-shadow:none!important}
#dialog.cc-r24-invite-dialog #dialogTitle{margin:4px 0 0!important;color:#f4ffff!important;font:720 25px/1.2 system-ui,sans-serif!important;text-shadow:none!important}
#dialog.cc-r24-invite-dialog #dialogSub{color:#73d4c8!important;font:700 10px/1.2 system-ui,sans-serif!important;letter-spacing:2px!important}
#dialog.cc-r24-invite-dialog #closeDialog{display:grid!important;place-items:center!important;flex:0 0 42px!important;width:42px!important;height:42px!important;margin:0!important;padding:0!important;border-radius:50%!important;border:1px solid rgba(169,222,223,.22)!important;background:rgba(186,235,235,.06)!important;color:#e8ffff!important;box-shadow:none!important}
#dialog.cc-r24-invite-dialog #dialogBody{display:block!important;min-height:0!important;max-height:calc(100dvh - 110px)!important;overflow-y:auto!important;margin:0!important;padding:18px 22px 22px!important;background:#061e2b!important;color:#e9fbff!important}

/* R35. Contacts-first on Android. Avoid inherited grey button styles and horizontal clipping. */
#dialog.cc-r35-contacts-dialog[open]{width:min(100vw - 16px,520px)!important;max-width:calc(100vw - 16px)!important;height:min(92dvh,840px)!important;max-height:calc(100dvh - 16px)!important;border-radius:24px!important;overflow:hidden!important;background:#071a30!important}
#dialog.cc-r35-contacts-dialog .dialog-head{min-height:77px!important;padding:15px 18px!important;background:linear-gradient(105deg,#0a3346,#171c43)!important}
#dialog.cc-r35-contacts-dialog #dialogTitle{font-size:24px!important}
#dialog.cc-r35-contacts-dialog .cc-r24-sheet{padding:0 15px!important;width:100%!important;min-width:0!important;overflow:hidden!important}
#dialog.cc-r35-contacts-dialog .cc-r24-search{box-sizing:border-box!important;display:flex!important;width:100%!important;min-width:0!important;max-width:100%!important;height:50px!important;flex:0 0 50px!important;margin:14px 0 8px!important;padding:0 13px!important;border:1px solid #35657b!important;border-radius:14px!important;background:#0b2b43!important;overflow:hidden!important}
#dialog.cc-r35-contacts-dialog #ccR19Query{box-sizing:border-box!important;display:block!important;flex:1 1 0%!important;width:0!important;min-width:0!important;max-width:none!important;height:48px!important;margin:0!important;padding:0 2px!important;background:transparent!important;box-shadow:none!important;border:0!important;outline:0!important;color:#f2ffff!important;font-size:16px!important;text-overflow:ellipsis!important}
#dialog.cc-r35-contacts-dialog .cc-r24-search-icon{flex:0 0 23px!important;font-size:23px!important}
#dialog.cc-r35-contacts-dialog .cc-r24-overview{display:flex!important;align-items:center!important;flex-wrap:wrap!important;min-height:42px!important;gap:7px!important;margin:0!important;padding:0 0 9px!important}
#dialog.cc-r35-contacts-dialog .cc-r24-summary{font-size:12px!important;white-space:normal!important}
#dialog.cc-r35-contacts-dialog .cc-r24-tools{gap:6px!important}
#dialog.cc-r35-contacts-dialog .cc-r24-tools #ccR19Read,#dialog.cc-r35-contacts-dialog .cc-r24-tools #ccR19Match{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;min-width:94px!important;max-width:155px!important;height:34px!important;padding:5px 10px!important;color:#bff7f0!important;background:#113d51!important;border:1px solid #306679!important;border-radius:10px!important;box-shadow:none!important;font:600 12px/1.2 system-ui,sans-serif!important}
#dialog.cc-r35-contacts-dialog .cc-r24-tools button[hidden],#dialog.cc-r35-contacts-dialog button[hidden]{display:none!important}
#dialog.cc-r35-contacts-dialog .cc-r24-list{flex:1 1 0%!important;min-height:0!important;padding:0!important;overflow-y:auto!important;overflow-x:hidden!important}
#dialog.cc-r35-contacts-dialog .cc-r35-section-title{position:sticky;top:0;z-index:1;margin:0;padding:10px 5px 8px;color:#85e4d3;background:#071a30;border-bottom:1px solid #194152;font-size:12px;font-weight:750;letter-spacing:.025em}
#dialog.cc-r35-contacts-dialog .cc-r24-entry{border-bottom:1px solid rgba(108,175,188,.10)!important}
#dialog.cc-r35-contacts-dialog .cc-r24-hit{box-sizing:border-box!important;grid-template-columns:46px minmax(0,1fr) auto!important;min-height:69px!important;column-gap:11px!important;padding:8px 4px!important}
#dialog.cc-r35-contacts-dialog .cc-r24-avatar{width:43px!important;height:43px!important;min-width:43px!important;min-height:43px!important;background:var(--cc-r24-avatar,#23566c)!important;border:1px solid #35647a!important;font-size:19px!important}
#dialog.cc-r35-contacts-dialog .cc-r24-name{font-size:15px!important;line-height:1.24!important;word-break:normal!important;overflow-wrap:anywhere!important}
#dialog.cc-r35-contacts-dialog .cc-r24-status{font-size:12px!important}
#dialog.cc-r35-contacts-dialog .cc-r24-tail{font-size:11px!important;line-height:1.2!important;white-space:nowrap!important;text-align:right!important;justify-self:end!important}
#dialog.cc-r35-contacts-dialog .cc-r24-footer{padding:10px 0 8px!important;gap:10px!important}
#dialog.cc-r35-contacts-dialog .cc-r24-footer button{flex:1 1 0!important;min-height:42px!important;max-width:none!important;padding:7px 10px!important;border:1px solid #2c6471!important;border-radius:12px!important;background:#0e344a!important;color:#d5f8f5!important;font-size:12px!important}
#dialog.cc-r35-contacts-dialog .cc-r24-privacy{padding:0 1px!important;margin:0 0 5px!important}
#dialog.cc-r35-invite-dialog .cc-r35-invite{gap:11px!important;text-align:left!important}
#dialog.cc-r35-invite-dialog .cc-r35-invite h3{text-align:center!important}
#dialog.cc-r35-invite-dialog .cc-r35-invite p{margin:0!important;text-align:left!important}
#dialog.cc-r35-invite-dialog .cc-r35-invite label{font-size:13px;font-weight:650;color:#d1f6f5}
#dialog.cc-r35-invite-dialog .cc-r35-invite small{font-size:12px;line-height:1.4;color:#9abdc8}
#dialog.cc-r35-invite-dialog .cc-r35-invite input{width:100%!important;font-size:16px!important;min-height:47px!important;border:1px solid #42819a!important;border-radius:12px!important;background:#0b2d40!important;color:#f2ffff!important}
/* Settings: no nested shiny blocks; calm, readable and responsive. Keep all original control IDs and callbacks. */
#dialog.cc-r35-settings-dialog[open]{box-sizing:border-box!important;width:min(100vw - 16px,800px)!important;max-width:calc(100vw - 16px)!important;max-height:calc(100dvh - 16px)!important;border:1px solid #2b6274!important;border-radius:22px!important;background:#071a2e!important;overflow:hidden!important}
#dialog.cc-r35-settings-dialog .dialog-head{background:#0c2a3c!important;padding:15px 17px!important}
#dialog.cc-r35-settings-dialog #dialogBody{box-sizing:border-box!important;overflow-y:auto!important;overflow-x:hidden!important;background:#071a2e!important;padding:12px!important}
#dialog.cc-r35-settings-dialog .cc-settings-hero{box-sizing:border-box!important;background:#102d43!important;border:1px solid #24506a!important;border-radius:17px!important;padding:15px!important;max-width:100%!important;overflow:hidden!important}
#dialog.cc-r35-settings-dialog .cc-settings-hero *{overflow-wrap:anywhere!important}
#dialog.cc-r35-settings-dialog .cc-settings-layout{box-sizing:border-box!important;min-width:0!important;max-width:100%!important;background:transparent!important;gap:12px!important}
#dialog.cc-r35-settings-dialog .settings-nav{box-sizing:border-box!important;min-width:0!important;max-width:100%!important;background:transparent!important;gap:6px!important}
#dialog.cc-r35-settings-dialog .settings-nav-btn{box-sizing:border-box!important;min-width:0!important;min-height:48px!important;border:1px solid #284d64!important;background:#0e2d43!important;border-radius:12px!important;box-shadow:none!important;color:#e6f8fe!important;text-align:left!important}
#dialog.cc-r35-settings-dialog .settings-nav-btn.active,#dialog.cc-r35-settings-dialog .settings-nav-btn[aria-selected=true]{background:#12516a!important;border-color:#5aaeb9!important}
#dialog.cc-r35-settings-dialog .cc-settings-pages{box-sizing:border-box!important;min-width:0!important;max-width:100%!important;background:transparent!important;overflow-x:hidden!important}
#dialog.cc-r35-settings-dialog .cc-settings-page{box-sizing:border-box!important;min-width:0!important;max-width:100%!important;background:transparent!important}
#dialog.cc-r35-settings-dialog .cc-settings-card{box-sizing:border-box!important;min-width:0!important;max-width:100%!important;margin:0 0 10px!important;padding:13px!important;background:#0e3043!important;border:1px solid #24526a!important;border-radius:14px!important;box-shadow:none!important;overflow-wrap:anywhere!important}
#dialog.cc-r35-settings-dialog .cc-settings-card-title{gap:10px!important;max-width:100%!important}
#dialog.cc-r35-settings-dialog .cc-settings-card h3{font-size:15px!important;line-height:1.3!important}
#dialog.cc-r35-settings-dialog .cc-settings-card :is(input,select,textarea){box-sizing:border-box!important;max-width:100%!important;min-width:0!important;font-size:16px!important;border-radius:11px!important}
#dialog.cc-r35-settings-dialog .cc-settings-card button{box-sizing:border-box!important;max-width:100%!important;white-space:normal!important;border-radius:10px!important}
#dialog.cc-r35-settings-dialog .cc-settings-fold{box-sizing:border-box!important;max-width:100%!important;margin:0 0 9px!important;border:1px solid #22516a!important;border-radius:12px!important;background:#0c2a3d!important;overflow:hidden!important}
#dialog.cc-r35-settings-dialog .cc-settings-fold summary{padding:12px 10px!important;cursor:pointer!important;overflow-wrap:anywhere!important}
#dialog.cc-r35-settings-dialog :is(.cc-settings-hero,.cc-settings-card,.cc-settings-fold,.cc-settings-layout,.cc-settings-pages){backdrop-filter:none!important;-webkit-backdrop-filter:none!important;animation:none!important;transition:none!important;filter:none!important}
#dialog.cc-r35-settings-dialog button:focus-visible,#dialog.cc-r35-contacts-dialog button:focus-visible{outline:2px solid #68e4df!important;outline-offset:2px!important}
@media(max-width:600px){#dialog.cc-r35-settings-dialog .cc-settings-layout{display:block!important;width:100%!important}#dialog.cc-r35-settings-dialog .settings-nav,#dialog.cc-r35-settings-dialog .cc-settings-pages{width:100%!important;max-width:100%!important}#dialog.cc-r35-contacts-dialog[open]{height:calc(100dvh - 12px)!important;max-height:calc(100dvh - 12px)!important;border-radius:18px!important}}
/* Auth: telephone first, with a discreet, functional legacy account fallback. */
#auth #ccR35LegacyLogin{display:block;width:100%;margin:7px 0 12px;padding:7px;background:transparent;border:0;color:#83d9dc;text-align:left;text-decoration:underline;font:500 13px system-ui,sans-serif}

/* CheburChat R36: external CSS, works with CSP style-src 'self' (no unsafe-inline). */
html body #app #active .composer-wrap {
  display:flex!important; flex-direction:column!important;
  justify-content:flex-end!important; flex-shrink:0!important;
  min-height:0!important; overflow:visible!important;
}
html body #app #active .composer {
  display:flex!important; align-items:flex-end!important;
  min-height:52px!important; max-height:none!important;
  overflow:visible!important;
}
html body #app #active .composer textarea#input {
  box-sizing:border-box!important; flex:1 1 auto!important; min-width:0!important;
  width:100%!important; min-height:38px!important;
  max-height:160px!important; height:auto!important;
  padding-top:7px!important; padding-bottom:7px!important;
  line-height:24px!important; font-size:16px!important;
  white-space:pre-wrap!important; overflow-wrap:break-word!important;
  overflow-y:hidden!important; resize:none!important;
  align-self:flex-end!important; transition:none!important;
}
html body #app #active .composer textarea#input.cc-r36-overflow {
  overflow-y:auto!important; overscroll-behavior:contain!important;
}
html body #app #active .composer button#ccR34ComposerExpand {
  appearance:none!important; -webkit-appearance:none!important;
  box-sizing:border-box!important; display:grid!important; place-items:center!important;
  flex:0 0 39px!important; width:39px!important; height:42px!important;
  min-width:39px!important; min-height:42px!important;
  margin:0!important; padding:0!important; align-self:flex-end!important;
  border:1px solid rgba(117,217,221,.54)!important;
  border-radius:13px!important;
  background:linear-gradient(145deg,#146178,#0d3a55)!important;
  color:#d7ffff!important; box-shadow:none!important;
  font:600 22px/1 system-ui,sans-serif!important;
  opacity:1!important; transform:none!important;
}
html body #app #active .composer button#ccR34ComposerExpand[hidden] { display:none!important; }
html body #app #active .composer button#ccR34ComposerExpand:focus-visible {
  outline:2px solid #92f8f0!important; outline-offset:2px!important;
}
/* This editor is attached directly to document.body, never to the composer or chat. */
html body div#ccR36ComposerFullEditor {
  position:fixed!important; inset:0!important; left:0!important; top:0!important;
  right:0!important; bottom:0!important; z-index:2147483600!important;
  box-sizing:border-box!important; width:100vw!important; height:100vh!important;
  height:100dvh!important; max-height:100dvh!important; min-height:0!important;
  margin:0!important; padding:0!important;
  border:0!important; border-radius:0!important;
  display:flex!important; flex-direction:column!important; gap:0!important;
  background:#061b2a!important; color:#eaffff!important;
  overflow:hidden!important; overscroll-behavior:contain!important;
  isolation:isolate!important; visibility:visible!important; opacity:1!important;
  transform:none!important; filter:none!important;
}
html body #ccR36ComposerFullEditor .cc-r34-full-head {
  box-sizing:border-box!important; flex:0 0 auto!important;
  display:flex!important; flex-direction:row!important; align-items:center!important;
  justify-content:space-between!important; gap:10px!important;
  min-height:68px!important; padding:14px 14px 11px!important;
  padding-top:max(14px,env(safe-area-inset-top))!important;
  border-bottom:1px solid rgba(138,211,216,.20)!important;
  background:#082d3d!important; color:#ecffff!important;
}
html body #ccR36ComposerFullEditor .cc-r34-full-head strong {
  flex:1 1 auto!important; text-align:center!important; min-width:0!important;
  font:650 17px/1.3 system-ui,sans-serif!important;
  white-space:nowrap!important; overflow:hidden!important; text-overflow:ellipsis!important;
}
html body #ccR36ComposerFullEditor .cc-r34-full-head button {
  box-sizing:border-box!important; appearance:none!important; -webkit-appearance:none!important;
  display:inline-flex!important; align-items:center!important; justify-content:center!important;
  flex:0 0 auto!important; min-width:65px!important; min-height:42px!important;
  max-width:39vw!important; margin:0!important; padding:9px 11px!important;
  border:1px solid rgba(103,210,215,.55)!important; border-radius:11px!important;
  background:#155469!important; color:#efffff!important;
  font:600 14px/1.25 system-ui,sans-serif!important;
  box-shadow:none!important; white-space:nowrap!important;
}
html body #ccR36ComposerFullEditor .cc-r36-full-send {
  background:#167d76!important; border-color:#4ec5aa!important;
}
html body #ccR36ComposerFullEditor textarea.cc-r34-full-text {
  box-sizing:border-box!important; display:block!important; flex:1 1 auto!important;
  width:calc(100% - 24px)!important; min-height:0!important; max-height:none!important;
  height:auto!important; margin:12px 12px max(12px,env(safe-area-inset-bottom))!important;
  padding:15px 14px!important; border:1px solid rgba(126,211,215,.36)!important;
  border-radius:14px!important; background:#0b3142!important;
  color:#f4ffff!important; -webkit-text-fill-color:#f4ffff!important;
  font:400 17px/1.5 system-ui,sans-serif!important;
  white-space:pre-wrap!important; overflow-wrap:break-word!important;
  overflow-y:auto!important; overscroll-behavior:contain!important; resize:none!important;
  box-shadow:none!important; opacity:1!important;
}
html body #ccR36ComposerFullEditor textarea.cc-r34-full-text:focus {
  outline:2px solid rgba(109,226,226,.44)!important; outline-offset:0!important;
}
@media (max-width:360px){
 html body #ccR36ComposerFullEditor .cc-r34-full-head{padding-left:9px!important;padding-right:9px!important;gap:5px!important}
 html body #ccR36ComposerFullEditor .cc-r34-full-head button{min-width:58px!important;padding:8px!important;font-size:13px!important}
}


/* R37: compose up to six fixed-size rows; prevent inherited fixed-height WebView styles. */
html body #app #active .composer-wrap{height:auto!important;max-height:none!important;flex:0 0 auto!important;overflow:visible!important}
html body #app #active .composer{height:auto!important;max-height:none!important;min-height:50px!important;overflow:visible!important;flex-shrink:0!important;align-items:flex-end!important}
html body #app #active .composer textarea#input{
 display:block!important;flex:1 1 0%!important;width:0!important;min-width:0!important;
 font:400 16px/24px system-ui,sans-serif!important;line-height:24px!important;
 box-sizing:border-box!important;resize:none!important;overflow-y:hidden!important;
 white-space:pre-wrap!important;overflow-wrap:anywhere!important;
 padding:7px 10px!important;border-width:1px!important;
 height:40px!important;min-height:40px!important;max-height:40px!important;
 align-self:flex-end!important;transition:none!important;
}
html body #app #active .composer textarea#input.cc-r37-rows-1{height:40px!important;min-height:40px!important;max-height:40px!important}
html body #app #active .composer textarea#input.cc-r37-rows-2{height:64px!important;min-height:64px!important;max-height:64px!important}
html body #app #active .composer textarea#input.cc-r37-rows-3{height:88px!important;min-height:88px!important;max-height:88px!important}
html body #app #active .composer textarea#input.cc-r37-rows-4{height:112px!important;min-height:112px!important;max-height:112px!important}
html body #app #active .composer textarea#input.cc-r37-rows-5{height:136px!important;min-height:136px!important;max-height:136px!important}
html body #app #active .composer textarea#input.cc-r37-rows-6{height:160px!important;min-height:160px!important;max-height:160px!important}
html body #app #active .composer textarea#input.cc-r37-overflow{overflow-y:auto!important}
html body #app #active .composer #ccR34ComposerExpand{
 appearance:none!important;-webkit-appearance:none!important;display:grid!important;place-items:center!important;
 flex:0 0 32px!important;width:32px!important;height:34px!important;min-width:32px!important;min-height:34px!important;
 padding:0!important;margin:0 3px 3px 0!important;align-self:flex-end!important;
 border:1px solid rgba(91,201,201,.5)!important;border-radius:10px!important;
 background:#104153!important;color:#a9eeee!important;opacity:.92!important;box-shadow:none!important;
}
html body #app #active .composer #ccR34ComposerExpand[hidden]{display:none!important}
html body #app #active .composer #ccR34ComposerExpand svg{width:17px!important;height:17px!important;fill:none!important}
html.cc-r37-fullopen,html.cc-r37-fullopen body{overflow:hidden!important;overscroll-behavior:none!important}
html body #ccR36ComposerFullEditor{z-index:2147483646!important;height:100dvh!important;max-height:100dvh!important;overflow:hidden!important;touch-action:pan-y!important}
html body #ccR36ComposerFullEditor .cc-r34-full-head{min-height:60px!important}
html body #ccR36ComposerFullEditor .cc-r34-full-text{flex:1 1 0%!important;min-height:0!important;max-height:none!important;height:auto!important}
/* R37: polished legacy entry is a real secondary action, not a system gray button. */
html body #auth button#ccR35LegacyLogin{
 appearance:none!important;-webkit-appearance:none!important;display:inline-flex!important;
 align-items:center!important;justify-content:center!important;
 box-sizing:border-box!important;width:auto!important;max-width:100%!important;
 margin:10px 0 12px!important;padding:10px 15px!important;min-height:40px!important;
 border:1px solid rgba(96,208,215,.48)!important;border-radius:22px!important;
 background:linear-gradient(130deg,#113a50,#0b2639)!important;
 box-shadow:none!important;color:#bdece9!important;text-decoration:none!important;
 font:600 13px/1.3 system-ui,sans-serif!important;letter-spacing:.005em!important;
}
html body #auth button#ccR35LegacyLogin:focus-visible{outline:2px solid #7adddc!important;outline-offset:2px!important}


/* R38 WebView fix: independent text mirror and neutral expand icon. */
.cc-r38-text-mirror{
 position:fixed!important;top:0!important;left:-100000px!important;
 box-sizing:content-box!important;display:block!important;
 width:auto;max-width:none!important;min-height:0!important;height:auto!important;
 margin:0!important;padding:0!important;border:0!important;
 white-space:pre-wrap!important;overflow-wrap:anywhere!important;
 visibility:hidden!important;pointer-events:none!important;opacity:0!important;
 contain:layout style!important;
}
html body #app #active .composer button#ccR34ComposerExpand.cc-r38-expand{
 appearance:none!important;-webkit-appearance:none!important;
 flex:0 0 30px!important;width:30px!important;height:34px!important;
 min-width:30px!important;min-height:34px!important;max-width:30px!important;max-height:34px!important;
 margin:0 0 3px 0!important;padding:0!important;
 border:0!important;border-radius:9px!important;
 background:transparent!important;background-image:none!important;
 box-shadow:none!important;filter:none!important;transform:none!important;
 color:rgba(166,222,224,.9)!important;opacity:.88!important;
 line-height:1!important;
}
html body #app #active .composer button#ccR34ComposerExpand.cc-r38-expand:active{
 background:rgba(130,212,216,.11)!important;
}
html body #app #active .composer button#ccR34ComposerExpand.cc-r38-expand svg{
 width:18px!important;height:18px!important;stroke:currentColor!important;fill:none!important;
}

/* R38: substantially re-organized settings landing screen. */
#dialog.cc-r35-settings-dialog .cc-r38-settings-status{
 display:flex!important;align-items:center!important;gap:10px!important;
 padding:13px 14px!important;margin:3px 0 8px!important;
 border:1px solid rgba(90,171,179,.30)!important;border-radius:12px!important;
 background:#0b293a!important;color:#bfeae7!important;
 font:500 12px/1.45 system-ui,sans-serif!important;white-space:normal!important;
}
#dialog.cc-r35-settings-dialog .cc-r38-status-dot{
 flex:0 0 8px!important;width:8px!important;height:8px!important;
 border-radius:50%!important;background:#62cfc2!important;box-shadow:0 0 9px rgba(106,225,217,.27)!important;
}
#dialog.cc-r35-settings-dialog .cc-r38-settings-group{
 display:block!important;flex:0 0 100%!important;align-self:stretch!important;
 color:#78aab9!important;font:700 10px/1.4 system-ui,sans-serif!important;
 letter-spacing:1.65px!important;margin:16px 0 7px!important;padding:0 11px!important;
}
#dialog.cc-r35-settings-dialog .settings-nav{
 display:flex!important;flex-direction:column!important;gap:4px!important;
 padding:6px 0!important;align-items:stretch!important;
}
#dialog.cc-r35-settings-dialog .settings-nav-btn{
 position:relative!important;display:flex!important;flex:0 0 auto!important;
 align-items:center!important;gap:13px!important;min-height:53px!important;
 padding:10px 13px!important;margin:0!important;text-align:left!important;
 border:1px solid rgba(104,165,189,.20)!important;border-radius:12px!important;
 background:rgba(13,43,62,.86)!important;color:#e8fcff!important;
 font:500 15px/1.3 system-ui,sans-serif!important;
}
#dialog.cc-r35-settings-dialog .settings-nav-btn .settings-nav-symbol{
 flex:0 0 22px!important;width:22px!important;height:22px!important;
 color:#87d2d6!important;
}
#dialog.cc-r35-settings-dialog .settings-nav-btn .cc-settings-nav-label{
 flex:1 1 auto!important;min-width:0!important;display:flex!important;flex-direction:column!important;gap:2px!important;
}
#dialog.cc-r35-settings-dialog .settings-nav-btn .cc-settings-nav-label b{font:600 14px/1.3 system-ui,sans-serif!important}
#dialog.cc-r35-settings-dialog .settings-nav-btn .cc-settings-nav-label small{color:#92b3c0!important;font:400 11px/1.35 system-ui,sans-serif!important}
#dialog.cc-r35-settings-dialog .settings-nav-btn.active,
#dialog.cc-r35-settings-dialog .settings-nav-btn[aria-selected="true"]{
 background:#13485a!important;border-color:#5aa6ae!important;
}
#dialog.cc-r35-settings-dialog .cc-settings-page-heading{
 margin:0 0 14px!important;padding:6px 3px 12px!important;
 border-bottom:1px solid rgba(114,191,202,.19)!important;
}
#dialog.cc-r35-settings-dialog .cc-settings-page-heading h3{
 margin:0 0 5px!important;font:700 19px/1.3 system-ui,sans-serif!important;color:#e5ffff!important;
}
#dialog.cc-r35-settings-dialog .cc-settings-page-heading p{
 margin:0!important;font:400 12px/1.4 system-ui,sans-serif!important;color:#a3c8d0!important;
}
#dialog.cc-r35-settings-dialog .cc-settings-card{
 padding:16px 14px!important;margin:0 0 11px!important;
 border:1px solid rgba(97,170,189,.23)!important;border-radius:14px!important;
 background:#0b2a3a!important;box-shadow:none!important;
}
#dialog.cc-r35-settings-dialog .cc-settings-card label{display:block!important;margin:11px 0 6px!important;font-size:13px!important}
#dialog.cc-r35-settings-dialog .cc-settings-card button.plain-btn{
 min-height:40px!important;padding:9px 12px!important;
 border:1px solid rgba(100,180,192,.38)!important;
 background:#164255!important;color:#e5fafa!important;
}
#dialog.cc-r35-settings-dialog .cc-settings-card button.danger-btn{
 background:rgba(112,48,58,.28)!important;color:#ffdadc!important;border-color:rgba(220,120,126,.35)!important;
}
#dialog.cc-r35-settings-dialog .cc-settings-hero{
 display:flex!important;align-items:center!important;gap:13px!important;
 background:#0d3445!important;padding:14px!important;margin-bottom:12px!important;
 border:1px solid rgba(90,163,174,.3)!important;border-radius:16px!important;
}
#dialog.cc-r35-settings-dialog .cc-settings-hero h3{font:700 18px/1.25 system-ui,sans-serif!important;margin:2px 0!important}
#dialog.cc-r35-settings-dialog .cc-settings-hero p{color:#acd2da!important;font-size:12px!important}
#dialog.cc-r35-settings-dialog .cc-settings-fold summary{font-size:14px!important;font-weight:600!important}
@media(max-width:600px){
 #dialog.cc-r35-settings-dialog .settings-nav-btn{min-height:56px!important;padding:11px 13px!important}
 #dialog.cc-r35-settings-dialog .cc-settings-layout{padding:0!important;margin:0!important}
 #dialog.cc-r35-settings-dialog .cc-settings-hero{margin-top:0!important}
}

/* R39: restore settings controls. Visual grouping is via real, accessible tabs.
   Never collapse any security/update controls. All tab buttons can receive focus. */
#dialog.cc-r35-settings-dialog .cc-settings-card,
#dialog.cc-r35-settings-dialog .cc-settings-card button,
#dialog.cc-r35-settings-dialog .cc-settings-card input,
#dialog.cc-r35-settings-dialog .cc-settings-card select{
 pointer-events:auto;
}
#dialog.cc-r35-settings-dialog .settings-nav-btn{cursor:pointer!important;pointer-events:auto!important}
#dialog.cc-r35-settings-dialog .cc-settings-page:not(.hidden){overflow:visible!important}
/* Native content-driven sizing is supported by recent Android WebView. This
   last-of-file selector overrides legacy 40px / 64px !important CSS. On older
   engines, the textarea rows=1..6 attribute is the fallback height source. */
html body #app #active .composer textarea#input,
html body #app #active .composer textarea#input[class*="cc-r37-rows-"]{
 field-sizing:fixed!important;
 height:auto!important;
 min-height:40px!important;
 max-height:160px!important;
 box-sizing:border-box!important;
 overflow-y:auto!important;
 line-height:24px!important;
 padding:7px 10px!important;
 resize:none!important;
 transition:none!important;
}
/* Neutral, compact expand action; no filled green or oversized Android button. */
html body #app #active .composer button#ccR34ComposerExpand.cc-r38-expand{
 background:transparent!important;background-image:none!important;
 border:0!important;box-shadow:none!important;
 min-width:30px!important;min-height:32px!important;
 max-width:30px!important;max-height:32px!important;
 width:30px!important;height:32px!important;
 color:rgba(173,226,231,.9)!important;
}

/* R40: authoritative multiline layout (no content-driven WebView shrinking). */
html body #app #active .composer textarea#input{
 field-sizing:fixed!important;flex:1 1 0%!important;width:0!important;
 box-sizing:border-box!important;min-width:0!important;
 overflow-wrap:anywhere!important;line-height:24px!important;
 padding:7px 10px!important;overflow-y:hidden!important;
 transition:none!important;
}
html body #app #active .composer-wrap,html body #app #active .composer{
 height:auto!important;max-height:none!important;overflow:visible!important;
 align-items:flex-end!important;flex-shrink:0!important;
}
html body #app #active .composer #ccR34ComposerExpand.cc-r38-expand{
 appearance:none!important;-webkit-appearance:none!important;
 background:transparent!important;background-image:none!important;
 border:0!important;box-shadow:none!important;
 padding:0!important;margin:0!important;border-radius:8px!important;
 width:28px!important;height:30px!important;min-width:28px!important;min-height:30px!important;
 max-width:28px!important;max-height:30px!important;
 color:rgba(170,221,227,.87)!important;opacity:.85!important;
}
/* R40: real settings directory, not merely legacy controls in recolored cards. */
#dialog.cc-r40-settings-dialog .settings-nav{display:none!important}
#dialog.cc-r40-settings-dialog .cc-settings-pages{display:block!important;min-width:0!important;width:100%!important;max-width:100%!important}
#dialog.cc-r40-settings-dialog .cc-settings-layout{display:block!important;width:100%!important;min-width:0!important}
#dialog.cc-r40-settings-dialog .cc-settings-page.hidden{display:none!important}
#dialog.cc-r40-settings-dialog .cc-settings-page:not(.hidden){display:block!important;width:100%!important;min-width:0!important}
#dialog.cc-r40-settings-dialog .cc-settings-hero{margin-bottom:15px!important}
#dialog.cc-r40-settings-dialog .cc-u17-settings-back{display:flex!important;align-items:center!important;gap:8px!important;
 background:transparent!important;border:0!important;color:#7cd9db!important;padding:10px 4px!important;
 font:600 13px system-ui,sans-serif!important}
#dialog.cc-r40-settings-dialog:not(.cc-u17-settings-detail) .cc-u17-settings-back{display:none!important}
#dialog.cc-r40-settings-dialog .cc-r40-intro{margin:4px 0 12px!important;padding:3px 2px!important}
#dialog.cc-r40-settings-dialog .cc-r40-intro-label{font:700 10px system-ui,sans-serif!important;letter-spacing:1.5px;color:#69cbd0!important}
#dialog.cc-r40-settings-dialog .cc-r40-intro h3{margin:4px 0!important;color:#f0ffff!important;font:700 25px system-ui,sans-serif!important}
#dialog.cc-r40-settings-dialog .cc-r40-intro p{margin:0!important;color:#a5c2ce!important;font:13px/1.45 system-ui,sans-serif!important}
#dialog.cc-r40-settings-dialog .cc-r40-status{display:flex!important;align-items:center!important;gap:10px!important;
 background:linear-gradient(135deg,#103c4e,#142f46)!important;border:1px solid rgba(113,199,212,.32)!important;
 border-radius:14px!important;padding:12px!important;color:#e6fffd!important;font:500 12px/1.4 system-ui,sans-serif!important;margin:12px 0!important}
#dialog.cc-r40-settings-dialog .cc-r40-status-icon{display:grid!important;place-items:center!important;flex:0 0 25px!important;
 width:25px!important;height:25px!important;border-radius:50%!important;background:rgba(67,181,168,.23)!important;color:#6ce1ce!important}
#dialog.cc-r40-settings-dialog .cc-r40-status>span:nth-child(2){flex:1 1 0%!important}
#dialog.cc-r40-settings-dialog .cc-r40-status button{appearance:none!important;border:0!important;background:transparent!important;
 color:#8de8e6!important;font:700 12px system-ui,sans-serif!important;padding:5px!important}
#dialog.cc-r40-settings-dialog .cc-r40-search-label{display:block!important;color:#91b9c3!important;font:500 11px system-ui,sans-serif!important;margin:11px 0 5px!important}
#dialog.cc-r40-settings-dialog #ccR40SettingsSearch{display:block!important;box-sizing:border-box!important;width:100%!important;
 min-width:0!important;height:42px!important;padding:0 12px!important;border-radius:11px!important;
 border:1px solid rgba(112,184,201,.34)!important;background:rgba(6,26,41,.85)!important;
 color:#eeffff!important;font:14px system-ui,sans-serif!important;outline:0!important}
#dialog.cc-r40-settings-dialog #ccR40SettingsSearch:focus{border-color:#6bd6dc!important}
#dialog.cc-r40-settings-dialog .cc-r40-settings-group{margin:14px 0 0!important;padding:0!important}
#dialog.cc-r40-settings-dialog .cc-r40-settings-group h4{margin:0 0 7px 7px!important;
 color:#78b6c5!important;font:700 10px system-ui,sans-serif!important;letter-spacing:1.4px}
#dialog.cc-r40-settings-dialog .cc-r40-settings-link{display:flex!important;align-items:center!important;text-align:left!important;
 box-sizing:border-box!important;gap:12px!important;width:100%!important;min-width:0!important;min-height:60px!important;
 padding:10px 12px!important;margin:0 0 5px!important;border-radius:12px!important;
 border:1px solid rgba(105,163,183,.19)!important;background:rgba(8,35,51,.89)!important;
 color:#e9ffff!important;box-shadow:none!important;appearance:none!important}
#dialog.cc-r40-settings-dialog .cc-r40-settings-link[hidden],#dialog.cc-r40-settings-dialog .cc-r40-settings-group[hidden]{display:none!important}
#dialog.cc-r40-settings-dialog .cc-r40-settings-link:active{background:rgba(29,87,106,.95)!important}
#dialog.cc-r40-settings-dialog .cc-r40-settings-link-icon{flex:0 0 33px!important;width:33px!important;height:33px!important;
 border-radius:10px!important;background:rgba(44,115,139,.22)!important;color:#8bdfe2!important;display:grid!important;place-items:center!important}
#dialog.cc-r40-settings-dialog .cc-r40-settings-link-icon svg{width:19px!important;height:19px!important}
#dialog.cc-r40-settings-dialog .cc-r40-settings-copy{display:flex!important;flex:1 1 0%!important;min-width:0!important;flex-direction:column!important;gap:2px!important}
#dialog.cc-r40-settings-dialog .cc-r40-settings-copy b{font:600 14px/1.3 system-ui,sans-serif!important;color:#eefeff!important}
#dialog.cc-r40-settings-dialog .cc-r40-settings-copy small{font:400 11px/1.3 system-ui,sans-serif!important;color:#96b9c5!important}
#dialog.cc-r40-settings-dialog .cc-r40-settings-arrow{color:#8cbcc7!important;font:300 25px system-ui,sans-serif!important}
/* Detailed settings: all original IDs, buttons and toggles stay visible and usable. */
#dialog.cc-r40-settings-dialog .cc-settings-page:not(.hidden) .cc-settings-card{
 border:0!important;border-bottom:1px solid rgba(105,164,189,.2)!important;border-radius:0!important;
 background:transparent!important;padding:13px 5px 17px!important;margin:0 0 5px!important;box-shadow:none!important}
#dialog.cc-r40-settings-dialog .cc-settings-page:not(.hidden) .cc-settings-card-title{margin:0 0 10px!important;gap:10px!important}
#dialog.cc-r40-settings-dialog .cc-settings-page:not(.hidden) .cc-settings-card-title h3{font:700 16px/1.35 system-ui,sans-serif!important}
#dialog.cc-r40-settings-dialog .cc-settings-page:not(.hidden) label.notify-label{
 display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;
 padding:11px 3px!important;margin:0!important;border-bottom:1px solid rgba(129,188,199,.13)!important;
 font:500 13px/1.45 system-ui,sans-serif!important;cursor:pointer!important}
#dialog.cc-r40-settings-dialog .cc-settings-page:not(.hidden) label.notify-label input[type=checkbox]{
 accent-color:#52c6c6!important;min-width:20px!important;min-height:20px!important;flex:0 0 20px!important}
#dialog.cc-r40-settings-dialog .cc-settings-page:not(.hidden) button.plain-btn{
 appearance:none!important;border-radius:10px!important;min-height:42px!important;
 margin:4px 3px 7px 0!important;padding:10px 12px!important;
 background:rgba(19,72,89,.62)!important;border:1px solid rgba(101,191,199,.28)!important;
 color:#ecffff!important;box-shadow:none!important;font:600 13px/1.3 system-ui,sans-serif!important}
#dialog.cc-r40-settings-dialog .cc-settings-page:not(.hidden) button.danger-btn{
 background:rgba(100,41,58,.25)!important;border-color:rgba(208,108,125,.35)!important;color:#ffdcdf!important}
#dialog.cc-r40-settings-dialog .cc-settings-page:not(.hidden) input.field,
#dialog.cc-r40-settings-dialog .cc-settings-page:not(.hidden) select.field{
 box-sizing:border-box!important;max-width:100%!important;min-height:42px!important;
 background:#0a2738!important;border-radius:10px!important;border:1px solid rgba(114,181,197,.35)!important;
 color:#ecffff!important;padding:9px 11px!important}
@media(max-width:600px){
 #dialog.cc-r40-settings-dialog .cc-settings-layout{display:block!important}
 #dialog.cc-r40-settings-dialog .cc-settings-pages{display:block!important}
}

/* R40 WebView fallback when CSSOM inline sizing is unavailable: authoritative row classes. */
html body #app #active .composer textarea#input.cc-r37-rows-1{field-sizing:fixed!important;height:40px!important;min-height:40px!important;max-height:40px!important;}
html body #app #active .composer textarea#input.cc-r37-rows-2{field-sizing:fixed!important;height:64px!important;min-height:64px!important;max-height:64px!important;}
html body #app #active .composer textarea#input.cc-r37-rows-3{field-sizing:fixed!important;height:88px!important;min-height:88px!important;max-height:88px!important;}
html body #app #active .composer textarea#input.cc-r37-rows-4{field-sizing:fixed!important;height:112px!important;min-height:112px!important;max-height:112px!important;}
html body #app #active .composer textarea#input.cc-r37-rows-5{field-sizing:fixed!important;height:136px!important;min-height:136px!important;max-height:136px!important;}
html body #app #active .composer textarea#input.cc-r37-rows-6{field-sizing:fixed!important;height:160px!important;min-height:160px!important;max-height:160px!important;}

/* ================================================================
   CheburChat R42 ORBIT FULLSCREEN BLUE
   This is a dedicated SETTINGS SCREEN, not a repaint of R40 dialog.
   Scope: #dialog.cc-r42-settings-dialog only. Chat composer untouched.
   ================================================================ */
#dialog.cc-r42-settings-dialog[open]{
 box-sizing:border-box!important;display:block!important;position:fixed!important;
 inset:0!important;top:0!important;left:0!important;right:0!important;bottom:0!important;
 margin:0!important;padding:0!important;width:100%!important;height:100vh!important;height:100dvh!important;
 max-width:none!important;max-height:none!important;border:0!important;border-radius:0!important;
 background:#06152d!important;color:#f4f8ff!important;box-shadow:none!important;
 overflow:hidden!important;transform:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
#dialog.cc-r42-settings-dialog::backdrop{background:#020917!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
#dialog.cc-r42-settings-dialog>.dialog-head{display:none!important}
#dialog.cc-r42-settings-dialog #dialogBody{
 box-sizing:border-box!important;display:block!important;padding:0!important;margin:0!important;
 height:100%!important;max-height:none!important;min-height:0!important;width:100%!important;max-width:100%!important;
 overflow:hidden!important;background:transparent!important;border:0!important;
}
#dialog.cc-r42-settings-dialog .cc-r42-root{
 position:relative!important;isolation:isolate!important;box-sizing:border-box!important;
 width:100%!important;height:100%!important;max-height:100%!important;min-height:0!important;
 display:flex!important;flex-direction:column!important;overflow:hidden!important;
 color:#f2f7ff!important;font-family:system-ui,-apple-system,"Segoe UI",sans-serif!important;
 background:
  radial-gradient(circle at 88% 19%,rgba(18,105,240,.25),transparent 37%),
  radial-gradient(circle at 18% 70%,rgba(22,96,218,.18),transparent 36%),
  linear-gradient(162deg,#061025 0%,#092753 51%,#05152e 100%)!important;
}
/* Subtle stars and blue orbit are lightweight CSS, not a large bitmap. */
#dialog.cc-r42-settings-dialog .cc-r42-root::before{
 content:"";position:absolute;inset:0;pointer-events:none;z-index:-1;opacity:.53;
 background-image:
  radial-gradient(1.4px 1.4px at 7% 16%,#9cdbff 90%,transparent),
  radial-gradient(1px 1px at 29% 39%,#9dceff 90%,transparent),
  radial-gradient(1.5px 1.5px at 83% 12%,#90caff 90%,transparent),
  radial-gradient(1px 1px at 78% 57%,#8caffb 90%,transparent),
  radial-gradient(1px 1px at 41% 83%,#9ed8ff 90%,transparent),
  radial-gradient(1px 1px at 92% 86%,#9fb5ff 90%,transparent);
 background-size:390px 580px;
}
#dialog.cc-r42-settings-dialog .cc-r42-root::after{
 content:"";position:absolute;left:-12%;right:-12%;bottom:-260px;height:340px;
 border-radius:50% 50% 0 0;border-top:1px solid rgba(78,156,255,.38);
 background:radial-gradient(ellipse at 49% 12%,rgba(34,114,244,.36),transparent 70%);
 pointer-events:none;z-index:-1;
}
#dialog.cc-r42-settings-dialog .cc-r42-toolbar{
 box-sizing:border-box!important;display:flex!important;align-items:center!important;flex:0 0 auto!important;
 width:100%!important;min-height:72px!important;padding:calc(10px + env(safe-area-inset-top,0px)) max(16px,env(safe-area-inset-right,0px)) 10px max(16px,env(safe-area-inset-left,0px))!important;
 background:linear-gradient(180deg,rgba(2,12,34,.94),rgba(4,21,49,.85))!important;
 border:0!important;border-bottom:1px solid rgba(99,162,255,.18)!important;
 backdrop-filter:blur(10px)!important;-webkit-backdrop-filter:blur(10px)!important;
}
#dialog.cc-r42-settings-dialog .cc-r42-title{
 margin:0!important;padding:0!important;font:750 24px/1.15 system-ui,sans-serif!important;
 letter-spacing:-.55px!important;color:#f7faff!important;flex:0 1 auto!important;white-space:nowrap!important;
 overflow:hidden!important;text-overflow:ellipsis!important;
}
#dialog.cc-r42-settings-dialog .cc-r42-toolbar-spacer{flex:1 1 auto!important}
#dialog.cc-r42-settings-dialog .cc-r42-back,#dialog.cc-r42-settings-dialog .cc-r42-close{
 appearance:none!important;box-sizing:border-box!important;display:grid!important;place-items:center!important;
 flex:0 0 40px!important;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;
 padding:8px!important;margin:0 10px 0 0!important;border-radius:12px!important;
 border:1px solid rgba(113,172,255,.19)!important;color:#ddebff!important;
 background:rgba(18,58,122,.34)!important;box-shadow:none!important;cursor:pointer!important;
}
#dialog.cc-r42-settings-dialog .cc-r42-close{margin:0 0 0 10px!important}
#dialog.cc-r42-settings-dialog .cc-r42-back[hidden]{display:none!important}
#dialog.cc-r42-settings-dialog .cc-r42-back svg,#dialog.cc-r42-settings-dialog .cc-r42-close svg{
 width:22px!important;height:22px!important;max-width:none!important;
}
#dialog.cc-r42-settings-dialog .cc-r42-back:focus-visible,#dialog.cc-r42-settings-dialog .cc-r42-close:focus-visible,
#dialog.cc-r42-settings-dialog .cc-r42-link:focus-visible,#dialog.cc-r42-settings-dialog .cc-r42-profile:focus-visible{
 outline:2px solid #65bdff!important;outline-offset:2px!important;
}
#dialog.cc-r42-settings-dialog .cc-r42-view{
 flex:1 1 auto!important;min-height:0!important;max-height:100%!important;box-sizing:border-box!important;
 display:block!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain!important;
 padding:0 max(16px,env(safe-area-inset-right,0px)) calc(24px + env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px))!important;
 -webkit-overflow-scrolling:touch!important;scrollbar-width:thin;scrollbar-color:#2c5d9a transparent;
}
#dialog.cc-r42-settings-dialog .cc-r42-screen{box-sizing:border-box!important;max-width:680px!important;margin:0 auto!important;min-width:0!important;width:100%!important}
#dialog.cc-r42-settings-dialog .settings-nav{display:none!important}
#dialog.cc-r42-settings-dialog .cc-settings-pages,#dialog.cc-r42-settings-dialog .cc-settings-layout{
 display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;
 border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;margin:0!important;
}
#dialog.cc-r42-settings-dialog .cc-settings-page.hidden,#dialog.cc-r42-settings-dialog .cc-settings-page[hidden]{display:none!important}
#dialog.cc-r42-settings-dialog .cc-settings-page:not(.hidden){display:block!important;max-width:100%!important;min-width:0!important;width:100%!important;
 background:transparent!important;box-shadow:none!important;filter:none!important;padding:0!important;margin:0!important}
#dialog.cc-r42-settings-dialog .cc-r42-intro{margin:22px 0 18px!important;padding:0 3px!important;color:#edf5ff!important}
#dialog.cc-r42-settings-dialog .cc-r42-eyebrow{display:block!important;color:#6eaeff!important;font:750 10px/1.4 system-ui,sans-serif!important;letter-spacing:2.1px!important;margin:0 0 6px!important}
#dialog.cc-r42-settings-dialog .cc-r42-intro h3{font:800 26px/1.12 system-ui,sans-serif!important;letter-spacing:-.6px!important;margin:0 0 4px!important;color:#fff!important}
#dialog.cc-r42-settings-dialog .cc-r42-intro p{font:400 13px/1.45 system-ui,sans-serif!important;color:#9db8dd!important;margin:0!important}
#dialog.cc-r42-settings-dialog .cc-r42-search{
 box-sizing:border-box!important;display:flex!important;align-items:center!important;gap:11px!important;width:100%!important;height:48px!important;
 border-radius:15px!important;border:1px solid rgba(80,147,240,.34)!important;
 background:rgba(18,48,97,.83)!important;padding:0 14px!important;margin:0 0 14px!important;
 box-shadow:inset 0 1px 0 rgba(151,204,255,.07)!important;color:#b1dcff!important;
}
#dialog.cc-r42-settings-dialog .cc-r42-search svg{width:21px!important;height:21px!important;flex:0 0 21px!important}
#dialog.cc-r42-settings-dialog .cc-r42-search input{
 display:block!important;flex:1 1 auto!important;min-width:0!important;height:100%!important;padding:0!important;
 border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;color:#fff!important;
 font:450 15px/1.35 system-ui,sans-serif!important;appearance:none!important;-webkit-appearance:none!important;
}
#dialog.cc-r42-settings-dialog .cc-r42-search input::placeholder{color:#acc4e2!important;opacity:1}
#dialog.cc-r42-settings-dialog .cc-r42-search:focus-within{border-color:rgba(92,185,255,.88)!important;box-shadow:0 0 0 2px rgba(43,131,243,.13)!important}
#dialog.cc-r42-settings-dialog .cc-r42-profile{
 position:relative!important;isolation:isolate!important;display:flex!important;align-items:center!important;gap:13px!important;
 box-sizing:border-box!important;overflow:hidden!important;width:100%!important;min-height:104px!important;padding:13px 15px!important;
 border-radius:19px!important;border:1px solid rgba(121,173,255,.55)!important;
 background:radial-gradient(ellipse at 94% 110%,rgba(17,140,255,.64),transparent 62%),linear-gradient(125deg,#162b5b,#082d78 78%,#05326e)!important;
 box-shadow:inset 0 1px 0 rgba(207,228,255,.16),0 8px 27px rgba(2,11,42,.24)!important;
 color:#fff!important;text-align:left!important;margin:0 0 17px!important;appearance:none!important;cursor:pointer!important;
}
#dialog.cc-r42-settings-dialog .cc-r42-profile::after{content:"";position:absolute;left:-12%;bottom:-38px;width:130%;height:80px;
 border-radius:50%;border-top:2px solid rgba(79,188,255,.76);box-shadow:0 -2px 16px rgba(51,157,255,.32);
 transform:rotate(-7deg);pointer-events:none;z-index:-1}
#dialog.cc-r42-settings-dialog .cc-r42-profile[hidden]{display:none!important}
#dialog.cc-r42-settings-dialog .cc-r42-avatar{
 display:grid!important;place-items:center!important;flex:0 0 65px!important;width:65px!important;height:65px!important;
 overflow:hidden!important;border-radius:50%!important;border:2px solid #79b5ff!important;
 background:linear-gradient(135deg,#1a69b0,#123568)!important;box-shadow:0 0 0 3px rgba(25,129,255,.22)!important;color:#f4fcff!important;
}
#dialog.cc-r42-settings-dialog .cc-r42-avatar img,#dialog.cc-r42-settings-dialog .cc-r42-avatar video{width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;border-radius:50%!important}
#dialog.cc-r42-settings-dialog .cc-r42-profile-text{display:flex!important;flex-direction:column!important;gap:5px!important;flex:1 1 auto!important;min-width:0!important;overflow:hidden!important}
#dialog.cc-r42-settings-dialog .cc-r42-profile-text b{font:750 17px/1.2 system-ui,sans-serif!important;color:#fff!important}
#dialog.cc-r42-settings-dialog .cc-r42-profile-text small{font:450 12px/1.35 system-ui,sans-serif!important;color:#c5dafa!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
#dialog.cc-r42-settings-dialog .cc-r42-chevron{width:21px!important;height:21px!important;flex:0 0 21px!important;color:#b7dcff!important}
#dialog.cc-r42-settings-dialog .cc-r42-section-label{font:750 10px/1.3 system-ui,sans-serif!important;letter-spacing:1.7px!important;color:#7dafff!important;margin:0 0 9px 5px!important}
#dialog.cc-r42-settings-dialog .cc-r42-links{display:flex!important;flex-direction:column!important;gap:6px!important;box-sizing:border-box!important;margin:0!important;padding:0!important}
#dialog.cc-r42-settings-dialog .cc-r42-link{
 display:flex!important;align-items:center!important;gap:13px!important;box-sizing:border-box!important;width:100%!important;
 min-height:59px!important;margin:0!important;padding:9px 13px!important;border-radius:14px!important;appearance:none!important;
 border:1px solid rgba(97,161,247,.33)!important;background:linear-gradient(110deg,rgba(18,45,94,.93),rgba(13,39,87,.93))!important;
 color:#ecf4ff!important;text-align:left!important;box-shadow:inset 0 1px 0 rgba(128,194,255,.07)!important;cursor:pointer!important;
}
#dialog.cc-r42-settings-dialog .cc-r42-link[hidden]{display:none!important}
#dialog.cc-r42-settings-dialog .cc-r42-link-icon{
 display:grid!important;place-items:center!important;flex:0 0 33px!important;width:33px!important;height:33px!important;
 color:#79d4ff!important;border-radius:9px!important;background:rgba(20,88,173,.3)!important;
}
#dialog.cc-r42-settings-dialog .cc-r42-link-icon svg{width:23px!important;height:23px!important;max-width:none!important}
#dialog.cc-r42-settings-dialog .cc-r42-link-label{display:flex!important;flex:1 1 auto!important;min-width:0!important;flex-direction:column!important;gap:2px!important}
#dialog.cc-r42-settings-dialog .cc-r42-link-label b{font:660 14px/1.3 system-ui,sans-serif!important;color:#f5f8ff!important}
#dialog.cc-r42-settings-dialog .cc-r42-link-label small{font:440 10.5px/1.3 system-ui,sans-serif!important;color:#a9c2e6!important}
#dialog.cc-r42-settings-dialog .cc-r42-link:active,#dialog.cc-r42-settings-dialog .cc-r42-profile:active{filter:brightness(1.24)!important}
#dialog.cc-r42-settings-dialog .cc-r42-foot{text-align:center!important;padding:22px 0 8px!important;color:#688cc7!important;font:700 10px system-ui,sans-serif!important;letter-spacing:2px!important}
#dialog.cc-r42-settings-dialog .cc-r42-foot span{color:#68b9ff!important}
#dialog.cc-r42-settings-dialog .cc-r42-empty{padding:14px!important;text-align:center!important;color:#b8ccec!important;font:13px/1.4 system-ui,sans-serif!important}
#dialog.cc-r42-settings-dialog .cc-r42-empty[hidden]{display:none!important}
/* Detail pages: original controls stay mounted and actionable. */
#dialog.cc-r42-settings-dialog .cc-r42-detail{padding:0 0 24px!important}
#dialog.cc-r42-settings-dialog .cc-r42-detail-hero{
 display:flex!important;align-items:center!important;gap:15px!important;margin:16px 0 16px!important;
 box-sizing:border-box!important;min-height:100px!important;padding:17px!important;
 border-radius:18px!important;border:1px solid rgba(89,156,255,.31)!important;
 background:radial-gradient(ellipse at 100% 130%,rgba(21,118,255,.35),transparent 65%),linear-gradient(120deg,rgba(11,36,84,.96),rgba(8,43,104,.94))!important;
}
#dialog.cc-r42-settings-dialog .cc-r42-detail-icon{display:grid!important;place-items:center!important;flex:0 0 67px!important;width:67px!important;height:67px!important;
 border-radius:18px!important;border:1px solid rgba(73,169,255,.58)!important;background:linear-gradient(150deg,rgba(12,130,255,.45),rgba(15,49,131,.3))!important;
 box-shadow:0 0 23px rgba(31,130,255,.21)!important;color:#8be3ff!important}
#dialog.cc-r42-settings-dialog .cc-r42-detail-icon svg{width:37px!important;height:37px!important;max-width:none!important}
#dialog.cc-r42-settings-dialog .cc-r42-detail-summary{color:#cfdefb!important;font:520 14px/1.46 system-ui,sans-serif!important}
#dialog.cc-r42-settings-dialog .cc-settings-page-heading{display:none!important}
#dialog.cc-r42-settings-dialog .cc-r42-detail .cc-settings-card,
#dialog.cc-r42-settings-dialog .cc-r42-detail .block.cc-settings-card{
 box-sizing:border-box!important;display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;
 padding:16px!important;margin:0 0 10px!important;border-radius:16px!important;
 background:linear-gradient(125deg,rgba(11,35,80,.96),rgba(12,40,89,.94))!important;
 border:1px solid rgba(92,151,237,.3)!important;box-shadow:inset 0 1px 0 rgba(106,173,255,.06)!important;
 color:#e9f2ff!important;overflow-wrap:anywhere!important;
}
#dialog.cc-r42-settings-dialog .cc-r42-detail .cc-settings-card-title{margin:0 0 11px!important;display:flex!important;align-items:center!important;gap:11px!important}
#dialog.cc-r42-settings-dialog .cc-r42-detail .cc-settings-card-title h3,
#dialog.cc-r42-settings-dialog .cc-r42-detail .cc-settings-card>h3{color:#f5faff!important;font:730 16px/1.35 system-ui,sans-serif!important;margin:0 0 10px!important}
#dialog.cc-r42-settings-dialog .cc-r42-detail .cc-settings-card-icon{color:#78caff!important;display:grid!important;place-items:center!important;flex:0 0 32px!important;width:32px!important;height:32px!important;
 background:rgba(40,92,177,.24)!important;border-radius:9px!important}
#dialog.cc-r42-settings-dialog .cc-r42-detail .cc-settings-card-icon svg{width:19px!important;height:19px!important}
#dialog.cc-r42-settings-dialog .cc-r42-detail .helper,#dialog.cc-r42-settings-dialog .cc-r42-detail small{color:#b4c8e9!important}
#dialog.cc-r42-settings-dialog .cc-r42-detail .cc-settings-card label{color:#dce8ff!important;font-size:13px!important}
#dialog.cc-r42-settings-dialog .cc-r42-detail .cc-settings-card label.notify-label{display:flex!important;align-items:center!important;gap:12px!important;justify-content:space-between!important;
 padding:11px 0!important;margin:0!important;border-bottom:1px solid rgba(89,144,217,.17)!important;cursor:pointer!important}
#dialog.cc-r42-settings-dialog .cc-r42-detail .cc-settings-card input[type="checkbox"]{accent-color:#3696ff!important;min-width:20px!important;min-height:20px!important;flex-shrink:0!important}
#dialog.cc-r42-settings-dialog .cc-r42-detail .cc-settings-card :is(input.field,select.field,textarea.field),
#dialog.cc-r42-settings-dialog .cc-r42-detail .cc-settings-card input:not([type=checkbox]):not([type=file]),
#dialog.cc-r42-settings-dialog .cc-r42-detail .cc-settings-card select,
#dialog.cc-r42-settings-dialog .cc-r42-detail .cc-settings-card textarea{
 box-sizing:border-box!important;min-width:0!important;max-width:100%!important;min-height:42px!important;
 background:#071c42!important;color:#eff6ff!important;border-radius:10px!important;
 border:1px solid rgba(98,155,238,.4)!important;box-shadow:none!important;font-size:16px!important;
}
#dialog.cc-r42-settings-dialog .cc-r42-detail .cc-settings-card button.plain-btn,
#dialog.cc-r42-settings-dialog .cc-r42-detail .cc-settings-card button.cc-settings-action{
 box-sizing:border-box!important;min-height:41px!important;max-width:100%!important;white-space:normal!important;
 border-radius:10px!important;border:1px solid rgba(99,164,255,.38)!important;
 background:rgba(28,85,176,.28)!important;color:#eef6ff!important;
 padding:9px 12px!important;margin:5px 5px 5px 0!important;box-shadow:none!important;font-size:13px!important;
}
#dialog.cc-r42-settings-dialog .cc-r42-detail .cc-settings-card button.danger-btn{background:rgba(146,41,68,.25)!important;color:#ffdbe1!important;border-color:rgba(234,107,138,.42)!important}
#dialog.cc-r42-settings-dialog .cc-r42-detail .cc-settings-fold{border:1px solid rgba(101,161,241,.3)!important;background:rgba(9,28,68,.83)!important;border-radius:12px!important;overflow:hidden!important}
#dialog.cc-r42-settings-dialog .cc-r42-detail .cc-settings-fold summary{color:#eaf3ff!important;min-height:40px!important;padding:11px!important}
#dialog.cc-r42-settings-dialog .cc-r42-detail .cc-settings-card a{color:#83baff!important}
#dialog.cc-r42-settings-dialog .cc-r42-detail button:disabled{opacity:.6!important;cursor:not-allowed!important}
#dialog.cc-r42-settings-dialog .cc-r42-detail :focus-visible{outline:2px solid #5aaaff!important;outline-offset:2px!important}
/* Avoid keyboard-induced jumpiness in sensitive credential forms. */
#dialog.cc-r42-settings-dialog.cc-r11-email-editing .cc-r42-root,
#dialog.cc-r42-settings-dialog.cc-r11-email-editing .cc-r42-detail .cc-settings-card{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;transition:none!important}
@media(max-width:380px){
 #dialog.cc-r42-settings-dialog .cc-r42-title{font-size:22px!important}
 #dialog.cc-r42-settings-dialog .cc-r42-intro h3{font-size:24px!important}
 #dialog.cc-r42-settings-dialog .cc-r42-link{gap:10px!important;padding:9px 10px!important}
 #dialog.cc-r42-settings-dialog .cc-r42-profile{gap:10px!important;padding:11px!important}
}
@media(prefers-reduced-motion:reduce){#dialog.cc-r42-settings-dialog *{animation:none!important;transition:none!important}}

/* R42 FIX7: scoped external delivery of FIX6 settings-only CSS for WebView cached-HTML fallback.
   All pre-existing composer and other style rules above remain byte-for-byte unchanged. */
/* R42 FIX6 - one actual native dialog, one header, one scroll surface.
   This is the last rule block; legacy R35/R40/R42 wrappers are geometry-neutral.
   App-wide composer styles and other dialogs are not touched. */
html body #dialog#dialog.cc-r42-settings-dialog[open]{
 display:block!important;position:fixed!important;inset:0!important;box-sizing:border-box!important;
 width:100vw!important;height:100vh!important;height:100dvh!important;
 min-width:0!important;max-width:none!important;min-height:0!important;max-height:none!important;
 margin:0!important;padding:0!important;overflow:hidden!important;border:0!important;border-radius:0!important;
 box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
 background:#07172f!important;background-image:none!important;transform:none!important;
}
html body #dialog#dialog.cc-r42-settings-dialog>.dialog-head{display:none!important}
html body #dialog#dialog.cc-r42-settings-dialog #dialogBody{
 box-sizing:border-box!important;display:block!important;width:100%!important;height:100%!important;
 min-height:0!important;max-height:none!important;overflow:hidden!important;
 padding:0!important;margin:0!important;background:#07172f!important;background-image:none!important;
 box-shadow:none!important;transform:none!important;
}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-root{
 display:flex!important;flex-direction:column!important;box-sizing:border-box!important;
 width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;
 position:relative!important;margin:0!important;padding:0!important;overflow:hidden!important;
 background:#07172f!important;background-image:none!important;box-shadow:none!important;
 transform:none!important;isolation:auto!important;
}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-root::before,
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-root::after,
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-view::before,
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-view::after,
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-screen::before,
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-screen::after{display:none!important;content:none!important}
/* Toolbar is a SIBLING of the scroll surface, not a sticky child of it. */
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-toolbar{
 box-sizing:border-box!important;position:relative!important;display:flex!important;align-items:center!important;
 flex:0 0 55px!important;width:100%!important;height:55px!important;min-height:55px!important;
 padding:4px 16px!important;margin:0!important;gap:10px!important;
 background:#091c3b!important;background-image:none!important;border:0!important;
 border-bottom:1px solid #214373!important;border-radius:0!important;
 box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-title{
 position:static!important;display:block!important;clip:auto!important;clip-path:none!important;
 width:auto!important;height:auto!important;min-width:0!important;opacity:1!important;visibility:visible!important;
 margin:0!important;padding:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
 color:#eaf3ff!important;font:720 19px/1.25 system-ui,sans-serif!important;
}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-toolbar-spacer{flex:1 1 auto!important;min-width:0!important}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-toolbar :is(.cc-r42-back,.cc-r42-close){
 position:static!important;display:grid!important;place-items:center!important;flex:0 0 38px!important;
 width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;
 margin:0!important;padding:0!important;border-radius:11px!important;border:1px solid #31578a!important;
 background:#112b55!important;color:#e0efff!important;box-shadow:none!important;
}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-back[hidden]{display:none!important}
/* The only scrolling container. Old nested layouts have no clipping. */
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-view{
 display:flex!important;flex-direction:column!important;flex:1 1 auto!important;
 position:relative!important;box-sizing:border-box!important;width:100%!important;
 height:auto!important;min-height:0!important;max-height:none!important;
 margin:0!important;padding:0!important;overflow:hidden!important;
 background:#07172f!important;background-image:none!important;transform:none!important;
}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-screen{
 display:block!important;flex:1 1 auto!important;align-self:center!important;
 position:relative!important;box-sizing:border-box!important;width:100%!important;max-width:680px!important;
 height:auto!important;min-height:0!important;max-height:none!important;
 overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior-y:contain!important;
 -webkit-overflow-scrolling:touch!important;
 margin:0!important;padding:16px 16px calc(30px + env(safe-area-inset-bottom,0px))!important;
 background:transparent!important;background-image:none!important;transform:none!important;
}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r46-unbound-layout,
html body #dialog#dialog.cc-r42-settings-dialog .cc-r46-unbound-pages:not([hidden]),
html body #dialog#dialog.cc-r42-settings-dialog .cc-settings-page:not([hidden]):not(.hidden){
 display:flow-root!important;position:static!important;float:none!important;clear:both!important;
 box-sizing:border-box!important;width:100%!important;max-width:100%!important;
 height:auto!important;min-height:0!important;max-height:none!important;
 margin:0!important;padding:0!important;overflow:visible!important;
 background:transparent!important;background-image:none!important;
 transform:none!important;contain:none!important;content-visibility:visible!important;
}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r46-unbound-pages[hidden],
html body #dialog#dialog.cc-r42-settings-dialog .cc-settings-page[hidden],
html body #dialog#dialog.cc-r42-settings-dialog .cc-settings-page.hidden,
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-home[hidden]{display:none!important}
html body #dialog#dialog.cc-r42-settings-dialog .settings-nav{display:none!important}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-home:not([hidden]){
 display:block!important;position:static!important;box-sizing:border-box!important;
 width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;
 margin:0!important;padding:0!important;overflow:visible!important;transform:none!important;
}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-intro,
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-detail-hero,
html body #dialog#dialog.cc-r42-settings-dialog .cc-settings-page-heading{display:none!important}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-search{
 display:flex!important;align-items:center!important;min-height:46px!important;height:46px!important;
 box-sizing:border-box!important;margin:0 0 14px!important;padding:0 12px!important;
 border:1px solid #2c5287!important;border-radius:13px!important;
 background:#112d56!important;box-shadow:none!important;
}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-search input{font-size:15px!important;min-width:0!important}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-profile{
 position:relative!important;display:flex!important;align-items:center!important;gap:12px!important;
 min-height:80px!important;height:auto!important;margin:0 0 20px!important;padding:11px 13px!important;
 border:1px solid #345f9b!important;border-radius:15px!important;
 background:linear-gradient(120deg,#123069,#0e4287)!important;box-shadow:none!important;transform:none!important;
}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-profile::before,
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-profile::after{content:none!important;display:none!important}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-profile .cc-r42-avatar{
 flex:0 0 52px!important;width:52px!important;height:52px!important;border-radius:50%!important;
}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-section-label{
 color:#84baff!important;font-size:11px!important;letter-spacing:1.5px!important;
 margin:0 0 9px 3px!important;
}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-links{display:flex!important;flex-direction:column!important;gap:8px!important;margin:0!important;padding:0!important;overflow:visible!important}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-links>.cc-r42-link:not([hidden]){
 position:relative!important;display:flex!important;align-items:center!important;
 box-sizing:border-box!important;width:100%!important;height:auto!important;min-height:64px!important;
 margin:0!important;padding:10px 12px!important;border-radius:13px!important;border:1px solid #31588e!important;
 background:#102a55!important;background-image:none!important;box-shadow:none!important;transform:none!important;
}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-link::before,
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-link::after{content:none!important;display:none!important}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-link[hidden]{display:none!important}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-foot{display:none!important}
/* Detail pages: no inherited half-height, absolute-positioned, masked or clipped cards. */
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-detail .cc-settings-card,
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-detail .block.cc-settings-card{
 display:flow-root!important;position:relative!important;float:none!important;clear:both!important;
 box-sizing:border-box!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;
 margin:0 0 12px!important;padding:14px!important;
 overflow:visible!important;contain:none!important;transform:none!important;filter:none!important;
 border:1px solid #2c5185!important;border-radius:14px!important;
 background:#0f2c59!important;background-image:none!important;box-shadow:none!important;
}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-detail .cc-settings-card :is(input.field,select.field,textarea.field),
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-detail .cc-settings-card input:not([type=checkbox]):not([type=file]),
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-detail .cc-settings-card select,
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-detail .cc-settings-card textarea{
 box-sizing:border-box!important;min-width:0!important;max-width:100%!important;
 background:#081e42!important;color:#f4f8ff!important;border-color:#365b8f!important;
}
/* Normalize the old form rows that originally relied on two-column modal grid. */
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-detail .cc-settings-card label:not(.notify-label){
 display:block!important;position:static!important;float:none!important;
 width:auto!important;max-width:100%!important;margin:11px 0 6px!important;
 font-size:13px!important;line-height:1.35!important;color:#d9e9ff!important;
}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-detail .cc-settings-card :is(select,input.field,textarea.field){
 display:block!important;position:static!important;float:none!important;
 box-sizing:border-box!important;width:100%!important;max-width:100%!important;
 min-height:42px!important;margin:0 0 10px!important;padding:8px 11px!important;
 font-size:16px!important;border-radius:10px!important;
}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-detail .cc-settings-card input[type=checkbox],
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-detail .cc-settings-card input[type=file]{
 display:inline-block!important;width:auto!important;min-height:0!important;margin:0 7px 0 0!important;padding:0!important;
}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-detail .cc-settings-card .notify-label{
 display:flex!important;align-items:center!important;gap:9px!important;flex-wrap:wrap!important;
 width:100%!important;min-height:40px!important;margin:6px 0!important;
}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-detail .cc-settings-card .row,
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-detail .cc-settings-card .form-row{
 position:static!important;display:flex!important;flex-wrap:wrap!important;
 gap:8px!important;align-items:center!important;width:100%!important;max-width:100%!important;
}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-detail .cc-settings-card .form-row{
 display:block!important;
}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-detail .cc-settings-card .row>.field{
 flex:1 1 140px!important;min-width:0!important;max-width:100%!important;
}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-detail .cc-settings-card :is(button.plain-btn,button.cc-settings-action){
 box-sizing:border-box!important;max-width:100%!important;min-height:41px!important;
 height:auto!important;white-space:normal!important;overflow-wrap:anywhere!important;
 margin:5px 5px 5px 0!important;padding:9px 12px!important;border-radius:10px!important;
}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-bug-panel{position:relative!important;height:auto!important;max-height:none!important;overflow:visible!important}
@media(max-width:360px){html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-screen{padding-left:12px!important;padding-right:12px!important}}


/* CHEBURCHAT R43 | APPROVED ORBIT BLUE GLASS | 2026-11-19
   Only #dialog.cc-r42-settings-dialog: keep FIX7 opener, geometry, all handlers and E2EE.
   These are visual overrides. Older inline CSS can appear later (cached HTML), so use
   the same high-specificity external CSS selector proven in FIX7. */
html body #dialog#dialog.cc-r42-settings-dialog[open]{
  background:#040d24!important; background-image:radial-gradient(ellipse 90% 65% at 94% 10%,rgba(21,93,209,.24),transparent 72%),linear-gradient(145deg,#030b20,#061330 65%,#081b38)!important;
  color:#eaf4ff!important;
}
html body #dialog#dialog.cc-r42-settings-dialog #dialogBody,
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-view,
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-screen{
  background:transparent!important;background-image:none!important;
}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-root{
  background-color:#041027!important;
  background-image:
    radial-gradient(1px 1px at 9% 23%,rgba(194,224,255,.55),transparent 80%),
    radial-gradient(1px 1px at 89% 38%,rgba(180,218,255,.38),transparent 80%),
    radial-gradient(1px 1px at 72% 71%,rgba(182,219,255,.27),transparent 80%),
    radial-gradient(ellipse 75% 50% at 105% 12%,rgba(28,95,215,.29),transparent 72%),
    radial-gradient(ellipse 90% 48% at -30% 95%,rgba(9,91,201,.21),transparent 72%),
    linear-gradient(160deg,#061129 0%,#081632 54%,#041027 100%)!important;
}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-toolbar{
  min-height:54px!important;height:54px!important;flex-basis:54px!important;
  background:linear-gradient(180deg,rgba(5,15,38,.87),rgba(6,19,47,.68))!important;
  background-image:linear-gradient(180deg,rgba(5,15,38,.87),rgba(6,19,47,.68))!important;
  border-bottom:1px solid rgba(97,157,245,.21)!important;
  box-shadow:0 4px 19px rgba(0,0,0,.12)!important;
  backdrop-filter:blur(16px) saturate(145%)!important;
  -webkit-backdrop-filter:blur(16px) saturate(145%)!important;
  padding:4px 14px!important;
}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-title{
  font:750 20px/1.2 system-ui,sans-serif!important;letter-spacing:-.45px!important;color:#f6faff!important;
}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-toolbar :is(.cc-r42-back,.cc-r42-close){
  flex:0 0 34px!important;width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;
  border-radius:11px!important;border:1px solid rgba(114,172,255,.3)!important;
  background:linear-gradient(145deg,rgba(31,78,145,.36),rgba(8,30,69,.52))!important;
  box-shadow:inset 0 1px 0 rgba(219,237,255,.10)!important;
}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-screen{
  padding:14px 16px calc(28px + env(safe-area-inset-bottom,0px))!important;
  scrollbar-width:thin!important;scrollbar-color:rgba(72,133,223,.35) transparent!important;
}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-home:not([hidden]){
  margin:0!important;padding:0!important;
}
/* Main screen compact approved list. The search remains unfocused until tapped. */
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-search{
  height:42px!important;min-height:42px!important;margin:0 0 11px!important;padding:0 13px!important;
  border-radius:14px!important;border:1px solid rgba(105,171,254,.34)!important;
  background:linear-gradient(110deg,rgba(30,86,153,.36),rgba(14,47,101,.25))!important;
  background-image:linear-gradient(110deg,rgba(30,86,153,.36),rgba(14,47,101,.25))!important;
  box-shadow:inset 0 1px 0 rgba(220,238,255,.09),0 6px 18px rgba(0,0,0,.12)!important;
  backdrop-filter:blur(13px) saturate(145%)!important;-webkit-backdrop-filter:blur(13px) saturate(145%)!important;
}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-search svg{
  width:19px!important;height:19px!important;color:#94d6ff!important;
}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-search input{
  font:450 14px/1.2 system-ui,sans-serif!important;color:#f2f8ff!important;
  background:transparent!important;border:0!important;box-shadow:none!important;
}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-search input::placeholder{color:#b6cce9!important;opacity:.95!important}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-search:focus-within{
  border-color:rgba(97,192,255,.84)!important;box-shadow:0 0 0 2px rgba(58,147,255,.15),0 10px 22px rgba(0,0,0,.14)!important;
}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-profile{
  height:auto!important;min-height:70px!important;margin:0 0 11px!important;padding:10px 13px!important;gap:11px!important;
  border-radius:17px!important;border:1px solid rgba(123,182,255,.5)!important;
  background-color:rgba(10,44,99,.46)!important;
  background-image:
    radial-gradient(ellipse 110% 80% at 98% 100%,rgba(0,133,251,.34),transparent 62%),
    linear-gradient(121deg,rgba(33,89,158,.48),rgba(13,42,99,.41) 55%,rgba(13,72,168,.35))!important;
  box-shadow:inset 0 1px 0 rgba(225,240,255,.22),inset 0 -1px 0 rgba(39,118,232,.25),0 9px 24px rgba(0,5,26,.22)!important;
  backdrop-filter:blur(16px) saturate(155%)!important;-webkit-backdrop-filter:blur(16px) saturate(155%)!important;
}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-profile::before,
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-profile::after{display:none!important;content:none!important}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-profile .cc-r42-avatar{
  flex:0 0 49px!important;width:49px!important;height:49px!important;
  border:2px solid rgba(115,204,255,.83)!important;box-shadow:0 0 0 3px rgba(22,113,235,.23),0 0 16px rgba(41,134,255,.28)!important;
}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-profile-text b{font:730 16px/1.16 system-ui,sans-serif!important;color:#fafdff!important}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-profile-text small{font:420 11px/1.25 system-ui,sans-serif!important;color:#b5d4f9!important}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-chevron{color:#c2ddff!important;width:18px!important;height:18px!important;flex:0 0 18px!important}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-section-label{display:none!important}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-links{gap:5px!important}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-links>.cc-r42-link:not([hidden]){
  height:47px!important;min-height:47px!important;max-height:47px!important;
  padding:5px 11px!important;gap:11px!important;border-radius:13px!important;
  border:1px solid rgba(104,174,255,.31)!important;
  background-color:rgba(10,34,75,.42)!important;
  background-image:linear-gradient(105deg,rgba(50,111,175,.28),rgba(6,39,88,.34))!important;
  box-shadow:inset 0 1px 0 rgba(215,236,255,.12),0 3px 12px rgba(0,6,28,.15)!important;
  backdrop-filter:blur(12px) saturate(145%)!important;-webkit-backdrop-filter:blur(12px) saturate(145%)!important;
}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-link-icon{
  width:27px!important;height:27px!important;min-width:27px!important;flex:0 0 27px!important;
  display:grid!important;place-items:center!important;background:transparent!important;
  border:0!important;box-shadow:none!important;color:#8ce5ff!important;
}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-link-icon svg{width:22px!important;height:22px!important}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-link-label b{
  font:620 14px/1.2 system-ui,sans-serif!important;letter-spacing:-.08px!important;color:#f3f8ff!important;
}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-link-label small{display:none!important}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-links>.cc-r42-link:active,
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-profile:active{
  border-color:rgba(100,213,255,.87)!important;background-image:linear-gradient(110deg,rgba(18,123,223,.47),rgba(12,64,145,.46))!important;
  box-shadow:0 0 0 1px rgba(90,184,255,.22),inset 0 0 18px rgba(42,151,255,.15)!important;
}
/* No duplicate section heading or decorative hero. Toolbar title is the only big title. */
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-detail-hero,
html body #dialog#dialog.cc-r42-settings-dialog .cc-settings-page-heading,
html body #dialog#dialog.cc-r42-settings-dialog .cc-settings-hero{display:none!important}
/* Individual detail modules: translucent glass, not giant opaque blue rectangles. */
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-detail .cc-settings-card,
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-detail .block.cc-settings-card{
  display:flow-root!important;position:relative!important;float:none!important;clear:both!important;
  width:100%!important;max-width:100%!important;height:auto!important;max-height:none!important;
  padding:11px 12px!important;margin:0 0 8px!important;
  border:1px solid rgba(104,171,254,.25)!important;border-radius:15px!important;
  background-color:rgba(12,38,82,.30)!important;
  background-image:linear-gradient(145deg,rgba(33,84,146,.29),rgba(8,29,73,.30))!important;
  box-shadow:inset 0 1px 0 rgba(224,240,255,.11),0 7px 19px rgba(0,3,23,.13)!important;
  backdrop-filter:blur(14px) saturate(145%)!important;-webkit-backdrop-filter:blur(14px) saturate(145%)!important;
  overflow:visible!important;
}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-detail .cc-settings-card-title{
  display:flex!important;align-items:center!important;gap:8px!important;margin:0 0 9px!important;
}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-detail .cc-settings-card-title h3,
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-detail .cc-settings-card>h3{
  font:690 14px/1.24 system-ui,sans-serif!important;margin:0!important;color:#f0f7ff!important;
}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-detail .cc-settings-card-icon{
  flex:0 0 27px!important;width:27px!important;height:27px!important;border-radius:9px!important;
  display:grid!important;place-items:center!important;
  background:rgba(20,104,191,.18)!important;color:#80ddff!important;
  border:1px solid rgba(93,181,255,.22)!important;box-shadow:none!important;
}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-detail .cc-settings-card-icon svg{width:17px!important;height:17px!important}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-detail .cc-settings-card .helper,
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-detail .cc-settings-card small{
  color:#abc5e7!important;font-size:11.5px!important;line-height:1.45!important;
}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-detail .cc-settings-card label:not(.notify-label){
  margin:10px 0 5px!important;font:560 12.5px/1.3 system-ui,sans-serif!important;color:#d2e8ff!important;
}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-detail .cc-settings-card :is(select,input.field,textarea.field),
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-detail .cc-settings-card input:not([type=checkbox]):not([type=file]){
  box-sizing:border-box!important;min-height:39px!important;height:auto!important;
  margin:0 0 7px!important;padding:8px 11px!important;border-radius:12px!important;
  color:#eef8ff!important;font:450 14px/1.3 system-ui,sans-serif!important;
  background-color:rgba(5,22,55,.43)!important;
  background-image:linear-gradient(100deg,rgba(24,74,139,.28),rgba(6,24,63,.36))!important;
  border:1px solid rgba(100,162,240,.35)!important;
  box-shadow:inset 0 1px 2px rgba(0,7,32,.16)!important;
}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-detail .cc-settings-card select{appearance:auto!important}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-detail .cc-settings-card .notify-label{
  box-sizing:border-box!important;display:flex!important;align-items:center!important;
  gap:10px!important;min-height:40px!important;width:100%!important;
  border:1px solid rgba(102,169,251,.25)!important;border-radius:12px!important;
  padding:10px 11px!important;margin:8px 0!important;
  background:linear-gradient(115deg,rgba(41,94,163,.30),rgba(16,42,91,.29))!important;
  box-shadow:inset 0 1px 0 rgba(208,230,255,.08)!important;
  font:440 12.5px/1.4 system-ui,sans-serif!important;color:#dceeff!important;
}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-detail .cc-settings-card input[type=checkbox]{
  appearance:auto!important;accent-color:#3b99ff!important;
  flex:0 0 17px!important;width:17px!important;height:17px!important;min-width:17px!important;
  min-height:17px!important;margin:0!important;
}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-detail .cc-settings-card :is(button.plain-btn,button.cc-settings-action){
  min-height:36px!important;padding:8px 11px!important;margin:4px 6px 5px 0!important;
  border:1px solid rgba(98,167,251,.4)!important;border-radius:11px!important;
  background-color:rgba(12,65,127,.40)!important;
  background-image:linear-gradient(130deg,rgba(37,116,194,.40),rgba(10,48,108,.38))!important;
  color:#ecf8ff!important;box-shadow:inset 0 1px 0 rgba(229,241,255,.12)!important;
  font:530 12.5px/1.3 system-ui,sans-serif!important;
}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-detail .cc-settings-card button.danger-btn{
  border-color:rgba(221,112,143,.44)!important;color:#ffd8e4!important;
}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-detail .cc-settings-fold{
  background:rgba(9,30,71,.33)!important;border:1px solid rgba(112,172,246,.23)!important;
}
/* New bug report inherits the same delicate glass language. Its real form/API remains unchanged. */
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-bug-panel,
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-bug-intro,
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-bug form{
  background:linear-gradient(145deg,rgba(30,82,150,.30),rgba(8,35,88,.32))!important;
  border-color:rgba(109,181,255,.30)!important;
  border-radius:15px!important;
  box-shadow:inset 0 1px 0 rgba(232,243,255,.09),0 8px 18px rgba(0,3,25,.12)!important;
  backdrop-filter:blur(12px) saturate(140%)!important;
  -webkit-backdrop-filter:blur(12px) saturate(140%)!important;
}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-bug :is(input,textarea,select){
  background:rgba(5,21,54,.52)!important;border-color:rgba(97,164,242,.38)!important;color:#f2f8ff!important;
  border-radius:12px!important;
}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-bug-primary,
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-bug-history-head button{
  background:linear-gradient(125deg,rgba(43,124,209,.66),rgba(19,69,145,.51))!important;
  border:1px solid rgba(109,198,255,.55)!important;
  box-shadow:inset 0 1px 0 rgba(221,240,255,.16)!important;border-radius:11px!important;
}
@media(max-width:360px){
 html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-screen{padding-left:12px!important;padding-right:12px!important}
 html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-links>.cc-r42-link:not([hidden]){height:46px!important;min-height:46px!important;max-height:46px!important}
}
@media(prefers-reduced-motion:reduce){
 html body #dialog#dialog.cc-r42-settings-dialog *{animation:none!important;transition:none!important}
}
/* One slender blue orbit through the profile glass; never intercepts touches. */
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-profile::after{
  display:block!important;content:""!important;position:absolute!important;pointer-events:none!important;
  width:125%!important;height:52px!important;left:-14%!important;bottom:-47px!important;
  border-top:1.5px solid rgba(104,203,255,.72)!important;border-radius:50%!important;
  transform:rotate(-5deg)!important;box-shadow:0 -2px 8px rgba(46,150,250,.16)!important;
  opacity:.7!important;z-index:0!important;
}
html body #dialog#dialog.cc-r42-settings-dialog .cc-r42-profile > *{position:relative!important;z-index:1!important}

/* CHEBURCHAT R44 | DEEP SAPPHIRE GLASS / REAL SUBPAGES
   Append after verified R43 styles; scoped to the native working settings dialog only.
   Legacy chat/composer CSS remains unchanged. */
html body #dialog#dialog.cc-r42-settings-dialog[open]{
  background:#020714!important;color:#eaf4ff!important;
  background-image:linear-gradient(145deg,#020613,#050e24 70%,#020714)!important;
}
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot.cc-r42-root{
  background-color:#020713!important;
  background-image:
    radial-gradient(1.6px 1.6px at 11% 15%,rgba(215,234,255,.72),transparent 80%),
    radial-gradient(1.1px 1.1px at 82% 28%,rgba(187,221,255,.58),transparent 80%),
    radial-gradient(1.3px 1.3px at 30% 59%,rgba(182,217,255,.40),transparent 80%),
    radial-gradient(1px 1px at 74% 74%,rgba(170,214,255,.42),transparent 80%),
    radial-gradient(1.5px 1.5px at 20% 92%,rgba(193,218,255,.49),transparent 80%),
    radial-gradient(ellipse 55% 35% at 108% 15%,rgba(40,97,189,.22),transparent 80%),
    radial-gradient(ellipse 55% 38% at -20% 90%,rgba(18,61,143,.21),transparent 85%),
    radial-gradient(ellipse 65% 38% at 88% 48%,rgba(10,91,186,.22),transparent 85%),
    radial-gradient(ellipse 64% 45% at -25% 28%,rgba(38,73,145,.16),transparent 80%),
    linear-gradient(157deg,#020612 3%,#040d20 52%,#020713 100%)!important;
}
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot .cc-r42-toolbar{
  background:linear-gradient(180deg,rgba(2,8,24,.96),rgba(4,13,32,.77))!important;
  border-bottom:1px solid rgba(132,185,246,.20)!important;
  box-shadow:0 4px 20px rgba(0,0,0,.17)!important;
}
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot .cc-r42-screen{padding-top:12px!important;padding-bottom:calc(20px + env(safe-area-inset-bottom,0px))!important;}
/* Glass = genuinely translucent fill over the dark star field, fine rim and soft blur. */
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot .cc-r42-search,
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot .cc-r42-profile,
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot .cc-r42-links>.cc-r42-link:not([hidden]),
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot .cc-r44-subitem,
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot .cc-r44-subcard,
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot .cc-r44-bug-panel,
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot .cc-r42-detail .cc-settings-card{
  background-color:rgba(21,47,97,.13)!important;
  background-image:linear-gradient(118deg,rgba(143,188,244,.16) 0%,rgba(31,75,140,.11) 28%,rgba(6,21,52,.075) 63%,rgba(60,113,178,.10) 100%)!important;
  border:1px solid rgba(147,192,248,.28)!important;
  box-shadow:inset 0 1px 0 rgba(223,243,255,.19),inset 1px 0 0 rgba(196,222,255,.035),0 8px 22px rgba(0,5,22,.18)!important;
  backdrop-filter:blur(18px) saturate(135%)!important;
  -webkit-backdrop-filter:blur(18px) saturate(135%)!important;
}
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot .cc-r42-profile{
  background-color:rgba(17,52,117,.18)!important;
  background-image:radial-gradient(ellipse 100% 120% at 105% 105%,rgba(23,108,222,.28),transparent 72%),linear-gradient(120deg,rgba(132,191,245,.19),rgba(8,35,85,.09) 65%,rgba(21,73,150,.16))!important;
  border-color:rgba(135,199,255,.39)!important;
}
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot .cc-r42-links>.cc-r42-link:not([hidden]){
  background-color:rgba(12,42,94,.16)!important;
  background-image:linear-gradient(120deg,rgba(137,184,242,.135),rgba(8,28,67,.10) 66%,rgba(56,116,196,.10))!important;
  border-color:rgba(151,194,252,.29)!important;
  box-shadow:inset 0 1px rgba(223,243,255,.17),0 5px 15px rgba(0,3,23,.13)!important;
}
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot .cc-r42-search input{background:transparent!important}
/* Real 3-level hierarchy: category -> compact submenu -> just one selected form. */
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot .cc-r44-subnav{
  display:flex!important;flex-direction:column!important;gap:7px!important;
  width:100%!important;max-width:100%!important;margin:0!important;padding:3px 0 9px!important;
}
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot .cc-r44-subitem{
  position:relative!important;display:flex!important;align-items:center!important;box-sizing:border-box!important;
  gap:12px!important;width:100%!important;min-width:0!important;min-height:54px!important;
  text-align:left!important;padding:9px 12px!important;margin:0!important;
  border-radius:15px!important;cursor:pointer!important;color:#eaf5ff!important;
  font:570 14px/1.3 system-ui,sans-serif!important;
}
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot .cc-r44-subitem:active{
  background-color:rgba(34,109,193,.28)!important;
  border-color:rgba(129,213,255,.68)!important;
}
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot .cc-r44-subitem:focus-visible{
  outline:2px solid #65baff!important;outline-offset:2px!important;
}
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot .cc-r44-subicon{
  display:grid!important;place-items:center!important;flex:0 0 28px!important;
  width:28px!important;height:28px!important;color:#82d8ff!important;
}
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot .cc-r44-subicon svg{width:22px!important;height:22px!important;}
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot .cc-r44-subtitle{min-width:0!important;flex:1 1 auto!important;overflow-wrap:anywhere!important;}
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot .cc-r44-subarrow{font:300 27px/1 system-ui,sans-serif!important;color:#b7dbff!important;}
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot .cc-r44-subhost{
  display:block!important;width:100%!important;min-width:0!important;margin:0!important;padding:0!important;
  background:transparent!important;border:0!important;box-shadow:none!important;
}
/* Guard against R42/R43 high-specificity display rules overriding HTML hidden. */
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot .cc-r44-subnav[hidden],
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot .cc-r44-subhost[hidden],
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot .cc-r44-subcard[hidden],
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot .cc-r44-bug-root[hidden],
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot .cc-r44-bug-panel[hidden],
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot .cc-r42-bug-intro[hidden]{display:none!important;}
/* No giant repeated title inside a leaf page: the toolbar is authoritative. */
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot.cc-r42-root[data-r44-depth="leaf"] .cc-r44-subcard>.cc-settings-card-title,
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot.cc-r42-root[data-r44-depth="leaf"] .cc-r44-crafted>.cc-settings-card-title{
  display:none!important;
}
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot .cc-r42-detail .cc-r44-subcard{
  min-height:0!important;max-height:none!important;height:auto!important;
  padding:14px 14px 16px!important;margin:0!important;border-radius:16px!important;
}
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot .cc-r42-detail .cc-r44-subcard label:not(.notify-label){
  display:block!important;margin:10px 0 5px!important;color:#d8e7fd!important;
  font:560 13px/1.3 system-ui,sans-serif!important;
}
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot .cc-r42-detail .cc-r44-subcard select,
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot .cc-r42-detail .cc-r44-subcard input.field,
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot .cc-r42-detail .cc-r44-subcard textarea{
  width:100%!important;max-width:100%!important;box-sizing:border-box!important;
  min-height:40px!important;margin:0 0 10px!important;padding:8px 11px!important;
  background:rgba(1,14,39,.33)!important;
  border:1px solid rgba(136,186,247,.30)!important;
  box-shadow:inset 0 1px 4px rgba(0,4,22,.12)!important;
  border-radius:11px!important;color:#e8f5ff!important;
}
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot .cc-r42-detail .cc-r44-subcard .notify-label{
  display:flex!important;align-items:center!important;gap:10px!important;
  padding:10px!important;margin:8px 0!important;min-height:42px!important;
  background:rgba(21,61,126,.14)!important;border:1px solid rgba(140,188,248,.20)!important;
  border-radius:11px!important;
}
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot .cc-r42-detail .cc-r44-subcard :is(button.plain-btn,button.cc-settings-action){
  background:linear-gradient(115deg,rgba(52,122,209,.28),rgba(12,42,100,.20))!important;
  border:1px solid rgba(126,181,248,.38)!important;
  border-radius:10px!important;color:#ecf8ff!important;
  box-shadow:inset 0 1px 0 rgba(222,238,255,.13)!important;
  min-height:38px!important;padding:8px 12px!important;
}
/* Bug report: two genuinely separate screens, with original sending/history handlers. */
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot .cc-r44-bug-root{
  width:100%!important;margin:0!important;padding:0!important;
  background:transparent!important;border:0!important;box-shadow:none!important;
}
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot .cc-r44-bug-panel{
  margin:0!important;padding:14px!important;border-radius:16px!important;
}
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot .cc-r42-bug-privacy{
  margin:12px 3px 0!important;color:#9bb5d7!important;font-size:11px!important;
}
@media(max-width:360px){
 html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot .cc-r44-subitem{min-height:50px!important;padding:8px 11px!important}
}
@media(prefers-reduced-transparency:reduce){
 html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot .cc-r44-subitem,
 html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot .cc-r42-links>.cc-r42-link{
   background-color:rgba(15,37,75,.60)!important;
 }
}
/* R44 visibility invariant: legacy R43 explicitly forces `.block.cc-settings-card`
   to display:flow-root!important. Give the [hidden] state stronger specificity. */
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot .cc-r42-detail .block.cc-settings-card.cc-r44-subcard[hidden],
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot .cc-r42-detail .cc-r44-subhost[hidden],
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot .cc-r42-detail .cc-r44-subnav[hidden],
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot .cc-r42-detail .cc-r44-bug-root[hidden],
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot .cc-r42-detail .cc-r44-bug-panel[hidden]{display:none!important;}

/* CHEBURCHAT R45 | ONE ORBIT DESIGN SYSTEM | 2026-11-20
 * Pure presentation; retain every existing listener, DOM ID, selection and E2EE flow.
 * Main Orbit remains the visual reference, not a reimplemented page.
 * All overrides are scoped to established surfaces, never to the composer input.
 */
:root{
  --orb45-void:#020916;--orb45-space:#04172c;--orb45-text:#edfaff;
  --orb45-soft:#abc9e0;--orb45-blue:#7ed9ff;--orb45-turq:#8aeafa;
  --orb45-line:rgba(139,224,255,.40);--orb45-line-soft:rgba(143,217,254,.25);
  --orb45-glass:linear-gradient(128deg,rgba(132,218,255,.18) 0%,rgba(27,86,154,.12) 42%,rgba(18,54,122,.07) 100%);
  --orb45-glass-strong:linear-gradient(122deg,rgba(121,216,255,.27),rgba(17,77,156,.24) 50%,rgba(38,112,193,.17));
  --orb45-glow:inset 0 1px 0 rgba(235,250,255,.20),0 8px 22px rgba(0,4,22,.30),0 0 15px rgba(51,150,236,.05);
  --orb45-matte:linear-gradient(145deg,#020815,#071b38 58%,#020a19);
}
/* Never let the legacy settings/contact wrappers erase a glass layer. */
html body #dialog#dialog[open]:is(.cc-r42-settings-dialog,.cc-r24-contacts-dialog,.cc-r20-contacts-dialog,.cc-r35-contacts-dialog,.cc-orbit-story-dialog,.cc-u46-story-compose,.cc-r42-bug-dialog){
  background-color:var(--orb45-void)!important;
  background-image:
    radial-gradient(circle at 11% 20%,rgba(168,230,255,.67) 0 1px,transparent 2px),
    radial-gradient(circle at 87% 74%,rgba(173,221,255,.52) 0 1px,transparent 2px),
    radial-gradient(circle at 73% 29%,rgba(157,224,255,.45) 0 1px,transparent 2px),
    radial-gradient(circle at 24% 68%,rgba(135,206,253,.38) 0 1px,transparent 2px),
    radial-gradient(circle at 91% 13%,rgba(170,220,255,.34) 0 1px,transparent 2px),
    radial-gradient(circle at 38% 89%,rgba(188,226,255,.35) 0 1px,transparent 2px),
    radial-gradient(ellipse at 66% -4%,rgba(23,139,215,.22),transparent 57%),
    radial-gradient(ellipse at 7% 90%,rgba(24,92,195,.13),transparent 57%),
    var(--orb45-matte)!important;
  color:var(--orb45-text)!important;border-color:var(--orb45-line)!important;
  box-shadow:0 30px 90px rgba(0,0,0,.63),inset 0 1px rgba(221,248,255,.09)!important;
}
/* This is the same header and close-button family in every full-screen dialog. */
html body #dialog#dialog[open]:is(.cc-r42-settings-dialog,.cc-r24-contacts-dialog,.cc-r20-contacts-dialog,.cc-r35-contacts-dialog,.cc-r42-bug-dialog,.cc-orbit-story-dialog,.cc-u46-story-compose) .dialog-head,
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot .cc-r42-toolbar{
  background:linear-gradient(180deg,rgba(8,25,51,.69),rgba(5,17,38,.44))!important;
  border-bottom:1px solid var(--orb45-line-soft)!important;
  color:var(--orb45-text)!important;
  box-shadow:inset 0 1px rgba(236,250,255,.08)!important;
  backdrop-filter:blur(20px) saturate(145%)!important;-webkit-backdrop-filter:blur(20px) saturate(145%)!important;
}
html body #dialog#dialog[open]:is(.cc-r42-settings-dialog,.cc-r24-contacts-dialog,.cc-r20-contacts-dialog,.cc-r35-contacts-dialog,.cc-r42-bug-dialog,.cc-orbit-story-dialog,.cc-u46-story-compose) :is(#closeDialog,.cc-r42-close,.cc-r42-back){
  background:var(--orb45-glass)!important;border:1px solid var(--orb45-line)!important;
  box-shadow:var(--orb45-glow)!important;color:var(--orb45-text)!important;
  backdrop-filter:blur(14px) saturate(150%)!important;-webkit-backdrop-filter:blur(14px) saturate(150%)!important;
}
/* SETTINGS: retain R44 split category -> subtopic -> leaf, only replace paint. */
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot :is(.cc-r42-search,.cc-r42-profile,.cc-r42-link,.cc-r44-subitem,.cc-r44-subcard,.cc-settings-card,.cc-r42-bug-panel,.cc-r42-bug-ticket):not([hidden]){
  background-color:rgba(12,40,79,.13)!important;background-image:var(--orb45-glass)!important;
  border:1px solid var(--orb45-line-soft)!important;color:var(--orb45-text)!important;
  box-shadow:var(--orb45-glow)!important;
  backdrop-filter:blur(20px) saturate(155%)!important;-webkit-backdrop-filter:blur(20px) saturate(155%)!important;
}
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot :is(.cc-r42-link,.cc-r44-subitem){min-height:46px!important;border-radius:15px!important}
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot :is(.cc-r42-link:active,.cc-r44-subitem:active){border-color:rgba(144,233,255,.64)!important;background-image:var(--orb45-glass-strong)!important}
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot :is(.cc-r42-profile,.cc-r42-search){border-color:rgba(153,221,255,.34)!important}
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot :is(.cc-r42-link-icon,.cc-r44-subicon,.cc-settings-card-icon,.cc-r42-detail-icon){color:var(--orb45-blue)!important;background:rgba(64,148,216,.13)!important;border-color:var(--orb45-line-soft)!important}
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot :is(.cc-r42-link b,.cc-r44-subtitle,.cc-r42-profile-text b,.cc-settings-card-title h3){color:var(--orb45-text)!important}
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot :is(.helper,.cc-r42-link small,.cc-r42-profile-text small,.cc-r42-bug-hint){color:var(--orb45-soft)!important}
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot .cc-r42-detail-hero{display:none!important}
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot .cc-r42-detail{padding-top:8px!important}
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot .cc-r42-detail :is(input.field,select.field,textarea.field,input:not([type=checkbox]):not([type=hidden]):not([type=file]),select,textarea,.notify-label,.cc-r42-bug-input){
  background-color:rgba(5,25,57,.16)!important;background-image:linear-gradient(135deg,rgba(103,171,245,.12),rgba(4,22,60,.05))!important;
  border:1px solid rgba(137,205,250,.30)!important;color:var(--orb45-text)!important;
  box-shadow:inset 0 1px rgba(233,251,255,.12)!important;border-radius:12px!important;
  backdrop-filter:blur(13px)!important;-webkit-backdrop-filter:blur(13px)!important;
}
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot .cc-r42-detail :is(button.plain-btn,button.cc-settings-action,.cc-r42-bug-primary,#ccR42BugRefresh){
  background-color:rgba(14,66,118,.23)!important;background-image:var(--orb45-glass)!important;
  border:1px solid rgba(137,212,255,.36)!important;color:var(--orb45-text)!important;
  box-shadow:inset 0 1px rgba(229,247,255,.16)!important;border-radius:12px!important;
  backdrop-filter:blur(14px)!important;-webkit-backdrop-filter:blur(14px)!important;
}
/* never undo old hidden guard: CSS rules across 6 generations used display!important. */
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot [hidden],
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot .cc-r42-link[hidden],
html body #dialog#dialog.cc-r42-settings-dialog #ccR42SettingsRoot .cc-r44-subcard[hidden]{display:none!important}
/* Phone CONTACTS and existing new-chat pickers: same sapphire glass as Settings. */
html body #dialog#dialog.cc-r24-contacts-dialog :is(#dialogBody,.cc-r24-sheet,.cc-r24-list){background:transparent!important;color:var(--orb45-text)!important}
html body #dialog#dialog.cc-r24-contacts-dialog :is(.cc-r24-search,.cc-r24-tools button,.cc-r24-footer button,.cc-r24-person,.cc-r24-entry,.cc-r24-invite-actions button){
  background-color:rgba(12,42,84,.16)!important;background-image:var(--orb45-glass)!important;
  border:1px solid var(--orb45-line-soft)!important;box-shadow:var(--orb45-glow)!important;
  color:var(--orb45-text)!important;backdrop-filter:blur(18px) saturate(145%)!important;
  -webkit-backdrop-filter:blur(18px) saturate(145%)!important;
}
html body #dialog#dialog.cc-r24-contacts-dialog .cc-r24-entry{margin:5px 0!important;border-radius:16px!important;overflow:hidden!important}
html body #dialog#dialog.cc-r24-contacts-dialog :is(.cc-r24-hit,.cc-r24-entry .cc-r24-person){background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
html body #dialog#dialog.cc-r24-contacts-dialog .cc-r24-avatar{background:rgba(46,116,175,.30)!important;border:1px solid var(--orb45-line)!important}
html body #dialog#dialog.cc-r24-contacts-dialog :is(.cc-r24-summary,.cc-r24-status,.cc-r24-privacy,.cc-r24-note){color:var(--orb45-soft)!important}
html body #dialog#dialog.cc-r24-contacts-dialog [hidden]{display:none!important}
/* Alternate R19 contact list and older R16 new-chat chooser. */
html body #dialog#dialog .cc-r19-people :is(.cc-r19-search,.cc-r19-list,.cc-r19-toolbar button,.cc-r19-action),
html body #dialog#dialog:has(.cc-r16-new-chat) :is(.cc-r16-query,.cc-r16-list,.cc-r16-tab,.cc-r16-shortcuts button){
  background-color:rgba(10,41,84,.17)!important;background-image:var(--orb45-glass)!important;
  border:1px solid var(--orb45-line-soft)!important;color:var(--orb45-text)!important;
  box-shadow:var(--orb45-glow)!important;
  backdrop-filter:blur(17px) saturate(145%)!important;-webkit-backdrop-filter:blur(17px) saturate(145%)!important;
}
html body #dialog#dialog .cc-r19-person,html body #dialog#dialog:has(.cc-r16-new-chat) .cc-r16-person{background:transparent!important;border-bottom:1px solid var(--orb45-line-soft)!important;color:var(--orb45-text)!important}
html body #dialog#dialog .cc-r19-avatar,html body #dialog#dialog:has(.cc-r16-new-chat) .cc-r16-avatar{background:rgba(57,132,194,.29)!important;color:var(--orb45-text)!important}
/* Native Orbit tabs, including search/people/groups, already have the right structure.
 * Adjust just their individual surfaces; leave orbit, core, avatars and footer nav intact. */
html body #ccOrbitApp :is(.orb-people-search,.orb-search-input,.orb-search-filter,.orb-search-result,.orb-directory-start,.orb-people-contact,.orb-pulse-row,.orb-pulse-filter,.orb-focus-card,.orb-context-sheet,.orb-pin-choice,.orb-slot-row){
  background-color:rgba(13,50,94,.17)!important;background-image:var(--orb45-glass)!important;
  border:1px solid var(--orb45-line-soft)!important;color:var(--orb45-text)!important;
  box-shadow:var(--orb45-glow)!important;backdrop-filter:blur(18px) saturate(140%)!important;
  -webkit-backdrop-filter:blur(18px) saturate(140%)!important;
}
html body #ccOrbitApp :is(.orb-search-result-copy small,.orb-people-copy small,.orb-people-heading,.orb-search-intro,.orb-people-empty,.orb-search-empty){color:var(--orb45-soft)!important}
html body #ccOrbitApp :is(.orb-search-filter.active,.orb-pulse-filter.active){border-color:rgba(153,235,255,.58)!important;background-image:var(--orb45-glass-strong)!important}
/* The Orbit hub sheet is the design-system's primary floating action menu. */
html body #ccOrbitApp .cc-hub54-sheet{background-color:rgba(4,17,38,.92)!important;background-image:radial-gradient(circle at 80% -10%,rgba(38,134,229,.20),transparent 66%),var(--orb45-matte)!important;
 border:1px solid var(--orb45-line)!important;box-shadow:0 23px 80px rgba(0,0,0,.61),inset 0 1px rgba(230,251,255,.18)!important}
html body #ccOrbitApp :is(.cc-hub54-item,.cc-hub54-dismiss,.cc-hub54-icon){background-color:rgba(12,45,94,.15)!important;background-image:var(--orb45-glass)!important;border-color:var(--orb45-line-soft)!important;
 color:var(--orb45-text)!important;box-shadow:inset 0 1px rgba(234,252,255,.14)!important;
 backdrop-filter:blur(17px) saturate(135%)!important;-webkit-backdrop-filter:blur(17px) saturate(135%)!important}
html body #ccOrbitApp :is(.cc-hub54-title small,.cc-hub54-group h3,.cc-hub54-item-text small){color:var(--orb45-soft)!important}
/* Stories: edit/create/view sheets remain separate functional widgets, but now sapphire. */
html body #dialog#dialog[open]:is(.cc-u46-story-compose,.cc-orbit-story-dialog) :is(.cc-story-selected-audience,.cc-story-peer,.cc-story-editor,.cc-story-actions button,.cc-story-audience-mode){
  background-color:rgba(10,43,83,.17)!important;background-image:var(--orb45-glass)!important;
  border:1px solid var(--orb45-line-soft)!important;color:var(--orb45-text)!important;
  box-shadow:inset 0 1px rgba(225,248,255,.15)!important;
  backdrop-filter:blur(16px) saturate(135%)!important;-webkit-backdrop-filter:blur(16px) saturate(135%)!important;
}
/* Branches and pinned thread lists (don't resize composer, bubbles or media). */
html body #ccU46Overlay.cc-vetki-shade{background-color:var(--orb45-void)!important;color:var(--orb45-text)!important}
html body #ccU46Overlay .cc-vetki-sheet{background-image:radial-gradient(ellipse at 85% -5%,rgba(28,108,202,.18),transparent 60%),var(--orb45-matte)!important;color:var(--orb45-text)!important}
html body #ccU46Overlay :is(.cc-vetki-sheet-head,.cc-vetki-root-area,.cc-vetki-reply,.cc-vetki-pin,.cc-vetki-pin-popover,.cc-vetki-form){background-color:rgba(11,43,84,.16)!important;background-image:var(--orb45-glass)!important;
 border-color:var(--orb45-line-soft)!important;color:var(--orb45-text)!important;
 backdrop-filter:blur(14px) saturate(130%)!important;-webkit-backdrop-filter:blur(14px) saturate(130%)!important}
html body #ccU46Overlay :is(.cc-vetki-back,.cc-vetki-close,.cc-vetki-send){background-color:rgba(18,72,125,.21)!important;background-image:var(--orb45-glass)!important;border-color:var(--orb45-line)!important;color:var(--orb45-text)!important}
/* Classic chat shell: glass for toolbars, menus and sidebar, NOT message text,
   recording ribbon, inputs or live WebRTC/video surfaces. */
html body #app :is(.chat-list .chat,.sidebar .side-item,.chat-actions .plain-btn,.thread-header,.cc-u44r4-popup,.cc-fix11-popup){
  border-color:var(--orb45-line-soft)!important;color:var(--orb45-text)!important;
}
html body #app :is(.cc-u44r4-popup,.cc-fix11-popup){background-color:rgba(5,23,52,.90)!important;background-image:var(--orb45-glass)!important;
  border:1px solid var(--orb45-line)!important;box-shadow:0 15px 45px rgba(0,2,20,.45),inset 0 1px rgba(230,248,255,.16)!important;
  backdrop-filter:blur(18px) saturate(135%)!important;-webkit-backdrop-filter:blur(18px) saturate(135%)!important}
/* Generic utility panes such as attachment selection or a contact action picker. */
html body #dialog#dialog[open]:not(.cc-r42-settings-dialog):not(.cc-r24-contacts-dialog):not(.cc-r20-contacts-dialog):not(.cc-r35-contacts-dialog) :is(.block,.plain-btn){border-color:var(--orb45-line-soft)!important}
/* Interaction safeguards. Respect disabled controls and hidden, including CSS-important legacy display. */
html body #dialog#dialog[open] [hidden],html body #ccOrbitApp [hidden],html body #ccU46Overlay [hidden]{display:none!important}
html body :is(#dialog,#ccOrbitApp,#ccU46Overlay) :is(button,input,select,textarea):focus-visible{outline:2px solid #86e0ff!important;outline-offset:2px!important}
@media(prefers-reduced-transparency:reduce){:root{--orb45-glass:linear-gradient(115deg,rgba(31,78,132,.93),rgba(7,30,65,.95))}}
@media(prefers-reduced-motion:reduce){html body :is(#dialog,#ccOrbitApp,#ccU46Overlay) :is(button,input,select,textarea){transition:none!important}}

/* Additional Orbit-native surfaces verified against orbit-ui.mjs; preserve layout and events. */
html body #ccOrbitApp :is(.orb-pulse-card,.orb-directory-person,.orb-story-new,.orb-story-shortcut,.orb-people-tools button,.orb-focus-chips button,.orb-people-list .orb-group-contact){
  background-color:rgba(13,47,87,.14)!important;background-image:var(--orb45-glass)!important;
  border-color:var(--orb45-line-soft)!important;color:var(--orb45-text)!important;
  box-shadow:inset 0 1px rgba(242,252,255,.15),0 8px 20px rgba(0,8,25,.22)!important;
  backdrop-filter:blur(18px) saturate(140%)!important;-webkit-backdrop-filter:blur(18px) saturate(140%)!important;
}
/* Contrast is uniform, but the main Orbit backdrop, orbital geometry, hub and avatars stay original. */
html body #ccOrbitApp :is(.orb-pulse-page-subtitle,.orb-search-count,.orb-people-empty,.orb-pulse-empty){color:var(--orb45-soft)!important}

/* R45 FIX3: inactive Stories nav icon must look exactly like the other nav actions.
   Only a real, unexpired, unseen contact story adds orb-stories-has-new. */
html.cc-orbit-theme body #ccOrbitApp.orb-app .orb-bottom-nav > button.orb-action.orb-story-shortcut:not(.orb-stories-has-new){
 background:transparent!important;background-image:none!important;background-color:transparent!important;
 border-color:transparent!important;box-shadow:none!important;filter:none!important;animation:none!important;text-shadow:none!important;
}
html.cc-orbit-theme body #ccOrbitApp.orb-app .orb-bottom-nav > button.orb-action.orb-story-shortcut:not(.orb-stories-has-new) svg{filter:none!important;animation:none!important;}

/* R46: one event card only, wrapper has NO second visible rectangle. */
html body #ccOrbitApp.orb-app .orb-pulse-feed > .orb-pulse-row{
 background:transparent!important;background-image:none!important;border:0!important;
 box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
 border-radius:0!important;padding:0!important;
}
/* Stories are neutral by default. Only fresh, unexpired and unviewed contact stories glow. */
html.cc-orbit-theme body #ccOrbitApp.orb-app .orb-bottom-nav > button.orb-action.orb-story-shortcut:not(.orb-stories-has-new){
 background:transparent!important;background-image:none!important;border:0!important;
 color:inherit!important;box-shadow:none!important;filter:none!important;
 text-shadow:none!important;animation:none!important;
}
html.cc-orbit-theme body #ccOrbitApp.orb-app .orb-bottom-nav > button.orb-action.orb-story-shortcut:not(.orb-stories-has-new)::before,
html.cc-orbit-theme body #ccOrbitApp.orb-app .orb-bottom-nav > button.orb-action.orb-story-shortcut:not(.orb-stories-has-new)::after{
 content:none!important;display:none!important;animation:none!important;
}
html.cc-orbit-theme body #ccOrbitApp.orb-app .orb-bottom-nav > button.orb-action.orb-story-shortcut:not(.orb-stories-has-new) svg{
 color:currentColor!important;filter:none!important;animation:none!important;
}
/* Shared Orbit glass for registered-only New Chat and long-press actions. */
html body #dialog.cc-r46-new-chat-dialog .cc-r46-new-chat{display:flex;flex-direction:column;gap:12px;min-width:0;padding:10px 8px 22px;color:#e4f5ff}
html body #dialog.cc-r46-new-chat-dialog #ccR46Search{background:rgba(13,37,75,.52)!important;border:1px solid rgba(125,221,255,.35)!important;color:#f5fbff!important;border-radius:16px!important;padding:13px 14px!important;backdrop-filter:blur(16px)!important;-webkit-backdrop-filter:blur(16px)!important}
html body #dialog.cc-r46-new-chat-dialog .cc-r46-search-wrap{font-size:13px;color:#a7d9f8}
html body #dialog.cc-r46-new-chat-dialog .cc-r46-search-status{font-size:12px;color:#95bfd9;margin:0}
html body #dialog.cc-r46-new-chat-dialog .cc-r46-search-results{display:flex;flex-direction:column;gap:7px;max-height:62vh;overflow:auto;min-height:0}
html body #dialog.cc-r46-new-chat-dialog button.cc-r46-person{display:flex;align-items:center;text-align:left;gap:12px;min-height:56px;max-width:100%;width:100%;border-radius:17px!important;border:1px solid rgba(118,215,249,.28)!important;box-shadow:inset 0 1px rgba(225,250,255,.11)!important;background:linear-gradient(125deg,rgba(45,116,176,.25),rgba(10,34,76,.38))!important;color:#f0faff!important;backdrop-filter:blur(16px)!important;-webkit-backdrop-filter:blur(16px)!important;padding:8px 10px!important}
html body #dialog.cc-r46-new-chat-dialog .cc-r46-avatar{width:41px;height:41px;flex:0 0 41px;display:grid;place-items:center;border-radius:50%;background:rgba(63,149,193,.3);border:1px solid rgba(140,228,250,.45);font-weight:700;overflow:hidden}
html body #dialog.cc-r46-new-chat-dialog .cc-r46-avatar img{width:100%;height:100%;object-fit:cover}
html body #dialog.cc-r46-new-chat-dialog .cc-r46-person-copy{display:flex;flex-direction:column;min-width:0;gap:3px}
html body #dialog.cc-r46-new-chat-dialog .cc-r46-person-copy strong{font-size:14px;color:#f7fcff;overflow-wrap:anywhere}
html body #dialog.cc-r46-new-chat-dialog .cc-r46-person-copy small{font-size:11px;color:#9fcee6;overflow-wrap:anywhere}
html body #ccOrbitApp.orb-app .orb-r46-person-menu,html body #ccOrbitApp.orb-app .orb-r46-slot-choice{
 background:linear-gradient(135deg,rgba(24,69,112,.64),rgba(7,20,50,.78))!important;border:1px solid rgba(117,217,255,.45)!important;backdrop-filter:blur(22px) saturate(140%)!important;-webkit-backdrop-filter:blur(22px) saturate(140%)!important;
}


/* R46 FIX6 — one Orbit sapphire-glass system for contact menus and address book.
   No old .orb-context-sheet or .orb-action classes are used in the long-press sheet. */
html.cc-orbit-theme body #ccOrbitApp.orb-app .orb-r46-glass-overlay{
 display:flex!important;align-items:flex-end!important;justify-content:center!important;
 background:rgba(0,7,22,.63)!important;backdrop-filter:blur(8px)!important;
 -webkit-backdrop-filter:blur(8px)!important;z-index:500!important;
}
html.cc-orbit-theme body #ccOrbitApp.orb-app .orb-r46-glass-sheet{
 width:min(100% - 22px,460px)!important;max-height:min(78dvh,650px)!important;overflow:auto!important;
 margin:0 auto max(14px,env(safe-area-inset-bottom,0px))!important;padding:12px!important;
 box-sizing:border-box!important;border:1px solid rgba(165,231,255,.48)!important;
 border-radius:24px!important;color:#f2fbff!important;
 background:linear-gradient(143deg,rgba(67,138,192,.35),rgba(15,49,98,.64) 47%,rgba(4,20,50,.83))!important;
 box-shadow:0 22px 68px rgba(0,5,23,.65),inset 0 1px 0 rgba(240,252,255,.25),0 0 25px rgba(37,159,235,.1)!important;
 backdrop-filter:blur(26px) saturate(155%)!important;
 -webkit-backdrop-filter:blur(26px) saturate(155%)!important;
}
html.cc-orbit-theme body #ccOrbitApp.orb-app .orb-r46-glass-head{display:flex!important;align-items:center!important;
 gap:11px!important;padding:8px 4px 14px!important;border-bottom:1px solid rgba(145,217,252,.18)!important;margin-bottom:8px!important;}
html.cc-orbit-theme body #ccOrbitApp.orb-app .orb-r46-glass-avatar{display:grid!important;place-items:center!important;
 width:51px!important;height:51px!important;flex:0 0 51px!important;overflow:hidden!important;
 border-radius:50%!important;border:1.5px solid rgba(161,227,255,.64)!important;
 box-shadow:0 0 0 3px rgba(68,170,245,.12)!important;}
html.cc-orbit-theme body #ccOrbitApp.orb-app .orb-r46-glass-title{display:flex!important;flex:1!important;min-width:0!important;flex-direction:column!important;gap:3px!important}
html.cc-orbit-theme body #ccOrbitApp.orb-app .orb-r46-glass-title strong{font:750 17px/1.25 system-ui,sans-serif!important;color:#f4faff!important;overflow-wrap:anywhere!important}
html.cc-orbit-theme body #ccOrbitApp.orb-app .orb-r46-glass-title small{font:450 12px/1.3 system-ui,sans-serif!important;color:#aacde7!important}
html.cc-orbit-theme body #ccOrbitApp.orb-app .orb-r46-glass-close{display:grid!important;place-items:center!important;width:39px!important;height:39px!important;flex:0 0 39px!important;
 border-radius:13px!important;border:1px solid rgba(171,220,254,.35)!important;background:rgba(36,87,151,.22)!important;color:#e6f8ff!important;}
html.cc-orbit-theme body #ccOrbitApp.orb-app .orb-r46-glass-close svg{width:20px!important;height:20px!important}
html.cc-orbit-theme body #ccOrbitApp.orb-app button.orb-r46-glass-item{display:flex!important;align-items:center!important;
 width:100%!important;min-height:54px!important;gap:11px!important;padding:10px 12px!important;margin:5px 0!important;
 border-radius:15px!important;border:1px solid rgba(121,192,239,.22)!important;
 color:#e6f5ff!important;background:linear-gradient(115deg,rgba(80,160,216,.14),rgba(10,38,83,.32))!important;
 box-shadow:inset 0 1px rgba(243,252,255,.08)!important;text-align:left!important;transform:none!important;
 backdrop-filter:blur(15px)!important;-webkit-backdrop-filter:blur(15px)!important;}
html.cc-orbit-theme body #ccOrbitApp.orb-app button.orb-r46-glass-primary{border-color:rgba(133,226,255,.55)!important;
 background:linear-gradient(115deg,rgba(81,178,238,.28),rgba(19,79,148,.39))!important;
 box-shadow:inset 0 1px rgba(241,253,255,.18),0 0 16px rgba(50,150,237,.08)!important;}
html.cc-orbit-theme body #ccOrbitApp.orb-app .orb-r46-glass-item>svg{height:22px!important;width:22px!important;flex:0 0 22px!important;color:#8fe2ff!important}
html.cc-orbit-theme body #ccOrbitApp.orb-app .orb-r46-glass-item-copy{display:flex!important;flex:1!important;min-width:0!important;flex-direction:column!important;gap:3px!important}
html.cc-orbit-theme body #ccOrbitApp.orb-app .orb-r46-glass-item-copy strong{font:670 13px/1.3 system-ui,sans-serif!important;overflow-wrap:anywhere!important;color:#f2faff!important}
html.cc-orbit-theme body #ccOrbitApp.orb-app .orb-r46-glass-item-copy small{font:450 11px/1.3 system-ui,sans-serif!important;color:#acc6e2!important;overflow-wrap:anywhere!important}
html.cc-orbit-theme body #ccOrbitApp.orb-app .orb-r46-glass-chevron{font-size:21px!important;color:#93c5e6!important;}
/* The old phonebook is restored to People and its functionality retained, with Orbit glass. */
html.cc-orbit-theme body #dialog#dialog.cc-r24-contacts-dialog[open]{
 background:linear-gradient(152deg,rgba(33,94,158,.36),rgba(5,21,50,.93) 64%)!important;
 border:1px solid rgba(141,214,255,.55)!important;
 box-shadow:0 23px 90px rgba(0,3,21,.7),inset 0 1px rgba(245,252,255,.22)!important;
 backdrop-filter:blur(23px) saturate(145%)!important;-webkit-backdrop-filter:blur(23px) saturate(145%)!important;}
html.cc-orbit-theme body #dialog#dialog.cc-r24-contacts-dialog .dialog-head{
 background:linear-gradient(115deg,rgba(57,129,201,.26),rgba(13,34,76,.48))!important;
 border-bottom:1px solid rgba(142,218,255,.25)!important;}
html.cc-orbit-theme body #dialog#dialog.cc-r24-contacts-dialog #dialogBody{
 background:transparent!important;}
html.cc-orbit-theme body #dialog#dialog.cc-r24-contacts-dialog .cc-r24-search{
 background:linear-gradient(115deg,rgba(83,159,212,.20),rgba(11,44,95,.32))!important;
 border:1px solid rgba(139,217,255,.38)!important;box-shadow:inset 0 1px rgba(242,255,255,.13)!important;
 backdrop-filter:blur(14px)!important;-webkit-backdrop-filter:blur(14px)!important;}
html.cc-orbit-theme body #dialog#dialog.cc-r24-contacts-dialog .cc-r24-entry{
 background:linear-gradient(115deg,rgba(61,139,191,.15),rgba(8,39,80,.28))!important;
 border:1px solid rgba(130,208,255,.19)!important;border-radius:14px!important;
 margin:5px 0!important;box-shadow:inset 0 1px rgba(246,252,255,.08)!important;}
html.cc-orbit-theme body #dialog#dialog.cc-r24-contacts-dialog .cc-r24-hit{background:transparent!important;}
html.cc-orbit-theme body #dialog#dialog.cc-r24-contacts-dialog .cc-r35-section-title{background:rgba(4,20,47,.82)!important;color:#9ddcff!important;}
html.cc-orbit-theme body #dialog#dialog.cc-r24-contacts-dialog :is(.cc-r24-tools button,.cc-r24-footer button){
 background:linear-gradient(120deg,rgba(75,143,208,.19),rgba(9,40,81,.36))!important;
 border:1px solid rgba(134,211,255,.24)!important;border-radius:12px!important;
 color:#c7ebff!important;backdrop-filter:blur(12px)!important;-webkit-backdrop-filter:blur(12px)!important;}
/* Only a genuine fresh-story class gets special styling. Empty Stories has no custom class. */
html.cc-orbit-theme body #ccOrbitApp.orb-app .orb-bottom-nav > .orb-action:not(.orb-stories-has-new):not(.orb-hub-button){
 -webkit-tap-highlight-color:transparent;
}

/* R47 STORY/PULSE: Orbit ring on unseen valid stories; the nav glass never changes. */
html.cc-orbit-theme body #ccOrbitApp.orb-app .orb-bottom-nav>button.orb-action.orb-story-orbit-active{
 background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important;
 filter:none!important;color:inherit!important;animation:none!important;overflow:visible!important;
}
html.cc-orbit-theme body #ccOrbitApp.orb-app .orb-bottom-nav>button.orb-action.orb-story-orbit-active::before,
html.cc-orbit-theme body #ccOrbitApp.orb-app .orb-bottom-nav>button.orb-action.orb-story-orbit-active::after{display:none!important;content:none!important;}
html.cc-orbit-theme body #ccOrbitApp.orb-app .orb-story-icon-wrap{position:relative!important;display:grid!important;place-items:center!important;
 width:27px!important;height:27px!important;margin:0 auto!important;isolation:isolate!important;flex:0 0 27px!important;}
html.cc-orbit-theme body #ccOrbitApp.orb-app .orb-story-icon-wrap>svg{position:relative;z-index:2;width:21px!important;height:21px!important;filter:none!important;color:inherit!important;}
html.cc-orbit-theme body #ccOrbitApp.orb-app .orb-story-orbit-ring{position:absolute!important;inset:-2px!important;
 display:block!important;z-index:1!important;pointer-events:none!important;border-radius:50%!important;
 background:conic-gradient(from -80deg,#5bdcff 0deg,#68d3ff 205deg,transparent 260deg,transparent 310deg,#5bdcff 355deg)!important;
 -webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 2.7px),#000 calc(100% - 2px));
 mask:radial-gradient(farthest-side,transparent calc(100% - 2.7px),#000 calc(100% - 2px));
 filter:drop-shadow(0 0 3px rgba(88,214,255,.48))!important;
 animation:ccR47RingOrbit 7s linear infinite!important;}
@keyframes ccR47RingOrbit{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){html.cc-orbit-theme body #ccOrbitApp.orb-app .orb-story-orbit-ring{animation:none!important}}
/* Full-screen Pulse buttons must be touchable, without a second utility bar. */
html.cc-orbit-theme body #ccOrbitApp.orb-app .orb-pulse-page-scroll .orb-pulse-filters{position:relative!important;z-index:2!important;pointer-events:auto!important;}
html.cc-orbit-theme body #ccOrbitApp.orb-app .orb-pulse-page-scroll .orb-pulse-filter{pointer-events:auto!important;touch-action:manipulation!important;}
html.cc-orbit-theme body #ccOrbitApp.orb-app .orb-pulse-utilities{display:none!important;}
/* R47 FIX2: editor is a single FULL-VIEWPORT page, not an inset dialog/panel. */
html body #dialog#dialog.cc-u46-story-compose[open]{
 box-sizing:border-box!important;position:fixed!important;inset:0!important;top:0!important;right:0!important;bottom:0!important;left:0!important;
 display:flex!important;flex-direction:column!important;align-items:stretch!important;
 width:100vw!important;max-width:100vw!important;min-width:0!important;height:100vh!important;height:100dvh!important;max-height:100vh!important;max-height:100dvh!important;min-height:0!important;
 margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;outline:0!important;overflow:hidden!important;
 background:radial-gradient(ellipse at 92% 12%,rgba(26,95,159,.20),transparent 43%),linear-gradient(150deg,#07172b 0%,#06152d 48%,#030d1d 100%)!important;
 color:#eaf5ff!important;
}
html body #dialog#dialog.cc-u46-story-compose::backdrop{background:#040d1d!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;}
html body #dialog#dialog.cc-u46-story-compose .dialog-head{
 box-sizing:border-box!important;position:relative!important;z-index:1!important;flex:0 0 auto!important;
 display:flex!important;align-items:center!important;justify-content:space-between!important;
 width:100%!important;min-height:64px!important;margin:0!important;padding:11px 18px!important;
 border:0!important;border-bottom:1px solid rgba(105,176,236,.22)!important;border-radius:0!important;
 background:rgba(6,21,44,.54)!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
html body #dialog#dialog.cc-u46-story-compose #dialogTitle{font:750 23px/1.15 system-ui,sans-serif!important;margin:0!important;letter-spacing:-.4px!important;color:#f4faff!important;}
html body #dialog#dialog.cc-u46-story-compose #dialogTitle::after{content:' · 24 ч';font:550 12px/1 system-ui,sans-serif;color:#8bbbe6;letter-spacing:0;white-space:nowrap;}
html body #dialog#dialog.cc-u46-story-compose #dialogSub{display:none!important}
html body #dialog#dialog.cc-u46-story-compose #closeDialog{flex:0 0 auto!important;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;
 display:grid!important;place-items:center!important;margin:0!important;padding:0!important;border:1px solid rgba(111,187,245,.33)!important;border-radius:13px!important;
 background:rgba(48,108,164,.16)!important;box-shadow:none!important;color:#e2f3ff!important;}
html body #dialog#dialog.cc-u46-story-compose #dialogBody{
 position:relative!important;box-sizing:border-box!important;flex:1 1 0!important;min-height:0!important;max-height:none!important;height:auto!important;width:100%!important;
 margin:0!important;padding:14px max(16px,env(safe-area-inset-right,0px)) calc(22px + env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px))!important;
 overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;
 border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
}
html body #dialog#dialog#dialog.cc-u46-story-compose[open] .cc-r47-story-editor{
 box-sizing:border-box!important;display:flex!important;flex-direction:column!important;gap:13px!important;
 width:100%!important;max-width:560px!important;min-height:0!important;margin:0 auto!important;padding:0!important;
 border:0!important;outline:0!important;border-radius:0!important;background:transparent!important;background-image:none!important;box-shadow:none!important;
}
html body #dialog#dialog#dialog.cc-u46-story-compose[open] .cc-r47-story-editor::before,html body #dialog#dialog#dialog.cc-u46-story-compose[open] .cc-r47-story-editor::after{display:none!important;content:none!important;}
html body #dialog#dialog.cc-u46-story-compose .cc-r47-story-lead{display:none!important;}
html body #dialog#dialog.cc-u46-story-compose .cc-u46-story-section-head{display:flex!important;align-items:center!important;gap:10px!important;
 margin:5px 0 0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;}
html body #dialog#dialog.cc-u46-story-compose .cc-u46-story-section-head .cc-u46-story-step{
 display:grid!important;place-items:center!important;flex:0 0 27px!important;width:27px!important;height:27px!important;
 border-radius:9px!important;background:rgba(42,115,185,.18)!important;border:1px solid rgba(108,188,248,.28)!important;color:#9cd4ff!important;font-size:11px!important;}
html body #dialog#dialog.cc-u46-story-compose .cc-u46-story-section-head b{font-size:15px!important;font-weight:700!important;color:#eff7ff!important;}
html body #dialog#dialog.cc-u46-story-compose .cc-u46-story-section-head small{font-size:11px!important;color:#9fb9d2!important;line-height:1.35!important;}
html body #dialog#dialog.cc-u46-story-compose .cc-r47-story-editor .cc-media-choices{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important;margin:0!important;padding:0!important;background:transparent!important;}
html body #dialog#dialog.cc-u46-story-compose .cc-r47-story-editor .cc-media-choices .cc-menu-tile{
 box-sizing:border-box!important;min-width:0!important;min-height:102px!important;margin:0!important;padding:10px 4px!important;
 display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:5px!important;
 border-radius:14px!important;border:1px solid rgba(116,188,246,.30)!important;background:linear-gradient(125deg,rgba(51,112,176,.17),rgba(7,31,70,.24))!important;
 box-shadow:inset 0 1px rgba(223,246,255,.09)!important;backdrop-filter:blur(8px)!important;-webkit-backdrop-filter:blur(8px)!important;
}
html body #dialog#dialog.cc-u46-story-compose .cc-r47-story-editor .cc-media-choices .cc-tile-glyph{width:32px!important;height:32px!important;font-size:18px!important;
 display:grid!important;place-items:center!important;border-radius:11px!important;color:#b5e6ff!important;background:rgba(52,126,194,.20)!important;}
html body #dialog#dialog.cc-u46-story-compose .cc-r47-story-editor .cc-media-choices .cc-menu-tile b{font-size:12px!important;line-height:1.25!important;color:#eff7ff!important;}
html body #dialog#dialog.cc-u46-story-compose .cc-r47-story-editor .cc-media-choices .cc-menu-tile small{font-size:10px!important;line-height:1.25!important;color:#a5bfdb!important;white-space:normal!important;}
html body #dialog#dialog.cc-u46-story-compose #storyText{box-sizing:border-box!important;display:block!important;width:100%!important;min-height:78px!important;max-height:180px!important;
 margin:0!important;padding:11px 12px!important;border-radius:13px!important;border:1px solid rgba(119,186,245,.33)!important;
 background:rgba(17,48,92,.22)!important;color:#eff8ff!important;box-shadow:none!important;}
html body #dialog#dialog.cc-u46-story-compose .cc-u46-story-audience-modes{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;}
html body #dialog#dialog.cc-u46-story-compose .cc-u46-story-audience-mode{box-sizing:border-box!important;min-width:0!important;min-height:43px!important;
 border-radius:12px!important;border:1px solid rgba(110,180,239,.28)!important;background:rgba(26,69,121,.16)!important;color:#b5d6f0!important;}
html body #dialog#dialog.cc-u46-story-compose .cc-u46-story-audience-mode.is-active{border-color:rgba(114,208,255,.62)!important;background:rgba(42,129,208,.25)!important;color:#f6fbff!important;}
html body #dialog#dialog.cc-u46-story-compose .cc-u46-story-privacy{margin:0!important;padding:0!important;
 border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#94b4ce!important;font-size:11px!important;line-height:1.45!important;}
html body #dialog#dialog.cc-u46-story-compose .cc-story-actions.cc-u46-story-footer{box-sizing:border-box!important;display:grid!important;grid-template-columns:1fr 1.2fr!important;gap:10px!important;
 position:static!important;inset:auto!important;z-index:auto!important;flex:0 0 auto!important;width:100%!important;
 margin:10px 0 0!important;padding:14px 0 0!important;border:0!important;border-top:1px solid rgba(105,175,239,.24)!important;
 border-radius:0!important;background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important;}
html body #dialog#dialog.cc-u46-story-compose .cc-u46-story-footer button{box-sizing:border-box!important;min-height:46px!important;
 margin:0!important;padding:9px 7px!important;border:1px solid rgba(123,202,253,.34)!important;border-radius:13px!important;
 background:rgba(35,103,169,.25)!important;color:#e7f4ff!important;box-shadow:none!important;font:600 12px/1.25 system-ui,sans-serif!important;}
html body #dialog#dialog.cc-u46-story-compose .cc-u46-story-footer #storyPost{background:linear-gradient(120deg,rgba(42,139,213,.57),rgba(15,74,145,.54))!important;border-color:rgba(138,213,255,.50)!important;}
html body #dialog#dialog.cc-u46-story-compose .hidden,html body #dialog#dialog.cc-u46-story-compose [hidden]{display:none!important;}
@media(max-width:345px){html body #dialog#dialog.cc-u46-story-compose .cc-r47-story-editor .cc-media-choices .cc-menu-tile{padding:8px 1px!important;}html body #dialog#dialog.cc-u46-story-compose .cc-r47-story-editor .cc-media-choices .cc-menu-tile small{font-size:9px!important;}}

/* R48 Orbit shell refinement: media, new-chat, navigation. No E2EE/transport changes. */
/* The registered-only New Chat picker has the same dark sapphire header and glass as Orbit. */
html body #dialog#dialog.cc-r46-new-chat-dialog[open]{
 box-sizing:border-box!important;position:fixed!important;inset:0!important;
 width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;
 padding:0!important;margin:0!important;border:0!important;border-radius:0!important;
 background:radial-gradient(ellipse at 88% 13%,rgba(27,91,169,.24),transparent 52%),linear-gradient(145deg,#020917,#061933 58%,#020b19)!important;
 box-shadow:none!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;color:#e8f5ff!important;
}
html body #dialog#dialog.cc-r46-new-chat-dialog[open] .dialog-head{
 position:relative!important;inset:auto!important;top:auto!important;flex:0 0 auto!important;
 margin:0!important;min-height:72px!important;padding:14px 16px!important;
 background:linear-gradient(180deg,rgba(12,37,77,.86),rgba(4,17,39,.74))!important;
 border:0!important;border-bottom:1px solid rgba(129,209,255,.22)!important;border-radius:0!important;
 box-shadow:none!important;color:#eff8ff!important;backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important;
}
html body #dialog#dialog.cc-r46-new-chat-dialog[open] #dialogTitle{color:#eff8ff!important;text-shadow:none!important;}
html body #dialog#dialog.cc-r46-new-chat-dialog[open] #dialogSub{color:#83c9ff!important;}
html body #dialog#dialog.cc-r46-new-chat-dialog[open] #dialogBody{
 box-sizing:border-box!important;flex:1 1 auto!important;min-height:0!important;max-height:none!important;
 overflow-x:hidden!important;overflow-y:auto!important;padding:16px 16px calc(30px + env(safe-area-inset-bottom,0px))!important;
 background:transparent!important;
}
html body #dialog#dialog.cc-r46-new-chat-dialog .cc-r46-search-results{max-height:none!important;overflow:visible!important;}
html body #dialog#dialog.cc-r46-new-chat-dialog .cc-r46-avatar{display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;position:relative!important;background:rgba(48,103,165,.24)!important;isolation:isolate!important;}
html body #dialog#dialog.cc-r46-new-chat-dialog .cc-r46-avatar img{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;border-radius:50%!important;z-index:2!important;}
html body #dialog#dialog.cc-r46-new-chat-dialog .cc-r48-avatar-initial[hidden]{display:none!important;}
html body #dialog#dialog.cc-r46-new-chat-dialog .cc-r48-avatar-initial{display:grid!important;place-items:center!important;width:100%!important;height:100%!important;}
html body #dialog#dialog.cc-r46-new-chat-dialog button.cc-r46-person{
 background:linear-gradient(125deg,rgba(51,115,177,.18),rgba(7,26,63,.26))!important;
 border:1px solid rgba(126,204,253,.23)!important;box-shadow:inset 0 1px rgba(219,245,255,.11)!important;
}
/* No nested sheet for images or stories. Preserve the existing JS zoom, swipe and save handlers. */
html body #dialog#dialog.cc-media-viewer-dialog[open],
html body #dialog#dialog.cc-r48-story-view[open]{
 box-sizing:border-box!important;position:fixed!important;inset:0!important;top:0!important;left:0!important;right:0!important;bottom:0!important;
 display:flex!important;flex-direction:column!important;align-items:stretch!important;
 width:100vw!important;min-width:0!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;min-height:0!important;
 margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:hidden!important;
 background:radial-gradient(ellipse at 50% 35%,#0c2c57 0%,#04142c 57%,#010917 100%)!important;color:#f4faff!important;
}
html body #dialog#dialog.cc-media-viewer-dialog[open] .dialog-head,
html body #dialog#dialog.cc-r48-story-view[open] .dialog-head{
 box-sizing:border-box!important;position:relative!important;top:auto!important;inset:auto!important;
 min-height:57px!important;flex:0 0 auto!important;margin:0!important;padding:7px 13px!important;
 background:rgba(3,15,35,.40)!important;border:0!important;border-bottom:1px solid rgba(118,199,253,.16)!important;
 border-radius:0!important;box-shadow:none!important;backdrop-filter:blur(14px)!important;-webkit-backdrop-filter:blur(14px)!important;
}
html body #dialog#dialog.cc-media-viewer-dialog[open] .dialog-head h2,
html body #dialog#dialog.cc-r48-story-view[open] .dialog-head h2{font-size:15px!important;letter-spacing:.01em!important;}
html body #dialog#dialog.cc-media-viewer-dialog[open] #dialogBody,
html body #dialog#dialog.cc-r48-story-view[open] #dialogBody{
 box-sizing:border-box!important;display:flex!important;flex-direction:column!important;flex:1 1 auto!important;
 height:auto!important;min-height:0!important;max-height:none!important;overflow-x:hidden!important;overflow-y:auto!important;
 padding:8px 12px calc(14px + env(safe-area-inset-bottom,0px))!important;background:transparent!important;
}
html body #dialog#dialog.cc-media-viewer-dialog[open] .cc-viewer-stage{
 box-sizing:border-box!important;flex:1 1 auto!important;height:auto!important;max-height:none!important;min-height:160px!important;
 width:100%!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
}
html body #dialog#dialog.cc-media-viewer-dialog[open] .cc-viewer-stage img,
html body #dialog#dialog.cc-media-viewer-dialog[open] .cc-viewer-stage video{max-height:100%!important;border-radius:0!important;object-fit:contain!important;}
html body #dialog#dialog.cc-media-viewer-dialog[open] :is(.cc-viewer-tools,.cc-viewer-nav){flex:0 0 auto!important;margin:6px 0 0!important;}
html body #dialog#dialog.cc-media-viewer-dialog[open] .cc-viewer-name{flex:0 0 auto!important;margin:2px 0!important;color:#9cbbdd!important;}
html body #dialog#dialog.cc-r48-story-view[open] .cc-story-stage{
 box-sizing:border-box!important;flex:1 1 auto!important;min-height:200px!important;height:auto!important;max-height:none!important;
 overflow:hidden!important;background:transparent!important;border:0!important;box-shadow:none!important;
}
html body #dialog#dialog.cc-r48-story-view[open] .story-viewer,
html body #dialog#dialog.cc-r48-story-view[open] .story-frame{
 box-sizing:border-box!important;flex:1 1 auto!important;min-height:0!important;max-height:none!important;
 width:100%!important;height:100%!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;
}
html body #dialog#dialog.cc-r48-story-view[open] .story-full-media{
 max-height:calc(100dvh - 185px)!important;max-width:100%!important;object-fit:contain!important;
}
html body #dialog#dialog.cc-r48-story-view[open] :is(.cc-story-progress,.cc-story-hint,.story-own-actions){flex:0 0 auto!important;}
/* Small non-green return-to-latest affordance in any conversation. */
html body #app #jumpLatest.jump-latest{
 box-sizing:border-box!important;right:12px!important;bottom:12px!important;
 width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;padding:0!important;
 display:grid!important;place-items:center!important;border-radius:50%!important;
 background:linear-gradient(145deg,rgba(24,66,116,.80),rgba(5,25,60,.88))!important;
 border:1px solid rgba(139,217,255,.42)!important;color:#d9f5ff!important;font-size:0!important;
 box-shadow:0 3px 14px rgba(0,8,27,.30),inset 0 1px rgba(243,251,255,.14)!important;
 backdrop-filter:blur(12px)!important;-webkit-backdrop-filter:blur(12px)!important;
}
html body #app #jumpLatest.jump-latest svg{width:17px!important;height:17px!important;display:block!important;stroke:currentColor!important;}
html body #app #jumpLatest.jump-latest.hidden{display:none!important;}
@media(prefers-reduced-motion:reduce){html body #app #jumpLatest{transition:none!important;}}


/* R49: fullscreen top-layer independent from legacy #dialog CSS and modal frame. */
#ccR49MediaPortal[open]{position:fixed!important;inset:0!important;top:0!important;left:0!important;margin:0!important;padding:0!important;width:100vw!important;height:100dvh!important;min-width:0!important;min-height:0!important;max-width:100vw!important;max-height:100dvh!important;border:0!important;border-radius:0!important;outline:0!important;box-shadow:none!important;transform:none!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;box-sizing:border-box!important;background:radial-gradient(ellipse at 50% 40%,#0a2548,#03132c 65%,#010715)!important;color:#eaf5ff!important;z-index:2147483000!important}
#ccR49MediaPortal::backdrop{background:#010715!important;backdrop-filter:none!important}
#ccR49MediaPortal>.dialog-head{position:relative!important;inset:auto!important;flex:0 0 auto!important;width:100%!important;max-width:none!important;min-height:52px!important;height:auto!important;padding:10px 14px!important;margin:0!important;box-sizing:border-box!important;border:0!important;border-bottom:1px solid rgba(113,193,255,.2)!important;border-radius:0!important;box-shadow:none!important;background:rgba(3,17,43,.64)!important;backdrop-filter:blur(14px)!important;-webkit-backdrop-filter:blur(14px)!important}
#ccR49MediaPortal>#dialogBody{position:relative!important;inset:auto!important;flex:1 1 auto!important;display:flex!important;flex-direction:column!important;box-sizing:border-box!important;align-items:stretch!important;min-width:0!important;width:100%!important;max-width:100%!important;min-height:0!important;height:auto!important;max-height:none!important;margin:0!important;padding:0 10px calc(12px + env(safe-area-inset-bottom,0px))!important;overflow-x:hidden!important;overflow-y:auto!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
#ccR49MediaPortal .cc-viewer-stage,#ccR49MediaPortal .cc-story-stage{flex:1 1 auto!important;min-height:0!important;max-height:none!important;box-sizing:border-box!important;border:none!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
#ccR49MediaPortal .cc-story-stage{overflow:hidden!important}
#ccR49MediaPortal .story-viewer,#ccR49MediaPortal .story-frame{max-width:100%!important;min-height:0!important;max-height:none!important;flex:1 1 auto!important;box-shadow:none!important;border:0!important;border-radius:0!important;background:transparent!important}
#ccR49MediaPortal .cc-viewer-stage img,#ccR49MediaPortal .cc-viewer-stage video,#ccR49MediaPortal .story-full-media{max-width:100%!important;max-height:calc(100dvh - 155px)!important;object-fit:contain!important;box-shadow:none!important;border-radius:0!important}
/* A single recording UI; the existing long-press gesture still receives pointerup. */
body.cc-r49-recording #ccRecordHudV40,body.cc-r49-recording #cc28VideoStage,body.cc-r49-recording #recordingBanner{display:none!important;visibility:hidden!important}
#ccR49Recorder{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;box-sizing:border-box!important;z-index:2147482000!important;padding:20px 12px calc(36px + env(safe-area-inset-bottom,0px))!important;display:flex!important;flex-direction:column!important;gap:9px!important;align-items:center!important;justify-content:center!important;background:radial-gradient(ellipse at 50% 40%,rgba(19,68,121,.98),#061a39 63%,#010916)!important;color:#eaf5ff!important;font:500 14px system-ui,sans-serif!important;pointer-events:none!important}
#ccR49Recorder .cc-r49-wave-center{width:min(83vw,335px)!important;max-height:48vh!important;aspect-ratio:1!important;position:relative!important;display:grid!important;place-items:center!important;flex:none!important}
#ccR49Recorder canvas{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;pointer-events:none!important}
#ccR49Recorder .cc-r49-wave-core{position:relative!important;display:grid!important;place-items:center!important;width:63%!important;aspect-ratio:1!important;border-radius:50%!important;overflow:hidden!important;background:radial-gradient(circle at 36% 25%,#195e97,#08274f 66%,#06152d)!important;border:2px solid rgba(114,220,255,.8)!important;box-shadow:0 0 0 7px rgba(34,135,245,.09),0 0 40px rgba(67,188,255,.25)!important;color:#a4eaff!important}
#ccR49Recorder .cc-r49-wave-core video{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:50%!important;transform:scaleX(-1)!important}
#ccR49Recorder .cc-r49-record-kind{font-size:21px!important;color:#fff!important;line-height:1.3!important}
#ccR49Recorder time{font:700 22px ui-monospace,monospace!important;color:#86dfff!important}
#ccR49Recorder small{color:#a8c5e4!important;font-size:12px!important;text-align:center!important}
#ccR49Recorder .cc-r49-story-actions{display:flex!important;gap:12px!important;max-width:320px!important;width:100%!important;pointer-events:auto!important}
#ccR49Recorder .cc-r49-story-actions button{flex:1 1 0!important;min-height:48px!important;max-width:none!important;background:rgba(24,70,125,.6)!important;border:1px solid rgba(99,189,245,.55)!important;border-radius:24px!important;backdrop-filter:blur(14px)!important;color:#eaf6ff!important;font:650 14px system-ui,sans-serif!important}
#ccR49Recorder .cc-r49-story-actions button:last-child{background:rgba(20,111,178,.65)!important}
@media(max-height:620px){#ccR49Recorder .cc-r49-wave-center{width:min(59vw,240px)!important}#ccR49Recorder{gap:3px!important}}
@media(prefers-reduced-motion:reduce){#ccR49Recorder *{transition:none!important;animation:none!important}}

/* === R49 FIX1 / TRUE SINGLE MEDIA VIEWER / 2026-11-20 ===
   One native #dialog only. R49's second top-layer portal is no longer used. */
html body #dialog#dialog.cc-r49fix1-single-viewer[open]{
 position:fixed!important;inset:0!important;top:0!important;left:0!important;right:0!important;bottom:0!important;
 margin:0!important;padding:0!important;width:100vw!important;height:100vh!important;height:100dvh!important;
 min-width:0!important;min-height:0!important;max-width:100vw!important;max-height:100dvh!important;
 box-sizing:border-box!important;display:flex!important;flex-direction:column!important;transform:none!important;
 border:0!important;border-radius:0!important;outline:0!important;box-shadow:none!important;overflow:hidden!important;
 background:radial-gradient(ellipse at 50% 40%,#102d51 0%,#06142b 58%,#020914 100%)!important;color:#eaf5ff!important
}
html body #dialog#dialog.cc-r49fix1-single-viewer::backdrop{background:#020914!important;backdrop-filter:none!important}
html body #dialog#dialog.cc-r49fix1-single-viewer[open]>.dialog-head{
 position:relative!important;inset:auto!important;display:flex!important;align-items:center!important;justify-content:space-between!important;
 box-sizing:border-box!important;width:100%!important;min-height:50px!important;height:50px!important;flex:0 0 50px!important;
 padding:4px 12px!important;margin:0!important;background:rgba(4,20,45,.67)!important;
 border:0!important;border-radius:0!important;border-bottom:1px solid rgba(116,194,255,.2)!important;box-shadow:none!important;
 backdrop-filter:blur(16px)!important;-webkit-backdrop-filter:blur(16px)!important
}
html body #dialog#dialog.cc-r49fix1-single-viewer[open] #dialogTitle{
 font:700 14px/1.2 system-ui,sans-serif!important;margin:0!important;color:#eaf5ff!important;letter-spacing:.01em!important
}
html body #dialog#dialog.cc-r49fix1-single-viewer[open] #dialogSub{display:none!important}
html body #dialog#dialog.cc-r49fix1-single-viewer[open] #closeDialog{
 position:relative!important;inset:auto!important;z-index:5!important;display:grid!important;place-items:center!important;
 box-sizing:border-box!important;flex:0 0 36px!important;width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;
 padding:6px!important;margin:0 0 0 auto!important;border:1px solid rgba(129,204,255,.42)!important;border-radius:50%!important;
 background:rgba(22,61,105,.34)!important;color:#edf8ff!important;box-shadow:none!important;pointer-events:auto!important;touch-action:manipulation!important
}
html body #dialog#dialog.cc-r49fix1-single-viewer[open]>#dialogBody{
 position:relative!important;inset:auto!important;box-sizing:border-box!important;display:flex!important;flex-direction:column!important;
 flex:1 1 auto!important;min-height:0!important;height:auto!important;max-height:none!important;width:100%!important;max-width:100%!important;
 margin:0!important;padding:0 8px calc(8px + env(safe-area-inset-bottom,0px))!important;overflow:hidden!important;
 border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important
}
/* Photo stage fills the screen while actual controls remain small and reachable. */
html body #dialog#dialog.cc-r49fix1-single-viewer[open] .cc-viewer-stage{
 position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;
 box-sizing:border-box!important;width:100%!important;height:auto!important;flex:1 1 auto!important;min-height:0!important;
 max-height:none!important;margin:0!important;padding:0!important;overflow:hidden!important;
 border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important
}
html body #dialog#dialog.cc-r49fix1-single-viewer[open] .cc-viewer-stage img,
html body #dialog#dialog.cc-r49fix1-single-viewer[open] .cc-viewer-stage video{
 display:block!important;max-width:100%!important;max-height:100%!important;width:auto!important;height:auto!important;
 object-fit:contain!important;border-radius:0!important;box-shadow:none!important
}
html body #dialog#dialog.cc-r49fix1-single-viewer[open] .cc-viewer-name{
 flex:0 0 auto!important;margin:0!important;padding:2px 8px!important;font:400 11px/1.2 system-ui,sans-serif!important;
 color:rgba(197,217,241,.7)!important;text-align:center!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important
}
html body #dialog#dialog.cc-r49fix1-single-viewer[open] .cc-viewer-nav,
html body #dialog#dialog.cc-r49fix1-single-viewer[open] .cc-viewer-tools{
 position:relative!important;inset:auto!important;flex:0 0 auto!important;display:flex!important;align-items:center!important;justify-content:center!important;
 gap:7px!important;width:100%!important;box-sizing:border-box!important;min-height:0!important;margin:0!important;padding:5px 6px!important;
 border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important
}
html body #dialog#dialog.cc-r49fix1-single-viewer[open] .cc-viewer-tools small{display:none!important}
html body #dialog#dialog.cc-r49fix1-single-viewer[open] .cc-viewer-nav .plain-btn,
html body #dialog#dialog.cc-r49fix1-single-viewer[open] .cc-viewer-tools .plain-btn{
 min-height:34px!important;max-width:none!important;padding:7px 13px!important;margin:0!important;
 font:600 12px/1.1 system-ui,sans-serif!important;border-radius:18px!important;
 border:1px solid rgba(116,194,255,.40)!important;background:rgba(25,69,119,.28)!important;color:#e1f2ff!important;
 box-shadow:inset 0 1px rgba(255,255,255,.08)!important;backdrop-filter:blur(10px)!important
}
/* Stories share the same screen without a second paper/card container. */
html body #dialog#dialog.cc-r49fix1-single-viewer[open] .cc-story-stage{
 display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-height:0!important;max-height:none!important;
 box-sizing:border-box!important;width:100%!important;margin:0!important;padding:0!important;overflow:hidden!important;
 background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important
}
html body #dialog#dialog.cc-r49fix1-single-viewer[open] .story-viewer,
html body #dialog#dialog.cc-r49fix1-single-viewer[open] .story-frame{
 display:flex!important;align-items:center!important;justify-content:center!important;flex:1 1 auto!important;min-height:0!important;
 box-sizing:border-box!important;max-height:none!important;width:100%!important;margin:0!important;padding:0!important;
 border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important
}
html body #dialog#dialog.cc-r49fix1-single-viewer[open] .story-full-media{
 display:block!important;object-fit:contain!important;max-width:100%!important;max-height:100%!important;
 border:0!important;border-radius:0!important;box-shadow:none!important
}
html body #dialog#dialog.cc-r49fix1-single-viewer[open] .cc-story-progress,
html body #dialog#dialog.cc-r49fix1-single-viewer[open] .cc-story-hint,
html body #dialog#dialog.cc-r49fix1-single-viewer[open] .story-own-actions{
 flex:0 0 auto!important;max-height:85px!important;margin:0!important;padding:4px 8px!important;box-shadow:none!important;
 background:transparent!important;border:0!important
}
/* Old recording strips must never coexist with the new central recorder. */
html body.cc-r49-recording #recordingBanner,
html body.cc-r49-recording #ccRecordHudV40,
html body.cc-r49-recording #cc28VideoStage,
html body.cc-r49-recording #ccVoiceRibbon,
html body.cc-r49-recording .cc-voice-rec{
 display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important
}
html body #ccR49Recorder{z-index:2147483500!important}


/* R49 FIX2: standalone full-viewport media screen, not nested in legacy #dialog. */
html body dialog#ccR50MediaScreen,
html body dialog#ccR50MediaScreen[open]{
 position:fixed!important;inset:0!important;top:0!important;left:0!important;right:0!important;bottom:0!important;
 display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:stretch!important;
 box-sizing:border-box!important;width:100vw!important;height:100vh!important;height:100dvh!important;
 min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;
 margin:0!important;padding:0!important;border:0!important;border-radius:0!important;
 box-shadow:none!important;transform:none!important;overflow:hidden!important;
 background:radial-gradient(ellipse at 50% 45%,#0c2345,#010917 85%)!important;color:#f0f7ff!important;
 z-index:2147483600!important;
}
html body dialog#ccR50MediaScreen::backdrop{background:#010917!important;backdrop-filter:none!important}
html body #ccR50MediaScreen #ccR50MediaBody{display:flex!important;flex-direction:column!important;position:relative!important;flex:1 1 auto!important;min-height:0!important;width:100%!important;max-height:none!important;padding:0!important;margin:0!important;overflow:hidden!important;background:transparent!important;border:0!important;border-radius:0!important}
html body #ccR50MediaScreen .cc-r50-toolbar{position:absolute!important;z-index:100!important;inset:0 0 auto!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;width:100%!important;min-height:56px!important;box-sizing:border-box!important;padding:env(safe-area-inset-top, 4px) 12px 4px!important;background:linear-gradient(180deg,rgba(2,12,31,.58),rgba(2,12,31,0))!important;border:0!important;border-radius:0!important;box-shadow:none!important;pointer-events:none!important}
html body #ccR50MediaScreen .cc-r50-title{opacity:0!important;visibility:hidden!important;font:600 14px system-ui,sans-serif!important;color:#dff5ff!important;transition:opacity .18s!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
html body #ccR50MediaScreen.cc-r50-controls-visible .cc-r50-title{opacity:1!important;visibility:visible!important}
html body #ccR50MediaScreen .cc-r50-close{pointer-events:auto!important;flex:0 0 40px!important;width:40px!important;height:40px!important;display:grid!important;place-items:center!important;padding:0!important;margin-left:auto!important;border-radius:50%!important;border:1px solid rgba(128,212,255,.46)!important;background:rgba(6,24,53,.43)!important;backdrop-filter:blur(14px)!important;-webkit-backdrop-filter:blur(14px)!important;color:#e9f8ff!important;font:20px/1 system-ui,sans-serif!important;box-shadow:0 2px 16px rgba(0,0,0,.17)!important;z-index:105!important}
html body #ccR50MediaScreen .cc-viewer-stage,html body #ccR50MediaScreen .cc-story-stage{display:flex!important;position:absolute!important;inset:0!important;box-sizing:border-box!important;width:100%!important;height:100%!important;max-height:none!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:hidden!important;align-items:center!important;justify-content:center!important;background:transparent!important;touch-action:none!important}
html body #ccR50MediaScreen .cc-viewer-stage img,html body #ccR50MediaScreen .cc-viewer-stage video{display:block!important;max-width:100%!important;max-height:100%!important;width:auto!important;height:auto!important;object-fit:contain!important;border:0!important;border-radius:0!important;box-shadow:none!important}
html body #ccR50MediaScreen .story-viewer,html body #ccR50MediaScreen .story-frame{display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;max-width:100%!important;max-height:100%!important;width:100%!important;height:100%!important;min-height:0!important;flex:1 1 auto!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;overflow:hidden!important}
html body #ccR50MediaScreen .story-full-media{max-width:100%!important;max-height:100%!important;object-fit:contain!important;border:0!important;border-radius:0!important}
html body #ccR50MediaScreen .cc-viewer-name,html body #ccR50MediaScreen .cc-viewer-nav,html body #ccR50MediaScreen .cc-viewer-tools{position:absolute!important;z-index:70!important;left:12px!important;right:12px!important;display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:8px!important;background:rgba(4,22,49,.82)!important;backdrop-filter:blur(15px)!important;border:1px solid rgba(103,182,246,.22)!important;border-radius:14px!important;padding:7px!important;box-sizing:border-box!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;transform:translateY(-5px)!important;transition:opacity .10s,transform .10s!important}
html body #ccR50MediaScreen.cc-r50-controls-visible :is(.cc-viewer-name,.cc-viewer-nav,.cc-viewer-tools){opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:none!important}
html body #ccR50MediaScreen .cc-viewer-name{top:57px!important;font-size:12px!important;color:#c7e4ff!important}
html body #ccR50MediaScreen .cc-viewer-nav{top:100px!important;justify-content:space-between!important}
html body #ccR50MediaScreen .cc-viewer-tools{top:146px!important;justify-content:flex-end!important}
html body #ccR50MediaScreen .cc-viewer-tools small{display:none!important}
html body #ccR50MediaScreen .cc-viewer-nav button,html body #ccR50MediaScreen .cc-viewer-tools button{min-height:34px!important;padding:4px 11px!important;border-radius:11px!important;background:rgba(13,62,112,.34)!important;border:1px solid rgba(141,210,255,.26)!important;box-shadow:none!important;color:#dff3ff!important;font-size:13px!important}
html body #ccR50MediaScreen .cc-story-progress{position:absolute!important;z-index:40!important;top:60px!important;left:10px!important;right:10px!important;margin:0!important;background:transparent!important}
html body #ccR50MediaScreen .cc-story-hint{display:none!important}
html body #ccR50MediaScreen .story-own-actions{position:absolute!important;z-index:80!important;top:92px!important;left:12px!important;right:12px!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;background:rgba(2,18,42,.56)!important;border-radius:12px!important}
html body #ccR50MediaScreen.cc-r50-controls-visible .story-own-actions{opacity:1!important;visibility:visible!important;pointer-events:auto!important}
html body #ccR50MediaScreen .story-caption{position:absolute!important;z-index:40!important;bottom:calc(16px + env(safe-area-inset-bottom,0px))!important;max-width:92%!important;color:#fff!important;background:rgba(0,11,25,.38)!important;border:0!important;border-radius:12px!important;padding:8px 12px!important}
html body #ccR50MediaScreen .cc-story-nav{z-index:30!important;background:transparent!important;opacity:.01!important;border:0!important}
html body #ccR50MediaScreen .story-error.hidden{display:none!important}
html body #ccR50MediaScreen .story-error{position:absolute!important;z-index:60!important;bottom:15%!important;left:8px!important;right:8px!important}

/* R50 Orbit Media & Dust: compact full-screen, inspired by native gallery patterns,
   not a copied Telegram skin. Existing zoom, swipes and E2EE media are preserved. */
html body dialog#ccR50MediaScreen[open]{background:#02050b!important;color:#f3f8ff!important}
html body #ccR50MediaScreen::backdrop{background:#02050b!important}
html body #ccR50MediaScreen .cc-r50-toolbar{min-height:58px!important;padding:env(safe-area-inset-top, 8px) 12px 6px!important;background:linear-gradient(180deg,rgba(0,0,0,.62),transparent)!important}
html body #ccR50MediaScreen .cc-r50-close{background:rgba(10,18,28,.48)!important;border:1px solid rgba(228,242,255,.28)!important;box-shadow:none!important}
html body #ccR50MediaScreen .cc-viewer-stage,html body #ccR50MediaScreen .cc-story-stage,html body #ccR50MediaScreen .story-viewer{background:#02050b!important}
html body #ccR50MediaScreen .cc-viewer-name,html body #ccR50MediaScreen .cc-viewer-tools,html body #ccR50MediaScreen .cc-viewer-nav{background:rgba(3,9,19,.43)!important;border:0!important;border-radius:12px!important;box-shadow:none!important;backdrop-filter:blur(12px)!important}
html body #ccR50MediaScreen .cc-viewer-name{top:62px!important;font-size:12px!important}
html body #ccR50MediaScreen .cc-viewer-nav{top:auto!important;bottom:calc(20px + env(safe-area-inset-bottom,0px))!important;justify-content:space-between!important}
html body #ccR50MediaScreen .cc-viewer-tools{top:auto!important;bottom:calc(73px + env(safe-area-inset-bottom,0px))!important;justify-content:center!important}
html body #ccR50MediaScreen .cc-viewer-nav button,html body #ccR50MediaScreen .cc-viewer-tools button{border:1px solid rgba(205,229,250,.18)!important;background:rgba(12,30,56,.40)!important}
html body #ccR50MediaScreen .cc-story-progress{top:64px!important}
html body #ccR50MediaScreen .story-caption{background:linear-gradient(180deg,transparent,rgba(0,0,0,.67))!important;border-radius:0!important}
/* GPU-bounded particle disintegration. The effect never changes deletion scope. */
.cc-r50-atom-overlay{position:fixed!important;left:var(--r50-x)!important;top:var(--r50-y)!important;width:var(--r50-w)!important;height:var(--r50-h)!important;pointer-events:none!important;z-index:2147482000!important;overflow:visible!important;contain:layout style!important}
.cc-r50-atom-fragment{will-change:transform,opacity;pointer-events:none!important;overflow:hidden!important;box-sizing:border-box!important}
.cc-r50-atom-spark{position:absolute!important;display:block!important;width:3px!important;height:3px!important;border-radius:50%!important;background:rgba(111,217,255,.85)!important;box-shadow:0 0 5px rgba(93,194,252,.46)!important;pointer-events:none!important;animation:ccR50AtomFly .52s ease-out both}
.cc-r50-atom-spark:nth-child(3n){width:2px!important;height:2px!important;background:rgba(230,247,255,.9)!important}
@keyframes ccR50AtomFly{0%{opacity:0;transform:translate(0,0) scale(.4)}20%{opacity:1}100%{opacity:0;transform:translate(var(--atom-dx),var(--atom-dy)) scale(.1)}}
@media(prefers-reduced-motion:reduce){.cc-r50-atom-fragment,.cc-r50-atom-spark{animation:none!important;transition:none!important}}

/* R50 FIX3: deliberate visible dust, ~1.8 seconds; only within deletion overlay. */
.cc-r50-atom-spark{animation-duration:1.52s!important;animation-timing-function:cubic-bezier(.18,.65,.26,1)!important;}
#ccR50MediaScreen .cc-story-stage,#ccR50MediaScreen .cc-viewer-stage,#ccR50MediaScreen .cc-r50-media-content{touch-action:none!important;overscroll-behavior:contain!important;}
@media(prefers-reduced-motion:reduce){.cc-r50-atom-spark{animation:none!important}}

/* R50 FIX4: photo actions are one quiet top toolbar, never a separate bottom Save panel. */
html body #ccR50MediaScreen[data-kind="photo"] .cc-r50-title{display:none!important}

html body #ccR50MediaScreen .cc-r50-photo-actions{display:flex!important;align-items:center!important;
 justify-content:flex-end!important;gap:5px!important;flex:1 1 auto!important;min-width:0!important;
 pointer-events:none!important;opacity:0!important;visibility:hidden!important;transition:opacity .14s ease!important}
html body #ccR50MediaScreen.cc-r50-controls-visible .cc-r50-photo-actions{pointer-events:auto!important;
 opacity:1!important;visibility:visible!important}
html body #ccR50MediaScreen .cc-r50-photo-action{min-height:34px!important;min-width:0!important;
 padding:5px 8px!important;margin:0!important;white-space:nowrap!important;border-radius:10px!important;
 background:rgba(13,29,48,.62)!important;border:1px solid rgba(185,219,255,.23)!important;
 color:#e7f5ff!important;font:500 12px/1.2 system-ui,sans-serif!important;
 -webkit-backdrop-filter:blur(12px)!important;backdrop-filter:blur(12px)!important}
html body #ccR50MediaScreen .cc-r50-photo-action:disabled{opacity:.4!important;pointer-events:none!important}
html body #ccR50MediaScreen #ccViewerSaveStatus:not(:empty){position:absolute!important;top:calc(54px + env(safe-area-inset-top,0px))!important;
 left:12px!important;right:12px!important;font-size:12px!important;color:#dff4ff!important;text-align:center!important;
 padding:7px 10px!important;border-radius:8px!important;background:rgba(3,12,24,.75)!important;pointer-events:none!important}
@media(max-width:390px){html body #ccR50MediaScreen .cc-r50-toolbar{gap:5px!important;padding-left:8px!important;padding-right:8px!important}
 html body #ccR50MediaScreen .cc-r50-photo-actions{gap:3px!important}
 html body #ccR50MediaScreen .cc-r50-photo-action{padding:5px 5px!important;font-size:11px!important}}
/* True micro-atom dissolution: masks contain thousands of ~4px irregular pixels. */
.cc-r50-atom-fragment{backface-visibility:hidden!important;transform-origin:center!important}
.cc-r50-atom-spark{width:2px!important;height:2px!important;box-shadow:0 0 4px rgba(93,194,252,.35)!important;
 animation-duration:1.72s!important;animation-timing-function:cubic-bezier(.12,.50,.26,1)!important}
.cc-r50-atom-spark:nth-child(4n){width:1px!important;height:1px!important;background:rgba(245,252,255,.95)!important}
@media(prefers-reduced-motion:reduce){.cc-r50-atom-fragment,.cc-r50-atom-spark{animation:none!important;transition:none!important}}

/* R50 FIX5 — sharper atomic particles, crisp pin, icon-only photo actions, compact live Pulse avatars */
html body #ccR50MediaScreen .cc-r50-photo-actions{gap:9px!important;justify-content:center!important}
html body #ccR50MediaScreen .cc-r50-photo-action{
 display:grid!important;place-items:center!important;flex:0 0 40px!important;width:40px!important;height:40px!important;
 min-height:40px!important;min-width:40px!important;padding:0!important;border-radius:50%!important;
 background:rgba(9,26,49,.58)!important;border:1px solid rgba(176,223,252,.29)!important;
 -webkit-tap-highlight-color:transparent!important}
html body #ccR50MediaScreen .cc-r50-photo-action svg{display:block!important;width:20px!important;height:20px!important;pointer-events:none!important}
html body #ccR50MediaScreen .cc-r50-photo-action:focus-visible{outline:2px solid #7addff!important;outline-offset:2px!important}
@media(max-width:360px){html body #ccR50MediaScreen .cc-r50-photo-actions{gap:5px!important}}
html body .cc-pin-glass-card .cc-pin-glass-icon{display:grid!important;place-items:center!important;flex:0 0 28px!important;
 width:28px!important;height:28px!important;border-radius:9px!important;color:#d1edff!important;
 background:linear-gradient(140deg,rgba(80,161,207,.25),rgba(15,61,110,.13))!important;
 border:1px solid rgba(155,220,255,.25)!important;transform:none!important;box-shadow:none!important}
html body .cc-pin-glass-card .cc-pin-glass-icon svg{display:block!important;width:18px!important;height:18px!important;transform:none!important;
 stroke-width:1.85!important;filter:none!important;opacity:1!important}
html.cc-orbit-theme #ccOrbitApp .orb-pulse-heading{display:flex!important;align-items:center!important;
 justify-content:space-between!important;gap:7px!important;flex-wrap:nowrap!important;min-width:0!important}
html.cc-orbit-theme #ccOrbitApp .orb-pulse-heading h2{min-width:0!important;flex:0 1 auto!important;font-size:clamp(13px,3.5vw,17px)!important;
 line-height:1.25!important;margin:0!important;white-space:nowrap!important}
html.cc-orbit-theme #ccOrbitApp .orb-pulse-mini-rail{display:flex!important;align-items:center!important;justify-content:flex-end!important;
 flex:1 1 auto!important;min-width:0!important;gap:7px!important}
html.cc-orbit-theme #ccOrbitApp .orb-pulse-mini-item{position:relative!important;display:grid!important;place-items:center!important;
 width:35px!important;height:35px!important;flex:0 0 35px!important;margin:0!important;padding:0!important;
 border-radius:50%!important;border:1px solid rgba(114,210,255,.40)!important;
 background:rgba(6,24,51,.56)!important;box-shadow:inset 0 0 7px rgba(88,202,245,.1)!important;overflow:visible!important}
html.cc-orbit-theme #ccOrbitApp .orb-pulse-mini-item .orb-person-image{width:30px!important;height:30px!important;
 min-width:30px!important;min-height:30px!important;border-radius:50%!important;overflow:hidden!important;
 font-size:13px!important;margin:0!important;padding:0!important}
html.cc-orbit-theme #ccOrbitApp .orb-pulse-mini-item .orb-person-image img{width:100%!important;height:100%!important;object-fit:cover!important}
html.cc-orbit-theme #ccOrbitApp .orb-pulse-mini-fallback{display:grid!important;place-items:center!important;width:28px!important;height:28px!important}
html.cc-orbit-theme #ccOrbitApp .orb-pulse-mini-fallback svg{width:16px!important;height:16px!important}
html.cc-orbit-theme #ccOrbitApp .orb-pulse-mini-count{position:absolute!important;right:-5px!important;top:-5px!important;
 display:grid!important;place-items:center!important;min-width:17px!important;height:17px!important;
 padding:0 3px!important;border-radius:20px!important;box-sizing:border-box!important;
 background:#205e9c!important;color:#fff!important;border:1px solid rgba(180,230,255,.65)!important;
 font:700 10px/1 system-ui,sans-serif!important;text-shadow:none!important;box-shadow:0 1px 5px #00152a!important}
html.cc-orbit-theme #ccOrbitApp .orb-pulse-mini-overflow{display:grid!important;place-items:center!important;
 flex:0 0 29px!important;width:29px!important;height:29px!important;margin:0!important;padding:0!important;
 border-radius:50%!important;background:rgba(52,111,154,.36)!important;border:1px solid rgba(129,216,255,.25)!important;
 color:#d6f2ff!important;font:700 11px system-ui,sans-serif!important}
html.cc-orbit-theme #ccOrbitApp .orb-pulse-mini-empty{font:500 11px system-ui,sans-serif!important;
 color:#91bed9!important;white-space:nowrap!important}
@media(max-width:360px){html.cc-orbit-theme #ccOrbitApp .orb-pulse-mini-rail{gap:4px!important}
 html.cc-orbit-theme #ccOrbitApp .orb-pulse-mini-item{width:30px!important;height:30px!important;flex-basis:30px!important}
 html.cc-orbit-theme #ccOrbitApp .orb-pulse-mini-item .orb-person-image{width:26px!important;height:26px!important;min-width:26px!important;min-height:26px!important}
 html.cc-orbit-theme #ccOrbitApp .orb-pulse-mini-count{min-width:15px!important;height:15px!important;font-size:9px!important}}
.cc-r50-atom-fragment{filter:none!important;image-rendering:auto!important}
.cc-r50-atom-spark{filter:none!important;box-shadow:0 0 2px rgba(101,213,255,.32)!important}
@media(prefers-reduced-motion:reduce){.cc-r50-atom-fragment,.cc-r50-atom-spark{animation:none!important}}


/* R50 FIX6: fast, sharp single-clone dissolution for image/video/file bubbles.
   Text-only bubbles keep the detailed FIX5 masked pixels. */
.cc-r50-media-light-dust .cc-r50-media-atom-shell{backface-visibility:hidden!important;filter:none!important;will-change:opacity,transform!important}
.cc-r50-media-light-dust .cc-r50-media-atom-particles{position:absolute!important;inset:0!important;pointer-events:none!important;contain:layout style!important}
.cc-r50-media-light-dust .cc-r50-atom-spark{filter:none!important;box-shadow:none!important;animation-duration:1.68s!important}
.cc-pin-glass-card .cc-pin-glass-caption:empty{display:none!important}

/* R50 FIX7: lightweight media atoms and consistent dark-glass reply UI. */
.cc-r50-media-light-dust .cc-r50-media-atom-shell{opacity:1;visibility:visible!important;transform:translate3d(0,0,0);}
.cc-r50-media-light-dust .cc-r50-media-pixel{width:3px!important;height:3px!important;border-radius:1px!important;filter:none!important;box-shadow:none!important;background-image:none!important;opacity:1;}
.cc-r50-media-light-dust .cc-r50-media-atom-particles{z-index:2;contain:layout style;pointer-events:none;}
html body .composer-wrap .edit-banner.cc-r50-reply-mode{display:flex!important;align-items:center!important;gap:9px!important;min-height:45px!important;max-height:72px!important;padding:7px 9px!important;border:1px solid rgba(123,199,248,.28)!important;border-left:2px solid rgba(138,214,255,.8)!important;border-radius:12px!important;background:linear-gradient(115deg,rgba(16,42,72,.86),rgba(8,22,44,.76))!important;box-shadow:0 4px 16px rgba(0,0,0,.10)!important;color:#dceefa!important;}
html body .composer-wrap .edit-banner.cc-r50-reply-mode.hidden{display:none!important;}
html body .edit-banner.cc-r50-reply-mode #editBannerText{display:flex!important;align-items:center!important;gap:8px!important;flex:1 1 auto!important;min-width:0!important;overflow:hidden!important;color:#dceefa!important;}
html body .edit-banner.cc-r50-reply-mode .cc-r50-reply-symbol{display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px;border-radius:8px;background:rgba(105,173,240,.14);color:#9edaff;font:600 20px system-ui;}
html body .edit-banner.cc-r50-reply-mode .cc-r50-reply-content{display:flex;flex-direction:column;gap:1px;min-width:0;overflow:hidden;}
html body .edit-banner.cc-r50-reply-mode .cc-r50-reply-content strong{font:600 12px system-ui,sans-serif;color:#9edaff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
html body .edit-banner.cc-r50-reply-mode .cc-r50-reply-content small{font:400 12px system-ui,sans-serif;color:#d5e6f6;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
html body .edit-banner.cc-r50-reply-mode #cancelEdit{flex:0 0 27px!important;width:27px!important;height:27px!important;border-radius:50%!important;border:1px solid rgba(166,207,244,.22)!important;background:rgba(53,89,135,.25)!important;color:#e3f3ff!important;font:400 22px system-ui!important;line-height:22px!important;margin:0!important;padding:0!important;}
html body #messages .message .reply-preview{display:block!important;max-width:100%!important;margin:4px 0 8px!important;padding:6px 10px!important;border:1px solid rgba(133,205,250,.25)!important;border-left:2px solid rgba(133,205,250,.85)!important;border-radius:9px!important;background:rgba(19,47,80,.48)!important;background-image:none!important;color:#ceeaff!important;box-shadow:none!important;text-align:left!important;font:500 12px/1.35 system-ui!important;white-space:normal!important;overflow-wrap:anywhere!important;}

/* R50 FIX8: photo-image micro-pixels and accessible unpin controls. */
.cc-r50-pixel-dissolve .cc-r50-photo-atom-canvas,.cc-r50-pixel-dissolve .cc-r50-photo-fly-canvas{position:absolute!important;pointer-events:none!important;image-rendering:auto!important;max-width:none!important;will-change:contents!important;z-index:3!important;}
.cc-r50-pixel-dissolve .cc-r50-photo-fly-canvas{z-index:4!important;}
#pinBar .cc-r50-pin-entry{display:flex!important;align-items:center!important;gap:4px!important;min-width:0!important;flex:1 1 0!important;}
#pinBar .cc-r50-pin-entry .cc-pin-glass-card{flex:1 1 auto!important;min-width:0!important;}
#pinBar .cc-r50-pin-remove,.cc-vetki-pin-popover .cc-vetki-pin-remove{flex:0 0 32px!important;display:grid!important;place-items:center!important;min-width:32px!important;min-height:32px!important;padding:0!important;border-radius:10px!important;border:1px solid rgba(151,206,245,.23)!important;background:rgba(26,53,85,.45)!important;color:#e5f4ff!important;font:400 22px/1 system-ui!important;cursor:pointer!important;}
#pinBar .cc-r50-pin-remove:disabled{opacity:.45!important;cursor:wait!important;}
#pinBar .cc-r50-pin-remove:focus-visible,.cc-vetki-pin-popover .cc-vetki-pin-remove:focus-visible{outline:2px solid #89d6ff!important;outline-offset:1px!important;}
.cc-vetki-pin-popover .cc-vetki-pin-entry{display:flex!important;align-items:center!important;min-width:0!important;gap:5px!important;}
.cc-vetki-pin-popover .cc-vetki-pin-entry .cc-vetki-pin-row{flex:1 1 auto!important;min-width:0!important;}
@media(max-width:360px){#pinBar .cc-r50-pin-remove,.cc-vetki-pin-popover .cc-vetki-pin-remove{flex-basis:30px!important;min-width:30px!important;min-height:30px!important;}}


/* R50 FIX10 — quiet glass selection toolbar. One low-profile strip, not
   nested luminous pills. Keep native action semantics and accessible titles. */
html body .cc-u44r4-top {
 box-sizing:border-box!important;display:flex!important;flex-direction:row!important;
 flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-start!important;
 gap:8px!important;min-height:50px!important;max-height:60px!important;
 width:calc(100% - 16px)!important;max-width:660px!important;
 margin:7px auto 9px!important;padding:5px 8px!important;
 background:linear-gradient(115deg,rgba(13,40,76,.94),rgba(7,26,51,.96))!important;
 border:1px solid rgba(134,191,237,.25)!important;
 border-radius:16px!important;box-shadow:0 7px 20px rgba(0,0,0,.20)!important;
 backdrop-filter:blur(12px)!important;-webkit-backdrop-filter:blur(12px)!important;
 overflow:hidden!important;
}
html body .cc-u44r4-top .cc-u44r4-pill{
 display:flex!important;flex-direction:row!important;align-items:center!important;
 border:0!important;outline:none!important;background:transparent!important;
 box-shadow:none!important;padding:0!important;margin:0!important;min-width:0!important;
 border-radius:0!important;
}
html body .cc-u44r4-top .cc-u44r4-close{flex:0 0 auto!important;}
html body .cc-u44r4-top .cc-u44r4-count{
 flex:1 1 auto!important;min-width:60px!important;white-space:nowrap!important;
 font-size:clamp(12px,3.3vw,15px)!important;font-weight:600!important;
 letter-spacing:0!important;color:#e5f4ff!important;line-height:1.3!important;
}
html body .cc-u44r4-top .cc-u44r4-tools{
 flex:0 1 auto!important;display:flex!important;justify-content:flex-start!important;
 margin-left:auto!important;
 align-items:center!important;gap:3px!important;min-width:0!important;
 max-width:calc(100% - 112px)!important;overflow-x:auto!important;overflow-y:hidden!important;
 scrollbar-width:none!important;-webkit-overflow-scrolling:touch!important;
}
html body .cc-u44r4-top .cc-u44r4-tools::-webkit-scrollbar{display:none!important;}
html body .cc-u44r4-top button {
 appearance:none!important;-webkit-appearance:none!important;
 display:grid!important;place-items:center!important;flex:0 0 38px!important;
 width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;
 margin:0!important;padding:8px!important;
 border:1px solid transparent!important;border-radius:11px!important;
 background:transparent!important;box-shadow:none!important;color:#dceeff!important;
 transition:background .16s ease,border-color .16s ease!important;
 touch-action:manipulation!important;
}
html body .cc-u44r4-top button:hover,
html body .cc-u44r4-top button:focus-visible{
 background:rgba(137,195,242,.13)!important;border-color:rgba(137,195,242,.21)!important;
}
html body .cc-u44r4-top .cc-u44r4-tools button[data-action="reply"]{order:0!important;}
html body .cc-u44r4-top .cc-u44r4-tools button[data-action="forward"]{order:1!important;}
html body .cc-u44r4-top .cc-u44r4-tools button[data-action="delete"]{order:2!important;}
html body .cc-u44r4-top .cc-u44r4-tools button[data-action="edit"]{order:3!important;}
html body .cc-u44r4-top .cc-u44r4-tools button[data-action="copy"]{order:4!important;}
html body .cc-u44r4-top button[data-action="delete"]{color:#ffc0c5!important;}
html body .cc-u44r4-top button:disabled{display:none!important;}
html body .cc-u44r4-top .cc-u44r4-svg{width:21px!important;height:21px!important;
 stroke:currentColor!important;stroke-width:1.8!important;fill:none!important;
 stroke-linecap:round!important;stroke-linejoin:round!important;filter:none!important;
}
@media(max-width:420px){
 html body .cc-u44r4-top{width:calc(100% - 10px)!important;padding:4px 5px!important;
  gap:4px!important;min-height:46px!important;max-height:54px!important;border-radius:14px!important;}
 html body .cc-u44r4-top button{flex-basis:36px!important;min-width:36px!important;
  width:36px!important;height:36px!important;min-height:36px!important;padding:7px!important;}
 html body .cc-u44r4-top .cc-u44r4-tools{max-width:calc(100% - 102px)!important;gap:2px!important;}
}
/* R50 FIX10 — dissolve content, not the surrounding green/blue message card.
   These classes live exclusively on temporary animation clones. The real
   message UI and persisted message contents remain unchanged. */
html body .cc-r50-atom-overlay{background:transparent!important;border:0!important;
 outline:0!important;box-shadow:none!important;}
html body .cc-r50-atom-fragment.cc-r50-atom-content-only,
html body .cc-r50-atom-fragment.cc-r50-atom-content-only :is(div,span,p,button,blockquote,b,small,section,img,video,canvas),
html body .cc-r50-atom-fragment.cc-r50-atom-content-only::before,
html body .cc-r50-atom-fragment.cc-r50-atom-content-only::after{
 background:transparent!important;background-image:none!important;
 border:0!important;outline:0!important;box-shadow:none!important;
}
html body .cc-r50-pixel-dissolve canvas.cc-r50-photo-atom-canvas,
html body .cc-r50-pixel-dissolve canvas.cc-r50-photo-fly-canvas{
 border:0!important;outline:0!important;border-radius:0!important;
 box-shadow:none!important;background:transparent!important;}

/* R50 FIX12: ACTUAL composer toolbar selectors. Historic /assets/style.css
   has two-ID !important rules that beat FIX10's generic selectors. These
   rules outrank the real Android / desktop rules without touching style.css. */
html body #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade),
html.cc-u44-fix9-android body.cc-u44r4-select #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) {
 position:relative!important;inset:auto!important;top:auto!important;right:auto!important;
 bottom:auto!important;left:auto!important;transform:none!important;
 box-sizing:border-box!important;display:flex!important;flex-direction:row!important;
 flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-start!important;
 width:calc(100% - 12px)!important;max-width:660px!important;
 height:48px!important;min-height:48px!important;max-height:48px!important;
 margin:3px auto 7px!important;padding:4px 7px!important;gap:5px!important;
 overflow:hidden!important;pointer-events:auto!important;
 background:linear-gradient(115deg,rgba(13,36,70,.94),rgba(7,25,49,.95))!important;
 background-image:linear-gradient(115deg,rgba(13,36,70,.94),rgba(7,25,49,.95))!important;
 border:1px solid rgba(134,191,237,.22)!important;border-radius:13px!important;
 box-shadow:0 4px 13px rgba(0,0,0,.18)!important;
 backdrop-filter:blur(10px)!important;-webkit-backdrop-filter:blur(10px)!important;
 z-index:10!important;
}
html body #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) .cc-u44r4-pill,
html.cc-u44-fix9-android body.cc-u44r4-select #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) .cc-u44r4-pill {
 display:flex!important;align-items:center!important;justify-content:center!important;
 min-height:0!important;height:auto!important;padding:0!important;margin:0!important;
 background:transparent!important;background-image:none!important;
 border:0!important;border-radius:0!important;box-shadow:none!important;
 backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
html body #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) .cc-u44r4-close,
html.cc-u44-fix9-android body.cc-u44r4-select #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) .cc-u44r4-close {
 flex:0 0 34px!important;width:34px!important;min-width:34px!important;
}
html body #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) .cc-u44r4-count,
html.cc-u44-fix9-android body.cc-u44r4-select #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) .cc-u44r4-count {
 flex:1 1 auto!important;min-width:60px!important;max-width:none!important;
 font:600 13px/1.2 system-ui,sans-serif!important;letter-spacing:0!important;
 color:#e7f5ff!important;text-align:left!important;padding:0 1px!important;white-space:nowrap!important;
}
html body #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) .cc-u44r4-tools,
html.cc-u44-fix9-android body.cc-u44r4-select #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) .cc-u44r4-tools {
 display:flex!important;flex:0 1 auto!important;min-width:0!important;
 width:auto!important;max-width:calc(100% - 111px)!important;gap:2px!important;
 align-items:center!important;justify-content:flex-end!important;margin-left:auto!important;
 overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important;
}
html body #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) button,
html.cc-u44-fix9-android body.cc-u44r4-select #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) button {
 box-sizing:border-box!important;display:grid!important;place-items:center!important;
 flex:0 0 34px!important;width:34px!important;min-width:34px!important;
 height:34px!important;min-height:34px!important;margin:0!important;padding:7px!important;
 background:transparent!important;background-image:none!important;
 border:0!important;border-radius:10px!important;box-shadow:none!important;
 color:#dceeff!important;touch-action:manipulation!important;
}
html body #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) button:hover,
html body #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) button:focus-visible,
html.cc-u44-fix9-android body.cc-u44r4-select #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) button:focus-visible {
 background:rgba(137,195,242,.14)!important;
}
html body #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) button:disabled,
html.cc-u44-fix9-android body.cc-u44r4-select #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) button:disabled {
 display:none!important;
}
html body #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) button[data-action="delete"],
html.cc-u44-fix9-android body.cc-u44r4-select #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) button[data-action="delete"] {
 color:#f3b7c1!important;
}
html body #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) .cc-u44r4-svg,
html.cc-u44-fix9-android body.cc-u44r4-select #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) .cc-u44r4-svg {
 width:20px!important;height:20px!important;filter:none!important;
 stroke:currentColor!important;stroke-width:1.8!important;fill:none!important;
}
@media (max-width:380px){
 html body #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade),
 html.cc-u44-fix9-android body.cc-u44r4-select #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade){
  height:45px!important;min-height:45px!important;max-height:45px!important;
  margin:2px auto 6px!important;padding:3px 5px!important;gap:3px!important;
 }
 html body #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) .cc-u44r4-count,
 html.cc-u44-fix9-android body.cc-u44r4-select #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) .cc-u44r4-count{font-size:12px!important;}
}
/* Never render a photo's decorative shell. The image canvas and tiny dust
   atoms are the only possible media animation layers, even on fallback. */
html body .cc-r50-pixel-dissolve .cc-r50-media-atom-shell{display:none!important;visibility:hidden!important;}


/* FIX13: separate floating selection counter and action dock. No old blue block.
   Applies only to the real selection toolbar inside the composer. */
html body #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade),
html.cc-u44-fix9-android body.cc-u44r4-select #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) {
 position:relative!important;inset:auto!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;
 display:flex!important;flex:0 0 auto!important;justify-content:center!important;align-items:center!important;flex-wrap:nowrap!important;
 width:max-content!important;max-width:calc(100% - 12px)!important;min-height:44px!important;height:44px!important;max-height:44px!important;
 margin:3px auto 8px!important;padding:0!important;gap:7px!important;overflow:visible!important;
 border:0!important;border-radius:0!important;box-shadow:none!important;
 background:transparent!important;background-image:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
 z-index:34!important;pointer-events:auto!important;
}
html body #app #active .composer-wrap > .cc-u44r4-top .cc-u44r4-pill,
html.cc-u44-fix9-android body.cc-u44r4-select #app #active .composer-wrap > .cc-u44r4-top .cc-u44r4-pill{
 flex:0 0 auto!important;min-width:0!important;height:42px!important;min-height:42px!important;max-height:42px!important;
 background:rgba(8,25,48,.76)!important;background-image:none!important;
 border:1px solid rgba(132,195,242,.18)!important;border-radius:24px!important;
 box-shadow:0 5px 17px rgba(0,0,0,.16)!important;
 backdrop-filter:blur(13px)!important;-webkit-backdrop-filter:blur(13px)!important;
}
html body #app #active .composer-wrap > .cc-u44r4-top .cc-u44r4-close{
 width:37px!important;min-width:37px!important;padding:0!important;border-right:0!important;border-radius:22px 0 0 22px!important;
 margin-right:-7px!important;z-index:1!important;
}
html body #app #active .composer-wrap > .cc-u44r4-top .cc-u44r4-count{
 min-width:33px!important;max-width:54px!important;flex:0 0 auto!important;
 padding:0 10px 0 3px!important;margin-right:0!important;margin-left:-8px!important;
 border-left:0!important;border-radius:0 22px 22px 0!important;
 color:#c8e9ff!important;font:700 16px/1 system-ui,sans-serif!important;font-variant-numeric:tabular-nums!important;
}
html body #app #active .composer-wrap > .cc-u44r4-top .cc-u44r4-tools{
 width:auto!important;max-width:none!important;min-width:0!important;flex:0 0 auto!important;
 display:flex!important;align-items:center!important;justify-content:center!important;
 padding:2px 5px!important;margin:0!important;gap:3px!important;overflow:visible!important;
}
html body #app #active .composer-wrap > .cc-u44r4-top button,
html.cc-u44-fix9-android body.cc-u44r4-select #app #active .composer-wrap > .cc-u44r4-top button{
 display:grid!important;place-items:center!important;min-height:36px!important;height:36px!important;
 min-width:36px!important;width:36px!important;flex:0 0 36px!important;
 margin:0!important;padding:7px!important;border:0!important;border-radius:18px!important;
 background:transparent!important;background-image:none!important;box-shadow:none!important;
 color:#e7f6ff!important;touch-action:manipulation!important;
}
html body #app #active .composer-wrap > .cc-u44r4-top .cc-u44r4-tools button[data-action=delete]{color:#ffb4b7!important}
html body #app #active .composer-wrap > .cc-u44r4-top .cc-u44r4-tools button[data-action=more]{color:#9cc5e4!important}
html body #app #active .composer-wrap > .cc-u44r4-top button:focus-visible{outline:2px solid #8bcdf8!important;outline-offset:1px!important}
html body #app #active .composer-wrap > .cc-u44r4-top button:disabled{display:none!important}
html body #app #active .composer-wrap > .cc-u44r4-top .cc-u44r4-svg{width:21px!important;height:21px!important;stroke:currentColor!important;fill:none!important;stroke-width:1.8!important}
html body #app #active .composer-wrap > .cc-u44r4-top .cc-r53-extra-menu{
 position:absolute!important;top:auto!important;bottom:calc(100% + 7px)!important;right:0!important;
 display:flex!important;flex-direction:column!important;gap:3px!important;box-sizing:border-box!important;
 padding:7px!important;min-width:164px!important;width:auto!important;height:auto!important;
 background:rgba(9,26,48,.96)!important;border:1px solid rgba(135,194,238,.23)!important;
 border-radius:15px!important;box-shadow:0 8px 24px rgba(0,0,0,.24)!important;
 backdrop-filter:blur(16px)!important;-webkit-backdrop-filter:blur(16px)!important;z-index:45!important;
}
html body #app #active .composer-wrap > .cc-u44r4-top .cc-r53-extra-menu[hidden]{display:none!important}
html body #app #active .composer-wrap > .cc-u44r4-top .cc-r53-extra-menu button{
 display:flex!important;flex:0 0 auto!important;align-items:center!important;justify-content:flex-start!important;
 gap:10px!important;width:100%!important;min-width:0!important;height:39px!important;min-height:39px!important;
 padding:8px 10px!important;border-radius:10px!important;color:#d9efff!important;background:transparent!important;
 font:500 13px/1.25 system-ui,sans-serif!important;white-space:nowrap!important;
}
html body #app #active .composer-wrap > .cc-u44r4-top .cc-r53-extra-menu button:disabled{display:none!important}
html body #app #active .composer-wrap > .cc-u44r4-top .cc-r53-extra-menu button:hover{background:rgba(120,184,232,.16)!important}
html body #app #active .composer-wrap > .cc-u44r4-top .cc-r53-extra-menu .cc-u44r4-svg{width:17px!important;height:17px!important;flex:0 0 17px!important}
@media(max-width:360px){
 html body #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade){gap:4px!important;max-width:calc(100% - 6px)!important}
 html body #app #active .composer-wrap > .cc-u44r4-top .cc-u44r4-tools{gap:0!important;padding:2px 3px!important}
 html body #app #active .composer-wrap > .cc-u44r4-top button{min-width:33px!important;width:33px!important;flex-basis:33px!important}
}
/* Override the EXACT FIX12 high-specificity selectors, including Android. */
html body #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) .cc-u44r4-pill,
html.cc-u44-fix9-android body.cc-u44r4-select #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) .cc-u44r4-pill {
 display:flex!important;align-items:center!important;justify-content:center!important;
 min-height:42px!important;height:42px!important;max-height:42px!important;
 background:rgba(9,30,56,.85)!important;background-image:none!important;
 border:1px solid rgba(131,195,240,.20)!important;border-radius:24px!important;
 box-shadow:0 4px 13px rgba(0,0,0,.16)!important;
 backdrop-filter:blur(12px)!important;-webkit-backdrop-filter:blur(12px)!important;
}
html body #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) .cc-u44r4-close,
html.cc-u44-fix9-android body.cc-u44r4-select #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) .cc-u44r4-close {
 flex:0 0 36px!important;width:36px!important;min-width:36px!important;margin-right:-8px!important;
 border-radius:22px 0 0 22px!important;border-right:0!important;
}
html body #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) .cc-u44r4-count,
html.cc-u44-fix9-android body.cc-u44r4-select #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) .cc-u44r4-count {
 flex:0 0 auto!important;width:auto!important;min-width:58px!important;max-width:none!important;
 margin-left:-8px!important;margin-right:0!important;padding:0 12px 0 5px!important;
 border-radius:0 22px 22px 0!important;border-left:0!important;
 color:#e0f3ff!important;font:700 15px/1 system-ui,sans-serif!important;white-space:nowrap!important;
}
html body #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) .cc-u44r4-count::after,
html.cc-u44-fix9-android body.cc-u44r4-select #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) .cc-u44r4-count::after{
 content:' выбрано';font:500 10px/1.1 system-ui,sans-serif!important;margin-left:5px!important;color:#91bedc!important;
}
html body #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) .cc-u44r4-tools,
html.cc-u44-fix9-android body.cc-u44r4-select #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) .cc-u44r4-tools {
 display:flex!important;align-items:center!important;justify-content:center!important;gap:2px!important;
 padding:2px 5px!important;min-width:0!important;max-width:none!important;width:auto!important;margin:0!important;
 flex:0 0 auto!important;overflow:visible!important;
}
html body #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) button[data-action=reply],
html.cc-u44-fix9-android body.cc-u44r4-select #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) button[data-action=reply]{order:0!important}
html body #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) button[data-action=forward],
html.cc-u44-fix9-android body.cc-u44r4-select #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) button[data-action=forward]{order:1!important}
html body #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) button[data-action=delete],
html.cc-u44-fix9-android body.cc-u44r4-select #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) button[data-action=delete]{order:2!important}
html body #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) button[data-action=more],
html.cc-u44-fix9-android body.cc-u44r4-select #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) button[data-action=more]{order:3!important}
@media(max-width:350px){
 html body #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) .cc-u44r4-count,
 html.cc-u44-fix9-android body.cc-u44r4-select #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) .cc-u44r4-count{min-width:55px!important;padding-right:7px!important}
 html body #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) .cc-u44r4-count::after,
 html.cc-u44-fix9-android body.cc-u44r4-select #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) .cc-u44r4-count::after{font-size:9px!important}
}


/* R50 FIX14 — no blue backing, exact readable selection count, copy on the front row.
   This block intentionally comes AFTER FIX12/FIX13 and matches their Android-specific
   selector specificity. No auth, composer state, media, or E2EE layout changes. */
html body #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade),
html.cc-u44-fix9-android body.cc-u44r4-select #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade){
 display:flex!important;align-items:center!important;justify-content:center!important;
 width:max-content!important;max-width:calc(100% - 8px)!important;
 height:42px!important;min-height:42px!important;max-height:42px!important;
 margin:4px auto 8px!important;padding:0 2px!important;gap:5px!important;
 background:none!important;background-image:none!important;border:0!important;
 border-radius:0!important;box-shadow:none!important;outline:0!important;
 backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
 overflow:visible!important;white-space:nowrap!important;
}
html body #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) .cc-u44r4-pill,
html.cc-u44-fix9-android body.cc-u44r4-select #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) .cc-u44r4-pill{
 display:flex!important;align-items:center!important;justify-content:center!important;
 background:none!important;background-image:none!important;border:0!important;
 border-radius:0!important;outline:0!important;box-shadow:none!important;
 backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
 min-height:38px!important;height:38px!important;max-height:38px!important;
 padding:0!important;margin:0!important;overflow:visible!important;
}
html body #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) .cc-u44r4-close,
html.cc-u44-fix9-android body.cc-u44r4-select #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) .cc-u44r4-close{
 flex:0 0 34px!important;width:34px!important;min-width:34px!important;max-width:34px!important;
 margin:0!important;padding:0!important;z-index:auto!important;
}
html body #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) .cc-u44r4-count,
html.cc-u44-fix9-android body.cc-u44r4-select #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) .cc-u44r4-count{
 flex:0 0 auto!important;width:max-content!important;min-width:max-content!important;max-width:none!important;
 margin:0!important;padding:0 4px!important;box-sizing:content-box!important;
 overflow:visible!important;text-overflow:clip!important;white-space:nowrap!important;
 color:#f0f3f6!important;font:700 15px/1.2 system-ui,sans-serif!important;
 font-variant-numeric:tabular-nums!important;letter-spacing:0!important;
}
html body #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) .cc-u44r4-count::after,
html.cc-u44-fix9-android body.cc-u44r4-select #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) .cc-u44r4-count::after{
 content:' выбрано'!important;color:rgba(230,235,239,.76)!important;
 font:500 11px/1.2 system-ui,sans-serif!important;margin-left:3px!important;
}
html body #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) .cc-u44r4-tools,
html.cc-u44-fix9-android body.cc-u44r4-select #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) .cc-u44r4-tools{
 flex:0 0 auto!important;display:flex!important;justify-content:center!important;align-items:center!important;
 width:max-content!important;min-width:0!important;max-width:none!important;
 gap:2px!important;padding:0!important;margin:0!important;
 overflow:visible!important;
}
html body #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) button,
html.cc-u44-fix9-android body.cc-u44r4-select #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) button{
 display:grid!important;place-items:center!important;
 flex:0 0 36px!important;min-width:36px!important;width:36px!important;
 min-height:36px!important;height:36px!important;max-height:36px!important;
 margin:0!important;padding:7px!important;border:0!important;
 border-radius:10px!important;color:#eff4f8!important;
 background:none!important;background-image:none!important;box-shadow:none!important;
}
html body #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) .cc-u44r4-tools button[data-action=reply],
html.cc-u44-fix9-android body.cc-u44r4-select #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) .cc-u44r4-tools button[data-action=reply]{order:0!important}
html body #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) .cc-u44r4-tools button[data-action=copy],
html.cc-u44-fix9-android body.cc-u44r4-select #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) .cc-u44r4-tools button[data-action=copy]{order:1!important}
html body #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) .cc-u44r4-tools button[data-action=forward],
html.cc-u44-fix9-android body.cc-u44r4-select #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) .cc-u44r4-tools button[data-action=forward]{order:2!important}
html body #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) .cc-u44r4-tools button[data-action=delete],
html.cc-u44-fix9-android body.cc-u44r4-select #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) .cc-u44r4-tools button[data-action=delete]{order:3!important;color:#ffbdc0!important}
html body #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) .cc-u44r4-tools button[data-action=more],
html.cc-u44-fix9-android body.cc-u44r4-select #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) .cc-u44r4-tools button[data-action=more]{order:4!important}
html body #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) button:hover,
html.cc-u44-fix9-android body.cc-u44r4-select #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) button:hover{
 background:rgba(255,255,255,.08)!important;
}
html body #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) .cc-r53-extra-menu,
html.cc-u44-fix9-android body.cc-u44r4-select #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) .cc-r53-extra-menu{
 background:rgba(23,25,29,.97)!important;border:1px solid rgba(230,235,239,.14)!important;
 box-shadow:0 9px 26px rgba(0,0,0,.27)!important;
}
@media(max-width:370px){
 html body #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade),
 html.cc-u44-fix9-android body.cc-u44r4-select #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade){gap:2px!important;max-width:calc(100% - 4px)!important}
 html body #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) .cc-u44r4-count::after,
 html.cc-u44-fix9-android body.cc-u44r4-select #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) .cc-u44r4-count::after{content:''!important;margin:0!important}
 html body #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) button,
 html.cc-u44-fix9-android body.cc-u44r4-select #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) button{flex-basis:34px!important;width:34px!important;min-width:34px!important}
}
/* The only overflow action is Edit; preserve its readable labeled row. */
html body #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) .cc-r53-extra-menu button,
html.cc-u44-fix9-android body.cc-u44r4-select #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) .cc-r53-extra-menu button{
 display:flex!important;justify-content:flex-start!important;align-items:center!important;gap:9px!important;
 flex:0 0 auto!important;width:100%!important;min-width:0!important;max-width:none!important;
 height:38px!important;min-height:38px!important;padding:8px 10px!important;
 border:0!important;border-radius:9px!important;color:#edf2f6!important;
 background:transparent!important;font:500 13px/1.2 system-ui,sans-serif!important;
}


/* R50 FIX15 — selection has no Edit or overflow; only reply/copy/forward/delete.
   Preview cards consistently use graphite / midnight-blue glass, never legacy green. */
html body #app #active .composer-wrap > .cc-u44r4-top .cc-r53-extra-menu,
html body #app #active .composer-wrap > .cc-u44r4-top button[data-action="more"],
html body #app #active .composer-wrap > .cc-u44r4-top button[data-action="edit"]{display:none!important;}
/* Reply & edit composition: one floating compact preview above the textarea. */
html body #app #active .composer-wrap #editBanner.cc-r55-compose-preview:not(.hidden),
html.cc-u44-fix9-android body #app #active .composer-wrap #editBanner.cc-r55-compose-preview:not(.hidden){
 display:flex!important;align-items:center!important;gap:10px!important;
 min-height:48px!important;max-height:72px!important;height:auto!important;
 margin:0 0 7px!important;padding:8px 10px!important;
 border:1px solid rgba(120,177,222,.23)!important;border-left:2px solid rgba(119,191,245,.82)!important;
 background:linear-gradient(105deg,rgba(13,29,53,.92),rgba(12,22,40,.96))!important;
 background-color:#0c1a30!important;border-radius:12px!important;
 box-shadow:0 5px 18px rgba(0,6,23,.15)!important;color:#deebfa!important;
}
html body #app #active .composer-wrap #editBanner.cc-r55-compose-preview #editBannerText{
 display:flex!important;align-items:center!important;gap:9px!important;flex:1 1 0!important;
 overflow:hidden!important;min-width:0!important;text-align:left!important;
 font:500 12px/1.35 system-ui,sans-serif!important;color:#d6e7f7!important;
}
html body #app #active .composer-wrap #editBanner.cc-r55-compose-preview .cc-r50-reply-symbol{
 flex:0 0 28px!important;display:grid!important;place-items:center!important;width:28px!important;height:28px!important;
 border-radius:9px!important;background:rgba(81,138,196,.14)!important;border:0!important;
 color:#8cc8ff!important;font-size:19px!important;box-shadow:none!important;
}
html body #app #active .composer-wrap #editBanner.cc-r55-compose-preview .cc-r50-reply-content{
 display:flex!important;flex:1 1 0!important;min-width:0!important;flex-direction:column!important;
 gap:2px!important;overflow:hidden!important;white-space:nowrap!important;
}
html body #app #active .composer-wrap #editBanner.cc-r55-compose-preview strong{
 display:block!important;color:#9bcfff!important;font:650 12px/1.25 system-ui,sans-serif!important;
 overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
}
html body #app #active .composer-wrap #editBanner.cc-r55-compose-preview small{
 display:block!important;color:#cad8e8!important;font:400 12px/1.28 system-ui,sans-serif!important;
 overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
}
html body #app #active .composer-wrap #editBanner.cc-r55-compose-preview #cancelEdit{
 flex:0 0 30px!important;display:grid!important;place-items:center!important;width:30px!important;height:30px!important;
 padding:0!important;margin:0!important;border-radius:9px!important;border:0!important;
 background:rgba(108,150,190,.08)!important;box-shadow:none!important;color:#dfedfa!important;
 font-size:22px!important;line-height:1!important;
}
/* In-message quoted originals and forwarded provenance. Same card typography. */
html body #app #active #messages .message.cc-r55-context-message.mine{
 background:linear-gradient(122deg,rgba(16,45,78,.97),rgba(12,34,61,.95))!important;
 border-color:rgba(116,177,223,.25)!important;color:#edf5ff!important;
}
html body #app #active #messages .message .reply-preview.cc-r55-message-ref,
html body #app #active #messages .message .forward-label.cc-r55-forward-ref{
 display:flex!important;align-items:center!important;gap:8px!important;
 width:100%!important;min-width:0!important;max-width:100%!important;margin:2px 0 9px!important;
 padding:7px 9px!important;background:rgba(7,20,40,.54)!important;background-image:none!important;
 border:1px solid rgba(120,179,221,.2)!important;border-left:2px solid rgba(126,190,240,.86)!important;
 border-radius:10px!important;color:#d7e9f8!important;
 box-shadow:none!important;text-align:left!important;white-space:normal!important;
 font:400 12px/1.3 system-ui,sans-serif!important;overflow:hidden!important;
}
html body #app #active #messages .message .cc-r55-ref-icon{
 flex:0 0 22px!important;display:grid!important;place-items:center!important;
 border-radius:7px!important;width:22px!important;height:22px!important;
 background:rgba(102,166,228,.12)!important;color:#9fcefc!important;
 font:600 17px/1 system-ui,sans-serif!important;
}
html body #app #active #messages .message .cc-r55-ref-detail{
 display:flex!important;min-width:0!important;flex:1 1 0!important;flex-direction:column!important;
 align-items:stretch!important;gap:3px!important;overflow:hidden!important;
}
html body #app #active #messages .message .cc-r55-ref-detail strong,
html body #app #active #messages .message .cc-r55-ref-detail small{
 display:block!important;min-width:0!important;max-width:100%!important;
 margin:0!important;text-align:left!important;overflow:hidden!important;
 text-overflow:ellipsis!important;white-space:nowrap!important;
}
html body #app #active #messages .message .cc-r55-ref-detail strong{
 color:#9fd0ff!important;font:650 12px/1.25 system-ui,sans-serif!important;
}
html body #app #active #messages .message .cc-r55-ref-detail small{
 color:#d4e3f2!important;font:400 11.5px/1.25 system-ui,sans-serif!important;
}
/* Forward destination picker with a clean preview and unmodified recipient logic. */
html body #dialog.cc-forward-dialog .cc-fwd-preview{
 display:flex!important;align-items:center!important;gap:10px!important;min-height:57px!important;
 padding:10px 12px!important;margin:2px 0 12px!important;
 background:rgba(11,29,51,.86)!important;background-image:none!important;
 border:1px solid rgba(133,191,235,.2)!important;border-radius:13px!important;
 box-shadow:none!important;color:#eaf4ff!important;
}
html body #dialog.cc-forward-dialog .cc-r55-fwd-preview-icon{
 flex:0 0 31px!important;display:grid!important;place-items:center!important;
 width:31px!important;height:31px!important;border-radius:9px!important;
 background:rgba(77,146,217,.17)!important;color:#8ec8fd!important;font-size:20px!important;
}
html body #dialog.cc-forward-dialog .cc-r55-fwd-preview-content{
 display:flex!important;flex-direction:column!important;gap:3px!important;min-width:0!important;flex:1 1 0!important;
}
html body #dialog.cc-forward-dialog .cc-r55-fwd-preview-content strong{
 font:650 12px/1.25 system-ui,sans-serif!important;color:#a5d6ff!important;
}
html body #dialog.cc-forward-dialog .cc-r55-fwd-preview-content small{
 display:block!important;min-width:0!important;max-width:100%!important;overflow:hidden!important;
 text-overflow:ellipsis!important;white-space:nowrap!important;
 font:400 12px/1.3 system-ui,sans-serif!important;color:#d4e2f0!important;
}
@media(max-width:375px){
 html body #app #active #messages .message .reply-preview.cc-r55-message-ref,
 html body #app #active #messages .message .forward-label.cc-r55-forward-ref{padding:6px 7px!important;gap:6px!important;}
 html body #app #active .composer-wrap #editBanner.cc-r55-compose-preview:not(.hidden){padding:7px 9px!important;gap:7px!important;}
}

/* CHEBURCHAT R50 FIX16 · НИТИ · presentation only. No state, handlers, or animations.
   Scope: visible thread, composer context and recipient picker. */
/* Quiet ocean glass bubbles: retain widths, margins, sender alignment and selection mechanics. */
html body #app #active #messages.messages > .message:not(.mine) {
  background:linear-gradient(134deg,rgba(16,43,73,.92),rgba(10,28,49,.93))!important;
  border-color:rgba(112,172,220,.20)!important;
  box-shadow:0 3px 13px rgba(0,8,25,.10),inset 0 1px rgba(219,240,255,.045)!important;
  color:#ebf4ff!important;
}
html body #app #active #messages.messages > .message.mine {
  background:linear-gradient(135deg,rgba(21,62,103,.94),rgba(13,42,73,.96))!important;
  border-color:rgba(114,192,248,.29)!important;
  box-shadow:0 4px 15px rgba(0,8,27,.14),inset 0 1px rgba(217,243,255,.08)!important;
  color:#f1f7ff!important;
}
/* Preserve message content flow, reply click handlers, status and timestamps. */
html body #app #active #messages .message .reply-preview,
html body #app #active #messages .message .forward-label,
html body #app #active #messages .message .reply-preview.cc-r55-message-ref,
html body #app #active #messages .message .forward-label.cc-r55-forward-ref {
  display:flex!important;align-items:center!important;gap:8px!important;
  box-sizing:border-box!important;min-width:0!important;max-width:100%!important;
  padding:7px 9px!important;margin:2px 0 8px!important;
  border:0!important;border-left:2px solid rgba(135,207,255,.85)!important;
  border-radius:5px 9px 9px 5px!important;
  background:rgba(5,17,36,.39)!important;background-image:none!important;
  box-shadow:none!important;color:#d9eafd!important;
  text-align:left!important;overflow:hidden!important;
}
html body #app #active #messages .message .cc-r55-ref-icon {
  display:grid!important;place-items:center!important;flex:0 0 20px!important;
  width:20px!important;height:20px!important;background:none!important;
  box-shadow:none!important;border:none!important;color:#8fc8ff!important;
}
html body #app #active #messages .message .cc-r55-ref-detail strong{color:#a8d9ff!important;}
html body #app #active #messages .message .cc-r55-ref-detail small{color:#ccdded!important;}
/* The preview of Reply / Edit above the composer is a continuation of the thread,
   not a green floating card. This includes FIX14's older preview markup. */
html body #app #active .composer-wrap #editBanner:not(.hidden),
html body #app #active .composer-wrap #editBanner.cc-r55-compose-preview:not(.hidden) {
  box-sizing:border-box!important;
  background:linear-gradient(110deg,rgba(8,24,46,.93),rgba(13,34,58,.92))!important;
  background-image:linear-gradient(110deg,rgba(8,24,46,.93),rgba(13,34,58,.92))!important;
  border:0!important;border-left:2px solid #83c7ff!important;border-radius:8px!important;
  box-shadow:none!important;color:#e4f2ff!important;
}
html body #app #active .composer-wrap #editBanner :is(strong,.cc-r50-reply-content strong){color:#a4d7ff!important;}
html body #app #active .composer-wrap #editBanner :is(small,#editBannerText){color:#d5e6f6!important;}
/* Selection is a minimal row of actions, no old blue header or new dock bubbles. */
html body #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade){
  background:transparent!important;background-image:none!important;box-shadow:none!important;
  border:0!important;outline:none!important;
}
html body #app #active .composer-wrap > .cc-u44r4-top:not(#ccU44R4Shade) :is(.cc-u44r4-pill,button){
  background:transparent!important;background-image:none!important;box-shadow:none!important;border:0!important;
}
/* Forward picker: single continuous thread-like surface; never the old green dialog. */
html body #dialog#dialog.cc-forward-dialog[open] {
  box-sizing:border-box!important;
  background-color:#07152b!important;
  background-image:radial-gradient(ellipse at 100% 0%,rgba(47,116,184,.20),transparent 50%),linear-gradient(160deg,#0b2440,#060f20 80%)!important;
  border:1px solid rgba(116,176,225,.23)!important;border-radius:19px!important;
  box-shadow:0 22px 64px rgba(0,4,18,.56)!important;color:#e9f3ff!important;
  overflow:hidden!important;
}
html body #dialog#dialog.cc-forward-dialog[open] .dialog-head {
  background:rgba(8,23,44,.65)!important;background-image:none!important;
  border:0!important;border-bottom:1px solid rgba(136,192,235,.12)!important;
  box-shadow:none!important;
}
html body #dialog#dialog.cc-forward-dialog[open] :is(#dialogTitle,#dialogSub) {
  color:#ebf6ff!important;text-shadow:none!important;
}
html body #dialog#dialog.cc-forward-dialog[open] #dialogSub {
  color:#89bfe7!important;letter-spacing:1px!important;
}
html body #dialog#dialog.cc-forward-dialog[open] #closeDialog {
  border:0!important;border-radius:10px!important;
  color:#dfebf8!important;background:rgba(116,171,222,.09)!important;
  background-image:none!important;box-shadow:none!important;
}
html body #dialog#dialog.cc-forward-dialog #dialogBody{
  background:transparent!important;background-image:none!important;
  color:#eaf5ff!important;
}
html body #dialog#dialog.cc-forward-dialog .cc-forward-picker{
  display:flex!important;flex-direction:column!important;gap:0!important;
  min-width:0!important;max-width:100%!important;
  background:transparent!important;color:#e9f4ff!important;
}
html body #dialog#dialog.cc-forward-dialog .cc-fwd-preview{
  display:flex!important;align-items:center!important;gap:10px!important;
  min-height:55px!important;margin:6px 0 12px!important;padding:10px 12px!important;
  border:0!important;border-left:2px solid #83cafa!important;border-radius:6px 12px 12px 6px!important;
  background:rgba(52,103,155,.16)!important;background-image:none!important;
  box-shadow:none!important;color:#e8f5ff!important;
}
html body #dialog#dialog.cc-forward-dialog .cc-r55-fwd-preview-icon{
  display:grid!important;place-items:center!important;flex:0 0 29px!important;
  width:29px!important;height:29px!important;border:0!important;border-radius:9px!important;
  background:rgba(127,186,239,.10)!important;color:#9fd1ff!important;
}
html body #dialog#dialog.cc-forward-dialog .cc-r55-fwd-preview-content strong{color:#b5ddff!important;font-weight:650!important;}
html body #dialog#dialog.cc-forward-dialog .cc-r55-fwd-preview-content small{color:#d5e5f5!important;}
html body #dialog#dialog.cc-forward-dialog .cc-fwd-search-wrap{
  display:flex!important;align-items:center!important;gap:9px!important;
  box-sizing:border-box!important;min-width:0!important;width:100%!important;
  margin:0 0 12px!important;padding:0 12px!important;min-height:43px!important;
  border:1px solid rgba(134,188,226,.24)!important;border-radius:12px!important;
  background:rgba(10,29,53,.66)!important;background-image:none!important;
  box-shadow:none!important;color:#93cafa!important;
}
html body #dialog#dialog.cc-forward-dialog .cc-fwd-search-wrap input#ccFwdSearch {
  min-width:0!important;flex:1 1 0!important;width:100%!important;min-height:40px!important;
  margin:0!important;padding:7px 0!important;
  border:0!important;border-radius:0!important;outline:none!important;
  background:transparent!important;background-image:none!important;box-shadow:none!important;
  color:#f5faff!important;font-size:14px!important;
}
html body #dialog#dialog.cc-forward-dialog .cc-fwd-search-wrap input#ccFwdSearch::placeholder{color:#a3bad0!important;opacity:1!important;}
html body #dialog#dialog.cc-forward-dialog .cc-fwd-search-wrap:focus-within{
  border-color:rgba(156,212,252,.73)!important;
}
html body #dialog#dialog.cc-forward-dialog .cc-fwd-section-title{
  margin:4px 0 7px!important;color:#90bfdf!important;
  font-size:10px!important;font-weight:700!important;letter-spacing:1.4px!important;
}
html body #dialog#dialog.cc-forward-dialog .cc-fwd-list{
  box-sizing:border-box!important;display:flex!important;flex-direction:column!important;
  max-height:min(47vh,450px)!important;min-height:0!important;
  overflow-y:auto!important;overflow-x:hidden!important;
  background:transparent!important;background-image:none!important;
}
html body #dialog#dialog.cc-forward-dialog button.cc-fwd-row {
  box-sizing:border-box!important;display:flex!important;align-items:center!important;
  width:100%!important;min-height:63px!important;max-width:100%!important;
  gap:11px!important;padding:8px 7px!important;margin:0!important;
  text-align:left!important;border:0!important;border-bottom:1px solid rgba(122,173,210,.13)!important;
  border-radius:0!important;background:transparent!important;background-image:none!important;
  box-shadow:none!important;color:#eaf4ff!important;
}
html body #dialog#dialog.cc-forward-dialog button.cc-fwd-row:active,
html body #dialog#dialog.cc-forward-dialog button.cc-fwd-row:hover,
html body #dialog#dialog.cc-forward-dialog button.cc-fwd-row:focus-visible{
  background:rgba(80,145,200,.15)!important;outline:none!important;
}
html body #dialog#dialog.cc-forward-dialog .cc-fwd-avatar{
  display:grid!important;place-items:center!important;flex:0 0 40px!important;
  width:40px!important;height:40px!important;
  border-radius:50%!important;overflow:hidden!important;
  border:1px solid rgba(121,191,239,.28)!important;
  background:rgba(21,67,108,.4)!important;
}
html body #dialog#dialog.cc-forward-dialog .cc-fwd-avatar :is(img,svg){max-width:100%!important;max-height:100%!important;}
html body #dialog#dialog.cc-forward-dialog .cc-fwd-details{
  display:flex!important;flex-direction:column!important;gap:3px!important;
  flex:1 1 0!important;min-width:0!important;overflow:hidden!important;
}
html body #dialog#dialog.cc-forward-dialog .cc-fwd-name{
  font-size:14px!important;font-weight:650!important;color:#eff7ff!important;
  overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
}
html body #dialog#dialog.cc-forward-dialog .cc-fwd-meta{
  font-size:11px!important;color:#9dbcd6!important;
  overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
}
html body #dialog#dialog.cc-forward-dialog .cc-fwd-arrow{
  flex:0 0 16px!important;color:#9bc9ee!important;font-size:22px!important;
}
html body #dialog#dialog.cc-forward-dialog .cc-fwd-empty{color:#acc5dc!important;}
html body #dialog#dialog.cc-forward-dialog .cc-fwd-footer{
  margin-top:11px!important;padding:9px 2px 1px!important;
  background:none!important;border:0!important;color:#9bb9d1!important;
  box-shadow:none!important;font-size:11px!important;line-height:1.35!important;
}
@media(max-width:375px){
 html body #dialog#dialog.cc-forward-dialog[open]{border-radius:15px!important;}
 html body #dialog#dialog.cc-forward-dialog .cc-fwd-preview{padding:8px 9px!important;}
 html body #dialog#dialog.cc-forward-dialog button.cc-fwd-row{min-height:58px!important;gap:8px!important;}
 html body #dialog#dialog.cc-forward-dialog .cc-fwd-avatar{width:36px!important;height:36px!important;flex-basis:36px!important;}
}
/* FIX17: restored previously working thread background; no overrides for #active.thread or #messages.messages. */
html body #app #active .thread-header{
  background-color:rgba(8,24,46,.96)!important;
  background-image:linear-gradient(100deg,rgba(10,32,59,.96),rgba(7,19,38,.97))!important;
  border-bottom-color:rgba(107,174,227,.19)!important;
}

/* R50 FIX17 · User stickers editor & personal tray. Only scoped new components. */
#ccPersonalStickerEditor.cc-user-sticker-editor{position:fixed;inset:0;margin:auto;max-height:min(94dvh,820px);width:min(calc(100vw - 20px),540px);max-width:540px;box-sizing:border-box;overflow:auto;border:1px solid rgba(125,193,242,.38);border-radius:18px;padding:15px;background:#07172d!important;color:#f1f8ff!important;box-shadow:0 22px 90px #000a;font:14px/1.4 system-ui,sans-serif;z-index:2147483605}
#ccPersonalStickerEditor::backdrop{background:rgba(0,5,16,.83)}
#ccPersonalStickerEditor .cc-user-sticker-editor-top{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:18px}
#ccPersonalStickerEditor .cc-user-sticker-editor-top button{font-size:25px;border:0;background:transparent;color:#d9eeff;min-width:40px;min-height:40px}
#ccPersonalStickerEditor p{font-size:12px;color:#a9cce8;margin:7px 0}
#ccPersonalStickerEditor .cc-user-sticker-canvas-wrap{width:min(100%,450px);aspect-ratio:1;margin:10px auto;background-color:#c6cfdd;background-image:linear-gradient(45deg,#e8eef5 25%,transparent 25%),linear-gradient(-45deg,#e8eef5 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e8eef5 75%),linear-gradient(-45deg,transparent 75%,#e8eef5 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0;overflow:hidden;border-radius:12px}
#ccPersonalStickerEditor canvas{width:100%;height:100%;display:block;touch-action:none;cursor:crosshair}
#ccPersonalStickerEditor .cc-user-sticker-range{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:13px}#ccPersonalStickerEditor input[type=range]{flex:1;accent-color:#70c6ff}
#ccPersonalStickerEditor .cc-user-sticker-modes,#ccPersonalStickerEditor .cc-user-sticker-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}
#ccPersonalStickerEditor .cc-user-sticker-modes button,#ccPersonalStickerEditor .cc-user-sticker-actions button{flex:1 1 auto;min-height:38px;font:600 12px system-ui;border:1px solid #3972a0;border-radius:10px;background:#0c294b;color:#e7f5ff;padding:7px}
#ccPersonalStickerEditor [aria-pressed=true],#ccPersonalStickerEditor .cc-user-sticker-done{background:#126ba7!important;border-color:#78c8ff!important}
#app #active .cc-user-sticker-section .cc-user-sticker-create{border:1px solid #4383b4;border-radius:12px;background:#11365b;color:#f1f9ff;min-height:42px;width:100%;margin:7px 0 10px;font:600 13px system-ui}
#app #active .cc-user-sticker-section .cc-user-sticker-hint{font-size:12px;color:#acc9e3;margin:7px 0}
#app #active .cc-user-sticker-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(74px,1fr));gap:8px;max-height:280px;overflow-y:auto;min-height:50px}
#app #active .cc-user-sticker-tile{position:relative;aspect-ratio:1;border:1px solid #274c70;border-radius:10px;background:#08213d}
#app #active .cc-user-sticker-send{display:flex;align-items:center;justify-content:center;width:100%;height:100%;border:0;background:none}
#app #active .cc-user-sticker-send img{width:100%;height:100%;object-fit:contain;max-width:100%;max-height:100%}
#app #active .cc-user-sticker-delete{position:absolute;right:-3px;top:-3px;width:22px;height:22px;border-radius:50%;border:1px solid #8ac9fa;background:#092543;color:#fff;font-size:17px;line-height:1}
#app #active #messages .cc-sticker-slot .cc-user-sticker-save{position:absolute;bottom:0;right:0;width:29px;height:29px;border-radius:50%;border:1px solid #5a99c8;background:#06274bbd;color:#fff;font-size:19px;z-index:2}
#app #active #messages .cc-sticker-slot{position:relative;display:inline-flex;align-items:center;justify-content:center}
#ccR50MediaScreen .cc-r50-photo-action[hidden]{display:none!important}


/* R50 FIX19 · smaller chat stickers + clearer sticker action in photo viewer. */
#app #active #messages .cc-sticker-bubble{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;max-width:164px!important}
#app #active #messages .cc-sticker-bubble .cc-sticker-slot{max-width:148px!important;width:auto!important}
#app #active #messages .cc-sticker-bubble .cc-sticker-image,
#app #active #messages .cc-sticker-bubble img{display:block;width:min(44vw,148px)!important;max-width:148px!important;max-height:148px!important;height:auto!important;object-fit:contain!important}
#app #active #messages .cc-sticker-bubble .cc-user-sticker-save{width:27px!important;height:27px!important;font-size:18px!important}
#app #active #messages .cc-sticker-bubble .cc-attachment-caption{max-width:148px!important;margin-top:6px!important}
#ccViewerActionBar .cc-r50-photo-action.cc-r50-photo-action-sticker{min-width:62px!important;padding:4px 7px 5px!important;gap:3px!important}
#ccViewerActionBar .cc-r50-photo-action.cc-r50-photo-action-sticker svg{width:20px!important;height:20px!important}
#ccViewerActionBar .cc-r50-photo-action-label{display:block;font:600 10px/1 system-ui,sans-serif;letter-spacing:.01em;color:#dcefff;opacity:.94;white-space:nowrap}
@media (max-width:360px){
 #app #active #messages .cc-sticker-bubble{max-width:144px!important}
 #app #active #messages .cc-sticker-bubble .cc-sticker-image,
 #app #active #messages .cc-sticker-bubble img{width:min(41vw,132px)!important;max-width:132px!important;max-height:132px!important}
 #app #active #messages .cc-sticker-bubble .cc-attachment-caption{max-width:132px!important}
 #ccViewerActionBar .cc-r50-photo-action.cc-r50-photo-action-sticker{min-width:58px!important;padding:4px 6px!important}
 #ccViewerActionBar .cc-r50-photo-action-label{font-size:9px!important}
}


/* R50 FIX20 · sticker decoration editor and one-time arrival animation only. */
#ccPersonalStickerEditor .cc-user-sticker-fx{margin:11px 0 5px;padding:10px;border:1px solid rgba(116,178,231,.31);border-radius:13px;background:rgba(13,39,72,.68);display:block;color:#e6f4ff}
#ccPersonalStickerEditor .cc-user-sticker-fx>strong{display:block;font:650 13px/1.2 system-ui,sans-serif;margin-bottom:8px}
#ccPersonalStickerEditor .cc-user-sticker-fx-modes{display:flex;gap:5px;overflow-x:auto;overscroll-behavior-x:contain;padding:1px 1px 7px;scrollbar-width:thin}
#ccPersonalStickerEditor .cc-user-sticker-fx-modes button{flex:0 0 auto;white-space:nowrap;min-height:38px;border:1px solid rgba(104,162,209,.48);border-radius:11px;padding:7px 10px;background:#0b2949;color:#e8f6ff;font:600 12px/1.1 system-ui,sans-serif}
#ccPersonalStickerEditor .cc-user-sticker-fx-modes button[aria-pressed=true]{border-color:#8ed7ff;background:#1c5a86;box-shadow:0 0 0 1px rgba(141,214,255,.18)}
#ccPersonalStickerEditor .cc-user-sticker-fx-intensity{display:flex;align-items:center;gap:7px;margin-top:5px;font:500 12px system-ui,sans-serif;color:#b9dcf8}
#ccPersonalStickerEditor .cc-user-sticker-fx-intensity input{flex:1;min-width:70px;accent-color:#7ed1ff}
#ccPersonalStickerEditor .cc-user-sticker-fx-intensity output{min-width:34px;text-align:right;font-variant-numeric:tabular-nums}
#ccPersonalStickerEditor .cc-user-sticker-fx small{display:block;margin-top:5px;font:11px/1.3 system-ui,sans-serif;color:#aac8e1}
@keyframes ccR50StickerPop{0%{transform:scale(.78);opacity:.24}58%{transform:scale(1.07);opacity:1}100%{transform:scale(1);opacity:1}}
#app #active #messages .cc-sticker-bubble.cc-new-message{transform-origin:center bottom;animation:ccR50StickerPop .32s cubic-bezier(.18,.8,.3,1) both!important}
#app #active #messages .cc-sticker-bubble .message-meta{font-size:10px;white-space:nowrap}
@media(prefers-reduced-motion:reduce){#app #active #messages .cc-sticker-bubble.cc-new-message{animation:none!important}}

/* R50 FIX21 · Niti sticker creator: friendly two-step workflow, tap-to-place effects. */
#ccPersonalStickerEditor.cc-user-sticker-editor-v21{padding:0!important;display:block;max-height:min(95dvh,875px);max-height:min(95vh,875px);width:min(calc(100vw - 16px),520px);border:1px solid rgba(107,171,225,.42);border-radius:21px;background:linear-gradient(155deg,#102946,#071528 85%)!important;overflow:auto;overscroll-behavior:contain;color:#f4f9ff;scrollbar-width:thin}
#ccPersonalStickerEditor.cc-user-sticker-editor-v21 .cc-user-sticker-editor-top{display:flex;position:sticky;top:0;z-index:4;min-height:61px;padding:10px 15px;background:rgba(7,23,45,.97);border-bottom:1px solid rgba(109,178,232,.22);backdrop-filter:blur(14px);align-items:center;gap:12px}
#ccPersonalStickerEditor .cc-sticker-title{display:flex;align-items:center;gap:10px;min-width:0}
#ccPersonalStickerEditor .cc-sticker-title>span{display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;border-radius:12px;color:#9de4ff;background:rgba(33,105,159,.34);font-size:24px}
#ccPersonalStickerEditor .cc-sticker-title strong{display:block;font:750 17px/1.2 system-ui,sans-serif;letter-spacing:.02em}
#ccPersonalStickerEditor .cc-sticker-title small{display:block;font:11px/1.3 system-ui,sans-serif;color:#a4c7e3;margin-top:3px}
#ccPersonalStickerEditor .cc-user-sticker-editor-top [data-sticker-close]{border:1px solid rgba(137,198,239,.3);border-radius:11px;min-width:38px;min-height:38px;font-size:22px;line-height:1}
#ccPersonalStickerEditor .cc-sticker-step-nav{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:12px 15px 0}
#ccPersonalStickerEditor .cc-sticker-step-nav button{min-height:43px;border:1px solid rgba(124,173,216,.28);border-radius:12px;color:#b6d4ef;background:rgba(17,48,80,.45);font:650 13px system-ui,sans-serif}
#ccPersonalStickerEditor .cc-sticker-step-nav button[aria-pressed=true]{color:#fff;background:linear-gradient(145deg,#184975,#1a648f);border-color:rgba(126,208,250,.72);box-shadow:inset 0 0 0 1px rgba(215,242,255,.08)}
#ccPersonalStickerEditor .cc-sticker-stage-hint{padding:0 16px;min-height:25px;margin:10px 0 0;font:12px/1.4 system-ui,sans-serif;color:#b2d3eb}
#ccPersonalStickerEditor .cc-sticker-stage{width:min(calc(100% - 30px),400px);margin:8px auto 11px;border-radius:17px;border:1px solid rgba(125,181,225,.32);box-shadow:0 7px 26px rgba(0,5,15,.32)}
#ccPersonalStickerEditor .cc-sticker-settings-pane{margin:0 15px 12px;padding:12px;border:1px solid rgba(129,186,231,.22);border-radius:14px;background:rgba(11,37,68,.58)}
#ccPersonalStickerEditor .cc-sticker-settings-pane[hidden]{display:none!important}
#ccPersonalStickerEditor .cc-sticker-pane-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:9px}
#ccPersonalStickerEditor .cc-sticker-pane-heading strong{font:720 13px system-ui,sans-serif;color:#eff9ff}
#ccPersonalStickerEditor .cc-sticker-pane-heading span{font:11px system-ui,sans-serif;color:#9fbdd9}
#ccPersonalStickerEditor .cc-user-sticker-modes{margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
#ccPersonalStickerEditor .cc-user-sticker-modes button{min-width:0;font-size:11px;min-height:39px;padding:5px 3px}
#ccPersonalStickerEditor .cc-user-sticker-range{display:flex;gap:8px;align-items:center;min-width:0;margin:10px 0 2px;font:12px system-ui,sans-serif;color:#cee7fa}
#ccPersonalStickerEditor .cc-user-sticker-range input{flex:1;min-width:60px;accent-color:#67c4f8}
#ccPersonalStickerEditor .cc-user-sticker-range output{min-width:28px;text-align:right;font-variant-numeric:tabular-nums}
#ccPersonalStickerEditor .cc-sticker-deco-groups{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-bottom:9px}
#ccPersonalStickerEditor .cc-sticker-deco-groups button{padding:7px 2px;min-height:37px;min-width:0;border:1px solid rgba(112,175,221,.32);border-radius:10px;background:rgba(14,49,85,.55);color:#c9e5fa;font:650 10px system-ui,sans-serif}
#ccPersonalStickerEditor .cc-sticker-deco-groups button[aria-pressed=true]{background:#256a9c;color:white;border-color:#86d1fd}
#ccPersonalStickerEditor .cc-sticker-deco-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
#ccPersonalStickerEditor .cc-sticker-deco-choice{display:flex;align-items:center;gap:5px;justify-content:center;padding:5px 2px;min-width:0;min-height:52px;border:1px solid rgba(129,173,212,.24);border-radius:10px;background:#0c294a;color:#e7f4ff}
#ccPersonalStickerEditor .cc-sticker-deco-choice span{font:24px system-ui,sans-serif}
#ccPersonalStickerEditor .cc-sticker-deco-choice small{font:10px system-ui,sans-serif;color:#c0ddf4;text-align:left;max-width:60px;word-break:normal}
#ccPersonalStickerEditor .cc-sticker-deco-choice[aria-pressed=true]{border-color:#81d4ff;background:#185783;box-shadow:0 0 0 1px rgba(106,200,250,.28)}
#ccPersonalStickerEditor .cc-sticker-edit-row{display:flex;gap:5px;margin-top:8px}
#ccPersonalStickerEditor .cc-sticker-edit-row button{flex:1;min-width:0;min-height:36px;border:1px solid rgba(128,183,227,.35);border-radius:10px;background:#0e3152;color:#e3f2ff;font:11px/1.2 system-ui,sans-serif;padding:5px 3px}
#ccPersonalStickerEditor .cc-sticker-edit-row button:disabled{opacity:.38}
#ccPersonalStickerEditor .cc-sticker-instruction{display:block;margin-top:7px;font:11px/1.4 system-ui,sans-serif;color:#a9cce4}
#ccPersonalStickerEditor .cc-sticker-footer{position:sticky;bottom:0;z-index:5;display:grid;grid-template-columns:1fr .8fr 1.7fr;gap:6px;padding:12px 15px;flex-wrap:nowrap;margin:0!important;border-top:1px solid rgba(127,190,234,.26);background:rgba(6,21,40,.97);backdrop-filter:blur(14px)}
#ccPersonalStickerEditor .cc-sticker-footer button{width:100%;min-width:0;min-height:43px;padding:6px 5px;border-radius:11px;white-space:normal;font:650 11px/1.2 system-ui,sans-serif}
#ccPersonalStickerEditor .cc-sticker-footer button:disabled{opacity:.45}
#ccPersonalStickerEditor .cc-sticker-footer .cc-user-sticker-done{background:linear-gradient(130deg,#1475b4,#1d96c3)!important;color:#fff!important;border-color:#81d4ff!important}
#app #active #messages .cc-sticker-bubble .cc-user-sticker-header{position:relative;display:block;max-width:148px;padding:0 0 4px 3px;color:#aacde8;font:600 11px/1.1 system-ui,sans-serif;letter-spacing:.01em;white-space:nowrap}
@media(max-width:360px){#ccPersonalStickerEditor .cc-sticker-title strong{font-size:15px}#ccPersonalStickerEditor .cc-sticker-deco-choice{min-height:47px}#ccPersonalStickerEditor .cc-sticker-deco-choice span{font-size:21px}#ccPersonalStickerEditor .cc-sticker-deco-choice small{font-size:9px}#app #active #messages .cc-sticker-bubble .cc-user-sticker-header{max-width:132px}}
@media(prefers-reduced-motion:reduce){#ccPersonalStickerEditor *{scroll-behavior:auto!important}}


/* R50 FIX21 ICON FIX1 · same peeling-sticker icon in all creation entry points. */
#ccViewerActionBar .cc-r50-photo-action-sticker svg{stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}
#ccPersonalStickerEditor .cc-sticker-title>span svg{width:24px;height:24px;display:block;flex:none}
#app #active .cc-user-sticker-section .cc-user-sticker-create{display:flex;align-items:center;justify-content:center;gap:8px}
#app #active .cc-user-sticker-section .cc-user-sticker-create svg{width:21px;height:21px;flex:none;display:block}
.cc-attach-actions .cc-sticker-create-glyph{display:inline-flex;justify-content:center;align-items:center}
.cc-attach-actions .cc-sticker-create-glyph svg{width:24px;height:24px;display:block;flex:none}


/* R50 FIX23 · Scoped GIF-only network search inside the existing emoji picker. */
#app #active #picker .cc-online-gif{display:flex;flex-direction:column;gap:10px;min-width:0;width:100%;box-sizing:border-box;color:#ebf6ff}
#app #active #picker .cc-online-gif-head{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:6px;font:600 14px system-ui,sans-serif}
#app #active #picker .cc-online-gif-head small{font-size:11px;font-weight:400;color:#a9cce6}
#app #active #picker .cc-online-gif-tags{display:flex;gap:6px;overflow-x:auto;scrollbar-width:thin;padding:2px 1px 7px}
#app #active #picker .cc-online-gif-chip{flex:0 0 auto;border:1px solid #39658f;border-radius:999px;background:#0d2c4f;color:#cce9fc;min-height:32px;padding:5px 11px;font:600 12px system-ui,sans-serif}
#app #active #picker .cc-online-gif-status{font-size:12px;line-height:1.4;color:#abcfe8;min-height:17px;overflow-wrap:anywhere}
#app #active #picker .cc-online-gif-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;align-items:stretch;min-width:0}
#app #active #picker .cc-online-gif-item{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:1;min-width:0;border:1px solid #32658f;border-radius:12px;overflow:hidden;background:#0a213c;padding:0;color:#fff;cursor:pointer}
#app #active #picker .cc-online-gif-item img{display:block;width:100%;height:100%;object-fit:contain;max-width:100%;max-height:100%}
#app #active #picker .cc-online-gif-item span{position:absolute;bottom:0;left:0;right:0;text-align:center;padding:3px 2px;background:#04172dc9;font:500 10px system-ui,sans-serif}
#app #active #picker .cc-online-gif-item:focus-visible{outline:2px solid #75d6ff;outline-offset:2px}
#app #active #picker .cc-online-gif-item:disabled{opacity:.45;cursor:progress}
#app #active #picker .cc-online-gif-footer{display:flex;flex-direction:column;gap:7px;margin-top:5px;padding-top:9px;border-top:1px solid #284e72}
#app #active #picker .cc-online-gif-footer .gif-pick-cta{min-height:38px;border:1px solid #487fb1;border-radius:10px;background:#102f52;color:#f3f9ff;font:600 13px system-ui,sans-serif}
#app #active #picker .cc-online-gif-footer small{font:400 10px/1.4 system-ui,sans-serif;color:#87b4d3}
#app #active #picker .picker-search:has(#pickerSearch:not(.hidden)){display:block;min-width:0}
@media(max-width:359px){#app #active #picker .cc-online-gif-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#app #active #picker .cc-online-gif-chip{padding:5px 8px}}

/* R50 FIX24 · GIF picker vertical containment and predictable scrolling on narrow Android screens. */
html.cc-orbit-theme body #app #active #picker.cc32-emoji-picker:has(.cc-online-gif),
html.cc-u44-fix9-android body #app #active #picker.cc32-emoji-picker:has(.cc-online-gif){
 width:min(100%,calc(100vw - 16px))!important;
 max-width:100%!important;
 max-height:min(470px,calc(100dvh - 122px))!important;
 min-height:0!important;
 overflow:hidden!important;
 box-sizing:border-box!important;
}
html body #app #active #picker.cc32-emoji-picker .picker-items.gifs{
 display:block!important;min-height:0!important;max-height:none!important;
 flex:1 1 auto!important;overflow-y:auto!important;overflow-x:hidden!important;
 overscroll-behavior:contain!important;padding:0 2px 4px!important;
 scrollbar-width:thin;
}
html body #app #active #picker.cc32-emoji-picker .cc-online-gif{
 display:flex!important;flex-direction:column!important;gap:7px!important;
 width:100%!important;min-width:0!important;height:auto!important;
 padding:0 1px 4px!important;overflow:visible!important;box-sizing:border-box!important;
}
html body #app #active #picker.cc32-emoji-picker .cc-online-gif-head,
html body #app #active #picker.cc32-emoji-picker .cc-online-gif-tags,
html body #app #active #picker.cc32-emoji-picker .cc-online-gif-status,
html body #app #active #picker.cc32-emoji-picker .cc-online-gif-footer{
 min-width:0!important;max-width:100%!important;flex:0 0 auto!important;
}
html body #app #active #picker.cc32-emoji-picker .cc-online-gif-head{display:flex!important;flex-wrap:wrap!important;gap:3px 8px!important;align-items:center!important}
html body #app #active #picker.cc32-emoji-picker .cc-online-gif-head small{font-size:10px!important}
html body #app #active #picker.cc32-emoji-picker .cc-online-gif-tags{display:flex!important;overflow-x:auto!important;overflow-y:hidden!important;white-space:nowrap!important;scrollbar-width:thin}
html body #app #active #picker.cc32-emoji-picker .cc-online-gif-status{margin:0!important;font-size:11px!important;overflow-wrap:anywhere!important}
html body #app #active #picker.cc32-emoji-picker .cc-online-gif-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;width:100%!important;min-width:0!important}
html body #app #active #picker.cc32-emoji-picker .cc-online-gif-item{aspect-ratio:1!important;min-width:0!important;min-height:0!important;width:100%!important;overflow:hidden!important}
html body #app #active #picker.cc32-emoji-picker .cc-online-gif-item img{object-fit:contain!important;max-width:100%!important;max-height:100%!important}
html body #app #active #picker.cc32-emoji-picker .cc-online-gif-item span{font:600 10px/1.2 system-ui,sans-serif!important;max-height:28px!important;overflow:hidden!important}
html body #app #active #picker.cc32-emoji-picker .cc-online-gif-footer{margin-top:2px!important;padding-top:8px!important}
@media(max-width:359px){html body #app #active #picker.cc32-emoji-picker .cc-online-gif-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}


/* === CHEBURCHAT R50 FIX44 FIX1 SHADOW-OVERLAY STYLES (SCOPED) === */
/* FIX44 FIX1 isolated ccPinUnpinConfirm */
:host(#ccPinUnpinConfirm) {all:initial!important; position:fixed!important; inset:0!important; display:block!important; z-index:2147483001!important; font-family:system-ui,-apple-system,Segoe UI,Arial,sans-serif!important; color:#edf7ff!important;}
:host(#ccPinUnpinConfirm) *, :host(#ccPinUnpinConfirm) *::before, :host(#ccPinUnpinConfirm) *::after {box-sizing:border-box!important;}
:host(#ccPinUnpinConfirm) button, :host(#ccPinUnpinConfirm) input {font:inherit!important;}
:host(#ccPinUnpinConfirm) button {appearance:none!important; -webkit-appearance:none!important; cursor:pointer!important; -webkit-tap-highlight-color:transparent!important; touch-action:manipulation!important;}
:host(#ccPinUnpinConfirm) button:focus-visible {outline:2px solid #8ed6ff!important; outline-offset:2px!important;}
:host(#ccPinUnpinConfirm) .shade {position:absolute!important; inset:0!important; background:rgba(1,8,24,.58)!important; display:flex!important; align-items:center!important; justify-content:center!important; padding:16px!important; backdrop-filter:blur(4px)!important; -webkit-backdrop-filter:blur(4px)!important;}
:host(#ccPinUnpinConfirm) .panel {width:100%!important; max-width:380px!important; max-height:calc(100dvh - 32px)!important; background:linear-gradient(155deg,#173c65,#0a1f42 62%,#07152e)!important; border:1px solid rgba(121,193,248,.55)!important; border-radius:22px!important; box-shadow:0 22px 70px rgba(0,4,22,.65),inset 0 1px rgba(237,248,255,.12)!important; color:#edf7ff!important; overflow:hidden!important;}
:host(#ccPinUnpinConfirm) .heading {font-size:18px!important; line-height:1.28!important; font-weight:700!important; letter-spacing:0!important; margin:0!important;}
:host(#ccPinUnpinConfirm) .copy {font-size:14px!important; line-height:1.45!important; color:#bdd5ee!important; margin:11px 0 20px!important;}
:host(#ccPinUnpinConfirm) .actions {display:grid!important; grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important; gap:10px!important;}
:host(#ccPinUnpinConfirm) .action {display:flex!important; align-items:center!important; justify-content:center!important; min-height:44px!important; padding:10px!important; border:1px solid rgba(136,188,244,.38)!important; border-radius:13px!important; background:rgba(45,83,135,.55)!important; color:#f3f9ff!important; font-size:14px!important; font-weight:600!important;}
:host(#ccPinUnpinConfirm) .action.primary {background:linear-gradient(145deg,#2670af,#184b85)!important; border-color:rgba(160,212,255,.66)!important;}
:host(#ccPinUnpinConfirm) .action:disabled {opacity:.5!important;}
:host(#ccPinUnpinConfirm) .action:active {filter:brightness(1.2)!important;}
:host(#ccPinUnpinConfirm) .error {font-size:12px!important; line-height:1.4!important; color:#ffd1d7!important; margin:12px 0 0!important;}
:host(#ccPinUnpinConfirm) .panel {padding:23px 19px 18px!important;}
:host(#ccPinUnpinConfirm) .heading {font-size:18px!important;}
:host(#ccPinUnpinConfirm) .copy {margin-top:12px!important; margin-bottom:20px!important;}
:host(#ccPinUnpinConfirm) .action {height:45px!important;}
@media (max-height:420px) {:host(#ccPinUnpinConfirm) .panel {max-height:90dvh!important; overflow-y:auto!important; padding:12px!important;}
:host(#ccPinUnpinConfirm) .copy {margin:7px 0 12px!important;}}
/* FIX44 FIX1 isolated ccR50ChatManage */
:host(#ccR50ChatManage) {all:initial!important; position:fixed!important; inset:0!important; display:block!important; z-index:2147483001!important; font-family:system-ui,-apple-system,Segoe UI,Arial,sans-serif!important; color:#edf7ff!important;}
:host(#ccR50ChatManage) *, :host(#ccR50ChatManage) *::before, :host(#ccR50ChatManage) *::after {box-sizing:border-box!important;}
:host(#ccR50ChatManage) button, :host(#ccR50ChatManage) input {font:inherit!important;}
:host(#ccR50ChatManage) button {appearance:none!important; -webkit-appearance:none!important; cursor:pointer!important; -webkit-tap-highlight-color:transparent!important; touch-action:manipulation!important;}
:host(#ccR50ChatManage) button:focus-visible {outline:2px solid #8ed6ff!important; outline-offset:2px!important;}
:host(#ccR50ChatManage) .shade {position:absolute!important; inset:0!important; background:rgba(1,8,24,.58)!important; display:flex!important; align-items:center!important; justify-content:center!important; padding:16px!important; backdrop-filter:blur(4px)!important; -webkit-backdrop-filter:blur(4px)!important;}
:host(#ccR50ChatManage) .panel {width:100%!important; max-width:380px!important; max-height:calc(100dvh - 32px)!important; background:linear-gradient(155deg,#173c65,#0a1f42 62%,#07152e)!important; border:1px solid rgba(121,193,248,.55)!important; border-radius:22px!important; box-shadow:0 22px 70px rgba(0,4,22,.65),inset 0 1px rgba(237,248,255,.12)!important; color:#edf7ff!important; overflow:hidden!important;}
:host(#ccR50ChatManage) .heading {font-size:18px!important; line-height:1.28!important; font-weight:700!important; letter-spacing:0!important; margin:0!important;}
:host(#ccR50ChatManage) .copy {font-size:14px!important; line-height:1.45!important; color:#bdd5ee!important; margin:11px 0 20px!important;}
:host(#ccR50ChatManage) .actions {display:grid!important; grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important; gap:10px!important;}
:host(#ccR50ChatManage) .action {display:flex!important; align-items:center!important; justify-content:center!important; min-height:44px!important; padding:10px!important; border:1px solid rgba(136,188,244,.38)!important; border-radius:13px!important; background:rgba(45,83,135,.55)!important; color:#f3f9ff!important; font-size:14px!important; font-weight:600!important;}
:host(#ccR50ChatManage) .action.primary {background:linear-gradient(145deg,#2670af,#184b85)!important; border-color:rgba(160,212,255,.66)!important;}
:host(#ccR50ChatManage) .action:disabled {opacity:.5!important;}
:host(#ccR50ChatManage) .action:active {filter:brightness(1.2)!important;}
:host(#ccR50ChatManage) .error {font-size:12px!important; line-height:1.4!important; color:#ffd1d7!important; margin:12px 0 0!important;}
:host(#ccR50ChatManage) .shade {align-items:flex-end!important; padding:12px 12px max(12px,env(safe-area-inset-bottom))!important;}
:host(#ccR50ChatManage) .panel {max-width:440px!important; max-height:min(78dvh,650px)!important; display:flex!important; flex-direction:column!important; padding:14px 12px 10px!important; border-radius:24px!important;}
:host(#ccR50ChatManage) header {padding:5px 6px 10px!important; display:flex!important; gap:10px!important; align-items:center!important; justify-content:space-between!important;}
:host(#ccR50ChatManage) header small {color:#a9caea!important; font-size:12px!important; display:block!important; margin-top:3px!important; max-width:290px!important; overflow:hidden!important; text-overflow:ellipsis!important; white-space:nowrap!important;}
:host(#ccR50ChatManage) .close {color:#dcf2ff!important; border:1px solid rgba(148,198,249,.35)!important; background:rgba(45,87,136,.4)!important; border-radius:50%!important; height:36px!important; width:36px!important; flex:none!important;}
:host(#ccR50ChatManage) .items {overflow-y:auto!important; overscroll-behavior:contain!important; min-height:0!important; padding:2px 1px 8px!important;}
:host(#ccR50ChatManage) .section {font-size:11px!important; text-transform:uppercase!important; letter-spacing:.1em!important; color:#99bddf!important; margin:10px 7px 7px!important;}
:host(#ccR50ChatManage) .item {border:1px solid rgba(143,189,233,.16)!important; display:flex!important; width:100%!important; min-height:51px!important; margin:4px 0!important; align-items:center!important; gap:12px!important; text-align:left!important; border-radius:14px!important; background:rgba(28,72,118,.28)!important; padding:10px 12px!important; color:#f0f8ff!important;}
:host(#ccR50ChatManage) .item:active {background:rgba(41,103,164,.5)!important;}
:host(#ccR50ChatManage) .item.danger {color:#ffd0d5!important; border-color:rgba(233,148,169,.23)!important;}
:host(#ccR50ChatManage) .glyph {width:27px!important; min-width:27px!important; text-align:center!important; font-size:21px!important; color:#a1deff!important;}
:host(#ccR50ChatManage) .detail {font-size:14px!important; font-weight:590!important;}
:host(#ccR50ChatManage) .detail small {display:block!important; font-size:11px!important; color:#a7c3df!important; margin-top:2px!important; font-weight:400!important;}
:host(#ccR50ChatManage) .foot {width:100%!important; margin-top:6px!important; min-height:43px!important; border-radius:14px!important; color:#d5eaff!important; background:rgba(54,106,160,.35)!important; border:1px solid rgba(134,188,240,.35)!important;}
@media (min-width:720px) {:host(#ccR50ChatManage) .shade {align-items:center!important;}
:host(#ccR50ChatManage) .panel {max-height:80dvh!important;}}
/* FIX44 FIX1 isolated ccR50ChatMediaLibrary */
:host(#ccR50ChatMediaLibrary) {all:initial!important; position:fixed!important; inset:0!important; display:block!important; z-index:2147483001!important; font-family:system-ui,-apple-system,Segoe UI,Arial,sans-serif!important; color:#edf7ff!important;}
:host(#ccR50ChatMediaLibrary) *, :host(#ccR50ChatMediaLibrary) *::before, :host(#ccR50ChatMediaLibrary) *::after {box-sizing:border-box!important;}
:host(#ccR50ChatMediaLibrary) button, :host(#ccR50ChatMediaLibrary) input {font:inherit!important;}
:host(#ccR50ChatMediaLibrary) button {appearance:none!important; -webkit-appearance:none!important; cursor:pointer!important; -webkit-tap-highlight-color:transparent!important; touch-action:manipulation!important;}
:host(#ccR50ChatMediaLibrary) button:focus-visible {outline:2px solid #8ed6ff!important; outline-offset:2px!important;}
:host(#ccR50ChatMediaLibrary) .shade {position:absolute!important; inset:0!important; background:rgba(1,8,24,.58)!important; display:flex!important; align-items:center!important; justify-content:center!important; padding:16px!important; backdrop-filter:blur(4px)!important; -webkit-backdrop-filter:blur(4px)!important;}
:host(#ccR50ChatMediaLibrary) .panel {width:100%!important; max-width:380px!important; max-height:calc(100dvh - 32px)!important; background:linear-gradient(155deg,#173c65,#0a1f42 62%,#07152e)!important; border:1px solid rgba(121,193,248,.55)!important; border-radius:22px!important; box-shadow:0 22px 70px rgba(0,4,22,.65),inset 0 1px rgba(237,248,255,.12)!important; color:#edf7ff!important; overflow:hidden!important;}
:host(#ccR50ChatMediaLibrary) .heading {font-size:18px!important; line-height:1.28!important; font-weight:700!important; letter-spacing:0!important; margin:0!important;}
:host(#ccR50ChatMediaLibrary) .copy {font-size:14px!important; line-height:1.45!important; color:#bdd5ee!important; margin:11px 0 20px!important;}
:host(#ccR50ChatMediaLibrary) .actions {display:grid!important; grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important; gap:10px!important;}
:host(#ccR50ChatMediaLibrary) .action {display:flex!important; align-items:center!important; justify-content:center!important; min-height:44px!important; padding:10px!important; border:1px solid rgba(136,188,244,.38)!important; border-radius:13px!important; background:rgba(45,83,135,.55)!important; color:#f3f9ff!important; font-size:14px!important; font-weight:600!important;}
:host(#ccR50ChatMediaLibrary) .action.primary {background:linear-gradient(145deg,#2670af,#184b85)!important; border-color:rgba(160,212,255,.66)!important;}
:host(#ccR50ChatMediaLibrary) .action:disabled {opacity:.5!important;}
:host(#ccR50ChatMediaLibrary) .action:active {filter:brightness(1.2)!important;}
:host(#ccR50ChatMediaLibrary) .error {font-size:12px!important; line-height:1.4!important; color:#ffd1d7!important; margin:12px 0 0!important;}
:host(#ccR50ChatMediaLibrary) .shade {padding:0!important; align-items:center!important; background:rgba(0,9,25,.74)!important;}
:host(#ccR50ChatMediaLibrary) .panel {width:100%!important; max-width:680px!important; height:min(92dvh,850px)!important; max-height:none!important; display:flex!important; flex-direction:column!important; border-radius:24px!important; padding:16px 14px!important; background:linear-gradient(155deg,#14375f,#07172f 65%)!important; overflow:hidden!important;}
:host(#ccR50ChatMediaLibrary) .top {display:flex!important; align-items:center!important; justify-content:space-between!important; gap:10px!important; padding:0 2px 12px!important;}
:host(#ccR50ChatMediaLibrary) .top small {color:#9ebfde!important; font-size:12px!important; display:block!important; margin-top:4px!important; white-space:nowrap!important; overflow:hidden!important; text-overflow:ellipsis!important; max-width:250px!important;}
:host(#ccR50ChatMediaLibrary) .close {width:38px!important; height:38px!important; min-width:38px!important; border-radius:50%!important; background:rgba(33,79,129,.56)!important; border:1px solid #4e7fab!important; color:#e5f5ff!important; font-size:22px!important;}
:host(#ccR50ChatMediaLibrary) .tabs {display:grid!important; grid-template-columns:repeat(3,minmax(0,1fr))!important; gap:6px!important; margin-bottom:10px!important;}
:host(#ccR50ChatMediaLibrary) .tab {padding:10px 3px!important; border-radius:12px!important; background:rgba(37,79,129,.32)!important; color:#b9d7f1!important; border:1px solid rgba(120,181,242,.25)!important; font-size:13px!important;}
:host(#ccR50ChatMediaLibrary) .tab[aria-selected="true"] {background:rgba(46,114,177,.66)!important; border-color:rgba(153,217,255,.7)!important; color:#fff!important; font-weight:650!important;}
:host(#ccR50ChatMediaLibrary) .list {flex:1!important; min-height:0!important; overflow-y:auto!important; overflow-x:hidden!important; overscroll-behavior:contain!important; padding:3px 0!important;}
:host(#ccR50ChatMediaLibrary) .tiles {display:grid!important; grid-template-columns:repeat(3,minmax(0,1fr))!important; gap:8px!important;}
:host(#ccR50ChatMediaLibrary) .tile {position:relative!important; min-width:0!important; min-height:110px!important; aspect-ratio:1/1!important; border-radius:14px!important; border:1px solid rgba(114,184,238,.35)!important; background:#122e4a!important; color:#c2e2fb!important; overflow:hidden!important; text-align:left!important; padding:0!important;}
:host(#ccR50ChatMediaLibrary) .tile img, :host(#ccR50ChatMediaLibrary) .tile video {width:100%!important; height:100%!important; object-fit:cover!important; display:block!important;}
:host(#ccR50ChatMediaLibrary) .tile .placeholder {display:flex!important; align-items:center!important; justify-content:center!important; height:100%!important; font-size:30px!important; color:#99c5ee!important;}
:host(#ccR50ChatMediaLibrary) .tile .more {position:absolute!important; top:5px!important; right:5px!important; border-radius:10px!important; min-width:31px!important; height:31px!important; background:rgba(3,19,39,.8)!important; border:1px solid rgba(161,205,245,.3)!important; color:#fff!important;}
:host(#ccR50ChatMediaLibrary) .tile .date {position:absolute!important; bottom:0!important; left:0!important; right:0!important; padding:4px 6px!important; background:linear-gradient(transparent,rgba(3,15,34,.85))!important; font-size:10px!important; color:#d2e6fa!important;}
:host(#ccR50ChatMediaLibrary) .file {display:flex!important; width:100%!important; min-height:69px!important; align-items:center!important; gap:10px!important; padding:10px!important; margin:4px 0!important; background:rgba(35,78,131,.25)!important; border:1px solid rgba(126,185,236,.22)!important; border-radius:14px!important; color:#eef8ff!important; text-align:left!important;}
:host(#ccR50ChatMediaLibrary) .file .icon {display:flex!important; align-items:center!important; justify-content:center!important; width:40px!important; min-width:40px!important; height:40px!important; border-radius:12px!important; background:rgba(65,135,192,.3)!important; font-size:24px!important;}
:host(#ccR50ChatMediaLibrary) .file .info {flex:1!important; min-width:0!important;}
:host(#ccR50ChatMediaLibrary) .file .info strong {font-size:13px!important; display:block!important; white-space:nowrap!important; overflow:hidden!important; text-overflow:ellipsis!important;}
:host(#ccR50ChatMediaLibrary) .file .info small {font-size:11px!important; color:#a8c9e8!important; display:block!important; margin-top:5px!important;}
:host(#ccR50ChatMediaLibrary) .file .dots {font-size:24px!important; color:#b3d6f6!important; padding:0 5px!important;}
:host(#ccR50ChatMediaLibrary) .status {font-size:12px!important; color:#bdd6ee!important; padding:10px 3px!important; line-height:1.35!important;}
:host(#ccR50ChatMediaLibrary) .status[role="alert"] {color:#ffd0d0!important;}
:host(#ccR50ChatMediaLibrary) .older {width:100%!important; min-height:42px!important; margin:7px 0 0!important; border:1px solid rgba(137,192,250,.38)!important; border-radius:13px!important; background:rgba(41,95,154,.43)!important; color:#eaf5ff!important;}
:host(#ccR50ChatMediaLibrary) .overlay {position:absolute!important; inset:0!important; z-index:2!important; background:rgba(0,8,24,.83)!important; display:flex!important; align-items:center!important; justify-content:center!important; padding:14px!important; backdrop-filter:blur(4px)!important;}
:host(#ccR50ChatMediaLibrary) .overlay[hidden] {display:none!important;}
:host(#ccR50ChatMediaLibrary) .subpanel {width:100%!important; max-width:410px!important; border:1px solid rgba(134,200,253,.5)!important; border-radius:19px!important; padding:17px!important; background:linear-gradient(160deg,#153b63,#081b36)!important; box-shadow:0 20px 60px rgba(0,6,25,.65)!important;}
:host(#ccR50ChatMediaLibrary) .subpanel h3 {font-size:17px!important; margin:0 0 12px!important;}
:host(#ccR50ChatMediaLibrary) .subpanel .label {color:#afcce7!important; font-size:12px!important; line-height:1.5!important; overflow-wrap:anywhere!important; margin:0 0 12px!important;}
:host(#ccR50ChatMediaLibrary) .choices {display:grid!important; gap:9px!important;}
:host(#ccR50ChatMediaLibrary) .choices .action {width:100%!important;}
:host(#ccR50ChatMediaLibrary) .preview {display:flex!important; flex-direction:column!important; max-width:100%!important; max-height:75dvh!important; gap:10px!important; align-items:center!important;}
:host(#ccR50ChatMediaLibrary) .preview img, :host(#ccR50ChatMediaLibrary) .preview video {display:block!important; max-width:100%!important; max-height:55dvh!important; object-fit:contain!important; border-radius:12px!important;}
:host(#ccR50ChatMediaLibrary) .preview .actions {width:100%!important;}
:host(#ccR50ChatMediaLibrary) .preview .heading {font-size:15px!important;}
@media (max-width:360px) {:host(#ccR50ChatMediaLibrary) .tiles {gap:5px!important;}
:host(#ccR50ChatMediaLibrary) .tile {min-height:91px!important;}
:host(#ccR50ChatMediaLibrary) .panel {padding:12px 9px!important;}
:host(#ccR50ChatMediaLibrary) .tab {font-size:12px!important;}}
@media (min-width:720px) {:host(#ccR50ChatMediaLibrary) .shade {padding:15px!important;}
:host(#ccR50ChatMediaLibrary) .panel {max-height:90dvh!important;}}
:host(#ccPinUnpinConfirm) .panel{position:relative!important;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;min-height:0!important;transform:none!important;}
:host(#ccR50ChatManage) .panel{position:relative!important;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;min-height:0!important;transform:none!important;}
:host(#ccR50ChatMediaLibrary) .panel{position:relative!important;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;min-height:0!important;transform:none!important;}
:host(#ccPinUnpinConfirm) .panel{height:auto!important;}
:host(#ccR50ChatManage) .panel{height:auto!important;}
:host(#ccR50ChatMediaLibrary) .panel{height:min(92dvh,850px)!important;}

/* FIX46: compact centered three-dots menu, retained scroll fallback on small displays. */
:host(#ccR50ChatManage) .shade{align-items:center!important;justify-content:center!important;padding:max(20px,env(safe-area-inset-top)) 12px max(16px,env(safe-area-inset-bottom))!important;}
:host(#ccR50ChatManage) .panel{max-width:440px!important;max-height:calc(100dvh - 52px)!important;height:auto!important;min-height:0!important;padding:9px 11px 8px!important;transform:translateY(-2.5dvh)!important;}
:host(#ccR50ChatManage) header{padding:3px 5px 7px!important;}
:host(#ccR50ChatManage) .items{overflow-y:auto!important;overflow-x:hidden!important;padding:0 1px 3px!important;overscroll-behavior:contain!important;}
:host(#ccR50ChatManage) .section{margin:5px 7px 4px!important;font-size:10px!important;line-height:1.1!important;}
:host(#ccR50ChatManage) .item{min-height:41px!important;margin:2px 0!important;padding:5px 10px!important;gap:10px!important;border-radius:12px!important;}
:host(#ccR50ChatManage) .glyph{width:25px!important;min-width:25px!important;font-size:19px!important;display:flex!important;align-items:center!important;justify-content:center!important;}
:host(#ccR50ChatManage) .glyph svg{width:21px!important;height:21px!important;stroke:#a1deff!important;fill:none!important;display:block!important;flex:none!important;}
:host(#ccR50ChatManage) .detail{font-size:13px!important;line-height:1.2!important;}
:host(#ccR50ChatManage) .detail small{font-size:10px!important;line-height:1.2!important;margin-top:1px!important;}
:host(#ccR50ChatManage) .foot{margin-top:4px!important;min-height:38px!important;font-size:13px!important;}
@media (max-height:640px){:host(#ccR50ChatManage) .panel{max-height:calc(100dvh - 25px)!important;transform:none!important;} }


/* R50 FIX52 — retain selected-message elevation; restore calm turquoise target highlight.
   No link SVG, gradients, dash paths, observers, or 3D transform on jump. */
html body #active #messages .message.cc-u44r4-focus,
html body #active #messages .message.cc-u44r4-picked{
 position:relative!important;z-index:5!important;
 transform:translate3d(0,-6px,0) scale(1.035)!important;
 box-shadow:0 17px 34px rgba(0,7,28,.57),0 0 0 1.5px rgba(121,219,255,.82),0 0 24px rgba(39,158,243,.33)!important;
 filter:none!important;
 transition:transform .25s cubic-bezier(.2,.75,.22,1),box-shadow .25s ease-out!important;
}
html body.cc-u44r4-select #active #messages .message:not(.cc-u44r4-picked):not(.hidden){
 opacity:.72;transition:opacity .18s ease-out!important;
}
/* FIX53: no custom outline on reply targets. The original warm yellow message
   highlight in the existing stylesheet is restored, including real photo bubbles. */
@media (prefers-reduced-motion:reduce){
 html body #active #messages .message.cc-u44r4-focus,
 html body #active #messages .message.cc-u44r4-picked{transform:none!important;transition:none!important;}
}

/* FIX53: scoped photo reply annotation editor, CSP-safe (served in existing composer CSS). */
html body #ccR53DrawReply{all:unset!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;min-height:30px!important;padding:4px 10px!important;border-radius:10px!important;border:1px solid rgba(136,205,248,.5)!important;background:rgba(24,79,139,.52)!important;color:#daf7ff!important;cursor:pointer!important;font:600 12px/1.2 system-ui,sans-serif!important;touch-action:manipulation!important;}
html body #ccR53PhotoDraw{all:initial!important;display:block!important;position:fixed!important;inset:0!important;z-index:2147483585!important;color:#e9f7ff!important;font:14px/1.4 system-ui,-apple-system,Segoe UI,sans-serif!important;}
html body #ccR53PhotoDraw,html body #ccR53PhotoDraw *{box-sizing:border-box!important;}
html body #ccR53PhotoDraw .cc53-shade{position:absolute!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;background:rgba(0,7,19,.83)!important;padding:calc(8px + env(safe-area-inset-top,0px)) 8px calc(8px + env(safe-area-inset-bottom,0px))!important;}
html body #ccR53PhotoDraw .cc53-panel{display:flex!important;flex-direction:column!important;min-width:0!important;width:min(620px,100%)!important;max-height:100%!important;height:min(790px,100%)!important;margin:0!important;overflow:hidden!important;border:1px solid rgba(130,199,250,.48)!important;border-radius:20px!important;background:linear-gradient(155deg,#15375d,#07172f 75%)!important;box-shadow:0 24px 65px rgba(0,2,14,.6)!important;padding:10px!important;}
html body #ccR53PhotoDraw button{appearance:none!important;-webkit-appearance:none!important;position:static!important;transform:none!important;min-width:0!important;min-height:36px!important;margin:0!important;cursor:pointer!important;font:600 13px/1.2 system-ui,sans-serif!important;border:1px solid rgba(119,182,232,.38)!important;border-radius:11px!important;background:rgba(28,74,124,.55)!important;color:#e9f7ff!important;box-shadow:none!important;touch-action:manipulation!important;}
html body #ccR53PhotoDraw button:disabled{opacity:.46!important;cursor:not-allowed!important;}
html body #ccR53PhotoDraw .cc53-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;min-height:52px!important;padding:3px 4px 7px!important;}
html body #ccR53PhotoDraw .cc53-head strong{display:block!important;font-size:17px!important;}
html body #ccR53PhotoDraw .cc53-head small{display:block!important;color:#afc9e4!important;font-size:11px!important;}
html body #ccR53PhotoDraw .cc53-close{width:36px!important;height:36px!important;flex:0 0 36px!important;font-size:24px!important;}
html body #ccR53PhotoDraw .cc53-stage{min-height:110px!important;flex:1 1 auto!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#040d1d!important;overflow:hidden!important;border:1px solid rgba(117,170,219,.2)!important;border-radius:13px!important;}
html body #ccR53PhotoDraw .cc53-loading{color:#b8d6f0!important;padding:15px!important;text-align:center!important;}
html body #ccR53PhotoDraw canvas{display:none!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;touch-action:none!important;user-select:none!important;-webkit-user-select:none!important;}
html body #ccR53PhotoDraw canvas.cc53-ready{display:block!important;}
html body #ccR53PhotoDraw .cc53-tools{flex:0 0 auto!important;display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:7px!important;padding:10px 2px!important;}
html body #ccR53PhotoDraw .cc53-tools .cc53-color{display:block!important;width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important;border-radius:50%!important;background:var(--color)!important;border:2px solid rgba(255,255,255,.3)!important;}
html body #ccR53PhotoDraw .cc53-color[data-color="#ffe163"]{--color:#ffe163}
html body #ccR53PhotoDraw .cc53-color[data-color="#47e7dd"]{--color:#47e7dd}
html body #ccR53PhotoDraw .cc53-color[data-color="#ff6378"]{--color:#ff6378}
html body #ccR53PhotoDraw .cc53-color[data-color="#ffffff"]{--color:#ffffff}
html body #ccR53PhotoDraw .cc53-color[aria-pressed="true"]{outline:2px solid #81d6ff!important;outline-offset:2px!important;}
html body #ccR53PhotoDraw .cc53-tools label{display:flex!important;align-items:center!important;gap:5px!important;color:#b8d7f0!important;font-size:11px!important;}
html body #ccR53PhotoDraw .cc53-size{width:76px!important;accent-color:#69caff!important;}
html body #ccR53PhotoDraw .cc53-tools .cc53-undo,html body #ccR53PhotoDraw .cc53-tools .cc53-clear{padding:6px 10px!important;min-height:32px!important;}
html body #ccR53PhotoDraw .cc53-actions{flex:0 0 auto!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important;flex-wrap:wrap!important;min-height:48px!important;}
html body #ccR53PhotoDraw .cc53-status{flex:1 1 100%!important;font-size:12px!important;color:#a8d8f1!important;}
html body #ccR53PhotoDraw .cc53-send{background:linear-gradient(150deg,#1b699d,#125384)!important;border-color:rgba(145,211,255,.65)!important;}
@media(max-width:420px){html body #ccR53PhotoDraw .cc53-panel{border-radius:16px!important;padding:8px!important}html body #ccR53PhotoDraw .cc53-tools{gap:5px!important}html body #ccR53PhotoDraw .cc53-actions{gap:5px!important}}

/* CHEBURCHAT_R50_FIX57_EXTERNAL_VOICE_CSS: persistent linked stylesheet, no inline CSP dependency. */
/* FIX56: isolated voice-player DOM classes. Never inherit the many historical
   .cc-voice-player grid rules. Recording HUD, media viewer and calls untouched. */
#messages .cc-v56-voice-player {
  display:grid!important;grid-template-columns:40px minmax(0,1fr)!important;
  grid-template-rows:auto!important;column-gap:11px!important;align-items:center!important;
  box-sizing:border-box!important;width:min(100%,304px)!important;max-width:100%!important;
  min-width:0!important;min-height:70px!important;height:auto!important;
  margin:0!important;padding:9px 11px!important;
  border:1px solid rgba(108,192,218,.40)!important;border-radius:17px!important;
  background:linear-gradient(125deg,#0d3047,#0b243c)!important;
  box-shadow:inset 0 1px 0 rgba(207,252,255,.07),0 4px 11px rgba(0,12,30,.19)!important;
  position:relative!important;overflow:hidden!important;isolation:isolate!important;
  color:#d5eff7!important;transform:none!important;filter:none!important;
  text-align:left!important;font-family:system-ui,-apple-system,'Segoe UI',sans-serif!important;
}
#messages .cc-v56-voice-player.cc-voice-active {
  border-color:rgba(80,225,222,.78)!important;
  background:linear-gradient(125deg,#0f384e,#0b2941)!important;
}
#messages .cc-v56-voice-player .cc-voice-native{display:none!important}
#messages .cc-v56-voice-player .cc-v56-play {
  appearance:none!important;grid-column:1!important;grid-row:1!important;
  position:static!important;display:grid!important;place-items:center!important;
  width:40px!important;min-width:40px!important;max-width:40px!important;
  height:40px!important;min-height:40px!important;max-height:40px!important;
  margin:0!important;padding:0!important;border-radius:50%!important;
  border:1px solid #6bdde8!important;background:linear-gradient(145deg,#218eb0,#175a82)!important;
  box-shadow:0 2px 6px rgba(0,17,29,.28)!important;color:#efffff!important;
  font:700 15px/1 system-ui,sans-serif!important;opacity:1!important;transform:none!important;
  cursor:pointer!important;touch-action:manipulation!important;
}
#messages .cc-v56-voice-player .cc-v56-main {
  grid-column:2!important;grid-row:1!important;min-width:0!important;width:100%!important;
  display:flex!important;flex-direction:column!important;gap:6px!important;
  align-items:stretch!important;justify-content:center!important;position:static!important;
  overflow:hidden!important;margin:0!important;padding:0!important;box-sizing:border-box!important;
}
#messages .cc-v56-voice-player .cc-v56-wave {
  display:flex!important;position:relative!important;align-items:center!important;justify-content:space-between!important;
  flex:0 0 25px!important;width:100%!important;min-width:0!important;max-width:100%!important;
  height:25px!important;min-height:25px!important;max-height:25px!important;
  margin:0!important;padding:0!important;gap:2px!important;
  border:0!important;border-radius:0!important;overflow:hidden!important;
  background:transparent!important;box-shadow:none!important;transform:none!important;
  cursor:pointer!important;touch-action:pan-y!important;
}
#messages .cc-v56-voice-player .cc-v56-wave .cc-voice-bar {
  display:block!important;position:static!important;flex:1 1 1px!important;
  width:2px!important;min-width:1px!important;max-width:3px!important;
  height:var(--bar-height)!important;max-height:25px!important;
  margin:0!important;padding:0!important;transform:none!important;
  border:0!important;border-radius:5px!important;background:#6086a8!important;
  box-shadow:none!important;opacity:.78!important;
}
#messages .cc-v56-voice-player .cc-v56-wave .cc-voice-bar.played {
  background:#68e0ea!important;opacity:1!important;
}
#messages .cc-v56-voice-player .cc-v56-bottom {
  display:flex!important;position:static!important;flex:0 0 21px!important;
  width:100%!important;min-width:0!important;max-width:100%!important;
  height:21px!important;min-height:21px!important;align-items:center!important;
  justify-content:flex-start!important;gap:7px!important;
  margin:0!important;padding:0!important;overflow:visible!important;
  background:transparent!important;box-sizing:border-box!important;
}
#messages .cc-v56-voice-player .cc-v56-time {
  display:block!important;position:static!important;flex:1 1 auto!important;min-width:0!important;
  width:auto!important;height:auto!important;min-height:0!important;
  margin:0!important;padding:0!important;transform:none!important;
  color:#a4c6d6!important;font:600 11px/1.1 system-ui,sans-serif!important;
  letter-spacing:0!important;white-space:nowrap!important;
  background:transparent!important;box-shadow:none!important;text-shadow:none!important;
  text-align:left!important;
}
#messages .cc-v56-voice-player button.cc-v56-speed {
  appearance:none!important;position:static!important;display:grid!important;place-items:center!important;
  flex:0 0 auto!important;width:auto!important;min-width:35px!important;max-width:none!important;
  height:21px!important;min-height:21px!important;max-height:21px!important;
  margin:0!important;padding:0 6px!important;transform:none!important;
  border-radius:11px!important;border:1px solid rgba(128,197,213,.38)!important;
  background:#153d54!important;color:#c6eff5!important;
  box-shadow:none!important;outline-offset:1px!important;opacity:1!important;
  font:700 11px/1 system-ui,sans-serif!important;white-space:nowrap!important;
  cursor:pointer!important;touch-action:manipulation!important;
}
#messages .cc-v56-voice-player button.cc-v56-save {
  appearance:none!important;position:static!important;display:grid!important;place-items:center!important;
  flex:0 0 22px!important;width:22px!important;min-width:22px!important;max-width:22px!important;
  height:21px!important;min-height:21px!important;max-height:21px!important;
  margin:0!important;padding:0!important;transform:none!important;
  border:0!important;border-radius:8px!important;background:transparent!important;
  box-shadow:none!important;opacity:.8!important;color:#a6d9e3!important;
  font:700 16px/1 system-ui,sans-serif!important;cursor:pointer!important;touch-action:manipulation!important;
}
#messages .cc-v56-voice-player button.cc-v56-speed:focus-visible,
#messages .cc-v56-voice-player button.cc-v56-save:focus-visible,
#messages .cc-v56-voice-player button.cc-v56-play:focus-visible,
#messages .cc-v56-voice-player .cc-v56-wave:focus-visible {
  outline:2px solid #8cebe6!important;outline-offset:1px!important;
}
@media (max-width:375px) {
  #messages .cc-v56-voice-player {grid-template-columns:36px minmax(0,1fr)!important;gap:8px!important;padding:8px 9px!important;min-height:66px!important}
  #messages .cc-v56-voice-player .cc-v56-play {width:36px!important;min-width:36px!important;max-width:36px!important;height:36px!important;min-height:36px!important;max-height:36px!important}
  #messages .cc-v56-voice-player .cc-v56-main{gap:5px!important}
  #messages .cc-v56-voice-player .cc-v56-wave{gap:1px!important}
}

/* FIX57: final constrained geometry in the actual Android WebView stylesheet.
   Scoping is only to the sent/received voice UI, not voice recorder or call panels. */
#app #active #messages .cc-v56-voice-player,
#messages .cc-v56-voice-player{
  display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;grid-template-rows:56px!important;
  gap:9px!important;align-items:center!important;
  width:min(100%,290px)!important;min-width:min(242px,calc(100vw - 110px))!important;max-width:290px!important;
  height:76px!important;min-height:76px!important;max-height:76px!important;
  padding:8px 10px!important;overflow:hidden!important;
  box-sizing:border-box!important;aspect-ratio:auto!important;
  border:1px solid rgba(91,183,203,.55)!important;border-radius:16px!important;
  background:linear-gradient(125deg,#0d3047,#09243a)!important;
  box-shadow:inset 0 1px 0 rgba(207,252,255,.07),0 3px 12px rgba(0,12,30,.19)!important;
}
#app #active #messages .cc-v56-voice-player .cc-v56-play,
#messages .cc-v56-voice-player .cc-v56-play{
  grid-column:1!important;grid-row:1!important;
  width:40px!important;min-width:40px!important;max-width:40px!important;
  height:40px!important;min-height:40px!important;max-height:40px!important;
  align-self:center!important;justify-self:center!important;
  border-radius:50%!important;font:700 16px/1 system-ui,sans-serif!important;
}
#app #active #messages .cc-v56-voice-player .cc-v56-main,
#messages .cc-v56-voice-player .cc-v56-main{
  grid-column:2!important;grid-row:1!important;display:flex!important;
  flex-flow:column nowrap!important;justify-content:center!important;align-items:stretch!important;
  height:56px!important;min-height:56px!important;max-height:56px!important;
  width:100%!important;min-width:0!important;gap:6px!important;overflow:hidden!important;
}
#app #active #messages .cc-v56-voice-player .cc-v56-wave,
#messages .cc-v56-voice-player .cc-v56-wave{
  flex:0 0 24px!important;height:24px!important;min-height:24px!important;max-height:24px!important;
  width:100%!important;overflow:hidden!important;margin:0!important;padding:0!important;
}
#app #active #messages .cc-v56-voice-player .cc-v56-bottom,
#messages .cc-v56-voice-player .cc-v56-bottom{
  flex:0 0 24px!important;height:24px!important;min-height:24px!important;max-height:24px!important;
  display:flex!important;flex-direction:row!important;align-items:center!important;
  justify-content:flex-start!important;gap:7px!important;
  width:100%!important;margin:0!important;padding:0!important;
}
#app #active #messages .cc-v56-voice-player .cc-v56-time,
#messages .cc-v56-voice-player .cc-v56-time{
  flex:1 1 0%!important;min-width:35px!important;white-space:nowrap!important;
  font:600 11px/1.1 system-ui,sans-serif!important;
}
#app #active #messages .cc-v56-voice-player button.cc-v56-speed,
#messages .cc-v56-voice-player button.cc-v56-speed{
  flex:0 0 auto!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:38px!important;min-width:38px!important;max-width:38px!important;
  height:23px!important;min-height:23px!important;max-height:23px!important;
  padding:0!important;margin:0!important;border-radius:11px!important;
  font:700 11px/1 system-ui,sans-serif!important;
}
#app #active #messages .cc-v56-voice-player button.cc-v56-save,
#messages .cc-v56-voice-player button.cc-v56-save{
  flex:0 0 24px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:24px!important;min-width:24px!important;max-width:24px!important;
  height:23px!important;min-height:23px!important;max-height:23px!important;
  padding:0!important;margin:0!important;border-radius:7px!important;
  font:700 16px/1 system-ui,sans-serif!important;
}
@media (max-width:350px){
 #messages .cc-v56-voice-player{width:min(100%,270px)!important;max-width:270px!important;gap:7px!important;padding:7px 8px!important}
 #messages .cc-v56-voice-player .cc-v56-play{width:37px!important;min-width:37px!important;max-width:37px!important;height:37px!important;min-height:37px!important;max-height:37px!important}
}

/* CHEBURCHAT_R50_FIX58_WALLPAPER_PANEL: only the chat wallpaper dialog. */
#dialogBody .cc58-paper{display:flex;flex-direction:column;gap:12px;padding:4px 0 8px;max-width:100%;font-family:system-ui,-apple-system,'Segoe UI',sans-serif}
#dialogBody .cc58-paper-current{height:150px;min-height:150px;border-radius:17px;border:1px solid rgba(117,209,221,.45);background:radial-gradient(ellipse at 75% 15%,rgba(38,124,159,.38),transparent 60%),linear-gradient(145deg,#071529,#0a2b3c);background-size:cover;background-position:center;box-shadow:inset 0 0 0 1px rgba(205,244,255,.07);overflow:hidden}
#dialogBody .cc58-paper-current[data-wallpaper="warm"]{background:linear-gradient(145deg,#3b3334,#706053)}
#dialogBody .cc58-paper-current[data-wallpaper="soft"]{background:linear-gradient(145deg,#072b37,#265d60)}
#dialogBody .cc58-paper-copy{display:flex;flex-direction:column;gap:3px;line-height:1.35;color:#e3f6fc}
#dialogBody .cc58-paper-copy strong{font-size:15px;letter-spacing:0;font-weight:650}
#dialogBody .cc58-paper-copy small{color:#91b9ca;font-size:12px}
#dialogBody button.cc58-paper-pick{appearance:none;display:flex;align-items:center;justify-content:center;min-height:46px;width:100%;box-sizing:border-box;border-radius:14px;border:1px solid rgba(95,229,224,.8);background:linear-gradient(120deg,#0e4b59,#16727e);color:#eaffff;font:650 14px/1.2 system-ui,sans-serif;box-shadow:0 3px 14px rgba(0,20,30,.2);padding:10px 12px;touch-action:manipulation}
#dialogBody .cc58-paper-hint{margin:0;color:#9cbcc9;font-size:12px;line-height:1.45}
#dialogBody button.cc58-paper-reset{appearance:none;width:100%;min-height:40px;border:1px solid rgba(102,164,188,.3);border-radius:11px;background:rgba(12,40,58,.68);color:#b4dce6;font:550 13px/1.3 system-ui,sans-serif;padding:8px 10px;touch-action:manipulation}
#dialogBody button.cc58-paper-reset[hidden]{display:none!important}
#dialogBody button.cc58-paper-pick:disabled,#dialogBody button.cc58-paper-reset:disabled{opacity:.55}
