.zg-input-clear { position: fixed; z-index: 2147483000; display: grid; place-items: center; width: 32px; height: 32px; min-width: 32px; min-height: 32px; margin: 0!important; padding: 4px!important; border: 0!important; border-radius: 50%; background: transparent!important; color: var(--zg-muted,#7c7884); box-shadow: none!important; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.zg-input-clear[hidden] { display: none!important; }
.zg-input-clear svg { width: 24px; height: 24px; display: block; }
.zg-input-clear:active { color: var(--zg-accent,#8256bc); }
input.zg-clear-active::-webkit-search-cancel-button { display:none; }
input.zg-clear-active::-webkit-inner-spin-button { -webkit-appearance:none; }
/* Explicit theme colour: Telegram/iOS can otherwise keep a white insertion caret. */
:root :is(input,textarea,[contenteditable="true"]) { caret-color:var(--zg-accent,#6945bf)!important; }
