/* V21: native playback in an unobstructed device, plus clear subpage return. */
.page-return{width:calc(100% - 80px);margin:12px auto 0;display:flex;align-items:center;min-height:44px}
.page-back{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;min-width:88px;padding:8px 14px;border:1px solid #dedede;border-radius:25px;color:#141414;background:#fff;font-size:13px;font-weight:600;line-height:1.3;transition:border-color .2s,color .2s}
.page-back>span:first-child{font-size:23px;font-weight:400;line-height:1}.page-back:hover{border-color:var(--orange);color:var(--orange)}
.watch-dialog{width:min(1040px,calc(100vw - 24px));height:min(960px,calc(100vh - 24px));height:min(960px,calc(100dvh - 24px));max-width:calc(100vw - 24px);max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);margin:auto;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:hidden;color:#fff}
.watch-dialog[open]{display:grid;grid-template-rows:52px minmax(0,1fr) auto;gap:8px}
.watch-dialog::backdrop{background:#08090bed;backdrop-filter:blur(6px)}
.watch-dialog-heading{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;height:52px;min-height:52px;padding:4px 8px 4px 16px}
.watch-dialog h2{font-size:15px;line-height:1.4;font-weight:600;max-width:calc(100% - 58px)}
.watch-dialog #watch-close{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-width:44px;background:#ffffff15;border:1px solid #ffffff30;border-radius:50%;color:#fff;font-size:28px;line-height:1}
.watch-player-stage{display:grid;place-items:center;min-width:0;min-height:0;width:100%;height:100%;padding:4px 12px}
.watch-device{display:flex;flex-direction:column;position:relative;height:100%;width:auto;aspect-ratio:9/19;max-width:100%;min-width:0;min-height:0;padding:7px;background:#08090c;border:2px solid #78797d;border-radius:33px;box-shadow:inset 0 0 0 2px #15171b,0 0 0 1px #000,10px 15px 45px #0008;overflow:hidden;color:#fff}
.watch-device-top{display:flex;align-items:center;gap:7px;flex:0 0 37px;min-height:37px;padding:4px 12px;background:#101116;border-radius:24px 24px 0 0}
.watch-device-top strong{display:inline-flex;align-items:center;min-height:25px;font-size:12px;line-height:1.2;font-weight:700;letter-spacing:0;color:#fff}
.watch-platform-mark{width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:#9da1aa}
.watch-speaker{display:block;margin-left:auto;width:35px;height:4px;border-radius:5px;background:#34363d;box-shadow:inset 0 1px 2px #000}
.watch-device video,.watch-dialog .watch-device video,.project-real-media .watch-device video{display:block;flex:1 1 auto;min-height:0;max-height:none;max-width:100%;width:100%;height:0;object-fit:contain;background:#000;border-radius:0;padding:0}
.watch-device-bottom{display:flex;align-items:center;justify-content:center;flex:0 0 20px;min-height:20px;background:#101116;border-radius:0 0 24px 24px}
.watch-device-bottom>span{display:block;height:4px;width:29%;max-width:100px;background:#f0f0f3;border-radius:5px;opacity:.85}
.watch-dialog[data-platform="snapchat"] .watch-device-top strong,.watch-device[data-platform="snapchat"] .watch-device-top strong{background:#fffc00;color:#111;padding:4px 7px;border-radius:7px}
.watch-dialog[data-platform="snapchat"] .watch-platform-mark,.watch-device[data-platform="snapchat"] .watch-platform-mark{background:#fffc00}
.watch-dialog[data-platform="tiktok"] .watch-device-top strong,.watch-device[data-platform="tiktok"] .watch-device-top strong{text-shadow:-.8px 0 #25f4ee,.8px .7px #fe2c55}
.watch-dialog[data-platform="tiktok"] .watch-platform-mark,.watch-device[data-platform="tiktok"] .watch-platform-mark{background:#25f4ee;box-shadow:2px 1px 0 #fe2c55}
.watch-dialog[data-orientation="landscape"] .watch-device{width:100%;height:100%;aspect-ratio:auto;max-width:960px;max-height:650px;border-radius:28px}
.watch-dialog #watch-caption{height:auto;min-height:28px;padding:3px 16px 8px;font-size:12px;line-height:1.5;color:#c5c7cf;text-align:center}
.project-real-media .project-watch-device{height:min(850px,82vh);height:min(850px,82dvh);width:auto;max-width:100%;margin:12px auto}
.project-real-media .project-watch-device[data-orientation="landscape"]{width:min(100%,980px);height:min(650px,65vh);height:min(650px,65dvh);aspect-ratio:auto}
@media(max-width:760px){.page-return{width:calc(100% - 40px);margin-top:12px}.watch-dialog{width:calc(100vw - 16px);height:calc(100vh - 16px);height:calc(100dvh - 16px);max-width:calc(100vw - 16px);max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px)}.watch-dialog[open]{grid-template-rows:52px minmax(0,1fr) auto;gap:4px}.watch-dialog-heading{padding-left:10px}.watch-dialog h2{font-size:14px}.watch-player-stage{padding:2px 8px}.watch-device{max-width:100%;border-radius:29px;padding:5px}.watch-device-top{padding-left:9px;padding-right:9px;flex-basis:34px;min-height:34px}.watch-device-top strong{font-size:12px}.watch-dialog #watch-caption{font-size:11px;min-height:26px;padding:3px 8px 7px}.watch-dialog[data-orientation="landscape"] .watch-device{height:auto;aspect-ratio:16/11;max-height:100%;border-radius:22px}.project-real-media .project-watch-device{max-width:100%;height:min(760px,77vh);height:min(760px,77dvh);margin:6px auto}.project-real-media .project-watch-device[data-orientation="landscape"]{width:100%;height:auto;aspect-ratio:16/11;max-height:65dvh}}
@media(max-height:500px) and (min-width:600px){.watch-dialog[open]{grid-template-rows:44px minmax(0,1fr) 22px;gap:2px}.watch-dialog-heading{height:44px;min-height:44px}.watch-dialog #watch-caption{min-height:22px;padding:1px 10px}.watch-device{padding:4px;border-radius:23px}.watch-device-top{flex-basis:28px;min-height:28px}.watch-device-bottom{flex-basis:14px;min-height:14px}.watch-dialog[data-orientation="landscape"] .watch-device{max-width:760px}}
@media(prefers-reduced-motion:reduce){.page-back{transition:none}}

/* V29: a second return control at the natural end of each subpage. */
.page-return-bottom{margin:40px auto 64px;padding-top:24px;border-top:1px solid #e4e1dc}
.page-back-bottom{min-height:52px;min-width:132px;padding:12px 24px;gap:12px;border-color:var(--orange);background:var(--orange);color:#141414;font-size:15px;border-radius:28px}
.page-back-bottom svg{width:24px;height:24px;flex:0 0 24px}
.page-back-bottom:hover{background:#141414;border-color:#141414;color:#fff}
.page-back-bottom:focus-visible{outline:3px solid #141414;outline-offset:4px}
@media(max-width:760px){.page-return-bottom{margin-top:28px;margin-bottom:40px;padding-top:20px}}
