/* All rules confined to Shorts. */
.adc-shorts-widget{background:var(--adc-shorts-background,#fff);min-width:0;max-width:100%;box-sizing:border-box}
.adc-shorts-widget .widget-header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.adc-shorts-widget .widget-header .widget-title{color:var(--adc-shorts-heading,#082b50)!important;font-size:var(--adc-shorts-title-desktop,24px)!important;text-transform:none;letter-spacing:normal}
.adc-shorts-more{font-size:12px;flex-shrink:0;color:var(--adc-shorts-heading,#082b50)}
.adc-shorts-wrap{position:relative;min-width:0}.adc-shorts-track{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:2px 0 5px;overscroll-behavior-x:contain}.adc-shorts-track::-webkit-scrollbar{display:none}
.adc-short-card{position:relative;display:block;flex:0 0 calc((100% - (var(--adc-shorts-cols,4) - 1)*12px)/var(--adc-shorts-cols,4));min-width:0;aspect-ratio:9/16;border-radius:10px;overflow:hidden;scroll-snap-align:start;background:#172c3e;color:#fff;text-decoration:none!important}
.adc-short-card:after{content:"";position:absolute;inset:40% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.85));pointer-events:none}
.adc-short-card img{position:absolute!important;inset:0;width:100%!important;height:100%!important;max-width:none;object-fit:cover;object-position:center}
.adc-short-card-title{position:absolute;left:12px;right:12px;bottom:14px;z-index:1;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-size:var(--adc-shorts-size-desktop,14px);line-height:1.4;font-weight:600;color:var(--adc-shorts-text,#fff)}
.adc-short-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:1;width:44px;height:44px;display:grid;place-items:center;border:1px solid #fff;border-radius:50%;background:#0005;color:#fff;font-size:20px}
.adc-shorts-arrow{position:absolute;z-index:2;top:45%;width:32px;height:36px;background:#fff;color:#082b50;border:1px solid #ddd;border-radius:50%;font-size:28px;cursor:pointer;display:grid;place-items:center;padding:0}.adc-shorts-left{left:0}.adc-shorts-right{right:0}
body.adc-shorts-page{margin:0!important;background:#101010!important;color:#fff!important;font-family:Inter,Arial,sans-serif;overflow-x:hidden}
.adc-shorts-page *{box-sizing:border-box}.adc-shorts-page a{color:inherit;text-decoration:none}.adc-shorts-page button{font:inherit;cursor:pointer}.adc-shorts-page button:focus-visible,.adc-shorts-page a:focus-visible,.adc-short-card:focus-visible{outline:3px solid #65bcff;outline-offset:3px}
.adc-short-top{height:60px;display:flex;justify-content:space-between;align-items:center;padding:0 24px;background:#082b50;color:#fff;position:relative;z-index:3}.adc-short-top .adc-short-back{font-weight:700;font-size:22px}.adc-short-top>a:last-child{font-size:14px}
.adc-short-viewer{position:relative;min-height:calc(100vh - 60px);min-height:calc(100dvh - 60px);display:flex;align-items:center;justify-content:center;gap:24px;padding:12px 80px}
.adc-short-info{width:250px;max-height:70vh;overflow:auto}.adc-short-info>span{font-size:12px;color:#bbb}.adc-short-info h1{font-size:24px;line-height:1.4;color:#fff;margin:12px 0}.adc-short-info p{font-size:14px;line-height:1.6}.adc-short-info .adc-short-disclosure{font-size:11px;color:#bbb}
.adc-short-player{height:calc(100vh - 90px);height:calc(100dvh - 90px);max-width:55vw;aspect-ratio:9/16;background:#000;border-radius:12px;overflow:hidden;flex-shrink:0}.adc-short-player iframe{width:100%;height:100%;border:0;display:block}
.adc-short-actions{display:flex;flex-direction:column;gap:16px;align-items:center;width:76px}.adc-short-actions button,.adc-short-actions>a{border:0;background:transparent;color:white;display:flex;align-items:center;flex-direction:column;gap:5px;text-align:center;padding:0}.adc-short-actions span:not(.adc-short-feedback){width:46px;height:46px;background:#292929;border-radius:50%;display:grid;place-items:center;font-size:25px}.adc-short-actions small{font-size:11px}.adc-short-actions button[aria-pressed=true] span{background:#b21d33}.adc-short-actions button:disabled{opacity:.5}.adc-short-feedback{font-size:11px;max-width:90px}
.adc-short-navigation{position:absolute;right:20px;top:40%;display:flex;flex-direction:column;gap:12px}.adc-short-navigation a{background:#292929;border-radius:50%;width:44px;height:44px;display:grid;place-items:center;font-size:28px}.adc-short-swipe{display:none}
.adc-short-comments[hidden]{display:none!important}.adc-short-comments{position:fixed;z-index:10001;right:0;top:60px;bottom:0;width:min(420px,100%);padding:24px;background:#fff;color:#222;overflow:auto;box-shadow:-8px 0 30px #0006}.adc-short-comments>button{float:right;border:0;background:#eee;color:#222;font-size:28px;width:36px;height:36px;border-radius:50%}.adc-short-comments h2{font-size:20px;color:#082b50}.adc-short-comments p{font-size:13px;line-height:1.6}.adc-short-comments .comment-list,.adc-short-comment-list{padding-left:18px}.adc-short-comments input:not([type=checkbox]),.adc-short-comments textarea{max-width:100%;width:100%;padding:10px;background:#fff;border:1px solid #ccc;color:#222}.adc-short-comments input[type=submit]{background:#082b50;color:white}.adc-short-comments .comment-body{margin-bottom:20px}.adc-short-comments .avatar{width:32px;height:32px;border-radius:50%}.adc-short-comments .comment-metadata{font-size:11px;color:#666}
.adc-short-archive{max-width:1070px;margin:auto;padding:28px 24px}.adc-short-archive h1{color:white}.adc-short-archive-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.adc-shorts-page #adc-latest-news-button{display:none!important}
@media(max-width:767px){
.adc-shorts-widget .widget-header .widget-title{font-size:var(--adc-shorts-title-mobile,22px)!important}.adc-shorts-widget .adc-short-card{flex-basis:43%}.adc-short-card-title{font-size:var(--adc-shorts-size-mobile,14px);left:10px;right:10px;bottom:12px}.adc-shorts-track{gap:10px}.adc-shorts-left{display:none}.adc-shorts-arrow{width:28px;height:32px}
.adc-short-top{height:48px;padding:0 14px}.adc-short-top .adc-short-back{font-size:18px}.adc-short-viewer{padding:0;gap:0;min-height:calc(100dvh - 48px);display:block}.adc-short-player{height:calc(100vh - 48px);height:calc(100dvh - 48px);max-width:calc(100% - 64px);width:min(calc(100% - 64px),calc((100dvh - 48px)*9/16));height:auto;aspect-ratio:9/16;margin:0 64px 0 auto;border-radius:0}
.adc-short-info{position:relative;width:100%;max-height:none;padding:18px 70px 20px 16px;background:#101010}.adc-short-info h1{font-size:17px}.adc-short-viewer{display:flex;flex-direction:column;align-items:stretch}.adc-short-player{order:0}.adc-short-info{order:2}.adc-short-actions{position:fixed;z-index:2;right:6px;bottom:120px;gap:14px;width:58px}.adc-short-actions span:not(.adc-short-feedback){width:40px;height:40px;background:#171717e8;font-size:23px}.adc-short-actions small{text-shadow:0 1px 3px #000}.adc-short-navigation{position:fixed;z-index:2;right:12px;top:64px;gap:10px}.adc-short-navigation a{width:34px;height:34px;font-size:24px;background:#222d}.adc-short-comments{top:48px}.adc-short-archive-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.adc-short-swipe{display:block;order:1;text-align:center;padding:12px 65px 12px 10px;font-size:11px;color:#bbb}
}

.adc-shorts-page.admin-bar .adc-short-top{margin-top:32px}.adc-shorts-page.admin-bar .adc-short-comments{top:92px}@media(max-width:782px){.adc-shorts-page.admin-bar .adc-short-top{margin-top:46px}.adc-shorts-page.admin-bar .adc-short-comments{top:94px}}
/* Native vertical scrolling, with one active YouTube player and recycled neighbors. */
body.adc-shorts-stream{overflow:hidden!important}
.adc-short-feed{height:var(--adc-short-stage-height,calc(100dvh - 60px));overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;scroll-snap-type:y mandatory;scrollbar-width:thin;scrollbar-color:#555 #101010}
.adc-short-feed>.adc-short-viewer,.adc-short-step{height:var(--adc-short-stage-height);min-height:var(--adc-short-stage-height);scroll-snap-align:start;scroll-snap-stop:always}
.adc-short-step{display:grid;place-items:center;color:#bbb;font-size:16px;background:#101010}.adc-short-step[hidden]{display:none!important}
.adc-short-feed .adc-short-player{height:calc(var(--adc-short-stage-height) - 24px)}
.adc-short-feed .adc-short-info{max-height:calc(var(--adc-short-stage-height) - 40px);overscroll-behavior-y:contain}
.adc-short-feed.adc-short-comments-open{overflow-y:hidden}
@media(max-width:767px){
.adc-short-feed>.adc-short-viewer{overflow:hidden;justify-content:flex-start}
.adc-short-feed .adc-short-player{height:auto;flex:0 0 auto;width:min(calc(100% - 64px),calc((var(--adc-short-stage-height) - 126px)*9/16));max-height:calc(var(--adc-short-stage-height) - 126px)}
.adc-short-feed .adc-short-info{max-height:100px;min-height:0;padding:6px 70px 10px 14px;overflow:auto;flex:1 1 auto}
.adc-short-feed .adc-short-info h1{font-size:15px;margin:4px 0;line-height:1.35}.adc-short-feed .adc-short-info>span{font-size:10px}.adc-short-feed .adc-short-info p{font-size:12px}
.adc-short-feed .adc-short-swipe{font-size:10px;padding:8px 62px 8px 10px;flex-shrink:0}
}

.adc-short-feed.adc-short-settling{overflow-y:hidden;scroll-snap-type:none}
/* WordPress already reserves the admin toolbar height on the html element. */
body.adc-shorts-page.admin-bar .adc-short-top{margin-top:0}

/* Compact mobile viewer: centered player, independent horizontal actions. */
.adc-short-detail-toggle{display:none}
@media(max-width:767px){
.adc-short-top{height:44px;padding:0 12px}.adc-short-top .adc-short-back{font-size:16px}.adc-short-top>a:last-child{font-size:12px}
.adc-short-feed>.adc-short-viewer{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto auto calc(34px + env(safe-area-inset-bottom,0px));gap:0;padding:0;align-items:stretch}
.adc-short-feed .adc-short-player{grid-column:1;grid-row:1;order:0;position:relative;width:auto;max-width:100%;height:100%;max-height:100%;min-height:0;aspect-ratio:9/16;justify-self:center;margin:0 auto;border-radius:0;flex:none}
.adc-short-feed .adc-short-info{grid-column:1;grid-row:2;order:1;width:100%;max-height:76px;min-height:0;overflow:hidden;padding:8px 14px;background:#101010;flex:none}
.adc-short-feed .adc-short-info h1{font-size:14px;line-height:1.4;margin:0 54px 0 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.adc-short-feed .adc-short-info>span,.adc-short-feed .adc-short-description,.adc-short-feed .adc-short-disclosure{display:none}
.adc-short-detail-toggle{display:block;float:right;font-size:11px!important;color:#ddd;background:#292929;border:1px solid #444;border-radius:5px;padding:5px 7px;line-height:1.25}
.adc-short-feed .adc-short-info.adc-short-info-expanded{max-height:160px;overflow:auto}
.adc-short-feed .adc-short-info-expanded h1{display:block;-webkit-line-clamp:unset;overflow:visible}
.adc-short-feed .adc-short-info-expanded>span{display:block;font-size:10px;margin-bottom:5px}
.adc-short-feed .adc-short-info-expanded .adc-short-description,.adc-short-feed .adc-short-info-expanded .adc-short-disclosure{display:block}
.adc-short-feed .adc-short-actions{grid-column:1;grid-row:3;order:2;position:static;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:center;width:100%;gap:0;padding:6px 8px;background:#191919;border-top:1px solid #303030;z-index:auto}
.adc-short-feed .adc-short-actions button,.adc-short-feed .adc-short-actions>a{min-width:0;gap:2px;flex-direction:column;padding:0 2px}
.adc-short-feed .adc-short-actions span:not(.adc-short-feedback){width:28px;height:28px;font-size:22px;background:transparent;border-radius:0}
.adc-short-feed .adc-short-actions svg{width:21px;height:21px}
.adc-short-feed .adc-short-actions small{font-size:10px;line-height:1.2;white-space:nowrap;text-shadow:none}
.adc-short-feed .adc-short-actions button[aria-pressed=true] span{color:#ff6d83;background:transparent}
.adc-short-feed .adc-short-feedback{grid-column:1/-1;max-width:none;text-align:center;font-size:10px;line-height:1.3;margin-top:4px}
.adc-short-feed .adc-short-feedback:empty{display:none}
.adc-short-feed .adc-short-navigation{grid-column:1;grid-row:4;order:3;position:static;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:14px;min-height:calc(34px + env(safe-area-inset-bottom,0px));background:#101010;padding-bottom:env(safe-area-inset-bottom,0px)}
.adc-short-feed .adc-short-navigation:before{content:'Video lainnya';font-size:10px;color:#aaa;order:0}
.adc-short-feed .adc-short-navigation a{width:28px;height:28px;font-size:21px;line-height:1;background:#252525}
.adc-short-feed .adc-short-navigation [data-adc-prev]{order:-1}.adc-short-feed .adc-short-navigation [data-adc-next]{order:1}
.adc-short-feed .adc-short-swipe{display:none}
.adc-short-comments{top:44px}.adc-shorts-page.admin-bar .adc-short-comments{top:90px}
}

/* Mobile full-width stage; controls no longer shrink the video column. */
@media(max-width:767px){
.adc-short-feed>.adc-short-viewer{display:block;position:relative;padding:0;isolation:isolate}
.adc-short-feed .adc-short-player{position:absolute;inset:0;width:100%;max-width:none;height:100%;max-height:none;aspect-ratio:auto;margin:0;border-radius:0;z-index:0}
.adc-short-feed .adc-short-player iframe{width:100%;height:100%}
.adc-short-feed .adc-short-info{position:absolute;left:0;right:62px;bottom:calc(42px + env(safe-area-inset-bottom,0px));width:auto;max-height:90px;padding:12px;background:linear-gradient(transparent,#000c);z-index:2;text-shadow:0 1px 3px #000}
.adc-short-feed .adc-short-info h1{font-size:14px;margin:0 0 6px;line-height:1.4}
.adc-short-detail-toggle{float:none;margin-bottom:6px;background:#161616d9}
.adc-short-feed .adc-short-info.adc-short-info-expanded{max-height:min(55%,280px);overflow:auto;background:#101010f2}
.adc-short-feed .adc-short-actions{position:absolute;right:4px;bottom:calc(46px + env(safe-area-inset-bottom,0px));width:54px;display:flex;flex-direction:column;gap:12px;padding:8px 2px;background:#101010b3;border:0;border-radius:12px;z-index:2}
.adc-short-feed .adc-short-actions button,.adc-short-feed .adc-short-actions>a{width:100%;text-shadow:0 1px 3px #000}
.adc-short-feed .adc-short-navigation{position:absolute;top:auto;left:0;right:0;bottom:0;width:100%;background:#101010df;z-index:2}
.adc-short-feed .adc-short-comments{z-index:10001}
}
