/**
 * Pilot — Hone Fitness check-in button & failure toast only.
 */

.gf-check-in-pilot-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    margin-top: 0.65rem;
    padding: 0.85rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(250, 204, 21, 0.65);
    background: linear-gradient(135deg, #fef01b 0%, #facc15 55%, #eab308 100%);
    color: #0b0f1a;
    font-weight: 800;
    font-size: 0.75rem;
    font-family: inherit;
    line-height: 1.2;
    cursor: pointer;
    box-shadow: 0 0 16px rgba(254, 240, 27, 0.35);
    transition: filter 0.15s ease, transform 0.1s ease;
}

.gf-check-in-pilot-btn:hover:not(:disabled) {
    filter: brightness(1.06);
}

.gf-check-in-pilot-btn:active:not(:disabled) {
    transform: scale(0.98);
}

.gf-check-in-pilot-btn:disabled {
    opacity: 0.65;
    cursor: wait;
}

.gf-check-in-pilot-icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    stroke: #0b0f1a;
    color: #0b0f1a;
}

.gf-check-in-toast-layer {
    position: fixed;
    inset: 0;
    z-index: 13000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(1rem, env(safe-area-inset-top, 0px)) 1rem max(1rem, env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
}

.gf-check-in-toast-layer.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.gf-check-in-toast-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.55);
    backdrop-filter: blur(3px);
}

.gf-check-in-toast {
    position: relative;
    z-index: 1;
    width: min(20rem, calc(100vw - 2rem));
    padding: 1rem 2.25rem 1rem 1rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(248, 113, 113, 0.45);
    background: rgba(15, 23, 42, 0.96);
    color: #f1f5f9;
    text-align: center;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
    transform: scale(0.94);
    transition: transform 0.22s ease;
}

.gf-check-in-toast-layer.is-visible .gf-check-in-toast {
    transform: scale(1);
}

.gf-check-in-toast-close {
    position: absolute;
    top: 0.35rem;
    right: 0.35rem;
    width: 1.75rem;
    height: 1.75rem;
    padding: 0;
    border: none;
    border-radius: 0.4rem;
    background: rgba(51, 65, 85, 0.55);
    color: #e2e8f0;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
}

.gf-check-in-toast-line {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.45;
}

.gf-check-in-toast-line--bold {
    font-weight: 800;
    margin-bottom: 0.35rem;
}

/* In-page silver star source for celebration clone */
.star-rating.silver {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    margin: 0.45rem auto 0;
    pointer-events: none;
}

.star-rating.silver .gf-lod-global__star-icon {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 6px rgba(203, 213, 225, 0.65));
}

