.linkText {
    overflow: hidden;
    max-width: 100%;
    color: var(--text-secondary);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bannerCover,
.bannerCoverEmpty {
    display: inline-flex;
    width: 88px;
    height: 50px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-card-strong);
    color: var(--text-tertiary);
}

.bannerCover {
    object-fit: cover;
}

.popupCover,
.popupCoverEmpty {
    display: inline-flex;
    width: 72px;
    height: 72px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-card-strong);
    color: var(--text-tertiary);
}

.popupCover {
    object-fit: cover;
}

.splashCover,
.splashCoverEmpty {
    display: inline-flex;
    width: 54px;
    height: 96px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-card-strong);
    color: var(--text-tertiary);
}

.splashCover {
    object-fit: cover;
}

.formWideField {
    grid-column: 1 / -1;
}

.noticeBody {
    display: grid;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: var(--space-5);
    padding: var(--space-5);
    background: var(--bg-card);
}

.noticePanel {
    display: grid;
    min-width: 0;
    gap: var(--space-5);
}

.noticeHeader {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: var(--space-2);
    color: var(--text-primary);
}

.noticeHeader h2,
.noticePreview h3 {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.4;
}

.noticeGrid,
.noticeContentGrid {
    display: grid;
    min-width: 0;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: var(--space-4);
}

.noticeContentGrid {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
}

.noticeWideField {
    grid-column: 1 / -1;
}

.noticePreview {
    display: grid;
    align-content: start;
    min-width: 0;
    gap: var(--space-4);
    padding: var(--space-4);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: var(--bg-card-strong);
}

.noticePreview p {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
    color: var(--text-secondary);
    line-height: 1.6;
}

.noticePreviewMeta {
    display: flex;
    min-width: 0;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.noticePreviewMeta span {
    display: inline-flex;
    max-width: 100%;
    min-height: 28px;
    align-items: center;
    padding: 0 var(--space-3);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-control);
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.splashFormLayout {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
    align-items: start;
    gap: var(--space-5);
}

.splashAssetPane,
.splashFieldPane {
    display: grid;
    min-width: 0;
    gap: var(--space-4);
}

.splashAssetPane {
    padding-right: var(--space-1);
}

.splashFieldPane {
    padding-left: var(--space-1);
}

.splashUploadField {
    width: min(100%, 260px);
    justify-self: center;
}

.splashUploadField .splashUploadPreview {
    height: auto;
    aspect-ratio: 9 / 16;
    max-height: min(52vh, 420px);
}

.splashStatusField {
    align-self: center;
}

.popupFormLayout {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    align-items: start;
    gap: var(--space-5);
}

.popupAssetPane,
.popupFieldPane {
    display: grid;
    min-width: 0;
    gap: var(--space-4);
}

.popupAssetPane {
    padding-right: var(--space-1);
}

.popupFieldPane {
    padding-left: var(--space-1);
}

.popupUploadField {
    width: min(100%, 280px);
    justify-self: center;
}

.popupUploadField .popupUploadPreview {
    aspect-ratio: 1 / 1;
    height: auto;
    max-height: min(42vh, 300px);
}

.statusCell {
    display: inline-flex;
    align-items: center;
}

@media (max-width: 760px) {
    .splashFormLayout {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    .splashAssetPane,
    .splashFieldPane {
        padding-right: 0;
        padding-left: 0;
    }

    .splashUploadField {
        justify-self: stretch;
        width: min(100%, 260px);
    }

    .popupFormLayout {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    .popupAssetPane,
    .popupFieldPane {
        padding-right: 0;
        padding-left: 0;
    }

    .popupUploadField {
        justify-self: stretch;
        width: min(100%, 280px);
    }
}

@media (max-width: 720px) {
    .noticeBody,
    .noticeGrid,
    .noticeContentGrid {
        grid-template-columns: minmax(0, 1fr);
    }
}
