[morethanwords/tweb/master](https://github.com/morethanwords/tweb/tree/master) • [e9ea7d0](https://github.com/morethanwords/tweb/commit/e9ea7d05645b055bbf18d189db92e14091988e37) • _1 files, +4/-0_
Ignore clicks on pinned gifts when profile avatar is expanded

The pinned-gifts layer paints on top of the avatar and was only hidden
via opacity:0 when the header is expanded, which leaves it catching
clicks meant for the avatar underneath. Make it pointer-events:none in
the expanded state so clicks fall through to the avatar handler.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

[morethanwords/tweb/master](https://github.com/morethanwords/tweb/tree/master) • [0b2e4a5](https://github.com/morethanwords/tweb/commit/0b2e4a5127023a9da2e7aea47b85aea640af6d22) • _1 files, +9/-2_
Fix player menus invisible in fullscreen

Playback-rate / quality / live menus open via ButtonMenuToggle, which
portals the menu to document.body. While the player wrapper is the
fullscreen element the browser paints only its subtree (top layer), so a
menu in document.body never shows. Mount the menu inside the fullscreen
element when the trigger lives there; falls back to the overlay root
otherwise.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

[morethanwords/tweb/master](https://github.com/morethanwords/tweb/tree/master) • [bc0fe18](https://github.com/morethanwords/tweb/commit/bc0fe186f45d9b435343ce915cdfe2ddc8e1f1b7) • _3 files, +27/-19_
Chat preview: apply per-chat theme to outgoing bubbles + fix bubble width

A preview Chat sets isPreview, so Chat.handleBackgrounds() short-circuits and
applyContainerTheme() never runs — the per-chat theme's outgoing-bubble vars
(--message-out-*) were missing on the container, so outgoing bubbles fell back
to the global :root palette ("theme only partially applied"). Apply the
resolved theme to the preview's chat container, re-firing on day/night toggle,
mirroring Chat._handleBackgrounds.

Also scope the bubbles scroll-area negative inset-inline rule to [#column](?q=%23column)-center
so it no longer widens the preview popup's bubbles, and drop the now-redundant
inset-inline: 0 override in _chatPreview.scss.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

[morethanwords/tweb/master](https://github.com/morethanwords/tweb/tree/master) • [2010d64](https://github.com/morethanwords/tweb/commit/2010d64f4ef76f64e45362759e67f49f803481f7) • _3 files, +56/-0_
Close global search and left-sidebar tabs when switching folders

Switching a chat folder now dismisses an open global search and closes any
stacked left-sidebar tabs, mirroring closeEverythingInside. Tabs close the
natural way (as if via the back arrow), so a tab that needs confirmation
still asks; if the user declines, the folder switch is cancelled. Both folder
UIs (the horizontal tabs and the vertical folders sidebar) funnel through
selectFolderByIndex, so a single hook covers both.

Adds SidebarSlider.closeAllTabsNaturally (close tabs top-down honoring each
tab's isConfirmationNeededOnClose) and AppSidebarLeft.closeEverythingInsideNaturally.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

[#webk](?q=%23webk)