/* ── Büyük önizleme (sağ kolon üst) ── */
.haber-preview {
    width: 100%;
}

.haber-preview__frame {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 0.75rem;
    border: 1px solid var(--gray-700);
    background: var(--gray-950);
}

.haber-preview__frame--interactive {
    padding: 0;
    cursor: pointer;
    border: none;
    text-align: left;
}

.haber-preview__frame--interactive:hover {
    outline: 2px solid color-mix(in srgb, var(--primary-500) 50%, transparent);
    outline-offset: 2px;
}

.haber-preview__frame--interactive:disabled {
    cursor: wait;
    opacity: 0.85;
}

.haber-preview__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: var(--gray-950);
}

.haber-preview__img--cover {
    object-fit: cover;
    filter: brightness(0.55);
}

.haber-preview__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 1rem;
    text-align: center;
    background: linear-gradient(to top, rgb(0 0 0 / 0.65), rgb(0 0 0 / 0.25));
    color: var(--gray-200);
    pointer-events: none;
}

.haber-preview__overlay-title {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
}

.haber-preview__overlay-sub {
    margin: 0;
    font-size: 0.75rem;
    color: var(--gray-400);
}

.haber-preview__badge {
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 9999px;
    padding: 0.25rem 0.625rem;
    font-size: 0.6875rem;
    font-weight: 600;
    white-space: nowrap;
}

.haber-preview__badge--ready {
    background: color-mix(in srgb, var(--primary-500) 90%, black);
    color: var(--gray-950);
}

.haber-preview__state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    aspect-ratio: 4 / 5;
    padding: 1.5rem;
    text-align: center;
    border-radius: 0.75rem;
    border: 1px dashed var(--gray-600);
    background: color-mix(in srgb, var(--gray-900) 80%, transparent);
    color: var(--gray-400);
}

.haber-preview__state-title {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-300);
}

.haber-preview__state-sub {
    margin: 0;
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* ── Galeri havuzu kartları (2'li grid) ── */
.haber-pool-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid var(--gray-600);
    background: #000;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.haber-pool-card--selected {
    border-color: var(--primary-500);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--primary-500) 35%, transparent);
}

.haber-pool-card__select {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 7.5rem;
    aspect-ratio: 4 / 5;
    max-height: 7.5rem;
    padding: 0.375rem;
    border: none;
    cursor: pointer;
    background: #000;
}

.haber-pool-card__select:hover {
    background: #0a0a0a;
}

.haber-pool-card__select:focus-visible {
    outline: 2px solid var(--primary-500);
    outline-offset: -2px;
}

.haber-pool-card__img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.haber-pool-card__actions {
    flex: 0 0 auto;
    padding: 0.375rem;
    border-top: 1px solid var(--gray-700);
    background: #000;
}

.haber-pool-card__download {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.375rem 0.5rem;
    border: 1px solid var(--gray-600);
    border-radius: 0.375rem;
    cursor: pointer;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--gray-300);
    background: #111;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.haber-pool-card__download:hover {
    border-color: var(--gray-500);
    color: var(--gray-100);
    background: #1a1a1a;
}

.haber-pool-card__download:focus-visible {
    outline: 2px solid var(--primary-500);
    outline-offset: 1px;
}

.haber-pool-card__download:disabled {
    cursor: wait;
    opacity: 0.65;
}

.haber-pool-card__hide {
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.375rem;
    height: 1.375rem;
    padding: 0;
    border: 1px solid var(--gray-600);
    border-radius: 9999px;
    cursor: pointer;
    background: rgb(0 0 0 / 0.85);
    color: var(--gray-200);
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.haber-pool-card__hide:hover {
    border-color: rgb(220 38 38 / 0.9);
    background: rgb(220 38 38 / 0.9);
    color: white;
}

.haber-pool-card__hide:focus-visible {
    outline: 2px solid var(--primary-500);
    outline-offset: 1px;
}

.haber-pool-card__selected-label {
    position: absolute;
    left: 0.25rem;
    top: 0.25rem;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    font-size: 0.5625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--gray-950);
    background: var(--primary-500);
    pointer-events: none;
}

.haber-images-empty {
    grid-column: 1 / -1;
    padding: 1rem;
    border: 1px dashed var(--gray-600);
    border-radius: 0.5rem;
    text-align: center;
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.haber-sidebar-actions .fi-ac {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.haber-sidebar-actions .fi-ac-btn-action {
    width: 100%;
    justify-content: center;
}
