.islands-picker {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.island-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.island-card:hover {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.035);
}

.island-card:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.45);
    outline-offset: 2px;
}

.island-card.is-active {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.island-card--coming-soon.is-active {
    opacity: 0.92;
}

.island-card__badge {
    display: inline-block;
    align-self: flex-start;
    margin: 0 0 8px;
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(232, 238, 247, 0.72);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.islands-preview {
    display: block;
    position: relative;
    margin: 4px auto 0;
    width: min(100%, 560px);
    aspect-ratio: 4 / 3;
    min-height: 180px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
}

.islands-picker.islands-picker--preview-hidden .islands-preview,
.islands-preview[hidden] {
    display: none;
}

.islands-preview picture,
.islands-preview__media {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.islands-preview__media {
    object-fit: cover;
}

@media (min-width: 769px) {
    .islands-picker .islands-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        margin-top: 0;
        gap: 12px;
    }

    .islands-picker .island-card {
        padding: 12px 14px;
    }

    .islands-picker .island-thumb {
        width: 48px;
        height: 48px;
        margin-bottom: 10px;
    }

    .islands-picker .island {
        font-size: 15px;
        margin-bottom: 4px;
    }

    .islands-picker .muted {
        font-size: 13px;
        line-height: 1.4;
    }
}

@media (max-width: 768px) {
    .islands-picker {
        gap: 16px;
    }

    .islands-picker .islands-grid {
        display: flex;
        overflow-x: auto;
        gap: 12px;
        margin-top: 24px;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
        scrollbar-width: thin;
    }

    .islands-picker .island-card {
        flex: 0 0 min(72vw, 260px);
        scroll-snap-align: start;
    }

    .islands-preview {
        width: 100%;
        border-radius: 12px;
    }
}
