.sakana-box {
    width: 250px;
    height: 400px;
    position: fixed;
    right: 20px;
    bottom: 20px;
    transform-origin: 50% 100%;
    pointer-events: none;
    z-index: 1000;
}

.sakana-box canvas {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.sakana-character {
    width: 150px;
    height: 150px;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    bottom: 130px;
    cursor: pointer;
    pointer-events: auto;
    transform-origin: 50% 200px; /* Adapted for smaller size */
    background: no-repeat 50% 50%;
    background-size: contain;
    background-image: url('../images/sakana.png');
}

.sakana-bed {
    width: 80px;
    height: 10px;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    bottom: 0;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.sakana-box .move-handle {
    position: absolute;
    top: auto;
    left: auto;
    right: 40px;
    bottom: 270px; /* Overlapping the top area of the character */
    width: 24px;
    height: 24px;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    font-size: 16px;
    cursor: move;
    pointer-events: auto;
    user-select: none;
    z-index: 1001;
    display: none; /* Hidden by default, shown on hover */
}

.sakana-box:hover .move-handle {
    display: block;
}
