/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* MainLayout styles */
.cr-root-layout[b-6bdtwn6jhu] {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-3jiyfj4hlj] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("/assets/css/77e67409caaf.svg") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-3jiyfj4hlj] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-3jiyfj4hlj] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-3jiyfj4hlj] {
    font-size: 1.1rem;
}

.bi[b-3jiyfj4hlj] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-3jiyfj4hlj] {
    background-image: url("/assets/css/93a9e8112bea.svg");
}

.bi-plus-square-fill-nav-menu[b-3jiyfj4hlj] {
    background-image: url("/assets/css/476d9af36c07.svg");
}

.bi-list-nested-nav-menu[b-3jiyfj4hlj] {
    background-image: url("/assets/css/8918f7372486.svg");
}

.nav-item[b-3jiyfj4hlj] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-3jiyfj4hlj] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-3jiyfj4hlj] {
        padding-bottom: 1rem;
    }

    .nav-item[b-3jiyfj4hlj]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-3jiyfj4hlj]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-3jiyfj4hlj]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-3jiyfj4hlj] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-3jiyfj4hlj] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-3jiyfj4hlj] {
        display: none;
    }

    .nav-scrollable[b-3jiyfj4hlj] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
/* ============================================================================
   CrimeRewind - Reconnect Modal Styles
   ============================================================================ */

#components-reconnect-modal[b-suyu20y1jx] {
    padding: 0;
    border: none;
    outline: none;
    background: transparent;
    margin: auto;
    max-width: 95vw;
    opacity: 0;
    transform: scale(0.92) translateY(14px);
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                overlay 0.3s allow-discrete,
                display 0.3s allow-discrete;
}

#components-reconnect-modal[open][b-suyu20y1jx] {
    opacity: 1;
    transform: scale(1) translateY(0);
}

@starting-style {
    #components-reconnect-modal[open][b-suyu20y1jx] {
        opacity: 0;
        transform: scale(0.92) translateY(14px);
    }
}

#components-reconnect-modal[b-suyu20y1jx]::backdrop {
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.3s ease, overlay 0.3s allow-discrete, display 0.3s allow-discrete;
}

#components-reconnect-modal[open][b-suyu20y1jx]::backdrop {
    opacity: 1;
}

@starting-style {
    #components-reconnect-modal[open][b-suyu20y1jx]::backdrop {
        opacity: 0;
    }
}

/* Modal Window Container */
.cr-reconnect-window[b-suyu20y1jx] {
    background: var(--cr-surface, #ffffff);
    color: var(--cr-text, #0f172a);
    border: 3px solid var(--cr-border, #0f172a);
    border-radius: 18px;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.45), 6px 6px 0px rgba(15, 23, 42, 0.35);
    width: min(92vw, 460px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Header */
.cr-reconnect-header[b-suyu20y1jx] {
    background: var(--cr-surface-alt, #f7f4ec);
    border-bottom: 2px solid var(--cr-border-soft, #cbd5e1);
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.cr-reconnect-brand[b-suyu20y1jx] {
    font-size: 1.15rem;
    gap: 0.5rem;
}

.cr-reconnect-tag[b-suyu20y1jx] {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    background: rgba(234, 179, 8, 0.18);
    color: #b45309;
    border: 1.5px solid #ca8a04;
}

/* Body */
.cr-reconnect-body[b-suyu20y1jx] {
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
}

.cr-reconnect-visual[b-suyu20y1jx] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 112px;
}

.cr-reconnect-msg[b-suyu20y1jx] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    width: 100%;
}

.cr-reconnect-title[b-suyu20y1jx] {
    font-weight: 900;
    font-size: 1.15rem;
    margin: 0;
    line-height: 1.3;
    color: var(--cr-text, #0f172a);
}

.cr-reconnect-desc[b-suyu20y1jx] {
    font-size: 0.92rem;
    color: var(--cr-text-secondary, #334155);
    margin: 0;
    line-height: 1.45;
}

/* Timer Countdown Pill */
.cr-reconnect-seconds-pill[b-suyu20y1jx] {
    background: #0f172a;
    color: #fef08a;
    border: 2px solid #ca8a04;
    border-radius: 999px;
    padding: 0.05rem 0.6rem;
    font-weight: 900;
    font-size: 0.95rem;
    display: inline-block;
    min-width: 2rem;
    text-align: center;
    box-shadow: 1px 1px 0 #ca8a04;
    vertical-align: middle;
    margin: 0 0.25rem;
    line-height: 1.35;
}

/* Pulsing Dots */
.cr-reconnect-dots[b-suyu20y1jx] {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.4rem;
}

.cr-reconnect-dots span[b-suyu20y1jx] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #eab308;
    display: inline-block;
    animation: cr-dots-pulse-b-suyu20y1jx 1.4s infinite ease-in-out both;
}

.cr-reconnect-dots span:nth-child(1)[b-suyu20y1jx] { animation-delay: -0.32s; }
.cr-reconnect-dots span:nth-child(2)[b-suyu20y1jx] { animation-delay: -0.16s; }

@keyframes cr-dots-pulse-b-suyu20y1jx {
    0%, 80%, 100% {
        transform: scale(0.6);
        opacity: 0.35;
    }
    40% {
        transform: scale(1.15);
        opacity: 1;
    }
}

/* Actions */
.cr-reconnect-actions[b-suyu20y1jx] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.75rem;
    width: 100%;
}

/* ============================================================================
   SVG Loading Chrono & Rewind Animations
   ============================================================================ */

.cr-chrono-wrapper[b-suyu20y1jx] {
    position: relative;
    width: 112px;
    height: 112px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cr-chrono-svg[b-suyu20y1jx] {
    overflow: visible;
}

.cr-chrono-ring-outer[b-suyu20y1jx] {
    color: var(--cr-border, #1e293b);
}

.cr-chrono-ticks[b-suyu20y1jx] {
    color: var(--cr-border-soft, #94a3b8);
    transform-origin: 60px 60px;
    animation: cr-spin-ccw-b-suyu20y1jx 24s linear infinite;
}

.cr-chrono-arc[b-suyu20y1jx] {
    transform-origin: 60px 60px;
    animation: cr-spin-ccw-b-suyu20y1jx 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.cr-chrono-orbit[b-suyu20y1jx] {
    transform-origin: 60px 60px;
    animation: cr-spin-ccw-b-suyu20y1jx 2.2s linear infinite;
}

.cr-chrono-chevrons[b-suyu20y1jx] {
    transform-origin: 52.5px 60px;
    animation: cr-chevrons-pulse-b-suyu20y1jx 1.8s ease-in-out infinite;
}

@keyframes cr-spin-ccw-b-suyu20y1jx {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(-360deg);
    }
}

@keyframes cr-chevrons-pulse-b-suyu20y1jx {
    0%, 100% {
        transform: scale(1);
        opacity: 0.92;
    }
    50% {
        transform: scale(1.08);
        opacity: 1;
        filter: drop-shadow(0 0 6px rgba(234, 179, 8, 0.75));
    }
}

/* ============================================================================
   State Visibility Switching
   ============================================================================ */

/* Hide all state sections by default */
#components-reconnect-modal .components-reconnect-first-attempt-visible[b-suyu20y1jx],
#components-reconnect-modal .components-reconnect-repeated-attempt-visible[b-suyu20y1jx],
#components-reconnect-modal .components-reconnect-failed-visible[b-suyu20y1jx],
#components-reconnect-modal .components-pause-visible[b-suyu20y1jx],
#components-reconnect-modal .components-resume-failed-visible[b-suyu20y1jx],
#components-reconnect-modal .components-rejoining-animation[b-suyu20y1jx] {
    display: none !important;
}

/* 1. First Attempt (default & show) */
#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-suyu20y1jx],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-suyu20y1jx],
#components-reconnect-modal:not(.components-reconnect-retrying):not(.components-reconnect-failed):not(.components-reconnect-paused):not(.components-reconnect-resume-failed) .components-reconnect-first-attempt-visible[b-suyu20y1jx],
#components-reconnect-modal:not(.components-reconnect-retrying):not(.components-reconnect-failed):not(.components-reconnect-paused):not(.components-reconnect-resume-failed) .components-rejoining-animation[b-suyu20y1jx] {
    display: flex !important;
}

/* 2. Retrying / Repeated attempts with countdown */
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-suyu20y1jx],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-suyu20y1jx] {
    display: flex !important;
}
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-first-attempt-visible[b-suyu20y1jx] {
    display: none !important;
}

/* 3. Reconnect Failed */
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-suyu20y1jx] {
    display: flex !important;
}
#components-reconnect-modal.components-reconnect-failed .components-rejoining-animation[b-suyu20y1jx],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-first-attempt-visible[b-suyu20y1jx],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-repeated-attempt-visible[b-suyu20y1jx] {
    display: none !important;
}

/* 4. Session Paused */
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-suyu20y1jx] {
    display: flex !important;
}
#components-reconnect-modal.components-reconnect-paused .components-rejoining-animation[b-suyu20y1jx],
#components-reconnect-modal.components-reconnect-paused .components-reconnect-first-attempt-visible[b-suyu20y1jx] {
    display: none !important;
}

/* 5. Resume Failed */
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-suyu20y1jx] {
    display: flex !important;
}
#components-reconnect-modal.components-reconnect-resume-failed .components-rejoining-animation[b-suyu20y1jx],
#components-reconnect-modal.components-reconnect-resume-failed .components-pause-visible[b-suyu20y1jx],
#components-reconnect-modal.components-reconnect-resume-failed .components-reconnect-first-attempt-visible[b-suyu20y1jx] {
    display: none !important;
}

/* ============================================================================
   Dark Mode Support
   ============================================================================ */

body:has(.cr-theme-dark) .cr-reconnect-window[b-suyu20y1jx],
.cr-theme-dark .cr-reconnect-window[b-suyu20y1jx] {
    background: #1e293b;
    color: #f8fafc;
    border-color: #475569;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.7), 6px 6px 0px #0f172a;
}

body:has(.cr-theme-dark) .cr-reconnect-header[b-suyu20y1jx],
.cr-theme-dark .cr-reconnect-header[b-suyu20y1jx] {
    background: #0f172a;
    border-color: #334155;
    color: #f8fafc;
}

body:has(.cr-theme-dark) .cr-reconnect-title[b-suyu20y1jx],
.cr-theme-dark .cr-reconnect-title[b-suyu20y1jx] {
    color: #f8fafc;
}

body:has(.cr-theme-dark) .cr-reconnect-desc[b-suyu20y1jx],
.cr-theme-dark .cr-reconnect-desc[b-suyu20y1jx] {
    color: #cbd5e1;
}

body:has(.cr-theme-dark) .cr-reconnect-tag[b-suyu20y1jx],
.cr-theme-dark .cr-reconnect-tag[b-suyu20y1jx] {
    color: #fef08a;
    background: rgba(234, 179, 8, 0.15);
    border-color: #ca8a04;
}
/* /Components/Shared/AccountMenu.razor.rz.scp.css */
.cr-account-menu[b-qrprfk2ak6] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
    gap: 0.5rem;
    margin-left: 0.5rem;
    color: var(--cr-text);
}

.cr-account-menu form[b-qrprfk2ak6] {
    margin: 0;
}

@media (max-width: 767.98px) {
    .cr-account-menu[b-qrprfk2ak6] {
        margin-left: 0;
    }
}

.cr-account-menu.is-open[b-qrprfk2ak6] {
    z-index: 3005;
}

.cr-account-trigger[b-qrprfk2ak6] {
    position: relative;
    z-index: 2;
}

.cr-account-button-name[b-qrprfk2ak6] {
    max-width: 10rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cr-account-backdrop[b-qrprfk2ak6] {
    position: fixed;
    inset: 0;
    z-index: 1;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: default;
}

.cr-account-dropdown[b-qrprfk2ak6] {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    z-index: 3;
    width: max-content;
    min-width: 12rem;
    max-width: calc(100vw - 2rem);
    padding: 0.3rem;
    background: var(--cr-surface);
    color: var(--cr-text);
    border: 2px solid var(--cr-border);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.16);
}

.cr-account-action[b-qrprfk2ak6] {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    width: 100%;
    min-height: 36px;
    padding: 0.5rem 0.65rem;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: inherit;
    font-family: inherit;
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
    white-space: nowrap;
    cursor: pointer;
}

.cr-account-action:hover[b-qrprfk2ak6] {
    background: var(--cr-surface-alt);
}

.cr-account-action:focus-visible[b-qrprfk2ak6] {
    outline: 2px solid var(--cr-primary);
    outline-offset: -2px;
    background: var(--cr-surface-alt);
}

@media (max-width: 767.98px) {
    .cr-account-button-name[b-qrprfk2ak6] {
        max-width: 6rem;
    }
}
/* /Components/Shared/AssetCatalog.razor.rz.scp.css */
.cr-catalog-view-switch[b-it694zivx3] {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
}
.cr-catalog-theme[b-it694zivx3] {
    margin-block-end: .5rem;
}
.cr-catalog-theme-toggle[b-it694zivx3] {
    display: flex;
    align-items: center;
    gap: .5rem;
    width: 100%;
    padding: .6rem .5rem;
    margin-block-end: .5rem;
    border: 1px solid var(--cr-border);
    border-radius: 6px;
    background: var(--cr-surface-alt);
    color: var(--cr-text-main);
    font: inherit;
    font-weight: 600;
    text-align: start;
    cursor: pointer;
}
.cr-catalog-theme-toggle:hover[b-it694zivx3] {
    background: var(--cr-surface);
}
.cr-catalog-theme-toggle:focus-visible[b-it694zivx3] {
    outline: 2px solid var(--cr-primary);
    outline-offset: 2px;
}
.cr-catalog-theme-toggle .cr-count-pill[b-it694zivx3] {
    margin-inline-start: auto;
}
/* /Components/Shared/BrandLogo.razor.rz.scp.css */
.cr-brand-logo[b-tm5jwqtytm] {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    height: 36px;
}

.cr-brand-wordmark[b-tm5jwqtytm] {
    width: auto;
    height: 36px;
}

.cr-brand-logo > img:first-child[b-tm5jwqtytm] {
    display: none;
}

@media (max-width: 575.98px) {
    .cr-brand-logo:has(.d-none) > img:first-child[b-tm5jwqtytm] {
        display: block;
    }
}
/* /Components/Shared/CaseEnvelopeCard.razor.rz.scp.css */
.cr-case-card-wrapper[b-uef859q1ji] {
    position: relative;
    isolation: isolate;
    width: 100%;
    aspect-ratio: 0.82;
    user-select: none;
}

.cr-case-card-wrapper.is-opening[b-uef859q1ji],
.cr-case-card-wrapper:focus-within[b-uef859q1ji] {
    z-index: 20;
}

.cr-envelope-back[b-uef859q1ji] {
    position: absolute;
    inset: 0;
    border: 2px solid #806747;
    border-radius: 12px;
    background: #d5bc93 url('/textures/kraft-paper.svg') repeat;
    background-size: 128px 128px;
    box-shadow: inset 0 0 14px rgba(111, 78, 35, 0.18), 0 5px 12px rgba(15, 23, 42, 0.12);
    z-index: 1;
}

.cr-envelope-back[b-uef859q1ji],
.cr-envelope-lining[b-uef859q1ji],
.cr-envelope-front[b-uef859q1ji],
.cr-envelope-flap[b-uef859q1ji] {
    pointer-events: none;
}

.is-sealed:not(.is-opening) .cr-revealed-card[b-uef859q1ji] {
    visibility: hidden;
}

.is-sealed:not(.is-opening) .cr-envelope-lining[b-uef859q1ji] {
    opacity: 0;
}

.cr-envelope-lining[b-uef859q1ji] {
    position: absolute;
    inset: 2px 2px 43.1818%;
    border-radius: 9px 9px 0 0;
    background: linear-gradient(180deg, #967649 0%, #bea174 28%, #d5bc93 100%);
    box-shadow: inset 0 5px 8px rgba(74, 49, 20, 0.2);
    z-index: 1;
}

.cr-envelope-flap[b-uef859q1ji] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 62.5%;
    transform-origin: top center;
    filter: drop-shadow(0 1px 1px rgba(74, 49, 20, 0.14));
    z-index: 5;
}

.cr-envelope-flap svg[b-uef859q1ji],
.cr-envelope-paper[b-uef859q1ji] {
    display: block;
    width: 100%;
    height: 100%;
}

.cr-envelope-front[b-uef859q1ji] {
    position: absolute;
    inset: 22.7273% 0 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.2rem;
    z-index: 4;
}

.cr-envelope-paper[b-uef859q1ji] {
    position: absolute;
    inset: 0;
    pointer-events: none;
    filter: drop-shadow(0 -2px 2px rgba(74, 49, 20, 0.12));
}

.cr-envelope-front[b-uef859q1ji]::after,
.cr-envelope-flap[b-uef859q1ji]::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url('/textures/kraft-paper.svg') repeat;
    background-size: 128px 128px;
    pointer-events: none;
}

.cr-envelope-front[b-uef859q1ji]::after {
    clip-path: polygon(0 0, 50% 22%, 100% 0, 100% 100%, 0 100%);
}

.cr-envelope-flap[b-uef859q1ji]::after {
    clip-path: polygon(0 0, 100% 0, 100% 42%, 53% 96%, 50% 100%, 47% 96%, 0 42%);
}

.cr-envelope-label[b-uef859q1ji] {
    position: relative;
    width: 76%;
    max-width: 16rem;
    margin-top: 35%;
    transform: rotate(-8deg);
}

.cr-envelope-label img[b-uef859q1ji] {
    display: block;
    width: 100%;
    height: auto;
}

.cr-revealed-card[b-uef859q1ji] {
    position: absolute;
    inset: 0 4% 3%;
    width: 92%;
    height: 97%;
    box-sizing: border-box;
    transform: translateY(4%) scale(0.84);
    z-index: 2;
    padding: 1rem;
    border-color: #806747;
}

.cr-case-status[b-uef859q1ji] {
    color: var(--cr-text-secondary);
    font-size: 0.78rem;
    font-weight: 600;
}

.cr-case-open[b-uef859q1ji] {
    position: absolute;
    inset: 0;
    z-index: 10;
    width: 100%;
    border: 0;
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
}

.cr-case-open:focus-visible[b-uef859q1ji] {
    outline: 3px solid var(--cr-primary);
    outline-offset: 5px;
}

.is-revealed .cr-revealed-card[b-uef859q1ji] {
    transform: translateY(0) scale(1);
    z-index: 6;
}

.is-revealed .cr-envelope-flap[b-uef859q1ji] {
    transform: rotateX(180deg) scaleY(0.65);
    opacity: 0;
    visibility: hidden;
    z-index: 1;
}

.is-opening .cr-revealed-card[b-uef859q1ji] {
    animation: crExtractDossier-b-uef859q1ji 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
    will-change: transform;
}

.is-opening .cr-envelope-flap[b-uef859q1ji] {
    animation: crOpenEnvelopeFlap-b-uef859q1ji 1200ms ease both;
}

@keyframes crExtractDossier-b-uef859q1ji {
    0%, 16% { transform: translateY(4%) scale(0.84); z-index: 2; }
    52% { transform: translateY(-78%) scale(0.96); z-index: 2; }
    53% { transform: translateY(-78%) scale(0.96); z-index: 6; }
    100% { transform: translateY(0) scale(1); z-index: 6; }
}

@keyframes crOpenEnvelopeFlap-b-uef859q1ji {
    0% { transform: rotateX(0); opacity: 1; visibility: visible; z-index: 5; }
    14%, 75% { transform: rotateX(180deg); opacity: 1; visibility: visible; z-index: 1; }
    100% { transform: rotateX(180deg) scaleY(0.65); opacity: 0; visibility: hidden; z-index: 1; }
}

.cr-case-tape[b-uef859q1ji] {
    opacity: 0;
    background: rgba(248, 232, 185, 0.72);
    border-color: rgba(174, 147, 93, 0.4);
    backdrop-filter: none;
    clip-path: polygon(0 3%, 20% 0, 37% 4%, 60% 1%, 81% 4%, 100% 0, 100% 97%, 78% 100%, 59% 96%, 38% 100%, 17% 97%, 0 100%);
}

.cr-case-tape[b-uef859q1ji]::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url('/textures/kraft-paper.svg') repeat;
    opacity: 0.6;
}

.is-revealed .cr-case-tape[b-uef859q1ji] {
    opacity: 1;
}

.is-opening .cr-case-tape[b-uef859q1ji] {
    animation: crAttachTape-b-uef859q1ji 1200ms ease both;
}

@keyframes crAttachTape-b-uef859q1ji {
    0%, 75% { opacity: 0; }
    100% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .is-opening .cr-revealed-card[b-uef859q1ji] { animation: none; transform: none; z-index: 6; }
    .is-opening .cr-envelope-flap[b-uef859q1ji] { animation: none; opacity: 0; visibility: hidden; }
    .is-opening .cr-case-tape[b-uef859q1ji] { animation: none; opacity: 1; }
}
