.a2-checkin-connector {
    position: relative;
    height: 56px;
}

.a2-checkin-connector::before {
    content: "";
    position: absolute;
    left: var(--a2-checkin-connector-pos, 75%);
    top: 0;
    height: 100%;
    border-left: 2px dashed var(--gold);
    opacity: .55;
}

.a2-checkin {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 56px;
    align-items: center;
    background: var(--white);
    border: 1px solid var(--sand);
    border-radius: 28px;
    padding: 48px;
}

.a2-checkin-content h2 {
    margin: 0 0 14px;
    font-family: var(--font-family-heading);
    font-size: clamp(26px, 3.2vw, 34px);
    line-height: 1.12;
    letter-spacing: -.03em;
    font-weight: 800;
    color: var(--ink);
}

.a2-checkin-intro {
    margin: 0 0 24px;
    color: var(--text-soft);
    font-size: var(--font-size-base);
    line-height: 1.65;
    max-width: 44ch;
}

.a2-checkin-todo {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: grid;
    gap: 14px;
}

.a2-checkin-todo li {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 12px;
    align-items: start;
    font-size: var(--font-size-s);
    line-height: 1.5;
}

.a2-checkin-tick {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gold-soft);
    display: grid;
    place-items: center;
}

.a2-checkin-tick .mi {
    font-size: 16px;
    color: var(--gold-deep);
}

.a2-checkin-todo b {
    display: block;
    font-weight: 700;
    color: var(--ink);
}

.a2-checkin-todo span {
    color: var(--text-soft);
    font-size: var(--font-size-xs);
}

.a2-checkin-notice {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 14px;
    background: var(--warn-bg);
    border: 1px solid var(--warn-line);
    color: var(--warn-text);
    font-size: var(--font-size-sm);
    line-height: 1.55;
}

.a2-checkin-notice .mi {
    font-size: 20px;
    margin-top: 1px;
}

.a2-checkin-notice strong {
    font-weight: 700;
}

.a2-checkin-media {
    position: relative;
    align-self: stretch;
    min-width: 0;
}

.a2-checkin-player {
    position: absolute;
    top: 0;
    height: 100%;
    max-width: 100%;
    aspect-ratio: var(--a2-checkin-w, 16) / var(--a2-checkin-h, 10);
    border-radius: 20px;
    overflow: hidden;
    background: #3b2321;
    box-shadow: var(--s-lg);
    border: 1px solid var(--sand);
}

.a2-checkin-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: none;
    background: #000;
}

.a2-checkin-player.is-playing .a2-checkin-video {
    display: block;
}

.a2-checkin-poster {
    position: absolute;
    inset: 0;
    border: 0;
    padding: 0;
    width: 100%;
    cursor: pointer;
    font: inherit;
    color: inherit;
    background: linear-gradient(135deg, #f6e3c4 0%, #f0c98d 55%, var(--gold) 100%);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.a2-checkin-poster.has-image {
    background: none;
}

.a2-checkin-poster-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.a2-checkin-player.is-playing .a2-checkin-poster {
    display: none;
}

.a2-checkin-poster:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: -6px;
}

.a2-checkin-phone {
    position: absolute;
    left: 50%;
    bottom: -14%;
    transform: translateX(-50%);
    width: 34%;
    min-width: 150px;
    aspect-ratio: 9 / 17;
    background: var(--white);
    border-radius: 26px;
    border: 6px solid var(--ink);
    box-shadow: 0 24px 40px -12px rgba(60, 30, 25, .45);
    padding: 14px 12px;
    text-align: left;
}

.a2-checkin-phone .bar {
    height: 7px;
    width: 34%;
    background: var(--ink);
    border-radius: 6px;
    margin: -4px auto 12px;
    opacity: .85;
}

.a2-checkin-phone .ttl {
    font-size: 11px;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 10px;
    letter-spacing: -.01em;
}

.a2-checkin-phone .field {
    height: 20px;
    border: 1px solid var(--sand);
    border-radius: 6px;
    margin-bottom: 7px;
    background: var(--surface-soft);
}

.a2-checkin-phone .field.short {
    width: 62%;
}

.a2-checkin-phone .btn-fill {
    height: 22px;
    border-radius: 7px;
    background: var(--gold-deep);
    margin-top: 10px;
}

.a2-checkin-play {
    position: relative;
    z-index: 2;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: var(--gold-deep);
    display: grid;
    place-items: center;
    box-shadow: 0 10px 28px -6px rgba(150, 80, 0, .6), 0 0 0 10px rgba(255, 255, 255, .38);
    transition: transform .2s ease;
}

.a2-checkin-poster:hover .a2-checkin-play {
    transform: scale(1.06);
}

.a2-checkin-play .mi {
    font-size: 32px;
    color: var(--white);
}

.a2-checkin-chip {
    position: absolute;
    z-index: 2;
    left: 16px;
    bottom: 16px;
    background: rgba(255, 255, 255, .94);
    color: var(--ink);
    border-radius: 999px;
    padding: 7px 14px;
    font-size: var(--font-size-sm);
    font-weight: 700;
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.a2-checkin-chip i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold-deep);
    display: block;
}

.a2-checkin-hint {
    position: absolute;
    inset: auto 12px 12px 12px;
    z-index: 3;
    background: rgba(35, 26, 24, .92);
    color: var(--white);
    border-radius: 10px;
    padding: 10px 12px;
    font-size: var(--font-size-xs);
    line-height: 1.4;
    display: none;
}

.a2-checkin-hint.show {
    display: block;
}

@media (min-width: 1001px) {
    .a2-checkin.is-fitted {
        width: fit-content;
        max-width: 100%;
        margin-inline: auto;
        grid-template-columns: minmax(0, var(--a2-checkin-text-w, 560px)) minmax(0, var(--a2-checkin-media-w, 6fr));
    }
}

@media (max-width: 1000px) {
    .a2-checkin-connector {
        display: none;
    }

    .a2-checkin {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 32px 22px;
        margin-top: 32px;
    }

    .a2-checkin-player {
        position: relative;
        height: auto;
        width: 100%;
        max-width: calc(50vh * var(--a2-checkin-w, 16) / var(--a2-checkin-h, 10));
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 575px) {
    .a2-checkin {
        padding: 24px 18px;
    }

    .a2-checkin-play {
        width: 68px;
        height: 68px;
    }

    .a2-checkin-play .mi {
        font-size: 26px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .a2-checkin-play {
        transition: none;
    }
}
