/* A native vertical feed, confined to the Shorts route. */
body:has([data-shorts-view]){overflow:hidden;background:#164b8d}
body:has([data-shorts-view])>.footer,body:has([data-shorts-view]) footer.footer{display:none}
body:has([data-shorts-view]) #main{padding:0;margin:0;width:100%;max-width:none;min-height:0}
body:has([data-shorts-view]) .header{position:relative;z-index:30}
body:has([data-shorts-view]) .header-inner{padding-block:7px}
body:has([data-shorts-view]) .brand img{width:115px;height:48px}
body:has([data-shorts-view]) .header nav a{padding-block:9px}
.daawah-shorts{--shorts-header-height:64px;--shorts-view-height:calc(100dvh - var(--shorts-header-height));height:var(--shorts-view-height);position:relative;background:#164b8d;color:#f6f9fd;isolation:isolate;overflow:hidden;padding:0;margin:0}
.shorts-feed{height:100%;width:100%;overflow-y:auto;overflow-x:hidden;scroll-snap-type:y mandatory;scroll-padding:0;overscroll-behavior-y:contain;scrollbar-width:none;scroll-behavior:auto;outline:0}
.shorts-feed::-webkit-scrollbar{display:none}
.shorts-slide{height:100%;min-height:0;margin:0;padding:10px 60px;scroll-snap-align:start;scroll-snap-stop:always;display:flex;align-items:center;justify-content:center;contain:layout style;position:relative}
.shorts-card-inner{display:flex;flex-direction:column;gap:5px;width:min(calc((var(--shorts-view-height) - 68px)*9/16),calc(100vw - 120px));max-width:100%;margin:0}
.shorts-screen{position:relative;width:100%;aspect-ratio:9/16;border-radius:12px;background:#06121e;overflow:hidden;box-shadow:0 8px 30px #0c2c5633;flex:none}
.shorts-poster,.shorts-player-mount{position:absolute;inset:0;background:#102e53}
.shorts-poster{z-index:1;display:grid;place-items:center}
.shorts-poster[hidden]{display:none}
.shorts-player-mount:empty{display:none}
.shorts-poster-image{width:100%;height:100%;object-fit:cover;display:block;opacity:.85;transform:none!important;animation:none!important}
.shorts-poster-image[hidden]{display:none}
.shorts-poster.without-image{background:linear-gradient(155deg,#356fae,#123d70)}
.shorts-player-mount iframe{width:100%;height:100%;display:block;border:0;background:#000}
.shorts-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;align-items:center;flex-direction:column;gap:12px;background:transparent!important;color:#fff!important;border:0;padding:8px;cursor:pointer;max-width:94%;white-space:nowrap;font:inherit;font-size:15px}
.shorts-play>svg{width:66px;height:66px;background:#f2f7fd;color:#164b8d;border-radius:50%;padding:20px;box-shadow:0 4px 20px #0004}
.shorts-play>span{background:#10375edb;border:1px solid #9ab9db66;border-radius:20px;padding:5px 13px;line-height:1.4}
.shorts-caption{display:flex;align-items:center;gap:8px;width:100%;min-height:43px;max-height:43px}
.shorts-caption-copy{flex:1;min-width:0;text-align:right}
.shorts-title{font-size:14px;font-weight:500;line-height:1.45;color:#f1f6fc;margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:100%}
.shorts-channel{display:inline-block;direction:ltr;color:#c8dbf2!important;font-size:11px;line-height:1.3;text-decoration:none!important}
.shorts-youtube,.shorts-restart{display:grid;place-items:center;width:36px;height:40px;flex:none;background:transparent!important;color:#dfecfb!important;border:0!important;padding:0;text-decoration:none!important}
.shorts-youtube svg,.shorts-restart svg{width:18px;height:18px}
.shorts-restart[hidden]{display:none}
.shorts-controls{position:absolute;left:calc(50% - min(calc((var(--shorts-view-height) - 68px)*9/32),calc((100vw - 120px)/2)) - 68px);top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:14px;z-index:5}
.shorts-controls[hidden]{display:none}
.shorts-controls button{display:grid;place-items:center;width:46px;height:46px;padding:0;border:1px solid #c4dcfa66!important;background:#ffffff14!important;color:#f4f8fe!important;border-radius:50%;cursor:pointer;box-shadow:none!important}
.shorts-controls button:hover:not(:disabled){background:#ffffff2b!important;border-color:#dcecff!important}
.shorts-controls button:disabled{opacity:.25;cursor:default}
.shorts-controls svg{width:22px;height:22px}
.daawah-shorts :is(button,a,[tabindex]):focus-visible{outline:3px solid #d5e8ff!important;outline-offset:3px}
.shorts-feed:focus-visible{outline-offset:-4px!important}
.shorts-sr{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
.shorts-empty{max-width:520px;margin:40px auto;padding:24px;text-align:center;color:white}
.shorts-empty a{text-decoration:underline}
@media(max-width:650px){body:has([data-shorts-view]) .header-inner{padding:6px 12px;gap:8px}body:has([data-shorts-view]) .brand img{width:96px;height:44px}.shorts-slide{padding:8px 12px 64px}.shorts-card-inner{width:min(calc((var(--shorts-view-height) - 110px)*9/16),calc(100vw - 24px))}.shorts-screen{border-radius:10px}.shorts-controls{left:12px;top:auto;bottom:10px;transform:none;flex-direction:row;gap:10px}.shorts-controls button{width:44px;height:44px}.shorts-caption{min-height:39px;max-height:39px}.shorts-title{font-size:13px}.shorts-channel{font-size:10px}.shorts-play>svg{width:60px;height:60px;padding:18px}}
@media(prefers-reduced-motion:reduce){.shorts-feed{scroll-behavior:auto!important}.daawah-shorts *{animation:none!important;transition:none!important}}

