@layer woryvo-theme {
html body .wv-feed-viewer-r1{inset:0!important;width:100%!important;max-width:100%!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:var(--pl-bg,#101318)!important;color:var(--pl-ink,#F8F3E9)!important;overflow:hidden!important}
html body .wv-feed-viewer-r1[open]{display:flex!important;flex-direction:column!important}
html body .wv-feed-viewer-r1::backdrop{background:#080B10E8!important}
html body .wv-feed-viewer-r1>header{position:relative!important;display:flex!important;align-items:center!important;gap:16px!important;flex:0 0 auto!important;padding:calc(8px + env(safe-area-inset-top)) 12px 8px!important;background:var(--pl-surface,#191D23)!important;border-bottom:1px solid var(--pl-line,#393A3D)!important}
html body .wv-feed-viewer-r1>header h2{font:600 15px system-ui!important;margin:0!important;color:inherit!important}
html body .wv-feed-viewer-r1>header button,html body .wv-detail-back-r1 button{min-height:44px!important;min-width:44px!important;padding:8px 12px!important;border:1px solid var(--pl-line,#393A3D)!important;border-radius:12px!important;background:var(--pl-soft,#242830)!important;color:var(--pl-ink,#F8F3E9)!important;font:600 13px system-ui!important}
html body .wv-feed-viewer-r1 .wv-fv-body{min-height:0!important;overflow:auto!important;overscroll-behavior:contain!important;padding:12px 12px calc(12px + env(safe-area-inset-bottom))!important;flex:1!important;width:100%!important;box-sizing:border-box!important}
html body .wv-feed-viewer-r1[data-mode=media] .wv-fv-body{display:flex!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;background:var(--pl-bg,#101318)!important}
html body .wv-feed-viewer-r1 .wv-fv-body>img,html body .wv-feed-viewer-r1 .wv-fv-body>video{width:100%!important;height:100%!important;max-height:100%!important;object-fit:contain!important;border:0!important;border-radius:0!important;background:transparent!important;min-height:0!important}
html body .wv-feed-viewer-r1 .wv-post-card{width:100%!important;max-width:720px!important;margin:0 auto!important;padding:14px!important;box-sizing:border-box!important;border:0!important;border-radius:16px!important;background:var(--pl-surface,#191D23)!important}
html body .wv-feed-viewer-r1 .wv-document{margin:12px 0!important}
html body .wv-feed-viewer-r1 .wv-document img,html body .wv-feed-viewer-r1 .wv-document video{max-width:100%!important;max-height:65dvh!important;object-fit:contain!important}
html body .wv-feed-viewer-r1 .wv-post-actions{display:flex!important;flex-wrap:wrap!important;gap:6px!important}
html body .wv-feed-viewer-r1 .wv-post-actions button{min-height:44px!important;padding:8px!important;font-size:12px!important}
html body .wv-feed-viewer-r1 .wv-comment-form{display:flex!important;gap:8px!important}
html body .wv-feed-viewer-r1 .wv-comment-form textarea{min-width:0!important;width:100%!important}
html body .wv-fv-enlarge{position:absolute!important;right:12px!important;top:12px!important;z-index:8!important;min-width:44px!important;min-height:44px!important;background:var(--pl-surface,#191D23)!important;color:var(--pl-ink,#F8F3E9)!important;border:1px solid var(--pl-line,#393A3D)!important;border-radius:12px!important;padding:8px 12px!important;font:600 12px system-ui!important}
html body.premium-mobile[data-u03-page=feed] .e03-stage>.wv-fv-enlarge{top:calc(var(--u03-top) + var(--u03-tabs) + 12px)!important}
html body .wv-document figure:has(>.wv-fv-enlarge){position:relative!important}
html body .wv-detail-back-r1{display:none!important}
@media(max-width:650px),(max-width:1000px) and (max-height:500px){
html body.wv-post-detail-r1 .wv-detail-back-r1{display:flex!important;align-items:center!important;gap:18px!important;position:sticky!important;top:0!important;z-index:50!important;padding:8px 12px!important;background:var(--pl-surface,#191D23)!important;border-bottom:1px solid var(--pl-line,#393A3D)!important}
html body.wv-post-detail-r1 #writing-header,html body.wv-post-detail-r1 .wp-footer,html body.wv-post-detail-r1 .site-footer,html body.wv-post-detail-r1 #writing-latest{display:none!important}
html body.wv-post-detail-r1 #writing-layout{display:block!important;min-height:calc(100dvh - 132px)!important;padding:12px 12px 90px!important;margin:0!important}
html body.wv-post-detail-r1 #writing-root{padding:0!important;margin:0!important}
html body.wv-post-detail-r1 .wv-post-card{padding:14px!important;margin:0!important;border-radius:18px!important}
}
/* V25: video controls share one lower-right column, below the picture's center.
   Their existing button handlers and sound preference remain unchanged. */
html body :is(.u03-feed-scroll,.wv-feed-list) .e03-stage:has(>.u03-video-sound)>:is(.wv-fv-enlarge,.u03-video-sound){
 right:max(12px,env(safe-area-inset-right,0px))!important;top:auto!important;
 width:56px!important;min-width:56px!important;max-width:56px!important;
 height:48px!important;min-height:48px!important;box-sizing:border-box!important;
 margin:0!important;padding:5px 4px!important;border-radius:14px!important;
 border:1px solid var(--pl-line,#393A3D)!important;
 background:var(--pl-surface,#191D23)!important;color:var(--pl-ink,#F8F3E9)!important;
 font:600 11px/1.25 system-ui!important;text-align:center!important;text-shadow:none!important;
 display:grid!important;place-items:center!important;z-index:8!important;cursor:pointer!important;
 box-shadow:0 2px 8px #0004!important;touch-action:manipulation;
}
html body :is(.u03-feed-scroll,.wv-feed-list) .e03-stage:has(>.u03-video-sound)>.wv-fv-enlarge{bottom:64px!important;color:var(--pl-accent,#FFBE62)!important}
html body :is(.u03-feed-scroll,.wv-feed-list) .e03-stage>.u03-video-sound{bottom:8px!important}
html body :is(.u03-feed-scroll,.wv-feed-list) .e03-stage>.u03-video-sound[aria-pressed=true]{border-color:var(--pl-accent,#FFBE62)!important;color:var(--pl-accent,#FFBE62)!important}
html body .e03-stage>:is(.wv-fv-enlarge,.u03-video-sound):focus-visible{outline:3px solid var(--pl-focus,#FFBE62)!important;outline-offset:3px!important}
html body.premium-mobile[data-u03-page=feed] .e03-stage:has(>.u03-video-sound)>.wv-fv-enlarge{bottom:calc(var(--u03-bottom,68px) + 64px)!important}
html body.premium-mobile[data-u03-page=feed] .e03-stage>.u03-video-sound{bottom:calc(var(--u03-bottom,68px) + 8px)!important}
html body.premium-mobile[data-u03-page=feed] .e03-visual:has(.u03-video-sound) .u03-tools{bottom:calc(var(--u03-bottom,68px) + 124px)!important}
@media(max-width:1000px) and (max-height:500px){
 html body.premium-mobile[data-u03-page=feed] .e03-visual:has(.u03-video-sound) .u03-tools{bottom:calc(var(--u03-bottom,54px) + 8px)!important;right:max(80px,calc(env(safe-area-inset-right,0px) + 80px))!important}
}
@media(forced-colors:active){html body .e03-stage>:is(.wv-fv-enlarge,.u03-video-sound){border:1px solid ButtonText!important}}
}

