         :root {
         --hunt-safe-top: env(safe-area-inset-top, 0px);
         --feed-safe-top: env(safe-area-inset-top, 0px);
         --feed-footer-height: 5rem;
         --feed-safe-bottom: env(safe-area-inset-bottom, 0px);
         --feed-ui-bottom: calc(var(--feed-footer-height) + var(--feed-safe-bottom));
         --feed-progress-offset: calc(4.25rem + var(--feed-safe-bottom));
         --feed-caption-offset: calc(var(--feed-ui-bottom) + 1.25rem);
         --feed-action-offset: calc(var(--feed-ui-bottom) + 0.75rem);
         --hunt-keyboard-inset: 0px;
         /* Many Android WebViews report safe-area-inset-bottom as 0. */
         --hunt-mobile-bottom-floor: 14px;
         --hunt-caption-dock-pad: max(1rem, calc(0.7rem + env(safe-area-inset-bottom, 0px) + var(--hunt-mobile-bottom-floor)));
         }
         /* Edge-to-edge WebView/browser: keep chrome clear of status bar */
         .feed-top-chrome {
         padding-top: calc(1.5rem + var(--feed-safe-top)) !important;
         }
         .hunt-safe-pt {
         padding-top: calc(1rem + var(--hunt-safe-top)) !important;
         }
         .hunt-safe-pt-sm {
         padding-top: calc(0.5rem + var(--hunt-safe-top)) !important;
         }
         .hunt-safe-top {
         top: max(1rem, calc(0.75rem + var(--hunt-safe-top))) !important;
         }
         .hunt-safe-top-lg {
         top: max(2.5rem, calc(1rem + var(--hunt-safe-top))) !important;
         }
         @media (max-width: 1023px) {
         /*
          * Profile pattern: sticky chrome at top:0 with safe-area padding INSIDE
          * so content scrolls under the bar and never peeks above it.
          */
         #profile-sticky-chrome {
         top: 0;
         padding-top: var(--hunt-safe-top);
         }
         /* Marketplace / audio / discover / seek-help sticky headers */
         .hunt-sticky-safe,
         main header.sticky.top-0,
         main .sticky.top-0.z-40 {
         top: 0 !important;
         padding-top: var(--hunt-safe-top) !important;
         /* Opaque seal — translucent glass lets scrolled content show through */
         background-color: #ffffff !important;
         backdrop-filter: none !important;
         -webkit-backdrop-filter: none !important;
         }
         html.dark .hunt-sticky-safe,
         html.dark main header.sticky.top-0,
         html.dark main .sticky.top-0.z-40 {
         background-color: #0b0b0b !important;
         }
         /* Secondary sticky bars under audio header */
         #au-mood-bar,
         #au-cat-bar {
         background-color: #ffffff !important;
         backdrop-filter: none !important;
         -webkit-backdrop-filter: none !important;
         }
         html.dark #au-mood-bar,
         html.dark #au-cat-bar {
         background-color: #0b0b0b !important;
         }
         /* Pages with no sticky header still need a top inset */
         main:not(#feed-container):not(#profile-main):not(:has(.sticky.top-0)) {
         padding-top: var(--hunt-safe-top);
         }
         /*
          * Fullscreen overlays escape main padding — pad their top chrome.
          * Prefer .hunt-overlay-header; IDs cover existing search overlays.
          */
         .hunt-overlay-header,
         #search-panel > .search-panel-header,
         #mp-search-overlay > .hunt-overlay-header,
         #au-search-overlay > .hunt-overlay-header,
         #tag-search-overlay .hunt-overlay-header,
         #chat-link-browser > .hunt-overlay-header,
         #image-preview-drawer > .hunt-overlay-header,
         #img-preview-drawer > .hunt-overlay-header {
         padding-top: calc(0.75rem + var(--hunt-safe-top)) !important;
         }
         #video-overlay #video-sheet > button.hunt-modal-back {
         top: max(2.5rem, calc(1rem + var(--hunt-safe-top)));
         }
         #creator-verification-lightbox-close,
         #generalOverlaycloseLightbox,
         #feed-video-close-lightbox {
         top: max(1rem, calc(0.75rem + var(--hunt-safe-top))) !important;
         }
         }
         html {
         overscroll-behavior: none;
         overscroll-behavior-y: none;
         overscroll-behavior-x: none;
         overflow-x: hidden;
         max-width: 100%;
         }
         body {
         font-family: 'Manrope', sans-serif;
         overflow: hidden; /* Prevents the whole page from scrolling */
         overflow-x: hidden;
         overscroll-behavior: none;
         overscroll-behavior-y: none;
         overscroll-behavior-x: none;
         max-width: 100%;
         touch-action: pan-y;
         }
         /* Scroll panes: allow vertical scroll, block rubber-band / page shift */
         #profile-main,
         #feed-container,
         main {
         overscroll-behavior: none;
         overscroll-behavior-y: none;
         overscroll-behavior-x: none;
         }
         /* Utility to hide scrollbars while keeping functionality */
         .no-scrollbar {
         -ms-overflow-style: none;  /* IE and Edge */
         scrollbar-width: none;     /* Firefox */
         }
         .no-scrollbar::-webkit-scrollbar {
         display: none;             /* Chrome, Safari and Opera */
         }
         /* Modals and sheets: keep scroll, hide the bar (mobile browser and WebView). */
         .modal-scroll-content,
         .modal-scroll-content *,
         .hunt-keyboard-sheet,
         .hunt-keyboard-sheet *,
         .hunt-keyboard-dock,
         .hunt-keyboard-dock *,
         #video-sheet,
         #video-sheet *,
         [id$="-sheet"],
         [id$="-sheet"] *,
         [role="dialog"],
         [role="dialog"] * {
         scrollbar-width: none !important;
         -ms-overflow-style: none !important;
         }
         .modal-scroll-content::-webkit-scrollbar,
         .modal-scroll-content *::-webkit-scrollbar,
         .hunt-keyboard-sheet::-webkit-scrollbar,
         .hunt-keyboard-sheet *::-webkit-scrollbar,
         .hunt-keyboard-dock::-webkit-scrollbar,
         .hunt-keyboard-dock *::-webkit-scrollbar,
         #video-sheet::-webkit-scrollbar,
         #video-sheet *::-webkit-scrollbar,
         [id$="-sheet"]::-webkit-scrollbar,
         [id$="-sheet"] *::-webkit-scrollbar,
         [role="dialog"]::-webkit-scrollbar,
         [role="dialog"] *::-webkit-scrollbar {
         width: 0 !important;
         height: 0 !important;
         display: none !important;
         background: transparent !important;
         }
         /* WebView / in-app shell: hide all scrollbars, keep scroll */
         html.hunt-app,
         html.hunt-app body {
         overscroll-behavior: none;
         overscroll-behavior-y: none;
         overscroll-behavior-x: none;
         overflow-x: hidden;
         -webkit-overflow-scrolling: touch;
         touch-action: pan-y;
         }
         html.hunt-app #profile-main,
         html.hunt-app #feed-container,
         html.hunt-app main {
         overscroll-behavior: none;
         overscroll-behavior-y: none;
         overscroll-behavior-x: none;
         /* hidden first: older Android WebViews ignore overflow-x:clip and then expand sideways */
         overflow-x: hidden;
         overflow-x: clip;
         max-width: 100%;
         min-width: 0;
         touch-action: pan-y;
         }
         /* Upload / non-sticky scroll pages: keep hard clip so late chips/fonts cannot widen the shell */
         html.hunt-app main:not(#profile-main):not(#feed-container) {
         overflow-x: hidden !important;
         }
         html.hunt-app,
         html.hunt-app * {
         -ms-overflow-style: none;
         scrollbar-width: none;
         }
         html.hunt-app *::-webkit-scrollbar {
         width: 0 !important;
         height: 0 !important;
         display: none !important;
         background: transparent;
         }
         .modal-scroll-content {
         -webkit-overflow-scrolling: touch;
         overscroll-behavior: contain;
         }
         /* Follow-back sticky (feed + video modal) */
         .hunt-followback-sticky {
         position: absolute;
         left: 0.75rem;
         right: 4.75rem;
         z-index: 55;
         pointer-events: none;
         }
         .hunt-followback-sticky:not([hidden]) {
         pointer-events: auto;
         }
         .video-slide .hunt-followback-sticky {
         bottom: calc(0.45rem + env(safe-area-inset-bottom, 0px));
         }
         #modalPlayerStack .hunt-followback-sticky,
         .hunt-followback-sticky--modal {
         left: 0.85rem;
         right: 4.75rem;
         bottom: calc(4.85rem + env(safe-area-inset-bottom, 0px));
         }
         @media (min-width: 768px) {
         #modalPlayerStack .hunt-followback-sticky,
         .hunt-followback-sticky--modal {
         right: auto;
         width: min(360px, calc(100% - 2rem));
         bottom: 1.25rem;
         }
         }
         .hunt-followback-sticky__inner {
         display: flex;
         align-items: center;
         gap: 0.55rem;
         padding: 0.55rem 0.6rem;
         border-radius: 0.9rem;
         background: rgba(15, 15, 15, 0.78);
         border: 1px solid rgba(255, 255, 255, 0.12);
         backdrop-filter: blur(10px);
         -webkit-backdrop-filter: blur(10px);
         box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
         animation: hunt-followback-in .22s ease-out;
         touch-action: pan-y;
         will-change: transform;
         }
         .hunt-followback-sticky.is-dragging .hunt-followback-sticky__inner,
         .hunt-followback-sticky.is-dismissing .hunt-followback-sticky__inner {
         animation: none !important;
         }
         .hunt-followback-sticky.is-dragging .hunt-followback-sticky__inner {
         transition: none !important;
         }
         .hunt-followback-sticky.is-dismissing .hunt-followback-sticky__inner {
         transition: transform .22s cubic-bezier(0.2, 0.8, 0.2, 1), opacity .22s ease !important;
         pointer-events: none;
         }
         .hunt-followback-sticky.is-snapback .hunt-followback-sticky__inner {
         animation: none !important;
         transition: transform .2s ease, opacity .2s ease !important;
         }
         @keyframes hunt-followback-in {
         from { opacity: 0; transform: translateY(8px); }
         to { opacity: 1; transform: translateY(0); }
         }
         .hunt-followback-sticky__avatar {
         width: 2rem;
         height: 2rem;
         border-radius: 9999px;
         object-fit: cover;
         border: 1.5px solid rgba(255, 255, 255, 0.85);
         flex-shrink: 0;
         }
         .hunt-followback-sticky__copy {
         min-width: 0;
         flex: 1;
         }
         .hunt-followback-sticky__title {
         font-size: 0.72rem;
         font-weight: 800;
         color: #fff;
         line-height: 1.15;
         }
         .hunt-followback-sticky__sub {
         margin-top: 0.1rem;
         font-size: 0.65rem;
         font-weight: 600;
         color: rgba(255, 255, 255, 0.72);
         line-height: 1.2;
         }
         .hunt-followback-sticky__actions {
         display: flex;
         align-items: center;
         gap: 0.35rem;
         flex-shrink: 0;
         }
         .hunt-followback-sticky__btn {
         border: 0;
         border-radius: 9999px;
         font-size: 0.68rem;
         font-weight: 800;
         padding: 0.38rem 0.7rem;
         white-space: nowrap;
         transition: transform .12s ease, filter .12s ease, background .12s ease;
         }
         .hunt-followback-sticky__btn:active { transform: scale(0.96); }
         .hunt-followback-sticky__btn--ghost {
         background: rgba(255, 255, 255, 0.12);
         color: #fff;
         }
         .hunt-followback-sticky__btn--ghost:hover { background: rgba(255, 255, 255, 0.18); }
         .hunt-followback-sticky__btn--brand {
         background: #FF6600;
         color: #fff;
         box-shadow: 0 6px 14px rgba(255, 102, 0, 0.28);
         }
         .hunt-followback-sticky__btn--brand:hover { filter: brightness(1.06); }
         .hunt-followback-sticky__btn:disabled {
         opacity: 0.65;
         pointer-events: none;
         }
         /* Solid modal shells — no translucent grey wash over dimmed backdrop */
         #tip-sheet,
         #login-sheet,
         #register-sheet,
         #profile-sheet,
         #close-account-sheet,
         #share-sheet,
         #chat-edit-sheet,
         #comment-sheet,
         #inbox-sheet,
         #activities-sheet,
         #sh-report-sheet,
         .mp-report-sheet {
         background-color: #ffffff !important;
         backdrop-filter: none !important;
         -webkit-backdrop-filter: none !important;
         }
         .dark #tip-sheet,
         .dark #login-sheet,
         .dark #register-sheet,
         .dark #profile-sheet,
         .dark #close-account-sheet,
         .dark #share-sheet,
         .dark #chat-edit-sheet,
         .dark #comment-sheet,
         .dark #inbox-sheet,
         .dark #activities-sheet,
         .dark #sh-report-sheet,
         .dark .mp-report-sheet {
         background-color: #121212 !important;
         }
         .video-container {
         scroll-snap-type: y mandatory;
         overflow-y: scroll;
         height: 100vh;
         height: 100dvh;
         /* Apply hiding here */
         -ms-overflow-style: none;
         scrollbar-width: none;
         }
         .video-container::-webkit-scrollbar {
         display: none;
         }
		.video-slide {
			scroll-snap-align: start;
			height: 100vh;
			height: 100dvh;
			min-height: 100vh;
			min-height: 100dvh;
			display: flex;
			justify-content: center;
			align-items: center;
			position: relative;
    	}
         .video-wrapper {
         width: 100%;
         max-width: 480px;
         height: calc(100vh - 40px); /* This creates the even space top/bottom */
         position: relative;
         border-radius: 12px;
         overflow: hidden;
         background: #000;
         }
         .material-symbols-outlined {
         font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
         }
         /* Home-feed avatar follow badge: keep icon tiny inside the circle */
         .feed-follow-btn {
         position: absolute;
         left: 50%;
         bottom: -6px;
         transform: translateX(-50%);
         width: 18px;
         height: 18px;
         padding: 0;
         margin: 0;
         border: 1.5px solid #ffffff;
         border-radius: 9999px;
         display: inline-flex;
         align-items: center;
         justify-content: center;
         background-color: #FF6600;
         box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
         line-height: 1;
         overflow: hidden;
         flex-shrink: 0;
         z-index: 2;
         cursor: pointer;
         transition: background-color 0.2s ease, transform 0.15s ease;
         }
         .feed-follow-btn.is-following {
         background-color: #2dc712;
         }
         .feed-follow-btn:active {
         transform: translateX(-50%) scale(0.92);
         }
         .feed-follow-btn .follow-icon,
         .feed-follow-btn .material-symbols-outlined {
         color: #ffffff !important;
         font-size: 12px !important;
         line-height: 1 !important;
         width: 12px;
         height: 12px;
         display: inline-flex;
         align-items: center;
         justify-content: center;
         font-variation-settings: 'FILL' 1, 'wght' 700, 'GRAD' 0, 'opsz' 20;
         pointer-events: none;
         user-select: none;
         }
         /*
          * Compact Material Symbols tokens.
          * Google’s stylesheet defaults to 24px and overrides Tailwind text-* classes.
          */
         .ms-icon-xxs,
         .ms-icon-xs,
         .ms-icon-sm,
         .ms-icon-md,
         .ms-icon-lg,
         .ms-icon-xl,
         .ms-icon-2xl,
         .ms-icon-feed,
         .ms-icon-verified {
         display: inline-flex;
         align-items: center;
         justify-content: center;
         line-height: 1 !important;
         }
         /* Micro overlays: card eye / volume / status dots */
         .ms-icon-xxs {
         font-size: 12px !important;
         width: 12px;
         height: 12px;
         }
         /* Compact UI chrome: info, history, add */
         .ms-icon-xs {
         font-size: 14px !important;
         width: 14px;
         height: 14px;
         }
         /* Metadata beside small copy: location, etc. */
         .ms-icon-sm {
         font-size: 14px !important;
         width: 14px;
         height: 14px;
         }
         .ms-icon-md {
         font-size: 16px !important;
         width: 16px;
         height: 16px;
         }
         /* Header / pill CTA icons beside 13–14px labels */
         .ms-icon-lg {
         font-size: 18px !important;
         width: 18px;
         height: 18px;
         }
         .ms-icon-xl {
         font-size: 20px !important;
         width: 20px;
         height: 20px;
         }
         /* Toolbar / sheet back & close */
         .ms-icon-2xl {
         font-size: 22px !important;
         width: 22px;
         height: 22px;
         }
         /* Feed / overlay action glyphs (like, comment, share, tip) */
         .ms-icon-feed {
         font-size: 28px !important;
         width: 28px;
         height: 28px;
         }
         /*
          * Shared blue tick — same glyph as profile hero
          * (.profile-hero-identity__badge). Used on home feed, video modal,
          * and standalone video URL overlays.
          */
         .profile-hero-identity__badge,
         .ms-icon-verified {
         flex: 0 0 auto;
         display: inline-flex;
         align-items: center;
         justify-content: center;
         line-height: 1 !important;
         font-size: 16px !important;
         width: 16px;
         height: 16px;
         font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 20;
         }
         /* Grid browse load-more (Discover / Tags / Challenges) */
         #discover-loadmore-indicator,
         #challenge-loadmore-indicator {
         width: 100%;
         display: flex;
         align-items: center;
         justify-content: center;
         padding: 1.75rem 0 2.25rem;
         }
         #discover-loadmore-indicator.hidden,
         #challenge-loadmore-indicator.hidden {
         display: none !important;
         }
         .active-nav-item {
         color: #FF6600;
         }
         .active-nav-item span {
         font-variation-settings: 'FILL' 1;
         }
         /* Ensure the wrapper fills the screen on mobile but centers on desktop */
         @media (max-width: 1024px) {
         .video-slide {
         padding: 0;
         }
         .video-wrapper {
         border-radius: 0; /* TikTok look is edge-to-edge on mobile */
         max-width: none;
         width: 100%;
         height: 100%;
         }
         .feed-caption-offset {
         bottom: var(--feed-caption-offset);
         }
         .feed-action-offset {
         bottom: var(--feed-action-offset);
         }
         /* Fixed above mobile footer; only active slide is interactive */
         .feed-progress-bar {
         position: fixed !important;
         left: 0 !important;
         right: 0 !important;
         bottom: var(--feed-progress-offset) !important;
         z-index: 55;
         height: 14px;
         padding: 5px 0;
         margin: 0;
         touch-action: none;
         -webkit-tap-highlight-color: transparent;
         opacity: 0;
         pointer-events: none;
         background: transparent !important;
         }
         .video-slide.is-feed-active .feed-progress-bar {
         opacity: 1;
         pointer-events: auto;
         }
         .feed-progress-bar [data-type="buffered-fill"],
         .feed-progress-bar [data-type="progress-fill"] {
         top: auto;
         bottom: 0;
         transform: none;
         height: 2px;
         }
         .feed-progress-bar [data-type="progress-fill"] .progress-thumb {
         top: 50%;
         }
         .feed-progress-bar::before {
         content: '';
         position: absolute;
         left: 0;
         right: 0;
         top: auto;
         bottom: 0;
         transform: none;
         height: 2px;
         background: rgba(255, 255, 255, 0.15);
         pointer-events: none;
         z-index: 0;
         }
         .feed-progress-bar [data-type="buffered-fill"],
         .feed-progress-bar [data-type="progress-fill"] {
         z-index: 1;
         }
         }
         .video-loader.is-boot {
         background: #0F0F0F;
         }
         .video-loader.is-boot.is-ready {
         background: transparent;
         }
         .loader-wrapper {
         position: relative;
         width: 80px;
         height: 80px;
         display: flex;
         align-items: center;
         justify-content: center;
         }
         .loader {
         position: absolute;
         inset: 0;
         border-radius: 50%;
         background: conic-gradient(from 0deg, #ff6600 0%, #2dc712 30%, #fbbc05 60%, #00afef 85%, transparent 100%);
         -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 12px), #000 100%);
         mask: radial-gradient(farthest-side, transparent calc(100% - 12px), #000 100%);
         animation: rotate 1.5s linear infinite;
         }
         .loader-favicon {
         position: absolute;
         z-index: 10;
         width: 36px;
         height: 36px;
         max-width: 36px;
         max-height: 36px;
         object-fit: contain;
         }
         .loader-wrapper--md {
         width: 48px;
         height: 48px;
         }
         .loader-wrapper--md .loader {
         -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 100%);
         mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 100%);
         }
         .loader-wrapper--md .loader-favicon {
         width: 22px;
         height: 22px;
         max-width: 22px;
         max-height: 22px;
         }
         .loader-wrapper--sm {
         width: 28px;
         height: 28px;
         }
         .loader-wrapper--sm .loader {
         -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 100%);
         mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 100%);
         }
         .loader-wrapper--sm .loader-favicon {
         width: 14px;
         height: 14px;
         max-width: 14px;
         max-height: 14px;
         }
         @keyframes rotate {
         to { transform: rotate(360deg); }
         }
         @media (min-width: 1025px) {
         .feed-caption-offset {
         bottom: 1rem;
         }
         .feed-action-offset {
         bottom: 2.5rem;
         }
         }
         /* Hide scrollbar utility */
         .no-scrollbar {
         -ms-overflow-style: none;
         scrollbar-width: none;
         }
         .no-scrollbar::-webkit-scrollbar {
         display: none;
         }

      </style>


<!-- CSS FOR EMOJI-->
<style>
/* 1. Essential: The container must be relative to the bottom input area */
#emoji-picker-container {
    position: absolute;
    bottom: calc(100% + 15px); /* Position above the input bar */
    right: 15px;
    z-index: 99999; /* Ensure it stays above everything */
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    border-radius: 20px;
    overflow: hidden;
    line-height: normal; /* Fixes potential font issues */
}

/* 2. Mobile Responsiveness */
@media (max-width: 1024px) {
    #emoji-picker-container {
        right: 10px;
        left: 10px;
        bottom: calc(100% + 10px);
    }
    
    em-emoji-picker {
        width: 100% !important;
        max-width: none !important;
        height: 45vh !important; /* Take up 45% of the screen height on mobile */
    }
}

/* Emoji pickers sit inside the composer. Sheets and #modal-content must
   keep a real scrollport, or the keyboard pushes the focused field off screen. */
.comment-input-wrapper {
    overflow: visible;
}

/* Text-entry bottom sheets. Resting height stays on each sheet.
   On a phone, while the keyboard is open, fit the sheet to the visible
   area so the focused field can scroll into view. */
.hunt-keyboard-sheet {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    padding-bottom: env(safe-area-inset-bottom, 0px);
}
/* Follow the keyboard with padding only. Height stays put, so the focused
   field does not bounce. Open/close still slides via transform. */
.hunt-keyboard-sheet,
.hunt-keyboard-dock {
    transition-property: transform, opacity !important;
}
/* Inbox / comment docks sit edge-to-edge; WebViews often report safe-area as 0,
   so give the same bottom clearance the DM (login-sheet) sheet already has. */
@media (max-width: 1023px) {
    #inbox-sheet.hunt-keyboard-dock,
    #comment-sheet.hunt-keyboard-dock {
        padding-bottom: max(env(safe-area-inset-bottom, 0px), var(--hunt-mobile-bottom-floor, 14px));
        box-sizing: border-box;
    }
}
@media (max-width: 1023px) {
    html.hunt-keyboard-open .hunt-keyboard-sheet,
    html.hunt-keyboard-open .hunt-keyboard-dock {
        padding-bottom: max(env(safe-area-inset-bottom, 0px), var(--hunt-keyboard-inset, 0px));
    }

    /* Image-caption docks + message composers: lift above WebView / keyboard edge */
    .hunt-caption-dock,
    #feed-video-img-preview-drawer > .hunt-caption-dock,
    #img-preview-drawer > .hunt-caption-dock,
    #image-preview-drawer > .hunt-caption-dock,
    .sm-img-preview-footer,
    .sc-image-preview-foot {
        padding-bottom: var(--hunt-caption-dock-pad) !important;
        padding-top: 0.85rem;
        box-sizing: border-box;
    }

    html.hunt-keyboard-open .hunt-caption-dock,
    html.hunt-keyboard-open .sm-img-preview-footer,
    html.hunt-keyboard-open .sc-image-preview-foot {
        /* Extra clearance so the field is not clipped under the keyboard lip */
        padding-bottom: max(1.25rem, calc(0.9rem + env(safe-area-inset-bottom, 0px) + var(--hunt-mobile-bottom-floor))) !important;
    }

    .hunt-message-dock:not(.inbox-composer),
    .profile-help-chat-live-composer,
    .profile-help-chat-footer {
        padding-bottom: max(0.65rem, calc(0.4rem + env(safe-area-inset-bottom, 0px) + var(--hunt-mobile-bottom-floor))) !important;
    }

    html.hunt-keyboard-open .hunt-message-dock:not(.inbox-composer),
    html.hunt-keyboard-open .profile-help-chat-live-composer,
    html.hunt-keyboard-open .profile-help-chat-footer {
        padding-bottom: max(0.85rem, calc(0.5rem + env(safe-area-inset-bottom, 0px) + var(--hunt-mobile-bottom-floor))) !important;
    }

    /* DM / inbox / video-comment composers: keep tools flush inside the sheet.
       Sheet/dock provides WebView bottom clearance. */
    #login-sheet.sm-message-host .sm-composer,
    #login-sheet:has(#sm-config) .sm-composer,
    .inbox-composer,
    #comment-sheet .feed-comment-composer {
        padding-bottom: 0.35rem !important;
    }
    html.hunt-keyboard-open #login-sheet.sm-message-host .sm-composer,
    html.hunt-keyboard-open #login-sheet:has(#sm-config) .sm-composer,
    html.hunt-keyboard-open .inbox-composer,
    html.hunt-keyboard-open #comment-sheet .feed-comment-composer {
        padding-bottom: 0.25rem !important;
    }
}
</style>






 
<style>
textarea {
  resize: none !important;
}
</style>


<style>
/* Pure CSS to handle the scroll experience */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
</style>

<style>
/* Hunt toastr — centered tray with side padding (no transform; toastr animate uses transform) */
#toast-container.toast-bottom-center {
	position: fixed !important;
	top: auto !important;
	left: 0 !important;
	right: 0 !important;
	transform: none !important;
	width: 100% !important;
	max-width: 100% !important;
	/* Side inset so toasts never kiss phone edges */
	padding: 0 max(20px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px)) !important;
	padding-left: max(20px, env(safe-area-inset-left, 0px)) !important;
	padding-right: max(20px, env(safe-area-inset-right, 0px)) !important;
	margin: 0 !important;
	box-sizing: border-box !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	pointer-events: none !important;
	z-index: 999999 !important;
	/* Mobile browser: clear bottom nav + safe area */
	bottom: calc(5.75rem + env(safe-area-inset-bottom, 0px) + var(--hunt-mobile-bottom-floor, 14px)) !important;
}
/* WebView app: lift higher — safe-area is often 0 and native bars cover toasts */
html.hunt-app #toast-container.toast-bottom-center {
	bottom: calc(7.25rem + env(safe-area-inset-bottom, 0px) + var(--hunt-mobile-bottom-floor, 14px)) !important;
}
@media (max-width: 1023px) {
	#toast-container.toast-bottom-center {
		padding-left: max(20px, env(safe-area-inset-left, 0px)) !important;
		padding-right: max(20px, env(safe-area-inset-right, 0px)) !important;
	}
	#toast-container.toast-bottom-center > div {
		width: auto !important;
		max-width: 100% !important;
		align-self: stretch !important;
	}
}
@media (min-width: 1024px) {
	#toast-container.toast-bottom-center {
		bottom: 1.75rem !important;
		padding: 0 24px !important;
	}
	html.hunt-app #toast-container.toast-bottom-center {
		bottom: 2.5rem !important;
	}
}
#toast-container.toast-bottom-center > div {
	pointer-events: auto !important;
	width: 100% !important;
	max-width: 420px !important;
	box-sizing: border-box !important;
	margin-left: auto !important;
	margin-right: auto !important;
	margin-top: 0 !important;
	margin-bottom: 10px !important;
	float: none !important;
	padding: 13px 42px 13px 48px !important;
	border-radius: 14px !important;
	opacity: 1 !important;
	font-size: 0.875rem !important;
	font-weight: 600 !important;
	line-height: 1.4 !important;
	text-align: left;
	box-shadow: 0 12px 32px rgba(15, 23, 42, 0.22) !important;
	border: 1px solid rgba(255, 255, 255, 0.12) !important;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}
#toast-container > .toast-success,
.toast-success {
	background-color: #2dc712 !important;
	color: #fff !important;
}
#toast-container > .toast-error,
.toast-error {
	background-color: #FF6600 !important;
	color: #fff !important;
}
#toast-container > .toast-info,
.toast-info {
	background-color: #4A9FE0 !important;
	color: #fff !important;
}
#toast-container > .toast-warning,
.toast-warning {
	background-color: #E6A700 !important;
	color: #fff !important;
}
#toast-container .toast-message,
#toast-container .toast-title {
	color: #fff !important;
}
#toast-container .toast-close-button {
	right: 0.45rem;
	top: 0.2rem;
	text-shadow: none;
	opacity: 0.85;
	color: #fff !important;
}
#toast-container .toast-progress {
	opacity: 0.35;
	height: 3px;
	background-color: rgba(255, 255, 255, 0.55) !important;
}
