.io-checkin-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 1rem;
    align-items: start;
}
.io-checkin-main,
.io-checkin-side {
    min-width: 0;
}
.io-checkin-btn {
    position: relative;
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    white-space: normal;
}
.io-checkin-btn-main,
.io-checkin-btn-points {
    line-height: 1.2;
}
.io-checkin-btn-points {
    display: inline-flex;
    align-items: center;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .22);
    font-size: 12px;
    font-weight: 600;
}
.io-checkin-btn.btn-secondary .io-checkin-btn-points {
    background: rgba(255, 255, 255, .16);
}
.io-checkin-streak-badge {
    position: absolute;
    top: -9px;
    right: -7px;
    z-index: 2;
    max-width: 88px;
    padding: 2px 6px;
    border-radius: 999px;
    background: #f1404b;
    color: #fff;
    font-size: 10px;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 2px 6px rgba(241, 64, 75, .28);
}
.io-checkin-btn.has-streak-badge {
    overflow: visible;
}
.io-checkin-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
}
.io-checkin-week {
    text-align: center;
    color: #888;
    font-size: 12px;
    line-height: 28px;
}
.io-checkin-calendar-day {
    position: relative;
    min-height: 74px;
    border: 1px solid rgba(125, 125, 125, .16);
    border-radius: 8px;
    padding: 8px;
    background: #fff;
    overflow: hidden;
}
.io-checkin-calendar-day.muted {
    opacity: .38;
    background: rgba(125, 125, 125, .06);
}
.io-checkin-calendar-day.today {
    border-color: #f0ad4e;
    box-shadow: inset 0 0 0 1px rgba(240, 173, 78, .35);
}
.io-checkin-calendar-day.checked {
    background: rgba(40, 167, 69, .08);
    border-color: rgba(40, 167, 69, .32);
}
.io-checkin-calendar-day.future {
    background: rgba(125, 125, 125, .04);
}
.io-checkin-calendar-day .day-num {
    font-weight: 600;
    line-height: 1;
}
.io-checkin-calendar-day .day-points,
.io-checkin-calendar-day .day-hint {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 8px;
    font-size: 12px;
    line-height: 1.25;
    color: #28a745;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.io-checkin-calendar-day .day-hint {
    color: #b7791f;
}
.io-checkin-feed-item:last-child,
.io-checkin-rank-item:last-child,
.io-checkin-today-item:last-child {
    border-bottom: 0 !important;
}
.io-checkin-rank-item .rank-num {
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    border-radius: 50%;
    background: rgba(125, 125, 125, .12);
    font-size: 12px;
    flex: 0 0 auto;
}
.io-checkin-calendar-wrap.loading {
    opacity: .55;
    pointer-events: none;
}
@media (max-width: 991.98px) {
    .io-checkin-layout {
        display: flex;
        flex-direction: column;
    }
    .io-checkin-side {
        order: -1;
        width: 100%;
    }
}
@media (max-width: 575.98px) {
    .io-checkin-calendar-grid {
        gap: 4px;
    }
    .io-checkin-calendar-day {
        min-height: 58px;
        padding: 6px;
        border-radius: 6px;
    }
    .io-checkin-calendar-day .day-points,
    .io-checkin-calendar-day .day-hint {
        left: 6px;
        right: 6px;
        bottom: 6px;
        font-size: 10px;
    }
}
