/* ==========================================================================
   WeTrans Social — Sistema de reacciones estilo Facebook
   Animaciones EXCLUSIVAS en la bandeja flotante abierta (.wt-rx-tray.is-open).
   Conteos en publicaciones y botones activos usan simbolos SVG estaticos.
   ========================================================================== */

.wt-rx-sprite {
    position: fixed;
    width: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
    opacity: 0;
}

svg.wt-rx-icon {
    display: block;
    flex-shrink: 0;
    overflow: visible;
    fill: initial;
    stroke: none;
}

/* ===== Conteo estatico de reacciones en publicaciones ===== */
.wt-rx-summary {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 2px 4px 2px 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    line-height: 1.2;
    cursor: pointer;
    min-width: 0;
}

.wt-rx-summary:hover:not(:disabled) .wt-rx-summary__count {
    text-decoration: underline;
    color: #27272a;
}

.wt-rx-summary.is-empty,
.wt-rx-summary:disabled {
    cursor: default;
    opacity: 1;
}

.wt-rx-summary__empty {
    color: #9ca3af;
}

.wt-rx-summary__stack {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.wt-rx-summary__badge {
    position: relative;
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 1.8px #fff;
    margin-left: -5px;
}

.wt-rx-summary__badge:first-child {
    margin-left: 0;
    z-index: 3;
}

.wt-rx-summary__badge:nth-child(2) {
    z-index: 2;
}

.wt-rx-summary__badge:nth-child(3) {
    z-index: 1;
}

.wt-rx-summary__badge svg.wt-rx-icon {
    width: 19px;
    height: 19px;
}

.wt-rx-summary__count {
    font-variant-numeric: tabular-nums;
    font-weight: 500;
    color: #52525b;
    transition: color .14s ease;
}

/* ===== Boton disparador (feed, detalle escritorio y overlay movil) ===== */
.wt-rx-trigger {
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    transition: color .16s ease, background-color .16s ease, transform .14s ease;
}

.wt-rx-trigger__icon {
    width: 20px;
    height: 20px;
}

.wt-rx-trigger__outline {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
}

.wt-rx-trigger.is-reacted {
    color: var(--wt-rx-color, #2078f4);
}

.wt-social-post__actions .wt-rx-trigger.is-reacted,
.wt-confession-detail-post__actions .wt-rx-trigger.is-reacted {
    color: var(--wt-rx-color, #2078f4);
}

.wt-confession-detail-post__actions .wt-rx-trigger.is-reacted,
.wt-confession-detail-post__actions .wt-rx-trigger.is-reacted:hover {
    color: var(--wt-rx-color, #2078f4);
    background: color-mix(in srgb, var(--wt-rx-color, #2078f4) 11%, transparent);
}

.wt-rx-trigger.is-popping .wt-rx-trigger__icon,
.wt-rx-trigger.is-popping .wt-rx-trigger__outline {
    animation: wt-rx-pop .32s cubic-bezier(.34, 1.56, .64, 1);
}

@keyframes wt-rx-pop {
    0% { transform: scale(.72); }
    55% { transform: scale(1.24); }
    100% { transform: scale(1); }
}

/* ===== Bandeja flotante de seleccion (animaciones activas SOLO aqui) ===== */
.wt-rx-tray {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000020;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 8px;
    border: 1px solid rgba(24, 24, 27, .09);
    border-radius: 999px;
    background: rgba(255, 255, 255, .98);
    backdrop-filter: blur(14px);
    box-shadow: 0 14px 36px rgba(24, 24, 27, .18), 0 3px 10px rgba(24, 24, 27, .08);
    opacity: 0;
    transform: translateY(8px) scale(.92);
    transition: opacity .16s ease, transform .2s cubic-bezier(.22, 1, .36, 1);
    pointer-events: none;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}

.wt-rx-tray[hidden] {
    display: none !important;
}

.wt-rx-tray.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.wt-rx-tray.is-below {
    transform-origin: top center;
}

.wt-rx-tray--dark {
    border-color: rgba(255, 255, 255, .15);
    background: rgba(26, 24, 32, .94);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .48), 0 4px 12px rgba(0, 0, 0, .26);
}

.wt-rx-tray__btn {
    position: relative;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transform-origin: bottom center;
    transition: transform .18s cubic-bezier(.34, 1.56, .64, 1);
    will-change: transform;
}

.wt-rx-tray.is-open .wt-rx-tray__btn {
    animation: wt-rx-dock-in .26s cubic-bezier(.34, 1.56, .64, 1) calc(var(--rx-i, 0) * 24ms) backwards;
}

@keyframes wt-rx-dock-in {
    from {
        opacity: 0;
        transform: translateY(14px) scale(.55);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.wt-rx-tray__btn.is-hovered,
.wt-rx-tray__btn:hover,
.wt-rx-tray__btn:focus-visible {
    transform: translateY(-9px) scale(1.32);
    z-index: 4;
    outline: none;
}

.wt-rx-tray__btn.is-current::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 5px;
    height: 5px;
    margin-left: -2.5px;
    border-radius: 50%;
    background: #c4006e;
}

.wt-rx-tray--dark .wt-rx-tray__btn.is-current::after {
    background: #ff7ab8;
}

.wt-rx-tray__label {
    position: absolute;
    bottom: calc(100% + 9px);
    left: 50%;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(24, 24, 27, .92);
    color: #fff;
    font: 600 11px/1.3 'DM Sans', system-ui, sans-serif;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, 4px) scale(.92);
    transition: opacity .12s ease, transform .14s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}

.wt-rx-tray--dark .wt-rx-tray__label {
    background: rgba(255, 255, 255, .95);
    color: #18181b;
}

.wt-rx-tray__btn.is-hovered .wt-rx-tray__label,
.wt-rx-tray__btn:hover .wt-rx-tray__label,
.wt-rx-tray__btn:focus-visible .wt-rx-tray__label {
    opacity: 1;
    transform: translate(-50%, 0) scale(.8);
}

.wt-rx-anim {
    display: block;
    width: 40px;
    height: 40px;
    overflow: visible;
    pointer-events: none;
}

.wt-rx-anim .m {
    transform-box: fill-box;
    transform-origin: center;
}

/* ===== Animaciones de los 7 SVG (activas solo con .wt-rx-tray.is-open) ===== */
@keyframes wt-rx-ring { 0%{opacity:0;transform:scale(.92)} 8%{opacity:.55} 35%,100%{opacity:0;transform:scale(1.12)} }
@keyframes wt-rx-blink { 0%,88%,100%{transform:scaleY(1)} 92%{transform:scaleY(.1)} 96%{transform:scaleY(1)} }

/* Me gusta */
.wt-rx-tray.is-open .lk-hand { animation: wt-rx-lk-hand 3s cubic-bezier(.4,0,.2,1) infinite; transform-origin: 30% 85%; }
@keyframes wt-rx-lk-hand { 0%,52%,100%{transform:none} 10%{transform:translateY(3px) rotate(8deg) scale(.94)} 22%{transform:translateY(-6px) rotate(-14deg) scale(1.12)} 32%{transform:translateY(-1px) rotate(6deg) scale(1.03)} 42%{transform:rotate(-2deg)} }
.wt-rx-tray.is-open .lk-base { animation: wt-rx-lk-base 3s ease-in-out infinite; }
@keyframes wt-rx-lk-base { 0%,40%,100%{transform:none} 12%{transform:scale(.96)} 24%{transform:scale(1.03)} }
.wt-rx-anim .lk-ring { opacity: 0; }
.wt-rx-tray.is-open .lk-ring { animation: wt-rx-ring 3s ease-out .6s infinite; }
.wt-rx-anim .lk-spark { opacity: 0; transform-origin: 0% 100%; }
.wt-rx-tray.is-open .lk-spark { animation: wt-rx-lk-spark 3s ease-out infinite; }
@keyframes wt-rx-lk-spark { 0%,18%{opacity:0;transform:scale(.3)} 26%{opacity:1;transform:scale(1.1)} 42%,100%{opacity:0;transform:scale(1.25)} }

/* Me encanta */
.wt-rx-tray.is-open .lv-heart { animation: wt-rx-lv-beat 3s ease-in-out infinite; }
@keyframes wt-rx-lv-beat { 0%,40%,100%{transform:scale(1)} 8%{transform:scale(1.18)} 14%{transform:scale(.95)} 22%{transform:scale(1.13)} 30%{transform:scale(1)} }
.wt-rx-anim .lv-ring { opacity: 0; }
.wt-rx-tray.is-open .lv-ring { animation: wt-rx-ring 3s ease-out .15s infinite; }
.wt-rx-anim .lv-mini { opacity: 0; }
.wt-rx-tray.is-open .lv-mini { animation: wt-rx-lv-mini 3s ease-out .25s infinite; }
.wt-rx-tray.is-open .lv-m2 { animation-delay: .7s; }
@keyframes wt-rx-lv-mini { 0%{opacity:0;transform:translateY(6px) scale(.4)} 15%{opacity:1;transform:translateY(0) scale(1)} 55%,100%{opacity:0;transform:translateY(-14px) scale(.9)} }

/* Me enciende */
.wt-rx-tray.is-open .ht-flame { animation: wt-rx-ht-flicker .8s ease-in-out infinite alternate; transform-origin: 50% 100%; }
.wt-rx-tray.is-open .ht-core { animation: wt-rx-ht-flicker .55s ease-in-out infinite alternate-reverse; transform-origin: 50% 100%; }
@keyframes wt-rx-ht-flicker { 0%{transform:scale(1,1) skewX(0)} 33%{transform:scale(.93,1.08) skewX(-5deg)} 66%{transform:scale(1.05,.95) skewX(4deg)} 100%{transform:scale(.97,1.05) skewX(-2deg)} }
.wt-rx-tray.is-open .ht-heat { animation: wt-rx-ht-heat 3s ease-in-out infinite; }
@keyframes wt-rx-ht-heat { 0%,100%{opacity:.4} 50%{opacity:1} }
.wt-rx-tray.is-open .ht-brow { animation: wt-rx-ht-brow 3s ease-in-out infinite; }
@keyframes wt-rx-ht-brow { 0%,15%,45%,100%{transform:none} 20%,30%{transform:translateY(-4px) rotate(-5deg)} 25%,35%{transform:translateY(-1px)} }
.wt-rx-tray.is-open .ht-eyes { animation: wt-rx-blink 3s ease-in-out infinite; }
.wt-rx-tray.is-open .ht-mouth { animation: wt-rx-ht-mouth 3s ease-in-out infinite; }
@keyframes wt-rx-ht-mouth { 0%,50%,100%{transform:none} 58%,70%{transform:translateY(1px) rotate(2deg)} 64%,76%{transform:translateY(-.5px) rotate(-2deg)} }

/* Me enoja */
.wt-rx-tray.is-open .an-face { animation: wt-rx-an-shake 3s ease-in-out infinite; }
@keyframes wt-rx-an-shake { 0%,18%,48%,100%{transform:none} 22%,30%,38%{transform:translateX(-2.5px) rotate(-3deg)} 26%,34%,42%{transform:translateX(2.5px) rotate(3deg)} }
.wt-rx-tray.is-open .an-flush { animation: wt-rx-an-flush 3s ease-in-out infinite; }
@keyframes wt-rx-an-flush { 0%,100%{opacity:.2} 35%{opacity:1} }
.wt-rx-tray.is-open .an-brows { animation: wt-rx-an-brows 3s ease-in-out infinite; }
@keyframes wt-rx-an-brows { 0%,12%,55%,100%{transform:none} 20%,45%{transform:translateY(3px) scaleX(.94)} }
.wt-rx-anim .an-sl { opacity: 0; transform-origin: 100% 100%; }
.wt-rx-anim .an-sr { opacity: 0; transform-origin: 0% 100%; }
.wt-rx-tray.is-open .an-sl { animation: wt-rx-an-sl 3s ease-out infinite; }
.wt-rx-tray.is-open .an-sr { animation: wt-rx-an-sr 3s ease-out infinite; }
@keyframes wt-rx-an-sl { 0%,20%{opacity:0;transform:translate(0,0) scale(.3)} 30%{opacity:1;transform:translate(-2px,-2px) scale(1)} 55%,100%{opacity:0;transform:translate(-8px,-10px) scale(1.25)} }
@keyframes wt-rx-an-sr { 0%,20%{opacity:0;transform:translate(0,0) scale(.3)} 30%{opacity:1;transform:translate(2px,-2px) scale(1)} 55%,100%{opacity:0;transform:translate(8px,-10px) scale(1.25)} }

/* Me entristece */
.wt-rx-tray.is-open .sd-eyes { animation: wt-rx-blink 3s ease-in-out -1.3s infinite; }
.wt-rx-tray.is-open .sd-brows { animation: wt-rx-sd-brows 3s ease-in-out infinite; }
@keyframes wt-rx-sd-brows { 0%,20%,65%,100%{transform:none} 35%,55%{transform:translateY(-2px)} }
.wt-rx-tray.is-open .sd-mouth { animation: wt-rx-sd-quiver 3s ease-in-out infinite; }
@keyframes wt-rx-sd-quiver { 0%,28%,56%,100%{transform:none} 32%,40%,48%{transform:translate(-.7px,.5px) rotate(-2deg)} 36%,44%,52%{transform:translate(.7px,.5px) rotate(2deg)} }
.wt-rx-tray.is-open .sd-tear { animation: wt-rx-sd-tear 3s ease-in infinite; transform-origin: 50% 0%; }
@keyframes wt-rx-sd-tear { 0%{opacity:0;transform:translateY(0) scale(.3)} 12%{opacity:1;transform:translateY(0) scale(1)} 30%{transform:translateY(1px) scale(1)} 66%{opacity:1;transform:translateY(20px) scale(.95,1.08)} 76%,100%{opacity:0;transform:translateY(25px) scale(.9)} }

/* Me divierte */
.wt-rx-tray.is-open .hh-face { animation: wt-rx-hh-rock 3s ease-in-out infinite; }
@keyframes wt-rx-hh-rock { 0%,52%,100%{transform:none} 8%,24%{transform:translateY(-4px) rotate(-6deg)} 16%,32%{transform:translateY(1px) rotate(6deg)} 42%{transform:translateY(-2px) rotate(-2deg)} }
.wt-rx-tray.is-open .hh-mouth { animation: wt-rx-hh-mouth 3s ease-in-out infinite; transform-origin: 50% 0%; }
@keyframes wt-rx-hh-mouth { 0%,52%,100%{transform:scaleY(1)} 8%,24%{transform:scaleY(.84)} 16%,32%{transform:scaleY(1.08)} }
.wt-rx-tray.is-open .hh-eyes { animation: wt-rx-hh-eyes 3s ease-in-out infinite; }
@keyframes wt-rx-hh-eyes { 0%,52%,100%{transform:none} 8%,24%{transform:scaleY(.78)} 16%,32%{transform:scaleY(1.05)} }
.wt-rx-anim .hh-tl,
.wt-rx-anim .hh-tr { opacity: 0; }
.wt-rx-tray.is-open .hh-tl { animation: wt-rx-hh-tl 3s ease-out infinite; }
.wt-rx-tray.is-open .hh-tr { animation: wt-rx-hh-tr 3s ease-out infinite; }
@keyframes wt-rx-hh-tl { 0%,4%{opacity:0;transform:translate(3px,-2px) scale(.4)} 14%{opacity:1;transform:translate(0,0) scale(1)} 40%{opacity:1;transform:translate(-5px,9px) scale(1)} 52%,100%{opacity:0;transform:translate(-7px,14px) scale(.85)} }
@keyframes wt-rx-hh-tr { 0%,4%{opacity:0;transform:translate(-3px,-2px) scale(.4)} 14%{opacity:1;transform:translate(0,0) scale(1)} 40%{opacity:1;transform:translate(5px,9px) scale(1)} 52%,100%{opacity:0;transform:translate(7px,14px) scale(.85)} }

/* Me desagrada */
.wt-rx-tray.is-open .dg-face { animation: wt-rx-dg-recoil 3s ease-in-out infinite; }
@keyframes wt-rx-dg-recoil { 0%,62%,100%{transform:none} 12%{transform:translate(3px,2px) rotate(7deg) scale(.95)} 18%{transform:translate(4.5px,2px) rotate(5deg) scale(.95)} 22%{transform:translate(2px,2px) rotate(8deg) scale(.95)} 26%{transform:translate(4.5px,2px) rotate(5deg) scale(.95)} 30%,48%{transform:translate(3px,2px) rotate(6deg) scale(.95)} }
.wt-rx-tray.is-open .dg-sick { animation: wt-rx-dg-sick 3s ease-in-out infinite; }
@keyframes wt-rx-dg-sick { 0%,100%{opacity:.35;transform:translateY(12px)} 40%{opacity:1;transform:translateY(0)} }
.wt-rx-tray.is-open .dg-squint { animation: wt-rx-dg-squint 3s ease-in-out infinite; }
@keyframes wt-rx-dg-squint { 0%,8%,58%,100%{transform:none} 14%,50%{transform:scaleY(.45) translateY(1px)} }
.wt-rx-tray.is-open .dg-mouth { animation: wt-rx-dg-mouth 3s ease-in-out infinite; }
@keyframes wt-rx-dg-mouth { 0%,12%,52%,100%{transform:none} 18%,30%,42%{transform:translateX(-1px) scaleX(.96)} 24%,36%,48%{transform:translateX(1px) scaleX(.96)} }
.wt-rx-tray.is-open .dg-tongue { animation: wt-rx-dg-tongue 3s ease-in-out infinite; transform-origin: 50% 0%; }
@keyframes wt-rx-dg-tongue { 0%,8%,70%,100%{transform:scaleY(.1)} 18%{transform:scaleY(1.18)} 24%,58%{transform:scaleY(1)} }
.wt-rx-anim .dg-stink { opacity: 0; }
.wt-rx-tray.is-open .dg-stink { animation: wt-rx-dg-stink 3s ease-out infinite; }
@keyframes wt-rx-dg-stink { 0%,10%{opacity:0;transform:translateY(6px)} 25%{opacity:1} 55%,100%{opacity:0;transform:translateY(-8px)} }

/* ===== Dialogo: Quien reacciono (#wtSocialReactionsModal) ===== */
.wt-social-dialog.wt-rx-modal {
    width: min(440px, calc(100vw - 28px));
    max-width: none;
    max-height: min(76dvh, 560px);
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(228, 228, 231, .92);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 64px rgba(24, 24, 27, .24);
}

.wt-social-dialog.wt-rx-modal[open] {
    display: flex;
    flex-direction: column;
}

.wt-social-dialog.wt-rx-modal [hidden] {
    display: none !important;
}

.wt-social-dialog.wt-rx-modal::backdrop {
    background: rgba(24, 24, 27, .55);
    backdrop-filter: blur(5px);
}

.wt-rx-modal__handle {
    display: none;
}

.wt-social-dialog.wt-rx-modal > .wt-rx-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding: 15px 18px 12px;
    border-bottom: 1px solid #f1f1f4;
    flex-shrink: 0;
}

.wt-social-dialog.wt-rx-modal .wt-rx-modal__header h2 {
    margin: 0;
    color: #18181b;
    font: 700 18px/1.25 'Outfit', sans-serif;
}

.wt-social-dialog.wt-rx-modal .wt-rx-modal__close {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f4f4f5;
    color: #52525b;
    font-size: 0;
}

.wt-social-dialog.wt-rx-modal .wt-rx-modal__close:hover {
    background: #e4e4e7;
    color: #18181b;
}

.wt-social-dialog.wt-rx-modal .wt-rx-modal__close svg {
    width: 17px;
    height: 17px;
}

.wt-rx-modal__tabs {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-bottom: 1px solid #f1f1f4;
    overflow-x: auto;
    scrollbar-width: none;
    flex-shrink: 0;
}

.wt-rx-modal__tabs::-webkit-scrollbar {
    display: none;
}

.wt-rx-modal__tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    padding: 6px 11px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: #f5f5f7;
    color: #52525b;
    font: 600 12.5px/1.2 'DM Sans', sans-serif;
    cursor: pointer;
    transition: background-color .14s ease, border-color .14s ease, color .14s ease;
}

.wt-rx-modal__tab:hover {
    background: #ececf0;
}

.wt-rx-modal__tab.is-active {
    border-color: #f1dce6;
    background: #fdf2f8;
    color: #c4006e;
}

.wt-rx-modal__tab svg.wt-rx-icon {
    width: 18px;
    height: 18px;
}

.wt-rx-modal__body {
    flex: 1;
    min-height: 140px;
    padding: 8px 10px 14px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.wt-rx-modal__list {
    display: grid;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wt-rx-modal__user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    border-radius: 12px;
    color: #18181b;
    text-decoration: none;
    transition: background-color .14s ease;
}

.wt-rx-modal__user:hover {
    background: #f5f5f7;
}

.wt-rx-modal__avatar-wrap {
    position: relative;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
}

.wt-rx-modal__avatar {
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(24, 24, 27, .08);
}

.wt-rx-modal__avatar-badge {
    position: absolute;
    right: -3px;
    bottom: -2px;
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .18);
}

.wt-rx-modal__avatar-badge svg.wt-rx-icon {
    width: 17px;
    height: 17px;
}

.wt-rx-modal__name {
    min-width: 0;
    flex: 1;
    font: 600 14px/1.3 'DM Sans', sans-serif;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wt-rx-modal__state {
    margin: 28px 16px;
    color: #71717a;
    font-size: 13.5px;
    text-align: center;
}

/* ===== Responsive movil ===== */
@media (max-width: 640px) {
    .wt-social-dialog.wt-rx-modal {
        position: fixed;
        inset: auto 0 0 0;
        width: 100vw;
        max-width: 100vw;
        max-height: 78dvh;
        margin: 0;
        border: 0;
        border-radius: 22px 22px 0 0;
        box-shadow: 0 -14px 42px rgba(0, 0, 0, .24);
    }

    .wt-rx-modal__handle {
        display: flex;
        justify-content: center;
        padding: 10px 0 2px;
        flex-shrink: 0;
    }

    .wt-rx-modal__handle span {
        width: 38px;
        height: 4px;
        border-radius: 999px;
        background: #d4d4d8;
    }

    .wt-rx-modal__body {
        padding-bottom: calc(16px + env(safe-area-inset-bottom));
    }
}

@media (max-width: 440px) {
    .wt-rx-tray {
        gap: 3px;
        padding: 5px 6px;
    }

    .wt-rx-tray__btn {
        width: 40px;
        height: 40px;
    }

    .wt-rx-anim {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 350px) {
    .wt-rx-tray {
        gap: 2px;
        padding: 4px 5px;
    }

    .wt-rx-tray__btn {
        width: 36px;
        height: 36px;
    }

    .wt-rx-anim {
        width: 32px;
        height: 32px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wt-rx-tray,
    .wt-rx-tray__btn,
    .wt-rx-tray__label,
    .wt-rx-anim *,
    .wt-rx-trigger.is-popping .wt-rx-trigger__icon,
    .wt-rx-trigger.is-popping .wt-rx-trigger__outline {
        animation: none !important;
        transition: none !important;
    }
}
