/* 日报随页面上下展开，脚本多列保留横向浏览。 */
.readable-ui.home-active .app{height:auto;min-height:100dvh;overflow:visible}
.readable-ui.home-active .main-shell{height:auto;min-height:100dvh;display:block}
.readable-ui.home-active #main-panel{display:block;min-height:0;overflow:visible;padding:12px 18px 24px}
.readable-ui.home-active .daily-home{gap:7px}
.readable-ui.home-active .daily-home-heading h1{font-size:23px}
.readable-ui.home-active .daily-home-heading p{margin:2px 0 0}
.readable-ui.home-active .daily-home-toolbar{padding:7px 11px}
.readable-ui.home-active .daily-home-notice{padding:5px 9px}
.readable-ui.home-active .daily-home-notices{max-height:none;overflow:visible}
.readable-ui.home-active .daily-report-frame-wrap{flex:none;overflow:visible}
.readable-ui.home-active .daily-report-frame{height:70vh;min-height:400px}

/* Independent player windows can overlap without blocking the report. */
.daily-video-layer{position:fixed;inset:0;z-index:80;pointer-events:none}
.daily-video-window{position:fixed;display:flex;flex-direction:column;overflow:hidden;pointer-events:auto;background:#141414;border:1px solid #d1d2cf;border-radius:12px;box-shadow:0 16px 46px #0004;color:#252925}
.daily-video-header{display:flex;align-items:center;gap:7px;min-height:42px;padding:0 9px;background:#f8f9f7;cursor:grab;touch-action:none;user-select:none}
.daily-video-header:active{cursor:grabbing}
.daily-video-header strong{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px}
.daily-video-grip{font-size:19px;color:#999}
.daily-video-original{font-size:12px;white-space:nowrap;color:#526c4c}
.daily-video-close{border:0;border-radius:5px;background:transparent;color:#666;font-size:22px;line-height:1;padding:3px 6px}
.daily-video-close:hover{background:#e9eae8;color:#222}
.daily-video-content{flex:1;min-height:0;position:relative}
.daily-video-content iframe{display:block;width:100%;height:100%;border:0;background:#141414}
.daily-video-moving .daily-video-content:after{content:'';position:absolute;inset:0;cursor:inherit}
.daily-video-resize{position:absolute;right:0;bottom:0;width:24px;height:24px;cursor:nwse-resize;touch-action:none;background:linear-gradient(135deg,transparent 49%,#ddd9 50%,#ddd9 54%,transparent 55%,transparent 64%,#ddd9 65%,#ddd9 69%,transparent 70%)}

/* Always-visible viewport scrollbar mirrors the report creator board. */
.daily-horizontal-shell[hidden]{display:none!important}
.daily-horizontal-shell{position:fixed;bottom:3px;z-index:45;height:20px;background:#e3e7e1;border:1px solid #bcc5ba;border-radius:10px;box-shadow:0 2px 9px #0002;overflow:hidden}
.daily-horizontal-scroll{width:100%;height:100%;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;outline-offset:-2px}
.daily-horizontal-scroll::-webkit-scrollbar{display:none}
.daily-horizontal-scroll-track{height:1px;pointer-events:none}
.daily-horizontal-scroll-thumb{position:absolute;left:0;top:3px;height:12px;min-width:30px;border-radius:8px;background:#7a8b7b;box-shadow:0 1px 2px #0004;cursor:grab;touch-action:none}
.daily-horizontal-scroll-thumb:hover,.daily-horizontal-scroll-thumb.dragging{background:#536c56}
.daily-horizontal-scroll-thumb.dragging{cursor:grabbing}
