
    
#mr-popup {
    position: fixed;
   bottom: 0px;
    left: 0px;
    z-index: 99999;
    width: 290px;
    transform: translateY(calc(100% + 40px));
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.34,1.15,0.64,1), opacity 0.4s ease;
    font-family: 'Montserrat', sans-serif;
    pointer-events: none;
}
#mr-popup.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}
.mr-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.22);
}
.mr-card-top {
    background: #fff;
    padding: 16px 16px 14px;
    position: relative;
}
.mr-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #b22b2e;
    border: none;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    line-height: 1;
}
.mr-close-btn:hover { background: #363636; }
.mr-inst {
    font-size: 9px;
    font-weight: 600;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}
.mr-exam {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    line-height: 1.2;
    margin-bottom: 2px;
}
.mr-phase {
    font-size: 10px;
    color: #000;
    font-weight: 500;
    margin-bottom: 14px;
}
.mr-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}
.mr-box {
    background: #363636;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    padding: 5px 2px 4px;
    text-align: center;
    position: relative;
}
/* /.mr-box::after {/
/*    content: '';*/
/*    position: absolute;*/
/*    bottom: 0;*/
/*    left: 0;*/
/*    right: 0;*/
/*    height: 2px;*/
/*    background: #b22b2e;*/
/*    border-radius: 0 0 8px 8px;*/
/* } */
.mr-n {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    display: block;
    font-variant-numeric: tabular-nums;
}
.mr-l {
    font-size: 8px;
    color: rgb(255 255 255);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    display: block;
    margin-top: 3px;
    font-weight: 600;
}
.mr-card-bottom {
    padding: 14px 16px 16px;
    background: #fff;
}
.mr-deadline-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.mr-cal {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    background: #23232387;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.mr-cal svg { width: 15px; height: 15px; fill: #fff; }
.mr-dl-text {
    font-size: 11px;
    color: #555;
    font-weight: 500;
    line-height: 1.4;
}
.mr-dl-text strong {
    color: #363636;
    display: block;
    font-size: 12px;
    font-weight: 700;
}
.mr-apply {
    display: block;
    width: 100%;
    background: #b22b2e;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: background 0.2s;
    font-family: 'Montserrat', sans-serif;
}
.mr-apply:hover { background: #8f1f21; color: #fff; }
.mr-note {
    text-align: center;
    font-size: 10px;
    color: #aaa;
    margin-top: 8px;
}

@media (max-width: 480px) {
    #mr-popup {
        width: calc(100vw - 60px);
        left: 16px;
        bottom: 75px;
    }
}

