/* Home carousel and announcement dialog. All rules are scoped to these components. */
.top_hdp.nfy-hero #hdphome {max-height:none;}
.nfy-hero #hdphome .swiper-container,
.nfy-hero #hdphome .swiper-wrapper,
.nfy-hero #hdphome .swiper-slide {height:clamp(340px,40vw,550px) !important;}
.nfy-hero #hdphome .swiper-slide > a {display:block;position:relative;height:100%;overflow:hidden;background:#151b1e;}
.nfy-hero #hdphome .coveimg {display:block;width:100%;height:100%;object-fit:cover;object-position:center;}
.nfy-hero #hdphome .swiper-slide > a::after {content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(0deg,rgba(8,13,16,.97),rgba(8,13,16,.72) 25%,rgba(8,13,16,.08) 72%);}
#hdphome .hdp_text.nfy-hero-caption {display:block !important;position:absolute;z-index:1;bottom:40px;left:60px;right:auto;width:min(680px,calc(100% - 120px));margin:0;padding:0;border-radius:0;background:none;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.6);box-sizing:border-box;}
#hdphome .nfy-hero-caption .hdp_title {margin:0 0 12px;color:#fff;font-size:32px;font-weight:700;line-height:1.3;white-space:normal;overflow-wrap:anywhere;text-wrap:balance;}
#hdphome .nfy-hero-caption .nfy-hero-meta {display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin-bottom:10px;color:#e2e8eb;font-size:13px;line-height:1.6;}
#hdphome .nfy-hero-caption .nfy-hero-meta span {display:inline;}
#hdphome .nfy-hero-caption .nfy-hero-score {color:#ffe18e;font-weight:700;}
#hdphome .nfy-hero-caption .hdp_time {font-size:inherit;line-height:inherit;}
#hdphome .nfy-hero-caption .hdp_status {display:block;margin:0 0 8px;max-height:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;opacity:1;font-style:normal;font-size:13px;line-height:1.6;color:#e2e8eb;}
#hdphome .nfy-hero-caption .hdp_des {display:-webkit-box;margin:0 0 16px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:14px;line-height:1.7;color:#e2e8eb;}
#hdphome .nfy-hero-caption .nfy-hero-action {display:inline-flex;align-items:center;gap:14px;padding:10px 18px;background:#00a6b5;border-radius:4px;font-size:14px;font-weight:700;color:#fff;text-shadow:none;line-height:1.5;}
#hdphome .nfy-hero-caption .nfy-hero-action span {display:inline;}
#hdphome a:hover .nfy-hero-action {background:#008591;}
#hdphome a:focus-visible {outline:3px solid #8cecf4;outline-offset:-4px;}
.nfy-hero #hdphome .swiper-pagination {bottom:12px;}
.nfy-hero #hdphome .swiper-button-prev,
.nfy-hero #hdphome .swiper-button-next {z-index:2;min-width:44px;min-height:44px;}
.nfy-hero-motion {position:absolute;z-index:3;right:20px;bottom:5px;min-height:36px;padding:6px 12px;border:0;border-radius:4px;background:rgba(10,17,21,.8);color:#e2e8eb;cursor:pointer;font:inherit;font-size:12px;}
.nfy-hero-motion:hover {background:#26343d;color:#fff;}
.nfy-hero-motion:focus-visible {outline:2px solid #71e2ec;outline-offset:-3px;}
.nfy-hero-mini #hdphome .swiper-slide > a {display:block;position:relative;}
.nfy-hero-mini #hdphome .hdp_text.nfy-hero-caption {left:0;right:0;bottom:0;width:100%;padding:14px 10px 26px;background:rgba(8,13,16,.9);}
.nfy-hero-mini #hdphome .hdp_title {font-size:16px;margin-bottom:4px;}
.nfy-hero-mini #hdphome .nfy-hero-meta {font-size:11px;gap:4px;margin:0;}
.nfy-hero-mini #hdphome .hdp_des,.nfy-hero-mini #hdphome .hdp_status,.nfy-hero-mini #hdphome .nfy-hero-action {display:none;}
/* Preserve the announcement dialog, with readable content and an explicit action. */
.el-dialog.nfy-notice-dialog {width:min(520px,calc(100vw - 32px)) !important;margin:18vh auto 24px !important;border-radius:12px;background:#20292e;color:#f2f6f7;box-shadow:0 6px 8px rgba(0,0,0,.25);overflow:hidden;}
.nfy-notice-dialog .el-dialog__header {padding:24px 56px 20px 24px;border-bottom:1px solid #3b474d;text-align:left;}
.nfy-notice-heading {display:inline-flex;align-items:center;gap:10px;color:#f4f8fa;font-size:20px;font-weight:600;line-height:1.4;overflow-wrap:anywhere;}
.nfy-notice-heading i {color:#78dce5;font-size:22px;}
.nfy-notice-dialog .el-dialog__headerbtn {top:13px;right:12px;display:flex;align-items:center;justify-content:center;width:44px;height:44px;font-size:22px;}
.nfy-notice-dialog .el-dialog__headerbtn .el-dialog__close {color:#dce7eb;}
.nfy-notice-dialog .el-dialog__body {padding:22px 24px 12px;}
.nfy-notice-dialog .nfy-notice-content {max-height:45vh;overflow:auto;color:#eef4f6;font-size:15px;line-height:1.85;white-space:pre-line;overflow-wrap:anywhere;text-align:left;}
.nfy-notice-content p {margin:0 0 12px;}
.nfy-notice-content a {color:#8ae4ed;text-decoration:underline;text-underline-offset:3px;}
.nfy-notice-content img {max-width:100%;height:auto;}
.nfy-notice-dialog .el-dialog__footer {padding:16px 24px 24px;}
.nfy-notice-confirm {min-width:120px;min-height:44px;padding:10px 22px;border:0;border-radius:6px;background:#00a6b5;color:#fff;cursor:pointer;font:inherit;font-size:14px;font-weight:600;}
.nfy-notice-confirm:hover {background:#008591;}
.nfy-notice-confirm:focus-visible,.nfy-notice-dialog button:focus-visible {outline:2px solid #8ae4ed;outline-offset:3px;}
@media (max-width:767px) {
    /* Keep search, history and both account actions on the same mobile row. */
    #header > .mikd > .el-row {display:flex;align-items:center;}
    #header > .mikd > .el-row > .el-col:nth-child(1) {width:36px;flex:none;}
    #header > .mikd > .el-row > .el-col:nth-child(2) {width:auto;min-width:0;flex:1;}
    #header > .mikd > .el-row > .el-col:nth-child(3) {width:136px;flex:none;}
    #header .souuo {padding-right:6px;}
    #header .dla.ndb {display:flex;align-items:center;justify-content:flex-end;gap:6px;height:50px;white-space:nowrap;}
    #header .dla.ndb .el-dropdown {display:flex;align-items:center;margin:0;padding:0;}
    #header .dla.ndb .updlbox {display:inline-flex;align-items:center;justify-content:center;margin:0;padding:7px 8px;height:44px;box-sizing:border-box;line-height:20px;}
    .nfy-hero #hdphome .swiper-container,.nfy-hero #hdphome .swiper-wrapper,.nfy-hero #hdphome .swiper-slide {height:clamp(300px,82vw,370px) !important;}
    #hdphome .hdp_text.nfy-hero-caption {left:20px;bottom:42px;width:calc(100% - 40px);}
    #hdphome .nfy-hero-caption .hdp_title {font-size:23px;margin-bottom:8px;}
    #hdphome .nfy-hero-caption .nfy-hero-meta {gap:4px 10px;font-size:12px;margin-bottom:6px;}
    #hdphome .nfy-hero-caption .hdp_status {font-size:12px;margin-bottom:6px;}
    #hdphome .nfy-hero-caption .hdp_des {font-size:12px;line-height:1.6;margin-bottom:10px;}
    #hdphome .nfy-hero-caption .nfy-hero-action {padding:8px 14px;font-size:13px;min-height:44px;box-sizing:border-box;}
    .nfy-hero #hdphome .swiper-button-prev,.nfy-hero #hdphome .swiper-button-next {top:30%;}
    .nfy-hero #hdphome .swiper-button-prev::after,.nfy-hero #hdphome .swiper-button-next::after {font-size:24px;}
    .nfy-hero-motion {right:10px;font-size:11px;}
    .el-dialog.nfy-notice-dialog {margin-top:12vh !important;}
    .nfy-notice-dialog .el-dialog__header {padding:20px 56px 16px 20px;}
    .nfy-notice-heading {font-size:18px;}
    .nfy-notice-dialog .el-dialog__body {padding:18px 20px 8px;}
    .nfy-notice-dialog .nfy-notice-content {font-size:14px;max-height:48vh;}
    .nfy-notice-dialog .el-dialog__footer {padding:16px 20px 20px;}
    .nfy-notice-confirm {width:100%;}

}
@media (prefers-reduced-motion:reduce) {
    .nfy-hero .swiper-wrapper {transition-duration:0ms !important;}
}
