body.tat2omni-gallery-menu-open { overflow: hidden; }
body .tat2omni-gallery-menu,
body .tat2omni-gallery-menu * { box-sizing: border-box; }
body .tat2omni-gallery-menu {
    position: fixed; inset: 0; margin: auto; padding: 0; width: min(560px, calc(100% - 32px));
    max-width: calc(100% - 32px); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
    border: 1px solid var(--tat2omni-border-accent, #D4AF37); border-radius: 22px;
    background: var(--tat2omni-surface, #fff); color: var(--tat2omni-text, #172033);
    box-shadow: var(--tat2omni-shadow, 0 20px 65px rgba(0,0,0,.3)); overflow: hidden;
    font-family: inherit; font-size: var(--tat2omni-font-size-16, 16px); line-height: 1.5;
    color-scheme: var(--tat2omni-color-scheme, light);
}
body .tat2omni-gallery-menu:not([open]) { display: none; }
body .tat2omni-gallery-menu[open] { display: flex; flex-direction: column; }
.tat2omni-gallery-menu::backdrop { background: var(--tat2omni-overlay, rgba(15,23,42,.6)); backdrop-filter: blur(7px); }
body .tat2omni-gallery-menu__header {
    display: flex; align-items: center; justify-content: space-between; gap: 18px; flex: 0 0 auto;
    padding: 24px; border-top: 0; border-bottom: 1px solid var(--tat2omni-line, #D9E0EA);
    background: var(--tat2omni-surface-raised, #F8FAFC);
}
body .tat2omni-gallery-menu__header > div { min-width: 0; }
body .tat2omni-gallery-menu__eyebrow { color: var(--tat2omni-main, #0066FF); font-size: .8em; letter-spacing: .1em; font-weight: 700; }
body .tat2omni-gallery-menu h2 { color: inherit; margin: 4px 0 0; font-size: 1.4em; line-height: 1.25; overflow-wrap: anywhere; }
body .tat2omni-gallery-menu button {
    margin: 0; min-width: 0; float: none; text-transform: none; letter-spacing: normal; font-family: inherit; font-size: 1em; line-height: 1.4;
    cursor: pointer; box-shadow: none; height: auto; white-space: normal;
}
body .tat2omni-gallery-menu [data-gallery-close] {
    flex: 0 0 44px; width: 44px; height: 44px; padding: 0; display: grid; place-items: center;
    border-radius: 50%; border: 1px solid var(--tat2omni-line, #D9E0EA); background: var(--tat2omni-surface, #fff); color: var(--tat2omni-text, #172033); font-size: 1.6em;
}
body .tat2omni-gallery-menu__body { padding: 24px; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; }
body .tat2omni-gallery-menu [data-gallery-status] { margin: 0 0 18px; font-size: 1em; line-height: 1.5; color: var(--tat2omni-text-muted, #5B6678); overflow-wrap: anywhere; }
body .tat2omni-gallery-menu__choices { display: grid; gap: 12px; }
body .tat2omni-gallery-menu__choices button {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 16px 20px; min-height: 56px; text-align: left;
    border: 1px solid var(--tat2omni-border-accent, #D4AF37); border-radius: 14px;
    background: var(--tat2omni-main, #0066FF); color: var(--tat2omni-on-main, #fff); font-weight: 600; transition: background .2s, color .2s;
}
body .tat2omni-gallery-menu__choices button span:first-child { min-width: 0; overflow-wrap: anywhere; }
body .tat2omni-gallery-menu__choices button span:last-child { flex-shrink: 0; font-size: 1.4em; }
body .tat2omni-gallery-menu button:hover { background: var(--tat2omni-accent, #C803FA); color: var(--tat2omni-on-accent, #fff); }
body .tat2omni-gallery-menu button:focus-visible { outline: 3px solid var(--tat2omni-accent, #C803FA); outline-offset: 3px; }
body .tat2omni-gallery-menu__choices[aria-busy] { opacity: .65; cursor: progress; }
body.tat2omni-floating-gallery-open .joinchat__button,
body.tat2omni-floating-gallery-open .floating-buttons-left,
body.tat2omni-floating-gallery-open .tat2omni-chatty-launcher { visibility: hidden; }
.tat2omni-floating-gallery-lightbox .lg-sub-html { font-size: var(--tat2omni-font-size-16, 16px); overflow-wrap: anywhere; }
.tat2omni-floating-gallery-lightbox .lg-sub-html p { font-size: inherit; margin: 0; line-height: 1.5; }
@media (max-width: 480px) {
    body .tat2omni-gallery-menu { width: calc(100% - 20px); max-width: calc(100% - 20px); max-height: calc(100dvh - 20px); border-radius: 18px; }
    body .tat2omni-gallery-menu__header, body .tat2omni-gallery-menu__body { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) { body .tat2omni-gallery-menu button { transition: none; } }
