/* Watching follows the reference; existing author forms keep their original behaviour. */
body[data-page=home],body[data-page=short-drama],body[data-page=following]{background:#fff;color:#202020;overflow:hidden}
body[data-page=home] .site-header,body[data-page=short-drama] .site-header,body[data-page=following] .site-header,body[data-page=home] .site-footer,body[data-page=short-drama] .site-footer,body[data-page=following] .site-footer{display:none}
body[data-page=home] #content,body[data-page=short-drama] #content,body[data-page=following] #content{max-width:none;padding:0;margin:0;height:100dvh}
.manga-app{--manga-red:#f34848;position:relative;height:100dvh;margin:0;background:#fff;color:#202020;font:15px/1.5 system-ui,-apple-system,'PingFang SC',sans-serif;overflow:hidden;isolation:isolate}
.manga-app button{font-family:inherit;border:0;background:#f6f6f6;color:inherit;border-radius:8px;min-height:44px;cursor:pointer;padding:10px 14px;letter-spacing:0}
.manga-app button:disabled{opacity:.35}.manga-app button:focus-visible,.manga-app input:focus-visible,.manga-app select:focus-visible{outline:3px solid #ed5656;outline-offset:2px}
.manga-app h1,.manga-app h2,.manga-app h3{font-family:inherit;letter-spacing:0;line-height:1.4}.manga-app h1{font-size:27px}.manga-app h2{font-size:20px}.manga-app h3{font-size:16px}.manga-app p{margin-bottom:10px}
.manga-page{height:calc(100% - 68px - env(safe-area-inset-bottom));overflow:auto;padding:24px max(20px,calc((100vw - 1060px)/2)) 30px}.manga-heading{padding:12px 0 20px}.manga-heading p,.manga-muted{color:#888;font-size:13px}
.manga-bottom{position:absolute;bottom:0;left:0;right:0;height:calc(64px + env(safe-area-inset-bottom));padding:4px 8px env(safe-area-inset-bottom);display:flex;justify-content:space-around;align-items:center;border-top:1px solid #eee;background:#fff;z-index:8}.manga-bottom button{background:transparent;font-size:14px;flex:1;padding:10px 4px}.manga-bottom [aria-current=page]{color:#dd672c;font-weight:700}
.manga-stage{position:absolute;left:50%;top:25%;transform:translateX(-50%);width:min(100%,960px);aspect-ratio:16/9;margin:0;background:#080808}.manga-original,.manga-original>iframe{display:block!important;width:100%!important;height:100%!important;min-height:0!important;border:0}
.manga-app[data-view=home]{background:#050505;color:#fff}.manga-app[data-view=home] .manga-page{padding:0;overflow:hidden}.manga-feed-head{position:absolute;top:env(safe-area-inset-top,0px);left:0;right:0;display:flex;justify-content:space-between;align-items:center;padding:16px 20px;z-index:2}.manga-feed-head strong{font-size:20px}.manga-feed-head button{background:transparent;color:#eee}.manga-app[data-view=home] .manga-bottom{background:#171717;border-color:#292929;color:#aaa}.manga-app[data-view=home] .manga-bottom [aria-current=page]{color:#ff925d}
.manga-meta{position:absolute;inset:0 0 calc(68px + env(safe-area-inset-bottom));pointer-events:none;margin:0}.manga-meta button{pointer-events:auto}.manga-actions{position:absolute;right:8px;bottom:172px;display:flex;flex-direction:column;gap:8px}.manga-actions button{display:flex;flex-direction:column;align-items:center;background:transparent!important;padding:3px 9px;color:#fff;text-shadow:0 1px 5px #000}.manga-actions b{font-size:34px;line-height:1.1}.manga-actions span{font-size:12px;margin-top:4px}.manga-actions [aria-pressed=true] b{color:#ff5a67}.manga-feed-copy{position:absolute;bottom:10px;left:20px;right:20px}.manga-feed-copy h2{margin:0 52px 9px 0}.manga-feed-copy p{color:#bbb;font-size:13px}.manga-feed-copy .manga-start{background:#ef4747;color:#fff;margin-bottom:12px}.manga-feed-copy .manga-episodes{display:block;width:100%;background:#252525;color:#eee;text-align:left}.manga-feed-switch{display:flex;justify-content:space-between;gap:10px;margin-top:7px}.manga-feed-switch button{background:transparent;color:#aaa;padding:4px 0;min-height:32px;font-size:12px}
.manga-status{position:absolute;left:16px;right:16px;bottom:calc(74px + env(safe-area-inset-bottom));z-index:30;pointer-events:none;font-size:12px;margin:0}.manga-status:empty{display:none}.manga-status:not(:empty){background:#333e;color:white;padding:10px;border-radius:10px}
.manga-search{display:flex;gap:8px;margin-bottom:16px}.manga-search input{margin:0;background:#f5f5f5;color:#222;border:0;min-width:0;flex:1}.manga-search button{background:#ef4747;color:#fff}.manga-filter-row{display:flex;flex-wrap:wrap;gap:10px}.manga-filter-row label{font-size:12px;color:#888;flex:1;min-width:95px}.manga-filter-row select{font-size:14px;margin-top:3px;background:#f6f6f6;color:#333;padding:8px 4px;border:0}.manga-results{display:flex;align-items:center;justify-content:space-between;color:#888;font-size:13px;padding:14px 0}.manga-results button{background:transparent;color:#ef4747}
.manga-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 16px}.manga-grid article{min-width:0}.manga-grid .manga-cover{width:100%;padding:0;aspect-ratio:16/9;border-radius:10px;overflow:hidden;background:#f0efed;display:flex;align-items:center;justify-content:center}.manga-cover img{width:100%;height:100%;object-fit:contain;display:block}.manga-no-cover{padding:16px;text-align:center;color:#777}.manga-grid h3{margin:9px 0 4px}.manga-grid p{font-size:12px;color:#999}.manga-empty{padding:40px 12px;text-align:center;color:#999;grid-column:1/-1}.manga-history{padding:18px 0;border-bottom:1px solid #eee;margin:0}.manga-history p{font-size:13px;color:#888}.manga-mine-links{display:grid;gap:12px;margin-bottom:30px}.manga-mine-links button{text-align:left;background:#f7f7f7}
.manga-sheet-backdrop{position:absolute;inset:0;z-index:15;background:#0006;display:flex;align-items:flex-end}.manga-sheet{margin:0;width:100%;max-height:76%;border-radius:20px 20px 0 0;background:white;color:#222;padding:20px;display:flex;flex-direction:column;padding-bottom:max(20px,env(safe-area-inset-bottom))}.manga-sheet>header{display:flex;align-items:center;justify-content:space-between}.manga-sheet h2{font-size:18px;margin:0}.manga-sheet header button{background:transparent}.manga-sheet-body{overflow:auto;padding-top:12px;overscroll-behavior:contain}.manga-sheet input,.manga-sheet textarea{color:#222;background:#f5f5f5;border-color:#eee}.manga-sheet textarea{min-height:86px;max-height:160px;font-size:14px}.manga-comment{padding:15px 0;border-bottom:1px solid #eee}.manga-comment[data-reply]{margin-left:24px}.manga-comment small{color:#999;font-size:12px}.manga-comment p{font-size:14px;margin:5px 0}.manga-comment button{padding:0;color:#888;background:transparent;min-height:32px;font-size:12px}.manga-comment-form{padding:14px 0}.manga-comment-form label{font-size:13px}.manga-comment-form [type=submit]{background:#ef4747;color:white}.manga-episode-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.manga-episode-grid [aria-current=true]{background:#fff1e7;color:#ed8838}
@media(min-width:800px){.manga-app[data-view=home] .manga-stage{top:12%;width:min(70vw,900px)}.manga-actions{right:max(18px,calc((100vw - 1060px)/2));bottom:190px}.manga-feed-copy{left:max(24px,calc((100vw - 1060px)/2));right:max(24px,calc((100vw - 1060px)/2))}.manga-sheet{max-width:650px;margin:0 auto}.manga-bottom{padding-left:calc((100vw - 800px)/2);padding-right:calc((100vw - 800px)/2)}}
@media(max-width:600px){.manga-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}.manga-stage{top:25%;}.manga-actions{bottom:172px}.manga-actions b{font-size:29px}.manga-feed-copy h2{font-size:18px}.manga-filter-row{gap:8px}.manga-filter-row label{min-width:85px}}
@media(max-height:580px){.manga-stage{top:12%!important;width:min(58vw,700px)!important}.manga-actions{bottom:100px;right:12px;gap:0}.manga-actions b{font-size:24px}.manga-feed-copy{bottom:2px}.manga-feed-copy h2{font-size:16px;margin:0}.manga-feed-copy p{display:none}.manga-feed-copy .manga-episodes{width:auto;display:inline-block;font-size:12px;min-height:36px}.manga-feed-switch{display:inline-flex;margin-left:15px}.manga-feed-head{padding:4px 16px}}

.manga-stage-poster{position:absolute;inset:0;background:#080808;pointer-events:none}.manga-stage-poster img{width:100%;height:100%;object-fit:contain}.manga-stage-poster[hidden]{display:none}.manga-fullscreen{display:block!important;margin-bottom:12px;background:#222!important;color:#eee!important;font-size:13px!important}.manga-screen-exit{position:absolute;z-index:50;top:max(10px,env(safe-area-inset-top));right:max(76px,calc(env(safe-area-inset-right) + 68px));background:#222a!important;color:#fff!important}.manga-screen-exit[hidden]{display:none}.manga-app.manga-expanded{position:fixed;inset:0;z-index:100;width:100vw;height:100dvh;background:#000}.manga-expanded .manga-stage{inset:0!important;transform:none!important;width:100%!important;height:100%!important;aspect-ratio:auto}.manga-expanded .manga-page,.manga-expanded .manga-bottom,.manga-expanded .manga-meta{display:none}.manga-expanded .manga-status{bottom:10px}

.manga-auto-next{display:flex;align-items:center;gap:8px;font-size:12px;color:#aaa;pointer-events:auto;margin:0 0 9px}.manga-auto-next input{width:16px;height:16px;min-height:0;margin:0;accent-color:#ef4747}.manga-feed-copy{pointer-events:none}.manga-feed-copy label{pointer-events:auto}.manga-app .manga-stage{touch-action:pan-x}
@media(orientation:portrait){.manga-app.manga-expanded .manga-stage{inset:auto!important;left:50%!important;top:50%!important;width:100dvh!important;height:100vw!important;transform:translate(-50%,-50%) rotate(90deg)!important}}
/* Native landscape covers retain the complete composition in the creator library. */
.cv38-poster{aspect-ratio:16/9!important;height:auto!important;min-height:0!important}.cv38-poster img{object-fit:contain!important}.cv38-series-head{grid-template-columns:minmax(180px,340px) minmax(0,1fr)}@media(max-width:650px){.cv38-series-head{grid-template-columns:1fr}.cv38-series-head .cv38-poster{width:100%;max-width:none}}

.manga-diagnostics{position:absolute;z-index:40;inset:60px 12px 90px;background:#fff;color:#222;padding:14px;overflow:auto;font-size:11px}.manga-diagnostics[hidden]{display:none}.manga-diagnostics pre{white-space:pre-wrap;overflow-wrap:anywhere}
.manga-diagnostics:not([open]){inset:auto;top:60px;right:12px;width:auto;height:auto;max-width:90%}
@media(max-width:600px) and (min-height:581px){.manga-actions{bottom:145px;gap:0}.manga-actions button{min-height:44px;padding:2px 9px}.manga-actions b{font-size:25px}.manga-actions span{font-size:11px;margin-top:2px}}
.manga-watch-tools{display:flex;gap:8px;margin-bottom:10px}.manga-watch-tools .manga-fullscreen{margin:0}.manga-own-direction{pointer-events:auto;background:#242424!important;color:#eee!important;font-size:12px!important;max-width:180px}
/* Approved v44 visual system, applied only to the real viewer shell. */
.ui-icon{width:24px;height:24px;flex:none;display:inline-block;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.manga-app button{display:inline-flex;align-items:center;justify-content:center;gap:7px}.manga-app button .ui-icon[fill=currentColor]{fill:currentColor}.manga-app .manga-icon-button{width:44px;height:44px;min-width:44px;padding:9px;border-radius:50%;background:transparent}.manga-app .manga-inline{background:transparent;padding-left:0}.manga-app .manga-bottom button{display:flex;flex-direction:column;gap:3px;font-size:11px;font-weight:500}.manga-bottom .app-tab-icon{width:22px;height:22px}.manga-bottom [aria-current=page]{font-weight:700}.manga-actions button{display:flex;min-height:52px}.manga-actions .ui-icon{width:30px;height:30px}.manga-actions [data-manga=like][aria-pressed=true]{color:#ff5667}.manga-actions [data-manga=follow][aria-pressed=true]{color:#ffbf72}.manga-feed-head>div{display:flex}.manga-feed-copy .manga-feed-title{background:transparent;padding:0;justify-content:flex-start;text-align:left;color:#fff;font-size:inherit;min-height:0}.manga-feed-title>.ui-icon{width:18px;height:18px}.manga-feed-copy .manga-episodes{display:flex;justify-content:flex-start;gap:7px}.manga-episodes>.ui-icon:last-child{margin-left:auto;width:18px;height:18px}.manga-feed-switch .ui-icon{height:14px;width:14px}.manga-feed-copy .manga-start{gap:7px}.manga-watch-tools button{display:inline-flex!important;align-items:center}.manga-watch-tools .ui-icon{width:17px;height:17px}.manga-heading{display:flex;align-items:center;justify-content:space-between}.manga-search button{white-space:nowrap}.manga-search .ui-icon{height:18px;width:18px}.manga-subhead{display:flex;align-items:center;gap:14px;margin:0 0 18px}.manga-subhead h1{font-size:21px;margin:0}.manga-section-title{display:flex;align-items:center;justify-content:space-between;margin-top:25px}.manga-section-title h2{font-size:19px;margin:0}.manga-tag-cloud{display:flex;flex-wrap:wrap;gap:9px;margin:14px 0 22px}.manga-tag-cloud>span,.manga-tag-cloud>button{font-size:12px;color:#777;background:#f4f4f4;border-radius:20px;padding:6px 12px;min-height:32px}.manga-loading{padding:30px;color:#999}.manga-profile{display:flex;gap:14px;align-items:center;padding:20px 0 35px}.manga-profile h1{font-size:24px;margin:0 0 7px}.manga-profile p{color:#999;font-size:13px;margin:0}.manga-profile>.manga-icon-button{margin-left:auto}.manga-avatar{height:58px;width:58px;border-radius:50%;background:#f2f2f2;display:flex;align-items:center;justify-content:center;color:#aaa}.manga-avatar .ui-icon{width:32px;height:32px}.manga-mine-links>button{justify-content:flex-start;min-height:56px;padding:14px 18px;gap:14px;border-radius:12px}.manga-mine-links>button .ui-icon{width:23px;height:23px;color:#666}
.manga-app[data-view=detail] .manga-page{padding:0 0 115px;height:calc(100% - 64px - env(safe-area-inset-bottom));overscroll-behavior:contain}.manga-detail-top{display:flex;align-items:center;justify-content:space-between;padding:10px 18px;position:sticky;top:0;background:#ffffffed;z-index:2}.manga-detail{max-width:1000px;margin:0 auto;padding:0 20px 30px}.manga-detail-art{width:100%;aspect-ratio:16/9;background:#f4f2ee;border-radius:12px;overflow:hidden}.manga-detail-art img{width:100%;height:100%;object-fit:contain}.manga-detail-title{padding:20px 0 6px}.manga-detail-title h1{font-size:25px;margin:0 0 10px}.manga-detail-title p{font-size:13px;color:#888}.manga-detail-title .manga-tag-cloud{margin:10px 0}.manga-content-tabs{display:flex;gap:22px;align-items:center;border-bottom:1px solid #eee;margin-bottom:14px}.manga-content-tabs button{background:transparent;padding:12px 4px;border-radius:0;border-bottom:2px solid transparent;font-size:16px;color:#aaa}.manga-content-tabs [aria-selected=true]{color:#222;border-bottom-color:#ef4747;font-weight:650}.manga-episode-groups{display:flex;gap:8px;overflow-x:auto;margin:12px 0}.manga-episode-groups button{background:transparent;color:#aaa;white-space:nowrap;font-size:13px;padding:6px 8px;min-height:35px}.manga-episode-groups [aria-pressed=true]{color:#222;font-weight:700}.manga-episode-grid{padding-bottom:12px}.manga-episode-grid button{border-radius:9px;background:#f7f7f7;min-height:54px}.manga-episode-grid [aria-current=true]{background:#fff1e7;color:#f18731}.manga-synopsis{color:#777;line-height:1.9;white-space:pre-wrap;font-size:14px;padding:8px 0 20px}.manga-detail-direction .manga-own-direction{max-width:none;width:100%;background:#f6f6f6!important;color:#555!important;margin-top:14px}.manga-related-heading{margin:28px 0 18px;font-size:19px!important}.manga-detail-footer{position:absolute;bottom:calc(64px + env(safe-area-inset-bottom));left:0;right:0;display:flex;align-items:center;gap:14px;padding:12px 20px;background:#fff;box-shadow:0 -1px 0 #eee;z-index:7}.manga-detail-footer>[data-manga=follow]{display:flex;flex-direction:column;gap:2px;min-width:60px;background:transparent;padding:0 8px;font-size:11px}.manga-detail-footer [aria-pressed=true]{color:#f18731}.manga-app .manga-detail-play{background:#ef4747;color:#fff;flex:1;min-height:46px;border-radius:25px}.manga-detail-play .ui-icon{width:20px;height:20px}.manga-sheet-follow{width:100%;margin-top:15px;background:#ff8b29!important;color:white!important}.manga-sheet-body>button{margin:5px}.manga-sheet-body pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px}.manga-comment-form small{display:block;margin-top:10px;font-size:11px}.manga-settings-group{border-top:1px solid #eee;border-bottom:1px solid #eee;margin:18px 0 20px}.manga-settings-group label{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 0;border-bottom:1px solid #eee}.manga-settings-group label:last-child{border-bottom:0}.manga-settings-group select{max-width:150px;padding:9px;margin:0;background:#f6f6f6;color:#333;border:0}.manga-settings-group input[type=checkbox]{width:21px;height:21px;margin:0;accent-color:#ef4747}.manga-help-item{border-bottom:1px solid #eee}.manga-help-item summary{border:0;background:transparent;padding:17px 0;font-size:15px;font-weight:550;border-radius:0}.manga-help-item p{font-size:14px;color:#777;line-height:1.9;padding:0 0 16px}.manga-ended-host{position:absolute;inset:0;z-index:10;pointer-events:none;display:flex;align-items:center;justify-content:center}.manga-end-card{pointer-events:auto;width:min(90%,420px);border-radius:18px;background:#fffffff5;color:#222;padding:24px;box-shadow:0 12px 60px #0005;text-align:center;margin:0}.manga-end-card h2{font-size:21px}.manga-end-card p{color:#888;font-size:14px}.manga-end-card button{display:flex;width:100%;margin:10px 0 0}.manga-app .manga-end-play{background:#ef4747;color:#fff}.manga-end-card .manga-own-direction{max-width:none;background:#f6f6f6!important;color:#555!important}.manga-screen-exit .ui-icon{width:24px;height:24px}.manga-app[data-large-text=true]{font-size:17px}.manga-app[data-large-text=true] .manga-grid h3,.manga-app[data-large-text=true] .manga-comment p{font-size:17px}
.manga-app[data-theme=dark]:not([data-view=home]){background:#171717;color:#ededed}.manga-app[data-theme=dark] .manga-bottom{background:#1c1c1c;border-color:#333;color:#aaa}.manga-app[data-theme=dark] .manga-bottom [aria-current=page]{color:#ff925d}.manga-app[data-theme=dark] .manga-grid .manga-cover,.manga-app[data-theme=dark] .manga-settings-group select,.manga-app[data-theme=dark] .manga-tag-cloud>button,.manga-app[data-theme=dark] .manga-tag-cloud>span{background:#292929;color:#aaa}.manga-app[data-theme=dark] .manga-search input,.manga-app[data-theme=dark] .manga-episode-grid button,.manga-app[data-theme=dark] .manga-danmaku-options select,.manga-app[data-theme=dark] .manga-mine-links>button,.manga-app[data-theme=dark] .manga-history-tools>button,.manga-app[data-theme=dark] .manga-history-edit>button,.manga-app[data-theme=dark] .manga-history-card button,.manga-app[data-theme=dark] [data-manga=history-undo]{background:#252525;color:#ddd}.manga-app[data-theme=dark] .manga-detail-top,.manga-app[data-theme=dark] .manga-detail-footer{background:#1c1c1cf5;color:#eee}.manga-app[data-theme=dark] .manga-content-tabs [aria-selected=true]{color:#fff}.manga-app[data-theme=dark] .manga-episode-grid [aria-current=true]{background:#3e2d24;color:#ffc16e}.manga-app[data-theme=dark] .manga-sheet,.manga-app[data-theme=dark] .manga-end-card{background:#252525;color:#eee}.manga-app[data-theme=dark] .manga-sheet input,.manga-app[data-theme=dark] .manga-sheet textarea{background:#333;color:#eee;border-color:#444}.manga-app[data-theme=dark] .manga-avatar{background:#303030}.manga-app[data-theme=dark] .manga-settings-group,.manga-app[data-theme=dark] .manga-settings-group label,.manga-app[data-theme=dark] .manga-help-item,.manga-app[data-theme=dark] .manga-content-tabs,.manga-app[data-theme=dark] .manga-comment{border-color:#333}
body[data-page=home] #notice:not(:empty),body[data-page=short-drama] #notice:not(:empty),body[data-page=following] #notice:not(:empty){position:fixed;left:16px;right:16px;top:8px;z-index:60;margin:0 auto;font-size:13px;max-width:700px}
@media(min-width:800px){.manga-detail{display:grid;grid-template-columns:360px 1fr;gap:0 28px;padding-top:24px}.manga-detail-art{grid-column:1;grid-row:1/4}.manga-detail-title,.manga-content-tabs,.manga-episode-groups,.manga-episode-grid,.manga-synopsis,.manga-detail-direction{grid-column:2}.manga-detail-title{padding-top:0}.manga-detail-direction{margin-bottom:20px}.manga-detail .manga-related-heading,.manga-detail>.manga-grid{grid-column:1/-1}.manga-detail-footer{padding-left:max(24px,calc((100vw - 960px)/2));padding-right:max(24px,calc((100vw - 960px)/2))}}
@media(max-width:600px) and (min-height:581px){.manga-actions{bottom:145px;gap:0}.manga-actions button{min-height:47px}.manga-actions .ui-icon{width:27px;height:27px}.manga-detail-top{padding:6px 14px}.manga-detail{padding-left:18px;padding-right:18px}.manga-detail-title h1{font-size:23px}.manga-detail-footer{gap:8px;padding:10px 16px}}
/* Native interactive controls own their gestures and save slots. */
.manga-app[data-native-interactive=true] .manga-stage{top:80px;bottom:210px;left:0;transform:none;width:100%;height:auto;aspect-ratio:auto;max-width:none}.manga-app[data-native-interactive=true] .manga-actions{display:none}.manga-app[data-native-interactive=true] .manga-feed-copy p,.manga-app[data-native-interactive=true] .manga-feed-copy .manga-episodes{display:none}.manga-app[data-native-interactive=true] .manga-feed-copy h2{font-size:15px;margin-bottom:7px}.manga-app[data-native-interactive=true] .manga-watch-tools{margin-bottom:4px}.manga-app[data-native-interactive=true] .manga-watch-tools button{min-height:36px;font-size:12px}.manga-app[data-native-interactive=true] .manga-feed-switch{margin-top:0}.manga-app[data-native-interactive=true] .manga-stage{touch-action:auto}
body[data-page=home] #notice:empty,body[data-page=short-drama] #notice:empty,body[data-page=following] #notice:empty{display:none}

.manga-app[data-view=home] [data-manga=debug-capture]{background:#292929;color:#eee}

/* Give the original interactive viewport room; auxiliary feed controls stay out of it. */
@media(max-width:600px) and (orientation:portrait){
 .manga-app[data-native-interactive=true] .manga-stage{top:80px;bottom:calc(64px + env(safe-area-inset-bottom))}
 .manga-app[data-native-interactive=true] .manga-meta{position:absolute;inset:0;pointer-events:none;padding:0}
 .manga-app[data-native-interactive=true] .manga-feed-copy{position:static;margin:0;padding:0}
 .manga-app[data-native-interactive=true] .manga-feed-copy h2,.manga-app[data-native-interactive=true] .manga-feed-switch,.manga-app[data-native-interactive=true] [data-manga=debug-capture]{display:none}
 .manga-app[data-native-interactive=true] .manga-watch-tools{position:absolute;right:100px;top:20px;margin:0;pointer-events:auto}
 .manga-app[data-native-interactive=true] .manga-watch-tools button{min-height:36px;padding:6px;font-size:11px;margin:0}
 .manga-app[data-native-interactive=true] .manga-watch-tools .ui-icon{width:15px;height:15px}
}

/* Keep relocated fullscreen above the feed header and notices away from playback. */
@media(max-width:600px) and (orientation:portrait){
 .manga-app[data-native-interactive=true] .manga-watch-tools{z-index:3}
 .manga-app[data-native-interactive=true]:not(.manga-expanded) .manga-status{top:154px;bottom:auto;max-height:clamp(20px,calc(50dvh - 28.125vw - 154px),68px);overflow:hidden}
}

/* Timed comments occupy their own strip; original faces/subtitles/options remain unobstructed. */
.manga-danmaku-ribbon{position:absolute;inset:0 0 auto;height:50px;overflow:hidden;background:#111;color:#fff;pointer-events:none;z-index:1;contain:layout paint}
.manga-danmaku-ribbon[hidden]{display:none}.manga-danmaku-ribbon span{position:absolute;left:0;white-space:nowrap;font-size:14px;line-height:24px;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.manga-stage.manga-with-danmaku .manga-original{position:absolute;inset:var(--danmaku-strip-height,50px) 0 0;height:auto;width:100%}
.manga-auth-form,.manga-report-form{display:grid;gap:12px}.manga-auth-form label,.manga-report-form label{display:grid;gap:5px}.manga-auth-error:empty{display:none}.manga-auth-error{color:#b42318}.manga-moderation-item{border-bottom:1px solid #ddd;padding:12px 0}.manga-moderation-item blockquote{white-space:pre-wrap;margin:8px 0}.manga-moderation-item button{margin:4px}.manga-moderation-item [data-state]{font-size:12px;color:#777}
.manga-account-entry{max-width:430px;margin:5vh auto;padding:24px;background:var(--manga-surface,#fff);color:var(--manga-text,#222);border-radius:16px}.manga-review-form{display:grid;gap:12px}.manga-review-form label{display:grid;gap:6px}.manga-report-form select{width:100%;min-height:42px}.manga-comment small{display:block}.manga-comment button{margin-right:14px}
.manga-sheet-body{min-width:0}.manga-content-tabs>button{min-width:0}.manga-sheet-body>*{max-width:100%;box-sizing:border-box}.manga-episode-grid{min-width:0}

/* Library, replies and export panels share the same readable layout. */
.manga-mine-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.manga-mine-links button{display:flex;align-items:center;gap:10px;min-height:70px;padding:16px;border-radius:14px}
.manga-history-tools,.manga-history-edit{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0}.manga-history-tools .manga-content-tabs{flex:1;min-width:240px}.manga-history-tools button{font-size:13px}.manga-history-card{display:grid;grid-template-columns:140px minmax(0,1fr);gap:16px;position:relative;padding:16px 0;border-bottom:1px solid #8883;align-items:center}.manga-history-card h3{margin:0 0 6px;font-size:17px}.manga-history-card p{font-size:13px;color:#888;margin:0 0 8px}.manga-history-cover{aspect-ratio:16/10;overflow:hidden;border-radius:10px;background:#8881;display:grid;place-items:center}.manga-history-cover img{display:block;width:100%;height:100%;object-fit:contain}.manga-history-card progress{display:block;width:100%;height:5px;margin:8px 0 12px;accent-color:#ed4343}.manga-history-card button{margin-right:8px}.manga-history-check{position:absolute;left:4px;top:20px;z-index:1}.manga-history-check input{width:24px;height:24px;min-height:0;accent-color:#ed4343}
.manga-comment:has(.manga-comment-avatar){display:flex;gap:10px;margin:0}.manga-comment-avatar{width:34px;height:34px;flex:0 0 34px;border-radius:50%;display:grid;place-items:center;background:#8882;color:#777;font-size:13px}.manga-comment-copy{min-width:0;flex:1}.manga-comment-copy p{white-space:pre-wrap;overflow-wrap:anywhere}.manga-replies{margin-left:40px;padding-left:8px;border-left:2px solid #8882}.manga-replies .manga-comment[data-reply]{margin-left:0}.manga-comment-summary{font-size:13px;color:#888}.manga-review-version{font-size:12px;color:#888}.manga-review-version summary{font-size:12px;min-height:32px;padding:4px;background:transparent}.manga-review-version p{overflow-wrap:anywhere}
.manga-share-poster{display:block;width:min(100%,360px);height:auto;margin:0 auto 16px;border-radius:12px}.manga-poster-save{display:block;text-align:center;padding:13px;border-radius:10px;background:#ed4343;color:#fff;text-decoration:none;margin:12px 0}.manga-auth-form [type=submit],.manga-report-form [type=submit],.manga-review-form [type=submit]{background:#ed4343;color:#fff}
.manga-sheet,.manga-sheet-body{min-width:0;max-width:100%;box-sizing:border-box}.manga-sheet-body>button{box-sizing:border-box;max-width:100%}.manga-episode-grid>*{min-width:0}.manga-content-tabs{min-width:0}.manga-sheet-body .manga-content-tabs button{flex:1;min-width:0;margin-inline:0}.manga-sheet-body .manga-episode-grid{width:100%}.manga-sheet-body>button{margin-left:0;margin-right:0}
.manga-screen-exit{padding:10px;min-width:44px;min-height:44px}.manga-app:fullscreen{width:100%;height:100%;max-width:none;max-height:none}.manga-app:-webkit-full-screen{width:100%;height:100%;max-width:none;max-height:none}
@media(max-width:600px){.manga-history-card{grid-template-columns:104px minmax(0,1fr);gap:12px}.manga-history-tools .manga-content-tabs{min-width:100%}.manga-mine-links button{padding:12px;font-size:14px}.manga-sheet{padding-inline:16px}.manga-sheet .manga-content-tabs{margin-inline:0}.manga-comment-avatar{width:28px;height:28px;flex-basis:28px}.manga-replies{margin-left:30px}.manga-history-card button{font-size:13px;min-height:40px;padding:8px 12px}}

/* Ordinary portrait watching: reserve the whole original player for its own controls. */
@media(max-width:600px) and (orientation:portrait){
 .manga-app[data-view=home].has-player:not([data-native-interactive=true]):not(.manga-expanded) .manga-stage{top:72px;width:100%}
 .manga-app[data-view=home].has-player:not([data-native-interactive=true]):not(.manga-expanded) .manga-meta{inset:calc(72px + 56.25vw) 0 calc(64px + env(safe-area-inset-bottom));overflow-y:auto;overscroll-behavior:contain;pointer-events:auto;padding:14px 20px 20px}
 .manga-app[data-view=home].has-player:not([data-native-interactive=true]):not(.manga-expanded) .manga-actions{position:static;flex-direction:row;justify-content:space-between;align-items:center;gap:4px;margin:0 0 14px;padding:0}
 .manga-app[data-view=home].has-player:not([data-native-interactive=true]):not(.manga-expanded) .manga-actions button{flex:1;min-width:0;text-shadow:none}
 .manga-app[data-view=home].has-player:not([data-native-interactive=true]):not(.manga-expanded) .manga-feed-copy{position:static}
 .manga-app[data-view=home].has-player:not([data-native-interactive=true]):not(.manga-expanded) .manga-feed-copy h2{margin-right:0}
}

/* A browser may drop native fullscreen on screen-off and return in landscape. */
@media(orientation:landscape) and (max-height:580px){
 .manga-app[data-view=home][data-native-interactive=true]:not(.manga-expanded) .manga-feed-head{display:none}
 .manga-app[data-view=home][data-native-interactive=true]:not(.manga-expanded) .manga-stage{top:0!important;bottom:calc(64px + env(safe-area-inset-bottom))!important;left:0!important;transform:none!important;width:100%!important;height:auto!important;aspect-ratio:auto}
 .manga-app[data-view=home][data-native-interactive=true]:not(.manga-expanded) .manga-meta{inset:0;pointer-events:none}
 .manga-app[data-view=home][data-native-interactive=true]:not(.manga-expanded) .manga-feed-copy{position:static;margin:0;padding:0}
 .manga-app[data-view=home][data-native-interactive=true]:not(.manga-expanded) .manga-feed-copy h2,.manga-app[data-view=home][data-native-interactive=true]:not(.manga-expanded) .manga-feed-switch{display:none}
 .manga-app[data-view=home][data-native-interactive=true]:not(.manga-expanded) .manga-watch-tools{position:absolute;right:100px;top:12px;z-index:3;pointer-events:auto;margin:0}
 .manga-app[data-view=home][data-native-interactive=true]:not(.manga-expanded) .manga-watch-tools button{min-height:36px;padding:6px;font-size:11px;margin:0}
}

.manga-danmaku-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;min-width:0;margin:12px 0;padding:12px;border:1px solid #8885;border-radius:10px}.manga-danmaku-options label{display:grid;gap:4px;min-width:0}.manga-danmaku-options select{width:100%;min-width:0;min-height:44px;border:1px solid #8885;border-radius:8px;padding:6px 8px;background:#f6f6f6;color:#222;font:inherit}

/* Only the retry control accepts touches; the status text remains transparent to playback gestures. */
.manga-status>button{pointer-events:auto;display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;margin-left:8px;padding:8px 12px;border:1px solid #fff;border-radius:8px;background:#fff;color:#222;font-size:14px;font-weight:600;cursor:pointer}.manga-status>button:focus-visible{outline:2px solid #fff;outline-offset:3px}.manga-status>button:disabled{opacity:.65;cursor:wait}

.manga-app .manga-comment .manga-comment-like{min-height:44px;min-width:44px;color:#666}.manga-app .manga-comment .manga-comment-like[aria-pressed=true]{color:#a92c23;font-weight:600}.manga-app[data-theme=dark] .manga-comment .manga-comment-like{color:#ddd}.manga-app[data-theme=dark] .manga-comment .manga-comment-like[aria-pressed=true]{color:#ffb4a8}.manga-comment-like-count{font-size:12px;margin:0 8px}
.manga-report-evidence{border:1px solid #aaa;border-radius:10px;padding:12px;min-width:0}.manga-report-evidence legend{font-size:14px;padding:0 5px}.manga-report-evidence input[type=file]{max-width:100%;min-height:44px;font-size:13px}.manga-report-evidence-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;border-top:1px solid #aaa7;margin-top:10px;padding-top:10px}.manga-report-evidence-item p{font-size:13px;margin:0}.manga-report-evidence-item img{grid-column:1/-1;max-width:100%;width:160px;max-height:120px;object-fit:contain}.manga-report-evidence-item button{min-height:44px;font-size:13px}.manga-report-evidence-links{display:flex;gap:10px;flex-wrap:wrap;margin:10px 0;font-size:13px}.manga-report-evidence-links a{text-decoration:underline;min-height:32px;display:inline-flex;align-items:center}

.manga-app .manga-end-card button:not(.manga-end-play):not(.manga-own-direction){background:#f2f2f2;color:#333;border:1px solid #d7d7d7;min-height:44px;justify-content:center}.manga-app[data-theme=dark] .manga-end-card button:not(.manga-end-play):not(.manga-own-direction){background:#3a3a3a;color:#f2f2f2;border-color:#666}

.manga-original[hidden]{display:none!important}
