:root {
    --tk: #f5850f;
    --tk-deep: #dd6f05;
    --tk-soft: #fff2e2;
}

.gacha-box-ticket-user {
    background: linear-gradient(150deg, #f5850f, #dd6f05);
    box-shadow: 0 2px 6px rgba(221, 111, 5, 0.4);
    border-radius: 5px;
    padding: 6px 14px;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: 8px;
}

.gacha-box-ticket-user .gacha-tk-ic {
    font-size: 15px;
}

.gacha-box-ticket-user small {
    font-size: 12px;
    font-weight: 700;
    opacity: 0.9;
}

.gacha-tk-ribbon {
    background: #fff2e2;
    border-top: 1px solid rgba(221, 111, 5, 0.15);
    flex: 0 0 auto;
    width: 100%;
}

.gacha-tk-ribbon-in {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.gacha-tk-ribbon .gacha-tk-txt {
    font-size: 12.5px;
    font-weight: 700;
    color: #dd6f05;
    white-space: nowrap;
}

.gacha-tk-ribbon .gacha-tk-track {
    flex: 1;
    height: 8px;
    border-radius: 999px;
    background: #fff;
    overflow: hidden;
    min-width: 60px;
}

.gacha-tk-ribbon .gacha-tk-fill {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #f5850f, #dd6f05);
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gacha-tk-ribbon .gacha-tk-rem {
    font-size: 12px;
    font-weight: 800;
    color: #dd6f05;
    white-space: nowrap;
}

.gacha-tk-flag {
    position: absolute;
    right: 8px;
    top: 8px;
    background: #fff2e2;
    color: #dd6f05;
    font-size: 10.5px;
    font-weight: 800;
    padding: 3px 7px;
    border-radius: 999px;
    line-height: 1;
}

.gacha-tk-gain {
    color: #dd6f05;
    font-weight: 800;
}

.gacha-tk-pack-need {
    color: #dd6f05;
    font-weight: 700;
    font-size: 13px;
}

@media only screen and (max-width: 1050px) {
    .gacha-menu-mobile #gacha-box__info__user {
        min-width: 0;
    }
    .gacha-menu-mobile #gacha-box__info__user .gacha-box-point-user {
        margin: 0 12px 0 0;
    }
    .gacha-menu-mobile #gacha-button-menu {
        flex-shrink: 0;
    }
}

@media (max-width: 430px) {
    .gacha-menu-mobile .gacha-logo {
        min-width: 84px;
    }
    .gacha-menu-mobile #gacha-box__info__user .gacha-box-ticket-user,
    .gacha-menu-mobile #gacha-box__info__user .gacha-box-point-user {
        height: 32px;
        font-size: 15px;
    }
    .gacha-menu-mobile #gacha-box__info__user .gacha-box-point-user {
        min-width: 0;
        padding: 0 10px;
        margin-right: 10px;
    }
    .gacha-menu-mobile #gacha-button-menu {
        margin-right: 10px;
    }
    .gacha-box-ticket-user {
        font-size: 15px;
        padding: 5px 10px;
        margin-right: 6px;
    }
    .gacha-tk-flag {
        top: 2px;
        right: 6px;
    }
    .gacha-tk-ribbon-in {
        padding: 6px 12px;
        gap: 8px;
    }
    .gacha-tk-ribbon .gacha-tk-txt,
    .gacha-tk-ribbon .gacha-tk-rem {
        font-size: 11px;
    }
}
