:root{--paper:#F2F3F5;--ink:#0B0D14;--accent:#007BFF;--mid:#7A8090;--line:#D6D9E0;--gap:4px;--cols:6;--cell:200px;--header:56px}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:"Instrument Sans","Onest",system-ui,-apple-system,sans-serif;-webkit-font-smoothing:antialiased}
.mono{font-family:"Geist Mono",ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11.5px;letter-spacing:.06em;text-transform:uppercase}
a{color:inherit;text-decoration:none}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
header.site{position:fixed;inset:0 0 auto 0;height:var(--header);display:flex;align-items:center;justify-content:space-between;padding:0 24px;background:var(--paper);border-bottom:1px solid var(--line);z-index:20;gap:24px}
/* the header going away and back (js/nav.js rollAway): one eased slide of the transform; the bars under it get theirs inline */
html[data-hh] header.site{transition:transform .3s cubic-bezier(.2,.8,.2,1)}
@media (prefers-reduced-motion:reduce){html[data-hh] header.site{transition:none}}
.brand{font-weight:700;font-size:17px;letter-spacing:-.02em}
.tag{color:var(--mid)}
nav.top{display:flex;gap:22px}
nav.top a:hover{color:var(--accent)}
.hero{margin-top:var(--header);height:min(72vh,720px);position:relative;background:var(--paper);overflow:hidden}
.hero canvas{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:pan-y;cursor:grab}
.hero canvas.dragging{cursor:grabbing}
.hero .hint{position:absolute;left:24px;bottom:18px;color:var(--ink);background:var(--paper);padding:6px 10px;border:1px solid var(--line)}
.hero .hint:hover{color:var(--accent);border-color:var(--accent)}
section.work{padding:0 24px 72px}
.filters{position:sticky;top:var(--header);z-index:10;background:var(--paper);padding:18px 0 14px;display:flex;flex-direction:column;gap:10px}
.filters .row{display:flex;flex-wrap:wrap;gap:6px 22px}
.filters button{all:unset;cursor:pointer;color:var(--mid);display:inline-flex;gap:7px;align-items:baseline;padding:2px 0;border-bottom:1px solid transparent}
.filters button[aria-pressed="true"]{color:var(--ink);border-bottom-color:var(--accent)}
.filters button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.filters button:hover{color:var(--ink)}
.filters .n{font-size:10px}
.filters .row.formats{display:none}
.filters.open .row.formats{display:flex}
.grid{display:grid;grid-template-columns:repeat(var(--cols),1fr);grid-auto-rows:var(--cell);gap:var(--gap)}
.tile{display:block;position:relative;overflow:hidden;background:var(--paper);cursor:pointer;will-change:transform}   /* a link to the work (grid.js): block, like the article it was */
.tile .veil{position:absolute;left:0;top:0;pointer-events:none;transition:opacity .45s;z-index:1}
.tile .veil.off{opacity:0}
.tile .buffer[hidden]{display:none}
.tile img,.tile video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.tile video{opacity:0;transition:opacity .4s}
.tile.playing video{opacity:1}
/* the caption reads over any poster, a white one too (audit 2026-11-19: 2.2:1 on a light one; a11y.test.mjs; the one change of the
   look from that audit the owner took, 2026-11-20: the colours and the spacing stay as they were): under the words the
   scrim is 60 to 72 % ink, which leaves white text 4.5:1 on pure white; the fade is the padding above them (it ends 2 px before
   the first line's box) */
.tile .cap{position:absolute;left:0;right:0;bottom:0;padding:32px 12px 10px;color:#fff;background:linear-gradient(transparent,rgba(11,13,20,.6) 30px,rgba(11,13,20,.72));opacity:0;transition:opacity .25s;display:flex;flex-direction:column;gap:3px;pointer-events:none}
.tile:hover .cap,.tile:focus-visible .cap{opacity:1}
@media (hover:none){.tile .cap{opacity:1}}
.tile .cap b{font-weight:600;font-size:13px;letter-spacing:-.01em;line-height:1.2}
.tile .cap span{font-size:10px;opacity:.85}
.tile .soon{position:absolute;inset:0;display:grid;place-items:center;color:var(--mid);padding:12px;text-align:center}
.tile.gone{display:none}
.tile .state{position:absolute;left:10px;top:10px;z-index:2;color:var(--paper);background:var(--ink);padding:4px 7px;pointer-events:none}
.tile .pin{position:absolute;z-index:2;top:12px;right:12px;width:22px;height:22px;display:grid;place-items:center;color:#fff;filter:drop-shadow(0 1px 1.5px rgba(0,0,0,.55));pointer-events:none}
.tile .pin svg{width:19px;height:19px;display:block}
section.about{padding:88px 24px 72px;border-top:1px solid var(--line);display:grid;gap:64px}
.label{color:var(--accent);margin:0 0 18px}
.about .intro{display:grid;grid-template-columns:1fr 1fr;gap:16px 48px;align-items:start}
.about .intro > *{grid-column:1;max-width:64ch}
.about .portrait{grid-column:2;grid-row:1/span 4;justify-self:center;align-self:center;width:min(340px,100%);aspect-ratio:953/1366;position:relative}
.about .portrait canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
.about h2{font-size:clamp(28px,4vw,46px);line-height:1.02;letter-spacing:-.03em;margin:0 0 26px;font-weight:700;text-transform:uppercase}
.about h2 span{display:block;color:var(--mid);font-weight:500;text-transform:none;letter-spacing:-.02em;font-size:clamp(18px,2vw,24px);margin-top:10px}
.about .intro p:not(.label){font-size:clamp(17px,1.5vw,20px);line-height:1.4;margin:0 0 14px;max-width:58ch}
.cap-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:28px 48px}
.cap-grid article{border-top:1px solid var(--line);padding-top:16px}
.cap-grid h3{margin:0 0 10px;font-weight:500;color:var(--ink)}
.cap-grid h3::first-letter{color:var(--accent)}
.cap-grid p{margin:0;font-size:15px;line-height:1.45;color:#3a3f4a;max-width:52ch}
/* contact form (EU SPEC §4; markup site/tools/pages/form.mjs, behaviour site/js/contact.js): hairline fields in two columns (one on
   phones), an accent send chip, errors next to their field (ink text behind an accent cell: readable, not only colour), a canvas of
   dots that swallows the form while it goes. --fmid is a darker mid for labels and hints so small text keeps a 5:1 contrast */
section.write{--fmid:#5C6272;padding:88px 24px 80px;border-top:1px solid var(--line);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:24px 64px;align-items:start}
.write .lead{position:sticky;top:calc(var(--header) + 32px)}
.write .wtitle{font-size:clamp(28px,3.4vw,44px);line-height:1.02;letter-spacing:-.03em;margin:0;font-weight:700;text-transform:uppercase;max-width:14ch;overflow-wrap:break-word}
.write .wtitle:focus{outline:none}
.write .wlead{font-size:clamp(17px,1.5vw,20px);line-height:1.4;margin:22px 0 0;max-width:34ch}
.write .direct{margin:26px 0 0;color:var(--fmid)}
.write .direct a{color:var(--ink);border-bottom:1px solid var(--line)}
.write .direct a:hover{color:var(--accent);border-bottom-color:var(--accent)}
/* the direct contacts (form.mjs directContacts): the Contact block of a page without the form and the chat (the Russian pages; the
   owner, 2026-11-16: «чтобы телега и почта больше места занимали… заметно»). Full width: the heading and the lead, then the email
   and Telegram as two large hairline cells side by side (stacked on phones), each one link that turns accent under the pointer,
   what to send sits under the lead as a quiet mono line (like the form's «Prefer a message?») */
section.write.direct{grid-template-columns:minmax(0,1fr);gap:0}
.write.direct .lead{position:static}
.write.direct .wtitle{max-width:22ch}
.write.direct .wlead{max-width:46ch}
.write .ways{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);margin-top:clamp(32px,5vw,56px)}
.write .way{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:28px;min-height:clamp(190px,22vw,300px);padding:22px 24px 24px;border:1px solid var(--line);color:var(--ink);transition:background .2s,color .2s,border-color .2s}
.write .way+.way{margin-left:-1px}
.write .way-k{color:var(--fmid);transition:color .2s}
.write .way-v{font-size:clamp(26px,4.4vw,68px);line-height:1;letter-spacing:-.035em;font-weight:700;overflow-wrap:anywhere;max-width:100%}
.write .way-go{padding:10px 22px;background:var(--accent);color:#fff;transition:background .2s,color .2s}
.write .way:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.write .way-hint{margin:26px 0 0;max-width:72ch;line-height:1.6;color:var(--ink)}
.write .way-hint .k{color:var(--fmid)}
@media (hover:hover){.write .way:hover{background:var(--accent);border-color:var(--accent);color:#fff;position:relative;z-index:1}.write .way:hover .way-k{color:rgba(255,255,255,.8)}.write .way:hover .way-go{background:#fff;color:var(--accent)}}
@media (max-width:720px){.write .ways{grid-template-columns:minmax(0,1fr)}.write .way{min-height:148px;padding:18px 16px 18px;gap:20px}.write .way+.way{margin-left:0;margin-top:-1px}.write .way-v{font-size:clamp(24px,7.6vw,40px)}}
@media (prefers-reduced-motion:reduce){.write .way,.write .way-k,.write .way-go{transition:none}}
.cform{position:relative}
.cform .fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:32px;transition:opacity .22s}
.cform .f{display:grid;gap:8px;align-content:start;min-width:0;padding:16px 0 12px;border-bottom:1px solid var(--line);transition:border-color .2s}
.cform .f.wide{grid-column:1/-1}
.cform .fl{color:var(--fmid);display:flex;gap:3px;transition:color .2s}
.cform .req{color:var(--accent)}
.cform .f:focus-within{border-bottom-color:var(--ink)}
.cform .f:focus-within>.fl,.cform .f.bad>.fl{color:var(--accent)}
.cform .f.bad{border-bottom-color:var(--accent)}
.cform .fhint{margin:0;color:var(--fmid);font-size:14px;line-height:1.4}
.cform .ferr{margin:2px 0 0;display:flex;gap:8px;align-items:baseline;color:var(--ink);font-size:14px;line-height:1.4}
.cform .ferr::before{content:'';flex:0 0 6px;height:6px;background:var(--accent)}
.cform .ferr[hidden]{display:none}
.cform textarea,.cform input[type=text],.cform input[type=email],.cform input[type=url],.cform select{all:unset;display:block;width:100%;box-sizing:border-box;font:inherit;font-size:17px;line-height:1.4;color:var(--ink);resize:none;min-height:1.4em}
.cform textarea{min-height:4.2em}
.cform ::placeholder{color:var(--mid);opacity:1}
.cform .sel{position:relative;display:block}
.cform .sel::after{content:'↓';position:absolute;right:0;top:50%;transform:translateY(-50%);color:var(--fmid);pointer-events:none;font-family:"Geist Mono",ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}
.cform select{cursor:pointer;padding-right:24px;-webkit-appearance:none;appearance:none}
.cform:not(.chosen) select{color:var(--mid)}
.cform select option{color:var(--ink)}
/* the honeypot: off the screen, out of the grid, untouchable. input[type=text].hp on purpose: the field rule above (all:unset, 0-2-1)
   beat a plain .cform .hp (0-2-0) and left it in the flow as a tappable row above Send (audit 2026-11-19; form.test.mjs checks it) */
.cform input[type=text].hp{position:absolute;left:-9999px;top:0;width:1px;height:1px;min-height:0;opacity:0;pointer-events:none}
.cform .row{display:flex;align-items:center;gap:14px;min-width:0}
.cform .att{border-bottom:0;padding-top:22px}
.cform .attach{display:inline-flex;align-items:center;gap:14px;cursor:pointer;color:var(--fmid);min-width:0}
.cform .attach input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.cform .chip{flex:0 0 auto;color:var(--ink);background:var(--paper);border:1px solid var(--line);padding:6px 10px;transition:color .2s,border-color .2s}
.cform .attach:hover .chip,.cform .attach:focus-within .chip{color:var(--accent);border-color:var(--accent)}
.cform .attach:focus-within .chip{outline:2px solid var(--accent);outline-offset:2px}
.cform .attach.has .chip{color:var(--accent);border-color:var(--accent)}
.cform .fname{color:var(--fmid);text-transform:none;letter-spacing:0;font-size:12.5px;min-width:0;max-width:34ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cform .unfile{all:unset;cursor:pointer;color:var(--fmid);font-size:16px;line-height:1;padding:4px}
.cform .unfile:hover{color:var(--accent)}
.cform .unfile:focus-visible,.cform .go:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.cform .unfile[hidden]{display:none}
.cform .send{border-bottom:0;display:flex;align-items:center;gap:14px 20px;flex-wrap:wrap;padding-top:18px}
.cform .go{all:unset;cursor:pointer;color:var(--paper);background:var(--accent);padding:10px 22px;font-family:"Geist Mono",ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;transition:background .2s}
.cform .go:hover{background:var(--ink)}
.cform .go:disabled{cursor:default;background:var(--mid)}
.cform .consent{color:var(--fmid);font-size:10.5px;text-transform:none;letter-spacing:.02em;line-height:1.5}
.cform .consent a{border-bottom:1px solid var(--line)}
.cform .consent a:hover{color:var(--accent);border-bottom-color:var(--accent)}
.cform .cstat{margin:0;color:var(--ink);font-size:15px;line-height:1.45;transition:opacity .2s}
.cform .cstat.on{margin-top:14px}
.cform .cstat a{border-bottom:1px solid currentColor}
.cform .cstat a:hover{color:var(--accent)}
.cform[data-state=error] .cstat::before{content:'';display:inline-block;width:6px;height:6px;margin-right:8px;background:var(--accent);vertical-align:.12em}
.cform.going .cstat{opacity:0}
.cform.going .fields{opacity:0;pointer-events:none;transition:opacity .08s}
.cform.hush .fields{opacity:.3;pointer-events:none}
.cform .dust{position:absolute;left:-8px;top:-8px;width:calc(100% + 16px);height:calc(100% + 80px);pointer-events:none;opacity:0;transition:opacity .15s}   /* explicit size: a canvas keeps its 300x150 otherwise */
.cform.dusty .dust{opacity:1}
.cform .done{position:absolute;inset:0;margin:0;opacity:0;transition:opacity .35s;pointer-events:none}
.cform .done span{position:absolute;left:50%;top:var(--y,50%);transform:translate(-50%,-50%);white-space:nowrap;color:var(--paper);background:var(--accent);padding:10px 16px}   /* --y: the visible middle of the form (contact.js) */
.cform .done.bad span{background:var(--ink)}
.cform.sent .done{opacity:1}
@media (max-width:1024px){section.write{grid-template-columns:minmax(0,1fr);gap:28px}.write .lead{position:static}.write .wtitle{max-width:none}}
@media (max-width:560px){.cform .fields{grid-template-columns:minmax(0,1fr)}}
footer{padding:48px 24px 40px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:48px;align-items:end;flex-wrap:wrap}
footer .links{display:flex;flex-direction:column;gap:10px;font-size:15px}
footer .links a{display:inline-flex;align-items:center;gap:10px}
footer .links a:hover{color:var(--accent)}
footer .links .ico{width:22px;height:22px;flex:0 0 auto;display:grid;place-items:center;background:var(--accent);color:var(--paper)}
footer .links .ico svg{width:14px;height:14px;display:block;fill:currentColor}
footer .fine{display:flex;flex-direction:column;gap:12px;align-items:flex-end;color:var(--mid)}
footer .mark{height:26px;width:auto;opacity:.85}
.player{position:fixed;inset:0;background:#0B0D14;z-index:50;display:none;color:#F2F3F5}
.player.open{display:flex;flex-direction:column}
/* the dialog takes the focus itself when it opens (player.js open(): Space then plays / pauses, Tab goes on to ×): no ring around the window */
.player:focus{outline:none}
/* the media view (.pview: top, stage, arrows, controls) and the project info #pInfo: see «project info in the player» below */
.player .pview{position:relative;flex:0 0 100%;min-height:0;display:flex;flex-direction:column}
.player .meta .ptitle{font-size:15px;display:block;font-weight:600;margin:0;line-height:normal;letter-spacing:normal}
.player .top{display:flex;justify-content:space-between;align-items:flex-start;padding:18px 24px;gap:24px;flex:0 0 auto}
.player .meta{min-width:0;flex:1 1 auto}
.player .meta b{font-size:15px;display:block;font-weight:600}
.player .meta .desc{color:#9aa0ad;font-size:13px;display:block;max-width:68ch;margin-top:5px;line-height:1.4}
.player .meta .cr{color:#8b91a1;font-size:13px;margin-top:6px;display:flex;flex-wrap:wrap;gap:2px 0;max-width:80ch}
.player .meta .cr .c{white-space:nowrap}
.player .meta .cr .sep{padding:0 .6em;opacity:.7}
.player .stage{position:relative;flex:1 1 auto;min-height:0;padding:0 88px}
.player .stage picture{display:contents}
.player .stage video,.player .stage img{width:100%;height:100%;object-fit:contain;display:block;background:transparent;cursor:pointer}
.player .stage canvas{width:100%;height:100%;display:block;touch-action:none;cursor:grab}
.player .split{display:flex;height:100%;gap:2px}
.player .split canvas{flex:1 1 56%;min-width:0;height:100%;background:#0B0D14}
.player .split video{flex:0 0 44%;min-width:0;height:100%;width:44%;object-fit:contain;background:transparent;cursor:default}
/* the birch on a phone: the 3D tree and its flat loop as two slides of one strip, with a two-part switch (player.js); wider: side by side */
.player .splitw{position:relative;height:100%}
.player .split-nav{display:none}
@media (max-width:720px){.player .split{flex-direction:row;gap:0;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain}.player .split::-webkit-scrollbar{display:none}.player .split canvas{flex:0 0 100%;width:100%;height:100%;min-height:0;scroll-snap-align:start}.player .split video{flex:0 0 100%;width:100%;height:100%;min-height:0;object-fit:contain;scroll-snap-align:start}
.player .split-nav{display:flex;gap:2px;position:absolute;right:8px;top:8px;z-index:2}.player .split-nav button{font:inherit;font-size:10px;letter-spacing:.06em;text-transform:uppercase;min-height:36px;padding:0 12px;color:var(--paper);background:rgba(11,13,20,.72);border:1px solid rgba(242,243,245,.3);cursor:pointer}.player .split-nav button[aria-current="true"]{background:var(--accent);border-color:var(--accent)}
/* on a phone the video's own controls sit right under the video, the work's item tabs after them (the owner: the scrubber under the tabs is «не логично») */
.player .bottom .bar{order:-1}.player .meta .cr .c{white-space:normal}}
.player .stage canvas:active{cursor:grabbing}
.player .vhint{position:absolute;left:100px;bottom:10px;color:var(--paper);background:var(--accent);padding:4px 8px;pointer-events:none}
.player .gallery{height:100%;overflow:auto;display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:6px;align-content:start}
.player .gallery[hidden]{display:none}
.player .gallery button{all:unset;cursor:pointer;display:block}
.player .gallery button:focus-visible{outline:2px solid var(--accent)}
.player .gallery img{width:100%;aspect-ratio:3/2;object-fit:cover;display:block;background:rgba(255,255,255,.06)}
.player .gallery.natural{align-items:start}
.player .gallery.natural img{object-fit:contain}
.player .stage img.large{width:100%;height:100%;object-fit:contain;display:block;background:transparent;cursor:zoom-out}
.player .back{all:unset;cursor:pointer;position:absolute;left:100px;top:12px;color:#fff;background:rgba(255,255,255,.1);padding:8px 12px;border-radius:20px;z-index:2}
.player .back:hover{background:rgba(255,255,255,.18)}
.player .back[hidden]{display:none}
.player .sheet{position:relative;height:100%;background:transparent;color:#F2F3F5;overflow:hidden}
.player .sheet.scroll{overflow-y:auto}
.player .sheet .spacer{height:100%}
.player .sheet .board{position:absolute;left:0;top:0;transform-origin:0 0}
.player .sheet .board .mono{font-size:15px}
.player .sheet .board.tight .mono{font-size:11.5px}
.player .sheet .head{position:absolute;display:flex;justify-content:space-between;align-items:flex-start;padding-top:4px;box-sizing:border-box;border-bottom:1px solid rgba(255,255,255,.18);color:#F2F3F5}
.player .sheet .head span+span{color:#9aa0ad}
.player .sheet .cell{position:absolute}
.player .sheet .cell video{position:static;width:100%;display:block;object-fit:fill;background:transparent;cursor:default}
.player .sheet .cap{display:flex;justify-content:space-between;align-items:center;gap:12px;white-space:nowrap;overflow:hidden;color:#F2F3F5}
.player .sheet .cap b{font-weight:500}
.player .sheet .cap i{font-style:normal;color:var(--accent);margin-right:.9em}
.player .sheet .cap span{color:#9aa0ad}
.player .compare{display:flex;flex-direction:column;align-items:center;gap:12px;height:100%}
.player .compare .cmp-view{position:relative;flex:1 1 auto;min-height:0;width:100%;display:flex;align-items:center;justify-content:center;touch-action:pan-y;cursor:ew-resize;user-select:none;-webkit-user-select:none}
.player .compare .cmp-frame{position:relative;background:#000}
.player .compare .cmp-frame canvas{position:absolute;inset:0;width:100%;height:100%;cursor:ew-resize;touch-action:pan-y}
.player .compare .cmp-tag{position:absolute;top:10px;z-index:1;font-size:10px;letter-spacing:.08em;text-transform:uppercase;padding:5px 8px;color:var(--paper);background:rgba(11,13,20,.66);pointer-events:none;transition:opacity .2s}
.player .compare .cmp-tag.off{opacity:0}
.player .compare .cmp-b{left:10px}.player .compare .cmp-a{right:10px}
.player .compare .cmp-handle{position:absolute;top:0;bottom:0;left:0;width:0;z-index:2;outline:none;will-change:transform}
.player .compare .cmp-handle::before{content:"";position:absolute;top:0;bottom:0;left:-1px;width:2px;background:var(--accent)}
.player .compare .cmp-knob{position:absolute;top:50%;left:-20px;width:40px;height:40px;margin-top:-20px;display:grid;place-items:center;background:var(--accent);color:var(--paper)}
.player .compare .cmp-knob svg{width:20px;height:20px}
.player .compare .cmp-handle:focus-visible .cmp-knob{outline:2px solid var(--paper);outline-offset:2px}
.player .compare .cmp-tabs{display:flex;flex-wrap:wrap;justify-content:center;gap:2px;flex:0 0 auto}
.player .compare .cmp-tabs button{font:inherit;font-size:10px;letter-spacing:.06em;text-transform:uppercase;min-height:36px;padding:0 12px;color:var(--paper);background:rgba(11,13,20,.72);border:1px solid rgba(242,243,245,.3);cursor:pointer}
.player .compare .cmp-tabs button[aria-current="true"]{background:var(--accent);border-color:var(--accent)}
.player .compare .cmp-tabs button:focus-visible{outline:2px solid var(--paper);outline-offset:2px}
.player .dims{position:absolute;left:0;top:0;width:auto;height:auto;pointer-events:none;overflow:hidden;z-index:1}
.player .dims path{fill:none;stroke:var(--accent);stroke-width:2;stroke-dasharray:2 2;stroke-linecap:butt}
.player .dims path.heads{stroke-dasharray:none;stroke-width:1.5}
.player .dims path.ext{opacity:.7}
.player .dims rect{fill:var(--accent)}
.player .dims text{font:10px "Geist Mono",ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.04em;fill:var(--paper);dominant-baseline:middle}
.player .stage .spin{display:none}
.player .veil{position:absolute;left:0;top:0;pointer-events:none;transition:opacity .35s;z-index:1}
.player .veil.off{opacity:0}
.player .buffer{position:absolute;height:1px;background:var(--accent);pointer-events:none;z-index:2;transition:opacity .35s,width .3s}
.player .buffer::after{content:'';position:absolute;right:-1px;top:-1px;width:3px;height:3px;background:var(--accent)}
.player .buffer.off{opacity:0}
.player.loading .stage .spin{opacity:1}
/* a 3D scene waits for the first frame on its screens (player.js special()): laid out, not yet seen */
.player .stage [data-wait],.player .stage [data-wait]~.dims{opacity:0}
.player .stage canvas,.player .stage .splitw,.player .stage .dims{transition:opacity .25s ease}
@keyframes spin{to{transform:rotate(360deg)}}
.player .bottom{display:flex;flex-direction:column;align-items:center;gap:12px;padding:10px 24px 20px;flex:0 0 auto}
.player .items{display:flex;gap:8px 36px;flex-wrap:wrap;justify-content:center}
.player .items:empty{display:none}
.player .items button{all:unset;cursor:pointer;color:#9aa0ad;padding:2px 0;border-bottom:1px solid transparent;position:relative}
.player .items button+button::before{content:'';position:absolute;left:-18px;top:3px;bottom:3px;width:1px;background:rgba(255,255,255,.22)}
.player .items button[aria-current="true"]{color:#fff;border-bottom-color:var(--accent)}
.player .bar{display:flex;align-items:center;justify-content:center;gap:22px;width:100%}
.player .ctl{display:flex;align-items:center;gap:18px}
.player .ctl[hidden]{display:none}
.player .ctl.no-audio #pMute,.player .ctl.no-audio .vol{display:none}
.player .ctl button,.player .nav,.player .close{all:unset;cursor:pointer;color:#c9ccd4;display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px}
.player .ctl button:hover,.player .nav:hover,.player .close:hover{color:#fff}
.player .nav{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;color:#9aa0ad}
.player .nav.prev{left:22px}.player .nav.next{right:22px}
.player svg{width:18px;height:18px;display:block;stroke-width:1.5}
.player .nav svg{width:22px;height:22px}
.player .close svg{width:22px;height:22px}
.player input[type=range]{-webkit-appearance:none;appearance:none;width:min(34vw,340px);height:26px;background:transparent;margin:0;outline:none;cursor:pointer;--p:0%}
.player input[type=range].vol{width:80px;--p:100%}
.player input[type=range]::-webkit-slider-runnable-track{height:1px;background:linear-gradient(to right,var(--accent) var(--p),rgba(255,255,255,.22) var(--p))}
.player input[type=range]::-moz-range-track{height:1px;background:rgba(255,255,255,.22)}
.player input[type=range]::-moz-range-progress{height:1px;background:var(--accent)}
.player input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:9px;height:9px;margin-top:-4px;background:#fff;border:0;border-radius:0}
.player input[type=range]::-moz-range-thumb{width:9px;height:9px;background:#fff;border:0;border-radius:0}
.player input[type=range]:focus-visible{outline:1px solid var(--accent);outline-offset:4px}
.player .time{font-variant-numeric:tabular-nums;color:#9aa0ad;min-width:9ch;text-align:center}
.player .q{position:relative}
.player .q[hidden]{display:none}
.player .ctl .qb{all:unset;cursor:pointer;color:#9aa0ad;padding:2px 0;border-bottom:1px solid transparent;white-space:nowrap;width:auto;height:auto;min-width:9ch;text-align:center;display:inline-block}
.player .ctl .qb:hover{color:#fff}
.player .ctl .qb:disabled{cursor:default}
.player .qm{position:absolute;bottom:30px;left:50%;transform:translateX(-50%);display:flex;flex-direction:column;gap:8px;background:#0B0D14;border:1px solid rgba(255,255,255,.14);padding:10px 14px;z-index:3}
.player .qm[hidden]{display:none}
.player .qm button{all:unset;cursor:pointer;color:#9aa0ad;white-space:nowrap;padding:1px 0;border-bottom:1px solid transparent}
.player .qm button:hover{color:#fff}
.player .qm button[aria-current="true"]{color:#fff;border-bottom-color:var(--accent)}
/* keyboard focus on the player's own controls (they are all:unset): a white ring, as on the stage chips */
.player .ctl button:focus-visible,.player .nav:focus-visible,.player .close:focus-visible,.player .items button:focus-visible,.player .ctl .qb:focus-visible,.player .qm button:focus-visible,.player .back:focus-visible{outline:2px solid #fff;outline-offset:2px}
/* a work the page opened itself, with no click yet (EU SPEC §8.4; player.js): «Sound on» over a muted start, at the foot of the
   stage; the Play control in the middle of the poster when the browser refuses to start or under reduced motion. Accent chips
   like the site's CTAs: square, no shadow, nothing that moves. */
.player .psound,.player .pstart{position:absolute;left:50%;z-index:3;display:inline-flex;align-items:center;gap:9px;margin:0;border:0;border-radius:0;background:var(--accent);color:var(--paper);cursor:pointer;line-height:1;white-space:nowrap;transition:background .2s,color .2s}
.player .psound{bottom:16px;transform:translateX(-50%);padding:10px 14px 10px 11px}
.player .pstart{top:50%;transform:translate(-50%,-50%);padding:17px 26px 17px 20px;font-size:13px;gap:12px}
.player .psound svg{width:17px;height:17px}
.player .pstart svg{width:20px;height:20px}
.player .psound:hover,.player .pstart:hover{background:#fff;color:var(--ink)}
.player .psound:focus-visible,.player .pstart:focus-visible{outline:2px solid #fff;outline-offset:3px}
.player .psound[hidden],.player .pstart[hidden]{display:none}
/* messages on the stage (player.js, player-stabilization §9): .hard = the end of automatic attempts over the poster (message + Retry),
   .soft = a slow first start or a picture that seems stuck, at the foot of the stage, the video still visible. Mono, square, no motion */
.player .pnote{position:absolute;left:50%;z-index:4;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px 14px;max-width:calc(100% - 32px);box-sizing:border-box;background:rgba(11,13,20,.86);border:1px solid rgba(255,255,255,.18);color:#F2F3F5;padding:12px 14px;text-align:center}
.player .pnote.hard{top:50%;transform:translate(-50%,-50%);padding:18px 20px}
.player .pnote.soft{bottom:16px;transform:translateX(-50%)}
.player .psound:not([hidden])~.pnote.soft{bottom:68px}
.player .pnote p{margin:0;font-size:12px}
.player .pnote button{margin:0;border:0;border-radius:0;background:var(--accent);color:var(--paper);cursor:pointer;font:inherit;font-size:12px;letter-spacing:inherit;text-transform:inherit;line-height:1;padding:10px 14px;white-space:nowrap;transition:background .2s,color .2s}
.player .pnote button+button{background:transparent;color:#F2F3F5;border:1px solid rgba(255,255,255,.4);padding:9px 13px}
.player .pnote button:hover{background:#fff;color:var(--ink)}
.player .pnote button:focus-visible{outline:2px solid #fff;outline-offset:3px}
.player .pnote[hidden]{display:none}
/* ?diag=1 only (diag.js, EU SPEC §8.3.3): the playback diagnostics over the top left of the player, clear of the close button; text
   that wraps, the path buttons in one row; «Hide» folds it down to its head so the picture can be judged */
.player .pdiag{position:absolute;left:12px;top:12px;z-index:6;width:min(620px,calc(100% - 84px));max-height:calc(100% - 24px);overflow:auto;background:rgba(11,13,20,.9);border:1px solid rgba(255,255,255,.2);color:#d5d8df;font-size:10.5px;line-height:1.45;letter-spacing:0;text-transform:none;padding:8px 10px 10px}
.player .pdiag.min{width:auto}
.player .pdiag.min .pd-force,.player .pdiag.min .pd-out{display:none}
.player .pd-head,.player .pd-force{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.player .pd-head b{color:var(--accent);font-weight:500;margin-right:auto;text-transform:uppercase}
.player .pd-force{margin:8px 0}
.player .pdiag button{all:unset;cursor:pointer;color:#d5d8df;border:1px solid rgba(255,255,255,.28);padding:3px 7px;white-space:nowrap}
.player .pdiag button:hover{color:#fff;border-color:#fff}
.player .pdiag button[aria-pressed="true"]{background:var(--accent);border-color:var(--accent);color:#fff}
.player .pdiag button:focus-visible{outline:1px solid #fff;outline-offset:2px}
.player .pd-out{margin:0;white-space:pre-wrap;word-break:break-word;font:inherit;color:#d5d8df}
/* ---- project info in the player (EU SPEC §0.5; markup site/js/info.js, the same renderer the share page /work/<slug> is
   server-rendered with, so nothing flashes when player.js takes over). Only a work with details gets .has-info; every other work
   looks exactly as before. No buttons and no toggles: the info is always on the view.
   - Below 1200 px, and on portrait screens, the info follows the media inside the player's own scroll. The media view is the
     window minus 44 px, so the sheet's heading row (a full hairline with an accent tick, «Project info ↓») peeks under the
     controls: the quiet cue that there is more below. Rows are label | text from 600 px, stacked on phones.
   - From 1200 px on landscape screens it is a column beside the stage, clamp(320 px, 25vw, 400 px), with its own scroll. Measured
     on a 16:9 work: the column costs the media 5 % of its width at 1366×768 (the stage is height-bound there), about 20 % at
     1280–1440 and 8 % at 1920; portrait and 3D views lose nothing (they are height-bound). Under 1200 px it would cost 30 % and more.
     The column's heading is sticky and shares the top line with the close button, which moves to the window's corner.
   - Dark sheet: hairlines, mono labels at #8b91a1 (6.2:1 on the player black), 15.5 px text at #d5d8df, tabular figures in specs.
   - The credits line over the media moves into the sheet's Credits row (one place, no duplicate). */
.player .pinfo[hidden]{display:none}
.player.has-info{overflow-y:auto;overscroll-behavior:contain}
.player.has-info .meta .cr{display:none}
.player.has-info .pview{flex:0 0 calc(100% - 44px)}
.player .pinfo{--pl:#8b91a1;--ph:rgba(255,255,255,.14);flex:0 0 auto;padding:0 24px 80px;border-top:1px solid var(--ph);color:#d5d8df;font-size:15.5px;line-height:24px}
.player .pi{max-width:980px}
.player .pi-head{position:relative;margin:0;height:43px;display:flex;align-items:center;gap:10px;color:var(--pl);font-weight:400}
.player .pi-head::before{content:'';position:absolute;left:0;top:-1px;width:40px;height:1px;background:var(--accent)}
.player .pi-rows{margin:0}
.player .pi-row{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;padding:18px 0;border-top:1px solid var(--ph)}
.player .pi-row:first-child{border-top:0;padding-top:12px}
.player .pi-row dt{color:var(--pl);font-weight:400;line-height:18px}
.player .pi-row dd{margin:0;max-width:62ch}
.player .pi-dec{list-style:none;margin:0;padding:0;display:grid;gap:10px;counter-reset:pd}
.player .pi-dec li{position:relative;padding-left:34px;counter-increment:pd}
.player .pi-dec li::before{content:counter(pd,decimal-leading-zero);position:absolute;left:0;top:0;color:var(--accent);font-family:"Geist Mono",ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11.5px;letter-spacing:.06em}
.player .pi-specs{border-collapse:collapse;width:100%;font-variant-numeric:tabular-nums}
.player .pi-specs th,.player .pi-specs td{padding:6px 0;text-align:left;vertical-align:baseline;border-top:1px solid rgba(255,255,255,.07)}
.player .pi-specs tr:first-child>*{border-top:0;padding-top:0}
.player .pi-specs tr:last-child>*{padding-bottom:0}
.player .pi-specs th{width:38%;padding-right:16px;color:var(--pl);font-weight:400}
.player .pi-specs td{color:#fff}
.player .pi-credits{list-style:none;margin:0;padding:0;display:grid;gap:4px;color:#fff}
.player .pi-credits .pc-r{color:var(--pl)}
.player .pi-rel a{color:#fff;border-bottom:1px solid rgba(255,255,255,.3);transition:border-color .2s,color .2s}
.player .pi-rel a:hover{color:var(--accent);border-bottom-color:var(--accent)}
.player .pi-cta{margin:14px 0 0}
.player .pcta{display:inline-block;color:var(--paper);background:var(--accent);padding:11px 22px;transition:background .2s,color .2s}
.player .pcta:hover{background:#fff;color:var(--ink)}
.player .pinfo :focus-visible{outline-offset:3px}
/* «Next projects» under every work (site/js/info.js; the owner, 2026-11-13, after div.pro): four cards of the works after this one,
   in a row of four under the media, two by two in the column beside it, a sideways strip on a phone; «All projects» under them */
.player .pi-next{margin-top:44px}
.player .pi-sub{position:relative;margin:0 0 16px;height:43px;display:flex;align-items:center;color:var(--pl);font-weight:400;border-top:1px solid var(--ph)}
.player .pi-sub::before{content:'';position:absolute;left:0;top:-1px;width:40px;height:1px;background:var(--accent)}
.player .pi-cards{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px 16px}
.player .pi-card{display:block;color:#fff}
.player .pi-pic{display:block;aspect-ratio:16/10;overflow:hidden;background:#161927}
.player .pi-pic img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s cubic-bezier(.2,.8,.2,1)}
.player .pi-card:hover .pi-pic img{transform:scale(1.04)}
.player .pi-tags{display:block;margin-top:10px;color:var(--pl);font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;line-height:16px}
.player .pi-t{display:block;margin-top:4px;font-weight:600;line-height:20px;transition:color .2s}
.player .pi-card:hover .pi-t{color:var(--accent)}
.player .pi-all{display:inline-flex;margin-top:24px;color:#fff;border-bottom:1px solid rgba(255,255,255,.3);padding-bottom:2px;transition:color .2s,border-color .2s}
.player .pi-all:hover{color:var(--accent);border-bottom-color:var(--accent)}
@media (max-width:599px){.player .pi-cards{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding:0 16px;gap:12px;margin:0 -16px;padding:0 16px 4px;scrollbar-width:none}.player .pi-cards::-webkit-scrollbar{display:none}.player .pi-cards li{flex:0 0 68%;scroll-snap-align:start}}
@media (prefers-reduced-motion:reduce){.player .pi-pic img{transition:none}.player .pi-card:hover .pi-pic img{transform:none}}
@media (min-width:600px){.player .pi-row{grid-template-columns:168px minmax(0,62ch);column-gap:32px;align-items:baseline}.player .pi-row dt{line-height:24px}}
@media (max-width:720px){.player .pinfo{padding:0 16px 64px}}
/* below the column layout the info scrolls under the media: Close stays in the window's corner, where it starts (fixed, on the
   player's black so it reads over the text), and the title keeps clear of it */
.player.has-info .close{position:fixed;top:18px;right:24px;z-index:5;background:rgba(11,13,20,.82)}
.player.has-info .top{padding-right:78px}
@media (max-width:720px){.player.has-info .close{right:16px}.player.has-info .top{padding-right:56px}}
@media (min-width:1200px) and (min-aspect-ratio:5/4){
  .player.open.has-info{flex-direction:row;overflow:hidden}
  .player.has-info .top{padding-right:24px}
  .player.has-info .pview{flex:1 1 auto;min-width:0;height:100%}
  .player.has-info .stage{padding:0 72px}
  .player.has-info .nav.prev{left:14px}.player.has-info .nav.next{right:14px}
  .player.has-info .close{position:fixed;top:13px;right:16px;z-index:3}
  .player.has-info .pinfo{flex:0 0 clamp(320px,25vw,400px);overflow-y:auto;overscroll-behavior:contain;border-top:0;border-left:1px solid var(--ph);padding:0 28px 48px;-webkit-mask-image:linear-gradient(#000 calc(100% - 40px),transparent);mask-image:linear-gradient(#000 calc(100% - 40px),transparent)}   /* text running into a fade at the foot says the column scrolls; fully scrolled, only the bottom padding fades */
  .player.has-info .pi-head{position:sticky;top:0;z-index:2;height:56px;margin:0 -28px;padding:0 28px;background:#0B0D14;border-bottom:1px solid var(--ph)}
  .player.has-info .pi-head::before{left:28px;top:auto;bottom:-1px}
  .player.has-info .pi-cue{display:none}
  .player.has-info .pi-row{grid-template-columns:minmax(0,1fr);column-gap:0;align-items:start}.player.has-info .pi-row dt{line-height:18px}
  .player.has-info .pi-row:first-child{padding-top:20px}
  .player.has-info .pi-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}
}
@media (max-width:900px){.cap-grid{grid-template-columns:1fr}.about .intro{grid-template-columns:1fr}.about .portrait{grid-column:1;grid-row:auto;justify-self:center;align-self:start;height:auto;width:min(300px,70vw)}}   /* one column: the head stands in the middle (the owner) */
@media (max-width:720px){header.site{padding:0 16px}.tag{display:none}section.work{padding:0 12px 56px}.hero{height:56vh}.hero .hint{left:16px}section.about{padding:56px 16px}section.write{padding:56px 16px 60px;grid-template-columns:1fr;gap:20px}footer{padding:40px 16px}.player .top,.player .bottom{padding-left:16px;padding-right:16px}.player .stage{padding:0 12px}.player .nav{display:none}.player input[type=range]{width:34vw}.player .time{display:none}.player .items{gap:6px 24px}.player .items button+button::before{display:none}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.tile video{transition:none}}
/* no JS: the share page's server-rendered player shows the work (title, text, poster, project info) and a Close link home; the
   playback controls would be dead, so they are not shown */
@media (scripting:none){.player .bottom,.player .nav{display:none}}
@media (max-width:720px){.player .vhint{left:20px;top:8px;bottom:auto}}
/* touch devices: volume lives on the hardware buttons (iOS ignores video.volume altogether); the mute toggle stays */
@media (hover:none) and (pointer:coarse){.player input[type=range].vol{display:none}}
/* phones: the timeline gets its own full-width row above the buttons, like native players; time back on the button row; 40 px touch targets */
@media (max-width:720px){
  .player .bottom{align-items:stretch}
  .player .ctl{flex-wrap:wrap;gap:0 8px}
  .player .ctl #pSeek{order:-1;flex:1 0 100%;width:auto;height:32px}
  .player .ctl .time{display:inline-block;margin-right:auto;min-width:0;text-align:left;padding-left:4px}
  .player .ctl>button{width:40px;height:40px}   /* the bar's own buttons; not the quality menu's entries, whose text would overflow a 40 px box */
  /* the menu's entries keep their text size: the rows are spaced for a finger and each entry's tap area fills its row, edge to edge */
  .player .qm{gap:20px}
  .player .qm button{position:relative}
  .player .qm button::after{content:'';position:absolute;inset:-10px -14px}
}
/* ---- touch screens: a finger gets a larger area on the controls below (audit 2026-11-19: Close 30 × 30, the bar's buttons 30 and
   40, the filters 30 high, the footer's links 15 and 22 high; a11y.test.mjs). Nothing drawn changes size and nothing moves (the
   owner, 2026-11-20: the spacing stays as it is): the area is an unseen ::after around the control, 44 × 44 px where there is room
   (Close, the bar's buttons, the filters), and as far as half the gap to its neighbours where there is not (the footer's lists:
   32 and 25 px high instead of 22 and 15). */
@media (pointer:coarse){
  .player .close,.player .ctl>button,.player .ctl .qb,.filters button,footer .links a,footer .f-nav a{position:relative}
  .player .close::after,.player .ctl>button::after,.player .ctl .qb::after,.filters button::after{content:'';position:absolute;inset:min(0px,(100% - 44px)/2)}
  footer .links a::after{content:'';position:absolute;inset:-5px 0}        /* the list's gap is 10 px */
  footer .f-nav a::after{content:'';position:absolute;inset:-5px -11px}    /* the nav's gaps are 10 px and 22 px (css/pages.css) */
}
/* the filters: on a phone each row scrolls sideways (css/home.css) and would cut the areas off, so a row is 8 px taller each way
   (4 px to the left: a first chip under 44 px wide) and pulled back by as much: nothing moves. The two rows stand 10 px apart
   (2 px on a phone, css/home.css): their areas and their boxes meet in the middle of that gap, so neither takes the other's taps
   (37.5 px high on a phone, where a chip is 30; 36.5 on a tablet, where it is 20) */
@media (pointer:coarse) and (max-width:860px){.filters .row{padding-block:8px;margin-block:-8px;padding-left:4px;margin-left:-4px}.filters .row:has(+ .row){padding-bottom:5px;margin-bottom:-5px}.filters .row + .row{padding-top:5px;margin-top:-5px}}
@media (pointer:coarse){.filters .row:has(+ .row) button::after{bottom:-5px}.filters .row + .row button::after{top:-5px}}
@media (pointer:coarse) and (max-width:720px){.filters .row:has(+ .row){padding-bottom:1px;margin-bottom:-1px}.filters .row + .row{padding-top:1px;margin-top:-1px}.filters .row:has(+ .row) button::after{bottom:-1px}.filters .row + .row button::after{top:-1px}}
/* the quality menu's entries on a wider touch screen (a tablet): the bare 18 px line gets the half of the 8 px gap on each side;
   on a phone the rows are already spaced for a finger (the rule above, max-width 720) */
@media (pointer:coarse) and (min-width:721px){.player .qm button{position:relative}.player .qm button::after{content:'';position:absolute;inset:-4px -14px}}
/* the player's bar on a phone held upright: the buttons' areas grow down and sideways only, the timeline's row above keeps its own */
@media (pointer:coarse) and (max-width:720px){.player .ctl>button::after{inset:0 -2px -4px}.player .ctl .qb::after{inset:-10px 0 calc(100% - 34px)}}
/* ---- a phone on its side (audit 2026-11-19: at 844 × 390 the picture was 337 × 190, at 667 × 375 it was 236 × 133). The picture
   gets the height: the title and the description share one line, the bars are 44 px, the controls one row at any width. The
   description is cut with an ellipsis there and opens at a tap (the owner, 2026-11-20; player.js: .desc-open on the dialog, the
   picture gives it the room while it is open); it is whole when the phone is upright. Not for the wide layout with the info
   beside the stage */
@media (orientation:landscape) and (max-height:500px) and (max-width:1199px){
  .player .top{min-height:44px;padding-top:7px;padding-bottom:7px;align-items:center}
  .player .meta{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 14px}
  .player .meta .ptitle,.player .meta b{flex:0 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .player .meta .desc{flex:1 1 0;min-width:0;max-width:none;margin-top:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .player .meta .desc[role=button]{cursor:pointer}
  .player.desc-open .meta .desc{flex:1 0 100%;white-space:normal;overflow:visible;text-overflow:clip}
  .player .meta .cr{flex:1 0 100%}
  .player .bottom{padding-top:7px;padding-bottom:7px;gap:7px}
  .player.has-info .close{top:7px}
}
@media (orientation:landscape) and (max-height:500px) and (max-width:720px){
  .player .ctl{flex:1 1 auto;flex-wrap:nowrap;gap:0 14px}
  .player .ctl #pSeek{order:0;flex:1 1 0;min-width:0;height:26px}
  .player .ctl .time{margin-right:0}
  .player .ctl>button{width:30px;height:30px}
}
@media (pointer:coarse) and (orientation:landscape) and (max-height:500px) and (max-width:720px){.player .ctl>button::after{inset:-7px}.player .ctl .qb::after{inset:min(0px,(100% - 44px)/2) 0}}
/* the quality menu there: six entries one under another are taller than a phone on its side, so it is two columns, its right edge
   on the button's; the rows are spaced for a finger as on a phone held upright (each entry's area fills its row) */
@media (orientation:landscape) and (max-height:500px) and (max-width:720px),(pointer:coarse) and (orientation:landscape) and (max-height:500px) and (max-width:1199px){
  .player .qm{display:grid;grid-template-columns:repeat(2,max-content);gap:20px 28px;left:auto;right:0;bottom:35px;transform:none}   /* 5 px higher than upright: its last row's area ends where the button's begins */
  .player .qm button{position:relative}
  .player .qm button::after{content:'';position:absolute;inset:-10px -14px}
}
/* ---- the shape lab's two labels over its picture (css/shape-lab.css; shape-lab.js writes them): the name on the left, the hint on
   the right. The Russian pair is wider than a 390 px screen and the hint lay over the name (audit 2026-11-19; German at 360 px).
   They are one row now: the name keeps its line, the hint takes what is left and wraps. With room for both nothing moves: the same
   12 px (10 px on a phone) from the edges, the same boxes (the hint's line-height comes out of its padding) */
.lab-view{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}
.lab-view .lab-tag,.lab-view .lab-hint{position:relative;top:auto;left:auto;right:auto;margin:12px 12px 0}
.lab-view .lab-tag{flex:none;margin-right:0}
.lab-view .lab-hint{min-width:0;margin-left:0;padding-top:calc(7px - .15em);padding-bottom:calc(6px - .15em);line-height:1.3;text-align:right;text-wrap:balance}
@media (max-width:719px){.lab-view .lab-tag,.lab-view .lab-hint{margin-top:10px}.lab-view .lab-tag{margin-left:10px}.lab-view .lab-hint{margin-right:10px}}
