/* LOCAL CANDIDATE. The landing's captured DOM only; no application stylesheet changes. */

/* Let content leave the header cleanly. Blurring readable lines below it creates ghosts. */
:is(#demo-host,#incognito-host,#create-host) .android-floating-chat>[data-testid="message-scroll-region"]{
  -webkit-mask-image:linear-gradient(to bottom,transparent var(--demo-feed-top,var(--chat-header-height,76px)),#000 calc(var(--demo-feed-top,var(--chat-header-height,76px)) + 8px),#000 calc(100% - var(--demo-feed-bottom,var(--chat-bottom-height,146px)) - 8px),transparent calc(100% - var(--demo-feed-bottom,var(--chat-bottom-height,146px))));
  mask-image:linear-gradient(to bottom,transparent var(--demo-feed-top,var(--chat-header-height,76px)),#000 calc(var(--demo-feed-top,var(--chat-header-height,76px)) + 8px),#000 calc(100% - var(--demo-feed-bottom,var(--chat-bottom-height,146px)) - 8px),transparent calc(100% - var(--demo-feed-bottom,var(--chat-bottom-height,146px))));
}
:is(#demo-host,#incognito-host,#create-host) .android-chat-header::before,
:is(#demo-host,#incognito-host,#create-host) .android-chat-header::after{
  content:none;
  background:none!important;
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
}

/* Opaque controls retain a small contact shadow, instead of a broad dark halo. */
:is(#demo-host,#incognito-host,#create-host) .android-chat-header :is(.android-header-action,.android-chat-island)::before{
  box-shadow:inset 0 1px 0 rgb(255 255 255 / .06),0 2px 6px rgb(0 0 0 / .10);
}
:root[data-theme="light"] :is(#demo-host,#incognito-host,#create-host) .android-chat-header :is(.android-header-action,.android-chat-island)::before{
  box-shadow:inset 0 1px 0 rgb(255 255 255 / .7),0 2px 6px rgb(42 31 22 / .055);
}
:is(#demo-host,#incognito-host,#create-host) [data-testid="composer-shell"].android-composer{
  box-shadow:inset 0 1px 0 rgb(255 255 255 / .045),0 3px 12px rgb(0 0 0 / .10);
}
:root[data-theme="light"] :is(#demo-host,#incognito-host,#create-host) [data-testid="composer-shell"].android-composer{
  box-shadow:inset 0 1px 0 rgb(255 255 255 / .7),0 3px 12px rgb(42 31 22 / .06);
}

/* The measured feed mask follows multiline input. Keep only the dock's local blur. */
:is(#demo-host,#incognito-host,#create-host) .android-chat-bottom-islands::before,
:is(#demo-host,#incognito-host,#create-host) .android-chat-bottom-islands::after{
  content:none;
  background:none;
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
}
