.contact-verify-note {
    margin: 24px 0 0;
    padding: 12px 15px;
    border-left: 3px solid var(--blue);
    background: var(--pale);
    font-size: 1rem;
}

.contact-verify-note p {
    margin: 0;
    line-height: 1.45;
}

.contact-verify-note strong {
    color: var(--ink);
}

.contact-verify-note p + p,
.contact-verify-note noscript p {
    margin-top: 6px;
}

.contact-puzzle {
    width: min(100% - 24px, 486px);
    max-width: none;
    max-height: calc(100% - 24px);
    overflow: auto;
    margin: auto;
    padding: clamp(16px, 4vw, 28px);
    border: 0;
    border-top: 4px solid var(--blue);
    border-radius: 8px;
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow);
}

.contact-puzzle::backdrop {
    background: rgba(7, 29, 61, .76);
}

.contact-puzzle__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.contact-puzzle__header h2 {
    margin: 0;
    font-size: clamp(1.5rem, 5vw, 1.875rem);
}

.contact-puzzle__close {
    display: grid;
    flex: 0 0 44px;
    height: 44px;
    place-items: center;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--white);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.contact-puzzle__close:hover {
    background: var(--pale);
}

.contact-puzzle__help,
.contact-puzzle__fallback,
.contact-puzzle__status {
    font-size: 1rem;
    line-height: 1.45;
}

.contact-puzzle__help {
    margin: 0 0 15px;
}

.contact-puzzle__board {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    background: var(--navy);
    user-select: none;
}

.contact-puzzle__photo {
    width: 100%;
    height: auto;
}

.contact-puzzle__piece {
    position: absolute;
    left: 0;
    height: auto;
    cursor: grab;
    touch-action: none;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .7));
}

.contact-puzzle__piece.is-dragging {
    cursor: grabbing;
}

.contact-puzzle__controls {
    margin-top: 14px;
}

.contact-puzzle__controls label {
    display: block;
    font-size: .9375rem;
    font-weight: 700;
}

.contact-puzzle__controls input {
    display: block;
    width: 100%;
    height: 32px;
    margin: 0;
    accent-color: var(--blue);
    cursor: ew-resize;
}

.contact-puzzle__status {
    margin: 8px 0 0;
}

.contact-puzzle__status:empty {
    margin: 0;
}

.contact-puzzle__status[data-error="true"] {
    color: #9b192b;
}

.contact-puzzle__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.contact-puzzle__actions .button {
    flex: 1 1 auto;
    min-height: 44px;
    padding-inline: 14px;
    font-size: .8125rem;
}

.contact-puzzle__refresh {
    border: 1px solid #c5d2df;
    background: var(--white);
}

.contact-puzzle__refresh:hover {
    background: var(--pale);
}

.contact-puzzle__actions .button:disabled {
    transform: none;
    color: #435168;
    background: #e6ebf1;
    box-shadow: none;
    cursor: not-allowed;
}

.contact-puzzle__fallback {
    margin: 14px 0 0;
}

.contact-puzzle__fallback a {
    color: var(--blue);
    text-underline-offset: .15em;
}
