/* Dedicated portrait shell; controls bind the existing single video. Desktop
   geometry preserves D's measured CSS viewport; missing upstream CSS is not
   claimed as pixel equality, and there is no original mobile baseline. */
body[data-route-type="watch"] #route-view{background:#0b0b0a}
.watch-view{background:none;padding:16px 18px 60px}.watch-stage{max-width:1040px;margin:auto;min-height:640px;background:#030605;border-radius:8px}.watch-columns{display:grid;grid-template-columns:minmax(0,360px) minmax(0,300px);gap:20px;margin-left:20.5%;align-items:start}
.watch-player{position:relative;isolation:isolate;width:100%;aspect-ratio:9/16;min-width:0;border-radius:12px;background:#08090b;box-shadow:0 0 40px #0008}.watch-player>video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#08090b;border-radius:inherit}.watch-player-heading{position:absolute;z-index:2;inset:0 0 auto;display:flex;align-items:start;gap:12px;padding:12px;background:linear-gradient(#222228ee,#17171abf);border-radius:12px 12px 0 0;min-height:82px;pointer-events:none}.watch-player-heading>a{pointer-events:auto;display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;border-radius:50%;background:#0005}.watch-player-heading>a svg{width:25px;height:25px}.watch-player-heading h1{font:700 17px/1.4 system-ui;margin:2px 0;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.watch-player-heading p{margin:0;font-size:13px;line-height:20px;color:#ddd}
.watch-message{position:absolute;inset:42% 14px auto;text-align:center;z-index:2;font-size:13px;overflow-wrap:anywhere;pointer-events:none}.watch-message p{margin:0 0 14px;line-height:1.7;color:#ccc}.watch-launch{display:grid;place-items:center;width:72px;height:72px;margin:0 auto;border-radius:50%;background:#0005;pointer-events:auto}.watch-launch svg{width:32px;height:32px;fill:currentColor;stroke:none}.watch-player[data-playback-state="playing"] .watch-message{display:none}.watch-player[data-playback-state="error"] .watch-message{padding:16px;border-radius:12px;background:#111e;border:1px solid #ffffff20}.watch-player[data-playback-state="error"] .watch-message p{margin:0}.watch-player[data-playback-state="error"] .watch-launch{display:none}
.watch-episode-nav{position:absolute;right:calc(100% + 20px);top:42%;display:grid;gap:12px}.watch-episode-nav>a,.watch-episode-nav>span{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;border:1px solid #ffffff25;background:#222326;color:#eee}.watch-episode-nav svg{width:28px;height:28px;stroke-width:2}.watch-episode-nav>span{opacity:.35}.rotate-up,.rotate-back{transform:rotate(180deg)}
.watch-side-tools{position:absolute;right:calc(env(safe-area-inset-right,0px) + 8px);bottom:calc(env(safe-area-inset-bottom,0px) + 108px);z-index:3;display:flex;flex-direction:column;align-items:center;gap:12px}.watch-side-tools button{text-shadow:0 1px 4px #000;background:none;border:0;display:flex;flex-direction:column;align-items:center;gap:2px;min-width:52px;min-height:52px;padding:0;font-size:12px}.watch-side-tools button svg{box-sizing:border-box;background:#00000059;border-radius:50%;width:42px;height:42px;padding:10px;fill:none;stroke:currentColor;stroke-width:2}.watch-volume{display:flex;position:relative}.watch-volume-pop{inset-inline-end:100%;opacity:0;pointer-events:none;background:#0009;border-radius:20px;align-items:center;height:40px;padding:0 18px 0 14px;transition:opacity .15s;display:flex;position:absolute;top:21px;transform:translateY(-50%)}.watch-volume:hover .watch-volume-pop,.watch-volume:focus-within .watch-volume-pop{opacity:1;pointer-events:auto}.watch-volume-pop input[type=range]{width:110px;min-width:110px;height:24px;box-shadow:none;accent-color:var(--brand,#e11d48);cursor:pointer;background:none;border:0;border-radius:0;margin:0;padding:0}
.watch-controls{position:absolute;inset:auto 0 0;z-index:3;background:linear-gradient(transparent,#08090be8 55%);padding:24px 16px 14px;border-radius:0 0 12px 12px}.watch-progress{display:block;margin:0 0 12px}.watch-progress input{display:block;width:100%;margin:0;accent-color:#fff;height:14px;cursor:pointer}.watch-progress input:disabled{cursor:default;opacity:.4}.watch-control-row{display:flex;gap:10px;align-items:center}.watch-control-row button{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#ffffff14;padding:8px}.watch-control-row button svg{width:23px;height:23px;fill:none}.watch-control-row button span{font-size:11px}.watch-control-row output{font-size:12px;color:#ddd;white-space:nowrap}.watch-control-row [data-watch-fullscreen]{margin-left:auto}.watch-controls button:disabled{opacity:.4;cursor:default}.watch-controls [data-toggle-play][hidden]{display:none}.watch-restore{position:absolute;right:calc(env(safe-area-inset-right,0px) + 16px);bottom:calc(env(safe-area-inset-bottom,0px) + 20px);z-index:5;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:0;border-radius:50%;padding:0;background:#00000059;color:#fff;opacity:.6}.watch-restore:hover,.watch-restore:focus-visible{opacity:1}.watch-restore svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2}.watch-player[data-ui-hidden="true"]>.watch-player-heading,.watch-player[data-ui-hidden="true"]>.watch-controls,.watch-player[data-ui-hidden="true"]>.watch-side-tools{opacity:0;visibility:hidden;pointer-events:none}.watch-surface{position:absolute;inset:0;z-index:1;width:100%;height:100%;background:none;padding:0;border:0;cursor:pointer}.watch-minimal-progress{position:absolute;z-index:5;inset-inline:0;bottom:env(safe-area-inset-bottom,0px);height:3px;background:#ffffff38;pointer-events:none}.watch-minimal-progress>span{height:100%;display:block;background:#e11d48}
.watch-sidebar{display:grid;gap:12px;min-width:0}.watch-card{background:#111214;border-radius:14px;padding:18px 16px}.watch-card h2{font:700 17px/1.5 "Songti SC",serif;margin:0 0 14px;overflow-wrap:anywhere}.watch-card h2 small{font:12px/1.5 system-ui;color:#aaa;margin-left:7px;white-space:nowrap}.watch-view .episode-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.watch-view .episode-grid a{height:64px;border:1px solid #3b3c42;background:#232428;border-radius:10px}.watch-view .episode-grid strong{font:600 16px/1.5 system-ui}.watch-view .episode-grid span{display:inline-flex;align-items:center;justify-content:center;gap:2px;font-size:10px;color:#d39a9d;background:#ffffff0b;border-radius:8px;padding:0 4px;max-width:100%;overflow-wrap:anywhere;text-align:center}.watch-view .episode-grid span svg{width:9px;height:9px}.watch-view .episode-grid .free-episode span{color:#8ac7a9}.watch-view .episode-grid .current-episode{background:#4a222b;border-color:#fa2753;box-shadow:inset 0 0 0 2px #70293455}
.watch-story h2{font-size:16px;margin-bottom:6px}.watch-description summary{cursor:pointer;list-style:none;font-size:13px;line-height:22px;color:#ccc}.watch-description summary::-webkit-details-marker{display:none}.watch-description-preview{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}.watch-description-kind{color:#a99da1}.watch-expand{display:block;color:#ff6985;margin-top:4px}.watch-description[open] .watch-description-preview{display:none}.watch-description[open] .watch-expand{font-size:0}.watch-description[open] .watch-expand:after{content:'收起';font-size:13px}.watch-description p{font-size:13px;line-height:1.8;margin:8px 0;overflow-wrap:anywhere;color:#ccc}.watch-facts{display:flex;flex-wrap:wrap;gap:6px 12px;margin:12px 0;color:#aaa;font-size:12px}.watch-story-actions{display:flex;gap:8px;align-items:center;justify-content:space-between}.watch-story-nav{display:flex;gap:8px}.watch-story-nav a{display:inline-flex;align-items:center;gap:7px;border:1px solid #ffffff25;border-radius:24px;padding:7px 12px;font-size:12px}.watch-story-nav svg{width:16px;height:16px}.watch-share{display:grid;place-items:center;flex-shrink:0;width:40px;height:40px;border-radius:50%;border:1px solid #ffffff25;background:#ffffff08}.watch-share svg{width:20px;height:20px}.watch-view a:focus-visible,.watch-view button:focus-visible,.watch-view summary:focus-visible,.watch-view input:focus-visible{outline:2px solid #ff5476;outline-offset:3px}.watch-nojs{position:absolute;bottom:80px;left:12px;right:12px;font-size:12px;background:#151518e8;padding:8px;color:#ccc}.watch-player:fullscreen{width:100vw;height:100vh;max-width:none;aspect-ratio:auto;border-radius:0;margin:0;overflow:hidden}.watch-player:fullscreen>video{border-radius:0}.watch-player [data-watch-control-status]{font-size:12px;color:#ffd1dc;margin:8px 0 0;text-align:center}
@media(min-width:761px) and (max-width:1100px){.watch-columns{margin-left:12%;grid-template-columns:minmax(0,360px) minmax(0,300px);margin-right:18px}.watch-stage{min-height:0}}
@media(max-width:760px){.watch-view{padding:8px 12px 36px}.watch-stage{min-height:0}.watch-columns{display:flex;flex-direction:column;margin:0;gap:16px}.watch-player{max-width:360px;width:calc(100% - 44px);margin-left:44px}.watch-episode-nav{right:calc(100% + 6px);gap:10px}.watch-episode-nav>a,.watch-episode-nav>span{width:34px;height:34px}.watch-episode-nav svg{width:24px;height:24px}.watch-player-heading{gap:8px;padding:8px;min-height:70px}.watch-player-heading>a{width:34px;height:34px}.watch-player-heading h1{font-size:14px}.watch-player-heading p{font-size:12px}.watch-sidebar{width:100%}.watch-card{padding:16px}.watch-controls{padding:20px 10px 10px}.watch-message{left:10px;right:10px;font-size:12px}.watch-control-row{gap:8px}.watch-control-row output{font-size:11px}.watch-control-row button{width:36px;height:36px}.watch-view .episode-grid a{height:60px}.watch-nojs{bottom:75px}}

/* VerticalPlayer source: 44px target, 18px fullscreen glyph, including mobile. */
.watch-controls [data-watch-fullscreen]{min-width:44px;min-height:44px;flex-shrink:0;background:#ffffff24}.watch-controls [data-watch-fullscreen] svg{width:18px;height:18px}
