﻿/* =========================================================
   OWLION QUEST — CHEATSHEET SNAIL + LIGHTNING
   Slow pointer 🐌 + Fast pointer ⚡
   Reusable pointer visuals
   ========================================================= */


/* =========================================================
   POINTER CONTAINER
   ========================================================= */

.pointer-container {
    position: absolute;
    top: -52px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    align-items: flex-end;
    justify-content: center;
    white-space: nowrap;
    z-index: 10;
}


/* =========================================================
   POINTER BASE
   ========================================================= */

.custom-pointer {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeInScale 0.2s ease-in-out;
}

.pointer-label {
    font-size: 0.55rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 1px 4px;
    border-radius: 3px;
    margin-top: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}


/* =========================================================
   FAST POINTER — LIGHTNING ⚡
   ========================================================= */

.css-lightning {
    width: 12px;
    height: 18px;
    background-color: #ecc94b;
    clip-path: polygon( 50% 0%, 0% 55%, 45% 55%, 15% 100%, 100% 45%, 55% 45% );
    border: 1px solid #b7791f;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.lightning-marker .pointer-label {
    background-color: #d69e2e;
    color: #fff;
}


/* =========================================================
   SLOW POINTER — SNAIL 🐌
   ========================================================= */

.css-snail {
    width: 44px;
    height: 32px;
    position: relative;
}


/* Long creeping foot */

.snail-body {
    position: absolute;
    left: 16px;
    bottom: 2px;
    width: 27px;
    height: 7px;
    background: #9b6a3a;
    border: 1px solid #5d3a1f;
    border-radius: 3px 12px 5px 3px;
    box-shadow: inset 0 2px 2px rgba(255, 255, 255, 0.3), 0 1px 2px rgba(0, 0, 0, 0.25);
    z-index: 1;
}


/* Large shell */

.css-snail .shell {
    position: absolute;
    left: 6px;
    bottom: 5px;
    width: 23px;
    height: 23px;
    background: radial-gradient( circle at 35% 30%, #f6ad55, #c87525 55%, #8b4513 );
    border: 1px solid #633f0c;
    border-radius: 50%;
    z-index: 3;
    box-shadow: inset 2px 2px 3px rgba(255, 255, 255, 0.4), 0 2px 3px rgba(0, 0, 0, 0.3);
}


    /* Shell spiral */

    .css-snail .shell::before {
        content: "";
        position: absolute;
        width: 13px;
        height: 13px;
        left: 4px;
        top: 4px;
        border: 2px solid #8b4513;
        border-radius: 50%;
    }


    /* Inner spiral */

    .css-snail .shell::after {
        content: "";
        position: absolute;
        width: 5px;
        height: 5px;
        left: 8px;
        top: 8px;
        border: 1px solid #8b4513;
        border-radius: 50%;
    }


/* Head */

.snail-head {
    position: absolute;
    right: 0;
    bottom: 4px;
    width: 10px;
    height: 9px;
    background: #9b6a3a;
    border: 1px solid #5d3a1f;
    border-radius: 60% 65% 45% 45%;
    z-index: 5;
}


/* Eye stalks */

.snail-eye-stalk {
    position: absolute;
    bottom: 6px;
    width: 1.5px;
    height: 10px;
    background: #5d3a1f;
    border-radius: 2px;
    transform-origin: bottom center;
}


    /* Left stalk */

    .snail-eye-stalk.left {
        left: 1px;
        transform: rotate(-13deg);
    }


    /* Right stalk */

    .snail-eye-stalk.right {
        right: 1px;
        transform: rotate(13deg);
    }


/* Eyes */

.snail-eye {
    position: absolute;
    width: 4px;
    height: 4px;
    left: -1px;
    top: -3px;
    background: #17120d;
    border-radius: 50%;
    box-shadow: 0 0 1px rgba(255, 255, 255, 0.5);
}


/* Slow label */

.snail-marker .pointer-label {
    background-color: #6b4426;
    color: #fff;
}


/* =========================================================
   POINTER APPEARANCE
   ========================================================= */

@keyframes fadeInScale {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}
