/* Reading has its own quiet dark stage; the gallery and app theme stay intact. */
.discovery-viewer,.composer-phone{--reel-text-shadow:0 1px 2px #000,0 0 4px #000c}
dialog.discovery-viewer{--reel-ink:#fffaf0;--reel-ground:#0b1716;position:fixed;inset:0;margin:0;padding:0;border:0;border-radius:0;width:100%;max-width:none;height:100dvh;max-height:none;background:var(--reel-ground);color:var(--reel-ink);overflow:hidden;direction:rtl;color-scheme:dark}
.discovery-viewer::backdrop{background:#0b1716}
.discovery-viewer button,.discovery-viewer a{color:inherit;font:inherit;text-decoration:none;-webkit-tap-highlight-color:transparent}
.discovery-viewer button{border:0;background:transparent;cursor:pointer}
.discovery-viewer button:focus-visible,.discovery-viewer a:focus-visible,.discovery-viewer [tabindex]:focus-visible{outline:3px solid #f3bd79;outline-offset:-3px}
.discovery-viewer button:disabled{opacity:.45;cursor:default}
.reel-stream{height:100%;overflow-y:auto;overflow-x:hidden;scroll-snap-type:y mandatory;overscroll-behavior-y:contain;scrollbar-width:none;overflow-anchor:none}
.reel-stream::-webkit-scrollbar,.discovery-viewer .media-slides::-webkit-scrollbar{display:none}
.discovery-reel{position:relative;box-sizing:border-box;isolation:isolate;scroll-snap-align:start;scroll-snap-stop:always;overflow:hidden;background:#0b1716;width:100%;min-height:0}
.reel-toolbar{position:absolute;inset:0 0 auto;z-index:4;display:flex;align-items:center;gap:10px;padding:calc(env(safe-area-inset-top) + 10px) 14px 18px;background:none;pointer-events:none}
.reel-toolbar>*{pointer-events:auto}.reel-toolbar>button:first-child{width:44px;height:44px;flex-shrink:0;border-radius:50%;background:#0b1716bb}
.reel-toolbar>div{flex:1}
.reel-toolbar strong{display:inline-block;padding:4px 8px;border-radius:10px;background:#0b1716d9}
.reel-toolbar [data-video-autoplay]{font-size:11px;line-height:1.6;max-width:96px;min-height:44px;border-radius:16px;padding:6px 10px;background:#0b1716bb;white-space:normal}
.reel-toolbar .quick-tools-context{background:#0b1716bb;flex-shrink:0;width:44px;height:44px}
.discovery-viewer .reel-gallery{position:absolute;inset:0;margin:0;border:0;border-radius:0;background:#0b1716;max-width:none}
.discovery-viewer .media-slides{height:100%;display:flex;gap:0;overflow-y:hidden;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;align-items:stretch;border-radius:0;touch-action:pan-x pan-y pinch-zoom}
.discovery-viewer .media-slide{position:relative;flex:0 0 100%;width:100%;height:100%;margin:0;scroll-snap-align:center;scroll-snap-stop:always;background:#0b1716;display:flex;align-items:center;justify-content:center;border-radius:0;overflow:hidden}
.discovery-viewer .media-slide>img,.discovery-viewer .media-slide>video{width:100%;height:100%;max-height:none;object-fit:contain;border-radius:0;background:#0b1716}
.discovery-viewer .media-slide>video{height:100%;margin:0}
/* The same play/pause target communicates waiting, even under long story copy.
   Keep the shared status available to screen readers without a second overlay. */
.discovery-viewer .media-video-status:is([data-state="loading"],[data-state="buffering"]){background:transparent}
.discovery-viewer .media-video-status:is([data-state="loading"],[data-state="buffering"]) .media-load-ring{visibility:hidden}
.discovery-reel:has(.media-slide:not([inert])>video[data-media-waiting="true"]) .reel-player [data-reader-action="play"]{position:relative}
.discovery-reel:has(.media-slide:not([inert])>video[data-media-waiting="true"]) .reel-player [data-reader-action="play"]>.icon{visibility:hidden}
.discovery-reel:has(.media-slide:not([inert])>video[data-media-waiting="true"]) .reel-player [data-reader-action="play"]::after{content:"";position:absolute;box-sizing:border-box;left:50%;top:50%;width:24px;height:24px;margin:-12px;border:2px solid #ffffff40;border-top-color:#fffaf0;border-radius:50%;animation:media-ring-turn .9s linear infinite;pointer-events:none}
@media(prefers-reduced-motion:reduce){.discovery-reel:has(.media-slide:not([inert])>video[data-media-waiting="true"]) .reel-player [data-reader-action="play"]::after{animation:none;border-style:dotted}}
.reel-frame-caption{display:flex;align-items:center;gap:6px;max-width:100%;min-height:44px;font-size:12px!important;text-align:right;padding:0!important}.reel-frame-caption[hidden]{display:none}.reel-frame-caption span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:0}.reel-frame-caption .icon{width:16px;flex-shrink:0}
.reel-zoom{position:absolute;top:calc(env(safe-area-inset-top) + 88px);left:14px;z-index:2;width:44px;height:44px;border-radius:50%;background:#0b1716bb!important}
.reel-media-position{position:absolute;top:calc(env(safe-area-inset-top) + 94px);right:16px;display:flex;gap:10px;align-items:center;pointer-events:none;background:#0b1716cc;border-radius:24px;padding:7px 12px;font-size:11px;z-index:2;max-width:calc(100% - 85px)}
.reel-media-position[hidden]{display:none}.reel-media-position .media-carousel-dots{display:flex;gap:4px;margin:0;padding:0}.reel-media-position .media-dot{width:5px;height:5px;min-width:5px;border:0;background:#ffffff70}.reel-media-position .media-dot.is-current{background:#fffaf0;width:15px;border-radius:8px}
/* Keep photo/video visible behind the copy: glyph shadows, no covering panel. */
.reel-shade{display:none}
.reel-copy{position:absolute;bottom:calc(env(safe-area-inset-bottom) + 86px);left:20px;right:78px;z-index:2;max-height:58%;overflow:hidden;pointer-events:none;text-align:right;background:transparent;padding:0}
.reel-copy,.reel-copy :is(a,button,h2),.reel-actions :is(a,button),.reel-media-position,.reel-sound button,.reel-player{ text-shadow:var(--reel-text-shadow) }
.reel-copy .icon,.reel-actions .icon,.reel-zoom .icon,.reel-sound .icon,.reel-player .icon{filter:drop-shadow(0 1px 2px #000)}
.reel-media-position .media-dot{box-shadow:0 1px 2px #0009}
.reel-copy a,.reel-copy button{pointer-events:auto}.reel-author{display:flex;align-items:center;gap:9px;min-height:44px;margin-block:10px;min-width:0}.reel-author strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.reel-author .avatar{width:34px;height:34px;min-width:34px;font-size:14px;background:#38675b;color:#fffaf0}.reel-author img{object-fit:cover;width:100%;height:100%}
/* One quiet, single-line list entry; the fire only toggles the reaction. */
.discovery-viewer .reel-likers{display:inline-flex;align-items:center;gap:6px;max-width:100%;min-width:44px;min-height:44px;box-sizing:border-box;flex-shrink:0;padding:6px 10px;border:1px solid #fffaf026;border-radius:14px;background:#fffaf00b;font-size:12px;line-height:1.5;white-space:nowrap;overflow:hidden;text-align:start;box-shadow:0 1px 3px #0008,inset 0 0 1px #0008}
.reel-likers [data-reader-liker-total],.reel-likers [data-reader-liker-rest]{flex-shrink:0}
.reel-liker-names{display:flex;align-items:center;min-width:0;overflow:hidden}
.reel-likers bdi{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.reel-likers .icon{width:14px;height:14px;flex-shrink:0;transform:rotate(90deg)}
.discovery-viewer .reel-likers:hover,.discovery-viewer .reel-likers:active{background:#fffaf018}
.reel-caption{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:6px 0;font-size:14px;line-height:1.85;white-space:pre-line;overflow-wrap:anywhere;color:#fffaf0}
.reel-read{max-width:100%;text-align:right;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:5px 0!important;font-size:12px!important;color:#f2d9b9!important}
.reel-kicker{display:flex;align-items:center;gap:6px;color:#f2d9b9;font-size:11px;letter-spacing:.2px}.reel-kicker .icon{width:16px;height:16px}
.reel-journey h2{font-size:clamp(22px,5vw,36px);font-weight:800;line-height:1.6;margin:9px 0;color:#fffaf0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}
.reel-journey-meta{display:flex;gap:8px;flex-wrap:nowrap;white-space:nowrap;overflow:hidden;font-size:11px;color:#decfba}.reel-journey-meta span+span::before{content:'·';margin-left:8px}
.reel-journey .reel-caption{-webkit-line-clamp:1}.reel-journey .reel-read{margin-top:8px;padding:7px 14px!important;border:1px solid #cfb58e70!important;border-radius:12px;background:#e3c49d18}
.reel-route-preview{display:flex;gap:6px;align-items:center;font-size:11px;color:#e1d5c4;white-space:nowrap;overflow:hidden}.reel-route-preview span{overflow:hidden;text-overflow:ellipsis}.reel-route-preview .icon{width:16px;flex-shrink:0}
.reel-copy-text{bottom:30%;max-height:50%}.reel-copy-text .reel-caption{-webkit-line-clamp:7;font-size:19px;line-height:1.9}.reel-text-art{position:absolute;inset:0;display:grid;place-items:center;background:radial-gradient(ellipse at 20% 25%,#284b3e,#0b1716 65%)}.reel-text-art>.icon{width:200px;height:200px;opacity:.05}
.reel-actions{position:absolute;right:8px;bottom:calc(env(safe-area-inset-bottom) + 92px);z-index:3;display:grid;gap:7px;width:56px}
.reel-actions button,.reel-actions a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:48px;min-width:44px;border-radius:12px;background:transparent;padding:4px}
.reel-actions .icon{width:25px;height:25px}.reel-actions span{font-size:10px}.reel-actions [aria-pressed=true]{color:#f6b88c}.reel-actions [aria-pressed=true]>.icon{fill:#f6b88c;stroke:#0b1716}
.reel-sound{position:absolute;left:14px;top:calc(env(safe-area-inset-top) + 88px);z-index:3}.reel-sound button{display:flex;align-items:center;gap:5px;min-height:44px;border-radius:24px;padding:8px 12px;background:#0b1716d9;font-size:11px}
.reel-comment-entry{position:absolute;inset:auto 0 0;z-index:3;padding:10px 18px calc(env(safe-area-inset-bottom) + 15px);background:#07110f}
.reel-comment-entry button{display:flex;align-items:center;gap:10px;background:#ffffff0e;width:100%;min-height:44px;border:1px solid #ffffff12;border-radius:24px;padding:8px 15px;font-size:13px;text-align:right;color:#dfded6}
.reel-player{position:absolute;bottom:calc(env(safe-area-inset-bottom) + 72px);left:16px;right:16px;z-index:3;display:flex;align-items:center;gap:8px;font-size:11px}.reel-player[hidden]{display:none}.reel-player button{min-height:44px;min-width:44px;background:#0b1716cc;border-radius:22px}.reel-player label{flex:1;min-width:0}.reel-player input{width:100%;height:44px;accent-color:#ecc698;padding:0}.reel-has-video .reel-copy{bottom:calc(env(safe-area-inset-bottom) + 126px)}.reel-has-video .reel-actions{bottom:calc(env(safe-area-inset-bottom) + 134px)}
.reel-fire{position:absolute;top:40%;left:calc(50% - 40px);z-index:3;opacity:0;pointer-events:none;color:#f6b88c}.reel-fire .icon{width:80px;height:80px;fill:currentColor;stroke:currentColor}
.reel-celebrate .reel-fire{animation:reel-fire .6s ease-out both}@keyframes reel-fire{0%{opacity:0;transform:scale(.7)}30%{opacity:1;transform:scale(1.15)}70%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1)}}
.reel-message{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:90px 25px;box-sizing:border-box;text-align:center}.reel-message h2{font-size:21px;line-height:1.8;color:#fffaf0}.reel-message p{line-height:1.9;color:#d7dacf;max-width:330px}.reel-message button{border:1px solid #d7dacf55;border-radius:16px;min-height:44px;padding:8px 18px}.reel-loading .icon{width:42px;height:42px;color:#e7c49a}
.reel-media-error{position:absolute;top:24%;left:15px;right:15px;z-index:2;text-align:center;background:#0b1716e8;padding:15px;border-radius:16px}.reel-media-error button{min-height:44px;padding:8px 14px;border:1px solid #d7dacf55;border-radius:14px}
.reel-navigation{position:absolute;bottom:calc(env(safe-area-inset-bottom) + 70px);left:10px;z-index:3;display:flex;gap:6px}.reel-navigation button{width:44px;height:44px;border-radius:50%;background:#0b1716cc}.reel-navigation [data-reader-prev] .icon{transform:rotate(180deg)}
/* Comments keep the shared visual-viewport geometry in app.css. A bottom:0
   override here anchors them behind the software keyboard; the composer alone
   owns their safe-area padding. Only the reader's visual treatment is shared. */
body:has(#discovery-viewer[open]) #modal:has(.comments-workspace){width:min(100%,720px);max-width:100%;border-radius:24px 24px 0 0}
body:has(#discovery-viewer[open]) #modal:has(.discovery-reading){position:fixed;inset:auto 0 0;margin:0 auto;width:min(100%,720px);max-width:100%;max-height:84dvh;border-radius:24px 24px 0 0;padding-bottom:env(safe-area-inset-bottom)}
body:has(#discovery-viewer[open]) #modal .modal-body{overscroll-behavior-y:contain}
.discovery-book-heading{border-bottom:1px solid var(--line);padding:8px 0 22px;margin-bottom:20px}.discovery-book-heading>span{color:var(--brand);font-size:12px}.discovery-book-heading h2{font-size:26px;line-height:1.8;margin:12px 0}.discovery-book-heading p{font-size:12px}
.discovery-book .journal-text{font-size:17px;line-height:2.3}.discovery-book .journal-flow{gap:22px}.discovery-book-stops{margin:25px 0}.discovery-book-stops ol{list-style:none;margin:0;padding:0;counter-reset:stop}.discovery-book-stops li{counter-increment:stop;position:relative;border-right:2px solid var(--line);padding:4px 24px 24px 0}.discovery-book-stops li::before{content:counter(stop,persian);position:absolute;right:-13px;top:0;border-radius:50%;width:24px;height:24px;background:var(--brand);color:#fff;text-align:center;font-size:12px}.discovery-book-stops li strong{display:block}.discovery-reading>.btn{margin-block:20px}
@media(min-width:761px){dialog.discovery-viewer{padding-inline:calc((100vw - min(560px,100vw))/2)}.reel-toolbar{max-width:560px;margin:auto}.reel-navigation{left:calc(50% - 350px);bottom:40%;display:grid;gap:15px}.discovery-reel{max-width:560px;margin:auto}.reel-journey h2{font-size:32px}}
@media(max-height:650px){.reel-copy{bottom:74px;max-height:43%;left:14px}.reel-journey h2{font-size:21px;margin:5px 0}.reel-journey .reel-caption,.reel-route-preview{display:none}.reel-author{margin-block:3px}.reel-actions{gap:0;bottom:83px}.reel-actions button,.reel-actions a{min-height:44px}.reel-navigation{bottom:68px}.reel-journey .reel-read{margin-top:1px}.reel-comment-entry{padding-bottom:max(10px,env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:reduce){.reel-celebrate .reel-fire{animation:none}.reel-stream,.discovery-viewer .media-slides{scroll-behavior:auto}}

@media(max-width:760px){.reel-navigation{display:none}}
.reel-copy{display:flex;flex-direction:column;align-items:flex-start}.reel-copy .reel-caption,.reel-copy h2{min-height:0;flex-shrink:1}.reel-copy .reel-read,.reel-copy .reel-author,.reel-copy .reel-kicker{flex-shrink:0}.reel-copy-text .reel-caption{-webkit-line-clamp:4}
@media(max-height:480px){.reel-copy{max-height:calc(100% - 165px)}.reel-journey-meta,.reel-kicker{display:none}.reel-copy-text .reel-caption{-webkit-line-clamp:2;font-size:17px}.reel-actions{gap:0;bottom:74px}.reel-actions a{display:none}.reel-player{right:76px}.reel-has-video .reel-actions{bottom:74px}.reel-journey h2{-webkit-line-clamp:1}}

/* Reserve compact controls outside the media when browser chrome/rotation reduces height. */
@media(max-height:480px){
 dialog.discovery-viewer{padding:0;padding-inline:env(safe-area-inset-left) env(safe-area-inset-right)}
 .reel-toolbar{padding:calc(4px + env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) 4px max(8px,env(safe-area-inset-left));max-width:none;background:#0b1716}
 .reel-toolbar [data-video-autoplay]{max-width:100px}
 .discovery-reel{max-width:none;padding-top:calc(52px + env(safe-area-inset-top))}
 .discovery-viewer .reel-gallery{inset:calc(52px + env(safe-area-inset-top)) 44% calc(48px + env(safe-area-inset-bottom)) 0}
 .reel-zoom,.reel-sound{top:calc(56px + env(safe-area-inset-top));left:8px}.discovery-viewer .reel-gallery .reel-zoom{top:4px}
 .reel-media-position{top:auto;bottom:5px;right:6px;max-width:calc(100% - 12px)}
 .reel-copy,.reel-has-video .reel-copy{top:calc(52px + env(safe-area-inset-top));bottom:calc(104px + env(safe-area-inset-bottom));right:8px;left:58%;max-height:none;overflow-y:auto;pointer-events:auto;overscroll-behavior:contain;padding-inline:4px}
 .reel-journey h2{font-size:17px}.reel-author{margin:0}.reel-author strong{font-size:12px}.reel-author .avatar{width:26px;height:26px;min-width:26px}
 .reel-copy-text{left:8px;right:8px}.reel-copy-text .reel-caption{-webkit-line-clamp:4}
 .reel-frame-caption{flex-shrink:0}.reel-copy .reel-read{font-size:11px!important;padding:3px!important}
 .reel-actions,.reel-has-video .reel-actions{right:4px;left:58%;width:auto;bottom:calc(52px + env(safe-area-inset-bottom));display:flex;gap:0;justify-content:space-between}
 .reel-actions button{min-width:36px;flex:1;padding:2px}.reel-actions .icon{width:20px;height:20px}.reel-actions span{font-size:9px}
 .reel-player{right:45%;left:4px;bottom:calc(48px + env(safe-area-inset-bottom));background:#0b1716c9}.reel-player input{height:44px}.reel-player button{min-width:44px;min-height:44px}
 .reel-comment-entry{padding:2px 8px max(2px,env(safe-area-inset-bottom));height:calc(48px + env(safe-area-inset-bottom))}.reel-comment-entry button{min-height:44px}
 .reel-navigation{display:none}.reel-shade{display:none}
}
@media(max-height:480px) and (max-width:400px){
 .discovery-viewer .reel-gallery{right:50%}.reel-copy,.reel-has-video .reel-copy,.reel-actions,.reel-has-video .reel-actions{left:51%}
 .reel-player{right:51%}.reel-copy .reel-author .avatar{display:none}.reel-copy-text{left:8px}
 .reel-actions,.reel-has-video .reel-actions{display:grid;grid-template-columns:repeat(2,minmax(44px,1fr));column-gap:4px;row-gap:0}
 .reel-actions button{min-width:44px;min-height:44px}
 .reel-copy,.reel-has-video .reel-copy{bottom:calc(148px + env(safe-area-inset-bottom))}
}

/* Short readers reserve the real toolbar/reaction heights as text grows. */
@media(max-height:480px){
 dialog.discovery-viewer[open]{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}
 .discovery-viewer>.reel-toolbar{position:relative;inset:auto;grid-area:1/1;min-width:0}
 .discovery-viewer>.reel-stream{grid-area:2/1;min-height:0;min-width:0}
 .discovery-viewer .discovery-reel{padding-top:0}
 .discovery-viewer .discovery-reel:has(>.reel-copy){display:grid;grid-template-columns:minmax(0,42%) minmax(0,58%);grid-template-rows:minmax(0,1fr) max-content calc(52px + env(safe-area-inset-bottom))}
 .discovery-viewer .discovery-reel>.reel-copy{position:relative;inset:auto;grid-area:1/1;min-height:0;min-width:0;max-height:none;width:auto;margin:0 8px 8px 0}
 .discovery-viewer .discovery-reel>.reel-copy-text{grid-column:1/-1;margin-inline:8px}
 .discovery-viewer .discovery-reel>.reel-actions{position:relative;inset:auto;grid-area:2/1;min-width:0;width:auto;margin-right:4px}
 .discovery-viewer .reel-gallery{top:0}
 .discovery-viewer .reel-sound{top:4px}
}
@media(max-height:480px) and (max-width:400px){
 .discovery-viewer .discovery-reel:has(>.reel-copy){grid-template-columns:minmax(0,49%) minmax(0,51%)}
}

.reading-navigation{position:sticky;top:0;z-index:2;display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;padding:12px;background:var(--surface,#fffaf0);color:var(--ink,#173f35);border:1px solid var(--line,#d6dfd6);border-radius:14px}
.reading-navigation details{flex:1;min-width:140px}.reading-navigation ol{max-height:40dvh;overflow:auto;margin:8px 0;padding-inline-start:24px}.reading-navigation button{min-height:44px;text-align:start}.reading-navigation [data-reading-progress]{font-size:12px}.journey-reading [data-reading-section]{scroll-margin-top:100px;min-width:0}.journey-reading .journal-flow{margin-block:20px}
.composer-phone{position:relative;max-width:390px;height:600px;max-height:75dvh;margin:12px auto;background:#0b1716;color:#fffaf0;border-radius:20px;overflow:hidden;direction:rtl;--reel-ground:#0b1716;--reel-ink:#fffaf0}
.composer-phone .discovery-reel{height:100%;padding-top:0;max-width:none}.composer-phone .reel-copy{right:20px;left:20px;bottom:25px;top:auto;max-height:48%}.composer-phone .reel-gallery{inset:0}.composer-phone .reel-media-position{top:12px;bottom:auto}.composer-phone .reel-zoom{top:8px}.composer-phone .reel-sound{top:8px}.composer-phone .reel-shade{display:none}.composer-phone .reel-read{color:#f2d9b9}.preview-reading{padding:12px;border:1px solid var(--line);border-radius:12px}.preview-full-reading{margin-block:18px}.preview-full-reading>summary{cursor:pointer;min-height:44px}.preview-full-reading .discovery-reading{margin-block:12px}
.listing-decision{position:sticky;top:0;z-index:2;display:flex;gap:12px;align-items:center;justify-content:space-between;background:var(--surface,#fffaf0);padding:12px;border:1px solid var(--line,#d6dfd6);border-radius:16px;margin-block:0 14px;scroll-margin-top:80px}.listing-decision>div{min-width:0}.listing-decision .product-price{margin:0}.listing-decision>.btn{flex-shrink:0;max-width:48%;white-space:normal}.listing-detail>.journal-gallery{margin-block:12px}.listing-detail>.journal-gallery img,.listing-detail>.journal-gallery video{max-height:60dvh;object-fit:contain}.detail-request{scroll-margin-top:150px}.image-viewer-context{font-size:12px;margin:0;max-width:45%;line-height:1.6}.nearby-status-summary{border-bottom:1px solid var(--line);padding-bottom:12px;margin-bottom:12px}.nearby-status-summary .nearby-radar-heading{flex-wrap:wrap}.nearby-radius-summary{font-size:12px}.nearby-status-summary>[data-nearby-source]{line-height:1.8}.nearby-status-summary>[data-nearby-results-jump]{min-height:44px}

.discovery-viewer .media-slide figcaption.sr-only{padding:0;margin:-1px;width:1px;height:1px;pointer-events:none}

/* Thin, truthful buffer segments; the input retains its full touch/keyboard target. */
.reel-player .reel-timeline{position:relative;min-width:0;min-height:44px;display:flex;align-items:center;direction:ltr}
.reel-buffer-track,.reel-played-track{position:absolute;left:0;top:calc(50% - 2px);height:4px;border-radius:2px;pointer-events:none}
.reel-buffer-track{width:100%;background:#ffffff24;overflow:hidden}
.reel-buffer-track i{position:absolute;height:100%;background:#ffffff70}
.reel-played-track{background:#ecc698;width:0}
.reel-timeline input[type=range]{position:relative;z-index:1;appearance:none;-webkit-appearance:none;width:100%;margin:0;background:transparent;min-height:44px;direction:ltr}
.reel-timeline input[type=range]::-webkit-slider-runnable-track{height:4px;background:transparent}
.reel-timeline input[type=range]::-moz-range-track{height:4px;background:transparent}
.reel-timeline input[type=range]::-moz-range-progress{background:transparent}
.reel-timeline input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:12px;height:12px;border-radius:50%;background:#ecc698;margin-top:-4px}
.reel-timeline input[type=range]::-moz-range-thumb{width:12px;height:12px;border:0;border-radius:50%;background:#ecc698}
.reel-actions [data-reader-action=like][aria-busy=true]{text-decoration:underline dotted;text-underline-offset:5px}
.reel-actions [data-reaction-unknown=true]{outline:1px dotted currentColor;outline-offset:-3px}
.comments-placeholder{height:80px;border-radius:12px;background:linear-gradient(transparent 12px,#80808012 12px,#80808012 24px,transparent 24px,transparent 40px,#80808012 40px,#80808012 52px,transparent 52px)}
