/* Video news refinements and immersive Shorts; the dialog remains above its backdrop. */
.asi99-page{padding-top:25px;background:linear-gradient(180deg,#f7f8fb,#f5f7fa 420px)}
.asi99-category-nav{margin-bottom:27px}
.asi99-kicker{width:max-content;padding:5px 8px;background:#fff0f3;border:1px solid #f6e1e7;border-radius:6px;color:#bd2445;letter-spacing:.08em;font-size:9px}
.asi99-section-heading h2{margin-top:8px}
.asi100-queue-label{display:inline-flex;align-items:center;gap:6px;line-height:1;border:1px solid #ecdfe5;border-radius:7px;background:#fff3f6;padding:6px 8px;color:#b82142!important;letter-spacing:.025em!important;text-transform:none}
.asi100-queue-label svg{width:14px;height:14px;flex:none}
.asi99-queue-head>span{width:auto;min-width:52px;padding:0 9px;color:#7c899b;font-weight:700;background:#edf1f6}
.asi99-feature-info.asi100-story{display:block;padding:24px 27px 22px;background:linear-gradient(140deg,#fff 55%,#fafbfe)}
.asi100-story-top{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.asi100-story .asi99-feature-category{padding:5px 9px;border:1px solid #f4dce3;border-radius:6px;color:#bd2345;background:#fff0f4;font-size:10px;letter-spacing:.025em;text-transform:none}
.asi100-story-format{display:inline-flex;align-items:center;gap:5px;color:#93a0b1;font-size:11px;font-weight:650}
.asi100-story svg{width:14px;height:14px;flex:none}
.asi100-story h3{margin:12px 0 18px;font-size:clamp(19px,2vw,26px);line-height:1.32;letter-spacing:-.025em;color:#24364e;font-weight:800}
.asi100-story-bottom{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid #edf0f5;padding-top:14px}
.asi100-story-byline{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:11px;color:#8896a8}
.asi100-story-publisher{color:#65768d;font-weight:750}
.asi100-story-date[hidden]{display:none}.asi100-story-date{display:inline-flex;align-items:center;gap:5px;color:#95a0ae}
.asi100-story-bottom a{margin:0;display:inline-flex;align-items:center;gap:7px;border-radius:9px;border:1px solid #ecedf2;background:#fff;color:#b41e3e;padding:9px 12px;box-shadow:0 3px 10px #1c304a06;font-size:11px;font-weight:800}
.asi100-story-bottom a:hover{border-color:#e8b8c4;background:#fff6f8}
.asi99-interests summary{justify-content:space-between;gap:14px;min-height:44px;padding:9px 11px 9px 13px}
.asi100-interest-label{display:inline-flex;align-items:center;gap:7px;line-height:1.2}
.asi100-interest-label>svg{width:16px;height:16px;flex:none}
.asi100-disclosure-icon{display:grid;place-items:center;flex:none;width:25px;height:25px;border:1px solid #f0dce2;border-radius:8px;background:#fff5f7;transition:transform .2s}
.asi100-disclosure-icon>svg{width:15px;height:15px;display:block}
.asi99-interests[open] .asi100-disclosure-icon{transform:rotate(180deg)}
.asi100-shorts{margin-top:45px;margin-bottom:52px}
.asi100-shorts-heading{display:flex;align-items:center;gap:24px;margin-bottom:27px}
.asi100-shorts-heading h2{margin:0;font-size:29px;line-height:1.15;letter-spacing:-.04em;color:#17283e;font-weight:900}
.asi100-shorts-heading>span{flex:1;height:9px;background:#17283e;clip-path:polygon(0 0,100% 0,calc(100% - 6px) 100%,0 100%)}
.asi100-shorts-track{display:grid;grid-auto-flow:column;grid-auto-columns:calc(20% - 12.8px);gap:16px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;padding:0 0 2px}
.asi100-shorts-track::-webkit-scrollbar{display:none}
.asi100-short-card{min-width:0;scroll-snap-align:start}
.asi100-short-card>a{position:relative;display:block;aspect-ratio:9/16;overflow:hidden;border-radius:9px;background:#0b111b;border-left:4px solid #d31b3c;color:#fff;text-decoration:none;box-shadow:0 7px 19px #192c4210}
.asi100-short-card img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s}
.asi100-short-card>a:after{position:absolute;inset:55% 0 0;content:'';background:linear-gradient(180deg,transparent 0,#060b103a 30%,#06090ee6 100%)}
.asi100-short-card>a:hover img{transform:scale(1.035)}
.asi100-short-brand{position:absolute;z-index:1;top:13px;left:11px;max-width:calc(100% - 58px);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding:5px 7px;border-radius:4px;background:#c71c3ee8;color:#fff;font-size:9px;font-weight:850;letter-spacing:.02em}
.asi100-short-play{position:absolute;z-index:1;top:11px;right:10px;display:grid;place-items:center;width:29px;height:29px;border-radius:50%;border:1px solid #ffffff80;background:#0c14224d;color:#fff}
.asi100-short-play svg{width:13px;height:13px;margin-left:2px}
.asi100-short-caption{position:absolute;z-index:1;inset:auto 13px 23px;display:grid;gap:8px}
.asi100-short-caption small{color:#ffcad6;font-size:9px;letter-spacing:.08em;text-transform:uppercase;font-weight:800}
.asi100-short-caption strong{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;font-size:clamp(14px,1.35vw,18px);line-height:1.25;letter-spacing:-.025em;text-transform:uppercase;font-weight:900;color:#fff}
.asi100-short-fallback{display:grid;place-items:center;height:100%;background:linear-gradient(145deg,#263e5c,#902847);color:#ffffffb8;font-weight:900;letter-spacing:.1em;font-size:18px}
.asi100-carousel-controls{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:23px}
.asi100-carousel-controls[hidden]{display:none}
.asi100-carousel-controls>button{display:grid;place-items:center;flex:none;width:32px;height:32px;padding:0;border:0;border-radius:50%;background:transparent;color:#203049;cursor:pointer}
.asi100-carousel-controls>button:disabled{opacity:.3;cursor:default}
.asi100-carousel-controls>button svg{width:19px;height:19px}
.asi100-carousel-dots{display:flex;align-items:center;justify-content:center;gap:0;max-width:320px;overflow:auto;scrollbar-width:none}
.asi100-carousel-dot{display:grid;place-items:center;width:25px;height:30px;flex:none;border:0;padding:0;background:transparent;cursor:pointer}
.asi100-carousel-dot:before{content:'';width:9px;height:9px;border-radius:50%;background:#c5cad1}
.asi100-carousel-dot.is-active:before{background:#15263c}
.asi100-shorts :focus-visible,.asi100-viewer :focus-visible{outline:3px solid #e02d55;outline-offset:3px}
@media(max-width:1000px){.asi100-shorts-track{grid-auto-columns:calc(25% - 12px)}}
@media(max-width:700px){.asi100-shorts{margin-top:32px;margin-bottom:36px}.asi100-shorts-heading{gap:18px;margin-bottom:20px}.asi100-shorts-heading h2{font-size:25px}.asi100-shorts-heading>span{height:7px}.asi100-shorts-track{grid-auto-columns:calc(33.333333% - 8px);gap:12px}.asi100-short-caption{inset:auto 10px 18px}.asi100-story-bottom{align-items:flex-start}.asi100-story-byline{display:grid;gap:6px}.asi99-feature-info.asi100-story{padding:19px}.asi100-story h3{font-size:19px;margin:11px 0 16px}}
@media(max-width:560px){.asi100-shorts-track{grid-auto-columns:calc(46.511628% - 5.581395px)}.asi100-short-caption strong{font-size:14px}.asi100-short-brand{font-size:8px;padding:4px 5px}.asi100-carousel-controls{margin-top:15px}.asi100-short-play{width:25px;height:25px}.asi100-story-bottom a{padding:9px 10px;font-size:10px}}
@media(prefers-reduced-motion:reduce){.asi100-short-card img,.asi100-disclosure-icon{transition:none}.asi100-short-card>a:hover img{transform:none}}

/* Shared home rail: portrait stories and a newspaper-style heading rule. */
.asi45-shorts.asi100-shorts-home{padding:0;background:transparent;color:#17283e;margin-top:42px;margin-bottom:48px;font-family:inherit}
.asi100-shorts-home .asi42-container{width:calc(100% - 40px);max-width:1320px;margin-inline:auto}
.asi100-shorts-home .asi100-shorts-heading{gap:24px;margin:0 0 25px;padding:0;border:0}
.asi100-shorts-home .asi100-shorts-heading h2{margin:0;color:#142033;font-size:30px;font-weight:900;letter-spacing:-.045em;line-height:1.2}
.asi100-shorts-home .asi100-shorts-heading>span{height:8px;min-width:35px;background:#17283e}
.asi100-shorts-home .asi100-shorts-track{margin:0;padding:0 0 3px;gap:16px;grid-auto-columns:calc(20% - 12.8px)}
.asi100-shorts-home .asi100-short-card{margin:0;padding:0;min-width:0;border:0;background:transparent}
.asi100-shorts-home .asi100-short-card>a{width:100%;min-width:0;height:auto;aspect-ratio:9/16;border-radius:9px;border-left:3px solid #c7193b;isolation:isolate}
.asi100-shorts-home .asi100-short-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.asi100-shorts-home .asi100-short-caption{inset:auto 14px 24px;display:grid;gap:7px;color:#fff;text-align:left;max-width:calc(100% - 28px)}
.asi100-shorts-home .asi100-short-caption strong{position:static;display:-webkit-box;margin:0;padding:0;background:none;color:#fff;font-size:clamp(15px,1.3vw,19px);font-weight:900;line-height:1.25;letter-spacing:-.025em;text-transform:uppercase;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.asi100-shorts-home .asi100-short-caption small{font-size:9px;font-weight:800;letter-spacing:.08em;color:#ffc9d6}
.asi100-shorts-home .asi59-video-note,.asi100-shorts-note{font-size:11px;line-height:1.6;color:#7a8696;margin:-12px 0 18px}
.asi100-shorts [hidden]{display:none!important}
.asi100-short-card img{background:#142033}
@media(max-width:1000px){.asi100-shorts-home .asi100-shorts-track{grid-auto-columns:calc(25% - 12px)}}
@media(max-width:700px){.asi45-shorts.asi100-shorts-home{margin-top:30px;margin-bottom:34px}.asi100-shorts-home .asi42-container{width:calc(100% - 28px)}.asi100-shorts-home .asi100-shorts-heading{gap:17px;margin-bottom:20px}.asi100-shorts-home .asi100-shorts-heading h2{font-size:26px}.asi100-shorts-home .asi100-shorts-heading>span{height:6px}.asi100-shorts-home .asi100-shorts-track{gap:12px;grid-auto-columns:calc(33.333333% - 8px)}}
@media(max-width:560px){.asi100-shorts-home .asi100-shorts-track{grid-auto-columns:calc(46.511628% - 5.581395px)}.asi100-shorts-home .asi100-short-caption{inset:auto 11px 20px;max-width:calc(100% - 22px)}.asi100-shorts-home .asi100-short-caption strong{font-size:14px}}
@media(min-width:1001px){.asi100-shorts-home[data-short-columns="4"] .asi100-shorts-track{grid-auto-columns:calc(25% - 12px)}.asi100-shorts-home[data-short-columns="6"] .asi100-shorts-track{grid-auto-columns:calc(16.666667% - 13.333333px)}}

/* One immersive Shorts viewer on the home page, video hub and embedded collections. */
html:has(dialog.asi217-viewer[open]) { overflow:hidden; }
dialog.asi217-viewer {
    --reel-bg:#0b111c;
    --reel-panel:#151f2d;
    --reel-text:#f4f7fc;
    --reel-muted:#b7c3d5;
    --reel-line:#344358;
    --reel-accent:#ff6e8c;
    position:fixed;
    inset:0;
    box-sizing:border-box;
    width:min(730px, calc(100vw - 32px));
    height:min(930px, calc(100vh - 28px));
    height:min(930px, calc(100dvh - 28px));
    max-width:none;
    max-height:none;
    margin:auto;
    padding:0;
    overflow:hidden;
    overscroll-behavior:contain;
    border:1px solid var(--reel-line);
    border-radius:22px;
    background:var(--reel-bg);
    color:var(--reel-text);
    box-shadow:0 24px 100px #030710b3;
    font:inherit;
}
dialog.asi217-viewer[data-desktop="compact"] { width:min(560px,calc(100vw - 28px)); }
dialog.asi217-viewer:not([open]), .asi217-viewer [hidden] { display:none !important; }
.asi217-viewer::backdrop { background:#050911db; backdrop-filter:blur(8px); }
.asi217-viewer :focus-visible { outline:2px solid var(--reel-accent); outline-offset:2px; }
.asi217-viewer-shell {
    display:grid;
    grid-template-rows:auto auto minmax(0,1fr) auto auto;
    grid-template-areas:"top" "filters" "main" "comments" "status";
    height:100%;
    min-height:0;
    overflow:hidden;
}
.asi217-viewer .asi100-viewer-top {
    grid-area:top;
    position:relative;
    z-index:2;
    display:flex;
    align-items:center;
    gap:9px;
    min-height:62px;
    box-sizing:border-box;
    padding:10px 14px;
    border-block-end:1px solid var(--reel-line);
    background:linear-gradient(135deg,#222a3b,var(--reel-bg));
}
.asi217-reel-identity { flex:1 1 auto; display:grid; gap:2px; min-width:0; }
.asi217-reel-identity .asi100-viewer-label {
    overflow:hidden;
    color:var(--reel-text);
    font-size:12px;
    font-weight:850;
    letter-spacing:.075em;
    white-space:nowrap;
    text-overflow:ellipsis;
}
.asi217-reel-identity small { overflow:hidden; color:var(--reel-muted); font-size:11px; text-overflow:ellipsis; white-space:nowrap; }
.asi217-viewer .asi100-viewer-counter {
    flex:none;
    margin-inline-end:2px;
    font-size:12px;
    font-weight:720;
    font-variant-numeric:tabular-nums;
    color:var(--reel-muted);
    white-space:nowrap;
}
.asi217-viewer :is(.asi217-top-button,.asi100-viewer-close,.asi100-viewer-step) {
    display:grid;
    place-items:center;
    box-sizing:border-box;
    flex:none;
    width:44px;
    height:44px;
    padding:0;
    border:1px solid var(--reel-line);
    border-radius:11px;
    background:var(--reel-panel);
    color:var(--reel-text);
    cursor:pointer;
}
.asi217-viewer :is(.asi217-top-button,.asi100-viewer-close,.asi100-viewer-step,.asi217-reel-action) svg { width:22px; height:22px; flex:none; }
.asi217-viewer .asi100-viewer-close { background:#392133; border-color:#78394f; }
.asi217-viewer :is(button):not(:disabled):hover { border-color:var(--reel-accent); }
.asi217-viewer :is(button):disabled { opacity:.35; cursor:default; }
.asi217-viewer .asi217-top-button[aria-expanded="true"] { color:var(--reel-accent); border-color:var(--reel-accent); }
.asi217-reel-filters {
    grid-area:filters;
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    padding:10px 13px;
    border-block-end:1px solid var(--reel-line);
    background:var(--reel-panel);
}
.asi217-reel-filters button {
    min-height:44px;
    padding:6px 11px;
    border:1px solid var(--reel-line);
    border-radius:999px;
    background:var(--reel-bg);
    color:var(--reel-text);
    font:inherit;
    font-size:12px;
    font-weight:690;
    cursor:pointer;
}
.asi217-reel-filters button[aria-pressed="true"] { border-color:var(--reel-accent); color:var(--reel-accent); background:#362139; }
.asi217-reel-main {
    grid-area:main;
    display:grid;
    grid-template-columns:minmax(0,1fr) 68px;
    justify-content:center;
    box-sizing:border-box;
    min-height:0;
    width:min(100%,590px);
    margin-inline:auto;
    background:var(--reel-bg);
}
.asi217-viewer .asi100-viewer-feed {
    min-width:0;
    min-height:0;
    height:100%;
    overflow:auto;
    overflow-x:hidden;
    overscroll-behavior:contain;
    scroll-snap-type:y mandatory;
    scrollbar-width:none;
    touch-action:pan-y;
}
.asi217-viewer .asi100-viewer-feed::-webkit-scrollbar { display:none; }
.asi217-viewer .asi100-viewer-feed:focus-visible { outline-offset:-2px; }
.asi217-viewer .asi100-viewer-slide {
    box-sizing:border-box;
    height:100%;
    min-height:100%;
    min-width:0;
    display:flex;
    justify-content:center;
    padding:12px 4px 0 12px;
    scroll-snap-align:start;
    scroll-snap-stop:always;
}
.asi217-viewer .asi100-viewer-card {
    display:grid;
    grid-template-rows:minmax(0,1fr) auto;
    box-sizing:border-box;
    width:100%;
    min-width:0;
    height:100%;
    min-height:0;
    overflow:hidden;
    border:1px solid var(--reel-line);
    border-block-end:0;
    border-radius:15px 15px 0 0;
    background:var(--reel-panel);
}
.asi217-viewer .asi100-viewer-player {
    position:relative;
    min-width:0;
    min-height:0;
    width:100%;
    height:100%;
    overflow:hidden;
    background:#070b11;
}
.asi217-viewer .asi100-viewer-player :is(video,iframe) {
    display:block;
    width:100%;
    height:100%;
    border:0;
    object-fit:contain;
    background:#070b11;
}
.asi217-viewer .asi100-viewer-player video { touch-action:pan-y; }
.asi217-viewer .asi100-viewer-poster { display:block; width:100%; height:100%; object-fit:cover; }
.asi217-viewer .asi100-viewer-placeholder { display:grid; place-items:center; height:100%; color:#bacbdc; background:linear-gradient(145deg,#263e54,#342339); font-weight:850; }
.asi217-viewer .asi100-viewer-caption {
    position:relative;
    display:grid;
    align-content:center;
    gap:3px;
    min-width:0;
    padding:12px 12px 8px;
    border-block-start:1px solid #202937;
    background:linear-gradient(0deg,#131c2a,#0b1118);
    color:var(--reel-text);
}
.asi217-viewer .asi100-viewer-source { color:var(--reel-accent); font-size:10px; font-weight:750; }
.asi217-viewer .asi100-viewer-caption h2 {
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
    margin:0;
    color:var(--reel-text);
    font-size:clamp(14px,2.25vw,21px);
    font-weight:760;
    line-height:1.25;
    overflow-wrap:anywhere;
}
.asi217-viewer .asi100-viewer-source-link {
    display:inline-flex;
    align-items:center;
    justify-self:start;
    min-height:34px;
    color:var(--reel-muted);
    font-size:12px;
    font-weight:680;
    text-decoration:none;
}
.asi217-reel-rail {
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:clamp(8px,1.3vh,14px);
    min-height:0;
    padding:9px 5px;
    touch-action:none;
}
.asi217-reel-actions { display:grid; justify-items:center; gap:clamp(5px,1.1vh,10px); position:relative; }
.asi217-reel-action {
    display:grid;
    justify-items:center;
    align-content:center;
    gap:3px;
    width:54px;
    min-height:51px;
    padding:5px 2px;
    border:1px solid var(--reel-line);
    border-radius:12px;
    background:var(--reel-panel);
    color:var(--reel-text);
    font:inherit;
    font-size:10px;
    font-weight:700;
    cursor:pointer;
}
.asi217-viewer .asi217-reel-action:is([aria-pressed="true"],[aria-expanded="true"]) {
    background:#382036;
    border-color:#d35b7a;
    color:var(--reel-accent);
}
.asi217-viewer [data-video-library-action][aria-pressed="true"] svg { fill:currentColor; }
.asi217-reel-comments {
    grid-area:comments;
    min-width:0;
    max-height:290px;
    max-height:min(34dvh,290px,max(110px,calc(100dvh - 350px)));
    overflow:auto;
    overscroll-behavior:contain;
    padding:9px 15px 13px;
    border-block-start:1px solid var(--reel-line);
    background:#141f2d;
}
.asi217-reel-comments header { display:flex; justify-content:space-between; align-items:center; gap:10px; }
.asi217-reel-comments header h2 { margin:0; color:var(--reel-text); font-size:18px; font-weight:760; }
.asi219-reel-share .asi219-share-title { margin:6px 0 10px;color:var(--reel-muted);font-size:13px;overflow-wrap:anywhere; }
.asi219-share-row { display:flex;align-items:stretch;gap:7px; }
.asi219-share-row input { flex:1;min-width:0;width:100%;min-height:44px;padding:8px 10px;box-sizing:border-box;border:1px solid var(--reel-line);border-radius:9px;background:var(--reel-bg);color:var(--reel-text);font:inherit;font-size:16px; }
.asi219-share-row button { flex:none;min-height:44px;padding:8px 12px;border:1px solid var(--reel-line);border-radius:9px;background:#27364a;color:var(--reel-text);font:inherit;font-size:13px;font-weight:750;cursor:pointer; }
.asi219-share-row button:hover { border-color:var(--reel-accent); }
.asi219-share-status { margin:7px 0 0;color:var(--reel-muted);font-size:12px; }
.asi219-share-status:empty { display:none; }
.asi217-comment-status { margin:5px 0 8px; color:var(--reel-muted); font-size:12px; }
.asi217-reel-comment-list { display:grid; gap:7px; }
.asi217-reel-comment { padding:8px 10px; border:1px solid var(--reel-line); border-radius:9px; background:var(--reel-bg); overflow-wrap:anywhere; }
.asi217-reel-comment strong { color:var(--reel-text); font-size:13px; }
.asi217-reel-comment small { margin-inline-start:8px; color:var(--reel-muted); font-size:10px; }
.asi217-reel-comment p { margin:4px 0 0; color:var(--reel-text); font-size:13px; }
.asi217-comment-link { display:inline-flex; align-items:center; min-height:44px; color:var(--reel-accent); font-weight:700; font-size:13px; }
.asi217-reel-status {
    grid-area:status;
    margin:0;
    padding:9px 14px;
    border-block-start:1px solid var(--reel-line);
    background:#2c2630;
    color:#ffd8e2;
    font-size:12px;
    line-height:1.35;
}
.asi217-reel-empty { display:grid; min-height:98%; place-items:center; margin:0; padding:16px; color:var(--reel-muted); text-align:center; }

@media(max-width:760px) {
    dialog.asi217-viewer, dialog.asi217-viewer[data-desktop="compact"] {
        inset:0;
        width:100%;
        height:100vh;
        height:100dvh;
        margin:0;
        border:0;
        border-radius:0;
    }
    .asi217-viewer-shell { padding-bottom:env(safe-area-inset-bottom,0px); box-sizing:border-box; }
    .asi217-viewer .asi100-viewer-top {
        padding: max(8px,env(safe-area-inset-top,0px)) max(9px,env(safe-area-inset-right,0px)) 8px max(10px,env(safe-area-inset-left,0px));
        min-height:60px;
        gap:5px;
    }
    .asi217-reel-main { grid-template-columns:minmax(0,1fr) 60px; width:100%; }
    .asi217-viewer .asi100-viewer-slide {
        padding:5px 2px 0 max(8px,env(safe-area-inset-left,0px));
    }
    .asi217-viewer .asi100-viewer-card { border-radius:10px 10px 0 0; }
    .asi217-viewer .asi100-viewer-player video.is-portrait { object-fit:cover; }
    .asi217-reel-rail { padding-inline:3px max(3px,env(safe-area-inset-right,0px)); }
    .asi217-reel-action { width:52px; }
    .asi217-viewer .asi100-viewer-caption { padding:8px 9px 5px; }
    .asi217-viewer .asi100-viewer-source-link { min-height:36px; }
}
@media(max-height:530px) {
    .asi217-reel-rail { justify-content:flex-start; overflow:auto; gap:5px; }
    .asi217-reel-action { min-height:44px; }
    .asi217-reel-actions { gap:4px; }
    .asi217-viewer .asi100-viewer-caption { padding:4px 8px; }
    .asi217-viewer .asi100-viewer-caption h2 { -webkit-line-clamp:1; }
    .asi217-viewer .asi100-viewer-source-link { min-height:28px; }
    .asi217-reel-comments { max-height:min(32dvh,max(100px,calc(100dvh - 350px))); }
}
@media(max-height:550px) and (min-width:650px) {
    dialog.asi217-viewer { width:min(920px,calc(100vw - 18px)); }
    .asi217-viewer-shell:has(.asi217-reel-comments:not([hidden])) {
        grid-template-columns:minmax(0,1fr) minmax(210px,29%);
        grid-template-areas:"top top" "filters filters" "main comments" "status status";
        grid-template-rows:auto auto minmax(0,1fr) auto;
    }
    .asi217-viewer-shell:has(.asi217-reel-comments:not([hidden])) .asi217-reel-comments {
        max-height:none;
        min-height:0;
        border-block-start:0;
        border-inline-start:1px solid var(--reel-line);
    }
}

.asi217-reel-swipe { color:var(--reel-muted); font-size:10px; font-weight:650; }
@media(max-height:530px){.asi217-reel-swipe{display:none}.asi217-reel-main{grid-template-columns:minmax(0,1fr) 124px}.asi217-reel-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.asi217-reel-rail{justify-content:center;overflow:hidden}}
