/* «Хаб»: кадры работ со всех портфолио. */
.sd-page{max-width:980px;margin:0 auto;padding:18px 16px 88px}
.sd-top{position:relative;padding-right:132px}
.sd-add{position:absolute;top:0;right:0;border:0;background:#16181c;color:#fff;font:700 14px/1 inherit;padding:12px 16px;border-radius:999px;cursor:pointer;text-decoration:none}
.sd-top h1{margin:0 0 6px;font-size:clamp(28px,4vw,40px);letter-spacing:-.04em}
.sd-top p{margin:0 0 14px;color:#5b6169;max-width:40em;line-height:1.5}
.sd-find{display:flex;gap:8px;margin:0 0 12px;max-width:420px}
.sd-find input{flex:1;min-width:0;border:1px solid #e6e8ec;border-radius:999px;background:#fff;color:#16181c;font:16px/1.2 inherit;padding:10px 14px}
.sd-find button{flex:0 0 auto;border:0;border-radius:999px;background:#16181c;color:#fff;font:700 14px/1 inherit;padding:10px 16px;cursor:pointer}
.sd-tags{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px}
.sd-tags a,.lb__tags a,.sd-hash{display:inline-block;padding:5px 10px;border-radius:999px;background:#f4f5f7;color:#16181c;font:700 12px/1.2 inherit;text-decoration:none}
.sd-tags a.is-on{background:#16181c;color:#fff}
.lb__tags{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 0}
.lb__desc .sd-hash,.lb__about .sd-hash{padding:0;background:none;color:#1a5fb4;font-weight:700}
.sd-chips{display:flex;gap:8px;overflow:auto;padding-bottom:12px;scrollbar-width:none}
.sd-chips::-webkit-scrollbar{display:none}
.sd-chips a{flex:0 0 auto;padding:8px 12px;border-radius:999px;border:1px solid #e6e8ec;background:#fff;color:#16181c;font-weight:700;font-size:13px}
.sd-chips a.is-on{background:#16181c;color:#fff;border-color:#16181c}
.sd-feed{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}
.sd-card{position:relative;min-width:0}
.sd-card__hit{position:relative;display:block;width:100%;aspect-ratio:1;padding:0;border:0;border-radius:0;overflow:hidden;background:#e9ebee;cursor:pointer;text-decoration:none;color:inherit}
.sd-card__hit img{width:100%;height:100%;object-fit:cover;display:block}
.sd-stack{position:absolute;inset:0;display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
.sd-stack::-webkit-scrollbar{display:none}
.sd-cell{position:relative;flex:0 0 100%;height:100%;scroll-snap-align:start;overflow:hidden;background:#16181c}
.sd-cell img{width:100%;height:100%;object-fit:cover;display:block;image-rendering:auto;image-rendering:high-quality}
.sd-mark{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);color:#fff;font-size:13px;text-shadow:0 1px 2px #000;pointer-events:none}
.sd-card__hit.is-video{background:#16181c}
.sd-play{position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-size:22px;pointer-events:none;background:#16181c}
.sd-card__hit.is-video:has(img) .sd-play{inset:auto;left:50%;top:42%;width:34px;height:34px;border-radius:50%;transform:translate(-50%,-50%);background:rgba(0,0,0,.55);font-size:13px}
.sd-card__n{position:absolute;top:6px;right:6px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:rgba(16,18,22,.78);color:#fff;font:700 10px/18px inherit;z-index:1}
.sd-card__cap{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0;pointer-events:none}
.sd-logo{position:absolute;left:8px;bottom:8px;z-index:4;width:28px;height:28px;border-radius:50%;border:2px solid #fff;overflow:hidden;background:#16181c;color:#fff;display:grid;place-items:center;text-decoration:none;font:700 12px/1 inherit;box-shadow:0 1px 3px rgba(0,0,0,.35)}
.sd-logo img{width:100%;height:100%;object-fit:cover;display:block}
.sd-logo span{display:block}
.sd-card__who{display:none}
.sd-card__who img,.sd-ava,.sd-card__who small,.sd-card__t,.sd-go{display:none}
.sd-card__who b{display:block;font-size:11px;line-height:1.2;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sd-go{display:none}
.lb__go{flex:0 0 auto;align-self:flex-start;margin:10px 16px 0}
.lb__go[hidden]{display:none !important}
@media(max-width:700px){
  .lb__go{align-self:stretch;justify-content:center;margin:6px 12px 0}
}
@media print{.lb__go,.sd-go{display:none !important}}
.sd-more{margin:14px 16px 0}
.sd-status{margin:10px 16px 0;color:#6b7178;font-size:13px}
.sd-sentinel{height:1px}
.lb__sound{position:absolute;top:10px;left:50%;transform:translateX(-50%);z-index:3;border:0;border-radius:999px;background:rgba(0,0,0,.62);color:#fff;font:700 12px/1 inherit;padding:8px 12px;cursor:pointer;max-width:calc(100% - 120px)}
.lb__sound[hidden]{display:none !important}
.lb__down{position:absolute;bottom:10px;left:50%;transform:translateX(-50%);z-index:3;border:0;border-radius:999px;background:rgba(0,0,0,.62);color:#fff;font:700 12px/1 inherit;padding:8px 12px;cursor:pointer}
.lb__down[hidden],.lb__dots[hidden]{display:none !important}
.lb__dots{position:absolute;left:0;right:0;bottom:42px;z-index:3;display:flex;justify-content:center;gap:5px;pointer-events:none}
.lb__dots i{width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.4)}
.lb__dots i.is-on{background:#fff}
.sd-empty{background:#fff;border:1px solid #e6e8ec;border-radius:16px;padding:28px 18px;color:#5b6169}
.sd-empty a{color:#16181c;font-weight:700}
.rw{max-width:760px;margin:0 auto;padding:18px 16px 88px}
.rw h1{margin:0 0 8px;font-size:clamp(28px,4vw,40px);letter-spacing:-.04em;line-height:1.15}
.rw__crumb{margin:0 0 10px;color:#8b9099;font-size:13px}
.rw__crumb a{color:#5b6169;font-weight:700;text-decoration:none}
.rw__who{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:baseline;margin:0 0 12px;color:#16181c;font-weight:700}
.rw__who a{color:inherit;text-decoration:none}
.rw__who span{color:#5b6169;font-weight:600}
.rw__lead{margin:0 0 16px;color:#3c4148;line-height:1.55;white-space:pre-wrap}
body.sk-work .sk-main{container-type:inline-size}
.rw__shots{display:flex;flex-direction:column;gap:0;width:100vw;max-width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw)}
body.sk-work .rw__shots{width:100cqi;max-width:none;margin-left:calc(50% - 50cqi);margin-right:calc(50% - 50cqi)}
.rw figure{margin:0}
.rw figure img,.rw figure video,.rw figure iframe{width:100%;height:auto;display:block;border-radius:0;background:#111}
.rw figure iframe{aspect-ratio:16/9;border:0;height:auto}
.rw figure video{margin-top:8px;background:#111}
.rw figcaption{margin:8px 16px 18px;color:#5b6169;font-size:13px;line-height:1.4}
.rw__watch{margin:8px 0 0}
.rw__back{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 0}
.rw-miss{padding-top:48px}
.rw-miss p{color:#5b6169;line-height:1.5}
/* Хаб: кадр целиком в рамке экрана, внизу справка, комментарии по значку справа. */
body.sk-hab{--sd-talk:46dvh;--sd-bar:calc(72px + env(safe-area-inset-bottom,0px))}
body.sk-hab.sk-lb-on .sk-dock{display:none !important}
body.sk-hab .lb{inset:0;bottom:0;padding:0;align-items:stretch;background:#000;touch-action:none}
body.sk-hab .lb__in{position:relative;width:100%;height:100%;max-height:none;border-radius:0;overflow:hidden;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);background:#000}
body.sk-hab .lb__stage{position:relative;width:100%;height:100%;max-height:none;min-height:0;overflow:hidden;z-index:1;aspect-ratio:auto;margin:0;background:#000}
body.sk-hab .lb__media{position:absolute;left:0;right:0;top:0;bottom:var(--sd-bar);display:block;width:auto;height:auto;min-width:0;min-height:0;overflow:hidden;background:#000}
body.sk-hab .lb.is-talk .lb__media{bottom:var(--sd-talk)}
body.sk-hab .lb__media img,body.sk-hab .lb__media video,body.sk-hab .lb__media iframe{position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none;min-width:0;min-height:0;object-fit:contain;object-position:center;background:#000}
body.sk-hab .lb__media img{image-rendering:auto;image-rendering:high-quality}
body.sk-hab .lb__side{position:absolute;left:0;right:0;bottom:0;z-index:4;display:flex;flex-direction:column;height:46vh;height:var(--sd-talk);max-height:50%;background:#fff;transform:translateY(110%);visibility:hidden;pointer-events:none;touch-action:pan-y}
body.sk-hab .lb.is-talk .lb__side{top:auto;height:var(--sd-talk);max-height:50%;transform:none;visibility:visible;pointer-events:auto}
body.sk-hab .lb__count{display:block;position:absolute;top:12px;left:12px;bottom:auto;z-index:3;padding:4px 8px;border-radius:999px;background:rgba(0,0,0,.55);color:#fff;font:700 12px/1.2 inherit}
body.sk-hab .lb__count[hidden],body.sk-hab .lb__author[hidden]{display:none !important}
body.sk-hab .lb__down{display:none !important}
body.sk-hab .lb__dots{bottom:calc(var(--sd-bar) + 10px);top:auto}
body.sk-hab .lb.is-talk .lb__dots{top:auto;bottom:calc(var(--sd-talk) + 12px)}
body.sk-hab .lb__brief{position:absolute;left:0;right:0;bottom:0;z-index:5;display:flex;align-items:center;box-sizing:border-box;min-height:var(--sd-bar);padding:8px 68px calc(8px + env(safe-area-inset-bottom,0px)) 12px;background:#fff;color:#16181c}
body.sk-hab .lb.is-talk .lb__brief{display:none}
body.sk-hab .lb__brief__who{display:flex;align-items:center;gap:10px;min-width:0;width:100%;color:inherit;text-decoration:none}
body.sk-hab .lb__brief__logo{width:40px;height:40px;border-radius:50%;overflow:hidden;flex:none;display:grid;place-items:center;background:#16181c;color:#fff;font:700 16px/1 inherit}
body.sk-hab .lb__brief__logo img{width:100%;height:100%;object-fit:cover;display:block}
body.sk-hab .lb__brief__txt{min-width:0;display:flex;flex-direction:column;gap:2px}
body.sk-hab .lb__brief__txt b{font-size:14px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.sk-hab .lb__brief__txt small{color:#5b6169;font-size:12px;line-height:1.3;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.sk-hab .lb__brief__txt small[hidden]{display:none !important}
body.sk-hab .lb__talk{position:absolute;right:10px;left:auto;bottom:calc(12px + env(safe-area-inset-bottom,0px));transform:none;z-index:6;width:48px;height:48px;padding:0;border:0;border-radius:50%;background:rgba(22,24,28,.88);color:#fff;display:grid;place-items:center;cursor:pointer}
body.sk-hab .lb__talk svg{display:block}
body.sk-hab .lb.is-talk .lb__talk{display:grid;bottom:calc(var(--sd-talk) + 12px)}
body.sk-hab .lb.is-talk .lb__head{display:flex;align-items:center;justify-content:flex-end;gap:10px;background:#fff;padding:10px 12px}
body.sk-hab .lb.is-talk .lb__fold{display:inline-block}
body.sk-hab .lb__scroll{flex:1;min-height:0;overflow:auto}
body.sk-hab .lb__go{margin:0 12px 8px}
body.sk-hab .lb__form{padding:8px 12px 10px}
body.sk-hab .lb__form textarea{min-height:44px;max-height:72px}
body.sk-hab .lb__c p{font-size:15px;line-height:1.5}
body.sk-hab .lb__about{margin:6px 0 0;color:#5b6169;font-size:13px;line-height:1.4}
body.sk-hab .lb__about[hidden]{display:none !important}
body.sk-hab .lb__author{display:flex;align-items:center;gap:8px;margin-top:8px;min-width:0;color:#16181c;text-decoration:none}
body.sk-hab .lb__logo{width:36px;height:36px;border-radius:50%;overflow:hidden;flex:none;display:grid;place-items:center;background:#16181c;color:#fff;font:700 14px/1 inherit}
body.sk-hab .lb__logo img{width:100%;height:100%;object-fit:cover;display:block}
body.sk-hab #lbAuthorName{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:700px){
  .sd-page{padding:12px 0 calc(16px + var(--sk-dock-space,72px))}
  .sd-top,.sd-chips,.sd-empty,.sd-find,.sd-tags{padding-left:12px;padding-right:12px}
  .sd-top{padding-right:12px}
  .sd-add{position:fixed;top:auto;left:auto;right:86px;bottom:calc(var(--sk-dock-space,72px) + 14px);z-index:121;width:56px;height:56px;padding:0;border-radius:50%;font-size:32px;line-height:56px;text-align:center}
  .sd-add span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .sd-add::before{content:"+"}
  .sd-feed{grid-template-columns:repeat(3,minmax(0,1fr));gap:2px}
  .sd-card__hit{margin:0;width:100%;border-radius:0}
  .sd-logo{width:24px;height:24px;left:5px;bottom:5px;font-size:11px}
}
@media(max-width:380px){
  .he__stage{max-height:min(38dvh,240px);min-height:120px;padding:8px}
  .he__canvas{max-width:min(100%,260px);max-height:min(34dvh,200px);border-radius:10px}
  .he__player{max-height:min(150px,22dvh);width:min(100%,280px)}
  .he__stage video,.he__player video{max-height:min(150px,22dvh)}
}
body.he-on .sk-dock{display:none !important}
.he{position:fixed;inset:0;z-index:200;background:#0e0e0e;color:#fff;display:flex;flex-direction:column}
.he[hidden]{display:none !important}
.he__bar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px}
.he__bar button{border:0;background:transparent;color:#fff;font:700 15px/1 inherit;cursor:pointer;padding:8px}
.he__bar strong{font-size:15px}
.he__stage{flex:0 1 auto;min-height:140px;max-height:min(48dvh,340px);overflow:auto;position:relative;background:#000;display:flex;align-items:center;justify-content:center;padding:12px}
.he__stage[hidden],.he__tools[hidden],.he__strip[hidden],.he__text[hidden]{display:none !important}
.he__player{position:relative;width:min(100%,420px);max-height:min(200px,28dvh);margin:0 auto;display:flex;align-items:center;justify-content:center}
.he__canvas{width:auto;max-width:min(100%,360px);max-height:min(42dvh,280px);height:auto;display:block;background:#000;touch-action:none;margin:0 auto;border-radius:12px}
.he__stage video,.he__player video{width:auto;max-width:100%;max-height:min(200px,28dvh);height:auto;object-fit:contain;display:block;background:#000;touch-action:none;margin:0 auto}
.he__blind{flex-direction:column;gap:4px;min-height:120px;width:min(100%,360px);background:#f4f5f7;border:1px dashed #cfd3d8;border-radius:12px;padding:16px;text-align:center;box-sizing:border-box}
.he__blind b{font-size:15px;word-break:break-word}
.he__blind span{color:#6b7178;font-size:13px}
.he__picks{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;width:100%;padding:0 16px}
.he__pick{display:inline-flex;align-items:center;justify-content:center;min-width:132px;margin:0;border:0;border-radius:999px;background:#fff;color:#16181c;font:700 16px/1 inherit;padding:16px 22px;cursor:pointer}
.he__sound,.he__play{border:0;border-radius:999px;background:rgba(0,0,0,.62);color:#fff;font:700 13px/1 inherit;padding:10px 14px;cursor:pointer}
.he__sound{position:absolute;left:50%;bottom:8px;transform:translateX(-50%)}
.he__tools{padding:8px 12px 4px;display:flex;flex-direction:column;gap:8px;flex:0 1 auto;max-height:46dvh;overflow:auto}
.he__row{display:flex;gap:8px;overflow:auto;scrollbar-width:none}
.he__row button,.he__drop,.he__play{flex:0 0 auto;border:1px solid rgba(255,255,255,.25);background:transparent;color:#fff;border-radius:999px;padding:8px 12px;font:700 13px/1 inherit;cursor:pointer}
.he__row button.is-on{background:#fff;color:#16181c;border-color:#fff}
.he__zoom{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:700}
.he__zoom input{flex:1}
.he__hint,.he__msg{margin:0;padding:4px 14px 8px;font-size:13px;color:#c8cdd3;line-height:1.4}
.he__msg.is-err{color:#ffb4b4}
.he__strip{display:flex;gap:8px;overflow:auto;padding:4px 12px 8px}
.he__thumb{width:52px;height:52px;flex:0 0 auto;padding:0;border:2px solid transparent;border-radius:8px;overflow:hidden;background:#222;color:#fff;font:700 18px/52px inherit;cursor:pointer}
.he__thumb--add{width:auto;min-width:64px;padding:0 8px;font-size:12px;line-height:48px}
.he__thumb img{width:100%;height:100%;object-fit:cover;display:block}
.he__thumb.is-on{border-color:#fff}
.he__text{padding:8px 14px 12px;display:flex;flex-direction:column;gap:8px}
.he__text input,.he__text textarea{width:100%;box-sizing:border-box;border:1px solid #333;border-radius:12px;background:#1a1a1a;color:#fff;font:16px/1.4 inherit;padding:12px}
.he__text textarea{min-height:96px;resize:vertical}
@media print{.lb__sound,.lb__down,.lb__dots{display:none !important}}
