.mascot-lane {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    height: 140px;
    overflow: hidden;
}

.mascot {
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 70px;
    height: 70px;
    z-index: 1;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: none;
    padding: 0;
    background-color: transparent;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    will-change: transform;
}

.mascot:focus-visible {
    outline: 3px solid #CE0D1B;
    outline-offset: 4px;
    border-radius: 50%;
}

.mascot:hover {
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.25));
}

.mascot-buddy {
    width: 56px;
    height: 56px;
    bottom: 8px;
    z-index: 0;
    transform-origin: 50% 100%;
}

.mascot-shadow {
    position: absolute;
    left: 0;
    bottom: 4px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.55);
    filter: blur(3px);
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

.mascot-shadow-lead {
    width: 70px;
    bottom: 5px;
}

.mascot-shadow-buddy {
    width: 56px;
}

.mascot-tip {
    position: absolute;
    bottom: 94px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    box-sizing: border-box;
    border-radius: 17px;
    background: #CE0D1B;
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.mascot-tip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -6px;
    border-style: solid;
    border-width: 9px 6px 0 6px;
    border-color: #CE0D1B transparent transparent transparent;
}

.mascot-tip.is-show {
    opacity: 1;
}

.mascot-modal-img {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 16px;
}

.mascot-modal-text {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
}

.mascot-modal-link {
    margin: 14px 0 0;
    text-align: right;
    font-size: 14px;
    font-weight: bold;
}

.mascot-modal-link a {
    color: #CE0D1B;
    text-decoration: underline;
    word-break: break-all;
}

.mascot-modal-empty {
    margin: 0;
    font-size: 14px;
    color: #888888;
}

@media screen and (max-width: 820px) {
    .mascot-lane {
        height: 120px;
    }

    .mascot {
        width: 54px;
        height: 54px;
        bottom: 6px;
    }

    .mascot-buddy {
        width: 44px;
        height: 44px;
        bottom: 6px;
    }

    .mascot-shadow-lead {
        width: 54px;
        bottom: 3px;
    }

    .mascot-shadow-buddy {
        width: 44px;
        bottom: 3px;
    }

    .mascot-tip {
        bottom: 74px;
        min-width: 28px;
        height: 28px;
        border-radius: 14px;
        font-size: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mascot-tip {
        transition: none;
    }
}
