.mprl-tab {
    position: fixed;
    left: 0;
    top: 34%;
    z-index: 9980;
    display: flex;
    align-items: stretch;
    max-width: 46px;
    overflow: hidden;
    border: 0;
    border-radius: 0 14px 14px 0;
    background: #163047;
    color: #fff;
    font-family: Nunito, sans-serif;
    text-decoration: none;
    box-shadow: 4px 10px 24px rgba(15, 23, 42, 0.28);
    cursor: pointer;
    transition: max-width 0.28s ease;
}

.mprl-tab:hover,
.mprl-tab:focus-visible {
    max-width: 460px;
    color: #fff;
    outline: none;
}

.mprl-tab__spine {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    padding: 22px 13px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: #f7961c;
}

.mprl-tab__panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    width: 400px;
    padding: 14px 18px 14px 6px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.mprl-tab:hover .mprl-tab__panel,
.mprl-tab:focus-visible .mprl-tab__panel {
    opacity: 1;
}

.mprl-tab__photo {
    display: block;
    width: 100%;
    height: 132px;
    object-fit: cover;
    border-radius: 8px;
}

.mprl-tab__detail {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    text-align: left;
}

@media (max-width: 767.98px) {
    .mprl-tab {
        top: 22%;
    }

    .mprl-tab:hover,
    .mprl-tab:focus-visible {
        max-width: min(460px, calc(100vw - 16px));
    }

    .mprl-tab__panel {
        width: min(320px, calc(100vw - 70px));
    }

    .mprl-tab__photo {
        height: 110px;
    }

    .mprl-tab__detail {
        font-size: 15px;
    }
}
