/* Video page /v/{code} (05), its embed dialog (06) and share sheet (07), the password page (10) and the
   "not available" page (11). Phone-first: below 640 px the player runs edge to edge and the dialogs are bottom sheets. */
.watch{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:28px;padding:28px 24px 0;max-width:1440px;margin:0 auto;align-items:start}
.watch h1{font-size:26px;margin-top:18px;letter-spacing:-.025em;overflow-wrap:anywhere}
.wmeta{display:flex;align-items:center;gap:12px;margin-top:12px;flex-wrap:wrap}
.wmeta .nm{min-width:0}.wmeta .nm b{display:block;font-size:15px}.wmeta .nm small{display:block;font-size:13px;color:var(--text-3);font-weight:600}
.desc{margin-top:18px;padding:16px 18px}
.desc p{font-size:15px;color:var(--text);white-space:pre-line;overflow-wrap:anywhere}
.desc .tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}
.desc p+.tags{margin-top:12px}.desc .tags:first-child{margin-top:0}
.watch .wbody>.ad{margin-top:18px}
.aside{position:sticky;top:92px;display:flex;flex-direction:column;gap:16px;min-width:0}
.act{padding:18px}
.act h3{font-size:15px;color:var(--text-3);font-weight:700}
.act3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px}
.act3.n2{grid-template-columns:repeat(2,minmax(0,1fr))}
.act3:first-child{margin-top:0}
.act3 .btn{flex-direction:column;gap:5px;min-height:72px;padding:8px 4px;font-size:13.5px;min-width:0}
.act3 .btn .ic{width:22px;height:22px}
.dl{min-width:0;flex-wrap:wrap;row-gap:0}
.dl small{font-weight:600;opacity:.85;margin-left:2px}
.facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:4px}
.facts div{padding:12px 14px;border-radius:12px;background:var(--surface-2);min-width:0}
.facts span{display:block;font-size:12.5px;color:var(--text-3);font-weight:700}.facts b{font-size:15px;overflow-wrap:anywhere}
.mk-cta{display:flex;gap:14px;align-items:center;padding:16px 18px}
.mk-cta .ei{width:46px;height:46px;border-radius:14px;background:var(--accent-soft);color:var(--accent-text);display:grid;place-items:center;flex:none}
.rep{display:inline-flex;align-items:center;gap:7px;min-height:44px;font-size:14px;font-weight:600;color:var(--text-3);align-self:flex-start}
.rep:hover{color:var(--text)}

/* 06 embed dialog */
.sizes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.sizes button{min-height:58px;border-radius:12px;border:1.5px solid var(--line-2);background:var(--surface);font-weight:700;font-size:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.25;padding:4px}
.sizes button small{font-size:12px;color:var(--text-3);font-weight:600}
.sizes button.sel{border-color:var(--primary);background:var(--primary-soft);color:var(--primary-text)}
.sizes button.sel small{color:var(--primary-text)}
.ecustom{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.estart{max-width:200px;margin:0 0 6px}
.prev{display:flex;gap:12px;align-items:center}
.prev .th{width:120px;border-radius:10px;flex:none}
.prev .grow b{overflow-wrap:anywhere}
.esites{margin-top:12px}

/* 07 share sheet */
.sh6{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.sh6 a{display:flex;flex-direction:column;align-items:center;gap:7px;padding:12px 4px;border-radius:14px;font-weight:700;font-size:13.5px;text-align:center}
.sh6 a:hover{background:var(--surface-2)}
.sh6 i{width:56px;height:56px;border-radius:50%;display:grid;place-items:center;color:var(--on-primary);background:var(--primary)}
.sh6 i .ic{width:26px;height:26px}
.sh6 .s-mail i{background:var(--text-3)}
/* the networks' own brand colours (not theme colours) */
.sh6 .s-wa i{background:#1F9D57}.sh6 .s-fb i{background:#1877F2}.sh6 .s-x i{background:#111111}.sh6 .s-li i{background:#0A66C2}
[data-theme=dark] .sh6 .s-x i{box-shadow:inset 0 0 0 1.5px var(--line-3)}
.sstart{cursor:pointer}

/* 10 password · 11 not available */
.gate{min-height:calc(100vh - 68px);display:grid;place-items:center;padding:40px 16px}
.gate .card{width:100%;max-width:520px;overflow:hidden}
.gate .lockv{position:relative;aspect-ratio:16/9;background:var(--ink)}
.gate .lockv img{width:100%;height:100%;object-fit:cover;opacity:.38}
.gate .lockv .li{position:absolute;inset:0;display:grid;place-items:center}
.gate .lockv .li span{width:72px;height:72px;border-radius:50%;background:var(--surface);color:var(--text);display:grid;place-items:center}
[data-theme=dark] .gate .lockv .li span{background:var(--text);color:var(--ink)}
.gate .lockv .li .ic{width:32px;height:32px}
.gate .in{padding:24px}
.gate h1{font-size:24px;overflow-wrap:anywhere}
.gate p b{color:var(--text)}
.gate .ei{width:84px;height:84px;border-radius:26px;background:var(--surface-2);color:var(--text-3);display:grid;place-items:center;margin:0 auto 18px}
.gate .ei .ic{width:40px;height:40px}
.gate .list-plain .ic{color:var(--text-3)}
.gate .inp .eye{width:40px;height:40px;margin-right:-8px;display:grid;place-items:center;border-radius:10px;color:var(--text-3)}
.gate .inp .eye.on{color:var(--primary-text)}

@media (max-width:1100px){.watch{grid-template-columns:1fr;padding:20px 16px 0;gap:0}.aside{position:static;margin-top:18px}}
@media (max-width:640px){
 .watch{padding:0}.watch .player{border-radius:0}.watch .wbody{padding:0 16px}
 .watch h1{font-size:21px;margin-top:14px}.aside{padding:0 16px}
 .desc{margin-top:14px;padding:14px}
 .sizes{grid-template-columns:repeat(2,minmax(0,1fr))}.sizes button:first-child{grid-column:1/-1}
 .gate{place-items:start center;padding:20px 16px 40px;min-height:0}.gate .in{padding:20px}.gate h1{font-size:22px}
}
