.app-shell {
    opacity: 1;
    visibility: visible;
}

body.is-entrance-active {
    overflow: hidden;
}

.entrance-splash {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--app-height, 100dvh);
    min-height: -webkit-fill-available;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-color: var(--panel-bg);
    background-image: var(--panel-noise), var(--panel-dot);
    background-size: 400px 400px, 22px 22px;
    -webkit-tap-highlight-color: transparent;
    padding-bottom: var(--safe-bottom);
}

.entrance-splash:focus {
    outline: none;
}

.entrance-splash__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    pointer-events: none;
}

.entrance-splash__brand {
    font-family: 'Press Start 2P', cursive;
    font-size: clamp(11px, 3.2vw, 16px);
    color: var(--purple-soft);
    border: 3px solid var(--purple-soft);
    padding: 10px 14px;
    box-shadow: 4px 4px 0 rgba(45, 10, 78, 0.85);
    line-height: 1.7;
    text-align: center;
    letter-spacing: 1px;
    background: rgba(45, 10, 78, 0.45);
}

.entrance-splash__claw {
    width: min(280px, 72vw);
    height: auto;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    filter: drop-shadow(0 8px 0 rgba(45, 10, 78, 0.85));
    animation: entrance-claw-float 2.4s ease-in-out infinite;
}

.entrance-splash__hint {
    font-family: 'Press Start 2P', cursive;
    font-size: 9px;
    color: #FDE68A;
    letter-spacing: 1px;
    line-height: 1.8;
    animation: entrance-hint-pulse 1.6s ease-in-out infinite;
}

.entrance-splash.is-exiting .entrance-splash__claw {
    animation: none;
}

.entrance-splash.is-exiting .entrance-splash__hint,
.entrance-splash.is-exiting .entrance-splash__brand {
    animation: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

@keyframes entrance-claw-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes entrance-hint-pulse {
    0%, 100% { opacity: 0.55; }
    50% { opacity: 1; }
}

.sidebar__claw-btn.is-claw-landed {
    animation: claw-pocket-pop 0.55s ease;
}

@keyframes claw-pocket-pop {
    0% { transform: scale(1.15); }
    55% { transform: scale(0.92); }
    100% { transform: scale(1); }
}

.entrance-boot-error {
    position: fixed;
    bottom: calc(16px + var(--safe-bottom));
    left: 50%;
    transform: translateX(-50%);
    z-index: 2100;
    max-width: min(420px, 92vw);
    padding: 12px 16px;
    background: #DC2626;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    border: 2px solid #7f1d1d;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.35);
}
