/* Shared pickup-location preview (Setup Wizard + Settings).
   The preview reuses the real board's .board-tile/.board-tag/.board-spot
   classes, but never its queue, capacity, alerts or interactions. Page
   placement (which column, how it stacks) stays in each page's own CSS. */

.app-theme .pickup-preview {
    margin: 0 0 28px;
    padding: 14px;
    background: rgba(30, 49, 67, .44);
    border: 1px solid var(--app-line);
    border-radius: 10px;
    pointer-events: none;
    user-select: none;
}

.app-theme .pickup-preview .board-tile {
    min-height: 46px;
    aspect-ratio: auto;
    padding: 6px 7px;
    /* Matches the live board tile's 12px radius. The shared .board-spot
       badge keeps its 12px outer corner, so the two curves coincide and the
       badge never exposes a wedge of tile background. */
    border-radius: 12px;
    gap: 3px;
    box-shadow: 0 2px 6px rgba(25, 39, 53, .12);
}

.app-theme .pickup-preview .board-tag {
    font-size: 15px;
    font-weight: 800;
    line-height: 1.05;
}

.app-theme .pickup-preview .board-spot {
    margin: 0;
    padding: 2px 5px;
    font-size: 10px;
}

.app-theme .pickup-preview-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.app-theme .pickup-preview-title {
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.app-theme .pickup-preview-example {
    color: rgba(212, 227, 233, .62);
    font-size: 11px;
    font-weight: 600;
}

.app-theme .pickup-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}

.app-theme .pickup-preview-lane + .pickup-preview-lane {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--app-line);
}

.app-theme .pickup-preview-lane-head {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    color: #d4e3e9;
    font-size: 11px;
    font-weight: 700;
}

.app-theme .pickup-preview-lane-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
}

.app-theme .pickup-preview-hint,
.app-theme .pickup-preview-empty {
    margin: 10px 0 0;
    color: rgba(212, 227, 233, .62);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.35;
}

/* Attention pulse for the "locations are hidden" hint. When the visibility
   switch is off, label-style changes cannot alter the preview; this gold
   wash points the eye at the explanation instead of leaving the click silent.
   The outline/background fade without changing layout, and the page removes
   the class on animationend so the next interaction can replay it. */
.app-theme .pickup-preview-hint.pickup-preview-hint-pulse {
    border-radius: 4px;
    outline: 2px solid transparent;
    outline-offset: 4px;
    animation: pickup-preview-hint-pulse .9s ease-out;
}

@keyframes pickup-preview-hint-pulse {
    0% {
        color: #ffe08a;
        background: rgba(242, 212, 107, .16);
        outline-color: rgba(242, 212, 107, .78);
    }
    100% {
        color: rgba(212, 227, 233, .62);
        background: transparent;
        outline-color: rgba(242, 212, 107, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .app-theme .pickup-preview-hint.pickup-preview-hint-pulse {
        animation: none;
        color: #ffe08a;
        background: rgba(242, 212, 107, .16);
        outline-color: rgba(242, 212, 107, .78);
    }
}
