/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-1py1eqszh4] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-1py1eqszh4] {
    flex: 1;
}

.sidebar[b-1py1eqszh4] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-1py1eqszh4] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-1py1eqszh4]  a, .top-row[b-1py1eqszh4]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-1py1eqszh4]  a:hover, .top-row[b-1py1eqszh4]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-1py1eqszh4]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-1py1eqszh4] {
        justify-content: space-between;
    }

    .top-row[b-1py1eqszh4]  a, .top-row[b-1py1eqszh4]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-1py1eqszh4] {
        flex-direction: row;
    }

    .sidebar[b-1py1eqszh4] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-1py1eqszh4] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-1py1eqszh4]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-1py1eqszh4], article[b-1py1eqszh4] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-1py1eqszh4] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-1py1eqszh4] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-mancdokqbe] {
    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("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-mancdokqbe] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-mancdokqbe] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-mancdokqbe] {
    font-size: 1.1rem;
}

.bi[b-mancdokqbe] {
    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-mancdokqbe] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-mancdokqbe] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-mancdokqbe] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.bi-lock-nav-menu[b-mancdokqbe] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath d='M8 1a2 2 0 0 1 2 2v4H6V3a2 2 0 0 1 2-2zm3 6V3a3 3 0 0 0-6 0v4a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2zM5 8h6a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
}

.bi-person-nav-menu[b-mancdokqbe] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person' viewBox='0 0 16 16'%3E%3Cpath d='M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm4 8c0 1-1 1-1 1H3s-1 0-1-1 1-4 6-4 6 3 6 4Zm-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10Z'/%3E%3C/svg%3E");
}

.bi-person-badge-nav-menu[b-mancdokqbe] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-badge' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3zM11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0z'/%3E%3Cpath d='M4.5 0A2.5 2.5 0 0 0 2 2.5V14a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2.5A2.5 2.5 0 0 0 11.5 0h-7zM3 2.5A1.5 1.5 0 0 1 4.5 1h7A1.5 1.5 0 0 1 13 2.5v10.795a4.2 4.2 0 0 0-.776-.492C11.392 12.387 10.063 12 8 12s-3.392.387-4.224.803a4.2 4.2 0 0 0-.776.492V2.5z'/%3E%3C/svg%3E");
}

.bi-person-fill-nav-menu[b-mancdokqbe] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-fill' viewBox='0 0 16 16'%3E%3Cpath d='M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3Zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3C/svg%3E");
}

.bi-arrow-bar-left-nav-menu[b-mancdokqbe] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-arrow-bar-left' viewBox='0 0 16 16'%3E%3Cpath d='M12.5 15a.5.5 0 0 1-.5-.5v-13a.5.5 0 0 1 1 0v13a.5.5 0 0 1-.5.5ZM10 8a.5.5 0 0 1-.5.5H3.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L3.707 7.5H9.5a.5.5 0 0 1 .5.5Z'/%3E%3C/svg%3E");
}

.nav-item[b-mancdokqbe] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-mancdokqbe] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-mancdokqbe] {
        padding-bottom: 1rem;
    }

    .nav-item[b-mancdokqbe]  .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-mancdokqbe]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-mancdokqbe]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-mancdokqbe] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-mancdokqbe] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-mancdokqbe] {
        display: none;
    }

    .nav-scrollable[b-mancdokqbe] {
        /* 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 */
.components-reconnect-first-attempt-visible[b-0uc23g27nf],
.components-reconnect-repeated-attempt-visible[b-0uc23g27nf],
.components-reconnect-failed-visible[b-0uc23g27nf],
.components-pause-visible[b-0uc23g27nf],
.components-resume-failed-visible[b-0uc23g27nf],
.components-rejoining-animation[b-0uc23g27nf] {
    display: none;
}

.components-reconnect-toast[b-0uc23g27nf] {
    position: fixed;
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%);
    z-index: 60;
    display: none;
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.15);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
    color: #0f172a;
    font-size: 0.85rem;
    letter-spacing: 0.01em;
}

.components-reconnect-toast.components-reconnect-toast-show[b-0uc23g27nf] {
    display: block;
    animation: components-reconnect-toast-fade-in-b-0uc23g27nf 0.2s ease-out;
}

.components-reconnect-toast-inner[b-0uc23g27nf] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.components-reconnect-toast-spinner[b-0uc23g27nf] {
    width: 0.75rem;
    height: 0.75rem;
    border: 2px solid rgba(99, 102, 241, 0.6);
    border-right-color: transparent;
    border-radius: 999px;
    animation: components-reconnect-spin-b-0uc23g27nf 0.8s linear infinite;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-0uc23g27nf],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-0uc23g27nf],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-0uc23g27nf],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-0uc23g27nf],
#components-reconnect-modal.components-reconnect-retrying[b-0uc23g27nf],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-0uc23g27nf],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-0uc23g27nf],
#components-reconnect-modal.components-reconnect-failed[b-0uc23g27nf],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-0uc23g27nf] {
    display: block;
}


#components-reconnect-modal[b-0uc23g27nf] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-0uc23g27nf 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-0uc23g27nf 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-0uc23g27nf 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-0uc23g27nf]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-0uc23g27nf 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-0uc23g27nf {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-0uc23g27nf {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-0uc23g27nf {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-0uc23g27nf] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-0uc23g27nf] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-0uc23g27nf] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-0uc23g27nf] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-0uc23g27nf] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-0uc23g27nf] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-0uc23g27nf] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-0uc23g27nf 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-0uc23g27nf] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-0uc23g27nf {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}

@keyframes components-reconnect-spin-b-0uc23g27nf {
    to {
        transform: rotate(360deg);
    }
}

@keyframes components-reconnect-toast-fade-in-b-0uc23g27nf {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}
/* /Components/Pages/MemoryApp.razor.rz.scp.css */
.memory-app-root[b-u6hwguu2x7] {
    min-height: 100dvh;
    background:
        radial-gradient(120% 130% at 50% -10%, rgba(56, 189, 248, 0.22) 0%, rgba(56, 189, 248, 0) 55%),
        radial-gradient(130% 150% at 50% 120%, rgba(250, 204, 21, 0.18) 0%, rgba(250, 204, 21, 0) 60%),
        linear-gradient(180deg, #0a1020 0%, #030712 100%);
    color: #f8fafc;
}

.memory-loading-card[b-u6hwguu2x7] {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    color: #cbd5e1;
}

.memory-loading-title[b-u6hwguu2x7] {
    font-size: 1.05rem;
    font-weight: 700;
}

.memory-loading-subtitle[b-u6hwguu2x7] {
    font-size: 0.85rem;
    color: #94a3b8;
}

.memory-app-shell[b-u6hwguu2x7] {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: calc(0.65rem + env(safe-area-inset-top));
    padding-right: max(0.75rem, env(safe-area-inset-right));
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
    padding-left: max(0.75rem, env(safe-area-inset-left));
}

.memory-toolbar[b-u6hwguu2x7] {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.75rem;
    align-items: center;
}

.memory-toolbar-link[b-u6hwguu2x7] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.35rem;
    padding: 0 0.85rem;
    border-radius: 0.8rem;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: rgba(15, 23, 42, 0.7);
    color: #e2e8f0;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    transition: border-color 160ms ease, transform 160ms ease, background-color 160ms ease;
}

.memory-toolbar-link:hover[b-u6hwguu2x7],
.memory-toolbar-link:focus-visible[b-u6hwguu2x7] {
    border-color: rgba(148, 163, 184, 0.7);
    background: rgba(15, 23, 42, 0.92);
    transform: translateY(-1px);
    outline: none;
}

.memory-toolbar-center[b-u6hwguu2x7] {
    min-width: 0;
    text-align: center;
}

.memory-toolbar-center h1[b-u6hwguu2x7] {
    margin: 0;
    font-size: clamp(1rem, 2.6vw, 1.4rem);
    font-weight: 750;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.memory-toolbar-center p[b-u6hwguu2x7] {
    margin: 0.2rem 0 0;
    color: #94a3b8;
    font-size: clamp(0.67rem, 1.55vw, 0.82rem);
}

.memory-toolbar-actions[b-u6hwguu2x7] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.memory-toolbar-button[b-u6hwguu2x7] {
    min-height: 2.35rem;
    border-radius: 0.8rem;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: rgba(15, 23, 42, 0.7);
    color: #e2e8f0;
    padding: 0 0.7rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: border-color 160ms ease, transform 160ms ease, background-color 160ms ease;
}

.memory-toolbar-button:hover[b-u6hwguu2x7],
.memory-toolbar-button:focus-visible[b-u6hwguu2x7] {
    border-color: rgba(148, 163, 184, 0.75);
    background: rgba(15, 23, 42, 0.92);
    transform: translateY(-1px);
    outline: none;
}

.memory-palette-panel[b-u6hwguu2x7] {
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(7px);
    padding: 0.6rem 0.7rem;
    display: grid;
    gap: 0.55rem;
}

.memory-palette-grid[b-u6hwguu2x7] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
}

.memory-color-label[b-u6hwguu2x7] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    color: #cbd5e1;
    font-size: 0.72rem;
    font-weight: 650;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.memory-color-input[b-u6hwguu2x7] {
    width: 100%;
    height: 2.1rem;
    border: 1px solid rgba(148, 163, 184, 0.5);
    border-radius: 0.65rem;
    background-color: transparent;
    padding: 0.2rem;
    cursor: pointer;
}

.memory-color-input[b-u6hwguu2x7]::-webkit-color-swatch-wrapper {
    padding: 0;
}

.memory-color-input[b-u6hwguu2x7]::-webkit-color-swatch {
    border: none;
    border-radius: 0.5rem;
}

.memory-color-input[b-u6hwguu2x7]::-moz-color-swatch {
    border: none;
    border-radius: 0.5rem;
}

.memory-palette-actions[b-u6hwguu2x7] {
    display: flex;
    justify-content: flex-end;
    gap: 0.45rem;
}

.memory-panel-button[b-u6hwguu2x7] {
    min-height: 2rem;
    border-radius: 0.7rem;
    border: 1px solid rgba(148, 163, 184, 0.5);
    background: rgba(30, 41, 59, 0.85);
    color: #e2e8f0;
    padding: 0 0.8rem;
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: border-color 160ms ease, transform 160ms ease;
}

.memory-panel-button:hover[b-u6hwguu2x7],
.memory-panel-button:focus-visible[b-u6hwguu2x7] {
    border-color: rgba(148, 163, 184, 0.8);
    transform: translateY(-1px);
    outline: none;
}

.memory-board-wrap[b-u6hwguu2x7] {
    flex: 1;
    min-height: 0;
    display: grid;
    place-items: center;
}

.memory-board[b-u6hwguu2x7] {
    width: min(100%, 1020px);
    display: grid;
    gap: clamp(0.45rem, 1.2vw, 0.82rem);
    padding: clamp(0.5rem, 1.3vw, 0.85rem);
    border-radius: clamp(1.15rem, 2.1vw, 1.8rem);
    border: 1px solid rgba(148, 163, 184, 0.32);
    background: rgba(3, 7, 18, 0.52);
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.15);
}

.memory-lane[b-u6hwguu2x7] {
    position: relative;
    display: flex;
    width: 100%;
    justify-content: center;
    gap: clamp(0.28rem, 1vw, 0.55rem);
}

.memory-lane-top[b-u6hwguu2x7] {
    justify-content: flex-end;
    padding-right: clamp(1.2rem, 8vw, 5rem);
}

.memory-lane-bottom[b-u6hwguu2x7] {
    justify-content: flex-start;
    padding-left: clamp(1.2rem, 8vw, 5rem);
}

.memory-lane[b-u6hwguu2x7]::before {
    content: "";
    position: absolute;
    left: 6%;
    right: 6%;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 9999px;
    height: clamp(0.23rem, 0.58vw, 0.42rem);
    background: linear-gradient(90deg, rgba(248, 250, 252, 0.08) 0%, rgba(248, 250, 252, 0.42) 50%, rgba(248, 250, 252, 0.08) 100%);
}

.memory-lane-top[b-u6hwguu2x7]::before {
    left: 40%;
    right: 4%;
}

.memory-lane-bottom[b-u6hwguu2x7]::before {
    left: 4%;
    right: 40%;
}

.memory-node[b-u6hwguu2x7],
.memory-zero[b-u6hwguu2x7] {
    width: clamp(52px, 8vw, 82px);
    aspect-ratio: 1 / 1;
    position: relative;
    z-index: 1;
    isolation: isolate;
    border: 2px solid rgba(15, 23, 42, 0.5);
    padding: 0;
    display: grid;
    place-items: center;
    transition: transform 160ms ease, opacity 160ms ease, border-color 160ms ease, box-shadow 160ms ease, filter 160ms ease;
    box-shadow: 0 10px 22px rgba(2, 6, 23, 0.45), inset 0 0 0 1px rgba(248, 250, 252, 0.24);
}

.memory-node[b-u6hwguu2x7]::after,
.memory-zero[b-u6hwguu2x7]::after {
    content: "";
    position: absolute;
    inset: -16px;
    z-index: -1;
    border-radius: 999px;
    pointer-events: none;
    opacity: 0;
    transform: scale(0.86);
    transition: opacity 170ms ease, transform 170ms ease;
    background: radial-gradient(
        circle,
        rgb(var(--node-glow-rgb, 125 211 252) / 0.94) 0%,
        rgb(var(--node-glow-rgb, 125 211 252) / 0.68) 36%,
        rgb(var(--node-glow-rgb, 125 211 252) / 0) 76%);
}

.memory-node[b-u6hwguu2x7] {
    clip-path: polygon(24% 6%, 76% 6%, 100% 50%, 76% 94%, 24% 94%, 0 50%);
    background: var(--node-fill);
    color: var(--node-text);
    opacity: 1;
}

.memory-zero[b-u6hwguu2x7] {
    --node-glow-rgb: 180 225 255;
    border-radius: 999px;
    background: linear-gradient(160deg, rgba(248, 250, 252, 0.98) 0%, rgba(226, 232, 240, 0.97) 100%);
}

.memory-zero img[b-u6hwguu2x7] {
    width: 66%;
    height: 66%;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(15, 23, 42, 0.2));
}

.memory-node:hover[b-u6hwguu2x7],
.memory-node:focus-visible[b-u6hwguu2x7],
.memory-zero:hover[b-u6hwguu2x7],
.memory-zero:focus-visible[b-u6hwguu2x7] {
    border-color: rgba(248, 250, 252, 0.8);
    transform: translateY(-1px);
    outline: none;
}

.memory-node:not(.is-active)[b-u6hwguu2x7],
.memory-zero:not(.is-active)[b-u6hwguu2x7] {
    filter: saturate(0.54) brightness(0.66);
}

.memory-node.is-active[b-u6hwguu2x7],
.memory-zero.is-active[b-u6hwguu2x7] {
    opacity: 1;
    filter: none;
    border-color: rgba(255, 255, 255, 1);
    transform: translateY(-3px) scale(1.12);
    box-shadow:
        0 20px 44px rgba(15, 23, 42, 0.8),
        0 0 0 4px rgb(255 255 255 / 0.96),
        0 0 0 10px rgb(var(--node-glow-rgb, 125 211 252) / 0.76),
        0 0 52px 14px rgb(var(--node-glow-rgb, 125 211 252) / 0.88);
}

.memory-node.is-active[b-u6hwguu2x7]::after,
.memory-zero.is-active[b-u6hwguu2x7]::after {
    opacity: 1;
    transform: scale(1.12);
}

.memory-node-value[b-u6hwguu2x7] {
    font-size: clamp(1.6rem, 4.3vw, 3rem);
    font-weight: 780;
    line-height: 1;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 8px rgba(15, 23, 42, 0.2);
}

.memory-node.is-active .memory-node-value[b-u6hwguu2x7] {
    text-shadow:
        0 1px 0 rgb(255 255 255 / 0.45),
        0 0 16px rgb(var(--node-glow-rgb, 125 211 252) / 0.66);
}

.memory-status-row[b-u6hwguu2x7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.memory-status-pill[b-u6hwguu2x7] {
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    padding: 0.35rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.memory-status-positive[b-u6hwguu2x7] {
    background: var(--memory-positive);
    color: var(--memory-positive-text);
}

.memory-status-negative[b-u6hwguu2x7] {
    background: var(--memory-negative);
    color: var(--memory-negative-text);
}

.memory-status-neutral[b-u6hwguu2x7] {
    background: rgba(148, 163, 184, 0.32);
    color: #f8fafc;
}

.memory-status-readout[b-u6hwguu2x7] {
    border-radius: 0.8rem;
    border: 1px solid rgba(148, 163, 184, 0.45);
    background: rgba(15, 23, 42, 0.6);
    color: #e2e8f0;
    padding: 0.4rem 0.7rem;
    font-size: 0.82rem;
    font-weight: 650;
    letter-spacing: 0.02em;
}

.memory-dice-overlay[b-u6hwguu2x7] {
    position: fixed;
    inset: 0;
    z-index: 70;
    background: rgba(2, 6, 23, 0.8);
    display: grid;
    place-items: center;
    padding: 1rem;
}

.memory-dice-dialog[b-u6hwguu2x7] {
    width: min(760px, 100%);
    border-radius: 1.2rem;
    border: 1px solid rgba(148, 163, 184, 0.42);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.96) 0%, rgba(2, 6, 23, 0.96) 100%);
    box-shadow: 0 20px 45px rgba(2, 6, 23, 0.5);
    padding: 0.95rem;
    display: grid;
    gap: 0.95rem;
}

.memory-dice-header[b-u6hwguu2x7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
}

.memory-dice-header h2[b-u6hwguu2x7] {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 760;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.memory-dice-close[b-u6hwguu2x7] {
    min-height: 2rem;
    border-radius: 0.7rem;
    border: 1px solid rgba(148, 163, 184, 0.55);
    background: rgba(51, 65, 85, 0.95);
    color: #f8fafc;
    padding: 0 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.memory-dice-grid[b-u6hwguu2x7] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.memory-dice-card[b-u6hwguu2x7] {
    border-radius: 1rem;
    border: 2px solid rgba(248, 250, 252, 0.3);
    background: var(--dice-fill);
    color: var(--dice-text);
    min-height: clamp(132px, 27vw, 190px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    box-shadow: inset 0 0 0 1px rgba(248, 250, 252, 0.22);
}

.memory-dice-label[b-u6hwguu2x7] {
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.85;
}

.memory-dice-card strong[b-u6hwguu2x7] {
    font-size: clamp(3rem, 11vw, 5.4rem);
    line-height: 1;
    text-shadow: 0 3px 12px rgba(15, 23, 42, 0.28);
}

.memory-dice-summary[b-u6hwguu2x7] {
    margin: 0;
    text-align: center;
    font-size: 0.9rem;
    color: #cbd5e1;
}

.memory-dice-actions[b-u6hwguu2x7] {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.memory-dice-action[b-u6hwguu2x7] {
    min-height: 2.25rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(148, 163, 184, 0.62);
    background: rgba(30, 41, 59, 0.95);
    color: #f8fafc;
    padding: 0 0.9rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: transform 160ms ease, border-color 160ms ease;
}

.memory-dice-action-primary[b-u6hwguu2x7] {
    background: rgba(37, 99, 235, 0.92);
    border-color: rgba(147, 197, 253, 0.7);
}

.memory-dice-action:hover[b-u6hwguu2x7],
.memory-dice-action:focus-visible[b-u6hwguu2x7],
.memory-dice-close:hover[b-u6hwguu2x7],
.memory-dice-close:focus-visible[b-u6hwguu2x7] {
    transform: translateY(-1px);
    border-color: rgba(148, 163, 184, 0.9);
    outline: none;
}

.memory-rotate-guard[b-u6hwguu2x7] {
    display: none;
}

@media (max-height: 530px) {
    .memory-node[b-u6hwguu2x7],
    .memory-zero[b-u6hwguu2x7] {
        width: clamp(44px, 7vw, 62px);
    }

    .memory-toolbar-center p[b-u6hwguu2x7] {
        display: none;
    }
}

@media (orientation: portrait) and (hover: none) and (pointer: coarse) {
    .memory-app-shell[b-u6hwguu2x7] {
        display: none;
    }

    .memory-dice-overlay[b-u6hwguu2x7] {
        display: none;
    }

    .memory-rotate-guard[b-u6hwguu2x7] {
        min-height: 100dvh;
        padding: calc(1rem + env(safe-area-inset-top)) 1rem calc(1.2rem + env(safe-area-inset-bottom));
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 0.7rem;
    }

    .memory-rotate-guard img[b-u6hwguu2x7] {
        width: 70px;
        height: 70px;
        object-fit: contain;
        border-radius: 1rem;
        border: 1px solid rgba(148, 163, 184, 0.45);
        background: rgba(15, 23, 42, 0.7);
        padding: 0.35rem;
    }

    .memory-rotate-guard h2[b-u6hwguu2x7] {
        margin: 0;
        font-size: 1.25rem;
        text-transform: uppercase;
        letter-spacing: 0.06em;
    }

    .memory-rotate-guard p[b-u6hwguu2x7] {
        margin: 0;
        color: #cbd5e1;
        max-width: 18rem;
    }

    .memory-rotate-link[b-u6hwguu2x7] {
        margin-top: 0.25rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 2.35rem;
        padding: 0 1rem;
        border-radius: 0.85rem;
        border: 1px solid rgba(148, 163, 184, 0.55);
        background: rgba(15, 23, 42, 0.82);
        color: #f8fafc;
        text-decoration: none;
        font-size: 0.82rem;
        font-weight: 700;
        letter-spacing: 0.05em;
        text-transform: uppercase;
    }
}
