.newsPreviewCanvas {
    background:
        radial-gradient(circle at 42% 42%, rgba(206, 199, 170, 0.1), transparent 48%),
        rgba(4, 8, 8, 0.82);
}

.previewScalerNews {
    --preview-scale: 0.95;
    width: 528px;
    height: 595px;
}

.previewScalerNews[data-news-style="report"] {
    --preview-scale: 0.85;
    width: 563px;
    height: 720px;
}

.previewDragHandleNews {
    left: 0;
    top: 0;
    width: 528px;
    height: 42px;
}

.previewScalerNews[data-news-style="report"] .previewDragHandleNews {
    width: 563px;
    height: 92px;
}

.tnoNewsCanvas {
    position: relative;
    width: 528px;
    height: 595px;
    overflow: hidden;
    color: #191a18;
    background:
        url("./asset-library/generated-assets/news/ui/event_news_bg.webp")
        0 0 / 528px 595px no-repeat;
    font-family: "RuiZheng", "PingFang SC", "Microsoft YaHei", sans-serif;
    contain: layout paint style;
}

.tnoNewsHeaderImage {
    position: absolute;
    left: 31px;
    top: 8px;
    z-index: 2;
    display: block;
    width: 460px;
    height: 64px;
    object-fit: contain;
    pointer-events: none;
}

.tnoNewsTitle {
    position: absolute;
    left: 31px;
    top: 105px;
    z-index: 4;
    display: grid;
    width: 460px;
    height: 28px;
    place-items: center;
    overflow: hidden;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 28px;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tnoNewsPhoto,
.tnoNewsPhotoOverlay {
    position: absolute;
    left: 27px;
    top: 140px;
    display: block;
    width: 161px;
    height: 420px;
}

.tnoNewsPhoto {
    z-index: 1;
    background: #777a70;
    object-fit: cover;
    object-position: center;
}

.tnoNewsPhotoOverlay {
    z-index: 3;
    height: 419px;
    pointer-events: none;
}

.tnoNewsDescription {
    position: absolute;
    left: 195px;
    top: 148px;
    z-index: 4;
    width: 310px;
    height: 312px;
    overflow: hidden;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.015em;
    line-height: 1.52;
    text-align: left;
    white-space: pre-line;
}

.tnoNewsOption {
    position: absolute;
    left: 175px;
    bottom: 18px;
    z-index: 5;
    display: grid;
    width: 300px;
    height: 52px;
    place-items: center;
    overflow: hidden;
    box-sizing: border-box;
    padding: 5px 18px 7px;
    color: #151613;
    background:
        url("./asset-library/generated-assets/news/ui/event_option_entry.webp")
        center / 352px 52px no-repeat;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.035em;
    line-height: 1.2;
    text-align: center;
}

.tnoNewsMinimize {
    position: absolute;
    left: 5px;
    top: 40px;
    z-index: 6;
    display: block;
    width: 32px;
    height: 33px;
    pointer-events: none;
}

.tnoReportCanvas {
    position: relative;
    width: 563px;
    height: 720px;
    overflow: hidden;
    color: #11110f;
    background: #d8d1bd;
    font-family: "RuiZheng", "PingFang SC", "Microsoft YaHei", sans-serif;
    contain: layout paint style;
}

.tnoReportTop,
.tnoReportBottom {
    position: absolute;
    left: 0;
    z-index: 1;
    display: block;
    width: 563px;
    pointer-events: none;
}

.tnoReportTop {
    top: 0;
    height: 193px;
}

.tnoReportMiddle {
    position: absolute;
    top: 193px;
    bottom: 244px;
    left: 0;
    z-index: 1;
    width: 563px;
    background:
        url("./asset-library/generated-assets/news/ui/event_report_tileable_midsection.webp")
        top left / 563px 111px repeat-y;
    pointer-events: none;
}

.tnoReportBottom {
    left: 1px;
    bottom: 0;
    height: 244px;
}

.tnoReportMinimize {
    position: absolute;
    top: 76px;
    left: 51px;
    z-index: 6;
    display: block;
    width: 32px;
    height: 33px;
    pointer-events: none;
}

.tnoReportTitle {
    position: absolute;
    top: 138px;
    left: 45px;
    z-index: 4;
    display: grid;
    width: 484px;
    min-height: 32px;
    place-items: center;
    overflow: hidden;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: 0.035em;
    line-height: 1.25;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tnoReportDescription {
    position: absolute;
    top: 193px;
    left: 62px;
    z-index: 4;
    width: 460px;
    height: 341px;
    overflow: hidden;
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: 0.008em;
    line-height: 1.48;
    text-align: left;
    white-space: pre-line;
}

.tnoReportPhoto {
    position: absolute;
    bottom: 10px;
    left: 5px;
    z-index: 3;
    display: block;
    width: 182px;
    height: 208px;
    background: transparent;
    object-fit: contain;
    object-position: left bottom;
}

.tnoReportPhotoClip {
    position: absolute;
    bottom: 168px;
    left: -3px;
    z-index: 5;
    display: block;
    width: 69px;
    height: 39px;
    pointer-events: none;
}

.tnoReportOption {
    position: absolute;
    left: 215px;
    bottom: 41px;
    z-index: 5;
    display: grid;
    width: 300px;
    height: 52px;
    place-items: center;
    overflow: hidden;
    box-sizing: border-box;
    padding: 5px 22px 7px;
    color: #151613;
    background:
        url("./asset-library/generated-assets/news/ui/event_option_entry.webp")
        center / 352px 52px no-repeat;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.035em;
    line-height: 1.2;
    text-align: center;
}

.newsEditor {
    gap: 8px;
}

.newsEditorPanel {
    display: grid;
    gap: 7px;
    min-width: 0;
    padding: 8px;
    border: 8px solid transparent;
    border-image:
        url("./assets/interface-ui/tile-window-border.webp")
        18 fill / 8px / 0 stretch;
    box-sizing: border-box;
    background: #080e0e;
}

.newsEditorPanelHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    gap: 10px;
    padding: 5px 8px;
    border: 7px solid transparent;
    border-image:
        url("./assets/interface-ui/category-header-long.webp")
        12 20 fill / 7px 12px / 0 stretch;
    box-sizing: border-box;
}

.newsEditorPanelHeader > span {
    display: flex;
    min-width: 0;
    align-items: baseline;
    gap: 8px;
}

.newsEditorPanelHeader small {
    color: #60b9b3;
    font-size: 10px;
}

.newsEditorPanelHeader strong {
    overflow: hidden;
    color: #e0e8e4;
    font-family: "WenHanJianZhu", "RuiZheng", "PingFang SC", sans-serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.newsEditorPanelHeader output {
    flex: none;
    color: #879a94;
    font-size: 9px;
    white-space: nowrap;
}

.newsStyleChoices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}

.newsStyleChoices button {
    display: grid;
    min-width: 0;
    min-height: 54px;
    place-content: center;
    gap: 2px;
    border: 7px solid transparent;
    border-image:
        url("./assets/interface-ui/button-medium.webp")
        8 14 fill / 7px 11px / 0 stretch;
    box-sizing: border-box;
    color: #c7d0cc;
    background: #0b1110;
    font-family: "RuiZheng", "PingFang SC", sans-serif;
    text-align: center;
    cursor: pointer;
}

.newsStyleChoices button strong {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
}

.newsStyleChoices button small {
    color: #6d7e79;
    font-size: 8px;
}

.newsStyleChoices button:hover,
.newsStyleChoices button:focus-visible {
    filter: brightness(1.15);
}

.newsStyleChoices button[aria-checked="true"] {
    border-image-source: url("./assets/interface-ui/button-blue.webp");
    color: #effffa;
    background: #06151a;
}

.newsStyleChoices button[aria-checked="true"] small {
    color: #64b9b3;
}

.newsPhotoCategories {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
}

.newsPhotoCategories button {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    min-width: 0;
    min-height: 32px;
    align-items: center;
    gap: 4px;
    padding: 3px 7px;
    border: 5px solid transparent;
    border-image:
        url("./assets/interface-ui/button-medium.webp")
        7 12 fill / 5px 7px / 0 stretch;
    box-sizing: border-box;
    color: #b8c5c0;
    background: #0b1110;
    font-family: "RuiZheng", "PingFang SC", sans-serif;
    font-size: 10px;
    text-align: left;
    cursor: pointer;
}

.newsPhotoCategories button span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.newsPhotoCategories button small {
    color: #70817c;
    font-size: 8px;
}

.newsPhotoCategories button:hover,
.newsPhotoCategories button:focus-visible {
    filter: brightness(1.14);
}

.newsPhotoCategories button[aria-pressed="true"] {
    border-image-source: url("./assets/interface-ui/button-blue.webp");
    color: #f0fffb;
    background: #06131a;
}

.newsPhotoFilters {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 6px;
}

.newsPhotoFilters label,
.newsCopyFields label {
    display: grid;
    min-width: 0;
    gap: 4px;
    color: #9caaa5;
    font-family: "RuiZheng", "PingFang SC", sans-serif;
    font-size: 10px;
}

.newsPhotoFilters label > span,
.newsCopyFields label > span {
    display: block;
    min-width: 0;
    overflow: hidden;
    padding-inline: 3px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.newsPhotoFilters select,
.newsPhotoFilters input,
.newsCopyFields select,
.newsCopyFields input,
.newsCopyFields textarea {
    width: 100%;
    min-width: 0;
    border: 8px solid transparent;
    border-image:
        url("./assets/interface-ui/find-editbox.webp")
        12 22 fill / 8px 12px / 0 stretch;
    box-sizing: border-box;
    color: #dde5e1;
    background: #061014;
    font-family: "RuiZheng", "PingFang SC", sans-serif;
    font-size: 11px;
    outline: 0;
}

.newsCopyFields select,
.newsCopyFields input,
.newsCopyFields textarea {
    /*
     * find-editbox.webp 的左右灰色端帽延伸到源图约 40px 处。
     * 旧的 22px 横向切片会把端帽余下的部分拉伸进中央，字段越宽，
     * 黑色可输入区就离文字越远。把完整端帽收入切片后，中央只拉伸
     * 黑色内槽，文字便能稳定留在内框安全区。
     */
    border-image:
        url("./assets/interface-ui/find-editbox.webp")
        12 40 fill / 8px 14px / 0 stretch;
}

.newsPhotoFilters select,
.newsPhotoFilters input,
.newsCopyFields select,
.newsCopyFields input {
    height: 40px;
    padding: 0 14px;
    overflow: hidden;
    line-height: 20px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.newsCopyFields select,
.newsCopyFields input {
    padding-inline: clamp(32px, 6%, 120px);
}

.newsCopyFields textarea {
    display: block;
    min-height: 160px;
    padding-block: 12px 16px;
    padding-inline: clamp(32px, 6%, 120px);
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    line-height: 1.55;
    overflow-wrap: anywhere;
    resize: none;
    scrollbar-color: #65736e #07100f;
    scrollbar-width: thin;
    white-space: pre-wrap;
    word-break: break-word;
}

.newsPhotoFilters select:focus,
.newsPhotoFilters input:focus {
    border-image-source:
        url("./assets/interface-ui/tile-window-thin-crt.webp");
}

.newsCopyFields select:focus,
.newsCopyFields input:focus,
.newsCopyFields textarea:focus {
    box-shadow:
        0 0 0 1px rgba(89, 199, 195, 0.45),
        0 0 8px rgba(89, 199, 195, 0.24);
}

.newsPhotoGrid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 5px;
    min-height: 156px;
    max-height: 236px;
    padding: 6px;
    overflow-x: hidden;
    overflow-y: auto;
    border: 7px solid transparent;
    border-image:
        url("./assets/interface-ui/tile-scroll-window.webp")
        12 fill / 7px / 0 stretch;
    box-sizing: border-box;
    background: #030809;
    scrollbar-color: #5c7772 #070b0b;
}

.newsPhotoCard {
    position: relative;
    display: grid;
    grid-template-rows: minmax(0, 1fr) minmax(32px, auto);
    min-width: 0;
    height: 150px;
    padding: 0;
    overflow: hidden;
    border: 6px solid transparent;
    border-image:
        url("./assets/interface-ui/tile-card-idle.webp")
        14 fill / 6px / 0 stretch;
    box-sizing: border-box;
    background: #111615;
    cursor: pointer;
}

.newsPhotoCard:hover,
.newsPhotoCard:focus-visible {
    border-image-source: url("./assets/interface-ui/tile-card-selected.webp");
    filter: brightness(1.12);
}

.newsPhotoCard[aria-selected="true"] {
    border-image:
        url("./assets/interface-ui/tile-research-blue.webp")
        32 fill / 6px / 0 round;
}

.newsPhotoCard img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    background: #222826;
    object-fit: contain;
}

.newsEditor[data-news-style="report"] .newsPhotoCard {
    height: 126px;
}

@media screen and (max-height: 900px) and (min-width: 701px) {
    .previewScalerNews {
        --preview-scale: 0.8;
    }

    .previewScalerNews[data-news-style="report"] {
        --preview-scale: 0.7;
    }
}

@media screen and (max-width: 700px) {
    .previewScalerNews {
        --preview-scale: 0.7;
    }

    .previewScalerNews[data-news-style="report"] {
        --preview-scale: 0.6;
    }
}

.newsPhotoCard span {
    display: flex;
    min-width: 0;
    min-height: 32px;
    align-items: center;
    justify-content: center;
    padding: 3px 4px;
    overflow: visible;
    color: #e4ebe7;
    background: rgba(3, 7, 7, 0.96);
    font-family: "RuiZheng", "PingFang SC", sans-serif;
    font-size: 8px;
    line-height: 1.25;
    text-align: center;
    overflow-wrap: anywhere;
    white-space: normal;
    word-break: break-word;
}

.newsPhotoEmpty {
    padding: 14px;
    color: #83928d;
    text-align: center;
}

.newsPhotoLoadMore,
.newsPhotoActions button {
    min-height: 32px;
    border: 6px solid transparent;
    border-image:
        url("./assets/interface-ui/button-medium.webp")
        8 12 fill / 6px 9px / 0 stretch;
    color: #d4ded9;
    background: #0b1110;
    font-family: "RuiZheng", "PingFang SC", sans-serif;
    font-size: 10px;
    cursor: pointer;
}

.newsPhotoLoadMore:hover,
.newsPhotoActions button:hover {
    filter: brightness(1.16);
}

.newsPhotoActions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    gap: 8px;
}

.newsPhotoActions > span {
    display: grid;
    min-width: 0;
    gap: 1px;
}

.newsPhotoActions small {
    color: #74857f;
    font-size: 8px;
}

.newsPhotoActions strong {
    display: block;
    min-width: 0;
    overflow: hidden;
    color: #dbe4e0;
    font-size: 10px;
    font-weight: 400;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.newsPhotoActions button {
    flex: none;
    padding: 3px 11px;
}

.newsCopyFields {
    display: grid;
    gap: 7px;
}

.newsCopyFields .secondaryAction {
    justify-self: start;
}

@media screen and (max-width: 1480px) {
    .newsPhotoGrid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media screen and (max-width: 1179px) {
    #newsSection .workspacePreview {
        min-height: 680px;
    }

    .newsPhotoGrid {
        grid-template-columns: repeat(7, minmax(0, 1fr));
        max-height: 320px;
    }
}

@media screen and (max-width: 700px) {
    #newsSection .workspacePreview {
        min-height: 540px;
    }

    .previewScalerNews {
        --preview-scale: 0.78;
    }

    .newsPhotoCategories {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .newsPhotoFilters {
        grid-template-columns: 1fr;
    }

    .newsPhotoGrid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
