body.is-news-service{
    --card-active:#9f66ff;
    --card-active-border:#b081ff;
    --primary:#9f66ff;
    --primary-2:#b081ff;
}

body.is-news-service .prev,
body.is-news-service .next{
    border:1px solid #a36ef8;
}

body.is-news-service .prev{
    background:#fff;
    color:#9f66ff;
}

body.is-news-service .next{
    background:#9f66ff;
    color:#fff;
}

.is-news-service.is-news-project .topic-search,
.is-news-service.is-news-project .topic-guide{
    display:none;
}

.is-news-service.is-news-project .topic-section{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.news-topic-seed{
    width:fit-content;
    max-width:100%;
    border-radius:24px;
    background:var(--card-bg);
    padding:38px;
}

.news-topic-seed-title{
    margin:0 0 10px;
    font-size:18px;
    line-height:1.4;
    font-weight:500;
    color:var(--text);
}

.news-topic-seed-summary{
    margin:0;
    color:var(--text-muted);
    font-size:14px;
    line-height:1.5;
    white-space:pre-wrap;
}

body.is-news-main .preview{
    display:none;
}

body.is-news-service .preview [data-meta="bgm"]{
    display:none;
}

body.is-news-main .main{
    width:calc(var(--app-width) - var(--nav-width));
    margin-left:var(--nav-width);
    background-color:#171C39;
}

.news-main-page{
    min-height:auto;
}

.news-main-page .project-start{
    background:linear-gradient(135deg, #b081ff 0%, #9f66ff 52%, #7b46d6 100%);
    box-shadow:0 18px 34px rgba(159,102,255,.35), inset 0 1px 0 rgba(255,255,255,.28);
}

.news-main-page .project-start:hover,
.news-main-page .project-start:focus-visible{
    box-shadow:0 24px 42px rgba(159,102,255,.42), inset 0 1px 0 rgba(255,255,255,.34);
}

.news-video-area{
    width:100%;
    min-height:260px;
    margin-top:58px;
}

.news-video-grid{
    --youtube-masonry-gap:26px;
    --youtube-masonry-min-column:230px;
    --youtube-masonry-single-column:0;
    width:100%;
    column-width:var(--youtube-masonry-min-column);
    column-gap:var(--youtube-masonry-gap);
    min-height:0;
}

.workspace-logo.news-workspace-logo{
    position:static;
    top:auto;
    left:auto;
    padding:0;
    margin:0 0 48px;
    transform:none;
}

body.library-open .workspace-logo.news-workspace-logo{
    transform:none;
}

body.is-news-project .news-project-step-stack{
    padding-top:0;
}

body.is-news-project .news-project-step-stack .project-step.is-leaving{
    top:0;
}

body.is-news-project .news-setup-page .next{
    background:var(--primary);
    color:#fff;
}

body.is-news-project .news-setup-page .prev{
    color:var(--primary);
}

body.is-news-project .news-headline-page .next{
    background:var(--primary);
    color:#fff;
}

body.is-news-project .news-image-page .image-result-list{
    display:flex;
    flex-direction:column;
    gap:10px;
}

body.is-news-project .news-image-page.script-section.image-result-section,
body.is-news-project .news-image-page .script-section.image-result-section{
    width:100%;
    max-width:80%;
    box-sizing:border-box;
    padding:28px 30px;
}

body.is-news-project .news-scene-row{
    display:grid;
    grid-template-columns:42px 132px 74px minmax(0,1fr) 72px 38px 40px;
    align-items:center;
    gap:16px;
    min-height:92px;
    padding:16px 18px;
    border:0;
    border-radius:10px;
    background:#1B1E3B;
}

body.is-news-project .news-scene-index{
    display:flex;
    align-items:center;
    justify-content:center;
    width:34px;
    height:34px;
    border-radius:999px;
    background:#9f66ff;
    color:#fff;
    font-weight:800;
}

body.is-news-project .news-scene-media{
    width:132px;
    height:74px;
    border:0;
    border-radius:8px;
    overflow:hidden;
    background:rgba(255,255,255,.06);
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0;
    cursor:pointer;
}

body.is-news-project .news-scene-row.ratio-vertical{
    grid-template-columns:42px 74px 74px minmax(0,1fr) 72px 38px 40px;
    min-height:164px;
}

body.is-news-project.is-news-ratio-vertical .news-scene-row{
    grid-template-columns:42px 74px 74px minmax(0,1fr) 72px 38px 40px;
    min-height:164px;
    width: 100%;
}

body.is-news-project .news-scene-row.ratio-vertical .news-scene-media{
    width:74px;
    height:132px;
}

body.is-news-project.is-news-ratio-vertical .news-scene-media{
    width:74px;
    height:132px;
}

body.is-news-project.is-news-ratio-wide .news-scene-row{
    grid-template-columns:42px 132px 74px minmax(0,1fr) 72px 38px 40px;
    min-height:92px;
    width: 100%;
}

body.is-news-project.is-news-ratio-wide .news-scene-row .news-scene-media{
    width:132px;
    height:74px;
}

body.is-news-project .news-scene-media img,
body.is-news-project .news-scene-media video{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

body.is-news-project .news-scene-waiting{
    color:var(--text-muted);
    font-size:12px;
    font-weight:700;
}

body.is-news-project .news-scene-label{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:28px;
    padding:0 10px;
    border-radius:999px;
    color:#fff;
    font-size:12px;
    font-weight:800;
    background:rgba(159,102,255,.22);
}

body.is-news-project .news-scene-label[data-media-label="앵커"],
body.is-news-project .meta-news-scene-summary i[data-media-label="앵커"]{
    background:rgba(159,102,255,.16);
    color:#d8c2ff;
}

body.is-news-project .news-scene-label[data-media-label="이미지"],
body.is-news-project .meta-news-scene-summary i[data-media-label="이미지"]{
    background:rgba(56,189,248,.14);
    color:#93d8ff;
}

body.is-news-project .news-scene-label[data-media-label="PPT"],
body.is-news-project .meta-news-scene-summary i[data-media-label="PPT"]{
    background:rgba(36,211,133,.14);
    color:#7ee7b1;
}

body.is-news-project .news-scene-label[data-media-label="영상"],
body.is-news-project .meta-news-scene-summary i[data-media-label="영상"]{
    background:rgba(128,176,255,.14);
    color:#8db6ff;
}

body.is-news-project .news-scene-script{
    margin:0;
    color:var(--text-muted);
    font-size:14px;
    line-height:1.45;
    max-width:100%;
}
.news-scene-meta-asset {padding: 15px; height:auto;}

body.is-news-project .news-scene-time{
    justify-self:end;
    white-space:nowrap;
}

body.is-news-project .news-scene-voice{
    border:0;
    cursor:pointer;
    color:#fff;
    background:#9f66ff;
}

body.is-news-project .news-scene-voice{
    width:34px;
    height:34px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0;
}

body.is-news-project .news-scene-voice img,
body.is-news-project .news-scene-voice svg{
    width:18px;
    height:18px;
    display:block;
}

body.is-news-project .news-scene-voice:not(.is-playing) svg{
    width:22px;
    height:22px;
}

body.is-news-project .news-scene-generate{
    width:34px;
    height:34px;
    opacity:.42;
    padding:0;
}

body.is-news-project .news-scene-row:hover .news-scene-generate{
    opacity:1;
}

body.is-news-project .meta-news-scene-grid{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:8px 12px;
}

body.is-news-project .meta-news-scene-summary{
    display:grid;
    grid-template-columns:34px 52px minmax(42px, 1fr);
    gap:7px;
    align-items:center;
    color:rgba(255,255,255,.78);
    font-size:12px;
    font-weight:800;
    min-width:0;
}

body.is-news-project .meta-news-scene-thumb{
    width:34px;
    height:34px;
    border-radius:5px;
    overflow:hidden;
    background:rgba(255,255,255,.06);
    display:flex;
    align-items:center;
    justify-content:center;
    border:0;
    padding:0;
    flex:0 0 auto;
}

body.is-news-project .meta-news-scene-thumb .script-loading-dots{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:3px;
    width:auto;
    height:auto;
    transform:none;
}

body.is-news-project .meta-news-scene-thumb .script-loading-dots i{
    display:block;
    min-width:0;
    min-height:0;
    width:4px;
    height:4px;
    padding:0;
    border-radius:50%;
    background:rgba(255,255,255,.72);
    font-style:normal;
    flex:0 0 auto;
}

body.is-news-project .meta-news-scene-summary i{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:22px;
    padding:0 9px;
    border-radius:999px;
    background:rgba(159,102,255,.22);
    color:#fff;
    font-style:normal;
    font-size:11px;
    font-weight:300;
    white-space:nowrap;
}

body.is-news-project .meta-news-scene-time{
    display:inline-flex;
    align-items:center;
    justify-content:flex-end;
    gap:4px;
    min-width:0;
    text-align:right;
    color:var(--text-muted);
    white-space:nowrap;
    font-weight: 300;
}

body.is-news-project .meta-news-scene-time img{
    width:14px;
    height:14px;
    opacity:.75;
    flex:0 0 auto;
}

body.is-news-project .meta-news-scene-thumb img,
body.is-news-project .meta-news-scene-thumb video{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

body.is-news-project .news-headline-page .prev{
    color:var(--primary);
}

body.is-news-service .script-section .script-card .script-line{
    grid-template-columns:52px 58px minmax(0,1fr) 70px;
    align-items:start;
    column-gap:20px;
    row-gap:2px;
}

body.is-news-service .script-section .script-card .script-line:not([data-media-label="PPT"]) .script-line-content{
    grid-column:3;
}

body.is-news-service .script-section .script-card .script-line[data-media-label="PPT"] .script-cut-media-badge{
    grid-column:2;
    grid-row:1;
}

body.is-news-service .script-section .script-card .script-line[data-media-label="PPT"] .script-ppt-motion-badge{
    grid-column:2;
    grid-row:2;
}

body.is-news-service .script-section .script-card .script-line[data-media-label="PPT"] .script-line-content{
    grid-column:3;
    grid-row:1 / span 2;
    align-self:center;
}

body.is-news-service .script-section .script-card .script-line[data-media-label="PPT"] .script-line-time{
    grid-column:4;
    grid-row:1 / span 2;
}

body.is-news-service .script-section .script-card .script-line-content{
    min-width:0;
    display:flex;
    flex-direction:column;
    gap:6px;
    align-items:flex-start;
}

body.is-news-service .script-section .script-card .script-line-content p{
    margin:0;
    width:100%;
}

body.is-news-service .script-cut-media-badge{
    min-width:52px;
    height:28px;
    padding:0 4px;
    border:0;
    align-self:center;
    border-radius:28px;
    background:rgba(159,102,255,.14);
    color:#cfa2ff;
    font-size:11px;
    font-weight:500;
    line-height:1;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    white-space:nowrap;
    cursor:pointer;
}

body.is-news-service .script-cut-media-badge.script-media-anchor{
    background:rgba(159,102,255,.16);
    color:#d8c2ff;
}

body.is-news-service .script-cut-media-badge.script-media-image{
    background:rgba(56,189,248,.14);
    color:#93d8ff;
}

body.is-news-service .script-cut-media-badge.script-media-ppt{
    background:rgba(36,211,133,.14);
    color:#7ee7b1;
}

body.is-news-service .script-cut-media-badge.script-media-vid{
    background:rgba(128,176,255,.14);
    color:#8db6ff;
}

body.is-news-service .script-ppt-motion-badge{
    min-width:52px;
    height:28px;
    padding:0 4px;
    border:0;
    align-self:center;
    border-radius:28px;
    background:rgba(255,255,255,.08);
    color:rgba(255,255,255,.44);
    font-size:11px;
    font-weight:500;
    line-height:1;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    white-space:nowrap;
    cursor:pointer;
}

body.is-news-service .script-ppt-motion-badge.is-on{
    background:rgba(159,102,255,.22);
    color:#eadcff;
}

body.is-news-service .news-script-label-guide{
    display:flex;
    flex-wrap:wrap;
    gap:8px 14px;
    margin-top:10px;
    color:var(--text-muted);
    font-size:12px;
}

body.is-news-service .news-script-label-guide span{
    display:inline-flex;
    align-items:center;
    gap:6px;
}

body.is-news-service .news-script-label-guide .script-cut-media-badge{
    min-width:44px;
    height:22px;
    cursor:default;
}

body.is-news-service .news-script-label-guide .script-ppt-motion-badge{
    height:22px;
    min-width:auto;
    padding:0 8px;
    cursor:default;
}

body.is-news-service .script-section .script-card .script-line{
    position:relative;
}

body.is-news-service .script-media-menu{
    position:absolute;
    left:calc(18px + 8px + 92px + 20px);
    top:50%;
    transform:translateY(-50%);
    z-index:20;
    display:flex;
    gap:6px;
    padding:6px;
    border:1px solid rgba(159,102,255,.24);
    border-radius:10px;
    background:#151827;
    box-shadow:0 12px 30px rgba(0,0,0,.28);
}

body.is-news-service .script-media-menu-item{
    min-width:50px;
    height:28px;
    border:0;
    border-radius:28px;
    font-size:11px;
    font-weight:600;
    cursor:pointer;
}

body.is-news-service .script-media-menu-item.script-media-anchor{
    background:rgba(159,102,255,.16);
    color:#d8c2ff;
}

body.is-news-service .script-media-menu-item.script-media-image{
    background:rgba(56,189,248,.14);
    color:#93d8ff;
}

body.is-news-service .script-media-menu-item.script-media-ppt{
    background:rgba(36,211,133,.14);
    color:#7ee7b1;
}

.news-topic-options{
    flex-wrap:wrap;
    width:100%;
    max-width:none;
}

.news-topic-card{
    width:150px;
    min-width:150px;
    flex:0 0 150px;
    min-height:150px;
    padding:20px 12px;
    gap:10px;
}

.news-topic-card .setup-icon img{
    width:26px;
    height:26px;
}

.news-period-control .duration-value {width: 70px; flex: 0 0 70px;}

.news-score-note{
    margin:-6px 0 12px;
    color:rgba(170,177,209,.72);
    font-size:13px;
    font-weight:300;
    line-height:1.4;
}

.news-condition-layout{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:34px;
    width:auto;
}

.news-condition-panel{
    flex:1 1 auto;
    min-width:520px;
}

.news-topic-card strong{
    font-size:18px;
    color:#fff;
}

.news-region-chips{
    flex:0 0 auto;
}

.news-region-chips .topic-chip{
    height:30px;
    padding:0 16px;
    border-radius:15px;
    font-size:14px;
}

.news-headline-result-section{
    width:100%;
    margin:6px 0 30px;
}

.news-headline-results{
    width:100%;
    flex-wrap:wrap;
    align-items:stretch;
    max-width:none;
}

.news-headline-card{
    width:286px;
    min-width:286px;
    flex:0 0 286px;
    min-height:178px;
    align-items:flex-start;
    justify-content:flex-start;
    gap:12px;
    padding:30px;
    text-align:left;
    cursor:pointer;
    position:relative;
}

.news-headline-card strong{
    font-size:17px;
    line-height:1.35;
    color:#fff;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.news-headline-card p{
    margin:0;
    color:rgba(255,255,255,.68);
    font-size:13px;
    line-height:1.45;
    font-weight:300;
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.news-headline-card span{
    margin-top:20px;
    padding-right:96px;
    color:var(--text-soft);
    font-size:13px;
    line-height:1.4;
}

.news-card-meta b,
.news-card-meta i{
    display:block;
    font-weight:400;
    font-style:normal;
}

.news-card-meta i{
    margin-top:3px;
    color:rgba(255,255,255,.58);
}

.news-score-radar{
    position:absolute;
    right:14px;
    bottom:14px;
    width:92px;
    height:84px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    pointer-events:none;
}

.news-score-radar svg{
    width:92px;
    height:70px;
    display:block;
}

.news-score-grid{
    fill:none;
    stroke:rgba(255,255,255,.18);
    stroke-width:1;
}

.news-score-axis{
    stroke:rgba(255,255,255,.12);
    stroke-width:1;
}

.news-score-fill{
    fill:rgba(191,155,255,.38);
    stroke:#c9a8ff;
    stroke-width:1.7;
}

.news-score-dot{
    fill:#c9a8ff;
    stroke:rgba(255,255,255,.75);
    stroke-width:1;
}

.news-score-caption{
    margin-top:-8px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:4px;
    color:rgba(255,255,255,.78);
    font-size:9px;
    line-height:1;
    white-space:nowrap;
}

.news-score-caption b{
    color:#fff;
    font-size:13px;
    font-weight:700;
}

.news-score-caption span{
    margin:0;
    padding:0;
    color:rgba(255,255,255,.72);
    font-size:9px;
    line-height:1;
}

.news-score-guide{
    flex:0 0 auto;
    width:300px;
    min-height:178px;
    display:flex;
    align-items:center;
    gap:18px;
    padding:18px 18px 16px 10px;
    border-radius:18px;
    background:rgba(49,57,104,.38);
    display: none;
}

.news-score-guide svg{
    width:172px;
    height:152px;
    overflow:visible;
    flex:0 0 172px;
}

.news-score-label{
    fill:rgba(255,255,255,.76);
    font-size:10px;
    font-weight:700;
    text-anchor:middle;
    dominant-baseline:middle;
}

.news-score-guide-copy{
    display:flex;
    flex-direction:column;
    gap:6px;
    min-width:0;
}

.news-score-guide-copy strong{
    color:#fff;
    font-size:16px;
    line-height:1.2;
}

.news-score-guide-copy span{
    color:rgba(255,255,255,.62);
    font-size:12px;
    line-height:1.35;
}

.news-headline-loading{
    width:100%;
    max-width:none;
}

.news-condition-row{
    display:flex;
    align-items:center;
    gap:18px;
}

@media (max-width: 1100px){
    .news-condition-layout{
        align-items:flex-start;
        flex-direction:column;
    }
    .news-condition-panel{
        min-width:0;
        width:100%;
    }
}

.news-headline-actions{
    display:flex;
    align-items:center;
    gap:14px;
}

.news-headline-meta{
    display:none;
}

body.is-news-service .news-headline-meta{
    display:block;
}

.meta-headline-asset{
    align-items:flex-start;
    justify-content:flex-start;
}

.meta-headline-content{
    width:100%;
    display:flex;
    flex-direction:column;
    gap:8px;
    text-align:left;
}

.meta-headline-content p {margin: 0px;}

.meta-headline-content strong{
    color:#fff;
    font-size:14px;
    font-weight:400;
    line-height:1.45;
}

.meta-headline-content span{
    color:var(--text-soft);
    font-size:12px;
    line-height:1.35;
}

.meta-headline-content span b,
.meta-headline-content span i{
    font-weight:400;
    font-style:normal;
}

.meta-headline-content span b::after{
    content:' · ';
}

.meta-headline-content span i{
    color:rgba(255,255,255,.58);
}


body.is-news-service .news-main-page .logo span,
body.is-news-service .workspace-logo span{
    color:#9f66ff;
}
