.spc-checkin-box {
    margin: 14px 0 18px;
    border-radius: 20px;
    background: #fff;
    border: 2px dashed rgba(243, 154, 56, .45);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .07);
    overflow: hidden;
    position: relative;
}

.spc-checkin-box::after {
    content: "";
    position: absolute;
    width: 94px;
    height: 94px;
    right: -22px;
    top: -20px;
    border-radius: 999px;
    background: rgba(243, 154, 56, .1);
    pointer-events: none;
}

.spc-checkin-summary {
    position: relative;
    z-index: 1;
    width: 100%;
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 12px;
    border: 0;
    background: #fff;
    padding: 15px;
    cursor: pointer;
    text-align: left;
    color: inherit;
}

.spc-checkin-stamp-badge {
    width: 62px;
    height: 62px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: #f39a38;
    background: #fff7ed;
    border: 3px solid #f39a38;
    transform: rotate(-8deg);
    font-weight: 900;
    font-size: 14px;
    line-height: 1.15;
    text-align: center;
}

.spc-checkin-title-wrap {
    display: block;
    min-width: 0;
}

.spc-checkin-title {
    display: block;
    font-size: 16px;
    font-weight: 900;
    color: #333;
    line-height: 1.35;
}

.spc-checkin-sub {
    display: block;
    font-size: 12px;
    color: #777;
    margin-top: 3px;
    line-height: 1.45;
}

.spc-checkin-arrow {
    color: #999;
    transition: transform .2s ease;
}

.spc-checkin-box.is-open .spc-checkin-arrow {
    transform: rotate(180deg);
}

.spc-checkin-box.is-done .spc-checkin-stamp-badge {
    color: #06c755;
    border-color: #06c755;
    background: #edfff4;
}

.spc-checkin-panel {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(243, 154, 56, .16);
    background: #fff;
}

.spc-checkin-panel-inner {
    padding: 13px 14px 15px;
}

.spc-checkin-about-btn {
    width: 100%;
    margin-bottom: 10px;
    border: 1px solid rgba(243, 154, 56, .28);
    border-radius: 16px;
    padding: 11px 13px;
    background: #fff8f0;
    color: #f39a38;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    box-shadow: 0 5px 14px rgba(243, 154, 56, .08);
}

.spc-checkin-about-btn:active {
    transform: translateY(1px);
}

.spc-checkin-about-modal {
    position: fixed;
    inset: 0;
    z-index: 1000001;
    display: grid;
    place-items: center;
    padding: 18px;
}

.spc-checkin-about-modal[hidden] {
    display: none !important;
}

.spc-checkin-about-bg {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(0, 0, 0, .58);
    backdrop-filter: blur(5px);
    cursor: pointer;
}

.spc-checkin-about-card {
    position: relative;
    z-index: 1;
    width: min(420px, 100%);
    max-height: 86vh;
    overflow: auto;
    border-radius: 24px;
    background: linear-gradient(180deg, #fffdfa 0%, #fff5eb 58%, #fff 100%);
    border: 1px solid rgba(243, 154, 56, .28);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .24);
    padding: 22px 16px 18px;
    text-align: center;
}

.spc-checkin-about-close {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, .06);
    color: #555;
    cursor: pointer;
}

.spc-checkin-about-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 11px;
    border-radius: 999px;
    background: #f39a38;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .06em;
}

.spc-checkin-about-title {
    margin-top: 10px;
    font-size: 20px;
    font-weight: 900;
    color: #333;
    line-height: 1.4;
}

.spc-checkin-about-lead {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.7;
    color: #666;
    font-weight: 700;
}

.spc-checkin-about-list {
    margin-top: 15px;
    display: grid;
    gap: 10px;
    text-align: left;
}

.spc-checkin-about-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    align-items: flex-start;
    padding: 12px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(243, 154, 56, .16);
    box-shadow: 0 5px 14px rgba(0, 0, 0, .04);
}

.spc-checkin-about-item-with-images {
    grid-template-columns: 42px minmax(0, 1fr) 84px;
    align-items: center;
}

.spc-checkin-example-stack {
    position: relative;
    width: 74px;
    height: 74px;
    margin-left: auto;
    flex: 0 0 auto;
}

.spc-checkin-example-photo {
    position: absolute;
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 14px;
    border: 2px solid #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .16);
    background: #fff;
}

.spc-checkin-example-photo-back {
    left: 0;
    top: 16px;
    transform: rotate(-10deg);
}

.spc-checkin-example-photo-front {
    right: 0;
    top: 0;
    transform: rotate(8deg);
}

.spc-checkin-rally-alert {
    color: #d93025;
    font-weight: 900;
}

.spc-checkin-rally-example-wrap {
    margin-top: 14px;
    display: flex;
    justify-content: center;
}

.spc-checkin-rally-message .spc-checkin-example-stack {
    width: 200px;
    height: 148px;
    margin: 0 auto;
}

.spc-checkin-rally-message .spc-checkin-example-photo {
    width: 104px;
    height: 104px;
    border-radius: 24px;
}

.spc-checkin-rally-message .spc-checkin-example-photo-back {
    left: 0;
    top: 32px;
}

.spc-checkin-rally-message .spc-checkin-example-photo-front {
    right: 0;
    top: 0;
}

.spc-checkin-about-icon {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #fff4e8;
    color: #f39a38;
    font-size: 15px;
}

.spc-checkin-about-item-title {
    font-size: 13px;
    line-height: 1.45;
    font-weight: 900;
    color: #333;
}

.spc-checkin-about-item-text {
    margin-top: 3px;
    font-size: 12px;
    line-height: 1.65;
    color: #666;
    font-weight: 600;
}

.spc-checkin-about-note {
    margin-top: 13px;
    padding: 12px;
    border-radius: 16px;
    background: #fff8f0;
    color: #555;
    font-size: 12px;
    line-height: 1.7;
    font-weight: 700;
}

@media (max-width: 480px) {
    .spc-checkin-about-modal {
        align-items: end;
        padding: 0;
    }

    .spc-checkin-about-card {
        width: 100%;
        max-height: 86svh;
        border-radius: 24px 24px 0 0;
        padding: 22px 14px 18px;
    }

    .spc-checkin-about-item-with-images {
        grid-template-columns: 42px minmax(0, 1fr) 68px;
    }

    .spc-checkin-rally-message .spc-checkin-example-stack {
        width: 160px;
        height: 120px;
    }

    .spc-checkin-rally-message .spc-checkin-example-photo {
        width: 84px;
        height: 84px;
        border-radius: 20px;
    }

    .spc-checkin-rally-message .spc-checkin-example-photo-back {
        top: 28px;
    }
}

.spc-checkin-text {
    margin: 0 0 6px;
    font-size: 13px;
    line-height: 1.75;
    color: #444;
}

.spc-checkin-note {
    margin: 0 0 12px;
    font-size: 11px;
    line-height: 1.65;
    color: #777;
}

.spc-checkin-main-btn {
    width: 100%;
    border: 0;
    border-radius: 999px;
    padding: 13px 16px;
    background: #f39a38;
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(243, 154, 56, .25);
}

.spc-checkin-main-btn:disabled {
    opacity: .75;
    cursor: default;
}

.spc-checkin-nickname-box {
    margin-top: 12px;
    padding: 12px;
    border-radius: 14px;
    background: #fff8f0;
    border: 1px solid rgba(243, 154, 56, .22);
}

.spc-checkin-nickname-title {
    font-size: 13px;
    font-weight: 800;
    color: #333;
    margin-bottom: 8px;
}

.spc-checkin-nickname-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 74px;
    gap: 8px;
}

.spc-checkin-nickname-input {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 999px;
    padding: 10px 12px;
    font-size: 14px;
    background: #fff;
}

.spc-checkin-nickname-save {
    border: 0;
    border-radius: 999px;
    background: #f39a38;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.spc-checkin-nickname-note {
    margin-top: 7px;
    font-size: 11px;
    color: #777;
    line-height: 1.6;
}

.spc-checkin-message {
    margin-top: 10px;
    font-size: 13px;
    font-weight: 700;
    color: #444;
    text-align: center;
    min-height: 1.5em;
}

.spc-checkin-actions {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.spc-checkin-actions.is-guest-actions {
    grid-template-columns: 1fr;
}

.spc-checkin-action-btn {
    border: 0;
    border-radius: 14px;
    padding: 11px 8px;
    background: #fff;
    color: #333;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid rgba(0, 0, 0, .08);
    box-shadow: 0 5px 14px rgba(0, 0, 0, .05);
}

.spc-checkin-camera {
    background: #f39a38;
    color: #fff;
    border-color: #f39a38;
}

.spc-checkin-x {
    background: #111;
    color: #fff;
    border-color: #111;
}

.spc-checkin-instagram {
    color: #d62976;
}

.spc-checkin-copy {
    color: #f39a38;
}

.spc-checkin-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: grid;
    place-items: center;
    padding: 18px;
}

.spc-checkin-modal[hidden] {
    display: none;
}

.spc-checkin-modal-bg {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .46);
    backdrop-filter: blur(5px);
}

.spc-checkin-modal-card {
    position: relative;
    z-index: 1;
    width: min(420px, 100%);
    max-height: 94vh;
    overflow: auto;
    border-radius: 24px;
    background: #fff;
    padding: 22px 16px 18px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .24);
    text-align: center;
}

.spc-checkin-modal-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 0%, rgba(243, 154, 56, .16), transparent 38%), radial-gradient(circle at 90% 20%, rgba(134, 217, 255, .16), transparent 36%);
    pointer-events: none;
}

.spc-checkin-modal-close {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 5;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, .06);
    color: #555;
    cursor: pointer;
}

.spc-checkin-modal-title {
    position: relative;
    z-index: 2;
    padding: 0 34px;
    font-size: 17px;
    font-weight: 900;
    color: #333;
    line-height: 1.45;
}

.spc-checkin-modal-text {
    position: relative;
    z-index: 2;
    margin: 7px 0 13px;
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

.spc-checkin-stamp-stage {
    position: relative;
    z-index: 2;
    min-height: 390px;
    border-radius: 22px;
    background: linear-gradient(180deg, #fffdfa 0%, #fff5eb 55%, #ffffff 100%);
    border: 1px solid rgba(243, 154, 56, .22);
    overflow: hidden;
    padding: 16px;
}

.spc-checkin-box.is-paper-view .spc-checkin-stamp-stage {
    max-height: min(62vh, 560px);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.spc-checkin-box.is-paper-view .spc-checkin-rally-scene {
    position: relative;
    inset: auto;
    padding: 12px 0 0;
}

.spc-checkin-box.is-paper-view .spc-checkin-rally-board {
    min-height: auto;
}

.spc-checkin-stamp-stage::before {
    content: none;
}

.spc-checkin-paper-title {
    position: relative;
    z-index: 3;
    text-align: center;
    font-size: 12px;
    color: #777;
    font-weight: 900;
    letter-spacing: .06em;
}

.spc-checkin-big-scene {
    position: absolute;
    inset: 0;
    z-index: 4;
    opacity: 1;
    transform-origin: center center;
    pointer-events: none;
}

.spc-checkin-stamp-place {
    position: absolute;
    left: 50%;
    top: 52%;
    width: 172px;
    height: 172px;
    transform: translate(-50%, -50%);
    border-radius: 999px;
    border: 2px dashed rgba(243, 154, 56, .34);
    display: grid;
    place-items: center;
    color: rgba(243, 154, 56, .38);
    font-weight: 900;
    font-size: 13px;
}

.spc-checkin-big-stamp {
    position: absolute;
    left: 50%;
    top: 52%;
    width: 148px;
    height: 148px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    text-align: center;
    color: #f39a38;
    background: rgba(255, 255, 255, .75);
    border: 5px solid #f39a38;
    font-weight: 900;
    font-size: 19px;
    line-height: 1.25;
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.8) rotate(-16deg);
}

.spc-checkin-big-stamp::before {
    content: "CHECK IN";
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    letter-spacing: .08em;
}

.spc-checkin-stamp-handle {
    position: absolute;
    left: 50%;
    top: -150px;
    width: 108px;
    height: 130px;
    transform: translateX(-50%) rotate(-7deg);
    z-index: 8;
}

.spc-checkin-stamp-handle::before {
    content: "";
    position: absolute;
    left: 33px;
    top: 0;
    width: 42px;
    height: 72px;
    border-radius: 18px 18px 10px 10px;
    background: linear-gradient(180deg, #555, #111);
}

.spc-checkin-stamp-handle::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 108px;
    height: 58px;
    border-radius: 16px;
    background: linear-gradient(180deg, #444, #111);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .25);
}

.spc-checkin-stamp-burst {
    position: absolute;
    left: 50%;
    top: 52%;
    width: 190px;
    height: 190px;
    transform: translate(-50%, -50%) scale(.2);
    border-radius: 999px;
    border: 3px solid rgba(243, 154, 56, .24);
    opacity: 0;
}

.spc-checkin-zoom-text {
    position: absolute;
    left: 50%;
    bottom: 34px;
    transform: translateX(-50%);
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .88);
    color: #f39a38;
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .08);
    opacity: 0;
    white-space: nowrap;
}

.spc-checkin-rally-scene {
    position: absolute;
    inset: 0;
    z-index: 2;
    padding: 48px 18px 18px;
    opacity: 0;
    transform: scale(1.28);
    transform-origin: center center;
}

.spc-checkin-rally-board {
    width: 100%;
    min-height: 300px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(243, 154, 56, .22);
    box-shadow: 0 12px 26px rgba(0, 0, 0, .08);
    padding: 16px;
    text-align: left;
}

.spc-checkin-rally-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.spc-checkin-rally-title {
    font-size: 16px;
    line-height: 1.4;
    font-weight: 900;
    color: #333;
}

.spc-checkin-rally-sub {
    margin-top: 3px;
    font-size: 12px;
    line-height: 1.5;
    color: #777;
}

.spc-checkin-rally-count {
    flex: 0 0 auto;
    min-width: 70px;
    border-radius: 14px;
    background: #fff4e8;
    color: #f39a38;
    padding: 8px 10px;
    text-align: center;
    font-weight: 900;
}

.spc-checkin-rally-count-main {
    font-size: 20px;
    line-height: 1;
}

.spc-checkin-rally-count-sub {
    margin-top: 3px;
    font-size: 10px;
}

.spc-checkin-progress-wrap {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: #f1f1f1;
    overflow: hidden;
    margin: 10px 0 14px;
}

.spc-checkin-progress-bar {
    width: 0%;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #f39a38, #ffc36f);
}

.spc-checkin-rally-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
}

.spc-checkin-rally-view-row {
    display: flex;
    justify-content: center;
    margin: 0 0 10px;
}

.spc-checkin-rally-view-toggle {
    border: 1px solid rgba(243, 154, 56, .35);
    border-radius: 999px;
    background: #fff;
    color: #f39a38;
    font-size: 12px;
    font-weight: 900;
    padding: 7px 13px;
    cursor: pointer;
}

.spc-checkin-rally-view-toggle:active {
    transform: translateY(1px);
}

.spc-checkin-rally-cell-date {
    position: absolute;
    left: 5px;
    right: 5px;
    bottom: 5px;
    z-index: 3;
    border-radius: 999px;
    background: rgba(255, 255, 255, .9);
    color: #555;
    font-size: 9px;
    font-weight: 900;
    line-height: 1;
    padding: 4px 5px;
    text-align: center;
    white-space: nowrap;
}

.spc-checkin-rally-cell {
    aspect-ratio: 1 / 1;
    border-radius: 17px;
    border: 1px dashed rgba(243, 154, 56, .35);
    background: #fffdf9;
    display: grid;
    place-items: center;
    color: rgba(243, 154, 56, .38);
    font-weight: 900;
    position: relative;
    overflow: hidden;
}

.spc-checkin-rally-cell.is-done {
    border: 1px solid rgba(243, 154, 56, .22);
    background: #fff7ed;
    color: rgba(243, 154, 56, .82);
}

.spc-checkin-rally-cell.is-next {
    background: #f8f8f8;
    color: #bbb;
    border-color: #ddd;
}

.spc-checkin-rally-cell.is-current {
    background: #fff;
    border: 2px solid rgba(243, 154, 56, .58);
    box-shadow: 0 8px 16px rgba(243, 154, 56, .14);
}

.spc-checkin-rally-cell-number {
    position: absolute;
    left: 8px;
    top: 6px;
    font-size: 10px;
    color: #aaa;
}

.spc-checkin-small-stamp {
    width: 78px;
    height: 78px;
    border-radius: 999px;
    border: 3px solid #f39a38;
    display: grid;
    place-items: center;
    color: #f39a38;
    background: rgba(255, 255, 255, .72);
    font-size: 12px;
    font-weight: 900;
    line-height: 1.15;
    text-align: center;
    transform: scale(2.1) rotate(-12deg);
    opacity: 0;
}

.spc-checkin-photo-stamp {
    width: 78px;
    height: 78px;
    border: 3px solid #f39a38;
    border-radius: 999px;
    padding: 0;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 20px rgba(243, 154, 56, .22);
    cursor: pointer;
    transform: rotate(-8deg);
}

.spc-checkin-photo-stamp img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.spc-checkin-photo-request {
    width: 78px;
    height: 78px;
    border: 3px solid #f39a38;
    border-radius: 999px;
    padding: 0;
    background: #fff;
    color: #f39a38;
    box-shadow: 0 8px 20px rgba(243, 154, 56, .22);
    cursor: pointer;
    transform: rotate(-8deg);
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.2;
}

.spc-checkin-photo-request i {
    display: block;
    font-size: 18px;
    margin-bottom: 3px;
}

.spc-checkin-photo-request span {
    display: block;
}

.spc-checkin-mystery-badge {
    position: absolute;
    right: 7px;
    top: 7px;
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 999px;
    background: #f39a38;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 15px;
    font-weight: 900;
    box-shadow: 0 6px 14px rgba(243, 154, 56, .28);
    cursor: pointer;
    padding: 0;
}

.spc-checkin-mystery-badge:active {
    transform: translateY(1px);
}

.spc-checkin-photo-viewer {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: grid;
    place-items: center;
    padding: 18px;
}

.spc-checkin-photo-viewer[hidden] {
    display: none !important;
}

.spc-checkin-photo-viewer-bg {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(0, 0, 0, .68);
    cursor: pointer;
}

.spc-checkin-photo-viewer-card {
    position: relative;
    z-index: 1;
    width: fit-content;
    max-width: 92vw;
}

.spc-checkin-photo-viewer-img {
    width: auto;
    max-width: 92vw;
    height: auto;
    max-height: 68vh;
    object-fit: contain;
    display: block;
    border-radius: 18px;
    background: transparent;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .28);
}

.spc-checkin-photo-viewer-close {
    position: absolute;
    right: -8px;
    top: -8px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #333;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .24);
}

.spc-checkin-photo-viewer-actions {
    margin-top: 12px;
    display: grid;
    gap: 7px;
    justify-items: center;
}

.spc-checkin-photo-viewer-actions[hidden] {
    display: none !important;
}

.spc-checkin-photo-retake-btn {
    border: 0;
    border-radius: 999px;
    padding: 11px 18px;
    background: #f39a38;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    box-shadow: 0 10px 24px rgba(243, 154, 56, .28);
}

.spc-checkin-photo-retake-btn:active {
    transform: translateY(1px);
}

.spc-checkin-photo-retake-note {
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.5;
    text-align: center;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .35);
}

.spc-checkin-rally-message {
    margin-top: 12px;
    border-radius: 16px;
    background: #fff8f0;
    color: #555;
    font-size: 12px;
    line-height: 1.6;
    padding: 10px 12px;
}

.spc-checkin-lottery-box {
    margin-top: 12px;
    border-radius: 16px;
    background: #fff4e8;
    border: 1px solid rgba(243, 154, 56, .24);
    padding: 12px;
    text-align: center;
}

.spc-checkin-lottery-title {
    font-size: 14px;
    font-weight: 900;
    color: #f39a38;
}

.spc-checkin-lottery-text {
    margin-top: 5px;
    font-size: 12px;
    line-height: 1.6;
    color: #555;
}

.spc-checkin-lottery-buttons {
    margin-top: 10px;
    display: grid;
    gap: 8px;
}

.spc-checkin-lottery-result-list {
    margin-top: 10px;
    display: grid;
    gap: 6px;
}

.spc-checkin-lottery-result-item {
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(243, 154, 56, .16);
    padding: 8px 10px;
    font-size: 12px;
    line-height: 1.55;
    color: #555;
}

.spc-checkin-lottery-result-item strong {
    color: #f39a38;
}

.spc-checkin-lottery-result-item a {
    display: inline-flex;
    margin-top: 6px;
    color: #f39a38;
    font-weight: 900;
}

.spc-checkin-lottery-btn {
    margin-top: 10px;
    border: 0;
    border-radius: 999px;
    padding: 11px 18px;
    background: #f39a38;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(243, 154, 56, .22);
}

.spc-checkin-lottery-btn:disabled {
    opacity: .7;
    cursor: default;
}

.spc-checkin-lottery-btn.is-drawn {
    background: #b8b8b8;
    color: #fff;
    box-shadow: none;
    opacity: .72;
}

.spc-checkin-lottery-btn.is-locked {
    background: #ddd;
    color: #777;
    box-shadow: none;
    opacity: .75;
}

.spc-checkin-rally-message strong {
    color: #f39a38;
}

.spc-checkin-rally-alert {
    color: #d93025;
    font-weight: 900;
}

.spc-checkin-modal-status {
    position: relative;
    z-index: 2;
    min-height: 1.5em;
    margin-top: 11px;
    font-size: 13px;
    font-weight: 800;
    color: #444;
}

.spc-checkin-box.is-paper-view .spc-checkin-big-scene {
    display: none;
}

.spc-checkin-box.is-paper-view .spc-checkin-rally-scene {
    opacity: 1;
    transform: scale(1);
}

.spc-checkin-box.is-paper-view .spc-checkin-progress-bar {
    width: var(--spc-checkin-progress-width);
}

.spc-checkin-box.is-paper-view .spc-checkin-small-stamp {
    opacity: .94;
    transform: scale(1) rotate(-8deg);
}

.spc-checkin-box.is-playing .spc-checkin-stamp-handle {
    animation: spcCheckinStampDown 1.25s ease forwards;
}

.spc-checkin-box.is-playing .spc-checkin-big-stamp {
    animation: spcCheckinBigStampAppear 1.25s ease forwards;
}

.spc-checkin-box.is-playing .spc-checkin-stamp-burst {
    animation: spcCheckinStampBurst 1.25s ease forwards;
}

.spc-checkin-box.is-playing .spc-checkin-zoom-text {
    animation: spcCheckinZoomText 3.2s ease forwards;
}

.spc-checkin-box.is-playing .spc-checkin-big-scene {
    animation: spcCheckinPullBackBigScene 3.2s ease forwards;
}

.spc-checkin-box.is-playing .spc-checkin-rally-scene {
    animation: spcCheckinRallyZoomIn 3.2s ease forwards;
}

.spc-checkin-box.is-playing .spc-checkin-progress-bar {
    animation: spcCheckinProgressGrow 3.2s ease forwards;
}

.spc-checkin-box.is-playing .spc-checkin-small-stamp {
    animation: spcCheckinSmallStampPop 3.2s ease forwards;
}

.spc-checkin-paper-btn {
    width: 100%;
    margin-top: 9px;
    border: 2px solid #f39a38;
    background: #fff;
    color: #f39a38;
    border-radius: 999px;
    padding: 12px 14px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 5px 14px rgba(243, 154, 56, .08);
}

.spc-checkin-paper-btn:active {
    transform: translateY(1px);
}

.spc-checkin-login-guide {
    margin-top: 12px;
    padding: 14px;
    border-radius: 16px;
    background: linear-gradient(180deg, #fff7ed 0%, #ffffff 100%);
    border: 2px solid rgba(243, 154, 56, .55);
    box-shadow: 0 10px 24px rgba(243, 154, 56, .16);
    text-align: center;
}

.spc-checkin-login-guide-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 7px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #f39a38;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
}

.spc-checkin-login-guide-title {
    font-size: 15px;
    font-weight: 900;
    color: #333;
    line-height: 1.55;
}

.spc-checkin-login-guide-text {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.7;
    color: #666;
}

.spc-checkin-login-guide-link {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    padding: 11px 14px;
    border-radius: 999px;
    background: #f39a38;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(243, 154, 56, .24);
}

@keyframes spcCheckinStampDown {
    0% {
        top: -150px;
        transform: translateX(-50%) rotate(-7deg);
    }

    42% {
        top: 88px;
        transform: translateX(-50%) rotate(-7deg);
    }

    56% {
        top: 106px;
        transform: translateX(-50%) rotate(-7deg) scaleY(.9);
    }

    72% {
        top: 42px;
        transform: translateX(-50%) rotate(-7deg);
    }

    100% {
        top: -150px;
        transform: translateX(-50%) rotate(-7deg);
    }
}

@keyframes spcCheckinBigStampAppear {

    0%,
    48% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.8) rotate(-16deg);
    }

    62% {
        opacity: .94;
        transform: translate(-50%, -50%) scale(.88) rotate(-9deg);
    }

    78%,
    100% {
        opacity: .94;
        transform: translate(-50%, -50%) scale(1) rotate(-9deg);
    }
}

@keyframes spcCheckinStampBurst {

    0%,
    52% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(.2);
    }

    70% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.45);
    }
}

@keyframes spcCheckinZoomText {

    0%,
    58% {
        opacity: 0;
        transform: translateX(-50%) translateY(8px);
    }

    68%,
    88% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(-8px);
    }
}

@keyframes spcCheckinPullBackBigScene {

    0%,
    58% {
        opacity: 1;
        transform: scale(1);
    }

    78% {
        opacity: .2;
        transform: scale(.42) translateY(-32px);
    }

    100% {
        opacity: 0;
        transform: scale(.3) translateY(-50px);
    }
}

@keyframes spcCheckinRallyZoomIn {

    0%,
    58% {
        opacity: 0;
        transform: scale(1.28);
    }

    78% {
        opacity: 1;
        transform: scale(.96);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes spcCheckinProgressGrow {

    0%,
    72% {
        width: 0%;
    }

    100% {
        width: var(--spc-checkin-progress-width);
    }
}

@keyframes spcCheckinSmallStampPop {

    0%,
    72% {
        opacity: 0;
        transform: scale(2.1) rotate(-12deg);
    }

    86% {
        opacity: .94;
        transform: scale(.86) rotate(-8deg);
    }

    100% {
        opacity: .94;
        transform: scale(1) rotate(-8deg);
    }
}

@media (max-width: 480px) {
    .spc-checkin-summary {
        grid-template-columns: 58px minmax(0, 1fr) 16px;
        gap: 10px;
        padding: 14px;
    }

    .spc-checkin-stamp-badge {
        width: 58px;
        height: 58px;
        font-size: 13px;
    }

    .spc-checkin-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .spc-checkin-camera,
    .spc-checkin-x {
        grid-column: 1 / -1;
    }

    .spc-checkin-action-btn {
        padding: 9px 6px;
        font-size: 11px;
        gap: 4px;
    }

    .spc-checkin-action-btn i {
        font-size: 13px;
    }

    .spc-checkin-modal {
        align-items: end;
        padding: 0;
    }

    .spc-checkin-modal-card {
        width: 100%;
        border-radius: 24px 24px 0 0;
        padding: 20px 14px 18px;
    }

    .spc-checkin-stamp-stage {
        min-height: 372px;
    }

    .spc-checkin-rally-board {
        min-height: 286px;
        padding: 14px;
    }

    .spc-checkin-small-stamp {
        width: 68px;
        height: 68px;
        font-size: 11px;
    }

    .spc-checkin-photo-stamp {
        width: 68px;
        height: 68px;
    }

    .spc-checkin-photo-request {
        width: 68px;
        height: 68px;
        font-size: 11px;
    }

    .spc-checkin-photo-request i {
        font-size: 15px;
    }
}
