:root{color-scheme:dark;--bg:#101317;--surface:#1d242d;--muted:#aebcc9;--line:#33404d;--accent:#a1f2d1;--header:58px}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:#f4f7fa;font:16px/1.5 system-ui,-apple-system,"Hiragino Sans","Yu Gothic",sans-serif}
a,button{font:inherit;color:inherit;touch-action:manipulation}
a{text-decoration:none}button{cursor:pointer}a:focus-visible,button:focus-visible{outline:3px solid #8ddcfe;outline-offset:3px}
header{height:var(--header);padding:0 clamp(14px,4vw,64px);display:flex;align-items:center;gap:14px;border-bottom:1px solid #29313a}
header .back{font-size:.83rem;color:#c5cdd5;display:flex;align-items:center;gap:6px;margin-right:10px}
.back span{font-size:1.8em;line-height:1}.platform{color:var(--muted);font-size:12px;border-left:1px solid var(--line);padding-left:14px;font-weight:600}
h1{margin:0;font-size:clamp(18px,2.5vw,25px);letter-spacing:-.04em}h1 i{display:inline-grid;place-items:center;color:#11171a;background:var(--accent);width:24px;height:29px;border-radius:7px;transform:rotate(-7deg);font:13px/1 sans-serif;vertical-align:middle;margin-right:3px}
main{max-width:1100px;margin:auto;min-height:calc(100svh - var(--header));padding:20px clamp(12px,3vw,44px);display:grid;grid-template-columns:minmax(200px,1fr) minmax(265px,330px);align-items:center;gap:clamp(20px,4vw,62px)}
.stage{display:grid;place-items:center;min-width:0;touch-action:pan-x}
.portrait{width:min(100%,calc((100svh - var(--header) - 40px)*.5625),560px);min-width:min(200px,100%);aspect-ratio:9 / 16;background:#070809;border:1px solid #2c333b;border-radius:12px;overflow:hidden}
.portrait iframe,.portrait #player{width:100%;height:100%;display:block;border:0}
aside{width:100%;touch-action:pan-x}
.label{color:var(--accent);font-size:12px;font-weight:700;letter-spacing:.05em}h2{font-size:clamp(23px,3vw,34px);margin:5px 0 12px;line-height:1.25;letter-spacing:-.025em;overflow-wrap:anywhere}
#title{color:#e3e8ed;margin:0;font-size:15px;line-height:1.55;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
#creator{color:var(--muted);font-size:12px}
.destinations,.actions,.bottom{display:flex;align-items:center;gap:8px}.destinations{margin:20px 0 18px}.destinations a,.actions button,#retry{min-height:44px;border-radius:9px;display:flex;align-items:center;justify-content:center;gap:7px;padding:7px 11px;white-space:nowrap;font-weight:700}
.destinations a{flex:1;background:var(--accent);color:#12231c;font-size:14px}.destinations #guide{background:transparent;color:var(--accent);border:1px solid #5d9c87}.destinations span{font-size:14px}
.actions{border-top:1px solid var(--line);padding-top:16px}.actions button,#retry{border:1px solid var(--line);background:var(--surface);color:#eef3f7;font-size:13px;flex:1}.actions b{font-size:17px}
.bottom{font-size:12px;color:var(--muted);margin-top:10px;justify-content:space-between}.bottom a,.bottom button{min-height:34px;display:inline-flex;align-items:center}.bottom button{border:0;background:none;padding:0 8px}.gesture{color:var(--muted);font-size:11px;margin:4px 0}
#status{font-size:13px;color:#ffe2ac}#retry{margin-top:6px}.actions button:hover,.bottom button:hover{color:#fff;background:#2a3541}.destinations a:hover{filter:brightness(1.12)}
[hidden]{display:none!important}
@media(max-width:720px) and (orientation:portrait){
 :root{--header:44px}header{gap:8px}header .back{font-size:12px;margin-right:auto}.platform{font-size:11px;padding-left:8px}
 main{min-height:calc(100svh - var(--header));display:flex;flex-direction:column;justify-content:center;gap:0;padding:4px 10px max(5px,env(safe-area-inset-bottom))}
 .stage{width:100%;flex:1;align-content:center}.portrait{width:min(100%,calc((100svh - 245px)*.5625));border-radius:8px}
 aside{max-width:460px;padding:6px 4px 0}.video-info{display:grid;grid-template-columns:auto 1fr;gap:1px 8px;align-items:baseline}.label{font-size:10px}h2{font-size:18px;margin:0;line-height:1.3}#title{grid-column:1/-1;font-size:12px;-webkit-line-clamp:1}#creator{display:none}
 .destinations{margin:6px 0}.actions{border:0;padding:0}.destinations a,.actions button{min-height:42px}.bottom{margin:0}.gesture{position:relative;margin:-24px auto 5px;width:max-content;pointer-events:none;font-size:10px}
}
@media(max-height:540px) and (orientation:landscape){:root{--header:36px}main{padding-block:6px;min-height:0;gap:15px}.portrait{width:min(100%,calc((100svh - 50px)*.5625));min-width:200px}h2{font-size:21px;margin:1px 0 3px}.destinations{margin:6px 0}.actions{padding-top:4px}.bottom{margin:0}}
button:disabled{cursor:default;opacity:.42}

.portrait{background-position:center;background-size:cover}
