/* AI-assisted, reviewed content. Type scale stays 16/14px on every viewport. */
.yc-ai-actions,.yc-ai-actions *,.yc-summary-dialog,.yc-summary-dialog *{box-sizing:border-box}
.yc-ai-actions{display:flex;align-items:center;justify-content:space-between;gap:9px;margin:0 16px 16px;padding:0;border:0;border-radius:0;background:transparent}
.yc-ai-actions button{display:inline-flex;flex:0 1 auto;min-width:0;min-height:34px;align-items:center;justify-content:center;gap:6px;padding:5px 12px;border:1px solid transparent;border-radius:9px;font:500 14px/1.5 'Noto Sans KR','Malgun Gothic',sans-serif;cursor:pointer;white-space:nowrap}
.yc-ai-actions .yc-watch-button{background:#fff;color:#536c88;border-color:#dce5f0}
.yc-ai-actions .yc-watch-button svg{width:16px;height:16px;flex-shrink:0}
.yc-ai-actions .yc-summary-button{color:#fff;background:linear-gradient(110deg,#256bc0,#6846c6,#a53787,#256bc0);background-size:280% 100%;animation:yc-ai-flow 9s ease-in-out infinite alternate;box-shadow:0 3px 9px #6852bc1c}
.yc-ai-actions .yc-summary-button .yc-ai-stars{width:19px;height:19px;color:inherit}
.yc-ai-actions .yc-summary-button span{color:inherit;font:inherit}
.yc-ai-stars{width:23px;height:23px;flex-shrink:0;color:#6b62d8}
.yc-ai-actions .yc-summary-button:hover{box-shadow:0 4px 12px #6852bc30;filter:brightness(1.08)}
.yc-ai-actions .yc-watch-button:hover{background:#edf2f9;color:#1668d9}
@keyframes yc-ai-flow{from{background-position:0% 50%}to{background-position:100% 50%}}
.yc-ai-actions button:focus-visible,.yc-summary-dialog :focus-visible{outline:2px solid #5874dd;outline-offset:3px}
.yc-home .ych-card{display:flex;flex-direction:column}
.yc-home .ych-card .ych-video{height:auto;flex:1}
.yc-public .yc-card{display:flex;flex-direction:column}
.yc-public .yc-card .yc-card-button{height:auto;flex:1}
.yc-home .ych-grid,.yc-public .yc-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.yc-home .ych-card .ych-copy strong,.icg-home-channel .portal-channel-stage .ych-card .ych-copy strong,.yc-public .yc-card .yc-card-title{font-size:16px;line-height:1.65}
.yc-public .yc-card-meta,.yc-public .yc-card-description{font-size:14px;line-height:1.7}
.yc-public .yc-card .yc-card-description{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.yc-public .yc-pagination a{font-size:14px}
.yc-public .yc-retry,.yc-home .ych-all{font-size:16px}
.yc-summary-dialog{position:fixed;inset:0;width:min(720px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);margin:auto;padding:0;border:1px solid #e0e8f3;border-radius:24px;background:#fff;color:#152d4d;box-shadow:0 30px 100px #142b4f38;font:400 14px/1.8 'Noto Sans KR','Malgun Gothic',sans-serif;overflow:auto;overscroll-behavior:contain;text-align:left}
.yc-summary-dialog:not([open]){display:none}
.yc-summary-dialog::backdrop{background:#12243b99;backdrop-filter:blur(5px)}
.yc-summary-head{position:sticky;top:0;z-index:2;display:block;padding:22px 56px 20px;background:linear-gradient(115deg,#245baf,#6644b9,#9b367f,#245baf);background-size:300% 100%;animation:yc-ai-flow 12s ease-in-out infinite alternate;border-bottom:1px solid #ffffff30;color:#fff;text-align:center}
.yc-summary-kicker{display:block;color:#fff;margin:0;text-align:center}
.yc-summary-kicker>.yc-ai-stars{display:block;margin:0 auto 7px;color:#fff}
.yc-summary-dialog .yc-summary-brand-title{margin:0;color:#fff;font-size:18px;font-weight:600;line-height:1.55;text-align:center;word-break:keep-all;overflow-wrap:anywhere}
.yc-summary-head>div{min-width:0}
.yc-summary-kicker .yc-ai-stars path{transform-box:fill-box;transform-origin:center;animation:yc-ai-twinkle 2.8s ease-in-out infinite}
.yc-summary-kicker .yc-ai-stars path:nth-child(2){animation-delay:1.4s}
@keyframes yc-ai-twinkle{0%,100%{opacity:.6;transform:scale(.88)}50%{opacity:1;transform:scale(1.08);filter:drop-shadow(0 0 2px #9583ef88)}}
.yc-summary-dialog .yc-summary-title{margin:8px 0 0;color:#ffffffe0;font-size:14px;font-weight:400;line-height:1.7;text-align:center;word-break:keep-all;overflow-wrap:anywhere}
.yc-summary-close{position:absolute;top:16px;right:16px;width:40px;height:40px;border:1px solid #ffffff50;border-radius:50%;background:#ffffff1c;color:#fff;font:400 25px/1 sans-serif;cursor:pointer}
.yc-summary-content{padding:24px 28px 28px}
.yc-summary-section+.yc-summary-section{margin-top:24px}
.yc-summary-dialog .yc-summary-label{display:flex;align-items:center;gap:9px;margin:0 0 12px;font-size:16px;font-weight:600;color:#213c60}
.yc-summary-dialog .yc-summary-label:before{content:'';width:5px;height:5px;border-radius:50%;background:#8a8de0}
.yc-summary-points{list-style:none;margin:0;padding:0;counter-reset:summary}
.yc-summary-points li{display:flex;gap:12px;padding:10px 0;border-bottom:1px solid #edf1f7;font-size:14px;line-height:1.85;word-break:keep-all;overflow-wrap:anywhere}
.yc-summary-points li:before{counter-increment:summary;content:counter(summary,decimal-leading-zero);flex-shrink:0;color:#7b83c5;font-size:14px;font-weight:500}
.yc-summary-topics{display:flex;flex-wrap:wrap;gap:8px}
.yc-summary-topics span{padding:4px 11px;background:#f2f5fb;border:1px solid #e7edf6;border-radius:50px;color:#596c89;font-size:14px;overflow-wrap:anywhere;max-width:100%}
.yc-summary-chapters{display:grid;gap:10px}
.yc-summary-chapter{display:grid;grid-template-columns:60px minmax(0,1fr) 18px;gap:12px;align-items:start;width:100%;padding:14px;border:1px solid #e5eaf5;border-radius:14px;background:#fbfcff;color:#526680;text-align:left;font:inherit;cursor:pointer}
.yc-summary-chapter:hover{border-color:#bcc9ec;background:#f3f6ff}
.yc-summary-time{display:block;padding:2px 4px;background:#eaf0ff;border-radius:7px;color:#5566b3;font-size:14px;text-align:center;font-variant-numeric:tabular-nums}
.yc-summary-chapter strong{display:block;font-size:16px;font-weight:500;color:#304e78;line-height:1.6}
.yc-summary-chapter small{display:block;margin-top:3px;font-size:14px;line-height:1.75;overflow-wrap:anywhere}
.yc-summary-note{padding-top:18px;margin:24px 0 0;border-top:1px solid #e5ebf5;color:#7c8ba0;font-size:14px;line-height:1.8}
.yc-summary-state{padding:24px 0;text-align:center;color:#6b7d95;font-size:14px}
.yc-summary-state strong{display:block;margin-bottom:10px;color:#314d75;font-size:16px}
.yc-summary-state .yc-ai-stars{width:36px;height:36px;margin:0 auto 16px;display:block}
.yc-summary-retry{border:1px solid #dae3f3;border-radius:10px;background:#edf3ff;color:#425fa8;min-height:44px;padding:8px 16px;font-family:inherit;font-size:16px;font-weight:500;line-height:1.5;cursor:pointer}
@media(max-width:1023px){.yc-home .ych-grid,.yc-public .yc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.yc-home .ych-grid,.yc-public .yc-grid{grid-template-columns:minmax(0,1fr)}.yc-ai-actions{margin:0 12px 14px}.yc-summary-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:20px}.yc-summary-head{padding:20px;gap:12px}.yc-summary-content{padding:20px}.yc-summary-chapter{grid-template-columns:54px minmax(0,1fr) 12px;gap:10px;padding:12px}.yc-summary-close{width:36px;height:36px}}
@media(prefers-reduced-motion:reduce){.yc-ai-actions *,.yc-summary-dialog *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:650px){.yc-summary-head{padding:18px 44px}.yc-summary-close{top:12px;right:12px}}
